@ckeditor/ckeditor5-comments 39.0.2 → 40.1.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 (170) hide show
  1. package/LICENSE.md +3 -3
  2. package/README.md +1 -1
  3. package/build/comments.js +2 -2
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/bs.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de-ch.js +1 -1
  13. package/build/translations/de.js +1 -1
  14. package/build/translations/el.js +1 -1
  15. package/build/translations/en-au.js +1 -1
  16. package/build/translations/es-co.js +1 -1
  17. package/build/translations/es.js +1 -1
  18. package/build/translations/et.js +1 -1
  19. package/build/translations/fa.js +1 -1
  20. package/build/translations/fi.js +1 -1
  21. package/build/translations/fr.js +1 -1
  22. package/build/translations/gl.js +1 -1
  23. package/build/translations/he.js +1 -1
  24. package/build/translations/hi.js +1 -1
  25. package/build/translations/hr.js +1 -1
  26. package/build/translations/hu.js +1 -1
  27. package/build/translations/id.js +1 -1
  28. package/build/translations/it.js +1 -1
  29. package/build/translations/ja.js +1 -1
  30. package/build/translations/jv.js +1 -1
  31. package/build/translations/ko.js +1 -1
  32. package/build/translations/lt.js +1 -1
  33. package/build/translations/lv.js +1 -1
  34. package/build/translations/ms.js +1 -1
  35. package/build/translations/nl.js +1 -1
  36. package/build/translations/no.js +1 -1
  37. package/build/translations/pl.js +1 -1
  38. package/build/translations/pt-br.js +1 -1
  39. package/build/translations/pt.js +1 -1
  40. package/build/translations/ro.js +1 -1
  41. package/build/translations/ru.js +1 -1
  42. package/build/translations/sk.js +1 -1
  43. package/build/translations/sq.js +1 -1
  44. package/build/translations/sr-latn.js +1 -1
  45. package/build/translations/sr.js +1 -1
  46. package/build/translations/sv.js +1 -1
  47. package/build/translations/th.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/lang/contexts.json +2 -0
  58. package/lang/translations/af.po +8 -0
  59. package/lang/translations/ar.po +8 -0
  60. package/lang/translations/bg.po +8 -0
  61. package/lang/translations/bn.po +8 -0
  62. package/lang/translations/bs.po +8 -0
  63. package/lang/translations/ca.po +8 -0
  64. package/lang/translations/cs.po +8 -0
  65. package/lang/translations/da.po +8 -0
  66. package/lang/translations/de-ch.po +8 -0
  67. package/lang/translations/de.po +8 -0
  68. package/lang/translations/el.po +8 -0
  69. package/lang/translations/en-au.po +8 -0
  70. package/lang/translations/en.po +8 -0
  71. package/lang/translations/es-co.po +8 -0
  72. package/lang/translations/es.po +8 -0
  73. package/lang/translations/et.po +8 -0
  74. package/lang/translations/fa.po +8 -0
  75. package/lang/translations/fi.po +8 -0
  76. package/lang/translations/fr.po +8 -0
  77. package/lang/translations/gl.po +8 -0
  78. package/lang/translations/he.po +8 -0
  79. package/lang/translations/hi.po +8 -0
  80. package/lang/translations/hr.po +8 -0
  81. package/lang/translations/hu.po +8 -0
  82. package/lang/translations/id.po +8 -0
  83. package/lang/translations/it.po +8 -0
  84. package/lang/translations/ja.po +8 -0
  85. package/lang/translations/jv.po +8 -0
  86. package/lang/translations/ko.po +8 -0
  87. package/lang/translations/lt.po +8 -0
  88. package/lang/translations/lv.po +8 -0
  89. package/lang/translations/ms.po +8 -0
  90. package/lang/translations/nl.po +8 -0
  91. package/lang/translations/no.po +8 -0
  92. package/lang/translations/pl.po +8 -0
  93. package/lang/translations/pt-br.po +11 -3
  94. package/lang/translations/pt.po +8 -0
  95. package/lang/translations/ro.po +8 -0
  96. package/lang/translations/ru.po +8 -0
  97. package/lang/translations/sk.po +8 -0
  98. package/lang/translations/sq.po +8 -0
  99. package/lang/translations/sr-latn.po +8 -0
  100. package/lang/translations/sr.po +8 -0
  101. package/lang/translations/sv.po +8 -0
  102. package/lang/translations/th.po +8 -0
  103. package/lang/translations/tk.po +8 -0
  104. package/lang/translations/tr.po +8 -0
  105. package/lang/translations/tt.po +8 -0
  106. package/lang/translations/ug.po +8 -0
  107. package/lang/translations/uk.po +8 -0
  108. package/lang/translations/ur.po +8 -0
  109. package/lang/translations/vi.po +8 -0
  110. package/lang/translations/zh-cn.po +8 -0
  111. package/lang/translations/zh.po +8 -0
  112. package/package.json +3 -3
  113. package/src/annotations/annotation.js +1 -1
  114. package/src/annotations/annotationcollection.js +1 -1
  115. package/src/annotations/annotations.js +1 -1
  116. package/src/annotations/annotationsuis.js +1 -1
  117. package/src/annotations/editorannotations.js +1 -1
  118. package/src/annotations/inlineannotations.js +1 -1
  119. package/src/annotations/narrowsidebar.js +1 -1
  120. package/src/annotations/sidebar.js +1 -1
  121. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  122. package/src/annotations/view/annotationview.js +1 -1
  123. package/src/annotations/view/sidebaritemview.js +1 -1
  124. package/src/annotations/view/sidebarview.js +1 -1
  125. package/src/annotations/widesidebar.js +1 -1
  126. package/src/comments/addcommentthreadcommand.js +1 -1
  127. package/src/comments/commentsarchive.d.ts +2 -2
  128. package/src/comments/commentsarchive.js +1 -1
  129. package/src/comments/commentsarchiveui.d.ts +1 -1
  130. package/src/comments/commentsarchiveui.js +1 -1
  131. package/src/comments/commentsediting.js +1 -1
  132. package/src/comments/commentsrepository.d.ts +39 -15
  133. package/src/comments/commentsrepository.js +1 -1
  134. package/src/comments/commentsui.js +1 -1
  135. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  136. package/src/comments/integrations/importword.js +1 -1
  137. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  138. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  139. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  140. package/src/comments/ui/commentthreadcontroller.js +1 -1
  141. package/src/comments/ui/view/basecommentthreadview.d.ts +7 -0
  142. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  143. package/src/comments/ui/view/basecommentview.js +1 -1
  144. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  145. package/src/comments/ui/view/commentcontentview.js +1 -1
  146. package/src/comments/ui/view/commentinputview.js +1 -1
  147. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  148. package/src/comments/ui/view/commentslistview.js +1 -1
  149. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  150. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  151. package/src/comments/ui/view/commentthreadview.d.ts +1 -0
  152. package/src/comments/ui/view/commentthreadview.js +1 -1
  153. package/src/comments/ui/view/commentview.js +1 -1
  154. package/src/comments.js +1 -1
  155. package/src/commentsonly.js +1 -1
  156. package/src/utils/common-translations.js +1 -1
  157. package/src/utils/createmutationobserver.js +1 -1
  158. package/theme/annotation-inline.css +2 -1
  159. package/theme/annotation.css +2 -1
  160. package/theme/comment.css +3 -2
  161. package/theme/commentinput.css +2 -1
  162. package/theme/commentmarker.css +2 -1
  163. package/theme/commentsarchive.css +2 -1
  164. package/theme/commentthread.css +12 -1
  165. package/theme/icons/add-comment.svg +1 -1
  166. package/theme/icons/comments-archive.svg +1 -1
  167. package/theme/icons/edit-comment.svg +1 -1
  168. package/theme/icons/remove-comment.svg +1 -1
  169. package/theme/sidebar-narrow.css +2 -1
  170. package/theme/sidebar.css +2 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f3b=['high','config','get','map','editor','plugins','commands','collaboration.channelId','importWord.commentsStyles','_handleImportedData','importWord','forEach','dataInsert','addCommentThread','afterInit','execute','listenTo'];(function(_0x33f18e,_0x2f3bee){const _0x48ccf2=function(_0x11d623){while(--_0x11d623){_0x33f18e['push'](_0x33f18e['shift']());}};_0x48ccf2(++_0x2f3bee);}(_0x2f3b,0x13e));const _0x48cc=function(_0x33f18e,_0x2f3bee){_0x33f18e=_0x33f18e-0x0;let _0x48ccf2=_0x2f3b[_0x33f18e];return _0x48ccf2;};import{Plugin as _0x20e03f}from'ckeditor5/src/core';import{priorities as _0x530e55}from'ckeditor5/src/utils';import{Users as _0x22da6d}from'ckeditor5-collaboration/src/collaboration-core';import _0x553806 from'../commentsrepository';export default class Y extends _0x20e03f{constructor(_0x56b55e){super(_0x56b55e),this[_0x48cc('0x9')]['config']['define']('importWord.commentsStyles','basic');}[_0x48cc('0x2')](){const _0x53059b=this[_0x48cc('0x9')],_0x377794=_0x53059b[_0x48cc('0xb')][_0x48cc('0x7')](_0x48cc('0xf')),_0x20e0e9=_0x53059b[_0x48cc('0xa')][_0x48cc('0x7')](_0x22da6d);_0x377794&&(_0x377794['on'](_0x48cc('0x3'),(_0x18e00f,[,_0x25c4a9])=>{_0x25c4a9['collaboration_features']={'comments':!0x0,'user_id':_0x20e0e9['me']['id'],'comments_styles':this['editor'][_0x48cc('0x6')]['get'](_0x48cc('0xd'))};},{'priority':_0x530e55[_0x48cc('0x5')]+0xa}),this[_0x48cc('0x4')](_0x377794,_0x48cc('0x0'),this[_0x48cc('0xe')]));}[_0x48cc('0xe')](_0x34c5c0,_0xc50ea7){const {comment_threads:_0x47ba88}=_0xc50ea7;_0x47ba88&&_0x47ba88[_0x48cc('0x10')](({thread_id:_0x5836b7,comments:_0x28686a,is_resolved:_0x126c53})=>{const _0x3bbc88=new Date(),_0x34c0af=_0x28686a[_0x48cc('0x8')](({author:_0x305901,content:_0x4be779,created_at:_0x2f7782})=>({'content':_0x4be779,'authorId':this['editor'][_0x48cc('0xa')][_0x48cc('0x7')](_0x22da6d)['me']['id'],'createdAt':_0x3bbc88,'attributes':{'@external':{'authorName':_0x305901,'createdAt':_0x2f7782?new Date(_0x2f7782):new Date(),'source':'importWord'}}})),_0x4ed32c=this[_0x48cc('0x9')][_0x48cc('0x6')]['get'](_0x48cc('0xc'));this[_0x48cc('0x9')][_0x48cc('0xa')][_0x48cc('0x7')](_0x553806)[_0x48cc('0x1')]({'channelId':_0x4ed32c,'threadId':_0x5836b7,'comments':_0x34c0af,'resolvedAt':_0x126c53?_0x3bbc88:null});});}}
23
+ const _0x1975=['config','editor','map','get','_handleImportedData','high','importWord','plugins','addCommentThread','execute','importWord.formatting.comments','commands','collaboration_features','dataInsert','collaboration.channelId','listenTo','basic'];(function(_0x5b15da,_0x197525){const _0x221a04=function(_0x5ac613){while(--_0x5ac613){_0x5b15da['push'](_0x5b15da['shift']());}};_0x221a04(++_0x197525);}(_0x1975,0x1e2));const _0x221a=function(_0x5b15da,_0x197525){_0x5b15da=_0x5b15da-0x0;let _0x221a04=_0x1975[_0x5b15da];return _0x221a04;};import{Plugin as _0x2ac094}from'ckeditor5/src/core';import{priorities as _0x5ca1f2}from'ckeditor5/src/utils';import{Users as _0x5d1a79}from'ckeditor5-collaboration/src/collaboration-core';import _0x3bdd61 from'../commentsrepository';export default class Z extends _0x2ac094{constructor(_0x5951f7){super(_0x5951f7),this[_0x221a('0xc')][_0x221a('0xb')]['define'](_0x221a('0x4'),_0x221a('0xa'));}['afterInit'](){const _0x51891b=this['editor'],_0x38ac4c=_0x51891b[_0x221a('0x5')][_0x221a('0xe')](_0x221a('0x0')),_0x586d53=_0x51891b['plugins'][_0x221a('0xe')](_0x5d1a79);_0x38ac4c&&(_0x38ac4c['on'](_0x221a('0x3'),(_0x88601c,[,_0x492f8d])=>{_0x492f8d[_0x221a('0x6')]={'comments':!0x0,'user_id':_0x586d53['me']['id']};},{'priority':_0x5ca1f2[_0x221a('0x10')]+0xa}),this[_0x221a('0x9')](_0x38ac4c,_0x221a('0x7'),this[_0x221a('0xf')]));}[_0x221a('0xf')](_0x17c48e,_0x5c15fd){const {comment_threads:_0x39e458}=_0x5c15fd;_0x39e458&&_0x39e458['forEach'](({thread_id:_0x5282ee,comments:_0x3e9a70,is_resolved:_0x38c251})=>{const _0x486a32=new Date(),_0x32590b=_0x3e9a70[_0x221a('0xd')](({author:_0x1003fd,content:_0x5254ee,created_at:_0x1e3b30})=>({'content':_0x5254ee,'authorId':this['editor'][_0x221a('0x1')][_0x221a('0xe')](_0x5d1a79)['me']['id'],'createdAt':_0x486a32,'attributes':{'@external':{'authorName':_0x1003fd,'createdAt':_0x1e3b30?new Date(_0x1e3b30):new Date(),'source':'importWord'}}})),_0x5261e7=this[_0x221a('0xc')][_0x221a('0xb')]['get'](_0x221a('0x8'));this['editor'][_0x221a('0x1')]['get'](_0x3bdd61)[_0x221a('0x2')]({'channelId':_0x5261e7,'threadId':_0x5282ee,'comments':_0x32590b,'resolvedAt':_0x38c251?_0x486a32:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d48=['change','name','document','view','model','change:placeholder','assign','fire','destroy','setSelection','defaultPlugins','data','config','low','set','plugins','childCount','getRoot','_updatePlaceholder','focus','placeholderElement','getChild','end','editing','then','placeholder'];(function(_0x43ccaa,_0x1d4835){const _0xa4bea6=function(_0x4dd60d){while(--_0x4dd60d){_0x43ccaa['push'](_0x43ccaa['shift']());}};_0xa4bea6(++_0x1d4835);}(_0x1d48,0x181));const _0xa4be=function(_0x43ccaa,_0x1d4835){_0x43ccaa=_0x43ccaa-0x0;let _0xa4bea6=_0x1d48[_0x43ccaa];return _0xa4bea6;};import{Editor as _0x36903e,DataApiMixin as _0x5cb3be}from'ckeditor5/src/core';import _0x3934a5 from'./commenteditorui';import{ObservableMixin as _0x130836}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4e5217,disablePlaceholder as _0x40df4a}from'ckeditor5/src/engine';import{Clipboard as _0x2a1355}from'ckeditor5/src/clipboard';import{Enter as _0x51e31f,ShiftEnter as _0x614c01}from'ckeditor5/src/enter';import{SelectAll as _0x5e9e8}from'ckeditor5/src/select-all';import{Typing as _0x3bfe1d}from'ckeditor5/src/typing';import{Undo as _0x3fe9e1}from'ckeditor5/src/undo';import{Paragraph as _0x3dd01c}from'ckeditor5/src/paragraph';const Kt=[_0x2a1355,_0x51e31f,_0x614c01,_0x5e9e8,_0x3bfe1d,_0x3fe9e1,_0x3dd01c];export default class Lt extends _0x130836(_0x5cb3be(_0x36903e)){constructor(_0x2cae6a={}){(_0x2cae6a=Object[_0xa4be('0xb')]({},_0x2cae6a))[_0xa4be('0x14')]||(_0x2cae6a[_0xa4be('0x14')]=Lt[_0xa4be('0xf')]),super(_0x2cae6a),this['ui']=new _0x3934a5(this),this[_0xa4be('0x13')](_0xa4be('0x4'),''),this[_0xa4be('0x9')][_0xa4be('0x7')]['on'](_0xa4be('0x5'),()=>this[_0xa4be('0x17')](),{'priority':_0xa4be('0x12')}),this['on'](_0xa4be('0xa'),()=>this[_0xa4be('0x17')]()),this[_0xa4be('0x9')][_0xa4be('0x7')]['createRoot']();}['create'](){const _0x3fc765=this[_0xa4be('0x11')]['get']('initialData')||'';return this['initPlugins']()[_0xa4be('0x3')](()=>this['ui']['init']())[_0xa4be('0x3')](()=>this[_0xa4be('0x10')]['init'](_0x3fc765))[_0xa4be('0x3')](()=>this[_0xa4be('0xc')]('ready'));}[_0xa4be('0xd')](){return super['destroy']()[_0xa4be('0x3')](()=>this['ui']['destroy']());}[_0xa4be('0x18')](){this[_0xa4be('0x9')]['change'](_0x5ce421=>{const _0x415367=this[_0xa4be('0x9')]['document']['getRoot'](),_0x1a5c63=_0x415367&&_0x415367[_0xa4be('0x0')](_0x415367[_0xa4be('0x15')]-0x1);_0x5ce421[_0xa4be('0xe')](_0x1a5c63,_0xa4be('0x1')),this[_0xa4be('0x2')][_0xa4be('0x8')][_0xa4be('0x18')]();});}[_0xa4be('0x17')](){const _0x279c99=this[_0xa4be('0x2')][_0xa4be('0x8')],_0x59e662=_0x279c99['document'][_0xa4be('0x16')](),_0x58f93c=_0x59e662[_0xa4be('0x0')](0x0);_0x59e662[_0xa4be('0x15')]>0x1||!_0x58f93c||'p'!=_0x58f93c[_0xa4be('0x6')]?this['placeholderElement']&&this[_0xa4be('0x19')][_0xa4be('0x4')]&&(_0x40df4a(_0x279c99,this[_0xa4be('0x19')]),this[_0xa4be('0x19')]=void 0x0):(this[_0xa4be('0x4')]&&(_0x58f93c[_0xa4be('0x4')]=this['placeholder']),_0x4e5217({'view':_0x279c99,'element':_0x58f93c,'keepOnFocus':!0x0}),this[_0xa4be('0x19')]=_0x58f93c);}}Lt[_0xa4be('0xf')]=Kt;
23
+ const _0x2988=['defaultPlugins','placeholderElement','getChild','initialData','assign','destroy','end','getRoot','set','fire','editing','then','childCount','createRoot','model','init','view','document','config','setSelection','placeholder','change:placeholder','data','low','name','_updatePlaceholder','focus','plugins','change'];(function(_0x41187b,_0x298867){const _0x3262c8=function(_0x3d2840){while(--_0x3d2840){_0x41187b['push'](_0x41187b['shift']());}};_0x3262c8(++_0x298867);}(_0x2988,0x175));const _0x3262=function(_0x41187b,_0x298867){_0x41187b=_0x41187b-0x0;let _0x3262c8=_0x2988[_0x41187b];return _0x3262c8;};import{Editor as _0x4a8be0,DataApiMixin as _0x5048f3}from'ckeditor5/src/core';import _0x389358 from'./commenteditorui';import{ObservableMixin as _0x2a6208}from'ckeditor5/src/utils';import{enablePlaceholder as _0x25d72a,disablePlaceholder as _0x10b38b}from'ckeditor5/src/engine';import{Clipboard as _0x1bb419}from'ckeditor5/src/clipboard';import{Enter as _0x1909d7,ShiftEnter as _0x5c010a}from'ckeditor5/src/enter';import{SelectAll as _0x2d0d39}from'ckeditor5/src/select-all';import{Typing as _0x3465cf}from'ckeditor5/src/typing';import{Undo as _0x224af4}from'ckeditor5/src/undo';import{Paragraph as _0x3d7583}from'ckeditor5/src/paragraph';const Mt=[_0x1bb419,_0x1909d7,_0x5c010a,_0x2d0d39,_0x3465cf,_0x224af4,_0x3d7583];export default class Nt extends _0x2a6208(_0x5048f3(_0x4a8be0)){constructor(_0x55fb55={}){(_0x55fb55=Object[_0x3262('0x8')]({},_0x55fb55))['plugins']||(_0x55fb55[_0x3262('0x2')]=Nt[_0x3262('0x4')]),super(_0x55fb55),this['ui']=new _0x389358(this),this[_0x3262('0xc')](_0x3262('0x18'),''),this[_0x3262('0x12')][_0x3262('0x15')]['on'](_0x3262('0x3'),()=>this[_0x3262('0x0')](),{'priority':_0x3262('0x1b')}),this['on'](_0x3262('0x19'),()=>this[_0x3262('0x0')]()),this[_0x3262('0x12')]['document'][_0x3262('0x11')]();}['create'](){const _0x50feae=this[_0x3262('0x16')]['get'](_0x3262('0x7'))||'';return this['initPlugins']()[_0x3262('0xf')](()=>this['ui'][_0x3262('0x13')]())[_0x3262('0xf')](()=>this[_0x3262('0x1a')][_0x3262('0x13')](_0x50feae))[_0x3262('0xf')](()=>this[_0x3262('0xd')]('ready'));}[_0x3262('0x9')](){return super[_0x3262('0x9')]()['then'](()=>this['ui'][_0x3262('0x9')]());}[_0x3262('0x1')](){this['model']['change'](_0x471d9f=>{const _0x1e4338=this[_0x3262('0x12')]['document'][_0x3262('0xb')](),_0x45f0fc=_0x1e4338&&_0x1e4338[_0x3262('0x6')](_0x1e4338['childCount']-0x1);_0x471d9f[_0x3262('0x17')](_0x45f0fc,_0x3262('0xa')),this['editing'][_0x3262('0x14')][_0x3262('0x1')]();});}[_0x3262('0x0')](){const _0x57620f=this[_0x3262('0xe')][_0x3262('0x14')],_0x2ca724=_0x57620f[_0x3262('0x15')][_0x3262('0xb')](),_0x5e961c=_0x2ca724[_0x3262('0x6')](0x0);_0x2ca724[_0x3262('0x10')]>0x1||!_0x5e961c||'p'!=_0x5e961c[_0x3262('0x1c')]?this[_0x3262('0x5')]&&this[_0x3262('0x5')][_0x3262('0x18')]&&(_0x10b38b(_0x57620f,this[_0x3262('0x5')]),this[_0x3262('0x5')]=void 0x0):(this[_0x3262('0x18')]&&(_0x5e961c[_0x3262('0x18')]=this[_0x3262('0x18')]),_0x25d72a({'view':_0x57620f,'element':_0x5e961c,'keepOnFocus':!0x0}),this['placeholderElement']=_0x5e961c);}}Nt[_0x3262('0x4')]=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2630=['init','render','document','editable','editing','element','view','name','focusTracker','fire','bind','destroy','getRoot','attachDomRoot','rootName','setEditableElement','isFocused','editor','ready','locale'];(function(_0x4084cc,_0x26302a){const _0x24647a=function(_0x4c180b){while(--_0x4c180b){_0x4084cc['push'](_0x4084cc['shift']());}};_0x24647a(++_0x26302a);}(_0x2630,0x173));const _0x2464=function(_0x4084cc,_0x26302a){_0x4084cc=_0x4084cc-0x0;let _0x24647a=_0x2630[_0x4084cc];return _0x24647a;};import{EditorUI as _0x488616}from'ckeditor5/src/ui';import _0x1f642a from'./commenteditoruiview';export default class jt extends _0x488616{constructor(_0x4583ae){super(_0x4583ae),this[_0x2464('0xf')]=new _0x1f642a(_0x4583ae[_0x2464('0x8')],_0x4583ae['editing']['view']);}get[_0x2464('0xe')](){return this[_0x2464('0xf')][_0x2464('0xe')];}[_0x2464('0x9')](){const _0x3bd2b8=this[_0x2464('0x6')][_0x2464('0xd')][_0x2464('0xf')],_0x5d400f=this[_0x2464('0xf')][_0x2464('0xc')],_0x33b3a5=_0x3bd2b8[_0x2464('0xb')][_0x2464('0x1')]();_0x5d400f[_0x2464('0x10')]=_0x33b3a5[_0x2464('0x3')],this[_0x2464('0xf')][_0x2464('0xa')]();const _0x389771=_0x5d400f[_0x2464('0xe')];this[_0x2464('0x4')](_0x5d400f['name'],_0x389771),this[_0x2464('0xf')]['editable'][_0x2464('0x13')](_0x2464('0x5'))['to'](this[_0x2464('0x11')]),_0x3bd2b8[_0x2464('0x2')](_0x389771),this[_0x2464('0x12')](_0x2464('0x7'));}['destroy'](){super[_0x2464('0x0')](),this[_0x2464('0xf')]['destroy']();}}
23
+ const _0xbe2b=['isFocused','locale','view','ready','editing','init','destroy','attachDomRoot','editable','name','focusTracker','getRoot','bind','element','setEditableElement'];(function(_0x2d214f,_0xbe2b81){const _0x511069=function(_0x165a28){while(--_0x165a28){_0x2d214f['push'](_0x2d214f['shift']());}};_0x511069(++_0xbe2b81);}(_0xbe2b,0x121));const _0x5110=function(_0x2d214f,_0xbe2b81){_0x2d214f=_0x2d214f-0x0;let _0x511069=_0xbe2b[_0x2d214f];return _0x511069;};import{EditorUI as _0x78e2fa}from'ckeditor5/src/ui';import _0x1ec093 from'./commenteditoruiview';export default class Ft extends _0x78e2fa{constructor(_0x4bf406){super(_0x4bf406),this[_0x5110('0xd')]=new _0x1ec093(_0x4bf406[_0x5110('0xc')],_0x4bf406[_0x5110('0x0')][_0x5110('0xd')]);}get['element'](){return this[_0x5110('0xd')]['element'];}[_0x5110('0x1')](){const _0x473dcf=this['editor'][_0x5110('0x0')][_0x5110('0xd')],_0x235be7=this['view'][_0x5110('0x4')],_0x227c92=_0x473dcf['document'][_0x5110('0x7')]();_0x235be7['name']=_0x227c92['rootName'],this[_0x5110('0xd')]['render']();const _0x52f009=_0x235be7[_0x5110('0x9')];this[_0x5110('0xa')](_0x235be7[_0x5110('0x5')],_0x52f009),this[_0x5110('0xd')][_0x5110('0x4')][_0x5110('0x8')](_0x5110('0xb'))['to'](this[_0x5110('0x6')]),_0x473dcf[_0x5110('0x3')](_0x52f009),this['fire'](_0x5110('0xe'));}[_0x5110('0x2')](){super[_0x5110('0x2')](),this['view'][_0x5110('0x2')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8ae6=['presentation','ck-rounded-corners','setTemplate','_createVoiceLabel','ck-reset','editable','_voiceLabelView','createCollection','ck-editor__aria-label_','extendTemplate','text','ck-editor__main','ck-editor','focus','comment','render','Comment\x20editor','div','ck-comment__input','element','ck-voice-label'];(function(_0x5153bc,_0x8ae62e){const _0x5730f1=function(_0x1efc98){while(--_0x1efc98){_0x5153bc['push'](_0x5153bc['shift']());}};_0x5730f1(++_0x8ae62e);}(_0x8ae6,0x1b9));const _0x5730=function(_0x5153bc,_0x8ae62e){_0x5153bc=_0x5153bc-0x0;let _0x5730f1=_0x8ae6[_0x5153bc];return _0x5730f1;};import{InlineEditableUIView as _0x3b073f,EditorUIView as _0x2697a2,LabelView as _0x312418}from'ckeditor5/src/ui';import{uid as _0x5745a5}from'ckeditor5/src/utils';import{getTranslation as _0x1952ea}from'../../../utils/common-translations';export default class Nt extends _0x2697a2{constructor(_0x291549,_0x5d320c){super(_0x291549);const _0x5dc896=_0x5745a5();this['main']=this[_0x5730('0x7')](),this[_0x5730('0x5')]=new _0x3b073f(_0x291549,_0x5d320c),this[_0x5730('0x6')]=this[_0x5730('0x3')](_0x5dc896,_0x291549),this[_0x5730('0x2')]({'tag':_0x5730('0x11'),'attributes':{'class':[_0x5730('0x4'),_0x5730('0xc'),_0x5730('0x1'),_0x5730('0x12')],'role':_0x5730('0xe'),'dir':_0x291549['uiLanguageDirection'],'lang':_0x291549['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x5dc896},'children':[this[_0x5730('0x6')],{'tag':_0x5730('0x11'),'attributes':{'class':_0x5730('0xb'),'role':_0x5730('0x0')},'children':this['main']}]});}[_0x5730('0xf')](){super[_0x5730('0xf')](),this['main']['add'](this[_0x5730('0x5')]);}[_0x5730('0xd')](){this['editable'][_0x5730('0x13')][_0x5730('0xd')]();}[_0x5730('0x3')](_0x4efd31,_0x51af10){const _0x59542f=new _0x312418();return _0x59542f[_0x5730('0xa')]=_0x1952ea(_0x51af10,_0x5730('0x10')),_0x59542f[_0x5730('0x9')]({'attributes':{'id':_0x5730('0x8')+_0x4efd31,'class':_0x5730('0x14')}}),_0x59542f;}}
23
+ const _0x3113=['comment','ck-voice-label','uiLanguageDirection','_createVoiceLabel','_voiceLabelView','presentation','ck-comment__input','text','div','Comment\x20editor','extendTemplate','main','ck-rounded-corners','ck-editor__main','editable','uiLanguage','render','element','createCollection','add','ck-reset','cke-editor__aria-label_','setTemplate'];(function(_0x226cf5,_0x3113c0){const _0x4c3059=function(_0x350565){while(--_0x350565){_0x226cf5['push'](_0x226cf5['shift']());}};_0x4c3059(++_0x3113c0);}(_0x3113,0xf4));const _0x4c30=function(_0x226cf5,_0x3113c0){_0x226cf5=_0x226cf5-0x0;let _0x4c3059=_0x3113[_0x226cf5];return _0x4c3059;};import{InlineEditableUIView as _0x41e79a,EditorUIView as _0x5e8fb5,LabelView as _0x44f30b}from'ckeditor5/src/ui';import{uid as _0x2aa947}from'ckeditor5/src/utils';import{getTranslation as _0x5c9154}from'../../../utils/common-translations';export default class Rt extends _0x5e8fb5{constructor(_0x43367d,_0x52cdda){super(_0x43367d);const _0x4c2057=_0x2aa947();this['main']=this[_0x4c30('0x4')](),this['editable']=new _0x41e79a(_0x43367d,_0x52cdda),this[_0x4c30('0xd')]=this[_0x4c30('0xc')](_0x4c2057,_0x43367d),this[_0x4c30('0x8')]({'tag':_0x4c30('0x11'),'attributes':{'class':[_0x4c30('0x6'),'ck-editor',_0x4c30('0x15'),_0x4c30('0xf')],'role':_0x4c30('0x9'),'dir':_0x43367d[_0x4c30('0xb')],'lang':_0x43367d[_0x4c30('0x1')],'aria-labelledby':_0x4c30('0x7')+_0x4c2057},'children':[this[_0x4c30('0xd')],{'tag':_0x4c30('0x11'),'attributes':{'class':_0x4c30('0x16'),'role':_0x4c30('0xe')},'children':this[_0x4c30('0x14')]}]});}['render'](){super[_0x4c30('0x2')](),this['main'][_0x4c30('0x5')](this['editable']);}['focus'](){this[_0x4c30('0x0')][_0x4c30('0x3')]['focus']();}[_0x4c30('0xc')](_0xd9ac6e,_0x1df17e){const _0x37516a=new _0x44f30b();return _0x37516a[_0x4c30('0x10')]=_0x5c9154(_0x1df17e,_0x4c30('0x12')),_0x37516a[_0x4c30('0x13')]({'attributes':{'id':'ck-editor__aria-label_'+_0xd9ac6e,'class':_0x4c30('0xa')}}),_0x37516a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x224c=['submit','addComment','removeComment','_localUser','view','getComment','stopListening','resolve','listenTo','model','updateComment','resolveCommentThread','submitCommentThread','remove','_isAttached','reopen','isResolved'];(function(_0x324f84,_0x224c9a){var _0x1f6630=function(_0x48af8b){while(--_0x48af8b){_0x324f84['push'](_0x324f84['shift']());}};_0x1f6630(++_0x224c9a);}(_0x224c,0x137));var _0x1f66=function(_0x324f84,_0x224c9a){_0x324f84=_0x324f84-0x0;var _0x1f6630=_0x224c[_0x324f84];return _0x1f6630;};import{ObservableMixin as _0x16572a}from'ckeditor5/src/utils';export default class ct extends _0x16572a(){constructor(_0x29b443,_0x2e02fd){super(),this['model']=_0x29b443,this[_0x1f66('0x4')][_0x1f66('0x9')]=!0x0,this[_0x1f66('0x10')]=_0x2e02fd,this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0x7'),()=>this['submit']()),this[_0x1f66('0x3')](_0x2e02fd,'removeCommentThread',()=>this[_0x1f66('0x8')]()),this['listenTo'](_0x2e02fd,_0x1f66('0x6'),()=>this[_0x1f66('0x2')]()),this[_0x1f66('0x3')](_0x2e02fd,'reopenCommentThread',()=>this[_0x1f66('0xa')]()),this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0xd'),(_0xbeeab5,_0x4843db)=>this['addComment'](_0x4843db)),this['listenTo'](_0x2e02fd,_0x1f66('0x5'),(_0x34df47,_0x2af737,_0xce90e9)=>this[_0x1f66('0x5')](_0x2af737,_0xce90e9)),this[_0x1f66('0x3')](_0x2e02fd,_0x1f66('0xe'),(_0x392df1,_0x2934f5)=>this[_0x1f66('0xe')](_0x2934f5));}[_0x1f66('0xc')](){this['model'][_0x1f66('0xc')]();}[_0x1f66('0x8')](){this[_0x1f66('0x4')][_0x1f66('0x8')]();}[_0x1f66('0x2')](){this[_0x1f66('0x4')]['isResolved']||this[_0x1f66('0x4')][_0x1f66('0x2')]();}['reopen'](){this['model'][_0x1f66('0xb')]&&this[_0x1f66('0x4')][_0x1f66('0xa')]();}[_0x1f66('0xd')](_0x18134c){this[_0x1f66('0x4')][_0x1f66('0xd')]({'content':_0x18134c,'authorId':this[_0x1f66('0x10')][_0x1f66('0xf')]['id']});}[_0x1f66('0x5')](_0x420885,_0x626383){this[_0x1f66('0x4')][_0x1f66('0x0')](_0x420885)['update']({'content':_0x626383});}[_0x1f66('0xe')](_0x1507c6){this[_0x1f66('0x4')][_0x1f66('0x0')](_0x1507c6)['remove']();}['destroy'](){this[_0x1f66('0x1')](),this['model']['_isAttached']=!0x1;}}
23
+ var _0x3a78=['remove','submit','submitCommentThread','updateComment','listenTo','model','stopListening','removeComment','view','_isAttached','resolve','addComment','removeCommentThread','getComment','isResolved','update','reopen'];(function(_0x183683,_0x3a7814){var _0x48708f=function(_0x1b4de1){while(--_0x1b4de1){_0x183683['push'](_0x183683['shift']());}};_0x48708f(++_0x3a7814);}(_0x3a78,0x6a));var _0x4870=function(_0x183683,_0x3a7814){_0x183683=_0x183683-0x0;var _0x48708f=_0x3a78[_0x183683];return _0x48708f;};import{ObservableMixin as _0x45f445}from'ckeditor5/src/utils';export default class ut extends _0x45f445(){constructor(_0x48c6c5,_0x1158c3){super(),this['model']=_0x48c6c5,this['model'][_0x4870('0x5')]=!0x0,this[_0x4870('0x4')]=_0x1158c3,this[_0x4870('0x0')](_0x1158c3,_0x4870('0xf'),()=>this[_0x4870('0xe')]()),this['listenTo'](_0x1158c3,_0x4870('0x8'),()=>this[_0x4870('0xd')]()),this[_0x4870('0x0')](_0x1158c3,'resolveCommentThread',()=>this[_0x4870('0x6')]()),this[_0x4870('0x0')](_0x1158c3,'reopenCommentThread',()=>this[_0x4870('0xc')]()),this[_0x4870('0x0')](_0x1158c3,_0x4870('0x7'),(_0x343c13,_0x18614e)=>this['addComment'](_0x18614e)),this[_0x4870('0x0')](_0x1158c3,'updateComment',(_0x881c1f,_0x4f8430,_0x53d054)=>this['updateComment'](_0x4f8430,_0x53d054)),this[_0x4870('0x0')](_0x1158c3,_0x4870('0x3'),(_0x56b6a3,_0x20c5d5)=>this[_0x4870('0x3')](_0x20c5d5));}[_0x4870('0xe')](){this['model']['submit']();}[_0x4870('0xd')](){this['model']['remove']();}[_0x4870('0x6')](){this['model'][_0x4870('0xa')]||this['model'][_0x4870('0x6')]();}[_0x4870('0xc')](){this['model'][_0x4870('0xa')]&&this['model'][_0x4870('0xc')]();}[_0x4870('0x7')](_0x16dc5e){this[_0x4870('0x1')]['addComment']({'content':_0x16dc5e,'authorId':this[_0x4870('0x4')]['_localUser']['id']});}[_0x4870('0x10')](_0x1a2b73,_0x1652dc){this[_0x4870('0x1')]['getComment'](_0x1a2b73)[_0x4870('0xb')]({'content':_0x1652dc});}[_0x4870('0x3')](_0x286950){this['model'][_0x4870('0x9')](_0x286950)[_0x4870('0xd')]();}['destroy'](){this[_0x4870('0x2')](),this['model'][_0x4870('0x5')]=!0x1;}}
@@ -29,6 +29,13 @@ export default class BaseCommentThreadView extends View {
29
29
  * @observable
30
30
  */
31
31
  isActive: boolean;
32
+ /**
33
+ * Informs whether the comment thread view is in unlinked state.
34
+ * A comment thread view is in this state when its corresponding target has been removed from the content.
35
+ *
36
+ * @observable
37
+ */
38
+ isUnlinked: boolean;
32
39
  /**
33
40
  * Informs whether the comment thread has any changes that have not been saved.
34
41
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f2=['removeCommentThread','isResolved','locale','placeholder','assign','Reply...','_localUser','editorDestroyed','canComment','_config','resolveCommentThread','reopenCommentThread','delegate','stop','isSubmitted','bind','element','submitCommentThread','Reply\x20to\x20reopen\x20discussion...','editorReady','commentThreadHeaderView','value','_createCommentThreadInputView','length','addComment','isResolvable','commentThreadInputView','isActive','isDirty','editorConfig','commentsListView','commentInputView','_model','set','submitLabel','hasDirtyComment','destroy','removeComment','fire','focus','cancel','submit','Write\x20a\x20comment...'];(function(_0x5387d3,_0x24f257){const _0x4dc062=function(_0x335a25){while(--_0x335a25){_0x5387d3['push'](_0x5387d3['shift']());}};_0x4dc062(++_0x24f257);}(_0x24f2,0x79));const _0x4dc0=function(_0x5387d3,_0x24f257){_0x5387d3=_0x5387d3-0x0;let _0x4dc062=_0x24f2[_0x5387d3];return _0x4dc062;};import{View as _0x55e1be}from'ckeditor5/src/ui';import _0x3c0ec1 from'./commentthreadinputview';import _0xfd4ce7 from'./commentslistview';import _0x1f85ef from'./commentthreadheaderview';import{getTranslation as _0xf6d09c}from'../../../utils/common-translations';export default class Tt extends _0x55e1be{constructor(_0x3e4431,_0x5bec76,_0x3fe6c2,_0x2c43bc){super(_0x3e4431),this[_0x4dc0('0x29')](_0x4dc0('0x23'),!0x1),this[_0x4dc0('0x29')]('isDirty',!0x1),this[_0x4dc0('0x28')]=_0x5bec76,this[_0x4dc0('0xe')]=_0x3fe6c2,this['_config']=_0x2c43bc,this[_0x4dc0('0x1c')]=new _0x1f85ef(_0x3e4431,_0x5bec76),this['commentThreadHeaderView'][_0x4dc0('0x14')](_0x4dc0('0x13'))['to'](this),this[_0x4dc0('0x26')]=new _0xfd4ce7(_0x3e4431,_0x5bec76,Object[_0x4dc0('0xc')]({'CommentView':this[_0x4dc0('0x11')]['CommentView']},_0x2c43bc)),this[_0x4dc0('0x26')][_0x4dc0('0x14')]('removeComment')['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')]('updateComment')['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0x12'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0x1b'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x14')](_0x4dc0('0xf'))['to'](this),this[_0x4dc0('0x26')][_0x4dc0('0x17')](_0x4dc0('0x23'))['to'](this),this[_0x4dc0('0x29')](_0x4dc0('0x1f'),this[_0x4dc0('0x26')][_0x4dc0('0x1f')]),this[_0x4dc0('0x17')]('length')['to'](this[_0x4dc0('0x26')],_0x4dc0('0x1f')),this[_0x4dc0('0x22')]=this['_createCommentThreadInputView'](),this['commentThreadInputView'][_0x4dc0('0x14')](_0x4dc0('0x1b'))['to'](this),this['commentThreadInputView'][_0x4dc0('0x14')](_0x4dc0('0xf'))['to'](this),this['on'](_0x4dc0('0x2'),()=>this['focus']()),this[_0x4dc0('0x17')](_0x4dc0('0x24'))['to'](this[_0x4dc0('0x26')],_0x4dc0('0x0'),this[_0x4dc0('0x22')][_0x4dc0('0x27')],'value',(_0x3aa562,_0x4a16b8)=>_0x3aa562||!!_0x4a16b8);}[_0x4dc0('0x4')](){this[_0x4dc0('0x18')][_0x4dc0('0x4')]();}async[_0x4dc0('0x1')](){this[_0x4dc0('0x24')]=!0x1,this[_0x4dc0('0x26')]['destroy'](),await this[_0x4dc0('0x22')][_0x4dc0('0x1')](),super[_0x4dc0('0x1')]();}[_0x4dc0('0x1e')](){const _0x88874e=new _0x3c0ec1(this[_0x4dc0('0xa')],this[_0x4dc0('0xe')],this[_0x4dc0('0x11')][_0x4dc0('0x25')]),_0x4ffd63=_0x88874e[_0x4dc0('0x27')];return _0x88874e[_0x4dc0('0x17')]('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this[_0x4dc0('0x28')],_0x4dc0('0x10'),this['_model'],_0x4dc0('0x9'),_0x4ffd63,_0x4dc0('0x1d'),(_0x3e2d09,_0x2f51b0,_0xf49815,_0x24238f,_0x2504e7)=>!!_0x2504e7||_0x24238f&&_0xf49815&&!_0x2f51b0||_0x3e2d09&&_0xf49815&&!_0x2f51b0),_0x4ffd63[_0x4dc0('0x17')](_0x4dc0('0xb'))['to'](this,'length',this[_0x4dc0('0x28')],_0x4dc0('0x21'),this[_0x4dc0('0x28')],_0x4dc0('0x9'),(_0x433b60,_0x254297,_0x30ddf2)=>{let _0x3ff351;return _0x3ff351=_0x30ddf2&&_0x254297?_0x4dc0('0x1a'):_0x433b60?_0x4dc0('0xd'):_0x4dc0('0x7'),_0xf6d09c(this[_0x4dc0('0xa')],_0x3ff351);}),_0x4ffd63[_0x4dc0('0x17')](_0x4dc0('0x2a'))['to'](this,_0x4dc0('0x1f'),_0xa7bd99=>_0xf6d09c(this[_0x4dc0('0xa')],_0xa7bd99?'Reply':'Comment')),_0x4ffd63['on'](_0x4dc0('0x6'),(_0x2b3ce7,_0x433dea)=>{this[_0x4dc0('0x3')](_0x4dc0('0x20'),_0x433dea),this['_model'][_0x4dc0('0x9')]&&this[_0x4dc0('0x28')][_0x4dc0('0x21')]&&this[_0x4dc0('0x3')](_0x4dc0('0x13'),this[_0x4dc0('0x28')]['id']),this[_0x4dc0('0x28')][_0x4dc0('0x16')]||this['fire'](_0x4dc0('0x19'));}),_0x4ffd63['on']('cancel',()=>{this[_0x4dc0('0x4')]();}),_0x4ffd63[_0x4dc0('0x17')]('disabledSubmit')['to'](this[_0x4dc0('0x28')],'isReadOnly'),_0x4ffd63['on'](_0x4dc0('0x5'),_0x3986fa=>{0x0==this['length']&&(this[_0x4dc0('0x3')](_0x4dc0('0x8')),_0x3986fa[_0x4dc0('0x15')]());}),this['on']('change:isActive',(_0x3020bf,_0x5a37ec,_0x4c697b)=>{_0x4c697b||this[_0x4dc0('0x1f')]||_0x4ffd63[_0x4dc0('0x1d')]||this[_0x4dc0('0x3')]('removeCommentThread');}),_0x88874e;}}
23
+ const _0x5908=['hasDirtyComment','change:isActive','commentThreadHeaderView','updateComment','reopenCommentThread','submit','commentThreadInputView','removeComment','destroy','addComment','removeCommentThread','editorReady','delegate','length','stop','Reply','cancel','submitLabel','showInput','focus','unlinkedAt','commentsListView','value','isReadOnly','placeholder','isActive','isResolved','Reply\x20to\x20reopen\x20discussion...','_createCommentThreadInputView','isUnlinked','isDirty','_model','fire','listenTo','archivedAt','editorConfig','Comment','bind','_config','isSubmitted','set','isResolvable','resolveCommentThread','commentInputView','assign','_localUser','locale','Write\x20a\x20comment...'];(function(_0x5d6db3,_0x5908a2){const _0x130bce=function(_0x22ab0a){while(--_0x22ab0a){_0x5d6db3['push'](_0x5d6db3['shift']());}};_0x130bce(++_0x5908a2);}(_0x5908,0x1ec));const _0x130b=function(_0x5d6db3,_0x5908a2){_0x5d6db3=_0x5d6db3-0x0;let _0x130bce=_0x5908[_0x5d6db3];return _0x130bce;};import{View as _0x393511}from'ckeditor5/src/ui';import _0x4633a4 from'./commentthreadinputview';import _0x22548e from'./commentslistview';import _0x42683c from'./commentthreadheaderview';import{getTranslation as _0xea8397}from'../../../utils/common-translations';export default class Ut extends _0x393511{constructor(_0x2f3b1b,_0x429b42,_0x2e5827,_0x15d588){super(_0x2f3b1b),this['set'](_0x130b('0xd'),!0x1),this[_0x130b('0x1c')](_0x130b('0x12'),!0x1),this[_0x130b('0x13')]=_0x429b42,this['_localUser']=_0x2e5827,this[_0x130b('0x1a')]=_0x15d588,this[_0x130b('0x26')]=new _0x42683c(_0x2f3b1b,_0x429b42),this['commentThreadHeaderView'][_0x130b('0x0')](_0x130b('0x28'))['to'](this),this[_0x130b('0x15')](this,_0x130b('0x28'),()=>{this['focus']();}),this[_0x130b('0x9')]=new _0x22548e(_0x2f3b1b,_0x429b42,Object[_0x130b('0x20')]({'CommentView':this[_0x130b('0x1a')]['CommentView']},_0x15d588)),this[_0x130b('0x9')][_0x130b('0x0')](_0x130b('0x2b'))['to'](this),this['commentsListView'][_0x130b('0x0')](_0x130b('0x27'))['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this[_0x130b('0x9')][_0x130b('0x0')]('editorReady')['to'](this),this[_0x130b('0x9')]['delegate']('editorDestroyed')['to'](this),this[_0x130b('0x9')]['bind'](_0x130b('0xd'))['to'](this),this[_0x130b('0x15')](this,_0x130b('0x1e'),()=>{this[_0x130b('0x7')]();}),this[_0x130b('0x1c')](_0x130b('0x1'),this[_0x130b('0x9')][_0x130b('0x1')]),this[_0x130b('0x19')](_0x130b('0x1'))['to'](this[_0x130b('0x9')],_0x130b('0x1')),this[_0x130b('0x2a')]=this[_0x130b('0x10')](),this[_0x130b('0x2a')][_0x130b('0x0')](_0x130b('0x2f'))['to'](this),this[_0x130b('0x2a')]['delegate']('editorDestroyed')['to'](this),this['on'](_0x130b('0x2b'),()=>this[_0x130b('0x7')]()),this[_0x130b('0x19')](_0x130b('0x12'))['to'](this[_0x130b('0x9')],_0x130b('0x24'),this[_0x130b('0x2a')][_0x130b('0x1f')],_0x130b('0xa'),(_0x508bea,_0x22b7d5)=>_0x508bea||!!_0x22b7d5),this[_0x130b('0x19')](_0x130b('0x11'))['to'](_0x429b42,_0x130b('0x8'),_0x3363af=>!!_0x3363af);}['focus'](){this['element'][_0x130b('0x7')]();}async[_0x130b('0x2c')](){this['isDirty']=!0x1,this[_0x130b('0x9')][_0x130b('0x2c')](),await this['commentThreadInputView'][_0x130b('0x2c')](),super['destroy']();}[_0x130b('0x10')](){const _0x5b5a7d=new _0x4633a4(this[_0x130b('0x22')],this[_0x130b('0x21')],this[_0x130b('0x1a')][_0x130b('0x17')]),_0x320a6c=_0x5b5a7d[_0x130b('0x1f')];return _0x5b5a7d[_0x130b('0x19')](_0x130b('0x6'))['to'](this,'isActive',this['_model'],_0x130b('0xb'),this[_0x130b('0x13')],'canComment',this[_0x130b('0x13')],_0x130b('0x16'),_0x320a6c,_0x130b('0xa'),(_0x324a56,_0x346b50,_0x3313b7,_0x106bd0,_0x85ab29)=>!!_0x85ab29||!!_0x106bd0&&_0x3313b7&&!_0x346b50||_0x324a56&&_0x3313b7&&!_0x346b50),_0x320a6c['bind'](_0x130b('0xc'))['to'](this,_0x130b('0x1'),this[_0x130b('0x13')],_0x130b('0x1d'),this['_model'],_0x130b('0xe'),(_0x420c32,_0x5e090c,_0x1bea9a)=>{let _0x13f046;return _0x13f046=_0x1bea9a&&_0x5e090c?_0x130b('0xf'):_0x420c32?'Reply...':_0x130b('0x23'),_0xea8397(this['locale'],_0x13f046);}),_0x320a6c[_0x130b('0x19')](_0x130b('0x5'))['to'](this,'length',_0xca3597=>_0xea8397(this[_0x130b('0x22')],_0xca3597?_0x130b('0x3'):_0x130b('0x18'))),_0x320a6c['on'](_0x130b('0x29'),(_0x16ea61,_0x35ebb3)=>{this[_0x130b('0x14')](_0x130b('0x2d'),_0x35ebb3),this[_0x130b('0x13')][_0x130b('0xe')]&&this['_model'][_0x130b('0x1d')]&&this[_0x130b('0x14')](_0x130b('0x28'),this[_0x130b('0x13')]['id']),this[_0x130b('0x13')][_0x130b('0x1b')]||this[_0x130b('0x14')]('submitCommentThread');}),_0x320a6c['on'](_0x130b('0x4'),()=>{this['focus']();}),_0x320a6c['bind']('disabledSubmit')['to'](this[_0x130b('0x13')],_0x130b('0xb')),_0x320a6c['on'](_0x130b('0x4'),_0x346273=>{0x0==this[_0x130b('0x1')]&&(this[_0x130b('0x14')]('removeCommentThread'),_0x346273[_0x130b('0x2')]());}),this['on'](_0x130b('0x25'),(_0x483ba5,_0x1f4e83,_0x3b4526)=>{_0x3b4526||this['length']||_0x320a6c[_0x130b('0xa')]||this[_0x130b('0x14')](_0x130b('0x2e'));}),_0x5b5a7d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c54=['add','submitLabel','element','Save','visibleView','value','fire','submit','expand','_createCommentInputView','bind','switchToDisplayMode','_config','isReadOnly','isCollapsed','editorConfig','switchToEditMode','get','delegate','createEditor','editorDestroyed','locale','isEditMode','set','remove','content','_createCommentContentView','focus','initialData','editorReady','_model','isSystemComment','destroy','updateComment','disabledSubmit'];(function(_0x43a87e,_0x4c5469){const _0x96eaa0=function(_0x4243d7){while(--_0x4243d7){_0x43a87e['push'](_0x43a87e['shift']());}};_0x96eaa0(++_0x4c5469);}(_0x4c54,0x180));const _0x96ea=function(_0x43a87e,_0x4c5469){_0x43a87e=_0x43a87e-0x0;let _0x96eaa0=_0x4c54[_0x43a87e];return _0x96eaa0;};import{View as _0x2c2071}from'ckeditor5/src/ui';import{trimHtml as _0x592007}from'ckeditor5-collaboration/src/collaboration-core';import _0x526c41 from'./commentcontentview';import _0x3dad19 from'./commentinputview';import{getTranslation as _0x48d5b3}from'../../../utils/common-translations';export default class Yt extends _0x2c2071{constructor(_0x3dc7ca,_0x148a2a,_0x32989f){super(_0x3dc7ca),this[_0x96ea('0x1f')]=_0x148a2a,this[_0x96ea('0xd')]=_0x32989f,this[_0x96ea('0x20')]=!!this[_0x96ea('0xd')][_0x96ea('0x20')],this[_0x96ea('0x18')](_0x96ea('0x17'),!0x1),this[_0x96ea('0x18')](_0x96ea('0xf'),!0x0),this[_0x96ea('0x5')]=this['createCollection'](),this[_0x96ea('0x5')][_0x96ea('0x1')](this[_0x96ea('0x1b')]());}[_0x96ea('0x9')](){this[_0x96ea('0xf')]=!0x1;}['collapse'](){this[_0x96ea('0x17')]||(this['isCollapsed']=!0x0);}[_0x96ea('0x1c')](){this[_0x96ea('0x3')]['focus']();}async[_0x96ea('0x21')](){await this[_0x96ea('0x5')][_0x96ea('0x12')](0x0)[_0x96ea('0x21')](),super[_0x96ea('0x21')]();}[_0x96ea('0x11')](){this[_0x96ea('0x17')]||(this['isEditMode']=!0x0,this['visibleView'][_0x96ea('0x19')](0x0)['destroy'](),this[_0x96ea('0x5')]['add'](this[_0x96ea('0xa')]()));}['switchToDisplayMode'](){this[_0x96ea('0x17')]&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this[_0x96ea('0x5')]['add'](this[_0x96ea('0x1b')]()));}[_0x96ea('0x1b')](){const _0x1216a9=new _0x526c41(this[_0x96ea('0x16')]);return _0x1216a9[_0x96ea('0xb')](_0x96ea('0x1a'))['to'](this[_0x96ea('0x1f')],_0x96ea('0x1a'),this,'isCollapsed',(_0x4219ef,_0x20c976)=>_0x20c976?_0x592007(_0x4219ef,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x4219ef),_0x1216a9;}['_createCommentInputView'](){this[_0x96ea('0xd')]['editorConfig']||(this['_config'][_0x96ea('0x10')]={}),this[_0x96ea('0xd')][_0x96ea('0x10')][_0x96ea('0x1d')]=this['_model'][_0x96ea('0x1a')];const _0x54ca0c=new _0x3dad19(this[_0x96ea('0x16')],this[_0x96ea('0xd')][_0x96ea('0x10')]);return _0x54ca0c[_0x96ea('0x6')]=this[_0x96ea('0x1f')][_0x96ea('0x1a')],_0x54ca0c[_0x96ea('0xb')](_0x96ea('0x0'))['to'](this[_0x96ea('0x1f')],_0x96ea('0xe')),_0x54ca0c[_0x96ea('0x2')]=_0x48d5b3(this[_0x96ea('0x16')],_0x96ea('0x4')),_0x54ca0c['on'](_0x96ea('0x8'),(_0x390a7c,_0x43ffbe)=>{this[_0x96ea('0x7')](_0x96ea('0x22'),this['_model']['id'],_0x43ffbe),this[_0x96ea('0xc')](),this[_0x96ea('0x1c')]();}),_0x54ca0c['on']('cancel',()=>{this[_0x96ea('0xc')](),this['focus']();}),_0x54ca0c['once'](_0x96ea('0x1e'),()=>{_0x54ca0c[_0x96ea('0x1c')]();}),_0x54ca0c[_0x96ea('0x14')](),_0x54ca0c[_0x96ea('0x13')](_0x96ea('0x1e'))['to'](this),_0x54ca0c[_0x96ea('0x13')](_0x96ea('0x15'))['to'](this),_0x54ca0c;}}
23
+ const _0x5697=['collapse','isSystemComment','add','submitLabel','focus','_createCommentInputView','createEditor','visibleView','once','editorReady','value','content','set','remove','_model','maxCommentCharsWhenCollapsed','disabledSubmit','editorConfig','switchToDisplayMode','editorDestroyed','_config','submit','isEditMode','destroy','updateComment','cancel','switchToEditMode','Save','locale','isCollapsed','bind','delegate','initialData','_createCommentContentView'];(function(_0x2d785e,_0x5697db){const _0x5da951=function(_0x278953){while(--_0x278953){_0x2d785e['push'](_0x2d785e['shift']());}};_0x5da951(++_0x5697db);}(_0x5697,0x123));const _0x5da9=function(_0x2d785e,_0x5697db){_0x2d785e=_0x2d785e-0x0;let _0x5da951=_0x5697[_0x2d785e];return _0x5da951;};import{View as _0x153643}from'ckeditor5/src/ui';import{trimHtml as _0x559fdc}from'ckeditor5-collaboration/src/collaboration-core';import _0x90ab25 from'./commentcontentview';import _0x254b0d from'./commentinputview';import{getTranslation as _0x493959}from'../../../utils/common-translations';export default class ti extends _0x153643{constructor(_0x43da63,_0x268b6e,_0x22a43a){super(_0x43da63),this[_0x5da9('0x1d')]=_0x268b6e,this[_0x5da9('0x1')]=_0x22a43a,this[_0x5da9('0x10')]=!!this[_0x5da9('0x1')][_0x5da9('0x10')],this[_0x5da9('0x1b')](_0x5da9('0x3'),!0x1),this['set'](_0x5da9('0xa'),!0x0),this[_0x5da9('0x16')]=this['createCollection'](),this[_0x5da9('0x16')]['add'](this[_0x5da9('0xe')]());}['expand'](){this[_0x5da9('0xa')]=!0x1;}[_0x5da9('0xf')](){this[_0x5da9('0x3')]||(this[_0x5da9('0xa')]=!0x0);}[_0x5da9('0x13')](){this['element'][_0x5da9('0x13')]();}async[_0x5da9('0x4')](){await this[_0x5da9('0x16')]['get'](0x0)[_0x5da9('0x4')](),super[_0x5da9('0x4')]();}[_0x5da9('0x7')](){this[_0x5da9('0x3')]||(this[_0x5da9('0x3')]=!0x0,this['visibleView'][_0x5da9('0x1c')](0x0)[_0x5da9('0x4')](),this['visibleView'][_0x5da9('0x11')](this[_0x5da9('0x14')]()));}['switchToDisplayMode'](){this['isEditMode']&&(this[_0x5da9('0x3')]=!0x1,this[_0x5da9('0x16')][_0x5da9('0x1c')](0x0)[_0x5da9('0x4')](),this['visibleView']['add'](this[_0x5da9('0xe')]()));}[_0x5da9('0xe')](){const _0x326016=new _0x90ab25(this[_0x5da9('0x9')]);return _0x326016['bind'](_0x5da9('0x1a'))['to'](this['_model'],_0x5da9('0x1a'),this,'isCollapsed',(_0x42cc4c,_0x172725)=>_0x172725?_0x559fdc(_0x42cc4c,{'limit':this[_0x5da9('0x1')][_0x5da9('0x1e')]}):_0x42cc4c),_0x326016;}[_0x5da9('0x14')](){this['_config'][_0x5da9('0x20')]||(this[_0x5da9('0x1')][_0x5da9('0x20')]={}),this[_0x5da9('0x1')]['editorConfig'][_0x5da9('0xd')]=this[_0x5da9('0x1d')][_0x5da9('0x1a')];const _0x2606df=new _0x254b0d(this['locale'],this['_config'][_0x5da9('0x20')]);return _0x2606df[_0x5da9('0x19')]=this[_0x5da9('0x1d')][_0x5da9('0x1a')],_0x2606df[_0x5da9('0xb')](_0x5da9('0x1f'))['to'](this[_0x5da9('0x1d')],'isReadOnly'),_0x2606df[_0x5da9('0x12')]=_0x493959(this['locale'],_0x5da9('0x8')),_0x2606df['on'](_0x5da9('0x2'),(_0x4bae93,_0x20cf6d)=>{this['fire'](_0x5da9('0x5'),this[_0x5da9('0x1d')]['id'],_0x20cf6d),this[_0x5da9('0x21')](),this[_0x5da9('0x13')]();}),_0x2606df['on'](_0x5da9('0x6'),()=>{this[_0x5da9('0x21')](),this[_0x5da9('0x13')]();}),_0x2606df[_0x5da9('0x17')](_0x5da9('0x18'),()=>{_0x2606df[_0x5da9('0x13')]();}),_0x2606df[_0x5da9('0x15')](),_0x2606df['delegate'](_0x5da9('0x18'))['to'](this),_0x2606df[_0x5da9('0xc')](_0x5da9('0x0'))['to'](this),_0x2606df;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46a2=['bindTemplate','setTemplate','set','ck-thread__comment-count','count','NUMBER_OF_COMMENTS'];(function(_0x1c426d,_0x46a228){const _0xd85036=function(_0x1cbb8a){while(--_0x1cbb8a){_0x1c426d['push'](_0x1c426d['shift']());}};_0xd85036(++_0x46a228);}(_0x46a2,0xda));const _0xd850=function(_0x1c426d,_0x46a228){_0x1c426d=_0x1c426d-0x0;let _0xd85036=_0x46a2[_0x1c426d];return _0xd85036;};import{View as _0x213c7c}from'ckeditor5/src/ui';import{getTranslation as _0x2d8513}from'../../../utils/common-translations';export default class Zt extends _0x213c7c{constructor(_0x506eda){super(_0x506eda);const _0x175c13=this[_0xd850('0x4')];this[_0xd850('0x0')]('count',void 0x0),this[_0xd850('0x5')]({'tag':'li','attributes':{'class':_0xd850('0x1')},'children':[{'text':_0x175c13['to'](_0xd850('0x2'),_0x58b870=>_0x2d8513(_0x506eda,_0xd850('0x3'),_0x58b870))}]});}}
23
+ const _0x29f1=['NUMBER_OF_COMMENTS','setTemplate','bindTemplate','count'];(function(_0x20db72,_0x29f1bf){const _0x5367bd=function(_0x51602a){while(--_0x51602a){_0x20db72['push'](_0x20db72['shift']());}};_0x5367bd(++_0x29f1bf);}(_0x29f1,0xee));const _0x5367=function(_0x20db72,_0x29f1bf){_0x20db72=_0x20db72-0x0;let _0x5367bd=_0x29f1[_0x20db72];return _0x5367bd;};import{View as _0x5237d3}from'ckeditor5/src/ui';import{getTranslation as _0x1d72d8}from'../../../utils/common-translations';export default class to extends _0x5237d3{constructor(_0x476fcc){super(_0x476fcc);const _0x57777f=this[_0x5367('0x0')];this['set'](_0x5367('0x1'),void 0x0),this[_0x5367('0x3')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x57777f['to']('count',_0x414bc8=>_0x1d72d8(_0x476fcc,_0x5367('0x2'),_0x414bc8))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ca3=['ck-comment__content','render','element','innerHTML','ck-annotation__content'];(function(_0x1f7f99,_0x2ca371){var _0x268802=function(_0x5502dc){while(--_0x5502dc){_0x1f7f99['push'](_0x1f7f99['shift']());}};_0x268802(++_0x2ca371);}(_0x2ca3,0xe8));var _0x2688=function(_0x1f7f99,_0x2ca371){_0x1f7f99=_0x1f7f99-0x0;var _0x268802=_0x2ca3[_0x1f7f99];return _0x268802;};import{View as _0x19d196}from'ckeditor5/src/ui';export default class Ut extends _0x19d196{constructor(_0x435a77){super(_0x435a77),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x2688('0x3'),_0x2688('0x2')]}});}[_0x2688('0x4')](){super[_0x2688('0x4')](),this['on']('change:content',(_0x2aa6d3,_0x31986f,_0x437b31)=>{this[_0x2688('0x0')]['innerHTML']=_0x437b31;}),this[_0x2688('0x0')][_0x2688('0x1')]=this['content'];}}
23
+ var _0x20e8=['innerHTML','render','element','setTemplate','content','change:content','ck-annotation__content','div'];(function(_0x15ee8e,_0x20e8c6){var _0x537385=function(_0x795d9a){while(--_0x795d9a){_0x15ee8e['push'](_0x15ee8e['shift']());}};_0x537385(++_0x20e8c6);}(_0x20e8,0xc0));var _0x5373=function(_0x15ee8e,_0x20e8c6){_0x15ee8e=_0x15ee8e-0x0;var _0x537385=_0x20e8[_0x15ee8e];return _0x537385;};import{View as _0x185adf}from'ckeditor5/src/ui';export default class Yt extends _0x185adf{constructor(_0x364664){super(_0x364664),this['set'](_0x5373('0x4'),''),this[_0x5373('0x3')]({'tag':_0x5373('0x7'),'attributes':{'class':['ck-comment__content',_0x5373('0x6')]}});}['render'](){super[_0x5373('0x1')](),this['on'](_0x5373('0x5'),(_0x4218c7,_0x288f40,_0x498260)=>{this[_0x5373('0x2')][_0x5373('0x0')]=_0x498260;}),this[_0x5373('0x2')][_0x5373('0x0')]=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16d5=['add','editorReady','then','destroy','submitButtonView','ck-comment__input-actions--cancel','change','Reply','editorDestroyed','length','showButtons','trim','Esc','Reply...','shift\x20+\x20tab','element','Cancel','forEach','fire','create','bind','ck-comment__input-wrapper','setTemplate','focusTracker','high','withText','initialData','_isDestroyed','listenTo','firstChild','_editorCreationPromise','submit','ck-comment__input-actions','set','cancelButtonView','value','keystrokes','ck-comment__input-actions--submit','isEnabled','submitLabel','createEditor','focusNext','tab','low','_initializeFocusCycling','disabledSubmit','focusPrevious','stop','_editorConfig','execute','cancel','_createCancelButton','document','_createSubmitButton','label','editor','insertBefore','render','ck-comment__input-actions--active','extendTemplate','setData'];(function(_0x17450e,_0x16d5f2){const _0x3729f8=function(_0x3c5616){while(--_0x3c5616){_0x17450e['push'](_0x17450e['shift']());}};_0x3729f8(++_0x16d5f2);}(_0x16d5,0xc5));const _0x3729=function(_0x17450e,_0x16d5f2){_0x17450e=_0x17450e-0x0;let _0x3729f8=_0x16d5[_0x17450e];return _0x3729f8;};import{View as _0x101260,ViewCollection as _0x3bd563,FocusCycler as _0x5cc682,ButtonView as _0x34095e}from'ckeditor5/src/ui';import{FocusTracker as _0x545a50,KeystrokeHandler as _0x3619cd}from'ckeditor5/src/utils';import _0x16d625 from'../commenteditor/commenteditor';import{getTranslation as _0x57f6e6}from'../../../utils/common-translations';export default class Xt extends _0x101260{constructor(_0x44d82a,_0x4de9a3={}){super(_0x44d82a),this[_0x3729('0x29')]=null,this[_0x3729('0x22')]=_0x4de9a3,this[_0x3729('0x16')]=new _0x3619cd(),this[_0x3729('0x9')]=new _0x545a50(),this[_0x3729('0x13')]('value',_0x4de9a3[_0x3729('0xc')]||''),this[_0x3729('0x13')]('disabledSubmit',!0x1),this['set'](_0x3729('0x39'),!0x0),this[_0x3729('0x13')]('placeholder',_0x57f6e6(_0x44d82a,_0x3729('0x3c'))),this[_0x3729('0x13')](_0x3729('0x19'),_0x57f6e6(_0x44d82a,_0x3729('0x36'))),this[_0x3729('0x33')]=this[_0x3729('0x27')](),this[_0x3729('0x14')]=this[_0x3729('0x25')](),this[_0x3729('0x8')]({'tag':'div','attributes':{'class':[_0x3729('0x7')]},'children':[{'tag':'div','attributes':{'class':[_0x3729('0x12'),this['bindTemplate']['if']('showButtons',_0x3729('0x2c'))]},'children':[this[_0x3729('0x33')],this[_0x3729('0x14')]]}]}),this[_0x3729('0x16')]['set'](_0x3729('0x3b'),(_0x496bb9,_0xebb749)=>{this['cancelButtonView'][_0x3729('0x4')](_0x3729('0x23')),_0xebb749();}),this['on'](_0x3729('0x11'),(_0x124a81,_0x1d3047)=>{_0x1d3047['length']>0xfde8?(alert(_0x57f6e6(_0x44d82a,'TOO_LONG_COMMENT_ALERT',[_0x1d3047[_0x3729('0x38')],0xfde8])),_0x124a81[_0x3729('0x21')]()):this[_0x3729('0x29')][_0x3729('0x2e')]('');},{'priority':_0x3729('0xa')});}[_0x3729('0x2b')](){super[_0x3729('0x2b')](),this['keystrokes'][_0x3729('0xe')](this[_0x3729('0x1')]),this['focusTracker'][_0x3729('0x2f')](this[_0x3729('0x1')]);}[_0x3729('0x1a')](){return this[_0x3729('0x29')]||(this[_0x3729('0x29')]=new _0x16d625(this[_0x3729('0x22')]),this[_0x3729('0x10')]=this[_0x3729('0x29')][_0x3729('0x5')]()[_0x3729('0x31')](()=>{if(this[_0x3729('0xd')])return;const _0x412113=this[_0x3729('0x29')];this[_0x3729('0x1')][_0x3729('0x2a')](_0x412113['ui'][_0x3729('0x1')],this[_0x3729('0x1')][_0x3729('0xf')]),_0x412113['model'][_0x3729('0x26')]['on'](_0x3729('0x35'),()=>this[_0x3729('0x15')]=_0x412113['getData']()),_0x412113['bind']('placeholder')['to'](this),this[_0x3729('0x1e')](this[_0x3729('0x29')]),this[_0x3729('0x4')](_0x3729('0x30'),this[_0x3729('0x29')]);})),this[_0x3729('0x10')];}['focus'](){this[_0x3729('0x29')]&&this[_0x3729('0x29')]['focus']();}async[_0x3729('0x32')](){this[_0x3729('0xd')]||(this[_0x3729('0xd')]=!0x0,this['editor']&&(await this[_0x3729('0x10')],await this[_0x3729('0x29')][_0x3729('0x32')](),this[_0x3729('0x4')](_0x3729('0x37'),this[_0x3729('0x29')])),await super[_0x3729('0x32')]());}[_0x3729('0x27')](){const {locale:_0x2cfb95}=this,_0x2396a=new _0x34095e(_0x2cfb95);return _0x2396a[_0x3729('0x2d')]({'attributes':{'class':[_0x3729('0x17')]}}),_0x2396a[_0x3729('0xb')]=!0x0,_0x2396a[_0x3729('0x6')](_0x3729('0x28'))['to'](this,_0x3729('0x19')),_0x2396a['on'](_0x3729('0x23'),()=>{this[_0x3729('0x4')]('submit',this[_0x3729('0x15')]);}),_0x2396a[_0x3729('0x6')](_0x3729('0x18'))['to'](this,'value',this,_0x3729('0x1f'),(_0xbfb9d3,_0x1e1605)=>!_0x1e1605&&!!_0xbfb9d3[_0x3729('0x3a')]()),_0x2396a;}[_0x3729('0x25')](){const {locale:_0xaab655}=this,_0x27f143=new _0x34095e(_0xaab655);return _0x27f143[_0x3729('0x2d')]({'attributes':{'class':[_0x3729('0x34')]}}),_0x27f143[_0x3729('0x28')]=_0x57f6e6(_0xaab655,_0x3729('0x2')),_0x27f143[_0x3729('0xb')]=!0x0,_0x27f143['on'](_0x3729('0x23'),()=>{this[_0x3729('0x29')]['setData'](''),this[_0x3729('0x4')](_0x3729('0x24'));}),_0x27f143;}[_0x3729('0x1e')](_0x29965a){const _0x183da9=this['focusTracker'],_0x48b742=new _0x3bd563();[_0x29965a['ui']['view'],this[_0x3729('0x33')],this[_0x3729('0x14')]][_0x3729('0x3')](_0x38cb11=>{_0x48b742[_0x3729('0x2f')](_0x38cb11),_0x183da9[_0x3729('0x2f')](_0x38cb11[_0x3729('0x1')]);});const _0xd0b3b6=new _0x5cc682({'focusables':_0x48b742,'focusTracker':_0x183da9});this[_0x3729('0x16')][_0x3729('0x13')](_0x3729('0x1c'),(_0x8990d5,_0x28e97f)=>{_0xd0b3b6[_0x3729('0x1b')](),_0x28e97f();},{'priority':_0x3729('0x1d')}),this[_0x3729('0x16')]['set'](_0x3729('0x0'),(_0x5f283c,_0x280526)=>{_0xd0b3b6[_0x3729('0x20')](),_0x280526();},{'priority':'low'});}}
23
+ const _0x3e6a=['set','initialData','_isDestroyed','low','Esc','trim','Reply...','bind','editor','createEditor','Reply','model','_editorCreationPromise','extendTemplate','keystrokes','focusPrevious','listenTo','focus','add','ck-comment__input-wrapper','execute','_createCancelButton','shift\x20+\x20tab','_initializeFocusCycling','stop','length','disabledSubmit','forEach','cancel','_createSubmitButton','firstChild','showButtons','submitLabel','focusNext','withText','ck-comment__input-actions','TOO_LONG_COMMENT_ALERT','focusTracker','change','editorDestroyed','placeholder','isEnabled','destroy','setData','value','setTemplate','submitButtonView','label','getData','ck-comment__input-actions--submit','cancelButtonView','render','fire','then','submit','element'];(function(_0x3aba03,_0x3e6a77){const _0x3a84be=function(_0x17a045){while(--_0x17a045){_0x3aba03['push'](_0x3aba03['shift']());}};_0x3a84be(++_0x3e6a77);}(_0x3e6a,0x15a));const _0x3a84=function(_0x3aba03,_0x3e6a77){_0x3aba03=_0x3aba03-0x0;let _0x3a84be=_0x3e6a[_0x3aba03];return _0x3a84be;};import{View as _0x5e1a07,ViewCollection as _0x23e2f6,FocusCycler as _0x4afff8,ButtonView as _0x2adee4}from'ckeditor5/src/ui';import{FocusTracker as _0x415261,KeystrokeHandler as _0x1be8c0}from'ckeditor5/src/utils';import _0x4ab4c5 from'../commenteditor/commenteditor';import{getTranslation as _0x4a3b4d}from'../../../utils/common-translations';export default class Zt extends _0x5e1a07{constructor(_0x5bc356,_0x3503ec={}){super(_0x5bc356),this['editor']=null,this['_editorConfig']=_0x3503ec,this[_0x3a84('0x4')]=new _0x1be8c0(),this['focusTracker']=new _0x415261(),this['set'](_0x3a84('0x22'),_0x3503ec[_0x3a84('0x2f')]||''),this['set']('disabledSubmit',!0x1),this['set'](_0x3a84('0x15'),!0x0),this['set'](_0x3a84('0x1e'),_0x4a3b4d(_0x5bc356,_0x3a84('0x34'))),this[_0x3a84('0x2e')](_0x3a84('0x16'),_0x4a3b4d(_0x5bc356,_0x3a84('0x0'))),this[_0x3a84('0x24')]=this[_0x3a84('0x13')](),this[_0x3a84('0x28')]=this[_0x3a84('0xb')](),this[_0x3a84('0x23')]({'tag':'div','attributes':{'class':[_0x3a84('0x9')]},'children':[{'tag':'div','attributes':{'class':[_0x3a84('0x19'),this['bindTemplate']['if'](_0x3a84('0x15'),'ck-comment__input-actions--active')]},'children':[this[_0x3a84('0x24')],this[_0x3a84('0x28')]]}]}),this[_0x3a84('0x4')]['set'](_0x3a84('0x32'),(_0x40180b,_0x5550af)=>{this['cancelButtonView'][_0x3a84('0x2a')](_0x3a84('0xa')),_0x5550af();}),this['on'](_0x3a84('0x2c'),(_0x52d730,_0x451c3f)=>{_0x451c3f['length']>0xfde8?(alert(_0x4a3b4d(_0x5bc356,_0x3a84('0x1a'),[_0x451c3f[_0x3a84('0xf')],0xfde8])),_0x52d730[_0x3a84('0xe')]()):this[_0x3a84('0x36')][_0x3a84('0x21')]('');},{'priority':'high'});}[_0x3a84('0x29')](){super['render'](),this[_0x3a84('0x4')][_0x3a84('0x6')](this[_0x3a84('0x2d')]),this[_0x3a84('0x1b')][_0x3a84('0x8')](this['element']);}[_0x3a84('0x37')](){return this[_0x3a84('0x36')]||(this[_0x3a84('0x36')]=new _0x4ab4c5(this['_editorConfig']),this[_0x3a84('0x2')]=this[_0x3a84('0x36')]['create']()[_0x3a84('0x2b')](()=>{if(this[_0x3a84('0x30')])return;const _0x1811e7=this['editor'];this[_0x3a84('0x2d')]['insertBefore'](_0x1811e7['ui'][_0x3a84('0x2d')],this[_0x3a84('0x2d')][_0x3a84('0x14')]),_0x1811e7[_0x3a84('0x1')]['document']['on'](_0x3a84('0x1c'),()=>this['value']=_0x1811e7[_0x3a84('0x26')]()),_0x1811e7[_0x3a84('0x35')](_0x3a84('0x1e'))['to'](this),this[_0x3a84('0xd')](this['editor']),this['fire']('editorReady',this['editor']);})),this[_0x3a84('0x2')];}[_0x3a84('0x7')](){this[_0x3a84('0x36')]&&this[_0x3a84('0x36')][_0x3a84('0x7')]();}async['destroy'](){this[_0x3a84('0x30')]||(this['_isDestroyed']=!0x0,this[_0x3a84('0x36')]&&(await this['_editorCreationPromise'],await this[_0x3a84('0x36')][_0x3a84('0x20')](),this[_0x3a84('0x2a')](_0x3a84('0x1d'),this['editor'])),await super['destroy']());}[_0x3a84('0x13')](){const {locale:_0xa5b67e}=this,_0x45ed44=new _0x2adee4(_0xa5b67e);return _0x45ed44['extendTemplate']({'attributes':{'class':[_0x3a84('0x27')]}}),_0x45ed44['withText']=!0x0,_0x45ed44[_0x3a84('0x35')](_0x3a84('0x25'))['to'](this,_0x3a84('0x16')),_0x45ed44['on'](_0x3a84('0xa'),()=>{this['fire'](_0x3a84('0x2c'),this['value']);}),_0x45ed44[_0x3a84('0x35')](_0x3a84('0x1f'))['to'](this,'value',this,_0x3a84('0x10'),(_0x3d2a5a,_0x4665f2)=>!_0x4665f2&&!!_0x3d2a5a[_0x3a84('0x33')]()),_0x45ed44;}[_0x3a84('0xb')](){const {locale:_0x5f015b}=this,_0x298c46=new _0x2adee4(_0x5f015b);return _0x298c46[_0x3a84('0x3')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x298c46['label']=_0x4a3b4d(_0x5f015b,'Cancel'),_0x298c46[_0x3a84('0x18')]=!0x0,_0x298c46['on'](_0x3a84('0xa'),()=>{this['editor'][_0x3a84('0x21')](''),this[_0x3a84('0x2a')](_0x3a84('0x12'));}),_0x298c46;}[_0x3a84('0xd')](_0x3516fe){const _0x2343aa=this[_0x3a84('0x1b')],_0x472ea3=new _0x23e2f6();[_0x3516fe['ui']['view'],this[_0x3a84('0x24')],this['cancelButtonView']][_0x3a84('0x11')](_0x386854=>{_0x472ea3[_0x3a84('0x8')](_0x386854),_0x2343aa[_0x3a84('0x8')](_0x386854[_0x3a84('0x2d')]);});const _0x5103bb=new _0x4afff8({'focusables':_0x472ea3,'focusTracker':_0x2343aa});this[_0x3a84('0x4')][_0x3a84('0x2e')]('tab',(_0xcbca9a,_0x1fac43)=>{_0x5103bb[_0x3a84('0x17')](),_0x1fac43();},{'priority':_0x3a84('0x31')}),this[_0x3a84('0x4')][_0x3a84('0x2e')](_0x3a84('0xc'),(_0x28a3eb,_0x2f8444)=>{_0x5103bb[_0x3a84('0x5')](),_0x2f8444();},{'priority':_0x3a84('0x31')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c52=['_focusables','isActive','bindTemplate','length','listenTo','isEmpty','ck-comments-archive__content','focus','remove','ck-hidden','EMPTY_COMMENTS_ARCHIVE','COMMENTS_ARCHIVE','add','ck-comments-archive','tab','div','auto','element','_keystrokes','arrowup','destroy','set','render','arrowright','selectstart','ck-comments-archive__header\x20','_focusTracker','arrowleft','stopPropagation','_focusCycler'];(function(_0x113b61,_0x2c5201){const _0x50dd66=function(_0x267c49){while(--_0x267c49){_0x113b61['push'](_0x113b61['shift']());}};_0x50dd66(++_0x2c5201);}(_0x2c52,0xac));const _0x50dd=function(_0x113b61,_0x2c5201){_0x113b61=_0x113b61-0x0;let _0x50dd66=_0x2c52[_0x113b61];return _0x50dd66;};import{View as _0x1212a9,FocusCycler as _0x1769f2}from'ckeditor5/src/ui';import{FocusTracker as _0x1edff7,KeystrokeHandler as _0x2a40e9}from'ckeditor5/src/utils';import{getTranslation as _0x182e79}from'../../../utils/common-translations';export default class K extends _0x1212a9{constructor(_0x56c3a6,_0x30ff7d){super(_0x56c3a6),this['set'](_0x50dd('0xd'),!_0x30ff7d['length']),this['_focusTracker']=new _0x1edff7(),this['_keystrokes']=new _0x2a40e9(),this[_0x50dd('0x8')]=_0x30ff7d,this[_0x50dd('0x7')]=new _0x1769f2({'focusables':this[_0x50dd('0x8')],'focusTracker':this[_0x50dd('0x4')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x50dd('0x16')}}),this['listenTo'](_0x30ff7d,_0x50dd('0x14'),()=>{this['isEmpty']=!0x1;}),this[_0x50dd('0xc')](_0x30ff7d,_0x50dd('0x10'),(_0x3c306c,_0x347e77)=>{_0x347e77[_0x50dd('0x9')]&&this[_0x50dd('0xf')](),_0x30ff7d[_0x50dd('0xb')]||(this[_0x50dd('0xd')]=!0x0);});const _0x2aab5b=this[_0x50dd('0xa')];this['setTemplate']({'tag':'div','attributes':{'dir':_0x50dd('0x18'),'class':['ck',_0x50dd('0x15')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x50dd('0x3')]},'children':[{'text':_0x182e79(_0x56c3a6,_0x50dd('0x13'))}]},{'tag':_0x50dd('0x17'),'attributes':{'class':[_0x50dd('0xe')]},'children':[{'tag':_0x50dd('0x17'),'children':_0x30ff7d},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x2aab5b['if'](_0x50dd('0xd'),_0x50dd('0x11'),_0x165b0b=>!_0x165b0b)]},'children':[{'text':_0x182e79(_0x56c3a6,_0x50dd('0x12'))}]}]}]});}[_0x50dd('0x0')](){super[_0x50dd('0x0')](),this[_0x50dd('0x1a')][_0x50dd('0xc')](this['element']);const _0x67f659=_0xc5235f=>_0xc5235f[_0x50dd('0x6')]();this[_0x50dd('0x1a')]['set'](_0x50dd('0x1'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')](_0x50dd('0x5'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')](_0x50dd('0x1b'),_0x67f659),this[_0x50dd('0x1a')][_0x50dd('0x1d')]('arrowdown',_0x67f659),this[_0x50dd('0xc')](this['element'],_0x50dd('0x2'),(_0x3e7e3b,_0x23c23d)=>{_0x23c23d['stopPropagation']();},{'priority':'high'});}[_0x50dd('0x1c')](){super[_0x50dd('0x1c')](),this[_0x50dd('0x4')][_0x50dd('0x1c')](),this['_keystrokes'][_0x50dd('0x1c')]();}[_0x50dd('0xf')](){this[_0x50dd('0x19')][_0x50dd('0xf')]();}}
23
+ const _0x1cbc=['_focusTracker','bindTemplate','isActive','shift\x20+\x20tab','ck-comments-archive','_focusables','selectstart','div','high','EMPTY_COMMENTS_ARCHIVE','focus','remove','destroy','set','listenTo','element','ck-comments-archive__header\x20','add','length','COMMENTS_ARCHIVE','ck-comments-archive__content','isEmpty','ck-comments-archive__info','_keystrokes','stopPropagation','render','arrowleft','arrowdown'];(function(_0xbd2ad1,_0x1cbc49){const _0x4e87e0=function(_0x5686dd){while(--_0x5686dd){_0xbd2ad1['push'](_0xbd2ad1['shift']());}};_0x4e87e0(++_0x1cbc49);}(_0x1cbc,0x95));const _0x4e87=function(_0xbd2ad1,_0x1cbc49){_0xbd2ad1=_0xbd2ad1-0x0;let _0x4e87e0=_0x1cbc[_0xbd2ad1];return _0x4e87e0;};import{View as _0x42f557,FocusCycler as _0x4ac392}from'ckeditor5/src/ui';import{FocusTracker as _0x1230e9,KeystrokeHandler as _0x486e04}from'ckeditor5/src/utils';import{getTranslation as _0x185b08}from'../../../utils/common-translations';export default class K extends _0x42f557{constructor(_0x3b58a1,_0x2ce9eb){super(_0x3b58a1),this[_0x4e87('0x4')](_0x4e87('0xc'),!_0x2ce9eb[_0x4e87('0x9')]),this[_0x4e87('0x13')]=new _0x1230e9(),this[_0x4e87('0xe')]=new _0x486e04(),this[_0x4e87('0x18')]=_0x2ce9eb,this['_focusCycler']=new _0x4ac392({'focusables':this[_0x4e87('0x18')],'focusTracker':this[_0x4e87('0x13')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x4e87('0x16'),'focusNext':'tab'}}),this[_0x4e87('0x5')](_0x2ce9eb,_0x4e87('0x8'),()=>{this[_0x4e87('0xc')]=!0x1;}),this['listenTo'](_0x2ce9eb,_0x4e87('0x2'),(_0x3ab8c5,_0x4904c4)=>{_0x4904c4[_0x4e87('0x15')]&&this[_0x4e87('0x1')](),_0x2ce9eb[_0x4e87('0x9')]||(this[_0x4e87('0xc')]=!0x0);});const _0x5a90f6=this[_0x4e87('0x14')];this['setTemplate']({'tag':_0x4e87('0x1a'),'attributes':{'dir':'auto','class':['ck',_0x4e87('0x17')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4e87('0x7')]},'children':[{'text':_0x185b08(_0x3b58a1,_0x4e87('0xa'))}]},{'tag':'div','attributes':{'class':[_0x4e87('0xb')]},'children':[{'tag':'div','children':_0x2ce9eb},{'tag':'p','attributes':{'class':[_0x4e87('0xd'),_0x5a90f6['if'](_0x4e87('0xc'),'ck-hidden',_0x477cc1=>!_0x477cc1)]},'children':[{'text':_0x185b08(_0x3b58a1,_0x4e87('0x0'))}]}]}]});}['render'](){super[_0x4e87('0x10')](),this[_0x4e87('0xe')]['listenTo'](this['element']);const _0x180569=_0x2d7fa9=>_0x2d7fa9[_0x4e87('0xf')]();this[_0x4e87('0xe')][_0x4e87('0x4')]('arrowright',_0x180569),this[_0x4e87('0xe')]['set'](_0x4e87('0x11'),_0x180569),this['_keystrokes'][_0x4e87('0x4')]('arrowup',_0x180569),this[_0x4e87('0xe')][_0x4e87('0x4')](_0x4e87('0x12'),_0x180569),this[_0x4e87('0x5')](this[_0x4e87('0x6')],_0x4e87('0x19'),(_0x298c35,_0x491847)=>{_0x491847['stopPropagation']();},{'priority':_0x4e87('0x1b')});}[_0x4e87('0x3')](){super[_0x4e87('0x3')](),this['_focusTracker'][_0x4e87('0x3')](),this['_keystrokes'][_0x4e87('0x3')]();}[_0x4e87('0x1')](){this[_0x4e87('0x6')][_0x4e87('0x1')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d63=['commentUpdated','delegate','resolveCommentThread','locale','editorDestroyed','_handleRemoveCommentModel','listenTo','resolvedAt','updateComment','add','delete','viewUid','count','_shouldCollapse','_config','render','commentViews','stopListening','change:isEditMode','refreshVisibleViews','set','maxThreadTotalWeight','ck-thread__comments','resolvedBy','_updateHasDirtyComment','element','editorReady','weight','_handleNewCommentModel','_handleInfoComment','hasDirtyComment','change:hasDirtyComment','resolvedCommentView','remove','from','visibleViews','equal','length','resolved','_collapsedCommentsView','focus','destroy','collapse','maxCommentsWhenCollapsed','_rearrangeExpand','CommentView','change:isResolved','setTemplate','isEditMode','some','_rearrangeCollapse','insert','createCollection','formatDateTime','authoredAt','comments','_model'];(function(_0x4dfcac,_0x5d6300){const _0x3b9975=function(_0x1a6006){while(--_0x1a6006){_0x4dfcac['push'](_0x4dfcac['shift']());}};_0x3b9975(++_0x5d6300);}(_0x5d63,0x1ab));const _0x3b99=function(_0x4dfcac,_0x5d6300){_0x4dfcac=_0x4dfcac-0x0;let _0x3b9975=_0x5d63[_0x4dfcac];return _0x3b9975;};import{View as _0xa37451}from'ckeditor5/src/ui';import{diff as _0x5cbd42,Collection as _0x3c3c36}from'ckeditor5/src/utils';import{getTranslation as _0x37979d}from'../../../utils/common-translations';import _0x1fc868 from'./collapsedcommentsview';export default class wt extends _0xa37451{constructor(_0x194d3f,_0x56af36,_0x20d657){super(_0x194d3f),this[_0x3b99('0x31')]('hasDirtyComment',!0x1),this[_0x3b99('0x31')](_0x3b99('0x9'),_0x56af36[_0x3b99('0x1b')][_0x3b99('0x9')]),this[_0x3b99('0x31')]('isActive',!0x1),this[_0x3b99('0x1c')]=_0x56af36,this['_config']=_0x20d657,this[_0x3b99('0x2d')]=this[_0x3b99('0x18')](),this[_0x3b99('0x7')]=this[_0x3b99('0x18')](),this[_0x3b99('0x4')]=null,this[_0x3b99('0xb')]=new _0x1fc868(_0x194d3f),this[_0x3b99('0xb')]['bind'](_0x3b99('0x29'))['to'](this,_0x3b99('0x9'),_0x4fff01=>_0x4fff01-this['_config'][_0x3b99('0xf')]);for(const _0x2d169d of _0x56af36[_0x3b99('0x1b')])this[_0x3b99('0x0')](_0x2d169d);this[_0x3b99('0x1')](),this['listenTo'](_0x56af36[_0x3b99('0x1b')],_0x3b99('0x26'),(_0x547e84,_0x40d8e5)=>{const _0x2be2f9=this['_calculatePosition'](_0x40d8e5);this[_0x3b99('0x9')]++,this[_0x3b99('0x0')](_0x40d8e5,_0x2be2f9),this[_0x3b99('0x30')]();}),this[_0x3b99('0x23')](_0x56af36[_0x3b99('0x1b')],'remove',(_0x139020,_0x2aa7ff)=>{this[_0x3b99('0x9')]--,this[_0x3b99('0x22')](_0x2aa7ff),this[_0x3b99('0x30')]();}),this[_0x3b99('0x23')](_0x56af36,_0x3b99('0x1d'),()=>this[_0x3b99('0x30')]()),this[_0x3b99('0x23')](_0x56af36,_0x3b99('0x12'),()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this[_0x3b99('0x30')]()),this['on'](_0x3b99('0x3'),()=>this['refreshVisibleViews']()),this[_0x3b99('0x13')]({'tag':'ul','attributes':{'class':[_0x3b99('0x33')]},'children':this[_0x3b99('0x7')]});}get[_0x3b99('0x2a')](){return this[_0x3b99('0x1c')][_0x3b99('0x38')]>this[_0x3b99('0x2b')][_0x3b99('0x32')]&&!this['isActive']&&!this[_0x3b99('0x2')];}[_0x3b99('0x2c')](){super[_0x3b99('0x2c')](),this[_0x3b99('0x30')]();}['focus'](){this[_0x3b99('0x36')][_0x3b99('0xc')]();}['destroy'](){this[_0x3b99('0xb')][_0x3b99('0xd')]();for(const _0x1e19f3 of this[_0x3b99('0x2d')])_0x1e19f3['destroy']();super['destroy']();}[_0x3b99('0x30')](){this[_0x3b99('0x2a')]?this['_rearrangeCollapse']():this[_0x3b99('0x10')]();}['_handleNewCommentModel'](_0x12ad72,_0x34235c){const _0x4dfd8f=new this[(_0x3b99('0x2b'))][(_0x3b99('0x11'))](this[_0x3b99('0x20')],_0x12ad72,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this[_0x3b99('0x2b')]['editorConfig']});_0x4dfd8f[_0x3b99('0x28')]=_0x12ad72['id'],_0x4dfd8f[_0x3b99('0x1e')]('removeComment')['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x25'))['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x1f'))['to'](this),_0x4dfd8f[_0x3b99('0x1e')](_0x3b99('0x37'))['to'](this),_0x4dfd8f['delegate'](_0x3b99('0x21'))['to'](this),this[_0x3b99('0x23')](_0x4dfd8f,_0x3b99('0x2f'),()=>this[_0x3b99('0x35')]()),this[_0x3b99('0x2d')][_0x3b99('0x26')](_0x4dfd8f,_0x34235c);}['_calculatePosition'](_0x55fb9e){const _0x1a5938=this[_0x3b99('0x1c')]['_findOptimalIndex'](_0x55fb9e);return this[_0x3b99('0x4')]?this[_0x3b99('0x4')][_0x3b99('0x1a')]>_0x55fb9e['authoredAt']?_0x1a5938-0x1:_0x1a5938:_0x1a5938-0x1;}[_0x3b99('0x1')](){if(this[_0x3b99('0x1c')][_0x3b99('0x34')]&&this[_0x3b99('0x1c')][_0x3b99('0x24')]){const _0x36f743={'id':_0x3b99('0xa'),'author':this[_0x3b99('0x1c')][_0x3b99('0x34')],'authoredAt':this[_0x3b99('0x1c')][_0x3b99('0x24')],'content':_0x37979d(this[_0x3b99('0x20')],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this[(_0x3b99('0x2b'))][(_0x3b99('0x11'))](this['locale'],_0x36f743,{'maxCommentCharsWhenCollapsed':this[_0x3b99('0x2b')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x3b99('0x2b')][_0x3b99('0x19')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x3b99('0x2d')][_0x3b99('0x26')](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x36f743));}else this[_0x3b99('0x4')]&&(this['commentViews'][_0x3b99('0x5')](this['resolvedCommentView']),this[_0x3b99('0x4')]['destroy'](),this[_0x3b99('0x4')]=null);this[_0x3b99('0x30')]();}[_0x3b99('0x22')](_0x5d0a0e){const _0x475105=this['commentViews']['remove'](_0x5d0a0e['id']);this[_0x3b99('0x2e')](_0x475105),_0x475105[_0x3b99('0x14')]&&this['_updateHasDirtyComment'](),_0x475105['destroy']();}['_updateHasDirtyComment'](){this[_0x3b99('0x2')]=Array[_0x3b99('0x6')](this[_0x3b99('0x2d')])[_0x3b99('0x15')](_0x5442c9=>_0x5442c9[_0x3b99('0x14')]);}[_0x3b99('0x16')](){const _0xa4de6c=function(_0x44f1f6){const _0x476b6a=new _0x3c3c36();for(const _0x4b94aa of _0x44f1f6)_0x476b6a['add'](_0x4b94aa);return _0x476b6a;}(this['commentViews']),_0x5a4bed=this[_0x3b99('0xb')][_0x3b99('0x29')];for(let _0x9d3f8d=0x1;_0x9d3f8d<=_0x5a4bed;_0x9d3f8d++)_0xa4de6c[_0x3b99('0x5')](0x1);for(const _0x117ae7 of _0xa4de6c)_0x117ae7[_0x3b99('0xe')]();_0x5a4bed>0x0&&_0xa4de6c['add'](this['_collapsedCommentsView'],0x1),ss(_0x5cbd42(Array[_0x3b99('0x6')](this[_0x3b99('0x7')]),Array[_0x3b99('0x6')](_0xa4de6c)),this[_0x3b99('0x7')],_0xa4de6c);}[_0x3b99('0x10')](){ss(_0x5cbd42(Array[_0x3b99('0x6')](this[_0x3b99('0x7')]),Array[_0x3b99('0x6')](this['commentViews'])),this[_0x3b99('0x7')],this['commentViews']);for(const _0x4623e7 of this['visibleViews'])_0x4623e7['expand']();}}function ss(_0x27b620,_0x1768ef,_0x4049b3){let _0xbc5a7b=0x0;for(const _0x814dba of _0x27b620)switch(_0x814dba){case _0x3b99('0x17'):_0x1768ef[_0x3b99('0x26')](_0x4049b3['get'](_0xbc5a7b),_0xbc5a7b),_0xbc5a7b++;break;case _0x3b99('0x27'):_0x1768ef[_0x3b99('0x5')](_0xbc5a7b);break;case _0x3b99('0x8'):_0xbc5a7b++;}}
23
+ const _0x59c6=['setTemplate','change:isEditMode','comments','from','collapse','remove','refreshVisibleViews','isEditMode','commentUpdated','render','_shouldCollapse','_handleInfoComment','isActive','authoredAt','locale','resolvedAt','bind','maxCommentCharsWhenCollapsed','expand','length','_rearrangeExpand','count','delegate','some','hasDirtyComment','weight','formatDateTime','_findOptimalIndex','updateComment','resolvedCommentView','_updateHasDirtyComment','_handleNewCommentModel','_model','add','_collapsedCommentsView','editorReady','equal','_config','viewUid','destroy','editorDestroyed','get','listenTo','set','editorConfig','focus','visibleViews','resolvedBy','Marked\x20as\x20resolved','commentViews','change:isResolved','change:hasDirtyComment','_calculatePosition','change:isActive','_handleRemoveCommentModel','CommentView','removeComment','_rearrangeCollapse','maxCommentsWhenCollapsed','createCollection'];(function(_0x31873f,_0x59c63c){const _0x340ea5=function(_0x193295){while(--_0x193295){_0x31873f['push'](_0x31873f['shift']());}};_0x340ea5(++_0x59c63c);}(_0x59c6,0x134));const _0x340e=function(_0x31873f,_0x59c63c){_0x31873f=_0x31873f-0x0;let _0x340ea5=_0x59c6[_0x31873f];return _0x340ea5;};import{View as _0x5e2e2d}from'ckeditor5/src/ui';import{diff as _0x34ba53,Collection as _0xa1ccc4}from'ckeditor5/src/utils';import{getTranslation as _0x637aab}from'../../../utils/common-translations';import _0x304bc6 from'./collapsedcommentsview';export default class Ct extends _0x5e2e2d{constructor(_0x25eda1,_0x3a7b43,_0x22df21){super(_0x25eda1),this[_0x340e('0x23')]('hasDirtyComment',!0x1),this[_0x340e('0x23')]('length',_0x3a7b43[_0x340e('0x36')][_0x340e('0xb')]),this[_0x340e('0x23')](_0x340e('0x4'),!0x1),this[_0x340e('0x18')]=_0x3a7b43,this[_0x340e('0x1d')]=_0x22df21,this[_0x340e('0x29')]=this[_0x340e('0x33')](),this['visibleViews']=this[_0x340e('0x33')](),this[_0x340e('0x15')]=null,this[_0x340e('0x1a')]=new _0x304bc6(_0x25eda1),this[_0x340e('0x1a')][_0x340e('0x8')](_0x340e('0xd'))['to'](this,_0x340e('0xb'),_0x161395=>_0x161395-this['_config'][_0x340e('0x32')]);for(const _0x3874db of _0x3a7b43[_0x340e('0x36')])this[_0x340e('0x17')](_0x3874db);this[_0x340e('0x3')](),this[_0x340e('0x22')](_0x3a7b43[_0x340e('0x36')],_0x340e('0x19'),(_0x557993,_0x3c4e35)=>{const _0x46f01c=this[_0x340e('0x2c')](_0x3c4e35);this[_0x340e('0xb')]++,this[_0x340e('0x17')](_0x3c4e35,_0x46f01c),this['refreshVisibleViews']();}),this[_0x340e('0x22')](_0x3a7b43[_0x340e('0x36')],_0x340e('0x39'),(_0x1fbe34,_0x85d13e)=>{this[_0x340e('0xb')]--,this[_0x340e('0x2e')](_0x85d13e),this['refreshVisibleViews']();}),this[_0x340e('0x22')](_0x3a7b43,_0x340e('0x0'),()=>this[_0x340e('0x3a')]()),this[_0x340e('0x22')](_0x3a7b43,_0x340e('0x2a'),()=>this[_0x340e('0x3')]()),this['on'](_0x340e('0x2d'),()=>this[_0x340e('0x3a')]()),this['on'](_0x340e('0x2b'),()=>this['refreshVisibleViews']()),this[_0x340e('0x34')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x340e('0x26')]});}get[_0x340e('0x2')](){return this[_0x340e('0x18')][_0x340e('0x11')]>this[_0x340e('0x1d')]['maxThreadTotalWeight']&&!this[_0x340e('0x4')]&&!this['hasDirtyComment'];}[_0x340e('0x1')](){super['render'](),this[_0x340e('0x3a')]();}[_0x340e('0x25')](){this['element'][_0x340e('0x25')]();}[_0x340e('0x1f')](){this[_0x340e('0x1a')]['destroy']();for(const _0x1fba1c of this['commentViews'])_0x1fba1c[_0x340e('0x1f')]();super['destroy']();}[_0x340e('0x3a')](){this[_0x340e('0x2')]?this[_0x340e('0x31')]():this[_0x340e('0xc')]();}[_0x340e('0x17')](_0x580e92,_0x4f34a0){const _0x48af0a=new this[(_0x340e('0x1d'))][(_0x340e('0x2f'))](this['locale'],_0x580e92,{'maxCommentCharsWhenCollapsed':this[_0x340e('0x1d')][_0x340e('0x9')],'formatDateTime':this[_0x340e('0x1d')][_0x340e('0x12')],'editorConfig':this[_0x340e('0x1d')][_0x340e('0x24')]});_0x48af0a[_0x340e('0x1e')]=_0x580e92['id'],_0x48af0a[_0x340e('0xe')](_0x340e('0x30'))['to'](this),_0x48af0a[_0x340e('0xe')](_0x340e('0x14'))['to'](this),_0x48af0a[_0x340e('0xe')]('resolveCommentThread')['to'](this),_0x48af0a[_0x340e('0xe')](_0x340e('0x1b'))['to'](this),_0x48af0a[_0x340e('0xe')](_0x340e('0x20'))['to'](this),this[_0x340e('0x22')](_0x48af0a,_0x340e('0x35'),()=>this[_0x340e('0x16')]()),this[_0x340e('0x29')][_0x340e('0x19')](_0x48af0a,_0x4f34a0);}['_calculatePosition'](_0x524aac){const _0x4e731a=this[_0x340e('0x18')][_0x340e('0x13')](_0x524aac);return this['resolvedCommentView']?this[_0x340e('0x15')][_0x340e('0x5')]>_0x524aac['authoredAt']?_0x4e731a-0x1:_0x4e731a:_0x4e731a-0x1;}[_0x340e('0x3')](){if(this[_0x340e('0x18')][_0x340e('0x27')]&&this[_0x340e('0x18')][_0x340e('0x7')]){const _0x3d00d3={'id':'resolved','author':this[_0x340e('0x18')][_0x340e('0x27')],'authoredAt':this[_0x340e('0x18')][_0x340e('0x7')],'content':_0x637aab(this[_0x340e('0x6')],_0x340e('0x28')),'attributes':{}};this[_0x340e('0x15')]=new this[(_0x340e('0x1d'))][(_0x340e('0x2f'))](this[_0x340e('0x6')],_0x3d00d3,{'maxCommentCharsWhenCollapsed':this[_0x340e('0x1d')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x340e('0x1d')][_0x340e('0x12')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x340e('0x29')][_0x340e('0x19')](this[_0x340e('0x15')],this[_0x340e('0x18')][_0x340e('0x13')](_0x3d00d3));}else this['resolvedCommentView']&&(this[_0x340e('0x29')][_0x340e('0x39')](this[_0x340e('0x15')]),this[_0x340e('0x15')]['destroy'](),this[_0x340e('0x15')]=null);this[_0x340e('0x3a')]();}[_0x340e('0x2e')](_0x2e3ec8){const _0x113245=this[_0x340e('0x29')]['remove'](_0x2e3ec8['id']);this['stopListening'](_0x113245),_0x113245[_0x340e('0x3b')]&&this[_0x340e('0x16')](),_0x113245[_0x340e('0x1f')]();}['_updateHasDirtyComment'](){this[_0x340e('0x10')]=Array['from'](this[_0x340e('0x29')])[_0x340e('0xf')](_0x11a66a=>_0x11a66a[_0x340e('0x3b')]);}[_0x340e('0x31')](){const _0x3f6a95=function(_0x40f639){const _0x126e3c=new _0xa1ccc4();for(const _0x2e9c85 of _0x40f639)_0x126e3c['add'](_0x2e9c85);return _0x126e3c;}(this[_0x340e('0x29')]),_0x2176cd=this['_collapsedCommentsView']['count'];for(let _0x133307=0x1;_0x133307<=_0x2176cd;_0x133307++)_0x3f6a95['remove'](0x1);for(const _0x55be55 of _0x3f6a95)_0x55be55[_0x340e('0x38')]();_0x2176cd>0x0&&_0x3f6a95['add'](this[_0x340e('0x1a')],0x1),ss(_0x34ba53(Array[_0x340e('0x37')](this[_0x340e('0x26')]),Array[_0x340e('0x37')](_0x3f6a95)),this[_0x340e('0x26')],_0x3f6a95);}[_0x340e('0xc')](){ss(_0x34ba53(Array[_0x340e('0x37')](this['visibleViews']),Array['from'](this[_0x340e('0x29')])),this[_0x340e('0x26')],this[_0x340e('0x29')]);for(const _0x4d9aa5 of this[_0x340e('0x26')])_0x4d9aa5[_0x340e('0xa')]();}}function ss(_0x1fb829,_0x287d89,_0x153b84){let _0x12aba6=0x0;for(const _0x150cdb of _0x1fb829)switch(_0x150cdb){case'insert':_0x287d89[_0x340e('0x19')](_0x153b84[_0x340e('0x21')](_0x12aba6),_0x12aba6),_0x12aba6++;break;case'delete':_0x287d89['remove'](_0x12aba6);break;case _0x340e('0x1c'):_0x12aba6++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d3a=['isVisible','reopenButtonView','bindTemplate','setTemplate','render','overlay','mouseenter','locale','querySelector','ck-context--quotes','context','isEnabled','length','div','scrollWidth','...','_createReopenButton','_trimContextValue','contextValue','classList','listenTo','reopenCommentThread','add','element','Reopen','isReadOnly','lastIndexOf','hasContext','ck-annotation__actions','value','_attachContextActions','bind','.ck-context','ck-context-wrapper','tooltip','fire','execute','label','span','_model','substring','offsetWidth'];(function(_0x607b9b,_0x3d3a23){const _0xa14041=function(_0x254655){while(--_0x254655){_0x607b9b['push'](_0x607b9b['shift']());}};_0xa14041(++_0x3d3a23);}(_0x3d3a,0x7d));const _0xa140=function(_0x607b9b,_0x3d3a23){_0x607b9b=_0x607b9b-0x0;let _0xa14041=_0x3d3a[_0x607b9b];return _0xa14041;};import{View as _0x569b7e,ButtonView as _0x9773d6}from'ckeditor5/src/ui';import{getTranslation as _0x2f6f8f}from'../../../utils/common-translations';import _0x1b8ee5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x569b7e{constructor(_0x49f0b5,_0x5da88f){super(_0x49f0b5);const _0xfb188=this[_0xa140('0x3')];this['_model']=_0x5da88f,this['reopenButtonView']=this[_0xa140('0x11')](),this['bind'](_0xa140('0x1c'))['to'](this[_0xa140('0x28')],_0xa140('0xb'),_0x38e191=>!!_0x38e191),this['bind']('contextValue')['to'](this['_model'],_0xa140('0xb'),_0xebe11=>_0xebe11&&_0xebe11[_0xa140('0x1e')]?this[_0xa140('0x12')](_0xebe11[_0xa140('0x1e')]):_0x2f6f8f(this[_0xa140('0x8')],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0xa140('0x4')]({'tag':_0xa140('0xe'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':_0xa140('0xe'),'attributes':{'class':[_0xa140('0x22')]},'children':[{'tag':'div','attributes':{'class':['ck-context',_0xfb188['if']('hasContext',_0xa140('0xa'))]},'children':[{'tag':_0xa140('0x27'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0xfb188['to'](_0xa140('0x13'))}]}]}]},{'tag':_0xa140('0xe'),'attributes':{'class':[_0xa140('0x1d')]},'children':[this[_0xa140('0x2')]]}]});}[_0xa140('0x5')](){super['render'](),this[_0xa140('0x1f')]();}['_createReopenButton'](){const _0x5f3451=new _0x9773d6(this[_0xa140('0x8')]);return _0x5f3451[_0xa140('0x26')]=_0x2f6f8f(this[_0xa140('0x8')],_0xa140('0x19')),_0x5f3451[_0xa140('0x23')]=_0x2f6f8f(this[_0xa140('0x8')],_0xa140('0x19')),_0x5f3451['icon']=_0x1b8ee5,_0x5f3451[_0xa140('0x20')](_0xa140('0xc'))['to'](this[_0xa140('0x28')],_0xa140('0x1a'),_0x4f125e=>!_0x4f125e),_0x5f3451[_0xa140('0x20')](_0xa140('0x1'))['to'](this[_0xa140('0x28')],'isResolvable'),_0x5f3451['on'](_0xa140('0x25'),()=>{this[_0xa140('0x24')](_0xa140('0x16'),this[_0xa140('0x28')]['id']);}),_0x5f3451;}[_0xa140('0x12')](_0x294ac3){if(_0x294ac3[_0xa140('0xd')]<0x96)return _0x294ac3;const _0x20b63a=_0x294ac3[_0xa140('0x1b')]('\x20',0x93);return _0x294ac3[_0xa140('0x29')](0x0,_0x20b63a>-0x1?_0x20b63a:0x93)+_0xa140('0x10');}['_attachContextActions'](){const _0x198199=this[_0xa140('0x18')][_0xa140('0x9')](_0xa140('0x21')),_0x527be1=_0x198199['querySelector']('.ck-context__value');this['listenTo'](_0x198199,_0xa140('0x7'),()=>{_0x527be1[_0xa140('0x0')]<_0x527be1[_0xa140('0xf')]&&_0x198199[_0xa140('0x14')][_0xa140('0x17')]('overlay');}),this[_0xa140('0x15')](_0x198199,'mouseleave',()=>{_0x198199[_0xa140('0x14')]['remove'](_0xa140('0x6'));});}}
23
+ const _0x664d=['icon','_trimContextValue','...','remove','substring','scrollWidth','mouseenter','ck-context--quotes','render','contextValue','add','hasContext','reopenCommentThread','lastIndexOf','ck-context__value','div','bind','fire','length','.ck-context__value','span','label','Comment\x20was\x20made\x20on\x20an\x20element','isReadOnly','Reopen','ck-thread__header','context','locale','_createReopenButton','bindTemplate','isVisible','isResolvable','reopenButtonView','querySelector','listenTo','ck-context','_attachContextActions','_model','setTemplate','value','overlay','isResolved'];(function(_0x5c27c3,_0x664dd9){const _0x1104b2=function(_0x56b5f9){while(--_0x56b5f9){_0x5c27c3['push'](_0x5c27c3['shift']());}};_0x1104b2(++_0x664dd9);}(_0x664d,0x1e7));const _0x1104=function(_0x5c27c3,_0x664dd9){_0x5c27c3=_0x5c27c3-0x0;let _0x1104b2=_0x664d[_0x5c27c3];return _0x1104b2;};import{View as _0x120636,ButtonView as _0x5ec2c0}from'ckeditor5/src/ui';import{getTranslation as _0x90bacd}from'../../../utils/common-translations';import _0x4a8ed5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x120636{constructor(_0x34fa81,_0x5e9ab1){super(_0x34fa81);const _0x5c33c6=this[_0x1104('0x4')];this[_0x1104('0xc')]=_0x5e9ab1,this[_0x1104('0x7')]=this[_0x1104('0x3')](),this['bind']('hasContext')['to'](this[_0x1104('0xc')],_0x1104('0x1'),_0x560fc7=>!!_0x560fc7),this[_0x1104('0x21')](_0x1104('0x1a'))['to'](this[_0x1104('0xc')],_0x1104('0x1'),_0x1b0c78=>_0x1b0c78&&_0x1b0c78[_0x1104('0xe')]?this[_0x1104('0x12')](_0x1b0c78['value']):_0x90bacd(this[_0x1104('0x2')],_0x1104('0x27'))),this[_0x1104('0xd')]({'tag':_0x1104('0x20'),'attributes':{'class':[_0x1104('0x0')]},'children':[{'tag':_0x1104('0x20'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':[_0x1104('0xa'),_0x5c33c6['if'](_0x1104('0x1c'),_0x1104('0x18'))]},'children':[{'tag':_0x1104('0x25'),'attributes':{'class':[_0x1104('0x1f')]},'children':[{'text':_0x5c33c6['to'](_0x1104('0x1a'))}]}]}]},{'tag':_0x1104('0x20'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x1104('0x7')]]}]});}[_0x1104('0x19')](){super[_0x1104('0x19')](),this[_0x1104('0xb')]();}[_0x1104('0x3')](){const _0x38a7d2=new _0x5ec2c0(this['locale']);return _0x38a7d2[_0x1104('0x26')]=_0x90bacd(this['locale'],_0x1104('0x29')),_0x38a7d2['tooltip']=_0x90bacd(this[_0x1104('0x2')],_0x1104('0x29')),_0x38a7d2[_0x1104('0x11')]=_0x4a8ed5,_0x38a7d2[_0x1104('0x21')]('isEnabled')['to'](this['_model'],_0x1104('0x28'),_0x35eeb9=>!_0x35eeb9),_0x38a7d2[_0x1104('0x21')](_0x1104('0x5'))['to'](this[_0x1104('0xc')],_0x1104('0x6'),this['_model'],_0x1104('0x10'),(_0x3f79a4,_0x5337b1)=>_0x3f79a4&&_0x5337b1),_0x38a7d2['on']('execute',()=>{this[_0x1104('0x22')](_0x1104('0x1d'),this['_model']['id']);}),_0x38a7d2;}[_0x1104('0x12')](_0x4a33e3){if(_0x4a33e3[_0x1104('0x23')]<0x96)return _0x4a33e3;const _0x1b38e4=_0x4a33e3[_0x1104('0x1e')]('\x20',0x93);return _0x4a33e3[_0x1104('0x15')](0x0,_0x1b38e4>-0x1?_0x1b38e4:0x93)+_0x1104('0x13');}[_0x1104('0xb')](){const _0x581d7c=this['element'][_0x1104('0x8')]('.ck-context'),_0x4ba273=_0x581d7c['querySelector'](_0x1104('0x24'));this['listenTo'](_0x581d7c,_0x1104('0x17'),()=>{_0x4ba273['offsetWidth']<_0x4ba273[_0x1104('0x16')]&&_0x581d7c['classList'][_0x1104('0x1b')](_0x1104('0xf'));}),this[_0x1104('0x9')](_0x581d7c,'mouseleave',()=>{_0x581d7c['classList'][_0x1104('0x14')]('overlay');});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xbec9=['div','editorReady','then','showButtons','bind','delegate','bindTemplate','value','userView','editorDestroyed','setTemplate','destroy','ck-thread__user','extendTemplate','ck-comment__input-container','focusTracker','showInput','commentInputView'];(function(_0xf638d,_0xbec9f2){var _0x30fbca=function(_0x224190){while(--_0x224190){_0xf638d['push'](_0xf638d['shift']());}};_0x30fbca(++_0xbec9f2);}(_0xbec9,0x68));var _0x30fb=function(_0xf638d,_0xbec9f2){_0xf638d=_0xf638d-0x0;var _0x30fbca=_0xbec9[_0xf638d];return _0x30fbca;};import{View as _0x40f3d4}from'ckeditor5/src/ui';import _0xb458cf from'./commentinputview';import{UserView as _0x12880b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x40f3d4{constructor(_0x3057e2,_0xda1be2,_0x40941c){super(_0x3057e2),this[_0x30fb('0x3')]=new _0xb458cf(_0x3057e2,_0x40941c),this[_0x30fb('0x3')][_0x30fb('0x8')](_0x30fb('0x7'))['to'](this[_0x30fb('0x3')][_0x30fb('0x1')],'isFocused',this['commentInputView'],_0x30fb('0xb'),(_0xd42faa,_0x510999)=>_0xd42faa||!!_0x510999),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this[_0x30fb('0x2')]&&!this[_0x30fb('0x3')]['editor']&&this[_0x30fb('0x3')]['createEditor']();}),this[_0x30fb('0x3')][_0x30fb('0x9')](_0x30fb('0x5'))['to'](this),this[_0x30fb('0x3')][_0x30fb('0x9')](_0x30fb('0xd'))['to'](this),this[_0x30fb('0xc')]=new _0x12880b(_0x3057e2,_0xda1be2),this[_0x30fb('0xc')][_0x30fb('0x11')]({'attributes':{'class':_0x30fb('0x10')}}),this[_0x30fb('0x3')][_0x30fb('0x11')]({'attributes':{'class':'ck-thread__input'}}),this[_0x30fb('0xe')]({'tag':_0x30fb('0x4'),'attributes':{'class':[_0x30fb('0x0'),this[_0x30fb('0xa')]['if']('showInput','ck-comment__input-container--active')]},'children':[this[_0x30fb('0xc')],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x30fb('0xf')]()[_0x30fb('0x6')](()=>super['destroy']());}}
23
+ var _0x4618=['destroy','showInput','commentInputView','editorDestroyed','delegate','extendTemplate','bindTemplate','ck-comment__input-container--active','userView','isFocused','setTemplate','ck-thread__user','bind','div','showButtons','set'];(function(_0x1ab1c5,_0x461842){var _0x55c210=function(_0x1edf44){while(--_0x1edf44){_0x1ab1c5['push'](_0x1ab1c5['shift']());}};_0x55c210(++_0x461842);}(_0x4618,0xd4));var _0x55c2=function(_0x1ab1c5,_0x461842){_0x1ab1c5=_0x1ab1c5-0x0;var _0x55c210=_0x4618[_0x1ab1c5];return _0x55c210;};import{View as _0x172b8f}from'ckeditor5/src/ui';import _0xf02172 from'./commentinputview';import{UserView as _0x1a4191}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x172b8f{constructor(_0x4b7a29,_0x383195,_0x7fbaa1){super(_0x4b7a29),this[_0x55c2('0xe')]=new _0xf02172(_0x4b7a29,_0x7fbaa1),this['commentInputView'][_0x55c2('0x8')](_0x55c2('0xa'))['to'](this['commentInputView']['focusTracker'],_0x55c2('0x5'),this[_0x55c2('0xe')],'value',(_0x30c48e,_0x16abff)=>_0x30c48e||!!_0x16abff),this[_0x55c2('0xb')]('showInput',!0x1),this['on']('change:showInput',()=>{this[_0x55c2('0xd')]&&!this[_0x55c2('0xe')]['editor']&&this[_0x55c2('0xe')]['createEditor']();}),this[_0x55c2('0xe')]['delegate']('editorReady')['to'](this),this[_0x55c2('0xe')][_0x55c2('0x0')](_0x55c2('0xf'))['to'](this),this['userView']=new _0x1a4191(_0x4b7a29,_0x383195),this[_0x55c2('0x4')][_0x55c2('0x1')]({'attributes':{'class':_0x55c2('0x7')}}),this[_0x55c2('0xe')]['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this[_0x55c2('0x6')]({'tag':_0x55c2('0x9'),'attributes':{'class':['ck-comment__input-container',this[_0x55c2('0x2')]['if'](_0x55c2('0xd'),_0x55c2('0x3'))]},'children':[this[_0x55c2('0x4')],this['commentInputView']]});}[_0x55c2('0xc')](){return this[_0x55c2('0xe')]['destroy']()['then'](()=>super[_0x55c2('0xc')]());}}
@@ -83,6 +83,7 @@ export default class CommentThreadView extends CommentThreadView_base {
83
83
  * 'ck-thread',
84
84
  * 'ck-reset_all-excluded',
85
85
  * bind.if( 'isActive', 'ck-thread--active' ),
86
+ * bind.if( 'isUnlinked', 'ck-thread--unlinked' ),
86
87
  * bind.if( 'isConfirm', 'ck-thread--remove-confirmation' ),
87
88
  * bind.to( 'actionIndicator', value => value ? `ck-thread--${ value }` : '' )
88
89
  * ],