@ckeditor/ckeditor5-real-time-collaboration 47.7.5-alpha.0 → 47.7.6

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 _0x5acc58=_0x2717;(function(_0x3ca132,_0x4124e3){const _0x291529=_0x2717,_0xbd746a=_0x3ca132();while(!![]){try{const _0x505e9e=parseInt(_0x291529(0x12c))/0x1*(-parseInt(_0x291529(0x12e))/0x2)+parseInt(_0x291529(0x123))/0x3+parseInt(_0x291529(0x129))/0x4+parseInt(_0x291529(0x128))/0x5+-parseInt(_0x291529(0x12d))/0x6*(-parseInt(_0x291529(0x13d))/0x7)+-parseInt(_0x291529(0x125))/0x8+-parseInt(_0x291529(0x11e))/0x9*(parseInt(_0x291529(0x133))/0xa);if(_0x505e9e===_0x4124e3)break;else _0xbd746a['push'](_0xbd746a['shift']());}catch(_0x307504){_0xbd746a['push'](_0xbd746a['shift']());}}}(_0x2ad8,0x4adb0));function _0x2717(_0x35c6a0,_0x1d4ed1){const _0x2ad880=_0x2ad8();return _0x2717=function(_0x27178c,_0x633fd1){_0x27178c=_0x27178c-0x11d;let _0xb74472=_0x2ad880[_0x27178c];return _0xb74472;},_0x2717(_0x35c6a0,_0x1d4ed1);}import{View as _0x429ab5}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1465f9}from'ckeditor5/src/utils.js';import{getTranslation as _0x4df449}from'../../common-translations.js';export class PresenceInlineListView extends _0x429ab5{[_0x5acc58(0x137)];[_0x5acc58(0x124)];constructor(_0x457433){const _0xb3eea6=_0x5acc58;super(_0x457433);const _0x5487cc=this[_0xb3eea6(0x132)];this[_0xb3eea6(0x137)]=this[_0xb3eea6(0x13a)](),this[_0xb3eea6(0x124)]=new _0x1465f9(),this[_0xb3eea6(0x11f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xb3eea6(0x143)]({'tag':_0xb3eea6(0x12f),'attributes':{'aria-haspopup':_0x5487cc['if'](_0xb3eea6(0x130)),'aria-expanded':_0x5487cc['to'](_0xb3eea6(0x142),_0x3c781e=>this[_0xb3eea6(0x130)]&&String(_0x3c781e)),'aria-label':_0x5487cc['to'](_0xb3eea6(0x130),_0x47a0ad=>_0x4df449(_0x457433,_0x47a0ad?_0xb3eea6(0x139):_0xb3eea6(0x131))),'role':_0xb3eea6(0x13b),'tabindex':_0x5487cc['to'](_0xb3eea6(0x130),_0xe3cde4=>!!_0xe3cde4&&0x0),'class':['ck',_0xb3eea6(0x141)]},'children':this[_0xb3eea6(0x137)],'on':{'mouseenter':_0x5487cc['to'](()=>this[_0xb3eea6(0x138)](_0xb3eea6(0x126))),'mouseleave':_0x5487cc['to'](_0x3b092c=>{const _0x180b1a=_0xb3eea6,_0x3b14f9=_0x3b092c,_0x322714=document[_0x180b1a(0x127)](_0x180b1a(0x136)),_0x547b83=document[_0x180b1a(0x127)](_0x180b1a(0x12b));_0x322714?.[_0x180b1a(0x13f)](_0x3b14f9[_0x180b1a(0x12a)])||_0x547b83?.[_0x180b1a(0x13f)](_0x3b14f9[_0x180b1a(0x12a)])||this[_0x180b1a(0x138)](_0x180b1a(0x135));})}}),this['on'](_0xb3eea6(0x13e),(_0x104dd5,_0x1d3e25,_0x429fae)=>{const _0x45fd0f=_0xb3eea6;this[_0x45fd0f(0x140)]&&(_0x429fae?this[_0x45fd0f(0x140)][_0x45fd0f(0x11d)](_0x45fd0f(0x122),String(this[_0x45fd0f(0x142)])):this[_0x45fd0f(0x140)][_0x45fd0f(0x120)](_0x45fd0f(0x122)));});}[_0x5acc58(0x13c)](){const _0xb3f0dd=_0x5acc58;this[_0xb3f0dd(0x140)][_0xb3f0dd(0x13c)]();}[_0x5acc58(0x134)](){const _0x38e841=_0x5acc58;super[_0x38e841(0x134)](),this[_0x38e841(0x124)][_0x38e841(0x121)](this[_0x38e841(0x140)]);}}function _0x2ad8(){const _0x47a889=['bindTemplate','150250dXTjlU','render','presencelist:hide','.ck-presence-list__dropdown-list','items','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','list','focus','82166BgewZt','change:hasPopup','contains','element','ck-presence-list__list','isExpanded','setTemplate','setAttribute','612awSSfU','set','removeAttribute','listenTo','aria-expanded','1410639RGERcw','keystrokes','1751552Qfefgt','presencelist:show','querySelector','1742430yJEHUS','2294440UraqdL','relatedTarget','.ck-balloon-panel_with-arrow','232411Nbwufp','198FuniTx','2jyYleV','div','hasPopup','Connected\x20users\x20list'];_0x2ad8=function(){return _0x47a889;};return _0x2ad8();}
23
+ const _0x35947e=_0x1569;(function(_0x2ffce2,_0x5f2c2c){const _0x39a148=_0x1569,_0x36c3f7=_0x2ffce2();while(!![]){try{const _0x1bc08d=parseInt(_0x39a148(0x171))/0x1+-parseInt(_0x39a148(0x175))/0x2+-parseInt(_0x39a148(0x15d))/0x3+-parseInt(_0x39a148(0x178))/0x4+-parseInt(_0x39a148(0x167))/0x5*(parseInt(_0x39a148(0x17c))/0x6)+parseInt(_0x39a148(0x17d))/0x7*(parseInt(_0x39a148(0x15e))/0x8)+parseInt(_0x39a148(0x174))/0x9;if(_0x1bc08d===_0x5f2c2c)break;else _0x36c3f7['push'](_0x36c3f7['shift']());}catch(_0xc20a32){_0x36c3f7['push'](_0x36c3f7['shift']());}}}(_0x13eb,0x445b2));import{View as _0x42fa06}from'ckeditor5/src/ui.js';function _0x13eb(){const _0x2300d3=['ck-presence-list__list','element','querySelector','.ck-balloon-panel_with-arrow','div','render','listenTo','focus','keystrokes','151441xsrIed','contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','967500enScSe','141416gpmMoP','items','fire','523816hkxpSD','aria-expanded','list','Connected\x20users\x20list','512238yVlJxp','7iGzGdA','createCollection','removeAttribute','presencelist:hide','setAttribute','bindTemplate','8901vPCWyW','2488376LznyyI','change:hasPopup','isExpanded','relatedTarget','presencelist:show','set','setTemplate','.ck-presence-list__dropdown-list','hasPopup','5sxURbO'];_0x13eb=function(){return _0x2300d3;};return _0x13eb();}function _0x1569(_0x3e0ecd,_0x115822){const _0x13eb7e=_0x13eb();return _0x1569=function(_0x156913,_0x4dea64){_0x156913=_0x156913-0x15d;let _0x490f87=_0x13eb7e[_0x156913];return _0x490f87;},_0x1569(_0x3e0ecd,_0x115822);}import{KeystrokeHandler as _0x2ce150}from'ckeditor5/src/utils.js';import{getTranslation as _0x160c79}from'../../common-translations.js';export class PresenceInlineListView extends _0x42fa06{[_0x35947e(0x176)];[_0x35947e(0x170)];constructor(_0x40afed){const _0x2b5ecb=_0x35947e;super(_0x40afed);const _0x1dbdae=this[_0x2b5ecb(0x182)];this[_0x2b5ecb(0x176)]=this[_0x2b5ecb(0x17e)](),this[_0x2b5ecb(0x170)]=new _0x2ce150(),this[_0x2b5ecb(0x163)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2b5ecb(0x164)]({'tag':_0x2b5ecb(0x16c),'attributes':{'aria-haspopup':_0x1dbdae['if'](_0x2b5ecb(0x166)),'aria-expanded':_0x1dbdae['to'](_0x2b5ecb(0x160),_0x1ad597=>this[_0x2b5ecb(0x166)]&&String(_0x1ad597)),'aria-label':_0x1dbdae['to'](_0x2b5ecb(0x166),_0x281180=>_0x160c79(_0x40afed,_0x281180?_0x2b5ecb(0x173):_0x2b5ecb(0x17b))),'role':_0x2b5ecb(0x17a),'tabindex':_0x1dbdae['to'](_0x2b5ecb(0x166),_0x46583c=>!!_0x46583c&&0x0),'class':['ck',_0x2b5ecb(0x168)]},'children':this[_0x2b5ecb(0x176)],'on':{'mouseenter':_0x1dbdae['to'](()=>this[_0x2b5ecb(0x177)](_0x2b5ecb(0x162))),'mouseleave':_0x1dbdae['to'](_0x5a7df0=>{const _0x29dce5=_0x2b5ecb,_0x5e9fb9=_0x5a7df0,_0x14de70=document[_0x29dce5(0x16a)](_0x29dce5(0x165)),_0x5f48e3=document[_0x29dce5(0x16a)](_0x29dce5(0x16b));_0x14de70?.[_0x29dce5(0x172)](_0x5e9fb9[_0x29dce5(0x161)])||_0x5f48e3?.[_0x29dce5(0x172)](_0x5e9fb9[_0x29dce5(0x161)])||this[_0x29dce5(0x177)](_0x29dce5(0x180));})}}),this['on'](_0x2b5ecb(0x15f),(_0xc266b7,_0x3bd6b2,_0x1bfe66)=>{const _0x235a3a=_0x2b5ecb;this[_0x235a3a(0x169)]&&(_0x1bfe66?this[_0x235a3a(0x169)][_0x235a3a(0x181)](_0x235a3a(0x179),String(this[_0x235a3a(0x160)])):this[_0x235a3a(0x169)][_0x235a3a(0x17f)](_0x235a3a(0x179)));});}[_0x35947e(0x16f)](){const _0x35a853=_0x35947e;this[_0x35a853(0x169)][_0x35a853(0x16f)]();}[_0x35947e(0x16d)](){const _0xa10e23=_0x35947e;super[_0xa10e23(0x16d)](),this[_0xa10e23(0x170)][_0xa10e23(0x16e)](this[_0xa10e23(0x169)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc082d0=_0x3ff9;(function(_0x2f5322,_0x446d26){const _0x5bd1e3=_0x3ff9,_0x1dbe6d=_0x2f5322();while(!![]){try{const _0x1c5fbb=-parseInt(_0x5bd1e3(0x151))/0x1*(-parseInt(_0x5bd1e3(0x140))/0x2)+parseInt(_0x5bd1e3(0x14c))/0x3+-parseInt(_0x5bd1e3(0x145))/0x4+parseInt(_0x5bd1e3(0x154))/0x5*(parseInt(_0x5bd1e3(0x150))/0x6)+parseInt(_0x5bd1e3(0x148))/0x7+-parseInt(_0x5bd1e3(0x149))/0x8+parseInt(_0x5bd1e3(0x153))/0x9;if(_0x1c5fbb===_0x446d26)break;else _0x1dbe6d['push'](_0x1dbe6d['shift']());}catch(_0x467e36){_0x1dbe6d['push'](_0x1dbe6d['shift']());}}}(_0x5472,0x61167));import{View as _0x353c50}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x573319}from'./presencecounterview.js';import{PresenceInlineListView as _0x276b90}from'./presenceinlinelistview.js';function _0x5472(){const _0x264357=['isCollapsed','ck-rounded-corners','bindTemplate','12CMvxit','731iGfXyw','counterView','3097827Kjrbop','397695NrBPDc','inlineListView','ck-reset','set','setTemplate','listenTo','div','ck-presence-list','772kJgkPA','items','first','change','bind','307216gjKfcV','hasPopup','locale','2021033ZbKvrW','5997600JLlPQu','ck-presence-list--collapsed','tooltipPosition','450027hGoKws'];_0x5472=function(){return _0x264357;};return _0x5472();}function _0x3ff9(_0x382c38,_0x22129e){const _0x547206=_0x5472();return _0x3ff9=function(_0x3ff9cb,_0x3f82d0){_0x3ff9cb=_0x3ff9cb-0x13e;let _0x4c5aea=_0x547206[_0x3ff9cb];return _0x4c5aea;},_0x3ff9(_0x382c38,_0x22129e);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x353c50{[_0xc082d0(0x152)];[_0xc082d0(0x155)];constructor(_0x3d880f,_0x43a6b7=0x6){const _0x3992e6=_0xc082d0;super(_0x3d880f);const _0x2c2228=this[_0x3992e6(0x14f)];this[_0x3992e6(0x157)](_0x3992e6(0x14d),!0x0),this[_0x3992e6(0x152)]=new _0x573319(this[_0x3992e6(0x147)],_0x43a6b7),this[_0x3992e6(0x155)]=new _0x276b90(_0x3d880f),this[_0x3992e6(0x155)][_0x3992e6(0x144)](_0x3992e6(0x146))['to'](this,_0x3992e6(0x14d)),this[_0x3992e6(0x159)](this[_0x3992e6(0x155)][_0x3992e6(0x141)],_0x3992e6(0x143),()=>{const _0x345729=_0x3992e6;for(const _0x4c7366 of this[_0x345729(0x155)][_0x345729(0x141)])_0x4c7366[_0x345729(0x14b)]='s';this[_0x345729(0x155)][_0x345729(0x141)][_0x345729(0x142)]&&(this[_0x345729(0x155)][_0x345729(0x141)][_0x345729(0x142)][_0x345729(0x14b)]='se');}),this[_0x3992e6(0x158)]({'tag':_0x3992e6(0x13e),'attributes':{'class':['ck',_0x3992e6(0x13f),_0x3992e6(0x156),_0x3992e6(0x14e),_0x2c2228['if'](_0x3992e6(0x14d),_0x3992e6(0x14a))]},'children':[this[_0x3992e6(0x155)]]});}}
23
+ const _0x236f8c=_0x4119;function _0x2bac(){const _0x28597a=['tooltipPosition','131984uhtFTQ','listenTo','bindTemplate','79676sqeNyx','1539082gBxrPX','8618104DvTJsj','counterView','ck-reset','ck-presence-list','ck-presence-list--collapsed','locale','60hTHuOr','inlineListView','set','items','hasPopup','setTemplate','2188902yfHUoA','13245729QpkLbE','32453091rcnIER','div','bind','isCollapsed','change','ck-rounded-corners','first','25LSYyKx'];_0x2bac=function(){return _0x28597a;};return _0x2bac();}(function(_0x29c261,_0x4c667f){const _0x429d87=_0x4119,_0x351f8b=_0x29c261();while(!![]){try{const _0x5dbdf1=parseInt(_0x429d87(0x88))/0x1+-parseInt(_0x429d87(0x8c))/0x2+parseInt(_0x429d87(0x93))/0x3*(parseInt(_0x429d87(0x8b))/0x4)+-parseInt(_0x429d87(0x86))/0x5*(-parseInt(_0x429d87(0x99))/0x6)+parseInt(_0x429d87(0x9a))/0x7+parseInt(_0x429d87(0x8d))/0x8+-parseInt(_0x429d87(0x7f))/0x9;if(_0x5dbdf1===_0x4c667f)break;else _0x351f8b['push'](_0x351f8b['shift']());}catch(_0x482ea0){_0x351f8b['push'](_0x351f8b['shift']());}}}(_0x2bac,0xe7927));import{View as _0x1607eb}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2e726f}from'./presencecounterview.js';import{PresenceInlineListView as _0x50d23e}from'./presenceinlinelistview.js';function _0x4119(_0x2c48ee,_0x537002){const _0x2bacf8=_0x2bac();return _0x4119=function(_0x411924,_0x548468){_0x411924=_0x411924-0x7f;let _0x3fd9c6=_0x2bacf8[_0x411924];return _0x3fd9c6;},_0x4119(_0x2c48ee,_0x537002);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x1607eb{[_0x236f8c(0x8e)];[_0x236f8c(0x94)];constructor(_0x1081e6,_0x3157f5=0x6){const _0x555618=_0x236f8c;super(_0x1081e6);const _0x43a8b0=this[_0x555618(0x8a)];this[_0x555618(0x95)](_0x555618(0x82),!0x0),this[_0x555618(0x8e)]=new _0x2e726f(this[_0x555618(0x92)],_0x3157f5),this[_0x555618(0x94)]=new _0x50d23e(_0x1081e6),this[_0x555618(0x94)][_0x555618(0x81)](_0x555618(0x97))['to'](this,_0x555618(0x82)),this[_0x555618(0x89)](this[_0x555618(0x94)][_0x555618(0x96)],_0x555618(0x83),()=>{const _0x273fe3=_0x555618;for(const _0x375648 of this[_0x273fe3(0x94)][_0x273fe3(0x96)])_0x375648[_0x273fe3(0x87)]='s';this[_0x273fe3(0x94)][_0x273fe3(0x96)][_0x273fe3(0x85)]&&(this[_0x273fe3(0x94)][_0x273fe3(0x96)][_0x273fe3(0x85)][_0x273fe3(0x87)]='se');}),this[_0x555618(0x98)]({'tag':_0x555618(0x80),'attributes':{'class':['ck',_0x555618(0x90),_0x555618(0x8f),_0x555618(0x84),_0x43a8b0['if'](_0x555618(0x82),_0x555618(0x91))]},'children':[this[_0x555618(0x94)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x213208=_0x5673;function _0x55c6(){var _0x12a7cd=['3884772YZTmRg','30jiWLJI','7401186YxEOao','5632816UadlKk','isPremiumPlugin','pluginName','PresenceList','1559733JCUAoB','15768WfUcva','3DiXTvR','3904210oyiyez','requires','isOfficialPlugin','14908tDQjZg'];_0x55c6=function(){return _0x12a7cd;};return _0x55c6();}(function(_0x5a792e,_0x3cdbd5){var _0x3eaac9=_0x5673,_0x204b93=_0x5a792e();while(!![]){try{var _0x257c67=-parseInt(_0x3eaac9(0x1d9))/0x1*(-parseInt(_0x3eaac9(0x1d7))/0x2)+-parseInt(_0x3eaac9(0x1d3))/0x3*(parseInt(_0x3eaac9(0x1e0))/0x4)+-parseInt(_0x3eaac9(0x1d4))/0x5+parseInt(_0x3eaac9(0x1d8))/0x6+parseInt(_0x3eaac9(0x1df))/0x7+-parseInt(_0x3eaac9(0x1db))/0x8+parseInt(_0x3eaac9(0x1da))/0x9;if(_0x257c67===_0x3cdbd5)break;else _0x204b93['push'](_0x204b93['shift']());}catch(_0x2e4126){_0x204b93['push'](_0x204b93['shift']());}}}(_0x55c6,0x68569));import{ContextPlugin as _0x54c18b}from'ckeditor5/src/core.js';function _0x5673(_0x527dfe,_0x42f495){var _0x55c6c3=_0x55c6();return _0x5673=function(_0x567383,_0x5ab969){_0x567383=_0x567383-0x1d3;var _0x53682a=_0x55c6c3[_0x567383];return _0x53682a;},_0x5673(_0x527dfe,_0x42f495);}import{Sessions as _0x31c2ef}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x50a5cd}from'./presencelist/presencelistui.js';export class PresenceList extends _0x54c18b{static get[_0x213208(0x1d5)](){return[_0x31c2ef,_0x50a5cd];}static get[_0x213208(0x1dd)](){var _0x22065e=_0x213208;return _0x22065e(0x1de);}static get[_0x213208(0x1d6)](){return!0x0;}static get[_0x213208(0x1dc)](){return!0x0;}}
23
+ function _0x3cd4(){var _0x314856=['2951608jTDasn','isOfficialPlugin','isPremiumPlugin','requires','8fMXqKK','2406056zlOaRb','66094QAXDBM','12450LQFWdJ','7075kvReSm','1938MdWrXu','1935pPBwYu','1294659byeftn','236yhTaDs','pluginName','PresenceList','1561hZgYEx'];_0x3cd4=function(){return _0x314856;};return _0x3cd4();}var _0x3ca2fd=_0x6eaa;(function(_0xb707c4,_0x427fca){var _0x2344f8=_0x6eaa,_0x5c5941=_0xb707c4();while(!![]){try{var _0xa23a42=-parseInt(_0x2344f8(0x170))/0x1*(-parseInt(_0x2344f8(0x16e))/0x2)+-parseInt(_0x2344f8(0x165))/0x3+parseInt(_0x2344f8(0x166))/0x4*(parseInt(_0x2344f8(0x162))/0x5)+parseInt(_0x2344f8(0x163))/0x6*(parseInt(_0x2344f8(0x169))/0x7)+parseInt(_0x2344f8(0x16f))/0x8+-parseInt(_0x2344f8(0x164))/0x9*(-parseInt(_0x2344f8(0x171))/0xa)+-parseInt(_0x2344f8(0x16a))/0xb;if(_0xa23a42===_0x427fca)break;else _0x5c5941['push'](_0x5c5941['shift']());}catch(_0x350d8c){_0x5c5941['push'](_0x5c5941['shift']());}}}(_0x3cd4,0x466b9));function _0x6eaa(_0x3a61b1,_0x12023a){var _0x3cd496=_0x3cd4();return _0x6eaa=function(_0x6eaa0,_0x51b2b6){_0x6eaa0=_0x6eaa0-0x162;var _0x3dc7e5=_0x3cd496[_0x6eaa0];return _0x3dc7e5;},_0x6eaa(_0x3a61b1,_0x12023a);}import{ContextPlugin as _0x20d269}from'ckeditor5/src/core.js';import{Sessions as _0x4079e9}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3323d3}from'./presencelist/presencelistui.js';export class PresenceList extends _0x20d269{static get[_0x3ca2fd(0x16d)](){return[_0x4079e9,_0x3323d3];}static get[_0x3ca2fd(0x167)](){var _0x36cf63=_0x3ca2fd;return _0x36cf63(0x168);}static get[_0x3ca2fd(0x16b)](){return!0x0;}static get[_0x3ca2fd(0x16c)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x225a(_0x5b9485,_0x1bc8d9){const _0x3aebb4=_0x3aeb();return _0x225a=function(_0x225a49,_0x50aa3c){_0x225a49=_0x225a49-0xaf;let _0xe4d8c0=_0x3aebb4[_0x225a49];return _0xe4d8c0;},_0x225a(_0x5b9485,_0x1bc8d9);}const _0x19f27e=_0x225a;(function(_0x2925b0,_0x1869d1){const _0x1cb6e4=_0x225a,_0x1ce978=_0x2925b0();while(!![]){try{const _0x166b37=parseInt(_0x1cb6e4(0xdb))/0x1+parseInt(_0x1cb6e4(0xd8))/0x2+parseInt(_0x1cb6e4(0xff))/0x3+parseInt(_0x1cb6e4(0xc7))/0x4+parseInt(_0x1cb6e4(0xf8))/0x5*(-parseInt(_0x1cb6e4(0xb0))/0x6)+-parseInt(_0x1cb6e4(0xfd))/0x7+-parseInt(_0x1cb6e4(0xeb))/0x8;if(_0x166b37===_0x1869d1)break;else _0x1ce978['push'](_0x1ce978['shift']());}catch(_0x2f2c5e){_0x1ce978['push'](_0x1ce978['shift']());}}}(_0x3aeb,0x7e84c));import{Context as _0x335cef,ContextPlugin as _0x22720d}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a7a54}from'ckeditor5/src/utils.js';import{Users as _0x36b1d1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1e4a95,User as _0x4650f8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4df11b}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3f77cf}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x22720d{static [_0x19f27e(0xdf)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1e4a95)());[_0x19f27e(0xf6)];static get[_0x19f27e(0xf3)](){const _0x27fe2e=_0x19f27e;return[_0x4df11b,_0x27fe2e(0xc9),_0x3f77cf,_0x36b1d1];}static get[_0x19f27e(0x101)](){const _0xa1af5=_0x19f27e;return _0xa1af5(0xfb);}static get[_0x19f27e(0x108)](){return!0x0;}static get[_0x19f27e(0xe4)](){return!0x0;}constructor(_0x1e6432){const _0x243029=_0x19f27e;super(_0x1e6432),this[_0x243029(0xf6)]=new Map();}async[_0x19f27e(0xe3)](){const _0x4237e8=_0x19f27e,_0x55f072=this[_0x4237e8(0xbf)],_0x5ea0dd=_0x55f072[_0x4237e8(0xda)][_0x4237e8(0xb1)](_0x4237e8(0xc9));if(_0x55f072[_0x4237e8(0xda)][_0x4237e8(0xb1)](_0x4df11b)[_0x4237e8(0xc4)](this),_0x5ea0dd[_0x4237e8(0xd9)]={'addCommentThread':async({channelId:_0xcf8bb5,threadId:_0x7be827,comments:_0x58adb3,resolvedAt:_0x2f863e,resolvedBy:_0x27d32b,context:_0x596a5b,attributes:_0x3c0133})=>{const _0x5b4aea=_0x4237e8,_0x38d22f=await this[_0x5b4aea(0x105)](_0xcf8bb5)[_0x5b4aea(0xc5)]({'commentThreadId':_0x7be827,'comments':_0x58adb3[_0x5b4aea(0xe2)](_0x2d3d9b=>function(_0x5a2b9f,_0x580a0b,_0x4f5216){const _0x224f53=_0x5b4aea;return{'commentThreadId':_0x4f5216,'commentId':_0x5a2b9f[_0x224f53(0x10b)],'userId':_0x5a2b9f[_0x224f53(0xd7)],'content':_0x5a2b9f[_0x224f53(0xd0)],'documentId':_0x580a0b,'createdAt':_0x5a2b9f[_0x224f53(0xde)],'attributes':_0x5a2b9f[_0x224f53(0xfa)]||{}};}(_0x2d3d9b,_0xcf8bb5,_0x7be827)),'resolvedAt':_0x2f863e,'resolvedBy':_0x27d32b,'context':_0x596a5b,'attributes':_0x3c0133})[_0x5b4aea(0xc3)](A);return{'threadId':_0x38d22f[_0x5b4aea(0xec)],'comments':_0x38d22f[_0x5b4aea(0x10a)]};},'getCommentThread':async({channelId:_0xfea152,threadId:_0x2cebc0})=>{const _0x5b5f00=_0x4237e8,_0x32e1f0=await this[_0x5b5f00(0x105)](_0xfea152)[_0x5b5f00(0xed)](_0x2cebc0)[_0x5b5f00(0xc3)](f)[_0x5b5f00(0xc3)](A);return _0x32e1f0?_0x32e1f0[_0x5b5f00(0xfe)]?null:(await this[_0x5b5f00(0xb7)]([_0x32e1f0]),{'threadId':_0x32e1f0[_0x5b5f00(0xec)],'comments':_0x32e1f0[_0x5b5f00(0x10a)][_0x5b5f00(0xe2)](p),'context':_0x32e1f0[_0x5b5f00(0xbf)],'resolvedAt':_0x32e1f0[_0x5b5f00(0xd2)],'resolvedBy':_0x32e1f0[_0x5b5f00(0xce)],'attributes':_0x32e1f0[_0x5b5f00(0xfa)]||{}}):null;},'updateCommentThread':async({channelId:_0x262e80,threadId:_0x25e0c5,context:_0x4cdd06,unlinkedAt:_0x47008b,attributes:_0xfbb3bb})=>this[_0x4237e8(0x105)](_0x262e80)[_0x4237e8(0xf9)]({'commentThreadId':_0x25e0c5,'context':_0x4cdd06,'attributes':_0xfbb3bb,'unlinkedAt':_0x47008b})[_0x4237e8(0xc3)](f)[_0x4237e8(0xc3)](A),'resolveCommentThread':async({channelId:_0x52d5e0,threadId:_0x40fd49})=>{const _0x1ec555=_0x4237e8,_0x5dd9dc=await this[_0x1ec555(0x105)](_0x52d5e0)[_0x1ec555(0x112)](_0x40fd49)[_0x1ec555(0xc3)](f)[_0x1ec555(0xc3)](A);return{'threadId':_0x5dd9dc[_0x1ec555(0xec)],'resolvedAt':_0x5dd9dc[_0x1ec555(0xd2)],'resolvedBy':_0x5dd9dc[_0x1ec555(0xce)]};},'reopenCommentThread':async({channelId:_0x49371f,threadId:_0x188e6e})=>this[_0x4237e8(0x105)](_0x49371f)[_0x4237e8(0xb9)](_0x188e6e)[_0x4237e8(0xc3)](f)[_0x4237e8(0xc3)](A),'removeCommentThread':({channelId:_0x370b20,threadId:_0x3ab802})=>this[_0x4237e8(0x105)](_0x370b20)[_0x4237e8(0x106)](_0x3ab802)[_0x4237e8(0xc3)](f)[_0x4237e8(0xc3)](A),'addComment':({channelId:_0x4f2972,threadId:_0x49bcb4,commentId:_0x5565c3,content:_0x524311,attributes:_0x51a9ec})=>this[_0x4237e8(0x105)](_0x4f2972)[_0x4237e8(0xf2)](_0x49bcb4,_0x5565c3,_0x524311,_0x51a9ec)[_0x4237e8(0xc3)](A),'updateComment':({channelId:_0x4ea0a4,threadId:_0x31c56d,commentId:_0x2f531c,content:_0x46182c,attributes:_0x26bfa4})=>this[_0x4237e8(0x105)](_0x4ea0a4)[_0x4237e8(0x10f)](_0x31c56d,_0x2f531c,_0x46182c,_0x26bfa4)[_0x4237e8(0xc3)](f)[_0x4237e8(0xc3)](A),'removeComment':({channelId:_0x42da43,threadId:_0x28a785,commentId:_0xb47cac})=>this[_0x4237e8(0x105)](_0x42da43)[_0x4237e8(0xea)](_0x28a785,_0xb47cac)[_0x4237e8(0xc3)](f)[_0x4237e8(0xc3)](A)},_0x55f072 instanceof _0x335cef){const _0x2147cf=_0x55f072[_0x4237e8(0xd5)][_0x4237e8(0xb1)](_0x4237e8(0xdd)),_0x3ab60b=_0x55f072[_0x4237e8(0xda)][_0x4237e8(0xb1)](_0x3f77cf);await this[_0x4237e8(0xcb)](_0x2147cf);const _0x2094ac=await this[_0x4237e8(0xf6)][_0x4237e8(0xb1)](_0x2147cf)[_0x4237e8(0xb6)]();this[_0x4237e8(0xbd)](_0x3ab60b,_0x4237e8(0xf0)+_0x2147cf,(_0x3fd1cc,{session:_0x74e8e1})=>{const _0x516ec6=_0x4237e8;_0x74e8e1['id']===_0x3ab60b[_0x516ec6(0xe5)]&&(_0x3fd1cc[_0x516ec6(0xb2)](),this[_0x516ec6(0xbf)][_0x516ec6(0xda)][_0x516ec6(0xb1)](_0x516ec6(0xca))[_0x516ec6(0xdc)](_0x74e8e1[_0x516ec6(0xe8)],_0x2147cf));}),_0x3ab60b[_0x4237e8(0xf5)](_0x2147cf,_0x2094ac);}}async[_0x19f27e(0xcb)](_0x2ea48d){const _0x3e55b5=_0x19f27e;if(this[_0x3e55b5(0xf6)][_0x3e55b5(0xee)](_0x2ea48d))throw new _0x3a7a54(_0x3e55b5(0xe6),null,{'channelId':_0x2ea48d});const _0xfe6258=this[_0x3e55b5(0xbf)][_0x3e55b5(0xda)][_0x3e55b5(0xb1)](_0x3e55b5(0xc9)),_0x26a07d=new CloudServicesCommentsAdapter[(_0x3e55b5(0xdf))](_0x2ea48d);this[_0x3e55b5(0xf6)][_0x3e55b5(0xd6)](_0x2ea48d,_0x26a07d),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0xd4),(_0x194109,_0x48805e)=>{const _0x44b4e3=_0x3e55b5,{commentThreadId:_0x881b30,documentId:_0x5d40b0,context:_0xe16fa9,attributes:_0x2dbfc4,resolvedAt:_0x3395ff,resolvedBy:_0x301366,comments:_0x4d9567}=_0x48805e;_0xfe6258[_0x44b4e3(0xed)](_0x881b30)||_0xfe6258[_0x44b4e3(0xc5)]({'threadId':_0x881b30,'channelId':_0x5d40b0,'comments':_0x4d9567?_0x4d9567[_0x44b4e3(0xe2)](p):[],'context':_0xe16fa9,'attributes':_0x2dbfc4,'resolvedAt':_0x3395ff,'resolvedBy':_0x301366,'isFromAdapter':!0x0});}),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0x110),(_0x533507,{commentThreadId:_0x446eaa,documentId:_0x5796b9,context:_0x15b25e,unlinkedAt:_0x1334be,attributes:_0x121c12})=>{const _0x336608=_0x3e55b5;_0xfe6258[_0x336608(0xed)](_0x446eaa)&&_0xfe6258[_0x336608(0xf9)]({'threadId':_0x446eaa,'channelId':_0x5796b9,'context':_0x15b25e,'unlinkedAt':_0x1334be,'attributes':_0x121c12,'isFromAdapter':!0x0});}),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0x111),(_0x2b9e18,{commentThreadId:_0x5edeb3,resolvedBy:_0x2e214a,resolvedAt:_0x302078})=>{const _0x51cd16=_0x3e55b5,_0x8bec37=_0xfe6258[_0x51cd16(0xed)](_0x5edeb3);_0x8bec37&&_0x8bec37[_0x51cd16(0xbc)]({'resolvedBy':_0x2e214a,'resolvedAt':_0x302078,'isFromAdapter':!0x0});}),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0x109),(_0x3a44de,{commentThreadId:_0x3e3d61})=>{const _0x22db49=_0x3e55b5,_0x4cf32d=_0xfe6258[_0x22db49(0xed)](_0x3e3d61);_0x4cf32d&&_0x4cf32d[_0x22db49(0xf1)]({'isFromAdapter':!0x0});}),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0xf7),(_0x3996bd,{commentThreadId:_0x1b27f3})=>{const _0x47d22c=_0x3e55b5,_0x557dd1=_0xfe6258[_0x47d22c(0xed)](_0x1b27f3);_0x557dd1&&_0x557dd1[_0x47d22c(0xb4)]({'isFromAdapter':!0x0});}),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0xcf),(_0x789e5a,_0x14cafd)=>{const _0x417620=_0x3e55b5,_0x312769=_0x14cafd[_0x417620(0xec)],_0x468951=_0xfe6258[_0x417620(0xed)](_0x312769);_0x468951&&_0x468951[_0x417620(0xf2)]({...p(_0x14cafd),'isFromAdapter':!0x0});}),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0xcc),(_0x11d702,{commentThreadId:_0x3ccc01,commentId:_0x3abb24,content:_0x380d9d,attributes:_0x1cd7b5})=>{const _0x4ef35c=_0x3e55b5,_0x3907c2=_0xfe6258[_0x4ef35c(0xed)](_0x3ccc01);if(_0x3907c2){const _0x1a11a7=_0x3907c2[_0x4ef35c(0xef)](_0x3abb24);_0x1a11a7&&_0x1a11a7[_0x4ef35c(0xe1)]({'content':_0x380d9d,'attributes':_0x1cd7b5,'isFromAdapter':!0x0});}}),this[_0x3e55b5(0xbd)](_0x26a07d,_0x3e55b5(0x103),(_0x5e2c2b,{commentThreadId:_0x11ef09,commentId:_0x5ee8c2})=>{const _0x6122d9=_0x3e55b5,_0x3ddb78=_0xfe6258[_0x6122d9(0xed)](_0x11ef09);if(_0x3ddb78){const _0x203096=_0x3ddb78[_0x6122d9(0xef)](_0x5ee8c2);_0x203096&&_0x203096[_0x6122d9(0xb4)]({'isFromAdapter':!0x0});}}),await this[_0x3e55b5(0xfc)](_0x2ea48d);}[_0x19f27e(0x102)](){const _0x2c4e4b=_0x19f27e;if(this[_0x2c4e4b(0xbf)]instanceof _0x335cef){const _0x36dbb5=this[_0x2c4e4b(0xbf)][_0x2c4e4b(0xd5)][_0x2c4e4b(0xb1)](_0x2c4e4b(0xdd));this[_0x2c4e4b(0xe0)](_0x36dbb5);}}[_0x19f27e(0xe0)](_0x35a03f){const _0x9c91f2=_0x19f27e;if(!this[_0x9c91f2(0xf6)][_0x9c91f2(0xee)](_0x35a03f))throw new _0x3a7a54(_0x9c91f2(0xc8),null,{'channelId':_0x35a03f});this[_0x9c91f2(0x105)](_0x35a03f)[_0x9c91f2(0xbb)](),this[_0x9c91f2(0xf6)][_0x9c91f2(0xb8)](_0x35a03f);}async[_0x19f27e(0x104)](){const _0x5690f3=_0x19f27e;for(const _0x406d9e of this[_0x5690f3(0xf6)][_0x5690f3(0xf4)]())await this[_0x5690f3(0xfc)](_0x406d9e);if(this[_0x5690f3(0xbf)]instanceof _0x335cef){const _0x3900d9=this[_0x5690f3(0xbf)][_0x5690f3(0xd5)][_0x5690f3(0xb1)](_0x5690f3(0xdd)),_0x160d8b=this[_0x5690f3(0xbf)][_0x5690f3(0xda)][_0x5690f3(0xb1)](_0x3f77cf);_0x160d8b[_0x5690f3(0xd1)](_0x3900d9);const _0x3b9df3=await this[_0x5690f3(0xf6)][_0x5690f3(0xb1)](_0x3900d9)[_0x5690f3(0xb6)]();_0x160d8b[_0x5690f3(0xf5)](_0x3900d9,_0x3b9df3);}}async[_0x19f27e(0xfc)](_0x42587b){const _0x34dd7e=_0x19f27e,{connection:_0x56abfa}=this[_0x34dd7e(0xbf)][_0x34dd7e(0xda)][_0x34dd7e(0xb1)](_0x4df11b),_0x3d1fe0=this[_0x34dd7e(0xbf)][_0x34dd7e(0xda)][_0x34dd7e(0xb1)](_0x34dd7e(0xc9)),_0xaa42b9=this[_0x34dd7e(0xf6)][_0x34dd7e(0xb1)](_0x42587b),_0x4d7fd2=await _0xaa42b9[_0x34dd7e(0xc0)](_0x56abfa);await this[_0x34dd7e(0xb7)](_0x4d7fd2);const _0x46b3bb=new Set(Array[_0x34dd7e(0xb3)](_0x3d1fe0[_0x34dd7e(0x10d)]({'channelId':_0x42587b}),_0x2ce96b=>_0x2ce96b['id']));for(const _0xf300eb of _0x4d7fd2)_0xf300eb[_0x34dd7e(0xfe)]||_0x46b3bb[_0x34dd7e(0xb8)](_0xf300eb[_0x34dd7e(0xec)]);for(const _0x49b618 of _0x46b3bb)_0x3d1fe0[_0x34dd7e(0xed)](_0x49b618)[_0x34dd7e(0xb4)]({'isFromAdapter':!0x0});for(const _0x3e1031 of _0x4d7fd2){let _0x47b29b=_0x3d1fe0[_0x34dd7e(0xed)](_0x3e1031[_0x34dd7e(0xec)]);const {commentThreadId:_0x4abc22,context:_0x2e6781,attributes:_0x45bcc3,resolvedBy:_0x55f44f,resolvedAt:_0x2c7e2f,unlinkedAt:_0x597d40,deletedAt:_0x5adb8c}=_0x3e1031;if(_0x5adb8c)continue;_0x47b29b||(_0x47b29b=_0x3d1fe0[_0x34dd7e(0xc5)]({'channelId':_0x42587b,'threadId':_0x4abc22,'context':_0x2e6781,'attributes':_0x45bcc3||{},'resolvedBy':_0x55f44f,'resolvedAt':_0x2c7e2f,'unlinkedAt':_0x597d40,'isFromAdapter':!0x0}));const _0x339929=new Set(Array[_0x34dd7e(0xb3)](_0x47b29b[_0x34dd7e(0x10a)],_0x3c23b7=>_0x3c23b7['id']));for(const _0x53124a of _0x3e1031[_0x34dd7e(0x10a)])_0x339929[_0x34dd7e(0xb8)](_0x53124a[_0x34dd7e(0x10b)]);for(const _0x1d5d64 of _0x339929)_0x47b29b[_0x34dd7e(0xef)](_0x1d5d64)[_0x34dd7e(0xb4)]({'isFromAdapter':!0x0});for(const _0x1efe14 of _0x3e1031[_0x34dd7e(0x10a)]){const _0x2d07af=_0x47b29b[_0x34dd7e(0xef)](_0x1efe14[_0x34dd7e(0x10b)]);_0x2d07af?_0x2d07af[_0x34dd7e(0xd0)]!==_0x1efe14[_0x34dd7e(0xd0)]&&_0x2d07af[_0x34dd7e(0xe1)]({'content':_0x1efe14[_0x34dd7e(0xd0)],'isFromAdapter':!0x0}):_0x47b29b[_0x34dd7e(0xf2)](Object[_0x34dd7e(0xba)](p(_0x1efe14),{'isFromAdapter':!0x0}));}}}[_0x19f27e(0x105)](_0x546d6f){const _0x595d1a=_0x19f27e;if(!this[_0x595d1a(0xf6)][_0x595d1a(0xee)](_0x546d6f))throw new _0x3a7a54(_0x595d1a(0xc2),null,{'channelId':_0x546d6f});return this[_0x595d1a(0xf6)][_0x595d1a(0xb1)](_0x546d6f);}async[_0x19f27e(0xb7)](_0x27291b){const _0x1ffa15=_0x19f27e,_0x4cab9a=this[_0x1ffa15(0xbf)][_0x1ffa15(0xda)][_0x1ffa15(0xb1)](_0x36b1d1),{connection:_0x465d5a}=this[_0x1ffa15(0xbf)][_0x1ffa15(0xda)][_0x1ffa15(0xb1)](_0x4df11b),_0x48af23=new Set();for(const {resolvedBy:_0xb80282,comments:_0x10314}of _0x27291b){_0xb80282&&!_0x4cab9a[_0x1ffa15(0xe7)](_0xb80282)&&_0x48af23[_0x1ffa15(0xaf)](_0xb80282);for(const {userId:_0x3cc411}of _0x10314)_0x4cab9a[_0x1ffa15(0xe7)](_0x3cc411)||_0x48af23[_0x1ffa15(0xaf)](_0x3cc411);}if(0x0===_0x48af23[_0x1ffa15(0x107)])return;const _0x12fe65=await _0x4650f8[_0x1ffa15(0x10e)](_0x465d5a,Array[_0x1ffa15(0xb3)](_0x48af23));for(const _0x3314cf of _0x12fe65)_0x4cab9a[_0x1ffa15(0xe7)](_0x3314cf['id'])||_0x4cab9a[_0x1ffa15(0xe9)](_0x3314cf);}}async function f(_0x17ade7){const _0x500be9=_0x19f27e;if(_0x500be9(0xc1)!==_0x17ade7[_0x500be9(0x100)])throw _0x17ade7;}function A(_0x18d01a){const _0x4d319c=_0x19f27e;if((_0x106586=_0x18d01a)[_0x4d319c(0xc6)][_0x4d319c(0xb5)](_0x4d319c(0xbe))||_0x106586[_0x4d319c(0xc6)][_0x4d319c(0xb5)](_0x4d319c(0x10c))||_0x106586[_0x4d319c(0xc6)][_0x4d319c(0xb5)](_0x4d319c(0xcd)))return new Promise(()=>{});var _0x106586;throw _0x18d01a;}function _0x3aeb(){const _0x3fa5c3=['createdAt','CommentsService','_terminateService','update','map','init','isPremiumPlugin','mySessionId','cloudservicescommentsadapter-connect-already-connected','getUser','permissions','addUser','removeComment','2195128HevCQX','commentThreadId','getCommentThread','has','getComment','sessionAdd:','reopen','addComment','requires','keys','register','_services','commentThreadRemoved','40HmJszZ','updateCommentThread','attributes','CloudServicesCommentsAdapter','_connectService','4552163WoLFCn','deletedAt','1224645UiDpTM','code','pluginName','destroy','commentRemoved','reconnect','_getService','removeCommentThread','size','isOfficialPlugin','commentThreadReopened','comments','commentId','cloud-services-internal-error:\x20Not\x20connected.','getCommentThreads','getMany','updateComment','commentThreadUpdated','commentThreadResolved','resolveCommentThread','add','539652GTlDhG','get','off','from','remove','startsWith','getConnectedSessions','_fetchMissingUsersForThreads','delete','reopenCommentThread','assign','disconnect','resolve','listenTo','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','context','connect','404','cloudservicescommentsadapter-service-not-exist','catch','addToReconnectionStack','addCommentThread','message','3973732yZxPnP','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','Permissions','_setUpService','commentUpdated','cloud-services-internal-error:\x20Request\x20timeout.','resolvedBy','commentAdded','content','unregister','resolvedAt','userId','commentThreadAdded','config','set','authorId','341296TYYZDw','adapter','plugins','590160oAeoDG','setPermissions','collaboration.channelId'];_0x3aeb=function(){return _0x3fa5c3;};return _0x3aeb();}function p(_0x395c14){const _0xa93691=_0x19f27e;return{'threadId':_0x395c14[_0xa93691(0xec)],'commentId':_0x395c14[_0xa93691(0x10b)],'content':_0x395c14[_0xa93691(0xd0)],'createdAt':_0x395c14[_0xa93691(0xde)],'authorId':_0x395c14[_0xa93691(0xd3)],'attributes':_0x395c14[_0xa93691(0xfa)]||{}};}
23
+ const _0xbe163b=_0x5daf;(function(_0x399d24,_0x44d6ea){const _0x12666b=_0x5daf,_0x250936=_0x399d24();while(!![]){try{const _0x434b95=-parseInt(_0x12666b(0x1db))/0x1*(-parseInt(_0x12666b(0x1c7))/0x2)+-parseInt(_0x12666b(0x1f3))/0x3*(-parseInt(_0x12666b(0x1fc))/0x4)+-parseInt(_0x12666b(0x1e5))/0x5+parseInt(_0x12666b(0x1be))/0x6+parseInt(_0x12666b(0x1c1))/0x7+-parseInt(_0x12666b(0x1ca))/0x8+-parseInt(_0x12666b(0x1fd))/0x9*(parseInt(_0x12666b(0x1f4))/0xa);if(_0x434b95===_0x44d6ea)break;else _0x250936['push'](_0x250936['shift']());}catch(_0x6626e3){_0x250936['push'](_0x250936['shift']());}}}(_0x1124,0x48219));import{Context as _0x1da538,ContextPlugin as _0x48a825}from'ckeditor5/src/core.js';import{CKEditorError as _0x134c35}from'ckeditor5/src/utils.js';import{Users as _0x45ddb4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1124(){const _0x2212f3=['commentAdded','updateComment','comments','disconnect','size','Permissions','context','3SHYjoy','4115770kCdvqq','commentUpdated','getComment','delete','addCommentThread','cloudservicescommentsadapter-service-not-exist','adapter','catch','1901708hTxsXE','18lUKUqG','content','pluginName','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadUpdated','userId','CommentsRepository','_setUpService','resolvedBy','register','keys','reopen','deletedAt','getConnectedSessions','CommentsService','sessionAdd:','removeComment','addComment','isOfficialPlugin','get','remove','cloud-services-internal-error:\x20Not\x20connected.','mySessionId','authorId','off','addToReconnectionStack','createdAt','destroy','has','plugins','commentId','getUser','assign','config','resolvedAt','set','unregister','_connectService','collaboration.channelId','2453034NduqJu','add','code','984088XrLsiy','attributes','removeCommentThread','resolveCommentThread','message','commentThreadAdded','369774jhbzVQ','404','init','558408aEPLNj','CloudServicesCommentsAdapter','permissions','addUser','commentThreadRemoved','reopenCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadResolved','setPermissions','commentRemoved','map','getMany','commentThreadReopened','_services','getCommentThread','requires','_fetchMissingUsersForThreads','3aGuhpK','updateCommentThread','getCommentThreads','cloudservicescommentsadapter-disconnect-not-exist','resolve','startsWith','update','from','commentThreadId','_terminateService','1955535yyrwVa','_getService','connect','listenTo','cloudservicescommentsadapter-connect-already-connected','isPremiumPlugin','reconnect'];_0x1124=function(){return _0x2212f3;};return _0x1124();}import{CommentsService as _0x137692,User as _0x2ef67b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2d3c33}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x326bf8}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x48a825{static [_0xbe163b(0x20b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x137692)());[_0xbe163b(0x1d7)];static get[_0xbe163b(0x1d9)](){const _0x144d20=_0xbe163b;return[_0x2d3c33,_0x144d20(0x203),_0x326bf8,_0x45ddb4];}static get[_0xbe163b(0x1ff)](){const _0x5b0943=_0xbe163b;return _0x5b0943(0x1cb);}static get[_0xbe163b(0x20f)](){return!0x0;}static get[_0xbe163b(0x1ea)](){return!0x0;}constructor(_0xb4a2a8){const _0x2412e7=_0xbe163b;super(_0xb4a2a8),this[_0x2412e7(0x1d7)]=new Map();}async[_0xbe163b(0x1c9)](){const _0x340288=_0xbe163b,_0x4f6eba=this[_0x340288(0x1f2)],_0x35d357=_0x4f6eba[_0x340288(0x1b4)][_0x340288(0x210)](_0x340288(0x203));if(_0x4f6eba[_0x340288(0x1b4)][_0x340288(0x210)](_0x2d3c33)[_0x340288(0x1b0)](this),_0x35d357[_0x340288(0x1fa)]={'addCommentThread':async({channelId:_0x1bf0f0,threadId:_0x3b9506,comments:_0x47ab73,resolvedAt:_0x835d47,resolvedBy:_0x29c180,context:_0x3e6353,attributes:_0x148506})=>{const _0x4beba8=_0x340288,_0x2776ec=await this[_0x4beba8(0x1e6)](_0x1bf0f0)[_0x4beba8(0x1f8)]({'commentThreadId':_0x3b9506,'comments':_0x47ab73[_0x4beba8(0x1d4)](_0x21d368=>function(_0x5d28e0,_0x13f4e7,_0x2115cd){const _0x36dd81=_0x4beba8;return{'commentThreadId':_0x2115cd,'commentId':_0x5d28e0[_0x36dd81(0x1b5)],'userId':_0x5d28e0[_0x36dd81(0x214)],'content':_0x5d28e0[_0x36dd81(0x1fe)],'documentId':_0x13f4e7,'createdAt':_0x5d28e0[_0x36dd81(0x1b1)],'attributes':_0x5d28e0[_0x36dd81(0x1c2)]||{}};}(_0x21d368,_0x1bf0f0,_0x3b9506)),'resolvedAt':_0x835d47,'resolvedBy':_0x29c180,'context':_0x3e6353,'attributes':_0x148506})[_0x4beba8(0x1fb)](N);return{'threadId':_0x2776ec[_0x4beba8(0x1e3)],'comments':_0x2776ec[_0x4beba8(0x1ee)]};},'getCommentThread':async({channelId:_0x5692ae,threadId:_0x3a26b6})=>{const _0x165167=_0x340288,_0x262dec=await this[_0x165167(0x1e6)](_0x5692ae)[_0x165167(0x1d8)](_0x3a26b6)[_0x165167(0x1fb)](q)[_0x165167(0x1fb)](N);return _0x262dec?_0x262dec[_0x165167(0x209)]?null:(await this[_0x165167(0x1da)]([_0x262dec]),{'threadId':_0x262dec[_0x165167(0x1e3)],'comments':_0x262dec[_0x165167(0x1ee)][_0x165167(0x1d4)](z),'context':_0x262dec[_0x165167(0x1f2)],'resolvedAt':_0x262dec[_0x165167(0x1b9)],'resolvedBy':_0x262dec[_0x165167(0x205)],'attributes':_0x262dec[_0x165167(0x1c2)]||{}}):null;},'updateCommentThread':async({channelId:_0x3e0b3c,threadId:_0x2fdbd8,context:_0x54179f,unlinkedAt:_0x3f9245,attributes:_0x2ab4d1})=>this[_0x340288(0x1e6)](_0x3e0b3c)[_0x340288(0x1dc)]({'commentThreadId':_0x2fdbd8,'context':_0x54179f,'attributes':_0x2ab4d1,'unlinkedAt':_0x3f9245})[_0x340288(0x1fb)](q)[_0x340288(0x1fb)](N),'resolveCommentThread':async({channelId:_0xfb992a,threadId:_0x1852c9})=>{const _0x2456eb=_0x340288,_0x1e3736=await this[_0x2456eb(0x1e6)](_0xfb992a)[_0x2456eb(0x1c4)](_0x1852c9)[_0x2456eb(0x1fb)](q)[_0x2456eb(0x1fb)](N);return{'threadId':_0x1e3736[_0x2456eb(0x1e3)],'resolvedAt':_0x1e3736[_0x2456eb(0x1b9)],'resolvedBy':_0x1e3736[_0x2456eb(0x205)]};},'reopenCommentThread':async({channelId:_0x5d0448,threadId:_0x4aba73})=>this[_0x340288(0x1e6)](_0x5d0448)[_0x340288(0x1cf)](_0x4aba73)[_0x340288(0x1fb)](q)[_0x340288(0x1fb)](N),'removeCommentThread':({channelId:_0x2833b5,threadId:_0x3b173a})=>this[_0x340288(0x1e6)](_0x2833b5)[_0x340288(0x1c3)](_0x3b173a)[_0x340288(0x1fb)](q)[_0x340288(0x1fb)](N),'addComment':({channelId:_0x3bf478,threadId:_0x2a97c2,commentId:_0x381d57,content:_0x48a02e,attributes:_0x1176f9})=>this[_0x340288(0x1e6)](_0x3bf478)[_0x340288(0x20e)](_0x2a97c2,_0x381d57,_0x48a02e,_0x1176f9)[_0x340288(0x1fb)](N),'updateComment':({channelId:_0x36ecc8,threadId:_0x545069,commentId:_0x5bb344,content:_0x2ac6e1,attributes:_0x4e4cba})=>this[_0x340288(0x1e6)](_0x36ecc8)[_0x340288(0x1ed)](_0x545069,_0x5bb344,_0x2ac6e1,_0x4e4cba)[_0x340288(0x1fb)](q)[_0x340288(0x1fb)](N),'removeComment':({channelId:_0x1906cf,threadId:_0x1b6fb1,commentId:_0x2b213a})=>this[_0x340288(0x1e6)](_0x1906cf)[_0x340288(0x20d)](_0x1b6fb1,_0x2b213a)[_0x340288(0x1fb)](q)[_0x340288(0x1fb)](N)},_0x4f6eba instanceof _0x1da538){const _0x2ca6d8=_0x4f6eba[_0x340288(0x1b8)][_0x340288(0x210)](_0x340288(0x1bd)),_0xfa37a=_0x4f6eba[_0x340288(0x1b4)][_0x340288(0x210)](_0x326bf8);await this[_0x340288(0x204)](_0x2ca6d8);const _0xbbce7=await this[_0x340288(0x1d7)][_0x340288(0x210)](_0x2ca6d8)[_0x340288(0x20a)]();this[_0x340288(0x1e8)](_0xfa37a,_0x340288(0x20c)+_0x2ca6d8,(_0x10ff3c,{session:_0xd05c7f})=>{const _0x1fe178=_0x340288;_0xd05c7f['id']===_0xfa37a[_0x1fe178(0x213)]&&(_0x10ff3c[_0x1fe178(0x1af)](),this[_0x1fe178(0x1f2)][_0x1fe178(0x1b4)][_0x1fe178(0x210)](_0x1fe178(0x1f1))[_0x1fe178(0x1d2)](_0xd05c7f[_0x1fe178(0x1cc)],_0x2ca6d8));}),_0xfa37a[_0x340288(0x206)](_0x2ca6d8,_0xbbce7);}}async[_0xbe163b(0x204)](_0x496fce){const _0x45840e=_0xbe163b;if(this[_0x45840e(0x1d7)][_0x45840e(0x1b3)](_0x496fce))throw new _0x134c35(_0x45840e(0x1e9),null,{'channelId':_0x496fce});const _0x406652=this[_0x45840e(0x1f2)][_0x45840e(0x1b4)][_0x45840e(0x210)](_0x45840e(0x203)),_0x32808e=new CloudServicesCommentsAdapter[(_0x45840e(0x20b))](_0x496fce);this[_0x45840e(0x1d7)][_0x45840e(0x1ba)](_0x496fce,_0x32808e),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x1c6),(_0x3ca94a,_0x7b1a4a)=>{const _0x198f1d=_0x45840e,{commentThreadId:_0x252171,documentId:_0x19f1e7,context:_0x39f154,attributes:_0x706efe,resolvedAt:_0x1b736c,resolvedBy:_0x1be556,comments:_0x1cc7b7}=_0x7b1a4a;_0x406652[_0x198f1d(0x1d8)](_0x252171)||_0x406652[_0x198f1d(0x1f8)]({'threadId':_0x252171,'channelId':_0x19f1e7,'comments':_0x1cc7b7?_0x1cc7b7[_0x198f1d(0x1d4)](z):[],'context':_0x39f154,'attributes':_0x706efe,'resolvedAt':_0x1b736c,'resolvedBy':_0x1be556,'isFromAdapter':!0x0});}),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x201),(_0x24b1ed,{commentThreadId:_0x575f72,documentId:_0xb4aa99,context:_0xd9580f,unlinkedAt:_0x5bafb8,attributes:_0x3213a1})=>{const _0x212932=_0x45840e;_0x406652[_0x212932(0x1d8)](_0x575f72)&&_0x406652[_0x212932(0x1dc)]({'threadId':_0x575f72,'channelId':_0xb4aa99,'context':_0xd9580f,'unlinkedAt':_0x5bafb8,'attributes':_0x3213a1,'isFromAdapter':!0x0});}),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x1d1),(_0x5b5faa,{commentThreadId:_0x3c9105,resolvedBy:_0xa24d68,resolvedAt:_0x3277a4})=>{const _0x427d41=_0x45840e,_0x1108ec=_0x406652[_0x427d41(0x1d8)](_0x3c9105);_0x1108ec&&_0x1108ec[_0x427d41(0x1df)]({'resolvedBy':_0xa24d68,'resolvedAt':_0x3277a4,'isFromAdapter':!0x0});}),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x1d6),(_0x3307f9,{commentThreadId:_0x3acc66})=>{const _0x4846f2=_0x45840e,_0x3666a4=_0x406652[_0x4846f2(0x1d8)](_0x3acc66);_0x3666a4&&_0x3666a4[_0x4846f2(0x208)]({'isFromAdapter':!0x0});}),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x1ce),(_0x5b6616,{commentThreadId:_0x4e57ea})=>{const _0x43bcc4=_0x45840e,_0x4c6cd1=_0x406652[_0x43bcc4(0x1d8)](_0x4e57ea);_0x4c6cd1&&_0x4c6cd1[_0x43bcc4(0x211)]({'isFromAdapter':!0x0});}),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x1ec),(_0x1a139b,_0x1a2e41)=>{const _0x5f52d0=_0x45840e,_0x2b4745=_0x1a2e41[_0x5f52d0(0x1e3)],_0x3ff680=_0x406652[_0x5f52d0(0x1d8)](_0x2b4745);_0x3ff680&&_0x3ff680[_0x5f52d0(0x20e)]({...z(_0x1a2e41),'isFromAdapter':!0x0});}),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x1f5),(_0x3e04ca,{commentThreadId:_0x3a2bd2,commentId:_0xf429f3,content:_0x214dc0,attributes:_0x238a31})=>{const _0x3b5690=_0x45840e,_0x409dfd=_0x406652[_0x3b5690(0x1d8)](_0x3a2bd2);if(_0x409dfd){const _0x1023f4=_0x409dfd[_0x3b5690(0x1f6)](_0xf429f3);_0x1023f4&&_0x1023f4[_0x3b5690(0x1e1)]({'content':_0x214dc0,'attributes':_0x238a31,'isFromAdapter':!0x0});}}),this[_0x45840e(0x1e8)](_0x32808e,_0x45840e(0x1d3),(_0x1e793b,{commentThreadId:_0x144433,commentId:_0xc9842e})=>{const _0x218385=_0x45840e,_0x3fdacf=_0x406652[_0x218385(0x1d8)](_0x144433);if(_0x3fdacf){const _0x142ce7=_0x3fdacf[_0x218385(0x1f6)](_0xc9842e);_0x142ce7&&_0x142ce7[_0x218385(0x211)]({'isFromAdapter':!0x0});}}),await this[_0x45840e(0x1bc)](_0x496fce);}[_0xbe163b(0x1b2)](){const _0x19c91d=_0xbe163b;if(this[_0x19c91d(0x1f2)]instanceof _0x1da538){const _0x4bcf8a=this[_0x19c91d(0x1f2)][_0x19c91d(0x1b8)][_0x19c91d(0x210)](_0x19c91d(0x1bd));this[_0x19c91d(0x1e4)](_0x4bcf8a);}}[_0xbe163b(0x1e4)](_0x2b4afc){const _0x2fcfce=_0xbe163b;if(!this[_0x2fcfce(0x1d7)][_0x2fcfce(0x1b3)](_0x2b4afc))throw new _0x134c35(_0x2fcfce(0x1de),null,{'channelId':_0x2b4afc});this[_0x2fcfce(0x1e6)](_0x2b4afc)[_0x2fcfce(0x1ef)](),this[_0x2fcfce(0x1d7)][_0x2fcfce(0x1f7)](_0x2b4afc);}async[_0xbe163b(0x1eb)](){const _0x2e5d14=_0xbe163b;for(const _0x18c4df of this[_0x2e5d14(0x1d7)][_0x2e5d14(0x207)]())await this[_0x2e5d14(0x1bc)](_0x18c4df);if(this[_0x2e5d14(0x1f2)]instanceof _0x1da538){const _0x2e01c5=this[_0x2e5d14(0x1f2)][_0x2e5d14(0x1b8)][_0x2e5d14(0x210)](_0x2e5d14(0x1bd)),_0x57aa35=this[_0x2e5d14(0x1f2)][_0x2e5d14(0x1b4)][_0x2e5d14(0x210)](_0x326bf8);_0x57aa35[_0x2e5d14(0x1bb)](_0x2e01c5);const _0x8a2369=await this[_0x2e5d14(0x1d7)][_0x2e5d14(0x210)](_0x2e01c5)[_0x2e5d14(0x20a)]();_0x57aa35[_0x2e5d14(0x206)](_0x2e01c5,_0x8a2369);}}async[_0xbe163b(0x1bc)](_0x217274){const _0x1003b4=_0xbe163b,{connection:_0x26e964}=this[_0x1003b4(0x1f2)][_0x1003b4(0x1b4)][_0x1003b4(0x210)](_0x2d3c33),_0x64364a=this[_0x1003b4(0x1f2)][_0x1003b4(0x1b4)][_0x1003b4(0x210)](_0x1003b4(0x203)),_0x424b95=this[_0x1003b4(0x1d7)][_0x1003b4(0x210)](_0x217274),_0x4c4c7a=await _0x424b95[_0x1003b4(0x1e7)](_0x26e964);await this[_0x1003b4(0x1da)](_0x4c4c7a);const _0x290643=new Set(Array[_0x1003b4(0x1e2)](_0x64364a[_0x1003b4(0x1dd)]({'channelId':_0x217274}),_0xd797a6=>_0xd797a6['id']));for(const _0x63e71c of _0x4c4c7a)_0x63e71c[_0x1003b4(0x209)]||_0x290643[_0x1003b4(0x1f7)](_0x63e71c[_0x1003b4(0x1e3)]);for(const _0x464426 of _0x290643)_0x64364a[_0x1003b4(0x1d8)](_0x464426)[_0x1003b4(0x211)]({'isFromAdapter':!0x0});for(const _0x126ad4 of _0x4c4c7a){let _0x5f108d=_0x64364a[_0x1003b4(0x1d8)](_0x126ad4[_0x1003b4(0x1e3)]);const {commentThreadId:_0x4321b0,context:_0x51ab45,attributes:_0x4987ef,resolvedBy:_0x530aaa,resolvedAt:_0x10a329,unlinkedAt:_0x39e36e,deletedAt:_0x1ea678}=_0x126ad4;if(_0x1ea678)continue;_0x5f108d||(_0x5f108d=_0x64364a[_0x1003b4(0x1f8)]({'channelId':_0x217274,'threadId':_0x4321b0,'context':_0x51ab45,'attributes':_0x4987ef||{},'resolvedBy':_0x530aaa,'resolvedAt':_0x10a329,'unlinkedAt':_0x39e36e,'isFromAdapter':!0x0}));const _0x263639=new Set(Array[_0x1003b4(0x1e2)](_0x5f108d[_0x1003b4(0x1ee)],_0x47586e=>_0x47586e['id']));for(const _0x403985 of _0x126ad4[_0x1003b4(0x1ee)])_0x263639[_0x1003b4(0x1f7)](_0x403985[_0x1003b4(0x1b5)]);for(const _0x56804e of _0x263639)_0x5f108d[_0x1003b4(0x1f6)](_0x56804e)[_0x1003b4(0x211)]({'isFromAdapter':!0x0});for(const _0x2b934a of _0x126ad4[_0x1003b4(0x1ee)]){const _0x2e2b88=_0x5f108d[_0x1003b4(0x1f6)](_0x2b934a[_0x1003b4(0x1b5)]);_0x2e2b88?_0x2e2b88[_0x1003b4(0x1fe)]!==_0x2b934a[_0x1003b4(0x1fe)]&&_0x2e2b88[_0x1003b4(0x1e1)]({'content':_0x2b934a[_0x1003b4(0x1fe)],'isFromAdapter':!0x0}):_0x5f108d[_0x1003b4(0x20e)](Object[_0x1003b4(0x1b7)](z(_0x2b934a),{'isFromAdapter':!0x0}));}}}[_0xbe163b(0x1e6)](_0x59d719){const _0x49f0b2=_0xbe163b;if(!this[_0x49f0b2(0x1d7)][_0x49f0b2(0x1b3)](_0x59d719))throw new _0x134c35(_0x49f0b2(0x1f9),null,{'channelId':_0x59d719});return this[_0x49f0b2(0x1d7)][_0x49f0b2(0x210)](_0x59d719);}async[_0xbe163b(0x1da)](_0x184faf){const _0x3c0968=_0xbe163b,_0x422d89=this[_0x3c0968(0x1f2)][_0x3c0968(0x1b4)][_0x3c0968(0x210)](_0x45ddb4),{connection:_0x150b08}=this[_0x3c0968(0x1f2)][_0x3c0968(0x1b4)][_0x3c0968(0x210)](_0x2d3c33),_0x392c9e=new Set();for(const {resolvedBy:_0x1a1b77,comments:_0x2da646}of _0x184faf){_0x1a1b77&&!_0x422d89[_0x3c0968(0x1b6)](_0x1a1b77)&&_0x392c9e[_0x3c0968(0x1bf)](_0x1a1b77);for(const {userId:_0x12552a}of _0x2da646)_0x422d89[_0x3c0968(0x1b6)](_0x12552a)||_0x392c9e[_0x3c0968(0x1bf)](_0x12552a);}if(0x0===_0x392c9e[_0x3c0968(0x1f0)])return;const _0x5bf188=await _0x2ef67b[_0x3c0968(0x1d5)](_0x150b08,Array[_0x3c0968(0x1e2)](_0x392c9e));for(const _0x11ff33 of _0x5bf188)_0x422d89[_0x3c0968(0x1b6)](_0x11ff33['id'])||_0x422d89[_0x3c0968(0x1cd)](_0x11ff33);}}async function q(_0x93cca){const _0x9592a8=_0xbe163b;if(_0x9592a8(0x1c8)!==_0x93cca[_0x9592a8(0x1c0)])throw _0x93cca;}function _0x5daf(_0x5bc73a,_0x1d4f88){const _0x1124cf=_0x1124();return _0x5daf=function(_0x5daf9f,_0x3799a2){_0x5daf9f=_0x5daf9f-0x1af;let _0x7d970b=_0x1124cf[_0x5daf9f];return _0x7d970b;},_0x5daf(_0x5bc73a,_0x1d4f88);}function N(_0x3f25b4){const _0xdc6dfd=_0xbe163b;if((_0x3ef900=_0x3f25b4)[_0xdc6dfd(0x1c5)][_0xdc6dfd(0x1e0)](_0xdc6dfd(0x200))||_0x3ef900[_0xdc6dfd(0x1c5)][_0xdc6dfd(0x1e0)](_0xdc6dfd(0x212))||_0x3ef900[_0xdc6dfd(0x1c5)][_0xdc6dfd(0x1e0)](_0xdc6dfd(0x1d0)))return new Promise(()=>{});var _0x3ef900;throw _0x3f25b4;}function z(_0x3ae2ec){const _0x222e7f=_0xbe163b;return{'threadId':_0x3ae2ec[_0x222e7f(0x1e3)],'commentId':_0x3ae2ec[_0x222e7f(0x1b5)],'content':_0x3ae2ec[_0x222e7f(0x1fe)],'createdAt':_0x3ae2ec[_0x222e7f(0x1b1)],'authorId':_0x3ae2ec[_0x222e7f(0x202)],'attributes':_0x3ae2ec[_0x222e7f(0x1c2)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51b3a7=_0xed45;(function(_0x2a2b4b,_0x40065a){const _0x4687f5=_0xed45,_0x559beb=_0x2a2b4b();while(!![]){try{const _0x2e0df7=parseInt(_0x4687f5(0x192))/0x1+-parseInt(_0x4687f5(0x19c))/0x2+parseInt(_0x4687f5(0x19e))/0x3*(-parseInt(_0x4687f5(0x19b))/0x4)+-parseInt(_0x4687f5(0x194))/0x5*(-parseInt(_0x4687f5(0x1a9))/0x6)+parseInt(_0x4687f5(0x1a3))/0x7*(-parseInt(_0x4687f5(0x1a0))/0x8)+parseInt(_0x4687f5(0x190))/0x9+parseInt(_0x4687f5(0x199))/0xa;if(_0x2e0df7===_0x40065a)break;else _0x559beb['push'](_0x559beb['shift']());}catch(_0x3779e7){_0x559beb['push'](_0x559beb['shift']());}}}(_0x1986,0x5c5ee));function _0xed45(_0x12907a,_0xd20d9c){const _0x198655=_0x1986();return _0xed45=function(_0xed45b8,_0x37ca95){_0xed45b8=_0xed45b8-0x190;let _0x13d0ee=_0x198655[_0xed45b8];return _0x13d0ee;},_0xed45(_0x12907a,_0xd20d9c);}import{Plugin as _0x5cae63}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0xb5fd69}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x1986(){const _0xc4cce3=['CommentsRepository','plugins','_setUpService','246942OpNREx','data','change:state','connected','isThreadsLoadingPaused','destroy','get','listenTo','isPremiumPlugin','CommentsEditing','2373768RGVhzv','switchReadOnly','341922fWOSUY','requires','10iTNYHN','init','collaboration.channelId','_terminateService','editor','2622970COevxB','RealTimeCollaborativeComments','892toUfHf','426266UHZRhG','pluginName','3921rdjsrs','Comments','8NVrWeK','isOfficialPlugin','once','471387UqAzFT','ready','config'];_0x1986=function(){return _0xc4cce3;};return _0x1986();}import{RealTimeCollaborativeEditing as _0x55f0a6}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x46eb63}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x5cae63{static get[_0x51b3a7(0x193)](){const _0x4f9aa7=_0x51b3a7;return[_0x4f9aa7(0x19f),_0xb5fd69,_0x55f0a6,_0x46eb63];}static get[_0x51b3a7(0x19d)](){const _0x4787bb=_0x51b3a7;return _0x4787bb(0x19a);}static get[_0x51b3a7(0x1a1)](){return!0x0;}static get[_0x51b3a7(0x1b1)](){return!0x0;}[_0x51b3a7(0x195)](){const _0x1110de=_0x51b3a7,_0x1eba4a=this[_0x1110de(0x198)][_0x1110de(0x1a7)][_0x1110de(0x1af)](_0x46eb63),_0x3b5089=this[_0x1110de(0x198)][_0x1110de(0x1a7)][_0x1110de(0x1af)](_0x1110de(0x1b2)),_0x3f3460=this[_0x1110de(0x198)][_0x1110de(0x1a7)][_0x1110de(0x1af)](_0xb5fd69);return this[_0x1110de(0x198)][_0x1110de(0x1aa)][_0x1110de(0x1a2)](_0x1110de(0x1a4),()=>{const _0x43c47a=_0x1110de;this[_0x43c47a(0x1b0)](_0x1eba4a,_0x43c47a(0x1ab),(_0x5ee2e6,_0x1a957c,_0x37d412)=>{const _0x18ca85=_0x43c47a;_0x3b5089[_0x18ca85(0x1ad)]=_0x18ca85(0x1ac)!==_0x37d412;});}),this[_0x1110de(0x1b0)](_0x1eba4a,_0x1110de(0x1ab),(_0x1b4831,_0x2e826c,_0x42dcea)=>{const _0x2c435f=_0x1110de;this[_0x2c435f(0x198)][_0x2c435f(0x1a7)][_0x2c435f(0x1af)](_0x2c435f(0x1a6))[_0x2c435f(0x191)](_0x2c435f(0x1ac)!==_0x42dcea);}),_0x3f3460[_0x1110de(0x1a8)](this[_0x1110de(0x198)][_0x1110de(0x1a5)][_0x1110de(0x1af)](_0x1110de(0x196)));}[_0x51b3a7(0x1ae)](){const _0x5f06af=_0x51b3a7;this[_0x5f06af(0x198)][_0x5f06af(0x1a7)][_0x5f06af(0x1af)](_0xb5fd69)[_0x5f06af(0x197)](this[_0x5f06af(0x198)][_0x5f06af(0x1a5)][_0x5f06af(0x1af)](_0x5f06af(0x196))),super[_0x5f06af(0x1ae)]();}}
23
+ function _0xf67d(_0x242ce7,_0x12148d){const _0x1109cf=_0x1109();return _0xf67d=function(_0xf67db9,_0x37afb9){_0xf67db9=_0xf67db9-0x149;let _0x19bf7f=_0x1109cf[_0xf67db9];return _0x19bf7f;},_0xf67d(_0x242ce7,_0x12148d);}const _0x5b22ca=_0xf67d;(function(_0x5b7076,_0x4c038b){const _0xb5aa7a=_0xf67d,_0x29f7d4=_0x5b7076();while(!![]){try{const _0x4cbdc7=-parseInt(_0xb5aa7a(0x153))/0x1+parseInt(_0xb5aa7a(0x166))/0x2+parseInt(_0xb5aa7a(0x169))/0x3*(-parseInt(_0xb5aa7a(0x14f))/0x4)+parseInt(_0xb5aa7a(0x163))/0x5*(-parseInt(_0xb5aa7a(0x14b))/0x6)+-parseInt(_0xb5aa7a(0x15e))/0x7*(-parseInt(_0xb5aa7a(0x160))/0x8)+-parseInt(_0xb5aa7a(0x16a))/0x9*(parseInt(_0xb5aa7a(0x168))/0xa)+parseInt(_0xb5aa7a(0x157))/0xb;if(_0x4cbdc7===_0x4c038b)break;else _0x29f7d4['push'](_0x29f7d4['shift']());}catch(_0x12f4f){_0x29f7d4['push'](_0x29f7d4['shift']());}}}(_0x1109,0xc019c));function _0x1109(){const _0x56494c=['5XYCvUd','destroy','collaboration.channelId','1854402BBixgK','data','1344180uWLJpB','49779pHAlWo','90bdbgOj','listenTo','isOfficialPlugin','pluginName','once','2623506DvNEHy','editor','switchReadOnly','isThreadsLoadingPaused','316mJRgxH','RealTimeCollaborativeComments','change:state','isPremiumPlugin','1562408xpwLJy','connected','config','CommentsEditing','36769909ugTOEK','CommentsRepository','_setUpService','get','Comments','ready','plugins','35srfPLE','_terminateService','1874576XxvWtS','init','requires'];_0x1109=function(){return _0x56494c;};return _0x1109();}import{Plugin as _0x5a0fb9}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x52a636}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x35e234}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4ecfab}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x5a0fb9{static get[_0x5b22ca(0x162)](){const _0x2c9de0=_0x5b22ca;return[_0x2c9de0(0x15b),_0x52a636,_0x35e234,_0x4ecfab];}static get[_0x5b22ca(0x149)](){const _0x2578ba=_0x5b22ca;return _0x2578ba(0x150);}static get[_0x5b22ca(0x16c)](){return!0x0;}static get[_0x5b22ca(0x152)](){return!0x0;}[_0x5b22ca(0x161)](){const _0x1fce3e=_0x5b22ca,_0x3e1fe8=this[_0x1fce3e(0x14c)][_0x1fce3e(0x15d)][_0x1fce3e(0x15a)](_0x4ecfab),_0x2f497d=this[_0x1fce3e(0x14c)][_0x1fce3e(0x15d)][_0x1fce3e(0x15a)](_0x1fce3e(0x156)),_0x43a9a2=this[_0x1fce3e(0x14c)][_0x1fce3e(0x15d)][_0x1fce3e(0x15a)](_0x52a636);return this[_0x1fce3e(0x14c)][_0x1fce3e(0x167)][_0x1fce3e(0x14a)](_0x1fce3e(0x15c),()=>{const _0x1ce79d=_0x1fce3e;this[_0x1ce79d(0x16b)](_0x3e1fe8,_0x1ce79d(0x151),(_0x368902,_0x1b678b,_0x420212)=>{const _0x27f477=_0x1ce79d;_0x2f497d[_0x27f477(0x14e)]=_0x27f477(0x154)!==_0x420212;});}),this[_0x1fce3e(0x16b)](_0x3e1fe8,_0x1fce3e(0x151),(_0x256211,_0x1a1a95,_0x31490d)=>{const _0x5b00bc=_0x1fce3e;this[_0x5b00bc(0x14c)][_0x5b00bc(0x15d)][_0x5b00bc(0x15a)](_0x5b00bc(0x158))[_0x5b00bc(0x14d)](_0x5b00bc(0x154)!==_0x31490d);}),_0x43a9a2[_0x1fce3e(0x159)](this[_0x1fce3e(0x14c)][_0x1fce3e(0x155)][_0x1fce3e(0x15a)](_0x1fce3e(0x165)));}[_0x5b22ca(0x164)](){const _0x1ef50f=_0x5b22ca;this[_0x1ef50f(0x14c)][_0x1ef50f(0x15d)][_0x1ef50f(0x15a)](_0x52a636)[_0x1ef50f(0x15f)](this[_0x1ef50f(0x14c)][_0x1ef50f(0x155)][_0x1ef50f(0x15a)](_0x1ef50f(0x165))),super[_0x1ef50f(0x164)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x150537=_0x1e46;(function(_0x5efcd8,_0x1b08ae){const _0x38c324=_0x1e46,_0x540c97=_0x5efcd8();while(!![]){try{const _0x5358c0=-parseInt(_0x38c324(0x167))/0x1*(-parseInt(_0x38c324(0x184))/0x2)+parseInt(_0x38c324(0x130))/0x3+parseInt(_0x38c324(0x13d))/0x4+-parseInt(_0x38c324(0xfe))/0x5*(parseInt(_0x38c324(0xdd))/0x6)+parseInt(_0x38c324(0xb4))/0x7+parseInt(_0x38c324(0x12a))/0x8*(parseInt(_0x38c324(0x99))/0x9)+-parseInt(_0x38c324(0xa5))/0xa;if(_0x5358c0===_0x1b08ae)break;else _0x540c97['push'](_0x540c97['shift']());}catch(_0x3c1a7a){_0x540c97['push'](_0x540c97['shift']());}}}(_0x29ee,0x415bf));import{Plugin as _0xae8ec4,PendingActions as _0x40b709}from'ckeditor5/src/core.js';function _0x29ee(){const _0x1b6dfa=['then','state','_compressOperations','_document','CommentsOnly','bind','add','cloud-services-internal-error:\x20Request\x20timeout.','524136XGYtgQ','directChange','_shouldSendUpdate','_connectService','cloudDocumentVersion','multi-root-editor-root-attributes-no-root','1252932yOgXim','collaboration.channelId','disconnect','includes','high','_disconnectionOperations','realtimecollaborationclient-init-service-internal-error','createdAt','rtc-destroyed','realtimecollaborationclient-error','rootsAttributes','_bufferedOperations','batch','615648NoPvOZ','currentDocumentSession','lastSyncVersion','_saveOperationInBuffer','_getAffectedRoot','register','_handleServerResponse','connection','channelSessions','slice','cloudServices.bundleVersion','getRoot','connect','wereChangesApplied','apply','editor','from','_compressor','_hasSynchronizationProblem','unregister','_sendBufferedOperationsDelayId','_isConnected','_bufferRootLoad','markers','fromJSON','realtimecollaborationclient-init-service-incorrect-server-operation','addRootAttribute','_isPendingUpdate','listenTo','reset','compress','change:_isPendingUpdate','addRoot','__className','sessionCreatedAt','enqueueChange','selection','_baseBufferDelay','_isEditingAllowed','fire','toJSON','_hasSelectionChanged','46498mRtIWK','createRange','_offset','_currentBufferDelay','sessionAdd:','has','_setUpDataInit','removeFromReconnectionStack','ready','reconnection:\x20flushed\x20session','Synchronization\x20issue','suppressErrorInCollaboration','getOperations','cloud-services-internal-error:\x20Not\x20connected.','_clearPendingAction','getIdOfTheLastOperation','change:hasDomSelection','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.','move','size','disableReadOnlyMode','real-time-collaboration','_operationToId','getMany','$root','_handleReconnectionResponse','_applyOperationsSet','message','isDocumentOperation','10TeWyeO','decompress','remove','409','_isLoaded','_ignoredOperations','_channelId','disconnected','_sendBufferedOperationsDelayed','getConnectedSessions','_isAttached','showWarning','metadata','_knownRootNames','addUser','push','mySessionId','_handleReceivedOperations','createUserMarkerOperations','_shouldSendSelectionUpdate','code','realtimecollaborationclient-init-document-already-initialized','_knownOperations','change:range','collaboration','isEnabled','lastOperationAcceptedAt','54GPoGaT','_lastSyncedOperationId','getDocumentDetails','cs:removeUser','affectedSelectable','serverHistory','start','baseVersion','Notification','_operationIdentifier','setIdForTheLastOperation','_handleExternalOperations','9904960FEnaxB','parse','init','realtimecollaborationclient-handleserverresponse','isPremiumPlugin','loadRoot','config','_crash','setPermissions','error','PENDING_ACTION_SENDING_DATA','define','InsertOperation','createPositionFromPath','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','2297372pXTzWB','set','round','root','pluginName','differ','isOfficialPlugin','operationsReceived','forEach','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_loadRoot','sendOperations','startsWith','initData','model','return','_sendBufferedOperations','_handleSendingSelectionMarkers','roots','sessionId','collaboration-missing-channelid','_setPendingAction','_initSessionsHandling','realtimecollaborationclient','stop','lastOperationId','404','realtimecollaborationclient-init-non-existent-root','wasUndone','_initThrowingOnDataSet','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.','_pendingAction','get','isReadOnly','stopListening','_isDisconnection','path','createRoot','_fetchMissingUsers','clone','realtimecollaborationclient-init-session-connection-error','123294NRbEVz','_updateServerHistory','_decompressOperations','attributes','_waitUntilSynced','requires','entries','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','permissions','filter','destroy','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_addKnownRoot','applyOperation','_disconnectService','document:write','createPositionAt','string','position','reconnect','connected','addToReconnectionStack','marker','_connectAfterSessionHasBeenFlushed','catch','length','data','offset','off','_handleInitialConnectionData','realtimecollaborationclient-sendbufferedoperations','_getOperationsFromInitData','end','65bIOIOJ','_lastServerVersion','addOperation','userId','type','getOperationAuthor','finally','_handleReconnectionError','_authorId','lastDocumentSession','realtimecollaborationclient-init-connection-failed','isUndoneOperation','editing','view','map','affectsData','targetPosition','RealTimeCollaborationClient','insert','version','Permissions','keys','newRange','_isInit','document','plugins','rootName','_service','change:_isEditingAllowed','rtc-offline','enableReadOnlyMode','locale','_refreshUserSelectionMarkers','history','getUser','CollaborativeEditingService'];_0x29ee=function(){return _0x1b6dfa;};return _0x29ee();}import{CKEditorError as _0x176c79,version as _0x18742b,uid as _0x8ebd3e}from'ckeditor5/src/utils.js';import{Notification as _0x157259}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xb21172,NoOperation as _0x5afe45,InsertOperation as _0x2c4030,MarkerOperation as _0x7f52ba,RootAttributeOperation as _0x1f4d82,OperationFactory as _0x13ac35,History as _0x13f0e3}from'ckeditor5/src/engine.js';function _0x1e46(_0x1b861d,_0x3a18d3){const _0x29ee79=_0x29ee();return _0x1e46=function(_0x1e46a7,_0x5d75dc){_0x1e46a7=_0x1e46a7-0x89;let _0x2ec655=_0x29ee79[_0x1e46a7];return _0x2ec655;},_0x1e46(_0x1b861d,_0x3a18d3);}import{WebSocketGateway as _0x46cefa}from'./websocketgateway.js';import{Sessions as _0x114e02}from'./sessions.js';import{UserMarkers as _0x4e993a}from'./usermarkers.js';import{getTranslation as _0x5f20b9}from'../common-translations.js';import{Compressor as _0x56f217}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x51f59f}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x18f0b8,CollaborativeEditingService as _0x30a5db}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let z=0x1;export class RealTimeCollaborationClient extends _0xae8ec4{static [_0x150537(0x121)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x30a5db)());[_0x150537(0x169)];[_0x150537(0xc7)];[_0x150537(0x9e)];[_0x150537(0x18a)];[_0x150537(0x119)];[_0x150537(0x125)];[_0x150537(0x14e)];[_0x150537(0x13b)];[_0x150537(0x94)];[_0x150537(0x8b)];[_0x150537(0xd3)];[_0x150537(0x166)];[_0x150537(0x151)];[_0x150537(0x162)];[_0x150537(0x16a)];[_0x150537(0x9a)];[_0x150537(0x135)];[_0x150537(0xa2)];static get[_0x150537(0xe2)](){return[_0x46cefa,_0x114e02,_0x4e993a,_0x40b709,_0x51f59f,_0x157259];}static get[_0x150537(0xb8)](){const _0x3bb78e=_0x150537;return _0x3bb78e(0x10f);}static get[_0x150537(0xba)](){return!0x0;}static get[_0x150537(0xa9)](){return!0x0;}get[_0x150537(0x12e)](){const _0x11c414=_0x150537;return this[_0x11c414(0xff)]+this[_0x11c414(0x169)];}get[_0x150537(0xff)](){const _0x260e64=_0x150537;return this[_0x260e64(0x9e)][_0x260e64(0x111)]-this[_0x260e64(0x169)];}get[_0x150537(0x13f)](){const _0x3da632=_0x150537,_0x129d1d=this[_0x3da632(0x9e)][_0x3da632(0x173)]();for(let _0x544f2a=_0x129d1d[_0x3da632(0xf6)]-0x1;_0x544f2a>=0x0;_0x544f2a--){const _0x130f74=_0x129d1d[_0x544f2a];if(!this[_0x3da632(0x135)][_0x3da632(0x16c)](_0x130f74))return _0x130f74[_0x3da632(0xa0)]+0x1-this[_0x3da632(0x169)];}return 0x0;}constructor(_0x42b1d6){const _0x18b12a=_0x150537;if(super(_0x42b1d6),this[_0x18b12a(0x169)]=0x0,this[_0x18b12a(0xc7)]=null,this[_0x18b12a(0x9e)]=new _0x13f0e3(),this[_0x18b12a(0x14c)][_0x18b12a(0xab)][_0x18b12a(0xb0)](_0x18b12a(0x96),{}),this[_0x18b12a(0x18a)]=this[_0x18b12a(0x14c)][_0x18b12a(0xab)][_0x18b12a(0xd4)](_0x18b12a(0x131)),!this[_0x18b12a(0x18a)])throw new _0x176c79(_0x18b12a(0xc8),this);const _0x271bc5=_0x42b1d6[_0x18b12a(0xab)][_0x18b12a(0xd4)](_0x18b12a(0x147))||_0x18742b;this[_0x18b12a(0x119)]=new RealTimeCollaborationClient[(_0x18b12a(0x121))](_0x271bc5,this[_0x18b12a(0x18a)]),this[_0x18b12a(0x125)]=this[_0x18b12a(0x14c)][_0x18b12a(0xc2)][_0x18b12a(0x116)],this[_0x18b12a(0x14e)]=new _0x56f217(),this[_0x18b12a(0x13b)]=[],this[_0x18b12a(0x94)]=new WeakSet(),this[_0x18b12a(0x8b)]=new Set(),this[_0x18b12a(0xb5)](_0x18b12a(0x158),!0x1),this[_0x18b12a(0xb5)](_0x18b12a(0x14f),!0x1),this[_0x18b12a(0xd3)]=null,this[_0x18b12a(0x166)]=!0x1,this[_0x18b12a(0x151)]=null,this[_0x18b12a(0x162)]=0x12c,this[_0x18b12a(0x16a)]=this[_0x18b12a(0x162)],this[_0x18b12a(0x9a)]=null,this[_0x18b12a(0x135)]=new WeakSet(),this[_0x18b12a(0xa2)]=new OperationIdentifier(this[_0x18b12a(0x135)]);}[_0x150537(0xa7)](){const _0x474ec2=_0x150537,_0x4acbd4=this[_0x474ec2(0x14c)],_0x2ca32f=_0x4acbd4[_0x474ec2(0x117)][_0x474ec2(0xd4)](_0x51f59f),_0x43e1c5=_0x4acbd4[_0x474ec2(0x117)][_0x474ec2(0xd4)](_0x46cefa);this[_0x474ec2(0x159)](_0x2ca32f,_0x474ec2(0x103),(_0x358cb8,_0x27cfe4)=>{const _0xc2d2c4=_0x474ec2,_0x15e19d=_0x27cfe4[0x0];_0x15e19d[_0xc2d2c4(0x106)]&&(_0x358cb8[_0xc2d2c4(0xc3)]=_0x2ca32f[_0xc2d2c4(0x120)](_0x15e19d[_0xc2d2c4(0x106)]),_0x358cb8[_0xc2d2c4(0xcc)]()),null===_0x15e19d[_0xc2d2c4(0x106)]&&(_0x358cb8[_0xc2d2c4(0xc3)]=null,_0x358cb8[_0xc2d2c4(0xcc)]());},{'priority':_0x474ec2(0x134)}),this[_0x474ec2(0x159)](_0x4acbd4[_0x474ec2(0xc2)][_0x474ec2(0x116)][_0x474ec2(0x161)],_0x474ec2(0x95),(_0x1bd38d,_0xfa683c)=>{const _0x6789a4=_0x474ec2;_0xfa683c[_0x6789a4(0x12b)]&&this[_0x6789a4(0x11e)]();}),this[_0x474ec2(0x159)](_0x4acbd4[_0x474ec2(0x10a)][_0x474ec2(0x10b)],_0x474ec2(0x177),()=>{const _0x4daa42=_0x474ec2;this[_0x4daa42(0x11e)]();}),this[_0x474ec2(0xd1)](),_0x4acbd4[_0x474ec2(0xc2)]['on'](_0x474ec2(0xea),(_0x4835f1,_0x585536)=>{const _0x336a29=_0x474ec2,_0x566bd=_0x585536[0x0];_0x566bd[_0x336a29(0x183)]&&(this[_0x336a29(0x140)](_0x566bd),this[_0x336a29(0x12c)]()&&this[_0x336a29(0x18c)]());}),this[_0x474ec2(0x16d)](),this[_0x474ec2(0x127)](_0x474ec2(0x163))['to'](_0x43e1c5,_0x474ec2(0x123),this,_0x474ec2(0x14f),(_0x25d4cb,_0x57b53c)=>_0x474ec2(0xf1)===_0x25d4cb&&!_0x57b53c),this['on'](_0x474ec2(0x11a),()=>{const _0x22eec0=_0x474ec2;this[_0x22eec0(0x163)]?_0x4acbd4[_0x22eec0(0x17b)](_0x22eec0(0x11b)):_0x4acbd4[_0x22eec0(0x11c)](_0x22eec0(0x11b));}),this[_0x474ec2(0x163)]?_0x4acbd4[_0x474ec2(0x17b)](_0x474ec2(0x11b)):_0x4acbd4[_0x474ec2(0x11c)](_0x474ec2(0x11b)),this[_0x474ec2(0xb5)](_0x474ec2(0x152),!0x1);}async[_0x150537(0xf0)](){const _0x5b1968=_0x150537,_0x4b11cb=this[_0x5b1968(0x14c)][_0x5b1968(0x117)][_0x5b1968(0xd4)](_0x114e02),_0x1fb4c1=this[_0x5b1968(0x14c)][_0x5b1968(0x117)][_0x5b1968(0xd4)](_0x46cefa);try{this[_0x5b1968(0x158)]=!0x0,_0x4b11cb[_0x5b1968(0x150)](this[_0x5b1968(0x18a)]);const _0x31f288=await this[_0x5b1968(0x119)][_0x5b1968(0xf0)](_0x1fb4c1[_0x5b1968(0x144)],this[_0x5b1968(0x13f)]);await this[_0x5b1968(0x180)](_0x31f288)&&(this[_0x5b1968(0x158)]=!0x1,this[_0x5b1968(0x175)]());const _0x215cd0=await this[_0x5b1968(0x119)][_0x5b1968(0x18d)]();_0x4b11cb[_0x5b1968(0x142)](this[_0x5b1968(0x18a)],_0x215cd0),this[_0x5b1968(0xc5)](),this[_0x5b1968(0x152)]=!0x0;}catch(_0xdf7721){if(function(_0x1ef208){const _0x1f411e=_0x5b1968;return _0x1f411e(0xce)===_0x1ef208[_0x1f411e(0x92)];}(_0xdf7721)&&this[_0x5b1968(0xc7)])await this[_0x5b1968(0xf4)]();else{if(function(_0x1c4bc5){const _0x53c258=_0x5b1968;return _0x53c258(0x187)===_0x1c4bc5[_0x53c258(0x92)];}(_0xdf7721)){const _0x2f120f=_0x5f20b9(this[_0x5b1968(0x14c)][_0x5b1968(0x11d)],_0x5b1968(0xe4));this[_0x5b1968(0x105)](_0x2f120f);}else{if(!(_0xdf7721 instanceof ReconnectionError))throw _0xdf7721;this[_0x5b1968(0x105)]();}}}}[_0x150537(0xe7)](){const _0x255805=_0x150537,_0x12b54a=this[_0x255805(0x14c)][_0x255805(0x117)][_0x255805(0xd4)](_0x46cefa),_0x58eed7=this[_0x255805(0x14c)][_0x255805(0x117)][_0x255805(0xd4)](_0x114e02);this[_0x255805(0x14c)][_0x255805(0x11c)](_0x255805(0x138)),_0x58eed7[_0x255805(0x145)][_0x255805(0x16c)](this[_0x255805(0x18a)])&&_0x58eed7[_0x255805(0x150)](this[_0x255805(0x18a)]),_0x12b54a[_0x255805(0x16e)](this),this[_0x255805(0xeb)](),super[_0x255805(0xe7)]();}async[_0x150537(0x180)](_0x2eb0b3){const _0x59fa0e=_0x150537;if(this[_0x59fa0e(0xc7)]!==_0x2eb0b3[_0x59fa0e(0xc7)]&&this[_0x59fa0e(0x9a)]!==_0x2eb0b3[_0x59fa0e(0xcd)])throw new ReconnectionError();return this[_0x59fa0e(0xc7)]=_0x2eb0b3[_0x59fa0e(0xc7)],this[_0x59fa0e(0x143)]([],{..._0x2eb0b3,'wereChangesApplied':!0x1,'data':_0x2eb0b3[_0x59fa0e(0xf7)]},_0x59fa0e(0xf0));}async[_0x150537(0x12d)](_0x55a25b,_0x187ab1=!0x1){const _0x2358a6=_0x150537,{connection:_0x1e7482}=this[_0x2358a6(0x14c)][_0x2358a6(0x117)][_0x2358a6(0xd4)](_0x46cefa);RealTimeCollaborationClient[_0x2358a6(0x121)][_0x2358a6(0x18d)](_0x1e7482,this[_0x2358a6(0x18a)])[_0x2358a6(0x122)](_0x7d7ccd=>this[_0x2358a6(0xca)](_0x7d7ccd))[_0x2358a6(0xf5)](_0x1742a6=>{const _0x1aa799=_0x2358a6;this[_0x1aa799(0xac)](_0x1aa799(0xdc),_0x1742a6);}),this[_0x2358a6(0x159)](this[_0x2358a6(0x119)],_0x2358a6(0xbb),this[_0x2358a6(0x8f)][_0x2358a6(0x127)](this)),this[_0x2358a6(0x159)](this[_0x2358a6(0x119)],_0x2358a6(0xae),(_0x2acb72,_0x467f82)=>{const _0x2bd5fb=_0x2358a6;this[_0x2bd5fb(0xac)](_0x2bd5fb(0x136),_0x467f82);}),this[_0x2358a6(0x159)](this[_0x2358a6(0x119)],_0x2358a6(0x18b),()=>{const _0x1ed5a5=_0x2358a6;this[_0x1ed5a5(0x152)]=!0x1;});const _0x452c49=this[_0x2358a6(0xa2)][_0x2358a6(0x176)](_0x55a25b);this[_0x2358a6(0x158)]=!0x0;const _0x1bd7a1=await this[_0x2358a6(0x119)][_0x2358a6(0x149)](_0x1e7482,this[_0x2358a6(0x124)](_0x55a25b),_0x452c49);if(this[_0x2358a6(0xc7)]=_0x1bd7a1[_0x2358a6(0xc7)],_0x187ab1){if(!_0x1bd7a1[_0x2358a6(0x14a)])return void this[_0x2358a6(0x105)]();this[_0x2358a6(0x158)]=!0x1,this[_0x2358a6(0x175)](),this[_0x2358a6(0x9e)][_0x2358a6(0x15a)](),this[_0x2358a6(0x169)]=_0x1bd7a1[_0x2358a6(0xf8)],this[_0x2358a6(0x9e)][_0x2358a6(0x111)]=this[_0x2358a6(0x169)],await this[_0x2358a6(0x143)](_0x55a25b,_0x1bd7a1,_0x2358a6(0x170));}else await this[_0x2358a6(0xfa)](_0x1bd7a1,_0x55a25b);this[_0x2358a6(0xc5)](),this[_0x2358a6(0x152)]=!0x0;}[_0x150537(0xc5)](){const _0x431429=_0x150537,_0x39eb04=this[_0x431429(0x14c)][_0x431429(0x117)][_0x431429(0xd4)](_0x114e02),_0x203845=this[_0x431429(0x14c)][_0x431429(0x117)][_0x431429(0xd4)](_0x4e993a),_0x54c3a4=_0x39eb04[_0x431429(0x145)][_0x431429(0xd4)](this[_0x431429(0x18a)]);_0x54c3a4&&_0x54c3a4[_0x431429(0xf6)]>0x1?_0x203845[_0x431429(0x90)]():this[_0x431429(0x159)](_0x39eb04,_0x431429(0x16b)+this[_0x431429(0x18a)],()=>{const _0x3ed19c=_0x431429;0x2===_0x39eb04[_0x3ed19c(0x145)][_0x3ed19c(0xd4)](this[_0x3ed19c(0x18a)])[_0x3ed19c(0xf6)]&&_0x203845[_0x3ed19c(0x90)]();});}async[_0x150537(0x8f)](_0xc3c8bf,_0xb4643,_0x26e6b1,_0x1906fd){const _0x15739a=_0x150537;if(!this[_0x15739a(0x158)]&&this[_0x15739a(0x125)][_0x15739a(0x111)]==_0xb4643){const _0x6e6e06=this[_0x15739a(0xdf)](_0x26e6b1,_0x1906fd);await this[_0x15739a(0xda)](_0x6e6e06),this[_0x15739a(0xa4)](_0x6e6e06,_0xb4643,_0x26e6b1[_0x15739a(0xcd)])||this[_0x15739a(0xac)](_0x15739a(0x156));}}async[_0x150537(0xf4)](){const _0x28344b=_0x150537;this[_0x28344b(0xeb)]();const {locale:_0x219a7f}=this[_0x28344b(0x14c)];let _0x573918;try{_0x573918=await this[_0x28344b(0x119)][_0x28344b(0x9b)]();}catch{const _0x5aa468=_0x5f20b9(_0x219a7f,_0x28344b(0xe8));return void this[_0x28344b(0x105)](_0x5aa468);}const _0x30740d=_0x573918[_0x28344b(0x13e)]||_0x573918[_0x28344b(0x107)];if(this[_0x28344b(0x9a)]!==_0x30740d[_0x28344b(0xcd)]){const _0x360ba0=_0x5f20b9(_0x219a7f,_0x28344b(0xd2));return void this[_0x28344b(0x105)](_0x360ba0);}await this[_0x28344b(0x12d)](this[_0x28344b(0x14c)][_0x28344b(0xc2)][_0x28344b(0x116)][_0x28344b(0x11f)][_0x28344b(0x173)](),!0x0);}[_0x150537(0xeb)](){const _0x540b6d=_0x150537;this[_0x540b6d(0x119)][_0x540b6d(0x132)](),this[_0x540b6d(0x13b)]=[],clearTimeout(this[_0x540b6d(0x151)]),this[_0x540b6d(0xd6)](this[_0x540b6d(0x119)]);}[_0x150537(0xca)](_0x20e341){const _0x3e930a=_0x150537,_0x5e5ca7=this[_0x3e930a(0x14c)][_0x3e930a(0x117)][_0x3e930a(0xd4)](_0x114e02);this[_0x3e930a(0x159)](_0x5e5ca7,_0x3e930a(0x16b)+this[_0x3e930a(0x18a)],(_0x28cc0f,{session:_0x105172})=>{const _0x47ecd7=_0x3e930a;if(_0x105172['id']===_0x5e5ca7[_0x47ecd7(0x8e)]){_0x28cc0f[_0x47ecd7(0xf9)]();const _0x58e2de=this[_0x47ecd7(0x14c)][_0x47ecd7(0x117)][_0x47ecd7(0x16c)](_0x47ecd7(0x126))&&this[_0x47ecd7(0x14c)][_0x47ecd7(0x117)][_0x47ecd7(0xd4)](_0x47ecd7(0x126));let _0x410bc6=_0x105172[_0x47ecd7(0xe5)];_0x58e2de&&_0x58e2de[_0x47ecd7(0x97)]&&(_0x410bc6=_0x410bc6[_0x47ecd7(0xe6)](_0x84ff67=>_0x47ecd7(0xec)!==_0x84ff67)),this[_0x47ecd7(0x14c)][_0x47ecd7(0x117)][_0x47ecd7(0xd4)](_0x47ecd7(0x112))[_0x47ecd7(0xad)](_0x410bc6,this[_0x47ecd7(0x18a)]);}}),_0x5e5ca7[_0x3e930a(0x142)](this[_0x3e930a(0x18a)],_0x20e341);}[_0x150537(0xd1)](){const _0x30efe2=_0x150537,_0x30b1b2=this[_0x30efe2(0x14c)][_0x30efe2(0xf7)][_0x30efe2(0xb5)];this[_0x30efe2(0x14c)][_0x30efe2(0xf7)][_0x30efe2(0xb5)]=(..._0x4d1279)=>{const _0x335b69=_0x30efe2;if(!_0x4d1279[_0x4d1279[_0x335b69(0xf6)]-0x1][_0x335b69(0x172)])throw new _0x176c79(_0x335b69(0xb3),this);_0x30b1b2[_0x335b69(0x14b)](this[_0x335b69(0x14c)][_0x335b69(0xf7)],_0x4d1279);};}[_0x150537(0x16d)](){const _0x762bff=_0x150537;this[_0x762bff(0x14c)][_0x762bff(0xf7)]['on'](_0x762bff(0xa7),(_0x32de85,[_0x4648a0])=>{const _0x3f70e6=_0x762bff;if(this[_0x3f70e6(0x125)][_0x3f70e6(0x111)])throw new _0x176c79(_0x3f70e6(0x93),this);_0x32de85[_0x3f70e6(0xcc)](),this[_0x3f70e6(0xc9)]();const _0x4f4856=this[_0x3f70e6(0x14c)][_0x3f70e6(0xab)][_0x3f70e6(0xd4)](_0x3f70e6(0x13a)),_0x8d719c=this[_0x3f70e6(0xfc)](_0x4648a0,_0x4f4856);0x0==_0x8d719c[_0x3f70e6(0xf6)]&&_0x8d719c[_0x3f70e6(0x8d)](new _0x5afe45(0x0)),_0x32de85[_0x3f70e6(0xc3)]=this[_0x3f70e6(0x12d)](_0x8d719c)[_0x3f70e6(0x122)](()=>{const _0x314c04=_0x3f70e6;this[_0x314c04(0x14c)][_0x314c04(0x117)][_0x314c04(0xd4)](_0x46cefa)[_0x314c04(0xf2)](this),this[_0x314c04(0x14c)][_0x314c04(0xf7)][_0x314c04(0x164)](_0x314c04(0x16f));})[_0x3f70e6(0xf5)](_0x2f6036=>this[_0x3f70e6(0xac)](_0x3f70e6(0x108),_0x2f6036))[_0x3f70e6(0x104)](()=>this[_0x3f70e6(0x175)]());},{'priority':_0x762bff(0x134)}),this[_0x762bff(0x14c)]['on'](_0x762bff(0xaa),async(_0x4d5562,[_0x5906a8,_0x5412a8])=>{const _0xd2e7c3=_0x762bff;_0x4d5562[_0xd2e7c3(0xcc)]();const _0x2e2ca5=this[_0xd2e7c3(0x14c)][_0xd2e7c3(0xc2)][_0xd2e7c3(0x116)][_0xd2e7c3(0x148)](_0x5906a8);if(!this[_0xd2e7c3(0x8b)][_0xd2e7c3(0x16c)](_0x5906a8)){const _0x316785=_0x5412a8&&_0x5412a8[_0xd2e7c3(0xf7)]?_0x5412a8[_0xd2e7c3(0xf7)]:'',_0x3c2cc2=_0x5412a8&&_0x5412a8[_0xd2e7c3(0xe0)]?_0x5412a8[_0xd2e7c3(0xe0)]:{};await this[_0xd2e7c3(0xbe)](_0x5906a8,_0x316785,_0x3c2cc2);}this[_0xd2e7c3(0x14c)][_0xd2e7c3(0xc2)][_0xd2e7c3(0x160)]({'isUndoable':!0x1},()=>{const _0x4a4c54=_0xd2e7c3;_0x2e2ca5[_0x4a4c54(0x188)]=!0x0,this[_0x4a4c54(0x14c)][_0x4a4c54(0xc2)][_0x4a4c54(0x116)][_0x4a4c54(0xb9)][_0x4a4c54(0x153)](_0x2e2ca5);});},{'priority':_0x762bff(0x134)});}async[_0x150537(0xda)](_0x57261a){const _0xd46afb=_0x150537,_0x220feb=this[_0xd46afb(0x14c)][_0xd46afb(0x117)][_0xd46afb(0xd4)](_0x51f59f),{connection:_0xdb6a50}=this[_0xd46afb(0x14c)][_0xd46afb(0x117)][_0xd46afb(0xd4)](_0x46cefa),_0x196042=new Set();for(const _0x5ced84 of _0x57261a){const _0x4035ad=_0x5ced84[_0xd46afb(0x106)];_0x4035ad&&!_0x220feb[_0xd46afb(0x120)](_0x4035ad)&&_0x196042[_0xd46afb(0x128)](_0x4035ad);}if(0x0===_0x196042[_0xd46afb(0x17a)])return;const _0x469944=await _0x18f0b8[_0xd46afb(0x17e)](_0xdb6a50,Array[_0xd46afb(0x14d)](_0x196042));for(const _0x44ac43 of _0x469944)_0x220feb[_0xd46afb(0x120)](_0x44ac43['id'])||_0x220feb[_0xd46afb(0x8c)](_0x44ac43);}[_0x150537(0xfc)](_0x360c33,_0x1a58d4={}){const _0xc28888=_0x150537,_0x2a960c=this[_0xc28888(0x14c)][_0xc28888(0xc2)],_0x1a9a9a=[];let _0x1cc547=0x0;const _0x5749be=_0xc28888(0xee)==typeof _0x360c33?{'main':_0x360c33}:_0x360c33;for(const _0x2f0e0c of Object[_0xc28888(0x113)](_0x5749be)){if(!this[_0xc28888(0x125)][_0xc28888(0xc6)][_0xc28888(0x16c)](_0x2f0e0c))throw new _0x176c79(_0xc28888(0xcf),this);const _0x4ec3f3=this[_0xc28888(0x14c)][_0xc28888(0xf7)][_0xc28888(0xa6)](_0x5749be[_0x2f0e0c]),_0x18851b=this[_0xc28888(0x125)][_0xc28888(0x148)](_0x2f0e0c),_0x112f69=new _0x2c4030(_0x2a960c[_0xc28888(0xed)](_0x18851b,0x0),_0x4ec3f3,_0x1cc547++);_0x1a9a9a[_0xc28888(0x8d)](_0x112f69);for(const [_0x42180b,_0x3b7eb6]of _0x4ec3f3[_0xc28888(0x154)]){const _0x406d3c=_0x2a960c[_0xc28888(0x168)](_0x2a960c[_0xc28888(0xb2)](_0x18851b,_0x3b7eb6[_0xc28888(0x9f)][_0xc28888(0xd8)][_0xc28888(0x146)]()),_0x2a960c[_0xc28888(0xb2)](_0x18851b,_0x3b7eb6[_0xc28888(0xfd)][_0xc28888(0xd8)][_0xc28888(0x146)]())),_0x447cb2=new _0x7f52ba(_0x42180b,null,_0x406d3c,_0x2a960c[_0xc28888(0x154)],!0x0,_0x1cc547++);_0x1a9a9a[_0xc28888(0x8d)](_0x447cb2);}}if(_0x1a58d4)for(const [_0x2f36fd,_0x2bf4aa]of Object[_0xc28888(0xe3)](_0x1a58d4)){const _0x12f18c=_0x2a960c[_0xc28888(0x116)][_0xc28888(0x148)](_0x2f36fd);if(!_0x12f18c)throw new _0x176c79(_0xc28888(0x12f),null);for(const [_0x17fb8e,_0xca2999]of Object[_0xc28888(0xe3)](_0x2bf4aa))if(null!==_0xca2999){const _0xbd9f25=new _0x1f4d82(_0x12f18c,_0x17fb8e,null,_0xca2999,_0x1cc547++);_0x1a9a9a[_0xc28888(0x8d)](_0xbd9f25);}}return _0x1a9a9a;}async[_0x150537(0xbe)](_0x213449,_0x437da4,_0x10253e){const _0x33b7bd=_0x150537;this[_0x33b7bd(0xfc)]({[_0x213449]:_0x437da4},{[_0x213449]:_0x10253e})[_0x33b7bd(0xbc)]((_0x3c80fb,_0x2a00e0)=>{const _0x717f1c=_0x33b7bd;_0x3c80fb[_0x717f1c(0xa0)]=this[_0x717f1c(0x125)][_0x717f1c(0x111)]+_0x2a00e0,_0x3c80fb[_0x717f1c(0x115)]=!0x0,this[_0x717f1c(0x140)](_0x3c80fb);}),this[_0x33b7bd(0x18c)](),await this[_0x33b7bd(0xe1)]();}async[_0x150537(0xfa)](_0x3c510a,_0x1981ec){const _0x11c0fb=_0x150537;let _0x3dc311;this[_0x11c0fb(0x169)]=_0x3c510a[_0x11c0fb(0xf8)];const _0x4f5b15=_0x3c510a[_0x11c0fb(0x14a)]&&!_0x3c510a[_0x11c0fb(0xc1)],_0x2bc8d8=_0x4f5b15?0x0:_0x3c510a[_0x11c0fb(0xf7)][_0x11c0fb(0xa0)];if(_0x1981ec[_0x11c0fb(0xbc)](_0xada55e=>{const _0x53aeae=_0x11c0fb;_0xada55e[_0x53aeae(0x115)]=!0x0,_0xada55e[_0x53aeae(0x137)]=_0x3c510a[_0x53aeae(0x15f)],_0xada55e[_0x53aeae(0x106)]=null;}),_0x4f5b15)_0x3dc311=_0x1981ec,this[_0x11c0fb(0x181)](_0x3dc311,_0x4f5b15);else{if(_0x3c510a[_0x11c0fb(0xc1)]){const _0x2dbb4f=this[_0x11c0fb(0xfc)](_0x3c510a[_0x11c0fb(0xc1)]);this[_0x11c0fb(0x125)][_0x11c0fb(0x11f)][_0x11c0fb(0x111)]=-_0x2dbb4f[_0x11c0fb(0xf6)],_0x2dbb4f[_0x11c0fb(0xbc)](_0x27e031=>{const _0x411773=_0x11c0fb;_0x27e031[_0x411773(0xa0)]-=_0x2dbb4f[_0x411773(0xf6)],_0x27e031[_0x411773(0x137)]=_0x3c510a[_0x411773(0x15f)],_0x27e031[_0x411773(0x115)]=!0x0,_0x27e031[_0x411773(0x106)]=null;}),this[_0x11c0fb(0x181)](_0x2dbb4f,!0x0),this[_0x11c0fb(0x9e)][_0x11c0fb(0x111)]=-_0x2dbb4f[_0x11c0fb(0xf6)]+this[_0x11c0fb(0x169)],this[_0x11c0fb(0xde)](_0x2dbb4f);}this[_0x11c0fb(0x125)][_0x11c0fb(0x11f)][_0x11c0fb(0x111)]=_0x2bc8d8,_0x3dc311=this[_0x11c0fb(0xdf)](_0x3c510a[_0x11c0fb(0xf7)],_0x3c510a[_0x11c0fb(0x8a)]),await this[_0x11c0fb(0xda)](_0x3dc311),this[_0x11c0fb(0x181)](_0x3dc311,_0x4f5b15);}_0x3c510a[_0x11c0fb(0xcd)]&&(this[_0x11c0fb(0xa2)][_0x11c0fb(0xa3)](_0x3dc311,_0x3c510a[_0x11c0fb(0xcd)]),this[_0x11c0fb(0x9a)]=_0x3c510a[_0x11c0fb(0xcd)]),this[_0x11c0fb(0x9e)][_0x11c0fb(0x111)]=_0x2bc8d8+this[_0x11c0fb(0x169)],this[_0x11c0fb(0xde)](_0x3dc311),_0x1981ec[_0x11c0fb(0xe6)](_0x511011=>{const _0x22717d=_0x11c0fb,_0x7c9327=this[_0x22717d(0x141)](_0x511011);return _0x7c9327&&!this[_0x22717d(0x8b)][_0x22717d(0x16c)](_0x7c9327);})[_0x11c0fb(0xbc)]((_0x5e02f2,_0x38ba7d)=>{const _0x2396fc=_0x11c0fb;_0x5e02f2[_0x2396fc(0xa0)]=this[_0x2396fc(0x125)][_0x2396fc(0x111)]+_0x38ba7d,this[_0x2396fc(0x140)](_0x5e02f2);}),this[_0x11c0fb(0x12c)]()?(this[_0x11c0fb(0x16a)]=0x0,this[_0x11c0fb(0x18c)](!0x0),await this[_0x11c0fb(0xe1)]()):(this[_0x11c0fb(0x158)]=!0x1,this[_0x11c0fb(0x175)]());}[_0x150537(0xac)](_0x4c4044,_0x2cdc26){const _0x2bd49d=_0x150537,_0x1e4ebc=_0x2cdc26&&_0x2cdc26[_0x2bd49d(0x182)];if(_0x1e4ebc&&_0x1e4ebc[_0x2bd49d(0xc0)](_0x2bd49d(0xcb)))throw _0x2cdc26;const _0x2ee2cd=this[_0x2bd49d(0x14c)][_0x2bd49d(0x117)][_0x2bd49d(0xd4)](_0x46cefa);throw this[_0x2bd49d(0x158)]=!0x0,_0x2ee2cd[_0x2bd49d(0x132)](),this[_0x2bd49d(0x14c)][_0x2bd49d(0x11c)](_0x2bd49d(0x139)),new _0x176c79(_0x4c4044,this[_0x2bd49d(0x14c)],_0x1e4ebc?{'originalError':_0x1e4ebc}:void 0x0);}[_0x150537(0x140)](_0x2bf11e){const _0x160cc7=_0x150537;this[_0x160cc7(0x94)][_0x160cc7(0x16c)](_0x2bf11e)||(this[_0x160cc7(0x94)][_0x160cc7(0x128)](_0x2bf11e),this[_0x160cc7(0x13b)][_0x160cc7(0x8d)](_0x2bf11e),this[_0x160cc7(0xd3)]||_0x160cc7(0xf3)==_0x2bf11e[_0x160cc7(0x102)]&&!_0x2bf11e[_0x160cc7(0x10d)]||this[_0x160cc7(0xc9)]());}[_0x150537(0x18c)](_0x3af073=!0x1){const _0x392028=_0x150537;!_0x3af073&&this[_0x392028(0x158)]||(this[_0x392028(0x158)]=!0x0,clearTimeout(this[_0x392028(0x151)]),this[_0x392028(0x151)]=setTimeout(()=>{const _0x2343f0=_0x392028;this[_0x2343f0(0xc4)]()[_0x2343f0(0x122)](_0xd165c5=>{const _0xb6feed=_0x2343f0;_0xd165c5&&(this[_0xb6feed(0x175)](),this[_0xb6feed(0x158)]=!0x1);})[_0x2343f0(0xf5)](_0x188ae4=>{const _0x53f26e=_0x2343f0;this[_0x53f26e(0x175)](),this[_0x53f26e(0x158)]=!0x1,function(_0x16effd){const _0x422f23=_0x53f26e;return _0x16effd[_0x422f23(0x182)][_0x422f23(0xc0)](_0x422f23(0x174))||_0x16effd[_0x422f23(0x182)][_0x422f23(0xc0)](_0x422f23(0xbd))||_0x16effd[_0x422f23(0x182)][_0x422f23(0xc0)](_0x422f23(0x129));}(_0x188ae4)||this[_0x53f26e(0xac)](_0x188ae4[_0x53f26e(0x182)],_0x188ae4);});},this[_0x392028(0x16a)]));}[_0x150537(0xe1)](){return new Promise(_0xfd2c42=>{const _0x563266=_0x1e46;this['on'](_0x563266(0x15c),()=>{_0xfd2c42();});});}async[_0x150537(0xc4)](){const _0x4f5566=_0x150537,_0x48f906=this[_0x4f5566(0x14c)][_0x4f5566(0x117)][_0x4f5566(0xd4)](_0x4e993a);if(this[_0x4f5566(0x91)]()&&(_0x48f906[_0x4f5566(0x90)](),this[_0x4f5566(0x166)]=!0x1),!this[_0x4f5566(0x12c)]())return!0x0;const _0x27f3c5=[...this[_0x4f5566(0x13b)]];for(const _0x44dd6e of _0x27f3c5)_0x44dd6e[_0x4f5566(0xd0)]=this[_0x4f5566(0x125)][_0x4f5566(0x11f)][_0x4f5566(0x109)](_0x44dd6e);const _0x5ae0d2=this[_0x4f5566(0xa2)][_0x4f5566(0x176)](_0x27f3c5),_0x5db7d8=z++,_0x157aa3=this[_0x4f5566(0x124)](_0x27f3c5),_0x67f2fd=await this[_0x4f5566(0x119)][_0x4f5566(0xbf)](_0x157aa3,_0x157aa3[_0x4f5566(0xa0)],_0x5ae0d2);try{return await this[_0x4f5566(0x143)](_0x27f3c5,_0x67f2fd,_0x5db7d8);}catch(_0x126f3e){return this[_0x4f5566(0xac)](_0x4f5566(0xfb),_0x126f3e);}}async[_0x150537(0x143)](_0x365726,_0x563e4e,_0x42adda){const _0x3f6d87=_0x150537;if(_0x3f6d87(0xae)in _0x563e4e)throw _0x563e4e[_0x3f6d87(0xae)];let _0x3b6d5c=!0x1;if(_0x563e4e[_0x3f6d87(0x14a)]){_0x563e4e[_0x3f6d87(0xcd)]&&(this[_0x3f6d87(0x9a)]=_0x563e4e[_0x3f6d87(0xcd)]),this[_0x3f6d87(0x13b)]=this[_0x3f6d87(0x13b)][_0x3f6d87(0xe6)](_0x29c4d5=>!_0x365726[_0x3f6d87(0x133)](_0x29c4d5));for(const _0x241ac5 of _0x365726)_0x241ac5[_0x3f6d87(0x137)]=_0x3f6d87(0x98)in _0x563e4e&&_0x563e4e[_0x3f6d87(0x98)]||void 0x0;H(_0x365726,_0x563e4e[_0x3f6d87(0x111)]-_0x365726[_0x3f6d87(0xf6)]),this[_0x3f6d87(0xde)](_0x365726);const _0x220685=_0x365726[_0x3f6d87(0xe6)](_0x20e755=>{const _0x28a0ef=_0x3f6d87;if(!_0x20e755[_0x28a0ef(0x115)])return!0x1;const _0x2564dc=this[_0x28a0ef(0x141)](_0x20e755);return _0x2564dc&&!this[_0x28a0ef(0x8b)][_0x28a0ef(0x16c)](_0x2564dc);});H(_0x220685,this[_0x3f6d87(0x125)][_0x3f6d87(0x111)]),this[_0x3f6d87(0x181)](_0x220685),_0x3b6d5c=!0x0,this[_0x3f6d87(0x16a)]=this[_0x3f6d87(0x162)];}else{const _0x17a5a6=this[_0x3f6d87(0xdf)](_0x563e4e[_0x3f6d87(0xf7)],_0x563e4e[_0x3f6d87(0x8a)])[_0x3f6d87(0xe6)](_0x3fbb46=>_0x3fbb46[_0x3f6d87(0xa0)]>=this[_0x3f6d87(0xff)]);_0x17a5a6[_0x3f6d87(0xbc)](_0x56ab8d=>this[_0x3f6d87(0xe9)](_0x56ab8d)),this[_0x3f6d87(0x13b)]=this[_0x3f6d87(0x13b)][_0x3f6d87(0xe6)](_0x550a6a=>!_0x550a6a[_0x3f6d87(0x115)]||!this[_0x3f6d87(0x8b)][_0x3f6d87(0x16c)](this[_0x3f6d87(0x141)](_0x550a6a))),this[_0x3f6d87(0x13b)][_0x3f6d87(0xf6)]&&H(this[_0x3f6d87(0x13b)],this[_0x3f6d87(0x13b)][0x0][_0x3f6d87(0xa0)]),await this[_0x3f6d87(0xda)](_0x17a5a6),_0x3b6d5c=this[_0x3f6d87(0xa4)](_0x17a5a6,_0x563e4e[_0x3f6d87(0x111)],_0x563e4e[_0x3f6d87(0xcd)]),this[_0x3f6d87(0x16a)]=Math[_0x3f6d87(0xb6)](this[_0x3f6d87(0x16a)]/0x2);}return _0x3b6d5c?!this[_0x3f6d87(0x12c)]()||(this[_0x3f6d87(0x18c)](!0x0),!0x1):this[_0x3f6d87(0xac)](_0x3f6d87(0xa8));}[_0x150537(0xa4)](_0xb5b58f,_0x3ff8b2,_0x51d9fc){const _0x298275=_0x150537;try{const _0xbcdada={'document':this[_0x298275(0x125)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c32cf,operationsB:_0x294aa4,originalOperations:_0x43f545}=_0xb21172(_0xb5b58f,this[_0x298275(0x13b)],_0xbcdada);H(_0x1c32cf,this[_0x298275(0x125)][_0x298275(0x111)]),H(_0x294aa4,_0x3ff8b2);for(const _0x558491 of _0x1c32cf){const _0x2049c6=_0x43f545[_0x298275(0xd4)](_0x558491);_0x558491[_0x298275(0x106)]=_0x2049c6?_0x2049c6[_0x298275(0x106)]:null;}_0x51d9fc&&(this[_0x298275(0xa2)][_0x298275(0xa3)](_0xb5b58f,_0x51d9fc),this[_0x298275(0x9a)]=_0x51d9fc),this[_0x298275(0x13b)]=[..._0x294aa4],this[_0x298275(0x181)](_0x1c32cf),this[_0x298275(0xde)](_0xb5b58f);}catch(_0x5f24f3){return console[_0x298275(0xae)](_0x5f24f3),!0x1;}return!0x0;}[_0x150537(0x181)](_0x3a5bd1,_0x313d4f=!0x1){const _0x2fe4bd=_0x150537;this[_0x2fe4bd(0x14c)][_0x2fe4bd(0xc2)][_0x2fe4bd(0x160)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2237e1=>{const _0x301b64=_0x2fe4bd;for(const _0x3c103f of _0x3a5bd1)this[_0x301b64(0x94)][_0x301b64(0x128)](_0x3c103f),this[_0x301b64(0xe9)](_0x3c103f),_0x2237e1[_0x301b64(0x13c)][_0x301b64(0x100)](_0x3c103f),this[_0x301b64(0x14c)][_0x301b64(0xc2)][_0x301b64(0xea)](_0x3c103f);});}[_0x150537(0xe9)](_0xc7ad30){const _0x23fe1a=_0x150537,_0x254921=this[_0x23fe1a(0x141)](_0xc7ad30);_0x254921&&this[_0x23fe1a(0x8b)][_0x23fe1a(0x128)](_0x254921);}[_0x150537(0x141)](_0x4a161e){const _0x438928=_0x150537;let _0x134881,_0x125c5f;switch(_0x4a161e[_0x438928(0x102)]){case _0x438928(0x110):_0x134881=_0x4a161e[_0x438928(0xef)][_0x438928(0xb7)];break;case _0x438928(0xf3):if(_0x125c5f=_0x4a161e[_0x438928(0x114)],!_0x125c5f)return null;_0x134881=_0x125c5f[_0x438928(0xb7)];break;case _0x438928(0x157):_0x134881=_0x4a161e[_0x438928(0xb7)];break;case _0x438928(0x15d):_0x134881=_0x4a161e[_0x438928(0x9d)];break;case _0x438928(0x179):_0x134881=_0x4a161e[_0x438928(0x10e)][_0x438928(0xb7)];break;default:return null;}return _0x134881[_0x438928(0x118)];}[_0x150537(0xde)](_0x2aab96){const _0x4ac66d=_0x150537;_0x2aab96[_0x4ac66d(0xbc)](_0x2c69ce=>{const _0x4df3b9=_0x4ac66d,_0x3169ba=_0x2c69ce[_0x4df3b9(0xdb)]();_0x3169ba[_0x4df3b9(0x106)]=_0x2c69ce[_0x4df3b9(0x106)],_0x3169ba[_0x4df3b9(0x115)]=!!_0x2c69ce[_0x4df3b9(0x115)],_0x3169ba[_0x4df3b9(0x137)]=_0x2c69ce[_0x4df3b9(0x137)],_0x3169ba[_0x4df3b9(0xa0)]+=this[_0x4df3b9(0x169)],_0x2c69ce[_0x4df3b9(0xd7)]&&this[_0x4df3b9(0x135)][_0x4df3b9(0x128)](_0x3169ba),this[_0x4df3b9(0x9e)][_0x4df3b9(0x100)](_0x3169ba);});}[_0x150537(0x105)](_0x52e3ea){const _0x2a3b4a=_0x150537,_0xa3430=this[_0x2a3b4a(0x14c)][_0x2a3b4a(0x117)][_0x2a3b4a(0xd4)](_0x2a3b4a(0xa1)),_0xb60ee4=this[_0x2a3b4a(0x14c)][_0x2a3b4a(0x11d)];_0x52e3ea||(_0x52e3ea=_0x5f20b9(_0xb60ee4,_0x2a3b4a(0x178))),_0xa3430[_0x2a3b4a(0x89)](_0x52e3ea,{'title':_0x5f20b9(_0xb60ee4,_0x2a3b4a(0x171)),'namespace':_0x2a3b4a(0x17c)}),this[_0x2a3b4a(0x14f)]=!0x0,clearTimeout(this[_0x2a3b4a(0x151)]),this[_0x2a3b4a(0x13b)]=[],this[_0x2a3b4a(0x14c)][_0x2a3b4a(0x117)][_0x2a3b4a(0xd4)](_0x46cefa)[_0x2a3b4a(0x132)]();}[_0x150537(0xc9)](){const _0x49b2fe=_0x150537;this[_0x49b2fe(0xd3)]||(this[_0x49b2fe(0xd3)]=this[_0x49b2fe(0x14c)][_0x49b2fe(0x117)][_0x49b2fe(0xd4)](_0x40b709)[_0x49b2fe(0x128)](_0x5f20b9(this[_0x49b2fe(0x14c)][_0x49b2fe(0x11d)],_0x49b2fe(0xaf))));}[_0x150537(0x175)](){const _0x556e87=_0x150537;this[_0x556e87(0xd3)]&&(this[_0x556e87(0x14c)][_0x556e87(0x117)][_0x556e87(0xd4)](_0x40b709)[_0x556e87(0x186)](this[_0x556e87(0xd3)]),this[_0x556e87(0xd3)]=null);}[_0x150537(0x124)](_0x390a1c){const _0xa12f9e=_0x150537,_0xb5d1c=_0x390a1c[_0xa12f9e(0x10c)](_0x46fe48=>_0x46fe48[_0xa12f9e(0x165)]());return this[_0xa12f9e(0x14e)][_0xa12f9e(0x15b)](_0xb5d1c);}[_0x150537(0xdf)](_0x40a49a,_0x2daa2f){const _0x3f0148=_0x150537;return this[_0x3f0148(0x14e)][_0x3f0148(0x185)](_0x40a49a)[_0x3f0148(0x10c)]((_0x11e2a4,_0x47fad1)=>{const _0x37199f=_0x3f0148,_0x5088c2=_0x37199f(0xa7)==_0x2daa2f[_0x47fad1][_0x37199f(0x102)];if(_0x37199f(0xb1)==_0x11e2a4[_0x37199f(0x15e)]){const _0x41e2e3=_0x11e2a4[_0x37199f(0xef)][_0x37199f(0xb7)];!this[_0x37199f(0x125)][_0x37199f(0x148)](_0x41e2e3)&&(this[_0x37199f(0x125)][_0x37199f(0xd9)](_0x37199f(0x17f),_0x41e2e3)[_0x37199f(0x18e)]=!0x1);}const _0xf313d0=_0x13ac35[_0x37199f(0x155)](_0x11e2a4,this[_0x37199f(0x125)]);return _0xf313d0[_0x37199f(0xd0)]=_0x11e2a4[_0x37199f(0xd0)],_0xf313d0[_0x37199f(0x115)]=_0x5088c2,_0xf313d0[_0x37199f(0x106)]=_0x5088c2?null:_0x2daa2f[_0x47fad1][_0x37199f(0x101)],_0xf313d0[_0x37199f(0xd7)]=_0x37199f(0x9c)===_0x2daa2f[_0x47fad1][_0x37199f(0x102)],_0xf313d0[_0x37199f(0x137)]=_0x2daa2f[_0x47fad1][_0x37199f(0x137)],_0xf313d0;});}[_0x150537(0x11e)](){const _0x3d045f=_0x150537;this[_0x3d045f(0x166)]=!0x0,this[_0x3d045f(0x91)]()?this[_0x3d045f(0x18c)]():this[_0x3d045f(0x166)]=!0x1;}[_0x150537(0x91)](){const _0x44a57f=_0x150537,_0x25bb65=this[_0x44a57f(0x14c)][_0x44a57f(0x117)][_0x44a57f(0xd4)](_0x114e02)[_0x44a57f(0x145)][_0x44a57f(0xd4)](this[_0x44a57f(0x18a)]);return!this[_0x44a57f(0x14c)][_0x44a57f(0xd5)]&&!!_0x25bb65&&_0x25bb65[_0x44a57f(0xf6)]>0x1&&this[_0x44a57f(0x166)];}[_0x150537(0x12c)](){const _0x3bbaa6=_0x150537;return this[_0x3bbaa6(0x13b)][_0x3bbaa6(0xf6)]>0x0||this[_0x3bbaa6(0x91)]();}}class ReconnectionError extends Error{}function H(_0x1b0d8f,_0x186df0){const _0x405540=_0x150537;for(const _0x1af294 of _0x1b0d8f)_0x1af294[_0x405540(0xa0)]=_0x186df0++;}class OperationIdentifier{[_0x150537(0x189)];[_0x150537(0x17d)];constructor(_0x54234d){const _0x45dd71=_0x150537;this[_0x45dd71(0x189)]=_0x54234d,this[_0x45dd71(0x17d)]=new WeakMap();}[_0x150537(0x176)](_0x204642){const _0x187c95=_0x150537;let _0x5b8852=_0x204642[_0x187c95(0xf6)];for(;_0x5b8852--;){const _0x38e306=_0x204642[_0x5b8852];if(!this[_0x187c95(0x189)][_0x187c95(0x16c)](_0x38e306)){if(!this[_0x187c95(0x17d)][_0x187c95(0x16c)](_0x38e306)){const _0x169c6e=_0x8ebd3e()[_0x187c95(0x146)](0x1,0x12);this[_0x187c95(0x17d)][_0x187c95(0xb5)](_0x38e306,_0x169c6e);}return this[_0x187c95(0x17d)][_0x187c95(0xd4)](_0x38e306);}}}[_0x150537(0xa3)](_0x3f9337,_0x4f6a45){const _0x5e1c23=_0x150537;if(!_0x4f6a45)return;let _0x480119=_0x3f9337[_0x5e1c23(0xf6)];for(;_0x480119--;){const _0x149f05=_0x3f9337[_0x480119];this[_0x5e1c23(0x189)][_0x5e1c23(0x16c)](_0x149f05)||this[_0x5e1c23(0x17d)][_0x5e1c23(0xb5)](_0x149f05,_0x4f6a45);}}}
23
+ const _0x5444fb=_0x4c69;(function(_0x2a6d38,_0xaca658){const _0x1d3129=_0x4c69,_0x4ade77=_0x2a6d38();while(!![]){try{const _0x2f3f3b=-parseInt(_0x1d3129(0x296))/0x1+-parseInt(_0x1d3129(0x247))/0x2+parseInt(_0x1d3129(0x1f1))/0x3*(parseInt(_0x1d3129(0x26d))/0x4)+parseInt(_0x1d3129(0x1c0))/0x5+-parseInt(_0x1d3129(0x1dd))/0x6+parseInt(_0x1d3129(0x24d))/0x7*(parseInt(_0x1d3129(0x225))/0x8)+-parseInt(_0x1d3129(0x25d))/0x9;if(_0x2f3f3b===_0xaca658)break;else _0x4ade77['push'](_0x4ade77['shift']());}catch(_0x324777){_0x4ade77['push'](_0x4ade77['shift']());}}}(_0x30ad,0x7b44f));import{Plugin as _0x84fde9,PendingActions as _0x552269}from'ckeditor5/src/core.js';function _0x4c69(_0x3b6e26,_0x202f86){const _0x30ad85=_0x30ad();return _0x4c69=function(_0x4c69b3,_0xcdec83){_0x4c69b3=_0x4c69b3-0x1a5;let _0x4922f4=_0x30ad85[_0x4c69b3];return _0x4922f4;},_0x4c69(_0x3b6e26,_0x202f86);}import{CKEditorError as _0x3016e8,version as _0x24f700,uid as _0x528595}from'ckeditor5/src/utils.js';function _0x30ad(){const _0x159dde=['initData','toJSON','offset','collaboration','addRootAttribute','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','roots','model','startsWith','change:range','init','createRoot','rtc-offline','_handleExternalOperations','_applyOperationsSet','baseVersion','type','_sendBufferedOperationsDelayed','change:_isEditingAllowed','collaboration.channelId','editor','cs:removeUser','_channelId','requires','catch','change:_isPendingUpdate','430812BZDnoG','lastSyncVersion','ready','finally','start','real-time-collaboration','createRange','_ignoredOperations','_saveOperationInBuffer','keys','lastOperationId','realtimecollaborationclient-init-non-existent-root','_handleSendingSelectionMarkers','_bufferRootLoad','round','remove','loadRoot','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastServerVersion','realtimecollaborationclient-handleserverresponse','9402VjFQwT','position','$root','_lastSyncedOperationId','pluginName','move','off','_initSessionsHandling','cloudServices.bundleVersion','_knownOperations','PENDING_ACTION_SENDING_DATA','document','_initThrowingOnDataSet','isPremiumPlugin','_decompressOperations','entries','realtimecollaborationclient-init-service-incorrect-server-operation','cloudDocumentVersion','_handleReceivedOperations','_isAttached','isEnabled','createUserMarkerOperations','_operationToId','set','channelSessions','data','targetPosition','CollaborativeEditingService','createPositionFromPath','clone','attributes','reset','collaboration-missing-channelid','path','_compressOperations','__className','_clearPendingAction','sessionId','decompress','realtimecollaborationclient-init-document-already-initialized','_setPendingAction','history','createdAt','lastOperationAcceptedAt','getOperationAuthor','then','plugins','reconnection:\x20flushed\x20session','map','editing','RealTimeCollaborationClient','enableReadOnlyMode','197224fhkWxY','stopListening','CommentsOnly','getRoot','_hasSelectionChanged','state','return','document:write','sendOperations','insert','_authorId','code','_isInit','_disconnectionOperations','add','listenTo','_isConnected','addOperation','operationsReceived','realtimecollaborationclient','suppressErrorInCollaboration','_service','get','affectsData','_hasSynchronizationProblem','setIdForTheLastOperation','includes','_isDisconnection','_isLoaded','change:hasDomSelection','end','getOperations','selection','message','1083138EPhTDL','_baseBufferDelay','_currentBufferDelay','Permissions','metadata','_loadRoot','203qMYhGp','connection','parse','_getOperationsFromInitData','marker','isDocumentOperation','wasUndone','cloud-services-internal-error:\x20Request\x20timeout.','_handleInitialConnectionData','multi-root-editor-root-attributes-no-root','directChange','_handleServerResponse','wereChangesApplied','length','isUndoneOperation','_getAffectedRoot','1221426WgWrEv','define','_disconnectService','realtimecollaborationclient-sendbufferedoperations','sessionCreatedAt','stop','root','_bufferedOperations','_crash','affectedSelectable','showWarning','rootName','view','getConnectedSessions','_isPendingUpdate','unregister','248zEoSaf','push','Synchronization\x20issue','addToReconnectionStack','_refreshUserSelectionMarkers','userId','InsertOperation','reconnect','removeFromReconnectionStack','_document','getDocumentDetails','rootsAttributes','markers','addUser','_handleReconnectionError','register','permissions','batch','_offset','disconnected','string','slice','has','config','_waitUntilSynced','mySessionId','newRange','lastDocumentSession','forEach','size','Notification','_addKnownRoot','realtimecollaborationclient-error','fromJSON','error','_operationIdentifier','differ','_connectService','404','409','locale','28764CYOXFl','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayId','createPositionAt','compress','_isEditingAllowed','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.','apply','isReadOnly','_shouldSendSelectionUpdate','serverHistory','isOfficialPlugin','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-init-service-internal-error','_pendingAction','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','filter','_connectAfterSessionHasBeenFlushed','setPermissions','_updateServerHistory','getIdOfTheLastOperation','_shouldSendUpdate','from','connected','_fetchMissingUsers','cloud-services-internal-error:\x20Not\x20connected.','disconnect','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','currentDocumentSession','applyOperation','rtc-destroyed','enqueueChange','bind','getUser','addRoot','connect','getMany','fire','destroy','_sendBufferedOperations','_setUpDataInit','_handleReconnectionResponse','disableReadOnlyMode','high','_knownRootNames','version','_compressor','1867575qXoKbG','sessionAdd:','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration'];_0x30ad=function(){return _0x159dde;};return _0x30ad();}import{Notification as _0x2cda31}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4d763a,NoOperation as _0x2b42e6,InsertOperation as _0xbe05f4,MarkerOperation as _0x419e90,RootAttributeOperation as _0xe0402b,OperationFactory as _0x473462,History as _0x484982}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1cd1e8}from'./websocketgateway.js';import{Sessions as _0x848296}from'./sessions.js';import{UserMarkers as _0x2e192c}from'./usermarkers.js';import{getTranslation as _0x8b9d80}from'../common-translations.js';import{Compressor as _0x355cab}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x192994}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5ae85d,CollaborativeEditingService as _0x51e833}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;export class RealTimeCollaborationClient extends _0x84fde9{static [_0x5444fb(0x20c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x51e833)());[_0x5444fb(0x27f)];[_0x5444fb(0x216)];[_0x5444fb(0x2a0)];[_0x5444fb(0x1d9)];[_0x5444fb(0x23a)];[_0x5444fb(0x276)];[_0x5444fb(0x1bf)];[_0x5444fb(0x264)];[_0x5444fb(0x1fa)];[_0x5444fb(0x1bd)];[_0x5444fb(0x2a4)];[_0x5444fb(0x229)];[_0x5444fb(0x298)];[_0x5444fb(0x248)];[_0x5444fb(0x249)];[_0x5444fb(0x1f4)];[_0x5444fb(0x232)];[_0x5444fb(0x290)];static get[_0x5444fb(0x1da)](){return[_0x1cd1e8,_0x848296,_0x2e192c,_0x552269,_0x192994,_0x2cda31];}static get[_0x5444fb(0x1f5)](){const _0xd83a31=_0x5444fb;return _0xd83a31(0x223);}static get[_0x5444fb(0x2a1)](){return!0x0;}static get[_0x5444fb(0x1fe)](){return!0x0;}get[_0x5444fb(0x202)](){const _0x442bff=_0x5444fb;return this[_0x442bff(0x1ef)]+this[_0x442bff(0x27f)];}get[_0x5444fb(0x1ef)](){const _0x234fe9=_0x5444fb;return this[_0x234fe9(0x2a0)][_0x234fe9(0x1be)]-this[_0x234fe9(0x27f)];}get[_0x5444fb(0x1de)](){const _0x4e4a63=_0x5444fb,_0x3f4ba8=this[_0x4e4a63(0x2a0)][_0x4e4a63(0x244)]();for(let _0x35ce21=_0x3f4ba8[_0x4e4a63(0x25a)]-0x1;_0x35ce21>=0x0;_0x35ce21--){const _0x1d504c=_0x3f4ba8[_0x35ce21];if(!this[_0x4e4a63(0x232)][_0x4e4a63(0x283)](_0x1d504c))return _0x1d504c[_0x4e4a63(0x1d2)]+0x1-this[_0x4e4a63(0x27f)];}return 0x0;}constructor(_0x43c222){const _0x316f80=_0x5444fb;if(super(_0x43c222),this[_0x316f80(0x27f)]=0x0,this[_0x316f80(0x216)]=null,this[_0x316f80(0x2a0)]=new _0x484982(),this[_0x316f80(0x1d7)][_0x316f80(0x284)][_0x316f80(0x25e)](_0x316f80(0x1c6),{}),this[_0x316f80(0x1d9)]=this[_0x316f80(0x1d7)][_0x316f80(0x284)][_0x316f80(0x23b)](_0x316f80(0x1d6)),!this[_0x316f80(0x1d9)])throw new _0x3016e8(_0x316f80(0x211),this);const _0x354e58=_0x43c222[_0x316f80(0x284)][_0x316f80(0x23b)](_0x316f80(0x1f9))||_0x24f700;this[_0x316f80(0x23a)]=new RealTimeCollaborationClient[(_0x316f80(0x20c))](_0x354e58,this[_0x316f80(0x1d9)]),this[_0x316f80(0x276)]=this[_0x316f80(0x1d7)][_0x316f80(0x1ca)][_0x316f80(0x1fc)],this[_0x316f80(0x1bf)]=new _0x355cab(),this[_0x316f80(0x264)]=[],this[_0x316f80(0x1fa)]=new WeakSet(),this[_0x316f80(0x1bd)]=new Set(),this[_0x316f80(0x208)](_0x316f80(0x26b),!0x1),this[_0x316f80(0x208)](_0x316f80(0x23d),!0x1),this[_0x316f80(0x2a4)]=null,this[_0x316f80(0x229)]=!0x1,this[_0x316f80(0x298)]=null,this[_0x316f80(0x248)]=0x12c,this[_0x316f80(0x249)]=this[_0x316f80(0x248)],this[_0x316f80(0x1f4)]=null,this[_0x316f80(0x232)]=new WeakSet(),this[_0x316f80(0x290)]=new OperationIdentifier(this[_0x316f80(0x232)]);}[_0x5444fb(0x1cd)](){const _0x4dce59=_0x5444fb,_0x5b04d3=this[_0x4dce59(0x1d7)],_0x3b3a0d=_0x5b04d3[_0x4dce59(0x21f)][_0x4dce59(0x23b)](_0x192994),_0x360932=_0x5b04d3[_0x4dce59(0x21f)][_0x4dce59(0x23b)](_0x1cd1e8);this[_0x4dce59(0x234)](_0x3b3a0d,_0x4dce59(0x21d),(_0x4c717b,_0x226c0b)=>{const _0x348a3b=_0x4dce59,_0x1204b0=_0x226c0b[0x0];_0x1204b0[_0x348a3b(0x22f)]&&(_0x4c717b[_0x348a3b(0x22b)]=_0x3b3a0d[_0x348a3b(0x1b2)](_0x1204b0[_0x348a3b(0x22f)]),_0x4c717b[_0x348a3b(0x262)]()),null===_0x1204b0[_0x348a3b(0x22f)]&&(_0x4c717b[_0x348a3b(0x22b)]=null,_0x4c717b[_0x348a3b(0x262)]());},{'priority':_0x4dce59(0x1bc)}),this[_0x4dce59(0x234)](_0x5b04d3[_0x4dce59(0x1ca)][_0x4dce59(0x1fc)][_0x4dce59(0x245)],_0x4dce59(0x1cc),(_0x2e24d2,_0x2fefc1)=>{const _0x20ff9d=_0x4dce59;_0x2fefc1[_0x20ff9d(0x257)]&&this[_0x20ff9d(0x271)]();}),this[_0x4dce59(0x234)](_0x5b04d3[_0x4dce59(0x222)][_0x4dce59(0x269)],_0x4dce59(0x242),()=>{const _0x32f0ca=_0x4dce59;this[_0x32f0ca(0x271)]();}),this[_0x4dce59(0x1fd)](),_0x5b04d3[_0x4dce59(0x1ca)]['on'](_0x4dce59(0x1ae),(_0xcee8bb,_0x497a24)=>{const _0x4d4194=_0x4dce59,_0x34c055=_0x497a24[0x0];_0x34c055[_0x4d4194(0x252)]&&(this[_0x4d4194(0x1e5)](_0x34c055),this[_0x4d4194(0x1a6)]()&&this[_0x4d4194(0x1d4)]());}),this[_0x4dce59(0x1b9)](),this[_0x4dce59(0x1b1)](_0x4dce59(0x29b))['to'](_0x360932,_0x4dce59(0x22a),this,_0x4dce59(0x23d),(_0x3ce1db,_0x476794)=>_0x4dce59(0x1a8)===_0x3ce1db&&!_0x476794),this['on'](_0x4dce59(0x1d5),()=>{const _0x1ecc33=_0x4dce59;this[_0x1ecc33(0x29b)]?_0x5b04d3[_0x1ecc33(0x1bb)](_0x1ecc33(0x1cf)):_0x5b04d3[_0x1ecc33(0x224)](_0x1ecc33(0x1cf));}),this[_0x4dce59(0x29b)]?_0x5b04d3[_0x4dce59(0x1bb)](_0x4dce59(0x1cf)):_0x5b04d3[_0x4dce59(0x224)](_0x4dce59(0x1cf)),this[_0x4dce59(0x208)](_0x4dce59(0x235),!0x1);}async[_0x5444fb(0x274)](){const _0x2dfa6b=_0x5444fb,_0x39fc5b=this[_0x2dfa6b(0x1d7)][_0x2dfa6b(0x21f)][_0x2dfa6b(0x23b)](_0x848296),_0x46d06e=this[_0x2dfa6b(0x1d7)][_0x2dfa6b(0x21f)][_0x2dfa6b(0x23b)](_0x1cd1e8);try{this[_0x2dfa6b(0x26b)]=!0x0,_0x39fc5b[_0x2dfa6b(0x26c)](this[_0x2dfa6b(0x1d9)]);const _0xe68754=await this[_0x2dfa6b(0x23a)][_0x2dfa6b(0x274)](_0x46d06e[_0x2dfa6b(0x24e)],this[_0x2dfa6b(0x1de)]);await this[_0x2dfa6b(0x1ba)](_0xe68754)&&(this[_0x2dfa6b(0x26b)]=!0x1,this[_0x2dfa6b(0x215)]());const _0xbbed52=await this[_0x2dfa6b(0x23a)][_0x2dfa6b(0x26a)]();_0x39fc5b[_0x2dfa6b(0x27c)](this[_0x2dfa6b(0x1d9)],_0xbbed52),this[_0x2dfa6b(0x1e9)](),this[_0x2dfa6b(0x235)]=!0x0;}catch(_0x8cfab0){if(function(_0x33bf55){const _0x5b467e=_0x2dfa6b;return _0x5b467e(0x293)===_0x33bf55[_0x5b467e(0x230)];}(_0x8cfab0)&&this[_0x2dfa6b(0x216)])await this[_0x2dfa6b(0x2a7)]();else{if(function(_0x4def09){const _0x108613=_0x2dfa6b;return _0x108613(0x294)===_0x4def09[_0x108613(0x230)];}(_0x8cfab0)){const _0x499cc9=_0x8b9d80(this[_0x2dfa6b(0x1d7)][_0x2dfa6b(0x295)],_0x2dfa6b(0x2a5));this[_0x2dfa6b(0x27b)](_0x499cc9);}else{if(!(_0x8cfab0 instanceof ReconnectionError))throw _0x8cfab0;this[_0x2dfa6b(0x27b)]();}}}}[_0x5444fb(0x1b7)](){const _0x21837b=_0x5444fb,_0x2b6c23=this[_0x21837b(0x1d7)][_0x21837b(0x21f)][_0x21837b(0x23b)](_0x1cd1e8),_0x191dee=this[_0x21837b(0x1d7)][_0x21837b(0x21f)][_0x21837b(0x23b)](_0x848296);this[_0x21837b(0x1d7)][_0x21837b(0x224)](_0x21837b(0x1af)),_0x191dee[_0x21837b(0x209)][_0x21837b(0x283)](this[_0x21837b(0x1d9)])&&_0x191dee[_0x21837b(0x26c)](this[_0x21837b(0x1d9)]),_0x2b6c23[_0x21837b(0x275)](this),this[_0x21837b(0x25f)](),super[_0x21837b(0x1b7)]();}async[_0x5444fb(0x1ba)](_0x14fa61){const _0x6a8a2e=_0x5444fb;if(this[_0x6a8a2e(0x216)]!==_0x14fa61[_0x6a8a2e(0x216)]&&this[_0x6a8a2e(0x1f4)]!==_0x14fa61[_0x6a8a2e(0x1e7)])throw new ReconnectionError();return this[_0x6a8a2e(0x216)]=_0x14fa61[_0x6a8a2e(0x216)],this[_0x6a8a2e(0x258)]([],{..._0x14fa61,'wereChangesApplied':!0x1,'data':_0x14fa61[_0x6a8a2e(0x20a)]},_0x6a8a2e(0x274));}async[_0x5444fb(0x292)](_0x243e23,_0x41d3f6=!0x1){const _0x38510d=_0x5444fb,{connection:_0x18b240}=this[_0x38510d(0x1d7)][_0x38510d(0x21f)][_0x38510d(0x23b)](_0x1cd1e8);RealTimeCollaborationClient[_0x38510d(0x20c)][_0x38510d(0x26a)](_0x18b240,this[_0x38510d(0x1d9)])[_0x38510d(0x21e)](_0x3eb68e=>this[_0x38510d(0x1f8)](_0x3eb68e))[_0x38510d(0x1db)](_0x586976=>{const _0x27d31c=_0x38510d;this[_0x27d31c(0x265)](_0x27d31c(0x2a2),_0x586976);}),this[_0x38510d(0x234)](this[_0x38510d(0x23a)],_0x38510d(0x237),this[_0x38510d(0x203)][_0x38510d(0x1b1)](this)),this[_0x38510d(0x234)](this[_0x38510d(0x23a)],_0x38510d(0x28f),(_0x1c28d7,_0x2cfb5a)=>{const _0x5543a5=_0x38510d;this[_0x5543a5(0x265)](_0x5543a5(0x2a3),_0x2cfb5a);}),this[_0x38510d(0x234)](this[_0x38510d(0x23a)],_0x38510d(0x280),()=>{const _0x17f5b4=_0x38510d;this[_0x17f5b4(0x235)]=!0x1;});const _0x179b8b=this[_0x38510d(0x290)][_0x38510d(0x1a5)](_0x243e23);this[_0x38510d(0x26b)]=!0x0;const _0xd05871=await this[_0x38510d(0x23a)][_0x38510d(0x1b4)](_0x18b240,this[_0x38510d(0x213)](_0x243e23),_0x179b8b);if(this[_0x38510d(0x216)]=_0xd05871[_0x38510d(0x216)],_0x41d3f6){if(!_0xd05871[_0x38510d(0x259)])return void this[_0x38510d(0x27b)]();this[_0x38510d(0x26b)]=!0x1,this[_0x38510d(0x215)](),this[_0x38510d(0x2a0)][_0x38510d(0x210)](),this[_0x38510d(0x27f)]=_0xd05871[_0x38510d(0x1c5)],this[_0x38510d(0x2a0)][_0x38510d(0x1be)]=this[_0x38510d(0x27f)],await this[_0x38510d(0x258)](_0x243e23,_0xd05871,_0x38510d(0x220));}else await this[_0x38510d(0x255)](_0xd05871,_0x243e23);this[_0x38510d(0x1e9)](),this[_0x38510d(0x235)]=!0x0;}[_0x5444fb(0x1e9)](){const _0x510950=_0x5444fb,_0x58bab6=this[_0x510950(0x1d7)][_0x510950(0x21f)][_0x510950(0x23b)](_0x848296),_0xc7df71=this[_0x510950(0x1d7)][_0x510950(0x21f)][_0x510950(0x23b)](_0x2e192c),_0x161a7d=_0x58bab6[_0x510950(0x209)][_0x510950(0x23b)](this[_0x510950(0x1d9)]);_0x161a7d&&_0x161a7d[_0x510950(0x25a)]>0x1?_0xc7df71[_0x510950(0x206)]():this[_0x510950(0x234)](_0x58bab6,_0x510950(0x1c1)+this[_0x510950(0x1d9)],()=>{const _0x10895f=_0x510950;0x2===_0x58bab6[_0x10895f(0x209)][_0x10895f(0x23b)](this[_0x10895f(0x1d9)])[_0x10895f(0x25a)]&&_0xc7df71[_0x10895f(0x206)]();});}async[_0x5444fb(0x203)](_0x31bce9,_0x213c5d,_0x17ddda,_0x17d536){const _0x60cc8=_0x5444fb;if(!this[_0x60cc8(0x26b)]&&this[_0x60cc8(0x276)][_0x60cc8(0x1be)]==_0x213c5d){const _0x30ed75=this[_0x60cc8(0x1ff)](_0x17ddda,_0x17d536);await this[_0x60cc8(0x1a9)](_0x30ed75),this[_0x60cc8(0x1d0)](_0x30ed75,_0x213c5d,_0x17ddda[_0x60cc8(0x1e7)])||this[_0x60cc8(0x265)](_0x60cc8(0x201));}}async[_0x5444fb(0x2a7)](){const _0x3227e9=_0x5444fb;this[_0x3227e9(0x25f)]();const {locale:_0x5a6f16}=this[_0x3227e9(0x1d7)];let _0x45b465;try{_0x45b465=await this[_0x3227e9(0x23a)][_0x3227e9(0x277)]();}catch{const _0x4d2540=_0x8b9d80(_0x5a6f16,_0x3227e9(0x1ac));return void this[_0x3227e9(0x27b)](_0x4d2540);}const _0xb2181=_0x45b465[_0x3227e9(0x1ad)]||_0x45b465[_0x3227e9(0x288)];if(this[_0x3227e9(0x1f4)]!==_0xb2181[_0x3227e9(0x1e7)]){const _0x1fab70=_0x8b9d80(_0x5a6f16,_0x3227e9(0x1ee));return void this[_0x3227e9(0x27b)](_0x1fab70);}await this[_0x3227e9(0x292)](this[_0x3227e9(0x1d7)][_0x3227e9(0x1ca)][_0x3227e9(0x1fc)][_0x3227e9(0x21a)][_0x3227e9(0x244)](),!0x0);}[_0x5444fb(0x25f)](){const _0x33e8e5=_0x5444fb;this[_0x33e8e5(0x23a)][_0x33e8e5(0x1ab)](),this[_0x33e8e5(0x264)]=[],clearTimeout(this[_0x33e8e5(0x298)]),this[_0x33e8e5(0x226)](this[_0x33e8e5(0x23a)]);}[_0x5444fb(0x1f8)](_0x4c41c1){const _0x575dc9=_0x5444fb,_0x1e1a9c=this[_0x575dc9(0x1d7)][_0x575dc9(0x21f)][_0x575dc9(0x23b)](_0x848296);this[_0x575dc9(0x234)](_0x1e1a9c,_0x575dc9(0x1c1)+this[_0x575dc9(0x1d9)],(_0xac27a6,{session:_0x35c362})=>{const _0x575a58=_0x575dc9;if(_0x35c362['id']===_0x1e1a9c[_0x575a58(0x286)]){_0xac27a6[_0x575a58(0x1f7)]();const _0x830f8a=this[_0x575a58(0x1d7)][_0x575a58(0x21f)][_0x575a58(0x283)](_0x575a58(0x227))&&this[_0x575a58(0x1d7)][_0x575a58(0x21f)][_0x575a58(0x23b)](_0x575a58(0x227));let _0x385499=_0x35c362[_0x575a58(0x27d)];_0x830f8a&&_0x830f8a[_0x575a58(0x205)]&&(_0x385499=_0x385499[_0x575a58(0x2a6)](_0x529711=>_0x575a58(0x22c)!==_0x529711)),this[_0x575a58(0x1d7)][_0x575a58(0x21f)][_0x575a58(0x23b)](_0x575a58(0x24a))[_0x575a58(0x2a8)](_0x385499,this[_0x575a58(0x1d9)]);}}),_0x1e1a9c[_0x575dc9(0x27c)](this[_0x575dc9(0x1d9)],_0x4c41c1);}[_0x5444fb(0x1fd)](){const _0x1d7c7d=_0x5444fb,_0x55c425=this[_0x1d7c7d(0x1d7)][_0x1d7c7d(0x20a)][_0x1d7c7d(0x208)];this[_0x1d7c7d(0x1d7)][_0x1d7c7d(0x20a)][_0x1d7c7d(0x208)]=(..._0x382dc8)=>{const _0x3ea996=_0x1d7c7d;if(!_0x382dc8[_0x382dc8[_0x3ea996(0x25a)]-0x1][_0x3ea996(0x239)])throw new _0x3016e8(_0x3ea996(0x1c2),this);_0x55c425[_0x3ea996(0x29d)](this[_0x3ea996(0x1d7)][_0x3ea996(0x20a)],_0x382dc8);};}[_0x5444fb(0x1b9)](){const _0x257488=_0x5444fb;this[_0x257488(0x1d7)][_0x257488(0x20a)]['on'](_0x257488(0x1cd),(_0x41e944,[_0x4d9981])=>{const _0x33bb65=_0x257488;if(this[_0x33bb65(0x276)][_0x33bb65(0x1be)])throw new _0x3016e8(_0x33bb65(0x218),this);_0x41e944[_0x33bb65(0x262)](),this[_0x33bb65(0x219)]();const _0x477526=this[_0x33bb65(0x1d7)][_0x33bb65(0x284)][_0x33bb65(0x23b)](_0x33bb65(0x278)),_0x640a1d=this[_0x33bb65(0x250)](_0x4d9981,_0x477526);0x0==_0x640a1d[_0x33bb65(0x25a)]&&_0x640a1d[_0x33bb65(0x26e)](new _0x2b42e6(0x0)),_0x41e944[_0x33bb65(0x22b)]=this[_0x33bb65(0x292)](_0x640a1d)[_0x33bb65(0x21e)](()=>{const _0x57c551=_0x33bb65;this[_0x57c551(0x1d7)][_0x57c551(0x21f)][_0x57c551(0x23b)](_0x1cd1e8)[_0x57c551(0x270)](this),this[_0x57c551(0x1d7)][_0x57c551(0x20a)][_0x57c551(0x1b6)](_0x57c551(0x1df));})[_0x33bb65(0x1db)](_0x5c881b=>this[_0x33bb65(0x265)](_0x33bb65(0x297),_0x5c881b))[_0x33bb65(0x1e0)](()=>this[_0x33bb65(0x215)]());},{'priority':_0x257488(0x1bc)}),this[_0x257488(0x1d7)]['on'](_0x257488(0x1ed),async(_0x49b0c5,[_0x493f29,_0x5f10c2])=>{const _0x17bdb1=_0x257488;_0x49b0c5[_0x17bdb1(0x262)]();const _0x3f8bf0=this[_0x17bdb1(0x1d7)][_0x17bdb1(0x1ca)][_0x17bdb1(0x1fc)][_0x17bdb1(0x228)](_0x493f29);if(!this[_0x17bdb1(0x1bd)][_0x17bdb1(0x283)](_0x493f29)){const _0x29b982=_0x5f10c2&&_0x5f10c2[_0x17bdb1(0x20a)]?_0x5f10c2[_0x17bdb1(0x20a)]:'',_0x2852c0=_0x5f10c2&&_0x5f10c2[_0x17bdb1(0x20f)]?_0x5f10c2[_0x17bdb1(0x20f)]:{};await this[_0x17bdb1(0x24c)](_0x493f29,_0x29b982,_0x2852c0);}this[_0x17bdb1(0x1d7)][_0x17bdb1(0x1ca)][_0x17bdb1(0x1b0)]({'isUndoable':!0x1},()=>{const _0x2b26f2=_0x17bdb1;_0x3f8bf0[_0x2b26f2(0x241)]=!0x0,this[_0x2b26f2(0x1d7)][_0x2b26f2(0x1ca)][_0x2b26f2(0x1fc)][_0x2b26f2(0x291)][_0x2b26f2(0x1ea)](_0x3f8bf0);});},{'priority':_0x257488(0x1bc)});}async[_0x5444fb(0x1a9)](_0x5739fc){const _0x23d4d0=_0x5444fb,_0x2152d9=this[_0x23d4d0(0x1d7)][_0x23d4d0(0x21f)][_0x23d4d0(0x23b)](_0x192994),{connection:_0x58a4ea}=this[_0x23d4d0(0x1d7)][_0x23d4d0(0x21f)][_0x23d4d0(0x23b)](_0x1cd1e8),_0x32c92b=new Set();for(const _0x5dc5cc of _0x5739fc){const _0x265746=_0x5dc5cc[_0x23d4d0(0x22f)];_0x265746&&!_0x2152d9[_0x23d4d0(0x1b2)](_0x265746)&&_0x32c92b[_0x23d4d0(0x233)](_0x265746);}if(0x0===_0x32c92b[_0x23d4d0(0x28a)])return;const _0x4c4ed3=await _0x5ae85d[_0x23d4d0(0x1b5)](_0x58a4ea,Array[_0x23d4d0(0x1a7)](_0x32c92b));for(const _0x2f66e6 of _0x4c4ed3)_0x2152d9[_0x23d4d0(0x1b2)](_0x2f66e6['id'])||_0x2152d9[_0x23d4d0(0x27a)](_0x2f66e6);}[_0x5444fb(0x250)](_0x455dcf,_0x5d0b1b={}){const _0x578f0e=_0x5444fb,_0x49e265=this[_0x578f0e(0x1d7)][_0x578f0e(0x1ca)],_0x32be4f=[];let _0x4bf77d=0x0;const _0x284369=_0x578f0e(0x281)==typeof _0x455dcf?{'main':_0x455dcf}:_0x455dcf;for(const _0x16135f of Object[_0x578f0e(0x1e6)](_0x284369)){if(!this[_0x578f0e(0x276)][_0x578f0e(0x1c9)][_0x578f0e(0x283)](_0x16135f))throw new _0x3016e8(_0x578f0e(0x1e8),this);const _0x3cc216=this[_0x578f0e(0x1d7)][_0x578f0e(0x20a)][_0x578f0e(0x24f)](_0x284369[_0x16135f]),_0x364346=this[_0x578f0e(0x276)][_0x578f0e(0x228)](_0x16135f),_0x1ecff=new _0xbe05f4(_0x49e265[_0x578f0e(0x299)](_0x364346,0x0),_0x3cc216,_0x4bf77d++);_0x32be4f[_0x578f0e(0x26e)](_0x1ecff);for(const [_0x208809,_0x3a018e]of _0x3cc216[_0x578f0e(0x279)]){const _0x7408b9=_0x49e265[_0x578f0e(0x1e3)](_0x49e265[_0x578f0e(0x20d)](_0x364346,_0x3a018e[_0x578f0e(0x1e1)][_0x578f0e(0x212)][_0x578f0e(0x282)]()),_0x49e265[_0x578f0e(0x20d)](_0x364346,_0x3a018e[_0x578f0e(0x243)][_0x578f0e(0x212)][_0x578f0e(0x282)]())),_0x169ec3=new _0x419e90(_0x208809,null,_0x7408b9,_0x49e265[_0x578f0e(0x279)],!0x0,_0x4bf77d++);_0x32be4f[_0x578f0e(0x26e)](_0x169ec3);}}if(_0x5d0b1b)for(const [_0x713659,_0x4b05b1]of Object[_0x578f0e(0x200)](_0x5d0b1b)){const _0xd5bc09=_0x49e265[_0x578f0e(0x1fc)][_0x578f0e(0x228)](_0x713659);if(!_0xd5bc09)throw new _0x3016e8(_0x578f0e(0x256),null);for(const [_0x38f67d,_0x53ffb8]of Object[_0x578f0e(0x200)](_0x4b05b1))if(null!==_0x53ffb8){const _0x52e779=new _0xe0402b(_0xd5bc09,_0x38f67d,null,_0x53ffb8,_0x4bf77d++);_0x32be4f[_0x578f0e(0x26e)](_0x52e779);}}return _0x32be4f;}async[_0x5444fb(0x24c)](_0x2cfb3b,_0x3ad023,_0x624383){const _0x4c1cb7=_0x5444fb;this[_0x4c1cb7(0x250)]({[_0x2cfb3b]:_0x3ad023},{[_0x2cfb3b]:_0x624383})[_0x4c1cb7(0x289)]((_0xc33b1f,_0xdc0ee2)=>{const _0x347b7=_0x4c1cb7;_0xc33b1f[_0x347b7(0x1d2)]=this[_0x347b7(0x276)][_0x347b7(0x1be)]+_0xdc0ee2,_0xc33b1f[_0x347b7(0x231)]=!0x0,this[_0x347b7(0x1e5)](_0xc33b1f);}),this[_0x4c1cb7(0x1d4)](),await this[_0x4c1cb7(0x285)]();}async[_0x5444fb(0x255)](_0x1f3212,_0x39bb51){const _0x2d0931=_0x5444fb;let _0x1f1a46;this[_0x2d0931(0x27f)]=_0x1f3212[_0x2d0931(0x1c5)];const _0x3cc0eb=_0x1f3212[_0x2d0931(0x259)]&&!_0x1f3212[_0x2d0931(0x1c3)],_0x3c2b10=_0x3cc0eb?0x0:_0x1f3212[_0x2d0931(0x20a)][_0x2d0931(0x1d2)];if(_0x39bb51[_0x2d0931(0x289)](_0x576027=>{const _0x580da2=_0x2d0931;_0x576027[_0x580da2(0x231)]=!0x0,_0x576027[_0x580da2(0x21b)]=_0x1f3212[_0x580da2(0x261)],_0x576027[_0x580da2(0x22f)]=null;}),_0x3cc0eb)_0x1f1a46=_0x39bb51,this[_0x2d0931(0x1d1)](_0x1f1a46,_0x3cc0eb);else{if(_0x1f3212[_0x2d0931(0x1c3)]){const _0x161c55=this[_0x2d0931(0x250)](_0x1f3212[_0x2d0931(0x1c3)]);this[_0x2d0931(0x276)][_0x2d0931(0x21a)][_0x2d0931(0x1be)]=-_0x161c55[_0x2d0931(0x25a)],_0x161c55[_0x2d0931(0x289)](_0x1c9a6c=>{const _0x4e9040=_0x2d0931;_0x1c9a6c[_0x4e9040(0x1d2)]-=_0x161c55[_0x4e9040(0x25a)],_0x1c9a6c[_0x4e9040(0x21b)]=_0x1f3212[_0x4e9040(0x261)],_0x1c9a6c[_0x4e9040(0x231)]=!0x0,_0x1c9a6c[_0x4e9040(0x22f)]=null;}),this[_0x2d0931(0x1d1)](_0x161c55,!0x0),this[_0x2d0931(0x2a0)][_0x2d0931(0x1be)]=-_0x161c55[_0x2d0931(0x25a)]+this[_0x2d0931(0x27f)],this[_0x2d0931(0x2a9)](_0x161c55);}this[_0x2d0931(0x276)][_0x2d0931(0x21a)][_0x2d0931(0x1be)]=_0x3c2b10,_0x1f1a46=this[_0x2d0931(0x1ff)](_0x1f3212[_0x2d0931(0x20a)],_0x1f3212[_0x2d0931(0x24b)]),await this[_0x2d0931(0x1a9)](_0x1f1a46),this[_0x2d0931(0x1d1)](_0x1f1a46,_0x3cc0eb);}_0x1f3212[_0x2d0931(0x1e7)]&&(this[_0x2d0931(0x290)][_0x2d0931(0x23e)](_0x1f1a46,_0x1f3212[_0x2d0931(0x1e7)]),this[_0x2d0931(0x1f4)]=_0x1f3212[_0x2d0931(0x1e7)]),this[_0x2d0931(0x2a0)][_0x2d0931(0x1be)]=_0x3c2b10+this[_0x2d0931(0x27f)],this[_0x2d0931(0x2a9)](_0x1f1a46),_0x39bb51[_0x2d0931(0x2a6)](_0x1fa2c9=>{const _0xa3aff3=_0x2d0931,_0x53e4a0=this[_0xa3aff3(0x25c)](_0x1fa2c9);return _0x53e4a0&&!this[_0xa3aff3(0x1bd)][_0xa3aff3(0x283)](_0x53e4a0);})[_0x2d0931(0x289)]((_0x2881b1,_0x36c8ef)=>{const _0x2ca675=_0x2d0931;_0x2881b1[_0x2ca675(0x1d2)]=this[_0x2ca675(0x276)][_0x2ca675(0x1be)]+_0x36c8ef,this[_0x2ca675(0x1e5)](_0x2881b1);}),this[_0x2d0931(0x1a6)]()?(this[_0x2d0931(0x249)]=0x0,this[_0x2d0931(0x1d4)](!0x0),await this[_0x2d0931(0x285)]()):(this[_0x2d0931(0x26b)]=!0x1,this[_0x2d0931(0x215)]());}[_0x5444fb(0x265)](_0x1c9910,_0x3f761a){const _0x42e487=_0x5444fb,_0x3fdaf9=_0x3f761a&&_0x3f761a[_0x42e487(0x246)];if(_0x3fdaf9&&_0x3fdaf9[_0x42e487(0x1cb)](_0x42e487(0x238)))throw _0x3f761a;const _0x17acbe=this[_0x42e487(0x1d7)][_0x42e487(0x21f)][_0x42e487(0x23b)](_0x1cd1e8);throw this[_0x42e487(0x26b)]=!0x0,_0x17acbe[_0x42e487(0x1ab)](),this[_0x42e487(0x1d7)][_0x42e487(0x224)](_0x42e487(0x28d)),new _0x3016e8(_0x1c9910,this[_0x42e487(0x1d7)],_0x3fdaf9?{'originalError':_0x3fdaf9}:void 0x0);}[_0x5444fb(0x1e5)](_0x42495e){const _0x34ab47=_0x5444fb;this[_0x34ab47(0x1fa)][_0x34ab47(0x283)](_0x42495e)||(this[_0x34ab47(0x1fa)][_0x34ab47(0x233)](_0x42495e),this[_0x34ab47(0x264)][_0x34ab47(0x26e)](_0x42495e),this[_0x34ab47(0x2a4)]||_0x34ab47(0x251)==_0x42495e[_0x34ab47(0x1d3)]&&!_0x42495e[_0x34ab47(0x23c)]||this[_0x34ab47(0x219)]());}[_0x5444fb(0x1d4)](_0x13a02e=!0x1){const _0x40aff6=_0x5444fb;!_0x13a02e&&this[_0x40aff6(0x26b)]||(this[_0x40aff6(0x26b)]=!0x0,clearTimeout(this[_0x40aff6(0x298)]),this[_0x40aff6(0x298)]=setTimeout(()=>{const _0x3ddaf3=_0x40aff6;this[_0x3ddaf3(0x1b8)]()[_0x3ddaf3(0x21e)](_0x59d6ef=>{const _0x292176=_0x3ddaf3;_0x59d6ef&&(this[_0x292176(0x215)](),this[_0x292176(0x26b)]=!0x1);})[_0x3ddaf3(0x1db)](_0x157757=>{const _0x3c4309=_0x3ddaf3;this[_0x3c4309(0x215)](),this[_0x3c4309(0x26b)]=!0x1,function(_0x3a1ff6){const _0x53f443=_0x3c4309;return _0x3a1ff6[_0x53f443(0x246)][_0x53f443(0x1cb)](_0x53f443(0x1aa))||_0x3a1ff6[_0x53f443(0x246)][_0x53f443(0x1cb)](_0x53f443(0x1c8))||_0x3a1ff6[_0x53f443(0x246)][_0x53f443(0x1cb)](_0x53f443(0x254));}(_0x157757)||this[_0x3c4309(0x265)](_0x157757[_0x3c4309(0x246)],_0x157757);});},this[_0x40aff6(0x249)]));}[_0x5444fb(0x285)](){return new Promise(_0x4f72d6=>{const _0x2d464d=_0x4c69;this['on'](_0x2d464d(0x1dc),()=>{_0x4f72d6();});});}async[_0x5444fb(0x1b8)](){const _0x206528=_0x5444fb,_0x1b9cde=this[_0x206528(0x1d7)][_0x206528(0x21f)][_0x206528(0x23b)](_0x2e192c);if(this[_0x206528(0x29f)]()&&(_0x1b9cde[_0x206528(0x206)](),this[_0x206528(0x229)]=!0x1),!this[_0x206528(0x1a6)]())return!0x0;const _0x56c1e8=[...this[_0x206528(0x264)]];for(const _0x39b40e of _0x56c1e8)_0x39b40e[_0x206528(0x253)]=this[_0x206528(0x276)][_0x206528(0x21a)][_0x206528(0x25b)](_0x39b40e);const _0x4cfb4e=this[_0x206528(0x290)][_0x206528(0x1a5)](_0x56c1e8),_0x26cb44=j++,_0x515c02=this[_0x206528(0x213)](_0x56c1e8),_0x4f179d=await this[_0x206528(0x23a)][_0x206528(0x22d)](_0x515c02,_0x515c02[_0x206528(0x1d2)],_0x4cfb4e);try{return await this[_0x206528(0x258)](_0x56c1e8,_0x4f179d,_0x26cb44);}catch(_0x251449){return this[_0x206528(0x265)](_0x206528(0x260),_0x251449);}}async[_0x5444fb(0x258)](_0x3cc5e4,_0x28b3ac,_0x2b1b93){const _0x3fde9d=_0x5444fb;if(_0x3fde9d(0x28f)in _0x28b3ac)throw _0x28b3ac[_0x3fde9d(0x28f)];let _0x515f16=!0x1;if(_0x28b3ac[_0x3fde9d(0x259)]){_0x28b3ac[_0x3fde9d(0x1e7)]&&(this[_0x3fde9d(0x1f4)]=_0x28b3ac[_0x3fde9d(0x1e7)]),this[_0x3fde9d(0x264)]=this[_0x3fde9d(0x264)][_0x3fde9d(0x2a6)](_0x1e38ad=>!_0x3cc5e4[_0x3fde9d(0x23f)](_0x1e38ad));for(const _0x46c9cf of _0x3cc5e4)_0x46c9cf[_0x3fde9d(0x21b)]=_0x3fde9d(0x21c)in _0x28b3ac&&_0x28b3ac[_0x3fde9d(0x21c)]||void 0x0;D(_0x3cc5e4,_0x28b3ac[_0x3fde9d(0x1be)]-_0x3cc5e4[_0x3fde9d(0x25a)]),this[_0x3fde9d(0x2a9)](_0x3cc5e4);const _0x255bbf=_0x3cc5e4[_0x3fde9d(0x2a6)](_0x398fb3=>{const _0x193163=_0x3fde9d;if(!_0x398fb3[_0x193163(0x231)])return!0x1;const _0x5d7019=this[_0x193163(0x25c)](_0x398fb3);return _0x5d7019&&!this[_0x193163(0x1bd)][_0x193163(0x283)](_0x5d7019);});D(_0x255bbf,this[_0x3fde9d(0x276)][_0x3fde9d(0x1be)]),this[_0x3fde9d(0x1d1)](_0x255bbf),_0x515f16=!0x0,this[_0x3fde9d(0x249)]=this[_0x3fde9d(0x248)];}else{const _0x439063=this[_0x3fde9d(0x1ff)](_0x28b3ac[_0x3fde9d(0x20a)],_0x28b3ac[_0x3fde9d(0x24b)])[_0x3fde9d(0x2a6)](_0x93648e=>_0x93648e[_0x3fde9d(0x1d2)]>=this[_0x3fde9d(0x1ef)]);_0x439063[_0x3fde9d(0x289)](_0x44a3ee=>this[_0x3fde9d(0x28c)](_0x44a3ee)),this[_0x3fde9d(0x264)]=this[_0x3fde9d(0x264)][_0x3fde9d(0x2a6)](_0x15d907=>!_0x15d907[_0x3fde9d(0x231)]||!this[_0x3fde9d(0x1bd)][_0x3fde9d(0x283)](this[_0x3fde9d(0x25c)](_0x15d907))),this[_0x3fde9d(0x264)][_0x3fde9d(0x25a)]&&D(this[_0x3fde9d(0x264)],this[_0x3fde9d(0x264)][0x0][_0x3fde9d(0x1d2)]),await this[_0x3fde9d(0x1a9)](_0x439063),_0x515f16=this[_0x3fde9d(0x1d0)](_0x439063,_0x28b3ac[_0x3fde9d(0x1be)],_0x28b3ac[_0x3fde9d(0x1e7)]),this[_0x3fde9d(0x249)]=Math[_0x3fde9d(0x1eb)](this[_0x3fde9d(0x249)]/0x2);}return _0x515f16?!this[_0x3fde9d(0x1a6)]()||(this[_0x3fde9d(0x1d4)](!0x0),!0x1):this[_0x3fde9d(0x265)](_0x3fde9d(0x1f0));}[_0x5444fb(0x1d0)](_0x552ae6,_0x40e9a3,_0x369368){const _0x357ef2=_0x5444fb;try{const _0x4d7f7a={'document':this[_0x357ef2(0x276)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1a093e,operationsB:_0x1b0cd4,originalOperations:_0x4279aa}=_0x4d763a(_0x552ae6,this[_0x357ef2(0x264)],_0x4d7f7a);D(_0x1a093e,this[_0x357ef2(0x276)][_0x357ef2(0x1be)]),D(_0x1b0cd4,_0x40e9a3);for(const _0xee74fa of _0x1a093e){const _0x3151c9=_0x4279aa[_0x357ef2(0x23b)](_0xee74fa);_0xee74fa[_0x357ef2(0x22f)]=_0x3151c9?_0x3151c9[_0x357ef2(0x22f)]:null;}_0x369368&&(this[_0x357ef2(0x290)][_0x357ef2(0x23e)](_0x552ae6,_0x369368),this[_0x357ef2(0x1f4)]=_0x369368),this[_0x357ef2(0x264)]=[..._0x1b0cd4],this[_0x357ef2(0x1d1)](_0x1a093e),this[_0x357ef2(0x2a9)](_0x552ae6);}catch(_0x11808b){return console[_0x357ef2(0x28f)](_0x11808b),!0x1;}return!0x0;}[_0x5444fb(0x1d1)](_0xc043f5,_0x2ae9da=!0x1){const _0x296ac3=_0x5444fb;this[_0x296ac3(0x1d7)][_0x296ac3(0x1ca)][_0x296ac3(0x1b0)]({'isUndoable':!0x1,'isLocal':!0x1},_0x850d9e=>{const _0x24d4b2=_0x296ac3;for(const _0x33a5cb of _0xc043f5)this[_0x24d4b2(0x1fa)][_0x24d4b2(0x233)](_0x33a5cb),this[_0x24d4b2(0x28c)](_0x33a5cb),_0x850d9e[_0x24d4b2(0x27e)][_0x24d4b2(0x236)](_0x33a5cb),this[_0x24d4b2(0x1d7)][_0x24d4b2(0x1ca)][_0x24d4b2(0x1ae)](_0x33a5cb);});}[_0x5444fb(0x28c)](_0x47f40c){const _0x9b89b3=_0x5444fb,_0x1511c4=this[_0x9b89b3(0x25c)](_0x47f40c);_0x1511c4&&this[_0x9b89b3(0x1bd)][_0x9b89b3(0x233)](_0x1511c4);}[_0x5444fb(0x25c)](_0x2cd636){const _0x5d6761=_0x5444fb;let _0x1e3a26,_0x4ed00d;switch(_0x2cd636[_0x5d6761(0x1d3)]){case _0x5d6761(0x22e):_0x1e3a26=_0x2cd636[_0x5d6761(0x1f2)][_0x5d6761(0x263)];break;case _0x5d6761(0x251):if(_0x4ed00d=_0x2cd636[_0x5d6761(0x287)],!_0x4ed00d)return null;_0x1e3a26=_0x4ed00d[_0x5d6761(0x263)];break;case _0x5d6761(0x1c7):_0x1e3a26=_0x2cd636[_0x5d6761(0x263)];break;case _0x5d6761(0x1b3):_0x1e3a26=_0x2cd636[_0x5d6761(0x266)];break;case _0x5d6761(0x1f6):_0x1e3a26=_0x2cd636[_0x5d6761(0x20b)][_0x5d6761(0x263)];break;default:return null;}return _0x1e3a26[_0x5d6761(0x268)];}[_0x5444fb(0x2a9)](_0x2d5989){const _0x284883=_0x5444fb;_0x2d5989[_0x284883(0x289)](_0x496da3=>{const _0xd57f6f=_0x284883,_0x5e32ae=_0x496da3[_0xd57f6f(0x20e)]();_0x5e32ae[_0xd57f6f(0x22f)]=_0x496da3[_0xd57f6f(0x22f)],_0x5e32ae[_0xd57f6f(0x231)]=!!_0x496da3[_0xd57f6f(0x231)],_0x5e32ae[_0xd57f6f(0x21b)]=_0x496da3[_0xd57f6f(0x21b)],_0x5e32ae[_0xd57f6f(0x1d2)]+=this[_0xd57f6f(0x27f)],_0x496da3[_0xd57f6f(0x240)]&&this[_0xd57f6f(0x232)][_0xd57f6f(0x233)](_0x5e32ae),this[_0xd57f6f(0x2a0)][_0xd57f6f(0x236)](_0x5e32ae);});}[_0x5444fb(0x27b)](_0x4259b2){const _0x4e46fc=_0x5444fb,_0x232358=this[_0x4e46fc(0x1d7)][_0x4e46fc(0x21f)][_0x4e46fc(0x23b)](_0x4e46fc(0x28b)),_0x3e7722=this[_0x4e46fc(0x1d7)][_0x4e46fc(0x295)];_0x4259b2||(_0x4259b2=_0x8b9d80(_0x3e7722,_0x4e46fc(0x29c))),_0x232358[_0x4e46fc(0x267)](_0x4259b2,{'title':_0x8b9d80(_0x3e7722,_0x4e46fc(0x26f)),'namespace':_0x4e46fc(0x1e2)}),this[_0x4e46fc(0x23d)]=!0x0,clearTimeout(this[_0x4e46fc(0x298)]),this[_0x4e46fc(0x264)]=[],this[_0x4e46fc(0x1d7)][_0x4e46fc(0x21f)][_0x4e46fc(0x23b)](_0x1cd1e8)[_0x4e46fc(0x1ab)]();}[_0x5444fb(0x219)](){const _0x585c28=_0x5444fb;this[_0x585c28(0x2a4)]||(this[_0x585c28(0x2a4)]=this[_0x585c28(0x1d7)][_0x585c28(0x21f)][_0x585c28(0x23b)](_0x552269)[_0x585c28(0x233)](_0x8b9d80(this[_0x585c28(0x1d7)][_0x585c28(0x295)],_0x585c28(0x1fb))));}[_0x5444fb(0x215)](){const _0x3d91ce=_0x5444fb;this[_0x3d91ce(0x2a4)]&&(this[_0x3d91ce(0x1d7)][_0x3d91ce(0x21f)][_0x3d91ce(0x23b)](_0x552269)[_0x3d91ce(0x1ec)](this[_0x3d91ce(0x2a4)]),this[_0x3d91ce(0x2a4)]=null);}[_0x5444fb(0x213)](_0x5a5bf0){const _0x1768a5=_0x5444fb,_0x32fc2a=_0x5a5bf0[_0x1768a5(0x221)](_0x2074dc=>_0x2074dc[_0x1768a5(0x1c4)]());return this[_0x1768a5(0x1bf)][_0x1768a5(0x29a)](_0x32fc2a);}[_0x5444fb(0x1ff)](_0xbe519a,_0x305cbb){const _0x39fbc8=_0x5444fb;return this[_0x39fbc8(0x1bf)][_0x39fbc8(0x217)](_0xbe519a)[_0x39fbc8(0x221)]((_0x3d3d86,_0x4de685)=>{const _0x26f1b8=_0x39fbc8,_0x106638=_0x26f1b8(0x1cd)==_0x305cbb[_0x4de685][_0x26f1b8(0x1d3)];if(_0x26f1b8(0x273)==_0x3d3d86[_0x26f1b8(0x214)]){const _0x2e7a5a=_0x3d3d86[_0x26f1b8(0x1f2)][_0x26f1b8(0x263)];!this[_0x26f1b8(0x276)][_0x26f1b8(0x228)](_0x2e7a5a)&&(this[_0x26f1b8(0x276)][_0x26f1b8(0x1ce)](_0x26f1b8(0x1f3),_0x2e7a5a)[_0x26f1b8(0x204)]=!0x1);}const _0x41a1a0=_0x473462[_0x26f1b8(0x28e)](_0x3d3d86,this[_0x26f1b8(0x276)]);return _0x41a1a0[_0x26f1b8(0x253)]=_0x3d3d86[_0x26f1b8(0x253)],_0x41a1a0[_0x26f1b8(0x231)]=_0x106638,_0x41a1a0[_0x26f1b8(0x22f)]=_0x106638?null:_0x305cbb[_0x4de685][_0x26f1b8(0x272)],_0x41a1a0[_0x26f1b8(0x240)]=_0x26f1b8(0x1d8)===_0x305cbb[_0x4de685][_0x26f1b8(0x1d3)],_0x41a1a0[_0x26f1b8(0x21b)]=_0x305cbb[_0x4de685][_0x26f1b8(0x21b)],_0x41a1a0;});}[_0x5444fb(0x271)](){const _0x80f036=_0x5444fb;this[_0x80f036(0x229)]=!0x0,this[_0x80f036(0x29f)]()?this[_0x80f036(0x1d4)]():this[_0x80f036(0x229)]=!0x1;}[_0x5444fb(0x29f)](){const _0x50ed10=_0x5444fb,_0x4115e4=this[_0x50ed10(0x1d7)][_0x50ed10(0x21f)][_0x50ed10(0x23b)](_0x848296)[_0x50ed10(0x209)][_0x50ed10(0x23b)](this[_0x50ed10(0x1d9)]);return!this[_0x50ed10(0x1d7)][_0x50ed10(0x29e)]&&!!_0x4115e4&&_0x4115e4[_0x50ed10(0x25a)]>0x1&&this[_0x50ed10(0x229)];}[_0x5444fb(0x1a6)](){const _0x4dede0=_0x5444fb;return this[_0x4dede0(0x264)][_0x4dede0(0x25a)]>0x0||this[_0x4dede0(0x29f)]();}}class ReconnectionError extends Error{}function D(_0x3bf183,_0x4da6c9){const _0x44d4bc=_0x5444fb;for(const _0x1682bc of _0x3bf183)_0x1682bc[_0x44d4bc(0x1d2)]=_0x4da6c9++;}class OperationIdentifier{[_0x5444fb(0x1e4)];[_0x5444fb(0x207)];constructor(_0x8a8da0){const _0x4d9c81=_0x5444fb;this[_0x4d9c81(0x1e4)]=_0x8a8da0,this[_0x4d9c81(0x207)]=new WeakMap();}[_0x5444fb(0x1a5)](_0xd3a288){const _0x41239e=_0x5444fb;let _0x11783d=_0xd3a288[_0x41239e(0x25a)];for(;_0x11783d--;){const _0x1abe32=_0xd3a288[_0x11783d];if(!this[_0x41239e(0x1e4)][_0x41239e(0x283)](_0x1abe32)){if(!this[_0x41239e(0x207)][_0x41239e(0x283)](_0x1abe32)){const _0x422b8e=_0x528595()[_0x41239e(0x282)](0x1,0x12);this[_0x41239e(0x207)][_0x41239e(0x208)](_0x1abe32,_0x422b8e);}return this[_0x41239e(0x207)][_0x41239e(0x23b)](_0x1abe32);}}}[_0x5444fb(0x23e)](_0x5b1b75,_0x3b6db5){const _0x3e91d4=_0x5444fb;if(!_0x3b6db5)return;let _0x3953df=_0x5b1b75[_0x3e91d4(0x25a)];for(;_0x3953df--;){const _0x4f173c=_0x5b1b75[_0x3953df];this[_0x3e91d4(0x1e4)][_0x3e91d4(0x283)](_0x4f173c)||this[_0x3e91d4(0x207)][_0x3e91d4(0x208)](_0x4f173c,_0x3b6db5);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14d107=_0x13b3;(function(_0x1ac27b,_0x3b7cbc){const _0x1046b9=_0x13b3,_0x2955fa=_0x1ac27b();while(!![]){try{const _0x3ae93f=parseInt(_0x1046b9(0x160))/0x1*(-parseInt(_0x1046b9(0x162))/0x2)+-parseInt(_0x1046b9(0x14d))/0x3*(-parseInt(_0x1046b9(0x153))/0x4)+parseInt(_0x1046b9(0x16e))/0x5*(-parseInt(_0x1046b9(0x144))/0x6)+parseInt(_0x1046b9(0x146))/0x7*(-parseInt(_0x1046b9(0x16b))/0x8)+parseInt(_0x1046b9(0x175))/0x9*(-parseInt(_0x1046b9(0x165))/0xa)+-parseInt(_0x1046b9(0x13f))/0xb+parseInt(_0x1046b9(0x14e))/0xc*(parseInt(_0x1046b9(0x15f))/0xd);if(_0x3ae93f===_0x3b7cbc)break;else _0x2955fa['push'](_0x2955fa['shift']());}catch(_0x5f1233){_0x2955fa['push'](_0x2955fa['shift']());}}}(_0x57d6,0xb1113));import{ContextPlugin as _0x12bded}from'ckeditor5/src/core.js';import{Collection as _0x11a8f0,CKEditorError as _0x2b31f3}from'ckeditor5/src/utils.js';function _0x13b3(_0x5b83f8,_0x4c4612){const _0x57d674=_0x57d6();return _0x13b3=function(_0x13b321,_0x5b156f){_0x13b321=_0x13b321-0x13c;let _0x410614=_0x57d674[_0x13b321];return _0x410614;},_0x13b3(_0x5b83f8,_0x4c4612);}function _0x57d6(){const _0x8e74c6=['_users','forEach','unregister','7308fBcZxB','connected','allConnectedUsers','set','state','getUserRole','listenTo','plugins','pluginName','add','role','values','2483crRxmO','552rvysrP','_uniqueUsersCount','2854sIjHFx','sessions-register-already-registered','defineMe','519760vePZYd','user','getUserBySessionId','mySessionId','delete','_registeredSessions','2100880ikQAZB','getUserSessions','_handleSessionRemove','5LLOdfp','size','isPremiumPlugin','isMe','_createUser','sessionId','hiddenInPresenceList','189eoRGgA','change:state','sessionAdd:','channelSessions','stopListening','addUser','Sessions','orderNumber','register','fire','sessions-unregister-not-exist','has','12539758Mnztxb','getUser','init','clear','requires','4877178qEeHWa','channelConnectedUsers','7aiHnBT','connection','assign','context','remove','isOfficialPlugin','get','558dcZwWA','281472OUtVYl','_handleSessionAdd'];_0x57d6=function(){return _0x8e74c6;};return _0x57d6();}import{WebSocketGateway as _0x290494}from'./websocketgateway.js';import{Users as _0x2c6e2b}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x12bded{[_0x14d107(0x178)];[_0x14d107(0x145)];[_0x14d107(0x155)];[_0x14d107(0x16a)];[_0x14d107(0x161)];[_0x14d107(0x150)];static get[_0x14d107(0x15b)](){const _0x5598b5=_0x14d107;return _0x5598b5(0x17b);}static get[_0x14d107(0x14b)](){return!0x0;}static get[_0x14d107(0x170)](){return!0x0;}static get[_0x14d107(0x143)](){return[_0x290494,_0x2c6e2b];}constructor(_0x5a0368){const _0x5466d8=_0x14d107;super(_0x5a0368),this[_0x5466d8(0x178)]=new Map(),this[_0x5466d8(0x145)]=new Map(),this[_0x5466d8(0x155)]=new _0x11a8f0(),this[_0x5466d8(0x16a)]=new Map(),this[_0x5466d8(0x161)]=0x0,this[_0x5466d8(0x150)]=this[_0x5466d8(0x149)][_0x5466d8(0x15a)][_0x5466d8(0x14c)](_0x2c6e2b);}[_0x14d107(0x141)](){const _0x128f15=_0x14d107,_0x3a3a04=this[_0x128f15(0x149)][_0x128f15(0x15a)][_0x128f15(0x14c)](_0x290494);this[_0x128f15(0x159)](_0x3a3a04,_0x128f15(0x176),(_0x558ab7,_0x5a6f3c,_0x4aa139)=>{const _0x163f87=_0x128f15;if(_0x163f87(0x154)!==_0x4aa139)this[_0x163f87(0x178)][_0x163f87(0x151)](_0x1baab5=>_0x1baab5[_0x163f87(0x142)]()),this[_0x163f87(0x145)][_0x163f87(0x151)](_0x447998=>_0x447998[_0x163f87(0x142)]()),this[_0x163f87(0x155)][_0x163f87(0x142)]();else{for(const [_0x310ffa,_0xf45019]of this[_0x163f87(0x16a)])for(const _0x4f7e7a of _0xf45019)this[_0x163f87(0x14f)](_0x310ffa,_0x4f7e7a);}}),this[_0x128f15(0x172)](_0x3a3a04[_0x128f15(0x147)]['me'],!0x0);}[_0x14d107(0x17d)](_0x17de6c,_0x705471){const _0x68c04a=_0x14d107;if(this[_0x68c04a(0x16a)][_0x68c04a(0x13e)](_0x17de6c))throw new _0x2b31f3(_0x68c04a(0x163),null,{'channelId':_0x17de6c});this[_0x68c04a(0x16a)][_0x68c04a(0x156)](_0x17de6c,_0x705471),this[_0x68c04a(0x178)][_0x68c04a(0x156)](_0x17de6c,new _0x11a8f0()),this[_0x68c04a(0x145)][_0x68c04a(0x156)](_0x17de6c,new _0x11a8f0()),this[_0x68c04a(0x159)](_0x705471,_0x68c04a(0x15c),(_0x47d3d5,_0x3af2c1)=>this[_0x68c04a(0x14f)](_0x17de6c,_0x3af2c1)),this[_0x68c04a(0x159)](_0x705471,_0x68c04a(0x14a),(_0x5a7a84,_0x452d31)=>this[_0x68c04a(0x16d)](_0x17de6c,_0x452d31));for(const _0x17f131 of _0x705471)this[_0x68c04a(0x14f)](_0x17de6c,_0x17f131);}[_0x14d107(0x152)](_0x2af66a){const _0x45fc3d=_0x14d107;if(!this[_0x45fc3d(0x16a)][_0x45fc3d(0x13e)](_0x2af66a))throw new _0x2b31f3(_0x45fc3d(0x13d),null,{'channelId':_0x2af66a});const _0x518017=this[_0x45fc3d(0x16a)][_0x45fc3d(0x14c)](_0x2af66a);this[_0x45fc3d(0x179)](_0x518017);for(const _0x5a46fb of _0x518017)_0x45fc3d(0x154)===this[_0x45fc3d(0x149)][_0x45fc3d(0x15a)][_0x45fc3d(0x14c)](_0x290494)[_0x45fc3d(0x157)]&&this[_0x45fc3d(0x16d)](_0x2af66a,_0x5a46fb);this[_0x45fc3d(0x16a)][_0x45fc3d(0x169)](_0x2af66a),this[_0x45fc3d(0x178)][_0x45fc3d(0x169)](_0x2af66a),this[_0x45fc3d(0x145)][_0x45fc3d(0x169)](_0x2af66a);}get[_0x14d107(0x168)](){const _0x1c8518=_0x14d107;return this[_0x1c8518(0x149)][_0x1c8518(0x15a)][_0x1c8518(0x14c)](_0x290494)[_0x1c8518(0x147)][_0x1c8518(0x173)];}[_0x14d107(0x167)](_0x2aeab3){const _0x19f733=_0x14d107;for(const _0x230a08 of this[_0x19f733(0x178)][_0x19f733(0x15e)]())for(const _0x5b605 of _0x230a08)if(_0x5b605['id']===_0x2aeab3)return _0x5b605[_0x19f733(0x166)];}[_0x14d107(0x16c)](_0x514de5,_0x3cdd24){const _0x4d0f78=_0x14d107,_0x413c9e=_0x3cdd24?[this[_0x4d0f78(0x178)][_0x4d0f78(0x14c)](_0x3cdd24)]:this[_0x4d0f78(0x178)][_0x4d0f78(0x15e)](),_0x1d0901=new Set();for(const _0x5f58a9 of _0x413c9e)for(const _0x54b442 of _0x5f58a9)_0x54b442[_0x4d0f78(0x166)]['id']===_0x514de5['id']&&_0x1d0901[_0x4d0f78(0x15c)](_0x54b442['id']);return _0x1d0901;}[_0x14d107(0x158)](_0x14b328){const _0x2b28d1=_0x14d107;for(const _0x1b486c of this[_0x2b28d1(0x178)][_0x2b28d1(0x15e)]())for(const _0x2eedc3 of _0x1b486c)if(_0x2eedc3[_0x2b28d1(0x166)]===_0x14b328)return _0x2eedc3[_0x2b28d1(0x15d)];}[_0x14d107(0x14f)](_0x5c57c5,_0x36510f){const _0x3c58c3=_0x14d107;if(_0x3c58c3(0x154)!==this[_0x3c58c3(0x149)][_0x3c58c3(0x15a)][_0x3c58c3(0x14c)](_0x290494)[_0x3c58c3(0x157)])return;const _0x53cee6=_0x36510f[_0x3c58c3(0x166)],_0xf3823c=this[_0x3c58c3(0x150)][_0x3c58c3(0x140)](_0x53cee6['id'])||this[_0x3c58c3(0x172)](_0x53cee6),_0x53c542=Object[_0x3c58c3(0x148)]({},_0x36510f,{'user':_0xf3823c});if(this[_0x3c58c3(0x178)][_0x3c58c3(0x14c)](_0x5c57c5)[_0x3c58c3(0x15c)](_0x53c542),!_0x53cee6[_0x3c58c3(0x174)]){const _0x320269=this[_0x3c58c3(0x145)][_0x3c58c3(0x14c)](_0x5c57c5);_0x320269[_0x3c58c3(0x13e)](_0xf3823c['id'])||_0x320269[_0x3c58c3(0x15c)](_0xf3823c),this[_0x3c58c3(0x155)][_0x3c58c3(0x13e)](_0xf3823c['id'])||_0x53cee6[_0x3c58c3(0x174)]||this[_0x3c58c3(0x155)][_0x3c58c3(0x15c)](_0xf3823c,_0xf3823c[_0x3c58c3(0x171)]?0x0:void 0x0);}this[_0x3c58c3(0x13c)](_0x3c58c3(0x177)+_0x5c57c5,{'channelId':_0x5c57c5,'session':_0x53c542});}[_0x14d107(0x16d)](_0x137772,_0x3aff8b){const _0x401164=_0x14d107;if(_0x401164(0x154)!==this[_0x401164(0x149)][_0x401164(0x15a)][_0x401164(0x14c)](_0x290494)[_0x401164(0x157)])return;const _0x45569e=this[_0x401164(0x145)][_0x401164(0x14c)](_0x137772),_0x46ffa6=_0x3aff8b[_0x401164(0x166)];_0x46ffa6['id']&&(this[_0x401164(0x178)][_0x401164(0x14c)](_0x137772)[_0x401164(0x14a)](_0x3aff8b['id']),_0x45569e[_0x401164(0x13e)](_0x46ffa6['id'])&&!this[_0x401164(0x16c)](_0x46ffa6,_0x137772)[_0x401164(0x16f)]&&_0x45569e[_0x401164(0x14a)](_0x46ffa6['id']),this[_0x401164(0x155)][_0x401164(0x14c)](_0x46ffa6['id'])&&!this[_0x401164(0x16c)](_0x46ffa6)[_0x401164(0x16f)]&&this[_0x401164(0x155)][_0x401164(0x14a)](_0x46ffa6['id']));}[_0x14d107(0x172)](_0x2d7cbc,_0x12ad68){const _0x2a8348=_0x14d107,_0x389060=this[_0x2a8348(0x150)][_0x2a8348(0x17a)](_0x2d7cbc);return _0x12ad68&&this[_0x2a8348(0x150)][_0x2a8348(0x164)](_0x2d7cbc['id']),_0x389060[_0x2a8348(0x17c)]=this[_0x2a8348(0x161)]++,_0x389060;}}
23
+ function _0x35eb(_0x4418dd,_0x27612e){const _0x202982=_0x2029();return _0x35eb=function(_0x35eb79,_0x17d84f){_0x35eb79=_0x35eb79-0xc6;let _0x1c05e9=_0x202982[_0x35eb79];return _0x1c05e9;},_0x35eb(_0x4418dd,_0x27612e);}const _0x30b5c3=_0x35eb;(function(_0x182b03,_0x316388){const _0x46f3f8=_0x35eb,_0x4b150f=_0x182b03();while(!![]){try{const _0x4098a1=parseInt(_0x46f3f8(0xc8))/0x1*(-parseInt(_0x46f3f8(0xeb))/0x2)+parseInt(_0x46f3f8(0xc9))/0x3*(-parseInt(_0x46f3f8(0xf2))/0x4)+parseInt(_0x46f3f8(0xec))/0x5+-parseInt(_0x46f3f8(0xe2))/0x6*(-parseInt(_0x46f3f8(0xcf))/0x7)+-parseInt(_0x46f3f8(0xfc))/0x8*(-parseInt(_0x46f3f8(0xe0))/0x9)+-parseInt(_0x46f3f8(0xf9))/0xa*(-parseInt(_0x46f3f8(0x103))/0xb)+parseInt(_0x46f3f8(0xcc))/0xc*(-parseInt(_0x46f3f8(0xf6))/0xd);if(_0x4098a1===_0x316388)break;else _0x4b150f['push'](_0x4b150f['shift']());}catch(_0xc51a04){_0x4b150f['push'](_0x4b150f['shift']());}}}(_0x2029,0x70aba));import{ContextPlugin as _0x48ab37}from'ckeditor5/src/core.js';import{Collection as _0x188fe0,CKEditorError as _0x51d530}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x183b6c}from'./websocketgateway.js';import{Users as _0x5a75a3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2029(){const _0x3eff5c=['_createUser','stopListening','clear','48620wJbEXc','requires','_uniqueUsersCount','forEach','hiddenInPresenceList','connected','delete','540908zSxxHQ','6SkSRzO','channelConnectedUsers','fire','12JFjXmf','connection','pluginName','2523171mphEca','getUserSessions','listenTo','set','state','init','plugins','role','getUser','_handleSessionAdd','_users','has','addUser','channelSessions','defineMe','getUserRole','allConnectedUsers','1296jceSTu','sessions-register-already-registered','6ZRWDhM','isPremiumPlugin','isMe','size','Sessions','getUserBySessionId','mySessionId','_registeredSessions','isOfficialPlugin','2zdBTBA','2951930lzBTof','remove','sessionAdd:','sessions-unregister-not-exist','add','orderNumber','142760voDSyP','user','assign','get','7962357UoVlSX','unregister','_handleSessionRemove','190KJsibJ','register','context','36192UwwqEV','sessionId','change:state','values'];_0x2029=function(){return _0x3eff5c;};return _0x2029();}export class Sessions extends _0x48ab37{[_0x30b5c3(0xdc)];[_0x30b5c3(0xca)];[_0x30b5c3(0xdf)];[_0x30b5c3(0xe9)];[_0x30b5c3(0x105)];[_0x30b5c3(0xd9)];static get[_0x30b5c3(0xce)](){const _0x4b61fa=_0x30b5c3;return _0x4b61fa(0xe6);}static get[_0x30b5c3(0xea)](){return!0x0;}static get[_0x30b5c3(0xe3)](){return!0x0;}static get[_0x30b5c3(0x104)](){return[_0x183b6c,_0x5a75a3];}constructor(_0x2d9f45){const _0xdb580c=_0x30b5c3;super(_0x2d9f45),this[_0xdb580c(0xdc)]=new Map(),this[_0xdb580c(0xca)]=new Map(),this[_0xdb580c(0xdf)]=new _0x188fe0(),this[_0xdb580c(0xe9)]=new Map(),this[_0xdb580c(0x105)]=0x0,this[_0xdb580c(0xd9)]=this[_0xdb580c(0xfb)][_0xdb580c(0xd5)][_0xdb580c(0xf5)](_0x5a75a3);}[_0x30b5c3(0xd4)](){const _0x5c5d7e=_0x30b5c3,_0xa1994=this[_0x5c5d7e(0xfb)][_0x5c5d7e(0xd5)][_0x5c5d7e(0xf5)](_0x183b6c);this[_0x5c5d7e(0xd1)](_0xa1994,_0x5c5d7e(0xfe),(_0x3fc4c6,_0x35f944,_0x945317)=>{const _0x3e5ab1=_0x5c5d7e;if(_0x3e5ab1(0xc6)!==_0x945317)this[_0x3e5ab1(0xdc)][_0x3e5ab1(0x106)](_0x167dcf=>_0x167dcf[_0x3e5ab1(0x102)]()),this[_0x3e5ab1(0xca)][_0x3e5ab1(0x106)](_0x41df43=>_0x41df43[_0x3e5ab1(0x102)]()),this[_0x3e5ab1(0xdf)][_0x3e5ab1(0x102)]();else{for(const [_0xb13b7d,_0x33e92c]of this[_0x3e5ab1(0xe9)])for(const _0x2c3255 of _0x33e92c)this[_0x3e5ab1(0xd8)](_0xb13b7d,_0x2c3255);}}),this[_0x5c5d7e(0x100)](_0xa1994[_0x5c5d7e(0xcd)]['me'],!0x0);}[_0x30b5c3(0xfa)](_0x1aecaf,_0x1b51eb){const _0x14dd75=_0x30b5c3;if(this[_0x14dd75(0xe9)][_0x14dd75(0xda)](_0x1aecaf))throw new _0x51d530(_0x14dd75(0xe1),null,{'channelId':_0x1aecaf});this[_0x14dd75(0xe9)][_0x14dd75(0xd2)](_0x1aecaf,_0x1b51eb),this[_0x14dd75(0xdc)][_0x14dd75(0xd2)](_0x1aecaf,new _0x188fe0()),this[_0x14dd75(0xca)][_0x14dd75(0xd2)](_0x1aecaf,new _0x188fe0()),this[_0x14dd75(0xd1)](_0x1b51eb,_0x14dd75(0xf0),(_0x1ad439,_0x421cb9)=>this[_0x14dd75(0xd8)](_0x1aecaf,_0x421cb9)),this[_0x14dd75(0xd1)](_0x1b51eb,_0x14dd75(0xed),(_0x4682d8,_0x1c4151)=>this[_0x14dd75(0xf8)](_0x1aecaf,_0x1c4151));for(const _0x3b9421 of _0x1b51eb)this[_0x14dd75(0xd8)](_0x1aecaf,_0x3b9421);}[_0x30b5c3(0xf7)](_0x342f31){const _0x536c25=_0x30b5c3;if(!this[_0x536c25(0xe9)][_0x536c25(0xda)](_0x342f31))throw new _0x51d530(_0x536c25(0xef),null,{'channelId':_0x342f31});const _0x3c37dc=this[_0x536c25(0xe9)][_0x536c25(0xf5)](_0x342f31);this[_0x536c25(0x101)](_0x3c37dc);for(const _0x4fa260 of _0x3c37dc)_0x536c25(0xc6)===this[_0x536c25(0xfb)][_0x536c25(0xd5)][_0x536c25(0xf5)](_0x183b6c)[_0x536c25(0xd3)]&&this[_0x536c25(0xf8)](_0x342f31,_0x4fa260);this[_0x536c25(0xe9)][_0x536c25(0xc7)](_0x342f31),this[_0x536c25(0xdc)][_0x536c25(0xc7)](_0x342f31),this[_0x536c25(0xca)][_0x536c25(0xc7)](_0x342f31);}get[_0x30b5c3(0xe8)](){const _0x3df135=_0x30b5c3;return this[_0x3df135(0xfb)][_0x3df135(0xd5)][_0x3df135(0xf5)](_0x183b6c)[_0x3df135(0xcd)][_0x3df135(0xfd)];}[_0x30b5c3(0xe7)](_0x47dbee){const _0x91022f=_0x30b5c3;for(const _0x486307 of this[_0x91022f(0xdc)][_0x91022f(0xff)]())for(const _0x398791 of _0x486307)if(_0x398791['id']===_0x47dbee)return _0x398791[_0x91022f(0xf3)];}[_0x30b5c3(0xd0)](_0x30182a,_0x1a08e2){const _0x221480=_0x30b5c3,_0x29e3f1=_0x1a08e2?[this[_0x221480(0xdc)][_0x221480(0xf5)](_0x1a08e2)]:this[_0x221480(0xdc)][_0x221480(0xff)](),_0x5e724a=new Set();for(const _0x47a8e1 of _0x29e3f1)for(const _0x58d2b2 of _0x47a8e1)_0x58d2b2[_0x221480(0xf3)]['id']===_0x30182a['id']&&_0x5e724a[_0x221480(0xf0)](_0x58d2b2['id']);return _0x5e724a;}[_0x30b5c3(0xde)](_0x1b8ad0){const _0x590bde=_0x30b5c3;for(const _0x462c4f of this[_0x590bde(0xdc)][_0x590bde(0xff)]())for(const _0x1e2277 of _0x462c4f)if(_0x1e2277[_0x590bde(0xf3)]===_0x1b8ad0)return _0x1e2277[_0x590bde(0xd6)];}[_0x30b5c3(0xd8)](_0x22d24c,_0x8ecd1b){const _0x497f4d=_0x30b5c3;if(_0x497f4d(0xc6)!==this[_0x497f4d(0xfb)][_0x497f4d(0xd5)][_0x497f4d(0xf5)](_0x183b6c)[_0x497f4d(0xd3)])return;const _0x3157a3=_0x8ecd1b[_0x497f4d(0xf3)],_0x530777=this[_0x497f4d(0xd9)][_0x497f4d(0xd7)](_0x3157a3['id'])||this[_0x497f4d(0x100)](_0x3157a3),_0x31a1eb=Object[_0x497f4d(0xf4)]({},_0x8ecd1b,{'user':_0x530777});if(this[_0x497f4d(0xdc)][_0x497f4d(0xf5)](_0x22d24c)[_0x497f4d(0xf0)](_0x31a1eb),!_0x3157a3[_0x497f4d(0x107)]){const _0x12d834=this[_0x497f4d(0xca)][_0x497f4d(0xf5)](_0x22d24c);_0x12d834[_0x497f4d(0xda)](_0x530777['id'])||_0x12d834[_0x497f4d(0xf0)](_0x530777),this[_0x497f4d(0xdf)][_0x497f4d(0xda)](_0x530777['id'])||_0x3157a3[_0x497f4d(0x107)]||this[_0x497f4d(0xdf)][_0x497f4d(0xf0)](_0x530777,_0x530777[_0x497f4d(0xe4)]?0x0:void 0x0);}this[_0x497f4d(0xcb)](_0x497f4d(0xee)+_0x22d24c,{'channelId':_0x22d24c,'session':_0x31a1eb});}[_0x30b5c3(0xf8)](_0x503b2c,_0x523239){const _0x223bb6=_0x30b5c3;if(_0x223bb6(0xc6)!==this[_0x223bb6(0xfb)][_0x223bb6(0xd5)][_0x223bb6(0xf5)](_0x183b6c)[_0x223bb6(0xd3)])return;const _0x47dc56=this[_0x223bb6(0xca)][_0x223bb6(0xf5)](_0x503b2c),_0x5e2379=_0x523239[_0x223bb6(0xf3)];_0x5e2379['id']&&(this[_0x223bb6(0xdc)][_0x223bb6(0xf5)](_0x503b2c)[_0x223bb6(0xed)](_0x523239['id']),_0x47dc56[_0x223bb6(0xda)](_0x5e2379['id'])&&!this[_0x223bb6(0xd0)](_0x5e2379,_0x503b2c)[_0x223bb6(0xe5)]&&_0x47dc56[_0x223bb6(0xed)](_0x5e2379['id']),this[_0x223bb6(0xdf)][_0x223bb6(0xf5)](_0x5e2379['id'])&&!this[_0x223bb6(0xd0)](_0x5e2379)[_0x223bb6(0xe5)]&&this[_0x223bb6(0xdf)][_0x223bb6(0xed)](_0x5e2379['id']));}[_0x30b5c3(0x100)](_0x27258b,_0x2e4d99){const _0x35d3b1=_0x30b5c3,_0x4cc4fb=this[_0x35d3b1(0xd9)][_0x35d3b1(0xdb)](_0x27258b);return _0x2e4d99&&this[_0x35d3b1(0xd9)][_0x35d3b1(0xdd)](_0x27258b['id']),_0x4cc4fb[_0x35d3b1(0xf1)]=this[_0x35d3b1(0x105)]++,_0x4cc4fb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x384b0d=_0x58a3;(function(_0x5d4566,_0x540b7b){const _0xf8cb1e=_0x58a3,_0x1ec691=_0x5d4566();while(!![]){try{const _0x18f153=-parseInt(_0xf8cb1e(0x203))/0x1*(parseInt(_0xf8cb1e(0x23e))/0x2)+parseInt(_0xf8cb1e(0x23f))/0x3+parseInt(_0xf8cb1e(0x1fd))/0x4*(-parseInt(_0xf8cb1e(0x24b))/0x5)+parseInt(_0xf8cb1e(0x1f9))/0x6*(parseInt(_0xf8cb1e(0x1f6))/0x7)+parseInt(_0xf8cb1e(0x223))/0x8*(-parseInt(_0xf8cb1e(0x24e))/0x9)+-parseInt(_0xf8cb1e(0x262))/0xa*(-parseInt(_0xf8cb1e(0x232))/0xb)+parseInt(_0xf8cb1e(0x209))/0xc;if(_0x18f153===_0x540b7b)break;else _0x1ec691['push'](_0x1ec691['shift']());}catch(_0x224646){_0x1ec691['push'](_0x1ec691['shift']());}}}(_0xd1a5,0x5cca8));function _0x58a3(_0x1eaf33,_0x435f64){const _0xd1a5f7=_0xd1a5();return _0x58a3=function(_0x58a3c7,_0x33e124){_0x58a3c7=_0x58a3c7-0x1de;let _0x490ef1=_0xd1a5f7[_0x58a3c7];return _0x490ef1;},_0x58a3(_0x1eaf33,_0x435f64);}import{Plugin as _0x2f7920}from'ckeditor5/src/core.js';import{global as _0x21fb20,DomEmitterMixin as _0x485074}from'ckeditor5/src/utils.js';import{Sessions as _0x2582f0}from'./sessions.js';import{ModelLiveRange as _0x1b64df}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2f7920{[_0x384b0d(0x1fe)]=new(_0x485074())();static get[_0x384b0d(0x201)](){return[_0x2582f0];}static get[_0x384b0d(0x1ef)](){const _0x59609e=_0x384b0d;return _0x59609e(0x23b);}static get[_0x384b0d(0x248)](){return!0x0;}static get[_0x384b0d(0x200)](){return!0x0;}[_0x384b0d(0x25a)](){const _0x3e31e3=_0x384b0d,_0x1d62d0=this[_0x3e31e3(0x261)],_0x269f06=_0x1d62d0[_0x3e31e3(0x1e2)][_0x3e31e3(0x204)](_0x2582f0);_0x1d62d0[_0x3e31e3(0x20e)][_0x3e31e3(0x234)](_0x3e31e3(0x20f))[_0x3e31e3(0x1fc)]({'model':_0x3e31e3(0x1e5),'view':(_0x2377ce,{writer:_0x55f08f})=>function(_0x356b6f,_0x4e43db,_0x3746d2,_0xb6c6f7){const _0x4bc3fa=_0x3e31e3,_0x5b32f5=_0x356b6f[_0x4bc3fa(0x212)][_0x4bc3fa(0x21b)](':')[0x2],_0x27e01a=_0x3746d2[_0x4bc3fa(0x229)](_0x5b32f5);if(!_0x27e01a||_0x5b32f5===_0x3746d2[_0x4bc3fa(0x243)])return;if(!_0xb6c6f7[_0x4bc3fa(0x238)][_0x4bc3fa(0x1de)][_0x4bc3fa(0x23a)](_0x356b6f[_0x4bc3fa(0x245)][_0x4bc3fa(0x264)],_0x4bc3fa(0x1f1)))return;const _0x3b3772={'class':_0x4bc3fa(0x263)+_0x27e01a[_0x4bc3fa(0x26a)][_0x4bc3fa(0x246)](),'data-name':_0x27e01a[_0x4bc3fa(0x25b)],'data-session-id':_0x5b32f5},_0x271a96=_0xb6c6f7[_0x4bc3fa(0x238)][_0x4bc3fa(0x251)][_0x4bc3fa(0x204)](_0x356b6f[_0x4bc3fa(0x212)]),_0x2f7573=_0x271a96[_0x4bc3fa(0x269)](),_0x3f1a91=_0x2f7573[_0x4bc3fa(0x206)],_0x5141e0=_0xb6c6f7[_0x4bc3fa(0x238)][_0x4bc3fa(0x1de)];if(_0x3f1a91&&_0x5141e0[_0x4bc3fa(0x21d)](_0x3f1a91)&&_0x5141e0[_0x4bc3fa(0x239)](_0x3f1a91)&&!_0xb6c6f7[_0x4bc3fa(0x238)][_0x4bc3fa(0x251)][_0x4bc3fa(0x204)](_0x4bc3fa(0x22b)+_0x5b32f5)[_0x4bc3fa(0x21a)]()[_0x4bc3fa(0x21f)])return;const _0x442b37=_0x2f7573[_0x4bc3fa(0x226)];return _0xb6c6f7[_0x4bc3fa(0x238)][_0x4bc3fa(0x1de)][_0x4bc3fa(0x253)](_0x442b37)&&!_0xb6c6f7[_0x4bc3fa(0x238)][_0x4bc3fa(0x218)](_0x442b37)&&(_0x3b3772[_0x4bc3fa(0x241)]=!0x1),function(_0x10938e,_0x40bd65,_0x39f500){const _0x4909d2=_0x4bc3fa,_0x19b78e=_0x10938e[_0x4909d2(0x213)](_0x4909d2(0x211),_0x40bd65);return _0x10938e[_0x4909d2(0x1f4)](_0x4909d2(0x24a),!0x0,_0x19b78e),_0x19b78e[_0x4909d2(0x259)]=function(_0xb9dd4e){const _0x3226b2=_0x4909d2,_0x45d1ca=this[_0x3226b2(0x237)](_0xb9dd4e),_0x3aad86=document[_0x3226b2(0x225)](_0x3226b2(0x211));return _0x3aad86[_0x3226b2(0x1f3)][_0x3226b2(0x265)](_0x3226b2(0x20c)),_0x3aad86[_0x3226b2(0x247)](_0x3226b2(0x241),_0x3226b2(0x1e6)),_0x3aad86[_0x3226b2(0x247)](_0x3226b2(0x240),_0x3226b2(0x1e6)),_0x3aad86[_0x3226b2(0x20b)]=_0x39f500[_0x3226b2(0x25b)],_0x45d1ca[_0x3226b2(0x1f7)]=_0x3226b2(0x258)+_0x3aad86[_0x3226b2(0x20a)]+'⁠',_0x45d1ca[_0x3226b2(0x220)](_0x3226b2(0x205),()=>{const _0xa03da0=_0x3226b2;_0x45d1ca[_0xa03da0(0x1f3)][_0xa03da0(0x265)](_0xa03da0(0x24f));}),_0x45d1ca[_0x3226b2(0x220)](_0x3226b2(0x233),()=>{const _0x6d884e=_0x3226b2;_0x45d1ca[_0x6d884e(0x1f3)][_0x6d884e(0x254)](_0x6d884e(0x24f));}),_0x45d1ca;},_0x19b78e[_0x4909d2(0x228)]=function(_0x4d6e22){const _0x2e7cbf=_0x4909d2;return!(!this[_0x2e7cbf(0x22a)](_0x2e7cbf(0x24a))||!_0x4d6e22[_0x2e7cbf(0x22a)](_0x2e7cbf(0x24a))||this[_0x2e7cbf(0x25f)](_0x2e7cbf(0x1e1))!=_0x4d6e22[_0x2e7cbf(0x25f)](_0x2e7cbf(0x1e1)));},_0x19b78e;}(_0x4e43db,_0x3b3772,_0x27e01a);}(_0x2377ce,_0x55f08f,_0x269f06,_0x1d62d0)}),_0x1d62d0[_0x3e31e3(0x20e)][_0x3e31e3(0x234)](_0x3e31e3(0x20f))[_0x3e31e3(0x202)]({'model':_0x3e31e3(0x1ec),'view':_0x35627c=>function(_0x55f580,_0x10c8d6){const _0x239877=_0x3e31e3,_0x2a6fec=_0x55f580[_0x239877(0x212)][_0x239877(0x21b)](':')[0x2];if(_0x2a6fec===_0x10c8d6[_0x239877(0x243)])return null;const _0x5424cd=_0x10c8d6[_0x239877(0x229)](_0x2a6fec);if(!_0x5424cd)return{'id':_0x2a6fec,'classes':[]};return{'id':_0x2a6fec,'classes':[_0x239877(0x25e),_0x5424cd[_0x239877(0x26a)][_0x239877(0x255)]()],'attributes':{'data-session-id':_0x2a6fec},'priority':0x7d0+_0x5424cd[_0x239877(0x252)]};}(_0x35627c,_0x269f06)}),function(_0x40bc21){const _0x23886e=_0x3e31e3,_0x252230=_0x40bc21[_0x23886e(0x238)],_0x373490=new Map(),_0x5c7da1=_0x40bc21[_0x23886e(0x1e2)][_0x23886e(0x204)](_0x2582f0);_0x252230[_0x23886e(0x251)]['on'](_0x23886e(0x22f),(_0x3dcd28,_0x5c2163,_0x4cb33e,_0x1e32ef)=>{const _0x10d8ee=_0x23886e;if(!_0x1e32ef&&_0x373490[_0x10d8ee(0x204)](_0x5c2163[_0x10d8ee(0x25b)]))return _0x373490[_0x10d8ee(0x204)](_0x5c2163[_0x10d8ee(0x25b)])[_0x10d8ee(0x217)](),void _0x373490[_0x10d8ee(0x1fa)](_0x5c2163[_0x10d8ee(0x25b)]);const _0x565fec=_0x5c2163[_0x10d8ee(0x25b)][_0x10d8ee(0x21b)](':')[0x2];if(_0x565fec===_0x5c7da1[_0x10d8ee(0x243)])return;const _0x871bfd=_0x10d8ee(0x24d)+_0x565fec;_0x252230[_0x10d8ee(0x251)][_0x10d8ee(0x1e0)](_0x871bfd)&&_0x40bc21[_0x10d8ee(0x22e)][_0x10d8ee(0x267)](_0x871bfd),_0x5c2163['on'](_0x10d8ee(0x1e9),(_0x16cb5c,_0x3249f5,_0x46196f)=>{const _0x3b59d2=_0x10d8ee;if(_0x3b59d2(0x266)!=_0x3249f5[_0x3b59d2(0x268)][_0x3b59d2(0x25c)]&&_0x3b59d2(0x266)==_0x5c2163[_0x3b59d2(0x21a)]()[_0x3b59d2(0x268)][_0x3b59d2(0x25c)]&&!_0x373490[_0x3b59d2(0x1e0)](_0x5c2163[_0x3b59d2(0x25b)])){const _0x348bb1=_0x252230[_0x3b59d2(0x1de)][_0x3b59d2(0x1f8)](_0x46196f[_0x3b59d2(0x250)]);if(_0x348bb1){const _0x59f3e8=_0x1b64df[_0x3b59d2(0x215)](_0x348bb1);_0x373490[_0x3b59d2(0x227)](_0x5c2163[_0x3b59d2(0x25b)],_0x59f3e8),_0x59f3e8['on'](_0x3b59d2(0x1e9),(_0x54c7ff,_0x1517bb,_0x4de6da)=>{const _0xa8341e=_0x3b59d2;if(_0xa8341e(0x266)==_0x59f3e8[_0xa8341e(0x268)][_0xa8341e(0x25c)]){const _0x20ae02=_0x252230[_0xa8341e(0x1de)][_0xa8341e(0x1f8)](_0x4de6da[_0xa8341e(0x250)]);_0x20ae02?(_0x59f3e8[_0xa8341e(0x264)]=_0x20ae02[_0xa8341e(0x264)],_0x59f3e8[_0xa8341e(0x214)]=_0x20ae02[_0xa8341e(0x214)]):(_0x373490[_0xa8341e(0x1fa)](_0x5c2163[_0xa8341e(0x25b)]),_0x59f3e8[_0xa8341e(0x217)]());}});}}});}),_0x252230[_0x23886e(0x20d)]['on'](_0x23886e(0x23d),()=>{const _0x3af534=_0x23886e;_0x373490[_0x3af534(0x1ed)]>0x0&&_0x252230[_0x3af534(0x24c)]({'isUndoable':!0x1},_0x5e143d=>{const _0x296580=_0x3af534;for(const [_0x19b609,_0x22bdcc]of _0x373490)_0x296580(0x266)==_0x252230[_0x296580(0x251)][_0x296580(0x204)](_0x19b609)[_0x296580(0x21a)]()[_0x296580(0x268)][_0x296580(0x25c)]&&(J(_0x19b609[_0x296580(0x21b)](':')[0x2],_0x22bdcc[_0x296580(0x221)](),_0x252230,_0x5e143d),_0x22bdcc[_0x296580(0x217)]());_0x373490[_0x296580(0x231)]();});});}(_0x1d62d0),this[_0x3e31e3(0x1fe)][_0x3e31e3(0x257)](_0x21fb20[_0x3e31e3(0x20d)],_0x3e31e3(0x207),(_0x31fdc6,{key:_0x391f11})=>{const _0x1d6b27=_0x3e31e3;_0x1d6b27(0x222)===_0x391f11&&function(_0x572aec){const _0x10d9c2=_0x1d6b27;_0x572aec[_0x10d9c2(0x22e)][_0x10d9c2(0x1ea)][_0x10d9c2(0x23d)](_0x5586c3=>{const _0xc20b8=_0x10d9c2;for(const _0x3afa75 of _0x572aec[_0xc20b8(0x238)][_0xc20b8(0x251)]){if(!_0x3afa75[_0xc20b8(0x25b)][_0xc20b8(0x1eb)](_0xc20b8(0x1e5)))continue;const _0x40c786=_0x572aec[_0xc20b8(0x22e)][_0xc20b8(0x230)][_0xc20b8(0x210)](_0x3afa75[_0xc20b8(0x25b)]);if(_0x40c786){for(const _0x55d388 of _0x40c786)_0x5586c3[_0xc20b8(0x23c)](_0xc20b8(0x24f),_0x55d388);}}});}(_0x1d62d0);},{'useCapture':!0x0});}[_0x384b0d(0x1f2)](){const _0x392854=_0x384b0d,_0x54f47b=this[_0x392854(0x261)],_0x2695c4=_0x54f47b[_0x392854(0x219)][_0x392854(0x204)](_0x392854(0x22d));_0x2695c4&&_0x54f47b[_0x392854(0x238)]['on'](_0x392854(0x260),(_0x54246b,_0x1e0adc)=>{const _0x5c5372=_0x392854,_0x9e2b97=_0x1e0adc[0x0];if(!_0x9e2b97[_0x5c5372(0x22c)])return;if(_0x5c5372(0x242)!=_0x9e2b97[_0x5c5372(0x1df)]||!_0x9e2b97[_0x5c5372(0x25b)][_0x5c5372(0x1eb)](_0x5c5372(0x1ee)))return;const _0x248813=_0x9e2b97[_0x5c5372(0x1f5)];_0x2695c4[_0x5c5372(0x216)][_0x5c5372(0x1e0)](_0x248813)&&(_0x9e2b97[_0x5c5372(0x208)]=_0x9e2b97[_0x5c5372(0x244)]?_0x54f47b[_0x5c5372(0x238)][_0x5c5372(0x249)](_0x9e2b97[_0x5c5372(0x244)][_0x5c5372(0x264)],_0x9e2b97[_0x5c5372(0x244)][_0x5c5372(0x214)]):null);},{'priority':_0x392854(0x236)});}[_0x384b0d(0x21c)](){const _0x1c2220=_0x384b0d;return this[_0x1c2220(0x1fe)][_0x1c2220(0x256)](),super[_0x1c2220(0x21c)]();}[_0x384b0d(0x1e8)](){const _0x158e3f=_0x384b0d,_0xdf87d2=this[_0x158e3f(0x261)],_0x368182=_0xdf87d2[_0x158e3f(0x238)][_0x158e3f(0x20d)],_0x205578=_0xdf87d2[_0x158e3f(0x1e2)][_0x158e3f(0x204)](_0x2582f0);_0xdf87d2[_0x158e3f(0x238)][_0x158e3f(0x24c)]({'isUndoable':!0x1},_0x378fa=>{const _0x59975e=_0x158e3f,_0x1d310d=_0x59975e(0x22b)+_0x205578[_0x59975e(0x243)],_0x364894=_0x59975e(0x24d)+_0x205578[_0x59975e(0x243)],_0x48cc9f=_0xdf87d2[_0x59975e(0x238)][_0x59975e(0x251)][_0x59975e(0x1e0)](_0x1d310d);_0xdf87d2[_0x59975e(0x22e)][_0x59975e(0x1ea)][_0x59975e(0x1fb)]?J(_0x205578[_0x59975e(0x243)],_0x368182[_0x59975e(0x235)][_0x59975e(0x1e4)](),_0xdf87d2[_0x59975e(0x238)],_0x378fa):_0x48cc9f&&(_0x378fa[_0x59975e(0x1f0)](_0x1d310d),_0x378fa[_0x59975e(0x1f0)](_0x364894));});}}function J(_0x5c8e65,_0x425ac3,_0x33b2b3,_0x529ede){const _0x6e115b=_0x384b0d,_0x400739=_0x6e115b(0x22b)+_0x5c8e65,_0x303937=_0x6e115b(0x24d)+_0x5c8e65,_0xd97dee=_0x425ac3[_0x6e115b(0x25d)]();let _0x4d0766=_0x425ac3[_0x6e115b(0x264)];if(_0xd97dee&&_0xd97dee['is'](_0x6e115b(0x21e),_0x6e115b(0x1ff))){const _0x5dc9c1=function(_0x3147db,_0x35f9da){const _0x16c392=_0x6e115b;for(const _0x384536 of _0x3147db[_0x16c392(0x1e7)]())if(_0x35f9da[_0x16c392(0x1de)][_0x16c392(0x23a)](_0x384536,_0x16c392(0x1f1)))return _0x384536;}(_0x425ac3,_0x33b2b3);_0x5dc9c1&&(_0x4d0766=_0x5dc9c1,_0x425ac3=_0x529ede[_0x6e115b(0x249)](_0x4d0766));}const _0x3f5317=_0x529ede[_0x6e115b(0x249)](_0x4d0766);_0x33b2b3[_0x6e115b(0x251)][_0x6e115b(0x1e0)](_0x400739)?(_0x529ede[_0x6e115b(0x1e3)](_0x400739,{'range':_0x425ac3}),_0x529ede[_0x6e115b(0x1e3)](_0x303937,{'range':_0x3f5317})):(_0x529ede[_0x6e115b(0x224)](_0x400739,{'range':_0x425ac3,'usingOperation':!0x0}),_0x529ede[_0x6e115b(0x224)](_0x303937,{'range':_0x3f5317,'usingOperation':!0x0}));}function _0xd1a5(){const _0x59dd2c=['user:','pluginName','removeMarker','$text','afterInit','classList','setCustomProperty','batch','21phkLql','innerHTML','getNearestSelectionRange','79038uBJdIN','delete','hasDomSelection','markerToElement','8tNkyOl','_domEmitter','tableCell','isPremiumPlugin','requires','markerToHighlight','7268ToeqUj','get','mouseenter','nodeAfter','keydown','newRange','9202128llDLJS','outerHTML','textContent','ck-user__marker-tooltip','document','conversion','editingDowncast','markerNameToElements','span','markerName','createUIElement','end','fromRange','_createdBatches','detach','hasContent','commands','getRange','split','destroy','isObject','element','isCollapsed','addEventListener','toRange','Escape','856sbaIKr','addMarker','createElement','parent','set','isSimilar','getUserBySessionId','getCustomProperty','user:range:','isDocumentOperation','undo','editing','update:user:range','mapper','clear','22TGcomw','mouseleave','for','selection','highest','toDomElement','model','isInline','checkChild','UserMarkers','removeClass','change','54dQOAfS','48036lEIdjH','spellcheck','contenteditable','marker','mySessionId','oldRange','markerRange','getMarkerClass','setAttribute','isOfficialPlugin','createRange','userPositionMarker','1183810zWLCmx','enqueueChange','user:position:','34083UJxEiv','ck-user__marker_hovered','deletionPosition','markers','orderNumber','isLimit','remove','getSelectionClass','stopListening','listenTo','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','render','init','name','rootName','getContainedElement','ck-user__selection','getAttribute','applyOperation','editor','3163330GuBnTs','ck-user__marker\x20','start','add','$graveyard','reconvertMarker','root','getStart','color','schema','type','has','data-session-id','plugins','updateMarker','getFirstRange','user:position','false','getPositions','createUserMarkerOperations','change:range','view','startsWith','user:range','size'];_0xd1a5=function(){return _0x59dd2c;};return _0xd1a5();}
23
+ const _0x38cf74=_0x21c2;(function(_0x257216,_0x2aaea5){const _0x26f484=_0x21c2,_0x26529f=_0x257216();while(!![]){try{const _0x342bc3=-parseInt(_0x26f484(0x11b))/0x1*(parseInt(_0x26f484(0xfe))/0x2)+parseInt(_0x26f484(0xf7))/0x3*(-parseInt(_0x26f484(0x159))/0x4)+-parseInt(_0x26f484(0x15e))/0x5+-parseInt(_0x26f484(0x115))/0x6*(-parseInt(_0x26f484(0xe4))/0x7)+parseInt(_0x26f484(0x107))/0x8+parseInt(_0x26f484(0xf8))/0x9*(-parseInt(_0x26f484(0xed))/0xa)+parseInt(_0x26f484(0x157))/0xb;if(_0x342bc3===_0x2aaea5)break;else _0x26529f['push'](_0x26529f['shift']());}catch(_0x5ee9ed){_0x26529f['push'](_0x26529f['shift']());}}}(_0x2003,0x4dac6));import{Plugin as _0x28a8eb}from'ckeditor5/src/core.js';import{global as _0x707f42,DomEmitterMixin as _0x393dd1}from'ckeditor5/src/utils.js';import{Sessions as _0x3fb4b0}from'./sessions.js';import{ModelLiveRange as _0x5ae9da}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x28a8eb{[_0x38cf74(0x121)]=new(_0x393dd1())();static get[_0x38cf74(0x109)](){return[_0x3fb4b0];}static get[_0x38cf74(0xf3)](){const _0x110afd=_0x38cf74;return _0x110afd(0xf5);}static get[_0x38cf74(0x150)](){return!0x0;}static get[_0x38cf74(0x15a)](){return!0x0;}[_0x38cf74(0x145)](){const _0x349b6c=_0x38cf74,_0x3068ea=this[_0x349b6c(0x168)],_0x21a929=_0x3068ea[_0x349b6c(0x10b)][_0x349b6c(0x11d)](_0x3fb4b0);_0x3068ea[_0x349b6c(0x155)][_0x349b6c(0x124)](_0x349b6c(0x13c))[_0x349b6c(0x15c)]({'model':_0x349b6c(0x14b),'view':(_0x217c38,{writer:_0x25780a})=>function(_0x2f85b9,_0x296b76,_0x48ce85,_0x16e5ed){const _0x2807ce=_0x349b6c,_0x8177b4=_0x2f85b9[_0x2807ce(0x111)][_0x2807ce(0x126)](':')[0x2],_0x40a542=_0x48ce85[_0x2807ce(0x13a)](_0x8177b4);if(!_0x40a542||_0x8177b4===_0x48ce85[_0x2807ce(0xe5)])return;if(!_0x16e5ed[_0x2807ce(0xf4)][_0x2807ce(0x135)][_0x2807ce(0x163)](_0x2f85b9[_0x2807ce(0xe3)][_0x2807ce(0x14c)],_0x2807ce(0x101)))return;const _0x2bfad6={'class':_0x2807ce(0x161)+_0x40a542[_0x2807ce(0x10c)][_0x2807ce(0x140)](),'data-name':_0x40a542[_0x2807ce(0xe2)],'data-session-id':_0x8177b4},_0x4c59e6=_0x16e5ed[_0x2807ce(0xf4)][_0x2807ce(0x14a)][_0x2807ce(0x11d)](_0x2f85b9[_0x2807ce(0x111)]),_0x1b3988=_0x4c59e6[_0x2807ce(0xe9)](),_0x2de506=_0x1b3988[_0x2807ce(0x169)],_0x45fccc=_0x16e5ed[_0x2807ce(0xf4)][_0x2807ce(0x135)];if(_0x2de506&&_0x45fccc[_0x2807ce(0x10e)](_0x2de506)&&_0x45fccc[_0x2807ce(0x102)](_0x2de506)&&!_0x16e5ed[_0x2807ce(0xf4)][_0x2807ce(0x14a)][_0x2807ce(0x11d)](_0x2807ce(0x153)+_0x8177b4)[_0x2807ce(0x12a)]()[_0x2807ce(0x108)])return;const _0x559a72=_0x1b3988[_0x2807ce(0x146)];return _0x16e5ed[_0x2807ce(0xf4)][_0x2807ce(0x135)][_0x2807ce(0x154)](_0x559a72)&&!_0x16e5ed[_0x2807ce(0xf4)][_0x2807ce(0x110)](_0x559a72)&&(_0x2bfad6[_0x2807ce(0x12d)]=!0x1),function(_0x1a295f,_0x1a879,_0x52be8d){const _0x25eaac=_0x2807ce,_0x3f5ad1=_0x1a295f[_0x25eaac(0x113)](_0x25eaac(0xf9),_0x1a879);return _0x1a295f[_0x25eaac(0x118)](_0x25eaac(0x12e),!0x0,_0x3f5ad1),_0x3f5ad1[_0x25eaac(0x10d)]=function(_0x2a9cb6){const _0x54d5a1=_0x25eaac,_0x4c8e9f=this[_0x54d5a1(0x129)](_0x2a9cb6),_0x71109d=document[_0x54d5a1(0x119)](_0x54d5a1(0xf9));return _0x71109d[_0x54d5a1(0x15b)][_0x54d5a1(0x143)](_0x54d5a1(0x10f)),_0x71109d[_0x54d5a1(0x139)](_0x54d5a1(0x12d),_0x54d5a1(0x160)),_0x71109d[_0x54d5a1(0x139)](_0x54d5a1(0x148),_0x54d5a1(0x160)),_0x71109d[_0x54d5a1(0x117)]=_0x52be8d[_0x54d5a1(0xe2)],_0x4c8e9f[_0x54d5a1(0x120)]=_0x54d5a1(0x166)+_0x71109d[_0x54d5a1(0xf6)]+'⁠',_0x4c8e9f[_0x54d5a1(0xf0)](_0x54d5a1(0x11f),()=>{const _0x1b1555=_0x54d5a1;_0x4c8e9f[_0x1b1555(0x15b)][_0x1b1555(0x143)](_0x1b1555(0x104));}),_0x4c8e9f[_0x54d5a1(0xf0)](_0x54d5a1(0x144),()=>{const _0x48d655=_0x54d5a1;_0x4c8e9f[_0x48d655(0x15b)][_0x48d655(0x123)](_0x48d655(0x104));}),_0x4c8e9f;},_0x3f5ad1[_0x25eaac(0x149)]=function(_0x1d4036){const _0x4f9eca=_0x25eaac;return!(!this[_0x4f9eca(0x106)](_0x4f9eca(0x12e))||!_0x1d4036[_0x4f9eca(0x106)](_0x4f9eca(0x12e))||this[_0x4f9eca(0x12f)](_0x4f9eca(0x14f))!=_0x1d4036[_0x4f9eca(0x12f)](_0x4f9eca(0x14f)));},_0x3f5ad1;}(_0x296b76,_0x2bfad6,_0x40a542);}(_0x217c38,_0x25780a,_0x21a929,_0x3068ea)}),_0x3068ea[_0x349b6c(0x155)][_0x349b6c(0x124)](_0x349b6c(0x13c))[_0x349b6c(0x136)]({'model':_0x349b6c(0x13f),'view':_0x4a2827=>function(_0xc1541a,_0xef5ae9){const _0x27aa1f=_0x349b6c,_0x50045e=_0xc1541a[_0x27aa1f(0x111)][_0x27aa1f(0x126)](':')[0x2];if(_0x50045e===_0xef5ae9[_0x27aa1f(0xe5)])return null;const _0x4780ef=_0xef5ae9[_0x27aa1f(0x13a)](_0x50045e);if(!_0x4780ef)return{'id':_0x50045e,'classes':[]};return{'id':_0x50045e,'classes':[_0x27aa1f(0x156),_0x4780ef[_0x27aa1f(0x10c)][_0x27aa1f(0xf1)]()],'attributes':{'data-session-id':_0x50045e},'priority':0x7d0+_0x4780ef[_0x27aa1f(0xfb)]};}(_0x4a2827,_0x21a929)}),function(_0x33b393){const _0x2fa715=_0x349b6c,_0x2b5410=_0x33b393[_0x2fa715(0xf4)],_0xd4efe3=new Map(),_0x5c91c9=_0x33b393[_0x2fa715(0x10b)][_0x2fa715(0x11d)](_0x3fb4b0);_0x2b5410[_0x2fa715(0x14a)]['on'](_0x2fa715(0x122),(_0x3579de,_0x13f77b,_0x7a7c12,_0x516dfc)=>{const _0x28ec52=_0x2fa715;if(!_0x516dfc&&_0xd4efe3[_0x28ec52(0x11d)](_0x13f77b[_0x28ec52(0xe2)]))return _0xd4efe3[_0x28ec52(0x11d)](_0x13f77b[_0x28ec52(0xe2)])[_0x28ec52(0xef)](),void _0xd4efe3[_0x28ec52(0x151)](_0x13f77b[_0x28ec52(0xe2)]);const _0x16c4ee=_0x13f77b[_0x28ec52(0xe2)][_0x28ec52(0x126)](':')[0x2];if(_0x16c4ee===_0x5c91c9[_0x28ec52(0xe5)])return;const _0x567faa=_0x28ec52(0x14d)+_0x16c4ee;_0x2b5410[_0x28ec52(0x14a)][_0x28ec52(0x164)](_0x567faa)&&_0x33b393[_0x28ec52(0xe1)][_0x28ec52(0x13b)](_0x567faa),_0x13f77b['on'](_0x28ec52(0x133),(_0x36ee2d,_0x281d02,_0x428e9d)=>{const _0x5c638e=_0x28ec52;if(_0x5c638e(0x100)!=_0x281d02[_0x5c638e(0x116)][_0x5c638e(0x112)]&&_0x5c638e(0x100)==_0x13f77b[_0x5c638e(0x12a)]()[_0x5c638e(0x116)][_0x5c638e(0x112)]&&!_0xd4efe3[_0x5c638e(0x164)](_0x13f77b[_0x5c638e(0xe2)])){const _0x556249=_0x2b5410[_0x5c638e(0x135)][_0x5c638e(0x134)](_0x428e9d[_0x5c638e(0xff)]);if(_0x556249){const _0x1b0839=_0x5ae9da[_0x5c638e(0x12b)](_0x556249);_0xd4efe3[_0x5c638e(0x138)](_0x13f77b[_0x5c638e(0xe2)],_0x1b0839),_0x1b0839['on'](_0x5c638e(0x133),(_0x2b7e75,_0x2a8ecb,_0x49f985)=>{const _0x2043b5=_0x5c638e;if(_0x2043b5(0x100)==_0x1b0839[_0x2043b5(0x116)][_0x2043b5(0x112)]){const _0x3142ae=_0x2b5410[_0x2043b5(0x135)][_0x2043b5(0x134)](_0x49f985[_0x2043b5(0xff)]);_0x3142ae?(_0x1b0839[_0x2043b5(0x14c)]=_0x3142ae[_0x2043b5(0x14c)],_0x1b0839[_0x2043b5(0xdf)]=_0x3142ae[_0x2043b5(0xdf)]):(_0xd4efe3[_0x2043b5(0x151)](_0x13f77b[_0x2043b5(0xe2)]),_0x1b0839[_0x2043b5(0xef)]());}});}}});}),_0x2b5410[_0x2fa715(0x142)]['on'](_0x2fa715(0xe8),()=>{const _0x96db71=_0x2fa715;_0xd4efe3[_0x96db71(0xec)]>0x0&&_0x2b5410[_0x96db71(0x125)]({'isUndoable':!0x1},_0xafb662=>{const _0x3cbd49=_0x96db71;for(const [_0x4b090d,_0x264c02]of _0xd4efe3)_0x3cbd49(0x100)==_0x2b5410[_0x3cbd49(0x14a)][_0x3cbd49(0x11d)](_0x4b090d)[_0x3cbd49(0x12a)]()[_0x3cbd49(0x116)][_0x3cbd49(0x112)]&&(x(_0x4b090d[_0x3cbd49(0x126)](':')[0x2],_0x264c02[_0x3cbd49(0x13d)](),_0x2b5410,_0xafb662),_0x264c02[_0x3cbd49(0xef)]());_0xd4efe3[_0x3cbd49(0xfc)]();});});}(_0x3068ea),this[_0x349b6c(0x121)][_0x349b6c(0xe0)](_0x707f42[_0x349b6c(0x142)],_0x349b6c(0xde),(_0x3e4beb,{key:_0x2a17b7})=>{const _0x2c8c15=_0x349b6c;_0x2c8c15(0x11c)===_0x2a17b7&&function(_0x34c60e){const _0x5b4e64=_0x2c8c15;_0x34c60e[_0x5b4e64(0xe1)][_0x5b4e64(0x167)][_0x5b4e64(0xe8)](_0x2019f5=>{const _0x12fee4=_0x5b4e64;for(const _0x47e1d2 of _0x34c60e[_0x12fee4(0xf4)][_0x12fee4(0x14a)]){if(!_0x47e1d2[_0x12fee4(0xe2)][_0x12fee4(0x128)](_0x12fee4(0x14b)))continue;const _0x58d8fc=_0x34c60e[_0x12fee4(0xe1)][_0x12fee4(0x12c)][_0x12fee4(0x127)](_0x47e1d2[_0x12fee4(0xe2)]);if(_0x58d8fc){for(const _0x2210a9 of _0x58d8fc)_0x2019f5[_0x12fee4(0xe7)](_0x12fee4(0x104),_0x2210a9);}}});}(_0x3068ea);},{'useCapture':!0x0});}[_0x38cf74(0xfa)](){const _0x30679b=_0x38cf74,_0x47ea09=this[_0x30679b(0x168)],_0x881d9d=_0x47ea09[_0x30679b(0x114)][_0x30679b(0x11d)](_0x30679b(0xe6));_0x881d9d&&_0x47ea09[_0x30679b(0xf4)]['on'](_0x30679b(0x105),(_0x455f60,_0x4a68aa)=>{const _0x54c15f=_0x30679b,_0xdb83b6=_0x4a68aa[0x0];if(!_0xdb83b6[_0x54c15f(0x141)])return;if(_0x54c15f(0xea)!=_0xdb83b6[_0x54c15f(0x130)]||!_0xdb83b6[_0x54c15f(0xe2)][_0x54c15f(0x128)](_0x54c15f(0x165)))return;const _0x1ce80a=_0xdb83b6[_0x54c15f(0x147)];_0x881d9d[_0x54c15f(0x137)][_0x54c15f(0x164)](_0x1ce80a)&&(_0xdb83b6[_0x54c15f(0x15d)]=_0xdb83b6[_0x54c15f(0x15f)]?_0x47ea09[_0x54c15f(0xf4)][_0x54c15f(0x132)](_0xdb83b6[_0x54c15f(0x15f)][_0x54c15f(0x14c)],_0xdb83b6[_0x54c15f(0x15f)][_0x54c15f(0xdf)]):null);},{'priority':_0x30679b(0x10a)});}[_0x38cf74(0x11a)](){const _0x237e06=_0x38cf74;return this[_0x237e06(0x121)][_0x237e06(0x11e)](),super[_0x237e06(0x11a)]();}[_0x38cf74(0x13e)](){const _0x2fc169=_0x38cf74,_0x30fb01=this[_0x2fc169(0x168)],_0x2dfa5e=_0x30fb01[_0x2fc169(0xf4)][_0x2fc169(0x142)],_0x4b2874=_0x30fb01[_0x2fc169(0x10b)][_0x2fc169(0x11d)](_0x3fb4b0);_0x30fb01[_0x2fc169(0xf4)][_0x2fc169(0x125)]({'isUndoable':!0x1},_0x485f01=>{const _0xf502a=_0x2fc169,_0x5a238f=_0xf502a(0x153)+_0x4b2874[_0xf502a(0xe5)],_0x31f544=_0xf502a(0x14d)+_0x4b2874[_0xf502a(0xe5)],_0x47d606=_0x30fb01[_0xf502a(0xf4)][_0xf502a(0x14a)][_0xf502a(0x164)](_0x5a238f);_0x30fb01[_0xf502a(0xe1)][_0xf502a(0x167)][_0xf502a(0xeb)]?x(_0x4b2874[_0xf502a(0xe5)],_0x2dfa5e[_0xf502a(0x152)][_0xf502a(0x103)](),_0x30fb01[_0xf502a(0xf4)],_0x485f01):_0x47d606&&(_0x485f01[_0xf502a(0x158)](_0x5a238f),_0x485f01[_0xf502a(0x158)](_0x31f544));});}}function _0x21c2(_0x4ff83b,_0x5ee4bc){const _0x20035c=_0x2003();return _0x21c2=function(_0x21c2c3,_0x3adf8c){_0x21c2c3=_0x21c2c3-0xde;let _0x1c227f=_0x20035c[_0x21c2c3];return _0x1c227f;},_0x21c2(_0x4ff83b,_0x5ee4bc);}function _0x2003(){const _0x225a22=['4MmnHkF','isPremiumPlugin','classList','markerToElement','newRange','318625YEsGIU','oldRange','false','ck-user__marker\x20','getPositions','checkChild','has','user:','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','view','editor','nodeAfter','keydown','end','listenTo','editing','name','markerRange','7UDMOQm','mySessionId','undo','removeClass','change','getStart','marker','hasDomSelection','size','234390FOCEgu','updateMarker','detach','addEventListener','getSelectionClass','element','pluginName','model','UserMarkers','outerHTML','1459905OAuLBW','234UkDujK','span','afterInit','orderNumber','clear','getContainedElement','2KshyCO','deletionPosition','$graveyard','$text','isInline','getFirstRange','ck-user__marker_hovered','applyOperation','getCustomProperty','4477136mbwCPL','isCollapsed','requires','highest','plugins','color','render','isObject','ck-user__marker-tooltip','hasContent','markerName','rootName','createUIElement','commands','1805484WdIkKz','root','textContent','setCustomProperty','createElement','destroy','442480sGCNjc','Escape','get','stopListening','mouseenter','innerHTML','_domEmitter','update:user:range','remove','for','enqueueChange','split','markerNameToElements','startsWith','toDomElement','getRange','fromRange','mapper','contenteditable','userPositionMarker','getAttribute','type','tableCell','createRange','change:range','getNearestSelectionRange','schema','markerToHighlight','_createdBatches','set','setAttribute','getUserBySessionId','reconvertMarker','editingDowncast','toRange','createUserMarkerOperations','user:range','getMarkerClass','isDocumentOperation','document','add','mouseleave','init','parent','batch','spellcheck','isSimilar','markers','user:position','start','user:position:','addMarker','data-session-id','isOfficialPlugin','delete','selection','user:range:','isLimit','conversion','ck-user__selection','11658328xVuwCa','removeMarker'];_0x2003=function(){return _0x225a22;};return _0x2003();}function x(_0x59fab3,_0x45e7bd,_0x576967,_0x1d9311){const _0x5010cf=_0x38cf74,_0x162e1b=_0x5010cf(0x153)+_0x59fab3,_0x31e1c3=_0x5010cf(0x14d)+_0x59fab3,_0x49afb6=_0x45e7bd[_0x5010cf(0xfd)]();let _0x5af96e=_0x45e7bd[_0x5010cf(0x14c)];if(_0x49afb6&&_0x49afb6['is'](_0x5010cf(0xf2),_0x5010cf(0x131))){const _0x10b8f4=function(_0x25c7d9,_0x580f3f){const _0x68539b=_0x5010cf;for(const _0x159d95 of _0x25c7d9[_0x68539b(0x162)]())if(_0x580f3f[_0x68539b(0x135)][_0x68539b(0x163)](_0x159d95,_0x68539b(0x101)))return _0x159d95;}(_0x45e7bd,_0x576967);_0x10b8f4&&(_0x5af96e=_0x10b8f4,_0x45e7bd=_0x1d9311[_0x5010cf(0x132)](_0x5af96e));}const _0x57848b=_0x1d9311[_0x5010cf(0x132)](_0x5af96e);_0x576967[_0x5010cf(0x14a)][_0x5010cf(0x164)](_0x162e1b)?(_0x1d9311[_0x5010cf(0xee)](_0x162e1b,{'range':_0x45e7bd}),_0x1d9311[_0x5010cf(0xee)](_0x31e1c3,{'range':_0x57848b})):(_0x1d9311[_0x5010cf(0x14e)](_0x162e1b,{'range':_0x45e7bd,'usingOperation':!0x0}),_0x1d9311[_0x5010cf(0x14e)](_0x31e1c3,{'range':_0x57848b,'usingOperation':!0x0}));}