@ckeditor/ckeditor5-real-time-collaboration 47.7.5 → 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 _0x3dc18c=_0x476c;(function(_0x2834e3,_0x4ac91a){const _0x38429e=_0x476c,_0x44025c=_0x2834e3();while(!![]){try{const _0x448618=-parseInt(_0x38429e(0x1c9))/0x1*(-parseInt(_0x38429e(0x1c3))/0x2)+-parseInt(_0x38429e(0x1cd))/0x3*(-parseInt(_0x38429e(0x1d3))/0x4)+-parseInt(_0x38429e(0x1bc))/0x5*(-parseInt(_0x38429e(0x1cf))/0x6)+-parseInt(_0x38429e(0x1b9))/0x7+parseInt(_0x38429e(0x1b5))/0x8+parseInt(_0x38429e(0x1c1))/0x9+-parseInt(_0x38429e(0x1c5))/0xa;if(_0x448618===_0x4ac91a)break;else _0x44025c['push'](_0x44025c['shift']());}catch(_0x569b69){_0x44025c['push'](_0x44025c['shift']());}}}(_0x1ce4,0x7ec0b));function _0x1ce4(){const _0x53d8ca=['isExpanded','querySelector','2492DfzDFT','listenTo','div','presencelist:hide','1113261GuDIKA','setTemplate','6urihAz','ck-presence-list__list','createCollection','focus','4UosPjX','items','element','bindTemplate','setAttribute','contains','presencelist:show','removeAttribute','Connected\x20users\x20list','2337584dazJNR','render','aria-expanded','relatedTarget','6354145NzgqZn','fire','hasPopup','3207455HnHIcb','.ck-balloon-panel_with-arrow','.ck-presence-list__dropdown-list','change:hasPopup','set','2646090wvWvQK','keystrokes','244AIbVSn','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','4758960wBOARH','list'];_0x1ce4=function(){return _0x53d8ca;};return _0x1ce4();}import{View as _0x2809c7}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3b26d6}from'ckeditor5/src/utils.js';function _0x476c(_0x20c43a,_0x5588fd){const _0x1ce42d=_0x1ce4();return _0x476c=function(_0x476cfc,_0x4ea52d){_0x476cfc=_0x476cfc-0x1af;let _0xc6f7c0=_0x1ce42d[_0x476cfc];return _0xc6f7c0;},_0x476c(_0x20c43a,_0x5588fd);}import{getTranslation as _0x1c4781}from'../../common-translations.js';export class PresenceInlineListView extends _0x2809c7{[_0x3dc18c(0x1d4)];[_0x3dc18c(0x1c2)];constructor(_0x182654){const _0x153873=_0x3dc18c;super(_0x182654);const _0x280171=this[_0x153873(0x1af)];this[_0x153873(0x1d4)]=this[_0x153873(0x1d1)](),this[_0x153873(0x1c2)]=new _0x3b26d6(),this[_0x153873(0x1c0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x153873(0x1ce)]({'tag':_0x153873(0x1cb),'attributes':{'aria-haspopup':_0x280171['if'](_0x153873(0x1bb)),'aria-expanded':_0x280171['to'](_0x153873(0x1c7),_0x15f048=>this[_0x153873(0x1bb)]&&String(_0x15f048)),'aria-label':_0x280171['to'](_0x153873(0x1bb),_0x52e86a=>_0x1c4781(_0x182654,_0x52e86a?_0x153873(0x1c4):_0x153873(0x1b4))),'role':_0x153873(0x1c6),'tabindex':_0x280171['to'](_0x153873(0x1bb),_0x4851bf=>!!_0x4851bf&&0x0),'class':['ck',_0x153873(0x1d0)]},'children':this[_0x153873(0x1d4)],'on':{'mouseenter':_0x280171['to'](()=>this[_0x153873(0x1ba)](_0x153873(0x1b2))),'mouseleave':_0x280171['to'](_0x30a00e=>{const _0xf802b7=_0x153873,_0x545e10=_0x30a00e,_0x313cf9=document[_0xf802b7(0x1c8)](_0xf802b7(0x1be)),_0x1e102a=document[_0xf802b7(0x1c8)](_0xf802b7(0x1bd));_0x313cf9?.[_0xf802b7(0x1b1)](_0x545e10[_0xf802b7(0x1b8)])||_0x1e102a?.[_0xf802b7(0x1b1)](_0x545e10[_0xf802b7(0x1b8)])||this[_0xf802b7(0x1ba)](_0xf802b7(0x1cc));})}}),this['on'](_0x153873(0x1bf),(_0x4faf4e,_0x5ede69,_0x5c3206)=>{const _0x3995be=_0x153873;this[_0x3995be(0x1d5)]&&(_0x5c3206?this[_0x3995be(0x1d5)][_0x3995be(0x1b0)](_0x3995be(0x1b7),String(this[_0x3995be(0x1c7)])):this[_0x3995be(0x1d5)][_0x3995be(0x1b3)](_0x3995be(0x1b7)));});}[_0x3dc18c(0x1d2)](){const _0x273eb7=_0x3dc18c;this[_0x273eb7(0x1d5)][_0x273eb7(0x1d2)]();}[_0x3dc18c(0x1b6)](){const _0x131707=_0x3dc18c;super[_0x131707(0x1b6)](),this[_0x131707(0x1c2)][_0x131707(0x1ca)](this[_0x131707(0x1d5)]);}}
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 _0x507f88=_0x2a84;function _0x2a84(_0x5580e1,_0x961801){const _0xe49326=_0xe493();return _0x2a84=function(_0x2a8446,_0x1da6fa){_0x2a8446=_0x2a8446-0x10e;let _0xc948cf=_0xe49326[_0x2a8446];return _0xc948cf;},_0x2a84(_0x5580e1,_0x961801);}(function(_0x15314e,_0x235712){const _0x4ff6f1=_0x2a84,_0x525e98=_0x15314e();while(!![]){try{const _0x30a169=-parseInt(_0x4ff6f1(0x113))/0x1*(-parseInt(_0x4ff6f1(0x10e))/0x2)+-parseInt(_0x4ff6f1(0x111))/0x3*(-parseInt(_0x4ff6f1(0x127))/0x4)+-parseInt(_0x4ff6f1(0x117))/0x5+parseInt(_0x4ff6f1(0x11a))/0x6+-parseInt(_0x4ff6f1(0x128))/0x7+-parseInt(_0x4ff6f1(0x12b))/0x8*(parseInt(_0x4ff6f1(0x126))/0x9)+-parseInt(_0x4ff6f1(0x11b))/0xa*(parseInt(_0x4ff6f1(0x10f))/0xb);if(_0x30a169===_0x235712)break;else _0x525e98['push'](_0x525e98['shift']());}catch(_0x490986){_0x525e98['push'](_0x525e98['shift']());}}}(_0xe493,0xdfa6b));import{View as _0x120e60}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2ce983}from'./presencecounterview.js';import{PresenceInlineListView as _0x5c6a09}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0xe493(){const _0x4a0d98=['set','ck-reset','10896684iXkGAw','733490zyDAHa','locale','ck-presence-list--collapsed','tooltipPosition','inlineListView','bindTemplate','hasPopup','div','change','isCollapsed','ck-presence-list','18PRqvEN','8ktlxoe','1790334LOwvLe','ck-rounded-corners','bind','4437448LIyreK','12002eUnubW','22SlKGny','setTemplate','873165muFflH','items','13oELCZa','counterView','listenTo','first','241700tlnBNG'];_0xe493=function(){return _0x4a0d98;};return _0xe493();}export class PresenceListView extends _0x120e60{[_0x507f88(0x114)];[_0x507f88(0x11f)];constructor(_0x5e055e,_0x12d88e=0x6){const _0x527324=_0x507f88;super(_0x5e055e);const _0x2cd685=this[_0x527324(0x120)];this[_0x527324(0x118)](_0x527324(0x124),!0x0),this[_0x527324(0x114)]=new _0x2ce983(this[_0x527324(0x11c)],_0x12d88e),this[_0x527324(0x11f)]=new _0x5c6a09(_0x5e055e),this[_0x527324(0x11f)][_0x527324(0x12a)](_0x527324(0x121))['to'](this,_0x527324(0x124)),this[_0x527324(0x115)](this[_0x527324(0x11f)][_0x527324(0x112)],_0x527324(0x123),()=>{const _0x35d032=_0x527324;for(const _0x5d69cb of this[_0x35d032(0x11f)][_0x35d032(0x112)])_0x5d69cb[_0x35d032(0x11e)]='s';this[_0x35d032(0x11f)][_0x35d032(0x112)][_0x35d032(0x116)]&&(this[_0x35d032(0x11f)][_0x35d032(0x112)][_0x35d032(0x116)][_0x35d032(0x11e)]='se');}),this[_0x527324(0x110)]({'tag':_0x527324(0x122),'attributes':{'class':['ck',_0x527324(0x125),_0x527324(0x119),_0x527324(0x129),_0x2cd685['if'](_0x527324(0x124),_0x527324(0x11d))]},'children':[this[_0x527324(0x11f)]]});}}
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 _0x293ad0=_0x3475;(function(_0x5789fa,_0x8af6bb){var _0x4600ca=_0x3475,_0x880a92=_0x5789fa();while(!![]){try{var _0x31eac1=-parseInt(_0x4600ca(0x70))/0x1+-parseInt(_0x4600ca(0x6b))/0x2+-parseInt(_0x4600ca(0x67))/0x3+parseInt(_0x4600ca(0x6c))/0x4*(-parseInt(_0x4600ca(0x69))/0x5)+-parseInt(_0x4600ca(0x6a))/0x6+parseInt(_0x4600ca(0x73))/0x7*(parseInt(_0x4600ca(0x6f))/0x8)+-parseInt(_0x4600ca(0x66))/0x9*(-parseInt(_0x4600ca(0x74))/0xa);if(_0x31eac1===_0x8af6bb)break;else _0x880a92['push'](_0x880a92['shift']());}catch(_0x19d64a){_0x880a92['push'](_0x880a92['shift']());}}}(_0x5b4f,0x596ef));import{ContextPlugin as _0x47acf1}from'ckeditor5/src/core.js';function _0x5b4f(){var _0x1256ed=['PresenceList','100664TrsAlE','139965OLJhpT','isPremiumPlugin','isOfficialPlugin','154TsDjnT','97630GkOZnq','1773KDIREv','1389942nvCckq','requires','4715IpeLCS','3226314pMILVL','787778WqVVZV','1268ZrSmrF','pluginName'];_0x5b4f=function(){return _0x1256ed;};return _0x5b4f();}import{Sessions as _0x3c3728}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x57d1de}from'./presencelist/presencelistui.js';function _0x3475(_0x323db8,_0x260523){var _0x5b4f4f=_0x5b4f();return _0x3475=function(_0x347536,_0x55340a){_0x347536=_0x347536-0x66;var _0x17e6a6=_0x5b4f4f[_0x347536];return _0x17e6a6;},_0x3475(_0x323db8,_0x260523);}export class PresenceList extends _0x47acf1{static get[_0x293ad0(0x68)](){return[_0x3c3728,_0x57d1de];}static get[_0x293ad0(0x6d)](){var _0x10cfeb=_0x293ad0;return _0x10cfeb(0x6e);}static get[_0x293ad0(0x72)](){return!0x0;}static get[_0x293ad0(0x71)](){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
- const _0x336c48=_0x1bfe;function _0x1bfe(_0x81bf51,_0x2f4499){const _0x28e4d2=_0x28e4();return _0x1bfe=function(_0x1bfeaf,_0x1647b0){_0x1bfeaf=_0x1bfeaf-0x6c;let _0x197a9b=_0x28e4d2[_0x1bfeaf];return _0x197a9b;},_0x1bfe(_0x81bf51,_0x2f4499);}(function(_0xb91506,_0x1473af){const _0x4f37b7=_0x1bfe,_0x30ef88=_0xb91506();while(!![]){try{const _0x5545e7=-parseInt(_0x4f37b7(0xc1))/0x1+parseInt(_0x4f37b7(0x74))/0x2*(parseInt(_0x4f37b7(0xc2))/0x3)+-parseInt(_0x4f37b7(0x9f))/0x4*(parseInt(_0x4f37b7(0x75))/0x5)+-parseInt(_0x4f37b7(0xc9))/0x6+-parseInt(_0x4f37b7(0xc6))/0x7+-parseInt(_0x4f37b7(0x7b))/0x8*(parseInt(_0x4f37b7(0xbe))/0x9)+-parseInt(_0x4f37b7(0x8e))/0xa*(-parseInt(_0x4f37b7(0x72))/0xb);if(_0x5545e7===_0x1473af)break;else _0x30ef88['push'](_0x30ef88['shift']());}catch(_0x3863a2){_0x30ef88['push'](_0x30ef88['shift']());}}}(_0x28e4,0x6ed98));function _0x28e4(){const _0x388c70=['isOfficialPlugin','removeCommentThread','config','_getService','_connectService','getCommentThread','collaboration.channelId','CloudServicesCommentsAdapter','listenTo','setPermissions','resolvedBy','startsWith','register','disconnect','authorId','adapter','4416USbPTF','remove','commentThreadRemoved','attributes','connect','isPremiumPlugin','userId','resolve','sessionAdd:','CommentsRepository','cloudservicescommentsadapter-disconnect-not-exist','mySessionId','content','update','assign','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','_setUpService','permissions','resolvedAt','getUser','from','_services','set','addUser','commentThreadId','map','init','commentThreadReopened','commentId','code','24498fBKkqP','cloud-services-internal-error:\x20Not\x20connected.','unregister','4863LGCiMz','69tzEmZV','cloudservicescommentsadapter-service-not-exist','off','addComment','5456647qZStqm','reopen','commentThreadUpdated','3017934MLGRQb','requires','comments','resolveCommentThread','getComment','size','message','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getConnectedSessions','has','catch','plugins','addToReconnectionStack','deletedAt','get','404','22vhmwSX','cloudservicescommentsadapter-connect-already-connected','64046TEoBxl','2320hyINJI','Permissions','context','commentThreadResolved','getCommentThreads','add','1960UnOSDs','commentThreadAdded','getMany','_terminateService','updateComment','CommentsService','_fetchMissingUsersForThreads','reopenCommentThread','commentRemoved','keys','commentAdded','createdAt','delete','reconnect','commentUpdated','addCommentThread','updateCommentThread','destroy','removeComment','10920150ERcuJt'];_0x28e4=function(){return _0x388c70;};return _0x28e4();}import{Context as _0x1205ea,ContextPlugin as _0x49719e}from'ckeditor5/src/core.js';import{CKEditorError as _0x1393fc}from'ckeditor5/src/utils.js';import{Users as _0xc83640}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x345104,User as _0x45646e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x58f223}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x15789f}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x49719e{static [_0x336c48(0x80)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x345104)());[_0x336c48(0xb5)];static get[_0x336c48(0xca)](){const _0x419b58=_0x336c48;return[_0x58f223,_0x419b58(0xa8),_0x15789f,_0xc83640];}static get[_0x336c48(0xaf)](){const _0x4003ef=_0x336c48;return _0x4003ef(0x96);}static get[_0x336c48(0x8f)](){return!0x0;}static get[_0x336c48(0xa4)](){return!0x0;}constructor(_0x39ae61){const _0x3ed81e=_0x336c48;super(_0x39ae61),this[_0x3ed81e(0xb5)]=new Map();}async[_0x336c48(0xba)](){const _0x3b71c6=_0x336c48,_0x49afb0=this[_0x3b71c6(0x77)],_0x3eb213=_0x49afb0[_0x3b71c6(0x6d)][_0x3b71c6(0x70)](_0x3b71c6(0xa8));if(_0x49afb0[_0x3b71c6(0x6d)][_0x3b71c6(0x70)](_0x58f223)[_0x3b71c6(0x6e)](this),_0x3eb213[_0x3b71c6(0x9e)]={'addCommentThread':async({channelId:_0x546961,threadId:_0x54d2a8,comments:_0x5b4025,resolvedAt:_0x42a78f,resolvedBy:_0x208309,context:_0x118907,attributes:_0x14f58a})=>{const _0x4d579b=_0x3b71c6,_0x6f8bb1=await this[_0x4d579b(0x92)](_0x546961)[_0x4d579b(0x8a)]({'commentThreadId':_0x54d2a8,'comments':_0x5b4025[_0x4d579b(0xb9)](_0x463014=>function(_0x4577e5,_0x3c25b4,_0x38b2b5){const _0x15018d=_0x4d579b;return{'commentThreadId':_0x38b2b5,'commentId':_0x4577e5[_0x15018d(0xbc)],'userId':_0x4577e5[_0x15018d(0x9d)],'content':_0x4577e5[_0x15018d(0xab)],'documentId':_0x3c25b4,'createdAt':_0x4577e5[_0x15018d(0x86)],'attributes':_0x4577e5[_0x15018d(0xa2)]||{}};}(_0x463014,_0x546961,_0x54d2a8)),'resolvedAt':_0x42a78f,'resolvedBy':_0x208309,'context':_0x118907,'attributes':_0x14f58a})[_0x4d579b(0x6c)](Y);return{'threadId':_0x6f8bb1[_0x4d579b(0xb8)],'comments':_0x6f8bb1[_0x4d579b(0xcb)]};},'getCommentThread':async({channelId:_0x77e1c2,threadId:_0x3c01bd})=>{const _0x59640b=_0x3b71c6,_0x157e3d=await this[_0x59640b(0x92)](_0x77e1c2)[_0x59640b(0x94)](_0x3c01bd)[_0x59640b(0x6c)](X)[_0x59640b(0x6c)](Y);return _0x157e3d?_0x157e3d[_0x59640b(0x6f)]?null:(await this[_0x59640b(0x81)]([_0x157e3d]),{'threadId':_0x157e3d[_0x59640b(0xb8)],'comments':_0x157e3d[_0x59640b(0xcb)][_0x59640b(0xb9)](Z),'context':_0x157e3d[_0x59640b(0x77)],'resolvedAt':_0x157e3d[_0x59640b(0xb2)],'resolvedBy':_0x157e3d[_0x59640b(0x99)],'attributes':_0x157e3d[_0x59640b(0xa2)]||{}}):null;},'updateCommentThread':async({channelId:_0x198fb9,threadId:_0x250667,context:_0x1e0fda,unlinkedAt:_0x500722,attributes:_0x3cb9c7})=>this[_0x3b71c6(0x92)](_0x198fb9)[_0x3b71c6(0x8b)]({'commentThreadId':_0x250667,'context':_0x1e0fda,'attributes':_0x3cb9c7,'unlinkedAt':_0x500722})[_0x3b71c6(0x6c)](X)[_0x3b71c6(0x6c)](Y),'resolveCommentThread':async({channelId:_0xe9a711,threadId:_0x58f209})=>{const _0x5ebdbf=_0x3b71c6,_0x513e6f=await this[_0x5ebdbf(0x92)](_0xe9a711)[_0x5ebdbf(0xcc)](_0x58f209)[_0x5ebdbf(0x6c)](X)[_0x5ebdbf(0x6c)](Y);return{'threadId':_0x513e6f[_0x5ebdbf(0xb8)],'resolvedAt':_0x513e6f[_0x5ebdbf(0xb2)],'resolvedBy':_0x513e6f[_0x5ebdbf(0x99)]};},'reopenCommentThread':async({channelId:_0xf54aaa,threadId:_0x510635})=>this[_0x3b71c6(0x92)](_0xf54aaa)[_0x3b71c6(0x82)](_0x510635)[_0x3b71c6(0x6c)](X)[_0x3b71c6(0x6c)](Y),'removeCommentThread':({channelId:_0x2327ed,threadId:_0x20749d})=>this[_0x3b71c6(0x92)](_0x2327ed)[_0x3b71c6(0x90)](_0x20749d)[_0x3b71c6(0x6c)](X)[_0x3b71c6(0x6c)](Y),'addComment':({channelId:_0x302c3d,threadId:_0x126b72,commentId:_0x57f760,content:_0x56917a,attributes:_0x3e6f68})=>this[_0x3b71c6(0x92)](_0x302c3d)[_0x3b71c6(0xc5)](_0x126b72,_0x57f760,_0x56917a,_0x3e6f68)[_0x3b71c6(0x6c)](Y),'updateComment':({channelId:_0x13f168,threadId:_0x3cde4c,commentId:_0x518211,content:_0x190728,attributes:_0x5dcea7})=>this[_0x3b71c6(0x92)](_0x13f168)[_0x3b71c6(0x7f)](_0x3cde4c,_0x518211,_0x190728,_0x5dcea7)[_0x3b71c6(0x6c)](X)[_0x3b71c6(0x6c)](Y),'removeComment':({channelId:_0x196016,threadId:_0x12c10d,commentId:_0x14879e})=>this[_0x3b71c6(0x92)](_0x196016)[_0x3b71c6(0x8d)](_0x12c10d,_0x14879e)[_0x3b71c6(0x6c)](X)[_0x3b71c6(0x6c)](Y)},_0x49afb0 instanceof _0x1205ea){const _0x417f6a=_0x49afb0[_0x3b71c6(0x91)][_0x3b71c6(0x70)](_0x3b71c6(0x95)),_0x48a40a=_0x49afb0[_0x3b71c6(0x6d)][_0x3b71c6(0x70)](_0x15789f);await this[_0x3b71c6(0xb0)](_0x417f6a);const _0x49635a=await this[_0x3b71c6(0xb5)][_0x3b71c6(0x70)](_0x417f6a)[_0x3b71c6(0xd1)]();this[_0x3b71c6(0x97)](_0x48a40a,_0x3b71c6(0xa7)+_0x417f6a,(_0x1e48bc,{session:_0x2fc9f7})=>{const _0x2262b0=_0x3b71c6;_0x2fc9f7['id']===_0x48a40a[_0x2262b0(0xaa)]&&(_0x1e48bc[_0x2262b0(0xc4)](),this[_0x2262b0(0x77)][_0x2262b0(0x6d)][_0x2262b0(0x70)](_0x2262b0(0x76))[_0x2262b0(0x98)](_0x2fc9f7[_0x2262b0(0xb1)],_0x417f6a));}),_0x48a40a[_0x3b71c6(0x9b)](_0x417f6a,_0x49635a);}}async[_0x336c48(0xb0)](_0x589ffa){const _0x332700=_0x336c48;if(this[_0x332700(0xb5)][_0x332700(0xd2)](_0x589ffa))throw new _0x1393fc(_0x332700(0x73),null,{'channelId':_0x589ffa});const _0x11813e=this[_0x332700(0x77)][_0x332700(0x6d)][_0x332700(0x70)](_0x332700(0xa8)),_0x437a45=new CloudServicesCommentsAdapter[(_0x332700(0x80))](_0x589ffa);this[_0x332700(0xb5)][_0x332700(0xb6)](_0x589ffa,_0x437a45),this[_0x332700(0x97)](_0x437a45,_0x332700(0x7c),(_0x187b67,_0x1696af)=>{const _0x374016=_0x332700,{commentThreadId:_0x3728c2,documentId:_0x1773b9,context:_0xea1a98,attributes:_0x4d37ec,resolvedAt:_0x39b908,resolvedBy:_0x299f0c,comments:_0x3e3527}=_0x1696af;_0x11813e[_0x374016(0x94)](_0x3728c2)||_0x11813e[_0x374016(0x8a)]({'threadId':_0x3728c2,'channelId':_0x1773b9,'comments':_0x3e3527?_0x3e3527[_0x374016(0xb9)](Z):[],'context':_0xea1a98,'attributes':_0x4d37ec,'resolvedAt':_0x39b908,'resolvedBy':_0x299f0c,'isFromAdapter':!0x0});}),this[_0x332700(0x97)](_0x437a45,_0x332700(0xc8),(_0x31be5e,{commentThreadId:_0x539348,documentId:_0x3066b1,context:_0x4c60d3,unlinkedAt:_0x5ee8a4,attributes:_0xc0cdb3})=>{const _0xf129aa=_0x332700;_0x11813e[_0xf129aa(0x94)](_0x539348)&&_0x11813e[_0xf129aa(0x8b)]({'threadId':_0x539348,'channelId':_0x3066b1,'context':_0x4c60d3,'unlinkedAt':_0x5ee8a4,'attributes':_0xc0cdb3,'isFromAdapter':!0x0});}),this[_0x332700(0x97)](_0x437a45,_0x332700(0x78),(_0x2de2e9,{commentThreadId:_0x372bff,resolvedBy:_0x35a43e,resolvedAt:_0x1bedc2})=>{const _0x6e346=_0x332700,_0x5c7063=_0x11813e[_0x6e346(0x94)](_0x372bff);_0x5c7063&&_0x5c7063[_0x6e346(0xa6)]({'resolvedBy':_0x35a43e,'resolvedAt':_0x1bedc2,'isFromAdapter':!0x0});}),this[_0x332700(0x97)](_0x437a45,_0x332700(0xbb),(_0x3ed8bb,{commentThreadId:_0x6f4917})=>{const _0x5e6995=_0x332700,_0x4e1013=_0x11813e[_0x5e6995(0x94)](_0x6f4917);_0x4e1013&&_0x4e1013[_0x5e6995(0xc7)]({'isFromAdapter':!0x0});}),this[_0x332700(0x97)](_0x437a45,_0x332700(0xa1),(_0x427554,{commentThreadId:_0x23bdfc})=>{const _0x45e31e=_0x332700,_0x516468=_0x11813e[_0x45e31e(0x94)](_0x23bdfc);_0x516468&&_0x516468[_0x45e31e(0xa0)]({'isFromAdapter':!0x0});}),this[_0x332700(0x97)](_0x437a45,_0x332700(0x85),(_0x40a4f6,_0x7f6958)=>{const _0x3890c7=_0x332700,_0x46c782=_0x7f6958[_0x3890c7(0xb8)],_0x100920=_0x11813e[_0x3890c7(0x94)](_0x46c782);_0x100920&&_0x100920[_0x3890c7(0xc5)]({...Z(_0x7f6958),'isFromAdapter':!0x0});}),this[_0x332700(0x97)](_0x437a45,_0x332700(0x89),(_0x46eee3,{commentThreadId:_0x1448c1,commentId:_0x375ce4,content:_0x36c28f,attributes:_0x3cd3f3})=>{const _0x326ce8=_0x332700,_0x1373f9=_0x11813e[_0x326ce8(0x94)](_0x1448c1);if(_0x1373f9){const _0x4d228d=_0x1373f9[_0x326ce8(0xcd)](_0x375ce4);_0x4d228d&&_0x4d228d[_0x326ce8(0xac)]({'content':_0x36c28f,'attributes':_0x3cd3f3,'isFromAdapter':!0x0});}}),this[_0x332700(0x97)](_0x437a45,_0x332700(0x83),(_0xef5af0,{commentThreadId:_0x2d6ba7,commentId:_0xe88e23})=>{const _0x1f6952=_0x332700,_0x28c2e7=_0x11813e[_0x1f6952(0x94)](_0x2d6ba7);if(_0x28c2e7){const _0x3fc12c=_0x28c2e7[_0x1f6952(0xcd)](_0xe88e23);_0x3fc12c&&_0x3fc12c[_0x1f6952(0xa0)]({'isFromAdapter':!0x0});}}),await this[_0x332700(0x93)](_0x589ffa);}[_0x336c48(0x8c)](){const _0xbb5867=_0x336c48;if(this[_0xbb5867(0x77)]instanceof _0x1205ea){const _0x11873c=this[_0xbb5867(0x77)][_0xbb5867(0x91)][_0xbb5867(0x70)](_0xbb5867(0x95));this[_0xbb5867(0x7e)](_0x11873c);}}[_0x336c48(0x7e)](_0x54f41d){const _0x2f6564=_0x336c48;if(!this[_0x2f6564(0xb5)][_0x2f6564(0xd2)](_0x54f41d))throw new _0x1393fc(_0x2f6564(0xa9),null,{'channelId':_0x54f41d});this[_0x2f6564(0x92)](_0x54f41d)[_0x2f6564(0x9c)](),this[_0x2f6564(0xb5)][_0x2f6564(0x87)](_0x54f41d);}async[_0x336c48(0x88)](){const _0x402397=_0x336c48;for(const _0x208951 of this[_0x402397(0xb5)][_0x402397(0x84)]())await this[_0x402397(0x93)](_0x208951);if(this[_0x402397(0x77)]instanceof _0x1205ea){const _0x36a386=this[_0x402397(0x77)][_0x402397(0x91)][_0x402397(0x70)](_0x402397(0x95)),_0x3c2c3c=this[_0x402397(0x77)][_0x402397(0x6d)][_0x402397(0x70)](_0x15789f);_0x3c2c3c[_0x402397(0xc0)](_0x36a386);const _0x2153c4=await this[_0x402397(0xb5)][_0x402397(0x70)](_0x36a386)[_0x402397(0xd1)]();_0x3c2c3c[_0x402397(0x9b)](_0x36a386,_0x2153c4);}}async[_0x336c48(0x93)](_0x34d343){const _0x1ef70e=_0x336c48,{connection:_0x148d6e}=this[_0x1ef70e(0x77)][_0x1ef70e(0x6d)][_0x1ef70e(0x70)](_0x58f223),_0x32d3dd=this[_0x1ef70e(0x77)][_0x1ef70e(0x6d)][_0x1ef70e(0x70)](_0x1ef70e(0xa8)),_0x15d0ed=this[_0x1ef70e(0xb5)][_0x1ef70e(0x70)](_0x34d343),_0x400afa=await _0x15d0ed[_0x1ef70e(0xa3)](_0x148d6e);await this[_0x1ef70e(0x81)](_0x400afa);const _0x5ebc4d=new Set(Array[_0x1ef70e(0xb4)](_0x32d3dd[_0x1ef70e(0x79)]({'channelId':_0x34d343}),_0x9b9954=>_0x9b9954['id']));for(const _0x2b709e of _0x400afa)_0x2b709e[_0x1ef70e(0x6f)]||_0x5ebc4d[_0x1ef70e(0x87)](_0x2b709e[_0x1ef70e(0xb8)]);for(const _0xb85d39 of _0x5ebc4d)_0x32d3dd[_0x1ef70e(0x94)](_0xb85d39)[_0x1ef70e(0xa0)]({'isFromAdapter':!0x0});for(const _0x180a6f of _0x400afa){let _0x35bd48=_0x32d3dd[_0x1ef70e(0x94)](_0x180a6f[_0x1ef70e(0xb8)]);const {commentThreadId:_0x2bab44,context:_0x20a265,attributes:_0xb8427a,resolvedBy:_0x44e6a8,resolvedAt:_0x464d52,unlinkedAt:_0x164610,deletedAt:_0x43b167}=_0x180a6f;if(_0x43b167)continue;_0x35bd48||(_0x35bd48=_0x32d3dd[_0x1ef70e(0x8a)]({'channelId':_0x34d343,'threadId':_0x2bab44,'context':_0x20a265,'attributes':_0xb8427a||{},'resolvedBy':_0x44e6a8,'resolvedAt':_0x464d52,'unlinkedAt':_0x164610,'isFromAdapter':!0x0}));const _0x2c490b=new Set(Array[_0x1ef70e(0xb4)](_0x35bd48[_0x1ef70e(0xcb)],_0x3e11e2=>_0x3e11e2['id']));for(const _0x129324 of _0x180a6f[_0x1ef70e(0xcb)])_0x2c490b[_0x1ef70e(0x87)](_0x129324[_0x1ef70e(0xbc)]);for(const _0x2d5d3f of _0x2c490b)_0x35bd48[_0x1ef70e(0xcd)](_0x2d5d3f)[_0x1ef70e(0xa0)]({'isFromAdapter':!0x0});for(const _0xb1d52b of _0x180a6f[_0x1ef70e(0xcb)]){const _0xb610bc=_0x35bd48[_0x1ef70e(0xcd)](_0xb1d52b[_0x1ef70e(0xbc)]);_0xb610bc?_0xb610bc[_0x1ef70e(0xab)]!==_0xb1d52b[_0x1ef70e(0xab)]&&_0xb610bc[_0x1ef70e(0xac)]({'content':_0xb1d52b[_0x1ef70e(0xab)],'isFromAdapter':!0x0}):_0x35bd48[_0x1ef70e(0xc5)](Object[_0x1ef70e(0xad)](Z(_0xb1d52b),{'isFromAdapter':!0x0}));}}}[_0x336c48(0x92)](_0x40105b){const _0x343e88=_0x336c48;if(!this[_0x343e88(0xb5)][_0x343e88(0xd2)](_0x40105b))throw new _0x1393fc(_0x343e88(0xc3),null,{'channelId':_0x40105b});return this[_0x343e88(0xb5)][_0x343e88(0x70)](_0x40105b);}async[_0x336c48(0x81)](_0x384b76){const _0x243540=_0x336c48,_0x4df913=this[_0x243540(0x77)][_0x243540(0x6d)][_0x243540(0x70)](_0xc83640),{connection:_0x26671c}=this[_0x243540(0x77)][_0x243540(0x6d)][_0x243540(0x70)](_0x58f223),_0x3bf8af=new Set();for(const {resolvedBy:_0x1c443d,comments:_0x340fd1}of _0x384b76){_0x1c443d&&!_0x4df913[_0x243540(0xb3)](_0x1c443d)&&_0x3bf8af[_0x243540(0x7a)](_0x1c443d);for(const {userId:_0x2887a3}of _0x340fd1)_0x4df913[_0x243540(0xb3)](_0x2887a3)||_0x3bf8af[_0x243540(0x7a)](_0x2887a3);}if(0x0===_0x3bf8af[_0x243540(0xce)])return;const _0x4d823e=await _0x45646e[_0x243540(0x7d)](_0x26671c,Array[_0x243540(0xb4)](_0x3bf8af));for(const _0x3546ff of _0x4d823e)_0x4df913[_0x243540(0xb3)](_0x3546ff['id'])||_0x4df913[_0x243540(0xb7)](_0x3546ff);}}async function X(_0x17b676){const _0x3d1eca=_0x336c48;if(_0x3d1eca(0x71)!==_0x17b676[_0x3d1eca(0xbd)])throw _0x17b676;}function Y(_0x46871b){const _0x1c01bd=_0x336c48;if((_0x37ec12=_0x46871b)[_0x1c01bd(0xcf)][_0x1c01bd(0x9a)](_0x1c01bd(0xd0))||_0x37ec12[_0x1c01bd(0xcf)][_0x1c01bd(0x9a)](_0x1c01bd(0xbf))||_0x37ec12[_0x1c01bd(0xcf)][_0x1c01bd(0x9a)](_0x1c01bd(0xae)))return new Promise(()=>{});var _0x37ec12;throw _0x46871b;}function Z(_0x104399){const _0x2dbc15=_0x336c48;return{'threadId':_0x104399[_0x2dbc15(0xb8)],'commentId':_0x104399[_0x2dbc15(0xbc)],'content':_0x104399[_0x2dbc15(0xab)],'createdAt':_0x104399[_0x2dbc15(0x86)],'authorId':_0x104399[_0x2dbc15(0xa5)],'attributes':_0x104399[_0x2dbc15(0xa2)]||{}};}
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 _0x521b6c=_0x4673;(function(_0x1347ff,_0x7b06cb){const _0x1d6678=_0x4673,_0x3dd3be=_0x1347ff();while(!![]){try{const _0x4a4c28=parseInt(_0x1d6678(0x197))/0x1+parseInt(_0x1d6678(0x1a4))/0x2*(-parseInt(_0x1d6678(0x18e))/0x3)+parseInt(_0x1d6678(0x192))/0x4*(-parseInt(_0x1d6678(0x19d))/0x5)+parseInt(_0x1d6678(0x18c))/0x6+-parseInt(_0x1d6678(0x195))/0x7+parseInt(_0x1d6678(0x19e))/0x8+parseInt(_0x1d6678(0x19b))/0x9;if(_0x4a4c28===_0x7b06cb)break;else _0x3dd3be['push'](_0x3dd3be['shift']());}catch(_0x5b6f00){_0x3dd3be['push'](_0x3dd3be['shift']());}}}(_0x3a1c,0xd3d65));function _0x3a1c(){const _0x39d02d=['change:state','7098588StuXLh','editor','6hLvMXc','switchReadOnly','_setUpService','config','4364esedpY','Comments','connected','7537873EmvFFY','CommentsEditing','322899xzFGFb','CommentsRepository','plugins','isOfficialPlugin','10326960sAUBvQ','collaboration.channelId','1355OpEbmK','9931648aAaDOn','ready','init','get','RealTimeCollaborativeComments','isPremiumPlugin','1654708nvQpKJ','isThreadsLoadingPaused','_terminateService','once','pluginName','destroy','requires','data','listenTo'];_0x3a1c=function(){return _0x39d02d;};return _0x3a1c();}import{Plugin as _0x7fff2c}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0xbd2005}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4673(_0x239140,_0x36b6ac){const _0x3a1cc1=_0x3a1c();return _0x4673=function(_0x4673d8,_0xbd3c68){_0x4673d8=_0x4673d8-0x185;let _0x58ae43=_0x3a1cc1[_0x4673d8];return _0x58ae43;},_0x4673(_0x239140,_0x36b6ac);}import{RealTimeCollaborativeEditing as _0x16f9d5}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x9eb17a}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x7fff2c{static get[_0x521b6c(0x188)](){const _0x1e569c=_0x521b6c;return[_0x1e569c(0x193),_0xbd2005,_0x16f9d5,_0x9eb17a];}static get[_0x521b6c(0x186)](){const _0x5cf160=_0x521b6c;return _0x5cf160(0x1a2);}static get[_0x521b6c(0x19a)](){return!0x0;}static get[_0x521b6c(0x1a3)](){return!0x0;}[_0x521b6c(0x1a0)](){const _0x2fc757=_0x521b6c,_0x4006d3=this[_0x2fc757(0x18d)][_0x2fc757(0x199)][_0x2fc757(0x1a1)](_0x9eb17a),_0x20629e=this[_0x2fc757(0x18d)][_0x2fc757(0x199)][_0x2fc757(0x1a1)](_0x2fc757(0x196)),_0x5b27c0=this[_0x2fc757(0x18d)][_0x2fc757(0x199)][_0x2fc757(0x1a1)](_0xbd2005);return this[_0x2fc757(0x18d)][_0x2fc757(0x189)][_0x2fc757(0x185)](_0x2fc757(0x19f),()=>{const _0x4fbb39=_0x2fc757;this[_0x4fbb39(0x18a)](_0x4006d3,_0x4fbb39(0x18b),(_0x123cb3,_0x310afd,_0x34e34d)=>{const _0xa681ba=_0x4fbb39;_0x20629e[_0xa681ba(0x1a5)]=_0xa681ba(0x194)!==_0x34e34d;});}),this[_0x2fc757(0x18a)](_0x4006d3,_0x2fc757(0x18b),(_0x4806ba,_0x37cd02,_0x1c2000)=>{const _0x166a1b=_0x2fc757;this[_0x166a1b(0x18d)][_0x166a1b(0x199)][_0x166a1b(0x1a1)](_0x166a1b(0x198))[_0x166a1b(0x18f)](_0x166a1b(0x194)!==_0x1c2000);}),_0x5b27c0[_0x2fc757(0x190)](this[_0x2fc757(0x18d)][_0x2fc757(0x191)][_0x2fc757(0x1a1)](_0x2fc757(0x19c)));}[_0x521b6c(0x187)](){const _0x135e00=_0x521b6c;this[_0x135e00(0x18d)][_0x135e00(0x199)][_0x135e00(0x1a1)](_0xbd2005)[_0x135e00(0x1a6)](this[_0x135e00(0x18d)][_0x135e00(0x191)][_0x135e00(0x1a1)](_0x135e00(0x19c))),super[_0x135e00(0x187)]();}}
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 _0xe8e419=_0x3084;(function(_0x175b5b,_0xca471c){const _0xb49a08=_0x3084,_0x2bcf46=_0x175b5b();while(!![]){try{const _0x787500=-parseInt(_0xb49a08(0x1a3))/0x1*(parseInt(_0xb49a08(0x129))/0x2)+-parseInt(_0xb49a08(0x192))/0x3+-parseInt(_0xb49a08(0x136))/0x4*(parseInt(_0xb49a08(0x154))/0x5)+-parseInt(_0xb49a08(0xf9))/0x6*(parseInt(_0xb49a08(0x10e))/0x7)+parseInt(_0xb49a08(0x144))/0x8+-parseInt(_0xb49a08(0x147))/0x9*(parseInt(_0xb49a08(0xec))/0xa)+-parseInt(_0xb49a08(0x167))/0xb*(-parseInt(_0xb49a08(0x125))/0xc);if(_0x787500===_0xca471c)break;else _0x2bcf46['push'](_0x2bcf46['shift']());}catch(_0x1e344d){_0x2bcf46['push'](_0x2bcf46['shift']());}}}(_0x13af,0x18fb4));import{Plugin as _0x45c997,PendingActions as _0x61dfe2}from'ckeditor5/src/core.js';import{CKEditorError as _0x438e09,version as _0x393433,uid as _0x22b974}from'ckeditor5/src/utils.js';import{Notification as _0x5ba798}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x187dfe,NoOperation as _0x40ca17,InsertOperation as _0x3b3a8b,MarkerOperation as _0x390844,RootAttributeOperation as _0xe9ef9,OperationFactory as _0x30c79e,History as _0x514733}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x600f23}from'./websocketgateway.js';import{Sessions as _0x4a2e42}from'./sessions.js';import{UserMarkers as _0x1b21bb}from'./usermarkers.js';import{getTranslation as _0x3c69c2}from'../common-translations.js';import{Compressor as _0x14ba2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x490da8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5f472a,CollaborativeEditingService as _0x22282b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;export class RealTimeCollaborationClient extends _0x45c997{static [_0xe8e419(0x115)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x22282b)());[_0xe8e419(0x184)];[_0xe8e419(0x12a)];[_0xe8e419(0x1e9)];[_0xe8e419(0x116)];[_0xe8e419(0x152)];[_0xe8e419(0x158)];[_0xe8e419(0xf4)];[_0xe8e419(0x179)];[_0xe8e419(0x19e)];[_0xe8e419(0x15a)];[_0xe8e419(0x163)];[_0xe8e419(0x102)];[_0xe8e419(0x1c8)];[_0xe8e419(0x190)];[_0xe8e419(0x17b)];[_0xe8e419(0x106)];[_0xe8e419(0x11a)];[_0xe8e419(0x1c9)];static get[_0xe8e419(0x1ce)](){return[_0x600f23,_0x4a2e42,_0x1b21bb,_0x61dfe2,_0x490da8,_0x5ba798];}static get[_0xe8e419(0x1c5)](){const _0x432521=_0xe8e419;return _0x432521(0x15b);}static get[_0xe8e419(0x1c0)](){return!0x0;}static get[_0xe8e419(0x196)](){return!0x0;}get[_0xe8e419(0x1a7)](){const _0x20438b=_0xe8e419;return this[_0x20438b(0x1db)]+this[_0x20438b(0x184)];}get[_0xe8e419(0x1db)](){const _0x10a4f2=_0xe8e419;return this[_0x10a4f2(0x1e9)][_0x10a4f2(0x123)]-this[_0x10a4f2(0x184)];}get[_0xe8e419(0x16e)](){const _0x4ec073=_0xe8e419,_0x23ddc9=this[_0x4ec073(0x1e9)][_0x4ec073(0x1aa)]();for(let _0x5b5df4=_0x23ddc9[_0x4ec073(0x199)]-0x1;_0x5b5df4>=0x0;_0x5b5df4--){const _0xea96ef=_0x23ddc9[_0x5b5df4];if(!this[_0x4ec073(0x11a)][_0x4ec073(0x173)](_0xea96ef))return _0xea96ef[_0x4ec073(0x168)]+0x1-this[_0x4ec073(0x184)];}return 0x0;}constructor(_0x92865){const _0x43c7bf=_0xe8e419;if(super(_0x92865),this[_0x43c7bf(0x184)]=0x0,this[_0x43c7bf(0x12a)]=null,this[_0x43c7bf(0x1e9)]=new _0x514733(),this[_0x43c7bf(0x143)][_0x43c7bf(0x1dd)][_0x43c7bf(0x13e)](_0x43c7bf(0x103),{}),this[_0x43c7bf(0x116)]=this[_0x43c7bf(0x143)][_0x43c7bf(0x1dd)][_0x43c7bf(0x11d)](_0x43c7bf(0x1e6)),!this[_0x43c7bf(0x116)])throw new _0x438e09(_0x43c7bf(0x105),this);const _0x3d5ed2=_0x92865[_0x43c7bf(0x1dd)][_0x43c7bf(0x11d)](_0x43c7bf(0x157))||_0x393433;this[_0x43c7bf(0x152)]=new RealTimeCollaborationClient[(_0x43c7bf(0x115))](_0x3d5ed2,this[_0x43c7bf(0x116)]),this[_0x43c7bf(0x158)]=this[_0x43c7bf(0x143)][_0x43c7bf(0x132)][_0x43c7bf(0x1ab)],this[_0x43c7bf(0xf4)]=new _0x14ba2(),this[_0x43c7bf(0x179)]=[],this[_0x43c7bf(0x19e)]=new WeakSet(),this[_0x43c7bf(0x15a)]=new Set(),this[_0x43c7bf(0x127)](_0x43c7bf(0x122),!0x1),this[_0x43c7bf(0x127)](_0x43c7bf(0x193),!0x1),this[_0x43c7bf(0x163)]=null,this[_0x43c7bf(0x102)]=!0x1,this[_0x43c7bf(0x1c8)]=null,this[_0x43c7bf(0x190)]=0x12c,this[_0x43c7bf(0x17b)]=this[_0x43c7bf(0x190)],this[_0x43c7bf(0x106)]=null,this[_0x43c7bf(0x11a)]=new WeakSet(),this[_0x43c7bf(0x1c9)]=new OperationIdentifier(this[_0x43c7bf(0x11a)]);}[_0xe8e419(0xf2)](){const _0x145472=_0xe8e419,_0x1de11a=this[_0x145472(0x143)],_0x8d1377=_0x1de11a[_0x145472(0x11b)][_0x145472(0x11d)](_0x490da8),_0x42893f=_0x1de11a[_0x145472(0x11b)][_0x145472(0x11d)](_0x600f23);this[_0x145472(0x1a8)](_0x8d1377,_0x145472(0x1b0),(_0x4be187,_0x985534)=>{const _0x2494e5=_0x145472,_0x488a19=_0x985534[0x0];_0x488a19[_0x2494e5(0x1e1)]&&(_0x4be187[_0x2494e5(0x1a5)]=_0x8d1377[_0x2494e5(0x178)](_0x488a19[_0x2494e5(0x1e1)]),_0x4be187[_0x2494e5(0x1d4)]()),null===_0x488a19[_0x2494e5(0x1e1)]&&(_0x4be187[_0x2494e5(0x1a5)]=null,_0x4be187[_0x2494e5(0x1d4)]());},{'priority':_0x145472(0x1a1)}),this[_0x145472(0x1a8)](_0x1de11a[_0x145472(0x132)][_0x145472(0x1ab)][_0x145472(0xe8)],_0x145472(0x130),(_0x2a6f50,_0x4562ab)=>{const _0x1d893f=_0x145472;_0x4562ab[_0x1d893f(0x1b5)]&&this[_0x1d893f(0x185)]();}),this[_0x145472(0x1a8)](_0x1de11a[_0x145472(0x1e2)][_0x145472(0x1bf)],_0x145472(0x126),()=>{const _0x3652e0=_0x145472;this[_0x3652e0(0x185)]();}),this[_0x145472(0x1c7)](),_0x1de11a[_0x145472(0x132)]['on'](_0x145472(0x180),(_0x1922d4,_0x18bad5)=>{const _0x5276b9=_0x145472,_0xd9a48a=_0x18bad5[0x0];_0xd9a48a[_0x5276b9(0x14b)]&&(this[_0x5276b9(0x1cb)](_0xd9a48a),this[_0x5276b9(0x1a2)]()&&this[_0x5276b9(0x111)]());}),this[_0x145472(0x1a4)](),this[_0x145472(0x135)](_0x145472(0x117))['to'](_0x42893f,_0x145472(0x1dc),this,_0x145472(0x193),(_0x5d0a09,_0x8ad959)=>_0x145472(0x1bc)===_0x5d0a09&&!_0x8ad959),this['on'](_0x145472(0x10b),()=>{const _0x101981=_0x145472;this[_0x101981(0x117)]?_0x1de11a[_0x101981(0x188)](_0x101981(0x1eb)):_0x1de11a[_0x101981(0x14e)](_0x101981(0x1eb));}),this[_0x145472(0x117)]?_0x1de11a[_0x145472(0x188)](_0x145472(0x1eb)):_0x1de11a[_0x145472(0x14e)](_0x145472(0x1eb)),this[_0x145472(0x127)](_0x145472(0x161),!0x1);}async[_0xe8e419(0x162)](){const _0x29eaf3=_0xe8e419,_0x44f294=this[_0x29eaf3(0x143)][_0x29eaf3(0x11b)][_0x29eaf3(0x11d)](_0x4a2e42),_0x169dd1=this[_0x29eaf3(0x143)][_0x29eaf3(0x11b)][_0x29eaf3(0x11d)](_0x600f23);try{this[_0x29eaf3(0x122)]=!0x0,_0x44f294[_0x29eaf3(0x1c3)](this[_0x29eaf3(0x116)]);const _0x162033=await this[_0x29eaf3(0x152)][_0x29eaf3(0x162)](_0x169dd1[_0x29eaf3(0x17c)],this[_0x29eaf3(0x16e)]);await this[_0x29eaf3(0x16a)](_0x162033)&&(this[_0x29eaf3(0x122)]=!0x1,this[_0x29eaf3(0x107)]());const _0xa1b796=await this[_0x29eaf3(0x152)][_0x29eaf3(0x15d)]();_0x44f294[_0x29eaf3(0x16b)](this[_0x29eaf3(0x116)],_0xa1b796),this[_0x29eaf3(0x108)](),this[_0x29eaf3(0x161)]=!0x0;}catch(_0x194228){if(function(_0x2a7470){const _0x6582dc=_0x29eaf3;return _0x6582dc(0xfb)===_0x2a7470[_0x6582dc(0x172)];}(_0x194228)&&this[_0x29eaf3(0x12a)])await this[_0x29eaf3(0x101)]();else{if(function(_0x2030cc){const _0x13a912=_0x29eaf3;return _0x13a912(0x165)===_0x2030cc[_0x13a912(0x172)];}(_0x194228)){const _0x1a1e83=_0x3c69c2(this[_0x29eaf3(0x143)][_0x29eaf3(0x189)],_0x29eaf3(0x1a6));this[_0x29eaf3(0x166)](_0x1a1e83);}else{if(!(_0x194228 instanceof ReconnectionError))throw _0x194228;this[_0x29eaf3(0x166)]();}}}}[_0xe8e419(0x140)](){const _0x4ed32a=_0xe8e419,_0x370854=this[_0x4ed32a(0x143)][_0x4ed32a(0x11b)][_0x4ed32a(0x11d)](_0x600f23),_0x2fd8ad=this[_0x4ed32a(0x143)][_0x4ed32a(0x11b)][_0x4ed32a(0x11d)](_0x4a2e42);this[_0x4ed32a(0x143)][_0x4ed32a(0x14e)](_0x4ed32a(0x15f)),_0x2fd8ad[_0x4ed32a(0x14c)][_0x4ed32a(0x173)](this[_0x4ed32a(0x116)])&&_0x2fd8ad[_0x4ed32a(0x1c3)](this[_0x4ed32a(0x116)]),_0x370854[_0x4ed32a(0x11f)](this),this[_0x4ed32a(0x18d)](),super[_0x4ed32a(0x140)]();}async[_0xe8e419(0x16a)](_0x33eabe){const _0x3cbdfe=_0xe8e419;if(this[_0x3cbdfe(0x12a)]!==_0x33eabe[_0x3cbdfe(0x12a)]&&this[_0x3cbdfe(0x106)]!==_0x33eabe[_0x3cbdfe(0x1c6)])throw new ReconnectionError();return this[_0x3cbdfe(0x12a)]=_0x33eabe[_0x3cbdfe(0x12a)],this[_0x3cbdfe(0xea)]([],{..._0x33eabe,'wereChangesApplied':!0x1,'data':_0x33eabe[_0x3cbdfe(0x148)]},_0x3cbdfe(0x162));}async[_0xe8e419(0x1e0)](_0x5ddf52,_0x2f534c=!0x1){const _0xb28596=_0xe8e419,{connection:_0x84ae3e}=this[_0xb28596(0x143)][_0xb28596(0x11b)][_0xb28596(0x11d)](_0x600f23);RealTimeCollaborationClient[_0xb28596(0x115)][_0xb28596(0x15d)](_0x84ae3e,this[_0xb28596(0x116)])[_0xb28596(0xf1)](_0x4a69c6=>this[_0xb28596(0x13b)](_0x4a69c6))[_0xb28596(0x1d8)](_0x44e4c2=>{const _0x274741=_0xb28596;this[_0x274741(0x1e5)](_0x274741(0x150),_0x44e4c2);}),this[_0xb28596(0x1a8)](this[_0xb28596(0x152)],_0xb28596(0x17a),this[_0xb28596(0x191)][_0xb28596(0x135)](this)),this[_0xb28596(0x1a8)](this[_0xb28596(0x152)],_0xb28596(0x142),(_0x4a4d45,_0x268415)=>{const _0x27941c=_0xb28596;this[_0x27941c(0x1e5)](_0x27941c(0x1ea),_0x268415);}),this[_0xb28596(0x1a8)](this[_0xb28596(0x152)],_0xb28596(0xfc),()=>{const _0x4ded05=_0xb28596;this[_0x4ded05(0x161)]=!0x1;});const _0x1b427a=this[_0xb28596(0x1c9)][_0xb28596(0x145)](_0x5ddf52);this[_0xb28596(0x122)]=!0x0;const _0x1fa68f=await this[_0xb28596(0x152)][_0xb28596(0x1ba)](_0x84ae3e,this[_0xb28596(0x112)](_0x5ddf52),_0x1b427a);if(this[_0xb28596(0x12a)]=_0x1fa68f[_0xb28596(0x12a)],_0x2f534c){if(!_0x1fa68f[_0xb28596(0x13f)])return void this[_0xb28596(0x166)]();this[_0xb28596(0x122)]=!0x1,this[_0xb28596(0x107)](),this[_0xb28596(0x1e9)][_0xb28596(0x1c1)](),this[_0xb28596(0x184)]=_0x1fa68f[_0xb28596(0x1b4)],this[_0xb28596(0x1e9)][_0xb28596(0x123)]=this[_0xb28596(0x184)],await this[_0xb28596(0xea)](_0x5ddf52,_0x1fa68f,_0xb28596(0x195));}else await this[_0xb28596(0x1b6)](_0x1fa68f,_0x5ddf52);this[_0xb28596(0x108)](),this[_0xb28596(0x161)]=!0x0;}[_0xe8e419(0x108)](){const _0x53aa4e=_0xe8e419,_0x4c0d64=this[_0x53aa4e(0x143)][_0x53aa4e(0x11b)][_0x53aa4e(0x11d)](_0x4a2e42),_0xa7fe92=this[_0x53aa4e(0x143)][_0x53aa4e(0x11b)][_0x53aa4e(0x11d)](_0x1b21bb),_0x308565=_0x4c0d64[_0x53aa4e(0x14c)][_0x53aa4e(0x11d)](this[_0x53aa4e(0x116)]);_0x308565&&_0x308565[_0x53aa4e(0x199)]>0x1?_0xa7fe92[_0x53aa4e(0xef)]():this[_0x53aa4e(0x1a8)](_0x4c0d64,_0x53aa4e(0x197)+this[_0x53aa4e(0x116)],()=>{const _0x5f0d30=_0x53aa4e;0x2===_0x4c0d64[_0x5f0d30(0x14c)][_0x5f0d30(0x11d)](this[_0x5f0d30(0x116)])[_0x5f0d30(0x199)]&&_0xa7fe92[_0x5f0d30(0xef)]();});}async[_0xe8e419(0x191)](_0x57b406,_0x21c680,_0x33af68,_0x3e8c2a){const _0x19a551=_0xe8e419;if(!this[_0x19a551(0x122)]&&this[_0x19a551(0x158)][_0x19a551(0x123)]==_0x21c680){const _0x3a14cc=this[_0x19a551(0x1cf)](_0x33af68,_0x3e8c2a);await this[_0x19a551(0x13d)](_0x3a14cc),this[_0x19a551(0x1d3)](_0x3a14cc,_0x21c680,_0x33af68[_0x19a551(0x1c6)])||this[_0x19a551(0x1e5)](_0x19a551(0x15e));}}async[_0xe8e419(0x101)](){const _0x28374a=_0xe8e419;this[_0x28374a(0x18d)]();const {locale:_0x57089e}=this[_0x28374a(0x143)];let _0xfa1bd7;try{_0xfa1bd7=await this[_0x28374a(0x152)][_0x28374a(0xee)]();}catch{const _0x1ae191=_0x3c69c2(_0x57089e,_0x28374a(0x10c));return void this[_0x28374a(0x166)](_0x1ae191);}const _0x4aa438=_0xfa1bd7[_0x28374a(0x160)]||_0xfa1bd7[_0x28374a(0x1d5)];if(this[_0x28374a(0x106)]!==_0x4aa438[_0x28374a(0x1c6)]){const _0x2d2d6d=_0x3c69c2(_0x57089e,_0x28374a(0x104));return void this[_0x28374a(0x166)](_0x2d2d6d);}await this[_0x28374a(0x1e0)](this[_0x28374a(0x143)][_0x28374a(0x132)][_0x28374a(0x1ab)][_0x28374a(0x1c2)][_0x28374a(0x1aa)](),!0x0);}[_0xe8e419(0x18d)](){const _0x589aed=_0xe8e419;this[_0x589aed(0x152)][_0x589aed(0xe9)](),this[_0x589aed(0x179)]=[],clearTimeout(this[_0x589aed(0x1c8)]),this[_0x589aed(0x19f)](this[_0x589aed(0x152)]);}[_0xe8e419(0x13b)](_0x51e14c){const _0x1309df=_0xe8e419,_0x1acf04=this[_0x1309df(0x143)][_0x1309df(0x11b)][_0x1309df(0x11d)](_0x4a2e42);this[_0x1309df(0x1a8)](_0x1acf04,_0x1309df(0x197)+this[_0x1309df(0x116)],(_0x233800,{session:_0x3c6a8d})=>{const _0x33fb4a=_0x1309df;if(_0x3c6a8d['id']===_0x1acf04[_0x33fb4a(0x10a)]){_0x233800[_0x33fb4a(0x17d)]();const _0x3ad971=this[_0x33fb4a(0x143)][_0x33fb4a(0x11b)][_0x33fb4a(0x173)](_0x33fb4a(0x182))&&this[_0x33fb4a(0x143)][_0x33fb4a(0x11b)][_0x33fb4a(0x11d)](_0x33fb4a(0x182));let _0x473912=_0x3c6a8d[_0x33fb4a(0x1a0)];_0x3ad971&&_0x3ad971[_0x33fb4a(0x19a)]&&(_0x473912=_0x473912[_0x33fb4a(0x131)](_0x236cfc=>_0x33fb4a(0x194)!==_0x236cfc)),this[_0x33fb4a(0x143)][_0x33fb4a(0x11b)][_0x33fb4a(0x11d)](_0x33fb4a(0x15c))[_0x33fb4a(0xfe)](_0x473912,this[_0x33fb4a(0x116)]);}}),_0x1acf04[_0x1309df(0x16b)](this[_0x1309df(0x116)],_0x51e14c);}[_0xe8e419(0x1c7)](){const _0x43f72e=_0xe8e419,_0x4c6349=this[_0x43f72e(0x143)][_0x43f72e(0x148)][_0x43f72e(0x127)];this[_0x43f72e(0x143)][_0x43f72e(0x148)][_0x43f72e(0x127)]=(..._0x1aae1c)=>{const _0x1c09b2=_0x43f72e;if(!_0x1aae1c[_0x1aae1c[_0x1c09b2(0x199)]-0x1][_0x1c09b2(0xf3)])throw new _0x438e09(_0x1c09b2(0xf7),this);_0x4c6349[_0x1c09b2(0x13c)](this[_0x1c09b2(0x143)][_0x1c09b2(0x148)],_0x1aae1c);};}[_0xe8e419(0x1a4)](){const _0x141b9c=_0xe8e419;this[_0x141b9c(0x143)][_0x141b9c(0x148)]['on'](_0x141b9c(0xf2),(_0x2ff7c4,[_0x26b8f9])=>{const _0x1eacbc=_0x141b9c;if(this[_0x1eacbc(0x158)][_0x1eacbc(0x123)])throw new _0x438e09(_0x1eacbc(0x1ca),this);_0x2ff7c4[_0x1eacbc(0x1d4)](),this[_0x1eacbc(0x159)]();const _0x1dac58=this[_0x1eacbc(0x143)][_0x1eacbc(0x1dd)][_0x1eacbc(0x11d)](_0x1eacbc(0x17e)),_0x305e97=this[_0x1eacbc(0x1c4)](_0x26b8f9,_0x1dac58);0x0==_0x305e97[_0x1eacbc(0x199)]&&_0x305e97[_0x1eacbc(0x141)](new _0x40ca17(0x0)),_0x2ff7c4[_0x1eacbc(0x1a5)]=this[_0x1eacbc(0x1e0)](_0x305e97)[_0x1eacbc(0xf1)](()=>{const _0x1fbad0=_0x1eacbc;this[_0x1fbad0(0x143)][_0x1fbad0(0x11b)][_0x1fbad0(0x11d)](_0x600f23)[_0x1fbad0(0x1b1)](this),this[_0x1fbad0(0x143)][_0x1fbad0(0x148)][_0x1fbad0(0x1be)](_0x1fbad0(0x174));})[_0x1eacbc(0x1d8)](_0x3bb9be=>this[_0x1eacbc(0x1e5)](_0x1eacbc(0x177),_0x3bb9be))[_0x1eacbc(0x1de)](()=>this[_0x1eacbc(0x107)]());},{'priority':_0x141b9c(0x1a1)}),this[_0x141b9c(0x143)]['on'](_0x141b9c(0x1a9),async(_0x13838f,[_0xdb58d6,_0x3bd0a3])=>{const _0x1fa538=_0x141b9c;_0x13838f[_0x1fa538(0x1d4)]();const _0x493f19=this[_0x1fa538(0x143)][_0x1fa538(0x132)][_0x1fa538(0x1ab)][_0x1fa538(0x1b7)](_0xdb58d6);if(!this[_0x1fa538(0x15a)][_0x1fa538(0x173)](_0xdb58d6)){const _0x29df69=_0x3bd0a3&&_0x3bd0a3[_0x1fa538(0x148)]?_0x3bd0a3[_0x1fa538(0x148)]:'',_0x3891bc=_0x3bd0a3&&_0x3bd0a3[_0x1fa538(0x1e8)]?_0x3bd0a3[_0x1fa538(0x1e8)]:{};await this[_0x1fa538(0x14d)](_0xdb58d6,_0x29df69,_0x3891bc);}this[_0x1fa538(0x143)][_0x1fa538(0x132)][_0x1fa538(0x176)]({'isUndoable':!0x1},()=>{const _0x43b03f=_0x1fa538;_0x493f19[_0x43b03f(0x151)]=!0x0,this[_0x43b03f(0x143)][_0x43b03f(0x132)][_0x43b03f(0x1ab)][_0x43b03f(0x14a)][_0x43b03f(0x1cd)](_0x493f19);});},{'priority':_0x141b9c(0x1a1)});}async[_0xe8e419(0x13d)](_0x3fdc8a){const _0x54e54b=_0xe8e419,_0x4ad3fb=this[_0x54e54b(0x143)][_0x54e54b(0x11b)][_0x54e54b(0x11d)](_0x490da8),{connection:_0x25517b}=this[_0x54e54b(0x143)][_0x54e54b(0x11b)][_0x54e54b(0x11d)](_0x600f23),_0xab2354=new Set();for(const _0x527c5b of _0x3fdc8a){const _0x46042d=_0x527c5b[_0x54e54b(0x1e1)];_0x46042d&&!_0x4ad3fb[_0x54e54b(0x178)](_0x46042d)&&_0xab2354[_0x54e54b(0x146)](_0x46042d);}if(0x0===_0xab2354[_0x54e54b(0x1d2)])return;const _0x1cf30f=await _0x5f472a[_0x54e54b(0x16c)](_0x25517b,Array[_0x54e54b(0x128)](_0xab2354));for(const _0x388924 of _0x1cf30f)_0x4ad3fb[_0x54e54b(0x178)](_0x388924['id'])||_0x4ad3fb[_0x54e54b(0x118)](_0x388924);}[_0xe8e419(0x1c4)](_0x54b502,_0xa9cc22={}){const _0x2db2ed=_0xe8e419,_0x323785=this[_0x2db2ed(0x143)][_0x2db2ed(0x132)],_0x1d2a10=[];let _0x4b1e0e=0x0;const _0x442825=_0x2db2ed(0x137)==typeof _0x54b502?{'main':_0x54b502}:_0x54b502;for(const _0x114a7f of Object[_0x2db2ed(0x149)](_0x442825)){if(!this[_0x2db2ed(0x158)][_0x2db2ed(0x16f)][_0x2db2ed(0x173)](_0x114a7f))throw new _0x438e09(_0x2db2ed(0x1cc),this);const _0x48aa93=this[_0x2db2ed(0x143)][_0x2db2ed(0x148)][_0x2db2ed(0x12c)](_0x442825[_0x114a7f]),_0x180909=this[_0x2db2ed(0x158)][_0x2db2ed(0x1b7)](_0x114a7f),_0x247a24=new _0x3b3a8b(_0x323785[_0x2db2ed(0x10d)](_0x180909,0x0),_0x48aa93,_0x4b1e0e++);_0x1d2a10[_0x2db2ed(0x141)](_0x247a24);for(const [_0x132b36,_0x399b2d]of _0x48aa93[_0x2db2ed(0x18b)]){const _0x400e2c=_0x323785[_0x2db2ed(0x1bb)](_0x323785[_0x2db2ed(0x156)](_0x180909,_0x399b2d[_0x2db2ed(0x1d6)][_0x2db2ed(0xfa)][_0x2db2ed(0x113)]()),_0x323785[_0x2db2ed(0x156)](_0x180909,_0x399b2d[_0x2db2ed(0xe7)][_0x2db2ed(0xfa)][_0x2db2ed(0x113)]())),_0x350e27=new _0x390844(_0x132b36,null,_0x400e2c,_0x323785[_0x2db2ed(0x18b)],!0x0,_0x4b1e0e++);_0x1d2a10[_0x2db2ed(0x141)](_0x350e27);}}if(_0xa9cc22)for(const [_0x92215d,_0x3167fc]of Object[_0x2db2ed(0x1da)](_0xa9cc22)){const _0x14d282=_0x323785[_0x2db2ed(0x1ab)][_0x2db2ed(0x1b7)](_0x92215d);if(!_0x14d282)throw new _0x438e09(_0x2db2ed(0x1e7),null);for(const [_0x54fc9e,_0x23196c]of Object[_0x2db2ed(0x1da)](_0x3167fc))if(null!==_0x23196c){const _0x563fb1=new _0xe9ef9(_0x14d282,_0x54fc9e,null,_0x23196c,_0x4b1e0e++);_0x1d2a10[_0x2db2ed(0x141)](_0x563fb1);}}return _0x1d2a10;}async[_0xe8e419(0x14d)](_0x3df61f,_0x4272ce,_0x2019ac){const _0x33fbd1=_0xe8e419;this[_0x33fbd1(0x1c4)]({[_0x3df61f]:_0x4272ce},{[_0x3df61f]:_0x2019ac})[_0x33fbd1(0x12d)]((_0x4818ae,_0x5377d2)=>{const _0x429977=_0x33fbd1;_0x4818ae[_0x429977(0x168)]=this[_0x429977(0x158)][_0x429977(0x123)]+_0x5377d2,_0x4818ae[_0x429977(0x198)]=!0x0,this[_0x429977(0x1cb)](_0x4818ae);}),this[_0x33fbd1(0x111)](),await this[_0x33fbd1(0x1d1)]();}async[_0xe8e419(0x1b6)](_0x51a725,_0x323dec){const _0x478766=_0xe8e419;let _0x24ab40;this[_0x478766(0x184)]=_0x51a725[_0x478766(0x1b4)];const _0x41cba4=_0x51a725[_0x478766(0x13f)]&&!_0x51a725[_0x478766(0x1bd)],_0x3cd100=_0x41cba4?0x0:_0x51a725[_0x478766(0x148)][_0x478766(0x168)];if(_0x323dec[_0x478766(0x12d)](_0x40ef8d=>{const _0xe71b9b=_0x478766;_0x40ef8d[_0xe71b9b(0x198)]=!0x0,_0x40ef8d[_0xe71b9b(0x12f)]=_0x51a725[_0xe71b9b(0x138)],_0x40ef8d[_0xe71b9b(0x1e1)]=null;}),_0x41cba4)_0x24ab40=_0x323dec,this[_0x478766(0xff)](_0x24ab40,_0x41cba4);else{if(_0x51a725[_0x478766(0x1bd)]){const _0x3eb640=this[_0x478766(0x1c4)](_0x51a725[_0x478766(0x1bd)]);this[_0x478766(0x158)][_0x478766(0x1c2)][_0x478766(0x123)]=-_0x3eb640[_0x478766(0x199)],_0x3eb640[_0x478766(0x12d)](_0x53d457=>{const _0x380c42=_0x478766;_0x53d457[_0x380c42(0x168)]-=_0x3eb640[_0x380c42(0x199)],_0x53d457[_0x380c42(0x12f)]=_0x51a725[_0x380c42(0x138)],_0x53d457[_0x380c42(0x198)]=!0x0,_0x53d457[_0x380c42(0x1e1)]=null;}),this[_0x478766(0xff)](_0x3eb640,!0x0),this[_0x478766(0x1e9)][_0x478766(0x123)]=-_0x3eb640[_0x478766(0x199)]+this[_0x478766(0x184)],this[_0x478766(0xe5)](_0x3eb640);}this[_0x478766(0x158)][_0x478766(0x1c2)][_0x478766(0x123)]=_0x3cd100,_0x24ab40=this[_0x478766(0x1cf)](_0x51a725[_0x478766(0x148)],_0x51a725[_0x478766(0xfd)]),await this[_0x478766(0x13d)](_0x24ab40),this[_0x478766(0xff)](_0x24ab40,_0x41cba4);}_0x51a725[_0x478766(0x1c6)]&&(this[_0x478766(0x1c9)][_0x478766(0x12b)](_0x24ab40,_0x51a725[_0x478766(0x1c6)]),this[_0x478766(0x106)]=_0x51a725[_0x478766(0x1c6)]),this[_0x478766(0x1e9)][_0x478766(0x123)]=_0x3cd100+this[_0x478766(0x184)],this[_0x478766(0xe5)](_0x24ab40),_0x323dec[_0x478766(0x131)](_0x2133fc=>{const _0x28a847=_0x478766,_0x55bee6=this[_0x28a847(0x175)](_0x2133fc);return _0x55bee6&&!this[_0x28a847(0x15a)][_0x28a847(0x173)](_0x55bee6);})[_0x478766(0x12d)]((_0x554cce,_0x4e42d3)=>{const _0x56cd23=_0x478766;_0x554cce[_0x56cd23(0x168)]=this[_0x56cd23(0x158)][_0x56cd23(0x123)]+_0x4e42d3,this[_0x56cd23(0x1cb)](_0x554cce);}),this[_0x478766(0x1a2)]()?(this[_0x478766(0x17b)]=0x0,this[_0x478766(0x111)](!0x0),await this[_0x478766(0x1d1)]()):(this[_0x478766(0x122)]=!0x1,this[_0x478766(0x107)]());}[_0xe8e419(0x1e5)](_0x1f112a,_0x15ba4e){const _0xdf1706=_0xe8e419,_0x290f97=_0x15ba4e&&_0x15ba4e[_0xdf1706(0x100)];if(_0x290f97&&_0x290f97[_0xdf1706(0x120)](_0xdf1706(0x1e4)))throw _0x15ba4e;const _0x432cbe=this[_0xdf1706(0x143)][_0xdf1706(0x11b)][_0xdf1706(0x11d)](_0x600f23);throw this[_0xdf1706(0x122)]=!0x0,_0x432cbe[_0xdf1706(0xe9)](),this[_0xdf1706(0x143)][_0xdf1706(0x14e)](_0xdf1706(0x139)),new _0x438e09(_0x1f112a,this[_0xdf1706(0x143)],_0x290f97?{'originalError':_0x290f97}:void 0x0);}[_0xe8e419(0x1cb)](_0x3c5759){const _0x2924c0=_0xe8e419;this[_0x2924c0(0x19e)][_0x2924c0(0x173)](_0x3c5759)||(this[_0x2924c0(0x19e)][_0x2924c0(0x146)](_0x3c5759),this[_0x2924c0(0x179)][_0x2924c0(0x141)](_0x3c5759),this[_0x2924c0(0x163)]||_0x2924c0(0x110)==_0x3c5759[_0x2924c0(0x19b)]&&!_0x3c5759[_0x2924c0(0x18f)]||this[_0x2924c0(0x159)]());}[_0xe8e419(0x111)](_0x19c96a=!0x1){const _0x507475=_0xe8e419;!_0x19c96a&&this[_0x507475(0x122)]||(this[_0x507475(0x122)]=!0x0,clearTimeout(this[_0x507475(0x1c8)]),this[_0x507475(0x1c8)]=setTimeout(()=>{const _0x105d96=_0x507475;this[_0x105d96(0x155)]()[_0x105d96(0xf1)](_0x5b811a=>{const _0x30af13=_0x105d96;_0x5b811a&&(this[_0x30af13(0x107)](),this[_0x30af13(0x122)]=!0x1);})[_0x105d96(0x1d8)](_0x5d78dc=>{const _0x4904ff=_0x105d96;this[_0x4904ff(0x107)](),this[_0x4904ff(0x122)]=!0x1,function(_0x49af37){const _0xece5f8=_0x4904ff;return _0x49af37[_0xece5f8(0x100)][_0xece5f8(0x120)](_0xece5f8(0xf0))||_0x49af37[_0xece5f8(0x100)][_0xece5f8(0x120)](_0xece5f8(0x1ad))||_0x49af37[_0xece5f8(0x100)][_0xece5f8(0x120)](_0xece5f8(0x1b2));}(_0x5d78dc)||this[_0x4904ff(0x1e5)](_0x5d78dc[_0x4904ff(0x100)],_0x5d78dc);});},this[_0x507475(0x17b)]));}[_0xe8e419(0x1d1)](){return new Promise(_0x346642=>{const _0x18a2f2=_0x3084;this['on'](_0x18a2f2(0x1b3),()=>{_0x346642();});});}async[_0xe8e419(0x155)](){const _0x5df02e=_0xe8e419,_0x36a8e9=this[_0x5df02e(0x143)][_0x5df02e(0x11b)][_0x5df02e(0x11d)](_0x1b21bb);if(this[_0x5df02e(0xed)]()&&(_0x36a8e9[_0x5df02e(0xef)](),this[_0x5df02e(0x102)]=!0x1),!this[_0x5df02e(0x1a2)]())return!0x0;const _0x3b3238=[...this[_0x5df02e(0x179)]];for(const _0x13b650 of _0x3b3238)_0x13b650[_0x5df02e(0x1d9)]=this[_0x5df02e(0x158)][_0x5df02e(0x1c2)][_0x5df02e(0x164)](_0x13b650);const _0x49373f=this[_0x5df02e(0x1c9)][_0x5df02e(0x145)](_0x3b3238),_0x2a8663=j++,_0x4a0431=this[_0x5df02e(0x112)](_0x3b3238),_0x98fc26=await this[_0x5df02e(0x152)][_0x5df02e(0x1b9)](_0x4a0431,_0x4a0431[_0x5df02e(0x168)],_0x49373f);try{return await this[_0x5df02e(0xea)](_0x3b3238,_0x98fc26,_0x2a8663);}catch(_0x5dacbe){return this[_0x5df02e(0x1e5)](_0x5df02e(0x16d),_0x5dacbe);}}async[_0xe8e419(0xea)](_0xba6da0,_0x18401c,_0x435757){const _0x257289=_0xe8e419;if(_0x257289(0x142)in _0x18401c)throw _0x18401c[_0x257289(0x142)];let _0x573e09=!0x1;if(_0x18401c[_0x257289(0x13f)]){_0x18401c[_0x257289(0x1c6)]&&(this[_0x257289(0x106)]=_0x18401c[_0x257289(0x1c6)]),this[_0x257289(0x179)]=this[_0x257289(0x179)][_0x257289(0x131)](_0x56caf2=>!_0xba6da0[_0x257289(0xf5)](_0x56caf2));for(const _0x5c9787 of _0xba6da0)_0x5c9787[_0x257289(0x12f)]=_0x257289(0x1ac)in _0x18401c&&_0x18401c[_0x257289(0x1ac)]||void 0x0;D(_0xba6da0,_0x18401c[_0x257289(0x123)]-_0xba6da0[_0x257289(0x199)]),this[_0x257289(0xe5)](_0xba6da0);const _0x42d569=_0xba6da0[_0x257289(0x131)](_0x2ccd93=>{const _0x52e097=_0x257289;if(!_0x2ccd93[_0x52e097(0x198)])return!0x1;const _0x403830=this[_0x52e097(0x175)](_0x2ccd93);return _0x403830&&!this[_0x52e097(0x15a)][_0x52e097(0x173)](_0x403830);});D(_0x42d569,this[_0x257289(0x158)][_0x257289(0x123)]),this[_0x257289(0xff)](_0x42d569),_0x573e09=!0x0,this[_0x257289(0x17b)]=this[_0x257289(0x190)];}else{const _0x2073a0=this[_0x257289(0x1cf)](_0x18401c[_0x257289(0x148)],_0x18401c[_0x257289(0xfd)])[_0x257289(0x131)](_0x25d3d2=>_0x25d3d2[_0x257289(0x168)]>=this[_0x257289(0x1db)]);_0x2073a0[_0x257289(0x12d)](_0xa2ec44=>this[_0x257289(0x18c)](_0xa2ec44)),this[_0x257289(0x179)]=this[_0x257289(0x179)][_0x257289(0x131)](_0x5269ab=>!_0x5269ab[_0x257289(0x198)]||!this[_0x257289(0x15a)][_0x257289(0x173)](this[_0x257289(0x175)](_0x5269ab))),this[_0x257289(0x179)][_0x257289(0x199)]&&D(this[_0x257289(0x179)],this[_0x257289(0x179)][0x0][_0x257289(0x168)]),await this[_0x257289(0x13d)](_0x2073a0),_0x573e09=this[_0x257289(0x1d3)](_0x2073a0,_0x18401c[_0x257289(0x123)],_0x18401c[_0x257289(0x1c6)]),this[_0x257289(0x17b)]=Math[_0x257289(0x153)](this[_0x257289(0x17b)]/0x2);}return _0x573e09?!this[_0x257289(0x1a2)]()||(this[_0x257289(0x111)](!0x0),!0x1):this[_0x257289(0x1e5)](_0x257289(0x186));}[_0xe8e419(0x1d3)](_0x59faf5,_0x280996,_0x4bdc41){const _0x5c663c=_0xe8e419;try{const _0x115168={'document':this[_0x5c663c(0x158)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x53ddef,operationsB:_0x5bf834,originalOperations:_0x2c076c}=_0x187dfe(_0x59faf5,this[_0x5c663c(0x179)],_0x115168);D(_0x53ddef,this[_0x5c663c(0x158)][_0x5c663c(0x123)]),D(_0x5bf834,_0x280996);for(const _0x2925b2 of _0x53ddef){const _0x45dd8b=_0x2c076c[_0x5c663c(0x11d)](_0x2925b2);_0x2925b2[_0x5c663c(0x1e1)]=_0x45dd8b?_0x45dd8b[_0x5c663c(0x1e1)]:null;}_0x4bdc41&&(this[_0x5c663c(0x1c9)][_0x5c663c(0x12b)](_0x59faf5,_0x4bdc41),this[_0x5c663c(0x106)]=_0x4bdc41),this[_0x5c663c(0x179)]=[..._0x5bf834],this[_0x5c663c(0xff)](_0x53ddef),this[_0x5c663c(0xe5)](_0x59faf5);}catch(_0x10a5a1){return console[_0x5c663c(0x142)](_0x10a5a1),!0x1;}return!0x0;}[_0xe8e419(0xff)](_0x1c1611,_0x5ea583=!0x1){const _0x3c3f7d=_0xe8e419;this[_0x3c3f7d(0x143)][_0x3c3f7d(0x132)][_0x3c3f7d(0x176)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1073a4=>{const _0x5b3d89=_0x3c3f7d;for(const _0x1b5f83 of _0x1c1611)this[_0x5b3d89(0x19e)][_0x5b3d89(0x146)](_0x1b5f83),this[_0x5b3d89(0x18c)](_0x1b5f83),_0x1073a4[_0x5b3d89(0x13a)][_0x5b3d89(0xf6)](_0x1b5f83),this[_0x5b3d89(0x143)][_0x5b3d89(0x132)][_0x5b3d89(0x180)](_0x1b5f83);});}[_0xe8e419(0x18c)](_0x3b286f){const _0x3628ed=_0xe8e419,_0x1571a4=this[_0x3628ed(0x175)](_0x3b286f);_0x1571a4&&this[_0x3628ed(0x15a)][_0x3628ed(0x146)](_0x1571a4);}[_0xe8e419(0x175)](_0x3ba7a9){const _0xbbd69a=_0xe8e419;let _0x3bc340,_0x34c995;switch(_0x3ba7a9[_0xbbd69a(0x19b)]){case _0xbbd69a(0x17f):_0x3bc340=_0x3ba7a9[_0xbbd69a(0x14f)][_0xbbd69a(0x1af)];break;case _0xbbd69a(0x110):if(_0x34c995=_0x3ba7a9[_0xbbd69a(0x119)],!_0x34c995)return null;_0x3bc340=_0x34c995[_0xbbd69a(0x1af)];break;case _0xbbd69a(0x181):_0x3bc340=_0x3ba7a9[_0xbbd69a(0x1af)];break;case _0xbbd69a(0x1e3):_0x3bc340=_0x3ba7a9[_0xbbd69a(0xeb)];break;case _0xbbd69a(0x19d):_0x3bc340=_0x3ba7a9[_0xbbd69a(0x11e)][_0xbbd69a(0x1af)];break;default:return null;}return _0x3bc340[_0xbbd69a(0x124)];}[_0xe8e419(0xe5)](_0x303255){const _0x196e85=_0xe8e419;_0x303255[_0x196e85(0x12d)](_0x3afe39=>{const _0x15492c=_0x196e85,_0x263154=_0x3afe39[_0x15492c(0x1ae)]();_0x263154[_0x15492c(0x1e1)]=_0x3afe39[_0x15492c(0x1e1)],_0x263154[_0x15492c(0x198)]=!!_0x3afe39[_0x15492c(0x198)],_0x263154[_0x15492c(0x12f)]=_0x3afe39[_0x15492c(0x12f)],_0x263154[_0x15492c(0x168)]+=this[_0x15492c(0x184)],_0x3afe39[_0x15492c(0x1b8)]&&this[_0x15492c(0x11a)][_0x15492c(0x146)](_0x263154),this[_0x15492c(0x1e9)][_0x15492c(0xf6)](_0x263154);});}[_0xe8e419(0x166)](_0x244665){const _0x39a93f=_0xe8e419,_0x255962=this[_0x39a93f(0x143)][_0x39a93f(0x11b)][_0x39a93f(0x11d)](_0x39a93f(0xe6)),_0x2020b0=this[_0x39a93f(0x143)][_0x39a93f(0x189)];_0x244665||(_0x244665=_0x3c69c2(_0x2020b0,_0x39a93f(0x171))),_0x255962[_0x39a93f(0x121)](_0x244665,{'title':_0x3c69c2(_0x2020b0,_0x39a93f(0x1df)),'namespace':_0x39a93f(0x187)}),this[_0x39a93f(0x193)]=!0x0,clearTimeout(this[_0x39a93f(0x1c8)]),this[_0x39a93f(0x179)]=[],this[_0x39a93f(0x143)][_0x39a93f(0x11b)][_0x39a93f(0x11d)](_0x600f23)[_0x39a93f(0xe9)]();}[_0xe8e419(0x159)](){const _0x215564=_0xe8e419;this[_0x215564(0x163)]||(this[_0x215564(0x163)]=this[_0x215564(0x143)][_0x215564(0x11b)][_0x215564(0x11d)](_0x61dfe2)[_0x215564(0x146)](_0x3c69c2(this[_0x215564(0x143)][_0x215564(0x189)],_0x215564(0x12e))));}[_0xe8e419(0x107)](){const _0x2bc161=_0xe8e419;this[_0x2bc161(0x163)]&&(this[_0x2bc161(0x143)][_0x2bc161(0x11b)][_0x2bc161(0x11d)](_0x61dfe2)[_0x2bc161(0x109)](this[_0x2bc161(0x163)]),this[_0x2bc161(0x163)]=null);}[_0xe8e419(0x112)](_0x5337ed){const _0xc2af67=_0xe8e419,_0x5207b4=_0x5337ed[_0xc2af67(0x133)](_0x4985bf=>_0x4985bf[_0xc2af67(0x19c)]());return this[_0xc2af67(0xf4)][_0xc2af67(0x1ec)](_0x5207b4);}[_0xe8e419(0x1cf)](_0x29b5e5,_0x586f96){const _0x1d7fb7=_0xe8e419;return this[_0x1d7fb7(0xf4)][_0x1d7fb7(0x170)](_0x29b5e5)[_0x1d7fb7(0x133)]((_0xff8dff,_0x21984c)=>{const _0x19069d=_0x1d7fb7,_0x47dded=_0x19069d(0xf2)==_0x586f96[_0x21984c][_0x19069d(0x19b)];if(_0x19069d(0x1d7)==_0xff8dff[_0x19069d(0x18e)]){const _0x4eaa82=_0xff8dff[_0x19069d(0x14f)][_0x19069d(0x1af)];!this[_0x19069d(0x158)][_0x19069d(0x1b7)](_0x4eaa82)&&(this[_0x19069d(0x158)][_0x19069d(0x18a)](_0x19069d(0x183),_0x4eaa82)[_0x19069d(0x114)]=!0x1);}const _0x585a8f=_0x30c79e[_0x19069d(0x11c)](_0xff8dff,this[_0x19069d(0x158)]);return _0x585a8f[_0x19069d(0x1d9)]=_0xff8dff[_0x19069d(0x1d9)],_0x585a8f[_0x19069d(0x198)]=_0x47dded,_0x585a8f[_0x19069d(0x1e1)]=_0x47dded?null:_0x586f96[_0x21984c][_0x19069d(0x1d0)],_0x585a8f[_0x19069d(0x1b8)]=_0x19069d(0x10f)===_0x586f96[_0x21984c][_0x19069d(0x19b)],_0x585a8f[_0x19069d(0x12f)]=_0x586f96[_0x21984c][_0x19069d(0x12f)],_0x585a8f;});}[_0xe8e419(0x185)](){const _0x5610e7=_0xe8e419;this[_0x5610e7(0x102)]=!0x0,this[_0x5610e7(0xed)]()?this[_0x5610e7(0x111)]():this[_0x5610e7(0x102)]=!0x1;}[_0xe8e419(0xed)](){const _0x5d23af=_0xe8e419,_0x4823df=this[_0x5d23af(0x143)][_0x5d23af(0x11b)][_0x5d23af(0x11d)](_0x4a2e42)[_0x5d23af(0x14c)][_0x5d23af(0x11d)](this[_0x5d23af(0x116)]);return!this[_0x5d23af(0x143)][_0x5d23af(0x169)]&&!!_0x4823df&&_0x4823df[_0x5d23af(0x199)]>0x1&&this[_0x5d23af(0x102)];}[_0xe8e419(0x1a2)](){const _0x5bed45=_0xe8e419;return this[_0x5bed45(0x179)][_0x5bed45(0x199)]>0x0||this[_0x5bed45(0xed)]();}}class ReconnectionError extends Error{}function D(_0x4027b6,_0x53692f){const _0x22011b=_0xe8e419;for(const _0x2d1fa0 of _0x4027b6)_0x2d1fa0[_0x22011b(0x168)]=_0x53692f++;}function _0x3084(_0x284bc6,_0x4245c5){const _0x13af36=_0x13af();return _0x3084=function(_0x3084b5,_0x16a81f){_0x3084b5=_0x3084b5-0xe5;let _0x1e775f=_0x13af36[_0x3084b5];return _0x1e775f;},_0x3084(_0x284bc6,_0x4245c5);}class OperationIdentifier{[_0xe8e419(0xf8)];[_0xe8e419(0x134)];constructor(_0x35203f){const _0x44c76b=_0xe8e419;this[_0x44c76b(0xf8)]=_0x35203f,this[_0x44c76b(0x134)]=new WeakMap();}[_0xe8e419(0x145)](_0x3c3c23){const _0x5b56e9=_0xe8e419;let _0x4f92ab=_0x3c3c23[_0x5b56e9(0x199)];for(;_0x4f92ab--;){const _0x1870c7=_0x3c3c23[_0x4f92ab];if(!this[_0x5b56e9(0xf8)][_0x5b56e9(0x173)](_0x1870c7)){if(!this[_0x5b56e9(0x134)][_0x5b56e9(0x173)](_0x1870c7)){const _0x33ebe7=_0x22b974()[_0x5b56e9(0x113)](0x1,0x12);this[_0x5b56e9(0x134)][_0x5b56e9(0x127)](_0x1870c7,_0x33ebe7);}return this[_0x5b56e9(0x134)][_0x5b56e9(0x11d)](_0x1870c7);}}}[_0xe8e419(0x12b)](_0x36bffd,_0x3c7295){const _0xeef58a=_0xe8e419;if(!_0x3c7295)return;let _0x3782e5=_0x36bffd[_0xeef58a(0x199)];for(;_0x3782e5--;){const _0x1ec62f=_0x36bffd[_0x3782e5];this[_0xeef58a(0xf8)][_0xeef58a(0x173)](_0x1ec62f)||this[_0xeef58a(0x134)][_0xeef58a(0x127)](_0x1ec62f,_0x3c7295);}}}function _0x13af(){const _0x38ad75=['212mxIsxX','string','sessionCreatedAt','realtimecollaborationclient-error','batch','_initSessionsHandling','apply','_fetchMissingUsers','define','wereChangesApplied','destroy','push','error','editor','1255168dkERcg','getIdOfTheLastOperation','add','63npONay','data','keys','differ','isDocumentOperation','channelSessions','_loadRoot','enableReadOnlyMode','position','realtimecollaborationclient-init-session-connection-error','_isLoaded','_service','round','3035AmJNJv','_sendBufferedOperations','createPositionFromPath','cloudServices.bundleVersion','_document','_setPendingAction','_knownRootNames','RealTimeCollaborationClient','Permissions','getConnectedSessions','realtimecollaborationclient-init-service-incorrect-server-operation','rtc-destroyed','currentDocumentSession','_isConnected','reconnect','_pendingAction','isUndoneOperation','409','_handleReconnectionError','337601neMHhK','baseVersion','isReadOnly','_handleReconnectionResponse','register','getMany','realtimecollaborationclient-sendbufferedoperations','lastSyncVersion','roots','decompress','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.','code','has','ready','_getAffectedRoot','enqueueChange','realtimecollaborationclient-init-connection-failed','getUser','_bufferedOperations','operationsReceived','_currentBufferDelay','connection','off','rootsAttributes','insert','applyOperation','addRootAttribute','CommentsOnly','$root','_offset','_refreshUserSelectionMarkers','realtimecollaborationclient-handleserverresponse','real-time-collaboration','disableReadOnlyMode','locale','createRoot','markers','_addKnownRoot','_disconnectService','__className','affectsData','_baseBufferDelay','_handleReceivedOperations','264921CaYhhy','_hasSynchronizationProblem','document:write','reconnection:\x20flushed\x20session','isPremiumPlugin','sessionAdd:','_isInit','length','isEnabled','type','toJSON','move','_knownOperations','stopListening','permissions','high','_shouldSendUpdate','59pBmfEZ','_setUpDataInit','return','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','listenTo','loadRoot','getOperations','document','lastOperationAcceptedAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','clone','root','getOperationAuthor','addToReconnectionStack','cloud-services-internal-error:\x20Request\x20timeout.','change:_isPendingUpdate','offset','directChange','_handleInitialConnectionData','getRoot','_isDisconnection','sendOperations','connect','createRange','connected','initData','fire','view','isOfficialPlugin','reset','history','unregister','_getOperationsFromInitData','pluginName','lastOperationId','_initThrowingOnDataSet','_sendBufferedOperationsDelayId','_operationIdentifier','realtimecollaborationclient-init-document-already-initialized','_saveOperationInBuffer','realtimecollaborationclient-init-non-existent-root','_bufferRootLoad','requires','_decompressOperations','userId','_waitUntilSynced','size','_handleExternalOperations','stop','lastDocumentSession','start','InsertOperation','catch','wasUndone','entries','_lastServerVersion','state','config','finally','Synchronization\x20issue','_connectService','_authorId','editing','addRoot','realtimecollaborationclient','_crash','collaboration.channelId','multi-root-editor-root-attributes-no-root','attributes','serverHistory','realtimecollaborationclient-init-service-internal-error','rtc-offline','compress','_updateServerHistory','Notification','end','selection','disconnect','_handleServerResponse','affectedSelectable','177530sjrrND','_shouldSendSelectionUpdate','getDocumentDetails','createUserMarkerOperations','cloud-services-internal-error:\x20Not\x20connected.','then','init','suppressErrorInCollaboration','_compressor','includes','addOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_ignoredOperations','318plFIoZ','path','404','disconnected','metadata','setPermissions','_applyOperationsSet','message','_connectAfterSessionHasBeenFlushed','_hasSelectionChanged','collaboration','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.','collaboration-missing-channelid','_lastSyncedOperationId','_clearPendingAction','_handleSendingSelectionMarkers','remove','mySessionId','change:_isEditingAllowed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionAt','777cXGXpj','cs:removeUser','marker','_sendBufferedOperationsDelayed','_compressOperations','slice','_isAttached','CollaborativeEditingService','_channelId','_isEditingAllowed','addUser','newRange','_disconnectionOperations','plugins','fromJSON','get','targetPosition','removeFromReconnectionStack','startsWith','showWarning','_isPendingUpdate','version','rootName','132vPsudG','change:hasDomSelection','set','from','4798QpmmqA','sessionId','setIdForTheLastOperation','parse','forEach','PENDING_ACTION_SENDING_DATA','createdAt','change:range','filter','model','map','_operationToId','bind'];_0x13af=function(){return _0x38ad75;};return _0x13af();}
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
- function _0x120c(_0x2f7cb6,_0xb96a62){const _0x2b82f0=_0x2b82();return _0x120c=function(_0x120c52,_0x5f21da){_0x120c52=_0x120c52-0x9b;let _0x21357a=_0x2b82f0[_0x120c52];return _0x21357a;},_0x120c(_0x2f7cb6,_0xb96a62);}const _0x576665=_0x120c;(function(_0x1c55d4,_0xebd29){const _0x1f9a9b=_0x120c,_0x21257c=_0x1c55d4();while(!![]){try{const _0x5485b8=parseInt(_0x1f9a9b(0xc8))/0x1+parseInt(_0x1f9a9b(0xb0))/0x2*(parseInt(_0x1f9a9b(0xa6))/0x3)+parseInt(_0x1f9a9b(0xad))/0x4*(-parseInt(_0x1f9a9b(0xd0))/0x5)+-parseInt(_0x1f9a9b(0xb4))/0x6*(-parseInt(_0x1f9a9b(0xbf))/0x7)+-parseInt(_0x1f9a9b(0xa9))/0x8*(-parseInt(_0x1f9a9b(0xc6))/0x9)+parseInt(_0x1f9a9b(0x9f))/0xa*(-parseInt(_0x1f9a9b(0xd4))/0xb)+-parseInt(_0x1f9a9b(0xb6))/0xc;if(_0x5485b8===_0xebd29)break;else _0x21257c['push'](_0x21257c['shift']());}catch(_0x48dcfd){_0x21257c['push'](_0x21257c['shift']());}}}(_0x2b82,0x63d12));function _0x2b82(){const _0x395138=['has','orderNumber','isOfficialPlugin','hiddenInPresenceList','966mCQAkA','connected','state','_uniqueUsersCount','getUserBySessionId','requires','sessionId','2462004IkyuHM','isPremiumPlugin','718715DAuItD','allConnectedUsers','set','assign','get','init','listenTo','getUserRole','10JhQMoS','sessions-unregister-not-exist','forEach','user','22pEShOD','channelConnectedUsers','pluginName','_handleSessionRemove','delete','change:state','getUserSessions','unregister','_users','clear','_handleSessionAdd','isMe','529400wRouRJ','plugins','stopListening','fire','mySessionId','size','register','3RGZtVG','Sessions','values','8kfqbfM','_registeredSessions','add','remove','673772rKNtRd','connection','context','1098406EfuwpH','_createUser','sessionAdd:','addUser','2658SpewWk','role','9011904JogFfn','sessions-register-already-registered','defineMe','getUser','channelSessions'];_0x2b82=function(){return _0x395138;};return _0x2b82();}import{ContextPlugin as _0x57bd7d}from'ckeditor5/src/core.js';import{Collection as _0x4d9e32,CKEditorError as _0x46aa89}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4df8ec}from'./websocketgateway.js';import{Users as _0x3ef0ad}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x57bd7d{[_0x576665(0xba)];[_0x576665(0xd5)];[_0x576665(0xc9)];[_0x576665(0xaa)];[_0x576665(0xc2)];[_0x576665(0x9b)];static get[_0x576665(0xd6)](){const _0x2c5f3b=_0x576665;return _0x2c5f3b(0xa7);}static get[_0x576665(0xbd)](){return!0x0;}static get[_0x576665(0xc7)](){return!0x0;}static get[_0x576665(0xc4)](){return[_0x4df8ec,_0x3ef0ad];}constructor(_0x2fe400){const _0xbf6120=_0x576665;super(_0x2fe400),this[_0xbf6120(0xba)]=new Map(),this[_0xbf6120(0xd5)]=new Map(),this[_0xbf6120(0xc9)]=new _0x4d9e32(),this[_0xbf6120(0xaa)]=new Map(),this[_0xbf6120(0xc2)]=0x0,this[_0xbf6120(0x9b)]=this[_0xbf6120(0xaf)][_0xbf6120(0xa0)][_0xbf6120(0xcc)](_0x3ef0ad);}[_0x576665(0xcd)](){const _0x558a9e=_0x576665,_0x42f328=this[_0x558a9e(0xaf)][_0x558a9e(0xa0)][_0x558a9e(0xcc)](_0x4df8ec);this[_0x558a9e(0xce)](_0x42f328,_0x558a9e(0xd9),(_0x75186b,_0x971d42,_0x402064)=>{const _0x12f6f7=_0x558a9e;if(_0x12f6f7(0xc0)!==_0x402064)this[_0x12f6f7(0xba)][_0x12f6f7(0xd2)](_0x1fca52=>_0x1fca52[_0x12f6f7(0x9c)]()),this[_0x12f6f7(0xd5)][_0x12f6f7(0xd2)](_0x37055e=>_0x37055e[_0x12f6f7(0x9c)]()),this[_0x12f6f7(0xc9)][_0x12f6f7(0x9c)]();else{for(const [_0x15189b,_0x38c7be]of this[_0x12f6f7(0xaa)])for(const _0xfb5495 of _0x38c7be)this[_0x12f6f7(0x9d)](_0x15189b,_0xfb5495);}}),this[_0x558a9e(0xb1)](_0x42f328[_0x558a9e(0xae)]['me'],!0x0);}[_0x576665(0xa5)](_0x3e2668,_0x57a591){const _0x5b0361=_0x576665;if(this[_0x5b0361(0xaa)][_0x5b0361(0xbb)](_0x3e2668))throw new _0x46aa89(_0x5b0361(0xb7),null,{'channelId':_0x3e2668});this[_0x5b0361(0xaa)][_0x5b0361(0xca)](_0x3e2668,_0x57a591),this[_0x5b0361(0xba)][_0x5b0361(0xca)](_0x3e2668,new _0x4d9e32()),this[_0x5b0361(0xd5)][_0x5b0361(0xca)](_0x3e2668,new _0x4d9e32()),this[_0x5b0361(0xce)](_0x57a591,_0x5b0361(0xab),(_0x341196,_0x321c64)=>this[_0x5b0361(0x9d)](_0x3e2668,_0x321c64)),this[_0x5b0361(0xce)](_0x57a591,_0x5b0361(0xac),(_0x47902d,_0x46ce0c)=>this[_0x5b0361(0xd7)](_0x3e2668,_0x46ce0c));for(const _0x1100f4 of _0x57a591)this[_0x5b0361(0x9d)](_0x3e2668,_0x1100f4);}[_0x576665(0xdb)](_0x416488){const _0x5ba8d4=_0x576665;if(!this[_0x5ba8d4(0xaa)][_0x5ba8d4(0xbb)](_0x416488))throw new _0x46aa89(_0x5ba8d4(0xd1),null,{'channelId':_0x416488});const _0x15f4aa=this[_0x5ba8d4(0xaa)][_0x5ba8d4(0xcc)](_0x416488);this[_0x5ba8d4(0xa1)](_0x15f4aa);for(const _0x549450 of _0x15f4aa)_0x5ba8d4(0xc0)===this[_0x5ba8d4(0xaf)][_0x5ba8d4(0xa0)][_0x5ba8d4(0xcc)](_0x4df8ec)[_0x5ba8d4(0xc1)]&&this[_0x5ba8d4(0xd7)](_0x416488,_0x549450);this[_0x5ba8d4(0xaa)][_0x5ba8d4(0xd8)](_0x416488),this[_0x5ba8d4(0xba)][_0x5ba8d4(0xd8)](_0x416488),this[_0x5ba8d4(0xd5)][_0x5ba8d4(0xd8)](_0x416488);}get[_0x576665(0xa3)](){const _0x22d0e9=_0x576665;return this[_0x22d0e9(0xaf)][_0x22d0e9(0xa0)][_0x22d0e9(0xcc)](_0x4df8ec)[_0x22d0e9(0xae)][_0x22d0e9(0xc5)];}[_0x576665(0xc3)](_0x379529){const _0x1514ba=_0x576665;for(const _0x16e983 of this[_0x1514ba(0xba)][_0x1514ba(0xa8)]())for(const _0x272e56 of _0x16e983)if(_0x272e56['id']===_0x379529)return _0x272e56[_0x1514ba(0xd3)];}[_0x576665(0xda)](_0x36a294,_0x165ae1){const _0x22e1b2=_0x576665,_0x2c527=_0x165ae1?[this[_0x22e1b2(0xba)][_0x22e1b2(0xcc)](_0x165ae1)]:this[_0x22e1b2(0xba)][_0x22e1b2(0xa8)](),_0x292b2b=new Set();for(const _0x2d2af6 of _0x2c527)for(const _0x45ab10 of _0x2d2af6)_0x45ab10[_0x22e1b2(0xd3)]['id']===_0x36a294['id']&&_0x292b2b[_0x22e1b2(0xab)](_0x45ab10['id']);return _0x292b2b;}[_0x576665(0xcf)](_0xff4f6c){const _0x2a5bea=_0x576665;for(const _0x317cf7 of this[_0x2a5bea(0xba)][_0x2a5bea(0xa8)]())for(const _0x680f3c of _0x317cf7)if(_0x680f3c[_0x2a5bea(0xd3)]===_0xff4f6c)return _0x680f3c[_0x2a5bea(0xb5)];}[_0x576665(0x9d)](_0x5af2a6,_0x483582){const _0x182dfc=_0x576665;if(_0x182dfc(0xc0)!==this[_0x182dfc(0xaf)][_0x182dfc(0xa0)][_0x182dfc(0xcc)](_0x4df8ec)[_0x182dfc(0xc1)])return;const _0x5cc362=_0x483582[_0x182dfc(0xd3)],_0x538514=this[_0x182dfc(0x9b)][_0x182dfc(0xb9)](_0x5cc362['id'])||this[_0x182dfc(0xb1)](_0x5cc362),_0x1d64fc=Object[_0x182dfc(0xcb)]({},_0x483582,{'user':_0x538514});if(this[_0x182dfc(0xba)][_0x182dfc(0xcc)](_0x5af2a6)[_0x182dfc(0xab)](_0x1d64fc),!_0x5cc362[_0x182dfc(0xbe)]){const _0x1722df=this[_0x182dfc(0xd5)][_0x182dfc(0xcc)](_0x5af2a6);_0x1722df[_0x182dfc(0xbb)](_0x538514['id'])||_0x1722df[_0x182dfc(0xab)](_0x538514),this[_0x182dfc(0xc9)][_0x182dfc(0xbb)](_0x538514['id'])||_0x5cc362[_0x182dfc(0xbe)]||this[_0x182dfc(0xc9)][_0x182dfc(0xab)](_0x538514,_0x538514[_0x182dfc(0x9e)]?0x0:void 0x0);}this[_0x182dfc(0xa2)](_0x182dfc(0xb2)+_0x5af2a6,{'channelId':_0x5af2a6,'session':_0x1d64fc});}[_0x576665(0xd7)](_0x46df4a,_0x1e2eec){const _0x1b135f=_0x576665;if(_0x1b135f(0xc0)!==this[_0x1b135f(0xaf)][_0x1b135f(0xa0)][_0x1b135f(0xcc)](_0x4df8ec)[_0x1b135f(0xc1)])return;const _0x610d8a=this[_0x1b135f(0xd5)][_0x1b135f(0xcc)](_0x46df4a),_0x139564=_0x1e2eec[_0x1b135f(0xd3)];_0x139564['id']&&(this[_0x1b135f(0xba)][_0x1b135f(0xcc)](_0x46df4a)[_0x1b135f(0xac)](_0x1e2eec['id']),_0x610d8a[_0x1b135f(0xbb)](_0x139564['id'])&&!this[_0x1b135f(0xda)](_0x139564,_0x46df4a)[_0x1b135f(0xa4)]&&_0x610d8a[_0x1b135f(0xac)](_0x139564['id']),this[_0x1b135f(0xc9)][_0x1b135f(0xcc)](_0x139564['id'])&&!this[_0x1b135f(0xda)](_0x139564)[_0x1b135f(0xa4)]&&this[_0x1b135f(0xc9)][_0x1b135f(0xac)](_0x139564['id']));}[_0x576665(0xb1)](_0x20778f,_0x32a71e){const _0x1e4a2e=_0x576665,_0x32e5a0=this[_0x1e4a2e(0x9b)][_0x1e4a2e(0xb3)](_0x20778f);return _0x32a71e&&this[_0x1e4a2e(0x9b)][_0x1e4a2e(0xb8)](_0x20778f['id']),_0x32e5a0[_0x1e4a2e(0xbc)]=this[_0x1e4a2e(0xc2)]++,_0x32e5a0;}}
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 _0x5e9c56=_0x3235;(function(_0x4767ee,_0x247c24){const _0x357017=_0x3235,_0x551222=_0x4767ee();while(!![]){try{const _0x3ed947=-parseInt(_0x357017(0x96))/0x1*(-parseInt(_0x357017(0xe9))/0x2)+parseInt(_0x357017(0xb6))/0x3*(-parseInt(_0x357017(0x91))/0x4)+parseInt(_0x357017(0xd4))/0x5+parseInt(_0x357017(0xb2))/0x6+-parseInt(_0x357017(0xc6))/0x7+-parseInt(_0x357017(0xb4))/0x8+parseInt(_0x357017(0x94))/0x9;if(_0x3ed947===_0x247c24)break;else _0x551222['push'](_0x551222['shift']());}catch(_0x4cc37d){_0x551222['push'](_0x551222['shift']());}}}(_0x587c,0x3b8c5));import{Plugin as _0x280e5c}from'ckeditor5/src/core.js';import{global as _0xfb5fb8,DomEmitterMixin as _0x26b241}from'ckeditor5/src/utils.js';import{Sessions as _0x29e1e8}from'./sessions.js';import{ModelLiveRange as _0xf44e81}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x3235(_0xa6f0f5,_0x1594f5){const _0x587c78=_0x587c();return _0x3235=function(_0x32352d,_0x343f13){_0x32352d=_0x32352d-0x75;let _0x1227a1=_0x587c78[_0x32352d];return _0x1227a1;},_0x3235(_0xa6f0f5,_0x1594f5);}export class UserMarkers extends _0x280e5c{[_0x5e9c56(0xbe)]=new(_0x26b241())();static get[_0x5e9c56(0xde)](){return[_0x29e1e8];}static get[_0x5e9c56(0xe2)](){const _0x28cc52=_0x5e9c56;return _0x28cc52(0xd7);}static get[_0x5e9c56(0xd2)](){return!0x0;}static get[_0x5e9c56(0xcc)](){return!0x0;}[_0x5e9c56(0xa9)](){const _0x479bb2=_0x5e9c56,_0x1beb90=this[_0x479bb2(0x80)],_0x2a2bea=_0x1beb90[_0x479bb2(0x88)][_0x479bb2(0xbc)](_0x29e1e8);_0x1beb90[_0x479bb2(0xe6)][_0x479bb2(0x82)](_0x479bb2(0x9a))[_0x479bb2(0xaf)]({'model':_0x479bb2(0x8b),'view':(_0x4b9a70,{writer:_0x26ec53})=>function(_0x2293dd,_0xc79f38,_0x1cf07a,_0xcbfc34){const _0x532cd3=_0x479bb2,_0x2a5e41=_0x2293dd[_0x532cd3(0xdf)][_0x532cd3(0xc7)](':')[0x2],_0x51bddf=_0x1cf07a[_0x532cd3(0x9b)](_0x2a5e41);if(!_0x51bddf||_0x2a5e41===_0x1cf07a[_0x532cd3(0xa1)])return;if(!_0xcbfc34[_0x532cd3(0xbd)][_0x532cd3(0xcb)][_0x532cd3(0x7b)](_0x2293dd[_0x532cd3(0x8a)][_0x532cd3(0xe5)],_0x532cd3(0xf1)))return;const _0x5f269e={'class':_0x532cd3(0xac)+_0x51bddf[_0x532cd3(0xcd)][_0x532cd3(0xb9)](),'data-name':_0x51bddf[_0x532cd3(0x76)],'data-session-id':_0x2a5e41},_0xe0ae2e=_0xcbfc34[_0x532cd3(0xbd)][_0x532cd3(0xdd)][_0x532cd3(0xbc)](_0x2293dd[_0x532cd3(0xdf)]),_0x14240f=_0xe0ae2e[_0x532cd3(0xa4)](),_0x403df6=_0x14240f[_0x532cd3(0xc1)],_0x19b88f=_0xcbfc34[_0x532cd3(0xbd)][_0x532cd3(0xcb)];if(_0x403df6&&_0x19b88f[_0x532cd3(0x7d)](_0x403df6)&&_0x19b88f[_0x532cd3(0x95)](_0x403df6)&&!_0xcbfc34[_0x532cd3(0xbd)][_0x532cd3(0xdd)][_0x532cd3(0xbc)](_0x532cd3(0xeb)+_0x2a5e41)[_0x532cd3(0xc4)]()[_0x532cd3(0x79)])return;const _0x266a17=_0x14240f[_0x532cd3(0xf3)];return _0xcbfc34[_0x532cd3(0xbd)][_0x532cd3(0xcb)][_0x532cd3(0x8d)](_0x266a17)&&!_0xcbfc34[_0x532cd3(0xbd)][_0x532cd3(0xf6)](_0x266a17)&&(_0x5f269e[_0x532cd3(0xb8)]=!0x1),function(_0x4362e9,_0x1bd06d,_0x129e81){const _0x4597bd=_0x532cd3,_0x3a1b53=_0x4362e9[_0x4597bd(0x97)](_0x4597bd(0xec),_0x1bd06d);return _0x4362e9[_0x4597bd(0x87)](_0x4597bd(0x98),!0x0,_0x3a1b53),_0x3a1b53[_0x4597bd(0x85)]=function(_0x2b066c){const _0x9a15f6=_0x4597bd,_0x22ff82=this[_0x9a15f6(0xf8)](_0x2b066c),_0x51113e=document[_0x9a15f6(0xfa)](_0x9a15f6(0xec));return _0x51113e[_0x9a15f6(0xf0)][_0x9a15f6(0xf9)](_0x9a15f6(0xe3)),_0x51113e[_0x9a15f6(0xf2)](_0x9a15f6(0xb8),_0x9a15f6(0xe8)),_0x51113e[_0x9a15f6(0xf2)](_0x9a15f6(0x90),_0x9a15f6(0xe8)),_0x51113e[_0x9a15f6(0x8c)]=_0x129e81[_0x9a15f6(0x76)],_0x22ff82[_0x9a15f6(0x84)]=_0x9a15f6(0xba)+_0x51113e[_0x9a15f6(0xd3)]+'⁠',_0x22ff82[_0x9a15f6(0xae)](_0x9a15f6(0xda),()=>{const _0x19aafd=_0x9a15f6;_0x22ff82[_0x19aafd(0xf0)][_0x19aafd(0xf9)](_0x19aafd(0xd6));}),_0x22ff82[_0x9a15f6(0xae)](_0x9a15f6(0xfb),()=>{const _0x4a4c54=_0x9a15f6;_0x22ff82[_0x4a4c54(0xf0)][_0x4a4c54(0xa3)](_0x4a4c54(0xd6));}),_0x22ff82;},_0x3a1b53[_0x4597bd(0xd9)]=function(_0x1a7393){const _0x935520=_0x4597bd;return!(!this[_0x935520(0xc3)](_0x935520(0x98))||!_0x1a7393[_0x935520(0xc3)](_0x935520(0x98))||this[_0x935520(0xab)](_0x935520(0xd5))!=_0x1a7393[_0x935520(0xab)](_0x935520(0xd5)));},_0x3a1b53;}(_0xc79f38,_0x5f269e,_0x51bddf);}(_0x4b9a70,_0x26ec53,_0x2a2bea,_0x1beb90)}),_0x1beb90[_0x479bb2(0xe6)][_0x479bb2(0x82)](_0x479bb2(0x9a))[_0x479bb2(0x7f)]({'model':_0x479bb2(0xb3),'view':_0x4f8a26=>function(_0x3fd258,_0x5ef308){const _0x1ca7ff=_0x479bb2,_0x47e52c=_0x3fd258[_0x1ca7ff(0xdf)][_0x1ca7ff(0xc7)](':')[0x2];if(_0x47e52c===_0x5ef308[_0x1ca7ff(0xa1)])return null;const _0x55eb17=_0x5ef308[_0x1ca7ff(0x9b)](_0x47e52c);if(!_0x55eb17)return{'id':_0x47e52c,'classes':[]};return{'id':_0x47e52c,'classes':[_0x1ca7ff(0x93),_0x55eb17[_0x1ca7ff(0xcd)][_0x1ca7ff(0xe4)]()],'attributes':{'data-session-id':_0x47e52c},'priority':0x7d0+_0x55eb17[_0x1ca7ff(0xb0)]};}(_0x4f8a26,_0x2a2bea)}),function(_0x30889a){const _0x26dff5=_0x479bb2,_0x456eb1=_0x30889a[_0x26dff5(0xbd)],_0x4a62c1=new Map(),_0x20172e=_0x30889a[_0x26dff5(0x88)][_0x26dff5(0xbc)](_0x29e1e8);_0x456eb1[_0x26dff5(0xdd)]['on'](_0x26dff5(0x77),(_0x3ec67a,_0x5b9dad,_0x47d6b1,_0x393d45)=>{const _0x2ca6e2=_0x26dff5;if(!_0x393d45&&_0x4a62c1[_0x2ca6e2(0xbc)](_0x5b9dad[_0x2ca6e2(0x76)]))return _0x4a62c1[_0x2ca6e2(0xbc)](_0x5b9dad[_0x2ca6e2(0x76)])[_0x2ca6e2(0xc2)](),void _0x4a62c1[_0x2ca6e2(0xca)](_0x5b9dad[_0x2ca6e2(0x76)]);const _0x52c4dc=_0x5b9dad[_0x2ca6e2(0x76)][_0x2ca6e2(0xc7)](':')[0x2];if(_0x52c4dc===_0x20172e[_0x2ca6e2(0xa1)])return;const _0x33c31f=_0x2ca6e2(0xfd)+_0x52c4dc;_0x456eb1[_0x2ca6e2(0xdd)][_0x2ca6e2(0xa5)](_0x33c31f)&&_0x30889a[_0x2ca6e2(0xc9)][_0x2ca6e2(0x9d)](_0x33c31f),_0x5b9dad['on'](_0x2ca6e2(0x83),(_0x600f52,_0x2a14ea,_0x546c3f)=>{const _0x5abdac=_0x2ca6e2;if(_0x5abdac(0x9e)!=_0x2a14ea[_0x5abdac(0xbb)][_0x5abdac(0xa0)]&&_0x5abdac(0x9e)==_0x5b9dad[_0x5abdac(0xc4)]()[_0x5abdac(0xbb)][_0x5abdac(0xa0)]&&!_0x4a62c1[_0x5abdac(0xa5)](_0x5b9dad[_0x5abdac(0x76)])){const _0x5d82c1=_0x456eb1[_0x5abdac(0xcb)][_0x5abdac(0xd8)](_0x546c3f[_0x5abdac(0xfc)]);if(_0x5d82c1){const _0x1ad598=_0xf44e81[_0x5abdac(0xa7)](_0x5d82c1);_0x4a62c1[_0x5abdac(0xb7)](_0x5b9dad[_0x5abdac(0x76)],_0x1ad598),_0x1ad598['on'](_0x5abdac(0x83),(_0xa46425,_0x48f774,_0x1fdb4b)=>{const _0x1b8d90=_0x5abdac;if(_0x1b8d90(0x9e)==_0x1ad598[_0x1b8d90(0xbb)][_0x1b8d90(0xa0)]){const _0x1ffc81=_0x456eb1[_0x1b8d90(0xcb)][_0x1b8d90(0xd8)](_0x1fdb4b[_0x1b8d90(0xfc)]);_0x1ffc81?(_0x1ad598[_0x1b8d90(0xe5)]=_0x1ffc81[_0x1b8d90(0xe5)],_0x1ad598[_0x1b8d90(0xaa)]=_0x1ffc81[_0x1b8d90(0xaa)]):(_0x4a62c1[_0x1b8d90(0xca)](_0x5b9dad[_0x1b8d90(0x76)]),_0x1ad598[_0x1b8d90(0xc2)]());}});}}});}),_0x456eb1[_0x26dff5(0xf7)]['on'](_0x26dff5(0xd0),()=>{const _0x271771=_0x26dff5;_0x4a62c1[_0x271771(0x92)]>0x0&&_0x456eb1[_0x271771(0xa8)]({'isUndoable':!0x1},_0x247862=>{const _0x11e632=_0x271771;for(const [_0x4406bb,_0x6e293c]of _0x4a62c1)_0x11e632(0x9e)==_0x456eb1[_0x11e632(0xdd)][_0x11e632(0xbc)](_0x4406bb)[_0x11e632(0xc4)]()[_0x11e632(0xbb)][_0x11e632(0xa0)]&&(x(_0x4406bb[_0x11e632(0xc7)](':')[0x2],_0x6e293c[_0x11e632(0xf5)](),_0x456eb1,_0x247862),_0x6e293c[_0x11e632(0xc2)]());_0x4a62c1[_0x11e632(0xb1)]();});});}(_0x1beb90),this[_0x479bb2(0xbe)][_0x479bb2(0xce)](_0xfb5fb8[_0x479bb2(0xf7)],_0x479bb2(0xdc),(_0x5b6301,{key:_0x51c79a})=>{const _0x273a40=_0x479bb2;_0x273a40(0x9c)===_0x51c79a&&function(_0x2aeb52){const _0x305926=_0x273a40;_0x2aeb52[_0x305926(0xc9)][_0x305926(0xe1)][_0x305926(0xd0)](_0x39b632=>{const _0x3a744b=_0x305926;for(const _0x338e6f of _0x2aeb52[_0x3a744b(0xbd)][_0x3a744b(0xdd)]){if(!_0x338e6f[_0x3a744b(0x76)][_0x3a744b(0xc0)](_0x3a744b(0x8b)))continue;const _0x327fa4=_0x2aeb52[_0x3a744b(0xc9)][_0x3a744b(0x7e)][_0x3a744b(0x86)](_0x338e6f[_0x3a744b(0x76)]);if(_0x327fa4){for(const _0x6aca25 of _0x327fa4)_0x39b632[_0x3a744b(0x9f)](_0x3a744b(0xd6),_0x6aca25);}}});}(_0x1beb90);},{'useCapture':!0x0});}[_0x5e9c56(0x8f)](){const _0x1a3584=_0x5e9c56,_0x5513cc=this[_0x1a3584(0x80)],_0x4961dc=_0x5513cc[_0x1a3584(0xe0)][_0x1a3584(0xbc)](_0x1a3584(0xc8));_0x4961dc&&_0x5513cc[_0x1a3584(0xbd)]['on'](_0x1a3584(0xad),(_0x5d75ba,_0x2b9099)=>{const _0x8eb916=_0x1a3584,_0x5af3f3=_0x2b9099[0x0];if(!_0x5af3f3[_0x8eb916(0xdb)])return;if(_0x8eb916(0x78)!=_0x5af3f3[_0x8eb916(0xef)]||!_0x5af3f3[_0x8eb916(0x76)][_0x8eb916(0xc0)](_0x8eb916(0x89)))return;const _0x4e9176=_0x5af3f3[_0x8eb916(0xfe)];_0x4961dc[_0x8eb916(0xc5)][_0x8eb916(0xa5)](_0x4e9176)&&(_0x5af3f3[_0x8eb916(0x99)]=_0x5af3f3[_0x8eb916(0xd1)]?_0x5513cc[_0x8eb916(0xbd)][_0x8eb916(0x7a)](_0x5af3f3[_0x8eb916(0xd1)][_0x8eb916(0xe5)],_0x5af3f3[_0x8eb916(0xd1)][_0x8eb916(0xaa)]):null);},{'priority':_0x1a3584(0x75)});}[_0x5e9c56(0xb5)](){const _0x11d86c=_0x5e9c56;return this[_0x11d86c(0xbe)][_0x11d86c(0xea)](),super[_0x11d86c(0xb5)]();}[_0x5e9c56(0xcf)](){const _0x2330f1=_0x5e9c56,_0x2c179c=this[_0x2330f1(0x80)],_0x3fb524=_0x2c179c[_0x2330f1(0xbd)][_0x2330f1(0xf7)],_0x1e8adc=_0x2c179c[_0x2330f1(0x88)][_0x2330f1(0xbc)](_0x29e1e8);_0x2c179c[_0x2330f1(0xbd)][_0x2330f1(0xa8)]({'isUndoable':!0x1},_0x2046dc=>{const _0x7e0c1b=_0x2330f1,_0x5e3582=_0x7e0c1b(0xeb)+_0x1e8adc[_0x7e0c1b(0xa1)],_0x848f4b=_0x7e0c1b(0xfd)+_0x1e8adc[_0x7e0c1b(0xa1)],_0x280776=_0x2c179c[_0x7e0c1b(0xbd)][_0x7e0c1b(0xdd)][_0x7e0c1b(0xa5)](_0x5e3582);_0x2c179c[_0x7e0c1b(0xc9)][_0x7e0c1b(0xe1)][_0x7e0c1b(0x81)]?x(_0x1e8adc[_0x7e0c1b(0xa1)],_0x3fb524[_0x7e0c1b(0xa6)][_0x7e0c1b(0xe7)](),_0x2c179c[_0x7e0c1b(0xbd)],_0x2046dc):_0x280776&&(_0x2046dc[_0x7e0c1b(0xa2)](_0x5e3582),_0x2046dc[_0x7e0c1b(0xa2)](_0x848f4b));});}}function x(_0x5d78c6,_0x24c554,_0xb7914f,_0x2a8100){const _0x1c8295=_0x5e9c56,_0x543a19=_0x1c8295(0xeb)+_0x5d78c6,_0x45df0f=_0x1c8295(0xfd)+_0x5d78c6,_0x526736=_0x24c554[_0x1c8295(0xee)]();let _0x3d6bbb=_0x24c554[_0x1c8295(0xe5)];if(_0x526736&&_0x526736['is'](_0x1c8295(0xf4),_0x1c8295(0xed))){const _0x2d7123=function(_0x5363ce,_0x4121ac){const _0x32a0a6=_0x1c8295;for(const _0x478cbd of _0x5363ce[_0x32a0a6(0xbf)]())if(_0x4121ac[_0x32a0a6(0xcb)][_0x32a0a6(0x7b)](_0x478cbd,_0x32a0a6(0xf1)))return _0x478cbd;}(_0x24c554,_0xb7914f);_0x2d7123&&(_0x3d6bbb=_0x2d7123,_0x24c554=_0x2a8100[_0x1c8295(0x7a)](_0x3d6bbb));}const _0xac03ed=_0x2a8100[_0x1c8295(0x7a)](_0x3d6bbb);_0xb7914f[_0x1c8295(0xdd)][_0x1c8295(0xa5)](_0x543a19)?(_0x2a8100[_0x1c8295(0x8e)](_0x543a19,{'range':_0x24c554}),_0x2a8100[_0x1c8295(0x8e)](_0x45df0f,{'range':_0xac03ed})):(_0x2a8100[_0x1c8295(0x7c)](_0x543a19,{'range':_0x24c554,'usingOperation':!0x0}),_0x2a8100[_0x1c8295(0x7c)](_0x45df0f,{'range':_0xac03ed,'usingOperation':!0x0}));}function _0x587c(){const _0x4c4619=['init','end','getAttribute','ck-user__marker\x20','applyOperation','addEventListener','markerToElement','orderNumber','clear','1630344vNlCxg','user:range','2215328OQJfNr','destroy','850920XAYAXi','set','contenteditable','getMarkerClass','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','root','get','model','_domEmitter','getPositions','startsWith','nodeAfter','detach','getCustomProperty','getRange','_createdBatches','1542800meRQBA','split','undo','editing','delete','schema','isPremiumPlugin','color','listenTo','createUserMarkerOperations','change','oldRange','isOfficialPlugin','outerHTML','252620OYgDUT','data-session-id','ck-user__marker_hovered','UserMarkers','getNearestSelectionRange','isSimilar','mouseenter','isDocumentOperation','keydown','markers','requires','markerName','commands','view','pluginName','ck-user__marker-tooltip','getSelectionClass','start','conversion','getFirstRange','false','2186kOFEtb','stopListening','user:range:','span','tableCell','getContainedElement','type','classList','$text','setAttribute','parent','element','toRange','hasContent','document','toDomElement','add','createElement','mouseleave','deletionPosition','user:position:','batch','highest','name','update:user:range','marker','isCollapsed','createRange','checkChild','addMarker','isObject','mapper','markerToHighlight','editor','hasDomSelection','for','change:range','innerHTML','render','markerNameToElements','setCustomProperty','plugins','user:','markerRange','user:position','textContent','isLimit','updateMarker','afterInit','spellcheck','4ylyyIO','size','ck-user__selection','6313716EcXaUI','isInline','1ZYhvmq','createUIElement','userPositionMarker','newRange','editingDowncast','getUserBySessionId','Escape','reconvertMarker','$graveyard','removeClass','rootName','mySessionId','removeMarker','remove','getStart','has','selection','fromRange','enqueueChange'];_0x587c=function(){return _0x4c4619;};return _0x587c();}
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}));}