@ckeditor/ckeditor5-comments 33.0.0 → 34.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +3 -0
  2. package/build/comments.js +2 -2
  3. package/build/translations/bs.js +1 -1
  4. package/build/translations/cs.js +1 -1
  5. package/build/translations/da.js +1 -1
  6. package/build/translations/de-ch.js +1 -1
  7. package/build/translations/de.js +1 -1
  8. package/build/translations/el.js +1 -1
  9. package/build/translations/en-au.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fr.js +1 -1
  13. package/build/translations/gl.js +1 -1
  14. package/build/translations/hi.js +1 -1
  15. package/build/translations/hr.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/jv.js +1 -0
  21. package/build/translations/ko.js +1 -1
  22. package/build/translations/nl.js +1 -1
  23. package/build/translations/no.js +1 -1
  24. package/build/translations/pl.js +1 -1
  25. package/build/translations/pt-br.js +1 -1
  26. package/build/translations/ro.js +1 -1
  27. package/build/translations/ru.js +1 -1
  28. package/build/translations/sk.js +1 -1
  29. package/build/translations/sr-latn.js +1 -1
  30. package/build/translations/sr.js +1 -1
  31. package/build/translations/tk.js +1 -1
  32. package/build/translations/tr.js +1 -1
  33. package/build/translations/ug.js +1 -1
  34. package/build/translations/uk.js +1 -1
  35. package/build/translations/zh-cn.js +1 -1
  36. package/build/translations/zh.js +1 -1
  37. package/lang/contexts.json +0 -3
  38. package/lang/translations/bs.po +0 -12
  39. package/lang/translations/cs.po +0 -12
  40. package/lang/translations/da.po +0 -12
  41. package/lang/translations/de-ch.po +0 -12
  42. package/lang/translations/de.po +0 -12
  43. package/lang/translations/el.po +0 -12
  44. package/lang/translations/en-au.po +0 -12
  45. package/lang/translations/en.po +0 -12
  46. package/lang/translations/es.po +0 -12
  47. package/lang/translations/et.po +0 -12
  48. package/lang/translations/fr.po +0 -12
  49. package/lang/translations/gl.po +0 -12
  50. package/lang/translations/hi.po +0 -12
  51. package/lang/translations/hr.po +0 -12
  52. package/lang/translations/hu.po +0 -12
  53. package/lang/translations/id.po +0 -12
  54. package/lang/translations/it.po +0 -12
  55. package/lang/translations/ja.po +0 -12
  56. package/lang/translations/jv.po +66 -0
  57. package/lang/translations/ko.po +0 -12
  58. package/lang/translations/nl.po +0 -12
  59. package/lang/translations/no.po +0 -12
  60. package/lang/translations/pl.po +0 -12
  61. package/lang/translations/pt-br.po +0 -12
  62. package/lang/translations/ro.po +0 -12
  63. package/lang/translations/ru.po +0 -12
  64. package/lang/translations/sk.po +0 -12
  65. package/lang/translations/sr-latn.po +0 -12
  66. package/lang/translations/sr.po +0 -12
  67. package/lang/translations/tk.po +0 -12
  68. package/lang/translations/tr.po +0 -12
  69. package/lang/translations/ug.po +0 -12
  70. package/lang/translations/uk.po +0 -12
  71. package/lang/translations/zh-cn.po +0 -12
  72. package/lang/translations/zh.po +0 -12
  73. package/package.json +3 -3
  74. package/src/annotations/annotation.js +1 -1
  75. package/src/annotations/annotationcollection.js +1 -1
  76. package/src/annotations/annotations.js +1 -1
  77. package/src/annotations/annotationsuis.js +1 -1
  78. package/src/annotations/editorannotations.js +1 -1
  79. package/src/annotations/inlineannotations.js +1 -1
  80. package/src/annotations/narrowsidebar.js +1 -1
  81. package/src/annotations/sidebar.js +1 -1
  82. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  83. package/src/annotations/view/annotationview.js +1 -1
  84. package/src/annotations/view/sidebaritemview.js +1 -1
  85. package/src/annotations/view/sidebarview.js +1 -1
  86. package/src/annotations/widesidebar.js +1 -1
  87. package/src/comments/addcommentthreadcommand.js +1 -1
  88. package/src/comments/commentsediting.js +1 -1
  89. package/src/comments/commentsrepository.js +1 -1
  90. package/src/comments/commentsui.js +1 -1
  91. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  92. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  93. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  94. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  95. package/src/comments/ui/commentthreadcontroller.js +1 -1
  96. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  97. package/src/comments/ui/view/basecommentview.js +1 -1
  98. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  99. package/src/comments/ui/view/commentcontentview.js +1 -1
  100. package/src/comments/ui/view/commentinputview.js +1 -1
  101. package/src/comments/ui/view/commentslistview.js +1 -1
  102. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  103. package/src/comments/ui/view/commentthreadview.js +1 -1
  104. package/src/comments/ui/view/commentview.js +1 -1
  105. package/src/comments.js +1 -1
  106. package/src/commentsonly.js +1 -1
  107. package/src/utils/common-translations.js +1 -1
  108. package/src/utils/createmutationobserver.js +1 -1
  109. package/src/comments/ui/view/confirmmixin.js +0 -23
  110. package/src/comments/ui/view/confirmview.js +0 -23
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Eliminare la conversazione del commento?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Sì"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "No"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Procedere?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Commento"
@@ -57,18 +57,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
57
57
  msgid "Delete comment thread?"
58
58
  msgstr "スレッドを削除しますか?"
59
59
 
60
- msgctxt "The label for confirming an action."
61
- msgid "Yes"
62
- msgstr "はい"
63
-
64
- msgctxt "The label for rejecting an action."
65
- msgid "No"
66
- msgstr "いいえ"
67
-
68
- msgctxt "The label for confirming a dangerous action."
69
- msgid "Are you sure?"
70
- msgstr "よろしいですか?"
71
-
72
60
  msgctxt "The tooltip for the comment toolbar button."
73
61
  msgid "Comment"
74
62
  msgstr "コメント"
@@ -0,0 +1,66 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
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
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Javanese (https://www.transifex.com/ckeditor/teams/11143/jv/)\n"
16
+ "Language: jv\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "The label for the comment editor."
20
+ msgid "Comment editor"
21
+ msgstr "Editor komentar"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "%0 Komentar"
27
+
28
+ msgctxt "The alert displayed for a comment that is too long."
29
+ msgid "TOO_LONG_COMMENT_ALERT"
30
+ msgstr "Komentar sanget-sanget panjang. Komentar sampeyan gadhah %0 aksara nanging watesipun %1 aksara."
31
+
32
+ msgctxt "The placeholder for the reply field."
33
+ msgid "Reply..."
34
+ msgstr "Wangsuli..."
35
+
36
+ msgctxt "The placeholder for the new commend field."
37
+ msgid "Write a comment..."
38
+ msgstr "Serat komentar..."
39
+
40
+ msgctxt "The label for the button that enables editing a comment."
41
+ msgid "Edit"
42
+ msgstr "Ebah"
43
+
44
+ msgctxt "The label for the button that deletes a comment."
45
+ msgid "Remove"
46
+ msgstr "Busek"
47
+
48
+ msgctxt "The label for for the button that submits a comment."
49
+ msgid "Submit"
50
+ msgstr "Kirim"
51
+
52
+ msgctxt "The confirmation message shown after pressing the delete comment button."
53
+ msgid "Delete comment?"
54
+ msgstr "Busek komentar?"
55
+
56
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
57
+ msgid "Delete comment thread?"
58
+ msgstr ""
59
+
60
+ msgctxt "The tooltip for the comment toolbar button."
61
+ msgid "Comment"
62
+ msgstr "Komentar"
63
+
64
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
65
+ msgid "PENDING_ACTION_COMMENT_THREAD"
66
+ msgstr ""
@@ -57,18 +57,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
57
57
  msgid "Delete comment thread?"
58
58
  msgstr "의견 글타래를 삭제할까요?"
59
59
 
60
- msgctxt "The label for confirming an action."
61
- msgid "Yes"
62
- msgstr "예"
63
-
64
- msgctxt "The label for rejecting an action."
65
- msgid "No"
66
- msgstr "아니요"
67
-
68
- msgctxt "The label for confirming a dangerous action."
69
- msgid "Are you sure?"
70
- msgstr "확실한가요?"
71
-
72
60
  msgctxt "The tooltip for the comment toolbar button."
73
61
  msgid "Comment"
74
62
  msgstr "의견"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Discussie verwijderen?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Ja"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Nee"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Weet u het zeker?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Opmerking"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Slett kommentartråd?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Ja"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Nei"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Er du sikker?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Kommenter"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Usunąć wątek komentarzy?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Tak"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Nie"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Jesteś pewny/pewna?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Skomentuj"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Excluir segmento de comentários?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Sim"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Não"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Você tem certeza?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Comentário"
@@ -59,18 +59,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
59
59
  msgid "Delete comment thread?"
60
60
  msgstr "Ștergeți firul de comentarii? "
61
61
 
62
- msgctxt "The label for confirming an action."
63
- msgid "Yes"
64
- msgstr "Da"
65
-
66
- msgctxt "The label for rejecting an action."
67
- msgid "No"
68
- msgstr "Nu"
69
-
70
- msgctxt "The label for confirming a dangerous action."
71
- msgid "Are you sure?"
72
- msgstr "Sunteți sigur?"
73
-
74
62
  msgctxt "The tooltip for the comment toolbar button."
75
63
  msgid "Comment"
76
64
  msgstr "Comentează"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Удалить ветку комментариев?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Да"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Нет"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Вы уверены?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Комментарий"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Vymazať vlákno komentáru?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Áno"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Nie"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Ste si istý?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Komentár"
@@ -59,18 +59,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
59
59
  msgid "Delete comment thread?"
60
60
  msgstr "Brišete nit napomene?"
61
61
 
62
- msgctxt "The label for confirming an action."
63
- msgid "Yes"
64
- msgstr "Da"
65
-
66
- msgctxt "The label for rejecting an action."
67
- msgid "No"
68
- msgstr "Ne"
69
-
70
- msgctxt "The label for confirming a dangerous action."
71
- msgid "Are you sure?"
72
- msgstr "Jesi siguran?"
73
-
74
62
  msgctxt "The tooltip for the comment toolbar button."
75
63
  msgid "Comment"
76
64
  msgstr "Napomena"
@@ -59,18 +59,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
59
59
  msgid "Delete comment thread?"
60
60
  msgstr "Бришете нит напомене?"
61
61
 
62
- msgctxt "The label for confirming an action."
63
- msgid "Yes"
64
- msgstr "Да"
65
-
66
- msgctxt "The label for rejecting an action."
67
- msgid "No"
68
- msgstr "Не"
69
-
70
- msgctxt "The label for confirming a dangerous action."
71
- msgid "Are you sure?"
72
- msgstr "Сигуран си?"
73
-
74
62
  msgctxt "The tooltip for the comment toolbar button."
75
63
  msgid "Comment"
76
64
  msgstr "Напомена"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Teswir bölümini pozuň?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Hawa"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Ýok"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Ynanýarsyňyzmy?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Teswir"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Yorum dizesi silinsin mi?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Evet"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Hayır"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Emin misiniz?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Yorum"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "ئىنكاس باغلىمىنى ئۆچۈرەمسىز؟"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "ھەئە"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "ياق"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "جەزملەشتۈرەمسىز؟"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "ئىنكاس"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Видати ланцюжок коментарів?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Так"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Ні"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Ви впевнені?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Коментар"
@@ -57,18 +57,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
57
57
  msgid "Delete comment thread?"
58
58
  msgstr "删除这组评论?"
59
59
 
60
- msgctxt "The label for confirming an action."
61
- msgid "Yes"
62
- msgstr "确定"
63
-
64
- msgctxt "The label for rejecting an action."
65
- msgid "No"
66
- msgstr "取消"
67
-
68
- msgctxt "The label for confirming a dangerous action."
69
- msgid "Are you sure?"
70
- msgstr "你确定吗?"
71
-
72
60
  msgctxt "The tooltip for the comment toolbar button."
73
61
  msgid "Comment"
74
62
  msgstr "评论"
@@ -57,18 +57,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
57
57
  msgid "Delete comment thread?"
58
58
  msgstr "刪除討論串?"
59
59
 
60
- msgctxt "The label for confirming an action."
61
- msgid "Yes"
62
- msgstr "好"
63
-
64
- msgctxt "The label for rejecting an action."
65
- msgid "No"
66
- msgstr "先不要"
67
-
68
- msgctxt "The label for confirming a dangerous action."
69
- msgid "Are you sure?"
70
- msgstr "確定做此操作?"
71
-
72
60
  msgctxt "The tooltip for the comment toolbar button."
73
61
  msgid "Comment"
74
62
  msgstr "留言"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "33.0.0",
3
+ "version": "34.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/)",
@@ -31,8 +31,8 @@
31
31
  ],
32
32
  "main": "src/index.js",
33
33
  "dependencies": {
34
- "ckeditor5": "^33.0.0",
35
- "ckeditor5-collaboration": "^33.0.0",
34
+ "ckeditor5": "^34.0.0",
35
+ "ckeditor5-collaboration": "^34.0.0",
36
36
  "lodash-es": "^4.17.11"
37
37
  }
38
38
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15f1=['clear','isVisible','focusTracker','render','view','type','add','element','_type','_target','focusableElements','_isTargetElementVisible','targetRect','offsetParent','innerView','_assertCorrectTarget','refreshVisibility','getClientRects','target','_id','mainView','isActive','stopListening','set','annotation-invalid-target'];(function(_0xda45d7,_0x15f1f9){const _0x533eeb=function(_0x4893b8){while(--_0x4893b8){_0xda45d7['push'](_0xda45d7['shift']());}};_0x533eeb(++_0x15f1f9);}(_0x15f1,0x9d));const _0x533e=function(_0xda45d7,_0x15f1f9){_0xda45d7=_0xda45d7-0x0;let _0x533eeb=_0x15f1[_0xda45d7];return _0x533eeb;};import{CKEditorError as _0x5ca36a,Rect as _0x55baec,Collection as _0x14b303,mix as _0x2ca081,ObservableMixin as _0x40716d}from'ckeditor5/src/utils';import{isElement as _0x1dd9a2}from'lodash-es';export default class p{constructor({view:_0x347a41,target:_0x34a865,type:_0x431b37,isVisible:_0x4ec95a=!0x0}){this[_0x533e('0x16')]=_0x347a41,this[_0x533e('0x16')][_0x533e('0x0')]||this[_0x533e('0x16')][_0x533e('0x15')](),this[_0x533e('0x1')]=_0x431b37,this['_target']=_0x34a865,this[_0x533e('0x8')](),this[_0x533e('0x3')]=new _0x14b303([this['view'][_0x533e('0x0')]],{'idProperty':_0x533e('0xc')}),this[_0x533e('0x3')]['on'](_0x533e('0x18'),(_0xd88faa,_0x12206f)=>{this[_0x533e('0x16')][_0x533e('0x14')]['add'](_0x12206f);}),this[_0x533e('0x3')]['on']('remove',(_0x4b2901,_0x472c44)=>{this[_0x533e('0x16')][_0x533e('0x14')]['remove'](_0x472c44);}),this[_0x533e('0x10')](_0x533e('0x13'),_0x4ec95a);}get[_0x533e('0x17')](){return'function'==typeof this[_0x533e('0x1')]?this[_0x533e('0x1')]():this['_type'];}get[_0x533e('0x7')](){return this[_0x533e('0x16')]['mainView'];}get['target'](){return'function'==typeof this[_0x533e('0x2')]?this[_0x533e('0x2')]():this['_target'];}get[_0x533e('0x5')](){const _0x29e1dc=this['target'];return this[_0x533e('0x8')](),null!==_0x29e1dc&&this['_isTargetElementVisible']()?new _0x55baec(_0x29e1dc):null;}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x4632f0){this[_0x533e('0x16')]['isActive']=_0x4632f0,this[_0x533e('0x16')][_0x533e('0xd')][_0x533e('0xe')]=_0x4632f0;}['updateTargetRect'](){this[_0x533e('0x16')][_0x533e('0x5')]=this[_0x533e('0x5')];}['destroy'](){this['focusableElements'][_0x533e('0xf')](),this[_0x533e('0x3')][_0x533e('0x12')](),this[_0x533e('0xf')]();}[_0x533e('0x9')](){this[_0x533e('0x13')]=this[_0x533e('0x4')]();}[_0x533e('0x4')](){const _0x494b5b=this[_0x533e('0xb')];if(_0x1dd9a2(_0x494b5b)){const _0x65f13f=_0x494b5b[_0x533e('0xa')]()['item'](0x0),_0x10eaa8=_0x494b5b[_0x533e('0x6')];if(!_0x65f13f||!_0x10eaa8)return!0x1;}return!0x0;}[_0x533e('0x8')](){const _0x3a765b=this['target'];if(!(null===_0x3a765b||_0x3a765b instanceof _0x55baec||_0x1dd9a2(_0x3a765b)))throw new _0x5ca36a(_0x533e('0x11'),null,{'target':_0x3a765b});}}_0x2ca081(p,_0x40716d);
23
+ const _0x8ac2=['focusableElements','destroy','function','isActive','remove','innerView','item','type','_target','mainView','offsetParent','view','clear','_assertCorrectTarget','stopListening','isVisible','annotation-invalid-target','render','focusTracker','_type','targetRect','_isTargetElementVisible','element','target','add','updateTargetRect'];(function(_0x5bd22f,_0x8ac21e){const _0x21eb22=function(_0x4b5596){while(--_0x4b5596){_0x5bd22f['push'](_0x5bd22f['shift']());}};_0x21eb22(++_0x8ac21e);}(_0x8ac2,0x1e6));const _0x21eb=function(_0x5bd22f,_0x8ac21e){_0x5bd22f=_0x5bd22f-0x0;let _0x21eb22=_0x8ac2[_0x5bd22f];return _0x21eb22;};import{CKEditorError as _0x4b604f,Rect as _0x571484,Collection as _0x3a6fa9,mix as _0x435d6c,ObservableMixin as _0x2a98db}from'ckeditor5/src/utils';import{isElement as _0x1e9856}from'lodash-es';export default class p{constructor({view:_0x47baba,target:_0x592a08,type:_0x1b9998,isVisible:_0x51c1fe=!0x0}){this[_0x21eb('0x13')]=_0x47baba,this[_0x21eb('0x13')][_0x21eb('0x4')]||this[_0x21eb('0x13')][_0x21eb('0x19')](),this[_0x21eb('0x1')]=_0x1b9998,this[_0x21eb('0x10')]=_0x592a08,this[_0x21eb('0x15')](),this[_0x21eb('0x8')]=new _0x3a6fa9([this[_0x21eb('0x13')][_0x21eb('0x4')]],{'idProperty':'_id'}),this[_0x21eb('0x8')]['on'](_0x21eb('0x6'),(_0x2bd87a,_0x4aaa34)=>{this[_0x21eb('0x13')][_0x21eb('0x0')]['add'](_0x4aaa34);}),this['focusableElements']['on']('remove',(_0x206350,_0x2f037e)=>{this['view'][_0x21eb('0x0')][_0x21eb('0xc')](_0x2f037e);}),this['set']('isVisible',_0x51c1fe);}get[_0x21eb('0xf')](){return _0x21eb('0xa')==typeof this[_0x21eb('0x1')]?this[_0x21eb('0x1')]():this[_0x21eb('0x1')];}get[_0x21eb('0xd')](){return this[_0x21eb('0x13')]['mainView'];}get[_0x21eb('0x5')](){return _0x21eb('0xa')==typeof this[_0x21eb('0x10')]?this['_target']():this['_target'];}get[_0x21eb('0x2')](){const _0x3f9247=this['target'];return this[_0x21eb('0x15')](),null!==_0x3f9247&&this['_isTargetElementVisible']()?new _0x571484(_0x3f9247):null;}get[_0x21eb('0xb')](){return this[_0x21eb('0x13')][_0x21eb('0xb')];}set[_0x21eb('0xb')](_0x1d3fdc){this[_0x21eb('0x13')][_0x21eb('0xb')]=_0x1d3fdc,this['view'][_0x21eb('0x11')][_0x21eb('0xb')]=_0x1d3fdc;}[_0x21eb('0x7')](){this['view']['targetRect']=this[_0x21eb('0x2')];}[_0x21eb('0x9')](){this['focusableElements'][_0x21eb('0x16')](),this[_0x21eb('0x8')][_0x21eb('0x14')](),this['stopListening']();}['refreshVisibility'](){this[_0x21eb('0x17')]=this[_0x21eb('0x3')]();}[_0x21eb('0x3')](){const _0x2f622b=this[_0x21eb('0x5')];if(_0x1e9856(_0x2f622b)){const _0xf341f9=_0x2f622b['getClientRects']()[_0x21eb('0xe')](0x0),_0x339c61=_0x2f622b[_0x21eb('0x12')];if(!_0xf341f9||!_0x339c61)return!0x1;}return!0x0;}[_0x21eb('0x15')](){const _0x47f8f4=this[_0x21eb('0x5')];if(!(null===_0x47f8f4||_0x47f8f4 instanceof _0x571484||_0x1e9856(_0x47f8f4)))throw new _0x4b604f(_0x21eb('0x18'),null,{'target':_0x47f8f4});}}_0x435d6c(p,_0x2a98db);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d50=['change:isFocused','fire','_sort','blur','add','_innerViewToAnnotation','remove','getIndex','clear','updateTargetRect','_viewToAnnotation','refreshPositioning','focusTracker','_items','_focusTracker','view','destroy','left','stopListening','has','_getOrderInContent','set','targetRect','listenTo','focusableElements','from','delete','length','get','innerView','top'];(function(_0x326b07,_0x1d50f3){const _0x32020d=function(_0x1e567a){while(--_0x1e567a){_0x326b07['push'](_0x326b07['shift']());}};_0x32020d(++_0x1d50f3);}(_0x1d50,0x137));const _0x3202=function(_0x326b07,_0x1d50f3){_0x326b07=_0x326b07-0x0;let _0x32020d=_0x1d50[_0x326b07];return _0x32020d;};import{CKEditorError as _0x4d9e63,Collection as _0x55dab7,FocusTracker as _0x287de0}from'ckeditor5/src/utils';export default class x extends _0x55dab7{constructor(_0x4f14ae=[]){super(),this[_0x3202('0x4')]=new Map(),this[_0x3202('0x9')]=new Map(),this[_0x3202('0xd')]=new _0x287de0(),this[_0x3202('0xd')]['on'](_0x3202('0x1e'),(_0x3005ee,_0x4fb247,_0x18062f)=>{_0x18062f||this[_0x3202('0x0')](_0x3202('0x2'));});for(const _0xe20619 of _0x4f14ae)this[_0x3202('0x3')](_0xe20619);}get['isFocused'](){return this[_0x3202('0xd')]['isFocused'];}[_0x3202('0x3')](_0x371154){if(this['has'](_0x371154))throw new _0x4d9e63('annotationcollection-duplicated-item',null);this[_0x3202('0x4')][_0x3202('0x14')](_0x371154[_0x3202('0x1c')],_0x371154),this['_viewToAnnotation'][_0x3202('0x14')](_0x371154[_0x3202('0xe')],_0x371154);for(const _0x142025 of _0x371154[_0x3202('0x17')])this['_focusTracker']['add'](_0x142025);this[_0x3202('0x16')](_0x371154[_0x3202('0x17')],_0x3202('0x3'),(_0x1fd6c9,_0x3fc271)=>{this['_focusTracker']['add'](_0x3fc271);}),this[_0x3202('0x16')](_0x371154['focusableElements'],'remove',(_0x2bf33b,_0x178f05)=>{this['_focusTracker'][_0x3202('0x5')](_0x178f05);}),this[_0x3202('0x16')](_0x371154['view'][_0x3202('0xb')],'change:isFocused',(_0x539d2f,_0x4a8485,_0xd71ef)=>{_0xd71ef&&this[_0x3202('0x0')]('focus',_0x371154);});const _0x47a8e5=this['_getOrderInContent'](_0x371154);super[_0x3202('0x3')](_0x371154,_0x47a8e5),_0x371154[_0x3202('0x8')]();}[_0x3202('0x5')](_0x33d6bc){if(!this['has'](_0x33d6bc))throw new _0x4d9e63('annotationcollection-not-existing-item',null);this[_0x3202('0x11')](_0x33d6bc[_0x3202('0xe')][_0x3202('0xb')]),this[_0x3202('0x11')](_0x33d6bc[_0x3202('0x17')]);for(const _0xb821aa of _0x33d6bc[_0x3202('0x17')])this[_0x3202('0xd')][_0x3202('0x5')](_0xb821aa);this['_viewToAnnotation'][_0x3202('0x19')](_0x33d6bc['view']),this['_innerViewToAnnotation'][_0x3202('0x19')](_0x33d6bc[_0x3202('0x1c')]),super['remove'](_0x33d6bc);}['getByInnerView'](_0x199ae4){return this[_0x3202('0x4')][_0x3202('0x1b')](_0x199ae4);}['getByView'](_0xb4adf5){return this[_0x3202('0x9')][_0x3202('0x1b')](_0xb4adf5);}['destroy'](){super['clear'](),this[_0x3202('0x11')](),this[_0x3202('0x4')][_0x3202('0x7')](),this[_0x3202('0x9')][_0x3202('0x7')](),this['_focusTracker'][_0x3202('0xf')]();}[_0x3202('0xa')](){for(const _0x326cc6 of this)_0x326cc6[_0x3202('0x8')]();this[_0x3202('0x1')]();}[_0x3202('0x1')](){const _0x4f0460=Array[_0x3202('0x18')](this)['sort']((_0x4e4d51,_0x4cd5ec)=>y(_0x4e4d51[_0x3202('0x15')],_0x4cd5ec[_0x3202('0x15')]));for(let _0x19dbdb=_0x4f0460['length']-0x1;_0x19dbdb>0x0;_0x19dbdb--){const _0x1c589c=_0x4f0460[_0x19dbdb];_0x19dbdb!==this[_0x3202('0x6')](_0x1c589c)&&(this[_0x3202('0x5')](_0x1c589c),this[_0x3202('0x3')](_0x1c589c,_0x19dbdb));}}[_0x3202('0x13')](_0x597b36){let _0x348899=0x0;const _0x5e4e07=_0x597b36[_0x3202('0x15')];if(!_0x5e4e07)return this[_0x3202('0xc')][_0x3202('0x1a')];for(const _0x10160b of this){const _0x164654=_0x10160b[_0x3202('0x15')];if(_0x164654){if(y(_0x5e4e07,_0x164654)<0x0)return _0x348899;_0x348899++;}}return _0x348899;}}export function bindAnnotationCollections({source:_0x5b8813,target:_0x2df6af,filter:_0x461046}){for(const _0x1061f9 of _0x5b8813)_0x461046(_0x1061f9)&&_0x2df6af['add'](_0x1061f9);_0x2df6af[_0x3202('0x16')](_0x5b8813,_0x3202('0x3'),(_0xf2d9ae,_0x35ba20)=>{_0x461046(_0x35ba20)&&_0x2df6af[_0x3202('0x3')](_0x35ba20);}),_0x2df6af[_0x3202('0x16')](_0x5b8813,_0x3202('0x5'),(_0x420bc6,_0x12a405)=>{_0x2df6af[_0x3202('0x12')](_0x12a405)&&_0x2df6af[_0x3202('0x5')](_0x12a405);});}function y(_0x23f9d9,_0x59c344){if(null===_0x23f9d9&&null===_0x59c344)return 0x0;if(null===_0x23f9d9)return-0x1;if(null===_0x59c344)return 0x1;const _0x404860=_0x23f9d9[_0x3202('0x1d')]-_0x59c344[_0x3202('0x1d')];return 0x0==_0x404860?_0x23f9d9[_0x3202('0x10')]-_0x59c344['left']:_0x404860;}
23
+ const _0x6239=['listenTo','blur','delete','getByInnerView','clear','sort','view','left','remove','_focusTracker','annotationcollection-not-existing-item','getByView','refreshPositioning','focusTracker','get','getIndex','change:isFocused','isFocused','destroy','length','_getOrderInContent','set','add','stopListening','targetRect','focusableElements','has','innerView','from','fire','_viewToAnnotation','focus','_innerViewToAnnotation'];(function(_0x23461a,_0x6239ed){const _0x4b10f3=function(_0x4bc498){while(--_0x4bc498){_0x23461a['push'](_0x23461a['shift']());}};_0x4b10f3(++_0x6239ed);}(_0x6239,0xf8));const _0x4b10=function(_0x23461a,_0x6239ed){_0x23461a=_0x23461a-0x0;let _0x4b10f3=_0x6239[_0x23461a];return _0x4b10f3;};import{CKEditorError as _0x2626b9,Collection as _0x4d184b,FocusTracker as _0x1f8475}from'ckeditor5/src/utils';export default class x extends _0x4d184b{constructor(_0x2f1b7b=[]){super(),this[_0x4b10('0xf')]=new Map(),this[_0x4b10('0xd')]=new Map(),this[_0x4b10('0x19')]=new _0x1f8475(),this['_focusTracker']['on'](_0x4b10('0x20'),(_0x358ac4,_0x7b52d8,_0x43edcc)=>{_0x43edcc||this[_0x4b10('0xc')](_0x4b10('0x11'));});for(const _0x5ce581 of _0x2f1b7b)this['add'](_0x5ce581);}get[_0x4b10('0x0')](){return this[_0x4b10('0x19')][_0x4b10('0x0')];}['add'](_0x4c6b92){if(this[_0x4b10('0x9')](_0x4c6b92))throw new _0x2626b9('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation'][_0x4b10('0x4')](_0x4c6b92['innerView'],_0x4c6b92),this['_viewToAnnotation'][_0x4b10('0x4')](_0x4c6b92[_0x4b10('0x16')],_0x4c6b92);for(const _0xdcec84 of _0x4c6b92[_0x4b10('0x8')])this[_0x4b10('0x19')][_0x4b10('0x5')](_0xdcec84);this[_0x4b10('0x10')](_0x4c6b92[_0x4b10('0x8')],'add',(_0x1a5642,_0x3a327c)=>{this['_focusTracker']['add'](_0x3a327c);}),this['listenTo'](_0x4c6b92[_0x4b10('0x8')],'remove',(_0x3a241b,_0x46a82f)=>{this[_0x4b10('0x19')][_0x4b10('0x18')](_0x46a82f);}),this[_0x4b10('0x10')](_0x4c6b92['view'][_0x4b10('0x1d')],_0x4b10('0x20'),(_0x201759,_0x10bce7,_0x30a0f6)=>{_0x30a0f6&&this['fire'](_0x4b10('0xe'),_0x4c6b92);});const _0x53b8c4=this[_0x4b10('0x3')](_0x4c6b92);super[_0x4b10('0x5')](_0x4c6b92,_0x53b8c4),_0x4c6b92['updateTargetRect']();}[_0x4b10('0x18')](_0x3e70df){if(!this['has'](_0x3e70df))throw new _0x2626b9(_0x4b10('0x1a'),null);this[_0x4b10('0x6')](_0x3e70df[_0x4b10('0x16')]['focusTracker']),this[_0x4b10('0x6')](_0x3e70df[_0x4b10('0x8')]);for(const _0xb8501 of _0x3e70df['focusableElements'])this[_0x4b10('0x19')][_0x4b10('0x18')](_0xb8501);this[_0x4b10('0xd')]['delete'](_0x3e70df['view']),this['_innerViewToAnnotation'][_0x4b10('0x12')](_0x3e70df[_0x4b10('0xa')]),super['remove'](_0x3e70df);}[_0x4b10('0x13')](_0x43e1e4){return this['_innerViewToAnnotation'][_0x4b10('0x1e')](_0x43e1e4);}[_0x4b10('0x1b')](_0x4325b8){return this[_0x4b10('0xd')][_0x4b10('0x1e')](_0x4325b8);}[_0x4b10('0x1')](){super[_0x4b10('0x14')](),this[_0x4b10('0x6')](),this['_innerViewToAnnotation']['clear'](),this[_0x4b10('0xd')][_0x4b10('0x14')](),this[_0x4b10('0x19')][_0x4b10('0x1')]();}[_0x4b10('0x1c')](){for(const _0x300718 of this)_0x300718['updateTargetRect']();this['_sort']();}['_sort'](){const _0x307042=Array[_0x4b10('0xb')](this)[_0x4b10('0x15')]((_0x7caf42,_0x2cc358)=>y(_0x7caf42[_0x4b10('0x7')],_0x2cc358['targetRect']));for(let _0x1d8716=_0x307042[_0x4b10('0x2')]-0x1;_0x1d8716>0x0;_0x1d8716--){const _0x14e801=_0x307042[_0x1d8716];_0x1d8716!==this[_0x4b10('0x1f')](_0x14e801)&&(this[_0x4b10('0x18')](_0x14e801),this['add'](_0x14e801,_0x1d8716));}}[_0x4b10('0x3')](_0x3a968d){let _0xb9264f=0x0;const _0x53d16d=_0x3a968d['targetRect'];if(!_0x53d16d)return this['_items'][_0x4b10('0x2')];for(const _0x1df4ea of this){const _0x3bf1c4=_0x1df4ea[_0x4b10('0x7')];if(_0x3bf1c4){if(y(_0x53d16d,_0x3bf1c4)<0x0)return _0xb9264f;_0xb9264f++;}}return _0xb9264f;}}export function bindAnnotationCollections({source:_0x5b84d8,target:_0x4d8f38,filter:_0x4e10e5}){for(const _0x350bff of _0x5b84d8)_0x4e10e5(_0x350bff)&&_0x4d8f38[_0x4b10('0x5')](_0x350bff);_0x4d8f38[_0x4b10('0x10')](_0x5b84d8,'add',(_0x2ce330,_0xa238a6)=>{_0x4e10e5(_0xa238a6)&&_0x4d8f38[_0x4b10('0x5')](_0xa238a6);}),_0x4d8f38['listenTo'](_0x5b84d8,_0x4b10('0x18'),(_0x18f13a,_0x227824)=>{_0x4d8f38[_0x4b10('0x9')](_0x227824)&&_0x4d8f38[_0x4b10('0x18')](_0x227824);});}function y(_0x80fb6e,_0x20f6a8){if(null===_0x80fb6e&&null===_0x20f6a8)return 0x0;if(null===_0x80fb6e)return-0x1;if(null===_0x20f6a8)return 0x1;const _0x4782cb=_0x80fb6e['top']-_0x20f6a8['top'];return 0x0==_0x4782cb?_0x80fb6e[_0x4b10('0x17')]-_0x20f6a8[_0x4b10('0x17')]:_0x4782cb;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54ab=['pluginName','delete','createAnnotation','refreshVisibility','stopListening','deactivateAll','destroy','has','activate','_visibleAnnotations','_bindAnnotationsToVisibleAnnotations','remove','add','getByInnerView','collection','fire','_addActiveAnnotation','change:isVisible','activeAnnotations','set','isVisible','refreshPositioning','source','listenTo'];(function(_0x41c1ba,_0x54ab0a){const _0x27d136=function(_0x485c30){while(--_0x485c30){_0x41c1ba['push'](_0x41c1ba['shift']());}};_0x27d136(++_0x54ab0a);}(_0x54ab,0x75));const _0x27d1=function(_0x41c1ba,_0x54ab0a){_0x41c1ba=_0x41c1ba-0x0;let _0x27d136=_0x54ab[_0x41c1ba];return _0x27d136;};import{ContextPlugin as _0x40a6a0}from'ckeditor5/src/core';import _0x433ba9 from'./annotation';import _0x9ae26e from'./annotationcollection';import _0x5c12ae from'./view/annotationview';export default class V extends _0x40a6a0{static get[_0x27d1('0x3')](){return'Annotations';}constructor(_0x10288d){super(_0x10288d),this['collection']=new _0x9ae26e(),this[_0x27d1('0xc')]=new _0x9ae26e(),this[_0x27d1('0x16')]('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations']();}['add'](_0x2d23f6){this[_0x27d1('0x11')][_0x27d1('0xf')](_0x2d23f6);}[_0x27d1('0xe')](_0x5e805e){this[_0x27d1('0x11')][_0x27d1('0xe')](_0x5e805e),_0x5e805e['destroy']();}[_0x27d1('0x6')](){for(const _0x92c0cf of this['collection'])_0x92c0cf[_0x27d1('0x6')]();}['refreshPositioning'](){this[_0x27d1('0xc')][_0x27d1('0x0')]();}[_0x27d1('0x10')](_0xab7b4b){return this['collection'][_0x27d1('0x10')](_0xab7b4b);}[_0x27d1('0x8')](){this[_0x27d1('0x12')]('_deactivateAllAnnotations');}[_0x27d1('0x9')](){for(const _0x24b233 of this[_0x27d1('0x11')])_0x24b233[_0x27d1('0x9')]();this['_visibleAnnotations'][_0x27d1('0x9')](),this[_0x27d1('0x11')][_0x27d1('0x9')](),super[_0x27d1('0x9')]();}[_0x27d1('0xb')](_0x12b309){this['fire']('_activateAnnotation',_0x12b309);}[_0x27d1('0x5')](_0x232d36){return new _0x433ba9(_0x232d36);}['createAnnotationView'](_0x2c0aa4,_0x1980fc){return new _0x5c12ae(_0x2c0aa4,_0x1980fc);}[_0x27d1('0x13')](_0x225377){const _0x5e6bde=new Set(this['activeAnnotations']);_0x5e6bde[_0x27d1('0xf')](_0x225377),this[_0x27d1('0x15')]=_0x5e6bde;}['_removeActiveAnnotation'](_0x2a0e2b){const _0x18e5d3=new Set(this[_0x27d1('0x15')]);_0x18e5d3[_0x27d1('0x4')](_0x2a0e2b),this[_0x27d1('0x15')]=_0x18e5d3;}[_0x27d1('0xd')](){const _0x38852d=this[_0x27d1('0x11')],_0x1ffcd2=this[_0x27d1('0xc')];function _0x345b87(_0x14b352){const _0x5ab1eb=_0x14b352[_0x27d1('0x1')];_0x5ab1eb[_0x27d1('0x17')]&&!_0x1ffcd2[_0x27d1('0xa')](_0x5ab1eb)?_0x1ffcd2[_0x27d1('0xf')](_0x5ab1eb):!_0x5ab1eb[_0x27d1('0x17')]&&_0x1ffcd2[_0x27d1('0xa')](_0x5ab1eb)&&_0x1ffcd2[_0x27d1('0xe')](_0x5ab1eb);}this[_0x27d1('0x2')](_0x38852d,_0x27d1('0xf'),(_0x57ade6,_0x23fdcf)=>{_0x23fdcf[_0x27d1('0x17')]&&_0x1ffcd2[_0x27d1('0xf')](_0x23fdcf),this['listenTo'](_0x23fdcf,'change:isVisible',_0x345b87);}),this[_0x27d1('0x2')](_0x38852d,_0x27d1('0xe'),(_0x18f2fa,_0x1a7e8e)=>{_0x1ffcd2[_0x27d1('0xa')](_0x1a7e8e)&&_0x1ffcd2['remove'](_0x1a7e8e),this[_0x27d1('0x7')](_0x1a7e8e,_0x27d1('0x14'),_0x345b87);});}}
23
+ const _0x59ce=['activate','fire','activeAnnotations','pluginName','change:isVisible','_removeActiveAnnotation','createAnnotationView','deactivateAll','_visibleAnnotations','refreshVisibility','Annotations','_activateAnnotation','collection','_bindAnnotationsToVisibleAnnotations','delete','add','remove','destroy','set','listenTo','has','getByInnerView','isVisible','refreshPositioning'];(function(_0x15b2b8,_0x59ce5e){const _0x16414c=function(_0xb5eeba){while(--_0xb5eeba){_0x15b2b8['push'](_0x15b2b8['shift']());}};_0x16414c(++_0x59ce5e);}(_0x59ce,0xbf));const _0x1641=function(_0x15b2b8,_0x59ce5e){_0x15b2b8=_0x15b2b8-0x0;let _0x16414c=_0x59ce[_0x15b2b8];return _0x16414c;};import{ContextPlugin as _0x29299a}from'ckeditor5/src/core';import _0x376d19 from'./annotation';import _0x44e106 from'./annotationcollection';import _0x316304 from'./view/annotationview';export default class V extends _0x29299a{static get[_0x1641('0x4')](){return _0x1641('0xb');}constructor(_0x50df98){super(_0x50df98),this[_0x1641('0xd')]=new _0x44e106(),this[_0x1641('0x9')]=new _0x44e106(),this[_0x1641('0x13')](_0x1641('0x3'),new Set()),this[_0x1641('0xe')]();}[_0x1641('0x10')](_0x1f816f){this['collection']['add'](_0x1f816f);}[_0x1641('0x11')](_0x370475){this[_0x1641('0xd')]['remove'](_0x370475),_0x370475[_0x1641('0x12')]();}['refreshVisibility'](){for(const _0x347290 of this[_0x1641('0xd')])_0x347290[_0x1641('0xa')]();}[_0x1641('0x0')](){this['_visibleAnnotations'][_0x1641('0x0')]();}[_0x1641('0x16')](_0x252a8e){return this['collection'][_0x1641('0x16')](_0x252a8e);}[_0x1641('0x8')](){this[_0x1641('0x2')]('_deactivateAllAnnotations');}[_0x1641('0x12')](){for(const _0xca92f6 of this[_0x1641('0xd')])_0xca92f6[_0x1641('0x12')]();this[_0x1641('0x9')][_0x1641('0x12')](),this[_0x1641('0xd')][_0x1641('0x12')](),super['destroy']();}[_0x1641('0x1')](_0x5ca698){this[_0x1641('0x2')](_0x1641('0xc'),_0x5ca698);}['createAnnotation'](_0x47fd55){return new _0x376d19(_0x47fd55);}[_0x1641('0x7')](_0x39865c,_0x1c65e9){return new _0x316304(_0x39865c,_0x1c65e9);}['_addActiveAnnotation'](_0x13a4b2){const _0x4a6e96=new Set(this[_0x1641('0x3')]);_0x4a6e96[_0x1641('0x10')](_0x13a4b2),this[_0x1641('0x3')]=_0x4a6e96;}[_0x1641('0x6')](_0x14bba7){const _0x27c57c=new Set(this[_0x1641('0x3')]);_0x27c57c[_0x1641('0xf')](_0x14bba7),this[_0x1641('0x3')]=_0x27c57c;}[_0x1641('0xe')](){const _0xc7a83a=this[_0x1641('0xd')],_0x232f61=this['_visibleAnnotations'];function _0x3d966a(_0x3579a3){const _0x41b961=_0x3579a3['source'];_0x41b961[_0x1641('0x17')]&&!_0x232f61[_0x1641('0x15')](_0x41b961)?_0x232f61[_0x1641('0x10')](_0x41b961):!_0x41b961[_0x1641('0x17')]&&_0x232f61[_0x1641('0x15')](_0x41b961)&&_0x232f61[_0x1641('0x11')](_0x41b961);}this[_0x1641('0x14')](_0xc7a83a,'add',(_0x113c4b,_0x2fa33a)=>{_0x2fa33a[_0x1641('0x17')]&&_0x232f61[_0x1641('0x10')](_0x2fa33a),this[_0x1641('0x14')](_0x2fa33a,'change:isVisible',_0x3d966a);}),this[_0x1641('0x14')](_0xc7a83a,_0x1641('0x11'),(_0x9eefc9,_0x577f07)=>{_0x232f61[_0x1641('0x15')](_0x577f07)&&_0x232f61[_0x1641('0x11')](_0x577f07),this['stopListening'](_0x577f07,_0x1641('0x5'),_0x3d966a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5443=['switchTo','isActive','refilterAnnotations','attach','length','setActiveAnnotation','_uisData','get','hasActive','_uis','annotationsuis-register-invalid-interface','_activateAnnotation','annotationsuis-register-already-registered','from','size','context','register','_deactivateAllAnnotations','listenTo','activeUIs','plugins','_removeActiveAnnotation','_visibleAnnotations','requires','set','filter','function','_setSelectedAnnotations','detach','pluginName','has','destroy','annotationsuis-activate-missing-ui','add','collection','delete','AnnotationsUIs','deactivateAll','init','activeAnnotations','_assertAnnotationDoesNotBelongToMultipleUIs','deactivate','type','activate'];(function(_0xe81566,_0x5443ba){const _0x1c4949=function(_0x4444c0){while(--_0x4444c0){_0xe81566['push'](_0xe81566['shift']());}};_0x1c4949(++_0x5443ba);}(_0x5443,0xa0));const _0x1c49=function(_0xe81566,_0x5443ba){_0xe81566=_0xe81566-0x0;let _0x1c4949=_0x5443[_0xe81566];return _0x1c4949;};import{ContextPlugin as _0x34fb0d}from'ckeditor5/src/core';import{CKEditorError as _0x4b8f6e}from'ckeditor5/src/utils';import _0x2abb73,{bindAnnotationCollections as _0x1557f6}from'./annotationcollection';import _0x1c1b10 from'./annotations';export default class I extends _0x34fb0d{static get[_0x1c49('0x27')](){return[_0x1c1b10];}static get[_0x1c49('0x1')](){return _0x1c49('0x8');}constructor(_0x27f275){super(_0x27f275),this[_0x1c49('0x23')]=new Set(),this[_0x1c49('0x19')]=new Map(),this[_0x1c49('0x16')]=new Map();}[_0x1c49('0xa')](){const _0xbf43a7=this[_0x1c49('0x1f')][_0x1c49('0x24')][_0x1c49('0x17')](_0x1c1b10);this[_0x1c49('0x22')](_0xbf43a7,_0x1c49('0x1b'),(_0x531bc0,_0xe7f247)=>{for(const _0x1a8a34 of this[_0x1c49('0x23')]){const _0x260fea=this[_0x1c49('0x19')][_0x1c49('0x17')](_0x1a8a34);(0x0,this[_0x1c49('0x16')]['get'](_0x1a8a34)['filter'])(_0xe7f247)&&_0x260fea['setActiveAnnotation'](_0xe7f247);}}),this[_0x1c49('0x22')](_0xbf43a7,_0x1c49('0x21'),()=>{for(const _0xc3e629 of this[_0x1c49('0x23')]){this[_0x1c49('0x19')][_0x1c49('0x17')](_0xc3e629)[_0x1c49('0x15')](null);}}),this[_0x1c49('0x22')](_0xbf43a7[_0x1c49('0x26')],_0x1c49('0x5'),(_0x5143f2,_0x38fbe5)=>{this[_0x1c49('0xc')](_0x38fbe5);});}[_0x1c49('0x18')](){return this[_0x1c49('0x23')][_0x1c49('0x1e')]>0x0;}[_0x1c49('0x11')](_0x1e5b8c){return this[_0x1c49('0x23')][_0x1c49('0x2')](_0x1e5b8c);}['activate'](_0x252e0c,_0x1f5d1f=()=>!0x0){const _0x15d8e8=this[_0x1c49('0x1f')][_0x1c49('0x24')][_0x1c49('0x17')](_0x1c1b10);if(!this[_0x1c49('0x19')][_0x1c49('0x2')](_0x252e0c))throw new _0x4b8f6e(_0x1c49('0x4'),this,{'uiName':_0x252e0c});this[_0x1c49('0x11')](_0x252e0c)&&this[_0x1c49('0xd')](_0x252e0c),this[_0x1c49('0x23')][_0x1c49('0x5')](_0x252e0c);const _0x355efe=new _0x2abb73(),_0x21f98e=_0x15d8e8[_0x1c49('0x26')];_0x1557f6({'source':_0x21f98e,'target':_0x355efe,'filter':_0x1f5d1f}),this[_0x1c49('0x16')][_0x1c49('0x28')](_0x252e0c,{'collection':_0x355efe,'filter':_0x1f5d1f});const _0x442925=this[_0x1c49('0x19')][_0x1c49('0x17')](_0x252e0c);_0x442925[_0x1c49('0x13')](_0x355efe),this[_0x1c49('0x22')](_0x442925,'change:activeAnnotation',(_0x5d2c46,_0x362b04,_0x179aef,_0x5949b4)=>{_0x5949b4&&_0x15d8e8[_0x1c49('0x25')](_0x5949b4),_0x179aef&&_0x15d8e8['_addActiveAnnotation'](_0x179aef);});}[_0x1c49('0xd')](_0x1cabd8){this[_0x1c49('0x23')][_0x1c49('0x7')](_0x1cabd8);const _0x2ccbe2=this[_0x1c49('0x19')]['get'](_0x1cabd8);_0x2ccbe2[_0x1c49('0x0')](),this['stopListening'](_0x2ccbe2),this[_0x1c49('0x16')][_0x1c49('0x17')](_0x1cabd8)[_0x1c49('0x6')][_0x1c49('0x3')](),this[_0x1c49('0x16')][_0x1c49('0x7')](_0x1cabd8);}[_0x1c49('0x10')](_0x294a06){const _0x15526e=this['context'][_0x1c49('0x24')][_0x1c49('0x17')](_0x1c1b10),_0x59de97=Array[_0x1c49('0x1d')](_0x15526e[_0x1c49('0xb')])[0x0]||null;this[_0x1c49('0x9')](),this[_0x1c49('0xf')](_0x294a06);const _0x3054c1=this[_0x1c49('0x19')][_0x1c49('0x17')](_0x294a06);_0x3054c1['setActiveAnnotation'](_0x59de97),_0x3054c1['_setSelectedAnnotations']&&_0x59de97&&_0x3054c1[_0x1c49('0x2b')]([_0x59de97]);}[_0x1c49('0x9')](){for(const _0x5cfbda of this[_0x1c49('0x23')])this[_0x1c49('0xd')](_0x5cfbda);}[_0x1c49('0x20')](_0x441ebc,_0x2954b8){if(this[_0x1c49('0x19')]['has'](_0x441ebc))throw new _0x4b8f6e(_0x1c49('0x1c'));if('function'!=typeof _0x2954b8[_0x1c49('0x13')]||'function'!=typeof _0x2954b8[_0x1c49('0x0')]||_0x1c49('0x2a')!=typeof _0x2954b8[_0x1c49('0x15')])throw new _0x4b8f6e(_0x1c49('0x1a'),null);this[_0x1c49('0x19')][_0x1c49('0x28')](_0x441ebc,_0x2954b8);}[_0x1c49('0x12')](){const _0x54fba0=this['context'][_0x1c49('0x24')][_0x1c49('0x17')](_0x1c1b10)['collection'],_0x4e996e=new Map(),_0x24f6be=Array['from'](this[_0x1c49('0x23')]);for(const _0x960a04 of this[_0x1c49('0x23')]){const _0x4ea3e5=this[_0x1c49('0x16')][_0x1c49('0x17')](_0x960a04)[_0x1c49('0x6')];for(const _0x1871c9 of _0x4ea3e5)_0x4e996e[_0x1c49('0x28')](_0x1871c9,_0x960a04);}for(const _0x20aee8 of _0x54fba0){const _0x1e98f7=_0x4e996e[_0x1c49('0x17')](_0x20aee8);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x20aee8);const _0x3919e1=_0x24f6be['find'](_0x53688e=>this[_0x1c49('0x16')][_0x1c49('0x17')](_0x53688e)[_0x1c49('0x29')](_0x20aee8));_0x1e98f7!==_0x3919e1&&(_0x1e98f7&&this[_0x1c49('0x16')][_0x1c49('0x17')](_0x1e98f7)[_0x1c49('0x6')]['remove'](_0x20aee8),_0x3919e1&&this['_uisData'][_0x1c49('0x17')](_0x3919e1)['collection']['add'](_0x20aee8));}}['destroy'](){this[_0x1c49('0x9')](),super[_0x1c49('0x3')]();}[_0x1c49('0xc')](_0x565a3d){const _0x59d432=[];for(const _0x330775 of this[_0x1c49('0x23')]){(0x0,this[_0x1c49('0x16')][_0x1c49('0x17')](_0x330775)[_0x1c49('0x29')])(_0x565a3d)&&_0x59d432['push'](_0x330775);}if(_0x59d432[_0x1c49('0x14')]>0x1)throw new _0x4b8f6e('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x59d432,'annotationType':_0x565a3d[_0x1c49('0xe')]});}}
23
+ const _0x2e14=['activeAnnotations','listenTo','register','_removeActiveAnnotation','has','plugins','collection','attach','_uis','pluginName','annotationsuis-register-invalid-interface','push','destroy','_uisData','setActiveAnnotation','deactivate','find','add','function','isActive','size','switchTo','hasActive','_deactivateAllAnnotations','from','requires','get','AnnotationsUIs','set','init','deactivateAll','_setSelectedAnnotations','annotationsuis-activate-missing-ui','change:activeAnnotation','_activateAnnotation','context','delete','activate','_addActiveAnnotation','_visibleAnnotations','type','remove','refilterAnnotations','detach','_assertAnnotationDoesNotBelongToMultipleUIs','activeUIs','filter'];(function(_0x44dc65,_0x2e1455){const _0x8a12cd=function(_0x495936){while(--_0x495936){_0x44dc65['push'](_0x44dc65['shift']());}};_0x8a12cd(++_0x2e1455);}(_0x2e14,0x185));const _0x8a12=function(_0x44dc65,_0x2e1455){_0x44dc65=_0x44dc65-0x0;let _0x8a12cd=_0x2e14[_0x44dc65];return _0x8a12cd;};import{ContextPlugin as _0x22036e}from'ckeditor5/src/core';import{CKEditorError as _0x38791a}from'ckeditor5/src/utils';import _0x5e9a40,{bindAnnotationCollections as _0x42ec58}from'./annotationcollection';import _0x335386 from'./annotations';export default class I extends _0x22036e{static get[_0x8a12('0xc')](){return[_0x335386];}static get[_0x8a12('0x2b')](){return _0x8a12('0xe');}constructor(_0xd45566){super(_0xd45566),this[_0x8a12('0x20')]=new Set(),this[_0x8a12('0x2a')]=new Map(),this[_0x8a12('0x0')]=new Map();}[_0x8a12('0x10')](){const _0x29ee7b=this[_0x8a12('0x16')][_0x8a12('0x27')][_0x8a12('0xd')](_0x335386);this[_0x8a12('0x23')](_0x29ee7b,_0x8a12('0x15'),(_0x263c9d,_0x39c43d)=>{for(const _0x548c0a of this[_0x8a12('0x20')]){const _0x42ba85=this[_0x8a12('0x2a')][_0x8a12('0xd')](_0x548c0a);(0x0,this[_0x8a12('0x0')][_0x8a12('0xd')](_0x548c0a)[_0x8a12('0x21')])(_0x39c43d)&&_0x42ba85[_0x8a12('0x1')](_0x39c43d);}}),this[_0x8a12('0x23')](_0x29ee7b,_0x8a12('0xa'),()=>{for(const _0x181d75 of this[_0x8a12('0x20')]){this[_0x8a12('0x2a')][_0x8a12('0xd')](_0x181d75)[_0x8a12('0x1')](null);}}),this[_0x8a12('0x23')](_0x29ee7b[_0x8a12('0x1a')],_0x8a12('0x4'),(_0x2e87d1,_0x2dced1)=>{this[_0x8a12('0x1f')](_0x2dced1);});}[_0x8a12('0x9')](){return this[_0x8a12('0x20')][_0x8a12('0x7')]>0x0;}[_0x8a12('0x6')](_0x39daa3){return this['activeUIs'][_0x8a12('0x26')](_0x39daa3);}[_0x8a12('0x18')](_0xf840b5,_0x247229=()=>!0x0){const _0x5943d2=this[_0x8a12('0x16')][_0x8a12('0x27')]['get'](_0x335386);if(!this[_0x8a12('0x2a')][_0x8a12('0x26')](_0xf840b5))throw new _0x38791a(_0x8a12('0x13'),this,{'uiName':_0xf840b5});this[_0x8a12('0x6')](_0xf840b5)&&this[_0x8a12('0x2')](_0xf840b5),this[_0x8a12('0x20')][_0x8a12('0x4')](_0xf840b5);const _0x4b749c=new _0x5e9a40(),_0x38964d=_0x5943d2['_visibleAnnotations'];_0x42ec58({'source':_0x38964d,'target':_0x4b749c,'filter':_0x247229}),this[_0x8a12('0x0')][_0x8a12('0xf')](_0xf840b5,{'collection':_0x4b749c,'filter':_0x247229});const _0x15adf6=this['_uis'][_0x8a12('0xd')](_0xf840b5);_0x15adf6[_0x8a12('0x29')](_0x4b749c),this[_0x8a12('0x23')](_0x15adf6,_0x8a12('0x14'),(_0x412693,_0x5585f7,_0x2351bb,_0x36b7bb)=>{_0x36b7bb&&_0x5943d2[_0x8a12('0x25')](_0x36b7bb),_0x2351bb&&_0x5943d2[_0x8a12('0x19')](_0x2351bb);});}[_0x8a12('0x2')](_0x265ff8){this[_0x8a12('0x20')][_0x8a12('0x17')](_0x265ff8);const _0x3829ac=this[_0x8a12('0x2a')]['get'](_0x265ff8);_0x3829ac[_0x8a12('0x1e')](),this['stopListening'](_0x3829ac),this[_0x8a12('0x0')]['get'](_0x265ff8)[_0x8a12('0x28')][_0x8a12('0x2e')](),this['_uisData'][_0x8a12('0x17')](_0x265ff8);}[_0x8a12('0x8')](_0x2eba1d){const _0x32d79d=this['context'][_0x8a12('0x27')][_0x8a12('0xd')](_0x335386),_0x1b7495=Array[_0x8a12('0xb')](_0x32d79d[_0x8a12('0x22')])[0x0]||null;this[_0x8a12('0x11')](),this[_0x8a12('0x18')](_0x2eba1d);const _0x183112=this[_0x8a12('0x2a')][_0x8a12('0xd')](_0x2eba1d);_0x183112[_0x8a12('0x1')](_0x1b7495),_0x183112[_0x8a12('0x12')]&&_0x1b7495&&_0x183112['_setSelectedAnnotations']([_0x1b7495]);}[_0x8a12('0x11')](){for(const _0x523c96 of this[_0x8a12('0x20')])this[_0x8a12('0x2')](_0x523c96);}[_0x8a12('0x24')](_0x2e9aab,_0x567385){if(this[_0x8a12('0x2a')][_0x8a12('0x26')](_0x2e9aab))throw new _0x38791a('annotationsuis-register-already-registered');if(_0x8a12('0x5')!=typeof _0x567385[_0x8a12('0x29')]||_0x8a12('0x5')!=typeof _0x567385[_0x8a12('0x1e')]||'function'!=typeof _0x567385[_0x8a12('0x1')])throw new _0x38791a(_0x8a12('0x2c'),null);this[_0x8a12('0x2a')]['set'](_0x2e9aab,_0x567385);}[_0x8a12('0x1d')](){const _0x53b0bb=this[_0x8a12('0x16')][_0x8a12('0x27')][_0x8a12('0xd')](_0x335386)[_0x8a12('0x28')],_0x2ea31f=new Map(),_0x116942=Array[_0x8a12('0xb')](this[_0x8a12('0x20')]);for(const _0x83593e of this[_0x8a12('0x20')]){const _0x34f758=this[_0x8a12('0x0')][_0x8a12('0xd')](_0x83593e)['collection'];for(const _0x26ddac of _0x34f758)_0x2ea31f[_0x8a12('0xf')](_0x26ddac,_0x83593e);}for(const _0x5da9a1 of _0x53b0bb){const _0x301c41=_0x2ea31f[_0x8a12('0xd')](_0x5da9a1);this[_0x8a12('0x1f')](_0x5da9a1);const _0x1a86b5=_0x116942[_0x8a12('0x3')](_0x47de3c=>this['_uisData'][_0x8a12('0xd')](_0x47de3c)[_0x8a12('0x21')](_0x5da9a1));_0x301c41!==_0x1a86b5&&(_0x301c41&&this[_0x8a12('0x0')][_0x8a12('0xd')](_0x301c41)[_0x8a12('0x28')][_0x8a12('0x1c')](_0x5da9a1),_0x1a86b5&&this[_0x8a12('0x0')][_0x8a12('0xd')](_0x1a86b5)[_0x8a12('0x28')][_0x8a12('0x4')](_0x5da9a1));}}[_0x8a12('0x2e')](){this[_0x8a12('0x11')](),super[_0x8a12('0x2e')]();}[_0x8a12('0x1f')](_0x416864){const _0x1e0956=[];for(const _0x2cd6f5 of this[_0x8a12('0x20')]){(0x0,this['_uisData'][_0x8a12('0xd')](_0x2cd6f5)['filter'])(_0x416864)&&_0x1e0956[_0x8a12('0x2d')](_0x2cd6f5);}if(_0x1e0956['length']>0x1)throw new _0x38791a('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x1e0956,'annotationType':_0x416864[_0x8a12('0x1b')]});}}