@ckeditor/ckeditor5-comments 42.0.2 → 43.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 (309) hide show
  1. package/CHANGELOG.md +1 -256
  2. package/build/comments.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/bs.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de-ch.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es-co.js +1 -1
  16. package/build/translations/es.js +1 -1
  17. package/build/translations/et.js +1 -1
  18. package/build/translations/fa.js +1 -1
  19. package/build/translations/fi.js +1 -1
  20. package/build/translations/fr.js +1 -1
  21. package/build/translations/gl.js +1 -1
  22. package/build/translations/he.js +1 -1
  23. package/build/translations/hi.js +1 -1
  24. package/build/translations/hr.js +1 -1
  25. package/build/translations/hu.js +1 -1
  26. package/build/translations/id.js +1 -1
  27. package/build/translations/it.js +1 -1
  28. package/build/translations/ja.js +1 -1
  29. package/build/translations/jv.js +1 -1
  30. package/build/translations/ko.js +1 -1
  31. package/build/translations/lt.js +1 -1
  32. package/build/translations/lv.js +1 -1
  33. package/build/translations/ms.js +1 -1
  34. package/build/translations/nl.js +1 -1
  35. package/build/translations/no.js +1 -1
  36. package/build/translations/pl.js +1 -1
  37. package/build/translations/pt-br.js +1 -1
  38. package/build/translations/pt.js +1 -1
  39. package/build/translations/ro.js +1 -1
  40. package/build/translations/ru.js +1 -1
  41. package/build/translations/sk.js +1 -1
  42. package/build/translations/sq.js +1 -1
  43. package/build/translations/sr-latn.js +1 -1
  44. package/build/translations/sr.js +1 -1
  45. package/build/translations/sv.js +1 -1
  46. package/build/translations/th.js +1 -1
  47. package/build/translations/ti.js +1 -1
  48. package/build/translations/tk.js +1 -1
  49. package/build/translations/tr.js +1 -1
  50. package/build/translations/tt.js +1 -1
  51. package/build/translations/ug.js +1 -1
  52. package/build/translations/uk.js +1 -1
  53. package/build/translations/ur.js +1 -1
  54. package/build/translations/vi.js +1 -1
  55. package/build/translations/zh-cn.js +1 -1
  56. package/build/translations/zh.js +1 -1
  57. package/dist/annotations/annotations.d.ts +1 -1
  58. package/dist/annotations/sidebar.d.ts +2 -2
  59. package/dist/annotations/view/annotationview.d.ts +4 -4
  60. package/dist/annotations/view/sidebaritemview.d.ts +7 -3
  61. package/dist/annotations/view/sidebarview.d.ts +25 -4
  62. package/dist/comments/commentsediting.d.ts +8 -0
  63. package/dist/comments/commentsrepository.d.ts +14 -2
  64. package/dist/comments/ui/view/basecommentthreadview.d.ts +32 -3
  65. package/dist/comments/ui/view/basecommentview.d.ts +41 -3
  66. package/dist/comments/ui/view/commentinputview.d.ts +17 -2
  67. package/dist/comments/ui/view/commentsarchiveview.d.ts +11 -3
  68. package/dist/comments/ui/view/commentslistview.d.ts +17 -5
  69. package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +25 -0
  70. package/dist/comments/ui/view/commentthreadheaderview.d.ts +29 -3
  71. package/dist/comments/ui/view/commentthreadinputview.d.ts +13 -2
  72. package/dist/comments/ui/view/commentthreadview.d.ts +11 -6
  73. package/dist/comments/ui/view/commentview.d.ts +9 -12
  74. package/dist/index-editor.css +33 -2
  75. package/dist/index.css +95 -2
  76. package/dist/index.d.ts +1 -0
  77. package/dist/index.js +9 -9
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/bg.js +1 -1
  83. package/dist/translations/bg.umd.js +1 -1
  84. package/dist/translations/bn.js +1 -1
  85. package/dist/translations/bn.umd.js +1 -1
  86. package/dist/translations/bs.js +1 -1
  87. package/dist/translations/bs.umd.js +1 -1
  88. package/dist/translations/ca.js +1 -1
  89. package/dist/translations/ca.umd.js +1 -1
  90. package/dist/translations/cs.js +1 -1
  91. package/dist/translations/cs.umd.js +1 -1
  92. package/dist/translations/da.js +1 -1
  93. package/dist/translations/da.umd.js +1 -1
  94. package/dist/translations/de-ch.js +1 -1
  95. package/dist/translations/de-ch.umd.js +1 -1
  96. package/dist/translations/de.js +1 -1
  97. package/dist/translations/de.umd.js +1 -1
  98. package/dist/translations/el.js +1 -1
  99. package/dist/translations/el.umd.js +1 -1
  100. package/dist/translations/en-au.js +1 -1
  101. package/dist/translations/en-au.umd.js +1 -1
  102. package/dist/translations/en.js +1 -1
  103. package/dist/translations/en.umd.js +1 -1
  104. package/dist/translations/es-co.js +1 -1
  105. package/dist/translations/es-co.umd.js +1 -1
  106. package/dist/translations/es.js +1 -1
  107. package/dist/translations/es.umd.js +1 -1
  108. package/dist/translations/et.js +1 -1
  109. package/dist/translations/et.umd.js +1 -1
  110. package/dist/translations/fa.js +1 -1
  111. package/dist/translations/fa.umd.js +1 -1
  112. package/dist/translations/fi.js +1 -1
  113. package/dist/translations/fi.umd.js +1 -1
  114. package/dist/translations/fr.js +1 -1
  115. package/dist/translations/fr.umd.js +1 -1
  116. package/dist/translations/gl.js +1 -1
  117. package/dist/translations/gl.umd.js +1 -1
  118. package/dist/translations/he.js +1 -1
  119. package/dist/translations/he.umd.js +1 -1
  120. package/dist/translations/hi.js +1 -1
  121. package/dist/translations/hi.umd.js +1 -1
  122. package/dist/translations/hr.js +1 -1
  123. package/dist/translations/hr.umd.js +1 -1
  124. package/dist/translations/hu.js +1 -1
  125. package/dist/translations/hu.umd.js +1 -1
  126. package/dist/translations/id.js +1 -1
  127. package/dist/translations/id.umd.js +1 -1
  128. package/dist/translations/it.js +1 -1
  129. package/dist/translations/it.umd.js +1 -1
  130. package/dist/translations/ja.js +1 -1
  131. package/dist/translations/ja.umd.js +1 -1
  132. package/dist/translations/jv.js +1 -1
  133. package/dist/translations/jv.umd.js +1 -1
  134. package/dist/translations/ko.js +1 -1
  135. package/dist/translations/ko.umd.js +1 -1
  136. package/dist/translations/lt.js +1 -1
  137. package/dist/translations/lt.umd.js +1 -1
  138. package/dist/translations/lv.js +1 -1
  139. package/dist/translations/lv.umd.js +1 -1
  140. package/dist/translations/ms.js +1 -1
  141. package/dist/translations/ms.umd.js +1 -1
  142. package/dist/translations/nl.js +1 -1
  143. package/dist/translations/nl.umd.js +1 -1
  144. package/dist/translations/no.js +1 -1
  145. package/dist/translations/no.umd.js +1 -1
  146. package/dist/translations/pl.js +1 -1
  147. package/dist/translations/pl.umd.js +1 -1
  148. package/dist/translations/pt-br.js +1 -1
  149. package/dist/translations/pt-br.umd.js +1 -1
  150. package/dist/translations/pt.js +1 -1
  151. package/dist/translations/pt.umd.js +1 -1
  152. package/dist/translations/ro.js +1 -1
  153. package/dist/translations/ro.umd.js +1 -1
  154. package/dist/translations/ru.js +1 -1
  155. package/dist/translations/ru.umd.js +1 -1
  156. package/dist/translations/sk.js +1 -1
  157. package/dist/translations/sk.umd.js +1 -1
  158. package/dist/translations/sq.js +1 -1
  159. package/dist/translations/sq.umd.js +1 -1
  160. package/dist/translations/sr-latn.js +1 -1
  161. package/dist/translations/sr-latn.umd.js +1 -1
  162. package/dist/translations/sr.js +1 -1
  163. package/dist/translations/sr.umd.js +1 -1
  164. package/dist/translations/sv.js +1 -1
  165. package/dist/translations/sv.umd.js +1 -1
  166. package/dist/translations/th.js +1 -1
  167. package/dist/translations/th.umd.js +1 -1
  168. package/dist/translations/ti.js +1 -1
  169. package/dist/translations/ti.umd.js +1 -1
  170. package/dist/translations/tk.js +1 -1
  171. package/dist/translations/tk.umd.js +1 -1
  172. package/dist/translations/tr.js +1 -1
  173. package/dist/translations/tr.umd.js +1 -1
  174. package/dist/translations/tt.js +1 -1
  175. package/dist/translations/tt.umd.js +1 -1
  176. package/dist/translations/ug.js +1 -1
  177. package/dist/translations/ug.umd.js +1 -1
  178. package/dist/translations/uk.js +1 -1
  179. package/dist/translations/uk.umd.js +1 -1
  180. package/dist/translations/ur.js +1 -1
  181. package/dist/translations/ur.umd.js +1 -1
  182. package/dist/translations/vi.js +1 -1
  183. package/dist/translations/vi.umd.js +1 -1
  184. package/dist/translations/zh-cn.js +1 -1
  185. package/dist/translations/zh-cn.umd.js +1 -1
  186. package/dist/translations/zh.js +1 -1
  187. package/dist/translations/zh.umd.js +1 -1
  188. package/dist/utils/common-translations.d.ts +1 -1
  189. package/lang/contexts.json +15 -0
  190. package/lang/translations/af.po +62 -0
  191. package/lang/translations/ar.po +68 -2
  192. package/lang/translations/bg.po +64 -2
  193. package/lang/translations/bn.po +64 -2
  194. package/lang/translations/bs.po +63 -0
  195. package/lang/translations/ca.po +64 -2
  196. package/lang/translations/cs.po +66 -2
  197. package/lang/translations/da.po +64 -2
  198. package/lang/translations/de-ch.po +62 -0
  199. package/lang/translations/de.po +64 -2
  200. package/lang/translations/el.po +64 -2
  201. package/lang/translations/en-au.po +62 -0
  202. package/lang/translations/en.po +64 -2
  203. package/lang/translations/es-co.po +63 -0
  204. package/lang/translations/es.po +65 -2
  205. package/lang/translations/et.po +64 -2
  206. package/lang/translations/fa.po +62 -0
  207. package/lang/translations/fi.po +64 -2
  208. package/lang/translations/fr.po +65 -2
  209. package/lang/translations/gl.po +64 -2
  210. package/lang/translations/he.po +65 -2
  211. package/lang/translations/hi.po +64 -2
  212. package/lang/translations/hr.po +63 -0
  213. package/lang/translations/hu.po +64 -2
  214. package/lang/translations/id.po +63 -2
  215. package/lang/translations/it.po +65 -2
  216. package/lang/translations/ja.po +63 -2
  217. package/lang/translations/jv.po +61 -0
  218. package/lang/translations/ko.po +63 -2
  219. package/lang/translations/lt.po +66 -2
  220. package/lang/translations/lv.po +65 -2
  221. package/lang/translations/ms.po +63 -2
  222. package/lang/translations/nl.po +64 -2
  223. package/lang/translations/no.po +64 -2
  224. package/lang/translations/pl.po +66 -2
  225. package/lang/translations/pt-br.po +65 -2
  226. package/lang/translations/pt.po +65 -2
  227. package/lang/translations/ro.po +65 -2
  228. package/lang/translations/ru.po +66 -2
  229. package/lang/translations/sk.po +66 -2
  230. package/lang/translations/sq.po +62 -0
  231. package/lang/translations/sr-latn.po +65 -2
  232. package/lang/translations/sr.po +65 -2
  233. package/lang/translations/sv.po +64 -2
  234. package/lang/translations/th.po +63 -2
  235. package/lang/translations/ti.po +62 -0
  236. package/lang/translations/tk.po +62 -0
  237. package/lang/translations/tr.po +64 -2
  238. package/lang/translations/tt.po +61 -0
  239. package/lang/translations/ug.po +64 -2
  240. package/lang/translations/uk.po +66 -2
  241. package/lang/translations/ur.po +62 -0
  242. package/lang/translations/vi.po +63 -2
  243. package/lang/translations/zh-cn.po +63 -2
  244. package/lang/translations/zh.po +63 -2
  245. package/package.json +14 -13
  246. package/src/annotations/annotation.js +2 -2
  247. package/src/annotations/annotationcollection.js +1 -1
  248. package/src/annotations/annotations.d.ts +1 -1
  249. package/src/annotations/annotations.js +1 -1
  250. package/src/annotations/annotationsuis.js +1 -1
  251. package/src/annotations/editorannotations.js +1 -1
  252. package/src/annotations/inlineannotations.js +1 -1
  253. package/src/annotations/narrowsidebar.js +1 -1
  254. package/src/annotations/sidebar.d.ts +2 -2
  255. package/src/annotations/sidebar.js +1 -1
  256. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  257. package/src/annotations/view/annotationview.d.ts +4 -4
  258. package/src/annotations/view/annotationview.js +1 -1
  259. package/src/annotations/view/sidebaritemview.d.ts +7 -3
  260. package/src/annotations/view/sidebaritemview.js +1 -1
  261. package/src/annotations/view/sidebarview.d.ts +25 -4
  262. package/src/annotations/view/sidebarview.js +1 -1
  263. package/src/annotations/widesidebar.js +1 -1
  264. package/src/comments/addcommentthreadcommand.js +1 -1
  265. package/src/comments/commentsarchive.js +1 -1
  266. package/src/comments/commentsarchiveui.js +1 -1
  267. package/src/comments/commentsediting.d.ts +8 -0
  268. package/src/comments/commentsediting.js +1 -1
  269. package/src/comments/commentsrepository.d.ts +14 -2
  270. package/src/comments/commentsrepository.js +3 -3
  271. package/src/comments/commentsui.js +1 -1
  272. package/src/comments/integrations/clipboard.js +1 -1
  273. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  274. package/src/comments/integrations/importword.js +1 -1
  275. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  276. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  277. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  278. package/src/comments/ui/commentthreadcontroller.js +2 -2
  279. package/src/comments/ui/view/basecommentthreadview.d.ts +32 -3
  280. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  281. package/src/comments/ui/view/basecommentview.d.ts +41 -3
  282. package/src/comments/ui/view/basecommentview.js +1 -1
  283. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  284. package/src/comments/ui/view/commentcontentview.js +1 -1
  285. package/src/comments/ui/view/commentinputview.d.ts +17 -2
  286. package/src/comments/ui/view/commentinputview.js +1 -1
  287. package/src/comments/ui/view/commentsarchiveview.d.ts +11 -3
  288. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  289. package/src/comments/ui/view/commentslistview.d.ts +17 -5
  290. package/src/comments/ui/view/commentslistview.js +1 -1
  291. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +21 -0
  292. package/src/comments/ui/view/commentthreadheadercontextview.js +23 -0
  293. package/src/comments/ui/view/commentthreadheaderview.d.ts +29 -3
  294. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  295. package/src/comments/ui/view/commentthreadinputview.d.ts +13 -2
  296. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  297. package/src/comments/ui/view/commentthreadview.d.ts +11 -6
  298. package/src/comments/ui/view/commentthreadview.js +2 -2
  299. package/src/comments/ui/view/commentview.d.ts +9 -12
  300. package/src/comments/ui/view/commentview.js +2 -2
  301. package/src/comments.js +1 -1
  302. package/src/commentsonly.js +1 -1
  303. package/src/index.d.ts +1 -0
  304. package/src/index.js +1 -1
  305. package/src/utils/common-translations.d.ts +1 -1
  306. package/src/utils/common-translations.js +1 -1
  307. package/src/utils/createmutationobserver.js +1 -1
  308. package/theme/comment.css +6 -0
  309. package/theme/commentthread.css +43 -2
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44f5(_0x696af5,_0x52d7df){const _0xfb60f1=_0xfb60();return _0x44f5=function(_0x44f517,_0x5c9603){_0x44f517=_0x44f517-0x1a9;let _0x9d0dc4=_0xfb60f1[_0x44f517];return _0x9d0dc4;},_0x44f5(_0x696af5,_0x52d7df);}const _0x495fa3=_0x44f5;(function(_0x1f3700,_0x2a150f){const _0x29e9b8=_0x44f5,_0x531838=_0x1f3700();while(!![]){try{const _0x103037=parseInt(_0x29e9b8(0x1be))/0x1+parseInt(_0x29e9b8(0x1b4))/0x2+parseInt(_0x29e9b8(0x1df))/0x3*(-parseInt(_0x29e9b8(0x1d3))/0x4)+parseInt(_0x29e9b8(0x1d0))/0x5+-parseInt(_0x29e9b8(0x1b9))/0x6*(-parseInt(_0x29e9b8(0x1ac))/0x7)+-parseInt(_0x29e9b8(0x1ba))/0x8+-parseInt(_0x29e9b8(0x1c8))/0x9;if(_0x103037===_0x2a150f)break;else _0x531838['push'](_0x531838['shift']());}catch(_0x3734b5){_0x531838['push'](_0x531838['shift']());}}}(_0xfb60,0x74829));import{Plugin as _0x1ef6e8}from'ckeditor5/src/core.js';import{CKEditorError as _0x3cb459}from'ckeditor5/src/utils.js';import{debounce as _0x5d90f6}from'lodash-es';import _0x121467 from'./annotations.js';export default class k extends _0x1ef6e8{static get[_0x495fa3(0x1c9)](){return[_0x121467];}static get[_0x495fa3(0x1de)](){const _0x520da1=_0x495fa3;return _0x520da1(0x1c7);}constructor(_0x2c093d){const _0x1944f5=_0x495fa3;super(_0x2c093d),this[_0x1944f5(0x1b7)]=new Set(),this[_0x1944f5(0x1cb)]=new Set();}[_0x495fa3(0x1b8)](){const _0x65e5d0=_0x495fa3,_0x3a6f7c=this[_0x65e5d0(0x1e4)],_0x5944e8=_0x3a6f7c[_0x65e5d0(0x1cd)][_0x65e5d0(0x1cc)][_0x65e5d0(0x1d8)],_0xfe4721=_0x5d90f6(()=>this[_0x65e5d0(0x1c2)](),0xa);_0x5944e8['on'](_0x65e5d0(0x1e1),(_0x1750f2,_0x460b84)=>{const _0x529299=_0x65e5d0;_0x460b84[_0x529299(0x1bb)]&&(_0xfe4721[_0x529299(0x1ca)](),this[_0x529299(0x1c2)]());}),this[_0x65e5d0(0x1c6)](_0x3a6f7c[_0x65e5d0(0x1b0)][_0x65e5d0(0x1aa)][_0x65e5d0(0x1cc)],_0x65e5d0(0x1e6),(_0x23f9c8,_0x2b1c20,_0x53f4c6)=>{_0x53f4c6&&_0xfe4721();}),this[_0x65e5d0(0x1c6)](_0x3a6f7c['ui'][_0x65e5d0(0x1cf)],_0x65e5d0(0x1e6),(_0x34bbf3,_0x3f44ae,_0x2fbcf0)=>{const _0x28f5ed=_0x65e5d0;_0x2fbcf0||_0x3a6f7c[_0x28f5ed(0x1b3)]||this[_0x28f5ed(0x1c1)](_0x28f5ed(0x1af),{'isAnnotationTracked':_0x677abc=>this[_0x28f5ed(0x1b2)][_0x28f5ed(0x1c0)](_0x677abc[_0x28f5ed(0x1e5)])});}),this[_0x65e5d0(0x1c6)](this[_0x65e5d0(0x1e4)]['ui'],_0x65e5d0(0x1a9),()=>this[_0x65e5d0(0x1c1)](_0x65e5d0(0x1d1)));}[_0x495fa3(0x1bc)](_0x36959b){const _0x4f265d=_0x495fa3;if(this[_0x4f265d(0x1cb)][_0x4f265d(0x1c0)](_0x36959b[_0x4f265d(0x1aa)]))return;this[_0x4f265d(0x1cb)][_0x4f265d(0x1dd)](_0x36959b[_0x4f265d(0x1aa)]),this[_0x4f265d(0x1e4)]['ui'][_0x4f265d(0x1cf)][_0x4f265d(0x1dd)](_0x36959b[_0x4f265d(0x1aa)][_0x4f265d(0x1bf)]);const _0x15b267=this[_0x4f265d(0x1e4)][_0x4f265d(0x1c4)][_0x4f265d(0x1b6)](_0x121467);this[_0x4f265d(0x1c6)](_0x15b267[_0x4f265d(0x1bd)],_0x4f265d(0x1c3),(_0x579b08,_0x21f19e)=>{const _0x179fef=_0x4f265d;this[_0x179fef(0x1e4)]['ui'][_0x179fef(0x1cf)][_0x179fef(0x1c3)](_0x21f19e[_0x179fef(0x1aa)][_0x179fef(0x1bf)]),this[_0x179fef(0x1cb)][_0x179fef(0x1e0)](_0x21f19e[_0x179fef(0x1aa)]);});}[_0x495fa3(0x1ae)](){const _0x2306af=_0x495fa3;return this[_0x2306af(0x1e4)][_0x2306af(0x1b0)][_0x2306af(0x1aa)][_0x2306af(0x1ae)];}[_0x495fa3(0x1d9)](_0x2f343f){const _0x194270=_0x495fa3;if(_0x194270(0x1b1)!=typeof _0x2f343f)throw new _0x3cb459(_0x194270(0x1c5));this[_0x194270(0x1b7)][_0x194270(0x1dd)](_0x2f343f);}[_0x495fa3(0x1c2)](){const _0x422d33=_0x495fa3;this[_0x422d33(0x1c1)](_0x422d33(0x1d6));}[_0x495fa3(0x1d2)]({activeAnnotation:_0x1ef4dd,annotations:_0x52b7d6}){const _0xcd159a=_0x495fa3,_0x282e12=[],_0x298305=this[_0xcd159a(0x1e4)][_0xcd159a(0x1cd)][_0xcd159a(0x1cc)][_0xcd159a(0x1d8)],_0x25dd86=Array[_0xcd159a(0x1e3)](_0x298305[_0xcd159a(0x1db)]());for(const [_0xcdcf11,_0x228e6e]of this[_0xcd159a(0x1b2)]){const _0x14000b=_0xc538f9(_0x228e6e),_0x1972fe=_0x52b7d6[_0xcd159a(0x1b5)](_0xcdcf11);_0x14000b&&_0x1972fe&&_0x282e12[_0xcd159a(0x1d4)]({'annotation':_0x1972fe,'range':_0x14000b});}function _0xc538f9(_0x272aec){const _0x4f4117=_0xcd159a;for(const _0x4dce44 of _0x272aec)for(const _0x1c89ca of _0x25dd86)if(_0x4dce44[_0x4f4117(0x1d7)](_0x1c89ca,!_0x298305[_0x4f4117(0x1ab)]))return _0x4dce44;return null;}return _0x282e12[_0xcd159a(0x1dc)]((_0x2687c0,_0x226367)=>{const _0x564bd7=_0xcd159a,_0x1c8298=_0x2687c0[_0x564bd7(0x1da)],_0x538a8f=_0x226367[_0x564bd7(0x1da)];if(!_0x1c8298[_0x564bd7(0x1e2)](_0x538a8f)){if(_0x1c8298[_0x564bd7(0x1d7)](_0x538a8f,!0x0))return 0x1;if(_0x538a8f[_0x564bd7(0x1d7)](_0x1c8298,!0x0))return-0x1;}return _0x2687c0[_0x564bd7(0x1d5)]==_0x1ef4dd?-0x1:_0x226367[_0x564bd7(0x1d5)]==_0x1ef4dd?0x1:0x0;})[_0xcd159a(0x1ad)](_0x101453=>_0x101453[_0xcd159a(0x1d5)]);}get[_0x495fa3(0x1b2)](){const _0x298dc6=_0x495fa3,_0x24a07d=new Map();for(const _0xe0b789 of Array[_0x298dc6(0x1e3)](this[_0x298dc6(0x1b7)]))for(const [_0x55e560,_0x350f0f]of _0xe0b789())_0x24a07d[_0x298dc6(0x1ce)](_0x55e560,_0x350f0f);return _0x24a07d;}}function _0xfb60(){const _0x391e46=['function','_editorAnnotationsData','isReadOnly','367214dbujTv','getByInnerView','get','_dataCollectors','init','68190HFruBZ','7468360ymvROD','directChange','registerAnnotation','collection','382102sQbRGh','element','has','fire','refreshSelectedViews','remove','plugins','editorannotations-invalid-source-callback','listenTo','EditorAnnotations','1664253YkxWCP','requires','cancel','_editorAnnotations','document','model','set','focusTracker','2458670ugKQqK','uiUpdate','getOrderedSelectedAnnotations','74564dJTpYQ','push','annotation','refresh','containsRange','selection','addSourceCollector','range','getRanges','sort','add','pluginName','3OQwCIR','delete','change:range','isEqual','from','editor','innerView','change:isFocused','update','view','isCollapsed','343DIoRmK','map','hasDomSelection','blur','editing'];_0xfb60=function(){return _0x391e46;};return _0xfb60();}
23
+ const _0x2cc0a1=_0x3e7c;(function(_0x2234f5,_0x3809ed){const _0x1d9ab3=_0x3e7c,_0x10ebef=_0x2234f5();while(!![]){try{const _0x4e5b06=-parseInt(_0x1d9ab3(0x1df))/0x1*(parseInt(_0x1d9ab3(0x1da))/0x2)+-parseInt(_0x1d9ab3(0x1d2))/0x3*(-parseInt(_0x1d9ab3(0x208))/0x4)+parseInt(_0x1d9ab3(0x1eb))/0x5+-parseInt(_0x1d9ab3(0x20a))/0x6+-parseInt(_0x1d9ab3(0x1ff))/0x7*(parseInt(_0x1d9ab3(0x1e6))/0x8)+parseInt(_0x1d9ab3(0x20c))/0x9*(parseInt(_0x1d9ab3(0x1f0))/0xa)+-parseInt(_0x1d9ab3(0x1e7))/0xb*(-parseInt(_0x1d9ab3(0x203))/0xc);if(_0x4e5b06===_0x3809ed)break;else _0x10ebef['push'](_0x10ebef['shift']());}catch(_0x3d99f8){_0x10ebef['push'](_0x10ebef['shift']());}}}(_0x352a,0xa87a9));import{Plugin as _0x2247b4}from'ckeditor5/src/core.js';import{CKEditorError as _0x3c9db4}from'ckeditor5/src/utils.js';function _0x352a(){const _0x28f394=['focusTracker','document','change:range','isReadOnly','uiUpdate','map','622AxxGPP','fire','collection','plugins','view','1897BuHlMx','get','element','directChange','registerAnnotation','isCollapsed','_editorAnnotations','2152528zjRMrJ','1059762AHddxM','isEqual','EditorAnnotations','hasDomSelection','5747915NSbZyl','containsRange','change:isFocused','remove','set','555430LGPNIG','cancel','sort','range','innerView','getRanges','selection','delete','getOrderedSelectedAnnotations','init','requires','listenTo','_dataCollectors','blur','addSourceCollector','28iQLBpk','has','model','from','204elWpLL','push','getByInnerView','editing','update','4ZGuHOe','function','4256442SlAGFG','annotation','9PyUBip','pluginName','add','editor','_editorAnnotationsData','refresh','refreshSelectedViews','668361xyThdz','editorannotations-invalid-source-callback'];_0x352a=function(){return _0x28f394;};return _0x352a();}import{debounce as _0x17a79}from'lodash-es';import _0x1195a3 from'./annotations.js';function _0x3e7c(_0x5aa642,_0x560310){const _0x352a06=_0x352a();return _0x3e7c=function(_0x3e7c82,_0x1c461f){_0x3e7c82=_0x3e7c82-0x1d2;let _0x3ec6d0=_0x352a06[_0x3e7c82];return _0x3ec6d0;},_0x3e7c(_0x5aa642,_0x560310);}export default class b extends _0x2247b4{static get[_0x2cc0a1(0x1fa)](){return[_0x1195a3];}static get[_0x2cc0a1(0x20d)](){const _0x5f2161=_0x2cc0a1;return _0x5f2161(0x1e9);}constructor(_0x12756f){const _0x9db75d=_0x2cc0a1;super(_0x12756f),this[_0x9db75d(0x1fc)]=new Set(),this[_0x9db75d(0x1e5)]=new Set();}[_0x2cc0a1(0x1f9)](){const _0x55a6b5=_0x2cc0a1,_0x20fe01=this[_0x55a6b5(0x20f)],_0xd6b10d=_0x20fe01[_0x55a6b5(0x201)][_0x55a6b5(0x1d5)][_0x55a6b5(0x1f6)],_0x200e15=_0x17a79(()=>this[_0x55a6b5(0x212)](),0xa);_0xd6b10d['on'](_0x55a6b5(0x1d6),(_0x157445,_0x320662)=>{const _0x229e55=_0x55a6b5;_0x320662[_0x229e55(0x1e2)]&&(_0x200e15[_0x229e55(0x1f1)](),this[_0x229e55(0x212)]());}),this[_0x55a6b5(0x1fb)](_0x20fe01[_0x55a6b5(0x206)][_0x55a6b5(0x1de)][_0x55a6b5(0x1d5)],_0x55a6b5(0x1ed),(_0x4a4631,_0x51a286,_0x419567)=>{_0x419567&&_0x200e15();}),this[_0x55a6b5(0x1fb)](_0x20fe01['ui'][_0x55a6b5(0x1d4)],_0x55a6b5(0x1ed),(_0x273c1c,_0x319ebf,_0x277411)=>{const _0xa826ec=_0x55a6b5;_0x277411||_0x20fe01[_0xa826ec(0x1d7)]||this[_0xa826ec(0x1db)](_0xa826ec(0x1fd),{'isAnnotationTracked':_0x5c637e=>this[_0xa826ec(0x210)][_0xa826ec(0x200)](_0x5c637e[_0xa826ec(0x1f4)])});}),this[_0x55a6b5(0x1fb)](this[_0x55a6b5(0x20f)]['ui'],_0x55a6b5(0x207),()=>this[_0x55a6b5(0x1db)](_0x55a6b5(0x1d8)));}[_0x2cc0a1(0x1e3)](_0x212d3e){const _0x163e18=_0x2cc0a1;if(this[_0x163e18(0x1e5)][_0x163e18(0x200)](_0x212d3e[_0x163e18(0x1de)]))return;this[_0x163e18(0x1e5)][_0x163e18(0x20e)](_0x212d3e[_0x163e18(0x1de)]),this[_0x163e18(0x20f)]['ui'][_0x163e18(0x1d4)][_0x163e18(0x20e)](_0x212d3e[_0x163e18(0x1de)][_0x163e18(0x1e1)]);const _0xaade3d=this[_0x163e18(0x20f)][_0x163e18(0x1dd)][_0x163e18(0x1e0)](_0x1195a3);this[_0x163e18(0x1fb)](_0xaade3d[_0x163e18(0x1dc)],_0x163e18(0x1ee),(_0x18a833,_0x4aab26)=>{const _0x5681b7=_0x163e18;this[_0x5681b7(0x20f)]['ui'][_0x5681b7(0x1d4)][_0x5681b7(0x1ee)](_0x4aab26[_0x5681b7(0x1de)][_0x5681b7(0x1e1)]),this[_0x5681b7(0x1e5)][_0x5681b7(0x1f7)](_0x4aab26[_0x5681b7(0x1de)]);});}[_0x2cc0a1(0x1ea)](){const _0x5d8957=_0x2cc0a1;return this[_0x5d8957(0x20f)][_0x5d8957(0x206)][_0x5d8957(0x1de)][_0x5d8957(0x1ea)];}[_0x2cc0a1(0x1fe)](_0x5e12cd){const _0x58db0c=_0x2cc0a1;if(_0x58db0c(0x209)!=typeof _0x5e12cd)throw new _0x3c9db4(_0x58db0c(0x1d3));this[_0x58db0c(0x1fc)][_0x58db0c(0x20e)](_0x5e12cd);}[_0x2cc0a1(0x212)](){const _0x1ecbc9=_0x2cc0a1;this[_0x1ecbc9(0x1db)](_0x1ecbc9(0x211));}[_0x2cc0a1(0x1f8)]({activeAnnotation:_0x5dfc07,annotations:_0x12ceb9}){const _0x17f1f8=_0x2cc0a1,_0x4cea3c=[],_0x3a69fb=this[_0x17f1f8(0x20f)][_0x17f1f8(0x201)][_0x17f1f8(0x1d5)][_0x17f1f8(0x1f6)],_0x430c89=Array[_0x17f1f8(0x202)](_0x3a69fb[_0x17f1f8(0x1f5)]());for(const [_0x402a00,_0x2bfb10]of this[_0x17f1f8(0x210)]){const _0x33c620=_0x2c2a0f(_0x2bfb10),_0x8253aa=_0x12ceb9[_0x17f1f8(0x205)](_0x402a00);_0x33c620&&_0x8253aa&&_0x4cea3c[_0x17f1f8(0x204)]({'annotation':_0x8253aa,'range':_0x33c620});}function _0x2c2a0f(_0x29449a){const _0x1009a4=_0x17f1f8;for(const _0x525cb4 of _0x29449a)for(const _0x341241 of _0x430c89)if(_0x525cb4[_0x1009a4(0x1ec)](_0x341241,!_0x3a69fb[_0x1009a4(0x1e4)]))return _0x525cb4;return null;}return _0x4cea3c[_0x17f1f8(0x1f2)]((_0x307fc7,_0x1fa12f)=>{const _0x17c2ed=_0x17f1f8,_0x47bdaf=_0x307fc7[_0x17c2ed(0x1f3)],_0x5d5f84=_0x1fa12f[_0x17c2ed(0x1f3)];if(!_0x47bdaf[_0x17c2ed(0x1e8)](_0x5d5f84)){if(_0x47bdaf[_0x17c2ed(0x1ec)](_0x5d5f84,!0x0))return 0x1;if(_0x5d5f84[_0x17c2ed(0x1ec)](_0x47bdaf,!0x0))return-0x1;}return _0x307fc7[_0x17c2ed(0x20b)]==_0x5dfc07?-0x1:_0x1fa12f[_0x17c2ed(0x20b)]==_0x5dfc07?0x1:0x0;})[_0x17f1f8(0x1d9)](_0x2861f4=>_0x2861f4[_0x17f1f8(0x20b)]);}get[_0x2cc0a1(0x210)](){const _0x51d8bb=_0x2cc0a1,_0x5d5540=new Map();for(const _0x4f4d3f of Array[_0x51d8bb(0x202)](this[_0x51d8bb(0x1fc)]))for(const [_0x4f996e,_0x132597]of _0x4f4d3f())_0x5d5540[_0x51d8bb(0x1ef)](_0x4f996e,_0x132597);return _0x5d5540;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26ad32=_0x4fe2;(function(_0x5ca87b,_0x5a8599){const _0x4ec56e=_0x4fe2,_0xd335f7=_0x5ca87b();while(!![]){try{const _0x1f27ce=parseInt(_0x4ec56e(0x209))/0x1+parseInt(_0x4ec56e(0x227))/0x2*(-parseInt(_0x4ec56e(0x22f))/0x3)+parseInt(_0x4ec56e(0x20f))/0x4+parseInt(_0x4ec56e(0x205))/0x5*(-parseInt(_0x4ec56e(0x216))/0x6)+-parseInt(_0x4ec56e(0x242))/0x7*(-parseInt(_0x4ec56e(0x208))/0x8)+-parseInt(_0x4ec56e(0x233))/0x9*(-parseInt(_0x4ec56e(0x231))/0xa)+parseInt(_0x4ec56e(0x229))/0xb;if(_0x1f27ce===_0x5a8599)break;else _0xd335f7['push'](_0xd335f7['shift']());}catch(_0xe1cf5c){_0xd335f7['push'](_0xd335f7['shift']());}}}(_0xff2a,0x50a0b));import{Plugin as _0x2b2706}from'ckeditor5/src/core.js';import _0x208ac2 from'./annotationsuis.js';import _0x1b85c4 from'./editorannotations.js';import{ContextualBalloon as _0x2364be}from'ckeditor5/src/ui.js';import{MouseObserver as _0x3a0f22}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4dd959,Rect as _0x38cf98}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x4fe2(_0x185e31,_0x404827){const _0xff2a8d=_0xff2a();return _0x4fe2=function(_0x4fe26d,_0x5ac056){_0x4fe26d=_0x4fe26d-0x1e2;let _0x53065f=_0xff2a8d[_0x4fe26d];return _0x53065f;},_0x4fe2(_0x185e31,_0x404827);}function _0xff2a(){const _0x102543=['keystrokes','_forceRefresh','InlineAnnotations','right','_getBalloonTargetForAnnotation','getOrderedSelectedAnnotations','7tlRKyu','bottom','remove','from','add','detach','visibleView','Esc','document','refresh','collapse','set','mousedown','addObserver','targetRect','includes','afterInit','init','view','register','length','change:visibleView','_manuallyClosed','_balloon','isAttached','annotations','hasView','_removeAnnotationFromBalloon','hasActive','target','viewRangeToDom','delete','top','focus','editableElement','push','_addAnnotationToBalloon','3050YJssDx','_setSelectedAnnotations','domConverter','4938368OevVsF','252012xACMcT','map','listenTo','getClientRects','getBoundingClientRect','getFirstRange','1301032BzfqDn','switchTo','inlineannotations-attach-already-attached','showStack','width','updatePosition','update','5496xyCnLx','clear','selection','inline','plugins','change:isFocused','_selectedAnnotations','editing','get','getByView','attach','change:height','setActiveAnnotation','find','left','activeAnnotation','requires','656wPNJcs','has','1257157uwllfM','isActive','every','blur','_addedAnnotations','isFocused','3852iotHDo','_closeAnnotation','50taldFW','context','2358RyKxPz','fromRect','stopListening','destroy','focusTracker','pluginName','inlineannotations-detach-not-attached','inlineannotations-not-allowed-with-context','editor'];_0xff2a=function(){return _0x102543;};return _0xff2a();}export default class c extends _0x2b2706{static get[_0x26ad32(0x226)](){return[_0x1b85c4,_0x2364be,_0x208ac2];}static get[_0x26ad32(0x238)](){const _0x4c64c7=_0x26ad32;return _0x4c64c7(0x23e);}constructor(_0x258160){const _0x418045=_0x26ad32;super(_0x258160),_0x258160[_0x418045(0x21d)][_0x418045(0x1f2)][_0x418045(0x1ed)](_0x3a0f22),this[_0x418045(0x1f8)]=!0x1,this[_0x418045(0x1eb)](_0x418045(0x225),null),this[_0x418045(0x1f9)]=null,this[_0x418045(0x1f6)]=new Set(),this[_0x418045(0x1f7)]=_0x258160[_0x418045(0x21a)][_0x418045(0x21e)](_0x2364be),this[_0x418045(0x22d)]=new Set(),this[_0x418045(0x21c)]=[],this[_0x418045(0x23d)]=!0x1;}[_0x26ad32(0x1f1)](){const _0x4904c8=_0x26ad32,_0x2e8d6d=this[_0x4904c8(0x23b)][_0x4904c8(0x21a)][_0x4904c8(0x21e)](_0x208ac2);_0x2e8d6d[_0x4904c8(0x232)]===this[_0x4904c8(0x23b)]&&(_0x2e8d6d[_0x4904c8(0x1f3)](_0x4904c8(0x219),this),this[_0x4904c8(0x23b)][_0x4904c8(0x23c)][_0x4904c8(0x1eb)](_0x4904c8(0x1e7),(_0x211fba,_0x105ce2)=>{const _0x1236b6=_0x4904c8,_0x387af7=this[_0x1236b6(0x1f7)];if(this[_0x1236b6(0x1f8)]&&_0x387af7[_0x1236b6(0x1e6)]){const _0x944131=this[_0x1236b6(0x1f9)][_0x1236b6(0x21f)](_0x387af7[_0x1236b6(0x1e6)]);_0x944131&&this[_0x1236b6(0x230)](_0x944131),_0x105ce2();}}));}[_0x26ad32(0x1f0)](){const _0x50fd4d=_0x26ad32,_0x52dddd=this[_0x50fd4d(0x23b)][_0x50fd4d(0x21a)][_0x50fd4d(0x21e)](_0x208ac2);_0x52dddd[_0x50fd4d(0x232)]===this[_0x50fd4d(0x23b)]&&(_0x52dddd[_0x50fd4d(0x1fc)]()||_0x52dddd[_0x50fd4d(0x210)](_0x50fd4d(0x219)));}[_0x26ad32(0x222)](_0x46b239){const _0x29c851=_0x26ad32;_0x46b239!==this[_0x29c851(0x225)]&&(this[_0x29c851(0x225)]&&(this[_0x29c851(0x225)][_0x29c851(0x22a)]=!0x1),_0x46b239&&this[_0x29c851(0x23b)]['ui'][_0x29c851(0x237)][_0x29c851(0x22e)]&&(this[_0x29c851(0x1f9)][_0x29c851(0x228)](_0x46b239)&&this[_0x29c851(0x204)](_0x46b239,!0x0),_0x46b239[_0x29c851(0x22a)]=!0x0),_0x46b239||this[_0x29c851(0x206)]([]),this[_0x29c851(0x225)]=_0x46b239);}[_0x26ad32(0x220)](_0x5680aa){const _0x1b25ef=_0x26ad32;this[_0x1b25ef(0x1f9)]=_0x5680aa;const _0x2d95df=this[_0x1b25ef(0x23b)][_0x1b25ef(0x21a)][_0x1b25ef(0x21e)](_0x208ac2),_0x44ccf5=this[_0x1b25ef(0x1f7)];if(this[_0x1b25ef(0x1f8)])throw new _0x4dd959(_0x1b25ef(0x211),this);if(_0x2d95df[_0x1b25ef(0x232)]!==this[_0x1b25ef(0x23b)])throw new _0x4dd959(_0x1b25ef(0x23a),this);const _0xfcbea5=this[_0x1b25ef(0x23b)][_0x1b25ef(0x21a)][_0x1b25ef(0x21e)](_0x1b85c4);this[_0x1b25ef(0x20b)](_0xfcbea5,_0x1b25ef(0x1e9),()=>{const _0x156201=_0x1b25ef,_0x590cf8=_0xfcbea5[_0x156201(0x241)]({'annotations':this[_0x156201(0x1f9)],'activeAnnotation':this[_0x156201(0x225)]});var _0x2be87b,_0x3ebd2f;!this[_0x156201(0x23d)]&&(_0x2be87b=_0x590cf8,_0x3ebd2f=this[_0x156201(0x21c)],_0x2be87b[_0x156201(0x1f4)]===_0x3ebd2f[_0x156201(0x1f4)]&&_0x2be87b[_0x156201(0x22b)](_0x1f4fe5=>_0x3ebd2f[_0x156201(0x1ef)](_0x1f4fe5)))||(this[_0x156201(0x23d)]=!0x1,this[_0x156201(0x206)](_0x590cf8),this[_0x156201(0x222)](_0x590cf8[0x0]||null));}),this[_0x1b25ef(0x20b)](_0xfcbea5,_0x1b25ef(0x22c),(_0x5de650,{isAnnotationTracked:_0x450cef})=>{const _0x235506=_0x1b25ef;this[_0x235506(0x225)]&&_0x450cef(this[_0x235506(0x225)])&&(this[_0x235506(0x206)]([]),this[_0x235506(0x222)](null));}),this[_0x1b25ef(0x20b)](this[_0x1b25ef(0x23b)]['ui'][_0x1b25ef(0x237)],_0x1b25ef(0x21b),(_0x22ca86,_0x359a1f,_0xd0a952)=>{const _0x20008d=_0x1b25ef;_0xd0a952||this[_0x20008d(0x222)](null);}),this[_0x1b25ef(0x20b)](_0x5680aa,_0x1b25ef(0x1e2),(_0x386d29,_0x27aae8)=>{const _0x491879=_0x1b25ef;this[_0x491879(0x1fb)](_0x27aae8),_0x27aae8===this[_0x491879(0x225)]&&this[_0x491879(0x222)](null);}),this[_0x1b25ef(0x20b)](_0x44ccf5,_0x1b25ef(0x1f5),(_0x2857e1,_0x34a228,_0x358441,_0x534cb0)=>{const _0x4671b1=_0x1b25ef;_0x534cb0&&this[_0x4671b1(0x235)](_0x534cb0);const _0x170c1f=_0x5680aa[_0x4671b1(0x21f)](_0x358441);_0x358441&&_0x170c1f&&(this[_0x4671b1(0x20b)](_0x358441,_0x4671b1(0x221),()=>{const _0x29bf09=_0x4671b1;_0x44ccf5[_0x29bf09(0x214)]();}),this[_0x4671b1(0x20b)](_0x358441,_0x4671b1(0x1e7),()=>{const _0x2b74c4=_0x4671b1;this[_0x2b74c4(0x230)](_0x170c1f),this[_0x2b74c4(0x23b)][_0x2b74c4(0x21d)][_0x2b74c4(0x1f2)][_0x2b74c4(0x201)]();}),this[_0x4671b1(0x225)]!==_0x170c1f&&this[_0x4671b1(0x222)](_0x170c1f));}),this[_0x1b25ef(0x20b)](this[_0x1b25ef(0x23b)]['ui'],_0x1b25ef(0x215),()=>{const _0x5296d5=_0x1b25ef;_0x44ccf5[_0x5296d5(0x1e6)]&&(_0x5680aa[_0x5296d5(0x21f)](_0x44ccf5[_0x5296d5(0x1e6)])&&_0x44ccf5[_0x5296d5(0x214)]());}),this[_0x1b25ef(0x20b)](this[_0x1b25ef(0x23b)][_0x1b25ef(0x21d)][_0x1b25ef(0x1f2)][_0x1b25ef(0x1e8)],_0x1b25ef(0x1ec),()=>{const _0x43e7ee=_0x1b25ef;this[_0x43e7ee(0x23d)]=!0x0,this[_0x43e7ee(0x1f6)][_0x43e7ee(0x217)]();}),this[_0x1b25ef(0x23b)][_0x1b25ef(0x21d)][_0x1b25ef(0x1f2)][_0x1b25ef(0x1e8)][_0x1b25ef(0x218)][_0x1b25ef(0x202)]&&this[_0x1b25ef(0x23b)][_0x1b25ef(0x21d)][_0x1b25ef(0x1f2)][_0x1b25ef(0x201)](),this[_0x1b25ef(0x1f8)]=!0x0;}[_0x26ad32(0x1e5)](){const _0x1c5ee3=_0x26ad32;if(!this[_0x1c5ee3(0x1f8)])throw new _0x4dd959(_0x1c5ee3(0x239),this);this[_0x1c5ee3(0x222)](null);for(const _0x7570ce of this[_0x1c5ee3(0x22d)])this[_0x1c5ee3(0x1fb)](_0x7570ce);this[_0x1c5ee3(0x235)](),this[_0x1c5ee3(0x1f8)]=!0x1,this[_0x1c5ee3(0x1f9)]=null;}[_0x26ad32(0x236)](){const _0x1a209a=_0x26ad32;this[_0x1a209a(0x1f8)]&&this[_0x1a209a(0x1e5)]();}[_0x26ad32(0x206)](_0x2902b3){const _0x154fde=_0x26ad32;for(const _0x1b0782 of this[_0x154fde(0x21c)])_0x2902b3[_0x154fde(0x1ef)](_0x1b0782)||this[_0x154fde(0x1f6)][_0x154fde(0x1ff)](_0x1b0782);for(const _0x3087b5 of this[_0x154fde(0x1f9)])_0x2902b3[_0x154fde(0x1ef)](_0x3087b5)||this[_0x154fde(0x1fb)](_0x3087b5);if(this[_0x154fde(0x23b)]['ui'][_0x154fde(0x237)][_0x154fde(0x22e)]){for(const _0x5294e7 of _0x2902b3)this[_0x154fde(0x204)](_0x5294e7);}this[_0x154fde(0x21c)]=_0x2902b3;}[_0x26ad32(0x204)](_0x3a1901,_0x36a5bb=!0x1){const _0x6c863f=_0x26ad32;this[_0x6c863f(0x1f6)][_0x6c863f(0x228)](_0x3a1901)||(this[_0x6c863f(0x22d)][_0x6c863f(0x228)](_0x3a1901)||this[_0x6c863f(0x1f7)][_0x6c863f(0x1fa)](_0x3a1901[_0x6c863f(0x1f2)])||(this[_0x6c863f(0x22d)][_0x6c863f(0x1e4)](_0x3a1901),this[_0x6c863f(0x1f7)][_0x6c863f(0x1e4)]({'stackId':_0x3a1901[_0x6c863f(0x1f2)]['id'],'view':_0x3a1901[_0x6c863f(0x1f2)],'position':{'target':()=>this[_0x6c863f(0x240)](_0x3a1901)}})),_0x36a5bb&&this[_0x6c863f(0x1f7)][_0x6c863f(0x212)](_0x3a1901[_0x6c863f(0x1f2)]['id']));}[_0x26ad32(0x240)](_0xaffb58){const _0x353f67=_0x26ad32,_0x35bb8d=_0xaffb58[_0x353f67(0x1fd)],_0x878eb5=this[_0x353f67(0x23b)][_0x353f67(0x21d)][_0x353f67(0x1f2)],_0x28b935=_0x878eb5[_0x353f67(0x1e8)][_0x353f67(0x218)][_0x353f67(0x20e)](),_0x2a4aeb=_0x878eb5[_0x353f67(0x207)][_0x353f67(0x1fe)](_0x28b935);if(_0x2a4aeb[_0x353f67(0x1ea)](!0x0),_0x35bb8d){if(_0x35bb8d instanceof _0x38cf98)return _0x35bb8d;let _0x1cd323=[];for(const _0x49caf of _0x35bb8d)_0x1cd323[_0x353f67(0x203)](...(_0x40711d=_0x49caf[_0x353f67(0x20c)](),Array[_0x353f67(0x1e3)](_0x40711d)[_0x353f67(0x20a)](DOMRect[_0x353f67(0x234)])));_0x1cd323=function(_0x53d36e){const _0x103a7d=_0x353f67,_0x430aea=[];let _0x10d900=_0x53d36e[0x0];for(let _0x2da115=0x1;_0x2da115<_0x53d36e[_0x103a7d(0x1f4)];_0x2da115++)F(_0x10d900,_0x53d36e[_0x2da115])?_0x10d900[_0x103a7d(0x213)]+=_0x53d36e[_0x2da115][_0x103a7d(0x213)]:(_0x430aea[_0x103a7d(0x203)](_0x10d900),_0x10d900=_0x53d36e[_0x2da115]);return _0x430aea[_0x103a7d(0x203)](_0x10d900),_0x430aea;}(_0x1cd323);const _0x1d3071=_0x2a4aeb[_0x353f67(0x20d)]();return _0x1cd323[_0x353f67(0x223)](_0x5ed8a8=>_0x5ed8a8[_0x353f67(0x200)]<=_0x1d3071[_0x353f67(0x200)]&&_0x5ed8a8[_0x353f67(0x243)]>=_0x1d3071[_0x353f67(0x243)]&&_0x5ed8a8[_0x353f67(0x224)]<=_0x1d3071[_0x353f67(0x224)]&&_0x5ed8a8[_0x353f67(0x23f)]>=_0x1d3071[_0x353f67(0x23f)])||_0x1cd323[0x0];}var _0x40711d;return _0xaffb58[_0x353f67(0x1ee)]||_0x2a4aeb;}[_0x26ad32(0x1fb)](_0x52e8ba){const _0x5b7fe7=_0x26ad32;this[_0x5b7fe7(0x22d)][_0x5b7fe7(0x228)](_0x52e8ba)&&this[_0x5b7fe7(0x1f7)][_0x5b7fe7(0x1fa)](_0x52e8ba[_0x5b7fe7(0x1f2)])&&(this[_0x5b7fe7(0x22d)][_0x5b7fe7(0x1ff)](_0x52e8ba),this[_0x5b7fe7(0x1f7)][_0x5b7fe7(0x1e2)](_0x52e8ba[_0x5b7fe7(0x1f2)]));}[_0x26ad32(0x230)](_0x4e6a6d){const _0xfd1261=_0x26ad32;this[_0xfd1261(0x1f6)][_0xfd1261(0x1e4)](_0x4e6a6d),this[_0xfd1261(0x1fb)](_0x4e6a6d);}}function F(_0x2a75c,_0x1154ca){const _0x7dcc22=_0x26ad32;return _0x2a75c[_0x7dcc22(0x200)]===_0x1154ca[_0x7dcc22(0x200)]&&_0x2a75c[_0x7dcc22(0x243)]===_0x1154ca[_0x7dcc22(0x243)]&&_0x2a75c[_0x7dcc22(0x23f)]===_0x1154ca[_0x7dcc22(0x224)];}
23
+ const _0x1c39ef=_0x1635;function _0x1635(_0x143fe2,_0x559ea4){const _0x2eed3b=_0x2eed();return _0x1635=function(_0x163533,_0x50902c){_0x163533=_0x163533-0x167;let _0x26a3dc=_0x2eed3b[_0x163533];return _0x26a3dc;},_0x1635(_0x143fe2,_0x559ea4);}(function(_0x578955,_0x56ac3a){const _0x2fb713=_0x1635,_0x22a6b1=_0x578955();while(!![]){try{const _0x3a62bb=-parseInt(_0x2fb713(0x1a3))/0x1*(parseInt(_0x2fb713(0x171))/0x2)+parseInt(_0x2fb713(0x172))/0x3+parseInt(_0x2fb713(0x169))/0x4*(-parseInt(_0x2fb713(0x17e))/0x5)+parseInt(_0x2fb713(0x179))/0x6*(-parseInt(_0x2fb713(0x175))/0x7)+parseInt(_0x2fb713(0x181))/0x8+-parseInt(_0x2fb713(0x19a))/0x9*(parseInt(_0x2fb713(0x1ab))/0xa)+parseInt(_0x2fb713(0x194))/0xb;if(_0x3a62bb===_0x56ac3a)break;else _0x22a6b1['push'](_0x22a6b1['shift']());}catch(_0x47b566){_0x22a6b1['push'](_0x22a6b1['shift']());}}}(_0x2eed,0xa7feb));import{Plugin as _0x3de4f8}from'ckeditor5/src/core.js';import _0x14a4aa from'./annotationsuis.js';import _0x39bd96 from'./editorannotations.js';import{ContextualBalloon as _0x2074b3}from'ckeditor5/src/ui.js';import{MouseObserver as _0x51e0be}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4b7aaf,Rect as _0xb9f05a}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x3de4f8{static get[_0x1c39ef(0x183)](){return[_0x39bd96,_0x2074b3,_0x14a4aa];}static get[_0x1c39ef(0x173)](){const _0x355598=_0x1c39ef;return _0x355598(0x198);}constructor(_0x1a706b){const _0x5f44f0=_0x1c39ef;super(_0x1a706b),_0x1a706b[_0x5f44f0(0x1a6)][_0x5f44f0(0x17f)][_0x5f44f0(0x17a)](_0x51e0be),this[_0x5f44f0(0x1a4)]=!0x1,this[_0x5f44f0(0x1ba)](_0x5f44f0(0x1c3),null),this[_0x5f44f0(0x185)]=null,this[_0x5f44f0(0x1c5)]=new Set(),this[_0x5f44f0(0x1ae)]=_0x1a706b[_0x5f44f0(0x19f)][_0x5f44f0(0x167)](_0x2074b3),this[_0x5f44f0(0x1bd)]=new Set(),this[_0x5f44f0(0x1af)]=[],this[_0x5f44f0(0x1b2)]=!0x1;}[_0x1c39ef(0x16f)](){const _0x3a5295=_0x1c39ef,_0x175739=this[_0x3a5295(0x1bc)][_0x3a5295(0x19f)][_0x3a5295(0x167)](_0x14a4aa);_0x175739[_0x3a5295(0x193)]===this[_0x3a5295(0x1bc)]&&(_0x175739[_0x3a5295(0x1a8)](_0x3a5295(0x192),this),this[_0x3a5295(0x1bc)][_0x3a5295(0x1c7)][_0x3a5295(0x1ba)](_0x3a5295(0x18f),(_0x417d37,_0x44c91c)=>{const _0xa78f3f=_0x3a5295,_0x2f85dd=this[_0xa78f3f(0x1ae)];if(this[_0xa78f3f(0x1a4)]&&_0x2f85dd[_0xa78f3f(0x1bf)]){const _0x708c1d=this[_0xa78f3f(0x185)][_0xa78f3f(0x18d)](_0x2f85dd[_0xa78f3f(0x1bf)]);_0x708c1d&&this[_0xa78f3f(0x1b9)](_0x708c1d),_0x44c91c();}}));}[_0x1c39ef(0x184)](){const _0x47de62=_0x1c39ef,_0x2e3a22=this[_0x47de62(0x1bc)][_0x47de62(0x19f)][_0x47de62(0x167)](_0x14a4aa);_0x2e3a22[_0x47de62(0x193)]===this[_0x47de62(0x1bc)]&&(_0x2e3a22[_0x47de62(0x1a2)]()||_0x2e3a22[_0x47de62(0x190)](_0x47de62(0x192)));}[_0x1c39ef(0x19c)](_0x4d34cf){const _0x4eba84=_0x1c39ef;_0x4d34cf!==this[_0x4eba84(0x1c3)]&&(this[_0x4eba84(0x1c3)]&&(this[_0x4eba84(0x1c3)][_0x4eba84(0x16a)]=!0x1),_0x4d34cf&&this[_0x4eba84(0x1bc)]['ui'][_0x4eba84(0x195)][_0x4eba84(0x186)]&&(this[_0x4eba84(0x185)][_0x4eba84(0x17c)](_0x4d34cf)&&this[_0x4eba84(0x19b)](_0x4d34cf,!0x0),_0x4d34cf[_0x4eba84(0x16a)]=!0x0),_0x4d34cf||this[_0x4eba84(0x1b3)]([]),this[_0x4eba84(0x1c3)]=_0x4d34cf);}[_0x1c39ef(0x177)](_0x23e261){const _0xa811fe=_0x1c39ef;this[_0xa811fe(0x185)]=_0x23e261;const _0x36fe3c=this[_0xa811fe(0x1bc)][_0xa811fe(0x19f)][_0xa811fe(0x167)](_0x14a4aa),_0x27371b=this[_0xa811fe(0x1ae)];if(this[_0xa811fe(0x1a4)])throw new _0x4b7aaf(_0xa811fe(0x1b5),this);if(_0x36fe3c[_0xa811fe(0x193)]!==this[_0xa811fe(0x1bc)])throw new _0x4b7aaf(_0xa811fe(0x1be),this);const _0xaccbee=this[_0xa811fe(0x1bc)][_0xa811fe(0x19f)][_0xa811fe(0x167)](_0x39bd96);this[_0xa811fe(0x16c)](_0xaccbee,_0xa811fe(0x180),()=>{const _0x441d25=_0xa811fe,_0x3432cd=_0xaccbee[_0x441d25(0x191)]({'annotations':this[_0x441d25(0x185)],'activeAnnotation':this[_0x441d25(0x1c3)]});var _0x3e9909,_0x49bfb5;!this[_0x441d25(0x1b2)]&&(_0x3e9909=_0x3432cd,_0x49bfb5=this[_0x441d25(0x1af)],_0x3e9909[_0x441d25(0x1c4)]===_0x49bfb5[_0x441d25(0x1c4)]&&_0x3e9909[_0x441d25(0x1bb)](_0xb0d27c=>_0x49bfb5[_0x441d25(0x1b1)](_0xb0d27c)))||(this[_0x441d25(0x1b2)]=!0x1,this[_0x441d25(0x1b3)](_0x3432cd),this[_0x441d25(0x19c)](_0x3432cd[0x0]||null));}),this[_0xa811fe(0x16c)](_0xaccbee,_0xa811fe(0x176),(_0xaad83f,{isAnnotationTracked:_0x5e9eba})=>{const _0x3f76af=_0xa811fe;this[_0x3f76af(0x1c3)]&&_0x5e9eba(this[_0x3f76af(0x1c3)])&&(this[_0x3f76af(0x1b3)]([]),this[_0x3f76af(0x19c)](null));}),this[_0xa811fe(0x16c)](this[_0xa811fe(0x1bc)]['ui'][_0xa811fe(0x195)],_0xa811fe(0x199),(_0x5a3582,_0x2d8f1b,_0x22ffbb)=>{const _0x5e2898=_0xa811fe;_0x22ffbb||this[_0x5e2898(0x19c)](null);}),this[_0xa811fe(0x16c)](_0x23e261,_0xa811fe(0x18a),(_0x480b7d,_0x27842e)=>{const _0x4aa349=_0xa811fe;this[_0x4aa349(0x1c1)](_0x27842e),_0x27842e===this[_0x4aa349(0x1c3)]&&this[_0x4aa349(0x19c)](null);}),this[_0xa811fe(0x16c)](_0x27371b,_0xa811fe(0x1a7),(_0x384687,_0x4ff5d4,_0x219dd3,_0x619088)=>{const _0x5c6790=_0xa811fe;_0x619088&&this[_0x5c6790(0x1c6)](_0x619088);const _0x234919=_0x23e261[_0x5c6790(0x18d)](_0x219dd3);_0x219dd3&&_0x234919&&(this[_0x5c6790(0x16c)](_0x219dd3,_0x5c6790(0x196),()=>{const _0x4bf7ae=_0x5c6790;_0x27371b[_0x4bf7ae(0x1c2)]();}),this[_0x5c6790(0x16c)](_0x219dd3,_0x5c6790(0x18f),()=>{const _0x3b3e89=_0x5c6790;this[_0x3b3e89(0x1b9)](_0x234919),this[_0x3b3e89(0x1bc)][_0x3b3e89(0x1a6)][_0x3b3e89(0x17f)][_0x3b3e89(0x18e)]();}),this[_0x5c6790(0x1c3)]!==_0x234919&&this[_0x5c6790(0x19c)](_0x234919));}),this[_0xa811fe(0x16c)](this[_0xa811fe(0x1bc)]['ui'],_0xa811fe(0x18b),()=>{const _0x4cf3c1=_0xa811fe;_0x27371b[_0x4cf3c1(0x1bf)]&&(_0x23e261[_0x4cf3c1(0x18d)](_0x27371b[_0x4cf3c1(0x1bf)])&&_0x27371b[_0x4cf3c1(0x1c2)]());}),this[_0xa811fe(0x16c)](this[_0xa811fe(0x1bc)][_0xa811fe(0x1a6)][_0xa811fe(0x17f)][_0xa811fe(0x16d)],_0xa811fe(0x187),()=>{const _0x22e72c=_0xa811fe;this[_0x22e72c(0x1b2)]=!0x0,this[_0x22e72c(0x1c5)][_0x22e72c(0x1ad)]();}),this[_0xa811fe(0x1bc)][_0xa811fe(0x1a6)][_0xa811fe(0x17f)][_0xa811fe(0x16d)][_0xa811fe(0x19e)][_0xa811fe(0x16e)]&&this[_0xa811fe(0x1bc)][_0xa811fe(0x1a6)][_0xa811fe(0x17f)][_0xa811fe(0x18e)](),this[_0xa811fe(0x1a4)]=!0x0;}[_0x1c39ef(0x1b4)](){const _0x278c86=_0x1c39ef;if(!this[_0x278c86(0x1a4)])throw new _0x4b7aaf(_0x278c86(0x189),this);this[_0x278c86(0x19c)](null);for(const _0x5390d6 of this[_0x278c86(0x1bd)])this[_0x278c86(0x1c1)](_0x5390d6);this[_0x278c86(0x1c6)](),this[_0x278c86(0x1a4)]=!0x1,this[_0x278c86(0x185)]=null;}[_0x1c39ef(0x1a1)](){const _0x4b0334=_0x1c39ef;this[_0x4b0334(0x1a4)]&&this[_0x4b0334(0x1b4)]();}[_0x1c39ef(0x1b3)](_0x368784){const _0x502263=_0x1c39ef;for(const _0x5ca1f8 of this[_0x502263(0x1af)])_0x368784[_0x502263(0x1b1)](_0x5ca1f8)||this[_0x502263(0x1c5)][_0x502263(0x1b8)](_0x5ca1f8);for(const _0x5b4720 of this[_0x502263(0x185)])_0x368784[_0x502263(0x1b1)](_0x5b4720)||this[_0x502263(0x1c1)](_0x5b4720);if(this[_0x502263(0x1bc)]['ui'][_0x502263(0x195)][_0x502263(0x186)]){for(const _0x39cbfc of _0x368784)this[_0x502263(0x19b)](_0x39cbfc);}this[_0x502263(0x1af)]=_0x368784;}[_0x1c39ef(0x19b)](_0x4f8538,_0x341576=!0x1){const _0x4c64c7=_0x1c39ef;this[_0x4c64c7(0x1c5)][_0x4c64c7(0x17c)](_0x4f8538)||(this[_0x4c64c7(0x1bd)][_0x4c64c7(0x17c)](_0x4f8538)||this[_0x4c64c7(0x1ae)][_0x4c64c7(0x1ac)](_0x4f8538[_0x4c64c7(0x17f)])||(this[_0x4c64c7(0x1bd)][_0x4c64c7(0x182)](_0x4f8538),this[_0x4c64c7(0x1ae)][_0x4c64c7(0x182)]({'stackId':_0x4f8538[_0x4c64c7(0x17f)]['id'],'view':_0x4f8538[_0x4c64c7(0x17f)],'position':{'target':()=>this[_0x4c64c7(0x1a0)](_0x4f8538)}})),_0x341576&&this[_0x4c64c7(0x1ae)][_0x4c64c7(0x18c)](_0x4f8538[_0x4c64c7(0x17f)]['id']));}[_0x1c39ef(0x1a0)](_0x121e10){const _0x5650ac=_0x1c39ef,_0x39d9b4=_0x121e10[_0x5650ac(0x1a5)],_0x5ce8ce=this[_0x5650ac(0x1bc)][_0x5650ac(0x1a6)][_0x5650ac(0x17f)],_0x14a318=_0x5ce8ce[_0x5650ac(0x16d)][_0x5650ac(0x19e)][_0x5650ac(0x1b0)](),_0x43567c=_0x5ce8ce[_0x5650ac(0x1a9)][_0x5650ac(0x1aa)](_0x14a318);if(_0x43567c[_0x5650ac(0x1b6)](!0x0),_0x39d9b4){if(_0x39d9b4 instanceof _0xb9f05a)return _0x39d9b4;let _0x336e96=[];for(const _0x142457 of _0x39d9b4)_0x336e96[_0x5650ac(0x1c0)](...(_0x128b76=_0x142457[_0x5650ac(0x17d)](),Array[_0x5650ac(0x17b)](_0x128b76)[_0x5650ac(0x188)](DOMRect[_0x5650ac(0x1c8)])));_0x336e96=function(_0x434d83){const _0x1d839a=_0x5650ac,_0x3f7871=[];let _0x3a004e=_0x434d83[0x0];for(let _0x2548f0=0x1;_0x2548f0<_0x434d83[_0x1d839a(0x1c4)];_0x2548f0++)E(_0x3a004e,_0x434d83[_0x2548f0])?_0x3a004e[_0x1d839a(0x170)]+=_0x434d83[_0x2548f0][_0x1d839a(0x170)]:(_0x3f7871[_0x1d839a(0x1c0)](_0x3a004e),_0x3a004e=_0x434d83[_0x2548f0]);return _0x3f7871[_0x1d839a(0x1c0)](_0x3a004e),_0x3f7871;}(_0x336e96);const _0x192681=_0x43567c[_0x5650ac(0x1b7)]();return _0x336e96[_0x5650ac(0x197)](_0x3bde5c=>_0x3bde5c[_0x5650ac(0x168)]<=_0x192681[_0x5650ac(0x168)]&&_0x3bde5c[_0x5650ac(0x178)]>=_0x192681[_0x5650ac(0x178)]&&_0x3bde5c[_0x5650ac(0x174)]<=_0x192681[_0x5650ac(0x174)]&&_0x3bde5c[_0x5650ac(0x16b)]>=_0x192681[_0x5650ac(0x16b)])||_0x336e96[0x0];}var _0x128b76;return _0x121e10[_0x5650ac(0x19d)]||_0x43567c;}[_0x1c39ef(0x1c1)](_0x27e9b7){const _0x3687de=_0x1c39ef;this[_0x3687de(0x1bd)][_0x3687de(0x17c)](_0x27e9b7)&&this[_0x3687de(0x1ae)][_0x3687de(0x1ac)](_0x27e9b7[_0x3687de(0x17f)])&&(this[_0x3687de(0x1bd)][_0x3687de(0x1b8)](_0x27e9b7),this[_0x3687de(0x1ae)][_0x3687de(0x18a)](_0x27e9b7[_0x3687de(0x17f)]));}[_0x1c39ef(0x1b9)](_0x263e0e){const _0x26e531=_0x1c39ef;this[_0x26e531(0x1c5)][_0x26e531(0x182)](_0x263e0e),this[_0x26e531(0x1c1)](_0x263e0e);}}function _0x2eed(){const _0x2e01f2=['3558256yrtNmO','add','requires','afterInit','annotations','isFocused','mousedown','map','inlineannotations-detach-not-attached','remove','update','showStack','getByView','focus','Esc','switchTo','getOrderedSelectedAnnotations','inline','context','19205208svHFAz','focusTracker','change:height','find','InlineAnnotations','change:isFocused','18zUfRVZ','_addAnnotationToBalloon','setActiveAnnotation','targetRect','selection','plugins','_getBalloonTargetForAnnotation','destroy','hasActive','1265884HvoMdt','isAttached','target','editing','change:visibleView','register','domConverter','viewRangeToDom','1002610LDXoMq','hasView','clear','_balloon','_selectedAnnotations','getFirstRange','includes','_forceRefresh','_setSelectedAnnotations','detach','inlineannotations-attach-already-attached','collapse','getBoundingClientRect','delete','_closeAnnotation','set','every','editor','_addedAnnotations','inlineannotations-not-allowed-with-context','visibleView','push','_removeAnnotationFromBalloon','updatePosition','activeAnnotation','length','_manuallyClosed','stopListening','keystrokes','fromRect','get','top','413012FZmBJb','isActive','right','listenTo','document','editableElement','init','width','2UnqAZV','1444305iHhanK','pluginName','left','49BaWzBo','blur','attach','bottom','355182AFxDqo','addObserver','from','has','getClientRects','5HrGYvS','view','refresh'];_0x2eed=function(){return _0x2e01f2;};return _0x2eed();}function E(_0x15552d,_0x4e3da3){const _0x2efdf7=_0x1c39ef;return _0x15552d[_0x2efdf7(0x168)]===_0x4e3da3[_0x2efdf7(0x168)]&&_0x15552d[_0x2efdf7(0x178)]===_0x4e3da3[_0x2efdf7(0x178)]&&_0x15552d[_0x2efdf7(0x16b)]===_0x4e3da3[_0x2efdf7(0x174)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e2494=_0x270d;(function(_0x5ea909,_0x3c1ade){const _0x1f2f41=_0x270d,_0x351cba=_0x5ea909();while(!![]){try{const _0x4847c3=-parseInt(_0x1f2f41(0x1ba))/0x1+-parseInt(_0x1f2f41(0x206))/0x2*(parseInt(_0x1f2f41(0x1c4))/0x3)+parseInt(_0x1f2f41(0x1d1))/0x4*(parseInt(_0x1f2f41(0x1ff))/0x5)+-parseInt(_0x1f2f41(0x1f7))/0x6*(-parseInt(_0x1f2f41(0x1ae))/0x7)+-parseInt(_0x1f2f41(0x20f))/0x8*(-parseInt(_0x1f2f41(0x1f3))/0x9)+parseInt(_0x1f2f41(0x1a0))/0xa*(-parseInt(_0x1f2f41(0x1c7))/0xb)+parseInt(_0x1f2f41(0x1a2))/0xc*(parseInt(_0x1f2f41(0x20c))/0xd);if(_0x4847c3===_0x3c1ade)break;else _0x351cba['push'](_0x351cba['shift']());}catch(_0xa5f1d8){_0x351cba['push'](_0x351cba['shift']());}}}(_0x5088,0x779da));import{ContextPlugin as _0x1cdffc,Context as _0x243c8f}from'ckeditor5/src/core.js';import _0x188961 from'./annotationsuis.js';function _0x270d(_0x347bfb,_0x461fc3){const _0x5088d9=_0x5088();return _0x270d=function(_0x270d1b,_0x1b1ddd){_0x270d1b=_0x270d1b-0x19d;let _0x23163e=_0x5088d9[_0x270d1b];return _0x23163e;},_0x270d(_0x347bfb,_0x461fc3);}function _0x5088(){const _0x47b2f7=['NarrowSidebar','isAttached','refresh','high','861kMhaQr','annotationType','content','6197147KRIKjx','cancel','_destroyEditorAnnotationsIntegration','addEventListener','getByView','activeAnnotation','Esc','context','plugins','focus','1118564mddHCQ','_detachFromContainer','resize','_annotationToNarrowView','getOrderedSelectedAnnotations','_showBalloon','setActiveAnnotation','first','preventDefault','from','keydown','pluginName','_selectedAnnotations','get','_domEmitter','element','values','bodyCollection','_updateBalloonPosition','has','target','listenTo','change:container','stop','_refreshPositioning','register','narrowsidebar-detach-not-attached','_hideBalloon','destroy','northArrowSouthEast','keyCode','change:height','add','editors','58185yqkzyt','focusableElements','northArrowSouth','annotations','24lwrvxw','blur','detachFromDom','hasDomSelection','removeEventListener','attachToDom','requires','unpin','5JZczrc','_integrateWithEditorAnnotations','EditorAnnotations','init','mousedown','clear','preventClosingBalloon','3250mKIaPW','southArrowNorth','low','_detachListeners','number','narrowsidebar-attach-already-attached','13XzZlbI','includes','southArrowNorthWest','696HfVxIC','southArrowNorthEast','create','isVisible','_attachToContainer','set:container','esc','_setSelectedAnnotations','ready','rearrange','execute','contains','locale','refreshPositioning','10dJHMuU','detach','7548564FEDmgW','northArrowSouthWest','ck-sidebar--narrow','uiUpdate','narrowSidebar','balloonPanelView','bind','isDirty','stopPropagation','_attachListeners','defaultPositions','pin','886284YwgFXG','view','set','find','off','_refreshPositioningDebounced','delete','getSidebarItemView','addAnnotation','_annotations','attach','type','457893tcPwhC','stopListening','remove','_manuallyClosedAnnotationViews','_editorAnnotations','length'];_0x5088=function(){return _0x47b2f7;};return _0x5088();}import _0x2f35c5 from'./sidebar.js';import _0x11c5e8 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x1d74af,BodyCollection as _0x3ee0b3}from'ckeditor5/src/ui.js';import{CKEditorError as _0x50c40e,DomEmitterMixin as _0xf2dd54,keyCodes as _0x2b6db1,Collection as _0xe014ab}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x1884f5}from'lodash-es';export default class i extends _0x1cdffc{static get[_0x1e2494(0x1fd)](){return[_0x2f35c5,_0x188961];}static get[_0x1e2494(0x1dc)](){const _0x464a3c=_0x1e2494;return _0x464a3c(0x1c0);}constructor(_0x45ecc8){const _0x1cbe46=_0x1e2494;super(_0x45ecc8),this[_0x1cbe46(0x1c1)]=!0x1,this[_0x1cbe46(0x1bd)]=new Set(),this[_0x1cbe46(0x1df)]=Object[_0x1cbe46(0x211)](_0xf2dd54),this[_0x1cbe46(0x1d4)]=new Map(),this[_0x1cbe46(0x1b0)](_0x1cbe46(0x1cc),null),this[_0x1cbe46(0x1f6)]=null,this[_0x1cbe46(0x1dd)]=[],this[_0x1cbe46(0x1be)]=new _0xe014ab(),this[_0x1cbe46(0x1b3)]=_0x1884f5(()=>{const _0x1f01a4=_0x1cbe46;this[_0x1f01a4(0x1e9)]();},0xfa,{'leading':!0x1});}[_0x1e2494(0x202)](){const _0x4b67f8=_0x1e2494;this[_0x4b67f8(0x1ce)][_0x4b67f8(0x1cf)][_0x4b67f8(0x1de)](_0x188961)[_0x4b67f8(0x1ea)](_0x4b67f8(0x1a6),this),this[_0x4b67f8(0x1e2)]=new _0x3ee0b3(this[_0x4b67f8(0x1ce)][_0x4b67f8(0x19e)]),this[_0x4b67f8(0x1a7)]=new _0x1d74af(this[_0x4b67f8(0x1ce)][_0x4b67f8(0x19e)]),this[_0x4b67f8(0x1e2)][_0x4b67f8(0x1fc)](),this[_0x4b67f8(0x1e2)][_0x4b67f8(0x1f1)](this[_0x4b67f8(0x1a7)]);}[_0x1e2494(0x1b8)](_0x545643){const _0x1c0bca=_0x1e2494;this[_0x1c0bca(0x1f6)]=_0x545643;const _0x11d874=this[_0x1c0bca(0x1ce)][_0x1c0bca(0x1cf)][_0x1c0bca(0x1de)](_0x2f35c5),_0x5da811=this[_0x1c0bca(0x1a7)];if(_0x11d874[_0x1c0bca(0x1b7)]=_0x545643,this[_0x1c0bca(0x1c1)])throw new _0x50c40e(_0x1c0bca(0x20b),this);this[_0x1c0bca(0x1c1)]=!0x0,this[_0x1c0bca(0x1e6)](_0x11d874,_0x1c0bca(0x214),()=>{const _0x43ce0a=_0x1c0bca;this[_0x43ce0a(0x1a1)](),this[_0x43ce0a(0x1e6)](_0x11d874,_0x43ce0a(0x1e7),_0x906b37=>{const _0xf2db92=_0x43ce0a;_0x906b37[_0xf2db92(0x1b2)](),this[_0xf2db92(0x1b8)](_0x545643);});}),_0x11d874[_0x1c0bca(0x213)]({'viewClass':_0x1c0bca(0x1a4),'spaceBetweenItems':0x5});const _0xda5e79=_0x5f2403=>{const _0xd7c049=_0x1c0bca,_0x5d37ac=new _0x11c5e8(this[_0xd7c049(0x1ce)][_0xd7c049(0x19e)]);_0x11d874[_0xd7c049(0x1b6)](_0x5f2403,_0x5d37ac),this[_0xd7c049(0x1d4)][_0xd7c049(0x1b0)](_0x5f2403,_0x5d37ac),_0x5d37ac[_0xd7c049(0x1a8)](_0xd7c049(0x1a9),_0xd7c049(0x1c5),_0xd7c049(0x20a))['to'](_0x5f2403[_0xd7c049(0x1af)],_0xd7c049(0x1a9),_0xd7c049(0x1b9),_0xd7c049(0x1bf)),_0x5d37ac['on'](_0xd7c049(0x219),()=>{const _0x2086fd=_0xd7c049;this[_0x2086fd(0x1bd)][_0x2086fd(0x204)](),_0x5da811[_0x2086fd(0x1c6)][_0x2086fd(0x1d8)]!==_0x5f2403[_0x2086fd(0x1af)]?(this[_0x2086fd(0x1d6)](_0x5f2403),_0x5f2403[_0x2086fd(0x1af)][_0x2086fd(0x1e0)][_0x2086fd(0x1d0)](),this[_0x2086fd(0x1d7)](_0x5f2403)):this[_0x2086fd(0x1d7)](null);});};for(const _0x378cc6 of _0x545643)_0xda5e79(_0x378cc6);this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1f1),(_0x1ec5bc,_0x176703)=>{_0xda5e79(_0x176703);}),this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1bc),(_0x5d84d7,_0x4d4da5,_0x2c9d53)=>{const _0x4287b9=_0x1c0bca;this[_0x4287b9(0x1d4)][_0x4287b9(0x1de)](_0x4d4da5)[_0x4287b9(0x1ed)](),this[_0x4287b9(0x1d4)][_0x4287b9(0x1b4)](_0x4d4da5),_0x11d874[_0x4287b9(0x218)]({'removedAnnotation':_0x4d4da5,'previousAnnotation':_0x545643[_0x4287b9(0x1de)](_0x2c9d53-0x1),'nextAnnotation':_0x545643[_0x4287b9(0x1de)](_0x2c9d53+0x1)}),_0x4d4da5===this[_0x4287b9(0x1cc)]&&this[_0x4287b9(0x1d7)](null);},{'priority':_0x1c0bca(0x208)}),this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1d0),(_0xcb8eb8,_0x2ba990)=>{const _0xbec86c=_0x1c0bca;this[_0xbec86c(0x1d7)](_0x2ba990);}),this[_0x1c0bca(0x1e6)](_0x545643,_0x1c0bca(0x1f8),()=>{const _0x4c0de5=_0x1c0bca;this[_0x4c0de5(0x1d7)](null);}),this[_0x1c0bca(0x1df)][_0x1c0bca(0x1e6)](document,_0x1c0bca(0x1db),(_0x24f44a,_0x2d5930)=>{const _0x463566=_0x1c0bca;_0x2d5930[_0x463566(0x1ef)]===_0x2b6db1[_0x463566(0x215)]&&_0x5da811[_0x463566(0x212)]&&(this[_0x463566(0x1bd)][_0x463566(0x1f1)](_0x5da811[_0x463566(0x1c6)][_0x463566(0x1d8)]),this[_0x463566(0x1ec)](),_0x2d5930[_0x463566(0x1aa)](),_0x2d5930[_0x463566(0x1d9)]());}),this[_0x1c0bca(0x1df)][_0x1c0bca(0x1e6)](document,_0x1c0bca(0x203),(_0x3e14cc,_0x501653)=>{const _0x207769=_0x1c0bca,_0x1fc127=_0x501653[_0x207769(0x1e5)];_0x5da811[_0x207769(0x212)]&&_0x5da811[_0x207769(0x1e0)][_0x207769(0x19d)](_0x1fc127)||_0x11d874[_0x207769(0x1af)][_0x207769(0x1e0)][_0x207769(0x19d)](_0x1fc127)||_0x3e14cc[_0x207769(0x205)]||this[_0x207769(0x1cc)]&&this[_0x207769(0x1cc)][_0x207769(0x1f4)][_0x207769(0x1b1)](_0x3a8108=>_0x3a8108[_0x207769(0x19d)](_0x1fc127))||(this[_0x207769(0x1bd)][_0x207769(0x204)](),this[_0x207769(0x1ec)](),this[_0x207769(0x1d7)](null));});const _0x9b2018=this[_0x1c0bca(0x1ce)]instanceof _0x243c8f?this[_0x1c0bca(0x1ce)][_0x1c0bca(0x1f2)]:new _0xe014ab([this[_0x1c0bca(0x1ce)]]);for(const _0x10d8c4 of _0x9b2018)this[_0x1c0bca(0x200)](_0x10d8c4);this[_0x1c0bca(0x1e6)](_0x9b2018,_0x1c0bca(0x1f1),(_0x506652,_0x976e48)=>{const _0x34df6e=_0x1c0bca;this[_0x34df6e(0x1e6)](_0x976e48,_0x34df6e(0x217),()=>{const _0x3c223d=_0x34df6e;this[_0x3c223d(0x200)](_0x976e48);});}),this[_0x1c0bca(0x1e6)](_0x9b2018,_0x1c0bca(0x1bc),(_0x59f4e2,_0x3cab7c)=>{const _0x1f633c=_0x1c0bca;_0x3cab7c[_0x1f633c(0x1cf)][_0x1f633c(0x1e4)](_0x1f633c(0x201))&&this[_0x1f633c(0x1c9)](_0x3cab7c[_0x1f633c(0x1cf)][_0x1f633c(0x1de)](_0x1f633c(0x201)));}),window[_0x1c0bca(0x1ca)](_0x1c0bca(0x1d3),this[_0x1c0bca(0x1b3)]),this[_0x1c0bca(0x1e9)]();}[_0x1e2494(0x1d7)](_0x5cc096){const _0x54e736=_0x1e2494;if(_0x5cc096===this[_0x54e736(0x1cc)])return;const _0x1d2835=this[_0x54e736(0x1ce)][_0x54e736(0x1cf)][_0x54e736(0x1de)](_0x2f35c5);if(_0x1d2835[_0x54e736(0x1c2)]({'blurredAnnotation':this[_0x54e736(0x1cc)],'activatedAnnotation':_0x5cc096,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5cc096)_0x1d2835[_0x54e736(0x1b5)](_0x5cc096)?this[_0x54e736(0x1d6)](_0x5cc096):this[_0x54e736(0x1ec)]();else this[_0x54e736(0x1ec)]();this[_0x54e736(0x1cc)]=_0x5cc096;}[_0x1e2494(0x1a1)](){const _0x28e44d=_0x1e2494;if(!this[_0x28e44d(0x1c1)])throw new _0x50c40e(_0x28e44d(0x1eb),this);this[_0x28e44d(0x1d7)](null);const _0x3e5d68=this[_0x28e44d(0x1ce)][_0x28e44d(0x1cf)][_0x28e44d(0x1de)](_0x2f35c5);this[_0x28e44d(0x1ec)](),Array[_0x28e44d(0x1da)](this[_0x28e44d(0x1d4)][_0x28e44d(0x1e1)](),_0xf9d685=>_0xf9d685[_0x28e44d(0x1ed)]()),this[_0x28e44d(0x1d4)][_0x28e44d(0x204)](),_0x3e5d68[_0x28e44d(0x1d2)](this[_0x28e44d(0x1f6)]),this[_0x28e44d(0x1bb)](),this[_0x28e44d(0x1df)][_0x28e44d(0x1bb)](),this[_0x28e44d(0x1ce)]instanceof _0x243c8f&&this[_0x28e44d(0x1bb)](this[_0x28e44d(0x1ce)][_0x28e44d(0x1f2)]);for(const _0x56e0fd of Array[_0x28e44d(0x1da)](this[_0x28e44d(0x1be)]))this[_0x28e44d(0x1c9)](_0x56e0fd);window[_0x28e44d(0x1fb)](_0x28e44d(0x1d3),this[_0x28e44d(0x1b3)]),this[_0x28e44d(0x1b3)][_0x28e44d(0x1c8)](),this[_0x28e44d(0x1dd)]=[],this[_0x28e44d(0x1c1)]=!0x1,this[_0x28e44d(0x1f6)]=null;}[_0x1e2494(0x1ed)](){const _0x8302a4=_0x1e2494;this[_0x8302a4(0x1c1)]&&this[_0x8302a4(0x1a1)](),this[_0x8302a4(0x1e2)][_0x8302a4(0x1f9)]();}[_0x1e2494(0x200)](_0x356f3c){const _0x4b0708=_0x1e2494;if(!_0x356f3c[_0x4b0708(0x1cf)][_0x4b0708(0x1e4)](_0x4b0708(0x201)))return;const _0x77f9ef=_0x356f3c[_0x4b0708(0x1cf)][_0x4b0708(0x1de)](_0x4b0708(0x201)),_0x2eb5e1=this[_0x4b0708(0x1ce)][_0x4b0708(0x1cf)][_0x4b0708(0x1de)](_0x2f35c5),_0x555694=this[_0x4b0708(0x1f6)],_0x4f25cb=this[_0x4b0708(0x1a7)],_0x1149a8=()=>{const _0x2399bf=_0x4b0708,_0x3646f5=_0x77f9ef[_0x2399bf(0x1d5)]({'annotations':this[_0x2399bf(0x1f6)],'activeAnnotation':this[_0x2399bf(0x1cc)]});this[_0x2399bf(0x216)](_0x3646f5),this[_0x2399bf(0x1d7)](_0x3646f5[0x0]||null);};this[_0x4b0708(0x1e6)](_0x77f9ef,_0x4b0708(0x1c2),_0x1149a8),this[_0x4b0708(0x1e6)](_0x77f9ef,_0x4b0708(0x1f8),(_0x1ea807,{isAnnotationTracked:_0x279790})=>{const _0x23371b=_0x4b0708;this[_0x23371b(0x1cc)]&&_0x279790(this[_0x23371b(0x1cc)])&&(this[_0x23371b(0x216)]([]),this[_0x23371b(0x1d7)](null));}),this[_0x4b0708(0x1e6)](_0x77f9ef,_0x4b0708(0x1a5),()=>{const _0x1935ba=_0x4b0708;this[_0x1935ba(0x1b3)]();}),this[_0x4b0708(0x1e6)](_0x555694,_0x4b0708(0x1f8),_0x524c0e=>{const _0x29a349=_0x4b0708;_0x77f9ef[_0x29a349(0x1fa)]()&&_0x524c0e[_0x29a349(0x1e8)]();},{'priority':_0x4b0708(0x1c3)}),this[_0x4b0708(0x1e6)](this[_0x4b0708(0x1df)],_0x4b0708(0x203),(_0x348b83,_0x1a513f)=>{const _0x1fd559=_0x4b0708,_0x199b14=_0x1a513f[_0x1fd559(0x1e5)];_0x4f25cb[_0x1fd559(0x212)]&&_0x4f25cb[_0x1fd559(0x1e0)][_0x1fd559(0x19d)](_0x199b14)||_0x2eb5e1[_0x1fd559(0x1af)][_0x1fd559(0x1e0)][_0x1fd559(0x19d)](_0x199b14)||this[_0x1fd559(0x1cc)]&&_0x77f9ef[_0x1fd559(0x1fa)]()&&(_0x1149a8(),_0x348b83[_0x1fd559(0x205)]=!0x0);},{'priority':_0x4b0708(0x1c3)}),this[_0x4b0708(0x1be)][_0x4b0708(0x1f1)](_0x77f9ef);}[_0x1e2494(0x1c9)](_0x202c2b){const _0x215a9f=_0x1e2494;_0x202c2b&&(this[_0x215a9f(0x1bb)](_0x202c2b),this[_0x215a9f(0x1be)][_0x215a9f(0x1bc)](_0x202c2b));}[_0x1e2494(0x216)](_0x4fd19f){const _0xef49ed=_0x1e2494;for(const _0x127273 of this[_0xef49ed(0x1dd)])_0x4fd19f[_0xef49ed(0x20d)](_0x127273)||this[_0xef49ed(0x1bd)][_0xef49ed(0x1b4)](_0x127273[_0xef49ed(0x1af)]);this[_0xef49ed(0x1dd)]=_0x4fd19f;}[_0x1e2494(0x1e9)](){const _0x2dea60=_0x1e2494,_0x23b11f=this[_0x2dea60(0x1a7)];this[_0x2dea60(0x1f6)][_0x2dea60(0x19f)](),_0x23b11f[_0x2dea60(0x212)]&&this[_0x2dea60(0x1e3)]();}[_0x1e2494(0x1d6)](_0x15039a){const _0x2d42ae=_0x1e2494;if(this[_0x2d42ae(0x1bd)][_0x2d42ae(0x1e4)](_0x15039a[_0x2d42ae(0x1af)]))return;const _0x217afc=this[_0x2d42ae(0x1a7)][_0x2d42ae(0x1c6)][_0x2d42ae(0x1d8)];_0x217afc!==_0x15039a[_0x2d42ae(0x1af)]?(_0x217afc&&this[_0x2d42ae(0x209)](_0x217afc),this[_0x2d42ae(0x1ab)](_0x15039a[_0x2d42ae(0x1af)]),this[_0x2d42ae(0x1a7)][_0x2d42ae(0x1c6)][_0x2d42ae(0x204)](),this[_0x2d42ae(0x1a7)][_0x2d42ae(0x1c6)][_0x2d42ae(0x1f1)](_0x15039a[_0x2d42ae(0x1af)]),this[_0x2d42ae(0x1e3)]()):this[_0x2d42ae(0x1e3)]();}[_0x1e2494(0x1e3)](){const _0xa70a83=_0x1e2494,_0x5ea2f2=this[_0xa70a83(0x1a7)][_0xa70a83(0x1c6)][_0xa70a83(0x1d8)],_0x5af7cf=_0x5ea2f2&&this[_0xa70a83(0x1f6)][_0xa70a83(0x1cb)](_0x5ea2f2);if(!_0x5af7cf||!this[_0xa70a83(0x1d4)][_0xa70a83(0x1e4)](_0x5af7cf))return;const _0x1557a0=this[_0xa70a83(0x1d4)][_0xa70a83(0x1de)](_0x5af7cf)[_0xa70a83(0x1e0)],_0x46aa8f=(function(){const _0x55840e=_0xa70a83,_0x509688=_0x1d74af[_0x55840e(0x1ac)];return[_0x509688[_0x55840e(0x210)],_0x509688[_0x55840e(0x1ee)],_0x509688[_0x55840e(0x207)],_0x509688[_0x55840e(0x1f5)],_0x509688[_0x55840e(0x20e)],_0x509688[_0x55840e(0x1a3)]];}());this[_0xa70a83(0x1a7)][_0xa70a83(0x1ad)]({'target':_0x1557a0,'positions':_0x46aa8f});}[_0x1e2494(0x1ec)](){const _0x3dca13=_0x1e2494,_0x3366bd=this[_0x3dca13(0x1a7)],_0x98cd58=_0x3366bd[_0x3dca13(0x1c6)][_0x3dca13(0x1d8)];_0x98cd58&&(this[_0x3dca13(0x209)](_0x98cd58),_0x3366bd[_0x3dca13(0x1fe)](),_0x3366bd[_0x3dca13(0x1c6)][_0x3dca13(0x204)]());}[_0x1e2494(0x1ab)](_0x10413c){const _0x1521bb=_0x1e2494;this[_0x1521bb(0x1e6)](_0x10413c,_0x1521bb(0x1f0),()=>this[_0x1521bb(0x1e3)]()),this[_0x1521bb(0x1e6)](_0x10413c,_0x1521bb(0x1cd),(_0x13c16f,_0x461fd6)=>{const _0x468ec4=_0x1521bb;this[_0x468ec4(0x1bd)][_0x468ec4(0x1f1)](_0x10413c),this[_0x468ec4(0x1ec)](),_0x461fd6();});}[_0x1e2494(0x209)](_0x16ec0b){const _0x4b78ab=_0x1e2494;this[_0x4b78ab(0x1bb)](_0x16ec0b);}}
23
+ const _0x55f55e=_0x3522;(function(_0xa9a936,_0x205faa){const _0x2b470f=_0x3522,_0x161b71=_0xa9a936();while(!![]){try{const _0xbaf39c=parseInt(_0x2b470f(0x1c0))/0x1*(parseInt(_0x2b470f(0x20f))/0x2)+parseInt(_0x2b470f(0x212))/0x3*(parseInt(_0x2b470f(0x1bd))/0x4)+parseInt(_0x2b470f(0x209))/0x5*(-parseInt(_0x2b470f(0x1de))/0x6)+-parseInt(_0x2b470f(0x1e9))/0x7+parseInt(_0x2b470f(0x20d))/0x8*(parseInt(_0x2b470f(0x1ea))/0x9)+parseInt(_0x2b470f(0x1c7))/0xa+-parseInt(_0x2b470f(0x1fd))/0xb*(parseInt(_0x2b470f(0x1a6))/0xc);if(_0xbaf39c===_0x205faa)break;else _0x161b71['push'](_0x161b71['shift']());}catch(_0x3a69f9){_0x161b71['push'](_0x161b71['shift']());}}}(_0x4927,0xbc501));import{ContextPlugin as _0x410d15,Context as _0x38a0f6}from'ckeditor5/src/core.js';import _0x48fde4 from'./annotationsuis.js';import _0x469e6f from'./sidebar.js';function _0x3522(_0x5ee105,_0x491b18){const _0x4927b3=_0x4927();return _0x3522=function(_0x3522de,_0x261496){_0x3522de=_0x3522de-0x19c;let _0x2005f6=_0x4927b3[_0x3522de];return _0x2005f6;},_0x3522(_0x5ee105,_0x491b18);}import _0x153c6d from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x137ec6,BodyCollection as _0x525569}from'ckeditor5/src/ui.js';import{CKEditorError as _0x5a0d8e,DomEmitterMixin as _0x230705,keyCodes as _0x47dd14,Collection as _0x23a2a4}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x231138}from'lodash-es';function _0x4927(){const _0xfc5ac6=['cancel','first','execute','attach','get','15zvtZqo','annotations','ready','plugins','808vRBGpV','refresh','1926hiCVDx','delete','destroy','1149HSSgyM','clear','high','EditorAnnotations','addAnnotation','stop','create','length','low','set:container','northArrowSouthWest','NarrowSidebar','number','southArrowNorthWest','init','off','12GeqcTs','locale','view','uiUpdate','ck-sidebar--narrow','rearrange','context','defaultPositions','has','values','Esc','editors','mousedown','northArrowSouthEast','pin','_manuallyClosedAnnotationViews','addEventListener','setActiveAnnotation','resize','add','type','activeAnnotation','_refreshPositioning','15748pLCUTA','narrowSidebar','getOrderedSelectedAnnotations','1079VqpSOr','narrowsidebar-detach-not-attached','_annotations','_integrateWithEditorAnnotations','includes','_hideBalloon','focus','5749100LMSnVX','isVisible','target','keyCode','focusableElements','_showBalloon','detach','_selectedAnnotations','register','_detachFromContainer','refreshPositioning','element','preventDefault','preventClosingBalloon','attachToDom','change:container','annotationType','bind','narrowsidebar-attach-already-attached','removeEventListener','_destroyEditorAnnotationsIntegration','esc','find','2170500sKKuVb','bodyCollection','remove','getSidebarItemView','_attachToContainer','stopPropagation','stopListening','set','balloonPanelView','content','detachFromDom','815227rEGsxr','128871KHnzci','southArrowNorthEast','_updateBalloonPosition','getByView','change:height','_attachListeners','keydown','isDirty','blur','hasDomSelection','listenTo','northArrowSouth','_refreshPositioningDebounced','_setSelectedAnnotations','_detachListeners','_editorAnnotations','_domEmitter','unpin','isAttached','28545407qYhexR','southArrowNorth','from','contains','_annotationToNarrowView','requires','pluginName'];_0x4927=function(){return _0xfc5ac6;};return _0x4927();}export default class i extends _0x410d15{static get[_0x55f55e(0x202)](){return[_0x469e6f,_0x48fde4];}static get[_0x55f55e(0x203)](){const _0x43fa89=_0x55f55e;return _0x43fa89(0x1a1);}constructor(_0x2b84e9){const _0xdfe4b8=_0x55f55e;super(_0x2b84e9),this[_0xdfe4b8(0x1fc)]=!0x1,this[_0xdfe4b8(0x1b5)]=new Set(),this[_0xdfe4b8(0x1fa)]=Object[_0xdfe4b8(0x19c)](_0x230705),this[_0xdfe4b8(0x201)]=new Map(),this[_0xdfe4b8(0x1e5)](_0xdfe4b8(0x1bb),null),this[_0xdfe4b8(0x20a)]=null,this[_0xdfe4b8(0x1ce)]=[],this[_0xdfe4b8(0x1f9)]=new _0x23a2a4(),this[_0xdfe4b8(0x1f6)]=_0x231138(()=>{const _0x287c00=_0xdfe4b8;this[_0x287c00(0x1bc)]();},0xfa,{'leading':!0x1});}[_0x55f55e(0x1a4)](){const _0x2be5a7=_0x55f55e;this[_0x2be5a7(0x1ac)][_0x2be5a7(0x20c)][_0x2be5a7(0x208)](_0x48fde4)[_0x2be5a7(0x1cf)](_0x2be5a7(0x1be),this),this[_0x2be5a7(0x1df)]=new _0x525569(this[_0x2be5a7(0x1ac)][_0x2be5a7(0x1a7)]),this[_0x2be5a7(0x1e6)]=new _0x137ec6(this[_0x2be5a7(0x1ac)][_0x2be5a7(0x1a7)]),this[_0x2be5a7(0x1df)][_0x2be5a7(0x1d5)](),this[_0x2be5a7(0x1df)][_0x2be5a7(0x1b9)](this[_0x2be5a7(0x1e6)]);}[_0x55f55e(0x207)](_0x3b1861){const _0x26beb4=_0x55f55e;this[_0x26beb4(0x20a)]=_0x3b1861;const _0x3c91a3=this[_0x26beb4(0x1ac)][_0x26beb4(0x20c)][_0x26beb4(0x208)](_0x469e6f),_0x45dcc3=this[_0x26beb4(0x1e6)];if(_0x3c91a3[_0x26beb4(0x1c2)]=_0x3b1861,this[_0x26beb4(0x1fc)])throw new _0x5a0d8e(_0x26beb4(0x1d9),this);this[_0x26beb4(0x1fc)]=!0x0,this[_0x26beb4(0x1f4)](_0x3c91a3,_0x26beb4(0x19f),()=>{const _0x239e91=_0x26beb4;this[_0x239e91(0x1cd)](),this[_0x239e91(0x1f4)](_0x3c91a3,_0x239e91(0x1d6),_0x212863=>{const _0x5132bc=_0x239e91;_0x212863[_0x5132bc(0x1a5)](),this[_0x5132bc(0x207)](_0x3b1861);});}),_0x3c91a3[_0x26beb4(0x1e2)]({'viewClass':_0x26beb4(0x1aa),'spaceBetweenItems':0x5});const _0x4a7a5b=_0x183d26=>{const _0x5c584a=_0x26beb4,_0x5e2ca6=new _0x153c6d(this[_0x5c584a(0x1ac)][_0x5c584a(0x1a7)]);_0x3c91a3[_0x5c584a(0x216)](_0x183d26,_0x5e2ca6),this[_0x5c584a(0x201)][_0x5c584a(0x1e5)](_0x183d26,_0x5e2ca6),_0x5e2ca6[_0x5c584a(0x1d8)](_0x5c584a(0x1f1),_0x5c584a(0x1d7),_0x5c584a(0x1a2))['to'](_0x183d26[_0x5c584a(0x1a8)],_0x5c584a(0x1f1),_0x5c584a(0x1ba),_0x5c584a(0x19d)),_0x5e2ca6['on'](_0x5c584a(0x206),()=>{const _0x449b69=_0x5c584a;this[_0x449b69(0x1b5)][_0x449b69(0x213)](),_0x45dcc3[_0x449b69(0x1e7)][_0x449b69(0x205)]!==_0x183d26[_0x449b69(0x1a8)]?(this[_0x449b69(0x1cc)](_0x183d26),_0x183d26[_0x449b69(0x1a8)][_0x449b69(0x1d2)][_0x449b69(0x1c6)](),this[_0x449b69(0x1b7)](_0x183d26)):this[_0x449b69(0x1b7)](null);});};for(const _0x4b8e93 of _0x3b1861)_0x4a7a5b(_0x4b8e93);this[_0x26beb4(0x1f4)](_0x3b1861,_0x26beb4(0x1b9),(_0x356298,_0x384b31)=>{_0x4a7a5b(_0x384b31);}),this[_0x26beb4(0x1f4)](_0x3b1861,_0x26beb4(0x1e0),(_0x33c0fd,_0x19d1b1,_0x20e80c)=>{const _0x3cd566=_0x26beb4;this[_0x3cd566(0x201)][_0x3cd566(0x208)](_0x19d1b1)[_0x3cd566(0x211)](),this[_0x3cd566(0x201)][_0x3cd566(0x210)](_0x19d1b1),_0x3c91a3[_0x3cd566(0x1ab)]({'removedAnnotation':_0x19d1b1,'previousAnnotation':_0x3b1861[_0x3cd566(0x208)](_0x20e80c-0x1),'nextAnnotation':_0x3b1861[_0x3cd566(0x208)](_0x20e80c+0x1)}),_0x19d1b1===this[_0x3cd566(0x1bb)]&&this[_0x3cd566(0x1b7)](null);},{'priority':_0x26beb4(0x19e)}),this[_0x26beb4(0x1f4)](_0x3b1861,_0x26beb4(0x1c6),(_0x396f48,_0x4f8285)=>{const _0x3d3860=_0x26beb4;this[_0x3d3860(0x1b7)](_0x4f8285);}),this[_0x26beb4(0x1f4)](_0x3b1861,_0x26beb4(0x1f2),()=>{const _0x44a70e=_0x26beb4;this[_0x44a70e(0x1b7)](null);}),this[_0x26beb4(0x1fa)][_0x26beb4(0x1f4)](document,_0x26beb4(0x1f0),(_0x2c58db,_0x265ec7)=>{const _0x476057=_0x26beb4;_0x265ec7[_0x476057(0x1ca)]===_0x47dd14[_0x476057(0x1dc)]&&_0x45dcc3[_0x476057(0x1c8)]&&(this[_0x476057(0x1b5)][_0x476057(0x1b9)](_0x45dcc3[_0x476057(0x1e7)][_0x476057(0x205)]),this[_0x476057(0x1c5)](),_0x265ec7[_0x476057(0x1e3)](),_0x265ec7[_0x476057(0x1d3)]());}),this[_0x26beb4(0x1fa)][_0x26beb4(0x1f4)](document,_0x26beb4(0x1b2),(_0x39beb7,_0x152908)=>{const _0x3b41e5=_0x26beb4,_0x3ffdfa=_0x152908[_0x3b41e5(0x1c9)];_0x45dcc3[_0x3b41e5(0x1c8)]&&_0x45dcc3[_0x3b41e5(0x1d2)][_0x3b41e5(0x200)](_0x3ffdfa)||_0x3c91a3[_0x3b41e5(0x1a8)][_0x3b41e5(0x1d2)][_0x3b41e5(0x200)](_0x3ffdfa)||_0x39beb7[_0x3b41e5(0x1d4)]||this[_0x3b41e5(0x1bb)]&&this[_0x3b41e5(0x1bb)][_0x3b41e5(0x1cb)][_0x3b41e5(0x1dd)](_0x121e74=>_0x121e74[_0x3b41e5(0x200)](_0x3ffdfa))||(this[_0x3b41e5(0x1b5)][_0x3b41e5(0x213)](),this[_0x3b41e5(0x1c5)](),this[_0x3b41e5(0x1b7)](null));});const _0x2d4a26=this[_0x26beb4(0x1ac)]instanceof _0x38a0f6?this[_0x26beb4(0x1ac)][_0x26beb4(0x1b1)]:new _0x23a2a4([this[_0x26beb4(0x1ac)]]);for(const _0x25830f of _0x2d4a26)this[_0x26beb4(0x1c3)](_0x25830f);this[_0x26beb4(0x1f4)](_0x2d4a26,_0x26beb4(0x1b9),(_0x20c85b,_0x3afd82)=>{const _0x1d6380=_0x26beb4;this[_0x1d6380(0x1f4)](_0x3afd82,_0x1d6380(0x20b),()=>{const _0x27c161=_0x1d6380;this[_0x27c161(0x1c3)](_0x3afd82);});}),this[_0x26beb4(0x1f4)](_0x2d4a26,_0x26beb4(0x1e0),(_0x1bb42d,_0x5174cb)=>{const _0x1de2d3=_0x26beb4;_0x5174cb[_0x1de2d3(0x20c)][_0x1de2d3(0x1ae)](_0x1de2d3(0x215))&&this[_0x1de2d3(0x1db)](_0x5174cb[_0x1de2d3(0x20c)][_0x1de2d3(0x208)](_0x1de2d3(0x215)));}),window[_0x26beb4(0x1b6)](_0x26beb4(0x1b8),this[_0x26beb4(0x1f6)]),this[_0x26beb4(0x1bc)]();}[_0x55f55e(0x1b7)](_0xcbcc1c){const _0x37978e=_0x55f55e;if(_0xcbcc1c===this[_0x37978e(0x1bb)])return;const _0x3b9e41=this[_0x37978e(0x1ac)][_0x37978e(0x20c)][_0x37978e(0x208)](_0x469e6f);if(_0x3b9e41[_0x37978e(0x20e)]({'blurredAnnotation':this[_0x37978e(0x1bb)],'activatedAnnotation':_0xcbcc1c,'disableAnimationOnActivatedAnnotation':!0x0}),_0xcbcc1c)_0x3b9e41[_0x37978e(0x1e1)](_0xcbcc1c)?this[_0x37978e(0x1cc)](_0xcbcc1c):this[_0x37978e(0x1c5)]();else this[_0x37978e(0x1c5)]();this[_0x37978e(0x1bb)]=_0xcbcc1c;}[_0x55f55e(0x1cd)](){const _0x303110=_0x55f55e;if(!this[_0x303110(0x1fc)])throw new _0x5a0d8e(_0x303110(0x1c1),this);this[_0x303110(0x1b7)](null);const _0x1890c2=this[_0x303110(0x1ac)][_0x303110(0x20c)][_0x303110(0x208)](_0x469e6f);this[_0x303110(0x1c5)](),Array[_0x303110(0x1ff)](this[_0x303110(0x201)][_0x303110(0x1af)](),_0x13f269=>_0x13f269[_0x303110(0x211)]()),this[_0x303110(0x201)][_0x303110(0x213)](),_0x1890c2[_0x303110(0x1d0)](this[_0x303110(0x20a)]),this[_0x303110(0x1e4)](),this[_0x303110(0x1fa)][_0x303110(0x1e4)](),this[_0x303110(0x1ac)]instanceof _0x38a0f6&&this[_0x303110(0x1e4)](this[_0x303110(0x1ac)][_0x303110(0x1b1)]);for(const _0x2b8427 of Array[_0x303110(0x1ff)](this[_0x303110(0x1f9)]))this[_0x303110(0x1db)](_0x2b8427);window[_0x303110(0x1da)](_0x303110(0x1b8),this[_0x303110(0x1f6)]),this[_0x303110(0x1f6)][_0x303110(0x204)](),this[_0x303110(0x1ce)]=[],this[_0x303110(0x1fc)]=!0x1,this[_0x303110(0x20a)]=null;}[_0x55f55e(0x211)](){const _0x5d9e7e=_0x55f55e;this[_0x5d9e7e(0x1fc)]&&this[_0x5d9e7e(0x1cd)](),this[_0x5d9e7e(0x1df)][_0x5d9e7e(0x1e8)]();}[_0x55f55e(0x1c3)](_0xa9515d){const _0x99db2f=_0x55f55e;if(!_0xa9515d[_0x99db2f(0x20c)][_0x99db2f(0x1ae)](_0x99db2f(0x215)))return;const _0x13c468=_0xa9515d[_0x99db2f(0x20c)][_0x99db2f(0x208)](_0x99db2f(0x215)),_0x4596ae=this[_0x99db2f(0x1ac)][_0x99db2f(0x20c)][_0x99db2f(0x208)](_0x469e6f),_0x3462e6=this[_0x99db2f(0x20a)],_0x58e116=this[_0x99db2f(0x1e6)],_0x3bf518=()=>{const _0xa8998=_0x99db2f,_0x2e61c1=_0x13c468[_0xa8998(0x1bf)]({'annotations':this[_0xa8998(0x20a)],'activeAnnotation':this[_0xa8998(0x1bb)]});this[_0xa8998(0x1f7)](_0x2e61c1),this[_0xa8998(0x1b7)](_0x2e61c1[0x0]||null);};this[_0x99db2f(0x1f4)](_0x13c468,_0x99db2f(0x20e),_0x3bf518),this[_0x99db2f(0x1f4)](_0x13c468,_0x99db2f(0x1f2),(_0x44249b,{isAnnotationTracked:_0x51f3c2})=>{const _0x408d8c=_0x99db2f;this[_0x408d8c(0x1bb)]&&_0x51f3c2(this[_0x408d8c(0x1bb)])&&(this[_0x408d8c(0x1f7)]([]),this[_0x408d8c(0x1b7)](null));}),this[_0x99db2f(0x1f4)](_0x13c468,_0x99db2f(0x1a9),()=>{const _0x39831c=_0x99db2f;this[_0x39831c(0x1f6)]();}),this[_0x99db2f(0x1f4)](_0x3462e6,_0x99db2f(0x1f2),_0x4e1ee5=>{const _0x5245a8=_0x99db2f;_0x13c468[_0x5245a8(0x1f3)]()&&_0x4e1ee5[_0x5245a8(0x217)]();},{'priority':_0x99db2f(0x214)}),this[_0x99db2f(0x1f4)](this[_0x99db2f(0x1fa)],_0x99db2f(0x1b2),(_0x31d64d,_0x27f950)=>{const _0x43b9ae=_0x99db2f,_0x527a8e=_0x27f950[_0x43b9ae(0x1c9)];_0x58e116[_0x43b9ae(0x1c8)]&&_0x58e116[_0x43b9ae(0x1d2)][_0x43b9ae(0x200)](_0x527a8e)||_0x4596ae[_0x43b9ae(0x1a8)][_0x43b9ae(0x1d2)][_0x43b9ae(0x200)](_0x527a8e)||this[_0x43b9ae(0x1bb)]&&_0x13c468[_0x43b9ae(0x1f3)]()&&(_0x3bf518(),_0x31d64d[_0x43b9ae(0x1d4)]=!0x0);},{'priority':_0x99db2f(0x214)}),this[_0x99db2f(0x1f9)][_0x99db2f(0x1b9)](_0x13c468);}[_0x55f55e(0x1db)](_0x23f244){const _0x10043d=_0x55f55e;_0x23f244&&(this[_0x10043d(0x1e4)](_0x23f244),this[_0x10043d(0x1f9)][_0x10043d(0x1e0)](_0x23f244));}[_0x55f55e(0x1f7)](_0x1e60ef){const _0x3460d0=_0x55f55e;for(const _0x4b04b9 of this[_0x3460d0(0x1ce)])_0x1e60ef[_0x3460d0(0x1c4)](_0x4b04b9)||this[_0x3460d0(0x1b5)][_0x3460d0(0x210)](_0x4b04b9[_0x3460d0(0x1a8)]);this[_0x3460d0(0x1ce)]=_0x1e60ef;}[_0x55f55e(0x1bc)](){const _0x145979=_0x55f55e,_0x3e545f=this[_0x145979(0x1e6)];this[_0x145979(0x20a)][_0x145979(0x1d1)](),_0x3e545f[_0x145979(0x1c8)]&&this[_0x145979(0x1ec)]();}[_0x55f55e(0x1cc)](_0x2eb37a){const _0x132b31=_0x55f55e;if(this[_0x132b31(0x1b5)][_0x132b31(0x1ae)](_0x2eb37a[_0x132b31(0x1a8)]))return;const _0x3ed1f0=this[_0x132b31(0x1e6)][_0x132b31(0x1e7)][_0x132b31(0x205)];_0x3ed1f0!==_0x2eb37a[_0x132b31(0x1a8)]?(_0x3ed1f0&&this[_0x132b31(0x1f8)](_0x3ed1f0),this[_0x132b31(0x1ef)](_0x2eb37a[_0x132b31(0x1a8)]),this[_0x132b31(0x1e6)][_0x132b31(0x1e7)][_0x132b31(0x213)](),this[_0x132b31(0x1e6)][_0x132b31(0x1e7)][_0x132b31(0x1b9)](_0x2eb37a[_0x132b31(0x1a8)]),this[_0x132b31(0x1ec)]()):this[_0x132b31(0x1ec)]();}[_0x55f55e(0x1ec)](){const _0x376fb2=_0x55f55e,_0x30052a=this[_0x376fb2(0x1e6)][_0x376fb2(0x1e7)][_0x376fb2(0x205)],_0x1d015b=_0x30052a&&this[_0x376fb2(0x20a)][_0x376fb2(0x1ed)](_0x30052a);if(!_0x1d015b||!this[_0x376fb2(0x201)][_0x376fb2(0x1ae)](_0x1d015b))return;const _0x1710ab=this[_0x376fb2(0x201)][_0x376fb2(0x208)](_0x1d015b)[_0x376fb2(0x1d2)],_0x22495e=(function(){const _0x429807=_0x376fb2,_0x163bff=_0x137ec6[_0x429807(0x1ad)];return[_0x163bff[_0x429807(0x1eb)],_0x163bff[_0x429807(0x1b3)],_0x163bff[_0x429807(0x1fe)],_0x163bff[_0x429807(0x1f5)],_0x163bff[_0x429807(0x1a3)],_0x163bff[_0x429807(0x1a0)]];}());this[_0x376fb2(0x1e6)][_0x376fb2(0x1b4)]({'target':_0x1710ab,'positions':_0x22495e});}[_0x55f55e(0x1c5)](){const _0x4c795e=_0x55f55e,_0x28f1a3=this[_0x4c795e(0x1e6)],_0x4538a4=_0x28f1a3[_0x4c795e(0x1e7)][_0x4c795e(0x205)];_0x4538a4&&(this[_0x4c795e(0x1f8)](_0x4538a4),_0x28f1a3[_0x4c795e(0x1fb)](),_0x28f1a3[_0x4c795e(0x1e7)][_0x4c795e(0x213)]());}[_0x55f55e(0x1ef)](_0x460a25){const _0x27289e=_0x55f55e;this[_0x27289e(0x1f4)](_0x460a25,_0x27289e(0x1ee),()=>this[_0x27289e(0x1ec)]()),this[_0x27289e(0x1f4)](_0x460a25,_0x27289e(0x1b0),(_0x45ffb3,_0x25ae7d)=>{const _0x480321=_0x27289e;this[_0x480321(0x1b5)][_0x480321(0x1b9)](_0x460a25),this[_0x480321(0x1c5)](),_0x25ae7d();});}[_0x55f55e(0x1f8)](_0x3ae6d6){const _0x381f82=_0x55f55e;this[_0x381f82(0x1e4)](_0x3ae6d6);}}
@@ -7,7 +7,7 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
10
- import type { View } from 'ckeditor5/src/ui.js';
10
+ import type { FocusableView } from 'ckeditor5/src/ui.js';
11
11
  import SidebarView from './view/sidebarview.js';
12
12
  import SidebarItemView from './view/sidebaritemview.js';
13
13
  import type Annotation from './annotation.js';
@@ -88,7 +88,7 @@ export default class Sidebar extends ContextPlugin {
88
88
  * By default, annotation's view will be displayed in the sidebar. However, you can provide any other view
89
89
  * to be displayed instead using `annotationToDisplay`. `annotation` will be then used only to gather data needed by `Sidebar`.
90
90
  */
91
- addAnnotation(annotation: Annotation, viewToDisplay?: View): SidebarItemView;
91
+ addAnnotation(annotation: Annotation, viewToDisplay?: FocusableView): SidebarItemView;
92
92
  /**
93
93
  * Returns sidebar item view that wraps given annotation view.
94
94
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4122d6=_0x4200;(function(_0x485f8c,_0x5a9c01){const _0x3f05e2=_0x4200,_0x555546=_0x485f8c();while(!![]){try{const _0x3e2528=-parseInt(_0x3f05e2(0x16b))/0x1*(-parseInt(_0x3f05e2(0x157))/0x2)+-parseInt(_0x3f05e2(0x17b))/0x3*(parseInt(_0x3f05e2(0x13a))/0x4)+-parseInt(_0x3f05e2(0x176))/0x5+-parseInt(_0x3f05e2(0x139))/0x6*(-parseInt(_0x3f05e2(0x17e))/0x7)+parseInt(_0x3f05e2(0x147))/0x8+parseInt(_0x3f05e2(0x132))/0x9*(-parseInt(_0x3f05e2(0x13c))/0xa)+parseInt(_0x3f05e2(0x162))/0xb;if(_0x3e2528===_0x5a9c01)break;else _0x555546['push'](_0x555546['shift']());}catch(_0x814910){_0x555546['push'](_0x555546['shift']());}}}(_0x3b32,0x33094));import{ContextPlugin as _0x4e38d9}from'ckeditor5/src/core.js';import{Rect as _0x50a6a2,CKEditorError as _0x1f4b89}from'ckeditor5/src/utils.js';import _0x23c666 from'./view/sidebarview.js';import _0x1154c6 from'./view/sidebaritemview.js';export default class z extends _0x4e38d9{static get[_0x4122d6(0x12e)](){const _0x2e7618=_0x4122d6;return _0x2e7618(0x133);}constructor(_0x8bb4a1){const _0x2fde89=_0x4122d6;super(_0x8bb4a1),this[_0x2fde89(0x12c)](_0x2fde89(0x13d),void 0x0),this[_0x2fde89(0x15a)]=this[_0x2fde89(0x170)](),this[_0x2fde89(0x12c)](_0x2fde89(0x171),null),this[_0x2fde89(0x140)]=0x19,this[_0x2fde89(0x15b)]=new Map(),this[_0x2fde89(0x16c)]=new Map(),this[_0x2fde89(0x163)][_0x2fde89(0x166)][_0x2fde89(0x17c)](_0x2fde89(0x12b),!0x1),this[_0x2fde89(0x145)]=null,this[_0x2fde89(0x13f)]=null,this[_0x2fde89(0x12a)]=[];}[_0x4122d6(0x156)](){const _0xe7b6f4=_0x4122d6,_0xae8c63=this[_0xe7b6f4(0x163)][_0xe7b6f4(0x166)][_0xe7b6f4(0x14e)](_0xe7b6f4(0x154));_0xae8c63&&this[_0xe7b6f4(0x161)](_0xae8c63);}[_0x4122d6(0x161)](_0x5ca352){const _0x38f7e0=_0x4122d6;if(!y(_0x5ca352))throw new _0x1f4b89(_0x38f7e0(0x16a));this[_0x38f7e0(0x171)]=_0x5ca352;}[_0x4122d6(0x14a)]({viewClass:_0x51d1dc='',spaceBetweenItems:_0x26898d=0x19}={}){const _0x5cc37f=_0x4122d6;if(!y(this[_0x5cc37f(0x171)]))throw new _0x1f4b89(_0x5cc37f(0x141),this);this[_0x5cc37f(0x171)][_0x5cc37f(0x16f)](this[_0x5cc37f(0x15a)][_0x5cc37f(0x135)]),this[_0x5cc37f(0x15a)][_0x5cc37f(0x16e)]=_0x51d1dc,this[_0x5cc37f(0x140)]=_0x26898d;}[_0x4122d6(0x137)]({removedAnnotation:_0x5a29d6,previousAnnotation:_0x528800,nextAnnotation:_0x813801}){const _0x476485=_0x4122d6,_0x8c27c1=this[_0x476485(0x17f)](_0x5a29d6);this[_0x476485(0x15a)][_0x476485(0x15e)][_0x476485(0x14b)](_0x8c27c1),this[_0x476485(0x153)](_0x5a29d6),_0x528800&&this[_0x476485(0x128)](this[_0x476485(0x17f)](_0x528800)),_0x813801&&this[_0x476485(0x128)](this[_0x476485(0x17f)](_0x813801)),this[_0x476485(0x150)]();}[_0x4122d6(0x152)]({blurredAnnotation:_0x202552,activatedAnnotation:_0x11d309,disableAnimationOnActivatedAnnotation:_0x69dd25}){const _0x5ca7d1=_0x4122d6;if(this[_0x5ca7d1(0x13f)]=_0x11d309,_0x202552){_0x202552[_0x5ca7d1(0x12d)]=!0x1;const _0x2f65d8=this[_0x5ca7d1(0x17f)](_0x202552);_0x2f65d8&&_0x69dd25&&(_0x2f65d8[_0x5ca7d1(0x165)]=!0x1);}if(_0x11d309){const _0x56efb0=this[_0x5ca7d1(0x17f)](_0x11d309);_0x56efb0&&(_0x11d309[_0x5ca7d1(0x12d)]=!0x0,_0x69dd25&&(_0x56efb0[_0x5ca7d1(0x165)]=!0x0,_0x56efb0[_0x5ca7d1(0x17a)]+=0x1),this[_0x5ca7d1(0x128)](_0x56efb0));}}[_0x4122d6(0x134)](_0x1e1d17){const _0x1f4de8=_0x4122d6;if(this[_0x1f4de8(0x15a)][_0x1f4de8(0x135)][_0x1f4de8(0x14b)](),_0x1e1d17){for(const _0x33d5f8 of _0x1e1d17)this[_0x1f4de8(0x153)](_0x33d5f8);}this[_0x1f4de8(0x15a)][_0x1f4de8(0x15e)][_0x1f4de8(0x160)](),this[_0x1f4de8(0x15a)][_0x1f4de8(0x16e)]='',this[_0x1f4de8(0x13d)]=null;}[_0x4122d6(0x173)](_0x11f181,_0x4356fe){const _0x2c0f13=_0x4122d6;_0x4356fe||(_0x4356fe=_0x11f181[_0x2c0f13(0x15a)]);const _0x2cdb57=new _0x1154c6(this[_0x2c0f13(0x163)][_0x2c0f13(0x129)]);this[_0x2c0f13(0x15b)][_0x2c0f13(0x12c)](_0x2cdb57,_0x11f181),this[_0x2c0f13(0x16c)][_0x2c0f13(0x12c)](_0x11f181,_0x2cdb57),_0x2cdb57[_0x2c0f13(0x169)][_0x2c0f13(0x13e)](_0x4356fe),this[_0x2c0f13(0x14f)](_0x11f181[_0x2c0f13(0x15a)],_0x2c0f13(0x17d),(_0x29d00d,_0x43eca7,_0x3b8c32)=>{const _0x2706e1=_0x2c0f13,_0x228723=this[_0x2706e1(0x14d)](_0x11f181,_0x3b8c32);_0x2cdb57[_0x2706e1(0x16d)]!=_0x228723&&(_0x2cdb57[_0x2706e1(0x16d)]=_0x228723,this[_0x2706e1(0x167)](_0x2cdb57,_0x228723));}),this[_0x2c0f13(0x14f)](_0x2cdb57,_0x2c0f13(0x158),()=>{const _0x57e37b=_0x2c0f13;this[_0x57e37b(0x130)](_0x2cdb57,_0x57e37b(0x17a));}),this[_0x2c0f13(0x14f)](_0x2cdb57,_0x2c0f13(0x178),()=>{const _0x1339ec=_0x2c0f13;this[_0x1339ec(0x130)](_0x2cdb57,_0x1339ec(0x179));}),this[_0x2c0f13(0x128)](_0x2cdb57);const _0x2ad20e=this[_0x2c0f13(0x12f)](_0x2cdb57);if(_0x2ad20e)this[_0x2c0f13(0x15c)](_0x2ad20e,_0x2cdb57)||this[_0x2c0f13(0x128)](_0x2cdb57);else this[_0x2c0f13(0x128)](_0x2cdb57);return this[_0x2c0f13(0x150)](),this[_0x2c0f13(0x15a)][_0x2c0f13(0x15e)][_0x2c0f13(0x13e)](_0x2cdb57),_0x2cdb57;}[_0x4122d6(0x155)](_0xddadd){const _0x45d6ec=_0x4122d6;if(!_0xddadd[_0x45d6ec(0x169)][_0x45d6ec(0x164)])return;const _0xe8056e=this[_0x45d6ec(0x12f)](_0xddadd);if(!_0xe8056e)return;const _0x501b1a=this[_0x45d6ec(0x15b)][_0x45d6ec(0x14e)](_0xe8056e),_0x5d8b03=this[_0x45d6ec(0x13f)];_0x5d8b03&&_0x5d8b03===_0x501b1a?this[_0x45d6ec(0x15c)](_0xe8056e,_0xddadd):this[_0x45d6ec(0x180)](_0xddadd,_0xe8056e);}[_0x4122d6(0x138)](_0x3a7227){const _0x226284=_0x4122d6;if(!_0x3a7227[_0x226284(0x169)][_0x226284(0x164)])return;const _0x589f5d=this[_0x226284(0x131)](_0x3a7227);if(!_0x589f5d)return;const _0x304564=this[_0x226284(0x15b)][_0x226284(0x14e)](_0x589f5d),_0x70aca6=this[_0x226284(0x163)][_0x226284(0x166)][_0x226284(0x14e)](_0x226284(0x12b)),_0x56ed5e=this[_0x226284(0x13f)];_0x56ed5e&&_0x56ed5e===_0x304564&&_0x70aca6?(this[_0x226284(0x180)](_0x589f5d,_0x3a7227),this[_0x226284(0x15c)](_0x3a7227,_0x589f5d)):_0x56ed5e&&_0x56ed5e===_0x304564?this[_0x226284(0x180)](_0x589f5d,_0x3a7227):this[_0x226284(0x15c)](_0x3a7227,_0x589f5d);}[_0x4122d6(0x130)](_0x2e265b,_0x4c81be){const _0x4a5861=_0x4122d6;0x0===this[_0x4a5861(0x12a)][_0x4a5861(0x164)]&&setTimeout(()=>{const _0x2740ce=_0x4a5861;for(const {sidebarItemView:_0x432096,changedProp:_0xd27ab6}of this[_0x2740ce(0x12a)])_0x2740ce(0x17a)===_0xd27ab6?this[_0x2740ce(0x155)](_0x432096):this[_0x2740ce(0x138)](_0x432096);this[_0x2740ce(0x12a)]=[];},0xa),this[_0x4a5861(0x12a)][_0x4a5861(0x127)]({'sidebarItemView':_0x2e265b,'changedProp':_0x4c81be});}[_0x4122d6(0x17f)](_0x5c2b4a){const _0x3e2eb9=_0x4122d6;return this[_0x3e2eb9(0x16c)][_0x3e2eb9(0x14e)](_0x5c2b4a);}[_0x4122d6(0x14c)](){const _0xf1f30b=_0x4122d6;this[_0xf1f30b(0x177)](),this[_0xf1f30b(0x15a)][_0xf1f30b(0x14c)]();}[_0x4122d6(0x153)](_0x4d0aa0){const _0x56ded8=_0x4122d6,_0x275c13=this[_0x56ded8(0x17f)](_0x4d0aa0);this[_0x56ded8(0x177)](_0x275c13),this[_0x56ded8(0x177)](_0x4d0aa0[_0x56ded8(0x15a)]),_0x275c13[_0x56ded8(0x14c)](),this[_0x56ded8(0x16c)][_0x56ded8(0x172)](_0x4d0aa0),this[_0x56ded8(0x15b)][_0x56ded8(0x172)](_0x275c13);}[_0x4122d6(0x170)](){const _0x3d9b2d=_0x4122d6,_0x1ed30f=new _0x23c666(this[_0x3d9b2d(0x163)][_0x3d9b2d(0x129)]);return _0x1ed30f[_0x3d9b2d(0x144)](),this['on'](_0x3d9b2d(0x149),(_0xac4da4,_0x46edfe,_0x2bc7de,_0xe3a9d4)=>{const _0x9c07a5=_0x3d9b2d;_0xe3a9d4&&_0x1ed30f[_0x9c07a5(0x142)](_0x9c07a5(0x15d)),_0x2bc7de?_0x1ed30f[_0x9c07a5(0x151)](_0x9c07a5(0x15d))['to'](_0x2bc7de,_0x9c07a5(0x179)):_0x1ed30f[_0x9c07a5(0x15d)]=null;}),_0x1ed30f;}[_0x4122d6(0x150)](){const _0x422400=_0x4122d6;var _0x70f048;this[_0x422400(0x13d)]=(null===(_0x70f048=this[_0x422400(0x145)])||void 0x0===_0x70f048?void 0x0:_0x70f048[_0x422400(0x175)])?this[_0x422400(0x17f)](this[_0x422400(0x145)][_0x422400(0x175)]):null;}[_0x4122d6(0x12f)](_0x383687){const _0x47bb8a=_0x4122d6;var _0x2ea44a;const _0xb1f73c=this[_0x47bb8a(0x15b)][_0x47bb8a(0x14e)](_0x383687),_0x1a1dbf=_0xb1f73c&&(null===(_0x2ea44a=this[_0x47bb8a(0x145)])||void 0x0===_0x2ea44a?void 0x0:_0x2ea44a[_0x47bb8a(0x14e)](this[_0x47bb8a(0x145)][_0x47bb8a(0x15f)](_0xb1f73c)-0x1));return _0x1a1dbf&&this[_0x47bb8a(0x17f)](_0x1a1dbf)||null;}[_0x4122d6(0x131)](_0x1df3fc){const _0x4669ae=_0x4122d6;var _0x46ac16;const _0x54e62b=this[_0x4669ae(0x15b)][_0x4669ae(0x14e)](_0x1df3fc),_0x3bde77=_0x54e62b&&(null===(_0x46ac16=this[_0x4669ae(0x145)])||void 0x0===_0x46ac16?void 0x0:_0x46ac16[_0x4669ae(0x14e)](this[_0x4669ae(0x145)][_0x4669ae(0x15f)](_0x54e62b)+0x1));return _0x3bde77&&this[_0x4669ae(0x17f)](_0x3bde77)||null;}[_0x4122d6(0x180)](_0x3093d6,_0xbafa61){const _0x2d2d02=_0x4122d6;_0x3093d6[_0x2d2d02(0x148)]();const _0x26c341=M(_0xbafa61[_0x2d2d02(0x179)]+this[_0x2d2d02(0x140)],_0x3093d6[_0x2d2d02(0x17a)]);return!!_0x26c341&&(this[_0x2d2d02(0x167)](_0xbafa61,_0xbafa61[_0x2d2d02(0x17a)]-_0x26c341),!0x0);}[_0x4122d6(0x15c)](_0x274c3b,_0x65a076){const _0x40813d=_0x4122d6;_0x274c3b[_0x40813d(0x148)]();const _0x71a61a=M(_0x274c3b[_0x40813d(0x179)]+this[_0x40813d(0x140)],_0x65a076[_0x40813d(0x17a)]);return!!_0x71a61a&&(this[_0x40813d(0x167)](_0x65a076,_0x65a076[_0x40813d(0x17a)]+_0x71a61a,!0x1),!0x0);}[_0x4122d6(0x128)](_0x176571){const _0x5f27e0=_0x4122d6,_0x3ba9c3=this[_0x5f27e0(0x15b)][_0x5f27e0(0x14e)](_0x176571);if(!_0x3ba9c3||!_0x3ba9c3[_0x5f27e0(0x146)]||!_0x3ba9c3[_0x5f27e0(0x136)])return;const _0x4d1af1=this[_0x5f27e0(0x14d)](_0x3ba9c3,_0x3ba9c3[_0x5f27e0(0x136)]);this[_0x5f27e0(0x167)](_0x176571,_0x4d1af1);}[_0x4122d6(0x14d)](_0x50d807,_0x25f600){const _0x43301e=_0x4122d6;if(null===_0x25f600)return 0x0;if(_0x50d807[_0x43301e(0x146)]instanceof _0x50a6a2)return _0x25f600[_0x43301e(0x17a)];{const _0x2ace26=new _0x50a6a2(this[_0x43301e(0x15a)][_0x43301e(0x135)])[_0x43301e(0x17a)];return _0x25f600[_0x43301e(0x17a)]-_0x2ace26;}}[_0x4122d6(0x167)](_0x5af1e0,_0x1cb64e,_0x4936e1=this[_0x4122d6(0x163)][_0x4122d6(0x166)][_0x4122d6(0x14e)](_0x4122d6(0x12b))){const _0x5310bc=_0x4122d6;_0x4936e1&&(_0x1cb64e=Math[_0x5310bc(0x174)](_0x1cb64e,this[_0x5310bc(0x168)](_0x5af1e0))),_0x5af1e0[_0x5310bc(0x17a)]=_0x1cb64e;}[_0x4122d6(0x168)](_0x350032){const _0x229f54=_0x4122d6;let _0x4e94eb=this[_0x229f54(0x12f)](_0x350032),_0x222ca5=0x0;for(;_0x4e94eb;)_0x4e94eb[_0x229f54(0x148)](),_0x222ca5+=this[_0x229f54(0x140)]+_0x4e94eb[_0x229f54(0x13b)],_0x4e94eb=this[_0x229f54(0x12f)](_0x4e94eb);return _0x222ca5;}}function M(_0x491373,_0x38a4da){const _0x36bd3c=_0x4122d6;return Math[_0x36bd3c(0x174)](_0x491373-_0x38a4da,0x0);}function _0x4200(_0x386be2,_0x4975e1){const _0x3b3247=_0x3b32();return _0x4200=function(_0x4200c9,_0x1daa76){_0x4200c9=_0x4200c9-0x127;let _0x320266=_0x3b3247[_0x4200c9];return _0x320266;},_0x4200(_0x386be2,_0x4975e1);}function _0x3b32(){const _0x53ce2d=['change:top','object','view','_sidebarItemViewToAnnotation','_alignAfterItem','minHeight','list','getIndex','clear','setContainer','3179880loCZMz','context','length','isAnimationDisabled','config','_setItemTop','_getMaxAvailableTop','content','sidebar-setcontainer-invalid-element','2kvolJt','_annotationToSidebarItemView','_targetTop','class','appendChild','_createSidebarView','container','delete','addAnnotation','max','last','1865635URiDGi','stopListening','change:bottom','bottom','top','28311uAPbcm','define','change:targetRect','789131WKMScE','getSidebarItemView','_alignBeforeItem','push','_alignToTargetRect','locale','_recalculateBuffer','sidebar.preventScrollOutOfView','set','isActive','pluginName','_getItemBefore','_recalculate','_getItemAfter','675yVUTeM','Sidebar','_detachFromContainer','element','targetRect','rearrange','_alignForBottomChange','6TSHkmR','60tVtWtX','height','5470bvpEBg','_lastItem','add','_activeAnnotation','_spaceBetweenItems','sidebar-attachtocontainer-missing-container','unbind','nodeType','render','_annotations','target','943360fvGumy','updateHeight','change:_lastItem','_attachToContainer','remove','destroy','_getTargetTop','get','listenTo','_updateLastItem','bind','refresh','_destroySidebarItemView','sidebar.container','_alignForTopChange','init','245018qteobq'];_0x3b32=function(){return _0x53ce2d;};return _0x3b32();}function y(_0x1bbbd8){const _0xf89e6d=_0x4122d6;return null!==_0x1bbbd8&&_0xf89e6d(0x159)==typeof _0x1bbbd8&&0x1===_0x1bbbd8[_0xf89e6d(0x143)];}
23
+ const _0x1dad05=_0x59d6;(function(_0x51aac4,_0x3e5fc0){const _0x2d0e28=_0x59d6,_0xddfa64=_0x51aac4();while(!![]){try{const _0x58ced6=parseInt(_0x2d0e28(0x18e))/0x1*(-parseInt(_0x2d0e28(0x179))/0x2)+parseInt(_0x2d0e28(0x18b))/0x3*(parseInt(_0x2d0e28(0x1bb))/0x4)+-parseInt(_0x2d0e28(0x175))/0x5*(-parseInt(_0x2d0e28(0x1b5))/0x6)+parseInt(_0x2d0e28(0x193))/0x7*(-parseInt(_0x2d0e28(0x199))/0x8)+-parseInt(_0x2d0e28(0x178))/0x9*(parseInt(_0x2d0e28(0x1ae))/0xa)+parseInt(_0x2d0e28(0x1b1))/0xb*(-parseInt(_0x2d0e28(0x1a5))/0xc)+parseInt(_0x2d0e28(0x1c7))/0xd*(parseInt(_0x2d0e28(0x1c4))/0xe);if(_0x58ced6===_0x3e5fc0)break;else _0xddfa64['push'](_0xddfa64['shift']());}catch(_0x4d754d){_0xddfa64['push'](_0xddfa64['shift']());}}}(_0x519a,0x53de8));import{ContextPlugin as _0x14539d}from'ckeditor5/src/core.js';import{Rect as _0x5d2a08,CKEditorError as _0x530009}from'ckeditor5/src/utils.js';function _0x519a(){const _0x508e88=['unbind','change:_lastItem','getSidebarItemView','context','remove','_detachFromContainer','config','_spaceBetweenItems','init','delete','_updateLastItem','render','_alignAfterItem','minHeight','define','24oufWPL','target','listenTo','3383SpXWvd','_annotations','destroy','set','_alignForTopChange','8953BSEBfN','content','addAnnotation','isAnimationDisabled','element','_alignToTargetRect','80TyeXgg','sidebar.preventScrollOutOfView','updateHeight','_recalculateBuffer','isActive','_alignForBottomChange','_activeAnnotation','view','change:bottom','_targetTop','sidebar.container','_destroySidebarItemView','2904yRnzyp','_sidebarItemViewToAnnotation','push','change:top','get','targetRect','top','pluginName','rearrange','90GXqiej','clear','max','6743HHcGCZ','class','_getTargetTop','refresh','30KNhvBJ','_getItemBefore','sidebar-setcontainer-invalid-element','container','length','Sidebar','282488FJLfBx','height','last','_getItemAfter','bind','nodeType','locale','object','list','50638AvBVDr','add','appendChild','2990jYDUKA','setContainer','change:targetRect','stopListening','_createSidebarView','_setItemTop','_recalculate','_lastItem','sidebar-attachtocontainer-missing-container','_attachToContainer','_annotationToSidebarItemView','25145MBmBin','getIndex','_alignBeforeItem','237384mXaxje','402jbSHBM','_getMaxAvailableTop','bottom'];_0x519a=function(){return _0x508e88;};return _0x519a();}function _0x59d6(_0x39b02c,_0x51ee25){const _0x519ae5=_0x519a();return _0x59d6=function(_0x59d698,_0x22a5d9){_0x59d698=_0x59d698-0x16e;let _0xed51ed=_0x519ae5[_0x59d698];return _0xed51ed;},_0x59d6(_0x39b02c,_0x51ee25);}import _0x5d085f from'./view/sidebarview.js';import _0x183dd3 from'./view/sidebaritemview.js';export default class D extends _0x14539d{static get[_0x1dad05(0x1ac)](){const _0x219137=_0x1dad05;return _0x219137(0x1ba);}constructor(_0x1c28fe){const _0x8d788e=_0x1dad05;super(_0x1c28fe),this[_0x8d788e(0x191)](_0x8d788e(0x171),void 0x0),this[_0x8d788e(0x1a0)]=this[_0x8d788e(0x16e)](),this[_0x8d788e(0x191)](_0x8d788e(0x1b8),null),this[_0x8d788e(0x183)]=0x19,this[_0x8d788e(0x1a6)]=new Map(),this[_0x8d788e(0x174)]=new Map(),this[_0x8d788e(0x17f)][_0x8d788e(0x182)][_0x8d788e(0x18a)](_0x8d788e(0x19a),!0x1),this[_0x8d788e(0x18f)]=null,this[_0x8d788e(0x19f)]=null,this[_0x8d788e(0x19c)]=[];}[_0x1dad05(0x184)](){const _0x49a965=_0x1dad05,_0x1feae8=this[_0x49a965(0x17f)][_0x49a965(0x182)][_0x49a965(0x1a9)](_0x49a965(0x1a3));_0x1feae8&&this[_0x49a965(0x1c8)](_0x1feae8);}[_0x1dad05(0x1c8)](_0x437c69){const _0x39e4a7=_0x1dad05;if(!y(_0x437c69))throw new _0x530009(_0x39e4a7(0x1b7));this[_0x39e4a7(0x1b8)]=_0x437c69;}[_0x1dad05(0x173)]({viewClass:_0x25dde0='',spaceBetweenItems:_0x112bcc=0x19}={}){const _0x54dacc=_0x1dad05;if(!y(this[_0x54dacc(0x1b8)]))throw new _0x530009(_0x54dacc(0x172),this);this[_0x54dacc(0x1b8)][_0x54dacc(0x1c6)](this[_0x54dacc(0x1a0)][_0x54dacc(0x197)]),this[_0x54dacc(0x1a0)][_0x54dacc(0x1b2)]=_0x25dde0,this[_0x54dacc(0x183)]=_0x112bcc;}[_0x1dad05(0x1ad)]({removedAnnotation:_0x245402,previousAnnotation:_0x234c78,nextAnnotation:_0x56bf09}){const _0x2305e6=_0x1dad05,_0x587258=this[_0x2305e6(0x17e)](_0x245402);this[_0x2305e6(0x1a0)][_0x2305e6(0x1c3)][_0x2305e6(0x180)](_0x587258),this[_0x2305e6(0x1a4)](_0x245402),_0x234c78&&this[_0x2305e6(0x198)](this[_0x2305e6(0x17e)](_0x234c78)),_0x56bf09&&this[_0x2305e6(0x198)](this[_0x2305e6(0x17e)](_0x56bf09)),this[_0x2305e6(0x186)]();}[_0x1dad05(0x1b4)]({blurredAnnotation:_0x19a041,activatedAnnotation:_0x4231ad,disableAnimationOnActivatedAnnotation:_0x7a1302}){const _0x528f11=_0x1dad05;if(this[_0x528f11(0x19f)]=_0x4231ad,_0x19a041){_0x19a041[_0x528f11(0x19d)]=!0x1;const _0x2399b=this[_0x528f11(0x17e)](_0x19a041);_0x2399b&&_0x7a1302&&(_0x2399b[_0x528f11(0x196)]=!0x1);}if(_0x4231ad){const _0x1cf55a=this[_0x528f11(0x17e)](_0x4231ad);_0x1cf55a&&(_0x4231ad[_0x528f11(0x19d)]=!0x0,_0x7a1302&&(_0x1cf55a[_0x528f11(0x196)]=!0x0,_0x1cf55a[_0x528f11(0x1ab)]+=0x1),this[_0x528f11(0x198)](_0x1cf55a));}}[_0x1dad05(0x181)](_0x4219d7){const _0x37a702=_0x1dad05;if(this[_0x37a702(0x1a0)][_0x37a702(0x197)][_0x37a702(0x180)](),_0x4219d7){for(const _0x2e4f4c of _0x4219d7)this[_0x37a702(0x1a4)](_0x2e4f4c);}this[_0x37a702(0x1a0)][_0x37a702(0x1c3)][_0x37a702(0x1af)](),this[_0x37a702(0x1a0)][_0x37a702(0x1b2)]='',this[_0x37a702(0x171)]=null;}[_0x1dad05(0x195)](_0xe3f394,_0x3c6625){const _0x711e88=_0x1dad05;_0x3c6625||(_0x3c6625=_0xe3f394[_0x711e88(0x1a0)]);const _0x4181fa=new _0x183dd3(this[_0x711e88(0x17f)][_0x711e88(0x1c1)]);this[_0x711e88(0x1a6)][_0x711e88(0x191)](_0x4181fa,_0xe3f394),this[_0x711e88(0x174)][_0x711e88(0x191)](_0xe3f394,_0x4181fa),_0x4181fa[_0x711e88(0x194)][_0x711e88(0x1c5)](_0x3c6625),this[_0x711e88(0x18d)](_0xe3f394[_0x711e88(0x1a0)],_0x711e88(0x1c9),(_0x13d4e6,_0x586ce4,_0x1c3a04)=>{const _0x21af8e=_0x711e88,_0x71ffdc=this[_0x21af8e(0x1b3)](_0xe3f394,_0x1c3a04);_0x4181fa[_0x21af8e(0x1a2)]!=_0x71ffdc&&(_0x4181fa[_0x21af8e(0x1a2)]=_0x71ffdc,this[_0x21af8e(0x16f)](_0x4181fa,_0x71ffdc));}),this[_0x711e88(0x18d)](_0x4181fa,_0x711e88(0x1a8),()=>{const _0x1bc5d1=_0x711e88;this[_0x1bc5d1(0x170)](_0x4181fa,_0x1bc5d1(0x1ab));}),this[_0x711e88(0x18d)](_0x4181fa,_0x711e88(0x1a1),()=>{const _0x4ea45f=_0x711e88;this[_0x4ea45f(0x170)](_0x4181fa,_0x4ea45f(0x17b));}),this[_0x711e88(0x198)](_0x4181fa);const _0x454077=this[_0x711e88(0x1b6)](_0x4181fa);if(_0x454077)this[_0x711e88(0x188)](_0x454077,_0x4181fa)||this[_0x711e88(0x198)](_0x4181fa);else this[_0x711e88(0x198)](_0x4181fa);return this[_0x711e88(0x186)](),this[_0x711e88(0x1a0)][_0x711e88(0x1c3)][_0x711e88(0x1c5)](_0x4181fa),_0x4181fa;}[_0x1dad05(0x192)](_0x3e4fe1){const _0x1259b2=_0x1dad05;if(!_0x3e4fe1[_0x1259b2(0x194)][_0x1259b2(0x1b9)])return;const _0x5699c7=this[_0x1259b2(0x1b6)](_0x3e4fe1);if(!_0x5699c7)return;const _0x4e3ac8=this[_0x1259b2(0x1a6)][_0x1259b2(0x1a9)](_0x5699c7),_0x4cd5c9=this[_0x1259b2(0x19f)];_0x4cd5c9&&_0x4cd5c9===_0x4e3ac8?this[_0x1259b2(0x188)](_0x5699c7,_0x3e4fe1):this[_0x1259b2(0x177)](_0x3e4fe1,_0x5699c7);}[_0x1dad05(0x19e)](_0x3ca577){const _0x4fa789=_0x1dad05;if(!_0x3ca577[_0x4fa789(0x194)][_0x4fa789(0x1b9)])return;const _0x43421a=this[_0x4fa789(0x1be)](_0x3ca577);if(!_0x43421a)return;const _0x531fd0=this[_0x4fa789(0x1a6)][_0x4fa789(0x1a9)](_0x43421a),_0x485138=this[_0x4fa789(0x17f)][_0x4fa789(0x182)][_0x4fa789(0x1a9)](_0x4fa789(0x19a)),_0x371b92=this[_0x4fa789(0x19f)];_0x371b92&&_0x371b92===_0x531fd0&&_0x485138?(this[_0x4fa789(0x177)](_0x43421a,_0x3ca577),this[_0x4fa789(0x188)](_0x3ca577,_0x43421a)):_0x371b92&&_0x371b92===_0x531fd0?this[_0x4fa789(0x177)](_0x43421a,_0x3ca577):this[_0x4fa789(0x188)](_0x3ca577,_0x43421a);}[_0x1dad05(0x170)](_0x4196b6,_0x449bee){const _0x155fc9=_0x1dad05;0x0===this[_0x155fc9(0x19c)][_0x155fc9(0x1b9)]&&setTimeout(()=>{const _0x3b3ee0=_0x155fc9;for(const {sidebarItemView:_0x46395c,changedProp:_0x3dc30a}of this[_0x3b3ee0(0x19c)])_0x3b3ee0(0x1ab)===_0x3dc30a?this[_0x3b3ee0(0x192)](_0x46395c):this[_0x3b3ee0(0x19e)](_0x46395c);this[_0x3b3ee0(0x19c)]=[];},0xa),this[_0x155fc9(0x19c)][_0x155fc9(0x1a7)]({'sidebarItemView':_0x4196b6,'changedProp':_0x449bee});}[_0x1dad05(0x17e)](_0x4b6dbf){const _0xe59eaa=_0x1dad05;return this[_0xe59eaa(0x174)][_0xe59eaa(0x1a9)](_0x4b6dbf);}[_0x1dad05(0x190)](){const _0x5a9881=_0x1dad05;this[_0x5a9881(0x1ca)](),this[_0x5a9881(0x1a0)][_0x5a9881(0x190)]();}[_0x1dad05(0x1a4)](_0x49d71e){const _0x546142=_0x1dad05,_0x42b8b9=this[_0x546142(0x17e)](_0x49d71e);this[_0x546142(0x1ca)](_0x42b8b9),this[_0x546142(0x1ca)](_0x49d71e[_0x546142(0x1a0)]),_0x42b8b9[_0x546142(0x190)](),this[_0x546142(0x174)][_0x546142(0x185)](_0x49d71e),this[_0x546142(0x1a6)][_0x546142(0x185)](_0x42b8b9);}[_0x1dad05(0x16e)](){const _0x529a10=_0x1dad05,_0x2e41de=new _0x5d085f(this[_0x529a10(0x17f)][_0x529a10(0x1c1)]);return _0x2e41de[_0x529a10(0x187)](),this['on'](_0x529a10(0x17d),(_0x32c43a,_0x38a1f4,_0x4e5c9c,_0x2d618b)=>{const _0x5a5232=_0x529a10;_0x2d618b&&_0x2e41de[_0x5a5232(0x17c)](_0x5a5232(0x189)),_0x4e5c9c?_0x2e41de[_0x5a5232(0x1bf)](_0x5a5232(0x189))['to'](_0x4e5c9c,_0x5a5232(0x17b)):_0x2e41de[_0x5a5232(0x189)]=null;}),_0x2e41de;}[_0x1dad05(0x186)](){const _0x30465a=_0x1dad05;var _0x2e1610;this[_0x30465a(0x171)]=(null===(_0x2e1610=this[_0x30465a(0x18f)])||void 0x0===_0x2e1610?void 0x0:_0x2e1610[_0x30465a(0x1bd)])?this[_0x30465a(0x17e)](this[_0x30465a(0x18f)][_0x30465a(0x1bd)]):null;}[_0x1dad05(0x1b6)](_0x2bb9b9){const _0x4c79ef=_0x1dad05;var _0x19f517;const _0x1238e6=this[_0x4c79ef(0x1a6)][_0x4c79ef(0x1a9)](_0x2bb9b9),_0x5258ba=_0x1238e6&&(null===(_0x19f517=this[_0x4c79ef(0x18f)])||void 0x0===_0x19f517?void 0x0:_0x19f517[_0x4c79ef(0x1a9)](this[_0x4c79ef(0x18f)][_0x4c79ef(0x176)](_0x1238e6)-0x1));return _0x5258ba&&this[_0x4c79ef(0x17e)](_0x5258ba)||null;}[_0x1dad05(0x1be)](_0x11d797){const _0x1e5bdb=_0x1dad05;var _0x397993;const _0x281553=this[_0x1e5bdb(0x1a6)][_0x1e5bdb(0x1a9)](_0x11d797),_0x3b2cdb=_0x281553&&(null===(_0x397993=this[_0x1e5bdb(0x18f)])||void 0x0===_0x397993?void 0x0:_0x397993[_0x1e5bdb(0x1a9)](this[_0x1e5bdb(0x18f)][_0x1e5bdb(0x176)](_0x281553)+0x1));return _0x3b2cdb&&this[_0x1e5bdb(0x17e)](_0x3b2cdb)||null;}[_0x1dad05(0x177)](_0x12ba45,_0xcb2cd4){const _0x233ad6=_0x1dad05;_0x12ba45[_0x233ad6(0x19b)]();const _0xac87c9=H(_0xcb2cd4[_0x233ad6(0x17b)]+this[_0x233ad6(0x183)],_0x12ba45[_0x233ad6(0x1ab)]);return!!_0xac87c9&&(this[_0x233ad6(0x16f)](_0xcb2cd4,_0xcb2cd4[_0x233ad6(0x1ab)]-_0xac87c9),!0x0);}[_0x1dad05(0x188)](_0x2bf34d,_0x579859){const _0xdf8b94=_0x1dad05;_0x2bf34d[_0xdf8b94(0x19b)]();const _0x1a4808=H(_0x2bf34d[_0xdf8b94(0x17b)]+this[_0xdf8b94(0x183)],_0x579859[_0xdf8b94(0x1ab)]);return!!_0x1a4808&&(this[_0xdf8b94(0x16f)](_0x579859,_0x579859[_0xdf8b94(0x1ab)]+_0x1a4808,!0x1),!0x0);}[_0x1dad05(0x198)](_0xc2f9e4){const _0x3c85c3=_0x1dad05,_0x2a6575=this[_0x3c85c3(0x1a6)][_0x3c85c3(0x1a9)](_0xc2f9e4);if(!_0x2a6575||!_0x2a6575[_0x3c85c3(0x18c)]||!_0x2a6575[_0x3c85c3(0x1aa)])return;const _0x346ecb=this[_0x3c85c3(0x1b3)](_0x2a6575,_0x2a6575[_0x3c85c3(0x1aa)]);this[_0x3c85c3(0x16f)](_0xc2f9e4,_0x346ecb);}[_0x1dad05(0x1b3)](_0x3f23da,_0x55cfdf){const _0x2cd3be=_0x1dad05;if(null===_0x55cfdf)return 0x0;if(_0x3f23da[_0x2cd3be(0x18c)]instanceof _0x5d2a08)return _0x55cfdf[_0x2cd3be(0x1ab)];{const _0x310f81=new _0x5d2a08(this[_0x2cd3be(0x1a0)][_0x2cd3be(0x197)])[_0x2cd3be(0x1ab)];return _0x55cfdf[_0x2cd3be(0x1ab)]-_0x310f81;}}[_0x1dad05(0x16f)](_0x77e32c,_0x55f4dd,_0x305313=this[_0x1dad05(0x17f)][_0x1dad05(0x182)][_0x1dad05(0x1a9)](_0x1dad05(0x19a))){const _0x2c94f2=_0x1dad05;_0x305313&&(_0x55f4dd=Math[_0x2c94f2(0x1b0)](_0x55f4dd,this[_0x2c94f2(0x17a)](_0x77e32c))),_0x77e32c[_0x2c94f2(0x1ab)]=_0x55f4dd;}[_0x1dad05(0x17a)](_0x2ab586){const _0x51f887=_0x1dad05;let _0x59086b=this[_0x51f887(0x1b6)](_0x2ab586),_0x1f5883=0x0;for(;_0x59086b;)_0x59086b[_0x51f887(0x19b)](),_0x1f5883+=this[_0x51f887(0x183)]+_0x59086b[_0x51f887(0x1bc)],_0x59086b=this[_0x51f887(0x1b6)](_0x59086b);return _0x1f5883;}}function H(_0x5a4135,_0x43fe2d){const _0x285e1e=_0x1dad05;return Math[_0x285e1e(0x1b0)](_0x5a4135-_0x43fe2d,0x0);}function y(_0x543adc){const _0x563abf=_0x1dad05;return null!==_0x543adc&&_0x563abf(0x1c2)==typeof _0x543adc&&0x1===_0x543adc[_0x563abf(0x1c0)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4cfb(_0x2e810a,_0x1dab37){const _0x29c831=_0x29c8();return _0x4cfb=function(_0x4cfbeb,_0x56391a){_0x4cfbeb=_0x4cfbeb-0x16c;let _0x4143ab=_0x29c831[_0x4cfbeb];return _0x4143ab;},_0x4cfb(_0x2e810a,_0x1dab37);}(function(_0x39652c,_0x452806){const _0x591049=_0x4cfb,_0x5d9de8=_0x39652c();while(!![]){try{const _0x1ff374=-parseInt(_0x591049(0x173))/0x1+-parseInt(_0x591049(0x17d))/0x2+parseInt(_0x591049(0x16f))/0x3*(-parseInt(_0x591049(0x17c))/0x4)+-parseInt(_0x591049(0x183))/0x5*(parseInt(_0x591049(0x182))/0x6)+-parseInt(_0x591049(0x176))/0x7+-parseInt(_0x591049(0x17b))/0x8+-parseInt(_0x591049(0x174))/0x9*(-parseInt(_0x591049(0x185))/0xa);if(_0x1ff374===_0x452806)break;else _0x5d9de8['push'](_0x5d9de8['shift']());}catch(_0x315b2e){_0x5d9de8['push'](_0x5d9de8['shift']());}}}(_0x29c8,0x3eae6));function _0x29c8(){const _0x1653ea=['annotationType','add','toString','isDirty','set','setTemplate','3ZoPtMY','bind','ck-annotation-counter','number','276221RiGQVw','2340nbriHf','ck-annotation-counter__badge--edit-mode','1757784EramER','ck-annotation-counter__badge','extendTemplate','children','ck-annotation-counter__badge--','2513152SRoMaL','438356aJjzZq','256724TeLPtC','counterView','span','...','icon','480300ILtYgs','5OodBcR','bindTemplate','54470BTaTUa','_badge'];_0x29c8=function(){return _0x1653ea;};return _0x29c8();}import{ButtonView as _0x37e02a,View as _0x379671}from'ckeditor5/src/ui.js';import _0x1bf268 from'../../../theme/icons/add-comment.svg';export default class D extends _0x37e02a{constructor(_0x5a3a75){const _0x34775b=_0x4cfb;super(_0x5a3a75);const _0x48fcb1=this[_0x34775b(0x184)];this[_0x34775b(0x16d)](_0x34775b(0x16c),!0x1),this[_0x34775b(0x16d)](_0x34775b(0x172),0x0),this[_0x34775b(0x170)](_0x34775b(0x186))['to'](this,_0x34775b(0x16c),this,_0x34775b(0x172),(_0x5bc091,_0x40a735)=>_0x5bc091?_0x34775b(0x180):_0x40a735[_0x34775b(0x189)]()),this[_0x34775b(0x16d)](_0x34775b(0x187),''),this[_0x34775b(0x181)]=_0x1bf268,this[_0x34775b(0x178)]({'attributes':{'class':[_0x34775b(0x171)]}}),this[_0x34775b(0x17e)]=new _0x379671(),this[_0x34775b(0x17e)][_0x34775b(0x16e)]({'tag':_0x34775b(0x17f),'attributes':{'class':[_0x34775b(0x177),_0x48fcb1['to'](_0x34775b(0x187),_0x420ccd=>_0x34775b(0x17a)+_0x420ccd),_0x48fcb1['if'](_0x34775b(0x16c),_0x34775b(0x175))]},'children':[{'text':_0x48fcb1['to'](_0x34775b(0x186))}]}),this[_0x34775b(0x179)][_0x34775b(0x188)](this[_0x34775b(0x17e)]);}}
23
+ (function(_0x5e93c6,_0x319c14){const _0x38a59f=_0x5697,_0x2251d1=_0x5e93c6();while(!![]){try{const _0x417de3=-parseInt(_0x38a59f(0x1e5))/0x1*(parseInt(_0x38a59f(0x1e6))/0x2)+-parseInt(_0x38a59f(0x1f3))/0x3+-parseInt(_0x38a59f(0x1f4))/0x4+parseInt(_0x38a59f(0x1f1))/0x5+-parseInt(_0x38a59f(0x1e7))/0x6+parseInt(_0x38a59f(0x1e8))/0x7*(parseInt(_0x38a59f(0x1e4))/0x8)+-parseInt(_0x38a59f(0x1de))/0x9*(-parseInt(_0x38a59f(0x1f2))/0xa);if(_0x417de3===_0x319c14)break;else _0x2251d1['push'](_0x2251d1['shift']());}catch(_0x4c90de){_0x2251d1['push'](_0x2251d1['shift']());}}}(_0x1907,0x78bc9));import{ButtonView as _0x2e80c9,View as _0x334f62}from'ckeditor5/src/ui.js';function _0x5697(_0x3257de,_0x166db7){const _0x190734=_0x1907();return _0x5697=function(_0x569765,_0x299e80){_0x569765=_0x569765-0x1de;let _0xdc5425=_0x190734[_0x569765];return _0xdc5425;},_0x5697(_0x3257de,_0x166db7);}import _0x236c01 from'../../../theme/icons/add-comment.svg';export default class L extends _0x2e80c9{constructor(_0x2fd8f8){const _0x166ee4=_0x5697;super(_0x2fd8f8);const _0x212a36=this[_0x166ee4(0x1ef)];this[_0x166ee4(0x1f8)](_0x166ee4(0x1f9),!0x1),this[_0x166ee4(0x1f8)](_0x166ee4(0x1f7),0x0),this[_0x166ee4(0x1eb)](_0x166ee4(0x1e0))['to'](this,_0x166ee4(0x1f9),this,_0x166ee4(0x1f7),(_0x5b1cc7,_0xcdcabf)=>_0x5b1cc7?_0x166ee4(0x1e3):_0xcdcabf[_0x166ee4(0x1df)]()),this[_0x166ee4(0x1f8)](_0x166ee4(0x1e9),''),this[_0x166ee4(0x1ed)]=_0x236c01,this[_0x166ee4(0x1ec)]({'attributes':{'class':[_0x166ee4(0x1f5)]}}),this[_0x166ee4(0x1f0)]=new _0x334f62(),this[_0x166ee4(0x1f0)][_0x166ee4(0x1e2)]({'tag':_0x166ee4(0x1fb),'attributes':{'class':[_0x166ee4(0x1fa),_0x212a36['to'](_0x166ee4(0x1e9),_0x38aee4=>_0x166ee4(0x1ea)+_0x38aee4),_0x212a36['if'](_0x166ee4(0x1f9),_0x166ee4(0x1ee))]},'children':[{'text':_0x212a36['to'](_0x166ee4(0x1e0))}]}),this[_0x166ee4(0x1f6)][_0x166ee4(0x1e1)](this[_0x166ee4(0x1f0)]);}}function _0x1907(){const _0x340194=['extendTemplate','icon','ck-annotation-counter__badge--edit-mode','bindTemplate','counterView','3625195mfWNom','190TsEwlF','2112405YZKaoZ','1583812gJrrKR','ck-annotation-counter','children','number','set','isDirty','ck-annotation-counter__badge','span','469647qZOdUy','toString','_badge','add','setTemplate','...','2413592YlVymZ','1cYlLdn','639770oQuqre','622230VJIaPb','7hlUBvO','annotationType','ck-annotation-counter__badge--','bind'];_0x1907=function(){return _0x340194;};return _0x1907();}
@@ -6,7 +6,7 @@
6
6
  * @module comments/annotations/view/annotationview
7
7
  * @publicApi
8
8
  */
9
- import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type FocusableView, View, type ViewCollection } from 'ckeditor5/src/ui.js';
10
10
  import { FocusTracker, KeystrokeHandler, type Rect, type Locale } from 'ckeditor5/src/utils.js';
11
11
  import '../../../theme/annotation.css';
12
12
  /**
@@ -15,7 +15,7 @@ import '../../../theme/annotation.css';
15
15
  * It introduces functionalities that make the given view ready to be used as an annotation, such as focus tracking, height resizing,
16
16
  * and other observable properties that help share current annotation state across different UIs.
17
17
  */
18
- export default class AnnotationView extends View {
18
+ export default class AnnotationView extends View implements FocusableView {
19
19
  /**
20
20
  * Tracks focus on the annotation view.
21
21
  *
@@ -63,7 +63,7 @@ export default class AnnotationView extends View {
63
63
  /**
64
64
  * Collection for content views.
65
65
  */
66
- content: ViewCollection;
66
+ content: ViewCollection<FocusableView>;
67
67
  /**
68
68
  * The inner annotation view.
69
69
  */
@@ -85,6 +85,6 @@ export default class AnnotationView extends View {
85
85
  */
86
86
  focus(): void;
87
87
  }
88
- export interface AnnotationMainView extends View {
88
+ export interface AnnotationMainView extends FocusableView {
89
89
  isActive: boolean;
90
90
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc6ed(){const _0x206757=['_updateHeight','detach','6284204AKSXie','clear','9693oYqFyK','230068gfYDFm','listenTo','createCollection','focusTracker','keystrokes','length','div','6901115cNJjOK','ck-annotation-wrapper','add','_mutationObserver','isActive','set','9747304YfoYNa','clientHeight','height','element','43570LMgzrE','3049116skKvKq','9786822BWqdss','type','render','content','2JRDqqX','fire','Esc','ck-annotation-wrapper--active','mainView','isDirty','7rAJeVp','ck-rounded-corners','attach','focus','setTemplate','destroy','bindTemplate','targetRect'];_0xc6ed=function(){return _0x206757;};return _0xc6ed();}const _0x1b2ea2=_0x5263;(function(_0x5e80d2,_0x5b22d9){const _0x10e2b7=_0x5263,_0x23fa69=_0x5e80d2();while(!![]){try{const _0x15489d=-parseInt(_0x10e2b7(0x14d))/0x1*(-parseInt(_0x10e2b7(0x13a))/0x2)+-parseInt(_0x10e2b7(0x135))/0x3+-parseInt(_0x10e2b7(0x14a))/0x4+parseInt(_0x10e2b7(0x154))/0x5+-parseInt(_0x10e2b7(0x136))/0x6*(parseInt(_0x10e2b7(0x140))/0x7)+-parseInt(_0x10e2b7(0x130))/0x8+-parseInt(_0x10e2b7(0x14c))/0x9*(-parseInt(_0x10e2b7(0x134))/0xa);if(_0x15489d===_0x5b22d9)break;else _0x23fa69['push'](_0x23fa69['shift']());}catch(_0x4150e9){_0x23fa69['push'](_0x23fa69['shift']());}}}(_0xc6ed,0xd360f));import{View as _0x5328db}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3a4649,KeystrokeHandler as _0x503cc3,uid as _0x1d4126}from'ckeditor5/src/utils.js';import _0x24e0db from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x5263(_0x1913e3,_0x1cea88){const _0xc6ed7b=_0xc6ed();return _0x5263=function(_0x526314,_0x7660bf){_0x526314=_0x526314-0x12f;let _0x505e56=_0xc6ed7b[_0x526314];return _0x505e56;},_0x5263(_0x1913e3,_0x1cea88);}export default class V extends _0x5328db{constructor(_0x51b9bf,_0x4d38ea){const _0x16a524=_0x5263;super(_0x51b9bf),this['id']=_0x1d4126(),this[_0x16a524(0x150)]=new _0x3a4649(),this[_0x16a524(0x151)]=new _0x503cc3(),this[_0x16a524(0x151)][_0x16a524(0x12f)](_0x16a524(0x13c),(_0x46f7d5,_0x28ed28)=>this[_0x16a524(0x13b)](_0x16a524(0x13c),_0x28ed28)),this[_0x16a524(0x12f)](_0x16a524(0x147),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x16a524(0x12f)](_0x16a524(0x132),0x0),this[_0x16a524(0x12f)](_0x16a524(0x158),!0x1),this[_0x16a524(0x12f)](_0x16a524(0x13f),!0x1),this[_0x16a524(0x12f)](_0x16a524(0x152),0x0),this[_0x16a524(0x12f)](_0x16a524(0x137),''),this[_0x16a524(0x157)]=_0x24e0db(()=>this[_0x16a524(0x148)]()),this[_0x16a524(0x139)]=this[_0x16a524(0x14f)](),this[_0x16a524(0x139)][_0x16a524(0x156)](_0x4d38ea),this[_0x16a524(0x13e)]=_0x4d38ea;const _0x511198=this[_0x16a524(0x146)];this[_0x16a524(0x144)]({'tag':_0x16a524(0x153),'attributes':{'class':['ck',_0x16a524(0x155),_0x16a524(0x141),_0x511198['if'](_0x16a524(0x158),_0x16a524(0x13d))],'tabindex':-0x1},'children':this[_0x16a524(0x139)]});}[_0x1b2ea2(0x138)](){const _0x491483=_0x1b2ea2;super[_0x491483(0x138)](),this[_0x491483(0x150)][_0x491483(0x156)](this[_0x491483(0x133)]),this[_0x491483(0x151)][_0x491483(0x14e)](this[_0x491483(0x133)]),this[_0x491483(0x157)][_0x491483(0x142)](this[_0x491483(0x133)]);}[_0x1b2ea2(0x145)](){const _0x16f292=_0x1b2ea2;this[_0x16f292(0x139)][_0x16f292(0x14b)](),this[_0x16f292(0x151)][_0x16f292(0x145)](),this[_0x16f292(0x150)][_0x16f292(0x145)](),this[_0x16f292(0x157)][_0x16f292(0x149)](),super[_0x16f292(0x145)]();}[_0x1b2ea2(0x143)](){const _0x263d61=_0x1b2ea2;this[_0x263d61(0x133)][_0x263d61(0x143)]();}[_0x1b2ea2(0x148)](){const _0x3a66f1=_0x1b2ea2,_0x309ca6=this[_0x3a66f1(0x133)][_0x3a66f1(0x131)];_0x309ca6&&(this[_0x3a66f1(0x132)]=_0x309ca6);}}
23
+ function _0x2088(){const _0x500878=['_updateHeight','isActive','set','createCollection','470365GqvZys','presentation','539HtxvSB','div','type','clear','first','clientHeight','arrowup','7899yhMBUC','889011BSSdxP','content','_mutationObserver','ck-annotation-wrapper','length','focusTracker','Esc','focus','223373WUCopq','bindTemplate','element','attach','height','destroy','fire','4uAnlMG','2148zHtfeE','add','mainView','ck-rounded-corners','keystrokes','arrowdown','listenTo','106520IyJCMF','setTemplate','ck-annotation-wrapper--active','render','13zdiAoB','isDirty','20272368lWYaRh','176UInOEM','496ESgeuW','targetRect','24anJTRH','detach','delegate'];_0x2088=function(){return _0x500878;};return _0x2088();}const _0xf83963=_0x16fb;(function(_0x19df70,_0x10d274){const _0x45d054=_0x16fb,_0x5fa0cc=_0x19df70();while(!![]){try{const _0x42cc9d=-parseInt(_0x45d054(0x17f))/0x1*(parseInt(_0x45d054(0x154))/0x2)+-parseInt(_0x45d054(0x176))/0x3*(parseInt(_0x45d054(0x164))/0x4)+-parseInt(_0x45d054(0x16d))/0x5+parseInt(_0x45d054(0x155))/0x6*(-parseInt(_0x45d054(0x16f))/0x7)+parseInt(_0x45d054(0x166))/0x8*(-parseInt(_0x45d054(0x177))/0x9)+-parseInt(_0x45d054(0x15c))/0xa*(parseInt(_0x45d054(0x163))/0xb)+parseInt(_0x45d054(0x162))/0xc*(parseInt(_0x45d054(0x160))/0xd);if(_0x42cc9d===_0x10d274)break;else _0x5fa0cc['push'](_0x5fa0cc['shift']());}catch(_0x54a1a6){_0x5fa0cc['push'](_0x5fa0cc['shift']());}}}(_0x2088,0x50026));import{View as _0x58426a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x19ca3e,KeystrokeHandler as _0x45cfbf,uid as _0x4834ff}from'ckeditor5/src/utils.js';import _0x432d63 from'../../utils/createmutationobserver.js';function _0x16fb(_0x25d6a4,_0x1d662c){const _0x2088b7=_0x2088();return _0x16fb=function(_0x16fb15,_0x56237a){_0x16fb15=_0x16fb15-0x14f;let _0x53d71c=_0x2088b7[_0x16fb15];return _0x53d71c;},_0x16fb(_0x25d6a4,_0x1d662c);}import'../../../theme/annotation.css';export default class T extends _0x58426a{constructor(_0xc3caa0,_0x55b5b5){const _0x308c77=_0x16fb;super(_0xc3caa0),this['id']=_0x4834ff(),this[_0x308c77(0x17c)]=new _0x19ca3e(),this[_0x308c77(0x159)]=new _0x45cfbf(),this[_0x308c77(0x159)][_0x308c77(0x16b)](_0x308c77(0x17d),(_0x1a074,_0x4524ea)=>this[_0x308c77(0x153)](_0x308c77(0x17d),_0x4524ea)),this[_0x308c77(0x16b)](_0x308c77(0x165),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x308c77(0x16b)](_0x308c77(0x151),0x0),this[_0x308c77(0x16b)](_0x308c77(0x16a),!0x1),this[_0x308c77(0x16b)](_0x308c77(0x161),!0x1),this[_0x308c77(0x16b)](_0x308c77(0x17b),0x0),this[_0x308c77(0x16b)](_0x308c77(0x171),''),this[_0x308c77(0x179)]=_0x432d63(()=>this[_0x308c77(0x169)]()),this[_0x308c77(0x178)]=this[_0x308c77(0x16c)](),this[_0x308c77(0x178)][_0x308c77(0x168)](_0x308c77(0x175),_0x308c77(0x15a))['to'](this),this[_0x308c77(0x178)][_0x308c77(0x156)](_0x55b5b5),this[_0x308c77(0x157)]=_0x55b5b5;const _0x6bbc4=this[_0x308c77(0x180)];this[_0x308c77(0x15d)]({'tag':_0x308c77(0x170),'attributes':{'class':['ck',_0x308c77(0x17a),_0x308c77(0x158),_0x6bbc4['if'](_0x308c77(0x16a),_0x308c77(0x15e))],'role':_0x308c77(0x16e)},'children':this[_0x308c77(0x178)]});}[_0xf83963(0x15f)](){const _0x139353=_0xf83963;super[_0x139353(0x15f)](),this[_0x139353(0x17c)][_0x139353(0x156)](this[_0x139353(0x14f)]),this[_0x139353(0x159)][_0x139353(0x15b)](this[_0x139353(0x14f)]),this[_0x139353(0x179)][_0x139353(0x150)](this[_0x139353(0x14f)]);}[_0xf83963(0x152)](){const _0x4e5e0e=_0xf83963;this[_0x4e5e0e(0x178)][_0x4e5e0e(0x172)](),this[_0x4e5e0e(0x159)][_0x4e5e0e(0x152)](),this[_0x4e5e0e(0x17c)][_0x4e5e0e(0x152)](),this[_0x4e5e0e(0x179)][_0x4e5e0e(0x167)](),super[_0x4e5e0e(0x152)]();}[_0xf83963(0x17e)](){const _0xbf7479=_0xf83963;this[_0xbf7479(0x178)][_0xbf7479(0x173)]&&this[_0xbf7479(0x178)][_0xbf7479(0x173)][_0xbf7479(0x17e)]();}[_0xf83963(0x169)](){const _0x5b3103=_0xf83963,_0x2caa45=this[_0x5b3103(0x14f)][_0x5b3103(0x174)];_0x2caa45&&(this[_0x5b3103(0x151)]=_0x2caa45);}}
@@ -6,12 +6,12 @@
6
6
  * @module comments/annotations/view/sidebaritemview
7
7
  * @publicApi
8
8
  */
9
- import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { View, type ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
10
10
  import { type Locale } from 'ckeditor5/src/utils.js';
11
11
  /**
12
12
  * A wrapper view that wraps given {@link module:ui/view~View} to display it as a {@link module:comments/annotations/sidebar~Sidebar} item.
13
13
  */
14
- export default class SidebarItemView extends View {
14
+ export default class SidebarItemView extends View implements FocusableView {
15
15
  element: HTMLElement;
16
16
  /**
17
17
  * The item top offset.
@@ -35,7 +35,7 @@ export default class SidebarItemView extends View {
35
35
  /**
36
36
  * A collection of content views.
37
37
  */
38
- content: ViewCollection;
38
+ content: ViewCollection<FocusableView>;
39
39
  /**
40
40
  * @inheritDoc
41
41
  */
@@ -44,6 +44,10 @@ export default class SidebarItemView extends View {
44
44
  * @inheritDoc
45
45
  */
46
46
  render(): void;
47
+ /**
48
+ * @inheritDoc
49
+ */
50
+ focus(): void;
47
51
  /**
48
52
  * Updates {@link #height the height property} according to the element's DOM height.
49
53
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ea791=_0x1e11;function _0x1e11(_0x1462b0,_0x3a1f31){const _0x8bd23b=_0x8bd2();return _0x1e11=function(_0x1e11ef,_0x4ae992){_0x1e11ef=_0x1e11ef-0x15c;let _0x1a8929=_0x8bd23b[_0x1e11ef];return _0x1a8929;},_0x1e11(_0x1462b0,_0x3a1f31);}function _0x8bd2(){const _0x5b9729=['ck-sidebar-item--no-animation','15tTPWGB','setTemplate','element','top','updateHeight','355800whBhww','clear','_targetTop','15785wZbQQQ','attach','div','isAnimationDisabled','ck-sidebar-item','content','set','height','12GlniZm','clientHeight','bind','8FBiahx','createCollection','render','bottom','bindTemplate','1114108brvxAn','5020TmFcOq','3211989lkPhnH','1809647rBAVbV','2111031aotXMR','226086sSrbbE','_mutationObserver','detach','destroy'];_0x8bd2=function(){return _0x5b9729;};return _0x8bd2();}(function(_0x5e2540,_0x28097b){const _0x33b9bc=_0x1e11,_0x23c0b9=_0x5e2540();while(!![]){try{const _0x15f7fc=-parseInt(_0x33b9bc(0x176))/0x1+-parseInt(_0x33b9bc(0x17b))/0x2+parseInt(_0x33b9bc(0x178))/0x3+-parseInt(_0x33b9bc(0x163))/0x4*(parseInt(_0x33b9bc(0x15e))/0x5)+-parseInt(_0x33b9bc(0x16e))/0x6*(-parseInt(_0x33b9bc(0x179))/0x7)+parseInt(_0x33b9bc(0x171))/0x8*(-parseInt(_0x33b9bc(0x17a))/0x9)+parseInt(_0x33b9bc(0x177))/0xa*(parseInt(_0x33b9bc(0x166))/0xb);if(_0x15f7fc===_0x28097b)break;else _0x23c0b9['push'](_0x23c0b9['shift']());}catch(_0x88eaeb){_0x23c0b9['push'](_0x23c0b9['shift']());}}}(_0x8bd2,0x8d7bb));import{View as _0x548a32}from'ckeditor5/src/ui.js';import{toUnit as _0x32e7bc}from'ckeditor5/src/utils.js';import _0x120819 from'../../utils/createmutationobserver.js';const qt=_0x32e7bc('px');export default class C extends _0x548a32{constructor(_0x406726){const _0x3a5b71=_0x1e11;super(_0x406726),this[_0x3a5b71(0x16c)](_0x3a5b71(0x161),0x0),this[_0x3a5b71(0x16c)](_0x3a5b71(0x16d),0x0),this[_0x3a5b71(0x170)](_0x3a5b71(0x174))['to'](this,_0x3a5b71(0x161),this,_0x3a5b71(0x16d),(_0x3963a5,_0xe6cbd8)=>_0x3963a5+_0xe6cbd8),this[_0x3a5b71(0x16c)](_0x3a5b71(0x169),!0x1),this[_0x3a5b71(0x17c)]=_0x120819(()=>this[_0x3a5b71(0x162)]()),this[_0x3a5b71(0x165)]=null,this[_0x3a5b71(0x16b)]=this[_0x3a5b71(0x172)]();const _0x2f7e66=this[_0x3a5b71(0x175)];this[_0x3a5b71(0x15f)]({'tag':_0x3a5b71(0x168),'attributes':{'class':[_0x3a5b71(0x16a),_0x2f7e66['to'](_0x3a5b71(0x169),_0x38c07a=>_0x38c07a?_0x3a5b71(0x15d):'')],'style':{'top':_0x2f7e66['to'](_0x3a5b71(0x161),_0x1d28c2=>qt(_0x1d28c2))}},'children':this[_0x3a5b71(0x16b)]});}[_0x1ea791(0x173)](){const _0x1e14fa=_0x1ea791;super[_0x1e14fa(0x173)](),this[_0x1e14fa(0x17c)][_0x1e14fa(0x167)](this[_0x1e14fa(0x160)]);}[_0x1ea791(0x162)](){const _0x1667af=_0x1ea791,_0x26b5c2=this[_0x1667af(0x160)][_0x1667af(0x16f)];_0x26b5c2&&(this[_0x1667af(0x16d)]=_0x26b5c2);}[_0x1ea791(0x15c)](){const _0x3e852b=_0x1ea791;this[_0x3e852b(0x16b)][_0x3e852b(0x164)](),this[_0x3e852b(0x17c)][_0x3e852b(0x17d)](),super[_0x3e852b(0x15c)]();}}
23
+ const _0x578867=_0x59fa;function _0x5b56(){const _0x4713de=['2ylcuCR','15508fsHqxC','attach','destroy','detach','_mutationObserver','clear','8cDvmvH','content','isAnimationDisabled','ck-sidebar-item--no-animation','set','arrowup','setTemplate','createCollection','ck-sidebar-item','element','presentation','arrowdown','_targetTop','bottom','363144IZpaCn','updateHeight','focus','bindTemplate','875268LnnTOj','964158valEWj','15tYWHAo','delegate','height','render','915870BgaFXC','top','bind','first','clientHeight','620154JKrbxH','940331QRBpJQ','div'];_0x5b56=function(){return _0x4713de;};return _0x5b56();}(function(_0xb6f8fd,_0x31804a){const _0x5a2dea=_0x59fa,_0x496f3d=_0xb6f8fd();while(!![]){try{const _0xb17e50=parseInt(_0x5a2dea(0x1a5))/0x1*(parseInt(_0x5a2dea(0x1a4))/0x2)+-parseInt(_0x5a2dea(0x197))/0x3+parseInt(_0x5a2dea(0x192))/0x4*(parseInt(_0x5a2dea(0x198))/0x5)+parseInt(_0x5a2dea(0x1a1))/0x6+-parseInt(_0x5a2dea(0x1a2))/0x7*(-parseInt(_0x5a2dea(0x1ab))/0x8)+-parseInt(_0x5a2dea(0x196))/0x9+parseInt(_0x5a2dea(0x19c))/0xa;if(_0xb17e50===_0x31804a)break;else _0x496f3d['push'](_0x496f3d['shift']());}catch(_0x2475ab){_0x496f3d['push'](_0x496f3d['shift']());}}}(_0x5b56,0x3076b));import{View as _0x3556a3}from'ckeditor5/src/ui.js';import{toUnit as _0x235338}from'ckeditor5/src/utils.js';import _0x172f95 from'../../utils/createmutationobserver.js';const qt=_0x235338('px');function _0x59fa(_0x265639,_0x1d4bf1){const _0x5b56ce=_0x5b56();return _0x59fa=function(_0x59fa90,_0xf058f8){_0x59fa90=_0x59fa90-0x18b;let _0x18d899=_0x5b56ce[_0x59fa90];return _0x18d899;},_0x59fa(_0x265639,_0x1d4bf1);}export default class M extends _0x3556a3{constructor(_0x4e6986){const _0x52c415=_0x59fa;super(_0x4e6986),this[_0x52c415(0x1af)](_0x52c415(0x19d),0x0),this[_0x52c415(0x1af)](_0x52c415(0x19a),0x0),this[_0x52c415(0x19e)](_0x52c415(0x191))['to'](this,_0x52c415(0x19d),this,_0x52c415(0x19a),(_0x50b05f,_0x2eeb75)=>_0x50b05f+_0x2eeb75),this[_0x52c415(0x1af)](_0x52c415(0x1ad),!0x1),this[_0x52c415(0x1a9)]=_0x172f95(()=>this[_0x52c415(0x193)]()),this[_0x52c415(0x190)]=null,this[_0x52c415(0x1ac)]=this[_0x52c415(0x18b)](),this[_0x52c415(0x1ac)][_0x52c415(0x199)](_0x52c415(0x1b0),_0x52c415(0x18f))['to'](this);const _0x2d8f75=this[_0x52c415(0x195)];this[_0x52c415(0x1b1)]({'tag':_0x52c415(0x1a3),'attributes':{'class':[_0x52c415(0x18c),_0x2d8f75['to'](_0x52c415(0x1ad),_0x1ad393=>_0x1ad393?_0x52c415(0x1ae):'')],'style':{'top':_0x2d8f75['to'](_0x52c415(0x19d),_0x36dc7e=>qt(_0x36dc7e))},'role':_0x52c415(0x18e)},'children':this[_0x52c415(0x1ac)]});}[_0x578867(0x19b)](){const _0x111c66=_0x578867;super[_0x111c66(0x19b)](),this[_0x111c66(0x1a9)][_0x111c66(0x1a6)](this[_0x111c66(0x18d)]);}[_0x578867(0x194)](){const _0x307e7b=_0x578867;this[_0x307e7b(0x1ac)][_0x307e7b(0x19f)]&&this[_0x307e7b(0x1ac)][_0x307e7b(0x19f)][_0x307e7b(0x194)]();}[_0x578867(0x193)](){const _0x5d5ed0=_0x578867,_0x6ab166=this[_0x5d5ed0(0x18d)][_0x5d5ed0(0x1a0)];_0x6ab166&&(this[_0x5d5ed0(0x19a)]=_0x6ab166);}[_0x578867(0x1a7)](){const _0x194b1a=_0x578867;this[_0x194b1a(0x1ac)][_0x194b1a(0x1aa)](),this[_0x194b1a(0x1a9)][_0x194b1a(0x1a8)](),super[_0x194b1a(0x1a7)]();}}
@@ -6,13 +6,14 @@
6
6
  * @module comments/annotations/view/sidebarview
7
7
  * @publicApi
8
8
  */
9
- import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
10
- import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View, FocusCycler, type ViewCollection, type ViewWithFocusCycler } from 'ckeditor5/src/ui.js';
10
+ import { FocusTracker, type Locale } from 'ckeditor5/src/utils.js';
11
+ import type SidebarItemView from './sidebaritemview.js';
11
12
  import '../../../theme/sidebar.css';
12
13
  /**
13
14
  * The sidebar view class that displays the collection of sidebar item views.
14
15
  */
15
- export default class SidebarView extends View {
16
+ export default class SidebarView extends View implements ViewWithFocusCycler {
16
17
  /**
17
18
  * @observable
18
19
  */
@@ -24,9 +25,29 @@ export default class SidebarView extends View {
24
25
  /**
25
26
  * A collection of sidebar item views.
26
27
  */
27
- list: ViewCollection;
28
+ list: ViewCollection<SidebarItemView>;
29
+ /**
30
+ * A collection of focusable views in the sidebar.
31
+ */
32
+ focusables: ViewCollection<SidebarItemView>;
33
+ /**
34
+ * Tracks information about DOM focus among sidebar item views.
35
+ */
36
+ readonly focusTracker: FocusTracker;
37
+ /**
38
+ * Helps cycling over {@link #focusables focusable items} in the sidebar.
39
+ */
40
+ readonly focusCycler: FocusCycler;
28
41
  /**
29
42
  * @inheritDoc
30
43
  */
31
44
  constructor(locale: Locale);
45
+ /**
46
+ * @inheritDoc
47
+ */
48
+ render(): void;
49
+ /**
50
+ * @inheritDoc
51
+ */
52
+ focus(): void;
32
53
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x53fbc3,_0x4fc5d0){const _0x2f317b=_0x4292,_0x457ee5=_0x53fbc3();while(!![]){try{const _0x4eb5ae=-parseInt(_0x2f317b(0x9f))/0x1+parseInt(_0x2f317b(0x8f))/0x2*(parseInt(_0x2f317b(0xa0))/0x3)+-parseInt(_0x2f317b(0x99))/0x4+-parseInt(_0x2f317b(0x98))/0x5+-parseInt(_0x2f317b(0x9e))/0x6+parseInt(_0x2f317b(0x95))/0x7+-parseInt(_0x2f317b(0x97))/0x8*(-parseInt(_0x2f317b(0xa1))/0x9);if(_0x4eb5ae===_0x4fc5d0)break;else _0x457ee5['push'](_0x457ee5['shift']());}catch(_0x4b4a46){_0x457ee5['push'](_0x457ee5['shift']());}}}(_0x3289,0x40eb9));function _0x3289(){const _0x2ea47f=['199614GeDgXH','bindTemplate','minHeight','ck-reset','createCollection','list','1993362QllbkV','set','248aVOWQm','255555ZYlNiq','1585108WaIWFI','ck-sidebar','setTemplate','number','div','1459014gnXYOD','131839VewABb','9Ypxpjm','146358UGDznP','class'];_0x3289=function(){return _0x2ea47f;};return _0x3289();}import{View as _0x37419a}from'ckeditor5/src/ui.js';import{toUnit as _0x5af84b}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const qt=_0x5af84b('px');function _0x4292(_0x17f03c,_0x1a4ecd){const _0x32897a=_0x3289();return _0x4292=function(_0x4292aa,_0x325c88){_0x4292aa=_0x4292aa-0x8e;let _0x4303c8=_0x32897a[_0x4292aa];return _0x4303c8;},_0x4292(_0x17f03c,_0x1a4ecd);}export default class T extends _0x37419a{constructor(_0x4c04c2){const _0x14e95d=_0x4292;super(_0x4c04c2);const _0x409c70=this[_0x14e95d(0x90)];this[_0x14e95d(0x96)](_0x14e95d(0x91),0x0),this[_0x14e95d(0x96)](_0x14e95d(0x8e),''),this[_0x14e95d(0x94)]=this[_0x14e95d(0x93)](),this[_0x14e95d(0x9b)]({'tag':_0x14e95d(0x9d),'attributes':{'class':['ck',_0x14e95d(0x9a),_0x14e95d(0x92),_0x409c70['to'](_0x14e95d(0x8e))],'style':{'minHeight':_0x409c70['to'](_0x14e95d(0x91),_0x2d6937=>_0x14e95d(0x9c)==typeof _0x2d6937?qt(_0x2d6937+0xa):null)}},'children':this[_0x14e95d(0x94)]});}}
23
+ const _0x534776=_0x55d9;(function(_0x4b2208,_0xb1cc27){const _0x388cd1=_0x55d9,_0x13ab5a=_0x4b2208();while(!![]){try{const _0x42be3e=-parseInt(_0x388cd1(0x127))/0x1*(parseInt(_0x388cd1(0x117))/0x2)+parseInt(_0x388cd1(0x123))/0x3*(parseInt(_0x388cd1(0x10d))/0x4)+parseInt(_0x388cd1(0x12f))/0x5+-parseInt(_0x388cd1(0x11b))/0x6*(parseInt(_0x388cd1(0x109))/0x7)+-parseInt(_0x388cd1(0x132))/0x8*(parseInt(_0x388cd1(0x120))/0x9)+parseInt(_0x388cd1(0x136))/0xa+-parseInt(_0x388cd1(0x112))/0xb;if(_0x42be3e===_0xb1cc27)break;else _0x13ab5a['push'](_0x13ab5a['shift']());}catch(_0x1e6834){_0x13ab5a['push'](_0x13ab5a['shift']());}}}(_0x2e52,0xb1491));function _0x2e52(){const _0x31042a=['list','focusNext','159amhrAN','focus','bindTemplate','listenTo','ck-sidebar','focusables','Annotations\x20list','remove','6527280owUCIc','minHeight','delegate','120oPDTph','added','top','render','9924890GaGdpu','focusPrevious','source','class','getIndex','forEach','div','77JnKQHA','number','Annotations\x20sidebar','application','1088SYxzvN','change:top','ck-reset','element','setTemplate','10216547nwHsgz','_updateItemPositionInFocusables','arrowdown','length','change','4286ORAlPY','focusCycler','createCollection','add','15906KeXUzb','focusFirst','_setupKeyboardNavigation','focusTracker','removed','445059LkkOGx','uiLanguageDirection','arrowup','5169vsdmKC','set'];_0x2e52=function(){return _0x31042a;};return _0x2e52();}import{View as _0xecc003,FocusCycler as _0x3f5407}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5a825a,toUnit as _0x202d68}from'ckeditor5/src/utils.js';import{getTranslation as _0x279da8}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x202d68('px');function _0x55d9(_0x4d0934,_0x20e5bc){const _0x2e527e=_0x2e52();return _0x55d9=function(_0x55d923,_0x4db85c){_0x55d923=_0x55d923-0x104;let _0x4312f1=_0x2e527e[_0x55d923];return _0x4312f1;},_0x55d9(_0x4d0934,_0x20e5bc);}export default class V extends _0xecc003{constructor(_0x2de572){const _0x1f8ac8=_0x55d9;super(_0x2de572);const _0x51d9cf=this[_0x1f8ac8(0x129)];this[_0x1f8ac8(0x124)](_0x1f8ac8(0x130),0x0),this[_0x1f8ac8(0x124)](_0x1f8ac8(0x105),''),this[_0x1f8ac8(0x125)]=this[_0x1f8ac8(0x119)](),this[_0x1f8ac8(0x12c)]=this[_0x1f8ac8(0x119)](),this[_0x1f8ac8(0x125)][_0x1f8ac8(0x131)](_0x1f8ac8(0x122),_0x1f8ac8(0x114))['to'](this),this[_0x1f8ac8(0x11e)]=new _0x5a825a(),this[_0x1f8ac8(0x118)]=new _0x3f5407({'focusables':this[_0x1f8ac8(0x12c)],'focusTracker':this[_0x1f8ac8(0x11e)]}),this[_0x1f8ac8(0x111)]({'tag':_0x1f8ac8(0x108),'attributes':{'class':['ck',_0x1f8ac8(0x12b),_0x1f8ac8(0x10f),_0x51d9cf['to'](_0x1f8ac8(0x105))],'style':{'minHeight':_0x51d9cf['to'](_0x1f8ac8(0x130),_0x596769=>_0x1f8ac8(0x10a)==typeof _0x596769?qt(_0x596769+0xa):null)},'dir':_0x2de572[_0x1f8ac8(0x121)],'role':_0x1f8ac8(0x10c),'aria-label':_0x279da8(_0x2de572,_0x1f8ac8(0x10b)),'tabindex':0x0},'children':[{'tag':_0x1f8ac8(0x108),'attributes':{'role':_0x1f8ac8(0x125),'aria-label':_0x279da8(_0x2de572,_0x1f8ac8(0x12d))},'children':this[_0x1f8ac8(0x125)]}]});}[_0x534776(0x135)](){const _0x14836a=_0x534776;super[_0x14836a(0x135)](),this[_0x14836a(0x11d)]();}[_0x534776(0x128)](){const _0x53748b=_0x534776;this[_0x53748b(0x118)][_0x53748b(0x11c)]();}[_0x534776(0x11d)](){const _0x4f3750=_0x534776;this[_0x4f3750(0x125)][_0x4f3750(0x131)](_0x4f3750(0x10e))['to'](this),this['on'](_0x4f3750(0x10e),_0x8ac07=>{const _0x4f40b5=_0x4f3750;this[_0x4f40b5(0x113)](_0x8ac07[_0x4f40b5(0x104)]);}),this[_0x4f3750(0x125)][_0x4f3750(0x107)](_0x2ff246=>{const _0x3e89fe=_0x4f3750;this[_0x3e89fe(0x11e)][_0x3e89fe(0x11a)](_0x2ff246[_0x3e89fe(0x110)]),this[_0x3e89fe(0x113)](_0x2ff246);}),this[_0x4f3750(0x125)]['on'](_0x4f3750(0x116),(_0x26d953,_0x4043db)=>{const _0x341041=_0x4f3750;for(const _0x1f1e25 of _0x4043db[_0x341041(0x11f)])this[_0x341041(0x11e)][_0x341041(0x12e)](_0x1f1e25[_0x341041(0x110)]),this[_0x341041(0x12c)][_0x341041(0x12e)](_0x1f1e25);for(const _0x4a9b72 of _0x4043db[_0x341041(0x133)])this[_0x341041(0x11e)][_0x341041(0x11a)](_0x4a9b72[_0x341041(0x110)]),this[_0x341041(0x113)](_0x4a9b72);}),this['on'](_0x4f3750(0x122),()=>{const _0x18f7c8=_0x4f3750;this[_0x18f7c8(0x118)][_0x18f7c8(0x137)]();}),this['on'](_0x4f3750(0x114),()=>{const _0x12ff6f=_0x4f3750;this[_0x12ff6f(0x118)][_0x12ff6f(0x126)]();}),this[_0x4f3750(0x12a)](this[_0x4f3750(0x110)],_0x4f3750(0x128),()=>{const _0x4601e4=_0x4f3750;this[_0x4601e4(0x128)]();});}[_0x534776(0x113)](_0xbe2402){const _0x24c541=_0x534776,_0x1c336a=this[_0x24c541(0x12c)][_0x24c541(0x106)](_0xbe2402);let _0x58e605,_0x59940c;for(const _0x2789f0 of this[_0x24c541(0x12c)])if(_0xbe2402[_0x24c541(0x134)]<_0x2789f0[_0x24c541(0x134)]){_0x58e605=_0x2789f0;break;}if(_0x59940c=_0x58e605?this[_0x24c541(0x12c)][_0x24c541(0x106)](_0x58e605):this[_0x24c541(0x12c)][_0x24c541(0x115)],-0x1!==_0x1c336a){if(_0x1c336a===_0x59940c-0x1)return;this[_0x24c541(0x12c)][_0x24c541(0x12e)](_0xbe2402),_0x59940c=_0x58e605?this[_0x24c541(0x12c)][_0x24c541(0x106)](_0x58e605):this[_0x24c541(0x12c)][_0x24c541(0x115)];}this[_0x24c541(0x12c)][_0x24c541(0x11a)](_0xbe2402,_0x59940c);}}