@ckeditor/ckeditor5-comments 42.0.2-alpha.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
- const _0x1f6e08=_0x443d;function _0x443d(_0x3474a0,_0x41d302){const _0x363da5=_0x363d();return _0x443d=function(_0x443d9b,_0x2489f3){_0x443d9b=_0x443d9b-0x67;let _0x5b2874=_0x363da5[_0x443d9b];return _0x5b2874;},_0x443d(_0x3474a0,_0x41d302);}(function(_0x58843e,_0x34f107){const _0x4355aa=_0x443d,_0x4b5fce=_0x58843e();while(!![]){try{const _0x10174e=-parseInt(_0x4355aa(0x96))/0x1*(parseInt(_0x4355aa(0x7a))/0x2)+parseInt(_0x4355aa(0x9e))/0x3*(parseInt(_0x4355aa(0xa0))/0x4)+parseInt(_0x4355aa(0x6b))/0x5*(-parseInt(_0x4355aa(0x71))/0x6)+-parseInt(_0x4355aa(0xa5))/0x7*(-parseInt(_0x4355aa(0x9c))/0x8)+parseInt(_0x4355aa(0x98))/0x9*(parseInt(_0x4355aa(0x93))/0xa)+-parseInt(_0x4355aa(0x89))/0xb*(-parseInt(_0x4355aa(0x76))/0xc)+-parseInt(_0x4355aa(0x6e))/0xd;if(_0x10174e===_0x34f107)break;else _0x4b5fce['push'](_0x4b5fce['shift']());}catch(_0x3bc4d7){_0x4b5fce['push'](_0x4b5fce['shift']());}}}(_0x363d,0xc6137));import{Plugin as _0x2edce0}from'ckeditor5/src/core.js';import{CKEditorError as _0x531be1}from'ckeditor5/src/utils.js';import{debounce as _0x45f2c1}from'lodash-es';import _0x4fe38b from'./annotations.js';function _0x363d(){const _0x4dfba=['getRanges','getByInnerView','refresh','selection','innerView','15414410sfYZYh','from','plugins','1gYPbtD','set','9QvhDRK','uiUpdate','cancel','blur','56jSLFYC','init','150JeShBN','annotation','118772uZYyGq','focusTracker','containsRange','range','hasDomSelection','229789NUaDNo','directChange','change:range','view','model','fire','_editorAnnotations','has','15JeUEyl','_dataCollectors','requires','23119421SzzwjY','isEqual','editor','2026488fMdNEu','sort','isCollapsed','addSourceCollector','get','7128hNvSgQ','update','element','document','1703184tottPi','_editorAnnotationsData','collection','map','add','getOrderedSelectedAnnotations','isReadOnly','editorannotations-invalid-source-callback','registerAnnotation','EditorAnnotations','function','pluginName','change:isFocused','editing','push','22198kvXltn','refreshSelectedViews','listenTo','remove','delete'];_0x363d=function(){return _0x4dfba;};return _0x363d();}export default class k extends _0x2edce0{static get[_0x1f6e08(0x6d)](){return[_0x4fe38b];}static get[_0x1f6e08(0x85)](){const _0x26c6d8=_0x1f6e08;return _0x26c6d8(0x83);}constructor(_0x423472){const _0x357803=_0x1f6e08;super(_0x423472),this[_0x357803(0x6c)]=new Set(),this[_0x357803(0x69)]=new Set();}[_0x1f6e08(0x9d)](){const _0x586567=_0x1f6e08,_0x48d83f=this[_0x586567(0x70)],_0x2275e5=_0x48d83f[_0x586567(0x67)][_0x586567(0x79)][_0x586567(0x91)],_0x495a4a=_0x45f2c1(()=>this[_0x586567(0x8a)](),0xa);_0x2275e5['on'](_0x586567(0xa7),(_0x244084,_0x25a5f2)=>{const _0x286828=_0x586567;_0x25a5f2[_0x286828(0xa6)]&&(_0x495a4a[_0x286828(0x9a)](),this[_0x286828(0x8a)]());}),this[_0x586567(0x8b)](_0x48d83f[_0x586567(0x87)][_0x586567(0xa8)][_0x586567(0x79)],_0x586567(0x86),(_0x6b472e,_0x3783d9,_0x3e3500)=>{_0x3e3500&&_0x495a4a();}),this[_0x586567(0x8b)](_0x48d83f['ui'][_0x586567(0xa1)],_0x586567(0x86),(_0x3069d4,_0x4552cb,_0x59515f)=>{const _0x19141c=_0x586567;_0x59515f||_0x48d83f[_0x19141c(0x80)]||this[_0x19141c(0x68)](_0x19141c(0x9b),{'isAnnotationTracked':_0x2321f1=>this[_0x19141c(0x7b)][_0x19141c(0x6a)](_0x2321f1[_0x19141c(0x92)])});}),this[_0x586567(0x8b)](this[_0x586567(0x70)]['ui'],_0x586567(0x77),()=>this[_0x586567(0x68)](_0x586567(0x99)));}[_0x1f6e08(0x82)](_0x21b652){const _0x4f9c82=_0x1f6e08;if(this[_0x4f9c82(0x69)][_0x4f9c82(0x6a)](_0x21b652[_0x4f9c82(0xa8)]))return;this[_0x4f9c82(0x69)][_0x4f9c82(0x7e)](_0x21b652[_0x4f9c82(0xa8)]),this[_0x4f9c82(0x70)]['ui'][_0x4f9c82(0xa1)][_0x4f9c82(0x7e)](_0x21b652[_0x4f9c82(0xa8)][_0x4f9c82(0x78)]);const _0x387de1=this[_0x4f9c82(0x70)][_0x4f9c82(0x95)][_0x4f9c82(0x75)](_0x4fe38b);this[_0x4f9c82(0x8b)](_0x387de1[_0x4f9c82(0x7c)],_0x4f9c82(0x8c),(_0x238571,_0x4b7b52)=>{const _0x511088=_0x4f9c82;this[_0x511088(0x70)]['ui'][_0x511088(0xa1)][_0x511088(0x8c)](_0x4b7b52[_0x511088(0xa8)][_0x511088(0x78)]),this[_0x511088(0x69)][_0x511088(0x8d)](_0x4b7b52[_0x511088(0xa8)]);});}[_0x1f6e08(0xa4)](){const _0x19cbaa=_0x1f6e08;return this[_0x19cbaa(0x70)][_0x19cbaa(0x87)][_0x19cbaa(0xa8)][_0x19cbaa(0xa4)];}[_0x1f6e08(0x74)](_0x7e0d18){const _0x36fcb2=_0x1f6e08;if(_0x36fcb2(0x84)!=typeof _0x7e0d18)throw new _0x531be1(_0x36fcb2(0x81));this[_0x36fcb2(0x6c)][_0x36fcb2(0x7e)](_0x7e0d18);}[_0x1f6e08(0x8a)](){const _0x471962=_0x1f6e08;this[_0x471962(0x68)](_0x471962(0x90));}[_0x1f6e08(0x7f)]({activeAnnotation:_0x207e23,annotations:_0x5246ad}){const _0x1c5e04=_0x1f6e08,_0x34c4e2=[],_0x40ffff=this[_0x1c5e04(0x70)][_0x1c5e04(0x67)][_0x1c5e04(0x79)][_0x1c5e04(0x91)],_0x424d6f=Array[_0x1c5e04(0x94)](_0x40ffff[_0x1c5e04(0x8e)]());for(const [_0x13876f,_0x345053]of this[_0x1c5e04(0x7b)]){const _0x4b55f6=_0x5f2af3(_0x345053),_0x5c68d8=_0x5246ad[_0x1c5e04(0x8f)](_0x13876f);_0x4b55f6&&_0x5c68d8&&_0x34c4e2[_0x1c5e04(0x88)]({'annotation':_0x5c68d8,'range':_0x4b55f6});}function _0x5f2af3(_0x177a4d){const _0x1b7a22=_0x1c5e04;for(const _0x3d6064 of _0x177a4d)for(const _0x374125 of _0x424d6f)if(_0x3d6064[_0x1b7a22(0xa2)](_0x374125,!_0x40ffff[_0x1b7a22(0x73)]))return _0x3d6064;return null;}return _0x34c4e2[_0x1c5e04(0x72)]((_0x348b48,_0x5de779)=>{const _0x40c1d0=_0x1c5e04,_0x325692=_0x348b48[_0x40c1d0(0xa3)],_0x3e42fd=_0x5de779[_0x40c1d0(0xa3)];if(!_0x325692[_0x40c1d0(0x6f)](_0x3e42fd)){if(_0x325692[_0x40c1d0(0xa2)](_0x3e42fd,!0x0))return 0x1;if(_0x3e42fd[_0x40c1d0(0xa2)](_0x325692,!0x0))return-0x1;}return _0x348b48[_0x40c1d0(0x9f)]==_0x207e23?-0x1:_0x5de779[_0x40c1d0(0x9f)]==_0x207e23?0x1:0x0;})[_0x1c5e04(0x7d)](_0x2f2613=>_0x2f2613[_0x1c5e04(0x9f)]);}get[_0x1f6e08(0x7b)](){const _0x2cc3d1=_0x1f6e08,_0x20a445=new Map();for(const _0x47396a of Array[_0x2cc3d1(0x94)](this[_0x2cc3d1(0x6c)]))for(const [_0x2c7ee4,_0x3d9d30]of _0x47396a())_0x20a445[_0x2cc3d1(0x97)](_0x2c7ee4,_0x3d9d30);return _0x20a445;}}
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
- function _0xcf1b(){const _0x29f8d0=['domConverter','editor','attach','_setSelectedAnnotations','switchTo','destroy','visibleView','hasActive','set','getClientRects','mousedown','plugins','fromRect','target','isActive','find','clear','targetRect','setActiveAnnotation','inline','length','1546455ZCNuDA','pluginName','change:visibleView','listenTo','stopListening','detach','_balloon','updatePosition','showStack','left','bottom','afterInit','map','_closeAnnotation','isFocused','width','activeAnnotation','Esc','register','472287Gyufbi','_manuallyClosed','includes','_selectedAnnotations','refresh','isAttached','remove','annotations','keystrokes','getFirstRange','context','every','_addedAnnotations','has','inlineannotations-attach-already-attached','getOrderedSelectedAnnotations','4zWGpfm','_addAnnotationToBalloon','viewRangeToDom','1158822kowrlx','right','update','top','_removeAnnotationFromBalloon','document','get','1563408DUzbgV','from','selection','72908tNKUIT','delete','_getBalloonTargetForAnnotation','hasView','inlineannotations-detach-not-attached','inlineannotations-not-allowed-with-context','addObserver','change:isFocused','getBoundingClientRect','1027138kTAJVQ','InlineAnnotations','371942pKiGoI','focusTracker','add','editableElement','focus','editing','push','requires','getByView','_forceRefresh','collapse','init','change:height','view','blur'];_0xcf1b=function(){return _0x29f8d0;};return _0xcf1b();}const _0x63d5a7=_0x1100;(function(_0x99a3b8,_0x24f84d){const _0x4cd7ec=_0x1100,_0x31a17e=_0x99a3b8();while(!![]){try{const _0x145e8e=parseInt(_0x4cd7ec(0x172))/0x1+-parseInt(_0x4cd7ec(0x15a))/0x2*(parseInt(_0x4cd7ec(0x14a))/0x3)+-parseInt(_0x4cd7ec(0x167))/0x4+parseInt(_0x4cd7ec(0x137))/0x5+-parseInt(_0x4cd7ec(0x15d))/0x6+-parseInt(_0x4cd7ec(0x170))/0x7+parseInt(_0x4cd7ec(0x164))/0x8;if(_0x145e8e===_0x24f84d)break;else _0x31a17e['push'](_0x31a17e['shift']());}catch(_0x4ae929){_0x31a17e['push'](_0x31a17e['shift']());}}}(_0xcf1b,0x31bb7));import{Plugin as _0x55290c}from'ckeditor5/src/core.js';import _0x40483d from'./annotationsuis.js';import _0x4f25b8 from'./editorannotations.js';import{ContextualBalloon as _0x4e4dfc}from'ckeditor5/src/ui.js';import{MouseObserver as _0x349c02}from'ckeditor5/src/engine.js';import{CKEditorError as _0x1dcdb3,Rect as _0x337040}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x55290c{static get[_0x63d5a7(0x11a)](){return[_0x4f25b8,_0x4e4dfc,_0x40483d];}static get[_0x63d5a7(0x138)](){const _0x1ee776=_0x63d5a7;return _0x1ee776(0x171);}constructor(_0x17ac51){const _0x3df7c7=_0x63d5a7;super(_0x17ac51),_0x17ac51[_0x3df7c7(0x118)][_0x3df7c7(0x120)][_0x3df7c7(0x16d)](_0x349c02),this[_0x3df7c7(0x14f)]=!0x1,this[_0x3df7c7(0x12a)](_0x3df7c7(0x147),null),this[_0x3df7c7(0x151)]=null,this[_0x3df7c7(0x14b)]=new Set(),this[_0x3df7c7(0x13d)]=_0x17ac51[_0x3df7c7(0x12d)][_0x3df7c7(0x163)](_0x4e4dfc),this[_0x3df7c7(0x156)]=new Set(),this[_0x3df7c7(0x14d)]=[],this[_0x3df7c7(0x11c)]=!0x1;}[_0x63d5a7(0x11e)](){const _0x1b428e=_0x63d5a7,_0x1933a7=this[_0x1b428e(0x123)][_0x1b428e(0x12d)][_0x1b428e(0x163)](_0x40483d);_0x1933a7[_0x1b428e(0x154)]===this[_0x1b428e(0x123)]&&(_0x1933a7[_0x1b428e(0x149)](_0x1b428e(0x135),this),this[_0x1b428e(0x123)][_0x1b428e(0x152)][_0x1b428e(0x12a)](_0x1b428e(0x148),(_0x3081d2,_0x38a394)=>{const _0x566580=_0x1b428e,_0x701218=this[_0x566580(0x13d)];if(this[_0x566580(0x14f)]&&_0x701218[_0x566580(0x128)]){const _0xc93a76=this[_0x566580(0x151)][_0x566580(0x11b)](_0x701218[_0x566580(0x128)]);_0xc93a76&&this[_0x566580(0x144)](_0xc93a76),_0x38a394();}}));}[_0x63d5a7(0x142)](){const _0x351a7f=_0x63d5a7,_0x401462=this[_0x351a7f(0x123)][_0x351a7f(0x12d)][_0x351a7f(0x163)](_0x40483d);_0x401462[_0x351a7f(0x154)]===this[_0x351a7f(0x123)]&&(_0x401462[_0x351a7f(0x129)]()||_0x401462[_0x351a7f(0x126)](_0x351a7f(0x135)));}[_0x63d5a7(0x134)](_0x167ec0){const _0x2c9adf=_0x63d5a7;_0x167ec0!==this[_0x2c9adf(0x147)]&&(this[_0x2c9adf(0x147)]&&(this[_0x2c9adf(0x147)][_0x2c9adf(0x130)]=!0x1),_0x167ec0&&this[_0x2c9adf(0x123)]['ui'][_0x2c9adf(0x173)][_0x2c9adf(0x145)]&&(this[_0x2c9adf(0x151)][_0x2c9adf(0x157)](_0x167ec0)&&this[_0x2c9adf(0x15b)](_0x167ec0,!0x0),_0x167ec0[_0x2c9adf(0x130)]=!0x0),_0x167ec0||this[_0x2c9adf(0x125)]([]),this[_0x2c9adf(0x147)]=_0x167ec0);}[_0x63d5a7(0x124)](_0x68eeef){const _0x22dffb=_0x63d5a7;this[_0x22dffb(0x151)]=_0x68eeef;const _0x350e07=this[_0x22dffb(0x123)][_0x22dffb(0x12d)][_0x22dffb(0x163)](_0x40483d),_0x202076=this[_0x22dffb(0x13d)];if(this[_0x22dffb(0x14f)])throw new _0x1dcdb3(_0x22dffb(0x158),this);if(_0x350e07[_0x22dffb(0x154)]!==this[_0x22dffb(0x123)])throw new _0x1dcdb3(_0x22dffb(0x16c),this);const _0x2c1aa6=this[_0x22dffb(0x123)][_0x22dffb(0x12d)][_0x22dffb(0x163)](_0x4f25b8);this[_0x22dffb(0x13a)](_0x2c1aa6,_0x22dffb(0x14e),()=>{const _0x32d8d7=_0x22dffb,_0x22c391=_0x2c1aa6[_0x32d8d7(0x159)]({'annotations':this[_0x32d8d7(0x151)],'activeAnnotation':this[_0x32d8d7(0x147)]});var _0x2da8cc,_0x1d7f36;!this[_0x32d8d7(0x11c)]&&(_0x2da8cc=_0x22c391,_0x1d7f36=this[_0x32d8d7(0x14d)],_0x2da8cc[_0x32d8d7(0x136)]===_0x1d7f36[_0x32d8d7(0x136)]&&_0x2da8cc[_0x32d8d7(0x155)](_0x39f3eb=>_0x1d7f36[_0x32d8d7(0x14c)](_0x39f3eb)))||(this[_0x32d8d7(0x11c)]=!0x1,this[_0x32d8d7(0x125)](_0x22c391),this[_0x32d8d7(0x134)](_0x22c391[0x0]||null));}),this[_0x22dffb(0x13a)](_0x2c1aa6,_0x22dffb(0x121),(_0x40f6b9,{isAnnotationTracked:_0x559ae9})=>{const _0x459ade=_0x22dffb;this[_0x459ade(0x147)]&&_0x559ae9(this[_0x459ade(0x147)])&&(this[_0x459ade(0x125)]([]),this[_0x459ade(0x134)](null));}),this[_0x22dffb(0x13a)](this[_0x22dffb(0x123)]['ui'][_0x22dffb(0x173)],_0x22dffb(0x16e),(_0x50530b,_0x3fbcb5,_0x4e0f71)=>{const _0x1ad8ba=_0x22dffb;_0x4e0f71||this[_0x1ad8ba(0x134)](null);}),this[_0x22dffb(0x13a)](_0x68eeef,_0x22dffb(0x150),(_0x1f896f,_0x2d3a64)=>{const _0x2ed124=_0x22dffb;this[_0x2ed124(0x161)](_0x2d3a64),_0x2d3a64===this[_0x2ed124(0x147)]&&this[_0x2ed124(0x134)](null);}),this[_0x22dffb(0x13a)](_0x202076,_0x22dffb(0x139),(_0x18cb74,_0x3ad486,_0x28fbfe,_0x18fc3b)=>{const _0x2ff9fc=_0x22dffb;_0x18fc3b&&this[_0x2ff9fc(0x13b)](_0x18fc3b);const _0x24864e=_0x68eeef[_0x2ff9fc(0x11b)](_0x28fbfe);_0x28fbfe&&_0x24864e&&(this[_0x2ff9fc(0x13a)](_0x28fbfe,_0x2ff9fc(0x11f),()=>{const _0x338548=_0x2ff9fc;_0x202076[_0x338548(0x13e)]();}),this[_0x2ff9fc(0x13a)](_0x28fbfe,_0x2ff9fc(0x148),()=>{const _0x35ca8c=_0x2ff9fc;this[_0x35ca8c(0x144)](_0x24864e),this[_0x35ca8c(0x123)][_0x35ca8c(0x118)][_0x35ca8c(0x120)][_0x35ca8c(0x117)]();}),this[_0x2ff9fc(0x147)]!==_0x24864e&&this[_0x2ff9fc(0x134)](_0x24864e));}),this[_0x22dffb(0x13a)](this[_0x22dffb(0x123)]['ui'],_0x22dffb(0x15f),()=>{const _0x5e41fd=_0x22dffb;_0x202076[_0x5e41fd(0x128)]&&(_0x68eeef[_0x5e41fd(0x11b)](_0x202076[_0x5e41fd(0x128)])&&_0x202076[_0x5e41fd(0x13e)]());}),this[_0x22dffb(0x13a)](this[_0x22dffb(0x123)][_0x22dffb(0x118)][_0x22dffb(0x120)][_0x22dffb(0x162)],_0x22dffb(0x12c),()=>{const _0x485b51=_0x22dffb;this[_0x485b51(0x11c)]=!0x0,this[_0x485b51(0x14b)][_0x485b51(0x132)]();}),this[_0x22dffb(0x123)][_0x22dffb(0x118)][_0x22dffb(0x120)][_0x22dffb(0x162)][_0x22dffb(0x166)][_0x22dffb(0x116)]&&this[_0x22dffb(0x123)][_0x22dffb(0x118)][_0x22dffb(0x120)][_0x22dffb(0x117)](),this[_0x22dffb(0x14f)]=!0x0;}[_0x63d5a7(0x13c)](){const _0x2e6b7b=_0x63d5a7;if(!this[_0x2e6b7b(0x14f)])throw new _0x1dcdb3(_0x2e6b7b(0x16b),this);this[_0x2e6b7b(0x134)](null);for(const _0x662cde of this[_0x2e6b7b(0x156)])this[_0x2e6b7b(0x161)](_0x662cde);this[_0x2e6b7b(0x13b)](),this[_0x2e6b7b(0x14f)]=!0x1,this[_0x2e6b7b(0x151)]=null;}[_0x63d5a7(0x127)](){const _0x4f5d52=_0x63d5a7;this[_0x4f5d52(0x14f)]&&this[_0x4f5d52(0x13c)]();}[_0x63d5a7(0x125)](_0x5950f7){const _0x2707bb=_0x63d5a7;for(const _0xa74416 of this[_0x2707bb(0x14d)])_0x5950f7[_0x2707bb(0x14c)](_0xa74416)||this[_0x2707bb(0x14b)][_0x2707bb(0x168)](_0xa74416);for(const _0x2c58f4 of this[_0x2707bb(0x151)])_0x5950f7[_0x2707bb(0x14c)](_0x2c58f4)||this[_0x2707bb(0x161)](_0x2c58f4);if(this[_0x2707bb(0x123)]['ui'][_0x2707bb(0x173)][_0x2707bb(0x145)]){for(const _0x410027 of _0x5950f7)this[_0x2707bb(0x15b)](_0x410027);}this[_0x2707bb(0x14d)]=_0x5950f7;}[_0x63d5a7(0x15b)](_0x426480,_0x28f697=!0x1){const _0x4b6645=_0x63d5a7;this[_0x4b6645(0x14b)][_0x4b6645(0x157)](_0x426480)||(this[_0x4b6645(0x156)][_0x4b6645(0x157)](_0x426480)||this[_0x4b6645(0x13d)][_0x4b6645(0x16a)](_0x426480[_0x4b6645(0x120)])||(this[_0x4b6645(0x156)][_0x4b6645(0x115)](_0x426480),this[_0x4b6645(0x13d)][_0x4b6645(0x115)]({'stackId':_0x426480[_0x4b6645(0x120)]['id'],'view':_0x426480[_0x4b6645(0x120)],'position':{'target':()=>this[_0x4b6645(0x169)](_0x426480)}})),_0x28f697&&this[_0x4b6645(0x13d)][_0x4b6645(0x13f)](_0x426480[_0x4b6645(0x120)]['id']));}[_0x63d5a7(0x169)](_0x5d8a5a){const _0x23bbf3=_0x63d5a7,_0x5809e8=_0x5d8a5a[_0x23bbf3(0x12f)],_0x15a38f=this[_0x23bbf3(0x123)][_0x23bbf3(0x118)][_0x23bbf3(0x120)],_0x26c5d6=_0x15a38f[_0x23bbf3(0x162)][_0x23bbf3(0x166)][_0x23bbf3(0x153)](),_0x498aee=_0x15a38f[_0x23bbf3(0x122)][_0x23bbf3(0x15c)](_0x26c5d6);if(_0x498aee[_0x23bbf3(0x11d)](!0x0),_0x5809e8){if(_0x5809e8 instanceof _0x337040)return _0x5809e8;let _0x5d477c=[];for(const _0xf5915c of _0x5809e8)_0x5d477c[_0x23bbf3(0x119)](...(_0x53b195=_0xf5915c[_0x23bbf3(0x12b)](),Array[_0x23bbf3(0x165)](_0x53b195)[_0x23bbf3(0x143)](DOMRect[_0x23bbf3(0x12e)])));_0x5d477c=function(_0x4e55ca){const _0x2d4838=_0x23bbf3,_0x5b576e=[];let _0x25ce15=_0x4e55ca[0x0];for(let _0xaf67fc=0x1;_0xaf67fc<_0x4e55ca[_0x2d4838(0x136)];_0xaf67fc++)F(_0x25ce15,_0x4e55ca[_0xaf67fc])?_0x25ce15[_0x2d4838(0x146)]+=_0x4e55ca[_0xaf67fc][_0x2d4838(0x146)]:(_0x5b576e[_0x2d4838(0x119)](_0x25ce15),_0x25ce15=_0x4e55ca[_0xaf67fc]);return _0x5b576e[_0x2d4838(0x119)](_0x25ce15),_0x5b576e;}(_0x5d477c);const _0x8b92be=_0x498aee[_0x23bbf3(0x16f)]();return _0x5d477c[_0x23bbf3(0x131)](_0x137e93=>_0x137e93[_0x23bbf3(0x160)]<=_0x8b92be[_0x23bbf3(0x160)]&&_0x137e93[_0x23bbf3(0x141)]>=_0x8b92be[_0x23bbf3(0x141)]&&_0x137e93[_0x23bbf3(0x140)]<=_0x8b92be[_0x23bbf3(0x140)]&&_0x137e93[_0x23bbf3(0x15e)]>=_0x8b92be[_0x23bbf3(0x15e)])||_0x5d477c[0x0];}var _0x53b195;return _0x5d8a5a[_0x23bbf3(0x133)]||_0x498aee;}[_0x63d5a7(0x161)](_0x42223a){const _0x2a02f7=_0x63d5a7;this[_0x2a02f7(0x156)][_0x2a02f7(0x157)](_0x42223a)&&this[_0x2a02f7(0x13d)][_0x2a02f7(0x16a)](_0x42223a[_0x2a02f7(0x120)])&&(this[_0x2a02f7(0x156)][_0x2a02f7(0x168)](_0x42223a),this[_0x2a02f7(0x13d)][_0x2a02f7(0x150)](_0x42223a[_0x2a02f7(0x120)]));}[_0x63d5a7(0x144)](_0x4692df){const _0x150955=_0x63d5a7;this[_0x150955(0x14b)][_0x150955(0x115)](_0x4692df),this[_0x150955(0x161)](_0x4692df);}}function _0x1100(_0x2af297,_0x5c7b62){const _0xcf1b14=_0xcf1b();return _0x1100=function(_0x110066,_0x396416){_0x110066=_0x110066-0x115;let _0xfe049=_0xcf1b14[_0x110066];return _0xfe049;},_0x1100(_0x2af297,_0x5c7b62);}function F(_0x3df544,_0x543af9){const _0x3def92=_0x63d5a7;return _0x3df544[_0x3def92(0x160)]===_0x543af9[_0x3def92(0x160)]&&_0x3df544[_0x3def92(0x141)]===_0x543af9[_0x3def92(0x141)]&&_0x3df544[_0x3def92(0x15e)]===_0x543af9[_0x3def92(0x140)];}
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 _0x140bbf=_0x1c52;(function(_0x4dced5,_0x4f6339){const _0x1ca813=_0x1c52,_0xc26482=_0x4dced5();while(!![]){try{const _0x46fd0d=-parseInt(_0x1ca813(0x137))/0x1*(parseInt(_0x1ca813(0x186))/0x2)+-parseInt(_0x1ca813(0x16f))/0x3+-parseInt(_0x1ca813(0x195))/0x4*(-parseInt(_0x1ca813(0x13b))/0x5)+-parseInt(_0x1ca813(0x1a1))/0x6+-parseInt(_0x1ca813(0x182))/0x7*(-parseInt(_0x1ca813(0x18e))/0x8)+parseInt(_0x1ca813(0x154))/0x9+parseInt(_0x1ca813(0x14d))/0xa;if(_0x46fd0d===_0x4f6339)break;else _0xc26482['push'](_0xc26482['shift']());}catch(_0x2c5e5a){_0xc26482['push'](_0xc26482['shift']());}}}(_0x23ff,0xa050a));import{ContextPlugin as _0x505a2c,Context as _0x12388c}from'ckeditor5/src/core.js';import _0xa72f7c from'./annotationsuis.js';import _0x12cea7 from'./sidebar.js';function _0x23ff(){const _0x2e8d5f=['narrowSidebar','uiUpdate','length','getByView','keyCode','_refreshPositioningDebounced','bodyCollection','view','set','find','1JAtlcx','set:container','_annotations','create','155ezJaWQ','attach','_hideBalloon','preventDefault','rearrange','context','keydown','southArrowNorth','preventClosingBalloon','low','stop','first','northArrowSouth','getSidebarItemView','target','detach','attachToDom','addEventListener','3848810kMpQba','Esc','refresh','_setSelectedAnnotations','off','EditorAnnotations','_refreshPositioning','895932jFxzmH','content','number','_destroyEditorAnnotationsIntegration','_detachListeners','isVisible','contains','destroy','execute','listenTo','unpin','_annotationToNarrowView','values','remove','locale','_showBalloon','ck-sidebar--narrow','addAnnotation','init','esc','pin','northArrowSouthWest','southArrowNorthWest','_updateBalloonPosition','detachFromDom','_integrateWithEditorAnnotations','focusableElements','266904EAkxGM','register','from','stopPropagation','plugins','has','delete','mousedown','_attachListeners','_manuallyClosedAnnotationViews','pluginName','southArrowNorthEast','annotationType','change:height','refreshPositioning','_domEmitter','annotations','getOrderedSelectedAnnotations','setActiveAnnotation','9562yQnkFX','bind','cancel','removeEventListener','1644270JDRpaE','get','_selectedAnnotations','element','northArrowSouthEast','high','isAttached','requires','2712auPwNQ','resize','_attachToContainer','balloonPanelView','narrowsidebar-detach-not-attached','defaultPositions','add','125384mvNrIq','includes','_editorAnnotations','isDirty','clear','hasDomSelection','blur','stopListening','_detachFromContainer','focus','activeAnnotation','ready','2108856juIXfd','change:container','NarrowSidebar','editors','narrowsidebar-attach-already-attached','type'];_0x23ff=function(){return _0x2e8d5f;};return _0x23ff();}function _0x1c52(_0x376518,_0x5ab701){const _0x23ffa8=_0x23ff();return _0x1c52=function(_0x1c524e,_0x4923c7){_0x1c524e=_0x1c524e-0x12d;let _0x3cdbae=_0x23ffa8[_0x1c524e];return _0x3cdbae;},_0x1c52(_0x376518,_0x5ab701);}import _0x6271a1 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x362907,BodyCollection as _0x5a967d}from'ckeditor5/src/ui.js';import{CKEditorError as _0xea94da,DomEmitterMixin as _0x2841f2,keyCodes as _0x12b62c,Collection as _0x4f2886}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x14fcb2}from'lodash-es';export default class i extends _0x505a2c{static get[_0x140bbf(0x18d)](){return[_0x12cea7,_0xa72f7c];}static get[_0x140bbf(0x179)](){const _0x374c55=_0x140bbf;return _0x374c55(0x1a3);}constructor(_0xd35dd6){const _0xcc504c=_0x140bbf;super(_0xd35dd6),this[_0xcc504c(0x18c)]=!0x1,this[_0xcc504c(0x178)]=new Set(),this[_0xcc504c(0x17e)]=Object[_0xcc504c(0x13a)](_0x2841f2),this[_0xcc504c(0x15f)]=new Map(),this[_0xcc504c(0x135)](_0xcc504c(0x19f),null),this[_0xcc504c(0x17f)]=null,this[_0xcc504c(0x188)]=[],this[_0xcc504c(0x197)]=new _0x4f2886(),this[_0xcc504c(0x132)]=_0x14fcb2(()=>{const _0x1357bb=_0xcc504c;this[_0x1357bb(0x153)]();},0xfa,{'leading':!0x1});}[_0x140bbf(0x166)](){const _0xf15a62=_0x140bbf;this[_0xf15a62(0x140)][_0xf15a62(0x173)][_0xf15a62(0x187)](_0xa72f7c)[_0xf15a62(0x170)](_0xf15a62(0x12d),this),this[_0xf15a62(0x133)]=new _0x5a967d(this[_0xf15a62(0x140)][_0xf15a62(0x162)]),this[_0xf15a62(0x191)]=new _0x362907(this[_0xf15a62(0x140)][_0xf15a62(0x162)]),this[_0xf15a62(0x133)][_0xf15a62(0x14b)](),this[_0xf15a62(0x133)][_0xf15a62(0x194)](this[_0xf15a62(0x191)]);}[_0x140bbf(0x13c)](_0x1af832){const _0x3b8cbf=_0x140bbf;this[_0x3b8cbf(0x17f)]=_0x1af832;const _0x1c57eb=this[_0x3b8cbf(0x140)][_0x3b8cbf(0x173)][_0x3b8cbf(0x187)](_0x12cea7),_0x26ae63=this[_0x3b8cbf(0x191)];if(_0x1c57eb[_0x3b8cbf(0x139)]=_0x1af832,this[_0x3b8cbf(0x18c)])throw new _0xea94da(_0x3b8cbf(0x1a5),this);this[_0x3b8cbf(0x18c)]=!0x0,this[_0x3b8cbf(0x15d)](_0x1c57eb,_0x3b8cbf(0x138),()=>{const _0x5a34e9=_0x3b8cbf;this[_0x5a34e9(0x14a)](),this[_0x5a34e9(0x15d)](_0x1c57eb,_0x5a34e9(0x1a2),_0x2fa072=>{const _0x2ab84b=_0x5a34e9;_0x2fa072[_0x2ab84b(0x151)](),this[_0x2ab84b(0x13c)](_0x1af832);});}),_0x1c57eb[_0x3b8cbf(0x190)]({'viewClass':_0x3b8cbf(0x164),'spaceBetweenItems':0x5});const _0xaa86e=_0x4176d2=>{const _0x703003=_0x3b8cbf,_0x515942=new _0x6271a1(this[_0x703003(0x140)][_0x703003(0x162)]);_0x1c57eb[_0x703003(0x165)](_0x4176d2,_0x515942),this[_0x703003(0x15f)][_0x703003(0x135)](_0x4176d2,_0x515942),_0x515942[_0x703003(0x183)](_0x703003(0x198),_0x703003(0x17b),_0x703003(0x156))['to'](_0x4176d2[_0x703003(0x134)],_0x703003(0x198),_0x703003(0x1a6),_0x703003(0x12f)),_0x515942['on'](_0x703003(0x15c),()=>{const _0x20219d=_0x703003;this[_0x20219d(0x178)][_0x20219d(0x199)](),_0x26ae63[_0x20219d(0x155)][_0x20219d(0x146)]!==_0x4176d2[_0x20219d(0x134)]?(this[_0x20219d(0x163)](_0x4176d2),_0x4176d2[_0x20219d(0x134)][_0x20219d(0x189)][_0x20219d(0x19e)](),this[_0x20219d(0x181)](_0x4176d2)):this[_0x20219d(0x181)](null);});};for(const _0x3a93f5 of _0x1af832)_0xaa86e(_0x3a93f5);this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x194),(_0x5ad4b6,_0x1a0bbe)=>{_0xaa86e(_0x1a0bbe);}),this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x161),(_0x37e16e,_0x5004e3,_0x44cf64)=>{const _0x5e5b80=_0x3b8cbf;this[_0x5e5b80(0x15f)][_0x5e5b80(0x187)](_0x5004e3)[_0x5e5b80(0x15b)](),this[_0x5e5b80(0x15f)][_0x5e5b80(0x175)](_0x5004e3),_0x1c57eb[_0x5e5b80(0x13f)]({'removedAnnotation':_0x5004e3,'previousAnnotation':_0x1af832[_0x5e5b80(0x187)](_0x44cf64-0x1),'nextAnnotation':_0x1af832[_0x5e5b80(0x187)](_0x44cf64+0x1)}),_0x5004e3===this[_0x5e5b80(0x19f)]&&this[_0x5e5b80(0x181)](null);},{'priority':_0x3b8cbf(0x144)}),this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x19e),(_0x1dba7c,_0x52b9c6)=>{const _0x49b4c9=_0x3b8cbf;this[_0x49b4c9(0x181)](_0x52b9c6);}),this[_0x3b8cbf(0x15d)](_0x1af832,_0x3b8cbf(0x19b),()=>{const _0x153d88=_0x3b8cbf;this[_0x153d88(0x181)](null);}),this[_0x3b8cbf(0x17e)][_0x3b8cbf(0x15d)](document,_0x3b8cbf(0x141),(_0xe4124f,_0x5abea8)=>{const _0x352998=_0x3b8cbf;_0x5abea8[_0x352998(0x131)]===_0x12b62c[_0x352998(0x167)]&&_0x26ae63[_0x352998(0x159)]&&(this[_0x352998(0x178)][_0x352998(0x194)](_0x26ae63[_0x352998(0x155)][_0x352998(0x146)]),this[_0x352998(0x13d)](),_0x5abea8[_0x352998(0x172)](),_0x5abea8[_0x352998(0x13e)]());}),this[_0x3b8cbf(0x17e)][_0x3b8cbf(0x15d)](document,_0x3b8cbf(0x176),(_0x4b5deb,_0x135eea)=>{const _0x418375=_0x3b8cbf,_0x320e55=_0x135eea[_0x418375(0x149)];_0x26ae63[_0x418375(0x159)]&&_0x26ae63[_0x418375(0x189)][_0x418375(0x15a)](_0x320e55)||_0x1c57eb[_0x418375(0x134)][_0x418375(0x189)][_0x418375(0x15a)](_0x320e55)||_0x4b5deb[_0x418375(0x143)]||this[_0x418375(0x19f)]&&this[_0x418375(0x19f)][_0x418375(0x16e)][_0x418375(0x136)](_0xce4169=>_0xce4169[_0x418375(0x15a)](_0x320e55))||(this[_0x418375(0x178)][_0x418375(0x199)](),this[_0x418375(0x13d)](),this[_0x418375(0x181)](null));});const _0x321126=this[_0x3b8cbf(0x140)]instanceof _0x12388c?this[_0x3b8cbf(0x140)][_0x3b8cbf(0x1a4)]:new _0x4f2886([this[_0x3b8cbf(0x140)]]);for(const _0x6b2247 of _0x321126)this[_0x3b8cbf(0x16d)](_0x6b2247);this[_0x3b8cbf(0x15d)](_0x321126,_0x3b8cbf(0x194),(_0x260061,_0x47cc34)=>{const _0x3bf435=_0x3b8cbf;this[_0x3bf435(0x15d)](_0x47cc34,_0x3bf435(0x1a0),()=>{const _0x3d325b=_0x3bf435;this[_0x3d325b(0x16d)](_0x47cc34);});}),this[_0x3b8cbf(0x15d)](_0x321126,_0x3b8cbf(0x161),(_0x455159,_0x4c60e9)=>{const _0x40488d=_0x3b8cbf;_0x4c60e9[_0x40488d(0x173)][_0x40488d(0x174)](_0x40488d(0x152))&&this[_0x40488d(0x157)](_0x4c60e9[_0x40488d(0x173)][_0x40488d(0x187)](_0x40488d(0x152)));}),window[_0x3b8cbf(0x14c)](_0x3b8cbf(0x18f),this[_0x3b8cbf(0x132)]),this[_0x3b8cbf(0x153)]();}[_0x140bbf(0x181)](_0x400f86){const _0x5cd92c=_0x140bbf;if(_0x400f86===this[_0x5cd92c(0x19f)])return;const _0x59adc7=this[_0x5cd92c(0x140)][_0x5cd92c(0x173)][_0x5cd92c(0x187)](_0x12cea7);if(_0x59adc7[_0x5cd92c(0x14f)]({'blurredAnnotation':this[_0x5cd92c(0x19f)],'activatedAnnotation':_0x400f86,'disableAnimationOnActivatedAnnotation':!0x0}),_0x400f86)_0x59adc7[_0x5cd92c(0x148)](_0x400f86)?this[_0x5cd92c(0x163)](_0x400f86):this[_0x5cd92c(0x13d)]();else this[_0x5cd92c(0x13d)]();this[_0x5cd92c(0x19f)]=_0x400f86;}[_0x140bbf(0x14a)](){const _0x58030f=_0x140bbf;if(!this[_0x58030f(0x18c)])throw new _0xea94da(_0x58030f(0x192),this);this[_0x58030f(0x181)](null);const _0x5b9829=this[_0x58030f(0x140)][_0x58030f(0x173)][_0x58030f(0x187)](_0x12cea7);this[_0x58030f(0x13d)](),Array[_0x58030f(0x171)](this[_0x58030f(0x15f)][_0x58030f(0x160)](),_0x234989=>_0x234989[_0x58030f(0x15b)]()),this[_0x58030f(0x15f)][_0x58030f(0x199)](),_0x5b9829[_0x58030f(0x19d)](this[_0x58030f(0x17f)]),this[_0x58030f(0x19c)](),this[_0x58030f(0x17e)][_0x58030f(0x19c)](),this[_0x58030f(0x140)]instanceof _0x12388c&&this[_0x58030f(0x19c)](this[_0x58030f(0x140)][_0x58030f(0x1a4)]);for(const _0x5a3dec of Array[_0x58030f(0x171)](this[_0x58030f(0x197)]))this[_0x58030f(0x157)](_0x5a3dec);window[_0x58030f(0x185)](_0x58030f(0x18f),this[_0x58030f(0x132)]),this[_0x58030f(0x132)][_0x58030f(0x184)](),this[_0x58030f(0x188)]=[],this[_0x58030f(0x18c)]=!0x1,this[_0x58030f(0x17f)]=null;}[_0x140bbf(0x15b)](){const _0x234cab=_0x140bbf;this[_0x234cab(0x18c)]&&this[_0x234cab(0x14a)](),this[_0x234cab(0x133)][_0x234cab(0x16c)]();}[_0x140bbf(0x16d)](_0x331e02){const _0xb04cf2=_0x140bbf;if(!_0x331e02[_0xb04cf2(0x173)][_0xb04cf2(0x174)](_0xb04cf2(0x152)))return;const _0x56b349=_0x331e02[_0xb04cf2(0x173)][_0xb04cf2(0x187)](_0xb04cf2(0x152)),_0x2aaf94=this[_0xb04cf2(0x140)][_0xb04cf2(0x173)][_0xb04cf2(0x187)](_0x12cea7),_0x39f169=this[_0xb04cf2(0x17f)],_0x19bae7=this[_0xb04cf2(0x191)],_0x148a08=()=>{const _0x1c3cb5=_0xb04cf2,_0x3e7284=_0x56b349[_0x1c3cb5(0x180)]({'annotations':this[_0x1c3cb5(0x17f)],'activeAnnotation':this[_0x1c3cb5(0x19f)]});this[_0x1c3cb5(0x150)](_0x3e7284),this[_0x1c3cb5(0x181)](_0x3e7284[0x0]||null);};this[_0xb04cf2(0x15d)](_0x56b349,_0xb04cf2(0x14f),_0x148a08),this[_0xb04cf2(0x15d)](_0x56b349,_0xb04cf2(0x19b),(_0x2efd9c,{isAnnotationTracked:_0x170dd6})=>{const _0x994206=_0xb04cf2;this[_0x994206(0x19f)]&&_0x170dd6(this[_0x994206(0x19f)])&&(this[_0x994206(0x150)]([]),this[_0x994206(0x181)](null));}),this[_0xb04cf2(0x15d)](_0x56b349,_0xb04cf2(0x12e),()=>{const _0x540bda=_0xb04cf2;this[_0x540bda(0x132)]();}),this[_0xb04cf2(0x15d)](_0x39f169,_0xb04cf2(0x19b),_0x4992f8=>{const _0xb7d676=_0xb04cf2;_0x56b349[_0xb7d676(0x19a)]()&&_0x4992f8[_0xb7d676(0x145)]();},{'priority':_0xb04cf2(0x18b)}),this[_0xb04cf2(0x15d)](this[_0xb04cf2(0x17e)],_0xb04cf2(0x176),(_0x42125f,_0x25d7c8)=>{const _0x4afeba=_0xb04cf2,_0x586473=_0x25d7c8[_0x4afeba(0x149)];_0x19bae7[_0x4afeba(0x159)]&&_0x19bae7[_0x4afeba(0x189)][_0x4afeba(0x15a)](_0x586473)||_0x2aaf94[_0x4afeba(0x134)][_0x4afeba(0x189)][_0x4afeba(0x15a)](_0x586473)||this[_0x4afeba(0x19f)]&&_0x56b349[_0x4afeba(0x19a)]()&&(_0x148a08(),_0x42125f[_0x4afeba(0x143)]=!0x0);},{'priority':_0xb04cf2(0x18b)}),this[_0xb04cf2(0x197)][_0xb04cf2(0x194)](_0x56b349);}[_0x140bbf(0x157)](_0x592780){const _0x3c2ae9=_0x140bbf;_0x592780&&(this[_0x3c2ae9(0x19c)](_0x592780),this[_0x3c2ae9(0x197)][_0x3c2ae9(0x161)](_0x592780));}[_0x140bbf(0x150)](_0x1586ab){const _0x1559ed=_0x140bbf;for(const _0x2d4658 of this[_0x1559ed(0x188)])_0x1586ab[_0x1559ed(0x196)](_0x2d4658)||this[_0x1559ed(0x178)][_0x1559ed(0x175)](_0x2d4658[_0x1559ed(0x134)]);this[_0x1559ed(0x188)]=_0x1586ab;}[_0x140bbf(0x153)](){const _0x353c95=_0x140bbf,_0x414fbd=this[_0x353c95(0x191)];this[_0x353c95(0x17f)][_0x353c95(0x17d)](),_0x414fbd[_0x353c95(0x159)]&&this[_0x353c95(0x16b)]();}[_0x140bbf(0x163)](_0x10ebb7){const _0x2bc8e7=_0x140bbf;if(this[_0x2bc8e7(0x178)][_0x2bc8e7(0x174)](_0x10ebb7[_0x2bc8e7(0x134)]))return;const _0x2faa3f=this[_0x2bc8e7(0x191)][_0x2bc8e7(0x155)][_0x2bc8e7(0x146)];_0x2faa3f!==_0x10ebb7[_0x2bc8e7(0x134)]?(_0x2faa3f&&this[_0x2bc8e7(0x158)](_0x2faa3f),this[_0x2bc8e7(0x177)](_0x10ebb7[_0x2bc8e7(0x134)]),this[_0x2bc8e7(0x191)][_0x2bc8e7(0x155)][_0x2bc8e7(0x199)](),this[_0x2bc8e7(0x191)][_0x2bc8e7(0x155)][_0x2bc8e7(0x194)](_0x10ebb7[_0x2bc8e7(0x134)]),this[_0x2bc8e7(0x16b)]()):this[_0x2bc8e7(0x16b)]();}[_0x140bbf(0x16b)](){const _0x97d36d=_0x140bbf,_0x4e4739=this[_0x97d36d(0x191)][_0x97d36d(0x155)][_0x97d36d(0x146)],_0x4196e4=_0x4e4739&&this[_0x97d36d(0x17f)][_0x97d36d(0x130)](_0x4e4739);if(!_0x4196e4||!this[_0x97d36d(0x15f)][_0x97d36d(0x174)](_0x4196e4))return;const _0x4582e9=this[_0x97d36d(0x15f)][_0x97d36d(0x187)](_0x4196e4)[_0x97d36d(0x189)],_0x40fb00=(function(){const _0x2524da=_0x97d36d,_0x37789b=_0x362907[_0x2524da(0x193)];return[_0x37789b[_0x2524da(0x17a)],_0x37789b[_0x2524da(0x18a)],_0x37789b[_0x2524da(0x142)],_0x37789b[_0x2524da(0x147)],_0x37789b[_0x2524da(0x16a)],_0x37789b[_0x2524da(0x169)]];}());this[_0x97d36d(0x191)][_0x97d36d(0x168)]({'target':_0x4582e9,'positions':_0x40fb00});}[_0x140bbf(0x13d)](){const _0x4e2c3e=_0x140bbf,_0x502c07=this[_0x4e2c3e(0x191)],_0x37b835=_0x502c07[_0x4e2c3e(0x155)][_0x4e2c3e(0x146)];_0x37b835&&(this[_0x4e2c3e(0x158)](_0x37b835),_0x502c07[_0x4e2c3e(0x15e)](),_0x502c07[_0x4e2c3e(0x155)][_0x4e2c3e(0x199)]());}[_0x140bbf(0x177)](_0x19b146){const _0x1dc64a=_0x140bbf;this[_0x1dc64a(0x15d)](_0x19b146,_0x1dc64a(0x17c),()=>this[_0x1dc64a(0x16b)]()),this[_0x1dc64a(0x15d)](_0x19b146,_0x1dc64a(0x14e),(_0x744ecb,_0x379f26)=>{const _0x37bd94=_0x1dc64a;this[_0x37bd94(0x178)][_0x37bd94(0x194)](_0x19b146),this[_0x37bd94(0x13d)](),_0x379f26();});}[_0x140bbf(0x158)](_0x282887){const _0x4a4047=_0x140bbf;this[_0x4a4047(0x19c)](_0x282887);}}
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 _0x5d57b2=_0x31d7;(function(_0x3e1620,_0x55021d){const _0x3143f7=_0x31d7,_0xa6d3d0=_0x3e1620();while(!![]){try{const _0x21829d=parseInt(_0x3143f7(0x14a))/0x1*(-parseInt(_0x3143f7(0x16a))/0x2)+-parseInt(_0x3143f7(0x16b))/0x3+-parseInt(_0x3143f7(0x136))/0x4+-parseInt(_0x3143f7(0x14c))/0x5*(-parseInt(_0x3143f7(0x150))/0x6)+parseInt(_0x3143f7(0x156))/0x7+parseInt(_0x3143f7(0x175))/0x8+parseInt(_0x3143f7(0x152))/0x9*(-parseInt(_0x3143f7(0x14f))/0xa);if(_0x21829d===_0x55021d)break;else _0xa6d3d0['push'](_0xa6d3d0['shift']());}catch(_0x5a74dc){_0xa6d3d0['push'](_0xa6d3d0['shift']());}}}(_0x5f06,0x26efe));import{ContextPlugin as _0x579a96}from'ckeditor5/src/core.js';function _0x5f06(){const _0x5e096c=['add','container','pluginName','_sidebarItemViewToAnnotation','change:bottom','max','_spaceBetweenItems','push','1405048fYSsbi','sidebar.container','change:top','bind','_createSidebarView','_getItemBefore','_getItemAfter','_activeAnnotation','render','setContainer','context','_alignForBottomChange','isActive','_alignAfterItem','bottom','class','view','_getMaxAvailableTop','_recalculateBuffer','unbind','minHeight','change:_lastItem','destroy','change:targetRect','length','element','206280VXZHtT','targetRect','getSidebarItemView','_attachToContainer','_getTargetTop','_alignToTargetRect','list','_targetTop','set','addAnnotation','sidebar-setcontainer-invalid-element','sidebar-attachtocontainer-missing-container','_updateLastItem','sidebar.preventScrollOutOfView','content','height','updateHeight','last','_destroySidebarItemView','_annotations','34291QlhEqa','init','883445ZOYXFx','remove','_annotationToSidebarItemView','2887250IZAXyX','6xjgtEC','_lastItem','9FGAFdV','Sidebar','_detachFromContainer','rearrange','1457071ybiWnk','delete','_setItemTop','getIndex','_recalculate','object','top','listenTo','define','_alignBeforeItem','refresh','_alignForTopChange','nodeType','config','isAnimationDisabled','appendChild','stopListening','target','locale','clear','2OwgOXO','79203Egkwyi','get'];_0x5f06=function(){return _0x5e096c;};return _0x5f06();}function _0x31d7(_0x431301,_0x165d16){const _0x5f06dd=_0x5f06();return _0x31d7=function(_0x31d741,_0x4f7d42){_0x31d741=_0x31d741-0x124;let _0x5f3edf=_0x5f06dd[_0x31d741];return _0x5f3edf;},_0x31d7(_0x431301,_0x165d16);}import{Rect as _0x79d577,CKEditorError as _0x3a559b}from'ckeditor5/src/utils.js';import _0x44a103 from'./view/sidebarview.js';import _0x50a340 from'./view/sidebaritemview.js';export default class z extends _0x579a96{static get[_0x5d57b2(0x16f)](){const _0x2b1771=_0x5d57b2;return _0x2b1771(0x153);}constructor(_0x384223){const _0x4b03b4=_0x5d57b2;super(_0x384223),this[_0x4b03b4(0x13e)](_0x4b03b4(0x151),void 0x0),this[_0x4b03b4(0x12c)]=this[_0x4b03b4(0x179)](),this[_0x4b03b4(0x13e)](_0x4b03b4(0x16e),null),this[_0x4b03b4(0x173)]=0x19,this[_0x4b03b4(0x170)]=new Map(),this[_0x4b03b4(0x14e)]=new Map(),this[_0x4b03b4(0x126)][_0x4b03b4(0x163)][_0x4b03b4(0x15e)](_0x4b03b4(0x143),!0x1),this[_0x4b03b4(0x149)]=null,this[_0x4b03b4(0x17c)]=null,this[_0x4b03b4(0x12e)]=[];}[_0x5d57b2(0x14b)](){const _0x1f4180=_0x5d57b2,_0x2f37d1=this[_0x1f4180(0x126)][_0x1f4180(0x163)][_0x1f4180(0x16c)](_0x1f4180(0x176));_0x2f37d1&&this[_0x1f4180(0x125)](_0x2f37d1);}[_0x5d57b2(0x125)](_0x3999ac){const _0x2e6fe8=_0x5d57b2;if(!y(_0x3999ac))throw new _0x3a559b(_0x2e6fe8(0x140));this[_0x2e6fe8(0x16e)]=_0x3999ac;}[_0x5d57b2(0x139)]({viewClass:_0x1eccb5='',spaceBetweenItems:_0x20f873=0x19}={}){const _0x1c3a7a=_0x5d57b2;if(!y(this[_0x1c3a7a(0x16e)]))throw new _0x3a559b(_0x1c3a7a(0x141),this);this[_0x1c3a7a(0x16e)][_0x1c3a7a(0x165)](this[_0x1c3a7a(0x12c)][_0x1c3a7a(0x135)]),this[_0x1c3a7a(0x12c)][_0x1c3a7a(0x12b)]=_0x1eccb5,this[_0x1c3a7a(0x173)]=_0x20f873;}[_0x5d57b2(0x155)]({removedAnnotation:_0x20ee60,previousAnnotation:_0x5b77af,nextAnnotation:_0x3ee285}){const _0x3da306=_0x5d57b2,_0x123c98=this[_0x3da306(0x138)](_0x20ee60);this[_0x3da306(0x12c)][_0x3da306(0x13c)][_0x3da306(0x14d)](_0x123c98),this[_0x3da306(0x148)](_0x20ee60),_0x5b77af&&this[_0x3da306(0x13b)](this[_0x3da306(0x138)](_0x5b77af)),_0x3ee285&&this[_0x3da306(0x13b)](this[_0x3da306(0x138)](_0x3ee285)),this[_0x3da306(0x142)]();}[_0x5d57b2(0x160)]({blurredAnnotation:_0x8218f3,activatedAnnotation:_0xa3bb00,disableAnimationOnActivatedAnnotation:_0x382ee6}){const _0x255d7e=_0x5d57b2;if(this[_0x255d7e(0x17c)]=_0xa3bb00,_0x8218f3){_0x8218f3[_0x255d7e(0x128)]=!0x1;const _0xacfa57=this[_0x255d7e(0x138)](_0x8218f3);_0xacfa57&&_0x382ee6&&(_0xacfa57[_0x255d7e(0x164)]=!0x1);}if(_0xa3bb00){const _0x504f33=this[_0x255d7e(0x138)](_0xa3bb00);_0x504f33&&(_0xa3bb00[_0x255d7e(0x128)]=!0x0,_0x382ee6&&(_0x504f33[_0x255d7e(0x164)]=!0x0,_0x504f33[_0x255d7e(0x15c)]+=0x1),this[_0x255d7e(0x13b)](_0x504f33));}}[_0x5d57b2(0x154)](_0x6d0199){const _0x1d7399=_0x5d57b2;if(this[_0x1d7399(0x12c)][_0x1d7399(0x135)][_0x1d7399(0x14d)](),_0x6d0199){for(const _0x2dcde7 of _0x6d0199)this[_0x1d7399(0x148)](_0x2dcde7);}this[_0x1d7399(0x12c)][_0x1d7399(0x13c)][_0x1d7399(0x169)](),this[_0x1d7399(0x12c)][_0x1d7399(0x12b)]='',this[_0x1d7399(0x151)]=null;}[_0x5d57b2(0x13f)](_0x30d39e,_0x6540){const _0x441d3a=_0x5d57b2;_0x6540||(_0x6540=_0x30d39e[_0x441d3a(0x12c)]);const _0x5ddfe0=new _0x50a340(this[_0x441d3a(0x126)][_0x441d3a(0x168)]);this[_0x441d3a(0x170)][_0x441d3a(0x13e)](_0x5ddfe0,_0x30d39e),this[_0x441d3a(0x14e)][_0x441d3a(0x13e)](_0x30d39e,_0x5ddfe0),_0x5ddfe0[_0x441d3a(0x144)][_0x441d3a(0x16d)](_0x6540),this[_0x441d3a(0x15d)](_0x30d39e[_0x441d3a(0x12c)],_0x441d3a(0x133),(_0x5afe7c,_0x1260c7,_0x1a774c)=>{const _0x4fc57b=_0x441d3a,_0x515474=this[_0x4fc57b(0x13a)](_0x30d39e,_0x1a774c);_0x5ddfe0[_0x4fc57b(0x13d)]!=_0x515474&&(_0x5ddfe0[_0x4fc57b(0x13d)]=_0x515474,this[_0x4fc57b(0x158)](_0x5ddfe0,_0x515474));}),this[_0x441d3a(0x15d)](_0x5ddfe0,_0x441d3a(0x177),()=>{const _0x1af598=_0x441d3a;this[_0x1af598(0x15a)](_0x5ddfe0,_0x1af598(0x15c));}),this[_0x441d3a(0x15d)](_0x5ddfe0,_0x441d3a(0x171),()=>{const _0x1d3334=_0x441d3a;this[_0x1d3334(0x15a)](_0x5ddfe0,_0x1d3334(0x12a));}),this[_0x441d3a(0x13b)](_0x5ddfe0);const _0x2d1762=this[_0x441d3a(0x17a)](_0x5ddfe0);if(_0x2d1762)this[_0x441d3a(0x129)](_0x2d1762,_0x5ddfe0)||this[_0x441d3a(0x13b)](_0x5ddfe0);else this[_0x441d3a(0x13b)](_0x5ddfe0);return this[_0x441d3a(0x142)](),this[_0x441d3a(0x12c)][_0x441d3a(0x13c)][_0x441d3a(0x16d)](_0x5ddfe0),_0x5ddfe0;}[_0x5d57b2(0x161)](_0x5eec37){const _0x2d6e74=_0x5d57b2;if(!_0x5eec37[_0x2d6e74(0x144)][_0x2d6e74(0x134)])return;const _0x5df4bf=this[_0x2d6e74(0x17a)](_0x5eec37);if(!_0x5df4bf)return;const _0x40e23d=this[_0x2d6e74(0x170)][_0x2d6e74(0x16c)](_0x5df4bf),_0x2c86cb=this[_0x2d6e74(0x17c)];_0x2c86cb&&_0x2c86cb===_0x40e23d?this[_0x2d6e74(0x129)](_0x5df4bf,_0x5eec37):this[_0x2d6e74(0x15f)](_0x5eec37,_0x5df4bf);}[_0x5d57b2(0x127)](_0x3bfc6b){const _0xef60e=_0x5d57b2;if(!_0x3bfc6b[_0xef60e(0x144)][_0xef60e(0x134)])return;const _0xbc7744=this[_0xef60e(0x17b)](_0x3bfc6b);if(!_0xbc7744)return;const _0x5c4ca8=this[_0xef60e(0x170)][_0xef60e(0x16c)](_0xbc7744),_0x1aa9ec=this[_0xef60e(0x126)][_0xef60e(0x163)][_0xef60e(0x16c)](_0xef60e(0x143)),_0xdc64ae=this[_0xef60e(0x17c)];_0xdc64ae&&_0xdc64ae===_0x5c4ca8&&_0x1aa9ec?(this[_0xef60e(0x15f)](_0xbc7744,_0x3bfc6b),this[_0xef60e(0x129)](_0x3bfc6b,_0xbc7744)):_0xdc64ae&&_0xdc64ae===_0x5c4ca8?this[_0xef60e(0x15f)](_0xbc7744,_0x3bfc6b):this[_0xef60e(0x129)](_0x3bfc6b,_0xbc7744);}[_0x5d57b2(0x15a)](_0xbe491f,_0x3e8eb5){const _0x5a3d83=_0x5d57b2;0x0===this[_0x5a3d83(0x12e)][_0x5a3d83(0x134)]&&setTimeout(()=>{const _0x12c9c8=_0x5a3d83;for(const {sidebarItemView:_0x2b457a,changedProp:_0x3f1575}of this[_0x12c9c8(0x12e)])_0x12c9c8(0x15c)===_0x3f1575?this[_0x12c9c8(0x161)](_0x2b457a):this[_0x12c9c8(0x127)](_0x2b457a);this[_0x12c9c8(0x12e)]=[];},0xa),this[_0x5a3d83(0x12e)][_0x5a3d83(0x174)]({'sidebarItemView':_0xbe491f,'changedProp':_0x3e8eb5});}[_0x5d57b2(0x138)](_0x345da6){const _0x248675=_0x5d57b2;return this[_0x248675(0x14e)][_0x248675(0x16c)](_0x345da6);}[_0x5d57b2(0x132)](){const _0x5769ad=_0x5d57b2;this[_0x5769ad(0x166)](),this[_0x5769ad(0x12c)][_0x5769ad(0x132)]();}[_0x5d57b2(0x148)](_0x3f43f6){const _0x58f85f=_0x5d57b2,_0x221432=this[_0x58f85f(0x138)](_0x3f43f6);this[_0x58f85f(0x166)](_0x221432),this[_0x58f85f(0x166)](_0x3f43f6[_0x58f85f(0x12c)]),_0x221432[_0x58f85f(0x132)](),this[_0x58f85f(0x14e)][_0x58f85f(0x157)](_0x3f43f6),this[_0x58f85f(0x170)][_0x58f85f(0x157)](_0x221432);}[_0x5d57b2(0x179)](){const _0x421bcb=_0x5d57b2,_0xe78ddd=new _0x44a103(this[_0x421bcb(0x126)][_0x421bcb(0x168)]);return _0xe78ddd[_0x421bcb(0x124)](),this['on'](_0x421bcb(0x131),(_0x521384,_0x2f41c8,_0x1ed7e2,_0x965f6c)=>{const _0x31f5c6=_0x421bcb;_0x965f6c&&_0xe78ddd[_0x31f5c6(0x12f)](_0x31f5c6(0x130)),_0x1ed7e2?_0xe78ddd[_0x31f5c6(0x178)](_0x31f5c6(0x130))['to'](_0x1ed7e2,_0x31f5c6(0x12a)):_0xe78ddd[_0x31f5c6(0x130)]=null;}),_0xe78ddd;}[_0x5d57b2(0x142)](){const _0x1ed6de=_0x5d57b2;var _0x1ccd07;this[_0x1ed6de(0x151)]=(null===(_0x1ccd07=this[_0x1ed6de(0x149)])||void 0x0===_0x1ccd07?void 0x0:_0x1ccd07[_0x1ed6de(0x147)])?this[_0x1ed6de(0x138)](this[_0x1ed6de(0x149)][_0x1ed6de(0x147)]):null;}[_0x5d57b2(0x17a)](_0x524f78){const _0x1adf78=_0x5d57b2;var _0x4d15c5;const _0x8cb9ea=this[_0x1adf78(0x170)][_0x1adf78(0x16c)](_0x524f78),_0x4422b7=_0x8cb9ea&&(null===(_0x4d15c5=this[_0x1adf78(0x149)])||void 0x0===_0x4d15c5?void 0x0:_0x4d15c5[_0x1adf78(0x16c)](this[_0x1adf78(0x149)][_0x1adf78(0x159)](_0x8cb9ea)-0x1));return _0x4422b7&&this[_0x1adf78(0x138)](_0x4422b7)||null;}[_0x5d57b2(0x17b)](_0x543eaf){const _0x162e75=_0x5d57b2;var _0x43aebb;const _0x4bb1e0=this[_0x162e75(0x170)][_0x162e75(0x16c)](_0x543eaf),_0x29f74c=_0x4bb1e0&&(null===(_0x43aebb=this[_0x162e75(0x149)])||void 0x0===_0x43aebb?void 0x0:_0x43aebb[_0x162e75(0x16c)](this[_0x162e75(0x149)][_0x162e75(0x159)](_0x4bb1e0)+0x1));return _0x29f74c&&this[_0x162e75(0x138)](_0x29f74c)||null;}[_0x5d57b2(0x15f)](_0x422bfb,_0x48725a){const _0x38555a=_0x5d57b2;_0x422bfb[_0x38555a(0x146)]();const _0x34d0ff=M(_0x48725a[_0x38555a(0x12a)]+this[_0x38555a(0x173)],_0x422bfb[_0x38555a(0x15c)]);return!!_0x34d0ff&&(this[_0x38555a(0x158)](_0x48725a,_0x48725a[_0x38555a(0x15c)]-_0x34d0ff),!0x0);}[_0x5d57b2(0x129)](_0x4df080,_0x49d184){const _0xd3b97a=_0x5d57b2;_0x4df080[_0xd3b97a(0x146)]();const _0x75a4a8=M(_0x4df080[_0xd3b97a(0x12a)]+this[_0xd3b97a(0x173)],_0x49d184[_0xd3b97a(0x15c)]);return!!_0x75a4a8&&(this[_0xd3b97a(0x158)](_0x49d184,_0x49d184[_0xd3b97a(0x15c)]+_0x75a4a8,!0x1),!0x0);}[_0x5d57b2(0x13b)](_0x10b93d){const _0x300695=_0x5d57b2,_0x497d5f=this[_0x300695(0x170)][_0x300695(0x16c)](_0x10b93d);if(!_0x497d5f||!_0x497d5f[_0x300695(0x167)]||!_0x497d5f[_0x300695(0x137)])return;const _0x145c46=this[_0x300695(0x13a)](_0x497d5f,_0x497d5f[_0x300695(0x137)]);this[_0x300695(0x158)](_0x10b93d,_0x145c46);}[_0x5d57b2(0x13a)](_0x3ff36d,_0x4eac74){const _0x3d0c5b=_0x5d57b2;if(null===_0x4eac74)return 0x0;if(_0x3ff36d[_0x3d0c5b(0x167)]instanceof _0x79d577)return _0x4eac74[_0x3d0c5b(0x15c)];{const _0x151467=new _0x79d577(this[_0x3d0c5b(0x12c)][_0x3d0c5b(0x135)])[_0x3d0c5b(0x15c)];return _0x4eac74[_0x3d0c5b(0x15c)]-_0x151467;}}[_0x5d57b2(0x158)](_0xb2d384,_0x38608f,_0x17adcd=this[_0x5d57b2(0x126)][_0x5d57b2(0x163)][_0x5d57b2(0x16c)](_0x5d57b2(0x143))){const _0x4f7b14=_0x5d57b2;_0x17adcd&&(_0x38608f=Math[_0x4f7b14(0x172)](_0x38608f,this[_0x4f7b14(0x12d)](_0xb2d384))),_0xb2d384[_0x4f7b14(0x15c)]=_0x38608f;}[_0x5d57b2(0x12d)](_0x12ce40){const _0x19d2d0=_0x5d57b2;let _0xd8dfb7=this[_0x19d2d0(0x17a)](_0x12ce40),_0x34b956=0x0;for(;_0xd8dfb7;)_0xd8dfb7[_0x19d2d0(0x146)](),_0x34b956+=this[_0x19d2d0(0x173)]+_0xd8dfb7[_0x19d2d0(0x145)],_0xd8dfb7=this[_0x19d2d0(0x17a)](_0xd8dfb7);return _0x34b956;}}function M(_0x407422,_0x38ce36){const _0xc6c5fd=_0x5d57b2;return Math[_0xc6c5fd(0x172)](_0x407422-_0x38ce36,0x0);}function y(_0x45ed2a){const _0x6d6994=_0x5d57b2;return null!==_0x45ed2a&&_0x6d6994(0x15b)==typeof _0x45ed2a&&0x1===_0x45ed2a[_0x6d6994(0x162)];}
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 _0x4827(_0x236fae,_0x341a88){const _0x467049=_0x4670();return _0x4827=function(_0x48275a,_0x2aeed6){_0x48275a=_0x48275a-0xdf;let _0x1ed935=_0x467049[_0x48275a];return _0x1ed935;},_0x4827(_0x236fae,_0x341a88);}(function(_0x5010b2,_0x55fd44){const _0x42991b=_0x4827,_0x142e43=_0x5010b2();while(!![]){try{const _0x9c7b6=-parseInt(_0x42991b(0xf4))/0x1*(-parseInt(_0x42991b(0xe1))/0x2)+-parseInt(_0x42991b(0xf0))/0x3+parseInt(_0x42991b(0xfd))/0x4*(parseInt(_0x42991b(0xec))/0x5)+parseInt(_0x42991b(0xf8))/0x6+parseInt(_0x42991b(0xeb))/0x7*(-parseInt(_0x42991b(0xf6))/0x8)+-parseInt(_0x42991b(0xf9))/0x9*(-parseInt(_0x42991b(0xf1))/0xa)+-parseInt(_0x42991b(0xfb))/0xb;if(_0x9c7b6===_0x55fd44)break;else _0x142e43['push'](_0x142e43['shift']());}catch(_0x558550){_0x142e43['push'](_0x142e43['shift']());}}}(_0x4670,0x483c1));import{ButtonView as _0x8e38fb,View as _0x4baa39}from'ckeditor5/src/ui.js';import _0x44273b from'../../../theme/icons/add-comment.svg';function _0x4670(){const _0x25594f=['span','ck-annotation-counter__badge','extendTemplate','367341QzYnuI','210DsXzDD','...','isDirty','61vFmapc','bind','8urVsWB','set','2729010YxXVMp','236349uklWnG','_badge','14413817dWDcke','number','294696gueLvn','ck-annotation-counter__badge--','toString','15194VDligy','ck-annotation-counter','ck-annotation-counter__badge--edit-mode','icon','add','bindTemplate','counterView','annotationType','setTemplate','children','250334gjzMwn','20KosdzC'];_0x4670=function(){return _0x25594f;};return _0x4670();}export default class D extends _0x8e38fb{constructor(_0x4dc7b2){const _0x549af5=_0x4827;super(_0x4dc7b2);const _0x584718=this[_0x549af5(0xe6)];this[_0x549af5(0xf7)](_0x549af5(0xf3),!0x1),this[_0x549af5(0xf7)](_0x549af5(0xfc),0x0),this[_0x549af5(0xf5)](_0x549af5(0xfa))['to'](this,_0x549af5(0xf3),this,_0x549af5(0xfc),(_0x5b822f,_0x4a556d)=>_0x5b822f?_0x549af5(0xf2):_0x4a556d[_0x549af5(0xe0)]()),this[_0x549af5(0xf7)](_0x549af5(0xe8),''),this[_0x549af5(0xe4)]=_0x44273b,this[_0x549af5(0xef)]({'attributes':{'class':[_0x549af5(0xe2)]}}),this[_0x549af5(0xe7)]=new _0x4baa39(),this[_0x549af5(0xe7)][_0x549af5(0xe9)]({'tag':_0x549af5(0xed),'attributes':{'class':[_0x549af5(0xee),_0x584718['to'](_0x549af5(0xe8),_0x527058=>_0x549af5(0xdf)+_0x527058),_0x584718['if'](_0x549af5(0xf3),_0x549af5(0xe3))]},'children':[{'text':_0x584718['to'](_0x549af5(0xfa))}]}),this[_0x549af5(0xea)][_0x549af5(0xe5)](this[_0x549af5(0xe7)]);}}
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
- const _0x4ca97a=_0x34f4;function _0x34f4(_0x7e5a03,_0x224494){const _0x257041=_0x2570();return _0x34f4=function(_0x34f445,_0x5a6a01){_0x34f445=_0x34f445-0x10e;let _0x1d98fa=_0x257041[_0x34f445];return _0x1d98fa;},_0x34f4(_0x7e5a03,_0x224494);}function _0x2570(){const _0x393ab8=['fire','Esc','7FCevfs','type','listenTo','render','70bMOZre','bindTemplate','destroy','attach','10SxxJzT','_mutationObserver','detach','856740FURdKl','keystrokes','13806705sWuTrw','div','ck-rounded-corners','height','targetRect','setTemplate','element','61242zVrMMP','focusTracker','content','ck-annotation-wrapper','mainView','1305108PqoAHV','isDirty','set','_updateHeight','clientHeight','isActive','3103912UnBbGo','350712wesoCw','length','createCollection','ck-annotation-wrapper--active','171770OpuzGx','12OBTcOs','clear','add','focus'];_0x2570=function(){return _0x393ab8;};return _0x2570();}(function(_0x57b51f,_0x447838){const _0x331aaf=_0x34f4,_0xb98a8a=_0x57b51f();while(!![]){try{const _0x5b92b4=parseInt(_0x331aaf(0x126))/0x1+-parseInt(_0x331aaf(0x11b))/0x2+parseInt(_0x331aaf(0x127))/0x3*(-parseInt(_0x331aaf(0x138))/0x4)+parseInt(_0x331aaf(0x131))/0x5*(parseInt(_0x331aaf(0x116))/0x6)+parseInt(_0x331aaf(0x12d))/0x7*(parseInt(_0x331aaf(0x121))/0x8)+-parseInt(_0x331aaf(0x122))/0x9*(-parseInt(_0x331aaf(0x135))/0xa)+parseInt(_0x331aaf(0x10f))/0xb;if(_0x5b92b4===_0x447838)break;else _0xb98a8a['push'](_0xb98a8a['shift']());}catch(_0x1c0bd1){_0xb98a8a['push'](_0xb98a8a['shift']());}}}(_0x2570,0x7703e));import{View as _0x4664df}from'ckeditor5/src/ui.js';import{FocusTracker as _0x251152,KeystrokeHandler as _0x2a06c2,uid as _0x2f5c2c}from'ckeditor5/src/utils.js';import _0x4e5319 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x4664df{constructor(_0x2d1cb3,_0x56f46e){const _0x1b11d0=_0x34f4;super(_0x2d1cb3),this['id']=_0x2f5c2c(),this[_0x1b11d0(0x117)]=new _0x251152(),this[_0x1b11d0(0x10e)]=new _0x2a06c2(),this[_0x1b11d0(0x10e)][_0x1b11d0(0x11d)](_0x1b11d0(0x12c),(_0x2dd8c9,_0xcefa27)=>this[_0x1b11d0(0x12b)](_0x1b11d0(0x12c),_0xcefa27)),this[_0x1b11d0(0x11d)](_0x1b11d0(0x113),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x1b11d0(0x11d)](_0x1b11d0(0x112),0x0),this[_0x1b11d0(0x11d)](_0x1b11d0(0x120),!0x1),this[_0x1b11d0(0x11d)](_0x1b11d0(0x11c),!0x1),this[_0x1b11d0(0x11d)](_0x1b11d0(0x123),0x0),this[_0x1b11d0(0x11d)](_0x1b11d0(0x12e),''),this[_0x1b11d0(0x136)]=_0x4e5319(()=>this[_0x1b11d0(0x11e)]()),this[_0x1b11d0(0x118)]=this[_0x1b11d0(0x124)](),this[_0x1b11d0(0x118)][_0x1b11d0(0x129)](_0x56f46e),this[_0x1b11d0(0x11a)]=_0x56f46e;const _0x50114a=this[_0x1b11d0(0x132)];this[_0x1b11d0(0x114)]({'tag':_0x1b11d0(0x110),'attributes':{'class':['ck',_0x1b11d0(0x119),_0x1b11d0(0x111),_0x50114a['if'](_0x1b11d0(0x120),_0x1b11d0(0x125))],'tabindex':-0x1},'children':this[_0x1b11d0(0x118)]});}[_0x4ca97a(0x130)](){const _0x1fc7e4=_0x4ca97a;super[_0x1fc7e4(0x130)](),this[_0x1fc7e4(0x117)][_0x1fc7e4(0x129)](this[_0x1fc7e4(0x115)]),this[_0x1fc7e4(0x10e)][_0x1fc7e4(0x12f)](this[_0x1fc7e4(0x115)]),this[_0x1fc7e4(0x136)][_0x1fc7e4(0x134)](this[_0x1fc7e4(0x115)]);}[_0x4ca97a(0x133)](){const _0x4c19ac=_0x4ca97a;this[_0x4c19ac(0x118)][_0x4c19ac(0x128)](),this[_0x4c19ac(0x10e)][_0x4c19ac(0x133)](),this[_0x4c19ac(0x117)][_0x4c19ac(0x133)](),this[_0x4c19ac(0x136)][_0x4c19ac(0x137)](),super[_0x4c19ac(0x133)]();}[_0x4ca97a(0x12a)](){const _0x31b4c7=_0x4ca97a;this[_0x31b4c7(0x115)][_0x31b4c7(0x12a)]();}[_0x4ca97a(0x11e)](){const _0x2c5df1=_0x4ca97a,_0x1c2e29=this[_0x2c5df1(0x115)][_0x2c5df1(0x11f)];_0x1c2e29&&(this[_0x2c5df1(0x112)]=_0x1c2e29);}}
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
- function _0x2ab0(){const _0x5d2abb=['1819362uidQuO','_mutationObserver','div','content','20zAsGat','_targetTop','328170GJsGoX','1073996Plzwxg','element','58253140ScUVjm','attach','set','clientHeight','3LHdWQv','640070gzvqqH','bindTemplate','detach','ck-sidebar-item','updateHeight','top','height','ck-sidebar-item--no-animation','createCollection','setTemplate','render','11976360ubMEcL','destroy','clear','bind','21ciJfno','6956838qvFnnz','bottom','isAnimationDisabled'];_0x2ab0=function(){return _0x5d2abb;};return _0x2ab0();}function _0x2eda(_0x4f6035,_0x1c3c1b){const _0x2ab05d=_0x2ab0();return _0x2eda=function(_0x2eda52,_0x5b2721){_0x2eda52=_0x2eda52-0x10a;let _0x467d14=_0x2ab05d[_0x2eda52];return _0x467d14;},_0x2eda(_0x4f6035,_0x1c3c1b);}const _0x569feb=_0x2eda;(function(_0x437823,_0xc5646c){const _0x2a7dc6=_0x2eda,_0x5d9d86=_0x437823();while(!![]){try{const _0x3cc4b9=-parseInt(_0x2a7dc6(0x120))/0x1+-parseInt(_0x2a7dc6(0x119))/0x2*(parseInt(_0x2a7dc6(0x126))/0x3)+-parseInt(_0x2a7dc6(0x11d))/0x4*(parseInt(_0x2a7dc6(0x127))/0x5)+-parseInt(_0x2a7dc6(0x11f))/0x6*(parseInt(_0x2a7dc6(0x115))/0x7)+-parseInt(_0x2a7dc6(0x111))/0x8+-parseInt(_0x2a7dc6(0x116))/0x9+parseInt(_0x2a7dc6(0x122))/0xa;if(_0x3cc4b9===_0xc5646c)break;else _0x5d9d86['push'](_0x5d9d86['shift']());}catch(_0x5f3fd8){_0x5d9d86['push'](_0x5d9d86['shift']());}}}(_0x2ab0,0xbb5df));import{View as _0x86b723}from'ckeditor5/src/ui.js';import{toUnit as _0x1a2351}from'ckeditor5/src/utils.js';import _0x5c8aa4 from'../../utils/createmutationobserver.js';const qt=_0x1a2351('px');export default class C extends _0x86b723{constructor(_0x1e9e3d){const _0x451fba=_0x2eda;super(_0x1e9e3d),this[_0x451fba(0x124)](_0x451fba(0x10b),0x0),this[_0x451fba(0x124)](_0x451fba(0x10c),0x0),this[_0x451fba(0x114)](_0x451fba(0x117))['to'](this,_0x451fba(0x10b),this,_0x451fba(0x10c),(_0x9870ba,_0x800220)=>_0x9870ba+_0x800220),this[_0x451fba(0x124)](_0x451fba(0x118),!0x1),this[_0x451fba(0x11a)]=_0x5c8aa4(()=>this[_0x451fba(0x10a)]()),this[_0x451fba(0x11e)]=null,this[_0x451fba(0x11c)]=this[_0x451fba(0x10e)]();const _0x43cf70=this[_0x451fba(0x128)];this[_0x451fba(0x10f)]({'tag':_0x451fba(0x11b),'attributes':{'class':[_0x451fba(0x12a),_0x43cf70['to'](_0x451fba(0x118),_0x4c6158=>_0x4c6158?_0x451fba(0x10d):'')],'style':{'top':_0x43cf70['to'](_0x451fba(0x10b),_0xe7cf06=>qt(_0xe7cf06))}},'children':this[_0x451fba(0x11c)]});}[_0x569feb(0x110)](){const _0x1a757d=_0x569feb;super[_0x1a757d(0x110)](),this[_0x1a757d(0x11a)][_0x1a757d(0x123)](this[_0x1a757d(0x121)]);}[_0x569feb(0x10a)](){const _0x41b9ea=_0x569feb,_0x284886=this[_0x41b9ea(0x121)][_0x41b9ea(0x125)];_0x284886&&(this[_0x41b9ea(0x10c)]=_0x284886);}[_0x569feb(0x112)](){const _0x427858=_0x569feb;this[_0x427858(0x11c)][_0x427858(0x113)](),this[_0x427858(0x11a)][_0x427858(0x129)](),super[_0x427858(0x112)]();}}
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(_0xa7311e,_0x58b4a9){const _0x5ace3f=_0x9262,_0x30ece5=_0xa7311e();while(!![]){try{const _0xf77999=-parseInt(_0x5ace3f(0xe4))/0x1*(parseInt(_0x5ace3f(0xe5))/0x2)+-parseInt(_0x5ace3f(0xee))/0x3*(parseInt(_0x5ace3f(0xea))/0x4)+-parseInt(_0x5ace3f(0xf2))/0x5+parseInt(_0x5ace3f(0xe8))/0x6+parseInt(_0x5ace3f(0xe9))/0x7*(-parseInt(_0x5ace3f(0xed))/0x8)+parseInt(_0x5ace3f(0xe6))/0x9+parseInt(_0x5ace3f(0xf3))/0xa*(parseInt(_0x5ace3f(0xef))/0xb);if(_0xf77999===_0x58b4a9)break;else _0x30ece5['push'](_0x30ece5['shift']());}catch(_0x238c87){_0x30ece5['push'](_0x30ece5['shift']());}}}(_0x52b7,0x9db60));import{View as _0xc9d6f6}from'ckeditor5/src/ui.js';function _0x9262(_0x3475f3,_0x3149d7){const _0x52b754=_0x52b7();return _0x9262=function(_0x92623b,_0x5b2530){_0x92623b=_0x92623b-0xdf;let _0x49c8af=_0x52b754[_0x92623b];return _0x49c8af;},_0x9262(_0x3475f3,_0x3149d7);}import{toUnit as _0x428375}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';function _0x52b7(){const _0x2dcefa=['5426RDXNiP','5925240QwkXJR','ck-sidebar','2254110VTVQdJ','28qLpVRu','4XcZmgC','ck-reset','setTemplate','2404384MtSaYq','332151VVLStg','2761IFLRsR','minHeight','number','5635410CWMkOj','91370LVoiYA','list','set','div','createCollection','bindTemplate','class','89KjZVpL'];_0x52b7=function(){return _0x2dcefa;};return _0x52b7();}const qt=_0x428375('px');export default class T extends _0xc9d6f6{constructor(_0x22b5bf){const _0x13fe48=_0x9262;super(_0x22b5bf);const _0x408f9d=this[_0x13fe48(0xe2)];this[_0x13fe48(0xdf)](_0x13fe48(0xf0),0x0),this[_0x13fe48(0xdf)](_0x13fe48(0xe3),''),this[_0x13fe48(0xf4)]=this[_0x13fe48(0xe1)](),this[_0x13fe48(0xec)]({'tag':_0x13fe48(0xe0),'attributes':{'class':['ck',_0x13fe48(0xe7),_0x13fe48(0xeb),_0x408f9d['to'](_0x13fe48(0xe3))],'style':{'minHeight':_0x408f9d['to'](_0x13fe48(0xf0),_0x532fcf=>_0x13fe48(0xf1)==typeof _0x532fcf?qt(_0x532fcf+0xa):null)}},'children':this[_0x13fe48(0xf4)]});}}
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);}}