@ckeditor/ckeditor5-comments 45.2.1-alpha.9 → 46.0.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 (242) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-editor.css +69 -67
  3. package/dist/index.css +80 -78
  4. package/dist/index.js +11 -9
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +19 -19
  152. package/src/annotations/annotation.d.ts +4 -4
  153. package/src/annotations/annotation.js +2 -2
  154. package/src/annotations/annotationcollection.d.ts +2 -2
  155. package/src/annotations/annotationcollection.js +1 -1
  156. package/src/annotations/annotations.d.ts +4 -4
  157. package/src/annotations/annotations.js +1 -1
  158. package/src/annotations/annotationsuis.d.ts +4 -4
  159. package/src/annotations/annotationsuis.js +1 -1
  160. package/src/annotations/editorannotations.d.ts +4 -4
  161. package/src/annotations/editorannotations.js +1 -1
  162. package/src/annotations/inlineannotations.d.ts +5 -5
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.d.ts +5 -5
  165. package/src/annotations/narrowsidebar.js +1 -1
  166. package/src/annotations/sidebar.d.ts +14 -13
  167. package/src/annotations/sidebar.js +1 -1
  168. package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  169. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  170. package/src/annotations/view/annotationview.d.ts +1 -1
  171. package/src/annotations/view/annotationview.js +1 -1
  172. package/src/annotations/view/sidebaritemview.d.ts +1 -1
  173. package/src/annotations/view/sidebaritemview.js +2 -1
  174. package/src/annotations/view/sidebarview.d.ts +4 -4
  175. package/src/annotations/view/sidebarview.js +2 -1
  176. package/src/annotations/widesidebar.d.ts +5 -5
  177. package/src/annotations/widesidebar.js +1 -1
  178. package/src/augmentation.d.ts +2 -2
  179. package/src/comments/addcommentthreadcommand.d.ts +48 -9
  180. package/src/comments/addcommentthreadcommand.js +1 -1
  181. package/src/comments/commentsarchive.d.ts +3 -3
  182. package/src/comments/commentsarchive.js +1 -1
  183. package/src/comments/commentsarchiveui.d.ts +4 -4
  184. package/src/comments/commentsarchiveui.js +1 -1
  185. package/src/comments/commentsediting.d.ts +7 -7
  186. package/src/comments/commentsediting.js +1 -1
  187. package/src/comments/commentsrepository.d.ts +14 -6
  188. package/src/comments/commentsrepository.js +3 -3
  189. package/src/comments/commentsui.d.ts +5 -5
  190. package/src/comments/commentsui.js +1 -1
  191. package/src/comments/integrations/clipboard.d.ts +1 -1
  192. package/src/comments/integrations/clipboard.js +1 -1
  193. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  194. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  195. package/src/comments/integrations/importword.d.ts +1 -1
  196. package/src/comments/integrations/importword.js +1 -1
  197. package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
  198. package/src/comments/integrations/showcommenthighlights.js +1 -1
  199. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  200. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  201. package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  202. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  203. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  204. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  205. package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
  206. package/src/comments/ui/commentthreadcontroller.js +2 -2
  207. package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
  208. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  209. package/src/comments/ui/view/basecommentview.d.ts +1 -1
  210. package/src/comments/ui/view/basecommentview.js +1 -1
  211. package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  212. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  213. package/src/comments/ui/view/commentcontentview.d.ts +1 -1
  214. package/src/comments/ui/view/commentcontentview.js +1 -1
  215. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  216. package/src/comments/ui/view/commentinputview.js +1 -1
  217. package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
  218. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  219. package/src/comments/ui/view/commentslistview.d.ts +2 -2
  220. package/src/comments/ui/view/commentslistview.js +1 -1
  221. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  222. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  223. package/src/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  224. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  225. package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
  226. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  227. package/src/comments/ui/view/commentthreadview.d.ts +2 -2
  228. package/src/comments/ui/view/commentthreadview.js +2 -2
  229. package/src/comments/ui/view/commentview.d.ts +3 -3
  230. package/src/comments/ui/view/commentview.js +2 -2
  231. package/src/comments.d.ts +10 -10
  232. package/src/comments.js +1 -1
  233. package/src/commentsonly.d.ts +2 -2
  234. package/src/commentsonly.js +1 -1
  235. package/src/config.d.ts +3 -3
  236. package/src/index.d.ts +29 -25
  237. package/src/index.js +1 -1
  238. package/src/utils/common-translations.js +1 -1
  239. package/src/utils/createmutationobserver.d.ts +1 -1
  240. package/src/utils/createmutationobserver.js +1 -1
  241. package/theme/comment.css +2 -1
  242. package/theme/commentinput.css +2 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x460681=>{const {zh:{dictionary:_0x55d7b8,getPluralForm:_0x13c102}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0x2ddaa3=>0x0}};_0x460681['zh']||={'dictionary':{},'getPluralForm':null},_0x460681['zh']['dictionary']=Object['assign'](_0x460681['zh']['dictionary'],_0x55d7b8),_0x460681['zh']['getPluralForm']=_0x13c102;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x246125=>{const {zh:{dictionary:_0x18f513,getPluralForm:_0xf7bd52}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0x4b6f80=>0x0}};_0x246125['zh']||={'dictionary':{},'getPluralForm':null},_0x246125['zh']['dictionary']=Object['assign'](_0x246125['zh']['dictionary'],_0x18f513),_0x246125['zh']['getPluralForm']=_0xf7bd52;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "45.2.1-alpha.9",
3
+ "version": "46.0.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/)",
@@ -45,24 +45,24 @@
45
45
  "CHANGELOG.md"
46
46
  ],
47
47
  "dependencies": {
48
- "@ckeditor/ckeditor5-clipboard": "45.2.1-alpha.9",
49
- "@ckeditor/ckeditor5-collaboration-core": "45.2.1-alpha.9",
50
- "@ckeditor/ckeditor5-core": "45.2.1-alpha.9",
51
- "@ckeditor/ckeditor5-engine": "45.2.1-alpha.9",
52
- "@ckeditor/ckeditor5-enter": "45.2.1-alpha.9",
53
- "@ckeditor/ckeditor5-icons": "45.2.1-alpha.9",
54
- "@ckeditor/ckeditor5-paragraph": "45.2.1-alpha.9",
55
- "@ckeditor/ckeditor5-select-all": "45.2.1-alpha.9",
56
- "@ckeditor/ckeditor5-source-editing": "45.2.1-alpha.9",
57
- "@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.9",
58
- "@ckeditor/ckeditor5-typing": "45.2.1-alpha.9",
59
- "@ckeditor/ckeditor5-ui": "45.2.1-alpha.9",
60
- "@ckeditor/ckeditor5-undo": "45.2.1-alpha.9",
61
- "@ckeditor/ckeditor5-utils": "45.2.1-alpha.9",
62
- "@ckeditor/ckeditor5-widget": "45.2.1-alpha.9",
63
- "ckeditor5": "45.2.1-alpha.9",
64
- "ckeditor5-collaboration": "45.2.1-alpha.9",
65
- "es-toolkit": "1.32.0"
48
+ "@ckeditor/ckeditor5-clipboard": "46.0.0-alpha.0",
49
+ "@ckeditor/ckeditor5-collaboration-core": "46.0.0-alpha.0",
50
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.0",
51
+ "@ckeditor/ckeditor5-engine": "46.0.0-alpha.0",
52
+ "@ckeditor/ckeditor5-enter": "46.0.0-alpha.0",
53
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.0",
54
+ "@ckeditor/ckeditor5-paragraph": "46.0.0-alpha.0",
55
+ "@ckeditor/ckeditor5-select-all": "46.0.0-alpha.0",
56
+ "@ckeditor/ckeditor5-source-editing": "46.0.0-alpha.0",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.0",
58
+ "@ckeditor/ckeditor5-typing": "46.0.0-alpha.0",
59
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.0",
60
+ "@ckeditor/ckeditor5-undo": "46.0.0-alpha.0",
61
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.0",
62
+ "@ckeditor/ckeditor5-widget": "46.0.0-alpha.0",
63
+ "ckeditor5": "46.0.0-alpha.0",
64
+ "ckeditor5-collaboration": "46.0.0-alpha.0",
65
+ "es-toolkit": "1.39.5"
66
66
  },
67
67
  "types": "src/index.d.ts",
68
68
  "exports": {
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { Rect, Collection } from 'ckeditor5/src/utils.js';
10
10
  import type { View } from 'ckeditor5/src/ui.js';
11
- import type AnnotationView from './view/annotationview.js';
11
+ import { type AnnotationView } from './view/annotationview.js';
12
12
  import type { AnnotationOptions } from './annotations.js';
13
13
  declare const Annotation_base: {
14
14
  new (): import("ckeditor5/src/utils.js").Observable;
@@ -20,7 +20,7 @@ declare const Annotation_base: {
20
20
  * Annotation is an entity that combines an {@link module:comments/annotations/view/annotationview~AnnotationView}
21
21
  * and an annotation target (a DOM element or a {@link module:utils/dom/rect~Rect}) to which the annotation is bound.
22
22
  */
23
- export default class Annotation extends /* #__PURE__ -- @preserve */ Annotation_base {
23
+ export declare class Annotation extends /* #__PURE__ -- @preserve */ Annotation_base {
24
24
  /**
25
25
  * The visibility of the annotation. Annotations that are not visible, are filtered from Annotation UI collections.
26
26
  *
@@ -85,8 +85,8 @@ export default class Annotation extends /* #__PURE__ -- @preserve */ Annotation_
85
85
  */
86
86
  refreshVisibility(): void;
87
87
  }
88
- type Target = Rect | HTMLElement | null;
89
- export type AnnotationTarget = Target | (() => Target | Array<Target>);
88
+ export type AnnotationTargetBase = Rect | HTMLElement | null;
89
+ export type AnnotationTarget = AnnotationTargetBase | (() => AnnotationTargetBase | Array<AnnotationTargetBase>);
90
90
  /**
91
91
  * An event fired when the user pressed Escape key while the annotation view was focused.
92
92
  */
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3566c8=_0x2fab;function _0x640b(){const _0x2a174c=['_getNormalizedTarget','updateTargetRect','nodeType','filter','4095dTDazu','remove','clear','201596vjWWty','286998wtWcgz','item','10MMhMkF','_type','1381256LNlFJt','stopListening','type','target','destroy','targetRect','595679XAYDqS','function','11436BcrDtu','innerView','mainView','65tQPJkt','42OCWNij','isArray','focusTracker','element','36AJABHT','add','every','5702gUZLgc','_id','_assertCorrectTarget','getClientRects','isVisible','view','_target','set','annotation-invalid-target','refreshVisibility','isActive','offsetParent','3162665SluCTX','focusableElements','object','543nTNQfn','length','render'];_0x640b=function(){return _0x2a174c;};return _0x640b();}(function(_0xf43304,_0x1a9f82){const _0x4b08e9=_0x2fab,_0x480338=_0xf43304();while(!![]){try{const _0x28f42c=-parseInt(_0x4b08e9(0x101))/0x1+parseInt(_0x4b08e9(0x118))/0x2*(parseInt(_0x4b08e9(0xf6))/0x3)+parseInt(_0x4b08e9(0x100))/0x4*(parseInt(_0x4b08e9(0x110))/0x5)+-parseInt(_0x4b08e9(0x111))/0x6*(parseInt(_0x4b08e9(0x10b))/0x7)+-parseInt(_0x4b08e9(0x105))/0x8*(-parseInt(_0x4b08e9(0x115))/0x9)+-parseInt(_0x4b08e9(0x103))/0xa*(parseInt(_0x4b08e9(0xf3))/0xb)+-parseInt(_0x4b08e9(0x10d))/0xc*(parseInt(_0x4b08e9(0xfd))/0xd);if(_0x28f42c===_0x1a9f82)break;else _0x480338['push'](_0x480338['shift']());}catch(_0x5131c8){_0x480338['push'](_0x480338['shift']());}}}(_0x640b,0x5f923));import{CKEditorError as _0x2cad19,Rect as _0x5f0c37,Collection as _0xffda09,ObservableMixin as _0x508a89}from'ckeditor5/src/utils.js';function _0x2fab(_0x3bba11,_0xf9fc31){const _0x640b6b=_0x640b();return _0x2fab=function(_0x2fabdd,_0x1fc365){_0x2fabdd=_0x2fabdd-0xec;let _0x4002db=_0x640b6b[_0x2fabdd];return _0x4002db;},_0x2fab(_0x3bba11,_0xf9fc31);}export default class d extends/* #__PURE__ -- @preserve */
24
- _0x508a89(){[_0x3566c8(0xec)];[_0x3566c8(0xf4)];[_0x3566c8(0x104)];[_0x3566c8(0xed)];constructor({view:_0x46e032,target:_0x475c81,type:_0x9e5b53,isVisible:_0x4b4d29=!0x0}){const _0x22d093=_0x3566c8;super(),this[_0x22d093(0xec)]=_0x46e032,this[_0x22d093(0xec)][_0x22d093(0x114)]||this[_0x22d093(0xec)][_0x22d093(0xf8)](),this[_0x22d093(0x104)]=_0x9e5b53,this[_0x22d093(0xed)]=_0x475c81,d[_0x22d093(0x11a)](this[_0x22d093(0xf9)]()),this[_0x22d093(0xf4)]=new _0xffda09([this[_0x22d093(0xec)][_0x22d093(0x114)]],{'idProperty':_0x22d093(0x119)}),this[_0x22d093(0xf4)]['on'](_0x22d093(0x116),(_0xb17412,_0x65d5d2)=>{const _0x567e08=_0x22d093;this[_0x567e08(0xec)][_0x567e08(0x113)][_0x567e08(0x116)](_0x65d5d2);}),this[_0x22d093(0xf4)]['on'](_0x22d093(0xfe),(_0x1bb2ba,_0x14def6)=>{const _0xd86c55=_0x22d093;this[_0xd86c55(0xec)][_0xd86c55(0x113)][_0xd86c55(0xfe)](_0x14def6);}),this[_0x22d093(0xee)](_0x22d093(0x11c),_0x4b4d29);}get[_0x3566c8(0x107)](){const _0x5b8859=_0x3566c8;return _0x5b8859(0x10c)==typeof this[_0x5b8859(0x104)]?this[_0x5b8859(0x104)]():this[_0x5b8859(0x104)];}get[_0x3566c8(0x10e)](){const _0x43c5ac=_0x3566c8;return this[_0x43c5ac(0xec)][_0x43c5ac(0x10f)];}get[_0x3566c8(0x108)](){const _0x458505=_0x3566c8,_0x3adff7=this[_0x458505(0xf9)]();return d[_0x458505(0x11a)](_0x3adff7),_0x3adff7;}get[_0x3566c8(0x10a)](){const _0x1ec13e=_0x3566c8,_0x101f38=this[_0x1ec13e(0x108)];if(null===_0x101f38)return null;if(_0x101f38 instanceof _0x5f0c37)return _0x101f38;const _0x2179c1=_0x101f38[_0x1ec13e(0xfc)](_0x236db6=>function(_0x33a2a7){const _0xf66f8a=_0x1ec13e,_0x4a6a7e=_0x33a2a7[_0xf66f8a(0xf2)];if(_0x4a6a7e)return!0x0;const _0x311735=_0x33a2a7[_0xf66f8a(0x11b)]()[_0xf66f8a(0x102)](0x0);return!!_0x311735;}(_0x236db6));return 0x0===_0x2179c1[_0x1ec13e(0xf7)]?null:new _0x5f0c37(_0x2179c1[0x0][_0x1ec13e(0x11b)]()[_0x1ec13e(0x102)](0x0));}get[_0x3566c8(0xf1)](){const _0x20ab3d=_0x3566c8;return this[_0x20ab3d(0xec)][_0x20ab3d(0xf1)];}set[_0x3566c8(0xf1)](_0x3f9962){const _0x19ad1d=_0x3566c8;this[_0x19ad1d(0xec)][_0x19ad1d(0xf1)]=_0x3f9962,this[_0x19ad1d(0xec)][_0x19ad1d(0x10f)][_0x19ad1d(0xf1)]=_0x3f9962;}[_0x3566c8(0xfa)](){const _0x2721cd=_0x3566c8;this[_0x2721cd(0xec)][_0x2721cd(0x10a)]=this[_0x2721cd(0x10a)];}[_0x3566c8(0x109)](){const _0x4f58e1=_0x3566c8;this[_0x4f58e1(0xf4)][_0x4f58e1(0x106)](),this[_0x4f58e1(0xf4)][_0x4f58e1(0xff)](),this[_0x4f58e1(0x106)]();}[_0x3566c8(0xf0)](){const _0x3878cc=_0x3566c8;this[_0x3878cc(0x11c)]=!!this[_0x3878cc(0x10a)];}static[_0x3566c8(0x11a)](_0x1e2c5c){const _0x1e3138=_0x3566c8;if(!(null===_0x1e2c5c||_0x1e2c5c instanceof _0x5f0c37||Array[_0x1e3138(0x112)](_0x1e2c5c)&&_0x1e2c5c[_0x1e3138(0x117)](_0x10ec80=>y(_0x10ec80))))throw new _0x2cad19(_0x1e3138(0xef),null,{'target':_0x1e2c5c});}[_0x3566c8(0xf9)](){const _0x1c478a=_0x3566c8,_0x3269c4=_0x1c478a(0x10c)==typeof this[_0x1c478a(0xed)]?this[_0x1c478a(0xed)]():this[_0x1c478a(0xed)];return y(_0x3269c4)?[_0x3269c4]:_0x3269c4;}}function y(_0x7ae27f){const _0x61f910=_0x3566c8;return null!==_0x7ae27f&&_0x61f910(0xf5)==typeof _0x7ae27f&&_0x61f910(0xfb)in _0x7ae27f&&0x1===_0x7ae27f[_0x61f910(0xfb)];}
23
+ function _0x1760(){const _0xb4bb66=['focusTracker','function','450dfItCv','299AEesGg','set','_getNormalizedTarget','view','element','type','updateTargetRect','every','158ynjTEP','annotation-invalid-target','isActive','item','remove','_target','_type','mainView','stopListening','destroy','getClientRects','nodeType','render','refreshVisibility','456579GllQqD','2032591hDMtmK','isVisible','clear','focusableElements','230SVFRfa','19864gGvUzn','offsetParent','134ceNuDE','isArray','innerView','530742NfMLHz','_assertCorrectTarget','targetRect','_id','21lqrmmu','add','28240LYXCMj','123492DAxxQA','filter','length','object','target','10KUdUhV'];_0x1760=function(){return _0xb4bb66;};return _0x1760();}const _0x10034c=_0x5706;(function(_0x4fb0ae,_0x207cad){const _0x359f7b=_0x5706,_0xd0ce6f=_0x4fb0ae();while(!![]){try{const _0x14bced=parseInt(_0x359f7b(0x14a))/0x1*(parseInt(_0x359f7b(0x12f))/0x2)+-parseInt(_0x359f7b(0x127))/0x3+-parseInt(_0x359f7b(0x12d))/0x4*(parseInt(_0x359f7b(0x12c))/0x5)+parseInt(_0x359f7b(0x132))/0x6*(parseInt(_0x359f7b(0x136))/0x7)+parseInt(_0x359f7b(0x138))/0x8*(-parseInt(_0x359f7b(0x141))/0x9)+parseInt(_0x359f7b(0x13e))/0xa*(parseInt(_0x359f7b(0x128))/0xb)+-parseInt(_0x359f7b(0x139))/0xc*(-parseInt(_0x359f7b(0x142))/0xd);if(_0x14bced===_0x207cad)break;else _0xd0ce6f['push'](_0xd0ce6f['shift']());}catch(_0x11ea14){_0xd0ce6f['push'](_0xd0ce6f['shift']());}}}(_0x1760,0x2240e));import{CKEditorError as _0x498052,Rect as _0x1b1eb9,Collection as _0xa1f030,ObservableMixin as _0x497811}from'ckeditor5/src/utils.js';function _0x5706(_0x48ee30,_0x553110){const _0x1760e9=_0x1760();return _0x5706=function(_0x57062a,_0x363106){_0x57062a=_0x57062a-0x127;let _0x72e154=_0x1760e9[_0x57062a];return _0x72e154;},_0x5706(_0x48ee30,_0x553110);}export class Annotation extends/* #__PURE__ -- @preserve */
24
+ _0x497811(){[_0x10034c(0x145)];[_0x10034c(0x12b)];[_0x10034c(0x150)];[_0x10034c(0x14f)];constructor({view:_0x3a4a7c,target:_0x31a87c,type:_0x43397e,isVisible:_0x590998=!0x0}){const _0x1ae686=_0x10034c;super(),this[_0x1ae686(0x145)]=_0x3a4a7c,this[_0x1ae686(0x145)][_0x1ae686(0x146)]||this[_0x1ae686(0x145)][_0x1ae686(0x156)](),this[_0x1ae686(0x150)]=_0x43397e,this[_0x1ae686(0x14f)]=_0x31a87c,Annotation[_0x1ae686(0x133)](this[_0x1ae686(0x144)]()),this[_0x1ae686(0x12b)]=new _0xa1f030([this[_0x1ae686(0x145)][_0x1ae686(0x146)]],{'idProperty':_0x1ae686(0x135)}),this[_0x1ae686(0x12b)]['on'](_0x1ae686(0x137),(_0x445a50,_0x59df74)=>{const _0x1820a3=_0x1ae686;this[_0x1820a3(0x145)][_0x1820a3(0x13f)][_0x1820a3(0x137)](_0x59df74);}),this[_0x1ae686(0x12b)]['on'](_0x1ae686(0x14e),(_0x3b252f,_0x36172a)=>{const _0x56a487=_0x1ae686;this[_0x56a487(0x145)][_0x56a487(0x13f)][_0x56a487(0x14e)](_0x36172a);}),this[_0x1ae686(0x143)](_0x1ae686(0x129),_0x590998);}get[_0x10034c(0x147)](){const _0x1e6c4d=_0x10034c;return _0x1e6c4d(0x140)==typeof this[_0x1e6c4d(0x150)]?this[_0x1e6c4d(0x150)]():this[_0x1e6c4d(0x150)];}get[_0x10034c(0x131)](){const _0x48900d=_0x10034c;return this[_0x48900d(0x145)][_0x48900d(0x151)];}get[_0x10034c(0x13d)](){const _0x2e1239=_0x10034c,_0x42c4bc=this[_0x2e1239(0x144)]();return Annotation[_0x2e1239(0x133)](_0x42c4bc),_0x42c4bc;}get[_0x10034c(0x134)](){const _0x253990=_0x10034c,_0x53e22c=this[_0x253990(0x13d)];if(null===_0x53e22c)return null;if(_0x53e22c instanceof _0x1b1eb9)return _0x53e22c;const _0x4a6ee3=_0x53e22c[_0x253990(0x13a)](_0x3a3500=>function(_0x2210ef){const _0x44cbf2=_0x253990,_0x203bbf=_0x2210ef[_0x44cbf2(0x12e)];if(_0x203bbf)return!0x0;const _0x87038d=_0x2210ef[_0x44cbf2(0x154)]()[_0x44cbf2(0x14d)](0x0);return!!_0x87038d;}(_0x3a3500));return 0x0===_0x4a6ee3[_0x253990(0x13b)]?null:new _0x1b1eb9(_0x4a6ee3[0x0][_0x253990(0x154)]()[_0x253990(0x14d)](0x0));}get[_0x10034c(0x14c)](){const _0x3a432a=_0x10034c;return this[_0x3a432a(0x145)][_0x3a432a(0x14c)];}set[_0x10034c(0x14c)](_0x503f18){const _0x306171=_0x10034c;this[_0x306171(0x145)][_0x306171(0x14c)]=_0x503f18,this[_0x306171(0x145)][_0x306171(0x151)][_0x306171(0x14c)]=_0x503f18;}[_0x10034c(0x148)](){const _0x2764d2=_0x10034c;this[_0x2764d2(0x145)][_0x2764d2(0x134)]=this[_0x2764d2(0x134)];}[_0x10034c(0x153)](){const _0x3069bb=_0x10034c;this[_0x3069bb(0x12b)][_0x3069bb(0x152)](),this[_0x3069bb(0x12b)][_0x3069bb(0x12a)](),this[_0x3069bb(0x152)]();}[_0x10034c(0x157)](){const _0x5626b6=_0x10034c;this[_0x5626b6(0x129)]=!!this[_0x5626b6(0x134)];}static[_0x10034c(0x133)](_0x25629b){const _0x38aa2d=_0x10034c;if(!(null===_0x25629b||_0x25629b instanceof _0x1b1eb9||Array[_0x38aa2d(0x130)](_0x25629b)&&_0x25629b[_0x38aa2d(0x149)](_0x44034d=>g(_0x44034d))))throw new _0x498052(_0x38aa2d(0x14b),null,{'target':_0x25629b});}[_0x10034c(0x144)](){const _0x1f76cb=_0x10034c,_0xea0af0=_0x1f76cb(0x140)==typeof this[_0x1f76cb(0x14f)]?this[_0x1f76cb(0x14f)]():this[_0x1f76cb(0x14f)];return g(_0xea0af0)?[_0xea0af0]:_0xea0af0;}}function g(_0x1de64b){const _0x326d75=_0x10034c;return null!==_0x1de64b&&_0x326d75(0x13c)==typeof _0x1de64b&&_0x326d75(0x155)in _0x1de64b&&0x1===_0x1de64b[_0x326d75(0x155)];}
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { Collection } from 'ckeditor5/src/utils.js';
10
10
  import type { View } from 'ckeditor5/src/ui.js';
11
- import type Annotation from './annotation.js';
11
+ import { type Annotation } from './annotation.js';
12
12
  /**
13
13
  * A collection of {@link module:comments/annotations/annotation~Annotation annotations}.
14
14
  *
@@ -19,7 +19,7 @@ import type Annotation from './annotation.js';
19
19
  * becomes focused and {@link module:comments/annotations/annotationcollection~AnnotationCollection#event:blur} when all annotations
20
20
  * lose focus.
21
21
  */
22
- export default class AnnotationCollection extends Collection<Annotation> {
22
+ export declare class AnnotationCollection extends Collection<Annotation> {
23
23
  /**
24
24
  * @param annotations Initial annotations.
25
25
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x152389=_0x2346;(function(_0xb44b98,_0x3f90b7){const _0x43d260=_0x2346,_0x16268b=_0xb44b98();while(!![]){try{const _0x591a88=parseInt(_0x43d260(0x125))/0x1+-parseInt(_0x43d260(0x120))/0x2+parseInt(_0x43d260(0x122))/0x3+parseInt(_0x43d260(0x12c))/0x4*(parseInt(_0x43d260(0x133))/0x5)+-parseInt(_0x43d260(0x14a))/0x6+parseInt(_0x43d260(0x128))/0x7+-parseInt(_0x43d260(0x13a))/0x8;if(_0x591a88===_0x3f90b7)break;else _0x16268b['push'](_0x16268b['shift']());}catch(_0x9f0a7e){_0x16268b['push'](_0x16268b['shift']());}}}(_0x68b7,0xb4d65));import{CKEditorError as _0x4bc047,Collection as _0xeb6ce,FocusTracker as _0x4725fc}from'ckeditor5/src/utils.js';export default class _ extends _0xeb6ce{[_0x152389(0x13d)];[_0x152389(0x138)];[_0x152389(0x146)];constructor(_0x4fd777=[]){const _0x311e8f=_0x152389;super(),this[_0x311e8f(0x13d)]=new Map(),this[_0x311e8f(0x138)]=new Map(),this[_0x311e8f(0x146)]=new _0x4725fc(),this[_0x311e8f(0x146)]['on'](_0x311e8f(0x142),(_0x4276c2,_0x362165,_0x2e9fca)=>{const _0x57cc4c=_0x311e8f;_0x2e9fca||this[_0x57cc4c(0x140)](_0x57cc4c(0x134));});for(const _0x5eec43 of _0x4fd777)this[_0x311e8f(0x144)](_0x5eec43);}get[_0x152389(0x12b)](){const _0xaaeb00=_0x152389;return this[_0xaaeb00(0x146)][_0xaaeb00(0x12b)];}[_0x152389(0x144)](_0x4c1c56){const _0x29c847=_0x152389;if(this[_0x29c847(0x143)](_0x4c1c56))throw new _0x4bc047(_0x29c847(0x14b),null);this[_0x29c847(0x13d)][_0x29c847(0x13e)](_0x4c1c56[_0x29c847(0x145)],_0x4c1c56),this[_0x29c847(0x138)][_0x29c847(0x13e)](_0x4c1c56[_0x29c847(0x12f)],_0x4c1c56);for(const _0x18d9f4 of _0x4c1c56[_0x29c847(0x149)])this[_0x29c847(0x146)][_0x29c847(0x144)](_0x18d9f4);this[_0x29c847(0x11f)](_0x4c1c56[_0x29c847(0x149)],_0x29c847(0x144),(_0x49f1b4,_0x2caf23)=>{const _0xbdc3c6=_0x29c847;this[_0xbdc3c6(0x146)][_0xbdc3c6(0x144)](_0x2caf23);}),this[_0x29c847(0x11f)](_0x4c1c56[_0x29c847(0x149)],_0x29c847(0x13f),(_0x416f78,_0xaae710)=>{const _0x151dff=_0x29c847;this[_0x151dff(0x146)][_0x151dff(0x13f)](_0xaae710);}),this[_0x29c847(0x11f)](_0x4c1c56[_0x29c847(0x12f)][_0x29c847(0x124)],_0x29c847(0x142),(_0x3e8c3d,_0x5437c4,_0x4727ef)=>{const _0x54d0a8=_0x29c847;_0x4727ef&&this[_0x54d0a8(0x140)](_0x54d0a8(0x12e),_0x4c1c56);}),_0x4c1c56[_0x29c847(0x12d)]();const _0x5771ab=this[_0x29c847(0x137)](_0x4c1c56[_0x29c847(0x12f)][_0x29c847(0x139)]);return super[_0x29c847(0x144)](_0x4c1c56,_0x5771ab);}[_0x152389(0x13f)](_0x7bf7b5){const _0x3a8596=_0x152389;if(!this[_0x3a8596(0x143)](_0x7bf7b5))throw new _0x4bc047(_0x3a8596(0x13c),null);this[_0x3a8596(0x141)](_0x7bf7b5[_0x3a8596(0x12f)][_0x3a8596(0x124)]),this[_0x3a8596(0x141)](_0x7bf7b5[_0x3a8596(0x149)]);for(const _0x1fe972 of _0x7bf7b5[_0x3a8596(0x149)])this[_0x3a8596(0x146)][_0x3a8596(0x13f)](_0x1fe972);return this[_0x3a8596(0x138)][_0x3a8596(0x121)](_0x7bf7b5[_0x3a8596(0x12f)]),this[_0x3a8596(0x13d)][_0x3a8596(0x121)](_0x7bf7b5[_0x3a8596(0x145)]),super[_0x3a8596(0x13f)](_0x7bf7b5);}[_0x152389(0x131)](_0x43c000){const _0x1130dc=_0x152389;return this[_0x1130dc(0x13d)][_0x1130dc(0x148)](_0x43c000);}[_0x152389(0x132)](_0x30513a){const _0x5d544a=_0x152389;return this[_0x5d544a(0x138)][_0x5d544a(0x148)](_0x30513a);}[_0x152389(0x130)](){const _0x256d3f=_0x152389;super[_0x256d3f(0x129)](),this[_0x256d3f(0x141)](),this[_0x256d3f(0x13d)][_0x256d3f(0x129)](),this[_0x256d3f(0x138)][_0x256d3f(0x129)](),this[_0x256d3f(0x146)][_0x256d3f(0x130)]();}[_0x152389(0x126)](){const _0x3f49af=_0x152389;for(const _0x5e3761 of this)_0x5e3761[_0x3f49af(0x12d)]();this[_0x3f49af(0x136)]();}[_0x152389(0x136)](){const _0x416cf9=_0x152389,_0x413290=Array[_0x416cf9(0x147)](this)[_0x416cf9(0x12a)]((_0x49ddf9,_0x18d4f5)=>v(_0x49ddf9[_0x416cf9(0x12f)][_0x416cf9(0x139)],_0x18d4f5[_0x416cf9(0x12f)][_0x416cf9(0x139)]));for(let _0x37b2fb=_0x413290[_0x416cf9(0x135)]-0x1;_0x37b2fb>0x0;_0x37b2fb--){const _0x7009e=_0x413290[_0x37b2fb];_0x37b2fb!==this[_0x416cf9(0x123)](_0x7009e)&&(this[_0x416cf9(0x13f)](_0x7009e),this[_0x416cf9(0x144)](_0x7009e));}}[_0x152389(0x137)](_0x52783c){const _0x1fc55b=_0x152389;let _0x4a476b=0x0;if(!_0x52783c)return this[_0x1fc55b(0x135)];for(const _0x52798f of this){const _0x43d7e0=_0x52798f[_0x1fc55b(0x12f)][_0x1fc55b(0x139)];if(_0x43d7e0){if(v(_0x52783c,_0x43d7e0)<0x0)return _0x4a476b;_0x4a476b++;}}return _0x4a476b;}}function _0x2346(_0x1c4144,_0x343216){const _0x68b76=_0x68b7();return _0x2346=function(_0x234675,_0x4d443c){_0x234675=_0x234675-0x11f;let _0x44aabd=_0x68b76[_0x234675];return _0x44aabd;},_0x2346(_0x1c4144,_0x343216);}function _0x68b7(){const _0x2cefbf=['274228HzHVUO','updateTargetRect','focus','view','destroy','getByInnerView','getByView','10nXAikY','blur','length','_sort','_getOrderInContent','_viewToAnnotation','targetRect','7860624hBKKvq','left','annotationcollection-not-existing-item','_innerViewToAnnotation','set','remove','fire','stopListening','change:isFocused','has','add','innerView','_focusTracker','from','get','focusableElements','5949636XYRbjn','annotationcollection-duplicated-item','listenTo','568820HEKjGi','delete','1136475TOasgP','getIndex','focusTracker','1051318tAzunF','refreshPositioning','top','10024322LDYQMm','clear','sort','isFocused'];_0x68b7=function(){return _0x2cefbf;};return _0x68b7();}export function bindAnnotationCollections({source:_0x529fc2,target:_0x2828d5,filter:_0x20190d}){const _0x4c0111=_0x152389;for(const _0x15c25c of _0x529fc2)_0x20190d(_0x15c25c)&&_0x2828d5[_0x4c0111(0x144)](_0x15c25c);_0x2828d5[_0x4c0111(0x11f)](_0x529fc2,_0x4c0111(0x144),(_0x1992e2,_0x47288d)=>{const _0x140c5f=_0x4c0111;_0x20190d(_0x47288d)&&_0x2828d5[_0x140c5f(0x144)](_0x47288d);}),_0x2828d5[_0x4c0111(0x11f)](_0x529fc2,_0x4c0111(0x13f),(_0x39f657,_0x41e830)=>{const _0x47dff4=_0x4c0111;_0x2828d5[_0x47dff4(0x143)](_0x41e830)&&_0x2828d5[_0x47dff4(0x13f)](_0x41e830);});}function v(_0x456ceb,_0x21c794){const _0x4b0696=_0x152389;if(null===_0x456ceb&&null===_0x21c794)return 0x0;if(null===_0x456ceb)return-0x1;if(null===_0x21c794)return 0x1;const _0x55afdc=_0x456ceb[_0x4b0696(0x127)]-_0x21c794[_0x4b0696(0x127)];return 0x0==_0x55afdc?_0x456ceb[_0x4b0696(0x13b)]-_0x21c794[_0x4b0696(0x13b)]:_0x55afdc;}
23
+ const _0x29856e=_0xe935;function _0x2d71(){const _0x1896ba=['length','getIndex','2CBdaAO','368zpRbaX','top','_getOrderInContent','targetRect','blur','focus','focusableElements','_focusTracker','sort','clear','getByView','left','set','view','has','updateTargetRect','annotationcollection-not-existing-item','_sort','destroy','add','innerView','stopListening','21721480BSFNqW','11BRCLLn','5451650MZwMPe','60282edgNZP','annotationcollection-duplicated-item','2034908MEBwCn','2938596ufINMP','get','refreshPositioning','remove','listenTo','getByInnerView','5201xxkNxp','focusTracker','fire','5970nyIUFx','_viewToAnnotation','delete','change:isFocused','isFocused','from','1073953dHanQj','_innerViewToAnnotation'];_0x2d71=function(){return _0x1896ba;};return _0x2d71();}function _0xe935(_0x4734dd,_0x5927db){const _0x2d7175=_0x2d71();return _0xe935=function(_0xe9350e,_0x3c10ad){_0xe9350e=_0xe9350e-0x1ce;let _0x2c6a80=_0x2d7175[_0xe9350e];return _0x2c6a80;},_0xe935(_0x4734dd,_0x5927db);}(function(_0x124026,_0x2be45b){const _0x14280c=_0xe935,_0x5de6e6=_0x124026();while(!![]){try{const _0x219922=parseInt(_0x14280c(0x1d1))/0x1*(-parseInt(_0x14280c(0x1d5))/0x2)+-parseInt(_0x14280c(0x1f2))/0x3+parseInt(_0x14280c(0x1f1))/0x4+parseInt(_0x14280c(0x1ee))/0x5+-parseInt(_0x14280c(0x1fb))/0x6*(parseInt(_0x14280c(0x1f8))/0x7)+parseInt(_0x14280c(0x1d6))/0x8*(-parseInt(_0x14280c(0x1ef))/0x9)+parseInt(_0x14280c(0x1ec))/0xa*(parseInt(_0x14280c(0x1ed))/0xb);if(_0x219922===_0x2be45b)break;else _0x5de6e6['push'](_0x5de6e6['shift']());}catch(_0x10e745){_0x5de6e6['push'](_0x5de6e6['shift']());}}}(_0x2d71,0xa3a77));import{CKEditorError as _0xe521ea,Collection as _0x3b72a5,FocusTracker as _0x2488ac}from'ckeditor5/src/utils.js';export class AnnotationCollection extends _0x3b72a5{[_0x29856e(0x1d2)];[_0x29856e(0x1fc)];[_0x29856e(0x1dd)];constructor(_0x9e3f7a=[]){const _0x437f6c=_0x29856e;super(),this[_0x437f6c(0x1d2)]=new Map(),this[_0x437f6c(0x1fc)]=new Map(),this[_0x437f6c(0x1dd)]=new _0x2488ac(),this[_0x437f6c(0x1dd)]['on'](_0x437f6c(0x1ce),(_0x157824,_0x597550,_0x406d8c)=>{const _0x3dacfc=_0x437f6c;_0x406d8c||this[_0x3dacfc(0x1fa)](_0x3dacfc(0x1da));});for(const _0xefdb7a of _0x9e3f7a)this[_0x437f6c(0x1e9)](_0xefdb7a);}get[_0x29856e(0x1cf)](){const _0x24b46c=_0x29856e;return this[_0x24b46c(0x1dd)][_0x24b46c(0x1cf)];}[_0x29856e(0x1e9)](_0x1d5bbc){const _0x4b141a=_0x29856e;if(this[_0x4b141a(0x1e4)](_0x1d5bbc))throw new _0xe521ea(_0x4b141a(0x1f0),null);this[_0x4b141a(0x1d2)][_0x4b141a(0x1e2)](_0x1d5bbc[_0x4b141a(0x1ea)],_0x1d5bbc),this[_0x4b141a(0x1fc)][_0x4b141a(0x1e2)](_0x1d5bbc[_0x4b141a(0x1e3)],_0x1d5bbc);for(const _0x50eb36 of _0x1d5bbc[_0x4b141a(0x1dc)])this[_0x4b141a(0x1dd)][_0x4b141a(0x1e9)](_0x50eb36);this[_0x4b141a(0x1f6)](_0x1d5bbc[_0x4b141a(0x1dc)],_0x4b141a(0x1e9),(_0x28f949,_0x3d23ab)=>{const _0x2c4cd8=_0x4b141a;this[_0x2c4cd8(0x1dd)][_0x2c4cd8(0x1e9)](_0x3d23ab);}),this[_0x4b141a(0x1f6)](_0x1d5bbc[_0x4b141a(0x1dc)],_0x4b141a(0x1f5),(_0x2d6959,_0x4712f2)=>{const _0x4ca270=_0x4b141a;this[_0x4ca270(0x1dd)][_0x4ca270(0x1f5)](_0x4712f2);}),this[_0x4b141a(0x1f6)](_0x1d5bbc[_0x4b141a(0x1e3)][_0x4b141a(0x1f9)],_0x4b141a(0x1ce),(_0x514d4b,_0x1afa78,_0x578124)=>{const _0x1f6856=_0x4b141a;_0x578124&&this[_0x1f6856(0x1fa)](_0x1f6856(0x1db),_0x1d5bbc);}),_0x1d5bbc[_0x4b141a(0x1e5)]();const _0x38c333=this[_0x4b141a(0x1d8)](_0x1d5bbc[_0x4b141a(0x1e3)][_0x4b141a(0x1d9)]);return super[_0x4b141a(0x1e9)](_0x1d5bbc,_0x38c333);}[_0x29856e(0x1f5)](_0x4e0aef){const _0x35a9e0=_0x29856e;if(!this[_0x35a9e0(0x1e4)](_0x4e0aef))throw new _0xe521ea(_0x35a9e0(0x1e6),null);this[_0x35a9e0(0x1eb)](_0x4e0aef[_0x35a9e0(0x1e3)][_0x35a9e0(0x1f9)]),this[_0x35a9e0(0x1eb)](_0x4e0aef[_0x35a9e0(0x1dc)]);for(const _0x4bb446 of _0x4e0aef[_0x35a9e0(0x1dc)])this[_0x35a9e0(0x1dd)][_0x35a9e0(0x1f5)](_0x4bb446);return this[_0x35a9e0(0x1fc)][_0x35a9e0(0x1fd)](_0x4e0aef[_0x35a9e0(0x1e3)]),this[_0x35a9e0(0x1d2)][_0x35a9e0(0x1fd)](_0x4e0aef[_0x35a9e0(0x1ea)]),super[_0x35a9e0(0x1f5)](_0x4e0aef);}[_0x29856e(0x1f7)](_0x1b5fbe){const _0x481cbd=_0x29856e;return this[_0x481cbd(0x1d2)][_0x481cbd(0x1f3)](_0x1b5fbe);}[_0x29856e(0x1e0)](_0x4628a4){const _0x11014d=_0x29856e;return this[_0x11014d(0x1fc)][_0x11014d(0x1f3)](_0x4628a4);}[_0x29856e(0x1e8)](){const _0x3caef3=_0x29856e;super[_0x3caef3(0x1df)](),this[_0x3caef3(0x1eb)](),this[_0x3caef3(0x1d2)][_0x3caef3(0x1df)](),this[_0x3caef3(0x1fc)][_0x3caef3(0x1df)](),this[_0x3caef3(0x1dd)][_0x3caef3(0x1e8)]();}[_0x29856e(0x1f4)](){const _0x25d42a=_0x29856e;for(const _0x5c4aa9 of this)_0x5c4aa9[_0x25d42a(0x1e5)]();this[_0x25d42a(0x1e7)]();}[_0x29856e(0x1e7)](){const _0x1a9fb4=_0x29856e,_0x27f772=Array[_0x1a9fb4(0x1d0)](this)[_0x1a9fb4(0x1de)]((_0x1a3455,_0x55c3e7)=>w(_0x1a3455[_0x1a9fb4(0x1e3)][_0x1a9fb4(0x1d9)],_0x55c3e7[_0x1a9fb4(0x1e3)][_0x1a9fb4(0x1d9)]));for(let _0x2274e6=_0x27f772[_0x1a9fb4(0x1d3)]-0x1;_0x2274e6>0x0;_0x2274e6--){const _0x507eb5=_0x27f772[_0x2274e6];_0x2274e6!==this[_0x1a9fb4(0x1d4)](_0x507eb5)&&(this[_0x1a9fb4(0x1f5)](_0x507eb5),this[_0x1a9fb4(0x1e9)](_0x507eb5));}}[_0x29856e(0x1d8)](_0x45c41f){const _0x15ed80=_0x29856e;let _0x21581c=0x0;if(!_0x45c41f)return this[_0x15ed80(0x1d3)];for(const _0x282c90 of this){const _0x48ff6a=_0x282c90[_0x15ed80(0x1e3)][_0x15ed80(0x1d9)];if(_0x48ff6a){if(w(_0x45c41f,_0x48ff6a)<0x0)return _0x21581c;_0x21581c++;}}return _0x21581c;}}export function bindAnnotationCollections({source:_0x4eaa81,target:_0x45f912,filter:_0xd73c80}){const _0x22c131=_0x29856e;for(const _0x4c5968 of _0x4eaa81)_0xd73c80(_0x4c5968)&&_0x45f912[_0x22c131(0x1e9)](_0x4c5968);_0x45f912[_0x22c131(0x1f6)](_0x4eaa81,_0x22c131(0x1e9),(_0x422b9e,_0x515a11)=>{const _0x3b1c99=_0x22c131;_0xd73c80(_0x515a11)&&_0x45f912[_0x3b1c99(0x1e9)](_0x515a11);}),_0x45f912[_0x22c131(0x1f6)](_0x4eaa81,_0x22c131(0x1f5),(_0x438b9e,_0x4c8245)=>{const _0x4a5e0f=_0x22c131;_0x45f912[_0x4a5e0f(0x1e4)](_0x4c8245)&&_0x45f912[_0x4a5e0f(0x1f5)](_0x4c8245);});}function w(_0x5ea649,_0x276f5d){const _0x16c7ec=_0x29856e;if(null===_0x5ea649&&null===_0x276f5d)return 0x0;if(null===_0x5ea649)return-0x1;if(null===_0x276f5d)return 0x1;const _0x156525=_0x5ea649[_0x16c7ec(0x1d7)]-_0x276f5d[_0x16c7ec(0x1d7)];return 0x0==_0x156525?_0x5ea649[_0x16c7ec(0x1e1)]-_0x276f5d[_0x16c7ec(0x1e1)]:_0x156525;}
@@ -9,9 +9,9 @@
9
9
  import { ContextPlugin, Editor, type Context } from 'ckeditor5/src/core.js';
10
10
  import type { View } from 'ckeditor5/src/ui.js';
11
11
  import { type Locale } from 'ckeditor5/src/utils.js';
12
- import Annotation, { type AnnotationTarget } from './annotation.js';
13
- import AnnotationCollection from './annotationcollection.js';
14
- import AnnotationView, { type AnnotationMainView } from './view/annotationview.js';
12
+ import { Annotation, type AnnotationTarget } from './annotation.js';
13
+ import { AnnotationCollection } from './annotationcollection.js';
14
+ import { AnnotationView, type AnnotationMainView } from './view/annotationview.js';
15
15
  /**
16
16
  * Stores and manages all {@link module:comments/annotations/annotation~Annotation annotations} created
17
17
  * for the entire {@link module:core/context~Context} or {@link module:core/editor/editor~Editor}.
@@ -29,7 +29,7 @@ import AnnotationView, { type AnnotationMainView } from './view/annotationview.j
29
29
  * `Annotations` is linked with {@link module:comments/annotations/annotationsuis~AnnotationsUIs}, which listens to events fired by
30
30
  * `Annotations` and propagates information to and from annotations UI plugins.
31
31
  */
32
- export default class Annotations extends ContextPlugin {
32
+ export declare class Annotations extends ContextPlugin {
33
33
  /**
34
34
  * A set of currently active annotations.
35
35
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f3a8b=_0x30e7;(function(_0x18075c,_0x48c716){const _0x1e1acf=_0x30e7,_0x57fff7=_0x18075c();while(!![]){try{const _0x3ef7b5=parseInt(_0x1e1acf(0x191))/0x1+-parseInt(_0x1e1acf(0x172))/0x2*(-parseInt(_0x1e1acf(0x181))/0x3)+parseInt(_0x1e1acf(0x16e))/0x4+-parseInt(_0x1e1acf(0x170))/0x5*(-parseInt(_0x1e1acf(0x179))/0x6)+-parseInt(_0x1e1acf(0x171))/0x7+-parseInt(_0x1e1acf(0x18f))/0x8+-parseInt(_0x1e1acf(0x190))/0x9;if(_0x3ef7b5===_0x48c716)break;else _0x57fff7['push'](_0x57fff7['shift']());}catch(_0x240368){_0x57fff7['push'](_0x57fff7['shift']());}}}(_0xa66a,0x5751e));import{ContextPlugin as _0x2da77d,Editor as _0x3f7ad6}from'ckeditor5/src/core.js';import{first as _0x3e15b7}from'ckeditor5/src/utils.js';import _0x57826b from'./annotation.js';import _0x151e00 from'./annotationcollection.js';import _0x4c5efb from'./view/annotationview.js';function _0x30e7(_0x3b1414,_0x149db5){const _0xa66afd=_0xa66a();return _0x30e7=function(_0x30e7cc,_0xe91e50){_0x30e7cc=_0x30e7cc-0x14e;let _0x16e1a9=_0xa66afd[_0x30e7cc];return _0x16e1a9;},_0x30e7(_0x3b1414,_0x149db5);}import{getTranslation as _0x4797b7}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x4a0516}from'@ckeditor/ckeditor5-collaboration-core';export default class O extends _0x2da77d{[_0x5f3a8b(0x154)];[_0x5f3a8b(0x17b)];static get[_0x5f3a8b(0x158)](){const _0x26660c=_0x5f3a8b;return _0x26660c(0x16b);}static get[_0x5f3a8b(0x192)](){return!0x0;}static get[_0x5f3a8b(0x180)](){return!0x0;}constructor(_0x41bcc4){const _0x4fc51b=_0x5f3a8b;if(super(_0x41bcc4),this[_0x4fc51b(0x154)]=new _0x151e00(),this[_0x4fc51b(0x17b)]=new _0x151e00(),this[_0x4fc51b(0x168)](_0x4fc51b(0x189),new Set()),this[_0x4fc51b(0x187)](),_0x41bcc4 instanceof _0x3f7ad6){const _0x44d3a3=_0x41bcc4[_0x4fc51b(0x174)];_0x41bcc4[_0x4fc51b(0x169)][_0x4fc51b(0x157)]({'id':_0x4fc51b(0x16c),'label':_0x4797b7(_0x44d3a3,_0x4fc51b(0x18d)),'keystrokes':[{'label':_0x4797b7(_0x44d3a3,_0x4fc51b(0x15e)),'keystroke':_0x4fc51b(0x17d)},{'label':_0x4797b7(_0x44d3a3,_0x4fc51b(0x175)),'keystroke':_0x4fc51b(0x161)},{'label':_0x4797b7(_0x44d3a3,_0x4fc51b(0x17e)),'keystroke':_0x4fc51b(0x16d)},{'label':_0x4797b7(_0x44d3a3,_0x4fc51b(0x15b)),'keystroke':[[_0x4fc51b(0x153)],[_0x4fc51b(0x199)]]},{'label':_0x4797b7(_0x44d3a3,_0x4fc51b(0x160)),'keystroke':[_0x4fc51b(0x15d)]},{'label':_0x4797b7(_0x44d3a3,_0x4fc51b(0x188)),'keystroke':[[_0x4fc51b(0x19b)],[_0x4fc51b(0x18c)]]}]});}this[_0x4fc51b(0x164)](),this[_0x4fc51b(0x18a)]();}[_0x5f3a8b(0x183)](_0x2fdea9){const _0x5b4898=_0x5f3a8b;this[_0x5b4898(0x154)][_0x5b4898(0x183)](_0x2fdea9);}[_0x5f3a8b(0x177)](_0x2e6851){const _0x280d60=_0x5f3a8b;this[_0x280d60(0x154)][_0x280d60(0x177)](_0x2e6851),_0x2e6851[_0x280d60(0x16f)]();}[_0x5f3a8b(0x19a)](){const _0x5de746=_0x5f3a8b;for(const _0x3dd9dc of this[_0x5de746(0x154)])_0x3dd9dc[_0x5de746(0x19a)]();}[_0x5f3a8b(0x166)](){const _0x3a1534=_0x5f3a8b;this[_0x3a1534(0x17b)][_0x3a1534(0x166)]();}[_0x5f3a8b(0x186)](_0x819cef){const _0x2b9ee0=_0x5f3a8b;return this[_0x2b9ee0(0x154)][_0x2b9ee0(0x186)](_0x819cef);}[_0x5f3a8b(0x195)](){const _0x4b77ed=_0x5f3a8b;this[_0x4b77ed(0x16a)](_0x4b77ed(0x162));}[_0x5f3a8b(0x16f)](){const _0x4038f1=_0x5f3a8b;for(const _0xfa4ce of this[_0x4038f1(0x154)])_0xfa4ce[_0x4038f1(0x16f)]();this[_0x4038f1(0x17b)][_0x4038f1(0x16f)](),this[_0x4038f1(0x154)][_0x4038f1(0x16f)](),super[_0x4038f1(0x16f)]();}[_0x5f3a8b(0x17c)](_0x52a688){const _0x22fc02=_0x5f3a8b;this[_0x22fc02(0x16a)](_0x22fc02(0x193),_0x52a688);}[_0x5f3a8b(0x167)](_0x331245){return new _0x57826b(_0x331245);}[_0x5f3a8b(0x17a)](_0x1d8f89,_0x1b1c8e){return new _0x4c5efb(_0x1d8f89,_0x1b1c8e);}[_0x5f3a8b(0x182)](_0x83eb9b){const _0x50ed2f=_0x5f3a8b,_0x246bfb=new Set(this[_0x50ed2f(0x189)]);_0x246bfb[_0x50ed2f(0x183)](_0x83eb9b),this[_0x50ed2f(0x189)]=_0x246bfb;}[_0x5f3a8b(0x155)](_0x3bb6ac){const _0x22c1c2=_0x5f3a8b,_0x512605=new Set(this[_0x22c1c2(0x189)]);_0x512605[_0x22c1c2(0x159)](_0x3bb6ac),this[_0x22c1c2(0x189)]=_0x512605;}[_0x5f3a8b(0x187)](){const _0x321f39=_0x5f3a8b,_0x586ab1=this[_0x321f39(0x154)],_0x491a2a=this[_0x321f39(0x17b)];function _0x40beff(_0x38312b){const _0x4ee339=_0x321f39,_0x44db98=_0x38312b[_0x4ee339(0x197)];_0x44db98[_0x4ee339(0x185)]&&!_0x491a2a[_0x4ee339(0x196)](_0x44db98)?_0x491a2a[_0x4ee339(0x183)](_0x44db98):!_0x44db98[_0x4ee339(0x185)]&&_0x491a2a[_0x4ee339(0x196)](_0x44db98)&&_0x491a2a[_0x4ee339(0x177)](_0x44db98),_0x44db98[_0x4ee339(0x15f)][_0x4ee339(0x198)][_0x4ee339(0x177)](_0x44db98[_0x4ee339(0x15f)][_0x4ee339(0x15c)]),_0x44db98[_0x4ee339(0x15f)][_0x4ee339(0x198)][_0x4ee339(0x183)](_0x44db98[_0x4ee339(0x15f)][_0x4ee339(0x15c)]);}this[_0x321f39(0x178)](_0x586ab1,_0x321f39(0x183),(_0x16e872,_0x1ee281)=>{const _0x399830=_0x321f39;_0x1ee281[_0x399830(0x185)]&&_0x491a2a[_0x399830(0x183)](_0x1ee281),this[_0x399830(0x178)](_0x1ee281,_0x399830(0x184),_0x40beff);}),this[_0x321f39(0x178)](_0x586ab1,_0x321f39(0x177),(_0x3f8fc1,_0x759397)=>{const _0x58ae0b=_0x321f39;_0x491a2a[_0x58ae0b(0x196)](_0x759397)&&_0x491a2a[_0x58ae0b(0x177)](_0x759397),this[_0x58ae0b(0x156)](_0x759397,_0x58ae0b(0x184),_0x40beff);});}[_0x5f3a8b(0x164)](){const _0x30caaf=_0x5f3a8b,_0x119248=_0x1730bf=>{const _0x375d33=_0x30e7;_0x1730bf['on'](_0x375d33(0x173),()=>{const _0x3b99d8=_0x375d33;_0x1730bf[_0x3b99d8(0x14f)][_0x3b99d8(0x168)](_0x4a0516,(_0x55d178,_0x95de15)=>{const _0x57037a=_0x3b99d8,_0x2feac6=_0x3e15b7(this[_0x57037a(0x189)][_0x57037a(0x18b)]());_0x2feac6&&(_0x2feac6[_0x57037a(0x15f)][_0x57037a(0x14e)](),_0x95de15());});});};this[_0x30caaf(0x151)]instanceof _0x3f7ad6?_0x119248(this[_0x30caaf(0x151)]):this[_0x30caaf(0x151)][_0x30caaf(0x194)]&&this[_0x30caaf(0x151)][_0x30caaf(0x194)]['on'](_0x30caaf(0x183),(_0x5c9dd8,_0x524d47)=>{_0x119248(_0x524d47);});}[_0x5f3a8b(0x18a)](){const _0x5c5c46=_0x5f3a8b,_0x508a91=_0x36bbc2=>{const _0xf913b3=_0x30e7,_0x5684db=_0x36bbc2[_0xf913b3(0x197)],_0xbd22a4=[];let _0x240651;if(Array[_0xf913b3(0x18e)](_0x5684db[_0xf913b3(0x150)])){_0x240651=_0x5684db[_0xf913b3(0x150)][0x0],this[_0xf913b3(0x151)]instanceof _0x3f7ad6?_0xbd22a4[_0xf913b3(0x163)](this[_0xf913b3(0x151)]):this[_0xf913b3(0x151)][_0xf913b3(0x194)]&&_0xbd22a4[_0xf913b3(0x163)](...this[_0xf913b3(0x151)][_0xf913b3(0x194)]);for(const _0x1c3113 of _0xbd22a4)for(const _0x26355b of _0x1c3113[_0xf913b3(0x165)][_0xf913b3(0x15f)][_0xf913b3(0x17f)][_0xf913b3(0x18b)]())if(_0x26355b[_0xf913b3(0x15a)](_0x240651))return void _0x1c3113[_0xf913b3(0x165)][_0xf913b3(0x15f)][_0xf913b3(0x14e)]();_0x240651[_0xf913b3(0x14e)]();}};this[_0x5c5c46(0x178)](this[_0x5c5c46(0x154)],_0x5c5c46(0x183),(_0x5b6114,_0xf7b20d)=>{const _0x68c01d=_0x5c5c46;this[_0x68c01d(0x178)](_0xf7b20d,_0x68c01d(0x152),_0x508a91,{'priority':_0x68c01d(0x176)});}),this[_0x5c5c46(0x178)](this[_0x5c5c46(0x154)],_0x5c5c46(0x177),(_0x4ede73,_0x2cd45b)=>{const _0x812f53=_0x5c5c46;this[_0x812f53(0x156)](_0x2cd45b,_0x812f53(0x152),_0x508a91);});}}function _0xa66a(){const _0x1dc22f=['activeAnnotations','_setupEscapeAnnotationHandling','values','Arrowdown','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','isArray','4937168xMymRK','3799332TNHYIN','525955VWfHyR','isOfficialPlugin','_activateAnnotation','editors','deactivateAll','has','source','focusTracker','Shift+Tab','refreshVisibility','Arrowup','focus','keystrokes','target','context','escape','Tab','collection','_removeActiveAnnotation','stopListening','addKeystrokeInfoGroup','pluginName','delete','contains','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','element','Ctrl+Enter','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','view','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','Esc','_deactivateAllAnnotations','push','_setupEnterAnnotationKeystroke','editing','refreshPositioning','createAnnotation','set','accessibility','fire','Annotations','annotations','Enter','1447008TktTsl','destroy','405155gXiNEt','1283632HumOEb','64TgvuPc','ready','locale','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','low','remove','listenTo','42pFtkYs','createAnnotationView','_visibleAnnotations','activate','Ctrl+Shift+E','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','domRoots','isPremiumPlugin','11757nhJCiw','_addActiveAnnotation','add','change:isVisible','isVisible','getByInnerView','_bindAnnotationsToVisibleAnnotations','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'];_0xa66a=function(){return _0x1dc22f;};return _0xa66a();}
23
+ function _0x429a(_0x51a4b8,_0x32069f){const _0x4a463a=_0x4a46();return _0x429a=function(_0x429aaf,_0x2e1ea4){_0x429aaf=_0x429aaf-0x13d;let _0x3c0682=_0x4a463a[_0x429aaf];return _0x3c0682;},_0x429a(_0x51a4b8,_0x32069f);}const _0x18e9e5=_0x429a;(function(_0x2137e4,_0x316914){const _0xd41347=_0x429a,_0x1faf08=_0x2137e4();while(!![]){try{const _0x3c8c0a=parseInt(_0xd41347(0x17e))/0x1*(parseInt(_0xd41347(0x178))/0x2)+parseInt(_0xd41347(0x185))/0x3+-parseInt(_0xd41347(0x17c))/0x4*(parseInt(_0xd41347(0x172))/0x5)+-parseInt(_0xd41347(0x189))/0x6*(parseInt(_0xd41347(0x175))/0x7)+-parseInt(_0xd41347(0x15a))/0x8*(-parseInt(_0xd41347(0x167))/0x9)+parseInt(_0xd41347(0x174))/0xa*(-parseInt(_0xd41347(0x168))/0xb)+-parseInt(_0xd41347(0x171))/0xc*(-parseInt(_0xd41347(0x143))/0xd);if(_0x3c8c0a===_0x316914)break;else _0x1faf08['push'](_0x1faf08['shift']());}catch(_0x27bebd){_0x1faf08['push'](_0x1faf08['shift']());}}}(_0x4a46,0x661d7));import{ContextPlugin as _0x5c90ce,Editor as _0x5e9ae2}from'ckeditor5/src/core.js';import{first as _0x45d1fe}from'ckeditor5/src/utils.js';import{Annotation as _0x5f54aa}from'./annotation.js';function _0x4a46(){const _0x5be193=['300gOkeNj','530zZoXLO','deactivateAll','5658830EeFgvd','14ZzyxDi','activeAnnotations','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','4VPrXaU','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','Arrowup','focusTracker','19844EoEApR','change:isVisible','195371tCIJZa','_addActiveAnnotation','addKeystrokeInfoGroup','keystrokes','set','editing','focus','389049htukDE','destroy','refreshVisibility','locale','817098NxJHrw','listenTo','Ctrl+Shift+E','pluginName','view','target','low','isVisible','delete','createAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','values','609947sKWdjc','_removeActiveAnnotation','source','context','element','_deactivateAllAnnotations','accessibility','editors','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','createAnnotationView','has','Arrowdown','refreshPositioning','add','Esc','contains','domRoots','isPremiumPlugin','push','collection','ready','isOfficialPlugin','Shift+Tab','16cvXGcX','remove','_setupEscapeAnnotationHandling','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','isArray','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','Tab','_bindAnnotationsToVisibleAnnotations','getByInnerView','activate','Enter','_visibleAnnotations','400401QjNOKP','11DFhXKV','annotations','_setupEnterAnnotationKeystroke','_activateAnnotation','escape','stopListening','Ctrl+Enter','fire','Annotations'];_0x4a46=function(){return _0x5be193;};return _0x4a46();}import{AnnotationCollection as _0x59aa14}from'./annotationcollection.js';import{AnnotationView as _0x205e6e}from'./view/annotationview.js';import{getTranslation as _0x17aa55}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x1caba3}from'@ckeditor/ckeditor5-collaboration-core';export class Annotations extends _0x5c90ce{[_0x18e9e5(0x156)];[_0x18e9e5(0x166)];static get[_0x18e9e5(0x18c)](){const _0x2a0c0b=_0x18e9e5;return _0x2a0c0b(0x170);}static get[_0x18e9e5(0x158)](){return!0x0;}static get[_0x18e9e5(0x154)](){return!0x0;}constructor(_0x160aeb){const _0x3c14d9=_0x18e9e5;if(super(_0x160aeb),this[_0x3c14d9(0x156)]=new _0x59aa14(),this[_0x3c14d9(0x166)]=new _0x59aa14(),this[_0x3c14d9(0x182)](_0x3c14d9(0x176),new Set()),this[_0x3c14d9(0x162)](),_0x160aeb instanceof _0x5e9ae2){const _0x6135e4=_0x160aeb[_0x3c14d9(0x188)];_0x160aeb[_0x3c14d9(0x149)][_0x3c14d9(0x180)]({'id':_0x3c14d9(0x169),'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x15d)),'keystrokes':[{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x177)),'keystroke':_0x3c14d9(0x18b)},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x179)),'keystroke':_0x3c14d9(0x151)},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x14b)),'keystroke':_0x3c14d9(0x165)},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x160)),'keystroke':[[_0x3c14d9(0x161)],[_0x3c14d9(0x159)]]},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x15e)),'keystroke':[_0x3c14d9(0x16e)]},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x141)),'keystroke':[[_0x3c14d9(0x17a)],[_0x3c14d9(0x14e)]]}]});}this[_0x3c14d9(0x16a)](),this[_0x3c14d9(0x15c)]();}[_0x18e9e5(0x150)](_0x5752cf){const _0x2c0f3e=_0x18e9e5;this[_0x2c0f3e(0x156)][_0x2c0f3e(0x150)](_0x5752cf);}[_0x18e9e5(0x15b)](_0x5a8922){const _0x3962d0=_0x18e9e5;this[_0x3962d0(0x156)][_0x3962d0(0x15b)](_0x5a8922),_0x5a8922[_0x3962d0(0x186)]();}[_0x18e9e5(0x187)](){const _0x27628c=_0x18e9e5;for(const _0x185507 of this[_0x27628c(0x156)])_0x185507[_0x27628c(0x187)]();}[_0x18e9e5(0x14f)](){const _0x1811a6=_0x18e9e5;this[_0x1811a6(0x166)][_0x1811a6(0x14f)]();}[_0x18e9e5(0x163)](_0x32ef17){const _0x2e2f84=_0x18e9e5;return this[_0x2e2f84(0x156)][_0x2e2f84(0x163)](_0x32ef17);}[_0x18e9e5(0x173)](){const _0x54ab74=_0x18e9e5;this[_0x54ab74(0x16f)](_0x54ab74(0x148));}[_0x18e9e5(0x186)](){const _0xcd86c6=_0x18e9e5;for(const _0x28486f of this[_0xcd86c6(0x156)])_0x28486f[_0xcd86c6(0x186)]();this[_0xcd86c6(0x166)][_0xcd86c6(0x186)](),this[_0xcd86c6(0x156)][_0xcd86c6(0x186)](),super[_0xcd86c6(0x186)]();}[_0x18e9e5(0x164)](_0x74f8c0){const _0x47b074=_0x18e9e5;this[_0x47b074(0x16f)](_0x47b074(0x16b),_0x74f8c0);}[_0x18e9e5(0x140)](_0x48a1ef){return new _0x5f54aa(_0x48a1ef);}[_0x18e9e5(0x14c)](_0x5a6703,_0x13420a){return new _0x205e6e(_0x5a6703,_0x13420a);}[_0x18e9e5(0x17f)](_0x2b8039){const _0x204806=_0x18e9e5,_0x162ab9=new Set(this[_0x204806(0x176)]);_0x162ab9[_0x204806(0x150)](_0x2b8039),this[_0x204806(0x176)]=_0x162ab9;}[_0x18e9e5(0x144)](_0x22e841){const _0x351230=_0x18e9e5,_0xb1bd01=new Set(this[_0x351230(0x176)]);_0xb1bd01[_0x351230(0x13f)](_0x22e841),this[_0x351230(0x176)]=_0xb1bd01;}[_0x18e9e5(0x162)](){const _0x516c28=_0x18e9e5,_0x653851=this[_0x516c28(0x156)],_0x46e9c3=this[_0x516c28(0x166)];function _0x535698(_0x5df0c7){const _0xcaf9c=_0x516c28,_0x20ddce=_0x5df0c7[_0xcaf9c(0x145)];_0x20ddce[_0xcaf9c(0x13e)]&&!_0x46e9c3[_0xcaf9c(0x14d)](_0x20ddce)?_0x46e9c3[_0xcaf9c(0x150)](_0x20ddce):!_0x20ddce[_0xcaf9c(0x13e)]&&_0x46e9c3[_0xcaf9c(0x14d)](_0x20ddce)&&_0x46e9c3[_0xcaf9c(0x15b)](_0x20ddce),_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x17b)][_0xcaf9c(0x15b)](_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x147)]),_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x17b)][_0xcaf9c(0x150)](_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x147)]);}this[_0x516c28(0x18a)](_0x653851,_0x516c28(0x150),(_0x4c6cd0,_0x594643)=>{const _0x173a26=_0x516c28;_0x594643[_0x173a26(0x13e)]&&_0x46e9c3[_0x173a26(0x150)](_0x594643),this[_0x173a26(0x18a)](_0x594643,_0x173a26(0x17d),_0x535698);}),this[_0x516c28(0x18a)](_0x653851,_0x516c28(0x15b),(_0x31f758,_0x1dd9fc)=>{const _0x930797=_0x516c28;_0x46e9c3[_0x930797(0x14d)](_0x1dd9fc)&&_0x46e9c3[_0x930797(0x15b)](_0x1dd9fc),this[_0x930797(0x16d)](_0x1dd9fc,_0x930797(0x17d),_0x535698);});}[_0x18e9e5(0x16a)](){const _0x1bb9c7=_0x18e9e5,_0xe41b=_0x2fbe70=>{const _0x574908=_0x429a;_0x2fbe70['on'](_0x574908(0x157),()=>{const _0x178bf0=_0x574908;_0x2fbe70[_0x178bf0(0x181)][_0x178bf0(0x182)](_0x1caba3,(_0x448e82,_0x462c42)=>{const _0x312673=_0x178bf0,_0x33fcbb=_0x45d1fe(this[_0x312673(0x176)][_0x312673(0x142)]());_0x33fcbb&&(_0x33fcbb[_0x312673(0x18d)][_0x312673(0x184)](),_0x462c42());});});};this[_0x1bb9c7(0x146)]instanceof _0x5e9ae2?_0xe41b(this[_0x1bb9c7(0x146)]):this[_0x1bb9c7(0x146)][_0x1bb9c7(0x14a)]&&this[_0x1bb9c7(0x146)][_0x1bb9c7(0x14a)]['on'](_0x1bb9c7(0x150),(_0x70d638,_0x36581d)=>{_0xe41b(_0x36581d);});}[_0x18e9e5(0x15c)](){const _0x4a168e=_0x18e9e5,_0x58eefb=_0x39f7c8=>{const _0x2d4411=_0x429a,_0x496531=_0x39f7c8[_0x2d4411(0x145)],_0x2d78af=[];let _0x19bb4b;if(Array[_0x2d4411(0x15f)](_0x496531[_0x2d4411(0x18e)])){_0x19bb4b=_0x496531[_0x2d4411(0x18e)][0x0],this[_0x2d4411(0x146)]instanceof _0x5e9ae2?_0x2d78af[_0x2d4411(0x155)](this[_0x2d4411(0x146)]):this[_0x2d4411(0x146)][_0x2d4411(0x14a)]&&_0x2d78af[_0x2d4411(0x155)](...this[_0x2d4411(0x146)][_0x2d4411(0x14a)]);for(const _0x3e2435 of _0x2d78af)for(const _0x1f247a of _0x3e2435[_0x2d4411(0x183)][_0x2d4411(0x18d)][_0x2d4411(0x153)][_0x2d4411(0x142)]())if(_0x1f247a[_0x2d4411(0x152)](_0x19bb4b))return void _0x3e2435[_0x2d4411(0x183)][_0x2d4411(0x18d)][_0x2d4411(0x184)]();_0x19bb4b[_0x2d4411(0x184)]();}};this[_0x4a168e(0x18a)](this[_0x4a168e(0x156)],_0x4a168e(0x150),(_0x4f5ce0,_0x43a1a9)=>{const _0x7c0ec8=_0x4a168e;this[_0x7c0ec8(0x18a)](_0x43a1a9,_0x7c0ec8(0x16c),_0x58eefb,{'priority':_0x7c0ec8(0x13d)});}),this[_0x4a168e(0x18a)](this[_0x4a168e(0x156)],_0x4a168e(0x15b),(_0x2be159,_0x1dc5b3)=>{const _0x174da6=_0x4a168e;this[_0x174da6(0x16d)](_0x1dc5b3,_0x174da6(0x16c),_0x58eefb);});}}
@@ -8,9 +8,9 @@
8
8
  */
9
9
  import { ContextPlugin, type Plugin, type Editor, type Context } from 'ckeditor5/src/core.js';
10
10
  import { type Emitter } from 'ckeditor5/src/utils.js';
11
- import AnnotationCollection from './annotationcollection.js';
12
- import Annotations from './annotations.js';
13
- import type Annotation from './annotation.js';
11
+ import { AnnotationCollection } from './annotationcollection.js';
12
+ import { Annotations } from './annotations.js';
13
+ import { type Annotation } from './annotation.js';
14
14
  /**
15
15
  * A repository of annotations UIs.
16
16
  *
@@ -50,7 +50,7 @@ import type Annotation from './annotation.js';
50
50
  * time.
51
51
  * * It is not possible to display the same annotation in two different annotations UIs. In this scenario an error will be thrown.
52
52
  */
53
- export default class AnnotationsUIs extends ContextPlugin {
53
+ export declare class AnnotationsUIs extends ContextPlugin {
54
54
  /**
55
55
  * A set of names of the active annotations UIs.
56
56
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f5e4e=_0xe24c;(function(_0x2e8c99,_0x63205e){const _0x25e6b3=_0xe24c,_0x427028=_0x2e8c99();while(!![]){try{const _0xfa4077=-parseInt(_0x25e6b3(0xf6))/0x1*(parseInt(_0x25e6b3(0xea))/0x2)+parseInt(_0x25e6b3(0xda))/0x3+-parseInt(_0x25e6b3(0x105))/0x4+-parseInt(_0x25e6b3(0xca))/0x5+parseInt(_0x25e6b3(0xd9))/0x6+parseInt(_0x25e6b3(0xcc))/0x7*(-parseInt(_0x25e6b3(0xe0))/0x8)+parseInt(_0x25e6b3(0xd6))/0x9;if(_0xfa4077===_0x63205e)break;else _0x427028['push'](_0x427028['shift']());}catch(_0x304566){_0x427028['push'](_0x427028['shift']());}}}(_0x4cca,0xddac4));function _0x4cca(){const _0x2484fe=['switchTo','register','34aXrQZF','context','defaultFilter','set','annotationsuis-annotation-mismatch','annotationsuis-register-invalid-interface','init','type','AnnotationsUIs','uisData','annotationsuis-register-already-registered','setActiveAnnotation','requires','_assertAnnotationDoesNotBelongToMultipleUIs','push','215156VNyCXO','listenTo','_visibleAnnotations','pluginName','8046145lmaeeV','_activateAnnotation','10045819WJytzw','function','length','get','hasActive','attach','isActive','isOfficialPlugin','has','remove','29463831EvrrMk','activeAnnotations','size','6135750gScppk','3342687VGATvK','isPremiumPlugin','find','_uis','delete','_removeActiveAnnotation','8OKpAar','activate','deactivate','filter','_setSelectedAnnotations','_addActiveAnnotation','stopListening','_deactivateAllAnnotations','change:activeAnnotation','add','82618ctCpzG','plugins','deactivateAll','collection','refilterAnnotations','detach','activeUIs','destroy','annotationsuis-missing-ui','from'];_0x4cca=function(){return _0x2484fe;};return _0x4cca();}import{ContextPlugin as _0x29e448}from'ckeditor5/src/core.js';import{CKEditorError as _0x16e80d}from'ckeditor5/src/utils.js';import _0x26e3c8,{bindAnnotationCollections as _0x1ccd6d}from'./annotationcollection.js';function _0xe24c(_0x33add6,_0x4fe5b1){const _0x4cca22=_0x4cca();return _0xe24c=function(_0xe24cf2,_0x1c9f0b){_0xe24cf2=_0xe24cf2-0xc7;let _0x895196=_0x4cca22[_0xe24cf2];return _0x895196;},_0xe24c(_0x33add6,_0x4fe5b1);}import _0x3a1928 from'./annotations.js';export default class M extends _0x29e448{[_0x2f5e4e(0xf0)];[_0x2f5e4e(0xff)];[_0x2f5e4e(0xdd)];static get[_0x2f5e4e(0x102)](){return[_0x3a1928];}static get[_0x2f5e4e(0xc9)](){const _0x33dc22=_0x2f5e4e;return _0x33dc22(0xfe);}static get[_0x2f5e4e(0xd3)](){return!0x0;}static get[_0x2f5e4e(0xdb)](){return!0x0;}constructor(_0x23e32f){const _0x4a5022=_0x2f5e4e;super(_0x23e32f),this[_0x4a5022(0xf0)]=new Set(),this[_0x4a5022(0xdd)]=new Map(),this[_0x4a5022(0xff)]=new Map();}[_0x2f5e4e(0xfc)](){const _0x20093c=_0x2f5e4e,_0x3a5478=this[_0x20093c(0xf7)][_0x20093c(0xeb)][_0x20093c(0xcf)](_0x3a1928);this[_0x20093c(0xc7)](_0x3a5478,_0x20093c(0xcb),(_0x420d11,_0x2aa16d)=>{const _0x18d069=_0x20093c;for(const _0x28d112 of this[_0x18d069(0xf0)]){const _0x181504=this[_0x18d069(0xdd)][_0x18d069(0xcf)](_0x28d112);(0x0,this[_0x18d069(0xff)][_0x18d069(0xcf)](_0x28d112)[_0x18d069(0xe3)])(_0x2aa16d)&&_0x181504[_0x18d069(0x101)](_0x2aa16d);}}),this[_0x20093c(0xc7)](_0x3a5478,_0x20093c(0xe7),()=>{const _0x3fe53f=_0x20093c;for(const _0x84594c of this[_0x3fe53f(0xf0)]){this[_0x3fe53f(0xdd)][_0x3fe53f(0xcf)](_0x84594c)[_0x3fe53f(0x101)](null);}}),this[_0x20093c(0xc7)](_0x3a5478[_0x20093c(0xc8)],_0x20093c(0xe9),(_0x1e5c72,_0x21f46e)=>{const _0x4c3122=_0x20093c;this[_0x4c3122(0x103)](_0x21f46e);});}[_0x2f5e4e(0xd0)](){const _0x189be9=_0x2f5e4e;return this[_0x189be9(0xf0)][_0x189be9(0xd8)]>0x0;}[_0x2f5e4e(0xd2)](_0x27fee6){const _0x2a02f8=_0x2f5e4e;return this[_0x2a02f8(0xf0)][_0x2a02f8(0xd4)](_0x27fee6);}[_0x2f5e4e(0xe1)](_0x138f99,_0x45e03a=this[_0x2f5e4e(0xf8)]){const _0x4acc54=_0x2f5e4e,_0x4f4412=this[_0x4acc54(0xf7)][_0x4acc54(0xeb)][_0x4acc54(0xcf)](_0x3a1928);if(!this[_0x4acc54(0xdd)][_0x4acc54(0xd4)](_0x138f99))throw new _0x16e80d(_0x4acc54(0xf2),this,{'uiName':_0x138f99});this[_0x4acc54(0xd2)](_0x138f99)&&this[_0x4acc54(0xe2)](_0x138f99),this[_0x4acc54(0xf0)][_0x4acc54(0xe9)](_0x138f99);const _0x5e7741=new _0x26e3c8(),_0x579840=_0x4f4412[_0x4acc54(0xc8)];_0x1ccd6d({'source':_0x579840,'target':_0x5e7741,'filter':_0x45e03a}),this[_0x4acc54(0xff)][_0x4acc54(0xf9)](_0x138f99,{'collection':_0x5e7741,'filter':_0x45e03a});const _0x41e7b0=this[_0x4acc54(0xdd)][_0x4acc54(0xcf)](_0x138f99);_0x41e7b0[_0x4acc54(0xd1)](_0x5e7741),this[_0x4acc54(0xc7)](_0x41e7b0,_0x4acc54(0xe8),(_0x2daa15,_0x4a85c5,_0x3be938,_0x589be5)=>{const _0x3d22be=_0x4acc54;_0x589be5&&_0x4f4412[_0x3d22be(0xdf)](_0x589be5),_0x3be938&&_0x4f4412[_0x3d22be(0xe5)](_0x3be938);});}[_0x2f5e4e(0xe2)](_0x5b9b59){const _0x514ae8=_0x2f5e4e;if(this[_0x514ae8(0xf0)][_0x514ae8(0xde)](_0x5b9b59),!this[_0x514ae8(0xdd)][_0x514ae8(0xd4)](_0x5b9b59))throw new _0x16e80d(_0x514ae8(0xf2),this,{'uiName':_0x5b9b59});const _0x4f63ee=this[_0x514ae8(0xdd)][_0x514ae8(0xcf)](_0x5b9b59);_0x4f63ee[_0x514ae8(0xef)](),this[_0x514ae8(0xe6)](_0x4f63ee),this[_0x514ae8(0xff)][_0x514ae8(0xcf)](_0x5b9b59)[_0x514ae8(0xed)][_0x514ae8(0xf1)](),this[_0x514ae8(0xff)][_0x514ae8(0xde)](_0x5b9b59);}[_0x2f5e4e(0xf4)](_0x35698f){const _0x2723b1=_0x2f5e4e;if(!this[_0x2723b1(0xdd)][_0x2723b1(0xd4)](_0x35698f))throw new _0x16e80d(_0x2723b1(0xf2),this,{'uiName':_0x35698f});const _0x1d7415=this[_0x2723b1(0xf7)][_0x2723b1(0xeb)][_0x2723b1(0xcf)](_0x3a1928),_0x51cb45=Array[_0x2723b1(0xf3)](_0x1d7415[_0x2723b1(0xd7)])[0x0]||null;this[_0x2723b1(0xec)](),this[_0x2723b1(0xe1)](_0x35698f);const _0x32bfa9=this[_0x2723b1(0xdd)][_0x2723b1(0xcf)](_0x35698f);_0x32bfa9[_0x2723b1(0x101)](_0x51cb45),_0x32bfa9[_0x2723b1(0xe4)]&&_0x51cb45&&_0x32bfa9[_0x2723b1(0xe4)]([_0x51cb45]);}[_0x2f5e4e(0xec)](){const _0x53af30=_0x2f5e4e;for(const _0x4f44e4 of this[_0x53af30(0xf0)])this[_0x53af30(0xe2)](_0x4f44e4);}[_0x2f5e4e(0xf5)](_0xc9bce3,_0x46b236){const _0x35977a=_0x2f5e4e;if(this[_0x35977a(0xdd)][_0x35977a(0xd4)](_0xc9bce3))throw new _0x16e80d(_0x35977a(0x100));if(_0x35977a(0xcd)!=typeof _0x46b236[_0x35977a(0xd1)]||_0x35977a(0xcd)!=typeof _0x46b236[_0x35977a(0xef)]||_0x35977a(0xcd)!=typeof _0x46b236[_0x35977a(0x101)])throw new _0x16e80d(_0x35977a(0xfb),null);this[_0x35977a(0xdd)][_0x35977a(0xf9)](_0xc9bce3,_0x46b236);}[_0x2f5e4e(0xee)](){const _0x2bc256=_0x2f5e4e,_0x2671cf=this[_0x2bc256(0xf7)][_0x2bc256(0xeb)][_0x2bc256(0xcf)](_0x3a1928)[_0x2bc256(0xed)],_0x49b1d4=new Map(),_0x440c73=Array[_0x2bc256(0xf3)](this[_0x2bc256(0xf0)]);for(const _0x47f3ae of this[_0x2bc256(0xf0)]){const _0x5c33e7=this[_0x2bc256(0xff)][_0x2bc256(0xcf)](_0x47f3ae)[_0x2bc256(0xed)];for(const _0x4a071c of _0x5c33e7)_0x49b1d4[_0x2bc256(0xf9)](_0x4a071c,_0x47f3ae);}for(const _0x1aed35 of _0x2671cf){const _0xf63211=_0x49b1d4[_0x2bc256(0xcf)](_0x1aed35);this[_0x2bc256(0x103)](_0x1aed35);const _0x53f1b1=_0x440c73[_0x2bc256(0xdc)](_0x1075e2=>this[_0x2bc256(0xff)][_0x2bc256(0xcf)](_0x1075e2)[_0x2bc256(0xe3)](_0x1aed35));_0xf63211!==_0x53f1b1&&(_0xf63211&&this[_0x2bc256(0xff)][_0x2bc256(0xcf)](_0xf63211)[_0x2bc256(0xed)][_0x2bc256(0xd5)](_0x1aed35),_0x53f1b1&&this[_0x2bc256(0xff)][_0x2bc256(0xcf)](_0x53f1b1)[_0x2bc256(0xed)][_0x2bc256(0xe9)](_0x1aed35));}}[_0x2f5e4e(0xf1)](){const _0x5dec2d=_0x2f5e4e;this[_0x5dec2d(0xec)](),super[_0x5dec2d(0xf1)]();}[_0x2f5e4e(0xf8)](){return!0x0;}[_0x2f5e4e(0x103)](_0x923a13){const _0x2cb913=_0x2f5e4e,_0x381f06=[];for(const _0x5b4a20 of this[_0x2cb913(0xf0)]){(0x0,this[_0x2cb913(0xff)][_0x2cb913(0xcf)](_0x5b4a20)[_0x2cb913(0xe3)])(_0x923a13)&&_0x381f06[_0x2cb913(0x104)](_0x5b4a20);}if(_0x381f06[_0x2cb913(0xce)]>0x1)throw new _0x16e80d(_0x2cb913(0xfa),null,{'matchedUIs':_0x381f06,'annotationType':_0x923a13[_0x2cb913(0xfd)]});}}
23
+ const _0x521bfe=_0x407c;function _0x407c(_0x5a5586,_0x1628df){const _0x9fbe12=_0x9fbe();return _0x407c=function(_0x407cfb,_0x580581){_0x407cfb=_0x407cfb-0x105;let _0x1b4ef8=_0x9fbe12[_0x407cfb];return _0x1b4ef8;},_0x407c(_0x5a5586,_0x1628df);}(function(_0x4c87c3,_0x2bd92d){const _0x38122a=_0x407c,_0x58cfba=_0x4c87c3();while(!![]){try{const _0x1a283e=parseInt(_0x38122a(0x123))/0x1+parseInt(_0x38122a(0x114))/0x2+parseInt(_0x38122a(0x10c))/0x3*(parseInt(_0x38122a(0x129))/0x4)+parseInt(_0x38122a(0x113))/0x5+parseInt(_0x38122a(0x13f))/0x6*(-parseInt(_0x38122a(0x124))/0x7)+parseInt(_0x38122a(0x11b))/0x8+-parseInt(_0x38122a(0x127))/0x9*(parseInt(_0x38122a(0x126))/0xa);if(_0x1a283e===_0x2bd92d)break;else _0x58cfba['push'](_0x58cfba['shift']());}catch(_0xf4ab1e){_0x58cfba['push'](_0x58cfba['shift']());}}}(_0x9fbe,0xeb8e8));import{ContextPlugin as _0x5c935b}from'ckeditor5/src/core.js';import{CKEditorError as _0x73909e}from'ckeditor5/src/utils.js';import{AnnotationCollection as _0x1a6fa2,bindAnnotationCollections as _0x2da327}from'./annotationcollection.js';function _0x9fbe(){const _0x22f6bf=['function','annotationsuis-register-invalid-interface','_uis','deactivate','hasActive','requires','remove','has','isOfficialPlugin','6EjGMdQ','isPremiumPlugin','init','_activateAnnotation','plugins','length','stopListening','switchTo','refilterAnnotations','attach','delete','deactivateAll','pluginName','3381747fQliLd','uisData','_addActiveAnnotation','destroy','_deactivateAllAnnotations','activeAnnotations','annotationsuis-missing-ui','3630860pbMcrs','3498950wLNtna','filter','add','collection','get','_assertAnnotationDoesNotBelongToMultipleUIs','find','14650248XVhFxP','detach','AnnotationsUIs','defaultFilter','isActive','_visibleAnnotations','type','annotationsuis-annotation-mismatch','416252WuNpiL','12591019DfZJKf','from','40sSZUzn','6945462OPshrf','register','4XMUyFk','push','annotationsuis-register-already-registered','activate','_removeActiveAnnotation','listenTo','context','size','setActiveAnnotation','activeUIs','change:activeAnnotation','_setSelectedAnnotations','set'];_0x9fbe=function(){return _0x22f6bf;};return _0x9fbe();}import{Annotations as _0x193202}from'./annotations.js';export class AnnotationsUIs extends _0x5c935b{[_0x521bfe(0x132)];[_0x521bfe(0x10d)];[_0x521bfe(0x138)];static get[_0x521bfe(0x13b)](){return[_0x193202];}static get[_0x521bfe(0x10b)](){const _0x183157=_0x521bfe;return _0x183157(0x11d);}static get[_0x521bfe(0x13e)](){return!0x0;}static get[_0x521bfe(0x140)](){return!0x0;}constructor(_0x169a4f){const _0x37b137=_0x521bfe;super(_0x169a4f),this[_0x37b137(0x132)]=new Set(),this[_0x37b137(0x138)]=new Map(),this[_0x37b137(0x10d)]=new Map();}[_0x521bfe(0x141)](){const _0x191597=_0x521bfe,_0x32a10e=this[_0x191597(0x12f)][_0x191597(0x143)][_0x191597(0x118)](_0x193202);this[_0x191597(0x12e)](_0x32a10e,_0x191597(0x142),(_0x3be044,_0x5c944b)=>{const _0x14b3d=_0x191597;for(const _0x438cf6 of this[_0x14b3d(0x132)]){const _0x394ca9=this[_0x14b3d(0x138)][_0x14b3d(0x118)](_0x438cf6);(0x0,this[_0x14b3d(0x10d)][_0x14b3d(0x118)](_0x438cf6)[_0x14b3d(0x115)])(_0x5c944b)&&_0x394ca9[_0x14b3d(0x131)](_0x5c944b);}}),this[_0x191597(0x12e)](_0x32a10e,_0x191597(0x110),()=>{const _0x47b9a4=_0x191597;for(const _0xd3339c of this[_0x47b9a4(0x132)]){this[_0x47b9a4(0x138)][_0x47b9a4(0x118)](_0xd3339c)[_0x47b9a4(0x131)](null);}}),this[_0x191597(0x12e)](_0x32a10e[_0x191597(0x120)],_0x191597(0x116),(_0x9fb609,_0x277a89)=>{const _0x69b394=_0x191597;this[_0x69b394(0x119)](_0x277a89);});}[_0x521bfe(0x13a)](){const _0x4a6b67=_0x521bfe;return this[_0x4a6b67(0x132)][_0x4a6b67(0x130)]>0x0;}[_0x521bfe(0x11f)](_0x66552c){const _0x3e4256=_0x521bfe;return this[_0x3e4256(0x132)][_0x3e4256(0x13d)](_0x66552c);}[_0x521bfe(0x12c)](_0xfa1371,_0x366880=this[_0x521bfe(0x11e)]){const _0xc4b472=_0x521bfe,_0x1bfdf2=this[_0xc4b472(0x12f)][_0xc4b472(0x143)][_0xc4b472(0x118)](_0x193202);if(!this[_0xc4b472(0x138)][_0xc4b472(0x13d)](_0xfa1371))throw new _0x73909e(_0xc4b472(0x112),this,{'uiName':_0xfa1371});this[_0xc4b472(0x11f)](_0xfa1371)&&this[_0xc4b472(0x139)](_0xfa1371),this[_0xc4b472(0x132)][_0xc4b472(0x116)](_0xfa1371);const _0x49d519=new _0x1a6fa2(),_0x10e6e8=_0x1bfdf2[_0xc4b472(0x120)];_0x2da327({'source':_0x10e6e8,'target':_0x49d519,'filter':_0x366880}),this[_0xc4b472(0x10d)][_0xc4b472(0x135)](_0xfa1371,{'collection':_0x49d519,'filter':_0x366880});const _0x1dc342=this[_0xc4b472(0x138)][_0xc4b472(0x118)](_0xfa1371);_0x1dc342[_0xc4b472(0x108)](_0x49d519),this[_0xc4b472(0x12e)](_0x1dc342,_0xc4b472(0x133),(_0x12c4e5,_0x290fba,_0x10794c,_0x31d8aa)=>{const _0x446cb0=_0xc4b472;_0x31d8aa&&_0x1bfdf2[_0x446cb0(0x12d)](_0x31d8aa),_0x10794c&&_0x1bfdf2[_0x446cb0(0x10e)](_0x10794c);});}[_0x521bfe(0x139)](_0x46a4af){const _0x20d087=_0x521bfe;if(this[_0x20d087(0x132)][_0x20d087(0x109)](_0x46a4af),!this[_0x20d087(0x138)][_0x20d087(0x13d)](_0x46a4af))throw new _0x73909e(_0x20d087(0x112),this,{'uiName':_0x46a4af});const _0x470b49=this[_0x20d087(0x138)][_0x20d087(0x118)](_0x46a4af);_0x470b49[_0x20d087(0x11c)](),this[_0x20d087(0x105)](_0x470b49),this[_0x20d087(0x10d)][_0x20d087(0x118)](_0x46a4af)[_0x20d087(0x117)][_0x20d087(0x10f)](),this[_0x20d087(0x10d)][_0x20d087(0x109)](_0x46a4af);}[_0x521bfe(0x106)](_0x5d62ea){const _0x1c3cbb=_0x521bfe;if(!this[_0x1c3cbb(0x138)][_0x1c3cbb(0x13d)](_0x5d62ea))throw new _0x73909e(_0x1c3cbb(0x112),this,{'uiName':_0x5d62ea});const _0x29eaca=this[_0x1c3cbb(0x12f)][_0x1c3cbb(0x143)][_0x1c3cbb(0x118)](_0x193202),_0x4eb024=Array[_0x1c3cbb(0x125)](_0x29eaca[_0x1c3cbb(0x111)])[0x0]||null;this[_0x1c3cbb(0x10a)](),this[_0x1c3cbb(0x12c)](_0x5d62ea);const _0x148b2e=this[_0x1c3cbb(0x138)][_0x1c3cbb(0x118)](_0x5d62ea);_0x148b2e[_0x1c3cbb(0x131)](_0x4eb024),_0x148b2e[_0x1c3cbb(0x134)]&&_0x4eb024&&_0x148b2e[_0x1c3cbb(0x134)]([_0x4eb024]);}[_0x521bfe(0x10a)](){const _0x6b6a94=_0x521bfe;for(const _0x99b18e of this[_0x6b6a94(0x132)])this[_0x6b6a94(0x139)](_0x99b18e);}[_0x521bfe(0x128)](_0x58fe41,_0x4f65a4){const _0x22405a=_0x521bfe;if(this[_0x22405a(0x138)][_0x22405a(0x13d)](_0x58fe41))throw new _0x73909e(_0x22405a(0x12b));if(_0x22405a(0x136)!=typeof _0x4f65a4[_0x22405a(0x108)]||_0x22405a(0x136)!=typeof _0x4f65a4[_0x22405a(0x11c)]||_0x22405a(0x136)!=typeof _0x4f65a4[_0x22405a(0x131)])throw new _0x73909e(_0x22405a(0x137),null);this[_0x22405a(0x138)][_0x22405a(0x135)](_0x58fe41,_0x4f65a4);}[_0x521bfe(0x107)](){const _0xf59adf=_0x521bfe,_0x554cab=this[_0xf59adf(0x12f)][_0xf59adf(0x143)][_0xf59adf(0x118)](_0x193202)[_0xf59adf(0x117)],_0x564ee2=new Map(),_0x475441=Array[_0xf59adf(0x125)](this[_0xf59adf(0x132)]);for(const _0x15ab0f of this[_0xf59adf(0x132)]){const _0x5355b2=this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x15ab0f)[_0xf59adf(0x117)];for(const _0x5aab28 of _0x5355b2)_0x564ee2[_0xf59adf(0x135)](_0x5aab28,_0x15ab0f);}for(const _0x43dc45 of _0x554cab){const _0x5500fe=_0x564ee2[_0xf59adf(0x118)](_0x43dc45);this[_0xf59adf(0x119)](_0x43dc45);const _0x8e1214=_0x475441[_0xf59adf(0x11a)](_0x210dc5=>this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x210dc5)[_0xf59adf(0x115)](_0x43dc45));_0x5500fe!==_0x8e1214&&(_0x5500fe&&this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x5500fe)[_0xf59adf(0x117)][_0xf59adf(0x13c)](_0x43dc45),_0x8e1214&&this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x8e1214)[_0xf59adf(0x117)][_0xf59adf(0x116)](_0x43dc45));}}[_0x521bfe(0x10f)](){const _0x9f2364=_0x521bfe;this[_0x9f2364(0x10a)](),super[_0x9f2364(0x10f)]();}[_0x521bfe(0x11e)](){return!0x0;}[_0x521bfe(0x119)](_0xd0bd1){const _0x1e0a48=_0x521bfe,_0x25a504=[];for(const _0x3f8cf6 of this[_0x1e0a48(0x132)]){(0x0,this[_0x1e0a48(0x10d)][_0x1e0a48(0x118)](_0x3f8cf6)[_0x1e0a48(0x115)])(_0xd0bd1)&&_0x25a504[_0x1e0a48(0x12a)](_0x3f8cf6);}if(_0x25a504[_0x1e0a48(0x144)]>0x1)throw new _0x73909e(_0x1e0a48(0x122),null,{'matchedUIs':_0x25a504,'annotationType':_0xd0bd1[_0x1e0a48(0x121)]});}}
@@ -7,9 +7,9 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
- import Annotations from './annotations.js';
11
- import type Annotation from './annotation.js';
12
- import type AnnotationCollection from './annotationcollection.js';
10
+ import { Annotations } from './annotations.js';
11
+ import { type Annotation } from './annotation.js';
12
+ import { type AnnotationCollection } from './annotationcollection.js';
13
13
  /**
14
14
  * Integrates {@link module:comments/annotations/annotations~Annotations annotations} with the editor to provide proper behavior
15
15
  * for annotations created through the editor features.
@@ -23,7 +23,7 @@ import type AnnotationCollection from './annotationcollection.js';
23
23
  * {@link module:comments/annotations/editorannotations~EditorAnnotations#addSourceCollector register a callback}
24
24
  * in which it will check whether given annotation should be marked as selected.
25
25
  */
26
- export default class EditorAnnotations extends Plugin {
26
+ export declare class EditorAnnotations extends Plugin {
27
27
  /**
28
28
  * @inheritDoc
29
29
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e725a=_0xdfab;function _0x3a8e(){const _0x1f0a92=['listenTo','uiUpdate','isReadOnly','function','hasDomSelection','focusTracker','getRanges','fire','getOrderedSelectedAnnotations','11045304asDoBW','document','map','18TmxoJV','_editorAnnotations','set','requires','view','_editorAnnotationsData','editorannotations-invalid-source-callback','push','isPremiumPlugin','change:range','collection','addSourceCollector','editing','cancel','annotation','isOfficialPlugin','2866383mHQlBV','delete','directChange','update','init','blur','pluginName','has','sort','innerView','EditorAnnotations','20850860UBtxho','range','registerAnnotation','from','_dataCollectors','isEqual','element','refreshSelectedViews','remove','323734KOuCTJ','7pXBJRk','change:isFocused','plugins','selection','get','402364wZYorz','getByInnerView','containsRange','35WpTLLw','refresh','isCollapsed','model','8050098gMBxcr','editor','add','732581VUKozh'];_0x3a8e=function(){return _0x1f0a92;};return _0x3a8e();}(function(_0x18c54b,_0x32a55f){const _0x4e4a11=_0xdfab,_0x23a067=_0x18c54b();while(!![]){try{const _0x18f427=parseInt(_0x4e4a11(0x189))/0x1+-parseInt(_0x4e4a11(0x179))/0x2*(parseInt(_0x4e4a11(0x196))/0x3)+parseInt(_0x4e4a11(0x17f))/0x4*(parseInt(_0x4e4a11(0x182))/0x5)+parseInt(_0x4e4a11(0x186))/0x6+-parseInt(_0x4e4a11(0x17a))/0x7*(-parseInt(_0x4e4a11(0x193))/0x8)+-parseInt(_0x4e4a11(0x165))/0x9+-parseInt(_0x4e4a11(0x170))/0xa;if(_0x18f427===_0x32a55f)break;else _0x23a067['push'](_0x23a067['shift']());}catch(_0x4c1e1c){_0x23a067['push'](_0x23a067['shift']());}}}(_0x3a8e,0xbf7a1));import{Plugin as _0x26bf3c}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ebb36}from'ckeditor5/src/utils.js';import{debounce as _0x561020}from'es-toolkit/compat';function _0xdfab(_0x1feacd,_0x52c89f){const _0x3a8efa=_0x3a8e();return _0xdfab=function(_0xdfabe7,_0x4be64a){_0xdfabe7=_0xdfabe7-0x156;let _0x18c217=_0x3a8efa[_0xdfabe7];return _0x18c217;},_0xdfab(_0x1feacd,_0x52c89f);}import _0xfd22a4 from'./annotations.js';export default class P extends _0x26bf3c{[_0x2e725a(0x174)];[_0x2e725a(0x156)];static get[_0x2e725a(0x158)](){return[_0xfd22a4];}static get[_0x2e725a(0x16b)](){const _0x34a2da=_0x2e725a;return _0x34a2da(0x16f);}static get[_0x2e725a(0x164)](){return!0x0;}static get[_0x2e725a(0x15d)](){return!0x0;}constructor(_0x519467){const _0x710ba0=_0x2e725a;super(_0x519467),this[_0x710ba0(0x174)]=new Set(),this[_0x710ba0(0x156)]=new Set();}[_0x2e725a(0x169)](){const _0x4cf12f=_0x2e725a,_0x467290=this[_0x4cf12f(0x187)],_0x12efd0=_0x467290[_0x4cf12f(0x185)][_0x4cf12f(0x194)][_0x4cf12f(0x17d)],_0x1e96a0=_0x561020(()=>this[_0x4cf12f(0x177)](),0xa);_0x12efd0['on'](_0x4cf12f(0x15e),(_0x4b60aa,_0x22d459)=>{const _0xae371b=_0x4cf12f;_0x22d459[_0xae371b(0x167)]&&(_0x1e96a0[_0xae371b(0x162)](),this[_0xae371b(0x177)]());}),this[_0x4cf12f(0x18a)](_0x467290[_0x4cf12f(0x161)][_0x4cf12f(0x159)][_0x4cf12f(0x194)],_0x4cf12f(0x17b),(_0x15c624,_0x20e7aa,_0x272372)=>{_0x272372&&_0x1e96a0();}),this[_0x4cf12f(0x18a)](_0x467290['ui'][_0x4cf12f(0x18f)],_0x4cf12f(0x17b),(_0xe5d28d,_0x10d9d6,_0x2ce751)=>{const _0x37585e=_0x4cf12f;_0x2ce751||_0x467290[_0x37585e(0x18c)]||this[_0x37585e(0x191)](_0x37585e(0x16a),{'isAnnotationTracked':_0x10d978=>this[_0x37585e(0x15a)][_0x37585e(0x16c)](_0x10d978[_0x37585e(0x16e)])});}),this[_0x4cf12f(0x18a)](this[_0x4cf12f(0x187)]['ui'],_0x4cf12f(0x168),()=>this[_0x4cf12f(0x191)](_0x4cf12f(0x18b)));}[_0x2e725a(0x172)](_0x4ef3c2){const _0x1a14a4=_0x2e725a;if(this[_0x1a14a4(0x156)][_0x1a14a4(0x16c)](_0x4ef3c2[_0x1a14a4(0x159)]))return;this[_0x1a14a4(0x156)][_0x1a14a4(0x188)](_0x4ef3c2[_0x1a14a4(0x159)]),this[_0x1a14a4(0x187)]['ui'][_0x1a14a4(0x18f)][_0x1a14a4(0x188)](_0x4ef3c2[_0x1a14a4(0x159)][_0x1a14a4(0x176)]);const _0x3ac38c=this[_0x1a14a4(0x187)][_0x1a14a4(0x17c)][_0x1a14a4(0x17e)](_0xfd22a4);this[_0x1a14a4(0x18a)](_0x3ac38c[_0x1a14a4(0x15f)],_0x1a14a4(0x178),(_0x123e71,_0x53f130)=>{const _0x544b6c=_0x1a14a4;this[_0x544b6c(0x187)]['ui'][_0x544b6c(0x18f)][_0x544b6c(0x178)](_0x53f130[_0x544b6c(0x159)][_0x544b6c(0x176)]),this[_0x544b6c(0x156)][_0x544b6c(0x166)](_0x53f130[_0x544b6c(0x159)]);});}[_0x2e725a(0x18e)](){const _0x3cec4b=_0x2e725a;return this[_0x3cec4b(0x187)][_0x3cec4b(0x161)][_0x3cec4b(0x159)][_0x3cec4b(0x18e)];}[_0x2e725a(0x160)](_0x1da907){const _0x1bd2b4=_0x2e725a;if(_0x1bd2b4(0x18d)!=typeof _0x1da907)throw new _0x2ebb36(_0x1bd2b4(0x15b));this[_0x1bd2b4(0x174)][_0x1bd2b4(0x188)](_0x1da907);}[_0x2e725a(0x177)](){const _0x409fdb=_0x2e725a;this[_0x409fdb(0x191)](_0x409fdb(0x183));}[_0x2e725a(0x192)]({activeAnnotation:_0x215a28,annotations:_0x28ac7e}){const _0x52a3cf=_0x2e725a,_0x1dc2cf=[],_0xcfc1ea=this[_0x52a3cf(0x187)][_0x52a3cf(0x185)][_0x52a3cf(0x194)][_0x52a3cf(0x17d)],_0x5f1d8c=Array[_0x52a3cf(0x173)](_0xcfc1ea[_0x52a3cf(0x190)]());for(const [_0x3784b9,_0x17c123]of this[_0x52a3cf(0x15a)]){const _0x23196a=_0x411c1c(_0x17c123),_0x44efb4=_0x28ac7e[_0x52a3cf(0x180)](_0x3784b9);_0x23196a&&_0x44efb4&&_0x1dc2cf[_0x52a3cf(0x15c)]({'annotation':_0x44efb4,'range':_0x23196a});}function _0x411c1c(_0x495088){const _0x257504=_0x52a3cf;for(const _0x333b72 of _0x495088)for(const _0x1aa051 of _0x5f1d8c)if(_0x333b72[_0x257504(0x181)](_0x1aa051,!_0xcfc1ea[_0x257504(0x184)]))return _0x333b72;return null;}return _0x1dc2cf[_0x52a3cf(0x16d)]((_0x45372d,_0x47c5ae)=>{const _0x3dd925=_0x52a3cf,_0x5d0b52=_0x45372d[_0x3dd925(0x171)],_0x663383=_0x47c5ae[_0x3dd925(0x171)];if(!_0x5d0b52[_0x3dd925(0x175)](_0x663383)){if(_0x5d0b52[_0x3dd925(0x181)](_0x663383,!0x0))return 0x1;if(_0x663383[_0x3dd925(0x181)](_0x5d0b52,!0x0))return-0x1;}return _0x45372d[_0x3dd925(0x163)]==_0x215a28?-0x1:_0x47c5ae[_0x3dd925(0x163)]==_0x215a28?0x1:0x0;})[_0x52a3cf(0x195)](_0x2394f1=>_0x2394f1[_0x52a3cf(0x163)]);}get[_0x2e725a(0x15a)](){const _0x17851b=_0x2e725a,_0x188375=new Map();for(const _0x4b4b35 of Array[_0x17851b(0x173)](this[_0x17851b(0x174)]))for(const [_0x358c07,_0x3faf22]of _0x4b4b35())_0x188375[_0x17851b(0x157)](_0x358c07,_0x3faf22);return _0x188375;}}
23
+ const _0x2aedfd=_0x2645;function _0x2645(_0x5d8250,_0x36e1d9){const _0x5aa759=_0x5aa7();return _0x2645=function(_0x26459e,_0x2199eb){_0x26459e=_0x26459e-0x174;let _0x21ef35=_0x5aa759[_0x26459e];return _0x21ef35;},_0x2645(_0x5d8250,_0x36e1d9);}(function(_0x3e6a16,_0x49f447){const _0x885209=_0x2645,_0x541fda=_0x3e6a16();while(!![]){try{const _0x12fe4a=-parseInt(_0x885209(0x19b))/0x1*(parseInt(_0x885209(0x191))/0x2)+-parseInt(_0x885209(0x17d))/0x3+-parseInt(_0x885209(0x175))/0x4*(-parseInt(_0x885209(0x1ac))/0x5)+parseInt(_0x885209(0x1b5))/0x6*(-parseInt(_0x885209(0x19e))/0x7)+parseInt(_0x885209(0x197))/0x8+-parseInt(_0x885209(0x1aa))/0x9*(-parseInt(_0x885209(0x192))/0xa)+-parseInt(_0x885209(0x1ad))/0xb;if(_0x12fe4a===_0x49f447)break;else _0x541fda['push'](_0x541fda['shift']());}catch(_0x626c45){_0x541fda['push'](_0x541fda['shift']());}}}(_0x5aa7,0x9b9a5));import{Plugin as _0x32a302}from'ckeditor5/src/core.js';import{CKEditorError as _0x58eebc}from'ckeditor5/src/utils.js';import{debounce as _0x1b5eac}from'es-toolkit/compat';function _0x5aa7(){const _0x4f8f02=['15919574PVFVri','has','sort','getByInnerView','fire','add','addSourceCollector','isCollapsed','84ELYEzK','hasDomSelection','9452eWGbly','refresh','uiUpdate','document','EditorAnnotations','isReadOnly','annotation','from','632616yHHqhf','function','delete','push','editor','_editorAnnotations','registerAnnotation','change:range','remove','isOfficialPlugin','refreshSelectedViews','map','view','get','pluginName','_dataCollectors','editorannotations-invalid-source-callback','set','focusTracker','blur','125422JPxRNp','40fETMPf','innerView','containsRange','getOrderedSelectedAnnotations','listenTo','7162784xdbJKw','getRanges','collection','update','4Kuiiqs','requires','_editorAnnotationsData','106946DaNGtv','isEqual','editing','range','model','cancel','element','change:isFocused','init','plugins','selection','isPremiumPlugin','2319084xbpLaU','directChange','1765fXjdIz'];_0x5aa7=function(){return _0x4f8f02;};return _0x5aa7();}import{Annotations as _0x4f7491}from'./annotations.js';export class EditorAnnotations extends _0x32a302{[_0x2aedfd(0x18c)];[_0x2aedfd(0x182)];static get[_0x2aedfd(0x19c)](){return[_0x4f7491];}static get[_0x2aedfd(0x18b)](){const _0x22bbeb=_0x2aedfd;return _0x22bbeb(0x179);}static get[_0x2aedfd(0x186)](){return!0x0;}static get[_0x2aedfd(0x1a9)](){return!0x0;}constructor(_0x58b163){const _0x48a5ac=_0x2aedfd;super(_0x58b163),this[_0x48a5ac(0x18c)]=new Set(),this[_0x48a5ac(0x182)]=new Set();}[_0x2aedfd(0x1a6)](){const _0x471382=_0x2aedfd,_0x14f897=this[_0x471382(0x181)],_0x30da1c=_0x14f897[_0x471382(0x1a2)][_0x471382(0x178)][_0x471382(0x1a8)],_0x532a80=_0x1b5eac(()=>this[_0x471382(0x187)](),0xa);_0x30da1c['on'](_0x471382(0x184),(_0x8f2561,_0x224f68)=>{const _0x29cbce=_0x471382;_0x224f68[_0x29cbce(0x1ab)]&&(_0x532a80[_0x29cbce(0x1a3)](),this[_0x29cbce(0x187)]());}),this[_0x471382(0x196)](_0x14f897[_0x471382(0x1a0)][_0x471382(0x189)][_0x471382(0x178)],_0x471382(0x1a5),(_0x4a1de7,_0x2759f1,_0x1870e2)=>{_0x1870e2&&_0x532a80();}),this[_0x471382(0x196)](_0x14f897['ui'][_0x471382(0x18f)],_0x471382(0x1a5),(_0x4e9261,_0x54313c,_0x266052)=>{const _0x3a7b8c=_0x471382;_0x266052||_0x14f897[_0x3a7b8c(0x17a)]||this[_0x3a7b8c(0x1b1)](_0x3a7b8c(0x190),{'isAnnotationTracked':_0x5cf581=>this[_0x3a7b8c(0x19d)][_0x3a7b8c(0x1ae)](_0x5cf581[_0x3a7b8c(0x193)])});}),this[_0x471382(0x196)](this[_0x471382(0x181)]['ui'],_0x471382(0x19a),()=>this[_0x471382(0x1b1)](_0x471382(0x177)));}[_0x2aedfd(0x183)](_0x27e3fb){const _0x30d67e=_0x2aedfd;if(this[_0x30d67e(0x182)][_0x30d67e(0x1ae)](_0x27e3fb[_0x30d67e(0x189)]))return;this[_0x30d67e(0x182)][_0x30d67e(0x1b2)](_0x27e3fb[_0x30d67e(0x189)]),this[_0x30d67e(0x181)]['ui'][_0x30d67e(0x18f)][_0x30d67e(0x1b2)](_0x27e3fb[_0x30d67e(0x189)][_0x30d67e(0x1a4)]);const _0x3d8c7a=this[_0x30d67e(0x181)][_0x30d67e(0x1a7)][_0x30d67e(0x18a)](_0x4f7491);this[_0x30d67e(0x196)](_0x3d8c7a[_0x30d67e(0x199)],_0x30d67e(0x185),(_0x20864e,_0x356e73)=>{const _0x19f5e0=_0x30d67e;this[_0x19f5e0(0x181)]['ui'][_0x19f5e0(0x18f)][_0x19f5e0(0x185)](_0x356e73[_0x19f5e0(0x189)][_0x19f5e0(0x1a4)]),this[_0x19f5e0(0x182)][_0x19f5e0(0x17f)](_0x356e73[_0x19f5e0(0x189)]);});}[_0x2aedfd(0x174)](){const _0x16d92b=_0x2aedfd;return this[_0x16d92b(0x181)][_0x16d92b(0x1a0)][_0x16d92b(0x189)][_0x16d92b(0x174)];}[_0x2aedfd(0x1b3)](_0x5f0ad0){const _0x2cfa3e=_0x2aedfd;if(_0x2cfa3e(0x17e)!=typeof _0x5f0ad0)throw new _0x58eebc(_0x2cfa3e(0x18d));this[_0x2cfa3e(0x18c)][_0x2cfa3e(0x1b2)](_0x5f0ad0);}[_0x2aedfd(0x187)](){const _0x1a4f72=_0x2aedfd;this[_0x1a4f72(0x1b1)](_0x1a4f72(0x176));}[_0x2aedfd(0x195)]({activeAnnotation:_0x36cb01,annotations:_0xbb21bb}){const _0x828bb8=_0x2aedfd,_0x1a872e=[],_0x23236=this[_0x828bb8(0x181)][_0x828bb8(0x1a2)][_0x828bb8(0x178)][_0x828bb8(0x1a8)],_0xdf0912=Array[_0x828bb8(0x17c)](_0x23236[_0x828bb8(0x198)]());for(const [_0x6baff8,_0x5322db]of this[_0x828bb8(0x19d)]){const _0x206fdb=_0x2826ed(_0x5322db),_0x5f0b2e=_0xbb21bb[_0x828bb8(0x1b0)](_0x6baff8);_0x206fdb&&_0x5f0b2e&&_0x1a872e[_0x828bb8(0x180)]({'annotation':_0x5f0b2e,'range':_0x206fdb});}function _0x2826ed(_0x21823d){const _0x4cf1a5=_0x828bb8;for(const _0x36c151 of _0x21823d)for(const _0x43342a of _0xdf0912)if(_0x36c151[_0x4cf1a5(0x194)](_0x43342a,!_0x23236[_0x4cf1a5(0x1b4)]))return _0x36c151;return null;}return _0x1a872e[_0x828bb8(0x1af)]((_0x30f7ac,_0x4692c9)=>{const _0xca2277=_0x828bb8,_0x24681b=_0x30f7ac[_0xca2277(0x1a1)],_0x2706a3=_0x4692c9[_0xca2277(0x1a1)];if(!_0x24681b[_0xca2277(0x19f)](_0x2706a3)){if(_0x24681b[_0xca2277(0x194)](_0x2706a3,!0x0))return 0x1;if(_0x2706a3[_0xca2277(0x194)](_0x24681b,!0x0))return-0x1;}return _0x30f7ac[_0xca2277(0x17b)]==_0x36cb01?-0x1:_0x4692c9[_0xca2277(0x17b)]==_0x36cb01?0x1:0x0;})[_0x828bb8(0x188)](_0x1fa4ed=>_0x1fa4ed[_0x828bb8(0x17b)]);}get[_0x2aedfd(0x19d)](){const _0x2956ba=_0x2aedfd,_0x386871=new Map();for(const _0x1105c1 of Array[_0x2956ba(0x17c)](this[_0x2956ba(0x18c)]))for(const [_0x266f3a,_0x204173]of _0x1105c1())_0x386871[_0x2956ba(0x18e)](_0x266f3a,_0x204173);return _0x386871;}}
@@ -7,12 +7,12 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
- import AnnotationsUIs, { type AnnotationsUI } from './annotationsuis.js';
11
- import EditorAnnotations from './editorannotations.js';
10
+ import { AnnotationsUIs, type AnnotationsUI } from './annotationsuis.js';
11
+ import { EditorAnnotations } from './editorannotations.js';
12
12
  import { ContextualBalloon } from 'ckeditor5/src/ui.js';
13
13
  import './../../theme/annotation-inline.css';
14
- import type Annotation from './annotation.js';
15
- import type AnnotationCollection from './annotationcollection.js';
14
+ import { type Annotation } from './annotation.js';
15
+ import { type AnnotationCollection } from './annotationcollection.js';
16
16
  /**
17
17
  * The popup-style UI for displaying annotations next to editor target elements.
18
18
  *
@@ -34,7 +34,7 @@ import type AnnotationCollection from './annotationcollection.js';
34
34
  *
35
35
  * See {@link module:comments/annotations/annotationsuis~AnnotationsUIs}.
36
36
  */
37
- export default class InlineAnnotations extends Plugin implements AnnotationsUI<Plugin> {
37
+ export declare class InlineAnnotations extends Plugin implements AnnotationsUI<Plugin> {
38
38
  /**
39
39
  * An active annotation tracked by this UI.
40
40
  *