@ckeditor/ckeditor5-comments 41.4.2 → 42.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/README.md +6 -0
  2. package/build/comments.js +1 -1
  3. package/dist/index.js +9 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/bg.js +1 -1
  9. package/dist/translations/bg.umd.js +1 -1
  10. package/dist/translations/bn.js +1 -1
  11. package/dist/translations/bn.umd.js +1 -1
  12. package/dist/translations/bs.js +1 -1
  13. package/dist/translations/bs.umd.js +1 -1
  14. package/dist/translations/ca.js +1 -1
  15. package/dist/translations/ca.umd.js +1 -1
  16. package/dist/translations/cs.js +1 -1
  17. package/dist/translations/cs.umd.js +1 -1
  18. package/dist/translations/da.js +1 -1
  19. package/dist/translations/da.umd.js +1 -1
  20. package/dist/translations/de-ch.js +1 -1
  21. package/dist/translations/de-ch.umd.js +1 -1
  22. package/dist/translations/de.js +1 -1
  23. package/dist/translations/de.umd.js +1 -1
  24. package/dist/translations/el.js +1 -1
  25. package/dist/translations/el.umd.js +1 -1
  26. package/dist/translations/en-au.js +1 -1
  27. package/dist/translations/en-au.umd.js +1 -1
  28. package/dist/translations/en.umd.js +1 -1
  29. package/dist/translations/es-co.js +1 -1
  30. package/dist/translations/es-co.umd.js +1 -1
  31. package/dist/translations/es.js +1 -1
  32. package/dist/translations/es.umd.js +1 -1
  33. package/dist/translations/et.js +1 -1
  34. package/dist/translations/et.umd.js +1 -1
  35. package/dist/translations/fa.js +1 -1
  36. package/dist/translations/fa.umd.js +1 -1
  37. package/dist/translations/fi.js +1 -1
  38. package/dist/translations/fi.umd.js +1 -1
  39. package/dist/translations/fr.js +1 -1
  40. package/dist/translations/fr.umd.js +1 -1
  41. package/dist/translations/gl.js +1 -1
  42. package/dist/translations/gl.umd.js +1 -1
  43. package/dist/translations/he.js +1 -1
  44. package/dist/translations/he.umd.js +1 -1
  45. package/dist/translations/hi.js +1 -1
  46. package/dist/translations/hi.umd.js +1 -1
  47. package/dist/translations/hr.js +1 -1
  48. package/dist/translations/hr.umd.js +1 -1
  49. package/dist/translations/hu.js +1 -1
  50. package/dist/translations/hu.umd.js +1 -1
  51. package/dist/translations/id.js +1 -1
  52. package/dist/translations/id.umd.js +1 -1
  53. package/dist/translations/it.js +1 -1
  54. package/dist/translations/it.umd.js +1 -1
  55. package/dist/translations/ja.js +1 -1
  56. package/dist/translations/ja.umd.js +1 -1
  57. package/dist/translations/jv.js +1 -1
  58. package/dist/translations/jv.umd.js +1 -1
  59. package/dist/translations/ko.js +1 -1
  60. package/dist/translations/ko.umd.js +1 -1
  61. package/dist/translations/lt.js +1 -1
  62. package/dist/translations/lt.umd.js +1 -1
  63. package/dist/translations/lv.js +1 -1
  64. package/dist/translations/lv.umd.js +1 -1
  65. package/dist/translations/ms.js +1 -1
  66. package/dist/translations/ms.umd.js +1 -1
  67. package/dist/translations/nl.js +1 -1
  68. package/dist/translations/nl.umd.js +1 -1
  69. package/dist/translations/no.js +1 -1
  70. package/dist/translations/no.umd.js +1 -1
  71. package/dist/translations/pl.js +1 -1
  72. package/dist/translations/pl.umd.js +1 -1
  73. package/dist/translations/pt-br.js +1 -1
  74. package/dist/translations/pt-br.umd.js +1 -1
  75. package/dist/translations/pt.js +1 -1
  76. package/dist/translations/pt.umd.js +1 -1
  77. package/dist/translations/ro.js +1 -1
  78. package/dist/translations/ro.umd.js +1 -1
  79. package/dist/translations/ru.js +1 -1
  80. package/dist/translations/ru.umd.js +1 -1
  81. package/dist/translations/sk.js +1 -1
  82. package/dist/translations/sk.umd.js +1 -1
  83. package/dist/translations/sq.js +1 -1
  84. package/dist/translations/sq.umd.js +1 -1
  85. package/dist/translations/sr-latn.js +1 -1
  86. package/dist/translations/sr-latn.umd.js +1 -1
  87. package/dist/translations/sr.js +1 -1
  88. package/dist/translations/sr.umd.js +1 -1
  89. package/dist/translations/sv.js +1 -1
  90. package/dist/translations/sv.umd.js +1 -1
  91. package/dist/translations/th.js +1 -1
  92. package/dist/translations/th.umd.js +1 -1
  93. package/dist/translations/ti.js +1 -1
  94. package/dist/translations/ti.umd.js +1 -1
  95. package/dist/translations/tk.js +1 -1
  96. package/dist/translations/tk.umd.js +1 -1
  97. package/dist/translations/tr.js +1 -1
  98. package/dist/translations/tr.umd.js +1 -1
  99. package/dist/translations/tt.js +1 -1
  100. package/dist/translations/tt.umd.js +1 -1
  101. package/dist/translations/ug.js +1 -1
  102. package/dist/translations/ug.umd.js +1 -1
  103. package/dist/translations/uk.js +1 -1
  104. package/dist/translations/uk.umd.js +1 -1
  105. package/dist/translations/ur.js +1 -1
  106. package/dist/translations/ur.umd.js +1 -1
  107. package/dist/translations/vi.js +1 -1
  108. package/dist/translations/vi.umd.js +1 -1
  109. package/dist/translations/zh-cn.js +1 -1
  110. package/dist/translations/zh-cn.umd.js +1 -1
  111. package/dist/translations/zh.js +1 -1
  112. package/dist/translations/zh.umd.js +1 -1
  113. package/dist/types/annotations/annotation.d.ts +1 -1
  114. package/dist/types/comments/commentsrepository.d.ts +2 -2
  115. package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +1 -1
  116. package/dist/types/comments/ui/commentthreadcontroller.d.ts +1 -1
  117. package/dist/types/comments/ui/view/commentthreadview.d.ts +1 -1
  118. package/dist/types/comments/ui/view/commentview.d.ts +1 -1
  119. package/dist/types/config.d.ts +1 -4
  120. package/package.json +3 -3
  121. package/src/annotations/annotation.d.ts +1 -1
  122. package/src/annotations/annotation.js +2 -1
  123. package/src/annotations/annotationcollection.js +1 -1
  124. package/src/annotations/annotations.js +1 -1
  125. package/src/annotations/annotationsuis.js +1 -1
  126. package/src/annotations/editorannotations.js +1 -1
  127. package/src/annotations/inlineannotations.js +1 -1
  128. package/src/annotations/narrowsidebar.js +1 -1
  129. package/src/annotations/sidebar.js +1 -1
  130. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  131. package/src/annotations/view/annotationview.js +1 -1
  132. package/src/annotations/view/sidebaritemview.js +1 -1
  133. package/src/annotations/view/sidebarview.js +1 -1
  134. package/src/annotations/widesidebar.js +1 -1
  135. package/src/comments/addcommentthreadcommand.js +1 -1
  136. package/src/comments/commentsarchive.js +1 -1
  137. package/src/comments/commentsarchiveui.js +1 -1
  138. package/src/comments/commentsediting.js +1 -1
  139. package/src/comments/commentsrepository.d.ts +2 -2
  140. package/src/comments/commentsrepository.js +3 -1
  141. package/src/comments/commentsui.js +1 -1
  142. package/src/comments/integrations/clipboard.js +1 -1
  143. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  144. package/src/comments/integrations/importword.js +1 -1
  145. package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
  146. package/src/comments/ui/commenteditor/commenteditor.js +2 -1
  147. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  148. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  149. package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
  150. package/src/comments/ui/commentthreadcontroller.js +2 -1
  151. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  152. package/src/comments/ui/view/basecommentview.js +1 -1
  153. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  154. package/src/comments/ui/view/commentcontentview.js +1 -1
  155. package/src/comments/ui/view/commentinputview.js +1 -1
  156. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  157. package/src/comments/ui/view/commentslistview.js +1 -1
  158. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  159. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  160. package/src/comments/ui/view/commentthreadview.d.ts +1 -1
  161. package/src/comments/ui/view/commentthreadview.js +2 -1
  162. package/src/comments/ui/view/commentview.d.ts +1 -1
  163. package/src/comments/ui/view/commentview.js +2 -1
  164. package/src/comments.js +1 -1
  165. package/src/commentsonly.js +1 -1
  166. package/src/config.d.ts +1 -4
  167. package/src/index.js +1 -1
  168. package/src/utils/common-translations.js +1 -1
  169. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54e71c=_0x224b;(function(_0x42f8fd,_0x4995ee){const _0x11d114=_0x224b,_0x31bac1=_0x42f8fd();while(!![]){try{const _0xe39c2e=-parseInt(_0x11d114(0x109))/0x1*(-parseInt(_0x11d114(0x11c))/0x2)+parseInt(_0x11d114(0x113))/0x3+parseInt(_0x11d114(0x107))/0x4+parseInt(_0x11d114(0x108))/0x5+-parseInt(_0x11d114(0x11e))/0x6+parseInt(_0x11d114(0x124))/0x7+-parseInt(_0x11d114(0xf3))/0x8;if(_0xe39c2e===_0x4995ee)break;else _0x31bac1['push'](_0x31bac1['shift']());}catch(_0x52a314){_0x31bac1['push'](_0x31bac1['shift']());}}}(_0xa36d,0x7c16f));import'../../theme/commentsarchive.css';function _0xa36d(){const _0x587158=['set','pluginName','annotationViews','listenTo','collection','CommentsArchiveUI','collaboration.channelId','1879398cxXsXD','_createCommentsArchiveButton','3998592NrpicI','isEnabled','remove','tooltip','locale','get','4708928bNLTHN','_pendingThreads','channelId','filter','view','findIndex','COMMENTS_ARCHIVE','execute','EDITOR_TOP_SIDE','isVisible','CommentsRepository','_toggleDialog','17106344ZtgtdT','commentsArchiveView','archivedAt','componentFactory','requires','indexOf','show','editor','init','stopListening','focusableElements','bind','Annotations','find','hide','Dialog','splice','archivedThreads','plugins','_visibleAnnotations','3330388VHexIY','3514865hmWwXt','1oaIxCX','_threadToController','config','getByInnerView','add','innerView','commentsArchive','_calculatePosition','push','menuBar:commentsArchive','495069NCFaSt','length'];_0xa36d=function(){return _0x587158;};return _0xa36d();}import{Plugin as _0x19924c}from'ckeditor5/src/core.js';import{ViewCollection as _0xb28681,MenuBarMenuListItemButtonView as _0xb048cc,ButtonView as _0x4bd4a4,Dialog as _0x49cca9,DialogViewPosition as _0x2e1396}from'ckeditor5/src/ui.js';import _0x1ab139 from'../../theme/icons/comments-archive.svg';function _0x224b(_0x45b13c,_0x21bb9c){const _0xa36d43=_0xa36d();return _0x224b=function(_0x224b40,_0x2d790b){_0x224b40=_0x224b40-0xe9;let _0x603a3a=_0xa36d43[_0x224b40];return _0x603a3a;},_0x224b(_0x45b13c,_0x21bb9c);}import{getTranslation as _0x187987}from'../utils/common-translations.js';import _0x3de772 from'./ui/view/commentsarchiveview.js';import _0x10135b from'./commentsarchive.js';export default class a extends _0x19924c{static get[_0x54e71c(0x116)](){const _0xc69b32=_0x54e71c;return _0xc69b32(0x11a);}static get[_0x54e71c(0xf7)](){return[_0x10135b,_0x49cca9];}constructor(_0x1ef4c8){const _0x3dd8fc=_0x54e71c;super(_0x1ef4c8),this[_0x3dd8fc(0x117)]=new _0xb28681(),this[_0x3dd8fc(0x125)]=[];}[_0x54e71c(0xfb)](){const _0x5891c1=_0x54e71c;this[_0x5891c1(0xfa)]['ui'][_0x5891c1(0xf6)][_0x5891c1(0x10d)](_0x5891c1(0x10f),()=>this[_0x5891c1(0x11d)](_0x4bd4a4,!0x0)),this[_0x5891c1(0xfa)]['ui'][_0x5891c1(0xf6)][_0x5891c1(0x10d)](_0x5891c1(0x112),()=>this[_0x5891c1(0x11d)](_0xb048cc));const _0x2238cf=this[_0x5891c1(0xfa)][_0x5891c1(0x105)][_0x5891c1(0x123)](_0x10135b),_0xee7a2b=this[_0x5891c1(0xfa)][_0x5891c1(0x105)][_0x5891c1(0x123)](_0x5891c1(0xff)),_0xba4282=this[_0x5891c1(0xfa)][_0x5891c1(0x105)][_0x5891c1(0x123)](_0x5891c1(0xf1));this[_0x5891c1(0x118)](_0x2238cf[_0x5891c1(0x104)],_0x5891c1(0x10d),(_0x5138f6,_0x527994)=>{const _0x18277d=_0x5891c1,_0x5862ea=this[_0x18277d(0xfa)][_0x18277d(0x10b)][_0x18277d(0x123)](_0x18277d(0x11b));if(!_0x5862ea||_0x527994[_0x18277d(0xe9)]===_0x5862ea){const _0x383fae=_0xba4282[_0x18277d(0x10a)][_0x18277d(0x123)](_0x527994);if(!_0x383fae)return void this[_0x18277d(0x125)][_0x18277d(0x111)](_0x527994);const _0x21f06f=this[_0x18277d(0x110)](_0x527994[_0x18277d(0xf5)]),_0x45f550=_0xee7a2b[_0x18277d(0x10c)](_0x383fae[_0x18277d(0xeb)]);_0x45f550[_0x18277d(0xf0)]&&_0xee7a2b[_0x18277d(0x106)][_0x18277d(0x120)](_0x45f550),this[_0x18277d(0x117)][_0x18277d(0x10d)](_0x45f550[_0x18277d(0xeb)],_0x21f06f);}}),this[_0x5891c1(0x118)](_0xee7a2b[_0x5891c1(0x119)],_0x5891c1(0x10d),(_0x5e01cf,_0x433977)=>{const _0x1a5a58=_0x5891c1,_0x196e95=this[_0x1a5a58(0x125)][_0x1a5a58(0x100)](_0x347fc1=>{const _0x6253a8=_0x1a5a58,_0x29872e=_0xba4282[_0x6253a8(0x10a)][_0x6253a8(0x123)](_0x347fc1);return _0x29872e&&_0x433977[_0x6253a8(0x10e)]===_0x29872e[_0x6253a8(0xeb)];});if(_0x196e95){const _0x2e3645=this[_0x1a5a58(0x110)](_0x196e95[_0x1a5a58(0xf5)]);this[_0x1a5a58(0x117)][_0x1a5a58(0x10d)](_0x433977[_0x1a5a58(0xeb)],_0x2e3645),this[_0x1a5a58(0x125)][_0x1a5a58(0x103)](this[_0x1a5a58(0x125)][_0x1a5a58(0xf8)](_0x196e95),0x1);}}),this[_0x5891c1(0x118)](_0x2238cf[_0x5891c1(0x104)],_0x5891c1(0x120),(_0x56b718,_0x429925)=>{const _0x19ee30=_0x5891c1,_0x78bea1=this[_0x19ee30(0xfa)][_0x19ee30(0x10b)][_0x19ee30(0x123)](_0x19ee30(0x11b));if(!_0x78bea1||_0x429925[_0x19ee30(0xe9)]===_0x78bea1){const _0x2a6680=_0xba4282[_0x19ee30(0x10a)][_0x19ee30(0x123)](_0x429925),_0x435f07=_0xee7a2b[_0x19ee30(0x10c)](_0x2a6680[_0x19ee30(0xeb)]);this[_0x19ee30(0x117)][_0x19ee30(0x120)](_0x435f07[_0x19ee30(0xeb)]),this[_0x19ee30(0xfc)](_0x435f07[_0x19ee30(0xfd)]);}});}[_0x54e71c(0x110)](_0x211a58){const _0x11542e=_0x54e71c,_0x15b5cf=this[_0x11542e(0xfa)][_0x11542e(0x10b)][_0x11542e(0x123)](_0x11542e(0x11b)),_0x7e085=[...this[_0x11542e(0xfa)][_0x11542e(0x105)][_0x11542e(0x123)](_0x10135b)[_0x11542e(0x104)]][_0x11542e(0xea)](_0x5afb92=>_0x5afb92[_0x11542e(0xe9)]===_0x15b5cf)[_0x11542e(0xec)](_0x26e6d4=>_0x26e6d4[_0x11542e(0xf5)]<_0x211a58);return _0x7e085<0x0||_0x7e085>this[_0x11542e(0x117)][_0x11542e(0x114)]?this[_0x11542e(0x117)][_0x11542e(0x114)]:_0x7e085-0x1;}[_0x54e71c(0xf2)](){const _0x241608=_0x54e71c,_0x3c39d7=this[_0x241608(0xfa)],_0x3826cd=_0x3c39d7[_0x241608(0x105)][_0x241608(0x123)](_0x241608(0x102));this[_0x241608(0xf4)]||(this[_0x241608(0xf4)]=new _0x3de772(_0x3c39d7[_0x241608(0x122)],this[_0x241608(0x117)])),_0x241608(0x10f)===_0x3826cd['id']?_0x3826cd[_0x241608(0x101)]():_0x3826cd[_0x241608(0xf9)]({'id':_0x241608(0x10f),'title':_0x187987(_0x3c39d7[_0x241608(0x122)],_0x241608(0xed)),'icon':_0x1ab139,'hasCloseButton':!0x0,'content':this[_0x241608(0xf4)],'position':_0x2e1396[_0x241608(0xef)]});}[_0x54e71c(0x11d)](_0x1dd08e,_0x27db04=!0x1){const _0x410374=_0x54e71c,_0x1051bd=this[_0x410374(0xfa)][_0x410374(0x122)],_0x489ccd=new _0x1dd08e(_0x1051bd);return _0x489ccd[_0x410374(0xfe)](_0x410374(0x11f))['to'](this,_0x410374(0x11f)),_0x489ccd[_0x410374(0x115)]({'label':_0x187987(_0x1051bd,_0x410374(0xed)),'icon':_0x1ab139}),_0x27db04&&(_0x489ccd[_0x410374(0x121)]=!0x0),this[_0x410374(0x118)](_0x489ccd,_0x410374(0xee),()=>this[_0x410374(0xf2)]()),_0x489ccd;}}
23
+ const _0x164b44=_0x1310;(function(_0x57a090,_0x58b9c9){const _0x4d7a4e=_0x1310,_0x2b29e4=_0x57a090();while(!![]){try{const _0x131c21=parseInt(_0x4d7a4e(0x107))/0x1+-parseInt(_0x4d7a4e(0x11b))/0x2*(parseInt(_0x4d7a4e(0x124))/0x3)+parseInt(_0x4d7a4e(0x135))/0x4*(parseInt(_0x4d7a4e(0x12d))/0x5)+-parseInt(_0x4d7a4e(0x109))/0x6+-parseInt(_0x4d7a4e(0x119))/0x7*(-parseInt(_0x4d7a4e(0x125))/0x8)+-parseInt(_0x4d7a4e(0x106))/0x9+parseInt(_0x4d7a4e(0x10f))/0xa;if(_0x131c21===_0x58b9c9)break;else _0x2b29e4['push'](_0x2b29e4['shift']());}catch(_0x565911){_0x2b29e4['push'](_0x2b29e4['shift']());}}}(_0x3b01,0xa22d2));import'../../theme/commentsarchive.css';import{Plugin as _0x5bcdd9}from'ckeditor5/src/core.js';import{ViewCollection as _0x286c50,MenuBarMenuListItemButtonView as _0x3012b9,ButtonView as _0x138902,Dialog as _0xe23357,DialogViewPosition as _0xf0cdad}from'ckeditor5/src/ui.js';function _0x3b01(){const _0x122750=['menuBar:commentsArchive','splice','plugins','CommentsArchiveUI','tooltip','10agxBlP','stopListening','requires','componentFactory','Annotations','annotationViews','hide','Dialog','1074212LOCQQv','show','init','channelId','view','set','length','getByInnerView','bind','editor','_calculatePosition','isEnabled','pluginName','add','commentsArchiveView','push','6403347tTDgKw','910768CexBYm','archivedAt','4113414QhQSoY','CommentsRepository','locale','listenTo','get','execute','7594850pFIXQJ','findIndex','COMMENTS_ARCHIVE','innerView','indexOf','_createCommentsArchiveButton','remove','commentsArchive','_pendingThreads','focusableElements','2422zibaRu','EDITOR_TOP_SIDE','2MafkKr','find','config','archivedThreads','_threadToController','collection','isVisible','_toggleDialog','collaboration.channelId','1092039ITVPcp','5040enpzcO','filter','_visibleAnnotations'];_0x3b01=function(){return _0x122750;};return _0x3b01();}function _0x1310(_0x37bdb9,_0x345b91){const _0x3b0117=_0x3b01();return _0x1310=function(_0x13105a,_0x475af6){_0x13105a=_0x13105a-0xfe;let _0x1af86f=_0x3b0117[_0x13105a];return _0x1af86f;},_0x1310(_0x37bdb9,_0x345b91);}import _0x834487 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x3dfcc3}from'../utils/common-translations.js';import _0x46952c from'./ui/view/commentsarchiveview.js';import _0x21a4dd from'./commentsarchive.js';export default class a extends _0x5bcdd9{static get[_0x164b44(0x102)](){const _0x1fd84c=_0x164b44;return _0x1fd84c(0x12b);}static get[_0x164b44(0x12f)](){return[_0x21a4dd,_0xe23357];}constructor(_0x4a81b9){const _0x56bbef=_0x164b44;super(_0x4a81b9),this[_0x56bbef(0x132)]=new _0x286c50(),this[_0x56bbef(0x117)]=[];}[_0x164b44(0x137)](){const _0x445afc=_0x164b44;this[_0x445afc(0xff)]['ui'][_0x445afc(0x130)][_0x445afc(0x103)](_0x445afc(0x116),()=>this[_0x445afc(0x114)](_0x138902,!0x0)),this[_0x445afc(0xff)]['ui'][_0x445afc(0x130)][_0x445afc(0x103)](_0x445afc(0x128),()=>this[_0x445afc(0x114)](_0x3012b9));const _0x4c916c=this[_0x445afc(0xff)][_0x445afc(0x12a)][_0x445afc(0x10d)](_0x21a4dd),_0x46743f=this[_0x445afc(0xff)][_0x445afc(0x12a)][_0x445afc(0x10d)](_0x445afc(0x131)),_0x2398f2=this[_0x445afc(0xff)][_0x445afc(0x12a)][_0x445afc(0x10d)](_0x445afc(0x10a));this[_0x445afc(0x10c)](_0x4c916c[_0x445afc(0x11e)],_0x445afc(0x103),(_0x59d17a,_0x71e4e6)=>{const _0x325652=_0x445afc,_0x3991d4=this[_0x325652(0xff)][_0x325652(0x11d)][_0x325652(0x10d)](_0x325652(0x123));if(!_0x3991d4||_0x71e4e6[_0x325652(0x138)]===_0x3991d4){const _0x34180d=_0x2398f2[_0x325652(0x11f)][_0x325652(0x10d)](_0x71e4e6);if(!_0x34180d)return void this[_0x325652(0x117)][_0x325652(0x105)](_0x71e4e6);const _0x295e52=this[_0x325652(0x100)](_0x71e4e6[_0x325652(0x108)]),_0x2d9058=_0x46743f[_0x325652(0x13c)](_0x34180d[_0x325652(0x139)]);_0x2d9058[_0x325652(0x121)]&&_0x46743f[_0x325652(0x127)][_0x325652(0x115)](_0x2d9058),this[_0x325652(0x132)][_0x325652(0x103)](_0x2d9058[_0x325652(0x139)],_0x295e52);}}),this[_0x445afc(0x10c)](_0x46743f[_0x445afc(0x120)],_0x445afc(0x103),(_0x2eaeb7,_0x1653b1)=>{const _0x6420c4=_0x445afc,_0x42389e=this[_0x6420c4(0x117)][_0x6420c4(0x11c)](_0x507d90=>{const _0xf25b5e=_0x6420c4,_0x1b934a=_0x2398f2[_0xf25b5e(0x11f)][_0xf25b5e(0x10d)](_0x507d90);return _0x1b934a&&_0x1653b1[_0xf25b5e(0x112)]===_0x1b934a[_0xf25b5e(0x139)];});if(_0x42389e){const _0x164a6e=this[_0x6420c4(0x100)](_0x42389e[_0x6420c4(0x108)]);this[_0x6420c4(0x132)][_0x6420c4(0x103)](_0x1653b1[_0x6420c4(0x139)],_0x164a6e),this[_0x6420c4(0x117)][_0x6420c4(0x129)](this[_0x6420c4(0x117)][_0x6420c4(0x113)](_0x42389e),0x1);}}),this[_0x445afc(0x10c)](_0x4c916c[_0x445afc(0x11e)],_0x445afc(0x115),(_0x3e1ed8,_0x53465f)=>{const _0x144b39=_0x445afc,_0x37095b=this[_0x144b39(0xff)][_0x144b39(0x11d)][_0x144b39(0x10d)](_0x144b39(0x123));if(!_0x37095b||_0x53465f[_0x144b39(0x138)]===_0x37095b){const _0x388ef9=_0x2398f2[_0x144b39(0x11f)][_0x144b39(0x10d)](_0x53465f),_0x5451bb=_0x46743f[_0x144b39(0x13c)](_0x388ef9[_0x144b39(0x139)]);this[_0x144b39(0x132)][_0x144b39(0x115)](_0x5451bb[_0x144b39(0x139)]),this[_0x144b39(0x12e)](_0x5451bb[_0x144b39(0x118)]);}});}[_0x164b44(0x100)](_0x29fbce){const _0x350b33=_0x164b44,_0x23262a=this[_0x350b33(0xff)][_0x350b33(0x11d)][_0x350b33(0x10d)](_0x350b33(0x123)),_0x5b6a13=[...this[_0x350b33(0xff)][_0x350b33(0x12a)][_0x350b33(0x10d)](_0x21a4dd)[_0x350b33(0x11e)]][_0x350b33(0x126)](_0x45fd06=>_0x45fd06[_0x350b33(0x138)]===_0x23262a)[_0x350b33(0x110)](_0x4b9e9b=>_0x4b9e9b[_0x350b33(0x108)]<_0x29fbce);return _0x5b6a13<0x0||_0x5b6a13>this[_0x350b33(0x132)][_0x350b33(0x13b)]?this[_0x350b33(0x132)][_0x350b33(0x13b)]:_0x5b6a13-0x1;}[_0x164b44(0x122)](){const _0xb4a8fa=_0x164b44,_0xcc3b34=this[_0xb4a8fa(0xff)],_0xce89d0=_0xcc3b34[_0xb4a8fa(0x12a)][_0xb4a8fa(0x10d)](_0xb4a8fa(0x134));this[_0xb4a8fa(0x104)]||(this[_0xb4a8fa(0x104)]=new _0x46952c(_0xcc3b34[_0xb4a8fa(0x10b)],this[_0xb4a8fa(0x132)])),_0xb4a8fa(0x116)===_0xce89d0['id']?_0xce89d0[_0xb4a8fa(0x133)]():_0xce89d0[_0xb4a8fa(0x136)]({'id':_0xb4a8fa(0x116),'title':_0x3dfcc3(_0xcc3b34[_0xb4a8fa(0x10b)],_0xb4a8fa(0x111)),'icon':_0x834487,'hasCloseButton':!0x0,'content':this[_0xb4a8fa(0x104)],'position':_0xf0cdad[_0xb4a8fa(0x11a)]});}[_0x164b44(0x114)](_0x197e7c,_0x229fd4=!0x1){const _0x23b717=_0x164b44,_0x824e8d=this[_0x23b717(0xff)][_0x23b717(0x10b)],_0x1bd00e=new _0x197e7c(_0x824e8d);return _0x1bd00e[_0x23b717(0xfe)](_0x23b717(0x101))['to'](this,_0x23b717(0x101)),_0x1bd00e[_0x23b717(0x13a)]({'label':_0x3dfcc3(_0x824e8d,_0x23b717(0x111)),'icon':_0x834487}),_0x229fd4&&(_0x1bd00e[_0x23b717(0x12c)]=!0x0),this[_0x23b717(0x10c)](_0x1bd00e,_0x23b717(0x10e),()=>this[_0x23b717(0x122)]()),_0x1bd00e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x413d5b=_0x5c4c;(function(_0x13461d,_0x1030ca){const _0x5618d2=_0x5c4c,_0xb72528=_0x13461d();while(!![]){try{const _0x2e64f2=-parseInt(_0x5618d2(0x1b6))/0x1*(-parseInt(_0x5618d2(0x16c))/0x2)+-parseInt(_0x5618d2(0x158))/0x3+parseInt(_0x5618d2(0x16d))/0x4*(parseInt(_0x5618d2(0x178))/0x5)+parseInt(_0x5618d2(0x1b7))/0x6+parseInt(_0x5618d2(0x172))/0x7+-parseInt(_0x5618d2(0x1b9))/0x8*(-parseInt(_0x5618d2(0x19c))/0x9)+-parseInt(_0x5618d2(0x191))/0xa;if(_0x2e64f2===_0x1030ca)break;else _0xb72528['push'](_0xb72528['shift']());}catch(_0x4be40e){_0xb72528['push'](_0xb72528['shift']());}}}(_0x40c2,0x85719));import{Plugin as _0x1e36e4}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2c892f}from'ckeditor5/src/utils.js';function _0x40c2(){const _0x114619=['state','collaboration.channelId','registerAnnotation','schema','isEqual','isObject','once','hasCommentThread','8975403rvqyzE','isCollapsed','size','getAttribute','set','getAllMarkersForId','change:isReadOnly','plugins','view','_initializeMarkerConverters','addCommentThread','switchReadOnly','markerToHighlight','_threads','newRange','pluginName','for','substring','delete','LEAVE_COMMENT_ANNOUNCEMENT','unlinkedAt','destroy','createElement','_detachCommentThread','ck-comment-marker--active','clear','703fyrqjN','2529168lhXWQv','text','8hNNtUG','isLocal','add','upcast','requires','getCommentThread','editor','managedUsingOperations','editingDowncast','_initAriaMarkerChangeAnnouncements','_getTargetForId','createPositionBefore','change:activeMarker','context','announce','model','destroyed','conversion','ready','registerPostFixer','render','locale','_threadToController','openNewCommentThread','ck-comment-marker','consumable','getCommentThreads','hasContent','markers','push','setUnlinkedAt','group','ENTER_COMMENT_ANNOUNCEMENT','setContext','name','focus','dataDowncast','end','consume','root','_handleMarkerAddAndRemove','low','isThreadsLoadingPaused','removeMarker:','item','removeCommentThread','change','isAttached','data','comment','$graveyard','_attachArchivedThread','447882YerVMG','listenTo','$marker','hasMarkerForId','document','resolveCommentThread','getWalker','activeMarker','refreshVisibility','removeMarker','markerToData','_getTextContext','reopenCommentThread','ariaLiveAnnouncer','length','_attachMarkerToThread','enqueueChange','rootName','init','addMarker:','3106cMUcdC','12mHZPjJ','markerName','createRange','attachTo','comment:','6215370RSojJe','then','startsWith','start','from','dataToMarker','1011175DMUTmr','addComment','editing','hasDomSelection','_handleThreadMarker','split','getByInnerView','_hasTargetInContent','config','fetchCommentThread','getRange','getChangedMarkers','$textProxy','CommentsEditing','scrollToThreadMarker','commands','get','elementToElement','affectsData','updateMarker','_reconvertMarkers','ignoreResolvedComments','change:isThreadsLoadingPaused','isResolved','differ','33092900ExVFJu','reconvertMarker','getItems'];_0x40c2=function(){return _0x114619;};return _0x40c2();}import _0x422633 from'./commentsrepository.js';import _0x41fa9e from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x14af33,getAllMarkersDomElementsSorted as _0x3c38f3}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x35af16 from'../annotations/editorannotations.js';import _0x53c468 from'./integrations/commentsrestrictededitingmode.js';function _0x5c4c(_0x57782,_0x4fe06c){const _0x40c25c=_0x40c2();return _0x5c4c=function(_0x5c4c2a,_0xa7a540){_0x5c4c2a=_0x5c4c2a-0x134;let _0x96bb2e=_0x40c25c[_0x5c4c2a];return _0x96bb2e;},_0x5c4c(_0x57782,_0x4fe06c);}import _0x52ae84 from'./integrations/importword.js';import _0x346479 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x1ec220 from'../annotations/annotations.js';import{getTranslation as _0x52ff04}from'../utils/common-translations.js';export default class r extends _0x1e36e4{static get[_0x413d5b(0x1bd)](){return[_0x422633,_0x35af16,_0x53c468,_0x52ae84,_0x346479];}static get[_0x413d5b(0x1ab)](){const _0x2f7f22=_0x413d5b;return _0x2f7f22(0x185);}constructor(_0x1cb6e3){const _0x416249=_0x413d5b;super(_0x1cb6e3),this[_0x416249(0x1a0)](_0x416249(0x14e),!0x0),_0x1cb6e3[_0x416249(0x154)][_0x416249(0x19a)](_0x416249(0x136),()=>this[_0x416249(0x14e)]=!0x1),this[_0x416249(0x1a0)](_0x416249(0x15f),null),this['on'](_0x416249(0x1c5),(_0x1da506,_0x422b3b,_0x3c8aef,_0x396ad2)=>{const _0x588d4e=_0x416249,_0x269313=_0x3c8aef?it(_0x3c8aef)['id']:null;if(_0x1cb6e3[_0x588d4e(0x1c8)][_0x588d4e(0x152)](()=>{const _0x93151f=_0x588d4e;if(_0x269313){const _0x2ba948=this[_0x93151f(0x1a1)](_0x269313);for(const _0x4c26b8 of _0x2ba948)_0x1cb6e3[_0x93151f(0x17a)][_0x93151f(0x192)](_0x4c26b8);}if(_0x396ad2){const {id:_0x57c60f}=it(_0x396ad2),_0x4b72d7=this[_0x93151f(0x1a1)](_0x57c60f);for(const _0x2a63b4 of _0x4b72d7)_0x1cb6e3[_0x93151f(0x17a)][_0x93151f(0x192)](_0x2a63b4);}}),_0x269313){const _0xf2a1c4=_0x1cb6e3[_0x588d4e(0x1a3)][_0x588d4e(0x188)](_0x422633)[_0x588d4e(0x1be)](_0x269313);_0xf2a1c4&&_0xf2a1c4[_0x588d4e(0x18f)]&&this[_0x588d4e(0x186)](_0x269313);}}),this[_0x416249(0x1c2)]();}[_0x413d5b(0x16a)](){const _0x351f30=_0x413d5b,_0x5d1e37=this[_0x351f30(0x1bf)],_0x3965d2=_0x5d1e37[_0x351f30(0x1a3)][_0x351f30(0x188)](_0x422633),_0x40dc1c=_0x5d1e37[_0x351f30(0x180)][_0x351f30(0x188)](_0x351f30(0x195));_0x5d1e37[_0x351f30(0x187)][_0x351f30(0x1bb)](_0x351f30(0x1a6),new _0x41fa9e(_0x5d1e37)),this[_0x351f30(0x159)](_0x5d1e37,_0x351f30(0x1a2),(_0x56b530,_0x2c60a0,_0x6c73de)=>{const _0x550c6d=_0x351f30;_0x3965d2[_0x550c6d(0x1a7)](_0x6c73de,_0x5d1e37[_0x550c6d(0x180)][_0x550c6d(0x188)](_0x550c6d(0x195)));}),this[_0x351f30(0x159)](_0x3965d2,nt(_0x351f30(0x1a6),_0x40dc1c),(_0x437d42,{threadId:_0x3f7ce3})=>{const _0x105090=_0x351f30,_0x12ed1b=this[_0x105090(0x1bf)][_0x105090(0x1a3)][_0x105090(0x188)](_0x422633)[_0x105090(0x1be)](_0x3f7ce3);_0x12ed1b&&_0x12ed1b[_0x105090(0x1b0)]&&this[_0x105090(0x157)](_0x3f7ce3);}),this[_0x351f30(0x159)](_0x3965d2,nt(_0x351f30(0x151),_0x40dc1c),(_0x3c47cf,{threadId:_0x2cd67b})=>{const _0xb3bc13=_0x351f30;_0x5d1e37[_0xb3bc13(0x1c8)][_0xb3bc13(0x168)]({'isUndoable':!0x1},_0xeee162=>{const _0x4d1196=_0xb3bc13,_0x2711de=this[_0x4d1196(0x1a1)](_0x2cd67b);for(const _0xeb9f9 of _0x2711de)_0xeee162[_0x4d1196(0x161)](_0xeb9f9);});}),this[_0x351f30(0x159)](_0x3965d2,nt(_0x351f30(0x15d),_0x40dc1c),(_0x5a8313,{threadId:_0x598f0a})=>{const _0x542bd9=_0x351f30;(this[_0x542bd9(0x18c)](_0x598f0a),this[_0x542bd9(0x1bf)][_0x542bd9(0x17a)][_0x542bd9(0x1a4)][_0x542bd9(0x17b)])&&(this[_0x542bd9(0x1bf)][_0x542bd9(0x1a3)][_0x542bd9(0x188)](_0x422633)[_0x542bd9(0x1be)](_0x598f0a)[_0x542bd9(0x1b0)]||this[_0x542bd9(0x1bf)][_0x542bd9(0x17a)][_0x542bd9(0x1a4)][_0x542bd9(0x147)]());},{'priority':_0x351f30(0x14d)}),this[_0x351f30(0x159)](_0x3965d2,nt(_0x351f30(0x164),_0x40dc1c),(_0x309615,{threadId:_0x2db26c})=>{const _0x5afc3b=_0x351f30;this[_0x5afc3b(0x18c)](_0x2db26c);},{'priority':_0x351f30(0x14d)}),this[_0x351f30(0x159)](_0x3965d2,nt(_0x351f30(0x179),_0x40dc1c),(_0x3f0d0a,{threadId:_0x909b7d,isFromAdapter:_0x51f889})=>{const _0x1dcef9=_0x351f30,_0x107e81=this[_0x1dcef9(0x1a1)](_0x909b7d);if(_0x51f889||0x0==_0x107e81[_0x1dcef9(0x166)]||!_0x3965d2[_0x1dcef9(0x19b)](_0x909b7d))return;0x1===_0x3965d2[_0x1dcef9(0x1be)](_0x909b7d)[_0x1dcef9(0x166)]&&_0x5d1e37[_0x1dcef9(0x1c8)][_0x1dcef9(0x168)]({'isUndoable':!0x1},_0x247226=>{const _0x4af9db=_0x1dcef9;for(const _0x4df0c0 of _0x107e81)_0x247226[_0x4af9db(0x18b)](_0x4df0c0,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x351f30(0x14d)}),this[_0x351f30(0x1a5)](),this[_0x351f30(0x14c)]();}[_0x413d5b(0x1b1)](){const _0x544168=_0x413d5b,_0x48d571=this[_0x544168(0x1bf)][_0x544168(0x1a3)][_0x544168(0x188)](_0x422633),_0x350557=this[_0x544168(0x1bf)][_0x544168(0x180)][_0x544168(0x188)](_0x544168(0x195));for(const _0x2f54ed of _0x48d571[_0x544168(0x13e)]({'channelId':_0x350557}))_0x48d571[_0x544168(0x1b3)](_0x2f54ed['id']),_0x48d571[_0x544168(0x1a9)][_0x544168(0x1ae)](_0x2f54ed['id']);super[_0x544168(0x1b1)]();}[_0x413d5b(0x15b)](_0x4c7707){const _0x556b58=_0x413d5b;return this[_0x556b58(0x1a1)](_0x4c7707)[_0x556b58(0x166)]>0x0;}[_0x413d5b(0x1a1)](_0xddef2e){const _0x91df63=_0x413d5b,_0x2f09ba=[];for(const _0x2cb310 of this[_0x91df63(0x1bf)][_0x91df63(0x1c8)][_0x91df63(0x140)])_0x2cb310[_0x91df63(0x146)][_0x91df63(0x174)](_0x91df63(0x171)+_0xddef2e)&&_0x2f09ba[_0x91df63(0x141)](_0x2cb310);return _0x2f09ba;}[_0x413d5b(0x186)](_0x27560f){const _0x125eb0=_0x413d5b,_0x4a43f0=this[_0x125eb0(0x1c3)](_0x27560f);_0x4a43f0&&setTimeout(()=>{const _0x52263c=_0x125eb0;this[_0x52263c(0x15f)]&&it(this[_0x52263c(0x15f)])['id']===_0x27560f&&_0x2c892f({'target':_0x4a43f0[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x413d5b(0x18c)](_0x1c1265){const _0xd9d458=_0x413d5b;this[_0xd9d458(0x1bf)][_0xd9d458(0x1c8)][_0xd9d458(0x152)](()=>{const _0x12d488=_0xd9d458;for(const _0x428570 of this[_0x12d488(0x1a1)](_0x1c1265))this[_0x12d488(0x1bf)][_0x12d488(0x17a)][_0x12d488(0x192)](_0x428570);});}[_0x413d5b(0x157)](_0x3f0def){const _0x299668=_0x413d5b,_0x2ce3b2=this[_0x299668(0x1bf)][_0x299668(0x1a3)][_0x299668(0x188)](_0x422633),_0x59ec78=this[_0x299668(0x1bf)][_0x299668(0x1a3)][_0x299668(0x188)](_0x35af16),_0x21f223=_0x2ce3b2[_0x299668(0x1be)](_0x3f0def);if(!_0x21f223[_0x299668(0x153)]){const _0x12f075=_0x21f223[_0x299668(0x170)](()=>this[_0x299668(0x1c3)](_0x21f223['id']));_0x59ec78[_0x299668(0x196)](_0x12f075),_0x21f223[_0x299668(0x17f)]=!0x1;}}[_0x413d5b(0x1a5)](){const _0x333f7f=_0x413d5b,_0x875409=this[_0x333f7f(0x1bf)];_0x875409[_0x333f7f(0x135)][_0x333f7f(0x1ac)](_0x333f7f(0x1c1))[_0x333f7f(0x1a8)]({'model':_0x333f7f(0x155),'view':(_0x22e99d,_0x49c4d1)=>{const _0x10aa64=_0x333f7f,{id:_0x1b00d9}=it(_0x22e99d[_0x10aa64(0x16e)]),_0x205fe1=_0x875409[_0x10aa64(0x1a3)][_0x10aa64(0x188)](_0x422633)[_0x10aa64(0x1be)](_0x1b00d9),_0x4e959d=this[_0x10aa64(0x15f)]&&it(this[_0x10aa64(0x15f)])['id']===_0x1b00d9;if(_0x205fe1&&_0x205fe1[_0x10aa64(0x18f)]&&!_0x4e959d&&_0x22e99d[_0x10aa64(0x150)])return _0x49c4d1[_0x10aa64(0x13d)][_0x10aa64(0x14a)](_0x22e99d[_0x10aa64(0x150)],_0x10aa64(0x16b)+_0x22e99d[_0x10aa64(0x16e)]),_0x49c4d1[_0x10aa64(0x13d)][_0x10aa64(0x14a)](_0x22e99d[_0x10aa64(0x150)],_0x10aa64(0x14f)+_0x22e99d[_0x10aa64(0x16e)]),null;const _0x10ee14=[_0x10aa64(0x13c)];return _0x4e959d&&_0x10ee14[_0x10aa64(0x141)](_0x10aa64(0x1b4)),{'classes':_0x10ee14,'attributes':{'data-comment':_0x1b00d9}};}}),_0x875409[_0x333f7f(0x135)][_0x333f7f(0x1ac)](_0x333f7f(0x148))[_0x333f7f(0x162)]({'model':_0x333f7f(0x155),'view':(_0x289775,{options:_0x3c130f})=>{const _0x409b1e=_0x333f7f,_0x153a1a=_0x875409[_0x409b1e(0x1a3)][_0x409b1e(0x188)](_0x422633),_0x205176=_0x875409[_0x409b1e(0x1c8)][_0x409b1e(0x140)][_0x409b1e(0x188)](_0x289775),{id:_0x46ec10,part:_0x171f7a}=it(_0x289775);if(_0x205176&&!_0x205176[_0x409b1e(0x18a)])return null;if(_0x3c130f[_0x409b1e(0x18d)]){const _0x346108=_0x153a1a[_0x409b1e(0x1be)](_0x46ec10);if(_0x346108&&_0x346108[_0x409b1e(0x18f)])return null;}return{'group':_0x409b1e(0x155),'name':_0x171f7a?_0x46ec10+':'+_0x171f7a:_0x46ec10};}}),_0x875409[_0x333f7f(0x135)][_0x333f7f(0x1ac)](_0x333f7f(0x1bc))[_0x333f7f(0x189)]({'view':{'name':_0x333f7f(0x155),'attributes':{'id':/^\w/}},'model':(_0x3cafac,{writer:_0x40bd37})=>_0x40bd37[_0x333f7f(0x1b2)](_0x333f7f(0x15a),{'data-name':_0x333f7f(0x171)+_0x3cafac[_0x333f7f(0x19f)]('id')})}),_0x875409[_0x333f7f(0x135)][_0x333f7f(0x1ac)](_0x333f7f(0x1bc))[_0x333f7f(0x177)]({'view':_0x333f7f(0x155)});}[_0x413d5b(0x14c)](){const _0x5578f4=_0x413d5b,_0x353c9e=this[_0x5578f4(0x1bf)],_0x3cfcc4=_0x353c9e[_0x5578f4(0x1a3)][_0x5578f4(0x188)](_0x422633),_0x32568f=new Set(),_0x1d70a8=new Set();_0x353c9e[_0x5578f4(0x1c8)][_0x5578f4(0x15c)][_0x5578f4(0x137)](_0x1e1f20=>{const _0x61f862=_0x5578f4;let _0x448210=!0x1;for(const {name:_0x32a679,data:_0x4d45f6}of _0x353c9e[_0x61f862(0x1c8)][_0x61f862(0x15c)][_0x61f862(0x190)][_0x61f862(0x183)]()){const {group:_0x21a438,id:_0x2ce307}=it(_0x32a679);let _0x10f54c=_0x4d45f6[_0x61f862(0x1aa)];if(_0x61f862(0x155)!==_0x21a438||!_0x10f54c)continue;const _0xc1aa88=_0x61f862(0x156)===_0x10f54c[_0x61f862(0x14b)][_0x61f862(0x169)];_0xc1aa88||(_0x10f54c=st(_0x10f54c,_0x353c9e[_0x61f862(0x1c8)]),!_0x10f54c||_0x10f54c[_0x61f862(0x19d)]||!_0x4d45f6[_0x61f862(0x1aa)]||_0x10f54c[_0x61f862(0x198)](_0x4d45f6[_0x61f862(0x1aa)]))?_0x353c9e[_0x61f862(0x1c8)][_0x61f862(0x13f)](_0x10f54c)&&!_0xc1aa88?this[_0x61f862(0x14e)]?_0x32568f[_0x61f862(0x1bb)](_0x32a679):this[_0x61f862(0x17c)](_0x32a679,_0x2ce307):(_0x1d70a8[_0x61f862(0x1bb)](_0x32a679),_0x32568f[_0x61f862(0x1ae)](_0x32a679),_0x1e1f20[_0x61f862(0x161)](_0x32a679),_0x448210=!0x0):(_0x1e1f20[_0x61f862(0x18b)](_0x32a679,{'range':_0x10f54c}),_0x448210=!0x0);}return _0x448210;}),this['on'](_0x5578f4(0x18e),(_0x25671d,_0x346382,_0x1ca795)=>{const _0x44924c=_0x5578f4;if(!_0x1ca795&&_0x32568f[_0x44924c(0x19e)])for(const _0x3b1f8f of _0x32568f){const {id:_0x5cd6e6}=it(_0x3b1f8f);_0x32568f[_0x44924c(0x1ae)](_0x3b1f8f),_0x353c9e[_0x44924c(0x1c8)][_0x44924c(0x140)][_0x44924c(0x188)](_0x3b1f8f)&&this[_0x44924c(0x17c)](_0x3b1f8f,_0x5cd6e6);}}),this[_0x5578f4(0x159)](_0x353c9e[_0x5578f4(0x1c8)][_0x5578f4(0x15c)],_0x5578f4(0x152),(_0x170da2,_0x4782b2)=>{const _0x3276f7=_0x5578f4;for(const {name:_0x54a94f,data:{newRange:_0x5e386a}}of _0x353c9e[_0x3276f7(0x1c8)][_0x3276f7(0x15c)][_0x3276f7(0x190)][_0x3276f7(0x183)]()){const {group:_0x53557e,id:_0x1a75a8}=it(_0x54a94f);if(_0x3276f7(0x155)!==_0x53557e)continue;const _0x250003=_0x3cfcc4[_0x3276f7(0x1be)](_0x1a75a8),_0x549404=this[_0x3276f7(0x15b)](_0x1a75a8);_0x250003&&(_0x250003[_0x3276f7(0x17f)]||_0x353c9e[_0x3276f7(0x17a)][_0x3276f7(0x1a4)][_0x3276f7(0x19a)](_0x3276f7(0x138),()=>{const _0x4126dc=_0x3276f7,_0x2fd7fa=_0x353c9e[_0x4126dc(0x1a3)][_0x4126dc(0x188)](_0x1ec220),_0xae08e3=_0x3cfcc4[_0x4126dc(0x13a)][_0x4126dc(0x188)](_0x250003)[_0x4126dc(0x1a4)];_0x2fd7fa[_0x4126dc(0x17e)](_0xae08e3)[_0x4126dc(0x160)]();},{'priority':_0x3276f7(0x14d)}),_0x250003[_0x3276f7(0x17f)]=_0x549404||!!_0x5e386a),_0x5e386a||(_0x1d70a8[_0x3276f7(0x1bb)](_0x54a94f),_0x32568f[_0x3276f7(0x1ae)](_0x54a94f));}if(_0x4782b2[_0x3276f7(0x1ba)])for(const _0x3908ca of _0x1d70a8){const {id:_0x3468bf}=it(_0x3908ca),_0x3abe8e=_0x3cfcc4[_0x3276f7(0x1be)](_0x3468bf),_0x5b9544=this[_0x3276f7(0x15b)](_0x3468bf);_0x32568f[_0x3276f7(0x1ae)](_0x3908ca),!_0x3abe8e||_0x5b9544||_0x3abe8e[_0x3276f7(0x1b0)]||_0x3abe8e[_0x3276f7(0x142)](new Date());}_0x1d70a8[_0x3276f7(0x1b5)]();});}[_0x413d5b(0x1c3)](_0x3131f1){const _0x248e95=_0x413d5b,_0x6970f2=this[_0x248e95(0x1bf)],_0x513d15=this[_0x248e95(0x1a1)](_0x3131f1);return _0x3c38f3(_0x6970f2[_0x248e95(0x17a)],_0x513d15);}[_0x413d5b(0x163)](_0x3bca17){const _0x29e2f1=_0x413d5b,_0x985055=this[_0x29e2f1(0x1a1)](_0x3bca17);let _0x3d43c1='',_0x5896e4=!0x1;for(const _0x44275b of _0x985055){const _0x53d8fb=_0x44275b[_0x29e2f1(0x182)]();for(const _0x5c812b of Array[_0x29e2f1(0x176)](_0x53d8fb[_0x29e2f1(0x193)]()))_0x5c812b['is'](_0x29e2f1(0x184))?(_0x3d43c1&&_0x5896e4&&(_0x3d43c1+='\x20',_0x5896e4=!0x1),_0x3d43c1+=_0x5c812b[_0x29e2f1(0x154)]):_0x5896e4=!0x0;_0x5896e4=!0x0;}return _0x3d43c1[_0x29e2f1(0x1ad)](0x0,0x96);}[_0x413d5b(0x167)](_0x32be4d,_0x4fd954){const _0x5c4a08=_0x413d5b,_0x586649=this[_0x5c4a08(0x1bf)],_0x5ad5bc=_0x586649[_0x5c4a08(0x1a3)][_0x5c4a08(0x188)](_0x422633);let _0x1842f3=_0x5ad5bc[_0x5c4a08(0x1be)](_0x4fd954);const _0x229d3e=_0x586649[_0x5c4a08(0x180)][_0x5c4a08(0x188)](_0x5c4a08(0x195)),_0x35d6a4=_0x586649[_0x5c4a08(0x1a3)][_0x5c4a08(0x188)](_0x35af16);if(_0x1842f3&&(_0x1842f3[_0x5c4a08(0x1b0)]&&_0x1842f3[_0x5c4a08(0x142)](null),_0x1842f3[_0x5c4a08(0x153)]))return _0x1842f3;return!this[_0x5c4a08(0x1a1)](_0x4fd954)[0x0][_0x5c4a08(0x1c0)]?_0x586649[_0x5c4a08(0x17a)][_0x5c4a08(0x1a4)][_0x5c4a08(0x19a)](_0x5c4a08(0x138),()=>{const _0x16b428=_0x5c4a08;if(_0x5ad5bc[_0x16b428(0x1be)](_0x4fd954))return;const _0x28be26=_0x586649[_0x16b428(0x1a3)][_0x16b428(0x188)](_0x1ec220);_0x1842f3=_0x5ad5bc[_0x16b428(0x13b)]({'channelId':_0x229d3e,'threadId':_0x4fd954,'target':()=>this[_0x16b428(0x1c3)](_0x4fd954),'context':{'type':_0x16b428(0x1b8),'value':this[_0x16b428(0x163)](_0x4fd954)}});const _0x4b2ea0=_0x5ad5bc[_0x16b428(0x13a)][_0x16b428(0x188)](_0x1842f3)[_0x16b428(0x1a4)],_0x252319=_0x28be26[_0x16b428(0x17e)](_0x4b2ea0);_0x252319&&_0x35d6a4[_0x16b428(0x196)](_0x252319);},{'priority':_0x5c4a08(0x14d)}):_0x5ad5bc[_0x5c4a08(0x181)]({'channelId':_0x229d3e,'threadId':_0x4fd954})[_0x5c4a08(0x173)](_0x430327=>{const _0x2eba1d=_0x5c4a08;if(_0x2eba1d(0x134)!==_0x586649[_0x2eba1d(0x194)]){if(_0x1842f3=_0x430327,_0x1842f3&&!_0x1842f3[_0x2eba1d(0x153)]){const _0x5a2ca3=_0x1842f3[_0x2eba1d(0x170)](()=>this[_0x2eba1d(0x1c3)](_0x4fd954));_0x35d6a4[_0x2eba1d(0x196)](_0x5a2ca3),_0x1842f3[_0x2eba1d(0x18f)]&&this[_0x2eba1d(0x18c)](_0x4fd954);}else{if(!_0x1842f3){const _0x3c81ce=this[_0x2eba1d(0x1a1)](_0x4fd954);_0x586649[_0x2eba1d(0x1c8)][_0x2eba1d(0x152)](_0x406207=>{const _0x556bce=_0x2eba1d;for(const _0x3dfe31 of _0x3c81ce)_0x406207[_0x556bce(0x161)](_0x3dfe31);});}}}}),_0x1842f3;}[_0x413d5b(0x17c)](_0x326451,_0x3c7821){const _0x2f2c10=_0x413d5b,_0x18a2b1=this[_0x2f2c10(0x167)](_0x326451,_0x3c7821);_0x18a2b1&&!_0x18a2b1[_0x2f2c10(0x1c6)]&&_0x18a2b1[_0x2f2c10(0x145)]({'type':_0x2f2c10(0x1b8),'value':this[_0x2f2c10(0x163)](_0x3c7821)});}[_0x413d5b(0x1c2)](){const _0x5a6c21=_0x413d5b,_0x18df26=this[_0x5a6c21(0x1bf)];_0x14af33(_0x18df26[_0x5a6c21(0x1c8)],({left:_0x47ab8b,entered:_0x7cc4ce})=>{const _0x1473cd=_0x5a6c21;for(const _0x57062e of _0x47ab8b)if(at(_0x57062e)){_0x18df26['ui'][_0x1473cd(0x165)][_0x1473cd(0x1c7)](_0x52ff04(_0x18df26[_0x1473cd(0x139)],_0x1473cd(0x1af)));break;}for(const _0x48fc04 of _0x7cc4ce)if(at(_0x48fc04)){_0x18df26['ui'][_0x1473cd(0x165)][_0x1473cd(0x1c7)](_0x52ff04(_0x18df26[_0x1473cd(0x139)],_0x1473cd(0x144)));break;}});}}function nt(_0x34f916,_0x53076d){return _0x53076d?_0x34f916+':'+_0x53076d:_0x34f916;}function it(_0x2869b2){const _0x28c485=_0x413d5b,_0x25dd87=_0x2869b2[_0x28c485(0x17d)](':');return{'group':_0x25dd87[0x0],'id':_0x25dd87[0x1],'part':_0x25dd87[0x2]};}function st(_0x3403fe,_0x3fcb12){const _0x2e8d80=_0x413d5b,_0x35fb36=_0x3fcb12[_0x2e8d80(0x197)],_0x287153=_0x3fcb12[_0x2e8d80(0x16f)](_0x3403fe[_0x2e8d80(0x175)]);for(const _0x176c06 of _0x3403fe[_0x2e8d80(0x15e)]()){const {type:_0x5b4da8,item:_0x39a1b8,nextPosition:_0x28cd6a}=_0x176c06;if(_0x2e8d80(0x1b8)===_0x5b4da8||_0x35fb36[_0x2e8d80(0x199)](_0x39a1b8)){const _0x2f4f79=_0x3fcb12[_0x2e8d80(0x1c4)](_0x39a1b8);_0x287153[_0x2e8d80(0x19d)]&&(_0x287153[_0x2e8d80(0x175)]=_0x2f4f79),_0x287153[_0x2e8d80(0x149)]=_0x28cd6a;}}return _0x287153;}function at(_0x3ae21a){const _0x4ad2f6=_0x413d5b;return _0x4ad2f6(0x155)===it(_0x3ae21a[_0x4ad2f6(0x146)])[_0x4ad2f6(0x143)];}
23
+ const _0x29f48b=_0x1944;(function(_0x534e61,_0x106ef8){const _0x4d807e=_0x1944,_0x355acd=_0x534e61();while(!![]){try{const _0x4c32bc=-parseInt(_0x4d807e(0x1d3))/0x1*(parseInt(_0x4d807e(0x1a7))/0x2)+-parseInt(_0x4d807e(0x1b4))/0x3+-parseInt(_0x4d807e(0x1dc))/0x4*(parseInt(_0x4d807e(0x1a6))/0x5)+parseInt(_0x4d807e(0x1e1))/0x6+parseInt(_0x4d807e(0x17a))/0x7*(-parseInt(_0x4d807e(0x1d8))/0x8)+parseInt(_0x4d807e(0x1d6))/0x9+-parseInt(_0x4d807e(0x1d7))/0xa*(-parseInt(_0x4d807e(0x17e))/0xb);if(_0x4c32bc===_0x106ef8)break;else _0x355acd['push'](_0x355acd['shift']());}catch(_0x134f88){_0x355acd['push'](_0x355acd['shift']());}}}(_0x4416,0x2be4d));import{Plugin as _0x333e8b}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2129ad}from'ckeditor5/src/utils.js';import _0x1233f9 from'./commentsrepository.js';import _0x3c7123 from'./addcommentthreadcommand.js';function _0x1944(_0x284618,_0x3c8cc8){const _0x441644=_0x4416();return _0x1944=function(_0x19445e,_0x4a651f){_0x19445e=_0x19445e-0x175;let _0x42ec16=_0x441644[_0x19445e];return _0x42ec16;},_0x1944(_0x284618,_0x3c8cc8);}import{surroundingMarkersDetector as _0x5bfca0,getAllMarkersDomElementsSorted as _0x504977}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xd47f8c from'../annotations/editorannotations.js';import _0x42bc84 from'./integrations/commentsrestrictededitingmode.js';import _0x3fff0b from'./integrations/importword.js';import _0x368fab from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x59f82f from'../annotations/annotations.js';function _0x4416(){const _0x1b28dd=['state','from','_hasTargetInContent','destroy','setUnlinkedAt','then','group','plugins','hasDomSelection','getAllMarkersForId','switchReadOnly','view','consumable','_handleMarkerAddAndRemove','fetchCommentThread','isCollapsed','pluginName','render','rootName','_threadToController','addCommentThread','removeMarker','comment:','comment','markerName','requires','size','_attachMarkerToThread','change:activeMarker','getCommentThread','_initAriaMarkerChangeAnnouncements','ck-comment-marker--active','once','context','isThreadsLoadingPaused','getChangedMarkers','removeMarker:','_handleThreadMarker','getAttribute','get','setContext','editor','hasContent','reconvertMarker','1183LTHRBJ','_reconvertMarkers','substring','listenTo','10637VlDxaE','affectsData','$textProxy','activeMarker','createRange','resolveCommentThread','isAttached','announce','scrollToThreadMarker','data','ignoreResolvedComments','addComment','focus','startsWith','_attachArchivedThread','createPositionBefore','registerPostFixer','managedUsingOperations','root','getRange','end','LEAVE_COMMENT_ANNOUNCEMENT','enqueueChange','length','conversion','addMarker:','CommentsEditing','document','isObject','delete','config','elementToElement','for','$graveyard','set','low','markerToData','$marker','getCommentThreads','_getTextContext','160GBCBwx','18UIrxbr','commands','model','start','collaboration.channelId','unlinkedAt','dataToMarker','differ','getByInnerView','_detachCommentThread','registerAnnotation','getItems','updateMarker','794163pOkBJT','change','name','dataDowncast','ENTER_COMMENT_ANNOUNCEMENT','consume','upcast','hasCommentThread','_getTargetForId','reopenCommentThread','_initializeMarkerConverters','text','split','isLocal','init','editingDowncast','ck-comment-marker','removeCommentThread','push','isResolved','destroyed','change:isThreadsLoadingPaused','createElement','newRange','item','_threads','locale','markerToHighlight','ready','hasMarkerForId','openNewCommentThread','4077VAEXyn','getWalker','schema','396873NIpzeW','5310kkPcdy','10280wfzZLg','clear','refreshVisibility','change:isReadOnly','5084GmekPf','ariaLiveAnnouncer','attachTo','editing','markers','1088796GENkeG','isEqual','add'];_0x4416=function(){return _0x1b28dd;};return _0x4416();}import{getTranslation as _0x1094e7}from'../utils/common-translations.js';export default class r extends _0x333e8b{static get[_0x29f48b(0x1fd)](){return[_0x1233f9,_0xd47f8c,_0x42bc84,_0x3fff0b,_0x368fab];}static get[_0x29f48b(0x1f4)](){const _0xf3fded=_0x29f48b;return _0xf3fded(0x198);}constructor(_0x328658){const _0xaaa20e=_0x29f48b;super(_0x328658),this[_0xaaa20e(0x1a0)](_0xaaa20e(0x206),!0x0),_0x328658[_0xaaa20e(0x187)][_0xaaa20e(0x204)](_0xaaa20e(0x1d0),()=>this[_0xaaa20e(0x206)]=!0x1),this[_0xaaa20e(0x1a0)](_0xaaa20e(0x181),null),this['on'](_0xaaa20e(0x200),(_0x3aaac1,_0x162eaf,_0x5a9073,_0x3a4a8d)=>{const _0x2ac569=_0xaaa20e,_0x2260bf=_0x5a9073?it(_0x5a9073)['id']:null;if(_0x328658[_0x2ac569(0x1a9)][_0x2ac569(0x1b5)](()=>{const _0x519851=_0x2ac569;if(_0x2260bf){const _0x2f1618=this[_0x519851(0x1ed)](_0x2260bf);for(const _0x213acb of _0x2f1618)_0x328658[_0x519851(0x1df)][_0x519851(0x179)](_0x213acb);}if(_0x3a4a8d){const {id:_0x4662a2}=it(_0x3a4a8d),_0x64b257=this[_0x519851(0x1ed)](_0x4662a2);for(const _0x3ca528 of _0x64b257)_0x328658[_0x519851(0x1df)][_0x519851(0x179)](_0x3ca528);}}),_0x2260bf){const _0x2bed5e=_0x328658[_0x2ac569(0x1eb)][_0x2ac569(0x175)](_0x1233f9)[_0x2ac569(0x201)](_0x2260bf);_0x2bed5e&&_0x2bed5e[_0x2ac569(0x1c7)]&&this[_0x2ac569(0x186)](_0x2260bf);}}),this[_0xaaa20e(0x202)]();}[_0x29f48b(0x1c2)](){const _0x25277e=_0x29f48b,_0x39ae08=this[_0x25277e(0x177)],_0x22773d=_0x39ae08[_0x25277e(0x1eb)][_0x25277e(0x175)](_0x1233f9),_0x3578d7=_0x39ae08[_0x25277e(0x19c)][_0x25277e(0x175)](_0x25277e(0x1ab));_0x39ae08[_0x25277e(0x1a8)][_0x25277e(0x1e3)](_0x25277e(0x1f8),new _0x3c7123(_0x39ae08)),this[_0x25277e(0x17d)](_0x39ae08,_0x25277e(0x1db),(_0xb75f98,_0x159085,_0x30d34e)=>{const _0x2cbbb2=_0x25277e;_0x22773d[_0x2cbbb2(0x1ee)](_0x30d34e,_0x39ae08[_0x2cbbb2(0x19c)][_0x2cbbb2(0x175)](_0x2cbbb2(0x1ab)));}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x1f8),_0x3578d7),(_0x304773,{threadId:_0x42c509})=>{const _0xe3aa5d=_0x25277e,_0x3f641a=this[_0xe3aa5d(0x177)][_0xe3aa5d(0x1eb)][_0xe3aa5d(0x175)](_0x1233f9)[_0xe3aa5d(0x201)](_0x42c509);_0x3f641a&&_0x3f641a[_0xe3aa5d(0x1ac)]&&this[_0xe3aa5d(0x18c)](_0x42c509);}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x1c5),_0x3578d7),(_0x2c72f9,{threadId:_0x2f7672})=>{const _0x333045=_0x25277e;_0x39ae08[_0x333045(0x1a9)][_0x333045(0x194)]({'isUndoable':!0x1},_0x19253d=>{const _0x2b56a4=_0x333045,_0x2251d9=this[_0x2b56a4(0x1ed)](_0x2f7672);for(const _0x43946d of _0x2251d9)_0x19253d[_0x2b56a4(0x1f9)](_0x43946d);});}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x183),_0x3578d7),(_0x356579,{threadId:_0x4ca656})=>{const _0xa806b8=_0x25277e;(this[_0xa806b8(0x17b)](_0x4ca656),this[_0xa806b8(0x177)][_0xa806b8(0x1df)][_0xa806b8(0x1ef)][_0xa806b8(0x1ec)])&&(this[_0xa806b8(0x177)][_0xa806b8(0x1eb)][_0xa806b8(0x175)](_0x1233f9)[_0xa806b8(0x201)](_0x4ca656)[_0xa806b8(0x1ac)]||this[_0xa806b8(0x177)][_0xa806b8(0x1df)][_0xa806b8(0x1ef)][_0xa806b8(0x18a)]());},{'priority':_0x25277e(0x1a1)}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x1bd),_0x3578d7),(_0x1fba9e,{threadId:_0x30dbd4})=>{const _0x373ed5=_0x25277e;this[_0x373ed5(0x17b)](_0x30dbd4);},{'priority':_0x25277e(0x1a1)}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x189),_0x3578d7),(_0x45933e,{threadId:_0xe04f71,isFromAdapter:_0x32f078})=>{const _0x2b321d=_0x25277e,_0x3a3e4d=this[_0x2b321d(0x1ed)](_0xe04f71);if(_0x32f078||0x0==_0x3a3e4d[_0x2b321d(0x195)]||!_0x22773d[_0x2b321d(0x1bb)](_0xe04f71))return;0x1===_0x22773d[_0x2b321d(0x201)](_0xe04f71)[_0x2b321d(0x195)]&&_0x39ae08[_0x2b321d(0x1a9)][_0x2b321d(0x194)]({'isUndoable':!0x1},_0x1880cf=>{const _0x38a665=_0x2b321d;for(const _0x218ffc of _0x3a3e4d)_0x1880cf[_0x38a665(0x1b3)](_0x218ffc,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x25277e(0x1a1)}),this[_0x25277e(0x1be)](),this[_0x25277e(0x1f1)]();}[_0x29f48b(0x1e7)](){const _0x4cbb58=_0x29f48b,_0x2063db=this[_0x4cbb58(0x177)][_0x4cbb58(0x1eb)][_0x4cbb58(0x175)](_0x1233f9),_0xe68940=this[_0x4cbb58(0x177)][_0x4cbb58(0x19c)][_0x4cbb58(0x175)](_0x4cbb58(0x1ab));for(const _0x4f6415 of _0x2063db[_0x4cbb58(0x1a4)]({'channelId':_0xe68940}))_0x2063db[_0x4cbb58(0x1b0)](_0x4f6415['id']),_0x2063db[_0x4cbb58(0x1cd)][_0x4cbb58(0x19b)](_0x4f6415['id']);super[_0x4cbb58(0x1e7)]();}[_0x29f48b(0x1d1)](_0x52ea72){const _0x1072bb=_0x29f48b;return this[_0x1072bb(0x1ed)](_0x52ea72)[_0x1072bb(0x195)]>0x0;}[_0x29f48b(0x1ed)](_0x484e48){const _0x1f0e7f=_0x29f48b,_0x50613e=[];for(const _0x16b632 of this[_0x1f0e7f(0x177)][_0x1f0e7f(0x1a9)][_0x1f0e7f(0x1e0)])_0x16b632[_0x1f0e7f(0x1b6)][_0x1f0e7f(0x18b)](_0x1f0e7f(0x1fa)+_0x484e48)&&_0x50613e[_0x1f0e7f(0x1c6)](_0x16b632);return _0x50613e;}[_0x29f48b(0x186)](_0x4a594c){const _0x1498e1=_0x29f48b,_0x2f0c1f=this[_0x1498e1(0x1bc)](_0x4a594c);_0x2f0c1f&&setTimeout(()=>{const _0x76ed53=_0x1498e1;this[_0x76ed53(0x181)]&&it(this[_0x76ed53(0x181)])['id']===_0x4a594c&&_0x2129ad({'target':_0x2f0c1f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x29f48b(0x17b)](_0x4b72ab){const _0x166874=_0x29f48b;this[_0x166874(0x177)][_0x166874(0x1a9)][_0x166874(0x1b5)](()=>{const _0x50b19d=_0x166874;for(const _0x27e4ea of this[_0x50b19d(0x1ed)](_0x4b72ab))this[_0x50b19d(0x177)][_0x50b19d(0x1df)][_0x50b19d(0x179)](_0x27e4ea);});}[_0x29f48b(0x18c)](_0x1dcb1b){const _0x3192ac=_0x29f48b,_0x352f47=this[_0x3192ac(0x177)][_0x3192ac(0x1eb)][_0x3192ac(0x175)](_0x1233f9),_0x11b91e=this[_0x3192ac(0x177)][_0x3192ac(0x1eb)][_0x3192ac(0x175)](_0xd47f8c),_0x28055d=_0x352f47[_0x3192ac(0x201)](_0x1dcb1b);if(!_0x28055d[_0x3192ac(0x184)]){const _0xf24e87=_0x28055d[_0x3192ac(0x1de)](()=>this[_0x3192ac(0x1bc)](_0x28055d['id']));_0x11b91e[_0x3192ac(0x1b1)](_0xf24e87),_0x28055d[_0x3192ac(0x1e6)]=!0x1;}}[_0x29f48b(0x1be)](){const _0x2d813c=_0x29f48b,_0x2cff6f=this[_0x2d813c(0x177)];_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1c3))[_0x2d813c(0x1cf)]({'model':_0x2d813c(0x1fb),'view':(_0x5cb84a,_0x56a751)=>{const _0x53b68f=_0x2d813c,{id:_0x14459a}=it(_0x5cb84a[_0x53b68f(0x1fc)]),_0x2940ff=_0x2cff6f[_0x53b68f(0x1eb)][_0x53b68f(0x175)](_0x1233f9)[_0x53b68f(0x201)](_0x14459a),_0x516e9d=this[_0x53b68f(0x181)]&&it(this[_0x53b68f(0x181)])['id']===_0x14459a;if(_0x2940ff&&_0x2940ff[_0x53b68f(0x1c7)]&&!_0x516e9d&&_0x5cb84a[_0x53b68f(0x1cc)])return _0x56a751[_0x53b68f(0x1f0)][_0x53b68f(0x1b9)](_0x5cb84a[_0x53b68f(0x1cc)],_0x53b68f(0x197)+_0x5cb84a[_0x53b68f(0x1fc)]),_0x56a751[_0x53b68f(0x1f0)][_0x53b68f(0x1b9)](_0x5cb84a[_0x53b68f(0x1cc)],_0x53b68f(0x208)+_0x5cb84a[_0x53b68f(0x1fc)]),null;const _0x132c1c=[_0x53b68f(0x1c4)];return _0x516e9d&&_0x132c1c[_0x53b68f(0x1c6)](_0x53b68f(0x203)),{'classes':_0x132c1c,'attributes':{'data-comment':_0x14459a}};}}),_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1b7))[_0x2d813c(0x1a2)]({'model':_0x2d813c(0x1fb),'view':(_0x11ff7e,{options:_0x5bbd41})=>{const _0x181ff2=_0x2d813c,_0x29bba8=_0x2cff6f[_0x181ff2(0x1eb)][_0x181ff2(0x175)](_0x1233f9),_0x8eba9a=_0x2cff6f[_0x181ff2(0x1a9)][_0x181ff2(0x1e0)][_0x181ff2(0x175)](_0x11ff7e),{id:_0x7cd3ed,part:_0x58f00d}=it(_0x11ff7e);if(_0x8eba9a&&!_0x8eba9a[_0x181ff2(0x17f)])return null;if(_0x5bbd41[_0x181ff2(0x188)]){const _0x4c1a4d=_0x29bba8[_0x181ff2(0x201)](_0x7cd3ed);if(_0x4c1a4d&&_0x4c1a4d[_0x181ff2(0x1c7)])return null;}return{'group':_0x181ff2(0x1fb),'name':_0x58f00d?_0x7cd3ed+':'+_0x58f00d:_0x7cd3ed};}}),_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1ba))[_0x2d813c(0x19d)]({'view':{'name':_0x2d813c(0x1fb),'attributes':{'id':/^\w/}},'model':(_0x17d4fe,{writer:_0x5d7f75})=>_0x5d7f75[_0x2d813c(0x1ca)](_0x2d813c(0x1a3),{'data-name':_0x2d813c(0x1fa)+_0x17d4fe[_0x2d813c(0x20a)]('id')})}),_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1ba))[_0x2d813c(0x1ad)]({'view':_0x2d813c(0x1fb)});}[_0x29f48b(0x1f1)](){const _0x147ca2=_0x29f48b,_0xe581e0=this[_0x147ca2(0x177)],_0x4dbe53=_0xe581e0[_0x147ca2(0x1eb)][_0x147ca2(0x175)](_0x1233f9),_0x188468=new Set(),_0x5ecf3b=new Set();_0xe581e0[_0x147ca2(0x1a9)][_0x147ca2(0x199)][_0x147ca2(0x18e)](_0x148619=>{const _0x3474da=_0x147ca2;let _0x1a1ab0=!0x1;for(const {name:_0x4db701,data:_0x9a32ae}of _0xe581e0[_0x3474da(0x1a9)][_0x3474da(0x199)][_0x3474da(0x1ae)][_0x3474da(0x207)]()){const {group:_0x210444,id:_0x1bf061}=it(_0x4db701);let _0x27516a=_0x9a32ae[_0x3474da(0x1cb)];if(_0x3474da(0x1fb)!==_0x210444||!_0x27516a)continue;const _0x42ac83=_0x3474da(0x19f)===_0x27516a[_0x3474da(0x190)][_0x3474da(0x1f6)];_0x42ac83||(_0x27516a=st(_0x27516a,_0xe581e0[_0x3474da(0x1a9)]),!_0x27516a||_0x27516a[_0x3474da(0x1f3)]||!_0x9a32ae[_0x3474da(0x1cb)]||_0x27516a[_0x3474da(0x1e2)](_0x9a32ae[_0x3474da(0x1cb)]))?_0xe581e0[_0x3474da(0x1a9)][_0x3474da(0x178)](_0x27516a)&&!_0x42ac83?this[_0x3474da(0x206)]?_0x188468[_0x3474da(0x1e3)](_0x4db701):this[_0x3474da(0x209)](_0x4db701,_0x1bf061):(_0x5ecf3b[_0x3474da(0x1e3)](_0x4db701),_0x188468[_0x3474da(0x19b)](_0x4db701),_0x148619[_0x3474da(0x1f9)](_0x4db701),_0x1a1ab0=!0x0):(_0x148619[_0x3474da(0x1b3)](_0x4db701,{'range':_0x27516a}),_0x1a1ab0=!0x0);}return _0x1a1ab0;}),this['on'](_0x147ca2(0x1c9),(_0x3feb9b,_0x5ae6bb,_0x496f3c)=>{const _0x49715c=_0x147ca2;if(!_0x496f3c&&_0x188468[_0x49715c(0x1fe)])for(const _0x498c0d of _0x188468){const {id:_0x59eb19}=it(_0x498c0d);_0x188468[_0x49715c(0x19b)](_0x498c0d),_0xe581e0[_0x49715c(0x1a9)][_0x49715c(0x1e0)][_0x49715c(0x175)](_0x498c0d)&&this[_0x49715c(0x209)](_0x498c0d,_0x59eb19);}}),this[_0x147ca2(0x17d)](_0xe581e0[_0x147ca2(0x1a9)][_0x147ca2(0x199)],_0x147ca2(0x1b5),(_0x34c1ce,_0x27bb60)=>{const _0x3e2a26=_0x147ca2;for(const {name:_0x114d16,data:{newRange:_0x13fcc4}}of _0xe581e0[_0x3e2a26(0x1a9)][_0x3e2a26(0x199)][_0x3e2a26(0x1ae)][_0x3e2a26(0x207)]()){const {group:_0x291167,id:_0x4f8114}=it(_0x114d16);if(_0x3e2a26(0x1fb)!==_0x291167)continue;const _0x2d5460=_0x4dbe53[_0x3e2a26(0x201)](_0x4f8114),_0x503c19=this[_0x3e2a26(0x1d1)](_0x4f8114);_0x2d5460&&(_0x2d5460[_0x3e2a26(0x1e6)]||_0xe581e0[_0x3e2a26(0x1df)][_0x3e2a26(0x1ef)][_0x3e2a26(0x204)](_0x3e2a26(0x1f5),()=>{const _0x59eedf=_0x3e2a26,_0x5d8d3d=_0xe581e0[_0x59eedf(0x1eb)][_0x59eedf(0x175)](_0x59f82f),_0x39571f=_0x4dbe53[_0x59eedf(0x1f7)][_0x59eedf(0x175)](_0x2d5460)[_0x59eedf(0x1ef)];_0x5d8d3d[_0x59eedf(0x1af)](_0x39571f)[_0x59eedf(0x1da)]();},{'priority':_0x3e2a26(0x1a1)}),_0x2d5460[_0x3e2a26(0x1e6)]=_0x503c19||!!_0x13fcc4),_0x13fcc4||(_0x5ecf3b[_0x3e2a26(0x1e3)](_0x114d16),_0x188468[_0x3e2a26(0x19b)](_0x114d16));}if(_0x27bb60[_0x3e2a26(0x1c1)])for(const _0x48eeb3 of _0x5ecf3b){const {id:_0x51beef}=it(_0x48eeb3),_0x200e95=_0x4dbe53[_0x3e2a26(0x201)](_0x51beef),_0x464e35=this[_0x3e2a26(0x1d1)](_0x51beef);_0x188468[_0x3e2a26(0x19b)](_0x48eeb3),!_0x200e95||_0x464e35||_0x200e95[_0x3e2a26(0x1ac)]||_0x200e95[_0x3e2a26(0x1e8)](new Date());}_0x5ecf3b[_0x3e2a26(0x1d9)]();});}[_0x29f48b(0x1bc)](_0x36b6f3){const _0x33ed5e=_0x29f48b,_0x2cb285=this[_0x33ed5e(0x177)],_0x4c773e=this[_0x33ed5e(0x1ed)](_0x36b6f3);return _0x504977(_0x2cb285[_0x33ed5e(0x1df)],_0x4c773e);}[_0x29f48b(0x1a5)](_0xfb4c1c){const _0x1f1980=_0x29f48b,_0x3f808e=this[_0x1f1980(0x1ed)](_0xfb4c1c);let _0x58298f='',_0x9bbd7c=!0x1;for(const _0x83f8b1 of _0x3f808e){const _0x8e3996=_0x83f8b1[_0x1f1980(0x191)]();for(const _0x5e1877 of Array[_0x1f1980(0x1e5)](_0x8e3996[_0x1f1980(0x1b2)]()))_0x5e1877['is'](_0x1f1980(0x180))?(_0x58298f&&_0x9bbd7c&&(_0x58298f+='\x20',_0x9bbd7c=!0x1),_0x58298f+=_0x5e1877[_0x1f1980(0x187)]):_0x9bbd7c=!0x0;_0x9bbd7c=!0x0;}return _0x58298f[_0x1f1980(0x17c)](0x0,0x96);}[_0x29f48b(0x1ff)](_0x4146bc,_0xbee796){const _0xaad172=_0x29f48b,_0x19d225=this[_0xaad172(0x177)],_0x3d524f=_0x19d225[_0xaad172(0x1eb)][_0xaad172(0x175)](_0x1233f9);let _0x1b8469=_0x3d524f[_0xaad172(0x201)](_0xbee796);const _0x490515=_0x19d225[_0xaad172(0x19c)][_0xaad172(0x175)](_0xaad172(0x1ab)),_0x3a8118=_0x19d225[_0xaad172(0x1eb)][_0xaad172(0x175)](_0xd47f8c);if(_0x1b8469&&(_0x1b8469[_0xaad172(0x1ac)]&&_0x1b8469[_0xaad172(0x1e8)](null),_0x1b8469[_0xaad172(0x184)]))return _0x1b8469;return!this[_0xaad172(0x1ed)](_0xbee796)[0x0][_0xaad172(0x18f)]?_0x19d225[_0xaad172(0x1df)][_0xaad172(0x1ef)][_0xaad172(0x204)](_0xaad172(0x1f5),()=>{const _0x4f847a=_0xaad172;if(_0x3d524f[_0x4f847a(0x201)](_0xbee796))return;const _0x1ce017=_0x19d225[_0x4f847a(0x1eb)][_0x4f847a(0x175)](_0x59f82f);_0x1b8469=_0x3d524f[_0x4f847a(0x1d2)]({'channelId':_0x490515,'threadId':_0xbee796,'target':()=>this[_0x4f847a(0x1bc)](_0xbee796),'context':{'type':_0x4f847a(0x1bf),'value':this[_0x4f847a(0x1a5)](_0xbee796)}});const _0x83e64d=_0x3d524f[_0x4f847a(0x1f7)][_0x4f847a(0x175)](_0x1b8469)[_0x4f847a(0x1ef)],_0x13567d=_0x1ce017[_0x4f847a(0x1af)](_0x83e64d);_0x13567d&&_0x3a8118[_0x4f847a(0x1b1)](_0x13567d);},{'priority':_0xaad172(0x1a1)}):_0x3d524f[_0xaad172(0x1f2)]({'channelId':_0x490515,'threadId':_0xbee796})[_0xaad172(0x1e9)](_0x41002c=>{const _0x4eb8c4=_0xaad172;if(_0x4eb8c4(0x1c8)!==_0x19d225[_0x4eb8c4(0x1e4)]){if(_0x1b8469=_0x41002c,_0x1b8469&&!_0x1b8469[_0x4eb8c4(0x184)]){const _0x1d7d60=_0x1b8469[_0x4eb8c4(0x1de)](()=>this[_0x4eb8c4(0x1bc)](_0xbee796));_0x3a8118[_0x4eb8c4(0x1b1)](_0x1d7d60),_0x1b8469[_0x4eb8c4(0x1c7)]&&this[_0x4eb8c4(0x17b)](_0xbee796);}else{if(!_0x1b8469){const _0x1367f1=this[_0x4eb8c4(0x1ed)](_0xbee796);_0x19d225[_0x4eb8c4(0x1a9)][_0x4eb8c4(0x1b5)](_0x518725=>{const _0x1e8a27=_0x4eb8c4;for(const _0x1203f4 of _0x1367f1)_0x518725[_0x1e8a27(0x1f9)](_0x1203f4);});}}}}),_0x1b8469;}[_0x29f48b(0x209)](_0x16dd86,_0x572b44){const _0x3bf18e=_0x29f48b,_0x1db673=this[_0x3bf18e(0x1ff)](_0x16dd86,_0x572b44);_0x1db673&&!_0x1db673[_0x3bf18e(0x205)]&&_0x1db673[_0x3bf18e(0x176)]({'type':_0x3bf18e(0x1bf),'value':this[_0x3bf18e(0x1a5)](_0x572b44)});}[_0x29f48b(0x202)](){const _0x6ee740=_0x29f48b,_0x5d0891=this[_0x6ee740(0x177)];_0x5bfca0(_0x5d0891[_0x6ee740(0x1a9)],({left:_0x5a6bc8,entered:_0x3ffb47})=>{const _0x355a1a=_0x6ee740;for(const _0x1121e3 of _0x5a6bc8)if(at(_0x1121e3)){_0x5d0891['ui'][_0x355a1a(0x1dd)][_0x355a1a(0x185)](_0x1094e7(_0x5d0891[_0x355a1a(0x1ce)],_0x355a1a(0x193)));break;}for(const _0x2b9837 of _0x3ffb47)if(at(_0x2b9837)){_0x5d0891['ui'][_0x355a1a(0x1dd)][_0x355a1a(0x185)](_0x1094e7(_0x5d0891[_0x355a1a(0x1ce)],_0x355a1a(0x1b8)));break;}});}}function nt(_0x2e17ae,_0x6273bf){return _0x6273bf?_0x2e17ae+':'+_0x6273bf:_0x2e17ae;}function it(_0x580a3c){const _0x54a231=_0x29f48b,_0x3a691f=_0x580a3c[_0x54a231(0x1c0)](':');return{'group':_0x3a691f[0x0],'id':_0x3a691f[0x1],'part':_0x3a691f[0x2]};}function st(_0x42abdf,_0x11b79b){const _0x23f18a=_0x29f48b,_0x19274e=_0x11b79b[_0x23f18a(0x1d5)],_0x275123=_0x11b79b[_0x23f18a(0x182)](_0x42abdf[_0x23f18a(0x1aa)]);for(const _0x559714 of _0x42abdf[_0x23f18a(0x1d4)]()){const {type:_0x32246f,item:_0x40303d,nextPosition:_0x20cf18}=_0x559714;if(_0x23f18a(0x1bf)===_0x32246f||_0x19274e[_0x23f18a(0x19a)](_0x40303d)){const _0x1da44e=_0x11b79b[_0x23f18a(0x18d)](_0x40303d);_0x275123[_0x23f18a(0x1f3)]&&(_0x275123[_0x23f18a(0x1aa)]=_0x1da44e),_0x275123[_0x23f18a(0x192)]=_0x20cf18;}}return _0x275123;}function at(_0x4bd290){const _0x2fc04e=_0x29f48b;return _0x2fc04e(0x1fb)===it(_0x4bd290[_0x2fc04e(0x1b6)])[_0x2fc04e(0x1ea)];}
@@ -276,7 +276,7 @@ declare const CommentThread_base: {
276
276
  * Comment thread representation.
277
277
  * Stores a list of {@link module:comments/comments/commentsrepository~Comment `Comments`}.
278
278
  */
279
- export declare class CommentThread extends CommentThread_base {
279
+ export declare class CommentThread extends /* #__PURE__ -- @preserve */ CommentThread_base {
280
280
  /**
281
281
  * Informs if the comment thread is in read-only state (`true`) or not (`false`).
282
282
  *
@@ -491,7 +491,7 @@ declare const Comment_base: {
491
491
  /**
492
492
  * Single comment representation. A part of a {@link module:comments/comments/commentsrepository~CommentThread commentThread}.
493
493
  */
494
- export declare class Comment extends Comment_base {
494
+ export declare class Comment extends /* #__PURE__ -- @preserve */ Comment_base {
495
495
  /**
496
496
  * When is set to `true`, editing the comment is blocked.
497
497
  *