@ckeditor/ckeditor5-comments 41.3.1 → 41.4.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 (265) hide show
  1. package/build/comments.js +1 -1
  2. package/build/translations/ti.js +1 -0
  3. package/dist/index-content.css +4 -0
  4. package/dist/index-editor.css +596 -0
  5. package/dist/index.css +990 -0
  6. package/dist/index.js +23 -0
  7. package/dist/translations/af.d.ts +8 -0
  8. package/dist/translations/af.js +23 -0
  9. package/dist/translations/af.umd.js +23 -0
  10. package/dist/translations/ar.d.ts +8 -0
  11. package/dist/translations/ar.js +23 -0
  12. package/dist/translations/ar.umd.js +23 -0
  13. package/dist/translations/bg.d.ts +8 -0
  14. package/dist/translations/bg.js +23 -0
  15. package/dist/translations/bg.umd.js +23 -0
  16. package/dist/translations/bn.d.ts +8 -0
  17. package/dist/translations/bn.js +23 -0
  18. package/dist/translations/bn.umd.js +23 -0
  19. package/dist/translations/bs.d.ts +8 -0
  20. package/dist/translations/bs.js +23 -0
  21. package/dist/translations/bs.umd.js +23 -0
  22. package/dist/translations/ca.d.ts +8 -0
  23. package/dist/translations/ca.js +23 -0
  24. package/dist/translations/ca.umd.js +23 -0
  25. package/dist/translations/cs.d.ts +8 -0
  26. package/dist/translations/cs.js +23 -0
  27. package/dist/translations/cs.umd.js +23 -0
  28. package/dist/translations/da.d.ts +8 -0
  29. package/dist/translations/da.js +23 -0
  30. package/dist/translations/da.umd.js +23 -0
  31. package/dist/translations/de-ch.d.ts +8 -0
  32. package/dist/translations/de-ch.js +23 -0
  33. package/dist/translations/de-ch.umd.js +23 -0
  34. package/dist/translations/de.d.ts +8 -0
  35. package/dist/translations/de.js +23 -0
  36. package/dist/translations/de.umd.js +23 -0
  37. package/dist/translations/el.d.ts +8 -0
  38. package/dist/translations/el.js +23 -0
  39. package/dist/translations/el.umd.js +23 -0
  40. package/dist/translations/en-au.d.ts +8 -0
  41. package/dist/translations/en-au.js +23 -0
  42. package/dist/translations/en-au.umd.js +23 -0
  43. package/dist/translations/en.d.ts +8 -0
  44. package/dist/translations/en.js +23 -0
  45. package/dist/translations/en.umd.js +23 -0
  46. package/dist/translations/es-co.d.ts +8 -0
  47. package/dist/translations/es-co.js +23 -0
  48. package/dist/translations/es-co.umd.js +23 -0
  49. package/dist/translations/es.d.ts +8 -0
  50. package/dist/translations/es.js +23 -0
  51. package/dist/translations/es.umd.js +23 -0
  52. package/dist/translations/et.d.ts +8 -0
  53. package/dist/translations/et.js +23 -0
  54. package/dist/translations/et.umd.js +23 -0
  55. package/dist/translations/fa.d.ts +8 -0
  56. package/dist/translations/fa.js +23 -0
  57. package/dist/translations/fa.umd.js +23 -0
  58. package/dist/translations/fi.d.ts +8 -0
  59. package/dist/translations/fi.js +23 -0
  60. package/dist/translations/fi.umd.js +23 -0
  61. package/dist/translations/fr.d.ts +8 -0
  62. package/dist/translations/fr.js +23 -0
  63. package/dist/translations/fr.umd.js +23 -0
  64. package/dist/translations/gl.d.ts +8 -0
  65. package/dist/translations/gl.js +23 -0
  66. package/dist/translations/gl.umd.js +23 -0
  67. package/dist/translations/he.d.ts +8 -0
  68. package/dist/translations/he.js +23 -0
  69. package/dist/translations/he.umd.js +23 -0
  70. package/dist/translations/hi.d.ts +8 -0
  71. package/dist/translations/hi.js +23 -0
  72. package/dist/translations/hi.umd.js +23 -0
  73. package/dist/translations/hr.d.ts +8 -0
  74. package/dist/translations/hr.js +23 -0
  75. package/dist/translations/hr.umd.js +23 -0
  76. package/dist/translations/hu.d.ts +8 -0
  77. package/dist/translations/hu.js +23 -0
  78. package/dist/translations/hu.umd.js +23 -0
  79. package/dist/translations/id.d.ts +8 -0
  80. package/dist/translations/id.js +23 -0
  81. package/dist/translations/id.umd.js +23 -0
  82. package/dist/translations/it.d.ts +8 -0
  83. package/dist/translations/it.js +23 -0
  84. package/dist/translations/it.umd.js +23 -0
  85. package/dist/translations/ja.d.ts +8 -0
  86. package/dist/translations/ja.js +23 -0
  87. package/dist/translations/ja.umd.js +23 -0
  88. package/dist/translations/jv.d.ts +8 -0
  89. package/dist/translations/jv.js +23 -0
  90. package/dist/translations/jv.umd.js +23 -0
  91. package/dist/translations/ko.d.ts +8 -0
  92. package/dist/translations/ko.js +23 -0
  93. package/dist/translations/ko.umd.js +23 -0
  94. package/dist/translations/lt.d.ts +8 -0
  95. package/dist/translations/lt.js +23 -0
  96. package/dist/translations/lt.umd.js +23 -0
  97. package/dist/translations/lv.d.ts +8 -0
  98. package/dist/translations/lv.js +23 -0
  99. package/dist/translations/lv.umd.js +23 -0
  100. package/dist/translations/ms.d.ts +8 -0
  101. package/dist/translations/ms.js +23 -0
  102. package/dist/translations/ms.umd.js +23 -0
  103. package/dist/translations/nl.d.ts +8 -0
  104. package/dist/translations/nl.js +23 -0
  105. package/dist/translations/nl.umd.js +23 -0
  106. package/dist/translations/no.d.ts +8 -0
  107. package/dist/translations/no.js +23 -0
  108. package/dist/translations/no.umd.js +23 -0
  109. package/dist/translations/pl.d.ts +8 -0
  110. package/dist/translations/pl.js +23 -0
  111. package/dist/translations/pl.umd.js +23 -0
  112. package/dist/translations/pt-br.d.ts +8 -0
  113. package/dist/translations/pt-br.js +23 -0
  114. package/dist/translations/pt-br.umd.js +23 -0
  115. package/dist/translations/pt.d.ts +8 -0
  116. package/dist/translations/pt.js +23 -0
  117. package/dist/translations/pt.umd.js +23 -0
  118. package/dist/translations/ro.d.ts +8 -0
  119. package/dist/translations/ro.js +23 -0
  120. package/dist/translations/ro.umd.js +23 -0
  121. package/dist/translations/ru.d.ts +8 -0
  122. package/dist/translations/ru.js +23 -0
  123. package/dist/translations/ru.umd.js +23 -0
  124. package/dist/translations/sk.d.ts +8 -0
  125. package/dist/translations/sk.js +23 -0
  126. package/dist/translations/sk.umd.js +23 -0
  127. package/dist/translations/sq.d.ts +8 -0
  128. package/dist/translations/sq.js +23 -0
  129. package/dist/translations/sq.umd.js +23 -0
  130. package/dist/translations/sr-latn.d.ts +8 -0
  131. package/dist/translations/sr-latn.js +23 -0
  132. package/dist/translations/sr-latn.umd.js +23 -0
  133. package/dist/translations/sr.d.ts +8 -0
  134. package/dist/translations/sr.js +23 -0
  135. package/dist/translations/sr.umd.js +23 -0
  136. package/dist/translations/sv.d.ts +8 -0
  137. package/dist/translations/sv.js +23 -0
  138. package/dist/translations/sv.umd.js +23 -0
  139. package/dist/translations/th.d.ts +8 -0
  140. package/dist/translations/th.js +23 -0
  141. package/dist/translations/th.umd.js +23 -0
  142. package/dist/translations/ti.d.ts +8 -0
  143. package/dist/translations/ti.js +23 -0
  144. package/dist/translations/ti.umd.js +23 -0
  145. package/dist/translations/tk.d.ts +8 -0
  146. package/dist/translations/tk.js +23 -0
  147. package/dist/translations/tk.umd.js +23 -0
  148. package/dist/translations/tr.d.ts +8 -0
  149. package/dist/translations/tr.js +23 -0
  150. package/dist/translations/tr.umd.js +23 -0
  151. package/dist/translations/tt.d.ts +8 -0
  152. package/dist/translations/tt.js +23 -0
  153. package/dist/translations/tt.umd.js +23 -0
  154. package/dist/translations/ug.d.ts +8 -0
  155. package/dist/translations/ug.js +23 -0
  156. package/dist/translations/ug.umd.js +23 -0
  157. package/dist/translations/uk.d.ts +8 -0
  158. package/dist/translations/uk.js +23 -0
  159. package/dist/translations/uk.umd.js +23 -0
  160. package/dist/translations/ur.d.ts +8 -0
  161. package/dist/translations/ur.js +23 -0
  162. package/dist/translations/ur.umd.js +23 -0
  163. package/dist/translations/vi.d.ts +8 -0
  164. package/dist/translations/vi.js +23 -0
  165. package/dist/translations/vi.umd.js +23 -0
  166. package/dist/translations/zh-cn.d.ts +8 -0
  167. package/dist/translations/zh-cn.js +23 -0
  168. package/dist/translations/zh-cn.umd.js +23 -0
  169. package/dist/translations/zh.d.ts +8 -0
  170. package/dist/translations/zh.js +23 -0
  171. package/dist/translations/zh.umd.js +23 -0
  172. package/dist/types/annotations/annotation.d.ts +94 -0
  173. package/dist/types/annotations/annotationcollection.d.ts +102 -0
  174. package/dist/types/annotations/annotations.d.ts +158 -0
  175. package/dist/types/annotations/annotationsuis.d.ts +236 -0
  176. package/dist/types/annotations/editorannotations.d.ts +71 -0
  177. package/dist/types/annotations/inlineannotations.d.ts +94 -0
  178. package/dist/types/annotations/narrowsidebar.d.ts +89 -0
  179. package/dist/types/annotations/sidebar.d.ts +104 -0
  180. package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
  181. package/dist/types/annotations/view/annotationview.d.ts +94 -0
  182. package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
  183. package/dist/types/annotations/view/sidebarview.d.ts +36 -0
  184. package/dist/types/annotations/widesidebar.d.ts +81 -0
  185. package/dist/types/augmentation.d.ts +56 -0
  186. package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
  187. package/dist/types/comments/commentsarchive.d.ts +35 -0
  188. package/dist/types/comments/commentsarchiveui.d.ts +42 -0
  189. package/dist/types/comments/commentsediting.d.ts +84 -0
  190. package/dist/types/comments/commentsrepository.d.ts +1134 -0
  191. package/dist/types/comments/commentsui.d.ts +37 -0
  192. package/dist/types/comments/integrations/clipboard.d.ts +30 -0
  193. package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
  194. package/dist/types/comments/integrations/importword.d.ts +25 -0
  195. package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
  196. package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
  197. package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
  198. package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
  199. package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
  200. package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
  201. package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
  202. package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
  203. package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
  204. package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
  205. package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
  206. package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
  207. package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
  208. package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
  209. package/dist/types/comments/ui/view/commentview.d.ts +247 -0
  210. package/dist/types/comments.d.ts +39 -0
  211. package/dist/types/commentsonly.d.ts +37 -0
  212. package/dist/types/config.d.ts +202 -0
  213. package/dist/types/index.d.ts +28 -0
  214. package/dist/types/utils/common-translations.d.ts +13 -0
  215. package/dist/types/utils/createmutationobserver.d.ts +18 -0
  216. package/lang/translations/ti.po +120 -0
  217. package/package.json +4 -3
  218. package/src/annotations/annotation.js +1 -1
  219. package/src/annotations/annotationcollection.js +1 -1
  220. package/src/annotations/annotations.js +1 -1
  221. package/src/annotations/annotationsuis.js +1 -1
  222. package/src/annotations/editorannotations.js +1 -1
  223. package/src/annotations/inlineannotations.js +1 -1
  224. package/src/annotations/narrowsidebar.js +1 -1
  225. package/src/annotations/sidebar.js +1 -1
  226. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  227. package/src/annotations/view/annotationview.js +1 -1
  228. package/src/annotations/view/sidebaritemview.js +1 -1
  229. package/src/annotations/view/sidebarview.js +1 -1
  230. package/src/annotations/widesidebar.js +1 -1
  231. package/src/comments/addcommentthreadcommand.js +1 -1
  232. package/src/comments/commentsarchive.js +1 -1
  233. package/src/comments/commentsarchiveui.js +1 -1
  234. package/src/comments/commentsediting.js +1 -1
  235. package/src/comments/commentsrepository.d.ts +1 -1
  236. package/src/comments/commentsrepository.js +1 -1
  237. package/src/comments/commentsui.js +1 -1
  238. package/src/comments/integrations/clipboard.js +1 -1
  239. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  240. package/src/comments/integrations/importword.js +1 -1
  241. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  242. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  243. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  244. package/src/comments/ui/commentthreadcontroller.js +1 -1
  245. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  246. package/src/comments/ui/view/basecommentview.js +1 -1
  247. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  248. package/src/comments/ui/view/commentcontentview.js +1 -1
  249. package/src/comments/ui/view/commentinputview.js +1 -1
  250. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  251. package/src/comments/ui/view/commentslistview.js +1 -1
  252. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  253. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  254. package/src/comments/ui/view/commentthreadview.js +1 -1
  255. package/src/comments/ui/view/commentview.js +1 -1
  256. package/src/comments.js +1 -1
  257. package/src/commentsonly.js +1 -1
  258. package/src/index.js +1 -1
  259. package/src/utils/common-translations.js +1 -1
  260. package/src/utils/createmutationobserver.js +1 -1
  261. package/theme/annotation.css +13 -0
  262. package/theme/comment.css +4 -0
  263. package/theme/commentinput.css +4 -0
  264. package/theme/commentthread.css +8 -0
  265. package/theme/sidebar.css +8 -0
@@ -0,0 +1,202 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module comments/config
11
+ * @publicApi
12
+ */
13
+ import type { EditorConfig, PartialBy } from 'ckeditor5/src/core.js';
14
+ import type CommentView from './comments/ui/view/commentview.js';
15
+ import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview.js';
16
+ /**
17
+ * The configuration of the comments feature.
18
+ *
19
+ * ```ts
20
+ * ClassicEditor.create( {
21
+ * comments: ... // Comments feature configuration.
22
+ * } )
23
+ * .then( ... )
24
+ * .catch( ... );
25
+ * ```
26
+ *
27
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
28
+ */
29
+ export interface CommentsConfig {
30
+ /**
31
+ * Specifies whether comment markers should be preserved on copy-paste and cut-and-paste actions.
32
+ *
33
+ * The following values are available:
34
+ *
35
+ * * `'default'` - the comments will be preserved on cut-paste and drag and drop actions only.
36
+ * * `'always'` - the markers will be preserved on all clipboard actions (cut, copy, drag and drop).
37
+ * * `'never'` - the markers will be ignored by clipboard.
38
+ *
39
+ * Defaults to `'default'`.
40
+ */
41
+ copyMarkers?: CommentsClipboardCopyConfig;
42
+ /**
43
+ * The total number of comments shown when the thread view is collapsed.
44
+ *
45
+ * The comments are displayed in the following way:
46
+ *
47
+ * * The first comment is displayed.
48
+ * * Some comments may be hidden (collapsed).
49
+ * * An appropriate number of the most recent comments is displayed.
50
+ *
51
+ * For example, if this parameter is set to 3, when collapsed,
52
+ * the thread view will display the first comment and two most recent comments.
53
+ *
54
+ * Defaults to `2`.
55
+ */
56
+ maxCommentsWhenCollapsed?: number;
57
+ /**
58
+ * The maximum total weight of a thread before the thread becomes collapsed when it is not active:
59
+ *
60
+ * * Thread weight is a sum of the weight of its comments.
61
+ * * Comment weight is equal to the comment length.
62
+ * * The minimal comment weight is 200.
63
+ *
64
+ * Defaults to `500`.
65
+ */
66
+ maxThreadTotalWeight?: number;
67
+ /**
68
+ * The maximum number of characters displayed in a comment when the thread view is collapsed.
69
+ * Longer comments will be trimmed.
70
+ *
71
+ * Defaults to `140`.
72
+ */
73
+ maxCommentCharsWhenCollapsed?: number;
74
+ /**
75
+ * A view class to be used to create comment views.
76
+ *
77
+ * {@link module:comments/comments/ui/view/commentview~CommentView} is used by default when this property is not set.
78
+ */
79
+ CommentView?: typeof CommentView;
80
+ /**
81
+ * A view class to be used to create comment thread views
82
+ * (used as annotations - in sidebar balloons or in inline annotations).
83
+ *
84
+ * {@link module:comments/comments/ui/view/commentthreadview~CommentThreadView} is used by default
85
+ * when this property is not set.
86
+ */
87
+ CommentThreadView?: typeof BaseCommentThreadView;
88
+ /**
89
+ * Configuration for the comments editor.
90
+ *
91
+ * By using this property, you can customize the editor instance used in the comments
92
+ * reply field (e.g. by adding plugins or changing features configuration).
93
+ *
94
+ * To use the default configuration (allows only for text input, no formatting), you can pass `{}`
95
+ * to the comments editor configuration.
96
+ *
97
+ * ```ts
98
+ * ClassicEditor.create( element, {
99
+ * comments: {
100
+ * editorConfig: {}
101
+ * }
102
+ * } );
103
+ * ```
104
+ *
105
+ * To provide a better experience, you may add more plugins, that will extend the default editor configuration.
106
+ *
107
+ * ```ts
108
+ * import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat';
109
+ * import List from '@ckeditor/ckeditor5-list/src/list';
110
+ * import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
111
+ * import Italic from '@ckeditor/ckeditor5-italic/src/italic';
112
+ *
113
+ * ClassicEditor
114
+ * .create( {
115
+ * comments: {
116
+ * editorConfig: {
117
+ * extraPlugins: [ Autoformat, Bold, Italic, List ]
118
+ * }
119
+ * }
120
+ * } )
121
+ * ```
122
+ *
123
+ * Importing plugins may not be possible in some scenarios (e.g. when using a build created by the online builder tool).
124
+ * In that case, it is possible to get the plugin constructors from the editor builtin plugins.
125
+ *
126
+ * ```ts
127
+ * const extraCommentsPlugins = ClassicEditor.builtinPlugins.filter( plugin => {
128
+ * return [ 'Bold', 'Italic', Autoformat, List ].includes( plugin.pluginName );
129
+ * } );
130
+ *
131
+ *
132
+ * ClassicEditor
133
+ * .create( {
134
+ * comments: {
135
+ * editorConfig: {
136
+ * extraPlugins: extraCommentsPlugins
137
+ * }
138
+ * }
139
+ * } )
140
+ * .then( ... )
141
+ * .catch( ... );
142
+ * ```
143
+ */
144
+ editorConfig?: EditorConfig;
145
+ /**
146
+ * A function that takes a `Date` object, formats it to a desired string and returns it.
147
+ * It should be used when displaying the comment creation date.
148
+ */
149
+ formatDateTime?: (date: Date) => string;
150
+ }
151
+ /**
152
+ * The configuration of the sidebar feature.
153
+ *
154
+ * ```ts
155
+ * ClassicEditor
156
+ * .create( {
157
+ * sidebar: {
158
+ * // Sidebar feature configuration.
159
+ * }
160
+ * } )
161
+ * .then( ... )
162
+ * .catch( ... );
163
+ * ```
164
+ *
165
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor configuration options}.
166
+ */
167
+ export interface SidebarConfig {
168
+ /**
169
+ * DOM element into which the sidebar will be inserted.
170
+ */
171
+ container?: HTMLElement;
172
+ /**
173
+ * Changes how the annotations are positioned inside the sidebar.
174
+ *
175
+ * If set to `true`, the top annotation in the sidebar will never be scrolled
176
+ * above the top edge of the sidebar (which would make it hidden).
177
+ *
178
+ * On the other hand, with this setting enabled, if there is not enough space,
179
+ * annotations will not be positioned exactly next to their linked elements
180
+ * when selected.
181
+ *
182
+ * @default false
183
+ */
184
+ preventScrollOutOfView?: boolean;
185
+ }
186
+ export type CommentThreadConfig = PartialBy<Required<Omit<CommentsConfig, 'CommentThreadView'>>, 'copyMarkers'>;
187
+ export type CommentViewConfig = Required<Pick<CommentsConfig, 'maxCommentCharsWhenCollapsed' | 'formatDateTime' | 'editorConfig'>> & {
188
+ /**
189
+ * Defines whether the comment is created by the system.
190
+ */
191
+ isSystemComment?: boolean;
192
+ };
193
+ /**
194
+ * Specifies whether comment markers should be preserved on copy-paste and cut-paste actions.
195
+ *
196
+ * Following values are available:
197
+ *
198
+ * * `'default'` - the comments will be preserved on cut-paste and drag and drop actions only.
199
+ * * `'always'` - the markers will be preserved on all clipboard actions (cut, copy, drag and drop).
200
+ * * `'never'` - the markers will be ignored by clipboard.
201
+ */
202
+ export type CommentsClipboardCopyConfig = 'default' | 'always' | 'never';
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ export { default as Comments } from './comments.js';
10
+ export { default as CommentsOnly } from './commentsonly.js';
11
+ export { default as CommentsUI } from './comments/commentsui.js';
12
+ export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON } from './comments/commentsrepository.js';
13
+ export { default as CommentThreadController } from './comments/ui/commentthreadcontroller.js';
14
+ export { default as Annotations } from './annotations/annotations.js';
15
+ export { default as AnnotationsUIs } from './annotations/annotationsuis.js';
16
+ export { default as EditorAnnotations } from './annotations/editorannotations.js';
17
+ export { default as InlineAnnotations } from './annotations/inlineannotations.js';
18
+ export { default as WideSidebar } from './annotations/widesidebar.js';
19
+ export { default as NarrowSidebar } from './annotations/narrowsidebar.js';
20
+ export { default as AnnotationView } from './annotations/view/annotationview.js';
21
+ export { default as BaseCommentView } from './comments/ui/view/basecommentview.js';
22
+ export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
23
+ export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
24
+ export { default as CommentView } from './comments/ui/view/commentview.js';
25
+ export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
26
+ export type { CommentsConfig, SidebarConfig, CommentsClipboardCopyConfig } from './config.js';
27
+ export type { default as CommentsEditing } from './comments/commentsediting.js';
28
+ import './augmentation.js';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module comments/utils/common-translations
11
+ */
12
+ import type { Locale } from 'ckeditor5/src/utils.js';
13
+ export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string> | number): string;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * Creates mutation observer to observe changes that might cause height change.
11
+ *
12
+ * @param callback Callback executed after throttled mutations.
13
+ */
14
+ export default function createMutationObserver(callback: (...args: Array<any>) => unknown): MutationObserver;
15
+ export interface MutationObserver {
16
+ attach: (element: Node) => void;
17
+ detach: () => void;
18
+ }
@@ -0,0 +1,120 @@
1
+ # Copyright (c) 2003-2024, 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: Tigrinya (https://app.transifex.com/ckeditor/teams/11143/ti/)\n"
16
+ "Language: ti\n"
17
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "The label for the comment editor."
21
+ msgid "Comment editor"
22
+ msgstr ""
23
+
24
+ msgctxt "The label for the number of comments."
25
+ msgid "NUMBER_OF_COMMENTS"
26
+ msgid_plural "%0 Comments"
27
+ msgstr[0] ""
28
+ msgstr[1] ""
29
+
30
+ msgctxt "The alert displayed for a comment that is too long."
31
+ msgid "TOO_LONG_COMMENT_ALERT"
32
+ msgstr ""
33
+
34
+ msgctxt "The placeholder for the reply field."
35
+ msgid "Reply..."
36
+ msgstr ""
37
+
38
+ msgctxt "The placeholder for the reply field when the comment thread is resolved."
39
+ msgid "Reply to reopen discussion..."
40
+ msgstr ""
41
+
42
+ msgctxt "The placeholder for the new commend field."
43
+ msgid "Write a comment..."
44
+ msgstr ""
45
+
46
+ msgctxt "The information that comment was made on element and has no context"
47
+ msgid "Comment was made on an element"
48
+ msgstr ""
49
+
50
+ msgctxt "The label for the button that enables editing a comment."
51
+ msgid "Edit"
52
+ msgstr "ኣርም"
53
+
54
+ msgctxt "The label for the button that resolves a comment thread."
55
+ msgid "Resolve"
56
+ msgstr ""
57
+
58
+ msgctxt "The label for the button that reopens a resolved comment thread."
59
+ msgid "Reopen"
60
+ msgstr ""
61
+
62
+ msgctxt "The label for the button that deletes a comment."
63
+ msgid "Remove"
64
+ msgstr ""
65
+
66
+ msgctxt "The label for for the button that adds a reply to a comment thread."
67
+ msgid "Reply"
68
+ msgstr ""
69
+
70
+ msgctxt "The confirmation message shown after pressing the delete comment button."
71
+ msgid "Delete comment?"
72
+ msgstr ""
73
+
74
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
75
+ msgid "Delete comment thread?"
76
+ msgstr ""
77
+
78
+ msgctxt "A message informing that the comment has been resolved"
79
+ msgid "Marked as resolved"
80
+ msgstr ""
81
+
82
+ msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
83
+ msgid "Comment"
84
+ msgstr ""
85
+
86
+ msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
87
+ msgid "ENTER_COMMENT_ANNOUNCEMENT"
88
+ msgstr ""
89
+
90
+ msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
91
+ msgid "LEAVE_COMMENT_ANNOUNCEMENT"
92
+ msgstr ""
93
+
94
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
95
+ msgid "PENDING_ACTION_COMMENT_THREAD"
96
+ msgstr ""
97
+
98
+ msgctxt "The additional information that comments comes from external source."
99
+ msgid "EXTERNAL_COMMENT"
100
+ msgstr ""
101
+
102
+ msgctxt "The additional information that comments comes from imported Word file."
103
+ msgid "EXTERNAL_IMPORT_WORD_COMMENT"
104
+ msgstr ""
105
+
106
+ msgctxt "The additional information that displayed author name comes from an external source."
107
+ msgid "EXTERNAL_AVATAR"
108
+ msgstr ""
109
+
110
+ msgctxt "The additional information that displayed author name comes from imported Word file."
111
+ msgid "EXTERNAL_IMPORT_WORD_AVATAR"
112
+ msgstr ""
113
+
114
+ msgctxt "The label for the comments archive dropdown UI."
115
+ msgid "COMMENTS_ARCHIVE"
116
+ msgstr ""
117
+
118
+ msgctxt "The information that comments archive is empty."
119
+ msgid "EMPTY_COMMENTS_ARCHIVE"
120
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "41.3.1",
3
+ "version": "41.4.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/)",
@@ -36,6 +36,7 @@
36
36
  "main": "src/index.js",
37
37
  "files": [
38
38
  "build",
39
+ "dist",
39
40
  "lang",
40
41
  "src/**/*.js",
41
42
  "src/**/*.d.ts",
@@ -44,8 +45,8 @@
44
45
  "CHANGELOG.md"
45
46
  ],
46
47
  "dependencies": {
47
- "ckeditor5": "41.3.1",
48
- "ckeditor5-collaboration": "41.3.1",
48
+ "ckeditor5": "41.4.0",
49
+ "ckeditor5-collaboration": "41.4.0",
49
50
  "lodash-es": "4.17.21"
50
51
  },
51
52
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23a009=_0x1769;(function(_0x3889c5,_0x303d93){const _0x1646c0=_0x1769,_0x5770c3=_0x3889c5();while(!![]){try{const _0x5980fd=-parseInt(_0x1646c0(0x1b7))/0x1+parseInt(_0x1646c0(0x1cf))/0x2+parseInt(_0x1646c0(0x1c0))/0x3+-parseInt(_0x1646c0(0x1c9))/0x4*(-parseInt(_0x1646c0(0x1c5))/0x5)+parseInt(_0x1646c0(0x1ae))/0x6+parseInt(_0x1646c0(0x1aa))/0x7+-parseInt(_0x1646c0(0x1cd))/0x8;if(_0x5980fd===_0x303d93)break;else _0x5770c3['push'](_0x5770c3['shift']());}catch(_0x29a9dc){_0x5770c3['push'](_0x5770c3['shift']());}}}(_0x38e3,0xa73ff));import{CKEditorError as _0xc90e58,Rect as _0x358fd6,Collection as _0x457b07,ObservableMixin as _0x2396d2}from'ckeditor5/src/utils.js';function _0x1769(_0x25d0d0,_0x21678a){const _0x38e3f6=_0x38e3();return _0x1769=function(_0x17698d,_0x291a52){_0x17698d=_0x17698d-0x1a9;let _0x58109a=_0x38e3f6[_0x17698d];return _0x58109a;},_0x1769(_0x25d0d0,_0x21678a);}export default class d extends _0x2396d2(){constructor({view:_0x2151d5,target:_0x3bb41b,type:_0x128307,isVisible:_0x33c67c=!0x0}){const _0x5d77ac=_0x1769;super(),this[_0x5d77ac(0x1b4)]=_0x2151d5,this[_0x5d77ac(0x1b4)][_0x5d77ac(0x1b6)]||this[_0x5d77ac(0x1b4)][_0x5d77ac(0x1c2)](),this[_0x5d77ac(0x1ac)]=_0x128307,this[_0x5d77ac(0x1b1)]=_0x3bb41b,d[_0x5d77ac(0x1c4)](this[_0x5d77ac(0x1c8)]()),this[_0x5d77ac(0x1ca)]=new _0x457b07([this[_0x5d77ac(0x1b4)][_0x5d77ac(0x1b6)]],{'idProperty':_0x5d77ac(0x1ab)}),this[_0x5d77ac(0x1ca)]['on'](_0x5d77ac(0x1c6),(_0x5c018d,_0x565b1e)=>{const _0x4c06cc=_0x5d77ac;this[_0x4c06cc(0x1b4)][_0x4c06cc(0x1be)][_0x4c06cc(0x1c6)](_0x565b1e);}),this[_0x5d77ac(0x1ca)]['on'](_0x5d77ac(0x1af),(_0x21e95f,_0x4db179)=>{const _0x5db3ce=_0x5d77ac;this[_0x5db3ce(0x1b4)][_0x5db3ce(0x1be)][_0x5db3ce(0x1af)](_0x4db179);}),this[_0x5d77ac(0x1c3)](_0x5d77ac(0x1d0),_0x33c67c);}get[_0x23a009(0x1cc)](){const _0x3c0b24=_0x23a009;return _0x3c0b24(0x1a9)==typeof this[_0x3c0b24(0x1ac)]?this[_0x3c0b24(0x1ac)]():this[_0x3c0b24(0x1ac)];}get[_0x23a009(0x1ad)](){const _0x7dbc45=_0x23a009;return this[_0x7dbc45(0x1b4)][_0x7dbc45(0x1d2)];}get[_0x23a009(0x1bf)](){const _0xfdeddc=_0x23a009,_0x293761=this[_0xfdeddc(0x1c8)]();return d[_0xfdeddc(0x1c4)](_0x293761),_0x293761;}get[_0x23a009(0x1b0)](){const _0x3f8a8d=_0x23a009,_0x5840d8=this[_0x3f8a8d(0x1bf)];if(null===_0x5840d8)return null;if(_0x5840d8 instanceof _0x358fd6)return _0x5840d8;const _0x41ac0d=_0x5840d8[_0x3f8a8d(0x1c7)](_0x1b078a=>function(_0x5584d3){const _0x2c9efb=_0x3f8a8d,_0x4305b8=_0x5584d3[_0x2c9efb(0x1d3)];if(_0x4305b8)return!0x0;const _0x459c59=_0x5584d3[_0x2c9efb(0x1b9)]()[_0x2c9efb(0x1ce)](0x0);return!!_0x459c59;}(_0x1b078a));return 0x0===_0x41ac0d[_0x3f8a8d(0x1b2)]?null:new _0x358fd6(_0x41ac0d[0x0][_0x3f8a8d(0x1b9)]()[_0x3f8a8d(0x1ce)](0x0));}get[_0x23a009(0x1b5)](){const _0x27fcad=_0x23a009;return this[_0x27fcad(0x1b4)][_0x27fcad(0x1b5)];}set[_0x23a009(0x1b5)](_0x5c0bd6){const _0x40fcc7=_0x23a009;this[_0x40fcc7(0x1b4)][_0x40fcc7(0x1b5)]=_0x5c0bd6,this[_0x40fcc7(0x1b4)][_0x40fcc7(0x1d2)][_0x40fcc7(0x1b5)]=_0x5c0bd6;}[_0x23a009(0x1c1)](){const _0x2f2aa7=_0x23a009;this[_0x2f2aa7(0x1b4)][_0x2f2aa7(0x1b0)]=this[_0x2f2aa7(0x1b0)];}[_0x23a009(0x1ba)](){const _0x3f6a5a=_0x23a009;this[_0x3f6a5a(0x1ca)][_0x3f6a5a(0x1d1)](),this[_0x3f6a5a(0x1ca)][_0x3f6a5a(0x1cb)](),this[_0x3f6a5a(0x1d1)]();}[_0x23a009(0x1d4)](){const _0x154033=_0x23a009;this[_0x154033(0x1d0)]=!!this[_0x154033(0x1b0)];}static[_0x23a009(0x1c4)](_0x3ef91d){const _0x4020b1=_0x23a009;if(!(null===_0x3ef91d||_0x3ef91d instanceof _0x358fd6||Array[_0x4020b1(0x1b3)](_0x3ef91d)&&_0x3ef91d[_0x4020b1(0x1bc)](_0x2c368c=>y(_0x2c368c))))throw new _0xc90e58(_0x4020b1(0x1b8),null,{'target':_0x3ef91d});}[_0x23a009(0x1c8)](){const _0x4a9689=_0x23a009,_0x1208ec=_0x4a9689(0x1a9)==typeof this[_0x4a9689(0x1b1)]?this[_0x4a9689(0x1b1)]():this[_0x4a9689(0x1b1)];return y(_0x1208ec)?[_0x1208ec]:_0x1208ec;}}function _0x38e3(){const _0xe1870a=['_id','_type','innerView','713796UIfPAS','remove','targetRect','_target','length','isArray','view','isActive','element','970367YfbgJy','annotation-invalid-target','getClientRects','destroy','object','every','nodeType','focusTracker','target','2662545HovjdK','updateTargetRect','render','set','_assertCorrectTarget','155tzwhvR','add','filter','_getNormalizedTarget','121468sCQBOH','focusableElements','clear','type','18873472ZqgXnf','item','2181934qjTmYP','isVisible','stopListening','mainView','offsetParent','refreshVisibility','function','6830467QwEKHh'];_0x38e3=function(){return _0xe1870a;};return _0x38e3();}function y(_0x115e7e){const _0x3667a1=_0x23a009;return null!==_0x115e7e&&_0x3667a1(0x1bb)==typeof _0x115e7e&&_0x3667a1(0x1bd)in _0x115e7e&&0x1===_0x115e7e[_0x3667a1(0x1bd)];}
23
+ const _0x461138=_0x3ce0;function _0x3ce0(_0x3efce1,_0x4b6c6a){const _0x332db8=_0x332d();return _0x3ce0=function(_0x3ce0d8,_0x4e03d1){_0x3ce0d8=_0x3ce0d8-0x153;let _0x51a06e=_0x332db8[_0x3ce0d8];return _0x51a06e;},_0x3ce0(_0x3efce1,_0x4b6c6a);}(function(_0x4a4890,_0x2d18a0){const _0x106d6b=_0x3ce0,_0x125166=_0x4a4890();while(!![]){try{const _0xdee600=parseInt(_0x106d6b(0x163))/0x1+parseInt(_0x106d6b(0x16f))/0x2*(-parseInt(_0x106d6b(0x173))/0x3)+-parseInt(_0x106d6b(0x181))/0x4*(-parseInt(_0x106d6b(0x175))/0x5)+parseInt(_0x106d6b(0x17c))/0x6*(-parseInt(_0x106d6b(0x154))/0x7)+parseInt(_0x106d6b(0x15b))/0x8*(-parseInt(_0x106d6b(0x17d))/0x9)+-parseInt(_0x106d6b(0x158))/0xa+parseInt(_0x106d6b(0x162))/0xb;if(_0xdee600===_0x2d18a0)break;else _0x125166['push'](_0x125166['shift']());}catch(_0x344fa2){_0x125166['push'](_0x125166['shift']());}}}(_0x332d,0x98e97));import{CKEditorError as _0x1aa2c8,Rect as _0x3c33aa,Collection as _0x44e7f0,ObservableMixin as _0x573360}from'ckeditor5/src/utils.js';function _0x332d(){const _0x3d4c0f=['refreshVisibility','2075870zPPmsy','offsetParent','annotation-invalid-target','264CPOZmJ','set','filter','element','item','stopListening','getClientRects','13816583VlqysQ','942007SBzuHX','_getNormalizedTarget','clear','_type','type','isVisible','remove','_target','nodeType','destroy','target','isArray','658Igmioe','render','every','add','7455vCMDKE','length','3055kETPVB','function','focusTracker','focusableElements','updateTargetRect','view','targetRect','6OpMqgi','66474hDvJBn','isActive','object','innerView','4588XVRJQO','_id','7025620hbyqCd','_assertCorrectTarget','mainView'];_0x332d=function(){return _0x3d4c0f;};return _0x332d();}export default class d extends _0x573360(){constructor({view:_0x16d77f,target:_0x1ac623,type:_0x18a867,isVisible:_0x56b923=!0x0}){const _0x2aadd2=_0x3ce0;super(),this[_0x2aadd2(0x17a)]=_0x16d77f,this[_0x2aadd2(0x17a)][_0x2aadd2(0x15e)]||this[_0x2aadd2(0x17a)][_0x2aadd2(0x170)](),this[_0x2aadd2(0x166)]=_0x18a867,this[_0x2aadd2(0x16a)]=_0x1ac623,d[_0x2aadd2(0x155)](this[_0x2aadd2(0x164)]()),this[_0x2aadd2(0x178)]=new _0x44e7f0([this[_0x2aadd2(0x17a)][_0x2aadd2(0x15e)]],{'idProperty':_0x2aadd2(0x153)}),this[_0x2aadd2(0x178)]['on'](_0x2aadd2(0x172),(_0x23ef00,_0x5b554b)=>{const _0x2157bb=_0x2aadd2;this[_0x2157bb(0x17a)][_0x2157bb(0x177)][_0x2157bb(0x172)](_0x5b554b);}),this[_0x2aadd2(0x178)]['on'](_0x2aadd2(0x169),(_0x558cfd,_0x396025)=>{const _0x26e8b7=_0x2aadd2;this[_0x26e8b7(0x17a)][_0x26e8b7(0x177)][_0x26e8b7(0x169)](_0x396025);}),this[_0x2aadd2(0x15c)](_0x2aadd2(0x168),_0x56b923);}get[_0x461138(0x167)](){const _0x546b38=_0x461138;return _0x546b38(0x176)==typeof this[_0x546b38(0x166)]?this[_0x546b38(0x166)]():this[_0x546b38(0x166)];}get[_0x461138(0x180)](){const _0xc691a6=_0x461138;return this[_0xc691a6(0x17a)][_0xc691a6(0x156)];}get[_0x461138(0x16d)](){const _0x4c8e47=_0x461138,_0xaaf930=this[_0x4c8e47(0x164)]();return d[_0x4c8e47(0x155)](_0xaaf930),_0xaaf930;}get[_0x461138(0x17b)](){const _0x5283eb=_0x461138,_0x5ea60d=this[_0x5283eb(0x16d)];if(null===_0x5ea60d)return null;if(_0x5ea60d instanceof _0x3c33aa)return _0x5ea60d;const _0x70189a=_0x5ea60d[_0x5283eb(0x15d)](_0x4881d9=>function(_0x5a7439){const _0x3100ad=_0x5283eb,_0x226bac=_0x5a7439[_0x3100ad(0x159)];if(_0x226bac)return!0x0;const _0xfccd7b=_0x5a7439[_0x3100ad(0x161)]()[_0x3100ad(0x15f)](0x0);return!!_0xfccd7b;}(_0x4881d9));return 0x0===_0x70189a[_0x5283eb(0x174)]?null:new _0x3c33aa(_0x70189a[0x0][_0x5283eb(0x161)]()[_0x5283eb(0x15f)](0x0));}get[_0x461138(0x17e)](){const _0x12ae05=_0x461138;return this[_0x12ae05(0x17a)][_0x12ae05(0x17e)];}set[_0x461138(0x17e)](_0x5ebec1){const _0x5d37f1=_0x461138;this[_0x5d37f1(0x17a)][_0x5d37f1(0x17e)]=_0x5ebec1,this[_0x5d37f1(0x17a)][_0x5d37f1(0x156)][_0x5d37f1(0x17e)]=_0x5ebec1;}[_0x461138(0x179)](){const _0x5a613e=_0x461138;this[_0x5a613e(0x17a)][_0x5a613e(0x17b)]=this[_0x5a613e(0x17b)];}[_0x461138(0x16c)](){const _0x3f202f=_0x461138;this[_0x3f202f(0x178)][_0x3f202f(0x160)](),this[_0x3f202f(0x178)][_0x3f202f(0x165)](),this[_0x3f202f(0x160)]();}[_0x461138(0x157)](){const _0x28fa99=_0x461138;this[_0x28fa99(0x168)]=!!this[_0x28fa99(0x17b)];}static[_0x461138(0x155)](_0x2f86e9){const _0x3fabc5=_0x461138;if(!(null===_0x2f86e9||_0x2f86e9 instanceof _0x3c33aa||Array[_0x3fabc5(0x16e)](_0x2f86e9)&&_0x2f86e9[_0x3fabc5(0x171)](_0x6b7eff=>y(_0x6b7eff))))throw new _0x1aa2c8(_0x3fabc5(0x15a),null,{'target':_0x2f86e9});}[_0x461138(0x164)](){const _0x30a630=_0x461138,_0xb47a99=_0x30a630(0x176)==typeof this[_0x30a630(0x16a)]?this[_0x30a630(0x16a)]():this[_0x30a630(0x16a)];return y(_0xb47a99)?[_0xb47a99]:_0xb47a99;}}function y(_0x1048b8){const _0x11543d=_0x461138;return null!==_0x1048b8&&_0x11543d(0x17f)==typeof _0x1048b8&&_0x11543d(0x16b)in _0x1048b8&&0x1===_0x1048b8[_0x11543d(0x16b)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55cc76=_0x3d62;(function(_0x49226e,_0x25f925){const _0x34ab1c=_0x3d62,_0x1c28d4=_0x49226e();while(!![]){try{const _0x459027=-parseInt(_0x34ab1c(0x1a7))/0x1+-parseInt(_0x34ab1c(0x1ac))/0x2*(-parseInt(_0x34ab1c(0x1a2))/0x3)+parseInt(_0x34ab1c(0x195))/0x4+parseInt(_0x34ab1c(0x19d))/0x5+-parseInt(_0x34ab1c(0x191))/0x6+parseInt(_0x34ab1c(0x1a6))/0x7+-parseInt(_0x34ab1c(0x1b8))/0x8;if(_0x459027===_0x25f925)break;else _0x1c28d4['push'](_0x1c28d4['shift']());}catch(_0x26fd32){_0x1c28d4['push'](_0x1c28d4['shift']());}}}(_0x35a6,0x52611));function _0x35a6(){const _0xdcda51=['sort','innerView','6608040hTACLc','_sort','refreshPositioning','isFocused','stopListening','remove','660918qtLNPQ','blur','from','updateTargetRect','1852704iZLDnx','set','focus','getByInnerView','left','targetRect','length','top','1376295CISWij','_getOrderInContent','annotationcollection-duplicated-item','getByView','_innerViewToAnnotation','1884TGtDFN','annotationcollection-not-existing-item','_viewToAnnotation','_focusTracker','2487877hTtGPd','280587oWGLOa','has','fire','focusTracker','change:isFocused','1466zRfDlI','get','add','delete','destroy','clear','focusableElements','view','listenTo','getIndex'];_0x35a6=function(){return _0xdcda51;};return _0x35a6();}import{CKEditorError as _0x48387c,Collection as _0x41747f,FocusTracker as _0x1730ee}from'ckeditor5/src/utils.js';function _0x3d62(_0xa1784d,_0x3fdf51){const _0x35a663=_0x35a6();return _0x3d62=function(_0x3d62c7,_0x963b52){_0x3d62c7=_0x3d62c7-0x18f;let _0x5c73a0=_0x35a663[_0x3d62c7];return _0x5c73a0;},_0x3d62(_0xa1784d,_0x3fdf51);}export default class x extends _0x41747f{constructor(_0x3d2574=[]){const _0x1414ed=_0x3d62;super(),this[_0x1414ed(0x1a1)]=new Map(),this[_0x1414ed(0x1a4)]=new Map(),this[_0x1414ed(0x1a5)]=new _0x1730ee(),this[_0x1414ed(0x1a5)]['on'](_0x1414ed(0x1ab),(_0x126627,_0x2cc233,_0xbdd38e)=>{const _0x4224c0=_0x1414ed;_0xbdd38e||this[_0x4224c0(0x1a9)](_0x4224c0(0x192));});for(const _0x39a5d4 of _0x3d2574)this[_0x1414ed(0x1ae)](_0x39a5d4);}get[_0x55cc76(0x1bb)](){const _0x37106a=_0x55cc76;return this[_0x37106a(0x1a5)][_0x37106a(0x1bb)];}[_0x55cc76(0x1ae)](_0x5d618e){const _0x1d9814=_0x55cc76;if(this[_0x1d9814(0x1a8)](_0x5d618e))throw new _0x48387c(_0x1d9814(0x19f),null);this[_0x1d9814(0x1a1)][_0x1d9814(0x196)](_0x5d618e[_0x1d9814(0x1b7)],_0x5d618e),this[_0x1d9814(0x1a4)][_0x1d9814(0x196)](_0x5d618e[_0x1d9814(0x1b3)],_0x5d618e);for(const _0x820b13 of _0x5d618e[_0x1d9814(0x1b2)])this[_0x1d9814(0x1a5)][_0x1d9814(0x1ae)](_0x820b13);this[_0x1d9814(0x1b4)](_0x5d618e[_0x1d9814(0x1b2)],_0x1d9814(0x1ae),(_0x1e58de,_0x54b259)=>{const _0x4042ed=_0x1d9814;this[_0x4042ed(0x1a5)][_0x4042ed(0x1ae)](_0x54b259);}),this[_0x1d9814(0x1b4)](_0x5d618e[_0x1d9814(0x1b2)],_0x1d9814(0x190),(_0x2733a5,_0x2fc931)=>{const _0x1a67cc=_0x1d9814;this[_0x1a67cc(0x1a5)][_0x1a67cc(0x190)](_0x2fc931);}),this[_0x1d9814(0x1b4)](_0x5d618e[_0x1d9814(0x1b3)][_0x1d9814(0x1aa)],_0x1d9814(0x1ab),(_0x4469eb,_0x5a0985,_0x35716e)=>{const _0xe4501e=_0x1d9814;_0x35716e&&this[_0xe4501e(0x1a9)](_0xe4501e(0x197),_0x5d618e);}),_0x5d618e[_0x1d9814(0x194)]();const _0x1b2278=this[_0x1d9814(0x19e)](_0x5d618e[_0x1d9814(0x1b3)][_0x1d9814(0x19a)]);return super[_0x1d9814(0x1ae)](_0x5d618e,_0x1b2278);}[_0x55cc76(0x190)](_0x5d35e5){const _0x3834dc=_0x55cc76;if(!this[_0x3834dc(0x1a8)](_0x5d35e5))throw new _0x48387c(_0x3834dc(0x1a3),null);this[_0x3834dc(0x18f)](_0x5d35e5[_0x3834dc(0x1b3)][_0x3834dc(0x1aa)]),this[_0x3834dc(0x18f)](_0x5d35e5[_0x3834dc(0x1b2)]);for(const _0x381d29 of _0x5d35e5[_0x3834dc(0x1b2)])this[_0x3834dc(0x1a5)][_0x3834dc(0x190)](_0x381d29);return this[_0x3834dc(0x1a4)][_0x3834dc(0x1af)](_0x5d35e5[_0x3834dc(0x1b3)]),this[_0x3834dc(0x1a1)][_0x3834dc(0x1af)](_0x5d35e5[_0x3834dc(0x1b7)]),super[_0x3834dc(0x190)](_0x5d35e5);}[_0x55cc76(0x198)](_0x39ad2b){const _0x333233=_0x55cc76;return this[_0x333233(0x1a1)][_0x333233(0x1ad)](_0x39ad2b);}[_0x55cc76(0x1a0)](_0x1eda7f){const _0x58d5cf=_0x55cc76;return this[_0x58d5cf(0x1a4)][_0x58d5cf(0x1ad)](_0x1eda7f);}[_0x55cc76(0x1b0)](){const _0x4de23f=_0x55cc76;super[_0x4de23f(0x1b1)](),this[_0x4de23f(0x18f)](),this[_0x4de23f(0x1a1)][_0x4de23f(0x1b1)](),this[_0x4de23f(0x1a4)][_0x4de23f(0x1b1)](),this[_0x4de23f(0x1a5)][_0x4de23f(0x1b0)]();}[_0x55cc76(0x1ba)](){const _0x102c1e=_0x55cc76;for(const _0x57aaf1 of this)_0x57aaf1[_0x102c1e(0x194)]();this[_0x102c1e(0x1b9)]();}[_0x55cc76(0x1b9)](){const _0x3b4bdd=_0x55cc76,_0x40d483=Array[_0x3b4bdd(0x193)](this)[_0x3b4bdd(0x1b6)]((_0x3d6060,_0x5a5c17)=>v(_0x3d6060[_0x3b4bdd(0x1b3)][_0x3b4bdd(0x19a)],_0x5a5c17[_0x3b4bdd(0x1b3)][_0x3b4bdd(0x19a)]));for(let _0x42f848=_0x40d483[_0x3b4bdd(0x19b)]-0x1;_0x42f848>0x0;_0x42f848--){const _0x27c718=_0x40d483[_0x42f848];_0x42f848!==this[_0x3b4bdd(0x1b5)](_0x27c718)&&(this[_0x3b4bdd(0x190)](_0x27c718),this[_0x3b4bdd(0x1ae)](_0x27c718));}}[_0x55cc76(0x19e)](_0x5f2cf1){const _0x3298d7=_0x55cc76;let _0x32bbba=0x0;if(!_0x5f2cf1)return this[_0x3298d7(0x19b)];for(const _0x182e77 of this){const _0x259eb8=_0x182e77[_0x3298d7(0x1b3)][_0x3298d7(0x19a)];if(_0x259eb8){if(v(_0x5f2cf1,_0x259eb8)<0x0)return _0x32bbba;_0x32bbba++;}}return _0x32bbba;}}export function bindAnnotationCollections({source:_0x32d1ab,target:_0x349dcf,filter:_0x3bccfe}){const _0x2e480f=_0x55cc76;for(const _0x421d69 of _0x32d1ab)_0x3bccfe(_0x421d69)&&_0x349dcf[_0x2e480f(0x1ae)](_0x421d69);_0x349dcf[_0x2e480f(0x1b4)](_0x32d1ab,_0x2e480f(0x1ae),(_0x4d2e79,_0x99d7f9)=>{const _0x634bce=_0x2e480f;_0x3bccfe(_0x99d7f9)&&_0x349dcf[_0x634bce(0x1ae)](_0x99d7f9);}),_0x349dcf[_0x2e480f(0x1b4)](_0x32d1ab,_0x2e480f(0x190),(_0x502341,_0xee9da4)=>{const _0x32c61d=_0x2e480f;_0x349dcf[_0x32c61d(0x1a8)](_0xee9da4)&&_0x349dcf[_0x32c61d(0x190)](_0xee9da4);});}function v(_0x2b8d79,_0x582476){const _0xd5f4eb=_0x55cc76;if(null===_0x2b8d79&&null===_0x582476)return 0x0;if(null===_0x2b8d79)return-0x1;if(null===_0x582476)return 0x1;const _0x1728c5=_0x2b8d79[_0xd5f4eb(0x19c)]-_0x582476[_0xd5f4eb(0x19c)];return 0x0==_0x1728c5?_0x2b8d79[_0xd5f4eb(0x199)]-_0x582476[_0xd5f4eb(0x199)]:_0x1728c5;}
23
+ function _0x1adb(_0x27fa06,_0x893b5b){const _0x1c4eda=_0x1c4e();return _0x1adb=function(_0x1adb4f,_0x458ede){_0x1adb4f=_0x1adb4f-0x192;let _0x183ac8=_0x1c4eda[_0x1adb4f];return _0x183ac8;},_0x1adb(_0x27fa06,_0x893b5b);}const _0x53bbde=_0x1adb;(function(_0x1543eb,_0x314866){const _0x544bcd=_0x1adb,_0x4407b3=_0x1543eb();while(!![]){try{const _0x5d3cc0=-parseInt(_0x544bcd(0x1a4))/0x1+parseInt(_0x544bcd(0x1c0))/0x2*(parseInt(_0x544bcd(0x1c1))/0x3)+-parseInt(_0x544bcd(0x196))/0x4+-parseInt(_0x544bcd(0x1ad))/0x5*(parseInt(_0x544bcd(0x1bf))/0x6)+parseInt(_0x544bcd(0x1b0))/0x7*(parseInt(_0x544bcd(0x19c))/0x8)+parseInt(_0x544bcd(0x1b7))/0x9+-parseInt(_0x544bcd(0x1af))/0xa*(parseInt(_0x544bcd(0x1bc))/0xb);if(_0x5d3cc0===_0x314866)break;else _0x4407b3['push'](_0x4407b3['shift']());}catch(_0x5130c6){_0x4407b3['push'](_0x4407b3['shift']());}}}(_0x1c4e,0x6f04b));import{CKEditorError as _0x51c76d,Collection as _0x357640,FocusTracker as _0x43b713}from'ckeditor5/src/utils.js';export default class x extends _0x357640{constructor(_0x4a6417=[]){const _0x1cf67e=_0x1adb;super(),this[_0x1cf67e(0x1b5)]=new Map(),this[_0x1cf67e(0x1a7)]=new Map(),this[_0x1cf67e(0x1b6)]=new _0x43b713(),this[_0x1cf67e(0x1b6)]['on'](_0x1cf67e(0x1ac),(_0x1827e6,_0x1d85b7,_0x1e68a6)=>{const _0x3e6d40=_0x1cf67e;_0x1e68a6||this[_0x3e6d40(0x198)](_0x3e6d40(0x1b1));});for(const _0x3030c1 of _0x4a6417)this[_0x1cf67e(0x197)](_0x3030c1);}get[_0x53bbde(0x19d)](){const _0x16df93=_0x53bbde;return this[_0x16df93(0x1b6)][_0x16df93(0x19d)];}[_0x53bbde(0x197)](_0x1d5093){const _0x347a8f=_0x53bbde;if(this[_0x347a8f(0x1a1)](_0x1d5093))throw new _0x51c76d(_0x347a8f(0x1ae),null);this[_0x347a8f(0x1b5)][_0x347a8f(0x199)](_0x1d5093[_0x347a8f(0x1a8)],_0x1d5093),this[_0x347a8f(0x1a7)][_0x347a8f(0x199)](_0x1d5093[_0x347a8f(0x1b3)],_0x1d5093);for(const _0x138cb8 of _0x1d5093[_0x347a8f(0x1ab)])this[_0x347a8f(0x1b6)][_0x347a8f(0x197)](_0x138cb8);this[_0x347a8f(0x1a0)](_0x1d5093[_0x347a8f(0x1ab)],_0x347a8f(0x197),(_0x1328c1,_0x139bcd)=>{const _0xa1d0d0=_0x347a8f;this[_0xa1d0d0(0x1b6)][_0xa1d0d0(0x197)](_0x139bcd);}),this[_0x347a8f(0x1a0)](_0x1d5093[_0x347a8f(0x1ab)],_0x347a8f(0x1ba),(_0x3b6431,_0x264298)=>{const _0x84dc66=_0x347a8f;this[_0x84dc66(0x1b6)][_0x84dc66(0x1ba)](_0x264298);}),this[_0x347a8f(0x1a0)](_0x1d5093[_0x347a8f(0x1b3)][_0x347a8f(0x1a2)],_0x347a8f(0x1ac),(_0x4aa14b,_0x576270,_0x24d679)=>{const _0x4f3a83=_0x347a8f;_0x24d679&&this[_0x4f3a83(0x198)](_0x4f3a83(0x19b),_0x1d5093);}),_0x1d5093[_0x347a8f(0x1b2)]();const _0xe0cb79=this[_0x347a8f(0x194)](_0x1d5093[_0x347a8f(0x1b3)][_0x347a8f(0x1b8)]);return super[_0x347a8f(0x197)](_0x1d5093,_0xe0cb79);}[_0x53bbde(0x1ba)](_0x3a36f8){const _0x317c28=_0x53bbde;if(!this[_0x317c28(0x1a1)](_0x3a36f8))throw new _0x51c76d(_0x317c28(0x1b4),null);this[_0x317c28(0x19f)](_0x3a36f8[_0x317c28(0x1b3)][_0x317c28(0x1a2)]),this[_0x317c28(0x19f)](_0x3a36f8[_0x317c28(0x1ab)]);for(const _0x31490c of _0x3a36f8[_0x317c28(0x1ab)])this[_0x317c28(0x1b6)][_0x317c28(0x1ba)](_0x31490c);return this[_0x317c28(0x1a7)][_0x317c28(0x1be)](_0x3a36f8[_0x317c28(0x1b3)]),this[_0x317c28(0x1b5)][_0x317c28(0x1be)](_0x3a36f8[_0x317c28(0x1a8)]),super[_0x317c28(0x1ba)](_0x3a36f8);}[_0x53bbde(0x1a6)](_0x100e2e){const _0x403dbe=_0x53bbde;return this[_0x403dbe(0x1b5)][_0x403dbe(0x1a5)](_0x100e2e);}[_0x53bbde(0x19a)](_0x4f061c){const _0xc9123a=_0x53bbde;return this[_0xc9123a(0x1a7)][_0xc9123a(0x1a5)](_0x4f061c);}[_0x53bbde(0x1a9)](){const _0x73d1d7=_0x53bbde;super[_0x73d1d7(0x1bb)](),this[_0x73d1d7(0x19f)](),this[_0x73d1d7(0x1b5)][_0x73d1d7(0x1bb)](),this[_0x73d1d7(0x1a7)][_0x73d1d7(0x1bb)](),this[_0x73d1d7(0x1b6)][_0x73d1d7(0x1a9)]();}[_0x53bbde(0x193)](){const _0x4b37ab=_0x53bbde;for(const _0x3438cb of this)_0x3438cb[_0x4b37ab(0x1b2)]();this[_0x4b37ab(0x19e)]();}[_0x53bbde(0x19e)](){const _0x4d164d=_0x53bbde,_0x48c5dc=Array[_0x4d164d(0x1b9)](this)[_0x4d164d(0x195)]((_0x12618e,_0x542918)=>v(_0x12618e[_0x4d164d(0x1b3)][_0x4d164d(0x1b8)],_0x542918[_0x4d164d(0x1b3)][_0x4d164d(0x1b8)]));for(let _0x4cee72=_0x48c5dc[_0x4d164d(0x192)]-0x1;_0x4cee72>0x0;_0x4cee72--){const _0x3800b2=_0x48c5dc[_0x4cee72];_0x4cee72!==this[_0x4d164d(0x1bd)](_0x3800b2)&&(this[_0x4d164d(0x1ba)](_0x3800b2),this[_0x4d164d(0x197)](_0x3800b2));}}[_0x53bbde(0x194)](_0xdfa533){const _0x235252=_0x53bbde;let _0x3b3a3a=0x0;if(!_0xdfa533)return this[_0x235252(0x192)];for(const _0x580c0d of this){const _0x26da69=_0x580c0d[_0x235252(0x1b3)][_0x235252(0x1b8)];if(_0x26da69){if(v(_0xdfa533,_0x26da69)<0x0)return _0x3b3a3a;_0x3b3a3a++;}}return _0x3b3a3a;}}function _0x1c4e(){const _0x4a43d8=['97310hnbhJL','3346mvpIiK','blur','updateTargetRect','view','annotationcollection-not-existing-item','_innerViewToAnnotation','_focusTracker','2756619luxZeq','targetRect','from','remove','clear','11ICIZQv','getIndex','delete','3978dfREcy','482eZXAdu','9417uBygth','length','refreshPositioning','_getOrderInContent','sort','1533068XdUKeG','add','fire','set','getByView','focus','7120wqqzFp','isFocused','_sort','stopListening','listenTo','has','focusTracker','top','175718KgJhKa','get','getByInnerView','_viewToAnnotation','innerView','destroy','left','focusableElements','change:isFocused','3505EoPUaL','annotationcollection-duplicated-item'];_0x1c4e=function(){return _0x4a43d8;};return _0x1c4e();}export function bindAnnotationCollections({source:_0x4c3d07,target:_0x5e376b,filter:_0x2e26cf}){const _0x328167=_0x53bbde;for(const _0x29ca7f of _0x4c3d07)_0x2e26cf(_0x29ca7f)&&_0x5e376b[_0x328167(0x197)](_0x29ca7f);_0x5e376b[_0x328167(0x1a0)](_0x4c3d07,_0x328167(0x197),(_0x2a996a,_0xdeefee)=>{const _0xb06e2f=_0x328167;_0x2e26cf(_0xdeefee)&&_0x5e376b[_0xb06e2f(0x197)](_0xdeefee);}),_0x5e376b[_0x328167(0x1a0)](_0x4c3d07,_0x328167(0x1ba),(_0x37db10,_0x5450d7)=>{const _0x36b8d0=_0x328167;_0x5e376b[_0x36b8d0(0x1a1)](_0x5450d7)&&_0x5e376b[_0x36b8d0(0x1ba)](_0x5450d7);});}function v(_0x57f902,_0xe308b3){const _0x49f88b=_0x53bbde;if(null===_0x57f902&&null===_0xe308b3)return 0x0;if(null===_0x57f902)return-0x1;if(null===_0xe308b3)return 0x1;const _0x43161c=_0x57f902[_0x49f88b(0x1a3)]-_0xe308b3[_0x49f88b(0x1a3)];return 0x0==_0x43161c?_0x57f902[_0x49f88b(0x1aa)]-_0xe308b3[_0x49f88b(0x1aa)]:_0x43161c;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5250ae=_0x4a2a;(function(_0x1ec26d,_0xbb12c3){const _0x4f9b05=_0x4a2a,_0x4d5822=_0x1ec26d();while(!![]){try{const _0x595242=parseInt(_0x4f9b05(0x191))/0x1+parseInt(_0x4f9b05(0x179))/0x2+-parseInt(_0x4f9b05(0x194))/0x3+parseInt(_0x4f9b05(0x187))/0x4*(parseInt(_0x4f9b05(0x17d))/0x5)+-parseInt(_0x4f9b05(0x1a0))/0x6+parseInt(_0x4f9b05(0x180))/0x7*(-parseInt(_0x4f9b05(0x197))/0x8)+parseInt(_0x4f9b05(0x19b))/0x9;if(_0x595242===_0xbb12c3)break;else _0x4d5822['push'](_0x4d5822['shift']());}catch(_0x3ab91c){_0x4d5822['push'](_0x4d5822['shift']());}}}(_0x414a,0x27d8c));import{ContextPlugin as _0x4e93db}from'ckeditor5/src/core.js';function _0x4a2a(_0x2c3e05,_0x295b13){const _0x414aa3=_0x414a();return _0x4a2a=function(_0x4a2a27,_0xecdb41){_0x4a2a27=_0x4a2a27-0x179;let _0x1f3bbb=_0x414aa3[_0x4a2a27];return _0x1f3bbb;},_0x4a2a(_0x2c3e05,_0x295b13);}import _0x599c78 from'./annotation.js';import _0xdd2d0c from'./annotationcollection.js';function _0x414a(){const _0x2e614e=['_bindAnnotationsToVisibleAnnotations','deactivateAll','Annotations','element','destroy','_removeActiveAnnotation','createAnnotation','142703xwcodJ','_addActiveAnnotation','focusTracker','523638MDyUqp','delete','has','1384dlMCyK','fire','createAnnotationView','isVisible','2856258ioDnst','source','remove','_deactivateAllAnnotations','listenTo','84012maUUBp','set','37450DIqsTa','view','refreshVisibility','_visibleAnnotations','158215ihAard','add','activeAnnotations','8981GHZWCQ','_activateAnnotation','pluginName','collection','refreshPositioning','getByInnerView','change:isVisible','12owdxsa','stopListening','activate'];_0x414a=function(){return _0x2e614e;};return _0x414a();}import _0x4961f0 from'./view/annotationview.js';export default class b extends _0x4e93db{static get[_0x5250ae(0x182)](){const _0x498fb9=_0x5250ae;return _0x498fb9(0x18c);}constructor(_0x9108b4){const _0x3150f3=_0x5250ae;super(_0x9108b4),this[_0x3150f3(0x183)]=new _0xdd2d0c(),this[_0x3150f3(0x17c)]=new _0xdd2d0c(),this[_0x3150f3(0x1a1)](_0x3150f3(0x17f),new Set()),this[_0x3150f3(0x18a)]();}[_0x5250ae(0x17e)](_0x165c40){const _0x171d01=_0x5250ae;this[_0x171d01(0x183)][_0x171d01(0x17e)](_0x165c40);}[_0x5250ae(0x19d)](_0x4814e9){const _0x3ee73c=_0x5250ae;this[_0x3ee73c(0x183)][_0x3ee73c(0x19d)](_0x4814e9),_0x4814e9[_0x3ee73c(0x18e)]();}[_0x5250ae(0x17b)](){const _0x62a425=_0x5250ae;for(const _0xc9242d of this[_0x62a425(0x183)])_0xc9242d[_0x62a425(0x17b)]();}[_0x5250ae(0x184)](){const _0x307629=_0x5250ae;this[_0x307629(0x17c)][_0x307629(0x184)]();}[_0x5250ae(0x185)](_0x451baa){const _0x21ca56=_0x5250ae;return this[_0x21ca56(0x183)][_0x21ca56(0x185)](_0x451baa);}[_0x5250ae(0x18b)](){const _0x155285=_0x5250ae;this[_0x155285(0x198)](_0x155285(0x19e));}[_0x5250ae(0x18e)](){const _0x19e58b=_0x5250ae;for(const _0x52a899 of this[_0x19e58b(0x183)])_0x52a899[_0x19e58b(0x18e)]();this[_0x19e58b(0x17c)][_0x19e58b(0x18e)](),this[_0x19e58b(0x183)][_0x19e58b(0x18e)](),super[_0x19e58b(0x18e)]();}[_0x5250ae(0x189)](_0x6648dc){const _0x547cda=_0x5250ae;this[_0x547cda(0x198)](_0x547cda(0x181),_0x6648dc);}[_0x5250ae(0x190)](_0x49c585){return new _0x599c78(_0x49c585);}[_0x5250ae(0x199)](_0x4fb711,_0x1b770b){return new _0x4961f0(_0x4fb711,_0x1b770b);}[_0x5250ae(0x192)](_0x2941b7){const _0x55d2f6=_0x5250ae,_0x4bf9ca=new Set(this[_0x55d2f6(0x17f)]);_0x4bf9ca[_0x55d2f6(0x17e)](_0x2941b7),this[_0x55d2f6(0x17f)]=_0x4bf9ca;}[_0x5250ae(0x18f)](_0x5b5a83){const _0x1656e4=_0x5250ae,_0x15b509=new Set(this[_0x1656e4(0x17f)]);_0x15b509[_0x1656e4(0x195)](_0x5b5a83),this[_0x1656e4(0x17f)]=_0x15b509;}[_0x5250ae(0x18a)](){const _0x2d6c7d=_0x5250ae,_0x380c2e=this[_0x2d6c7d(0x183)],_0x4986b9=this[_0x2d6c7d(0x17c)];function _0x3b7f29(_0x1cba93){const _0x1ebf8d=_0x2d6c7d,_0x59a4b5=_0x1cba93[_0x1ebf8d(0x19c)];_0x59a4b5[_0x1ebf8d(0x19a)]&&!_0x4986b9[_0x1ebf8d(0x196)](_0x59a4b5)?_0x4986b9[_0x1ebf8d(0x17e)](_0x59a4b5):!_0x59a4b5[_0x1ebf8d(0x19a)]&&_0x4986b9[_0x1ebf8d(0x196)](_0x59a4b5)&&_0x4986b9[_0x1ebf8d(0x19d)](_0x59a4b5),_0x59a4b5[_0x1ebf8d(0x17a)][_0x1ebf8d(0x193)][_0x1ebf8d(0x19d)](_0x59a4b5[_0x1ebf8d(0x17a)][_0x1ebf8d(0x18d)]),_0x59a4b5[_0x1ebf8d(0x17a)][_0x1ebf8d(0x193)][_0x1ebf8d(0x17e)](_0x59a4b5[_0x1ebf8d(0x17a)][_0x1ebf8d(0x18d)]);}this[_0x2d6c7d(0x19f)](_0x380c2e,_0x2d6c7d(0x17e),(_0x505762,_0xa89825)=>{const _0x1cfe32=_0x2d6c7d;_0xa89825[_0x1cfe32(0x19a)]&&_0x4986b9[_0x1cfe32(0x17e)](_0xa89825),this[_0x1cfe32(0x19f)](_0xa89825,_0x1cfe32(0x186),_0x3b7f29);}),this[_0x2d6c7d(0x19f)](_0x380c2e,_0x2d6c7d(0x19d),(_0x183f5d,_0x1311c4)=>{const _0x7fadff=_0x2d6c7d;_0x4986b9[_0x7fadff(0x196)](_0x1311c4)&&_0x4986b9[_0x7fadff(0x19d)](_0x1311c4),this[_0x7fadff(0x188)](_0x1311c4,_0x7fadff(0x186),_0x3b7f29);});}}
23
+ function _0x2c85(_0x48b756,_0x1b1f0f){const _0x108161=_0x1081();return _0x2c85=function(_0x2c8521,_0x1072a8){_0x2c8521=_0x2c8521-0xb2;let _0x2fbb43=_0x108161[_0x2c8521];return _0x2fbb43;},_0x2c85(_0x48b756,_0x1b1f0f);}const _0x374865=_0x2c85;(function(_0x5396ed,_0x44fba9){const _0x5be914=_0x2c85,_0x5b8864=_0x5396ed();while(!![]){try{const _0x1e0391=-parseInt(_0x5be914(0xc7))/0x1+-parseInt(_0x5be914(0xd8))/0x2*(parseInt(_0x5be914(0xd1))/0x3)+parseInt(_0x5be914(0xb7))/0x4*(parseInt(_0x5be914(0xc9))/0x5)+parseInt(_0x5be914(0xcd))/0x6+-parseInt(_0x5be914(0xd4))/0x7*(-parseInt(_0x5be914(0xcf))/0x8)+-parseInt(_0x5be914(0xbc))/0x9*(parseInt(_0x5be914(0xd5))/0xa)+parseInt(_0x5be914(0xc1))/0xb;if(_0x1e0391===_0x44fba9)break;else _0x5b8864['push'](_0x5b8864['shift']());}catch(_0x3e3399){_0x5b8864['push'](_0x5b8864['shift']());}}}(_0x1081,0x22817));import{ContextPlugin as _0x20b99a}from'ckeditor5/src/core.js';import _0x3e86e1 from'./annotation.js';import _0x4ba2d0 from'./annotationcollection.js';import _0x4e8dfe from'./view/annotationview.js';export default class b extends _0x20b99a{static get[_0x374865(0xbe)](){const _0x385e27=_0x374865;return _0x385e27(0xdc);}constructor(_0x23811a){const _0x9ba5a5=_0x374865;super(_0x23811a),this[_0x9ba5a5(0xbd)]=new _0x4ba2d0(),this[_0x9ba5a5(0xc5)]=new _0x4ba2d0(),this[_0x9ba5a5(0xc8)](_0x9ba5a5(0xb5),new Set()),this[_0x9ba5a5(0xb9)]();}[_0x374865(0xd3)](_0x291b2b){const _0x43f436=_0x374865;this[_0x43f436(0xbd)][_0x43f436(0xd3)](_0x291b2b);}[_0x374865(0xd7)](_0x45d504){const _0x5250eb=_0x374865;this[_0x5250eb(0xbd)][_0x5250eb(0xd7)](_0x45d504),_0x45d504[_0x5250eb(0xb8)]();}[_0x374865(0xd2)](){const _0xbf4e70=_0x374865;for(const _0x23f49f of this[_0xbf4e70(0xbd)])_0x23f49f[_0xbf4e70(0xd2)]();}[_0x374865(0xbb)](){const _0x23d89b=_0x374865;this[_0x23d89b(0xc5)][_0x23d89b(0xbb)]();}[_0x374865(0xba)](_0x4a2baa){const _0x13c9a2=_0x374865;return this[_0x13c9a2(0xbd)][_0x13c9a2(0xba)](_0x4a2baa);}[_0x374865(0xc6)](){const _0x56fc09=_0x374865;this[_0x56fc09(0xce)](_0x56fc09(0xcb));}[_0x374865(0xb8)](){const _0x270306=_0x374865;for(const _0x347cec of this[_0x270306(0xbd)])_0x347cec[_0x270306(0xb8)]();this[_0x270306(0xc5)][_0x270306(0xb8)](),this[_0x270306(0xbd)][_0x270306(0xb8)](),super[_0x270306(0xb8)]();}[_0x374865(0xca)](_0x50ca57){const _0x1a37e1=_0x374865;this[_0x1a37e1(0xce)](_0x1a37e1(0xda),_0x50ca57);}[_0x374865(0xdb)](_0x104e94){return new _0x3e86e1(_0x104e94);}[_0x374865(0xc4)](_0x557587,_0x152e2a){return new _0x4e8dfe(_0x557587,_0x152e2a);}[_0x374865(0xc3)](_0x3e370f){const _0xb49eed=_0x374865,_0x55c246=new Set(this[_0xb49eed(0xb5)]);_0x55c246[_0xb49eed(0xd3)](_0x3e370f),this[_0xb49eed(0xb5)]=_0x55c246;}[_0x374865(0xcc)](_0x23d010){const _0x1760f1=_0x374865,_0x2bb9b6=new Set(this[_0x1760f1(0xb5)]);_0x2bb9b6[_0x1760f1(0xb2)](_0x23d010),this[_0x1760f1(0xb5)]=_0x2bb9b6;}[_0x374865(0xb9)](){const _0x86f7cb=_0x374865,_0xe16a92=this[_0x86f7cb(0xbd)],_0x5a0f0e=this[_0x86f7cb(0xc5)];function _0x224663(_0x2ad3fb){const _0x48a34e=_0x86f7cb,_0x52781a=_0x2ad3fb[_0x48a34e(0xbf)];_0x52781a[_0x48a34e(0xd0)]&&!_0x5a0f0e[_0x48a34e(0xb3)](_0x52781a)?_0x5a0f0e[_0x48a34e(0xd3)](_0x52781a):!_0x52781a[_0x48a34e(0xd0)]&&_0x5a0f0e[_0x48a34e(0xb3)](_0x52781a)&&_0x5a0f0e[_0x48a34e(0xd7)](_0x52781a),_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd6)][_0x48a34e(0xd7)](_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd9)]),_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd6)][_0x48a34e(0xd3)](_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd9)]);}this[_0x86f7cb(0xc0)](_0xe16a92,_0x86f7cb(0xd3),(_0x2c39be,_0x36873c)=>{const _0x2edfd8=_0x86f7cb;_0x36873c[_0x2edfd8(0xd0)]&&_0x5a0f0e[_0x2edfd8(0xd3)](_0x36873c),this[_0x2edfd8(0xc0)](_0x36873c,_0x2edfd8(0xc2),_0x224663);}),this[_0x86f7cb(0xc0)](_0xe16a92,_0x86f7cb(0xd7),(_0x3c474d,_0x1ed6d6)=>{const _0x5f7e38=_0x86f7cb;_0x5a0f0e[_0x5f7e38(0xb3)](_0x1ed6d6)&&_0x5a0f0e[_0x5f7e38(0xd7)](_0x1ed6d6),this[_0x5f7e38(0xb4)](_0x1ed6d6,_0x5f7e38(0xc2),_0x224663);});}}function _0x1081(){const _0x8d8abd=['isVisible','843zTKabM','refreshVisibility','add','335741URkXnT','8180plPAAI','focusTracker','remove','1478wKumlN','element','_activateAnnotation','createAnnotation','Annotations','delete','has','stopListening','activeAnnotations','view','314124olxDPe','destroy','_bindAnnotationsToVisibleAnnotations','getByInnerView','refreshPositioning','999Dtgkkx','collection','pluginName','source','listenTo','5892150tBufMo','change:isVisible','_addActiveAnnotation','createAnnotationView','_visibleAnnotations','deactivateAll','249762SzbqKZ','set','5uSuPie','activate','_deactivateAllAnnotations','_removeActiveAnnotation','164460XNcmQI','fire','8TPxLTo'];_0x1081=function(){return _0x8d8abd;};return _0x1081();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3723(_0x45404d,_0x4f327c){const _0x47e983=_0x47e9();return _0x3723=function(_0x37239f,_0x3607b3){_0x37239f=_0x37239f-0x136;let _0x93a99c=_0x47e983[_0x37239f];return _0x93a99c;},_0x3723(_0x45404d,_0x4f327c);}const _0x5a9145=_0x3723;(function(_0x15a220,_0x4cc2f2){const _0x286d72=_0x3723,_0x4e7761=_0x15a220();while(!![]){try{const _0x47179c=parseInt(_0x286d72(0x170))/0x1+-parseInt(_0x286d72(0x138))/0x2+parseInt(_0x286d72(0x157))/0x3*(-parseInt(_0x286d72(0x139))/0x4)+parseInt(_0x286d72(0x141))/0x5*(parseInt(_0x286d72(0x16d))/0x6)+-parseInt(_0x286d72(0x158))/0x7+-parseInt(_0x286d72(0x160))/0x8+parseInt(_0x286d72(0x14e))/0x9*(parseInt(_0x286d72(0x137))/0xa);if(_0x47179c===_0x4cc2f2)break;else _0x4e7761['push'](_0x4e7761['shift']());}catch(_0x596779){_0x4e7761['push'](_0x4e7761['shift']());}}}(_0x47e9,0x3e6d0));import{ContextPlugin as _0x1e563e}from'ckeditor5/src/core.js';import{CKEditorError as _0x3195c8}from'ckeditor5/src/utils.js';import _0x1e2acf,{bindAnnotationCollections as _0xbf43f}from'./annotationcollection.js';function _0x47e9(){const _0x24b777=['317420TZfhLX','171934vsvCeH','1788iQZYYS','annotationsuis-register-invalid-interface','filter','deactivate','_assertAnnotationDoesNotBelongToMultipleUIs','requires','remove','setActiveAnnotation','5DqcQnX','register','activeUIs','function','annotationsuis-annotation-mismatch','_visibleAnnotations','from','get','hasActive','init','set','collection','has','18dnBxwL','annotationsuis-missing-ui','_setSelectedAnnotations','_deactivateAllAnnotations','length','delete','_uisData','_activateAnnotation','context','15zhJEjO','1874775fPqhBm','_uis','push','_addActiveAnnotation','activate','switchTo','_removeActiveAnnotation','activeAnnotations','47960NokXhb','refilterAnnotations','detach','size','plugins','find','stopListening','destroy','change:activeAnnotation','AnnotationsUIs','listenTo','type','isActive','2628234fFkLLs','deactivateAll','pluginName','116195YEAqLm','annotationsuis-register-already-registered','attach','add'];_0x47e9=function(){return _0x24b777;};return _0x47e9();}import _0x11692f from'./annotations.js';export default class j extends _0x1e563e{static get[_0x5a9145(0x13e)](){return[_0x11692f];}static get[_0x5a9145(0x16f)](){const _0x20717b=_0x5a9145;return _0x20717b(0x169);}constructor(_0x2c59c6){const _0x1f8da3=_0x5a9145;super(_0x2c59c6),this[_0x1f8da3(0x143)]=new Set(),this[_0x1f8da3(0x159)]=new Map(),this[_0x1f8da3(0x154)]=new Map();}[_0x5a9145(0x14a)](){const _0x4b067d=_0x5a9145,_0x23eb5e=this[_0x4b067d(0x156)][_0x4b067d(0x164)][_0x4b067d(0x148)](_0x11692f);this[_0x4b067d(0x16a)](_0x23eb5e,_0x4b067d(0x155),(_0x574b58,_0x4ae730)=>{const _0x21d5dc=_0x4b067d;for(const _0x10d86c of this[_0x21d5dc(0x143)]){const _0xd68ca3=this[_0x21d5dc(0x159)][_0x21d5dc(0x148)](_0x10d86c);(0x0,this[_0x21d5dc(0x154)][_0x21d5dc(0x148)](_0x10d86c)[_0x21d5dc(0x13b)])(_0x4ae730)&&_0xd68ca3[_0x21d5dc(0x140)](_0x4ae730);}}),this[_0x4b067d(0x16a)](_0x23eb5e,_0x4b067d(0x151),()=>{const _0x486e7b=_0x4b067d;for(const _0x9a1f9f of this[_0x486e7b(0x143)]){this[_0x486e7b(0x159)][_0x486e7b(0x148)](_0x9a1f9f)[_0x486e7b(0x140)](null);}}),this[_0x4b067d(0x16a)](_0x23eb5e[_0x4b067d(0x146)],_0x4b067d(0x136),(_0x35662b,_0x466738)=>{const _0x1a266a=_0x4b067d;this[_0x1a266a(0x13d)](_0x466738);});}[_0x5a9145(0x149)](){const _0x526861=_0x5a9145;return this[_0x526861(0x143)][_0x526861(0x163)]>0x0;}[_0x5a9145(0x16c)](_0x4fbb21){const _0x11c2e0=_0x5a9145;return this[_0x11c2e0(0x143)][_0x11c2e0(0x14d)](_0x4fbb21);}[_0x5a9145(0x15c)](_0x39f889,_0x499957=()=>!0x0){const _0x53cb64=_0x5a9145,_0x580055=this[_0x53cb64(0x156)][_0x53cb64(0x164)][_0x53cb64(0x148)](_0x11692f);if(!this[_0x53cb64(0x159)][_0x53cb64(0x14d)](_0x39f889))throw new _0x3195c8(_0x53cb64(0x14f),this,{'uiName':_0x39f889});this[_0x53cb64(0x16c)](_0x39f889)&&this[_0x53cb64(0x13c)](_0x39f889),this[_0x53cb64(0x143)][_0x53cb64(0x136)](_0x39f889);const _0x46d791=new _0x1e2acf(),_0xf72b11=_0x580055[_0x53cb64(0x146)];_0xbf43f({'source':_0xf72b11,'target':_0x46d791,'filter':_0x499957}),this[_0x53cb64(0x154)][_0x53cb64(0x14b)](_0x39f889,{'collection':_0x46d791,'filter':_0x499957});const _0x5a6c25=this[_0x53cb64(0x159)][_0x53cb64(0x148)](_0x39f889);_0x5a6c25[_0x53cb64(0x172)](_0x46d791),this[_0x53cb64(0x16a)](_0x5a6c25,_0x53cb64(0x168),(_0x3c30c7,_0x3d09db,_0x4c74f2,_0x3e014b)=>{const _0xc54d23=_0x53cb64;_0x3e014b&&_0x580055[_0xc54d23(0x15e)](_0x3e014b),_0x4c74f2&&_0x580055[_0xc54d23(0x15b)](_0x4c74f2);});}[_0x5a9145(0x13c)](_0x422558){const _0x270b2d=_0x5a9145;if(this[_0x270b2d(0x143)][_0x270b2d(0x153)](_0x422558),!this[_0x270b2d(0x159)][_0x270b2d(0x14d)](_0x422558))throw new _0x3195c8(_0x270b2d(0x14f),this,{'uiName':_0x422558});const _0x1c8ac0=this[_0x270b2d(0x159)][_0x270b2d(0x148)](_0x422558);_0x1c8ac0[_0x270b2d(0x162)](),this[_0x270b2d(0x166)](_0x1c8ac0),this[_0x270b2d(0x154)][_0x270b2d(0x148)](_0x422558)[_0x270b2d(0x14c)][_0x270b2d(0x167)](),this[_0x270b2d(0x154)][_0x270b2d(0x153)](_0x422558);}[_0x5a9145(0x15d)](_0x328187){const _0x31d5b2=_0x5a9145;if(!this[_0x31d5b2(0x159)][_0x31d5b2(0x14d)](_0x328187))throw new _0x3195c8(_0x31d5b2(0x14f),this,{'uiName':_0x328187});const _0x877ee4=this[_0x31d5b2(0x156)][_0x31d5b2(0x164)][_0x31d5b2(0x148)](_0x11692f),_0x3d39ff=Array[_0x31d5b2(0x147)](_0x877ee4[_0x31d5b2(0x15f)])[0x0]||null;this[_0x31d5b2(0x16e)](),this[_0x31d5b2(0x15c)](_0x328187);const _0x500d40=this[_0x31d5b2(0x159)][_0x31d5b2(0x148)](_0x328187);_0x500d40[_0x31d5b2(0x140)](_0x3d39ff),_0x500d40[_0x31d5b2(0x150)]&&_0x3d39ff&&_0x500d40[_0x31d5b2(0x150)]([_0x3d39ff]);}[_0x5a9145(0x16e)](){const _0x313db4=_0x5a9145;for(const _0x264441 of this[_0x313db4(0x143)])this[_0x313db4(0x13c)](_0x264441);}[_0x5a9145(0x142)](_0x5210a0,_0x51472e){const _0x59e6ed=_0x5a9145;if(this[_0x59e6ed(0x159)][_0x59e6ed(0x14d)](_0x5210a0))throw new _0x3195c8(_0x59e6ed(0x171));if(_0x59e6ed(0x144)!=typeof _0x51472e[_0x59e6ed(0x172)]||_0x59e6ed(0x144)!=typeof _0x51472e[_0x59e6ed(0x162)]||_0x59e6ed(0x144)!=typeof _0x51472e[_0x59e6ed(0x140)])throw new _0x3195c8(_0x59e6ed(0x13a),null);this[_0x59e6ed(0x159)][_0x59e6ed(0x14b)](_0x5210a0,_0x51472e);}[_0x5a9145(0x161)](){const _0x41720c=_0x5a9145,_0x241023=this[_0x41720c(0x156)][_0x41720c(0x164)][_0x41720c(0x148)](_0x11692f)[_0x41720c(0x14c)],_0x100331=new Map(),_0x3fa931=Array[_0x41720c(0x147)](this[_0x41720c(0x143)]);for(const _0x23d10c of this[_0x41720c(0x143)]){const _0x2bdc14=this[_0x41720c(0x154)][_0x41720c(0x148)](_0x23d10c)[_0x41720c(0x14c)];for(const _0x409d8e of _0x2bdc14)_0x100331[_0x41720c(0x14b)](_0x409d8e,_0x23d10c);}for(const _0x418142 of _0x241023){const _0x45b80a=_0x100331[_0x41720c(0x148)](_0x418142);this[_0x41720c(0x13d)](_0x418142);const _0x504d71=_0x3fa931[_0x41720c(0x165)](_0xc46b65=>this[_0x41720c(0x154)][_0x41720c(0x148)](_0xc46b65)[_0x41720c(0x13b)](_0x418142));_0x45b80a!==_0x504d71&&(_0x45b80a&&this[_0x41720c(0x154)][_0x41720c(0x148)](_0x45b80a)[_0x41720c(0x14c)][_0x41720c(0x13f)](_0x418142),_0x504d71&&this[_0x41720c(0x154)][_0x41720c(0x148)](_0x504d71)[_0x41720c(0x14c)][_0x41720c(0x136)](_0x418142));}}[_0x5a9145(0x167)](){const _0x2132c0=_0x5a9145;this[_0x2132c0(0x16e)](),super[_0x2132c0(0x167)]();}[_0x5a9145(0x13d)](_0x9dccb2){const _0x4d3b29=_0x5a9145,_0x4125db=[];for(const _0xb59a0f of this[_0x4d3b29(0x143)]){(0x0,this[_0x4d3b29(0x154)][_0x4d3b29(0x148)](_0xb59a0f)[_0x4d3b29(0x13b)])(_0x9dccb2)&&_0x4125db[_0x4d3b29(0x15a)](_0xb59a0f);}if(_0x4125db[_0x4d3b29(0x152)]>0x1)throw new _0x3195c8(_0x4d3b29(0x145),null,{'matchedUIs':_0x4125db,'annotationType':_0x9dccb2[_0x4d3b29(0x16b)]});}}
23
+ const _0x2ac6c5=_0x4dd9;(function(_0x2752f6,_0x3e4073){const _0xecd1ab=_0x4dd9,_0x1d008c=_0x2752f6();while(!![]){try{const _0x32b853=-parseInt(_0xecd1ab(0x18e))/0x1+-parseInt(_0xecd1ab(0x17c))/0x2+-parseInt(_0xecd1ab(0x17b))/0x3+parseInt(_0xecd1ab(0x170))/0x4*(-parseInt(_0xecd1ab(0x1a5))/0x5)+-parseInt(_0xecd1ab(0x1a1))/0x6+-parseInt(_0xecd1ab(0x191))/0x7*(parseInt(_0xecd1ab(0x177))/0x8)+parseInt(_0xecd1ab(0x18c))/0x9;if(_0x32b853===_0x3e4073)break;else _0x1d008c['push'](_0x1d008c['shift']());}catch(_0x302120){_0x1d008c['push'](_0x1d008c['shift']());}}}(_0xccbc,0x2d3c9));import{ContextPlugin as _0x25686c}from'ckeditor5/src/core.js';import{CKEditorError as _0x47fec4}from'ckeditor5/src/utils.js';import _0x1fecf8,{bindAnnotationCollections as _0x5dc6c7}from'./annotationcollection.js';import _0x69ea9e from'./annotations.js';export default class j extends _0x25686c{static get[_0x2ac6c5(0x182)](){return[_0x69ea9e];}static get[_0x2ac6c5(0x198)](){const _0x564830=_0x2ac6c5;return _0x564830(0x172);}constructor(_0x19da3b){const _0x1c3f3c=_0x2ac6c5;super(_0x19da3b),this[_0x1c3f3c(0x196)]=new Set(),this[_0x1c3f3c(0x1a3)]=new Map(),this[_0x1c3f3c(0x184)]=new Map();}[_0x2ac6c5(0x1a9)](){const _0x43e7b0=_0x2ac6c5,_0x9e56bb=this[_0x43e7b0(0x1a7)][_0x43e7b0(0x178)][_0x43e7b0(0x181)](_0x69ea9e);this[_0x43e7b0(0x193)](_0x9e56bb,_0x43e7b0(0x189),(_0x36b371,_0x3dea47)=>{const _0x19c1b8=_0x43e7b0;for(const _0x3a6e80 of this[_0x19c1b8(0x196)]){const _0x42eef3=this[_0x19c1b8(0x1a3)][_0x19c1b8(0x181)](_0x3a6e80);(0x0,this[_0x19c1b8(0x184)][_0x19c1b8(0x181)](_0x3a6e80)[_0x19c1b8(0x1a6)])(_0x3dea47)&&_0x42eef3[_0x19c1b8(0x17f)](_0x3dea47);}}),this[_0x43e7b0(0x193)](_0x9e56bb,_0x43e7b0(0x19c),()=>{const _0xdc83a=_0x43e7b0;for(const _0x35c3bf of this[_0xdc83a(0x196)]){this[_0xdc83a(0x1a3)][_0xdc83a(0x181)](_0x35c3bf)[_0xdc83a(0x17f)](null);}}),this[_0x43e7b0(0x193)](_0x9e56bb[_0x43e7b0(0x174)],_0x43e7b0(0x197),(_0x41dd79,_0x52ea4b)=>{const _0x6e27db=_0x43e7b0;this[_0x6e27db(0x17d)](_0x52ea4b);});}[_0x2ac6c5(0x19e)](){const _0x43d5a6=_0x2ac6c5;return this[_0x43d5a6(0x196)][_0x43d5a6(0x17e)]>0x0;}[_0x2ac6c5(0x175)](_0x4962fe){const _0x5ec393=_0x2ac6c5;return this[_0x5ec393(0x196)][_0x5ec393(0x1a4)](_0x4962fe);}[_0x2ac6c5(0x18a)](_0x34b0bb,_0x4c7b74=()=>!0x0){const _0x4a8fdd=_0x2ac6c5,_0x4f1875=this[_0x4a8fdd(0x1a7)][_0x4a8fdd(0x178)][_0x4a8fdd(0x181)](_0x69ea9e);if(!this[_0x4a8fdd(0x1a3)][_0x4a8fdd(0x1a4)](_0x34b0bb))throw new _0x47fec4(_0x4a8fdd(0x1a8),this,{'uiName':_0x34b0bb});this[_0x4a8fdd(0x175)](_0x34b0bb)&&this[_0x4a8fdd(0x18b)](_0x34b0bb),this[_0x4a8fdd(0x196)][_0x4a8fdd(0x197)](_0x34b0bb);const _0x58726b=new _0x1fecf8(),_0xe6519d=_0x4f1875[_0x4a8fdd(0x174)];_0x5dc6c7({'source':_0xe6519d,'target':_0x58726b,'filter':_0x4c7b74}),this[_0x4a8fdd(0x184)][_0x4a8fdd(0x195)](_0x34b0bb,{'collection':_0x58726b,'filter':_0x4c7b74});const _0x26d4c1=this[_0x4a8fdd(0x1a3)][_0x4a8fdd(0x181)](_0x34b0bb);_0x26d4c1[_0x4a8fdd(0x183)](_0x58726b),this[_0x4a8fdd(0x193)](_0x26d4c1,_0x4a8fdd(0x1a2),(_0x382caf,_0x53bedd,_0x1ada88,_0x113def)=>{const _0x134f1e=_0x4a8fdd;_0x113def&&_0x4f1875[_0x134f1e(0x171)](_0x113def),_0x1ada88&&_0x4f1875[_0x134f1e(0x199)](_0x1ada88);});}[_0x2ac6c5(0x18b)](_0xef23ca){const _0x59d728=_0x2ac6c5;if(this[_0x59d728(0x196)][_0x59d728(0x1aa)](_0xef23ca),!this[_0x59d728(0x1a3)][_0x59d728(0x1a4)](_0xef23ca))throw new _0x47fec4(_0x59d728(0x1a8),this,{'uiName':_0xef23ca});const _0x4e7c12=this[_0x59d728(0x1a3)][_0x59d728(0x181)](_0xef23ca);_0x4e7c12[_0x59d728(0x19d)](),this[_0x59d728(0x1a0)](_0x4e7c12),this[_0x59d728(0x184)][_0x59d728(0x181)](_0xef23ca)[_0x59d728(0x190)][_0x59d728(0x18f)](),this[_0x59d728(0x184)][_0x59d728(0x1aa)](_0xef23ca);}[_0x2ac6c5(0x17a)](_0x1d78e){const _0x1bc403=_0x2ac6c5;if(!this[_0x1bc403(0x1a3)][_0x1bc403(0x1a4)](_0x1d78e))throw new _0x47fec4(_0x1bc403(0x1a8),this,{'uiName':_0x1d78e});const _0x553303=this[_0x1bc403(0x1a7)][_0x1bc403(0x178)][_0x1bc403(0x181)](_0x69ea9e),_0x1ddc7a=Array[_0x1bc403(0x185)](_0x553303[_0x1bc403(0x180)])[0x0]||null;this[_0x1bc403(0x19f)](),this[_0x1bc403(0x18a)](_0x1d78e);const _0x57189e=this[_0x1bc403(0x1a3)][_0x1bc403(0x181)](_0x1d78e);_0x57189e[_0x1bc403(0x17f)](_0x1ddc7a),_0x57189e[_0x1bc403(0x176)]&&_0x1ddc7a&&_0x57189e[_0x1bc403(0x176)]([_0x1ddc7a]);}[_0x2ac6c5(0x19f)](){const _0x21ba5a=_0x2ac6c5;for(const _0x3c4703 of this[_0x21ba5a(0x196)])this[_0x21ba5a(0x18b)](_0x3c4703);}[_0x2ac6c5(0x19b)](_0x4c012d,_0x2855e9){const _0x482aa5=_0x2ac6c5;if(this[_0x482aa5(0x1a3)][_0x482aa5(0x1a4)](_0x4c012d))throw new _0x47fec4(_0x482aa5(0x192));if(_0x482aa5(0x187)!=typeof _0x2855e9[_0x482aa5(0x183)]||_0x482aa5(0x187)!=typeof _0x2855e9[_0x482aa5(0x19d)]||_0x482aa5(0x187)!=typeof _0x2855e9[_0x482aa5(0x17f)])throw new _0x47fec4(_0x482aa5(0x19a),null);this[_0x482aa5(0x1a3)][_0x482aa5(0x195)](_0x4c012d,_0x2855e9);}[_0x2ac6c5(0x173)](){const _0x365cb5=_0x2ac6c5,_0x272ebc=this[_0x365cb5(0x1a7)][_0x365cb5(0x178)][_0x365cb5(0x181)](_0x69ea9e)[_0x365cb5(0x190)],_0x2dffa8=new Map(),_0x2931e6=Array[_0x365cb5(0x185)](this[_0x365cb5(0x196)]);for(const _0x4d8cd4 of this[_0x365cb5(0x196)]){const _0x12c54c=this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x4d8cd4)[_0x365cb5(0x190)];for(const _0x33003c of _0x12c54c)_0x2dffa8[_0x365cb5(0x195)](_0x33003c,_0x4d8cd4);}for(const _0x25bc22 of _0x272ebc){const _0x50c54b=_0x2dffa8[_0x365cb5(0x181)](_0x25bc22);this[_0x365cb5(0x17d)](_0x25bc22);const _0x232952=_0x2931e6[_0x365cb5(0x179)](_0x3d1379=>this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x3d1379)[_0x365cb5(0x1a6)](_0x25bc22));_0x50c54b!==_0x232952&&(_0x50c54b&&this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x50c54b)[_0x365cb5(0x190)][_0x365cb5(0x194)](_0x25bc22),_0x232952&&this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x232952)[_0x365cb5(0x190)][_0x365cb5(0x197)](_0x25bc22));}}[_0x2ac6c5(0x18f)](){const _0x59c1ba=_0x2ac6c5;this[_0x59c1ba(0x19f)](),super[_0x59c1ba(0x18f)]();}[_0x2ac6c5(0x17d)](_0x70ebd4){const _0x135b5c=_0x2ac6c5,_0x321506=[];for(const _0x4636dc of this[_0x135b5c(0x196)]){(0x0,this[_0x135b5c(0x184)][_0x135b5c(0x181)](_0x4636dc)[_0x135b5c(0x1a6)])(_0x70ebd4)&&_0x321506[_0x135b5c(0x186)](_0x4636dc);}if(_0x321506[_0x135b5c(0x18d)]>0x1)throw new _0x47fec4(_0x135b5c(0x16f),null,{'matchedUIs':_0x321506,'annotationType':_0x70ebd4[_0x135b5c(0x188)]});}}function _0x4dd9(_0x471e99,_0x46649e){const _0xccbc4f=_0xccbc();return _0x4dd9=function(_0x4dd907,_0x28420e){_0x4dd907=_0x4dd907-0x16f;let _0x521f26=_0xccbc4f[_0x4dd907];return _0x521f26;},_0x4dd9(_0x471e99,_0x46649e);}function _0xccbc(){const _0x5467f4=['210668DjQwqW','_removeActiveAnnotation','AnnotationsUIs','refilterAnnotations','_visibleAnnotations','isActive','_setSelectedAnnotations','85480eFYAfG','plugins','find','switchTo','404715kXyPUR','64246lAmKdQ','_assertAnnotationDoesNotBelongToMultipleUIs','size','setActiveAnnotation','activeAnnotations','get','requires','attach','_uisData','from','push','function','type','_activateAnnotation','activate','deactivate','9867681foSCZc','length','108124eYPdRS','destroy','collection','70MGuQld','annotationsuis-register-already-registered','listenTo','remove','set','activeUIs','add','pluginName','_addActiveAnnotation','annotationsuis-register-invalid-interface','register','_deactivateAllAnnotations','detach','hasActive','deactivateAll','stopListening','962694KcJiYx','change:activeAnnotation','_uis','has','35skHBzQ','filter','context','annotationsuis-missing-ui','init','delete','annotationsuis-annotation-mismatch'];_0xccbc=function(){return _0x5467f4;};return _0xccbc();}