@ckeditor/ckeditor5-comments 42.0.2 → 43.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1239(_0x249b8c,_0x56a296){const _0x8477d9=_0x8477();return _0x1239=function(_0x123980,_0x29d317){_0x123980=_0x123980-0x1f0;let _0x4a3cee=_0x8477d9[_0x123980];return _0x4a3cee;},_0x1239(_0x249b8c,_0x56a296);}const _0x2bac6b=_0x1239;(function(_0x1193ae,_0x53b4ba){const _0x2b14af=_0x1239,_0x390922=_0x1193ae();while(!![]){try{const _0x4a5e76=parseInt(_0x2b14af(0x22f))/0x1*(-parseInt(_0x2b14af(0x239))/0x2)+parseInt(_0x2b14af(0x1ff))/0x3+-parseInt(_0x2b14af(0x1f8))/0x4+-parseInt(_0x2b14af(0x233))/0x5+-parseInt(_0x2b14af(0x204))/0x6+-parseInt(_0x2b14af(0x209))/0x7+-parseInt(_0x2b14af(0x203))/0x8*(-parseInt(_0x2b14af(0x229))/0x9);if(_0x4a5e76===_0x53b4ba)break;else _0x390922['push'](_0x390922['shift']());}catch(_0x3c147d){_0x390922['push'](_0x390922['shift']());}}}(_0x8477,0xd5def));import{ConfirmMixin as _0x4401d6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8477(){const _0x211902=['length','archivedAt','createCollection','isResolvable','Delete\x20comment\x20thread?','render','removeButton','extendTemplate','isVisible','_bindFirstCommentView','commentThreadHeaderView','866216hvVDLI','ck-reset_all-excluded','ck-thread__container','Write\x20a\x20comment...','ck-thread--active','showConfirm','containerElement','4113441FKQXnS','tooltip','fire','div','176ekwtHL','1507806WQsust','locale','add','check','commentsListView','1033858KlSoJC','setTemplate','commentViews','.ck-thread__container','bindTemplate','removeCommentThread','commentThreadInputView','_boundFirstCommentView','high','icon','unbind','Resolve','change:isReadOnly','label','commentThreadChildren','then','_cancelAllConfirms','ck-thread--','isResolved','ck-thread','addMany','ck-thread--unlinked','change:isActive','querySelector','execute','isReadOnly','stop','listenTo','actionBar','get','isSystemComment','_createResolveButton','773433gCMiPw','isEnabled','change:archivedAt','set','actionIndicator','element','1446569JhwvcO','getTemplate','isConfirm','remove','1618140pwoVri','has','resolveCommentThread','ck-thread--remove-confirmation','isActive','bind','2JrgeoR','_model','isUnlinked','placeholder','cancelConfirm','ck-comment--resolve','resolveButton'];_0x8477=function(){return _0x211902;};return _0x8477();}import{ButtonView as _0x39810f}from'ckeditor5/src/ui.js';import{icons as _0x5e2d81}from'ckeditor5/src/core.js';import _0x372436 from'./basecommentthreadview.js';import{getTranslation as _0x358544}from'../../../utils/common-translations.js';export default class yt extends/* #__PURE__ -- @preserve */
24
- _0x4401d6(_0x372436){constructor(_0x58a053,_0x54cf3f,_0x4e200c,_0x569434){const _0x2e6459=_0x1239;super(_0x58a053,_0x54cf3f,_0x4e200c,_0x569434),this[_0x2e6459(0x217)]=this[_0x2e6459(0x242)](),this[_0x2e6459(0x217)][_0x2e6459(0x21d)]([this[_0x2e6459(0x208)],this[_0x2e6459(0x20f)]]),this[_0x2e6459(0x23a)][_0x2e6459(0x241)]&&this[_0x2e6459(0x217)][_0x2e6459(0x206)](this[_0x2e6459(0x1f7)],0x0),this[_0x2e6459(0x23a)]['on'](_0x2e6459(0x22b),(_0x450723,_0x2e4ef8,_0x3498d4)=>{const _0x7a0023=_0x2e6459;_0x3498d4?this[_0x7a0023(0x217)][_0x7a0023(0x234)](this[_0x7a0023(0x1f7)])||this[_0x7a0023(0x217)][_0x7a0023(0x206)](this[_0x7a0023(0x1f7)],0x0):this[_0x7a0023(0x217)][_0x7a0023(0x232)](this[_0x7a0023(0x1f7)]);}),this[_0x2e6459(0x22c)](_0x2e6459(0x22d),null),this[_0x2e6459(0x1fe)]=null,this[_0x2e6459(0x210)]=null,this[_0x2e6459(0x205)]=_0x58a053,this[_0x2e6459(0x23f)]=this[_0x2e6459(0x228)](),this[_0x2e6459(0x20a)](this[_0x2e6459(0x230)]()),this['on'](_0x2e6459(0x21f),(_0x1fbe46,_0x3ba979,_0xb542ea)=>{const _0x36dccc=_0x2e6459;_0xb542ea||this[_0x36dccc(0x219)]();}),this[_0x2e6459(0x224)](this[_0x2e6459(0x23a)],_0x2e6459(0x215),(_0x3df535,_0xe0f0a3,_0x5a9a16)=>{const _0x54c4fc=_0x2e6459;_0x5a9a16&&this[_0x54c4fc(0x219)]();}),this[_0x2e6459(0x240)]>0x0&&this[_0x2e6459(0x1f6)](),this[_0x2e6459(0x224)](this[_0x2e6459(0x208)][_0x2e6459(0x20b)],_0x2e6459(0x206),()=>{const _0x10858e=_0x2e6459;this[_0x10858e(0x1f6)]();});}[_0x2bac6b(0x230)](){const _0x87e79=_0x2bac6b,_0x4ca961=this[_0x87e79(0x20d)];return{'tag':_0x87e79(0x202),'attributes':{'class':[_0x87e79(0x21c),_0x87e79(0x1f9),_0x4ca961['if'](_0x87e79(0x237),_0x87e79(0x1fc)),_0x4ca961['if'](_0x87e79(0x23b),_0x87e79(0x21e)),_0x4ca961['if'](_0x87e79(0x231),_0x87e79(0x236)),_0x4ca961['to'](_0x87e79(0x22d),_0x18e287=>_0x18e287?_0x87e79(0x21a)+_0x18e287:'')],'data-thread-id':this[_0x87e79(0x23a)]['id'],'tabindex':-0x1},'children':[{'tag':_0x87e79(0x202),'attributes':{'class':_0x87e79(0x1fa)},'children':this[_0x87e79(0x217)]}]};}[_0x2bac6b(0x1f2)](){const _0x391c38=_0x2bac6b;super[_0x391c38(0x1f2)](),this[_0x391c38(0x1fe)]=this[_0x391c38(0x22e)][_0x391c38(0x220)](_0x391c38(0x20c));}[_0x2bac6b(0x219)](){const _0x3f3cf4=_0x2bac6b;this[_0x3f3cf4(0x23d)]();for(const _0x48c849 of this[_0x3f3cf4(0x208)][_0x3f3cf4(0x20b)])_0x48c849[_0x3f3cf4(0x23d)]();}[_0x2bac6b(0x1f6)](){const _0x1a794b=_0x2bac6b,{locale:_0x2db7fe}=this,_0x3c3887=this[_0x1a794b(0x208)][_0x1a794b(0x20b)][_0x1a794b(0x226)](0x0);_0x3c3887===this[_0x1a794b(0x210)]||_0x3c3887[_0x1a794b(0x227)]||(this[_0x1a794b(0x210)]=_0x3c3887,this[_0x1a794b(0x213)](_0x1a794b(0x22d)),this[_0x1a794b(0x238)](_0x1a794b(0x22d))['to'](_0x3c3887,_0x1a794b(0x22d),_0x5c74d9=>_0x1a794b(0x232)===_0x5c74d9?_0x1a794b(0x232):null),_0x3c3887[_0x1a794b(0x23c)]=_0x358544(_0x2db7fe,_0x1a794b(0x1fb)),_0x3c3887[_0x1a794b(0x1f3)]['on'](_0x1a794b(0x221),_0x42e574=>{const _0x72df=_0x1a794b;_0x42e574[_0x72df(0x223)](),this[_0x72df(0x1fd)](_0x358544(_0x2db7fe,_0x72df(0x1f1)),this[_0x72df(0x1fe)])[_0x72df(0x218)](()=>{const _0x156a90=_0x72df;this[_0x156a90(0x201)](_0x156a90(0x20e));});},{'priority':_0x1a794b(0x211)}),_0x3c3887[_0x1a794b(0x225)][_0x1a794b(0x206)](this[_0x1a794b(0x23f)],0x0));}[_0x2bac6b(0x228)](){const _0x311bdc=_0x2bac6b,_0x276ea3=new _0x39810f(this[_0x311bdc(0x205)]);return _0x276ea3[_0x311bdc(0x216)]=_0x358544(this[_0x311bdc(0x205)],_0x311bdc(0x214)),_0x276ea3[_0x311bdc(0x200)]=_0x358544(this[_0x311bdc(0x205)],_0x311bdc(0x214)),_0x276ea3[_0x311bdc(0x212)]=_0x5e2d81[_0x311bdc(0x207)],_0x276ea3[_0x311bdc(0x1f4)]({'attributes':{'class':_0x311bdc(0x23e)}}),_0x276ea3[_0x311bdc(0x238)](_0x311bdc(0x22a))['to'](this[_0x311bdc(0x23a)],_0x311bdc(0x222),_0x10d2c5=>!_0x10d2c5),_0x276ea3[_0x311bdc(0x238)](_0x311bdc(0x1f5))['to'](this[_0x311bdc(0x23a)],_0x311bdc(0x1f0),this[_0x311bdc(0x23a)],_0x311bdc(0x21b),(_0x5d0f3d,_0x454c4e)=>_0x5d0f3d&&!_0x454c4e),_0x276ea3['on'](_0x311bdc(0x221),()=>{const _0x57df6d=_0x311bdc;this[_0x57df6d(0x201)](_0x57df6d(0x235),this[_0x57df6d(0x23a)]['id']);}),_0x276ea3;}}
23
+ const _0x46a210=_0x44cb;(function(_0x822b7,_0x4f6c36){const _0x26a91f=_0x44cb,_0x27e4ef=_0x822b7();while(!![]){try{const _0x513f18=parseInt(_0x26a91f(0x124))/0x1+-parseInt(_0x26a91f(0x144))/0x2*(-parseInt(_0x26a91f(0x143))/0x3)+parseInt(_0x26a91f(0x110))/0x4+-parseInt(_0x26a91f(0x119))/0x5*(-parseInt(_0x26a91f(0x12d))/0x6)+-parseInt(_0x26a91f(0x11d))/0x7*(parseInt(_0x26a91f(0xfa))/0x8)+-parseInt(_0x26a91f(0x105))/0x9*(-parseInt(_0x26a91f(0x127))/0xa)+parseInt(_0x26a91f(0x106))/0xb*(-parseInt(_0x26a91f(0x13f))/0xc);if(_0x513f18===_0x4f6c36)break;else _0x27e4ef['push'](_0x27e4ef['shift']());}catch(_0x3c102a){_0x27e4ef['push'](_0x27e4ef['shift']());}}}(_0x3ba5,0x33a3f));import{ConfirmMixin as _0x24b24f,LateFocusButtonView as _0x3b3548}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x1a206c}from'ckeditor5/src/core.js';import _0x5802ea from'./basecommentthreadview.js';import{getTranslation as _0x268b43}from'../../../utils/common-translations.js';function _0x44cb(_0x33f5f2,_0x48a52c){const _0x3ba50f=_0x3ba5();return _0x44cb=function(_0x44cbd6,_0x290299){_0x44cbd6=_0x44cbd6-0xe8;let _0x5207f7=_0x3ba50f[_0x44cbd6];return _0x5207f7;},_0x44cb(_0x33f5f2,_0x48a52c);}function _0x3ba5(){const _0x114067=['ck-thread','ck-comment--resolve','isActive','resolveCommentThread','commentThreadHeaderView','.ck-thread__container','isUnlinked','bind','add','_cancelAllConfirms','extendTemplate','12071652UPNFOq','commentViews','isReadOnly','actionBar','1156836NPRplt','2jGIrSe','_boundFirstCommentView','ck-reset_all-excluded','resolveButton','then','div','change:archivedAt','focusables','ck-thread--remove-confirmation','stop','get','getTemplate','actionIndicator','createCollection','isSystemComment','removeConfirm','execute','icon','change:isActive','40uKvfXR','_bindFirstCommentView','removeCommentThread','listitem','length','commentThreadChildren','Resolve','_updateArchivedThreadHeader','Delete\x20comment\x20thread?','remove','ck-thread__container','2631600PDkTwl','11JLsJGn','tooltip','containerElement','ck-rounded-corners','has','placeholder','change:isReadOnly','label','ck-thread--','ck-thread--active','294764RPkbYy','removeButton','Write\x20a\x20comment...','set','fire','high','ariaDescriptionView','isConfirm','setTemplate','295sXlQCO','_model','commentsListView','_createResolveButton','45612zEQSdJ','showConfirm','bindTemplate','focus','ariaLabel','isEnabled','isResolved','302723JMWeMQ','isResolvable','isVisible','10WXRjYn','ck-thread--unlinked','querySelector','commentThreadInputView','locale','check','19896GwJBdi','render','element','archivedAt','cancelConfirm','unbind','listenTo'];_0x3ba5=function(){return _0x114067;};return _0x3ba5();}export default class At extends/* #__PURE__ -- @preserve */
24
+ _0x24b24f(_0x5802ea){constructor(_0x5519d2,_0x24c01b,_0x1efcda,_0x551b2c){const _0x70e05f=_0x44cb;super(_0x5519d2,_0x24c01b,_0x1efcda,_0x551b2c),this[_0x70e05f(0xff)]=this[_0x70e05f(0xf4)]([this[_0x70e05f(0x11b)],this[_0x70e05f(0x12a)],this[_0x70e05f(0x116)]]),this[_0x70e05f(0x113)](_0x70e05f(0xf3),null),this[_0x70e05f(0x108)]=null,this[_0x70e05f(0xe8)]=null,this[_0x70e05f(0x12b)]=_0x5519d2,this[_0x70e05f(0xea)]=this[_0x70e05f(0x11c)](),this[_0x70e05f(0x118)](this[_0x70e05f(0xf2)]()),this['on'](_0x70e05f(0xf9),(_0x2336fd,_0x559a1b,_0xb07fae)=>{const _0x7a8da2=_0x70e05f;_0xb07fae||this[_0x7a8da2(0x13d)]();}),this[_0x70e05f(0x133)](this[_0x70e05f(0x11a)],_0x70e05f(0x10c),(_0x57cb8b,_0x325038,_0x440b70)=>{const _0x3bb03c=_0x70e05f;_0x440b70&&this[_0x3bb03c(0x13d)]();}),this[_0x70e05f(0xfe)]>0x0&&this[_0x70e05f(0xfb)](),this[_0x70e05f(0x133)](this[_0x70e05f(0x11b)][_0x70e05f(0x140)],_0x70e05f(0x13c),()=>{const _0x4bd9fb=_0x70e05f;this[_0x4bd9fb(0xfb)]();});}[_0x46a210(0xf2)](){const _0x2de471=_0x46a210,_0x4d9636=this[_0x2de471(0x11f)];return{'tag':_0x2de471(0xec),'attributes':{'class':['ck',_0x2de471(0x134),_0x2de471(0xe9),_0x2de471(0x109),_0x4d9636['if'](_0x2de471(0x136),_0x2de471(0x10f)),_0x4d9636['if'](_0x2de471(0x13a),_0x2de471(0x128)),_0x4d9636['if'](_0x2de471(0x117),_0x2de471(0xef)),_0x4d9636['to'](_0x2de471(0xf3),_0x3a6e64=>_0x3a6e64?_0x2de471(0x10e)+_0x3a6e64:'')],'data-thread-id':this[_0x2de471(0x11a)]['id'],'tabindex':0x0,'role':_0x2de471(0xfd),'aria-label':_0x4d9636['to'](_0x2de471(0x121)),'aria-describedby':this[_0x2de471(0x116)]['id']},'children':[{'tag':_0x2de471(0xec),'attributes':{'class':_0x2de471(0x104)},'children':this[_0x2de471(0xff)]}]};}[_0x46a210(0x12e)](){const _0x599480=_0x46a210;super[_0x599480(0x12e)](),this[_0x599480(0x108)]=this[_0x599480(0x12f)][_0x599480(0x129)](_0x599480(0x139)),this[_0x599480(0x11a)]['on'](_0x599480(0xed),()=>{const _0x8669d8=_0x599480;this[_0x8669d8(0x101)]();}),this[_0x599480(0x101)]();}[_0x46a210(0x13d)](){const _0x82f1f5=_0x46a210;this[_0x82f1f5(0x131)]();for(const _0x5af170 of this[_0x82f1f5(0x11b)][_0x82f1f5(0x140)])_0x5af170[_0x82f1f5(0x131)]();}[_0x46a210(0xfb)](){const _0x40eada=_0x46a210,{locale:_0x5cb533}=this,_0x55278a=this[_0x40eada(0x11b)][_0x40eada(0x140)][_0x40eada(0xf1)](0x0);_0x55278a===this[_0x40eada(0xe8)]||_0x55278a[_0x40eada(0xf5)]||(this[_0x40eada(0xe8)]=_0x55278a,this[_0x40eada(0x132)](_0x40eada(0xf3)),this[_0x40eada(0x13b)](_0x40eada(0xf3))['to'](_0x55278a,_0x40eada(0xf3),_0x6a96e6=>_0x40eada(0x103)===_0x6a96e6?_0x40eada(0x103):null),_0x55278a[_0x40eada(0x10b)]=_0x268b43(_0x5cb533,_0x40eada(0x112)),_0x55278a[_0x40eada(0x111)]['on'](_0x40eada(0xf7),_0x4a9e30=>{const _0x1edaf2=_0x40eada;_0x4a9e30[_0x1edaf2(0xf0)](),this[_0x1edaf2(0x11e)](_0x268b43(_0x5cb533,_0x1edaf2(0x102)),this[_0x1edaf2(0x108)])[_0x1edaf2(0xeb)](()=>{const _0x396b11=_0x1edaf2;this[_0x396b11(0x114)](_0x396b11(0xfc));});},{'priority':_0x40eada(0x115)}),this['on'](_0x40eada(0xf6),()=>{const _0x30bbc1=_0x40eada;_0x55278a[_0x30bbc1(0x120)]();}),_0x55278a[_0x40eada(0x142)][_0x40eada(0x13c)](this[_0x40eada(0xea)],0x0),_0x55278a[_0x40eada(0xee)][_0x40eada(0x13c)](this[_0x40eada(0xea)],0x0));}[_0x46a210(0x11c)](){const _0x3af21a=_0x46a210,_0x315088=new _0x3b3548(this[_0x3af21a(0x12b)]);return _0x315088[_0x3af21a(0x10d)]=_0x268b43(this[_0x3af21a(0x12b)],_0x3af21a(0x100)),_0x315088[_0x3af21a(0x107)]=_0x268b43(this[_0x3af21a(0x12b)],_0x3af21a(0x100)),_0x315088[_0x3af21a(0xf8)]=_0x1a206c[_0x3af21a(0x12c)],_0x315088[_0x3af21a(0x13e)]({'attributes':{'class':_0x3af21a(0x135)}}),_0x315088[_0x3af21a(0x13b)](_0x3af21a(0x122))['to'](this[_0x3af21a(0x11a)],_0x3af21a(0x141),_0xc50d0f=>!_0xc50d0f),_0x315088[_0x3af21a(0x13b)](_0x3af21a(0x126))['to'](this[_0x3af21a(0x11a)],_0x3af21a(0x125),this[_0x3af21a(0x11a)],_0x3af21a(0x123),(_0x35f1c0,_0x5c473f)=>_0x35f1c0&&!_0x5c473f),_0x315088['on'](_0x3af21a(0xf7),()=>{const _0xf93580=_0x3af21a;this[_0xf93580(0x114)](_0xf93580(0x137),this[_0xf93580(0x11a)]['id']);}),_0x315088;}[_0x46a210(0x101)](){const _0x44074e=_0x46a210;this[_0x44074e(0x11a)][_0x44074e(0x130)]?this[_0x44074e(0xff)][_0x44074e(0x10a)](this[_0x44074e(0x138)])||(this[_0x44074e(0xff)][_0x44074e(0x13c)](this[_0x44074e(0x138)],0x0),this[_0x44074e(0xee)][_0x44074e(0x13c)](this[_0x44074e(0x138)],0x0)):this[_0x44074e(0xff)][_0x44074e(0x10a)](this[_0x44074e(0x138)])&&(this[_0x44074e(0xff)][_0x44074e(0x103)](this[_0x44074e(0x138)]),this[_0x44074e(0xee)][_0x44074e(0x103)](this[_0x44074e(0x138)]));}}
@@ -7,7 +7,7 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { type Locale } from 'ckeditor5/src/utils.js';
10
- import { ButtonView, type TemplateDefinition, type ViewCollection, type DropdownView } from 'ckeditor5/src/ui.js';
10
+ import { ButtonView, type TemplateDefinition, type DropdownView, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
11
11
  import { UserView } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
12
  import BaseCommentView from './basecommentview.js';
13
13
  import type { Comment } from '../../commentsrepository.js';
@@ -58,7 +58,7 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
58
58
  * * the resolve comment thread button (only if the comment is the first comment),
59
59
  * * a dropdown with actions ({@link ~CommentView#dropdown `dropdown`}).
60
60
  */
61
- actionBar: ViewCollection;
61
+ actionBar: ViewCollection<FocusableView>;
62
62
  /**
63
63
  * View collection which holds all the comments dropdown elements.
64
64
  *
@@ -106,7 +106,10 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
106
106
  * 'ck-comment__wrapper',
107
107
  * bind.if( 'isConfirm', 'ck-comment--remove-confirmation' )
108
108
  * ],
109
- * tabindex: -1
109
+ * tabindex: -1,
110
+ * 'aria-label': bind.to( 'ariaLabel' ),
111
+ * 'aria-describedby': this.ariaDescriptionView.id,
112
+ * role: 'listitem'
110
113
  * },
111
114
  *
112
115
  * children: [
@@ -122,7 +125,8 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
122
125
  * bind.to( 'actionIndicator', value => value ? `ck-comment--${ value }` : '' )
123
126
  * ],
124
127
  * 'data-author-id': this._model.author.id,
125
- * 'data-comment-id': this._model.id
128
+ * 'data-comment-id': this._model.id,
129
+ * role: 'group'
126
130
  * },
127
131
  *
128
132
  * children: [
@@ -195,6 +199,7 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
195
199
  *
196
200
  * children: this.visibleView
197
201
  * },
202
+ * this.ariaDescriptionView,
198
203
  * {
199
204
  * tag: 'div',
200
205
  *
@@ -222,14 +227,6 @@ export default class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
222
227
  * @inheritDoc
223
228
  */
224
229
  protected _createCommentInputView(): CommentInputView;
225
- /**
226
- * Gets the translated note which indicates that the comment comes from an external source.
227
- */
228
- getExternalCommentNote(): string;
229
- /**
230
- * Gets the translated notification text which indicates that author name comes from an external source.
231
- */
232
- getUserViewNotificationText(): string | null;
233
230
  /**
234
231
  * @inheritDoc
235
232
  */
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x492a18=_0x3cca;(function(_0x12e784,_0xdff819){const _0x51dfa3=_0x3cca,_0x10d25e=_0x12e784();while(!![]){try{const _0x45f78e=parseInt(_0x51dfa3(0x1b6))/0x1+-parseInt(_0x51dfa3(0x17b))/0x2*(-parseInt(_0x51dfa3(0x1b8))/0x3)+-parseInt(_0x51dfa3(0x16d))/0x4*(-parseInt(_0x51dfa3(0x175))/0x5)+-parseInt(_0x51dfa3(0x19a))/0x6*(parseInt(_0x51dfa3(0x1a3))/0x7)+parseInt(_0x51dfa3(0x1b3))/0x8*(parseInt(_0x51dfa3(0x192))/0x9)+-parseInt(_0x51dfa3(0x197))/0xa*(-parseInt(_0x51dfa3(0x16b))/0xb)+-parseInt(_0x51dfa3(0x173))/0xc;if(_0x45f78e===_0xdff819)break;else _0x10d25e['push'](_0x10d25e['shift']());}catch(_0xb6162b){_0x10d25e['push'](_0x10d25e['shift']());}}}(_0x4afb,0xed984));import{ButtonView as _0x2c5616,createDropdown as _0x37e77d,ListView as _0x367c36,ListItemView as _0x1450a1}from'ckeditor5/src/ui.js';import{icons as _0x1d7a4e}from'ckeditor5/src/core.js';function _0x3cca(_0x33988a,_0x1eac3a){const _0x4afbcf=_0x4afb();return _0x3cca=function(_0x3ccaa7,_0xebe277){_0x3ccaa7=_0x3ccaa7-0x152;let _0x184f6b=_0x4afbcf[_0x3ccaa7];return _0x184f6b;},_0x3cca(_0x33988a,_0x1eac3a);}import{UserView as _0x2f4d5a,ConfirmMixin as _0x45d825}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x153f84 from'./basecommentview.js';function _0x4afb(){const _0x1ab511=['author','threeVerticalDots','ck-comment--edit','isReadOnly','actionBar','editButton','ck-comment__actions--hidden','isEditMode','dropdown','ck-comment__info','ck-comment__wrapper','_model','Reply...','158445blyXvu','items','getUserViewNotificationText','isVisible','withText','107590iLTeoQ','_createDropdown','EXTERNAL_IMPORT_WORD_COMMENT','36bzRxLY','ck-comment--remove-confirmation','ck-annotation__info-name','addMany','some','push','locale','label','ck-comment__user','2027697RFHJLV','Delete\x20comment?','actionIndicator','EXTERNAL_COMMENT','buttonView','panelPosition','then','render','creator','ck-annotation__info-time','ck-annotation__actions--hidden','showConfirm','ck-comment--','_attachActions','Remove','removeComment','464BntjMM','mouseleave','isSystemComment','829058dzdtSf','visibleView','39OMvQiP','ck-comment__external','set','userView','execute','icon','ck-comment__info-name','children','Edit','pencil','isRemovable','_createCommentInputView','source','ck-comment__main','fire','time','extendTemplate','ck-annotation__user','isExternal','blur','ck-annotation__main','getTemplate','listenTo','add','isConfirm','formatDateTime','createCollection','bind','panelView','removeButton','change:isVisible','name','ck-comment--remove','getExternalCommentNote','ck-annotation__content-wrapper','setTemplate','_config','mouseenter','bindTemplate','@external','ck-annotation__info','EXTERNAL_AVATAR','switchToEditMode','isEditable','ck-annotation__actions','ck-annotation','importWord','ck-comment__actions','element','33sTHTkp','authoredAt','32gipOFb','ck-comment','ck-comment--info','edit','focus','_createRemoveButton','11359128drOVlV','EXTERNAL_IMPORT_WORD_AVATAR','451790NbkZJb','change:isEnabled','change:isRemovable','resolvedAt','isEnabled','remove','161926jkFfNP','placeholder','Show\x20more\x20items','_createEditButton','ck-comment__info-time','cancelConfirm','span','attributes','length','div'];_0x4afb=function(){return _0x1ab511;};return _0x4afb();}import _0x1416b2 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5872fb}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
24
- _0x45d825(_0x153f84){constructor(_0x30a879,_0x552146,_0x24e1d2){const _0x413929=_0x3cca;super(_0x30a879,_0x552146,_0x24e1d2),this[_0x413929(0x1ba)](_0x413929(0x1a5),null),this[_0x413929(0x1ba)](_0x413929(0x17c),_0x5872fb(_0x30a879,_0x413929(0x191))),this[_0x413929(0x155)](_0x413929(0x16c))['to'](_0x552146),this[_0x413929(0x155)](_0x413929(0x178))['to'](_0x552146),this[_0x413929(0x189)]=this[_0x413929(0x154)](),this[_0x413929(0x1b5)]||(this[_0x413929(0x18a)]=this[_0x413929(0x17e)](),this[_0x413929(0x157)]=this[_0x413929(0x172)](),this[_0x413929(0x193)]=this[_0x413929(0x154)](),this[_0x413929(0x193)][_0x413929(0x19d)]([this[_0x413929(0x18a)],this[_0x413929(0x157)]]),this[_0x413929(0x18d)]=this[_0x413929(0x198)](),this[_0x413929(0x189)][_0x413929(0x1cf)](this[_0x413929(0x18d)])),this[_0x413929(0x1bb)]=new _0x2f4d5a(_0x30a879,_0x552146[_0x413929(0x185)],this[_0x413929(0x194)]()),this[_0x413929(0x1bb)][_0x413929(0x1c8)]({'attributes':{'class':[_0x413929(0x1a2),_0x413929(0x1c9)]}}),this[_0x413929(0x1ce)](_0x552146,_0x413929(0x177),()=>this[_0x413929(0x180)]()),this[_0x413929(0x15d)](this[_0x413929(0x1cd)]());}[_0x492a18(0x1cd)](){const _0x488fa1=_0x492a18,_0xff4581=this[_0x488fa1(0x160)],_0x8d4247=[{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x18e),_0x488fa1(0x162)]},'children':[{'tag':_0x488fa1(0x181),'children':[{'text':this[_0x488fa1(0x1bb)][_0x488fa1(0x159)]}],'attributes':{'class':[_0x488fa1(0x1be),_0x488fa1(0x19c)]}},{'tag':_0x488fa1(0x1c7),'attributes':{'datetime':_0xff4581['to'](_0x488fa1(0x16c)),'class':[_0x488fa1(0x17f),_0x488fa1(0x1ac)]},'children':[{'text':_0xff4581['to'](_0x488fa1(0x16c),_0x547197=>this[_0x488fa1(0x15e)][_0x488fa1(0x153)](_0x547197))}]}]},{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x169),_0x488fa1(0x166),_0xff4581['if'](_0x488fa1(0x18c),_0x488fa1(0x18b)),_0xff4581['if'](_0x488fa1(0x18c),_0x488fa1(0x1ad))]},'children':this[_0x488fa1(0x189)]},{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x15c)]},'children':this[_0x488fa1(0x1b7)]}];return this[_0x488fa1(0x190)][_0x488fa1(0x1ca)]&&_0x8d4247[_0x488fa1(0x19f)]({'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x1b9)]},'children':[{'text':this[_0x488fa1(0x15b)]()}]}),{'tag':'li','attributes':{'class':[_0x488fa1(0x18f),_0xff4581['if'](_0x488fa1(0x152),_0x488fa1(0x19b))],'tabindex':-0x1},'children':[{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x16e),_0x488fa1(0x167),_0xff4581['if'](_0x488fa1(0x18c),_0x488fa1(0x187)),_0xff4581['if'](_0x488fa1(0x1b5),_0x488fa1(0x16f)),_0xff4581['to'](_0x488fa1(0x1a5),_0x5c22cd=>_0x5c22cd?_0x488fa1(0x1af)+_0x5c22cd:'')],'data-author-id':this[_0x488fa1(0x190)][_0x488fa1(0x185)]['id'],'data-comment-id':this[_0x488fa1(0x190)]['id']},'children':[this[_0x488fa1(0x1bb)],{'tag':_0x488fa1(0x184),'attributes':{'class':[_0x488fa1(0x1c5),_0x488fa1(0x1cc)]},'children':_0x8d4247}]}]};}[_0x492a18(0x17e)](){const _0x2197c8=_0x492a18,_0x810367=new _0x2c5616(this[_0x2197c8(0x1a0)]);return _0x810367[_0x2197c8(0x1a1)]=_0x5872fb(this[_0x2197c8(0x1a0)],_0x2197c8(0x1c0)),_0x810367[_0x2197c8(0x1bd)]=_0x1d7a4e[_0x2197c8(0x1c1)],_0x810367[_0x2197c8(0x196)]=!0x0,_0x810367[_0x2197c8(0x1c8)]({'attributes':{'class':_0x2197c8(0x187)}}),_0x810367[_0x2197c8(0x155)](_0x2197c8(0x179))['to'](this[_0x2197c8(0x190)],_0x2197c8(0x188),_0x42d1a8=>!_0x42d1a8),_0x810367[_0x2197c8(0x155)](_0x2197c8(0x195))['to'](this[_0x2197c8(0x190)],_0x2197c8(0x165)),_0x810367['on'](_0x2197c8(0x1bc),()=>this[_0x2197c8(0x164)]()),_0x810367;}[_0x492a18(0x172)](){const _0x26e32d=_0x492a18,_0x4cb032=new _0x2c5616(this[_0x26e32d(0x1a0)]);return _0x4cb032[_0x26e32d(0x1a1)]=_0x5872fb(this[_0x26e32d(0x1a0)],_0x26e32d(0x1b1)),_0x4cb032[_0x26e32d(0x1bd)]=_0x1416b2,_0x4cb032[_0x26e32d(0x196)]=!0x0,_0x4cb032[_0x26e32d(0x1c8)]({'attributes':{'class':_0x26e32d(0x15a)}}),_0x4cb032[_0x26e32d(0x155)](_0x26e32d(0x179))['to'](this[_0x26e32d(0x190)],_0x26e32d(0x188),_0x269598=>!_0x269598),_0x4cb032[_0x26e32d(0x155)](_0x26e32d(0x195))['to'](this[_0x26e32d(0x190)],_0x26e32d(0x1c2)),_0x4cb032['on'](_0x26e32d(0x1bc),()=>{const _0x5402dd=_0x26e32d;this[_0x5402dd(0x1ae)](_0x5872fb(this[_0x5402dd(0x1a0)],_0x5402dd(0x1a4)),this[_0x5402dd(0x16a)])[_0x5402dd(0x1a9)](()=>{const _0x193177=_0x5402dd;this[_0x193177(0x1c6)](_0x193177(0x1b2),this[_0x193177(0x190)]['id']);});}),_0x4cb032;}[_0x492a18(0x198)](){const _0x43d556=_0x492a18,_0x784c74=_0x37e77d(this[_0x43d556(0x1a0)]),_0x3a50b9=_0x784c74[_0x43d556(0x156)][_0x43d556(0x1bf)],_0x3ed9a3=new _0x367c36(this[_0x43d556(0x1a0)]),_0x5cdf61=(_0x2ebaaf,_0x3d48e=-0x1)=>{const _0x3b695f=_0x43d556,_0x170a01=new _0x1450a1(this[_0x3b695f(0x1a0)]);_0x170a01[_0x3b695f(0x1bf)][_0x3b695f(0x1cf)](_0x2ebaaf);const _0x188b28=_0x3d48e>-0x1?_0x3d48e:_0x3ed9a3[_0x3b695f(0x193)][_0x3b695f(0x183)];_0x3ed9a3[_0x3b695f(0x193)][_0x3b695f(0x1cf)](_0x170a01,_0x188b28),_0x784c74[_0x3b695f(0x1ce)](_0x2ebaaf,_0x3b695f(0x176),()=>{const _0x56bb90=_0x3b695f;_0x784c74[_0x56bb90(0x179)]=[...this[_0x56bb90(0x193)]][_0x56bb90(0x19e)](_0x2508ab=>_0x2508ab[_0x56bb90(0x179)]);}),_0x784c74[_0x3b695f(0x1ce)](_0x2ebaaf,_0x3b695f(0x158),()=>{const _0x330a9b=_0x3b695f;_0x784c74[_0x330a9b(0x1a7)][_0x330a9b(0x195)]=[...this[_0x330a9b(0x193)]][_0x330a9b(0x19e)](_0x1af580=>_0x1af580[_0x330a9b(0x195)]);});};_0x784c74[_0x43d556(0x1a8)]='sw',_0x784c74[_0x43d556(0x1a7)][_0x43d556(0x1ba)]({'label':_0x5872fb(this[_0x43d556(0x1a0)],_0x43d556(0x17d)),'icon':_0x1d7a4e[_0x43d556(0x186)]}),_0x784c74[_0x43d556(0x179)]=[...this[_0x43d556(0x193)]][_0x43d556(0x19e)](_0x49d289=>_0x49d289[_0x43d556(0x179)]),_0x784c74[_0x43d556(0x1a7)][_0x43d556(0x195)]=[...this[_0x43d556(0x193)]][_0x43d556(0x19e)](_0x5165fb=>_0x5165fb[_0x43d556(0x195)]);for(const _0x3b8afc of this[_0x43d556(0x193)])_0x5cdf61(_0x3b8afc);return _0x3a50b9[_0x43d556(0x1cf)](_0x3ed9a3),_0x784c74[_0x43d556(0x1ce)](this[_0x43d556(0x193)],_0x43d556(0x1cf),(_0x44e7a3,_0x4761c2,_0x3ba44b)=>{_0x5cdf61(_0x4761c2,_0x3ba44b);}),_0x784c74[_0x43d556(0x1ce)](this[_0x43d556(0x193)],_0x43d556(0x17a),(_0x28e2a5,_0x4e9e53,_0x54fc64)=>{const _0x2de126=_0x43d556;_0x3ed9a3[_0x2de126(0x193)][_0x2de126(0x17a)](_0x54fc64);}),_0x784c74;}[_0x492a18(0x1b0)](_0x49ab12,_0x29c76c){const _0x41c52e=_0x492a18,_0x4b15fd=_0x49ab12&&_0x49ab12[_0x41c52e(0x16a)];_0x4b15fd&&(this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x15f),()=>this[_0x41c52e(0x1a5)]=_0x29c76c),this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x171),()=>this[_0x41c52e(0x1a5)]=_0x29c76c),this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x1b4),()=>this[_0x41c52e(0x1a5)]=null),this[_0x41c52e(0x1ce)](_0x4b15fd,_0x41c52e(0x1cb),()=>this[_0x41c52e(0x1a5)]=null));}[_0x492a18(0x1c3)](){const _0x58320e=_0x492a18,_0x1fe602=super[_0x58320e(0x1c3)]();return _0x1fe602[_0x58320e(0x155)](_0x58320e(0x17c))['to'](this),_0x1fe602;}[_0x492a18(0x15b)](){const _0xcce555=_0x492a18;return _0xcce555(0x168)===this[_0xcce555(0x190)][_0xcce555(0x182)][_0xcce555(0x161)][_0xcce555(0x1c4)]?_0x5872fb(this[_0xcce555(0x1a0)],_0xcce555(0x199)):_0x5872fb(this[_0xcce555(0x1a0)],_0xcce555(0x1a6));}[_0x492a18(0x194)](){const _0x200d19=_0x492a18;return this[_0x200d19(0x190)][_0x200d19(0x1ca)]?_0x200d19(0x168)===this[_0x200d19(0x190)][_0x200d19(0x182)][_0x200d19(0x161)][_0x200d19(0x1c4)]?_0x5872fb(this[_0x200d19(0x1a0)],_0x200d19(0x174),this[_0x200d19(0x190)][_0x200d19(0x1ab)][_0x200d19(0x159)]):_0x5872fb(this[_0x200d19(0x1a0)],_0x200d19(0x163),this[_0x200d19(0x190)][_0x200d19(0x1ab)][_0x200d19(0x159)]):null;}[_0x492a18(0x1aa)](){const _0x4373a3=_0x492a18;super[_0x4373a3(0x1aa)](),this[_0x4373a3(0x1b0)](this[_0x4373a3(0x18a)],_0x4373a3(0x170)),this[_0x4373a3(0x1b0)](this[_0x4373a3(0x157)],_0x4373a3(0x17a));}}
23
+ function _0x2974(_0x39458c,_0x522113){const _0xa689d4=_0xa689();return _0x2974=function(_0x2974f7,_0x35d0ff){_0x2974f7=_0x2974f7-0x1dc;let _0x21db18=_0xa689d4[_0x2974f7];return _0x21db18;},_0x2974(_0x39458c,_0x522113);}const _0x4d8402=_0x2974;(function(_0x2a3966,_0x49d35f){const _0x44d35d=_0x2974,_0x235cb1=_0x2a3966();while(!![]){try{const _0x8cd03a=-parseInt(_0x44d35d(0x24e))/0x1*(-parseInt(_0x44d35d(0x1e5))/0x2)+-parseInt(_0x44d35d(0x200))/0x3*(parseInt(_0x44d35d(0x1f9))/0x4)+-parseInt(_0x44d35d(0x1df))/0x5+-parseInt(_0x44d35d(0x1f3))/0x6+-parseInt(_0x44d35d(0x21a))/0x7*(-parseInt(_0x44d35d(0x229))/0x8)+-parseInt(_0x44d35d(0x234))/0x9*(-parseInt(_0x44d35d(0x251))/0xa)+parseInt(_0x44d35d(0x24b))/0xb*(parseInt(_0x44d35d(0x1e9))/0xc);if(_0x8cd03a===_0x49d35f)break;else _0x235cb1['push'](_0x235cb1['shift']());}catch(_0x3b2639){_0x235cb1['push'](_0x235cb1['shift']());}}}(_0xa689,0xb0038));import{ButtonView as _0x2bc884,createDropdown as _0x57c75d,ListView as _0x295606,ListItemView as _0x1d16ef,focusChildOnDropdownOpen as _0x5bc61d}from'ckeditor5/src/ui.js';import{icons as _0x41d41a}from'ckeditor5/src/core.js';import{UserView as _0x197331,ConfirmMixin as _0x27ba0e,LateFocusDropdownButtonView as _0x143dd2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xe8ded from'./basecommentview.js';function _0xa689(){const _0x44907e=['getTemplate','_createEditButton','ck-comment--','unbind','isSystemComment','element','listenTo','ck-annotation__info-time','63xpJZXn','remove','ck-comment__actions--hidden','listitem','find','createCollection','group','time','then','ck-comment__main','_createCommentInputView','icon','span','removeButton','author','div','toMany','ck-comment--remove-confirmation','userView','formatDateTime','name','Show\x20more\x20items','Delete\x20comment?','28227661tpEuWZ','from','blur','2SfHwiI','panelPosition','switchToEditMode','353590GFxXBC','ck-comment__external','isVisible','ck-comment__actions','length','ariaLabel','editButton','isEnabled','ck-annotation__info-name','set','ck-annotation__actions','7026885ZQBQpp','placeholder','some','ck-comment__info-time','isExternal','bindTemplate','707868SVdfHk','threeVerticalDots','ck-annotation__main','Edit','12IaFplw','execute','withText','_createDropdown','addMany','edit','ck-annotation__user','ck-comment--edit','ck-hidden','getUserViewNotificationText','6296766nBgTBR','ariaDescriptionView','visibleView','add','ck-comment__wrapper','ck-comment__user','12vpYNHF','isConfirm','ck-comment--info','ck-annotation__actions--hidden','extendTemplate','_config','bind','1099167TcYdkK','actionIndicator','children','fire','getExternalCommentNote','actionBar','authoredAt','ck-comment__info','push','_attachActions','buttonView','ck-comment','isRemovable','panelView','ck-annotation__info','isReadOnly','change:isRemovable','setTemplate','mouseenter','_createRemoveButton','label','Remove','_model','removeComment','render','resolvedAt','210959IFKxCY','ck-comment__info-name','items','ck-comment--remove','focus','Reply...','ck-annotation__content-wrapper','ck-annotation','dropdown','pencil','mouseleave','locale','cancelConfirm','showConfirm','isEditable','200PANGmg','isEditMode','focusables'];_0xa689=function(){return _0x44907e;};return _0xa689();}import _0x41daf1 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x12ff2e}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
24
+ _0x27ba0e(_0xe8ded){constructor(_0x2305d5,_0x3681ed,_0x410a40){const _0x546e58=_0x2974;super(_0x2305d5,_0x3681ed,_0x410a40),this[_0x546e58(0x1dd)](_0x546e58(0x201),null),this[_0x546e58(0x1dd)](_0x546e58(0x1e0),_0x12ff2e(_0x2305d5,_0x546e58(0x21f))),this[_0x546e58(0x1ff)](_0x546e58(0x206))['to'](_0x3681ed),this[_0x546e58(0x1ff)](_0x546e58(0x219))['to'](_0x3681ed),this[_0x546e58(0x205)]=this[_0x546e58(0x239)](),this[_0x546e58(0x230)]||(this[_0x546e58(0x257)]=this[_0x546e58(0x22d)](),this[_0x546e58(0x241)]=this[_0x546e58(0x213)](),this[_0x546e58(0x21c)]=this[_0x546e58(0x239)](),this[_0x546e58(0x21c)][_0x546e58(0x1ed)]([this[_0x546e58(0x257)],this[_0x546e58(0x241)]]),this[_0x546e58(0x222)]=this[_0x546e58(0x1ec)](),this[_0x546e58(0x205)][_0x546e58(0x1f6)](this[_0x546e58(0x222)]),this[_0x546e58(0x22b)][_0x546e58(0x1f6)](this[_0x546e58(0x222)])),this[_0x546e58(0x246)]=new _0x197331(_0x2305d5,_0x3681ed[_0x546e58(0x242)],this[_0x546e58(0x1f2)]()),this[_0x546e58(0x246)][_0x546e58(0x1fd)]({'attributes':{'class':[_0x546e58(0x1f8),_0x546e58(0x1ef)],'aria-hidden':!0x0}}),this[_0x546e58(0x232)](_0x3681ed,_0x546e58(0x210),()=>this[_0x546e58(0x226)]()),this[_0x546e58(0x211)](this[_0x546e58(0x22c)]());}[_0x4d8402(0x22c)](){const _0x23d6ee=_0x4d8402,_0xa27f1=this[_0x23d6ee(0x1e4)],_0x526002=[{'tag':_0x23d6ee(0x243),'attributes':{'class':[_0x23d6ee(0x207),_0x23d6ee(0x20e)]},'children':[{'tag':_0x23d6ee(0x240),'children':[{'text':this[_0x23d6ee(0x246)][_0x23d6ee(0x248)]}],'attributes':{'class':[_0x23d6ee(0x21b),_0x23d6ee(0x1dc)]}},{'tag':_0x23d6ee(0x23b),'attributes':{'datetime':_0xa27f1['to'](_0x23d6ee(0x206)),'class':[_0x23d6ee(0x1e2),_0x23d6ee(0x233)]},'children':[{'text':_0xa27f1['to'](_0x23d6ee(0x206),_0x1f52e3=>this[_0x23d6ee(0x1fe)][_0x23d6ee(0x247)](_0x1f52e3))}]}]},{'tag':_0x23d6ee(0x243),'attributes':{'class':[_0x23d6ee(0x254),_0x23d6ee(0x1de),_0xa27f1['if'](_0x23d6ee(0x22a),_0x23d6ee(0x236)),_0xa27f1['if'](_0x23d6ee(0x22a),_0x23d6ee(0x1fc))]},'children':this[_0x23d6ee(0x205)]},{'tag':_0x23d6ee(0x243),'attributes':{'class':[_0x23d6ee(0x220)]},'children':this[_0x23d6ee(0x1f5)]},this[_0x23d6ee(0x1f4)]];return this[_0x23d6ee(0x216)][_0x23d6ee(0x1e3)]&&_0x526002[_0x23d6ee(0x208)]({'tag':_0x23d6ee(0x243),'attributes':{'class':[_0x23d6ee(0x252)]},'children':[{'text':this[_0x23d6ee(0x204)]()}]}),{'tag':'li','attributes':{'class':[_0x23d6ee(0x1f7),_0xa27f1['if'](_0x23d6ee(0x1fa),_0x23d6ee(0x245))],'tabindex':-0x1,'aria-label':_0xa27f1['to'](_0x23d6ee(0x256)),'aria-describedby':this[_0x23d6ee(0x1f4)]['id'],'role':_0x23d6ee(0x237)},'children':[{'tag':_0x23d6ee(0x243),'attributes':{'class':[_0x23d6ee(0x20b),_0x23d6ee(0x221),_0xa27f1['if'](_0x23d6ee(0x22a),_0x23d6ee(0x1f0)),_0xa27f1['if'](_0x23d6ee(0x230),_0x23d6ee(0x1fb)),_0xa27f1['to'](_0x23d6ee(0x201),_0x15008c=>_0x15008c?_0x23d6ee(0x22e)+_0x15008c:'')],'data-author-id':this[_0x23d6ee(0x216)][_0x23d6ee(0x242)]['id'],'data-comment-id':this[_0x23d6ee(0x216)]['id'],'role':_0x23d6ee(0x23a)},'children':[this[_0x23d6ee(0x246)],{'tag':_0x23d6ee(0x243),'attributes':{'class':[_0x23d6ee(0x23d),_0x23d6ee(0x1e7)]},'children':_0x526002}]}]};}[_0x4d8402(0x22d)](){const _0x44e55c=_0x4d8402,_0x4cfe95=new _0x2bc884(this[_0x44e55c(0x225)]);return _0x4cfe95[_0x44e55c(0x214)]=_0x12ff2e(this[_0x44e55c(0x225)],_0x44e55c(0x1e8)),_0x4cfe95[_0x44e55c(0x23f)]=_0x41d41a[_0x44e55c(0x223)],_0x4cfe95[_0x44e55c(0x1eb)]=!0x0,_0x4cfe95[_0x44e55c(0x1fd)]({'attributes':{'class':_0x44e55c(0x1f0)}}),_0x4cfe95[_0x44e55c(0x1ff)](_0x44e55c(0x258))['to'](this[_0x44e55c(0x216)],_0x44e55c(0x20f),_0x465512=>!_0x465512),_0x4cfe95[_0x44e55c(0x1ff)](_0x44e55c(0x253))['to'](this[_0x44e55c(0x216)],_0x44e55c(0x228)),_0x4cfe95['on'](_0x44e55c(0x1ea),()=>this[_0x44e55c(0x250)]()),_0x4cfe95;}[_0x4d8402(0x213)](){const _0x1841dc=_0x4d8402,_0x3424b0=new _0x2bc884(this[_0x1841dc(0x225)]);return _0x3424b0[_0x1841dc(0x214)]=_0x12ff2e(this[_0x1841dc(0x225)],_0x1841dc(0x215)),_0x3424b0[_0x1841dc(0x23f)]=_0x41daf1,_0x3424b0[_0x1841dc(0x1eb)]=!0x0,_0x3424b0[_0x1841dc(0x1fd)]({'attributes':{'class':_0x1841dc(0x21d)}}),_0x3424b0[_0x1841dc(0x1ff)](_0x1841dc(0x258))['to'](this[_0x1841dc(0x216)],_0x1841dc(0x20f),_0x1957b2=>!_0x1957b2),_0x3424b0[_0x1841dc(0x1ff)](_0x1841dc(0x253))['to'](this[_0x1841dc(0x216)],_0x1841dc(0x20c)),_0x3424b0['on'](_0x1841dc(0x1ea),()=>{const _0x1a4e29=_0x1841dc;this[_0x1a4e29(0x227)](_0x12ff2e(this[_0x1a4e29(0x225)],_0x1a4e29(0x24a)),this[_0x1a4e29(0x231)])[_0x1a4e29(0x23c)](()=>{const _0x51751c=_0x1a4e29;this[_0x51751c(0x203)](_0x51751c(0x217),this[_0x51751c(0x216)]['id']);});}),_0x3424b0;}[_0x4d8402(0x1ec)](){const _0x5edb02=_0x4d8402,_0x5dbeeb=_0x57c75d(this[_0x5edb02(0x225)],_0x143dd2),_0x9eef20=_0x5dbeeb[_0x5edb02(0x20d)][_0x5edb02(0x202)],_0x30002b=new _0x295606(this[_0x5edb02(0x225)]),_0x553028=_0x5dbeeb[_0x5edb02(0x1e4)];_0x5bc61d(_0x5dbeeb,()=>this[_0x5edb02(0x21c)][_0x5edb02(0x238)](_0xa5e382=>_0xa5e382[_0x5edb02(0x253)])),_0x5dbeeb[_0x5edb02(0x1fd)]({'attributes':{'class':[_0x553028['if'](_0x5edb02(0x253),_0x5edb02(0x1f1),_0x19849b=>!_0x19849b)]}});const _0x4bd554=(_0x28e754,_0x2317d3=-0x1)=>{const _0x3b550f=_0x5edb02,_0x41ed06=new _0x1d16ef(this[_0x3b550f(0x225)]);_0x41ed06[_0x3b550f(0x202)][_0x3b550f(0x1f6)](_0x28e754);const _0xa98ada=_0x2317d3>-0x1?_0x2317d3:_0x30002b[_0x3b550f(0x21c)][_0x3b550f(0x255)];_0x30002b[_0x3b550f(0x21c)][_0x3b550f(0x1f6)](_0x41ed06,_0xa98ada);const _0x2cda42=Array[_0x3b550f(0x24c)](this[_0x3b550f(0x21c)]);_0x5dbeeb[_0x3b550f(0x22f)](_0x3b550f(0x258),_0x3b550f(0x253)),_0x5dbeeb[_0x3b550f(0x1ff)](_0x3b550f(0x258))[_0x3b550f(0x244)](_0x2cda42,_0x3b550f(0x258),(..._0x6f97c3)=>_0x6f97c3[_0x3b550f(0x1e1)](_0x2de570=>_0x2de570)),_0x5dbeeb[_0x3b550f(0x1ff)](_0x3b550f(0x253))[_0x3b550f(0x244)](_0x2cda42,_0x3b550f(0x253),(..._0x5139f6)=>_0x5139f6[_0x3b550f(0x1e1)](_0x1a7d89=>_0x1a7d89));};_0x5dbeeb[_0x5edb02(0x24f)]='sw',_0x5dbeeb[_0x5edb02(0x20a)][_0x5edb02(0x1dd)]({'label':_0x12ff2e(this[_0x5edb02(0x225)],_0x5edb02(0x249)),'icon':_0x41d41a[_0x5edb02(0x1e6)]}),_0x5dbeeb[_0x5edb02(0x258)]=[...this[_0x5edb02(0x21c)]][_0x5edb02(0x1e1)](_0x2206dc=>_0x2206dc[_0x5edb02(0x258)]),_0x5dbeeb[_0x5edb02(0x20a)][_0x5edb02(0x253)]=[...this[_0x5edb02(0x21c)]][_0x5edb02(0x1e1)](_0x4c8473=>_0x4c8473[_0x5edb02(0x253)]);for(const _0x4a61ac of this[_0x5edb02(0x21c)])_0x4bd554(_0x4a61ac);return _0x9eef20[_0x5edb02(0x1f6)](_0x30002b),_0x5dbeeb[_0x5edb02(0x232)](this[_0x5edb02(0x21c)],_0x5edb02(0x1f6),(_0x4f5560,_0x25fb62,_0x11405d)=>{_0x4bd554(_0x25fb62,_0x11405d);}),_0x5dbeeb[_0x5edb02(0x232)](this[_0x5edb02(0x21c)],_0x5edb02(0x235),(_0x15bb18,_0x322fd4,_0x22dbc2)=>{const _0x2311c4=_0x5edb02;_0x30002b[_0x2311c4(0x21c)][_0x2311c4(0x235)](_0x22dbc2);}),_0x5dbeeb;}[_0x4d8402(0x209)](_0x5b8ee2,_0x5b4fa6){const _0xf9b9e9=_0x4d8402,_0x4d271f=_0x5b8ee2&&_0x5b8ee2[_0xf9b9e9(0x231)];_0x4d271f&&(this[_0xf9b9e9(0x232)](_0x4d271f,_0xf9b9e9(0x212),()=>this[_0xf9b9e9(0x201)]=_0x5b4fa6),this[_0xf9b9e9(0x232)](_0x4d271f,_0xf9b9e9(0x21e),()=>this[_0xf9b9e9(0x201)]=_0x5b4fa6),this[_0xf9b9e9(0x232)](_0x4d271f,_0xf9b9e9(0x224),()=>this[_0xf9b9e9(0x201)]=null),this[_0xf9b9e9(0x232)](_0x4d271f,_0xf9b9e9(0x24d),()=>this[_0xf9b9e9(0x201)]=null));}[_0x4d8402(0x23e)](){const _0x2fb4e7=_0x4d8402,_0x321c52=super[_0x2fb4e7(0x23e)]();return _0x321c52[_0x2fb4e7(0x1ff)](_0x2fb4e7(0x1e0))['to'](this),_0x321c52;}[_0x4d8402(0x218)](){const _0x16ad49=_0x4d8402;super[_0x16ad49(0x218)](),this[_0x16ad49(0x209)](this[_0x16ad49(0x257)],_0x16ad49(0x1ee)),this[_0x16ad49(0x209)](this[_0x16ad49(0x241)],_0x16ad49(0x235));}}
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f8779=_0x1c56;(function(_0x4fd010,_0x5bf914){var _0x52393f=_0x1c56,_0x2d91f9=_0x4fd010();while(!![]){try{var _0x4786cc=-parseInt(_0x52393f(0xd9))/0x1*(-parseInt(_0x52393f(0xe1))/0x2)+-parseInt(_0x52393f(0xd7))/0x3+-parseInt(_0x52393f(0xd6))/0x4+-parseInt(_0x52393f(0xdb))/0x5*(-parseInt(_0x52393f(0xdd))/0x6)+parseInt(_0x52393f(0xe2))/0x7*(parseInt(_0x52393f(0xd5))/0x8)+parseInt(_0x52393f(0xda))/0x9*(-parseInt(_0x52393f(0xd8))/0xa)+parseInt(_0x52393f(0xd4))/0xb*(parseInt(_0x52393f(0xe0))/0xc);if(_0x4786cc===_0x5bf914)break;else _0x2d91f9['push'](_0x2d91f9['shift']());}catch(_0x4814ef){_0x2d91f9['push'](_0x2d91f9['shift']());}}}(_0x43e5,0xaf487));import{Plugin as _0x24ba46}from'ckeditor5/src/core.js';import _0x4b77b9 from'./comments/commentsrepository.js';import _0x169ce5 from'./comments/commentsediting.js';import _0x3a81ce from'./comments/commentsui.js';import _0x223187 from'./commentsonly.js';function _0x43e5(){var _0x23232b=['1161192bzrCVK','1660608upJJLe','1954704CLSnfp','4676890FTwGVt','1iAXzQA','27vxNiLM','2867835tKowwJ','requires','6JXxGyG','pluginName','Comments','22442676ZatqgO','1197614LwBEPN','7CsUZHK','11kQVcoU'];_0x43e5=function(){return _0x23232b;};return _0x43e5();}import _0x27551a from'./annotations/widesidebar.js';import _0x439c4e from'./annotations/narrowsidebar.js';import _0x270016 from'./annotations/inlineannotations.js';import _0x27e2b7 from'./comments/commentsarchiveui.js';import _0x3f49ed from'./comments/commentsarchive.js';function _0x1c56(_0x2fc774,_0x19648f){var _0x43e550=_0x43e5();return _0x1c56=function(_0x1c562b,_0xeb64d9){_0x1c562b=_0x1c562b-0xd4;var _0x1992e7=_0x43e550[_0x1c562b];return _0x1992e7;},_0x1c56(_0x2fc774,_0x19648f);}export default class f extends _0x24ba46{static get[_0x2f8779(0xdc)](){return[_0x4b77b9,_0x169ce5,_0x3a81ce,_0x3f49ed,_0x27e2b7,_0x223187,_0x27551a,_0x439c4e,_0x270016];}static get[_0x2f8779(0xde)](){var _0x1f8f40=_0x2f8779;return _0x1f8f40(0xdf);}}
23
+ var _0x442e4d=_0x17ef;(function(_0x5e1fcf,_0x410b14){var _0x521290=_0x17ef,_0x105441=_0x5e1fcf();while(!![]){try{var _0xc5aee0=-parseInt(_0x521290(0x1e6))/0x1*(parseInt(_0x521290(0x1ec))/0x2)+parseInt(_0x521290(0x1ea))/0x3+-parseInt(_0x521290(0x1ef))/0x4*(parseInt(_0x521290(0x1f2))/0x5)+parseInt(_0x521290(0x1eb))/0x6*(parseInt(_0x521290(0x1e7))/0x7)+-parseInt(_0x521290(0x1e8))/0x8*(-parseInt(_0x521290(0x1ed))/0x9)+-parseInt(_0x521290(0x1ee))/0xa+parseInt(_0x521290(0x1f0))/0xb;if(_0xc5aee0===_0x410b14)break;else _0x105441['push'](_0x105441['shift']());}catch(_0x59d10b){_0x105441['push'](_0x105441['shift']());}}}(_0x5d21,0x4624e));import{Plugin as _0x4e5eff}from'ckeditor5/src/core.js';import _0x375f1f from'./comments/commentsrepository.js';import _0xbd150 from'./comments/commentsediting.js';import _0x23f64 from'./comments/commentsui.js';function _0x5d21(){var _0x1876aa=['pluginName','1222011TenhnS','276648eXhQIM','4188xlcSId','63DgYIEj','3810400ZyXhLL','1318924YqnEsV','461054amQrsD','requires','5NCyyJh','Comments','246InifBQ','77HFidim','636304rOgede'];_0x5d21=function(){return _0x1876aa;};return _0x5d21();}import _0x2304c9 from'./commentsonly.js';function _0x17ef(_0x83d165,_0x395570){var _0x5d2189=_0x5d21();return _0x17ef=function(_0x17ef5a,_0x335c27){_0x17ef5a=_0x17ef5a-0x1e6;var _0x39676a=_0x5d2189[_0x17ef5a];return _0x39676a;},_0x17ef(_0x83d165,_0x395570);}import _0x5284ac from'./annotations/widesidebar.js';import _0x5e3115 from'./annotations/narrowsidebar.js';import _0x360b88 from'./annotations/inlineannotations.js';import _0x10706f from'./comments/commentsarchiveui.js';import _0x1abbb6 from'./comments/commentsarchive.js';export default class f extends _0x4e5eff{static get[_0x442e4d(0x1f1)](){return[_0x375f1f,_0xbd150,_0x23f64,_0x1abbb6,_0x10706f,_0x2304c9,_0x5284ac,_0x5e3115,_0x360b88];}static get[_0x442e4d(0x1e9)](){var _0x298b7e=_0x442e4d;return _0x298b7e(0x1f3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x120f95=_0xf75e;function _0x37a0(){const _0x1e8aa6=['DragDrop','config','change:isEnabled','cut','plugins','isEnabled','editor','commands','609805wvdBVk','editing','view','_disableCommentsOnlyMode','addCommentThread','listenTo','document','get','pluginName','has','10978wewJvq','208tPPrJH','affectsData','1107bEJBbJ','commentsOnlyMode','17169800KGtRYs','delete','set','_enableCommentsOnlyMode','54ubOZYf','highest','3251059LnJeLI','clipboardInput','2045968EdeNQx','clearForceDisabled','commentsOnly','CommentsOnly','stopListening','7873536uDXSRD','requires','stop','forceDisabled','1584HrzADl','afterInit'];_0x37a0=function(){return _0x1e8aa6;};return _0x37a0();}(function(_0x1e09ca,_0x1f9c2d){const _0x19505a=_0xf75e,_0x25bdd4=_0x1e09ca();while(!![]){try{const _0x301f3e=-parseInt(_0x19505a(0x20f))/0x1*(parseInt(_0x19505a(0x210))/0x2)+parseInt(_0x19505a(0x212))/0x3*(-parseInt(_0x19505a(0x1fb))/0x4)+parseInt(_0x19505a(0x205))/0x5+parseInt(_0x19505a(0x1f7))/0x6+parseInt(_0x19505a(0x21a))/0x7+-parseInt(_0x19505a(0x1f2))/0x8*(parseInt(_0x19505a(0x218))/0x9)+parseInt(_0x19505a(0x214))/0xa;if(_0x301f3e===_0x1f9c2d)break;else _0x25bdd4['push'](_0x25bdd4['shift']());}catch(_0x539f80){_0x25bdd4['push'](_0x25bdd4['shift']());}}}(_0x37a0,0xc1aea));import{Plugin as _0x1335f6}from'ckeditor5/src/core.js';import _0x47ba8f from'./comments/commentsediting.js';function _0xf75e(_0x16cf78,_0x1aed15){const _0x37a095=_0x37a0();return _0xf75e=function(_0xf75eaf,_0xcdef16){_0xf75eaf=_0xf75eaf-0x1f2;let _0x538e1e=_0x37a095[_0xf75eaf];return _0x538e1e;},_0xf75e(_0x16cf78,_0x1aed15);}export default class e extends _0x1335f6{static get[_0x120f95(0x20d)](){const _0x26aeda=_0x120f95;return _0x26aeda(0x1f5);}static get[_0x120f95(0x1f8)](){return[_0x47ba8f];}constructor(_0x3b073d){const _0x3a06bf=_0x120f95;super(_0x3b073d),this[_0x3a06bf(0x216)](_0x3a06bf(0x202),!0x1),this['on'](_0x3a06bf(0x1ff),(_0x43d5df,_0x453866,_0x2c7432)=>{const _0x4d03cf=_0x3a06bf;_0x2c7432?this[_0x4d03cf(0x217)]():this[_0x4d03cf(0x208)]();});}[_0x120f95(0x1fc)](){const _0x340a07=_0x120f95;!this[_0x340a07(0x202)]&&this[_0x340a07(0x203)][_0x340a07(0x1fe)][_0x340a07(0x20c)](_0x340a07(0x1f4))&&(this[_0x340a07(0x202)]=!0x0);}[_0x120f95(0x217)](){const _0x21e8b0=_0x120f95;for(const [_0x28e1e5,_0x10b803]of this[_0x21e8b0(0x203)][_0x21e8b0(0x204)])_0x10b803[_0x21e8b0(0x211)]&&_0x21e8b0(0x209)!==_0x28e1e5&&_0x10b803[_0x21e8b0(0x1fa)](_0x21e8b0(0x213));this[_0x21e8b0(0x203)][_0x21e8b0(0x201)][_0x21e8b0(0x20e)](_0x21e8b0(0x1fd))&&this[_0x21e8b0(0x203)][_0x21e8b0(0x201)][_0x21e8b0(0x20c)](_0x21e8b0(0x1fd))[_0x21e8b0(0x1fa)](_0x21e8b0(0x213));const _0x3f7045=this[_0x21e8b0(0x203)][_0x21e8b0(0x206)][_0x21e8b0(0x207)][_0x21e8b0(0x20b)];this[_0x21e8b0(0x20a)](_0x3f7045,_0x21e8b0(0x200),_0x43f63a=>_0x43f63a[_0x21e8b0(0x1f9)](),{'priority':_0x21e8b0(0x219)}),this[_0x21e8b0(0x20a)](_0x3f7045,_0x21e8b0(0x21b),_0x13838c=>_0x13838c[_0x21e8b0(0x1f9)](),{'priority':_0x21e8b0(0x219)}),this[_0x21e8b0(0x20a)](_0x3f7045,_0x21e8b0(0x215),_0x1872df=>_0x1872df[_0x21e8b0(0x1f9)](),{'priority':_0x21e8b0(0x219)});}[_0x120f95(0x208)](){const _0x368740=_0x120f95;for(const [_0x12d06b,_0x4f5c15]of this[_0x368740(0x203)][_0x368740(0x204)])_0x4f5c15[_0x368740(0x211)]&&_0x368740(0x209)!==_0x12d06b&&_0x4f5c15[_0x368740(0x1f3)](_0x368740(0x213));this[_0x368740(0x1f6)](this[_0x368740(0x203)][_0x368740(0x206)][_0x368740(0x207)][_0x368740(0x20b)]);}}
23
+ function _0x4d74(){const _0x568027=['cut','change:isEnabled','delete','29217MRwkRa','1140595zzYTkn','CommentsOnly','329065niRsep','set','plugins','config','24vFUhNO','DragDrop','pluginName','commentsOnlyMode','addCommentThread','82dypVPs','view','_disableCommentsOnlyMode','clearForceDisabled','2310868cnwBgn','commentsOnly','stop','afterInit','stopListening','isEnabled','listenTo','highest','commands','360765vApHbD','editing','5eKCRWE','forceDisabled','editor','has','70jlXnZp','requires','document','_enableCommentsOnlyMode','clipboardInput','276042CAMEAO','affectsData','2860780XLJSgG','get'];_0x4d74=function(){return _0x568027;};return _0x4d74();}const _0x4a64fb=_0x4c6a;(function(_0xed595e,_0x239591){const _0x4f664b=_0x4c6a,_0x43605f=_0xed595e();while(!![]){try{const _0x4bf703=parseInt(_0x4f664b(0x1ae))/0x1+-parseInt(_0x4f664b(0x1b9))/0x2*(parseInt(_0x4f664b(0x1ad))/0x3)+parseInt(_0x4f664b(0x1a8))/0x4+parseInt(_0x4f664b(0x19d))/0x5*(-parseInt(_0x4f664b(0x1a6))/0x6)+-parseInt(_0x4f664b(0x192))/0x7+-parseInt(_0x4f664b(0x1b4))/0x8*(parseInt(_0x4f664b(0x19b))/0x9)+-parseInt(_0x4f664b(0x1a1))/0xa*(parseInt(_0x4f664b(0x1b0))/0xb);if(_0x4bf703===_0x239591)break;else _0x43605f['push'](_0x43605f['shift']());}catch(_0x5ea8df){_0x43605f['push'](_0x43605f['shift']());}}}(_0x4d74,0xb746c));import{Plugin as _0x57c7d0}from'ckeditor5/src/core.js';import _0x578195 from'./comments/commentsediting.js';function _0x4c6a(_0x1092d7,_0x159cf1){const _0x4d7434=_0x4d74();return _0x4c6a=function(_0x4c6a30,_0x3bda04){_0x4c6a30=_0x4c6a30-0x191;let _0x2950b8=_0x4d7434[_0x4c6a30];return _0x2950b8;},_0x4c6a(_0x1092d7,_0x159cf1);}export default class e extends _0x57c7d0{static get[_0x4a64fb(0x1b6)](){const _0x57a151=_0x4a64fb;return _0x57a151(0x1af);}static get[_0x4a64fb(0x1a2)](){return[_0x578195];}constructor(_0x2566ec){const _0x1daa38=_0x4a64fb;super(_0x2566ec),this[_0x1daa38(0x1b1)](_0x1daa38(0x197),!0x1),this['on'](_0x1daa38(0x1ab),(_0xf6e4ec,_0x463cc4,_0x2ba345)=>{const _0x155db3=_0x1daa38;_0x2ba345?this[_0x155db3(0x1a4)]():this[_0x155db3(0x1bb)]();});}[_0x4a64fb(0x195)](){const _0x3842a6=_0x4a64fb;!this[_0x3842a6(0x197)]&&this[_0x3842a6(0x19f)][_0x3842a6(0x1b3)][_0x3842a6(0x1a9)](_0x3842a6(0x193))&&(this[_0x3842a6(0x197)]=!0x0);}[_0x4a64fb(0x1a4)](){const _0x223ae0=_0x4a64fb;for(const [_0x5539ee,_0x4dad32]of this[_0x223ae0(0x19f)][_0x223ae0(0x19a)])_0x4dad32[_0x223ae0(0x1a7)]&&_0x223ae0(0x1b8)!==_0x5539ee&&_0x4dad32[_0x223ae0(0x19e)](_0x223ae0(0x1b7));this[_0x223ae0(0x19f)][_0x223ae0(0x1b2)][_0x223ae0(0x1a0)](_0x223ae0(0x1b5))&&this[_0x223ae0(0x19f)][_0x223ae0(0x1b2)][_0x223ae0(0x1a9)](_0x223ae0(0x1b5))[_0x223ae0(0x19e)](_0x223ae0(0x1b7));const _0x55bc87=this[_0x223ae0(0x19f)][_0x223ae0(0x19c)][_0x223ae0(0x1ba)][_0x223ae0(0x1a3)];this[_0x223ae0(0x198)](_0x55bc87,_0x223ae0(0x1aa),_0x2ecd91=>_0x2ecd91[_0x223ae0(0x194)](),{'priority':_0x223ae0(0x199)}),this[_0x223ae0(0x198)](_0x55bc87,_0x223ae0(0x1a5),_0x15d132=>_0x15d132[_0x223ae0(0x194)](),{'priority':_0x223ae0(0x199)}),this[_0x223ae0(0x198)](_0x55bc87,_0x223ae0(0x1ac),_0x18d186=>_0x18d186[_0x223ae0(0x194)](),{'priority':_0x223ae0(0x199)});}[_0x4a64fb(0x1bb)](){const _0x2abec6=_0x4a64fb;for(const [_0x4af1a3,_0x5053a7]of this[_0x2abec6(0x19f)][_0x2abec6(0x19a)])_0x5053a7[_0x2abec6(0x1a7)]&&_0x2abec6(0x1b8)!==_0x4af1a3&&_0x5053a7[_0x2abec6(0x191)](_0x2abec6(0x1b7));this[_0x2abec6(0x196)](this[_0x2abec6(0x19f)][_0x2abec6(0x19c)][_0x2abec6(0x1ba)][_0x2abec6(0x1a3)]);}}
package/src/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export { default as BaseCommentView } from './comments/ui/view/basecommentview.j
18
18
  export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
19
19
  export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
20
20
  export { default as CommentView } from './comments/ui/view/commentview.js';
21
+ export { default as CommentThreadView } from './comments/ui/view/commentthreadview.js';
21
22
  export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
22
23
  export type { CommentsConfig, SidebarConfig, CommentsClipboardCopyConfig } from './config.js';
23
24
  export type { default as CommentsEditing } from './comments/commentsediting.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30455d,_0x3faa46){var _0x41a2ca=_0x15da,_0x480aa2=_0x30455d();while(!![]){try{var _0x5e6bc2=parseInt(_0x41a2ca(0x18b))/0x1+-parseInt(_0x41a2ca(0x182))/0x2*(-parseInt(_0x41a2ca(0x186))/0x3)+parseInt(_0x41a2ca(0x185))/0x4*(parseInt(_0x41a2ca(0x184))/0x5)+-parseInt(_0x41a2ca(0x189))/0x6*(parseInt(_0x41a2ca(0x187))/0x7)+parseInt(_0x41a2ca(0x188))/0x8+-parseInt(_0x41a2ca(0x181))/0x9*(parseInt(_0x41a2ca(0x183))/0xa)+parseInt(_0x41a2ca(0x18a))/0xb*(-parseInt(_0x41a2ca(0x18c))/0xc);if(_0x5e6bc2===_0x3faa46)break;else _0x480aa2['push'](_0x480aa2['shift']());}catch(_0xb6fbab){_0x480aa2['push'](_0x480aa2['shift']());}}}(_0x12ee,0xd77f4));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x15da(_0x10d567,_0x2f25e8){var _0x12ee1d=_0x12ee();return _0x15da=function(_0x15dae5,_0x3573e3){_0x15dae5=_0x15dae5-0x181;var _0x472f36=_0x12ee1d[_0x15dae5];return _0x472f36;},_0x15da(_0x10d567,_0x2f25e8);}export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';function _0x12ee(){var _0x457c3d=['1540595qprpjP','8jFiWDf','16347Yqngdn','1435LsMCVv','3670688azJKVM','8394coViQQ','11zvdOHq','1040280ZkaXwI','5231796MRIusG','12190455aPCAST','310NwFncP','10LBpish'];_0x12ee=function(){return _0x457c3d;};return _0x12ee();}export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
23
+ (function(_0x3117e7,_0x5a09cb){var _0x334ced=_0x204f,_0x77c0bf=_0x3117e7();while(!![]){try{var _0x31383b=-parseInt(_0x334ced(0x19c))/0x1*(-parseInt(_0x334ced(0x19e))/0x2)+parseInt(_0x334ced(0x194))/0x3*(-parseInt(_0x334ced(0x195))/0x4)+parseInt(_0x334ced(0x19a))/0x5*(parseInt(_0x334ced(0x19b))/0x6)+-parseInt(_0x334ced(0x19d))/0x7*(-parseInt(_0x334ced(0x197))/0x8)+parseInt(_0x334ced(0x199))/0x9*(parseInt(_0x334ced(0x198))/0xa)+parseInt(_0x334ced(0x196))/0xb*(parseInt(_0x334ced(0x19f))/0xc)+-parseInt(_0x334ced(0x1a0))/0xd;if(_0x31383b===_0x5a09cb)break;else _0x77c0bf['push'](_0x77c0bf['shift']());}catch(_0x2b13ae){_0x77c0bf['push'](_0x77c0bf['shift']());}}}(_0x411b,0x1f5bf));export{default as Comments}from'./comments.js';function _0x204f(_0x21cac7,_0x3e4336){var _0x411b7a=_0x411b();return _0x204f=function(_0x204f7b,_0x3f4d7d){_0x204f7b=_0x204f7b-0x194;var _0xf94d98=_0x411b7a[_0x204f7b];return _0xf94d98;},_0x204f(_0x21cac7,_0x3e4336);}export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';function _0x411b(){var _0x35dcae=['2514501EpbeEU','328480hVkaBY','20wIBTwQ','502839GqdfFf','36095LVqvsg','90ovEQtJ','150nDhDAl','7LwceCK','3344eroqFJ','12uUNECm','7798310kSSntq','3lpbyXw','48644dVnueI'];_0x411b=function(){return _0x35dcae;};return _0x411b();}export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
@@ -6,4 +6,4 @@
6
6
  * @module comments/utils/common-translations
7
7
  */
8
8
  import type { Locale } from 'ckeditor5/src/utils.js';
9
- export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string> | number): string;
9
+ export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string | number> | number): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x38219e,_0x4b2b01,_0x708273){const t=_0x38219e['t'];switch(_0x4b2b01){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x708273);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x708273);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x708273);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x708273);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
23
+ export function getTranslation(_0x5244e9,_0x338077,_0x222f0b){const t=_0x5244e9['t'];switch(_0x338077){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x222f0b);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x222f0b);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x222f0b);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x222f0b);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x222f0b);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x222f0b);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x222f0b);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x222f0b);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x347f(){const _0x11a03f=['attributes','1RIFukA','2188YfCcCH','905484FhBKSr','1045944XhQoBY','1671xnvEGj','class','238010tyJFmC','disconnect','10jqAPiv','childList','characterData','21yHneAC','4240698DBKLWV','type','observe','1633336GEXcEp','318306biejJf','attributeName','cancel'];_0x347f=function(){return _0x11a03f;};return _0x347f();}(function(_0x54e07b,_0x389056){const _0x163717=_0x3833,_0x3ea184=_0x54e07b();while(!![]){try{const _0x60f971=-parseInt(_0x163717(0x1e7))/0x1*(-parseInt(_0x163717(0x1e3))/0x2)+-parseInt(_0x163717(0x1eb))/0x3*(-parseInt(_0x163717(0x1e8))/0x4)+parseInt(_0x163717(0x1ed))/0x5+parseInt(_0x163717(0x1e9))/0x6*(parseInt(_0x163717(0x1f2))/0x7)+-parseInt(_0x163717(0x1e2))/0x8+-parseInt(_0x163717(0x1ea))/0x9+-parseInt(_0x163717(0x1ef))/0xa*(parseInt(_0x163717(0x1df))/0xb);if(_0x60f971===_0x389056)break;else _0x3ea184['push'](_0x3ea184['shift']());}catch(_0x31be64){_0x3ea184['push'](_0x3ea184['shift']());}}}(_0x347f,0x3f0e3));function _0x3833(_0x51c2c2,_0x2a6693){const _0x347fe2=_0x347f();return _0x3833=function(_0x3833ed,_0x307bb4){_0x3833ed=_0x3833ed-0x1df;let _0x117bde=_0x347fe2[_0x3833ed];return _0x117bde;},_0x3833(_0x51c2c2,_0x2a6693);}import{throttle as _0x4ac717}from'lodash-es';export default function Dt(_0x5807a3){const _0x11d387=_0x4ac717(_0x5807a3,0x1e),_0xd56c77=new MutationObserver(_0x5da369=>{const _0x32144f=_0x3833;for(const _0x2b0809 of _0x5da369)(_0x32144f(0x1e6)==_0x2b0809[_0x32144f(0x1e0)]&&_0x32144f(0x1ec)==_0x2b0809[_0x32144f(0x1e4)]||_0x32144f(0x1f0)==_0x2b0809[_0x32144f(0x1e0)]||_0x32144f(0x1f1)==_0x2b0809[_0x32144f(0x1e0)])&&_0x11d387();});return{'attach'(_0x5a081d){const _0x56b0e0=_0x3833;_0xd56c77[_0x56b0e0(0x1e1)](_0x5a081d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5cdf9e=_0x3833;_0xd56c77[_0x5cdf9e(0x1ee)](),_0x11d387[_0x5cdf9e(0x1e5)]();}};}
23
+ function _0x181b(_0x23436c,_0x1f2449){const _0x567c34=_0x567c();return _0x181b=function(_0x181b1d,_0x36d5a9){_0x181b1d=_0x181b1d-0x11d;let _0x5558ce=_0x567c34[_0x181b1d];return _0x5558ce;},_0x181b(_0x23436c,_0x1f2449);}function _0x567c(){const _0xb9b53b=['type','attributeName','disconnect','class','1032857xTnCgB','18cQKUUk','105272PJyTsy','attributes','22rVkfxp','2721861ruqcbT','16QtOIPV','824VlWJke','5KRTrgj','cancel','1391574fvFoyL','observe','childList','characterData','344FVutZo','1500150mIyZNc','2609940PsLqBe'];_0x567c=function(){return _0xb9b53b;};return _0x567c();}(function(_0x40ebb9,_0x4a6fdc){const _0x5078fa=_0x181b,_0x40f2b0=_0x40ebb9();while(!![]){try{const _0x3a8043=-parseInt(_0x5078fa(0x125))/0x1*(parseInt(_0x5078fa(0x11e))/0x2)+parseInt(_0x5078fa(0x121))/0x3+-parseInt(_0x5078fa(0x12e))/0x4*(parseInt(_0x5078fa(0x11f))/0x5)+parseInt(_0x5078fa(0x12d))/0x6*(-parseInt(_0x5078fa(0x12c))/0x7)+-parseInt(_0x5078fa(0x11d))/0x8*(-parseInt(_0x5078fa(0x131))/0x9)+parseInt(_0x5078fa(0x126))/0xa*(-parseInt(_0x5078fa(0x130))/0xb)+parseInt(_0x5078fa(0x127))/0xc;if(_0x3a8043===_0x4a6fdc)break;else _0x40f2b0['push'](_0x40f2b0['shift']());}catch(_0x3daea4){_0x40f2b0['push'](_0x40f2b0['shift']());}}}(_0x567c,0x5baba));import{throttle as _0x1dfd46}from'lodash-es';export default function Lt(_0x217621){const _0x32eafa=_0x1dfd46(_0x217621,0x1e),_0x3618c1=new MutationObserver(_0x2947bb=>{const _0x2b33d0=_0x181b;for(const _0x2d257b of _0x2947bb)(_0x2b33d0(0x12f)==_0x2d257b[_0x2b33d0(0x128)]&&_0x2b33d0(0x12b)==_0x2d257b[_0x2b33d0(0x129)]||_0x2b33d0(0x123)==_0x2d257b[_0x2b33d0(0x128)]||_0x2b33d0(0x124)==_0x2d257b[_0x2b33d0(0x128)])&&_0x32eafa();});return{'attach'(_0x5258a4){const _0x4989af=_0x181b;_0x3618c1[_0x4989af(0x122)](_0x5258a4,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x476c93=_0x181b;_0x3618c1[_0x476c93(0x12a)](),_0x32eafa[_0x476c93(0x120)]();}};}
package/theme/comment.css CHANGED
@@ -7,6 +7,8 @@
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
10
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
11
+
10
12
  :root {
11
13
  --ck-color-comment-background: hsl(210, 52%, 97%);
12
14
  --ck-color-comment-separator: hsl(210, 52%, 87%);
@@ -32,6 +34,10 @@
32
34
  border-top-right-radius: var(--ck-border-radius);
33
35
  border-top-left-radius: var(--ck-border-radius);
34
36
  }
37
+
38
+ &:focus {
39
+ background: var(--ck-color-button-default-hover-background);
40
+ }
35
41
  }
36
42
 
37
43
  .ck .ck-comment {
@@ -7,6 +7,10 @@
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
10
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
11
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
12
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
13
+
10
14
  :root {
11
15
  --ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
12
16
  --ck-color-comment-count: hsl(210, 52%, 57%);
@@ -19,17 +23,48 @@
19
23
  }
20
24
 
21
25
  .ck .ck-thread {
26
+ @mixin ck-rounded-corners;
27
+
22
28
  width: 100%;
23
29
  color: var(--ck-color-base-text);
24
30
  outline: 0;
25
31
  background-color: var(--ck-color-base-background);
26
32
  overflow: hidden;
27
- transition: all 300ms ease;
28
- border-radius: var(--ck-border-radius);
33
+
34
+ /*
35
+ * Beware: Using "transition: all" breaks focus management (unable to obtain focus on show)
36
+ * because the view is displayed in a dialog that gets toggled via "visibility" property.
37
+ */
38
+ transition-property: color, background-color, width, outline;
39
+ transition-duration: 300ms;
40
+ transition-timing-function: ease;
29
41
 
30
42
  @media (prefers-reduced-motion: reduce) {
31
43
  transition: none;
32
44
  }
45
+
46
+ &:focus {
47
+ /*
48
+ * We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
49
+ * in non-focused state and create an odd space inside the surrounding annotation container.
50
+ */
51
+ outline: var(--ck-focus-ring);
52
+
53
+ /*
54
+ * We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
55
+ * And the shadow size has to be custom because outline is rendered on top of the shadow.
56
+ */
57
+ box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
58
+ }
59
+ }
60
+
61
+ /*
62
+ * In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
63
+ * otherwise get them cropped..
64
+ */
65
+ .ck-balloon-panel:has( .ck-thread:focus ) {
66
+ @mixin ck-focus-ring;
67
+ @mixin ck-box-shadow var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
33
68
  }
34
69
 
35
70
  .ck .ck-thread__header {
@@ -75,6 +110,12 @@
75
110
  & .ck-context__value {
76
111
  overflow: hidden;
77
112
  text-overflow: ellipsis;
113
+ border: 1px solid transparent;
114
+
115
+ &:focus {
116
+ @mixin ck-focus-ring;
117
+ @mixin ck-box-shadow var(--ck-focus-outer-shadow);
118
+ }
78
119
  }
79
120
 
80
121
  &.overlay {