@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,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x274330=_0x5965;(function(_0x16ddf6,_0xa3d250){const _0x3d0b77=_0x5965,_0x42a92a=_0x16ddf6();while(!![]){try{const _0x421cdd=parseInt(_0x3d0b77(0x1ec))/0x1*(parseInt(_0x3d0b77(0x28a))/0x2)+-parseInt(_0x3d0b77(0x1ef))/0x3+parseInt(_0x3d0b77(0x2ae))/0x4*(-parseInt(_0x3d0b77(0x26d))/0x5)+parseInt(_0x3d0b77(0x28c))/0x6*(parseInt(_0x3d0b77(0x2b7))/0x7)+parseInt(_0x3d0b77(0x283))/0x8+parseInt(_0x3d0b77(0x250))/0x9*(parseInt(_0x3d0b77(0x21e))/0xa)+-parseInt(_0x3d0b77(0x21c))/0xb*(parseInt(_0x3d0b77(0x239))/0xc);if(_0x421cdd===_0xa3d250)break;else _0x42a92a['push'](_0x42a92a['shift']());}catch(_0xf15d89){_0x42a92a['push'](_0x42a92a['shift']());}}}(_0x5267,0x6e316));import{Plugin as _0x53542f,PendingActions as _0x324b2e}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f9552,version as _0x4342bd,uid as _0x470511}from'ckeditor5/src/utils.js';import{Notification as _0x2d16bc}from'ckeditor5/src/ui.js';import{transformSets as _0x160dd6,NoOperation as _0x103ed6,InsertOperation as _0x39d8bc,MarkerOperation as _0x408622,RootAttributeOperation as _0x4b74ca,OperationFactory as _0x5f0e91,History as _0x251046}from'ckeditor5/src/engine.js';import _0xebf132 from'./websocketgateway.js';import _0x4a12ed from'./sessions.js';function _0x5965(_0xbd2038,_0x288671){const _0x526727=_0x5267();return _0x5965=function(_0x596525,_0x213dd0){_0x596525=_0x596525-0x1b7;let _0x74ee8b=_0x526727[_0x596525];return _0x74ee8b;},_0x5965(_0xbd2038,_0x288671);}import _0x34fcf8 from'./usermarkers.js';import{getTranslation as _0x14dba1}from'../common-translations.js';import{Compressor as _0x527149}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3e5fee}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5ca3e5,CollaborativeEditingService as _0x50a87c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x53542f{static [_0x274330(0x22f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x50a87c)());[_0x274330(0x298)];[_0x274330(0x1e2)];[_0x274330(0x1eb)];[_0x274330(0x1da)];[_0x274330(0x1ed)];[_0x274330(0x1db)];[_0x274330(0x277)];[_0x274330(0x27c)];[_0x274330(0x1d2)];[_0x274330(0x1c9)];[_0x274330(0x1c5)];[_0x274330(0x2a2)];[_0x274330(0x201)];[_0x274330(0x299)];[_0x274330(0x267)];[_0x274330(0x244)];[_0x274330(0x1dc)];[_0x274330(0x261)];static get[_0x274330(0x233)](){return[_0xebf132,_0x4a12ed,_0x34fcf8,_0x324b2e,_0x3e5fee,_0x2d16bc];}static get[_0x274330(0x214)](){const _0x346b03=_0x274330;return _0x346b03(0x1d1);}static get[_0x274330(0x280)](){return!0x0;}static get[_0x274330(0x266)](){return!0x0;}get[_0x274330(0x248)](){const _0x29663c=_0x274330;return this[_0x29663c(0x207)]+this[_0x29663c(0x298)];}get[_0x274330(0x207)](){const _0x598b3d=_0x274330;return this[_0x598b3d(0x1eb)][_0x598b3d(0x278)]-this[_0x598b3d(0x298)];}get[_0x274330(0x1ce)](){const _0xfb5c57=_0x274330,_0x416275=this[_0xfb5c57(0x1eb)][_0xfb5c57(0x203)]();for(let _0xd939c9=_0x416275[_0xfb5c57(0x24f)]-0x1;_0xd939c9>=0x0;_0xd939c9--){const _0x2fcc29=_0x416275[_0xd939c9];if(!this[_0xfb5c57(0x1dc)][_0xfb5c57(0x249)](_0x2fcc29))return _0x2fcc29[_0xfb5c57(0x23f)]+0x1-this[_0xfb5c57(0x298)];}return 0x0;}constructor(_0x1e43cc){const _0x3731c0=_0x274330;if(super(_0x1e43cc),this[_0x3731c0(0x298)]=0x0,this[_0x3731c0(0x1e2)]=null,this[_0x3731c0(0x1eb)]=new _0x251046(),this[_0x3731c0(0x234)][_0x3731c0(0x24a)][_0x3731c0(0x1b9)](_0x3731c0(0x2be),{}),this[_0x3731c0(0x1da)]=this[_0x3731c0(0x234)][_0x3731c0(0x24a)][_0x3731c0(0x20d)](_0x3731c0(0x2a8)),!this[_0x3731c0(0x1da)])throw new _0x2f9552(_0x3731c0(0x273),this);const _0xdc3250=_0x1e43cc[_0x3731c0(0x24a)][_0x3731c0(0x20d)](_0x3731c0(0x28e))||_0x4342bd;this[_0x3731c0(0x1ed)]=new l[(_0x3731c0(0x22f))](_0xdc3250,this[_0x3731c0(0x1da)]),this[_0x3731c0(0x1db)]=this[_0x3731c0(0x234)][_0x3731c0(0x272)][_0x3731c0(0x23c)],this[_0x3731c0(0x277)]=new _0x527149(),this[_0x3731c0(0x27c)]=[],this[_0x3731c0(0x1d2)]=new WeakSet(),this[_0x3731c0(0x1c9)]=new Set(),this[_0x3731c0(0x1c0)](_0x3731c0(0x1d3),!0x1),this[_0x3731c0(0x1c0)](_0x3731c0(0x1df),!0x1),this[_0x3731c0(0x1c5)]=null,this[_0x3731c0(0x2a2)]=!0x1,this[_0x3731c0(0x201)]=null,this[_0x3731c0(0x299)]=0x12c,this[_0x3731c0(0x267)]=this[_0x3731c0(0x299)],this[_0x3731c0(0x244)]=null,this[_0x3731c0(0x1dc)]=new WeakSet(),this[_0x3731c0(0x261)]=new Y(this[_0x3731c0(0x1dc)]);}[_0x274330(0x1f2)](){const _0x2e3a83=_0x274330,_0x50fed2=this[_0x2e3a83(0x234)],_0x1dd5c9=_0x50fed2[_0x2e3a83(0x240)][_0x2e3a83(0x20d)](_0x3e5fee),_0x2d5e9a=_0x50fed2[_0x2e3a83(0x240)][_0x2e3a83(0x20d)](_0xebf132);this[_0x2e3a83(0x29e)](_0x1dd5c9,_0x2e3a83(0x1c1),(_0x3ef5f0,_0x18bb9b)=>{const _0x56fa89=_0x2e3a83,_0x28b67d=_0x18bb9b[0x0];_0x28b67d[_0x56fa89(0x22e)]&&(_0x3ef5f0[_0x56fa89(0x2a1)]=_0x1dd5c9[_0x56fa89(0x1cd)](_0x28b67d[_0x56fa89(0x22e)]),_0x3ef5f0[_0x56fa89(0x27a)]()),null===_0x28b67d[_0x56fa89(0x22e)]&&(_0x3ef5f0[_0x56fa89(0x2a1)]=null,_0x3ef5f0[_0x56fa89(0x27a)]());},{'priority':_0x2e3a83(0x1bc)}),this[_0x2e3a83(0x29e)](_0x50fed2[_0x2e3a83(0x272)][_0x2e3a83(0x23c)][_0x2e3a83(0x286)],_0x2e3a83(0x228),(_0x93796a,_0x3bab93)=>{const _0x512834=_0x2e3a83;_0x3bab93[_0x512834(0x2b5)]&&this[_0x512834(0x236)]();}),this[_0x2e3a83(0x29e)](_0x50fed2[_0x2e3a83(0x202)][_0x2e3a83(0x21b)],_0x2e3a83(0x296),()=>{const _0x2f4b37=_0x2e3a83;this[_0x2f4b37(0x236)]();}),this[_0x2e3a83(0x211)](),_0x50fed2[_0x2e3a83(0x272)]['on'](_0x2e3a83(0x262),(_0x4dd103,_0x53ba72)=>{const _0x44cf73=_0x2e3a83,_0x557e16=_0x53ba72[0x0];_0x557e16[_0x44cf73(0x1d5)]&&(this[_0x44cf73(0x24d)](_0x557e16),this[_0x44cf73(0x1d6)]()&&this[_0x44cf73(0x218)]());}),this[_0x2e3a83(0x20f)](),this[_0x2e3a83(0x241)](_0x2e3a83(0x1cf))['to'](_0x2d5e9a,_0x2e3a83(0x2b1),this,_0x2e3a83(0x1df),(_0xe4aa51,_0x4cd0a3)=>_0x2e3a83(0x1f1)===_0xe4aa51&&!_0x4cd0a3),this['on'](_0x2e3a83(0x245),()=>{const _0x42e688=_0x2e3a83;this[_0x42e688(0x1cf)]?_0x50fed2[_0x42e688(0x229)](_0x42e688(0x27b)):_0x50fed2[_0x42e688(0x235)](_0x42e688(0x27b));}),this[_0x2e3a83(0x1cf)]?_0x50fed2[_0x2e3a83(0x229)](_0x2e3a83(0x27b)):_0x50fed2[_0x2e3a83(0x235)](_0x2e3a83(0x27b)),this[_0x2e3a83(0x1c0)](_0x2e3a83(0x271),!0x1);}async[_0x274330(0x1fa)](){const _0x5d093e=_0x274330,_0x2498a8=this[_0x5d093e(0x234)][_0x5d093e(0x240)][_0x5d093e(0x20d)](_0x4a12ed),_0x46271f=this[_0x5d093e(0x234)][_0x5d093e(0x240)][_0x5d093e(0x20d)](_0xebf132);try{this[_0x5d093e(0x1d3)]=!0x0,_0x2498a8[_0x5d093e(0x1e9)](this[_0x5d093e(0x1da)]);const _0x256f48=await this[_0x5d093e(0x1ed)][_0x5d093e(0x1fa)](_0x46271f[_0x5d093e(0x2ba)],this[_0x5d093e(0x1ce)]);await this[_0x5d093e(0x290)](_0x256f48)&&(this[_0x5d093e(0x1d3)]=!0x1,this[_0x5d093e(0x27d)]());const _0x14003b=await this[_0x5d093e(0x1ed)][_0x5d093e(0x1d4)]();_0x2498a8[_0x5d093e(0x22d)](this[_0x5d093e(0x1da)],_0x14003b),this[_0x5d093e(0x1d8)](),this[_0x5d093e(0x271)]=!0x0;}catch(_0x140806){if(function(_0x1e92e6){const _0x55b1e1=_0x5d093e;return _0x55b1e1(0x1c7)===_0x1e92e6[_0x55b1e1(0x22b)];}(_0x140806)&&this[_0x5d093e(0x1e2)])await this[_0x5d093e(0x28d)]();else{if(function(_0x1ec131){const _0xe87cfb=_0x5d093e;return _0xe87cfb(0x1c8)===_0x1ec131[_0xe87cfb(0x22b)];}(_0x140806)){const _0x427aaa=_0x14dba1(this[_0x5d093e(0x234)][_0x5d093e(0x1cc)],_0x5d093e(0x1e4));this[_0x5d093e(0x2a7)](_0x427aaa);}else{if(!(_0x140806 instanceof Q))throw _0x140806;this[_0x5d093e(0x2a7)]();}}}}[_0x274330(0x21f)](){const _0x4c3c7c=_0x274330,_0x5d7e2b=this[_0x4c3c7c(0x234)][_0x4c3c7c(0x240)][_0x4c3c7c(0x20d)](_0xebf132),_0x4b2ca0=this[_0x4c3c7c(0x234)][_0x4c3c7c(0x240)][_0x4c3c7c(0x20d)](_0x4a12ed);this[_0x4c3c7c(0x234)][_0x4c3c7c(0x235)](_0x4c3c7c(0x231)),_0x4b2ca0[_0x4c3c7c(0x224)][_0x4c3c7c(0x249)](this[_0x4c3c7c(0x1da)])&&_0x4b2ca0[_0x4c3c7c(0x1e9)](this[_0x4c3c7c(0x1da)]),_0x5d7e2b[_0x4c3c7c(0x274)](this),this[_0x4c3c7c(0x1fd)](),super[_0x4c3c7c(0x21f)]();}async[_0x274330(0x290)](_0x5a2799){const _0x1426e7=_0x274330;if(this[_0x1426e7(0x1e2)]!==_0x5a2799[_0x1426e7(0x1e2)]&&this[_0x1426e7(0x244)]!==_0x5a2799[_0x1426e7(0x297)])throw new Q();return this[_0x1426e7(0x1e2)]=_0x5a2799[_0x1426e7(0x1e2)],this[_0x1426e7(0x295)]([],{..._0x5a2799,'wereChangesApplied':!0x1,'data':_0x5a2799[_0x1426e7(0x23b)]},_0x1426e7(0x1fa));}async[_0x274330(0x27f)](_0x5ac9f5,_0x53d4d6=!0x1){const _0x13dfcd=_0x274330,{connection:_0x2a30ce}=this[_0x13dfcd(0x234)][_0x13dfcd(0x240)][_0x13dfcd(0x20d)](_0xebf132);l[_0x13dfcd(0x22f)][_0x13dfcd(0x1d4)](_0x2a30ce,this[_0x13dfcd(0x1da)])[_0x13dfcd(0x251)](_0x2affc6=>this[_0x13dfcd(0x1f0)](_0x2affc6))[_0x13dfcd(0x20b)](_0x38a48f=>{const _0x43b1f4=_0x13dfcd;this[_0x43b1f4(0x255)](_0x43b1f4(0x257),_0x38a48f);}),this[_0x13dfcd(0x29e)](this[_0x13dfcd(0x1ed)],_0x13dfcd(0x1bf),this[_0x13dfcd(0x291)][_0x13dfcd(0x241)](this)),this[_0x13dfcd(0x29e)](this[_0x13dfcd(0x1ed)],_0x13dfcd(0x2a0),(_0x59c319,_0x341b15)=>{const _0x24a218=_0x13dfcd;this[_0x24a218(0x255)](_0x24a218(0x276),_0x341b15);}),this[_0x13dfcd(0x29e)](this[_0x13dfcd(0x1ed)],_0x13dfcd(0x247),()=>{const _0x3f4d0d=_0x13dfcd;this[_0x3f4d0d(0x271)]=!0x1;});const _0x2dba41=this[_0x13dfcd(0x261)][_0x13dfcd(0x1c4)](_0x5ac9f5);this[_0x13dfcd(0x1d3)]=!0x0;const _0x81b16c=await this[_0x13dfcd(0x1ed)][_0x13dfcd(0x282)](_0x2a30ce,this[_0x13dfcd(0x22c)](_0x5ac9f5),_0x2dba41);if(this[_0x13dfcd(0x1e2)]=_0x81b16c[_0x13dfcd(0x1e2)],_0x53d4d6){if(!_0x81b16c[_0x13dfcd(0x2b6)])return void this[_0x13dfcd(0x2a7)]();this[_0x13dfcd(0x1d3)]=!0x1,this[_0x13dfcd(0x27d)](),this[_0x13dfcd(0x1eb)][_0x13dfcd(0x2a3)](),this[_0x13dfcd(0x298)]=_0x81b16c[_0x13dfcd(0x1e6)],this[_0x13dfcd(0x1eb)][_0x13dfcd(0x278)]=this[_0x13dfcd(0x298)],await this[_0x13dfcd(0x295)](_0x5ac9f5,_0x81b16c,_0x13dfcd(0x25d));}else await this[_0x13dfcd(0x23e)](_0x81b16c,_0x5ac9f5);this[_0x13dfcd(0x1d8)](),this[_0x13dfcd(0x271)]=!0x0;}[_0x274330(0x1d8)](){const _0x1b637d=_0x274330,_0x98fdd2=this[_0x1b637d(0x234)][_0x1b637d(0x240)][_0x1b637d(0x20d)](_0x4a12ed),_0x1a7c88=this[_0x1b637d(0x234)][_0x1b637d(0x240)][_0x1b637d(0x20d)](_0x34fcf8),_0x529bf2=_0x98fdd2[_0x1b637d(0x224)][_0x1b637d(0x20d)](this[_0x1b637d(0x1da)]);_0x529bf2&&_0x529bf2[_0x1b637d(0x24f)]>0x1?_0x1a7c88[_0x1b637d(0x2b8)]():this[_0x1b637d(0x29e)](_0x98fdd2,_0x1b637d(0x2b9)+this[_0x1b637d(0x1da)],()=>{const _0x24ef9e=_0x1b637d;0x2===_0x98fdd2[_0x24ef9e(0x224)][_0x24ef9e(0x20d)](this[_0x24ef9e(0x1da)])[_0x24ef9e(0x24f)]&&_0x1a7c88[_0x24ef9e(0x2b8)]();});}async[_0x274330(0x291)](_0x43e677,_0x365121,_0x1898f7,_0x2fc233){const _0x272648=_0x274330;if(!this[_0x272648(0x1d3)]&&this[_0x272648(0x1db)][_0x272648(0x278)]==_0x365121){const _0x106270=this[_0x272648(0x221)](_0x1898f7,_0x2fc233);await this[_0x272648(0x287)](_0x106270),this[_0x272648(0x220)](_0x106270,_0x365121,_0x1898f7[_0x272648(0x297)])||this[_0x272648(0x255)](_0x272648(0x1ff));}}async[_0x274330(0x28d)](){const _0x2e54e9=_0x274330;this[_0x2e54e9(0x1fd)]();const {locale:_0x5e06b6}=this[_0x2e54e9(0x234)];let _0x2ed669;try{_0x2ed669=await this[_0x2e54e9(0x1ed)][_0x2e54e9(0x23a)]();}catch{const _0x5e9496=_0x14dba1(_0x5e06b6,_0x2e54e9(0x2b3));return void this[_0x2e54e9(0x2a7)](_0x5e9496);}const _0x44e62f=_0x2ed669[_0x2e54e9(0x29d)]||_0x2ed669[_0x2e54e9(0x209)];if(this[_0x2e54e9(0x244)]!==_0x44e62f[_0x2e54e9(0x297)]){const _0x4cd122=_0x14dba1(_0x5e06b6,_0x2e54e9(0x279));return void this[_0x2e54e9(0x2a7)](_0x4cd122);}await this[_0x2e54e9(0x27f)](this[_0x2e54e9(0x234)][_0x2e54e9(0x272)][_0x2e54e9(0x23c)][_0x2e54e9(0x1c2)][_0x2e54e9(0x203)](),!0x0);}[_0x274330(0x1fd)](){const _0x5c866b=_0x274330;this[_0x5c866b(0x1ed)][_0x5c866b(0x1de)](),this[_0x5c866b(0x27c)]=[],clearTimeout(this[_0x5c866b(0x201)]),this[_0x5c866b(0x227)](this[_0x5c866b(0x1ed)]);}[_0x274330(0x1f0)](_0x449673){const _0x176e02=_0x274330,_0x18e4cb=this[_0x176e02(0x234)][_0x176e02(0x240)][_0x176e02(0x20d)](_0x4a12ed);this[_0x176e02(0x29e)](_0x18e4cb,_0x176e02(0x2b9)+this[_0x176e02(0x1da)],(_0x59f16a,{session:_0x23ec3a})=>{const _0x4e397c=_0x176e02;if(_0x23ec3a['id']===_0x18e4cb[_0x4e397c(0x226)]){_0x59f16a[_0x4e397c(0x1e3)]();const _0x3b066c=this[_0x4e397c(0x234)][_0x4e397c(0x240)][_0x4e397c(0x249)](_0x4e397c(0x242))&&this[_0x4e397c(0x234)][_0x4e397c(0x240)][_0x4e397c(0x20d)](_0x4e397c(0x242));let _0x5844c8=_0x23ec3a[_0x4e397c(0x26f)];_0x3b066c&&_0x3b066c[_0x4e397c(0x2a4)]&&(_0x5844c8=_0x5844c8[_0x4e397c(0x2bd)](_0x446389=>_0x4e397c(0x205)!==_0x446389)),this[_0x4e397c(0x234)][_0x4e397c(0x240)][_0x4e397c(0x20d)](_0x4e397c(0x232))[_0x4e397c(0x215)](_0x5844c8,this[_0x4e397c(0x1da)]);}}),_0x18e4cb[_0x176e02(0x22d)](this[_0x176e02(0x1da)],_0x449673);}[_0x274330(0x211)](){const _0x2ff8f2=_0x274330,_0x57ff3c=this[_0x2ff8f2(0x234)][_0x2ff8f2(0x23b)][_0x2ff8f2(0x1c0)];this[_0x2ff8f2(0x234)][_0x2ff8f2(0x23b)][_0x2ff8f2(0x1c0)]=(..._0x2dba17)=>{const _0x39353a=_0x2ff8f2;if(!_0x2dba17[_0x2dba17[_0x39353a(0x24f)]-0x1][_0x39353a(0x259)])throw new _0x2f9552(_0x39353a(0x238),this);_0x57ff3c[_0x39353a(0x2b2)](this[_0x39353a(0x234)][_0x39353a(0x23b)],_0x2dba17);};}[_0x274330(0x20f)](){const _0x50bfac=_0x274330;this[_0x50bfac(0x234)][_0x50bfac(0x23b)]['on'](_0x50bfac(0x1f2),(_0x2db551,[_0x22b5c1])=>{const _0x130758=_0x50bfac;if(this[_0x130758(0x1db)][_0x130758(0x278)])throw new _0x2f9552(_0x130758(0x21d),this);_0x2db551[_0x130758(0x27a)](),this[_0x130758(0x1e1)]();const _0xa95b85=this[_0x130758(0x234)][_0x130758(0x24a)][_0x130758(0x20d)](_0x130758(0x26a)),_0x299f89=this[_0x130758(0x26b)](_0x22b5c1,_0xa95b85);0x0==_0x299f89[_0x130758(0x24f)]&&_0x299f89[_0x130758(0x28f)](new _0x103ed6(0x0)),_0x2db551[_0x130758(0x2a1)]=this[_0x130758(0x27f)](_0x299f89)[_0x130758(0x251)](()=>{const _0x4af278=_0x130758;this[_0x4af278(0x234)][_0x4af278(0x240)][_0x4af278(0x20d)](_0xebf132)[_0x4af278(0x2bb)](this),this[_0x4af278(0x234)][_0x4af278(0x23b)][_0x4af278(0x1f8)](_0x4af278(0x265));})[_0x130758(0x20b)](_0x176416=>this[_0x130758(0x255)](_0x130758(0x29a),_0x176416))[_0x130758(0x24c)](()=>this[_0x130758(0x27d)]());},{'priority':_0x50bfac(0x1bc)}),this[_0x50bfac(0x234)]['on'](_0x50bfac(0x2aa),async(_0x489916,[_0x568f60,_0x216fc5])=>{const _0x5437c0=_0x50bfac;_0x489916[_0x5437c0(0x27a)]();const _0x50235f=this[_0x5437c0(0x234)][_0x5437c0(0x272)][_0x5437c0(0x23c)][_0x5437c0(0x208)](_0x568f60);if(!this[_0x5437c0(0x1c9)][_0x5437c0(0x249)](_0x568f60)){const _0x4cece6=_0x216fc5&&_0x216fc5[_0x5437c0(0x23b)]?_0x216fc5[_0x5437c0(0x23b)]:'',_0x3b3ebb=_0x216fc5&&_0x216fc5[_0x5437c0(0x1f6)]?_0x216fc5[_0x5437c0(0x1f6)]:{};await this[_0x5437c0(0x293)](_0x568f60,_0x4cece6,_0x3b3ebb);}this[_0x5437c0(0x234)][_0x5437c0(0x272)][_0x5437c0(0x1c3)]({'isUndoable':!0x1},()=>{const _0x49df8c=_0x5437c0;_0x50235f[_0x49df8c(0x263)]=!0x0,this[_0x49df8c(0x234)][_0x49df8c(0x272)][_0x49df8c(0x23c)][_0x49df8c(0x1b8)][_0x49df8c(0x246)](_0x50235f);});},{'priority':_0x50bfac(0x1bc)});}async[_0x274330(0x287)](_0xf1991e){const _0x24ada1=_0x274330,_0x3dec1c=this[_0x24ada1(0x234)][_0x24ada1(0x240)][_0x24ada1(0x20d)](_0x3e5fee),{connection:_0x5214a2}=this[_0x24ada1(0x234)][_0x24ada1(0x240)][_0x24ada1(0x20d)](_0xebf132),_0x4f26af=new Set();for(const _0x443936 of _0xf1991e){const _0xca280d=_0x443936[_0x24ada1(0x22e)];_0xca280d&&!_0x3dec1c[_0x24ada1(0x1cd)](_0xca280d)&&_0x4f26af[_0x24ada1(0x213)](_0xca280d);}if(0x0===_0x4f26af[_0x24ada1(0x219)])return;const _0x3ef9e7=await _0x5ca3e5[_0x24ada1(0x2a9)](_0x5214a2,Array[_0x24ada1(0x2b0)](_0x4f26af));for(const _0x3825db of _0x3ef9e7)_0x3dec1c[_0x24ada1(0x1cd)](_0x3825db['id'])||_0x3dec1c[_0x24ada1(0x25c)](_0x3825db);}[_0x274330(0x26b)](_0x42e813,_0x1811f4={}){const _0xe091a8=_0x274330,_0x2d467a=this[_0xe091a8(0x234)][_0xe091a8(0x272)],_0x4c3a47=[];let _0x2c8eb6=0x0;const _0x1b9274=_0xe091a8(0x22a)==typeof _0x42e813?{'main':_0x42e813}:_0x42e813;for(const _0x2fca4d of Object[_0xe091a8(0x264)](_0x1b9274)){if(!this[_0xe091a8(0x1db)][_0xe091a8(0x260)][_0xe091a8(0x249)](_0x2fca4d))throw new _0x2f9552(_0xe091a8(0x230),this);const _0x4ce197=this[_0xe091a8(0x234)][_0xe091a8(0x23b)][_0xe091a8(0x256)](_0x1b9274[_0x2fca4d]),_0x4acff5=this[_0xe091a8(0x1db)][_0xe091a8(0x208)](_0x2fca4d),_0x59bc62=new _0x39d8bc(_0x2d467a[_0xe091a8(0x2a5)](_0x4acff5,0x0),_0x4ce197,_0x2c8eb6++);_0x4c3a47[_0xe091a8(0x28f)](_0x59bc62);for(const [_0x16bef2,_0x2a9b84]of _0x4ce197[_0xe091a8(0x258)]){const _0x470202=_0x2d467a[_0xe091a8(0x25e)](_0x2d467a[_0xe091a8(0x216)](_0x4acff5,_0x2a9b84[_0xe091a8(0x253)][_0xe091a8(0x24e)][_0xe091a8(0x25f)]()),_0x2d467a[_0xe091a8(0x216)](_0x4acff5,_0x2a9b84[_0xe091a8(0x1dd)][_0xe091a8(0x24e)][_0xe091a8(0x25f)]())),_0x1821b0=new _0x408622(_0x16bef2,null,_0x470202,_0x2d467a[_0xe091a8(0x258)],!0x0,_0x2c8eb6++);_0x4c3a47[_0xe091a8(0x28f)](_0x1821b0);}}if(_0x1811f4)for(const [_0x5a261a,_0xe0033d]of Object[_0xe091a8(0x1f9)](_0x1811f4)){const _0x2af069=_0x2d467a[_0xe091a8(0x23c)][_0xe091a8(0x208)](_0x5a261a);if(!_0x2af069)throw new _0x2f9552(_0xe091a8(0x1ca),null);for(const [_0x3345a4,_0x280822]of Object[_0xe091a8(0x1f9)](_0xe0033d))if(null!==_0x280822){const _0x3fb7cb=new _0x4b74ca(_0x2af069,_0x3345a4,null,_0x280822,_0x2c8eb6++);_0x4c3a47[_0xe091a8(0x28f)](_0x3fb7cb);}}return _0x4c3a47;}async[_0x274330(0x293)](_0x57c8e9,_0xdc6fec,_0x5ab894){const _0x31814a=_0x274330;this[_0x31814a(0x26b)]({[_0x57c8e9]:_0xdc6fec},{[_0x57c8e9]:_0x5ab894})[_0x31814a(0x23d)]((_0x1fe8be,_0x333ba8)=>{const _0x407ecc=_0x31814a;_0x1fe8be[_0x407ecc(0x23f)]=this[_0x407ecc(0x1db)][_0x407ecc(0x278)]+_0x333ba8,_0x1fe8be[_0x407ecc(0x28b)]=!0x0,this[_0x407ecc(0x24d)](_0x1fe8be);}),this[_0x31814a(0x218)](),await this[_0x31814a(0x1bb)]();}async[_0x274330(0x23e)](_0x595a81,_0x3bae4e){const _0x3db7d3=_0x274330;let _0xb72ff9;this[_0x3db7d3(0x298)]=_0x595a81[_0x3db7d3(0x1e6)];const _0x12a2df=_0x595a81[_0x3db7d3(0x2b6)]&&!_0x595a81[_0x3db7d3(0x1cb)],_0x18b0eb=_0x12a2df?0x0:_0x595a81[_0x3db7d3(0x23b)][_0x3db7d3(0x23f)];if(_0x3bae4e[_0x3db7d3(0x23d)](_0x4d4608=>{const _0xc6cad=_0x3db7d3;_0x4d4608[_0xc6cad(0x28b)]=!0x0,_0x4d4608[_0xc6cad(0x1d0)]=_0x595a81[_0xc6cad(0x2bc)],_0x4d4608[_0xc6cad(0x22e)]=null;}),_0x12a2df)_0xb72ff9=_0x3bae4e,this[_0x3db7d3(0x284)](_0xb72ff9,_0x12a2df);else{if(_0x595a81[_0x3db7d3(0x1cb)]){const _0x302173=this[_0x3db7d3(0x26b)](_0x595a81[_0x3db7d3(0x1cb)]);this[_0x3db7d3(0x1db)][_0x3db7d3(0x1c2)][_0x3db7d3(0x278)]=-_0x302173[_0x3db7d3(0x24f)],_0x302173[_0x3db7d3(0x23d)](_0xd809a0=>{const _0x44df1a=_0x3db7d3;_0xd809a0[_0x44df1a(0x23f)]-=_0x302173[_0x44df1a(0x24f)],_0xd809a0[_0x44df1a(0x1d0)]=_0x595a81[_0x44df1a(0x2bc)],_0xd809a0[_0x44df1a(0x28b)]=!0x0,_0xd809a0[_0x44df1a(0x22e)]=null;}),this[_0x3db7d3(0x284)](_0x302173,!0x0),this[_0x3db7d3(0x1eb)][_0x3db7d3(0x278)]=-_0x302173[_0x3db7d3(0x24f)]+this[_0x3db7d3(0x298)],this[_0x3db7d3(0x1d7)](_0x302173);}this[_0x3db7d3(0x1db)][_0x3db7d3(0x1c2)][_0x3db7d3(0x278)]=_0x18b0eb,_0xb72ff9=this[_0x3db7d3(0x221)](_0x595a81[_0x3db7d3(0x23b)],_0x595a81[_0x3db7d3(0x225)]),await this[_0x3db7d3(0x287)](_0xb72ff9),this[_0x3db7d3(0x284)](_0xb72ff9,_0x12a2df);}_0x595a81[_0x3db7d3(0x297)]&&(this[_0x3db7d3(0x261)][_0x3db7d3(0x29c)](_0xb72ff9,_0x595a81[_0x3db7d3(0x297)]),this[_0x3db7d3(0x244)]=_0x595a81[_0x3db7d3(0x297)]),this[_0x3db7d3(0x1eb)][_0x3db7d3(0x278)]=_0x18b0eb+this[_0x3db7d3(0x298)],this[_0x3db7d3(0x1d7)](_0xb72ff9),_0x3bae4e[_0x3db7d3(0x2bd)](_0x6f49f7=>{const _0x56fcb4=_0x3db7d3,_0x1e70e6=this[_0x56fcb4(0x222)](_0x6f49f7);return _0x1e70e6&&!this[_0x56fcb4(0x1c9)][_0x56fcb4(0x249)](_0x1e70e6);})[_0x3db7d3(0x23d)]((_0x385ec6,_0x94c8e1)=>{const _0x3aeffe=_0x3db7d3;_0x385ec6[_0x3aeffe(0x23f)]=this[_0x3aeffe(0x1db)][_0x3aeffe(0x278)]+_0x94c8e1,this[_0x3aeffe(0x24d)](_0x385ec6);}),this[_0x3db7d3(0x1d6)]()?(this[_0x3db7d3(0x267)]=0x0,this[_0x3db7d3(0x218)](!0x0),await this[_0x3db7d3(0x1bb)]()):(this[_0x3db7d3(0x1d3)]=!0x1,this[_0x3db7d3(0x27d)]());}[_0x274330(0x255)](_0x5772da,_0x38500b){const _0x205f59=_0x274330,_0x2caa5b=_0x38500b&&_0x38500b[_0x205f59(0x2a6)];if(_0x2caa5b&&_0x2caa5b[_0x205f59(0x1e8)](_0x205f59(0x1ea)))throw _0x38500b;const _0x12b902=this[_0x205f59(0x234)][_0x205f59(0x240)][_0x205f59(0x20d)](_0xebf132);throw this[_0x205f59(0x1d3)]=!0x0,_0x12b902[_0x205f59(0x1de)](),this[_0x205f59(0x234)][_0x205f59(0x235)](_0x205f59(0x24b)),new _0x2f9552(_0x5772da,this[_0x205f59(0x234)],_0x2caa5b?{'originalError':_0x2caa5b}:void 0x0);}[_0x274330(0x24d)](_0x3b21c1){const _0x446d20=_0x274330;this[_0x446d20(0x1d2)][_0x446d20(0x249)](_0x3b21c1)||(this[_0x446d20(0x1d2)][_0x446d20(0x213)](_0x3b21c1),this[_0x446d20(0x27c)][_0x446d20(0x28f)](_0x3b21c1),this[_0x446d20(0x1c5)]||_0x446d20(0x29b)==_0x3b21c1[_0x446d20(0x1fc)]&&!_0x3b21c1[_0x446d20(0x1f4)]||this[_0x446d20(0x1e1)]());}[_0x274330(0x218)](_0x1a899f=!0x1){const _0x34477c=_0x274330;!_0x1a899f&&this[_0x34477c(0x1d3)]||(this[_0x34477c(0x1d3)]=!0x0,clearTimeout(this[_0x34477c(0x201)]),this[_0x34477c(0x201)]=setTimeout(()=>{const _0x15d65e=_0x34477c;this[_0x15d65e(0x21a)]()[_0x15d65e(0x251)](_0x107173=>{const _0x4c19da=_0x15d65e;_0x107173&&(this[_0x4c19da(0x27d)](),this[_0x4c19da(0x1d3)]=!0x1);})[_0x15d65e(0x20b)](_0x1caf43=>{const _0x2addc9=_0x15d65e;this[_0x2addc9(0x27d)](),this[_0x2addc9(0x1d3)]=!0x1,function(_0xcb5533){const _0x127f38=_0x2addc9;return _0xcb5533[_0x127f38(0x2a6)][_0x127f38(0x1e8)](_0x127f38(0x26e))||_0xcb5533[_0x127f38(0x2a6)][_0x127f38(0x1e8)](_0x127f38(0x204))||_0xcb5533[_0x127f38(0x2a6)][_0x127f38(0x1e8)](_0x127f38(0x292));}(_0x1caf43)||this[_0x2addc9(0x255)](_0x1caf43[_0x2addc9(0x2a6)],_0x1caf43);});},this[_0x34477c(0x267)]));}[_0x274330(0x1bb)](){return new Promise(_0x2d53f0=>{const _0xc89123=_0x5965;this['on'](_0xc89123(0x1e7),()=>{_0x2d53f0();});});}async[_0x274330(0x21a)](){const _0x4d41ef=_0x274330,_0x16ba11=this[_0x4d41ef(0x234)][_0x4d41ef(0x240)][_0x4d41ef(0x20d)](_0x34fcf8);if(this[_0x4d41ef(0x27e)]()&&(_0x16ba11[_0x4d41ef(0x2b8)](),this[_0x4d41ef(0x2a2)]=!0x1),!this[_0x4d41ef(0x1d6)]())return!0x0;const _0x2eb42b=[...this[_0x4d41ef(0x27c)]];for(const _0x1c7e69 of _0x2eb42b)_0x1c7e69[_0x4d41ef(0x206)]=this[_0x4d41ef(0x1db)][_0x4d41ef(0x1c2)][_0x4d41ef(0x1f7)](_0x1c7e69);const _0x4a6349=this[_0x4d41ef(0x261)][_0x4d41ef(0x1c4)](_0x2eb42b),_0x43e99e=J++,_0x48f088=this[_0x4d41ef(0x22c)](_0x2eb42b),_0x26ca01=await this[_0x4d41ef(0x1ed)][_0x4d41ef(0x275)](_0x48f088,_0x48f088[_0x4d41ef(0x23f)],_0x4a6349);try{return await this[_0x4d41ef(0x295)](_0x2eb42b,_0x26ca01,_0x43e99e);}catch(_0x1e5aed){return this[_0x4d41ef(0x255)](_0x4d41ef(0x268),_0x1e5aed);}}async[_0x274330(0x295)](_0x1ea628,_0x5647f9,_0xa1a81b){const _0x4fae71=_0x274330;if(_0x4fae71(0x2a0)in _0x5647f9)throw _0x5647f9[_0x4fae71(0x2a0)];let _0x5e6415=!0x1;if(_0x5647f9[_0x4fae71(0x2b6)]){_0x5647f9[_0x4fae71(0x297)]&&(this[_0x4fae71(0x244)]=_0x5647f9[_0x4fae71(0x297)]),this[_0x4fae71(0x27c)]=this[_0x4fae71(0x27c)][_0x4fae71(0x2bd)](_0x20fd1e=>!_0x1ea628[_0x4fae71(0x1ba)](_0x20fd1e));for(const _0x315eb0 of _0x1ea628)_0x315eb0[_0x4fae71(0x1d0)]=_0x4fae71(0x20e)in _0x5647f9&&_0x5647f9[_0x4fae71(0x20e)]||void 0x0;X(_0x1ea628,_0x5647f9[_0x4fae71(0x278)]-_0x1ea628[_0x4fae71(0x24f)]),this[_0x4fae71(0x1d7)](_0x1ea628);const _0x237cb5=_0x1ea628[_0x4fae71(0x2bd)](_0xd6e36b=>{const _0x5acab0=_0x4fae71;if(!_0xd6e36b[_0x5acab0(0x28b)])return!0x1;const _0x9d955a=this[_0x5acab0(0x222)](_0xd6e36b);return _0x9d955a&&!this[_0x5acab0(0x1c9)][_0x5acab0(0x249)](_0x9d955a);});X(_0x237cb5,this[_0x4fae71(0x1db)][_0x4fae71(0x278)]),this[_0x4fae71(0x284)](_0x237cb5),_0x5e6415=!0x0,this[_0x4fae71(0x267)]=this[_0x4fae71(0x299)];}else{const _0x5e57b1=this[_0x4fae71(0x221)](_0x5647f9[_0x4fae71(0x23b)],_0x5647f9[_0x4fae71(0x225)])[_0x4fae71(0x2bd)](_0x79b099=>_0x79b099[_0x4fae71(0x23f)]>=this[_0x4fae71(0x207)]);_0x5e57b1[_0x4fae71(0x23d)](_0x4e6785=>this[_0x4fae71(0x252)](_0x4e6785)),this[_0x4fae71(0x27c)]=this[_0x4fae71(0x27c)][_0x4fae71(0x2bd)](_0x7609a4=>!_0x7609a4[_0x4fae71(0x28b)]||!this[_0x4fae71(0x1c9)][_0x4fae71(0x249)](this[_0x4fae71(0x222)](_0x7609a4))),this[_0x4fae71(0x27c)][_0x4fae71(0x24f)]&&X(this[_0x4fae71(0x27c)],this[_0x4fae71(0x27c)][0x0][_0x4fae71(0x23f)]),await this[_0x4fae71(0x287)](_0x5e57b1),_0x5e6415=this[_0x4fae71(0x220)](_0x5e57b1,_0x5647f9[_0x4fae71(0x278)],_0x5647f9[_0x4fae71(0x297)]),this[_0x4fae71(0x267)]=Math[_0x4fae71(0x288)](this[_0x4fae71(0x267)]/0x2);}return _0x5e6415?!this[_0x4fae71(0x1d6)]()||(this[_0x4fae71(0x218)](!0x0),!0x1):this[_0x4fae71(0x255)](_0x4fae71(0x1e0));}[_0x274330(0x220)](_0x4fbc7b,_0x47d723,_0x41bd2b){const _0x5111ff=_0x274330;try{const _0x2917ff={'document':this[_0x5111ff(0x1db)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x26d239,operationsB:_0x461d9c,originalOperations:_0x482198}=_0x160dd6(_0x4fbc7b,this[_0x5111ff(0x27c)],_0x2917ff);X(_0x26d239,this[_0x5111ff(0x1db)][_0x5111ff(0x278)]),X(_0x461d9c,_0x47d723);for(const _0xfab3e1 of _0x26d239){const _0x51f523=_0x482198[_0x5111ff(0x20d)](_0xfab3e1);_0xfab3e1[_0x5111ff(0x22e)]=_0x51f523?_0x51f523[_0x5111ff(0x22e)]:null;}_0x41bd2b&&(this[_0x5111ff(0x261)][_0x5111ff(0x29c)](_0x4fbc7b,_0x41bd2b),this[_0x5111ff(0x244)]=_0x41bd2b),this[_0x5111ff(0x27c)]=[..._0x461d9c],this[_0x5111ff(0x284)](_0x26d239),this[_0x5111ff(0x1d7)](_0x4fbc7b);}catch(_0x1634d9){return console[_0x5111ff(0x2a0)](_0x1634d9),!0x1;}return!0x0;}[_0x274330(0x284)](_0x49a901,_0x4af920=!0x1){const _0x207288=_0x274330;this[_0x207288(0x234)][_0x207288(0x272)][_0x207288(0x1c3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x475cbd=>{const _0x29f2fd=_0x207288;for(const _0x376b7f of _0x49a901)this[_0x29f2fd(0x1d2)][_0x29f2fd(0x213)](_0x376b7f),this[_0x29f2fd(0x252)](_0x376b7f),_0x475cbd[_0x29f2fd(0x29f)][_0x29f2fd(0x223)](_0x376b7f),this[_0x29f2fd(0x234)][_0x29f2fd(0x272)][_0x29f2fd(0x262)](_0x376b7f);});}[_0x274330(0x252)](_0x57e66e){const _0x40363e=_0x274330,_0xdccb4c=this[_0x40363e(0x222)](_0x57e66e);_0xdccb4c&&this[_0x40363e(0x1c9)][_0x40363e(0x213)](_0xdccb4c);}[_0x274330(0x222)](_0xaa42fa){const _0x3f71a0=_0x274330;let _0xc3a48e,_0x26323b;switch(_0xaa42fa[_0x3f71a0(0x1fc)]){case _0x3f71a0(0x289):_0xc3a48e=_0xaa42fa[_0x3f71a0(0x25b)][_0x3f71a0(0x1bd)];break;case _0x3f71a0(0x29b):if(_0x26323b=_0xaa42fa[_0x3f71a0(0x20c)],!_0x26323b)return null;_0xc3a48e=_0x26323b[_0x3f71a0(0x1bd)];break;case _0x3f71a0(0x2af):_0xc3a48e=_0xaa42fa[_0x3f71a0(0x1bd)];break;case _0x3f71a0(0x1f3):_0xc3a48e=_0xaa42fa[_0x3f71a0(0x2ac)];break;case _0x3f71a0(0x212):_0xc3a48e=_0xaa42fa[_0x3f71a0(0x1d9)][_0x3f71a0(0x1bd)];break;default:return null;}return _0xc3a48e[_0x3f71a0(0x1fe)];}[_0x274330(0x1d7)](_0x3936b0){const _0x13c5a2=_0x274330;_0x3936b0[_0x13c5a2(0x23d)](_0x2c520c=>{const _0x14f129=_0x13c5a2,_0x326418=_0x2c520c[_0x14f129(0x1f5)]();_0x326418[_0x14f129(0x22e)]=_0x2c520c[_0x14f129(0x22e)],_0x326418[_0x14f129(0x28b)]=!!_0x2c520c[_0x14f129(0x28b)],_0x326418[_0x14f129(0x1d0)]=_0x2c520c[_0x14f129(0x1d0)],_0x326418[_0x14f129(0x23f)]+=this[_0x14f129(0x298)],_0x2c520c[_0x14f129(0x294)]&&this[_0x14f129(0x1dc)][_0x14f129(0x213)](_0x326418),this[_0x14f129(0x1eb)][_0x14f129(0x223)](_0x326418);});}[_0x274330(0x2a7)](_0x44689b){const _0x1e0443=_0x274330,_0x3b0fb9=this[_0x1e0443(0x234)][_0x1e0443(0x240)][_0x1e0443(0x20d)](_0x1e0443(0x200)),_0x224634=this[_0x1e0443(0x234)][_0x1e0443(0x1cc)];_0x44689b||(_0x44689b=_0x14dba1(_0x224634,_0x1e0443(0x217))),_0x3b0fb9[_0x1e0443(0x281)](_0x44689b,{'title':_0x14dba1(_0x224634,_0x1e0443(0x210)),'namespace':_0x1e0443(0x2b4)}),this[_0x1e0443(0x1df)]=!0x0,clearTimeout(this[_0x1e0443(0x201)]),this[_0x1e0443(0x27c)]=[],this[_0x1e0443(0x234)][_0x1e0443(0x240)][_0x1e0443(0x20d)](_0xebf132)[_0x1e0443(0x1de)]();}[_0x274330(0x1e1)](){const _0x57fd79=_0x274330;this[_0x57fd79(0x1c5)]||(this[_0x57fd79(0x1c5)]=this[_0x57fd79(0x234)][_0x57fd79(0x240)][_0x57fd79(0x20d)](_0x324b2e)[_0x57fd79(0x213)](_0x14dba1(this[_0x57fd79(0x234)][_0x57fd79(0x1cc)],_0x57fd79(0x26c))));}[_0x274330(0x27d)](){const _0x361ccd=_0x274330;this[_0x361ccd(0x1c5)]&&(this[_0x361ccd(0x234)][_0x361ccd(0x240)][_0x361ccd(0x20d)](_0x324b2e)[_0x361ccd(0x25a)](this[_0x361ccd(0x1c5)]),this[_0x361ccd(0x1c5)]=null);}[_0x274330(0x22c)](_0x5c69e2){const _0x254462=_0x274330,_0x49d86b=_0x5c69e2[_0x254462(0x2ab)](_0x5d88ed=>_0x5d88ed[_0x254462(0x1fb)]());return this[_0x254462(0x277)][_0x254462(0x2ad)](_0x49d86b);}[_0x274330(0x221)](_0xa7a36f,_0x6ab747){const _0x5128d1=_0x274330;return this[_0x5128d1(0x277)][_0x5128d1(0x1ee)](_0xa7a36f)[_0x5128d1(0x2ab)]((_0x29b940,_0x5e43cd)=>{const _0x15a4c4=_0x5128d1,_0x5c6fae=_0x15a4c4(0x1f2)==_0x6ab747[_0x5e43cd][_0x15a4c4(0x1fc)];if(_0x15a4c4(0x20a)==_0x29b940[_0x15a4c4(0x1c6)]){const _0x14d927=_0x29b940[_0x15a4c4(0x25b)][_0x15a4c4(0x1bd)];!this[_0x15a4c4(0x1db)][_0x15a4c4(0x208)](_0x14d927)&&(this[_0x15a4c4(0x1db)][_0x15a4c4(0x237)](_0x15a4c4(0x269),_0x14d927)[_0x15a4c4(0x1b7)]=!0x1);}const _0x477d79=_0x5f0e91[_0x15a4c4(0x1be)](_0x29b940,this[_0x15a4c4(0x1db)]);return _0x477d79[_0x15a4c4(0x206)]=_0x29b940[_0x15a4c4(0x206)],_0x477d79[_0x15a4c4(0x28b)]=_0x5c6fae,_0x477d79[_0x15a4c4(0x22e)]=_0x5c6fae?null:_0x6ab747[_0x5e43cd][_0x15a4c4(0x285)],_0x477d79[_0x15a4c4(0x294)]=_0x15a4c4(0x254)===_0x6ab747[_0x5e43cd][_0x15a4c4(0x1fc)],_0x477d79[_0x15a4c4(0x1d0)]=_0x6ab747[_0x5e43cd][_0x15a4c4(0x1d0)],_0x477d79;});}[_0x274330(0x236)](){const _0x10e152=_0x274330;this[_0x10e152(0x2a2)]=!0x0,this[_0x10e152(0x27e)]()?this[_0x10e152(0x218)]():this[_0x10e152(0x2a2)]=!0x1;}[_0x274330(0x27e)](){const _0x15c6be=_0x274330,_0x41bf03=this[_0x15c6be(0x234)][_0x15c6be(0x240)][_0x15c6be(0x20d)](_0x4a12ed)[_0x15c6be(0x224)][_0x15c6be(0x20d)](this[_0x15c6be(0x1da)]);return!this[_0x15c6be(0x234)][_0x15c6be(0x1e5)]&&!!_0x41bf03&&_0x41bf03[_0x15c6be(0x24f)]>0x1&&this[_0x15c6be(0x2a2)];}[_0x274330(0x1d6)](){const _0x56add6=_0x274330;return this[_0x56add6(0x27c)][_0x56add6(0x24f)]>0x0||this[_0x56add6(0x27e)]();}}function _0x5267(){const _0x5b1a95=['catch','newRange','get','lastOperationAcceptedAt','_setUpDataInit','Synchronization\x20issue','_initThrowingOnDataSet','move','add','pluginName','setPermissions','createPositionFromPath','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_sendBufferedOperationsDelayed','size','_sendBufferedOperations','view','22wLAObi','realtimecollaborationclient-init-document-already-initialized','460eqcDut','destroy','_handleExternalOperations','_decompressOperations','_getAffectedRoot','addOperation','channelSessions','metadata','mySessionId','stopListening','change:range','disableReadOnlyMode','string','code','_compressOperations','register','_authorId','CollaborativeEditingService','realtimecollaborationclient-init-non-existent-root','rtc-destroyed','Permissions','requires','editor','enableReadOnlyMode','_refreshUserSelectionMarkers','createRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','2778492cbDBst','getDocumentDetails','data','document','forEach','_handleInitialConnectionData','baseVersion','plugins','bind','CommentsOnly','_operationToId','_lastSyncedOperationId','change:_isEditingAllowed','_bufferRootLoad','disconnected','cloudDocumentVersion','has','config','realtimecollaborationclient-error','finally','_saveOperationInBuffer','path','length','85842iBznFT','then','_addKnownRoot','start','cs:removeUser','_crash','parse','realtimecollaborationclient-init-session-connection-error','markers','suppressErrorInCollaboration','remove','position','addUser','reconnection:\x20flushed\x20session','createRange','slice','roots','_operationIdentifier','applyOperation','_isLoaded','keys','ready','isPremiumPlugin','_currentBufferDelay','realtimecollaborationclient-sendbufferedoperations','$root','rootsAttributes','_getOperationsFromInitData','PENDING_ACTION_SENDING_DATA','2141630HaCFwU','cloud-services-internal-error:\x20Not\x20connected.','permissions','_ignoredOperations','_isConnected','model','collaboration-missing-channelid','removeFromReconnectionStack','sendOperations','realtimecollaborationclient-init-service-internal-error','_compressor','version','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stop','rtc-offline','_bufferedOperations','_clearPendingAction','_shouldSendSelectionUpdate','_connectService','isOfficialPlugin','showWarning','connect','5629968NLYvMN','_applyOperationsSet','userId','selection','_fetchMissingUsers','round','insert','1150598QmiAld','_isInit','124326rTVuTa','_connectAfterSessionHasBeenFlushed','cloudServices.bundleVersion','push','_handleReconnectionResponse','_handleReceivedOperations','cloud-services-internal-error:\x20Request\x20timeout.','_loadRoot','_isDisconnection','_handleServerResponse','change:hasDomSelection','lastOperationId','_offset','_baseBufferDelay','realtimecollaborationclient-init-connection-failed','marker','setIdForTheLastOperation','currentDocumentSession','listenTo','batch','error','return','_hasSelectionChanged','reset','isEnabled','createPositionAt','message','_handleReconnectionError','collaboration.channelId','getMany','loadRoot','map','affectedSelectable','compress','4OWIkGX','addRootAttribute','from','state','apply','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','directChange','wereChangesApplied','63xecTwy','createUserMarkerOperations','sessionAdd:','connection','addToReconnectionStack','sessionCreatedAt','filter','collaboration','_isAttached','differ','define','includes','_waitUntilSynced','high','root','fromJSON','operationsReceived','set','getOperationAuthor','history','enqueueChange','getIdOfTheLastOperation','_pendingAction','__className','404','409','_knownRootNames','multi-root-editor-root-attributes-no-root','initData','locale','getUser','lastSyncVersion','_isEditingAllowed','createdAt','RealTimeCollaborationClient','_knownOperations','_isPendingUpdate','getConnectedSessions','isDocumentOperation','_shouldSendUpdate','_updateServerHistory','_handleSendingSelectionMarkers','targetPosition','_channelId','_document','_disconnectionOperations','end','disconnect','_hasSynchronizationProblem','realtimecollaborationclient-handleserverresponse','_setPendingAction','sessionId','off','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isReadOnly','offset','change:_isPendingUpdate','startsWith','unregister','realtimecollaborationclient','serverHistory','1LeXGhq','_service','decompress','1684572QsCsET','_initSessionsHandling','connected','init','addRoot','affectsData','clone','attributes','isUndoneOperation','fire','entries','reconnect','toJSON','type','_disconnectService','rootName','realtimecollaborationclient-init-service-incorrect-server-operation','Notification','_sendBufferedOperationsDelayId','editing','getOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','document:write','wasUndone','_lastServerVersion','getRoot','lastDocumentSession','InsertOperation'];_0x5267=function(){return _0x5b1a95;};return _0x5267();}export default l;class Q extends Error{}function X(_0x456c31,_0x361f3b){const _0x54c5b1=_0x274330;for(const _0x17d7ad of _0x456c31)_0x17d7ad[_0x54c5b1(0x23f)]=_0x361f3b++;}class Y{[_0x274330(0x270)];[_0x274330(0x243)];constructor(_0x57e248){const _0x5b69cb=_0x274330;this[_0x5b69cb(0x270)]=_0x57e248,this[_0x5b69cb(0x243)]=new WeakMap();}[_0x274330(0x1c4)](_0x25bcaa){const _0x202662=_0x274330;let _0x5ca521=_0x25bcaa[_0x202662(0x24f)];for(;_0x5ca521--;){const _0x16a316=_0x25bcaa[_0x5ca521];if(!this[_0x202662(0x270)][_0x202662(0x249)](_0x16a316)){if(!this[_0x202662(0x243)][_0x202662(0x249)](_0x16a316)){const _0x308fa8=_0x470511()[_0x202662(0x25f)](0x1,0x12);this[_0x202662(0x243)][_0x202662(0x1c0)](_0x16a316,_0x308fa8);}return this[_0x202662(0x243)][_0x202662(0x20d)](_0x16a316);}}}[_0x274330(0x29c)](_0x23b533,_0x20ca5a){const _0x374046=_0x274330;if(!_0x20ca5a)return;let _0x4e5982=_0x23b533[_0x374046(0x24f)];for(;_0x4e5982--;){const _0xe94cb5=_0x23b533[_0x4e5982];this[_0x374046(0x270)][_0x374046(0x249)](_0xe94cb5)||this[_0x374046(0x243)][_0x374046(0x1c0)](_0xe94cb5,_0x20ca5a);}}}
23
+ const _0x48cf25=_0x1b51;function _0x1b51(_0x15e972,_0x43c72e){const _0x509558=_0x5095();return _0x1b51=function(_0x1b51db,_0x2b85f9){_0x1b51db=_0x1b51db-0xc9;let _0x246110=_0x509558[_0x1b51db];return _0x246110;},_0x1b51(_0x15e972,_0x43c72e);}(function(_0x276868,_0x1ccfc9){const _0x2b4bba=_0x1b51,_0x266e22=_0x276868();while(!![]){try{const _0x1a9175=parseInt(_0x2b4bba(0x11f))/0x1+parseInt(_0x2b4bba(0xd2))/0x2*(-parseInt(_0x2b4bba(0x16d))/0x3)+-parseInt(_0x2b4bba(0xf7))/0x4+parseInt(_0x2b4bba(0x179))/0x5*(parseInt(_0x2b4bba(0x1b1))/0x6)+parseInt(_0x2b4bba(0x1a3))/0x7*(parseInt(_0x2b4bba(0x1c2))/0x8)+-parseInt(_0x2b4bba(0xf3))/0x9+-parseInt(_0x2b4bba(0x111))/0xa*(-parseInt(_0x2b4bba(0x15e))/0xb);if(_0x1a9175===_0x1ccfc9)break;else _0x266e22['push'](_0x266e22['shift']());}catch(_0x38fcd9){_0x266e22['push'](_0x266e22['shift']());}}}(_0x5095,0x9cabc));import{Plugin as _0xb1f595,PendingActions as _0x2b5d75}from'ckeditor5/src/core.js';import{CKEditorError as _0x287132,version as _0x336758,uid as _0x3c0256}from'ckeditor5/src/utils.js';import{Notification as _0x477077}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x2e7ce9,NoOperation as _0x447d9e,InsertOperation as _0x47bbca,MarkerOperation as _0x5f31cd,RootAttributeOperation as _0xcabfeb,OperationFactory as _0x1d9a29,History as _0x260ce5}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5615bf}from'./websocketgateway.js';import{Sessions as _0x166e79}from'./sessions.js';import{UserMarkers as _0x4f70a5}from'./usermarkers.js';import{getTranslation as _0x3894e8}from'../common-translations.js';import{Compressor as _0x3333ae}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x18fbdd}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3b1967,CollaborativeEditingService as _0x2592db}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0xb1f595{static [_0x48cf25(0xe5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2592db)());[_0x48cf25(0x17a)];[_0x48cf25(0x160)];[_0x48cf25(0x12f)];[_0x48cf25(0xe7)];[_0x48cf25(0x1c6)];[_0x48cf25(0xcf)];[_0x48cf25(0x18f)];[_0x48cf25(0x158)];[_0x48cf25(0x106)];[_0x48cf25(0x124)];[_0x48cf25(0xcd)];[_0x48cf25(0x129)];[_0x48cf25(0x1c8)];[_0x48cf25(0x14b)];[_0x48cf25(0x169)];[_0x48cf25(0x130)];[_0x48cf25(0xd9)];[_0x48cf25(0xe4)];static get[_0x48cf25(0x1b7)](){return[_0x5615bf,_0x166e79,_0x4f70a5,_0x2b5d75,_0x18fbdd,_0x477077];}static get[_0x48cf25(0x181)](){const _0x25d461=_0x48cf25;return _0x25d461(0x1a6);}static get[_0x48cf25(0x16e)](){return!0x0;}static get[_0x48cf25(0xc9)](){return!0x0;}get[_0x48cf25(0x187)](){const _0x89545a=_0x48cf25;return this[_0x89545a(0xf2)]+this[_0x89545a(0x17a)];}get[_0x48cf25(0xf2)](){const _0x3eba1=_0x48cf25;return this[_0x3eba1(0x12f)][_0x3eba1(0xcb)]-this[_0x3eba1(0x17a)];}get[_0x48cf25(0x1ab)](){const _0x32a0c6=_0x48cf25,_0x14e2a8=this[_0x32a0c6(0x12f)][_0x32a0c6(0x1b5)]();for(let _0x25c556=_0x14e2a8[_0x32a0c6(0x16f)]-0x1;_0x25c556>=0x0;_0x25c556--){const _0x443ef8=_0x14e2a8[_0x25c556];if(!this[_0x32a0c6(0xd9)][_0x32a0c6(0xfe)](_0x443ef8))return _0x443ef8[_0x32a0c6(0x126)]+0x1-this[_0x32a0c6(0x17a)];}return 0x0;}constructor(_0x4378bf){const _0x9f426b=_0x48cf25;if(super(_0x4378bf),this[_0x9f426b(0x17a)]=0x0,this[_0x9f426b(0x160)]=null,this[_0x9f426b(0x12f)]=new _0x260ce5(),this[_0x9f426b(0x110)][_0x9f426b(0x190)][_0x9f426b(0x162)](_0x9f426b(0x136),{}),this[_0x9f426b(0xe7)]=this[_0x9f426b(0x110)][_0x9f426b(0x190)][_0x9f426b(0xdb)](_0x9f426b(0x116)),!this[_0x9f426b(0xe7)])throw new _0x287132(_0x9f426b(0x14d),this);const _0x5872fa=_0x4378bf[_0x9f426b(0x190)][_0x9f426b(0xdb)](_0x9f426b(0x1a4))||_0x336758;this[_0x9f426b(0x1c6)]=new l[(_0x9f426b(0xe5))](_0x5872fa,this[_0x9f426b(0xe7)]),this[_0x9f426b(0xcf)]=this[_0x9f426b(0x110)][_0x9f426b(0xd6)][_0x9f426b(0x193)],this[_0x9f426b(0x18f)]=new _0x3333ae(),this[_0x9f426b(0x158)]=[],this[_0x9f426b(0x106)]=new WeakSet(),this[_0x9f426b(0x124)]=new Set(),this[_0x9f426b(0x152)](_0x9f426b(0x178),!0x1),this[_0x9f426b(0x152)](_0x9f426b(0x13b),!0x1),this[_0x9f426b(0xcd)]=null,this[_0x9f426b(0x129)]=!0x1,this[_0x9f426b(0x1c8)]=null,this[_0x9f426b(0x14b)]=0x12c,this[_0x9f426b(0x169)]=this[_0x9f426b(0x14b)],this[_0x9f426b(0x130)]=null,this[_0x9f426b(0xd9)]=new WeakSet(),this[_0x9f426b(0xe4)]=new J(this[_0x9f426b(0xd9)]);}[_0x48cf25(0x1a5)](){const _0x43a168=_0x48cf25,_0x151ae3=this[_0x43a168(0x110)],_0x296e65=_0x151ae3[_0x43a168(0xd0)][_0x43a168(0xdb)](_0x18fbdd),_0x1d348a=_0x151ae3[_0x43a168(0xd0)][_0x43a168(0xdb)](_0x5615bf);this[_0x43a168(0x12b)](_0x296e65,_0x43a168(0x17b),(_0x559ad0,_0x4260d3)=>{const _0x5c39c0=_0x43a168,_0x54003d=_0x4260d3[0x0];_0x54003d[_0x5c39c0(0x1ce)]&&(_0x559ad0[_0x5c39c0(0xce)]=_0x296e65[_0x5c39c0(0xe6)](_0x54003d[_0x5c39c0(0x1ce)]),_0x559ad0[_0x5c39c0(0xca)]()),null===_0x54003d[_0x5c39c0(0x1ce)]&&(_0x559ad0[_0x5c39c0(0xce)]=null,_0x559ad0[_0x5c39c0(0xca)]());},{'priority':_0x43a168(0x114)}),this[_0x43a168(0x12b)](_0x151ae3[_0x43a168(0xd6)][_0x43a168(0x193)][_0x43a168(0x182)],_0x43a168(0x1b2),(_0x5e9bce,_0xe97140)=>{const _0x4f794d=_0x43a168;_0xe97140[_0x4f794d(0x137)]&&this[_0x4f794d(0xea)]();}),this[_0x43a168(0x12b)](_0x151ae3[_0x43a168(0xfc)][_0x43a168(0x196)],_0x43a168(0x1c0),()=>{const _0x151810=_0x43a168;this[_0x151810(0xea)]();}),this[_0x43a168(0xf9)](),_0x151ae3[_0x43a168(0xd6)]['on'](_0x43a168(0x135),(_0x5d4219,_0x4f22d7)=>{const _0x526ce0=_0x43a168,_0x425148=_0x4f22d7[0x0];_0x425148[_0x526ce0(0x1b0)]&&(this[_0x526ce0(0x148)](_0x425148),this[_0x526ce0(0x175)]()&&this[_0x526ce0(0xf6)]());}),this[_0x43a168(0x14a)](),this[_0x43a168(0x103)](_0x43a168(0x15b))['to'](_0x1d348a,_0x43a168(0x15c),this,_0x43a168(0x13b),(_0x1cc5ed,_0x24d8d4)=>_0x43a168(0x17c)===_0x1cc5ed&&!_0x24d8d4),this['on'](_0x43a168(0x1ad),()=>{const _0x4c1fae=_0x43a168;this[_0x4c1fae(0x15b)]?_0x151ae3[_0x4c1fae(0x120)](_0x4c1fae(0x142)):_0x151ae3[_0x4c1fae(0x18d)](_0x4c1fae(0x142));}),this[_0x43a168(0x15b)]?_0x151ae3[_0x43a168(0x120)](_0x43a168(0x142)):_0x151ae3[_0x43a168(0x18d)](_0x43a168(0x142)),this[_0x43a168(0x152)](_0x43a168(0xeb),!0x1);}async[_0x48cf25(0x101)](){const _0x88884e=_0x48cf25,_0x4eb2a7=this[_0x88884e(0x110)][_0x88884e(0xd0)][_0x88884e(0xdb)](_0x166e79),_0x74e575=this[_0x88884e(0x110)][_0x88884e(0xd0)][_0x88884e(0xdb)](_0x5615bf);try{this[_0x88884e(0x178)]=!0x0,_0x4eb2a7[_0x88884e(0x13c)](this[_0x88884e(0xe7)]);const _0x4e8c6f=await this[_0x88884e(0x1c6)][_0x88884e(0x101)](_0x74e575[_0x88884e(0x191)],this[_0x88884e(0x1ab)]);await this[_0x88884e(0xdd)](_0x4e8c6f)&&(this[_0x88884e(0x178)]=!0x1,this[_0x88884e(0x17d)]());const _0x554511=await this[_0x88884e(0x1c6)][_0x88884e(0x1cd)]();_0x4eb2a7[_0x88884e(0x109)](this[_0x88884e(0xe7)],_0x554511),this[_0x88884e(0x132)](),this[_0x88884e(0xeb)]=!0x0;}catch(_0x21c741){if(function(_0x507ed1){const _0x47a349=_0x88884e;return _0x47a349(0x121)===_0x507ed1[_0x47a349(0xd8)];}(_0x21c741)&&this[_0x88884e(0x160)])await this[_0x88884e(0xef)]();else{if(function(_0x583289){const _0x6f99bb=_0x88884e;return _0x6f99bb(0x159)===_0x583289[_0x6f99bb(0xd8)];}(_0x21c741)){const _0x4ef3fa=_0x3894e8(this[_0x88884e(0x110)][_0x88884e(0x1a2)],_0x88884e(0x194));this[_0x88884e(0x185)](_0x4ef3fa);}else{if(!(_0x21c741 instanceof $))throw _0x21c741;this[_0x88884e(0x185)]();}}}}[_0x48cf25(0xf5)](){const _0x4482da=_0x48cf25,_0x1c7eb5=this[_0x4482da(0x110)][_0x4482da(0xd0)][_0x4482da(0xdb)](_0x5615bf),_0x177f7a=this[_0x4482da(0x110)][_0x4482da(0xd0)][_0x4482da(0xdb)](_0x166e79);this[_0x4482da(0x110)][_0x4482da(0x18d)](_0x4482da(0x1c1)),_0x177f7a[_0x4482da(0x15a)][_0x4482da(0xfe)](this[_0x4482da(0xe7)])&&_0x177f7a[_0x4482da(0x13c)](this[_0x4482da(0xe7)]),_0x1c7eb5[_0x4482da(0x138)](this),this[_0x4482da(0xe2)](),super[_0x4482da(0xf5)]();}async[_0x48cf25(0xdd)](_0x42dde8){const _0x1ca6fb=_0x48cf25;if(this[_0x1ca6fb(0x160)]!==_0x42dde8[_0x1ca6fb(0x160)]&&this[_0x1ca6fb(0x130)]!==_0x42dde8[_0x1ca6fb(0x10a)])throw new $();return this[_0x1ca6fb(0x160)]=_0x42dde8[_0x1ca6fb(0x160)],this[_0x1ca6fb(0x13a)]([],{..._0x42dde8,'wereChangesApplied':!0x1,'data':_0x42dde8[_0x1ca6fb(0x11a)]},_0x1ca6fb(0x101));}async[_0x48cf25(0x149)](_0x11cef2,_0xbb8d5f=!0x1){const _0x183318=_0x48cf25,{connection:_0x548377}=this[_0x183318(0x110)][_0x183318(0xd0)][_0x183318(0xdb)](_0x5615bf);l[_0x183318(0xe5)][_0x183318(0x1cd)](_0x548377,this[_0x183318(0xe7)])[_0x183318(0x1bd)](_0xd0648f=>this[_0x183318(0x1ae)](_0xd0648f))[_0x183318(0x133)](_0x453117=>{const _0x36db8b=_0x183318;this[_0x36db8b(0xda)](_0x36db8b(0x167),_0x453117);}),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x177),this[_0x183318(0x105)][_0x183318(0x103)](this)),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x139),(_0x4c04b8,_0x191191)=>{const _0x187d83=_0x183318;this[_0x187d83(0xda)](_0x187d83(0x1bc),_0x191191);}),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x122),()=>{const _0x5db957=_0x183318;this[_0x5db957(0xeb)]=!0x1;});const _0x3fc3bf=this[_0x183318(0xe4)][_0x183318(0x1a9)](_0x11cef2);this[_0x183318(0x178)]=!0x0;const _0x92d15f=await this[_0x183318(0x1c6)][_0x183318(0x10e)](_0x548377,this[_0x183318(0x1b9)](_0x11cef2),_0x3fc3bf);if(this[_0x183318(0x160)]=_0x92d15f[_0x183318(0x160)],_0xbb8d5f){if(!_0x92d15f[_0x183318(0x11c)])return void this[_0x183318(0x185)]();this[_0x183318(0x178)]=!0x1,this[_0x183318(0x17d)](),this[_0x183318(0x12f)][_0x183318(0x1c9)](),this[_0x183318(0x17a)]=_0x92d15f[_0x183318(0x163)],this[_0x183318(0x12f)][_0x183318(0xcb)]=this[_0x183318(0x17a)],await this[_0x183318(0x13a)](_0x11cef2,_0x92d15f,_0x183318(0xf4));}else await this[_0x183318(0x115)](_0x92d15f,_0x11cef2);this[_0x183318(0x132)](),this[_0x183318(0xeb)]=!0x0;}[_0x48cf25(0x132)](){const _0x49654c=_0x48cf25,_0x255d7e=this[_0x49654c(0x110)][_0x49654c(0xd0)][_0x49654c(0xdb)](_0x166e79),_0x471a35=this[_0x49654c(0x110)][_0x49654c(0xd0)][_0x49654c(0xdb)](_0x4f70a5),_0x95d067=_0x255d7e[_0x49654c(0x15a)][_0x49654c(0xdb)](this[_0x49654c(0xe7)]);_0x95d067&&_0x95d067[_0x49654c(0x16f)]>0x1?_0x471a35[_0x49654c(0x18b)]():this[_0x49654c(0x12b)](_0x255d7e,_0x49654c(0x188)+this[_0x49654c(0xe7)],()=>{const _0x491871=_0x49654c;0x2===_0x255d7e[_0x491871(0x15a)][_0x491871(0xdb)](this[_0x491871(0xe7)])[_0x491871(0x16f)]&&_0x471a35[_0x491871(0x18b)]();});}async[_0x48cf25(0x105)](_0x2a8457,_0x54ae78,_0x136a1f,_0x5c1afe){const _0x3ef2ff=_0x48cf25;if(!this[_0x3ef2ff(0x178)]&&this[_0x3ef2ff(0xcf)][_0x3ef2ff(0xcb)]==_0x54ae78){const _0x2ca0c9=this[_0x3ef2ff(0x12a)](_0x136a1f,_0x5c1afe);await this[_0x3ef2ff(0xf0)](_0x2ca0c9),this[_0x3ef2ff(0x1ba)](_0x2ca0c9,_0x54ae78,_0x136a1f[_0x3ef2ff(0x10a)])||this[_0x3ef2ff(0xda)](_0x3ef2ff(0x104));}}async[_0x48cf25(0xef)](){const _0xedb21a=_0x48cf25;this[_0xedb21a(0xe2)]();const {locale:_0x3b75d8}=this[_0xedb21a(0x110)];let _0xc439e0;try{_0xc439e0=await this[_0xedb21a(0x1c6)][_0xedb21a(0x10f)]();}catch{const _0x31bba8=_0x3894e8(_0x3b75d8,_0xedb21a(0x186));return void this[_0xedb21a(0x185)](_0x31bba8);}const _0x35dfe7=_0xc439e0[_0xedb21a(0xe3)]||_0xc439e0[_0xedb21a(0x15d)];if(this[_0xedb21a(0x130)]!==_0x35dfe7[_0xedb21a(0x10a)]){const _0x6064c7=_0x3894e8(_0x3b75d8,_0xedb21a(0x184));return void this[_0xedb21a(0x185)](_0x6064c7);}await this[_0xedb21a(0x149)](this[_0xedb21a(0x110)][_0xedb21a(0xd6)][_0xedb21a(0x193)][_0xedb21a(0xe8)][_0xedb21a(0x1b5)](),!0x0);}[_0x48cf25(0xe2)](){const _0x5292c9=_0x48cf25;this[_0x5292c9(0x1c6)][_0x5292c9(0x1bf)](),this[_0x5292c9(0x158)]=[],clearTimeout(this[_0x5292c9(0x1c8)]),this[_0x5292c9(0x1af)](this[_0x5292c9(0x1c6)]);}[_0x48cf25(0x1ae)](_0x50ca8b){const _0xc73b6b=_0x48cf25,_0x59a70c=this[_0xc73b6b(0x110)][_0xc73b6b(0xd0)][_0xc73b6b(0xdb)](_0x166e79);this[_0xc73b6b(0x12b)](_0x59a70c,_0xc73b6b(0x188)+this[_0xc73b6b(0xe7)],(_0x1994a2,{session:_0x2715e3})=>{const _0x2986b6=_0xc73b6b;if(_0x2715e3['id']===_0x59a70c[_0x2986b6(0x17e)]){_0x1994a2[_0x2986b6(0x18c)]();const _0x2ce3a1=this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xfe)](_0x2986b6(0xdc))&&this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xdb)](_0x2986b6(0xdc));let _0x136600=_0x2715e3[_0x2986b6(0x166)];_0x2ce3a1&&_0x2ce3a1[_0x2986b6(0xee)]&&(_0x136600=_0x136600[_0x2986b6(0x1c4)](_0x2ba24b=>_0x2986b6(0x1b6)!==_0x2ba24b)),this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xdb)](_0x2986b6(0x1aa))[_0x2986b6(0x199)](_0x136600,this[_0x2986b6(0xe7)]);}}),_0x59a70c[_0xc73b6b(0x109)](this[_0xc73b6b(0xe7)],_0x50ca8b);}[_0x48cf25(0xf9)](){const _0x2811d1=_0x48cf25,_0x3c26b1=this[_0x2811d1(0x110)][_0x2811d1(0x11a)][_0x2811d1(0x152)];this[_0x2811d1(0x110)][_0x2811d1(0x11a)][_0x2811d1(0x152)]=(..._0x5db2dd)=>{const _0x249ec5=_0x2811d1;if(!_0x5db2dd[_0x5db2dd[_0x249ec5(0x16f)]-0x1][_0x249ec5(0x146)])throw new _0x287132(_0x249ec5(0xd1),this);_0x3c26b1[_0x249ec5(0x150)](this[_0x249ec5(0x110)][_0x249ec5(0x11a)],_0x5db2dd);};}[_0x48cf25(0x14a)](){const _0x3e59d8=_0x48cf25;this[_0x3e59d8(0x110)][_0x3e59d8(0x11a)]['on'](_0x3e59d8(0x1a5),(_0x2554db,[_0x538f07])=>{const _0x40c9d4=_0x3e59d8;if(this[_0x40c9d4(0xcf)][_0x40c9d4(0xcb)])throw new _0x287132(_0x40c9d4(0x164),this);_0x2554db[_0x40c9d4(0xca)](),this[_0x40c9d4(0x1cc)]();const _0x1bb284=this[_0x40c9d4(0x110)][_0x40c9d4(0x190)][_0x40c9d4(0xdb)](_0x40c9d4(0x117)),_0x375a04=this[_0x40c9d4(0x170)](_0x538f07,_0x1bb284);0x0==_0x375a04[_0x40c9d4(0x16f)]&&_0x375a04[_0x40c9d4(0x168)](new _0x447d9e(0x0)),_0x2554db[_0x40c9d4(0xce)]=this[_0x40c9d4(0x149)](_0x375a04)[_0x40c9d4(0x1bd)](()=>{const _0x1ac630=_0x40c9d4;this[_0x1ac630(0x110)][_0x1ac630(0xd0)][_0x1ac630(0xdb)](_0x5615bf)[_0x1ac630(0xf1)](this),this[_0x1ac630(0x110)][_0x1ac630(0x11a)][_0x1ac630(0x10b)](_0x1ac630(0xed));})[_0x40c9d4(0x133)](_0x2064cf=>this[_0x40c9d4(0xda)](_0x40c9d4(0x112),_0x2064cf))[_0x40c9d4(0x19b)](()=>this[_0x40c9d4(0x17d)]());},{'priority':_0x3e59d8(0x114)}),this[_0x3e59d8(0x110)]['on'](_0x3e59d8(0x183),async(_0x50f97f,[_0xdcefe4,_0x4b419b])=>{const _0x2d515a=_0x3e59d8;_0x50f97f[_0x2d515a(0xca)]();const _0x3d11e2=this[_0x2d515a(0x110)][_0x2d515a(0xd6)][_0x2d515a(0x193)][_0x2d515a(0x107)](_0xdcefe4);if(!this[_0x2d515a(0x124)][_0x2d515a(0xfe)](_0xdcefe4)){const _0x498a47=_0x4b419b&&_0x4b419b[_0x2d515a(0x11a)]?_0x4b419b[_0x2d515a(0x11a)]:'',_0x5db500=_0x4b419b&&_0x4b419b[_0x2d515a(0xd3)]?_0x4b419b[_0x2d515a(0xd3)]:{};await this[_0x2d515a(0x14f)](_0xdcefe4,_0x498a47,_0x5db500);}this[_0x2d515a(0x110)][_0x2d515a(0xd6)][_0x2d515a(0x173)]({'isUndoable':!0x1},()=>{const _0x4b0aeb=_0x2d515a;_0x3d11e2[_0x4b0aeb(0x19a)]=!0x0,this[_0x4b0aeb(0x110)][_0x4b0aeb(0xd6)][_0x4b0aeb(0x193)][_0x4b0aeb(0xe1)][_0x4b0aeb(0x16c)](_0x3d11e2);});},{'priority':_0x3e59d8(0x114)});}async[_0x48cf25(0xf0)](_0x3bff05){const _0x140357=_0x48cf25,_0x511ce0=this[_0x140357(0x110)][_0x140357(0xd0)][_0x140357(0xdb)](_0x18fbdd),{connection:_0x2c59ee}=this[_0x140357(0x110)][_0x140357(0xd0)][_0x140357(0xdb)](_0x5615bf),_0x4d3c0e=new Set();for(const _0x5bd676 of _0x3bff05){const _0x3c4c14=_0x5bd676[_0x140357(0x1ce)];_0x3c4c14&&!_0x511ce0[_0x140357(0xe6)](_0x3c4c14)&&_0x4d3c0e[_0x140357(0x11e)](_0x3c4c14);}if(0x0===_0x4d3c0e[_0x140357(0x113)])return;const _0x5e9727=await _0x3b1967[_0x140357(0xe9)](_0x2c59ee,Array[_0x140357(0x195)](_0x4d3c0e));for(const _0x1c3c45 of _0x5e9727)_0x511ce0[_0x140357(0xe6)](_0x1c3c45['id'])||_0x511ce0[_0x140357(0x128)](_0x1c3c45);}[_0x48cf25(0x170)](_0x4584fa,_0x4244bd={}){const _0x1f5eca=_0x48cf25,_0x19f334=this[_0x1f5eca(0x110)][_0x1f5eca(0xd6)],_0x207434=[];let _0x19a94f=0x0;const _0x35d6c7=_0x1f5eca(0x144)==typeof _0x4584fa?{'main':_0x4584fa}:_0x4584fa;for(const _0x35c88f of Object[_0x1f5eca(0x19c)](_0x35d6c7)){if(!this[_0x1f5eca(0xcf)][_0x1f5eca(0x165)][_0x1f5eca(0xfe)](_0x35c88f))throw new _0x287132(_0x1f5eca(0x180),this);const _0x1adbae=this[_0x1f5eca(0x110)][_0x1f5eca(0x11a)][_0x1f5eca(0x12e)](_0x35d6c7[_0x35c88f]),_0x637b76=this[_0x1f5eca(0xcf)][_0x1f5eca(0x107)](_0x35c88f),_0x14a11b=new _0x47bbca(_0x19f334[_0x1f5eca(0xcc)](_0x637b76,0x0),_0x1adbae,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x14a11b);for(const [_0x53d848,_0x315bc6]of _0x1adbae[_0x1f5eca(0xec)]){const _0x481324=_0x19f334[_0x1f5eca(0xd5)](_0x19f334[_0x1f5eca(0x108)](_0x637b76,_0x315bc6[_0x1f5eca(0x123)][_0x1f5eca(0xfd)][_0x1f5eca(0xfa)]()),_0x19f334[_0x1f5eca(0x108)](_0x637b76,_0x315bc6[_0x1f5eca(0x1cb)][_0x1f5eca(0xfd)][_0x1f5eca(0xfa)]())),_0x2ad104=new _0x5f31cd(_0x53d848,null,_0x481324,_0x19f334[_0x1f5eca(0xec)],!0x0,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x2ad104);}}if(_0x4244bd)for(const [_0x16ab17,_0xd1849c]of Object[_0x1f5eca(0x192)](_0x4244bd)){const _0x440bbd=_0x19f334[_0x1f5eca(0x193)][_0x1f5eca(0x107)](_0x16ab17);if(!_0x440bbd)throw new _0x287132(_0x1f5eca(0xde),null);for(const [_0x506e03,_0x48c2cc]of Object[_0x1f5eca(0x192)](_0xd1849c))if(null!==_0x48c2cc){const _0x231f79=new _0xcabfeb(_0x440bbd,_0x506e03,null,_0x48c2cc,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x231f79);}}return _0x207434;}async[_0x48cf25(0x14f)](_0x1ceb68,_0x1c7bab,_0x543be5){const _0xf5a06a=_0x48cf25;this[_0xf5a06a(0x170)]({[_0x1ceb68]:_0x1c7bab},{[_0x1ceb68]:_0x543be5})[_0xf5a06a(0x1c7)]((_0x290e79,_0x2407bd)=>{const _0x5d2890=_0xf5a06a;_0x290e79[_0x5d2890(0x126)]=this[_0x5d2890(0xcf)][_0x5d2890(0xcb)]+_0x2407bd,_0x290e79[_0x5d2890(0x154)]=!0x0,this[_0x5d2890(0x148)](_0x290e79);}),this[_0xf5a06a(0xf6)](),await this[_0xf5a06a(0x11b)]();}async[_0x48cf25(0x115)](_0x3b6ad1,_0x2697a3){const _0x3f203f=_0x48cf25;let _0x17a0d9;this[_0x3f203f(0x17a)]=_0x3b6ad1[_0x3f203f(0x163)];const _0x5a548a=_0x3b6ad1[_0x3f203f(0x11c)]&&!_0x3b6ad1[_0x3f203f(0x1a1)],_0x40914b=_0x5a548a?0x0:_0x3b6ad1[_0x3f203f(0x11a)][_0x3f203f(0x126)];if(_0x2697a3[_0x3f203f(0x1c7)](_0x1e7067=>{const _0x135682=_0x3f203f;_0x1e7067[_0x135682(0x154)]=!0x0,_0x1e7067[_0x135682(0x151)]=_0x3b6ad1[_0x135682(0x174)],_0x1e7067[_0x135682(0x1ce)]=null;}),_0x5a548a)_0x17a0d9=_0x2697a3,this[_0x3f203f(0xd7)](_0x17a0d9,_0x5a548a);else{if(_0x3b6ad1[_0x3f203f(0x1a1)]){const _0x150e51=this[_0x3f203f(0x170)](_0x3b6ad1[_0x3f203f(0x1a1)]);this[_0x3f203f(0xcf)][_0x3f203f(0xe8)][_0x3f203f(0xcb)]=-_0x150e51[_0x3f203f(0x16f)],_0x150e51[_0x3f203f(0x1c7)](_0x4998e0=>{const _0x14ba84=_0x3f203f;_0x4998e0[_0x14ba84(0x126)]-=_0x150e51[_0x14ba84(0x16f)],_0x4998e0[_0x14ba84(0x151)]=_0x3b6ad1[_0x14ba84(0x174)],_0x4998e0[_0x14ba84(0x154)]=!0x0,_0x4998e0[_0x14ba84(0x1ce)]=null;}),this[_0x3f203f(0xd7)](_0x150e51,!0x0),this[_0x3f203f(0x12f)][_0x3f203f(0xcb)]=-_0x150e51[_0x3f203f(0x16f)]+this[_0x3f203f(0x17a)],this[_0x3f203f(0xd4)](_0x150e51);}this[_0x3f203f(0xcf)][_0x3f203f(0xe8)][_0x3f203f(0xcb)]=_0x40914b,_0x17a0d9=this[_0x3f203f(0x12a)](_0x3b6ad1[_0x3f203f(0x11a)],_0x3b6ad1[_0x3f203f(0x161)]),await this[_0x3f203f(0xf0)](_0x17a0d9),this[_0x3f203f(0xd7)](_0x17a0d9,_0x5a548a);}_0x3b6ad1[_0x3f203f(0x10a)]&&(this[_0x3f203f(0xe4)][_0x3f203f(0x14c)](_0x17a0d9,_0x3b6ad1[_0x3f203f(0x10a)]),this[_0x3f203f(0x130)]=_0x3b6ad1[_0x3f203f(0x10a)]),this[_0x3f203f(0x12f)][_0x3f203f(0xcb)]=_0x40914b+this[_0x3f203f(0x17a)],this[_0x3f203f(0xd4)](_0x17a0d9),_0x2697a3[_0x3f203f(0x1c4)](_0x46a1dd=>{const _0x3a3c65=_0x3f203f,_0x34a399=this[_0x3a3c65(0x11d)](_0x46a1dd);return _0x34a399&&!this[_0x3a3c65(0x124)][_0x3a3c65(0xfe)](_0x34a399);})[_0x3f203f(0x1c7)]((_0x2eea9d,_0x3f26ed)=>{const _0x3e0bbb=_0x3f203f;_0x2eea9d[_0x3e0bbb(0x126)]=this[_0x3e0bbb(0xcf)][_0x3e0bbb(0xcb)]+_0x3f26ed,this[_0x3e0bbb(0x148)](_0x2eea9d);}),this[_0x3f203f(0x175)]()?(this[_0x3f203f(0x169)]=0x0,this[_0x3f203f(0xf6)](!0x0),await this[_0x3f203f(0x11b)]()):(this[_0x3f203f(0x178)]=!0x1,this[_0x3f203f(0x17d)]());}[_0x48cf25(0xda)](_0x258dee,_0x4924f8){const _0x45c052=_0x48cf25,_0x164c1f=_0x4924f8&&_0x4924f8[_0x45c052(0x118)];if(_0x164c1f&&_0x164c1f[_0x45c052(0x1c3)](_0x45c052(0x1c5)))throw _0x4924f8;const _0x5dd9c0=this[_0x45c052(0x110)][_0x45c052(0xd0)][_0x45c052(0xdb)](_0x5615bf);throw this[_0x45c052(0x178)]=!0x0,_0x5dd9c0[_0x45c052(0x1bf)](),this[_0x45c052(0x110)][_0x45c052(0x18d)](_0x45c052(0xff)),new _0x287132(_0x258dee,this[_0x45c052(0x110)],_0x164c1f?{'originalError':_0x164c1f}:void 0x0);}[_0x48cf25(0x148)](_0x930360){const _0x38989f=_0x48cf25;this[_0x38989f(0x106)][_0x38989f(0xfe)](_0x930360)||(this[_0x38989f(0x106)][_0x38989f(0x11e)](_0x930360),this[_0x38989f(0x158)][_0x38989f(0x168)](_0x930360),this[_0x38989f(0xcd)]||_0x38989f(0x16a)==_0x930360[_0x38989f(0x143)]&&!_0x930360[_0x38989f(0x145)]||this[_0x38989f(0x1cc)]());}[_0x48cf25(0xf6)](_0x1eb5f9=!0x1){const _0x3495eb=_0x48cf25;!_0x1eb5f9&&this[_0x3495eb(0x178)]||(this[_0x3495eb(0x178)]=!0x0,clearTimeout(this[_0x3495eb(0x1c8)]),this[_0x3495eb(0x1c8)]=setTimeout(()=>{const _0x3a0145=_0x3495eb;this[_0x3a0145(0x1a8)]()[_0x3a0145(0x1bd)](_0x2f9e51=>{const _0x3e3438=_0x3a0145;_0x2f9e51&&(this[_0x3e3438(0x17d)](),this[_0x3e3438(0x178)]=!0x1);})[_0x3a0145(0x133)](_0x545a0a=>{const _0x473923=_0x3a0145;this[_0x473923(0x17d)](),this[_0x473923(0x178)]=!0x1,function(_0x871ece){const _0x2d4468=_0x473923;return _0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x16b))||_0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x13e))||_0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x198));}(_0x545a0a)||this[_0x473923(0xda)](_0x545a0a[_0x473923(0x118)],_0x545a0a);});},this[_0x3495eb(0x169)]));}[_0x48cf25(0x11b)](){return new Promise(_0xe30d53=>{const _0x1d5933=_0x1b51;this['on'](_0x1d5933(0x134),()=>{_0xe30d53();});});}async[_0x48cf25(0x1a8)](){const _0x325227=_0x48cf25,_0x4e3f68=this[_0x325227(0x110)][_0x325227(0xd0)][_0x325227(0xdb)](_0x4f70a5);if(this[_0x325227(0x13f)]()&&(_0x4e3f68[_0x325227(0x18b)](),this[_0x325227(0x129)]=!0x1),!this[_0x325227(0x175)]())return!0x0;const _0x25c217=[...this[_0x325227(0x158)]];for(const _0x486d2f of _0x25c217)_0x486d2f[_0x325227(0x19d)]=this[_0x325227(0xcf)][_0x325227(0xe8)][_0x325227(0x10d)](_0x486d2f);const _0x1dec62=this[_0x325227(0xe4)][_0x325227(0x1a9)](_0x25c217),_0x3bdf03=G++,_0x2f93aa=this[_0x325227(0x1b9)](_0x25c217),_0x45ddcd=await this[_0x325227(0x1c6)][_0x325227(0x125)](_0x2f93aa,_0x2f93aa[_0x325227(0x126)],_0x1dec62);try{return await this[_0x325227(0x13a)](_0x25c217,_0x45ddcd,_0x3bdf03);}catch(_0x5652e1){return this[_0x325227(0xda)](_0x325227(0x189),_0x5652e1);}}async[_0x48cf25(0x13a)](_0x2a209f,_0xc57dd2,_0x1565e8){const _0x5ee3b9=_0x48cf25;if(_0x5ee3b9(0x139)in _0xc57dd2)throw _0xc57dd2[_0x5ee3b9(0x139)];let _0x15c987=!0x1;if(_0xc57dd2[_0x5ee3b9(0x11c)]){_0xc57dd2[_0x5ee3b9(0x10a)]&&(this[_0x5ee3b9(0x130)]=_0xc57dd2[_0x5ee3b9(0x10a)]),this[_0x5ee3b9(0x158)]=this[_0x5ee3b9(0x158)][_0x5ee3b9(0x1c4)](_0x560ed0=>!_0x2a209f[_0x5ee3b9(0x1a0)](_0x560ed0));for(const _0x3a622d of _0x2a209f)_0x3a622d[_0x5ee3b9(0x151)]=_0x5ee3b9(0x13d)in _0xc57dd2&&_0xc57dd2[_0x5ee3b9(0x13d)]||void 0x0;K(_0x2a209f,_0xc57dd2[_0x5ee3b9(0xcb)]-_0x2a209f[_0x5ee3b9(0x16f)]),this[_0x5ee3b9(0xd4)](_0x2a209f);const _0x566aa9=_0x2a209f[_0x5ee3b9(0x1c4)](_0x176ed6=>{const _0x36dd2b=_0x5ee3b9;if(!_0x176ed6[_0x36dd2b(0x154)])return!0x1;const _0x1c6000=this[_0x36dd2b(0x11d)](_0x176ed6);return _0x1c6000&&!this[_0x36dd2b(0x124)][_0x36dd2b(0xfe)](_0x1c6000);});K(_0x566aa9,this[_0x5ee3b9(0xcf)][_0x5ee3b9(0xcb)]),this[_0x5ee3b9(0xd7)](_0x566aa9),_0x15c987=!0x0,this[_0x5ee3b9(0x169)]=this[_0x5ee3b9(0x14b)];}else{const _0x29dbe3=this[_0x5ee3b9(0x12a)](_0xc57dd2[_0x5ee3b9(0x11a)],_0xc57dd2[_0x5ee3b9(0x161)])[_0x5ee3b9(0x1c4)](_0xc85670=>_0xc85670[_0x5ee3b9(0x126)]>=this[_0x5ee3b9(0xf2)]);_0x29dbe3[_0x5ee3b9(0x1c7)](_0x5195ac=>this[_0x5ee3b9(0x10c)](_0x5195ac)),this[_0x5ee3b9(0x158)]=this[_0x5ee3b9(0x158)][_0x5ee3b9(0x1c4)](_0x44a638=>!_0x44a638[_0x5ee3b9(0x154)]||!this[_0x5ee3b9(0x124)][_0x5ee3b9(0xfe)](this[_0x5ee3b9(0x11d)](_0x44a638))),this[_0x5ee3b9(0x158)][_0x5ee3b9(0x16f)]&&K(this[_0x5ee3b9(0x158)],this[_0x5ee3b9(0x158)][0x0][_0x5ee3b9(0x126)]),await this[_0x5ee3b9(0xf0)](_0x29dbe3),_0x15c987=this[_0x5ee3b9(0x1ba)](_0x29dbe3,_0xc57dd2[_0x5ee3b9(0xcb)],_0xc57dd2[_0x5ee3b9(0x10a)]),this[_0x5ee3b9(0x169)]=Math[_0x5ee3b9(0xfb)](this[_0x5ee3b9(0x169)]/0x2);}return _0x15c987?!this[_0x5ee3b9(0x175)]()||(this[_0x5ee3b9(0xf6)](!0x0),!0x1):this[_0x5ee3b9(0xda)](_0x5ee3b9(0xdf));}[_0x48cf25(0x1ba)](_0x54b651,_0x11f022,_0x4cbfb0){const _0x28f87e=_0x48cf25;try{const _0x4185a3={'document':this[_0x28f87e(0xcf)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x8a5be,operationsB:_0x413e88,originalOperations:_0x3a017a}=_0x2e7ce9(_0x54b651,this[_0x28f87e(0x158)],_0x4185a3);K(_0x8a5be,this[_0x28f87e(0xcf)][_0x28f87e(0xcb)]),K(_0x413e88,_0x11f022);for(const _0x58add2 of _0x8a5be){const _0x44bc21=_0x3a017a[_0x28f87e(0xdb)](_0x58add2);_0x58add2[_0x28f87e(0x1ce)]=_0x44bc21?_0x44bc21[_0x28f87e(0x1ce)]:null;}_0x4cbfb0&&(this[_0x28f87e(0xe4)][_0x28f87e(0x14c)](_0x54b651,_0x4cbfb0),this[_0x28f87e(0x130)]=_0x4cbfb0),this[_0x28f87e(0x158)]=[..._0x413e88],this[_0x28f87e(0xd7)](_0x8a5be),this[_0x28f87e(0xd4)](_0x54b651);}catch(_0x245871){return console[_0x28f87e(0x139)](_0x245871),!0x1;}return!0x0;}[_0x48cf25(0xd7)](_0x110f3d,_0x5a0aca=!0x1){const _0x310f4a=_0x48cf25;this[_0x310f4a(0x110)][_0x310f4a(0xd6)][_0x310f4a(0x173)]({'isUndoable':!0x1,'isLocal':!0x1},_0x357c53=>{const _0x2d6ffe=_0x310f4a;for(const _0x10d191 of _0x110f3d)this[_0x2d6ffe(0x106)][_0x2d6ffe(0x11e)](_0x10d191),this[_0x2d6ffe(0x10c)](_0x10d191),_0x357c53[_0x2d6ffe(0x12d)][_0x2d6ffe(0x1be)](_0x10d191),this[_0x2d6ffe(0x110)][_0x2d6ffe(0xd6)][_0x2d6ffe(0x135)](_0x10d191);});}[_0x48cf25(0x10c)](_0x4d2c2f){const _0x110503=_0x48cf25,_0x510b43=this[_0x110503(0x11d)](_0x4d2c2f);_0x510b43&&this[_0x110503(0x124)][_0x110503(0x11e)](_0x510b43);}[_0x48cf25(0x11d)](_0x324ff3){const _0x234dd2=_0x48cf25;let _0x269866,_0x54a3e2;switch(_0x324ff3[_0x234dd2(0x143)]){case _0x234dd2(0x1b8):_0x269866=_0x324ff3[_0x234dd2(0xf8)][_0x234dd2(0x197)];break;case _0x234dd2(0x16a):if(_0x54a3e2=_0x324ff3[_0x234dd2(0x155)],!_0x54a3e2)return null;_0x269866=_0x54a3e2[_0x234dd2(0x197)];break;case _0x234dd2(0x176):_0x269866=_0x324ff3[_0x234dd2(0x197)];break;case _0x234dd2(0x1ac):_0x269866=_0x324ff3[_0x234dd2(0xe0)];break;case _0x234dd2(0x1cf):_0x269866=_0x324ff3[_0x234dd2(0x1b4)][_0x234dd2(0x197)];break;default:return null;}return _0x269866[_0x234dd2(0x171)];}[_0x48cf25(0xd4)](_0x5730db){const _0xec85c9=_0x48cf25;_0x5730db[_0xec85c9(0x1c7)](_0x35aca7=>{const _0x13f292=_0xec85c9,_0x5d4c50=_0x35aca7[_0x13f292(0x100)]();_0x5d4c50[_0x13f292(0x1ce)]=_0x35aca7[_0x13f292(0x1ce)],_0x5d4c50[_0x13f292(0x154)]=!!_0x35aca7[_0x13f292(0x154)],_0x5d4c50[_0x13f292(0x151)]=_0x35aca7[_0x13f292(0x151)],_0x5d4c50[_0x13f292(0x126)]+=this[_0x13f292(0x17a)],_0x35aca7[_0x13f292(0x102)]&&this[_0x13f292(0xd9)][_0x13f292(0x11e)](_0x5d4c50),this[_0x13f292(0x12f)][_0x13f292(0x1be)](_0x5d4c50);});}[_0x48cf25(0x185)](_0x101174){const _0x463703=_0x48cf25,_0x4e39ea=this[_0x463703(0x110)][_0x463703(0xd0)][_0x463703(0xdb)](_0x463703(0x1bb)),_0x402f20=this[_0x463703(0x110)][_0x463703(0x1a2)];_0x101174||(_0x101174=_0x3894e8(_0x402f20,_0x463703(0x140))),_0x4e39ea[_0x463703(0x1ca)](_0x101174,{'title':_0x3894e8(_0x402f20,_0x463703(0x119)),'namespace':_0x463703(0x12c)}),this[_0x463703(0x13b)]=!0x0,clearTimeout(this[_0x463703(0x1c8)]),this[_0x463703(0x158)]=[],this[_0x463703(0x110)][_0x463703(0xd0)][_0x463703(0xdb)](_0x5615bf)[_0x463703(0x1bf)]();}[_0x48cf25(0x1cc)](){const _0x125e4a=_0x48cf25;this[_0x125e4a(0xcd)]||(this[_0x125e4a(0xcd)]=this[_0x125e4a(0x110)][_0x125e4a(0xd0)][_0x125e4a(0xdb)](_0x2b5d75)[_0x125e4a(0x11e)](_0x3894e8(this[_0x125e4a(0x110)][_0x125e4a(0x1a2)],_0x125e4a(0x141))));}[_0x48cf25(0x17d)](){const _0xc31c9b=_0x48cf25;this[_0xc31c9b(0xcd)]&&(this[_0xc31c9b(0x110)][_0xc31c9b(0xd0)][_0xc31c9b(0xdb)](_0x2b5d75)[_0xc31c9b(0x14e)](this[_0xc31c9b(0xcd)]),this[_0xc31c9b(0xcd)]=null);}[_0x48cf25(0x1b9)](_0x59a297){const _0x2cd318=_0x48cf25,_0x5c311c=_0x59a297[_0x2cd318(0x172)](_0x14bebd=>_0x14bebd[_0x2cd318(0x131)]());return this[_0x2cd318(0x18f)][_0x2cd318(0x19e)](_0x5c311c);}[_0x48cf25(0x12a)](_0x402776,_0x186a92){const _0x5e7c0c=_0x48cf25;return this[_0x5e7c0c(0x18f)][_0x5e7c0c(0x1a7)](_0x402776)[_0x5e7c0c(0x172)]((_0x14fecd,_0x58cd65)=>{const _0x2b67d9=_0x5e7c0c,_0x5be2a9=_0x2b67d9(0x1a5)==_0x186a92[_0x58cd65][_0x2b67d9(0x143)];if(_0x2b67d9(0x1b3)==_0x14fecd[_0x2b67d9(0x19f)]){const _0x1dc95f=_0x14fecd[_0x2b67d9(0xf8)][_0x2b67d9(0x197)];!this[_0x2b67d9(0xcf)][_0x2b67d9(0x107)](_0x1dc95f)&&(this[_0x2b67d9(0xcf)][_0x2b67d9(0x18e)](_0x2b67d9(0x157),_0x1dc95f)[_0x2b67d9(0x156)]=!0x1);}const _0x2aafcc=_0x1d9a29[_0x2b67d9(0x17f)](_0x14fecd,this[_0x2b67d9(0xcf)]);return _0x2aafcc[_0x2b67d9(0x19d)]=_0x14fecd[_0x2b67d9(0x19d)],_0x2aafcc[_0x2b67d9(0x154)]=_0x5be2a9,_0x2aafcc[_0x2b67d9(0x1ce)]=_0x5be2a9?null:_0x186a92[_0x58cd65][_0x2b67d9(0x18a)],_0x2aafcc[_0x2b67d9(0x102)]=_0x2b67d9(0x147)===_0x186a92[_0x58cd65][_0x2b67d9(0x143)],_0x2aafcc[_0x2b67d9(0x151)]=_0x186a92[_0x58cd65][_0x2b67d9(0x151)],_0x2aafcc;});}[_0x48cf25(0xea)](){const _0x4a88ea=_0x48cf25;this[_0x4a88ea(0x129)]=!0x0,this[_0x4a88ea(0x13f)]()?this[_0x4a88ea(0xf6)]():this[_0x4a88ea(0x129)]=!0x1;}[_0x48cf25(0x13f)](){const _0x3d0249=_0x48cf25,_0x12a49a=this[_0x3d0249(0x110)][_0x3d0249(0xd0)][_0x3d0249(0xdb)](_0x166e79)[_0x3d0249(0x15a)][_0x3d0249(0xdb)](this[_0x3d0249(0xe7)]);return!this[_0x3d0249(0x110)][_0x3d0249(0x153)]&&!!_0x12a49a&&_0x12a49a[_0x3d0249(0x16f)]>0x1&&this[_0x3d0249(0x129)];}[_0x48cf25(0x175)](){const _0x22a451=_0x48cf25;return this[_0x22a451(0x158)][_0x22a451(0x16f)]>0x0||this[_0x22a451(0x13f)]();}}function _0x5095(){const _0x2467c0=['2497tazQdy','_ignoredOperations','sessionId','metadata','define','offset','realtimecollaborationclient-init-document-already-initialized','roots','permissions','realtimecollaborationclient-init-session-connection-error','push','_currentBufferDelay','marker','cloud-services-internal-error:\x20Not\x20connected.','_bufferRootLoad','22719QphCtg','isOfficialPlugin','length','_getOperationsFromInitData','rootName','map','enqueueChange','sessionCreatedAt','_shouldSendUpdate','addRootAttribute','operationsReceived','_isPendingUpdate','1660eACTIl','_offset','getOperationAuthor','connected','_clearPendingAction','mySessionId','fromJSON','realtimecollaborationclient-init-non-existent-root','pluginName','selection','loadRoot','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleReconnectionError','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','sessionAdd:','realtimecollaborationclient-sendbufferedoperations','userId','createUserMarkerOperations','off','enableReadOnlyMode','createRoot','_compressor','config','connection','entries','document','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','from','view','root','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','_isLoaded','finally','keys','wasUndone','compress','__className','includes','initData','locale','51457gRKqXC','cloudServices.bundleVersion','init','RealTimeCollaborationClient','decompress','_sendBufferedOperations','getIdOfTheLastOperation','Permissions','lastSyncVersion','addRoot','change:_isEditingAllowed','_initSessionsHandling','stopListening','isDocumentOperation','1668OTBsyS','change:range','InsertOperation','targetPosition','getOperations','document:write','requires','insert','_compressOperations','_handleExternalOperations','Notification','realtimecollaborationclient-init-service-internal-error','then','addOperation','disconnect','change:hasDomSelection','rtc-destroyed','1328ANLqVU','startsWith','filter','realtimecollaborationclient','_service','forEach','_sendBufferedOperationsDelayId','reset','showWarning','end','_setPendingAction','getConnectedSessions','_authorId','move','isPremiumPlugin','stop','version','createPositionAt','_pendingAction','return','_document','plugins','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','214OEnZoK','attributes','_updateServerHistory','createRange','model','_applyOperationsSet','code','_disconnectionOperations','_crash','get','CommentsOnly','_handleReconnectionResponse','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-handleserverresponse','affectedSelectable','differ','_disconnectService','currentDocumentSession','_operationIdentifier','CollaborativeEditingService','getUser','_channelId','history','getMany','_refreshUserSelectionMarkers','_isConnected','markers','ready','isEnabled','_connectAfterSessionHasBeenFlushed','_fetchMissingUsers','addToReconnectionStack','_lastServerVersion','10217313QrmOKP','reconnection:\x20flushed\x20session','destroy','_sendBufferedOperationsDelayed','2361648vXfiJO','position','_initThrowingOnDataSet','slice','round','editing','path','has','realtimecollaborationclient-error','clone','reconnect','_isDisconnection','bind','realtimecollaborationclient-init-service-incorrect-server-operation','_handleReceivedOperations','_knownOperations','getRoot','createPositionFromPath','register','lastOperationId','fire','_addKnownRoot','isUndoneOperation','connect','getDocumentDetails','editor','81340eVFUsz','realtimecollaborationclient-init-connection-failed','size','high','_handleInitialConnectionData','collaboration.channelId','rootsAttributes','message','Synchronization\x20issue','data','_waitUntilSynced','wereChangesApplied','_getAffectedRoot','add','18724lgjZui','disableReadOnlyMode','404','disconnected','start','_knownRootNames','sendOperations','baseVersion','_operationToId','addUser','_hasSelectionChanged','_decompressOperations','listenTo','real-time-collaboration','batch','parse','serverHistory','_lastSyncedOperationId','toJSON','_handleSendingSelectionMarkers','catch','change:_isPendingUpdate','applyOperation','collaboration','directChange','removeFromReconnectionStack','error','_handleServerResponse','_hasSynchronizationProblem','unregister','lastOperationAcceptedAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendSelectionUpdate','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','PENDING_ACTION_SENDING_DATA','rtc-offline','type','string','affectsData','suppressErrorInCollaboration','cs:removeUser','_saveOperationInBuffer','_connectService','_setUpDataInit','_baseBufferDelay','setIdForTheLastOperation','collaboration-missing-channelid','remove','_loadRoot','apply','createdAt','set','isReadOnly','_isInit','newRange','_isAttached','$root','_bufferedOperations','409','channelSessions','_isEditingAllowed','state','lastDocumentSession'];_0x5095=function(){return _0x2467c0;};return _0x5095();}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x438d19,_0x4369bb){const _0x2be03b=_0x48cf25;for(const _0x6a9e2a of _0x438d19)_0x6a9e2a[_0x2be03b(0x126)]=_0x4369bb++;}class J{[_0x48cf25(0x15f)];[_0x48cf25(0x127)];constructor(_0x3c6a16){const _0x1404e9=_0x48cf25;this[_0x1404e9(0x15f)]=_0x3c6a16,this[_0x1404e9(0x127)]=new WeakMap();}[_0x48cf25(0x1a9)](_0x1fb3a9){const _0x20e356=_0x48cf25;let _0x2722ae=_0x1fb3a9[_0x20e356(0x16f)];for(;_0x2722ae--;){const _0x5c1623=_0x1fb3a9[_0x2722ae];if(!this[_0x20e356(0x15f)][_0x20e356(0xfe)](_0x5c1623)){if(!this[_0x20e356(0x127)][_0x20e356(0xfe)](_0x5c1623)){const _0x3da428=_0x3c0256()[_0x20e356(0xfa)](0x1,0x12);this[_0x20e356(0x127)][_0x20e356(0x152)](_0x5c1623,_0x3da428);}return this[_0x20e356(0x127)][_0x20e356(0xdb)](_0x5c1623);}}}[_0x48cf25(0x14c)](_0x4b6472,_0x30016b){const _0x1beae4=_0x48cf25;if(!_0x30016b)return;let _0x1db0a5=_0x4b6472[_0x1beae4(0x16f)];for(;_0x1db0a5--;){const _0x1bb0d6=_0x4b6472[_0x1db0a5];this[_0x1beae4(0x15f)][_0x1beae4(0xfe)](_0x1bb0d6)||this[_0x1beae4(0x127)][_0x1beae4(0x152)](_0x1bb0d6,_0x30016b);}}}
@@ -8,10 +8,10 @@
8
8
  */
9
9
  import { ContextPlugin, type Editor, type Context } from 'ckeditor5/src/core.js';
10
10
  import { Collection } from 'ckeditor5/src/utils.js';
11
- import WebSocketGateway from './websocketgateway.js';
11
+ import { WebSocketGateway } from './websocketgateway.js';
12
12
  import { Users, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
13
13
  import type { User as ServerUserModel, SessionCollection, ISocket } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
14
- export type ServerUser = ServerUserModel & User;
14
+ export type RtcServerUser = ServerUserModel & User;
15
15
  /**
16
16
  *
17
17
  * The `Sessions` plugin stores the information about the users and sessions connected to the rich text editor.
@@ -33,7 +33,7 @@ export type ServerUser = ServerUserModel & User;
33
33
  * two sessions but only one user will be connected. You will be able to see two selections in the same document, both in
34
34
  * the same color, but only a single user in the {@link module:real-time-collaboration/presencelist~PresenceList user presence list}.
35
35
  */
36
- export default class Sessions extends ContextPlugin {
36
+ export declare class Sessions extends ContextPlugin {
37
37
  /**
38
38
  * A map of session collections connected to the separate channels.
39
39
  *
@@ -95,7 +95,7 @@ export default class Sessions extends ContextPlugin {
95
95
  /**
96
96
  * Returns a reference to the user connected with a session with the given ID.
97
97
  */
98
- getUserBySessionId(sessionId: string): ServerUser | undefined;
98
+ getUserBySessionId(sessionId: string): RtcServerUser | undefined;
99
99
  /**
100
100
  * Returns a set of ids of all currently connected sessions for the given user.
101
101
  *
@@ -104,18 +104,18 @@ export default class Sessions extends ContextPlugin {
104
104
  *
105
105
  * Optionally the result can be limited to the given channelId.
106
106
  */
107
- getUserSessions(user: ServerUser, channelId?: string): Set<string>;
107
+ getUserSessions(user: RtcServerUser, channelId?: string): Set<string>;
108
108
  /**
109
109
  * Returns the role of a given user.
110
110
  */
111
- getUserRole(user: ServerUser): string | undefined;
111
+ getUserRole(user: RtcServerUser): string | undefined;
112
112
  }
113
113
  /**
114
114
  * Fired when the new user session is added.
115
115
  *
116
116
  * @eventName ~Sessions#sessionAdd:channelId
117
117
  */
118
- export type SessionAddEvent = {
118
+ export type RtcSessionAddEvent = {
119
119
  name: 'sessionAdd' | `sessionAdd:${string}`;
120
120
  args: [
121
121
  {
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a0e7f=_0x242c;(function(_0xbc5176,_0x5911db){const _0x46f2df=_0x242c,_0x5f4fb6=_0xbc5176();while(!![]){try{const _0x381ae7=parseInt(_0x46f2df(0x121))/0x1+-parseInt(_0x46f2df(0x10f))/0x2+-parseInt(_0x46f2df(0x105))/0x3*(parseInt(_0x46f2df(0x10d))/0x4)+parseInt(_0x46f2df(0x11b))/0x5*(parseInt(_0x46f2df(0x119))/0x6)+parseInt(_0x46f2df(0x133))/0x7+parseInt(_0x46f2df(0x127))/0x8*(-parseInt(_0x46f2df(0x10c))/0x9)+parseInt(_0x46f2df(0x120))/0xa*(parseInt(_0x46f2df(0x116))/0xb);if(_0x381ae7===_0x5911db)break;else _0x5f4fb6['push'](_0x5f4fb6['shift']());}catch(_0x5eaa98){_0x5f4fb6['push'](_0x5f4fb6['shift']());}}}(_0x519f,0x73d96));function _0x519f(){const _0x2ed8e7=['unregister','2615074FzbCNq','sessions-register-already-registered','change:state','add','fire','_users','set','connection','sessions-unregister-not-exist','orderNumber','sessionId','getUser','sessionAdd:','allConnectedUsers','get','role','pluginName','25521RBFOGC','_registeredSessions','init','channelSessions','size','connected','defineMe','20781FCkcZe','276vssBgP','plugins','1191118KIcGPW','has','delete','context','listenTo','getUserRole','remove','1830862siIuOc','register','user','6RwTIRZ','mySessionId','429320bBnAzC','isPremiumPlugin','values','assign','requires','100aHcffD','209731piuCSW','addUser','_handleSessionAdd','isMe','forEach','state','2344ocHKua','stopListening','channelConnectedUsers','_uniqueUsersCount','getUserBySessionId','Sessions','_handleSessionRemove','getUserSessions','isOfficialPlugin','clear','_createUser'];_0x519f=function(){return _0x2ed8e7;};return _0x519f();}import{ContextPlugin as _0x35391e}from'ckeditor5/src/core.js';function _0x242c(_0x58d0ea,_0x5210f2){const _0x519fe5=_0x519f();return _0x242c=function(_0x242c93,_0x1308e1){_0x242c93=_0x242c93-0xf5;let _0x395366=_0x519fe5[_0x242c93];return _0x395366;},_0x242c(_0x58d0ea,_0x5210f2);}import{Collection as _0x53946e,CKEditorError as _0xaa8d07}from'ckeditor5/src/utils.js';import _0xd2649a from'./websocketgateway.js';import{Users as _0x37c1df}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x35391e{[_0x4a0e7f(0x108)];[_0x4a0e7f(0x129)];[_0x4a0e7f(0x101)];[_0x4a0e7f(0x106)];[_0x4a0e7f(0x12a)];[_0x4a0e7f(0xf9)];static get[_0x4a0e7f(0x104)](){const _0x3b1171=_0x4a0e7f;return _0x3b1171(0x12c);}static get[_0x4a0e7f(0x12f)](){return!0x0;}static get[_0x4a0e7f(0x11c)](){return!0x0;}static get[_0x4a0e7f(0x11f)](){return[_0xd2649a,_0x37c1df];}constructor(_0x163827){const _0x3bcef3=_0x4a0e7f;super(_0x163827),this[_0x3bcef3(0x108)]=new Map(),this[_0x3bcef3(0x129)]=new Map(),this[_0x3bcef3(0x101)]=new _0x53946e(),this[_0x3bcef3(0x106)]=new Map(),this[_0x3bcef3(0x12a)]=0x0,this[_0x3bcef3(0xf9)]=this[_0x3bcef3(0x112)][_0x3bcef3(0x10e)][_0x3bcef3(0x102)](_0x37c1df);}[_0x4a0e7f(0x107)](){const _0x27fe13=_0x4a0e7f,_0x4cb1c4=this[_0x27fe13(0x112)][_0x27fe13(0x10e)][_0x27fe13(0x102)](_0xd2649a);this[_0x27fe13(0x113)](_0x4cb1c4,_0x27fe13(0xf6),(_0x7aa621,_0x7f4a99,_0x52c98f)=>{const _0x22b37d=_0x27fe13;if(_0x22b37d(0x10a)!==_0x52c98f)this[_0x22b37d(0x108)][_0x22b37d(0x125)](_0x51f311=>_0x51f311[_0x22b37d(0x130)]()),this[_0x22b37d(0x129)][_0x22b37d(0x125)](_0x15d79d=>_0x15d79d[_0x22b37d(0x130)]()),this[_0x22b37d(0x101)][_0x22b37d(0x130)]();else{for(const [_0x5b2189,_0x539bac]of this[_0x22b37d(0x106)])for(const _0x205e54 of _0x539bac)this[_0x22b37d(0x123)](_0x5b2189,_0x205e54);}}),this[_0x27fe13(0x131)](_0x4cb1c4[_0x27fe13(0xfb)]['me'],!0x0);}[_0x4a0e7f(0x117)](_0x4f3804,_0x5e20e4){const _0x53c9e8=_0x4a0e7f;if(this[_0x53c9e8(0x106)][_0x53c9e8(0x110)](_0x4f3804))throw new _0xaa8d07(_0x53c9e8(0xf5),null,{'channelId':_0x4f3804});this[_0x53c9e8(0x106)][_0x53c9e8(0xfa)](_0x4f3804,_0x5e20e4),this[_0x53c9e8(0x108)][_0x53c9e8(0xfa)](_0x4f3804,new _0x53946e()),this[_0x53c9e8(0x129)][_0x53c9e8(0xfa)](_0x4f3804,new _0x53946e()),this[_0x53c9e8(0x113)](_0x5e20e4,_0x53c9e8(0xf7),(_0x2afe15,_0x55c0c7)=>this[_0x53c9e8(0x123)](_0x4f3804,_0x55c0c7)),this[_0x53c9e8(0x113)](_0x5e20e4,_0x53c9e8(0x115),(_0x298683,_0x41f8c1)=>this[_0x53c9e8(0x12d)](_0x4f3804,_0x41f8c1));for(const _0x3156ff of _0x5e20e4)this[_0x53c9e8(0x123)](_0x4f3804,_0x3156ff);}[_0x4a0e7f(0x132)](_0x2b454a){const _0x2e646b=_0x4a0e7f;if(!this[_0x2e646b(0x106)][_0x2e646b(0x110)](_0x2b454a))throw new _0xaa8d07(_0x2e646b(0xfc),null,{'channelId':_0x2b454a});const _0x5c6889=this[_0x2e646b(0x106)][_0x2e646b(0x102)](_0x2b454a);this[_0x2e646b(0x128)](_0x5c6889);for(const _0x2ae39c of _0x5c6889)_0x2e646b(0x10a)===this[_0x2e646b(0x112)][_0x2e646b(0x10e)][_0x2e646b(0x102)](_0xd2649a)[_0x2e646b(0x126)]&&this[_0x2e646b(0x12d)](_0x2b454a,_0x2ae39c);this[_0x2e646b(0x106)][_0x2e646b(0x111)](_0x2b454a),this[_0x2e646b(0x108)][_0x2e646b(0x111)](_0x2b454a),this[_0x2e646b(0x129)][_0x2e646b(0x111)](_0x2b454a);}get[_0x4a0e7f(0x11a)](){const _0x58f7a2=_0x4a0e7f;return this[_0x58f7a2(0x112)][_0x58f7a2(0x10e)][_0x58f7a2(0x102)](_0xd2649a)[_0x58f7a2(0xfb)][_0x58f7a2(0xfe)];}[_0x4a0e7f(0x12b)](_0x575e24){const _0x1ba137=_0x4a0e7f;for(const _0x52bb00 of this[_0x1ba137(0x108)][_0x1ba137(0x11d)]())for(const _0x240afb of _0x52bb00)if(_0x240afb['id']===_0x575e24)return _0x240afb[_0x1ba137(0x118)];}[_0x4a0e7f(0x12e)](_0x13da33,_0x58fce6){const _0x250966=_0x4a0e7f,_0x1403f7=_0x58fce6?[this[_0x250966(0x108)][_0x250966(0x102)](_0x58fce6)]:this[_0x250966(0x108)][_0x250966(0x11d)](),_0x5affcb=new Set();for(const _0x30d662 of _0x1403f7)for(const _0x225be5 of _0x30d662)_0x225be5[_0x250966(0x118)]['id']===_0x13da33['id']&&_0x5affcb[_0x250966(0xf7)](_0x225be5['id']);return _0x5affcb;}[_0x4a0e7f(0x114)](_0x348317){const _0x59043e=_0x4a0e7f;for(const _0x1ede70 of this[_0x59043e(0x108)][_0x59043e(0x11d)]())for(const _0x384b80 of _0x1ede70)if(_0x384b80[_0x59043e(0x118)]===_0x348317)return _0x384b80[_0x59043e(0x103)];}[_0x4a0e7f(0x123)](_0x3b3389,_0x1eec0f){const _0x5d2fc1=_0x4a0e7f;if(_0x5d2fc1(0x10a)!==this[_0x5d2fc1(0x112)][_0x5d2fc1(0x10e)][_0x5d2fc1(0x102)](_0xd2649a)[_0x5d2fc1(0x126)])return;const _0x11a2d8=_0x1eec0f[_0x5d2fc1(0x118)],_0x5d265d=this[_0x5d2fc1(0xf9)][_0x5d2fc1(0xff)](_0x11a2d8['id'])||this[_0x5d2fc1(0x131)](_0x11a2d8),_0x2c4364=Object[_0x5d2fc1(0x11e)]({},_0x1eec0f,{'user':_0x5d265d});this[_0x5d2fc1(0x108)][_0x5d2fc1(0x102)](_0x3b3389)[_0x5d2fc1(0xf7)](_0x2c4364);const _0x2ae0d4=this[_0x5d2fc1(0x129)][_0x5d2fc1(0x102)](_0x3b3389);_0x2ae0d4[_0x5d2fc1(0x110)](_0x5d265d['id'])||_0x2ae0d4[_0x5d2fc1(0xf7)](_0x5d265d),this[_0x5d2fc1(0x101)][_0x5d2fc1(0x110)](_0x5d265d['id'])||this[_0x5d2fc1(0x101)][_0x5d2fc1(0xf7)](_0x5d265d,_0x5d265d[_0x5d2fc1(0x124)]?0x0:void 0x0),this[_0x5d2fc1(0xf8)](_0x5d2fc1(0x100)+_0x3b3389,{'channelId':_0x3b3389,'session':_0x2c4364});}[_0x4a0e7f(0x12d)](_0x25fc2c,_0x564683){const _0x5b1ce6=_0x4a0e7f;if(_0x5b1ce6(0x10a)!==this[_0x5b1ce6(0x112)][_0x5b1ce6(0x10e)][_0x5b1ce6(0x102)](_0xd2649a)[_0x5b1ce6(0x126)])return;const _0x33c593=this[_0x5b1ce6(0x129)][_0x5b1ce6(0x102)](_0x25fc2c),_0x33977b=_0x564683[_0x5b1ce6(0x118)];_0x33977b['id']&&(this[_0x5b1ce6(0x108)][_0x5b1ce6(0x102)](_0x25fc2c)[_0x5b1ce6(0x115)](_0x564683['id']),_0x33c593[_0x5b1ce6(0x110)](_0x33977b['id'])&&!this[_0x5b1ce6(0x12e)](_0x33977b,_0x25fc2c)[_0x5b1ce6(0x109)]&&_0x33c593[_0x5b1ce6(0x115)](_0x33977b['id']),this[_0x5b1ce6(0x101)][_0x5b1ce6(0x102)](_0x33977b['id'])&&!this[_0x5b1ce6(0x12e)](_0x33977b)[_0x5b1ce6(0x109)]&&this[_0x5b1ce6(0x101)][_0x5b1ce6(0x115)](_0x33977b['id']));}[_0x4a0e7f(0x131)](_0x5113f6,_0x13c6f9){const _0x2b1334=_0x4a0e7f,_0x30ffc7=this[_0x2b1334(0xf9)][_0x2b1334(0x122)](_0x5113f6);return _0x13c6f9&&this[_0x2b1334(0xf9)][_0x2b1334(0x10b)](_0x5113f6['id']),_0x30ffc7[_0x2b1334(0xfd)]=this[_0x2b1334(0x12a)]++,_0x30ffc7;}}
23
+ const _0x4a1f4e=_0x4d19;(function(_0x1ceb89,_0xba3f2a){const _0x206798=_0x4d19,_0x2e7473=_0x1ceb89();while(!![]){try{const _0x5ac10d=-parseInt(_0x206798(0xd5))/0x1+parseInt(_0x206798(0xcf))/0x2+parseInt(_0x206798(0xde))/0x3*(-parseInt(_0x206798(0xb4))/0x4)+parseInt(_0x206798(0xdd))/0x5*(-parseInt(_0x206798(0xe2))/0x6)+parseInt(_0x206798(0xb8))/0x7*(parseInt(_0x206798(0xea))/0x8)+-parseInt(_0x206798(0xbe))/0x9+parseInt(_0x206798(0xe5))/0xa;if(_0x5ac10d===_0xba3f2a)break;else _0x2e7473['push'](_0x2e7473['shift']());}catch(_0x3daa0c){_0x2e7473['push'](_0x2e7473['shift']());}}}(_0x1cd1,0x51706));import{ContextPlugin as _0x35f650}from'ckeditor5/src/core.js';function _0x1cd1(){const _0x2e0505=['requires','5655888ZxzXya','set','_handleSessionAdd','register','_handleSessionRemove','state','clear','Sessions','role','context','defineMe','getUser','assign','pluginName','fire','forEach','channelConnectedUsers','566998xqnyuT','isOfficialPlugin','add','listenTo','_createUser','plugins','528019LURLIy','allConnectedUsers','sessions-unregister-not-exist','sessions-register-already-registered','stopListening','channelSessions','orderNumber','change:state','1209055IaARLT','2241wZhnBb','getUserBySessionId','remove','connection','6CSwYRd','delete','getUserSessions','11405610IqNvSI','get','sessionAdd:','mySessionId','connected','3962184wjiQOG','isMe','getUserRole','sessionId','user','values','_users','has','1004TizTCn','_uniqueUsersCount','unregister','_registeredSessions','7JqMxys','addUser','isPremiumPlugin','init','size'];_0x1cd1=function(){return _0x2e0505;};return _0x1cd1();}import{Collection as _0x2ff111,CKEditorError as _0x38965a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5998bd}from'./websocketgateway.js';import{Users as _0x4d6cd7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4d19(_0x214c1b,_0x4b3886){const _0x1cd10e=_0x1cd1();return _0x4d19=function(_0x4d19af,_0x236c3d){_0x4d19af=_0x4d19af-0xb1;let _0x1b7982=_0x1cd10e[_0x4d19af];return _0x1b7982;},_0x4d19(_0x214c1b,_0x4b3886);}export class Sessions extends _0x35f650{[_0x4a1f4e(0xda)];[_0x4a1f4e(0xce)];[_0x4a1f4e(0xd6)];[_0x4a1f4e(0xb7)];[_0x4a1f4e(0xb5)];[_0x4a1f4e(0xb2)];static get[_0x4a1f4e(0xcb)](){const _0x2c08c8=_0x4a1f4e;return _0x2c08c8(0xc5);}static get[_0x4a1f4e(0xd0)](){return!0x0;}static get[_0x4a1f4e(0xba)](){return!0x0;}static get[_0x4a1f4e(0xbd)](){return[_0x5998bd,_0x4d6cd7];}constructor(_0x90d0e9){const _0x19c47f=_0x4a1f4e;super(_0x90d0e9),this[_0x19c47f(0xda)]=new Map(),this[_0x19c47f(0xce)]=new Map(),this[_0x19c47f(0xd6)]=new _0x2ff111(),this[_0x19c47f(0xb7)]=new Map(),this[_0x19c47f(0xb5)]=0x0,this[_0x19c47f(0xb2)]=this[_0x19c47f(0xc7)][_0x19c47f(0xd4)][_0x19c47f(0xe6)](_0x4d6cd7);}[_0x4a1f4e(0xbb)](){const _0x202701=_0x4a1f4e,_0x58fa67=this[_0x202701(0xc7)][_0x202701(0xd4)][_0x202701(0xe6)](_0x5998bd);this[_0x202701(0xd2)](_0x58fa67,_0x202701(0xdc),(_0x36070f,_0x4c145d,_0x3ff66f)=>{const _0x21165d=_0x202701;if(_0x21165d(0xe9)!==_0x3ff66f)this[_0x21165d(0xda)][_0x21165d(0xcd)](_0x36392b=>_0x36392b[_0x21165d(0xc4)]()),this[_0x21165d(0xce)][_0x21165d(0xcd)](_0x31545d=>_0x31545d[_0x21165d(0xc4)]()),this[_0x21165d(0xd6)][_0x21165d(0xc4)]();else{for(const [_0x5eb14e,_0x41568d]of this[_0x21165d(0xb7)])for(const _0x4e6ba6 of _0x41568d)this[_0x21165d(0xc0)](_0x5eb14e,_0x4e6ba6);}}),this[_0x202701(0xd3)](_0x58fa67[_0x202701(0xe1)]['me'],!0x0);}[_0x4a1f4e(0xc1)](_0x3d11f6,_0x2f78de){const _0x5c0e7b=_0x4a1f4e;if(this[_0x5c0e7b(0xb7)][_0x5c0e7b(0xb3)](_0x3d11f6))throw new _0x38965a(_0x5c0e7b(0xd8),null,{'channelId':_0x3d11f6});this[_0x5c0e7b(0xb7)][_0x5c0e7b(0xbf)](_0x3d11f6,_0x2f78de),this[_0x5c0e7b(0xda)][_0x5c0e7b(0xbf)](_0x3d11f6,new _0x2ff111()),this[_0x5c0e7b(0xce)][_0x5c0e7b(0xbf)](_0x3d11f6,new _0x2ff111()),this[_0x5c0e7b(0xd2)](_0x2f78de,_0x5c0e7b(0xd1),(_0x285d95,_0x2f4f1f)=>this[_0x5c0e7b(0xc0)](_0x3d11f6,_0x2f4f1f)),this[_0x5c0e7b(0xd2)](_0x2f78de,_0x5c0e7b(0xe0),(_0x2be0a8,_0x47c295)=>this[_0x5c0e7b(0xc2)](_0x3d11f6,_0x47c295));for(const _0x1eeb17 of _0x2f78de)this[_0x5c0e7b(0xc0)](_0x3d11f6,_0x1eeb17);}[_0x4a1f4e(0xb6)](_0x41159c){const _0x4f6410=_0x4a1f4e;if(!this[_0x4f6410(0xb7)][_0x4f6410(0xb3)](_0x41159c))throw new _0x38965a(_0x4f6410(0xd7),null,{'channelId':_0x41159c});const _0x5b2369=this[_0x4f6410(0xb7)][_0x4f6410(0xe6)](_0x41159c);this[_0x4f6410(0xd9)](_0x5b2369);for(const _0x599c64 of _0x5b2369)_0x4f6410(0xe9)===this[_0x4f6410(0xc7)][_0x4f6410(0xd4)][_0x4f6410(0xe6)](_0x5998bd)[_0x4f6410(0xc3)]&&this[_0x4f6410(0xc2)](_0x41159c,_0x599c64);this[_0x4f6410(0xb7)][_0x4f6410(0xe3)](_0x41159c),this[_0x4f6410(0xda)][_0x4f6410(0xe3)](_0x41159c),this[_0x4f6410(0xce)][_0x4f6410(0xe3)](_0x41159c);}get[_0x4a1f4e(0xe8)](){const _0x219fd4=_0x4a1f4e;return this[_0x219fd4(0xc7)][_0x219fd4(0xd4)][_0x219fd4(0xe6)](_0x5998bd)[_0x219fd4(0xe1)][_0x219fd4(0xed)];}[_0x4a1f4e(0xdf)](_0x472d89){const _0xd04cc6=_0x4a1f4e;for(const _0x414d73 of this[_0xd04cc6(0xda)][_0xd04cc6(0xb1)]())for(const _0x158953 of _0x414d73)if(_0x158953['id']===_0x472d89)return _0x158953[_0xd04cc6(0xee)];}[_0x4a1f4e(0xe4)](_0x18b921,_0x4c2256){const _0x29f026=_0x4a1f4e,_0x3bf7d0=_0x4c2256?[this[_0x29f026(0xda)][_0x29f026(0xe6)](_0x4c2256)]:this[_0x29f026(0xda)][_0x29f026(0xb1)](),_0x587551=new Set();for(const _0x53293f of _0x3bf7d0)for(const _0xab4727 of _0x53293f)_0xab4727[_0x29f026(0xee)]['id']===_0x18b921['id']&&_0x587551[_0x29f026(0xd1)](_0xab4727['id']);return _0x587551;}[_0x4a1f4e(0xec)](_0x2c87fc){const _0x2b64f3=_0x4a1f4e;for(const _0x5b33b0 of this[_0x2b64f3(0xda)][_0x2b64f3(0xb1)]())for(const _0x1d9f4f of _0x5b33b0)if(_0x1d9f4f[_0x2b64f3(0xee)]===_0x2c87fc)return _0x1d9f4f[_0x2b64f3(0xc6)];}[_0x4a1f4e(0xc0)](_0x56c879,_0x473326){const _0x401491=_0x4a1f4e;if(_0x401491(0xe9)!==this[_0x401491(0xc7)][_0x401491(0xd4)][_0x401491(0xe6)](_0x5998bd)[_0x401491(0xc3)])return;const _0x4eeaac=_0x473326[_0x401491(0xee)],_0x55db3a=this[_0x401491(0xb2)][_0x401491(0xc9)](_0x4eeaac['id'])||this[_0x401491(0xd3)](_0x4eeaac),_0x37eb29=Object[_0x401491(0xca)]({},_0x473326,{'user':_0x55db3a});this[_0x401491(0xda)][_0x401491(0xe6)](_0x56c879)[_0x401491(0xd1)](_0x37eb29);const _0x185262=this[_0x401491(0xce)][_0x401491(0xe6)](_0x56c879);_0x185262[_0x401491(0xb3)](_0x55db3a['id'])||_0x185262[_0x401491(0xd1)](_0x55db3a),this[_0x401491(0xd6)][_0x401491(0xb3)](_0x55db3a['id'])||this[_0x401491(0xd6)][_0x401491(0xd1)](_0x55db3a,_0x55db3a[_0x401491(0xeb)]?0x0:void 0x0),this[_0x401491(0xcc)](_0x401491(0xe7)+_0x56c879,{'channelId':_0x56c879,'session':_0x37eb29});}[_0x4a1f4e(0xc2)](_0xa4ac64,_0xd423d4){const _0x22d3af=_0x4a1f4e;if(_0x22d3af(0xe9)!==this[_0x22d3af(0xc7)][_0x22d3af(0xd4)][_0x22d3af(0xe6)](_0x5998bd)[_0x22d3af(0xc3)])return;const _0x36b112=this[_0x22d3af(0xce)][_0x22d3af(0xe6)](_0xa4ac64),_0x5373e9=_0xd423d4[_0x22d3af(0xee)];_0x5373e9['id']&&(this[_0x22d3af(0xda)][_0x22d3af(0xe6)](_0xa4ac64)[_0x22d3af(0xe0)](_0xd423d4['id']),_0x36b112[_0x22d3af(0xb3)](_0x5373e9['id'])&&!this[_0x22d3af(0xe4)](_0x5373e9,_0xa4ac64)[_0x22d3af(0xbc)]&&_0x36b112[_0x22d3af(0xe0)](_0x5373e9['id']),this[_0x22d3af(0xd6)][_0x22d3af(0xe6)](_0x5373e9['id'])&&!this[_0x22d3af(0xe4)](_0x5373e9)[_0x22d3af(0xbc)]&&this[_0x22d3af(0xd6)][_0x22d3af(0xe0)](_0x5373e9['id']));}[_0x4a1f4e(0xd3)](_0x73474,_0xc7754f){const _0x5d45bd=_0x4a1f4e,_0x360ff4=this[_0x5d45bd(0xb2)][_0x5d45bd(0xb9)](_0x73474);return _0xc7754f&&this[_0x5d45bd(0xb2)][_0x5d45bd(0xc8)](_0x73474['id']),_0x360ff4[_0x5d45bd(0xdb)]=this[_0x5d45bd(0xb5)]++,_0x360ff4;}}
@@ -3,7 +3,7 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { Plugin } from 'ckeditor5/src/core.js';
6
- import Sessions from './sessions.js';
6
+ import { Sessions } from './sessions.js';
7
7
  import '../../theme/usermarkers.css';
8
8
  /**
9
9
  * This plugin:
@@ -15,7 +15,7 @@ import '../../theme/usermarkers.css';
15
15
  * {@link RealTimeCollaborationClient} uses this API to create user selection operations in the most optimal moment
16
16
  * (as the last operation in the operations package) - this is to reach the best compression result.
17
17
  */
18
- export default class UserMarkers extends Plugin {
18
+ export declare class UserMarkers extends Plugin {
19
19
  /**
20
20
  * @inheritDoc
21
21
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29d751=_0x15db;(function(_0x3bed4c,_0x19f0f7){const _0x355535=_0x15db,_0x69d2f8=_0x3bed4c();while(!![]){try{const _0x1a502c=-parseInt(_0x355535(0x1e4))/0x1*(-parseInt(_0x355535(0x1b6))/0x2)+parseInt(_0x355535(0x184))/0x3+-parseInt(_0x355535(0x1b3))/0x4*(parseInt(_0x355535(0x19f))/0x5)+-parseInt(_0x355535(0x1c5))/0x6+parseInt(_0x355535(0x1cc))/0x7+parseInt(_0x355535(0x1af))/0x8+-parseInt(_0x355535(0x171))/0x9;if(_0x1a502c===_0x19f0f7)break;else _0x69d2f8['push'](_0x69d2f8['shift']());}catch(_0x25515f){_0x69d2f8['push'](_0x69d2f8['shift']());}}}(_0x5262,0xc392a));import{Plugin as _0x31a126}from'ckeditor5/src/core.js';import{global as _0xa2ec90,DomEmitterMixin as _0x262e88}from'ckeditor5/src/utils.js';import _0x1d98dc from'./sessions.js';import{LiveRange as _0x4e2c0}from'ckeditor5/src/engine.js';function _0x5262(){const _0xdc8574=['root','parent','delete','model','7291989CJArdL','addMarker','requires','getSelectionClass','createUserMarkerOperations','detach','mouseleave','afterInit','markerNameToElements','end','markerName','orderNumber','data-session-id','user:position:','init','createElement','isSimilar','for','span','4733448RlYkGb','removeMarker','createUIElement','tableCell','updateMarker','_createdBatches','selection','remove','createRange','ck-user__marker_hovered','spellcheck','innerHTML','isOfficialPlugin','_domEmitter','highest','has','document','checkChild','Escape','change:range','schema','marker','color','rootName','reconvertMarker','getMarkerClass','user:range','5185AiviNY','editing','getNearestSelectionRange','user:position','$graveyard','$text','add','getUserBySessionId','isInline','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','hasDomSelection','applyOperation','split','set','undo','hasContent','3774712wLNHRc','mapper','classList','view','1540Iqqnib','fromRange','isCollapsed','2MhuraJ','false','ck-user__marker-tooltip','UserMarkers','type','toDomElement','destroy','clear','toRange','change','stopListening','markerRange','getStart','batch','outerHTML','8881020mWDncW','getFirstRange','contenteditable','render','pluginName','markerToHighlight','commands','8911238Rvgbjx','update:user:range','editingDowncast','markers','ck-user__marker\x20','nodeAfter','user:range:','getCustomProperty','getContainedElement','setAttribute','ck-user__selection','setCustomProperty','isLimit','textContent','getAttribute','enqueueChange','startsWith','deletionPosition','markerToElement','newRange','listenTo','oldRange','keydown','mySessionId','168013vPAGIl','addEventListener','userPositionMarker','editor','element','getPositions','get','size','isObject','name','user:','mouseenter','plugins','getRange','start','conversion','isPremiumPlugin','isDocumentOperation','removeClass'];_0x5262=function(){return _0xdc8574;};return _0x5262();}import'../../theme/usermarkers.css';export default class q extends _0x31a126{[_0x29d751(0x191)]=new(_0x262e88())();static get[_0x29d751(0x173)](){return[_0x1d98dc];}static get[_0x29d751(0x1c9)](){const _0x3fe736=_0x29d751;return _0x3fe736(0x1b9);}static get[_0x29d751(0x190)](){return!0x0;}static get[_0x29d751(0x16a)](){return!0x0;}[_0x29d751(0x17f)](){const _0x2f637d=_0x29d751,_0x1cc165=this[_0x2f637d(0x15d)],_0x1616a2=_0x1cc165[_0x2f637d(0x166)][_0x2f637d(0x160)](_0x1d98dc);_0x1cc165[_0x2f637d(0x169)][_0x2f637d(0x182)](_0x2f637d(0x1ce))[_0x2f637d(0x1de)]({'model':_0x2f637d(0x1a2),'view':(_0x4f24be,{writer:_0x46d83a})=>function(_0x4715c7,_0x34044a,_0x4dcfb7,_0x186114){const _0x45fa64=_0x2f637d,_0x5de629=_0x4715c7[_0x45fa64(0x17b)][_0x45fa64(0x1ab)](':')[0x2],_0x5ee53b=_0x4dcfb7[_0x45fa64(0x1a6)](_0x5de629);if(!_0x5ee53b||_0x5de629===_0x4dcfb7[_0x45fa64(0x1e3)])return;if(!_0x186114[_0x45fa64(0x170)][_0x45fa64(0x198)][_0x45fa64(0x195)](_0x4715c7[_0x45fa64(0x1c1)][_0x45fa64(0x168)],_0x45fa64(0x1a4)))return;const _0x20a214={'class':_0x45fa64(0x1d0)+_0x5ee53b[_0x45fa64(0x19a)][_0x45fa64(0x19d)](),'data-name':_0x5ee53b[_0x45fa64(0x163)],'data-session-id':_0x5de629},_0x2076f6=_0x186114[_0x45fa64(0x170)][_0x45fa64(0x1cf)][_0x45fa64(0x160)](_0x4715c7[_0x45fa64(0x17b)]),_0x5e994a=_0x2076f6[_0x45fa64(0x1c2)](),_0x2b24f0=_0x5e994a[_0x45fa64(0x1d1)],_0x31bd5c=_0x186114[_0x45fa64(0x170)][_0x45fa64(0x198)];if(_0x2b24f0&&_0x31bd5c[_0x45fa64(0x162)](_0x2b24f0)&&_0x31bd5c[_0x45fa64(0x1a7)](_0x2b24f0)&&!_0x186114[_0x45fa64(0x170)][_0x45fa64(0x1cf)][_0x45fa64(0x160)](_0x45fa64(0x1d2)+_0x5de629)[_0x45fa64(0x167)]()[_0x45fa64(0x1b5)])return;const _0x4a3a07=_0x5e994a[_0x45fa64(0x16e)];return _0x186114[_0x45fa64(0x170)][_0x45fa64(0x198)][_0x45fa64(0x1d8)](_0x4a3a07)&&!_0x186114[_0x45fa64(0x170)][_0x45fa64(0x1ae)](_0x4a3a07)&&(_0x20a214[_0x45fa64(0x1c7)]=!0x1),function(_0x7eee99,_0x3c2875,_0x53b211){const _0x5f1fce=_0x45fa64,_0x458376=_0x7eee99[_0x5f1fce(0x186)](_0x5f1fce(0x183),_0x3c2875);return _0x7eee99[_0x5f1fce(0x1d7)](_0x5f1fce(0x15c),!0x0,_0x458376),_0x458376[_0x5f1fce(0x1c8)]=function(_0x1fec9d){const _0x48080a=_0x5f1fce,_0x4890d3=this[_0x48080a(0x1bb)](_0x1fec9d),_0x324976=document[_0x48080a(0x180)](_0x48080a(0x183));return _0x324976[_0x48080a(0x1b1)][_0x48080a(0x1a5)](_0x48080a(0x1b8)),_0x324976[_0x48080a(0x1d5)](_0x48080a(0x1c7),_0x48080a(0x1b7)),_0x324976[_0x48080a(0x1d5)](_0x48080a(0x18e),_0x48080a(0x1b7)),_0x324976[_0x48080a(0x1d9)]=_0x53b211[_0x48080a(0x163)],_0x4890d3[_0x48080a(0x18f)]=_0x48080a(0x1a8)+_0x324976[_0x48080a(0x1c4)]+'⁠',_0x4890d3[_0x48080a(0x1e5)](_0x48080a(0x165),()=>{const _0x55d481=_0x48080a;_0x4890d3[_0x55d481(0x1b1)][_0x55d481(0x1a5)](_0x55d481(0x18d));}),_0x4890d3[_0x48080a(0x1e5)](_0x48080a(0x177),()=>{const _0x3473d5=_0x48080a;_0x4890d3[_0x3473d5(0x1b1)][_0x3473d5(0x18b)](_0x3473d5(0x18d));}),_0x4890d3;},_0x458376[_0x5f1fce(0x181)]=function(_0x34d006){const _0x39e306=_0x5f1fce;return!(!this[_0x39e306(0x1d3)](_0x39e306(0x15c))||!_0x34d006[_0x39e306(0x1d3)](_0x39e306(0x15c))||this[_0x39e306(0x1da)](_0x39e306(0x17d))!=_0x34d006[_0x39e306(0x1da)](_0x39e306(0x17d)));},_0x458376;}(_0x34044a,_0x20a214,_0x5ee53b);}(_0x4f24be,_0x46d83a,_0x1616a2,_0x1cc165)}),_0x1cc165[_0x2f637d(0x169)][_0x2f637d(0x182)](_0x2f637d(0x1ce))[_0x2f637d(0x1ca)]({'model':_0x2f637d(0x19e),'view':_0x4d0350=>function(_0x326f42,_0x16cc7c){const _0x296fab=_0x2f637d,_0x371bb2=_0x326f42[_0x296fab(0x17b)][_0x296fab(0x1ab)](':')[0x2];if(_0x371bb2===_0x16cc7c[_0x296fab(0x1e3)])return null;const _0x4846fb=_0x16cc7c[_0x296fab(0x1a6)](_0x371bb2);if(!_0x4846fb)return{'id':_0x371bb2,'classes':[]};return{'id':_0x371bb2,'classes':[_0x296fab(0x1d6),_0x4846fb[_0x296fab(0x19a)][_0x296fab(0x174)]()],'attributes':{'data-session-id':_0x371bb2},'priority':0x7d0+_0x4846fb[_0x296fab(0x17c)]};}(_0x4d0350,_0x1616a2)}),function(_0x1f4eaf){const _0x3627f2=_0x2f637d,_0x3b5a4a=_0x1f4eaf[_0x3627f2(0x170)],_0x151364=new Map(),_0x382f06=_0x1f4eaf[_0x3627f2(0x166)][_0x3627f2(0x160)](_0x1d98dc);_0x3b5a4a[_0x3627f2(0x1cf)]['on'](_0x3627f2(0x1cd),(_0x50a4ed,_0x12e1f8,_0x284608,_0x106a64)=>{const _0x4ddb07=_0x3627f2;if(!_0x106a64&&_0x151364[_0x4ddb07(0x160)](_0x12e1f8[_0x4ddb07(0x163)]))return _0x151364[_0x4ddb07(0x160)](_0x12e1f8[_0x4ddb07(0x163)])[_0x4ddb07(0x176)](),void _0x151364[_0x4ddb07(0x16f)](_0x12e1f8[_0x4ddb07(0x163)]);const _0x536b25=_0x12e1f8[_0x4ddb07(0x163)][_0x4ddb07(0x1ab)](':')[0x2];if(_0x536b25===_0x382f06[_0x4ddb07(0x1e3)])return;const _0x3c51e0=_0x4ddb07(0x17e)+_0x536b25;_0x3b5a4a[_0x4ddb07(0x1cf)][_0x4ddb07(0x193)](_0x3c51e0)&&_0x1f4eaf[_0x4ddb07(0x1a0)][_0x4ddb07(0x19c)](_0x3c51e0),_0x12e1f8['on'](_0x4ddb07(0x197),(_0x5b620,_0x3bd64b,_0x62761c)=>{const _0x34393f=_0x4ddb07;if(_0x34393f(0x1a3)!=_0x3bd64b[_0x34393f(0x16d)][_0x34393f(0x19b)]&&_0x34393f(0x1a3)==_0x12e1f8[_0x34393f(0x167)]()[_0x34393f(0x16d)][_0x34393f(0x19b)]&&!_0x151364[_0x34393f(0x193)](_0x12e1f8[_0x34393f(0x163)])){const _0x563775=_0x3b5a4a[_0x34393f(0x198)][_0x34393f(0x1a1)](_0x62761c[_0x34393f(0x1dd)]);if(_0x563775){const _0x3d9c64=_0x4e2c0[_0x34393f(0x1b4)](_0x563775);_0x151364[_0x34393f(0x1ac)](_0x12e1f8[_0x34393f(0x163)],_0x3d9c64),_0x3d9c64['on'](_0x34393f(0x197),(_0x4c957e,_0x348ce0,_0xc1b08e)=>{const _0x1966d8=_0x34393f;if(_0x1966d8(0x1a3)==_0x3d9c64[_0x1966d8(0x16d)][_0x1966d8(0x19b)]){const _0x2c9632=_0x3b5a4a[_0x1966d8(0x198)][_0x1966d8(0x1a1)](_0xc1b08e[_0x1966d8(0x1dd)]);_0x2c9632?(_0x3d9c64[_0x1966d8(0x168)]=_0x2c9632[_0x1966d8(0x168)],_0x3d9c64[_0x1966d8(0x17a)]=_0x2c9632[_0x1966d8(0x17a)]):(_0x151364[_0x1966d8(0x16f)](_0x12e1f8[_0x1966d8(0x163)]),_0x3d9c64[_0x1966d8(0x176)]());}});}}});}),_0x3b5a4a[_0x3627f2(0x194)]['on'](_0x3627f2(0x1bf),()=>{const _0xf7a98a=_0x3627f2;_0x151364[_0xf7a98a(0x161)]>0x0&&_0x3b5a4a[_0xf7a98a(0x1db)]({'isUndoable':!0x1},_0x55972b=>{const _0x1ab9f8=_0xf7a98a;for(const [_0x414ded,_0x11fb0c]of _0x151364)_0x1ab9f8(0x1a3)==_0x3b5a4a[_0x1ab9f8(0x1cf)][_0x1ab9f8(0x160)](_0x414ded)[_0x1ab9f8(0x167)]()[_0x1ab9f8(0x16d)][_0x1ab9f8(0x19b)]&&(te(_0x414ded[_0x1ab9f8(0x1ab)](':')[0x2],_0x11fb0c[_0x1ab9f8(0x1be)](),_0x3b5a4a,_0x55972b),_0x11fb0c[_0x1ab9f8(0x176)]());_0x151364[_0x1ab9f8(0x1bd)]();});});}(_0x1cc165),this[_0x2f637d(0x191)][_0x2f637d(0x1e0)](_0xa2ec90[_0x2f637d(0x194)],_0x2f637d(0x1e2),(_0x2e382c,{key:_0x361871})=>{const _0x357519=_0x2f637d;_0x357519(0x196)===_0x361871&&function(_0x35bf34){const _0x3a8d08=_0x357519;_0x35bf34[_0x3a8d08(0x1a0)][_0x3a8d08(0x1b2)][_0x3a8d08(0x1bf)](_0x42db7a=>{const _0x2156f7=_0x3a8d08;for(const _0x11114f of _0x35bf34[_0x2156f7(0x170)][_0x2156f7(0x1cf)]){if(!_0x11114f[_0x2156f7(0x163)][_0x2156f7(0x1dc)](_0x2156f7(0x1a2)))continue;const _0x5d2918=_0x35bf34[_0x2156f7(0x1a0)][_0x2156f7(0x1b0)][_0x2156f7(0x179)](_0x11114f[_0x2156f7(0x163)]);if(_0x5d2918){for(const _0x2091c2 of _0x5d2918)_0x42db7a[_0x2156f7(0x16c)](_0x2156f7(0x18d),_0x2091c2);}}});}(_0x1cc165);},{'useCapture':!0x0});}[_0x29d751(0x178)](){const _0x1f95ab=_0x29d751,_0x25b24f=this[_0x1f95ab(0x15d)],_0x23dac7=_0x25b24f[_0x1f95ab(0x1cb)][_0x1f95ab(0x160)](_0x1f95ab(0x1ad));_0x23dac7&&_0x25b24f[_0x1f95ab(0x170)]['on'](_0x1f95ab(0x1aa),(_0x28a1da,_0x47864c)=>{const _0x2c89c3=_0x1f95ab,_0xffa0fa=_0x47864c[0x0];if(!_0xffa0fa[_0x2c89c3(0x16b)])return;if(_0x2c89c3(0x199)!=_0xffa0fa[_0x2c89c3(0x1ba)]||!_0xffa0fa[_0x2c89c3(0x163)][_0x2c89c3(0x1dc)](_0x2c89c3(0x164)))return;const _0x370f6d=_0xffa0fa[_0x2c89c3(0x1c3)];_0x23dac7[_0x2c89c3(0x189)][_0x2c89c3(0x193)](_0x370f6d)&&(_0xffa0fa[_0x2c89c3(0x1df)]=_0xffa0fa[_0x2c89c3(0x1e1)]?_0x25b24f[_0x2c89c3(0x170)][_0x2c89c3(0x18c)](_0xffa0fa[_0x2c89c3(0x1e1)][_0x2c89c3(0x168)],_0xffa0fa[_0x2c89c3(0x1e1)][_0x2c89c3(0x17a)]):null);},{'priority':_0x1f95ab(0x192)});}[_0x29d751(0x1bc)](){const _0x430b7a=_0x29d751;return this[_0x430b7a(0x191)][_0x430b7a(0x1c0)](),super[_0x430b7a(0x1bc)]();}[_0x29d751(0x175)](){const _0x174187=_0x29d751,_0x2f3ede=this[_0x174187(0x15d)],_0x1458b8=_0x2f3ede[_0x174187(0x170)][_0x174187(0x194)],_0x362e09=_0x2f3ede[_0x174187(0x166)][_0x174187(0x160)](_0x1d98dc);_0x2f3ede[_0x174187(0x170)][_0x174187(0x1db)]({'isUndoable':!0x1},_0x552408=>{const _0xc135d4=_0x174187,_0x7c0171=_0xc135d4(0x1d2)+_0x362e09[_0xc135d4(0x1e3)],_0x39d075=_0xc135d4(0x17e)+_0x362e09[_0xc135d4(0x1e3)],_0x575c57=_0x2f3ede[_0xc135d4(0x170)][_0xc135d4(0x1cf)][_0xc135d4(0x193)](_0x7c0171);_0x2f3ede[_0xc135d4(0x1a0)][_0xc135d4(0x1b2)][_0xc135d4(0x1a9)]?te(_0x362e09[_0xc135d4(0x1e3)],_0x1458b8[_0xc135d4(0x18a)][_0xc135d4(0x1c6)](),_0x2f3ede[_0xc135d4(0x170)],_0x552408):_0x575c57&&(_0x552408[_0xc135d4(0x185)](_0x7c0171),_0x552408[_0xc135d4(0x185)](_0x39d075));});}}function _0x15db(_0x2ca9d4,_0x1a2562){const _0x52623e=_0x5262();return _0x15db=function(_0x15db07,_0x48718f){_0x15db07=_0x15db07-0x15c;let _0x40f741=_0x52623e[_0x15db07];return _0x40f741;},_0x15db(_0x2ca9d4,_0x1a2562);}function te(_0x593e50,_0x2dcab3,_0x2130bd,_0x2ceeb6){const _0x230e4f=_0x29d751,_0x32699d=_0x230e4f(0x1d2)+_0x593e50,_0x20e7da=_0x230e4f(0x17e)+_0x593e50,_0x269b54=_0x2dcab3[_0x230e4f(0x1d4)]();let _0x24954f=_0x2dcab3[_0x230e4f(0x168)];if(_0x269b54&&_0x269b54['is'](_0x230e4f(0x15e),_0x230e4f(0x187))){const _0xe927ec=function(_0x594f08,_0x2a0de0){const _0xa5f2ea=_0x230e4f;for(const _0x52abc8 of _0x594f08[_0xa5f2ea(0x15f)]())if(_0x2a0de0[_0xa5f2ea(0x198)][_0xa5f2ea(0x195)](_0x52abc8,_0xa5f2ea(0x1a4)))return _0x52abc8;}(_0x2dcab3,_0x2130bd);_0xe927ec&&(_0x24954f=_0xe927ec,_0x2dcab3=_0x2ceeb6[_0x230e4f(0x18c)](_0x24954f));}const _0xddb86e=_0x2ceeb6[_0x230e4f(0x18c)](_0x24954f);_0x2130bd[_0x230e4f(0x1cf)][_0x230e4f(0x193)](_0x32699d)?(_0x2ceeb6[_0x230e4f(0x188)](_0x32699d,{'range':_0x2dcab3}),_0x2ceeb6[_0x230e4f(0x188)](_0x20e7da,{'range':_0xddb86e})):(_0x2ceeb6[_0x230e4f(0x172)](_0x32699d,{'range':_0x2dcab3,'usingOperation':!0x0}),_0x2ceeb6[_0x230e4f(0x172)](_0x20e7da,{'range':_0xddb86e,'usingOperation':!0x0}));}
23
+ function _0x55d7(){const _0x1f8285=['root','$graveyard','afterInit','getMarkerClass','remove','toRange','hasDomSelection','document','getFirstRange','has','newRange','schema','isObject','createUserMarkerOperations','createUIElement','markerRange','827776QzQEEs','getRange','ck-user__selection','reconvertMarker','addEventListener','markers','createElement','classList','element','isLimit','editingDowncast','Escape','change','change:range','UserMarkers','addMarker','9egfjPb','model','setCustomProperty','start','add','applyOperation','createRange','nodeAfter','getNearestSelectionRange','isDocumentOperation','editor','mouseleave','isSimilar','36810Qouocm','rootName','innerHTML','560PXCWZo','stopListening','false','13745430AlcFVN','oldRange','ck-user__marker-tooltip','removeClass','type','userPositionMarker','editing','isCollapsed','update:user:range','11bQAuQJ','highest','delete','undo','20728368XIaLGR','mySessionId','_createdBatches','108INVTQn','selection','parent','isOfficialPlugin','requires','spellcheck','view','span','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','contenteditable','getSelectionClass','batch','pluginName','mouseenter','textContent','$text','getCustomProperty','conversion','markerName','465074ilZgeo','removeMarker','getContainedElement','user:range','startsWith','getStart','deletionPosition','updateMarker','enqueueChange','isInline','ck-user__marker_hovered','data-session-id','size','ck-user__marker\x20','commands','destroy','getUserBySessionId','markerToElement','markerToHighlight','checkChild','user:position','111eoTSbE','for','clear','color','user:','user:range:','user:position:','fromRange','tableCell','init','split','hasContent','listenTo','render','_domEmitter','name','marker','markerNameToElements','end','orderNumber','detach','get','toDomElement','isPremiumPlugin','48748TLdWxh','getPositions','mapper','set','15379jDifnf','setAttribute','outerHTML','getAttribute','keydown','plugins'];_0x55d7=function(){return _0x1f8285;};return _0x55d7();}const _0x559e8d=_0x56be;(function(_0x1e79f2,_0x310bde){const _0x3f8b59=_0x56be,_0xaefa8b=_0x1e79f2();while(!![]){try{const _0x2b338=parseInt(_0x3f8b59(0x18c))/0x1+parseInt(_0x3f8b59(0x163))/0x2*(-parseInt(_0x3f8b59(0x1a1))/0x3)+-parseInt(_0x3f8b59(0x12c))/0x4*(-parseInt(_0x3f8b59(0x166))/0x5)+-parseInt(_0x3f8b59(0x179))/0x6*(-parseInt(_0x3f8b59(0x130))/0x7)+parseInt(_0x3f8b59(0x146))/0x8*(-parseInt(_0x3f8b59(0x156))/0x9)+parseInt(_0x3f8b59(0x169))/0xa+-parseInt(_0x3f8b59(0x172))/0xb*(parseInt(_0x3f8b59(0x176))/0xc);if(_0x2b338===_0x310bde)break;else _0xaefa8b['push'](_0xaefa8b['shift']());}catch(_0x59ddca){_0xaefa8b['push'](_0xaefa8b['shift']());}}}(_0x55d7,0xb2c7e));import{Plugin as _0x420643}from'ckeditor5/src/core.js';function _0x56be(_0x29a153,_0x113a4b){const _0x55d789=_0x55d7();return _0x56be=function(_0x56bee4,_0x1ab2c7){_0x56bee4=_0x56bee4-0x116;let _0x5fac7=_0x55d789[_0x56bee4];return _0x5fac7;},_0x56be(_0x29a153,_0x113a4b);}import{global as _0x456a78,DomEmitterMixin as _0x13fe45}from'ckeditor5/src/utils.js';import{Sessions as _0x2df1ed}from'./sessions.js';import{ModelLiveRange as _0x153383}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x420643{[_0x559e8d(0x122)]=new(_0x13fe45())();static get[_0x559e8d(0x17d)](){return[_0x2df1ed];}static get[_0x559e8d(0x185)](){const _0x139e8f=_0x559e8d;return _0x139e8f(0x154);}static get[_0x559e8d(0x17c)](){return!0x0;}static get[_0x559e8d(0x12b)](){return!0x0;}[_0x559e8d(0x11d)](){const _0x4fe195=_0x559e8d,_0x6fbc6d=this[_0x4fe195(0x160)],_0x419444=_0x6fbc6d[_0x4fe195(0x135)][_0x4fe195(0x129)](_0x2df1ed);_0x6fbc6d[_0x4fe195(0x18a)][_0x4fe195(0x1a2)](_0x4fe195(0x150))[_0x4fe195(0x19d)]({'model':_0x4fe195(0x1a0),'view':(_0x10d9d9,{writer:_0x288073})=>function(_0x8f4598,_0xcd2495,_0x169f1c,_0x504f2f){const _0x577ded=_0x4fe195,_0x3a2860=_0x8f4598[_0x577ded(0x18b)][_0x577ded(0x11e)](':')[0x2],_0x3ac7ad=_0x169f1c[_0x577ded(0x19c)](_0x3a2860);if(!_0x3ac7ad||_0x3a2860===_0x169f1c[_0x577ded(0x177)])return;if(!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)][_0x577ded(0x19f)](_0x8f4598[_0x577ded(0x145)][_0x577ded(0x159)],_0x577ded(0x188)))return;const _0x129f6f={'class':_0x577ded(0x199)+_0x3ac7ad[_0x577ded(0x117)][_0x577ded(0x139)](),'data-name':_0x3ac7ad[_0x577ded(0x123)],'data-session-id':_0x3a2860},_0x5a8fff=_0x504f2f[_0x577ded(0x157)][_0x577ded(0x14b)][_0x577ded(0x129)](_0x8f4598[_0x577ded(0x18b)]),_0xf061e7=_0x5a8fff[_0x577ded(0x191)](),_0x57f3d2=_0xf061e7[_0x577ded(0x15d)],_0x3dd8d7=_0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)];if(_0x57f3d2&&_0x3dd8d7[_0x577ded(0x142)](_0x57f3d2)&&_0x3dd8d7[_0x577ded(0x195)](_0x57f3d2)&&!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x14b)][_0x577ded(0x129)](_0x577ded(0x119)+_0x3a2860)[_0x577ded(0x147)]()[_0x577ded(0x170)])return;const _0x216598=_0xf061e7[_0x577ded(0x17b)];return _0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)][_0x577ded(0x14f)](_0x216598)&&!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x11f)](_0x216598)&&(_0x129f6f[_0x577ded(0x182)]=!0x1),function(_0x1574b3,_0x3ff069,_0x42f60f){const _0x1ebe5b=_0x577ded,_0x5060c6=_0x1574b3[_0x1ebe5b(0x144)](_0x1ebe5b(0x180),_0x3ff069);return _0x1574b3[_0x1ebe5b(0x158)](_0x1ebe5b(0x16e),!0x0,_0x5060c6),_0x5060c6[_0x1ebe5b(0x121)]=function(_0x502e19){const _0x221a49=_0x1ebe5b,_0x4e475c=this[_0x221a49(0x12a)](_0x502e19),_0x315511=document[_0x221a49(0x14c)](_0x221a49(0x180));return _0x315511[_0x221a49(0x14d)][_0x221a49(0x15a)](_0x221a49(0x16b)),_0x315511[_0x221a49(0x131)](_0x221a49(0x182),_0x221a49(0x168)),_0x315511[_0x221a49(0x131)](_0x221a49(0x17e),_0x221a49(0x168)),_0x315511[_0x221a49(0x187)]=_0x42f60f[_0x221a49(0x123)],_0x4e475c[_0x221a49(0x165)]=_0x221a49(0x181)+_0x315511[_0x221a49(0x132)]+'⁠',_0x4e475c[_0x221a49(0x14a)](_0x221a49(0x186),()=>{const _0x18a39a=_0x221a49;_0x4e475c[_0x18a39a(0x14d)][_0x18a39a(0x15a)](_0x18a39a(0x196));}),_0x4e475c[_0x221a49(0x14a)](_0x221a49(0x161),()=>{const _0x58e061=_0x221a49;_0x4e475c[_0x58e061(0x14d)][_0x58e061(0x13a)](_0x58e061(0x196));}),_0x4e475c;},_0x5060c6[_0x1ebe5b(0x162)]=function(_0x5c1225){const _0x3d137a=_0x1ebe5b;return!(!this[_0x3d137a(0x189)](_0x3d137a(0x16e))||!_0x5c1225[_0x3d137a(0x189)](_0x3d137a(0x16e))||this[_0x3d137a(0x133)](_0x3d137a(0x197))!=_0x5c1225[_0x3d137a(0x133)](_0x3d137a(0x197)));},_0x5060c6;}(_0xcd2495,_0x129f6f,_0x3ac7ad);}(_0x10d9d9,_0x288073,_0x419444,_0x6fbc6d)}),_0x6fbc6d[_0x4fe195(0x18a)][_0x4fe195(0x1a2)](_0x4fe195(0x150))[_0x4fe195(0x19e)]({'model':_0x4fe195(0x18f),'view':_0x501738=>function(_0x273dc1,_0x7c71ed){const _0x2b8ef3=_0x4fe195,_0x1629ee=_0x273dc1[_0x2b8ef3(0x18b)][_0x2b8ef3(0x11e)](':')[0x2];if(_0x1629ee===_0x7c71ed[_0x2b8ef3(0x177)])return null;const _0x26a2f9=_0x7c71ed[_0x2b8ef3(0x19c)](_0x1629ee);if(!_0x26a2f9)return{'id':_0x1629ee,'classes':[]};return{'id':_0x1629ee,'classes':[_0x2b8ef3(0x148),_0x26a2f9[_0x2b8ef3(0x117)][_0x2b8ef3(0x183)]()],'attributes':{'data-session-id':_0x1629ee},'priority':0x7d0+_0x26a2f9[_0x2b8ef3(0x127)]};}(_0x501738,_0x419444)}),function(_0x3a856f){const _0x23bee7=_0x4fe195,_0xe607e8=_0x3a856f[_0x23bee7(0x157)],_0x4109b0=new Map(),_0x22b985=_0x3a856f[_0x23bee7(0x135)][_0x23bee7(0x129)](_0x2df1ed);_0xe607e8[_0x23bee7(0x14b)]['on'](_0x23bee7(0x171),(_0x3f67fd,_0x421c39,_0x197f78,_0x14ce88)=>{const _0x190dd1=_0x23bee7;if(!_0x14ce88&&_0x4109b0[_0x190dd1(0x129)](_0x421c39[_0x190dd1(0x123)]))return _0x4109b0[_0x190dd1(0x129)](_0x421c39[_0x190dd1(0x123)])[_0x190dd1(0x128)](),void _0x4109b0[_0x190dd1(0x174)](_0x421c39[_0x190dd1(0x123)]);const _0x5051a6=_0x421c39[_0x190dd1(0x123)][_0x190dd1(0x11e)](':')[0x2];if(_0x5051a6===_0x22b985[_0x190dd1(0x177)])return;const _0xda82bc=_0x190dd1(0x11a)+_0x5051a6;_0xe607e8[_0x190dd1(0x14b)][_0x190dd1(0x13f)](_0xda82bc)&&_0x3a856f[_0x190dd1(0x16f)][_0x190dd1(0x149)](_0xda82bc),_0x421c39['on'](_0x190dd1(0x153),(_0x38b79c,_0x5be864,_0x2388df)=>{const _0x362028=_0x190dd1;if(_0x362028(0x137)!=_0x5be864[_0x362028(0x136)][_0x362028(0x164)]&&_0x362028(0x137)==_0x421c39[_0x362028(0x147)]()[_0x362028(0x136)][_0x362028(0x164)]&&!_0x4109b0[_0x362028(0x13f)](_0x421c39[_0x362028(0x123)])){const _0x4b88f7=_0xe607e8[_0x362028(0x141)][_0x362028(0x15e)](_0x2388df[_0x362028(0x192)]);if(_0x4b88f7){const _0x5e722f=_0x153383[_0x362028(0x11b)](_0x4b88f7);_0x4109b0[_0x362028(0x12f)](_0x421c39[_0x362028(0x123)],_0x5e722f),_0x5e722f['on'](_0x362028(0x153),(_0x78df24,_0x488477,_0x43a31d)=>{const _0x402a5a=_0x362028;if(_0x402a5a(0x137)==_0x5e722f[_0x402a5a(0x136)][_0x402a5a(0x164)]){const _0x46235c=_0xe607e8[_0x402a5a(0x141)][_0x402a5a(0x15e)](_0x43a31d[_0x402a5a(0x192)]);_0x46235c?(_0x5e722f[_0x402a5a(0x159)]=_0x46235c[_0x402a5a(0x159)],_0x5e722f[_0x402a5a(0x126)]=_0x46235c[_0x402a5a(0x126)]):(_0x4109b0[_0x402a5a(0x174)](_0x421c39[_0x402a5a(0x123)]),_0x5e722f[_0x402a5a(0x128)]());}});}}});}),_0xe607e8[_0x23bee7(0x13d)]['on'](_0x23bee7(0x152),()=>{const _0x315a79=_0x23bee7;_0x4109b0[_0x315a79(0x198)]>0x0&&_0xe607e8[_0x315a79(0x194)]({'isUndoable':!0x1},_0x57b650=>{const _0x59f80c=_0x315a79;for(const [_0x4ce052,_0x3bd485]of _0x4109b0)_0x59f80c(0x137)==_0xe607e8[_0x59f80c(0x14b)][_0x59f80c(0x129)](_0x4ce052)[_0x59f80c(0x147)]()[_0x59f80c(0x136)][_0x59f80c(0x164)]&&(Z(_0x4ce052[_0x59f80c(0x11e)](':')[0x2],_0x3bd485[_0x59f80c(0x13b)](),_0xe607e8,_0x57b650),_0x3bd485[_0x59f80c(0x128)]());_0x4109b0[_0x59f80c(0x116)]();});});}(_0x6fbc6d),this[_0x4fe195(0x122)][_0x4fe195(0x120)](_0x456a78[_0x4fe195(0x13d)],_0x4fe195(0x134),(_0x55defa,{key:_0x4d34eb})=>{const _0x451b1e=_0x4fe195;_0x451b1e(0x151)===_0x4d34eb&&function(_0x56a218){const _0x21106f=_0x451b1e;_0x56a218[_0x21106f(0x16f)][_0x21106f(0x17f)][_0x21106f(0x152)](_0x4c7427=>{const _0x2dc302=_0x21106f;for(const _0xf5fda3 of _0x56a218[_0x2dc302(0x157)][_0x2dc302(0x14b)]){if(!_0xf5fda3[_0x2dc302(0x123)][_0x2dc302(0x190)](_0x2dc302(0x1a0)))continue;const _0x5e275f=_0x56a218[_0x2dc302(0x16f)][_0x2dc302(0x12e)][_0x2dc302(0x125)](_0xf5fda3[_0x2dc302(0x123)]);if(_0x5e275f){for(const _0x37f5ba of _0x5e275f)_0x4c7427[_0x2dc302(0x16c)](_0x2dc302(0x196),_0x37f5ba);}}});}(_0x6fbc6d);},{'useCapture':!0x0});}[_0x559e8d(0x138)](){const _0x2a9845=_0x559e8d,_0x4abcd7=this[_0x2a9845(0x160)],_0x270e82=_0x4abcd7[_0x2a9845(0x19a)][_0x2a9845(0x129)](_0x2a9845(0x175));_0x270e82&&_0x4abcd7[_0x2a9845(0x157)]['on'](_0x2a9845(0x15b),(_0x5cdfeb,_0x2889b5)=>{const _0x4d4202=_0x2a9845,_0x2cf725=_0x2889b5[0x0];if(!_0x2cf725[_0x4d4202(0x15f)])return;if(_0x4d4202(0x124)!=_0x2cf725[_0x4d4202(0x16d)]||!_0x2cf725[_0x4d4202(0x123)][_0x4d4202(0x190)](_0x4d4202(0x118)))return;const _0x4ea7e1=_0x2cf725[_0x4d4202(0x184)];_0x270e82[_0x4d4202(0x178)][_0x4d4202(0x13f)](_0x4ea7e1)&&(_0x2cf725[_0x4d4202(0x140)]=_0x2cf725[_0x4d4202(0x16a)]?_0x4abcd7[_0x4d4202(0x157)][_0x4d4202(0x15c)](_0x2cf725[_0x4d4202(0x16a)][_0x4d4202(0x159)],_0x2cf725[_0x4d4202(0x16a)][_0x4d4202(0x126)]):null);},{'priority':_0x2a9845(0x173)});}[_0x559e8d(0x19b)](){const _0x5b4ff3=_0x559e8d;return this[_0x5b4ff3(0x122)][_0x5b4ff3(0x167)](),super[_0x5b4ff3(0x19b)]();}[_0x559e8d(0x143)](){const _0xd94565=_0x559e8d,_0xda28c2=this[_0xd94565(0x160)],_0x1262bc=_0xda28c2[_0xd94565(0x157)][_0xd94565(0x13d)],_0x12f4df=_0xda28c2[_0xd94565(0x135)][_0xd94565(0x129)](_0x2df1ed);_0xda28c2[_0xd94565(0x157)][_0xd94565(0x194)]({'isUndoable':!0x1},_0x497bc2=>{const _0xa4dfad=_0xd94565,_0x39d06b=_0xa4dfad(0x119)+_0x12f4df[_0xa4dfad(0x177)],_0x37d971=_0xa4dfad(0x11a)+_0x12f4df[_0xa4dfad(0x177)],_0x512f6d=_0xda28c2[_0xa4dfad(0x157)][_0xa4dfad(0x14b)][_0xa4dfad(0x13f)](_0x39d06b);_0xda28c2[_0xa4dfad(0x16f)][_0xa4dfad(0x17f)][_0xa4dfad(0x13c)]?Z(_0x12f4df[_0xa4dfad(0x177)],_0x1262bc[_0xa4dfad(0x17a)][_0xa4dfad(0x13e)](),_0xda28c2[_0xa4dfad(0x157)],_0x497bc2):_0x512f6d&&(_0x497bc2[_0xa4dfad(0x18d)](_0x39d06b),_0x497bc2[_0xa4dfad(0x18d)](_0x37d971));});}}function Z(_0x34b39d,_0x7b826b,_0x5bbfc5,_0x10f455){const _0x50faea=_0x559e8d,_0x22c605=_0x50faea(0x119)+_0x34b39d,_0x46bb6a=_0x50faea(0x11a)+_0x34b39d,_0x1546e8=_0x7b826b[_0x50faea(0x18e)]();let _0x2e0399=_0x7b826b[_0x50faea(0x159)];if(_0x1546e8&&_0x1546e8['is'](_0x50faea(0x14e),_0x50faea(0x11c))){const _0x2865fc=function(_0x4444a7,_0xb5a05d){const _0x256b35=_0x50faea;for(const _0x604d73 of _0x4444a7[_0x256b35(0x12d)]())if(_0xb5a05d[_0x256b35(0x141)][_0x256b35(0x19f)](_0x604d73,_0x256b35(0x188)))return _0x604d73;}(_0x7b826b,_0x5bbfc5);_0x2865fc&&(_0x2e0399=_0x2865fc,_0x7b826b=_0x10f455[_0x50faea(0x15c)](_0x2e0399));}const _0x34a290=_0x10f455[_0x50faea(0x15c)](_0x2e0399);_0x5bbfc5[_0x50faea(0x14b)][_0x50faea(0x13f)](_0x22c605)?(_0x10f455[_0x50faea(0x193)](_0x22c605,{'range':_0x7b826b}),_0x10f455[_0x50faea(0x193)](_0x46bb6a,{'range':_0x34a290})):(_0x10f455[_0x50faea(0x155)](_0x22c605,{'range':_0x7b826b,'usingOperation':!0x0}),_0x10f455[_0x50faea(0x155)](_0x46bb6a,{'range':_0x34a290,'usingOperation':!0x0}));}
@@ -9,7 +9,7 @@
9
9
  import { ContextPlugin, type Plugin, type Editor, type Context } from 'ckeditor5/src/core.js';
10
10
  import { WebSocketGateway as WebSocketGatewayProvider, type WebSocketGatewayState } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
11
11
  import { Notification } from 'ckeditor5/src/ui.js';
12
- export default class WebSocketGateway extends ContextPlugin {
12
+ export declare class WebSocketGateway extends ContextPlugin {
13
13
  static WebSocketGateway: typeof WebSocketGatewayProvider;
14
14
  static initialReconnectionInterval: number;
15
15
  connection: WebSocketGatewayProvider;
@@ -41,15 +41,15 @@ export default class WebSocketGateway extends ContextPlugin {
41
41
  * Registers a plugin that will be reconnected when the connection is back.
42
42
  * The plugin needs to implement the `reconnect()` method.
43
43
  */
44
- addToReconnectionStack(plugin: ReconnectPlugin | ReconnectContextPlugin): void;
44
+ addToReconnectionStack(plugin: RtcReconnectPlugin | RtcReconnectContextPlugin): void;
45
45
  /**
46
46
  * Removes the plugin from the reconnection stack.
47
47
  */
48
- removeFromReconnectionStack(plugin: ReconnectPlugin | ReconnectContextPlugin): void;
48
+ removeFromReconnectionStack(plugin: RtcReconnectPlugin | RtcReconnectContextPlugin): void;
49
49
  /**
50
50
  * Checks if the plugin is present in the reconnection stack.
51
51
  */
52
- isInReconnectionStack(plugin: ReconnectPlugin | ReconnectContextPlugin): boolean;
52
+ isInReconnectionStack(plugin: RtcReconnectPlugin | RtcReconnectContextPlugin): boolean;
53
53
  /**
54
54
  * Disconnects the client from the WebSocket server and also stops the DOM emitter listeners to prevent reconnect process.
55
55
  */
@@ -59,9 +59,8 @@ export default class WebSocketGateway extends ContextPlugin {
59
59
  */
60
60
  destroy(): void;
61
61
  }
62
- interface Reconnect {
62
+ export interface RtcReconnect {
63
63
  reconnect: () => void | Promise<void>;
64
64
  }
65
- export type ReconnectPlugin = Plugin & Reconnect;
66
- export type ReconnectContextPlugin = ContextPlugin & Reconnect;
67
- export {};
65
+ export type RtcReconnectPlugin = Plugin & RtcReconnect;
66
+ export type RtcReconnectContextPlugin = ContextPlugin & RtcReconnect;
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ec984=_0x3d8d;(function(_0x49921a,_0x53e312){const _0x5a3bf2=_0x3d8d,_0x32b1c4=_0x49921a();while(!![]){try{const _0x57d33e=parseInt(_0x5a3bf2(0x198))/0x1*(parseInt(_0x5a3bf2(0x18d))/0x2)+-parseInt(_0x5a3bf2(0x1be))/0x3+parseInt(_0x5a3bf2(0x184))/0x4+parseInt(_0x5a3bf2(0x1a8))/0x5+parseInt(_0x5a3bf2(0x1b1))/0x6+parseInt(_0x5a3bf2(0x195))/0x7*(parseInt(_0x5a3bf2(0x190))/0x8)+-parseInt(_0x5a3bf2(0x1ae))/0x9;if(_0x57d33e===_0x53e312)break;else _0x32b1c4['push'](_0x32b1c4['shift']());}catch(_0x5dc247){_0x32b1c4['push'](_0x32b1c4['shift']());}}}(_0x5739,0x8c71b));import{ContextPlugin as _0x9adba2}from'ckeditor5/src/core.js';function _0x3d8d(_0x41c49a,_0x26fff7){const _0x573945=_0x5739();return _0x3d8d=function(_0x3d8dbf,_0x1d2470){_0x3d8dbf=_0x3d8dbf-0x175;let _0x1ef016=_0x573945[_0x3d8dbf];return _0x1ef016;},_0x3d8d(_0x41c49a,_0x26fff7);}function _0x5739(){const _0x383962=['define','3493476yFojom','function','connect','pluginName','limitExceeded','cloudservices-init','_reconnectionStack','CONNECTED','isOfficialPlugin','155894VDpsuC','stopListening','change:me','5249416GRtTOL','websocketgateway-missing-websocket-url','cloudServices.connectionTimeout','WebSocketGateway','offline','7lonvxG','connection','error','14MhxZiw','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','disconnect','_domEmitter','token','isPremiumPlugin','listenTo','websocketgateway-invalid-plugin-interface','create','cloudservices-reconnection-error','addToReconnectionStack','_reconnect','config','has','DISCONNECTED','removeFromReconnectionStack','567430LJPiwM','plugins','then','destroy','online','all','24150087IpitaW','showWarning','_isBrowserOffline','5236518OjuavA','delete','add','websocketgateway-missing-token','from','state','requires','CONNECTING','init','websocketgateway-plugin-already-registered','initialReconnectionInterval','CloudServices','_shouldPluginsReconnect','1045323gIwFpk','context','bind','reconnect','real-time-collaboration','constructor','isInReconnectionStack','get','Connected\x20users\x20limit\x20exceeded','code','set','webSocketUrl','cloudServices.requestTimeout','catch','connected'];_0x5739=function(){return _0x383962;};return _0x5739();}import{DomEmitterMixin as _0xf58f8b,CKEditorError as _0x1b2368}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3934e6,WEB_SOCKET_GATEWAY_STATES as _0x502699}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5ef9a0}from'ckeditor5/src/ui.js';class c extends _0x9adba2{static [_0x1ec984(0x193)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3934e6)());static [_0x1ec984(0x1bb)]=0x3e8;[_0x1ec984(0x196)];[_0x1ec984(0x18a)];[_0x1ec984(0x1bd)];[_0x1ec984(0x19b)];static get[_0x1ec984(0x1b7)](){const _0x3828ba=_0x1ec984;return[_0x3828ba(0x1bc),_0x5ef9a0];}static get[_0x1ec984(0x187)](){const _0x10c761=_0x1ec984;return _0x10c761(0x193);}static get[_0x1ec984(0x18c)](){return!0x0;}static get[_0x1ec984(0x19d)](){return!0x0;}constructor(_0x21e184){const _0x393ad5=_0x1ec984;super(_0x21e184),this[_0x393ad5(0x17e)](_0x393ad5(0x1b6),_0x502699[_0x393ad5(0x18b)]),this[_0x393ad5(0x17e)](_0x393ad5(0x1b0),!0x1),this[_0x393ad5(0x18a)]=new Set(),this[_0x393ad5(0x1bd)]=!0x1,this[_0x393ad5(0x19b)]=Object[_0x393ad5(0x1a0)](_0xf58f8b);}[_0x1ec984(0x1b9)](){const _0x1c8fdd=_0x1ec984,_0x534b2e=this[_0x1c8fdd(0x175)],_0x2cac4c=_0x534b2e[_0x1c8fdd(0x1a9)][_0x1c8fdd(0x17b)](_0x1c8fdd(0x1bc)),_0x2b6ba4=_0x534b2e[_0x1c8fdd(0x1a9)][_0x1c8fdd(0x17b)](_0x5ef9a0);if(!_0x2cac4c[_0x1c8fdd(0x19c)])throw new _0x1b2368(_0x1c8fdd(0x1b4),this);if(!_0x2cac4c[_0x1c8fdd(0x17f)])throw new _0x1b2368(_0x1c8fdd(0x191),this);return this[_0x1c8fdd(0x19b)][_0x1c8fdd(0x19e)](window,_0x1c8fdd(0x194),()=>this[_0x1c8fdd(0x1b0)]=!0x0),this[_0x1c8fdd(0x19b)][_0x1c8fdd(0x19e)](window,_0x1c8fdd(0x1ac),()=>this[_0x1c8fdd(0x1b0)]=!0x1),this[_0x1c8fdd(0x175)][_0x1c8fdd(0x1a4)][_0x1c8fdd(0x183)](_0x1c8fdd(0x192),0xa),this[_0x1c8fdd(0x175)][_0x1c8fdd(0x1a4)][_0x1c8fdd(0x183)](_0x1c8fdd(0x180),0x14),c[_0x1c8fdd(0x193)][_0x1c8fdd(0x186)](_0x2cac4c[_0x1c8fdd(0x19c)],_0x2cac4c[_0x1c8fdd(0x17f)],{'timeout':0x3e8*this[_0x1c8fdd(0x175)][_0x1c8fdd(0x1a4)][_0x1c8fdd(0x17b)](_0x1c8fdd(0x192)),'requestTimeout':0x3e8*this[_0x1c8fdd(0x175)][_0x1c8fdd(0x1a4)][_0x1c8fdd(0x17b)](_0x1c8fdd(0x180))})[_0x1c8fdd(0x1aa)](_0x39f1ce=>{const _0x3870df=_0x1c8fdd;if(this[_0x3870df(0x196)]=_0x39f1ce,this[_0x3870df(0x176)](_0x3870df(0x1b6))['to'](_0x39f1ce,_0x3870df(0x1b6),this,_0x3870df(0x1b0),(_0x221e92,_0x31b5c1)=>(_0x3870df(0x182)!==_0x221e92&&(this[_0x3870df(0x1bd)]=!0x0),_0x31b5c1||_0x221e92!==_0x502699[_0x3870df(0x18b)]?_0x502699[_0x3870df(0x1a6)]:this[_0x3870df(0x1b6)]==_0x502699[_0x3870df(0x1a6)]&&this[_0x3870df(0x1bd)]?(this[_0x3870df(0x1bd)]=!0x1,this[_0x3870df(0x1a3)](),_0x502699[_0x3870df(0x1b8)]):_0x502699[_0x3870df(0x18b)])),this[_0x3870df(0x196)]['on'](_0x3870df(0x197),(_0x52f4ce,_0x21f5a7)=>{const _0x40d0ca=_0x3870df;if(_0x40d0ca(0x188)!==_0x21f5a7[_0x40d0ca(0x17d)])throw console[_0x40d0ca(0x197)](_0x21f5a7),new _0x1b2368(_0x40d0ca(0x189),null,{'originalError':_0x21f5a7});_0x2b6ba4[_0x40d0ca(0x1af)](_0x40d0ca(0x199),{'title':_0x40d0ca(0x17c),'namespace':_0x40d0ca(0x178)});}),!_0x39f1ce['me'])return new Promise(_0x5dde0f=>_0x39f1ce['on'](_0x3870df(0x18f),_0x5dde0f));})[_0x1c8fdd(0x181)](_0x47deb0=>{const _0x34f5a7=_0x1c8fdd;throw console[_0x34f5a7(0x197)](_0x47deb0),new _0x1b2368(_0x34f5a7(0x189),null,{'originalError':_0x47deb0});});}[_0x1ec984(0x1a2)](_0x5998ba){const _0x5ad098=_0x1ec984;if(_0x5ad098(0x185)!=typeof _0x5998ba[_0x5ad098(0x177)])throw new _0x1b2368(_0x5ad098(0x19f),this);if(this[_0x5ad098(0x17a)](_0x5998ba))throw new _0x1b2368(_0x5ad098(0x1ba),this,{'name':_0x5998ba[_0x5ad098(0x179)][_0x5ad098(0x187)]});this[_0x5ad098(0x18a)][_0x5ad098(0x1b3)](_0x5998ba);}[_0x1ec984(0x1a7)](_0x32f74c){const _0x415d2a=_0x1ec984;this[_0x415d2a(0x18a)][_0x415d2a(0x1b2)](_0x32f74c);}[_0x1ec984(0x17a)](_0x69fd62){const _0x55c29a=_0x1ec984;return this[_0x55c29a(0x18a)][_0x55c29a(0x1a5)](_0x69fd62);}[_0x1ec984(0x1a3)](){const _0x5a99a7=_0x1ec984;return this[_0x5a99a7(0x196)][_0x5a99a7(0x177)]()[_0x5a99a7(0x1aa)](()=>Promise[_0x5a99a7(0x1ad)](Array[_0x5a99a7(0x1b5)](this[_0x5a99a7(0x18a)],_0x5b0a4c=>_0x5b0a4c[_0x5a99a7(0x177)]())))[_0x5a99a7(0x1aa)](()=>this[_0x5a99a7(0x1b6)]=_0x502699[_0x5a99a7(0x18b)])[_0x5a99a7(0x181)](_0x2a5bd8=>{const _0x52fdaf=_0x5a99a7;throw console[_0x52fdaf(0x197)](_0x2a5bd8),new _0x1b2368(_0x52fdaf(0x1a1),this[_0x52fdaf(0x175)]);});}[_0x1ec984(0x19a)](){const _0x210819=_0x1ec984;this[_0x210819(0x196)]&&this[_0x210819(0x196)][_0x210819(0x19a)](),this[_0x210819(0x1b6)]=_0x502699[_0x210819(0x1a6)],this[_0x210819(0x19b)][_0x210819(0x18e)]();}[_0x1ec984(0x1ab)](){const _0x158beb=_0x1ec984;this[_0x158beb(0x19a)](),super[_0x158beb(0x1ab)]();}}export default c;
23
+ function _0x1b7f(){const _0x2076af=['cloudservices-reconnection-error','webSocketUrl','634692EjkngA','isInReconnectionStack','offline','requires','connection','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','listenTo','delete','showWarning','then','code','isOfficialPlugin','change:me','init','error','limitExceeded','set','websocketgateway-plugin-already-registered','add','bind','stopListening','addToReconnectionStack','websocketgateway-missing-websocket-url','_isBrowserOffline','cloudServices.requestTimeout','cloudServices.connectionTimeout','cloudservices-init','874678HrYHIS','2585442fxKiTB','websocketgateway-invalid-plugin-interface','get','constructor','CloudServices','_reconnectionStack','pluginName','connect','WebSocketGateway','CONNECTED','_shouldPluginsReconnect','plugins','disconnect','has','define','reconnect','catch','_reconnect','function','5VHoZLc','online','234101bYIDpt','token','32bhBubq','config','from','context','Connected\x20users\x20limit\x20exceeded','connected','CONNECTING','isPremiumPlugin','DISCONNECTED','all','real-time-collaboration','initialReconnectionInterval','960412DbMlFy','9FGYlPJ','_domEmitter','websocketgateway-missing-token','31687720mTTjYn','destroy','state','removeFromReconnectionStack','3022956uYLVzx'];_0x1b7f=function(){return _0x2076af;};return _0x1b7f();}function _0x35d2(_0x563461,_0x5edd27){const _0x1b7fc9=_0x1b7f();return _0x35d2=function(_0x35d2ff,_0x468406){_0x35d2ff=_0x35d2ff-0xf2;let _0x156de1=_0x1b7fc9[_0x35d2ff];return _0x156de1;},_0x35d2(_0x563461,_0x5edd27);}const _0x55d247=_0x35d2;(function(_0x3365f9,_0x3579bc){const _0x1cfac5=_0x35d2,_0x58b051=_0x3365f9();while(!![]){try{const _0x9f1aba=-parseInt(_0x1cfac5(0x11d))/0x1+-parseInt(_0x1cfac5(0x136))/0x2+-parseInt(_0x1cfac5(0x108))/0x3+parseInt(_0x1cfac5(0x12b))/0x4*(-parseInt(_0x1cfac5(0x11b))/0x5)+-parseInt(_0x1cfac5(0x133))/0x6+parseInt(_0x1cfac5(0x107))/0x7*(-parseInt(_0x1cfac5(0x11f))/0x8)+parseInt(_0x1cfac5(0x12c))/0x9*(parseInt(_0x1cfac5(0x12f))/0xa);if(_0x9f1aba===_0x3579bc)break;else _0x58b051['push'](_0x58b051['shift']());}catch(_0xb22a74){_0x58b051['push'](_0x58b051['shift']());}}}(_0x1b7f,0x7cf16));import{ContextPlugin as _0x457c88}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4bc5b7,CKEditorError as _0x5e759b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5500fc,WEB_SOCKET_GATEWAY_STATES as _0x90e838}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x40f1cb}from'ckeditor5/src/ui.js';class n extends _0x457c88{static [_0x55d247(0x110)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5500fc)());static [_0x55d247(0x12a)]=0x3e8;[_0x55d247(0x13a)];[_0x55d247(0x10d)];[_0x55d247(0x112)];[_0x55d247(0x12d)];static get[_0x55d247(0x139)](){const _0x4e1b87=_0x55d247;return[_0x4e1b87(0x10c),_0x40f1cb];}static get[_0x55d247(0x10e)](){const _0x1fc94b=_0x55d247;return _0x1fc94b(0x110);}static get[_0x55d247(0xf7)](){return!0x0;}static get[_0x55d247(0x126)](){return!0x0;}constructor(_0x724750){const _0x4d6835=_0x55d247;super(_0x724750),this[_0x4d6835(0xfc)](_0x4d6835(0x131),_0x90e838[_0x4d6835(0x111)]),this[_0x4d6835(0xfc)](_0x4d6835(0x103),!0x1),this[_0x4d6835(0x10d)]=new Set(),this[_0x4d6835(0x112)]=!0x1,this[_0x4d6835(0x12d)]=new(_0x4bc5b7())();}[_0x55d247(0xf9)](){const _0x5d9094=_0x55d247,_0xfc2be1=this[_0x5d9094(0x122)],_0x39172b=_0xfc2be1[_0x5d9094(0x113)][_0x5d9094(0x10a)](_0x5d9094(0x10c)),_0x4c2f6f=_0xfc2be1[_0x5d9094(0x113)][_0x5d9094(0x10a)](_0x40f1cb);if(!_0x39172b[_0x5d9094(0x11e)])throw new _0x5e759b(_0x5d9094(0x12e),this);if(!_0x39172b[_0x5d9094(0x135)])throw new _0x5e759b(_0x5d9094(0x102),this);return this[_0x5d9094(0x12d)][_0x5d9094(0xf2)](window,_0x5d9094(0x138),()=>this[_0x5d9094(0x103)]=!0x0),this[_0x5d9094(0x12d)][_0x5d9094(0xf2)](window,_0x5d9094(0x11c),()=>this[_0x5d9094(0x103)]=!0x1),this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x116)](_0x5d9094(0x105),0xa),this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x116)](_0x5d9094(0x104),0x14),n[_0x5d9094(0x110)][_0x5d9094(0x10f)](_0x39172b[_0x5d9094(0x11e)],_0x39172b[_0x5d9094(0x135)],{'timeout':0x3e8*this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x10a)](_0x5d9094(0x105)),'requestTimeout':0x3e8*this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x10a)](_0x5d9094(0x104))})[_0x5d9094(0xf5)](_0x486622=>{const _0x4f7737=_0x5d9094;if(this[_0x4f7737(0x13a)]=_0x486622,this[_0x4f7737(0xff)](_0x4f7737(0x131))['to'](_0x486622,_0x4f7737(0x131),this,_0x4f7737(0x103),(_0x3ff9c6,_0x2171d6)=>(_0x4f7737(0x124)!==_0x3ff9c6&&(this[_0x4f7737(0x112)]=!0x0),_0x2171d6||_0x3ff9c6!==_0x90e838[_0x4f7737(0x111)]?_0x90e838[_0x4f7737(0x127)]:this[_0x4f7737(0x131)]==_0x90e838[_0x4f7737(0x127)]&&this[_0x4f7737(0x112)]?(this[_0x4f7737(0x112)]=!0x1,this[_0x4f7737(0x119)](),_0x90e838[_0x4f7737(0x125)]):_0x90e838[_0x4f7737(0x111)])),this[_0x4f7737(0x13a)]['on'](_0x4f7737(0xfa),(_0x46aea1,_0x485a93)=>{const _0x2a8dc5=_0x4f7737;if(_0x2a8dc5(0xfb)!==_0x485a93[_0x2a8dc5(0xf6)])throw console[_0x2a8dc5(0xfa)](_0x485a93),new _0x5e759b(_0x2a8dc5(0x106),null,{'originalError':_0x485a93});_0x4c2f6f[_0x2a8dc5(0xf4)](_0x2a8dc5(0x13b),{'title':_0x2a8dc5(0x123),'namespace':_0x2a8dc5(0x129)});}),!_0x486622['me'])return new Promise(_0x26e635=>_0x486622['on'](_0x4f7737(0xf8),_0x26e635));})[_0x5d9094(0x118)](_0x31d65b=>{const _0x3e9673=_0x5d9094;throw console[_0x3e9673(0xfa)](_0x31d65b),new _0x5e759b(_0x3e9673(0x106),null,{'originalError':_0x31d65b});});}[_0x55d247(0x101)](_0x46ea60){const _0x4dcf00=_0x55d247;if(_0x4dcf00(0x11a)!=typeof _0x46ea60[_0x4dcf00(0x117)])throw new _0x5e759b(_0x4dcf00(0x109),this);if(this[_0x4dcf00(0x137)](_0x46ea60))throw new _0x5e759b(_0x4dcf00(0xfd),this,{'name':_0x46ea60[_0x4dcf00(0x10b)][_0x4dcf00(0x10e)]});this[_0x4dcf00(0x10d)][_0x4dcf00(0xfe)](_0x46ea60);}[_0x55d247(0x132)](_0x59fdd4){const _0x145bdc=_0x55d247;this[_0x145bdc(0x10d)][_0x145bdc(0xf3)](_0x59fdd4);}[_0x55d247(0x137)](_0xf99f62){const _0x295d55=_0x55d247;return this[_0x295d55(0x10d)][_0x295d55(0x115)](_0xf99f62);}[_0x55d247(0x119)](){const _0x55e353=_0x55d247;return this[_0x55e353(0x13a)][_0x55e353(0x117)]()[_0x55e353(0xf5)](()=>Promise[_0x55e353(0x128)](Array[_0x55e353(0x121)](this[_0x55e353(0x10d)],_0x104761=>_0x104761[_0x55e353(0x117)]())))[_0x55e353(0xf5)](()=>this[_0x55e353(0x131)]=_0x90e838[_0x55e353(0x111)])[_0x55e353(0x118)](_0x3b4389=>{const _0x5844fe=_0x55e353;throw console[_0x5844fe(0xfa)](_0x3b4389),new _0x5e759b(_0x5844fe(0x134),this[_0x5844fe(0x122)]);});}[_0x55d247(0x114)](){const _0x113768=_0x55d247;this[_0x113768(0x13a)]&&this[_0x113768(0x13a)][_0x113768(0x114)](),this[_0x113768(0x131)]=_0x90e838[_0x113768(0x127)],this[_0x113768(0x12d)][_0x113768(0x100)]();}[_0x55d247(0x130)](){const _0xad90ee=_0x55d247;this[_0xad90ee(0x114)](),super[_0xad90ee(0x130)]();}}export{n as WebSocketGateway};
@@ -7,14 +7,14 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
- import RealTimeCollaborationClient from './realtimecollaborativeediting/realtimecollaborationclient.js';
10
+ import { RealTimeCollaborationClient } from './realtimecollaborativeediting/realtimecollaborationclient.js';
11
11
  /**
12
12
  * Enables the real-time collaborative editing feature.
13
13
  *
14
14
  * Check the {@glink features/collaboration/real-time-collaboration/real-time-collaboration-integration Real-time collaboration} guide
15
15
  * to see how to launch the editor in the real-time collaboration mode.
16
16
  */
17
- export default class RealTimeCollaborativeEditing extends Plugin {
17
+ export declare class RealTimeCollaborativeEditing extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x622976=_0x470b;(function(_0x31ccc4,_0x5dbf1b){var _0x2395c2=_0x470b,_0x276fa3=_0x31ccc4();while(!![]){try{var _0x2c5399=-parseInt(_0x2395c2(0xd0))/0x1+-parseInt(_0x2395c2(0xd2))/0x2*(-parseInt(_0x2395c2(0xcc))/0x3)+parseInt(_0x2395c2(0xd3))/0x4*(parseInt(_0x2395c2(0xc9))/0x5)+parseInt(_0x2395c2(0xc8))/0x6+-parseInt(_0x2395c2(0xce))/0x7+-parseInt(_0x2395c2(0xcb))/0x8+parseInt(_0x2395c2(0xd1))/0x9;if(_0x2c5399===_0x5dbf1b)break;else _0x276fa3['push'](_0x276fa3['shift']());}catch(_0x295a03){_0x276fa3['push'](_0x276fa3['shift']());}}}(_0x355e,0x6f9bc));import{Plugin as _0x5b9c31}from'ckeditor5/src/core.js';function _0x470b(_0x39ade2,_0x1b8c94){var _0x355edc=_0x355e();return _0x470b=function(_0x470be2,_0xc77f40){_0x470be2=_0x470be2-0xc8;var _0x1e3da8=_0x355edc[_0x470be2];return _0x1e3da8;},_0x470b(_0x39ade2,_0x1b8c94);}import _0x588b77 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5b9c31{static get[_0x622976(0xca)](){return[_0x588b77];}static get[_0x622976(0xd5)](){var _0x3bc65b=_0x622976;return _0x3bc65b(0xcd);}static get[_0x622976(0xd4)](){return!0x0;}static get[_0x622976(0xcf)](){return!0x0;}}function _0x355e(){var _0x3fc9f2=['905602OvAGim','2565261wxcKHu','43916msNxIN','24vuOSdV','isOfficialPlugin','pluginName','2084190SbLbLQ','369105cOogQq','requires','972808AbzYEO','96aafpGO','RealTimeCollaborativeEditing','2055375quGAMg','isPremiumPlugin'];_0x355e=function(){return _0x3fc9f2;};return _0x355e();}
23
+ var _0x50f6a1=_0x428b;function _0x428b(_0x20a021,_0x2b1b04){var _0x4bd126=_0x4bd1();return _0x428b=function(_0x428bbf,_0x15cda4){_0x428bbf=_0x428bbf-0x16b;var _0x176664=_0x4bd126[_0x428bbf];return _0x176664;},_0x428b(_0x20a021,_0x2b1b04);}(function(_0x4be659,_0x10f2d2){var _0x4d0efe=_0x428b,_0x2c00e3=_0x4be659();while(!![]){try{var _0x15842e=-parseInt(_0x4d0efe(0x174))/0x1*(parseInt(_0x4d0efe(0x17a))/0x2)+-parseInt(_0x4d0efe(0x17b))/0x3*(-parseInt(_0x4d0efe(0x176))/0x4)+-parseInt(_0x4d0efe(0x16c))/0x5*(-parseInt(_0x4d0efe(0x16e))/0x6)+-parseInt(_0x4d0efe(0x179))/0x7+parseInt(_0x4d0efe(0x170))/0x8*(-parseInt(_0x4d0efe(0x175))/0x9)+parseInt(_0x4d0efe(0x172))/0xa*(-parseInt(_0x4d0efe(0x173))/0xb)+parseInt(_0x4d0efe(0x171))/0xc*(parseInt(_0x4d0efe(0x17c))/0xd);if(_0x15842e===_0x10f2d2)break;else _0x2c00e3['push'](_0x2c00e3['shift']());}catch(_0x3dc82a){_0x2c00e3['push'](_0x2c00e3['shift']());}}}(_0x4bd1,0x59a7e));import{Plugin as _0x321ee4}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x13994c}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x4bd1(){var _0x1febe6=['isPremiumPlugin','8iKGFiZ','12maiVxv','9470QMJKkB','3388Pkiwtm','26459QsIBjg','388233edBOsu','942200JSgqJQ','pluginName','isOfficialPlugin','2721593GfqzlV','30YLPLRn','3TjrpPz','11862929AyAVQV','RealTimeCollaborativeEditing','95eURjgD','requires','107256vjQPMD'];_0x4bd1=function(){return _0x1febe6;};return _0x4bd1();}export class RealTimeCollaborativeEditing extends _0x321ee4{static get[_0x50f6a1(0x16d)](){return[_0x13994c];}static get[_0x50f6a1(0x177)](){var _0x94bd8c=_0x50f6a1;return _0x94bd8c(0x16b);}static get[_0x50f6a1(0x178)](){return!0x0;}static get[_0x50f6a1(0x16f)](){return!0x0;}}
@@ -8,14 +8,14 @@
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
11
- import RealTimeCollaborationClient from '../realtimecollaborativeediting/realtimecollaborationclient.js';
12
- import WebSocketGateway, { type ReconnectPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
13
- import Sessions from '../realtimecollaborativeediting/sessions.js';
11
+ import { RealTimeCollaborationClient } from '../realtimecollaborativeediting/realtimecollaborationclient.js';
12
+ import { WebSocketGateway, type RtcReconnectPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
13
+ import { Sessions } from '../realtimecollaborativeediting/sessions.js';
14
14
  import { RevisionHistoryService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
15
15
  /**
16
16
  * The Cloud Services revision history adapter plugin.
17
17
  */
18
- export default class CloudServicesRevisionHistoryAdapter extends Plugin implements ReconnectPlugin {
18
+ export declare class CloudServicesRevisionHistoryAdapter extends Plugin implements RtcReconnectPlugin {
19
19
  static RevisionHistoryService: typeof RevisionHistoryService;
20
20
  /**
21
21
  * @inheritDoc