@ckeditor/ckeditor5-real-time-collaboration 46.1.0-alpha.0 → 46.1.0-alpha.2

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 +2 -2
  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 _0x1a518b=_0x5d05;(function(_0x33a7ea,_0xff7985){const _0x10dcb4=_0x5d05,_0x4bac98=_0x33a7ea();while(!![]){try{const _0x2e767a=-parseInt(_0x10dcb4(0x145))/0x1+parseInt(_0x10dcb4(0x151))/0x2+parseInt(_0x10dcb4(0x14d))/0x3*(-parseInt(_0x10dcb4(0x136))/0x4)+parseInt(_0x10dcb4(0x153))/0x5+parseInt(_0x10dcb4(0x132))/0x6+parseInt(_0x10dcb4(0x14c))/0x7+parseInt(_0x10dcb4(0x13d))/0x8*(parseInt(_0x10dcb4(0x149))/0x9);if(_0x2e767a===_0xff7985)break;else _0x4bac98['push'](_0x4bac98['shift']());}catch(_0x47dff4){_0x4bac98['push'](_0x4bac98['shift']());}}}(_0x23f1,0xab300));import{View as _0x1bab3c}from'ckeditor5/src/ui.js';function _0x5d05(_0x18cd8b,_0x588712){const _0x23f19b=_0x23f1();return _0x5d05=function(_0x5d052a,_0x2a1086){_0x5d052a=_0x5d052a-0x132;let _0x122b3a=_0x23f19b[_0x5d052a];return _0x122b3a;},_0x5d05(_0x18cd8b,_0x588712);}function _0x23f1(){const _0x471308=['3480760ryjgxJ','hasPopup','presencelist:hide','.ck-balloon-panel_with-arrow','Connected\x20users\x20list','466608isGXPK','querySelector','bindTemplate','relatedTarget','4dtaMkI','removeAttribute','contains','keystrokes','presencelist:show','createCollection','isExpanded','112JXJXUJ','set','listenTo','fire','render','aria-expanded','items','setTemplate','1266165VUmcjU','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setAttribute','19557nEMwJc','focus','.ck-presence-list__dropdown-list','8130745XbsmHZ','1385859rJbGXu','div','ck-presence-list__list','list','926850yMqaLG','change:hasPopup'];_0x23f1=function(){return _0x471308;};return _0x23f1();}import{KeystrokeHandler as _0x561019}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c1eba}from'../../common-translations.js';export class PresenceInlineListView extends _0x1bab3c{[_0x1a518b(0x143)];[_0x1a518b(0x139)];constructor(_0x1d539d){const _0x47ec69=_0x1a518b;super(_0x1d539d);const _0x531887=this[_0x47ec69(0x134)];this[_0x47ec69(0x143)]=this[_0x47ec69(0x13b)](),this[_0x47ec69(0x139)]=new _0x561019(),this[_0x47ec69(0x13e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47ec69(0x144)]({'tag':_0x47ec69(0x14e),'attributes':{'aria-haspopup':_0x531887['if'](_0x47ec69(0x154)),'aria-expanded':_0x531887['to'](_0x47ec69(0x13c),_0x49b092=>this[_0x47ec69(0x154)]&&String(_0x49b092)),'aria-label':_0x531887['to'](_0x47ec69(0x154),_0x25a29e=>_0x2c1eba(_0x1d539d,_0x25a29e?_0x47ec69(0x147):_0x47ec69(0x157))),'role':_0x47ec69(0x150),'tabindex':_0x531887['to'](_0x47ec69(0x154),_0x357190=>!!_0x357190&&0x0),'class':['ck',_0x47ec69(0x14f)]},'children':this[_0x47ec69(0x143)],'on':{'mouseenter':_0x531887['to'](()=>this[_0x47ec69(0x140)](_0x47ec69(0x13a))),'mouseleave':_0x531887['to'](_0x360714=>{const _0x1f59d0=_0x47ec69,_0x496ea9=_0x360714,_0x433bab=document[_0x1f59d0(0x133)](_0x1f59d0(0x14b)),_0x430a67=document[_0x1f59d0(0x133)](_0x1f59d0(0x156));_0x433bab?.[_0x1f59d0(0x138)](_0x496ea9[_0x1f59d0(0x135)])||_0x430a67?.[_0x1f59d0(0x138)](_0x496ea9[_0x1f59d0(0x135)])||this[_0x1f59d0(0x140)](_0x1f59d0(0x155));})}}),this['on'](_0x47ec69(0x152),(_0x340a6b,_0x2435b9,_0x5cb5a5)=>{const _0x56e642=_0x47ec69;this[_0x56e642(0x146)]&&(_0x5cb5a5?this[_0x56e642(0x146)][_0x56e642(0x148)](_0x56e642(0x142),String(this[_0x56e642(0x13c)])):this[_0x56e642(0x146)][_0x56e642(0x137)](_0x56e642(0x142)));});}[_0x1a518b(0x14a)](){const _0x5b99ac=_0x1a518b;this[_0x5b99ac(0x146)][_0x5b99ac(0x14a)]();}[_0x1a518b(0x141)](){const _0x513cae=_0x1a518b;super[_0x513cae(0x141)](),this[_0x513cae(0x139)][_0x513cae(0x13f)](this[_0x513cae(0x146)]);}}
23
+ function _0x1188(_0xc5b1eb,_0x322cd4){const _0x1d9f94=_0x1d9f();return _0x1188=function(_0x118802,_0x3d9ba6){_0x118802=_0x118802-0x9c;let _0x734066=_0x1d9f94[_0x118802];return _0x734066;},_0x1188(_0xc5b1eb,_0x322cd4);}const _0x526a9d=_0x1188;(function(_0x369c40,_0x21581d){const _0x298d53=_0x1188,_0x5ba765=_0x369c40();while(!![]){try{const _0x351b2b=-parseInt(_0x298d53(0xa8))/0x1+-parseInt(_0x298d53(0xa0))/0x2+-parseInt(_0x298d53(0xae))/0x3+parseInt(_0x298d53(0xbc))/0x4*(parseInt(_0x298d53(0xb2))/0x5)+parseInt(_0x298d53(0xac))/0x6+parseInt(_0x298d53(0xa3))/0x7+-parseInt(_0x298d53(0xb8))/0x8*(-parseInt(_0x298d53(0xc1))/0x9);if(_0x351b2b===_0x21581d)break;else _0x5ba765['push'](_0x5ba765['shift']());}catch(_0x3bb87e){_0x5ba765['push'](_0x5ba765['shift']());}}}(_0x1d9f,0xb8202));import{View as _0x372a37}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x410a0a}from'ckeditor5/src/utils.js';import{getTranslation as _0x3e6697}from'../../common-translations.js';export class PresenceInlineListView extends _0x372a37{[_0x526a9d(0x9c)];[_0x526a9d(0xb3)];constructor(_0x57a760){const _0x1c9a98=_0x526a9d;super(_0x57a760);const _0xccd2e9=this[_0x1c9a98(0xab)];this[_0x1c9a98(0x9c)]=this[_0x1c9a98(0xad)](),this[_0x1c9a98(0xb3)]=new _0x410a0a(),this[_0x1c9a98(0xb1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1c9a98(0xb0)]({'tag':_0x1c9a98(0xaf),'attributes':{'aria-haspopup':_0xccd2e9['if'](_0x1c9a98(0xa2)),'aria-expanded':_0xccd2e9['to'](_0x1c9a98(0xb7),_0x1368fa=>this[_0x1c9a98(0xa2)]&&String(_0x1368fa)),'aria-label':_0xccd2e9['to'](_0x1c9a98(0xa2),_0x553220=>_0x3e6697(_0x57a760,_0x553220?_0x1c9a98(0xa5):_0x1c9a98(0xb6))),'role':_0x1c9a98(0xaa),'tabindex':_0xccd2e9['to'](_0x1c9a98(0xa2),_0x1c9fcf=>!!_0x1c9fcf&&0x0),'class':['ck',_0x1c9a98(0xb5)]},'children':this[_0x1c9a98(0x9c)],'on':{'mouseenter':_0xccd2e9['to'](()=>this[_0x1c9a98(0x9e)](_0x1c9a98(0x9f))),'mouseleave':_0xccd2e9['to'](_0x3d437d=>{const _0x16eb44=_0x1c9a98,_0x4dc664=_0x3d437d,_0x1c99a2=document[_0x16eb44(0xa6)](_0x16eb44(0xb9)),_0x383150=document[_0x16eb44(0xa6)](_0x16eb44(0xb4));_0x1c99a2?.[_0x16eb44(0xbd)](_0x4dc664[_0x16eb44(0xa7)])||_0x383150?.[_0x16eb44(0xbd)](_0x4dc664[_0x16eb44(0xa7)])||this[_0x16eb44(0x9e)](_0x16eb44(0xba));})}}),this['on'](_0x1c9a98(0xa4),(_0x41b063,_0x46ba7f,_0xed323)=>{const _0x554681=_0x1c9a98;this[_0x554681(0xbf)]&&(_0xed323?this[_0x554681(0xbf)][_0x554681(0xbb)](_0x554681(0xbe),String(this[_0x554681(0xb7)])):this[_0x554681(0xbf)][_0x554681(0xa1)](_0x554681(0xbe)));});}[_0x526a9d(0xc0)](){const _0x1e4601=_0x526a9d;this[_0x1e4601(0xbf)][_0x1e4601(0xc0)]();}[_0x526a9d(0xa9)](){const _0x1633d9=_0x526a9d;super[_0x1633d9(0xa9)](),this[_0x1633d9(0xb3)][_0x1633d9(0x9d)](this[_0x1633d9(0xbf)]);}}function _0x1d9f(){const _0xd4bd62=['3074520hwGSnF','div','setTemplate','set','365dTuOvT','keystrokes','.ck-balloon-panel_with-arrow','ck-presence-list__list','Connected\x20users\x20list','isExpanded','8BFASmA','.ck-presence-list__dropdown-list','presencelist:hide','setAttribute','63124kAxFor','contains','aria-expanded','element','focus','11569518TckiIp','items','listenTo','fire','presencelist:show','2712032kePXZa','removeAttribute','hasPopup','6873132xZnpHL','change:hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','relatedTarget','1306452auruzV','render','list','bindTemplate','6132570FyWCFT','createCollection'];_0x1d9f=function(){return _0xd4bd62;};return _0x1d9f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30ffd1=_0x48cd;(function(_0x4a8834,_0x3e6701){const _0x334727=_0x48cd,_0x1a8ef5=_0x4a8834();while(!![]){try{const _0x41c171=parseInt(_0x334727(0xe8))/0x1*(parseInt(_0x334727(0xe6))/0x2)+parseInt(_0x334727(0xee))/0x3*(parseInt(_0x334727(0x101))/0x4)+-parseInt(_0x334727(0xfd))/0x5+-parseInt(_0x334727(0x100))/0x6+parseInt(_0x334727(0xe7))/0x7+parseInt(_0x334727(0xff))/0x8*(-parseInt(_0x334727(0xf9))/0x9)+-parseInt(_0x334727(0xf3))/0xa*(-parseInt(_0x334727(0xfc))/0xb);if(_0x41c171===_0x3e6701)break;else _0x1a8ef5['push'](_0x1a8ef5['shift']());}catch(_0x35289a){_0x1a8ef5['push'](_0x1a8ef5['shift']());}}}(_0x5716,0xc2ab4));import{View as _0x37b9bd}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xa567e8}from'./presencecounterview.js';import{PresenceInlineListView as _0x180d6d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x48cd(_0x544f82,_0x115bf2){const _0x5716cb=_0x5716();return _0x48cd=function(_0x48cd67,_0x1efd6d){_0x48cd67=_0x48cd67-0xe4;let _0x5899b1=_0x5716cb[_0x48cd67];return _0x5899b1;},_0x48cd(_0x544f82,_0x115bf2);}function _0x5716(){const _0x3fb037=['32NtgBaT','8743350PmcKpt','104zmBWXx','tooltipPosition','hasPopup','2rSlWwN','5485060divaZO','88799fdBHag','items','bind','isCollapsed','ck-rounded-corners','locale','43287gMgfXY','bindTemplate','set','div','ck-presence-list--collapsed','10UCBvAY','ck-reset','counterView','setTemplate','listenTo','change','1610748PeYUbS','ck-presence-list','first','18969225OluFLM','7655qIYAoP','inlineListView'];_0x5716=function(){return _0x3fb037;};return _0x5716();}export class PresenceListView extends _0x37b9bd{[_0x30ffd1(0xf5)];[_0x30ffd1(0xfe)];constructor(_0x24d891,_0x2ca80b=0x6){const _0x308644=_0x30ffd1;super(_0x24d891);const _0x4b5316=this[_0x308644(0xef)];this[_0x308644(0xf0)](_0x308644(0xeb),!0x0),this[_0x308644(0xf5)]=new _0xa567e8(this[_0x308644(0xed)],_0x2ca80b),this[_0x308644(0xfe)]=new _0x180d6d(_0x24d891),this[_0x308644(0xfe)][_0x308644(0xea)](_0x308644(0xe5))['to'](this,_0x308644(0xeb)),this[_0x308644(0xf7)](this[_0x308644(0xfe)][_0x308644(0xe9)],_0x308644(0xf8),()=>{const _0x51cbe5=_0x308644;for(const _0x454edf of this[_0x51cbe5(0xfe)][_0x51cbe5(0xe9)])_0x454edf[_0x51cbe5(0xe4)]='s';this[_0x51cbe5(0xfe)][_0x51cbe5(0xe9)][_0x51cbe5(0xfb)]&&(this[_0x51cbe5(0xfe)][_0x51cbe5(0xe9)][_0x51cbe5(0xfb)][_0x51cbe5(0xe4)]='se');}),this[_0x308644(0xf6)]({'tag':_0x308644(0xf1),'attributes':{'class':['ck',_0x308644(0xfa),_0x308644(0xf4),_0x308644(0xec),_0x4b5316['if'](_0x308644(0xeb),_0x308644(0xf2))]},'children':[this[_0x308644(0xfe)]]});}}
23
+ const _0x5d1e5a=_0x52b0;(function(_0x11f5e6,_0xa3c5dc){const _0x16c21e=_0x52b0,_0xd6bc2d=_0x11f5e6();while(!![]){try{const _0x5ae796=-parseInt(_0x16c21e(0x1b4))/0x1*(parseInt(_0x16c21e(0x1aa))/0x2)+parseInt(_0x16c21e(0x1a9))/0x3+parseInt(_0x16c21e(0x1ad))/0x4+parseInt(_0x16c21e(0x1b3))/0x5+-parseInt(_0x16c21e(0x1c1))/0x6*(parseInt(_0x16c21e(0x1b0))/0x7)+parseInt(_0x16c21e(0x1b5))/0x8*(-parseInt(_0x16c21e(0x1bb))/0x9)+parseInt(_0x16c21e(0x1b2))/0xa*(-parseInt(_0x16c21e(0x1af))/0xb);if(_0x5ae796===_0xa3c5dc)break;else _0xd6bc2d['push'](_0xd6bc2d['shift']());}catch(_0x776446){_0xd6bc2d['push'](_0xd6bc2d['shift']());}}}(_0x2d61,0xe79ec));import{View as _0x3a5119}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x215735}from'./presencecounterview.js';import{PresenceInlineListView as _0x3208aa}from'./presenceinlinelistview.js';function _0x52b0(_0x364378,_0x1095ef){const _0x2d6192=_0x2d61();return _0x52b0=function(_0x52b0d3,_0x34cc87){_0x52b0d3=_0x52b0d3-0x1a6;let _0x594f89=_0x2d6192[_0x52b0d3];return _0x594f89;},_0x52b0(_0x364378,_0x1095ef);}function _0x2d61(){const _0x293a97=['hasPopup','first','div','1206981MCbjte','items','tooltipPosition','ck-reset','setTemplate','change','3109326jnTgGY','listenTo','isCollapsed','locale','bindTemplate','ck-presence-list--collapsed','4794432biOZRA','2GcQPEi','counterView','bind','6504516epTxMQ','set','1529BMzqEC','14iCeMGV','ck-presence-list','66530fbaPrH','6285345evwlvd','766763KhRIND','48WuEQAV','inlineListView','ck-rounded-corners'];_0x2d61=function(){return _0x293a97;};return _0x2d61();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x3a5119{[_0x5d1e5a(0x1ab)];[_0x5d1e5a(0x1b6)];constructor(_0x1506d0,_0x54897f=0x6){const _0x1f71e5=_0x5d1e5a;super(_0x1506d0);const _0x502fe7=this[_0x1f71e5(0x1a7)];this[_0x1f71e5(0x1ae)](_0x1f71e5(0x1c3),!0x0),this[_0x1f71e5(0x1ab)]=new _0x215735(this[_0x1f71e5(0x1a6)],_0x54897f),this[_0x1f71e5(0x1b6)]=new _0x3208aa(_0x1506d0),this[_0x1f71e5(0x1b6)][_0x1f71e5(0x1ac)](_0x1f71e5(0x1b8))['to'](this,_0x1f71e5(0x1c3)),this[_0x1f71e5(0x1c2)](this[_0x1f71e5(0x1b6)][_0x1f71e5(0x1bc)],_0x1f71e5(0x1c0),()=>{const _0x5971f9=_0x1f71e5;for(const _0x52a3ec of this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)])_0x52a3ec[_0x5971f9(0x1bd)]='s';this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)][_0x5971f9(0x1b9)]&&(this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)][_0x5971f9(0x1b9)][_0x5971f9(0x1bd)]='se');}),this[_0x1f71e5(0x1bf)]({'tag':_0x1f71e5(0x1ba),'attributes':{'class':['ck',_0x1f71e5(0x1b1),_0x1f71e5(0x1be),_0x1f71e5(0x1b7),_0x502fe7['if'](_0x1f71e5(0x1c3),_0x1f71e5(0x1a8))]},'children':[this[_0x1f71e5(0x1b6)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c3939=_0x1258;(function(_0x127f6c,_0x47a56b){var _0xbc993a=_0x1258,_0x18d1ed=_0x127f6c();while(!![]){try{var _0x44c9fc=-parseInt(_0xbc993a(0xc9))/0x1*(-parseInt(_0xbc993a(0xc7))/0x2)+-parseInt(_0xbc993a(0xcc))/0x3+parseInt(_0xbc993a(0xd0))/0x4+parseInt(_0xbc993a(0xca))/0x5+parseInt(_0xbc993a(0xc8))/0x6+parseInt(_0xbc993a(0xcb))/0x7*(-parseInt(_0xbc993a(0xce))/0x8)+-parseInt(_0xbc993a(0xc6))/0x9*(parseInt(_0xbc993a(0xc4))/0xa);if(_0x44c9fc===_0x47a56b)break;else _0x18d1ed['push'](_0x18d1ed['shift']());}catch(_0x2cffa3){_0x18d1ed['push'](_0x18d1ed['shift']());}}}(_0x301b,0xb7b45));import{ContextPlugin as _0x3c4575}from'ckeditor5/src/core.js';function _0x1258(_0x140e83,_0x1f1645){var _0x301b8a=_0x301b();return _0x1258=function(_0x125833,_0x1f9d0b){_0x125833=_0x125833-0xc3;var _0x3b56d4=_0x301b8a[_0x125833];return _0x3b56d4;},_0x1258(_0x140e83,_0x1f1645);}function _0x301b(){var _0x37d451=['1782138onZKYK','isPremiumPlugin','1017848czfzux','isOfficialPlugin','4192244egTaOp','pluginName','requires','791720oaABmz','PresenceList','207Fsyhyi','41014IgSGLW','5561454KIQCAF','61acmxLe','2252410jtMzci','28YECKHQ'];_0x301b=function(){return _0x37d451;};return _0x301b();}import{Sessions as _0x2f1791}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x28721e}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3c4575{static get[_0x2c3939(0xc3)](){return[_0x2f1791,_0x28721e];}static get[_0x2c3939(0xd1)](){var _0x140407=_0x2c3939;return _0x140407(0xc5);}static get[_0x2c3939(0xcf)](){return!0x0;}static get[_0x2c3939(0xcd)](){return!0x0;}}
23
+ var _0x4a04ef=_0x71f3;(function(_0x17e10f,_0x39e9fd){var _0x423ded=_0x71f3,_0x2605f1=_0x17e10f();while(!![]){try{var _0x24b13b=parseInt(_0x423ded(0x125))/0x1+parseInt(_0x423ded(0x12d))/0x2*(parseInt(_0x423ded(0x128))/0x3)+parseInt(_0x423ded(0x127))/0x4+parseInt(_0x423ded(0x12f))/0x5*(-parseInt(_0x423ded(0x12e))/0x6)+-parseInt(_0x423ded(0x124))/0x7*(-parseInt(_0x423ded(0x122))/0x8)+parseInt(_0x423ded(0x12b))/0x9+-parseInt(_0x423ded(0x129))/0xa;if(_0x24b13b===_0x39e9fd)break;else _0x2605f1['push'](_0x2605f1['shift']());}catch(_0x54ceb4){_0x2605f1['push'](_0x2605f1['shift']());}}}(_0x3ae8,0x739a2));function _0x3ae8(){var _0x498a2b=['isOfficialPlugin','2477016dHBwmN','9171YawtvX','10647070wLPvRM','requires','7727031wmxHbx','isPremiumPlugin','34dtOJGw','42pbdMKH','619825OCKnnx','pluginName','32giIWPU','PresenceList','828583jVrXNL','402710HNVCRM'];_0x3ae8=function(){return _0x498a2b;};return _0x3ae8();}import{ContextPlugin as _0xcc011e}from'ckeditor5/src/core.js';function _0x71f3(_0x1efc51,_0x3a59d3){var _0x3ae8e7=_0x3ae8();return _0x71f3=function(_0x71f30e,_0x85065d){_0x71f30e=_0x71f30e-0x121;var _0x158eb2=_0x3ae8e7[_0x71f30e];return _0x158eb2;},_0x71f3(_0x1efc51,_0x3a59d3);}import{Sessions as _0x57252d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x144019}from'./presencelist/presencelistui.js';export class PresenceList extends _0xcc011e{static get[_0x4a04ef(0x12a)](){return[_0x57252d,_0x144019];}static get[_0x4a04ef(0x121)](){var _0x39f092=_0x4a04ef;return _0x39f092(0x123);}static get[_0x4a04ef(0x126)](){return!0x0;}static get[_0x4a04ef(0x12c)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x118b6a=_0x5d2c;(function(_0x18587e,_0x117f3c){const _0x265f40=_0x5d2c,_0x344c74=_0x18587e();while(!![]){try{const _0x5c0c47=-parseInt(_0x265f40(0xf6))/0x1*(parseInt(_0x265f40(0xea))/0x2)+-parseInt(_0x265f40(0x103))/0x3+-parseInt(_0x265f40(0xca))/0x4+-parseInt(_0x265f40(0xcf))/0x5+parseInt(_0x265f40(0xf8))/0x6*(parseInt(_0x265f40(0xcc))/0x7)+-parseInt(_0x265f40(0xf1))/0x8*(-parseInt(_0x265f40(0xf4))/0x9)+-parseInt(_0x265f40(0xbb))/0xa*(-parseInt(_0x265f40(0xf3))/0xb);if(_0x5c0c47===_0x117f3c)break;else _0x344c74['push'](_0x344c74['shift']());}catch(_0x59c173){_0x344c74['push'](_0x344c74['shift']());}}}(_0x5556,0xbd674));import{Context as _0x21aa86,ContextPlugin as _0x2c196b}from'ckeditor5/src/core.js';function _0x5556(){const _0x216fd8=['attributes','_services','from','register','off','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-disconnect-not-exist','addToReconnectionStack','pluginName','updateCommentThread','commentThreadResolved','reopenCommentThread','2ONRHRr','Permissions','reopen','commentThreadReopened','assign','reconnect','404','2249352DbUSbG','unregister','11buRbHC','27MNrpBa','addCommentThread','218126TWIdxX','init','318HPykkV','sessionAdd:','plugins','_connectService','connect','commentThreadUpdated','isPremiumPlugin','commentRemoved','size','isOfficialPlugin','_fetchMissingUsersForThreads','3108048EUQtjt','resolvedAt','delete','CloudServicesCommentsAdapter','CommentsService','remove','permissions','add','config','set','userId','setPermissions','deletedAt','commentThreadAdded','getUser','resolvedBy','commentThreadRemoved','getConnectedSessions','cloudservicescommentsadapter-service-not-exist','createdAt','_setUpService','getMany','authorId','removeCommentThread','get','resolveCommentThread','has','getCommentThreads','commentThreadId','destroy','requires','35858840pFEAUL','adapter','comments','addComment','mySessionId','addUser','_terminateService','startsWith','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','keys','CommentsRepository','disconnect','code','resolve','getCommentThread','3610444ojAqHz','content','5089aFCHRO','message','commentUpdated','7676865akKidM','_getService','commentId','getComment','removeComment','update','collaboration.channelId','context','catch','commentAdded','updateComment','cloudservicescommentsadapter-connect-already-connected','listenTo','map'];_0x5556=function(){return _0x216fd8;};return _0x5556();}import{CKEditorError as _0x406063}from'ckeditor5/src/utils.js';import{Users as _0xb5f930}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x284328,User as _0x584258}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x39b1c2}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5437b5}from'../realtimecollaborativeediting/sessions.js';class s extends _0x2c196b{static [_0x118b6a(0xa0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x284328)());[_0x118b6a(0xde)];static get[_0x118b6a(0xba)](){const _0x484ea3=_0x118b6a;return[_0x39b1c2,_0x484ea3(0xc5),_0x5437b5,_0xb5f930];}static get[_0x118b6a(0xe6)](){const _0x2c99b3=_0x118b6a;return _0x2c99b3(0x9f);}static get[_0x118b6a(0x101)](){return!0x0;}static get[_0x118b6a(0xfe)](){return!0x0;}constructor(_0x369831){const _0x2737c6=_0x118b6a;super(_0x369831),this[_0x2737c6(0xde)]=new Map();}async[_0x118b6a(0xf7)](){const _0x21e164=_0x118b6a,_0x225423=this[_0x21e164(0xd6)],_0xceab5a=_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x21e164(0xc5));if(_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x39b1c2)[_0x21e164(0xe5)](this),_0xceab5a[_0x21e164(0xbc)]={'addCommentThread':async({channelId:_0x4ad3d0,threadId:_0x2ffefd,comments:_0x5ea513,resolvedAt:_0x167990,resolvedBy:_0x21c611,context:_0x189ecb,attributes:_0x149710})=>{const _0x4f29f9=_0x21e164,_0x3559c3=await this[_0x4f29f9(0xd0)](_0x4ad3d0)[_0x4f29f9(0xf5)]({'commentThreadId':_0x2ffefd,'comments':_0x5ea513[_0x4f29f9(0xdc)](_0x4861db=>function(_0x115350,_0x472a2a,_0x2b809e){const _0x2b483f=_0x4f29f9;return{'commentThreadId':_0x2b809e,'commentId':_0x115350[_0x2b483f(0xd1)],'userId':_0x115350[_0x2b483f(0xb2)],'content':_0x115350[_0x2b483f(0xcb)],'documentId':_0x472a2a,'createdAt':_0x115350[_0x2b483f(0xaf)],'attributes':_0x115350[_0x2b483f(0xdd)]||{}};}(_0x4861db,_0x4ad3d0,_0x2ffefd)),'resolvedAt':_0x167990,'resolvedBy':_0x21c611,'context':_0x189ecb,'attributes':_0x149710})[_0x4f29f9(0xd7)](nt);return{'threadId':_0x3559c3[_0x4f29f9(0xb8)],'comments':_0x3559c3[_0x4f29f9(0xbd)]};},'getCommentThread':async({channelId:_0x4e1b1f,threadId:_0xc05a7c})=>{const _0xbad852=_0x21e164,_0x59f3bf=await this[_0xbad852(0xd0)](_0x4e1b1f)[_0xbad852(0xc9)](_0xc05a7c)[_0xbad852(0xd7)](ot)[_0xbad852(0xd7)](nt);return _0x59f3bf?_0x59f3bf[_0xbad852(0xa8)]?null:(await this[_0xbad852(0x102)]([_0x59f3bf]),{'threadId':_0x59f3bf[_0xbad852(0xb8)],'comments':_0x59f3bf[_0xbad852(0xbd)][_0xbad852(0xdc)](st),'context':_0x59f3bf[_0xbad852(0xd6)],'resolvedAt':_0x59f3bf[_0xbad852(0x9d)],'resolvedBy':_0x59f3bf[_0xbad852(0xab)],'attributes':_0x59f3bf[_0xbad852(0xdd)]||{}}):null;},'updateCommentThread':async({channelId:_0x4fafd2,threadId:_0x39c8e5,context:_0x73bf1b,unlinkedAt:_0x419be8,attributes:_0x11e552})=>this[_0x21e164(0xd0)](_0x4fafd2)[_0x21e164(0xe7)]({'commentThreadId':_0x39c8e5,'context':_0x73bf1b,'attributes':_0x11e552,'unlinkedAt':_0x419be8})[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'resolveCommentThread':async({channelId:_0x33a518,threadId:_0x235c71})=>{const _0x303a0c=_0x21e164,_0x60fc8=await this[_0x303a0c(0xd0)](_0x33a518)[_0x303a0c(0xb5)](_0x235c71)[_0x303a0c(0xd7)](ot)[_0x303a0c(0xd7)](nt);return{'threadId':_0x60fc8[_0x303a0c(0xb8)],'resolvedAt':_0x60fc8[_0x303a0c(0x9d)],'resolvedBy':_0x60fc8[_0x303a0c(0xab)]};},'reopenCommentThread':async({channelId:_0x28dfdd,threadId:_0x5921ae})=>this[_0x21e164(0xd0)](_0x28dfdd)[_0x21e164(0xe9)](_0x5921ae)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'removeCommentThread':({channelId:_0x45e312,threadId:_0x10b821})=>this[_0x21e164(0xd0)](_0x45e312)[_0x21e164(0xb3)](_0x10b821)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'addComment':({channelId:_0x4c3f36,threadId:_0x297483,commentId:_0x4468da,content:_0x345819,attributes:_0x1d7f1d})=>this[_0x21e164(0xd0)](_0x4c3f36)[_0x21e164(0xbe)](_0x297483,_0x4468da,_0x345819,_0x1d7f1d)[_0x21e164(0xd7)](nt),'updateComment':({channelId:_0x4fc8fa,threadId:_0x6feb81,commentId:_0x3d74fc,content:_0x419cba,attributes:_0x177c62})=>this[_0x21e164(0xd0)](_0x4fc8fa)[_0x21e164(0xd9)](_0x6feb81,_0x3d74fc,_0x419cba,_0x177c62)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'removeComment':({channelId:_0x36b4ff,threadId:_0x6746a3,commentId:_0x360ffd})=>this[_0x21e164(0xd0)](_0x36b4ff)[_0x21e164(0xd3)](_0x6746a3,_0x360ffd)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt)},_0x225423 instanceof _0x21aa86){const _0x257040=_0x225423[_0x21e164(0xa4)][_0x21e164(0xb4)](_0x21e164(0xd5)),_0xd0a996=_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x5437b5);await this[_0x21e164(0xb0)](_0x257040);const _0xdd761=await this[_0x21e164(0xde)][_0x21e164(0xb4)](_0x257040)[_0x21e164(0xad)]();this[_0x21e164(0xdb)](_0xd0a996,_0x21e164(0xf9)+_0x257040,(_0x350fae,{session:_0x511e90})=>{const _0x3db318=_0x21e164;_0x511e90['id']===_0xd0a996[_0x3db318(0xbf)]&&(_0x350fae[_0x3db318(0xe1)](),this[_0x3db318(0xd6)][_0x3db318(0xfa)][_0x3db318(0xb4)](_0x3db318(0xeb))[_0x3db318(0xa7)](_0x511e90[_0x3db318(0xa2)],_0x257040));}),_0xd0a996[_0x21e164(0xe0)](_0x257040,_0xdd761);}}async[_0x118b6a(0xb0)](_0xd0d310){const _0xd6dc54=_0x118b6a;if(this[_0xd6dc54(0xde)][_0xd6dc54(0xb6)](_0xd0d310))throw new _0x406063(_0xd6dc54(0xda),null,{'channelId':_0xd0d310});const _0xfaf1de=this[_0xd6dc54(0xd6)][_0xd6dc54(0xfa)][_0xd6dc54(0xb4)](_0xd6dc54(0xc5)),_0x4aa14c=new s[(_0xd6dc54(0xa0))](_0xd0d310);this[_0xd6dc54(0xde)][_0xd6dc54(0xa5)](_0xd0d310,_0x4aa14c),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xa9),(_0x3b9c34,_0xca5543)=>{const _0x1506df=_0xd6dc54,{commentThreadId:_0x103583,documentId:_0x4f375a,context:_0x1761fa,attributes:_0x1356ea,resolvedAt:_0xc18dd0,resolvedBy:_0x26ec11,comments:_0x12cd22}=_0xca5543;_0xfaf1de[_0x1506df(0xc9)](_0x103583)||_0xfaf1de[_0x1506df(0xf5)]({'threadId':_0x103583,'channelId':_0x4f375a,'comments':_0x12cd22?_0x12cd22[_0x1506df(0xdc)](st):[],'context':_0x1761fa,'attributes':_0x1356ea,'resolvedAt':_0xc18dd0,'resolvedBy':_0x26ec11,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xfd),(_0x13b4e7,{commentThreadId:_0x511ff0,documentId:_0x32359f,context:_0x3ce1d2,unlinkedAt:_0x371934,attributes:_0x3eb570})=>{const _0xa6b6d=_0xd6dc54;_0xfaf1de[_0xa6b6d(0xc9)](_0x511ff0)&&_0xfaf1de[_0xa6b6d(0xe7)]({'threadId':_0x511ff0,'channelId':_0x32359f,'context':_0x3ce1d2,'unlinkedAt':_0x371934,'attributes':_0x3eb570,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xe8),(_0xd4e66c,{commentThreadId:_0x19f56c,resolvedBy:_0x34cd29,resolvedAt:_0x53e85e})=>{const _0x5c58dd=_0xd6dc54,_0x2d2089=_0xfaf1de[_0x5c58dd(0xc9)](_0x19f56c);_0x2d2089&&_0x2d2089[_0x5c58dd(0xc8)]({'resolvedBy':_0x34cd29,'resolvedAt':_0x53e85e,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xed),(_0x5ef86e,{commentThreadId:_0x5120cf})=>{const _0x19d67c=_0xd6dc54,_0x57b1ca=_0xfaf1de[_0x19d67c(0xc9)](_0x5120cf);_0x57b1ca&&_0x57b1ca[_0x19d67c(0xec)]({'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xac),(_0x2b1b6e,{commentThreadId:_0x5d11b6})=>{const _0x57292f=_0xd6dc54,_0x4029d7=_0xfaf1de[_0x57292f(0xc9)](_0x5d11b6);_0x4029d7&&_0x4029d7[_0x57292f(0xa1)]({'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xd8),(_0x94bf72,_0x525c24)=>{const _0xc5e185=_0xd6dc54,_0x3e7862=_0x525c24[_0xc5e185(0xb8)],_0x196810=_0xfaf1de[_0xc5e185(0xc9)](_0x3e7862);_0x196810&&_0x196810[_0xc5e185(0xbe)]({...st(_0x525c24),'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xce),(_0xe0600d,{commentThreadId:_0x474ff7,commentId:_0x746075,content:_0x484d4e,attributes:_0x591d9c})=>{const _0x320fee=_0xd6dc54,_0x5d48a6=_0xfaf1de[_0x320fee(0xc9)](_0x474ff7);if(_0x5d48a6){const _0x42dcbe=_0x5d48a6[_0x320fee(0xd2)](_0x746075);_0x42dcbe&&_0x42dcbe[_0x320fee(0xd4)]({'content':_0x484d4e,'attributes':_0x591d9c,'isFromAdapter':!0x0});}}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xff),(_0x57d01a,{commentThreadId:_0x58f93a,commentId:_0x5c7901})=>{const _0x2d2305=_0xd6dc54,_0x5e6e27=_0xfaf1de[_0x2d2305(0xc9)](_0x58f93a);if(_0x5e6e27){const _0x2fa2ad=_0x5e6e27[_0x2d2305(0xd2)](_0x5c7901);_0x2fa2ad&&_0x2fa2ad[_0x2d2305(0xa1)]({'isFromAdapter':!0x0});}}),await this[_0xd6dc54(0xfb)](_0xd0d310);}[_0x118b6a(0xb9)](){const _0x1f03ea=_0x118b6a;if(this[_0x1f03ea(0xd6)]instanceof _0x21aa86){const _0x9845bb=this[_0x1f03ea(0xd6)][_0x1f03ea(0xa4)][_0x1f03ea(0xb4)](_0x1f03ea(0xd5));this[_0x1f03ea(0xc1)](_0x9845bb);}}[_0x118b6a(0xc1)](_0x3edc3a){const _0x5cf930=_0x118b6a;if(!this[_0x5cf930(0xde)][_0x5cf930(0xb6)](_0x3edc3a))throw new _0x406063(_0x5cf930(0xe4),null,{'channelId':_0x3edc3a});this[_0x5cf930(0xd0)](_0x3edc3a)[_0x5cf930(0xc6)](),this[_0x5cf930(0xde)][_0x5cf930(0x9e)](_0x3edc3a);}async[_0x118b6a(0xef)](){const _0x487bde=_0x118b6a;for(const _0x489826 of this[_0x487bde(0xde)][_0x487bde(0xc4)]())await this[_0x487bde(0xfb)](_0x489826);if(this[_0x487bde(0xd6)]instanceof _0x21aa86){const _0x34b887=this[_0x487bde(0xd6)][_0x487bde(0xa4)][_0x487bde(0xb4)](_0x487bde(0xd5)),_0x140e9a=this[_0x487bde(0xd6)][_0x487bde(0xfa)][_0x487bde(0xb4)](_0x5437b5);_0x140e9a[_0x487bde(0xf2)](_0x34b887);const _0x13efc3=await this[_0x487bde(0xde)][_0x487bde(0xb4)](_0x34b887)[_0x487bde(0xad)]();_0x140e9a[_0x487bde(0xe0)](_0x34b887,_0x13efc3);}}async[_0x118b6a(0xfb)](_0x9b11a0){const _0x4ef017=_0x118b6a,{connection:_0x5bc3be}=this[_0x4ef017(0xd6)][_0x4ef017(0xfa)][_0x4ef017(0xb4)](_0x39b1c2),_0x4921f1=this[_0x4ef017(0xd6)][_0x4ef017(0xfa)][_0x4ef017(0xb4)](_0x4ef017(0xc5)),_0x27b1bf=this[_0x4ef017(0xde)][_0x4ef017(0xb4)](_0x9b11a0),_0x113ce6=await _0x27b1bf[_0x4ef017(0xfc)](_0x5bc3be);await this[_0x4ef017(0x102)](_0x113ce6);const _0x1c3d22=new Set(Array[_0x4ef017(0xdf)](_0x4921f1[_0x4ef017(0xb7)]({'channelId':_0x9b11a0}),_0x5ce72c=>_0x5ce72c['id']));for(const _0x3aa94f of _0x113ce6)_0x3aa94f[_0x4ef017(0xa8)]||_0x1c3d22[_0x4ef017(0x9e)](_0x3aa94f[_0x4ef017(0xb8)]);for(const _0xb234a4 of _0x1c3d22)_0x4921f1[_0x4ef017(0xc9)](_0xb234a4)[_0x4ef017(0xa1)]({'isFromAdapter':!0x0});for(const _0x446869 of _0x113ce6){let _0x2aa376=_0x4921f1[_0x4ef017(0xc9)](_0x446869[_0x4ef017(0xb8)]);const {commentThreadId:_0x34be59,context:_0x1ac732,attributes:_0x1d7535,resolvedBy:_0x523986,resolvedAt:_0x39cd41,unlinkedAt:_0x5bece5,deletedAt:_0x16e0c5}=_0x446869;if(_0x16e0c5)continue;_0x2aa376||(_0x2aa376=_0x4921f1[_0x4ef017(0xf5)]({'channelId':_0x9b11a0,'threadId':_0x34be59,'context':_0x1ac732,'attributes':_0x1d7535||{},'resolvedBy':_0x523986,'resolvedAt':_0x39cd41,'unlinkedAt':_0x5bece5,'isFromAdapter':!0x0}));const _0x5c1314=new Set(Array[_0x4ef017(0xdf)](_0x2aa376[_0x4ef017(0xbd)],_0x311c59=>_0x311c59['id']));for(const _0x1ec717 of _0x446869[_0x4ef017(0xbd)])_0x5c1314[_0x4ef017(0x9e)](_0x1ec717[_0x4ef017(0xd1)]);for(const _0x3e2cb1 of _0x5c1314)_0x2aa376[_0x4ef017(0xd2)](_0x3e2cb1)[_0x4ef017(0xa1)]({'isFromAdapter':!0x0});for(const _0x143a55 of _0x446869[_0x4ef017(0xbd)]){const _0x2334df=_0x2aa376[_0x4ef017(0xd2)](_0x143a55[_0x4ef017(0xd1)]);_0x2334df?_0x2334df[_0x4ef017(0xcb)]!==_0x143a55[_0x4ef017(0xcb)]&&_0x2334df[_0x4ef017(0xd4)]({'content':_0x143a55[_0x4ef017(0xcb)],'isFromAdapter':!0x0}):_0x2aa376[_0x4ef017(0xbe)](Object[_0x4ef017(0xee)](st(_0x143a55),{'isFromAdapter':!0x0}));}}}[_0x118b6a(0xd0)](_0x4e5b8e){const _0x5791cd=_0x118b6a;if(!this[_0x5791cd(0xde)][_0x5791cd(0xb6)](_0x4e5b8e))throw new _0x406063(_0x5791cd(0xae),null,{'channelId':_0x4e5b8e});return this[_0x5791cd(0xde)][_0x5791cd(0xb4)](_0x4e5b8e);}async[_0x118b6a(0x102)](_0xefd83a){const _0x9166f=_0x118b6a,_0x4c21c2=this[_0x9166f(0xd6)][_0x9166f(0xfa)][_0x9166f(0xb4)](_0xb5f930),{connection:_0x563682}=this[_0x9166f(0xd6)][_0x9166f(0xfa)][_0x9166f(0xb4)](_0x39b1c2),_0xd5341=new Set();for(const {resolvedBy:_0x2f5219,comments:_0x42b855}of _0xefd83a){_0x2f5219&&!_0x4c21c2[_0x9166f(0xaa)](_0x2f5219)&&_0xd5341[_0x9166f(0xa3)](_0x2f5219);for(const {userId:_0x4d696f}of _0x42b855)_0x4c21c2[_0x9166f(0xaa)](_0x4d696f)||_0xd5341[_0x9166f(0xa3)](_0x4d696f);}if(0x0===_0xd5341[_0x9166f(0x100)])return;const _0x50dad7=await _0x584258[_0x9166f(0xb1)](_0x563682,Array[_0x9166f(0xdf)](_0xd5341));for(const _0xf4a923 of _0x50dad7)_0x4c21c2[_0x9166f(0xaa)](_0xf4a923['id'])||_0x4c21c2[_0x9166f(0xc0)](_0xf4a923);}}function _0x5d2c(_0xa254ea,_0x290160){const _0x555617=_0x5556();return _0x5d2c=function(_0x5d2cb8,_0x40dd60){_0x5d2cb8=_0x5d2cb8-0x9d;let _0x19899b=_0x555617[_0x5d2cb8];return _0x19899b;},_0x5d2c(_0xa254ea,_0x290160);}export{s as CloudServicesCommentsAdapter};async function ot(_0x46615a){const _0x558890=_0x118b6a;if(_0x558890(0xf0)!==_0x46615a[_0x558890(0xc7)])throw _0x46615a;}function nt(_0x38ca0b){const _0x3a8efe=_0x118b6a;if((_0x66aa15=_0x38ca0b)[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xc3))||_0x66aa15[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xe3))||_0x66aa15[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xe2)))return new Promise(()=>{});var _0x66aa15;throw _0x38ca0b;}function st(_0x2c64bf){const _0x898dbb=_0x118b6a;return{'threadId':_0x2c64bf[_0x898dbb(0xb8)],'commentId':_0x2c64bf[_0x898dbb(0xd1)],'content':_0x2c64bf[_0x898dbb(0xcb)],'createdAt':_0x2c64bf[_0x898dbb(0xaf)],'authorId':_0x2c64bf[_0x898dbb(0xa6)],'attributes':_0x2c64bf[_0x898dbb(0xdd)]||{}};}
23
+ function _0x307e(){const _0x112758=['authorId','resolvedAt','config','_getService','keys','updateComment','assign','requires','commentId','getMany','_connectService','message','comments','117XHcSxI','commentThreadResolved','remove','permissions','pluginName','setPermissions','CommentsService','2441886TdDZbK','size','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Not\x20connected.','reopen','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','Permissions','resolve','260atgPDq','cloudservicescommentsadapter-disconnect-not-exist','commentThreadAdded','getUser','mySessionId','resolveCommentThread','commentThreadUpdated','unregister','connect','_terminateService','getCommentThread','2782801uagKHR','content','cloudservicescommentsadapter-service-not-exist','from','83814hrUcFv','has','addUser','CloudServicesCommentsAdapter','update','attributes','resolvedBy','addToReconnectionStack','commentRemoved','commentUpdated','code','_services','context','sessionAdd:','addCommentThread','get','isPremiumPlugin','map','171656ZJoBsI','adapter','commentThreadRemoved','catch','userId','isOfficialPlugin','reopenCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','commentThreadReopened','removeComment','getCommentThreads','getComment','8681FENeTk','CommentsRepository','register','1373610dwTcOe','commentAdded','1206960QpCjjO','init','commentThreadId','off','set','addComment','startsWith','add','reconnect','2gIsizV','destroy','collaboration.channelId','deletedAt','updateCommentThread','_setUpService','plugins','cloudservicescommentsadapter-connect-already-connected','404','removeCommentThread','disconnect','getConnectedSessions','delete','createdAt'];_0x307e=function(){return _0x112758;};return _0x307e();}const _0x4f273f=_0x5b91;(function(_0x42f96b,_0x30e6b8){const _0x3522ad=_0x5b91,_0x448dad=_0x42f96b();while(!![]){try{const _0x252258=-parseInt(_0x3522ad(0x143))/0x1*(parseInt(_0x3522ad(0x151))/0x2)+-parseInt(_0x3522ad(0x173))/0x3+parseInt(_0x3522ad(0x148))/0x4+-parseInt(_0x3522ad(0x17b))/0x5*(-parseInt(_0x3522ad(0x18a))/0x6)+parseInt(_0x3522ad(0x186))/0x7+-parseInt(_0x3522ad(0x19c))/0x8*(parseInt(_0x3522ad(0x16c))/0x9)+parseInt(_0x3522ad(0x146))/0xa;if(_0x252258===_0x30e6b8)break;else _0x448dad['push'](_0x448dad['shift']());}catch(_0x39abc2){_0x448dad['push'](_0x448dad['shift']());}}}(_0x307e,0x70a88));import{Context as _0x3a48f1,ContextPlugin as _0x39ba65}from'ckeditor5/src/core.js';import{CKEditorError as _0x57b31f}from'ckeditor5/src/utils.js';import{Users as _0x3edf02}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3d1b83,User as _0x578d72}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1339d1}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x95d09b}from'../realtimecollaborativeediting/sessions.js';class s extends _0x39ba65{static [_0x4f273f(0x172)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3d1b83)());[_0x4f273f(0x195)];static get[_0x4f273f(0x166)](){const _0x2af247=_0x4f273f;return[_0x1339d1,_0x2af247(0x144),_0x95d09b,_0x3edf02];}static get[_0x4f273f(0x170)](){const _0x7cdf6d=_0x4f273f;return _0x7cdf6d(0x18d);}static get[_0x4f273f(0x1a1)](){return!0x0;}static get[_0x4f273f(0x19a)](){return!0x0;}constructor(_0xa1aee8){const _0x55fb31=_0x4f273f;super(_0xa1aee8),this[_0x55fb31(0x195)]=new Map();}async[_0x4f273f(0x149)](){const _0x12d27f=_0x4f273f,_0x1bf5aa=this[_0x12d27f(0x196)],_0x3e78c1=_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x12d27f(0x144));if(_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x1339d1)[_0x12d27f(0x191)](this),_0x3e78c1[_0x12d27f(0x19d)]={'addCommentThread':async({channelId:_0x3a5767,threadId:_0x3768b4,comments:_0x1c3379,resolvedAt:_0x58a212,resolvedBy:_0x26070a,context:_0x59beb0,attributes:_0x55a9c7})=>{const _0x44c0f9=_0x12d27f,_0x2fae06=await this[_0x44c0f9(0x162)](_0x3a5767)[_0x44c0f9(0x198)]({'commentThreadId':_0x3768b4,'comments':_0x1c3379[_0x44c0f9(0x19b)](_0x439a91=>function(_0x53bfc7,_0x19b6cf,_0x3ce611){const _0x30d092=_0x44c0f9;return{'commentThreadId':_0x3ce611,'commentId':_0x53bfc7[_0x30d092(0x167)],'userId':_0x53bfc7[_0x30d092(0x15f)],'content':_0x53bfc7[_0x30d092(0x187)],'documentId':_0x19b6cf,'createdAt':_0x53bfc7[_0x30d092(0x15e)],'attributes':_0x53bfc7[_0x30d092(0x18f)]||{}};}(_0x439a91,_0x3a5767,_0x3768b4)),'resolvedAt':_0x58a212,'resolvedBy':_0x26070a,'context':_0x59beb0,'attributes':_0x55a9c7})[_0x44c0f9(0x19f)](A);return{'threadId':_0x2fae06[_0x44c0f9(0x14a)],'comments':_0x2fae06[_0x44c0f9(0x16b)]};},'getCommentThread':async({channelId:_0x175a1a,threadId:_0x2b41b3})=>{const _0x4d85ed=_0x12d27f,_0x1b657b=await this[_0x4d85ed(0x162)](_0x175a1a)[_0x4d85ed(0x185)](_0x2b41b3)[_0x4d85ed(0x19f)](v)[_0x4d85ed(0x19f)](A);return _0x1b657b?_0x1b657b[_0x4d85ed(0x154)]?null:(await this[_0x4d85ed(0x175)]([_0x1b657b]),{'threadId':_0x1b657b[_0x4d85ed(0x14a)],'comments':_0x1b657b[_0x4d85ed(0x16b)][_0x4d85ed(0x19b)](p),'context':_0x1b657b[_0x4d85ed(0x196)],'resolvedAt':_0x1b657b[_0x4d85ed(0x160)],'resolvedBy':_0x1b657b[_0x4d85ed(0x190)],'attributes':_0x1b657b[_0x4d85ed(0x18f)]||{}}):null;},'updateCommentThread':async({channelId:_0x1e4a42,threadId:_0x598177,context:_0x511fad,unlinkedAt:_0x39f4c5,attributes:_0x129a69})=>this[_0x12d27f(0x162)](_0x1e4a42)[_0x12d27f(0x155)]({'commentThreadId':_0x598177,'context':_0x511fad,'attributes':_0x129a69,'unlinkedAt':_0x39f4c5})[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'resolveCommentThread':async({channelId:_0x34ae6c,threadId:_0x441873})=>{const _0x2fe06f=_0x12d27f,_0x3f9c82=await this[_0x2fe06f(0x162)](_0x34ae6c)[_0x2fe06f(0x180)](_0x441873)[_0x2fe06f(0x19f)](v)[_0x2fe06f(0x19f)](A);return{'threadId':_0x3f9c82[_0x2fe06f(0x14a)],'resolvedAt':_0x3f9c82[_0x2fe06f(0x160)],'resolvedBy':_0x3f9c82[_0x2fe06f(0x190)]};},'reopenCommentThread':async({channelId:_0x1aa740,threadId:_0x104c19})=>this[_0x12d27f(0x162)](_0x1aa740)[_0x12d27f(0x1a2)](_0x104c19)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'removeCommentThread':({channelId:_0x43d306,threadId:_0x54f1f8})=>this[_0x12d27f(0x162)](_0x43d306)[_0x12d27f(0x15a)](_0x54f1f8)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'addComment':({channelId:_0x2e5517,threadId:_0x5b24c8,commentId:_0x3613dc,content:_0x3df3c4,attributes:_0x5c3d2a})=>this[_0x12d27f(0x162)](_0x2e5517)[_0x12d27f(0x14d)](_0x5b24c8,_0x3613dc,_0x3df3c4,_0x5c3d2a)[_0x12d27f(0x19f)](A),'updateComment':({channelId:_0x781022,threadId:_0x1c1b2e,commentId:_0x35cb7c,content:_0x32d700,attributes:_0x2de351})=>this[_0x12d27f(0x162)](_0x781022)[_0x12d27f(0x164)](_0x1c1b2e,_0x35cb7c,_0x32d700,_0x2de351)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'removeComment':({channelId:_0x4d9746,threadId:_0x3a2df2,commentId:_0x92bf04})=>this[_0x12d27f(0x162)](_0x4d9746)[_0x12d27f(0x140)](_0x3a2df2,_0x92bf04)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A)},_0x1bf5aa instanceof _0x3a48f1){const _0x5ad6c2=_0x1bf5aa[_0x12d27f(0x161)][_0x12d27f(0x199)](_0x12d27f(0x153)),_0x2e6e8c=_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x95d09b);await this[_0x12d27f(0x156)](_0x5ad6c2);const _0x5dfda8=await this[_0x12d27f(0x195)][_0x12d27f(0x199)](_0x5ad6c2)[_0x12d27f(0x15c)]();this[_0x12d27f(0x1a4)](_0x2e6e8c,_0x12d27f(0x197)+_0x5ad6c2,(_0x5ba06a,{session:_0x253b03})=>{const _0x3d3e53=_0x12d27f;_0x253b03['id']===_0x2e6e8c[_0x3d3e53(0x17f)]&&(_0x5ba06a[_0x3d3e53(0x14b)](),this[_0x3d3e53(0x196)][_0x3d3e53(0x157)][_0x3d3e53(0x199)](_0x3d3e53(0x179))[_0x3d3e53(0x171)](_0x253b03[_0x3d3e53(0x16f)],_0x5ad6c2));}),_0x2e6e8c[_0x12d27f(0x145)](_0x5ad6c2,_0x5dfda8);}}async[_0x4f273f(0x156)](_0x31b4b7){const _0x111034=_0x4f273f;if(this[_0x111034(0x195)][_0x111034(0x18b)](_0x31b4b7))throw new _0x57b31f(_0x111034(0x158),null,{'channelId':_0x31b4b7});const _0x5beae3=this[_0x111034(0x196)][_0x111034(0x157)][_0x111034(0x199)](_0x111034(0x144)),_0x428b3e=new s[(_0x111034(0x172))](_0x31b4b7);this[_0x111034(0x195)][_0x111034(0x14c)](_0x31b4b7,_0x428b3e),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x17d),(_0x483abc,_0x308cd2)=>{const _0x2c9a48=_0x111034,{commentThreadId:_0x6ec20a,documentId:_0x1f7329,context:_0x3597f9,attributes:_0x40120f,resolvedAt:_0x23dd3f,resolvedBy:_0x4d8623,comments:_0x643edd}=_0x308cd2;_0x5beae3[_0x2c9a48(0x185)](_0x6ec20a)||_0x5beae3[_0x2c9a48(0x198)]({'threadId':_0x6ec20a,'channelId':_0x1f7329,'comments':_0x643edd?_0x643edd[_0x2c9a48(0x19b)](p):[],'context':_0x3597f9,'attributes':_0x40120f,'resolvedAt':_0x23dd3f,'resolvedBy':_0x4d8623,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x181),(_0x16a979,{commentThreadId:_0xbb9198,documentId:_0x23a25d,context:_0x2cb4e8,unlinkedAt:_0xcf7aac,attributes:_0xf87fe7})=>{const _0x25508c=_0x111034;_0x5beae3[_0x25508c(0x185)](_0xbb9198)&&_0x5beae3[_0x25508c(0x155)]({'threadId':_0xbb9198,'channelId':_0x23a25d,'context':_0x2cb4e8,'unlinkedAt':_0xcf7aac,'attributes':_0xf87fe7,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x16d),(_0xf8c4c4,{commentThreadId:_0x102905,resolvedBy:_0x221421,resolvedAt:_0x14b7f4})=>{const _0x155d31=_0x111034,_0x22e4eb=_0x5beae3[_0x155d31(0x185)](_0x102905);_0x22e4eb&&_0x22e4eb[_0x155d31(0x17a)]({'resolvedBy':_0x221421,'resolvedAt':_0x14b7f4,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x1a5),(_0x4ceeed,{commentThreadId:_0x2d70da})=>{const _0x293d14=_0x111034,_0x5bc27b=_0x5beae3[_0x293d14(0x185)](_0x2d70da);_0x5bc27b&&_0x5bc27b[_0x293d14(0x177)]({'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x19e),(_0x35c1a3,{commentThreadId:_0x5e34da})=>{const _0x451e95=_0x111034,_0x135d57=_0x5beae3[_0x451e95(0x185)](_0x5e34da);_0x135d57&&_0x135d57[_0x451e95(0x16e)]({'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x147),(_0x49c1e1,_0x4b5354)=>{const _0x393498=_0x111034,_0x5e338b=_0x4b5354[_0x393498(0x14a)],_0x68e84d=_0x5beae3[_0x393498(0x185)](_0x5e338b);_0x68e84d&&_0x68e84d[_0x393498(0x14d)]({...p(_0x4b5354),'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x193),(_0x43b42a,{commentThreadId:_0x1c9081,commentId:_0x5f2ad1,content:_0x21bb82,attributes:_0x8d3b1e})=>{const _0x20013a=_0x111034,_0x36af36=_0x5beae3[_0x20013a(0x185)](_0x1c9081);if(_0x36af36){const _0x4925b8=_0x36af36[_0x20013a(0x142)](_0x5f2ad1);_0x4925b8&&_0x4925b8[_0x20013a(0x18e)]({'content':_0x21bb82,'attributes':_0x8d3b1e,'isFromAdapter':!0x0});}}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x192),(_0x149328,{commentThreadId:_0x2a62d4,commentId:_0x420e3b})=>{const _0x49b2b0=_0x111034,_0x2fdce9=_0x5beae3[_0x49b2b0(0x185)](_0x2a62d4);if(_0x2fdce9){const _0x359b53=_0x2fdce9[_0x49b2b0(0x142)](_0x420e3b);_0x359b53&&_0x359b53[_0x49b2b0(0x16e)]({'isFromAdapter':!0x0});}}),await this[_0x111034(0x169)](_0x31b4b7);}[_0x4f273f(0x152)](){const _0x57759a=_0x4f273f;if(this[_0x57759a(0x196)]instanceof _0x3a48f1){const _0x292472=this[_0x57759a(0x196)][_0x57759a(0x161)][_0x57759a(0x199)](_0x57759a(0x153));this[_0x57759a(0x184)](_0x292472);}}[_0x4f273f(0x184)](_0x1b07c3){const _0x6e61f3=_0x4f273f;if(!this[_0x6e61f3(0x195)][_0x6e61f3(0x18b)](_0x1b07c3))throw new _0x57b31f(_0x6e61f3(0x17c),null,{'channelId':_0x1b07c3});this[_0x6e61f3(0x162)](_0x1b07c3)[_0x6e61f3(0x15b)](),this[_0x6e61f3(0x195)][_0x6e61f3(0x15d)](_0x1b07c3);}async[_0x4f273f(0x150)](){const _0x254c58=_0x4f273f;for(const _0x4d2c22 of this[_0x254c58(0x195)][_0x254c58(0x163)]())await this[_0x254c58(0x169)](_0x4d2c22);if(this[_0x254c58(0x196)]instanceof _0x3a48f1){const _0x14dc86=this[_0x254c58(0x196)][_0x254c58(0x161)][_0x254c58(0x199)](_0x254c58(0x153)),_0x3ac42b=this[_0x254c58(0x196)][_0x254c58(0x157)][_0x254c58(0x199)](_0x95d09b);_0x3ac42b[_0x254c58(0x182)](_0x14dc86);const _0x383841=await this[_0x254c58(0x195)][_0x254c58(0x199)](_0x14dc86)[_0x254c58(0x15c)]();_0x3ac42b[_0x254c58(0x145)](_0x14dc86,_0x383841);}}async[_0x4f273f(0x169)](_0x2e922e){const _0x13d17f=_0x4f273f,{connection:_0x553181}=this[_0x13d17f(0x196)][_0x13d17f(0x157)][_0x13d17f(0x199)](_0x1339d1),_0x41838e=this[_0x13d17f(0x196)][_0x13d17f(0x157)][_0x13d17f(0x199)](_0x13d17f(0x144)),_0x3e6f2e=this[_0x13d17f(0x195)][_0x13d17f(0x199)](_0x2e922e),_0x25276c=await _0x3e6f2e[_0x13d17f(0x183)](_0x553181);await this[_0x13d17f(0x175)](_0x25276c);const _0x2075bd=new Set(Array[_0x13d17f(0x189)](_0x41838e[_0x13d17f(0x141)]({'channelId':_0x2e922e}),_0x1b12ec=>_0x1b12ec['id']));for(const _0x746422 of _0x25276c)_0x746422[_0x13d17f(0x154)]||_0x2075bd[_0x13d17f(0x15d)](_0x746422[_0x13d17f(0x14a)]);for(const _0x15ee6e of _0x2075bd)_0x41838e[_0x13d17f(0x185)](_0x15ee6e)[_0x13d17f(0x16e)]({'isFromAdapter':!0x0});for(const _0x4c1990 of _0x25276c){let _0x36c4a4=_0x41838e[_0x13d17f(0x185)](_0x4c1990[_0x13d17f(0x14a)]);const {commentThreadId:_0x46521b,context:_0x301d81,attributes:_0x4c03,resolvedBy:_0x5b776b,resolvedAt:_0x2c25d2,unlinkedAt:_0x43a27c,deletedAt:_0x1bb118}=_0x4c1990;if(_0x1bb118)continue;_0x36c4a4||(_0x36c4a4=_0x41838e[_0x13d17f(0x198)]({'channelId':_0x2e922e,'threadId':_0x46521b,'context':_0x301d81,'attributes':_0x4c03||{},'resolvedBy':_0x5b776b,'resolvedAt':_0x2c25d2,'unlinkedAt':_0x43a27c,'isFromAdapter':!0x0}));const _0x212d75=new Set(Array[_0x13d17f(0x189)](_0x36c4a4[_0x13d17f(0x16b)],_0x1b4816=>_0x1b4816['id']));for(const _0x2f656c of _0x4c1990[_0x13d17f(0x16b)])_0x212d75[_0x13d17f(0x15d)](_0x2f656c[_0x13d17f(0x167)]);for(const _0x36e31d of _0x212d75)_0x36c4a4[_0x13d17f(0x142)](_0x36e31d)[_0x13d17f(0x16e)]({'isFromAdapter':!0x0});for(const _0x592052 of _0x4c1990[_0x13d17f(0x16b)]){const _0x1901c8=_0x36c4a4[_0x13d17f(0x142)](_0x592052[_0x13d17f(0x167)]);_0x1901c8?_0x1901c8[_0x13d17f(0x187)]!==_0x592052[_0x13d17f(0x187)]&&_0x1901c8[_0x13d17f(0x18e)]({'content':_0x592052[_0x13d17f(0x187)],'isFromAdapter':!0x0}):_0x36c4a4[_0x13d17f(0x14d)](Object[_0x13d17f(0x165)](p(_0x592052),{'isFromAdapter':!0x0}));}}}[_0x4f273f(0x162)](_0x4c47ac){const _0x4c5664=_0x4f273f;if(!this[_0x4c5664(0x195)][_0x4c5664(0x18b)](_0x4c47ac))throw new _0x57b31f(_0x4c5664(0x188),null,{'channelId':_0x4c47ac});return this[_0x4c5664(0x195)][_0x4c5664(0x199)](_0x4c47ac);}async[_0x4f273f(0x175)](_0x3202b4){const _0x42072f=_0x4f273f,_0xfc0ff8=this[_0x42072f(0x196)][_0x42072f(0x157)][_0x42072f(0x199)](_0x3edf02),{connection:_0x287abb}=this[_0x42072f(0x196)][_0x42072f(0x157)][_0x42072f(0x199)](_0x1339d1),_0x5c7ba7=new Set();for(const {resolvedBy:_0x52f53e,comments:_0x34391c}of _0x3202b4){_0x52f53e&&!_0xfc0ff8[_0x42072f(0x17e)](_0x52f53e)&&_0x5c7ba7[_0x42072f(0x14f)](_0x52f53e);for(const {userId:_0x5bb959}of _0x34391c)_0xfc0ff8[_0x42072f(0x17e)](_0x5bb959)||_0x5c7ba7[_0x42072f(0x14f)](_0x5bb959);}if(0x0===_0x5c7ba7[_0x42072f(0x174)])return;const _0xbdffa3=await _0x578d72[_0x42072f(0x168)](_0x287abb,Array[_0x42072f(0x189)](_0x5c7ba7));for(const _0x12b280 of _0xbdffa3)_0xfc0ff8[_0x42072f(0x17e)](_0x12b280['id'])||_0xfc0ff8[_0x42072f(0x18c)](_0x12b280);}}export{s as CloudServicesCommentsAdapter};async function v(_0x18f3b3){const _0x1931bb=_0x4f273f;if(_0x1931bb(0x159)!==_0x18f3b3[_0x1931bb(0x194)])throw _0x18f3b3;}function _0x5b91(_0x13f27b,_0x31fded){const _0x307ef9=_0x307e();return _0x5b91=function(_0x5b91e4,_0x10c0ec){_0x5b91e4=_0x5b91e4-0x140;let _0x22c348=_0x307ef9[_0x5b91e4];return _0x22c348;},_0x5b91(_0x13f27b,_0x31fded);}function A(_0x54c4d0){const _0x2cde1e=_0x4f273f;if((_0x32bb1b=_0x54c4d0)[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x178))||_0x32bb1b[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x176))||_0x32bb1b[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x1a3)))return new Promise(()=>{});var _0x32bb1b;throw _0x54c4d0;}function p(_0x39cd9b){const _0x1917c6=_0x4f273f;return{'threadId':_0x39cd9b[_0x1917c6(0x14a)],'commentId':_0x39cd9b[_0x1917c6(0x167)],'content':_0x39cd9b[_0x1917c6(0x187)],'createdAt':_0x39cd9b[_0x1917c6(0x15e)],'authorId':_0x39cd9b[_0x1917c6(0x1a0)],'attributes':_0x39cd9b[_0x1917c6(0x18f)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c755c=_0x29c5;(function(_0x45022c,_0x33616a){const _0x16b4fe=_0x29c5,_0x2dc57e=_0x45022c();while(!![]){try{const _0x19bc36=parseInt(_0x16b4fe(0x124))/0x1+parseInt(_0x16b4fe(0x135))/0x2+-parseInt(_0x16b4fe(0x11f))/0x3+parseInt(_0x16b4fe(0x120))/0x4+parseInt(_0x16b4fe(0x128))/0x5*(-parseInt(_0x16b4fe(0x123))/0x6)+parseInt(_0x16b4fe(0x122))/0x7+-parseInt(_0x16b4fe(0x11e))/0x8*(parseInt(_0x16b4fe(0x12c))/0x9);if(_0x19bc36===_0x33616a)break;else _0x2dc57e['push'](_0x2dc57e['shift']());}catch(_0x20a6aa){_0x2dc57e['push'](_0x2dc57e['shift']());}}}(_0x4c11,0xd044b));import{Plugin as _0x1f6850}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x580395}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4c11(){const _0x338a40=['1558950YDTitq','get','isThreadsLoadingPaused','init','CommentsRepository','collaboration.channelId','RealTimeCollaborativeComments','pluginName','Comments','_terminateService','isPremiumPlugin','10237792YEEIzf','1451457NYsfCk','2246708OtGmJa','config','8332051xWZaqm','18rRqRfH','1578178kHmooM','listenTo','requires','ready','2488355SYukdH','isOfficialPlugin','connected','CommentsEditing','9uAYKgc','switchReadOnly','destroy','once','change:state','editor','_setUpService','data','plugins'];_0x4c11=function(){return _0x338a40;};return _0x4c11();}import{RealTimeCollaborativeEditing as _0x40887c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x381b9a}from'./realtimecollaborativeediting/websocketgateway.js';function _0x29c5(_0x2d4faa,_0x4b420b){const _0x4c1101=_0x4c11();return _0x29c5=function(_0x29c5b7,_0x345012){_0x29c5b7=_0x29c5b7-0x117;let _0x4bb12a=_0x4c1101[_0x29c5b7];return _0x4bb12a;},_0x29c5(_0x2d4faa,_0x4b420b);}export class RealTimeCollaborativeComments extends _0x1f6850{static get[_0x1c755c(0x126)](){const _0x5cf981=_0x1c755c;return[_0x5cf981(0x11b),_0x580395,_0x40887c,_0x381b9a];}static get[_0x1c755c(0x11a)](){const _0x381d9f=_0x1c755c;return _0x381d9f(0x119);}static get[_0x1c755c(0x129)](){return!0x0;}static get[_0x1c755c(0x11d)](){return!0x0;}[_0x1c755c(0x138)](){const _0x483a65=_0x1c755c,_0x275e94=this[_0x483a65(0x131)][_0x483a65(0x134)][_0x483a65(0x136)](_0x381b9a),_0x56144f=this[_0x483a65(0x131)][_0x483a65(0x134)][_0x483a65(0x136)](_0x483a65(0x12b)),_0x3240e2=this[_0x483a65(0x131)][_0x483a65(0x134)][_0x483a65(0x136)](_0x580395);return this[_0x483a65(0x131)][_0x483a65(0x133)][_0x483a65(0x12f)](_0x483a65(0x127),()=>{const _0x3648e2=_0x483a65;this[_0x3648e2(0x125)](_0x275e94,_0x3648e2(0x130),(_0xbc997,_0x11881a,_0x376aaf)=>{const _0x5f1be4=_0x3648e2;_0x56144f[_0x5f1be4(0x137)]=_0x5f1be4(0x12a)!==_0x376aaf;});}),this[_0x483a65(0x125)](_0x275e94,_0x483a65(0x130),(_0x312787,_0x581916,_0x740fcd)=>{const _0x4d029d=_0x483a65;this[_0x4d029d(0x131)][_0x4d029d(0x134)][_0x4d029d(0x136)](_0x4d029d(0x117))[_0x4d029d(0x12d)](_0x4d029d(0x12a)!==_0x740fcd);}),_0x3240e2[_0x483a65(0x132)](this[_0x483a65(0x131)][_0x483a65(0x121)][_0x483a65(0x136)](_0x483a65(0x118)));}[_0x1c755c(0x12e)](){const _0x3ab33e=_0x1c755c;this[_0x3ab33e(0x131)][_0x3ab33e(0x134)][_0x3ab33e(0x136)](_0x580395)[_0x3ab33e(0x11c)](this[_0x3ab33e(0x131)][_0x3ab33e(0x121)][_0x3ab33e(0x136)](_0x3ab33e(0x118))),super[_0x3ab33e(0x12e)]();}}
23
+ const _0x481ba6=_0x5423;function _0x5423(_0x2ae5b3,_0x577215){const _0x28bdc3=_0x28bd();return _0x5423=function(_0x542395,_0x2b0baa){_0x542395=_0x542395-0x1ed;let _0x316610=_0x28bdc3[_0x542395];return _0x316610;},_0x5423(_0x2ae5b3,_0x577215);}(function(_0x28e9c3,_0x1c8b57){const _0x506d23=_0x5423,_0x4d37b1=_0x28e9c3();while(!![]){try{const _0x95b326=parseInt(_0x506d23(0x1fb))/0x1+-parseInt(_0x506d23(0x20f))/0x2*(-parseInt(_0x506d23(0x1fa))/0x3)+-parseInt(_0x506d23(0x208))/0x4+parseInt(_0x506d23(0x1fc))/0x5*(parseInt(_0x506d23(0x1f8))/0x6)+-parseInt(_0x506d23(0x200))/0x7*(-parseInt(_0x506d23(0x1f5))/0x8)+parseInt(_0x506d23(0x203))/0x9*(parseInt(_0x506d23(0x1f4))/0xa)+parseInt(_0x506d23(0x211))/0xb*(-parseInt(_0x506d23(0x1f0))/0xc);if(_0x95b326===_0x1c8b57)break;else _0x4d37b1['push'](_0x4d37b1['shift']());}catch(_0x1b714c){_0x4d37b1['push'](_0x4d37b1['shift']());}}}(_0x28bd,0x1ab9a));import{Plugin as _0x58b033}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1f0587}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x286c4e}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5f1c45}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x58b033{static get[_0x481ba6(0x1f2)](){const _0x633df7=_0x481ba6;return[_0x633df7(0x20e),_0x1f0587,_0x286c4e,_0x5f1c45];}static get[_0x481ba6(0x1f1)](){const _0x49609b=_0x481ba6;return _0x49609b(0x20c);}static get[_0x481ba6(0x207)](){return!0x0;}static get[_0x481ba6(0x1ff)](){return!0x0;}[_0x481ba6(0x20b)](){const _0xfc771d=_0x481ba6,_0x1ced0f=this[_0xfc771d(0x1fe)][_0xfc771d(0x206)][_0xfc771d(0x1ee)](_0x5f1c45),_0x55cce0=this[_0xfc771d(0x1fe)][_0xfc771d(0x206)][_0xfc771d(0x1ee)](_0xfc771d(0x204)),_0x3b7c3f=this[_0xfc771d(0x1fe)][_0xfc771d(0x206)][_0xfc771d(0x1ee)](_0x1f0587);return this[_0xfc771d(0x1fe)][_0xfc771d(0x209)][_0xfc771d(0x1ef)](_0xfc771d(0x205),()=>{const _0x2cdbac=_0xfc771d;this[_0x2cdbac(0x20d)](_0x1ced0f,_0x2cdbac(0x1f6),(_0x3ff5de,_0x26d04f,_0x523940)=>{const _0x540f06=_0x2cdbac;_0x55cce0[_0x540f06(0x210)]=_0x540f06(0x1f7)!==_0x523940;});}),this[_0xfc771d(0x20d)](_0x1ced0f,_0xfc771d(0x1f6),(_0x5cbc13,_0xf2fce2,_0x4715ce)=>{const _0x1cb7f4=_0xfc771d;this[_0x1cb7f4(0x1fe)][_0x1cb7f4(0x206)][_0x1cb7f4(0x1ee)](_0x1cb7f4(0x1fd))[_0x1cb7f4(0x1f3)](_0x1cb7f4(0x1f7)!==_0x4715ce);}),_0x3b7c3f[_0xfc771d(0x20a)](this[_0xfc771d(0x1fe)][_0xfc771d(0x201)][_0xfc771d(0x1ee)](_0xfc771d(0x202)));}[_0x481ba6(0x1ed)](){const _0x13ee4d=_0x481ba6;this[_0x13ee4d(0x1fe)][_0x13ee4d(0x206)][_0x13ee4d(0x1ee)](_0x1f0587)[_0x13ee4d(0x1f9)](this[_0x13ee4d(0x1fe)][_0x13ee4d(0x201)][_0x13ee4d(0x1ee)](_0x13ee4d(0x202))),super[_0x13ee4d(0x1ed)]();}}function _0x28bd(){const _0x2d19f7=['switchReadOnly','26480NFmDoY','1726552aINjMb','change:state','connected','42sOchPT','_terminateService','171669CRxzSk','85009FeHArj','23605jSDXha','CommentsRepository','editor','isPremiumPlugin','7ijPKne','config','collaboration.channelId','36EOhZDK','CommentsEditing','ready','plugins','isOfficialPlugin','714316SsvxKy','data','_setUpService','init','RealTimeCollaborativeComments','listenTo','Comments','2DWYTDd','isThreadsLoadingPaused','250019ZtYyDa','destroy','get','once','60FKZYwa','pluginName','requires'];_0x28bd=function(){return _0x2d19f7;};return _0x28bd();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47e6c8=_0x464f;(function(_0x4ffe6c,_0x20c355){const _0x532dbf=_0x464f,_0x38e541=_0x4ffe6c();while(!![]){try{const _0x5f0ac8=parseInt(_0x532dbf(0x271))/0x1*(-parseInt(_0x532dbf(0x218))/0x2)+parseInt(_0x532dbf(0x252))/0x3+parseInt(_0x532dbf(0x1bf))/0x4+-parseInt(_0x532dbf(0x292))/0x5+parseInt(_0x532dbf(0x19f))/0x6+-parseInt(_0x532dbf(0x205))/0x7+parseInt(_0x532dbf(0x245))/0x8;if(_0x5f0ac8===_0x20c355)break;else _0x38e541['push'](_0x38e541['shift']());}catch(_0x38e165){_0x38e541['push'](_0x38e541['shift']());}}}(_0x4c86,0xab9af));import{Plugin as _0x5b6c13,PendingActions as _0xc6be42}from'ckeditor5/src/core.js';import{CKEditorError as _0x550911,version as _0x1de69a,uid as _0x28bb14}from'ckeditor5/src/utils.js';import{Notification as _0x45941e}from'ckeditor5/src/ui.js';function _0x4c86(){const _0xac9677=['currentDocumentSession','stop','isReadOnly','type','reconnect','_handleSendingSelectionMarkers','clone','end','_initSessionsHandling','_setPendingAction','marker','path','isEnabled','rtc-destroyed','6026748mwdrDY','parse','change:_isPendingUpdate','differ','realtimecollaborationclient-sendbufferedoperations','_isConnected','_bufferRootLoad','_isEditingAllowed','permissions','_waitUntilSynced','map','_connectService','startsWith','state','from','_saveOperationInBuffer','getMany','RealTimeCollaborationClient','realtimecollaborationclient-error','922430htALXU','_offset','finally','metadata','ready','editor','createdAt','then','change:hasDomSelection','_getOperationsFromInitData','length','_shouldSendUpdate','cloudServices.bundleVersion','round','realtimecollaborationclient','connection','initData','realtimecollaborationclient-init-service-internal-error','rootName','has','Synchronization\x20issue','InsertOperation','enableReadOnlyMode','addOperation','forEach','_service','directChange','_operationIdentifier','get','_knownRootNames','size','_document','_hasSynchronizationProblem','sessionId','_handleInitialConnectionData','_updateServerHistory','listenTo','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.','slice','lastDocumentSession','push','return','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnected','_sendBufferedOperations','14430760ZkKQjU','roots','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','history','realtimecollaborationclient-init-session-connection-error','_loadRoot','_fetchMissingUsers','string','addUser','lastOperationAcceptedAt','CommentsOnly','_shouldSendSelectionUpdate','161886OJzkls','keys','editing','pluginName','PENDING_ACTION_SENDING_DATA','message','fromJSON','_initThrowingOnDataSet','_setUpDataInit','_crash','realtimecollaborationclient-init-service-incorrect-server-operation','suppressErrorInCollaboration','isPremiumPlugin','connect','_addKnownRoot','sessionAdd:','_decompressOperations','change:_isEditingAllowed','_channelId','root','remove','collaboration-missing-channelid','newRange','channelSessions','_isInit','affectedSelectable','getUser','connected','view','catch','sendOperations','2DefUqJ','cs:removeUser','reset','selection','wasUndone','_connectAfterSessionHasBeenFlushed','position','batch','define','offset','addToReconnectionStack','createRoot','_clearPendingAction','config','rtc-offline','lastSyncVersion','addRootAttribute','wereChangesApplied','init','real-time-collaboration','unregister','set','_lastSyncedOperationId','enqueueChange','locale','_refreshUserSelectionMarkers','_handleReceivedOperations','_lastServerVersion','data','mySessionId','getRoot','_isLoaded','isDocumentOperation','6828495QINsGm','document','applyOperation','realtimecollaborationclient-init-non-existent-root','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.','high','code','cloud-services-internal-error:\x20Not\x20connected.','getOperations','_sendBufferedOperationsDelayId','targetPosition','destroy','attributes','stopListening','_disconnectService','createRange','requires','4469892KKoryL','add','isUndoneOperation','entries','register','apply','_applyOperationsSet','multi-root-editor-root-attributes-no-root','reconnection:\x20flushed\x20session','off','_bufferedOperations','_isAttached','_ignoredOperations','insert','_pendingAction','sessionCreatedAt','bind','_authorId','_compressor','404','__className','_knownOperations','cloud-services-internal-error:\x20Request\x20timeout.','_baseBufferDelay','_operationToId','getDocumentDetails','change:range','decompress','setIdForTheLastOperation','_getAffectedRoot','disconnect','Notification','4996796HfNOiT','version','_handleReconnectionResponse','addRoot','isOfficialPlugin','removeFromReconnectionStack','plugins','loadRoot','createUserMarkerOperations','_compressOperations','move','_currentBufferDelay','showWarning','filter','getConnectedSessions','_handleReconnectionError','affectsData','Permissions','operationsReceived','rootsAttributes','includes','CollaborativeEditingService','cloudDocumentVersion','serverHistory','409','disableReadOnlyMode','_isPendingUpdate','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionAt','_hasSelectionChanged','baseVersion','toJSON','realtimecollaborationclient-init-document-already-initialized','_isDisconnection','lastOperationId','createPositionFromPath','collaboration','setPermissions','error','getOperationAuthor','realtimecollaborationclient-init-connection-failed','compress','document:write','_handleServerResponse','userId','_handleExternalOperations','$root','markers','_sendBufferedOperationsDelayed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','start','fire','model','collaboration.channelId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_disconnectionOperations'];_0x4c86=function(){return _0xac9677;};return _0x4c86();}import{transformOperationSets as _0x2ac34e,NoOperation as _0x6e3d71,InsertOperation as _0x1bd747,MarkerOperation as _0x548d0d,RootAttributeOperation as _0x182252,OperationFactory as _0x217876,History as _0x38f6b4}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x31a860}from'./websocketgateway.js';import{Sessions as _0x422087}from'./sessions.js';import{UserMarkers as _0x122314}from'./usermarkers.js';import{getTranslation as _0x249469}from'../common-translations.js';import{Compressor as _0x354a37}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x47d84a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x493e9a,CollaborativeEditingService as _0x223415}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;function _0x464f(_0x1293ed,_0x100133){const _0x4c86c5=_0x4c86();return _0x464f=function(_0x464f99,_0x430e8e){_0x464f99=_0x464f99-0x19a;let _0x4f05d2=_0x4c86c5[_0x464f99];return _0x4f05d2;},_0x464f(_0x1293ed,_0x100133);}class l extends _0x5b6c13{static [_0x47e6c8(0x1d4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x223415)());[_0x47e6c8(0x219)];[_0x47e6c8(0x239)];[_0x47e6c8(0x1d6)];[_0x47e6c8(0x264)];[_0x47e6c8(0x231)];[_0x47e6c8(0x237)];[_0x47e6c8(0x1b1)];[_0x47e6c8(0x1a9)];[_0x47e6c8(0x1b4)];[_0x47e6c8(0x235)];[_0x47e6c8(0x1ad)];[_0x47e6c8(0x1dc)];[_0x47e6c8(0x29b)];[_0x47e6c8(0x1b6)];[_0x47e6c8(0x1ca)];[_0x47e6c8(0x287)];[_0x47e6c8(0x1f6)];[_0x47e6c8(0x233)];static get[_0x47e6c8(0x19e)](){return[_0x31a860,_0x422087,_0x122314,_0xc6be42,_0x47d84a,_0x45941e];}static get[_0x47e6c8(0x255)](){const _0xd8cb96=_0x47e6c8;return _0xd8cb96(0x216);}static get[_0x47e6c8(0x1c3)](){return!0x0;}static get[_0x47e6c8(0x25e)](){return!0x0;}get[_0x47e6c8(0x1d5)](){const _0x1a08bd=_0x47e6c8;return this[_0x1a08bd(0x28c)]+this[_0x1a08bd(0x219)];}get[_0x47e6c8(0x28c)](){const _0x33bf07=_0x47e6c8;return this[_0x33bf07(0x1d6)][_0x33bf07(0x1c0)]-this[_0x33bf07(0x219)];}get[_0x47e6c8(0x280)](){const _0x366d7e=_0x47e6c8,_0x5de93e=this[_0x366d7e(0x1d6)][_0x366d7e(0x29a)]();for(let _0x2e6e33=_0x5de93e[_0x366d7e(0x222)]-0x1;_0x2e6e33>=0x0;_0x2e6e33--){const _0x1a1a6c=_0x5de93e[_0x2e6e33];if(!this[_0x366d7e(0x1f6)][_0x366d7e(0x22b)](_0x1a1a6c))return _0x1a1a6c[_0x366d7e(0x1dd)]+0x1-this[_0x366d7e(0x219)];}return 0x0;}constructor(_0x2ea710){const _0x5f1919=_0x47e6c8;if(super(_0x2ea710),this[_0x5f1919(0x219)]=0x0,this[_0x5f1919(0x239)]=null,this[_0x5f1919(0x1d6)]=new _0x38f6b4(),this[_0x5f1919(0x21d)][_0x5f1919(0x27e)][_0x5f1919(0x279)](_0x5f1919(0x1e3),{}),this[_0x5f1919(0x264)]=this[_0x5f1919(0x21d)][_0x5f1919(0x27e)][_0x5f1919(0x234)](_0x5f1919(0x1f4)),!this[_0x5f1919(0x264)])throw new _0x550911(_0x5f1919(0x267),this);const _0x32cd62=_0x2ea710[_0x5f1919(0x27e)][_0x5f1919(0x234)](_0x5f1919(0x224))||_0x1de69a;this[_0x5f1919(0x231)]=new l[(_0x5f1919(0x1d4))](_0x32cd62,this[_0x5f1919(0x264)]),this[_0x5f1919(0x237)]=this[_0x5f1919(0x21d)][_0x5f1919(0x1f3)][_0x5f1919(0x293)],this[_0x5f1919(0x1b1)]=new _0x354a37(),this[_0x5f1919(0x1a9)]=[],this[_0x5f1919(0x1b4)]=new WeakSet(),this[_0x5f1919(0x235)]=new Set(),this[_0x5f1919(0x286)](_0x5f1919(0x1d9),!0x1),this[_0x5f1919(0x286)](_0x5f1919(0x238),!0x1),this[_0x5f1919(0x1ad)]=null,this[_0x5f1919(0x1dc)]=!0x1,this[_0x5f1919(0x29b)]=null,this[_0x5f1919(0x1b6)]=0x12c,this[_0x5f1919(0x1ca)]=this[_0x5f1919(0x1b6)],this[_0x5f1919(0x287)]=null,this[_0x5f1919(0x1f6)]=new WeakSet(),this[_0x5f1919(0x233)]=new K(this[_0x5f1919(0x1f6)]);}[_0x47e6c8(0x283)](){const _0x22bc88=_0x47e6c8,_0x231f35=this[_0x22bc88(0x21d)],_0x500b95=_0x231f35[_0x22bc88(0x1c5)][_0x22bc88(0x234)](_0x47d84a),_0x122e49=_0x231f35[_0x22bc88(0x1c5)][_0x22bc88(0x234)](_0x31a860);this[_0x22bc88(0x23c)](_0x500b95,_0x22bc88(0x1e6),(_0x30c5c9,_0x5f3fef)=>{const _0xf3a522=_0x22bc88,_0xeb1b2d=_0x5f3fef[0x0];_0xeb1b2d[_0xf3a522(0x1b0)]&&(_0x30c5c9[_0xf3a522(0x241)]=_0x500b95[_0xf3a522(0x26c)](_0xeb1b2d[_0xf3a522(0x1b0)]),_0x30c5c9[_0xf3a522(0x1f8)]()),null===_0xeb1b2d[_0xf3a522(0x1b0)]&&(_0x30c5c9[_0xf3a522(0x241)]=null,_0x30c5c9[_0xf3a522(0x1f8)]());},{'priority':_0x22bc88(0x297)}),this[_0x22bc88(0x23c)](_0x231f35[_0x22bc88(0x1f3)][_0x22bc88(0x293)][_0x22bc88(0x274)],_0x22bc88(0x1b9),(_0x356ea1,_0x2229bb)=>{const _0x37848b=_0x22bc88;_0x2229bb[_0x37848b(0x232)]&&this[_0x37848b(0x28a)]();}),this[_0x22bc88(0x23c)](_0x231f35[_0x22bc88(0x254)][_0x22bc88(0x26e)],_0x22bc88(0x220),()=>{const _0x16b32d=_0x22bc88;this[_0x16b32d(0x28a)]();}),this[_0x22bc88(0x259)](),_0x231f35[_0x22bc88(0x1f3)]['on'](_0x22bc88(0x294),(_0x424bb1,_0x3fa683)=>{const _0xfa65ac=_0x22bc88,_0x5238d1=_0x3fa683[0x0];_0x5238d1[_0xfa65ac(0x291)]&&(this[_0xfa65ac(0x214)](_0x5238d1),this[_0xfa65ac(0x223)]()&&this[_0xfa65ac(0x1ef)]());}),this[_0x22bc88(0x25a)](),this[_0x22bc88(0x1af)](_0x22bc88(0x20c))['to'](_0x122e49,_0x22bc88(0x212),this,_0x22bc88(0x238),(_0x3a158a,_0x368c99)=>_0x22bc88(0x26d)===_0x3a158a&&!_0x368c99),this['on'](_0x22bc88(0x263),()=>{const _0x2eb5e8=_0x22bc88;this[_0x2eb5e8(0x20c)]?_0x231f35[_0x2eb5e8(0x1d8)](_0x2eb5e8(0x27f)):_0x231f35[_0x2eb5e8(0x22e)](_0x2eb5e8(0x27f));}),this[_0x22bc88(0x20c)]?_0x231f35[_0x22bc88(0x1d8)](_0x22bc88(0x27f)):_0x231f35[_0x22bc88(0x22e)](_0x22bc88(0x27f)),this[_0x22bc88(0x286)](_0x22bc88(0x20a),!0x1);}async[_0x47e6c8(0x1fb)](){const _0x132c0a=_0x47e6c8,_0x14b73a=this[_0x132c0a(0x21d)][_0x132c0a(0x1c5)][_0x132c0a(0x234)](_0x422087),_0x1311cb=this[_0x132c0a(0x21d)][_0x132c0a(0x1c5)][_0x132c0a(0x234)](_0x31a860);try{this[_0x132c0a(0x1d9)]=!0x0,_0x14b73a[_0x132c0a(0x285)](this[_0x132c0a(0x264)]);const _0x189c2f=await this[_0x132c0a(0x231)][_0x132c0a(0x1fb)](_0x1311cb[_0x132c0a(0x227)],this[_0x132c0a(0x280)]);await this[_0x132c0a(0x1c1)](_0x189c2f)&&(this[_0x132c0a(0x1d9)]=!0x1,this[_0x132c0a(0x27d)]());const _0x1f40fb=await this[_0x132c0a(0x231)][_0x132c0a(0x1cd)]();_0x14b73a[_0x132c0a(0x1a3)](this[_0x132c0a(0x264)],_0x1f40fb),this[_0x132c0a(0x1fc)](),this[_0x132c0a(0x20a)]=!0x0;}catch(_0x42e1e9){if(function(_0x48a567){const _0x5c0308=_0x132c0a;return _0x5c0308(0x1b2)===_0x48a567[_0x5c0308(0x298)];}(_0x42e1e9)&&this[_0x132c0a(0x239)])await this[_0x132c0a(0x276)]();else{if(function(_0x590d35){const _0x90d9a0=_0x132c0a;return _0x90d9a0(0x1d7)===_0x590d35[_0x90d9a0(0x298)];}(_0x42e1e9)){const _0x2635e4=_0x249469(this[_0x132c0a(0x21d)][_0x132c0a(0x289)],_0x132c0a(0x1da));this[_0x132c0a(0x1ce)](_0x2635e4);}else{if(!(_0x42e1e9 instanceof G))throw _0x42e1e9;this[_0x132c0a(0x1ce)]();}}}}[_0x47e6c8(0x29d)](){const _0x2b5d53=_0x47e6c8,_0x51be8d=this[_0x2b5d53(0x21d)][_0x2b5d53(0x1c5)][_0x2b5d53(0x234)](_0x31a860),_0x1b1149=this[_0x2b5d53(0x21d)][_0x2b5d53(0x1c5)][_0x2b5d53(0x234)](_0x422087);this[_0x2b5d53(0x21d)][_0x2b5d53(0x22e)](_0x2b5d53(0x204)),_0x1b1149[_0x2b5d53(0x269)][_0x2b5d53(0x22b)](this[_0x2b5d53(0x264)])&&_0x1b1149[_0x2b5d53(0x285)](this[_0x2b5d53(0x264)]),_0x51be8d[_0x2b5d53(0x1c4)](this),this[_0x2b5d53(0x19c)](),super[_0x2b5d53(0x29d)]();}async[_0x47e6c8(0x1c1)](_0x12d640){const _0x12a87b=_0x47e6c8;if(this[_0x12a87b(0x239)]!==_0x12d640[_0x12a87b(0x239)]&&this[_0x12a87b(0x287)]!==_0x12d640[_0x12a87b(0x1e1)])throw new G();return this[_0x12a87b(0x239)]=_0x12d640[_0x12a87b(0x239)],this[_0x12a87b(0x1ea)]([],{..._0x12d640,'wereChangesApplied':!0x1,'data':_0x12d640[_0x12a87b(0x28d)]},_0x12a87b(0x1fb));}async[_0x47e6c8(0x210)](_0x4e9bcb,_0x7bfc47=!0x1){const _0x1ecc99=_0x47e6c8,{connection:_0x5af7aa}=this[_0x1ecc99(0x21d)][_0x1ecc99(0x1c5)][_0x1ecc99(0x234)](_0x31a860);l[_0x1ecc99(0x1d4)][_0x1ecc99(0x1cd)](_0x5af7aa,this[_0x1ecc99(0x264)])[_0x1ecc99(0x21f)](_0x6ca1ae=>this[_0x1ecc99(0x1ff)](_0x6ca1ae))[_0x1ecc99(0x26f)](_0x3ec605=>{const _0x4cc704=_0x1ecc99;this[_0x4cc704(0x25b)](_0x4cc704(0x24a),_0x3ec605);}),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x1d1),this[_0x1ecc99(0x28b)][_0x1ecc99(0x1af)](this)),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x1e5),(_0x110328,_0x4399c3)=>{const _0x3fe57b=_0x1ecc99;this[_0x3fe57b(0x25b)](_0x3fe57b(0x229),_0x4399c3);}),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x243),()=>{const _0x1b8d05=_0x1ecc99;this[_0x1b8d05(0x20a)]=!0x1;});const _0x46c652=this[_0x1ecc99(0x233)][_0x1ecc99(0x248)](_0x4e9bcb);this[_0x1ecc99(0x1d9)]=!0x0;const _0x360039=await this[_0x1ecc99(0x231)][_0x1ecc99(0x25f)](_0x5af7aa,this[_0x1ecc99(0x1c8)](_0x4e9bcb),_0x46c652);if(this[_0x1ecc99(0x239)]=_0x360039[_0x1ecc99(0x239)],_0x7bfc47){if(!_0x360039[_0x1ecc99(0x282)])return void this[_0x1ecc99(0x1ce)]();this[_0x1ecc99(0x1d9)]=!0x1,this[_0x1ecc99(0x27d)](),this[_0x1ecc99(0x1d6)][_0x1ecc99(0x273)](),this[_0x1ecc99(0x219)]=_0x360039[_0x1ecc99(0x27a)],this[_0x1ecc99(0x1d6)][_0x1ecc99(0x1c0)]=this[_0x1ecc99(0x219)],await this[_0x1ecc99(0x1ea)](_0x4e9bcb,_0x360039,_0x1ecc99(0x1a7));}else await this[_0x1ecc99(0x23a)](_0x360039,_0x4e9bcb);this[_0x1ecc99(0x1fc)](),this[_0x1ecc99(0x20a)]=!0x0;}[_0x47e6c8(0x1fc)](){const _0x2406a5=_0x47e6c8,_0x24d528=this[_0x2406a5(0x21d)][_0x2406a5(0x1c5)][_0x2406a5(0x234)](_0x422087),_0x36c8ed=this[_0x2406a5(0x21d)][_0x2406a5(0x1c5)][_0x2406a5(0x234)](_0x122314),_0x5c0526=_0x24d528[_0x2406a5(0x269)][_0x2406a5(0x234)](this[_0x2406a5(0x264)]);_0x5c0526&&_0x5c0526[_0x2406a5(0x222)]>0x1?_0x36c8ed[_0x2406a5(0x1c7)]():this[_0x2406a5(0x23c)](_0x24d528,_0x2406a5(0x261)+this[_0x2406a5(0x264)],()=>{const _0x4e7aa3=_0x2406a5;0x2===_0x24d528[_0x4e7aa3(0x269)][_0x4e7aa3(0x234)](this[_0x4e7aa3(0x264)])[_0x4e7aa3(0x222)]&&_0x36c8ed[_0x4e7aa3(0x1c7)]();});}async[_0x47e6c8(0x28b)](_0x460964,_0x2d2d7f,_0x2a7db7,_0x5874b4){const _0x5250a9=_0x47e6c8;if(!this[_0x5250a9(0x1d9)]&&this[_0x5250a9(0x237)][_0x5250a9(0x1c0)]==_0x2d2d7f){const _0x1ece73=this[_0x5250a9(0x262)](_0x2a7db7,_0x5874b4);await this[_0x5250a9(0x24c)](_0x1ece73),this[_0x5250a9(0x1ec)](_0x1ece73,_0x2d2d7f,_0x2a7db7[_0x5250a9(0x1e1)])||this[_0x5250a9(0x25b)](_0x5250a9(0x25c));}}async[_0x47e6c8(0x276)](){const _0x52fa01=_0x47e6c8;this[_0x52fa01(0x19c)]();const {locale:_0x56fa4b}=this[_0x52fa01(0x21d)];let _0x249a56;try{_0x249a56=await this[_0x52fa01(0x231)][_0x52fa01(0x1b8)]();}catch{const _0x285668=_0x249469(_0x56fa4b,_0x52fa01(0x242));return void this[_0x52fa01(0x1ce)](_0x285668);}const _0x51f39d=_0x249a56[_0x52fa01(0x1f7)]||_0x249a56[_0x52fa01(0x23f)];if(this[_0x52fa01(0x287)]!==_0x51f39d[_0x52fa01(0x1e1)]){const _0x207028=_0x249469(_0x56fa4b,_0x52fa01(0x23d));return void this[_0x52fa01(0x1ce)](_0x207028);}await this[_0x52fa01(0x210)](this[_0x52fa01(0x21d)][_0x52fa01(0x1f3)][_0x52fa01(0x293)][_0x52fa01(0x249)][_0x52fa01(0x29a)](),!0x0);}[_0x47e6c8(0x19c)](){const _0x5b27f0=_0x47e6c8;this[_0x5b27f0(0x231)][_0x5b27f0(0x1bd)](),this[_0x5b27f0(0x1a9)]=[],clearTimeout(this[_0x5b27f0(0x29b)]),this[_0x5b27f0(0x19b)](this[_0x5b27f0(0x231)]);}[_0x47e6c8(0x1ff)](_0x8fb870){const _0xb43ca4=_0x47e6c8,_0x46dff4=this[_0xb43ca4(0x21d)][_0xb43ca4(0x1c5)][_0xb43ca4(0x234)](_0x422087);this[_0xb43ca4(0x23c)](_0x46dff4,_0xb43ca4(0x261)+this[_0xb43ca4(0x264)],(_0x5b1428,{session:_0x2eedb4})=>{const _0x283336=_0xb43ca4;if(_0x2eedb4['id']===_0x46dff4[_0x283336(0x28e)]){_0x5b1428[_0x283336(0x1a8)]();const _0x220217=this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x22b)](_0x283336(0x250))&&this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x234)](_0x283336(0x250));let _0x3a0c7e=_0x2eedb4[_0x283336(0x20d)];_0x220217&&_0x220217[_0x283336(0x203)]&&(_0x3a0c7e=_0x3a0c7e[_0x283336(0x1cc)](_0x658f4d=>_0x283336(0x1e9)!==_0x658f4d)),this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x234)](_0x283336(0x1d0))[_0x283336(0x1e4)](_0x3a0c7e,this[_0x283336(0x264)]);}}),_0x46dff4[_0xb43ca4(0x1a3)](this[_0xb43ca4(0x264)],_0x8fb870);}[_0x47e6c8(0x259)](){const _0x4157e2=_0x47e6c8,_0x17f6ba=this[_0x4157e2(0x21d)][_0x4157e2(0x28d)][_0x4157e2(0x286)];this[_0x4157e2(0x21d)][_0x4157e2(0x28d)][_0x4157e2(0x286)]=(..._0x5cc7a9)=>{const _0x3a55d5=_0x4157e2;if(!_0x5cc7a9[_0x5cc7a9[_0x3a55d5(0x222)]-0x1][_0x3a55d5(0x25d)])throw new _0x550911(_0x3a55d5(0x1f0),this);_0x17f6ba[_0x3a55d5(0x1a4)](this[_0x3a55d5(0x21d)][_0x3a55d5(0x28d)],_0x5cc7a9);};}[_0x47e6c8(0x25a)](){const _0x113bf0=_0x47e6c8;this[_0x113bf0(0x21d)][_0x113bf0(0x28d)]['on'](_0x113bf0(0x283),(_0x368e88,[_0x329995])=>{const _0x16b4dc=_0x113bf0;if(this[_0x16b4dc(0x237)][_0x16b4dc(0x1c0)])throw new _0x550911(_0x16b4dc(0x1df),this);_0x368e88[_0x16b4dc(0x1f8)](),this[_0x16b4dc(0x200)]();const _0x31c292=this[_0x16b4dc(0x21d)][_0x16b4dc(0x27e)][_0x16b4dc(0x234)](_0x16b4dc(0x1d2)),_0x1f6225=this[_0x16b4dc(0x221)](_0x329995,_0x31c292);0x0==_0x1f6225[_0x16b4dc(0x222)]&&_0x1f6225[_0x16b4dc(0x240)](new _0x6e3d71(0x0)),_0x368e88[_0x16b4dc(0x241)]=this[_0x16b4dc(0x210)](_0x1f6225)[_0x16b4dc(0x21f)](()=>{const _0x21ae43=_0x16b4dc;this[_0x21ae43(0x21d)][_0x21ae43(0x1c5)][_0x21ae43(0x234)](_0x31a860)[_0x21ae43(0x27b)](this),this[_0x21ae43(0x21d)][_0x21ae43(0x28d)][_0x21ae43(0x1f2)](_0x21ae43(0x21c));})[_0x16b4dc(0x26f)](_0x32ff8a=>this[_0x16b4dc(0x25b)](_0x16b4dc(0x1e7),_0x32ff8a))[_0x16b4dc(0x21a)](()=>this[_0x16b4dc(0x27d)]());},{'priority':_0x113bf0(0x297)}),this[_0x113bf0(0x21d)]['on'](_0x113bf0(0x1c6),async(_0x16ae9c,[_0xae5a02,_0x226a45])=>{const _0x4b0e2a=_0x113bf0;_0x16ae9c[_0x4b0e2a(0x1f8)]();const _0x1106c1=this[_0x4b0e2a(0x21d)][_0x4b0e2a(0x1f3)][_0x4b0e2a(0x293)][_0x4b0e2a(0x28f)](_0xae5a02);if(!this[_0x4b0e2a(0x235)][_0x4b0e2a(0x22b)](_0xae5a02)){const _0x37e275=_0x226a45&&_0x226a45[_0x4b0e2a(0x28d)]?_0x226a45[_0x4b0e2a(0x28d)]:'',_0x41fe5c=_0x226a45&&_0x226a45[_0x4b0e2a(0x19a)]?_0x226a45[_0x4b0e2a(0x19a)]:{};await this[_0x4b0e2a(0x24b)](_0xae5a02,_0x37e275,_0x41fe5c);}this[_0x4b0e2a(0x21d)][_0x4b0e2a(0x1f3)][_0x4b0e2a(0x288)]({'isUndoable':!0x1},()=>{const _0x481129=_0x4b0e2a;_0x1106c1[_0x481129(0x290)]=!0x0,this[_0x481129(0x21d)][_0x481129(0x1f3)][_0x481129(0x293)][_0x481129(0x208)][_0x481129(0x20b)](_0x1106c1);});},{'priority':_0x113bf0(0x297)});}async[_0x47e6c8(0x24c)](_0x25bb63){const _0x17c06f=_0x47e6c8,_0x49341c=this[_0x17c06f(0x21d)][_0x17c06f(0x1c5)][_0x17c06f(0x234)](_0x47d84a),{connection:_0x38d8d7}=this[_0x17c06f(0x21d)][_0x17c06f(0x1c5)][_0x17c06f(0x234)](_0x31a860),_0xef347d=new Set();for(const _0x189968 of _0x25bb63){const _0x4d51bc=_0x189968[_0x17c06f(0x1b0)];_0x4d51bc&&!_0x49341c[_0x17c06f(0x26c)](_0x4d51bc)&&_0xef347d[_0x17c06f(0x1a0)](_0x4d51bc);}if(0x0===_0xef347d[_0x17c06f(0x236)])return;const _0x3f086b=await _0x493e9a[_0x17c06f(0x215)](_0x38d8d7,Array[_0x17c06f(0x213)](_0xef347d));for(const _0x58dad9 of _0x3f086b)_0x49341c[_0x17c06f(0x26c)](_0x58dad9['id'])||_0x49341c[_0x17c06f(0x24e)](_0x58dad9);}[_0x47e6c8(0x221)](_0x3ddfd0,_0x25516a={}){const _0x3de2a8=_0x47e6c8,_0x376a14=this[_0x3de2a8(0x21d)][_0x3de2a8(0x1f3)],_0x473fa1=[];let _0x3458de=0x0;const _0x4d1953=_0x3de2a8(0x24d)==typeof _0x3ddfd0?{'main':_0x3ddfd0}:_0x3ddfd0;for(const _0xd7de55 of Object[_0x3de2a8(0x253)](_0x4d1953)){if(!this[_0x3de2a8(0x237)][_0x3de2a8(0x246)][_0x3de2a8(0x22b)](_0xd7de55))throw new _0x550911(_0x3de2a8(0x295),this);const _0x2e04a3=this[_0x3de2a8(0x21d)][_0x3de2a8(0x28d)][_0x3de2a8(0x206)](_0x4d1953[_0xd7de55]),_0x36c8cd=this[_0x3de2a8(0x237)][_0x3de2a8(0x28f)](_0xd7de55),_0x9f42f6=new _0x1bd747(_0x376a14[_0x3de2a8(0x1db)](_0x36c8cd,0x0),_0x2e04a3,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x9f42f6);for(const [_0x5610ab,_0x3508ee]of _0x2e04a3[_0x3de2a8(0x1ee)]){const _0x502ba8=_0x376a14[_0x3de2a8(0x19d)](_0x376a14[_0x3de2a8(0x1e2)](_0x36c8cd,_0x3508ee[_0x3de2a8(0x1f1)][_0x3de2a8(0x202)][_0x3de2a8(0x23e)]()),_0x376a14[_0x3de2a8(0x1e2)](_0x36c8cd,_0x3508ee[_0x3de2a8(0x1fe)][_0x3de2a8(0x202)][_0x3de2a8(0x23e)]())),_0x4864c3=new _0x548d0d(_0x5610ab,null,_0x502ba8,_0x376a14[_0x3de2a8(0x1ee)],!0x0,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x4864c3);}}if(_0x25516a)for(const [_0x30cb5d,_0x457498]of Object[_0x3de2a8(0x1a2)](_0x25516a)){const _0x20420a=_0x376a14[_0x3de2a8(0x293)][_0x3de2a8(0x28f)](_0x30cb5d);if(!_0x20420a)throw new _0x550911(_0x3de2a8(0x1a6),null);for(const [_0x57bb5e,_0x1fce17]of Object[_0x3de2a8(0x1a2)](_0x457498))if(null!==_0x1fce17){const _0x3a9933=new _0x182252(_0x20420a,_0x57bb5e,null,_0x1fce17,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x3a9933);}}return _0x473fa1;}async[_0x47e6c8(0x24b)](_0x4ef79a,_0x281ad7,_0x36403d){const _0x4d1c90=_0x47e6c8;this[_0x4d1c90(0x221)]({[_0x4ef79a]:_0x281ad7},{[_0x4ef79a]:_0x36403d})[_0x4d1c90(0x230)]((_0x555270,_0x14904b)=>{const _0x4e49e6=_0x4d1c90;_0x555270[_0x4e49e6(0x1dd)]=this[_0x4e49e6(0x237)][_0x4e49e6(0x1c0)]+_0x14904b,_0x555270[_0x4e49e6(0x26a)]=!0x0,this[_0x4e49e6(0x214)](_0x555270);}),this[_0x4d1c90(0x1ef)](),await this[_0x4d1c90(0x20e)]();}async[_0x47e6c8(0x23a)](_0x537f02,_0x55b51a){const _0x17a9fc=_0x47e6c8;let _0xde4b48;this[_0x17a9fc(0x219)]=_0x537f02[_0x17a9fc(0x27a)];const _0x80fe98=_0x537f02[_0x17a9fc(0x282)]&&!_0x537f02[_0x17a9fc(0x228)],_0x1da5de=_0x80fe98?0x0:_0x537f02[_0x17a9fc(0x28d)][_0x17a9fc(0x1dd)];if(_0x55b51a[_0x17a9fc(0x230)](_0x5f2e87=>{const _0x2759ac=_0x17a9fc;_0x5f2e87[_0x2759ac(0x26a)]=!0x0,_0x5f2e87[_0x2759ac(0x21e)]=_0x537f02[_0x2759ac(0x1ae)],_0x5f2e87[_0x2759ac(0x1b0)]=null;}),_0x80fe98)_0xde4b48=_0x55b51a,this[_0x17a9fc(0x1a5)](_0xde4b48,_0x80fe98);else{if(_0x537f02[_0x17a9fc(0x228)]){const _0x46c532=this[_0x17a9fc(0x221)](_0x537f02[_0x17a9fc(0x228)]);this[_0x17a9fc(0x237)][_0x17a9fc(0x249)][_0x17a9fc(0x1c0)]=-_0x46c532[_0x17a9fc(0x222)],_0x46c532[_0x17a9fc(0x230)](_0x259647=>{const _0xdfa1c9=_0x17a9fc;_0x259647[_0xdfa1c9(0x1dd)]-=_0x46c532[_0xdfa1c9(0x222)],_0x259647[_0xdfa1c9(0x21e)]=_0x537f02[_0xdfa1c9(0x1ae)],_0x259647[_0xdfa1c9(0x26a)]=!0x0,_0x259647[_0xdfa1c9(0x1b0)]=null;}),this[_0x17a9fc(0x1a5)](_0x46c532,!0x0),this[_0x17a9fc(0x1d6)][_0x17a9fc(0x1c0)]=-_0x46c532[_0x17a9fc(0x222)]+this[_0x17a9fc(0x219)],this[_0x17a9fc(0x23b)](_0x46c532);}this[_0x17a9fc(0x237)][_0x17a9fc(0x249)][_0x17a9fc(0x1c0)]=_0x1da5de,_0xde4b48=this[_0x17a9fc(0x262)](_0x537f02[_0x17a9fc(0x28d)],_0x537f02[_0x17a9fc(0x21b)]),await this[_0x17a9fc(0x24c)](_0xde4b48),this[_0x17a9fc(0x1a5)](_0xde4b48,_0x80fe98);}_0x537f02[_0x17a9fc(0x1e1)]&&(this[_0x17a9fc(0x233)][_0x17a9fc(0x1bb)](_0xde4b48,_0x537f02[_0x17a9fc(0x1e1)]),this[_0x17a9fc(0x287)]=_0x537f02[_0x17a9fc(0x1e1)]),this[_0x17a9fc(0x1d6)][_0x17a9fc(0x1c0)]=_0x1da5de+this[_0x17a9fc(0x219)],this[_0x17a9fc(0x23b)](_0xde4b48),_0x55b51a[_0x17a9fc(0x1cc)](_0x599f1f=>{const _0x3ef00d=_0x17a9fc,_0x3bb476=this[_0x3ef00d(0x1bc)](_0x599f1f);return _0x3bb476&&!this[_0x3ef00d(0x235)][_0x3ef00d(0x22b)](_0x3bb476);})[_0x17a9fc(0x230)]((_0x38a24a,_0x4b65b9)=>{const _0x55ba37=_0x17a9fc;_0x38a24a[_0x55ba37(0x1dd)]=this[_0x55ba37(0x237)][_0x55ba37(0x1c0)]+_0x4b65b9,this[_0x55ba37(0x214)](_0x38a24a);}),this[_0x17a9fc(0x223)]()?(this[_0x17a9fc(0x1ca)]=0x0,this[_0x17a9fc(0x1ef)](!0x0),await this[_0x17a9fc(0x20e)]()):(this[_0x17a9fc(0x1d9)]=!0x1,this[_0x17a9fc(0x27d)]());}[_0x47e6c8(0x25b)](_0x2e6f88,_0x34bdc0){const _0x47b67f=_0x47e6c8,_0x519629=_0x34bdc0&&_0x34bdc0[_0x47b67f(0x257)];if(_0x519629&&_0x519629[_0x47b67f(0x211)](_0x47b67f(0x226)))throw _0x34bdc0;const _0x8c9667=this[_0x47b67f(0x21d)][_0x47b67f(0x1c5)][_0x47b67f(0x234)](_0x31a860);throw this[_0x47b67f(0x1d9)]=!0x0,_0x8c9667[_0x47b67f(0x1bd)](),this[_0x47b67f(0x21d)][_0x47b67f(0x22e)](_0x47b67f(0x217)),new _0x550911(_0x2e6f88,this[_0x47b67f(0x21d)],_0x519629?{'originalError':_0x519629}:void 0x0);}[_0x47e6c8(0x214)](_0xc877d0){const _0x2ff349=_0x47e6c8;this[_0x2ff349(0x1b4)][_0x2ff349(0x22b)](_0xc877d0)||(this[_0x2ff349(0x1b4)][_0x2ff349(0x1a0)](_0xc877d0),this[_0x2ff349(0x1a9)][_0x2ff349(0x240)](_0xc877d0),this[_0x2ff349(0x1ad)]||_0x2ff349(0x201)==_0xc877d0[_0x2ff349(0x1fa)]&&!_0xc877d0[_0x2ff349(0x1cf)]||this[_0x2ff349(0x200)]());}[_0x47e6c8(0x1ef)](_0x19496c=!0x1){const _0x4fadda=_0x47e6c8;!_0x19496c&&this[_0x4fadda(0x1d9)]||(this[_0x4fadda(0x1d9)]=!0x0,clearTimeout(this[_0x4fadda(0x29b)]),this[_0x4fadda(0x29b)]=setTimeout(()=>{const _0x435563=_0x4fadda;this[_0x435563(0x244)]()[_0x435563(0x21f)](_0x4eb3a0=>{const _0x5136bf=_0x435563;_0x4eb3a0&&(this[_0x5136bf(0x27d)](),this[_0x5136bf(0x1d9)]=!0x1);})[_0x435563(0x26f)](_0x14d419=>{const _0x6f68b4=_0x435563;this[_0x6f68b4(0x27d)](),this[_0x6f68b4(0x1d9)]=!0x1,function(_0x5d05ef){const _0x408f41=_0x6f68b4;return _0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x299))||_0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x1f5))||_0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x1b5));}(_0x14d419)||this[_0x6f68b4(0x25b)](_0x14d419[_0x6f68b4(0x257)],_0x14d419);});},this[_0x4fadda(0x1ca)]));}[_0x47e6c8(0x20e)](){return new Promise(_0x2a2649=>{const _0x237739=_0x464f;this['on'](_0x237739(0x207),()=>{_0x2a2649();});});}async[_0x47e6c8(0x244)](){const _0x39bc6b=_0x47e6c8,_0x3502b3=this[_0x39bc6b(0x21d)][_0x39bc6b(0x1c5)][_0x39bc6b(0x234)](_0x122314);if(this[_0x39bc6b(0x251)]()&&(_0x3502b3[_0x39bc6b(0x1c7)](),this[_0x39bc6b(0x1dc)]=!0x1),!this[_0x39bc6b(0x223)]())return!0x0;const _0x40c2da=[...this[_0x39bc6b(0x1a9)]];for(const _0x23edc0 of _0x40c2da)_0x23edc0[_0x39bc6b(0x275)]=this[_0x39bc6b(0x237)][_0x39bc6b(0x249)][_0x39bc6b(0x1a1)](_0x23edc0);const _0x2d3b67=this[_0x39bc6b(0x233)][_0x39bc6b(0x248)](_0x40c2da),_0x33d4f2=q++,_0x3b7d1e=this[_0x39bc6b(0x1c8)](_0x40c2da),_0x531e23=await this[_0x39bc6b(0x231)][_0x39bc6b(0x270)](_0x3b7d1e,_0x3b7d1e[_0x39bc6b(0x1dd)],_0x2d3b67);try{return await this[_0x39bc6b(0x1ea)](_0x40c2da,_0x531e23,_0x33d4f2);}catch(_0x25814){return this[_0x39bc6b(0x25b)](_0x39bc6b(0x209),_0x25814);}}async[_0x47e6c8(0x1ea)](_0x249537,_0x3882a5,_0x333efb){const _0x24a8cc=_0x47e6c8;if(_0x24a8cc(0x1e5)in _0x3882a5)throw _0x3882a5[_0x24a8cc(0x1e5)];let _0x13fa77=!0x1;if(_0x3882a5[_0x24a8cc(0x282)]){_0x3882a5[_0x24a8cc(0x1e1)]&&(this[_0x24a8cc(0x287)]=_0x3882a5[_0x24a8cc(0x1e1)]),this[_0x24a8cc(0x1a9)]=this[_0x24a8cc(0x1a9)][_0x24a8cc(0x1cc)](_0x220044=>!_0x249537[_0x24a8cc(0x1d3)](_0x220044));for(const _0x43e3d2 of _0x249537)_0x43e3d2[_0x24a8cc(0x21e)]=_0x24a8cc(0x24f)in _0x3882a5&&_0x3882a5[_0x24a8cc(0x24f)]||void 0x0;$(_0x249537,_0x3882a5[_0x24a8cc(0x1c0)]-_0x249537[_0x24a8cc(0x222)]),this[_0x24a8cc(0x23b)](_0x249537);const _0xd9fac1=_0x249537[_0x24a8cc(0x1cc)](_0x1ca039=>{const _0x1be96e=_0x24a8cc;if(!_0x1ca039[_0x1be96e(0x26a)])return!0x1;const _0x10a4bd=this[_0x1be96e(0x1bc)](_0x1ca039);return _0x10a4bd&&!this[_0x1be96e(0x235)][_0x1be96e(0x22b)](_0x10a4bd);});$(_0xd9fac1,this[_0x24a8cc(0x237)][_0x24a8cc(0x1c0)]),this[_0x24a8cc(0x1a5)](_0xd9fac1),_0x13fa77=!0x0,this[_0x24a8cc(0x1ca)]=this[_0x24a8cc(0x1b6)];}else{const _0x535160=this[_0x24a8cc(0x262)](_0x3882a5[_0x24a8cc(0x28d)],_0x3882a5[_0x24a8cc(0x21b)])[_0x24a8cc(0x1cc)](_0x1f5118=>_0x1f5118[_0x24a8cc(0x1dd)]>=this[_0x24a8cc(0x28c)]);_0x535160[_0x24a8cc(0x230)](_0x143f1c=>this[_0x24a8cc(0x260)](_0x143f1c)),this[_0x24a8cc(0x1a9)]=this[_0x24a8cc(0x1a9)][_0x24a8cc(0x1cc)](_0x1a440f=>!_0x1a440f[_0x24a8cc(0x26a)]||!this[_0x24a8cc(0x235)][_0x24a8cc(0x22b)](this[_0x24a8cc(0x1bc)](_0x1a440f))),this[_0x24a8cc(0x1a9)][_0x24a8cc(0x222)]&&$(this[_0x24a8cc(0x1a9)],this[_0x24a8cc(0x1a9)][0x0][_0x24a8cc(0x1dd)]),await this[_0x24a8cc(0x24c)](_0x535160),_0x13fa77=this[_0x24a8cc(0x1ec)](_0x535160,_0x3882a5[_0x24a8cc(0x1c0)],_0x3882a5[_0x24a8cc(0x1e1)]),this[_0x24a8cc(0x1ca)]=Math[_0x24a8cc(0x225)](this[_0x24a8cc(0x1ca)]/0x2);}return _0x13fa77?!this[_0x24a8cc(0x223)]()||(this[_0x24a8cc(0x1ef)](!0x0),!0x1):this[_0x24a8cc(0x25b)](_0x24a8cc(0x247));}[_0x47e6c8(0x1ec)](_0x28785b,_0x404753,_0x56232b){const _0xb86f0d=_0x47e6c8;try{const _0x1dd5d9={'document':this[_0xb86f0d(0x237)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x31e187,operationsB:_0x2a4f0b,originalOperations:_0xc0ac9b}=_0x2ac34e(_0x28785b,this[_0xb86f0d(0x1a9)],_0x1dd5d9);$(_0x31e187,this[_0xb86f0d(0x237)][_0xb86f0d(0x1c0)]),$(_0x2a4f0b,_0x404753);for(const _0x4f98eb of _0x31e187){const _0x1cc9e5=_0xc0ac9b[_0xb86f0d(0x234)](_0x4f98eb);_0x4f98eb[_0xb86f0d(0x1b0)]=_0x1cc9e5?_0x1cc9e5[_0xb86f0d(0x1b0)]:null;}_0x56232b&&(this[_0xb86f0d(0x233)][_0xb86f0d(0x1bb)](_0x28785b,_0x56232b),this[_0xb86f0d(0x287)]=_0x56232b),this[_0xb86f0d(0x1a9)]=[..._0x2a4f0b],this[_0xb86f0d(0x1a5)](_0x31e187),this[_0xb86f0d(0x23b)](_0x28785b);}catch(_0x260dbc){return console[_0xb86f0d(0x1e5)](_0x260dbc),!0x1;}return!0x0;}[_0x47e6c8(0x1a5)](_0x1e05be,_0x370909=!0x1){const _0x574b1c=_0x47e6c8;this[_0x574b1c(0x21d)][_0x574b1c(0x1f3)][_0x574b1c(0x288)]({'isUndoable':!0x1,'isLocal':!0x1},_0x36e292=>{const _0x396129=_0x574b1c;for(const _0x344df6 of _0x1e05be)this[_0x396129(0x1b4)][_0x396129(0x1a0)](_0x344df6),this[_0x396129(0x260)](_0x344df6),_0x36e292[_0x396129(0x278)][_0x396129(0x22f)](_0x344df6),this[_0x396129(0x21d)][_0x396129(0x1f3)][_0x396129(0x294)](_0x344df6);});}[_0x47e6c8(0x260)](_0x5e01ca){const _0x1d4f03=_0x47e6c8,_0x3c6ecc=this[_0x1d4f03(0x1bc)](_0x5e01ca);_0x3c6ecc&&this[_0x1d4f03(0x235)][_0x1d4f03(0x1a0)](_0x3c6ecc);}[_0x47e6c8(0x1bc)](_0x33e576){const _0x9d6014=_0x47e6c8;let _0x51882a,_0x5ef26d;switch(_0x33e576[_0x9d6014(0x1fa)]){case _0x9d6014(0x1ac):_0x51882a=_0x33e576[_0x9d6014(0x277)][_0x9d6014(0x265)];break;case _0x9d6014(0x201):if(_0x5ef26d=_0x33e576[_0x9d6014(0x268)],!_0x5ef26d)return null;_0x51882a=_0x5ef26d[_0x9d6014(0x265)];break;case _0x9d6014(0x281):_0x51882a=_0x33e576[_0x9d6014(0x265)];break;case _0x9d6014(0x1c2):_0x51882a=_0x33e576[_0x9d6014(0x26b)];break;case _0x9d6014(0x1c9):_0x51882a=_0x33e576[_0x9d6014(0x29c)][_0x9d6014(0x265)];break;default:return null;}return _0x51882a[_0x9d6014(0x22a)];}[_0x47e6c8(0x23b)](_0x53025b){const _0x59106b=_0x47e6c8;_0x53025b[_0x59106b(0x230)](_0x3e1aa9=>{const _0x575af3=_0x59106b,_0xfe7d33=_0x3e1aa9[_0x575af3(0x1fd)]();_0xfe7d33[_0x575af3(0x1b0)]=_0x3e1aa9[_0x575af3(0x1b0)],_0xfe7d33[_0x575af3(0x26a)]=!!_0x3e1aa9[_0x575af3(0x26a)],_0xfe7d33[_0x575af3(0x21e)]=_0x3e1aa9[_0x575af3(0x21e)],_0xfe7d33[_0x575af3(0x1dd)]+=this[_0x575af3(0x219)],_0x3e1aa9[_0x575af3(0x1e0)]&&this[_0x575af3(0x1f6)][_0x575af3(0x1a0)](_0xfe7d33),this[_0x575af3(0x1d6)][_0x575af3(0x22f)](_0xfe7d33);});}[_0x47e6c8(0x1ce)](_0x5d2b5e){const _0x302830=_0x47e6c8,_0x627b8b=this[_0x302830(0x21d)][_0x302830(0x1c5)][_0x302830(0x234)](_0x302830(0x1be)),_0x418958=this[_0x302830(0x21d)][_0x302830(0x289)];_0x5d2b5e||(_0x5d2b5e=_0x249469(_0x418958,_0x302830(0x296))),_0x627b8b[_0x302830(0x1cb)](_0x5d2b5e,{'title':_0x249469(_0x418958,_0x302830(0x22c)),'namespace':_0x302830(0x284)}),this[_0x302830(0x238)]=!0x0,clearTimeout(this[_0x302830(0x29b)]),this[_0x302830(0x1a9)]=[],this[_0x302830(0x21d)][_0x302830(0x1c5)][_0x302830(0x234)](_0x31a860)[_0x302830(0x1bd)]();}[_0x47e6c8(0x200)](){const _0x96677c=_0x47e6c8;this[_0x96677c(0x1ad)]||(this[_0x96677c(0x1ad)]=this[_0x96677c(0x21d)][_0x96677c(0x1c5)][_0x96677c(0x234)](_0xc6be42)[_0x96677c(0x1a0)](_0x249469(this[_0x96677c(0x21d)][_0x96677c(0x289)],_0x96677c(0x256))));}[_0x47e6c8(0x27d)](){const _0x19f7dd=_0x47e6c8;this[_0x19f7dd(0x1ad)]&&(this[_0x19f7dd(0x21d)][_0x19f7dd(0x1c5)][_0x19f7dd(0x234)](_0xc6be42)[_0x19f7dd(0x266)](this[_0x19f7dd(0x1ad)]),this[_0x19f7dd(0x1ad)]=null);}[_0x47e6c8(0x1c8)](_0x3baece){const _0x4b3837=_0x47e6c8,_0x18bc83=_0x3baece[_0x4b3837(0x20f)](_0x5cad6e=>_0x5cad6e[_0x4b3837(0x1de)]());return this[_0x4b3837(0x1b1)][_0x4b3837(0x1e8)](_0x18bc83);}[_0x47e6c8(0x262)](_0x25ccfa,_0x332bc2){const _0x27560a=_0x47e6c8;return this[_0x27560a(0x1b1)][_0x27560a(0x1ba)](_0x25ccfa)[_0x27560a(0x20f)]((_0x40069f,_0x55c75f)=>{const _0x5bcb59=_0x27560a,_0x2a21a1=_0x5bcb59(0x283)==_0x332bc2[_0x55c75f][_0x5bcb59(0x1fa)];if(_0x5bcb59(0x22d)==_0x40069f[_0x5bcb59(0x1b3)]){const _0x187a13=_0x40069f[_0x5bcb59(0x277)][_0x5bcb59(0x265)];!this[_0x5bcb59(0x237)][_0x5bcb59(0x28f)](_0x187a13)&&(this[_0x5bcb59(0x237)][_0x5bcb59(0x27c)](_0x5bcb59(0x1ed),_0x187a13)[_0x5bcb59(0x1aa)]=!0x1);}const _0x32524c=_0x217876[_0x5bcb59(0x258)](_0x40069f,this[_0x5bcb59(0x237)]);return _0x32524c[_0x5bcb59(0x275)]=_0x40069f[_0x5bcb59(0x275)],_0x32524c[_0x5bcb59(0x26a)]=_0x2a21a1,_0x32524c[_0x5bcb59(0x1b0)]=_0x2a21a1?null:_0x332bc2[_0x55c75f][_0x5bcb59(0x1eb)],_0x32524c[_0x5bcb59(0x1e0)]=_0x5bcb59(0x272)===_0x332bc2[_0x55c75f][_0x5bcb59(0x1fa)],_0x32524c[_0x5bcb59(0x21e)]=_0x332bc2[_0x55c75f][_0x5bcb59(0x21e)],_0x32524c;});}[_0x47e6c8(0x28a)](){const _0x8100ce=_0x47e6c8;this[_0x8100ce(0x1dc)]=!0x0,this[_0x8100ce(0x251)]()?this[_0x8100ce(0x1ef)]():this[_0x8100ce(0x1dc)]=!0x1;}[_0x47e6c8(0x251)](){const _0x109763=_0x47e6c8,_0x3ca417=this[_0x109763(0x21d)][_0x109763(0x1c5)][_0x109763(0x234)](_0x422087)[_0x109763(0x269)][_0x109763(0x234)](this[_0x109763(0x264)]);return!this[_0x109763(0x21d)][_0x109763(0x1f9)]&&!!_0x3ca417&&_0x3ca417[_0x109763(0x222)]>0x1&&this[_0x109763(0x1dc)];}[_0x47e6c8(0x223)](){const _0x5520e7=_0x47e6c8;return this[_0x5520e7(0x1a9)][_0x5520e7(0x222)]>0x0||this[_0x5520e7(0x251)]();}}export{l as RealTimeCollaborationClient};class G extends Error{}function $(_0x583bbb,_0x2b79da){const _0x31858a=_0x47e6c8;for(const _0x3ecc7f of _0x583bbb)_0x3ecc7f[_0x31858a(0x1dd)]=_0x2b79da++;}class K{[_0x47e6c8(0x1ab)];[_0x47e6c8(0x1b7)];constructor(_0x37b2c2){const _0x57971a=_0x47e6c8;this[_0x57971a(0x1ab)]=_0x37b2c2,this[_0x57971a(0x1b7)]=new WeakMap();}[_0x47e6c8(0x248)](_0x45d73a){const _0x245b7f=_0x47e6c8;let _0x34ef53=_0x45d73a[_0x245b7f(0x222)];for(;_0x34ef53--;){const _0x507c0a=_0x45d73a[_0x34ef53];if(!this[_0x245b7f(0x1ab)][_0x245b7f(0x22b)](_0x507c0a)){if(!this[_0x245b7f(0x1b7)][_0x245b7f(0x22b)](_0x507c0a)){const _0x51863f=_0x28bb14()[_0x245b7f(0x23e)](0x1,0x12);this[_0x245b7f(0x1b7)][_0x245b7f(0x286)](_0x507c0a,_0x51863f);}return this[_0x245b7f(0x1b7)][_0x245b7f(0x234)](_0x507c0a);}}}[_0x47e6c8(0x1bb)](_0x264281,_0x54b19d){const _0x37a346=_0x47e6c8;if(!_0x54b19d)return;let _0xa3b24a=_0x264281[_0x37a346(0x222)];for(;_0xa3b24a--;){const _0x4d11c3=_0x264281[_0xa3b24a];this[_0x37a346(0x1ab)][_0x37a346(0x22b)](_0x4d11c3)||this[_0x37a346(0x1b7)][_0x37a346(0x286)](_0x4d11c3,_0x54b19d);}}}
23
+ const _0x1bea44=_0x49c9;(function(_0x23f033,_0x395bcc){const _0x1aa358=_0x49c9,_0x3d6921=_0x23f033();while(!![]){try{const _0x51e18a=-parseInt(_0x1aa358(0x1da))/0x1*(parseInt(_0x1aa358(0x123))/0x2)+-parseInt(_0x1aa358(0x109))/0x3+parseInt(_0x1aa358(0x111))/0x4+-parseInt(_0x1aa358(0x148))/0x5+-parseInt(_0x1aa358(0x168))/0x6+-parseInt(_0x1aa358(0x14e))/0x7+parseInt(_0x1aa358(0x15e))/0x8;if(_0x51e18a===_0x395bcc)break;else _0x3d6921['push'](_0x3d6921['shift']());}catch(_0x4081a5){_0x3d6921['push'](_0x3d6921['shift']());}}}(_0x2b06,0x47f66));import{Plugin as _0x252a98,PendingActions as _0x33ad1c}from'ckeditor5/src/core.js';import{CKEditorError as _0x58a5ab,version as _0x3a98c4,uid as _0xff2b59}from'ckeditor5/src/utils.js';import{Notification as _0x211d0a}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x44dbdf,NoOperation as _0x3670fa,InsertOperation as _0x355a32,MarkerOperation as _0x584013,RootAttributeOperation as _0x2c996b,OperationFactory as _0x1b1d77,History as _0x461d0d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x47cf5e}from'./websocketgateway.js';function _0x2b06(){const _0x39c82f=['1652454nxhzyC','stop','wereChangesApplied','_disconnectionOperations','_crash','realtimecollaborationclient','_isInit','realtimecollaborationclient-sendbufferedoperations','return','end','isEnabled','Permissions','sessionCreatedAt','suppressErrorInCollaboration','document','marker','realtimecollaborationclient-init-session-connection-error','_addKnownRoot','getUser','realtimecollaborationclient-init-non-existent-root','root','attributes','removeFromReconnectionStack','toJSON','newRange','realtimecollaborationclient-init-document-already-initialized','wasUndone','cloud-services-internal-error:\x20Request\x20timeout.','_connectService','history','apply','markers','error','pluginName','_handleReceivedOperations','_applyOperationsSet','batch','createPositionFromPath','_hasSynchronizationProblem','serverHistory','_knownOperations','rtc-destroyed','realtimecollaborationclient-init-service-internal-error','sessionId','getIdOfTheLastOperation','length','$root','high','_bufferedOperations','_getOperationsFromInitData','setIdForTheLastOperation','editor','sessionAdd:','requires','channelSessions','change:range','finally','_channelId','plugins','rtc-offline','cloudDocumentVersion','_lastSyncedOperationId','init','offset','collaboration-missing-channelid','metadata','roots','startsWith','code','_loadRoot','_ignoredOperations','document:write','409','_hasSelectionChanged','parse','connect','define','CollaborativeEditingService','InsertOperation','_operationIdentifier','get','_compressor','_fetchMissingUsers','createRoot','fire','_isConnected','_handleReconnectionError','entries','has','rootName','_clearPendingAction','multi-root-editor-root-attributes-no-root','then','destroy','push','connected','move','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.','keys','disconnected','_isEditingAllowed','createPositionAt','RealTimeCollaborationClient','string','isUndoneOperation','getDocumentDetails','_authorId','set','addOperation','loadRoot','operationsReceived','_currentBufferDelay','affectedSelectable','__className','71563vjEacX','permissions','size','selection','_shouldSendUpdate','getOperationAuthor','isPremiumPlugin','_handleServerResponse','cs:removeUser','config','isDocumentOperation','isOfficialPlugin','model','slice','add','_updateServerHistory','getRoot','connection','createUserMarkerOperations','change:hasDomSelection','_isDisconnection','lastOperationId','affectsData','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.','directChange','disableReadOnlyMode','fromJSON','_initThrowingOnDataSet','listenTo','_bufferRootLoad','_sendBufferedOperationsDelayed','state','path','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','clone','_isPendingUpdate','addRootAttribute','insert','from','Synchronization\x20issue','_saveOperationInBuffer','ready','getOperations','realtimecollaborationclient-init-connection-failed','_isLoaded','_handleExternalOperations','lastDocumentSession','type','map','lastOperationAcceptedAt','addToReconnectionStack','1192767HgdaIf','mySessionId','_sendBufferedOperations','enqueueChange','realtimecollaborationclient-handleserverresponse','_service','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Not\x20connected.','1052968ToplhY','_pendingAction','realtimecollaborationclient-error','_baseBufferDelay','userId','_sendBufferedOperationsDelayId','addRoot','version','_shouldSendSelectionUpdate','reconnection:\x20flushed\x20session','collaboration.channelId','locale','change:_isEditingAllowed','Notification','reconnect','_initSessionsHandling','message','currentDocumentSession','2XezCKS','_getAffectedRoot','compress','_offset','disconnect','baseVersion','_handleInitialConnectionData','isReadOnly','round','start','_compressOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','showWarning','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','lastSyncVersion','addUser','_connectAfterSessionHasBeenFlushed','bind','_isAttached','rootsAttributes','view','_setUpDataInit','getConnectedSessions','404','unregister','createdAt','applyOperation','targetPosition','setPermissions','remove','register','catch','differ','_decompressOperations','_operationToId','decompress','26920kqeltP','cloudServices.bundleVersion','PENDING_ACTION_SENDING_DATA','CommentsOnly','includes','editing','770476InVwli','createRange','initData','_handleReconnectionResponse','filter','_waitUntilSynced','_disconnectService','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','_lastServerVersion','realtimecollaborationclient-init-service-incorrect-server-operation','forEach','enableReadOnlyMode','_knownRootNames','stopListening','sendOperations','7132232hijTWs','collaboration','data','_setPendingAction','_document','getMany','position','_refreshUserSelectionMarkers','off','reset'];_0x2b06=function(){return _0x39c82f;};return _0x2b06();}import{Sessions as _0x10f393}from'./sessions.js';import{UserMarkers as _0x13b1ce}from'./usermarkers.js';import{getTranslation as _0x4a75f7}from'../common-translations.js';import{Compressor as _0x4a9e91}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5afec8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5215cc,CollaborativeEditingService as _0x8816df}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;function _0x49c9(_0x17a7d3,_0x186e71){const _0x2b0653=_0x2b06();return _0x49c9=function(_0x49c93c,_0x18b914){_0x49c93c=_0x49c93c-0x107;let _0x5d978a=_0x2b0653[_0x49c93c];return _0x5d978a;},_0x49c9(_0x17a7d3,_0x186e71);}class l extends _0x252a98{static [_0x1bea44(0x1b5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x8816df)());[_0x1bea44(0x126)];[_0x1bea44(0x193)];[_0x1bea44(0x18f)];[_0x1bea44(0x1a1)];[_0x1bea44(0x10e)];[_0x1bea44(0x162)];[_0x1bea44(0x1b9)];[_0x1bea44(0x198)];[_0x1bea44(0x190)];[_0x1bea44(0x15b)];[_0x1bea44(0x112)];[_0x1bea44(0x1b1)];[_0x1bea44(0x116)];[_0x1bea44(0x114)];[_0x1bea44(0x1d7)];[_0x1bea44(0x1a5)];[_0x1bea44(0x16b)];[_0x1bea44(0x1b7)];static get[_0x1bea44(0x19d)](){return[_0x47cf5e,_0x10f393,_0x13b1ce,_0x33ad1c,_0x5afec8,_0x211d0a];}static get[_0x1bea44(0x189)](){const _0x2bab8b=_0x1bea44;return _0x2bab8b(0x1ce);}static get[_0x1bea44(0x1e5)](){return!0x0;}static get[_0x1bea44(0x1e0)](){return!0x0;}get[_0x1bea44(0x1a4)](){const _0x3e3aef=_0x1bea44;return this[_0x3e3aef(0x157)]+this[_0x3e3aef(0x126)];}get[_0x1bea44(0x157)](){const _0x4e07c0=_0x1bea44;return this[_0x4e07c0(0x18f)][_0x4e07c0(0x118)]-this[_0x4e07c0(0x126)];}get[_0x1bea44(0x132)](){const _0x4f7607=_0x1bea44,_0x92d356=this[_0x4f7607(0x18f)][_0x4f7607(0x204)]();for(let _0x41d6c3=_0x92d356[_0x4f7607(0x195)]-0x1;_0x41d6c3>=0x0;_0x41d6c3--){const _0x9616d5=_0x92d356[_0x41d6c3];if(!this[_0x4f7607(0x16b)][_0x4f7607(0x1c0)](_0x9616d5))return _0x9616d5[_0x4f7607(0x128)]+0x1-this[_0x4f7607(0x126)];}return 0x0;}constructor(_0x672f4){const _0x50df61=_0x1bea44;if(super(_0x672f4),this[_0x50df61(0x126)]=0x0,this[_0x50df61(0x193)]=null,this[_0x50df61(0x18f)]=new _0x461d0d(),this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b4)](_0x50df61(0x15f),{}),this[_0x50df61(0x1a1)]=this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x11b)),!this[_0x50df61(0x1a1)])throw new _0x58a5ab(_0x50df61(0x1a8),this);const _0x329791=_0x672f4[_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x149))||_0x3a98c4;this[_0x50df61(0x10e)]=new l[(_0x50df61(0x1b5))](_0x329791,this[_0x50df61(0x1a1)]),this[_0x50df61(0x162)]=this[_0x50df61(0x19b)][_0x50df61(0x1e6)][_0x50df61(0x176)],this[_0x50df61(0x1b9)]=new _0x4a9e91(),this[_0x50df61(0x198)]=[],this[_0x50df61(0x190)]=new WeakSet(),this[_0x50df61(0x15b)]=new Set(),this[_0x50df61(0x1d3)](_0x50df61(0x1fd),!0x1),this[_0x50df61(0x1d3)](_0x50df61(0x18e),!0x1),this[_0x50df61(0x112)]=null,this[_0x50df61(0x1b1)]=!0x1,this[_0x50df61(0x116)]=null,this[_0x50df61(0x114)]=0x12c,this[_0x50df61(0x1d7)]=this[_0x50df61(0x114)],this[_0x50df61(0x1a5)]=null,this[_0x50df61(0x16b)]=new WeakSet(),this[_0x50df61(0x1b7)]=new J(this[_0x50df61(0x16b)]);}[_0x1bea44(0x1a6)](){const _0x5e23a8=_0x1bea44,_0x1c9857=this[_0x5e23a8(0x19b)],_0xc8e943=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x5afec8),_0x593ee8=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x47cf5e);this[_0x5e23a8(0x1f6)](_0xc8e943,_0x5e23a8(0x1df),(_0x280729,_0xd18f10)=>{const _0x2fcce8=_0x5e23a8,_0x27d96d=_0xd18f10[0x0];_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=_0xc8e943[_0x2fcce8(0x17a)](_0x27d96d[_0x2fcce8(0x1d2)]),_0x280729[_0x2fcce8(0x169)]()),null===_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=null,_0x280729[_0x2fcce8(0x169)]());},{'priority':_0x5e23a8(0x197)}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x1e6)][_0x5e23a8(0x176)][_0x5e23a8(0x1dd)],_0x5e23a8(0x19f),(_0x521ed3,_0x5b296a)=>{const _0x579439=_0x5e23a8;_0x5b296a[_0x579439(0x1f2)]&&this[_0x579439(0x165)]();}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x14d)][_0x5e23a8(0x138)],_0x5e23a8(0x1ed),()=>{const _0x19dc38=_0x5e23a8;this[_0x19dc38(0x165)]();}),this[_0x5e23a8(0x1f5)](),_0x1c9857[_0x5e23a8(0x1e6)]['on'](_0x5e23a8(0x13e),(_0x4c4218,_0x30643e)=>{const _0x4047cf=_0x5e23a8,_0x5d7eb4=_0x30643e[0x0];_0x5d7eb4[_0x4047cf(0x1e4)]&&(this[_0x4047cf(0x202)](_0x5d7eb4),this[_0x4047cf(0x1de)]()&&this[_0x4047cf(0x1f8)]());}),this[_0x5e23a8(0x139)](),this[_0x5e23a8(0x135)](_0x5e23a8(0x1cc))['to'](_0x593ee8,_0x5e23a8(0x1f9),this,_0x5e23a8(0x18e),(_0x29c720,_0x17f6be)=>_0x5e23a8(0x1c7)===_0x29c720&&!_0x17f6be),this['on'](_0x5e23a8(0x11d),()=>{const _0x49b041=_0x5e23a8;this[_0x49b041(0x1cc)]?_0x1c9857[_0x49b041(0x1f3)](_0x49b041(0x1a3)):_0x1c9857[_0x49b041(0x15a)](_0x49b041(0x1a3));}),this[_0x5e23a8(0x1cc)]?_0x1c9857[_0x5e23a8(0x1f3)](_0x5e23a8(0x1a3)):_0x1c9857[_0x5e23a8(0x15a)](_0x5e23a8(0x1a3)),this[_0x5e23a8(0x1d3)](_0x5e23a8(0x1bd),!0x1);}async[_0x1bea44(0x11f)](){const _0x5417c9=_0x1bea44,_0x1d3428=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x10f393),_0x3be0ec=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x47cf5e);try{this[_0x5417c9(0x1fd)]=!0x0,_0x1d3428[_0x5417c9(0x13c)](this[_0x5417c9(0x1a1)]);const _0x4141b3=await this[_0x5417c9(0x10e)][_0x5417c9(0x11f)](_0x3be0ec[_0x5417c9(0x1eb)],this[_0x5417c9(0x132)]);await this[_0x5417c9(0x151)](_0x4141b3)&&(this[_0x5417c9(0x1fd)]=!0x1,this[_0x5417c9(0x1c2)]());const _0x185256=await this[_0x5417c9(0x10e)][_0x5417c9(0x13a)]();_0x1d3428[_0x5417c9(0x142)](this[_0x5417c9(0x1a1)],_0x185256),this[_0x5417c9(0x10f)](),this[_0x5417c9(0x1bd)]=!0x0;}catch(_0x4bc8ec){if(function(_0x38dae5){const _0x30e382=_0x5417c9;return _0x30e382(0x13b)===_0x38dae5[_0x30e382(0x1ac)];}(_0x4bc8ec)&&this[_0x5417c9(0x193)])await this[_0x5417c9(0x134)]();else{if(function(_0x7e8a9a){const _0x4b70b3=_0x5417c9;return _0x4b70b3(0x1b0)===_0x7e8a9a[_0x4b70b3(0x1ac)];}(_0x4bc8ec)){const _0x419571=_0x4a75f7(this[_0x5417c9(0x19b)][_0x5417c9(0x11c)],_0x5417c9(0x130));this[_0x5417c9(0x1be)](_0x419571);}else{if(!(_0x4bc8ec instanceof $))throw _0x4bc8ec;this[_0x5417c9(0x1be)]();}}}}[_0x1bea44(0x1c5)](){const _0x47f5b2=_0x1bea44,_0x48c442=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x47cf5e),_0x185c0a=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x10f393);this[_0x47f5b2(0x19b)][_0x47f5b2(0x15a)](_0x47f5b2(0x191)),_0x185c0a[_0x47f5b2(0x19e)][_0x47f5b2(0x1c0)](this[_0x47f5b2(0x1a1)])&&_0x185c0a[_0x47f5b2(0x13c)](this[_0x47f5b2(0x1a1)]),_0x48c442[_0x47f5b2(0x17e)](this),this[_0x47f5b2(0x154)](),super[_0x47f5b2(0x1c5)]();}async[_0x1bea44(0x151)](_0x4d0428){const _0x4347ba=_0x1bea44;if(this[_0x4347ba(0x193)]!==_0x4d0428[_0x4347ba(0x193)]&&this[_0x4347ba(0x1a5)]!==_0x4d0428[_0x4347ba(0x1ef)])throw new $();return this[_0x4347ba(0x193)]=_0x4d0428[_0x4347ba(0x193)],this[_0x4347ba(0x1e1)]([],{..._0x4d0428,'wereChangesApplied':!0x1,'data':_0x4d0428[_0x4347ba(0x160)]},_0x4347ba(0x11f));}async[_0x1bea44(0x184)](_0x2245fe,_0x40c494=!0x1){const _0x4034da=_0x1bea44,{connection:_0x235368}=this[_0x4034da(0x19b)][_0x4034da(0x1a2)][_0x4034da(0x1b8)](_0x47cf5e);l[_0x4034da(0x1b5)][_0x4034da(0x13a)](_0x235368,this[_0x4034da(0x1a1)])[_0x4034da(0x1c4)](_0x4d8340=>this[_0x4034da(0x120)](_0x4d8340))[_0x4034da(0x143)](_0x2fc8ad=>{const _0x543d81=_0x4034da;this[_0x543d81(0x16c)](_0x543d81(0x178),_0x2fc8ad);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1d6),this[_0x4034da(0x18a)][_0x4034da(0x135)](this)),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x188),(_0x5278d6,_0x10b0d6)=>{const _0x229fe3=_0x4034da;this[_0x229fe3(0x16c)](_0x229fe3(0x192),_0x10b0d6);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1cb),()=>{const _0x43f6ee=_0x4034da;this[_0x43f6ee(0x1bd)]=!0x1;});const _0x3f5811=this[_0x4034da(0x1b7)][_0x4034da(0x194)](_0x2245fe);this[_0x4034da(0x1fd)]=!0x0;const _0x2c465b=await this[_0x4034da(0x10e)][_0x4034da(0x1b3)](_0x235368,this[_0x4034da(0x12d)](_0x2245fe),_0x3f5811);if(this[_0x4034da(0x193)]=_0x2c465b[_0x4034da(0x193)],_0x40c494){if(!_0x2c465b[_0x4034da(0x16a)])return void this[_0x4034da(0x1be)]();this[_0x4034da(0x1fd)]=!0x1,this[_0x4034da(0x1c2)](),this[_0x4034da(0x18f)][_0x4034da(0x167)](),this[_0x4034da(0x126)]=_0x2c465b[_0x4034da(0x1a7)],this[_0x4034da(0x18f)][_0x4034da(0x118)]=this[_0x4034da(0x126)],await this[_0x4034da(0x1e1)](_0x2245fe,_0x2c465b,_0x4034da(0x11a));}else await this[_0x4034da(0x129)](_0x2c465b,_0x2245fe);this[_0x4034da(0x10f)](),this[_0x4034da(0x1bd)]=!0x0;}[_0x1bea44(0x10f)](){const _0x598145=_0x1bea44,_0x4610e0=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x10f393),_0x36d3f1=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x13b1ce),_0x43e9de=_0x4610e0[_0x598145(0x19e)][_0x598145(0x1b8)](this[_0x598145(0x1a1)]);_0x43e9de&&_0x43e9de[_0x598145(0x195)]>0x1?_0x36d3f1[_0x598145(0x1ec)]():this[_0x598145(0x1f6)](_0x4610e0,_0x598145(0x19c)+this[_0x598145(0x1a1)],()=>{const _0x3fd1d2=_0x598145;0x2===_0x4610e0[_0x3fd1d2(0x19e)][_0x3fd1d2(0x1b8)](this[_0x3fd1d2(0x1a1)])[_0x3fd1d2(0x195)]&&_0x36d3f1[_0x3fd1d2(0x1ec)]();});}async[_0x1bea44(0x18a)](_0x4ba033,_0x204c27,_0x546127,_0xcfc389){const _0xf4a10f=_0x1bea44;if(!this[_0xf4a10f(0x1fd)]&&this[_0xf4a10f(0x162)][_0xf4a10f(0x118)]==_0x204c27){const _0x1d7143=this[_0xf4a10f(0x145)](_0x546127,_0xcfc389);await this[_0xf4a10f(0x1ba)](_0x1d7143),this[_0xf4a10f(0x207)](_0x1d7143,_0x204c27,_0x546127[_0xf4a10f(0x1ef)])||this[_0xf4a10f(0x16c)](_0xf4a10f(0x158));}}async[_0x1bea44(0x134)](){const _0x29044c=_0x1bea44;this[_0x29044c(0x154)]();const {locale:_0x5378ae}=this[_0x29044c(0x19b)];let _0x5b48c9;try{_0x5b48c9=await this[_0x29044c(0x10e)][_0x29044c(0x1d1)]();}catch{const _0x19425a=_0x4a75f7(_0x5378ae,_0x29044c(0x155));return void this[_0x29044c(0x1be)](_0x19425a);}const _0x123f82=_0x5b48c9[_0x29044c(0x122)]||_0x5b48c9[_0x29044c(0x208)];if(this[_0x29044c(0x1a5)]!==_0x123f82[_0x29044c(0x1ef)]){const _0xedef52=_0x4a75f7(_0x5378ae,_0x29044c(0x1f1));return void this[_0x29044c(0x1be)](_0xedef52);}await this[_0x29044c(0x184)](this[_0x29044c(0x19b)][_0x29044c(0x1e6)][_0x29044c(0x176)][_0x29044c(0x185)][_0x29044c(0x204)](),!0x0);}[_0x1bea44(0x154)](){const _0x20799c=_0x1bea44;this[_0x20799c(0x10e)][_0x20799c(0x127)](),this[_0x20799c(0x198)]=[],clearTimeout(this[_0x20799c(0x116)]),this[_0x20799c(0x15c)](this[_0x20799c(0x10e)]);}[_0x1bea44(0x120)](_0xe53d78){const _0x39cb02=_0x1bea44,_0x22aa56=this[_0x39cb02(0x19b)][_0x39cb02(0x1a2)][_0x39cb02(0x1b8)](_0x10f393);this[_0x39cb02(0x1f6)](_0x22aa56,_0x39cb02(0x19c)+this[_0x39cb02(0x1a1)],(_0x3afa2b,{session:_0x4eae53})=>{const _0x27c532=_0x39cb02;if(_0x4eae53['id']===_0x22aa56[_0x27c532(0x10a)]){_0x3afa2b[_0x27c532(0x166)]();const _0x2558a8=this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1c0)](_0x27c532(0x14b))&&this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x14b));let _0x40a3bc=_0x4eae53[_0x27c532(0x1db)];_0x2558a8&&_0x2558a8[_0x27c532(0x172)]&&(_0x40a3bc=_0x40a3bc[_0x27c532(0x152)](_0x2c0a55=>_0x27c532(0x1af)!==_0x2c0a55)),this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x173))[_0x27c532(0x140)](_0x40a3bc,this[_0x27c532(0x1a1)]);}}),_0x22aa56[_0x39cb02(0x142)](this[_0x39cb02(0x1a1)],_0xe53d78);}[_0x1bea44(0x1f5)](){const _0x115365=_0x1bea44,_0x4d92ff=this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)];this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)]=(..._0x160b60)=>{const _0x5c61a0=_0x115365;if(!_0x160b60[_0x160b60[_0x5c61a0(0x195)]-0x1][_0x5c61a0(0x175)])throw new _0x58a5ab(_0x5c61a0(0x1fb),this);_0x4d92ff[_0x5c61a0(0x186)](this[_0x5c61a0(0x19b)][_0x5c61a0(0x160)],_0x160b60);};}[_0x1bea44(0x139)](){const _0x5b09cd=_0x1bea44;this[_0x5b09cd(0x19b)][_0x5b09cd(0x160)]['on'](_0x5b09cd(0x1a6),(_0x195236,[_0x5c357f])=>{const _0x2329fd=_0x5b09cd;if(this[_0x2329fd(0x162)][_0x2329fd(0x118)])throw new _0x58a5ab(_0x2329fd(0x181),this);_0x195236[_0x2329fd(0x169)](),this[_0x2329fd(0x161)]();const _0x248ec8=this[_0x2329fd(0x19b)][_0x2329fd(0x1e3)][_0x2329fd(0x1b8)](_0x2329fd(0x137)),_0xec0f87=this[_0x2329fd(0x199)](_0x5c357f,_0x248ec8);0x0==_0xec0f87[_0x2329fd(0x195)]&&_0xec0f87[_0x2329fd(0x1c6)](new _0x3670fa(0x0)),_0x195236[_0x2329fd(0x170)]=this[_0x2329fd(0x184)](_0xec0f87)[_0x2329fd(0x1c4)](()=>{const _0x35ce37=_0x2329fd;this[_0x35ce37(0x19b)][_0x35ce37(0x1a2)][_0x35ce37(0x1b8)](_0x47cf5e)[_0x35ce37(0x108)](this),this[_0x35ce37(0x19b)][_0x35ce37(0x160)][_0x35ce37(0x1bc)](_0x35ce37(0x203));})[_0x2329fd(0x143)](_0x4d9e4c=>this[_0x2329fd(0x16c)](_0x2329fd(0x205),_0x4d9e4c))[_0x2329fd(0x1a0)](()=>this[_0x2329fd(0x1c2)]());},{'priority':_0x5b09cd(0x197)}),this[_0x5b09cd(0x19b)]['on'](_0x5b09cd(0x1d5),async(_0x370479,[_0x5b7997,_0x141700])=>{const _0x1dcfae=_0x5b09cd;_0x370479[_0x1dcfae(0x169)]();const _0x1a48c4=this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x176)][_0x1dcfae(0x1ea)](_0x5b7997);if(!this[_0x1dcfae(0x15b)][_0x1dcfae(0x1c0)](_0x5b7997)){const _0x3b67d9=_0x141700&&_0x141700[_0x1dcfae(0x160)]?_0x141700[_0x1dcfae(0x160)]:'',_0x1441ef=_0x141700&&_0x141700[_0x1dcfae(0x17d)]?_0x141700[_0x1dcfae(0x17d)]:{};await this[_0x1dcfae(0x1ad)](_0x5b7997,_0x3b67d9,_0x1441ef);}this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x10c)]({'isUndoable':!0x1},()=>{const _0x577def=_0x1dcfae;_0x1a48c4[_0x577def(0x206)]=!0x0,this[_0x577def(0x19b)][_0x577def(0x1e6)][_0x577def(0x176)][_0x577def(0x144)][_0x577def(0x1f7)](_0x1a48c4);});},{'priority':_0x5b09cd(0x197)});}async[_0x1bea44(0x1ba)](_0x15d9a0){const _0x1b459b=_0x1bea44,_0x42f254=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x5afec8),{connection:_0x265ef3}=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x47cf5e),_0xe4f5d5=new Set();for(const _0x2a5dbd of _0x15d9a0){const _0x33eabc=_0x2a5dbd[_0x1b459b(0x1d2)];_0x33eabc&&!_0x42f254[_0x1b459b(0x17a)](_0x33eabc)&&_0xe4f5d5[_0x1b459b(0x1e8)](_0x33eabc);}if(0x0===_0xe4f5d5[_0x1b459b(0x1dc)])return;const _0x19cd87=await _0x5215cc[_0x1b459b(0x163)](_0x265ef3,Array[_0x1b459b(0x200)](_0xe4f5d5));for(const _0x344094 of _0x19cd87)_0x42f254[_0x1b459b(0x17a)](_0x344094['id'])||_0x42f254[_0x1b459b(0x133)](_0x344094);}[_0x1bea44(0x199)](_0x33ea84,_0x22b295={}){const _0x1b3ef9=_0x1bea44,_0x5a44ec=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x1e6)],_0x11cb87=[];let _0x43e833=0x0;const _0x21d2d8=_0x1b3ef9(0x1cf)==typeof _0x33ea84?{'main':_0x33ea84}:_0x33ea84;for(const _0x58ffb7 of Object[_0x1b3ef9(0x1ca)](_0x21d2d8)){if(!this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1aa)][_0x1b3ef9(0x1c0)](_0x58ffb7))throw new _0x58a5ab(_0x1b3ef9(0x17b),this);const _0x1d1f65=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x160)][_0x1b3ef9(0x1b2)](_0x21d2d8[_0x58ffb7]),_0x44592b=this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1ea)](_0x58ffb7),_0x3a3433=new _0x355a32(_0x5a44ec[_0x1b3ef9(0x1cd)](_0x44592b,0x0),_0x1d1f65,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x3a3433);for(const [_0x4a1e65,_0x52d585]of _0x1d1f65[_0x1b3ef9(0x187)]){const _0x5cd669=_0x5a44ec[_0x1b3ef9(0x14f)](_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x12c)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]()),_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x171)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]())),_0x1420d1=new _0x584013(_0x4a1e65,null,_0x5cd669,_0x5a44ec[_0x1b3ef9(0x187)],!0x0,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x1420d1);}}if(_0x22b295)for(const [_0x1a5f63,_0x4e714f]of Object[_0x1b3ef9(0x1bf)](_0x22b295)){const _0x3b51d5=_0x5a44ec[_0x1b3ef9(0x176)][_0x1b3ef9(0x1ea)](_0x1a5f63);if(!_0x3b51d5)throw new _0x58a5ab(_0x1b3ef9(0x1c3),null);for(const [_0x174768,_0x1a7ebd]of Object[_0x1b3ef9(0x1bf)](_0x4e714f))if(null!==_0x1a7ebd){const _0x14509b=new _0x2c996b(_0x3b51d5,_0x174768,null,_0x1a7ebd,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x14509b);}}return _0x11cb87;}async[_0x1bea44(0x1ad)](_0x13db9f,_0x105a3e,_0x2426aa){const _0x57fcc8=_0x1bea44;this[_0x57fcc8(0x199)]({[_0x13db9f]:_0x105a3e},{[_0x13db9f]:_0x2426aa})[_0x57fcc8(0x159)]((_0xfd8659,_0x5a5ddd)=>{const _0x428445=_0x57fcc8;_0xfd8659[_0x428445(0x128)]=this[_0x428445(0x162)][_0x428445(0x118)]+_0x5a5ddd,_0xfd8659[_0x428445(0x16e)]=!0x0,this[_0x428445(0x202)](_0xfd8659);}),this[_0x57fcc8(0x1f8)](),await this[_0x57fcc8(0x153)]();}async[_0x1bea44(0x129)](_0x402628,_0x1e4aed){const _0x226043=_0x1bea44;let _0x1791ed;this[_0x226043(0x126)]=_0x402628[_0x226043(0x1a7)];const _0x3aa938=_0x402628[_0x226043(0x16a)]&&!_0x402628[_0x226043(0x150)],_0xa8516=_0x3aa938?0x0:_0x402628[_0x226043(0x160)][_0x226043(0x128)];if(_0x1e4aed[_0x226043(0x159)](_0xf68aa1=>{const _0x44827f=_0x226043;_0xf68aa1[_0x44827f(0x16e)]=!0x0,_0xf68aa1[_0x44827f(0x13d)]=_0x402628[_0x44827f(0x174)],_0xf68aa1[_0x44827f(0x1d2)]=null;}),_0x3aa938)_0x1791ed=_0x1e4aed,this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);else{if(_0x402628[_0x226043(0x150)]){const _0x49ed96=this[_0x226043(0x199)](_0x402628[_0x226043(0x150)]);this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)],_0x49ed96[_0x226043(0x159)](_0xab98a9=>{const _0xb83d7f=_0x226043;_0xab98a9[_0xb83d7f(0x128)]-=_0x49ed96[_0xb83d7f(0x195)],_0xab98a9[_0xb83d7f(0x13d)]=_0x402628[_0xb83d7f(0x174)],_0xab98a9[_0xb83d7f(0x16e)]=!0x0,_0xab98a9[_0xb83d7f(0x1d2)]=null;}),this[_0x226043(0x18b)](_0x49ed96,!0x0),this[_0x226043(0x18f)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)]+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x49ed96);}this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=_0xa8516,_0x1791ed=this[_0x226043(0x145)](_0x402628[_0x226043(0x160)],_0x402628[_0x226043(0x1a9)]),await this[_0x226043(0x1ba)](_0x1791ed),this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);}_0x402628[_0x226043(0x1ef)]&&(this[_0x226043(0x1b7)][_0x226043(0x19a)](_0x1791ed,_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x1a5)]=_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x18f)][_0x226043(0x118)]=_0xa8516+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x1791ed),_0x1e4aed[_0x226043(0x152)](_0x374c92=>{const _0x1076c0=_0x226043,_0x48ff79=this[_0x1076c0(0x124)](_0x374c92);return _0x48ff79&&!this[_0x1076c0(0x15b)][_0x1076c0(0x1c0)](_0x48ff79);})[_0x226043(0x159)]((_0x55a3e8,_0x290c85)=>{const _0x379ce0=_0x226043;_0x55a3e8[_0x379ce0(0x128)]=this[_0x379ce0(0x162)][_0x379ce0(0x118)]+_0x290c85,this[_0x379ce0(0x202)](_0x55a3e8);}),this[_0x226043(0x1de)]()?(this[_0x226043(0x1d7)]=0x0,this[_0x226043(0x1f8)](!0x0),await this[_0x226043(0x153)]()):(this[_0x226043(0x1fd)]=!0x1,this[_0x226043(0x1c2)]());}[_0x1bea44(0x16c)](_0x321037,_0x1d9394){const _0x4769f8=_0x1bea44,_0x20e9fe=_0x1d9394&&_0x1d9394[_0x4769f8(0x121)];if(_0x20e9fe&&_0x20e9fe[_0x4769f8(0x1ab)](_0x4769f8(0x16d)))throw _0x1d9394;const _0x3a7a2f=this[_0x4769f8(0x19b)][_0x4769f8(0x1a2)][_0x4769f8(0x1b8)](_0x47cf5e);throw this[_0x4769f8(0x1fd)]=!0x0,_0x3a7a2f[_0x4769f8(0x127)](),this[_0x4769f8(0x19b)][_0x4769f8(0x15a)](_0x4769f8(0x113)),new _0x58a5ab(_0x321037,this[_0x4769f8(0x19b)],_0x20e9fe?{'originalError':_0x20e9fe}:void 0x0);}[_0x1bea44(0x202)](_0x56b22b){const _0x3f244f=_0x1bea44;this[_0x3f244f(0x190)][_0x3f244f(0x1c0)](_0x56b22b)||(this[_0x3f244f(0x190)][_0x3f244f(0x1e8)](_0x56b22b),this[_0x3f244f(0x198)][_0x3f244f(0x1c6)](_0x56b22b),this[_0x3f244f(0x112)]||_0x3f244f(0x177)==_0x56b22b[_0x3f244f(0x209)]&&!_0x56b22b[_0x3f244f(0x1f0)]||this[_0x3f244f(0x161)]());}[_0x1bea44(0x1f8)](_0x3e7fc1=!0x1){const _0x22fb24=_0x1bea44;!_0x3e7fc1&&this[_0x22fb24(0x1fd)]||(this[_0x22fb24(0x1fd)]=!0x0,clearTimeout(this[_0x22fb24(0x116)]),this[_0x22fb24(0x116)]=setTimeout(()=>{const _0x52267a=_0x22fb24;this[_0x52267a(0x10b)]()[_0x52267a(0x1c4)](_0x359b71=>{const _0x34db60=_0x52267a;_0x359b71&&(this[_0x34db60(0x1c2)](),this[_0x34db60(0x1fd)]=!0x1);})[_0x52267a(0x143)](_0x53c740=>{const _0x26d89e=_0x52267a;this[_0x26d89e(0x1c2)](),this[_0x26d89e(0x1fd)]=!0x1,function(_0x2179dc){const _0x516318=_0x26d89e;return _0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x110))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x12e))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x183));}(_0x53c740)||this[_0x26d89e(0x16c)](_0x53c740[_0x26d89e(0x121)],_0x53c740);});},this[_0x22fb24(0x1d7)]));}[_0x1bea44(0x153)](){return new Promise(_0x18f402=>{const _0x436309=_0x49c9;this['on'](_0x436309(0x131),()=>{_0x18f402();});});}async[_0x1bea44(0x10b)](){const _0x2fe250=_0x1bea44,_0x11014f=this[_0x2fe250(0x19b)][_0x2fe250(0x1a2)][_0x2fe250(0x1b8)](_0x13b1ce);if(this[_0x2fe250(0x119)]()&&(_0x11014f[_0x2fe250(0x1ec)](),this[_0x2fe250(0x1b1)]=!0x1),!this[_0x2fe250(0x1de)]())return!0x0;const _0x1d0c8a=[...this[_0x2fe250(0x198)]];for(const _0x351a2e of _0x1d0c8a)_0x351a2e[_0x2fe250(0x182)]=this[_0x2fe250(0x162)][_0x2fe250(0x185)][_0x2fe250(0x1d0)](_0x351a2e);const _0x4a43e7=this[_0x2fe250(0x1b7)][_0x2fe250(0x194)](_0x1d0c8a),_0x2f3711=G++,_0x14932e=this[_0x2fe250(0x12d)](_0x1d0c8a),_0x3046e1=await this[_0x2fe250(0x10e)][_0x2fe250(0x15d)](_0x14932e,_0x14932e[_0x2fe250(0x128)],_0x4a43e7);try{return await this[_0x2fe250(0x1e1)](_0x1d0c8a,_0x3046e1,_0x2f3711);}catch(_0xafbe2e){return this[_0x2fe250(0x16c)](_0x2fe250(0x16f),_0xafbe2e);}}async[_0x1bea44(0x1e1)](_0x1e29a3,_0x5e0648,_0x528741){const _0x2d0d8d=_0x1bea44;if(_0x2d0d8d(0x188)in _0x5e0648)throw _0x5e0648[_0x2d0d8d(0x188)];let _0x259d5f=!0x1;if(_0x5e0648[_0x2d0d8d(0x16a)]){_0x5e0648[_0x2d0d8d(0x1ef)]&&(this[_0x2d0d8d(0x1a5)]=_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x4f9dd0=>!_0x1e29a3[_0x2d0d8d(0x14c)](_0x4f9dd0));for(const _0x2d1c5a of _0x1e29a3)_0x2d1c5a[_0x2d0d8d(0x13d)]=_0x2d0d8d(0x107)in _0x5e0648&&_0x5e0648[_0x2d0d8d(0x107)]||void 0x0;K(_0x1e29a3,_0x5e0648[_0x2d0d8d(0x118)]-_0x1e29a3[_0x2d0d8d(0x195)]),this[_0x2d0d8d(0x1e9)](_0x1e29a3);const _0x5a7d91=_0x1e29a3[_0x2d0d8d(0x152)](_0x3d2074=>{const _0x833847=_0x2d0d8d;if(!_0x3d2074[_0x833847(0x16e)])return!0x1;const _0x4589b4=this[_0x833847(0x124)](_0x3d2074);return _0x4589b4&&!this[_0x833847(0x15b)][_0x833847(0x1c0)](_0x4589b4);});K(_0x5a7d91,this[_0x2d0d8d(0x162)][_0x2d0d8d(0x118)]),this[_0x2d0d8d(0x18b)](_0x5a7d91),_0x259d5f=!0x0,this[_0x2d0d8d(0x1d7)]=this[_0x2d0d8d(0x114)];}else{const _0x1eb3df=this[_0x2d0d8d(0x145)](_0x5e0648[_0x2d0d8d(0x160)],_0x5e0648[_0x2d0d8d(0x1a9)])[_0x2d0d8d(0x152)](_0x40abae=>_0x40abae[_0x2d0d8d(0x128)]>=this[_0x2d0d8d(0x157)]);_0x1eb3df[_0x2d0d8d(0x159)](_0x23e0c6=>this[_0x2d0d8d(0x179)](_0x23e0c6)),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x1410c6=>!_0x1410c6[_0x2d0d8d(0x16e)]||!this[_0x2d0d8d(0x15b)][_0x2d0d8d(0x1c0)](this[_0x2d0d8d(0x124)](_0x1410c6))),this[_0x2d0d8d(0x198)][_0x2d0d8d(0x195)]&&K(this[_0x2d0d8d(0x198)],this[_0x2d0d8d(0x198)][0x0][_0x2d0d8d(0x128)]),await this[_0x2d0d8d(0x1ba)](_0x1eb3df),_0x259d5f=this[_0x2d0d8d(0x207)](_0x1eb3df,_0x5e0648[_0x2d0d8d(0x118)],_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x1d7)]=Math[_0x2d0d8d(0x12b)](this[_0x2d0d8d(0x1d7)]/0x2);}return _0x259d5f?!this[_0x2d0d8d(0x1de)]()||(this[_0x2d0d8d(0x1f8)](!0x0),!0x1):this[_0x2d0d8d(0x16c)](_0x2d0d8d(0x10d));}[_0x1bea44(0x207)](_0x2ca459,_0x55ddec,_0x1171f0){const _0x57ee3f=_0x1bea44;try{const _0x5f08c4={'document':this[_0x57ee3f(0x162)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xc0d427,operationsB:_0x265699,originalOperations:_0x4047e2}=_0x44dbdf(_0x2ca459,this[_0x57ee3f(0x198)],_0x5f08c4);K(_0xc0d427,this[_0x57ee3f(0x162)][_0x57ee3f(0x118)]),K(_0x265699,_0x55ddec);for(const _0x484cce of _0xc0d427){const _0x105690=_0x4047e2[_0x57ee3f(0x1b8)](_0x484cce);_0x484cce[_0x57ee3f(0x1d2)]=_0x105690?_0x105690[_0x57ee3f(0x1d2)]:null;}_0x1171f0&&(this[_0x57ee3f(0x1b7)][_0x57ee3f(0x19a)](_0x2ca459,_0x1171f0),this[_0x57ee3f(0x1a5)]=_0x1171f0),this[_0x57ee3f(0x198)]=[..._0x265699],this[_0x57ee3f(0x18b)](_0xc0d427),this[_0x57ee3f(0x1e9)](_0x2ca459);}catch(_0x346552){return console[_0x57ee3f(0x188)](_0x346552),!0x1;}return!0x0;}[_0x1bea44(0x18b)](_0x53c5c3,_0x1bbc39=!0x1){const _0x4dcb63=_0x1bea44;this[_0x4dcb63(0x19b)][_0x4dcb63(0x1e6)][_0x4dcb63(0x10c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x572e32=>{const _0x4997b9=_0x4dcb63;for(const _0x5ac7d9 of _0x53c5c3)this[_0x4997b9(0x190)][_0x4997b9(0x1e8)](_0x5ac7d9),this[_0x4997b9(0x179)](_0x5ac7d9),_0x572e32[_0x4997b9(0x18c)][_0x4997b9(0x1d4)](_0x5ac7d9),this[_0x4997b9(0x19b)][_0x4997b9(0x1e6)][_0x4997b9(0x13e)](_0x5ac7d9);});}[_0x1bea44(0x179)](_0x78c77c){const _0x127c51=_0x1bea44,_0x2ac353=this[_0x127c51(0x124)](_0x78c77c);_0x2ac353&&this[_0x127c51(0x15b)][_0x127c51(0x1e8)](_0x2ac353);}[_0x1bea44(0x124)](_0x1ce178){const _0x2d3436=_0x1bea44;let _0x59b793,_0x142bff;switch(_0x1ce178[_0x2d3436(0x209)]){case _0x2d3436(0x1ff):_0x59b793=_0x1ce178[_0x2d3436(0x164)][_0x2d3436(0x17c)];break;case _0x2d3436(0x177):if(_0x142bff=_0x1ce178[_0x2d3436(0x180)],!_0x142bff)return null;_0x59b793=_0x142bff[_0x2d3436(0x17c)];break;case _0x2d3436(0x1fe):_0x59b793=_0x1ce178[_0x2d3436(0x17c)];break;case _0x2d3436(0x117):_0x59b793=_0x1ce178[_0x2d3436(0x1d8)];break;case _0x2d3436(0x1c8):_0x59b793=_0x1ce178[_0x2d3436(0x13f)][_0x2d3436(0x17c)];break;default:return null;}return _0x59b793[_0x2d3436(0x1c1)];}[_0x1bea44(0x1e9)](_0x52ca7c){const _0x305068=_0x1bea44;_0x52ca7c[_0x305068(0x159)](_0x4d55fb=>{const _0x558ece=_0x305068,_0x4bd29a=_0x4d55fb[_0x558ece(0x1fc)]();_0x4bd29a[_0x558ece(0x1d2)]=_0x4d55fb[_0x558ece(0x1d2)],_0x4bd29a[_0x558ece(0x16e)]=!!_0x4d55fb[_0x558ece(0x16e)],_0x4bd29a[_0x558ece(0x13d)]=_0x4d55fb[_0x558ece(0x13d)],_0x4bd29a[_0x558ece(0x128)]+=this[_0x558ece(0x126)],_0x4d55fb[_0x558ece(0x1ee)]&&this[_0x558ece(0x16b)][_0x558ece(0x1e8)](_0x4bd29a),this[_0x558ece(0x18f)][_0x558ece(0x1d4)](_0x4bd29a);});}[_0x1bea44(0x1be)](_0x2f877a){const _0x21a5a6=_0x1bea44,_0x1a5923=this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x21a5a6(0x11e)),_0x322590=this[_0x21a5a6(0x19b)][_0x21a5a6(0x11c)];_0x2f877a||(_0x2f877a=_0x4a75f7(_0x322590,_0x21a5a6(0x1c9))),_0x1a5923[_0x21a5a6(0x12f)](_0x2f877a,{'title':_0x4a75f7(_0x322590,_0x21a5a6(0x201)),'namespace':_0x21a5a6(0x156)}),this[_0x21a5a6(0x18e)]=!0x0,clearTimeout(this[_0x21a5a6(0x116)]),this[_0x21a5a6(0x198)]=[],this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x47cf5e)[_0x21a5a6(0x127)]();}[_0x1bea44(0x161)](){const _0x32b1e0=_0x1bea44;this[_0x32b1e0(0x112)]||(this[_0x32b1e0(0x112)]=this[_0x32b1e0(0x19b)][_0x32b1e0(0x1a2)][_0x32b1e0(0x1b8)](_0x33ad1c)[_0x32b1e0(0x1e8)](_0x4a75f7(this[_0x32b1e0(0x19b)][_0x32b1e0(0x11c)],_0x32b1e0(0x14a))));}[_0x1bea44(0x1c2)](){const _0x229ba5=_0x1bea44;this[_0x229ba5(0x112)]&&(this[_0x229ba5(0x19b)][_0x229ba5(0x1a2)][_0x229ba5(0x1b8)](_0x33ad1c)[_0x229ba5(0x141)](this[_0x229ba5(0x112)]),this[_0x229ba5(0x112)]=null);}[_0x1bea44(0x12d)](_0x240f0c){const _0x272e13=_0x1bea44,_0x4022a7=_0x240f0c[_0x272e13(0x20a)](_0x4ed22f=>_0x4ed22f[_0x272e13(0x17f)]());return this[_0x272e13(0x1b9)][_0x272e13(0x125)](_0x4022a7);}[_0x1bea44(0x145)](_0x57345b,_0x45ec03){const _0xb261c2=_0x1bea44;return this[_0xb261c2(0x1b9)][_0xb261c2(0x147)](_0x57345b)[_0xb261c2(0x20a)]((_0x7f0eb3,_0x4c38ae)=>{const _0x10aedc=_0xb261c2,_0x55d36d=_0x10aedc(0x1a6)==_0x45ec03[_0x4c38ae][_0x10aedc(0x209)];if(_0x10aedc(0x1b6)==_0x7f0eb3[_0x10aedc(0x1d9)]){const _0x4fe34c=_0x7f0eb3[_0x10aedc(0x164)][_0x10aedc(0x17c)];!this[_0x10aedc(0x162)][_0x10aedc(0x1ea)](_0x4fe34c)&&(this[_0x10aedc(0x162)][_0x10aedc(0x1bb)](_0x10aedc(0x196),_0x4fe34c)[_0x10aedc(0x136)]=!0x1);}const _0x222ae7=_0x1b1d77[_0x10aedc(0x1f4)](_0x7f0eb3,this[_0x10aedc(0x162)]);return _0x222ae7[_0x10aedc(0x182)]=_0x7f0eb3[_0x10aedc(0x182)],_0x222ae7[_0x10aedc(0x16e)]=_0x55d36d,_0x222ae7[_0x10aedc(0x1d2)]=_0x55d36d?null:_0x45ec03[_0x4c38ae][_0x10aedc(0x115)],_0x222ae7[_0x10aedc(0x1ee)]=_0x10aedc(0x1e2)===_0x45ec03[_0x4c38ae][_0x10aedc(0x209)],_0x222ae7[_0x10aedc(0x13d)]=_0x45ec03[_0x4c38ae][_0x10aedc(0x13d)],_0x222ae7;});}[_0x1bea44(0x165)](){const _0x286150=_0x1bea44;this[_0x286150(0x1b1)]=!0x0,this[_0x286150(0x119)]()?this[_0x286150(0x1f8)]():this[_0x286150(0x1b1)]=!0x1;}[_0x1bea44(0x119)](){const _0x10e429=_0x1bea44,_0x428faf=this[_0x10e429(0x19b)][_0x10e429(0x1a2)][_0x10e429(0x1b8)](_0x10f393)[_0x10e429(0x19e)][_0x10e429(0x1b8)](this[_0x10e429(0x1a1)]);return!this[_0x10e429(0x19b)][_0x10e429(0x12a)]&&!!_0x428faf&&_0x428faf[_0x10e429(0x195)]>0x1&&this[_0x10e429(0x1b1)];}[_0x1bea44(0x1de)](){const _0x51ef07=_0x1bea44;return this[_0x51ef07(0x198)][_0x51ef07(0x195)]>0x0||this[_0x51ef07(0x119)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x36cab0,_0x3f8685){const _0x6f1076=_0x1bea44;for(const _0x489c2b of _0x36cab0)_0x489c2b[_0x6f1076(0x128)]=_0x3f8685++;}class J{[_0x1bea44(0x1ae)];[_0x1bea44(0x146)];constructor(_0x3a4a88){const _0x2bad40=_0x1bea44;this[_0x2bad40(0x1ae)]=_0x3a4a88,this[_0x2bad40(0x146)]=new WeakMap();}[_0x1bea44(0x194)](_0x4c9417){const _0x40d0b2=_0x1bea44;let _0x30824c=_0x4c9417[_0x40d0b2(0x195)];for(;_0x30824c--;){const _0x4202d1=_0x4c9417[_0x30824c];if(!this[_0x40d0b2(0x1ae)][_0x40d0b2(0x1c0)](_0x4202d1)){if(!this[_0x40d0b2(0x146)][_0x40d0b2(0x1c0)](_0x4202d1)){const _0x4fc11c=_0xff2b59()[_0x40d0b2(0x1e7)](0x1,0x12);this[_0x40d0b2(0x146)][_0x40d0b2(0x1d3)](_0x4202d1,_0x4fc11c);}return this[_0x40d0b2(0x146)][_0x40d0b2(0x1b8)](_0x4202d1);}}}[_0x1bea44(0x19a)](_0x1c6e3d,_0x45128f){const _0x433b0c=_0x1bea44;if(!_0x45128f)return;let _0x4d90c9=_0x1c6e3d[_0x433b0c(0x195)];for(;_0x4d90c9--;){const _0x355791=_0x1c6e3d[_0x4d90c9];this[_0x433b0c(0x1ae)][_0x433b0c(0x1c0)](_0x355791)||this[_0x433b0c(0x146)][_0x433b0c(0x1d3)](_0x355791,_0x45128f);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1972(_0xef4249,_0x5f2dff){const _0x210184=_0x2101();return _0x1972=function(_0x1972b9,_0x13e1da){_0x1972b9=_0x1972b9-0x65;let _0x5eb3aa=_0x210184[_0x1972b9];return _0x5eb3aa;},_0x1972(_0xef4249,_0x5f2dff);}const _0x322d7d=_0x1972;(function(_0x397267,_0x3acff2){const _0x28d01e=_0x1972,_0x4736f1=_0x397267();while(!![]){try{const _0x14811a=parseInt(_0x28d01e(0x74))/0x1+-parseInt(_0x28d01e(0x8d))/0x2*(-parseInt(_0x28d01e(0x98))/0x3)+parseInt(_0x28d01e(0x89))/0x4+-parseInt(_0x28d01e(0x6c))/0x5+-parseInt(_0x28d01e(0x6a))/0x6+-parseInt(_0x28d01e(0x65))/0x7*(parseInt(_0x28d01e(0x85))/0x8)+parseInt(_0x28d01e(0xa2))/0x9;if(_0x14811a===_0x3acff2)break;else _0x4736f1['push'](_0x4736f1['shift']());}catch(_0x5f274c){_0x4736f1['push'](_0x4736f1['shift']());}}}(_0x2101,0x1f820));import{ContextPlugin as _0x15f353}from'ckeditor5/src/core.js';import{Collection as _0x1b306d,CKEditorError as _0x332ab5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x483dc6}from'./websocketgateway.js';function _0x2101(){const _0x456e4a=['_uniqueUsersCount','getUserBySessionId','isOfficialPlugin','sessions-unregister-not-exist','_createUser','assign','226662xcIPez','change:state','add','delete','sessionId','fire','state','isMe','requires','allConnectedUsers','_users','plugins','register','_handleSessionAdd','init','stopListening','set','16HlmrjS','role','connected','mySessionId','915212yzlYiP','context','listenTo','sessions-register-already-registered','90NCbykR','_registeredSessions','sessionAdd:','getUserSessions','has','defineMe','orderNumber','getUser','hiddenInPresenceList','pluginName','clear','3oIrtzk','unregister','remove','values','addUser','user','channelConnectedUsers','forEach','isPremiumPlugin','_handleSessionRemove','258480XOmAEw','630798uHlASy','Sessions','channelSessions','get','getUserRole','291066QshRgs','connection','632175EWjFvP','size'];_0x2101=function(){return _0x456e4a;};return _0x2101();}import{Users as _0x3a631f}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x15f353{[_0x322d7d(0x67)];[_0x322d7d(0x9e)];[_0x322d7d(0x7d)];[_0x322d7d(0x8e)];[_0x322d7d(0x6e)];[_0x322d7d(0x7e)];static get[_0x322d7d(0x96)](){const _0x595358=_0x322d7d;return _0x595358(0x66);}static get[_0x322d7d(0x70)](){return!0x0;}static get[_0x322d7d(0xa0)](){return!0x0;}static get[_0x322d7d(0x7c)](){return[_0x483dc6,_0x3a631f];}constructor(_0x424fbf){const _0x37b650=_0x322d7d;super(_0x424fbf),this[_0x37b650(0x67)]=new Map(),this[_0x37b650(0x9e)]=new Map(),this[_0x37b650(0x7d)]=new _0x1b306d(),this[_0x37b650(0x8e)]=new Map(),this[_0x37b650(0x6e)]=0x0,this[_0x37b650(0x7e)]=this[_0x37b650(0x8a)][_0x37b650(0x7f)][_0x37b650(0x68)](_0x3a631f);}[_0x322d7d(0x82)](){const _0x325677=_0x322d7d,_0x4c33c3=this[_0x325677(0x8a)][_0x325677(0x7f)][_0x325677(0x68)](_0x483dc6);this[_0x325677(0x8b)](_0x4c33c3,_0x325677(0x75),(_0x1bc76c,_0x5eaceb,_0x54ad28)=>{const _0x2fa9de=_0x325677;if(_0x2fa9de(0x87)!==_0x54ad28)this[_0x2fa9de(0x67)][_0x2fa9de(0x9f)](_0x2743bd=>_0x2743bd[_0x2fa9de(0x97)]()),this[_0x2fa9de(0x9e)][_0x2fa9de(0x9f)](_0x539471=>_0x539471[_0x2fa9de(0x97)]()),this[_0x2fa9de(0x7d)][_0x2fa9de(0x97)]();else{for(const [_0x4341ee,_0x83b859]of this[_0x2fa9de(0x8e)])for(const _0x34091e of _0x83b859)this[_0x2fa9de(0x81)](_0x4341ee,_0x34091e);}}),this[_0x325677(0x72)](_0x4c33c3[_0x325677(0x6b)]['me'],!0x0);}[_0x322d7d(0x80)](_0x4e32dc,_0x245ac7){const _0x5d401b=_0x322d7d;if(this[_0x5d401b(0x8e)][_0x5d401b(0x91)](_0x4e32dc))throw new _0x332ab5(_0x5d401b(0x8c),null,{'channelId':_0x4e32dc});this[_0x5d401b(0x8e)][_0x5d401b(0x84)](_0x4e32dc,_0x245ac7),this[_0x5d401b(0x67)][_0x5d401b(0x84)](_0x4e32dc,new _0x1b306d()),this[_0x5d401b(0x9e)][_0x5d401b(0x84)](_0x4e32dc,new _0x1b306d()),this[_0x5d401b(0x8b)](_0x245ac7,_0x5d401b(0x76),(_0x4a6093,_0x2d1ebf)=>this[_0x5d401b(0x81)](_0x4e32dc,_0x2d1ebf)),this[_0x5d401b(0x8b)](_0x245ac7,_0x5d401b(0x9a),(_0x2141be,_0x280b0c)=>this[_0x5d401b(0xa1)](_0x4e32dc,_0x280b0c));for(const _0x40748b of _0x245ac7)this[_0x5d401b(0x81)](_0x4e32dc,_0x40748b);}[_0x322d7d(0x99)](_0x5e967e){const _0x4bc6b2=_0x322d7d;if(!this[_0x4bc6b2(0x8e)][_0x4bc6b2(0x91)](_0x5e967e))throw new _0x332ab5(_0x4bc6b2(0x71),null,{'channelId':_0x5e967e});const _0x59f8b0=this[_0x4bc6b2(0x8e)][_0x4bc6b2(0x68)](_0x5e967e);this[_0x4bc6b2(0x83)](_0x59f8b0);for(const _0x277ca7 of _0x59f8b0)_0x4bc6b2(0x87)===this[_0x4bc6b2(0x8a)][_0x4bc6b2(0x7f)][_0x4bc6b2(0x68)](_0x483dc6)[_0x4bc6b2(0x7a)]&&this[_0x4bc6b2(0xa1)](_0x5e967e,_0x277ca7);this[_0x4bc6b2(0x8e)][_0x4bc6b2(0x77)](_0x5e967e),this[_0x4bc6b2(0x67)][_0x4bc6b2(0x77)](_0x5e967e),this[_0x4bc6b2(0x9e)][_0x4bc6b2(0x77)](_0x5e967e);}get[_0x322d7d(0x88)](){const _0x5051ff=_0x322d7d;return this[_0x5051ff(0x8a)][_0x5051ff(0x7f)][_0x5051ff(0x68)](_0x483dc6)[_0x5051ff(0x6b)][_0x5051ff(0x78)];}[_0x322d7d(0x6f)](_0x21be26){const _0x8adaff=_0x322d7d;for(const _0x41ebea of this[_0x8adaff(0x67)][_0x8adaff(0x9b)]())for(const _0x5d3d8f of _0x41ebea)if(_0x5d3d8f['id']===_0x21be26)return _0x5d3d8f[_0x8adaff(0x9d)];}[_0x322d7d(0x90)](_0x346c7c,_0x43626b){const _0x504f35=_0x322d7d,_0x1d7a95=_0x43626b?[this[_0x504f35(0x67)][_0x504f35(0x68)](_0x43626b)]:this[_0x504f35(0x67)][_0x504f35(0x9b)](),_0x37d339=new Set();for(const _0x43d31f of _0x1d7a95)for(const _0xb0caa1 of _0x43d31f)_0xb0caa1[_0x504f35(0x9d)]['id']===_0x346c7c['id']&&_0x37d339[_0x504f35(0x76)](_0xb0caa1['id']);return _0x37d339;}[_0x322d7d(0x69)](_0x3fb07){const _0x4affa1=_0x322d7d;for(const _0x258aa8 of this[_0x4affa1(0x67)][_0x4affa1(0x9b)]())for(const _0x52be5f of _0x258aa8)if(_0x52be5f[_0x4affa1(0x9d)]===_0x3fb07)return _0x52be5f[_0x4affa1(0x86)];}[_0x322d7d(0x81)](_0x418d08,_0x2d1c7e){const _0x408033=_0x322d7d;if(_0x408033(0x87)!==this[_0x408033(0x8a)][_0x408033(0x7f)][_0x408033(0x68)](_0x483dc6)[_0x408033(0x7a)])return;const _0x493af6=_0x2d1c7e[_0x408033(0x9d)],_0x3d9266=this[_0x408033(0x7e)][_0x408033(0x94)](_0x493af6['id'])||this[_0x408033(0x72)](_0x493af6),_0x232da2=Object[_0x408033(0x73)]({},_0x2d1c7e,{'user':_0x3d9266});if(this[_0x408033(0x67)][_0x408033(0x68)](_0x418d08)[_0x408033(0x76)](_0x232da2),!_0x493af6[_0x408033(0x95)]){const _0x1e9dc1=this[_0x408033(0x9e)][_0x408033(0x68)](_0x418d08);_0x1e9dc1[_0x408033(0x91)](_0x3d9266['id'])||_0x1e9dc1[_0x408033(0x76)](_0x3d9266),this[_0x408033(0x7d)][_0x408033(0x91)](_0x3d9266['id'])||_0x493af6[_0x408033(0x95)]||this[_0x408033(0x7d)][_0x408033(0x76)](_0x3d9266,_0x3d9266[_0x408033(0x7b)]?0x0:void 0x0);}this[_0x408033(0x79)](_0x408033(0x8f)+_0x418d08,{'channelId':_0x418d08,'session':_0x232da2});}[_0x322d7d(0xa1)](_0x25757f,_0x46f48f){const _0x17d681=_0x322d7d;if(_0x17d681(0x87)!==this[_0x17d681(0x8a)][_0x17d681(0x7f)][_0x17d681(0x68)](_0x483dc6)[_0x17d681(0x7a)])return;const _0xfcbbc5=this[_0x17d681(0x9e)][_0x17d681(0x68)](_0x25757f),_0x20e2fe=_0x46f48f[_0x17d681(0x9d)];_0x20e2fe['id']&&(this[_0x17d681(0x67)][_0x17d681(0x68)](_0x25757f)[_0x17d681(0x9a)](_0x46f48f['id']),_0xfcbbc5[_0x17d681(0x91)](_0x20e2fe['id'])&&!this[_0x17d681(0x90)](_0x20e2fe,_0x25757f)[_0x17d681(0x6d)]&&_0xfcbbc5[_0x17d681(0x9a)](_0x20e2fe['id']),this[_0x17d681(0x7d)][_0x17d681(0x68)](_0x20e2fe['id'])&&!this[_0x17d681(0x90)](_0x20e2fe)[_0x17d681(0x6d)]&&this[_0x17d681(0x7d)][_0x17d681(0x9a)](_0x20e2fe['id']));}[_0x322d7d(0x72)](_0x3e25de,_0x51adaf){const _0x3cf02e=_0x322d7d,_0x31ed15=this[_0x3cf02e(0x7e)][_0x3cf02e(0x9c)](_0x3e25de);return _0x51adaf&&this[_0x3cf02e(0x7e)][_0x3cf02e(0x92)](_0x3e25de['id']),_0x31ed15[_0x3cf02e(0x93)]=this[_0x3cf02e(0x6e)]++,_0x31ed15;}}
23
+ const _0x39275e=_0x1af9;(function(_0x66c6f2,_0x5cfdf2){const _0x5f4ad7=_0x1af9,_0x5203d6=_0x66c6f2();while(!![]){try{const _0x2271d1=-parseInt(_0x5f4ad7(0x1ee))/0x1*(-parseInt(_0x5f4ad7(0x1ea))/0x2)+-parseInt(_0x5f4ad7(0x1d9))/0x3+parseInt(_0x5f4ad7(0x1e9))/0x4+parseInt(_0x5f4ad7(0x204))/0x5+parseInt(_0x5f4ad7(0x1d2))/0x6+parseInt(_0x5f4ad7(0x209))/0x7*(-parseInt(_0x5f4ad7(0x1d8))/0x8)+-parseInt(_0x5f4ad7(0x1f5))/0x9;if(_0x2271d1===_0x5cfdf2)break;else _0x5203d6['push'](_0x5203d6['shift']());}catch(_0x533db7){_0x5203d6['push'](_0x5203d6['shift']());}}}(_0x16fc,0xecd1f));function _0x1af9(_0x415607,_0x56bae4){const _0x16fcae=_0x16fc();return _0x1af9=function(_0x1af96a,_0x437eb2){_0x1af96a=_0x1af96a-0x1cd;let _0x565026=_0x16fcae[_0x1af96a];return _0x565026;},_0x1af9(_0x415607,_0x56bae4);}import{ContextPlugin as _0x37f576}from'ckeditor5/src/core.js';import{Collection as _0x13f6db,CKEditorError as _0x2b4035}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1d61cd}from'./websocketgateway.js';function _0x16fc(){const _0x29fc80=['17544HlVyyg','974148CTihOJ','_handleSessionRemove','fire','add','mySessionId','_handleSessionAdd','connected','defineMe','stopListening','channelSessions','pluginName','size','has','sessions-unregister-not-exist','init','addUser','5040836eQkSRN','118NQRPLU','forEach','role','change:state','21313OMXCXy','assign','unregister','values','allConnectedUsers','plugins','register','13073112lOCSfo','_users','hiddenInPresenceList','remove','sessionId','user','sessionAdd:','getUser','_registeredSessions','state','set','orderNumber','getUserBySessionId','getUserRole','requires','6457175vVSTGX','getUserSessions','connection','_uniqueUsersCount','sessions-register-already-registered','5383FtrafZ','isPremiumPlugin','context','clear','_createUser','Sessions','channelConnectedUsers','3747630udLUCi','delete','isOfficialPlugin','isMe','listenTo','get'];_0x16fc=function(){return _0x29fc80;};return _0x16fc();}import{Users as _0x583e63}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x37f576{[_0x39275e(0x1e2)];[_0x39275e(0x1d1)];[_0x39275e(0x1f2)];[_0x39275e(0x1fd)];[_0x39275e(0x207)];[_0x39275e(0x1f6)];static get[_0x39275e(0x1e3)](){const _0x4d1b82=_0x39275e;return _0x4d1b82(0x1d0);}static get[_0x39275e(0x1d4)](){return!0x0;}static get[_0x39275e(0x20a)](){return!0x0;}static get[_0x39275e(0x203)](){return[_0x1d61cd,_0x583e63];}constructor(_0x523df3){const _0x135cf3=_0x39275e;super(_0x523df3),this[_0x135cf3(0x1e2)]=new Map(),this[_0x135cf3(0x1d1)]=new Map(),this[_0x135cf3(0x1f2)]=new _0x13f6db(),this[_0x135cf3(0x1fd)]=new Map(),this[_0x135cf3(0x207)]=0x0,this[_0x135cf3(0x1f6)]=this[_0x135cf3(0x1cd)][_0x135cf3(0x1f3)][_0x135cf3(0x1d7)](_0x583e63);}[_0x39275e(0x1e7)](){const _0x478ff7=_0x39275e,_0x5bde13=this[_0x478ff7(0x1cd)][_0x478ff7(0x1f3)][_0x478ff7(0x1d7)](_0x1d61cd);this[_0x478ff7(0x1d6)](_0x5bde13,_0x478ff7(0x1ed),(_0x3207eb,_0x2b5622,_0x57fce8)=>{const _0x255478=_0x478ff7;if(_0x255478(0x1df)!==_0x57fce8)this[_0x255478(0x1e2)][_0x255478(0x1eb)](_0x7d7a78=>_0x7d7a78[_0x255478(0x1ce)]()),this[_0x255478(0x1d1)][_0x255478(0x1eb)](_0x3d639f=>_0x3d639f[_0x255478(0x1ce)]()),this[_0x255478(0x1f2)][_0x255478(0x1ce)]();else{for(const [_0x43c29e,_0x27b58b]of this[_0x255478(0x1fd)])for(const _0xb6a311 of _0x27b58b)this[_0x255478(0x1de)](_0x43c29e,_0xb6a311);}}),this[_0x478ff7(0x1cf)](_0x5bde13[_0x478ff7(0x206)]['me'],!0x0);}[_0x39275e(0x1f4)](_0x458afb,_0x3d4674){const _0x36e83a=_0x39275e;if(this[_0x36e83a(0x1fd)][_0x36e83a(0x1e5)](_0x458afb))throw new _0x2b4035(_0x36e83a(0x208),null,{'channelId':_0x458afb});this[_0x36e83a(0x1fd)][_0x36e83a(0x1ff)](_0x458afb,_0x3d4674),this[_0x36e83a(0x1e2)][_0x36e83a(0x1ff)](_0x458afb,new _0x13f6db()),this[_0x36e83a(0x1d1)][_0x36e83a(0x1ff)](_0x458afb,new _0x13f6db()),this[_0x36e83a(0x1d6)](_0x3d4674,_0x36e83a(0x1dc),(_0x39f7bc,_0x1484e3)=>this[_0x36e83a(0x1de)](_0x458afb,_0x1484e3)),this[_0x36e83a(0x1d6)](_0x3d4674,_0x36e83a(0x1f8),(_0x4d664b,_0x598874)=>this[_0x36e83a(0x1da)](_0x458afb,_0x598874));for(const _0x19e545 of _0x3d4674)this[_0x36e83a(0x1de)](_0x458afb,_0x19e545);}[_0x39275e(0x1f0)](_0x2fae16){const _0x9bd1f0=_0x39275e;if(!this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1e5)](_0x2fae16))throw new _0x2b4035(_0x9bd1f0(0x1e6),null,{'channelId':_0x2fae16});const _0x205c7d=this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1d7)](_0x2fae16);this[_0x9bd1f0(0x1e1)](_0x205c7d);for(const _0x4500d4 of _0x205c7d)_0x9bd1f0(0x1df)===this[_0x9bd1f0(0x1cd)][_0x9bd1f0(0x1f3)][_0x9bd1f0(0x1d7)](_0x1d61cd)[_0x9bd1f0(0x1fe)]&&this[_0x9bd1f0(0x1da)](_0x2fae16,_0x4500d4);this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1d3)](_0x2fae16),this[_0x9bd1f0(0x1e2)][_0x9bd1f0(0x1d3)](_0x2fae16),this[_0x9bd1f0(0x1d1)][_0x9bd1f0(0x1d3)](_0x2fae16);}get[_0x39275e(0x1dd)](){const _0x488c55=_0x39275e;return this[_0x488c55(0x1cd)][_0x488c55(0x1f3)][_0x488c55(0x1d7)](_0x1d61cd)[_0x488c55(0x206)][_0x488c55(0x1f9)];}[_0x39275e(0x201)](_0x4805cc){const _0x119c02=_0x39275e;for(const _0x54cee1 of this[_0x119c02(0x1e2)][_0x119c02(0x1f1)]())for(const _0x3f26d4 of _0x54cee1)if(_0x3f26d4['id']===_0x4805cc)return _0x3f26d4[_0x119c02(0x1fa)];}[_0x39275e(0x205)](_0x50450e,_0x266dae){const _0x18bf0b=_0x39275e,_0x3dcb02=_0x266dae?[this[_0x18bf0b(0x1e2)][_0x18bf0b(0x1d7)](_0x266dae)]:this[_0x18bf0b(0x1e2)][_0x18bf0b(0x1f1)](),_0x110b80=new Set();for(const _0x27c1e0 of _0x3dcb02)for(const _0x3f9150 of _0x27c1e0)_0x3f9150[_0x18bf0b(0x1fa)]['id']===_0x50450e['id']&&_0x110b80[_0x18bf0b(0x1dc)](_0x3f9150['id']);return _0x110b80;}[_0x39275e(0x202)](_0x1b31c7){const _0x23feb5=_0x39275e;for(const _0x2f08ab of this[_0x23feb5(0x1e2)][_0x23feb5(0x1f1)]())for(const _0x2f031b of _0x2f08ab)if(_0x2f031b[_0x23feb5(0x1fa)]===_0x1b31c7)return _0x2f031b[_0x23feb5(0x1ec)];}[_0x39275e(0x1de)](_0x30fd12,_0x413434){const _0x3f0f0f=_0x39275e;if(_0x3f0f0f(0x1df)!==this[_0x3f0f0f(0x1cd)][_0x3f0f0f(0x1f3)][_0x3f0f0f(0x1d7)](_0x1d61cd)[_0x3f0f0f(0x1fe)])return;const _0xd82c36=_0x413434[_0x3f0f0f(0x1fa)],_0x5c5946=this[_0x3f0f0f(0x1f6)][_0x3f0f0f(0x1fc)](_0xd82c36['id'])||this[_0x3f0f0f(0x1cf)](_0xd82c36),_0x5acd2e=Object[_0x3f0f0f(0x1ef)]({},_0x413434,{'user':_0x5c5946});if(this[_0x3f0f0f(0x1e2)][_0x3f0f0f(0x1d7)](_0x30fd12)[_0x3f0f0f(0x1dc)](_0x5acd2e),!_0xd82c36[_0x3f0f0f(0x1f7)]){const _0x21f3be=this[_0x3f0f0f(0x1d1)][_0x3f0f0f(0x1d7)](_0x30fd12);_0x21f3be[_0x3f0f0f(0x1e5)](_0x5c5946['id'])||_0x21f3be[_0x3f0f0f(0x1dc)](_0x5c5946),this[_0x3f0f0f(0x1f2)][_0x3f0f0f(0x1e5)](_0x5c5946['id'])||_0xd82c36[_0x3f0f0f(0x1f7)]||this[_0x3f0f0f(0x1f2)][_0x3f0f0f(0x1dc)](_0x5c5946,_0x5c5946[_0x3f0f0f(0x1d5)]?0x0:void 0x0);}this[_0x3f0f0f(0x1db)](_0x3f0f0f(0x1fb)+_0x30fd12,{'channelId':_0x30fd12,'session':_0x5acd2e});}[_0x39275e(0x1da)](_0x4aedf7,_0xd8c10f){const _0x4f3354=_0x39275e;if(_0x4f3354(0x1df)!==this[_0x4f3354(0x1cd)][_0x4f3354(0x1f3)][_0x4f3354(0x1d7)](_0x1d61cd)[_0x4f3354(0x1fe)])return;const _0x40a693=this[_0x4f3354(0x1d1)][_0x4f3354(0x1d7)](_0x4aedf7),_0x480c72=_0xd8c10f[_0x4f3354(0x1fa)];_0x480c72['id']&&(this[_0x4f3354(0x1e2)][_0x4f3354(0x1d7)](_0x4aedf7)[_0x4f3354(0x1f8)](_0xd8c10f['id']),_0x40a693[_0x4f3354(0x1e5)](_0x480c72['id'])&&!this[_0x4f3354(0x205)](_0x480c72,_0x4aedf7)[_0x4f3354(0x1e4)]&&_0x40a693[_0x4f3354(0x1f8)](_0x480c72['id']),this[_0x4f3354(0x1f2)][_0x4f3354(0x1d7)](_0x480c72['id'])&&!this[_0x4f3354(0x205)](_0x480c72)[_0x4f3354(0x1e4)]&&this[_0x4f3354(0x1f2)][_0x4f3354(0x1f8)](_0x480c72['id']));}[_0x39275e(0x1cf)](_0x2b4b57,_0x40e8b3){const _0x102fef=_0x39275e,_0x4fa4c0=this[_0x102fef(0x1f6)][_0x102fef(0x1e8)](_0x2b4b57);return _0x40e8b3&&this[_0x102fef(0x1f6)][_0x102fef(0x1e0)](_0x2b4b57['id']),_0x4fa4c0[_0x102fef(0x200)]=this[_0x102fef(0x207)]++,_0x4fa4c0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39e27a=_0x1b49;(function(_0xc939a8,_0x4fd4a9){const _0x28a1d4=_0x1b49,_0x10c60f=_0xc939a8();while(!![]){try{const _0x18cfb6=-parseInt(_0x28a1d4(0x1c4))/0x1*(parseInt(_0x28a1d4(0x1f9))/0x2)+parseInt(_0x28a1d4(0x1b6))/0x3*(-parseInt(_0x28a1d4(0x1f7))/0x4)+-parseInt(_0x28a1d4(0x19f))/0x5+-parseInt(_0x28a1d4(0x18d))/0x6+-parseInt(_0x28a1d4(0x1e2))/0x7*(parseInt(_0x28a1d4(0x182))/0x8)+-parseInt(_0x28a1d4(0x181))/0x9+parseInt(_0x28a1d4(0x1b9))/0xa*(parseInt(_0x28a1d4(0x1b3))/0xb);if(_0x18cfb6===_0x4fd4a9)break;else _0x10c60f['push'](_0x10c60f['shift']());}catch(_0xbcec9){_0x10c60f['push'](_0x10c60f['shift']());}}}(_0x10be,0x3e1ae));import{Plugin as _0x237aa2}from'ckeditor5/src/core.js';function _0x1b49(_0x5c5d1e,_0x3a3231){const _0x10be29=_0x10be();return _0x1b49=function(_0x1b4944,_0x5d1c78){_0x1b4944=_0x1b4944-0x177;let _0x1be2a4=_0x10be29[_0x1b4944];return _0x1be2a4;},_0x1b49(_0x5c5d1e,_0x3a3231);}import{global as _0x581d10,DomEmitterMixin as _0x5088f6}from'ckeditor5/src/utils.js';function _0x10be(){const _0x3a3b43=['editingDowncast','keydown','textContent','toRange','1965556BOlIPw','remove','1922ImMyqs','end','user:range','isOfficialPlugin','root','ck-user__marker_hovered','getCustomProperty','_domEmitter','afterInit','removeClass','classList','mouseleave','UserMarkers','highest','isLimit','mySessionId','addMarker','ck-user__marker\x20','editor','enqueueChange','1598175sCzbrc','16UmIhZm','isPremiumPlugin','view','render','set','$text','clear','markerRange','name','updateMarker','markerToHighlight','2967780waSNHg','toDomElement','outerHTML','removeMarker','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','Escape','isInline','undo','_createdBatches','getFirstRange','getPositions','plugins','getStart','user:','has','listenTo','schema','document','1757630CgcRlQ','selection','setAttribute','getSelectionClass','isObject','requires','data-session-id','span','change','fromRange','getContainedElement','nodeAfter','hasDomSelection','createRange','isDocumentOperation','isSimilar','pluginName','ck-user__marker-tooltip','editing','startsWith','11qztKgQ','getUserBySessionId','add','3sxNVIg','parent','applyOperation','21396310IGtlgX','delete','stopListening','model','marker','addEventListener','getAttribute','orderNumber','update:user:range','reconvertMarker','commands','227VWdtvm','markers','innerHTML','userPositionMarker','contenteditable','mapper','user:position:','spellcheck','isCollapsed','user:position','getNearestSelectionRange','rootName','hasContent','detach','getRange','for','destroy','createUIElement','markerToElement','change:range','false','oldRange','checkChild','conversion','newRange','$graveyard','markerName','ck-user__selection','getMarkerClass','createUserMarkerOperations','531937GDqbvV','markerNameToElements','size','setCustomProperty','init','type','mouseenter','element','createElement','split','color','tableCell','deletionPosition','user:range:','start','batch','get'];_0x10be=function(){return _0x3a3b43;};return _0x10be();}import{Sessions as _0x219107}from'./sessions.js';import{ModelLiveRange as _0x57f76f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x237aa2{[_0x39e27a(0x200)]=new(_0x5088f6())();static get[_0x39e27a(0x1a4)](){return[_0x219107];}static get[_0x39e27a(0x1af)](){const _0x3e1bf5=_0x39e27a;return _0x3e1bf5(0x179);}static get[_0x39e27a(0x1fc)](){return!0x0;}static get[_0x39e27a(0x183)](){return!0x0;}[_0x39e27a(0x1e6)](){const _0x251ea1=_0x39e27a,_0x4a0555=this[_0x251ea1(0x17f)],_0x5a33b4=_0x4a0555[_0x251ea1(0x198)][_0x251ea1(0x1f2)](_0x219107);_0x4a0555[_0x251ea1(0x1db)][_0x251ea1(0x1d3)](_0x251ea1(0x1f3))[_0x251ea1(0x1d6)]({'model':_0x251ea1(0x1cd),'view':(_0x3cb3ca,{writer:_0x1e7bfb})=>function(_0x3721a3,_0x14e6b6,_0x561c8d,_0x494d70){const _0x74df6f=_0x251ea1,_0x2d22e7=_0x3721a3[_0x74df6f(0x1de)][_0x74df6f(0x1eb)](':')[0x2],_0x33e7f3=_0x561c8d[_0x74df6f(0x1b4)](_0x2d22e7);if(!_0x33e7f3||_0x2d22e7===_0x561c8d[_0x74df6f(0x17c)])return;if(!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)][_0x74df6f(0x1da)](_0x3721a3[_0x74df6f(0x189)][_0x74df6f(0x1f0)],_0x74df6f(0x187)))return;const _0xb9ea03={'class':_0x74df6f(0x17e)+_0x33e7f3[_0x74df6f(0x1ec)][_0x74df6f(0x1e0)](),'data-name':_0x33e7f3[_0x74df6f(0x18a)],'data-session-id':_0x2d22e7},_0x4096d1=_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1c5)][_0x74df6f(0x1f2)](_0x3721a3[_0x74df6f(0x1de)]),_0x345a3d=_0x4096d1[_0x74df6f(0x199)](),_0x1ce670=_0x345a3d[_0x74df6f(0x1aa)],_0x343fe9=_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)];if(_0x1ce670&&_0x343fe9[_0x74df6f(0x1a3)](_0x1ce670)&&_0x343fe9[_0x74df6f(0x193)](_0x1ce670)&&!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1c5)][_0x74df6f(0x1f2)](_0x74df6f(0x1ef)+_0x2d22e7)[_0x74df6f(0x1d2)]()[_0x74df6f(0x1cc)])return;const _0x43804b=_0x345a3d[_0x74df6f(0x1b7)];return _0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)][_0x74df6f(0x17b)](_0x43804b)&&!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1d0)](_0x43804b)&&(_0xb9ea03[_0x74df6f(0x1c8)]=!0x1),function(_0x9291ed,_0x20a5ba,_0x2f14fa){const _0x2403f8=_0x74df6f,_0x16a7e5=_0x9291ed[_0x2403f8(0x1d5)](_0x2403f8(0x1a6),_0x20a5ba);return _0x9291ed[_0x2403f8(0x1e5)](_0x2403f8(0x1c7),!0x0,_0x16a7e5),_0x16a7e5[_0x2403f8(0x185)]=function(_0x283693){const _0x4d7dd8=_0x2403f8,_0x3b7cfd=this[_0x4d7dd8(0x18e)](_0x283693),_0x2a742d=document[_0x4d7dd8(0x1ea)](_0x4d7dd8(0x1a6));return _0x2a742d[_0x4d7dd8(0x177)][_0x4d7dd8(0x1b5)](_0x4d7dd8(0x1b0)),_0x2a742d[_0x4d7dd8(0x1a1)](_0x4d7dd8(0x1c8),_0x4d7dd8(0x1d8)),_0x2a742d[_0x4d7dd8(0x1a1)](_0x4d7dd8(0x1cb),_0x4d7dd8(0x1d8)),_0x2a742d[_0x4d7dd8(0x1f5)]=_0x2f14fa[_0x4d7dd8(0x18a)],_0x3b7cfd[_0x4d7dd8(0x1c6)]=_0x4d7dd8(0x191)+_0x2a742d[_0x4d7dd8(0x18f)]+'⁠',_0x3b7cfd[_0x4d7dd8(0x1be)](_0x4d7dd8(0x1e8),()=>{const _0x5135c9=_0x4d7dd8;_0x3b7cfd[_0x5135c9(0x177)][_0x5135c9(0x1b5)](_0x5135c9(0x1fe));}),_0x3b7cfd[_0x4d7dd8(0x1be)](_0x4d7dd8(0x178),()=>{const _0x11feb1=_0x4d7dd8;_0x3b7cfd[_0x11feb1(0x177)][_0x11feb1(0x1f8)](_0x11feb1(0x1fe));}),_0x3b7cfd;},_0x16a7e5[_0x2403f8(0x1ae)]=function(_0x165430){const _0x8dfa34=_0x2403f8;return!(!this[_0x8dfa34(0x1ff)](_0x8dfa34(0x1c7))||!_0x165430[_0x8dfa34(0x1ff)](_0x8dfa34(0x1c7))||this[_0x8dfa34(0x1bf)](_0x8dfa34(0x1a5))!=_0x165430[_0x8dfa34(0x1bf)](_0x8dfa34(0x1a5)));},_0x16a7e5;}(_0x14e6b6,_0xb9ea03,_0x33e7f3);}(_0x3cb3ca,_0x1e7bfb,_0x5a33b4,_0x4a0555)}),_0x4a0555[_0x251ea1(0x1db)][_0x251ea1(0x1d3)](_0x251ea1(0x1f3))[_0x251ea1(0x18c)]({'model':_0x251ea1(0x1fb),'view':_0x1ec90d=>function(_0x4f9d8f,_0x122d14){const _0x23db51=_0x251ea1,_0x433447=_0x4f9d8f[_0x23db51(0x1de)][_0x23db51(0x1eb)](':')[0x2];if(_0x433447===_0x122d14[_0x23db51(0x17c)])return null;const _0x224f0e=_0x122d14[_0x23db51(0x1b4)](_0x433447);if(!_0x224f0e)return{'id':_0x433447,'classes':[]};return{'id':_0x433447,'classes':[_0x23db51(0x1df),_0x224f0e[_0x23db51(0x1ec)][_0x23db51(0x1a2)]()],'attributes':{'data-session-id':_0x433447},'priority':0x7d0+_0x224f0e[_0x23db51(0x1c0)]};}(_0x1ec90d,_0x5a33b4)}),function(_0x53244e){const _0x540391=_0x251ea1,_0x66d931=_0x53244e[_0x540391(0x1bc)],_0x4da8b=new Map(),_0x55be61=_0x53244e[_0x540391(0x198)][_0x540391(0x1f2)](_0x219107);_0x66d931[_0x540391(0x1c5)]['on'](_0x540391(0x1c1),(_0x34b568,_0x370108,_0x11631b,_0x45e10f)=>{const _0x4752f0=_0x540391;if(!_0x45e10f&&_0x4da8b[_0x4752f0(0x1f2)](_0x370108[_0x4752f0(0x18a)]))return _0x4da8b[_0x4752f0(0x1f2)](_0x370108[_0x4752f0(0x18a)])[_0x4752f0(0x1d1)](),void _0x4da8b[_0x4752f0(0x1ba)](_0x370108[_0x4752f0(0x18a)]);const _0x2ac211=_0x370108[_0x4752f0(0x18a)][_0x4752f0(0x1eb)](':')[0x2];if(_0x2ac211===_0x55be61[_0x4752f0(0x17c)])return;const _0x1ca299=_0x4752f0(0x1ca)+_0x2ac211;_0x66d931[_0x4752f0(0x1c5)][_0x4752f0(0x19b)](_0x1ca299)&&_0x53244e[_0x4752f0(0x1b1)][_0x4752f0(0x1c2)](_0x1ca299),_0x370108['on'](_0x4752f0(0x1d7),(_0x173015,_0x4c673e,_0x3f6598)=>{const _0x3d6ee8=_0x4752f0;if(_0x3d6ee8(0x1dd)!=_0x4c673e[_0x3d6ee8(0x1fd)][_0x3d6ee8(0x1cf)]&&_0x3d6ee8(0x1dd)==_0x370108[_0x3d6ee8(0x1d2)]()[_0x3d6ee8(0x1fd)][_0x3d6ee8(0x1cf)]&&!_0x4da8b[_0x3d6ee8(0x19b)](_0x370108[_0x3d6ee8(0x18a)])){const _0x270f13=_0x66d931[_0x3d6ee8(0x19d)][_0x3d6ee8(0x1ce)](_0x3f6598[_0x3d6ee8(0x1ee)]);if(_0x270f13){const _0xcb7307=_0x57f76f[_0x3d6ee8(0x1a8)](_0x270f13);_0x4da8b[_0x3d6ee8(0x186)](_0x370108[_0x3d6ee8(0x18a)],_0xcb7307),_0xcb7307['on'](_0x3d6ee8(0x1d7),(_0x354c40,_0x53470d,_0x48d465)=>{const _0x25686c=_0x3d6ee8;if(_0x25686c(0x1dd)==_0xcb7307[_0x25686c(0x1fd)][_0x25686c(0x1cf)]){const _0x12ddf4=_0x66d931[_0x25686c(0x19d)][_0x25686c(0x1ce)](_0x48d465[_0x25686c(0x1ee)]);_0x12ddf4?(_0xcb7307[_0x25686c(0x1f0)]=_0x12ddf4[_0x25686c(0x1f0)],_0xcb7307[_0x25686c(0x1fa)]=_0x12ddf4[_0x25686c(0x1fa)]):(_0x4da8b[_0x25686c(0x1ba)](_0x370108[_0x25686c(0x18a)]),_0xcb7307[_0x25686c(0x1d1)]());}});}}});}),_0x66d931[_0x540391(0x19e)]['on'](_0x540391(0x1a7),()=>{const _0xce5d26=_0x540391;_0x4da8b[_0xce5d26(0x1e4)]>0x0&&_0x66d931[_0xce5d26(0x180)]({'isUndoable':!0x1},_0x269611=>{const _0x161a70=_0xce5d26;for(const [_0x23bf53,_0x28620f]of _0x4da8b)_0x161a70(0x1dd)==_0x66d931[_0x161a70(0x1c5)][_0x161a70(0x1f2)](_0x23bf53)[_0x161a70(0x1d2)]()[_0x161a70(0x1fd)][_0x161a70(0x1cf)]&&(Y(_0x23bf53[_0x161a70(0x1eb)](':')[0x2],_0x28620f[_0x161a70(0x1f6)](),_0x66d931,_0x269611),_0x28620f[_0x161a70(0x1d1)]());_0x4da8b[_0x161a70(0x188)]();});});}(_0x4a0555),this[_0x251ea1(0x200)][_0x251ea1(0x19c)](_0x581d10[_0x251ea1(0x19e)],_0x251ea1(0x1f4),(_0x1e803c,{key:_0x2e25df})=>{const _0x22492a=_0x251ea1;_0x22492a(0x192)===_0x2e25df&&function(_0x5d5db0){const _0x223cfd=_0x22492a;_0x5d5db0[_0x223cfd(0x1b1)][_0x223cfd(0x184)][_0x223cfd(0x1a7)](_0x9a4984=>{const _0x4aafcc=_0x223cfd;for(const _0x36c564 of _0x5d5db0[_0x4aafcc(0x1bc)][_0x4aafcc(0x1c5)]){if(!_0x36c564[_0x4aafcc(0x18a)][_0x4aafcc(0x1b2)](_0x4aafcc(0x1cd)))continue;const _0x4cd9e9=_0x5d5db0[_0x4aafcc(0x1b1)][_0x4aafcc(0x1c9)][_0x4aafcc(0x1e3)](_0x36c564[_0x4aafcc(0x18a)]);if(_0x4cd9e9){for(const _0x25beed of _0x4cd9e9)_0x9a4984[_0x4aafcc(0x202)](_0x4aafcc(0x1fe),_0x25beed);}}});}(_0x4a0555);},{'useCapture':!0x0});}[_0x39e27a(0x201)](){const _0x457c94=_0x39e27a,_0x135da4=this[_0x457c94(0x17f)],_0x14af3f=_0x135da4[_0x457c94(0x1c3)][_0x457c94(0x1f2)](_0x457c94(0x194));_0x14af3f&&_0x135da4[_0x457c94(0x1bc)]['on'](_0x457c94(0x1b8),(_0x31412f,_0x1c4563)=>{const _0x45b68d=_0x457c94,_0x19fc6a=_0x1c4563[0x0];if(!_0x19fc6a[_0x45b68d(0x1ad)])return;if(_0x45b68d(0x1bd)!=_0x19fc6a[_0x45b68d(0x1e7)]||!_0x19fc6a[_0x45b68d(0x18a)][_0x45b68d(0x1b2)](_0x45b68d(0x19a)))return;const _0x24ccc7=_0x19fc6a[_0x45b68d(0x1f1)];_0x14af3f[_0x45b68d(0x195)][_0x45b68d(0x19b)](_0x24ccc7)&&(_0x19fc6a[_0x45b68d(0x1dc)]=_0x19fc6a[_0x45b68d(0x1d9)]?_0x135da4[_0x45b68d(0x1bc)][_0x45b68d(0x1ac)](_0x19fc6a[_0x45b68d(0x1d9)][_0x45b68d(0x1f0)],_0x19fc6a[_0x45b68d(0x1d9)][_0x45b68d(0x1fa)]):null);},{'priority':_0x457c94(0x17a)});}[_0x39e27a(0x1d4)](){const _0x30ceb7=_0x39e27a;return this[_0x30ceb7(0x200)][_0x30ceb7(0x1bb)](),super[_0x30ceb7(0x1d4)]();}[_0x39e27a(0x1e1)](){const _0x3a2520=_0x39e27a,_0x18dc24=this[_0x3a2520(0x17f)],_0x20da25=_0x18dc24[_0x3a2520(0x1bc)][_0x3a2520(0x19e)],_0x3a7fc1=_0x18dc24[_0x3a2520(0x198)][_0x3a2520(0x1f2)](_0x219107);_0x18dc24[_0x3a2520(0x1bc)][_0x3a2520(0x180)]({'isUndoable':!0x1},_0x47991b=>{const _0x308fd1=_0x3a2520,_0x239cc1=_0x308fd1(0x1ef)+_0x3a7fc1[_0x308fd1(0x17c)],_0x1ec6a2=_0x308fd1(0x1ca)+_0x3a7fc1[_0x308fd1(0x17c)],_0x5dd779=_0x18dc24[_0x308fd1(0x1bc)][_0x308fd1(0x1c5)][_0x308fd1(0x19b)](_0x239cc1);_0x18dc24[_0x308fd1(0x1b1)][_0x308fd1(0x184)][_0x308fd1(0x1ab)]?Y(_0x3a7fc1[_0x308fd1(0x17c)],_0x20da25[_0x308fd1(0x1a0)][_0x308fd1(0x196)](),_0x18dc24[_0x308fd1(0x1bc)],_0x47991b):_0x5dd779&&(_0x47991b[_0x308fd1(0x190)](_0x239cc1),_0x47991b[_0x308fd1(0x190)](_0x1ec6a2));});}}function Y(_0x272bcc,_0x404439,_0x51f905,_0x5b1caa){const _0x3c5559=_0x39e27a,_0x3eb8c5=_0x3c5559(0x1ef)+_0x272bcc,_0x202571=_0x3c5559(0x1ca)+_0x272bcc,_0x2a9cc9=_0x404439[_0x3c5559(0x1a9)]();let _0x354f14=_0x404439[_0x3c5559(0x1f0)];if(_0x2a9cc9&&_0x2a9cc9['is'](_0x3c5559(0x1e9),_0x3c5559(0x1ed))){const _0x367620=function(_0x3e0e8e,_0x2332cc){const _0x180238=_0x3c5559;for(const _0x3bacbe of _0x3e0e8e[_0x180238(0x197)]())if(_0x2332cc[_0x180238(0x19d)][_0x180238(0x1da)](_0x3bacbe,_0x180238(0x187)))return _0x3bacbe;}(_0x404439,_0x51f905);_0x367620&&(_0x354f14=_0x367620,_0x404439=_0x5b1caa[_0x3c5559(0x1ac)](_0x354f14));}const _0x780ecf=_0x5b1caa[_0x3c5559(0x1ac)](_0x354f14);_0x51f905[_0x3c5559(0x1c5)][_0x3c5559(0x19b)](_0x3eb8c5)?(_0x5b1caa[_0x3c5559(0x18b)](_0x3eb8c5,{'range':_0x404439}),_0x5b1caa[_0x3c5559(0x18b)](_0x202571,{'range':_0x780ecf})):(_0x5b1caa[_0x3c5559(0x17d)](_0x3eb8c5,{'range':_0x404439,'usingOperation':!0x0}),_0x5b1caa[_0x3c5559(0x17d)](_0x202571,{'range':_0x780ecf,'usingOperation':!0x0}));}
23
+ const _0x458e30=_0x182e;(function(_0xc6a80,_0x5c3251){const _0x488c36=_0x182e,_0x5ac5b9=_0xc6a80();while(!![]){try{const _0x227e34=-parseInt(_0x488c36(0x13c))/0x1+parseInt(_0x488c36(0x137))/0x2*(-parseInt(_0x488c36(0x11b))/0x3)+-parseInt(_0x488c36(0x149))/0x4+-parseInt(_0x488c36(0x153))/0x5+parseInt(_0x488c36(0x178))/0x6*(-parseInt(_0x488c36(0x14b))/0x7)+-parseInt(_0x488c36(0x139))/0x8*(-parseInt(_0x488c36(0x16c))/0x9)+parseInt(_0x488c36(0x141))/0xa;if(_0x227e34===_0x5c3251)break;else _0x5ac5b9['push'](_0x5ac5b9['shift']());}catch(_0x306004){_0x5ac5b9['push'](_0x5ac5b9['shift']());}}}(_0x4824,0xee092));import{Plugin as _0x81d1cd}from'ckeditor5/src/core.js';function _0x182e(_0x25e055,_0x506f19){const _0x48243b=_0x4824();return _0x182e=function(_0x182e8e,_0x30eeb9){_0x182e8e=_0x182e8e-0x113;let _0x57f2b9=_0x48243b[_0x182e8e];return _0x57f2b9;},_0x182e(_0x25e055,_0x506f19);}import{global as _0x12f304,DomEmitterMixin as _0x2ac433}from'ckeditor5/src/utils.js';import{Sessions as _0x39b204}from'./sessions.js';import{ModelLiveRange as _0x58cd9a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x81d1cd{[_0x458e30(0x129)]=new(_0x2ac433())();static get[_0x458e30(0x16e)](){return[_0x39b204];}static get[_0x458e30(0x12e)](){const _0xa4bb17=_0x458e30;return _0xa4bb17(0x134);}static get[_0x458e30(0x15d)](){return!0x0;}static get[_0x458e30(0x165)](){return!0x0;}[_0x458e30(0x11f)](){const _0x175c44=_0x458e30,_0x47f28a=this[_0x175c44(0x17a)],_0x50e410=_0x47f28a[_0x175c44(0x132)][_0x175c44(0x198)](_0x39b204);_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x17f)]({'model':_0x175c44(0x13b),'view':(_0x19561c,{writer:_0x3f6981})=>function(_0x258a25,_0x37aa10,_0x647949,_0x3856da){const _0xfd2693=_0x175c44,_0x3ee2c=_0x258a25[_0xfd2693(0x17e)][_0xfd2693(0x16b)](':')[0x2],_0x203a9a=_0x647949[_0xfd2693(0x15c)](_0x3ee2c);if(!_0x203a9a||_0x3ee2c===_0x647949[_0xfd2693(0x135)])return;if(!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x13f)](_0x258a25[_0xfd2693(0x142)][_0xfd2693(0x114)],_0xfd2693(0x19a)))return;const _0x556024={'class':_0xfd2693(0x162)+_0x203a9a[_0xfd2693(0x126)][_0xfd2693(0x11a)](),'data-name':_0x203a9a[_0xfd2693(0x13d)],'data-session-id':_0x3ee2c},_0x1011e6=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0x258a25[_0xfd2693(0x17e)]),_0x17abb3=_0x1011e6[_0xfd2693(0x118)](),_0x400c5b=_0x17abb3[_0xfd2693(0x172)],_0x4ae4ad=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)];if(_0x400c5b&&_0x4ae4ad[_0xfd2693(0x170)](_0x400c5b)&&_0x4ae4ad[_0xfd2693(0x18f)](_0x400c5b)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0xfd2693(0x16f)+_0x3ee2c)[_0xfd2693(0x180)]()[_0xfd2693(0x13a)])return;const _0x53615d=_0x17abb3[_0xfd2693(0x140)];return _0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x144)](_0x53615d)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x199)](_0x53615d)&&(_0x556024[_0xfd2693(0x193)]=!0x1),function(_0x5578ff,_0x4d7dd1,_0x4d9331){const _0xb1f62a=_0xfd2693,_0x597a58=_0x5578ff[_0xb1f62a(0x13e)](_0xb1f62a(0x148),_0x4d7dd1);return _0x5578ff[_0xb1f62a(0x196)](_0xb1f62a(0x127),!0x0,_0x597a58),_0x597a58[_0xb1f62a(0x123)]=function(_0x57fc7f){const _0x3c37b7=_0xb1f62a,_0x35543b=this[_0x3c37b7(0x167)](_0x57fc7f),_0x341bc2=document[_0x3c37b7(0x15b)](_0x3c37b7(0x148));return _0x341bc2[_0x3c37b7(0x17c)][_0x3c37b7(0x12d)](_0x3c37b7(0x136)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x193),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x117),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x176)]=_0x4d9331[_0x3c37b7(0x13d)],_0x35543b[_0x3c37b7(0x14a)]=_0x3c37b7(0x14d)+_0x341bc2[_0x3c37b7(0x177)]+'⁠',_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x131),()=>{const _0x36d5e2=_0x3c37b7;_0x35543b[_0x36d5e2(0x17c)][_0x36d5e2(0x12d)](_0x36d5e2(0x125));}),_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x188),()=>{const _0x7396dc=_0x3c37b7;_0x35543b[_0x7396dc(0x17c)][_0x7396dc(0x181)](_0x7396dc(0x125));}),_0x35543b;},_0x597a58[_0xb1f62a(0x156)]=function(_0x4fc93f){const _0x32d3cc=_0xb1f62a;return!(!this[_0x32d3cc(0x195)](_0x32d3cc(0x127))||!_0x4fc93f[_0x32d3cc(0x195)](_0x32d3cc(0x127))||this[_0x32d3cc(0x147)](_0x32d3cc(0x169))!=_0x4fc93f[_0x32d3cc(0x147)](_0x32d3cc(0x169)));},_0x597a58;}(_0x37aa10,_0x556024,_0x203a9a);}(_0x19561c,_0x3f6981,_0x50e410,_0x47f28a)}),_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x11d)]({'model':_0x175c44(0x186),'view':_0x3da786=>function(_0x65c846,_0x3e6dc8){const _0x3f4f18=_0x175c44,_0x54d45f=_0x65c846[_0x3f4f18(0x17e)][_0x3f4f18(0x16b)](':')[0x2];if(_0x54d45f===_0x3e6dc8[_0x3f4f18(0x135)])return null;const _0x5ed05f=_0x3e6dc8[_0x3f4f18(0x15c)](_0x54d45f);if(!_0x5ed05f)return{'id':_0x54d45f,'classes':[]};return{'id':_0x54d45f,'classes':[_0x3f4f18(0x17b),_0x5ed05f[_0x3f4f18(0x126)][_0x3f4f18(0x150)]()],'attributes':{'data-session-id':_0x54d45f},'priority':0x7d0+_0x5ed05f[_0x3f4f18(0x19c)]};}(_0x3da786,_0x50e410)}),function(_0x580455){const _0x298a8b=_0x175c44,_0x2c5260=_0x580455[_0x298a8b(0x183)],_0x16bf07=new Map(),_0x5991ae=_0x580455[_0x298a8b(0x132)][_0x298a8b(0x198)](_0x39b204);_0x2c5260[_0x298a8b(0x121)]['on'](_0x298a8b(0x166),(_0x47f332,_0x3a8b3e,_0x39ec9d,_0x1c7fd0)=>{const _0x4116dd=_0x298a8b;if(!_0x1c7fd0&&_0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)]))return _0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)])[_0x4116dd(0x12c)](),void _0x16bf07[_0x4116dd(0x19d)](_0x3a8b3e[_0x4116dd(0x13d)]);const _0x241a8a=_0x3a8b3e[_0x4116dd(0x13d)][_0x4116dd(0x16b)](':')[0x2];if(_0x241a8a===_0x5991ae[_0x4116dd(0x135)])return;const _0x48b048=_0x4116dd(0x18a)+_0x241a8a;_0x2c5260[_0x4116dd(0x121)][_0x4116dd(0x185)](_0x48b048)&&_0x580455[_0x4116dd(0x12f)][_0x4116dd(0x18c)](_0x48b048),_0x3a8b3e['on'](_0x4116dd(0x116),(_0xfc9c22,_0x5253d2,_0x42135b)=>{const _0x2df196=_0x4116dd;if(_0x2df196(0x157)!=_0x5253d2[_0x2df196(0x161)][_0x2df196(0x197)]&&_0x2df196(0x157)==_0x3a8b3e[_0x2df196(0x180)]()[_0x2df196(0x161)][_0x2df196(0x197)]&&!_0x16bf07[_0x2df196(0x185)](_0x3a8b3e[_0x2df196(0x13d)])){const _0x11f44d=_0x2c5260[_0x2df196(0x119)][_0x2df196(0x160)](_0x42135b[_0x2df196(0x120)]);if(_0x11f44d){const _0x2408e2=_0x58cd9a[_0x2df196(0x159)](_0x11f44d);_0x16bf07[_0x2df196(0x171)](_0x3a8b3e[_0x2df196(0x13d)],_0x2408e2),_0x2408e2['on'](_0x2df196(0x116),(_0x2109d5,_0x1270a1,_0x464e06)=>{const _0x34537f=_0x2df196;if(_0x34537f(0x157)==_0x2408e2[_0x34537f(0x161)][_0x34537f(0x197)]){const _0x365e56=_0x2c5260[_0x34537f(0x119)][_0x34537f(0x160)](_0x464e06[_0x34537f(0x120)]);_0x365e56?(_0x2408e2[_0x34537f(0x114)]=_0x365e56[_0x34537f(0x114)],_0x2408e2[_0x34537f(0x128)]=_0x365e56[_0x34537f(0x128)]):(_0x16bf07[_0x34537f(0x19d)](_0x3a8b3e[_0x34537f(0x13d)]),_0x2408e2[_0x34537f(0x12c)]());}});}}});}),_0x2c5260[_0x298a8b(0x189)]['on'](_0x298a8b(0x124),()=>{const _0x417dc1=_0x298a8b;_0x16bf07[_0x417dc1(0x163)]>0x0&&_0x2c5260[_0x417dc1(0x168)]({'isUndoable':!0x1},_0x27c6b3=>{const _0x197f5f=_0x417dc1;for(const [_0x71c6f2,_0x31e2a0]of _0x16bf07)_0x197f5f(0x157)==_0x2c5260[_0x197f5f(0x121)][_0x197f5f(0x198)](_0x71c6f2)[_0x197f5f(0x180)]()[_0x197f5f(0x161)][_0x197f5f(0x197)]&&(Z(_0x71c6f2[_0x197f5f(0x16b)](':')[0x2],_0x31e2a0[_0x197f5f(0x158)](),_0x2c5260,_0x27c6b3),_0x31e2a0[_0x197f5f(0x12c)]());_0x16bf07[_0x197f5f(0x12b)]();});});}(_0x47f28a),this[_0x175c44(0x129)][_0x175c44(0x182)](_0x12f304[_0x175c44(0x189)],_0x175c44(0x113),(_0x55e4c9,{key:_0x2aefd9})=>{const _0xeebeef=_0x175c44;_0xeebeef(0x14c)===_0x2aefd9&&function(_0x2c405d){const _0x2898dd=_0xeebeef;_0x2c405d[_0x2898dd(0x12f)][_0x2898dd(0x184)][_0x2898dd(0x124)](_0x730c7c=>{const _0x205c5e=_0x2898dd;for(const _0xa3aef0 of _0x2c405d[_0x205c5e(0x183)][_0x205c5e(0x121)]){if(!_0xa3aef0[_0x205c5e(0x13d)][_0x205c5e(0x179)](_0x205c5e(0x13b)))continue;const _0x4d1cc0=_0x2c405d[_0x205c5e(0x12f)][_0x205c5e(0x14e)][_0x205c5e(0x154)](_0xa3aef0[_0x205c5e(0x13d)]);if(_0x4d1cc0){for(const _0x3bbdcd of _0x4d1cc0)_0x730c7c[_0x205c5e(0x164)](_0x205c5e(0x125),_0x3bbdcd);}}});}(_0x47f28a);},{'useCapture':!0x0});}[_0x458e30(0x12a)](){const _0x50577a=_0x458e30,_0x43f4f7=this[_0x50577a(0x17a)],_0x13611e=_0x43f4f7[_0x50577a(0x194)][_0x50577a(0x198)](_0x50577a(0x19b));_0x13611e&&_0x43f4f7[_0x50577a(0x183)]['on'](_0x50577a(0x14f),(_0x5e4f1d,_0x5d71cb)=>{const _0x3bbd5d=_0x50577a,_0x221726=_0x5d71cb[0x0];if(!_0x221726[_0x3bbd5d(0x190)])return;if(_0x3bbd5d(0x18b)!=_0x221726[_0x3bbd5d(0x146)]||!_0x221726[_0x3bbd5d(0x13d)][_0x3bbd5d(0x179)](_0x3bbd5d(0x192)))return;const _0x1410ee=_0x221726[_0x3bbd5d(0x143)];_0x13611e[_0x3bbd5d(0x175)][_0x3bbd5d(0x185)](_0x1410ee)&&(_0x221726[_0x3bbd5d(0x133)]=_0x221726[_0x3bbd5d(0x191)]?_0x43f4f7[_0x3bbd5d(0x183)][_0x3bbd5d(0x152)](_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x114)],_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x128)]):null);},{'priority':_0x50577a(0x138)});}[_0x458e30(0x173)](){const _0x32a9d6=_0x458e30;return this[_0x32a9d6(0x129)][_0x32a9d6(0x15a)](),super[_0x32a9d6(0x173)]();}[_0x458e30(0x17d)](){const _0x583795=_0x458e30,_0x21482a=this[_0x583795(0x17a)],_0x1bcba0=_0x21482a[_0x583795(0x183)][_0x583795(0x189)],_0x5b24c8=_0x21482a[_0x583795(0x132)][_0x583795(0x198)](_0x39b204);_0x21482a[_0x583795(0x183)][_0x583795(0x168)]({'isUndoable':!0x1},_0x5ecd19=>{const _0x2220be=_0x583795,_0x1b65c1=_0x2220be(0x16f)+_0x5b24c8[_0x2220be(0x135)],_0x46cb1b=_0x2220be(0x18a)+_0x5b24c8[_0x2220be(0x135)],_0x2a04f6=_0x21482a[_0x2220be(0x183)][_0x2220be(0x121)][_0x2220be(0x185)](_0x1b65c1);_0x21482a[_0x2220be(0x12f)][_0x2220be(0x184)][_0x2220be(0x16a)]?Z(_0x5b24c8[_0x2220be(0x135)],_0x1bcba0[_0x2220be(0x18e)][_0x2220be(0x15e)](),_0x21482a[_0x2220be(0x183)],_0x5ecd19):_0x2a04f6&&(_0x5ecd19[_0x2220be(0x11e)](_0x1b65c1),_0x5ecd19[_0x2220be(0x11e)](_0x46cb1b));});}}function _0x4824(){const _0x1a1320=['1328499NOSgVG','name','createUIElement','checkChild','parent','52458550CdCrGN','markerRange','batch','isLimit','element','type','getAttribute','span','1520044EEMGnQ','innerHTML','15323RXFESi','Escape','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','applyOperation','getSelectionClass','addMarker','createRange','6100875FlgCTG','markerNameToElements','addEventListener','isSimilar','$graveyard','toRange','fromRange','stopListening','createElement','getUserBySessionId','isOfficialPlugin','getFirstRange','tableCell','getNearestSelectionRange','root','ck-user__marker\x20','size','removeClass','isPremiumPlugin','update:user:range','toDomElement','enqueueChange','data-session-id','hasDomSelection','split','220869hippYC','updateMarker','requires','user:range:','isObject','set','nodeAfter','destroy','conversion','_createdBatches','textContent','outerHTML','2136PUrTMi','startsWith','editor','ck-user__selection','classList','createUserMarkerOperations','markerName','markerToElement','getRange','remove','listenTo','model','view','has','user:range','setAttribute','mouseleave','document','user:position:','marker','reconvertMarker','getContainedElement','selection','isInline','isDocumentOperation','oldRange','user:','contenteditable','commands','getCustomProperty','setCustomProperty','rootName','get','hasContent','$text','undo','orderNumber','delete','keydown','start','getPositions','change:range','spellcheck','getStart','schema','getMarkerClass','79629fvBacK','editingDowncast','markerToHighlight','removeMarker','init','deletionPosition','markers','false','render','change','ck-user__marker_hovered','color','userPositionMarker','end','_domEmitter','afterInit','clear','detach','add','pluginName','editing','for','mouseenter','plugins','newRange','UserMarkers','mySessionId','ck-user__marker-tooltip','72bPpfbm','highest','128jKJiDy','isCollapsed','user:position'];_0x4824=function(){return _0x1a1320;};return _0x4824();}function Z(_0x2fae42,_0x3b9f38,_0x2a39cd,_0x234399){const _0x551700=_0x458e30,_0x40073f=_0x551700(0x16f)+_0x2fae42,_0x32ecb8=_0x551700(0x18a)+_0x2fae42,_0x1783c2=_0x3b9f38[_0x551700(0x18d)]();let _0x29373b=_0x3b9f38[_0x551700(0x114)];if(_0x1783c2&&_0x1783c2['is'](_0x551700(0x145),_0x551700(0x15f))){const _0x27304f=function(_0x54865d,_0x470567){const _0x29b6f4=_0x551700;for(const _0x28bb9e of _0x54865d[_0x29b6f4(0x115)]())if(_0x470567[_0x29b6f4(0x119)][_0x29b6f4(0x13f)](_0x28bb9e,_0x29b6f4(0x19a)))return _0x28bb9e;}(_0x3b9f38,_0x2a39cd);_0x27304f&&(_0x29373b=_0x27304f,_0x3b9f38=_0x234399[_0x551700(0x152)](_0x29373b));}const _0x2c3f98=_0x234399[_0x551700(0x152)](_0x29373b);_0x2a39cd[_0x551700(0x121)][_0x551700(0x185)](_0x40073f)?(_0x234399[_0x551700(0x16d)](_0x40073f,{'range':_0x3b9f38}),_0x234399[_0x551700(0x16d)](_0x32ecb8,{'range':_0x2c3f98})):(_0x234399[_0x551700(0x151)](_0x40073f,{'range':_0x3b9f38,'usingOperation':!0x0}),_0x234399[_0x551700(0x151)](_0x32ecb8,{'range':_0x2c3f98,'usingOperation':!0x0}));}