@ckeditor/ckeditor5-comments 41.3.1 → 41.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-content.css +4 -0
  3. package/dist/index-editor.css +596 -0
  4. package/dist/index.css +926 -0
  5. package/dist/index.js +23 -0
  6. package/dist/translations/af.d.ts +8 -0
  7. package/dist/translations/af.js +23 -0
  8. package/dist/translations/ar.d.ts +8 -0
  9. package/dist/translations/ar.js +23 -0
  10. package/dist/translations/bg.d.ts +8 -0
  11. package/dist/translations/bg.js +23 -0
  12. package/dist/translations/bn.d.ts +8 -0
  13. package/dist/translations/bn.js +23 -0
  14. package/dist/translations/bs.d.ts +8 -0
  15. package/dist/translations/bs.js +23 -0
  16. package/dist/translations/ca.d.ts +8 -0
  17. package/dist/translations/ca.js +23 -0
  18. package/dist/translations/cs.d.ts +8 -0
  19. package/dist/translations/cs.js +23 -0
  20. package/dist/translations/da.d.ts +8 -0
  21. package/dist/translations/da.js +23 -0
  22. package/dist/translations/de-ch.d.ts +8 -0
  23. package/dist/translations/de-ch.js +23 -0
  24. package/dist/translations/de.d.ts +8 -0
  25. package/dist/translations/de.js +23 -0
  26. package/dist/translations/el.d.ts +8 -0
  27. package/dist/translations/el.js +23 -0
  28. package/dist/translations/en-au.d.ts +8 -0
  29. package/dist/translations/en-au.js +23 -0
  30. package/dist/translations/en.d.ts +8 -0
  31. package/dist/translations/en.js +23 -0
  32. package/dist/translations/es-co.d.ts +8 -0
  33. package/dist/translations/es-co.js +23 -0
  34. package/dist/translations/es.d.ts +8 -0
  35. package/dist/translations/es.js +23 -0
  36. package/dist/translations/et.d.ts +8 -0
  37. package/dist/translations/et.js +23 -0
  38. package/dist/translations/fa.d.ts +8 -0
  39. package/dist/translations/fa.js +23 -0
  40. package/dist/translations/fi.d.ts +8 -0
  41. package/dist/translations/fi.js +23 -0
  42. package/dist/translations/fr.d.ts +8 -0
  43. package/dist/translations/fr.js +23 -0
  44. package/dist/translations/gl.d.ts +8 -0
  45. package/dist/translations/gl.js +23 -0
  46. package/dist/translations/he.d.ts +8 -0
  47. package/dist/translations/he.js +23 -0
  48. package/dist/translations/hi.d.ts +8 -0
  49. package/dist/translations/hi.js +23 -0
  50. package/dist/translations/hr.d.ts +8 -0
  51. package/dist/translations/hr.js +23 -0
  52. package/dist/translations/hu.d.ts +8 -0
  53. package/dist/translations/hu.js +23 -0
  54. package/dist/translations/id.d.ts +8 -0
  55. package/dist/translations/id.js +23 -0
  56. package/dist/translations/it.d.ts +8 -0
  57. package/dist/translations/it.js +23 -0
  58. package/dist/translations/ja.d.ts +8 -0
  59. package/dist/translations/ja.js +23 -0
  60. package/dist/translations/jv.d.ts +8 -0
  61. package/dist/translations/jv.js +23 -0
  62. package/dist/translations/ko.d.ts +8 -0
  63. package/dist/translations/ko.js +23 -0
  64. package/dist/translations/lt.d.ts +8 -0
  65. package/dist/translations/lt.js +23 -0
  66. package/dist/translations/lv.d.ts +8 -0
  67. package/dist/translations/lv.js +23 -0
  68. package/dist/translations/ms.d.ts +8 -0
  69. package/dist/translations/ms.js +23 -0
  70. package/dist/translations/nl.d.ts +8 -0
  71. package/dist/translations/nl.js +23 -0
  72. package/dist/translations/no.d.ts +8 -0
  73. package/dist/translations/no.js +23 -0
  74. package/dist/translations/pl.d.ts +8 -0
  75. package/dist/translations/pl.js +23 -0
  76. package/dist/translations/pt-br.d.ts +8 -0
  77. package/dist/translations/pt-br.js +23 -0
  78. package/dist/translations/pt.d.ts +8 -0
  79. package/dist/translations/pt.js +23 -0
  80. package/dist/translations/ro.d.ts +8 -0
  81. package/dist/translations/ro.js +23 -0
  82. package/dist/translations/ru.d.ts +8 -0
  83. package/dist/translations/ru.js +23 -0
  84. package/dist/translations/sk.d.ts +8 -0
  85. package/dist/translations/sk.js +23 -0
  86. package/dist/translations/sq.d.ts +8 -0
  87. package/dist/translations/sq.js +23 -0
  88. package/dist/translations/sr-latn.d.ts +8 -0
  89. package/dist/translations/sr-latn.js +23 -0
  90. package/dist/translations/sr.d.ts +8 -0
  91. package/dist/translations/sr.js +23 -0
  92. package/dist/translations/sv.d.ts +8 -0
  93. package/dist/translations/sv.js +23 -0
  94. package/dist/translations/th.d.ts +8 -0
  95. package/dist/translations/th.js +23 -0
  96. package/dist/translations/tk.d.ts +8 -0
  97. package/dist/translations/tk.js +23 -0
  98. package/dist/translations/tr.d.ts +8 -0
  99. package/dist/translations/tr.js +23 -0
  100. package/dist/translations/tt.d.ts +8 -0
  101. package/dist/translations/tt.js +23 -0
  102. package/dist/translations/ug.d.ts +8 -0
  103. package/dist/translations/ug.js +23 -0
  104. package/dist/translations/uk.d.ts +8 -0
  105. package/dist/translations/uk.js +23 -0
  106. package/dist/translations/ur.d.ts +8 -0
  107. package/dist/translations/ur.js +23 -0
  108. package/dist/translations/vi.d.ts +8 -0
  109. package/dist/translations/vi.js +23 -0
  110. package/dist/translations/zh-cn.d.ts +8 -0
  111. package/dist/translations/zh-cn.js +23 -0
  112. package/dist/translations/zh.d.ts +8 -0
  113. package/dist/translations/zh.js +23 -0
  114. package/dist/types/annotations/annotation.d.ts +94 -0
  115. package/dist/types/annotations/annotationcollection.d.ts +102 -0
  116. package/dist/types/annotations/annotations.d.ts +158 -0
  117. package/dist/types/annotations/annotationsuis.d.ts +236 -0
  118. package/dist/types/annotations/editorannotations.d.ts +71 -0
  119. package/dist/types/annotations/inlineannotations.d.ts +94 -0
  120. package/dist/types/annotations/narrowsidebar.d.ts +89 -0
  121. package/dist/types/annotations/sidebar.d.ts +104 -0
  122. package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
  123. package/dist/types/annotations/view/annotationview.d.ts +94 -0
  124. package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
  125. package/dist/types/annotations/view/sidebarview.d.ts +36 -0
  126. package/dist/types/annotations/widesidebar.d.ts +81 -0
  127. package/dist/types/augmentation.d.ts +56 -0
  128. package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
  129. package/dist/types/comments/commentsarchive.d.ts +35 -0
  130. package/dist/types/comments/commentsarchiveui.d.ts +42 -0
  131. package/dist/types/comments/commentsediting.d.ts +84 -0
  132. package/dist/types/comments/commentsrepository.d.ts +1134 -0
  133. package/dist/types/comments/commentsui.d.ts +37 -0
  134. package/dist/types/comments/integrations/clipboard.d.ts +30 -0
  135. package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
  136. package/dist/types/comments/integrations/importword.d.ts +25 -0
  137. package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
  138. package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
  139. package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
  140. package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
  141. package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
  142. package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
  143. package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
  144. package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
  145. package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
  146. package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
  147. package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
  148. package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
  149. package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
  150. package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
  151. package/dist/types/comments/ui/view/commentview.d.ts +247 -0
  152. package/dist/types/comments.d.ts +39 -0
  153. package/dist/types/commentsonly.d.ts +37 -0
  154. package/dist/types/config.d.ts +202 -0
  155. package/dist/types/index.d.ts +28 -0
  156. package/dist/types/utils/common-translations.d.ts +13 -0
  157. package/dist/types/utils/createmutationobserver.d.ts +18 -0
  158. package/package.json +4 -3
  159. package/src/annotations/annotation.js +1 -1
  160. package/src/annotations/annotationcollection.js +1 -1
  161. package/src/annotations/annotations.js +1 -1
  162. package/src/annotations/annotationsuis.js +1 -1
  163. package/src/annotations/editorannotations.js +1 -1
  164. package/src/annotations/inlineannotations.js +1 -1
  165. package/src/annotations/narrowsidebar.js +1 -1
  166. package/src/annotations/sidebar.js +1 -1
  167. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  168. package/src/annotations/view/annotationview.js +1 -1
  169. package/src/annotations/view/sidebaritemview.js +1 -1
  170. package/src/annotations/view/sidebarview.js +1 -1
  171. package/src/annotations/widesidebar.js +1 -1
  172. package/src/comments/addcommentthreadcommand.js +1 -1
  173. package/src/comments/commentsarchive.js +1 -1
  174. package/src/comments/commentsarchiveui.js +1 -1
  175. package/src/comments/commentsediting.js +1 -1
  176. package/src/comments/commentsrepository.js +1 -1
  177. package/src/comments/commentsui.js +1 -1
  178. package/src/comments/integrations/clipboard.js +1 -1
  179. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  180. package/src/comments/integrations/importword.js +1 -1
  181. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  182. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  183. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  184. package/src/comments/ui/commentthreadcontroller.js +1 -1
  185. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  186. package/src/comments/ui/view/basecommentview.js +1 -1
  187. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  188. package/src/comments/ui/view/commentcontentview.js +1 -1
  189. package/src/comments/ui/view/commentinputview.js +1 -1
  190. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  191. package/src/comments/ui/view/commentslistview.js +1 -1
  192. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  193. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  194. package/src/comments/ui/view/commentthreadview.js +1 -1
  195. package/src/comments/ui/view/commentview.js +1 -1
  196. package/src/comments.js +1 -1
  197. package/src/commentsonly.js +1 -1
  198. package/src/index.js +1 -1
  199. package/src/utils/common-translations.js +1 -1
  200. 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.3.1",
3
+ "version": "41.4.0-alpha.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-alpha.0",
49
+ "ckeditor5-collaboration": "41.4.0-alpha.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 _0x10cfde=_0xe206;function _0xe206(_0x40735b,_0x20565c){const _0x5e3ffc=_0x5e3f();return _0xe206=function(_0xe2066a,_0x1a4d6f){_0xe2066a=_0xe2066a-0x107;let _0x3803e6=_0x5e3ffc[_0xe2066a];return _0x3803e6;},_0xe206(_0x40735b,_0x20565c);}function _0x5e3f(){const _0x4e2cc6=['5270PkiZsM','annotation-invalid-target','5622106clgEkk','165Ofodoj','offsetParent','type','_id','view','render','549kGbxyZ','getClientRects','1198734CPxope','focusableElements','isArray','isActive','object','innerView','every','mainView','nodeType','985864tmaVCm','updateTargetRect','targetRect','remove','isVisible','function','refreshVisibility','60872IqCZrE','_type','_assertCorrectTarget','_getNormalizedTarget','element','1382350TcUfVs','add','target','item','3120fxcQhD','destroy','clear','set','focusTracker','stopListening','1jYUKPh','_target','filter','3128750gmmSpX','length'];_0x5e3f=function(){return _0x4e2cc6;};return _0x5e3f();}(function(_0x4059b6,_0x1b77c4){const _0x4a5299=_0xe206,_0x484b45=_0x4059b6();while(!![]){try{const _0x52efc6=-parseInt(_0x4a5299(0x10a))/0x1*(parseInt(_0x4a5299(0x10d))/0x2)+parseInt(_0x4a5299(0x11a))/0x3+parseInt(_0x4a5299(0x123))/0x4+parseInt(_0x4a5299(0x10f))/0x5*(-parseInt(_0x4a5299(0x133))/0x6)+parseInt(_0x4a5299(0x111))/0x7+parseInt(_0x4a5299(0x12a))/0x8*(-parseInt(_0x4a5299(0x118))/0x9)+-parseInt(_0x4a5299(0x12f))/0xa*(-parseInt(_0x4a5299(0x112))/0xb);if(_0x52efc6===_0x1b77c4)break;else _0x484b45['push'](_0x484b45['shift']());}catch(_0x2a6b63){_0x484b45['push'](_0x484b45['shift']());}}}(_0x5e3f,0xe6fcb));import{CKEditorError as _0x3e5f3e,Rect as _0x5437f9,Collection as _0x365c1c,ObservableMixin as _0x4659ad}from'ckeditor5/src/utils.js';export default class d extends _0x4659ad(){constructor({view:_0x484888,target:_0x2182b7,type:_0x273eb8,isVisible:_0xea7979=!0x0}){const _0xe69ee3=_0xe206;super(),this[_0xe69ee3(0x116)]=_0x484888,this[_0xe69ee3(0x116)][_0xe69ee3(0x12e)]||this[_0xe69ee3(0x116)][_0xe69ee3(0x117)](),this[_0xe69ee3(0x12b)]=_0x273eb8,this[_0xe69ee3(0x10b)]=_0x2182b7,d[_0xe69ee3(0x12c)](this[_0xe69ee3(0x12d)]()),this[_0xe69ee3(0x11b)]=new _0x365c1c([this[_0xe69ee3(0x116)][_0xe69ee3(0x12e)]],{'idProperty':_0xe69ee3(0x115)}),this[_0xe69ee3(0x11b)]['on'](_0xe69ee3(0x130),(_0x41a347,_0x3a44f8)=>{const _0x59dea3=_0xe69ee3;this[_0x59dea3(0x116)][_0x59dea3(0x108)][_0x59dea3(0x130)](_0x3a44f8);}),this[_0xe69ee3(0x11b)]['on'](_0xe69ee3(0x126),(_0x2d190c,_0x227ff1)=>{const _0xff37aa=_0xe69ee3;this[_0xff37aa(0x116)][_0xff37aa(0x108)][_0xff37aa(0x126)](_0x227ff1);}),this[_0xe69ee3(0x107)](_0xe69ee3(0x127),_0xea7979);}get[_0x10cfde(0x114)](){const _0x37457d=_0x10cfde;return _0x37457d(0x128)==typeof this[_0x37457d(0x12b)]?this[_0x37457d(0x12b)]():this[_0x37457d(0x12b)];}get[_0x10cfde(0x11f)](){const _0x4a085e=_0x10cfde;return this[_0x4a085e(0x116)][_0x4a085e(0x121)];}get[_0x10cfde(0x131)](){const _0xe7a367=_0x10cfde,_0xdb792e=this[_0xe7a367(0x12d)]();return d[_0xe7a367(0x12c)](_0xdb792e),_0xdb792e;}get[_0x10cfde(0x125)](){const _0x3cdb8b=_0x10cfde,_0x491ec7=this[_0x3cdb8b(0x131)];if(null===_0x491ec7)return null;if(_0x491ec7 instanceof _0x5437f9)return _0x491ec7;const _0x1e44a3=_0x491ec7[_0x3cdb8b(0x10c)](_0x302af5=>function(_0x449192){const _0x329538=_0x3cdb8b,_0x4d1a2f=_0x449192[_0x329538(0x113)];if(_0x4d1a2f)return!0x0;const _0x313456=_0x449192[_0x329538(0x119)]()[_0x329538(0x132)](0x0);return!!_0x313456;}(_0x302af5));return 0x0===_0x1e44a3[_0x3cdb8b(0x10e)]?null:new _0x5437f9(_0x1e44a3[0x0][_0x3cdb8b(0x119)]()[_0x3cdb8b(0x132)](0x0));}get[_0x10cfde(0x11d)](){const _0x41fd1d=_0x10cfde;return this[_0x41fd1d(0x116)][_0x41fd1d(0x11d)];}set[_0x10cfde(0x11d)](_0x318906){const _0x5bab6e=_0x10cfde;this[_0x5bab6e(0x116)][_0x5bab6e(0x11d)]=_0x318906,this[_0x5bab6e(0x116)][_0x5bab6e(0x121)][_0x5bab6e(0x11d)]=_0x318906;}[_0x10cfde(0x124)](){const _0x733227=_0x10cfde;this[_0x733227(0x116)][_0x733227(0x125)]=this[_0x733227(0x125)];}[_0x10cfde(0x134)](){const _0x12539c=_0x10cfde;this[_0x12539c(0x11b)][_0x12539c(0x109)](),this[_0x12539c(0x11b)][_0x12539c(0x135)](),this[_0x12539c(0x109)]();}[_0x10cfde(0x129)](){const _0x2875ee=_0x10cfde;this[_0x2875ee(0x127)]=!!this[_0x2875ee(0x125)];}static[_0x10cfde(0x12c)](_0x150a0a){const _0x4f2ed8=_0x10cfde;if(!(null===_0x150a0a||_0x150a0a instanceof _0x5437f9||Array[_0x4f2ed8(0x11c)](_0x150a0a)&&_0x150a0a[_0x4f2ed8(0x120)](_0x18108b=>y(_0x18108b))))throw new _0x3e5f3e(_0x4f2ed8(0x110),null,{'target':_0x150a0a});}[_0x10cfde(0x12d)](){const _0x117079=_0x10cfde,_0x23bdf4=_0x117079(0x128)==typeof this[_0x117079(0x10b)]?this[_0x117079(0x10b)]():this[_0x117079(0x10b)];return y(_0x23bdf4)?[_0x23bdf4]:_0x23bdf4;}}function y(_0x3f07da){const _0x159288=_0x10cfde;return null!==_0x3f07da&&_0x159288(0x11e)==typeof _0x3f07da&&_0x159288(0x122)in _0x3f07da&&0x1===_0x3f07da[_0x159288(0x122)];}
@@ -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
+ const _0x4bba0d=_0x2caf;(function(_0x12df5e,_0x158083){const _0x59b522=_0x2caf,_0x161e0c=_0x12df5e();while(!![]){try{const _0x257de8=-parseInt(_0x59b522(0xc7))/0x1*(parseInt(_0x59b522(0xcd))/0x2)+parseInt(_0x59b522(0xf4))/0x3+parseInt(_0x59b522(0xd0))/0x4*(parseInt(_0x59b522(0xd4))/0x5)+-parseInt(_0x59b522(0xe8))/0x6*(-parseInt(_0x59b522(0xe9))/0x7)+parseInt(_0x59b522(0xcf))/0x8+-parseInt(_0x59b522(0xea))/0x9*(-parseInt(_0x59b522(0xda))/0xa)+parseInt(_0x59b522(0xd9))/0xb*(-parseInt(_0x59b522(0xd5))/0xc);if(_0x257de8===_0x158083)break;else _0x161e0c['push'](_0x161e0c['shift']());}catch(_0x1c970a){_0x161e0c['push'](_0x161e0c['shift']());}}}(_0xee9f,0xc0359));import{CKEditorError as _0x598c97,Collection as _0x44bffc,FocusTracker as _0x3f0508}from'ckeditor5/src/utils.js';export default class x extends _0x44bffc{constructor(_0x1a6310=[]){const _0xd20994=_0x2caf;super(),this[_0xd20994(0xed)]=new Map(),this[_0xd20994(0xce)]=new Map(),this[_0xd20994(0xe1)]=new _0x3f0508(),this[_0xd20994(0xe1)]['on'](_0xd20994(0xdf),(_0x539feb,_0x14ce82,_0x40cc69)=>{const _0x2b0e3e=_0xd20994;_0x40cc69||this[_0x2b0e3e(0xf2)](_0x2b0e3e(0xdc));});for(const _0xbf1703 of _0x1a6310)this[_0xd20994(0xd3)](_0xbf1703);}get[_0x4bba0d(0xc5)](){const _0x3d1d01=_0x4bba0d;return this[_0x3d1d01(0xe1)][_0x3d1d01(0xc5)];}[_0x4bba0d(0xd3)](_0x324614){const _0x4925dc=_0x4bba0d;if(this[_0x4925dc(0xe0)](_0x324614))throw new _0x598c97(_0x4925dc(0xdb),null);this[_0x4925dc(0xed)][_0x4925dc(0xf3)](_0x324614[_0x4925dc(0xef)],_0x324614),this[_0x4925dc(0xce)][_0x4925dc(0xf3)](_0x324614[_0x4925dc(0xcc)],_0x324614);for(const _0x424998 of _0x324614[_0x4925dc(0xd6)])this[_0x4925dc(0xe1)][_0x4925dc(0xd3)](_0x424998);this[_0x4925dc(0xf0)](_0x324614[_0x4925dc(0xd6)],_0x4925dc(0xd3),(_0x1efe53,_0x235327)=>{const _0x3ba802=_0x4925dc;this[_0x3ba802(0xe1)][_0x3ba802(0xd3)](_0x235327);}),this[_0x4925dc(0xf0)](_0x324614[_0x4925dc(0xd6)],_0x4925dc(0xe5),(_0x55d936,_0x2b9a06)=>{const _0x2ac971=_0x4925dc;this[_0x2ac971(0xe1)][_0x2ac971(0xe5)](_0x2b9a06);}),this[_0x4925dc(0xf0)](_0x324614[_0x4925dc(0xcc)][_0x4925dc(0xd1)],_0x4925dc(0xdf),(_0x5e024f,_0xa76d78,_0x595039)=>{const _0x17087a=_0x4925dc;_0x595039&&this[_0x17087a(0xf2)](_0x17087a(0xc9),_0x324614);}),_0x324614[_0x4925dc(0xec)]();const _0x21ec66=this[_0x4925dc(0xdd)](_0x324614[_0x4925dc(0xcc)][_0x4925dc(0xe4)]);return super[_0x4925dc(0xd3)](_0x324614,_0x21ec66);}[_0x4bba0d(0xe5)](_0x27f700){const _0x263954=_0x4bba0d;if(!this[_0x263954(0xe0)](_0x27f700))throw new _0x598c97(_0x263954(0xcb),null);this[_0x263954(0xc6)](_0x27f700[_0x263954(0xcc)][_0x263954(0xd1)]),this[_0x263954(0xc6)](_0x27f700[_0x263954(0xd6)]);for(const _0x59fe16 of _0x27f700[_0x263954(0xd6)])this[_0x263954(0xe1)][_0x263954(0xe5)](_0x59fe16);return this[_0x263954(0xce)][_0x263954(0xca)](_0x27f700[_0x263954(0xcc)]),this[_0x263954(0xed)][_0x263954(0xca)](_0x27f700[_0x263954(0xef)]),super[_0x263954(0xe5)](_0x27f700);}[_0x4bba0d(0xeb)](_0x615ab){const _0x9fe2da=_0x4bba0d;return this[_0x9fe2da(0xed)][_0x9fe2da(0xd8)](_0x615ab);}[_0x4bba0d(0xc8)](_0x33b93d){const _0x62250e=_0x4bba0d;return this[_0x62250e(0xce)][_0x62250e(0xd8)](_0x33b93d);}[_0x4bba0d(0xee)](){const _0x501c63=_0x4bba0d;super[_0x501c63(0xe2)](),this[_0x501c63(0xc6)](),this[_0x501c63(0xed)][_0x501c63(0xe2)](),this[_0x501c63(0xce)][_0x501c63(0xe2)](),this[_0x501c63(0xe1)][_0x501c63(0xee)]();}[_0x4bba0d(0xd2)](){const _0xd1167d=_0x4bba0d;for(const _0xdbb50b of this)_0xdbb50b[_0xd1167d(0xec)]();this[_0xd1167d(0xf1)]();}[_0x4bba0d(0xf1)](){const _0x27f7f0=_0x4bba0d,_0x245e33=Array[_0x27f7f0(0xde)](this)[_0x27f7f0(0xd7)]((_0x344bf4,_0x3277a9)=>v(_0x344bf4[_0x27f7f0(0xcc)][_0x27f7f0(0xe4)],_0x3277a9[_0x27f7f0(0xcc)][_0x27f7f0(0xe4)]));for(let _0x1b6b14=_0x245e33[_0x27f7f0(0xe6)]-0x1;_0x1b6b14>0x0;_0x1b6b14--){const _0x503b5d=_0x245e33[_0x1b6b14];_0x1b6b14!==this[_0x27f7f0(0xc4)](_0x503b5d)&&(this[_0x27f7f0(0xe5)](_0x503b5d),this[_0x27f7f0(0xd3)](_0x503b5d));}}[_0x4bba0d(0xdd)](_0x5d66d8){const _0x1e1658=_0x4bba0d;let _0x18631c=0x0;if(!_0x5d66d8)return this[_0x1e1658(0xe6)];for(const _0x5e4da9 of this){const _0x27fd20=_0x5e4da9[_0x1e1658(0xcc)][_0x1e1658(0xe4)];if(_0x27fd20){if(v(_0x5d66d8,_0x27fd20)<0x0)return _0x18631c;_0x18631c++;}}return _0x18631c;}}function _0x2caf(_0x12c317,_0x43712c){const _0xee9f4b=_0xee9f();return _0x2caf=function(_0x2cafd9,_0x1b9569){_0x2cafd9=_0x2cafd9-0xc4;let _0x4f8672=_0xee9f4b[_0x2cafd9];return _0x4f8672;},_0x2caf(_0x12c317,_0x43712c);}export function bindAnnotationCollections({source:_0x496391,target:_0x14c785,filter:_0x1e4d8b}){const _0x514033=_0x4bba0d;for(const _0x5d755d of _0x496391)_0x1e4d8b(_0x5d755d)&&_0x14c785[_0x514033(0xd3)](_0x5d755d);_0x14c785[_0x514033(0xf0)](_0x496391,_0x514033(0xd3),(_0x17e56d,_0x52e24d)=>{const _0x515455=_0x514033;_0x1e4d8b(_0x52e24d)&&_0x14c785[_0x515455(0xd3)](_0x52e24d);}),_0x14c785[_0x514033(0xf0)](_0x496391,_0x514033(0xe5),(_0x3ec094,_0x18c6fc)=>{const _0x2f50ea=_0x514033;_0x14c785[_0x2f50ea(0xe0)](_0x18c6fc)&&_0x14c785[_0x2f50ea(0xe5)](_0x18c6fc);});}function v(_0x24311a,_0x1ee20a){const _0x1dfecc=_0x4bba0d;if(null===_0x24311a&&null===_0x1ee20a)return 0x0;if(null===_0x24311a)return-0x1;if(null===_0x1ee20a)return 0x1;const _0x4cb991=_0x24311a[_0x1dfecc(0xe3)]-_0x1ee20a[_0x1dfecc(0xe3)];return 0x0==_0x4cb991?_0x24311a[_0x1dfecc(0xe7)]-_0x1ee20a[_0x1dfecc(0xe7)]:_0x4cb991;}function _0xee9f(){const _0x1df765=['annotationcollection-not-existing-item','view','2549746VLxSSH','_viewToAnnotation','10169400NYlCem','2711868qdqwcz','focusTracker','refreshPositioning','add','10pxfLRM','1604316WLHqOi','focusableElements','sort','get','286cBztHH','12145030YBQPIM','annotationcollection-duplicated-item','blur','_getOrderInContent','from','change:isFocused','has','_focusTracker','clear','top','targetRect','remove','length','left','336ZSvgzB','58093WLeBQk','9rNIrps','getByInnerView','updateTargetRect','_innerViewToAnnotation','destroy','innerView','listenTo','_sort','fire','set','3695472alHxcS','getIndex','isFocused','stopListening','1ymiQFM','getByView','focus','delete'];_0xee9f=function(){return _0x1df765;};return _0xee9f();}
@@ -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
+ const _0x39121a=_0x478a;(function(_0xea5331,_0x29c794){const _0x285439=_0x478a,_0x52609d=_0xea5331();while(!![]){try{const _0x5f314f=-parseInt(_0x285439(0x95))/0x1*(-parseInt(_0x285439(0xab))/0x2)+-parseInt(_0x285439(0x98))/0x3+-parseInt(_0x285439(0x92))/0x4+parseInt(_0x285439(0x8e))/0x5+-parseInt(_0x285439(0xa7))/0x6*(parseInt(_0x285439(0xad))/0x7)+parseInt(_0x285439(0xb4))/0x8+-parseInt(_0x285439(0x96))/0x9;if(_0x5f314f===_0x29c794)break;else _0x52609d['push'](_0x52609d['shift']());}catch(_0x4aaedb){_0x52609d['push'](_0x52609d['shift']());}}}(_0x363d,0x5da50));function _0x363d(){const _0x1426da=['_deactivateAllAnnotations','view','collection','listenTo','deactivateAll','focusTracker','2846616LbkOEI','destroy','isVisible','897135yRnaLH','refreshVisibility','source','fire','235616JKORXh','Annotations','_activateAnnotation','1AirmTx','2650392gXYkBE','createAnnotation','44031idAwrf','change:isVisible','delete','add','has','activate','set','_visibleAnnotations','pluginName','createAnnotationView','activeAnnotations','remove','_removeActiveAnnotation','_addActiveAnnotation','element','154578WoCksr','stopListening','_bindAnnotationsToVisibleAnnotations','refreshPositioning','484292oRqrqm','getByInnerView','7sTSuWX'];_0x363d=function(){return _0x1426da;};return _0x363d();}import{ContextPlugin as _0x16af82}from'ckeditor5/src/core.js';import _0x4526f9 from'./annotation.js';function _0x478a(_0x1a7035,_0x39fe3d){const _0x363dc3=_0x363d();return _0x478a=function(_0x478a81,_0x4b10fc){_0x478a81=_0x478a81-0x8c;let _0x4fbe61=_0x363dc3[_0x478a81];return _0x4fbe61;},_0x478a(_0x1a7035,_0x39fe3d);}import _0x57e7ed from'./annotationcollection.js';import _0x1cf6de from'./view/annotationview.js';export default class b extends _0x16af82{static get[_0x39121a(0xa0)](){const _0x460f71=_0x39121a;return _0x460f71(0x93);}constructor(_0x902e3c){const _0x2cfe5a=_0x39121a;super(_0x902e3c),this[_0x2cfe5a(0xb0)]=new _0x57e7ed(),this[_0x2cfe5a(0x9f)]=new _0x57e7ed(),this[_0x2cfe5a(0x9e)](_0x2cfe5a(0xa2),new Set()),this[_0x2cfe5a(0xa9)]();}[_0x39121a(0x9b)](_0x4b8914){const _0x859555=_0x39121a;this[_0x859555(0xb0)][_0x859555(0x9b)](_0x4b8914);}[_0x39121a(0xa3)](_0x5f257e){const _0xf982c9=_0x39121a;this[_0xf982c9(0xb0)][_0xf982c9(0xa3)](_0x5f257e),_0x5f257e[_0xf982c9(0x8c)]();}[_0x39121a(0x8f)](){const _0x53b7dd=_0x39121a;for(const _0x3eb1fc of this[_0x53b7dd(0xb0)])_0x3eb1fc[_0x53b7dd(0x8f)]();}[_0x39121a(0xaa)](){const _0x2e73c9=_0x39121a;this[_0x2e73c9(0x9f)][_0x2e73c9(0xaa)]();}[_0x39121a(0xac)](_0x52ac74){const _0x264fad=_0x39121a;return this[_0x264fad(0xb0)][_0x264fad(0xac)](_0x52ac74);}[_0x39121a(0xb2)](){const _0x49e154=_0x39121a;this[_0x49e154(0x91)](_0x49e154(0xae));}[_0x39121a(0x8c)](){const _0x4ff093=_0x39121a;for(const _0x43d92c of this[_0x4ff093(0xb0)])_0x43d92c[_0x4ff093(0x8c)]();this[_0x4ff093(0x9f)][_0x4ff093(0x8c)](),this[_0x4ff093(0xb0)][_0x4ff093(0x8c)](),super[_0x4ff093(0x8c)]();}[_0x39121a(0x9d)](_0x12def9){const _0x3c3edf=_0x39121a;this[_0x3c3edf(0x91)](_0x3c3edf(0x94),_0x12def9);}[_0x39121a(0x97)](_0x196c00){return new _0x4526f9(_0x196c00);}[_0x39121a(0xa1)](_0x42f3a0,_0x39f026){return new _0x1cf6de(_0x42f3a0,_0x39f026);}[_0x39121a(0xa5)](_0x3af8d5){const _0x57ea08=_0x39121a,_0x737997=new Set(this[_0x57ea08(0xa2)]);_0x737997[_0x57ea08(0x9b)](_0x3af8d5),this[_0x57ea08(0xa2)]=_0x737997;}[_0x39121a(0xa4)](_0x34100e){const _0x193fbe=_0x39121a,_0x49ae8c=new Set(this[_0x193fbe(0xa2)]);_0x49ae8c[_0x193fbe(0x9a)](_0x34100e),this[_0x193fbe(0xa2)]=_0x49ae8c;}[_0x39121a(0xa9)](){const _0x51f56c=_0x39121a,_0x467455=this[_0x51f56c(0xb0)],_0x52a763=this[_0x51f56c(0x9f)];function _0x20a55a(_0x2c9f96){const _0x37dc36=_0x51f56c,_0x49be11=_0x2c9f96[_0x37dc36(0x90)];_0x49be11[_0x37dc36(0x8d)]&&!_0x52a763[_0x37dc36(0x9c)](_0x49be11)?_0x52a763[_0x37dc36(0x9b)](_0x49be11):!_0x49be11[_0x37dc36(0x8d)]&&_0x52a763[_0x37dc36(0x9c)](_0x49be11)&&_0x52a763[_0x37dc36(0xa3)](_0x49be11),_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xb3)][_0x37dc36(0xa3)](_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xa6)]),_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xb3)][_0x37dc36(0x9b)](_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xa6)]);}this[_0x51f56c(0xb1)](_0x467455,_0x51f56c(0x9b),(_0x3f3452,_0x1ee1a6)=>{const _0x304235=_0x51f56c;_0x1ee1a6[_0x304235(0x8d)]&&_0x52a763[_0x304235(0x9b)](_0x1ee1a6),this[_0x304235(0xb1)](_0x1ee1a6,_0x304235(0x99),_0x20a55a);}),this[_0x51f56c(0xb1)](_0x467455,_0x51f56c(0xa3),(_0x479613,_0x369ee8)=>{const _0x408be7=_0x51f56c;_0x52a763[_0x408be7(0x9c)](_0x369ee8)&&_0x52a763[_0x408be7(0xa3)](_0x369ee8),this[_0x408be7(0xa8)](_0x369ee8,_0x408be7(0x99),_0x20a55a);});}}
@@ -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 _0x57da73=_0xc15e;(function(_0x5254c5,_0x364283){const _0x435092=_0xc15e,_0x55c13f=_0x5254c5();while(!![]){try{const _0x3c53e6=-parseInt(_0x435092(0x149))/0x1+-parseInt(_0x435092(0x166))/0x2+-parseInt(_0x435092(0x147))/0x3*(parseInt(_0x435092(0x15c))/0x4)+parseInt(_0x435092(0x134))/0x5*(-parseInt(_0x435092(0x15e))/0x6)+-parseInt(_0x435092(0x135))/0x7*(parseInt(_0x435092(0x152))/0x8)+-parseInt(_0x435092(0x140))/0x9*(parseInt(_0x435092(0x133))/0xa)+parseInt(_0x435092(0x141))/0xb;if(_0x3c53e6===_0x364283)break;else _0x55c13f['push'](_0x55c13f['shift']());}catch(_0x4989d8){_0x55c13f['push'](_0x55c13f['shift']());}}}(_0x4e8b,0x8b166));function _0x4e8b(){const _0x130391=['1691035ryFiKh','9513GRxYFf','_visibleAnnotations','pluginName','stopListening','attach','_deactivateAllAnnotations','annotationsuis-missing-ui','_uis','isActive','function','has','899244IsAeqD','52000465IIhvrJ','annotationsuis-register-invalid-interface','listenTo','find','size','activate','2484741MbdonB','activeUIs','775543xGwRki','register','switchTo','_assertAnnotationDoesNotBelongToMultipleUIs','init','collection','push','deactivate','detach','3728CYsZfy','length','AnnotationsUIs','_uisData','deactivateAll','refilterAnnotations','change:activeAnnotation','annotationsuis-annotation-mismatch','_setSelectedAnnotations','get','4FSdEvj','type','6ObvaaQ','set','destroy','delete','requires','add','_removeActiveAnnotation','context','1565988KnahOu','filter','_addActiveAnnotation','plugins','activeAnnotations','remove','_activateAnnotation','annotationsuis-register-already-registered','setActiveAnnotation','from','hasActive','80uypTRn'];_0x4e8b=function(){return _0x130391;};return _0x4e8b();}import{ContextPlugin as _0x572832}from'ckeditor5/src/core.js';import{CKEditorError as _0x49b15e}from'ckeditor5/src/utils.js';function _0xc15e(_0x819ac5,_0x141ff3){const _0x4e8b9c=_0x4e8b();return _0xc15e=function(_0xc15e87,_0x39b984){_0xc15e87=_0xc15e87-0x12f;let _0x21af0c=_0x4e8b9c[_0xc15e87];return _0x21af0c;},_0xc15e(_0x819ac5,_0x141ff3);}import _0x4973ca,{bindAnnotationCollections as _0x47dd03}from'./annotationcollection.js';import _0xa2a4ca from'./annotations.js';export default class j extends _0x572832{static get[_0x57da73(0x162)](){return[_0xa2a4ca];}static get[_0x57da73(0x137)](){const _0x2f801a=_0x57da73;return _0x2f801a(0x154);}constructor(_0xcd5b90){const _0x80d5a1=_0x57da73;super(_0xcd5b90),this[_0x80d5a1(0x148)]=new Set(),this[_0x80d5a1(0x13c)]=new Map(),this[_0x80d5a1(0x155)]=new Map();}[_0x57da73(0x14d)](){const _0x5a4ee1=_0x57da73,_0x5932fd=this[_0x5a4ee1(0x165)][_0x5a4ee1(0x169)][_0x5a4ee1(0x15b)](_0xa2a4ca);this[_0x5a4ee1(0x143)](_0x5932fd,_0x5a4ee1(0x16c),(_0x248fc8,_0x52941d)=>{const _0xc7312c=_0x5a4ee1;for(const _0x7d29cf of this[_0xc7312c(0x148)]){const _0x39e6a4=this[_0xc7312c(0x13c)][_0xc7312c(0x15b)](_0x7d29cf);(0x0,this[_0xc7312c(0x155)][_0xc7312c(0x15b)](_0x7d29cf)[_0xc7312c(0x167)])(_0x52941d)&&_0x39e6a4[_0xc7312c(0x130)](_0x52941d);}}),this[_0x5a4ee1(0x143)](_0x5932fd,_0x5a4ee1(0x13a),()=>{const _0x432fe8=_0x5a4ee1;for(const _0x3ee79 of this[_0x432fe8(0x148)]){this[_0x432fe8(0x13c)][_0x432fe8(0x15b)](_0x3ee79)[_0x432fe8(0x130)](null);}}),this[_0x5a4ee1(0x143)](_0x5932fd[_0x5a4ee1(0x136)],_0x5a4ee1(0x163),(_0x109ac2,_0x1c869e)=>{const _0xab4242=_0x5a4ee1;this[_0xab4242(0x14c)](_0x1c869e);});}[_0x57da73(0x132)](){const _0x9d2137=_0x57da73;return this[_0x9d2137(0x148)][_0x9d2137(0x145)]>0x0;}[_0x57da73(0x13d)](_0x5ce974){const _0x71fdef=_0x57da73;return this[_0x71fdef(0x148)][_0x71fdef(0x13f)](_0x5ce974);}[_0x57da73(0x146)](_0x34e309,_0x584a41=()=>!0x0){const _0xf0d07f=_0x57da73,_0x621e7=this[_0xf0d07f(0x165)][_0xf0d07f(0x169)][_0xf0d07f(0x15b)](_0xa2a4ca);if(!this[_0xf0d07f(0x13c)][_0xf0d07f(0x13f)](_0x34e309))throw new _0x49b15e(_0xf0d07f(0x13b),this,{'uiName':_0x34e309});this[_0xf0d07f(0x13d)](_0x34e309)&&this[_0xf0d07f(0x150)](_0x34e309),this[_0xf0d07f(0x148)][_0xf0d07f(0x163)](_0x34e309);const _0x345b9b=new _0x4973ca(),_0xee30f8=_0x621e7[_0xf0d07f(0x136)];_0x47dd03({'source':_0xee30f8,'target':_0x345b9b,'filter':_0x584a41}),this[_0xf0d07f(0x155)][_0xf0d07f(0x15f)](_0x34e309,{'collection':_0x345b9b,'filter':_0x584a41});const _0x19b66e=this[_0xf0d07f(0x13c)][_0xf0d07f(0x15b)](_0x34e309);_0x19b66e[_0xf0d07f(0x139)](_0x345b9b),this[_0xf0d07f(0x143)](_0x19b66e,_0xf0d07f(0x158),(_0x5624aa,_0x1da4ff,_0x41d5e5,_0xb51ca8)=>{const _0x4ecade=_0xf0d07f;_0xb51ca8&&_0x621e7[_0x4ecade(0x164)](_0xb51ca8),_0x41d5e5&&_0x621e7[_0x4ecade(0x168)](_0x41d5e5);});}[_0x57da73(0x150)](_0x2f63a1){const _0x4baa5d=_0x57da73;if(this[_0x4baa5d(0x148)][_0x4baa5d(0x161)](_0x2f63a1),!this[_0x4baa5d(0x13c)][_0x4baa5d(0x13f)](_0x2f63a1))throw new _0x49b15e(_0x4baa5d(0x13b),this,{'uiName':_0x2f63a1});const _0x1415f2=this[_0x4baa5d(0x13c)][_0x4baa5d(0x15b)](_0x2f63a1);_0x1415f2[_0x4baa5d(0x151)](),this[_0x4baa5d(0x138)](_0x1415f2),this[_0x4baa5d(0x155)][_0x4baa5d(0x15b)](_0x2f63a1)[_0x4baa5d(0x14e)][_0x4baa5d(0x160)](),this[_0x4baa5d(0x155)][_0x4baa5d(0x161)](_0x2f63a1);}[_0x57da73(0x14b)](_0x419217){const _0x1029f0=_0x57da73;if(!this[_0x1029f0(0x13c)][_0x1029f0(0x13f)](_0x419217))throw new _0x49b15e(_0x1029f0(0x13b),this,{'uiName':_0x419217});const _0x520ddf=this[_0x1029f0(0x165)][_0x1029f0(0x169)][_0x1029f0(0x15b)](_0xa2a4ca),_0x327049=Array[_0x1029f0(0x131)](_0x520ddf[_0x1029f0(0x16a)])[0x0]||null;this[_0x1029f0(0x156)](),this[_0x1029f0(0x146)](_0x419217);const _0x1d572d=this[_0x1029f0(0x13c)][_0x1029f0(0x15b)](_0x419217);_0x1d572d[_0x1029f0(0x130)](_0x327049),_0x1d572d[_0x1029f0(0x15a)]&&_0x327049&&_0x1d572d[_0x1029f0(0x15a)]([_0x327049]);}[_0x57da73(0x156)](){const _0x3c13e0=_0x57da73;for(const _0x401938 of this[_0x3c13e0(0x148)])this[_0x3c13e0(0x150)](_0x401938);}[_0x57da73(0x14a)](_0xdd181c,_0x1866ae){const _0x145c91=_0x57da73;if(this[_0x145c91(0x13c)][_0x145c91(0x13f)](_0xdd181c))throw new _0x49b15e(_0x145c91(0x12f));if(_0x145c91(0x13e)!=typeof _0x1866ae[_0x145c91(0x139)]||_0x145c91(0x13e)!=typeof _0x1866ae[_0x145c91(0x151)]||_0x145c91(0x13e)!=typeof _0x1866ae[_0x145c91(0x130)])throw new _0x49b15e(_0x145c91(0x142),null);this[_0x145c91(0x13c)][_0x145c91(0x15f)](_0xdd181c,_0x1866ae);}[_0x57da73(0x157)](){const _0x1e1b02=_0x57da73,_0x4c1f38=this[_0x1e1b02(0x165)][_0x1e1b02(0x169)][_0x1e1b02(0x15b)](_0xa2a4ca)[_0x1e1b02(0x14e)],_0x540a66=new Map(),_0x39d550=Array[_0x1e1b02(0x131)](this[_0x1e1b02(0x148)]);for(const _0x1c3123 of this[_0x1e1b02(0x148)]){const _0x5951ce=this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x1c3123)[_0x1e1b02(0x14e)];for(const _0x14c0ab of _0x5951ce)_0x540a66[_0x1e1b02(0x15f)](_0x14c0ab,_0x1c3123);}for(const _0x10422a of _0x4c1f38){const _0x50a2e4=_0x540a66[_0x1e1b02(0x15b)](_0x10422a);this[_0x1e1b02(0x14c)](_0x10422a);const _0x6e6a1=_0x39d550[_0x1e1b02(0x144)](_0x13708f=>this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x13708f)[_0x1e1b02(0x167)](_0x10422a));_0x50a2e4!==_0x6e6a1&&(_0x50a2e4&&this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x50a2e4)[_0x1e1b02(0x14e)][_0x1e1b02(0x16b)](_0x10422a),_0x6e6a1&&this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x6e6a1)[_0x1e1b02(0x14e)][_0x1e1b02(0x163)](_0x10422a));}}[_0x57da73(0x160)](){const _0x232c67=_0x57da73;this[_0x232c67(0x156)](),super[_0x232c67(0x160)]();}[_0x57da73(0x14c)](_0x1307f3){const _0x1df489=_0x57da73,_0xce95de=[];for(const _0x360ed3 of this[_0x1df489(0x148)]){(0x0,this[_0x1df489(0x155)][_0x1df489(0x15b)](_0x360ed3)[_0x1df489(0x167)])(_0x1307f3)&&_0xce95de[_0x1df489(0x14f)](_0x360ed3);}if(_0xce95de[_0x1df489(0x153)]>0x1)throw new _0x49b15e(_0x1df489(0x159),null,{'matchedUIs':_0xce95de,'annotationType':_0x1307f3[_0x1df489(0x15d)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ffe88=_0x3e97;(function(_0x7cc79f,_0xd78abc){const _0x49c945=_0x3e97,_0x1f4dca=_0x7cc79f();while(!![]){try{const _0x720fb5=-parseInt(_0x49c945(0x16c))/0x1+-parseInt(_0x49c945(0x15c))/0x2+parseInt(_0x49c945(0x176))/0x3+-parseInt(_0x49c945(0x190))/0x4+-parseInt(_0x49c945(0x15d))/0x5*(parseInt(_0x49c945(0x163))/0x6)+parseInt(_0x49c945(0x174))/0x7+-parseInt(_0x49c945(0x18a))/0x8*(-parseInt(_0x49c945(0x162))/0x9);if(_0x720fb5===_0xd78abc)break;else _0x1f4dca['push'](_0x1f4dca['shift']());}catch(_0x2280fd){_0x1f4dca['push'](_0x1f4dca['shift']());}}}(_0x4294,0x8f268));function _0x4294(){const _0x457686=['4202652yDBHxj','push','directChange','annotation','uiUpdate','from','editorannotations-invalid-source-callback','editing','refresh','hasDomSelection','727196VwbeHf','585KZFJNG','_dataCollectors','_editorAnnotationsData','listenTo','view','18076869RlPDBj','31134RWGibl','add','pluginName','containsRange','delete','set','collection','isCollapsed','has','486603imiAQF','EditorAnnotations','innerView','function','isEqual','map','registerAnnotation','range','4695488UWoxtS','isReadOnly','1244988PJfSDB','blur','focusTracker','addSourceCollector','getRanges','getByInnerView','refreshSelectedViews','getOrderedSelectedAnnotations','update','document','remove','change:range','sort','requires','cancel','fire','_editorAnnotations','selection','init','editor','8KskOxJ','plugins','get','change:isFocused','model','element'];_0x4294=function(){return _0x457686;};return _0x4294();}import{Plugin as _0x4c5c44}from'ckeditor5/src/core.js';function _0x3e97(_0x2ef3a5,_0x55901c){const _0x4294ba=_0x4294();return _0x3e97=function(_0x3e97b6,_0x2ecbe7){_0x3e97b6=_0x3e97b6-0x155;let _0x33f70d=_0x4294ba[_0x3e97b6];return _0x33f70d;},_0x3e97(_0x2ef3a5,_0x55901c);}import{CKEditorError as _0x18e7a3}from'ckeditor5/src/utils.js';import{debounce as _0x507cd5}from'lodash-es';import _0x1ff1ea from'./annotations.js';export default class k extends _0x4c5c44{static get[_0x3ffe88(0x183)](){return[_0x1ff1ea];}static get[_0x3ffe88(0x165)](){const _0x3f40d9=_0x3ffe88;return _0x3f40d9(0x16d);}constructor(_0x2a3581){const _0x409584=_0x3ffe88;super(_0x2a3581),this[_0x409584(0x15e)]=new Set(),this[_0x409584(0x186)]=new Set();}[_0x3ffe88(0x188)](){const _0x2abbec=_0x3ffe88,_0x37b0ac=this[_0x2abbec(0x189)],_0x5e7f50=_0x37b0ac[_0x2abbec(0x18e)][_0x2abbec(0x17f)][_0x2abbec(0x187)],_0x3c10bf=_0x507cd5(()=>this[_0x2abbec(0x17c)](),0xa);_0x5e7f50['on'](_0x2abbec(0x181),(_0x27d3e3,_0x23afeb)=>{const _0x11f0fc=_0x2abbec;_0x23afeb[_0x11f0fc(0x192)]&&(_0x3c10bf[_0x11f0fc(0x184)](),this[_0x11f0fc(0x17c)]());}),this[_0x2abbec(0x160)](_0x37b0ac[_0x2abbec(0x159)][_0x2abbec(0x161)][_0x2abbec(0x17f)],_0x2abbec(0x18d),(_0xa73670,_0x1df3d7,_0x5a6962)=>{_0x5a6962&&_0x3c10bf();}),this[_0x2abbec(0x160)](_0x37b0ac['ui'][_0x2abbec(0x178)],_0x2abbec(0x18d),(_0x46ac0d,_0x453d8d,_0x2c96d5)=>{const _0x43e0b1=_0x2abbec;_0x2c96d5||_0x37b0ac[_0x43e0b1(0x175)]||this[_0x43e0b1(0x185)](_0x43e0b1(0x177),{'isAnnotationTracked':_0xc8283d=>this[_0x43e0b1(0x15f)][_0x43e0b1(0x16b)](_0xc8283d[_0x43e0b1(0x16e)])});}),this[_0x2abbec(0x160)](this[_0x2abbec(0x189)]['ui'],_0x2abbec(0x17e),()=>this[_0x2abbec(0x185)](_0x2abbec(0x156)));}[_0x3ffe88(0x172)](_0x305f16){const _0x32d28f=_0x3ffe88;if(this[_0x32d28f(0x186)][_0x32d28f(0x16b)](_0x305f16[_0x32d28f(0x161)]))return;this[_0x32d28f(0x186)][_0x32d28f(0x164)](_0x305f16[_0x32d28f(0x161)]),this[_0x32d28f(0x189)]['ui'][_0x32d28f(0x178)][_0x32d28f(0x164)](_0x305f16[_0x32d28f(0x161)][_0x32d28f(0x18f)]);const _0x42caa3=this[_0x32d28f(0x189)][_0x32d28f(0x18b)][_0x32d28f(0x18c)](_0x1ff1ea);this[_0x32d28f(0x160)](_0x42caa3[_0x32d28f(0x169)],_0x32d28f(0x180),(_0xe719e6,_0x439567)=>{const _0x5a5d45=_0x32d28f;this[_0x5a5d45(0x189)]['ui'][_0x5a5d45(0x178)][_0x5a5d45(0x180)](_0x439567[_0x5a5d45(0x161)][_0x5a5d45(0x18f)]),this[_0x5a5d45(0x186)][_0x5a5d45(0x167)](_0x439567[_0x5a5d45(0x161)]);});}[_0x3ffe88(0x15b)](){const _0x53359e=_0x3ffe88;return this[_0x53359e(0x189)][_0x53359e(0x159)][_0x53359e(0x161)][_0x53359e(0x15b)];}[_0x3ffe88(0x179)](_0x18458a){const _0x126514=_0x3ffe88;if(_0x126514(0x16f)!=typeof _0x18458a)throw new _0x18e7a3(_0x126514(0x158));this[_0x126514(0x15e)][_0x126514(0x164)](_0x18458a);}[_0x3ffe88(0x17c)](){const _0x14fa44=_0x3ffe88;this[_0x14fa44(0x185)](_0x14fa44(0x15a));}[_0x3ffe88(0x17d)]({activeAnnotation:_0x15a304,annotations:_0x329f91}){const _0x3f4b2a=_0x3ffe88,_0x1ce9a6=[],_0x38e9c2=this[_0x3f4b2a(0x189)][_0x3f4b2a(0x18e)][_0x3f4b2a(0x17f)][_0x3f4b2a(0x187)],_0x48c0ba=Array[_0x3f4b2a(0x157)](_0x38e9c2[_0x3f4b2a(0x17a)]());for(const [_0x4bd774,_0x58ae77]of this[_0x3f4b2a(0x15f)]){const _0x6808f=_0x52985a(_0x58ae77),_0x48bb0b=_0x329f91[_0x3f4b2a(0x17b)](_0x4bd774);_0x6808f&&_0x48bb0b&&_0x1ce9a6[_0x3f4b2a(0x191)]({'annotation':_0x48bb0b,'range':_0x6808f});}function _0x52985a(_0x5a08c2){const _0x2f1af3=_0x3f4b2a;for(const _0x4f2f21 of _0x5a08c2)for(const _0xb3768e of _0x48c0ba)if(_0x4f2f21[_0x2f1af3(0x166)](_0xb3768e,!_0x38e9c2[_0x2f1af3(0x16a)]))return _0x4f2f21;return null;}return _0x1ce9a6[_0x3f4b2a(0x182)]((_0x395ce2,_0x1161cb)=>{const _0x47ccc4=_0x3f4b2a,_0x5608f5=_0x395ce2[_0x47ccc4(0x173)],_0x45cb93=_0x1161cb[_0x47ccc4(0x173)];if(!_0x5608f5[_0x47ccc4(0x170)](_0x45cb93)){if(_0x5608f5[_0x47ccc4(0x166)](_0x45cb93,!0x0))return 0x1;if(_0x45cb93[_0x47ccc4(0x166)](_0x5608f5,!0x0))return-0x1;}return _0x395ce2[_0x47ccc4(0x155)]==_0x15a304?-0x1:_0x1161cb[_0x47ccc4(0x155)]==_0x15a304?0x1:0x0;})[_0x3f4b2a(0x171)](_0x594806=>_0x594806[_0x3f4b2a(0x155)]);}get[_0x3ffe88(0x15f)](){const _0x2a345a=_0x3ffe88,_0x2e6beb=new Map();for(const _0x2fc602 of Array[_0x2a345a(0x157)](this[_0x2a345a(0x15e)]))for(const [_0xf20679,_0x1901b0]of _0x2fc602())_0x2e6beb[_0x2a345a(0x168)](_0xf20679,_0x1901b0);return _0x2e6beb;}}
23
+ function _0x2917(){const _0x2418cf=['isReadOnly','set','834927rpQqgu','200493StQhSM','getRanges','1614845dcnzul','803DWUGxH','fire','editorannotations-invalid-source-callback','model','annotation','editing','change:isFocused','listenTo','uiUpdate','refreshSelectedViews','_editorAnnotations','1054036kIOgoR','innerView','cancel','function','focusTracker','remove','range','plugins','getOrderedSelectedAnnotations','104akZDTf','isCollapsed','element','7efyIWk','1750784FDUPAC','_dataCollectors','editor','8lUrtef','268630aODPjJ','sort','_editorAnnotationsData','hasDomSelection','delete','document','get','addSourceCollector','directChange','push','6541446yfSRiU','requires','collection','map','EditorAnnotations','add','view','from','blur','getByInnerView','init','registerAnnotation','update','isEqual','has','refresh','selection','containsRange','change:range','pluginName'];_0x2917=function(){return _0x2418cf;};return _0x2917();}const _0x537c03=_0x2947;(function(_0x4526b8,_0x5d8ae4){const _0x2fd0ae=_0x2947,_0x52bf99=_0x4526b8();while(!![]){try{const _0x5415d6=-parseInt(_0x2fd0ae(0x10f))/0x1+parseInt(_0x2fd0ae(0x11c))/0x2+parseInt(_0x2fd0ae(0x100))/0x3+parseInt(_0x2fd0ae(0x11f))/0x4*(-parseInt(_0x2fd0ae(0x103))/0x5)+parseInt(_0x2fd0ae(0xea))/0x6*(-parseInt(_0x2fd0ae(0x11b))/0x7)+-parseInt(_0x2fd0ae(0x118))/0x8*(-parseInt(_0x2fd0ae(0x101))/0x9)+-parseInt(_0x2fd0ae(0x120))/0xa*(-parseInt(_0x2fd0ae(0x104))/0xb);if(_0x5415d6===_0x5d8ae4)break;else _0x52bf99['push'](_0x52bf99['shift']());}catch(_0x36804b){_0x52bf99['push'](_0x52bf99['shift']());}}}(_0x2917,0x95ec6));import{Plugin as _0x774ad9}from'ckeditor5/src/core.js';import{CKEditorError as _0x273efe}from'ckeditor5/src/utils.js';import{debounce as _0x313294}from'lodash-es';import _0x11e387 from'./annotations.js';function _0x2947(_0x265db8,_0x20f556){const _0x291746=_0x2917();return _0x2947=function(_0x29470c,_0x41c2c2){_0x29470c=_0x29470c-0xe5;let _0x4e5a33=_0x291746[_0x29470c];return _0x4e5a33;},_0x2947(_0x265db8,_0x20f556);}export default class k extends _0x774ad9{static get[_0x537c03(0xeb)](){return[_0x11e387];}static get[_0x537c03(0xfd)](){const _0x49d527=_0x537c03;return _0x49d527(0xee);}constructor(_0x4b526c){const _0x3cfd03=_0x537c03;super(_0x4b526c),this[_0x3cfd03(0x11d)]=new Set(),this[_0x3cfd03(0x10e)]=new Set();}[_0x537c03(0xf4)](){const _0x502d3a=_0x537c03,_0x4bedc0=this[_0x502d3a(0x11e)],_0x1b55d1=_0x4bedc0[_0x502d3a(0x107)][_0x502d3a(0xe5)][_0x502d3a(0xfa)],_0x41b58b=_0x313294(()=>this[_0x502d3a(0x10d)](),0xa);_0x1b55d1['on'](_0x502d3a(0xfc),(_0x4bb8d6,_0x25933d)=>{const _0x20aed4=_0x502d3a;_0x25933d[_0x20aed4(0xe8)]&&(_0x41b58b[_0x20aed4(0x111)](),this[_0x20aed4(0x10d)]());}),this[_0x502d3a(0x10b)](_0x4bedc0[_0x502d3a(0x109)][_0x502d3a(0xf0)][_0x502d3a(0xe5)],_0x502d3a(0x10a),(_0x1db7da,_0x86a7cd,_0x1d2c2e)=>{_0x1d2c2e&&_0x41b58b();}),this[_0x502d3a(0x10b)](_0x4bedc0['ui'][_0x502d3a(0x113)],_0x502d3a(0x10a),(_0x4f29a3,_0x4e1091,_0x694f43)=>{const _0x5847ed=_0x502d3a;_0x694f43||_0x4bedc0[_0x5847ed(0xfe)]||this[_0x5847ed(0x105)](_0x5847ed(0xf2),{'isAnnotationTracked':_0x560917=>this[_0x5847ed(0x122)][_0x5847ed(0xf8)](_0x560917[_0x5847ed(0x110)])});}),this[_0x502d3a(0x10b)](this[_0x502d3a(0x11e)]['ui'],_0x502d3a(0xf6),()=>this[_0x502d3a(0x105)](_0x502d3a(0x10c)));}[_0x537c03(0xf5)](_0xda22f1){const _0x3381dc=_0x537c03;if(this[_0x3381dc(0x10e)][_0x3381dc(0xf8)](_0xda22f1[_0x3381dc(0xf0)]))return;this[_0x3381dc(0x10e)][_0x3381dc(0xef)](_0xda22f1[_0x3381dc(0xf0)]),this[_0x3381dc(0x11e)]['ui'][_0x3381dc(0x113)][_0x3381dc(0xef)](_0xda22f1[_0x3381dc(0xf0)][_0x3381dc(0x11a)]);const _0x1764c1=this[_0x3381dc(0x11e)][_0x3381dc(0x116)][_0x3381dc(0xe6)](_0x11e387);this[_0x3381dc(0x10b)](_0x1764c1[_0x3381dc(0xec)],_0x3381dc(0x114),(_0x464717,_0x295d7f)=>{const _0x52fb05=_0x3381dc;this[_0x52fb05(0x11e)]['ui'][_0x52fb05(0x113)][_0x52fb05(0x114)](_0x295d7f[_0x52fb05(0xf0)][_0x52fb05(0x11a)]),this[_0x52fb05(0x10e)][_0x52fb05(0x124)](_0x295d7f[_0x52fb05(0xf0)]);});}[_0x537c03(0x123)](){const _0x282a22=_0x537c03;return this[_0x282a22(0x11e)][_0x282a22(0x109)][_0x282a22(0xf0)][_0x282a22(0x123)];}[_0x537c03(0xe7)](_0x5cb057){const _0x423c5c=_0x537c03;if(_0x423c5c(0x112)!=typeof _0x5cb057)throw new _0x273efe(_0x423c5c(0x106));this[_0x423c5c(0x11d)][_0x423c5c(0xef)](_0x5cb057);}[_0x537c03(0x10d)](){const _0x2147f8=_0x537c03;this[_0x2147f8(0x105)](_0x2147f8(0xf9));}[_0x537c03(0x117)]({activeAnnotation:_0x563b4e,annotations:_0x1a7b90}){const _0x3d9d73=_0x537c03,_0x4a6715=[],_0x48a9d0=this[_0x3d9d73(0x11e)][_0x3d9d73(0x107)][_0x3d9d73(0xe5)][_0x3d9d73(0xfa)],_0x1635d2=Array[_0x3d9d73(0xf1)](_0x48a9d0[_0x3d9d73(0x102)]());for(const [_0x47cbda,_0x3e93b7]of this[_0x3d9d73(0x122)]){const _0x50e072=_0x2d072d(_0x3e93b7),_0x405bee=_0x1a7b90[_0x3d9d73(0xf3)](_0x47cbda);_0x50e072&&_0x405bee&&_0x4a6715[_0x3d9d73(0xe9)]({'annotation':_0x405bee,'range':_0x50e072});}function _0x2d072d(_0x2176c9){const _0xcc818d=_0x3d9d73;for(const _0x405567 of _0x2176c9)for(const _0x416542 of _0x1635d2)if(_0x405567[_0xcc818d(0xfb)](_0x416542,!_0x48a9d0[_0xcc818d(0x119)]))return _0x405567;return null;}return _0x4a6715[_0x3d9d73(0x121)]((_0x551be1,_0x4ee3f8)=>{const _0x599d54=_0x3d9d73,_0x8dc8b3=_0x551be1[_0x599d54(0x115)],_0x4d88cb=_0x4ee3f8[_0x599d54(0x115)];if(!_0x8dc8b3[_0x599d54(0xf7)](_0x4d88cb)){if(_0x8dc8b3[_0x599d54(0xfb)](_0x4d88cb,!0x0))return 0x1;if(_0x4d88cb[_0x599d54(0xfb)](_0x8dc8b3,!0x0))return-0x1;}return _0x551be1[_0x599d54(0x108)]==_0x563b4e?-0x1:_0x4ee3f8[_0x599d54(0x108)]==_0x563b4e?0x1:0x0;})[_0x3d9d73(0xed)](_0x36b16a=>_0x36b16a[_0x3d9d73(0x108)]);}get[_0x537c03(0x122)](){const _0x488eb4=_0x537c03,_0x140a7a=new Map();for(const _0x4d8978 of Array[_0x488eb4(0xf1)](this[_0x488eb4(0x11d)]))for(const [_0x1b0213,_0x4bb2d8]of _0x4d8978())_0x140a7a[_0x488eb4(0xff)](_0x1b0213,_0x4bb2d8);return _0x140a7a;}}