@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.0 → 47.2.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 (170) 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 +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16c8f8=_0xd9e5;function _0xd9e5(_0x18cdb7,_0x298bfd){const _0x3df1a4=_0x3df1();return _0xd9e5=function(_0xd9e5e5,_0x1e4bc8){_0xd9e5e5=_0xd9e5e5-0x82;let _0x537244=_0x3df1a4[_0xd9e5e5];return _0x537244;},_0xd9e5(_0x18cdb7,_0x298bfd);}(function(_0x1b1b43,_0x5ed241){const _0x5b3396=_0xd9e5,_0x1c4d8e=_0x1b1b43();while(!![]){try{const _0x5675f5=-parseInt(_0x5b3396(0x97))/0x1*(-parseInt(_0x5b3396(0x98))/0x2)+-parseInt(_0x5b3396(0x8d))/0x3+parseInt(_0x5b3396(0x83))/0x4+parseInt(_0x5b3396(0x99))/0x5+parseInt(_0x5b3396(0x90))/0x6*(parseInt(_0x5b3396(0x9b))/0x7)+parseInt(_0x5b3396(0x82))/0x8+parseInt(_0x5b3396(0xa6))/0x9*(-parseInt(_0x5b3396(0x8b))/0xa);if(_0x5675f5===_0x5ed241)break;else _0x1c4d8e['push'](_0x1c4d8e['shift']());}catch(_0x1ab33d){_0x1c4d8e['push'](_0x1c4d8e['shift']());}}}(_0x3df1,0xf34c7));import{View as _0x4052ab}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2a4932}from'ckeditor5/src/utils.js';import{getTranslation as _0x1016d6}from'../../common-translations.js';function _0x3df1(){const _0x3ec1c0=['ck-presence-list__list','Connected\x20users\x20list','11636464rTjisC','6778112tlFimW','.ck-balloon-panel_with-arrow','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','contains','isExpanded','presencelist:show','520jdSjgq','aria-expanded','1031313ijYwVe','hasPopup','relatedTarget','6yfLqiT','setTemplate','fire','render','change:hasPopup','list','listenTo','1WnUsiw','195814znfJAw','2253960qxdJSE','.ck-presence-list__dropdown-list','5476079yRMzIu','set','querySelector','element','keystrokes','div','items','removeAttribute','presencelist:hide','focus','createCollection','543420WXUdwN'];_0x3df1=function(){return _0x3ec1c0;};return _0x3df1();}export class PresenceInlineListView extends _0x4052ab{[_0x16c8f8(0xa1)];[_0x16c8f8(0x9f)];constructor(_0x4c1425){const _0x343ab3=_0x16c8f8;super(_0x4c1425);const _0x41499f=this[_0x343ab3(0x87)];this[_0x343ab3(0xa1)]=this[_0x343ab3(0xa5)](),this[_0x343ab3(0x9f)]=new _0x2a4932(),this[_0x343ab3(0x9c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x343ab3(0x91)]({'tag':_0x343ab3(0xa0),'attributes':{'aria-haspopup':_0x41499f['if'](_0x343ab3(0x8e)),'aria-expanded':_0x41499f['to'](_0x343ab3(0x89),_0x5cc8a4=>this[_0x343ab3(0x8e)]&&String(_0x5cc8a4)),'aria-label':_0x41499f['to'](_0x343ab3(0x8e),_0x180ac1=>_0x1016d6(_0x4c1425,_0x180ac1?_0x343ab3(0x86):_0x343ab3(0xa8))),'role':_0x343ab3(0x95),'tabindex':_0x41499f['to'](_0x343ab3(0x8e),_0x343e38=>!!_0x343e38&&0x0),'class':['ck',_0x343ab3(0xa7)]},'children':this[_0x343ab3(0xa1)],'on':{'mouseenter':_0x41499f['to'](()=>this[_0x343ab3(0x92)](_0x343ab3(0x8a))),'mouseleave':_0x41499f['to'](_0xb4de24=>{const _0x3e9b58=_0x343ab3,_0x252f03=_0xb4de24,_0x35b61f=document[_0x3e9b58(0x9d)](_0x3e9b58(0x9a)),_0x12881e=document[_0x3e9b58(0x9d)](_0x3e9b58(0x84));_0x35b61f?.[_0x3e9b58(0x88)](_0x252f03[_0x3e9b58(0x8f)])||_0x12881e?.[_0x3e9b58(0x88)](_0x252f03[_0x3e9b58(0x8f)])||this[_0x3e9b58(0x92)](_0x3e9b58(0xa3));})}}),this['on'](_0x343ab3(0x94),(_0x26ce0f,_0x5e6a55,_0x3739f3)=>{const _0x52f177=_0x343ab3;this[_0x52f177(0x9e)]&&(_0x3739f3?this[_0x52f177(0x9e)][_0x52f177(0x85)](_0x52f177(0x8c),String(this[_0x52f177(0x89)])):this[_0x52f177(0x9e)][_0x52f177(0xa2)](_0x52f177(0x8c)));});}[_0x16c8f8(0xa4)](){const _0x1ac6de=_0x16c8f8;this[_0x1ac6de(0x9e)][_0x1ac6de(0xa4)]();}[_0x16c8f8(0x93)](){const _0x30545c=_0x16c8f8;super[_0x30545c(0x93)](),this[_0x30545c(0x9f)][_0x30545c(0x96)](this[_0x30545c(0x9e)]);}}
23
+ const _0x4b23a1=_0x544b;function _0x361d(){const _0x475606=['fire','setAttribute','focus','.ck-presence-list__dropdown-list','7HqMFiH','createCollection','2563440olWgse','listenTo','div','set','contains','relatedTarget','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','28842viPhxg','Connected\x20users\x20list','keystrokes','3NSPfMl','items','1230258HOzChj','197012GEHKcW','hasPopup','presencelist:show','setTemplate','ck-presence-list__list','removeAttribute','isExpanded','785205ssnNaY','16ajgLPh','change:hasPopup','render','presencelist:hide','22653sbzhgk','.ck-balloon-panel_with-arrow','317160wDVdeF','2llpHBg','querySelector','list','aria-expanded','bindTemplate'];_0x361d=function(){return _0x475606;};return _0x361d();}(function(_0x27decb,_0x5d9d6d){const _0x1a87cf=_0x544b,_0x14126e=_0x27decb();while(!![]){try{const _0x577eac=parseInt(_0x1a87cf(0x16e))/0x1*(parseInt(_0x1a87cf(0x171))/0x2)+-parseInt(_0x1a87cf(0x187))/0x3*(-parseInt(_0x1a87cf(0x18a))/0x4)+-parseInt(_0x1a87cf(0x170))/0x5+parseInt(_0x1a87cf(0x189))/0x6*(parseInt(_0x1a87cf(0x17a))/0x7)+-parseInt(_0x1a87cf(0x16a))/0x8*(-parseInt(_0x1a87cf(0x169))/0x9)+-parseInt(_0x1a87cf(0x17c))/0xa+parseInt(_0x1a87cf(0x184))/0xb;if(_0x577eac===_0x5d9d6d)break;else _0x14126e['push'](_0x14126e['shift']());}catch(_0x25c588){_0x14126e['push'](_0x14126e['shift']());}}}(_0x361d,0x20c8d));function _0x544b(_0x525bf1,_0x2be745){const _0x361dfd=_0x361d();return _0x544b=function(_0x544b6d,_0x2f6825){_0x544b6d=_0x544b6d-0x167;let _0x3fbcc3=_0x361dfd[_0x544b6d];return _0x3fbcc3;},_0x544b(_0x525bf1,_0x2be745);}import{View as _0x1a5dd7}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x34e0c2}from'ckeditor5/src/utils.js';import{getTranslation as _0x56ba23}from'../../common-translations.js';export class PresenceInlineListView extends _0x1a5dd7{[_0x4b23a1(0x188)];[_0x4b23a1(0x186)];constructor(_0x1a6872){const _0x49b4be=_0x4b23a1;super(_0x1a6872);const _0x7a0349=this[_0x49b4be(0x175)];this[_0x49b4be(0x188)]=this[_0x49b4be(0x17b)](),this[_0x49b4be(0x186)]=new _0x34e0c2(),this[_0x49b4be(0x17f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x49b4be(0x18d)]({'tag':_0x49b4be(0x17e),'attributes':{'aria-haspopup':_0x7a0349['if'](_0x49b4be(0x18b)),'aria-expanded':_0x7a0349['to'](_0x49b4be(0x168),_0x21b4bd=>this[_0x49b4be(0x18b)]&&String(_0x21b4bd)),'aria-label':_0x7a0349['to'](_0x49b4be(0x18b),_0x3e4b86=>_0x56ba23(_0x1a6872,_0x3e4b86?_0x49b4be(0x183):_0x49b4be(0x185))),'role':_0x49b4be(0x173),'tabindex':_0x7a0349['to'](_0x49b4be(0x18b),_0x453afe=>!!_0x453afe&&0x0),'class':['ck',_0x49b4be(0x18e)]},'children':this[_0x49b4be(0x188)],'on':{'mouseenter':_0x7a0349['to'](()=>this[_0x49b4be(0x176)](_0x49b4be(0x18c))),'mouseleave':_0x7a0349['to'](_0x263f96=>{const _0x1b1aee=_0x49b4be,_0x1dd8c5=_0x263f96,_0x4dae76=document[_0x1b1aee(0x172)](_0x1b1aee(0x179)),_0xb2beaf=document[_0x1b1aee(0x172)](_0x1b1aee(0x16f));_0x4dae76?.[_0x1b1aee(0x180)](_0x1dd8c5[_0x1b1aee(0x181)])||_0xb2beaf?.[_0x1b1aee(0x180)](_0x1dd8c5[_0x1b1aee(0x181)])||this[_0x1b1aee(0x176)](_0x1b1aee(0x16d));})}}),this['on'](_0x49b4be(0x16b),(_0x209612,_0x2e1fb6,_0x4c11c9)=>{const _0x126aed=_0x49b4be;this[_0x126aed(0x182)]&&(_0x4c11c9?this[_0x126aed(0x182)][_0x126aed(0x177)](_0x126aed(0x174),String(this[_0x126aed(0x168)])):this[_0x126aed(0x182)][_0x126aed(0x167)](_0x126aed(0x174)));});}[_0x4b23a1(0x178)](){const _0x3090d4=_0x4b23a1;this[_0x3090d4(0x182)][_0x3090d4(0x178)]();}[_0x4b23a1(0x16c)](){const _0x46ce5f=_0x4b23a1;super[_0x46ce5f(0x16c)](),this[_0x46ce5f(0x186)][_0x46ce5f(0x17d)](this[_0x46ce5f(0x182)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x470de5=_0x55de;(function(_0x5bb62a,_0x11d1b1){const _0x2162f7=_0x55de,_0x599570=_0x5bb62a();while(!![]){try{const _0x368f59=parseInt(_0x2162f7(0x154))/0x1+parseInt(_0x2162f7(0x149))/0x2*(parseInt(_0x2162f7(0x146))/0x3)+parseInt(_0x2162f7(0x160))/0x4*(-parseInt(_0x2162f7(0x145))/0x5)+-parseInt(_0x2162f7(0x15a))/0x6+-parseInt(_0x2162f7(0x159))/0x7*(-parseInt(_0x2162f7(0x15e))/0x8)+-parseInt(_0x2162f7(0x147))/0x9*(parseInt(_0x2162f7(0x15c))/0xa)+-parseInt(_0x2162f7(0x157))/0xb*(-parseInt(_0x2162f7(0x156))/0xc);if(_0x368f59===_0x11d1b1)break;else _0x599570['push'](_0x599570['shift']());}catch(_0x8eab5d){_0x599570['push'](_0x599570['shift']());}}}(_0x1611,0x4e45d));import{View as _0x1fecfb}from'ckeditor5/src/ui.js';function _0x1611(){const _0x2c4b8f=['first','ck-presence-list--collapsed','444305bFHMGv','24558sLWNle','2263635GvirOF','counterView','14EtqPHj','change','inlineListView','tooltipPosition','ck-reset','locale','bindTemplate','setTemplate','bind','ck-presence-list','ck-rounded-corners','376268XymNIJ','div','95412NhxBJZ','506ldVsmi','set','348803xkscul','412188sOtkQJ','items','20jUZELi','listenTo','72XvyCyJ','hasPopup','16fXtDiS','isCollapsed'];_0x1611=function(){return _0x2c4b8f;};return _0x1611();}function _0x55de(_0x2f599b,_0x2c5f8e){const _0x161179=_0x1611();return _0x55de=function(_0x55de71,_0x5d141e){_0x55de71=_0x55de71-0x142;let _0x3715b5=_0x161179[_0x55de71];return _0x3715b5;},_0x55de(_0x2f599b,_0x2c5f8e);}import{PresenceCounterView as _0x3d081e}from'./presencecounterview.js';import{PresenceInlineListView as _0x289677}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1fecfb{[_0x470de5(0x148)];[_0x470de5(0x14b)];constructor(_0x4f4b2c,_0x5825d9=0x6){const _0x239c76=_0x470de5;super(_0x4f4b2c);const _0x2c2060=this[_0x239c76(0x14f)];this[_0x239c76(0x158)](_0x239c76(0x142),!0x0),this[_0x239c76(0x148)]=new _0x3d081e(this[_0x239c76(0x14e)],_0x5825d9),this[_0x239c76(0x14b)]=new _0x289677(_0x4f4b2c),this[_0x239c76(0x14b)][_0x239c76(0x151)](_0x239c76(0x15f))['to'](this,_0x239c76(0x142)),this[_0x239c76(0x15d)](this[_0x239c76(0x14b)][_0x239c76(0x15b)],_0x239c76(0x14a),()=>{const _0xe81c40=_0x239c76;for(const _0x34856c of this[_0xe81c40(0x14b)][_0xe81c40(0x15b)])_0x34856c[_0xe81c40(0x14c)]='s';this[_0xe81c40(0x14b)][_0xe81c40(0x15b)][_0xe81c40(0x143)]&&(this[_0xe81c40(0x14b)][_0xe81c40(0x15b)][_0xe81c40(0x143)][_0xe81c40(0x14c)]='se');}),this[_0x239c76(0x150)]({'tag':_0x239c76(0x155),'attributes':{'class':['ck',_0x239c76(0x152),_0x239c76(0x14d),_0x239c76(0x153),_0x2c2060['if'](_0x239c76(0x142),_0x239c76(0x144))]},'children':[this[_0x239c76(0x14b)]]});}}
23
+ const _0x1df384=_0x2b4c;(function(_0x5c86e3,_0x592a15){const _0x53e2b8=_0x2b4c,_0x394562=_0x5c86e3();while(!![]){try{const _0x53ac87=-parseInt(_0x53e2b8(0x1a7))/0x1*(-parseInt(_0x53e2b8(0x1ab))/0x2)+-parseInt(_0x53e2b8(0x1b3))/0x3*(parseInt(_0x53e2b8(0x1a1))/0x4)+parseInt(_0x53e2b8(0x1a5))/0x5*(-parseInt(_0x53e2b8(0x1b0))/0x6)+parseInt(_0x53e2b8(0x1a0))/0x7*(parseInt(_0x53e2b8(0x1b7))/0x8)+parseInt(_0x53e2b8(0x1a4))/0x9+parseInt(_0x53e2b8(0x1a3))/0xa+-parseInt(_0x53e2b8(0x19f))/0xb;if(_0x53ac87===_0x592a15)break;else _0x394562['push'](_0x394562['shift']());}catch(_0x55030a){_0x394562['push'](_0x394562['shift']());}}}(_0x4a32,0x2f9f8));import{View as _0x14fb87}from'ckeditor5/src/ui.js';function _0x2b4c(_0x52f0fc,_0x542733){const _0x4a3277=_0x4a32();return _0x2b4c=function(_0x2b4c0a,_0x26bb56){_0x2b4c0a=_0x2b4c0a-0x19f;let _0x4b0e8c=_0x4a3277[_0x2b4c0a];return _0x4b0e8c;},_0x2b4c(_0x52f0fc,_0x542733);}import{PresenceCounterView as _0x252c43}from'./presencecounterview.js';function _0x4a32(){const _0x381b50=['set','ck-reset','6055555InmVwl','7LelUyT','4444ABJcmY','listenTo','3861540sUgsxh','2613069HXhpos','84850nZTxjX','ck-presence-list','156463cHDxbW','change','ck-rounded-corners','div','2bpCLvp','ck-presence-list--collapsed','counterView','hasPopup','bindTemplate','54olZQLQ','inlineListView','bind','93NAyBTm','locale','tooltipPosition','items','798256SCWqSx','first','isCollapsed','setTemplate'];_0x4a32=function(){return _0x381b50;};return _0x4a32();}import{PresenceInlineListView as _0x275e88}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x14fb87{[_0x1df384(0x1ad)];[_0x1df384(0x1b1)];constructor(_0x369d10,_0x5c1fcf=0x6){const _0x5d9100=_0x1df384;super(_0x369d10);const _0x526347=this[_0x5d9100(0x1af)];this[_0x5d9100(0x1bb)](_0x5d9100(0x1b9),!0x0),this[_0x5d9100(0x1ad)]=new _0x252c43(this[_0x5d9100(0x1b4)],_0x5c1fcf),this[_0x5d9100(0x1b1)]=new _0x275e88(_0x369d10),this[_0x5d9100(0x1b1)][_0x5d9100(0x1b2)](_0x5d9100(0x1ae))['to'](this,_0x5d9100(0x1b9)),this[_0x5d9100(0x1a2)](this[_0x5d9100(0x1b1)][_0x5d9100(0x1b6)],_0x5d9100(0x1a8),()=>{const _0x26661d=_0x5d9100;for(const _0x50447a of this[_0x26661d(0x1b1)][_0x26661d(0x1b6)])_0x50447a[_0x26661d(0x1b5)]='s';this[_0x26661d(0x1b1)][_0x26661d(0x1b6)][_0x26661d(0x1b8)]&&(this[_0x26661d(0x1b1)][_0x26661d(0x1b6)][_0x26661d(0x1b8)][_0x26661d(0x1b5)]='se');}),this[_0x5d9100(0x1ba)]({'tag':_0x5d9100(0x1aa),'attributes':{'class':['ck',_0x5d9100(0x1a6),_0x5d9100(0x1bc),_0x5d9100(0x1a9),_0x526347['if'](_0x5d9100(0x1b9),_0x5d9100(0x1ac))]},'children':[this[_0x5d9100(0x1b1)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34e31e=_0x1afb;function _0x4f00(){var _0x3c28ea=['8097910juMjwm','9909482nyZYKg','isPremiumPlugin','PresenceList','2621942UJXZBA','14TwFsRb','3RlVSkp','2313608sBAtlN','20MaBWWG','244435kOBJXR','12489255UhcMBa','isOfficialPlugin','971196tedgYo','6YsmbyG','pluginName','requires'];_0x4f00=function(){return _0x3c28ea;};return _0x4f00();}(function(_0x48b1eb,_0x450cac){var _0x2faa47=_0x1afb,_0x5b5515=_0x48b1eb();while(!![]){try{var _0x45b50b=-parseInt(_0x2faa47(0x1c2))/0x1+-parseInt(_0x2faa47(0x1bd))/0x2*(parseInt(_0x2faa47(0x1bf))/0x3)+-parseInt(_0x2faa47(0x1c5))/0x4+-parseInt(_0x2faa47(0x1c9))/0x5*(-parseInt(_0x2faa47(0x1c6))/0x6)+-parseInt(_0x2faa47(0x1be))/0x7*(-parseInt(_0x2faa47(0x1c0))/0x8)+-parseInt(_0x2faa47(0x1c3))/0x9+-parseInt(_0x2faa47(0x1c1))/0xa*(-parseInt(_0x2faa47(0x1ca))/0xb);if(_0x45b50b===_0x450cac)break;else _0x5b5515['push'](_0x5b5515['shift']());}catch(_0xe3f9aa){_0x5b5515['push'](_0x5b5515['shift']());}}}(_0x4f00,0xc6af0));import{ContextPlugin as _0xfee54f}from'ckeditor5/src/core.js';import{Sessions as _0x356c06}from'./realtimecollaborativeediting/sessions.js';function _0x1afb(_0x2e431e,_0x3d32ee){var _0x4f0055=_0x4f00();return _0x1afb=function(_0x1afb38,_0x4551a8){_0x1afb38=_0x1afb38-0x1bd;var _0x588445=_0x4f0055[_0x1afb38];return _0x588445;},_0x1afb(_0x2e431e,_0x3d32ee);}import{PresenceListUI as _0x24becc}from'./presencelist/presencelistui.js';export class PresenceList extends _0xfee54f{static get[_0x34e31e(0x1c8)](){return[_0x356c06,_0x24becc];}static get[_0x34e31e(0x1c7)](){var _0x3f3e0d=_0x34e31e;return _0x3f3e0d(0x1cc);}static get[_0x34e31e(0x1c4)](){return!0x0;}static get[_0x34e31e(0x1cb)](){return!0x0;}}
23
+ var _0xdd9dce=_0x545d;(function(_0x4511da,_0x21a067){var _0x48136d=_0x545d,_0x4a2795=_0x4511da();while(!![]){try{var _0x5463e0=-parseInt(_0x48136d(0x78))/0x1*(-parseInt(_0x48136d(0x79))/0x2)+-parseInt(_0x48136d(0x7d))/0x3*(parseInt(_0x48136d(0x75))/0x4)+-parseInt(_0x48136d(0x7a))/0x5+parseInt(_0x48136d(0x71))/0x6+-parseInt(_0x48136d(0x73))/0x7*(parseInt(_0x48136d(0x7b))/0x8)+-parseInt(_0x48136d(0x72))/0x9*(-parseInt(_0x48136d(0x7f))/0xa)+parseInt(_0x48136d(0x76))/0xb;if(_0x5463e0===_0x21a067)break;else _0x4a2795['push'](_0x4a2795['shift']());}catch(_0x2b42c4){_0x4a2795['push'](_0x4a2795['shift']());}}}(_0x5831,0x1d837));import{ContextPlugin as _0x54aec5}from'ckeditor5/src/core.js';import{Sessions as _0x2969d7}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x31d60f}from'./presencelist/presencelistui.js';function _0x545d(_0x578429,_0x679512){var _0x583125=_0x5831();return _0x545d=function(_0x545d74,_0x3154b5){_0x545d74=_0x545d74-0x71;var _0x5816b6=_0x583125[_0x545d74];return _0x5816b6;},_0x545d(_0x578429,_0x679512);}function _0x5831(){var _0x5ccc61=['422556nmdKVK','36WGNQyU','709562oXWtCl','isPremiumPlugin','892etcuku','2205896gWWpyW','isOfficialPlugin','19ElHsEt','23594SmvZQd','727485LJtMOJ','16lFkwQj','pluginName','3237JtiAQS','requires','536570SsUoxH','PresenceList'];_0x5831=function(){return _0x5ccc61;};return _0x5831();}export class PresenceList extends _0x54aec5{static get[_0xdd9dce(0x7e)](){return[_0x2969d7,_0x31d60f];}static get[_0xdd9dce(0x7c)](){var _0x53491b=_0xdd9dce;return _0x53491b(0x80);}static get[_0xdd9dce(0x77)](){return!0x0;}static get[_0xdd9dce(0x74)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ffc44=_0x4b3e;(function(_0x2dec7c,_0x6f51d1){const _0xc66f5e=_0x4b3e,_0x40107f=_0x2dec7c();while(!![]){try{const _0x74adc0=parseInt(_0xc66f5e(0x151))/0x1*(-parseInt(_0xc66f5e(0x14c))/0x2)+-parseInt(_0xc66f5e(0x16b))/0x3+parseInt(_0xc66f5e(0x144))/0x4*(-parseInt(_0xc66f5e(0x131))/0x5)+parseInt(_0xc66f5e(0x169))/0x6+-parseInt(_0xc66f5e(0x137))/0x7+-parseInt(_0xc66f5e(0x148))/0x8+parseInt(_0xc66f5e(0x127))/0x9*(parseInt(_0xc66f5e(0x13c))/0xa);if(_0x74adc0===_0x6f51d1)break;else _0x40107f['push'](_0x40107f['shift']());}catch(_0x2cc5cd){_0x40107f['push'](_0x40107f['shift']());}}}(_0x524f,0x8627d));function _0x524f(){const _0x3610e8=['220920cJGRsh','destroy','3242922BrbCRu','adapter','CloudServicesCommentsAdapter','commentRemoved','getCommentThread','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','CommentsService','_fetchMissingUsersForThreads','_connectService','init','comments','has','reconnect','commentThreadReopened','resolve','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getComment','commentThreadRemoved','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-service-not-exist','setPermissions','commentThreadResolved','permissions','plugins','update','context','Permissions','commentThreadUpdated','sessionAdd:','getUser','404','add','message','423gaAiGA','CommentsRepository','disconnect','removeCommentThread','reopen','collaboration.channelId','cloudservicescommentsadapter-disconnect-not-exist','content','get','catch','22275sMtZvT','keys','resolvedBy','_terminateService','isOfficialPlugin','getCommentThreads','7479262XvexEu','addUser','isPremiumPlugin','authorId','commentId','885340CmQbcJ','userId','assign','cloud-services-internal-error:\x20Request\x20timeout.','updateCommentThread','getConnectedSessions','addToReconnectionStack','register','612ktjZBb','delete','remove','mySessionId','622512AsvgkX','resolvedAt','off','_services','493032AAWAaT','pluginName','commentThreadId','addComment','code','3CfNlLj','commentUpdated','addCommentThread','getMany','set','createdAt','startsWith','deletedAt','map','listenTo','_setUpService','reopenCommentThread','unregister','connect','updateComment','attributes','_getService','commentThreadAdded','from','config','requires','removeComment','size','commentAdded'];_0x524f=function(){return _0x3610e8;};return _0x524f();}import{Context as _0x34a7dc,ContextPlugin as _0x1fb24a}from'ckeditor5/src/core.js';import{CKEditorError as _0x48408a}from'ckeditor5/src/utils.js';import{Users as _0x467ef8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x6f8fa0,User as _0x277057}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x379ff0}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x40b013}from'../realtimecollaborativeediting/sessions.js';function _0x4b3e(_0x250bb6,_0x75671d){const _0x524f8e=_0x524f();return _0x4b3e=function(_0x4b3e15,_0x2a07ce){_0x4b3e15=_0x4b3e15-0x125;let _0x868060=_0x524f8e[_0x4b3e15];return _0x868060;},_0x4b3e(_0x250bb6,_0x75671d);}export class CloudServicesCommentsAdapter extends _0x1fb24a{static [_0x2ffc44(0x172)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x6f8fa0)());[_0x2ffc44(0x14b)];static get[_0x2ffc44(0x165)](){const _0x3b0012=_0x2ffc44;return[_0x379ff0,_0x3b0012(0x128),_0x40b013,_0x467ef8];}static get[_0x2ffc44(0x14d)](){const _0x1112e3=_0x2ffc44;return _0x1112e3(0x16d);}static get[_0x2ffc44(0x135)](){return!0x0;}static get[_0x2ffc44(0x139)](){return!0x0;}constructor(_0x57b9d4){const _0x3a2c21=_0x2ffc44;super(_0x57b9d4),this[_0x3a2c21(0x14b)]=new Map();}async[_0x2ffc44(0x175)](){const _0x5e8497=_0x2ffc44,_0x1a1393=this[_0x5e8497(0x185)],_0xf1872e=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x5e8497(0x128));if(_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x379ff0)[_0x5e8497(0x142)](this),_0xf1872e[_0x5e8497(0x16c)]={'addCommentThread':async({channelId:_0x571d37,threadId:_0x3da392,comments:_0x6c3a4a,resolvedAt:_0xef2515,resolvedBy:_0x186ebd,context:_0x5cdf98,attributes:_0x1e3978})=>{const _0x4e8066=_0x5e8497,_0x29efdd=await this[_0x4e8066(0x161)](_0x571d37)[_0x4e8066(0x153)]({'commentThreadId':_0x3da392,'comments':_0x6c3a4a[_0x4e8066(0x159)](_0x29e7d6=>function(_0x220cf8,_0x4859ee,_0xa7a3cf){const _0x20ad78=_0x4e8066;return{'commentThreadId':_0xa7a3cf,'commentId':_0x220cf8[_0x20ad78(0x13b)],'userId':_0x220cf8[_0x20ad78(0x13a)],'content':_0x220cf8[_0x20ad78(0x12e)],'documentId':_0x4859ee,'createdAt':_0x220cf8[_0x20ad78(0x156)],'attributes':_0x220cf8[_0x20ad78(0x160)]||{}};}(_0x29e7d6,_0x571d37,_0x3da392)),'resolvedAt':_0xef2515,'resolvedBy':_0x186ebd,'context':_0x5cdf98,'attributes':_0x1e3978})[_0x4e8066(0x130)](A);return{'threadId':_0x29efdd[_0x4e8066(0x14e)],'comments':_0x29efdd[_0x4e8066(0x176)]};},'getCommentThread':async({channelId:_0x363118,threadId:_0x290495})=>{const _0x13341b=_0x5e8497,_0x2cd0da=await this[_0x13341b(0x161)](_0x363118)[_0x13341b(0x16f)](_0x290495)[_0x13341b(0x130)](f)[_0x13341b(0x130)](A);return _0x2cd0da?_0x2cd0da[_0x13341b(0x158)]?null:(await this[_0x13341b(0x173)]([_0x2cd0da]),{'threadId':_0x2cd0da[_0x13341b(0x14e)],'comments':_0x2cd0da[_0x13341b(0x176)][_0x13341b(0x159)](p),'context':_0x2cd0da[_0x13341b(0x185)],'resolvedAt':_0x2cd0da[_0x13341b(0x149)],'resolvedBy':_0x2cd0da[_0x13341b(0x133)],'attributes':_0x2cd0da[_0x13341b(0x160)]||{}}):null;},'updateCommentThread':async({channelId:_0x5bbfca,threadId:_0x263e05,context:_0x2528bd,unlinkedAt:_0x21b0e8,attributes:_0x59246a})=>this[_0x5e8497(0x161)](_0x5bbfca)[_0x5e8497(0x140)]({'commentThreadId':_0x263e05,'context':_0x2528bd,'attributes':_0x59246a,'unlinkedAt':_0x21b0e8})[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'resolveCommentThread':async({channelId:_0x3158a9,threadId:_0x214329})=>{const _0x51a6d6=_0x5e8497,_0x504c16=await this[_0x51a6d6(0x161)](_0x3158a9)[_0x51a6d6(0x171)](_0x214329)[_0x51a6d6(0x130)](f)[_0x51a6d6(0x130)](A);return{'threadId':_0x504c16[_0x51a6d6(0x14e)],'resolvedAt':_0x504c16[_0x51a6d6(0x149)],'resolvedBy':_0x504c16[_0x51a6d6(0x133)]};},'reopenCommentThread':async({channelId:_0x1117f1,threadId:_0x449cc7})=>this[_0x5e8497(0x161)](_0x1117f1)[_0x5e8497(0x15c)](_0x449cc7)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeCommentThread':({channelId:_0x5ca8a5,threadId:_0x5d4d65})=>this[_0x5e8497(0x161)](_0x5ca8a5)[_0x5e8497(0x12a)](_0x5d4d65)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'addComment':({channelId:_0x18f8fd,threadId:_0x14a5da,commentId:_0x3fada3,content:_0x5f50d7,attributes:_0x4c0d7e})=>this[_0x5e8497(0x161)](_0x18f8fd)[_0x5e8497(0x14f)](_0x14a5da,_0x3fada3,_0x5f50d7,_0x4c0d7e)[_0x5e8497(0x130)](A),'updateComment':({channelId:_0x2c94c3,threadId:_0x2a35e3,commentId:_0x1b7fb1,content:_0x284014,attributes:_0x3070f3})=>this[_0x5e8497(0x161)](_0x2c94c3)[_0x5e8497(0x15f)](_0x2a35e3,_0x1b7fb1,_0x284014,_0x3070f3)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeComment':({channelId:_0x16e9bc,threadId:_0x53b79d,commentId:_0x1e068b})=>this[_0x5e8497(0x161)](_0x16e9bc)[_0x5e8497(0x166)](_0x53b79d,_0x1e068b)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A)},_0x1a1393 instanceof _0x34a7dc){const _0x8b3f43=_0x1a1393[_0x5e8497(0x164)][_0x5e8497(0x12f)](_0x5e8497(0x12c)),_0x2054c2=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x40b013);await this[_0x5e8497(0x15b)](_0x8b3f43);const _0x1a7f2f=await this[_0x5e8497(0x14b)][_0x5e8497(0x12f)](_0x8b3f43)[_0x5e8497(0x141)]();this[_0x5e8497(0x15a)](_0x2054c2,_0x5e8497(0x188)+_0x8b3f43,(_0x5b6e58,{session:_0x4e5fdb})=>{const _0x45cc63=_0x5e8497;_0x4e5fdb['id']===_0x2054c2[_0x45cc63(0x147)]&&(_0x5b6e58[_0x45cc63(0x14a)](),this[_0x45cc63(0x185)][_0x45cc63(0x183)][_0x45cc63(0x12f)](_0x45cc63(0x186))[_0x45cc63(0x180)](_0x4e5fdb[_0x45cc63(0x182)],_0x8b3f43));}),_0x2054c2[_0x5e8497(0x143)](_0x8b3f43,_0x1a7f2f);}}async[_0x2ffc44(0x15b)](_0x2984a5){const _0x17f26b=_0x2ffc44;if(this[_0x17f26b(0x14b)][_0x17f26b(0x177)](_0x2984a5))throw new _0x48408a(_0x17f26b(0x170),null,{'channelId':_0x2984a5});const _0x39892b=this[_0x17f26b(0x185)][_0x17f26b(0x183)][_0x17f26b(0x12f)](_0x17f26b(0x128)),_0xadb545=new CloudServicesCommentsAdapter[(_0x17f26b(0x172))](_0x2984a5);this[_0x17f26b(0x14b)][_0x17f26b(0x155)](_0x2984a5,_0xadb545),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x162),(_0x3cfe66,_0x161a24)=>{const _0x26e8f7=_0x17f26b,{commentThreadId:_0x2aa096,documentId:_0x38b801,context:_0x1948e6,attributes:_0x1bd2c,resolvedAt:_0x3f7b63,resolvedBy:_0x2f1aab,comments:_0x175656}=_0x161a24;_0x39892b[_0x26e8f7(0x16f)](_0x2aa096)||_0x39892b[_0x26e8f7(0x153)]({'threadId':_0x2aa096,'channelId':_0x38b801,'comments':_0x175656?_0x175656[_0x26e8f7(0x159)](p):[],'context':_0x1948e6,'attributes':_0x1bd2c,'resolvedAt':_0x3f7b63,'resolvedBy':_0x2f1aab,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x187),(_0x10daa0,{commentThreadId:_0x3304a4,documentId:_0x438fb8,context:_0x4fef4c,unlinkedAt:_0x439380,attributes:_0x79c0e1})=>{const _0x97692e=_0x17f26b;_0x39892b[_0x97692e(0x16f)](_0x3304a4)&&_0x39892b[_0x97692e(0x140)]({'threadId':_0x3304a4,'channelId':_0x438fb8,'context':_0x4fef4c,'unlinkedAt':_0x439380,'attributes':_0x79c0e1,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x181),(_0x287255,{commentThreadId:_0x52a291,resolvedBy:_0x2d41c8,resolvedAt:_0x1c11e3})=>{const _0x21c9ab=_0x17f26b,_0x37c0e4=_0x39892b[_0x21c9ab(0x16f)](_0x52a291);_0x37c0e4&&_0x37c0e4[_0x21c9ab(0x17a)]({'resolvedBy':_0x2d41c8,'resolvedAt':_0x1c11e3,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x179),(_0x13a199,{commentThreadId:_0x1e283f})=>{const _0x3633d4=_0x17f26b,_0x5c8686=_0x39892b[_0x3633d4(0x16f)](_0x1e283f);_0x5c8686&&_0x5c8686[_0x3633d4(0x12b)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x17d),(_0x4f4418,{commentThreadId:_0x1843bf})=>{const _0x3e66ca=_0x17f26b,_0xd18f73=_0x39892b[_0x3e66ca(0x16f)](_0x1843bf);_0xd18f73&&_0xd18f73[_0x3e66ca(0x146)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x168),(_0x506245,_0x571f03)=>{const _0x4634a9=_0x17f26b,_0x25063a=_0x571f03[_0x4634a9(0x14e)],_0x18d118=_0x39892b[_0x4634a9(0x16f)](_0x25063a);_0x18d118&&_0x18d118[_0x4634a9(0x14f)]({...p(_0x571f03),'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x152),(_0x5e7d64,{commentThreadId:_0x1cadf5,commentId:_0x4e99bb,content:_0x3c57b8,attributes:_0x3e02fd})=>{const _0x418b5b=_0x17f26b,_0x4838dd=_0x39892b[_0x418b5b(0x16f)](_0x1cadf5);if(_0x4838dd){const _0x2995ee=_0x4838dd[_0x418b5b(0x17c)](_0x4e99bb);_0x2995ee&&_0x2995ee[_0x418b5b(0x184)]({'content':_0x3c57b8,'attributes':_0x3e02fd,'isFromAdapter':!0x0});}}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x16e),(_0x1d03be,{commentThreadId:_0x51e25e,commentId:_0x385323})=>{const _0x54e551=_0x17f26b,_0x4736d2=_0x39892b[_0x54e551(0x16f)](_0x51e25e);if(_0x4736d2){const _0x4bfd4f=_0x4736d2[_0x54e551(0x17c)](_0x385323);_0x4bfd4f&&_0x4bfd4f[_0x54e551(0x146)]({'isFromAdapter':!0x0});}}),await this[_0x17f26b(0x174)](_0x2984a5);}[_0x2ffc44(0x16a)](){const _0x1ec291=_0x2ffc44;if(this[_0x1ec291(0x185)]instanceof _0x34a7dc){const _0x585d7b=this[_0x1ec291(0x185)][_0x1ec291(0x164)][_0x1ec291(0x12f)](_0x1ec291(0x12c));this[_0x1ec291(0x134)](_0x585d7b);}}[_0x2ffc44(0x134)](_0x4cf402){const _0x3fb88b=_0x2ffc44;if(!this[_0x3fb88b(0x14b)][_0x3fb88b(0x177)](_0x4cf402))throw new _0x48408a(_0x3fb88b(0x12d),null,{'channelId':_0x4cf402});this[_0x3fb88b(0x161)](_0x4cf402)[_0x3fb88b(0x129)](),this[_0x3fb88b(0x14b)][_0x3fb88b(0x145)](_0x4cf402);}async[_0x2ffc44(0x178)](){const _0x185c20=_0x2ffc44;for(const _0x1c21ee of this[_0x185c20(0x14b)][_0x185c20(0x132)]())await this[_0x185c20(0x174)](_0x1c21ee);if(this[_0x185c20(0x185)]instanceof _0x34a7dc){const _0x53a072=this[_0x185c20(0x185)][_0x185c20(0x164)][_0x185c20(0x12f)](_0x185c20(0x12c)),_0x5035ce=this[_0x185c20(0x185)][_0x185c20(0x183)][_0x185c20(0x12f)](_0x40b013);_0x5035ce[_0x185c20(0x15d)](_0x53a072);const _0x3a29a2=await this[_0x185c20(0x14b)][_0x185c20(0x12f)](_0x53a072)[_0x185c20(0x141)]();_0x5035ce[_0x185c20(0x143)](_0x53a072,_0x3a29a2);}}async[_0x2ffc44(0x174)](_0x19dc92){const _0x41f715=_0x2ffc44,{connection:_0x3a6d86}=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x379ff0),_0x41a665=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x41f715(0x128)),_0x21c4d4=this[_0x41f715(0x14b)][_0x41f715(0x12f)](_0x19dc92),_0x5cf946=await _0x21c4d4[_0x41f715(0x15e)](_0x3a6d86);await this[_0x41f715(0x173)](_0x5cf946);const _0x1b0238=new Set(Array[_0x41f715(0x163)](_0x41a665[_0x41f715(0x136)]({'channelId':_0x19dc92}),_0x370795=>_0x370795['id']));for(const _0x27e958 of _0x5cf946)_0x27e958[_0x41f715(0x158)]||_0x1b0238[_0x41f715(0x145)](_0x27e958[_0x41f715(0x14e)]);for(const _0x520fd9 of _0x1b0238)_0x41a665[_0x41f715(0x16f)](_0x520fd9)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x5419ce of _0x5cf946){let _0x549e79=_0x41a665[_0x41f715(0x16f)](_0x5419ce[_0x41f715(0x14e)]);const {commentThreadId:_0x300786,context:_0xaf78bc,attributes:_0x2106aa,resolvedBy:_0x380743,resolvedAt:_0xe65d61,unlinkedAt:_0x1c3988,deletedAt:_0x55f9ed}=_0x5419ce;if(_0x55f9ed)continue;_0x549e79||(_0x549e79=_0x41a665[_0x41f715(0x153)]({'channelId':_0x19dc92,'threadId':_0x300786,'context':_0xaf78bc,'attributes':_0x2106aa||{},'resolvedBy':_0x380743,'resolvedAt':_0xe65d61,'unlinkedAt':_0x1c3988,'isFromAdapter':!0x0}));const _0x56438d=new Set(Array[_0x41f715(0x163)](_0x549e79[_0x41f715(0x176)],_0x50139d=>_0x50139d['id']));for(const _0x1f76ee of _0x5419ce[_0x41f715(0x176)])_0x56438d[_0x41f715(0x145)](_0x1f76ee[_0x41f715(0x13b)]);for(const _0x46a1ac of _0x56438d)_0x549e79[_0x41f715(0x17c)](_0x46a1ac)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x2c857b of _0x5419ce[_0x41f715(0x176)]){const _0x160d3a=_0x549e79[_0x41f715(0x17c)](_0x2c857b[_0x41f715(0x13b)]);_0x160d3a?_0x160d3a[_0x41f715(0x12e)]!==_0x2c857b[_0x41f715(0x12e)]&&_0x160d3a[_0x41f715(0x184)]({'content':_0x2c857b[_0x41f715(0x12e)],'isFromAdapter':!0x0}):_0x549e79[_0x41f715(0x14f)](Object[_0x41f715(0x13e)](p(_0x2c857b),{'isFromAdapter':!0x0}));}}}[_0x2ffc44(0x161)](_0x3716e0){const _0x183daa=_0x2ffc44;if(!this[_0x183daa(0x14b)][_0x183daa(0x177)](_0x3716e0))throw new _0x48408a(_0x183daa(0x17f),null,{'channelId':_0x3716e0});return this[_0x183daa(0x14b)][_0x183daa(0x12f)](_0x3716e0);}async[_0x2ffc44(0x173)](_0x1d1081){const _0x71eb55=_0x2ffc44,_0x49a500=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x467ef8),{connection:_0x7ccfcb}=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x379ff0),_0x245529=new Set();for(const {resolvedBy:_0x5ae286,comments:_0x567bff}of _0x1d1081){_0x5ae286&&!_0x49a500[_0x71eb55(0x189)](_0x5ae286)&&_0x245529[_0x71eb55(0x125)](_0x5ae286);for(const {userId:_0x5d5deb}of _0x567bff)_0x49a500[_0x71eb55(0x189)](_0x5d5deb)||_0x245529[_0x71eb55(0x125)](_0x5d5deb);}if(0x0===_0x245529[_0x71eb55(0x167)])return;const _0x5c33b6=await _0x277057[_0x71eb55(0x154)](_0x7ccfcb,Array[_0x71eb55(0x163)](_0x245529));for(const _0x3d3207 of _0x5c33b6)_0x49a500[_0x71eb55(0x189)](_0x3d3207['id'])||_0x49a500[_0x71eb55(0x138)](_0x3d3207);}}async function f(_0x5cb58d){const _0x369d73=_0x2ffc44;if(_0x369d73(0x18a)!==_0x5cb58d[_0x369d73(0x150)])throw _0x5cb58d;}function A(_0x5204b4){const _0x2df7a6=_0x2ffc44;if((_0x131362=_0x5204b4)[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17b))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17e))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x13f)))return new Promise(()=>{});var _0x131362;throw _0x5204b4;}function p(_0x24650f){const _0x47eac8=_0x2ffc44;return{'threadId':_0x24650f[_0x47eac8(0x14e)],'commentId':_0x24650f[_0x47eac8(0x13b)],'content':_0x24650f[_0x47eac8(0x12e)],'createdAt':_0x24650f[_0x47eac8(0x156)],'authorId':_0x24650f[_0x47eac8(0x13d)],'attributes':_0x24650f[_0x47eac8(0x160)]||{}};}
23
+ const _0x3cbc34=_0x5865;function _0x5f0c(){const _0x36fa2f=['assign','createdAt','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','disconnect','179058nIQLMn','code','reopen','452716jEMjpF','getCommentThread','CommentsRepository','cloud-services-internal-error:\x20Request\x20timeout.','resolvedBy','catch','content','commentRemoved','init','has','reconnect','reopenCommentThread','setPermissions','adapter','getMany','sessionAdd:','_fetchMissingUsersForThreads','commentThreadUpdated','unregister','removeComment','getUser','map','startsWith','set','_getService','1830516MVQuGt','off','config','userId','_services','264210ORljvG','keys','permissions','comments','listenTo','authorId','cloudservicescommentsadapter-service-not-exist','get','1144NFuLTi','commentThreadRemoved','context','plugins','commentUpdated','resolveCommentThread','updateComment','message','pluginName','remove','delete','requires','cloud-services-internal-error:\x20Not\x20connected.','from','connect','getCommentThreads','1323135RunrfU','getComment','addUser','add','commentAdded','addToReconnectionStack','size','addCommentThread','commentThreadAdded','update','_setUpService','957201XtjTQV','destroy','isOfficialPlugin','Permissions','deletedAt','cloudservicescommentsadapter-connect-already-connected','removeCommentThread','9849cCEhHy','commentThreadId','_connectService','addComment','register','55yahCkX','isPremiumPlugin','cloudservicescommentsadapter-disconnect-not-exist','404','mySessionId','_terminateService','commentId','getConnectedSessions','CommentsService','CloudServicesCommentsAdapter','resolvedAt','attributes','resolve','commentThreadReopened','collaboration.channelId','updateCommentThread','commentThreadResolved'];_0x5f0c=function(){return _0x36fa2f;};return _0x5f0c();}(function(_0x42dc5a,_0xe1b04e){const _0x5550d6=_0x5865,_0x3479b3=_0x42dc5a();while(!![]){try{const _0x29f7c9=-parseInt(_0x5550d6(0xf2))/0x1+-parseInt(_0x5550d6(0xd4))/0x2+parseInt(_0x5550d6(0xb0))/0x3+parseInt(_0x5550d6(0xed))/0x4+-parseInt(_0x5550d6(0xbc))/0x5*(parseInt(_0x5550d6(0xd1))/0x6)+parseInt(_0x5550d6(0xb7))/0x7*(parseInt(_0x5550d6(0xfa))/0x8)+parseInt(_0x5550d6(0xa5))/0x9;if(_0x29f7c9===_0xe1b04e)break;else _0x3479b3['push'](_0x3479b3['shift']());}catch(_0x1b0b66){_0x3479b3['push'](_0x3479b3['shift']());}}}(_0x5f0c,0x4ab97));import{Context as _0x93ab4e,ContextPlugin as _0x4aa5d6}from'ckeditor5/src/core.js';import{CKEditorError as _0xdce578}from'ckeditor5/src/utils.js';import{Users as _0x41e6ec}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x284c3f,User as _0x2914a2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xe1dfef}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xa5e03f}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4aa5d6{static [_0x3cbc34(0xc4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x284c3f)());[_0x3cbc34(0xf1)];static get[_0x3cbc34(0xa0)](){const _0x938d38=_0x3cbc34;return[_0xe1dfef,_0x938d38(0xd6),_0xa5e03f,_0x41e6ec];}static get[_0x3cbc34(0x102)](){const _0x36a985=_0x3cbc34;return _0x36a985(0xc5);}static get[_0x3cbc34(0xb2)](){return!0x0;}static get[_0x3cbc34(0xbd)](){return!0x0;}constructor(_0x453999){const _0x4ebaca=_0x3cbc34;super(_0x453999),this[_0x4ebaca(0xf1)]=new Map();}async[_0x3cbc34(0xdc)](){const _0x3b41c6=_0x3cbc34,_0x53277e=this[_0x3b41c6(0xfc)],_0x52f352=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0x3b41c6(0xd6));if(_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xe1dfef)[_0x3b41c6(0xaa)](this),_0x52f352[_0x3b41c6(0xe1)]={'addCommentThread':async({channelId:_0x49e118,threadId:_0x117158,comments:_0x303e4,resolvedAt:_0x3dc2d4,resolvedBy:_0x1e1412,context:_0x2241b6,attributes:_0x2c7cc0})=>{const _0x46cd40=_0x3b41c6,_0x5b7370=await this[_0x46cd40(0xec)](_0x49e118)[_0x46cd40(0xac)]({'commentThreadId':_0x117158,'comments':_0x303e4[_0x46cd40(0xe9)](_0x2c5ef7=>function(_0x47eac9,_0x2110ab,_0x34892){const _0x2f8243=_0x46cd40;return{'commentThreadId':_0x34892,'commentId':_0x47eac9[_0x2f8243(0xc2)],'userId':_0x47eac9[_0x2f8243(0xf7)],'content':_0x47eac9[_0x2f8243(0xda)],'documentId':_0x2110ab,'createdAt':_0x47eac9[_0x2f8243(0xce)],'attributes':_0x47eac9[_0x2f8243(0xc7)]||{}};}(_0x2c5ef7,_0x49e118,_0x117158)),'resolvedAt':_0x3dc2d4,'resolvedBy':_0x1e1412,'context':_0x2241b6,'attributes':_0x2c7cc0})[_0x46cd40(0xd9)](A);return{'threadId':_0x5b7370[_0x46cd40(0xb8)],'comments':_0x5b7370[_0x46cd40(0xf5)]};},'getCommentThread':async({channelId:_0x32c754,threadId:_0x2c25c3})=>{const _0x4fd641=_0x3b41c6,_0x17bdce=await this[_0x4fd641(0xec)](_0x32c754)[_0x4fd641(0xd5)](_0x2c25c3)[_0x4fd641(0xd9)](f)[_0x4fd641(0xd9)](A);return _0x17bdce?_0x17bdce[_0x4fd641(0xb4)]?null:(await this[_0x4fd641(0xe4)]([_0x17bdce]),{'threadId':_0x17bdce[_0x4fd641(0xb8)],'comments':_0x17bdce[_0x4fd641(0xf5)][_0x4fd641(0xe9)](p),'context':_0x17bdce[_0x4fd641(0xfc)],'resolvedAt':_0x17bdce[_0x4fd641(0xc6)],'resolvedBy':_0x17bdce[_0x4fd641(0xd8)],'attributes':_0x17bdce[_0x4fd641(0xc7)]||{}}):null;},'updateCommentThread':async({channelId:_0x7e130b,threadId:_0x581624,context:_0x5624cc,unlinkedAt:_0x5c20b8,attributes:_0x4e70ad})=>this[_0x3b41c6(0xec)](_0x7e130b)[_0x3b41c6(0xcb)]({'commentThreadId':_0x581624,'context':_0x5624cc,'attributes':_0x4e70ad,'unlinkedAt':_0x5c20b8})[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'resolveCommentThread':async({channelId:_0x2df391,threadId:_0xd711ea})=>{const _0x4fabe5=_0x3b41c6,_0x119101=await this[_0x4fabe5(0xec)](_0x2df391)[_0x4fabe5(0xff)](_0xd711ea)[_0x4fabe5(0xd9)](f)[_0x4fabe5(0xd9)](A);return{'threadId':_0x119101[_0x4fabe5(0xb8)],'resolvedAt':_0x119101[_0x4fabe5(0xc6)],'resolvedBy':_0x119101[_0x4fabe5(0xd8)]};},'reopenCommentThread':async({channelId:_0x8996ed,threadId:_0x423157})=>this[_0x3b41c6(0xec)](_0x8996ed)[_0x3b41c6(0xdf)](_0x423157)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeCommentThread':({channelId:_0x257a1e,threadId:_0x164b6f})=>this[_0x3b41c6(0xec)](_0x257a1e)[_0x3b41c6(0xb6)](_0x164b6f)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'addComment':({channelId:_0x197de3,threadId:_0x2ecdbd,commentId:_0x24ddf0,content:_0x4fe5f1,attributes:_0x3cc4a7})=>this[_0x3b41c6(0xec)](_0x197de3)[_0x3b41c6(0xba)](_0x2ecdbd,_0x24ddf0,_0x4fe5f1,_0x3cc4a7)[_0x3b41c6(0xd9)](A),'updateComment':({channelId:_0x244525,threadId:_0xec7fe7,commentId:_0x83cc3,content:_0x914340,attributes:_0x49509})=>this[_0x3b41c6(0xec)](_0x244525)[_0x3b41c6(0x100)](_0xec7fe7,_0x83cc3,_0x914340,_0x49509)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeComment':({channelId:_0x322eab,threadId:_0x5b8d98,commentId:_0x226713})=>this[_0x3b41c6(0xec)](_0x322eab)[_0x3b41c6(0xe7)](_0x5b8d98,_0x226713)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A)},_0x53277e instanceof _0x93ab4e){const _0x3809e7=_0x53277e[_0x3b41c6(0xef)][_0x3b41c6(0xf9)](_0x3b41c6(0xca)),_0x44a6e0=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xa5e03f);await this[_0x3b41c6(0xaf)](_0x3809e7);const _0x108d1a=await this[_0x3b41c6(0xf1)][_0x3b41c6(0xf9)](_0x3809e7)[_0x3b41c6(0xc3)]();this[_0x3b41c6(0xf6)](_0x44a6e0,_0x3b41c6(0xe3)+_0x3809e7,(_0x124bd7,{session:_0x25ccc9})=>{const _0x3aae70=_0x3b41c6;_0x25ccc9['id']===_0x44a6e0[_0x3aae70(0xc0)]&&(_0x124bd7[_0x3aae70(0xee)](),this[_0x3aae70(0xfc)][_0x3aae70(0xfd)][_0x3aae70(0xf9)](_0x3aae70(0xb3))[_0x3aae70(0xe0)](_0x25ccc9[_0x3aae70(0xf4)],_0x3809e7));}),_0x44a6e0[_0x3b41c6(0xbb)](_0x3809e7,_0x108d1a);}}async[_0x3cbc34(0xaf)](_0x2ccb49){const _0x1a1c60=_0x3cbc34;if(this[_0x1a1c60(0xf1)][_0x1a1c60(0xdd)](_0x2ccb49))throw new _0xdce578(_0x1a1c60(0xb5),null,{'channelId':_0x2ccb49});const _0x106748=this[_0x1a1c60(0xfc)][_0x1a1c60(0xfd)][_0x1a1c60(0xf9)](_0x1a1c60(0xd6)),_0x1c1051=new CloudServicesCommentsAdapter[(_0x1a1c60(0xc4))](_0x2ccb49);this[_0x1a1c60(0xf1)][_0x1a1c60(0xeb)](_0x2ccb49,_0x1c1051),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xad),(_0x42d623,_0xd16554)=>{const _0x2e1364=_0x1a1c60,{commentThreadId:_0x4e2962,documentId:_0x12f000,context:_0x35daf0,attributes:_0x2867a9,resolvedAt:_0x186d39,resolvedBy:_0x59e96e,comments:_0x2fd2f8}=_0xd16554;_0x106748[_0x2e1364(0xd5)](_0x4e2962)||_0x106748[_0x2e1364(0xac)]({'threadId':_0x4e2962,'channelId':_0x12f000,'comments':_0x2fd2f8?_0x2fd2f8[_0x2e1364(0xe9)](p):[],'context':_0x35daf0,'attributes':_0x2867a9,'resolvedAt':_0x186d39,'resolvedBy':_0x59e96e,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xe5),(_0x1e66b6,{commentThreadId:_0x55af51,documentId:_0xe07bcb,context:_0x45214f,unlinkedAt:_0xe13549,attributes:_0x186d26})=>{const _0x40173a=_0x1a1c60;_0x106748[_0x40173a(0xd5)](_0x55af51)&&_0x106748[_0x40173a(0xcb)]({'threadId':_0x55af51,'channelId':_0xe07bcb,'context':_0x45214f,'unlinkedAt':_0xe13549,'attributes':_0x186d26,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xcc),(_0x4321f8,{commentThreadId:_0x2652e7,resolvedBy:_0x3ef8df,resolvedAt:_0x32236c})=>{const _0x4eb822=_0x1a1c60,_0x5ee144=_0x106748[_0x4eb822(0xd5)](_0x2652e7);_0x5ee144&&_0x5ee144[_0x4eb822(0xc8)]({'resolvedBy':_0x3ef8df,'resolvedAt':_0x32236c,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xc9),(_0x504c59,{commentThreadId:_0x4c90f6})=>{const _0x7d59c3=_0x1a1c60,_0x3ffbc3=_0x106748[_0x7d59c3(0xd5)](_0x4c90f6);_0x3ffbc3&&_0x3ffbc3[_0x7d59c3(0xd3)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfb),(_0x38ec9e,{commentThreadId:_0x187be6})=>{const _0x1c448c=_0x1a1c60,_0x4e96e0=_0x106748[_0x1c448c(0xd5)](_0x187be6);_0x4e96e0&&_0x4e96e0[_0x1c448c(0x9e)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xa9),(_0x46e01e,_0x3ef435)=>{const _0x36359f=_0x1a1c60,_0xf5fb90=_0x3ef435[_0x36359f(0xb8)],_0x178fe5=_0x106748[_0x36359f(0xd5)](_0xf5fb90);_0x178fe5&&_0x178fe5[_0x36359f(0xba)]({...p(_0x3ef435),'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfe),(_0x14a97e,{commentThreadId:_0x5f04f5,commentId:_0x199f1d,content:_0x39e22c,attributes:_0x3e000b})=>{const _0x49f7f3=_0x1a1c60,_0x3386fc=_0x106748[_0x49f7f3(0xd5)](_0x5f04f5);if(_0x3386fc){const _0x1b8e3a=_0x3386fc[_0x49f7f3(0xa6)](_0x199f1d);_0x1b8e3a&&_0x1b8e3a[_0x49f7f3(0xae)]({'content':_0x39e22c,'attributes':_0x3e000b,'isFromAdapter':!0x0});}}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xdb),(_0x141ff9,{commentThreadId:_0x2f3562,commentId:_0x13e921})=>{const _0x457203=_0x1a1c60,_0x2b4182=_0x106748[_0x457203(0xd5)](_0x2f3562);if(_0x2b4182){const _0x50a486=_0x2b4182[_0x457203(0xa6)](_0x13e921);_0x50a486&&_0x50a486[_0x457203(0x9e)]({'isFromAdapter':!0x0});}}),await this[_0x1a1c60(0xb9)](_0x2ccb49);}[_0x3cbc34(0xb1)](){const _0x16206e=_0x3cbc34;if(this[_0x16206e(0xfc)]instanceof _0x93ab4e){const _0x50c2fa=this[_0x16206e(0xfc)][_0x16206e(0xef)][_0x16206e(0xf9)](_0x16206e(0xca));this[_0x16206e(0xc1)](_0x50c2fa);}}[_0x3cbc34(0xc1)](_0x4eef20){const _0x51599d=_0x3cbc34;if(!this[_0x51599d(0xf1)][_0x51599d(0xdd)](_0x4eef20))throw new _0xdce578(_0x51599d(0xbe),null,{'channelId':_0x4eef20});this[_0x51599d(0xec)](_0x4eef20)[_0x51599d(0xd0)](),this[_0x51599d(0xf1)][_0x51599d(0x9f)](_0x4eef20);}async[_0x3cbc34(0xde)](){const _0x437312=_0x3cbc34;for(const _0x43c560 of this[_0x437312(0xf1)][_0x437312(0xf3)]())await this[_0x437312(0xb9)](_0x43c560);if(this[_0x437312(0xfc)]instanceof _0x93ab4e){const _0x1a6b2f=this[_0x437312(0xfc)][_0x437312(0xef)][_0x437312(0xf9)](_0x437312(0xca)),_0x41c9f8=this[_0x437312(0xfc)][_0x437312(0xfd)][_0x437312(0xf9)](_0xa5e03f);_0x41c9f8[_0x437312(0xe6)](_0x1a6b2f);const _0x43394e=await this[_0x437312(0xf1)][_0x437312(0xf9)](_0x1a6b2f)[_0x437312(0xc3)]();_0x41c9f8[_0x437312(0xbb)](_0x1a6b2f,_0x43394e);}}async[_0x3cbc34(0xb9)](_0x521502){const _0x304484=_0x3cbc34,{connection:_0x30fca2}=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0xe1dfef),_0x272340=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0x304484(0xd6)),_0x36fb0f=this[_0x304484(0xf1)][_0x304484(0xf9)](_0x521502),_0x3f6128=await _0x36fb0f[_0x304484(0xa3)](_0x30fca2);await this[_0x304484(0xe4)](_0x3f6128);const _0xc2878d=new Set(Array[_0x304484(0xa2)](_0x272340[_0x304484(0xa4)]({'channelId':_0x521502}),_0x2c7166=>_0x2c7166['id']));for(const _0x226df7 of _0x3f6128)_0x226df7[_0x304484(0xb4)]||_0xc2878d[_0x304484(0x9f)](_0x226df7[_0x304484(0xb8)]);for(const _0x3dfc63 of _0xc2878d)_0x272340[_0x304484(0xd5)](_0x3dfc63)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x32b63f of _0x3f6128){let _0x36d3e0=_0x272340[_0x304484(0xd5)](_0x32b63f[_0x304484(0xb8)]);const {commentThreadId:_0x1b69af,context:_0x3b2fbd,attributes:_0x383a0e,resolvedBy:_0x161053,resolvedAt:_0x41f5c7,unlinkedAt:_0x532216,deletedAt:_0x5cc055}=_0x32b63f;if(_0x5cc055)continue;_0x36d3e0||(_0x36d3e0=_0x272340[_0x304484(0xac)]({'channelId':_0x521502,'threadId':_0x1b69af,'context':_0x3b2fbd,'attributes':_0x383a0e||{},'resolvedBy':_0x161053,'resolvedAt':_0x41f5c7,'unlinkedAt':_0x532216,'isFromAdapter':!0x0}));const _0x516cc3=new Set(Array[_0x304484(0xa2)](_0x36d3e0[_0x304484(0xf5)],_0x106cce=>_0x106cce['id']));for(const _0x58c833 of _0x32b63f[_0x304484(0xf5)])_0x516cc3[_0x304484(0x9f)](_0x58c833[_0x304484(0xc2)]);for(const _0x1fcfb7 of _0x516cc3)_0x36d3e0[_0x304484(0xa6)](_0x1fcfb7)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x36fbcf of _0x32b63f[_0x304484(0xf5)]){const _0x579d35=_0x36d3e0[_0x304484(0xa6)](_0x36fbcf[_0x304484(0xc2)]);_0x579d35?_0x579d35[_0x304484(0xda)]!==_0x36fbcf[_0x304484(0xda)]&&_0x579d35[_0x304484(0xae)]({'content':_0x36fbcf[_0x304484(0xda)],'isFromAdapter':!0x0}):_0x36d3e0[_0x304484(0xba)](Object[_0x304484(0xcd)](p(_0x36fbcf),{'isFromAdapter':!0x0}));}}}[_0x3cbc34(0xec)](_0x4db7aa){const _0x271286=_0x3cbc34;if(!this[_0x271286(0xf1)][_0x271286(0xdd)](_0x4db7aa))throw new _0xdce578(_0x271286(0xf8),null,{'channelId':_0x4db7aa});return this[_0x271286(0xf1)][_0x271286(0xf9)](_0x4db7aa);}async[_0x3cbc34(0xe4)](_0x1b2219){const _0x486cec=_0x3cbc34,_0x3c1ee0=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0x41e6ec),{connection:_0x23e4e9}=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0xe1dfef),_0x5cdd85=new Set();for(const {resolvedBy:_0x28415c,comments:_0x1be39f}of _0x1b2219){_0x28415c&&!_0x3c1ee0[_0x486cec(0xe8)](_0x28415c)&&_0x5cdd85[_0x486cec(0xa8)](_0x28415c);for(const {userId:_0x32bd8a}of _0x1be39f)_0x3c1ee0[_0x486cec(0xe8)](_0x32bd8a)||_0x5cdd85[_0x486cec(0xa8)](_0x32bd8a);}if(0x0===_0x5cdd85[_0x486cec(0xab)])return;const _0x39c356=await _0x2914a2[_0x486cec(0xe2)](_0x23e4e9,Array[_0x486cec(0xa2)](_0x5cdd85));for(const _0x4710db of _0x39c356)_0x3c1ee0[_0x486cec(0xe8)](_0x4710db['id'])||_0x3c1ee0[_0x486cec(0xa7)](_0x4710db);}}function _0x5865(_0x3436f6,_0x14aa79){const _0x5f0c69=_0x5f0c();return _0x5865=function(_0x58650d,_0x36378c){_0x58650d=_0x58650d-0x9e;let _0x5236cd=_0x5f0c69[_0x58650d];return _0x5236cd;},_0x5865(_0x3436f6,_0x14aa79);}async function f(_0x49fdc7){const _0x4cab16=_0x3cbc34;if(_0x4cab16(0xbf)!==_0x49fdc7[_0x4cab16(0xd2)])throw _0x49fdc7;}function A(_0x24ed98){const _0x1a61ee=_0x3cbc34;if((_0x540e9c=_0x24ed98)[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xcf))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xa1))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xd7)))return new Promise(()=>{});var _0x540e9c;throw _0x24ed98;}function p(_0x444775){const _0x40e209=_0x3cbc34;return{'threadId':_0x444775[_0x40e209(0xb8)],'commentId':_0x444775[_0x40e209(0xc2)],'content':_0x444775[_0x40e209(0xda)],'createdAt':_0x444775[_0x40e209(0xce)],'authorId':_0x444775[_0x40e209(0xf0)],'attributes':_0x444775[_0x40e209(0xc7)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x70b069=_0x4ae3;(function(_0x24eabb,_0x5af5fe){const _0x56f0d6=_0x4ae3,_0x3333c0=_0x24eabb();while(!![]){try{const _0x4f9fea=-parseInt(_0x56f0d6(0xee))/0x1*(parseInt(_0x56f0d6(0xdc))/0x2)+-parseInt(_0x56f0d6(0xe0))/0x3+parseInt(_0x56f0d6(0xf8))/0x4+parseInt(_0x56f0d6(0xf5))/0x5*(-parseInt(_0x56f0d6(0xdb))/0x6)+-parseInt(_0x56f0d6(0xf3))/0x7+-parseInt(_0x56f0d6(0xe4))/0x8*(parseInt(_0x56f0d6(0xd9))/0x9)+parseInt(_0x56f0d6(0xde))/0xa;if(_0x4f9fea===_0x5af5fe)break;else _0x3333c0['push'](_0x3333c0['shift']());}catch(_0x463701){_0x3333c0['push'](_0x3333c0['shift']());}}}(_0x2d37,0x4f930));import{Plugin as _0xdd6d87}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x5eac0c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4ae3(_0x5a138f,_0x37d835){const _0x2d375b=_0x2d37();return _0x4ae3=function(_0x4ae3a4,_0x29d162){_0x4ae3a4=_0x4ae3a4-0xd7;let _0x403553=_0x2d375b[_0x4ae3a4];return _0x403553;},_0x4ae3(_0x5a138f,_0x37d835);}import{RealTimeCollaborativeEditing as _0x12c346}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x55ec59}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xdd6d87{static get[_0x70b069(0xd7)](){const _0x2a2617=_0x70b069;return[_0x2a2617(0xec),_0x5eac0c,_0x12c346,_0x55ec59];}static get[_0x70b069(0xf0)](){const _0x5d548a=_0x70b069;return _0x5d548a(0xd8);}static get[_0x70b069(0xea)](){return!0x0;}static get[_0x70b069(0xeb)](){return!0x0;}[_0x70b069(0xe3)](){const _0x258bbf=_0x70b069,_0x43bfc9=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x55ec59),_0x13ce67=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x258bbf(0xdf)),_0xb9ca56=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x5eac0c);return this[_0x258bbf(0xf7)][_0x258bbf(0xf4)][_0x258bbf(0xf6)](_0x258bbf(0xe1),()=>{const _0x14ebba=_0x258bbf;this[_0x14ebba(0xf1)](_0x43bfc9,_0x14ebba(0xe8),(_0x25603f,_0x2d8827,_0x322d49)=>{const _0x236178=_0x14ebba;_0x13ce67[_0x236178(0xe7)]=_0x236178(0xed)!==_0x322d49;});}),this[_0x258bbf(0xf1)](_0x43bfc9,_0x258bbf(0xe8),(_0xf569ef,_0x5765ac,_0xf8018a)=>{const _0x125bfc=_0x258bbf;this[_0x125bfc(0xf7)][_0x125bfc(0xe6)][_0x125bfc(0xe9)](_0x125bfc(0xf2))[_0x125bfc(0xe2)](_0x125bfc(0xed)!==_0xf8018a);}),_0xb9ca56[_0x258bbf(0xe5)](this[_0x258bbf(0xf7)][_0x258bbf(0xda)][_0x258bbf(0xe9)](_0x258bbf(0xf9)));}[_0x70b069(0xdd)](){const _0x4307e0=_0x70b069;this[_0x4307e0(0xf7)][_0x4307e0(0xe6)][_0x4307e0(0xe9)](_0x5eac0c)[_0x4307e0(0xef)](this[_0x4307e0(0xf7)][_0x4307e0(0xda)][_0x4307e0(0xe9)](_0x4307e0(0xf9))),super[_0x4307e0(0xdd)]();}}function _0x2d37(){const _0xde5a61=['data','3460EjdCJJ','once','editor','168728XADcCs','collaboration.channelId','requires','RealTimeCollaborativeComments','2439zYhOlN','config','2568OIaXmX','170ZzXFIw','destroy','21110030VVWkEv','CommentsEditing','366501mCThmN','ready','switchReadOnly','init','15240okCFRw','_setUpService','plugins','isThreadsLoadingPaused','change:state','get','isOfficialPlugin','isPremiumPlugin','Comments','connected','6121vpfUCv','_terminateService','pluginName','listenTo','CommentsRepository','2606562GAOYmu'];_0x2d37=function(){return _0xde5a61;};return _0x2d37();}
23
+ const _0x2320f4=_0xcf9b;(function(_0x3b7bd6,_0x506668){const _0x4a2e03=_0xcf9b,_0x4d3d93=_0x3b7bd6();while(!![]){try{const _0x139a80=-parseInt(_0x4a2e03(0x1da))/0x1*(parseInt(_0x4a2e03(0x1f7))/0x2)+-parseInt(_0x4a2e03(0x1f2))/0x3+-parseInt(_0x4a2e03(0x1ea))/0x4+-parseInt(_0x4a2e03(0x1e1))/0x5+-parseInt(_0x4a2e03(0x1f1))/0x6+-parseInt(_0x4a2e03(0x1de))/0x7*(-parseInt(_0x4a2e03(0x1e7))/0x8)+parseInt(_0x4a2e03(0x1f8))/0x9;if(_0x139a80===_0x506668)break;else _0x4d3d93['push'](_0x4d3d93['shift']());}catch(_0x5510c7){_0x4d3d93['push'](_0x4d3d93['shift']());}}}(_0x4aa0,0xc7a10));import{Plugin as _0x46a481}from'ckeditor5/src/core.js';function _0xcf9b(_0x222a4e,_0x1cb384){const _0x4aa091=_0x4aa0();return _0xcf9b=function(_0xcf9b6e,_0x14bd75){_0xcf9b6e=_0xcf9b6e-0x1d8;let _0x8653a=_0x4aa091[_0xcf9b6e];return _0x8653a;},_0xcf9b(_0x222a4e,_0x1cb384);}function _0x4aa0(){const _0x3a832a=['change:state','23eHMfjb','once','CommentsEditing','switchReadOnly','56RQovVx','destroy','connected','6362965MlqZsS','editor','CommentsRepository','RealTimeCollaborativeComments','_setUpService','pluginName','196816tcAPOQ','ready','init','1933116JsiyFP','_terminateService','requires','collaboration.channelId','listenTo','isPremiumPlugin','plugins','8528574wWcmOH','2995173xYDXsw','data','isThreadsLoadingPaused','get','isOfficialPlugin','42006qPXamP','47516625djSCUy','config','Comments'];_0x4aa0=function(){return _0x3a832a;};return _0x4aa0();}import{CloudServicesCommentsAdapter as _0xbc21b7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x35fc65}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x6e8d28}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x46a481{static get[_0x2320f4(0x1ec)](){const _0x2bf218=_0x2320f4;return[_0x2bf218(0x1d8),_0xbc21b7,_0x35fc65,_0x6e8d28];}static get[_0x2320f4(0x1e6)](){const _0x513d92=_0x2320f4;return _0x513d92(0x1e4);}static get[_0x2320f4(0x1f6)](){return!0x0;}static get[_0x2320f4(0x1ef)](){return!0x0;}[_0x2320f4(0x1e9)](){const _0x460ed6=_0x2320f4,_0x5db675=this[_0x460ed6(0x1e2)][_0x460ed6(0x1f0)][_0x460ed6(0x1f5)](_0x6e8d28),_0x407912=this[_0x460ed6(0x1e2)][_0x460ed6(0x1f0)][_0x460ed6(0x1f5)](_0x460ed6(0x1dc)),_0x403bc6=this[_0x460ed6(0x1e2)][_0x460ed6(0x1f0)][_0x460ed6(0x1f5)](_0xbc21b7);return this[_0x460ed6(0x1e2)][_0x460ed6(0x1f3)][_0x460ed6(0x1db)](_0x460ed6(0x1e8),()=>{const _0x1f6d64=_0x460ed6;this[_0x1f6d64(0x1ee)](_0x5db675,_0x1f6d64(0x1d9),(_0x1eeb4f,_0x97e91e,_0x39e9fe)=>{const _0x448418=_0x1f6d64;_0x407912[_0x448418(0x1f4)]=_0x448418(0x1e0)!==_0x39e9fe;});}),this[_0x460ed6(0x1ee)](_0x5db675,_0x460ed6(0x1d9),(_0x359f12,_0x38052a,_0x46a98d)=>{const _0x32b8cc=_0x460ed6;this[_0x32b8cc(0x1e2)][_0x32b8cc(0x1f0)][_0x32b8cc(0x1f5)](_0x32b8cc(0x1e3))[_0x32b8cc(0x1dd)](_0x32b8cc(0x1e0)!==_0x46a98d);}),_0x403bc6[_0x460ed6(0x1e5)](this[_0x460ed6(0x1e2)][_0x460ed6(0x1f9)][_0x460ed6(0x1f5)](_0x460ed6(0x1ed)));}[_0x2320f4(0x1df)](){const _0x4c8357=_0x2320f4;this[_0x4c8357(0x1e2)][_0x4c8357(0x1f0)][_0x4c8357(0x1f5)](_0xbc21b7)[_0x4c8357(0x1eb)](this[_0x4c8357(0x1e2)][_0x4c8357(0x1f9)][_0x4c8357(0x1f5)](_0x4c8357(0x1ed))),super[_0x4c8357(0x1df)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c7799=_0x3e36;function _0x3e36(_0x44aee6,_0x106bdb){const _0x329d8e=_0x329d();return _0x3e36=function(_0x3e366d,_0x17e390){_0x3e366d=_0x3e366d-0x154;let _0x30b520=_0x329d8e[_0x3e366d];return _0x30b520;},_0x3e36(_0x44aee6,_0x106bdb);}(function(_0x1488b6,_0x2bf956){const _0x99882b=_0x3e36,_0x17e9e2=_0x1488b6();while(!![]){try{const _0x114115=parseInt(_0x99882b(0x1e6))/0x1*(parseInt(_0x99882b(0x200))/0x2)+-parseInt(_0x99882b(0x180))/0x3*(-parseInt(_0x99882b(0x194))/0x4)+-parseInt(_0x99882b(0x169))/0x5+-parseInt(_0x99882b(0x20e))/0x6+parseInt(_0x99882b(0x166))/0x7*(parseInt(_0x99882b(0x179))/0x8)+-parseInt(_0x99882b(0x218))/0x9*(-parseInt(_0x99882b(0x1d1))/0xa)+-parseInt(_0x99882b(0x21c))/0xb;if(_0x114115===_0x2bf956)break;else _0x17e9e2['push'](_0x17e9e2['shift']());}catch(_0x226c23){_0x17e9e2['push'](_0x17e9e2['shift']());}}}(_0x329d,0x4ba50));import{Plugin as _0x10fe59,PendingActions as _0x12731f}from'ckeditor5/src/core.js';import{CKEditorError as _0x3af072,version as _0x59d1e6,uid as _0x4ba152}from'ckeditor5/src/utils.js';import{Notification as _0x5494b3}from'ckeditor5/src/ui.js';function _0x329d(){const _0x2a80c2=['_ignoredOperations','realtimecollaborationclient-init-connection-failed','_pendingAction','_refreshUserSelectionMarkers','_crash','9820ggTqbx','Permissions','affectsData','startsWith','cloudDocumentVersion','disableReadOnlyMode','selection','rtc-offline','unregister','suppressErrorInCollaboration','_authorId','_lastSyncedOperationId','_updateServerHistory','_isInit','from','baseVersion','lastSyncVersion','_initSessionsHandling','addToReconnectionStack','_shouldSendSelectionUpdate','_decompressOperations','11153NhJPsu','_getOperationsFromInitData','getDocumentDetails','root','filter','requires','error','addRootAttribute','fromJSON','listenTo','realtimecollaborationclient-init-service-internal-error','affectedSelectable','state','map','_loadRoot','Synchronization\x20issue','channelSessions','collaboration.channelId','locale','_connectService','Notification','position','stop','document','directChange','_service','66esScvv','_isConnected','_isAttached','off','sessionCreatedAt','createUserMarkerOperations','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','wasUndone','_clearPendingAction','bind','isEnabled','wereChangesApplied','define','2163210tSwSOQ','realtimecollaborationclient-init-session-connection-error','newRange','decompress','disconnect','reconnection:\x20flushed\x20session','getOperationAuthor','slice','config','markers','4788fIYRHy','editing','getConnectedSessions','loadRoot','2446499HndPjm','_knownOperations','attributes','toJSON','_fetchMissingUsers','CollaborativeEditingService','realtimecollaborationclient','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','data','enqueueChange','RealTimeCollaborationClient','cloud-services-internal-error:\x20Request\x20timeout.','version','batch','getUser','catch','_compressor','serverHistory','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-handleserverresponse','set','change:range','_lastServerVersion','insert','getRoot','init','offset','_hasSynchronizationProblem','targetPosition','_isPendingUpdate','_bufferedOperations','_handleSendingSelectionMarkers','currentDocumentSession','initData','isPremiumPlugin','connected','get','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.','register','cloudServices.bundleVersion','finally','createRoot','reset','_sendBufferedOperations','collaboration-missing-channelid','_hasSelectionChanged','_handleReceivedOperations','_channelId','createPositionFromPath','_disconnectService','start','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','model','applyOperation','_disconnectionOperations','_sendBufferedOperationsDelayId','createPositionAt','_handleExternalOperations','apply','_handleReconnectionResponse','CommentsOnly','getMany','remove','view','_knownRootNames','rootName','lastOperationId','return','editor','move','mySessionId','message','$root','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','showWarning','history','14MUlDYN','createdAt','addUser','1526370IxlhaS','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rootsAttributes','operationsReceived','_sendBufferedOperationsDelayed','addRoot','_handleInitialConnectionData','_document','_applyOperationsSet','isReadOnly','then','_isLoaded','lastDocumentSession','code','fire','_currentBufferDelay','494152RHprAS','_bufferRootLoad','_waitUntilSynced','clone','destroy','realtimecollaborationclient-error','reconnect','93HuasZJ','cs:removeUser','stopListening','_baseBufferDelay','_getAffectedRoot','lastOperationAcceptedAt','parse','cloud-services-internal-error:\x20Not\x20connected.','404','high','_operationToId','marker','realtimecollaborationclient-init-non-existent-root','setPermissions','includes','permissions','end','add','getIdOfTheLastOperation','has','23748BZqLXT','sessionAdd:','_isDisconnection','keys','pluginName','realtimecollaborationclient-sendbufferedoperations','connect','_handleReconnectionError','isUndoneOperation','type','isDocumentOperation','metadata','change:_isPendingUpdate','userId','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.','__className','_handleServerResponse','isOfficialPlugin','rtc-destroyed','connection','forEach','_compressOperations','roots','differ','409','InsertOperation','real-time-collaboration','setIdForTheLastOperation','removeFromReconnectionStack','_saveOperationInBuffer','path','change:hasDomSelection','_addKnownRoot','_setPendingAction','length','compress','_offset','ready','getOperations','entries','push','disconnected','plugins','sessionId','document:write','sendOperations','_setUpDataInit','_operationIdentifier','_shouldSendUpdate','collaboration','createRange','enableReadOnlyMode','multi-root-editor-root-attributes-no-root','_connectAfterSessionHasBeenFlushed','string','round'];_0x329d=function(){return _0x2a80c2;};return _0x329d();}import{transformOperationSets as _0x8985f5,NoOperation as _0x379d05,InsertOperation as _0x304e12,MarkerOperation as _0x196036,RootAttributeOperation as _0x1e264f,OperationFactory as _0x5b6ba9,History as _0x276d6e}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x21506e}from'./websocketgateway.js';import{Sessions as _0x48d6c0}from'./sessions.js';import{UserMarkers as _0x4b64bd}from'./usermarkers.js';import{getTranslation as _0x1513a6}from'../common-translations.js';import{Compressor as _0xf76f5d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1fb8a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb2772,CollaborativeEditingService as _0x11613d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x10fe59{static [_0x1c7799(0x221)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x11613d)());[_0x1c7799(0x1b8)];[_0x1c7799(0x1bf)];[_0x1c7799(0x22e)];[_0x1c7799(0x24c)];[_0x1c7799(0x1ff)];[_0x1c7799(0x170)];[_0x1c7799(0x22d)];[_0x1c7799(0x23b)];[_0x1c7799(0x21d)];[_0x1c7799(0x157)];[_0x1c7799(0x1ce)];[_0x1c7799(0x24a)];[_0x1c7799(0x255)];[_0x1c7799(0x183)];[_0x1c7799(0x178)];[_0x1c7799(0x1dc)];[_0x1c7799(0x254)];[_0x1c7799(0x1c3)];static get[_0x1c7799(0x1eb)](){return[_0x21506e,_0x48d6c0,_0x4b64bd,_0x12731f,_0x1fb8a9,_0x5494b3];}static get[_0x1c7799(0x198)](){const _0x12b855=_0x1c7799;return _0x12b855(0x227);}static get[_0x1c7799(0x1a5)](){return!0x0;}static get[_0x1c7799(0x23f)](){return!0x0;}get[_0x1c7799(0x1d5)](){const _0x4df81a=_0x1c7799;return this[_0x4df81a(0x233)]+this[_0x4df81a(0x1b8)];}get[_0x1c7799(0x233)](){const _0x5a1c47=_0x1c7799;return this[_0x5a1c47(0x22e)][_0x5a1c47(0x229)]-this[_0x5a1c47(0x1b8)];}get[_0x1c7799(0x1e1)](){const _0x399d96=_0x1c7799,_0x3bee37=this[_0x399d96(0x22e)][_0x399d96(0x1ba)]();for(let _0x514ca9=_0x3bee37[_0x399d96(0x1b6)]-0x1;_0x514ca9>=0x0;_0x514ca9--){const _0x3fb942=_0x3bee37[_0x514ca9];if(!this[_0x399d96(0x254)][_0x399d96(0x193)](_0x3fb942))return _0x3fb942[_0x399d96(0x1e0)]+0x1-this[_0x399d96(0x1b8)];}return 0x0;}constructor(_0x52aae7){const _0x5abdf8=_0x1c7799;if(super(_0x52aae7),this[_0x5abdf8(0x1b8)]=0x0,this[_0x5abdf8(0x1bf)]=null,this[_0x5abdf8(0x22e)]=new _0x276d6e(),this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x20d)](_0x5abdf8(0x1c5),{}),this[_0x5abdf8(0x24c)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x1f7)),!this[_0x5abdf8(0x24c)])throw new _0x3af072(_0x5abdf8(0x249),this);const _0x47f0bb=_0x52aae7[_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x244))||_0x59d1e6;this[_0x5abdf8(0x1ff)]=new RealTimeCollaborationClient[(_0x5abdf8(0x221))](_0x47f0bb,this[_0x5abdf8(0x24c)]),this[_0x5abdf8(0x170)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x252)][_0x5abdf8(0x1fd)],this[_0x5abdf8(0x22d)]=new _0xf76f5d(),this[_0x5abdf8(0x23b)]=[],this[_0x5abdf8(0x21d)]=new WeakSet(),this[_0x5abdf8(0x157)]=new Set(),this[_0x5abdf8(0x231)](_0x5abdf8(0x23a),!0x1),this[_0x5abdf8(0x231)](_0x5abdf8(0x238),!0x1),this[_0x5abdf8(0x1ce)]=null,this[_0x5abdf8(0x24a)]=!0x1,this[_0x5abdf8(0x255)]=null,this[_0x5abdf8(0x183)]=0x12c,this[_0x5abdf8(0x178)]=this[_0x5abdf8(0x183)],this[_0x5abdf8(0x1dc)]=null,this[_0x5abdf8(0x254)]=new WeakSet(),this[_0x5abdf8(0x1c3)]=new J(this[_0x5abdf8(0x254)]);}[_0x1c7799(0x236)](){const _0x131600=_0x1c7799,_0x401883=this[_0x131600(0x15b)],_0x422ed4=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x1fb8a9),_0x42ae68=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x21506e);this[_0x131600(0x1ef)](_0x422ed4,_0x131600(0x214),(_0x2ff0a6,_0x340322)=>{const _0x545898=_0x131600,_0x181640=_0x340322[0x0];_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=_0x422ed4[_0x545898(0x22b)](_0x181640[_0x545898(0x1db)]),_0x2ff0a6[_0x545898(0x1fc)]()),null===_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=null,_0x2ff0a6[_0x545898(0x1fc)]());},{'priority':_0x131600(0x189)}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x252)][_0x131600(0x1fd)][_0x131600(0x1d7)],_0x131600(0x232),(_0x23e89b,_0x2a1733)=>{const _0xec2a0a=_0x131600;_0x2a1733[_0xec2a0a(0x1fe)]&&this[_0xec2a0a(0x1cf)]();}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x219)][_0x131600(0x156)],_0x131600(0x1b3),()=>{const _0x46253d=_0x131600;this[_0x46253d(0x1cf)]();}),this[_0x131600(0x160)](),_0x401883[_0x131600(0x252)]['on'](_0x131600(0x253),(_0x24a811,_0x1e5050)=>{const _0x180036=_0x131600,_0x3f1756=_0x1e5050[0x0];_0x3f1756[_0x180036(0x19e)]&&(this[_0x180036(0x1b1)](_0x3f1756),this[_0x180036(0x1c4)]()&&this[_0x180036(0x16d)]());}),this[_0x131600(0x1c2)](),this[_0x131600(0x20a)](_0x131600(0x250))['to'](_0x42ae68,_0x131600(0x1f2),this,_0x131600(0x238),(_0x472076,_0x42803f)=>_0x131600(0x240)===_0x472076&&!_0x42803f),this['on'](_0x131600(0x207),()=>{const _0x5740f=_0x131600;this[_0x5740f(0x250)]?_0x401883[_0x5740f(0x1d6)](_0x5740f(0x1d8)):_0x401883[_0x5740f(0x1c7)](_0x5740f(0x1d8));}),this[_0x131600(0x250)]?_0x401883[_0x131600(0x1d6)](_0x131600(0x1d8)):_0x401883[_0x131600(0x1c7)](_0x131600(0x1d8)),this[_0x131600(0x231)](_0x131600(0x201),!0x1);}async[_0x1c7799(0x17f)](){const _0x2a672b=_0x1c7799,_0x967a41=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x48d6c0),_0x446d12=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x21506e);try{this[_0x2a672b(0x23a)]=!0x0,_0x967a41[_0x2a672b(0x1d9)](this[_0x2a672b(0x24c)]);const _0x13a4a5=await this[_0x2a672b(0x1ff)][_0x2a672b(0x17f)](_0x446d12[_0x2a672b(0x1a7)],this[_0x2a672b(0x1e1)]);await this[_0x2a672b(0x259)](_0x13a4a5)&&(this[_0x2a672b(0x23a)]=!0x1,this[_0x2a672b(0x209)]());const _0x115593=await this[_0x2a672b(0x1ff)][_0x2a672b(0x21a)]();_0x967a41[_0x2a672b(0x243)](this[_0x2a672b(0x24c)],_0x115593),this[_0x2a672b(0x23c)](),this[_0x2a672b(0x201)]=!0x0;}catch(_0x5e6a4c){if(function(_0x1c42c3){const _0x1f0ca5=_0x2a672b;return _0x1f0ca5(0x188)===_0x1c42c3[_0x1f0ca5(0x176)];}(_0x5e6a4c)&&this[_0x2a672b(0x1bf)])await this[_0x2a672b(0x1c9)]();else{if(function(_0x216707){const _0x30c373=_0x2a672b;return _0x30c373(0x1ac)===_0x216707[_0x30c373(0x176)];}(_0x5e6a4c)){const _0x8be9dd=_0x1513a6(this[_0x2a672b(0x15b)][_0x2a672b(0x1f8)],_0x2a672b(0x223));this[_0x2a672b(0x19b)](_0x8be9dd);}else{if(!(_0x5e6a4c instanceof $))throw _0x5e6a4c;this[_0x2a672b(0x19b)]();}}}}[_0x1c7799(0x17d)](){const _0x3d564b=_0x1c7799,_0x1b590a=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x21506e),_0x5c7172=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x48d6c0);this[_0x3d564b(0x15b)][_0x3d564b(0x1c7)](_0x3d564b(0x1a6)),_0x5c7172[_0x3d564b(0x1f6)][_0x3d564b(0x193)](this[_0x3d564b(0x24c)])&&_0x5c7172[_0x3d564b(0x1d9)](this[_0x3d564b(0x24c)]),_0x1b590a[_0x3d564b(0x1b0)](this),this[_0x3d564b(0x24e)](),super[_0x3d564b(0x17d)]();}async[_0x1c7799(0x259)](_0xf15cb3){const _0x653dfa=_0x1c7799;if(this[_0x653dfa(0x1bf)]!==_0xf15cb3[_0x653dfa(0x1bf)]&&this[_0x653dfa(0x1dc)]!==_0xf15cb3[_0x653dfa(0x159)])throw new $();return this[_0x653dfa(0x1bf)]=_0xf15cb3[_0x653dfa(0x1bf)],this[_0x653dfa(0x1a4)]([],{..._0xf15cb3,'wereChangesApplied':!0x1,'data':_0xf15cb3[_0x653dfa(0x225)]},_0x653dfa(0x17f));}async[_0x1c7799(0x1f9)](_0x5b2945,_0x4ce61e=!0x1){const _0x2ae1d0=_0x1c7799,{connection:_0x59d2fc}=this[_0x2ae1d0(0x15b)][_0x2ae1d0(0x1be)][_0x2ae1d0(0x241)](_0x21506e);RealTimeCollaborationClient[_0x2ae1d0(0x221)][_0x2ae1d0(0x21a)](_0x59d2fc,this[_0x2ae1d0(0x24c)])[_0x2ae1d0(0x173)](_0x51179e=>this[_0x2ae1d0(0x1e2)](_0x51179e))[_0x2ae1d0(0x22c)](_0x2af2fd=>{const _0x229089=_0x2ae1d0;this[_0x229089(0x1d0)](_0x229089(0x20f),_0x2af2fd);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x16c),this[_0x2ae1d0(0x24b)][_0x2ae1d0(0x20a)](this)),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1ec),(_0x123c35,_0x3c247f)=>{const _0x16b82e=_0x2ae1d0;this[_0x16b82e(0x1d0)](_0x16b82e(0x1f0),_0x3c247f);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1bd),()=>{const _0x328de7=_0x2ae1d0;this[_0x328de7(0x201)]=!0x1;});const _0xf7f257=this[_0x2ae1d0(0x1c3)][_0x2ae1d0(0x192)](_0x5b2945);this[_0x2ae1d0(0x23a)]=!0x0;const _0x79934=await this[_0x2ae1d0(0x1ff)][_0x2ae1d0(0x19a)](_0x59d2fc,this[_0x2ae1d0(0x1a9)](_0x5b2945),_0xf7f257);if(this[_0x2ae1d0(0x1bf)]=_0x79934[_0x2ae1d0(0x1bf)],_0x4ce61e){if(!_0x79934[_0x2ae1d0(0x20c)])return void this[_0x2ae1d0(0x19b)]();this[_0x2ae1d0(0x23a)]=!0x1,this[_0x2ae1d0(0x209)](),this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x247)](),this[_0x2ae1d0(0x1b8)]=_0x79934[_0x2ae1d0(0x237)],this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x229)]=this[_0x2ae1d0(0x1b8)],await this[_0x2ae1d0(0x1a4)](_0x5b2945,_0x79934,_0x2ae1d0(0x213));}else await this[_0x2ae1d0(0x16f)](_0x79934,_0x5b2945);this[_0x2ae1d0(0x23c)](),this[_0x2ae1d0(0x201)]=!0x0;}[_0x1c7799(0x23c)](){const _0x435a3e=_0x1c7799,_0x1faa8e=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x48d6c0),_0x19719f=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x4b64bd),_0x542158=_0x1faa8e[_0x435a3e(0x1f6)][_0x435a3e(0x241)](this[_0x435a3e(0x24c)]);_0x542158&&_0x542158[_0x435a3e(0x1b6)]>0x1?_0x19719f[_0x435a3e(0x205)]():this[_0x435a3e(0x1ef)](_0x1faa8e,_0x435a3e(0x195)+this[_0x435a3e(0x24c)],()=>{const _0x5b0f32=_0x435a3e;0x2===_0x1faa8e[_0x5b0f32(0x1f6)][_0x5b0f32(0x241)](this[_0x5b0f32(0x24c)])[_0x5b0f32(0x1b6)]&&_0x19719f[_0x5b0f32(0x205)]();});}async[_0x1c7799(0x24b)](_0x250bab,_0x548cb2,_0x89765d,_0x1665b8){const _0x4de551=_0x1c7799;if(!this[_0x4de551(0x23a)]&&this[_0x4de551(0x170)][_0x4de551(0x229)]==_0x548cb2){const _0x409b7f=this[_0x4de551(0x1e5)](_0x89765d,_0x1665b8);await this[_0x4de551(0x220)](_0x409b7f),this[_0x4de551(0x257)](_0x409b7f,_0x548cb2,_0x89765d[_0x4de551(0x159)])||this[_0x4de551(0x1d0)](_0x4de551(0x22f));}}async[_0x1c7799(0x1c9)](){const _0x32ee17=_0x1c7799;this[_0x32ee17(0x24e)]();const {locale:_0x15c105}=this[_0x32ee17(0x15b)];let _0x21ba83;try{_0x21ba83=await this[_0x32ee17(0x1ff)][_0x32ee17(0x1e8)]();}catch{const _0x1d7dd7=_0x1513a6(_0x15c105,_0x32ee17(0x161));return void this[_0x32ee17(0x19b)](_0x1d7dd7);}const _0x207c05=_0x21ba83[_0x32ee17(0x23d)]||_0x21ba83[_0x32ee17(0x175)];if(this[_0x32ee17(0x1dc)]!==_0x207c05[_0x32ee17(0x159)]){const _0x1bb9fc=_0x1513a6(_0x15c105,_0x32ee17(0x1a2));return void this[_0x32ee17(0x19b)](_0x1bb9fc);}await this[_0x32ee17(0x1f9)](this[_0x32ee17(0x15b)][_0x32ee17(0x252)][_0x32ee17(0x1fd)][_0x32ee17(0x165)][_0x32ee17(0x1ba)](),!0x0);}[_0x1c7799(0x24e)](){const _0x413f79=_0x1c7799;this[_0x413f79(0x1ff)][_0x413f79(0x212)](),this[_0x413f79(0x23b)]=[],clearTimeout(this[_0x413f79(0x255)]),this[_0x413f79(0x182)](this[_0x413f79(0x1ff)]);}[_0x1c7799(0x1e2)](_0x1197e1){const _0x2def6f=_0x1c7799,_0x17a7c7=this[_0x2def6f(0x15b)][_0x2def6f(0x1be)][_0x2def6f(0x241)](_0x48d6c0);this[_0x2def6f(0x1ef)](_0x17a7c7,_0x2def6f(0x195)+this[_0x2def6f(0x24c)],(_0x1a10bc,{session:_0x58b224})=>{const _0x198814=_0x2def6f;if(_0x58b224['id']===_0x17a7c7[_0x198814(0x15d)]){_0x1a10bc[_0x198814(0x203)]();const _0x15700e=this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x193)](_0x198814(0x25a))&&this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x25a));let _0x6d9ff8=_0x58b224[_0x198814(0x18f)];_0x15700e&&_0x15700e[_0x198814(0x20b)]&&(_0x6d9ff8=_0x6d9ff8[_0x198814(0x1ea)](_0x8418d0=>_0x198814(0x1c0)!==_0x8418d0)),this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x1d2))[_0x198814(0x18d)](_0x6d9ff8,this[_0x198814(0x24c)]);}}),_0x17a7c7[_0x2def6f(0x243)](this[_0x2def6f(0x24c)],_0x1197e1);}[_0x1c7799(0x160)](){const _0x297623=_0x1c7799,_0x299a28=this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)];this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)]=(..._0x12166b)=>{const _0x3ace01=_0x297623;if(!_0x12166b[_0x12166b[_0x3ace01(0x1b6)]-0x1][_0x3ace01(0x1da)])throw new _0x3af072(_0x3ace01(0x163),this);_0x299a28[_0x3ace01(0x258)](this[_0x3ace01(0x15b)][_0x3ace01(0x225)],_0x12166b);};}[_0x1c7799(0x1c2)](){const _0x507391=_0x1c7799;this[_0x507391(0x15b)][_0x507391(0x225)]['on'](_0x507391(0x236),(_0x13ffb7,[_0x3c78f4])=>{const _0xafe661=_0x507391;if(this[_0xafe661(0x170)][_0xafe661(0x229)])throw new _0x3af072(_0xafe661(0x206),this);_0x13ffb7[_0xafe661(0x1fc)](),this[_0xafe661(0x1b5)]();const _0x14520d=this[_0xafe661(0x15b)][_0xafe661(0x216)][_0xafe661(0x241)](_0xafe661(0x16b)),_0xcf3e2c=this[_0xafe661(0x1e7)](_0x3c78f4,_0x14520d);0x0==_0xcf3e2c[_0xafe661(0x1b6)]&&_0xcf3e2c[_0xafe661(0x1bc)](new _0x379d05(0x0)),_0x13ffb7[_0xafe661(0x15a)]=this[_0xafe661(0x1f9)](_0xcf3e2c)[_0xafe661(0x173)](()=>{const _0x233281=_0xafe661;this[_0x233281(0x15b)][_0x233281(0x1be)][_0x233281(0x241)](_0x21506e)[_0x233281(0x1e3)](this),this[_0x233281(0x15b)][_0x233281(0x225)][_0x233281(0x177)](_0x233281(0x1b9));})[_0xafe661(0x22c)](_0xb00d9a=>this[_0xafe661(0x1d0)](_0xafe661(0x1cd),_0xb00d9a))[_0xafe661(0x245)](()=>this[_0xafe661(0x209)]());},{'priority':_0x507391(0x189)}),this[_0x507391(0x15b)]['on'](_0x507391(0x21b),async(_0x4b55eb,[_0x1a700e,_0x5f0ae7])=>{const _0x450d9c=_0x507391;_0x4b55eb[_0x450d9c(0x1fc)]();const _0x592f1f=this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x1fd)][_0x450d9c(0x235)](_0x1a700e);if(!this[_0x450d9c(0x157)][_0x450d9c(0x193)](_0x1a700e)){const _0x2cfeda=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x225)]?_0x5f0ae7[_0x450d9c(0x225)]:'',_0x3d5286=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x21e)]?_0x5f0ae7[_0x450d9c(0x21e)]:{};await this[_0x450d9c(0x1f4)](_0x1a700e,_0x2cfeda,_0x3d5286);}this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x226)]({'isUndoable':!0x1},()=>{const _0x185818=_0x450d9c;_0x592f1f[_0x185818(0x174)]=!0x0,this[_0x185818(0x15b)][_0x185818(0x252)][_0x185818(0x1fd)][_0x185818(0x1ab)][_0x185818(0x17a)](_0x592f1f);});},{'priority':_0x507391(0x189)});}async[_0x1c7799(0x220)](_0x1dfe7a){const _0x58716f=_0x1c7799,_0x30d827=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x1fb8a9),{connection:_0x23cf1b}=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x21506e),_0x4c7a98=new Set();for(const _0xa9dba6 of _0x1dfe7a){const _0x22cdec=_0xa9dba6[_0x58716f(0x1db)];_0x22cdec&&!_0x30d827[_0x58716f(0x22b)](_0x22cdec)&&_0x4c7a98[_0x58716f(0x191)](_0x22cdec);}if(0x0===_0x4c7a98[_0x58716f(0x224)])return;const _0x5222a2=await _0xb2772[_0x58716f(0x154)](_0x23cf1b,Array[_0x58716f(0x1df)](_0x4c7a98));for(const _0x2c5f11 of _0x5222a2)_0x30d827[_0x58716f(0x22b)](_0x2c5f11['id'])||_0x30d827[_0x58716f(0x168)](_0x2c5f11);}[_0x1c7799(0x1e7)](_0x3fb965,_0x45c69d={}){const _0x56c72e=_0x1c7799,_0x436fbe=this[_0x56c72e(0x15b)][_0x56c72e(0x252)],_0x4bf7f1=[];let _0x2a2b2f=0x0;const _0x487d62=_0x56c72e(0x1ca)==typeof _0x3fb965?{'main':_0x3fb965}:_0x3fb965;for(const _0x25ca53 of Object[_0x56c72e(0x197)](_0x487d62)){if(!this[_0x56c72e(0x170)][_0x56c72e(0x1aa)][_0x56c72e(0x193)](_0x25ca53))throw new _0x3af072(_0x56c72e(0x18c),this);const _0x2ce783=this[_0x56c72e(0x15b)][_0x56c72e(0x225)][_0x56c72e(0x186)](_0x487d62[_0x25ca53]),_0x5b9e32=this[_0x56c72e(0x170)][_0x56c72e(0x235)](_0x25ca53),_0x1bbbd3=new _0x304e12(_0x436fbe[_0x56c72e(0x256)](_0x5b9e32,0x0),_0x2ce783,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x1bbbd3);for(const [_0x51a2c9,_0x29d2aa]of _0x2ce783[_0x56c72e(0x217)]){const _0x1ccf5c=_0x436fbe[_0x56c72e(0x1c6)](_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x24f)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]()),_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x190)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]())),_0x293b5d=new _0x196036(_0x51a2c9,null,_0x1ccf5c,_0x436fbe[_0x56c72e(0x217)],!0x0,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x293b5d);}}if(_0x45c69d)for(const [_0x46d681,_0x31c184]of Object[_0x56c72e(0x1bb)](_0x45c69d)){const _0x357207=_0x436fbe[_0x56c72e(0x1fd)][_0x56c72e(0x235)](_0x46d681);if(!_0x357207)throw new _0x3af072(_0x56c72e(0x1c8),null);for(const [_0x22392e,_0xffb429]of Object[_0x56c72e(0x1bb)](_0x31c184))if(null!==_0xffb429){const _0x880a59=new _0x1e264f(_0x357207,_0x22392e,null,_0xffb429,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x880a59);}}return _0x4bf7f1;}async[_0x1c7799(0x1f4)](_0x1c28a6,_0xd2f3fe,_0x24246e){const _0x2f2873=_0x1c7799;this[_0x2f2873(0x1e7)]({[_0x1c28a6]:_0xd2f3fe},{[_0x1c28a6]:_0x24246e})[_0x2f2873(0x1a8)]((_0x470cdc,_0x20a5dc)=>{const _0x5c6f8f=_0x2f2873;_0x470cdc[_0x5c6f8f(0x1e0)]=this[_0x5c6f8f(0x170)][_0x5c6f8f(0x229)]+_0x20a5dc,_0x470cdc[_0x5c6f8f(0x1de)]=!0x0,this[_0x5c6f8f(0x1b1)](_0x470cdc);}),this[_0x2f2873(0x16d)](),await this[_0x2f2873(0x17b)]();}async[_0x1c7799(0x16f)](_0x66062a,_0x225766){const _0x4bb44a=_0x1c7799;let _0xfbe1db;this[_0x4bb44a(0x1b8)]=_0x66062a[_0x4bb44a(0x237)];const _0x4be425=_0x66062a[_0x4bb44a(0x20c)]&&!_0x66062a[_0x4bb44a(0x23e)],_0x238f53=_0x4be425?0x0:_0x66062a[_0x4bb44a(0x225)][_0x4bb44a(0x1e0)];if(_0x225766[_0x4bb44a(0x1a8)](_0x1b65ef=>{const _0x5c5cc2=_0x4bb44a;_0x1b65ef[_0x5c5cc2(0x1de)]=!0x0,_0x1b65ef[_0x5c5cc2(0x167)]=_0x66062a[_0x5c5cc2(0x204)],_0x1b65ef[_0x5c5cc2(0x1db)]=null;}),_0x4be425)_0xfbe1db=_0x225766,this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);else{if(_0x66062a[_0x4bb44a(0x23e)]){const _0x1103f1=this[_0x4bb44a(0x1e7)](_0x66062a[_0x4bb44a(0x23e)]);this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)],_0x1103f1[_0x4bb44a(0x1a8)](_0x13f2bc=>{const _0x257002=_0x4bb44a;_0x13f2bc[_0x257002(0x1e0)]-=_0x1103f1[_0x257002(0x1b6)],_0x13f2bc[_0x257002(0x167)]=_0x66062a[_0x257002(0x204)],_0x13f2bc[_0x257002(0x1de)]=!0x0,_0x13f2bc[_0x257002(0x1db)]=null;}),this[_0x4bb44a(0x171)](_0x1103f1,!0x0),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)]+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0x1103f1);}this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=_0x238f53,_0xfbe1db=this[_0x4bb44a(0x1e5)](_0x66062a[_0x4bb44a(0x225)],_0x66062a[_0x4bb44a(0x19f)]),await this[_0x4bb44a(0x220)](_0xfbe1db),this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);}_0x66062a[_0x4bb44a(0x159)]&&(this[_0x4bb44a(0x1c3)][_0x4bb44a(0x1af)](_0xfbe1db,_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x1dc)]=_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=_0x238f53+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0xfbe1db),_0x225766[_0x4bb44a(0x1ea)](_0x466cef=>{const _0x22057b=_0x4bb44a,_0x5569bf=this[_0x22057b(0x184)](_0x466cef);return _0x5569bf&&!this[_0x22057b(0x157)][_0x22057b(0x193)](_0x5569bf);})[_0x4bb44a(0x1a8)]((_0x1f47a3,_0x4a35b6)=>{const _0x385dae=_0x4bb44a;_0x1f47a3[_0x385dae(0x1e0)]=this[_0x385dae(0x170)][_0x385dae(0x229)]+_0x4a35b6,this[_0x385dae(0x1b1)](_0x1f47a3);}),this[_0x4bb44a(0x1c4)]()?(this[_0x4bb44a(0x178)]=0x0,this[_0x4bb44a(0x16d)](!0x0),await this[_0x4bb44a(0x17b)]()):(this[_0x4bb44a(0x23a)]=!0x1,this[_0x4bb44a(0x209)]());}[_0x1c7799(0x1d0)](_0x2d6cae,_0x2d5e7a){const _0x47d4a3=_0x1c7799,_0x3ca6ec=_0x2d5e7a&&_0x2d5e7a[_0x47d4a3(0x15e)];if(_0x3ca6ec&&_0x3ca6ec[_0x47d4a3(0x1d4)](_0x47d4a3(0x222)))throw _0x2d5e7a;const _0x5c491e=this[_0x47d4a3(0x15b)][_0x47d4a3(0x1be)][_0x47d4a3(0x241)](_0x21506e);throw this[_0x47d4a3(0x23a)]=!0x0,_0x5c491e[_0x47d4a3(0x212)](),this[_0x47d4a3(0x15b)][_0x47d4a3(0x1c7)](_0x47d4a3(0x17e)),new _0x3af072(_0x2d6cae,this[_0x47d4a3(0x15b)],_0x3ca6ec?{'originalError':_0x3ca6ec}:void 0x0);}[_0x1c7799(0x1b1)](_0x1d5648){const _0x148c45=_0x1c7799;this[_0x148c45(0x21d)][_0x148c45(0x193)](_0x1d5648)||(this[_0x148c45(0x21d)][_0x148c45(0x191)](_0x1d5648),this[_0x148c45(0x23b)][_0x148c45(0x1bc)](_0x1d5648),this[_0x148c45(0x1ce)]||_0x148c45(0x18b)==_0x1d5648[_0x148c45(0x19d)]&&!_0x1d5648[_0x148c45(0x1d3)]||this[_0x148c45(0x1b5)]());}[_0x1c7799(0x16d)](_0x34157b=!0x1){const _0x3d3214=_0x1c7799;!_0x34157b&&this[_0x3d3214(0x23a)]||(this[_0x3d3214(0x23a)]=!0x0,clearTimeout(this[_0x3d3214(0x255)]),this[_0x3d3214(0x255)]=setTimeout(()=>{const _0x5aa2c9=_0x3d3214;this[_0x5aa2c9(0x248)]()[_0x5aa2c9(0x173)](_0x540dc2=>{const _0x1cccc3=_0x5aa2c9;_0x540dc2&&(this[_0x1cccc3(0x209)](),this[_0x1cccc3(0x23a)]=!0x1);})[_0x5aa2c9(0x22c)](_0x188987=>{const _0x131cfa=_0x5aa2c9;this[_0x131cfa(0x209)](),this[_0x131cfa(0x23a)]=!0x1,function(_0x56c29c){const _0x274ddc=_0x131cfa;return _0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x187))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x16a))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x228));}(_0x188987)||this[_0x131cfa(0x1d0)](_0x188987[_0x131cfa(0x15e)],_0x188987);});},this[_0x3d3214(0x178)]));}[_0x1c7799(0x17b)](){return new Promise(_0x1fe0ba=>{const _0x4b3be4=_0x3e36;this['on'](_0x4b3be4(0x1a0),()=>{_0x1fe0ba();});});}async[_0x1c7799(0x248)](){const _0x10fff6=_0x1c7799,_0x53a5ec=this[_0x10fff6(0x15b)][_0x10fff6(0x1be)][_0x10fff6(0x241)](_0x4b64bd);if(this[_0x10fff6(0x1e4)]()&&(_0x53a5ec[_0x10fff6(0x205)](),this[_0x10fff6(0x24a)]=!0x1),!this[_0x10fff6(0x1c4)]())return!0x0;const _0x855f31=[...this[_0x10fff6(0x23b)]];for(const _0x42e0e7 of _0x855f31)_0x42e0e7[_0x10fff6(0x208)]=this[_0x10fff6(0x170)][_0x10fff6(0x165)][_0x10fff6(0x19c)](_0x42e0e7);const _0x145a60=this[_0x10fff6(0x1c3)][_0x10fff6(0x192)](_0x855f31),_0x3a10f1=G++,_0x589a73=this[_0x10fff6(0x1a9)](_0x855f31),_0x491c8c=await this[_0x10fff6(0x1ff)][_0x10fff6(0x1c1)](_0x589a73,_0x589a73[_0x10fff6(0x1e0)],_0x145a60);try{return await this[_0x10fff6(0x1a4)](_0x855f31,_0x491c8c,_0x3a10f1);}catch(_0xc05604){return this[_0x10fff6(0x1d0)](_0x10fff6(0x199),_0xc05604);}}async[_0x1c7799(0x1a4)](_0x8ea758,_0xa5e2cf,_0x415057){const _0x5bd372=_0x1c7799;if(_0x5bd372(0x1ec)in _0xa5e2cf)throw _0xa5e2cf[_0x5bd372(0x1ec)];let _0x1c685d=!0x1;if(_0xa5e2cf[_0x5bd372(0x20c)]){_0xa5e2cf[_0x5bd372(0x159)]&&(this[_0x5bd372(0x1dc)]=_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x206cc6=>!_0x8ea758[_0x5bd372(0x18e)](_0x206cc6));for(const _0x548177 of _0x8ea758)_0x548177[_0x5bd372(0x167)]=_0x5bd372(0x185)in _0xa5e2cf&&_0xa5e2cf[_0x5bd372(0x185)]||void 0x0;K(_0x8ea758,_0xa5e2cf[_0x5bd372(0x229)]-_0x8ea758[_0x5bd372(0x1b6)]),this[_0x5bd372(0x1dd)](_0x8ea758);const _0x378851=_0x8ea758[_0x5bd372(0x1ea)](_0xf6951e=>{const _0x5f3ed4=_0x5bd372;if(!_0xf6951e[_0x5f3ed4(0x1de)])return!0x1;const _0x52de88=this[_0x5f3ed4(0x184)](_0xf6951e);return _0x52de88&&!this[_0x5f3ed4(0x157)][_0x5f3ed4(0x193)](_0x52de88);});K(_0x378851,this[_0x5bd372(0x170)][_0x5bd372(0x229)]),this[_0x5bd372(0x171)](_0x378851),_0x1c685d=!0x0,this[_0x5bd372(0x178)]=this[_0x5bd372(0x183)];}else{const _0x32da26=this[_0x5bd372(0x1e5)](_0xa5e2cf[_0x5bd372(0x225)],_0xa5e2cf[_0x5bd372(0x19f)])[_0x5bd372(0x1ea)](_0x1e2d44=>_0x1e2d44[_0x5bd372(0x1e0)]>=this[_0x5bd372(0x233)]);_0x32da26[_0x5bd372(0x1a8)](_0x1ffa21=>this[_0x5bd372(0x1b4)](_0x1ffa21)),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x23022b=>!_0x23022b[_0x5bd372(0x1de)]||!this[_0x5bd372(0x157)][_0x5bd372(0x193)](this[_0x5bd372(0x184)](_0x23022b))),this[_0x5bd372(0x23b)][_0x5bd372(0x1b6)]&&K(this[_0x5bd372(0x23b)],this[_0x5bd372(0x23b)][0x0][_0x5bd372(0x1e0)]),await this[_0x5bd372(0x220)](_0x32da26),_0x1c685d=this[_0x5bd372(0x257)](_0x32da26,_0xa5e2cf[_0x5bd372(0x229)],_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x178)]=Math[_0x5bd372(0x1cb)](this[_0x5bd372(0x178)]/0x2);}return _0x1c685d?!this[_0x5bd372(0x1c4)]()||(this[_0x5bd372(0x16d)](!0x0),!0x1):this[_0x5bd372(0x1d0)](_0x5bd372(0x230));}[_0x1c7799(0x257)](_0x2661ba,_0x68adde,_0x5b0e2d){const _0x14c5e4=_0x1c7799;try{const _0x3da733={'document':this[_0x14c5e4(0x170)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x280b4c,operationsB:_0x1082c4,originalOperations:_0x15e3fd}=_0x8985f5(_0x2661ba,this[_0x14c5e4(0x23b)],_0x3da733);K(_0x280b4c,this[_0x14c5e4(0x170)][_0x14c5e4(0x229)]),K(_0x1082c4,_0x68adde);for(const _0xbe16f3 of _0x280b4c){const _0xcf0561=_0x15e3fd[_0x14c5e4(0x241)](_0xbe16f3);_0xbe16f3[_0x14c5e4(0x1db)]=_0xcf0561?_0xcf0561[_0x14c5e4(0x1db)]:null;}_0x5b0e2d&&(this[_0x14c5e4(0x1c3)][_0x14c5e4(0x1af)](_0x2661ba,_0x5b0e2d),this[_0x14c5e4(0x1dc)]=_0x5b0e2d),this[_0x14c5e4(0x23b)]=[..._0x1082c4],this[_0x14c5e4(0x171)](_0x280b4c),this[_0x14c5e4(0x1dd)](_0x2661ba);}catch(_0xcb838a){return console[_0x14c5e4(0x1ec)](_0xcb838a),!0x1;}return!0x0;}[_0x1c7799(0x171)](_0x2f8a48,_0x3a1025=!0x1){const _0x104253=_0x1c7799;this[_0x104253(0x15b)][_0x104253(0x252)][_0x104253(0x226)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28522c=>{const _0x192541=_0x104253;for(const _0xa6e39b of _0x2f8a48)this[_0x192541(0x21d)][_0x192541(0x191)](_0xa6e39b),this[_0x192541(0x1b4)](_0xa6e39b),_0x28522c[_0x192541(0x22a)][_0x192541(0x162)](_0xa6e39b),this[_0x192541(0x15b)][_0x192541(0x252)][_0x192541(0x253)](_0xa6e39b);});}[_0x1c7799(0x1b4)](_0x299276){const _0x262266=_0x1c7799,_0x3edd86=this[_0x262266(0x184)](_0x299276);_0x3edd86&&this[_0x262266(0x157)][_0x262266(0x191)](_0x3edd86);}[_0x1c7799(0x184)](_0x113fed){const _0x2d881f=_0x1c7799;let _0x4065d5,_0x3546be;switch(_0x113fed[_0x2d881f(0x19d)]){case _0x2d881f(0x234):_0x4065d5=_0x113fed[_0x2d881f(0x1fb)][_0x2d881f(0x1e9)];break;case _0x2d881f(0x18b):if(_0x3546be=_0x113fed[_0x2d881f(0x210)],!_0x3546be)return null;_0x4065d5=_0x3546be[_0x2d881f(0x1e9)];break;case _0x2d881f(0x1ed):_0x4065d5=_0x113fed[_0x2d881f(0x1e9)];break;case _0x2d881f(0x16e):_0x4065d5=_0x113fed[_0x2d881f(0x1f1)];break;case _0x2d881f(0x15c):_0x4065d5=_0x113fed[_0x2d881f(0x239)][_0x2d881f(0x1e9)];break;default:return null;}return _0x4065d5[_0x2d881f(0x158)];}[_0x1c7799(0x1dd)](_0xf11dec){const _0x8a462a=_0x1c7799;_0xf11dec[_0x8a462a(0x1a8)](_0x4dfa99=>{const _0x3d5fac=_0x8a462a,_0x510ed1=_0x4dfa99[_0x3d5fac(0x17c)]();_0x510ed1[_0x3d5fac(0x1db)]=_0x4dfa99[_0x3d5fac(0x1db)],_0x510ed1[_0x3d5fac(0x1de)]=!!_0x4dfa99[_0x3d5fac(0x1de)],_0x510ed1[_0x3d5fac(0x167)]=_0x4dfa99[_0x3d5fac(0x167)],_0x510ed1[_0x3d5fac(0x1e0)]+=this[_0x3d5fac(0x1b8)],_0x4dfa99[_0x3d5fac(0x196)]&&this[_0x3d5fac(0x254)][_0x3d5fac(0x191)](_0x510ed1),this[_0x3d5fac(0x22e)][_0x3d5fac(0x162)](_0x510ed1);});}[_0x1c7799(0x19b)](_0x5e8602){const _0xa07f01=_0x1c7799,_0x30ef05=this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0xa07f01(0x1fa)),_0x492e3f=this[_0xa07f01(0x15b)][_0xa07f01(0x1f8)];_0x5e8602||(_0x5e8602=_0x1513a6(_0x492e3f,_0xa07f01(0x242))),_0x30ef05[_0xa07f01(0x164)](_0x5e8602,{'title':_0x1513a6(_0x492e3f,_0xa07f01(0x1f5)),'namespace':_0xa07f01(0x1ae)}),this[_0xa07f01(0x238)]=!0x0,clearTimeout(this[_0xa07f01(0x255)]),this[_0xa07f01(0x23b)]=[],this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0x21506e)[_0xa07f01(0x212)]();}[_0x1c7799(0x1b5)](){const _0x2b9ce6=_0x1c7799;this[_0x2b9ce6(0x1ce)]||(this[_0x2b9ce6(0x1ce)]=this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1be)][_0x2b9ce6(0x241)](_0x12731f)[_0x2b9ce6(0x191)](_0x1513a6(this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1f8)],_0x2b9ce6(0x251))));}[_0x1c7799(0x209)](){const _0x3e6a97=_0x1c7799;this[_0x3e6a97(0x1ce)]&&(this[_0x3e6a97(0x15b)][_0x3e6a97(0x1be)][_0x3e6a97(0x241)](_0x12731f)[_0x3e6a97(0x155)](this[_0x3e6a97(0x1ce)]),this[_0x3e6a97(0x1ce)]=null);}[_0x1c7799(0x1a9)](_0x79d51b){const _0x473ecc=_0x1c7799,_0x3e42cf=_0x79d51b[_0x473ecc(0x1f3)](_0x263368=>_0x263368[_0x473ecc(0x21f)]());return this[_0x473ecc(0x22d)][_0x473ecc(0x1b7)](_0x3e42cf);}[_0x1c7799(0x1e5)](_0x531e9f,_0x473df2){const _0x5392a4=_0x1c7799;return this[_0x5392a4(0x22d)][_0x5392a4(0x211)](_0x531e9f)[_0x5392a4(0x1f3)]((_0x5c37f2,_0x3e3c2f)=>{const _0x22d069=_0x5392a4,_0x2f596b=_0x22d069(0x236)==_0x473df2[_0x3e3c2f][_0x22d069(0x19d)];if(_0x22d069(0x1ad)==_0x5c37f2[_0x22d069(0x1a3)]){const _0x59cc28=_0x5c37f2[_0x22d069(0x1fb)][_0x22d069(0x1e9)];!this[_0x22d069(0x170)][_0x22d069(0x235)](_0x59cc28)&&(this[_0x22d069(0x170)][_0x22d069(0x246)](_0x22d069(0x15f),_0x59cc28)[_0x22d069(0x202)]=!0x1);}const _0x7fa1b=_0x5b6ba9[_0x22d069(0x1ee)](_0x5c37f2,this[_0x22d069(0x170)]);return _0x7fa1b[_0x22d069(0x208)]=_0x5c37f2[_0x22d069(0x208)],_0x7fa1b[_0x22d069(0x1de)]=_0x2f596b,_0x7fa1b[_0x22d069(0x1db)]=_0x2f596b?null:_0x473df2[_0x3e3c2f][_0x22d069(0x1a1)],_0x7fa1b[_0x22d069(0x196)]=_0x22d069(0x181)===_0x473df2[_0x3e3c2f][_0x22d069(0x19d)],_0x7fa1b[_0x22d069(0x167)]=_0x473df2[_0x3e3c2f][_0x22d069(0x167)],_0x7fa1b;});}[_0x1c7799(0x1cf)](){const _0x1493cd=_0x1c7799;this[_0x1493cd(0x24a)]=!0x0,this[_0x1493cd(0x1e4)]()?this[_0x1493cd(0x16d)]():this[_0x1493cd(0x24a)]=!0x1;}[_0x1c7799(0x1e4)](){const _0x17b150=_0x1c7799,_0x597a3f=this[_0x17b150(0x15b)][_0x17b150(0x1be)][_0x17b150(0x241)](_0x48d6c0)[_0x17b150(0x1f6)][_0x17b150(0x241)](this[_0x17b150(0x24c)]);return!this[_0x17b150(0x15b)][_0x17b150(0x172)]&&!!_0x597a3f&&_0x597a3f[_0x17b150(0x1b6)]>0x1&&this[_0x17b150(0x24a)];}[_0x1c7799(0x1c4)](){const _0x473b2b=_0x1c7799;return this[_0x473b2b(0x23b)][_0x473b2b(0x1b6)]>0x0||this[_0x473b2b(0x1e4)]();}}class $ extends Error{}function K(_0x29ad10,_0x54d70c){const _0xdeb9=_0x1c7799;for(const _0x53ad46 of _0x29ad10)_0x53ad46[_0xdeb9(0x1e0)]=_0x54d70c++;}class J{[_0x1c7799(0x1cc)];[_0x1c7799(0x18a)];constructor(_0x535de8){const _0x4c720a=_0x1c7799;this[_0x4c720a(0x1cc)]=_0x535de8,this[_0x4c720a(0x18a)]=new WeakMap();}[_0x1c7799(0x192)](_0xf86265){const _0x268351=_0x1c7799;let _0x18b2b5=_0xf86265[_0x268351(0x1b6)];for(;_0x18b2b5--;){const _0x3f8273=_0xf86265[_0x18b2b5];if(!this[_0x268351(0x1cc)][_0x268351(0x193)](_0x3f8273)){if(!this[_0x268351(0x18a)][_0x268351(0x193)](_0x3f8273)){const _0xc54955=_0x4ba152()[_0x268351(0x215)](0x1,0x12);this[_0x268351(0x18a)][_0x268351(0x231)](_0x3f8273,_0xc54955);}return this[_0x268351(0x18a)][_0x268351(0x241)](_0x3f8273);}}}[_0x1c7799(0x1af)](_0x271ed3,_0x135b17){const _0x2baa8d=_0x1c7799;if(!_0x135b17)return;let _0x3f411f=_0x271ed3[_0x2baa8d(0x1b6)];for(;_0x3f411f--;){const _0x4a4dc8=_0x271ed3[_0x3f411f];this[_0x2baa8d(0x1cc)][_0x2baa8d(0x193)](_0x4a4dc8)||this[_0x2baa8d(0x18a)][_0x2baa8d(0x231)](_0x4a4dc8,_0x135b17);}}}
23
+ const _0x5252ab=_0x3ad3;(function(_0x1eb65f,_0x2c23f9){const _0x144796=_0x3ad3,_0x1735e8=_0x1eb65f();while(!![]){try{const _0x4e02e8=parseInt(_0x144796(0x1b9))/0x1+parseInt(_0x144796(0x1f0))/0x2+-parseInt(_0x144796(0x119))/0x3*(-parseInt(_0x144796(0x15b))/0x4)+-parseInt(_0x144796(0x1da))/0x5*(parseInt(_0x144796(0x141))/0x6)+parseInt(_0x144796(0x171))/0x7+-parseInt(_0x144796(0x113))/0x8+-parseInt(_0x144796(0x118))/0x9;if(_0x4e02e8===_0x2c23f9)break;else _0x1735e8['push'](_0x1735e8['shift']());}catch(_0x48987b){_0x1735e8['push'](_0x1735e8['shift']());}}}(_0x5bc0,0x2d36a));import{Plugin as _0x2c5d87,PendingActions as _0x4e5abd}from'ckeditor5/src/core.js';function _0x5bc0(){const _0x21a02d=['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.','collaboration-missing-channelid','filter','_updateServerHistory','baseVersion','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient','collaboration.channelId','enqueueChange','532184IbEvzg','collaboration','_service','createPositionFromPath','realtimecollaborationclient-init-connection-failed','4147236MgcvGR','277467lFjUYj','setIdForTheLastOperation','editor','start','error','_sendBufferedOperationsDelayed','addToReconnectionStack','_sendBufferedOperations','roots','_decompressOperations','stop','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','addUser','disconnect','code','catch','end','CommentsOnly','sessionCreatedAt','channelSessions','fromJSON','map','rtc-offline','parse','_refreshUserSelectionMarkers','_initThrowingOnDataSet','realtimecollaborationclient-init-document-already-initialized','createUserMarkerOperations','reconnection:\x20flushed\x20session','createRange','_document','register','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','position','_setUpDataInit','cloudServices.bundleVersion','state','requires','156IfqgOm','return','affectedSelectable','initData','currentDocumentSession','_getOperationsFromInitData','_clearPendingAction','lastOperationAcceptedAt','setPermissions','_lastServerVersion','targetPosition','size','init','getIdOfTheLastOperation','realtimecollaborationclient-init-session-connection-error','data','markers','locale','metadata','reset','cs:removeUser','toJSON','sessionAdd:','isEnabled','_setPendingAction','connection','4dZuwoC','_isDisconnection','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','createPositionAt','startsWith','includes','sendOperations','cloudDocumentVersion','reconnect','_knownRootNames','high','string','$root','409','forEach','_isEditingAllowed','round','_handleExternalOperations','PENDING_ACTION_SENDING_DATA','_handleSendingSelectionMarkers','getOperationAuthor','1876280YggqGt','bind','_operationIdentifier','InsertOperation','model','has','_isInit','_connectAfterSessionHasBeenFlushed','clone','differ','createRoot','batch','userId','_waitUntilSynced','_operationToId','getMany','isUndoneOperation','decompress','length','404','serverHistory','attributes','_isConnected','createdAt','_hasSelectionChanged','_disconnectionOperations','realtimecollaborationclient-sendbufferedoperations','marker','disconnected','_offset','_hasSynchronizationProblem','listenTo','_handleReconnectionResponse','disableReadOnlyMode','addRootAttribute','keys','enableReadOnlyMode','get','version','getRoot','addRoot','Permissions','applyOperation','_handleInitialConnectionData','newRange','getUser','Notification','message','fire','pluginName','_fetchMissingUsers','cloud-services-internal-error:\x20Not\x20connected.','move','_handleReceivedOperations','push','view','_ignoredOperations','operationsReceived','compress','_loadRoot','wasUndone','lastDocumentSession','_handleServerResponse','define','remove','change:range','rootsAttributes','ready','showWarning','from','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.','config','347979gjjbXI','editing','document:write','_shouldSendSelectionUpdate','apply','realtimecollaborationclient-error','selection','rootName','isOfficialPlugin','_lastSyncedOperationId','history','document','type','CollaborativeEditingService','getOperations','_compressor','_shouldSendUpdate','addOperation','wereChangesApplied','getDocumentDetails','_crash','_compressOperations','_channelId','_connectService','connected','_addKnownRoot','_initSessionsHandling','change:_isEditingAllowed','permissions','lastSyncVersion','real-time-collaboration','_isAttached','isDocumentOperation','25790EckSUr','getConnectedSessions','root','_bufferedOperations','suppressErrorInCollaboration','_isPendingUpdate','_bufferRootLoad','connect','isReadOnly','rtc-destroyed','_sendBufferedOperationsDelayId','_isLoaded','_authorId','sessionId','change:_isPendingUpdate','affectsData','directChange','slice','_knownOperations','removeFromReconnectionStack','finally','realtimecollaborationclient-init-non-existent-root','276242ZDdnib','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastOperationId','_getAffectedRoot','path','loadRoot','Synchronization\x20issue','_applyOperationsSet','destroy','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_pendingAction','unregister','stopListening','_disconnectService','isPremiumPlugin','RealTimeCollaborationClient','_handleReconnectionError','off','__className','change:hasDomSelection','realtimecollaborationclient-handleserverresponse','entries','realtimecollaborationclient-init-service-internal-error','plugins','then','insert','add','set','_currentBufferDelay','offset'];_0x5bc0=function(){return _0x21a02d;};return _0x5bc0();}import{CKEditorError as _0x25a09c,version as _0x21e66f,uid as _0x4c800a}from'ckeditor5/src/utils.js';import{Notification as _0x576338}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3859c,NoOperation as _0x40a7c9,InsertOperation as _0x1c0880,MarkerOperation as _0x1061cc,RootAttributeOperation as _0x573987,OperationFactory as _0x2588b0,History as _0xffb01f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x42967a}from'./websocketgateway.js';import{Sessions as _0x25c1d1}from'./sessions.js';import{UserMarkers as _0x31d116}from'./usermarkers.js';function _0x3ad3(_0x31e098,_0x390130){const _0x5bc0dc=_0x5bc0();return _0x3ad3=function(_0x3ad3d0,_0x94c291){_0x3ad3d0=_0x3ad3d0-0x102;let _0x42cd08=_0x5bc0dc[_0x3ad3d0];return _0x42cd08;},_0x3ad3(_0x31e098,_0x390130);}import{getTranslation as _0x2c0bb1}from'../common-translations.js';import{Compressor as _0x21e82c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x55ae0c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x808d1d,CollaborativeEditingService as _0x4f6b4f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;export class RealTimeCollaborationClient extends _0x2c5d87{static [_0x5252ab(0x1c6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4f6b4f)());[_0x5252ab(0x18e)];[_0x5252ab(0x1e7)];[_0x5252ab(0x185)];[_0x5252ab(0x1cf)];[_0x5252ab(0x115)];[_0x5252ab(0x138)];[_0x5252ab(0x1c8)];[_0x5252ab(0x1dd)];[_0x5252ab(0x1ec)];[_0x5252ab(0x165)];[_0x5252ab(0x1fa)];[_0x5252ab(0x189)];[_0x5252ab(0x1e4)];[_0x5252ab(0x125)];[_0x5252ab(0x107)];[_0x5252ab(0x1c2)];[_0x5252ab(0x18a)];[_0x5252ab(0x173)];static get[_0x5252ab(0x140)](){return[_0x42967a,_0x25c1d1,_0x31d116,_0x4e5abd,_0x55ae0c,_0x576338];}static get[_0x5252ab(0x1a2)](){const _0x43eaf1=_0x5252ab;return _0x43eaf1(0x1ff);}static get[_0x5252ab(0x1c1)](){return!0x0;}static get[_0x5252ab(0x1fe)](){return!0x0;}get[_0x5252ab(0x163)](){const _0x3cb28f=_0x5252ab;return this[_0x3cb28f(0x14a)]+this[_0x3cb28f(0x18e)];}get[_0x5252ab(0x14a)](){const _0x421b30=_0x5252ab;return this[_0x421b30(0x185)][_0x421b30(0x197)]-this[_0x421b30(0x18e)];}get[_0x5252ab(0x1d6)](){const _0x425760=_0x5252ab,_0x35d097=this[_0x425760(0x185)][_0x425760(0x1c7)]();for(let _0x593d37=_0x35d097[_0x425760(0x183)]-0x1;_0x593d37>=0x0;_0x593d37--){const _0x4fb0a4=_0x35d097[_0x593d37];if(!this[_0x425760(0x18a)][_0x425760(0x176)](_0x4fb0a4))return _0x4fb0a4[_0x425760(0x10d)]+0x1-this[_0x425760(0x18e)];}return 0x0;}constructor(_0x34f3d4){const _0xa7638c=_0x5252ab;if(super(_0x34f3d4),this[_0xa7638c(0x18e)]=0x0,this[_0xa7638c(0x1e7)]=null,this[_0xa7638c(0x185)]=new _0xffb01f(),this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x1b0)](_0xa7638c(0x114),{}),this[_0xa7638c(0x1cf)]=this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x111)),!this[_0xa7638c(0x1cf)])throw new _0x25a09c(_0xa7638c(0x10a),this);const _0x159d83=_0x34f3d4[_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x13e))||_0x21e66f;this[_0xa7638c(0x115)]=new RealTimeCollaborationClient[(_0xa7638c(0x1c6))](_0x159d83,this[_0xa7638c(0x1cf)]),this[_0xa7638c(0x138)]=this[_0xa7638c(0x11b)][_0xa7638c(0x175)][_0xa7638c(0x1c4)],this[_0xa7638c(0x1c8)]=new _0x21e82c(),this[_0xa7638c(0x1dd)]=[],this[_0xa7638c(0x1ec)]=new WeakSet(),this[_0xa7638c(0x165)]=new Set(),this[_0xa7638c(0x106)](_0xa7638c(0x1df),!0x1),this[_0xa7638c(0x106)](_0xa7638c(0x18f),!0x1),this[_0xa7638c(0x1fa)]=null,this[_0xa7638c(0x189)]=!0x1,this[_0xa7638c(0x1e4)]=null,this[_0xa7638c(0x125)]=0x12c,this[_0xa7638c(0x107)]=this[_0xa7638c(0x125)],this[_0xa7638c(0x1c2)]=null,this[_0xa7638c(0x18a)]=new WeakSet(),this[_0xa7638c(0x173)]=new X(this[_0xa7638c(0x18a)]);}[_0x5252ab(0x14d)](){const _0x475ad9=_0x5252ab,_0x4e9c8b=this[_0x475ad9(0x11b)],_0xadafe9=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x55ae0c),_0xdabcaa=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x42967a);this[_0x475ad9(0x190)](_0xadafe9,_0x475ad9(0x170),(_0x560449,_0x1eb5d6)=>{const _0xf2f920=_0x475ad9,_0x406e22=_0x1eb5d6[0x0];_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=_0xadafe9[_0xf2f920(0x19e)](_0x406e22[_0xf2f920(0x1e6)]),_0x560449[_0xf2f920(0x123)]()),null===_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=null,_0x560449[_0xf2f920(0x123)]());},{'priority':_0x475ad9(0x166)}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x175)][_0x475ad9(0x1c4)][_0x475ad9(0x1bf)],_0x475ad9(0x1b2),(_0x245f5e,_0x45e59c)=>{const _0x53d58e=_0x475ad9;_0x45e59c[_0x53d58e(0x1ea)]&&this[_0x53d58e(0x132)]();}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x1ba)][_0x475ad9(0x1a8)],_0x475ad9(0x203),()=>{const _0x15a70b=_0x475ad9;this[_0x15a70b(0x132)]();}),this[_0x475ad9(0x133)](),_0x4e9c8b[_0x475ad9(0x175)]['on'](_0x475ad9(0x19b),(_0x56c4d0,_0xac3ad5)=>{const _0x51c3a4=_0x475ad9,_0x1594e0=_0xac3ad5[0x0];_0x1594e0[_0x51c3a4(0x1d9)]&&(this[_0x51c3a4(0x13a)](_0x1594e0),this[_0x51c3a4(0x1c9)]()&&this[_0x51c3a4(0x11e)]());}),this[_0x475ad9(0x13d)](),this[_0x475ad9(0x172)](_0x475ad9(0x16b))['to'](_0xdabcaa,_0x475ad9(0x13f),this,_0x475ad9(0x18f),(_0x438f7d,_0x443ff2)=>_0x475ad9(0x1d1)===_0x438f7d&&!_0x443ff2),this['on'](_0x475ad9(0x1d4),()=>{const _0x331863=_0x475ad9;this[_0x331863(0x16b)]?_0x4e9c8b[_0x331863(0x192)](_0x331863(0x130)):_0x4e9c8b[_0x331863(0x195)](_0x331863(0x130));}),this[_0x475ad9(0x16b)]?_0x4e9c8b[_0x475ad9(0x192)](_0x475ad9(0x130)):_0x4e9c8b[_0x475ad9(0x195)](_0x475ad9(0x130)),this[_0x475ad9(0x106)](_0x475ad9(0x187),!0x1);}async[_0x5252ab(0x164)](){const _0x43f8d5=_0x5252ab,_0xf0ceae=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x25c1d1),_0x476789=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x42967a);try{this[_0x43f8d5(0x1df)]=!0x0,_0xf0ceae[_0x43f8d5(0x1fb)](this[_0x43f8d5(0x1cf)]);const _0x48b53a=await this[_0x43f8d5(0x115)][_0x43f8d5(0x164)](_0x476789[_0x43f8d5(0x15a)],this[_0x43f8d5(0x1d6)]);await this[_0x43f8d5(0x191)](_0x48b53a)&&(this[_0x43f8d5(0x1df)]=!0x1,this[_0x43f8d5(0x147)]());const _0x158191=await this[_0x43f8d5(0x115)][_0x43f8d5(0x1db)]();_0xf0ceae[_0x43f8d5(0x139)](this[_0x43f8d5(0x1cf)],_0x158191),this[_0x43f8d5(0x16f)](),this[_0x43f8d5(0x187)]=!0x0;}catch(_0x3a8ad9){if(function(_0x37dbff){const _0x4f74a1=_0x43f8d5;return _0x4f74a1(0x184)===_0x37dbff[_0x4f74a1(0x128)];}(_0x3a8ad9)&&this[_0x43f8d5(0x1e7)])await this[_0x43f8d5(0x178)]();else{if(function(_0x467564){const _0x2dec87=_0x43f8d5;return _0x2dec87(0x169)===_0x467564[_0x2dec87(0x128)];}(_0x3a8ad9)){const _0x5013c6=_0x2c0bb1(this[_0x43f8d5(0x11b)][_0x43f8d5(0x152)],_0x43f8d5(0x124));this[_0x43f8d5(0x200)](_0x5013c6);}else{if(!(_0x3a8ad9 instanceof J))throw _0x3a8ad9;this[_0x43f8d5(0x200)]();}}}}[_0x5252ab(0x1f8)](){const _0x2cd6d6=_0x5252ab,_0x567fa6=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x42967a),_0x3f9e58=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x25c1d1);this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x195)](_0x2cd6d6(0x1e3)),_0x3f9e58[_0x2cd6d6(0x12d)][_0x2cd6d6(0x176)](this[_0x2cd6d6(0x1cf)])&&_0x3f9e58[_0x2cd6d6(0x1fb)](this[_0x2cd6d6(0x1cf)]),_0x567fa6[_0x2cd6d6(0x1ed)](this),this[_0x2cd6d6(0x1fd)](),super[_0x2cd6d6(0x1f8)]();}async[_0x5252ab(0x191)](_0x559440){const _0x302ff3=_0x5252ab;if(this[_0x302ff3(0x1e7)]!==_0x559440[_0x302ff3(0x1e7)]&&this[_0x302ff3(0x1c2)]!==_0x559440[_0x302ff3(0x1f2)])throw new J();return this[_0x302ff3(0x1e7)]=_0x559440[_0x302ff3(0x1e7)],this[_0x302ff3(0x1af)]([],{..._0x559440,'wereChangesApplied':!0x1,'data':_0x559440[_0x302ff3(0x150)]},_0x302ff3(0x164));}async[_0x5252ab(0x1d0)](_0x5790b0,_0x2c9f6c=!0x1){const _0x3e8f17=_0x5252ab,{connection:_0x43f8ec}=this[_0x3e8f17(0x11b)][_0x3e8f17(0x102)][_0x3e8f17(0x196)](_0x42967a);RealTimeCollaborationClient[_0x3e8f17(0x1c6)][_0x3e8f17(0x1db)](_0x43f8ec,this[_0x3e8f17(0x1cf)])[_0x3e8f17(0x103)](_0x378e02=>this[_0x3e8f17(0x1d3)](_0x378e02))[_0x3e8f17(0x129)](_0x25e081=>{const _0x28a8aa=_0x3e8f17;this[_0x28a8aa(0x1cd)](_0x28a8aa(0x14f),_0x25e081);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x1aa),this[_0x3e8f17(0x1a6)][_0x3e8f17(0x172)](this)),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x11d),(_0x584410,_0x383d05)=>{const _0x470b5e=_0x3e8f17;this[_0x470b5e(0x1cd)](_0x470b5e(0x206),_0x383d05);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x18d),()=>{const _0x10b582=_0x3e8f17;this[_0x10b582(0x187)]=!0x1;});const _0x217945=this[_0x3e8f17(0x173)][_0x3e8f17(0x14e)](_0x5790b0);this[_0x3e8f17(0x1df)]=!0x0;const _0x39091c=await this[_0x3e8f17(0x115)][_0x3e8f17(0x1e1)](_0x43f8ec,this[_0x3e8f17(0x1ce)](_0x5790b0),_0x217945);if(this[_0x3e8f17(0x1e7)]=_0x39091c[_0x3e8f17(0x1e7)],_0x2c9f6c){if(!_0x39091c[_0x3e8f17(0x1cb)])return void this[_0x3e8f17(0x200)]();this[_0x3e8f17(0x1df)]=!0x1,this[_0x3e8f17(0x147)](),this[_0x3e8f17(0x185)][_0x3e8f17(0x154)](),this[_0x3e8f17(0x18e)]=_0x39091c[_0x3e8f17(0x108)],this[_0x3e8f17(0x185)][_0x3e8f17(0x197)]=this[_0x3e8f17(0x18e)],await this[_0x3e8f17(0x1af)](_0x5790b0,_0x39091c,_0x3e8f17(0x136));}else await this[_0x3e8f17(0x19c)](_0x39091c,_0x5790b0);this[_0x3e8f17(0x16f)](),this[_0x3e8f17(0x187)]=!0x0;}[_0x5252ab(0x16f)](){const _0x5d2707=_0x5252ab,_0x553b8a=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x25c1d1),_0x3c2f8f=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x31d116),_0x2d261b=_0x553b8a[_0x5d2707(0x12d)][_0x5d2707(0x196)](this[_0x5d2707(0x1cf)]);_0x2d261b&&_0x2d261b[_0x5d2707(0x183)]>0x1?_0x3c2f8f[_0x5d2707(0x135)]():this[_0x5d2707(0x190)](_0x553b8a,_0x5d2707(0x157)+this[_0x5d2707(0x1cf)],()=>{const _0x4e1682=_0x5d2707;0x2===_0x553b8a[_0x4e1682(0x12d)][_0x4e1682(0x196)](this[_0x4e1682(0x1cf)])[_0x4e1682(0x183)]&&_0x3c2f8f[_0x4e1682(0x135)]();});}async[_0x5252ab(0x1a6)](_0x5f241c,_0x115074,_0x512094,_0x17cf04){const _0x477f05=_0x5252ab;if(!this[_0x477f05(0x1df)]&&this[_0x477f05(0x138)][_0x477f05(0x197)]==_0x115074){const _0x37015b=this[_0x477f05(0x122)](_0x512094,_0x17cf04);await this[_0x477f05(0x1a3)](_0x37015b),this[_0x477f05(0x16d)](_0x37015b,_0x115074,_0x512094[_0x477f05(0x1f2)])||this[_0x477f05(0x1cd)](_0x477f05(0x13b));}}async[_0x5252ab(0x178)](){const _0x2c88e8=_0x5252ab;this[_0x2c88e8(0x1fd)]();const {locale:_0x58e7dd}=this[_0x2c88e8(0x11b)];let _0x119dc2;try{_0x119dc2=await this[_0x2c88e8(0x115)][_0x2c88e8(0x1cc)]();}catch{const _0xa64908=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1f9));return void this[_0x2c88e8(0x200)](_0xa64908);}const _0xb826f3=_0x119dc2[_0x2c88e8(0x145)]||_0x119dc2[_0x2c88e8(0x1ae)];if(this[_0x2c88e8(0x1c2)]!==_0xb826f3[_0x2c88e8(0x1f2)]){const _0x322940=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1b7));return void this[_0x2c88e8(0x200)](_0x322940);}await this[_0x2c88e8(0x1d0)](this[_0x2c88e8(0x11b)][_0x2c88e8(0x175)][_0x2c88e8(0x1c4)][_0x2c88e8(0x1c3)][_0x2c88e8(0x1c7)](),!0x0);}[_0x5252ab(0x1fd)](){const _0x20b4c0=_0x5252ab;this[_0x20b4c0(0x115)][_0x20b4c0(0x127)](),this[_0x20b4c0(0x1dd)]=[],clearTimeout(this[_0x20b4c0(0x1e4)]),this[_0x20b4c0(0x1fc)](this[_0x20b4c0(0x115)]);}[_0x5252ab(0x1d3)](_0x1a3f0b){const _0x32db32=_0x5252ab,_0x49f1f4=this[_0x32db32(0x11b)][_0x32db32(0x102)][_0x32db32(0x196)](_0x25c1d1);this[_0x32db32(0x190)](_0x49f1f4,_0x32db32(0x157)+this[_0x32db32(0x1cf)],(_0x4c4770,{session:_0x5b508b})=>{const _0x373d5f=_0x32db32;if(_0x5b508b['id']===_0x49f1f4[_0x373d5f(0x15d)]){_0x4c4770[_0x373d5f(0x201)]();const _0x56074f=this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x176)](_0x373d5f(0x12b))&&this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x12b));let _0x269b1d=_0x5b508b[_0x373d5f(0x1d5)];_0x56074f&&_0x56074f[_0x373d5f(0x158)]&&(_0x269b1d=_0x269b1d[_0x373d5f(0x10b)](_0xe5e237=>_0x373d5f(0x1bb)!==_0xe5e237)),this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x19a))[_0x373d5f(0x149)](_0x269b1d,this[_0x373d5f(0x1cf)]);}}),_0x49f1f4[_0x32db32(0x139)](this[_0x32db32(0x1cf)],_0x1a3f0b);}[_0x5252ab(0x133)](){const _0x536a3d=_0x5252ab,_0x5ee156=this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)];this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)]=(..._0x1b4f94)=>{const _0x38d7e6=_0x536a3d;if(!_0x1b4f94[_0x1b4f94[_0x38d7e6(0x183)]-0x1][_0x38d7e6(0x1de)])throw new _0x25a09c(_0x38d7e6(0x1f1),this);_0x5ee156[_0x38d7e6(0x1bd)](this[_0x38d7e6(0x11b)][_0x38d7e6(0x150)],_0x1b4f94);};}[_0x5252ab(0x13d)](){const _0x4be5a0=_0x5252ab;this[_0x4be5a0(0x11b)][_0x4be5a0(0x150)]['on'](_0x4be5a0(0x14d),(_0x47cd4c,[_0x2cb853])=>{const _0x2171d2=_0x4be5a0;if(this[_0x2171d2(0x138)][_0x2171d2(0x197)])throw new _0x25a09c(_0x2171d2(0x134),this);_0x47cd4c[_0x2171d2(0x123)](),this[_0x2171d2(0x159)]();const _0x445282=this[_0x2171d2(0x11b)][_0x2171d2(0x1b8)][_0x2171d2(0x196)](_0x2171d2(0x1b3)),_0x2f2c63=this[_0x2171d2(0x146)](_0x2cb853,_0x445282);0x0==_0x2f2c63[_0x2171d2(0x183)]&&_0x2f2c63[_0x2171d2(0x1a7)](new _0x40a7c9(0x0)),_0x47cd4c[_0x2171d2(0x142)]=this[_0x2171d2(0x1d0)](_0x2f2c63)[_0x2171d2(0x103)](()=>{const _0x270af9=_0x2171d2;this[_0x270af9(0x11b)][_0x270af9(0x102)][_0x270af9(0x196)](_0x42967a)[_0x270af9(0x11f)](this),this[_0x270af9(0x11b)][_0x270af9(0x150)][_0x270af9(0x1a1)](_0x270af9(0x1b4));})[_0x2171d2(0x129)](_0x54f77a=>this[_0x2171d2(0x1cd)](_0x2171d2(0x117),_0x54f77a))[_0x2171d2(0x1ee)](()=>this[_0x2171d2(0x147)]());},{'priority':_0x4be5a0(0x166)}),this[_0x4be5a0(0x11b)]['on'](_0x4be5a0(0x1f5),async(_0x7beb65,[_0x234a69,_0x5ddd0b])=>{const _0x1b68e6=_0x4be5a0;_0x7beb65[_0x1b68e6(0x123)]();const _0x4ee814=this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x1c4)][_0x1b68e6(0x198)](_0x234a69);if(!this[_0x1b68e6(0x165)][_0x1b68e6(0x176)](_0x234a69)){const _0x34900f=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x150)]?_0x5ddd0b[_0x1b68e6(0x150)]:'',_0x557754=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x186)]?_0x5ddd0b[_0x1b68e6(0x186)]:{};await this[_0x1b68e6(0x1ac)](_0x234a69,_0x34900f,_0x557754);}this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x112)]({'isUndoable':!0x1},()=>{const _0x100063=_0x1b68e6;_0x4ee814[_0x100063(0x1e5)]=!0x0,this[_0x100063(0x11b)][_0x100063(0x175)][_0x100063(0x1c4)][_0x100063(0x17a)][_0x100063(0x1e0)](_0x4ee814);});},{'priority':_0x4be5a0(0x166)});}async[_0x5252ab(0x1a3)](_0x332927){const _0x37699a=_0x5252ab,_0x5f055d=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x55ae0c),{connection:_0x51f1d2}=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x42967a),_0x1cccea=new Set();for(const _0x1c8feb of _0x332927){const _0x22d693=_0x1c8feb[_0x37699a(0x1e6)];_0x22d693&&!_0x5f055d[_0x37699a(0x19e)](_0x22d693)&&_0x1cccea[_0x37699a(0x105)](_0x22d693);}if(0x0===_0x1cccea[_0x37699a(0x14c)])return;const _0x115b76=await _0x808d1d[_0x37699a(0x180)](_0x51f1d2,Array[_0x37699a(0x1b6)](_0x1cccea));for(const _0x3415af of _0x115b76)_0x5f055d[_0x37699a(0x19e)](_0x3415af['id'])||_0x5f055d[_0x37699a(0x126)](_0x3415af);}[_0x5252ab(0x146)](_0x26043d,_0x4e68f5={}){const _0x452560=_0x5252ab,_0x2bdef0=this[_0x452560(0x11b)][_0x452560(0x175)],_0x4c069f=[];let _0x232386=0x0;const _0x305c4b=_0x452560(0x167)==typeof _0x26043d?{'main':_0x26043d}:_0x26043d;for(const _0x306c5f of Object[_0x452560(0x194)](_0x305c4b)){if(!this[_0x452560(0x138)][_0x452560(0x121)][_0x452560(0x176)](_0x306c5f))throw new _0x25a09c(_0x452560(0x1ef),this);const _0x30efaf=this[_0x452560(0x11b)][_0x452560(0x150)][_0x452560(0x131)](_0x305c4b[_0x306c5f]),_0x370876=this[_0x452560(0x138)][_0x452560(0x198)](_0x306c5f),_0x34fe84=new _0x1c0880(_0x2bdef0[_0x452560(0x15f)](_0x370876,0x0),_0x30efaf,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x34fe84);for(const [_0x19d649,_0x26b7df]of _0x30efaf[_0x452560(0x151)]){const _0x22ae98=_0x2bdef0[_0x452560(0x137)](_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x11c)][_0x452560(0x1f4)][_0x452560(0x1eb)]()),_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x12a)][_0x452560(0x1f4)][_0x452560(0x1eb)]())),_0x5e72d9=new _0x1061cc(_0x19d649,null,_0x22ae98,_0x2bdef0[_0x452560(0x151)],!0x0,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x5e72d9);}}if(_0x4e68f5)for(const [_0x4500a3,_0xf124c8]of Object[_0x452560(0x205)](_0x4e68f5)){const _0x43ff70=_0x2bdef0[_0x452560(0x1c4)][_0x452560(0x198)](_0x4500a3);if(!_0x43ff70)throw new _0x25a09c(_0x452560(0x10e),null);for(const [_0x5b7f1a,_0x482447]of Object[_0x452560(0x205)](_0xf124c8))if(null!==_0x482447){const _0x362e2a=new _0x573987(_0x43ff70,_0x5b7f1a,null,_0x482447,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x362e2a);}}return _0x4c069f;}async[_0x5252ab(0x1ac)](_0x2c7a4a,_0x55d16c,_0xf6c33e){const _0xc61ef2=_0x5252ab;this[_0xc61ef2(0x146)]({[_0x2c7a4a]:_0x55d16c},{[_0x2c7a4a]:_0xf6c33e})[_0xc61ef2(0x16a)]((_0x2b6c03,_0x2eeaf5)=>{const _0x23af71=_0xc61ef2;_0x2b6c03[_0x23af71(0x10d)]=this[_0x23af71(0x138)][_0x23af71(0x197)]+_0x2eeaf5,_0x2b6c03[_0x23af71(0x177)]=!0x0,this[_0x23af71(0x13a)](_0x2b6c03);}),this[_0xc61ef2(0x11e)](),await this[_0xc61ef2(0x17e)]();}async[_0x5252ab(0x19c)](_0xcf9ee3,_0x15cf17){const _0x3afc15=_0x5252ab;let _0x5cff44;this[_0x3afc15(0x18e)]=_0xcf9ee3[_0x3afc15(0x108)];const _0xf5a850=_0xcf9ee3[_0x3afc15(0x1cb)]&&!_0xcf9ee3[_0x3afc15(0x144)],_0x531ae7=_0xf5a850?0x0:_0xcf9ee3[_0x3afc15(0x150)][_0x3afc15(0x10d)];if(_0x15cf17[_0x3afc15(0x16a)](_0x278c84=>{const _0x52cfdb=_0x3afc15;_0x278c84[_0x52cfdb(0x177)]=!0x0,_0x278c84[_0x52cfdb(0x188)]=_0xcf9ee3[_0x52cfdb(0x12c)],_0x278c84[_0x52cfdb(0x1e6)]=null;}),_0xf5a850)_0x5cff44=_0x15cf17,this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);else{if(_0xcf9ee3[_0x3afc15(0x144)]){const _0x1cff8c=this[_0x3afc15(0x146)](_0xcf9ee3[_0x3afc15(0x144)]);this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)],_0x1cff8c[_0x3afc15(0x16a)](_0x11b12d=>{const _0x2674c4=_0x3afc15;_0x11b12d[_0x2674c4(0x10d)]-=_0x1cff8c[_0x2674c4(0x183)],_0x11b12d[_0x2674c4(0x188)]=_0xcf9ee3[_0x2674c4(0x12c)],_0x11b12d[_0x2674c4(0x177)]=!0x0,_0x11b12d[_0x2674c4(0x1e6)]=null;}),this[_0x3afc15(0x1f7)](_0x1cff8c,!0x0),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)]+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x1cff8c);}this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=_0x531ae7,_0x5cff44=this[_0x3afc15(0x122)](_0xcf9ee3[_0x3afc15(0x150)],_0xcf9ee3[_0x3afc15(0x153)]),await this[_0x3afc15(0x1a3)](_0x5cff44),this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);}_0xcf9ee3[_0x3afc15(0x1f2)]&&(this[_0x3afc15(0x173)][_0x3afc15(0x11a)](_0x5cff44,_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x1c2)]=_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=_0x531ae7+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x5cff44),_0x15cf17[_0x3afc15(0x10b)](_0x3854ed=>{const _0x586bdc=_0x3afc15,_0x5ec232=this[_0x586bdc(0x1f3)](_0x3854ed);return _0x5ec232&&!this[_0x586bdc(0x165)][_0x586bdc(0x176)](_0x5ec232);})[_0x3afc15(0x16a)]((_0x3d05a4,_0x34e6ce)=>{const _0x28706d=_0x3afc15;_0x3d05a4[_0x28706d(0x10d)]=this[_0x28706d(0x138)][_0x28706d(0x197)]+_0x34e6ce,this[_0x28706d(0x13a)](_0x3d05a4);}),this[_0x3afc15(0x1c9)]()?(this[_0x3afc15(0x107)]=0x0,this[_0x3afc15(0x11e)](!0x0),await this[_0x3afc15(0x17e)]()):(this[_0x3afc15(0x1df)]=!0x1,this[_0x3afc15(0x147)]());}[_0x5252ab(0x1cd)](_0x33dcda,_0x4eda05){const _0x39eb7f=_0x5252ab,_0x5c65a7=_0x4eda05&&_0x4eda05[_0x39eb7f(0x1a0)];if(_0x5c65a7&&_0x5c65a7[_0x39eb7f(0x160)](_0x39eb7f(0x110)))throw _0x4eda05;const _0x5d2cc4=this[_0x39eb7f(0x11b)][_0x39eb7f(0x102)][_0x39eb7f(0x196)](_0x42967a);throw this[_0x39eb7f(0x1df)]=!0x0,_0x5d2cc4[_0x39eb7f(0x127)](),this[_0x39eb7f(0x11b)][_0x39eb7f(0x195)](_0x39eb7f(0x1be)),new _0x25a09c(_0x33dcda,this[_0x39eb7f(0x11b)],_0x5c65a7?{'originalError':_0x5c65a7}:void 0x0);}[_0x5252ab(0x13a)](_0x5b9d8e){const _0x469217=_0x5252ab;this[_0x469217(0x1ec)][_0x469217(0x176)](_0x5b9d8e)||(this[_0x469217(0x1ec)][_0x469217(0x105)](_0x5b9d8e),this[_0x469217(0x1dd)][_0x469217(0x1a7)](_0x5b9d8e),this[_0x469217(0x1fa)]||_0x469217(0x18c)==_0x5b9d8e[_0x469217(0x1c5)]&&!_0x5b9d8e[_0x469217(0x1e9)]||this[_0x469217(0x159)]());}[_0x5252ab(0x11e)](_0x1c6419=!0x1){const _0x18172c=_0x5252ab;!_0x1c6419&&this[_0x18172c(0x1df)]||(this[_0x18172c(0x1df)]=!0x0,clearTimeout(this[_0x18172c(0x1e4)]),this[_0x18172c(0x1e4)]=setTimeout(()=>{const _0x5144c2=_0x18172c;this[_0x5144c2(0x120)]()[_0x5144c2(0x103)](_0x241817=>{const _0x39011d=_0x5144c2;_0x241817&&(this[_0x39011d(0x147)](),this[_0x39011d(0x1df)]=!0x1);})[_0x5144c2(0x129)](_0x278c8d=>{const _0x210dc8=_0x5144c2;this[_0x210dc8(0x147)](),this[_0x210dc8(0x1df)]=!0x1,function(_0x210d57){const _0x231f77=_0x210dc8;return _0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x1a4))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x10f))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x15e));}(_0x278c8d)||this[_0x210dc8(0x1cd)](_0x278c8d[_0x210dc8(0x1a0)],_0x278c8d);});},this[_0x18172c(0x107)]));}[_0x5252ab(0x17e)](){return new Promise(_0x1a2b48=>{const _0x410b5a=_0x3ad3;this['on'](_0x410b5a(0x1e8),()=>{_0x1a2b48();});});}async[_0x5252ab(0x120)](){const _0x3f0611=_0x5252ab,_0x290049=this[_0x3f0611(0x11b)][_0x3f0611(0x102)][_0x3f0611(0x196)](_0x31d116);if(this[_0x3f0611(0x1bc)]()&&(_0x290049[_0x3f0611(0x135)](),this[_0x3f0611(0x189)]=!0x1),!this[_0x3f0611(0x1c9)]())return!0x0;const _0x9569ae=[...this[_0x3f0611(0x1dd)]];for(const _0x24982f of _0x9569ae)_0x24982f[_0x3f0611(0x1ad)]=this[_0x3f0611(0x138)][_0x3f0611(0x1c3)][_0x3f0611(0x181)](_0x24982f);const _0x227bad=this[_0x3f0611(0x173)][_0x3f0611(0x14e)](_0x9569ae),_0x4bad79=K++,_0x42ba9d=this[_0x3f0611(0x1ce)](_0x9569ae),_0x4c8456=await this[_0x3f0611(0x115)][_0x3f0611(0x162)](_0x42ba9d,_0x42ba9d[_0x3f0611(0x10d)],_0x227bad);try{return await this[_0x3f0611(0x1af)](_0x9569ae,_0x4c8456,_0x4bad79);}catch(_0x30d98a){return this[_0x3f0611(0x1cd)](_0x3f0611(0x18b),_0x30d98a);}}async[_0x5252ab(0x1af)](_0x2669a6,_0x2897fa,_0x171515){const _0x12e9db=_0x5252ab;if(_0x12e9db(0x11d)in _0x2897fa)throw _0x2897fa[_0x12e9db(0x11d)];let _0x49a3d4=!0x1;if(_0x2897fa[_0x12e9db(0x1cb)]){_0x2897fa[_0x12e9db(0x1f2)]&&(this[_0x12e9db(0x1c2)]=_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x1db515=>!_0x2669a6[_0x12e9db(0x161)](_0x1db515));for(const _0x589e9c of _0x2669a6)_0x589e9c[_0x12e9db(0x188)]=_0x12e9db(0x148)in _0x2897fa&&_0x2897fa[_0x12e9db(0x148)]||void 0x0;Q(_0x2669a6,_0x2897fa[_0x12e9db(0x197)]-_0x2669a6[_0x12e9db(0x183)]),this[_0x12e9db(0x10c)](_0x2669a6);const _0x57f3b9=_0x2669a6[_0x12e9db(0x10b)](_0x46021e=>{const _0x562d65=_0x12e9db;if(!_0x46021e[_0x562d65(0x177)])return!0x1;const _0x1257fe=this[_0x562d65(0x1f3)](_0x46021e);return _0x1257fe&&!this[_0x562d65(0x165)][_0x562d65(0x176)](_0x1257fe);});Q(_0x57f3b9,this[_0x12e9db(0x138)][_0x12e9db(0x197)]),this[_0x12e9db(0x1f7)](_0x57f3b9),_0x49a3d4=!0x0,this[_0x12e9db(0x107)]=this[_0x12e9db(0x125)];}else{const _0x52d083=this[_0x12e9db(0x122)](_0x2897fa[_0x12e9db(0x150)],_0x2897fa[_0x12e9db(0x153)])[_0x12e9db(0x10b)](_0x3b5acb=>_0x3b5acb[_0x12e9db(0x10d)]>=this[_0x12e9db(0x14a)]);_0x52d083[_0x12e9db(0x16a)](_0x48c0b0=>this[_0x12e9db(0x1d2)](_0x48c0b0)),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x2ca2b8=>!_0x2ca2b8[_0x12e9db(0x177)]||!this[_0x12e9db(0x165)][_0x12e9db(0x176)](this[_0x12e9db(0x1f3)](_0x2ca2b8))),this[_0x12e9db(0x1dd)][_0x12e9db(0x183)]&&Q(this[_0x12e9db(0x1dd)],this[_0x12e9db(0x1dd)][0x0][_0x12e9db(0x10d)]),await this[_0x12e9db(0x1a3)](_0x52d083),_0x49a3d4=this[_0x12e9db(0x16d)](_0x52d083,_0x2897fa[_0x12e9db(0x197)],_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x107)]=Math[_0x12e9db(0x16c)](this[_0x12e9db(0x107)]/0x2);}return _0x49a3d4?!this[_0x12e9db(0x1c9)]()||(this[_0x12e9db(0x11e)](!0x0),!0x1):this[_0x12e9db(0x1cd)](_0x12e9db(0x204));}[_0x5252ab(0x16d)](_0x516d2a,_0xe243e9,_0x41c532){const _0x165996=_0x5252ab;try{const _0x532854={'document':this[_0x165996(0x138)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x41be43,operationsB:_0x2d84c8,originalOperations:_0x51498f}=_0x3859c(_0x516d2a,this[_0x165996(0x1dd)],_0x532854);Q(_0x41be43,this[_0x165996(0x138)][_0x165996(0x197)]),Q(_0x2d84c8,_0xe243e9);for(const _0x4137f9 of _0x41be43){const _0x1c5fb4=_0x51498f[_0x165996(0x196)](_0x4137f9);_0x4137f9[_0x165996(0x1e6)]=_0x1c5fb4?_0x1c5fb4[_0x165996(0x1e6)]:null;}_0x41c532&&(this[_0x165996(0x173)][_0x165996(0x11a)](_0x516d2a,_0x41c532),this[_0x165996(0x1c2)]=_0x41c532),this[_0x165996(0x1dd)]=[..._0x2d84c8],this[_0x165996(0x1f7)](_0x41be43),this[_0x165996(0x10c)](_0x516d2a);}catch(_0x891558){return console[_0x165996(0x11d)](_0x891558),!0x1;}return!0x0;}[_0x5252ab(0x1f7)](_0x3fc31d,_0x5decf3=!0x1){const _0x301950=_0x5252ab;this[_0x301950(0x11b)][_0x301950(0x175)][_0x301950(0x112)]({'isUndoable':!0x1,'isLocal':!0x1},_0x106d98=>{const _0x1710d0=_0x301950;for(const _0x5c9f94 of _0x3fc31d)this[_0x1710d0(0x1ec)][_0x1710d0(0x105)](_0x5c9f94),this[_0x1710d0(0x1d2)](_0x5c9f94),_0x106d98[_0x1710d0(0x17c)][_0x1710d0(0x1ca)](_0x5c9f94),this[_0x1710d0(0x11b)][_0x1710d0(0x175)][_0x1710d0(0x19b)](_0x5c9f94);});}[_0x5252ab(0x1d2)](_0x5b69b0){const _0x22a452=_0x5252ab,_0x31feb4=this[_0x22a452(0x1f3)](_0x5b69b0);_0x31feb4&&this[_0x22a452(0x165)][_0x22a452(0x105)](_0x31feb4);}[_0x5252ab(0x1f3)](_0x3bcf53){const _0x3b6130=_0x5252ab;let _0x1a814c,_0x57155;switch(_0x3bcf53[_0x3b6130(0x1c5)]){case _0x3b6130(0x104):_0x1a814c=_0x3bcf53[_0x3b6130(0x13c)][_0x3b6130(0x1dc)];break;case _0x3b6130(0x18c):if(_0x57155=_0x3bcf53[_0x3b6130(0x19d)],!_0x57155)return null;_0x1a814c=_0x57155[_0x3b6130(0x1dc)];break;case _0x3b6130(0x193):_0x1a814c=_0x3bcf53[_0x3b6130(0x1dc)];break;case _0x3b6130(0x199):_0x1a814c=_0x3bcf53[_0x3b6130(0x143)];break;case _0x3b6130(0x1a5):_0x1a814c=_0x3bcf53[_0x3b6130(0x14b)][_0x3b6130(0x1dc)];break;default:return null;}return _0x1a814c[_0x3b6130(0x1c0)];}[_0x5252ab(0x10c)](_0x101005){const _0x1b155b=_0x5252ab;_0x101005[_0x1b155b(0x16a)](_0x36af75=>{const _0x3195b7=_0x1b155b,_0x148920=_0x36af75[_0x3195b7(0x179)]();_0x148920[_0x3195b7(0x1e6)]=_0x36af75[_0x3195b7(0x1e6)],_0x148920[_0x3195b7(0x177)]=!!_0x36af75[_0x3195b7(0x177)],_0x148920[_0x3195b7(0x188)]=_0x36af75[_0x3195b7(0x188)],_0x148920[_0x3195b7(0x10d)]+=this[_0x3195b7(0x18e)],_0x36af75[_0x3195b7(0x15c)]&&this[_0x3195b7(0x18a)][_0x3195b7(0x105)](_0x148920),this[_0x3195b7(0x185)][_0x3195b7(0x1ca)](_0x148920);});}[_0x5252ab(0x200)](_0x59432c){const _0x46142a=_0x5252ab,_0x46c784=this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x46142a(0x19f)),_0x3fe67a=this[_0x46142a(0x11b)][_0x46142a(0x152)];_0x59432c||(_0x59432c=_0x2c0bb1(_0x3fe67a,_0x46142a(0x109))),_0x46c784[_0x46142a(0x1b5)](_0x59432c,{'title':_0x2c0bb1(_0x3fe67a,_0x46142a(0x1f6)),'namespace':_0x46142a(0x1d7)}),this[_0x46142a(0x18f)]=!0x0,clearTimeout(this[_0x46142a(0x1e4)]),this[_0x46142a(0x1dd)]=[],this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x42967a)[_0x46142a(0x127)]();}[_0x5252ab(0x159)](){const _0x5de8c5=_0x5252ab;this[_0x5de8c5(0x1fa)]||(this[_0x5de8c5(0x1fa)]=this[_0x5de8c5(0x11b)][_0x5de8c5(0x102)][_0x5de8c5(0x196)](_0x4e5abd)[_0x5de8c5(0x105)](_0x2c0bb1(this[_0x5de8c5(0x11b)][_0x5de8c5(0x152)],_0x5de8c5(0x16e))));}[_0x5252ab(0x147)](){const _0x3c8f5b=_0x5252ab;this[_0x3c8f5b(0x1fa)]&&(this[_0x3c8f5b(0x11b)][_0x3c8f5b(0x102)][_0x3c8f5b(0x196)](_0x4e5abd)[_0x3c8f5b(0x1b1)](this[_0x3c8f5b(0x1fa)]),this[_0x3c8f5b(0x1fa)]=null);}[_0x5252ab(0x1ce)](_0x26338b){const _0x3bcb87=_0x5252ab,_0x30266e=_0x26338b[_0x3bcb87(0x12f)](_0x1af426=>_0x1af426[_0x3bcb87(0x156)]());return this[_0x3bcb87(0x1c8)][_0x3bcb87(0x1ab)](_0x30266e);}[_0x5252ab(0x122)](_0x5599bb,_0x125060){const _0x27ccf5=_0x5252ab;return this[_0x27ccf5(0x1c8)][_0x27ccf5(0x182)](_0x5599bb)[_0x27ccf5(0x12f)]((_0x43afd8,_0x4d53cf)=>{const _0x14adaf=_0x27ccf5,_0x2b2b30=_0x14adaf(0x14d)==_0x125060[_0x4d53cf][_0x14adaf(0x1c5)];if(_0x14adaf(0x174)==_0x43afd8[_0x14adaf(0x202)]){const _0x34e244=_0x43afd8[_0x14adaf(0x13c)][_0x14adaf(0x1dc)];!this[_0x14adaf(0x138)][_0x14adaf(0x198)](_0x34e244)&&(this[_0x14adaf(0x138)][_0x14adaf(0x17b)](_0x14adaf(0x168),_0x34e244)[_0x14adaf(0x1d8)]=!0x1);}const _0x31a6b8=_0x2588b0[_0x14adaf(0x12e)](_0x43afd8,this[_0x14adaf(0x138)]);return _0x31a6b8[_0x14adaf(0x1ad)]=_0x43afd8[_0x14adaf(0x1ad)],_0x31a6b8[_0x14adaf(0x177)]=_0x2b2b30,_0x31a6b8[_0x14adaf(0x1e6)]=_0x2b2b30?null:_0x125060[_0x4d53cf][_0x14adaf(0x17d)],_0x31a6b8[_0x14adaf(0x15c)]=_0x14adaf(0x155)===_0x125060[_0x4d53cf][_0x14adaf(0x1c5)],_0x31a6b8[_0x14adaf(0x188)]=_0x125060[_0x4d53cf][_0x14adaf(0x188)],_0x31a6b8;});}[_0x5252ab(0x132)](){const _0x48c7ae=_0x5252ab;this[_0x48c7ae(0x189)]=!0x0,this[_0x48c7ae(0x1bc)]()?this[_0x48c7ae(0x11e)]():this[_0x48c7ae(0x189)]=!0x1;}[_0x5252ab(0x1bc)](){const _0x4d2556=_0x5252ab,_0x24bfc2=this[_0x4d2556(0x11b)][_0x4d2556(0x102)][_0x4d2556(0x196)](_0x25c1d1)[_0x4d2556(0x12d)][_0x4d2556(0x196)](this[_0x4d2556(0x1cf)]);return!this[_0x4d2556(0x11b)][_0x4d2556(0x1e2)]&&!!_0x24bfc2&&_0x24bfc2[_0x4d2556(0x183)]>0x1&&this[_0x4d2556(0x189)];}[_0x5252ab(0x1c9)](){const _0x347824=_0x5252ab;return this[_0x347824(0x1dd)][_0x347824(0x183)]>0x0||this[_0x347824(0x1bc)]();}}class J extends Error{}function Q(_0x23f7a5,_0x59d08d){const _0x101996=_0x5252ab;for(const _0x3ecfc1 of _0x23f7a5)_0x3ecfc1[_0x101996(0x10d)]=_0x59d08d++;}class X{[_0x5252ab(0x1a9)];[_0x5252ab(0x17f)];constructor(_0x20453f){const _0x40ff42=_0x5252ab;this[_0x40ff42(0x1a9)]=_0x20453f,this[_0x40ff42(0x17f)]=new WeakMap();}[_0x5252ab(0x14e)](_0x46673a){const _0x11d3c9=_0x5252ab;let _0x25d230=_0x46673a[_0x11d3c9(0x183)];for(;_0x25d230--;){const _0x18e357=_0x46673a[_0x25d230];if(!this[_0x11d3c9(0x1a9)][_0x11d3c9(0x176)](_0x18e357)){if(!this[_0x11d3c9(0x17f)][_0x11d3c9(0x176)](_0x18e357)){const _0x2363de=_0x4c800a()[_0x11d3c9(0x1eb)](0x1,0x12);this[_0x11d3c9(0x17f)][_0x11d3c9(0x106)](_0x18e357,_0x2363de);}return this[_0x11d3c9(0x17f)][_0x11d3c9(0x196)](_0x18e357);}}}[_0x5252ab(0x11a)](_0x19f3c5,_0x4c436a){const _0x2ac55d=_0x5252ab;if(!_0x4c436a)return;let _0x8f4748=_0x19f3c5[_0x2ac55d(0x183)];for(;_0x8f4748--;){const _0x428f77=_0x19f3c5[_0x8f4748];this[_0x2ac55d(0x1a9)][_0x2ac55d(0x176)](_0x428f77)||this[_0x2ac55d(0x17f)][_0x2ac55d(0x106)](_0x428f77,_0x4c436a);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b1e56=_0x3f1c;(function(_0x14bc8c,_0x4d2c21){const _0x1aac46=_0x3f1c,_0x10c4b1=_0x14bc8c();while(!![]){try{const _0xb72a9d=-parseInt(_0x1aac46(0x218))/0x1+parseInt(_0x1aac46(0x223))/0x2*(-parseInt(_0x1aac46(0x224))/0x3)+-parseInt(_0x1aac46(0x211))/0x4*(-parseInt(_0x1aac46(0x20a))/0x5)+parseInt(_0x1aac46(0x216))/0x6*(-parseInt(_0x1aac46(0x1fd))/0x7)+parseInt(_0x1aac46(0x1fb))/0x8*(parseInt(_0x1aac46(0x1f6))/0x9)+-parseInt(_0x1aac46(0x1fa))/0xa+parseInt(_0x1aac46(0x21f))/0xb*(parseInt(_0x1aac46(0x1f3))/0xc);if(_0xb72a9d===_0x4d2c21)break;else _0x10c4b1['push'](_0x10c4b1['shift']());}catch(_0x140ae0){_0x10c4b1['push'](_0x10c4b1['shift']());}}}(_0x1a4b,0x41d59));import{ContextPlugin as _0x3036d7}from'ckeditor5/src/core.js';function _0x1a4b(){const _0x17efd0=['orderNumber','plugins','channelConnectedUsers','fire','sessionId','getUserBySessionId','_createUser','has','assign','14412HpkChh','mySessionId','channelSessions','54072eFgdzw','connection','set','pluginName','3231090GmnucB','120BPzaLm','requires','7mIkNNT','add','listenTo','_users','_handleSessionRemove','_registeredSessions','sessionAdd:','stopListening','remove','context','unregister','values','isPremiumPlugin','5EnsLUi','size','isMe','Sessions','clear','_uniqueUsersCount','getUser','2140104MaMPLB','getUserRole','getUserSessions','addUser','role','2231748EqfzCk','defineMe','355145tCfKHM','sessions-unregister-not-exist','register','sessions-register-already-registered','delete','change:state','hiddenInPresenceList','9713RBbTDO','connected','get','allConnectedUsers','18288sTrvwO','120zqDYIH','_handleSessionAdd','state','user','init','forEach','isOfficialPlugin'];_0x1a4b=function(){return _0x17efd0;};return _0x1a4b();}import{Collection as _0x14092a,CKEditorError as _0xfe9745}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xc69c96}from'./websocketgateway.js';import{Users as _0x575d13}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3f1c(_0xd82b3a,_0x334a9b){const _0x1a4b12=_0x1a4b();return _0x3f1c=function(_0x3f1ca7,_0x3aaeec){_0x3f1ca7=_0x3f1ca7-0x1f1;let _0x51dd34=_0x1a4b12[_0x3f1ca7];return _0x51dd34;},_0x3f1c(_0xd82b3a,_0x334a9b);}export class Sessions extends _0x3036d7{[_0x5b1e56(0x1f5)];[_0x5b1e56(0x22d)];[_0x5b1e56(0x222)];[_0x5b1e56(0x202)];[_0x5b1e56(0x20f)];[_0x5b1e56(0x200)];static get[_0x5b1e56(0x1f9)](){const _0x58dd78=_0x5b1e56;return _0x58dd78(0x20d);}static get[_0x5b1e56(0x22a)](){return!0x0;}static get[_0x5b1e56(0x209)](){return!0x0;}static get[_0x5b1e56(0x1fc)](){return[_0xc69c96,_0x575d13];}constructor(_0x482380){const _0x4b3e6d=_0x5b1e56;super(_0x482380),this[_0x4b3e6d(0x1f5)]=new Map(),this[_0x4b3e6d(0x22d)]=new Map(),this[_0x4b3e6d(0x222)]=new _0x14092a(),this[_0x4b3e6d(0x202)]=new Map(),this[_0x4b3e6d(0x20f)]=0x0,this[_0x4b3e6d(0x200)]=this[_0x4b3e6d(0x206)][_0x4b3e6d(0x22c)][_0x4b3e6d(0x221)](_0x575d13);}[_0x5b1e56(0x228)](){const _0x4e7b7e=_0x5b1e56,_0x172e4f=this[_0x4e7b7e(0x206)][_0x4e7b7e(0x22c)][_0x4e7b7e(0x221)](_0xc69c96);this[_0x4e7b7e(0x1ff)](_0x172e4f,_0x4e7b7e(0x21d),(_0x5199fc,_0x3f50d,_0x1ee8a3)=>{const _0x38052f=_0x4e7b7e;if(_0x38052f(0x220)!==_0x1ee8a3)this[_0x38052f(0x1f5)][_0x38052f(0x229)](_0xeac54e=>_0xeac54e[_0x38052f(0x20e)]()),this[_0x38052f(0x22d)][_0x38052f(0x229)](_0x571a1f=>_0x571a1f[_0x38052f(0x20e)]()),this[_0x38052f(0x222)][_0x38052f(0x20e)]();else{for(const [_0x2075dc,_0x2fb92c]of this[_0x38052f(0x202)])for(const _0x32bb8d of _0x2fb92c)this[_0x38052f(0x225)](_0x2075dc,_0x32bb8d);}}),this[_0x4e7b7e(0x231)](_0x172e4f[_0x4e7b7e(0x1f7)]['me'],!0x0);}[_0x5b1e56(0x21a)](_0x1b15a6,_0x1aba8a){const _0xdb5e78=_0x5b1e56;if(this[_0xdb5e78(0x202)][_0xdb5e78(0x1f1)](_0x1b15a6))throw new _0xfe9745(_0xdb5e78(0x21b),null,{'channelId':_0x1b15a6});this[_0xdb5e78(0x202)][_0xdb5e78(0x1f8)](_0x1b15a6,_0x1aba8a),this[_0xdb5e78(0x1f5)][_0xdb5e78(0x1f8)](_0x1b15a6,new _0x14092a()),this[_0xdb5e78(0x22d)][_0xdb5e78(0x1f8)](_0x1b15a6,new _0x14092a()),this[_0xdb5e78(0x1ff)](_0x1aba8a,_0xdb5e78(0x1fe),(_0x3ad6db,_0x2d95dc)=>this[_0xdb5e78(0x225)](_0x1b15a6,_0x2d95dc)),this[_0xdb5e78(0x1ff)](_0x1aba8a,_0xdb5e78(0x205),(_0x1b67d8,_0x1cd36e)=>this[_0xdb5e78(0x201)](_0x1b15a6,_0x1cd36e));for(const _0x2289fa of _0x1aba8a)this[_0xdb5e78(0x225)](_0x1b15a6,_0x2289fa);}[_0x5b1e56(0x207)](_0x3567c3){const _0x165e0c=_0x5b1e56;if(!this[_0x165e0c(0x202)][_0x165e0c(0x1f1)](_0x3567c3))throw new _0xfe9745(_0x165e0c(0x219),null,{'channelId':_0x3567c3});const _0x5c1d67=this[_0x165e0c(0x202)][_0x165e0c(0x221)](_0x3567c3);this[_0x165e0c(0x204)](_0x5c1d67);for(const _0x37fad8 of _0x5c1d67)_0x165e0c(0x220)===this[_0x165e0c(0x206)][_0x165e0c(0x22c)][_0x165e0c(0x221)](_0xc69c96)[_0x165e0c(0x226)]&&this[_0x165e0c(0x201)](_0x3567c3,_0x37fad8);this[_0x165e0c(0x202)][_0x165e0c(0x21c)](_0x3567c3),this[_0x165e0c(0x1f5)][_0x165e0c(0x21c)](_0x3567c3),this[_0x165e0c(0x22d)][_0x165e0c(0x21c)](_0x3567c3);}get[_0x5b1e56(0x1f4)](){const _0x56cc71=_0x5b1e56;return this[_0x56cc71(0x206)][_0x56cc71(0x22c)][_0x56cc71(0x221)](_0xc69c96)[_0x56cc71(0x1f7)][_0x56cc71(0x22f)];}[_0x5b1e56(0x230)](_0x57dc5c){const _0x527e3e=_0x5b1e56;for(const _0x2b7e9c of this[_0x527e3e(0x1f5)][_0x527e3e(0x208)]())for(const _0xc0754b of _0x2b7e9c)if(_0xc0754b['id']===_0x57dc5c)return _0xc0754b[_0x527e3e(0x227)];}[_0x5b1e56(0x213)](_0x58a05e,_0x4568ce){const _0x2dc9e1=_0x5b1e56,_0x5571c3=_0x4568ce?[this[_0x2dc9e1(0x1f5)][_0x2dc9e1(0x221)](_0x4568ce)]:this[_0x2dc9e1(0x1f5)][_0x2dc9e1(0x208)](),_0x10ea7d=new Set();for(const _0x19c1fc of _0x5571c3)for(const _0xfede69 of _0x19c1fc)_0xfede69[_0x2dc9e1(0x227)]['id']===_0x58a05e['id']&&_0x10ea7d[_0x2dc9e1(0x1fe)](_0xfede69['id']);return _0x10ea7d;}[_0x5b1e56(0x212)](_0x38ef90){const _0x23cfc3=_0x5b1e56;for(const _0x37770c of this[_0x23cfc3(0x1f5)][_0x23cfc3(0x208)]())for(const _0x348350 of _0x37770c)if(_0x348350[_0x23cfc3(0x227)]===_0x38ef90)return _0x348350[_0x23cfc3(0x215)];}[_0x5b1e56(0x225)](_0x34c332,_0x20eb15){const _0x5e6c1c=_0x5b1e56;if(_0x5e6c1c(0x220)!==this[_0x5e6c1c(0x206)][_0x5e6c1c(0x22c)][_0x5e6c1c(0x221)](_0xc69c96)[_0x5e6c1c(0x226)])return;const _0x1b9c9f=_0x20eb15[_0x5e6c1c(0x227)],_0x3b1513=this[_0x5e6c1c(0x200)][_0x5e6c1c(0x210)](_0x1b9c9f['id'])||this[_0x5e6c1c(0x231)](_0x1b9c9f),_0x1dc767=Object[_0x5e6c1c(0x1f2)]({},_0x20eb15,{'user':_0x3b1513});if(this[_0x5e6c1c(0x1f5)][_0x5e6c1c(0x221)](_0x34c332)[_0x5e6c1c(0x1fe)](_0x1dc767),!_0x1b9c9f[_0x5e6c1c(0x21e)]){const _0x38f500=this[_0x5e6c1c(0x22d)][_0x5e6c1c(0x221)](_0x34c332);_0x38f500[_0x5e6c1c(0x1f1)](_0x3b1513['id'])||_0x38f500[_0x5e6c1c(0x1fe)](_0x3b1513),this[_0x5e6c1c(0x222)][_0x5e6c1c(0x1f1)](_0x3b1513['id'])||_0x1b9c9f[_0x5e6c1c(0x21e)]||this[_0x5e6c1c(0x222)][_0x5e6c1c(0x1fe)](_0x3b1513,_0x3b1513[_0x5e6c1c(0x20c)]?0x0:void 0x0);}this[_0x5e6c1c(0x22e)](_0x5e6c1c(0x203)+_0x34c332,{'channelId':_0x34c332,'session':_0x1dc767});}[_0x5b1e56(0x201)](_0x1be46d,_0x2b744d){const _0x225ea0=_0x5b1e56;if(_0x225ea0(0x220)!==this[_0x225ea0(0x206)][_0x225ea0(0x22c)][_0x225ea0(0x221)](_0xc69c96)[_0x225ea0(0x226)])return;const _0x107f72=this[_0x225ea0(0x22d)][_0x225ea0(0x221)](_0x1be46d),_0x260119=_0x2b744d[_0x225ea0(0x227)];_0x260119['id']&&(this[_0x225ea0(0x1f5)][_0x225ea0(0x221)](_0x1be46d)[_0x225ea0(0x205)](_0x2b744d['id']),_0x107f72[_0x225ea0(0x1f1)](_0x260119['id'])&&!this[_0x225ea0(0x213)](_0x260119,_0x1be46d)[_0x225ea0(0x20b)]&&_0x107f72[_0x225ea0(0x205)](_0x260119['id']),this[_0x225ea0(0x222)][_0x225ea0(0x221)](_0x260119['id'])&&!this[_0x225ea0(0x213)](_0x260119)[_0x225ea0(0x20b)]&&this[_0x225ea0(0x222)][_0x225ea0(0x205)](_0x260119['id']));}[_0x5b1e56(0x231)](_0x3ebda0,_0x54dcd9){const _0x458c44=_0x5b1e56,_0x4e7ad9=this[_0x458c44(0x200)][_0x458c44(0x214)](_0x3ebda0);return _0x54dcd9&&this[_0x458c44(0x200)][_0x458c44(0x217)](_0x3ebda0['id']),_0x4e7ad9[_0x458c44(0x22b)]=this[_0x458c44(0x20f)]++,_0x4e7ad9;}}
23
+ const _0x328eaf=_0x33d1;(function(_0x571527,_0x2eaf9f){const _0x152d52=_0x33d1,_0x38b5ac=_0x571527();while(!![]){try{const _0x182cb4=parseInt(_0x152d52(0x108))/0x1+-parseInt(_0x152d52(0x109))/0x2*(parseInt(_0x152d52(0x112))/0x3)+parseInt(_0x152d52(0x104))/0x4+-parseInt(_0x152d52(0xf9))/0x5*(parseInt(_0x152d52(0x114))/0x6)+-parseInt(_0x152d52(0x107))/0x7*(parseInt(_0x152d52(0x121))/0x8)+parseInt(_0x152d52(0xf1))/0x9+-parseInt(_0x152d52(0xf6))/0xa;if(_0x182cb4===_0x2eaf9f)break;else _0x38b5ac['push'](_0x38b5ac['shift']());}catch(_0x1304c2){_0x38b5ac['push'](_0x38b5ac['shift']());}}}(_0x4b45,0x3480e));import{ContextPlugin as _0x51279f}from'ckeditor5/src/core.js';import{Collection as _0x265759,CKEditorError as _0x39c750}from'ckeditor5/src/utils.js';function _0x4b45(){const _0x4d22c5=['connection','pluginName','context','sessionId','mySessionId','_createUser','delete','channelSessions','Sessions','1643380lbaJKa','init','listenTo','663145WzeYWI','295072oXrrDC','104GTXtOi','addUser','connected','register','unregister','orderNumber','getUserBySessionId','add','get','3573QYEPuD','set','4224hvyBia','sessions-register-already-registered','hiddenInPresenceList','fire','clear','has','isMe','user','role','channelConnectedUsers','change:state','remove','sessions-unregister-not-exist','8jeXFHF','isPremiumPlugin','assign','_handleSessionRemove','requires','getUser','sessionAdd:','plugins','getUserRole','values','size','defineMe','stopListening','_handleSessionAdd','state','2403279mKuzSx','forEach','_uniqueUsersCount','isOfficialPlugin','_registeredSessions','4956270symOjW','_users','allConnectedUsers','750HtkEQV','getUserSessions'];_0x4b45=function(){return _0x4d22c5;};return _0x4b45();}import{WebSocketGateway as _0x4ad0f5}from'./websocketgateway.js';function _0x33d1(_0xb8856f,_0x45a48c){const _0x4b451f=_0x4b45();return _0x33d1=function(_0x33d173,_0x3e5a2b){_0x33d173=_0x33d173-0xee;let _0x3211f8=_0x4b451f[_0x33d173];return _0x3211f8;},_0x33d1(_0xb8856f,_0x45a48c);}import{Users as _0x39ae97}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x51279f{[_0x328eaf(0x102)];[_0x328eaf(0x11d)];[_0x328eaf(0xf8)];[_0x328eaf(0xf5)];[_0x328eaf(0xf3)];[_0x328eaf(0xf7)];static get[_0x328eaf(0xfc)](){const _0x258481=_0x328eaf;return _0x258481(0x103);}static get[_0x328eaf(0xf4)](){return!0x0;}static get[_0x328eaf(0x122)](){return!0x0;}static get[_0x328eaf(0x125)](){return[_0x4ad0f5,_0x39ae97];}constructor(_0x197454){const _0x3c3575=_0x328eaf;super(_0x197454),this[_0x3c3575(0x102)]=new Map(),this[_0x3c3575(0x11d)]=new Map(),this[_0x3c3575(0xf8)]=new _0x265759(),this[_0x3c3575(0xf5)]=new Map(),this[_0x3c3575(0xf3)]=0x0,this[_0x3c3575(0xf7)]=this[_0x3c3575(0xfd)][_0x3c3575(0x128)][_0x3c3575(0x111)](_0x39ae97);}[_0x328eaf(0x105)](){const _0x720235=_0x328eaf,_0x3f6f5f=this[_0x720235(0xfd)][_0x720235(0x128)][_0x720235(0x111)](_0x4ad0f5);this[_0x720235(0x106)](_0x3f6f5f,_0x720235(0x11e),(_0x20618f,_0xc1ec05,_0x20e71b)=>{const _0x179911=_0x720235;if(_0x179911(0x10b)!==_0x20e71b)this[_0x179911(0x102)][_0x179911(0xf2)](_0x349044=>_0x349044[_0x179911(0x118)]()),this[_0x179911(0x11d)][_0x179911(0xf2)](_0x17b539=>_0x17b539[_0x179911(0x118)]()),this[_0x179911(0xf8)][_0x179911(0x118)]();else{for(const [_0x1bf209,_0x4569d7]of this[_0x179911(0xf5)])for(const _0x3b5e7f of _0x4569d7)this[_0x179911(0xef)](_0x1bf209,_0x3b5e7f);}}),this[_0x720235(0x100)](_0x3f6f5f[_0x720235(0xfb)]['me'],!0x0);}[_0x328eaf(0x10c)](_0x2bc589,_0x3ea78f){const _0x3160f7=_0x328eaf;if(this[_0x3160f7(0xf5)][_0x3160f7(0x119)](_0x2bc589))throw new _0x39c750(_0x3160f7(0x115),null,{'channelId':_0x2bc589});this[_0x3160f7(0xf5)][_0x3160f7(0x113)](_0x2bc589,_0x3ea78f),this[_0x3160f7(0x102)][_0x3160f7(0x113)](_0x2bc589,new _0x265759()),this[_0x3160f7(0x11d)][_0x3160f7(0x113)](_0x2bc589,new _0x265759()),this[_0x3160f7(0x106)](_0x3ea78f,_0x3160f7(0x110),(_0x4ae2c9,_0x1c124e)=>this[_0x3160f7(0xef)](_0x2bc589,_0x1c124e)),this[_0x3160f7(0x106)](_0x3ea78f,_0x3160f7(0x11f),(_0xac69f0,_0x29473a)=>this[_0x3160f7(0x124)](_0x2bc589,_0x29473a));for(const _0xa471e of _0x3ea78f)this[_0x3160f7(0xef)](_0x2bc589,_0xa471e);}[_0x328eaf(0x10d)](_0x146621){const _0x25e67f=_0x328eaf;if(!this[_0x25e67f(0xf5)][_0x25e67f(0x119)](_0x146621))throw new _0x39c750(_0x25e67f(0x120),null,{'channelId':_0x146621});const _0x4171b4=this[_0x25e67f(0xf5)][_0x25e67f(0x111)](_0x146621);this[_0x25e67f(0xee)](_0x4171b4);for(const _0x3ed47b of _0x4171b4)_0x25e67f(0x10b)===this[_0x25e67f(0xfd)][_0x25e67f(0x128)][_0x25e67f(0x111)](_0x4ad0f5)[_0x25e67f(0xf0)]&&this[_0x25e67f(0x124)](_0x146621,_0x3ed47b);this[_0x25e67f(0xf5)][_0x25e67f(0x101)](_0x146621),this[_0x25e67f(0x102)][_0x25e67f(0x101)](_0x146621),this[_0x25e67f(0x11d)][_0x25e67f(0x101)](_0x146621);}get[_0x328eaf(0xff)](){const _0x5dc598=_0x328eaf;return this[_0x5dc598(0xfd)][_0x5dc598(0x128)][_0x5dc598(0x111)](_0x4ad0f5)[_0x5dc598(0xfb)][_0x5dc598(0xfe)];}[_0x328eaf(0x10f)](_0x274bcc){const _0x35706b=_0x328eaf;for(const _0x5a4867 of this[_0x35706b(0x102)][_0x35706b(0x12a)]())for(const _0x471d47 of _0x5a4867)if(_0x471d47['id']===_0x274bcc)return _0x471d47[_0x35706b(0x11b)];}[_0x328eaf(0xfa)](_0x13d8c3,_0x443d11){const _0x599d61=_0x328eaf,_0x8d3c93=_0x443d11?[this[_0x599d61(0x102)][_0x599d61(0x111)](_0x443d11)]:this[_0x599d61(0x102)][_0x599d61(0x12a)](),_0x5cab0f=new Set();for(const _0x1e9a3d of _0x8d3c93)for(const _0x391e49 of _0x1e9a3d)_0x391e49[_0x599d61(0x11b)]['id']===_0x13d8c3['id']&&_0x5cab0f[_0x599d61(0x110)](_0x391e49['id']);return _0x5cab0f;}[_0x328eaf(0x129)](_0x1216ab){const _0x315726=_0x328eaf;for(const _0x17b412 of this[_0x315726(0x102)][_0x315726(0x12a)]())for(const _0x3677cc of _0x17b412)if(_0x3677cc[_0x315726(0x11b)]===_0x1216ab)return _0x3677cc[_0x315726(0x11c)];}[_0x328eaf(0xef)](_0x1b6f22,_0x10fdb6){const _0x36b1af=_0x328eaf;if(_0x36b1af(0x10b)!==this[_0x36b1af(0xfd)][_0x36b1af(0x128)][_0x36b1af(0x111)](_0x4ad0f5)[_0x36b1af(0xf0)])return;const _0x6a3836=_0x10fdb6[_0x36b1af(0x11b)],_0x44b4e6=this[_0x36b1af(0xf7)][_0x36b1af(0x126)](_0x6a3836['id'])||this[_0x36b1af(0x100)](_0x6a3836),_0x9a9f98=Object[_0x36b1af(0x123)]({},_0x10fdb6,{'user':_0x44b4e6});if(this[_0x36b1af(0x102)][_0x36b1af(0x111)](_0x1b6f22)[_0x36b1af(0x110)](_0x9a9f98),!_0x6a3836[_0x36b1af(0x116)]){const _0x450933=this[_0x36b1af(0x11d)][_0x36b1af(0x111)](_0x1b6f22);_0x450933[_0x36b1af(0x119)](_0x44b4e6['id'])||_0x450933[_0x36b1af(0x110)](_0x44b4e6),this[_0x36b1af(0xf8)][_0x36b1af(0x119)](_0x44b4e6['id'])||_0x6a3836[_0x36b1af(0x116)]||this[_0x36b1af(0xf8)][_0x36b1af(0x110)](_0x44b4e6,_0x44b4e6[_0x36b1af(0x11a)]?0x0:void 0x0);}this[_0x36b1af(0x117)](_0x36b1af(0x127)+_0x1b6f22,{'channelId':_0x1b6f22,'session':_0x9a9f98});}[_0x328eaf(0x124)](_0x2c57c1,_0x1d9168){const _0x423d6d=_0x328eaf;if(_0x423d6d(0x10b)!==this[_0x423d6d(0xfd)][_0x423d6d(0x128)][_0x423d6d(0x111)](_0x4ad0f5)[_0x423d6d(0xf0)])return;const _0x366fb5=this[_0x423d6d(0x11d)][_0x423d6d(0x111)](_0x2c57c1),_0x5f5509=_0x1d9168[_0x423d6d(0x11b)];_0x5f5509['id']&&(this[_0x423d6d(0x102)][_0x423d6d(0x111)](_0x2c57c1)[_0x423d6d(0x11f)](_0x1d9168['id']),_0x366fb5[_0x423d6d(0x119)](_0x5f5509['id'])&&!this[_0x423d6d(0xfa)](_0x5f5509,_0x2c57c1)[_0x423d6d(0x12b)]&&_0x366fb5[_0x423d6d(0x11f)](_0x5f5509['id']),this[_0x423d6d(0xf8)][_0x423d6d(0x111)](_0x5f5509['id'])&&!this[_0x423d6d(0xfa)](_0x5f5509)[_0x423d6d(0x12b)]&&this[_0x423d6d(0xf8)][_0x423d6d(0x11f)](_0x5f5509['id']));}[_0x328eaf(0x100)](_0x44cc77,_0x14d621){const _0x38241f=_0x328eaf,_0x43a350=this[_0x38241f(0xf7)][_0x38241f(0x10a)](_0x44cc77);return _0x14d621&&this[_0x38241f(0xf7)][_0x38241f(0x12c)](_0x44cc77['id']),_0x43a350[_0x38241f(0x10e)]=this[_0x38241f(0xf3)]++,_0x43a350;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20a41b=_0x583a;function _0x2897(){const _0x14839c=['applyOperation','update:user:range','markerRange','get','isOfficialPlugin','reconvertMarker','toRange','keydown','destroy','for','createUIElement','getStart','batch','span','enqueueChange','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mySessionId','type','13321ZCuVDY','startsWith','markerToElement','Escape','isDocumentOperation','getContainedElement','data-session-id','getNearestSelectionRange','color','editingDowncast','isObject','root','conversion','ck-user__marker\x20','nodeAfter','createUserMarkerOperations','schema','3252qNQqld','user:','3483423DILSoY','toDomElement','markerNameToElements','isPremiumPlugin','pluginName','editing','element','requires','hasContent','isSimilar','635daQNUt','mouseleave','editor','mapper','getRange','outerHTML','newRange','markerToHighlight','226800xgBAYF','deletionPosition','hasDomSelection','commands','delete','spellcheck','getFirstRange','1025416fGaaBL','getMarkerClass','init','add','classList','getSelectionClass','name','ck-user__selection','rootName','ck-user__marker-tooltip','render','addMarker','updateMarker','checkChild','user:position','isCollapsed','getAttribute','marker','76569ncfTRp','undo','detach','setCustomProperty','$text','createElement','fromRange','textContent','getCustomProperty','afterInit','change:range','user:range','mouseenter','tableCell','highest','orderNumber','start','addEventListener','selection','document','getUserBySessionId','_domEmitter','remove','change','ck-user__marker_hovered','getPositions','createRange','model','innerHTML','plugins','listenTo','UserMarkers','user:position:','331409HSRUEZ','set','removeMarker','stopListening','isLimit','size','has','contenteditable','split','oldRange','markerName','clear','false','parent','984YuVBdk','end','user:range:','setAttribute','removeClass','isInline','view','$graveyard','userPositionMarker','markers','_createdBatches'];_0x2897=function(){return _0x14839c;};return _0x2897();}(function(_0x2bb971,_0x30cdbf){const _0x1ed93e=_0x583a,_0x4c6029=_0x2bb971();while(!![]){try{const _0x44df1b=parseInt(_0x1ed93e(0x204))/0x1+-parseInt(_0x1ed93e(0x254))/0x2+-parseInt(_0x1ed93e(0x1e3))/0x3+parseInt(_0x1ed93e(0x25b))/0x4+-parseInt(_0x1ed93e(0x24c))/0x5*(parseInt(_0x1ed93e(0x240))/0x6)+parseInt(_0x1ed93e(0x22f))/0x7*(parseInt(_0x1ed93e(0x212))/0x8)+-parseInt(_0x1ed93e(0x242))/0x9;if(_0x44df1b===_0x30cdbf)break;else _0x4c6029['push'](_0x4c6029['shift']());}catch(_0x592a87){_0x4c6029['push'](_0x4c6029['shift']());}}}(_0x2897,0x376d4));function _0x583a(_0x4dca87,_0x5eb039){const _0x2897ab=_0x2897();return _0x583a=function(_0x583a1e,_0x5d48e6){_0x583a1e=_0x583a1e-0x1da;let _0x1a7545=_0x2897ab[_0x583a1e];return _0x1a7545;},_0x583a(_0x4dca87,_0x5eb039);}import{Plugin as _0x599974}from'ckeditor5/src/core.js';import{global as _0x1ab8b4,DomEmitterMixin as _0x549b6e}from'ckeditor5/src/utils.js';import{Sessions as _0x3cb4b4}from'./sessions.js';import{ModelLiveRange as _0x450b03}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x599974{[_0x20a41b(0x1f8)]=new(_0x549b6e())();static get[_0x20a41b(0x249)](){return[_0x3cb4b4];}static get[_0x20a41b(0x246)](){const _0x5f2840=_0x20a41b;return _0x5f2840(0x202);}static get[_0x20a41b(0x221)](){return!0x0;}static get[_0x20a41b(0x245)](){return!0x0;}[_0x20a41b(0x25d)](){const _0xee4776=_0x20a41b,_0x1be170=this[_0xee4776(0x24e)],_0xc665ed=_0x1be170[_0xee4776(0x200)][_0xee4776(0x220)](_0x3cb4b4);_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x231)]({'model':_0xee4776(0x1df),'view':(_0x159cb7,{writer:_0x296201})=>function(_0x104a9c,_0x902200,_0x278a59,_0x48c52c){const _0x2a7539=_0xee4776,_0x29f8cc=_0x104a9c[_0x2a7539(0x20e)][_0x2a7539(0x20c)](':')[0x2],_0x5cc042=_0x278a59[_0x2a7539(0x1f7)](_0x29f8cc);if(!_0x5cc042||_0x29f8cc===_0x278a59[_0x2a7539(0x22d)])return;if(!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x1de)](_0x104a9c[_0x2a7539(0x21f)][_0x2a7539(0x1f3)],_0x2a7539(0x1e7)))return;const _0x1eeabe={'class':_0x2a7539(0x23c)+_0x5cc042[_0x2a7539(0x237)][_0x2a7539(0x25c)](),'data-name':_0x5cc042[_0x2a7539(0x261)],'data-session-id':_0x29f8cc},_0x27fddb=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x104a9c[_0x2a7539(0x20e)]),_0x4b64fb=_0x27fddb[_0x2a7539(0x228)](),_0x200a2a=_0x4b64fb[_0x2a7539(0x23d)],_0x3a4985=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)];if(_0x200a2a&&_0x3a4985[_0x2a7539(0x239)](_0x200a2a)&&_0x3a4985[_0x2a7539(0x217)](_0x200a2a)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x2a7539(0x214)+_0x29f8cc)[_0x2a7539(0x250)]()[_0x2a7539(0x1e0)])return;const _0x70b9ff=_0x4b64fb[_0x2a7539(0x211)];return _0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x208)](_0x70b9ff)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x24a)](_0x70b9ff)&&(_0x1eeabe[_0x2a7539(0x20b)]=!0x1),function(_0x221ff7,_0x1f0f2c,_0x248bb0){const _0x2cb8a4=_0x2a7539,_0x281113=_0x221ff7[_0x2cb8a4(0x227)](_0x2cb8a4(0x22a),_0x1f0f2c);return _0x221ff7[_0x2cb8a4(0x1e6)](_0x2cb8a4(0x21a),!0x0,_0x281113),_0x281113[_0x2cb8a4(0x1db)]=function(_0x4a2b1d){const _0x36e85c=_0x2cb8a4,_0x150b66=this[_0x36e85c(0x243)](_0x4a2b1d),_0x1b3db6=document[_0x36e85c(0x1e8)](_0x36e85c(0x22a));return _0x1b3db6[_0x36e85c(0x25f)][_0x36e85c(0x25e)](_0x36e85c(0x1da)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x20b),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x259),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x1ea)]=_0x248bb0[_0x36e85c(0x261)],_0x150b66[_0x36e85c(0x1ff)]=_0x36e85c(0x22c)+_0x1b3db6[_0x36e85c(0x251)]+'⁠',_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x1ef),()=>{const _0x18a3ee=_0x36e85c;_0x150b66[_0x18a3ee(0x25f)][_0x18a3ee(0x25e)](_0x18a3ee(0x1fb));}),_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x24d),()=>{const _0x40be0f=_0x36e85c;_0x150b66[_0x40be0f(0x25f)][_0x40be0f(0x1f9)](_0x40be0f(0x1fb));}),_0x150b66;},_0x281113[_0x2cb8a4(0x24b)]=function(_0x3c2e36){const _0x2cdb9f=_0x2cb8a4;return!(!this[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||!_0x3c2e36[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||this[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235))!=_0x3c2e36[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235)));},_0x281113;}(_0x902200,_0x1eeabe,_0x5cc042);}(_0x159cb7,_0x296201,_0xc665ed,_0x1be170)}),_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x253)]({'model':_0xee4776(0x1ee),'view':_0x23b61e=>function(_0x26e0ef,_0x2c94ef){const _0x51fa19=_0xee4776,_0x3355aa=_0x26e0ef[_0x51fa19(0x20e)][_0x51fa19(0x20c)](':')[0x2];if(_0x3355aa===_0x2c94ef[_0x51fa19(0x22d)])return null;const _0x54376f=_0x2c94ef[_0x51fa19(0x1f7)](_0x3355aa);if(!_0x54376f)return{'id':_0x3355aa,'classes':[]};return{'id':_0x3355aa,'classes':[_0x51fa19(0x262),_0x54376f[_0x51fa19(0x237)][_0x51fa19(0x260)]()],'attributes':{'data-session-id':_0x3355aa},'priority':0x7d0+_0x54376f[_0x51fa19(0x1f2)]};}(_0x23b61e,_0xc665ed)}),function(_0x501ed8){const _0x1615c0=_0xee4776,_0x3d02b9=_0x501ed8[_0x1615c0(0x1fe)],_0x426239=new Map(),_0x120a97=_0x501ed8[_0x1615c0(0x200)][_0x1615c0(0x220)](_0x3cb4b4);_0x3d02b9[_0x1615c0(0x21b)]['on'](_0x1615c0(0x21e),(_0x559ced,_0x27ade1,_0x507dea,_0x23aa3e)=>{const _0xb3dea4=_0x1615c0;if(!_0x23aa3e&&_0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)]))return _0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)])[_0xb3dea4(0x1e5)](),void _0x426239[_0xb3dea4(0x258)](_0x27ade1[_0xb3dea4(0x261)]);const _0x5acc07=_0x27ade1[_0xb3dea4(0x261)][_0xb3dea4(0x20c)](':')[0x2];if(_0x5acc07===_0x120a97[_0xb3dea4(0x22d)])return;const _0x525e3c=_0xb3dea4(0x203)+_0x5acc07;_0x3d02b9[_0xb3dea4(0x21b)][_0xb3dea4(0x20a)](_0x525e3c)&&_0x501ed8[_0xb3dea4(0x247)][_0xb3dea4(0x222)](_0x525e3c),_0x27ade1['on'](_0xb3dea4(0x1ed),(_0x39ad29,_0x3f07f8,_0x3d0db0)=>{const _0x53215d=_0xb3dea4;if(_0x53215d(0x219)!=_0x3f07f8[_0x53215d(0x23a)][_0x53215d(0x263)]&&_0x53215d(0x219)==_0x27ade1[_0x53215d(0x250)]()[_0x53215d(0x23a)][_0x53215d(0x263)]&&!_0x426239[_0x53215d(0x20a)](_0x27ade1[_0x53215d(0x261)])){const _0x55bf40=_0x3d02b9[_0x53215d(0x23f)][_0x53215d(0x236)](_0x3d0db0[_0x53215d(0x255)]);if(_0x55bf40){const _0x5af59c=_0x450b03[_0x53215d(0x1e9)](_0x55bf40);_0x426239[_0x53215d(0x205)](_0x27ade1[_0x53215d(0x261)],_0x5af59c),_0x5af59c['on'](_0x53215d(0x1ed),(_0x1e3ea6,_0x53a4d7,_0x17eaaf)=>{const _0x1badc4=_0x53215d;if(_0x1badc4(0x219)==_0x5af59c[_0x1badc4(0x23a)][_0x1badc4(0x263)]){const _0x5983b8=_0x3d02b9[_0x1badc4(0x23f)][_0x1badc4(0x236)](_0x17eaaf[_0x1badc4(0x255)]);_0x5983b8?(_0x5af59c[_0x1badc4(0x1f3)]=_0x5983b8[_0x1badc4(0x1f3)],_0x5af59c[_0x1badc4(0x213)]=_0x5983b8[_0x1badc4(0x213)]):(_0x426239[_0x1badc4(0x258)](_0x27ade1[_0x1badc4(0x261)]),_0x5af59c[_0x1badc4(0x1e5)]());}});}}});}),_0x3d02b9[_0x1615c0(0x1f6)]['on'](_0x1615c0(0x1fa),()=>{const _0x1e02d6=_0x1615c0;_0x426239[_0x1e02d6(0x209)]>0x0&&_0x3d02b9[_0x1e02d6(0x22b)]({'isUndoable':!0x1},_0x3690ae=>{const _0x1d2a52=_0x1e02d6;for(const [_0x139deb,_0x5ecdb7]of _0x426239)_0x1d2a52(0x219)==_0x3d02b9[_0x1d2a52(0x21b)][_0x1d2a52(0x220)](_0x139deb)[_0x1d2a52(0x250)]()[_0x1d2a52(0x23a)][_0x1d2a52(0x263)]&&(Z(_0x139deb[_0x1d2a52(0x20c)](':')[0x2],_0x5ecdb7[_0x1d2a52(0x223)](),_0x3d02b9,_0x3690ae),_0x5ecdb7[_0x1d2a52(0x1e5)]());_0x426239[_0x1d2a52(0x20f)]();});});}(_0x1be170),this[_0xee4776(0x1f8)][_0xee4776(0x201)](_0x1ab8b4[_0xee4776(0x1f6)],_0xee4776(0x224),(_0x7d2f4f,{key:_0x2db0eb})=>{const _0x30139f=_0xee4776;_0x30139f(0x232)===_0x2db0eb&&function(_0x11dcd4){const _0x56e01c=_0x30139f;_0x11dcd4[_0x56e01c(0x247)][_0x56e01c(0x218)][_0x56e01c(0x1fa)](_0x158979=>{const _0x597ed8=_0x56e01c;for(const _0x48b009 of _0x11dcd4[_0x597ed8(0x1fe)][_0x597ed8(0x21b)]){if(!_0x48b009[_0x597ed8(0x261)][_0x597ed8(0x230)](_0x597ed8(0x1df)))continue;const _0x16af06=_0x11dcd4[_0x597ed8(0x247)][_0x597ed8(0x24f)][_0x597ed8(0x244)](_0x48b009[_0x597ed8(0x261)]);if(_0x16af06){for(const _0x3f4fa7 of _0x16af06)_0x158979[_0x597ed8(0x216)](_0x597ed8(0x1fb),_0x3f4fa7);}}});}(_0x1be170);},{'useCapture':!0x0});}[_0x20a41b(0x1ec)](){const _0x57dfb3=_0x20a41b,_0x26849e=this[_0x57dfb3(0x24e)],_0x7756cd=_0x26849e[_0x57dfb3(0x257)][_0x57dfb3(0x220)](_0x57dfb3(0x1e4));_0x7756cd&&_0x26849e[_0x57dfb3(0x1fe)]['on'](_0x57dfb3(0x21d),(_0x3a8d62,_0x42902f)=>{const _0x10156a=_0x57dfb3,_0x1ec92b=_0x42902f[0x0];if(!_0x1ec92b[_0x10156a(0x233)])return;if(_0x10156a(0x1e2)!=_0x1ec92b[_0x10156a(0x22e)]||!_0x1ec92b[_0x10156a(0x261)][_0x10156a(0x230)](_0x10156a(0x241)))return;const _0x605eed=_0x1ec92b[_0x10156a(0x229)];_0x7756cd[_0x10156a(0x21c)][_0x10156a(0x20a)](_0x605eed)&&(_0x1ec92b[_0x10156a(0x252)]=_0x1ec92b[_0x10156a(0x20d)]?_0x26849e[_0x10156a(0x1fe)][_0x10156a(0x1fd)](_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x1f3)],_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x213)]):null);},{'priority':_0x57dfb3(0x1f1)});}[_0x20a41b(0x225)](){const _0x541462=_0x20a41b;return this[_0x541462(0x1f8)][_0x541462(0x207)](),super[_0x541462(0x225)]();}[_0x20a41b(0x23e)](){const _0x55e6d0=_0x20a41b,_0x224102=this[_0x55e6d0(0x24e)],_0x5758cd=_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x1f6)],_0xbb92ad=_0x224102[_0x55e6d0(0x200)][_0x55e6d0(0x220)](_0x3cb4b4);_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x22b)]({'isUndoable':!0x1},_0x58085b=>{const _0x443c47=_0x55e6d0,_0x4827c2=_0x443c47(0x214)+_0xbb92ad[_0x443c47(0x22d)],_0x39b4f5=_0x443c47(0x203)+_0xbb92ad[_0x443c47(0x22d)],_0x80dac1=_0x224102[_0x443c47(0x1fe)][_0x443c47(0x21b)][_0x443c47(0x20a)](_0x4827c2);_0x224102[_0x443c47(0x247)][_0x443c47(0x218)][_0x443c47(0x256)]?Z(_0xbb92ad[_0x443c47(0x22d)],_0x5758cd[_0x443c47(0x1f5)][_0x443c47(0x25a)](),_0x224102[_0x443c47(0x1fe)],_0x58085b):_0x80dac1&&(_0x58085b[_0x443c47(0x206)](_0x4827c2),_0x58085b[_0x443c47(0x206)](_0x39b4f5));});}}function Z(_0x4adfe3,_0x3a6a04,_0x42ef88,_0x23d82c){const _0x47e316=_0x20a41b,_0x15fdde=_0x47e316(0x214)+_0x4adfe3,_0x175431=_0x47e316(0x203)+_0x4adfe3,_0x18849e=_0x3a6a04[_0x47e316(0x234)]();let _0x236317=_0x3a6a04[_0x47e316(0x1f3)];if(_0x18849e&&_0x18849e['is'](_0x47e316(0x248),_0x47e316(0x1f0))){const _0x45e742=function(_0x1cb0b1,_0x25518a){const _0x55dd7b=_0x47e316;for(const _0x4d5294 of _0x1cb0b1[_0x55dd7b(0x1fc)]())if(_0x25518a[_0x55dd7b(0x23f)][_0x55dd7b(0x1de)](_0x4d5294,_0x55dd7b(0x1e7)))return _0x4d5294;}(_0x3a6a04,_0x42ef88);_0x45e742&&(_0x236317=_0x45e742,_0x3a6a04=_0x23d82c[_0x47e316(0x1fd)](_0x236317));}const _0x53487d=_0x23d82c[_0x47e316(0x1fd)](_0x236317);_0x42ef88[_0x47e316(0x21b)][_0x47e316(0x20a)](_0x15fdde)?(_0x23d82c[_0x47e316(0x1dd)](_0x15fdde,{'range':_0x3a6a04}),_0x23d82c[_0x47e316(0x1dd)](_0x175431,{'range':_0x53487d})):(_0x23d82c[_0x47e316(0x1dc)](_0x15fdde,{'range':_0x3a6a04,'usingOperation':!0x0}),_0x23d82c[_0x47e316(0x1dc)](_0x175431,{'range':_0x53487d,'usingOperation':!0x0}));}
23
+ function _0x38c2(){const _0x40a89f=['getPositions','nodeAfter','requires','user:range:','setCustomProperty','isObject','createElement','marker','hasDomSelection','toRange','for','ck-user__marker-tooltip','destroy','spellcheck','$graveyard','user:position','newRange','mapper','markerToElement','ck-user__marker_hovered','orderNumber','render','removeClass','5815voazsu','removeMarker','stopListening','clear','getStart','isInline','isCollapsed','set','toDomElement','addMarker','reconvertMarker','delete','parent','getCustomProperty','editor','detach','oldRange','2120656RqqBGd','isSimilar','enqueueChange','init','user:position:','tableCell','highest','7vUQZIw','ck-user__marker\x20','span','isOfficialPlugin','isDocumentOperation','createUIElement','change:range','editingDowncast','isLimit','color','_createdBatches','pluginName','afterInit','fromRange','createRange','user:','false','getUserBySessionId','element','getNearestSelectionRange','checkChild','data-session-id','markerNameToElements','13346217CFIRmN','contenteditable','plugins','type','startsWith','markerRange','user:range','setAttribute','schema','getMarkerClass','2156310cMNaqH','add','getContainedElement','conversion','943074aDXqeR','mouseleave','view','1vfGLEq','rootName','isPremiumPlugin','3772IMWiLd','split','outerHTML','listenTo','445378OVlndO','createUserMarkerOperations','markerToHighlight','end','document','classList','size','getFirstRange','mouseenter','userPositionMarker','markerName','get','markers','getAttribute','deletionPosition','start','UserMarkers','$text','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','name','3611496ckbtwa','has','applyOperation','update:user:range','getSelectionClass','updateMarker','model','selection','change','_domEmitter','root','commands','hasContent','remove','mySessionId','editing','keydown','addEventListener','getRange','innerHTML','textContent','undo','Escape','ck-user__selection'];_0x38c2=function(){return _0x40a89f;};return _0x38c2();}const _0x301b89=_0xe35a;(function(_0xe476e,_0x4adfc2){const _0x256332=_0xe35a,_0x23387d=_0xe476e();while(!![]){try{const _0x2913f9=-parseInt(_0x256332(0x1e7))/0x1*(parseInt(_0x256332(0x163))/0x2)+-parseInt(_0x256332(0x178))/0x3+-parseInt(_0x256332(0x1ea))/0x4*(-parseInt(_0x256332(0x1a7))/0x5)+parseInt(_0x256332(0x1e4))/0x6*(parseInt(_0x256332(0x1bf))/0x7)+-parseInt(_0x256332(0x1b8))/0x8+parseInt(_0x256332(0x1d6))/0x9+-parseInt(_0x256332(0x1e0))/0xa;if(_0x2913f9===_0x4adfc2)break;else _0x23387d['push'](_0x23387d['shift']());}catch(_0x224300){_0x23387d['push'](_0x23387d['shift']());}}}(_0x38c2,0xca87f));import{Plugin as _0xf91e2a}from'ckeditor5/src/core.js';import{global as _0x4dab5e,DomEmitterMixin as _0x50fafe}from'ckeditor5/src/utils.js';import{Sessions as _0x197125}from'./sessions.js';function _0xe35a(_0x1d5697,_0xdcf0d3){const _0x38c21d=_0x38c2();return _0xe35a=function(_0xe35ad8,_0x364f01){_0xe35ad8=_0xe35ad8-0x163;let _0x499a8e=_0x38c21d[_0xe35ad8];return _0x499a8e;},_0xe35a(_0x1d5697,_0xdcf0d3);}import{ModelLiveRange as _0x7d951e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xf91e2a{[_0x301b89(0x181)]=new(_0x50fafe())();static get[_0x301b89(0x192)](){return[_0x197125];}static get[_0x301b89(0x1ca)](){const _0x41d079=_0x301b89;return _0x41d079(0x173);}static get[_0x301b89(0x1c2)](){return!0x0;}static get[_0x301b89(0x1e9)](){return!0x0;}[_0x301b89(0x1bb)](){const _0x36e8a8=_0x301b89,_0x6b1850=this[_0x36e8a8(0x1b5)],_0x87d7be=_0x6b1850[_0x36e8a8(0x1d8)][_0x36e8a8(0x16e)](_0x197125);_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x1a2)]({'model':_0x36e8a8(0x19f),'view':(_0x58bd91,{writer:_0x5cb50f})=>function(_0x3d7d5a,_0x57703e,_0x168249,_0x2b1c33){const _0x37a3ca=_0x36e8a8,_0x4ed228=_0x3d7d5a[_0x37a3ca(0x16d)][_0x37a3ca(0x1eb)](':')[0x2],_0x1a232=_0x168249[_0x37a3ca(0x1d0)](_0x4ed228);if(!_0x1a232||_0x4ed228===_0x168249[_0x37a3ca(0x186)])return;if(!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1d3)](_0x3d7d5a[_0x37a3ca(0x1db)][_0x37a3ca(0x172)],_0x37a3ca(0x174)))return;const _0x326a96={'class':_0x37a3ca(0x1c0)+_0x1a232[_0x37a3ca(0x1c8)][_0x37a3ca(0x1df)](),'data-name':_0x1a232[_0x37a3ca(0x177)],'data-session-id':_0x4ed228},_0x3244e7=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x3d7d5a[_0x37a3ca(0x16d)]),_0x3f94f9=_0x3244e7[_0x37a3ca(0x1ab)](),_0x561c20=_0x3f94f9[_0x37a3ca(0x191)],_0x43f729=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)];if(_0x561c20&&_0x43f729[_0x37a3ca(0x195)](_0x561c20)&&_0x43f729[_0x37a3ca(0x1ac)](_0x561c20)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x37a3ca(0x193)+_0x4ed228)[_0x37a3ca(0x18a)]()[_0x37a3ca(0x1ad)])return;const _0x5e6831=_0x3f94f9[_0x37a3ca(0x1b3)];return _0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1c7)](_0x5e6831)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x184)](_0x5e6831)&&(_0x326a96[_0x37a3ca(0x1d7)]=!0x1),function(_0x356efa,_0x3c256e,_0x1a3c43){const _0x2fdf0e=_0x37a3ca,_0x54b69b=_0x356efa[_0x2fdf0e(0x1c4)](_0x2fdf0e(0x1c1),_0x3c256e);return _0x356efa[_0x2fdf0e(0x194)](_0x2fdf0e(0x16c),!0x0,_0x54b69b),_0x54b69b[_0x2fdf0e(0x1a5)]=function(_0xda511c){const _0x37ca0e=_0x2fdf0e,_0x3e3396=this[_0x37ca0e(0x1af)](_0xda511c),_0x212ce8=document[_0x37ca0e(0x196)](_0x37ca0e(0x1c1));return _0x212ce8[_0x37ca0e(0x168)][_0x37ca0e(0x1e1)](_0x37ca0e(0x19b)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x1d7),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x19d),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x18c)]=_0x1a3c43[_0x37ca0e(0x177)],_0x3e3396[_0x37ca0e(0x18b)]=_0x37ca0e(0x175)+_0x212ce8[_0x37ca0e(0x1ec)]+'⁠',_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x16b),()=>{const _0x232cac=_0x37ca0e;_0x3e3396[_0x232cac(0x168)][_0x232cac(0x1e1)](_0x232cac(0x1a3));}),_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x1e5),()=>{const _0x22db78=_0x37ca0e;_0x3e3396[_0x22db78(0x168)][_0x22db78(0x185)](_0x22db78(0x1a3));}),_0x3e3396;},_0x54b69b[_0x2fdf0e(0x1b9)]=function(_0xc88fbf){const _0x730dd5=_0x2fdf0e;return!(!this[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||!_0xc88fbf[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||this[_0x730dd5(0x170)](_0x730dd5(0x1d4))!=_0xc88fbf[_0x730dd5(0x170)](_0x730dd5(0x1d4)));},_0x54b69b;}(_0x57703e,_0x326a96,_0x1a232);}(_0x58bd91,_0x5cb50f,_0x87d7be,_0x6b1850)}),_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x165)]({'model':_0x36e8a8(0x1dc),'view':_0x3c82c7=>function(_0x28cc23,_0x3aaf2f){const _0x556900=_0x36e8a8,_0x4c2085=_0x28cc23[_0x556900(0x16d)][_0x556900(0x1eb)](':')[0x2];if(_0x4c2085===_0x3aaf2f[_0x556900(0x186)])return null;const _0x564f94=_0x3aaf2f[_0x556900(0x1d0)](_0x4c2085);if(!_0x564f94)return{'id':_0x4c2085,'classes':[]};return{'id':_0x4c2085,'classes':[_0x556900(0x18f),_0x564f94[_0x556900(0x1c8)][_0x556900(0x17c)]()],'attributes':{'data-session-id':_0x4c2085},'priority':0x7d0+_0x564f94[_0x556900(0x1a4)]};}(_0x3c82c7,_0x87d7be)}),function(_0x232113){const _0x42cc2b=_0x36e8a8,_0x374382=_0x232113[_0x42cc2b(0x17e)],_0x2b8e1b=new Map(),_0x5a0a9d=_0x232113[_0x42cc2b(0x1d8)][_0x42cc2b(0x16e)](_0x197125);_0x374382[_0x42cc2b(0x16f)]['on'](_0x42cc2b(0x17b),(_0x2b2a91,_0x444111,_0x1e1afd,_0x2a78bc)=>{const _0x171a08=_0x42cc2b;if(!_0x2a78bc&&_0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)]))return _0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)])[_0x171a08(0x1b6)](),void _0x2b8e1b[_0x171a08(0x1b2)](_0x444111[_0x171a08(0x177)]);const _0x1f0510=_0x444111[_0x171a08(0x177)][_0x171a08(0x1eb)](':')[0x2];if(_0x1f0510===_0x5a0a9d[_0x171a08(0x186)])return;const _0x1d7232=_0x171a08(0x1bc)+_0x1f0510;_0x374382[_0x171a08(0x16f)][_0x171a08(0x179)](_0x1d7232)&&_0x232113[_0x171a08(0x187)][_0x171a08(0x1b1)](_0x1d7232),_0x444111['on'](_0x171a08(0x1c5),(_0x47bac6,_0x4dc28e,_0x38ae3d)=>{const _0x236ece=_0x171a08;if(_0x236ece(0x19e)!=_0x4dc28e[_0x236ece(0x182)][_0x236ece(0x1e8)]&&_0x236ece(0x19e)==_0x444111[_0x236ece(0x18a)]()[_0x236ece(0x182)][_0x236ece(0x1e8)]&&!_0x2b8e1b[_0x236ece(0x179)](_0x444111[_0x236ece(0x177)])){const _0x4c6e53=_0x374382[_0x236ece(0x1de)][_0x236ece(0x1d2)](_0x38ae3d[_0x236ece(0x171)]);if(_0x4c6e53){const _0x46aa70=_0x7d951e[_0x236ece(0x1cc)](_0x4c6e53);_0x2b8e1b[_0x236ece(0x1ae)](_0x444111[_0x236ece(0x177)],_0x46aa70),_0x46aa70['on'](_0x236ece(0x1c5),(_0x507ec5,_0x113352,_0x34e24f)=>{const _0x14fc5f=_0x236ece;if(_0x14fc5f(0x19e)==_0x46aa70[_0x14fc5f(0x182)][_0x14fc5f(0x1e8)]){const _0x46b25e=_0x374382[_0x14fc5f(0x1de)][_0x14fc5f(0x1d2)](_0x34e24f[_0x14fc5f(0x171)]);_0x46b25e?(_0x46aa70[_0x14fc5f(0x172)]=_0x46b25e[_0x14fc5f(0x172)],_0x46aa70[_0x14fc5f(0x166)]=_0x46b25e[_0x14fc5f(0x166)]):(_0x2b8e1b[_0x14fc5f(0x1b2)](_0x444111[_0x14fc5f(0x177)]),_0x46aa70[_0x14fc5f(0x1b6)]());}});}}});}),_0x374382[_0x42cc2b(0x167)]['on'](_0x42cc2b(0x180),()=>{const _0x1e216d=_0x42cc2b;_0x2b8e1b[_0x1e216d(0x169)]>0x0&&_0x374382[_0x1e216d(0x1ba)]({'isUndoable':!0x1},_0x3604ea=>{const _0x5ab8e9=_0x1e216d;for(const [_0x3d1f3b,_0x4ffe18]of _0x2b8e1b)_0x5ab8e9(0x19e)==_0x374382[_0x5ab8e9(0x16f)][_0x5ab8e9(0x16e)](_0x3d1f3b)[_0x5ab8e9(0x18a)]()[_0x5ab8e9(0x182)][_0x5ab8e9(0x1e8)]&&(re(_0x3d1f3b[_0x5ab8e9(0x1eb)](':')[0x2],_0x4ffe18[_0x5ab8e9(0x199)](),_0x374382,_0x3604ea),_0x4ffe18[_0x5ab8e9(0x1b6)]());_0x2b8e1b[_0x5ab8e9(0x1aa)]();});});}(_0x6b1850),this[_0x36e8a8(0x181)][_0x36e8a8(0x1ed)](_0x4dab5e[_0x36e8a8(0x167)],_0x36e8a8(0x188),(_0x5b3d26,{key:_0x5bf19f})=>{const _0x191e9e=_0x36e8a8;_0x191e9e(0x18e)===_0x5bf19f&&function(_0xdb2247){const _0x296be9=_0x191e9e;_0xdb2247[_0x296be9(0x187)][_0x296be9(0x1e6)][_0x296be9(0x180)](_0x3115c1=>{const _0x44dda6=_0x296be9;for(const _0x182a5a of _0xdb2247[_0x44dda6(0x17e)][_0x44dda6(0x16f)]){if(!_0x182a5a[_0x44dda6(0x177)][_0x44dda6(0x1da)](_0x44dda6(0x19f)))continue;const _0x37e249=_0xdb2247[_0x44dda6(0x187)][_0x44dda6(0x1a1)][_0x44dda6(0x1d5)](_0x182a5a[_0x44dda6(0x177)]);if(_0x37e249){for(const _0x363371 of _0x37e249)_0x3115c1[_0x44dda6(0x1a6)](_0x44dda6(0x1a3),_0x363371);}}});}(_0x6b1850);},{'useCapture':!0x0});}[_0x301b89(0x1cb)](){const _0x18f77b=_0x301b89,_0x59f94b=this[_0x18f77b(0x1b5)],_0x3ac403=_0x59f94b[_0x18f77b(0x183)][_0x18f77b(0x16e)](_0x18f77b(0x18d));_0x3ac403&&_0x59f94b[_0x18f77b(0x17e)]['on'](_0x18f77b(0x17a),(_0x33c448,_0x4118c5)=>{const _0xf695cd=_0x18f77b,_0x36ec10=_0x4118c5[0x0];if(!_0x36ec10[_0xf695cd(0x1c3)])return;if(_0xf695cd(0x197)!=_0x36ec10[_0xf695cd(0x1d9)]||!_0x36ec10[_0xf695cd(0x177)][_0xf695cd(0x1da)](_0xf695cd(0x1ce)))return;const _0x1a50ce=_0x36ec10[_0xf695cd(0x176)];_0x3ac403[_0xf695cd(0x1c9)][_0xf695cd(0x179)](_0x1a50ce)&&(_0x36ec10[_0xf695cd(0x1a0)]=_0x36ec10[_0xf695cd(0x1b7)]?_0x59f94b[_0xf695cd(0x17e)][_0xf695cd(0x1cd)](_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x172)],_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x166)]):null);},{'priority':_0x18f77b(0x1be)});}[_0x301b89(0x19c)](){const _0x52e60d=_0x301b89;return this[_0x52e60d(0x181)][_0x52e60d(0x1a9)](),super[_0x52e60d(0x19c)]();}[_0x301b89(0x164)](){const _0xb58fe1=_0x301b89,_0x342894=this[_0xb58fe1(0x1b5)],_0x3b0bd4=_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x167)],_0x2cf006=_0x342894[_0xb58fe1(0x1d8)][_0xb58fe1(0x16e)](_0x197125);_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x1ba)]({'isUndoable':!0x1},_0x4895a0=>{const _0x2f7cf8=_0xb58fe1,_0x5a3ffb=_0x2f7cf8(0x193)+_0x2cf006[_0x2f7cf8(0x186)],_0x32d3c7=_0x2f7cf8(0x1bc)+_0x2cf006[_0x2f7cf8(0x186)],_0x107caf=_0x342894[_0x2f7cf8(0x17e)][_0x2f7cf8(0x16f)][_0x2f7cf8(0x179)](_0x5a3ffb);_0x342894[_0x2f7cf8(0x187)][_0x2f7cf8(0x1e6)][_0x2f7cf8(0x198)]?re(_0x2cf006[_0x2f7cf8(0x186)],_0x3b0bd4[_0x2f7cf8(0x17f)][_0x2f7cf8(0x16a)](),_0x342894[_0x2f7cf8(0x17e)],_0x4895a0):_0x107caf&&(_0x4895a0[_0x2f7cf8(0x1a8)](_0x5a3ffb),_0x4895a0[_0x2f7cf8(0x1a8)](_0x32d3c7));});}}function re(_0x1443b4,_0x5741c5,_0xe04af,_0x5ab6bd){const _0x2ba879=_0x301b89,_0x2b4015=_0x2ba879(0x193)+_0x1443b4,_0x2d6499=_0x2ba879(0x1bc)+_0x1443b4,_0x4291d7=_0x5741c5[_0x2ba879(0x1e2)]();let _0x235a26=_0x5741c5[_0x2ba879(0x172)];if(_0x4291d7&&_0x4291d7['is'](_0x2ba879(0x1d1),_0x2ba879(0x1bd))){const _0x3ef17e=function(_0x3d43cb,_0x4e475a){const _0x11db44=_0x2ba879;for(const _0x134e7c of _0x3d43cb[_0x11db44(0x190)]())if(_0x4e475a[_0x11db44(0x1de)][_0x11db44(0x1d3)](_0x134e7c,_0x11db44(0x174)))return _0x134e7c;}(_0x5741c5,_0xe04af);_0x3ef17e&&(_0x235a26=_0x3ef17e,_0x5741c5=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26));}const _0x23be99=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26);_0xe04af[_0x2ba879(0x16f)][_0x2ba879(0x179)](_0x2b4015)?(_0x5ab6bd[_0x2ba879(0x17d)](_0x2b4015,{'range':_0x5741c5}),_0x5ab6bd[_0x2ba879(0x17d)](_0x2d6499,{'range':_0x23be99})):(_0x5ab6bd[_0x2ba879(0x1b0)](_0x2b4015,{'range':_0x5741c5,'usingOperation':!0x0}),_0x5ab6bd[_0x2ba879(0x1b0)](_0x2d6499,{'range':_0x23be99,'usingOperation':!0x0}));}