@ckeditor/ckeditor5-real-time-collaboration 45.2.1 → 46.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/augmentation.d.ts +2 -2
  151. package/src/common-translations.js +1 -1
  152. package/src/config.d.ts +1 -1
  153. package/src/index.d.ts +15 -11
  154. package/src/index.js +1 -1
  155. package/src/presencelist/presencelistui.d.ts +2 -2
  156. package/src/presencelist/presencelistui.js +1 -1
  157. package/src/presencelist/view/presencecounterview.d.ts +1 -1
  158. package/src/presencelist/view/presencecounterview.js +1 -1
  159. package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
  160. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  161. package/src/presencelist/view/presencedropdownlistview.d.ts +1 -28
  162. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  163. package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
  164. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  165. package/src/presencelist/view/presenceinlinelistview.d.ts +3 -3
  166. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  167. package/src/presencelist/view/presencelistview.d.ts +0 -15
  168. package/src/presencelist/view/presencelistview.js +1 -1
  169. package/src/presencelist.d.ts +3 -3
  170. package/src/presencelist.js +1 -1
  171. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +3 -3
  172. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  173. package/src/realtimecollaborativecomments.d.ts +4 -4
  174. package/src/realtimecollaborativecomments.js +1 -1
  175. package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +4 -4
  176. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  177. package/src/realtimecollaborativeediting/sessions.d.ts +7 -7
  178. package/src/realtimecollaborativeediting/sessions.js +1 -1
  179. package/src/realtimecollaborativeediting/usermarkers.d.ts +2 -2
  180. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  181. package/src/realtimecollaborativeediting/websocketgateway.d.ts +7 -8
  182. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  183. package/src/realtimecollaborativeediting.d.ts +2 -2
  184. package/src/realtimecollaborativeediting.js +1 -1
  185. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +4 -4
  186. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  187. package/src/realtimecollaborativerevisionhistory.d.ts +3 -3
  188. package/src/realtimecollaborativerevisionhistory.js +1 -1
  189. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +3 -3
  190. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  191. package/src/realtimecollaborativetrackchanges.d.ts +3 -3
  192. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a1fb2=_0x5b63;(function(_0x54d01e,_0x1c73c1){const _0x3f70a3=_0x5b63,_0x268c5c=_0x54d01e();while(!![]){try{const _0x4c037b=parseInt(_0x3f70a3(0x8e))/0x1*(parseInt(_0x3f70a3(0x79))/0x2)+-parseInt(_0x3f70a3(0x92))/0x3*(-parseInt(_0x3f70a3(0x8a))/0x4)+parseInt(_0x3f70a3(0x89))/0x5*(parseInt(_0x3f70a3(0x7f))/0x6)+-parseInt(_0x3f70a3(0x8b))/0x7+-parseInt(_0x3f70a3(0x8f))/0x8*(-parseInt(_0x3f70a3(0x8d))/0x9)+-parseInt(_0x3f70a3(0x7c))/0xa*(-parseInt(_0x3f70a3(0x87))/0xb)+-parseInt(_0x3f70a3(0x7b))/0xc;if(_0x4c037b===_0x1c73c1)break;else _0x268c5c['push'](_0x268c5c['shift']());}catch(_0x350aab){_0x268c5c['push'](_0x268c5c['shift']());}}}(_0x1b0d,0x4430b));import{ListItemView as _0x210b86}from'ckeditor5/src/ui.js';import{UserView as _0x323fa0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5b63(_0x154273,_0x118925){const _0x1b0de3=_0x1b0d();return _0x5b63=function(_0x5b6321,_0x1dcca5){_0x5b6321=_0x5b6321-0x77;let _0x7f7e9c=_0x1b0de3[_0x5b6321];return _0x7f7e9c;},_0x5b63(_0x154273,_0x118925);}function _0x1b0d(){const _0x410cf6=['10376604LdbsOd','10gzaUex','color','userView','834bczjrn','getBackgroundColorClass','ck-presence-list__dropdown-list-item','name','setTemplate','presentation','tag','focus','5106893Mqpkty','bindTemplate','16395ieMrxS','1685412YGPrpk','3594437FyUcre','true','690669LKPGGd','17ypXvFP','8qZiHSf','ck-user__full-name','button','3cfwSpU','element','span','execute','fire','28162YzupmG','ck-presence-list__marker'];_0x1b0d=function(){return _0x410cf6;};return _0x1b0d();}export default class k extends _0x210b86{[_0x4a1fb2(0x7e)];constructor(_0x357424,_0x469005,_0x47057c){const _0x315c51=_0x4a1fb2;super(_0x357424);const _0x327ca6=this[_0x315c51(0x88)];this[_0x315c51(0x7e)]=new _0x323fa0(_0x357424,_0x469005);const _0x40a2f3={'tag':'li','attributes':{'class':['ck',_0x315c51(0x81)],'tabindex':-0x1,'role':_0x315c51(0x84),'aria-label':_0x469005[_0x315c51(0x82)]},'children':[this[_0x315c51(0x7e)],{'tag':_0x315c51(0x94),'attributes':{'class':['ck',_0x315c51(0x90)]},'children':[{'text':_0x469005[_0x315c51(0x82)]}]},{'tag':_0x315c51(0x94),'attributes':{'class':['ck',_0x315c51(0x7a),_0x469005[_0x315c51(0x7d)][_0x315c51(0x80)]()],'aria-hidden':_0x315c51(0x8c)}}]};_0x47057c&&(_0x40a2f3[_0x315c51(0x85)]=_0x315c51(0x91),_0x40a2f3['on']={'click':_0x327ca6['to'](()=>this[_0x315c51(0x78)](_0x315c51(0x77)))}),this[_0x315c51(0x83)](_0x40a2f3);}[_0x4a1fb2(0x86)](){const _0xcc7547=_0x4a1fb2;this[_0xcc7547(0x93)][_0xcc7547(0x86)]();}}
23
+ const _0x1f9664=_0x31b4;function _0x31b4(_0xa56d6f,_0x5304b3){const _0x33a2a3=_0x33a2();return _0x31b4=function(_0x31b453,_0x4a6b88){_0x31b453=_0x31b453-0x9e;let _0x349b49=_0x33a2a3[_0x31b453];return _0x349b49;},_0x31b4(_0xa56d6f,_0x5304b3);}(function(_0x40f325,_0x8b0a32){const _0x2410c2=_0x31b4,_0x92b5bb=_0x40f325();while(!![]){try{const _0x4d9814=-parseInt(_0x2410c2(0xad))/0x1+-parseInt(_0x2410c2(0xb4))/0x2+-parseInt(_0x2410c2(0xb7))/0x3*(parseInt(_0x2410c2(0xae))/0x4)+parseInt(_0x2410c2(0xa0))/0x5+-parseInt(_0x2410c2(0xb1))/0x6+parseInt(_0x2410c2(0xa7))/0x7*(-parseInt(_0x2410c2(0xaa))/0x8)+parseInt(_0x2410c2(0xaf))/0x9*(parseInt(_0x2410c2(0xb3))/0xa);if(_0x4d9814===_0x8b0a32)break;else _0x92b5bb['push'](_0x92b5bb['shift']());}catch(_0x33cf8f){_0x92b5bb['push'](_0x92b5bb['shift']());}}}(_0x33a2,0x410da));import{ListItemView as _0x13bf06}from'ckeditor5/src/ui.js';import{UserView as _0x8f531a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x33a2(){const _0x35f802=['527988LGJvbA','tag','focus','9609JVqmcj','getBackgroundColorClass','name','ck-presence-list__marker','execute','1722915PUKMXA','element','fire','ck-user__full-name','bindTemplate','userView','ck-presence-list__dropdown-list-item','54754YFpKgD','span','presentation','352iBDPcO','button','setTemplate','192757zuVciZ','572hcZSZI','45TBsHoB','true','3165672QrOHxg','color','3416870iPpzMB'];_0x33a2=function(){return _0x35f802;};return _0x33a2();}export class PresenceDropdownListItemView extends _0x13bf06{[_0x1f9664(0xa5)];constructor(_0x400716,_0x5d458c,_0x365e67){const _0x1560ae=_0x1f9664;super(_0x400716);const _0x141e5b=this[_0x1560ae(0xa4)];this[_0x1560ae(0xa5)]=new _0x8f531a(_0x400716,_0x5d458c);const _0x1cf032={'tag':'li','attributes':{'class':['ck',_0x1560ae(0xa6)],'tabindex':-0x1,'role':_0x1560ae(0xa9),'aria-label':_0x5d458c[_0x1560ae(0xb9)]},'children':[this[_0x1560ae(0xa5)],{'tag':_0x1560ae(0xa8),'attributes':{'class':['ck',_0x1560ae(0xa3)]},'children':[{'text':_0x5d458c[_0x1560ae(0xb9)]}]},{'tag':_0x1560ae(0xa8),'attributes':{'class':['ck',_0x1560ae(0x9e),_0x5d458c[_0x1560ae(0xb2)][_0x1560ae(0xb8)]()],'aria-hidden':_0x1560ae(0xb0)}}]};_0x365e67&&(_0x1cf032[_0x1560ae(0xb5)]=_0x1560ae(0xab),_0x1cf032['on']={'click':_0x141e5b['to'](()=>this[_0x1560ae(0xa2)](_0x1560ae(0x9f)))}),this[_0x1560ae(0xac)](_0x1cf032);}[_0x1f9664(0xb6)](){const _0x1d7e5b=_0x1f9664;this[_0x1d7e5b(0xa1)][_0x1d7e5b(0xb6)]();}}
@@ -2,31 +2,4 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module real-time-collaboration/presencelist/view/presencedropdownlistview
7
- * @publicApi
8
- */
9
- import { ListView, View } from 'ckeditor5/src/ui.js';
10
- import { type Locale } from 'ckeditor5/src/utils.js';
11
- /**
12
- * `PresenceDropdownListView` is a view that represents the dropdown variant of users list.
13
- *
14
- * It is displayed when the user count is equal to or greater than the value specified in
15
- * {@link module:real-time-collaboration/config~PresenceListConfig#collapseAt `config.presenceList.collapseAt`}.
16
- */
17
- export default class PresenceDropdownListView extends View {
18
- /**
19
- * @inheritDoc
20
- */
21
- constructor(locale: Locale, isButtonsList?: boolean);
22
- }
23
- /**
24
- * Wrapper view for the presence dropdown list.
25
- */
26
- export declare class PresenceDropdownListWrapperView extends ListView {
27
- constructor(locale: Locale, isButtonsList?: boolean);
28
- /**
29
- * @inheritDoc
30
- */
31
- render(): void;
32
- }
5
+ export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f6097=_0x4aaf;(function(_0x592013,_0x36da73){const _0x2157c9=_0x4aaf,_0x2e036a=_0x592013();while(!![]){try{const _0x3e2cc4=parseInt(_0x2157c9(0x1ee))/0x1*(-parseInt(_0x2157c9(0x1f7))/0x2)+parseInt(_0x2157c9(0x1e8))/0x3+-parseInt(_0x2157c9(0x209))/0x4*(-parseInt(_0x2157c9(0x205))/0x5)+parseInt(_0x2157c9(0x213))/0x6+parseInt(_0x2157c9(0x1f5))/0x7+parseInt(_0x2157c9(0x210))/0x8*(-parseInt(_0x2157c9(0x20b))/0x9)+parseInt(_0x2157c9(0x1ff))/0xa;if(_0x3e2cc4===_0x36da73)break;else _0x2e036a['push'](_0x2e036a['shift']());}catch(_0x23066){_0x2e036a['push'](_0x2e036a['shift']());}}}(_0x10dc,0x7f75b));import{ListView as _0x4ea597,View as _0xdfa33f}from'ckeditor5/src/ui.js';function _0x4aaf(_0x5e6792,_0x2ee84f){const _0x10dc05=_0x10dc();return _0x4aaf=function(_0x4aaf54,_0x3aef44){_0x4aaf54=_0x4aaf54-0x1e7;let _0x1b58b3=_0x10dc05[_0x4aaf54];return _0x1b58b3;},_0x4aaf(_0x5e6792,_0x2ee84f);}function _0x10dc(){const _0x31fd1c=['ariaLabelledBy','ck-reset','contains','_isScrollable','22djIsOd','innerHeight','ck-presence-list__dropdown-list-wrapper_scrollable','application','clientHeight','presencelist:hide','.ck-presence-list__list','1475173ekZQzD','render','31148MPDjec','ck-list','div','role','.ck-balloon-panel_with-arrow','querySelector','bindTemplate','setTemplate','3634990MQjjHQ','listWrapperView','checkIfScrollable','window','ariaLabel','set','44615papcKg','scrollHeight','listenTo','relatedTarget','172lXbBbl','resize','153SsSNtc','element','ck-presence-list__dropdown-list-wrapper','ck-presence-list__dropdown-list','items','473048iuEquP','Connected\x20users\x20list\x20dropdown\x20menu','fire','4433568ZbPhtz','change','519225sNlCjk','max'];_0x10dc=function(){return _0x31fd1c;};return _0x10dc();}import{global as _0x3bc110}from'ckeditor5/src/utils.js';import{getTranslation as _0x4801b7}from'../../common-translations.js';export default class x extends _0xdfa33f{[_0x3f6097(0x200)];constructor(_0x54acbd,_0x53d23b){const _0x48aee5=_0x3f6097;super(_0x54acbd);const _0x11f08d=this[_0x48aee5(0x1fd)];this[_0x48aee5(0x200)]=new PresenceDropdownListWrapperView(_0x54acbd,_0x53d23b),this[_0x48aee5(0x1fe)]({'tag':_0x48aee5(0x1f9),'attributes':{'tabindex':-0x1,'role':_0x48aee5(0x1f1),'class':['ck',_0x48aee5(0x20e)],'aria-label':_0x4801b7(_0x54acbd,_0x48aee5(0x211))},'children':[this[_0x48aee5(0x200)]],'on':{'mouseleave':_0x11f08d['to'](_0x57e690=>{const _0x2f7759=_0x48aee5,_0x36cd77=_0x57e690,_0x16b943=document[_0x2f7759(0x1fc)](_0x2f7759(0x1f4)),_0xbb3acf=document[_0x2f7759(0x1fc)](_0x2f7759(0x1fb));_0x16b943?.[_0x2f7759(0x1ec)](_0x36cd77[_0x2f7759(0x208)])||_0xbb3acf?.[_0x2f7759(0x1ec)](_0x36cd77[_0x2f7759(0x208)])||this[_0x2f7759(0x212)](_0x2f7759(0x1f3));})}});}}export class PresenceDropdownListWrapperView extends _0x4ea597{constructor(_0x5935f7,_0x268464){const _0x11727b=_0x3f6097;super(_0x5935f7);const _0x4098ce=this[_0x11727b(0x1fd)];this[_0x11727b(0x204)](_0x11727b(0x1ed),!0x1),this[_0x11727b(0x1fe)]({'tag':_0x268464?_0x11727b(0x1f9):'ul','attributes':{'class':['ck',_0x11727b(0x1eb),_0x11727b(0x1f8),_0x11727b(0x20d),_0x4098ce['if'](_0x11727b(0x1ed),_0x11727b(0x1f0))],'role':_0x4098ce['to'](_0x11727b(0x1fa)),'aria-label':_0x4098ce['to'](_0x11727b(0x203)),'aria-labelledby':_0x4098ce['to'](_0x11727b(0x1ea))},'children':this[_0x11727b(0x20f)]}),this[_0x11727b(0x207)](_0x3bc110[_0x11727b(0x202)],_0x11727b(0x20a),()=>this[_0x11727b(0x201)]()),this[_0x11727b(0x20f)]['on'](_0x11727b(0x1e7),()=>this[_0x11727b(0x201)]());}[_0x3f6097(0x1f6)](){const _0x2a4f22=_0x3f6097;super[_0x2a4f22(0x1f6)](),this[_0x2a4f22(0x201)]();}[_0x3f6097(0x201)](){const _0x4c7fb4=_0x3f6097,_0x5d9bf2=this[_0x4c7fb4(0x20c)];_0x5d9bf2&&(this[_0x4c7fb4(0x1ed)]=Math[_0x4c7fb4(0x1e9)](_0x5d9bf2[_0x4c7fb4(0x206)],_0x5d9bf2[_0x4c7fb4(0x1f2)])>0.8*window[_0x4c7fb4(0x1ef)]);}}
23
+ const _0x2d5690=_0x1c50;function _0x1c50(_0x38b8ff,_0x22444d){const _0x59a851=_0x59a8();return _0x1c50=function(_0x1c50ac,_0x17fdf9){_0x1c50ac=_0x1c50ac-0x193;let _0x54b97f=_0x59a851[_0x1c50ac];return _0x54b97f;},_0x1c50(_0x38b8ff,_0x22444d);}function _0x59a8(){const _0x3925b0=['resize','div','.ck-presence-list__list','items','setTemplate','118608gIVsTM','set','clientHeight','ck-presence-list__dropdown-list-wrapper','45HekTrQ','285138PeRXae','application','listenTo','ck-presence-list__dropdown-list-wrapper_scrollable','presencelist:hide','_isScrollable','role','window','change','.ck-balloon-panel_with-arrow','fire','ariaLabelledBy','listWrapperView','querySelector','38068uRLdBR','Connected\x20users\x20list\x20dropdown\x20menu','scrollHeight','532086ToFMTn','266IJNpqQ','relatedTarget','1238120mbGtHU','11pjFZDO','79401TwHVxM','ariaLabel','checkIfScrollable','element','render','max','ck-reset','ck-list','ck-presence-list__dropdown-list','bindTemplate','contains','innerHeight'];_0x59a8=function(){return _0x3925b0;};return _0x59a8();}(function(_0xc07546,_0x5513a0){const _0xca072c=_0x1c50,_0x3bd38e=_0xc07546();while(!![]){try{const _0x115c3c=parseInt(_0xca072c(0x198))/0x1*(parseInt(_0xca072c(0x195))/0x2)+-parseInt(_0xca072c(0x199))/0x3+parseInt(_0xca072c(0x1bd))/0x4*(parseInt(_0xca072c(0x1ae))/0x5)+-parseInt(_0xca072c(0x194))/0x6+parseInt(_0xca072c(0x1aa))/0x7+parseInt(_0xca072c(0x197))/0x8+-parseInt(_0xca072c(0x1af))/0x9;if(_0x115c3c===_0x5513a0)break;else _0x3bd38e['push'](_0x3bd38e['shift']());}catch(_0x378440){_0x3bd38e['push'](_0x3bd38e['shift']());}}}(_0x59a8,0x1b57b));import{ListView as _0x3318d5,View as _0xd7169d}from'ckeditor5/src/ui.js';import{global as _0x3b79dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x28da8d}from'../../common-translations.js';export class PresenceDropdownListView extends _0xd7169d{[_0x2d5690(0x1bb)];constructor(_0x1d88b8,_0x322c0f){const _0x576f78=_0x2d5690;super(_0x1d88b8);const _0x178d29=this[_0x576f78(0x1a2)];this[_0x576f78(0x1bb)]=new PresenceDropdownListWrapperView(_0x1d88b8,_0x322c0f),this[_0x576f78(0x1a9)]({'tag':_0x576f78(0x1a6),'attributes':{'tabindex':-0x1,'role':_0x576f78(0x1b0),'class':['ck',_0x576f78(0x1a1)],'aria-label':_0x28da8d(_0x1d88b8,_0x576f78(0x1be))},'children':[this[_0x576f78(0x1bb)]],'on':{'mouseleave':_0x178d29['to'](_0x18da8c=>{const _0x71aad1=_0x576f78,_0x3a9a61=_0x18da8c,_0x2a13aa=document[_0x71aad1(0x1bc)](_0x71aad1(0x1a7)),_0x59bc1f=document[_0x71aad1(0x1bc)](_0x71aad1(0x1b8));_0x2a13aa?.[_0x71aad1(0x1a3)](_0x3a9a61[_0x71aad1(0x196)])||_0x59bc1f?.[_0x71aad1(0x1a3)](_0x3a9a61[_0x71aad1(0x196)])||this[_0x71aad1(0x1b9)](_0x71aad1(0x1b3));})}});}}export class PresenceDropdownListWrapperView extends _0x3318d5{constructor(_0x516ceb,_0x21c7c3){const _0x1d0510=_0x2d5690;super(_0x516ceb);const _0x368a97=this[_0x1d0510(0x1a2)];this[_0x1d0510(0x1ab)](_0x1d0510(0x1b4),!0x1),this[_0x1d0510(0x1a9)]({'tag':_0x21c7c3?_0x1d0510(0x1a6):'ul','attributes':{'class':['ck',_0x1d0510(0x19f),_0x1d0510(0x1a0),_0x1d0510(0x1ad),_0x368a97['if'](_0x1d0510(0x1b4),_0x1d0510(0x1b2))],'role':_0x368a97['to'](_0x1d0510(0x1b5)),'aria-label':_0x368a97['to'](_0x1d0510(0x19a)),'aria-labelledby':_0x368a97['to'](_0x1d0510(0x1ba))},'children':this[_0x1d0510(0x1a8)]}),this[_0x1d0510(0x1b1)](_0x3b79dd[_0x1d0510(0x1b6)],_0x1d0510(0x1a5),()=>this[_0x1d0510(0x19b)]()),this[_0x1d0510(0x1a8)]['on'](_0x1d0510(0x1b7),()=>this[_0x1d0510(0x19b)]());}[_0x2d5690(0x19d)](){const _0x1a31bb=_0x2d5690;super[_0x1a31bb(0x19d)](),this[_0x1a31bb(0x19b)]();}[_0x2d5690(0x19b)](){const _0x38b264=_0x2d5690,_0x51ab2f=this[_0x38b264(0x19c)];_0x51ab2f&&(this[_0x38b264(0x1b4)]=Math[_0x38b264(0x19e)](_0x51ab2f[_0x38b264(0x193)],_0x51ab2f[_0x38b264(0x1ac)])>0.8*window[_0x38b264(0x1a4)]);}}
@@ -5,7 +5,7 @@
5
5
  import { View } from 'ckeditor5/src/ui.js';
6
6
  import type { Locale } from 'ckeditor5/src/utils.js';
7
7
  import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
- export default class PresenceInlineListItemView extends View {
8
+ export declare class PresenceInlineListItemView extends View {
9
9
  isFocusable: boolean;
10
10
  hasTooltip: boolean;
11
11
  tooltipPosition: string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x422f74=_0x4888;function _0x2a71(){const _0x4ad7fe=['tag','48524FHuOZd','setTemplate','tooltipPosition','color','userView','set','bindTemplate','template','execute','159052lAPHCD','17061534zZacHQ','listitem','markerView','button','name','ck-presence-list__list-item__tooltip','1662nnMCOW','ck-presence-list__marker','616qQDGuU','hasTooltip','true','3504570OKCiRx','204936SkNnDp','span','fire','ck-presence-list__list-item','4FNeBFB','isFocusable','getBackgroundColorClass','7847298gHCIpN','div','text'];_0x2a71=function(){return _0x4ad7fe;};return _0x2a71();}(function(_0x514496,_0x3795cc){const _0x337557=_0x4888,_0x40ac3a=_0x514496();while(!![]){try{const _0x2d0c52=-parseInt(_0x337557(0xba))/0x1+-parseInt(_0x337557(0xc1))/0x2+parseInt(_0x337557(0xc7))/0x3+-parseInt(_0x337557(0xaa))/0x4*(-parseInt(_0x337557(0xc6))/0x5)+-parseInt(_0x337557(0xad))/0x6+parseInt(_0x337557(0xb1))/0x7*(-parseInt(_0x337557(0xc3))/0x8)+parseInt(_0x337557(0xbb))/0x9;if(_0x2d0c52===_0x3795cc)break;else _0x40ac3a['push'](_0x40ac3a['shift']());}catch(_0x3371a0){_0x40ac3a['push'](_0x40ac3a['shift']());}}}(_0x2a71,0xa1f7e));function _0x4888(_0x2ad9e2,_0x1c9454){const _0x2a7107=_0x2a71();return _0x4888=function(_0x48889d,_0x2672da){_0x48889d=_0x48889d-0xa8;let _0x14812b=_0x2a7107[_0x48889d];return _0x14812b;},_0x4888(_0x2ad9e2,_0x1c9454);}import{LabelView as _0x3928de,View as _0x49d220}from'ckeditor5/src/ui.js';import{UserView as _0x2b1923}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x49d220{[_0x422f74(0xb5)];[_0x422f74(0xbd)];constructor(_0x49a61c,_0x4fa9a5,_0x49dbad){const _0x1c592a=_0x422f74;super(_0x49a61c);const _0x59cf33=this[_0x1c592a(0xb7)];this[_0x1c592a(0xb6)](_0x1c592a(0xab),!0x1),this[_0x1c592a(0xb6)](_0x1c592a(0xc4),!0x0),this[_0x1c592a(0xb6)](_0x1c592a(0xb3),''),this[_0x1c592a(0xb5)]=new _0x2b1923(_0x49a61c,_0x4fa9a5),this[_0x1c592a(0xbd)]=new at(_0x49a61c,_0x4fa9a5);const _0x4eeff1=new _0x3928de(_0x49a61c);_0x4eeff1[_0x1c592a(0xb8)][_0x1c592a(0xb0)]=_0x1c592a(0xc8),_0x4eeff1[_0x1c592a(0xaf)]=_0x4fa9a5[_0x1c592a(0xbf)];const _0x2ccfce={'tag':_0x1c592a(0xae),'attributes':{'class':['ck',_0x1c592a(0xa9)],'role':_0x1c592a(0xbc),'tabindex':_0x59cf33['to'](_0x1c592a(0xab),_0x5bd583=>!!_0x5bd583&&0x0),'aria-labelledby':_0x4eeff1['id'],'data-cke-tooltip-text':this[_0x1c592a(0xb5)][_0x1c592a(0xbf)],'data-cke-tooltip-position':_0x59cf33['to'](_0x1c592a(0xb3)),'data-cke-tooltip-disabled':_0x59cf33['to'](_0x1c592a(0xc4),_0x5aee97=>!_0x5aee97),'data-cke-tooltip-class':_0x1c592a(0xc0)},'children':[this[_0x1c592a(0xb5)],this[_0x1c592a(0xbd)],_0x4eeff1]};_0x49dbad&&(_0x2ccfce[_0x1c592a(0xb0)]=_0x1c592a(0xbe),_0x2ccfce['on']={'click':_0x59cf33['to'](()=>this[_0x1c592a(0xa8)](_0x1c592a(0xb9)))}),this[_0x1c592a(0xb2)](_0x2ccfce);}}class at extends _0x49d220{constructor(_0x4ab5ed,_0x3baee9){const _0x527f1c=_0x422f74;super(_0x4ab5ed),this[_0x527f1c(0xb2)]({'tag':_0x527f1c(0xc8),'attributes':{'class':['ck',_0x527f1c(0xc2),_0x3baee9[_0x527f1c(0xb4)][_0x527f1c(0xac)]()],'aria-hidden':_0x527f1c(0xc5)}});}}
23
+ function _0x4efa(){const _0x2d6466=['10uzsDNt','tag','1261346Tqkzmq','4200231UwICfB','execute','fire','getBackgroundColorClass','12319200SJSMfa','color','userView','div','tooltipPosition','hasTooltip','ck-presence-list__list-item','3695592GcDwyn','span','setTemplate','text','1185488RiRKpc','markerView','ck-presence-list__list-item__tooltip','isFocusable','name','template','set','true','listitem','bindTemplate','ck-presence-list__marker','button','5855496ubQSuE','2159140RsCLSB'];_0x4efa=function(){return _0x2d6466;};return _0x4efa();}const _0x379a60=_0x5048;(function(_0x4c0d1f,_0x292231){const _0x19da97=_0x5048,_0x1f7365=_0x4c0d1f();while(!![]){try{const _0x54869e=-parseInt(_0x19da97(0x9d))/0x1+-parseInt(_0x19da97(0xba))/0x2+parseInt(_0x19da97(0xa9))/0x3+-parseInt(_0x19da97(0xad))/0x4*(-parseInt(_0x19da97(0xbb))/0x5)+-parseInt(_0x19da97(0xb9))/0x6+parseInt(_0x19da97(0x9e))/0x7+parseInt(_0x19da97(0xa2))/0x8;if(_0x54869e===_0x292231)break;else _0x1f7365['push'](_0x1f7365['shift']());}catch(_0x1b05d9){_0x1f7365['push'](_0x1f7365['shift']());}}}(_0x4efa,0x9e21d));import{LabelView as _0x46ab9a,View as _0x2ec67c}from'ckeditor5/src/ui.js';import{UserView as _0x65f404}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5048(_0x1e311c,_0x5f0724){const _0x4efa26=_0x4efa();return _0x5048=function(_0x50489e,_0x10ff2a){_0x50489e=_0x50489e-0x9c;let _0x33e6b1=_0x4efa26[_0x50489e];return _0x33e6b1;},_0x5048(_0x1e311c,_0x5f0724);}export class PresenceInlineListItemView extends _0x2ec67c{[_0x379a60(0xa4)];[_0x379a60(0xae)];constructor(_0x456d65,_0x964914,_0x42fbee){const _0x321b36=_0x379a60;super(_0x456d65);const _0x578fff=this[_0x321b36(0xb6)];this[_0x321b36(0xb3)](_0x321b36(0xb0),!0x1),this[_0x321b36(0xb3)](_0x321b36(0xa7),!0x0),this[_0x321b36(0xb3)](_0x321b36(0xa6),''),this[_0x321b36(0xa4)]=new _0x65f404(_0x456d65,_0x964914),this[_0x321b36(0xae)]=new at(_0x456d65,_0x964914);const _0x3534e9=new _0x46ab9a(_0x456d65);_0x3534e9[_0x321b36(0xb2)][_0x321b36(0x9c)]=_0x321b36(0xaa),_0x3534e9[_0x321b36(0xac)]=_0x964914[_0x321b36(0xb1)];const _0x1c60cd={'tag':_0x321b36(0xa5),'attributes':{'class':['ck',_0x321b36(0xa8)],'role':_0x321b36(0xb5),'tabindex':_0x578fff['to'](_0x321b36(0xb0),_0x55f66c=>!!_0x55f66c&&0x0),'aria-labelledby':_0x3534e9['id'],'data-cke-tooltip-text':this[_0x321b36(0xa4)][_0x321b36(0xb1)],'data-cke-tooltip-position':_0x578fff['to'](_0x321b36(0xa6)),'data-cke-tooltip-disabled':_0x578fff['to'](_0x321b36(0xa7),_0x487122=>!_0x487122),'data-cke-tooltip-class':_0x321b36(0xaf)},'children':[this[_0x321b36(0xa4)],this[_0x321b36(0xae)],_0x3534e9]};_0x42fbee&&(_0x1c60cd[_0x321b36(0x9c)]=_0x321b36(0xb8),_0x1c60cd['on']={'click':_0x578fff['to'](()=>this[_0x321b36(0xa0)](_0x321b36(0x9f)))}),this[_0x321b36(0xab)](_0x1c60cd);}}class at extends _0x2ec67c{constructor(_0x262687,_0x29c659){const _0x3c4dee=_0x379a60;super(_0x262687),this[_0x3c4dee(0xab)]({'tag':_0x3c4dee(0xaa),'attributes':{'class':['ck',_0x3c4dee(0xb7),_0x29c659[_0x3c4dee(0xa3)][_0x3c4dee(0xa1)]()],'aria-hidden':_0x3c4dee(0xb4)}});}}
@@ -3,10 +3,10 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
6
- import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
7
- import type PresenceCounterView from './presencecounterview.js';
6
+ import { type PresenceInlineListItemView } from './presenceinlinelistitemview.js';
7
+ import { type PresenceCounterView } from './presencecounterview.js';
8
8
  import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
9
- export default class PresenceInlineListView extends View implements FocusableView {
9
+ export declare class PresenceInlineListView extends View implements FocusableView {
10
10
  /**
11
11
  * The collection of `PresenceInlineListItemView` instances.
12
12
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28efd0=_0x32d1;(function(_0x3a8d39,_0x27b4ed){const _0x4d24ec=_0x32d1,_0x37cf92=_0x3a8d39();while(!![]){try{const _0x530bfd=-parseInt(_0x4d24ec(0xfd))/0x1+parseInt(_0x4d24ec(0xec))/0x2+-parseInt(_0x4d24ec(0xe6))/0x3*(-parseInt(_0x4d24ec(0xf2))/0x4)+parseInt(_0x4d24ec(0xfe))/0x5+-parseInt(_0x4d24ec(0xf7))/0x6+-parseInt(_0x4d24ec(0x101))/0x7*(parseInt(_0x4d24ec(0xed))/0x8)+parseInt(_0x4d24ec(0xff))/0x9;if(_0x530bfd===_0x27b4ed)break;else _0x37cf92['push'](_0x37cf92['shift']());}catch(_0x536ab1){_0x37cf92['push'](_0x37cf92['shift']());}}}(_0x1aeb,0x2b034));import{View as _0x471649}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x53c4d3}from'ckeditor5/src/utils.js';function _0x32d1(_0x135ece,_0x2e2cbc){const _0x1aebd4=_0x1aeb();return _0x32d1=function(_0x32d114,_0x796ad3){_0x32d114=_0x32d114-0xe5;let _0x595c19=_0x1aebd4[_0x32d114];return _0x595c19;},_0x32d1(_0x135ece,_0x2e2cbc);}import{getTranslation as _0x7be202}from'../../common-translations.js';function _0x1aeb(){const _0x64ce7b=['bindTemplate','isExpanded','removeAttribute','listenTo','div','94858RUbqKH','613355CJKbpV','3320046ZKtPmW','.ck-presence-list__dropdown-list','21oeBcGO','render','contains','createCollection','setTemplate','items','presencelist:show','change:hasPopup','ck-presence-list__list','aria-expanded','list','50124BWlVUF','fire','presencelist:hide','relatedTarget','focus','element','417726RHxmrc','256312tbmDLZ','setAttribute','querySelector','set','keystrokes','4fLRfXW','.ck-balloon-panel_with-arrow','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','hasPopup','2099886PhVKfz'];_0x1aeb=function(){return _0x64ce7b;};return _0x1aeb();}export default class ts extends _0x471649{[_0x28efd0(0x106)];[_0x28efd0(0xf1)];constructor(_0x1787d8){const _0x19a599=_0x28efd0;super(_0x1787d8);const _0x415bfa=this[_0x19a599(0xf8)];this[_0x19a599(0x106)]=this[_0x19a599(0x104)](),this[_0x19a599(0xf1)]=new _0x53c4d3(),this[_0x19a599(0xf0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x19a599(0x105)]({'tag':_0x19a599(0xfc),'attributes':{'aria-haspopup':_0x415bfa['if'](_0x19a599(0xf6)),'aria-expanded':_0x415bfa['to'](_0x19a599(0xf9),_0x580525=>this[_0x19a599(0xf6)]&&String(_0x580525)),'aria-label':_0x415bfa['to'](_0x19a599(0xf6),_0x4d98f5=>_0x7be202(_0x1787d8,_0x4d98f5?_0x19a599(0xf4):_0x19a599(0xf5))),'role':_0x19a599(0xe5),'tabindex':_0x415bfa['to'](_0x19a599(0xf6),_0x510441=>!!_0x510441&&0x0),'class':['ck',_0x19a599(0x109)]},'children':this[_0x19a599(0x106)],'on':{'mouseenter':_0x415bfa['to'](()=>this[_0x19a599(0xe7)](_0x19a599(0x107))),'mouseleave':_0x415bfa['to'](_0x89cd04=>{const _0xcfd3ab=_0x19a599,_0x4b2677=_0x89cd04,_0x37f686=document[_0xcfd3ab(0xef)](_0xcfd3ab(0x100)),_0x48df38=document[_0xcfd3ab(0xef)](_0xcfd3ab(0xf3));_0x37f686?.[_0xcfd3ab(0x103)](_0x4b2677[_0xcfd3ab(0xe9)])||_0x48df38?.[_0xcfd3ab(0x103)](_0x4b2677[_0xcfd3ab(0xe9)])||this[_0xcfd3ab(0xe7)](_0xcfd3ab(0xe8));})}}),this['on'](_0x19a599(0x108),(_0x19c03b,_0x18ec83,_0x454c74)=>{const _0x5c9afb=_0x19a599;this[_0x5c9afb(0xeb)]&&(_0x454c74?this[_0x5c9afb(0xeb)][_0x5c9afb(0xee)](_0x5c9afb(0x10a),String(this[_0x5c9afb(0xf9)])):this[_0x5c9afb(0xeb)][_0x5c9afb(0xfa)](_0x5c9afb(0x10a)));});}[_0x28efd0(0xea)](){const _0x12fbe5=_0x28efd0;this[_0x12fbe5(0xeb)][_0x12fbe5(0xea)]();}[_0x28efd0(0x102)](){const _0x5e2649=_0x28efd0;super[_0x5e2649(0x102)](),this[_0x5e2649(0xf1)][_0x5e2649(0xfb)](this[_0x5e2649(0xeb)]);}}
23
+ const _0x4ed799=_0xa9ed;(function(_0x229748,_0xae6ef0){const _0x380c55=_0xa9ed,_0x346350=_0x229748();while(!![]){try{const _0x4dd14d=-parseInt(_0x380c55(0x1b0))/0x1+-parseInt(_0x380c55(0x1ca))/0x2+parseInt(_0x380c55(0x1b1))/0x3+-parseInt(_0x380c55(0x1c9))/0x4+parseInt(_0x380c55(0x1c4))/0x5*(parseInt(_0x380c55(0x1bf))/0x6)+parseInt(_0x380c55(0x1a6))/0x7+parseInt(_0x380c55(0x1ae))/0x8*(parseInt(_0x380c55(0x1ba))/0x9);if(_0x4dd14d===_0xae6ef0)break;else _0x346350['push'](_0x346350['shift']());}catch(_0x39d73b){_0x346350['push'](_0x346350['shift']());}}}(_0x15ce,0x25ded));import{View as _0x3f5ee3}from'ckeditor5/src/ui.js';function _0xa9ed(_0x1c484c,_0x4979b9){const _0x15ce19=_0x15ce();return _0xa9ed=function(_0xa9edb1,_0xb36139){_0xa9edb1=_0xa9edb1-0x1a5;let _0x3c86e1=_0x15ce19[_0xa9edb1];return _0x3c86e1;},_0xa9ed(_0x1c484c,_0x4979b9);}function _0x15ce(){const _0x54d619=['items','ck-presence-list__list','297764ZRGosZ','53956TZOovn','contains','441413bcFOsC','isExpanded','element','keystrokes','aria-expanded','presencelist:show','presencelist:hide','relatedTarget','16bAffaq','div','177221JUVZtv','304104TKXMtc','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','hasPopup','setTemplate','fire','.ck-presence-list__dropdown-list','bindTemplate','createCollection','querySelector','30249nSApEA','setAttribute','set','Connected\x20users\x20list','focus','393912XtMWxO','.ck-balloon-panel_with-arrow','render','removeAttribute','change:hasPopup','20xIirXQ','listenTo','list'];_0x15ce=function(){return _0x54d619;};return _0x15ce();}import{KeystrokeHandler as _0x2eb67b}from'ckeditor5/src/utils.js';import{getTranslation as _0x17f35b}from'../../common-translations.js';export class PresenceInlineListView extends _0x3f5ee3{[_0x4ed799(0x1c7)];[_0x4ed799(0x1a9)];constructor(_0x1b641f){const _0x2dd51a=_0x4ed799;super(_0x1b641f);const _0x118d1e=this[_0x2dd51a(0x1b7)];this[_0x2dd51a(0x1c7)]=this[_0x2dd51a(0x1b8)](),this[_0x2dd51a(0x1a9)]=new _0x2eb67b(),this[_0x2dd51a(0x1bc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2dd51a(0x1b4)]({'tag':_0x2dd51a(0x1af),'attributes':{'aria-haspopup':_0x118d1e['if'](_0x2dd51a(0x1b3)),'aria-expanded':_0x118d1e['to'](_0x2dd51a(0x1a7),_0xec6b6f=>this[_0x2dd51a(0x1b3)]&&String(_0xec6b6f)),'aria-label':_0x118d1e['to'](_0x2dd51a(0x1b3),_0x5ec4bc=>_0x17f35b(_0x1b641f,_0x5ec4bc?_0x2dd51a(0x1b2):_0x2dd51a(0x1bd))),'role':_0x2dd51a(0x1c6),'tabindex':_0x118d1e['to'](_0x2dd51a(0x1b3),_0x43cb9e=>!!_0x43cb9e&&0x0),'class':['ck',_0x2dd51a(0x1c8)]},'children':this[_0x2dd51a(0x1c7)],'on':{'mouseenter':_0x118d1e['to'](()=>this[_0x2dd51a(0x1b5)](_0x2dd51a(0x1ab))),'mouseleave':_0x118d1e['to'](_0x556a64=>{const _0x3aab6e=_0x2dd51a,_0x466d72=_0x556a64,_0x273572=document[_0x3aab6e(0x1b9)](_0x3aab6e(0x1b6)),_0x2f2673=document[_0x3aab6e(0x1b9)](_0x3aab6e(0x1c0));_0x273572?.[_0x3aab6e(0x1a5)](_0x466d72[_0x3aab6e(0x1ad)])||_0x2f2673?.[_0x3aab6e(0x1a5)](_0x466d72[_0x3aab6e(0x1ad)])||this[_0x3aab6e(0x1b5)](_0x3aab6e(0x1ac));})}}),this['on'](_0x2dd51a(0x1c3),(_0x1dee2b,_0x1dd5f9,_0x5412a2)=>{const _0x36e12a=_0x2dd51a;this[_0x36e12a(0x1a8)]&&(_0x5412a2?this[_0x36e12a(0x1a8)][_0x36e12a(0x1bb)](_0x36e12a(0x1aa),String(this[_0x36e12a(0x1a7)])):this[_0x36e12a(0x1a8)][_0x36e12a(0x1c2)](_0x36e12a(0x1aa)));});}[_0x4ed799(0x1be)](){const _0x428add=_0x4ed799;this[_0x428add(0x1a8)][_0x428add(0x1be)]();}[_0x4ed799(0x1c1)](){const _0x253e98=_0x4ed799;super[_0x253e98(0x1c1)](),this[_0x253e98(0x1a9)][_0x253e98(0x1c5)](this[_0x253e98(0x1a8)]);}}
@@ -2,19 +2,4 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module real-time-collaboration/presencelist/view/presencelistview
7
- * @publicApi
8
- */
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import type { Locale } from 'ckeditor5/src/utils.js';
11
5
  import '../../../theme/presencelist.css';
12
- /**
13
- * `PresenceListView` is the default view for the presence list. It shows the inline list of users, and an optional user counter.
14
- */
15
- export default class PresenceListView extends View {
16
- /**
17
- * @inheritDoc
18
- */
19
- constructor(locale: Locale, collapseAt?: number);
20
- }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x97bbaa=_0x52b3;(function(_0x404ada,_0x218d8f){const _0x58745b=_0x52b3,_0x431e5f=_0x404ada();while(!![]){try{const _0x2d63e3=parseInt(_0x58745b(0xc1))/0x1*(-parseInt(_0x58745b(0xaf))/0x2)+parseInt(_0x58745b(0xba))/0x3+-parseInt(_0x58745b(0xbf))/0x4+-parseInt(_0x58745b(0xae))/0x5+-parseInt(_0x58745b(0xbb))/0x6*(parseInt(_0x58745b(0xc3))/0x7)+-parseInt(_0x58745b(0xb9))/0x8+-parseInt(_0x58745b(0xc2))/0x9*(-parseInt(_0x58745b(0xb3))/0xa);if(_0x2d63e3===_0x218d8f)break;else _0x431e5f['push'](_0x431e5f['shift']());}catch(_0x455d01){_0x431e5f['push'](_0x431e5f['shift']());}}}(_0x3623,0x33676));import{View as _0x37cb0c}from'ckeditor5/src/ui.js';import _0x4b36d5 from'./presencecounterview.js';import _0x2d2952 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x52b3(_0xa33f7a,_0x140c04){const _0x3623d4=_0x3623();return _0x52b3=function(_0x52b387,_0x6a8921){_0x52b387=_0x52b387-0xaa;let _0x3a17fe=_0x3623d4[_0x52b387];return _0x3a17fe;},_0x52b3(_0xa33f7a,_0x140c04);}function _0x3623(){const _0x256399=['bindTemplate','569600bKHRwP','ck-reset','13276YSFrDw','72hUfdvf','980GHkVTv','listenTo','items','ck-presence-list--collapsed','locale','bind','change','div','417775HndDeh','58PisavG','ck-presence-list','setTemplate','first','1221310nqCGfP','counterView','hasPopup','ck-rounded-corners','inlineListView','isCollapsed','177256YsyuVg','1374OfYPpy','5736pwhfJz','tooltipPosition','set'];_0x3623=function(){return _0x256399;};return _0x3623();}export default class j extends _0x37cb0c{[_0x97bbaa(0xb4)];[_0x97bbaa(0xb7)];constructor(_0x19cefb,_0x464ba7=0x6){const _0xef092e=_0x97bbaa;super(_0x19cefb);const _0x342607=this[_0xef092e(0xbe)];this[_0xef092e(0xbd)](_0xef092e(0xb8),!0x0),this[_0xef092e(0xb4)]=new _0x4b36d5(this[_0xef092e(0xaa)],_0x464ba7),this[_0xef092e(0xb7)]=new _0x2d2952(_0x19cefb),this[_0xef092e(0xb7)][_0xef092e(0xab)](_0xef092e(0xb5))['to'](this,_0xef092e(0xb8)),this[_0xef092e(0xc4)](this[_0xef092e(0xb7)][_0xef092e(0xc5)],_0xef092e(0xac),()=>{const _0x30b7e4=_0xef092e;for(const _0x5576e6 of this[_0x30b7e4(0xb7)][_0x30b7e4(0xc5)])_0x5576e6[_0x30b7e4(0xbc)]='s';this[_0x30b7e4(0xb7)][_0x30b7e4(0xc5)][_0x30b7e4(0xb2)]&&(this[_0x30b7e4(0xb7)][_0x30b7e4(0xc5)][_0x30b7e4(0xb2)][_0x30b7e4(0xbc)]='se');}),this[_0xef092e(0xb1)]({'tag':_0xef092e(0xad),'attributes':{'class':['ck',_0xef092e(0xb0),_0xef092e(0xc0),_0xef092e(0xb6),_0x342607['if'](_0xef092e(0xb8),_0xef092e(0xc6))]},'children':[this[_0xef092e(0xb7)]]});}}
23
+ const _0x2a9e46=_0x4c63;(function(_0x199d34,_0x21e938){const _0x425e64=_0x4c63,_0x13542b=_0x199d34();while(!![]){try{const _0x1369db=-parseInt(_0x425e64(0x1b8))/0x1+parseInt(_0x425e64(0x1ae))/0x2*(-parseInt(_0x425e64(0x1bf))/0x3)+-parseInt(_0x425e64(0x1bb))/0x4+parseInt(_0x425e64(0x1b9))/0x5*(-parseInt(_0x425e64(0x1b1))/0x6)+parseInt(_0x425e64(0x1b5))/0x7*(-parseInt(_0x425e64(0x1c2))/0x8)+parseInt(_0x425e64(0x1b2))/0x9+parseInt(_0x425e64(0x1b4))/0xa;if(_0x1369db===_0x21e938)break;else _0x13542b['push'](_0x13542b['shift']());}catch(_0x56a17c){_0x13542b['push'](_0x13542b['shift']());}}}(_0x3036,0xe016a));import{View as _0x25e0e7}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5bf10e}from'./presencecounterview.js';function _0x3036(){const _0x2c3c11=['items','hasPopup','692217JDNbGz','set','ck-presence-list','3696AOwPvh','tooltipPosition','ck-reset','ck-rounded-corners','counterView','locale','ck-presence-list--collapsed','div','inlineListView','2xTwbAV','change','isCollapsed','2025378oFKrHZ','14435910Khgdqi','bindTemplate','20572290yXWJbm','2170bJiNKX','bind','listenTo','284933FyFauM','5xsOGqB','first','6987592KZgBTH','setTemplate'];_0x3036=function(){return _0x2c3c11;};return _0x3036();}import{PresenceInlineListView as _0xe098a1}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4c63(_0x3a7a5a,_0xc40884){const _0x303649=_0x3036();return _0x4c63=function(_0x4c6345,_0x59086f){_0x4c6345=_0x4c6345-0x1a6;let _0x85aaea=_0x303649[_0x4c6345];return _0x85aaea;},_0x4c63(_0x3a7a5a,_0xc40884);}export class PresenceListView extends _0x25e0e7{[_0x2a9e46(0x1a9)];[_0x2a9e46(0x1ad)];constructor(_0x5319e3,_0x54be8c=0x6){const _0x339a91=_0x2a9e46;super(_0x5319e3);const _0x59e10d=this[_0x339a91(0x1b3)];this[_0x339a91(0x1c0)](_0x339a91(0x1b0),!0x0),this[_0x339a91(0x1a9)]=new _0x5bf10e(this[_0x339a91(0x1aa)],_0x54be8c),this[_0x339a91(0x1ad)]=new _0xe098a1(_0x5319e3),this[_0x339a91(0x1ad)][_0x339a91(0x1b6)](_0x339a91(0x1be))['to'](this,_0x339a91(0x1b0)),this[_0x339a91(0x1b7)](this[_0x339a91(0x1ad)][_0x339a91(0x1bd)],_0x339a91(0x1af),()=>{const _0x12e044=_0x339a91;for(const _0x19fc21 of this[_0x12e044(0x1ad)][_0x12e044(0x1bd)])_0x19fc21[_0x12e044(0x1a6)]='s';this[_0x12e044(0x1ad)][_0x12e044(0x1bd)][_0x12e044(0x1ba)]&&(this[_0x12e044(0x1ad)][_0x12e044(0x1bd)][_0x12e044(0x1ba)][_0x12e044(0x1a6)]='se');}),this[_0x339a91(0x1bc)]({'tag':_0x339a91(0x1ac),'attributes':{'class':['ck',_0x339a91(0x1c1),_0x339a91(0x1a7),_0x339a91(0x1a8),_0x59e10d['if'](_0x339a91(0x1b0),_0x339a91(0x1ab))]},'children':[this[_0x339a91(0x1ad)]]});}}
@@ -7,8 +7,8 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { ContextPlugin } from 'ckeditor5/src/core.js';
10
- import Sessions from './realtimecollaborativeediting/sessions.js';
11
- import PresenceListUI from './presencelist/presencelistui.js';
10
+ import { Sessions } from './realtimecollaborativeediting/sessions.js';
11
+ import { PresenceListUI } from './presencelist/presencelistui.js';
12
12
  /**
13
13
  * The `PresenceList` plugin provides a UI which displays all {@link module:collaboration-core/users~Users users} that are
14
14
  * currently connected to the edited document. The users are displayed as a row of avatars.
@@ -17,7 +17,7 @@ import PresenceListUI from './presencelist/presencelistui.js';
17
17
  *
18
18
  * The presence list UI collapses to a dropdown if six or more users are connected.
19
19
  */
20
- export default class PresenceList extends ContextPlugin {
20
+ export declare class PresenceList extends ContextPlugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x230a05=_0x2fcb;(function(_0x1980cc,_0x197464){var _0x1e0aac=_0x2fcb,_0x1a21e5=_0x1980cc();while(!![]){try{var _0x45f26e=-parseInt(_0x1e0aac(0x158))/0x1*(parseInt(_0x1e0aac(0x160))/0x2)+parseInt(_0x1e0aac(0x15f))/0x3+-parseInt(_0x1e0aac(0x161))/0x4+parseInt(_0x1e0aac(0x152))/0x5+parseInt(_0x1e0aac(0x155))/0x6*(-parseInt(_0x1e0aac(0x15e))/0x7)+-parseInt(_0x1e0aac(0x15c))/0x8*(parseInt(_0x1e0aac(0x156))/0x9)+-parseInt(_0x1e0aac(0x15d))/0xa*(-parseInt(_0x1e0aac(0x159))/0xb);if(_0x45f26e===_0x197464)break;else _0x1a21e5['push'](_0x1a21e5['shift']());}catch(_0x3dc5c5){_0x1a21e5['push'](_0x1a21e5['shift']());}}}(_0x332b,0x8b7c1));import{ContextPlugin as _0x3438b7}from'ckeditor5/src/core.js';import _0x200bb9 from'./realtimecollaborativeediting/sessions.js';import _0x464e0d from'./presencelist/presencelistui.js';function _0x2fcb(_0x17345a,_0x5522e6){var _0x332b42=_0x332b();return _0x2fcb=function(_0x2fcb3a,_0xad80de){_0x2fcb3a=_0x2fcb3a-0x152;var _0x530210=_0x332b42[_0x2fcb3a];return _0x530210;},_0x2fcb(_0x17345a,_0x5522e6);}function _0x332b(){var _0x2d4216=['PresenceList','pluginName','8ttYPtw','26490dWKMGd','393582CiGfGj','2618391ueVUCX','118CLESBe','1914236dIYVmf','5270610kxPhpz','isPremiumPlugin','requires','66bppvTF','3860577ReDfkD','isOfficialPlugin','16418vNRVXY','4730iYzfoH'];_0x332b=function(){return _0x2d4216;};return _0x332b();}export default class s extends _0x3438b7{static get[_0x230a05(0x154)](){return[_0x200bb9,_0x464e0d];}static get[_0x230a05(0x15b)](){var _0x422334=_0x230a05;return _0x422334(0x15a);}static get[_0x230a05(0x157)](){return!0x0;}static get[_0x230a05(0x153)](){return!0x0;}}
23
+ var _0x452f21=_0x2ef9;(function(_0x36f3c0,_0x31b7f){var _0x3c5d56=_0x2ef9,_0x36155e=_0x36f3c0();while(!![]){try{var _0x46d194=-parseInt(_0x3c5d56(0x139))/0x1+parseInt(_0x3c5d56(0x13d))/0x2*(-parseInt(_0x3c5d56(0x138))/0x3)+parseInt(_0x3c5d56(0x13b))/0x4*(-parseInt(_0x3c5d56(0x141))/0x5)+-parseInt(_0x3c5d56(0x142))/0x6+-parseInt(_0x3c5d56(0x148))/0x7*(-parseInt(_0x3c5d56(0x13c))/0x8)+-parseInt(_0x3c5d56(0x13e))/0x9*(-parseInt(_0x3c5d56(0x147))/0xa)+parseInt(_0x3c5d56(0x143))/0xb*(parseInt(_0x3c5d56(0x144))/0xc);if(_0x46d194===_0x31b7f)break;else _0x36155e['push'](_0x36155e['shift']());}catch(_0x4be1fe){_0x36155e['push'](_0x36155e['shift']());}}}(_0x2683,0xa6b64));function _0x2683(){var _0x58b31b=['4089113kfnMWe','3eXaPSq','232335ZAqzMG','PresenceList','1420932hyEOKZ','8WldgbA','2383710tciWGB','68589tFwixl','requires','isOfficialPlugin','5Ugkfyq','1890876HkwbUI','396fNSVZE','431328aYRtnD','pluginName','isPremiumPlugin','1180nzgSKy'];_0x2683=function(){return _0x58b31b;};return _0x2683();}import{ContextPlugin as _0xd7c170}from'ckeditor5/src/core.js';import{Sessions as _0x28d790}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x221a35}from'./presencelist/presencelistui.js';function _0x2ef9(_0xc3da10,_0x399303){var _0x268320=_0x2683();return _0x2ef9=function(_0x2ef9d8,_0x3b6e7c){_0x2ef9d8=_0x2ef9d8-0x138;var _0x1385d9=_0x268320[_0x2ef9d8];return _0x1385d9;},_0x2ef9(_0xc3da10,_0x399303);}export class PresenceList extends _0xd7c170{static get[_0x452f21(0x13f)](){return[_0x28d790,_0x221a35];}static get[_0x452f21(0x145)](){var _0x51027d=_0x452f21;return _0x51027d(0x13a);}static get[_0x452f21(0x140)](){return!0x0;}static get[_0x452f21(0x146)](){return!0x0;}}
@@ -9,15 +9,15 @@
9
9
  import { Context, ContextPlugin, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
11
11
  import { CommentsService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
12
- import WebSocketGateway, { type ReconnectContextPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
13
- import Sessions from '../realtimecollaborativeediting/sessions.js';
12
+ import { WebSocketGateway, type RtcReconnectContextPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
13
+ import { Sessions } from '../realtimecollaborativeediting/sessions.js';
14
14
  /**
15
15
  * The Cloud Services Comments Adapter plugin.
16
16
  *
17
17
  * Visit the {@glink features/collaboration/context-and-collaboration-features Context and Collaboration Features} guide
18
18
  * to learn how to use it.
19
19
  */
20
- export default class CloudServicesCommentsAdapter extends ContextPlugin implements ReconnectContextPlugin {
20
+ export declare class CloudServicesCommentsAdapter extends ContextPlugin implements RtcReconnectContextPlugin {
21
21
  static CommentsService: typeof CommentsService;
22
22
  /**
23
23
  * @inheritDoc
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c0c23=_0x2124;function _0x2124(_0x26b33b,_0x44fb9e){const _0x430a38=_0x430a();return _0x2124=function(_0x212415,_0x10aa6e){_0x212415=_0x212415-0x199;let _0x49858d=_0x430a38[_0x212415];return _0x49858d;},_0x2124(_0x26b33b,_0x44fb9e);}(function(_0x1eca0e,_0x3472b6){const _0x4024f7=_0x2124,_0x2b325f=_0x1eca0e();while(!![]){try{const _0x36f21d=parseInt(_0x4024f7(0x19a))/0x1+parseInt(_0x4024f7(0x1f6))/0x2+-parseInt(_0x4024f7(0x1b9))/0x3*(-parseInt(_0x4024f7(0x1a7))/0x4)+parseInt(_0x4024f7(0x1de))/0x5*(parseInt(_0x4024f7(0x1d2))/0x6)+parseInt(_0x4024f7(0x1cb))/0x7*(parseInt(_0x4024f7(0x1d3))/0x8)+parseInt(_0x4024f7(0x1ac))/0x9*(-parseInt(_0x4024f7(0x1eb))/0xa)+-parseInt(_0x4024f7(0x1cc))/0xb*(parseInt(_0x4024f7(0x1f2))/0xc);if(_0x36f21d===_0x3472b6)break;else _0x2b325f['push'](_0x2b325f['shift']());}catch(_0x5c3b4c){_0x2b325f['push'](_0x2b325f['shift']());}}}(_0x430a,0xcc9d1));import{Context as _0x49d4f0,ContextPlugin as _0x45ff44}from'ckeditor5/src/core.js';import{CKEditorError as _0x262663}from'ckeditor5/src/utils.js';import{Users as _0x2a069b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x16ff2d,User as _0x4b26d7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x514132 from'../realtimecollaborativeediting/websocketgateway.js';import _0xa72d3b from'../realtimecollaborativeediting/sessions.js';class a extends _0x45ff44{static [_0x2c0c23(0x1b6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x16ff2d)());[_0x2c0c23(0x1fc)];static get[_0x2c0c23(0x1c4)](){const _0x22f0b4=_0x2c0c23;return[_0x514132,_0x22f0b4(0x1ab),_0xa72d3b,_0x2a069b];}static get[_0x2c0c23(0x1b3)](){const _0x174a63=_0x2c0c23;return _0x174a63(0x1d1);}static get[_0x2c0c23(0x1a3)](){return!0x0;}static get[_0x2c0c23(0x1e2)](){return!0x0;}constructor(_0x363838){const _0x4a296d=_0x2c0c23;super(_0x363838),this[_0x4a296d(0x1fc)]=new Map();}async[_0x2c0c23(0x1d4)](){const _0x561f7a=_0x2c0c23,_0x2928c9=this[_0x561f7a(0x1cd)],_0xa73a90=_0x2928c9[_0x561f7a(0x1d5)][_0x561f7a(0x1ec)](_0x561f7a(0x1ab));if(_0x2928c9[_0x561f7a(0x1d5)][_0x561f7a(0x1ec)](_0x514132)[_0x561f7a(0x1c9)](this),_0xa73a90[_0x561f7a(0x1c3)]={'addCommentThread':async({channelId:_0x1c16ee,threadId:_0x3f6eb7,comments:_0x15fc84,resolvedAt:_0x4ebd2e,resolvedBy:_0x379b4b,context:_0xe1cd97,attributes:_0x4e0224})=>{const _0x5f543c=_0x561f7a,_0x1d52ce=await this[_0x5f543c(0x1e8)](_0x1c16ee)[_0x5f543c(0x1c1)]({'commentThreadId':_0x3f6eb7,'comments':_0x15fc84[_0x5f543c(0x1d6)](_0x70e8e6=>function(_0x4d3708,_0x4441b8,_0x3ab360){const _0x52a491=_0x5f543c;return{'commentThreadId':_0x3ab360,'commentId':_0x4d3708[_0x52a491(0x1df)],'userId':_0x4d3708[_0x52a491(0x1e7)],'content':_0x4d3708[_0x52a491(0x1d7)],'documentId':_0x4441b8,'createdAt':_0x4d3708[_0x52a491(0x1ea)],'attributes':_0x4d3708[_0x52a491(0x1aa)]||{}};}(_0x70e8e6,_0x1c16ee,_0x3f6eb7)),'resolvedAt':_0x4ebd2e,'resolvedBy':_0x379b4b,'context':_0xe1cd97,'attributes':_0x4e0224})[_0x5f543c(0x1bd)](R);return{'threadId':_0x1d52ce[_0x5f543c(0x1f8)],'comments':_0x1d52ce[_0x5f543c(0x1e6)]};},'getCommentThread':async({channelId:_0xcac7fc,threadId:_0x44fd2e})=>{const _0x5c0aaf=_0x561f7a,_0x2c958a=await this[_0x5c0aaf(0x1e8)](_0xcac7fc)[_0x5c0aaf(0x1e3)](_0x44fd2e)[_0x5c0aaf(0x1bd)](R);return _0x2c958a[_0x5c0aaf(0x1a8)]?null:(await this[_0x5c0aaf(0x1c5)]([_0x2c958a]),{'threadId':_0x2c958a[_0x5c0aaf(0x1f8)],'comments':_0x2c958a[_0x5c0aaf(0x1e6)][_0x5c0aaf(0x1d6)](_),'context':_0x2c958a[_0x5c0aaf(0x1cd)],'resolvedAt':_0x2c958a[_0x5c0aaf(0x1c2)],'resolvedBy':_0x2c958a[_0x5c0aaf(0x1ce)],'attributes':_0x2c958a[_0x5c0aaf(0x1aa)]||{}});},'updateCommentThread':async({channelId:_0x4abc8f,threadId:_0x19a5c6,context:_0x34eda9,unlinkedAt:_0x53e92d,attributes:_0xf114ab})=>this[_0x561f7a(0x1e8)](_0x4abc8f)[_0x561f7a(0x1f7)]({'commentThreadId':_0x19a5c6,'context':_0x34eda9,'attributes':_0xf114ab,'unlinkedAt':_0x53e92d})[_0x561f7a(0x1bd)](S)[_0x561f7a(0x1bd)](R),'resolveCommentThread':async({channelId:_0x3e48e2,threadId:_0x1e3f1d})=>{const _0x532e3d=_0x561f7a,_0x16f470=await this[_0x532e3d(0x1e8)](_0x3e48e2)[_0x532e3d(0x1d8)](_0x1e3f1d)[_0x532e3d(0x1bd)](S)[_0x532e3d(0x1bd)](R);return{'threadId':_0x16f470[_0x532e3d(0x1f8)],'resolvedAt':_0x16f470[_0x532e3d(0x1c2)],'resolvedBy':_0x16f470[_0x532e3d(0x1ce)]};},'reopenCommentThread':async({channelId:_0x4d93ad,threadId:_0x296936})=>this[_0x561f7a(0x1e8)](_0x4d93ad)[_0x561f7a(0x1f9)](_0x296936)[_0x561f7a(0x1bd)](S)[_0x561f7a(0x1bd)](R),'removeCommentThread':({channelId:_0x5dd6a8,threadId:_0x555336})=>this[_0x561f7a(0x1e8)](_0x5dd6a8)[_0x561f7a(0x1db)](_0x555336)[_0x561f7a(0x1bd)](S)[_0x561f7a(0x1bd)](R),'addComment':({channelId:_0x50ada5,threadId:_0x3a20b8,commentId:_0x6c598b,content:_0xbbdc3,attributes:_0x378f8c})=>this[_0x561f7a(0x1e8)](_0x50ada5)[_0x561f7a(0x1fd)](_0x3a20b8,_0x6c598b,_0xbbdc3,_0x378f8c)[_0x561f7a(0x1bd)](R),'updateComment':({channelId:_0xec632f,threadId:_0x4dfe50,commentId:_0x561a1f,content:_0x43069b,attributes:_0x2dcee0})=>this[_0x561f7a(0x1e8)](_0xec632f)[_0x561f7a(0x200)](_0x4dfe50,_0x561a1f,_0x43069b,_0x2dcee0)[_0x561f7a(0x1bd)](S)[_0x561f7a(0x1bd)](R),'removeComment':({channelId:_0x4aae9a,threadId:_0x5dfd37,commentId:_0x5719cc})=>this[_0x561f7a(0x1e8)](_0x4aae9a)[_0x561f7a(0x19e)](_0x5dfd37,_0x5719cc)[_0x561f7a(0x1bd)](S)[_0x561f7a(0x1bd)](R)},_0x2928c9 instanceof _0x49d4f0){const _0x11eefa=_0x2928c9[_0x561f7a(0x1fb)][_0x561f7a(0x1ec)](_0x561f7a(0x19b)),_0x16674a=_0x2928c9[_0x561f7a(0x1d5)][_0x561f7a(0x1ec)](_0xa72d3b);await this[_0x561f7a(0x1ba)](_0x11eefa);const _0xa277a5=await this[_0x561f7a(0x1fc)][_0x561f7a(0x1ec)](_0x11eefa)[_0x561f7a(0x1fe)]();this[_0x561f7a(0x1a9)](_0x16674a,_0x561f7a(0x19f)+_0x11eefa,(_0x302d8a,{session:_0x1394a9})=>{const _0x3afacf=_0x561f7a;_0x1394a9['id']===_0x16674a[_0x3afacf(0x1ae)]&&(_0x302d8a[_0x3afacf(0x1be)](),this[_0x3afacf(0x1cd)][_0x3afacf(0x1d5)][_0x3afacf(0x1ec)](_0x3afacf(0x1bc))[_0x3afacf(0x1b4)](_0x1394a9[_0x3afacf(0x1ef)],_0x11eefa));}),_0x16674a[_0x561f7a(0x1bf)](_0x11eefa,_0xa277a5);}}async[_0x2c0c23(0x1ba)](_0x4c683a){const _0x4dae46=_0x2c0c23;if(this[_0x4dae46(0x1fc)][_0x4dae46(0x1c0)](_0x4c683a))throw new _0x262663(_0x4dae46(0x1e1),null,{'channelId':_0x4c683a});const _0x2ea114=this[_0x4dae46(0x1cd)][_0x4dae46(0x1d5)][_0x4dae46(0x1ec)](_0x4dae46(0x1ab)),_0x4cec40=new a[(_0x4dae46(0x1b6))](_0x4c683a);this[_0x4dae46(0x1fc)][_0x4dae46(0x1c7)](_0x4c683a,_0x4cec40),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1da),(_0x1ad7bc,_0x174d13)=>{const _0x2417f6=_0x4dae46,{commentThreadId:_0x1e7e10,documentId:_0x2db4b7,context:_0x2d9f1e,attributes:_0x2e3ec4,resolvedAt:_0x131700,resolvedBy:_0x34d839,comments:_0x13f3b0}=_0x174d13;_0x2ea114[_0x2417f6(0x1e3)](_0x1e7e10)||_0x2ea114[_0x2417f6(0x1c1)]({'threadId':_0x1e7e10,'channelId':_0x2db4b7,'comments':_0x13f3b0?_0x13f3b0[_0x2417f6(0x1d6)](_):[],'context':_0x2d9f1e,'attributes':_0x2e3ec4,'resolvedAt':_0x131700,'resolvedBy':_0x34d839,'isFromAdapter':!0x0});}),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1f1),(_0x11a040,{commentThreadId:_0x3c9f01,documentId:_0x5d4d06,context:_0x2a323b,unlinkedAt:_0x4ae37e,attributes:_0x44fcba})=>{const _0x17be69=_0x4dae46;_0x2ea114[_0x17be69(0x1e3)](_0x3c9f01)&&_0x2ea114[_0x17be69(0x1f7)]({'threadId':_0x3c9f01,'channelId':_0x5d4d06,'context':_0x2a323b,'unlinkedAt':_0x4ae37e,'attributes':_0x44fcba,'isFromAdapter':!0x0});}),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1f3),(_0x184d05,{commentThreadId:_0x1dce37,resolvedBy:_0x1affce,resolvedAt:_0xe57d51})=>{const _0x53ff6f=_0x4dae46,_0x9eb73d=_0x2ea114[_0x53ff6f(0x1e3)](_0x1dce37);_0x9eb73d&&_0x9eb73d[_0x53ff6f(0x1b0)]({'resolvedBy':_0x1affce,'resolvedAt':_0xe57d51,'isFromAdapter':!0x0});}),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1c8),(_0x11a4fa,{commentThreadId:_0x1ac8ac})=>{const _0x5d6281=_0x4dae46,_0x329d86=_0x2ea114[_0x5d6281(0x1e3)](_0x1ac8ac);_0x329d86&&_0x329d86[_0x5d6281(0x1a0)]({'isFromAdapter':!0x0});}),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1e0),(_0xad5225,{commentThreadId:_0x149bd2})=>{const _0x250c5f=_0x4dae46,_0x568209=_0x2ea114[_0x250c5f(0x1e3)](_0x149bd2);_0x568209&&_0x568209[_0x250c5f(0x1ee)]({'isFromAdapter':!0x0});}),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1f0),(_0x5a79d7,_0x1f053a)=>{const _0xc34cb5=_0x4dae46,_0x57d5d4=_0x1f053a[_0xc34cb5(0x1f8)],_0x136446=_0x2ea114[_0xc34cb5(0x1e3)](_0x57d5d4);_0x136446&&_0x136446[_0xc34cb5(0x1fd)]({..._(_0x1f053a),'isFromAdapter':!0x0});}),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1d9),(_0x3882a4,{commentThreadId:_0x33e3d2,commentId:_0x33ba2d,content:_0x474d97,attributes:_0x27ffbd})=>{const _0x548bb8=_0x4dae46,_0x404cb5=_0x2ea114[_0x548bb8(0x1e3)](_0x33e3d2);if(_0x404cb5){const _0x5143a4=_0x404cb5[_0x548bb8(0x1fa)](_0x33ba2d);_0x5143a4&&_0x5143a4[_0x548bb8(0x1b8)]({'content':_0x474d97,'attributes':_0x27ffbd,'isFromAdapter':!0x0});}}),this[_0x4dae46(0x1a9)](_0x4cec40,_0x4dae46(0x1ff),(_0x936f9b,{commentThreadId:_0x8f4a22,commentId:_0x2a1ccd})=>{const _0xa39b50=_0x4dae46,_0xaf86b4=_0x2ea114[_0xa39b50(0x1e3)](_0x8f4a22);if(_0xaf86b4){const _0x34d507=_0xaf86b4[_0xa39b50(0x1fa)](_0x2a1ccd);_0x34d507&&_0x34d507[_0xa39b50(0x1ee)]({'isFromAdapter':!0x0});}}),await this[_0x4dae46(0x1b5)](_0x4c683a);}[_0x2c0c23(0x1b2)](){const _0xcedae1=_0x2c0c23;if(this[_0xcedae1(0x1cd)]instanceof _0x49d4f0){const _0x1bcfee=this[_0xcedae1(0x1cd)][_0xcedae1(0x1fb)][_0xcedae1(0x1ec)](_0xcedae1(0x19b));this[_0xcedae1(0x1af)](_0x1bcfee);}}[_0x2c0c23(0x1af)](_0x2c51c8){const _0xb7d415=_0x2c0c23;if(!this[_0xb7d415(0x1fc)][_0xb7d415(0x1c0)](_0x2c51c8))throw new _0x262663(_0xb7d415(0x1c6),null,{'channelId':_0x2c51c8});this[_0xb7d415(0x1e8)](_0x2c51c8)[_0xb7d415(0x1ad)](),this[_0xb7d415(0x1fc)][_0xb7d415(0x199)](_0x2c51c8);}async[_0x2c0c23(0x1dc)](){const _0x429bdd=_0x2c0c23;for(const _0x538e83 of this[_0x429bdd(0x1fc)][_0x429bdd(0x1b7)]())await this[_0x429bdd(0x1b5)](_0x538e83);if(this[_0x429bdd(0x1cd)]instanceof _0x49d4f0){const _0x335490=this[_0x429bdd(0x1cd)][_0x429bdd(0x1fb)][_0x429bdd(0x1ec)](_0x429bdd(0x19b)),_0x3cebea=this[_0x429bdd(0x1cd)][_0x429bdd(0x1d5)][_0x429bdd(0x1ec)](_0xa72d3b);_0x3cebea[_0x429bdd(0x1b1)](_0x335490);const _0x431136=await this[_0x429bdd(0x1fc)][_0x429bdd(0x1ec)](_0x335490)[_0x429bdd(0x1fe)]();_0x3cebea[_0x429bdd(0x1bf)](_0x335490,_0x431136);}}async[_0x2c0c23(0x1b5)](_0x522309){const _0x1c1ad1=_0x2c0c23,{connection:_0x5ac1dc}=this[_0x1c1ad1(0x1cd)][_0x1c1ad1(0x1d5)][_0x1c1ad1(0x1ec)](_0x514132),_0xa3155=this[_0x1c1ad1(0x1cd)][_0x1c1ad1(0x1d5)][_0x1c1ad1(0x1ec)](_0x1c1ad1(0x1ab)),_0x1d6015=this[_0x1c1ad1(0x1fc)][_0x1c1ad1(0x1ec)](_0x522309),_0x174214=await _0x1d6015[_0x1c1ad1(0x1a6)](_0x5ac1dc);await this[_0x1c1ad1(0x1c5)](_0x174214);const _0x4017fd=new Set(Array[_0x1c1ad1(0x1a4)](_0xa3155[_0x1c1ad1(0x1ca)]({'channelId':_0x522309}),_0x33cf7d=>_0x33cf7d['id']));for(const _0x4227dc of _0x174214)_0x4227dc[_0x1c1ad1(0x1a8)]||_0x4017fd[_0x1c1ad1(0x199)](_0x4227dc[_0x1c1ad1(0x1f8)]);for(const _0x5a8b2f of _0x4017fd)_0xa3155[_0x1c1ad1(0x1e3)](_0x5a8b2f)[_0x1c1ad1(0x1ee)]({'isFromAdapter':!0x0});for(const _0x3fd7db of _0x174214){let _0x530409=_0xa3155[_0x1c1ad1(0x1e3)](_0x3fd7db[_0x1c1ad1(0x1f8)]);const {commentThreadId:_0x2bf47d,context:_0x6a45b3,attributes:_0xaa159f,resolvedBy:_0x31dc32,resolvedAt:_0x4878e8,unlinkedAt:_0x283aac,deletedAt:_0x4ae8dc}=_0x3fd7db;if(_0x4ae8dc)continue;_0x530409||(_0x530409=_0xa3155[_0x1c1ad1(0x1c1)]({'channelId':_0x522309,'threadId':_0x2bf47d,'context':_0x6a45b3,'attributes':_0xaa159f||{},'resolvedBy':_0x31dc32,'resolvedAt':_0x4878e8,'unlinkedAt':_0x283aac,'isFromAdapter':!0x0}));const _0x37e7b6=new Set(Array[_0x1c1ad1(0x1a4)](_0x530409[_0x1c1ad1(0x1e6)],_0x17d1d5=>_0x17d1d5['id']));for(const _0x45bc75 of _0x3fd7db[_0x1c1ad1(0x1e6)])_0x37e7b6[_0x1c1ad1(0x199)](_0x45bc75[_0x1c1ad1(0x1df)]);for(const _0x7e37cf of _0x37e7b6)_0x530409[_0x1c1ad1(0x1fa)](_0x7e37cf)[_0x1c1ad1(0x1ee)]({'isFromAdapter':!0x0});for(const _0x1372a3 of _0x3fd7db[_0x1c1ad1(0x1e6)]){const _0x4a9b6e=_0x530409[_0x1c1ad1(0x1fa)](_0x1372a3[_0x1c1ad1(0x1df)]);_0x4a9b6e?_0x4a9b6e[_0x1c1ad1(0x1d7)]!==_0x1372a3[_0x1c1ad1(0x1d7)]&&_0x4a9b6e[_0x1c1ad1(0x1b8)]({'content':_0x1372a3[_0x1c1ad1(0x1d7)],'isFromAdapter':!0x0}):_0x530409[_0x1c1ad1(0x1fd)](Object[_0x1c1ad1(0x1cf)](_(_0x1372a3),{'isFromAdapter':!0x0}));}}}[_0x2c0c23(0x1e8)](_0x4fe891){const _0x209c57=_0x2c0c23;if(!this[_0x209c57(0x1fc)][_0x209c57(0x1c0)](_0x4fe891))throw new _0x262663(_0x209c57(0x19d),null,{'channelId':_0x4fe891});return this[_0x209c57(0x1fc)][_0x209c57(0x1ec)](_0x4fe891);}async[_0x2c0c23(0x1c5)](_0x344ebe){const _0x3436d7=_0x2c0c23,_0x361595=this[_0x3436d7(0x1cd)][_0x3436d7(0x1d5)][_0x3436d7(0x1ec)](_0x2a069b),{connection:_0x4a2def}=this[_0x3436d7(0x1cd)][_0x3436d7(0x1d5)][_0x3436d7(0x1ec)](_0x514132),_0x5b6d9e=new Set();for(const {resolvedBy:_0x109bed,comments:_0x13d8fa}of _0x344ebe){_0x109bed&&!_0x361595[_0x3436d7(0x1e9)](_0x109bed)&&_0x5b6d9e[_0x3436d7(0x1dd)](_0x109bed);for(const {userId:_0x3e36e7}of _0x13d8fa)_0x361595[_0x3436d7(0x1e9)](_0x3e36e7)||_0x5b6d9e[_0x3436d7(0x1dd)](_0x3e36e7);}if(0x0===_0x5b6d9e[_0x3436d7(0x1a1)])return;const _0xd3c35d=await _0x4b26d7[_0x3436d7(0x1a2)](_0x4a2def,Array[_0x3436d7(0x1a4)](_0x5b6d9e));for(const _0x7a5822 of _0xd3c35d)_0x361595[_0x3436d7(0x1e9)](_0x7a5822['id'])||_0x361595[_0x3436d7(0x1f4)](_0x7a5822);}}export default a;async function S(_0x5a6bcd){const _0x288abf=_0x2c0c23;if(_0x288abf(0x1e4)!==_0x5a6bcd[_0x288abf(0x1a5)])throw _0x5a6bcd;}function _0x430a(){const _0x59f991=['deletedAt','listenTo','attributes','CommentsRepository','702549rwEfWr','disconnect','mySessionId','_terminateService','resolve','unregister','destroy','pluginName','setPermissions','_connectService','CommentsService','keys','update','282ijHXVv','_setUpService','startsWith','Permissions','catch','off','register','has','addCommentThread','resolvedAt','adapter','requires','_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','set','commentThreadReopened','addToReconnectionStack','getCommentThreads','308DBBhfx','41309939ZtiCik','context','resolvedBy','assign','cloud-services-internal-error:\x20Request\x20timeout.','CloudServicesCommentsAdapter','130158iPnPNA','86312HBJdsz','init','plugins','map','content','resolveCommentThread','commentUpdated','commentThreadAdded','removeCommentThread','reconnect','add','165ilSdpL','commentId','commentThreadRemoved','cloudservicescommentsadapter-connect-already-connected','isPremiumPlugin','getCommentThread','404','cloud-services-internal-error:\x20Not\x20connected.','comments','authorId','_getService','getUser','createdAt','90xMJEVT','get','userId','remove','permissions','commentAdded','commentThreadUpdated','12JHETJs','commentThreadResolved','addUser','message','3275930UurvSa','updateCommentThread','commentThreadId','reopenCommentThread','getComment','config','_services','addComment','getConnectedSessions','commentRemoved','updateComment','delete','1183599TvMQbd','collaboration.channelId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloudservicescommentsadapter-service-not-exist','removeComment','sessionAdd:','reopen','size','getMany','isOfficialPlugin','from','code','connect','54636kPHnTv'];_0x430a=function(){return _0x59f991;};return _0x430a();}function R(_0x2addfa){const _0x5c8c52=_0x2c0c23;if((_0x4b7ed1=_0x2addfa)[_0x5c8c52(0x1f5)][_0x5c8c52(0x1bb)](_0x5c8c52(0x19c))||_0x4b7ed1[_0x5c8c52(0x1f5)][_0x5c8c52(0x1bb)](_0x5c8c52(0x1e5))||_0x4b7ed1[_0x5c8c52(0x1f5)][_0x5c8c52(0x1bb)](_0x5c8c52(0x1d0)))return new Promise(()=>{});var _0x4b7ed1;throw _0x2addfa;}function _(_0x4b7128){const _0x2fe41b=_0x2c0c23;return{'threadId':_0x4b7128[_0x2fe41b(0x1f8)],'commentId':_0x4b7128[_0x2fe41b(0x1df)],'content':_0x4b7128[_0x2fe41b(0x1d7)],'createdAt':_0x4b7128[_0x2fe41b(0x1ea)],'authorId':_0x4b7128[_0x2fe41b(0x1ed)],'attributes':_0x4b7128[_0x2fe41b(0x1aa)]||{}};}
23
+ const _0x4f4ff0=_0x40d1;(function(_0x3fd9b3,_0x492adf){const _0x4ac898=_0x40d1,_0x356562=_0x3fd9b3();while(!![]){try{const _0x4c543a=parseInt(_0x4ac898(0x1e8))/0x1+-parseInt(_0x4ac898(0x1cd))/0x2*(parseInt(_0x4ac898(0x200))/0x3)+parseInt(_0x4ac898(0x1f9))/0x4+parseInt(_0x4ac898(0x203))/0x5+parseInt(_0x4ac898(0x1c6))/0x6+-parseInt(_0x4ac898(0x1e7))/0x7+parseInt(_0x4ac898(0x1c7))/0x8*(parseInt(_0x4ac898(0x1ca))/0x9);if(_0x4c543a===_0x492adf)break;else _0x356562['push'](_0x356562['shift']());}catch(_0x469767){_0x356562['push'](_0x356562['shift']());}}}(_0xee24,0xed761));import{Context as _0x2cc1ba,ContextPlugin as _0x56d4bd}from'ckeditor5/src/core.js';import{CKEditorError as _0xe6358f}from'ckeditor5/src/utils.js';function _0xee24(){const _0x5db0b7=['4654300EswAhm','requires','context','set','off','destroy','resolve','CloudServicesCommentsAdapter','resolvedBy','404','commentId','startsWith','assign','remove','from','userId','updateCommentThread','cloudservicescommentsadapter-disconnect-not-exist','collaboration.channelId','deletedAt','getConnectedSessions','commentThreadAdded','isOfficialPlugin','authorId','connect','add','keys','size','mySessionId','commentThreadId','unregister','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','Permissions','adapter','resolveCommentThread','getMany','cloud-services-internal-error:\x20Not\x20connected.','config','delete','removeCommentThread','1116534HzxYoF','7956232YAgEpV','disconnect','commentThreadResolved','9jEsAKP','plugins','getCommentThread','2VprSMS','catch','removeComment','resolvedAt','cloudservicescommentsadapter-connect-already-connected','get','reopenCommentThread','createdAt','addUser','commentThreadReopened','_connectService','permissions','register','_fetchMissingUsersForThreads','updateComment','attributes','sessionAdd:','content','comments','commentAdded','commentUpdated','commentThreadUpdated','setPermissions','update','commentThreadRemoved','map','13223231dvXoAD','1230499FLmVyB','cloudservicescommentsadapter-service-not-exist','getComment','_terminateService','reopen','commentRemoved','isPremiumPlugin','listenTo','addComment','message','_services','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','addCommentThread','CommentsService','getUser','_getService','5225712oZEDTU','_setUpService','CommentsRepository','pluginName','code','has','getCommentThreads','5360193draYcu','init','reconnect'];_0xee24=function(){return _0x5db0b7;};return _0xee24();}import{Users as _0x2987d5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40d1(_0x237aed,_0x3c0c16){const _0xee24f=_0xee24();return _0x40d1=function(_0x40d106,_0x48fe48){_0x40d106=_0x40d106-0x1b4;let _0x224951=_0xee24f[_0x40d106];return _0x224951;},_0x40d1(_0x237aed,_0x3c0c16);}import{CommentsService as _0x14a4e4,User as _0x32e93}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5c4384}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3a5202}from'../realtimecollaborativeediting/sessions.js';class s extends _0x56d4bd{static [_0x4f4ff0(0x1f6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x14a4e4)());[_0x4f4ff0(0x1f2)];static get[_0x4f4ff0(0x204)](){const _0x5b04d9=_0x4f4ff0;return[_0x5c4384,_0x5b04d9(0x1fb),_0x3a5202,_0x2987d5];}static get[_0x4f4ff0(0x1fc)](){const _0x573c04=_0x4f4ff0;return _0x573c04(0x20a);}static get[_0x4f4ff0(0x1b4)](){return!0x0;}static get[_0x4f4ff0(0x1ee)](){return!0x0;}constructor(_0x42bbe3){const _0x23c063=_0x4f4ff0;super(_0x42bbe3),this[_0x23c063(0x1f2)]=new Map();}async[_0x4f4ff0(0x201)](){const _0x45bf98=_0x4f4ff0,_0x3b5663=this[_0x45bf98(0x205)],_0x487898=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x45bf98(0x1fb));if(_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x5c4384)[_0x45bf98(0x1f4)](this),_0x487898[_0x45bf98(0x1bf)]={'addCommentThread':async({channelId:_0x11befb,threadId:_0x51deca,comments:_0x25a781,resolvedAt:_0x1adfda,resolvedBy:_0x436da1,context:_0x51d695,attributes:_0x1831cc})=>{const _0x1d325d=_0x45bf98,_0x38ab48=await this[_0x1d325d(0x1f8)](_0x11befb)[_0x1d325d(0x1f5)]({'commentThreadId':_0x51deca,'comments':_0x25a781[_0x1d325d(0x1e6)](_0xb25668=>function(_0x2fabb9,_0x3a88d6,_0x537af0){const _0x2981f1=_0x1d325d;return{'commentThreadId':_0x537af0,'commentId':_0x2fabb9[_0x2981f1(0x20d)],'userId':_0x2fabb9[_0x2981f1(0x1b5)],'content':_0x2fabb9[_0x2981f1(0x1de)],'documentId':_0x3a88d6,'createdAt':_0x2fabb9[_0x2981f1(0x1d4)],'attributes':_0x2fabb9[_0x2981f1(0x1dc)]||{}};}(_0xb25668,_0x11befb,_0x51deca)),'resolvedAt':_0x1adfda,'resolvedBy':_0x436da1,'context':_0x51d695,'attributes':_0x1831cc})[_0x1d325d(0x1ce)](k);return{'threadId':_0x38ab48[_0x1d325d(0x1bb)],'comments':_0x38ab48[_0x1d325d(0x1df)]};},'getCommentThread':async({channelId:_0x359f62,threadId:_0xee073a})=>{const _0x1a0f04=_0x45bf98,_0x155a1a=await this[_0x1a0f04(0x1f8)](_0x359f62)[_0x1a0f04(0x1cc)](_0xee073a)[_0x1a0f04(0x1ce)](k);return _0x155a1a[_0x1a0f04(0x216)]?null:(await this[_0x1a0f04(0x1da)]([_0x155a1a]),{'threadId':_0x155a1a[_0x1a0f04(0x1bb)],'comments':_0x155a1a[_0x1a0f04(0x1df)][_0x1a0f04(0x1e6)](B),'context':_0x155a1a[_0x1a0f04(0x205)],'resolvedAt':_0x155a1a[_0x1a0f04(0x1d0)],'resolvedBy':_0x155a1a[_0x1a0f04(0x20b)],'attributes':_0x155a1a[_0x1a0f04(0x1dc)]||{}});},'updateCommentThread':async({channelId:_0x5095a8,threadId:_0x1eeff4,context:_0x366f5d,unlinkedAt:_0x3c02b7,attributes:_0x50387b})=>this[_0x45bf98(0x1f8)](_0x5095a8)[_0x45bf98(0x213)]({'commentThreadId':_0x1eeff4,'context':_0x366f5d,'attributes':_0x50387b,'unlinkedAt':_0x3c02b7})[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'resolveCommentThread':async({channelId:_0x30c93d,threadId:_0x23424e})=>{const _0x8416da=_0x45bf98,_0x112560=await this[_0x8416da(0x1f8)](_0x30c93d)[_0x8416da(0x1c0)](_0x23424e)[_0x8416da(0x1ce)](F)[_0x8416da(0x1ce)](k);return{'threadId':_0x112560[_0x8416da(0x1bb)],'resolvedAt':_0x112560[_0x8416da(0x1d0)],'resolvedBy':_0x112560[_0x8416da(0x20b)]};},'reopenCommentThread':async({channelId:_0x15e23c,threadId:_0xddb858})=>this[_0x45bf98(0x1f8)](_0x15e23c)[_0x45bf98(0x1d3)](_0xddb858)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeCommentThread':({channelId:_0x2d2f2c,threadId:_0x1b9a19})=>this[_0x45bf98(0x1f8)](_0x2d2f2c)[_0x45bf98(0x1c5)](_0x1b9a19)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'addComment':({channelId:_0x13aea8,threadId:_0x2e5b09,commentId:_0x4af9ea,content:_0x58600e,attributes:_0x24e30b})=>this[_0x45bf98(0x1f8)](_0x13aea8)[_0x45bf98(0x1f0)](_0x2e5b09,_0x4af9ea,_0x58600e,_0x24e30b)[_0x45bf98(0x1ce)](k),'updateComment':({channelId:_0x17c973,threadId:_0x28f08f,commentId:_0x1b864c,content:_0x13784a,attributes:_0x10d337})=>this[_0x45bf98(0x1f8)](_0x17c973)[_0x45bf98(0x1db)](_0x28f08f,_0x1b864c,_0x13784a,_0x10d337)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeComment':({channelId:_0x256ca6,threadId:_0x1b1f4f,commentId:_0x4fe482})=>this[_0x45bf98(0x1f8)](_0x256ca6)[_0x45bf98(0x1cf)](_0x1b1f4f,_0x4fe482)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k)},_0x3b5663 instanceof _0x2cc1ba){const _0x6f60d2=_0x3b5663[_0x45bf98(0x1c3)][_0x45bf98(0x1d2)](_0x45bf98(0x215)),_0x37517f=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x3a5202);await this[_0x45bf98(0x1fa)](_0x6f60d2);const _0x1f1621=await this[_0x45bf98(0x1f2)][_0x45bf98(0x1d2)](_0x6f60d2)[_0x45bf98(0x217)]();this[_0x45bf98(0x1ef)](_0x37517f,_0x45bf98(0x1dd)+_0x6f60d2,(_0x5d56ec,{session:_0xd2cd44})=>{const _0x3ccb8f=_0x45bf98;_0xd2cd44['id']===_0x37517f[_0x3ccb8f(0x1ba)]&&(_0x5d56ec[_0x3ccb8f(0x207)](),this[_0x3ccb8f(0x205)][_0x3ccb8f(0x1cb)][_0x3ccb8f(0x1d2)](_0x3ccb8f(0x1be))[_0x3ccb8f(0x1e3)](_0xd2cd44[_0x3ccb8f(0x1d8)],_0x6f60d2));}),_0x37517f[_0x45bf98(0x1d9)](_0x6f60d2,_0x1f1621);}}async[_0x4f4ff0(0x1fa)](_0x54e4f6){const _0x4799a7=_0x4f4ff0;if(this[_0x4799a7(0x1f2)][_0x4799a7(0x1fe)](_0x54e4f6))throw new _0xe6358f(_0x4799a7(0x1d1),null,{'channelId':_0x54e4f6});const _0x15395a=this[_0x4799a7(0x205)][_0x4799a7(0x1cb)][_0x4799a7(0x1d2)](_0x4799a7(0x1fb)),_0x57b5a2=new s[(_0x4799a7(0x1f6))](_0x54e4f6);this[_0x4799a7(0x1f2)][_0x4799a7(0x206)](_0x54e4f6,_0x57b5a2),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x218),(_0x50a1e2,_0x4e3346)=>{const _0x2f5bfe=_0x4799a7,{commentThreadId:_0x5b5a35,documentId:_0x36ecd4,context:_0x3371ce,attributes:_0x3a7b99,resolvedAt:_0x3c1e14,resolvedBy:_0x4a3e35,comments:_0x9a9063}=_0x4e3346;_0x15395a[_0x2f5bfe(0x1cc)](_0x5b5a35)||_0x15395a[_0x2f5bfe(0x1f5)]({'threadId':_0x5b5a35,'channelId':_0x36ecd4,'comments':_0x9a9063?_0x9a9063[_0x2f5bfe(0x1e6)](B):[],'context':_0x3371ce,'attributes':_0x3a7b99,'resolvedAt':_0x3c1e14,'resolvedBy':_0x4a3e35,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e2),(_0x15bbdf,{commentThreadId:_0x3ca403,documentId:_0x469c89,context:_0x3a8ff8,unlinkedAt:_0x5622fc,attributes:_0x44cfc7})=>{const _0x192092=_0x4799a7;_0x15395a[_0x192092(0x1cc)](_0x3ca403)&&_0x15395a[_0x192092(0x213)]({'threadId':_0x3ca403,'channelId':_0x469c89,'context':_0x3a8ff8,'unlinkedAt':_0x5622fc,'attributes':_0x44cfc7,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1c9),(_0x2414c1,{commentThreadId:_0x29e6c3,resolvedBy:_0xc00fe6,resolvedAt:_0x127def})=>{const _0x1d1b67=_0x4799a7,_0x31a0a0=_0x15395a[_0x1d1b67(0x1cc)](_0x29e6c3);_0x31a0a0&&_0x31a0a0[_0x1d1b67(0x209)]({'resolvedBy':_0xc00fe6,'resolvedAt':_0x127def,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1d6),(_0x513fe4,{commentThreadId:_0xd93415})=>{const _0x53f386=_0x4799a7,_0x257022=_0x15395a[_0x53f386(0x1cc)](_0xd93415);_0x257022&&_0x257022[_0x53f386(0x1ec)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e5),(_0x28336e,{commentThreadId:_0x3ee4ab})=>{const _0x50d4a0=_0x4799a7,_0x59ac8b=_0x15395a[_0x50d4a0(0x1cc)](_0x3ee4ab);_0x59ac8b&&_0x59ac8b[_0x50d4a0(0x210)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e0),(_0x1c2881,_0x461d25)=>{const _0x2aef35=_0x4799a7,_0x50c22f=_0x461d25[_0x2aef35(0x1bb)],_0x337f25=_0x15395a[_0x2aef35(0x1cc)](_0x50c22f);_0x337f25&&_0x337f25[_0x2aef35(0x1f0)]({...B(_0x461d25),'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e1),(_0x3ba5f6,{commentThreadId:_0x13b113,commentId:_0x3de5ff,content:_0x14ad26,attributes:_0x4ec2c5})=>{const _0x5006b6=_0x4799a7,_0x454652=_0x15395a[_0x5006b6(0x1cc)](_0x13b113);if(_0x454652){const _0x4481a4=_0x454652[_0x5006b6(0x1ea)](_0x3de5ff);_0x4481a4&&_0x4481a4[_0x5006b6(0x1e4)]({'content':_0x14ad26,'attributes':_0x4ec2c5,'isFromAdapter':!0x0});}}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1ed),(_0x58982b,{commentThreadId:_0x29dd5f,commentId:_0x16a414})=>{const _0x3973ca=_0x4799a7,_0x380791=_0x15395a[_0x3973ca(0x1cc)](_0x29dd5f);if(_0x380791){const _0x32df62=_0x380791[_0x3973ca(0x1ea)](_0x16a414);_0x32df62&&_0x32df62[_0x3973ca(0x210)]({'isFromAdapter':!0x0});}}),await this[_0x4799a7(0x1d7)](_0x54e4f6);}[_0x4f4ff0(0x208)](){const _0x146270=_0x4f4ff0;if(this[_0x146270(0x205)]instanceof _0x2cc1ba){const _0x204c1e=this[_0x146270(0x205)][_0x146270(0x1c3)][_0x146270(0x1d2)](_0x146270(0x215));this[_0x146270(0x1eb)](_0x204c1e);}}[_0x4f4ff0(0x1eb)](_0x42fcc1){const _0x3849ac=_0x4f4ff0;if(!this[_0x3849ac(0x1f2)][_0x3849ac(0x1fe)](_0x42fcc1))throw new _0xe6358f(_0x3849ac(0x214),null,{'channelId':_0x42fcc1});this[_0x3849ac(0x1f8)](_0x42fcc1)[_0x3849ac(0x1c8)](),this[_0x3849ac(0x1f2)][_0x3849ac(0x1c4)](_0x42fcc1);}async[_0x4f4ff0(0x202)](){const _0x1b2077=_0x4f4ff0;for(const _0x27933b of this[_0x1b2077(0x1f2)][_0x1b2077(0x1b8)]())await this[_0x1b2077(0x1d7)](_0x27933b);if(this[_0x1b2077(0x205)]instanceof _0x2cc1ba){const _0x4428f9=this[_0x1b2077(0x205)][_0x1b2077(0x1c3)][_0x1b2077(0x1d2)](_0x1b2077(0x215)),_0x37897f=this[_0x1b2077(0x205)][_0x1b2077(0x1cb)][_0x1b2077(0x1d2)](_0x3a5202);_0x37897f[_0x1b2077(0x1bc)](_0x4428f9);const _0x555222=await this[_0x1b2077(0x1f2)][_0x1b2077(0x1d2)](_0x4428f9)[_0x1b2077(0x217)]();_0x37897f[_0x1b2077(0x1d9)](_0x4428f9,_0x555222);}}async[_0x4f4ff0(0x1d7)](_0x1af5aa){const _0x544fac=_0x4f4ff0,{connection:_0x5293ba}=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x5c4384),_0x504702=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x544fac(0x1fb)),_0x550b5d=this[_0x544fac(0x1f2)][_0x544fac(0x1d2)](_0x1af5aa),_0x54c708=await _0x550b5d[_0x544fac(0x1b6)](_0x5293ba);await this[_0x544fac(0x1da)](_0x54c708);const _0x136b0a=new Set(Array[_0x544fac(0x211)](_0x504702[_0x544fac(0x1ff)]({'channelId':_0x1af5aa}),_0x3de92f=>_0x3de92f['id']));for(const _0x1858b2 of _0x54c708)_0x1858b2[_0x544fac(0x216)]||_0x136b0a[_0x544fac(0x1c4)](_0x1858b2[_0x544fac(0x1bb)]);for(const _0x4f80bb of _0x136b0a)_0x504702[_0x544fac(0x1cc)](_0x4f80bb)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x5c679f of _0x54c708){let _0xf739d=_0x504702[_0x544fac(0x1cc)](_0x5c679f[_0x544fac(0x1bb)]);const {commentThreadId:_0x5b69c1,context:_0x5d6bde,attributes:_0x289d92,resolvedBy:_0x1155be,resolvedAt:_0x282b5a,unlinkedAt:_0x2699c1,deletedAt:_0x1e61d2}=_0x5c679f;if(_0x1e61d2)continue;_0xf739d||(_0xf739d=_0x504702[_0x544fac(0x1f5)]({'channelId':_0x1af5aa,'threadId':_0x5b69c1,'context':_0x5d6bde,'attributes':_0x289d92||{},'resolvedBy':_0x1155be,'resolvedAt':_0x282b5a,'unlinkedAt':_0x2699c1,'isFromAdapter':!0x0}));const _0x38b09e=new Set(Array[_0x544fac(0x211)](_0xf739d[_0x544fac(0x1df)],_0x996678=>_0x996678['id']));for(const _0x2e22ed of _0x5c679f[_0x544fac(0x1df)])_0x38b09e[_0x544fac(0x1c4)](_0x2e22ed[_0x544fac(0x20d)]);for(const _0x276de0 of _0x38b09e)_0xf739d[_0x544fac(0x1ea)](_0x276de0)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x6f832f of _0x5c679f[_0x544fac(0x1df)]){const _0x5ef2ff=_0xf739d[_0x544fac(0x1ea)](_0x6f832f[_0x544fac(0x20d)]);_0x5ef2ff?_0x5ef2ff[_0x544fac(0x1de)]!==_0x6f832f[_0x544fac(0x1de)]&&_0x5ef2ff[_0x544fac(0x1e4)]({'content':_0x6f832f[_0x544fac(0x1de)],'isFromAdapter':!0x0}):_0xf739d[_0x544fac(0x1f0)](Object[_0x544fac(0x20f)](B(_0x6f832f),{'isFromAdapter':!0x0}));}}}[_0x4f4ff0(0x1f8)](_0xcd9dae){const _0x34f027=_0x4f4ff0;if(!this[_0x34f027(0x1f2)][_0x34f027(0x1fe)](_0xcd9dae))throw new _0xe6358f(_0x34f027(0x1e9),null,{'channelId':_0xcd9dae});return this[_0x34f027(0x1f2)][_0x34f027(0x1d2)](_0xcd9dae);}async[_0x4f4ff0(0x1da)](_0x2a1ffc){const _0x254e1d=_0x4f4ff0,_0xfcc028=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x2987d5),{connection:_0x4f84ae}=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x5c4384),_0x22a39f=new Set();for(const {resolvedBy:_0x21a3a0,comments:_0x3d8d4c}of _0x2a1ffc){_0x21a3a0&&!_0xfcc028[_0x254e1d(0x1f7)](_0x21a3a0)&&_0x22a39f[_0x254e1d(0x1b7)](_0x21a3a0);for(const {userId:_0x63af33}of _0x3d8d4c)_0xfcc028[_0x254e1d(0x1f7)](_0x63af33)||_0x22a39f[_0x254e1d(0x1b7)](_0x63af33);}if(0x0===_0x22a39f[_0x254e1d(0x1b9)])return;const _0x2e7def=await _0x32e93[_0x254e1d(0x1c1)](_0x4f84ae,Array[_0x254e1d(0x211)](_0x22a39f));for(const _0x304a7a of _0x2e7def)_0xfcc028[_0x254e1d(0x1f7)](_0x304a7a['id'])||_0xfcc028[_0x254e1d(0x1d5)](_0x304a7a);}}export{s as CloudServicesCommentsAdapter};async function F(_0x39139a){const _0x3451fc=_0x4f4ff0;if(_0x3451fc(0x20c)!==_0x39139a[_0x3451fc(0x1fd)])throw _0x39139a;}function k(_0x17f055){const _0x1f0f90=_0x4f4ff0;if((_0x278b9d=_0x17f055)[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1bd))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1c2))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1f3)))return new Promise(()=>{});var _0x278b9d;throw _0x17f055;}function B(_0x550708){const _0x5a0b6a=_0x4f4ff0;return{'threadId':_0x550708[_0x5a0b6a(0x1bb)],'commentId':_0x550708[_0x5a0b6a(0x20d)],'content':_0x550708[_0x5a0b6a(0x1de)],'createdAt':_0x550708[_0x5a0b6a(0x1d4)],'authorId':_0x550708[_0x5a0b6a(0x212)],'attributes':_0x550708[_0x5a0b6a(0x1dc)]||{}};}
@@ -7,16 +7,16 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
- import CloudServicesCommentsAdapter from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
11
- import RealTimeCollaborativeEditing from './realtimecollaborativeediting.js';
12
- import WebSocketGateway from './realtimecollaborativeediting/websocketgateway.js';
10
+ import { CloudServicesCommentsAdapter } from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
11
+ import { RealTimeCollaborativeEditing } from './realtimecollaborativeediting.js';
12
+ import { WebSocketGateway } from './realtimecollaborativeediting/websocketgateway.js';
13
13
  /**
14
14
  * Enables the real-time collaborative comments feature.
15
15
  *
16
16
  * Check the {@glink features/collaboration/real-time-collaboration/real-time-collaboration-integration Real-time collaboration guide}
17
17
  * to see how to launch the editor in the real-time collaboration mode.
18
18
  */
19
- export default class RealTimeCollaborativeComments extends Plugin {
19
+ export declare class RealTimeCollaborativeComments extends Plugin {
20
20
  /**
21
21
  * @inheritDoc
22
22
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11de(){const _0x34e67f=['once','pluginName','change:state','1255695buFeDw','126825rKhLUB','CommentsEditing','isOfficialPlugin','_setUpService','switchReadOnly','CommentsRepository','2802018sdvMCj','config','128tBMbeQ','isThreadsLoadingPaused','plugins','init','_terminateService','data','RealTimeCollaborativeComments','listenTo','Comments','collaboration.channelId','77777VFdmas','9STLbmz','ready','2617848dHypxl','get','6408510NSsuIo','destroy','isPremiumPlugin','requires','62922aFilCU','editor','6TGAeiv','connected'];_0x11de=function(){return _0x34e67f;};return _0x11de();}function _0x89a5(_0x31873c,_0xa58fd7){const _0x11de7a=_0x11de();return _0x89a5=function(_0x89a5ec,_0x5ba1b3){_0x89a5ec=_0x89a5ec-0x185;let _0x416590=_0x11de7a[_0x89a5ec];return _0x416590;},_0x89a5(_0x31873c,_0xa58fd7);}const _0x4bc0e0=_0x89a5;(function(_0x16c84d,_0x37f791){const _0x579998=_0x89a5,_0x14a4d5=_0x16c84d();while(!![]){try{const _0xe5c75=parseInt(_0x579998(0x194))/0x1*(parseInt(_0x579998(0x19f))/0x2)+parseInt(_0x579998(0x19d))/0x3*(-parseInt(_0x579998(0x18a))/0x4)+parseInt(_0x579998(0x1a5))/0x5+parseInt(_0x579998(0x188))/0x6+parseInt(_0x579998(0x1a4))/0x7+-parseInt(_0x579998(0x197))/0x8+parseInt(_0x579998(0x195))/0x9*(parseInt(_0x579998(0x199))/0xa);if(_0xe5c75===_0x37f791)break;else _0x14a4d5['push'](_0x14a4d5['shift']());}catch(_0x2b0d3d){_0x14a4d5['push'](_0x14a4d5['shift']());}}}(_0x11de,0x85ad0));import{Plugin as _0x414c02}from'ckeditor5/src/core.js';import _0x7af1d9 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x207b10 from'./realtimecollaborativeediting.js';import _0xbf9fd0 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x414c02{static get[_0x4bc0e0(0x19c)](){const _0x1e7f14=_0x4bc0e0;return[_0x1e7f14(0x192),_0x7af1d9,_0x207b10,_0xbf9fd0];}static get[_0x4bc0e0(0x1a2)](){const _0x4dc087=_0x4bc0e0;return _0x4dc087(0x190);}static get[_0x4bc0e0(0x1a7)](){return!0x0;}static get[_0x4bc0e0(0x19b)](){return!0x0;}[_0x4bc0e0(0x18d)](){const _0x22792f=_0x4bc0e0,_0x3ca895=this[_0x22792f(0x19e)][_0x22792f(0x18c)][_0x22792f(0x198)](_0xbf9fd0),_0x3a667e=this[_0x22792f(0x19e)][_0x22792f(0x18c)][_0x22792f(0x198)](_0x22792f(0x1a6)),_0xb2dfd6=this[_0x22792f(0x19e)][_0x22792f(0x18c)][_0x22792f(0x198)](_0x7af1d9);return this[_0x22792f(0x19e)][_0x22792f(0x18f)][_0x22792f(0x1a1)](_0x22792f(0x196),()=>{const _0xbaab64=_0x22792f;this[_0xbaab64(0x191)](_0x3ca895,_0xbaab64(0x1a3),(_0x364233,_0x484719,_0x50a753)=>{const _0x521848=_0xbaab64;_0x3a667e[_0x521848(0x18b)]=_0x521848(0x1a0)!==_0x50a753;});}),this[_0x22792f(0x191)](_0x3ca895,_0x22792f(0x1a3),(_0x4facd2,_0x20b4b6,_0x2b7761)=>{const _0x1e1812=_0x22792f;this[_0x1e1812(0x19e)][_0x1e1812(0x18c)][_0x1e1812(0x198)](_0x1e1812(0x187))[_0x1e1812(0x186)](_0x1e1812(0x1a0)!==_0x2b7761);}),_0xb2dfd6[_0x22792f(0x185)](this[_0x22792f(0x19e)][_0x22792f(0x189)][_0x22792f(0x198)](_0x22792f(0x193)));}[_0x4bc0e0(0x19a)](){const _0x1bac9d=_0x4bc0e0;this[_0x1bac9d(0x19e)][_0x1bac9d(0x18c)][_0x1bac9d(0x198)](_0x7af1d9)[_0x1bac9d(0x18e)](this[_0x1bac9d(0x19e)][_0x1bac9d(0x189)][_0x1bac9d(0x198)](_0x1bac9d(0x193))),super[_0x1bac9d(0x19a)]();}}
23
+ function _0x3406(_0x401c0a,_0x2a9289){const _0x1fc9d1=_0x1fc9();return _0x3406=function(_0x34063b,_0x3360df){_0x34063b=_0x34063b-0xd0;let _0x42b514=_0x1fc9d1[_0x34063b];return _0x42b514;},_0x3406(_0x401c0a,_0x2a9289);}const _0x2f39cd=_0x3406;(function(_0x181c4a,_0x1da38a){const _0x39a4b4=_0x3406,_0x47b728=_0x181c4a();while(!![]){try{const _0x5a8393=-parseInt(_0x39a4b4(0xec))/0x1*(parseInt(_0x39a4b4(0xd6))/0x2)+parseInt(_0x39a4b4(0xd9))/0x3*(-parseInt(_0x39a4b4(0xd5))/0x4)+-parseInt(_0x39a4b4(0xef))/0x5*(parseInt(_0x39a4b4(0xe0))/0x6)+parseInt(_0x39a4b4(0xf3))/0x7+-parseInt(_0x39a4b4(0xdc))/0x8+parseInt(_0x39a4b4(0xe3))/0x9*(-parseInt(_0x39a4b4(0xe7))/0xa)+parseInt(_0x39a4b4(0xe6))/0xb;if(_0x5a8393===_0x1da38a)break;else _0x47b728['push'](_0x47b728['shift']());}catch(_0x28fbb0){_0x47b728['push'](_0x47b728['shift']());}}}(_0x1fc9,0xea53f));import{Plugin as _0x51c646}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3b5a2b}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x298b95}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4af96a}from'./realtimecollaborativeediting/websocketgateway.js';function _0x1fc9(){const _0x9aac3a=['CommentsRepository','11294976bXWkyj','pluginName','requires','get','switchReadOnly','ready','60ESsaMy','2RAhLzU','isPremiumPlugin','CommentsEditing','156855joavjS','change:state','isOfficialPlugin','526768zbvhYE','data','destroy','Comments','102hTqtGp','editor','init','234vlxgsU','plugins','RealTimeCollaborativeComments','56661836achGhv','641440sZgQMW','once','isThreadsLoadingPaused','_terminateService','connected','1491330yxHfPw','collaboration.channelId','_setUpService','528130WPwPqr','config','listenTo'];_0x1fc9=function(){return _0x9aac3a;};return _0x1fc9();}export class RealTimeCollaborativeComments extends _0x51c646{static get[_0x2f39cd(0xd1)](){const _0x55fa7a=_0x2f39cd;return[_0x55fa7a(0xdf),_0x3b5a2b,_0x298b95,_0x4af96a];}static get[_0x2f39cd(0xd0)](){const _0xdc5745=_0x2f39cd;return _0xdc5745(0xe5);}static get[_0x2f39cd(0xdb)](){return!0x0;}static get[_0x2f39cd(0xd7)](){return!0x0;}[_0x2f39cd(0xe2)](){const _0x6e0124=_0x2f39cd,_0xfc2574=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x4af96a),_0x8523aa=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x6e0124(0xd8)),_0x4d7b7b=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x3b5a2b);return this[_0x6e0124(0xe1)][_0x6e0124(0xdd)][_0x6e0124(0xe8)](_0x6e0124(0xd4),()=>{const _0x382066=_0x6e0124;this[_0x382066(0xf1)](_0xfc2574,_0x382066(0xda),(_0x4ba2a2,_0x265952,_0x5af6d6)=>{const _0x4bf3db=_0x382066;_0x8523aa[_0x4bf3db(0xe9)]=_0x4bf3db(0xeb)!==_0x5af6d6;});}),this[_0x6e0124(0xf1)](_0xfc2574,_0x6e0124(0xda),(_0x2d86a0,_0x2d917a,_0x6cdf2f)=>{const _0x463de5=_0x6e0124;this[_0x463de5(0xe1)][_0x463de5(0xe4)][_0x463de5(0xd2)](_0x463de5(0xf2))[_0x463de5(0xd3)](_0x463de5(0xeb)!==_0x6cdf2f);}),_0x4d7b7b[_0x6e0124(0xee)](this[_0x6e0124(0xe1)][_0x6e0124(0xf0)][_0x6e0124(0xd2)](_0x6e0124(0xed)));}[_0x2f39cd(0xde)](){const _0x257ec6=_0x2f39cd;this[_0x257ec6(0xe1)][_0x257ec6(0xe4)][_0x257ec6(0xd2)](_0x3b5a2b)[_0x257ec6(0xea)](this[_0x257ec6(0xe1)][_0x257ec6(0xf0)][_0x257ec6(0xd2)](_0x257ec6(0xed))),super[_0x257ec6(0xde)]();}}
@@ -8,15 +8,15 @@
8
8
  */
9
9
  import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { Notification } from 'ckeditor5/src/ui.js';
11
- import WebSocketGateway from './websocketgateway.js';
12
- import Sessions from './sessions.js';
13
- import UserMarkers from './usermarkers.js';
11
+ import { WebSocketGateway } from './websocketgateway.js';
12
+ import { Sessions } from './sessions.js';
13
+ import { UserMarkers } from './usermarkers.js';
14
14
  import { Users, type CollaborationHistory } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
15
  import { CollaborativeEditingService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
16
16
  /**
17
17
  * Handles the real-time collaborative editing.
18
18
  */
19
- export default class RealTimeCollaborationClient extends Plugin {
19
+ export declare class RealTimeCollaborationClient extends Plugin {
20
20
  static CollaborativeEditingService: typeof CollaborativeEditingService;
21
21
  /**
22
22
  * The ID of the current editing session to which the client is connected (or was connected before losing the connection).