@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,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22abaf=_0x4d97;(function(_0x2a4eaf,_0x266060){const _0x242f73=_0x4d97,_0x3bf87f=_0x2a4eaf();while(!![]){try{const _0x4258b9=parseInt(_0x242f73(0x20e))/0x1*(-parseInt(_0x242f73(0x1fe))/0x2)+parseInt(_0x242f73(0x1f5))/0x3+-parseInt(_0x242f73(0x1e4))/0x4*(parseInt(_0x242f73(0x1f6))/0x5)+-parseInt(_0x242f73(0x218))/0x6+parseInt(_0x242f73(0x21c))/0x7+-parseInt(_0x242f73(0x1f9))/0x8+parseInt(_0x242f73(0x20c))/0x9*(parseInt(_0x242f73(0x211))/0xa);if(_0x4258b9===_0x266060)break;else _0x3bf87f['push'](_0x3bf87f['shift']());}catch(_0x7ca14c){_0x3bf87f['push'](_0x3bf87f['shift']());}}}(_0x806d,0xb0fc5));import{ConfirmMixin as _0x521ce2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x806d(){const _0x281c29=['length','isResolved','262200pPdXgv','removeCommentThread','bind','setTemplate','4571182eLzuov','addMany','_createResolveButton','isVisible','Resolve','isReadOnly','actionBar','.ck-thread__container','div','tooltip','containerElement','ck-thread--remove-confirmation','ck-comment--resolve','change:isActive','has','isUnlinked','change:isReadOnly','commentsListView','render','isEnabled','ck-thread','removeButton','isConfirm','querySelector','_boundFirstCommentView','resolveButton','createCollection','Write\x20a\x20comment...','2673124qJYVFs','_cancelAllConfirms','ck-thread--','Delete\x20comment\x20thread?','locale','resolveCommentThread','ck-thread__container','isActive','showConfirm','fire','commentThreadChildren','unbind','commentThreadInputView','getTemplate','stop','get','commentViews','1057200QInJlN','10vutTag','icon','remove','1503272trkoHg','extendTemplate','_model','label','isSystemComment','606FaZIZp','bindTemplate','high','archivedAt','execute','ck-thread--active','placeholder','set','_bindFirstCommentView','isResolvable','then','ck-thread--unlinked','change:archivedAt','check','2971755RrBqMN','add','1199WAcuuZ','actionIndicator','ck-reset_all-excluded','50QXqzYK','listenTo','cancelConfirm','commentThreadHeaderView','element'];_0x806d=function(){return _0x281c29;};return _0x806d();}import{ButtonView as _0x48d645}from'ckeditor5/src/ui.js';import{icons as _0x482f1e}from'ckeditor5/src/core.js';import _0x45ac9f from'./basecommentthreadview.js';import{getTranslation as _0x3ea093}from'../../../utils/common-translations.js';function _0x4d97(_0x36365e,_0x5562d0){const _0x806dbc=_0x806d();return _0x4d97=function(_0x4d972c,_0x3e878c){_0x4d972c=_0x4d972c-0x1d3;let _0xb9e61b=_0x806dbc[_0x4d972c];return _0xb9e61b;},_0x4d97(_0x36365e,_0x5562d0);}export default class yt extends/* #__PURE__ -- @preserve */
24
- _0x521ce2(_0x45ac9f){constructor(_0x217b65,_0x112c43,_0xe1033e,_0x2445aa){const _0x39d907=_0x4d97;super(_0x217b65,_0x112c43,_0xe1033e,_0x2445aa),this[_0x39d907(0x1ee)]=this[_0x39d907(0x1e2)](),this[_0x39d907(0x1ee)][_0x39d907(0x21d)]([this[_0x39d907(0x1d9)],this[_0x39d907(0x1f0)]]),this[_0x39d907(0x1fb)][_0x39d907(0x201)]&&this[_0x39d907(0x1ee)][_0x39d907(0x20d)](this[_0x39d907(0x214)],0x0),this[_0x39d907(0x1fb)]['on'](_0x39d907(0x20a),(_0xe1d341,_0x1f8a65,_0x3fa2ce)=>{const _0x36990c=_0x39d907;_0x3fa2ce?this[_0x36990c(0x1ee)][_0x36990c(0x1d6)](this[_0x36990c(0x214)])||this[_0x36990c(0x1ee)][_0x36990c(0x20d)](this[_0x36990c(0x214)],0x0):this[_0x36990c(0x1ee)][_0x36990c(0x1f8)](this[_0x36990c(0x214)]);}),this[_0x39d907(0x205)](_0x39d907(0x20f),null),this[_0x39d907(0x226)]=null,this[_0x39d907(0x1e0)]=null,this[_0x39d907(0x1e8)]=_0x217b65,this[_0x39d907(0x1e1)]=this[_0x39d907(0x21e)](),this[_0x39d907(0x21b)](this[_0x39d907(0x1f1)]()),this['on'](_0x39d907(0x1d5),(_0x36891d,_0x3b4b98,_0x32c6fb)=>{const _0xcbead3=_0x39d907;_0x32c6fb||this[_0xcbead3(0x1e5)]();}),this[_0x39d907(0x212)](this[_0x39d907(0x1fb)],_0x39d907(0x1d8),(_0x5c5733,_0x49fcd8,_0x41a410)=>{const _0x2c4e71=_0x39d907;_0x41a410&&this[_0x2c4e71(0x1e5)]();}),this[_0x39d907(0x216)]>0x0&&this[_0x39d907(0x206)](),this[_0x39d907(0x212)](this[_0x39d907(0x1d9)][_0x39d907(0x1f4)],_0x39d907(0x20d),()=>{const _0x610d46=_0x39d907;this[_0x610d46(0x206)]();});}[_0x22abaf(0x1f1)](){const _0x3b1f18=_0x22abaf,_0xcdc5f9=this[_0x3b1f18(0x1ff)];return{'tag':_0x3b1f18(0x224),'attributes':{'class':[_0x3b1f18(0x1dc),_0x3b1f18(0x210),_0xcdc5f9['if'](_0x3b1f18(0x1eb),_0x3b1f18(0x203)),_0xcdc5f9['if'](_0x3b1f18(0x1d7),_0x3b1f18(0x209)),_0xcdc5f9['if'](_0x3b1f18(0x1de),_0x3b1f18(0x1d3)),_0xcdc5f9['to'](_0x3b1f18(0x20f),_0x4d91b2=>_0x4d91b2?_0x3b1f18(0x1e6)+_0x4d91b2:'')],'data-thread-id':this[_0x3b1f18(0x1fb)]['id'],'tabindex':-0x1},'children':[{'tag':_0x3b1f18(0x224),'attributes':{'class':_0x3b1f18(0x1ea)},'children':this[_0x3b1f18(0x1ee)]}]};}[_0x22abaf(0x1da)](){const _0x361677=_0x22abaf;super[_0x361677(0x1da)](),this[_0x361677(0x226)]=this[_0x361677(0x215)][_0x361677(0x1df)](_0x361677(0x223));}[_0x22abaf(0x1e5)](){const _0x5e92d7=_0x22abaf;this[_0x5e92d7(0x213)]();for(const _0x51be06 of this[_0x5e92d7(0x1d9)][_0x5e92d7(0x1f4)])_0x51be06[_0x5e92d7(0x213)]();}[_0x22abaf(0x206)](){const _0x194281=_0x22abaf,{locale:_0x2794d4}=this,_0x2d087f=this[_0x194281(0x1d9)][_0x194281(0x1f4)][_0x194281(0x1f3)](0x0);_0x2d087f===this[_0x194281(0x1e0)]||_0x2d087f[_0x194281(0x1fd)]||(this[_0x194281(0x1e0)]=_0x2d087f,this[_0x194281(0x1ef)](_0x194281(0x20f)),this[_0x194281(0x21a)](_0x194281(0x20f))['to'](_0x2d087f,_0x194281(0x20f),_0x4d2b03=>_0x194281(0x1f8)===_0x4d2b03?_0x194281(0x1f8):null),_0x2d087f[_0x194281(0x204)]=_0x3ea093(_0x2794d4,_0x194281(0x1e3)),_0x2d087f[_0x194281(0x1dd)]['on'](_0x194281(0x202),_0x4f9cbf=>{const _0xda643=_0x194281;_0x4f9cbf[_0xda643(0x1f2)](),this[_0xda643(0x1ec)](_0x3ea093(_0x2794d4,_0xda643(0x1e7)),this[_0xda643(0x226)])[_0xda643(0x208)](()=>{const _0x39d789=_0xda643;this[_0x39d789(0x1ed)](_0x39d789(0x219));});},{'priority':_0x194281(0x200)}),_0x2d087f[_0x194281(0x222)][_0x194281(0x20d)](this[_0x194281(0x1e1)],0x0));}[_0x22abaf(0x21e)](){const _0x4ade47=_0x22abaf,_0x53f437=new _0x48d645(this[_0x4ade47(0x1e8)]);return _0x53f437[_0x4ade47(0x1fc)]=_0x3ea093(this[_0x4ade47(0x1e8)],_0x4ade47(0x220)),_0x53f437[_0x4ade47(0x225)]=_0x3ea093(this[_0x4ade47(0x1e8)],_0x4ade47(0x220)),_0x53f437[_0x4ade47(0x1f7)]=_0x482f1e[_0x4ade47(0x20b)],_0x53f437[_0x4ade47(0x1fa)]({'attributes':{'class':_0x4ade47(0x1d4)}}),_0x53f437[_0x4ade47(0x21a)](_0x4ade47(0x1db))['to'](this[_0x4ade47(0x1fb)],_0x4ade47(0x221),_0x574325=>!_0x574325),_0x53f437[_0x4ade47(0x21a)](_0x4ade47(0x21f))['to'](this[_0x4ade47(0x1fb)],_0x4ade47(0x207),this[_0x4ade47(0x1fb)],_0x4ade47(0x217),(_0x3ff865,_0x21b6fe)=>_0x3ff865&&!_0x21b6fe),_0x53f437['on'](_0x4ade47(0x202),()=>{const _0x304fc6=_0x4ade47;this[_0x304fc6(0x1ed)](_0x304fc6(0x1e9),this[_0x304fc6(0x1fb)]['id']);}),_0x53f437;}}
23
+ const _0x5c1242=_0x1d45;(function(_0x47836a,_0xcf6da2){const _0x2b404b=_0x1d45,_0x1b9746=_0x47836a();while(!![]){try{const _0x5ade8b=-parseInt(_0x2b404b(0xf7))/0x1+-parseInt(_0x2b404b(0xb9))/0x2*(-parseInt(_0x2b404b(0xeb))/0x3)+-parseInt(_0x2b404b(0xec))/0x4+parseInt(_0x2b404b(0x109))/0x5+-parseInt(_0x2b404b(0xf5))/0x6+-parseInt(_0x2b404b(0xef))/0x7*(parseInt(_0x2b404b(0xde))/0x8)+parseInt(_0x2b404b(0xfe))/0x9;if(_0x5ade8b===_0xcf6da2)break;else _0x1b9746['push'](_0x1b9746['shift']());}catch(_0x4728f4){_0x1b9746['push'](_0x1b9746['shift']());}}}(_0x507a,0x1c0fd));function _0x507a(){const _0x1057a0=['commentsListView','actionIndicator','removeCommentThread','isUnlinked','Write\x20a\x20comment...','Delete\x20comment\x20thread?','825786ESxhKJ','ck-thread--remove-confirmation','then','render','isResolvable','high','Resolve','cancelConfirm','_updateArchivedThreadHeader','ariaDescriptionView','label','1068775QJuSdr','isSystemComment','add','containerElement','commentThreadInputView','_createResolveButton','ck-thread--unlinked','removeButton','archivedAt','change:isActive','8JxsuZs','.ck-thread__container','focusables','resolveButton','setTemplate','extendTemplate','_boundFirstCommentView','remove','icon','isResolved','isActive','focus','commentViews','bindTemplate','ck-thread--','showConfirm','ck-reset_all-excluded','change:isReadOnly','unbind','_model','stop','listenTo','has','_cancelAllConfirms','locale','ck-thread','execute','createCollection','bind','listitem','tooltip','isVisible','fire','ck-thread__container','getTemplate','actionBar','element','344472oaGIZk','set','commentThreadHeaderView','isReadOnly','isConfirm','get','change:archivedAt','placeholder','_bindFirstCommentView','resolveCommentThread','removeConfirm','ariaLabel','check','100764LbZdVe','717788eIhoJP','commentThreadChildren','length','7nmkCIa','ck-rounded-corners','ck-thread--active','div','querySelector','isEnabled','438084hNAeqd','ck-comment--resolve','29400sgElzz'];_0x507a=function(){return _0x1057a0;};return _0x507a();}import{ConfirmMixin as _0x44742d,LateFocusButtonView as _0x56d85f}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x43d957}from'ckeditor5/src/core.js';import _0x311610 from'./basecommentthreadview.js';import{getTranslation as _0x8fff4c}from'../../../utils/common-translations.js';function _0x1d45(_0x2f3191,_0x23547c){const _0x507a0e=_0x507a();return _0x1d45=function(_0x1d45d0,_0x362ba5){_0x1d45d0=_0x1d45d0-0xb8;let _0x40d770=_0x507a0e[_0x1d45d0];return _0x40d770;},_0x1d45(_0x2f3191,_0x23547c);}export default class At extends/* #__PURE__ -- @preserve */
24
+ _0x44742d(_0x311610){constructor(_0x383c6d,_0x22c87b,_0x2e39b6,_0x301539){const _0x283179=_0x1d45;super(_0x383c6d,_0x22c87b,_0x2e39b6,_0x301539),this[_0x283179(0xed)]=this[_0x283179(0xd4)]([this[_0x283179(0xf8)],this[_0x283179(0x10d)],this[_0x283179(0x107)]]),this[_0x283179(0xdf)](_0x283179(0xf9),null),this[_0x283179(0x10c)]=null,this[_0x283179(0xbf)]=null,this[_0x283179(0xd1)]=_0x383c6d,this[_0x283179(0xbc)]=this[_0x283179(0x10e)](),this[_0x283179(0xbd)](this[_0x283179(0xdb)]()),this['on'](_0x283179(0xb8),(_0x5a6bb3,_0xddd84,_0x28a949)=>{const _0x3bc718=_0x283179;_0x28a949||this[_0x3bc718(0xd0)]();}),this[_0x283179(0xce)](this[_0x283179(0xcc)],_0x283179(0xca),(_0x211ccb,_0x107d85,_0x4f0dd7)=>{const _0x3bfe9e=_0x283179;_0x4f0dd7&&this[_0x3bfe9e(0xd0)]();}),this[_0x283179(0xee)]>0x0&&this[_0x283179(0xe6)](),this[_0x283179(0xce)](this[_0x283179(0xf8)][_0x283179(0xc5)],_0x283179(0x10b),()=>{const _0x2af08c=_0x283179;this[_0x2af08c(0xe6)]();});}[_0x5c1242(0xdb)](){const _0x53d04d=_0x5c1242,_0x46d2fb=this[_0x53d04d(0xc6)];return{'tag':_0x53d04d(0xf2),'attributes':{'class':['ck',_0x53d04d(0xd2),_0x53d04d(0xc9),_0x53d04d(0xf0),_0x46d2fb['if'](_0x53d04d(0xc3),_0x53d04d(0xf1)),_0x46d2fb['if'](_0x53d04d(0xfb),_0x53d04d(0x10f)),_0x46d2fb['if'](_0x53d04d(0xe2),_0x53d04d(0xff)),_0x46d2fb['to'](_0x53d04d(0xf9),_0x55fce9=>_0x55fce9?_0x53d04d(0xc7)+_0x55fce9:'')],'data-thread-id':this[_0x53d04d(0xcc)]['id'],'tabindex':0x0,'role':_0x53d04d(0xd6),'aria-label':_0x46d2fb['to'](_0x53d04d(0xe9)),'aria-describedby':this[_0x53d04d(0x107)]['id']},'children':[{'tag':_0x53d04d(0xf2),'attributes':{'class':_0x53d04d(0xda)},'children':this[_0x53d04d(0xed)]}]};}[_0x5c1242(0x101)](){const _0x144561=_0x5c1242;super[_0x144561(0x101)](),this[_0x144561(0x10c)]=this[_0x144561(0xdd)][_0x144561(0xf3)](_0x144561(0xba)),this[_0x144561(0xcc)]['on'](_0x144561(0xe4),()=>{const _0x4aca35=_0x144561;this[_0x4aca35(0x106)]();}),this[_0x144561(0x106)]();}[_0x5c1242(0xd0)](){const _0x8891e8=_0x5c1242;this[_0x8891e8(0x105)]();for(const _0x38a160 of this[_0x8891e8(0xf8)][_0x8891e8(0xc5)])_0x38a160[_0x8891e8(0x105)]();}[_0x5c1242(0xe6)](){const _0x33c347=_0x5c1242,{locale:_0x23d43f}=this,_0x464053=this[_0x33c347(0xf8)][_0x33c347(0xc5)][_0x33c347(0xe3)](0x0);_0x464053===this[_0x33c347(0xbf)]||_0x464053[_0x33c347(0x10a)]||(this[_0x33c347(0xbf)]=_0x464053,this[_0x33c347(0xcb)](_0x33c347(0xf9)),this[_0x33c347(0xd5)](_0x33c347(0xf9))['to'](_0x464053,_0x33c347(0xf9),_0x57adcc=>_0x33c347(0xc0)===_0x57adcc?_0x33c347(0xc0):null),_0x464053[_0x33c347(0xe5)]=_0x8fff4c(_0x23d43f,_0x33c347(0xfc)),_0x464053[_0x33c347(0x110)]['on'](_0x33c347(0xd3),_0x2207fb=>{const _0x197adc=_0x33c347;_0x2207fb[_0x197adc(0xcd)](),this[_0x197adc(0xc8)](_0x8fff4c(_0x23d43f,_0x197adc(0xfd)),this[_0x197adc(0x10c)])[_0x197adc(0x100)](()=>{const _0x5683f7=_0x197adc;this[_0x5683f7(0xd9)](_0x5683f7(0xfa));});},{'priority':_0x33c347(0x103)}),this['on'](_0x33c347(0xe8),()=>{const _0x17cfa7=_0x33c347;_0x464053[_0x17cfa7(0xc4)]();}),_0x464053[_0x33c347(0xdc)][_0x33c347(0x10b)](this[_0x33c347(0xbc)],0x0),_0x464053[_0x33c347(0xbb)][_0x33c347(0x10b)](this[_0x33c347(0xbc)],0x0));}[_0x5c1242(0x10e)](){const _0x3913a1=_0x5c1242,_0xfb4063=new _0x56d85f(this[_0x3913a1(0xd1)]);return _0xfb4063[_0x3913a1(0x108)]=_0x8fff4c(this[_0x3913a1(0xd1)],_0x3913a1(0x104)),_0xfb4063[_0x3913a1(0xd7)]=_0x8fff4c(this[_0x3913a1(0xd1)],_0x3913a1(0x104)),_0xfb4063[_0x3913a1(0xc1)]=_0x43d957[_0x3913a1(0xea)],_0xfb4063[_0x3913a1(0xbe)]({'attributes':{'class':_0x3913a1(0xf6)}}),_0xfb4063[_0x3913a1(0xd5)](_0x3913a1(0xf4))['to'](this[_0x3913a1(0xcc)],_0x3913a1(0xe1),_0x30aaaf=>!_0x30aaaf),_0xfb4063[_0x3913a1(0xd5)](_0x3913a1(0xd8))['to'](this[_0x3913a1(0xcc)],_0x3913a1(0x102),this[_0x3913a1(0xcc)],_0x3913a1(0xc2),(_0x3aae06,_0x2da494)=>_0x3aae06&&!_0x2da494),_0xfb4063['on'](_0x3913a1(0xd3),()=>{const _0x556ead=_0x3913a1;this[_0x556ead(0xd9)](_0x556ead(0xe7),this[_0x556ead(0xcc)]['id']);}),_0xfb4063;}[_0x5c1242(0x106)](){const _0x52d455=_0x5c1242;this[_0x52d455(0xcc)][_0x52d455(0x111)]?this[_0x52d455(0xed)][_0x52d455(0xcf)](this[_0x52d455(0xe0)])||(this[_0x52d455(0xed)][_0x52d455(0x10b)](this[_0x52d455(0xe0)],0x0),this[_0x52d455(0xbb)][_0x52d455(0x10b)](this[_0x52d455(0xe0)],0x0)):this[_0x52d455(0xed)][_0x52d455(0xcf)](this[_0x52d455(0xe0)])&&(this[_0x52d455(0xed)][_0x52d455(0xc0)](this[_0x52d455(0xe0)]),this[_0x52d455(0xbb)][_0x52d455(0xc0)](this[_0x52d455(0xe0)]));}}
@@ -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
- function _0x1b37(){const _0x537888=['withText','110551FzhRQs','EXTERNAL_COMMENT','removeButton','creator','name','switchToEditMode','addMany','panelPosition','66zAmDDD','execute','ck-comment--edit','ck-comment__info-name','ck-annotation__actions','_createEditButton','getUserViewNotificationText','element','blur','isEditMode','time','ck-comment__actions','listenTo','68ssclAI','ck-comment--remove-confirmation','_config','ck-comment','resolvedAt','attributes','change:isEnabled','createCollection','ck-comment__main','ck-comment__info-time','cancelConfirm','ck-comment__wrapper','actionIndicator','573560muaKlU','EXTERNAL_AVATAR','1151487MUoDLV','ck-annotation__info','isConfirm','9xKBjIz','isExternal','Edit','push','author','isEditable','bindTemplate','dropdown','change:isRemovable','set','EXTERNAL_IMPORT_WORD_COMMENT','ck-comment__actions--hidden','removeComment','source','_attachActions','length','render','visibleView','div','Delete\x20comment?','25145nQSXFR','formatDateTime','Reply...','extendTemplate','span','importWord','isReadOnly','actionBar','ck-annotation__info-name','ck-annotation__actions--hidden','isSystemComment','ck-annotation__content-wrapper','label','bind','getExternalCommentNote','showConfirm','Show\x20more\x20items','items','threeVerticalDots','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','mouseleave','_createRemoveButton','remove','change:isVisible','children','edit','isRemovable','icon','ck-comment--remove','then','add','panelView','userView','745136KadwFe','ck-annotation__info-time','ck-annotation','isEnabled','23288485UIQwlU','20rtgHMd','_model','ck-comment__user','locale','focus','ck-comment__info','isVisible','getTemplate','_createDropdown','some','438934lAnkqu','ck-comment__external','authoredAt','_createCommentInputView','editButton','ck-annotation__main','ck-comment--info','mouseenter','Remove','fire','ck-comment--','@external','ck-annotation__user','pencil','placeholder','buttonView'];_0x1b37=function(){return _0x537888;};return _0x1b37();}function _0x4403(_0x57166d,_0x1bbc12){const _0x1b3766=_0x1b37();return _0x4403=function(_0x4403df,_0x2ee833){_0x4403df=_0x4403df-0x135;let _0x12f368=_0x1b3766[_0x4403df];return _0x12f368;},_0x4403(_0x57166d,_0x1bbc12);}const _0x5dd770=_0x4403;(function(_0xd0a77d,_0x58189b){const _0x25f45a=_0x4403,_0x252695=_0xd0a77d();while(!![]){try{const _0x1cdfda=-parseInt(_0x25f45a(0x18e))/0x1+-parseInt(_0x25f45a(0x15b))/0x2*(parseInt(_0x25f45a(0x193))/0x3)+-parseInt(_0x25f45a(0x181))/0x4*(-parseInt(_0x25f45a(0x1a7))/0x5)+-parseInt(_0x25f45a(0x174))/0x6*(parseInt(_0x25f45a(0x16c))/0x7)+parseInt(_0x25f45a(0x14c))/0x8+-parseInt(_0x25f45a(0x190))/0x9*(parseInt(_0x25f45a(0x151))/0xa)+parseInt(_0x25f45a(0x150))/0xb;if(_0x1cdfda===_0x58189b)break;else _0x252695['push'](_0x252695['shift']());}catch(_0x36671b){_0x252695['push'](_0x252695['shift']());}}}(_0x1b37,0x9ad58));import{ButtonView as _0x4439b4,createDropdown as _0x183fc8,ListView as _0x38727b,ListItemView as _0x5a20be}from'ckeditor5/src/ui.js';import{icons as _0x21f936}from'ckeditor5/src/core.js';import{UserView as _0x447fc6,ConfirmMixin as _0x2526c2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2b1314 from'./basecommentview.js';import _0x19e2df from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x3aaf05}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
24
- _0x2526c2(_0x2b1314){constructor(_0x1dcc4c,_0x51102b,_0x476097){const _0xd4763f=_0x4403;super(_0x1dcc4c,_0x51102b,_0x476097),this[_0xd4763f(0x19c)](_0xd4763f(0x18d),null),this[_0xd4763f(0x19c)](_0xd4763f(0x169),_0x3aaf05(_0x1dcc4c,_0xd4763f(0x1a9))),this[_0xd4763f(0x137)](_0xd4763f(0x15d))['to'](_0x51102b),this[_0xd4763f(0x137)](_0xd4763f(0x185))['to'](_0x51102b),this[_0xd4763f(0x1ae)]=this[_0xd4763f(0x188)](),this[_0xd4763f(0x1b1)]||(this[_0xd4763f(0x15f)]=this[_0xd4763f(0x179)](),this[_0xd4763f(0x16e)]=this[_0xd4763f(0x140)](),this[_0xd4763f(0x13b)]=this[_0xd4763f(0x188)](),this[_0xd4763f(0x13b)][_0xd4763f(0x172)]([this[_0xd4763f(0x15f)],this[_0xd4763f(0x16e)]]),this[_0xd4763f(0x19a)]=this[_0xd4763f(0x159)](),this[_0xd4763f(0x1ae)][_0xd4763f(0x149)](this[_0xd4763f(0x19a)])),this[_0xd4763f(0x14b)]=new _0x447fc6(_0x1dcc4c,_0x51102b[_0xd4763f(0x197)],this[_0xd4763f(0x17a)]()),this[_0xd4763f(0x14b)][_0xd4763f(0x1aa)]({'attributes':{'class':[_0xd4763f(0x153),_0xd4763f(0x167)]}}),this[_0xd4763f(0x180)](_0x51102b,_0xd4763f(0x19b),()=>this[_0xd4763f(0x18b)]()),this[_0xd4763f(0x13d)](this[_0xd4763f(0x158)]());}[_0x5dd770(0x158)](){const _0x1f2ff7=_0x5dd770,_0x2d6a86=this[_0x1f2ff7(0x199)],_0x448f36=[{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x156),_0x1f2ff7(0x191)]},'children':[{'tag':_0x1f2ff7(0x1ab),'children':[{'text':this[_0x1f2ff7(0x14b)][_0x1f2ff7(0x170)]}],'attributes':{'class':[_0x1f2ff7(0x177),_0x1f2ff7(0x1af)]}},{'tag':_0x1f2ff7(0x17e),'attributes':{'datetime':_0x2d6a86['to'](_0x1f2ff7(0x15d)),'class':[_0x1f2ff7(0x18a),_0x1f2ff7(0x14d)]},'children':[{'text':_0x2d6a86['to'](_0x1f2ff7(0x15d),_0x2b1030=>this[_0x1f2ff7(0x183)][_0x1f2ff7(0x1a8)](_0x2b1030))}]}]},{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x17f),_0x1f2ff7(0x178),_0x2d6a86['if'](_0x1f2ff7(0x17d),_0x1f2ff7(0x19e)),_0x2d6a86['if'](_0x1f2ff7(0x17d),_0x1f2ff7(0x1b0))]},'children':this[_0x1f2ff7(0x1ae)]},{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x135)]},'children':this[_0x1f2ff7(0x1a4)]}];return this[_0x1f2ff7(0x152)][_0x1f2ff7(0x194)]&&_0x448f36[_0x1f2ff7(0x196)]({'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x15c)]},'children':[{'text':this[_0x1f2ff7(0x138)]()}]}),{'tag':'li','attributes':{'class':[_0x1f2ff7(0x18c),_0x2d6a86['if'](_0x1f2ff7(0x192),_0x1f2ff7(0x182))],'tabindex':-0x1},'children':[{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x184),_0x1f2ff7(0x14e),_0x2d6a86['if'](_0x1f2ff7(0x17d),_0x1f2ff7(0x176)),_0x2d6a86['if'](_0x1f2ff7(0x1b1),_0x1f2ff7(0x161)),_0x2d6a86['to'](_0x1f2ff7(0x18d),_0x1f2c0b=>_0x1f2c0b?_0x1f2ff7(0x165)+_0x1f2c0b:'')],'data-author-id':this[_0x1f2ff7(0x152)][_0x1f2ff7(0x197)]['id'],'data-comment-id':this[_0x1f2ff7(0x152)]['id']},'children':[this[_0x1f2ff7(0x14b)],{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x189),_0x1f2ff7(0x160)]},'children':_0x448f36}]}]};}[_0x5dd770(0x179)](){const _0x242e75=_0x5dd770,_0x26d06b=new _0x4439b4(this[_0x242e75(0x154)]);return _0x26d06b[_0x242e75(0x136)]=_0x3aaf05(this[_0x242e75(0x154)],_0x242e75(0x195)),_0x26d06b[_0x242e75(0x146)]=_0x21f936[_0x242e75(0x168)],_0x26d06b[_0x242e75(0x16b)]=!0x0,_0x26d06b[_0x242e75(0x1aa)]({'attributes':{'class':_0x242e75(0x176)}}),_0x26d06b[_0x242e75(0x137)](_0x242e75(0x14f))['to'](this[_0x242e75(0x152)],_0x242e75(0x1ad),_0x2d0cf2=>!_0x2d0cf2),_0x26d06b[_0x242e75(0x137)](_0x242e75(0x157))['to'](this[_0x242e75(0x152)],_0x242e75(0x198)),_0x26d06b['on'](_0x242e75(0x175),()=>this[_0x242e75(0x171)]()),_0x26d06b;}[_0x5dd770(0x140)](){const _0x167f12=_0x5dd770,_0x5d1667=new _0x4439b4(this[_0x167f12(0x154)]);return _0x5d1667[_0x167f12(0x136)]=_0x3aaf05(this[_0x167f12(0x154)],_0x167f12(0x163)),_0x5d1667[_0x167f12(0x146)]=_0x19e2df,_0x5d1667[_0x167f12(0x16b)]=!0x0,_0x5d1667[_0x167f12(0x1aa)]({'attributes':{'class':_0x167f12(0x147)}}),_0x5d1667[_0x167f12(0x137)](_0x167f12(0x14f))['to'](this[_0x167f12(0x152)],_0x167f12(0x1ad),_0x37908c=>!_0x37908c),_0x5d1667[_0x167f12(0x137)](_0x167f12(0x157))['to'](this[_0x167f12(0x152)],_0x167f12(0x145)),_0x5d1667['on'](_0x167f12(0x175),()=>{const _0x3f2749=_0x167f12;this[_0x3f2749(0x139)](_0x3aaf05(this[_0x3f2749(0x154)],_0x3f2749(0x1a6)),this[_0x3f2749(0x17b)])[_0x3f2749(0x148)](()=>{const _0x4dd6b2=_0x3f2749;this[_0x4dd6b2(0x164)](_0x4dd6b2(0x19f),this[_0x4dd6b2(0x152)]['id']);});}),_0x5d1667;}[_0x5dd770(0x159)](){const _0xe276b1=_0x5dd770,_0x1a826a=_0x183fc8(this[_0xe276b1(0x154)]),_0x30b439=_0x1a826a[_0xe276b1(0x14a)][_0xe276b1(0x143)],_0x1fa488=new _0x38727b(this[_0xe276b1(0x154)]),_0x34e06c=(_0x5a5370,_0x5e3f59=-0x1)=>{const _0x5336b7=_0xe276b1,_0xaf4828=new _0x5a20be(this[_0x5336b7(0x154)]);_0xaf4828[_0x5336b7(0x143)][_0x5336b7(0x149)](_0x5a5370);const _0x385124=_0x5e3f59>-0x1?_0x5e3f59:_0x1fa488[_0x5336b7(0x13b)][_0x5336b7(0x1a2)];_0x1fa488[_0x5336b7(0x13b)][_0x5336b7(0x149)](_0xaf4828,_0x385124),_0x1a826a[_0x5336b7(0x180)](_0x5a5370,_0x5336b7(0x187),()=>{const _0x4b455e=_0x5336b7;_0x1a826a[_0x4b455e(0x14f)]=[...this[_0x4b455e(0x13b)]][_0x4b455e(0x15a)](_0x1af724=>_0x1af724[_0x4b455e(0x14f)]);}),_0x1a826a[_0x5336b7(0x180)](_0x5a5370,_0x5336b7(0x142),()=>{const _0x5c07fb=_0x5336b7;_0x1a826a[_0x5c07fb(0x16a)][_0x5c07fb(0x157)]=[...this[_0x5c07fb(0x13b)]][_0x5c07fb(0x15a)](_0x1a8384=>_0x1a8384[_0x5c07fb(0x157)]);});};_0x1a826a[_0xe276b1(0x173)]='sw',_0x1a826a[_0xe276b1(0x16a)][_0xe276b1(0x19c)]({'label':_0x3aaf05(this[_0xe276b1(0x154)],_0xe276b1(0x13a)),'icon':_0x21f936[_0xe276b1(0x13c)]}),_0x1a826a[_0xe276b1(0x14f)]=[...this[_0xe276b1(0x13b)]][_0xe276b1(0x15a)](_0x10fd5d=>_0x10fd5d[_0xe276b1(0x14f)]),_0x1a826a[_0xe276b1(0x16a)][_0xe276b1(0x157)]=[...this[_0xe276b1(0x13b)]][_0xe276b1(0x15a)](_0x374927=>_0x374927[_0xe276b1(0x157)]);for(const _0x5ad97e of this[_0xe276b1(0x13b)])_0x34e06c(_0x5ad97e);return _0x30b439[_0xe276b1(0x149)](_0x1fa488),_0x1a826a[_0xe276b1(0x180)](this[_0xe276b1(0x13b)],_0xe276b1(0x149),(_0x1a0fa5,_0x382d53,_0x5a4c87)=>{_0x34e06c(_0x382d53,_0x5a4c87);}),_0x1a826a[_0xe276b1(0x180)](this[_0xe276b1(0x13b)],_0xe276b1(0x141),(_0x4e340b,_0x3740a6,_0x3d8d30)=>{const _0x512712=_0xe276b1;_0x1fa488[_0x512712(0x13b)][_0x512712(0x141)](_0x3d8d30);}),_0x1a826a;}[_0x5dd770(0x1a1)](_0x55b5ef,_0xd7a849){const _0x40a7d0=_0x5dd770,_0x55aab8=_0x55b5ef&&_0x55b5ef[_0x40a7d0(0x17b)];_0x55aab8&&(this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x162),()=>this[_0x40a7d0(0x18d)]=_0xd7a849),this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x155),()=>this[_0x40a7d0(0x18d)]=_0xd7a849),this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x13f),()=>this[_0x40a7d0(0x18d)]=null),this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x17c),()=>this[_0x40a7d0(0x18d)]=null));}[_0x5dd770(0x15e)](){const _0x190ab5=_0x5dd770,_0x21df2d=super[_0x190ab5(0x15e)]();return _0x21df2d[_0x190ab5(0x137)](_0x190ab5(0x169))['to'](this),_0x21df2d;}[_0x5dd770(0x138)](){const _0x420467=_0x5dd770;return _0x420467(0x1ac)===this[_0x420467(0x152)][_0x420467(0x186)][_0x420467(0x166)][_0x420467(0x1a0)]?_0x3aaf05(this[_0x420467(0x154)],_0x420467(0x19d)):_0x3aaf05(this[_0x420467(0x154)],_0x420467(0x16d));}[_0x5dd770(0x17a)](){const _0x7ff00a=_0x5dd770;return this[_0x7ff00a(0x152)][_0x7ff00a(0x194)]?_0x7ff00a(0x1ac)===this[_0x7ff00a(0x152)][_0x7ff00a(0x186)][_0x7ff00a(0x166)][_0x7ff00a(0x1a0)]?_0x3aaf05(this[_0x7ff00a(0x154)],_0x7ff00a(0x13e),this[_0x7ff00a(0x152)][_0x7ff00a(0x16f)][_0x7ff00a(0x170)]):_0x3aaf05(this[_0x7ff00a(0x154)],_0x7ff00a(0x18f),this[_0x7ff00a(0x152)][_0x7ff00a(0x16f)][_0x7ff00a(0x170)]):null;}[_0x5dd770(0x1a3)](){const _0x27ae19=_0x5dd770;super[_0x27ae19(0x1a3)](),this[_0x27ae19(0x1a1)](this[_0x27ae19(0x15f)],_0x27ae19(0x144)),this[_0x27ae19(0x1a1)](this[_0x27ae19(0x16e)],_0x27ae19(0x141));}}
23
+ const _0x39c402=_0x5d1b;(function(_0x490f44,_0x431065){const _0xbdf397=_0x5d1b,_0x260378=_0x490f44();while(!![]){try{const _0xe83abd=-parseInt(_0xbdf397(0x172))/0x1+parseInt(_0xbdf397(0x184))/0x2*(parseInt(_0xbdf397(0x1c6))/0x3)+parseInt(_0xbdf397(0x1b2))/0x4+-parseInt(_0xbdf397(0x197))/0x5*(parseInt(_0xbdf397(0x176))/0x6)+-parseInt(_0xbdf397(0x1b8))/0x7+parseInt(_0xbdf397(0x1ac))/0x8*(parseInt(_0xbdf397(0x1cc))/0x9)+-parseInt(_0xbdf397(0x189))/0xa*(parseInt(_0xbdf397(0x171))/0xb);if(_0xe83abd===_0x431065)break;else _0x260378['push'](_0x260378['shift']());}catch(_0xc72497){_0x260378['push'](_0x260378['shift']());}}}(_0x14fb,0xbd13e));import{ButtonView as _0x127c78,createDropdown as _0x476ccd,ListView as _0x5af652,ListItemView as _0x4e68bb,focusChildOnDropdownOpen as _0x389c05}from'ckeditor5/src/ui.js';import{icons as _0x51c594}from'ckeditor5/src/core.js';function _0x14fb(){const _0x1e3e0a=['buttonView','_model','userView','set','ck-hidden','element','27545nBRmKl','addMany','add','listenTo','render','visibleView','name','ck-comment--','switchToEditMode','ck-comment__actions','Reply...','_createEditButton','ck-comment__info-time','isEditable','ck-comment--info','removeButton','execute','isVisible','showConfirm','getExternalCommentNote','label','3211032VDkRnq','ck-comment','unbind','some','threeVerticalDots','items','6054312dgraWc','isRemovable','isSystemComment','ck-comment--edit','Remove','panelView','801871hwEdUZ','ck-annotation__user','_createCommentInputView','setTemplate','withText','ck-annotation__info-name','then','_attachActions','placeholder','div','removeComment','time','blur','length','132BgRxlP','createCollection','ck-comment__actions--hidden','getTemplate','icon','push','27MvNIQI','ck-annotation__actions--hidden','ck-comment--remove-confirmation','Show\x20more\x20items','ck-comment__info-name','Delete\x20comment?','actionBar','getUserViewNotificationText','find','ck-annotation__actions','authoredAt','pencil','_config','isEnabled','ck-comment__info','isExternal','edit','isConfirm','ariaDescriptionView','toMany','author','ck-annotation__content-wrapper','locale','ck-comment--remove','fire','panelPosition','actionIndicator','resolvedAt','ariaLabel','cancelConfirm','group','mouseenter','ck-comment__external','619509tZrVXW','1258599tQuRTP','focus','Edit','mouseleave','738meBvyg','isEditMode','_createDropdown','listitem','change:isRemovable','ck-annotation','span','editButton','dropdown','ck-annotation__info-time','ck-annotation__info','focusables','bindTemplate','formatDateTime','40726BreSGd','_createRemoveButton','children','bind','isReadOnly','140WQWGZn','ck-annotation__main','from','extendTemplate','ck-comment__main','ck-comment__user','ck-comment__wrapper','remove'];_0x14fb=function(){return _0x1e3e0a;};return _0x14fb();}import{UserView as _0x410a3e,ConfirmMixin as _0x9d6f7e,LateFocusDropdownButtonView as _0x5d5fab}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d1b(_0x2c15d8,_0x5513b0){const _0x14fb4f=_0x14fb();return _0x5d1b=function(_0x5d1bd9,_0x1c3e0c){_0x5d1bd9=_0x5d1bd9-0x163;let _0x307d12=_0x14fb4f[_0x5d1bd9];return _0x307d12;},_0x5d1b(_0x2c15d8,_0x5513b0);}import _0x33aa17 from'./basecommentview.js';import _0x2a4e0e from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5a9b2c}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
24
+ _0x9d6f7e(_0x33aa17){constructor(_0x48b49f,_0x5d455b,_0x473824){const _0x4c4526=_0x5d1b;super(_0x48b49f,_0x5d455b,_0x473824),this[_0x4c4526(0x194)](_0x4c4526(0x16a),null),this[_0x4c4526(0x194)](_0x4c4526(0x1c0),_0x5a9b2c(_0x48b49f,_0x4c4526(0x1a1))),this[_0x4c4526(0x187)](_0x4c4526(0x1d6))['to'](_0x5d455b),this[_0x4c4526(0x187)](_0x4c4526(0x16b))['to'](_0x5d455b),this[_0x4c4526(0x1d2)]=this[_0x4c4526(0x1c7)](),this[_0x4c4526(0x1b4)]||(this[_0x4c4526(0x17d)]=this[_0x4c4526(0x1a2)](),this[_0x4c4526(0x1a6)]=this[_0x4c4526(0x185)](),this[_0x4c4526(0x1b1)]=this[_0x4c4526(0x1c7)](),this[_0x4c4526(0x1b1)][_0x4c4526(0x198)]([this[_0x4c4526(0x17d)],this[_0x4c4526(0x1a6)]]),this[_0x4c4526(0x17e)]=this[_0x4c4526(0x178)](),this[_0x4c4526(0x1d2)][_0x4c4526(0x199)](this[_0x4c4526(0x17e)]),this[_0x4c4526(0x181)][_0x4c4526(0x199)](this[_0x4c4526(0x17e)])),this[_0x4c4526(0x193)]=new _0x410a3e(_0x48b49f,_0x5d455b[_0x4c4526(0x164)],this[_0x4c4526(0x1d3)]()),this[_0x4c4526(0x193)][_0x4c4526(0x18c)]({'attributes':{'class':[_0x4c4526(0x18e),_0x4c4526(0x1b9)],'aria-hidden':!0x0}}),this[_0x4c4526(0x19a)](_0x5d455b,_0x4c4526(0x17a),()=>this[_0x4c4526(0x16d)]()),this[_0x4c4526(0x1bb)](this[_0x4c4526(0x1c9)]());}[_0x39c402(0x1c9)](){const _0xe012f8=_0x39c402,_0x5c23c5=this[_0xe012f8(0x182)],_0x9a133f=[{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x1da),_0xe012f8(0x180)]},'children':[{'tag':_0xe012f8(0x17c),'children':[{'text':this[_0xe012f8(0x193)][_0xe012f8(0x19d)]}],'attributes':{'class':[_0xe012f8(0x1d0),_0xe012f8(0x1bd)]}},{'tag':_0xe012f8(0x1c3),'attributes':{'datetime':_0x5c23c5['to'](_0xe012f8(0x1d6)),'class':[_0xe012f8(0x1a3),_0xe012f8(0x17f)]},'children':[{'text':_0x5c23c5['to'](_0xe012f8(0x1d6),_0x4a8e59=>this[_0xe012f8(0x1d8)][_0xe012f8(0x183)](_0x4a8e59))}]}]},{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x1a0),_0xe012f8(0x1d5),_0x5c23c5['if'](_0xe012f8(0x177),_0xe012f8(0x1c8)),_0x5c23c5['if'](_0xe012f8(0x177),_0xe012f8(0x1cd))]},'children':this[_0xe012f8(0x1d2)]},{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x165)]},'children':this[_0xe012f8(0x19c)]},this[_0xe012f8(0x1de)]];return this[_0xe012f8(0x192)][_0xe012f8(0x1db)]&&_0x9a133f[_0xe012f8(0x1cb)]({'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x170)]},'children':[{'text':this[_0xe012f8(0x1aa)]()}]}),{'tag':'li','attributes':{'class':[_0xe012f8(0x18f),_0x5c23c5['if'](_0xe012f8(0x1dd),_0xe012f8(0x1ce))],'tabindex':-0x1,'aria-label':_0x5c23c5['to'](_0xe012f8(0x16c)),'aria-describedby':this[_0xe012f8(0x1de)]['id'],'role':_0xe012f8(0x179)},'children':[{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x1ad),_0xe012f8(0x17b),_0x5c23c5['if'](_0xe012f8(0x177),_0xe012f8(0x1b5)),_0x5c23c5['if'](_0xe012f8(0x1b4),_0xe012f8(0x1a5)),_0x5c23c5['to'](_0xe012f8(0x16a),_0xd060a2=>_0xd060a2?_0xe012f8(0x19e)+_0xd060a2:'')],'data-author-id':this[_0xe012f8(0x192)][_0xe012f8(0x164)]['id'],'data-comment-id':this[_0xe012f8(0x192)]['id'],'role':_0xe012f8(0x16e)},'children':[this[_0xe012f8(0x193)],{'tag':_0xe012f8(0x1c1),'attributes':{'class':[_0xe012f8(0x18d),_0xe012f8(0x18a)]},'children':_0x9a133f}]}]};}[_0x39c402(0x1a2)](){const _0x355316=_0x39c402,_0x51b847=new _0x127c78(this[_0x355316(0x166)]);return _0x51b847[_0x355316(0x1ab)]=_0x5a9b2c(this[_0x355316(0x166)],_0x355316(0x174)),_0x51b847[_0x355316(0x1ca)]=_0x51c594[_0x355316(0x1d7)],_0x51b847[_0x355316(0x1bc)]=!0x0,_0x51b847[_0x355316(0x18c)]({'attributes':{'class':_0x355316(0x1b5)}}),_0x51b847[_0x355316(0x187)](_0x355316(0x1d9))['to'](this[_0x355316(0x192)],_0x355316(0x188),_0x8be572=>!_0x8be572),_0x51b847[_0x355316(0x187)](_0x355316(0x1a8))['to'](this[_0x355316(0x192)],_0x355316(0x1a4)),_0x51b847['on'](_0x355316(0x1a7),()=>this[_0x355316(0x19f)]()),_0x51b847;}[_0x39c402(0x185)](){const _0x5c0fb6=_0x39c402,_0x406abb=new _0x127c78(this[_0x5c0fb6(0x166)]);return _0x406abb[_0x5c0fb6(0x1ab)]=_0x5a9b2c(this[_0x5c0fb6(0x166)],_0x5c0fb6(0x1b6)),_0x406abb[_0x5c0fb6(0x1ca)]=_0x2a4e0e,_0x406abb[_0x5c0fb6(0x1bc)]=!0x0,_0x406abb[_0x5c0fb6(0x18c)]({'attributes':{'class':_0x5c0fb6(0x167)}}),_0x406abb[_0x5c0fb6(0x187)](_0x5c0fb6(0x1d9))['to'](this[_0x5c0fb6(0x192)],_0x5c0fb6(0x188),_0x30f2aa=>!_0x30f2aa),_0x406abb[_0x5c0fb6(0x187)](_0x5c0fb6(0x1a8))['to'](this[_0x5c0fb6(0x192)],_0x5c0fb6(0x1b3)),_0x406abb['on'](_0x5c0fb6(0x1a7),()=>{const _0x57f7cf=_0x5c0fb6;this[_0x57f7cf(0x1a9)](_0x5a9b2c(this[_0x57f7cf(0x166)],_0x57f7cf(0x1d1)),this[_0x57f7cf(0x196)])[_0x57f7cf(0x1be)](()=>{const _0x3f0604=_0x57f7cf;this[_0x3f0604(0x168)](_0x3f0604(0x1c2),this[_0x3f0604(0x192)]['id']);});}),_0x406abb;}[_0x39c402(0x178)](){const _0x5d5fbc=_0x39c402,_0x2bdc09=_0x476ccd(this[_0x5d5fbc(0x166)],_0x5d5fab),_0x114f6f=_0x2bdc09[_0x5d5fbc(0x1b7)][_0x5d5fbc(0x186)],_0x5cb4be=new _0x5af652(this[_0x5d5fbc(0x166)]),_0x143096=_0x2bdc09[_0x5d5fbc(0x182)];_0x389c05(_0x2bdc09,()=>this[_0x5d5fbc(0x1b1)][_0x5d5fbc(0x1d4)](_0x480713=>_0x480713[_0x5d5fbc(0x1a8)])),_0x2bdc09[_0x5d5fbc(0x18c)]({'attributes':{'class':[_0x143096['if'](_0x5d5fbc(0x1a8),_0x5d5fbc(0x195),_0x3ec96d=>!_0x3ec96d)]}});const _0x350d28=(_0x3913bb,_0x3b14fe=-0x1)=>{const _0x480cab=_0x5d5fbc,_0xe95799=new _0x4e68bb(this[_0x480cab(0x166)]);_0xe95799[_0x480cab(0x186)][_0x480cab(0x199)](_0x3913bb);const _0x3460c5=_0x3b14fe>-0x1?_0x3b14fe:_0x5cb4be[_0x480cab(0x1b1)][_0x480cab(0x1c5)];_0x5cb4be[_0x480cab(0x1b1)][_0x480cab(0x199)](_0xe95799,_0x3460c5);const _0x32fa03=Array[_0x480cab(0x18b)](this[_0x480cab(0x1b1)]);_0x2bdc09[_0x480cab(0x1ae)](_0x480cab(0x1d9),_0x480cab(0x1a8)),_0x2bdc09[_0x480cab(0x187)](_0x480cab(0x1d9))[_0x480cab(0x163)](_0x32fa03,_0x480cab(0x1d9),(..._0x1ec50b)=>_0x1ec50b[_0x480cab(0x1af)](_0x3c1749=>_0x3c1749)),_0x2bdc09[_0x480cab(0x187)](_0x480cab(0x1a8))[_0x480cab(0x163)](_0x32fa03,_0x480cab(0x1a8),(..._0x3e28df)=>_0x3e28df[_0x480cab(0x1af)](_0x7ba9ca=>_0x7ba9ca));};_0x2bdc09[_0x5d5fbc(0x169)]='sw',_0x2bdc09[_0x5d5fbc(0x191)][_0x5d5fbc(0x194)]({'label':_0x5a9b2c(this[_0x5d5fbc(0x166)],_0x5d5fbc(0x1cf)),'icon':_0x51c594[_0x5d5fbc(0x1b0)]}),_0x2bdc09[_0x5d5fbc(0x1d9)]=[...this[_0x5d5fbc(0x1b1)]][_0x5d5fbc(0x1af)](_0x1a768a=>_0x1a768a[_0x5d5fbc(0x1d9)]),_0x2bdc09[_0x5d5fbc(0x191)][_0x5d5fbc(0x1a8)]=[...this[_0x5d5fbc(0x1b1)]][_0x5d5fbc(0x1af)](_0x120711=>_0x120711[_0x5d5fbc(0x1a8)]);for(const _0x1a29f8 of this[_0x5d5fbc(0x1b1)])_0x350d28(_0x1a29f8);return _0x114f6f[_0x5d5fbc(0x199)](_0x5cb4be),_0x2bdc09[_0x5d5fbc(0x19a)](this[_0x5d5fbc(0x1b1)],_0x5d5fbc(0x199),(_0x10f4e8,_0x25d25f,_0x99ece3)=>{_0x350d28(_0x25d25f,_0x99ece3);}),_0x2bdc09[_0x5d5fbc(0x19a)](this[_0x5d5fbc(0x1b1)],_0x5d5fbc(0x190),(_0x16edb8,_0x42f504,_0x488c79)=>{const _0x1663d2=_0x5d5fbc;_0x5cb4be[_0x1663d2(0x1b1)][_0x1663d2(0x190)](_0x488c79);}),_0x2bdc09;}[_0x39c402(0x1bf)](_0x3081d5,_0x2c855f){const _0x575b66=_0x39c402,_0x1beb3d=_0x3081d5&&_0x3081d5[_0x575b66(0x196)];_0x1beb3d&&(this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x16f),()=>this[_0x575b66(0x16a)]=_0x2c855f),this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x173),()=>this[_0x575b66(0x16a)]=_0x2c855f),this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x175),()=>this[_0x575b66(0x16a)]=null),this[_0x575b66(0x19a)](_0x1beb3d,_0x575b66(0x1c4),()=>this[_0x575b66(0x16a)]=null));}[_0x39c402(0x1ba)](){const _0x1fa6ba=_0x39c402,_0x4775e8=super[_0x1fa6ba(0x1ba)]();return _0x4775e8[_0x1fa6ba(0x187)](_0x1fa6ba(0x1c0))['to'](this),_0x4775e8;}[_0x39c402(0x19b)](){const _0x11b3ca=_0x39c402;super[_0x11b3ca(0x19b)](),this[_0x11b3ca(0x1bf)](this[_0x11b3ca(0x17d)],_0x11b3ca(0x1dc)),this[_0x11b3ca(0x1bf)](this[_0x11b3ca(0x1a6)],_0x11b3ca(0x190));}}
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x414c17=_0x186b;function _0x186b(_0x11f54d,_0x1c82c7){var _0x236055=_0x2360();return _0x186b=function(_0x186baf,_0x20ba10){_0x186baf=_0x186baf-0xb8;var _0x2b4fe0=_0x236055[_0x186baf];return _0x2b4fe0;},_0x186b(_0x11f54d,_0x1c82c7);}(function(_0x20e311,_0x1aacf0){var _0x1a7a72=_0x186b,_0x4486fa=_0x20e311();while(!![]){try{var _0x5bc5a2=parseInt(_0x1a7a72(0xc3))/0x1*(parseInt(_0x1a7a72(0xc1))/0x2)+parseInt(_0x1a7a72(0xc2))/0x3+parseInt(_0x1a7a72(0xbc))/0x4*(-parseInt(_0x1a7a72(0xb8))/0x5)+parseInt(_0x1a7a72(0xc0))/0x6+parseInt(_0x1a7a72(0xb9))/0x7*(parseInt(_0x1a7a72(0xc5))/0x8)+parseInt(_0x1a7a72(0xbd))/0x9*(-parseInt(_0x1a7a72(0xc4))/0xa)+-parseInt(_0x1a7a72(0xbe))/0xb;if(_0x5bc5a2===_0x1aacf0)break;else _0x4486fa['push'](_0x4486fa['shift']());}catch(_0x4ba9f0){_0x4486fa['push'](_0x4486fa['shift']());}}}(_0x2360,0x57e0b));import{Plugin as _0x1ef877}from'ckeditor5/src/core.js';import _0x49ae1a from'./comments/commentsrepository.js';import _0x2bde18 from'./comments/commentsediting.js';import _0x30275e from'./comments/commentsui.js';import _0x35d69f from'./commentsonly.js';function _0x2360(){var _0x2c23de=['pluginName','127672ZaJGVz','729JoNypn','6616874ronLCZ','requires','3812742ySFfBq','508364JwMdcz','1463805aakTFk','1BrMOKC','29180rOtHEE','19512HTxsIp','40UfbTyH','217KzPNeg','Comments'];_0x2360=function(){return _0x2c23de;};return _0x2360();}import _0x10dfee from'./annotations/widesidebar.js';import _0x4f0db6 from'./annotations/narrowsidebar.js';import _0x3eee51 from'./annotations/inlineannotations.js';import _0x3d9b41 from'./comments/commentsarchiveui.js';import _0x1816b9 from'./comments/commentsarchive.js';export default class f extends _0x1ef877{static get[_0x414c17(0xbf)](){return[_0x49ae1a,_0x2bde18,_0x30275e,_0x1816b9,_0x3d9b41,_0x35d69f,_0x10dfee,_0x4f0db6,_0x3eee51];}static get[_0x414c17(0xbb)](){var _0x1a867e=_0x414c17;return _0x1a867e(0xba);}}
23
+ function _0x1f37(){var _0x4e576b=['7441FkoPIQ','4uFVrnE','requires','270222RJgadC','Comments','1712NXvPCE','3989478xkKKjZ','3292370EtIXcy','pluginName','3976101vOWJng','5uFJFVc','157272ikhpwn','665580CakUBt'];_0x1f37=function(){return _0x4e576b;};return _0x1f37();}function _0x10b7(_0x2411d3,_0x455bcb){var _0x1f3742=_0x1f37();return _0x10b7=function(_0x10b71c,_0x42c7a6){_0x10b71c=_0x10b71c-0x84;var _0x2a1961=_0x1f3742[_0x10b71c];return _0x2a1961;},_0x10b7(_0x2411d3,_0x455bcb);}var _0x550e89=_0x10b7;(function(_0x78ff5e,_0x1a4908){var _0x2b8a2a=_0x10b7,_0x5da386=_0x78ff5e();while(!![]){try{var _0x1c7b36=parseInt(_0x2b8a2a(0x8c))/0x1+parseInt(_0x2b8a2a(0x8a))/0x2*(parseInt(_0x2b8a2a(0x87))/0x3)+parseInt(_0x2b8a2a(0x88))/0x4+parseInt(_0x2b8a2a(0x86))/0x5*(-parseInt(_0x2b8a2a(0x8f))/0x6)+-parseInt(_0x2b8a2a(0x89))/0x7*(parseInt(_0x2b8a2a(0x8e))/0x8)+parseInt(_0x2b8a2a(0x85))/0x9+parseInt(_0x2b8a2a(0x90))/0xa;if(_0x1c7b36===_0x1a4908)break;else _0x5da386['push'](_0x5da386['shift']());}catch(_0x11ea5c){_0x5da386['push'](_0x5da386['shift']());}}}(_0x1f37,0x66900));import{Plugin as _0x26722b}from'ckeditor5/src/core.js';import _0x34cb75 from'./comments/commentsrepository.js';import _0x146f65 from'./comments/commentsediting.js';import _0x3bc454 from'./comments/commentsui.js';import _0x131782 from'./commentsonly.js';import _0x155045 from'./annotations/widesidebar.js';import _0x1e2864 from'./annotations/narrowsidebar.js';import _0x5513aa from'./annotations/inlineannotations.js';import _0x586832 from'./comments/commentsarchiveui.js';import _0x37b508 from'./comments/commentsarchive.js';export default class f extends _0x26722b{static get[_0x550e89(0x8b)](){return[_0x34cb75,_0x146f65,_0x3bc454,_0x37b508,_0x586832,_0x131782,_0x155045,_0x1e2864,_0x5513aa];}static get[_0x550e89(0x84)](){var _0x533272=_0x550e89;return _0x533272(0x8d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45796=_0xb015;(function(_0x34a1b5,_0x94072c){const _0x1be923=_0xb015,_0x5c87c1=_0x34a1b5();while(!![]){try{const _0x57ac63=-parseInt(_0x1be923(0x1cc))/0x1+-parseInt(_0x1be923(0x1d0))/0x2*(-parseInt(_0x1be923(0x1dd))/0x3)+-parseInt(_0x1be923(0x1bb))/0x4+-parseInt(_0x1be923(0x1c8))/0x5+-parseInt(_0x1be923(0x1c9))/0x6*(-parseInt(_0x1be923(0x1db))/0x7)+parseInt(_0x1be923(0x1c6))/0x8+parseInt(_0x1be923(0x1cd))/0x9;if(_0x57ac63===_0x94072c)break;else _0x5c87c1['push'](_0x5c87c1['shift']());}catch(_0x5565a1){_0x5c87c1['push'](_0x5c87c1['shift']());}}}(_0x24ba,0xda9d9));function _0xb015(_0x1fa7ad,_0x311a61){const _0x24baf4=_0x24ba();return _0xb015=function(_0xb01545,_0x1a5654){_0xb01545=_0xb01545-0x1b7;let _0x19c9c6=_0x24baf4[_0xb01545];return _0x19c9c6;},_0xb015(_0x1fa7ad,_0x311a61);}function _0x24ba(){const _0x561018=['clipboardInput','stop','6721104JAysRO','highest','3387230jiemZO','6486LYjpyS','_enableCommentsOnlyMode','_disableCommentsOnlyMode','199860QRJeXC','6520572KfPGzs','CommentsOnly','plugins','113996IIEeIR','isEnabled','editor','afterInit','get','addCommentThread','commentsOnly','DragDrop','editing','requires','document','2961yuqsOZ','listenTo','30adwrrR','view','commands','commentsOnlyMode','clearForceDisabled','config','has','3276536idhfZd','change:isEnabled','set','forceDisabled','cut','affectsData','stopListening','pluginName','delete'];_0x24ba=function(){return _0x561018;};return _0x24ba();}import{Plugin as _0x13484d}from'ckeditor5/src/core.js';import _0x353f89 from'./comments/commentsediting.js';export default class e extends _0x13484d{static get[_0x45796(0x1c2)](){const _0x395285=_0x45796;return _0x395285(0x1ce);}static get[_0x45796(0x1d9)](){return[_0x353f89];}constructor(_0x20ac39){const _0x1021fd=_0x45796;super(_0x20ac39),this[_0x1021fd(0x1bd)](_0x1021fd(0x1d1),!0x1),this['on'](_0x1021fd(0x1bc),(_0x448e3d,_0x195f44,_0x17778d)=>{const _0x2d62bc=_0x1021fd;_0x17778d?this[_0x2d62bc(0x1ca)]():this[_0x2d62bc(0x1cb)]();});}[_0x45796(0x1d3)](){const _0x3f948f=_0x45796;!this[_0x3f948f(0x1d1)]&&this[_0x3f948f(0x1d2)][_0x3f948f(0x1b9)][_0x3f948f(0x1d4)](_0x3f948f(0x1d6))&&(this[_0x3f948f(0x1d1)]=!0x0);}[_0x45796(0x1ca)](){const _0x1f6592=_0x45796;for(const [_0x6b9457,_0x35dd70]of this[_0x1f6592(0x1d2)][_0x1f6592(0x1df)])_0x35dd70[_0x1f6592(0x1c0)]&&_0x1f6592(0x1d5)!==_0x6b9457&&_0x35dd70[_0x1f6592(0x1be)](_0x1f6592(0x1b7));this[_0x1f6592(0x1d2)][_0x1f6592(0x1cf)][_0x1f6592(0x1ba)](_0x1f6592(0x1d7))&&this[_0x1f6592(0x1d2)][_0x1f6592(0x1cf)][_0x1f6592(0x1d4)](_0x1f6592(0x1d7))[_0x1f6592(0x1be)](_0x1f6592(0x1b7));const _0x19b30e=this[_0x1f6592(0x1d2)][_0x1f6592(0x1d8)][_0x1f6592(0x1de)][_0x1f6592(0x1da)];this[_0x1f6592(0x1dc)](_0x19b30e,_0x1f6592(0x1bf),_0x501039=>_0x501039[_0x1f6592(0x1c5)](),{'priority':_0x1f6592(0x1c7)}),this[_0x1f6592(0x1dc)](_0x19b30e,_0x1f6592(0x1c4),_0x2cb692=>_0x2cb692[_0x1f6592(0x1c5)](),{'priority':_0x1f6592(0x1c7)}),this[_0x1f6592(0x1dc)](_0x19b30e,_0x1f6592(0x1c3),_0x449ebd=>_0x449ebd[_0x1f6592(0x1c5)](),{'priority':_0x1f6592(0x1c7)});}[_0x45796(0x1cb)](){const _0x52daa3=_0x45796;for(const [_0x48e704,_0x298eb6]of this[_0x52daa3(0x1d2)][_0x52daa3(0x1df)])_0x298eb6[_0x52daa3(0x1c0)]&&_0x52daa3(0x1d5)!==_0x48e704&&_0x298eb6[_0x52daa3(0x1b8)](_0x52daa3(0x1b7));this[_0x52daa3(0x1c1)](this[_0x52daa3(0x1d2)][_0x52daa3(0x1d8)][_0x52daa3(0x1de)][_0x52daa3(0x1da)]);}}
23
+ const _0x433a4f=_0x32e5;function _0x32e5(_0x28c24b,_0x5e666c){const _0x377526=_0x3775();return _0x32e5=function(_0x32e5b1,_0x4c81cd){_0x32e5b1=_0x32e5b1-0x1bc;let _0x43908f=_0x377526[_0x32e5b1];return _0x43908f;},_0x32e5(_0x28c24b,_0x5e666c);}(function(_0x93e62c,_0x108267){const _0x575df5=_0x32e5,_0x3177e1=_0x93e62c();while(!![]){try{const _0x1ba1d6=parseInt(_0x575df5(0x1d7))/0x1*(parseInt(_0x575df5(0x1e5))/0x2)+parseInt(_0x575df5(0x1cb))/0x3+parseInt(_0x575df5(0x1d2))/0x4*(-parseInt(_0x575df5(0x1db))/0x5)+parseInt(_0x575df5(0x1bc))/0x6+-parseInt(_0x575df5(0x1bf))/0x7+-parseInt(_0x575df5(0x1c7))/0x8+parseInt(_0x575df5(0x1d6))/0x9*(parseInt(_0x575df5(0x1ca))/0xa);if(_0x1ba1d6===_0x108267)break;else _0x3177e1['push'](_0x3177e1['shift']());}catch(_0x53d8ce){_0x3177e1['push'](_0x3177e1['shift']());}}}(_0x3775,0xce8b9));import{Plugin as _0x5d7a31}from'ckeditor5/src/core.js';function _0x3775(){const _0xccb9e5=['11263oWnKZM','DragDrop','editing','document','345295HaXCUJ','change:isEnabled','get','_disableCommentsOnlyMode','highest','clearForceDisabled','addCommentThread','isEnabled','delete','affectsData','250lqmUkN','3251196OuRhpR','afterInit','config','5086417HYvAZm','forceDisabled','set','stopListening','view','commands','has','_enableCommentsOnlyMode','1905640mWtvAb','requires','clipboardInput','230120twaIgR','1655565tnwTux','editor','cut','commentsOnlyMode','commentsOnly','pluginName','stop','68zZeXJY','CommentsOnly','plugins','listenTo','189cBZzgl'];_0x3775=function(){return _0xccb9e5;};return _0x3775();}import _0x2d41fe from'./comments/commentsediting.js';export default class e extends _0x5d7a31{static get[_0x433a4f(0x1d0)](){const _0x58a188=_0x433a4f;return _0x58a188(0x1d3);}static get[_0x433a4f(0x1c8)](){return[_0x2d41fe];}constructor(_0x1b8c22){const _0xc49f63=_0x433a4f;super(_0x1b8c22),this[_0xc49f63(0x1c1)](_0xc49f63(0x1e2),!0x1),this['on'](_0xc49f63(0x1dc),(_0x18d065,_0x45d873,_0x445567)=>{const _0x36e47d=_0xc49f63;_0x445567?this[_0x36e47d(0x1c6)]():this[_0x36e47d(0x1de)]();});}[_0x433a4f(0x1bd)](){const _0xd292a=_0x433a4f;!this[_0xd292a(0x1e2)]&&this[_0xd292a(0x1cc)][_0xd292a(0x1be)][_0xd292a(0x1dd)](_0xd292a(0x1cf))&&(this[_0xd292a(0x1e2)]=!0x0);}[_0x433a4f(0x1c6)](){const _0x47f5fd=_0x433a4f;for(const [_0x127779,_0x3b3320]of this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1c4)])_0x3b3320[_0x47f5fd(0x1e4)]&&_0x47f5fd(0x1e1)!==_0x127779&&_0x3b3320[_0x47f5fd(0x1c0)](_0x47f5fd(0x1ce));this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1d4)][_0x47f5fd(0x1c5)](_0x47f5fd(0x1d8))&&this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1d4)][_0x47f5fd(0x1dd)](_0x47f5fd(0x1d8))[_0x47f5fd(0x1c0)](_0x47f5fd(0x1ce));const _0x3dce67=this[_0x47f5fd(0x1cc)][_0x47f5fd(0x1d9)][_0x47f5fd(0x1c3)][_0x47f5fd(0x1da)];this[_0x47f5fd(0x1d5)](_0x3dce67,_0x47f5fd(0x1cd),_0x280daf=>_0x280daf[_0x47f5fd(0x1d1)](),{'priority':_0x47f5fd(0x1df)}),this[_0x47f5fd(0x1d5)](_0x3dce67,_0x47f5fd(0x1c9),_0xb6c8ae=>_0xb6c8ae[_0x47f5fd(0x1d1)](),{'priority':_0x47f5fd(0x1df)}),this[_0x47f5fd(0x1d5)](_0x3dce67,_0x47f5fd(0x1e3),_0x5bdee8=>_0x5bdee8[_0x47f5fd(0x1d1)](),{'priority':_0x47f5fd(0x1df)});}[_0x433a4f(0x1de)](){const _0x4da491=_0x433a4f;for(const [_0x1ab3d4,_0x39078c]of this[_0x4da491(0x1cc)][_0x4da491(0x1c4)])_0x39078c[_0x4da491(0x1e4)]&&_0x4da491(0x1e1)!==_0x1ab3d4&&_0x39078c[_0x4da491(0x1e0)](_0x4da491(0x1ce));this[_0x4da491(0x1c2)](this[_0x4da491(0x1cc)][_0x4da491(0x1d9)][_0x4da491(0x1c3)][_0x4da491(0x1da)]);}}
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(_0x19f32a,_0x4ea72c){var _0x337243=_0x259d,_0x3fb235=_0x19f32a();while(!![]){try{var _0x58a9d9=-parseInt(_0x337243(0x184))/0x1*(parseInt(_0x337243(0x185))/0x2)+parseInt(_0x337243(0x17d))/0x3*(parseInt(_0x337243(0x17f))/0x4)+parseInt(_0x337243(0x186))/0x5+-parseInt(_0x337243(0x180))/0x6*(-parseInt(_0x337243(0x181))/0x7)+parseInt(_0x337243(0x182))/0x8+-parseInt(_0x337243(0x183))/0x9*(parseInt(_0x337243(0x17e))/0xa)+-parseInt(_0x337243(0x17c))/0xb;if(_0x58a9d9===_0x4ea72c)break;else _0x3fb235['push'](_0x3fb235['shift']());}catch(_0x13a646){_0x3fb235['push'](_0x3fb235['shift']());}}}(_0x1ab4,0xd8a38));export{default as Comments}from'./comments.js';function _0x1ab4(){var _0x519fe7=['42iDPtjr','1587859QzBYPt','10066032RNIUwJ','737487oqmLZB','80714JiInEX','8DFqMLw','2105470yCazMK','24011163wLwKeI','303ItEoxl','130BhWmkh','47172DhYIEU'];_0x1ab4=function(){return _0x519fe7;};return _0x1ab4();}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';function _0x259d(_0x32c3e2,_0x15e5db){var _0x1ab4a8=_0x1ab4();return _0x259d=function(_0x259d89,_0x5660bc){_0x259d89=_0x259d89-0x17c;var _0x1914e0=_0x1ab4a8[_0x259d89];return _0x1914e0;},_0x259d(_0x32c3e2,_0x15e5db);}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';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
23
+ (function(_0x1437cb,_0x4d672d){var _0x4d5945=_0x264f,_0x4c4479=_0x1437cb();while(!![]){try{var _0x45d6a9=-parseInt(_0x4d5945(0x10d))/0x1*(parseInt(_0x4d5945(0x10e))/0x2)+-parseInt(_0x4d5945(0x114))/0x3*(-parseInt(_0x4d5945(0x112))/0x4)+parseInt(_0x4d5945(0x10b))/0x5*(-parseInt(_0x4d5945(0x110))/0x6)+parseInt(_0x4d5945(0x113))/0x7+parseInt(_0x4d5945(0x10a))/0x8+parseInt(_0x4d5945(0x115))/0x9*(-parseInt(_0x4d5945(0x10f))/0xa)+-parseInt(_0x4d5945(0x10c))/0xb*(parseInt(_0x4d5945(0x111))/0xc);if(_0x45d6a9===_0x4d672d)break;else _0x4c4479['push'](_0x4c4479['shift']());}catch(_0x228119){_0x4c4479['push'](_0x4c4479['shift']());}}}(_0x406f,0xe851d));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';function _0x406f(){var _0x492a87=['165RrsoxP','751615gvvyTs','2PyhvIF','10510bNQsMp','11364aibpGX','1537932NMoOtf','229576szEHBa','10587500UCBRVp','75HEIQPL','1422ykbRbX','9497064VixIqM','905UGjewE'];_0x406f=function(){return _0x492a87;};return _0x406f();}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';function _0x264f(_0x1b2ea9,_0x1d4074){var _0x406fe6=_0x406f();return _0x264f=function(_0x264fa3,_0x35f070){_0x264fa3=_0x264fa3-0x10a;var _0x3fba7c=_0x406fe6[_0x264fa3];return _0x3fba7c;},_0x264f(_0x1b2ea9,_0x1d4074);}export{default as CommentView}from'./comments/ui/view/commentview.js';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(_0x24b04a,_0x17060c,_0x1d1ff6){const t=_0x24b04a['t'];switch(_0x17060c){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'},_0x1d1ff6);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'},_0x1d1ff6);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'},_0x1d1ff6);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'},_0x1d1ff6);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(_0x24bd7e,_0x2088e2,_0x568e33){const t=_0x24bd7e['t'];switch(_0x2088e2){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'},_0x568e33);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'},_0x568e33);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'},_0x568e33);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'},_0x568e33);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x568e33);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'},_0x568e33);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'},_0x568e33);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'},_0x568e33);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 _0x40b4(_0x129c6a,_0x48734b){const _0x22b485=_0x22b4();return _0x40b4=function(_0x40b427,_0x422b86){_0x40b427=_0x40b427-0x81;let _0xf02b9a=_0x22b485[_0x40b427];return _0xf02b9a;},_0x40b4(_0x129c6a,_0x48734b);}function _0x22b4(){const _0x58c8e2=['class','disconnect','5598395YjgqBx','cancel','attributes','4aGhCxv','4668837aYMVic','type','observe','10635828QJogeD','3304uNgxVH','9329496UbwHqx','1405686oIiVsE','attributeName','childList','1791636xrtwHN','characterData','41157HVTRIH'];_0x22b4=function(){return _0x58c8e2;};return _0x22b4();}(function(_0x26f9b5,_0x10a47f){const _0x441a8d=_0x40b4,_0x3433a5=_0x26f9b5();while(!![]){try{const _0x3a69a6=parseInt(_0x441a8d(0x90))/0x1+parseInt(_0x441a8d(0x81))/0x2+-parseInt(_0x441a8d(0x8a))/0x3*(parseInt(_0x441a8d(0x89))/0x4)+-parseInt(_0x441a8d(0x86))/0x5+parseInt(_0x441a8d(0x8f))/0x6+parseInt(_0x441a8d(0x8d))/0x7+-parseInt(_0x441a8d(0x8e))/0x8*(parseInt(_0x441a8d(0x83))/0x9);if(_0x3a69a6===_0x10a47f)break;else _0x3433a5['push'](_0x3433a5['shift']());}catch(_0x50bcad){_0x3433a5['push'](_0x3433a5['shift']());}}}(_0x22b4,0xc60d1));import{throttle as _0x1e1e8a}from'lodash-es';export default function Dt(_0x1591a6){const _0x2bdf62=_0x1e1e8a(_0x1591a6,0x1e),_0x5214c4=new MutationObserver(_0x4f96d6=>{const _0x52d4bc=_0x40b4;for(const _0x437a01 of _0x4f96d6)(_0x52d4bc(0x88)==_0x437a01[_0x52d4bc(0x8b)]&&_0x52d4bc(0x84)==_0x437a01[_0x52d4bc(0x91)]||_0x52d4bc(0x92)==_0x437a01[_0x52d4bc(0x8b)]||_0x52d4bc(0x82)==_0x437a01[_0x52d4bc(0x8b)])&&_0x2bdf62();});return{'attach'(_0x42a072){const _0x989ae9=_0x40b4;_0x5214c4[_0x989ae9(0x8c)](_0x42a072,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1feb66=_0x40b4;_0x5214c4[_0x1feb66(0x85)](),_0x2bdf62[_0x1feb66(0x87)]();}};}
23
+ (function(_0x4f0aa4,_0x1f3b1b){const _0x2077cd=_0x55b1,_0x3e5c4f=_0x4f0aa4();while(!![]){try{const _0x479eb9=-parseInt(_0x2077cd(0x92))/0x1+parseInt(_0x2077cd(0x96))/0x2+parseInt(_0x2077cd(0x99))/0x3*(parseInt(_0x2077cd(0x85))/0x4)+parseInt(_0x2077cd(0x8a))/0x5*(-parseInt(_0x2077cd(0x91))/0x6)+parseInt(_0x2077cd(0x87))/0x7*(-parseInt(_0x2077cd(0x98))/0x8)+-parseInt(_0x2077cd(0x94))/0x9*(-parseInt(_0x2077cd(0x8c))/0xa)+-parseInt(_0x2077cd(0x97))/0xb*(-parseInt(_0x2077cd(0x93))/0xc);if(_0x479eb9===_0x1f3b1b)break;else _0x3e5c4f['push'](_0x3e5c4f['shift']());}catch(_0x51097f){_0x3e5c4f['push'](_0x3e5c4f['shift']());}}}(_0x18d8,0xa61eb));function _0x55b1(_0x36c5cc,_0x51c18d){const _0x18d889=_0x18d8();return _0x55b1=function(_0x55b1a3,_0x37aaef){_0x55b1a3=_0x55b1a3-0x85;let _0x40ca47=_0x18d889[_0x55b1a3];return _0x40ca47;},_0x55b1(_0x36c5cc,_0x51c18d);}import{throttle as _0x19f211}from'lodash-es';function _0x18d8(){const _0x2a73cb=['2273912WbiQKY','1606PiVRvZ','7360904TnBSdH','250353pjDfdW','4dluHWD','class','7COMFdW','characterData','attributes','2016505npcBtx','observe','20QxFJvA','type','cancel','disconnect','attributeName','6GDBHfm','340582tFLVCd','71328hjesRP','1152864SkiKyd','childList'];_0x18d8=function(){return _0x2a73cb;};return _0x18d8();}export default function Lt(_0x182709){const _0x10d629=_0x19f211(_0x182709,0x1e),_0x15a1d9=new MutationObserver(_0x474a6d=>{const _0x511b42=_0x55b1;for(const _0x1a2bb5 of _0x474a6d)(_0x511b42(0x89)==_0x1a2bb5[_0x511b42(0x8d)]&&_0x511b42(0x86)==_0x1a2bb5[_0x511b42(0x90)]||_0x511b42(0x95)==_0x1a2bb5[_0x511b42(0x8d)]||_0x511b42(0x88)==_0x1a2bb5[_0x511b42(0x8d)])&&_0x10d629();});return{'attach'(_0x54807f){const _0x216d83=_0x55b1;_0x15a1d9[_0x216d83(0x8b)](_0x54807f,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2bfeeb=_0x55b1;_0x15a1d9[_0x2bfeeb(0x8f)](),_0x10d629[_0x2bfeeb(0x8e)]();}};}
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 {