@ckeditor/ckeditor5-real-time-collaboration 47.6.1 → 47.6.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb4e549=_0x28c8;function _0x28c8(_0x5dd071,_0x410a52){const _0x40568b=_0x4056();return _0x28c8=function(_0x28c801,_0xfe5d6a){_0x28c801=_0x28c801-0x1df;let _0x2fc544=_0x40568b[_0x28c801];return _0x2fc544;},_0x28c8(_0x5dd071,_0x410a52);}(function(_0x37fd05,_0x25e392){const _0xd97255=_0x28c8,_0x4d68bd=_0x37fd05();while(!![]){try{const _0x179fca=-parseInt(_0xd97255(0x1e1))/0x1*(-parseInt(_0xd97255(0x1ed))/0x2)+-parseInt(_0xd97255(0x1fa))/0x3*(parseInt(_0xd97255(0x1e2))/0x4)+parseInt(_0xd97255(0x1f2))/0x5*(-parseInt(_0xd97255(0x1f4))/0x6)+-parseInt(_0xd97255(0x1f3))/0x7+parseInt(_0xd97255(0x1e0))/0x8+parseInt(_0xd97255(0x202))/0x9+-parseInt(_0xd97255(0x1fe))/0xa*(-parseInt(_0xd97255(0x1ef))/0xb);if(_0x179fca===_0x25e392)break;else _0x4d68bd['push'](_0x4d68bd['shift']());}catch(_0x3506ea){_0x4d68bd['push'](_0x4d68bd['shift']());}}}(_0x4056,0x5a716));import{View as _0x525c8f}from'ckeditor5/src/ui.js';function _0x4056(){const _0x599e37=['ck-presence-list__list','presencelist:hide','isExpanded','presencelist:show','4929704GDyAXY','357FhYTjN','4FPYbzM','querySelector','render','setTemplate','contains','list','element','.ck-presence-list__dropdown-list','createCollection','div','keystrokes','94UtvEtY','listenTo','22VXnMvI','fire','change:hasPopup','195YqLHbH','1539643NSscsx','19326RaeyPM','items','relatedTarget','set','setAttribute','.ck-balloon-panel_with-arrow','1729374kZNiGV','focus','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','1256210ynhzRo','aria-expanded','removeAttribute','Connected\x20users\x20list','3674214WJptNJ','hasPopup'];_0x4056=function(){return _0x599e37;};return _0x4056();}import{KeystrokeHandler as _0x2fecaf}from'ckeditor5/src/utils.js';import{getTranslation as _0x3329e7}from'../../common-translations.js';export class PresenceInlineListView extends _0x525c8f{[_0xb4e549(0x1f5)];[_0xb4e549(0x1ec)];constructor(_0x4d3069){const _0x2b368b=_0xb4e549;super(_0x4d3069);const _0x282fb6=this[_0x2b368b(0x1fc)];this[_0x2b368b(0x1f5)]=this[_0x2b368b(0x1ea)](),this[_0x2b368b(0x1ec)]=new _0x2fecaf(),this[_0x2b368b(0x1f7)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2b368b(0x1e5)]({'tag':_0x2b368b(0x1eb),'attributes':{'aria-haspopup':_0x282fb6['if'](_0x2b368b(0x203)),'aria-expanded':_0x282fb6['to'](_0x2b368b(0x206),_0x1cb8d8=>this[_0x2b368b(0x203)]&&String(_0x1cb8d8)),'aria-label':_0x282fb6['to'](_0x2b368b(0x203),_0x3c357e=>_0x3329e7(_0x4d3069,_0x3c357e?_0x2b368b(0x1fd):_0x2b368b(0x201))),'role':_0x2b368b(0x1e7),'tabindex':_0x282fb6['to'](_0x2b368b(0x203),_0x132f1b=>!!_0x132f1b&&0x0),'class':['ck',_0x2b368b(0x204)]},'children':this[_0x2b368b(0x1f5)],'on':{'mouseenter':_0x282fb6['to'](()=>this[_0x2b368b(0x1f0)](_0x2b368b(0x1df))),'mouseleave':_0x282fb6['to'](_0x3f63f0=>{const _0x55462a=_0x2b368b,_0x3a5f60=_0x3f63f0,_0x2bbbc2=document[_0x55462a(0x1e3)](_0x55462a(0x1e9)),_0x5b4a5e=document[_0x55462a(0x1e3)](_0x55462a(0x1f9));_0x2bbbc2?.[_0x55462a(0x1e6)](_0x3a5f60[_0x55462a(0x1f6)])||_0x5b4a5e?.[_0x55462a(0x1e6)](_0x3a5f60[_0x55462a(0x1f6)])||this[_0x55462a(0x1f0)](_0x55462a(0x205));})}}),this['on'](_0x2b368b(0x1f1),(_0x1abe6c,_0x113952,_0x1a749b)=>{const _0x5a10e5=_0x2b368b;this[_0x5a10e5(0x1e8)]&&(_0x1a749b?this[_0x5a10e5(0x1e8)][_0x5a10e5(0x1f8)](_0x5a10e5(0x1ff),String(this[_0x5a10e5(0x206)])):this[_0x5a10e5(0x1e8)][_0x5a10e5(0x200)](_0x5a10e5(0x1ff)));});}[_0xb4e549(0x1fb)](){const _0x3aebfe=_0xb4e549;this[_0x3aebfe(0x1e8)][_0x3aebfe(0x1fb)]();}[_0xb4e549(0x1e4)](){const _0x2e1c02=_0xb4e549;super[_0x2e1c02(0x1e4)](),this[_0x2e1c02(0x1ec)][_0x2e1c02(0x1ee)](this[_0x2e1c02(0x1e8)]);}}
23
+ const _0x21e83d=_0x5091;(function(_0x33473c,_0x3d580a){const _0x3d8d18=_0x5091,_0x5abb5c=_0x33473c();while(!![]){try{const _0x69a61f=parseInt(_0x3d8d18(0xf6))/0x1+parseInt(_0x3d8d18(0x112))/0x2+parseInt(_0x3d8d18(0x10b))/0x3*(parseInt(_0x3d8d18(0xf4))/0x4)+-parseInt(_0x3d8d18(0xf3))/0x5*(-parseInt(_0x3d8d18(0xfd))/0x6)+-parseInt(_0x3d8d18(0x114))/0x7*(parseInt(_0x3d8d18(0xfb))/0x8)+-parseInt(_0x3d8d18(0xf7))/0x9*(parseInt(_0x3d8d18(0x111))/0xa)+parseInt(_0x3d8d18(0xff))/0xb*(-parseInt(_0x3d8d18(0x108))/0xc);if(_0x69a61f===_0x3d580a)break;else _0x5abb5c['push'](_0x5abb5c['shift']());}catch(_0x3236ff){_0x5abb5c['push'](_0x5abb5c['shift']());}}}(_0x5781,0x7fefe));function _0x5091(_0x1ae906,_0x5b8eaf){const _0x5781a0=_0x5781();return _0x5091=function(_0x509182,_0x35deef){_0x509182=_0x509182-0xef;let _0xf24136=_0x5781a0[_0x509182];return _0xf24136;},_0x5091(_0x1ae906,_0x5b8eaf);}import{View as _0x8041c6}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x10ab20}from'ckeditor5/src/utils.js';import{getTranslation as _0x30433f}from'../../common-translations.js';function _0x5781(){const _0x1ce32e=['Connected\x20users\x20list','div','5RWKnfy','30412qyGzCh','ck-presence-list__list','880777qocCPq','6381117hMQwCZ','relatedTarget','fire','presencelist:hide','288jFCVLG','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','5953578oRWXJA','.ck-presence-list__dropdown-list','33jaGOKQ','change:hasPopup','querySelector','.ck-balloon-panel_with-arrow','listenTo','keystrokes','isExpanded','contains','bindTemplate','4160436dybgTJ','focus','presencelist:show','138bUsvzK','list','items','element','removeAttribute','setTemplate','10TaQIUH','1357508tNTgqb','setAttribute','122185ZeYGFg','createCollection','aria-expanded','render','set','hasPopup'];_0x5781=function(){return _0x1ce32e;};return _0x5781();}export class PresenceInlineListView extends _0x8041c6{[_0x21e83d(0x10d)];[_0x21e83d(0x104)];constructor(_0x25a792){const _0x33828a=_0x21e83d;super(_0x25a792);const _0x585134=this[_0x33828a(0x107)];this[_0x33828a(0x10d)]=this[_0x33828a(0x115)](),this[_0x33828a(0x104)]=new _0x10ab20(),this[_0x33828a(0xef)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x33828a(0x110)]({'tag':_0x33828a(0xf2),'attributes':{'aria-haspopup':_0x585134['if'](_0x33828a(0xf0)),'aria-expanded':_0x585134['to'](_0x33828a(0x105),_0x5420df=>this[_0x33828a(0xf0)]&&String(_0x5420df)),'aria-label':_0x585134['to'](_0x33828a(0xf0),_0x5ccd06=>_0x30433f(_0x25a792,_0x5ccd06?_0x33828a(0xfc):_0x33828a(0xf1))),'role':_0x33828a(0x10c),'tabindex':_0x585134['to'](_0x33828a(0xf0),_0x533d54=>!!_0x533d54&&0x0),'class':['ck',_0x33828a(0xf5)]},'children':this[_0x33828a(0x10d)],'on':{'mouseenter':_0x585134['to'](()=>this[_0x33828a(0xf9)](_0x33828a(0x10a))),'mouseleave':_0x585134['to'](_0x2a2698=>{const _0x31ba9c=_0x33828a,_0x430d5f=_0x2a2698,_0x5090f1=document[_0x31ba9c(0x101)](_0x31ba9c(0xfe)),_0x22fa3d=document[_0x31ba9c(0x101)](_0x31ba9c(0x102));_0x5090f1?.[_0x31ba9c(0x106)](_0x430d5f[_0x31ba9c(0xf8)])||_0x22fa3d?.[_0x31ba9c(0x106)](_0x430d5f[_0x31ba9c(0xf8)])||this[_0x31ba9c(0xf9)](_0x31ba9c(0xfa));})}}),this['on'](_0x33828a(0x100),(_0x548c0,_0x54f8da,_0x14f8b9)=>{const _0x5d29c5=_0x33828a;this[_0x5d29c5(0x10e)]&&(_0x14f8b9?this[_0x5d29c5(0x10e)][_0x5d29c5(0x113)](_0x5d29c5(0x116),String(this[_0x5d29c5(0x105)])):this[_0x5d29c5(0x10e)][_0x5d29c5(0x10f)](_0x5d29c5(0x116)));});}[_0x21e83d(0x109)](){const _0x3dcb08=_0x21e83d;this[_0x3dcb08(0x10e)][_0x3dcb08(0x109)]();}[_0x21e83d(0x117)](){const _0x282723=_0x21e83d;super[_0x282723(0x117)](),this[_0x282723(0x104)][_0x282723(0x103)](this[_0x282723(0x10e)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4044(_0x376f88,_0x1a183b){const _0x1e5fd6=_0x1e5f();return _0x4044=function(_0x404418,_0x528b03){_0x404418=_0x404418-0x1d5;let _0x13a151=_0x1e5fd6[_0x404418];return _0x13a151;},_0x4044(_0x376f88,_0x1a183b);}const _0x155cf9=_0x4044;(function(_0x2dd817,_0x33a9a7){const _0x549de9=_0x4044,_0x16416b=_0x2dd817();while(!![]){try{const _0x2f4264=parseInt(_0x549de9(0x1da))/0x1*(parseInt(_0x549de9(0x1e6))/0x2)+parseInt(_0x549de9(0x1d9))/0x3+parseInt(_0x549de9(0x1ef))/0x4*(-parseInt(_0x549de9(0x1ed))/0x5)+parseInt(_0x549de9(0x1e4))/0x6*(-parseInt(_0x549de9(0x1f2))/0x7)+parseInt(_0x549de9(0x1eb))/0x8+parseInt(_0x549de9(0x1d7))/0x9*(parseInt(_0x549de9(0x1d8))/0xa)+-parseInt(_0x549de9(0x1e9))/0xb;if(_0x2f4264===_0x33a9a7)break;else _0x16416b['push'](_0x16416b['shift']());}catch(_0x5559a4){_0x16416b['push'](_0x16416b['shift']());}}}(_0x1e5f,0x9c8ab));import{View as _0x15ea9d}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x99fcc5}from'./presencecounterview.js';import{PresenceInlineListView as _0x5b90ad}from'./presenceinlinelistview.js';function _0x1e5f(){const _0x491aae=['bindTemplate','ck-rounded-corners','892507ZaYjPD','listenTo','7307488TIihtz','set','1570ZuifAk','setTemplate','7404aYEtCb','locale','inlineListView','3779027BQqHxp','first','ck-reset','36MrmDme','1436950nmyfwh','66453HhAHPg','10RuPRva','items','isCollapsed','tooltipPosition','counterView','bind','ck-presence-list--collapsed','hasPopup','ck-presence-list','change','6VkndbZ','div','66608ynGOGn'];_0x1e5f=function(){return _0x491aae;};return _0x1e5f();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x15ea9d{[_0x155cf9(0x1de)];[_0x155cf9(0x1f1)];constructor(_0x4e476e,_0x121037=0x6){const _0x459665=_0x155cf9;super(_0x4e476e);const _0x523b49=this[_0x459665(0x1e7)];this[_0x459665(0x1ec)](_0x459665(0x1dc),!0x0),this[_0x459665(0x1de)]=new _0x99fcc5(this[_0x459665(0x1f0)],_0x121037),this[_0x459665(0x1f1)]=new _0x5b90ad(_0x4e476e),this[_0x459665(0x1f1)][_0x459665(0x1df)](_0x459665(0x1e1))['to'](this,_0x459665(0x1dc)),this[_0x459665(0x1ea)](this[_0x459665(0x1f1)][_0x459665(0x1db)],_0x459665(0x1e3),()=>{const _0x2d0124=_0x459665;for(const _0x42c44d of this[_0x2d0124(0x1f1)][_0x2d0124(0x1db)])_0x42c44d[_0x2d0124(0x1dd)]='s';this[_0x2d0124(0x1f1)][_0x2d0124(0x1db)][_0x2d0124(0x1d5)]&&(this[_0x2d0124(0x1f1)][_0x2d0124(0x1db)][_0x2d0124(0x1d5)][_0x2d0124(0x1dd)]='se');}),this[_0x459665(0x1ee)]({'tag':_0x459665(0x1e5),'attributes':{'class':['ck',_0x459665(0x1e2),_0x459665(0x1d6),_0x459665(0x1e8),_0x523b49['if'](_0x459665(0x1dc),_0x459665(0x1e0))]},'children':[this[_0x459665(0x1f1)]]});}}
23
+ function _0x59b3(){const _0x21786e=['bind','setTemplate','inlineListView','counterView','ck-presence-list','set','change','listenTo','ck-rounded-corners','hasPopup','1404035XerNCE','first','4LfKHOV','218131qCxkyP','323109MAyEhf','isCollapsed','5769687ZAkLxf','3637208EIbeqy','locale','306NNjvJK','ck-presence-list--collapsed','tooltipPosition','items','40Qvfxod','198fkggPn','ck-reset','8820wYtKvh','bindTemplate','div','6013LTVVzN'];_0x59b3=function(){return _0x21786e;};return _0x59b3();}const _0x1f946a=_0x2422;(function(_0x2bb411,_0x90da5a){const _0x5d78f1=_0x2422,_0x8baed2=_0x2bb411();while(!![]){try{const _0x35bbb2=parseInt(_0x5d78f1(0x191))/0x1+parseInt(_0x5d78f1(0x197))/0x2*(-parseInt(_0x5d78f1(0x180))/0x3)+parseInt(_0x5d78f1(0x190))/0x4*(parseInt(_0x5d78f1(0x18e))/0x5)+parseInt(_0x5d78f1(0x19c))/0x6*(-parseInt(_0x5d78f1(0x183))/0x7)+-parseInt(_0x5d78f1(0x195))/0x8+-parseInt(_0x5d78f1(0x192))/0x9*(-parseInt(_0x5d78f1(0x19b))/0xa)+parseInt(_0x5d78f1(0x194))/0xb;if(_0x35bbb2===_0x90da5a)break;else _0x8baed2['push'](_0x8baed2['shift']());}catch(_0x1f860b){_0x8baed2['push'](_0x8baed2['shift']());}}}(_0x59b3,0x39301));function _0x2422(_0x3612cd,_0x1ce26f){const _0x59b32e=_0x59b3();return _0x2422=function(_0x2422cc,_0x5b021f){_0x2422cc=_0x2422cc-0x180;let _0x1eeac2=_0x59b32e[_0x2422cc];return _0x1eeac2;},_0x2422(_0x3612cd,_0x1ce26f);}import{View as _0x5461b6}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xf081be}from'./presencecounterview.js';import{PresenceInlineListView as _0x19ba7b}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5461b6{[_0x1f946a(0x187)];[_0x1f946a(0x186)];constructor(_0x301985,_0x260b11=0x6){const _0x4a2f8d=_0x1f946a;super(_0x301985);const _0x2fae3a=this[_0x4a2f8d(0x181)];this[_0x4a2f8d(0x189)](_0x4a2f8d(0x193),!0x0),this[_0x4a2f8d(0x187)]=new _0xf081be(this[_0x4a2f8d(0x196)],_0x260b11),this[_0x4a2f8d(0x186)]=new _0x19ba7b(_0x301985),this[_0x4a2f8d(0x186)][_0x4a2f8d(0x184)](_0x4a2f8d(0x18d))['to'](this,_0x4a2f8d(0x193)),this[_0x4a2f8d(0x18b)](this[_0x4a2f8d(0x186)][_0x4a2f8d(0x19a)],_0x4a2f8d(0x18a),()=>{const _0x19f836=_0x4a2f8d;for(const _0x4cec2e of this[_0x19f836(0x186)][_0x19f836(0x19a)])_0x4cec2e[_0x19f836(0x199)]='s';this[_0x19f836(0x186)][_0x19f836(0x19a)][_0x19f836(0x18f)]&&(this[_0x19f836(0x186)][_0x19f836(0x19a)][_0x19f836(0x18f)][_0x19f836(0x199)]='se');}),this[_0x4a2f8d(0x185)]({'tag':_0x4a2f8d(0x182),'attributes':{'class':['ck',_0x4a2f8d(0x188),_0x4a2f8d(0x19d),_0x4a2f8d(0x18c),_0x2fae3a['if'](_0x4a2f8d(0x193),_0x4a2f8d(0x198))]},'children':[this[_0x4a2f8d(0x186)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x171b1b=_0x3a69;function _0x2320(){var _0x438f7c=['3307950cPEIXc','310zpPJte','PresenceList','30185OgRJHH','pluginName','86014PCWdLK','462ATCwyF','isPremiumPlugin','6099agukiS','212932YTjFHF','99aewVDG','21fdkafH','requires','isOfficialPlugin','1241008auqrjo','785000ksClbe'];_0x2320=function(){return _0x438f7c;};return _0x2320();}(function(_0x10db12,_0x4f7a56){var _0x2b9a39=_0x3a69,_0x26ca78=_0x10db12();while(!![]){try{var _0x1a0a74=-parseInt(_0x2b9a39(0x1b6))/0x1+-parseInt(_0x2b9a39(0x1b2))/0x2*(parseInt(_0x2b9a39(0x1a9))/0x3)+parseInt(_0x2b9a39(0x1aa))/0x4+-parseInt(_0x2b9a39(0x1b4))/0x5*(-parseInt(_0x2b9a39(0x1a7))/0x6)+parseInt(_0x2b9a39(0x1ac))/0x7*(parseInt(_0x2b9a39(0x1af))/0x8)+parseInt(_0x2b9a39(0x1b1))/0x9+parseInt(_0x2b9a39(0x1b0))/0xa*(-parseInt(_0x2b9a39(0x1ab))/0xb);if(_0x1a0a74===_0x4f7a56)break;else _0x26ca78['push'](_0x26ca78['shift']());}catch(_0x326979){_0x26ca78['push'](_0x26ca78['shift']());}}}(_0x2320,0x3b6b5));function _0x3a69(_0x57346d,_0x5d0fbf){var _0x232057=_0x2320();return _0x3a69=function(_0x3a6987,_0x5f27de){_0x3a6987=_0x3a6987-0x1a7;var _0x36999f=_0x232057[_0x3a6987];return _0x36999f;},_0x3a69(_0x57346d,_0x5d0fbf);}import{ContextPlugin as _0x8a0165}from'ckeditor5/src/core.js';import{Sessions as _0x385b5}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x25172d}from'./presencelist/presencelistui.js';export class PresenceList extends _0x8a0165{static get[_0x171b1b(0x1ad)](){return[_0x385b5,_0x25172d];}static get[_0x171b1b(0x1b5)](){var _0x35237f=_0x171b1b;return _0x35237f(0x1b3);}static get[_0x171b1b(0x1ae)](){return!0x0;}static get[_0x171b1b(0x1a8)](){return!0x0;}}
23
+ var _0x1dc7c1=_0x5553;(function(_0x1f4eb6,_0x2cd141){var _0x51f25d=_0x5553,_0xb5af66=_0x1f4eb6();while(!![]){try{var _0x958024=-parseInt(_0x51f25d(0x153))/0x1+-parseInt(_0x51f25d(0x154))/0x2*(parseInt(_0x51f25d(0x14d))/0x3)+-parseInt(_0x51f25d(0x14e))/0x4*(parseInt(_0x51f25d(0x155))/0x5)+parseInt(_0x51f25d(0x157))/0x6*(-parseInt(_0x51f25d(0x14f))/0x7)+-parseInt(_0x51f25d(0x14c))/0x8*(-parseInt(_0x51f25d(0x149))/0x9)+parseInt(_0x51f25d(0x152))/0xa*(parseInt(_0x51f25d(0x159))/0xb)+parseInt(_0x51f25d(0x156))/0xc;if(_0x958024===_0x2cd141)break;else _0xb5af66['push'](_0xb5af66['shift']());}catch(_0x295369){_0xb5af66['push'](_0xb5af66['shift']());}}}(_0x1be7,0x36795));import{ContextPlugin as _0xa1762e}from'ckeditor5/src/core.js';import{Sessions as _0x68e59e}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0xa06163}from'./presencelist/presencelistui.js';function _0x5553(_0x41fee2,_0x54c145){var _0x1be7a6=_0x1be7();return _0x5553=function(_0x5553b7,_0x46532b){_0x5553b7=_0x5553b7-0x149;var _0x49a8cb=_0x1be7a6[_0x5553b7];return _0x49a8cb;},_0x5553(_0x41fee2,_0x54c145);}function _0x1be7(){var _0x1406f9=['isOfficialPlugin','16hLQJSC','177pRLZfe','1692AjBppz','51583lKFNKn','PresenceList','requires','20shBQIr','320644aBikZA','11080tGIKQR','2930IiLySx','14084676uHYvPK','120rMoAjV','isPremiumPlugin','478973snkbIP','22851oMISdw','pluginName'];_0x1be7=function(){return _0x1406f9;};return _0x1be7();}export class PresenceList extends _0xa1762e{static get[_0x1dc7c1(0x151)](){return[_0x68e59e,_0xa06163];}static get[_0x1dc7c1(0x14a)](){var _0x1d2d23=_0x1dc7c1;return _0x1d2d23(0x150);}static get[_0x1dc7c1(0x14b)](){return!0x0;}static get[_0x1dc7c1(0x158)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18f196=_0x4932;(function(_0x1a9bd0,_0x47c32f){const _0x34692b=_0x4932,_0x1f2d9c=_0x1a9bd0();while(!![]){try{const _0x115dfa=-parseInt(_0x34692b(0x239))/0x1+parseInt(_0x34692b(0x23e))/0x2*(-parseInt(_0x34692b(0x22b))/0x3)+parseInt(_0x34692b(0x232))/0x4+-parseInt(_0x34692b(0x1fe))/0x5*(parseInt(_0x34692b(0x1f1))/0x6)+-parseInt(_0x34692b(0x231))/0x7+-parseInt(_0x34692b(0x211))/0x8+parseInt(_0x34692b(0x1fc))/0x9;if(_0x115dfa===_0x47c32f)break;else _0x1f2d9c['push'](_0x1f2d9c['shift']());}catch(_0x51ab72){_0x1f2d9c['push'](_0x1f2d9c['shift']());}}}(_0x43a5,0xc3f83));function _0x43a5(){const _0x2da289=['context','194NfMQjh','permissions','assign','update','getComment','listenTo','updateComment','resolve','authorId','register','commentRemoved','init','isOfficialPlugin','cloudservicescommentsadapter-connect-already-connected','removeCommentThread','off','set','deletedAt','startsWith','addUser','content','connect','removeComment','delete','4931418kbBwDi','userId','commentThreadUpdated','from','getConnectedSessions','addToReconnectionStack','cloud-services-internal-error:\x20Not\x20connected.','CloudServicesCommentsAdapter','isPremiumPlugin','_services','updateCommentThread','28293777MxoKhc','commentThreadRemoved','5eJkuFc','_getService','CommentsRepository','code','setPermissions','add','commentId','attributes','plugins','404','_connectService','keys','reconnect','_fetchMissingUsersForThreads','resolveCommentThread','CommentsService','remove','getUser','commentThreadId','5317800bUrENw','adapter','reopenCommentThread','get','commentThreadResolved','unregister','reopen','cloudservicescommentsadapter-disconnect-not-exist','size','commentThreadReopened','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','mySessionId','comments','cloud-services-internal-error:\x20Request\x20timeout.','sessionAdd:','Permissions','disconnect','resolvedBy','commentUpdated','cloudservicescommentsadapter-service-not-exist','commentAdded','message','_setUpService','commentThreadAdded','createdAt','7977tXbsVj','addCommentThread','_terminateService','map','getMany','collaboration.channelId','9253335zGZnhj','5352004FSUJtl','catch','getCommentThread','resolvedAt','requires','getCommentThreads','destroy','612607FPMLvS','addComment','config','has'];_0x43a5=function(){return _0x2da289;};return _0x43a5();}import{Context as _0x117303,ContextPlugin as _0x1ed8c7}from'ckeditor5/src/core.js';import{CKEditorError as _0x198838}from'ckeditor5/src/utils.js';import{Users as _0x1d178e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1bbdca,User as _0x2bea89}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4932(_0x4be5c4,_0x5b8a86){const _0x43a541=_0x43a5();return _0x4932=function(_0x49326b,_0x1f9c99){_0x49326b=_0x49326b-0x1f1;let _0x5a8b8e=_0x43a541[_0x49326b];return _0x5a8b8e;},_0x4932(_0x4be5c4,_0x5b8a86);}import{WebSocketGateway as _0x46373c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x484141}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1ed8c7{static [_0x18f196(0x20d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1bbdca)());[_0x18f196(0x1fa)];static get[_0x18f196(0x236)](){const _0x5a6433=_0x18f196;return[_0x46373c,_0x5a6433(0x200),_0x484141,_0x1d178e];}static get[_0x18f196(0x21c)](){const _0x576c8e=_0x18f196;return _0x576c8e(0x1f8);}static get[_0x18f196(0x24a)](){return!0x0;}static get[_0x18f196(0x1f9)](){return!0x0;}constructor(_0x4c26f0){const _0x3c23cf=_0x18f196;super(_0x4c26f0),this[_0x3c23cf(0x1fa)]=new Map();}async[_0x18f196(0x249)](){const _0x110b39=_0x18f196,_0x5ad483=this[_0x110b39(0x23d)],_0x6553fc=_0x5ad483[_0x110b39(0x206)][_0x110b39(0x214)](_0x110b39(0x200));if(_0x5ad483[_0x110b39(0x206)][_0x110b39(0x214)](_0x46373c)[_0x110b39(0x1f6)](this),_0x6553fc[_0x110b39(0x212)]={'addCommentThread':async({channelId:_0xeca2ef,threadId:_0x2fe5d7,comments:_0x11834a,resolvedAt:_0x46174e,resolvedBy:_0x28e90a,context:_0x186002,attributes:_0x373684})=>{const _0x39f55c=_0x110b39,_0x103f9a=await this[_0x39f55c(0x1ff)](_0xeca2ef)[_0x39f55c(0x22c)]({'commentThreadId':_0x2fe5d7,'comments':_0x11834a[_0x39f55c(0x22e)](_0x2059f4=>function(_0x14ee57,_0x11decb,_0x4f43cf){const _0x7ba655=_0x39f55c;return{'commentThreadId':_0x4f43cf,'commentId':_0x14ee57[_0x7ba655(0x204)],'userId':_0x14ee57[_0x7ba655(0x246)],'content':_0x14ee57[_0x7ba655(0x252)],'documentId':_0x11decb,'createdAt':_0x14ee57[_0x7ba655(0x22a)],'attributes':_0x14ee57[_0x7ba655(0x205)]||{}};}(_0x2059f4,_0xeca2ef,_0x2fe5d7)),'resolvedAt':_0x46174e,'resolvedBy':_0x28e90a,'context':_0x186002,'attributes':_0x373684})[_0x39f55c(0x233)](et);return{'threadId':_0x103f9a[_0x39f55c(0x210)],'comments':_0x103f9a[_0x39f55c(0x21e)]};},'getCommentThread':async({channelId:_0x1022b0,threadId:_0x4b1536})=>{const _0x2cb855=_0x110b39,_0xef2845=await this[_0x2cb855(0x1ff)](_0x1022b0)[_0x2cb855(0x234)](_0x4b1536)[_0x2cb855(0x233)](st)[_0x2cb855(0x233)](et);return _0xef2845?_0xef2845[_0x2cb855(0x24f)]?null:(await this[_0x2cb855(0x20b)]([_0xef2845]),{'threadId':_0xef2845[_0x2cb855(0x210)],'comments':_0xef2845[_0x2cb855(0x21e)][_0x2cb855(0x22e)](rt),'context':_0xef2845[_0x2cb855(0x23d)],'resolvedAt':_0xef2845[_0x2cb855(0x235)],'resolvedBy':_0xef2845[_0x2cb855(0x223)],'attributes':_0xef2845[_0x2cb855(0x205)]||{}}):null;},'updateCommentThread':async({channelId:_0x34c333,threadId:_0x4b742a,context:_0x5e427d,unlinkedAt:_0x49ad2f,attributes:_0x199ecb})=>this[_0x110b39(0x1ff)](_0x34c333)[_0x110b39(0x1fb)]({'commentThreadId':_0x4b742a,'context':_0x5e427d,'attributes':_0x199ecb,'unlinkedAt':_0x49ad2f})[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'resolveCommentThread':async({channelId:_0xd39d3f,threadId:_0x3af214})=>{const _0x18276c=_0x110b39,_0x2dd954=await this[_0x18276c(0x1ff)](_0xd39d3f)[_0x18276c(0x20c)](_0x3af214)[_0x18276c(0x233)](st)[_0x18276c(0x233)](et);return{'threadId':_0x2dd954[_0x18276c(0x210)],'resolvedAt':_0x2dd954[_0x18276c(0x235)],'resolvedBy':_0x2dd954[_0x18276c(0x223)]};},'reopenCommentThread':async({channelId:_0x1d1782,threadId:_0x25d0cd})=>this[_0x110b39(0x1ff)](_0x1d1782)[_0x110b39(0x213)](_0x25d0cd)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'removeCommentThread':({channelId:_0x478409,threadId:_0x17eef6})=>this[_0x110b39(0x1ff)](_0x478409)[_0x110b39(0x24c)](_0x17eef6)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'addComment':({channelId:_0x4535a7,threadId:_0xe0844,commentId:_0x13ccbe,content:_0xdb4c7f,attributes:_0x2ff64a})=>this[_0x110b39(0x1ff)](_0x4535a7)[_0x110b39(0x23a)](_0xe0844,_0x13ccbe,_0xdb4c7f,_0x2ff64a)[_0x110b39(0x233)](et),'updateComment':({channelId:_0x453726,threadId:_0x594f1d,commentId:_0x56e297,content:_0x141d47,attributes:_0x4df0ce})=>this[_0x110b39(0x1ff)](_0x453726)[_0x110b39(0x244)](_0x594f1d,_0x56e297,_0x141d47,_0x4df0ce)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'removeComment':({channelId:_0x476b70,threadId:_0x4c08ff,commentId:_0x4cef57})=>this[_0x110b39(0x1ff)](_0x476b70)[_0x110b39(0x254)](_0x4c08ff,_0x4cef57)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et)},_0x5ad483 instanceof _0x117303){const _0x1f934e=_0x5ad483[_0x110b39(0x23b)][_0x110b39(0x214)](_0x110b39(0x230)),_0x1631f6=_0x5ad483[_0x110b39(0x206)][_0x110b39(0x214)](_0x484141);await this[_0x110b39(0x228)](_0x1f934e);const _0x3d41c1=await this[_0x110b39(0x1fa)][_0x110b39(0x214)](_0x1f934e)[_0x110b39(0x1f5)]();this[_0x110b39(0x243)](_0x1631f6,_0x110b39(0x220)+_0x1f934e,(_0x48b5e6,{session:_0x304feb})=>{const _0x38746a=_0x110b39;_0x304feb['id']===_0x1631f6[_0x38746a(0x21d)]&&(_0x48b5e6[_0x38746a(0x24d)](),this[_0x38746a(0x23d)][_0x38746a(0x206)][_0x38746a(0x214)](_0x38746a(0x221))[_0x38746a(0x202)](_0x304feb[_0x38746a(0x23f)],_0x1f934e));}),_0x1631f6[_0x110b39(0x247)](_0x1f934e,_0x3d41c1);}}async[_0x18f196(0x228)](_0x239e88){const _0x503c91=_0x18f196;if(this[_0x503c91(0x1fa)][_0x503c91(0x23c)](_0x239e88))throw new _0x198838(_0x503c91(0x24b),null,{'channelId':_0x239e88});const _0x1daa57=this[_0x503c91(0x23d)][_0x503c91(0x206)][_0x503c91(0x214)](_0x503c91(0x200)),_0x3f7659=new CloudServicesCommentsAdapter[(_0x503c91(0x20d))](_0x239e88);this[_0x503c91(0x1fa)][_0x503c91(0x24e)](_0x239e88,_0x3f7659),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x229),(_0x37a7f1,_0x4b69a0)=>{const _0x11f0eb=_0x503c91,{commentThreadId:_0x3edfb7,documentId:_0x3275fe,context:_0x52076e,attributes:_0x5802a5,resolvedAt:_0x282435,resolvedBy:_0x3dc18e,comments:_0x37a97e}=_0x4b69a0;_0x1daa57[_0x11f0eb(0x234)](_0x3edfb7)||_0x1daa57[_0x11f0eb(0x22c)]({'threadId':_0x3edfb7,'channelId':_0x3275fe,'comments':_0x37a97e?_0x37a97e[_0x11f0eb(0x22e)](rt):[],'context':_0x52076e,'attributes':_0x5802a5,'resolvedAt':_0x282435,'resolvedBy':_0x3dc18e,'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x1f3),(_0x5e3770,{commentThreadId:_0x26f8d4,documentId:_0x5e150c,context:_0x5d209e,unlinkedAt:_0x3d5410,attributes:_0x7141a2})=>{const _0x86c6f3=_0x503c91;_0x1daa57[_0x86c6f3(0x234)](_0x26f8d4)&&_0x1daa57[_0x86c6f3(0x1fb)]({'threadId':_0x26f8d4,'channelId':_0x5e150c,'context':_0x5d209e,'unlinkedAt':_0x3d5410,'attributes':_0x7141a2,'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x215),(_0x579649,{commentThreadId:_0x12d9cf,resolvedBy:_0xdfe3ce,resolvedAt:_0xf0f710})=>{const _0x526186=_0x503c91,_0x62b3c8=_0x1daa57[_0x526186(0x234)](_0x12d9cf);_0x62b3c8&&_0x62b3c8[_0x526186(0x245)]({'resolvedBy':_0xdfe3ce,'resolvedAt':_0xf0f710,'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x21a),(_0x2e3312,{commentThreadId:_0x423309})=>{const _0x27d7ba=_0x503c91,_0x21514e=_0x1daa57[_0x27d7ba(0x234)](_0x423309);_0x21514e&&_0x21514e[_0x27d7ba(0x217)]({'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x1fd),(_0x252753,{commentThreadId:_0x3f0fb6})=>{const _0x2f3f39=_0x503c91,_0x14fef3=_0x1daa57[_0x2f3f39(0x234)](_0x3f0fb6);_0x14fef3&&_0x14fef3[_0x2f3f39(0x20e)]({'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x226),(_0x976ffc,_0x1ae513)=>{const _0x37bb08=_0x503c91,_0x10a9b4=_0x1ae513[_0x37bb08(0x210)],_0xa67c8a=_0x1daa57[_0x37bb08(0x234)](_0x10a9b4);_0xa67c8a&&_0xa67c8a[_0x37bb08(0x23a)]({...rt(_0x1ae513),'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x224),(_0x134161,{commentThreadId:_0x1ffa85,commentId:_0x37728b,content:_0x155fbf,attributes:_0x45e97a})=>{const _0x14f46d=_0x503c91,_0x1ad20e=_0x1daa57[_0x14f46d(0x234)](_0x1ffa85);if(_0x1ad20e){const _0x446fa1=_0x1ad20e[_0x14f46d(0x242)](_0x37728b);_0x446fa1&&_0x446fa1[_0x14f46d(0x241)]({'content':_0x155fbf,'attributes':_0x45e97a,'isFromAdapter':!0x0});}}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x248),(_0x119301,{commentThreadId:_0x48e78d,commentId:_0x53d4bc})=>{const _0x18db76=_0x503c91,_0x1b27f2=_0x1daa57[_0x18db76(0x234)](_0x48e78d);if(_0x1b27f2){const _0x45f893=_0x1b27f2[_0x18db76(0x242)](_0x53d4bc);_0x45f893&&_0x45f893[_0x18db76(0x20e)]({'isFromAdapter':!0x0});}}),await this[_0x503c91(0x208)](_0x239e88);}[_0x18f196(0x238)](){const _0x91d9b3=_0x18f196;if(this[_0x91d9b3(0x23d)]instanceof _0x117303){const _0x505521=this[_0x91d9b3(0x23d)][_0x91d9b3(0x23b)][_0x91d9b3(0x214)](_0x91d9b3(0x230));this[_0x91d9b3(0x22d)](_0x505521);}}[_0x18f196(0x22d)](_0x8f359f){const _0x1d7de3=_0x18f196;if(!this[_0x1d7de3(0x1fa)][_0x1d7de3(0x23c)](_0x8f359f))throw new _0x198838(_0x1d7de3(0x218),null,{'channelId':_0x8f359f});this[_0x1d7de3(0x1ff)](_0x8f359f)[_0x1d7de3(0x222)](),this[_0x1d7de3(0x1fa)][_0x1d7de3(0x255)](_0x8f359f);}async[_0x18f196(0x20a)](){const _0x10b4f5=_0x18f196;for(const _0x23bfe6 of this[_0x10b4f5(0x1fa)][_0x10b4f5(0x209)]())await this[_0x10b4f5(0x208)](_0x23bfe6);if(this[_0x10b4f5(0x23d)]instanceof _0x117303){const _0x160526=this[_0x10b4f5(0x23d)][_0x10b4f5(0x23b)][_0x10b4f5(0x214)](_0x10b4f5(0x230)),_0x13573e=this[_0x10b4f5(0x23d)][_0x10b4f5(0x206)][_0x10b4f5(0x214)](_0x484141);_0x13573e[_0x10b4f5(0x216)](_0x160526);const _0x103153=await this[_0x10b4f5(0x1fa)][_0x10b4f5(0x214)](_0x160526)[_0x10b4f5(0x1f5)]();_0x13573e[_0x10b4f5(0x247)](_0x160526,_0x103153);}}async[_0x18f196(0x208)](_0x3e0e05){const _0x52f517=_0x18f196,{connection:_0x53a553}=this[_0x52f517(0x23d)][_0x52f517(0x206)][_0x52f517(0x214)](_0x46373c),_0x17aa1f=this[_0x52f517(0x23d)][_0x52f517(0x206)][_0x52f517(0x214)](_0x52f517(0x200)),_0x57fe14=this[_0x52f517(0x1fa)][_0x52f517(0x214)](_0x3e0e05),_0x4ceccc=await _0x57fe14[_0x52f517(0x253)](_0x53a553);await this[_0x52f517(0x20b)](_0x4ceccc);const _0x2b7748=new Set(Array[_0x52f517(0x1f4)](_0x17aa1f[_0x52f517(0x237)]({'channelId':_0x3e0e05}),_0x2845e8=>_0x2845e8['id']));for(const _0x412210 of _0x4ceccc)_0x412210[_0x52f517(0x24f)]||_0x2b7748[_0x52f517(0x255)](_0x412210[_0x52f517(0x210)]);for(const _0x27fa8b of _0x2b7748)_0x17aa1f[_0x52f517(0x234)](_0x27fa8b)[_0x52f517(0x20e)]({'isFromAdapter':!0x0});for(const _0x5ce0a9 of _0x4ceccc){let _0x23d7db=_0x17aa1f[_0x52f517(0x234)](_0x5ce0a9[_0x52f517(0x210)]);const {commentThreadId:_0x521d7c,context:_0x256ec8,attributes:_0x384ced,resolvedBy:_0x287c0f,resolvedAt:_0xae5d7e,unlinkedAt:_0x3a4ac9,deletedAt:_0x48a1aa}=_0x5ce0a9;if(_0x48a1aa)continue;_0x23d7db||(_0x23d7db=_0x17aa1f[_0x52f517(0x22c)]({'channelId':_0x3e0e05,'threadId':_0x521d7c,'context':_0x256ec8,'attributes':_0x384ced||{},'resolvedBy':_0x287c0f,'resolvedAt':_0xae5d7e,'unlinkedAt':_0x3a4ac9,'isFromAdapter':!0x0}));const _0x12f26b=new Set(Array[_0x52f517(0x1f4)](_0x23d7db[_0x52f517(0x21e)],_0x1210a4=>_0x1210a4['id']));for(const _0x2f2390 of _0x5ce0a9[_0x52f517(0x21e)])_0x12f26b[_0x52f517(0x255)](_0x2f2390[_0x52f517(0x204)]);for(const _0xb55ee7 of _0x12f26b)_0x23d7db[_0x52f517(0x242)](_0xb55ee7)[_0x52f517(0x20e)]({'isFromAdapter':!0x0});for(const _0x2655d6 of _0x5ce0a9[_0x52f517(0x21e)]){const _0x40cb1c=_0x23d7db[_0x52f517(0x242)](_0x2655d6[_0x52f517(0x204)]);_0x40cb1c?_0x40cb1c[_0x52f517(0x252)]!==_0x2655d6[_0x52f517(0x252)]&&_0x40cb1c[_0x52f517(0x241)]({'content':_0x2655d6[_0x52f517(0x252)],'isFromAdapter':!0x0}):_0x23d7db[_0x52f517(0x23a)](Object[_0x52f517(0x240)](rt(_0x2655d6),{'isFromAdapter':!0x0}));}}}[_0x18f196(0x1ff)](_0x2257a6){const _0x51eabc=_0x18f196;if(!this[_0x51eabc(0x1fa)][_0x51eabc(0x23c)](_0x2257a6))throw new _0x198838(_0x51eabc(0x225),null,{'channelId':_0x2257a6});return this[_0x51eabc(0x1fa)][_0x51eabc(0x214)](_0x2257a6);}async[_0x18f196(0x20b)](_0x23abd9){const _0x1929f7=_0x18f196,_0xbc30b2=this[_0x1929f7(0x23d)][_0x1929f7(0x206)][_0x1929f7(0x214)](_0x1d178e),{connection:_0x1b3f04}=this[_0x1929f7(0x23d)][_0x1929f7(0x206)][_0x1929f7(0x214)](_0x46373c),_0x22e912=new Set();for(const {resolvedBy:_0x29771f,comments:_0x5a0ae4}of _0x23abd9){_0x29771f&&!_0xbc30b2[_0x1929f7(0x20f)](_0x29771f)&&_0x22e912[_0x1929f7(0x203)](_0x29771f);for(const {userId:_0xa986ab}of _0x5a0ae4)_0xbc30b2[_0x1929f7(0x20f)](_0xa986ab)||_0x22e912[_0x1929f7(0x203)](_0xa986ab);}if(0x0===_0x22e912[_0x1929f7(0x219)])return;const _0x83a574=await _0x2bea89[_0x1929f7(0x22f)](_0x1b3f04,Array[_0x1929f7(0x1f4)](_0x22e912));for(const _0x23f805 of _0x83a574)_0xbc30b2[_0x1929f7(0x20f)](_0x23f805['id'])||_0xbc30b2[_0x1929f7(0x251)](_0x23f805);}}async function st(_0x275add){const _0x44ccef=_0x18f196;if(_0x44ccef(0x207)!==_0x275add[_0x44ccef(0x201)])throw _0x275add;}function et(_0x2cb0db){const _0x2c5097=_0x18f196;if((_0x357d9a=_0x2cb0db)[_0x2c5097(0x227)][_0x2c5097(0x250)](_0x2c5097(0x21b))||_0x357d9a[_0x2c5097(0x227)][_0x2c5097(0x250)](_0x2c5097(0x1f7))||_0x357d9a[_0x2c5097(0x227)][_0x2c5097(0x250)](_0x2c5097(0x21f)))return new Promise(()=>{});var _0x357d9a;throw _0x2cb0db;}function rt(_0x45e98c){const _0x369013=_0x18f196;return{'threadId':_0x45e98c[_0x369013(0x210)],'commentId':_0x45e98c[_0x369013(0x204)],'content':_0x45e98c[_0x369013(0x252)],'createdAt':_0x45e98c[_0x369013(0x22a)],'authorId':_0x45e98c[_0x369013(0x1f2)],'attributes':_0x45e98c[_0x369013(0x205)]||{}};}
23
+ const _0x2f1b3d=_0x456e;(function(_0x52960a,_0x120b62){const _0x13ff07=_0x456e,_0x366190=_0x52960a();while(!![]){try{const _0x20293a=-parseInt(_0x13ff07(0xdd))/0x1+-parseInt(_0x13ff07(0xb3))/0x2+-parseInt(_0x13ff07(0xc0))/0x3*(-parseInt(_0x13ff07(0xed))/0x4)+parseInt(_0x13ff07(0xf8))/0x5*(-parseInt(_0x13ff07(0xd3))/0x6)+parseInt(_0x13ff07(0xf7))/0x7+-parseInt(_0x13ff07(0xd9))/0x8*(-parseInt(_0x13ff07(0xfe))/0x9)+parseInt(_0x13ff07(0xd2))/0xa*(parseInt(_0x13ff07(0xad))/0xb);if(_0x20293a===_0x120b62)break;else _0x366190['push'](_0x366190['shift']());}catch(_0x30de93){_0x366190['push'](_0x366190['shift']());}}}(_0x47a2,0x20645));import{Context as _0x52d8af,ContextPlugin as _0x38a8b1}from'ckeditor5/src/core.js';import{CKEditorError as _0x5d1e6a}from'ckeditor5/src/utils.js';function _0x456e(_0x336275,_0x535e3f){const _0x47a2ea=_0x47a2();return _0x456e=function(_0x456e87,_0x481036){_0x456e87=_0x456e87-0xa7;let _0x5df941=_0x47a2ea[_0x456e87];return _0x5df941;},_0x456e(_0x336275,_0x535e3f);}import{Users as _0x93be5b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1b1d60,User as _0x2ca891}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3bc4c6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x40ced6}from'../realtimecollaborativeediting/sessions.js';function _0x47a2(){const _0x185e79=['commentThreadResolved','addComment','81fVdSCk','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','config','CloudServicesCommentsAdapter','setPermissions','removeComment','_services','resolvedBy','add','commentId','commentThreadId','addToReconnectionStack','getUser','CommentsRepository','commentUpdated','getConnectedSessions','permissions','_setUpService','1710530JQREGM','525552iMdWxg','CommentsService','cloud-services-internal-error:\x20Not\x20connected.','getCommentThread','updateComment','createdAt','416kHDmSY','from','reopen','adapter','129397HnuLZU','attributes','mySessionId','pluginName','context','reconnect','content','plugins','size','commentAdded','resolvedAt','register','update','resolveCommentThread','disconnect','isPremiumPlugin','36388PyaqkC','remove','init','_fetchMissingUsersForThreads','has','cloudservicescommentsadapter-connect-already-connected','getCommentThreads','listenTo','commentThreadUpdated','authorId','304864YRsXFb','10uTWdqy','_terminateService','set','requires','commentRemoved','updateCommentThread','31554rRKgHh','getMany','delete','commentThreadAdded','removeCommentThread','commentThreadRemoved','comments','code','destroy','startsWith','Permissions','commentThreadReopened','getComment','_connectService','keys','404','assign','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','resolve','catch','sessionAdd:','11MJQdCt','addCommentThread','deletedAt','off','userId','addUser','410556EHjgWS','reopenCommentThread','_getService','map','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-disconnect-not-exist','get','isOfficialPlugin','message','connect','unregister'];_0x47a2=function(){return _0x185e79;};return _0x47a2();}export class CloudServicesCommentsAdapter extends _0x38a8b1{static [_0x2f1b3d(0xd4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1b1d60)());[_0x2f1b3d(0xc6)];static get[_0x2f1b3d(0xfb)](){const _0x17ff13=_0x2f1b3d;return[_0x3bc4c6,_0x17ff13(0xcd),_0x40ced6,_0x93be5b];}static get[_0x2f1b3d(0xe0)](){const _0x33d33b=_0x2f1b3d;return _0x33d33b(0xc3);}static get[_0x2f1b3d(0xba)](){return!0x0;}static get[_0x2f1b3d(0xec)](){return!0x0;}constructor(_0x2db946){const _0x5e1b17=_0x2f1b3d;super(_0x2db946),this[_0x5e1b17(0xc6)]=new Map();}async[_0x2f1b3d(0xef)](){const _0x493fa8=_0x2f1b3d,_0x24ddb4=this[_0x493fa8(0xe1)],_0x1318d4=_0x24ddb4[_0x493fa8(0xe4)][_0x493fa8(0xb9)](_0x493fa8(0xcd));if(_0x24ddb4[_0x493fa8(0xe4)][_0x493fa8(0xb9)](_0x3bc4c6)[_0x493fa8(0xcb)](this),_0x1318d4[_0x493fa8(0xdc)]={'addCommentThread':async({channelId:_0x3600a4,threadId:_0x434113,comments:_0x55d206,resolvedAt:_0x25e8b8,resolvedBy:_0xfa552e,context:_0x1b94c4,attributes:_0x10eb3f})=>{const _0x4eeca4=_0x493fa8,_0x2c3125=await this[_0x4eeca4(0xb5)](_0x3600a4)[_0x4eeca4(0xae)]({'commentThreadId':_0x434113,'comments':_0x55d206[_0x4eeca4(0xb6)](_0x599909=>function(_0x204365,_0x36c51f,_0x5855c5){const _0x34b14c=_0x4eeca4;return{'commentThreadId':_0x5855c5,'commentId':_0x204365[_0x34b14c(0xc9)],'userId':_0x204365[_0x34b14c(0xf6)],'content':_0x204365[_0x34b14c(0xe3)],'documentId':_0x36c51f,'createdAt':_0x204365[_0x34b14c(0xd8)],'attributes':_0x204365[_0x34b14c(0xde)]||{}};}(_0x599909,_0x3600a4,_0x434113)),'resolvedAt':_0x25e8b8,'resolvedBy':_0xfa552e,'context':_0x1b94c4,'attributes':_0x10eb3f})[_0x4eeca4(0xab)](A);return{'threadId':_0x2c3125[_0x4eeca4(0xca)],'comments':_0x2c3125[_0x4eeca4(0x104)]};},'getCommentThread':async({channelId:_0x1cd52b,threadId:_0x292e47})=>{const _0x12c259=_0x493fa8,_0x10ad0d=await this[_0x12c259(0xb5)](_0x1cd52b)[_0x12c259(0xd6)](_0x292e47)[_0x12c259(0xab)](f)[_0x12c259(0xab)](A);return _0x10ad0d?_0x10ad0d[_0x12c259(0xaf)]?null:(await this[_0x12c259(0xf0)]([_0x10ad0d]),{'threadId':_0x10ad0d[_0x12c259(0xca)],'comments':_0x10ad0d[_0x12c259(0x104)][_0x12c259(0xb6)](p),'context':_0x10ad0d[_0x12c259(0xe1)],'resolvedAt':_0x10ad0d[_0x12c259(0xe7)],'resolvedBy':_0x10ad0d[_0x12c259(0xc7)],'attributes':_0x10ad0d[_0x12c259(0xde)]||{}}):null;},'updateCommentThread':async({channelId:_0x307c72,threadId:_0x876b0e,context:_0x400cba,unlinkedAt:_0x36c9ea,attributes:_0x2b5b62})=>this[_0x493fa8(0xb5)](_0x307c72)[_0x493fa8(0xfd)]({'commentThreadId':_0x876b0e,'context':_0x400cba,'attributes':_0x2b5b62,'unlinkedAt':_0x36c9ea})[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'resolveCommentThread':async({channelId:_0x3d6f3b,threadId:_0xb7d681})=>{const _0x389d04=_0x493fa8,_0x2dec02=await this[_0x389d04(0xb5)](_0x3d6f3b)[_0x389d04(0xea)](_0xb7d681)[_0x389d04(0xab)](f)[_0x389d04(0xab)](A);return{'threadId':_0x2dec02[_0x389d04(0xca)],'resolvedAt':_0x2dec02[_0x389d04(0xe7)],'resolvedBy':_0x2dec02[_0x389d04(0xc7)]};},'reopenCommentThread':async({channelId:_0x2e9650,threadId:_0x37e35c})=>this[_0x493fa8(0xb5)](_0x2e9650)[_0x493fa8(0xb4)](_0x37e35c)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'removeCommentThread':({channelId:_0x4dec51,threadId:_0x4c517f})=>this[_0x493fa8(0xb5)](_0x4dec51)[_0x493fa8(0x102)](_0x4c517f)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'addComment':({channelId:_0x520e65,threadId:_0x4ed0f2,commentId:_0x3ac8e0,content:_0xd1ad00,attributes:_0x28f7f1})=>this[_0x493fa8(0xb5)](_0x520e65)[_0x493fa8(0xbf)](_0x4ed0f2,_0x3ac8e0,_0xd1ad00,_0x28f7f1)[_0x493fa8(0xab)](A),'updateComment':({channelId:_0x390961,threadId:_0x27f542,commentId:_0x81aacc,content:_0x2e1cce,attributes:_0x32602d})=>this[_0x493fa8(0xb5)](_0x390961)[_0x493fa8(0xd7)](_0x27f542,_0x81aacc,_0x2e1cce,_0x32602d)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'removeComment':({channelId:_0x44261c,threadId:_0x54ad67,commentId:_0x2ac69b})=>this[_0x493fa8(0xb5)](_0x44261c)[_0x493fa8(0xc5)](_0x54ad67,_0x2ac69b)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A)},_0x24ddb4 instanceof _0x52d8af){const _0x133327=_0x24ddb4[_0x493fa8(0xc2)][_0x493fa8(0xb9)](_0x493fa8(0xa9)),_0x35c0c8=_0x24ddb4[_0x493fa8(0xe4)][_0x493fa8(0xb9)](_0x40ced6);await this[_0x493fa8(0xd1)](_0x133327);const _0x36d7b5=await this[_0x493fa8(0xc6)][_0x493fa8(0xb9)](_0x133327)[_0x493fa8(0xcf)]();this[_0x493fa8(0xf4)](_0x35c0c8,_0x493fa8(0xac)+_0x133327,(_0x560b77,{session:_0x295ea9})=>{const _0x433c7e=_0x493fa8;_0x295ea9['id']===_0x35c0c8[_0x433c7e(0xdf)]&&(_0x560b77[_0x433c7e(0xb0)](),this[_0x433c7e(0xe1)][_0x433c7e(0xe4)][_0x433c7e(0xb9)](_0x433c7e(0x108))[_0x433c7e(0xc4)](_0x295ea9[_0x433c7e(0xd0)],_0x133327));}),_0x35c0c8[_0x493fa8(0xe8)](_0x133327,_0x36d7b5);}}async[_0x2f1b3d(0xd1)](_0x1d8393){const _0x3af8a4=_0x2f1b3d;if(this[_0x3af8a4(0xc6)][_0x3af8a4(0xf1)](_0x1d8393))throw new _0x5d1e6a(_0x3af8a4(0xf2),null,{'channelId':_0x1d8393});const _0x12b567=this[_0x3af8a4(0xe1)][_0x3af8a4(0xe4)][_0x3af8a4(0xb9)](_0x3af8a4(0xcd)),_0x38c711=new CloudServicesCommentsAdapter[(_0x3af8a4(0xd4))](_0x1d8393);this[_0x3af8a4(0xc6)][_0x3af8a4(0xfa)](_0x1d8393,_0x38c711),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0x101),(_0x269807,_0x31b60e)=>{const _0x18acf1=_0x3af8a4,{commentThreadId:_0x4290c4,documentId:_0x461974,context:_0x5f16d9,attributes:_0x2b5b9a,resolvedAt:_0x1481e1,resolvedBy:_0x2d97a2,comments:_0x59a41e}=_0x31b60e;_0x12b567[_0x18acf1(0xd6)](_0x4290c4)||_0x12b567[_0x18acf1(0xae)]({'threadId':_0x4290c4,'channelId':_0x461974,'comments':_0x59a41e?_0x59a41e[_0x18acf1(0xb6)](p):[],'context':_0x5f16d9,'attributes':_0x2b5b9a,'resolvedAt':_0x1481e1,'resolvedBy':_0x2d97a2,'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xf5),(_0xb579a1,{commentThreadId:_0x5d9325,documentId:_0x476f11,context:_0x5a6231,unlinkedAt:_0x40776e,attributes:_0x4d75de})=>{const _0x245f9f=_0x3af8a4;_0x12b567[_0x245f9f(0xd6)](_0x5d9325)&&_0x12b567[_0x245f9f(0xfd)]({'threadId':_0x5d9325,'channelId':_0x476f11,'context':_0x5a6231,'unlinkedAt':_0x40776e,'attributes':_0x4d75de,'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xbe),(_0x32f8db,{commentThreadId:_0x11f654,resolvedBy:_0x59e423,resolvedAt:_0x278226})=>{const _0x55629e=_0x3af8a4,_0x4d2995=_0x12b567[_0x55629e(0xd6)](_0x11f654);_0x4d2995&&_0x4d2995[_0x55629e(0xaa)]({'resolvedBy':_0x59e423,'resolvedAt':_0x278226,'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0x109),(_0x7adc5b,{commentThreadId:_0x4f4d8d})=>{const _0x4ebf41=_0x3af8a4,_0x351df6=_0x12b567[_0x4ebf41(0xd6)](_0x4f4d8d);_0x351df6&&_0x351df6[_0x4ebf41(0xdb)]({'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0x103),(_0x3d1f92,{commentThreadId:_0x59193e})=>{const _0x385d74=_0x3af8a4,_0x351d5e=_0x12b567[_0x385d74(0xd6)](_0x59193e);_0x351d5e&&_0x351d5e[_0x385d74(0xee)]({'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xe6),(_0x4ee68a,_0x526aaa)=>{const _0x523a23=_0x3af8a4,_0x4829ec=_0x526aaa[_0x523a23(0xca)],_0x151c99=_0x12b567[_0x523a23(0xd6)](_0x4829ec);_0x151c99&&_0x151c99[_0x523a23(0xbf)]({...p(_0x526aaa),'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xce),(_0x230f92,{commentThreadId:_0x132ff9,commentId:_0x5b39c3,content:_0x6ad5e4,attributes:_0x3e7c16})=>{const _0x46d43a=_0x3af8a4,_0x1b4e5a=_0x12b567[_0x46d43a(0xd6)](_0x132ff9);if(_0x1b4e5a){const _0x1391ca=_0x1b4e5a[_0x46d43a(0x10a)](_0x5b39c3);_0x1391ca&&_0x1391ca[_0x46d43a(0xe9)]({'content':_0x6ad5e4,'attributes':_0x3e7c16,'isFromAdapter':!0x0});}}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xfc),(_0x45e952,{commentThreadId:_0x2f8d9c,commentId:_0x5f2759})=>{const _0x28e153=_0x3af8a4,_0x369780=_0x12b567[_0x28e153(0xd6)](_0x2f8d9c);if(_0x369780){const _0x5779be=_0x369780[_0x28e153(0x10a)](_0x5f2759);_0x5779be&&_0x5779be[_0x28e153(0xee)]({'isFromAdapter':!0x0});}}),await this[_0x3af8a4(0x10b)](_0x1d8393);}[_0x2f1b3d(0x106)](){const _0x1014de=_0x2f1b3d;if(this[_0x1014de(0xe1)]instanceof _0x52d8af){const _0x346e3d=this[_0x1014de(0xe1)][_0x1014de(0xc2)][_0x1014de(0xb9)](_0x1014de(0xa9));this[_0x1014de(0xf9)](_0x346e3d);}}[_0x2f1b3d(0xf9)](_0x4701e9){const _0x38bca8=_0x2f1b3d;if(!this[_0x38bca8(0xc6)][_0x38bca8(0xf1)](_0x4701e9))throw new _0x5d1e6a(_0x38bca8(0xb8),null,{'channelId':_0x4701e9});this[_0x38bca8(0xb5)](_0x4701e9)[_0x38bca8(0xeb)](),this[_0x38bca8(0xc6)][_0x38bca8(0x100)](_0x4701e9);}async[_0x2f1b3d(0xe2)](){const _0x5e0d2b=_0x2f1b3d;for(const _0x5c6019 of this[_0x5e0d2b(0xc6)][_0x5e0d2b(0x10c)]())await this[_0x5e0d2b(0x10b)](_0x5c6019);if(this[_0x5e0d2b(0xe1)]instanceof _0x52d8af){const _0xa6ed07=this[_0x5e0d2b(0xe1)][_0x5e0d2b(0xc2)][_0x5e0d2b(0xb9)](_0x5e0d2b(0xa9)),_0x196134=this[_0x5e0d2b(0xe1)][_0x5e0d2b(0xe4)][_0x5e0d2b(0xb9)](_0x40ced6);_0x196134[_0x5e0d2b(0xbd)](_0xa6ed07);const _0x487886=await this[_0x5e0d2b(0xc6)][_0x5e0d2b(0xb9)](_0xa6ed07)[_0x5e0d2b(0xcf)]();_0x196134[_0x5e0d2b(0xe8)](_0xa6ed07,_0x487886);}}async[_0x2f1b3d(0x10b)](_0xc94569){const _0x52273b=_0x2f1b3d,{connection:_0x5e0ad2}=this[_0x52273b(0xe1)][_0x52273b(0xe4)][_0x52273b(0xb9)](_0x3bc4c6),_0x4b5aca=this[_0x52273b(0xe1)][_0x52273b(0xe4)][_0x52273b(0xb9)](_0x52273b(0xcd)),_0x575a94=this[_0x52273b(0xc6)][_0x52273b(0xb9)](_0xc94569),_0x413c6a=await _0x575a94[_0x52273b(0xbc)](_0x5e0ad2);await this[_0x52273b(0xf0)](_0x413c6a);const _0x509464=new Set(Array[_0x52273b(0xda)](_0x4b5aca[_0x52273b(0xf3)]({'channelId':_0xc94569}),_0x30a8bc=>_0x30a8bc['id']));for(const _0x522b1c of _0x413c6a)_0x522b1c[_0x52273b(0xaf)]||_0x509464[_0x52273b(0x100)](_0x522b1c[_0x52273b(0xca)]);for(const _0x46932a of _0x509464)_0x4b5aca[_0x52273b(0xd6)](_0x46932a)[_0x52273b(0xee)]({'isFromAdapter':!0x0});for(const _0x227818 of _0x413c6a){let _0x2bfc1e=_0x4b5aca[_0x52273b(0xd6)](_0x227818[_0x52273b(0xca)]);const {commentThreadId:_0x18963f,context:_0x618401,attributes:_0x2e0714,resolvedBy:_0x3b239e,resolvedAt:_0x275c15,unlinkedAt:_0x55b2cf,deletedAt:_0x26c7d4}=_0x227818;if(_0x26c7d4)continue;_0x2bfc1e||(_0x2bfc1e=_0x4b5aca[_0x52273b(0xae)]({'channelId':_0xc94569,'threadId':_0x18963f,'context':_0x618401,'attributes':_0x2e0714||{},'resolvedBy':_0x3b239e,'resolvedAt':_0x275c15,'unlinkedAt':_0x55b2cf,'isFromAdapter':!0x0}));const _0x5dfa1a=new Set(Array[_0x52273b(0xda)](_0x2bfc1e[_0x52273b(0x104)],_0x427e22=>_0x427e22['id']));for(const _0x43522e of _0x227818[_0x52273b(0x104)])_0x5dfa1a[_0x52273b(0x100)](_0x43522e[_0x52273b(0xc9)]);for(const _0x29d07e of _0x5dfa1a)_0x2bfc1e[_0x52273b(0x10a)](_0x29d07e)[_0x52273b(0xee)]({'isFromAdapter':!0x0});for(const _0x8b5d9c of _0x227818[_0x52273b(0x104)]){const _0x10d166=_0x2bfc1e[_0x52273b(0x10a)](_0x8b5d9c[_0x52273b(0xc9)]);_0x10d166?_0x10d166[_0x52273b(0xe3)]!==_0x8b5d9c[_0x52273b(0xe3)]&&_0x10d166[_0x52273b(0xe9)]({'content':_0x8b5d9c[_0x52273b(0xe3)],'isFromAdapter':!0x0}):_0x2bfc1e[_0x52273b(0xbf)](Object[_0x52273b(0xa7)](p(_0x8b5d9c),{'isFromAdapter':!0x0}));}}}[_0x2f1b3d(0xb5)](_0x40a49d){const _0x277c0b=_0x2f1b3d;if(!this[_0x277c0b(0xc6)][_0x277c0b(0xf1)](_0x40a49d))throw new _0x5d1e6a(_0x277c0b(0xb7),null,{'channelId':_0x40a49d});return this[_0x277c0b(0xc6)][_0x277c0b(0xb9)](_0x40a49d);}async[_0x2f1b3d(0xf0)](_0x172e79){const _0x581658=_0x2f1b3d,_0x37d820=this[_0x581658(0xe1)][_0x581658(0xe4)][_0x581658(0xb9)](_0x93be5b),{connection:_0x39d43e}=this[_0x581658(0xe1)][_0x581658(0xe4)][_0x581658(0xb9)](_0x3bc4c6),_0x38c74d=new Set();for(const {resolvedBy:_0x32713f,comments:_0x5d4b6e}of _0x172e79){_0x32713f&&!_0x37d820[_0x581658(0xcc)](_0x32713f)&&_0x38c74d[_0x581658(0xc8)](_0x32713f);for(const {userId:_0x25b853}of _0x5d4b6e)_0x37d820[_0x581658(0xcc)](_0x25b853)||_0x38c74d[_0x581658(0xc8)](_0x25b853);}if(0x0===_0x38c74d[_0x581658(0xe5)])return;const _0x3ebfa9=await _0x2ca891[_0x581658(0xff)](_0x39d43e,Array[_0x581658(0xda)](_0x38c74d));for(const _0x5ba410 of _0x3ebfa9)_0x37d820[_0x581658(0xcc)](_0x5ba410['id'])||_0x37d820[_0x581658(0xb2)](_0x5ba410);}}async function f(_0x408dd3){const _0x56268e=_0x2f1b3d;if(_0x56268e(0x10d)!==_0x408dd3[_0x56268e(0x105)])throw _0x408dd3;}function A(_0x42aa65){const _0xaa0c2=_0x2f1b3d;if((_0x3d5b98=_0x42aa65)[_0xaa0c2(0xbb)][_0xaa0c2(0x107)](_0xaa0c2(0xc1))||_0x3d5b98[_0xaa0c2(0xbb)][_0xaa0c2(0x107)](_0xaa0c2(0xd5))||_0x3d5b98[_0xaa0c2(0xbb)][_0xaa0c2(0x107)](_0xaa0c2(0xa8)))return new Promise(()=>{});var _0x3d5b98;throw _0x42aa65;}function p(_0x196dcf){const _0x260ff8=_0x2f1b3d;return{'threadId':_0x196dcf[_0x260ff8(0xca)],'commentId':_0x196dcf[_0x260ff8(0xc9)],'content':_0x196dcf[_0x260ff8(0xe3)],'createdAt':_0x196dcf[_0x260ff8(0xd8)],'authorId':_0x196dcf[_0x260ff8(0xb1)],'attributes':_0x196dcf[_0x260ff8(0xde)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b162c=_0x4750;function _0x4750(_0x537791,_0x30062a){const _0x54eab2=_0x54ea();return _0x4750=function(_0x475058,_0x5bfb40){_0x475058=_0x475058-0xb6;let _0x4bdf5a=_0x54eab2[_0x475058];return _0x4bdf5a;},_0x4750(_0x537791,_0x30062a);}function _0x54ea(){const _0x363fbe=['1350078WBigSW','editor','25FzTLAd','1806440frtfWA','listenTo','isOfficialPlugin','2572970YaegqL','CommentsRepository','ready','2606175huiRXr','collaboration.channelId','_terminateService','Comments','9WplPll','RealTimeCollaborativeComments','16800212uplxqZ','isThreadsLoadingPaused','change:state','config','requires','394294hyeVpa','once','_setUpService','init','destroy','CommentsEditing','35oQoqsQ','connected','pluginName','plugins','switchReadOnly','6sIicgB','get','data','930236rqNOrg','isPremiumPlugin'];_0x54ea=function(){return _0x363fbe;};return _0x54ea();}(function(_0xb9843f,_0x4baa2e){const _0x1265d7=_0x4750,_0x50bc67=_0xb9843f();while(!![]){try{const _0x3f58cb=-parseInt(_0x1265d7(0xcc))/0x1*(-parseInt(_0x1265d7(0xc1))/0x2)+parseInt(_0x1265d7(0xb6))/0x3+parseInt(_0x1265d7(0xcf))/0x4*(parseInt(_0x1265d7(0xd3))/0x5)+parseInt(_0x1265d7(0xd1))/0x6*(-parseInt(_0x1265d7(0xc7))/0x7)+parseInt(_0x1265d7(0xd4))/0x8*(-parseInt(_0x1265d7(0xba))/0x9)+parseInt(_0x1265d7(0xd7))/0xa+-parseInt(_0x1265d7(0xbc))/0xb;if(_0x3f58cb===_0x4baa2e)break;else _0x50bc67['push'](_0x50bc67['shift']());}catch(_0x1d86c3){_0x50bc67['push'](_0x50bc67['shift']());}}}(_0x54ea,0x90e81));import{Plugin as _0x215b8c}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x59766f}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2309b0}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1ffa79}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x215b8c{static get[_0x5b162c(0xc0)](){const _0x92567a=_0x5b162c;return[_0x92567a(0xb9),_0x59766f,_0x2309b0,_0x1ffa79];}static get[_0x5b162c(0xc9)](){const _0xe7432a=_0x5b162c;return _0xe7432a(0xbb);}static get[_0x5b162c(0xd6)](){return!0x0;}static get[_0x5b162c(0xd0)](){return!0x0;}[_0x5b162c(0xc4)](){const _0x2bec73=_0x5b162c,_0x9dc5cf=this[_0x2bec73(0xd2)][_0x2bec73(0xca)][_0x2bec73(0xcd)](_0x1ffa79),_0x43f351=this[_0x2bec73(0xd2)][_0x2bec73(0xca)][_0x2bec73(0xcd)](_0x2bec73(0xc6)),_0x5a5728=this[_0x2bec73(0xd2)][_0x2bec73(0xca)][_0x2bec73(0xcd)](_0x59766f);return this[_0x2bec73(0xd2)][_0x2bec73(0xce)][_0x2bec73(0xc2)](_0x2bec73(0xd9),()=>{const _0x41632e=_0x2bec73;this[_0x41632e(0xd5)](_0x9dc5cf,_0x41632e(0xbe),(_0x541c34,_0x4ca213,_0x28085f)=>{const _0x2de328=_0x41632e;_0x43f351[_0x2de328(0xbd)]=_0x2de328(0xc8)!==_0x28085f;});}),this[_0x2bec73(0xd5)](_0x9dc5cf,_0x2bec73(0xbe),(_0x1cfda8,_0x3136fe,_0x1cacd0)=>{const _0x579050=_0x2bec73;this[_0x579050(0xd2)][_0x579050(0xca)][_0x579050(0xcd)](_0x579050(0xd8))[_0x579050(0xcb)](_0x579050(0xc8)!==_0x1cacd0);}),_0x5a5728[_0x2bec73(0xc3)](this[_0x2bec73(0xd2)][_0x2bec73(0xbf)][_0x2bec73(0xcd)](_0x2bec73(0xb7)));}[_0x5b162c(0xc5)](){const _0x14ae8f=_0x5b162c;this[_0x14ae8f(0xd2)][_0x14ae8f(0xca)][_0x14ae8f(0xcd)](_0x59766f)[_0x14ae8f(0xb8)](this[_0x14ae8f(0xd2)][_0x14ae8f(0xbf)][_0x14ae8f(0xcd)](_0x14ae8f(0xb7))),super[_0x14ae8f(0xc5)]();}}
23
+ function _0x4b46(_0x10cdfd,_0x57cb91){const _0x2f56d9=_0x2f56();return _0x4b46=function(_0x4b4654,_0x491904){_0x4b4654=_0x4b4654-0x127;let _0x57876b=_0x2f56d9[_0x4b4654];return _0x57876b;},_0x4b46(_0x10cdfd,_0x57cb91);}const _0x108b78=_0x4b46;(function(_0x2b2883,_0x2b4d5a){const _0x165ed8=_0x4b46,_0xe8c4=_0x2b2883();while(!![]){try{const _0x1792e6=parseInt(_0x165ed8(0x145))/0x1+parseInt(_0x165ed8(0x128))/0x2*(parseInt(_0x165ed8(0x130))/0x3)+parseInt(_0x165ed8(0x137))/0x4+-parseInt(_0x165ed8(0x13e))/0x5*(parseInt(_0x165ed8(0x148))/0x6)+-parseInt(_0x165ed8(0x139))/0x7*(parseInt(_0x165ed8(0x132))/0x8)+parseInt(_0x165ed8(0x12b))/0x9+parseInt(_0x165ed8(0x13d))/0xa;if(_0x1792e6===_0x2b4d5a)break;else _0xe8c4['push'](_0xe8c4['shift']());}catch(_0x384654){_0xe8c4['push'](_0xe8c4['shift']());}}}(_0x2f56,0x66734));function _0x2f56(){const _0x424424=['listenTo','CommentsEditing','1541576IaQCes','isOfficialPlugin','586901NkzQDB','pluginName','CommentsRepository','isThreadsLoadingPaused','5028430UXirvU','14955mrrXJr','connected','_setUpService','change:state','config','get','collaboration.channelId','156818XdCAEN','data','editor','516pYmoPe','plugins','once','2nMmEII','RealTimeCollaborativeComments','_terminateService','684729ceriXq','requires','Comments','destroy','ready','427881ojaraQ','switchReadOnly','56unAFLg','isPremiumPlugin','init'];_0x2f56=function(){return _0x424424;};return _0x2f56();}import{Plugin as _0x4b3cd8}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x38b542}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x36a680}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4049ee}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4b3cd8{static get[_0x108b78(0x12c)](){const _0xb968a2=_0x108b78;return[_0xb968a2(0x12d),_0x38b542,_0x36a680,_0x4049ee];}static get[_0x108b78(0x13a)](){const _0x2d1f0f=_0x108b78;return _0x2d1f0f(0x129);}static get[_0x108b78(0x138)](){return!0x0;}static get[_0x108b78(0x133)](){return!0x0;}[_0x108b78(0x134)](){const _0x372deb=_0x108b78,_0x565f87=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x4049ee),_0x204030=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x372deb(0x136)),_0x32f1ba=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x38b542);return this[_0x372deb(0x147)][_0x372deb(0x146)][_0x372deb(0x127)](_0x372deb(0x12f),()=>{const _0x6d47be=_0x372deb;this[_0x6d47be(0x135)](_0x565f87,_0x6d47be(0x141),(_0x40b7f5,_0x5a42cf,_0x1ba1b6)=>{const _0x2d9c94=_0x6d47be;_0x204030[_0x2d9c94(0x13c)]=_0x2d9c94(0x13f)!==_0x1ba1b6;});}),this[_0x372deb(0x135)](_0x565f87,_0x372deb(0x141),(_0x226748,_0x41d356,_0x267688)=>{const _0x491128=_0x372deb;this[_0x491128(0x147)][_0x491128(0x149)][_0x491128(0x143)](_0x491128(0x13b))[_0x491128(0x131)](_0x491128(0x13f)!==_0x267688);}),_0x32f1ba[_0x372deb(0x140)](this[_0x372deb(0x147)][_0x372deb(0x142)][_0x372deb(0x143)](_0x372deb(0x144)));}[_0x108b78(0x12e)](){const _0x283de7=_0x108b78;this[_0x283de7(0x147)][_0x283de7(0x149)][_0x283de7(0x143)](_0x38b542)[_0x283de7(0x12a)](this[_0x283de7(0x147)][_0x283de7(0x142)][_0x283de7(0x143)](_0x283de7(0x144))),super[_0x283de7(0x12e)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x141c1f=_0x473d;(function(_0xb92a2c,_0xf425d6){const _0x4c450c=_0x473d,_0x2948bd=_0xb92a2c();while(!![]){try{const _0x34a7f5=-parseInt(_0x4c450c(0x1e3))/0x1+parseInt(_0x4c450c(0x1b1))/0x2*(parseInt(_0x4c450c(0x19e))/0x3)+parseInt(_0x4c450c(0x140))/0x4+parseInt(_0x4c450c(0x10b))/0x5+-parseInt(_0x4c450c(0x1c2))/0x6*(-parseInt(_0x4c450c(0x155))/0x7)+-parseInt(_0x4c450c(0xf3))/0x8+-parseInt(_0x4c450c(0x15e))/0x9;if(_0x34a7f5===_0xf425d6)break;else _0x2948bd['push'](_0x2948bd['shift']());}catch(_0x4fdd26){_0x2948bd['push'](_0x2948bd['shift']());}}}(_0x5964,0x989fa));import{Plugin as _0x10c34c,PendingActions as _0x2d2a98}from'ckeditor5/src/core.js';import{CKEditorError as _0x22a0d9,version as _0x4249e7,uid as _0xf1e7a9}from'ckeditor5/src/utils.js';import{Notification as _0x4cfd6f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x28f197,NoOperation as _0x5c32a7,InsertOperation as _0x347ca1,MarkerOperation as _0x2b0e6e,RootAttributeOperation as _0x30380c,OperationFactory as _0x7e0226,History as _0x348aca}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x525e93}from'./websocketgateway.js';import{Sessions as _0x44a0d6}from'./sessions.js';import{UserMarkers as _0x137e7c}from'./usermarkers.js';import{getTranslation as _0x30d5b9}from'../common-translations.js';function _0x473d(_0x44aef1,_0x11eb9e){const _0x59646d=_0x5964();return _0x473d=function(_0x473dfa,_0x5aa918){_0x473dfa=_0x473dfa-0xea;let _0x405b61=_0x59646d[_0x473dfa];return _0x405b61;},_0x473d(_0x44aef1,_0x11eb9e);}import{Compressor as _0x5a3f98}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1c5424}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2f4b57,CollaborativeEditingService as _0xe2d626}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5964(){const _0x1828b6=['_initThrowingOnDataSet','mySessionId','cloud-services-internal-error:\x20Not\x20connected.','getMany','set','offset','_bufferedOperations','isOfficialPlugin','document:write','Notification','reset','_isAttached','collaboration-missing-channelid','624300OSeohU','rootName','fire','string','targetPosition','addRootAttribute','CollaborativeEditingService','stopListening','catch','_lastServerVersion','slice','_updateServerHistory','multi-root-editor-root-attributes-no-root','sendOperations','sessionCreatedAt','initData','currentDocumentSession','_saveOperationInBuffer','isReadOnly','isEnabled','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.','1582AVURXM','_refreshUserSelectionMarkers','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','off','start','getIdOfTheLastOperation','disableReadOnlyMode','define','realtimecollaborationclient-error','5298525dZMGoq','unregister','differ','_handleSendingSelectionMarkers','_channelId','_authorId','round','_setUpDataInit','_connectAfterSessionHasBeenFlushed','wereChangesApplied','disconnected','_decompressOperations','ready','serverHistory','_document','_isConnected','_compressor','_sendBufferedOperationsDelayId','from','realtimecollaborationclient-init-non-existent-root','404','lastOperationAcceptedAt','register','_handleInitialConnectionData','createUserMarkerOperations','_ignoredOperations','_fetchMissingUsers','_pendingAction','cs:removeUser','startsWith','userId','bind','decompress','state','_isEditingAllowed','entries','listenTo','newRange','_handleExternalOperations','_operationIdentifier','cloudDocumentVersion','plugins','change:_isPendingUpdate','roots','rootsAttributes','filter','addRoot','code','realtimecollaborationclient-init-connection-failed','Permissions','requires','selection','change:_isEditingAllowed','createPositionFromPath','sessionId','remove','_knownRootNames','suppressErrorInCollaboration','wasUndone','connect','directChange','lastOperationId','realtimecollaborationclient-init-service-incorrect-server-operation','Synchronization\x20issue','1800774NqtRMK','409','enableReadOnlyMode','_shouldSendSelectionUpdate','_handleReconnectionResponse','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','push','clone','_applyOperationsSet','$root','_getAffectedRoot','editor','root','removeFromReconnectionStack','addUser','showWarning','isPremiumPlugin','realtimecollaborationclient-handleserverresponse','2tWLZBR','_initSessionsHandling','_clearPendingAction','return','isDocumentOperation','connected','path','addToReconnectionStack','pluginName','_isPendingUpdate','message','_connectService','_bufferRootLoad','map','cloudServices.bundleVersion','rtc-offline','getDocumentDetails','6450BfAKOK','marker','version','reconnection:\x20flushed\x20session','__className','_waitUntilSynced','high','createdAt','data','getOperations','history','add','operationsReceived','_sendBufferedOperations','change:hasDomSelection','setIdForTheLastOperation','_handleReconnectionError','_isInit','_loadRoot','locale','realtimecollaborationclient-init-service-internal-error','_handleServerResponse','markers','compress','apply','_isLoaded','_operationToId','_service','metadata','_isDisconnection','realtimecollaborationclient-init-session-connection-error','_disconnectService','attributes','239800RvxUFx','realtimecollaborationclient-init-document-already-initialized','error','RealTimeCollaborationClient','PENDING_ACTION_SENDING_DATA','insert','_shouldSendUpdate','getRoot','_currentBufferDelay','realtimecollaborationclient-sendbufferedoperations','_addKnownRoot','collaboration','batch','_handleReceivedOperations','_hasSelectionChanged','document','createRoot','_hasSynchronizationProblem','_offset','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','2607664SGwSPd','getUser','_crash','position','CommentsOnly','channelSessions','view','_compressOperations','_baseBufferDelay','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.','affectedSelectable','sessionAdd:','_disconnectionOperations','getOperationAuthor','destroy','addOperation','finally','_knownOperations','end','setPermissions','toJSON','disconnect','isUndoneOperation','type','3901730DJKhyE','affectsData','InsertOperation','stop','connection','init','loadRoot','config','then','size','change:range','move','keys','_sendBufferedOperationsDelayed','forEach','_setPendingAction','rtc-destroyed','getConnectedSessions','model','has','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','parse','permissions','applyOperation','baseVersion','get','_getOperationsFromInitData','lastSyncVersion','includes','createPositionAt','reconnect','length','fromJSON','lastDocumentSession','editing','_lastSyncedOperationId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient','createRange','enqueueChange'];_0x5964=function(){return _0x1828b6;};return _0x5964();}let q=0x1;export class RealTimeCollaborationClient extends _0x10c34c{static [_0x141c1f(0x146)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xe2d626)());[_0x141c1f(0xf0)];[_0x141c1f(0x194)];[_0x141c1f(0x16b)];[_0x141c1f(0x162)];[_0x141c1f(0x1dd)];[_0x141c1f(0x16c)];[_0x141c1f(0x16e)];[_0x141c1f(0x139)];[_0x141c1f(0x104)];[_0x141c1f(0x196)];[_0x141c1f(0x179)];[_0x141c1f(0xec)];[_0x141c1f(0x16f)];[_0x141c1f(0xfb)];[_0x141c1f(0x1eb)];[_0x141c1f(0x12e)];[_0x141c1f(0xff)];[_0x141c1f(0x185)];static get[_0x141c1f(0x190)](){return[_0x525e93,_0x44a0d6,_0x137e7c,_0x2d2a98,_0x1c5424,_0x4cfd6f];}static get[_0x141c1f(0x1b9)](){const _0x5807a6=_0x141c1f;return _0x5807a6(0x1e6);}static get[_0x141c1f(0x13a)](){return!0x0;}static get[_0x141c1f(0x1af)](){return!0x0;}get[_0x141c1f(0x186)](){const _0x538b05=_0x141c1f;return this[_0x538b05(0x149)]+this[_0x538b05(0xf0)];}get[_0x141c1f(0x149)](){const _0x37b4d6=_0x141c1f;return this[_0x37b4d6(0x16b)][_0x37b4d6(0x1c4)]-this[_0x37b4d6(0xf0)];}get[_0x141c1f(0x126)](){const _0x33200c=_0x141c1f,_0x79793d=this[_0x33200c(0x16b)][_0x33200c(0x1cb)]();for(let _0x386295=_0x79793d[_0x33200c(0x12a)]-0x1;_0x386295>=0x0;_0x386295--){const _0x1ac1b=_0x79793d[_0x386295];if(!this[_0x33200c(0xff)][_0x33200c(0x11e)](_0x1ac1b))return _0x1ac1b[_0x33200c(0x123)]+0x1-this[_0x33200c(0xf0)];}return 0x0;}constructor(_0x48f1cc){const _0x172f58=_0x141c1f;if(super(_0x48f1cc),this[_0x172f58(0xf0)]=0x0,this[_0x172f58(0x194)]=null,this[_0x172f58(0x16b)]=new _0x348aca(),this[_0x172f58(0x1aa)][_0x172f58(0x112)][_0x172f58(0x15c)](_0x172f58(0x1ee),{}),this[_0x172f58(0x162)]=this[_0x172f58(0x1aa)][_0x172f58(0x112)][_0x172f58(0x124)](_0x172f58(0x1a3)),!this[_0x172f58(0x162)])throw new _0x22a0d9(_0x172f58(0x13f),this);const _0x467902=_0x48f1cc[_0x172f58(0x112)][_0x172f58(0x124)](_0x172f58(0x1bf))||_0x4249e7;this[_0x172f58(0x1dd)]=new RealTimeCollaborationClient[(_0x172f58(0x146))](_0x467902,this[_0x172f58(0x162)]),this[_0x172f58(0x16c)]=this[_0x172f58(0x1aa)][_0x172f58(0x11d)][_0x172f58(0xed)],this[_0x172f58(0x16e)]=new _0x5a3f98(),this[_0x172f58(0x139)]=[],this[_0x172f58(0x104)]=new WeakSet(),this[_0x172f58(0x196)]=new Set(),this[_0x172f58(0x137)](_0x172f58(0x1ba),!0x1),this[_0x172f58(0x137)](_0x172f58(0xef),!0x1),this[_0x172f58(0x179)]=null,this[_0x172f58(0xec)]=!0x1,this[_0x172f58(0x16f)]=null,this[_0x172f58(0xfb)]=0x12c,this[_0x172f58(0x1eb)]=this[_0x172f58(0xfb)],this[_0x172f58(0x12e)]=null,this[_0x172f58(0xff)]=new WeakSet(),this[_0x172f58(0x185)]=new K(this[_0x172f58(0xff)]);}[_0x141c1f(0x110)](){const _0x15c915=_0x141c1f,_0x184b15=this[_0x15c915(0x1aa)],_0x25e87b=_0x184b15[_0x15c915(0x187)][_0x15c915(0x124)](_0x1c5424),_0x34f6f0=_0x184b15[_0x15c915(0x187)][_0x15c915(0x124)](_0x525e93);this[_0x15c915(0x182)](_0x25e87b,_0x15c915(0x100),(_0x3e6af8,_0x4fbb37)=>{const _0x193e0b=_0x15c915,_0x324809=_0x4fbb37[0x0];_0x324809[_0x193e0b(0x163)]&&(_0x3e6af8[_0x193e0b(0x1b4)]=_0x25e87b[_0x193e0b(0xf4)](_0x324809[_0x193e0b(0x163)]),_0x3e6af8[_0x193e0b(0x10e)]()),null===_0x324809[_0x193e0b(0x163)]&&(_0x3e6af8[_0x193e0b(0x1b4)]=null,_0x3e6af8[_0x193e0b(0x10e)]());},{'priority':_0x15c915(0x1c8)}),this[_0x15c915(0x182)](_0x184b15[_0x15c915(0x11d)][_0x15c915(0xed)][_0x15c915(0x191)],_0x15c915(0x115),(_0x27fd56,_0x42824d)=>{const _0x1b546c=_0x15c915;_0x42824d[_0x1b546c(0x19a)]&&this[_0x1b546c(0x156)]();}),this[_0x15c915(0x182)](_0x184b15[_0x15c915(0x12d)][_0x15c915(0xf9)],_0x15c915(0x1d0),()=>{const _0x354c47=_0x15c915;this[_0x354c47(0x156)]();}),this[_0x15c915(0x133)](),_0x184b15[_0x15c915(0x11d)]['on'](_0x15c915(0x122),(_0x185ebb,_0x4e257a)=>{const _0x148cce=_0x15c915,_0x3cc65a=_0x4e257a[0x0];_0x3cc65a[_0x148cce(0x1b5)]&&(this[_0x148cce(0x151)](_0x3cc65a),this[_0x148cce(0x1e9)]()&&this[_0x148cce(0x118)]());}),this[_0x15c915(0x165)](),this[_0x15c915(0x17d)](_0x15c915(0x180))['to'](_0x34f6f0,_0x15c915(0x17f),this,_0x15c915(0xef),(_0x495012,_0x3169a9)=>_0x15c915(0x1b6)===_0x495012&&!_0x3169a9),this['on'](_0x15c915(0x192),()=>{const _0x16d014=_0x15c915;this[_0x16d014(0x180)]?_0x184b15[_0x16d014(0x15b)](_0x16d014(0x1c0)):_0x184b15[_0x16d014(0x1a0)](_0x16d014(0x1c0));}),this[_0x15c915(0x180)]?_0x184b15[_0x15c915(0x15b)](_0x15c915(0x1c0)):_0x184b15[_0x15c915(0x1a0)](_0x15c915(0x1c0)),this[_0x15c915(0x137)](_0x15c915(0x16d),!0x1);}async[_0x141c1f(0x129)](){const _0x3aa9ba=_0x141c1f,_0x200cc0=this[_0x3aa9ba(0x1aa)][_0x3aa9ba(0x187)][_0x3aa9ba(0x124)](_0x44a0d6),_0x26e63a=this[_0x3aa9ba(0x1aa)][_0x3aa9ba(0x187)][_0x3aa9ba(0x124)](_0x525e93);try{this[_0x3aa9ba(0x1ba)]=!0x0,_0x200cc0[_0x3aa9ba(0x15f)](this[_0x3aa9ba(0x162)]);const _0xd7cef=await this[_0x3aa9ba(0x1dd)][_0x3aa9ba(0x129)](_0x26e63a[_0x3aa9ba(0x10f)],this[_0x3aa9ba(0x126)]);await this[_0x3aa9ba(0x1a2)](_0xd7cef)&&(this[_0x3aa9ba(0x1ba)]=!0x1,this[_0x3aa9ba(0x1b3)]());const _0x651539=await this[_0x3aa9ba(0x1dd)][_0x3aa9ba(0x11c)]();_0x200cc0[_0x3aa9ba(0x174)](this[_0x3aa9ba(0x162)],_0x651539),this[_0x3aa9ba(0x161)](),this[_0x3aa9ba(0x16d)]=!0x0;}catch(_0x1fa678){if(function(_0x3cd624){const _0x2309dd=_0x3aa9ba;return _0x2309dd(0x172)===_0x3cd624[_0x2309dd(0x18d)];}(_0x1fa678)&&this[_0x3aa9ba(0x194)])await this[_0x3aa9ba(0x166)]();else{if(function(_0x2fbb45){const _0x442997=_0x3aa9ba;return _0x442997(0x19f)===_0x2fbb45[_0x442997(0x18d)];}(_0x1fa678)){const _0x40655f=_0x30d5b9(this[_0x3aa9ba(0x1aa)][_0x3aa9ba(0x1d5)],_0x3aa9ba(0x12f));this[_0x3aa9ba(0x1d2)](_0x40655f);}else{if(!(_0x1fa678 instanceof G))throw _0x1fa678;this[_0x3aa9ba(0x1d2)]();}}}}[_0x141c1f(0x101)](){const _0x5b755a=_0x141c1f,_0x5783aa=this[_0x5b755a(0x1aa)][_0x5b755a(0x187)][_0x5b755a(0x124)](_0x525e93),_0x580a9c=this[_0x5b755a(0x1aa)][_0x5b755a(0x187)][_0x5b755a(0x124)](_0x44a0d6);this[_0x5b755a(0x1aa)][_0x5b755a(0x1a0)](_0x5b755a(0x11b)),_0x580a9c[_0x5b755a(0xf8)][_0x5b755a(0x11e)](this[_0x5b755a(0x162)])&&_0x580a9c[_0x5b755a(0x15f)](this[_0x5b755a(0x162)]),_0x5783aa[_0x5b755a(0x1ac)](this),this[_0x5b755a(0x1e1)](),super[_0x5b755a(0x101)]();}async[_0x141c1f(0x1a2)](_0x6f51b){const _0x49a5f3=_0x141c1f;if(this[_0x49a5f3(0x194)]!==_0x6f51b[_0x49a5f3(0x194)]&&this[_0x49a5f3(0x12e)]!==_0x6f51b[_0x49a5f3(0x19b)])throw new G();return this[_0x49a5f3(0x194)]=_0x6f51b[_0x49a5f3(0x194)],this[_0x49a5f3(0x1d7)]([],{..._0x6f51b,'wereChangesApplied':!0x1,'data':_0x6f51b[_0x49a5f3(0x1ca)]},_0x49a5f3(0x129));}async[_0x141c1f(0x1bc)](_0x4676e1,_0xd09b62=!0x1){const _0x3ec08d=_0x141c1f,{connection:_0x4bde50}=this[_0x3ec08d(0x1aa)][_0x3ec08d(0x187)][_0x3ec08d(0x124)](_0x525e93);RealTimeCollaborationClient[_0x3ec08d(0x146)][_0x3ec08d(0x11c)](_0x4bde50,this[_0x3ec08d(0x162)])[_0x3ec08d(0x113)](_0x231bfa=>this[_0x3ec08d(0x1b2)](_0x231bfa))[_0x3ec08d(0x148)](_0x5b9a73=>{const _0x532a3e=_0x3ec08d;this[_0x532a3e(0xf5)](_0x532a3e(0x1e0),_0x5b9a73);}),this[_0x3ec08d(0x182)](this[_0x3ec08d(0x1dd)],_0x3ec08d(0x1ce),this[_0x3ec08d(0xeb)][_0x3ec08d(0x17d)](this)),this[_0x3ec08d(0x182)](this[_0x3ec08d(0x1dd)],_0x3ec08d(0x1e5),(_0xfa4e97,_0x11fbba)=>{const _0x2b4486=_0x3ec08d;this[_0x2b4486(0xf5)](_0x2b4486(0x1d6),_0x11fbba);}),this[_0x3ec08d(0x182)](this[_0x3ec08d(0x1dd)],_0x3ec08d(0x168),()=>{const _0x1a62ea=_0x3ec08d;this[_0x1a62ea(0x16d)]=!0x1;});const _0xdbb6e3=this[_0x3ec08d(0x185)][_0x3ec08d(0x15a)](_0x4676e1);this[_0x3ec08d(0x1ba)]=!0x0;const _0x28a75d=await this[_0x3ec08d(0x1dd)][_0x3ec08d(0x199)](_0x4bde50,this[_0x3ec08d(0xfa)](_0x4676e1),_0xdbb6e3);if(this[_0x3ec08d(0x194)]=_0x28a75d[_0x3ec08d(0x194)],_0xd09b62){if(!_0x28a75d[_0x3ec08d(0x167)])return void this[_0x3ec08d(0x1d2)]();this[_0x3ec08d(0x1ba)]=!0x1,this[_0x3ec08d(0x1b3)](),this[_0x3ec08d(0x16b)][_0x3ec08d(0x13d)](),this[_0x3ec08d(0xf0)]=_0x28a75d[_0x3ec08d(0x138)],this[_0x3ec08d(0x16b)][_0x3ec08d(0x1c4)]=this[_0x3ec08d(0xf0)],await this[_0x3ec08d(0x1d7)](_0x4676e1,_0x28a75d,_0x3ec08d(0x1c5));}else await this[_0x3ec08d(0x175)](_0x28a75d,_0x4676e1);this[_0x3ec08d(0x161)](),this[_0x3ec08d(0x16d)]=!0x0;}[_0x141c1f(0x161)](){const _0x5400aa=_0x141c1f,_0xb221ec=this[_0x5400aa(0x1aa)][_0x5400aa(0x187)][_0x5400aa(0x124)](_0x44a0d6),_0x35549b=this[_0x5400aa(0x1aa)][_0x5400aa(0x187)][_0x5400aa(0x124)](_0x137e7c),_0x53f14e=_0xb221ec[_0x5400aa(0xf8)][_0x5400aa(0x124)](this[_0x5400aa(0x162)]);_0x53f14e&&_0x53f14e[_0x5400aa(0x12a)]>0x1?_0x35549b[_0x5400aa(0x176)]():this[_0x5400aa(0x182)](_0xb221ec,_0x5400aa(0xfe)+this[_0x5400aa(0x162)],()=>{const _0x154cc0=_0x5400aa;0x2===_0xb221ec[_0x154cc0(0xf8)][_0x154cc0(0x124)](this[_0x154cc0(0x162)])[_0x154cc0(0x12a)]&&_0x35549b[_0x154cc0(0x176)]();});}async[_0x141c1f(0xeb)](_0xbcbc93,_0x4e9369,_0x8b9c82,_0x12e285){const _0x4d2517=_0x141c1f;if(!this[_0x4d2517(0x1ba)]&&this[_0x4d2517(0x16c)][_0x4d2517(0x1c4)]==_0x4e9369){const _0x136a06=this[_0x4d2517(0x169)](_0x8b9c82,_0x12e285);await this[_0x4d2517(0x178)](_0x136a06),this[_0x4d2517(0x184)](_0x136a06,_0x4e9369,_0x8b9c82[_0x4d2517(0x19b)])||this[_0x4d2517(0xf5)](_0x4d2517(0x19c));}}async[_0x141c1f(0x166)](){const _0x53b171=_0x141c1f;this[_0x53b171(0x1e1)]();const {locale:_0x14a224}=this[_0x53b171(0x1aa)];let _0x423b30;try{_0x423b30=await this[_0x53b171(0x1dd)][_0x53b171(0x1c1)]();}catch{const _0x5d9362=_0x30d5b9(_0x14a224,_0x53b171(0xf1));return void this[_0x53b171(0x1d2)](_0x5d9362);}const _0x11833a=_0x423b30[_0x53b171(0x150)]||_0x423b30[_0x53b171(0x12c)];if(this[_0x53b171(0x12e)]!==_0x11833a[_0x53b171(0x19b)]){const _0x2fafbe=_0x30d5b9(_0x14a224,_0x53b171(0x154));return void this[_0x53b171(0x1d2)](_0x2fafbe);}await this[_0x53b171(0x1bc)](this[_0x53b171(0x1aa)][_0x53b171(0x11d)][_0x53b171(0xed)][_0x53b171(0x1cc)][_0x53b171(0x1cb)](),!0x0);}[_0x141c1f(0x1e1)](){const _0x25da81=_0x141c1f;this[_0x25da81(0x1dd)][_0x25da81(0x108)](),this[_0x25da81(0x139)]=[],clearTimeout(this[_0x25da81(0x16f)]),this[_0x25da81(0x147)](this[_0x25da81(0x1dd)]);}[_0x141c1f(0x1b2)](_0x4a6628){const _0x132a0e=_0x141c1f,_0x1b9a65=this[_0x132a0e(0x1aa)][_0x132a0e(0x187)][_0x132a0e(0x124)](_0x44a0d6);this[_0x132a0e(0x182)](_0x1b9a65,_0x132a0e(0xfe)+this[_0x132a0e(0x162)],(_0x5084d4,{session:_0x23facc})=>{const _0x10da6e=_0x132a0e;if(_0x23facc['id']===_0x1b9a65[_0x10da6e(0x134)]){_0x5084d4[_0x10da6e(0x158)]();const _0x5e530e=this[_0x10da6e(0x1aa)][_0x10da6e(0x187)][_0x10da6e(0x11e)](_0x10da6e(0xf7))&&this[_0x10da6e(0x1aa)][_0x10da6e(0x187)][_0x10da6e(0x124)](_0x10da6e(0xf7));let _0x14854f=_0x23facc[_0x10da6e(0x121)];_0x5e530e&&_0x5e530e[_0x10da6e(0x153)]&&(_0x14854f=_0x14854f[_0x10da6e(0x18b)](_0x3b3ba7=>_0x10da6e(0x13b)!==_0x3b3ba7)),this[_0x10da6e(0x1aa)][_0x10da6e(0x187)][_0x10da6e(0x124)](_0x10da6e(0x18f))[_0x10da6e(0x106)](_0x14854f,this[_0x10da6e(0x162)]);}}),_0x1b9a65[_0x132a0e(0x174)](this[_0x132a0e(0x162)],_0x4a6628);}[_0x141c1f(0x133)](){const _0x2eb9bc=_0x141c1f,_0x28bce7=this[_0x2eb9bc(0x1aa)][_0x2eb9bc(0x1ca)][_0x2eb9bc(0x137)];this[_0x2eb9bc(0x1aa)][_0x2eb9bc(0x1ca)][_0x2eb9bc(0x137)]=(..._0x37b216)=>{const _0x41b339=_0x2eb9bc;if(!_0x37b216[_0x37b216[_0x41b339(0x12a)]-0x1][_0x41b339(0x197)])throw new _0x22a0d9(_0x41b339(0x157),this);_0x28bce7[_0x41b339(0x1da)](this[_0x41b339(0x1aa)][_0x41b339(0x1ca)],_0x37b216);};}[_0x141c1f(0x165)](){const _0x43f87d=_0x141c1f;this[_0x43f87d(0x1aa)][_0x43f87d(0x1ca)]['on'](_0x43f87d(0x110),(_0x38479a,[_0x1238f4])=>{const _0xde27af=_0x43f87d;if(this[_0xde27af(0x16c)][_0xde27af(0x1c4)])throw new _0x22a0d9(_0xde27af(0x1e4),this);_0x38479a[_0xde27af(0x10e)](),this[_0xde27af(0x11a)]();const _0x2fde91=this[_0xde27af(0x1aa)][_0xde27af(0x112)][_0xde27af(0x124)](_0xde27af(0x18a)),_0x5b6e55=this[_0xde27af(0x125)](_0x1238f4,_0x2fde91);0x0==_0x5b6e55[_0xde27af(0x12a)]&&_0x5b6e55[_0xde27af(0x1a5)](new _0x5c32a7(0x0)),_0x38479a[_0xde27af(0x1b4)]=this[_0xde27af(0x1bc)](_0x5b6e55)[_0xde27af(0x113)](()=>{const _0x5d5023=_0xde27af;this[_0x5d5023(0x1aa)][_0x5d5023(0x187)][_0x5d5023(0x124)](_0x525e93)[_0x5d5023(0x1b8)](this),this[_0x5d5023(0x1aa)][_0x5d5023(0x1ca)][_0x5d5023(0x142)](_0x5d5023(0x16a));})[_0xde27af(0x148)](_0x4edf02=>this[_0xde27af(0xf5)](_0xde27af(0x18e),_0x4edf02))[_0xde27af(0x103)](()=>this[_0xde27af(0x1b3)]());},{'priority':_0x43f87d(0x1c8)}),this[_0x43f87d(0x1aa)]['on'](_0x43f87d(0x111),async(_0x325a81,[_0x747ad0,_0x13b1a3])=>{const _0xce2862=_0x43f87d;_0x325a81[_0xce2862(0x10e)]();const _0x446e25=this[_0xce2862(0x1aa)][_0xce2862(0x11d)][_0xce2862(0xed)][_0xce2862(0x1ea)](_0x747ad0);if(!this[_0xce2862(0x196)][_0xce2862(0x11e)](_0x747ad0)){const _0x39a4e6=_0x13b1a3&&_0x13b1a3[_0xce2862(0x1ca)]?_0x13b1a3[_0xce2862(0x1ca)]:'',_0x2bd3e4=_0x13b1a3&&_0x13b1a3[_0xce2862(0x1e2)]?_0x13b1a3[_0xce2862(0x1e2)]:{};await this[_0xce2862(0x1d4)](_0x747ad0,_0x39a4e6,_0x2bd3e4);}this[_0xce2862(0x1aa)][_0xce2862(0x11d)][_0xce2862(0x132)]({'isUndoable':!0x1},()=>{const _0x4346fe=_0xce2862;_0x446e25[_0x4346fe(0x1db)]=!0x0,this[_0x4346fe(0x1aa)][_0x4346fe(0x11d)][_0x4346fe(0xed)][_0x4346fe(0x160)][_0x4346fe(0x1bd)](_0x446e25);});},{'priority':_0x43f87d(0x1c8)});}async[_0x141c1f(0x178)](_0x526541){const _0x432d19=_0x141c1f,_0x56a6f0=this[_0x432d19(0x1aa)][_0x432d19(0x187)][_0x432d19(0x124)](_0x1c5424),{connection:_0x5572e9}=this[_0x432d19(0x1aa)][_0x432d19(0x187)][_0x432d19(0x124)](_0x525e93),_0x5640b6=new Set();for(const _0x58b3f8 of _0x526541){const _0x5ce022=_0x58b3f8[_0x432d19(0x163)];_0x5ce022&&!_0x56a6f0[_0x432d19(0xf4)](_0x5ce022)&&_0x5640b6[_0x432d19(0x1cd)](_0x5ce022);}if(0x0===_0x5640b6[_0x432d19(0x114)])return;const _0x1a84fc=await _0x2f4b57[_0x432d19(0x136)](_0x5572e9,Array[_0x432d19(0x170)](_0x5640b6));for(const _0x3af7da of _0x1a84fc)_0x56a6f0[_0x432d19(0xf4)](_0x3af7da['id'])||_0x56a6f0[_0x432d19(0x1ad)](_0x3af7da);}[_0x141c1f(0x125)](_0x113a73,_0x8dc441={}){const _0x141609=_0x141c1f,_0x3986ec=this[_0x141609(0x1aa)][_0x141609(0x11d)],_0x347048=[];let _0xc30328=0x0;const _0xfca536=_0x141609(0x143)==typeof _0x113a73?{'main':_0x113a73}:_0x113a73;for(const _0x4ebdc7 of Object[_0x141609(0x117)](_0xfca536)){if(!this[_0x141609(0x16c)][_0x141609(0x189)][_0x141609(0x11e)](_0x4ebdc7))throw new _0x22a0d9(_0x141609(0x171),this);const _0x13e344=this[_0x141609(0x1aa)][_0x141609(0x1ca)][_0x141609(0x120)](_0xfca536[_0x4ebdc7]),_0x11272b=this[_0x141609(0x16c)][_0x141609(0x1ea)](_0x4ebdc7),_0x469a10=new _0x347ca1(_0x3986ec[_0x141609(0x128)](_0x11272b,0x0),_0x13e344,_0xc30328++);_0x347048[_0x141609(0x1a5)](_0x469a10);for(const [_0x5ea9e5,_0x2157fc]of _0x13e344[_0x141609(0x1d8)]){const _0x9e9e3d=_0x3986ec[_0x141609(0x131)](_0x3986ec[_0x141609(0x193)](_0x11272b,_0x2157fc[_0x141609(0x159)][_0x141609(0x1b7)][_0x141609(0x14a)]()),_0x3986ec[_0x141609(0x193)](_0x11272b,_0x2157fc[_0x141609(0x105)][_0x141609(0x1b7)][_0x141609(0x14a)]())),_0x153c25=new _0x2b0e6e(_0x5ea9e5,null,_0x9e9e3d,_0x3986ec[_0x141609(0x1d8)],!0x0,_0xc30328++);_0x347048[_0x141609(0x1a5)](_0x153c25);}}if(_0x8dc441)for(const [_0x38d538,_0x3b02cc]of Object[_0x141609(0x181)](_0x8dc441)){const _0x116206=_0x3986ec[_0x141609(0xed)][_0x141609(0x1ea)](_0x38d538);if(!_0x116206)throw new _0x22a0d9(_0x141609(0x14c),null);for(const [_0x56ddcf,_0x20235d]of Object[_0x141609(0x181)](_0x3b02cc))if(null!==_0x20235d){const _0x389e58=new _0x30380c(_0x116206,_0x56ddcf,null,_0x20235d,_0xc30328++);_0x347048[_0x141609(0x1a5)](_0x389e58);}}return _0x347048;}async[_0x141c1f(0x1d4)](_0x11eb21,_0x237fc6,_0x1c28b){const _0x39ab70=_0x141c1f;this[_0x39ab70(0x125)]({[_0x11eb21]:_0x237fc6},{[_0x11eb21]:_0x1c28b})[_0x39ab70(0x119)]((_0x594e78,_0x12a5cc)=>{const _0xcbaa50=_0x39ab70;_0x594e78[_0xcbaa50(0x123)]=this[_0xcbaa50(0x16c)][_0xcbaa50(0x1c4)]+_0x12a5cc,_0x594e78[_0xcbaa50(0x1d3)]=!0x0,this[_0xcbaa50(0x151)](_0x594e78);}),this[_0x39ab70(0x118)](),await this[_0x39ab70(0x1c7)]();}async[_0x141c1f(0x175)](_0x7bf992,_0xda483a){const _0xfe263=_0x141c1f;let _0x9537db;this[_0xfe263(0xf0)]=_0x7bf992[_0xfe263(0x138)];const _0x5e9e33=_0x7bf992[_0xfe263(0x167)]&&!_0x7bf992[_0xfe263(0x14f)],_0x1658cf=_0x5e9e33?0x0:_0x7bf992[_0xfe263(0x1ca)][_0xfe263(0x123)];if(_0xda483a[_0xfe263(0x119)](_0x87192=>{const _0x192387=_0xfe263;_0x87192[_0x192387(0x1d3)]=!0x0,_0x87192[_0x192387(0x1c9)]=_0x7bf992[_0x192387(0x14e)],_0x87192[_0x192387(0x163)]=null;}),_0x5e9e33)_0x9537db=_0xda483a,this[_0xfe263(0x1a7)](_0x9537db,_0x5e9e33);else{if(_0x7bf992[_0xfe263(0x14f)]){const _0x282a7b=this[_0xfe263(0x125)](_0x7bf992[_0xfe263(0x14f)]);this[_0xfe263(0x16c)][_0xfe263(0x1cc)][_0xfe263(0x1c4)]=-_0x282a7b[_0xfe263(0x12a)],_0x282a7b[_0xfe263(0x119)](_0x395f9d=>{const _0x3cf537=_0xfe263;_0x395f9d[_0x3cf537(0x123)]-=_0x282a7b[_0x3cf537(0x12a)],_0x395f9d[_0x3cf537(0x1c9)]=_0x7bf992[_0x3cf537(0x14e)],_0x395f9d[_0x3cf537(0x1d3)]=!0x0,_0x395f9d[_0x3cf537(0x163)]=null;}),this[_0xfe263(0x1a7)](_0x282a7b,!0x0),this[_0xfe263(0x16b)][_0xfe263(0x1c4)]=-_0x282a7b[_0xfe263(0x12a)]+this[_0xfe263(0xf0)],this[_0xfe263(0x14b)](_0x282a7b);}this[_0xfe263(0x16c)][_0xfe263(0x1cc)][_0xfe263(0x1c4)]=_0x1658cf,_0x9537db=this[_0xfe263(0x169)](_0x7bf992[_0xfe263(0x1ca)],_0x7bf992[_0xfe263(0x1de)]),await this[_0xfe263(0x178)](_0x9537db),this[_0xfe263(0x1a7)](_0x9537db,_0x5e9e33);}_0x7bf992[_0xfe263(0x19b)]&&(this[_0xfe263(0x185)][_0xfe263(0x1d1)](_0x9537db,_0x7bf992[_0xfe263(0x19b)]),this[_0xfe263(0x12e)]=_0x7bf992[_0xfe263(0x19b)]),this[_0xfe263(0x16b)][_0xfe263(0x1c4)]=_0x1658cf+this[_0xfe263(0xf0)],this[_0xfe263(0x14b)](_0x9537db),_0xda483a[_0xfe263(0x18b)](_0x2a73bd=>{const _0x21ce3b=_0xfe263,_0x6d5a3a=this[_0x21ce3b(0x1a9)](_0x2a73bd);return _0x6d5a3a&&!this[_0x21ce3b(0x196)][_0x21ce3b(0x11e)](_0x6d5a3a);})[_0xfe263(0x119)]((_0x52344f,_0x5d094f)=>{const _0x5691a4=_0xfe263;_0x52344f[_0x5691a4(0x123)]=this[_0x5691a4(0x16c)][_0x5691a4(0x1c4)]+_0x5d094f,this[_0x5691a4(0x151)](_0x52344f);}),this[_0xfe263(0x1e9)]()?(this[_0xfe263(0x1eb)]=0x0,this[_0xfe263(0x118)](!0x0),await this[_0xfe263(0x1c7)]()):(this[_0xfe263(0x1ba)]=!0x1,this[_0xfe263(0x1b3)]());}[_0x141c1f(0xf5)](_0x12e22d,_0x20b370){const _0x1b369d=_0x141c1f,_0x1a8d09=_0x20b370&&_0x20b370[_0x1b369d(0x1bb)];if(_0x1a8d09&&_0x1a8d09[_0x1b369d(0x17b)](_0x1b369d(0x130)))throw _0x20b370;const _0xce2cfc=this[_0x1b369d(0x1aa)][_0x1b369d(0x187)][_0x1b369d(0x124)](_0x525e93);throw this[_0x1b369d(0x1ba)]=!0x0,_0xce2cfc[_0x1b369d(0x108)](),this[_0x1b369d(0x1aa)][_0x1b369d(0x1a0)](_0x1b369d(0x15d)),new _0x22a0d9(_0x12e22d,this[_0x1b369d(0x1aa)],_0x1a8d09?{'originalError':_0x1a8d09}:void 0x0);}[_0x141c1f(0x151)](_0x408a11){const _0x484146=_0x141c1f;this[_0x484146(0x104)][_0x484146(0x11e)](_0x408a11)||(this[_0x484146(0x104)][_0x484146(0x1cd)](_0x408a11),this[_0x484146(0x139)][_0x484146(0x1a5)](_0x408a11),this[_0x484146(0x179)]||_0x484146(0x1c3)==_0x408a11[_0x484146(0x10a)]&&!_0x408a11[_0x484146(0x10c)]||this[_0x484146(0x11a)]());}[_0x141c1f(0x118)](_0x50eecc=!0x1){const _0x5b9167=_0x141c1f;!_0x50eecc&&this[_0x5b9167(0x1ba)]||(this[_0x5b9167(0x1ba)]=!0x0,clearTimeout(this[_0x5b9167(0x16f)]),this[_0x5b9167(0x16f)]=setTimeout(()=>{const _0x52f09a=_0x5b9167;this[_0x52f09a(0x1cf)]()[_0x52f09a(0x113)](_0x1d1ef1=>{const _0x4ad008=_0x52f09a;_0x1d1ef1&&(this[_0x4ad008(0x1b3)](),this[_0x4ad008(0x1ba)]=!0x1);})[_0x52f09a(0x148)](_0xe9b590=>{const _0x55f221=_0x52f09a;this[_0x55f221(0x1b3)](),this[_0x55f221(0x1ba)]=!0x1,function(_0x2c3b6e){const _0x4c74ac=_0x55f221;return _0x2c3b6e[_0x4c74ac(0x1bb)][_0x4c74ac(0x17b)](_0x4c74ac(0x135))||_0x2c3b6e[_0x4c74ac(0x1bb)][_0x4c74ac(0x17b)](_0x4c74ac(0x11f))||_0x2c3b6e[_0x4c74ac(0x1bb)][_0x4c74ac(0x17b)](_0x4c74ac(0x1a4));}(_0xe9b590)||this[_0x55f221(0xf5)](_0xe9b590[_0x55f221(0x1bb)],_0xe9b590);});},this[_0x5b9167(0x1eb)]));}[_0x141c1f(0x1c7)](){return new Promise(_0x1a963c=>{const _0x5be0cc=_0x473d;this['on'](_0x5be0cc(0x188),()=>{_0x1a963c();});});}async[_0x141c1f(0x1cf)](){const _0x468d45=_0x141c1f,_0x1ff24d=this[_0x468d45(0x1aa)][_0x468d45(0x187)][_0x468d45(0x124)](_0x137e7c);if(this[_0x468d45(0x1a1)]()&&(_0x1ff24d[_0x468d45(0x176)](),this[_0x468d45(0xec)]=!0x1),!this[_0x468d45(0x1e9)]())return!0x0;const _0x53ef57=[...this[_0x468d45(0x139)]];for(const _0x12e197 of _0x53ef57)_0x12e197[_0x468d45(0x198)]=this[_0x468d45(0x16c)][_0x468d45(0x1cc)][_0x468d45(0x109)](_0x12e197);const _0x5287b9=this[_0x468d45(0x185)][_0x468d45(0x15a)](_0x53ef57),_0x52befc=q++,_0x1c0b3f=this[_0x468d45(0xfa)](_0x53ef57),_0x287dd8=await this[_0x468d45(0x1dd)][_0x468d45(0x14d)](_0x1c0b3f,_0x1c0b3f[_0x468d45(0x123)],_0x5287b9);try{return await this[_0x468d45(0x1d7)](_0x53ef57,_0x287dd8,_0x52befc);}catch(_0x291bd1){return this[_0x468d45(0xf5)](_0x468d45(0x1ec),_0x291bd1);}}async[_0x141c1f(0x1d7)](_0x584d7b,_0x56ca2c,_0x415f65){const _0x6ed504=_0x141c1f;if(_0x6ed504(0x1e5)in _0x56ca2c)throw _0x56ca2c[_0x6ed504(0x1e5)];let _0x86ccda=!0x1;if(_0x56ca2c[_0x6ed504(0x167)]){_0x56ca2c[_0x6ed504(0x19b)]&&(this[_0x6ed504(0x12e)]=_0x56ca2c[_0x6ed504(0x19b)]),this[_0x6ed504(0x139)]=this[_0x6ed504(0x139)][_0x6ed504(0x18b)](_0x2e5400=>!_0x584d7b[_0x6ed504(0x127)](_0x2e5400));for(const _0x5d8804 of _0x584d7b)_0x5d8804[_0x6ed504(0x1c9)]=_0x6ed504(0x173)in _0x56ca2c&&_0x56ca2c[_0x6ed504(0x173)]||void 0x0;$(_0x584d7b,_0x56ca2c[_0x6ed504(0x1c4)]-_0x584d7b[_0x6ed504(0x12a)]),this[_0x6ed504(0x14b)](_0x584d7b);const _0x4b7487=_0x584d7b[_0x6ed504(0x18b)](_0x2e59e2=>{const _0x4650d5=_0x6ed504;if(!_0x2e59e2[_0x4650d5(0x1d3)])return!0x1;const _0x40eeff=this[_0x4650d5(0x1a9)](_0x2e59e2);return _0x40eeff&&!this[_0x4650d5(0x196)][_0x4650d5(0x11e)](_0x40eeff);});$(_0x4b7487,this[_0x6ed504(0x16c)][_0x6ed504(0x1c4)]),this[_0x6ed504(0x1a7)](_0x4b7487),_0x86ccda=!0x0,this[_0x6ed504(0x1eb)]=this[_0x6ed504(0xfb)];}else{const _0x86b854=this[_0x6ed504(0x169)](_0x56ca2c[_0x6ed504(0x1ca)],_0x56ca2c[_0x6ed504(0x1de)])[_0x6ed504(0x18b)](_0x404583=>_0x404583[_0x6ed504(0x123)]>=this[_0x6ed504(0x149)]);_0x86b854[_0x6ed504(0x119)](_0x1e1e87=>this[_0x6ed504(0x1ed)](_0x1e1e87)),this[_0x6ed504(0x139)]=this[_0x6ed504(0x139)][_0x6ed504(0x18b)](_0x2976be=>!_0x2976be[_0x6ed504(0x1d3)]||!this[_0x6ed504(0x196)][_0x6ed504(0x11e)](this[_0x6ed504(0x1a9)](_0x2976be))),this[_0x6ed504(0x139)][_0x6ed504(0x12a)]&&$(this[_0x6ed504(0x139)],this[_0x6ed504(0x139)][0x0][_0x6ed504(0x123)]),await this[_0x6ed504(0x178)](_0x86b854),_0x86ccda=this[_0x6ed504(0x184)](_0x86b854,_0x56ca2c[_0x6ed504(0x1c4)],_0x56ca2c[_0x6ed504(0x19b)]),this[_0x6ed504(0x1eb)]=Math[_0x6ed504(0x164)](this[_0x6ed504(0x1eb)]/0x2);}return _0x86ccda?!this[_0x6ed504(0x1e9)]()||(this[_0x6ed504(0x118)](!0x0),!0x1):this[_0x6ed504(0xf5)](_0x6ed504(0x1b0));}[_0x141c1f(0x184)](_0xbe2aa2,_0x53cd08,_0x24632f){const _0x1b63d6=_0x141c1f;try{const _0x4556ba={'document':this[_0x1b63d6(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3f930d,operationsB:_0x37b08e,originalOperations:_0x5c8355}=_0x28f197(_0xbe2aa2,this[_0x1b63d6(0x139)],_0x4556ba);$(_0x3f930d,this[_0x1b63d6(0x16c)][_0x1b63d6(0x1c4)]),$(_0x37b08e,_0x53cd08);for(const _0x2cbe73 of _0x3f930d){const _0x231089=_0x5c8355[_0x1b63d6(0x124)](_0x2cbe73);_0x2cbe73[_0x1b63d6(0x163)]=_0x231089?_0x231089[_0x1b63d6(0x163)]:null;}_0x24632f&&(this[_0x1b63d6(0x185)][_0x1b63d6(0x1d1)](_0xbe2aa2,_0x24632f),this[_0x1b63d6(0x12e)]=_0x24632f),this[_0x1b63d6(0x139)]=[..._0x37b08e],this[_0x1b63d6(0x1a7)](_0x3f930d),this[_0x1b63d6(0x14b)](_0xbe2aa2);}catch(_0x568f20){return console[_0x1b63d6(0x1e5)](_0x568f20),!0x1;}return!0x0;}[_0x141c1f(0x1a7)](_0x567724,_0x4832be=!0x1){const _0x1e072a=_0x141c1f;this[_0x1e072a(0x1aa)][_0x1e072a(0x11d)][_0x1e072a(0x132)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3ad2a4=>{const _0x1f014c=_0x1e072a;for(const _0x22b1c8 of _0x567724)this[_0x1f014c(0x104)][_0x1f014c(0x1cd)](_0x22b1c8),this[_0x1f014c(0x1ed)](_0x22b1c8),_0x3ad2a4[_0x1f014c(0xea)][_0x1f014c(0x102)](_0x22b1c8),this[_0x1f014c(0x1aa)][_0x1f014c(0x11d)][_0x1f014c(0x122)](_0x22b1c8);});}[_0x141c1f(0x1ed)](_0x1c0663){const _0x5bd339=_0x141c1f,_0x243ec9=this[_0x5bd339(0x1a9)](_0x1c0663);_0x243ec9&&this[_0x5bd339(0x196)][_0x5bd339(0x1cd)](_0x243ec9);}[_0x141c1f(0x1a9)](_0x478296){const _0x1da920=_0x141c1f;let _0xc31ff2,_0x194e85;switch(_0x478296[_0x1da920(0x10a)]){case _0x1da920(0x1e8):_0xc31ff2=_0x478296[_0x1da920(0xf6)][_0x1da920(0x1ab)];break;case _0x1da920(0x1c3):if(_0x194e85=_0x478296[_0x1da920(0x183)],!_0x194e85)return null;_0xc31ff2=_0x194e85[_0x1da920(0x1ab)];break;case _0x1da920(0x145):_0xc31ff2=_0x478296[_0x1da920(0x1ab)];break;case _0x1da920(0x18c):_0xc31ff2=_0x478296[_0x1da920(0xfd)];break;case _0x1da920(0x116):_0xc31ff2=_0x478296[_0x1da920(0x144)][_0x1da920(0x1ab)];break;default:return null;}return _0xc31ff2[_0x1da920(0x141)];}[_0x141c1f(0x14b)](_0x28171e){const _0x143ef8=_0x141c1f;_0x28171e[_0x143ef8(0x119)](_0x482ef6=>{const _0x3c424c=_0x143ef8,_0xe5627=_0x482ef6[_0x3c424c(0x1a6)]();_0xe5627[_0x3c424c(0x163)]=_0x482ef6[_0x3c424c(0x163)],_0xe5627[_0x3c424c(0x1d3)]=!!_0x482ef6[_0x3c424c(0x1d3)],_0xe5627[_0x3c424c(0x1c9)]=_0x482ef6[_0x3c424c(0x1c9)],_0xe5627[_0x3c424c(0x123)]+=this[_0x3c424c(0xf0)],_0x482ef6[_0x3c424c(0x1df)]&&this[_0x3c424c(0xff)][_0x3c424c(0x1cd)](_0xe5627),this[_0x3c424c(0x16b)][_0x3c424c(0x102)](_0xe5627);});}[_0x141c1f(0x1d2)](_0x195043){const _0x586ba0=_0x141c1f,_0x34e458=this[_0x586ba0(0x1aa)][_0x586ba0(0x187)][_0x586ba0(0x124)](_0x586ba0(0x13c)),_0x2aec93=this[_0x586ba0(0x1aa)][_0x586ba0(0x1d5)];_0x195043||(_0x195043=_0x30d5b9(_0x2aec93,_0x586ba0(0xfc))),_0x34e458[_0x586ba0(0x1ae)](_0x195043,{'title':_0x30d5b9(_0x2aec93,_0x586ba0(0x19d)),'namespace':_0x586ba0(0xf2)}),this[_0x586ba0(0xef)]=!0x0,clearTimeout(this[_0x586ba0(0x16f)]),this[_0x586ba0(0x139)]=[],this[_0x586ba0(0x1aa)][_0x586ba0(0x187)][_0x586ba0(0x124)](_0x525e93)[_0x586ba0(0x108)]();}[_0x141c1f(0x11a)](){const _0x28b20e=_0x141c1f;this[_0x28b20e(0x179)]||(this[_0x28b20e(0x179)]=this[_0x28b20e(0x1aa)][_0x28b20e(0x187)][_0x28b20e(0x124)](_0x2d2a98)[_0x28b20e(0x1cd)](_0x30d5b9(this[_0x28b20e(0x1aa)][_0x28b20e(0x1d5)],_0x28b20e(0x1e7))));}[_0x141c1f(0x1b3)](){const _0x4377d1=_0x141c1f;this[_0x4377d1(0x179)]&&(this[_0x4377d1(0x1aa)][_0x4377d1(0x187)][_0x4377d1(0x124)](_0x2d2a98)[_0x4377d1(0x195)](this[_0x4377d1(0x179)]),this[_0x4377d1(0x179)]=null);}[_0x141c1f(0xfa)](_0x42d2ae){const _0x5f39af=_0x141c1f,_0x4e317b=_0x42d2ae[_0x5f39af(0x1be)](_0x235a7f=>_0x235a7f[_0x5f39af(0x107)]());return this[_0x5f39af(0x16e)][_0x5f39af(0x1d9)](_0x4e317b);}[_0x141c1f(0x169)](_0x4784a0,_0x3f1404){const _0x4bcd96=_0x141c1f;return this[_0x4bcd96(0x16e)][_0x4bcd96(0x17e)](_0x4784a0)[_0x4bcd96(0x1be)]((_0x12028d,_0x545230)=>{const _0x767384=_0x4bcd96,_0x2884d5=_0x767384(0x110)==_0x3f1404[_0x545230][_0x767384(0x10a)];if(_0x767384(0x10d)==_0x12028d[_0x767384(0x1c6)]){const _0x5d2ff1=_0x12028d[_0x767384(0xf6)][_0x767384(0x1ab)];!this[_0x767384(0x16c)][_0x767384(0x1ea)](_0x5d2ff1)&&(this[_0x767384(0x16c)][_0x767384(0xee)](_0x767384(0x1a8),_0x5d2ff1)[_0x767384(0x13e)]=!0x1);}const _0x477202=_0x7e0226[_0x767384(0x12b)](_0x12028d,this[_0x767384(0x16c)]);return _0x477202[_0x767384(0x198)]=_0x12028d[_0x767384(0x198)],_0x477202[_0x767384(0x1d3)]=_0x2884d5,_0x477202[_0x767384(0x163)]=_0x2884d5?null:_0x3f1404[_0x545230][_0x767384(0x17c)],_0x477202[_0x767384(0x1df)]=_0x767384(0x17a)===_0x3f1404[_0x545230][_0x767384(0x10a)],_0x477202[_0x767384(0x1c9)]=_0x3f1404[_0x545230][_0x767384(0x1c9)],_0x477202;});}[_0x141c1f(0x156)](){const _0x19d7ec=_0x141c1f;this[_0x19d7ec(0xec)]=!0x0,this[_0x19d7ec(0x1a1)]()?this[_0x19d7ec(0x118)]():this[_0x19d7ec(0xec)]=!0x1;}[_0x141c1f(0x1a1)](){const _0x169fd2=_0x141c1f,_0x9e31d0=this[_0x169fd2(0x1aa)][_0x169fd2(0x187)][_0x169fd2(0x124)](_0x44a0d6)[_0x169fd2(0xf8)][_0x169fd2(0x124)](this[_0x169fd2(0x162)]);return!this[_0x169fd2(0x1aa)][_0x169fd2(0x152)]&&!!_0x9e31d0&&_0x9e31d0[_0x169fd2(0x12a)]>0x1&&this[_0x169fd2(0xec)];}[_0x141c1f(0x1e9)](){const _0x5e0bca=_0x141c1f;return this[_0x5e0bca(0x139)][_0x5e0bca(0x12a)]>0x0||this[_0x5e0bca(0x1a1)]();}}class G extends Error{}function $(_0x4bc94a,_0x4f117d){const _0x211854=_0x141c1f;for(const _0x33bc29 of _0x4bc94a)_0x33bc29[_0x211854(0x123)]=_0x4f117d++;}class K{[_0x141c1f(0x177)];[_0x141c1f(0x1dc)];constructor(_0x5b6988){const _0x35828d=_0x141c1f;this[_0x35828d(0x177)]=_0x5b6988,this[_0x35828d(0x1dc)]=new WeakMap();}[_0x141c1f(0x15a)](_0x920896){const _0x261738=_0x141c1f;let _0x5e4c32=_0x920896[_0x261738(0x12a)];for(;_0x5e4c32--;){const _0x25a384=_0x920896[_0x5e4c32];if(!this[_0x261738(0x177)][_0x261738(0x11e)](_0x25a384)){if(!this[_0x261738(0x1dc)][_0x261738(0x11e)](_0x25a384)){const _0x22992c=_0xf1e7a9()[_0x261738(0x14a)](0x1,0x12);this[_0x261738(0x1dc)][_0x261738(0x137)](_0x25a384,_0x22992c);}return this[_0x261738(0x1dc)][_0x261738(0x124)](_0x25a384);}}}[_0x141c1f(0x1d1)](_0x409ab2,_0x10201b){const _0x94dc6f=_0x141c1f;if(!_0x10201b)return;let _0x36030a=_0x409ab2[_0x94dc6f(0x12a)];for(;_0x36030a--;){const _0x14d718=_0x409ab2[_0x36030a];this[_0x94dc6f(0x177)][_0x94dc6f(0x11e)](_0x14d718)||this[_0x94dc6f(0x1dc)][_0x94dc6f(0x137)](_0x14d718,_0x10201b);}}}
23
+ function _0x54d7(){const _0xbfd50d=['document','affectedSelectable','directChange','_compressor','ready','_loadRoot','slice','_isPendingUpdate','CollaborativeEditingService','path','_handleReconnectionError','string','differ','_setUpDataInit','change:hasDomSelection','fire','offset','2003823Jhxocb','realtimecollaborationclient-sendbufferedoperations','cloudDocumentVersion','round','high','then','_getAffectedRoot','enqueueChange','_getOperationsFromInitData','from','sessionCreatedAt','real-time-collaboration','_isDisconnection','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rtc-destroyed','startsWith','currentDocumentSession','forEach','listenTo','config','_decompressOperations','collaboration','reset','addOperation','_crash','unregister','locale','_bufferRootLoad','_baseBufferDelay','insert','_document','view','off','_handleReceivedOperations','realtimecollaborationclient-init-service-internal-error','Synchronization\x20issue','baseVersion','_hasSynchronizationProblem','Permissions','bind','register','_refreshUserSelectionMarkers','_disconnectionOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isReadOnly','getMany','loadRoot','_isAttached','Notification','isDocumentOperation','_handleSendingSelectionMarkers','_sendBufferedOperations','multi-root-editor-root-attributes-no-root','_isEditingAllowed','_pendingAction','attributes','remove','setPermissions','_handleExternalOperations','clone','marker','_authorId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','createRange','addUser','entries','operationsReceived','state','collaboration.channelId','markers','set','addRoot','permissions','_knownOperations','getDocumentDetails','_handleInitialConnectionData','__className','requires','isPremiumPlugin','realtimecollaborationclient','root','_handleServerResponse','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','fromJSON','connection','realtimecollaborationclient-init-non-existent-root','sessionAdd:','editing','reconnection:\x20flushed\x20session','_applyOperationsSet','editor','sendOperations','parse','version','getRoot','$root','createPositionAt','catch','disableReadOnlyMode','_initSessionsHandling','2835168gupfTK','getIdOfTheLastOperation','createdAt','history','apply','length','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-session-connection-error','disconnected','getConnectedSessions','_setPendingAction','push','409','404','selection','targetPosition','toJSON','keys','_clearPendingAction','_updateServerHistory','_offset','destroy','realtimecollaborationclient-handleserverresponse','_lastSyncedOperationId','lastOperationAcceptedAt','start','addRootAttribute','_shouldSendUpdate','674565fTgYbR','690393JadhxU','createUserMarkerOperations','collaboration-missing-channelid','_isConnected','change:_isPendingUpdate','size','PENDING_ACTION_SENDING_DATA','reconnect','_handleReconnectionResponse','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.','end','data','wereChangesApplied','isOfficialPlugin','mySessionId','75478DFKCQc','rootsAttributes','disconnect','_compressOperations','has','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.','_operationToId','position','code','init','change:range','showWarning','_bufferedOperations','lastSyncVersion','getUser','_addKnownRoot','wasUndone','RealTimeCollaborationClient','initData','createPositionFromPath','rootName','_shouldSendSelectionUpdate','applyOperation','model','decompress','metadata','_hasSelectionChanged','connected','_ignoredOperations','channelSessions','connect','finally','filter','_initThrowingOnDataSet','document:write','_connectAfterSessionHasBeenFlushed','message','_currentBufferDelay','error','CommentsOnly','roots','_knownRootNames','2105394vQAJAH','10uSJFQL','_operationIdentifier','isUndoneOperation','lastDocumentSession','enableReadOnlyMode','lastOperationId','return','getOperations','_disconnectService','_fetchMissingUsers','setIdForTheLastOperation','3066910rVPWSP','rtc-offline','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-service-incorrect-server-operation','pluginName','add','_channelId','createRoot','_isLoaded','12jaKoCl','realtimecollaborationclient-init-document-already-initialized','_sendBufferedOperationsDelayId','addToReconnectionStack','getOperationAuthor','serverHistory','2jAasen','_sendBufferedOperationsDelayed','map','InsertOperation','userId','_lastServerVersion','cloud-services-internal-error:\x20Not\x20connected.','get','change:_isEditingAllowed','realtimecollaborationclient-error','newRange','cs:removeUser','_waitUntilSynced','affectsData','cloudServices.bundleVersion','removeFromReconnectionStack','suppressErrorInCollaboration','stopListening','isEnabled','stop','batch','sessionId','_saveOperationInBuffer','_connectService','plugins','_service','type','compress','_isInit','move','define','includes'];_0x54d7=function(){return _0xbfd50d;};return _0x54d7();}const _0x1d1ad4=_0x2215;function _0x2215(_0x4bd63b,_0xf9c5b8){const _0x54d714=_0x54d7();return _0x2215=function(_0x221500,_0x27abe3){_0x221500=_0x221500-0xa4;let _0x484ad9=_0x54d714[_0x221500];return _0x484ad9;},_0x2215(_0x4bd63b,_0xf9c5b8);}(function(_0x11be4d,_0x4cc029){const _0x4049a1=_0x2215,_0x9e136=_0x11be4d();while(!![]){try{const _0x386915=-parseInt(_0x4049a1(0xe7))/0x1*(-parseInt(_0x4049a1(0x1a8))/0x2)+-parseInt(_0x4049a1(0x199))/0x3+parseInt(_0x4049a1(0xe1))/0x4*(-parseInt(_0x4049a1(0x198))/0x5)+parseInt(_0x4049a1(0xcc))/0x6+parseInt(_0x4049a1(0xd8))/0x7+parseInt(_0x4049a1(0x17c))/0x8+parseInt(_0x4049a1(0x118))/0x9*(-parseInt(_0x4049a1(0xcd))/0xa);if(_0x386915===_0x4cc029)break;else _0x9e136['push'](_0x9e136['shift']());}catch(_0x13ffdf){_0x9e136['push'](_0x9e136['shift']());}}}(_0x54d7,0x583aa));import{Plugin as _0x53e5eb,PendingActions as _0x569255}from'ckeditor5/src/core.js';import{CKEditorError as _0x38eac8,version as _0x2973a2,uid as _0x22c58b}from'ckeditor5/src/utils.js';import{Notification as _0x1e655b}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x404bb2,NoOperation as _0x2dce62,InsertOperation as _0x3c7d85,MarkerOperation as _0x364ce6,RootAttributeOperation as _0x41f916,OperationFactory as _0x135e8d,History as _0x46e51c}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2fd103}from'./websocketgateway.js';import{Sessions as _0x58fd59}from'./sessions.js';import{UserMarkers as _0x305a85}from'./usermarkers.js';import{getTranslation as _0x5d179b}from'../common-translations.js';import{Compressor as _0x5aa8f9}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4e5ad5}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x10ddbf,CollaborativeEditingService as _0xf16628}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x53e5eb{static [_0x1d1ad4(0x10f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xf16628)());[_0x1d1ad4(0x190)];[_0x1d1ad4(0xfc)];[_0x1d1ad4(0xe6)];[_0x1d1ad4(0xde)];[_0x1d1ad4(0x100)];[_0x1d1ad4(0x136)];[_0x1d1ad4(0x10a)];[_0x1d1ad4(0xae)];[_0x1d1ad4(0x161)];[_0x1d1ad4(0xcb)];[_0x1d1ad4(0x14e)];[_0x1d1ad4(0xbc)];[_0x1d1ad4(0xe3)];[_0x1d1ad4(0x134)];[_0x1d1ad4(0xc7)];[_0x1d1ad4(0x193)];[_0x1d1ad4(0x142)];[_0x1d1ad4(0xce)];static get[_0x1d1ad4(0x165)](){return[_0x2fd103,_0x58fd59,_0x305a85,_0x569255,_0x4e5ad5,_0x1e655b];}static get[_0x1d1ad4(0xdc)](){const _0x453f4e=_0x1d1ad4;return _0x453f4e(0xb3);}static get[_0x1d1ad4(0x1a6)](){return!0x0;}static get[_0x1d1ad4(0x166)](){return!0x0;}get[_0x1d1ad4(0x11a)](){const _0x55b8f9=_0x1d1ad4;return this[_0x55b8f9(0xec)]+this[_0x55b8f9(0x190)];}get[_0x1d1ad4(0xec)](){const _0x3ac0e9=_0x1d1ad4;return this[_0x3ac0e9(0xe6)][_0x3ac0e9(0x175)]-this[_0x3ac0e9(0x190)];}get[_0x1d1ad4(0xaf)](){const _0x1bb6a3=_0x1d1ad4,_0x57680a=this[_0x1bb6a3(0xe6)][_0x1bb6a3(0xd4)]();for(let _0x20dc99=_0x57680a[_0x1bb6a3(0x181)]-0x1;_0x20dc99>=0x0;_0x20dc99--){const _0x1c639b=_0x57680a[_0x20dc99];if(!this[_0x1bb6a3(0x142)][_0x1bb6a3(0xa6)](_0x1c639b))return _0x1c639b[_0x1bb6a3(0x13c)]+0x1-this[_0x1bb6a3(0x190)];}return 0x0;}constructor(_0x5e4350){const _0x2c584c=_0x1d1ad4;if(super(_0x5e4350),this[_0x2c584c(0x190)]=0x0,this[_0x2c584c(0xfc)]=null,this[_0x2c584c(0xe6)]=new _0x46e51c(),this[_0x2c584c(0x172)][_0x2c584c(0x12b)][_0x2c584c(0x105)](_0x2c584c(0x12d),{}),this[_0x2c584c(0xde)]=this[_0x2c584c(0x172)][_0x2c584c(0x12b)][_0x2c584c(0xee)](_0x2c584c(0x15c)),!this[_0x2c584c(0xde)])throw new _0x38eac8(_0x2c584c(0x19b),this);const _0xedb06e=_0x5e4350[_0x2c584c(0x12b)][_0x2c584c(0xee)](_0x2c584c(0xf5))||_0x2973a2;this[_0x2c584c(0x100)]=new RealTimeCollaborationClient[(_0x2c584c(0x10f))](_0xedb06e,this[_0x2c584c(0xde)]),this[_0x2c584c(0x136)]=this[_0x2c584c(0x172)][_0x2c584c(0xb9)][_0x2c584c(0x107)],this[_0x2c584c(0x10a)]=new _0x5aa8f9(),this[_0x2c584c(0xae)]=[],this[_0x2c584c(0x161)]=new WeakSet(),this[_0x2c584c(0xcb)]=new Set(),this[_0x2c584c(0x15e)](_0x2c584c(0x10e),!0x1),this[_0x2c584c(0x15e)](_0x2c584c(0x13d),!0x1),this[_0x2c584c(0x14e)]=null,this[_0x2c584c(0xbc)]=!0x1,this[_0x2c584c(0xe3)]=null,this[_0x2c584c(0x134)]=0x12c,this[_0x2c584c(0xc7)]=this[_0x2c584c(0x134)],this[_0x2c584c(0x193)]=null,this[_0x2c584c(0x142)]=new WeakSet(),this[_0x2c584c(0xce)]=new J(this[_0x2c584c(0x142)]);}[_0x1d1ad4(0xab)](){const _0x18aee0=_0x1d1ad4,_0x270d5f=this[_0x18aee0(0x172)],_0x342a16=_0x270d5f[_0x18aee0(0xff)][_0x18aee0(0xee)](_0x4e5ad5),_0xb1c407=_0x270d5f[_0x18aee0(0xff)][_0x18aee0(0xee)](_0x2fd103);this[_0x18aee0(0x12a)](_0x342a16,_0x18aee0(0xe5),(_0x7cfa05,_0x1c4592)=>{const _0x1c4acb=_0x18aee0,_0x3fab07=_0x1c4592[0x0];_0x3fab07[_0x1c4acb(0x155)]&&(_0x7cfa05[_0x1c4acb(0xd3)]=_0x342a16[_0x1c4acb(0xb0)](_0x3fab07[_0x1c4acb(0x155)]),_0x7cfa05[_0x1c4acb(0xfa)]()),null===_0x3fab07[_0x1c4acb(0x155)]&&(_0x7cfa05[_0x1c4acb(0xd3)]=null,_0x7cfa05[_0x1c4acb(0xfa)]());},{'priority':_0x18aee0(0x11c)}),this[_0x18aee0(0x12a)](_0x270d5f[_0x18aee0(0xb9)][_0x18aee0(0x107)][_0x18aee0(0x18a)],_0x18aee0(0xac),(_0x3024ce,_0x3cc353)=>{const _0x1c4399=_0x18aee0;_0x3cc353[_0x1c4399(0x109)]&&this[_0x1c4399(0x141)]();}),this[_0x18aee0(0x12a)](_0x270d5f[_0x18aee0(0x16f)][_0x18aee0(0x137)],_0x18aee0(0x115),()=>{const _0x4f00f0=_0x18aee0;this[_0x4f00f0(0x141)]();}),this[_0x18aee0(0xc3)](),_0x270d5f[_0x18aee0(0xb9)]['on'](_0x18aee0(0xb8),(_0x3b90d0,_0x2f6693)=>{const _0x378b16=_0x18aee0,_0x5f1f85=_0x2f6693[0x0];_0x5f1f85[_0x378b16(0x149)]&&(this[_0x378b16(0xfd)](_0x5f1f85),this[_0x378b16(0x197)]()&&this[_0x378b16(0xe8)]());}),this[_0x18aee0(0x114)](),this[_0x18aee0(0x13f)](_0x18aee0(0x14d))['to'](_0xb1c407,_0x18aee0(0x15b),this,_0x18aee0(0x13d),(_0x29e105,_0x71f197)=>_0x18aee0(0xbd)===_0x29e105&&!_0x71f197),this['on'](_0x18aee0(0xef),()=>{const _0x5cbd92=_0x18aee0;this[_0x5cbd92(0x14d)]?_0x270d5f[_0x5cbd92(0x17a)](_0x5cbd92(0xd9)):_0x270d5f[_0x5cbd92(0xd1)](_0x5cbd92(0xd9));}),this[_0x18aee0(0x14d)]?_0x270d5f[_0x18aee0(0x17a)](_0x18aee0(0xd9)):_0x270d5f[_0x18aee0(0xd1)](_0x18aee0(0xd9)),this[_0x18aee0(0x15e)](_0x18aee0(0x19c),!0x1);}async[_0x1d1ad4(0x1a0)](){const _0x5e90ab=_0x1d1ad4,_0x24f16d=this[_0x5e90ab(0x172)][_0x5e90ab(0xff)][_0x5e90ab(0xee)](_0x58fd59),_0x24d437=this[_0x5e90ab(0x172)][_0x5e90ab(0xff)][_0x5e90ab(0xee)](_0x2fd103);try{this[_0x5e90ab(0x10e)]=!0x0,_0x24f16d[_0x5e90ab(0x131)](this[_0x5e90ab(0xde)]);const _0x46fb7a=await this[_0x5e90ab(0x100)][_0x5e90ab(0x1a0)](_0x24d437[_0x5e90ab(0x16c)],this[_0x5e90ab(0xaf)]);await this[_0x5e90ab(0x1a1)](_0x46fb7a)&&(this[_0x5e90ab(0x10e)]=!0x1,this[_0x5e90ab(0x18e)]());const _0x2697ea=await this[_0x5e90ab(0x100)][_0x5e90ab(0x185)]();_0x24f16d[_0x5e90ab(0x140)](this[_0x5e90ab(0xde)],_0x2697ea),this[_0x5e90ab(0x14a)](),this[_0x5e90ab(0x19c)]=!0x0;}catch(_0x1bcc87){if(function(_0x4815af){const _0x409fb8=_0x5e90ab;return _0x409fb8(0x189)===_0x4815af[_0x409fb8(0xaa)];}(_0x1bcc87)&&this[_0x5e90ab(0xfc)])await this[_0x5e90ab(0xc5)]();else{if(function(_0x5b0851){const _0x3349a2=_0x5e90ab;return _0x3349a2(0x188)===_0x5b0851[_0x3349a2(0xaa)];}(_0x1bcc87)){const _0x26ed3e=_0x5d179b(this[_0x5e90ab(0x172)][_0x5e90ab(0x132)],_0x5e90ab(0x143));this[_0x5e90ab(0x111)](_0x26ed3e);}else{if(!(_0x1bcc87 instanceof $))throw _0x1bcc87;this[_0x5e90ab(0x111)]();}}}}[_0x1d1ad4(0x191)](){const _0x1fca5e=_0x1d1ad4,_0x3c1a42=this[_0x1fca5e(0x172)][_0x1fca5e(0xff)][_0x1fca5e(0xee)](_0x2fd103),_0x4f92f2=this[_0x1fca5e(0x172)][_0x1fca5e(0xff)][_0x1fca5e(0xee)](_0x58fd59);this[_0x1fca5e(0x172)][_0x1fca5e(0xd1)](_0x1fca5e(0x126)),_0x4f92f2[_0x1fca5e(0xbf)][_0x1fca5e(0xa6)](this[_0x1fca5e(0xde)])&&_0x4f92f2[_0x1fca5e(0x131)](this[_0x1fca5e(0xde)]),_0x3c1a42[_0x1fca5e(0xf6)](this),this[_0x1fca5e(0xd5)](),super[_0x1fca5e(0x191)]();}async[_0x1d1ad4(0x1a1)](_0xbf1f95){const _0x588c45=_0x1d1ad4;if(this[_0x588c45(0xfc)]!==_0xbf1f95[_0x588c45(0xfc)]&&this[_0x588c45(0x193)]!==_0xbf1f95[_0x588c45(0xd2)])throw new $();return this[_0x588c45(0xfc)]=_0xbf1f95[_0x588c45(0xfc)],this[_0x588c45(0x169)]([],{..._0xbf1f95,'wereChangesApplied':!0x1,'data':_0xbf1f95[_0x588c45(0x1a4)]},_0x588c45(0x1a0));}async[_0x1d1ad4(0xfe)](_0x3a4e29,_0xc1f381=!0x1){const _0x4202bf=_0x1d1ad4,{connection:_0x41e6bf}=this[_0x4202bf(0x172)][_0x4202bf(0xff)][_0x4202bf(0xee)](_0x2fd103);RealTimeCollaborationClient[_0x4202bf(0x10f)][_0x4202bf(0x185)](_0x41e6bf,this[_0x4202bf(0xde)])[_0x4202bf(0x11d)](_0x406ba6=>this[_0x4202bf(0x17b)](_0x406ba6))[_0x4202bf(0x179)](_0xef5e37=>{const _0x4810c6=_0x4202bf;this[_0x4810c6(0x130)](_0x4810c6(0x183),_0xef5e37);}),this[_0x4202bf(0x12a)](this[_0x4202bf(0x100)],_0x4202bf(0x15a),this[_0x4202bf(0x139)][_0x4202bf(0x13f)](this)),this[_0x4202bf(0x12a)](this[_0x4202bf(0x100)],_0x4202bf(0xc8),(_0x2843b5,_0x1ad868)=>{const _0x558358=_0x4202bf;this[_0x558358(0x130)](_0x558358(0x13a),_0x1ad868);}),this[_0x4202bf(0x12a)](this[_0x4202bf(0x100)],_0x4202bf(0x184),()=>{const _0x1c116b=_0x4202bf;this[_0x1c116b(0x19c)]=!0x1;});const _0x4f684a=this[_0x4202bf(0xce)][_0x4202bf(0x17d)](_0x3a4e29);this[_0x4202bf(0x10e)]=!0x0;const _0x4e606b=await this[_0x4202bf(0x100)][_0x4202bf(0xc0)](_0x41e6bf,this[_0x4202bf(0xa5)](_0x3a4e29),_0x4f684a);if(this[_0x4202bf(0xfc)]=_0x4e606b[_0x4202bf(0xfc)],_0xc1f381){if(!_0x4e606b[_0x4202bf(0x1a5)])return void this[_0x4202bf(0x111)]();this[_0x4202bf(0x10e)]=!0x1,this[_0x4202bf(0x18e)](),this[_0x4202bf(0xe6)][_0x4202bf(0x12e)](),this[_0x4202bf(0x190)]=_0x4e606b[_0x4202bf(0x117)],this[_0x4202bf(0xe6)][_0x4202bf(0x175)]=this[_0x4202bf(0x190)],await this[_0x4202bf(0x169)](_0x3a4e29,_0x4e606b,_0x4202bf(0x170));}else await this[_0x4202bf(0x163)](_0x4e606b,_0x3a4e29);this[_0x4202bf(0x14a)](),this[_0x4202bf(0x19c)]=!0x0;}[_0x1d1ad4(0x14a)](){const _0x220190=_0x1d1ad4,_0x2da6f2=this[_0x220190(0x172)][_0x220190(0xff)][_0x220190(0xee)](_0x58fd59),_0x14bda9=this[_0x220190(0x172)][_0x220190(0xff)][_0x220190(0xee)](_0x305a85),_0x2be4b3=_0x2da6f2[_0x220190(0xbf)][_0x220190(0xee)](this[_0x220190(0xde)]);_0x2be4b3&&_0x2be4b3[_0x220190(0x181)]>0x1?_0x14bda9[_0x220190(0x19a)]():this[_0x220190(0x12a)](_0x2da6f2,_0x220190(0x16e)+this[_0x220190(0xde)],()=>{const _0x65f1a1=_0x220190;0x2===_0x2da6f2[_0x65f1a1(0xbf)][_0x65f1a1(0xee)](this[_0x65f1a1(0xde)])[_0x65f1a1(0x181)]&&_0x14bda9[_0x65f1a1(0x19a)]();});}async[_0x1d1ad4(0x139)](_0x477926,_0x3c236e,_0x10f7e1,_0x46d8da){const _0x25978d=_0x1d1ad4;if(!this[_0x25978d(0x10e)]&&this[_0x25978d(0x136)][_0x25978d(0x175)]==_0x3c236e){const _0x38c1d8=this[_0x25978d(0x12c)](_0x10f7e1,_0x46d8da);await this[_0x25978d(0xd6)](_0x38c1d8),this[_0x25978d(0x152)](_0x38c1d8,_0x3c236e,_0x10f7e1[_0x25978d(0xd2)])||this[_0x25978d(0x130)](_0x25978d(0xdb));}}async[_0x1d1ad4(0xc5)](){const _0x11627d=_0x1d1ad4;this[_0x11627d(0xd5)]();const {locale:_0x5093ab}=this[_0x11627d(0x172)];let _0x5d97c0;try{_0x5d97c0=await this[_0x11627d(0x100)][_0x11627d(0x162)]();}catch{const _0x5d5ada=_0x5d179b(_0x5093ab,_0x11627d(0x16a));return void this[_0x11627d(0x111)](_0x5d5ada);}const _0x684491=_0x5d97c0[_0x11627d(0x128)]||_0x5d97c0[_0x11627d(0xd0)];if(this[_0x11627d(0x193)]!==_0x684491[_0x11627d(0xd2)]){const _0x114a57=_0x5d179b(_0x5093ab,_0x11627d(0x1a2));return void this[_0x11627d(0x111)](_0x114a57);}await this[_0x11627d(0xfe)](this[_0x11627d(0x172)][_0x11627d(0xb9)][_0x11627d(0x107)][_0x11627d(0x17f)][_0x11627d(0xd4)](),!0x0);}[_0x1d1ad4(0xd5)](){const _0x2f5b64=_0x1d1ad4;this[_0x2f5b64(0x100)][_0x2f5b64(0xa4)](),this[_0x2f5b64(0xae)]=[],clearTimeout(this[_0x2f5b64(0xe3)]),this[_0x2f5b64(0xf8)](this[_0x2f5b64(0x100)]);}[_0x1d1ad4(0x17b)](_0x11398f){const _0xf3ff03=_0x1d1ad4,_0x44f296=this[_0xf3ff03(0x172)][_0xf3ff03(0xff)][_0xf3ff03(0xee)](_0x58fd59);this[_0xf3ff03(0x12a)](_0x44f296,_0xf3ff03(0x16e)+this[_0xf3ff03(0xde)],(_0x1ff800,{session:_0x33a021})=>{const _0x40efc4=_0xf3ff03;if(_0x33a021['id']===_0x44f296[_0x40efc4(0x1a7)]){_0x1ff800[_0x40efc4(0x138)]();const _0x18f939=this[_0x40efc4(0x172)][_0x40efc4(0xff)][_0x40efc4(0xa6)](_0x40efc4(0xc9))&&this[_0x40efc4(0x172)][_0x40efc4(0xff)][_0x40efc4(0xee)](_0x40efc4(0xc9));let _0x2e8722=_0x33a021[_0x40efc4(0x160)];_0x18f939&&_0x18f939[_0x40efc4(0xf9)]&&(_0x2e8722=_0x2e8722[_0x40efc4(0xc2)](_0x325d24=>_0x40efc4(0xc4)!==_0x325d24)),this[_0x40efc4(0x172)][_0x40efc4(0xff)][_0x40efc4(0xee)](_0x40efc4(0x13e))[_0x40efc4(0x151)](_0x2e8722,this[_0x40efc4(0xde)]);}}),_0x44f296[_0xf3ff03(0x140)](this[_0xf3ff03(0xde)],_0x11398f);}[_0x1d1ad4(0xc3)](){const _0x42e1b8=_0x1d1ad4,_0x303721=this[_0x42e1b8(0x172)][_0x42e1b8(0x1a4)][_0x42e1b8(0x15e)];this[_0x42e1b8(0x172)][_0x42e1b8(0x1a4)][_0x42e1b8(0x15e)]=(..._0x365d55)=>{const _0x2fa471=_0x42e1b8;if(!_0x365d55[_0x365d55[_0x2fa471(0x181)]-0x1][_0x2fa471(0xf7)])throw new _0x38eac8(_0x2fa471(0x156),this);_0x303721[_0x2fa471(0x180)](this[_0x2fa471(0x172)][_0x2fa471(0x1a4)],_0x365d55);};}[_0x1d1ad4(0x114)](){const _0x1f4d6d=_0x1d1ad4;this[_0x1f4d6d(0x172)][_0x1f4d6d(0x1a4)]['on'](_0x1f4d6d(0xab),(_0x49e706,[_0x1b08ba])=>{const _0x7acce3=_0x1f4d6d;if(this[_0x7acce3(0x136)][_0x7acce3(0x175)])throw new _0x38eac8(_0x7acce3(0xe2),this);_0x49e706[_0x7acce3(0xfa)](),this[_0x7acce3(0x186)]();const _0x3869f3=this[_0x7acce3(0x172)][_0x7acce3(0x12b)][_0x7acce3(0xee)](_0x7acce3(0x1a9)),_0xfba5fa=this[_0x7acce3(0x120)](_0x1b08ba,_0x3869f3);0x0==_0xfba5fa[_0x7acce3(0x181)]&&_0xfba5fa[_0x7acce3(0x187)](new _0x2dce62(0x0)),_0x49e706[_0x7acce3(0xd3)]=this[_0x7acce3(0xfe)](_0xfba5fa)[_0x7acce3(0x11d)](()=>{const _0x348e12=_0x7acce3;this[_0x348e12(0x172)][_0x348e12(0xff)][_0x348e12(0xee)](_0x2fd103)[_0x348e12(0xe4)](this),this[_0x348e12(0x172)][_0x348e12(0x1a4)][_0x348e12(0x116)](_0x348e12(0x10b));})[_0x7acce3(0x179)](_0x2abff6=>this[_0x7acce3(0x130)](_0x7acce3(0x182),_0x2abff6))[_0x7acce3(0xc1)](()=>this[_0x7acce3(0x18e)]());},{'priority':_0x1f4d6d(0x11c)}),this[_0x1f4d6d(0x172)]['on'](_0x1f4d6d(0x146),async(_0x40566b,[_0x3b0e8d,_0xb56559])=>{const _0x2eb5f6=_0x1f4d6d;_0x40566b[_0x2eb5f6(0xfa)]();const _0x5f5214=this[_0x2eb5f6(0x172)][_0x2eb5f6(0xb9)][_0x2eb5f6(0x107)][_0x2eb5f6(0x176)](_0x3b0e8d);if(!this[_0x2eb5f6(0xcb)][_0x2eb5f6(0xa6)](_0x3b0e8d)){const _0x2e21c4=_0xb56559&&_0xb56559[_0x2eb5f6(0x1a4)]?_0xb56559[_0x2eb5f6(0x1a4)]:'',_0x504771=_0xb56559&&_0xb56559[_0x2eb5f6(0x14f)]?_0xb56559[_0x2eb5f6(0x14f)]:{};await this[_0x2eb5f6(0x10c)](_0x3b0e8d,_0x2e21c4,_0x504771);}this[_0x2eb5f6(0x172)][_0x2eb5f6(0xb9)][_0x2eb5f6(0x11f)]({'isUndoable':!0x1},()=>{const _0x39aa8b=_0x2eb5f6;_0x5f5214[_0x39aa8b(0xe0)]=!0x0,this[_0x39aa8b(0x172)][_0x39aa8b(0xb9)][_0x39aa8b(0x107)][_0x39aa8b(0x113)][_0x39aa8b(0x133)](_0x5f5214);});},{'priority':_0x1f4d6d(0x11c)});}async[_0x1d1ad4(0xd6)](_0x4f6bc2){const _0x28894=_0x1d1ad4,_0x1b690d=this[_0x28894(0x172)][_0x28894(0xff)][_0x28894(0xee)](_0x4e5ad5),{connection:_0x5698a0}=this[_0x28894(0x172)][_0x28894(0xff)][_0x28894(0xee)](_0x2fd103),_0x45e115=new Set();for(const _0x199f05 of _0x4f6bc2){const _0xa9d1e7=_0x199f05[_0x28894(0x155)];_0xa9d1e7&&!_0x1b690d[_0x28894(0xb0)](_0xa9d1e7)&&_0x45e115[_0x28894(0xdd)](_0xa9d1e7);}if(0x0===_0x45e115[_0x28894(0x19e)])return;const _0x202515=await _0x10ddbf[_0x28894(0x145)](_0x5698a0,Array[_0x28894(0x121)](_0x45e115));for(const _0x4e6c1a of _0x202515)_0x1b690d[_0x28894(0xb0)](_0x4e6c1a['id'])||_0x1b690d[_0x28894(0x158)](_0x4e6c1a);}[_0x1d1ad4(0x120)](_0xa0d6b4,_0x3e9195={}){const _0x1d21da=_0x1d1ad4,_0x3221b9=this[_0x1d21da(0x172)][_0x1d21da(0xb9)],_0x260f39=[];let _0x1bfea6=0x0;const _0x4dace2=_0x1d21da(0x112)==typeof _0xa0d6b4?{'main':_0xa0d6b4}:_0xa0d6b4;for(const _0x1ad2dd of Object[_0x1d21da(0x18d)](_0x4dace2)){if(!this[_0x1d21da(0x136)][_0x1d21da(0xca)][_0x1d21da(0xa6)](_0x1ad2dd))throw new _0x38eac8(_0x1d21da(0x16d),this);const _0x1bb5f6=this[_0x1d21da(0x172)][_0x1d21da(0x1a4)][_0x1d21da(0x174)](_0x4dace2[_0x1ad2dd]),_0x3e8dc=this[_0x1d21da(0x136)][_0x1d21da(0x176)](_0x1ad2dd),_0xe3ac9c=new _0x3c7d85(_0x3221b9[_0x1d21da(0x178)](_0x3e8dc,0x0),_0x1bb5f6,_0x1bfea6++);_0x260f39[_0x1d21da(0x187)](_0xe3ac9c);for(const [_0x5a19d0,_0x2b4e67]of _0x1bb5f6[_0x1d21da(0x15d)]){const _0x14c1c1=_0x3221b9[_0x1d21da(0x157)](_0x3221b9[_0x1d21da(0xb5)](_0x3e8dc,_0x2b4e67[_0x1d21da(0x195)][_0x1d21da(0x110)][_0x1d21da(0x10d)]()),_0x3221b9[_0x1d21da(0xb5)](_0x3e8dc,_0x2b4e67[_0x1d21da(0x1a3)][_0x1d21da(0x110)][_0x1d21da(0x10d)]())),_0x45a03e=new _0x364ce6(_0x5a19d0,null,_0x14c1c1,_0x3221b9[_0x1d21da(0x15d)],!0x0,_0x1bfea6++);_0x260f39[_0x1d21da(0x187)](_0x45a03e);}}if(_0x3e9195)for(const [_0x5902a8,_0x435cec]of Object[_0x1d21da(0x159)](_0x3e9195)){const _0x32a9d1=_0x3221b9[_0x1d21da(0x107)][_0x1d21da(0x176)](_0x5902a8);if(!_0x32a9d1)throw new _0x38eac8(_0x1d21da(0x14c),null);for(const [_0xa9d5d3,_0x10760f]of Object[_0x1d21da(0x159)](_0x435cec))if(null!==_0x10760f){const _0x16b906=new _0x41f916(_0x32a9d1,_0xa9d5d3,null,_0x10760f,_0x1bfea6++);_0x260f39[_0x1d21da(0x187)](_0x16b906);}}return _0x260f39;}async[_0x1d1ad4(0x10c)](_0x47142d,_0x100807,_0x44546a){const _0x5cfd87=_0x1d1ad4;this[_0x5cfd87(0x120)]({[_0x47142d]:_0x100807},{[_0x47142d]:_0x44546a})[_0x5cfd87(0x129)]((_0x4b3d7c,_0x4d187e)=>{const _0xc2c3e6=_0x5cfd87;_0x4b3d7c[_0xc2c3e6(0x13c)]=this[_0xc2c3e6(0x136)][_0xc2c3e6(0x175)]+_0x4d187e,_0x4b3d7c[_0xc2c3e6(0x103)]=!0x0,this[_0xc2c3e6(0xfd)](_0x4b3d7c);}),this[_0x5cfd87(0xe8)](),await this[_0x5cfd87(0xf3)]();}async[_0x1d1ad4(0x163)](_0x25bdb9,_0x1215a0){const _0x729fe7=_0x1d1ad4;let _0x4af28e;this[_0x729fe7(0x190)]=_0x25bdb9[_0x729fe7(0x117)];const _0x4cad0f=_0x25bdb9[_0x729fe7(0x1a5)]&&!_0x25bdb9[_0x729fe7(0xb4)],_0x2f5b3f=_0x4cad0f?0x0:_0x25bdb9[_0x729fe7(0x1a4)][_0x729fe7(0x13c)];if(_0x1215a0[_0x729fe7(0x129)](_0x90f574=>{const _0x5b47e1=_0x729fe7;_0x90f574[_0x5b47e1(0x103)]=!0x0,_0x90f574[_0x5b47e1(0x17e)]=_0x25bdb9[_0x5b47e1(0x122)],_0x90f574[_0x5b47e1(0x155)]=null;}),_0x4cad0f)_0x4af28e=_0x1215a0,this[_0x729fe7(0x171)](_0x4af28e,_0x4cad0f);else{if(_0x25bdb9[_0x729fe7(0xb4)]){const _0x1144bf=this[_0x729fe7(0x120)](_0x25bdb9[_0x729fe7(0xb4)]);this[_0x729fe7(0x136)][_0x729fe7(0x17f)][_0x729fe7(0x175)]=-_0x1144bf[_0x729fe7(0x181)],_0x1144bf[_0x729fe7(0x129)](_0x2afc20=>{const _0x3eefda=_0x729fe7;_0x2afc20[_0x3eefda(0x13c)]-=_0x1144bf[_0x3eefda(0x181)],_0x2afc20[_0x3eefda(0x17e)]=_0x25bdb9[_0x3eefda(0x122)],_0x2afc20[_0x3eefda(0x103)]=!0x0,_0x2afc20[_0x3eefda(0x155)]=null;}),this[_0x729fe7(0x171)](_0x1144bf,!0x0),this[_0x729fe7(0xe6)][_0x729fe7(0x175)]=-_0x1144bf[_0x729fe7(0x181)]+this[_0x729fe7(0x190)],this[_0x729fe7(0x18f)](_0x1144bf);}this[_0x729fe7(0x136)][_0x729fe7(0x17f)][_0x729fe7(0x175)]=_0x2f5b3f,_0x4af28e=this[_0x729fe7(0x12c)](_0x25bdb9[_0x729fe7(0x1a4)],_0x25bdb9[_0x729fe7(0xbb)]),await this[_0x729fe7(0xd6)](_0x4af28e),this[_0x729fe7(0x171)](_0x4af28e,_0x4cad0f);}_0x25bdb9[_0x729fe7(0xd2)]&&(this[_0x729fe7(0xce)][_0x729fe7(0xd7)](_0x4af28e,_0x25bdb9[_0x729fe7(0xd2)]),this[_0x729fe7(0x193)]=_0x25bdb9[_0x729fe7(0xd2)]),this[_0x729fe7(0xe6)][_0x729fe7(0x175)]=_0x2f5b3f+this[_0x729fe7(0x190)],this[_0x729fe7(0x18f)](_0x4af28e),_0x1215a0[_0x729fe7(0xc2)](_0x2d808b=>{const _0x5a7103=_0x729fe7,_0xce9d5e=this[_0x5a7103(0x11e)](_0x2d808b);return _0xce9d5e&&!this[_0x5a7103(0xcb)][_0x5a7103(0xa6)](_0xce9d5e);})[_0x729fe7(0x129)]((_0x249511,_0x5ac678)=>{const _0x39d30b=_0x729fe7;_0x249511[_0x39d30b(0x13c)]=this[_0x39d30b(0x136)][_0x39d30b(0x175)]+_0x5ac678,this[_0x39d30b(0xfd)](_0x249511);}),this[_0x729fe7(0x197)]()?(this[_0x729fe7(0xc7)]=0x0,this[_0x729fe7(0xe8)](!0x0),await this[_0x729fe7(0xf3)]()):(this[_0x729fe7(0x10e)]=!0x1,this[_0x729fe7(0x18e)]());}[_0x1d1ad4(0x130)](_0x32042d,_0x403014){const _0x3aae0b=_0x1d1ad4,_0xe9c22f=_0x403014&&_0x403014[_0x3aae0b(0xc6)];if(_0xe9c22f&&_0xe9c22f[_0x3aae0b(0x127)](_0x3aae0b(0x167)))throw _0x403014;const _0x44ee1d=this[_0x3aae0b(0x172)][_0x3aae0b(0xff)][_0x3aae0b(0xee)](_0x2fd103);throw this[_0x3aae0b(0x10e)]=!0x0,_0x44ee1d[_0x3aae0b(0xa4)](),this[_0x3aae0b(0x172)][_0x3aae0b(0xd1)](_0x3aae0b(0xf0)),new _0x38eac8(_0x32042d,this[_0x3aae0b(0x172)],_0xe9c22f?{'originalError':_0xe9c22f}:void 0x0);}[_0x1d1ad4(0xfd)](_0x189bac){const _0x5badec=_0x1d1ad4;this[_0x5badec(0x161)][_0x5badec(0xa6)](_0x189bac)||(this[_0x5badec(0x161)][_0x5badec(0xdd)](_0x189bac),this[_0x5badec(0xae)][_0x5badec(0x187)](_0x189bac),this[_0x5badec(0x14e)]||_0x5badec(0x154)==_0x189bac[_0x5badec(0x101)]&&!_0x189bac[_0x5badec(0xf4)]||this[_0x5badec(0x186)]());}[_0x1d1ad4(0xe8)](_0x8ae32a=!0x1){const _0x5dc0c7=_0x1d1ad4;!_0x8ae32a&&this[_0x5dc0c7(0x10e)]||(this[_0x5dc0c7(0x10e)]=!0x0,clearTimeout(this[_0x5dc0c7(0xe3)]),this[_0x5dc0c7(0xe3)]=setTimeout(()=>{const _0x1ec0d2=_0x5dc0c7;this[_0x1ec0d2(0x14b)]()[_0x1ec0d2(0x11d)](_0x505de4=>{const _0x3efa20=_0x1ec0d2;_0x505de4&&(this[_0x3efa20(0x18e)](),this[_0x3efa20(0x10e)]=!0x1);})[_0x1ec0d2(0x179)](_0x1aa800=>{const _0x7e4b60=_0x1ec0d2;this[_0x7e4b60(0x18e)](),this[_0x7e4b60(0x10e)]=!0x1,function(_0x48c06a){const _0x29196e=_0x7e4b60;return _0x48c06a[_0x29196e(0xc6)][_0x29196e(0x127)](_0x29196e(0xed))||_0x48c06a[_0x29196e(0xc6)][_0x29196e(0x127)](_0x29196e(0x125))||_0x48c06a[_0x29196e(0xc6)][_0x29196e(0x127)](_0x29196e(0xda));}(_0x1aa800)||this[_0x7e4b60(0x130)](_0x1aa800[_0x7e4b60(0xc6)],_0x1aa800);});},this[_0x5dc0c7(0xc7)]));}[_0x1d1ad4(0xf3)](){return new Promise(_0x5c4387=>{const _0x12f7a9=_0x2215;this['on'](_0x12f7a9(0x19d),()=>{_0x5c4387();});});}async[_0x1d1ad4(0x14b)](){const _0x3dc333=_0x1d1ad4,_0x2fa1ba=this[_0x3dc333(0x172)][_0x3dc333(0xff)][_0x3dc333(0xee)](_0x305a85);if(this[_0x3dc333(0xb7)]()&&(_0x2fa1ba[_0x3dc333(0x19a)](),this[_0x3dc333(0xbc)]=!0x1),!this[_0x3dc333(0x197)]())return!0x0;const _0x9595ac=[...this[_0x3dc333(0xae)]];for(const _0x277db8 of _0x9595ac)_0x277db8[_0x3dc333(0xb2)]=this[_0x3dc333(0x136)][_0x3dc333(0x17f)][_0x3dc333(0xcf)](_0x277db8);const _0x5b8b69=this[_0x3dc333(0xce)][_0x3dc333(0x17d)](_0x9595ac),_0x5bd591=G++,_0x25e61d=this[_0x3dc333(0xa5)](_0x9595ac),_0x505ff1=await this[_0x3dc333(0x100)][_0x3dc333(0x173)](_0x25e61d,_0x25e61d[_0x3dc333(0x13c)],_0x5b8b69);try{return await this[_0x3dc333(0x169)](_0x9595ac,_0x505ff1,_0x5bd591);}catch(_0x27c52b){return this[_0x3dc333(0x130)](_0x3dc333(0x119),_0x27c52b);}}async[_0x1d1ad4(0x169)](_0x5a8568,_0xfffdea,_0x33fc5e){const _0x56e63a=_0x1d1ad4;if(_0x56e63a(0xc8)in _0xfffdea)throw _0xfffdea[_0x56e63a(0xc8)];let _0x165220=!0x1;if(_0xfffdea[_0x56e63a(0x1a5)]){_0xfffdea[_0x56e63a(0xd2)]&&(this[_0x56e63a(0x193)]=_0xfffdea[_0x56e63a(0xd2)]),this[_0x56e63a(0xae)]=this[_0x56e63a(0xae)][_0x56e63a(0xc2)](_0xbdd91b=>!_0x5a8568[_0x56e63a(0x106)](_0xbdd91b));for(const _0x33e9fc of _0x5a8568)_0x33e9fc[_0x56e63a(0x17e)]=_0x56e63a(0x194)in _0xfffdea&&_0xfffdea[_0x56e63a(0x194)]||void 0x0;K(_0x5a8568,_0xfffdea[_0x56e63a(0x175)]-_0x5a8568[_0x56e63a(0x181)]),this[_0x56e63a(0x18f)](_0x5a8568);const _0x59a852=_0x5a8568[_0x56e63a(0xc2)](_0x595b84=>{const _0x307d7a=_0x56e63a;if(!_0x595b84[_0x307d7a(0x103)])return!0x1;const _0x474987=this[_0x307d7a(0x11e)](_0x595b84);return _0x474987&&!this[_0x307d7a(0xcb)][_0x307d7a(0xa6)](_0x474987);});K(_0x59a852,this[_0x56e63a(0x136)][_0x56e63a(0x175)]),this[_0x56e63a(0x171)](_0x59a852),_0x165220=!0x0,this[_0x56e63a(0xc7)]=this[_0x56e63a(0x134)];}else{const _0x4eecae=this[_0x56e63a(0x12c)](_0xfffdea[_0x56e63a(0x1a4)],_0xfffdea[_0x56e63a(0xbb)])[_0x56e63a(0xc2)](_0x513260=>_0x513260[_0x56e63a(0x13c)]>=this[_0x56e63a(0xec)]);_0x4eecae[_0x56e63a(0x129)](_0x5656cd=>this[_0x56e63a(0xb1)](_0x5656cd)),this[_0x56e63a(0xae)]=this[_0x56e63a(0xae)][_0x56e63a(0xc2)](_0xcce41a=>!_0xcce41a[_0x56e63a(0x103)]||!this[_0x56e63a(0xcb)][_0x56e63a(0xa6)](this[_0x56e63a(0x11e)](_0xcce41a))),this[_0x56e63a(0xae)][_0x56e63a(0x181)]&&K(this[_0x56e63a(0xae)],this[_0x56e63a(0xae)][0x0][_0x56e63a(0x13c)]),await this[_0x56e63a(0xd6)](_0x4eecae),_0x165220=this[_0x56e63a(0x152)](_0x4eecae,_0xfffdea[_0x56e63a(0x175)],_0xfffdea[_0x56e63a(0xd2)]),this[_0x56e63a(0xc7)]=Math[_0x56e63a(0x11b)](this[_0x56e63a(0xc7)]/0x2);}return _0x165220?!this[_0x56e63a(0x197)]()||(this[_0x56e63a(0xe8)](!0x0),!0x1):this[_0x56e63a(0x130)](_0x56e63a(0x192));}[_0x1d1ad4(0x152)](_0x3a19f3,_0x51031b,_0x4bc756){const _0x33fcba=_0x1d1ad4;try{const _0x509441={'document':this[_0x33fcba(0x136)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x13f015,operationsB:_0x5a20d2,originalOperations:_0x2de075}=_0x404bb2(_0x3a19f3,this[_0x33fcba(0xae)],_0x509441);K(_0x13f015,this[_0x33fcba(0x136)][_0x33fcba(0x175)]),K(_0x5a20d2,_0x51031b);for(const _0x38a049 of _0x13f015){const _0x2a44e3=_0x2de075[_0x33fcba(0xee)](_0x38a049);_0x38a049[_0x33fcba(0x155)]=_0x2a44e3?_0x2a44e3[_0x33fcba(0x155)]:null;}_0x4bc756&&(this[_0x33fcba(0xce)][_0x33fcba(0xd7)](_0x3a19f3,_0x4bc756),this[_0x33fcba(0x193)]=_0x4bc756),this[_0x33fcba(0xae)]=[..._0x5a20d2],this[_0x33fcba(0x171)](_0x13f015),this[_0x33fcba(0x18f)](_0x3a19f3);}catch(_0x136cb4){return console[_0x33fcba(0xc8)](_0x136cb4),!0x1;}return!0x0;}[_0x1d1ad4(0x171)](_0x25a5fc,_0x402cf3=!0x1){const _0x324bb2=_0x1d1ad4;this[_0x324bb2(0x172)][_0x324bb2(0xb9)][_0x324bb2(0x11f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x496be3=>{const _0x5a9074=_0x324bb2;for(const _0x48cd90 of _0x25a5fc)this[_0x5a9074(0x161)][_0x5a9074(0xdd)](_0x48cd90),this[_0x5a9074(0xb1)](_0x48cd90),_0x496be3[_0x5a9074(0xfb)][_0x5a9074(0x12f)](_0x48cd90),this[_0x5a9074(0x172)][_0x5a9074(0xb9)][_0x5a9074(0xb8)](_0x48cd90);});}[_0x1d1ad4(0xb1)](_0xe1aa67){const _0x1937c8=_0x1d1ad4,_0x50ed57=this[_0x1937c8(0x11e)](_0xe1aa67);_0x50ed57&&this[_0x1937c8(0xcb)][_0x1937c8(0xdd)](_0x50ed57);}[_0x1d1ad4(0x11e)](_0x37be9d){const _0x574e7b=_0x1d1ad4;let _0x49f329,_0x536a46;switch(_0x37be9d[_0x574e7b(0x101)]){case _0x574e7b(0x135):_0x49f329=_0x37be9d[_0x574e7b(0xa9)][_0x574e7b(0x168)];break;case _0x574e7b(0x154):if(_0x536a46=_0x37be9d[_0x574e7b(0xf1)],!_0x536a46)return null;_0x49f329=_0x536a46[_0x574e7b(0x168)];break;case _0x574e7b(0x196):_0x49f329=_0x37be9d[_0x574e7b(0x168)];break;case _0x574e7b(0x15f):_0x49f329=_0x37be9d[_0x574e7b(0x108)];break;case _0x574e7b(0x104):_0x49f329=_0x37be9d[_0x574e7b(0x18b)][_0x574e7b(0x168)];break;default:return null;}return _0x49f329[_0x574e7b(0xb6)];}[_0x1d1ad4(0x18f)](_0x2b58aa){const _0x2b8093=_0x1d1ad4;_0x2b58aa[_0x2b8093(0x129)](_0x384a8e=>{const _0x301c82=_0x2b8093,_0x1c172f=_0x384a8e[_0x301c82(0x153)]();_0x1c172f[_0x301c82(0x155)]=_0x384a8e[_0x301c82(0x155)],_0x1c172f[_0x301c82(0x103)]=!!_0x384a8e[_0x301c82(0x103)],_0x1c172f[_0x301c82(0x17e)]=_0x384a8e[_0x301c82(0x17e)],_0x1c172f[_0x301c82(0x13c)]+=this[_0x301c82(0x190)],_0x384a8e[_0x301c82(0x124)]&&this[_0x301c82(0x142)][_0x301c82(0xdd)](_0x1c172f),this[_0x301c82(0xe6)][_0x301c82(0x12f)](_0x1c172f);});}[_0x1d1ad4(0x111)](_0x118b9d){const _0x3c4312=_0x1d1ad4,_0x408bdb=this[_0x3c4312(0x172)][_0x3c4312(0xff)][_0x3c4312(0xee)](_0x3c4312(0x148)),_0x74caa3=this[_0x3c4312(0x172)][_0x3c4312(0x132)];_0x118b9d||(_0x118b9d=_0x5d179b(_0x74caa3,_0x3c4312(0xa7))),_0x408bdb[_0x3c4312(0xad)](_0x118b9d,{'title':_0x5d179b(_0x74caa3,_0x3c4312(0x13b)),'namespace':_0x3c4312(0x123)}),this[_0x3c4312(0x13d)]=!0x0,clearTimeout(this[_0x3c4312(0xe3)]),this[_0x3c4312(0xae)]=[],this[_0x3c4312(0x172)][_0x3c4312(0xff)][_0x3c4312(0xee)](_0x2fd103)[_0x3c4312(0xa4)]();}[_0x1d1ad4(0x186)](){const _0x34445a=_0x1d1ad4;this[_0x34445a(0x14e)]||(this[_0x34445a(0x14e)]=this[_0x34445a(0x172)][_0x34445a(0xff)][_0x34445a(0xee)](_0x569255)[_0x34445a(0xdd)](_0x5d179b(this[_0x34445a(0x172)][_0x34445a(0x132)],_0x34445a(0x19f))));}[_0x1d1ad4(0x18e)](){const _0x544331=_0x1d1ad4;this[_0x544331(0x14e)]&&(this[_0x544331(0x172)][_0x544331(0xff)][_0x544331(0xee)](_0x569255)[_0x544331(0x150)](this[_0x544331(0x14e)]),this[_0x544331(0x14e)]=null);}[_0x1d1ad4(0xa5)](_0x5656a9){const _0x5672c5=_0x1d1ad4,_0x287243=_0x5656a9[_0x5672c5(0xe9)](_0x2d3976=>_0x2d3976[_0x5672c5(0x18c)]());return this[_0x5672c5(0x10a)][_0x5672c5(0x102)](_0x287243);}[_0x1d1ad4(0x12c)](_0x12f361,_0x30a290){const _0xe3e7f9=_0x1d1ad4;return this[_0xe3e7f9(0x10a)][_0xe3e7f9(0xba)](_0x12f361)[_0xe3e7f9(0xe9)]((_0x5b9b78,_0x11f445)=>{const _0x141376=_0xe3e7f9,_0x5c68ff=_0x141376(0xab)==_0x30a290[_0x11f445][_0x141376(0x101)];if(_0x141376(0xea)==_0x5b9b78[_0x141376(0x164)]){const _0x8c2cc=_0x5b9b78[_0x141376(0xa9)][_0x141376(0x168)];!this[_0x141376(0x136)][_0x141376(0x176)](_0x8c2cc)&&(this[_0x141376(0x136)][_0x141376(0xdf)](_0x141376(0x177),_0x8c2cc)[_0x141376(0x147)]=!0x1);}const _0x56aeed=_0x135e8d[_0x141376(0x16b)](_0x5b9b78,this[_0x141376(0x136)]);return _0x56aeed[_0x141376(0xb2)]=_0x5b9b78[_0x141376(0xb2)],_0x56aeed[_0x141376(0x103)]=_0x5c68ff,_0x56aeed[_0x141376(0x155)]=_0x5c68ff?null:_0x30a290[_0x11f445][_0x141376(0xeb)],_0x56aeed[_0x141376(0x124)]=_0x141376(0xf2)===_0x30a290[_0x11f445][_0x141376(0x101)],_0x56aeed[_0x141376(0x17e)]=_0x30a290[_0x11f445][_0x141376(0x17e)],_0x56aeed;});}[_0x1d1ad4(0x141)](){const _0x39f3ad=_0x1d1ad4;this[_0x39f3ad(0xbc)]=!0x0,this[_0x39f3ad(0xb7)]()?this[_0x39f3ad(0xe8)]():this[_0x39f3ad(0xbc)]=!0x1;}[_0x1d1ad4(0xb7)](){const _0x2fa913=_0x1d1ad4,_0x216cb2=this[_0x2fa913(0x172)][_0x2fa913(0xff)][_0x2fa913(0xee)](_0x58fd59)[_0x2fa913(0xbf)][_0x2fa913(0xee)](this[_0x2fa913(0xde)]);return!this[_0x2fa913(0x172)][_0x2fa913(0x144)]&&!!_0x216cb2&&_0x216cb2[_0x2fa913(0x181)]>0x1&&this[_0x2fa913(0xbc)];}[_0x1d1ad4(0x197)](){const _0x485802=_0x1d1ad4;return this[_0x485802(0xae)][_0x485802(0x181)]>0x0||this[_0x485802(0xb7)]();}}class $ extends Error{}function K(_0x2be1d4,_0x32e24c){const _0x3ab120=_0x1d1ad4;for(const _0x5a504a of _0x2be1d4)_0x5a504a[_0x3ab120(0x13c)]=_0x32e24c++;}class J{[_0x1d1ad4(0xbe)];[_0x1d1ad4(0xa8)];constructor(_0x40808d){const _0xdcf21b=_0x1d1ad4;this[_0xdcf21b(0xbe)]=_0x40808d,this[_0xdcf21b(0xa8)]=new WeakMap();}[_0x1d1ad4(0x17d)](_0x13c73d){const _0x400844=_0x1d1ad4;let _0x295a7b=_0x13c73d[_0x400844(0x181)];for(;_0x295a7b--;){const _0x412d70=_0x13c73d[_0x295a7b];if(!this[_0x400844(0xbe)][_0x400844(0xa6)](_0x412d70)){if(!this[_0x400844(0xa8)][_0x400844(0xa6)](_0x412d70)){const _0x557a1b=_0x22c58b()[_0x400844(0x10d)](0x1,0x12);this[_0x400844(0xa8)][_0x400844(0x15e)](_0x412d70,_0x557a1b);}return this[_0x400844(0xa8)][_0x400844(0xee)](_0x412d70);}}}[_0x1d1ad4(0xd7)](_0x109e28,_0x13aa62){const _0x45ebe5=_0x1d1ad4;if(!_0x13aa62)return;let _0x4ee1ff=_0x109e28[_0x45ebe5(0x181)];for(;_0x4ee1ff--;){const _0x3fceb4=_0x109e28[_0x4ee1ff];this[_0x45ebe5(0xbe)][_0x45ebe5(0xa6)](_0x3fceb4)||this[_0x45ebe5(0xa8)][_0x45ebe5(0x15e)](_0x3fceb4,_0x13aa62);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x170b50=_0x8003;(function(_0x2756c1,_0x3c4ab7){const _0x11cf54=_0x8003,_0x249aac=_0x2756c1();while(!![]){try{const _0x26db4a=parseInt(_0x11cf54(0x19c))/0x1*(-parseInt(_0x11cf54(0x193))/0x2)+parseInt(_0x11cf54(0x1c1))/0x3+-parseInt(_0x11cf54(0x19e))/0x4+parseInt(_0x11cf54(0x1a2))/0x5*(parseInt(_0x11cf54(0x1be))/0x6)+-parseInt(_0x11cf54(0x195))/0x7+parseInt(_0x11cf54(0x1a3))/0x8+-parseInt(_0x11cf54(0x1a5))/0x9*(-parseInt(_0x11cf54(0x19d))/0xa);if(_0x26db4a===_0x3c4ab7)break;else _0x249aac['push'](_0x249aac['shift']());}catch(_0x10d423){_0x249aac['push'](_0x249aac['shift']());}}}(_0x48c9,0xe36a7));import{ContextPlugin as _0x54e2e6}from'ckeditor5/src/core.js';function _0x48c9(){const _0x17fc56=['3134445xrLUiS','defineMe','forEach','context','values','size','channelSessions','listenTo','unregister','state','sessionAdd:','connected','channelConnectedUsers','sessions-register-already-registered','isMe','getUserBySessionId','isOfficialPlugin','8nfuHgj','change:state','11731930kgPlaL','pluginName','orderNumber','remove','delete','connection','mySessionId','423874ZixKMO','20DjMhTU','2875832isOZty','has','add','requires','220TgcOje','6963136aVkmdz','_handleSessionRemove','9751806UXqXXz','fire','getUserSessions','init','set','plugins','addUser','stopListening','role','sessions-unregister-not-exist','_createUser','getUserRole','Sessions','get','assign','allConnectedUsers','isPremiumPlugin','_uniqueUsersCount','_users','register','clear','_registeredSessions','sessionId','_handleSessionAdd','user','128136rZsAsd','hiddenInPresenceList','getUser'];_0x48c9=function(){return _0x17fc56;};return _0x48c9();}import{Collection as _0x28bf9a,CKEditorError as _0x29b2bd}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2f2c0e}from'./websocketgateway.js';import{Users as _0xba84}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8003(_0x397418,_0x1f6e09){const _0x48c9fc=_0x48c9();return _0x8003=function(_0x80035d,_0x53da4b){_0x80035d=_0x80035d-0x193;let _0x3987ab=_0x48c9fc[_0x80035d];return _0x3987ab;},_0x8003(_0x397418,_0x1f6e09);}export class Sessions extends _0x54e2e6{[_0x170b50(0x1c7)];[_0x170b50(0x1cd)];[_0x170b50(0x1b4)];[_0x170b50(0x1ba)];[_0x170b50(0x1b6)];[_0x170b50(0x1b7)];static get[_0x170b50(0x196)](){const _0x4c4c2e=_0x170b50;return _0x4c4c2e(0x1b1);}static get[_0x170b50(0x1d1)](){return!0x0;}static get[_0x170b50(0x1b5)](){return!0x0;}static get[_0x170b50(0x1a1)](){return[_0x2f2c0e,_0xba84];}constructor(_0x1ba244){const _0x177792=_0x170b50;super(_0x1ba244),this[_0x177792(0x1c7)]=new Map(),this[_0x177792(0x1cd)]=new Map(),this[_0x177792(0x1b4)]=new _0x28bf9a(),this[_0x177792(0x1ba)]=new Map(),this[_0x177792(0x1b6)]=0x0,this[_0x177792(0x1b7)]=this[_0x177792(0x1c4)][_0x177792(0x1aa)][_0x177792(0x1b2)](_0xba84);}[_0x170b50(0x1a8)](){const _0x18c925=_0x170b50,_0x1bcb02=this[_0x18c925(0x1c4)][_0x18c925(0x1aa)][_0x18c925(0x1b2)](_0x2f2c0e);this[_0x18c925(0x1c8)](_0x1bcb02,_0x18c925(0x194),(_0x19361a,_0x3c9554,_0x302184)=>{const _0xf70cd4=_0x18c925;if(_0xf70cd4(0x1cc)!==_0x302184)this[_0xf70cd4(0x1c7)][_0xf70cd4(0x1c3)](_0x84c35c=>_0x84c35c[_0xf70cd4(0x1b9)]()),this[_0xf70cd4(0x1cd)][_0xf70cd4(0x1c3)](_0x1206ea=>_0x1206ea[_0xf70cd4(0x1b9)]()),this[_0xf70cd4(0x1b4)][_0xf70cd4(0x1b9)]();else{for(const [_0x3b6ea2,_0x4e5f9b]of this[_0xf70cd4(0x1ba)])for(const _0x5dd7bc of _0x4e5f9b)this[_0xf70cd4(0x1bc)](_0x3b6ea2,_0x5dd7bc);}}),this[_0x18c925(0x1af)](_0x1bcb02[_0x18c925(0x19a)]['me'],!0x0);}[_0x170b50(0x1b8)](_0x327bd4,_0x44e4e4){const _0x2ba7d5=_0x170b50;if(this[_0x2ba7d5(0x1ba)][_0x2ba7d5(0x19f)](_0x327bd4))throw new _0x29b2bd(_0x2ba7d5(0x1ce),null,{'channelId':_0x327bd4});this[_0x2ba7d5(0x1ba)][_0x2ba7d5(0x1a9)](_0x327bd4,_0x44e4e4),this[_0x2ba7d5(0x1c7)][_0x2ba7d5(0x1a9)](_0x327bd4,new _0x28bf9a()),this[_0x2ba7d5(0x1cd)][_0x2ba7d5(0x1a9)](_0x327bd4,new _0x28bf9a()),this[_0x2ba7d5(0x1c8)](_0x44e4e4,_0x2ba7d5(0x1a0),(_0x13caf3,_0x73eab5)=>this[_0x2ba7d5(0x1bc)](_0x327bd4,_0x73eab5)),this[_0x2ba7d5(0x1c8)](_0x44e4e4,_0x2ba7d5(0x198),(_0x3a5a72,_0x2dfb05)=>this[_0x2ba7d5(0x1a4)](_0x327bd4,_0x2dfb05));for(const _0x452ebd of _0x44e4e4)this[_0x2ba7d5(0x1bc)](_0x327bd4,_0x452ebd);}[_0x170b50(0x1c9)](_0x19293d){const _0x156905=_0x170b50;if(!this[_0x156905(0x1ba)][_0x156905(0x19f)](_0x19293d))throw new _0x29b2bd(_0x156905(0x1ae),null,{'channelId':_0x19293d});const _0x41714c=this[_0x156905(0x1ba)][_0x156905(0x1b2)](_0x19293d);this[_0x156905(0x1ac)](_0x41714c);for(const _0x1afed8 of _0x41714c)_0x156905(0x1cc)===this[_0x156905(0x1c4)][_0x156905(0x1aa)][_0x156905(0x1b2)](_0x2f2c0e)[_0x156905(0x1ca)]&&this[_0x156905(0x1a4)](_0x19293d,_0x1afed8);this[_0x156905(0x1ba)][_0x156905(0x199)](_0x19293d),this[_0x156905(0x1c7)][_0x156905(0x199)](_0x19293d),this[_0x156905(0x1cd)][_0x156905(0x199)](_0x19293d);}get[_0x170b50(0x19b)](){const _0x2f1988=_0x170b50;return this[_0x2f1988(0x1c4)][_0x2f1988(0x1aa)][_0x2f1988(0x1b2)](_0x2f2c0e)[_0x2f1988(0x19a)][_0x2f1988(0x1bb)];}[_0x170b50(0x1d0)](_0x34c752){const _0x383e16=_0x170b50;for(const _0x5bf24a of this[_0x383e16(0x1c7)][_0x383e16(0x1c5)]())for(const _0x44df34 of _0x5bf24a)if(_0x44df34['id']===_0x34c752)return _0x44df34[_0x383e16(0x1bd)];}[_0x170b50(0x1a7)](_0x2bea80,_0x290d1d){const _0x5b3a41=_0x170b50,_0x3f7d06=_0x290d1d?[this[_0x5b3a41(0x1c7)][_0x5b3a41(0x1b2)](_0x290d1d)]:this[_0x5b3a41(0x1c7)][_0x5b3a41(0x1c5)](),_0x59e960=new Set();for(const _0x1653ac of _0x3f7d06)for(const _0x31a77d of _0x1653ac)_0x31a77d[_0x5b3a41(0x1bd)]['id']===_0x2bea80['id']&&_0x59e960[_0x5b3a41(0x1a0)](_0x31a77d['id']);return _0x59e960;}[_0x170b50(0x1b0)](_0xa712a){const _0x170e2b=_0x170b50;for(const _0x47df8f of this[_0x170e2b(0x1c7)][_0x170e2b(0x1c5)]())for(const _0x37cb7b of _0x47df8f)if(_0x37cb7b[_0x170e2b(0x1bd)]===_0xa712a)return _0x37cb7b[_0x170e2b(0x1ad)];}[_0x170b50(0x1bc)](_0x267b38,_0x286b1c){const _0x1c8929=_0x170b50;if(_0x1c8929(0x1cc)!==this[_0x1c8929(0x1c4)][_0x1c8929(0x1aa)][_0x1c8929(0x1b2)](_0x2f2c0e)[_0x1c8929(0x1ca)])return;const _0x555fa2=_0x286b1c[_0x1c8929(0x1bd)],_0x1c9dd0=this[_0x1c8929(0x1b7)][_0x1c8929(0x1c0)](_0x555fa2['id'])||this[_0x1c8929(0x1af)](_0x555fa2),_0x28d089=Object[_0x1c8929(0x1b3)]({},_0x286b1c,{'user':_0x1c9dd0});if(this[_0x1c8929(0x1c7)][_0x1c8929(0x1b2)](_0x267b38)[_0x1c8929(0x1a0)](_0x28d089),!_0x555fa2[_0x1c8929(0x1bf)]){const _0x1a7e1a=this[_0x1c8929(0x1cd)][_0x1c8929(0x1b2)](_0x267b38);_0x1a7e1a[_0x1c8929(0x19f)](_0x1c9dd0['id'])||_0x1a7e1a[_0x1c8929(0x1a0)](_0x1c9dd0),this[_0x1c8929(0x1b4)][_0x1c8929(0x19f)](_0x1c9dd0['id'])||_0x555fa2[_0x1c8929(0x1bf)]||this[_0x1c8929(0x1b4)][_0x1c8929(0x1a0)](_0x1c9dd0,_0x1c9dd0[_0x1c8929(0x1cf)]?0x0:void 0x0);}this[_0x1c8929(0x1a6)](_0x1c8929(0x1cb)+_0x267b38,{'channelId':_0x267b38,'session':_0x28d089});}[_0x170b50(0x1a4)](_0x2cb80a,_0x161b95){const _0x2e874c=_0x170b50;if(_0x2e874c(0x1cc)!==this[_0x2e874c(0x1c4)][_0x2e874c(0x1aa)][_0x2e874c(0x1b2)](_0x2f2c0e)[_0x2e874c(0x1ca)])return;const _0x367306=this[_0x2e874c(0x1cd)][_0x2e874c(0x1b2)](_0x2cb80a),_0x56bf38=_0x161b95[_0x2e874c(0x1bd)];_0x56bf38['id']&&(this[_0x2e874c(0x1c7)][_0x2e874c(0x1b2)](_0x2cb80a)[_0x2e874c(0x198)](_0x161b95['id']),_0x367306[_0x2e874c(0x19f)](_0x56bf38['id'])&&!this[_0x2e874c(0x1a7)](_0x56bf38,_0x2cb80a)[_0x2e874c(0x1c6)]&&_0x367306[_0x2e874c(0x198)](_0x56bf38['id']),this[_0x2e874c(0x1b4)][_0x2e874c(0x1b2)](_0x56bf38['id'])&&!this[_0x2e874c(0x1a7)](_0x56bf38)[_0x2e874c(0x1c6)]&&this[_0x2e874c(0x1b4)][_0x2e874c(0x198)](_0x56bf38['id']));}[_0x170b50(0x1af)](_0x1c82fc,_0x32a562){const _0x2295e3=_0x170b50,_0x257ef6=this[_0x2295e3(0x1b7)][_0x2295e3(0x1ab)](_0x1c82fc);return _0x32a562&&this[_0x2295e3(0x1b7)][_0x2295e3(0x1c2)](_0x1c82fc['id']),_0x257ef6[_0x2295e3(0x197)]=this[_0x2295e3(0x1b6)]++,_0x257ef6;}}
23
+ const _0x255c5f=_0x32f3;(function(_0x190db5,_0x56c30b){const _0x3d3183=_0x32f3,_0x1c5bf6=_0x190db5();while(!![]){try{const _0x22dc15=parseInt(_0x3d3183(0x1d9))/0x1*(parseInt(_0x3d3183(0x1d1))/0x2)+-parseInt(_0x3d3183(0x1f2))/0x3*(parseInt(_0x3d3183(0x1cc))/0x4)+-parseInt(_0x3d3183(0x1dc))/0x5*(-parseInt(_0x3d3183(0x1d2))/0x6)+parseInt(_0x3d3183(0x1f7))/0x7+-parseInt(_0x3d3183(0x1d5))/0x8+parseInt(_0x3d3183(0x1cf))/0x9+-parseInt(_0x3d3183(0x1d6))/0xa;if(_0x22dc15===_0x56c30b)break;else _0x1c5bf6['push'](_0x1c5bf6['shift']());}catch(_0x43e43b){_0x1c5bf6['push'](_0x1c5bf6['shift']());}}}(_0x4e9f,0xe6ea6));function _0x4e9f(){const _0x456a8b=['211329tZDhsg','listenTo','166wQHciw','4236meRoxY','pluginName','unregister','12111456wtDEDp','10314380alxmvv','plugins','get','20442CTUdvj','user','assign','6680xDivtE','_uniqueUsersCount','init','size','has','set','change:state','connected','orderNumber','register','requires','getUserSessions','stopListening','isOfficialPlugin','values','allConnectedUsers','defineMe','sessions-unregister-not-exist','delete','remove','getUserRole','isMe','3UyjzXZ','connection','addUser','sessionId','clear','13128388cjYTGW','forEach','state','fire','_users','_createUser','sessions-register-already-registered','_handleSessionRemove','channelConnectedUsers','Sessions','channelSessions','sessionAdd:','_registeredSessions','add','getUserBySessionId','isPremiumPlugin','role','_handleSessionAdd','context','getUser','4190668PLnZeB','hiddenInPresenceList','mySessionId'];_0x4e9f=function(){return _0x456a8b;};return _0x4e9f();}import{ContextPlugin as _0x495287}from'ckeditor5/src/core.js';import{Collection as _0x1f2c99,CKEditorError as _0x107bd6}from'ckeditor5/src/utils.js';function _0x32f3(_0x1ca593,_0x712da9){const _0x4e9f6a=_0x4e9f();return _0x32f3=function(_0x32f3da,_0x19e4f1){_0x32f3da=_0x32f3da-0x1c9;let _0x2f8770=_0x4e9f6a[_0x32f3da];return _0x2f8770;},_0x32f3(_0x1ca593,_0x712da9);}import{WebSocketGateway as _0x1eb504}from'./websocketgateway.js';import{Users as _0x44cfc3}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x495287{[_0x255c5f(0x201)];[_0x255c5f(0x1ff)];[_0x255c5f(0x1eb)];[_0x255c5f(0x203)];[_0x255c5f(0x1dd)];[_0x255c5f(0x1fb)];static get[_0x255c5f(0x1d3)](){const _0x3490cb=_0x255c5f;return _0x3490cb(0x200);}static get[_0x255c5f(0x1e9)](){return!0x0;}static get[_0x255c5f(0x206)](){return!0x0;}static get[_0x255c5f(0x1e6)](){return[_0x1eb504,_0x44cfc3];}constructor(_0x594c41){const _0xd5fbae=_0x255c5f;super(_0x594c41),this[_0xd5fbae(0x201)]=new Map(),this[_0xd5fbae(0x1ff)]=new Map(),this[_0xd5fbae(0x1eb)]=new _0x1f2c99(),this[_0xd5fbae(0x203)]=new Map(),this[_0xd5fbae(0x1dd)]=0x0,this[_0xd5fbae(0x1fb)]=this[_0xd5fbae(0x1ca)][_0xd5fbae(0x1d7)][_0xd5fbae(0x1d8)](_0x44cfc3);}[_0x255c5f(0x1de)](){const _0x1a609f=_0x255c5f,_0xd89e7=this[_0x1a609f(0x1ca)][_0x1a609f(0x1d7)][_0x1a609f(0x1d8)](_0x1eb504);this[_0x1a609f(0x1d0)](_0xd89e7,_0x1a609f(0x1e2),(_0x5315d4,_0x502b97,_0x40d90b)=>{const _0x4c0ce1=_0x1a609f;if(_0x4c0ce1(0x1e3)!==_0x40d90b)this[_0x4c0ce1(0x201)][_0x4c0ce1(0x1f8)](_0x5aaf64=>_0x5aaf64[_0x4c0ce1(0x1f6)]()),this[_0x4c0ce1(0x1ff)][_0x4c0ce1(0x1f8)](_0xe4b26f=>_0xe4b26f[_0x4c0ce1(0x1f6)]()),this[_0x4c0ce1(0x1eb)][_0x4c0ce1(0x1f6)]();else{for(const [_0x1854ee,_0x2fd73f]of this[_0x4c0ce1(0x203)])for(const _0x43b413 of _0x2fd73f)this[_0x4c0ce1(0x1c9)](_0x1854ee,_0x43b413);}}),this[_0x1a609f(0x1fc)](_0xd89e7[_0x1a609f(0x1f3)]['me'],!0x0);}[_0x255c5f(0x1e5)](_0x5eb2b5,_0x553515){const _0x298a24=_0x255c5f;if(this[_0x298a24(0x203)][_0x298a24(0x1e0)](_0x5eb2b5))throw new _0x107bd6(_0x298a24(0x1fd),null,{'channelId':_0x5eb2b5});this[_0x298a24(0x203)][_0x298a24(0x1e1)](_0x5eb2b5,_0x553515),this[_0x298a24(0x201)][_0x298a24(0x1e1)](_0x5eb2b5,new _0x1f2c99()),this[_0x298a24(0x1ff)][_0x298a24(0x1e1)](_0x5eb2b5,new _0x1f2c99()),this[_0x298a24(0x1d0)](_0x553515,_0x298a24(0x204),(_0x1ee6be,_0xf95c56)=>this[_0x298a24(0x1c9)](_0x5eb2b5,_0xf95c56)),this[_0x298a24(0x1d0)](_0x553515,_0x298a24(0x1ef),(_0x197296,_0x36d195)=>this[_0x298a24(0x1fe)](_0x5eb2b5,_0x36d195));for(const _0x434523 of _0x553515)this[_0x298a24(0x1c9)](_0x5eb2b5,_0x434523);}[_0x255c5f(0x1d4)](_0x394e13){const _0x55b2a9=_0x255c5f;if(!this[_0x55b2a9(0x203)][_0x55b2a9(0x1e0)](_0x394e13))throw new _0x107bd6(_0x55b2a9(0x1ed),null,{'channelId':_0x394e13});const _0x35db86=this[_0x55b2a9(0x203)][_0x55b2a9(0x1d8)](_0x394e13);this[_0x55b2a9(0x1e8)](_0x35db86);for(const _0x22bd31 of _0x35db86)_0x55b2a9(0x1e3)===this[_0x55b2a9(0x1ca)][_0x55b2a9(0x1d7)][_0x55b2a9(0x1d8)](_0x1eb504)[_0x55b2a9(0x1f9)]&&this[_0x55b2a9(0x1fe)](_0x394e13,_0x22bd31);this[_0x55b2a9(0x203)][_0x55b2a9(0x1ee)](_0x394e13),this[_0x55b2a9(0x201)][_0x55b2a9(0x1ee)](_0x394e13),this[_0x55b2a9(0x1ff)][_0x55b2a9(0x1ee)](_0x394e13);}get[_0x255c5f(0x1ce)](){const _0x31fa05=_0x255c5f;return this[_0x31fa05(0x1ca)][_0x31fa05(0x1d7)][_0x31fa05(0x1d8)](_0x1eb504)[_0x31fa05(0x1f3)][_0x31fa05(0x1f5)];}[_0x255c5f(0x205)](_0x2869e7){const _0x369008=_0x255c5f;for(const _0x5c8bd4 of this[_0x369008(0x201)][_0x369008(0x1ea)]())for(const _0x1ea34c of _0x5c8bd4)if(_0x1ea34c['id']===_0x2869e7)return _0x1ea34c[_0x369008(0x1da)];}[_0x255c5f(0x1e7)](_0x1f32f7,_0x52e925){const _0x391213=_0x255c5f,_0x10e31e=_0x52e925?[this[_0x391213(0x201)][_0x391213(0x1d8)](_0x52e925)]:this[_0x391213(0x201)][_0x391213(0x1ea)](),_0x19f45e=new Set();for(const _0x5316cb of _0x10e31e)for(const _0x1bd5b3 of _0x5316cb)_0x1bd5b3[_0x391213(0x1da)]['id']===_0x1f32f7['id']&&_0x19f45e[_0x391213(0x204)](_0x1bd5b3['id']);return _0x19f45e;}[_0x255c5f(0x1f0)](_0x381fc0){const _0xdd2dd2=_0x255c5f;for(const _0x574629 of this[_0xdd2dd2(0x201)][_0xdd2dd2(0x1ea)]())for(const _0x1e1bba of _0x574629)if(_0x1e1bba[_0xdd2dd2(0x1da)]===_0x381fc0)return _0x1e1bba[_0xdd2dd2(0x207)];}[_0x255c5f(0x1c9)](_0x5aa7a3,_0xa555c2){const _0x3b51e6=_0x255c5f;if(_0x3b51e6(0x1e3)!==this[_0x3b51e6(0x1ca)][_0x3b51e6(0x1d7)][_0x3b51e6(0x1d8)](_0x1eb504)[_0x3b51e6(0x1f9)])return;const _0x19ed88=_0xa555c2[_0x3b51e6(0x1da)],_0x305c46=this[_0x3b51e6(0x1fb)][_0x3b51e6(0x1cb)](_0x19ed88['id'])||this[_0x3b51e6(0x1fc)](_0x19ed88),_0x469d9a=Object[_0x3b51e6(0x1db)]({},_0xa555c2,{'user':_0x305c46});if(this[_0x3b51e6(0x201)][_0x3b51e6(0x1d8)](_0x5aa7a3)[_0x3b51e6(0x204)](_0x469d9a),!_0x19ed88[_0x3b51e6(0x1cd)]){const _0x4eca3b=this[_0x3b51e6(0x1ff)][_0x3b51e6(0x1d8)](_0x5aa7a3);_0x4eca3b[_0x3b51e6(0x1e0)](_0x305c46['id'])||_0x4eca3b[_0x3b51e6(0x204)](_0x305c46),this[_0x3b51e6(0x1eb)][_0x3b51e6(0x1e0)](_0x305c46['id'])||_0x19ed88[_0x3b51e6(0x1cd)]||this[_0x3b51e6(0x1eb)][_0x3b51e6(0x204)](_0x305c46,_0x305c46[_0x3b51e6(0x1f1)]?0x0:void 0x0);}this[_0x3b51e6(0x1fa)](_0x3b51e6(0x202)+_0x5aa7a3,{'channelId':_0x5aa7a3,'session':_0x469d9a});}[_0x255c5f(0x1fe)](_0x6beb3,_0x12906c){const _0x6e6b37=_0x255c5f;if(_0x6e6b37(0x1e3)!==this[_0x6e6b37(0x1ca)][_0x6e6b37(0x1d7)][_0x6e6b37(0x1d8)](_0x1eb504)[_0x6e6b37(0x1f9)])return;const _0x2e14dd=this[_0x6e6b37(0x1ff)][_0x6e6b37(0x1d8)](_0x6beb3),_0xceaa61=_0x12906c[_0x6e6b37(0x1da)];_0xceaa61['id']&&(this[_0x6e6b37(0x201)][_0x6e6b37(0x1d8)](_0x6beb3)[_0x6e6b37(0x1ef)](_0x12906c['id']),_0x2e14dd[_0x6e6b37(0x1e0)](_0xceaa61['id'])&&!this[_0x6e6b37(0x1e7)](_0xceaa61,_0x6beb3)[_0x6e6b37(0x1df)]&&_0x2e14dd[_0x6e6b37(0x1ef)](_0xceaa61['id']),this[_0x6e6b37(0x1eb)][_0x6e6b37(0x1d8)](_0xceaa61['id'])&&!this[_0x6e6b37(0x1e7)](_0xceaa61)[_0x6e6b37(0x1df)]&&this[_0x6e6b37(0x1eb)][_0x6e6b37(0x1ef)](_0xceaa61['id']));}[_0x255c5f(0x1fc)](_0x437a61,_0x41ec39){const _0x3aa5f6=_0x255c5f,_0x471ba0=this[_0x3aa5f6(0x1fb)][_0x3aa5f6(0x1f4)](_0x437a61);return _0x41ec39&&this[_0x3aa5f6(0x1fb)][_0x3aa5f6(0x1ec)](_0x437a61['id']),_0x471ba0[_0x3aa5f6(0x1e4)]=this[_0x3aa5f6(0x1dd)]++,_0x471ba0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f94(_0x4813e1,_0x5b6bd3){const _0x32c3b8=_0x32c3();return _0x1f94=function(_0x1f9413,_0x580fc5){_0x1f9413=_0x1f9413-0x125;let _0x107a49=_0x32c3b8[_0x1f9413];return _0x107a49;},_0x1f94(_0x4813e1,_0x5b6bd3);}const _0x5e8d7f=_0x1f94;(function(_0x560b31,_0x53f014){const _0x5a8497=_0x1f94,_0x596c5e=_0x560b31();while(!![]){try{const _0x522b1c=parseInt(_0x5a8497(0x17f))/0x1*(-parseInt(_0x5a8497(0x132))/0x2)+-parseInt(_0x5a8497(0x193))/0x3+-parseInt(_0x5a8497(0x1aa))/0x4*(parseInt(_0x5a8497(0x17e))/0x5)+parseInt(_0x5a8497(0x191))/0x6*(parseInt(_0x5a8497(0x129))/0x7)+-parseInt(_0x5a8497(0x1a3))/0x8*(-parseInt(_0x5a8497(0x178))/0x9)+parseInt(_0x5a8497(0x13a))/0xa*(parseInt(_0x5a8497(0x15e))/0xb)+-parseInt(_0x5a8497(0x19a))/0xc*(-parseInt(_0x5a8497(0x174))/0xd);if(_0x522b1c===_0x53f014)break;else _0x596c5e['push'](_0x596c5e['shift']());}catch(_0x21f9e6){_0x596c5e['push'](_0x596c5e['shift']());}}}(_0x32c3,0x25102));import{Plugin as _0x28753b}from'ckeditor5/src/core.js';import{global as _0x35da09,DomEmitterMixin as _0x523aa1}from'ckeditor5/src/utils.js';function _0x32c3(){const _0x534b77=['change','enqueueChange','user:position','orderNumber','Escape','$graveyard','clear','getAttribute','mySessionId','1638263nFfcHh','getRange','createRange','color','rootName','editing','split','markerName','ck-user__marker_hovered','listenTo','fromRange','markerRange','startsWith','requires','deletionPosition','mapper','highest','commands','ck-user__marker-tooltip','delete','span','addMarker','921037kQLIsw','add','undo','getStart','991773oxEqVn','false','schema','batch','markerToHighlight','checkChild','862115yxwLLp','6gSdtef','start','isOfficialPlugin','change:range','spellcheck','name','toDomElement','setCustomProperty','detach','keydown','parent','textContent','getUserBySessionId','update:user:range','conversion','render','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','type','309378WzXsJQ','classList','221448zKYuiz','markers','user:range','hasContent','addEventListener','plugins','getCustomProperty','24SEMlVu','isInline','stopListening','outerHTML','applyOperation','markerToElement','mouseenter','createElement','contenteditable','8NulDhj','element','user:','$text','user:position:','isLimit','init','4RhgDGM','root','removeMarker','nodeAfter','selection','pluginName','getFirstRange','document','remove','isDocumentOperation','updateMarker','size','UserMarkers','14lUVYBf','isCollapsed','reconvertMarker','_createdBatches','editor','getSelectionClass','destroy','markerNameToElements','createUIElement','84946upixyX','tableCell','view','ck-user__selection','afterInit','toRange','end','model','20NxKwZk','getNearestSelectionRange','_domEmitter','has','get','isSimilar','isObject','getMarkerClass','createUserMarkerOperations','setAttribute','newRange','getContainedElement','user:range:','editingDowncast','hasDomSelection','getPositions','removeClass','for','userPositionMarker','innerHTML','oldRange','data-session-id','mouseleave','isPremiumPlugin','set','marker','ck-user__marker\x20'];_0x32c3=function(){return _0x534b77;};return _0x32c3();}import{Sessions as _0x3e09bc}from'./sessions.js';import{ModelLiveRange as _0x23859d}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x28753b{[_0x5e8d7f(0x13c)]=new(_0x523aa1())();static get[_0x5e8d7f(0x16b)](){return[_0x3e09bc];}static get[_0x5e8d7f(0x1af)](){const _0x4a3584=_0x5e8d7f;return _0x4a3584(0x128);}static get[_0x5e8d7f(0x181)](){return!0x0;}static get[_0x5e8d7f(0x151)](){return!0x0;}[_0x5e8d7f(0x1a9)](){const _0x1f6d49=_0x5e8d7f,_0x23fc4b=this[_0x1f6d49(0x12d)],_0x2f1ab5=_0x23fc4b[_0x1f6d49(0x198)][_0x1f6d49(0x13e)](_0x3e09bc);_0x23fc4b[_0x1f6d49(0x18d)][_0x1f6d49(0x14b)](_0x1f6d49(0x147))[_0x1f6d49(0x19f)]({'model':_0x1f6d49(0x157),'view':(_0x20fc6f,{writer:_0x55a0b3})=>function(_0x124b6a,_0x437ae5,_0x47acf7,_0x5031be){const _0x28cf9e=_0x1f6d49,_0x1e19b1=_0x124b6a[_0x28cf9e(0x165)][_0x28cf9e(0x164)](':')[0x2],_0x1931aa=_0x47acf7[_0x28cf9e(0x18b)](_0x1e19b1);if(!_0x1931aa||_0x1e19b1===_0x47acf7[_0x28cf9e(0x15d)])return;if(!_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x17a)][_0x28cf9e(0x17d)](_0x124b6a[_0x28cf9e(0x169)][_0x28cf9e(0x180)],_0x28cf9e(0x1a6)))return;const _0x5be588={'class':_0x28cf9e(0x154)+_0x1931aa[_0x28cf9e(0x161)][_0x28cf9e(0x141)](),'data-name':_0x1931aa[_0x28cf9e(0x184)],'data-session-id':_0x1e19b1},_0x9ea87b=_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x194)][_0x28cf9e(0x13e)](_0x124b6a[_0x28cf9e(0x165)]),_0x12bfc2=_0x9ea87b[_0x28cf9e(0x177)](),_0x163f22=_0x12bfc2[_0x28cf9e(0x1ad)],_0x3144db=_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x17a)];if(_0x163f22&&_0x3144db[_0x28cf9e(0x140)](_0x163f22)&&_0x3144db[_0x28cf9e(0x19b)](_0x163f22)&&!_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x194)][_0x28cf9e(0x13e)](_0x28cf9e(0x146)+_0x1e19b1)[_0x28cf9e(0x15f)]()[_0x28cf9e(0x12a)])return;const _0x5ae3db=_0x12bfc2[_0x28cf9e(0x189)];return _0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x17a)][_0x28cf9e(0x1a8)](_0x5ae3db)&&!_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x196)](_0x5ae3db)&&(_0x5be588[_0x28cf9e(0x1a2)]=!0x1),function(_0x1e6dc0,_0x4507e9,_0x45a011){const _0x1ff092=_0x28cf9e,_0x51829c=_0x1e6dc0[_0x1ff092(0x131)](_0x1ff092(0x172),_0x4507e9);return _0x1e6dc0[_0x1ff092(0x186)](_0x1ff092(0x14c),!0x0,_0x51829c),_0x51829c[_0x1ff092(0x18e)]=function(_0x5a2bbe){const _0x48741e=_0x1ff092,_0x3a7b14=this[_0x48741e(0x185)](_0x5a2bbe),_0x27fc88=document[_0x48741e(0x1a1)](_0x48741e(0x172));return _0x27fc88[_0x48741e(0x192)][_0x48741e(0x175)](_0x48741e(0x170)),_0x27fc88[_0x48741e(0x143)](_0x48741e(0x1a2),_0x48741e(0x179)),_0x27fc88[_0x48741e(0x143)](_0x48741e(0x183),_0x48741e(0x179)),_0x27fc88[_0x48741e(0x18a)]=_0x45a011[_0x48741e(0x184)],_0x3a7b14[_0x48741e(0x14d)]=_0x48741e(0x18f)+_0x27fc88[_0x48741e(0x19d)]+'⁠',_0x3a7b14[_0x48741e(0x197)](_0x48741e(0x1a0),()=>{const _0x9b0746=_0x48741e;_0x3a7b14[_0x9b0746(0x192)][_0x9b0746(0x175)](_0x9b0746(0x166));}),_0x3a7b14[_0x48741e(0x197)](_0x48741e(0x150),()=>{const _0x402969=_0x48741e;_0x3a7b14[_0x402969(0x192)][_0x402969(0x1b2)](_0x402969(0x166));}),_0x3a7b14;},_0x51829c[_0x1ff092(0x13f)]=function(_0x198b22){const _0x5bd33d=_0x1ff092;return!(!this[_0x5bd33d(0x199)](_0x5bd33d(0x14c))||!_0x198b22[_0x5bd33d(0x199)](_0x5bd33d(0x14c))||this[_0x5bd33d(0x15c)](_0x5bd33d(0x14f))!=_0x198b22[_0x5bd33d(0x15c)](_0x5bd33d(0x14f)));},_0x51829c;}(_0x437ae5,_0x5be588,_0x1931aa);}(_0x20fc6f,_0x55a0b3,_0x2f1ab5,_0x23fc4b)}),_0x23fc4b[_0x1f6d49(0x18d)][_0x1f6d49(0x14b)](_0x1f6d49(0x147))[_0x1f6d49(0x17c)]({'model':_0x1f6d49(0x195),'view':_0x25291e=>function(_0xd2d8aa,_0x47c5bb){const _0x20b033=_0x1f6d49,_0x2eb077=_0xd2d8aa[_0x20b033(0x165)][_0x20b033(0x164)](':')[0x2];if(_0x2eb077===_0x47c5bb[_0x20b033(0x15d)])return null;const _0x155e63=_0x47c5bb[_0x20b033(0x18b)](_0x2eb077);if(!_0x155e63)return{'id':_0x2eb077,'classes':[]};return{'id':_0x2eb077,'classes':[_0x20b033(0x135),_0x155e63[_0x20b033(0x161)][_0x20b033(0x12e)]()],'attributes':{'data-session-id':_0x2eb077},'priority':0x7d0+_0x155e63[_0x20b033(0x158)]};}(_0x25291e,_0x2f1ab5)}),function(_0x176e63){const _0x4a6969=_0x1f6d49,_0x209d75=_0x176e63[_0x4a6969(0x139)],_0x37cc64=new Map(),_0x355793=_0x176e63[_0x4a6969(0x198)][_0x4a6969(0x13e)](_0x3e09bc);_0x209d75[_0x4a6969(0x194)]['on'](_0x4a6969(0x18c),(_0x3fe3a4,_0x43e4ad,_0x3ac896,_0x1300ca)=>{const _0x513374=_0x4a6969;if(!_0x1300ca&&_0x37cc64[_0x513374(0x13e)](_0x43e4ad[_0x513374(0x184)]))return _0x37cc64[_0x513374(0x13e)](_0x43e4ad[_0x513374(0x184)])[_0x513374(0x187)](),void _0x37cc64[_0x513374(0x171)](_0x43e4ad[_0x513374(0x184)]);const _0x2fbc14=_0x43e4ad[_0x513374(0x184)][_0x513374(0x164)](':')[0x2];if(_0x2fbc14===_0x355793[_0x513374(0x15d)])return;const _0x10cd6f=_0x513374(0x1a7)+_0x2fbc14;_0x209d75[_0x513374(0x194)][_0x513374(0x13d)](_0x10cd6f)&&_0x176e63[_0x513374(0x163)][_0x513374(0x12b)](_0x10cd6f),_0x43e4ad['on'](_0x513374(0x182),(_0x411306,_0x214f62,_0x3434c2)=>{const _0x47e05a=_0x513374;if(_0x47e05a(0x15a)!=_0x214f62[_0x47e05a(0x1ab)][_0x47e05a(0x162)]&&_0x47e05a(0x15a)==_0x43e4ad[_0x47e05a(0x15f)]()[_0x47e05a(0x1ab)][_0x47e05a(0x162)]&&!_0x37cc64[_0x47e05a(0x13d)](_0x43e4ad[_0x47e05a(0x184)])){const _0x1243bf=_0x209d75[_0x47e05a(0x17a)][_0x47e05a(0x13b)](_0x3434c2[_0x47e05a(0x16c)]);if(_0x1243bf){const _0xdf0428=_0x23859d[_0x47e05a(0x168)](_0x1243bf);_0x37cc64[_0x47e05a(0x152)](_0x43e4ad[_0x47e05a(0x184)],_0xdf0428),_0xdf0428['on'](_0x47e05a(0x182),(_0xaa0e9d,_0x4c5b64,_0xb1188c)=>{const _0x339e27=_0x47e05a;if(_0x339e27(0x15a)==_0xdf0428[_0x339e27(0x1ab)][_0x339e27(0x162)]){const _0x292923=_0x209d75[_0x339e27(0x17a)][_0x339e27(0x13b)](_0xb1188c[_0x339e27(0x16c)]);_0x292923?(_0xdf0428[_0x339e27(0x180)]=_0x292923[_0x339e27(0x180)],_0xdf0428[_0x339e27(0x138)]=_0x292923[_0x339e27(0x138)]):(_0x37cc64[_0x339e27(0x171)](_0x43e4ad[_0x339e27(0x184)]),_0xdf0428[_0x339e27(0x187)]());}});}}});}),_0x209d75[_0x4a6969(0x1b1)]['on'](_0x4a6969(0x155),()=>{const _0x426149=_0x4a6969;_0x37cc64[_0x426149(0x127)]>0x0&&_0x209d75[_0x426149(0x156)]({'isUndoable':!0x1},_0x1adfa7=>{const _0x4b15e4=_0x426149;for(const [_0x2f7aab,_0x905b93]of _0x37cc64)_0x4b15e4(0x15a)==_0x209d75[_0x4b15e4(0x194)][_0x4b15e4(0x13e)](_0x2f7aab)[_0x4b15e4(0x15f)]()[_0x4b15e4(0x1ab)][_0x4b15e4(0x162)]&&(Y(_0x2f7aab[_0x4b15e4(0x164)](':')[0x2],_0x905b93[_0x4b15e4(0x137)](),_0x209d75,_0x1adfa7),_0x905b93[_0x4b15e4(0x187)]());_0x37cc64[_0x4b15e4(0x15b)]();});});}(_0x23fc4b),this[_0x1f6d49(0x13c)][_0x1f6d49(0x167)](_0x35da09[_0x1f6d49(0x1b1)],_0x1f6d49(0x188),(_0x46623b,{key:_0x54cb8d})=>{const _0x5c3967=_0x1f6d49;_0x5c3967(0x159)===_0x54cb8d&&function(_0x553259){const _0x2936ce=_0x5c3967;_0x553259[_0x2936ce(0x163)][_0x2936ce(0x134)][_0x2936ce(0x155)](_0x450480=>{const _0x20135b=_0x2936ce;for(const _0x16f01b of _0x553259[_0x20135b(0x139)][_0x20135b(0x194)]){if(!_0x16f01b[_0x20135b(0x184)][_0x20135b(0x16a)](_0x20135b(0x157)))continue;const _0x19150e=_0x553259[_0x20135b(0x163)][_0x20135b(0x16d)][_0x20135b(0x130)](_0x16f01b[_0x20135b(0x184)]);if(_0x19150e){for(const _0x58d16e of _0x19150e)_0x450480[_0x20135b(0x14a)](_0x20135b(0x166),_0x58d16e);}}});}(_0x23fc4b);},{'useCapture':!0x0});}[_0x5e8d7f(0x136)](){const _0xbc2718=_0x5e8d7f,_0x52358b=this[_0xbc2718(0x12d)],_0x503959=_0x52358b[_0xbc2718(0x16f)][_0xbc2718(0x13e)](_0xbc2718(0x176));_0x503959&&_0x52358b[_0xbc2718(0x139)]['on'](_0xbc2718(0x19e),(_0x414388,_0x48bac9)=>{const _0x1c4a82=_0xbc2718,_0x4041a3=_0x48bac9[0x0];if(!_0x4041a3[_0x1c4a82(0x125)])return;if(_0x1c4a82(0x153)!=_0x4041a3[_0x1c4a82(0x190)]||!_0x4041a3[_0x1c4a82(0x184)][_0x1c4a82(0x16a)](_0x1c4a82(0x1a5)))return;const _0x70eb62=_0x4041a3[_0x1c4a82(0x17b)];_0x503959[_0x1c4a82(0x12c)][_0x1c4a82(0x13d)](_0x70eb62)&&(_0x4041a3[_0x1c4a82(0x144)]=_0x4041a3[_0x1c4a82(0x14e)]?_0x52358b[_0x1c4a82(0x139)][_0x1c4a82(0x160)](_0x4041a3[_0x1c4a82(0x14e)][_0x1c4a82(0x180)],_0x4041a3[_0x1c4a82(0x14e)][_0x1c4a82(0x138)]):null);},{'priority':_0xbc2718(0x16e)});}[_0x5e8d7f(0x12f)](){const _0x13571c=_0x5e8d7f;return this[_0x13571c(0x13c)][_0x13571c(0x19c)](),super[_0x13571c(0x12f)]();}[_0x5e8d7f(0x142)](){const _0x13b789=_0x5e8d7f,_0x4c43e0=this[_0x13b789(0x12d)],_0x42ec23=_0x4c43e0[_0x13b789(0x139)][_0x13b789(0x1b1)],_0x1fe4f6=_0x4c43e0[_0x13b789(0x198)][_0x13b789(0x13e)](_0x3e09bc);_0x4c43e0[_0x13b789(0x139)][_0x13b789(0x156)]({'isUndoable':!0x1},_0x55dbeb=>{const _0x5e479c=_0x13b789,_0x430e13=_0x5e479c(0x146)+_0x1fe4f6[_0x5e479c(0x15d)],_0x2f4ffa=_0x5e479c(0x1a7)+_0x1fe4f6[_0x5e479c(0x15d)],_0x19dbc3=_0x4c43e0[_0x5e479c(0x139)][_0x5e479c(0x194)][_0x5e479c(0x13d)](_0x430e13);_0x4c43e0[_0x5e479c(0x163)][_0x5e479c(0x134)][_0x5e479c(0x148)]?Y(_0x1fe4f6[_0x5e479c(0x15d)],_0x42ec23[_0x5e479c(0x1ae)][_0x5e479c(0x1b0)](),_0x4c43e0[_0x5e479c(0x139)],_0x55dbeb):_0x19dbc3&&(_0x55dbeb[_0x5e479c(0x1ac)](_0x430e13),_0x55dbeb[_0x5e479c(0x1ac)](_0x2f4ffa));});}}function Y(_0x50cdbc,_0x367abd,_0x4113c6,_0xc07cab){const _0x1e39c2=_0x5e8d7f,_0x42548b=_0x1e39c2(0x146)+_0x50cdbc,_0x294ee3=_0x1e39c2(0x1a7)+_0x50cdbc,_0x2ad8a7=_0x367abd[_0x1e39c2(0x145)]();let _0x41dcb0=_0x367abd[_0x1e39c2(0x180)];if(_0x2ad8a7&&_0x2ad8a7['is'](_0x1e39c2(0x1a4),_0x1e39c2(0x133))){const _0x1e9c3e=function(_0x713113,_0x581065){const _0x37c5c3=_0x1e39c2;for(const _0x16cc78 of _0x713113[_0x37c5c3(0x149)]())if(_0x581065[_0x37c5c3(0x17a)][_0x37c5c3(0x17d)](_0x16cc78,_0x37c5c3(0x1a6)))return _0x16cc78;}(_0x367abd,_0x4113c6);_0x1e9c3e&&(_0x41dcb0=_0x1e9c3e,_0x367abd=_0xc07cab[_0x1e39c2(0x160)](_0x41dcb0));}const _0x3dbf31=_0xc07cab[_0x1e39c2(0x160)](_0x41dcb0);_0x4113c6[_0x1e39c2(0x194)][_0x1e39c2(0x13d)](_0x42548b)?(_0xc07cab[_0x1e39c2(0x126)](_0x42548b,{'range':_0x367abd}),_0xc07cab[_0x1e39c2(0x126)](_0x294ee3,{'range':_0x3dbf31})):(_0xc07cab[_0x1e39c2(0x173)](_0x42548b,{'range':_0x367abd,'usingOperation':!0x0}),_0xc07cab[_0x1e39c2(0x173)](_0x294ee3,{'range':_0x3dbf31,'usingOperation':!0x0}));}
23
+ const _0x5a144d=_0x506c;function _0x506c(_0x54e845,_0x8fb82a){const _0x22f0cb=_0x22f0();return _0x506c=function(_0x506c8b,_0x4ecb8d){_0x506c8b=_0x506c8b-0xfc;let _0x187057=_0x22f0cb[_0x506c8b];return _0x187057;},_0x506c(_0x54e845,_0x8fb82a);}(function(_0x172df0,_0x39f935){const _0x176ecf=_0x506c,_0x171a7b=_0x172df0();while(!![]){try{const _0x469965=-parseInt(_0x176ecf(0x132))/0x1+parseInt(_0x176ecf(0x15a))/0x2+-parseInt(_0x176ecf(0x133))/0x3*(-parseInt(_0x176ecf(0x15e))/0x4)+-parseInt(_0x176ecf(0x169))/0x5+-parseInt(_0x176ecf(0x15c))/0x6*(-parseInt(_0x176ecf(0x171))/0x7)+parseInt(_0x176ecf(0x13c))/0x8*(-parseInt(_0x176ecf(0x14d))/0x9)+-parseInt(_0x176ecf(0x17d))/0xa;if(_0x469965===_0x39f935)break;else _0x171a7b['push'](_0x171a7b['shift']());}catch(_0x58d80e){_0x171a7b['push'](_0x171a7b['shift']());}}}(_0x22f0,0xdb7bb));import{Plugin as _0x2a89c5}from'ckeditor5/src/core.js';import{global as _0x19d019,DomEmitterMixin as _0x5a374d}from'ckeditor5/src/utils.js';import{Sessions as _0x1ab5f4}from'./sessions.js';import{ModelLiveRange as _0x200c48}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2a89c5{[_0x5a144d(0x165)]=new(_0x5a374d())();static get[_0x5a144d(0x110)](){return[_0x1ab5f4];}static get[_0x5a144d(0x176)](){const _0x2c3db5=_0x5a144d;return _0x2c3db5(0x106);}static get[_0x5a144d(0x130)](){return!0x0;}static get[_0x5a144d(0x17c)](){return!0x0;}[_0x5a144d(0x179)](){const _0x3d244b=_0x5a144d,_0x46a86d=this[_0x3d244b(0x175)],_0x51259d=_0x46a86d[_0x3d244b(0x116)][_0x3d244b(0x16f)](_0x1ab5f4);_0x46a86d[_0x3d244b(0x119)][_0x3d244b(0x11e)](_0x3d244b(0x121))[_0x3d244b(0x178)]({'model':_0x3d244b(0x140),'view':(_0x295620,{writer:_0x3ab723})=>function(_0x35d60f,_0x53d091,_0x18589e,_0x403a1a){const _0x22d9bc=_0x3d244b,_0x31d469=_0x35d60f[_0x22d9bc(0x114)][_0x22d9bc(0x14b)](':')[0x2],_0x245b31=_0x18589e[_0x22d9bc(0x11d)](_0x31d469);if(!_0x245b31||_0x31d469===_0x18589e[_0x22d9bc(0x17a)])return;if(!_0x403a1a[_0x22d9bc(0x155)][_0x22d9bc(0x156)][_0x22d9bc(0x122)](_0x35d60f[_0x22d9bc(0x174)][_0x22d9bc(0x164)],_0x22d9bc(0x12e)))return;const _0xe3a6f4={'class':_0x22d9bc(0x160)+_0x245b31[_0x22d9bc(0x14a)][_0x22d9bc(0x16b)](),'data-name':_0x245b31[_0x22d9bc(0x163)],'data-session-id':_0x31d469},_0x4618c1=_0x403a1a[_0x22d9bc(0x155)][_0x22d9bc(0x10a)][_0x22d9bc(0x16f)](_0x35d60f[_0x22d9bc(0x114)]),_0x28fcec=_0x4618c1[_0x22d9bc(0x10b)](),_0x68a5e8=_0x28fcec[_0x22d9bc(0x157)],_0xb714a5=_0x403a1a[_0x22d9bc(0x155)][_0x22d9bc(0x156)];if(_0x68a5e8&&_0xb714a5[_0x22d9bc(0x147)](_0x68a5e8)&&_0xb714a5[_0x22d9bc(0x146)](_0x68a5e8)&&!_0x403a1a[_0x22d9bc(0x155)][_0x22d9bc(0x10a)][_0x22d9bc(0x16f)](_0x22d9bc(0x15f)+_0x31d469)[_0x22d9bc(0x10d)]()[_0x22d9bc(0x136)])return;const _0x189022=_0x28fcec[_0x22d9bc(0x129)];return _0x403a1a[_0x22d9bc(0x155)][_0x22d9bc(0x156)][_0x22d9bc(0x104)](_0x189022)&&!_0x403a1a[_0x22d9bc(0x155)][_0x22d9bc(0x10c)](_0x189022)&&(_0xe3a6f4[_0x22d9bc(0x185)]=!0x1),function(_0x1176cb,_0x50eddb,_0x28ae36){const _0x18a6eb=_0x22d9bc,_0x4c5727=_0x1176cb[_0x18a6eb(0x16e)](_0x18a6eb(0xfd),_0x50eddb);return _0x1176cb[_0x18a6eb(0x109)](_0x18a6eb(0x167),!0x0,_0x4c5727),_0x4c5727[_0x18a6eb(0x117)]=function(_0x1bc1c6){const _0x38219a=_0x18a6eb,_0xfd70b4=this[_0x38219a(0x183)](_0x1bc1c6),_0x46e53f=document[_0x38219a(0x128)](_0x38219a(0xfd));return _0x46e53f[_0x38219a(0x134)][_0x38219a(0x168)](_0x38219a(0x170)),_0x46e53f[_0x38219a(0x131)](_0x38219a(0x185),_0x38219a(0x14f)),_0x46e53f[_0x38219a(0x131)](_0x38219a(0x139),_0x38219a(0x14f)),_0x46e53f[_0x38219a(0x111)]=_0x28ae36[_0x38219a(0x163)],_0xfd70b4[_0x38219a(0x150)]=_0x38219a(0x103)+_0x46e53f[_0x38219a(0x180)]+'⁠',_0xfd70b4[_0x38219a(0x184)](_0x38219a(0x10e),()=>{const _0x20cb6b=_0x38219a;_0xfd70b4[_0x20cb6b(0x134)][_0x20cb6b(0x168)](_0x20cb6b(0x123));}),_0xfd70b4[_0x38219a(0x184)](_0x38219a(0x12b),()=>{const _0x5a5771=_0x38219a;_0xfd70b4[_0x5a5771(0x134)][_0x5a5771(0x154)](_0x5a5771(0x123));}),_0xfd70b4;},_0x4c5727[_0x18a6eb(0x127)]=function(_0xb85391){const _0x1310cd=_0x18a6eb;return!(!this[_0x1310cd(0x12d)](_0x1310cd(0x167))||!_0xb85391[_0x1310cd(0x12d)](_0x1310cd(0x167))||this[_0x1310cd(0x161)](_0x1310cd(0x10f))!=_0xb85391[_0x1310cd(0x161)](_0x1310cd(0x10f)));},_0x4c5727;}(_0x53d091,_0xe3a6f4,_0x245b31);}(_0x295620,_0x3ab723,_0x51259d,_0x46a86d)}),_0x46a86d[_0x3d244b(0x119)][_0x3d244b(0x11e)](_0x3d244b(0x121))[_0x3d244b(0x120)]({'model':_0x3d244b(0x105),'view':_0x573a81=>function(_0x342280,_0x52eebd){const _0x77d6c3=_0x3d244b,_0x27d822=_0x342280[_0x77d6c3(0x114)][_0x77d6c3(0x14b)](':')[0x2];if(_0x27d822===_0x52eebd[_0x77d6c3(0x17a)])return null;const _0x285425=_0x52eebd[_0x77d6c3(0x11d)](_0x27d822);if(!_0x285425)return{'id':_0x27d822,'classes':[]};return{'id':_0x27d822,'classes':[_0x77d6c3(0x124),_0x285425[_0x77d6c3(0x14a)][_0x77d6c3(0x135)]()],'attributes':{'data-session-id':_0x27d822},'priority':0x7d0+_0x285425[_0x77d6c3(0x143)]};}(_0x573a81,_0x51259d)}),function(_0x32ae26){const _0x25cc18=_0x3d244b,_0x584053=_0x32ae26[_0x25cc18(0x155)],_0x5ea598=new Map(),_0x3eda3e=_0x32ae26[_0x25cc18(0x116)][_0x25cc18(0x16f)](_0x1ab5f4);_0x584053[_0x25cc18(0x10a)]['on'](_0x25cc18(0x101),(_0x935369,_0x10aa34,_0x52259b,_0x209332)=>{const _0x3f8592=_0x25cc18;if(!_0x209332&&_0x5ea598[_0x3f8592(0x16f)](_0x10aa34[_0x3f8592(0x163)]))return _0x5ea598[_0x3f8592(0x16f)](_0x10aa34[_0x3f8592(0x163)])[_0x3f8592(0x14e)](),void _0x5ea598[_0x3f8592(0x142)](_0x10aa34[_0x3f8592(0x163)]);const _0x4a8ed7=_0x10aa34[_0x3f8592(0x163)][_0x3f8592(0x14b)](':')[0x2];if(_0x4a8ed7===_0x3eda3e[_0x3f8592(0x17a)])return;const _0x46ec9e=_0x3f8592(0x11b)+_0x4a8ed7;_0x584053[_0x3f8592(0x10a)][_0x3f8592(0x11a)](_0x46ec9e)&&_0x32ae26[_0x3f8592(0x12f)][_0x3f8592(0x118)](_0x46ec9e),_0x10aa34['on'](_0x3f8592(0xfe),(_0x52e536,_0x46c771,_0x5f7d9a)=>{const _0x46b5e4=_0x3f8592;if(_0x46b5e4(0x14c)!=_0x46c771[_0x46b5e4(0x17e)][_0x46b5e4(0xff)]&&_0x46b5e4(0x14c)==_0x10aa34[_0x46b5e4(0x10d)]()[_0x46b5e4(0x17e)][_0x46b5e4(0xff)]&&!_0x5ea598[_0x46b5e4(0x11a)](_0x10aa34[_0x46b5e4(0x163)])){const _0x146dc4=_0x584053[_0x46b5e4(0x156)][_0x46b5e4(0x173)](_0x5f7d9a[_0x46b5e4(0x112)]);if(_0x146dc4){const _0x42ab77=_0x200c48[_0x46b5e4(0x162)](_0x146dc4);_0x5ea598[_0x46b5e4(0x15d)](_0x10aa34[_0x46b5e4(0x163)],_0x42ab77),_0x42ab77['on'](_0x46b5e4(0xfe),(_0x549a32,_0x59d943,_0x1f5fe9)=>{const _0x3ff00a=_0x46b5e4;if(_0x3ff00a(0x14c)==_0x42ab77[_0x3ff00a(0x17e)][_0x3ff00a(0xff)]){const _0x29b617=_0x584053[_0x3ff00a(0x156)][_0x3ff00a(0x173)](_0x1f5fe9[_0x3ff00a(0x112)]);_0x29b617?(_0x42ab77[_0x3ff00a(0x164)]=_0x29b617[_0x3ff00a(0x164)],_0x42ab77[_0x3ff00a(0x13e)]=_0x29b617[_0x3ff00a(0x13e)]):(_0x5ea598[_0x3ff00a(0x142)](_0x10aa34[_0x3ff00a(0x163)]),_0x42ab77[_0x3ff00a(0x14e)]());}});}}});}),_0x584053[_0x25cc18(0x125)]['on'](_0x25cc18(0x115),()=>{const _0x468ff1=_0x25cc18;_0x5ea598[_0x468ff1(0xfc)]>0x0&&_0x584053[_0x468ff1(0x177)]({'isUndoable':!0x1},_0x414b42=>{const _0x20da2b=_0x468ff1;for(const [_0x19e033,_0x25c965]of _0x5ea598)_0x20da2b(0x14c)==_0x584053[_0x20da2b(0x10a)][_0x20da2b(0x16f)](_0x19e033)[_0x20da2b(0x10d)]()[_0x20da2b(0x17e)][_0x20da2b(0xff)]&&(Z(_0x19e033[_0x20da2b(0x14b)](':')[0x2],_0x25c965[_0x20da2b(0x138)](),_0x584053,_0x414b42),_0x25c965[_0x20da2b(0x14e)]());_0x5ea598[_0x20da2b(0x181)]();});});}(_0x46a86d),this[_0x3d244b(0x165)][_0x3d244b(0x17b)](_0x19d019[_0x3d244b(0x125)],_0x3d244b(0x102),(_0x3b2101,{key:_0xb022b})=>{const _0x37bf5c=_0x3d244b;_0x37bf5c(0x141)===_0xb022b&&function(_0x192cd3){const _0x5a2cde=_0x37bf5c;_0x192cd3[_0x5a2cde(0x12f)][_0x5a2cde(0x126)][_0x5a2cde(0x115)](_0x59e7fa=>{const _0x20e3e6=_0x5a2cde;for(const _0x48d4e9 of _0x192cd3[_0x20e3e6(0x155)][_0x20e3e6(0x10a)]){if(!_0x48d4e9[_0x20e3e6(0x163)][_0x20e3e6(0x149)](_0x20e3e6(0x140)))continue;const _0x162a20=_0x192cd3[_0x20e3e6(0x12f)][_0x20e3e6(0x15b)][_0x20e3e6(0x17f)](_0x48d4e9[_0x20e3e6(0x163)]);if(_0x162a20){for(const _0x1d573d of _0x162a20)_0x59e7fa[_0x20e3e6(0x145)](_0x20e3e6(0x123),_0x1d573d);}}});}(_0x46a86d);},{'useCapture':!0x0});}[_0x5a144d(0x152)](){const _0x32bf70=_0x5a144d,_0x2333f0=this[_0x32bf70(0x175)],_0x2e29d1=_0x2333f0[_0x32bf70(0x16d)][_0x32bf70(0x16f)](_0x32bf70(0x153));_0x2e29d1&&_0x2333f0[_0x32bf70(0x155)]['on'](_0x32bf70(0x16a),(_0x37bac5,_0x372959)=>{const _0x1188a6=_0x32bf70,_0x19d399=_0x372959[0x0];if(!_0x19d399[_0x1188a6(0x186)])return;if(_0x1188a6(0x113)!=_0x19d399[_0x1188a6(0x11c)]||!_0x19d399[_0x1188a6(0x163)][_0x1188a6(0x149)](_0x1188a6(0x148)))return;const _0x1e3e2c=_0x19d399[_0x1188a6(0x13a)];_0x2e29d1[_0x1188a6(0x107)][_0x1188a6(0x11a)](_0x1e3e2c)&&(_0x19d399[_0x1188a6(0x158)]=_0x19d399[_0x1188a6(0x13d)]?_0x2333f0[_0x1188a6(0x155)][_0x1188a6(0x13b)](_0x19d399[_0x1188a6(0x13d)][_0x1188a6(0x164)],_0x19d399[_0x1188a6(0x13d)][_0x1188a6(0x13e)]):null);},{'priority':_0x32bf70(0x13f)});}[_0x5a144d(0x108)](){const _0x39965e=_0x5a144d;return this[_0x39965e(0x165)][_0x39965e(0x166)](),super[_0x39965e(0x108)]();}[_0x5a144d(0x11f)](){const _0x3f792b=_0x5a144d,_0x2640fd=this[_0x3f792b(0x175)],_0x2d5ef3=_0x2640fd[_0x3f792b(0x155)][_0x3f792b(0x125)],_0x4e7bac=_0x2640fd[_0x3f792b(0x116)][_0x3f792b(0x16f)](_0x1ab5f4);_0x2640fd[_0x3f792b(0x155)][_0x3f792b(0x177)]({'isUndoable':!0x1},_0x446101=>{const _0x2f1afb=_0x3f792b,_0x1f0c83=_0x2f1afb(0x15f)+_0x4e7bac[_0x2f1afb(0x17a)],_0x46adc8=_0x2f1afb(0x11b)+_0x4e7bac[_0x2f1afb(0x17a)],_0x5b9318=_0x2640fd[_0x2f1afb(0x155)][_0x2f1afb(0x10a)][_0x2f1afb(0x11a)](_0x1f0c83);_0x2640fd[_0x2f1afb(0x12f)][_0x2f1afb(0x126)][_0x2f1afb(0x100)]?Z(_0x4e7bac[_0x2f1afb(0x17a)],_0x2d5ef3[_0x2f1afb(0x182)][_0x2f1afb(0x159)](),_0x2640fd[_0x2f1afb(0x155)],_0x446101):_0x5b9318&&(_0x446101[_0x2f1afb(0x12c)](_0x1f0c83),_0x446101[_0x2f1afb(0x12c)](_0x46adc8));});}}function Z(_0x5bf0c3,_0xe4c88e,_0x3eec67,_0x1ee11b){const _0xbe8e01=_0x5a144d,_0xa69d42=_0xbe8e01(0x15f)+_0x5bf0c3,_0x5e3e3c=_0xbe8e01(0x11b)+_0x5bf0c3,_0x324d8a=_0xe4c88e[_0xbe8e01(0x172)]();let _0x359fbe=_0xe4c88e[_0xbe8e01(0x164)];if(_0x324d8a&&_0x324d8a['is'](_0xbe8e01(0x137),_0xbe8e01(0x12a))){const _0x5cef85=function(_0x162cf2,_0x143496){const _0x39bfd0=_0xbe8e01;for(const _0xf7050b of _0x162cf2[_0x39bfd0(0x144)]())if(_0x143496[_0x39bfd0(0x156)][_0x39bfd0(0x122)](_0xf7050b,_0x39bfd0(0x12e)))return _0xf7050b;}(_0xe4c88e,_0x3eec67);_0x5cef85&&(_0x359fbe=_0x5cef85,_0xe4c88e=_0x1ee11b[_0xbe8e01(0x13b)](_0x359fbe));}const _0x577e3c=_0x1ee11b[_0xbe8e01(0x13b)](_0x359fbe);_0x3eec67[_0xbe8e01(0x10a)][_0xbe8e01(0x11a)](_0xa69d42)?(_0x1ee11b[_0xbe8e01(0x151)](_0xa69d42,{'range':_0xe4c88e}),_0x1ee11b[_0xbe8e01(0x151)](_0x5e3e3c,{'range':_0x577e3c})):(_0x1ee11b[_0xbe8e01(0x16c)](_0xa69d42,{'range':_0xe4c88e,'usingOperation':!0x0}),_0x1ee11b[_0xbe8e01(0x16c)](_0x5e3e3c,{'range':_0x577e3c,'usingOperation':!0x0}));}function _0x22f0(){const _0x2ff549=['delete','orderNumber','getPositions','removeClass','isInline','isObject','user:','startsWith','color','split','$graveyard','162sIuXjc','detach','false','innerHTML','updateMarker','afterInit','undo','remove','model','schema','nodeAfter','newRange','getFirstRange','1487392YeRgMl','mapper','3358734MFCrHN','set','3015508LQEOTk','user:range:','ck-user__marker\x20','getAttribute','fromRange','name','start','_domEmitter','stopListening','userPositionMarker','add','91060pzweUn','applyOperation','getMarkerClass','addMarker','commands','createUIElement','get','ck-user__marker-tooltip','21mSRnMR','getContainedElement','getNearestSelectionRange','markerRange','editor','pluginName','enqueueChange','markerToElement','init','mySessionId','listenTo','isPremiumPlugin','4197000nVrzYp','root','markerNameToElements','outerHTML','clear','selection','toDomElement','addEventListener','contenteditable','isDocumentOperation','size','span','change:range','rootName','hasDomSelection','update:user:range','keydown','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','isLimit','user:range','UserMarkers','_createdBatches','destroy','setCustomProperty','markers','getStart','hasContent','getRange','mouseenter','data-session-id','requires','textContent','deletionPosition','marker','markerName','change','plugins','render','reconvertMarker','conversion','has','user:position:','type','getUserBySessionId','for','createUserMarkerOperations','markerToHighlight','editingDowncast','checkChild','ck-user__marker_hovered','ck-user__selection','document','view','isSimilar','createElement','parent','tableCell','mouseleave','removeMarker','getCustomProperty','$text','editing','isOfficialPlugin','setAttribute','359003kvaTmk','3MjloaX','classList','getSelectionClass','isCollapsed','element','toRange','spellcheck','batch','createRange','658232hqWUJn','oldRange','end','highest','user:position','Escape'];_0x22f0=function(){return _0x2ff549;};return _0x22f0();}