@ckeditor/ckeditor5-comments 38.2.0-alpha.0 → 39.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/build/comments.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +12 -12
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sq.po +2 -2
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +4 -5
- package/src/annotations/annotation.d.ts +4 -0
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +4 -0
- package/src/annotations/annotationcollection.js +2 -2
- package/src/annotations/annotations.d.ts +4 -0
- package/src/annotations/annotations.js +2 -2
- package/src/annotations/annotationsuis.d.ts +4 -0
- package/src/annotations/annotationsuis.js +2 -2
- package/src/annotations/editorannotations.d.ts +4 -0
- package/src/annotations/editorannotations.js +2 -2
- package/src/annotations/inlineannotations.d.ts +4 -0
- package/src/annotations/inlineannotations.js +2 -2
- package/src/annotations/narrowsidebar.d.ts +4 -0
- package/src/annotations/narrowsidebar.js +2 -2
- package/src/annotations/sidebar.d.ts +4 -0
- package/src/annotations/sidebar.js +2 -2
- package/src/annotations/view/annotationcounterbuttonview.d.ts +4 -0
- package/src/annotations/view/annotationcounterbuttonview.js +2 -2
- package/src/annotations/view/annotationview.d.ts +4 -0
- package/src/annotations/view/annotationview.js +2 -2
- package/src/annotations/view/sidebaritemview.d.ts +4 -0
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.d.ts +4 -0
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.d.ts +4 -0
- package/src/annotations/widesidebar.js +2 -2
- package/src/augmentation.d.ts +4 -0
- package/src/augmentation.js +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +4 -0
- package/src/comments/addcommentthreadcommand.js +2 -2
- package/src/comments/commentsarchive.d.ts +4 -0
- package/src/comments/commentsarchive.js +2 -2
- package/src/comments/commentsarchiveui.d.ts +4 -0
- package/src/comments/commentsarchiveui.js +2 -2
- package/src/comments/commentsediting.d.ts +4 -0
- package/src/comments/commentsediting.js +2 -2
- package/src/comments/commentsrepository.d.ts +20 -3
- package/src/comments/commentsrepository.js +2 -2
- package/src/comments/commentsui.d.ts +4 -0
- package/src/comments/commentsui.js +2 -2
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +4 -0
- package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
- package/src/comments/integrations/importword.d.ts +4 -0
- package/src/comments/integrations/importword.js +2 -2
- package/src/comments/ui/commenteditor/commenteditor.d.ts +6 -2
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +4 -0
- package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +4 -0
- package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
- package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +4 -0
- package/src/comments/ui/view/basecommentthreadview.js +2 -2
- package/src/comments/ui/view/basecommentview.d.ts +4 -0
- package/src/comments/ui/view/basecommentview.js +2 -2
- package/src/comments/ui/view/collapsedcommentsview.d.ts +4 -0
- package/src/comments/ui/view/collapsedcommentsview.js +2 -2
- package/src/comments/ui/view/commentcontentview.d.ts +4 -0
- package/src/comments/ui/view/commentcontentview.js +2 -2
- package/src/comments/ui/view/commentinputview.d.ts +4 -0
- package/src/comments/ui/view/commentinputview.js +2 -2
- package/src/comments/ui/view/commentsarchiveview.d.ts +4 -0
- package/src/comments/ui/view/commentsarchiveview.js +2 -2
- package/src/comments/ui/view/commentslistview.d.ts +4 -0
- package/src/comments/ui/view/commentslistview.js +2 -2
- package/src/comments/ui/view/commentthreadheaderview.d.ts +4 -0
- package/src/comments/ui/view/commentthreadheaderview.js +2 -2
- package/src/comments/ui/view/commentthreadinputview.d.ts +4 -0
- package/src/comments/ui/view/commentthreadinputview.js +2 -2
- package/src/comments/ui/view/commentthreadview.d.ts +4 -0
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +4 -0
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +4 -0
- package/src/comments.js +2 -2
- package/src/commentsonly.d.ts +4 -0
- package/src/commentsonly.js +2 -2
- package/src/config.d.ts +4 -0
- package/src/config.js +1 -1
- package/src/index.d.ts +5 -2
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +4 -0
- package/src/utils/common-translations.js +2 -2
- package/src/utils/createmutationobserver.d.ts +2 -1
- package/src/utils/createmutationobserver.js +2 -2
package/lang/translations/gl.po
CHANGED
|
@@ -36,7 +36,7 @@ msgstr "Responder…"
|
|
|
36
36
|
|
|
37
37
|
msgctxt "The placeholder for the reply field when the comment thread is resolved."
|
|
38
38
|
msgid "Reply to reopen discussion..."
|
|
39
|
-
msgstr ""
|
|
39
|
+
msgstr "Responder para volver abrir a discusión..."
|
|
40
40
|
|
|
41
41
|
msgctxt "The placeholder for the new commend field."
|
|
42
42
|
msgid "Write a comment..."
|
|
@@ -44,7 +44,7 @@ msgstr "Escribir un comentario…"
|
|
|
44
44
|
|
|
45
45
|
msgctxt "The information that comment was made on element and has no context"
|
|
46
46
|
msgid "Comment was made on an element"
|
|
47
|
-
msgstr ""
|
|
47
|
+
msgstr "Comentouse un elemento"
|
|
48
48
|
|
|
49
49
|
msgctxt "The label for the button that enables editing a comment."
|
|
50
50
|
msgid "Edit"
|
|
@@ -52,11 +52,11 @@ msgstr "Editar"
|
|
|
52
52
|
|
|
53
53
|
msgctxt "The label for the button that resolves a comment thread."
|
|
54
54
|
msgid "Resolve"
|
|
55
|
-
msgstr ""
|
|
55
|
+
msgstr "Solucionar"
|
|
56
56
|
|
|
57
57
|
msgctxt "The label for the button that reopens a resolved comment thread."
|
|
58
58
|
msgid "Reopen"
|
|
59
|
-
msgstr ""
|
|
59
|
+
msgstr "Volver abrir"
|
|
60
60
|
|
|
61
61
|
msgctxt "The label for the button that deletes a comment."
|
|
62
62
|
msgid "Remove"
|
|
@@ -64,7 +64,7 @@ msgstr "Retirar"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Responder"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
|
@@ -76,7 +76,7 @@ msgstr "Eliminar o fío de comentarios?"
|
|
|
76
76
|
|
|
77
77
|
msgctxt "A message informing that the comment has been resolved"
|
|
78
78
|
msgid "Marked as resolved"
|
|
79
|
-
msgstr ""
|
|
79
|
+
msgstr "Marcado como solucionado"
|
|
80
80
|
|
|
81
81
|
msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
|
|
82
82
|
msgid "Comment"
|
|
@@ -88,24 +88,24 @@ msgstr "Cambio sen gardar no fío de comentarios."
|
|
|
88
88
|
|
|
89
89
|
msgctxt "The additional information that comments comes from external source."
|
|
90
90
|
msgid "EXTERNAL_COMMENT"
|
|
91
|
-
msgstr ""
|
|
91
|
+
msgstr "Este comentario procede dunha fonte externa."
|
|
92
92
|
|
|
93
93
|
msgctxt "The additional information that comments comes from imported Word file."
|
|
94
94
|
msgid "EXTERNAL_IMPORT_WORD_COMMENT"
|
|
95
|
-
msgstr ""
|
|
95
|
+
msgstr "Este comentario procede dun ficheiro de Word importado."
|
|
96
96
|
|
|
97
97
|
msgctxt "The additional information that displayed author name comes from an external source."
|
|
98
98
|
msgid "EXTERNAL_AVATAR"
|
|
99
|
-
msgstr ""
|
|
99
|
+
msgstr "O nome do autor amosado procede dunha fonte externa (engadido por %0)"
|
|
100
100
|
|
|
101
101
|
msgctxt "The additional information that displayed author name comes from imported Word file."
|
|
102
102
|
msgid "EXTERNAL_IMPORT_WORD_AVATAR"
|
|
103
|
-
msgstr ""
|
|
103
|
+
msgstr "O nome do autor amosado procede dun documento de Word importado por %0"
|
|
104
104
|
|
|
105
105
|
msgctxt "The label for the comments archive dropdown UI."
|
|
106
106
|
msgid "COMMENTS_ARCHIVE"
|
|
107
|
-
msgstr ""
|
|
107
|
+
msgstr "Arquivo de comentarios"
|
|
108
108
|
|
|
109
109
|
msgctxt "The information that comments archive is empty."
|
|
110
110
|
msgid "EMPTY_COMMENTS_ARCHIVE"
|
|
111
|
-
msgstr ""
|
|
111
|
+
msgstr "Non hai fíos de comentarios arquivados."
|
package/lang/translations/he.po
CHANGED
|
@@ -66,7 +66,7 @@ msgstr "הסר"
|
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
68
68
|
msgid "Reply"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "תשובה"
|
|
70
70
|
|
|
71
71
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
72
72
|
msgid "Delete comment?"
|
package/lang/translations/hi.po
CHANGED
|
@@ -64,7 +64,7 @@ msgstr "Remove"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "जवाब दें"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
package/lang/translations/hr.po
CHANGED
|
@@ -65,7 +65,7 @@ msgstr "Ukloni"
|
|
|
65
65
|
|
|
66
66
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
67
|
msgid "Reply"
|
|
68
|
-
msgstr ""
|
|
68
|
+
msgstr "Odgovori..."
|
|
69
69
|
|
|
70
70
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
71
|
msgid "Delete comment?"
|
package/lang/translations/hu.po
CHANGED
|
@@ -64,7 +64,7 @@ msgstr "Eltávolítás"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Válaszol"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
package/lang/translations/id.po
CHANGED
|
@@ -63,7 +63,7 @@ msgstr "Hapus"
|
|
|
63
63
|
|
|
64
64
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
65
65
|
msgid "Reply"
|
|
66
|
-
msgstr ""
|
|
66
|
+
msgstr "Balas"
|
|
67
67
|
|
|
68
68
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
69
69
|
msgid "Delete comment?"
|
package/lang/translations/ja.po
CHANGED
package/lang/translations/ko.po
CHANGED
package/lang/translations/lt.po
CHANGED
|
@@ -66,7 +66,7 @@ msgstr "Pašalinti"
|
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
68
68
|
msgid "Reply"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Atsakyti"
|
|
70
70
|
|
|
71
71
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
72
72
|
msgid "Delete comment?"
|
package/lang/translations/ms.po
CHANGED
|
@@ -63,7 +63,7 @@ msgstr "Buang"
|
|
|
63
63
|
|
|
64
64
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
65
65
|
msgid "Reply"
|
|
66
|
-
msgstr ""
|
|
66
|
+
msgstr "Balas"
|
|
67
67
|
|
|
68
68
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
69
69
|
msgid "Delete comment?"
|
package/lang/translations/nl.po
CHANGED
|
@@ -64,7 +64,7 @@ msgstr "Verwijderen"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Reageren"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
package/lang/translations/no.po
CHANGED
|
@@ -64,7 +64,7 @@ msgstr "Fjern"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Svar"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
package/lang/translations/pl.po
CHANGED
|
@@ -66,7 +66,7 @@ msgstr "Usuń"
|
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
68
68
|
msgid "Reply"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Odpowiedz"
|
|
70
70
|
|
|
71
71
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
72
72
|
msgid "Delete comment?"
|
package/lang/translations/pt.po
CHANGED
|
@@ -65,7 +65,7 @@ msgstr "Remover"
|
|
|
65
65
|
|
|
66
66
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
67
|
msgid "Reply"
|
|
68
|
-
msgstr ""
|
|
68
|
+
msgstr "Responder"
|
|
69
69
|
|
|
70
70
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
71
|
msgid "Delete comment?"
|
package/lang/translations/ro.po
CHANGED
|
@@ -65,7 +65,7 @@ msgstr "Șterge"
|
|
|
65
65
|
|
|
66
66
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
67
|
msgid "Reply"
|
|
68
|
-
msgstr ""
|
|
68
|
+
msgstr "Răspunde"
|
|
69
69
|
|
|
70
70
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
71
|
msgid "Delete comment?"
|
package/lang/translations/ru.po
CHANGED
|
@@ -66,7 +66,7 @@ msgstr "Удалить"
|
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
68
68
|
msgid "Reply"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Ответить"
|
|
70
70
|
|
|
71
71
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
72
72
|
msgid "Delete comment?"
|
package/lang/translations/sq.po
CHANGED
|
@@ -64,7 +64,7 @@ msgstr "Largo"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Përgjigju"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
|
@@ -80,7 +80,7 @@ msgstr ""
|
|
|
80
80
|
|
|
81
81
|
msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
|
|
82
82
|
msgid "Comment"
|
|
83
|
-
msgstr ""
|
|
83
|
+
msgstr "Komento"
|
|
84
84
|
|
|
85
85
|
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
86
86
|
msgid "PENDING_ACTION_COMMENT_THREAD"
|
package/lang/translations/sr.po
CHANGED
|
@@ -65,7 +65,7 @@ msgstr "Одстрани"
|
|
|
65
65
|
|
|
66
66
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
67
|
msgid "Reply"
|
|
68
|
-
msgstr ""
|
|
68
|
+
msgstr "Odgovori"
|
|
69
69
|
|
|
70
70
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
71
|
msgid "Delete comment?"
|
package/lang/translations/sv.po
CHANGED
|
@@ -64,7 +64,7 @@ msgstr "Ta bort"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Svara"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
package/lang/translations/th.po
CHANGED
package/lang/translations/tr.po
CHANGED
|
@@ -64,7 +64,7 @@ msgstr "Sil"
|
|
|
64
64
|
|
|
65
65
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
66
66
|
msgid "Reply"
|
|
67
|
-
msgstr ""
|
|
67
|
+
msgstr "Yanıtla"
|
|
68
68
|
|
|
69
69
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
70
70
|
msgid "Delete comment?"
|
package/lang/translations/uk.po
CHANGED
|
@@ -66,7 +66,7 @@ msgstr "Видалити"
|
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
68
68
|
msgid "Reply"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Відповісти"
|
|
70
70
|
|
|
71
71
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
72
72
|
msgid "Delete comment?"
|
package/lang/translations/vi.po
CHANGED
|
@@ -63,7 +63,7 @@ msgstr "Xóa"
|
|
|
63
63
|
|
|
64
64
|
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
65
65
|
msgid "Reply"
|
|
66
|
-
msgstr ""
|
|
66
|
+
msgstr "Trả lời"
|
|
67
67
|
|
|
68
68
|
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
69
69
|
msgid "Delete comment?"
|
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "39.0.0",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"discussions"
|
|
34
34
|
],
|
|
35
35
|
"main": "src/index.js",
|
|
36
|
-
"type": "module",
|
|
37
36
|
"files": [
|
|
38
37
|
"build",
|
|
39
38
|
"lang",
|
|
@@ -44,9 +43,9 @@
|
|
|
44
43
|
"CHANGELOG.md"
|
|
45
44
|
],
|
|
46
45
|
"dependencies": {
|
|
47
|
-
"ckeditor5": "
|
|
48
|
-
"ckeditor5-collaboration": "
|
|
49
|
-
"lodash-es": "
|
|
46
|
+
"ckeditor5": "39.0.0",
|
|
47
|
+
"ckeditor5-collaboration": "39.0.0",
|
|
48
|
+
"lodash-es": "4.17.21"
|
|
50
49
|
},
|
|
51
50
|
"engines": {
|
|
52
51
|
"node": ">=16.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x317b=['isVisible','every','mainView','element','_assertCorrectTarget','focusTracker','offsetParent','getClientRects','targetRect','focusableElements','view','remove','item','isArray','_type','length','render','innerView','_getNormalizedTarget','type','isActive','stopListening','_id','destroy','_target','annotation-invalid-target','clear','function','updateTargetRect','filter','refreshVisibility','target'];(function(_0x54fee5,_0x317bd7){const _0x518130=function(_0x51639c){while(--_0x51639c){_0x54fee5['push'](_0x54fee5['shift']());}};_0x518130(++_0x317bd7);}(_0x317b,0x1c9));const _0x5181=function(_0x54fee5,_0x317bd7){_0x54fee5=_0x54fee5-0x0;let _0x518130=_0x317b[_0x54fee5];return _0x518130;};import{CKEditorError as _0x5e5a3c,Rect as _0x3f9836,Collection as _0x41dd5c,ObservableMixin as _0x5958a7}from'ckeditor5/src/utils';export default class d extends _0x5958a7(){constructor({view:_0x3170ec,target:_0x119036,type:_0x34812b,isVisible:_0x2356ba=!0x0}){super(),this['view']=_0x3170ec,this[_0x5181('0x1')][_0x5181('0x1a')]||this[_0x5181('0x1')][_0x5181('0x7')](),this['_type']=_0x34812b,this[_0x5181('0xf')]=_0x119036,d[_0x5181('0x1b')](this[_0x5181('0x9')]()),this[_0x5181('0x0')]=new _0x41dd5c([this['view'][_0x5181('0x1a')]],{'idProperty':_0x5181('0xd')}),this[_0x5181('0x0')]['on']('add',(_0xf4383b,_0x329c2f)=>{this[_0x5181('0x1')][_0x5181('0x1c')]['add'](_0x329c2f);}),this[_0x5181('0x0')]['on'](_0x5181('0x2'),(_0x5a1799,_0x4539fc)=>{this['view'][_0x5181('0x1c')]['remove'](_0x4539fc);}),this['set']('isVisible',_0x2356ba);}get[_0x5181('0xa')](){return _0x5181('0x12')==typeof this[_0x5181('0x5')]?this[_0x5181('0x5')]():this[_0x5181('0x5')];}get[_0x5181('0x8')](){return this[_0x5181('0x1')][_0x5181('0x19')];}get[_0x5181('0x16')](){const _0x1b3a21=this[_0x5181('0x9')]();return d['_assertCorrectTarget'](_0x1b3a21),_0x1b3a21;}get[_0x5181('0x1f')](){const _0x59e800=this[_0x5181('0x16')];if(null===_0x59e800)return null;if(_0x59e800 instanceof _0x3f9836)return _0x59e800;const _0x27215a=_0x59e800[_0x5181('0x14')](_0x477085=>function(_0x1dbbbb){const _0x5997c1=_0x1dbbbb[_0x5181('0x1d')];if(_0x5997c1)return!0x0;const _0x1a7322=_0x1dbbbb[_0x5181('0x1e')]()[_0x5181('0x3')](0x0);return!!_0x1a7322;}(_0x477085));return 0x0===_0x27215a[_0x5181('0x6')]?null:new _0x3f9836(_0x27215a[0x0]['getClientRects']()[_0x5181('0x3')](0x0));}get[_0x5181('0xb')](){return this[_0x5181('0x1')]['isActive'];}set['isActive'](_0x5c07eb){this[_0x5181('0x1')]['isActive']=_0x5c07eb,this[_0x5181('0x1')][_0x5181('0x19')]['isActive']=_0x5c07eb;}[_0x5181('0x13')](){this[_0x5181('0x1')][_0x5181('0x1f')]=this[_0x5181('0x1f')];}[_0x5181('0xe')](){this[_0x5181('0x0')][_0x5181('0xc')](),this['focusableElements'][_0x5181('0x11')](),this[_0x5181('0xc')]();}[_0x5181('0x15')](){this[_0x5181('0x17')]=!!this[_0x5181('0x1f')];}static[_0x5181('0x1b')](_0x22d073){if(!(null===_0x22d073||_0x22d073 instanceof _0x3f9836||Array[_0x5181('0x4')](_0x22d073)&&_0x22d073[_0x5181('0x18')](_0xe413c4=>y(_0xe413c4))))throw new _0x5e5a3c(_0x5181('0x10'),null,{'target':_0x22d073});}['_getNormalizedTarget'](){const _0x1c5120=_0x5181('0x12')==typeof this[_0x5181('0xf')]?this[_0x5181('0xf')]():this[_0x5181('0xf')];return y(_0x1c5120)?[_0x1c5120]:_0x1c5120;}}function y(_0x322a87){return null!==_0x322a87&&'object'==typeof _0x322a87&&'nodeType'in _0x322a87&&0x1===_0x322a87['nodeType'];}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b23=['set','remove','getByView','annotationcollection-duplicated-item','stopListening','from','view','fire','targetRect','focus','blur','_sort','_viewToAnnotation','updateTargetRect','_innerViewToAnnotation','add','get','isFocused','innerView','getByInnerView','focusTracker','destroy','left','sort','listenTo','focusableElements','refreshPositioning','change:isFocused','_focusTracker','clear','annotationcollection-not-existing-item','length','delete','has','top','_getOrderInContent'];(function(_0x3642a9,_0x5b23f){const _0x58a8c7=function(_0x43496e){while(--_0x43496e){_0x3642a9['push'](_0x3642a9['shift']());}};_0x58a8c7(++_0x5b23f);}(_0x5b23,0x148));const _0x58a8=function(_0x3642a9,_0x5b23f){_0x3642a9=_0x3642a9-0x0;let _0x58a8c7=_0x5b23[_0x3642a9];return _0x58a8c7;};import{CKEditorError as _0x10c59a,Collection as _0x46c175,FocusTracker as _0xbe9477}from'ckeditor5/src/utils';export default class x extends _0x46c175{constructor(_0x488207=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this[_0x58a8('0x18')]=new _0xbe9477(),this[_0x58a8('0x18')]['on']('change:isFocused',(_0x419948,_0x3e6836,_0xfdf3d0)=>{_0xfdf3d0||this[_0x58a8('0x3')](_0x58a8('0x6'));});for(const _0x110af2 of _0x488207)this[_0x58a8('0xb')](_0x110af2);}get['isFocused'](){return this[_0x58a8('0x18')][_0x58a8('0xd')];}['add'](_0x5e5f79){if(this[_0x58a8('0x1d')](_0x5e5f79))throw new _0x10c59a(_0x58a8('0x23'),null);this['_innerViewToAnnotation']['set'](_0x5e5f79[_0x58a8('0xe')],_0x5e5f79),this[_0x58a8('0x8')][_0x58a8('0x20')](_0x5e5f79[_0x58a8('0x2')],_0x5e5f79);for(const _0x2c4bae of _0x5e5f79['focusableElements'])this['_focusTracker'][_0x58a8('0xb')](_0x2c4bae);this[_0x58a8('0x14')](_0x5e5f79[_0x58a8('0x15')],_0x58a8('0xb'),(_0x578a43,_0x3e9d9d)=>{this[_0x58a8('0x18')][_0x58a8('0xb')](_0x3e9d9d);}),this[_0x58a8('0x14')](_0x5e5f79[_0x58a8('0x15')],_0x58a8('0x21'),(_0x5ea45e,_0x380f08)=>{this['_focusTracker'][_0x58a8('0x21')](_0x380f08);}),this[_0x58a8('0x14')](_0x5e5f79[_0x58a8('0x2')][_0x58a8('0x10')],_0x58a8('0x17'),(_0x2f0851,_0x4f6c24,_0x51fee5)=>{_0x51fee5&&this['fire'](_0x58a8('0x5'),_0x5e5f79);}),_0x5e5f79['updateTargetRect']();const _0xe1477a=this['_getOrderInContent'](_0x5e5f79[_0x58a8('0x2')][_0x58a8('0x4')]);return super['add'](_0x5e5f79,_0xe1477a);}['remove'](_0x18a4d6){if(!this['has'](_0x18a4d6))throw new _0x10c59a(_0x58a8('0x1a'),null);this[_0x58a8('0x0')](_0x18a4d6['view'][_0x58a8('0x10')]),this['stopListening'](_0x18a4d6[_0x58a8('0x15')]);for(const _0x15445b of _0x18a4d6[_0x58a8('0x15')])this['_focusTracker'][_0x58a8('0x21')](_0x15445b);return this['_viewToAnnotation'][_0x58a8('0x1c')](_0x18a4d6[_0x58a8('0x2')]),this[_0x58a8('0xa')][_0x58a8('0x1c')](_0x18a4d6[_0x58a8('0xe')]),super[_0x58a8('0x21')](_0x18a4d6);}[_0x58a8('0xf')](_0x1ca694){return this[_0x58a8('0xa')][_0x58a8('0xc')](_0x1ca694);}[_0x58a8('0x22')](_0x338039){return this[_0x58a8('0x8')]['get'](_0x338039);}[_0x58a8('0x11')](){super[_0x58a8('0x19')](),this[_0x58a8('0x0')](),this['_innerViewToAnnotation'][_0x58a8('0x19')](),this[_0x58a8('0x8')][_0x58a8('0x19')](),this['_focusTracker'][_0x58a8('0x11')]();}[_0x58a8('0x16')](){for(const _0x51151b of this)_0x51151b[_0x58a8('0x9')]();this[_0x58a8('0x7')]();}[_0x58a8('0x7')](){const _0x3e9438=Array[_0x58a8('0x1')](this)[_0x58a8('0x13')]((_0x30e1cd,_0x19b6b7)=>v(_0x30e1cd[_0x58a8('0x2')][_0x58a8('0x4')],_0x19b6b7['view']['targetRect']));for(let _0x5a8e8a=_0x3e9438[_0x58a8('0x1b')]-0x1;_0x5a8e8a>0x0;_0x5a8e8a--){const _0x551d69=_0x3e9438[_0x5a8e8a];_0x5a8e8a!==this['getIndex'](_0x551d69)&&(this['remove'](_0x551d69),this[_0x58a8('0xb')](_0x551d69));}}[_0x58a8('0x1f')](_0x5d8d5e){let _0x2e3b32=0x0;if(!_0x5d8d5e)return this['length'];for(const _0x38b9f2 of this){const _0x371e2f=_0x38b9f2['view'][_0x58a8('0x4')];if(_0x371e2f){if(v(_0x5d8d5e,_0x371e2f)<0x0)return _0x2e3b32;_0x2e3b32++;}}return _0x2e3b32;}}export function bindAnnotationCollections({source:_0x2643f1,target:_0x5964db,filter:_0x4c3091}){for(const _0x4314ca of _0x2643f1)_0x4c3091(_0x4314ca)&&_0x5964db[_0x58a8('0xb')](_0x4314ca);_0x5964db['listenTo'](_0x2643f1,_0x58a8('0xb'),(_0x110954,_0x2793ab)=>{_0x4c3091(_0x2793ab)&&_0x5964db[_0x58a8('0xb')](_0x2793ab);}),_0x5964db['listenTo'](_0x2643f1,_0x58a8('0x21'),(_0x358075,_0x44e3ce)=>{_0x5964db[_0x58a8('0x1d')](_0x44e3ce)&&_0x5964db['remove'](_0x44e3ce);});}function v(_0x5b10b8,_0x453262){if(null===_0x5b10b8&&null===_0x453262)return 0x0;if(null===_0x5b10b8)return-0x1;if(null===_0x453262)return 0x1;const _0xb22f82=_0x5b10b8['top']-_0x453262[_0x58a8('0x1e')];return 0x0==_0xb22f82?_0x5b10b8[_0x58a8('0x12')]-_0x453262[_0x58a8('0x12')]:_0xb22f82;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c8a=['remove','_deactivateAllAnnotations','pluginName','add','isVisible','fire','deactivateAll','listenTo','source','_bindAnnotationsToVisibleAnnotations','collection','destroy','change:isVisible','getByInnerView','view','_removeActiveAnnotation','element','_visibleAnnotations','refreshVisibility','_addActiveAnnotation','createAnnotationView','focusTracker','has','activeAnnotations','refreshPositioning','stopListening','Annotations'];(function(_0x301f86,_0x1c8aa0){const _0x4365b3=function(_0x53cb69){while(--_0x53cb69){_0x301f86['push'](_0x301f86['shift']());}};_0x4365b3(++_0x1c8aa0);}(_0x1c8a,0x12e));const _0x4365=function(_0x301f86,_0x1c8aa0){_0x301f86=_0x301f86-0x0;let _0x4365b3=_0x1c8a[_0x301f86];return _0x4365b3;};import{ContextPlugin as _0x44deee}from'ckeditor5/src/core';import _0x31dcba from'./annotation';import _0x3fff55 from'./annotationcollection';import _0x4ba6af from'./view/annotationview';export default class b extends _0x44deee{static get[_0x4365('0x18')](){return _0x4365('0x15');}constructor(_0x29dc26){super(_0x29dc26),this[_0x4365('0x5')]=new _0x3fff55(),this[_0x4365('0xc')]=new _0x3fff55(),this['set']('activeAnnotations',new Set()),this[_0x4365('0x4')]();}[_0x4365('0x19')](_0x5d6db0){this['collection'][_0x4365('0x19')](_0x5d6db0);}[_0x4365('0x16')](_0x335648){this[_0x4365('0x5')]['remove'](_0x335648),_0x335648['destroy']();}['refreshVisibility'](){for(const _0x20dfc1 of this['collection'])_0x20dfc1[_0x4365('0xd')]();}[_0x4365('0x13')](){this[_0x4365('0xc')][_0x4365('0x13')]();}[_0x4365('0x8')](_0x4eac8a){return this[_0x4365('0x5')]['getByInnerView'](_0x4eac8a);}[_0x4365('0x1')](){this['fire'](_0x4365('0x17'));}['destroy'](){for(const _0x298df4 of this[_0x4365('0x5')])_0x298df4[_0x4365('0x6')]();this[_0x4365('0xc')][_0x4365('0x6')](),this[_0x4365('0x5')]['destroy'](),super['destroy']();}['activate'](_0x295c30){this[_0x4365('0x0')]('_activateAnnotation',_0x295c30);}['createAnnotation'](_0x1b66ec){return new _0x31dcba(_0x1b66ec);}[_0x4365('0xf')](_0x412400,_0x2d3f1a){return new _0x4ba6af(_0x412400,_0x2d3f1a);}[_0x4365('0xe')](_0x496001){const _0x51f5a6=new Set(this[_0x4365('0x12')]);_0x51f5a6[_0x4365('0x19')](_0x496001),this[_0x4365('0x12')]=_0x51f5a6;}[_0x4365('0xa')](_0x48c1e7){const _0x4eeaf6=new Set(this['activeAnnotations']);_0x4eeaf6['delete'](_0x48c1e7),this[_0x4365('0x12')]=_0x4eeaf6;}[_0x4365('0x4')](){const _0x31e7f4=this['collection'],_0x27d796=this[_0x4365('0xc')];function _0x3dd518(_0xfb746d){const _0x4c7d08=_0xfb746d[_0x4365('0x3')];_0x4c7d08[_0x4365('0x1a')]&&!_0x27d796[_0x4365('0x11')](_0x4c7d08)?_0x27d796['add'](_0x4c7d08):!_0x4c7d08[_0x4365('0x1a')]&&_0x27d796[_0x4365('0x11')](_0x4c7d08)&&_0x27d796[_0x4365('0x16')](_0x4c7d08),_0x4c7d08[_0x4365('0x9')][_0x4365('0x10')]['remove'](_0x4c7d08[_0x4365('0x9')][_0x4365('0xb')]),_0x4c7d08[_0x4365('0x9')]['focusTracker'][_0x4365('0x19')](_0x4c7d08[_0x4365('0x9')]['element']);}this[_0x4365('0x2')](_0x31e7f4,_0x4365('0x19'),(_0x13a5e3,_0x52a530)=>{_0x52a530['isVisible']&&_0x27d796[_0x4365('0x19')](_0x52a530),this['listenTo'](_0x52a530,_0x4365('0x7'),_0x3dd518);}),this[_0x4365('0x2')](_0x31e7f4,_0x4365('0x16'),(_0xfccdc2,_0x386f9e)=>{_0x27d796[_0x4365('0x11')](_0x386f9e)&&_0x27d796['remove'](_0x386f9e),this[_0x4365('0x14')](_0x386f9e,_0x4365('0x7'),_0x3dd518);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18ab=['type','length','attach','deactivate','_deactivateAllAnnotations','_visibleAnnotations','get','destroy','_assertAnnotationDoesNotBelongToMultipleUIs','init','requires','find','deactivateAll','push','_addActiveAnnotation','plugins','pluginName','refilterAnnotations','_uisData','annotationsuis-missing-ui','delete','context','_removeActiveAnnotation','function','_uis','isActive','collection','has','setActiveAnnotation','listenTo','change:activeAnnotation','register','_activateAnnotation','detach','add','annotationsuis-annotation-mismatch','activate','filter','activeUIs','set','_setSelectedAnnotations'];(function(_0x4f4d4c,_0x18abfe){const _0x5c48e2=function(_0x3b9fad){while(--_0x3b9fad){_0x4f4d4c['push'](_0x4f4d4c['shift']());}};_0x5c48e2(++_0x18abfe);}(_0x18ab,0x1b1));const _0x5c48=function(_0x4f4d4c,_0x18abfe){_0x4f4d4c=_0x4f4d4c-0x0;let _0x5c48e2=_0x18ab[_0x4f4d4c];return _0x5c48e2;};import{ContextPlugin as _0x91dac8}from'ckeditor5/src/core';import{CKEditorError as _0x571f15}from'ckeditor5/src/utils';import _0x58b22e,{bindAnnotationCollections as _0x1bfe5d}from'./annotationcollection';import _0x8f59d1 from'./annotations';export default class M extends _0x91dac8{static get[_0x5c48('0x1c')](){return[_0x8f59d1];}static get[_0x5c48('0x22')](){return'AnnotationsUIs';}constructor(_0x1b1a8f){super(_0x1b1a8f),this[_0x5c48('0xf')]=new Set(),this[_0x5c48('0x1')]=new Map(),this['_uisData']=new Map();}[_0x5c48('0x1b')](){const _0x5534fc=this[_0x5c48('0x27')]['plugins'][_0x5c48('0x18')](_0x8f59d1);this[_0x5c48('0x6')](_0x5534fc,_0x5c48('0x9'),(_0x304b39,_0x4dcea0)=>{for(const _0x523a0b of this[_0x5c48('0xf')]){const _0x9d59aa=this[_0x5c48('0x1')][_0x5c48('0x18')](_0x523a0b);(0x0,this[_0x5c48('0x24')]['get'](_0x523a0b)[_0x5c48('0xe')])(_0x4dcea0)&&_0x9d59aa[_0x5c48('0x5')](_0x4dcea0);}}),this['listenTo'](_0x5534fc,_0x5c48('0x16'),()=>{for(const _0x4b6f6d of this['activeUIs']){this[_0x5c48('0x1')][_0x5c48('0x18')](_0x4b6f6d)[_0x5c48('0x5')](null);}}),this['listenTo'](_0x5534fc[_0x5c48('0x17')],_0x5c48('0xb'),(_0x3df9ac,_0x1b9966)=>{this[_0x5c48('0x1a')](_0x1b9966);});}['hasActive'](){return this[_0x5c48('0xf')]['size']>0x0;}['isActive'](_0x18c70d){return this[_0x5c48('0xf')]['has'](_0x18c70d);}[_0x5c48('0xd')](_0x523b42,_0x4ef189=()=>!0x0){const _0x12c0c2=this[_0x5c48('0x27')][_0x5c48('0x21')][_0x5c48('0x18')](_0x8f59d1);if(!this[_0x5c48('0x1')]['has'](_0x523b42))throw new _0x571f15('annotationsuis-missing-ui',this,{'uiName':_0x523b42});this[_0x5c48('0x2')](_0x523b42)&&this['deactivate'](_0x523b42),this[_0x5c48('0xf')][_0x5c48('0xb')](_0x523b42);const _0x309c6a=new _0x58b22e(),_0x298324=_0x12c0c2['_visibleAnnotations'];_0x1bfe5d({'source':_0x298324,'target':_0x309c6a,'filter':_0x4ef189}),this[_0x5c48('0x24')][_0x5c48('0x10')](_0x523b42,{'collection':_0x309c6a,'filter':_0x4ef189});const _0xeb4b5=this[_0x5c48('0x1')][_0x5c48('0x18')](_0x523b42);_0xeb4b5['attach'](_0x309c6a),this['listenTo'](_0xeb4b5,_0x5c48('0x7'),(_0x4dd440,_0xb1128f,_0x5a026c,_0x49396b)=>{_0x49396b&&_0x12c0c2[_0x5c48('0x28')](_0x49396b),_0x5a026c&&_0x12c0c2[_0x5c48('0x20')](_0x5a026c);});}[_0x5c48('0x15')](_0x4a5d59){if(this['activeUIs'][_0x5c48('0x26')](_0x4a5d59),!this[_0x5c48('0x1')][_0x5c48('0x4')](_0x4a5d59))throw new _0x571f15(_0x5c48('0x25'),this,{'uiName':_0x4a5d59});const _0x5ddec5=this['_uis'][_0x5c48('0x18')](_0x4a5d59);_0x5ddec5['detach'](),this['stopListening'](_0x5ddec5),this[_0x5c48('0x24')]['get'](_0x4a5d59)['collection'][_0x5c48('0x19')](),this[_0x5c48('0x24')]['delete'](_0x4a5d59);}['switchTo'](_0x110f44){if(!this['_uis'][_0x5c48('0x4')](_0x110f44))throw new _0x571f15(_0x5c48('0x25'),this,{'uiName':_0x110f44});const _0xa29d59=this['context'][_0x5c48('0x21')][_0x5c48('0x18')](_0x8f59d1),_0x48dcc7=Array['from'](_0xa29d59['activeAnnotations'])[0x0]||null;this[_0x5c48('0x1e')](),this[_0x5c48('0xd')](_0x110f44);const _0x485d99=this['_uis'][_0x5c48('0x18')](_0x110f44);_0x485d99[_0x5c48('0x5')](_0x48dcc7),_0x485d99[_0x5c48('0x11')]&&_0x48dcc7&&_0x485d99[_0x5c48('0x11')]([_0x48dcc7]);}['deactivateAll'](){for(const _0x126bf5 of this[_0x5c48('0xf')])this['deactivate'](_0x126bf5);}[_0x5c48('0x8')](_0x520df3,_0x4b5e2d){if(this[_0x5c48('0x1')][_0x5c48('0x4')](_0x520df3))throw new _0x571f15('annotationsuis-register-already-registered');if(_0x5c48('0x0')!=typeof _0x4b5e2d[_0x5c48('0x14')]||_0x5c48('0x0')!=typeof _0x4b5e2d[_0x5c48('0xa')]||_0x5c48('0x0')!=typeof _0x4b5e2d[_0x5c48('0x5')])throw new _0x571f15('annotationsuis-register-invalid-interface',null);this[_0x5c48('0x1')]['set'](_0x520df3,_0x4b5e2d);}[_0x5c48('0x23')](){const _0x308926=this[_0x5c48('0x27')][_0x5c48('0x21')]['get'](_0x8f59d1)[_0x5c48('0x3')],_0x2cb2cc=new Map(),_0x41468a=Array['from'](this[_0x5c48('0xf')]);for(const _0x2115a2 of this[_0x5c48('0xf')]){const _0xc0d81e=this[_0x5c48('0x24')][_0x5c48('0x18')](_0x2115a2)[_0x5c48('0x3')];for(const _0x3e68de of _0xc0d81e)_0x2cb2cc[_0x5c48('0x10')](_0x3e68de,_0x2115a2);}for(const _0x5a7296 of _0x308926){const _0x2027eb=_0x2cb2cc[_0x5c48('0x18')](_0x5a7296);this[_0x5c48('0x1a')](_0x5a7296);const _0xf01e7f=_0x41468a[_0x5c48('0x1d')](_0x2490e6=>this[_0x5c48('0x24')]['get'](_0x2490e6)[_0x5c48('0xe')](_0x5a7296));_0x2027eb!==_0xf01e7f&&(_0x2027eb&&this[_0x5c48('0x24')][_0x5c48('0x18')](_0x2027eb)[_0x5c48('0x3')]['remove'](_0x5a7296),_0xf01e7f&&this[_0x5c48('0x24')][_0x5c48('0x18')](_0xf01e7f)['collection'][_0x5c48('0xb')](_0x5a7296));}}[_0x5c48('0x19')](){this[_0x5c48('0x1e')](),super[_0x5c48('0x19')]();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x491863){const _0x3c6697=[];for(const _0x12db7c of this['activeUIs']){(0x0,this['_uisData'][_0x5c48('0x18')](_0x12db7c)[_0x5c48('0xe')])(_0x491863)&&_0x3c6697[_0x5c48('0x1f')](_0x12db7c);}if(_0x3c6697[_0x5c48('0x13')]>0x1)throw new _0x571f15(_0x5c48('0xc'),null,{'matchedUIs':_0x3c6697,'annotationType':_0x491863[_0x5c48('0x12')]});}}
|