@ckeditor/ckeditor5-comments 38.1.1 → 38.2.0-alpha.1

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 (86) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +4 -3
  3. package/src/annotations/annotation.d.ts +86 -86
  4. package/src/annotations/annotation.js +1 -1
  5. package/src/annotations/annotationcollection.d.ts +94 -94
  6. package/src/annotations/annotationcollection.js +1 -1
  7. package/src/annotations/annotations.d.ts +150 -150
  8. package/src/annotations/annotations.js +1 -1
  9. package/src/annotations/annotationsuis.d.ts +228 -228
  10. package/src/annotations/annotationsuis.js +1 -1
  11. package/src/annotations/editorannotations.d.ts +63 -63
  12. package/src/annotations/editorannotations.js +1 -1
  13. package/src/annotations/inlineannotations.d.ts +86 -86
  14. package/src/annotations/inlineannotations.js +1 -1
  15. package/src/annotations/narrowsidebar.d.ts +81 -81
  16. package/src/annotations/narrowsidebar.js +1 -1
  17. package/src/annotations/sidebar.d.ts +96 -96
  18. package/src/annotations/sidebar.js +1 -1
  19. package/src/annotations/view/annotationcounterbuttonview.d.ts +25 -25
  20. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  21. package/src/annotations/view/annotationview.d.ts +86 -86
  22. package/src/annotations/view/annotationview.js +1 -1
  23. package/src/annotations/view/sidebaritemview.d.ts +51 -51
  24. package/src/annotations/view/sidebaritemview.js +1 -1
  25. package/src/annotations/view/sidebarview.d.ts +28 -28
  26. package/src/annotations/view/sidebarview.js +1 -1
  27. package/src/annotations/widesidebar.d.ts +73 -73
  28. package/src/annotations/widesidebar.js +1 -1
  29. package/src/augmentation.d.ts +48 -48
  30. package/src/comments/addcommentthreadcommand.d.ts +31 -31
  31. package/src/comments/addcommentthreadcommand.js +1 -1
  32. package/src/comments/commentsarchive.d.ts +27 -27
  33. package/src/comments/commentsarchive.js +1 -1
  34. package/src/comments/commentsarchiveui.d.ts +34 -34
  35. package/src/comments/commentsarchiveui.js +1 -1
  36. package/src/comments/commentsediting.d.ts +75 -75
  37. package/src/comments/commentsediting.js +1 -1
  38. package/src/comments/commentsrepository.d.ts +1088 -1088
  39. package/src/comments/commentsrepository.js +1 -1
  40. package/src/comments/commentsui.d.ts +29 -29
  41. package/src/comments/commentsui.js +1 -1
  42. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +13 -13
  43. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  44. package/src/comments/integrations/importword.d.ts +17 -17
  45. package/src/comments/integrations/importword.js +1 -1
  46. package/src/comments/ui/commenteditor/commenteditor.d.ts +32 -32
  47. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  48. package/src/comments/ui/commenteditor/commenteditorui.d.ts +27 -27
  49. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  50. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +32 -32
  51. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  52. package/src/comments/ui/commentthreadcontroller.d.ts +64 -64
  53. package/src/comments/ui/commentthreadcontroller.js +1 -1
  54. package/src/comments/ui/view/basecommentthreadview.d.ts +108 -108
  55. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  56. package/src/comments/ui/view/basecommentview.d.ts +108 -108
  57. package/src/comments/ui/view/basecommentview.js +1 -1
  58. package/src/comments/ui/view/collapsedcommentsview.d.ts +9 -9
  59. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  60. package/src/comments/ui/view/commentcontentview.d.ts +10 -10
  61. package/src/comments/ui/view/commentcontentview.js +1 -1
  62. package/src/comments/ui/view/commentinputview.d.ts +82 -82
  63. package/src/comments/ui/view/commentinputview.js +1 -1
  64. package/src/comments/ui/view/commentsarchiveview.d.ts +34 -34
  65. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  66. package/src/comments/ui/view/commentslistview.d.ts +96 -96
  67. package/src/comments/ui/view/commentslistview.js +1 -1
  68. package/src/comments/ui/view/commentthreadheaderview.d.ts +46 -46
  69. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  70. package/src/comments/ui/view/commentthreadinputview.d.ts +37 -37
  71. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  72. package/src/comments/ui/view/commentthreadview.d.ts +113 -113
  73. package/src/comments/ui/view/commentthreadview.js +1 -1
  74. package/src/comments/ui/view/commentview.d.ts +239 -239
  75. package/src/comments/ui/view/commentview.js +1 -1
  76. package/src/comments.d.ts +31 -31
  77. package/src/comments.js +1 -1
  78. package/src/commentsonly.d.ts +29 -29
  79. package/src/commentsonly.js +1 -1
  80. package/src/config.d.ts +172 -172
  81. package/src/index.d.ts +21 -21
  82. package/src/index.js +1 -1
  83. package/src/utils/common-translations.d.ts +5 -5
  84. package/src/utils/common-translations.js +1 -1
  85. package/src/utils/createmutationobserver.d.ts +13 -13
  86. package/src/utils/createmutationobserver.js +1 -1
@@ -1,150 +1,150 @@
1
- /**
2
- * @module comments/annotations/annotations
3
- * @publicApi
4
- */
5
- import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core';
6
- import type { View } from 'ckeditor5/src/ui';
7
- import { type Locale } from 'ckeditor5/src/utils';
8
- import Annotation, { type AnnotationTarget } from './annotation';
9
- import AnnotationCollection from './annotationcollection';
10
- import AnnotationView, { type AnnotationMainView } from './view/annotationview';
11
- /**
12
- * Stores and manages all {@link module:comments/annotations/annotation~Annotation annotations} created
13
- * for the entire {@link module:core/context~Context} or {@link module:core/editor/editor~Editor}.
14
- *
15
- * It allows for {@link module:comments/annotations/annotations~Annotations#add adding} and
16
- * {@link module:comments/annotations/annotations~Annotations#remove removing} annotations.
17
- *
18
- * It manages {@link module:comments/annotations/annotations~Annotations#activate activating} and
19
- * {@link module:comments/annotations/annotations~Annotations#deactivateAll deactivating} annotations. Using those methods will
20
- * result in setting {@link module:comments/annotations/annotationsuis~AnnotationUI#activeAnnotation} in the appropriate
21
- * {@link module:comments/annotations/annotationsuis~AnnotationsUI annotations UI} plugins.
22
- *
23
- * All active annotations are stored in {@link module:comments/annotations/annotations~Annotations#activeAnnotations}.
24
- *
25
- * `Annotations` is linked with {@link module:comments/annotations/annotationsuis~AnnotationsUIs}, which listens to events fired by
26
- * `Annotations` and propagates information to and from annotations UI plugins.
27
- */
28
- export default class Annotations extends ContextPlugin {
29
- /**
30
- * A set of currently active annotations.
31
- *
32
- * @observable
33
- */
34
- activeAnnotations: Set<Annotation>;
35
- /**
36
- * A collection of all annotations. It should not be operated on directly.
37
- */
38
- readonly collection: AnnotationCollection;
39
- /**
40
- * @inheritDoc
41
- */
42
- static get pluginName(): "Annotations";
43
- /**
44
- * @inheritDoc
45
- */
46
- constructor(context: Context | Editor);
47
- /**
48
- * Adds an annotation to the collection.
49
- */
50
- add(annotation: Annotation): void;
51
- /**
52
- * Removes the given annotation from the collection.
53
- */
54
- remove(annotation: Annotation): void;
55
- /**
56
- * Refreshes the visibility of annotations based on the visibility of their annotation targets.
57
- *
58
- * This method should be called when one or more annotations' targets changed their visibility,
59
- * for example when one of the editors was shown or hidden.
60
- *
61
- * This method recalculates all annotations' {@link module:comments/annotations/annotation~Annotation#isVisible `isVisible`} property.
62
- */
63
- refreshVisibility(): void;
64
- /**
65
- * Refreshes the positioning of all visible annotations and sorts them topmost and leftmost.
66
- */
67
- refreshPositioning(): void;
68
- /**
69
- * Returns the annotation that "contains" the given annotation view's inner view.
70
- */
71
- getByInnerView(innerView: View): Annotation | undefined;
72
- /**
73
- * Deactivates all active annotations.
74
- *
75
- * @fires _deactivateAllAnnotations
76
- */
77
- deactivateAll(): void;
78
- /**
79
- * @inheritDoc
80
- */
81
- destroy(): void;
82
- /**
83
- * Activates the given annotation.
84
- *
85
- * If annotations UI that handles the given annotation already has an active annotation,
86
- * then it deactivates it and activates the provided one.
87
- *
88
- * @fires _activateAnnotation
89
- */
90
- activate(annotation: Annotation): void;
91
- /**
92
- * Creates an annotation.
93
- *
94
- * ```ts
95
- * const annotationView = annotations.createAnnotationView( editor.locale, innerView );
96
- *
97
- * const annotation = annotations.createAnnotation( {
98
- * view: annotationView,
99
- * target: document.getElementById( 'target' ),
100
- * type: 'comment'
101
- * } );
102
- * ```
103
- *
104
- * @returns An annotation.
105
- */
106
- createAnnotation(options: AnnotationOptions): Annotation;
107
- /**
108
- * Creates an annotation view wrapper for the annotation content.
109
- *
110
- * ```ts
111
- * const innerView = createCustomView();
112
- * const annotationView = annotations.createAnnotationView( editor.locale, innerView );
113
- * ```
114
- *
115
- * @returns An annotation view.
116
- */
117
- createAnnotationView(locale: Locale, view: AnnotationMainView): AnnotationView;
118
- }
119
- /**
120
- * The configuration options which are used to create new {@link module:comments/annotations/annotation~Annotation annotations}.
121
- *
122
- * @param view The annotation view.
123
- * @param target The annotation target.
124
- * @param type The annotation type.
125
- * @param isVisible The initial visibility of the annotation.
126
- */
127
- export interface AnnotationOptions {
128
- view: AnnotationView;
129
- target: AnnotationTarget;
130
- type: string | (() => string);
131
- isVisible?: boolean;
132
- }
133
- /**
134
- * An internal event that fires when the annotation should be activated.
135
- *
136
- * @eventName ~Annotations#_activateAnnotation
137
- */
138
- export type ActivateAnnotationEvent = {
139
- name: '_activateAnnotation';
140
- args: [annotation: Annotation];
141
- };
142
- /**
143
- * An internal event that fires when all annotations should be deactivated.
144
- *
145
- * @eventName ~Annotations#_deactivateAllAnnotations
146
- */
147
- export type DeactivateAllAnnotationsEvent = {
148
- name: '_deactivateAllAnnotations';
149
- args: [];
150
- };
1
+ /**
2
+ * @module comments/annotations/annotations
3
+ * @publicApi
4
+ */
5
+ import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
6
+ import type { View } from 'ckeditor5/src/ui.js';
7
+ import { type Locale } from 'ckeditor5/src/utils.js';
8
+ import Annotation, { type AnnotationTarget } from './annotation.js';
9
+ import AnnotationCollection from './annotationcollection.js';
10
+ import AnnotationView, { type AnnotationMainView } from './view/annotationview.js';
11
+ /**
12
+ * Stores and manages all {@link module:comments/annotations/annotation~Annotation annotations} created
13
+ * for the entire {@link module:core/context~Context} or {@link module:core/editor/editor~Editor}.
14
+ *
15
+ * It allows for {@link module:comments/annotations/annotations~Annotations#add adding} and
16
+ * {@link module:comments/annotations/annotations~Annotations#remove removing} annotations.
17
+ *
18
+ * It manages {@link module:comments/annotations/annotations~Annotations#activate activating} and
19
+ * {@link module:comments/annotations/annotations~Annotations#deactivateAll deactivating} annotations. Using those methods will
20
+ * result in setting {@link module:comments/annotations/annotationsuis~AnnotationUI#activeAnnotation} in the appropriate
21
+ * {@link module:comments/annotations/annotationsuis~AnnotationsUI annotations UI} plugins.
22
+ *
23
+ * All active annotations are stored in {@link module:comments/annotations/annotations~Annotations#activeAnnotations}.
24
+ *
25
+ * `Annotations` is linked with {@link module:comments/annotations/annotationsuis~AnnotationsUIs}, which listens to events fired by
26
+ * `Annotations` and propagates information to and from annotations UI plugins.
27
+ */
28
+ export default class Annotations extends ContextPlugin {
29
+ /**
30
+ * A set of currently active annotations.
31
+ *
32
+ * @observable
33
+ */
34
+ activeAnnotations: Set<Annotation>;
35
+ /**
36
+ * A collection of all annotations. It should not be operated on directly.
37
+ */
38
+ readonly collection: AnnotationCollection;
39
+ /**
40
+ * @inheritDoc
41
+ */
42
+ static get pluginName(): "Annotations";
43
+ /**
44
+ * @inheritDoc
45
+ */
46
+ constructor(context: Context | Editor);
47
+ /**
48
+ * Adds an annotation to the collection.
49
+ */
50
+ add(annotation: Annotation): void;
51
+ /**
52
+ * Removes the given annotation from the collection.
53
+ */
54
+ remove(annotation: Annotation): void;
55
+ /**
56
+ * Refreshes the visibility of annotations based on the visibility of their annotation targets.
57
+ *
58
+ * This method should be called when one or more annotations' targets changed their visibility,
59
+ * for example when one of the editors was shown or hidden.
60
+ *
61
+ * This method recalculates all annotations' {@link module:comments/annotations/annotation~Annotation#isVisible `isVisible`} property.
62
+ */
63
+ refreshVisibility(): void;
64
+ /**
65
+ * Refreshes the positioning of all visible annotations and sorts them topmost and leftmost.
66
+ */
67
+ refreshPositioning(): void;
68
+ /**
69
+ * Returns the annotation that "contains" the given annotation view's inner view.
70
+ */
71
+ getByInnerView(innerView: View): Annotation | undefined;
72
+ /**
73
+ * Deactivates all active annotations.
74
+ *
75
+ * @fires _deactivateAllAnnotations
76
+ */
77
+ deactivateAll(): void;
78
+ /**
79
+ * @inheritDoc
80
+ */
81
+ destroy(): void;
82
+ /**
83
+ * Activates the given annotation.
84
+ *
85
+ * If annotations UI that handles the given annotation already has an active annotation,
86
+ * then it deactivates it and activates the provided one.
87
+ *
88
+ * @fires _activateAnnotation
89
+ */
90
+ activate(annotation: Annotation): void;
91
+ /**
92
+ * Creates an annotation.
93
+ *
94
+ * ```ts
95
+ * const annotationView = annotations.createAnnotationView( editor.locale, innerView );
96
+ *
97
+ * const annotation = annotations.createAnnotation( {
98
+ * view: annotationView,
99
+ * target: document.getElementById( 'target' ),
100
+ * type: 'comment'
101
+ * } );
102
+ * ```
103
+ *
104
+ * @returns An annotation.
105
+ */
106
+ createAnnotation(options: AnnotationOptions): Annotation;
107
+ /**
108
+ * Creates an annotation view wrapper for the annotation content.
109
+ *
110
+ * ```ts
111
+ * const innerView = createCustomView();
112
+ * const annotationView = annotations.createAnnotationView( editor.locale, innerView );
113
+ * ```
114
+ *
115
+ * @returns An annotation view.
116
+ */
117
+ createAnnotationView(locale: Locale, view: AnnotationMainView): AnnotationView;
118
+ }
119
+ /**
120
+ * The configuration options which are used to create new {@link module:comments/annotations/annotation~Annotation annotations}.
121
+ *
122
+ * @param view The annotation view.
123
+ * @param target The annotation target.
124
+ * @param type The annotation type.
125
+ * @param isVisible The initial visibility of the annotation.
126
+ */
127
+ export interface AnnotationOptions {
128
+ view: AnnotationView;
129
+ target: AnnotationTarget;
130
+ type: string | (() => string);
131
+ isVisible?: boolean;
132
+ }
133
+ /**
134
+ * An internal event that fires when the annotation should be activated.
135
+ *
136
+ * @eventName ~Annotations#_activateAnnotation
137
+ */
138
+ export type ActivateAnnotationEvent = {
139
+ name: '_activateAnnotation';
140
+ args: [annotation: Annotation];
141
+ };
142
+ /**
143
+ * An internal event that fires when all annotations should be deactivated.
144
+ *
145
+ * @eventName ~Annotations#_deactivateAllAnnotations
146
+ */
147
+ export type DeactivateAllAnnotationsEvent = {
148
+ name: '_deactivateAllAnnotations';
149
+ args: [];
150
+ };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xab17=['focusTracker','_removeActiveAnnotation','change:isVisible','_deactivateAllAnnotations','createAnnotation','pluginName','createAnnotationView','set','isVisible','getByInnerView','refreshPositioning','element','deactivateAll','listenTo','_activateAnnotation','collection','Annotations','add','delete','fire','view','remove','refreshVisibility','has','_bindAnnotationsToVisibleAnnotations','destroy','source','_addActiveAnnotation','activeAnnotations','_visibleAnnotations'];(function(_0x5c9264,_0xab1730){const _0x50b19e=function(_0x3e96c2){while(--_0x3e96c2){_0x5c9264['push'](_0x5c9264['shift']());}};_0x50b19e(++_0xab1730);}(_0xab17,0x1e9));const _0x50b1=function(_0x5c9264,_0xab1730){_0x5c9264=_0x5c9264-0x0;let _0x50b19e=_0xab17[_0x5c9264];return _0x50b19e;};import{ContextPlugin as _0x51097d}from'ckeditor5/src/core';import _0x43ff16 from'./annotation';import _0x1d4d19 from'./annotationcollection';import _0x260d34 from'./view/annotationview';export default class b extends _0x51097d{static get[_0x50b1('0x1a')](){return _0x50b1('0x7');}constructor(_0x285e48){super(_0x285e48),this[_0x50b1('0x6')]=new _0x1d4d19(),this['_visibleAnnotations']=new _0x1d4d19(),this[_0x50b1('0x1c')]('activeAnnotations',new Set()),this[_0x50b1('0xf')]();}[_0x50b1('0x8')](_0x48de32){this['collection'][_0x50b1('0x8')](_0x48de32);}[_0x50b1('0xc')](_0x3700b3){this[_0x50b1('0x6')][_0x50b1('0xc')](_0x3700b3),_0x3700b3[_0x50b1('0x10')]();}[_0x50b1('0xd')](){for(const _0x1ffcd9 of this[_0x50b1('0x6')])_0x1ffcd9[_0x50b1('0xd')]();}[_0x50b1('0x1')](){this['_visibleAnnotations'][_0x50b1('0x1')]();}[_0x50b1('0x0')](_0xc1330e){return this[_0x50b1('0x6')]['getByInnerView'](_0xc1330e);}[_0x50b1('0x3')](){this[_0x50b1('0xa')](_0x50b1('0x18'));}[_0x50b1('0x10')](){for(const _0x1b3e2a of this['collection'])_0x1b3e2a['destroy']();this['_visibleAnnotations'][_0x50b1('0x10')](),this[_0x50b1('0x6')]['destroy'](),super[_0x50b1('0x10')]();}['activate'](_0x2813a6){this[_0x50b1('0xa')](_0x50b1('0x5'),_0x2813a6);}[_0x50b1('0x19')](_0x2736ac){return new _0x43ff16(_0x2736ac);}[_0x50b1('0x1b')](_0x5a0c97,_0x1f7176){return new _0x260d34(_0x5a0c97,_0x1f7176);}[_0x50b1('0x12')](_0x3fb498){const _0x147848=new Set(this[_0x50b1('0x13')]);_0x147848[_0x50b1('0x8')](_0x3fb498),this[_0x50b1('0x13')]=_0x147848;}[_0x50b1('0x16')](_0x57b9c4){const _0x24b807=new Set(this['activeAnnotations']);_0x24b807[_0x50b1('0x9')](_0x57b9c4),this['activeAnnotations']=_0x24b807;}[_0x50b1('0xf')](){const _0x5f03e1=this[_0x50b1('0x6')],_0x383016=this[_0x50b1('0x14')];function _0x5f0b7e(_0x471d4f){const _0x50aae7=_0x471d4f[_0x50b1('0x11')];_0x50aae7[_0x50b1('0x1d')]&&!_0x383016[_0x50b1('0xe')](_0x50aae7)?_0x383016[_0x50b1('0x8')](_0x50aae7):!_0x50aae7[_0x50b1('0x1d')]&&_0x383016[_0x50b1('0xe')](_0x50aae7)&&_0x383016[_0x50b1('0xc')](_0x50aae7),_0x50aae7[_0x50b1('0xb')][_0x50b1('0x15')][_0x50b1('0xc')](_0x50aae7[_0x50b1('0xb')][_0x50b1('0x2')]),_0x50aae7['view'][_0x50b1('0x15')]['add'](_0x50aae7[_0x50b1('0xb')][_0x50b1('0x2')]);}this[_0x50b1('0x4')](_0x5f03e1,_0x50b1('0x8'),(_0x402504,_0x3c9708)=>{_0x3c9708['isVisible']&&_0x383016[_0x50b1('0x8')](_0x3c9708),this[_0x50b1('0x4')](_0x3c9708,'change:isVisible',_0x5f0b7e);}),this[_0x50b1('0x4')](_0x5f03e1,_0x50b1('0xc'),(_0x3b0e29,_0x1d8716)=>{_0x383016[_0x50b1('0xe')](_0x1d8716)&&_0x383016['remove'](_0x1d8716),this['stopListening'](_0x1d8716,_0x50b1('0x17'),_0x5f0b7e);});}}
23
+ const _0x5a99=['element','focusTracker','listenTo','Annotations','deactivateAll','_addActiveAnnotation','collection','getByInnerView','add','change:isVisible','stopListening','_bindAnnotationsToVisibleAnnotations','refreshVisibility','delete','pluginName','refreshPositioning','has','view','fire','destroy','_activateAnnotation','_visibleAnnotations','remove','activeAnnotations','isVisible','source'];(function(_0x59d138,_0x5a9928){const _0x5a84f9=function(_0x18fa55){while(--_0x18fa55){_0x59d138['push'](_0x59d138['shift']());}};_0x5a84f9(++_0x5a9928);}(_0x5a99,0x1dd));const _0x5a84=function(_0x59d138,_0x5a9928){_0x59d138=_0x59d138-0x0;let _0x5a84f9=_0x5a99[_0x59d138];return _0x5a84f9;};import{ContextPlugin as _0x14d2ba}from'ckeditor5/src/core.js';import _0x3d0bdf from'./annotation.js';import _0x18883b from'./annotationcollection.js';import _0x28232b from'./view/annotationview.js';export default class b extends _0x14d2ba{static get[_0x5a84('0x5')](){return _0x5a84('0x14');}constructor(_0x47ddb4){super(_0x47ddb4),this[_0x5a84('0x17')]=new _0x18883b(),this['_visibleAnnotations']=new _0x18883b(),this['set']('activeAnnotations',new Set()),this[_0x5a84('0x2')]();}[_0x5a84('0x19')](_0x5b217c){this[_0x5a84('0x17')][_0x5a84('0x19')](_0x5b217c);}[_0x5a84('0xd')](_0x502335){this[_0x5a84('0x17')][_0x5a84('0xd')](_0x502335),_0x502335[_0x5a84('0xa')]();}[_0x5a84('0x3')](){for(const _0x37531d of this['collection'])_0x37531d[_0x5a84('0x3')]();}[_0x5a84('0x6')](){this['_visibleAnnotations'][_0x5a84('0x6')]();}[_0x5a84('0x18')](_0x4a6554){return this[_0x5a84('0x17')]['getByInnerView'](_0x4a6554);}[_0x5a84('0x15')](){this['fire']('_deactivateAllAnnotations');}[_0x5a84('0xa')](){for(const _0x34665c of this[_0x5a84('0x17')])_0x34665c[_0x5a84('0xa')]();this[_0x5a84('0xc')][_0x5a84('0xa')](),this[_0x5a84('0x17')][_0x5a84('0xa')](),super[_0x5a84('0xa')]();}['activate'](_0x48e6c0){this[_0x5a84('0x9')](_0x5a84('0xb'),_0x48e6c0);}['createAnnotation'](_0xa2492){return new _0x3d0bdf(_0xa2492);}['createAnnotationView'](_0x35c266,_0x42f684){return new _0x28232b(_0x35c266,_0x42f684);}[_0x5a84('0x16')](_0x1c528d){const _0x1c9701=new Set(this[_0x5a84('0xe')]);_0x1c9701[_0x5a84('0x19')](_0x1c528d),this[_0x5a84('0xe')]=_0x1c9701;}['_removeActiveAnnotation'](_0x5953b7){const _0x3f02df=new Set(this[_0x5a84('0xe')]);_0x3f02df[_0x5a84('0x4')](_0x5953b7),this['activeAnnotations']=_0x3f02df;}[_0x5a84('0x2')](){const _0x37781a=this[_0x5a84('0x17')],_0x1c5a41=this['_visibleAnnotations'];function _0x50a938(_0x4228e2){const _0x371cb6=_0x4228e2[_0x5a84('0x10')];_0x371cb6[_0x5a84('0xf')]&&!_0x1c5a41['has'](_0x371cb6)?_0x1c5a41[_0x5a84('0x19')](_0x371cb6):!_0x371cb6['isVisible']&&_0x1c5a41[_0x5a84('0x7')](_0x371cb6)&&_0x1c5a41[_0x5a84('0xd')](_0x371cb6),_0x371cb6[_0x5a84('0x8')][_0x5a84('0x12')][_0x5a84('0xd')](_0x371cb6['view'][_0x5a84('0x11')]),_0x371cb6[_0x5a84('0x8')]['focusTracker'][_0x5a84('0x19')](_0x371cb6['view'][_0x5a84('0x11')]);}this[_0x5a84('0x13')](_0x37781a,_0x5a84('0x19'),(_0x1689fc,_0x4a0dab)=>{_0x4a0dab[_0x5a84('0xf')]&&_0x1c5a41['add'](_0x4a0dab),this['listenTo'](_0x4a0dab,_0x5a84('0x0'),_0x50a938);}),this['listenTo'](_0x37781a,_0x5a84('0xd'),(_0x410f44,_0x3d9224)=>{_0x1c5a41[_0x5a84('0x7')](_0x3d9224)&&_0x1c5a41[_0x5a84('0xd')](_0x3d9224),this[_0x5a84('0x1')](_0x3d9224,_0x5a84('0x0'),_0x50a938);});}}