@ckeditor/ckeditor5-comments 41.2.1 → 41.3.0-alpha.2

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 (201) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/content-index.css +332 -0
  3. package/dist/editor-index.css +902 -0
  4. package/dist/index.css +1874 -0
  5. package/dist/translations/af.d.ts +8 -0
  6. package/dist/translations/af.js +23 -0
  7. package/dist/translations/ar.d.ts +8 -0
  8. package/dist/translations/ar.js +23 -0
  9. package/dist/translations/bg.d.ts +8 -0
  10. package/dist/translations/bg.js +23 -0
  11. package/dist/translations/bn.d.ts +8 -0
  12. package/dist/translations/bn.js +23 -0
  13. package/dist/translations/bs.d.ts +8 -0
  14. package/dist/translations/bs.js +23 -0
  15. package/dist/translations/ca.d.ts +8 -0
  16. package/dist/translations/ca.js +23 -0
  17. package/dist/translations/cs.d.ts +8 -0
  18. package/dist/translations/cs.js +23 -0
  19. package/dist/translations/da.d.ts +8 -0
  20. package/dist/translations/da.js +23 -0
  21. package/dist/translations/de-ch.d.ts +8 -0
  22. package/dist/translations/de-ch.js +23 -0
  23. package/dist/translations/de.d.ts +8 -0
  24. package/dist/translations/de.js +23 -0
  25. package/dist/translations/el.d.ts +8 -0
  26. package/dist/translations/el.js +23 -0
  27. package/dist/translations/en-au.d.ts +8 -0
  28. package/dist/translations/en-au.js +23 -0
  29. package/dist/translations/en.d.ts +8 -0
  30. package/dist/translations/en.js +23 -0
  31. package/dist/translations/es-co.d.ts +8 -0
  32. package/dist/translations/es-co.js +23 -0
  33. package/dist/translations/es.d.ts +8 -0
  34. package/dist/translations/es.js +23 -0
  35. package/dist/translations/et.d.ts +8 -0
  36. package/dist/translations/et.js +23 -0
  37. package/dist/translations/fa.d.ts +8 -0
  38. package/dist/translations/fa.js +23 -0
  39. package/dist/translations/fi.d.ts +8 -0
  40. package/dist/translations/fi.js +23 -0
  41. package/dist/translations/fr.d.ts +8 -0
  42. package/dist/translations/fr.js +23 -0
  43. package/dist/translations/gl.d.ts +8 -0
  44. package/dist/translations/gl.js +23 -0
  45. package/dist/translations/he.d.ts +8 -0
  46. package/dist/translations/he.js +23 -0
  47. package/dist/translations/hi.d.ts +8 -0
  48. package/dist/translations/hi.js +23 -0
  49. package/dist/translations/hr.d.ts +8 -0
  50. package/dist/translations/hr.js +23 -0
  51. package/dist/translations/hu.d.ts +8 -0
  52. package/dist/translations/hu.js +23 -0
  53. package/dist/translations/id.d.ts +8 -0
  54. package/dist/translations/id.js +23 -0
  55. package/dist/translations/it.d.ts +8 -0
  56. package/dist/translations/it.js +23 -0
  57. package/dist/translations/ja.d.ts +8 -0
  58. package/dist/translations/ja.js +23 -0
  59. package/dist/translations/jv.d.ts +8 -0
  60. package/dist/translations/jv.js +23 -0
  61. package/dist/translations/ko.d.ts +8 -0
  62. package/dist/translations/ko.js +23 -0
  63. package/dist/translations/lt.d.ts +8 -0
  64. package/dist/translations/lt.js +23 -0
  65. package/dist/translations/lv.d.ts +8 -0
  66. package/dist/translations/lv.js +23 -0
  67. package/dist/translations/ms.d.ts +8 -0
  68. package/dist/translations/ms.js +23 -0
  69. package/dist/translations/nl.d.ts +8 -0
  70. package/dist/translations/nl.js +23 -0
  71. package/dist/translations/no.d.ts +8 -0
  72. package/dist/translations/no.js +23 -0
  73. package/dist/translations/pl.d.ts +8 -0
  74. package/dist/translations/pl.js +23 -0
  75. package/dist/translations/pt-br.d.ts +8 -0
  76. package/dist/translations/pt-br.js +23 -0
  77. package/dist/translations/pt.d.ts +8 -0
  78. package/dist/translations/pt.js +23 -0
  79. package/dist/translations/ro.d.ts +8 -0
  80. package/dist/translations/ro.js +23 -0
  81. package/dist/translations/ru.d.ts +8 -0
  82. package/dist/translations/ru.js +23 -0
  83. package/dist/translations/sk.d.ts +8 -0
  84. package/dist/translations/sk.js +23 -0
  85. package/dist/translations/sq.d.ts +8 -0
  86. package/dist/translations/sq.js +23 -0
  87. package/dist/translations/sr-latn.d.ts +8 -0
  88. package/dist/translations/sr-latn.js +23 -0
  89. package/dist/translations/sr.d.ts +8 -0
  90. package/dist/translations/sr.js +23 -0
  91. package/dist/translations/sv.d.ts +8 -0
  92. package/dist/translations/sv.js +23 -0
  93. package/dist/translations/th.d.ts +8 -0
  94. package/dist/translations/th.js +23 -0
  95. package/dist/translations/tk.d.ts +8 -0
  96. package/dist/translations/tk.js +23 -0
  97. package/dist/translations/tr.d.ts +8 -0
  98. package/dist/translations/tr.js +23 -0
  99. package/dist/translations/tt.d.ts +8 -0
  100. package/dist/translations/tt.js +23 -0
  101. package/dist/translations/ug.d.ts +8 -0
  102. package/dist/translations/ug.js +23 -0
  103. package/dist/translations/uk.d.ts +8 -0
  104. package/dist/translations/uk.js +23 -0
  105. package/dist/translations/ur.d.ts +8 -0
  106. package/dist/translations/ur.js +23 -0
  107. package/dist/translations/vi.d.ts +8 -0
  108. package/dist/translations/vi.js +23 -0
  109. package/dist/translations/zh-cn.d.ts +8 -0
  110. package/dist/translations/zh-cn.js +23 -0
  111. package/dist/translations/zh.d.ts +8 -0
  112. package/dist/translations/zh.js +23 -0
  113. package/dist/types/annotations/annotation.d.ts +94 -0
  114. package/dist/types/annotations/annotationcollection.d.ts +102 -0
  115. package/dist/types/annotations/annotations.d.ts +158 -0
  116. package/dist/types/annotations/annotationsuis.d.ts +236 -0
  117. package/dist/types/annotations/editorannotations.d.ts +71 -0
  118. package/dist/types/annotations/inlineannotations.d.ts +94 -0
  119. package/dist/types/annotations/narrowsidebar.d.ts +89 -0
  120. package/dist/types/annotations/sidebar.d.ts +104 -0
  121. package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
  122. package/dist/types/annotations/view/annotationview.d.ts +94 -0
  123. package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
  124. package/dist/types/annotations/view/sidebarview.d.ts +36 -0
  125. package/dist/types/annotations/widesidebar.d.ts +81 -0
  126. package/dist/types/augmentation.d.ts +56 -0
  127. package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
  128. package/dist/types/comments/commentsarchive.d.ts +35 -0
  129. package/dist/types/comments/commentsarchiveui.d.ts +42 -0
  130. package/dist/types/comments/commentsediting.d.ts +84 -0
  131. package/dist/types/comments/commentsrepository.d.ts +1134 -0
  132. package/dist/types/comments/commentsui.d.ts +37 -0
  133. package/dist/types/comments/integrations/clipboard.d.ts +30 -0
  134. package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
  135. package/dist/types/comments/integrations/importword.d.ts +25 -0
  136. package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
  137. package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
  138. package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
  139. package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
  140. package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
  141. package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
  142. package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
  143. package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
  144. package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
  145. package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
  146. package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
  147. package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
  148. package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
  149. package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
  150. package/dist/types/comments/ui/view/commentview.d.ts +247 -0
  151. package/dist/types/comments.d.ts +39 -0
  152. package/dist/types/commentsonly.d.ts +37 -0
  153. package/dist/types/config.d.ts +202 -0
  154. package/dist/types/index.d.ts +28 -0
  155. package/dist/types/utils/common-translations.d.ts +13 -0
  156. package/dist/types/utils/createmutationobserver.d.ts +18 -0
  157. package/package.json +4 -3
  158. package/src/annotations/annotation.js +1 -1
  159. package/src/annotations/annotationcollection.js +1 -1
  160. package/src/annotations/annotations.js +1 -1
  161. package/src/annotations/annotationsuis.js +1 -1
  162. package/src/annotations/editorannotations.js +1 -1
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.js +1 -1
  165. package/src/annotations/sidebar.js +1 -1
  166. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  167. package/src/annotations/view/annotationview.js +1 -1
  168. package/src/annotations/view/sidebaritemview.js +1 -1
  169. package/src/annotations/view/sidebarview.js +1 -1
  170. package/src/annotations/widesidebar.js +1 -1
  171. package/src/comments/addcommentthreadcommand.js +1 -1
  172. package/src/comments/commentsarchive.js +1 -1
  173. package/src/comments/commentsarchiveui.js +1 -1
  174. package/src/comments/commentsediting.js +1 -1
  175. package/src/comments/commentsrepository.js +1 -1
  176. package/src/comments/commentsui.js +1 -1
  177. package/src/comments/integrations/clipboard.js +1 -1
  178. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  179. package/src/comments/integrations/importword.js +1 -1
  180. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  181. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  182. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  183. package/src/comments/ui/commentthreadcontroller.js +1 -1
  184. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  185. package/src/comments/ui/view/basecommentview.js +1 -1
  186. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  187. package/src/comments/ui/view/commentcontentview.js +1 -1
  188. package/src/comments/ui/view/commentinputview.js +1 -1
  189. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  190. package/src/comments/ui/view/commentslistview.js +1 -1
  191. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  192. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  193. package/src/comments/ui/view/commentthreadview.js +1 -1
  194. package/src/comments/ui/view/commentview.js +1 -1
  195. package/src/comments.js +1 -1
  196. package/src/commentsonly.js +1 -1
  197. package/src/config.d.ts +17 -10
  198. package/src/index.d.ts +1 -1
  199. package/src/index.js +1 -1
  200. package/src/utils/common-translations.js +1 -1
  201. package/src/utils/createmutationobserver.js +1 -1
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "41.2.1",
3
+ "version": "41.3.0-alpha.2",
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.2.1",
48
- "ckeditor5-collaboration": "41.2.1",
48
+ "ckeditor5": "41.3.0-alpha.2",
49
+ "ckeditor5-collaboration": "41.3.0-alpha.2",
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
- function _0x42a6(){const _0x286f12=['_target','offsetParent','_type','2309021Fepryq','clear','getClientRects','stopListening','view','function','7McOaDg','refreshVisibility','target','9qJvJAa','innerView','length','170815DxEpoG','set','render','_id','_getNormalizedTarget','item','remove','nodeType','_assertCorrectTarget','updateTargetRect','94953kYKLls','focusableElements','every','802728CvZxBL','1022830TnjXuR','2483952qyLYOB','mainView','isVisible','20kaTGXD','focusTracker','type','element','object','filter','destroy','isArray','120ghwTXF','annotation-invalid-target','add','targetRect','isActive','8548JiqKKD'];_0x42a6=function(){return _0x286f12;};return _0x42a6();}const _0x3b5acb=_0x5952;(function(_0x34f996,_0x1bdba6){const _0x2af898=_0x5952,_0x473acb=_0x34f996();while(!![]){try{const _0x3efd37=-parseInt(_0x2af898(0x87))/0x1*(parseInt(_0x2af898(0x94))/0x2)+parseInt(_0x2af898(0x7f))/0x3+parseInt(_0x2af898(0x8f))/0x4*(parseInt(_0x2af898(0x75))/0x5)+parseInt(_0x2af898(0x84))/0x6*(-parseInt(_0x2af898(0x9e))/0x7)+parseInt(_0x2af898(0x82))/0x8+parseInt(_0x2af898(0xa1))/0x9*(parseInt(_0x2af898(0x83))/0xa)+-parseInt(_0x2af898(0x98))/0xb;if(_0x3efd37===_0x1bdba6)break;else _0x473acb['push'](_0x473acb['shift']());}catch(_0x3e6830){_0x473acb['push'](_0x473acb['shift']());}}}(_0x42a6,0x86396));import{CKEditorError as _0x461c61,Rect as _0x36c663,Collection as _0xd2e8,ObservableMixin as _0x258d13}from'ckeditor5/src/utils.js';export default class d extends _0x258d13(){constructor({view:_0x15ea2a,target:_0x1142c6,type:_0x649066,isVisible:_0x4c733b=!0x0}){const _0x15c386=_0x5952;super(),this[_0x15c386(0x9c)]=_0x15ea2a,this[_0x15c386(0x9c)][_0x15c386(0x8a)]||this[_0x15c386(0x9c)][_0x15c386(0x77)](),this[_0x15c386(0x97)]=_0x649066,this[_0x15c386(0x95)]=_0x1142c6,d[_0x15c386(0x7d)](this[_0x15c386(0x79)]()),this[_0x15c386(0x80)]=new _0xd2e8([this[_0x15c386(0x9c)][_0x15c386(0x8a)]],{'idProperty':_0x15c386(0x78)}),this[_0x15c386(0x80)]['on'](_0x15c386(0x91),(_0x5c73ec,_0x5aaf7e)=>{const _0x57c204=_0x15c386;this[_0x57c204(0x9c)][_0x57c204(0x88)][_0x57c204(0x91)](_0x5aaf7e);}),this[_0x15c386(0x80)]['on'](_0x15c386(0x7b),(_0x348e1b,_0x27b3e6)=>{const _0x1ed8f0=_0x15c386;this[_0x1ed8f0(0x9c)][_0x1ed8f0(0x88)][_0x1ed8f0(0x7b)](_0x27b3e6);}),this[_0x15c386(0x76)](_0x15c386(0x86),_0x4c733b);}get[_0x3b5acb(0x89)](){const _0x14593e=_0x3b5acb;return _0x14593e(0x9d)==typeof this[_0x14593e(0x97)]?this[_0x14593e(0x97)]():this[_0x14593e(0x97)];}get[_0x3b5acb(0xa2)](){const _0xd6fee3=_0x3b5acb;return this[_0xd6fee3(0x9c)][_0xd6fee3(0x85)];}get[_0x3b5acb(0xa0)](){const _0x23f318=_0x3b5acb,_0x4c0137=this[_0x23f318(0x79)]();return d[_0x23f318(0x7d)](_0x4c0137),_0x4c0137;}get[_0x3b5acb(0x92)](){const _0x3a6875=_0x3b5acb,_0x5e7338=this[_0x3a6875(0xa0)];if(null===_0x5e7338)return null;if(_0x5e7338 instanceof _0x36c663)return _0x5e7338;const _0x28058c=_0x5e7338[_0x3a6875(0x8c)](_0x1faa21=>function(_0x4610a4){const _0x3b76b2=_0x3a6875,_0x508272=_0x4610a4[_0x3b76b2(0x96)];if(_0x508272)return!0x0;const _0x368ce6=_0x4610a4[_0x3b76b2(0x9a)]()[_0x3b76b2(0x7a)](0x0);return!!_0x368ce6;}(_0x1faa21));return 0x0===_0x28058c[_0x3a6875(0xa3)]?null:new _0x36c663(_0x28058c[0x0][_0x3a6875(0x9a)]()[_0x3a6875(0x7a)](0x0));}get[_0x3b5acb(0x93)](){const _0x9c7ca6=_0x3b5acb;return this[_0x9c7ca6(0x9c)][_0x9c7ca6(0x93)];}set[_0x3b5acb(0x93)](_0x4f4efc){const _0x3763f0=_0x3b5acb;this[_0x3763f0(0x9c)][_0x3763f0(0x93)]=_0x4f4efc,this[_0x3763f0(0x9c)][_0x3763f0(0x85)][_0x3763f0(0x93)]=_0x4f4efc;}[_0x3b5acb(0x7e)](){const _0xb43f00=_0x3b5acb;this[_0xb43f00(0x9c)][_0xb43f00(0x92)]=this[_0xb43f00(0x92)];}[_0x3b5acb(0x8d)](){const _0x3f1e87=_0x3b5acb;this[_0x3f1e87(0x80)][_0x3f1e87(0x9b)](),this[_0x3f1e87(0x80)][_0x3f1e87(0x99)](),this[_0x3f1e87(0x9b)]();}[_0x3b5acb(0x9f)](){const _0x1a964b=_0x3b5acb;this[_0x1a964b(0x86)]=!!this[_0x1a964b(0x92)];}static[_0x3b5acb(0x7d)](_0x591c0e){const _0x10292b=_0x3b5acb;if(!(null===_0x591c0e||_0x591c0e instanceof _0x36c663||Array[_0x10292b(0x8e)](_0x591c0e)&&_0x591c0e[_0x10292b(0x81)](_0x4dee31=>y(_0x4dee31))))throw new _0x461c61(_0x10292b(0x90),null,{'target':_0x591c0e});}[_0x3b5acb(0x79)](){const _0x558a41=_0x3b5acb,_0x5e4f53=_0x558a41(0x9d)==typeof this[_0x558a41(0x95)]?this[_0x558a41(0x95)]():this[_0x558a41(0x95)];return y(_0x5e4f53)?[_0x5e4f53]:_0x5e4f53;}}function _0x5952(_0x28c38b,_0x29b794){const _0x42a6a2=_0x42a6();return _0x5952=function(_0x5952c1,_0x3eae7e){_0x5952c1=_0x5952c1-0x75;let _0x1139aa=_0x42a6a2[_0x5952c1];return _0x1139aa;},_0x5952(_0x28c38b,_0x29b794);}function y(_0x325e3c){const _0x503742=_0x3b5acb;return null!==_0x325e3c&&_0x503742(0x8b)==typeof _0x325e3c&&_0x503742(0x7c)in _0x325e3c&&0x1===_0x325e3c[_0x503742(0x7c)];}
23
+ const _0x204502=_0x12fa;function _0x2302(){const _0x3ab9eb=['annotation-invalid-target','5iOYqhU','refreshVisibility','54XDzObr','remove','getClientRects','focusTracker','3796520RRVqty','isArray','_getNormalizedTarget','target','object','innerView','1067464rQgwVI','mainView','582737JUBzys','_assertCorrectTarget','view','set','offsetParent','targetRect','2078250CRdXUz','updateTargetRect','nodeType','isActive','type','_type','item','4057724aiywgj','filter','1318614aaTPiK','clear','isVisible','focusableElements','element','function','add','stopListening','_target','length','render','_id','826236hiCIiw','destroy','every'];_0x2302=function(){return _0x3ab9eb;};return _0x2302();}(function(_0x556a01,_0x5d7288){const _0x3121a3=_0x12fa,_0x314285=_0x556a01();while(!![]){try{const _0x2f0fa6=-parseInt(_0x3121a3(0x15b))/0x1+parseInt(_0x3121a3(0x13d))/0x2+parseInt(_0x3121a3(0x161))/0x3+parseInt(_0x3121a3(0x13b))/0x4*(parseInt(_0x3121a3(0x14d))/0x5)+parseInt(_0x3121a3(0x149))/0x6+-parseInt(_0x3121a3(0x153))/0x7+-parseInt(_0x3121a3(0x159))/0x8*(parseInt(_0x3121a3(0x14f))/0x9);if(_0x2f0fa6===_0x5d7288)break;else _0x314285['push'](_0x314285['shift']());}catch(_0x4b0f4c){_0x314285['push'](_0x314285['shift']());}}}(_0x2302,0x8d3c3));import{CKEditorError as _0x2ae6c4,Rect as _0x535b66,Collection as _0x554ef7,ObservableMixin as _0x303d4b}from'ckeditor5/src/utils.js';function _0x12fa(_0x469746,_0x2ef76c){const _0x230209=_0x2302();return _0x12fa=function(_0x12fa05,_0x172918){_0x12fa05=_0x12fa05-0x13a;let _0x2a77be=_0x230209[_0x12fa05];return _0x2a77be;},_0x12fa(_0x469746,_0x2ef76c);}export default class d extends _0x303d4b(){constructor({view:_0x38dafc,target:_0xc806d4,type:_0x3e2c9e,isVisible:_0x3d7d47=!0x0}){const _0x8b4fcd=_0x12fa;super(),this[_0x8b4fcd(0x15d)]=_0x38dafc,this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x141)]||this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x147)](),this[_0x8b4fcd(0x166)]=_0x3e2c9e,this[_0x8b4fcd(0x145)]=_0xc806d4,d[_0x8b4fcd(0x15c)](this[_0x8b4fcd(0x155)]()),this[_0x8b4fcd(0x140)]=new _0x554ef7([this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x141)]],{'idProperty':_0x8b4fcd(0x148)}),this[_0x8b4fcd(0x140)]['on'](_0x8b4fcd(0x143),(_0x5c02a8,_0x37eb2f)=>{const _0x195df8=_0x8b4fcd;this[_0x195df8(0x15d)][_0x195df8(0x152)][_0x195df8(0x143)](_0x37eb2f);}),this[_0x8b4fcd(0x140)]['on'](_0x8b4fcd(0x150),(_0x4f677b,_0x2acb9d)=>{const _0x5e80fa=_0x8b4fcd;this[_0x5e80fa(0x15d)][_0x5e80fa(0x152)][_0x5e80fa(0x150)](_0x2acb9d);}),this[_0x8b4fcd(0x15e)](_0x8b4fcd(0x13f),_0x3d7d47);}get[_0x204502(0x165)](){const _0x4cafed=_0x204502;return _0x4cafed(0x142)==typeof this[_0x4cafed(0x166)]?this[_0x4cafed(0x166)]():this[_0x4cafed(0x166)];}get[_0x204502(0x158)](){const _0x286c55=_0x204502;return this[_0x286c55(0x15d)][_0x286c55(0x15a)];}get[_0x204502(0x156)](){const _0x315c31=_0x204502,_0x36e912=this[_0x315c31(0x155)]();return d[_0x315c31(0x15c)](_0x36e912),_0x36e912;}get[_0x204502(0x160)](){const _0x324cb9=_0x204502,_0x17ae72=this[_0x324cb9(0x156)];if(null===_0x17ae72)return null;if(_0x17ae72 instanceof _0x535b66)return _0x17ae72;const _0x171fdd=_0x17ae72[_0x324cb9(0x13c)](_0x477b36=>function(_0x1a37bc){const _0x3aacca=_0x324cb9,_0x4c2671=_0x1a37bc[_0x3aacca(0x15f)];if(_0x4c2671)return!0x0;const _0x28f748=_0x1a37bc[_0x3aacca(0x151)]()[_0x3aacca(0x13a)](0x0);return!!_0x28f748;}(_0x477b36));return 0x0===_0x171fdd[_0x324cb9(0x146)]?null:new _0x535b66(_0x171fdd[0x0][_0x324cb9(0x151)]()[_0x324cb9(0x13a)](0x0));}get[_0x204502(0x164)](){const _0x37b2e2=_0x204502;return this[_0x37b2e2(0x15d)][_0x37b2e2(0x164)];}set[_0x204502(0x164)](_0x31327d){const _0x197820=_0x204502;this[_0x197820(0x15d)][_0x197820(0x164)]=_0x31327d,this[_0x197820(0x15d)][_0x197820(0x15a)][_0x197820(0x164)]=_0x31327d;}[_0x204502(0x162)](){const _0x4f1c1b=_0x204502;this[_0x4f1c1b(0x15d)][_0x4f1c1b(0x160)]=this[_0x4f1c1b(0x160)];}[_0x204502(0x14a)](){const _0x577a01=_0x204502;this[_0x577a01(0x140)][_0x577a01(0x144)](),this[_0x577a01(0x140)][_0x577a01(0x13e)](),this[_0x577a01(0x144)]();}[_0x204502(0x14e)](){const _0x2da2ce=_0x204502;this[_0x2da2ce(0x13f)]=!!this[_0x2da2ce(0x160)];}static[_0x204502(0x15c)](_0x11076b){const _0x28d82b=_0x204502;if(!(null===_0x11076b||_0x11076b instanceof _0x535b66||Array[_0x28d82b(0x154)](_0x11076b)&&_0x11076b[_0x28d82b(0x14b)](_0x62b0cb=>y(_0x62b0cb))))throw new _0x2ae6c4(_0x28d82b(0x14c),null,{'target':_0x11076b});}[_0x204502(0x155)](){const _0x4e1bbc=_0x204502,_0x329045=_0x4e1bbc(0x142)==typeof this[_0x4e1bbc(0x145)]?this[_0x4e1bbc(0x145)]():this[_0x4e1bbc(0x145)];return y(_0x329045)?[_0x329045]:_0x329045;}}function y(_0x578a2c){const _0xe328d8=_0x204502;return null!==_0x578a2c&&_0xe328d8(0x157)==typeof _0x578a2c&&_0xe328d8(0x163)in _0x578a2c&&0x1===_0x578a2c[_0xe328d8(0x163)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f62e=_0x3242;(function(_0x1262ef,_0x1d6dd4){const _0x2bd23a=_0x3242,_0x699042=_0x1262ef();while(!![]){try{const _0x5adf20=parseInt(_0x2bd23a(0x81))/0x1+-parseInt(_0x2bd23a(0x8a))/0x2+parseInt(_0x2bd23a(0x76))/0x3+parseInt(_0x2bd23a(0x9c))/0x4+parseInt(_0x2bd23a(0x88))/0x5*(-parseInt(_0x2bd23a(0x8b))/0x6)+parseInt(_0x2bd23a(0x85))/0x7+parseInt(_0x2bd23a(0x72))/0x8*(-parseInt(_0x2bd23a(0x9b))/0x9);if(_0x5adf20===_0x1d6dd4)break;else _0x699042['push'](_0x699042['shift']());}catch(_0x31d1e3){_0x699042['push'](_0x699042['shift']());}}}(_0x57be,0x33b8a));import{CKEditorError as _0x13270d,Collection as _0x1b028f,FocusTracker as _0x505728}from'ckeditor5/src/utils.js';export default class x extends _0x1b028f{constructor(_0x586e80=[]){const _0x3224ee=_0x3242;super(),this[_0x3224ee(0x8e)]=new Map(),this[_0x3224ee(0x7c)]=new Map(),this[_0x3224ee(0x99)]=new _0x505728(),this[_0x3224ee(0x99)]['on'](_0x3224ee(0x98),(_0x389c35,_0x289efa,_0xf8e2da)=>{const _0x5d98b1=_0x3224ee;_0xf8e2da||this[_0x5d98b1(0x93)](_0x5d98b1(0x87));});for(const _0x295d2d of _0x586e80)this[_0x3224ee(0x95)](_0x295d2d);}get[_0x24f62e(0x7a)](){const _0x56cd64=_0x24f62e;return this[_0x56cd64(0x99)][_0x56cd64(0x7a)];}[_0x24f62e(0x95)](_0x171813){const _0x288bb5=_0x24f62e;if(this[_0x288bb5(0x80)](_0x171813))throw new _0x13270d(_0x288bb5(0x7b),null);this[_0x288bb5(0x8e)][_0x288bb5(0x83)](_0x171813[_0x288bb5(0x73)],_0x171813),this[_0x288bb5(0x7c)][_0x288bb5(0x83)](_0x171813[_0x288bb5(0x7d)],_0x171813);for(const _0x30eb50 of _0x171813[_0x288bb5(0x96)])this[_0x288bb5(0x99)][_0x288bb5(0x95)](_0x30eb50);this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x96)],_0x288bb5(0x95),(_0x34b6bb,_0x57d512)=>{const _0x4d06b5=_0x288bb5;this[_0x4d06b5(0x99)][_0x4d06b5(0x95)](_0x57d512);}),this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x96)],_0x288bb5(0x89),(_0x19374e,_0x5ac575)=>{const _0x525025=_0x288bb5;this[_0x525025(0x99)][_0x525025(0x89)](_0x5ac575);}),this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x7d)][_0x288bb5(0x84)],_0x288bb5(0x98),(_0x5a0299,_0x4dafab,_0x4fef47)=>{const _0x7074f=_0x288bb5;_0x4fef47&&this[_0x7074f(0x93)](_0x7074f(0x77),_0x171813);}),_0x171813[_0x288bb5(0x9e)]();const _0x3a0d22=this[_0x288bb5(0x74)](_0x171813[_0x288bb5(0x7d)][_0x288bb5(0x82)]);return super[_0x288bb5(0x95)](_0x171813,_0x3a0d22);}[_0x24f62e(0x89)](_0xa33f7d){const _0x5fbfb9=_0x24f62e;if(!this[_0x5fbfb9(0x80)](_0xa33f7d))throw new _0x13270d(_0x5fbfb9(0x8f),null);this[_0x5fbfb9(0x9a)](_0xa33f7d[_0x5fbfb9(0x7d)][_0x5fbfb9(0x84)]),this[_0x5fbfb9(0x9a)](_0xa33f7d[_0x5fbfb9(0x96)]);for(const _0x43c48c of _0xa33f7d[_0x5fbfb9(0x96)])this[_0x5fbfb9(0x99)][_0x5fbfb9(0x89)](_0x43c48c);return this[_0x5fbfb9(0x7c)][_0x5fbfb9(0x90)](_0xa33f7d[_0x5fbfb9(0x7d)]),this[_0x5fbfb9(0x8e)][_0x5fbfb9(0x90)](_0xa33f7d[_0x5fbfb9(0x73)]),super[_0x5fbfb9(0x89)](_0xa33f7d);}[_0x24f62e(0x92)](_0x3cbb9e){const _0x476c1b=_0x24f62e;return this[_0x476c1b(0x8e)][_0x476c1b(0x8c)](_0x3cbb9e);}[_0x24f62e(0x94)](_0x47f9a9){const _0x2e5552=_0x24f62e;return this[_0x2e5552(0x7c)][_0x2e5552(0x8c)](_0x47f9a9);}[_0x24f62e(0x86)](){const _0x587b6a=_0x24f62e;super[_0x587b6a(0x9d)](),this[_0x587b6a(0x9a)](),this[_0x587b6a(0x8e)][_0x587b6a(0x9d)](),this[_0x587b6a(0x7c)][_0x587b6a(0x9d)](),this[_0x587b6a(0x99)][_0x587b6a(0x86)]();}[_0x24f62e(0x79)](){const _0x4c0d81=_0x24f62e;for(const _0x51ef77 of this)_0x51ef77[_0x4c0d81(0x9e)]();this[_0x4c0d81(0x71)]();}[_0x24f62e(0x71)](){const _0x118051=_0x24f62e,_0x5b9fa1=Array[_0x118051(0x7e)](this)[_0x118051(0x8d)]((_0x26c4d7,_0x42e7bf)=>v(_0x26c4d7[_0x118051(0x7d)][_0x118051(0x82)],_0x42e7bf[_0x118051(0x7d)][_0x118051(0x82)]));for(let _0x5e2788=_0x5b9fa1[_0x118051(0x78)]-0x1;_0x5e2788>0x0;_0x5e2788--){const _0x22ca6d=_0x5b9fa1[_0x5e2788];_0x5e2788!==this[_0x118051(0x7f)](_0x22ca6d)&&(this[_0x118051(0x89)](_0x22ca6d),this[_0x118051(0x95)](_0x22ca6d));}}[_0x24f62e(0x74)](_0x51be55){const _0x3001f1=_0x24f62e;let _0x113251=0x0;if(!_0x51be55)return this[_0x3001f1(0x78)];for(const _0x12a09f of this){const _0x3cb12b=_0x12a09f[_0x3001f1(0x7d)][_0x3001f1(0x82)];if(_0x3cb12b){if(v(_0x51be55,_0x3cb12b)<0x0)return _0x113251;_0x113251++;}}return _0x113251;}}export function bindAnnotationCollections({source:_0x5ddd38,target:_0x250714,filter:_0x2ab011}){const _0x373997=_0x24f62e;for(const _0x4e9167 of _0x5ddd38)_0x2ab011(_0x4e9167)&&_0x250714[_0x373997(0x95)](_0x4e9167);_0x250714[_0x373997(0x75)](_0x5ddd38,_0x373997(0x95),(_0x5ded69,_0x558bec)=>{const _0x4b4d3e=_0x373997;_0x2ab011(_0x558bec)&&_0x250714[_0x4b4d3e(0x95)](_0x558bec);}),_0x250714[_0x373997(0x75)](_0x5ddd38,_0x373997(0x89),(_0x5ee9a2,_0x15086c)=>{const _0x402c23=_0x373997;_0x250714[_0x402c23(0x80)](_0x15086c)&&_0x250714[_0x402c23(0x89)](_0x15086c);});}function _0x3242(_0xc56f3a,_0x2f6833){const _0x57bece=_0x57be();return _0x3242=function(_0x3242d0,_0x5d6673){_0x3242d0=_0x3242d0-0x71;let _0x457b2f=_0x57bece[_0x3242d0];return _0x457b2f;},_0x3242(_0xc56f3a,_0x2f6833);}function v(_0x68c81,_0x320896){const _0x31141a=_0x24f62e;if(null===_0x68c81&&null===_0x320896)return 0x0;if(null===_0x68c81)return-0x1;if(null===_0x320896)return 0x1;const _0x3b8fb9=_0x68c81[_0x31141a(0x97)]-_0x320896[_0x31141a(0x97)];return 0x0==_0x3b8fb9?_0x68c81[_0x31141a(0x91)]-_0x320896[_0x31141a(0x91)]:_0x3b8fb9;}function _0x57be(){const _0x54a0f7=['1181217llgOzn','focus','length','refreshPositioning','isFocused','annotationcollection-duplicated-item','_viewToAnnotation','view','from','getIndex','has','317544xxOXcJ','targetRect','set','focusTracker','2805964PtUWtK','destroy','blur','184795iRIAKr','remove','509292cAGDWa','6ZyiYka','get','sort','_innerViewToAnnotation','annotationcollection-not-existing-item','delete','left','getByInnerView','fire','getByView','add','focusableElements','top','change:isFocused','_focusTracker','stopListening','9JPdBGw','1614204yWZjqY','clear','updateTargetRect','_sort','8097848pbYupM','innerView','_getOrderInContent','listenTo'];_0x57be=function(){return _0x54a0f7;};return _0x57be();}
23
+ const _0x1985a3=_0x1429;(function(_0x3e4c7a,_0xd8915c){const _0x50434d=_0x1429,_0x22a83b=_0x3e4c7a();while(!![]){try{const _0x1fc6fc=parseInt(_0x50434d(0xf4))/0x1+parseInt(_0x50434d(0xd8))/0x2+parseInt(_0x50434d(0xd3))/0x3*(parseInt(_0x50434d(0xd2))/0x4)+-parseInt(_0x50434d(0xdd))/0x5*(parseInt(_0x50434d(0xd1))/0x6)+parseInt(_0x50434d(0xe5))/0x7*(-parseInt(_0x50434d(0xf6))/0x8)+-parseInt(_0x50434d(0xf7))/0x9+parseInt(_0x50434d(0xca))/0xa;if(_0x1fc6fc===_0xd8915c)break;else _0x22a83b['push'](_0x22a83b['shift']());}catch(_0x356c25){_0x22a83b['push'](_0x22a83b['shift']());}}}(_0x38ab,0xd83be));function _0x38ab(){const _0x232248=['clear','_innerViewToAnnotation','_viewToAnnotation','focus','_focusTracker','108wlIqkM','4403956XajHUI','3zMMOlD','delete','isFocused','getByInnerView','get','489786XXORKu','getIndex','updateTargetRect','focusTracker','_getOrderInContent','348470eZIrvS','annotationcollection-duplicated-item','listenTo','add','top','destroy','set','sort','475531TdzfOD','fire','annotationcollection-not-existing-item','has','targetRect','length','change:isFocused','left','from','view','_sort','refreshPositioning','stopListening','blur','focusableElements','1392565WaiDle','innerView','200evpwpV','420201NPLQtH','getByView','11467530qrvNMz','remove'];_0x38ab=function(){return _0x232248;};return _0x38ab();}import{CKEditorError as _0x55b7ec,Collection as _0x4dacb2,FocusTracker as _0x2a05fe}from'ckeditor5/src/utils.js';export default class x extends _0x4dacb2{constructor(_0x571c7b=[]){const _0x5661b7=_0x1429;super(),this[_0x5661b7(0xcd)]=new Map(),this[_0x5661b7(0xce)]=new Map(),this[_0x5661b7(0xd0)]=new _0x2a05fe(),this[_0x5661b7(0xd0)]['on'](_0x5661b7(0xeb),(_0x4ac06a,_0x4c88e5,_0x35e347)=>{const _0x417133=_0x5661b7;_0x35e347||this[_0x417133(0xe6)](_0x417133(0xf2));});for(const _0xaeba46 of _0x571c7b)this[_0x5661b7(0xe0)](_0xaeba46);}get[_0x1985a3(0xd5)](){const _0x205f00=_0x1985a3;return this[_0x205f00(0xd0)][_0x205f00(0xd5)];}[_0x1985a3(0xe0)](_0x2435a2){const _0xcb927b=_0x1985a3;if(this[_0xcb927b(0xe8)](_0x2435a2))throw new _0x55b7ec(_0xcb927b(0xde),null);this[_0xcb927b(0xcd)][_0xcb927b(0xe3)](_0x2435a2[_0xcb927b(0xf5)],_0x2435a2),this[_0xcb927b(0xce)][_0xcb927b(0xe3)](_0x2435a2[_0xcb927b(0xee)],_0x2435a2);for(const _0x4459f8 of _0x2435a2[_0xcb927b(0xf3)])this[_0xcb927b(0xd0)][_0xcb927b(0xe0)](_0x4459f8);this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xf3)],_0xcb927b(0xe0),(_0x1d5caa,_0x3d0cc8)=>{const _0x556f34=_0xcb927b;this[_0x556f34(0xd0)][_0x556f34(0xe0)](_0x3d0cc8);}),this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xf3)],_0xcb927b(0xcb),(_0x5101b7,_0x5c4678)=>{const _0x555ef5=_0xcb927b;this[_0x555ef5(0xd0)][_0x555ef5(0xcb)](_0x5c4678);}),this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xee)][_0xcb927b(0xdb)],_0xcb927b(0xeb),(_0x1c9f7c,_0x298da1,_0xa08519)=>{const _0x4b0953=_0xcb927b;_0xa08519&&this[_0x4b0953(0xe6)](_0x4b0953(0xcf),_0x2435a2);}),_0x2435a2[_0xcb927b(0xda)]();const _0x28de4f=this[_0xcb927b(0xdc)](_0x2435a2[_0xcb927b(0xee)][_0xcb927b(0xe9)]);return super[_0xcb927b(0xe0)](_0x2435a2,_0x28de4f);}[_0x1985a3(0xcb)](_0x23bc6e){const _0x54bd64=_0x1985a3;if(!this[_0x54bd64(0xe8)](_0x23bc6e))throw new _0x55b7ec(_0x54bd64(0xe7),null);this[_0x54bd64(0xf1)](_0x23bc6e[_0x54bd64(0xee)][_0x54bd64(0xdb)]),this[_0x54bd64(0xf1)](_0x23bc6e[_0x54bd64(0xf3)]);for(const _0x26cba8 of _0x23bc6e[_0x54bd64(0xf3)])this[_0x54bd64(0xd0)][_0x54bd64(0xcb)](_0x26cba8);return this[_0x54bd64(0xce)][_0x54bd64(0xd4)](_0x23bc6e[_0x54bd64(0xee)]),this[_0x54bd64(0xcd)][_0x54bd64(0xd4)](_0x23bc6e[_0x54bd64(0xf5)]),super[_0x54bd64(0xcb)](_0x23bc6e);}[_0x1985a3(0xd6)](_0x5e4120){const _0xc7fb35=_0x1985a3;return this[_0xc7fb35(0xcd)][_0xc7fb35(0xd7)](_0x5e4120);}[_0x1985a3(0xc9)](_0x3ab40e){const _0x35a0fd=_0x1985a3;return this[_0x35a0fd(0xce)][_0x35a0fd(0xd7)](_0x3ab40e);}[_0x1985a3(0xe2)](){const _0x28eeff=_0x1985a3;super[_0x28eeff(0xcc)](),this[_0x28eeff(0xf1)](),this[_0x28eeff(0xcd)][_0x28eeff(0xcc)](),this[_0x28eeff(0xce)][_0x28eeff(0xcc)](),this[_0x28eeff(0xd0)][_0x28eeff(0xe2)]();}[_0x1985a3(0xf0)](){const _0x423b9b=_0x1985a3;for(const _0xdad858 of this)_0xdad858[_0x423b9b(0xda)]();this[_0x423b9b(0xef)]();}[_0x1985a3(0xef)](){const _0x442483=_0x1985a3,_0x264635=Array[_0x442483(0xed)](this)[_0x442483(0xe4)]((_0x2902dd,_0x146cae)=>v(_0x2902dd[_0x442483(0xee)][_0x442483(0xe9)],_0x146cae[_0x442483(0xee)][_0x442483(0xe9)]));for(let _0x1a2469=_0x264635[_0x442483(0xea)]-0x1;_0x1a2469>0x0;_0x1a2469--){const _0x1ca00c=_0x264635[_0x1a2469];_0x1a2469!==this[_0x442483(0xd9)](_0x1ca00c)&&(this[_0x442483(0xcb)](_0x1ca00c),this[_0x442483(0xe0)](_0x1ca00c));}}[_0x1985a3(0xdc)](_0x5d4f9f){const _0x1202f0=_0x1985a3;let _0x304909=0x0;if(!_0x5d4f9f)return this[_0x1202f0(0xea)];for(const _0x50a1d8 of this){const _0x478a1b=_0x50a1d8[_0x1202f0(0xee)][_0x1202f0(0xe9)];if(_0x478a1b){if(v(_0x5d4f9f,_0x478a1b)<0x0)return _0x304909;_0x304909++;}}return _0x304909;}}function _0x1429(_0x336098,_0x504f60){const _0x38ab69=_0x38ab();return _0x1429=function(_0x1429b4,_0x3140e0){_0x1429b4=_0x1429b4-0xc9;let _0x4174b2=_0x38ab69[_0x1429b4];return _0x4174b2;},_0x1429(_0x336098,_0x504f60);}export function bindAnnotationCollections({source:_0x39cfbf,target:_0x4c211b,filter:_0x5ed1e8}){const _0x28b17a=_0x1985a3;for(const _0x10b120 of _0x39cfbf)_0x5ed1e8(_0x10b120)&&_0x4c211b[_0x28b17a(0xe0)](_0x10b120);_0x4c211b[_0x28b17a(0xdf)](_0x39cfbf,_0x28b17a(0xe0),(_0x5c216d,_0x2b875c)=>{const _0x35f1de=_0x28b17a;_0x5ed1e8(_0x2b875c)&&_0x4c211b[_0x35f1de(0xe0)](_0x2b875c);}),_0x4c211b[_0x28b17a(0xdf)](_0x39cfbf,_0x28b17a(0xcb),(_0x1d6493,_0x51b749)=>{const _0xcfa938=_0x28b17a;_0x4c211b[_0xcfa938(0xe8)](_0x51b749)&&_0x4c211b[_0xcfa938(0xcb)](_0x51b749);});}function v(_0x1240cf,_0x5b957a){const _0x109fb2=_0x1985a3;if(null===_0x1240cf&&null===_0x5b957a)return 0x0;if(null===_0x1240cf)return-0x1;if(null===_0x5b957a)return 0x1;const _0x39a706=_0x1240cf[_0x109fb2(0xe1)]-_0x5b957a[_0x109fb2(0xe1)];return 0x0==_0x39a706?_0x1240cf[_0x109fb2(0xec)]-_0x5b957a[_0x109fb2(0xec)]:_0x39a706;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e2f8e=_0x4ba5;(function(_0x5b1ce8,_0x567293){const _0x21a352=_0x4ba5,_0x456e1e=_0x5b1ce8();while(!![]){try{const _0x3f0250=-parseInt(_0x21a352(0x1a2))/0x1+-parseInt(_0x21a352(0x1a6))/0x2*(parseInt(_0x21a352(0x19e))/0x3)+parseInt(_0x21a352(0x1b4))/0x4+-parseInt(_0x21a352(0x1c7))/0x5+parseInt(_0x21a352(0x1bc))/0x6+parseInt(_0x21a352(0x1c2))/0x7*(parseInt(_0x21a352(0x1aa))/0x8)+parseInt(_0x21a352(0x1a9))/0x9*(parseInt(_0x21a352(0x1b0))/0xa);if(_0x3f0250===_0x567293)break;else _0x456e1e['push'](_0x456e1e['shift']());}catch(_0x13e0f0){_0x456e1e['push'](_0x456e1e['shift']());}}}(_0x35a4,0x8b7cf));function _0x4ba5(_0x3bf227,_0x3763a1){const _0x35a4bc=_0x35a4();return _0x4ba5=function(_0x4ba582,_0x12cbf7){_0x4ba582=_0x4ba582-0x19e;let _0x532f31=_0x35a4bc[_0x4ba582];return _0x532f31;},_0x4ba5(_0x3bf227,_0x3763a1);}import{ContextPlugin as _0x3645a4}from'ckeditor5/src/core.js';import _0x149839 from'./annotation.js';import _0x31c746 from'./annotationcollection.js';import _0x1bb904 from'./view/annotationview.js';export default class b extends _0x3645a4{static get[_0x5e2f8e(0x1c5)](){const _0x159fd6=_0x5e2f8e;return _0x159fd6(0x1b8);}constructor(_0x457342){const _0x1ecfab=_0x5e2f8e;super(_0x457342),this[_0x1ecfab(0x1b3)]=new _0x31c746(),this[_0x1ecfab(0x1ba)]=new _0x31c746(),this[_0x1ecfab(0x1bd)](_0x1ecfab(0x1ad),new Set()),this[_0x1ecfab(0x1c6)]();}[_0x5e2f8e(0x1c4)](_0x1b521d){const _0x442777=_0x5e2f8e;this[_0x442777(0x1b3)][_0x442777(0x1c4)](_0x1b521d);}[_0x5e2f8e(0x1a8)](_0xb1a98f){const _0x2bfb7a=_0x5e2f8e;this[_0x2bfb7a(0x1b3)][_0x2bfb7a(0x1a8)](_0xb1a98f),_0xb1a98f[_0x2bfb7a(0x1b5)]();}[_0x5e2f8e(0x1c3)](){const _0x5a527a=_0x5e2f8e;for(const _0x144c7d of this[_0x5a527a(0x1b3)])_0x144c7d[_0x5a527a(0x1c3)]();}[_0x5e2f8e(0x1a5)](){const _0x2602ea=_0x5e2f8e;this[_0x2602ea(0x1ba)][_0x2602ea(0x1a5)]();}[_0x5e2f8e(0x1bf)](_0x16a46a){const _0x1cc772=_0x5e2f8e;return this[_0x1cc772(0x1b3)][_0x1cc772(0x1bf)](_0x16a46a);}[_0x5e2f8e(0x1c1)](){const _0x5db9d2=_0x5e2f8e;this[_0x5db9d2(0x1a4)](_0x5db9d2(0x1a1));}[_0x5e2f8e(0x1b5)](){const _0x24db8b=_0x5e2f8e;for(const _0x12dd3b of this[_0x24db8b(0x1b3)])_0x12dd3b[_0x24db8b(0x1b5)]();this[_0x24db8b(0x1ba)][_0x24db8b(0x1b5)](),this[_0x24db8b(0x1b3)][_0x24db8b(0x1b5)](),super[_0x24db8b(0x1b5)]();}[_0x5e2f8e(0x1b7)](_0xb78cc2){const _0x3532d0=_0x5e2f8e;this[_0x3532d0(0x1a4)](_0x3532d0(0x1a0),_0xb78cc2);}[_0x5e2f8e(0x1ae)](_0x3ce3da){return new _0x149839(_0x3ce3da);}[_0x5e2f8e(0x1ab)](_0x2e778f,_0x5e7b8b){return new _0x1bb904(_0x2e778f,_0x5e7b8b);}[_0x5e2f8e(0x19f)](_0xef9013){const _0xcd5232=_0x5e2f8e,_0x23740d=new Set(this[_0xcd5232(0x1ad)]);_0x23740d[_0xcd5232(0x1c4)](_0xef9013),this[_0xcd5232(0x1ad)]=_0x23740d;}[_0x5e2f8e(0x1c0)](_0x1bb717){const _0x5a3319=_0x5e2f8e,_0x585a7b=new Set(this[_0x5a3319(0x1ad)]);_0x585a7b[_0x5a3319(0x1b9)](_0x1bb717),this[_0x5a3319(0x1ad)]=_0x585a7b;}[_0x5e2f8e(0x1c6)](){const _0x3cb26d=_0x5e2f8e,_0x2f7399=this[_0x3cb26d(0x1b3)],_0x3c3e2c=this[_0x3cb26d(0x1ba)];function _0xb0a47(_0x598de4){const _0x525f11=_0x3cb26d,_0x24f7f2=_0x598de4[_0x525f11(0x1af)];_0x24f7f2[_0x525f11(0x1b1)]&&!_0x3c3e2c[_0x525f11(0x1ac)](_0x24f7f2)?_0x3c3e2c[_0x525f11(0x1c4)](_0x24f7f2):!_0x24f7f2[_0x525f11(0x1b1)]&&_0x3c3e2c[_0x525f11(0x1ac)](_0x24f7f2)&&_0x3c3e2c[_0x525f11(0x1a8)](_0x24f7f2),_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1bb)][_0x525f11(0x1a8)](_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1a7)]),_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1bb)][_0x525f11(0x1c4)](_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1a7)]);}this[_0x3cb26d(0x1a3)](_0x2f7399,_0x3cb26d(0x1c4),(_0x98e7a9,_0x99524f)=>{const _0x3c5c14=_0x3cb26d;_0x99524f[_0x3c5c14(0x1b1)]&&_0x3c3e2c[_0x3c5c14(0x1c4)](_0x99524f),this[_0x3c5c14(0x1a3)](_0x99524f,_0x3c5c14(0x1b6),_0xb0a47);}),this[_0x3cb26d(0x1a3)](_0x2f7399,_0x3cb26d(0x1a8),(_0x356bcb,_0xca25d3)=>{const _0x2c5124=_0x3cb26d;_0x3c3e2c[_0x2c5124(0x1ac)](_0xca25d3)&&_0x3c3e2c[_0x2c5124(0x1a8)](_0xca25d3),this[_0x2c5124(0x1b2)](_0xca25d3,_0x2c5124(0x1b6),_0xb0a47);});}}function _0x35a4(){const _0x24953d=['isVisible','stopListening','collection','1703020HAbAwf','destroy','change:isVisible','activate','Annotations','delete','_visibleAnnotations','focusTracker','3071718KchXLV','set','view','getByInnerView','_removeActiveAnnotation','deactivateAll','1197gBinXr','refreshVisibility','add','pluginName','_bindAnnotationsToVisibleAnnotations','5660385xyzfIT','2922NYwdTT','_addActiveAnnotation','_activateAnnotation','_deactivateAllAnnotations','835957pFJkbS','listenTo','fire','refreshPositioning','952jQbfQY','element','remove','9eLjSXE','48104QrdhJt','createAnnotationView','has','activeAnnotations','createAnnotation','source','10370700UZsQSc'];_0x35a4=function(){return _0x24953d;};return _0x35a4();}
23
+ const _0x43e53c=_0x5038;function _0x3a80(){const _0x4bb95c=['_bindAnnotationsToVisibleAnnotations','collection','_activateAnnotation','activate','552211WGJBvg','set','change:isVisible','element','444XinmkV','isVisible','pluginName','260132RDyfqA','has','_removeActiveAnnotation','2MTAmKR','_visibleAnnotations','refreshPositioning','fire','_deactivateAllAnnotations','source','add','970680bjNtsk','28nSbyPA','delete','view','2928140HqoUEs','listenTo','createAnnotationView','refreshVisibility','_addActiveAnnotation','activeAnnotations','1758170WrkhHz','getByInnerView','9xJocAJ','326718jwfoLG','remove','Annotations','14mMvWEX','createAnnotation','205005KSZVml','focusTracker','destroy','stopListening','deactivateAll'];_0x3a80=function(){return _0x4bb95c;};return _0x3a80();}function _0x5038(_0x31027b,_0x1d2cad){const _0x3a8015=_0x3a80();return _0x5038=function(_0x5038c0,_0x1c4907){_0x5038c0=_0x5038c0-0xaa;let _0x2eb49b=_0x3a8015[_0x5038c0];return _0x2eb49b;},_0x5038(_0x31027b,_0x1d2cad);}(function(_0x556f6f,_0x4e064c){const _0x3a9753=_0x5038,_0x39de53=_0x556f6f();while(!![]){try{const _0x30f042=-parseInt(_0x3a9753(0xc8))/0x1*(parseInt(_0x3a9753(0xc5))/0x2)+parseInt(_0x3a9753(0xb5))/0x3*(-parseInt(_0x3a9753(0xd0))/0x4)+-parseInt(_0x3a9753(0xad))/0x5+parseInt(_0x3a9753(0xb0))/0x6*(-parseInt(_0x3a9753(0xb3))/0x7)+parseInt(_0x3a9753(0xcf))/0x8*(-parseInt(_0x3a9753(0xaf))/0x9)+-parseInt(_0x3a9753(0xd3))/0xa+-parseInt(_0x3a9753(0xbe))/0xb*(-parseInt(_0x3a9753(0xc2))/0xc);if(_0x30f042===_0x4e064c)break;else _0x39de53['push'](_0x39de53['shift']());}catch(_0x21ab21){_0x39de53['push'](_0x39de53['shift']());}}}(_0x3a80,0x3ba2f));import{ContextPlugin as _0x361701}from'ckeditor5/src/core.js';import _0x569183 from'./annotation.js';import _0x5ad8b0 from'./annotationcollection.js';import _0x457df2 from'./view/annotationview.js';export default class b extends _0x361701{static get[_0x43e53c(0xc4)](){const _0x18f0e5=_0x43e53c;return _0x18f0e5(0xb2);}constructor(_0x49a521){const _0x1a5ad0=_0x43e53c;super(_0x49a521),this[_0x1a5ad0(0xbb)]=new _0x5ad8b0(),this[_0x1a5ad0(0xc9)]=new _0x5ad8b0(),this[_0x1a5ad0(0xbf)](_0x1a5ad0(0xac),new Set()),this[_0x1a5ad0(0xba)]();}[_0x43e53c(0xce)](_0x161cc4){const _0xdea9b0=_0x43e53c;this[_0xdea9b0(0xbb)][_0xdea9b0(0xce)](_0x161cc4);}[_0x43e53c(0xb1)](_0x201d01){const _0x31f113=_0x43e53c;this[_0x31f113(0xbb)][_0x31f113(0xb1)](_0x201d01),_0x201d01[_0x31f113(0xb7)]();}[_0x43e53c(0xaa)](){const _0xf0ba88=_0x43e53c;for(const _0x68a45a of this[_0xf0ba88(0xbb)])_0x68a45a[_0xf0ba88(0xaa)]();}[_0x43e53c(0xca)](){const _0x12f697=_0x43e53c;this[_0x12f697(0xc9)][_0x12f697(0xca)]();}[_0x43e53c(0xae)](_0x36867a){const _0x19f89d=_0x43e53c;return this[_0x19f89d(0xbb)][_0x19f89d(0xae)](_0x36867a);}[_0x43e53c(0xb9)](){const _0x9ae867=_0x43e53c;this[_0x9ae867(0xcb)](_0x9ae867(0xcc));}[_0x43e53c(0xb7)](){const _0x40cf53=_0x43e53c;for(const _0x269f95 of this[_0x40cf53(0xbb)])_0x269f95[_0x40cf53(0xb7)]();this[_0x40cf53(0xc9)][_0x40cf53(0xb7)](),this[_0x40cf53(0xbb)][_0x40cf53(0xb7)](),super[_0x40cf53(0xb7)]();}[_0x43e53c(0xbd)](_0x52dc97){const _0x37a83b=_0x43e53c;this[_0x37a83b(0xcb)](_0x37a83b(0xbc),_0x52dc97);}[_0x43e53c(0xb4)](_0x24ed7b){return new _0x569183(_0x24ed7b);}[_0x43e53c(0xd5)](_0x23b350,_0x42fbf9){return new _0x457df2(_0x23b350,_0x42fbf9);}[_0x43e53c(0xab)](_0x5895e0){const _0x1162c2=_0x43e53c,_0x2d00bb=new Set(this[_0x1162c2(0xac)]);_0x2d00bb[_0x1162c2(0xce)](_0x5895e0),this[_0x1162c2(0xac)]=_0x2d00bb;}[_0x43e53c(0xc7)](_0x2a99fc){const _0x5815b7=_0x43e53c,_0x24a8ae=new Set(this[_0x5815b7(0xac)]);_0x24a8ae[_0x5815b7(0xd1)](_0x2a99fc),this[_0x5815b7(0xac)]=_0x24a8ae;}[_0x43e53c(0xba)](){const _0x814324=_0x43e53c,_0x4dda7b=this[_0x814324(0xbb)],_0x19a2f4=this[_0x814324(0xc9)];function _0x2fa77e(_0x415bbc){const _0x4163ce=_0x814324,_0x253c0c=_0x415bbc[_0x4163ce(0xcd)];_0x253c0c[_0x4163ce(0xc3)]&&!_0x19a2f4[_0x4163ce(0xc6)](_0x253c0c)?_0x19a2f4[_0x4163ce(0xce)](_0x253c0c):!_0x253c0c[_0x4163ce(0xc3)]&&_0x19a2f4[_0x4163ce(0xc6)](_0x253c0c)&&_0x19a2f4[_0x4163ce(0xb1)](_0x253c0c),_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xb6)][_0x4163ce(0xb1)](_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xc1)]),_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xb6)][_0x4163ce(0xce)](_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xc1)]);}this[_0x814324(0xd4)](_0x4dda7b,_0x814324(0xce),(_0x533e28,_0x152641)=>{const _0x2ff3cf=_0x814324;_0x152641[_0x2ff3cf(0xc3)]&&_0x19a2f4[_0x2ff3cf(0xce)](_0x152641),this[_0x2ff3cf(0xd4)](_0x152641,_0x2ff3cf(0xc0),_0x2fa77e);}),this[_0x814324(0xd4)](_0x4dda7b,_0x814324(0xb1),(_0xf25f15,_0x22d231)=>{const _0xcce1fa=_0x814324;_0x19a2f4[_0xcce1fa(0xc6)](_0x22d231)&&_0x19a2f4[_0xcce1fa(0xb1)](_0x22d231),this[_0xcce1fa(0xb8)](_0x22d231,_0xcce1fa(0xc0),_0x2fa77e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20eaa8=_0x5928;function _0x5928(_0xe72b23,_0x2edeb3){const _0xeb2a37=_0xeb2a();return _0x5928=function(_0x592823,_0x396c95){_0x592823=_0x592823-0xfa;let _0x491d1c=_0xeb2a37[_0x592823];return _0x491d1c;},_0x5928(_0xe72b23,_0x2edeb3);}(function(_0xde9cd1,_0x38b4ca){const _0x182452=_0x5928,_0x57677a=_0xde9cd1();while(!![]){try{const _0x1dfcac=parseInt(_0x182452(0xfd))/0x1*(parseInt(_0x182452(0x123))/0x2)+-parseInt(_0x182452(0x118))/0x3+-parseInt(_0x182452(0x111))/0x4*(parseInt(_0x182452(0x11a))/0x5)+-parseInt(_0x182452(0x120))/0x6+-parseInt(_0x182452(0x104))/0x7+-parseInt(_0x182452(0x112))/0x8+parseInt(_0x182452(0x11c))/0x9*(parseInt(_0x182452(0x115))/0xa);if(_0x1dfcac===_0x38b4ca)break;else _0x57677a['push'](_0x57677a['shift']());}catch(_0x572b0a){_0x57677a['push'](_0x57677a['shift']());}}}(_0xeb2a,0x3a50c));import{ContextPlugin as _0xb474ac}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ba5d4}from'ckeditor5/src/utils.js';import _0x312ce9,{bindAnnotationCollections as _0x16adf4}from'./annotationcollection.js';import _0x1365a1 from'./annotations.js';function _0xeb2a(){const _0x226c25=['collection','push','248ZqqNHa','function','requires','get','activate','_addActiveAnnotation','_removeActiveAnnotation','1561322LLFuhe','context','deactivateAll','_assertAnnotationDoesNotBelongToMultipleUIs','from','plugins','init','AnnotationsUIs','annotationsuis-missing-ui','annotationsuis-annotation-mismatch','size','remove','annotationsuis-register-invalid-interface','308ezsAqi','1127240plciNo','stopListening','deactivate','96100YWNBJB','pluginName','hasActive','526452jYpaLH','delete','11335KUBoLm','switchTo','927lSzuND','listenTo','filter','_deactivateAllAnnotations','2084832vjXasA','set','_visibleAnnotations','2504GIYaOV','has','change:activeAnnotation','activeUIs','_uisData','_setSelectedAnnotations','_uis','annotationsuis-register-already-registered','_activateAnnotation','type','detach','attach','add','length','register','find','activeAnnotations','setActiveAnnotation','isActive','refilterAnnotations','destroy'];_0xeb2a=function(){return _0x226c25;};return _0xeb2a();}export default class j extends _0xb474ac{static get[_0x20eaa8(0xff)](){return[_0x1365a1];}static get[_0x20eaa8(0x116)](){const _0x6a7b9b=_0x20eaa8;return _0x6a7b9b(0x10b);}constructor(_0x5b68d8){const _0x211152=_0x20eaa8;super(_0x5b68d8),this[_0x211152(0x126)]=new Set(),this[_0x211152(0x129)]=new Map(),this[_0x211152(0x127)]=new Map();}[_0x20eaa8(0x10a)](){const _0x464c4a=_0x20eaa8,_0x2b1110=this[_0x464c4a(0x105)][_0x464c4a(0x109)][_0x464c4a(0x100)](_0x1365a1);this[_0x464c4a(0x11d)](_0x2b1110,_0x464c4a(0x12b),(_0x42a381,_0x26229c)=>{const _0x58790b=_0x464c4a;for(const _0x353998 of this[_0x58790b(0x126)]){const _0x363ca8=this[_0x58790b(0x129)][_0x58790b(0x100)](_0x353998);(0x0,this[_0x58790b(0x127)][_0x58790b(0x100)](_0x353998)[_0x58790b(0x11e)])(_0x26229c)&&_0x363ca8[_0x58790b(0x134)](_0x26229c);}}),this[_0x464c4a(0x11d)](_0x2b1110,_0x464c4a(0x11f),()=>{const _0x4cda6a=_0x464c4a;for(const _0x18617b of this[_0x4cda6a(0x126)]){this[_0x4cda6a(0x129)][_0x4cda6a(0x100)](_0x18617b)[_0x4cda6a(0x134)](null);}}),this[_0x464c4a(0x11d)](_0x2b1110[_0x464c4a(0x122)],_0x464c4a(0x12f),(_0x3b43bc,_0x56db9f)=>{const _0x425eba=_0x464c4a;this[_0x425eba(0x107)](_0x56db9f);});}[_0x20eaa8(0x117)](){const _0x1cd9e0=_0x20eaa8;return this[_0x1cd9e0(0x126)][_0x1cd9e0(0x10e)]>0x0;}[_0x20eaa8(0x135)](_0x2412a8){const _0x59754e=_0x20eaa8;return this[_0x59754e(0x126)][_0x59754e(0x124)](_0x2412a8);}[_0x20eaa8(0x101)](_0x4e39a1,_0x527212=()=>!0x0){const _0x4de46f=_0x20eaa8,_0x1de677=this[_0x4de46f(0x105)][_0x4de46f(0x109)][_0x4de46f(0x100)](_0x1365a1);if(!this[_0x4de46f(0x129)][_0x4de46f(0x124)](_0x4e39a1))throw new _0x3ba5d4(_0x4de46f(0x10c),this,{'uiName':_0x4e39a1});this[_0x4de46f(0x135)](_0x4e39a1)&&this[_0x4de46f(0x114)](_0x4e39a1),this[_0x4de46f(0x126)][_0x4de46f(0x12f)](_0x4e39a1);const _0x4606ce=new _0x312ce9(),_0x440c4e=_0x1de677[_0x4de46f(0x122)];_0x16adf4({'source':_0x440c4e,'target':_0x4606ce,'filter':_0x527212}),this[_0x4de46f(0x127)][_0x4de46f(0x121)](_0x4e39a1,{'collection':_0x4606ce,'filter':_0x527212});const _0x5c0475=this[_0x4de46f(0x129)][_0x4de46f(0x100)](_0x4e39a1);_0x5c0475[_0x4de46f(0x12e)](_0x4606ce),this[_0x4de46f(0x11d)](_0x5c0475,_0x4de46f(0x125),(_0x108947,_0x539a1d,_0x18ce55,_0xd2408d)=>{const _0xf3473c=_0x4de46f;_0xd2408d&&_0x1de677[_0xf3473c(0x103)](_0xd2408d),_0x18ce55&&_0x1de677[_0xf3473c(0x102)](_0x18ce55);});}[_0x20eaa8(0x114)](_0x3848f2){const _0x203bc8=_0x20eaa8;if(this[_0x203bc8(0x126)][_0x203bc8(0x119)](_0x3848f2),!this[_0x203bc8(0x129)][_0x203bc8(0x124)](_0x3848f2))throw new _0x3ba5d4(_0x203bc8(0x10c),this,{'uiName':_0x3848f2});const _0x334940=this[_0x203bc8(0x129)][_0x203bc8(0x100)](_0x3848f2);_0x334940[_0x203bc8(0x12d)](),this[_0x203bc8(0x113)](_0x334940),this[_0x203bc8(0x127)][_0x203bc8(0x100)](_0x3848f2)[_0x203bc8(0xfb)][_0x203bc8(0xfa)](),this[_0x203bc8(0x127)][_0x203bc8(0x119)](_0x3848f2);}[_0x20eaa8(0x11b)](_0x91403f){const _0x5b3724=_0x20eaa8;if(!this[_0x5b3724(0x129)][_0x5b3724(0x124)](_0x91403f))throw new _0x3ba5d4(_0x5b3724(0x10c),this,{'uiName':_0x91403f});const _0x333cfc=this[_0x5b3724(0x105)][_0x5b3724(0x109)][_0x5b3724(0x100)](_0x1365a1),_0x5ade28=Array[_0x5b3724(0x108)](_0x333cfc[_0x5b3724(0x133)])[0x0]||null;this[_0x5b3724(0x106)](),this[_0x5b3724(0x101)](_0x91403f);const _0x404ac=this[_0x5b3724(0x129)][_0x5b3724(0x100)](_0x91403f);_0x404ac[_0x5b3724(0x134)](_0x5ade28),_0x404ac[_0x5b3724(0x128)]&&_0x5ade28&&_0x404ac[_0x5b3724(0x128)]([_0x5ade28]);}[_0x20eaa8(0x106)](){const _0x1433e8=_0x20eaa8;for(const _0x279f1b of this[_0x1433e8(0x126)])this[_0x1433e8(0x114)](_0x279f1b);}[_0x20eaa8(0x131)](_0x2f7c3a,_0x417a29){const _0x1bdbfa=_0x20eaa8;if(this[_0x1bdbfa(0x129)][_0x1bdbfa(0x124)](_0x2f7c3a))throw new _0x3ba5d4(_0x1bdbfa(0x12a));if(_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x12e)]||_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x12d)]||_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x134)])throw new _0x3ba5d4(_0x1bdbfa(0x110),null);this[_0x1bdbfa(0x129)][_0x1bdbfa(0x121)](_0x2f7c3a,_0x417a29);}[_0x20eaa8(0x136)](){const _0x579638=_0x20eaa8,_0x1f53b0=this[_0x579638(0x105)][_0x579638(0x109)][_0x579638(0x100)](_0x1365a1)[_0x579638(0xfb)],_0x12bd6c=new Map(),_0x5f2641=Array[_0x579638(0x108)](this[_0x579638(0x126)]);for(const _0x9ce685 of this[_0x579638(0x126)]){const _0x316c57=this[_0x579638(0x127)][_0x579638(0x100)](_0x9ce685)[_0x579638(0xfb)];for(const _0x3cbbd4 of _0x316c57)_0x12bd6c[_0x579638(0x121)](_0x3cbbd4,_0x9ce685);}for(const _0x1596a9 of _0x1f53b0){const _0x5c2aa0=_0x12bd6c[_0x579638(0x100)](_0x1596a9);this[_0x579638(0x107)](_0x1596a9);const _0x111957=_0x5f2641[_0x579638(0x132)](_0x208035=>this[_0x579638(0x127)][_0x579638(0x100)](_0x208035)[_0x579638(0x11e)](_0x1596a9));_0x5c2aa0!==_0x111957&&(_0x5c2aa0&&this[_0x579638(0x127)][_0x579638(0x100)](_0x5c2aa0)[_0x579638(0xfb)][_0x579638(0x10f)](_0x1596a9),_0x111957&&this[_0x579638(0x127)][_0x579638(0x100)](_0x111957)[_0x579638(0xfb)][_0x579638(0x12f)](_0x1596a9));}}[_0x20eaa8(0xfa)](){const _0x240ef3=_0x20eaa8;this[_0x240ef3(0x106)](),super[_0x240ef3(0xfa)]();}[_0x20eaa8(0x107)](_0x5b6711){const _0x198f10=_0x20eaa8,_0x1a5443=[];for(const _0x4839b8 of this[_0x198f10(0x126)]){(0x0,this[_0x198f10(0x127)][_0x198f10(0x100)](_0x4839b8)[_0x198f10(0x11e)])(_0x5b6711)&&_0x1a5443[_0x198f10(0xfc)](_0x4839b8);}if(_0x1a5443[_0x198f10(0x130)]>0x1)throw new _0x3ba5d4(_0x198f10(0x10d),null,{'matchedUIs':_0x1a5443,'annotationType':_0x5b6711[_0x198f10(0x12c)]});}}
23
+ const _0x466f76=_0x18d5;(function(_0x2a3004,_0xee98ab){const _0x2227db=_0x18d5,_0x49b3af=_0x2a3004();while(!![]){try{const _0x163aa4=parseInt(_0x2227db(0x128))/0x1*(-parseInt(_0x2227db(0x101))/0x2)+parseInt(_0x2227db(0x11e))/0x3+parseInt(_0x2227db(0x12d))/0x4+parseInt(_0x2227db(0x120))/0x5*(-parseInt(_0x2227db(0x122))/0x6)+parseInt(_0x2227db(0x12b))/0x7+-parseInt(_0x2227db(0x119))/0x8*(parseInt(_0x2227db(0x11b))/0x9)+parseInt(_0x2227db(0xf6))/0xa;if(_0x163aa4===_0xee98ab)break;else _0x49b3af['push'](_0x49b3af['shift']());}catch(_0x3b906a){_0x49b3af['push'](_0x49b3af['shift']());}}}(_0x291a,0x9141c));import{ContextPlugin as _0x4291a1}from'ckeditor5/src/core.js';function _0x18d5(_0x2f1033,_0x27fafb){const _0x291a94=_0x291a();return _0x18d5=function(_0x18d547,_0x42578d){_0x18d547=_0x18d547-0xf5;let _0x3e466a=_0x291a94[_0x18d547];return _0x3e466a;},_0x18d5(_0x2f1033,_0x27fafb);}import{CKEditorError as _0x494824}from'ckeditor5/src/utils.js';function _0x291a(){const _0x15eb7e=['_addActiveAnnotation','activeUIs','attach','remove','71171Tbwkhq','pluginName','_removeActiveAnnotation','3554600rocPIt','annotationsuis-missing-ui','2447000zykzRw','AnnotationsUIs','collection','_assertAnnotationDoesNotBelongToMultipleUIs','refilterAnnotations','switchTo','14845970mkpWdn','plugins','context','_visibleAnnotations','annotationsuis-annotation-mismatch','delete','annotationsuis-register-already-registered','listenTo','isActive','find','change:activeAnnotation','24wLhAcD','_uis','annotationsuis-register-invalid-interface','deactivate','push','init','has','_activateAnnotation','add','stopListening','_uisData','get','type','deactivateAll','_deactivateAllAnnotations','set','size','hasActive','_setSelectedAnnotations','filter','setActiveAnnotation','register','function','detach','8tLiUys','from','3423591yyeZls','activeAnnotations','requires','530838HXBtmV','length','50wXwKAN','activate','571002uSqvjz','destroy'];_0x291a=function(){return _0x15eb7e;};return _0x291a();}import _0x5dc732,{bindAnnotationCollections as _0x398b08}from'./annotationcollection.js';import _0x2353bc from'./annotations.js';export default class j extends _0x4291a1{static get[_0x466f76(0x11d)](){return[_0x2353bc];}static get[_0x466f76(0x129)](){const _0x37f5cb=_0x466f76;return _0x37f5cb(0x12e);}constructor(_0x534de6){const _0x3db027=_0x466f76;super(_0x534de6),this[_0x3db027(0x125)]=new Set(),this[_0x3db027(0x102)]=new Map(),this[_0x3db027(0x10b)]=new Map();}[_0x466f76(0x106)](){const _0x319f42=_0x466f76,_0x7304cb=this[_0x319f42(0xf8)][_0x319f42(0xf7)][_0x319f42(0x10c)](_0x2353bc);this[_0x319f42(0xfd)](_0x7304cb,_0x319f42(0x108),(_0x33f699,_0x4ca035)=>{const _0x390ff3=_0x319f42;for(const _0x1d7a8f of this[_0x390ff3(0x125)]){const _0x8e39a5=this[_0x390ff3(0x102)][_0x390ff3(0x10c)](_0x1d7a8f);(0x0,this[_0x390ff3(0x10b)][_0x390ff3(0x10c)](_0x1d7a8f)[_0x390ff3(0x114)])(_0x4ca035)&&_0x8e39a5[_0x390ff3(0x115)](_0x4ca035);}}),this[_0x319f42(0xfd)](_0x7304cb,_0x319f42(0x10f),()=>{const _0x4fb97d=_0x319f42;for(const _0x3b9d02 of this[_0x4fb97d(0x125)]){this[_0x4fb97d(0x102)][_0x4fb97d(0x10c)](_0x3b9d02)[_0x4fb97d(0x115)](null);}}),this[_0x319f42(0xfd)](_0x7304cb[_0x319f42(0xf9)],_0x319f42(0x109),(_0x5177b3,_0x31e41f)=>{const _0x2ac2ca=_0x319f42;this[_0x2ac2ca(0x130)](_0x31e41f);});}[_0x466f76(0x112)](){const _0x2f6056=_0x466f76;return this[_0x2f6056(0x125)][_0x2f6056(0x111)]>0x0;}[_0x466f76(0xfe)](_0x59f3b9){const _0x4f88c4=_0x466f76;return this[_0x4f88c4(0x125)][_0x4f88c4(0x107)](_0x59f3b9);}[_0x466f76(0x121)](_0x1ad8d5,_0x2084cc=()=>!0x0){const _0x358afc=_0x466f76,_0x14cb13=this[_0x358afc(0xf8)][_0x358afc(0xf7)][_0x358afc(0x10c)](_0x2353bc);if(!this[_0x358afc(0x102)][_0x358afc(0x107)](_0x1ad8d5))throw new _0x494824(_0x358afc(0x12c),this,{'uiName':_0x1ad8d5});this[_0x358afc(0xfe)](_0x1ad8d5)&&this[_0x358afc(0x104)](_0x1ad8d5),this[_0x358afc(0x125)][_0x358afc(0x109)](_0x1ad8d5);const _0x4ae2a3=new _0x5dc732(),_0x49a519=_0x14cb13[_0x358afc(0xf9)];_0x398b08({'source':_0x49a519,'target':_0x4ae2a3,'filter':_0x2084cc}),this[_0x358afc(0x10b)][_0x358afc(0x110)](_0x1ad8d5,{'collection':_0x4ae2a3,'filter':_0x2084cc});const _0x441ab9=this[_0x358afc(0x102)][_0x358afc(0x10c)](_0x1ad8d5);_0x441ab9[_0x358afc(0x126)](_0x4ae2a3),this[_0x358afc(0xfd)](_0x441ab9,_0x358afc(0x100),(_0xa6fd53,_0x14ec81,_0x700116,_0xe427d6)=>{const _0x41f81e=_0x358afc;_0xe427d6&&_0x14cb13[_0x41f81e(0x12a)](_0xe427d6),_0x700116&&_0x14cb13[_0x41f81e(0x124)](_0x700116);});}[_0x466f76(0x104)](_0x89efc6){const _0x296677=_0x466f76;if(this[_0x296677(0x125)][_0x296677(0xfb)](_0x89efc6),!this[_0x296677(0x102)][_0x296677(0x107)](_0x89efc6))throw new _0x494824(_0x296677(0x12c),this,{'uiName':_0x89efc6});const _0x44a030=this[_0x296677(0x102)][_0x296677(0x10c)](_0x89efc6);_0x44a030[_0x296677(0x118)](),this[_0x296677(0x10a)](_0x44a030),this[_0x296677(0x10b)][_0x296677(0x10c)](_0x89efc6)[_0x296677(0x12f)][_0x296677(0x123)](),this[_0x296677(0x10b)][_0x296677(0xfb)](_0x89efc6);}[_0x466f76(0xf5)](_0x1d4094){const _0x4a956a=_0x466f76;if(!this[_0x4a956a(0x102)][_0x4a956a(0x107)](_0x1d4094))throw new _0x494824(_0x4a956a(0x12c),this,{'uiName':_0x1d4094});const _0x1bdf15=this[_0x4a956a(0xf8)][_0x4a956a(0xf7)][_0x4a956a(0x10c)](_0x2353bc),_0x415e57=Array[_0x4a956a(0x11a)](_0x1bdf15[_0x4a956a(0x11c)])[0x0]||null;this[_0x4a956a(0x10e)](),this[_0x4a956a(0x121)](_0x1d4094);const _0x5da5c0=this[_0x4a956a(0x102)][_0x4a956a(0x10c)](_0x1d4094);_0x5da5c0[_0x4a956a(0x115)](_0x415e57),_0x5da5c0[_0x4a956a(0x113)]&&_0x415e57&&_0x5da5c0[_0x4a956a(0x113)]([_0x415e57]);}[_0x466f76(0x10e)](){const _0x448437=_0x466f76;for(const _0x1f02d9 of this[_0x448437(0x125)])this[_0x448437(0x104)](_0x1f02d9);}[_0x466f76(0x116)](_0x49211b,_0x443b96){const _0x42a2e8=_0x466f76;if(this[_0x42a2e8(0x102)][_0x42a2e8(0x107)](_0x49211b))throw new _0x494824(_0x42a2e8(0xfc));if(_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x126)]||_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x118)]||_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x115)])throw new _0x494824(_0x42a2e8(0x103),null);this[_0x42a2e8(0x102)][_0x42a2e8(0x110)](_0x49211b,_0x443b96);}[_0x466f76(0x131)](){const _0x474e04=_0x466f76,_0x22794b=this[_0x474e04(0xf8)][_0x474e04(0xf7)][_0x474e04(0x10c)](_0x2353bc)[_0x474e04(0x12f)],_0x30c9ca=new Map(),_0x37f287=Array[_0x474e04(0x11a)](this[_0x474e04(0x125)]);for(const _0x1a8a8f of this[_0x474e04(0x125)]){const _0x1bb044=this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x1a8a8f)[_0x474e04(0x12f)];for(const _0x571391 of _0x1bb044)_0x30c9ca[_0x474e04(0x110)](_0x571391,_0x1a8a8f);}for(const _0x2e8555 of _0x22794b){const _0x41f987=_0x30c9ca[_0x474e04(0x10c)](_0x2e8555);this[_0x474e04(0x130)](_0x2e8555);const _0x840451=_0x37f287[_0x474e04(0xff)](_0x2be5d7=>this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x2be5d7)[_0x474e04(0x114)](_0x2e8555));_0x41f987!==_0x840451&&(_0x41f987&&this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x41f987)[_0x474e04(0x12f)][_0x474e04(0x127)](_0x2e8555),_0x840451&&this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x840451)[_0x474e04(0x12f)][_0x474e04(0x109)](_0x2e8555));}}[_0x466f76(0x123)](){const _0x217c7c=_0x466f76;this[_0x217c7c(0x10e)](),super[_0x217c7c(0x123)]();}[_0x466f76(0x130)](_0x5bca61){const _0x3a3ae9=_0x466f76,_0x4b66d3=[];for(const _0x380d53 of this[_0x3a3ae9(0x125)]){(0x0,this[_0x3a3ae9(0x10b)][_0x3a3ae9(0x10c)](_0x380d53)[_0x3a3ae9(0x114)])(_0x5bca61)&&_0x4b66d3[_0x3a3ae9(0x105)](_0x380d53);}if(_0x4b66d3[_0x3a3ae9(0x11f)]>0x1)throw new _0x494824(_0x3a3ae9(0xfa),null,{'matchedUIs':_0x4b66d3,'annotationType':_0x5bca61[_0x3a3ae9(0x10d)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ae4f7=_0x493c;(function(_0x2a4624,_0x3a8882){const _0x44a817=_0x493c,_0x4a8e7a=_0x2a4624();while(!![]){try{const _0x2f345e=parseInt(_0x44a817(0x12d))/0x1*(parseInt(_0x44a817(0x148))/0x2)+parseInt(_0x44a817(0x12a))/0x3*(parseInt(_0x44a817(0x14e))/0x4)+-parseInt(_0x44a817(0x128))/0x5*(parseInt(_0x44a817(0x141))/0x6)+-parseInt(_0x44a817(0x162))/0x7*(parseInt(_0x44a817(0x12f))/0x8)+-parseInt(_0x44a817(0x15a))/0x9+parseInt(_0x44a817(0x166))/0xa*(parseInt(_0x44a817(0x13d))/0xb)+-parseInt(_0x44a817(0x134))/0xc*(parseInt(_0x44a817(0x13e))/0xd);if(_0x2f345e===_0x3a8882)break;else _0x4a8e7a['push'](_0x4a8e7a['shift']());}catch(_0x50e34d){_0x4a8e7a['push'](_0x4a8e7a['shift']());}}}(_0x5a9a,0xc39cb));import{Plugin as _0x332dae}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d7399}from'ckeditor5/src/utils.js';function _0x5a9a(){const _0x2424ea=['524150DIwktB','addSourceCollector','_editorAnnotations','EditorAnnotations','2259295SlfNkm','view','454821IzFpMk','model','refreshSelectedViews','8jZdzGr','remove','8bifWnc','init','pluginName','get','document','44628Qqdnip','hasDomSelection','listenTo','getOrderedSelectedAnnotations','blur','editorannotations-invalid-source-callback','set','fire','change:isFocused','286jtPVkX','455ONfiKH','plugins','add','12CGGadD','isReadOnly','cancel','editor','push','uiUpdate','from','235810Dysdpb','collection','isEqual','function','selection','focusTracker','28kJsQMW','has','_dataCollectors','directChange','delete','map','registerAnnotation','editing','getRanges','sort','refresh','_editorAnnotationsData','4571784JVMHEN','requires','update','isCollapsed','annotation','innerView','getByInnerView','range','7169351ZzUUGM','change:range','containsRange','element'];_0x5a9a=function(){return _0x2424ea;};return _0x5a9a();}function _0x493c(_0xf3ea29,_0x147cb0){const _0x5a9af4=_0x5a9a();return _0x493c=function(_0x493c4d,_0x3a4fe8){_0x493c4d=_0x493c4d-0x126;let _0x33974e=_0x5a9af4[_0x493c4d];return _0x33974e;},_0x493c(_0xf3ea29,_0x147cb0);}import{debounce as _0x230c53}from'lodash-es';import _0xb7a003 from'./annotations.js';export default class k extends _0x332dae{static get[_0x1ae4f7(0x15b)](){return[_0xb7a003];}static get[_0x1ae4f7(0x131)](){const _0x396b1a=_0x1ae4f7;return _0x396b1a(0x127);}constructor(_0x3b9488){const _0x4a2bc9=_0x1ae4f7;super(_0x3b9488),this[_0x4a2bc9(0x150)]=new Set(),this[_0x4a2bc9(0x126)]=new Set();}[_0x1ae4f7(0x130)](){const _0x48a4b5=_0x1ae4f7,_0x4284d9=this[_0x48a4b5(0x144)],_0x4f04fb=_0x4284d9[_0x48a4b5(0x12b)][_0x48a4b5(0x133)][_0x48a4b5(0x14c)],_0x171ce2=_0x230c53(()=>this[_0x48a4b5(0x12c)](),0xa);_0x4f04fb['on'](_0x48a4b5(0x163),(_0x4512e1,_0x11c671)=>{const _0x3009a9=_0x48a4b5;_0x11c671[_0x3009a9(0x151)]&&(_0x171ce2[_0x3009a9(0x143)](),this[_0x3009a9(0x12c)]());}),this[_0x48a4b5(0x136)](_0x4284d9[_0x48a4b5(0x155)][_0x48a4b5(0x129)][_0x48a4b5(0x133)],_0x48a4b5(0x13c),(_0x2a6a91,_0x4b2caf,_0x5b34d1)=>{_0x5b34d1&&_0x171ce2();}),this[_0x48a4b5(0x136)](_0x4284d9['ui'][_0x48a4b5(0x14d)],_0x48a4b5(0x13c),(_0x223dbb,_0x56e6ae,_0x45a8c5)=>{const _0x491a94=_0x48a4b5;_0x45a8c5||_0x4284d9[_0x491a94(0x142)]||this[_0x491a94(0x13b)](_0x491a94(0x138),{'isAnnotationTracked':_0x19ad11=>this[_0x491a94(0x159)][_0x491a94(0x14f)](_0x19ad11[_0x491a94(0x15f)])});}),this[_0x48a4b5(0x136)](this[_0x48a4b5(0x144)]['ui'],_0x48a4b5(0x15c),()=>this[_0x48a4b5(0x13b)](_0x48a4b5(0x146)));}[_0x1ae4f7(0x154)](_0x3f1221){const _0x11c1aa=_0x1ae4f7;if(this[_0x11c1aa(0x126)][_0x11c1aa(0x14f)](_0x3f1221[_0x11c1aa(0x129)]))return;this[_0x11c1aa(0x126)][_0x11c1aa(0x140)](_0x3f1221[_0x11c1aa(0x129)]),this[_0x11c1aa(0x144)]['ui'][_0x11c1aa(0x14d)][_0x11c1aa(0x140)](_0x3f1221[_0x11c1aa(0x129)][_0x11c1aa(0x165)]);const _0x40d2f=this[_0x11c1aa(0x144)][_0x11c1aa(0x13f)][_0x11c1aa(0x132)](_0xb7a003);this[_0x11c1aa(0x136)](_0x40d2f[_0x11c1aa(0x149)],_0x11c1aa(0x12e),(_0x593b29,_0x1b5aa7)=>{const _0x268e3f=_0x11c1aa;this[_0x268e3f(0x144)]['ui'][_0x268e3f(0x14d)][_0x268e3f(0x12e)](_0x1b5aa7[_0x268e3f(0x129)][_0x268e3f(0x165)]),this[_0x268e3f(0x126)][_0x268e3f(0x152)](_0x1b5aa7[_0x268e3f(0x129)]);});}[_0x1ae4f7(0x135)](){const _0xfd8f38=_0x1ae4f7;return this[_0xfd8f38(0x144)][_0xfd8f38(0x155)][_0xfd8f38(0x129)][_0xfd8f38(0x135)];}[_0x1ae4f7(0x167)](_0xc8c426){const _0x23dcbc=_0x1ae4f7;if(_0x23dcbc(0x14b)!=typeof _0xc8c426)throw new _0x1d7399(_0x23dcbc(0x139));this[_0x23dcbc(0x150)][_0x23dcbc(0x140)](_0xc8c426);}[_0x1ae4f7(0x12c)](){const _0x3bdf23=_0x1ae4f7;this[_0x3bdf23(0x13b)](_0x3bdf23(0x158));}[_0x1ae4f7(0x137)]({activeAnnotation:_0x2e47cf,annotations:_0xfda37c}){const _0xcdcb10=_0x1ae4f7,_0x2c8de8=[],_0x105ab9=this[_0xcdcb10(0x144)][_0xcdcb10(0x12b)][_0xcdcb10(0x133)][_0xcdcb10(0x14c)],_0xf53650=Array[_0xcdcb10(0x147)](_0x105ab9[_0xcdcb10(0x156)]());for(const [_0x1d3645,_0x2fb718]of this[_0xcdcb10(0x159)]){const _0x1dfa02=_0x5dec01(_0x2fb718),_0x23d566=_0xfda37c[_0xcdcb10(0x160)](_0x1d3645);_0x1dfa02&&_0x23d566&&_0x2c8de8[_0xcdcb10(0x145)]({'annotation':_0x23d566,'range':_0x1dfa02});}function _0x5dec01(_0x1cd0e5){const _0x14ecf9=_0xcdcb10;for(const _0x2d9269 of _0x1cd0e5)for(const _0x52d900 of _0xf53650)if(_0x2d9269[_0x14ecf9(0x164)](_0x52d900,!_0x105ab9[_0x14ecf9(0x15d)]))return _0x2d9269;return null;}return _0x2c8de8[_0xcdcb10(0x157)]((_0x4e6cdd,_0x1664b5)=>{const _0x2f5082=_0xcdcb10,_0x2be334=_0x4e6cdd[_0x2f5082(0x161)],_0x5a0951=_0x1664b5[_0x2f5082(0x161)];if(!_0x2be334[_0x2f5082(0x14a)](_0x5a0951)){if(_0x2be334[_0x2f5082(0x164)](_0x5a0951,!0x0))return 0x1;if(_0x5a0951[_0x2f5082(0x164)](_0x2be334,!0x0))return-0x1;}return _0x4e6cdd[_0x2f5082(0x15e)]==_0x2e47cf?-0x1:_0x1664b5[_0x2f5082(0x15e)]==_0x2e47cf?0x1:0x0;})[_0xcdcb10(0x153)](_0x5027a5=>_0x5027a5[_0xcdcb10(0x15e)]);}get[_0x1ae4f7(0x159)](){const _0x95ca1d=_0x1ae4f7,_0x5aa889=new Map();for(const _0x1071b0 of Array[_0x95ca1d(0x147)](this[_0x95ca1d(0x150)]))for(const [_0x19e2fd,_0x32534a]of _0x1071b0())_0x5aa889[_0x95ca1d(0x13a)](_0x19e2fd,_0x32534a);return _0x5aa889;}}
23
+ const _0x3426c5=_0x3bea;(function(_0x472a6c,_0x147193){const _0x1cd546=_0x3bea,_0x5bd916=_0x472a6c();while(!![]){try{const _0x4ab42d=-parseInt(_0x1cd546(0x93))/0x1+-parseInt(_0x1cd546(0xa7))/0x2+-parseInt(_0x1cd546(0x84))/0x3+-parseInt(_0x1cd546(0x8d))/0x4+-parseInt(_0x1cd546(0x9a))/0x5+-parseInt(_0x1cd546(0xad))/0x6*(parseInt(_0x1cd546(0x9c))/0x7)+parseInt(_0x1cd546(0x94))/0x8;if(_0x4ab42d===_0x147193)break;else _0x5bd916['push'](_0x5bd916['shift']());}catch(_0x2b6126){_0x5bd916['push'](_0x5bd916['shift']());}}}(_0x4fb0,0x6fb4f));function _0x3bea(_0x2a9a7a,_0x115967){const _0x4fb057=_0x4fb0();return _0x3bea=function(_0x3beac9,_0x4579f3){_0x3beac9=_0x3beac9-0x73;let _0x3ee5fb=_0x4fb057[_0x3beac9];return _0x3ee5fb;},_0x3bea(_0x2a9a7a,_0x115967);}import{Plugin as _0x2dd83e}from'ckeditor5/src/core.js';import{CKEditorError as _0x24d9d3}from'ckeditor5/src/utils.js';import{debounce as _0x10c0a8}from'lodash-es';function _0x4fb0(){const _0x69e5aa=['push','range','collection','pluginName','refreshSelectedViews','isCollapsed','2973812EeJZUk','change:range','document','isReadOnly','view','getRanges','686848XGMTmn','26073832toRZym','update','remove','directChange','delete','editorannotations-invalid-source-callback','2059710PUJVok','sort','383369YgtGeg','listenTo','model','from','addSourceCollector','plugins','innerView','containsRange','refresh','getOrderedSelectedAnnotations','fire','1016750wjWVZT','registerAnnotation','editor','has','uiUpdate','function','12sarNbv','hasDomSelection','selection','EditorAnnotations','blur','isEqual','requires','map','add','cancel','_editorAnnotations','editing','element','init','_editorAnnotationsData','change:isFocused','_dataCollectors','getByInnerView','annotation','focusTracker','1024578eIiMqn','set','get'];_0x4fb0=function(){return _0x69e5aa;};return _0x4fb0();}import _0x28ea13 from'./annotations.js';export default class k extends _0x2dd83e{static get[_0x3426c5(0x76)](){return[_0x28ea13];}static get[_0x3426c5(0x8a)](){const _0x193372=_0x3426c5;return _0x193372(0x73);}constructor(_0xafe284){const _0x124a0f=_0x3426c5;super(_0xafe284),this[_0x124a0f(0x80)]=new Set(),this[_0x124a0f(0x7a)]=new Set();}[_0x3426c5(0x7d)](){const _0x5b3b18=_0x3426c5,_0x4b9dfa=this[_0x5b3b18(0xa9)],_0x62f39a=_0x4b9dfa[_0x5b3b18(0x9e)][_0x5b3b18(0x8f)][_0x5b3b18(0xaf)],_0x536cd3=_0x10c0a8(()=>this[_0x5b3b18(0x8b)](),0xa);_0x62f39a['on'](_0x5b3b18(0x8e),(_0x3358bd,_0x1ef158)=>{const _0x22e53a=_0x5b3b18;_0x1ef158[_0x22e53a(0x97)]&&(_0x536cd3[_0x22e53a(0x79)](),this[_0x22e53a(0x8b)]());}),this[_0x5b3b18(0x9d)](_0x4b9dfa[_0x5b3b18(0x7b)][_0x5b3b18(0x91)][_0x5b3b18(0x8f)],_0x5b3b18(0x7f),(_0x263055,_0xf3451,_0xff5d11)=>{_0xff5d11&&_0x536cd3();}),this[_0x5b3b18(0x9d)](_0x4b9dfa['ui'][_0x5b3b18(0x83)],_0x5b3b18(0x7f),(_0x4f08f8,_0x2bb3ed,_0x581374)=>{const _0x114e01=_0x5b3b18;_0x581374||_0x4b9dfa[_0x114e01(0x90)]||this[_0x114e01(0xa6)](_0x114e01(0x74),{'isAnnotationTracked':_0x340be7=>this[_0x114e01(0x7e)][_0x114e01(0xaa)](_0x340be7[_0x114e01(0xa2)])});}),this[_0x5b3b18(0x9d)](this[_0x5b3b18(0xa9)]['ui'],_0x5b3b18(0x95),()=>this[_0x5b3b18(0xa6)](_0x5b3b18(0xab)));}[_0x3426c5(0xa8)](_0xa3f603){const _0x1837a0=_0x3426c5;if(this[_0x1837a0(0x7a)][_0x1837a0(0xaa)](_0xa3f603[_0x1837a0(0x91)]))return;this[_0x1837a0(0x7a)][_0x1837a0(0x78)](_0xa3f603[_0x1837a0(0x91)]),this[_0x1837a0(0xa9)]['ui'][_0x1837a0(0x83)][_0x1837a0(0x78)](_0xa3f603[_0x1837a0(0x91)][_0x1837a0(0x7c)]);const _0x56a387=this[_0x1837a0(0xa9)][_0x1837a0(0xa1)][_0x1837a0(0x86)](_0x28ea13);this[_0x1837a0(0x9d)](_0x56a387[_0x1837a0(0x89)],_0x1837a0(0x96),(_0x37fb79,_0x105ecc)=>{const _0x152da4=_0x1837a0;this[_0x152da4(0xa9)]['ui'][_0x152da4(0x83)][_0x152da4(0x96)](_0x105ecc[_0x152da4(0x91)][_0x152da4(0x7c)]),this[_0x152da4(0x7a)][_0x152da4(0x98)](_0x105ecc[_0x152da4(0x91)]);});}[_0x3426c5(0xae)](){const _0x440ba8=_0x3426c5;return this[_0x440ba8(0xa9)][_0x440ba8(0x7b)][_0x440ba8(0x91)][_0x440ba8(0xae)];}[_0x3426c5(0xa0)](_0x1e0cfe){const _0x5a3f43=_0x3426c5;if(_0x5a3f43(0xac)!=typeof _0x1e0cfe)throw new _0x24d9d3(_0x5a3f43(0x99));this[_0x5a3f43(0x80)][_0x5a3f43(0x78)](_0x1e0cfe);}[_0x3426c5(0x8b)](){const _0x398e95=_0x3426c5;this[_0x398e95(0xa6)](_0x398e95(0xa4));}[_0x3426c5(0xa5)]({activeAnnotation:_0x3eb706,annotations:_0x5f03e1}){const _0x22b082=_0x3426c5,_0x2285e5=[],_0x49f2ff=this[_0x22b082(0xa9)][_0x22b082(0x9e)][_0x22b082(0x8f)][_0x22b082(0xaf)],_0x22be73=Array[_0x22b082(0x9f)](_0x49f2ff[_0x22b082(0x92)]());for(const [_0x5a0419,_0x4ad439]of this[_0x22b082(0x7e)]){const _0x3dea21=_0x225b6f(_0x4ad439),_0x2390e0=_0x5f03e1[_0x22b082(0x81)](_0x5a0419);_0x3dea21&&_0x2390e0&&_0x2285e5[_0x22b082(0x87)]({'annotation':_0x2390e0,'range':_0x3dea21});}function _0x225b6f(_0x56c76d){const _0x29ec6d=_0x22b082;for(const _0x50c802 of _0x56c76d)for(const _0x191be3 of _0x22be73)if(_0x50c802[_0x29ec6d(0xa3)](_0x191be3,!_0x49f2ff[_0x29ec6d(0x8c)]))return _0x50c802;return null;}return _0x2285e5[_0x22b082(0x9b)]((_0x1be9a6,_0x2af56c)=>{const _0x2191ad=_0x22b082,_0x5d4d27=_0x1be9a6[_0x2191ad(0x88)],_0x3f6a62=_0x2af56c[_0x2191ad(0x88)];if(!_0x5d4d27[_0x2191ad(0x75)](_0x3f6a62)){if(_0x5d4d27[_0x2191ad(0xa3)](_0x3f6a62,!0x0))return 0x1;if(_0x3f6a62[_0x2191ad(0xa3)](_0x5d4d27,!0x0))return-0x1;}return _0x1be9a6[_0x2191ad(0x82)]==_0x3eb706?-0x1:_0x2af56c[_0x2191ad(0x82)]==_0x3eb706?0x1:0x0;})[_0x22b082(0x77)](_0x20d055=>_0x20d055[_0x22b082(0x82)]);}get[_0x3426c5(0x7e)](){const _0x2c8976=_0x3426c5,_0x3f3edb=new Map();for(const _0x3df8d6 of Array[_0x2c8976(0x9f)](this[_0x2c8976(0x80)]))for(const [_0x2551ad,_0x3ebd6f]of _0x3df8d6())_0x3f3edb[_0x2c8976(0x85)](_0x2551ad,_0x3ebd6f);return _0x3f3edb;}}