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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x25bfc8=_0x31b2;(function(_0xbf5b18,_0x577016){const _0x451ba5=_0x31b2,_0x389f12=_0xbf5b18();while(!![]){try{const _0x9245bd=parseInt(_0x451ba5(0x17f))/0x1+parseInt(_0x451ba5(0x198))/0x2+parseInt(_0x451ba5(0x18a))/0x3*(parseInt(_0x451ba5(0x18b))/0x4)+parseInt(_0x451ba5(0x19a))/0x5+-parseInt(_0x451ba5(0x19f))/0x6+-parseInt(_0x451ba5(0x195))/0x7+-parseInt(_0x451ba5(0x197))/0x8;if(_0x9245bd===_0x577016)break;else _0x389f12['push'](_0x389f12['shift']());}catch(_0x2de1d4){_0x389f12['push'](_0x389f12['shift']());}}}(_0x5b2c,0x358dc));import{View as _0x9d9da1}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x863806}from'ckeditor5/src/utils.js';import{getTranslation as _0x549e64}from'../../common-translations.js';function _0x5b2c(){const _0x61f8a8=['setTemplate','1058910dajCrU','hasPopup','list','div','createCollection','544356hLTJhR','ck-presence-list__list','relatedTarget','querySelector','presencelist:hide','284850HKIGsN','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','set','removeAttribute','contains','render','isExpanded','fire','element','Connected\x20users\x20list','.ck-presence-list__dropdown-list','84Jqlhkq','55744mtFYJC','items','listenTo','aria-expanded','change:hasPopup','presencelist:show','focus','bindTemplate','keystrokes','setAttribute','1447131FFQZTc','.ck-balloon-panel_with-arrow','5086912apKBkK','531678vIYVkB'];_0x5b2c=function(){return _0x61f8a8;};return _0x5b2c();}function _0x31b2(_0x33ee09,_0x268d47){const _0x5b2c0c=_0x5b2c();return _0x31b2=function(_0x31b227,_0x1e56b5){_0x31b227=_0x31b227-0x17d;let _0x59e311=_0x5b2c0c[_0x31b227];return _0x59e311;},_0x31b2(_0x33ee09,_0x268d47);}export class PresenceInlineListView extends _0x9d9da1{[_0x25bfc8(0x18c)];[_0x25bfc8(0x193)];constructor(_0x3f56d9){const _0x109a81=_0x25bfc8;super(_0x3f56d9);const _0x4356bc=this[_0x109a81(0x192)];this[_0x109a81(0x18c)]=this[_0x109a81(0x19e)](),this[_0x109a81(0x193)]=new _0x863806(),this[_0x109a81(0x181)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x109a81(0x199)]({'tag':_0x109a81(0x19d),'attributes':{'aria-haspopup':_0x4356bc['if'](_0x109a81(0x19b)),'aria-expanded':_0x4356bc['to'](_0x109a81(0x185),_0x556712=>this[_0x109a81(0x19b)]&&String(_0x556712)),'aria-label':_0x4356bc['to'](_0x109a81(0x19b),_0x574ef6=>_0x549e64(_0x3f56d9,_0x574ef6?_0x109a81(0x180):_0x109a81(0x188))),'role':_0x109a81(0x19c),'tabindex':_0x4356bc['to'](_0x109a81(0x19b),_0x5878b1=>!!_0x5878b1&&0x0),'class':['ck',_0x109a81(0x1a0)]},'children':this[_0x109a81(0x18c)],'on':{'mouseenter':_0x4356bc['to'](()=>this[_0x109a81(0x186)](_0x109a81(0x190))),'mouseleave':_0x4356bc['to'](_0x3ad43e=>{const _0x16aa82=_0x109a81,_0x3e0eb2=_0x3ad43e,_0x5b0484=document[_0x16aa82(0x17d)](_0x16aa82(0x189)),_0x3e91a8=document[_0x16aa82(0x17d)](_0x16aa82(0x196));_0x5b0484?.[_0x16aa82(0x183)](_0x3e0eb2[_0x16aa82(0x1a1)])||_0x3e91a8?.[_0x16aa82(0x183)](_0x3e0eb2[_0x16aa82(0x1a1)])||this[_0x16aa82(0x186)](_0x16aa82(0x17e));})}}),this['on'](_0x109a81(0x18f),(_0x25bf39,_0x15bba2,_0x8a540)=>{const _0x334065=_0x109a81;this[_0x334065(0x187)]&&(_0x8a540?this[_0x334065(0x187)][_0x334065(0x194)](_0x334065(0x18e),String(this[_0x334065(0x185)])):this[_0x334065(0x187)][_0x334065(0x182)](_0x334065(0x18e)));});}[_0x25bfc8(0x191)](){const _0x212d67=_0x25bfc8;this[_0x212d67(0x187)][_0x212d67(0x191)]();}[_0x25bfc8(0x184)](){const _0x267d9e=_0x25bfc8;super[_0x267d9e(0x184)](),this[_0x267d9e(0x193)][_0x267d9e(0x18d)](this[_0x267d9e(0x187)]);}}
@@ -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
+ const _0x12e2ef=_0x8a59;(function(_0x53cd8d,_0xa82ff4){const _0x13235c=_0x8a59,_0x51b7ec=_0x53cd8d();while(!![]){try{const _0x5a43f8=-parseInt(_0x13235c(0xd1))/0x1+-parseInt(_0x13235c(0xd3))/0x2+-parseInt(_0x13235c(0xe3))/0x3+parseInt(_0x13235c(0xce))/0x4+-parseInt(_0x13235c(0xcf))/0x5+parseInt(_0x13235c(0xde))/0x6*(-parseInt(_0x13235c(0xe5))/0x7)+-parseInt(_0x13235c(0xda))/0x8*(-parseInt(_0x13235c(0xe4))/0x9);if(_0x5a43f8===_0xa82ff4)break;else _0x51b7ec['push'](_0x51b7ec['shift']());}catch(_0x4afc48){_0x51b7ec['push'](_0x51b7ec['shift']());}}}(_0x4dfd,0x32fe6));import{View as _0x4add61}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x255321}from'./presencecounterview.js';function _0x4dfd(){const _0x8eadf8=['200300DouchP','ck-presence-list--collapsed','30203SMYbgg','isCollapsed','304132jYYGbF','change','locale','counterView','tooltipPosition','bind','set','6123984OXknNi','ck-reset','setTemplate','listenTo','753666XMDVBc','div','ck-rounded-corners','hasPopup','first','795231wmbEcr','9MLkPXE','7etZHxS','bindTemplate','items','inlineListView','ck-presence-list','225556TtxukA'];_0x4dfd=function(){return _0x8eadf8;};return _0x4dfd();}function _0x8a59(_0x54acab,_0x5cc82e){const _0x4dfdc7=_0x4dfd();return _0x8a59=function(_0x8a59d2,_0x6f57ce){_0x8a59d2=_0x8a59d2-0xcb;let _0x556276=_0x4dfdc7[_0x8a59d2];return _0x556276;},_0x8a59(_0x54acab,_0x5cc82e);}import{PresenceInlineListView as _0x491d42}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4add61{[_0x12e2ef(0xd6)];[_0x12e2ef(0xcc)];constructor(_0x15ebc1,_0x599213=0x6){const _0x7329cd=_0x12e2ef;super(_0x15ebc1);const _0x2812f7=this[_0x7329cd(0xe6)];this[_0x7329cd(0xd9)](_0x7329cd(0xd2),!0x0),this[_0x7329cd(0xd6)]=new _0x255321(this[_0x7329cd(0xd5)],_0x599213),this[_0x7329cd(0xcc)]=new _0x491d42(_0x15ebc1),this[_0x7329cd(0xcc)][_0x7329cd(0xd8)](_0x7329cd(0xe1))['to'](this,_0x7329cd(0xd2)),this[_0x7329cd(0xdd)](this[_0x7329cd(0xcc)][_0x7329cd(0xcb)],_0x7329cd(0xd4),()=>{const _0x460ea6=_0x7329cd;for(const _0x171316 of this[_0x460ea6(0xcc)][_0x460ea6(0xcb)])_0x171316[_0x460ea6(0xd7)]='s';this[_0x460ea6(0xcc)][_0x460ea6(0xcb)][_0x460ea6(0xe2)]&&(this[_0x460ea6(0xcc)][_0x460ea6(0xcb)][_0x460ea6(0xe2)][_0x460ea6(0xd7)]='se');}),this[_0x7329cd(0xdc)]({'tag':_0x7329cd(0xdf),'attributes':{'class':['ck',_0x7329cd(0xcd),_0x7329cd(0xdb),_0x7329cd(0xe0),_0x2812f7['if'](_0x7329cd(0xd2),_0x7329cd(0xd0))]},'children':[this[_0x7329cd(0xcc)]]});}}
@@ -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 _0x5362ca=_0x1d43;(function(_0x1575e1,_0x3b6b54){var _0x410c52=_0x1d43,_0x261d1f=_0x1575e1();while(!![]){try{var _0x13a447=parseInt(_0x410c52(0x134))/0x1*(-parseInt(_0x410c52(0x126))/0x2)+-parseInt(_0x410c52(0x12d))/0x3+-parseInt(_0x410c52(0x12b))/0x4+parseInt(_0x410c52(0x127))/0x5+parseInt(_0x410c52(0x12e))/0x6*(parseInt(_0x410c52(0x131))/0x7)+-parseInt(_0x410c52(0x129))/0x8+parseInt(_0x410c52(0x12c))/0x9*(parseInt(_0x410c52(0x12a))/0xa);if(_0x13a447===_0x3b6b54)break;else _0x261d1f['push'](_0x261d1f['shift']());}catch(_0x3e4755){_0x261d1f['push'](_0x261d1f['shift']());}}}(_0x44a9,0xc8894));import{ContextPlugin as _0xafa92a}from'ckeditor5/src/core.js';import{Sessions as _0x1ba372}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3d74b5}from'./presencelist/presencelistui.js';export class PresenceList extends _0xafa92a{static get[_0x5362ca(0x130)](){return[_0x1ba372,_0x3d74b5];}static get[_0x5362ca(0x12f)](){var _0x7b1c74=_0x5362ca;return _0x7b1c74(0x128);}static get[_0x5362ca(0x132)](){return!0x0;}static get[_0x5362ca(0x133)](){return!0x0;}}function _0x1d43(_0x3a6441,_0x5953b2){var _0x44a9b7=_0x44a9();return _0x1d43=function(_0x1d431e,_0x5681cb){_0x1d431e=_0x1d431e-0x126;var _0x539e42=_0x44a9b7[_0x1d431e];return _0x539e42;},_0x1d43(_0x3a6441,_0x5953b2);}function _0x44a9(){var _0x391aca=['isPremiumPlugin','10195fUSjdr','114kYRycT','8185830GfzhcW','PresenceList','11951232xRfzFh','15970930dSDKJx','5089624vpOOcF','9mzOEmg','1771764NCyjiz','77550hqzaDo','pluginName','requires','826LdDQCU','isOfficialPlugin'];_0x44a9=function(){return _0x391aca;};return _0x44a9();}
@@ -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 _0x5960fa=_0x5cc7;(function(_0x1c8ccb,_0x5519fb){const _0x33ed0c=_0x5cc7,_0x3aefc0=_0x1c8ccb();while(!![]){try{const _0x416eba=parseInt(_0x33ed0c(0xff))/0x1+parseInt(_0x33ed0c(0xdb))/0x2*(parseInt(_0x33ed0c(0x11e))/0x3)+-parseInt(_0x33ed0c(0x116))/0x4*(-parseInt(_0x33ed0c(0xd3))/0x5)+-parseInt(_0x33ed0c(0xf6))/0x6+-parseInt(_0x33ed0c(0xc7))/0x7*(parseInt(_0x33ed0c(0x106))/0x8)+-parseInt(_0x33ed0c(0xf3))/0x9*(parseInt(_0x33ed0c(0xd0))/0xa)+parseInt(_0x33ed0c(0x108))/0xb;if(_0x416eba===_0x5519fb)break;else _0x3aefc0['push'](_0x3aefc0['shift']());}catch(_0xb28258){_0x3aefc0['push'](_0x3aefc0['shift']());}}}(_0x1e55,0xa0de2));import{Context as _0x511bfd,ContextPlugin as _0x2b47b0}from'ckeditor5/src/core.js';import{CKEditorError as _0x400aac}from'ckeditor5/src/utils.js';function _0x1e55(){const _0x51ef94=['cloud-services-internal-error:\x20Request\x20timeout.','assign','mySessionId','map','resolvedBy','getConnectedSessions','commentThreadId','keys','_services','9HqirmM','_setUpService','_fetchMissingUsersForThreads','1014906UiUmeP','commentAdded','commentThreadReopened','CloudServicesCommentsAdapter','adapter','remove','resolveCommentThread','updateCommentThread','off','458718UtmjXX','authorId','reopenCommentThread','pluginName','commentThreadRemoved','CommentsRepository','deletedAt','72wfprGZ','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','5943289xEXlrC','attributes','disconnect','set','permissions','commentRemoved','startsWith','add','getCommentThread','comments','init','addComment','addToReconnectionStack','register','12RDRcdN','content','removeComment','createdAt','context','cloud-services-internal-error:\x20Not\x20connected.','commentId','isPremiumPlugin','6qiLlbo','destroy','addCommentThread','plugins','reopen','resolve','cloudservicescommentsadapter-connect-already-connected','getMany','config','unregister','_terminateService','size','updateComment','requires','removeCommentThread','cloudservicescommentsadapter-service-not-exist','316001QAygGJ','commentThreadUpdated','update','isOfficialPlugin','CommentsService','delete','catch','cloudservicescommentsadapter-disconnect-not-exist','reconnect','5985820xzBuqE','404','addUser','1342195doqrWp','getComment','sessionAdd:','getUser','from','commentThreadResolved','message','collaboration.channelId','28600ifKEGs','commentThreadAdded','_getService','has','userId','setPermissions','code','get','connect','getCommentThreads','Permissions','listenTo','resolvedAt','_connectService','commentUpdated'];_0x1e55=function(){return _0x51ef94;};return _0x1e55();}import{Users as _0x4c17b5}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3794b3,User as _0x2afdf2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x57df00}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2a6bd1}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x2b47b0{static [_0x5960fa(0xcb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3794b3)());[_0x5960fa(0xf2)];static get[_0x5960fa(0xc4)](){const _0x1512dd=_0x5960fa;return[_0x57df00,_0x1512dd(0x104),_0x2a6bd1,_0x4c17b5];}static get[_0x5960fa(0x102)](){const _0x4ceeaa=_0x5960fa;return _0x4ceeaa(0xf9);}static get[_0x5960fa(0xca)](){return!0x0;}static get[_0x5960fa(0x11d)](){return!0x0;}constructor(_0x5aa3b9){const _0xfa3a3f=_0x5960fa;super(_0x5aa3b9),this[_0xfa3a3f(0xf2)]=new Map();}async[_0x5960fa(0x112)](){const _0x147cb0=_0x5960fa,_0xca5abd=this[_0x147cb0(0x11a)],_0x3c24c3=_0xca5abd[_0x147cb0(0xba)][_0x147cb0(0xe2)](_0x147cb0(0x104));if(_0xca5abd[_0x147cb0(0xba)][_0x147cb0(0xe2)](_0x57df00)[_0x147cb0(0x114)](this),_0x3c24c3[_0x147cb0(0xfa)]={'addCommentThread':async({channelId:_0x2b0c85,threadId:_0x39bad8,comments:_0x1d7360,resolvedAt:_0x163730,resolvedBy:_0x2b76b5,context:_0x26db67,attributes:_0x52841f})=>{const _0x585bed=_0x147cb0,_0x3741a6=await this[_0x585bed(0xdd)](_0x2b0c85)[_0x585bed(0x120)]({'commentThreadId':_0x39bad8,'comments':_0x1d7360[_0x585bed(0xed)](_0x45e091=>function(_0x281189,_0x15f67d,_0x507c92){const _0xb26132=_0x585bed;return{'commentThreadId':_0x507c92,'commentId':_0x281189[_0xb26132(0x11c)],'userId':_0x281189[_0xb26132(0x100)],'content':_0x281189[_0xb26132(0x117)],'documentId':_0x15f67d,'createdAt':_0x281189[_0xb26132(0x119)],'attributes':_0x281189[_0xb26132(0x109)]||{}};}(_0x45e091,_0x2b0c85,_0x39bad8)),'resolvedAt':_0x163730,'resolvedBy':_0x2b76b5,'context':_0x26db67,'attributes':_0x52841f})[_0x585bed(0xcd)](k);return{'threadId':_0x3741a6[_0x585bed(0xf0)],'comments':_0x3741a6[_0x585bed(0x111)]};},'getCommentThread':async({channelId:_0x3cf335,threadId:_0x5dba7f})=>{const _0x46c2f8=_0x147cb0,_0x2ef0a0=await this[_0x46c2f8(0xdd)](_0x3cf335)[_0x46c2f8(0x110)](_0x5dba7f)[_0x46c2f8(0xcd)](F)[_0x46c2f8(0xcd)](k);return _0x2ef0a0?_0x2ef0a0[_0x46c2f8(0x105)]?null:(await this[_0x46c2f8(0xf5)]([_0x2ef0a0]),{'threadId':_0x2ef0a0[_0x46c2f8(0xf0)],'comments':_0x2ef0a0[_0x46c2f8(0x111)][_0x46c2f8(0xed)](S),'context':_0x2ef0a0[_0x46c2f8(0x11a)],'resolvedAt':_0x2ef0a0[_0x46c2f8(0xe7)],'resolvedBy':_0x2ef0a0[_0x46c2f8(0xee)],'attributes':_0x2ef0a0[_0x46c2f8(0x109)]||{}}):null;},'updateCommentThread':async({channelId:_0x166d3a,threadId:_0x447615,context:_0x5149f2,unlinkedAt:_0x8e14b5,attributes:_0x63a818})=>this[_0x147cb0(0xdd)](_0x166d3a)[_0x147cb0(0xfd)]({'commentThreadId':_0x447615,'context':_0x5149f2,'attributes':_0x63a818,'unlinkedAt':_0x8e14b5})[_0x147cb0(0xcd)](F)[_0x147cb0(0xcd)](k),'resolveCommentThread':async({channelId:_0x3623b2,threadId:_0x4495db})=>{const _0x5c81ed=_0x147cb0,_0x18a726=await this[_0x5c81ed(0xdd)](_0x3623b2)[_0x5c81ed(0xfc)](_0x4495db)[_0x5c81ed(0xcd)](F)[_0x5c81ed(0xcd)](k);return{'threadId':_0x18a726[_0x5c81ed(0xf0)],'resolvedAt':_0x18a726[_0x5c81ed(0xe7)],'resolvedBy':_0x18a726[_0x5c81ed(0xee)]};},'reopenCommentThread':async({channelId:_0x77f800,threadId:_0x32a1f4})=>this[_0x147cb0(0xdd)](_0x77f800)[_0x147cb0(0x101)](_0x32a1f4)[_0x147cb0(0xcd)](F)[_0x147cb0(0xcd)](k),'removeCommentThread':({channelId:_0x25ccce,threadId:_0x1f5784})=>this[_0x147cb0(0xdd)](_0x25ccce)[_0x147cb0(0xc5)](_0x1f5784)[_0x147cb0(0xcd)](F)[_0x147cb0(0xcd)](k),'addComment':({channelId:_0x18f0a9,threadId:_0x3bf3f3,commentId:_0x349242,content:_0x40eb77,attributes:_0x1e46e})=>this[_0x147cb0(0xdd)](_0x18f0a9)[_0x147cb0(0x113)](_0x3bf3f3,_0x349242,_0x40eb77,_0x1e46e)[_0x147cb0(0xcd)](k),'updateComment':({channelId:_0x1b5dee,threadId:_0x41bbdd,commentId:_0x3652ab,content:_0x41d9cd,attributes:_0x448ca0})=>this[_0x147cb0(0xdd)](_0x1b5dee)[_0x147cb0(0xc3)](_0x41bbdd,_0x3652ab,_0x41d9cd,_0x448ca0)[_0x147cb0(0xcd)](F)[_0x147cb0(0xcd)](k),'removeComment':({channelId:_0x52bd89,threadId:_0x318965,commentId:_0x195b77})=>this[_0x147cb0(0xdd)](_0x52bd89)[_0x147cb0(0x118)](_0x318965,_0x195b77)[_0x147cb0(0xcd)](F)[_0x147cb0(0xcd)](k)},_0xca5abd instanceof _0x511bfd){const _0x4666ab=_0xca5abd[_0x147cb0(0xbf)][_0x147cb0(0xe2)](_0x147cb0(0xda)),_0x145692=_0xca5abd[_0x147cb0(0xba)][_0x147cb0(0xe2)](_0x2a6bd1);await this[_0x147cb0(0xf4)](_0x4666ab);const _0x62806c=await this[_0x147cb0(0xf2)][_0x147cb0(0xe2)](_0x4666ab)[_0x147cb0(0xef)]();this[_0x147cb0(0xe6)](_0x145692,_0x147cb0(0xd5)+_0x4666ab,(_0x40be64,{session:_0x30d3ac})=>{const _0x13d3ff=_0x147cb0;_0x30d3ac['id']===_0x145692[_0x13d3ff(0xec)]&&(_0x40be64[_0x13d3ff(0xfe)](),this[_0x13d3ff(0x11a)][_0x13d3ff(0xba)][_0x13d3ff(0xe2)](_0x13d3ff(0xe5))[_0x13d3ff(0xe0)](_0x30d3ac[_0x13d3ff(0x10c)],_0x4666ab));}),_0x145692[_0x147cb0(0x115)](_0x4666ab,_0x62806c);}}async[_0x5960fa(0xf4)](_0x2ac5b1){const _0x327ce5=_0x5960fa;if(this[_0x327ce5(0xf2)][_0x327ce5(0xde)](_0x2ac5b1))throw new _0x400aac(_0x327ce5(0xbd),null,{'channelId':_0x2ac5b1});const _0x3b1ca9=this[_0x327ce5(0x11a)][_0x327ce5(0xba)][_0x327ce5(0xe2)](_0x327ce5(0x104)),_0x465a89=new CloudServicesCommentsAdapter[(_0x327ce5(0xcb))](_0x2ac5b1);this[_0x327ce5(0xf2)][_0x327ce5(0x10b)](_0x2ac5b1,_0x465a89),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0xdc),(_0x1c3007,_0x533c7a)=>{const _0x202a47=_0x327ce5,{commentThreadId:_0xbe841d,documentId:_0x38c1fb,context:_0x2e6e68,attributes:_0x5bf4e3,resolvedAt:_0x874b21,resolvedBy:_0x4a9859,comments:_0x8ae86}=_0x533c7a;_0x3b1ca9[_0x202a47(0x110)](_0xbe841d)||_0x3b1ca9[_0x202a47(0x120)]({'threadId':_0xbe841d,'channelId':_0x38c1fb,'comments':_0x8ae86?_0x8ae86[_0x202a47(0xed)](S):[],'context':_0x2e6e68,'attributes':_0x5bf4e3,'resolvedAt':_0x874b21,'resolvedBy':_0x4a9859,'isFromAdapter':!0x0});}),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0xc8),(_0x29dc26,{commentThreadId:_0x28a2f1,documentId:_0x1e3a72,context:_0xeebadd,unlinkedAt:_0x13708e,attributes:_0x51e04e})=>{const _0x40c071=_0x327ce5;_0x3b1ca9[_0x40c071(0x110)](_0x28a2f1)&&_0x3b1ca9[_0x40c071(0xfd)]({'threadId':_0x28a2f1,'channelId':_0x1e3a72,'context':_0xeebadd,'unlinkedAt':_0x13708e,'attributes':_0x51e04e,'isFromAdapter':!0x0});}),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0xd8),(_0x3c33ed,{commentThreadId:_0x181caa,resolvedBy:_0x4fd1c6,resolvedAt:_0x189f30})=>{const _0x3e131e=_0x327ce5,_0x40a949=_0x3b1ca9[_0x3e131e(0x110)](_0x181caa);_0x40a949&&_0x40a949[_0x3e131e(0xbc)]({'resolvedBy':_0x4fd1c6,'resolvedAt':_0x189f30,'isFromAdapter':!0x0});}),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0xf8),(_0x35e0be,{commentThreadId:_0x48769a})=>{const _0x31c003=_0x327ce5,_0x31ca8d=_0x3b1ca9[_0x31c003(0x110)](_0x48769a);_0x31ca8d&&_0x31ca8d[_0x31c003(0xbb)]({'isFromAdapter':!0x0});}),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0x103),(_0xa602ce,{commentThreadId:_0x3c4850})=>{const _0x1544c=_0x327ce5,_0x1bffd0=_0x3b1ca9[_0x1544c(0x110)](_0x3c4850);_0x1bffd0&&_0x1bffd0[_0x1544c(0xfb)]({'isFromAdapter':!0x0});}),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0xf7),(_0x461a95,_0x246361)=>{const _0x3cb5ea=_0x327ce5,_0x46e67a=_0x246361[_0x3cb5ea(0xf0)],_0x3f84d2=_0x3b1ca9[_0x3cb5ea(0x110)](_0x46e67a);_0x3f84d2&&_0x3f84d2[_0x3cb5ea(0x113)]({...S(_0x246361),'isFromAdapter':!0x0});}),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0xe9),(_0x4ca2a0,{commentThreadId:_0x10f356,commentId:_0x19ec7f,content:_0x24058d,attributes:_0x1dc98b})=>{const _0x1d70bc=_0x327ce5,_0x57d23d=_0x3b1ca9[_0x1d70bc(0x110)](_0x10f356);if(_0x57d23d){const _0x458170=_0x57d23d[_0x1d70bc(0xd4)](_0x19ec7f);_0x458170&&_0x458170[_0x1d70bc(0xc9)]({'content':_0x24058d,'attributes':_0x1dc98b,'isFromAdapter':!0x0});}}),this[_0x327ce5(0xe6)](_0x465a89,_0x327ce5(0x10d),(_0x1033c5,{commentThreadId:_0x402ef9,commentId:_0x2096fd})=>{const _0x34c332=_0x327ce5,_0x3aa885=_0x3b1ca9[_0x34c332(0x110)](_0x402ef9);if(_0x3aa885){const _0x253d4c=_0x3aa885[_0x34c332(0xd4)](_0x2096fd);_0x253d4c&&_0x253d4c[_0x34c332(0xfb)]({'isFromAdapter':!0x0});}}),await this[_0x327ce5(0xe8)](_0x2ac5b1);}[_0x5960fa(0x11f)](){const _0x15301b=_0x5960fa;if(this[_0x15301b(0x11a)]instanceof _0x511bfd){const _0x44e8c9=this[_0x15301b(0x11a)][_0x15301b(0xbf)][_0x15301b(0xe2)](_0x15301b(0xda));this[_0x15301b(0xc1)](_0x44e8c9);}}[_0x5960fa(0xc1)](_0x6689d8){const _0x450acd=_0x5960fa;if(!this[_0x450acd(0xf2)][_0x450acd(0xde)](_0x6689d8))throw new _0x400aac(_0x450acd(0xce),null,{'channelId':_0x6689d8});this[_0x450acd(0xdd)](_0x6689d8)[_0x450acd(0x10a)](),this[_0x450acd(0xf2)][_0x450acd(0xcc)](_0x6689d8);}async[_0x5960fa(0xcf)](){const _0x4069e6=_0x5960fa;for(const _0x36af3f of this[_0x4069e6(0xf2)][_0x4069e6(0xf1)]())await this[_0x4069e6(0xe8)](_0x36af3f);if(this[_0x4069e6(0x11a)]instanceof _0x511bfd){const _0x2a3e49=this[_0x4069e6(0x11a)][_0x4069e6(0xbf)][_0x4069e6(0xe2)](_0x4069e6(0xda)),_0x5a05a7=this[_0x4069e6(0x11a)][_0x4069e6(0xba)][_0x4069e6(0xe2)](_0x2a6bd1);_0x5a05a7[_0x4069e6(0xc0)](_0x2a3e49);const _0x56a857=await this[_0x4069e6(0xf2)][_0x4069e6(0xe2)](_0x2a3e49)[_0x4069e6(0xef)]();_0x5a05a7[_0x4069e6(0x115)](_0x2a3e49,_0x56a857);}}async[_0x5960fa(0xe8)](_0x1ce932){const _0x3610d8=_0x5960fa,{connection:_0x36d2bd}=this[_0x3610d8(0x11a)][_0x3610d8(0xba)][_0x3610d8(0xe2)](_0x57df00),_0x65bc1b=this[_0x3610d8(0x11a)][_0x3610d8(0xba)][_0x3610d8(0xe2)](_0x3610d8(0x104)),_0x41c418=this[_0x3610d8(0xf2)][_0x3610d8(0xe2)](_0x1ce932),_0x1fc0a0=await _0x41c418[_0x3610d8(0xe3)](_0x36d2bd);await this[_0x3610d8(0xf5)](_0x1fc0a0);const _0x128001=new Set(Array[_0x3610d8(0xd7)](_0x65bc1b[_0x3610d8(0xe4)]({'channelId':_0x1ce932}),_0x2d09a2=>_0x2d09a2['id']));for(const _0x3930dd of _0x1fc0a0)_0x3930dd[_0x3610d8(0x105)]||_0x128001[_0x3610d8(0xcc)](_0x3930dd[_0x3610d8(0xf0)]);for(const _0x307c0d of _0x128001)_0x65bc1b[_0x3610d8(0x110)](_0x307c0d)[_0x3610d8(0xfb)]({'isFromAdapter':!0x0});for(const _0x44789c of _0x1fc0a0){let _0x44f966=_0x65bc1b[_0x3610d8(0x110)](_0x44789c[_0x3610d8(0xf0)]);const {commentThreadId:_0x136408,context:_0x165793,attributes:_0x53f9fd,resolvedBy:_0x5c746a,resolvedAt:_0x517f7a,unlinkedAt:_0x371677,deletedAt:_0x552503}=_0x44789c;if(_0x552503)continue;_0x44f966||(_0x44f966=_0x65bc1b[_0x3610d8(0x120)]({'channelId':_0x1ce932,'threadId':_0x136408,'context':_0x165793,'attributes':_0x53f9fd||{},'resolvedBy':_0x5c746a,'resolvedAt':_0x517f7a,'unlinkedAt':_0x371677,'isFromAdapter':!0x0}));const _0x1acc8a=new Set(Array[_0x3610d8(0xd7)](_0x44f966[_0x3610d8(0x111)],_0x15582a=>_0x15582a['id']));for(const _0x4e2c0e of _0x44789c[_0x3610d8(0x111)])_0x1acc8a[_0x3610d8(0xcc)](_0x4e2c0e[_0x3610d8(0x11c)]);for(const _0x30d651 of _0x1acc8a)_0x44f966[_0x3610d8(0xd4)](_0x30d651)[_0x3610d8(0xfb)]({'isFromAdapter':!0x0});for(const _0x5be584 of _0x44789c[_0x3610d8(0x111)]){const _0x1a4339=_0x44f966[_0x3610d8(0xd4)](_0x5be584[_0x3610d8(0x11c)]);_0x1a4339?_0x1a4339[_0x3610d8(0x117)]!==_0x5be584[_0x3610d8(0x117)]&&_0x1a4339[_0x3610d8(0xc9)]({'content':_0x5be584[_0x3610d8(0x117)],'isFromAdapter':!0x0}):_0x44f966[_0x3610d8(0x113)](Object[_0x3610d8(0xeb)](S(_0x5be584),{'isFromAdapter':!0x0}));}}}[_0x5960fa(0xdd)](_0x35c7fc){const _0x43efab=_0x5960fa;if(!this[_0x43efab(0xf2)][_0x43efab(0xde)](_0x35c7fc))throw new _0x400aac(_0x43efab(0xc6),null,{'channelId':_0x35c7fc});return this[_0x43efab(0xf2)][_0x43efab(0xe2)](_0x35c7fc);}async[_0x5960fa(0xf5)](_0x2db1fe){const _0x474d99=_0x5960fa,_0x563e7b=this[_0x474d99(0x11a)][_0x474d99(0xba)][_0x474d99(0xe2)](_0x4c17b5),{connection:_0x54c7bd}=this[_0x474d99(0x11a)][_0x474d99(0xba)][_0x474d99(0xe2)](_0x57df00),_0x48196b=new Set();for(const {resolvedBy:_0x3cc1df,comments:_0x1e04ce}of _0x2db1fe){_0x3cc1df&&!_0x563e7b[_0x474d99(0xd6)](_0x3cc1df)&&_0x48196b[_0x474d99(0x10f)](_0x3cc1df);for(const {userId:_0x3f4367}of _0x1e04ce)_0x563e7b[_0x474d99(0xd6)](_0x3f4367)||_0x48196b[_0x474d99(0x10f)](_0x3f4367);}if(0x0===_0x48196b[_0x474d99(0xc2)])return;const _0x53fcd3=await _0x2afdf2[_0x474d99(0xbe)](_0x54c7bd,Array[_0x474d99(0xd7)](_0x48196b));for(const _0x1be20c of _0x53fcd3)_0x563e7b[_0x474d99(0xd6)](_0x1be20c['id'])||_0x563e7b[_0x474d99(0xd2)](_0x1be20c);}}async function F(_0x1855d4){const _0x57ac44=_0x5960fa;if(_0x57ac44(0xd1)!==_0x1855d4[_0x57ac44(0xe1)])throw _0x1855d4;}function _0x5cc7(_0x199664,_0x2a2202){const _0x1e5523=_0x1e55();return _0x5cc7=function(_0x5cc70f,_0x34e099){_0x5cc70f=_0x5cc70f-0xba;let _0x234a1e=_0x1e5523[_0x5cc70f];return _0x234a1e;},_0x5cc7(_0x199664,_0x2a2202);}function k(_0x4c2847){const _0x41cca0=_0x5960fa;if((_0x4b3d89=_0x4c2847)[_0x41cca0(0xd9)][_0x41cca0(0x10e)](_0x41cca0(0x107))||_0x4b3d89[_0x41cca0(0xd9)][_0x41cca0(0x10e)](_0x41cca0(0x11b))||_0x4b3d89[_0x41cca0(0xd9)][_0x41cca0(0x10e)](_0x41cca0(0xea)))return new Promise(()=>{});var _0x4b3d89;throw _0x4c2847;}function S(_0x1609ff){const _0x35ee7d=_0x5960fa;return{'threadId':_0x1609ff[_0x35ee7d(0xf0)],'commentId':_0x1609ff[_0x35ee7d(0x11c)],'content':_0x1609ff[_0x35ee7d(0x117)],'createdAt':_0x1609ff[_0x35ee7d(0x119)],'authorId':_0x1609ff[_0x35ee7d(0xdf)],'attributes':_0x1609ff[_0x35ee7d(0x109)]||{}};}
@@ -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
+ const _0xa87a17=_0x36c0;function _0x5fba(){const _0x42dbca=['12939000vyZcNA','CommentsRepository','1HNqfxJ','_terminateService','CommentsEditing','connected','219348tFdnvi','isOfficialPlugin','switchReadOnly','init','plugins','Comments','3109582tJRxja','4JozKDg','listenTo','change:state','RealTimeCollaborativeComments','pluginName','collaboration.channelId','config','1712QThlnt','data','destroy','get','3385149gXwonn','ready','editor','5960685KzNhDx','requires','_setUpService','19439qohwfr','6914367VISjzQ','6HWwgbZ','isPremiumPlugin','once','2310ElfrxV','isThreadsLoadingPaused'];_0x5fba=function(){return _0x42dbca;};return _0x5fba();}(function(_0x25d615,_0xe10a78){const _0x1613e7=_0x36c0,_0x57324e=_0x25d615();while(!![]){try{const _0x3b23a0=parseInt(_0x1613e7(0x1df))/0x1*(-parseInt(_0x1613e7(0x1e9))/0x2)+-parseInt(_0x1613e7(0x1f5))/0x3*(parseInt(_0x1613e7(0x1ea))/0x4)+-parseInt(_0x1613e7(0x1f8))/0x5*(-parseInt(_0x1613e7(0x1fd))/0x6)+parseInt(_0x1613e7(0x1fb))/0x7*(parseInt(_0x1613e7(0x1f1))/0x8)+-parseInt(_0x1613e7(0x1fc))/0x9+-parseInt(_0x1613e7(0x1dd))/0xa+-parseInt(_0x1613e7(0x200))/0xb*(-parseInt(_0x1613e7(0x1e3))/0xc);if(_0x3b23a0===_0xe10a78)break;else _0x57324e['push'](_0x57324e['shift']());}catch(_0x45ece4){_0x57324e['push'](_0x57324e['shift']());}}}(_0x5fba,0xd6c34));import{Plugin as _0x23fc75}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x219bf7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x50c7f3}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1ef2c3}from'./realtimecollaborativeediting/websocketgateway.js';function _0x36c0(_0x4d0c2e,_0x360151){const _0x5fba96=_0x5fba();return _0x36c0=function(_0x36c081,_0x14a678){_0x36c081=_0x36c081-0x1dd;let _0x42376b=_0x5fba96[_0x36c081];return _0x42376b;},_0x36c0(_0x4d0c2e,_0x360151);}export class RealTimeCollaborativeComments extends _0x23fc75{static get[_0xa87a17(0x1f9)](){const _0x398526=_0xa87a17;return[_0x398526(0x1e8),_0x219bf7,_0x50c7f3,_0x1ef2c3];}static get[_0xa87a17(0x1ee)](){const _0x36848e=_0xa87a17;return _0x36848e(0x1ed);}static get[_0xa87a17(0x1e4)](){return!0x0;}static get[_0xa87a17(0x1fe)](){return!0x0;}[_0xa87a17(0x1e6)](){const _0xf59b7f=_0xa87a17,_0x5b7942=this[_0xf59b7f(0x1f7)][_0xf59b7f(0x1e7)][_0xf59b7f(0x1f4)](_0x1ef2c3),_0x4e93f6=this[_0xf59b7f(0x1f7)][_0xf59b7f(0x1e7)][_0xf59b7f(0x1f4)](_0xf59b7f(0x1e1)),_0x351c40=this[_0xf59b7f(0x1f7)][_0xf59b7f(0x1e7)][_0xf59b7f(0x1f4)](_0x219bf7);return this[_0xf59b7f(0x1f7)][_0xf59b7f(0x1f2)][_0xf59b7f(0x1ff)](_0xf59b7f(0x1f6),()=>{const _0x1747a1=_0xf59b7f;this[_0x1747a1(0x1eb)](_0x5b7942,_0x1747a1(0x1ec),(_0x1deea0,_0x3f3600,_0x24a8e1)=>{const _0x381154=_0x1747a1;_0x4e93f6[_0x381154(0x201)]=_0x381154(0x1e2)!==_0x24a8e1;});}),this[_0xf59b7f(0x1eb)](_0x5b7942,_0xf59b7f(0x1ec),(_0x5435eb,_0xad2105,_0x31178a)=>{const _0x2c8b2c=_0xf59b7f;this[_0x2c8b2c(0x1f7)][_0x2c8b2c(0x1e7)][_0x2c8b2c(0x1f4)](_0x2c8b2c(0x1de))[_0x2c8b2c(0x1e5)](_0x2c8b2c(0x1e2)!==_0x31178a);}),_0x351c40[_0xf59b7f(0x1fa)](this[_0xf59b7f(0x1f7)][_0xf59b7f(0x1f0)][_0xf59b7f(0x1f4)](_0xf59b7f(0x1ef)));}[_0xa87a17(0x1f3)](){const _0x4c7655=_0xa87a17;this[_0x4c7655(0x1f7)][_0x4c7655(0x1e7)][_0x4c7655(0x1f4)](_0x219bf7)[_0x4c7655(0x1e0)](this[_0x4c7655(0x1f7)][_0x4c7655(0x1f0)][_0x4c7655(0x1f4)](_0x4c7655(0x1ef))),super[_0x4c7655(0x1f3)]();}}
@@ -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
+ const _0x38ed25=_0x123e;(function(_0x6605ae,_0x48d883){const _0xfa27da=_0x123e,_0x10189a=_0x6605ae();while(!![]){try{const _0x52044f=-parseInt(_0xfa27da(0x228))/0x1+parseInt(_0xfa27da(0x21f))/0x2*(-parseInt(_0xfa27da(0x1c3))/0x3)+-parseInt(_0xfa27da(0x1cd))/0x4+-parseInt(_0xfa27da(0x144))/0x5*(-parseInt(_0xfa27da(0x204))/0x6)+-parseInt(_0xfa27da(0x1c8))/0x7*(-parseInt(_0xfa27da(0x13f))/0x8)+-parseInt(_0xfa27da(0x1ec))/0x9*(parseInt(_0xfa27da(0x190))/0xa)+parseInt(_0xfa27da(0x1e7))/0xb;if(_0x52044f===_0x48d883)break;else _0x10189a['push'](_0x10189a['shift']());}catch(_0x37bfcc){_0x10189a['push'](_0x10189a['shift']());}}}(_0x1afc,0xaa5ac));import{Plugin as _0x57dbb8,PendingActions as _0x39fdf3}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c4274,version as _0x263ec4,uid as _0x3d2312}from'ckeditor5/src/utils.js';import{Notification as _0x2f7591}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x2c63e6,NoOperation as _0x579ed7,InsertOperation as _0x5450a5,MarkerOperation as _0x441423,RootAttributeOperation as _0x1f595a,OperationFactory as _0x415eba,History as _0x1f0b7d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x587ab6}from'./websocketgateway.js';import{Sessions as _0x165214}from'./sessions.js';import{UserMarkers as _0x49b52d}from'./usermarkers.js';import{getTranslation as _0x5705db}from'../common-translations.js';import{Compressor as _0x26bbc3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x525f43}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5e8949,CollaborativeEditingService as _0xe62c87}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x57dbb8{static [_0x38ed25(0x1a2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xe62c87)());[_0x38ed25(0x132)];[_0x38ed25(0x1fa)];[_0x38ed25(0x223)];[_0x38ed25(0x1d9)];[_0x38ed25(0x13a)];[_0x38ed25(0x145)];[_0x38ed25(0x167)];[_0x38ed25(0x169)];[_0x38ed25(0x232)];[_0x38ed25(0x209)];[_0x38ed25(0x1d3)];[_0x38ed25(0x150)];[_0x38ed25(0x16a)];[_0x38ed25(0x18b)];[_0x38ed25(0x20f)];[_0x38ed25(0x186)];[_0x38ed25(0x1df)];[_0x38ed25(0x217)];static get[_0x38ed25(0x166)](){return[_0x587ab6,_0x165214,_0x49b52d,_0x39fdf3,_0x525f43,_0x2f7591];}static get[_0x38ed25(0x220)](){const _0x37c639=_0x38ed25;return _0x37c639(0x152);}static get[_0x38ed25(0x146)](){return!0x0;}static get[_0x38ed25(0x1b1)](){return!0x0;}get[_0x38ed25(0x170)](){const _0x992c63=_0x38ed25;return this[_0x992c63(0x21e)]+this[_0x992c63(0x132)];}get[_0x38ed25(0x21e)](){const _0x414299=_0x38ed25;return this[_0x414299(0x223)][_0x414299(0x133)]-this[_0x414299(0x132)];}get[_0x38ed25(0x184)](){const _0xdc47f2=_0x38ed25,_0x3a3f09=this[_0xdc47f2(0x223)][_0xdc47f2(0x21d)]();for(let _0x55022c=_0x3a3f09[_0xdc47f2(0x174)]-0x1;_0x55022c>=0x0;_0x55022c--){const _0x5e0f28=_0x3a3f09[_0x55022c];if(!this[_0xdc47f2(0x1df)][_0xdc47f2(0x21a)](_0x5e0f28))return _0x5e0f28[_0xdc47f2(0x1fe)]+0x1-this[_0xdc47f2(0x132)];}return 0x0;}constructor(_0x5dbd55){const _0x3150c9=_0x38ed25;if(super(_0x5dbd55),this[_0x3150c9(0x132)]=0x0,this[_0x3150c9(0x1fa)]=null,this[_0x3150c9(0x223)]=new _0x1f0b7d(),this[_0x3150c9(0x1da)][_0x3150c9(0x177)][_0x3150c9(0x168)](_0x3150c9(0x15c),{}),this[_0x3150c9(0x1d9)]=this[_0x3150c9(0x1da)][_0x3150c9(0x177)][_0x3150c9(0x17a)](_0x3150c9(0x221)),!this[_0x3150c9(0x1d9)])throw new _0x2c4274(_0x3150c9(0x1d0),this);const _0x59cad8=_0x5dbd55[_0x3150c9(0x177)][_0x3150c9(0x17a)](_0x3150c9(0x1aa))||_0x263ec4;this[_0x3150c9(0x13a)]=new RealTimeCollaborationClient[(_0x3150c9(0x1a2))](_0x59cad8,this[_0x3150c9(0x1d9)]),this[_0x3150c9(0x145)]=this[_0x3150c9(0x1da)][_0x3150c9(0x1a6)][_0x3150c9(0x1b5)],this[_0x3150c9(0x167)]=new _0x26bbc3(),this[_0x3150c9(0x169)]=[],this[_0x3150c9(0x232)]=new WeakSet(),this[_0x3150c9(0x209)]=new Set(),this[_0x3150c9(0x195)](_0x3150c9(0x194),!0x1),this[_0x3150c9(0x195)](_0x3150c9(0x1e1),!0x1),this[_0x3150c9(0x1d3)]=null,this[_0x3150c9(0x150)]=!0x1,this[_0x3150c9(0x16a)]=null,this[_0x3150c9(0x18b)]=0x12c,this[_0x3150c9(0x20f)]=this[_0x3150c9(0x18b)],this[_0x3150c9(0x186)]=null,this[_0x3150c9(0x1df)]=new WeakSet(),this[_0x3150c9(0x217)]=new J(this[_0x3150c9(0x1df)]);}[_0x38ed25(0x131)](){const _0x49276d=_0x38ed25,_0x54f3e1=this[_0x49276d(0x1da)],_0x420db8=_0x54f3e1[_0x49276d(0x1ae)][_0x49276d(0x17a)](_0x525f43),_0x4235f1=_0x54f3e1[_0x49276d(0x1ae)][_0x49276d(0x17a)](_0x587ab6);this[_0x49276d(0x16e)](_0x420db8,_0x49276d(0x22b),(_0x1f78d2,_0x344cfc)=>{const _0xbd1f34=_0x49276d,_0x1832a2=_0x344cfc[0x0];_0x1832a2[_0xbd1f34(0x203)]&&(_0x1f78d2[_0xbd1f34(0x1bc)]=_0x420db8[_0xbd1f34(0x1b3)](_0x1832a2[_0xbd1f34(0x203)]),_0x1f78d2[_0xbd1f34(0x1a9)]()),null===_0x1832a2[_0xbd1f34(0x203)]&&(_0x1f78d2[_0xbd1f34(0x1bc)]=null,_0x1f78d2[_0xbd1f34(0x1a9)]());},{'priority':_0x49276d(0x1b0)}),this[_0x49276d(0x16e)](_0x54f3e1[_0x49276d(0x1a6)][_0x49276d(0x1b5)][_0x49276d(0x192)],_0x49276d(0x1b8),(_0x1ce512,_0x5b4638)=>{const _0x1e8a8c=_0x49276d;_0x5b4638[_0x1e8a8c(0x1bf)]&&this[_0x1e8a8c(0x17b)]();}),this[_0x49276d(0x16e)](_0x54f3e1[_0x49276d(0x1f0)][_0x49276d(0x181)],_0x49276d(0x1a4),()=>{const _0x21a19a=_0x49276d;this[_0x21a19a(0x17b)]();}),this[_0x49276d(0x14e)](),_0x54f3e1[_0x49276d(0x1a6)]['on'](_0x49276d(0x19c),(_0x294e54,_0x2d8081)=>{const _0x539e0b=_0x49276d,_0x35e694=_0x2d8081[0x0];_0x35e694[_0x539e0b(0x1ca)]&&(this[_0x539e0b(0x16c)](_0x35e694),this[_0x539e0b(0x18f)]()&&this[_0x539e0b(0x14f)]());}),this[_0x49276d(0x1a0)](),this[_0x49276d(0x1c9)](_0x49276d(0x18d))['to'](_0x4235f1,_0x49276d(0x154),this,_0x49276d(0x1e1),(_0x25bde6,_0x20067d)=>_0x49276d(0x19d)===_0x25bde6&&!_0x20067d),this['on'](_0x49276d(0x231),()=>{const _0x53e49b=_0x49276d;this[_0x53e49b(0x18d)]?_0x54f3e1[_0x53e49b(0x1e5)](_0x53e49b(0x199)):_0x54f3e1[_0x53e49b(0x1ed)](_0x53e49b(0x199));}),this[_0x49276d(0x18d)]?_0x54f3e1[_0x49276d(0x1e5)](_0x49276d(0x199)):_0x54f3e1[_0x49276d(0x1ed)](_0x49276d(0x199)),this[_0x49276d(0x195)](_0x49276d(0x21c),!0x1);}async[_0x38ed25(0x226)](){const _0x374187=_0x38ed25,_0x5d16d8=this[_0x374187(0x1da)][_0x374187(0x1ae)][_0x374187(0x17a)](_0x165214),_0x26ed16=this[_0x374187(0x1da)][_0x374187(0x1ae)][_0x374187(0x17a)](_0x587ab6);try{this[_0x374187(0x194)]=!0x0,_0x5d16d8[_0x374187(0x14c)](this[_0x374187(0x1d9)]);const _0x39e495=await this[_0x374187(0x13a)][_0x374187(0x226)](_0x26ed16[_0x374187(0x14a)],this[_0x374187(0x184)]);await this[_0x374187(0x213)](_0x39e495)&&(this[_0x374187(0x194)]=!0x1,this[_0x374187(0x1af)]());const _0x3b031c=await this[_0x374187(0x13a)][_0x374187(0x16b)]();_0x5d16d8[_0x374187(0x1b7)](this[_0x374187(0x1d9)],_0x3b031c),this[_0x374187(0x1e4)](),this[_0x374187(0x21c)]=!0x0;}catch(_0x47f5f3){if(function(_0x84f70f){const _0x24f1e0=_0x374187;return _0x24f1e0(0x139)===_0x84f70f[_0x24f1e0(0x230)];}(_0x47f5f3)&&this[_0x374187(0x1fa)])await this[_0x374187(0x12f)]();else{if(function(_0x59a1f1){const _0x976909=_0x374187;return _0x976909(0x202)===_0x59a1f1[_0x976909(0x230)];}(_0x47f5f3)){const _0x2d5346=_0x5705db(this[_0x374187(0x1da)][_0x374187(0x1d8)],_0x374187(0x155));this[_0x374187(0x22a)](_0x2d5346);}else{if(!(_0x47f5f3 instanceof $))throw _0x47f5f3;this[_0x374187(0x22a)]();}}}}[_0x38ed25(0x1f2)](){const _0x365417=_0x38ed25,_0x1fa745=this[_0x365417(0x1da)][_0x365417(0x1ae)][_0x365417(0x17a)](_0x587ab6),_0x3bea94=this[_0x365417(0x1da)][_0x365417(0x1ae)][_0x365417(0x17a)](_0x165214);this[_0x365417(0x1da)][_0x365417(0x1ed)](_0x365417(0x216)),_0x3bea94[_0x365417(0x1f5)][_0x365417(0x21a)](this[_0x365417(0x1d9)])&&_0x3bea94[_0x365417(0x14c)](this[_0x365417(0x1d9)]),_0x1fa745[_0x365417(0x175)](this),this[_0x365417(0x19e)](),super[_0x365417(0x1f2)]();}async[_0x38ed25(0x213)](_0x5a0ba5){const _0x2d6647=_0x38ed25;if(this[_0x2d6647(0x1fa)]!==_0x5a0ba5[_0x2d6647(0x1fa)]&&this[_0x2d6647(0x186)]!==_0x5a0ba5[_0x2d6647(0x1d2)])throw new $();return this[_0x2d6647(0x1fa)]=_0x5a0ba5[_0x2d6647(0x1fa)],this[_0x2d6647(0x1c6)]([],{..._0x5a0ba5,'wereChangesApplied':!0x1,'data':_0x5a0ba5[_0x2d6647(0x1fc)]},_0x2d6647(0x226));}async[_0x38ed25(0x17f)](_0x28dd60,_0x4fb6e3=!0x1){const _0x3f3865=_0x38ed25,{connection:_0x59d5e1}=this[_0x3f3865(0x1da)][_0x3f3865(0x1ae)][_0x3f3865(0x17a)](_0x587ab6);RealTimeCollaborationClient[_0x3f3865(0x1a2)][_0x3f3865(0x16b)](_0x59d5e1,this[_0x3f3865(0x1d9)])[_0x3f3865(0x185)](_0x4a51d0=>this[_0x3f3865(0x1ac)](_0x4a51d0))[_0x3f3865(0x233)](_0x15e272=>{const _0x377678=_0x3f3865;this[_0x377678(0x1cb)](_0x377678(0x140),_0x15e272);}),this[_0x3f3865(0x16e)](this[_0x3f3865(0x13a)],_0x3f3865(0x1e0),this[_0x3f3865(0x208)][_0x3f3865(0x1c9)](this)),this[_0x3f3865(0x16e)](this[_0x3f3865(0x13a)],_0x3f3865(0x1f7),(_0x46b475,_0x2dbfad)=>{const _0x298458=_0x3f3865;this[_0x298458(0x1cb)](_0x298458(0x1b9),_0x2dbfad);}),this[_0x3f3865(0x16e)](this[_0x3f3865(0x13a)],_0x3f3865(0x1a1),()=>{const _0x550d92=_0x3f3865;this[_0x550d92(0x21c)]=!0x1;});const _0x336cc3=this[_0x3f3865(0x217)][_0x3f3865(0x172)](_0x28dd60);this[_0x3f3865(0x194)]=!0x0;const _0x3e562a=await this[_0x3f3865(0x13a)][_0x3f3865(0x12e)](_0x59d5e1,this[_0x3f3865(0x1e2)](_0x28dd60),_0x336cc3);if(this[_0x3f3865(0x1fa)]=_0x3e562a[_0x3f3865(0x1fa)],_0x4fb6e3){if(!_0x3e562a[_0x3f3865(0x1f6)])return void this[_0x3f3865(0x22a)]();this[_0x3f3865(0x194)]=!0x1,this[_0x3f3865(0x1af)](),this[_0x3f3865(0x223)][_0x3f3865(0x15b)](),this[_0x3f3865(0x132)]=_0x3e562a[_0x3f3865(0x1fd)],this[_0x3f3865(0x223)][_0x3f3865(0x133)]=this[_0x3f3865(0x132)],await this[_0x3f3865(0x1c6)](_0x28dd60,_0x3e562a,_0x3f3865(0x165));}else await this[_0x3f3865(0x157)](_0x3e562a,_0x28dd60);this[_0x3f3865(0x1e4)](),this[_0x3f3865(0x21c)]=!0x0;}[_0x38ed25(0x1e4)](){const _0x1b4738=_0x38ed25,_0x11467f=this[_0x1b4738(0x1da)][_0x1b4738(0x1ae)][_0x1b4738(0x17a)](_0x165214),_0x2210b1=this[_0x1b4738(0x1da)][_0x1b4738(0x1ae)][_0x1b4738(0x17a)](_0x49b52d),_0x3ec0e7=_0x11467f[_0x1b4738(0x1f5)][_0x1b4738(0x17a)](this[_0x1b4738(0x1d9)]);_0x3ec0e7&&_0x3ec0e7[_0x1b4738(0x174)]>0x1?_0x2210b1[_0x1b4738(0x151)]():this[_0x1b4738(0x16e)](_0x11467f,_0x1b4738(0x178)+this[_0x1b4738(0x1d9)],()=>{const _0x2b48d9=_0x1b4738;0x2===_0x11467f[_0x2b48d9(0x1f5)][_0x2b48d9(0x17a)](this[_0x2b48d9(0x1d9)])[_0x2b48d9(0x174)]&&_0x2210b1[_0x2b48d9(0x151)]();});}async[_0x38ed25(0x208)](_0x59911d,_0x54d5af,_0x3eda4e,_0x358340){const _0x3f0f01=_0x38ed25;if(!this[_0x3f0f01(0x194)]&&this[_0x3f0f01(0x145)][_0x3f0f01(0x133)]==_0x54d5af){const _0x5f58f5=this[_0x3f0f01(0x141)](_0x3eda4e,_0x358340);await this[_0x3f0f01(0x1f8)](_0x5f58f5),this[_0x3f0f01(0x1e8)](_0x5f58f5,_0x54d5af,_0x3eda4e[_0x3f0f01(0x1d2)])||this[_0x3f0f01(0x1cb)](_0x3f0f01(0x212));}}async[_0x38ed25(0x12f)](){const _0x38a66d=_0x38ed25;this[_0x38a66d(0x19e)]();const {locale:_0x49e04e}=this[_0x38a66d(0x1da)];let _0x301942;try{_0x301942=await this[_0x38a66d(0x13a)][_0x38a66d(0x171)]();}catch{const _0x4c0bd3=_0x5705db(_0x49e04e,_0x38a66d(0x214));return void this[_0x38a66d(0x22a)](_0x4c0bd3);}const _0x319090=_0x301942[_0x38a66d(0x227)]||_0x301942[_0x38a66d(0x135)];if(this[_0x38a66d(0x186)]!==_0x319090[_0x38a66d(0x1d2)]){const _0x1b9d9d=_0x5705db(_0x49e04e,_0x38a66d(0x210));return void this[_0x38a66d(0x22a)](_0x1b9d9d);}await this[_0x38a66d(0x17f)](this[_0x38a66d(0x1da)][_0x38a66d(0x1a6)][_0x38a66d(0x1b5)][_0x38a66d(0x1ba)][_0x38a66d(0x21d)](),!0x0);}[_0x38ed25(0x19e)](){const _0x1aed4b=_0x38ed25;this[_0x1aed4b(0x13a)][_0x1aed4b(0x19f)](),this[_0x1aed4b(0x169)]=[],clearTimeout(this[_0x1aed4b(0x16a)]),this[_0x1aed4b(0x18a)](this[_0x1aed4b(0x13a)]);}[_0x38ed25(0x1ac)](_0x375f3e){const _0xb38861=_0x38ed25,_0x93f9d7=this[_0xb38861(0x1da)][_0xb38861(0x1ae)][_0xb38861(0x17a)](_0x165214);this[_0xb38861(0x16e)](_0x93f9d7,_0xb38861(0x178)+this[_0xb38861(0x1d9)],(_0x24116c,{session:_0x3d826b})=>{const _0x46fe30=_0xb38861;if(_0x3d826b['id']===_0x93f9d7[_0x46fe30(0x1c5)]){_0x24116c[_0x46fe30(0x22d)]();const _0x42b307=this[_0x46fe30(0x1da)][_0x46fe30(0x1ae)][_0x46fe30(0x21a)](_0x46fe30(0x1e9))&&this[_0x46fe30(0x1da)][_0x46fe30(0x1ae)][_0x46fe30(0x17a)](_0x46fe30(0x1e9));let _0xbe79b1=_0x3d826b[_0x46fe30(0x211)];_0x42b307&&_0x42b307[_0x46fe30(0x15d)]&&(_0xbe79b1=_0xbe79b1[_0x46fe30(0x12d)](_0x43a113=>_0x46fe30(0x218)!==_0x43a113)),this[_0x46fe30(0x1da)][_0x46fe30(0x1ae)][_0x46fe30(0x17a)](_0x46fe30(0x1c0))[_0x46fe30(0x162)](_0xbe79b1,this[_0x46fe30(0x1d9)]);}}),_0x93f9d7[_0xb38861(0x1b7)](this[_0xb38861(0x1d9)],_0x375f3e);}[_0x38ed25(0x14e)](){const _0x38221b=_0x38ed25,_0x39a68f=this[_0x38221b(0x1da)][_0x38221b(0x1fc)][_0x38221b(0x195)];this[_0x38221b(0x1da)][_0x38221b(0x1fc)][_0x38221b(0x195)]=(..._0x4ff53a)=>{const _0x543fc8=_0x38221b;if(!_0x4ff53a[_0x4ff53a[_0x543fc8(0x174)]-0x1][_0x543fc8(0x224)])throw new _0x2c4274(_0x543fc8(0x180),this);_0x39a68f[_0x543fc8(0x137)](this[_0x543fc8(0x1da)][_0x543fc8(0x1fc)],_0x4ff53a);};}[_0x38ed25(0x1a0)](){const _0x830541=_0x38ed25;this[_0x830541(0x1da)][_0x830541(0x1fc)]['on'](_0x830541(0x131),(_0x3ef530,[_0xe16646])=>{const _0x88ee2a=_0x830541;if(this[_0x88ee2a(0x145)][_0x88ee2a(0x133)])throw new _0x2c4274(_0x88ee2a(0x191),this);_0x3ef530[_0x88ee2a(0x1a9)](),this[_0x88ee2a(0x163)]();const _0x2f7cac=this[_0x88ee2a(0x1da)][_0x88ee2a(0x177)][_0x88ee2a(0x17a)](_0x88ee2a(0x1f3)),_0x4bbfd3=this[_0x88ee2a(0x149)](_0xe16646,_0x2f7cac);0x0==_0x4bbfd3[_0x88ee2a(0x174)]&&_0x4bbfd3[_0x88ee2a(0x15f)](new _0x579ed7(0x0)),_0x3ef530[_0x88ee2a(0x1bc)]=this[_0x88ee2a(0x17f)](_0x4bbfd3)[_0x88ee2a(0x185)](()=>{const _0x59a9ec=_0x88ee2a;this[_0x59a9ec(0x1da)][_0x59a9ec(0x1ae)][_0x59a9ec(0x17a)](_0x587ab6)[_0x59a9ec(0x13d)](this),this[_0x59a9ec(0x1da)][_0x59a9ec(0x1fc)][_0x59a9ec(0x17e)](_0x59a9ec(0x229));})[_0x88ee2a(0x233)](_0x3fb3a7=>this[_0x88ee2a(0x1cb)](_0x88ee2a(0x1f9),_0x3fb3a7))[_0x88ee2a(0x1b6)](()=>this[_0x88ee2a(0x1af)]());},{'priority':_0x830541(0x1b0)}),this[_0x830541(0x1da)]['on'](_0x830541(0x206),async(_0x5770eb,[_0x261fbe,_0x55f680])=>{const _0x3de87d=_0x830541;_0x5770eb[_0x3de87d(0x1a9)]();const _0x2ea639=this[_0x3de87d(0x1da)][_0x3de87d(0x1a6)][_0x3de87d(0x1b5)][_0x3de87d(0x1a3)](_0x261fbe);if(!this[_0x3de87d(0x209)][_0x3de87d(0x21a)](_0x261fbe)){const _0x334acb=_0x55f680&&_0x55f680[_0x3de87d(0x1fc)]?_0x55f680[_0x3de87d(0x1fc)]:'',_0x2d4889=_0x55f680&&_0x55f680[_0x3de87d(0x13e)]?_0x55f680[_0x3de87d(0x13e)]:{};await this[_0x3de87d(0x1d4)](_0x261fbe,_0x334acb,_0x2d4889);}this[_0x3de87d(0x1da)][_0x3de87d(0x1a6)][_0x3de87d(0x1eb)]({'isUndoable':!0x1},()=>{const _0x2ce487=_0x3de87d;_0x2ea639[_0x2ce487(0x1c7)]=!0x0,this[_0x2ce487(0x1da)][_0x2ce487(0x1a6)][_0x2ce487(0x1b5)][_0x2ce487(0x160)][_0x2ce487(0x1a5)](_0x2ea639);});},{'priority':_0x830541(0x1b0)});}async[_0x38ed25(0x1f8)](_0xe7c3c){const _0x4f7d0e=_0x38ed25,_0x5a1f8d=this[_0x4f7d0e(0x1da)][_0x4f7d0e(0x1ae)][_0x4f7d0e(0x17a)](_0x525f43),{connection:_0x40ae77}=this[_0x4f7d0e(0x1da)][_0x4f7d0e(0x1ae)][_0x4f7d0e(0x17a)](_0x587ab6),_0x1d0488=new Set();for(const _0x33b75f of _0xe7c3c){const _0x35be78=_0x33b75f[_0x4f7d0e(0x203)];_0x35be78&&!_0x5a1f8d[_0x4f7d0e(0x1b3)](_0x35be78)&&_0x1d0488[_0x4f7d0e(0x159)](_0x35be78);}if(0x0===_0x1d0488[_0x4f7d0e(0x22c)])return;const _0x4c4e3=await _0x5e8949[_0x4f7d0e(0x136)](_0x40ae77,Array[_0x4f7d0e(0x1cc)](_0x1d0488));for(const _0x509008 of _0x4c4e3)_0x5a1f8d[_0x4f7d0e(0x1b3)](_0x509008['id'])||_0x5a1f8d[_0x4f7d0e(0x1d5)](_0x509008);}[_0x38ed25(0x149)](_0x4057d6,_0x55fa12={}){const _0x54cd17=_0x38ed25,_0x31dcf1=this[_0x54cd17(0x1da)][_0x54cd17(0x1a6)],_0x4b2017=[];let _0x14cc50=0x0;const _0xd5d019=_0x54cd17(0x222)==typeof _0x4057d6?{'main':_0x4057d6}:_0x4057d6;for(const _0x53503c of Object[_0x54cd17(0x1b2)](_0xd5d019)){if(!this[_0x54cd17(0x145)][_0x54cd17(0x1bb)][_0x54cd17(0x21a)](_0x53503c))throw new _0x2c4274(_0x54cd17(0x138),this);const _0xa6399c=this[_0x54cd17(0x1da)][_0x54cd17(0x1fc)][_0x54cd17(0x143)](_0xd5d019[_0x53503c]),_0x59efd5=this[_0x54cd17(0x145)][_0x54cd17(0x1a3)](_0x53503c),_0x1e466e=new _0x5450a5(_0x31dcf1[_0x54cd17(0x19b)](_0x59efd5,0x0),_0xa6399c,_0x14cc50++);_0x4b2017[_0x54cd17(0x15f)](_0x1e466e);for(const [_0x5ee8b5,_0xdb36a7]of _0xa6399c[_0x54cd17(0x1ef)]){const _0x50ec4e=_0x31dcf1[_0x54cd17(0x197)](_0x31dcf1[_0x54cd17(0x1bd)](_0x59efd5,_0xdb36a7[_0x54cd17(0x189)][_0x54cd17(0x148)][_0x54cd17(0x176)]()),_0x31dcf1[_0x54cd17(0x1bd)](_0x59efd5,_0xdb36a7[_0x54cd17(0x1ea)][_0x54cd17(0x148)][_0x54cd17(0x176)]())),_0x88592b=new _0x441423(_0x5ee8b5,null,_0x50ec4e,_0x31dcf1[_0x54cd17(0x1ef)],!0x0,_0x14cc50++);_0x4b2017[_0x54cd17(0x15f)](_0x88592b);}}if(_0x55fa12)for(const [_0x152d1d,_0xccf699]of Object[_0x54cd17(0x1a8)](_0x55fa12)){const _0xaf1fd5=_0x31dcf1[_0x54cd17(0x1b5)][_0x54cd17(0x1a3)](_0x152d1d);if(!_0xaf1fd5)throw new _0x2c4274(_0x54cd17(0x1c4),null);for(const [_0x3ce46c,_0x4f8fcf]of Object[_0x54cd17(0x1a8)](_0xccf699))if(null!==_0x4f8fcf){const _0x11dabc=new _0x1f595a(_0xaf1fd5,_0x3ce46c,null,_0x4f8fcf,_0x14cc50++);_0x4b2017[_0x54cd17(0x15f)](_0x11dabc);}}return _0x4b2017;}async[_0x38ed25(0x1d4)](_0xb099cc,_0x3de902,_0x3fc765){const _0x57c929=_0x38ed25;this[_0x57c929(0x149)]({[_0xb099cc]:_0x3de902},{[_0xb099cc]:_0x3fc765})[_0x57c929(0x134)]((_0x36988e,_0x2add9a)=>{const _0x1e28a5=_0x57c929;_0x36988e[_0x1e28a5(0x1fe)]=this[_0x1e28a5(0x145)][_0x1e28a5(0x133)]+_0x2add9a,_0x36988e[_0x1e28a5(0x130)]=!0x0,this[_0x1e28a5(0x16c)](_0x36988e);}),this[_0x57c929(0x14f)](),await this[_0x57c929(0x13b)]();}async[_0x38ed25(0x157)](_0x1ad91b,_0x1c68e3){const _0x45382a=_0x38ed25;let _0x2db0bc;this[_0x45382a(0x132)]=_0x1ad91b[_0x45382a(0x1fd)];const _0x23e1ea=_0x1ad91b[_0x45382a(0x1f6)]&&!_0x1ad91b[_0x45382a(0x17c)],_0x7183b3=_0x23e1ea?0x0:_0x1ad91b[_0x45382a(0x1fc)][_0x45382a(0x1fe)];if(_0x1c68e3[_0x45382a(0x134)](_0x562406=>{const _0x21cdaf=_0x45382a;_0x562406[_0x21cdaf(0x130)]=!0x0,_0x562406[_0x21cdaf(0x1ce)]=_0x1ad91b[_0x21cdaf(0x156)],_0x562406[_0x21cdaf(0x203)]=null;}),_0x23e1ea)_0x2db0bc=_0x1c68e3,this[_0x45382a(0x15a)](_0x2db0bc,_0x23e1ea);else{if(_0x1ad91b[_0x45382a(0x17c)]){const _0x27298c=this[_0x45382a(0x149)](_0x1ad91b[_0x45382a(0x17c)]);this[_0x45382a(0x145)][_0x45382a(0x1ba)][_0x45382a(0x133)]=-_0x27298c[_0x45382a(0x174)],_0x27298c[_0x45382a(0x134)](_0x4c8f6f=>{const _0x5458a0=_0x45382a;_0x4c8f6f[_0x5458a0(0x1fe)]-=_0x27298c[_0x5458a0(0x174)],_0x4c8f6f[_0x5458a0(0x1ce)]=_0x1ad91b[_0x5458a0(0x156)],_0x4c8f6f[_0x5458a0(0x130)]=!0x0,_0x4c8f6f[_0x5458a0(0x203)]=null;}),this[_0x45382a(0x15a)](_0x27298c,!0x0),this[_0x45382a(0x223)][_0x45382a(0x133)]=-_0x27298c[_0x45382a(0x174)]+this[_0x45382a(0x132)],this[_0x45382a(0x1de)](_0x27298c);}this[_0x45382a(0x145)][_0x45382a(0x1ba)][_0x45382a(0x133)]=_0x7183b3,_0x2db0bc=this[_0x45382a(0x141)](_0x1ad91b[_0x45382a(0x1fc)],_0x1ad91b[_0x45382a(0x1ab)]),await this[_0x45382a(0x1f8)](_0x2db0bc),this[_0x45382a(0x15a)](_0x2db0bc,_0x23e1ea);}_0x1ad91b[_0x45382a(0x1d2)]&&(this[_0x45382a(0x217)][_0x45382a(0x1be)](_0x2db0bc,_0x1ad91b[_0x45382a(0x1d2)]),this[_0x45382a(0x186)]=_0x1ad91b[_0x45382a(0x1d2)]),this[_0x45382a(0x223)][_0x45382a(0x133)]=_0x7183b3+this[_0x45382a(0x132)],this[_0x45382a(0x1de)](_0x2db0bc),_0x1c68e3[_0x45382a(0x12d)](_0x56c58e=>{const _0x574761=_0x45382a,_0x42be7d=this[_0x574761(0x1c2)](_0x56c58e);return _0x42be7d&&!this[_0x574761(0x209)][_0x574761(0x21a)](_0x42be7d);})[_0x45382a(0x134)]((_0x51a84b,_0xd1f146)=>{const _0x2e228c=_0x45382a;_0x51a84b[_0x2e228c(0x1fe)]=this[_0x2e228c(0x145)][_0x2e228c(0x133)]+_0xd1f146,this[_0x2e228c(0x16c)](_0x51a84b);}),this[_0x45382a(0x18f)]()?(this[_0x45382a(0x20f)]=0x0,this[_0x45382a(0x14f)](!0x0),await this[_0x45382a(0x13b)]()):(this[_0x45382a(0x194)]=!0x1,this[_0x45382a(0x1af)]());}[_0x38ed25(0x1cb)](_0x870df6,_0xd21f20){const _0x1eebac=_0x38ed25,_0x43b24d=_0xd21f20&&_0xd21f20[_0x1eebac(0x193)];if(_0x43b24d&&_0x43b24d[_0x1eebac(0x198)](_0x1eebac(0x20d)))throw _0xd21f20;const _0x3f05bc=this[_0x1eebac(0x1da)][_0x1eebac(0x1ae)][_0x1eebac(0x17a)](_0x587ab6);throw this[_0x1eebac(0x194)]=!0x0,_0x3f05bc[_0x1eebac(0x19f)](),this[_0x1eebac(0x1da)][_0x1eebac(0x1ed)](_0x1eebac(0x1d1)),new _0x2c4274(_0x870df6,this[_0x1eebac(0x1da)],_0x43b24d?{'originalError':_0x43b24d}:void 0x0);}[_0x38ed25(0x16c)](_0x57828e){const _0x1bba66=_0x38ed25;this[_0x1bba66(0x232)][_0x1bba66(0x21a)](_0x57828e)||(this[_0x1bba66(0x232)][_0x1bba66(0x159)](_0x57828e),this[_0x1bba66(0x169)][_0x1bba66(0x15f)](_0x57828e),this[_0x1bba66(0x1d3)]||_0x1bba66(0x1cf)==_0x57828e[_0x1bba66(0x16f)]&&!_0x57828e[_0x1bba66(0x20e)]||this[_0x1bba66(0x163)]());}[_0x38ed25(0x14f)](_0x2ec19d=!0x1){const _0x3e1cab=_0x38ed25;!_0x2ec19d&&this[_0x3e1cab(0x194)]||(this[_0x3e1cab(0x194)]=!0x0,clearTimeout(this[_0x3e1cab(0x16a)]),this[_0x3e1cab(0x16a)]=setTimeout(()=>{const _0x4213cb=_0x3e1cab;this[_0x4213cb(0x1d7)]()[_0x4213cb(0x185)](_0x354fb3=>{const _0x2a601e=_0x4213cb;_0x354fb3&&(this[_0x2a601e(0x1af)](),this[_0x2a601e(0x194)]=!0x1);})[_0x4213cb(0x233)](_0x550425=>{const _0x3ab647=_0x4213cb;this[_0x3ab647(0x1af)](),this[_0x3ab647(0x194)]=!0x1,function(_0x1ac7fe){const _0xaad2ba=_0x3ab647;return _0x1ac7fe[_0xaad2ba(0x193)][_0xaad2ba(0x198)](_0xaad2ba(0x215))||_0x1ac7fe[_0xaad2ba(0x193)][_0xaad2ba(0x198)](_0xaad2ba(0x188))||_0x1ac7fe[_0xaad2ba(0x193)][_0xaad2ba(0x198)](_0xaad2ba(0x219));}(_0x550425)||this[_0x3ab647(0x1cb)](_0x550425[_0x3ab647(0x193)],_0x550425);});},this[_0x3e1cab(0x20f)]));}[_0x38ed25(0x13b)](){return new Promise(_0x28f730=>{const _0x1c9f13=_0x123e;this['on'](_0x1c9f13(0x164),()=>{_0x28f730();});});}async[_0x38ed25(0x1d7)](){const _0x584ff0=_0x38ed25,_0x1699fd=this[_0x584ff0(0x1da)][_0x584ff0(0x1ae)][_0x584ff0(0x17a)](_0x49b52d);if(this[_0x584ff0(0x1ad)]()&&(_0x1699fd[_0x584ff0(0x151)](),this[_0x584ff0(0x150)]=!0x1),!this[_0x584ff0(0x18f)]())return!0x0;const _0x33af96=[...this[_0x584ff0(0x169)]];for(const _0x3a060b of _0x33af96)_0x3a060b[_0x584ff0(0x225)]=this[_0x584ff0(0x145)][_0x584ff0(0x1ba)][_0x584ff0(0x183)](_0x3a060b);const _0x1f569b=this[_0x584ff0(0x217)][_0x584ff0(0x172)](_0x33af96),_0x1af824=G++,_0x4a3126=this[_0x584ff0(0x1e2)](_0x33af96),_0x3f42a9=await this[_0x584ff0(0x13a)][_0x584ff0(0x22f)](_0x4a3126,_0x4a3126[_0x584ff0(0x1fe)],_0x1f569b);try{return await this[_0x584ff0(0x1c6)](_0x33af96,_0x3f42a9,_0x1af824);}catch(_0x1e1ece){return this[_0x584ff0(0x1cb)](_0x584ff0(0x200),_0x1e1ece);}}async[_0x38ed25(0x1c6)](_0x1b5658,_0x214de8,_0xeb1d73){const _0x55fd16=_0x38ed25;if(_0x55fd16(0x1f7)in _0x214de8)throw _0x214de8[_0x55fd16(0x1f7)];let _0x2c6fcb=!0x1;if(_0x214de8[_0x55fd16(0x1f6)]){_0x214de8[_0x55fd16(0x1d2)]&&(this[_0x55fd16(0x186)]=_0x214de8[_0x55fd16(0x1d2)]),this[_0x55fd16(0x169)]=this[_0x55fd16(0x169)][_0x55fd16(0x12d)](_0x492575=>!_0x1b5658[_0x55fd16(0x1f1)](_0x492575));for(const _0x2b4864 of _0x1b5658)_0x2b4864[_0x55fd16(0x1ce)]=_0x55fd16(0x14b)in _0x214de8&&_0x214de8[_0x55fd16(0x14b)]||void 0x0;K(_0x1b5658,_0x214de8[_0x55fd16(0x133)]-_0x1b5658[_0x55fd16(0x174)]),this[_0x55fd16(0x1de)](_0x1b5658);const _0x14b626=_0x1b5658[_0x55fd16(0x12d)](_0x3928da=>{const _0x489f2b=_0x55fd16;if(!_0x3928da[_0x489f2b(0x130)])return!0x1;const _0xa543f=this[_0x489f2b(0x1c2)](_0x3928da);return _0xa543f&&!this[_0x489f2b(0x209)][_0x489f2b(0x21a)](_0xa543f);});K(_0x14b626,this[_0x55fd16(0x145)][_0x55fd16(0x133)]),this[_0x55fd16(0x15a)](_0x14b626),_0x2c6fcb=!0x0,this[_0x55fd16(0x20f)]=this[_0x55fd16(0x18b)];}else{const _0x551ea6=this[_0x55fd16(0x141)](_0x214de8[_0x55fd16(0x1fc)],_0x214de8[_0x55fd16(0x1ab)])[_0x55fd16(0x12d)](_0x5ee620=>_0x5ee620[_0x55fd16(0x1fe)]>=this[_0x55fd16(0x21e)]);_0x551ea6[_0x55fd16(0x134)](_0x1a0f49=>this[_0x55fd16(0x196)](_0x1a0f49)),this[_0x55fd16(0x169)]=this[_0x55fd16(0x169)][_0x55fd16(0x12d)](_0x462917=>!_0x462917[_0x55fd16(0x130)]||!this[_0x55fd16(0x209)][_0x55fd16(0x21a)](this[_0x55fd16(0x1c2)](_0x462917))),this[_0x55fd16(0x169)][_0x55fd16(0x174)]&&K(this[_0x55fd16(0x169)],this[_0x55fd16(0x169)][0x0][_0x55fd16(0x1fe)]),await this[_0x55fd16(0x1f8)](_0x551ea6),_0x2c6fcb=this[_0x55fd16(0x1e8)](_0x551ea6,_0x214de8[_0x55fd16(0x133)],_0x214de8[_0x55fd16(0x1d2)]),this[_0x55fd16(0x20f)]=Math[_0x55fd16(0x142)](this[_0x55fd16(0x20f)]/0x2);}return _0x2c6fcb?!this[_0x55fd16(0x18f)]()||(this[_0x55fd16(0x14f)](!0x0),!0x1):this[_0x55fd16(0x1cb)](_0x55fd16(0x187));}[_0x38ed25(0x1e8)](_0x3b3b31,_0x3b0a21,_0x5649f3){const _0x27d221=_0x38ed25;try{const _0x5f53d9={'document':this[_0x27d221(0x145)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x46867d,operationsB:_0x19199c,originalOperations:_0x56aabf}=_0x2c63e6(_0x3b3b31,this[_0x27d221(0x169)],_0x5f53d9);K(_0x46867d,this[_0x27d221(0x145)][_0x27d221(0x133)]),K(_0x19199c,_0x3b0a21);for(const _0x46b179 of _0x46867d){const _0x31abcf=_0x56aabf[_0x27d221(0x17a)](_0x46b179);_0x46b179[_0x27d221(0x203)]=_0x31abcf?_0x31abcf[_0x27d221(0x203)]:null;}_0x5649f3&&(this[_0x27d221(0x217)][_0x27d221(0x1be)](_0x3b3b31,_0x5649f3),this[_0x27d221(0x186)]=_0x5649f3),this[_0x27d221(0x169)]=[..._0x19199c],this[_0x27d221(0x15a)](_0x46867d),this[_0x27d221(0x1de)](_0x3b3b31);}catch(_0x2680e8){return console[_0x27d221(0x1f7)](_0x2680e8),!0x1;}return!0x0;}[_0x38ed25(0x15a)](_0x564e50,_0x21b698=!0x1){const _0x31af5b=_0x38ed25;this[_0x31af5b(0x1da)][_0x31af5b(0x1a6)][_0x31af5b(0x1eb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2ee707=>{const _0x5a2004=_0x31af5b;for(const _0x56773d of _0x564e50)this[_0x5a2004(0x232)][_0x5a2004(0x159)](_0x56773d),this[_0x5a2004(0x196)](_0x56773d),_0x2ee707[_0x5a2004(0x179)][_0x5a2004(0x14d)](_0x56773d),this[_0x5a2004(0x1da)][_0x5a2004(0x1a6)][_0x5a2004(0x19c)](_0x56773d);});}[_0x38ed25(0x196)](_0xf8467a){const _0x3262f8=_0x38ed25,_0x1092b2=this[_0x3262f8(0x1c2)](_0xf8467a);_0x1092b2&&this[_0x3262f8(0x209)][_0x3262f8(0x159)](_0x1092b2);}[_0x38ed25(0x1c2)](_0xf19151){const _0x4e93bb=_0x38ed25;let _0x5d97bd,_0x51bea7;switch(_0xf19151[_0x4e93bb(0x16f)]){case _0x4e93bb(0x22e):_0x5d97bd=_0xf19151[_0x4e93bb(0x182)][_0x4e93bb(0x158)];break;case _0x4e93bb(0x1cf):if(_0x51bea7=_0xf19151[_0x4e93bb(0x1b4)],!_0x51bea7)return null;_0x5d97bd=_0x51bea7[_0x4e93bb(0x158)];break;case _0x4e93bb(0x17d):_0x5d97bd=_0xf19151[_0x4e93bb(0x158)];break;case _0x4e93bb(0x21b):_0x5d97bd=_0xf19151[_0x4e93bb(0x201)];break;case _0x4e93bb(0x1e6):_0x5d97bd=_0xf19151[_0x4e93bb(0x18e)][_0x4e93bb(0x158)];break;default:return null;}return _0x5d97bd[_0x4e93bb(0x1dc)];}[_0x38ed25(0x1de)](_0x1ad006){const _0x2ac74c=_0x38ed25;_0x1ad006[_0x2ac74c(0x134)](_0x2f7d0d=>{const _0x43486f=_0x2ac74c,_0x3f00e5=_0x2f7d0d[_0x43486f(0x1f4)]();_0x3f00e5[_0x43486f(0x203)]=_0x2f7d0d[_0x43486f(0x203)],_0x3f00e5[_0x43486f(0x130)]=!!_0x2f7d0d[_0x43486f(0x130)],_0x3f00e5[_0x43486f(0x1ce)]=_0x2f7d0d[_0x43486f(0x1ce)],_0x3f00e5[_0x43486f(0x1fe)]+=this[_0x43486f(0x132)],_0x2f7d0d[_0x43486f(0x205)]&&this[_0x43486f(0x1df)][_0x43486f(0x159)](_0x3f00e5),this[_0x43486f(0x223)][_0x43486f(0x14d)](_0x3f00e5);});}[_0x38ed25(0x22a)](_0x366273){const _0x3e9376=_0x38ed25,_0x34ce4d=this[_0x3e9376(0x1da)][_0x3e9376(0x1ae)][_0x3e9376(0x17a)](_0x3e9376(0x1e3)),_0x16b427=this[_0x3e9376(0x1da)][_0x3e9376(0x1d8)];_0x366273||(_0x366273=_0x5705db(_0x16b427,_0x3e9376(0x20a))),_0x34ce4d[_0x3e9376(0x16d)](_0x366273,{'title':_0x5705db(_0x16b427,_0x3e9376(0x1d6)),'namespace':_0x3e9376(0x1ff)}),this[_0x3e9376(0x1e1)]=!0x0,clearTimeout(this[_0x3e9376(0x16a)]),this[_0x3e9376(0x169)]=[],this[_0x3e9376(0x1da)][_0x3e9376(0x1ae)][_0x3e9376(0x17a)](_0x587ab6)[_0x3e9376(0x19f)]();}[_0x38ed25(0x163)](){const _0x345805=_0x38ed25;this[_0x345805(0x1d3)]||(this[_0x345805(0x1d3)]=this[_0x345805(0x1da)][_0x345805(0x1ae)][_0x345805(0x17a)](_0x39fdf3)[_0x345805(0x159)](_0x5705db(this[_0x345805(0x1da)][_0x345805(0x1d8)],_0x345805(0x161))));}[_0x38ed25(0x1af)](){const _0x5488f8=_0x38ed25;this[_0x5488f8(0x1d3)]&&(this[_0x5488f8(0x1da)][_0x5488f8(0x1ae)][_0x5488f8(0x17a)](_0x39fdf3)[_0x5488f8(0x1db)](this[_0x5488f8(0x1d3)]),this[_0x5488f8(0x1d3)]=null);}[_0x38ed25(0x1e2)](_0x5809ab){const _0xf7df39=_0x38ed25,_0xa80e1=_0x5809ab[_0xf7df39(0x153)](_0x3929e1=>_0x3929e1[_0xf7df39(0x1c1)]());return this[_0xf7df39(0x167)][_0xf7df39(0x15e)](_0xa80e1);}[_0x38ed25(0x141)](_0x4e5a41,_0x59ca5c){const _0x50e3ef=_0x38ed25;return this[_0x50e3ef(0x167)][_0x50e3ef(0x1dd)](_0x4e5a41)[_0x50e3ef(0x153)]((_0x3433af,_0x386718)=>{const _0x195541=_0x50e3ef,_0x29a080=_0x195541(0x131)==_0x59ca5c[_0x386718][_0x195541(0x16f)];if(_0x195541(0x173)==_0x3433af[_0x195541(0x18c)]){const _0x15864a=_0x3433af[_0x195541(0x182)][_0x195541(0x158)];!this[_0x195541(0x145)][_0x195541(0x1a3)](_0x15864a)&&(this[_0x195541(0x145)][_0x195541(0x1fb)](_0x195541(0x147),_0x15864a)[_0x195541(0x1a7)]=!0x1);}const _0x3f172d=_0x415eba[_0x195541(0x20b)](_0x3433af,this[_0x195541(0x145)]);return _0x3f172d[_0x195541(0x225)]=_0x3433af[_0x195541(0x225)],_0x3f172d[_0x195541(0x130)]=_0x29a080,_0x3f172d[_0x195541(0x203)]=_0x29a080?null:_0x59ca5c[_0x386718][_0x195541(0x207)],_0x3f172d[_0x195541(0x205)]=_0x195541(0x13c)===_0x59ca5c[_0x386718][_0x195541(0x16f)],_0x3f172d[_0x195541(0x1ce)]=_0x59ca5c[_0x386718][_0x195541(0x1ce)],_0x3f172d;});}[_0x38ed25(0x17b)](){const _0x42b1c5=_0x38ed25;this[_0x42b1c5(0x150)]=!0x0,this[_0x42b1c5(0x1ad)]()?this[_0x42b1c5(0x14f)]():this[_0x42b1c5(0x150)]=!0x1;}[_0x38ed25(0x1ad)](){const _0x455922=_0x38ed25,_0x12b385=this[_0x455922(0x1da)][_0x455922(0x1ae)][_0x455922(0x17a)](_0x165214)[_0x455922(0x1f5)][_0x455922(0x17a)](this[_0x455922(0x1d9)]);return!this[_0x455922(0x1da)][_0x455922(0x19a)]&&!!_0x12b385&&_0x12b385[_0x455922(0x174)]>0x1&&this[_0x455922(0x150)];}[_0x38ed25(0x18f)](){const _0x417606=_0x38ed25;return this[_0x417606(0x169)][_0x417606(0x174)]>0x0||this[_0x417606(0x1ad)]();}}class $ extends Error{}function K(_0x1aca54,_0x1fe092){const _0x56284f=_0x38ed25;for(const _0x1dfbb0 of _0x1aca54)_0x1dfbb0[_0x56284f(0x1fe)]=_0x1fe092++;}class J{[_0x38ed25(0x20c)];[_0x38ed25(0x1ee)];constructor(_0x1a00ad){const _0x14339d=_0x38ed25;this[_0x14339d(0x20c)]=_0x1a00ad,this[_0x14339d(0x1ee)]=new WeakMap();}[_0x38ed25(0x172)](_0x3b8f59){const _0x42f1dc=_0x38ed25;let _0x123d10=_0x3b8f59[_0x42f1dc(0x174)];for(;_0x123d10--;){const _0x490982=_0x3b8f59[_0x123d10];if(!this[_0x42f1dc(0x20c)][_0x42f1dc(0x21a)](_0x490982)){if(!this[_0x42f1dc(0x1ee)][_0x42f1dc(0x21a)](_0x490982)){const _0x5f594e=_0x3d2312()[_0x42f1dc(0x176)](0x1,0x12);this[_0x42f1dc(0x1ee)][_0x42f1dc(0x195)](_0x490982,_0x5f594e);}return this[_0x42f1dc(0x1ee)][_0x42f1dc(0x17a)](_0x490982);}}}[_0x38ed25(0x1be)](_0x49b26d,_0x39dcde){const _0xa36eb=_0x38ed25;if(!_0x39dcde)return;let _0x1b7e76=_0x49b26d[_0xa36eb(0x174)];for(;_0x1b7e76--;){const _0x18cebd=_0x49b26d[_0x1b7e76];this[_0xa36eb(0x20c)][_0xa36eb(0x21a)](_0x18cebd)||this[_0xa36eb(0x1ee)][_0xa36eb(0x195)](_0x18cebd,_0x39dcde);}}}function _0x123e(_0x1f25b8,_0x22b962){const _0x1afcc0=_0x1afc();return _0x123e=function(_0x123e88,_0x133f6c){_0x123e88=_0x123e88-0x12d;let _0x45ae0f=_0x1afcc0[_0x123e88];return _0x45ae0f;},_0x123e(_0x1f25b8,_0x22b962);}function _0x1afc(){const _0x2672b6=['includes','destroy','rootsAttributes','clone','channelSessions','wereChangesApplied','error','_fetchMissingUsers','realtimecollaborationclient-init-connection-failed','sessionId','createRoot','data','offset','baseVersion','real-time-collaboration','realtimecollaborationclient-sendbufferedoperations','affectedSelectable','409','_authorId','35850ettCbi','_isDisconnection','loadRoot','userId','_handleReceivedOperations','_knownRootNames','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.','fromJSON','_ignoredOperations','realtimecollaborationclient','affectsData','_currentBufferDelay','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.','permissions','realtimecollaborationclient-init-service-incorrect-server-operation','_handleReconnectionResponse','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloud-services-internal-error:\x20Not\x20connected.','rtc-destroyed','_operationIdentifier','document:write','cloud-services-internal-error:\x20Request\x20timeout.','has','addRoot','_isConnected','getOperations','_lastServerVersion','2iXwTlP','pluginName','collaboration.channelId','string','serverHistory','suppressErrorInCollaboration','wasUndone','reconnect','currentDocumentSession','300260QpuQfa','ready','_handleReconnectionError','getOperationAuthor','size','off','insert','sendOperations','code','change:_isEditingAllowed','_knownOperations','catch','filter','connect','_connectAfterSessionHasBeenFlushed','_isInit','init','_offset','version','forEach','lastDocumentSession','getMany','apply','realtimecollaborationclient-init-non-existent-root','404','_service','_waitUntilSynced','cs:removeUser','addToReconnectionStack','attributes','712yKjDVk','realtimecollaborationclient-init-session-connection-error','_decompressOperations','round','parse','175KgdKfE','_document','isOfficialPlugin','$root','path','_getOperationsFromInitData','connection','lastOperationAcceptedAt','unregister','addOperation','_initThrowingOnDataSet','_sendBufferedOperationsDelayed','_hasSelectionChanged','createUserMarkerOperations','RealTimeCollaborationClient','map','state','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sessionCreatedAt','_handleInitialConnectionData','root','add','_applyOperationsSet','reset','collaboration','isEnabled','compress','push','differ','PENDING_ACTION_SENDING_DATA','setPermissions','_setPendingAction','change:_isPendingUpdate','reconnection:\x20flushed\x20session','requires','_compressor','define','_bufferedOperations','_sendBufferedOperationsDelayId','getConnectedSessions','_saveOperationInBuffer','showWarning','listenTo','type','cloudDocumentVersion','getDocumentDetails','getIdOfTheLastOperation','InsertOperation','length','removeFromReconnectionStack','slice','config','sessionAdd:','batch','get','_refreshUserSelectionMarkers','initData','addRootAttribute','fire','_connectService','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','view','position','isUndoneOperation','lastSyncVersion','then','_lastSyncedOperationId','realtimecollaborationclient-handleserverresponse','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','start','stopListening','_baseBufferDelay','__className','_isEditingAllowed','targetPosition','_shouldSendUpdate','636530BZbbNi','realtimecollaborationclient-init-document-already-initialized','selection','message','_isPendingUpdate','set','_addKnownRoot','createRange','startsWith','rtc-offline','isReadOnly','createPositionAt','applyOperation','connected','_disconnectService','disconnect','_setUpDataInit','disconnected','CollaborativeEditingService','getRoot','change:hasDomSelection','_bufferRootLoad','model','_isAttached','entries','stop','cloudServices.bundleVersion','metadata','_initSessionsHandling','_shouldSendSelectionUpdate','plugins','_clearPendingAction','high','isPremiumPlugin','keys','getUser','newRange','document','finally','register','change:range','realtimecollaborationclient-init-service-internal-error','history','roots','return','createPositionFromPath','setIdForTheLastOperation','directChange','Permissions','toJSON','_getAffectedRoot','3765045HpVzSv','multi-root-editor-root-attributes-no-root','mySessionId','_handleServerResponse','_isLoaded','104398ULzRbk','bind','isDocumentOperation','_crash','from','2041156HgadJX','createdAt','marker','collaboration-missing-channelid','realtimecollaborationclient-error','lastOperationId','_pendingAction','_loadRoot','addUser','Synchronization\x20issue','_sendBufferedOperations','locale','_channelId','editor','remove','rootName','decompress','_updateServerHistory','_disconnectionOperations','operationsReceived','_hasSynchronizationProblem','_compressOperations','Notification','_handleSendingSelectionMarkers','disableReadOnlyMode','move','19797162sqsuyy','_handleExternalOperations','CommentsOnly','end','enqueueChange','81iKpnyf','enableReadOnlyMode','_operationToId','markers','editing'];_0x1afc=function(){return _0x2672b6;};return _0x1afc();}
@@ -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 _0x1c2ba3=_0x55f3;function _0x4139(){const _0x3bd902=['54TzDxia','channelConnectedUsers','_users','size','init','values','listenTo','isMe','127252EEIfyz','forEach','has','getUserBySessionId','fire','register','clear','_handleSessionAdd','delete','user','hiddenInPresenceList','requires','161VAFUri','orderNumber','isOfficialPlugin','getUser','_uniqueUsersCount','getUserRole','mySessionId','plugins','sessions-register-already-registered','allConnectedUsers','context','set','9838912KZxboc','stopListening','connected','remove','sessionId','add','pluginName','280062exfQnK','9361880PvRjow','3784050TNIiwE','_createUser','3824635uILPSk','_registeredSessions','role','isPremiumPlugin','defineMe','58dsscgd','addUser','Sessions','get','getUserSessions','_handleSessionRemove','sessions-unregister-not-exist','assign','connection','sessionAdd:','change:state','unregister','state','12114uhZixN','channelSessions'];_0x4139=function(){return _0x3bd902;};return _0x4139();}(function(_0x1a190e,_0x25fdab){const _0x29409a=_0x55f3,_0x3b84e8=_0x1a190e();while(!![]){try{const _0x33217c=parseInt(_0x29409a(0x136))/0x1*(-parseInt(_0x29409a(0x143))/0x2)+parseInt(_0x29409a(0x145))/0x3*(parseInt(_0x29409a(0x14d))/0x4)+-parseInt(_0x29409a(0x131))/0x5+-parseInt(_0x29409a(0x12d))/0x6*(-parseInt(_0x29409a(0x11a))/0x7)+-parseInt(_0x29409a(0x126))/0x8+parseInt(_0x29409a(0x12f))/0x9+parseInt(_0x29409a(0x12e))/0xa;if(_0x33217c===_0x25fdab)break;else _0x3b84e8['push'](_0x3b84e8['shift']());}catch(_0xfe0378){_0x3b84e8['push'](_0x3b84e8['shift']());}}}(_0x4139,0xa056a));function _0x55f3(_0x20fd8b,_0x82b292){const _0x4139ee=_0x4139();return _0x55f3=function(_0x55f3b3,_0x38c7b4){_0x55f3b3=_0x55f3b3-0x117;let _0x31299a=_0x4139ee[_0x55f3b3];return _0x31299a;},_0x55f3(_0x20fd8b,_0x82b292);}import{ContextPlugin as _0x37f51d}from'ckeditor5/src/core.js';import{Collection as _0xeed6d1,CKEditorError as _0x2b82e8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4e122e}from'./websocketgateway.js';import{Users as _0x4c8e1f}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x37f51d{[_0x1c2ba3(0x144)];[_0x1c2ba3(0x146)];[_0x1c2ba3(0x123)];[_0x1c2ba3(0x132)];[_0x1c2ba3(0x11e)];[_0x1c2ba3(0x147)];static get[_0x1c2ba3(0x12c)](){const _0x335aa0=_0x1c2ba3;return _0x335aa0(0x138);}static get[_0x1c2ba3(0x11c)](){return!0x0;}static get[_0x1c2ba3(0x134)](){return!0x0;}static get[_0x1c2ba3(0x119)](){return[_0x4e122e,_0x4c8e1f];}constructor(_0x5b4be3){const _0x162ab6=_0x1c2ba3;super(_0x5b4be3),this[_0x162ab6(0x144)]=new Map(),this[_0x162ab6(0x146)]=new Map(),this[_0x162ab6(0x123)]=new _0xeed6d1(),this[_0x162ab6(0x132)]=new Map(),this[_0x162ab6(0x11e)]=0x0,this[_0x162ab6(0x147)]=this[_0x162ab6(0x124)][_0x162ab6(0x121)][_0x162ab6(0x139)](_0x4c8e1f);}[_0x1c2ba3(0x149)](){const _0x12a389=_0x1c2ba3,_0x4646d9=this[_0x12a389(0x124)][_0x12a389(0x121)][_0x12a389(0x139)](_0x4e122e);this[_0x12a389(0x14b)](_0x4646d9,_0x12a389(0x140),(_0x3624f4,_0x41de6b,_0x40aae9)=>{const _0x5834fc=_0x12a389;if(_0x5834fc(0x128)!==_0x40aae9)this[_0x5834fc(0x144)][_0x5834fc(0x14e)](_0x1824c4=>_0x1824c4[_0x5834fc(0x153)]()),this[_0x5834fc(0x146)][_0x5834fc(0x14e)](_0x500676=>_0x500676[_0x5834fc(0x153)]()),this[_0x5834fc(0x123)][_0x5834fc(0x153)]();else{for(const [_0x27d762,_0x39d61d]of this[_0x5834fc(0x132)])for(const _0x3f5e83 of _0x39d61d)this[_0x5834fc(0x154)](_0x27d762,_0x3f5e83);}}),this[_0x12a389(0x130)](_0x4646d9[_0x12a389(0x13e)]['me'],!0x0);}[_0x1c2ba3(0x152)](_0x475ac6,_0x38cfe2){const _0x375ddc=_0x1c2ba3;if(this[_0x375ddc(0x132)][_0x375ddc(0x14f)](_0x475ac6))throw new _0x2b82e8(_0x375ddc(0x122),null,{'channelId':_0x475ac6});this[_0x375ddc(0x132)][_0x375ddc(0x125)](_0x475ac6,_0x38cfe2),this[_0x375ddc(0x144)][_0x375ddc(0x125)](_0x475ac6,new _0xeed6d1()),this[_0x375ddc(0x146)][_0x375ddc(0x125)](_0x475ac6,new _0xeed6d1()),this[_0x375ddc(0x14b)](_0x38cfe2,_0x375ddc(0x12b),(_0x34dc43,_0x424d7d)=>this[_0x375ddc(0x154)](_0x475ac6,_0x424d7d)),this[_0x375ddc(0x14b)](_0x38cfe2,_0x375ddc(0x129),(_0x147a8e,_0x1f0c29)=>this[_0x375ddc(0x13b)](_0x475ac6,_0x1f0c29));for(const _0x48d01a of _0x38cfe2)this[_0x375ddc(0x154)](_0x475ac6,_0x48d01a);}[_0x1c2ba3(0x141)](_0x3c91c5){const _0x243751=_0x1c2ba3;if(!this[_0x243751(0x132)][_0x243751(0x14f)](_0x3c91c5))throw new _0x2b82e8(_0x243751(0x13c),null,{'channelId':_0x3c91c5});const _0x55abf7=this[_0x243751(0x132)][_0x243751(0x139)](_0x3c91c5);this[_0x243751(0x127)](_0x55abf7);for(const _0x3fdf25 of _0x55abf7)_0x243751(0x128)===this[_0x243751(0x124)][_0x243751(0x121)][_0x243751(0x139)](_0x4e122e)[_0x243751(0x142)]&&this[_0x243751(0x13b)](_0x3c91c5,_0x3fdf25);this[_0x243751(0x132)][_0x243751(0x155)](_0x3c91c5),this[_0x243751(0x144)][_0x243751(0x155)](_0x3c91c5),this[_0x243751(0x146)][_0x243751(0x155)](_0x3c91c5);}get[_0x1c2ba3(0x120)](){const _0x2183d2=_0x1c2ba3;return this[_0x2183d2(0x124)][_0x2183d2(0x121)][_0x2183d2(0x139)](_0x4e122e)[_0x2183d2(0x13e)][_0x2183d2(0x12a)];}[_0x1c2ba3(0x150)](_0x1d819e){const _0x450d9e=_0x1c2ba3;for(const _0xff5ea0 of this[_0x450d9e(0x144)][_0x450d9e(0x14a)]())for(const _0x8ad436 of _0xff5ea0)if(_0x8ad436['id']===_0x1d819e)return _0x8ad436[_0x450d9e(0x117)];}[_0x1c2ba3(0x13a)](_0x4c004d,_0x421f04){const _0x4f719d=_0x1c2ba3,_0x459668=_0x421f04?[this[_0x4f719d(0x144)][_0x4f719d(0x139)](_0x421f04)]:this[_0x4f719d(0x144)][_0x4f719d(0x14a)](),_0x5cbc52=new Set();for(const _0x27db33 of _0x459668)for(const _0x81f02f of _0x27db33)_0x81f02f[_0x4f719d(0x117)]['id']===_0x4c004d['id']&&_0x5cbc52[_0x4f719d(0x12b)](_0x81f02f['id']);return _0x5cbc52;}[_0x1c2ba3(0x11f)](_0x49a741){const _0x1a28f6=_0x1c2ba3;for(const _0x223580 of this[_0x1a28f6(0x144)][_0x1a28f6(0x14a)]())for(const _0x5732a2 of _0x223580)if(_0x5732a2[_0x1a28f6(0x117)]===_0x49a741)return _0x5732a2[_0x1a28f6(0x133)];}[_0x1c2ba3(0x154)](_0x1f33e5,_0x203f5c){const _0x239259=_0x1c2ba3;if(_0x239259(0x128)!==this[_0x239259(0x124)][_0x239259(0x121)][_0x239259(0x139)](_0x4e122e)[_0x239259(0x142)])return;const _0x2f2312=_0x203f5c[_0x239259(0x117)],_0x30e874=this[_0x239259(0x147)][_0x239259(0x11d)](_0x2f2312['id'])||this[_0x239259(0x130)](_0x2f2312),_0x236c17=Object[_0x239259(0x13d)]({},_0x203f5c,{'user':_0x30e874});if(this[_0x239259(0x144)][_0x239259(0x139)](_0x1f33e5)[_0x239259(0x12b)](_0x236c17),!_0x2f2312[_0x239259(0x118)]){const _0x45a77a=this[_0x239259(0x146)][_0x239259(0x139)](_0x1f33e5);_0x45a77a[_0x239259(0x14f)](_0x30e874['id'])||_0x45a77a[_0x239259(0x12b)](_0x30e874),this[_0x239259(0x123)][_0x239259(0x14f)](_0x30e874['id'])||_0x2f2312[_0x239259(0x118)]||this[_0x239259(0x123)][_0x239259(0x12b)](_0x30e874,_0x30e874[_0x239259(0x14c)]?0x0:void 0x0);}this[_0x239259(0x151)](_0x239259(0x13f)+_0x1f33e5,{'channelId':_0x1f33e5,'session':_0x236c17});}[_0x1c2ba3(0x13b)](_0x50cfb9,_0x1e1665){const _0x5060a1=_0x1c2ba3;if(_0x5060a1(0x128)!==this[_0x5060a1(0x124)][_0x5060a1(0x121)][_0x5060a1(0x139)](_0x4e122e)[_0x5060a1(0x142)])return;const _0x221529=this[_0x5060a1(0x146)][_0x5060a1(0x139)](_0x50cfb9),_0xd237ce=_0x1e1665[_0x5060a1(0x117)];_0xd237ce['id']&&(this[_0x5060a1(0x144)][_0x5060a1(0x139)](_0x50cfb9)[_0x5060a1(0x129)](_0x1e1665['id']),_0x221529[_0x5060a1(0x14f)](_0xd237ce['id'])&&!this[_0x5060a1(0x13a)](_0xd237ce,_0x50cfb9)[_0x5060a1(0x148)]&&_0x221529[_0x5060a1(0x129)](_0xd237ce['id']),this[_0x5060a1(0x123)][_0x5060a1(0x139)](_0xd237ce['id'])&&!this[_0x5060a1(0x13a)](_0xd237ce)[_0x5060a1(0x148)]&&this[_0x5060a1(0x123)][_0x5060a1(0x129)](_0xd237ce['id']));}[_0x1c2ba3(0x130)](_0x58e108,_0x41229c){const _0x4bf439=_0x1c2ba3,_0x2c9c6e=this[_0x4bf439(0x147)][_0x4bf439(0x137)](_0x58e108);return _0x41229c&&this[_0x4bf439(0x147)][_0x4bf439(0x135)](_0x58e108['id']),_0x2c9c6e[_0x4bf439(0x11b)]=this[_0x4bf439(0x11e)]++,_0x2c9c6e;}}
@@ -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 _0x249809=_0x1ab5;(function(_0x1bdaa4,_0xd4aa29){const _0xf90108=_0x1ab5,_0xa7dd3e=_0x1bdaa4();while(!![]){try{const _0x5cdad9=-parseInt(_0xf90108(0x1fd))/0x1+parseInt(_0xf90108(0x1f9))/0x2+parseInt(_0xf90108(0x1d2))/0x3+parseInt(_0xf90108(0x1f5))/0x4*(parseInt(_0xf90108(0x1d1))/0x5)+parseInt(_0xf90108(0x1a4))/0x6+-parseInt(_0xf90108(0x1e0))/0x7+-parseInt(_0xf90108(0x1af))/0x8*(parseInt(_0xf90108(0x1ef))/0x9);if(_0x5cdad9===_0xd4aa29)break;else _0xa7dd3e['push'](_0xa7dd3e['shift']());}catch(_0xfb792f){_0xa7dd3e['push'](_0xa7dd3e['shift']());}}}(_0x592e,0xd644e));import{Plugin as _0xb0f390}from'ckeditor5/src/core.js';import{global as _0x11cdd8,DomEmitterMixin as _0x4cb14b}from'ckeditor5/src/utils.js';import{Sessions as _0x502d01}from'./sessions.js';import{ModelLiveRange as _0x4f8e0d}from'ckeditor5/src/engine.js';function _0x1ab5(_0x3ccc78,_0xcc401b){const _0x592ec3=_0x592e();return _0x1ab5=function(_0x1ab5d5,_0x42d43f){_0x1ab5d5=_0x1ab5d5-0x19d;let _0x364abe=_0x592ec3[_0x1ab5d5];return _0x364abe;},_0x1ab5(_0x3ccc78,_0xcc401b);}import'../../theme/usermarkers.css';export class UserMarkers extends _0xb0f390{[_0x249809(0x225)]=new(_0x4cb14b())();static get[_0x249809(0x203)](){return[_0x502d01];}static get[_0x249809(0x21e)](){const _0x57dc69=_0x249809;return _0x57dc69(0x1c6);}static get[_0x249809(0x1bf)](){return!0x0;}static get[_0x249809(0x218)](){return!0x0;}[_0x249809(0x1e3)](){const _0x46f1a1=_0x249809,_0x1b102f=this[_0x46f1a1(0x1d7)],_0xa3bb8d=_0x1b102f[_0x46f1a1(0x21d)][_0x46f1a1(0x216)](_0x502d01);_0x1b102f[_0x46f1a1(0x1ba)][_0x46f1a1(0x19f)](_0x46f1a1(0x1f8))[_0x46f1a1(0x226)]({'model':_0x46f1a1(0x212),'view':(_0x54115c,{writer:_0x43790a})=>function(_0x35fda9,_0xeb4e30,_0x4b636c,_0x938573){const _0x378cad=_0x46f1a1,_0x3fc606=_0x35fda9[_0x378cad(0x1db)][_0x378cad(0x1e6)](':')[0x2],_0x29d513=_0x4b636c[_0x378cad(0x1be)](_0x3fc606);if(!_0x29d513||_0x3fc606===_0x4b636c[_0x378cad(0x1ca)])return;if(!_0x938573[_0x378cad(0x224)][_0x378cad(0x1b6)][_0x378cad(0x1ed)](_0x35fda9[_0x378cad(0x221)][_0x378cad(0x1c9)],_0x378cad(0x1d5)))return;const _0x45f4b7={'class':_0x378cad(0x1a0)+_0x29d513[_0x378cad(0x1f3)][_0x378cad(0x205)](),'data-name':_0x29d513[_0x378cad(0x1f1)],'data-session-id':_0x3fc606},_0x48b038=_0x938573[_0x378cad(0x224)][_0x378cad(0x1b4)][_0x378cad(0x216)](_0x35fda9[_0x378cad(0x1db)]),_0x2ef07b=_0x48b038[_0x378cad(0x20a)](),_0x360e1f=_0x2ef07b[_0x378cad(0x20f)],_0xd228f7=_0x938573[_0x378cad(0x224)][_0x378cad(0x1b6)];if(_0x360e1f&&_0xd228f7[_0x378cad(0x1d0)](_0x360e1f)&&_0xd228f7[_0x378cad(0x1cd)](_0x360e1f)&&!_0x938573[_0x378cad(0x224)][_0x378cad(0x1b4)][_0x378cad(0x216)](_0x378cad(0x1fc)+_0x3fc606)[_0x378cad(0x1c8)]()[_0x378cad(0x215)])return;const _0x3395e9=_0x2ef07b[_0x378cad(0x1b9)];return _0x938573[_0x378cad(0x224)][_0x378cad(0x1b6)][_0x378cad(0x1ec)](_0x3395e9)&&!_0x938573[_0x378cad(0x224)][_0x378cad(0x213)](_0x3395e9)&&(_0x45f4b7[_0x378cad(0x1e7)]=!0x1),function(_0x36234f,_0x40dc4b,_0x4ecdf2){const _0x96e402=_0x378cad,_0x7f5db4=_0x36234f[_0x96e402(0x1ae)](_0x96e402(0x209),_0x40dc4b);return _0x36234f[_0x96e402(0x223)](_0x96e402(0x1e1),!0x0,_0x7f5db4),_0x7f5db4[_0x96e402(0x1a6)]=function(_0x5299ce){const _0xe26a1=_0x96e402,_0x33905f=this[_0xe26a1(0x1f7)](_0x5299ce),_0x4cf4c2=document[_0xe26a1(0x1c2)](_0xe26a1(0x209));return _0x4cf4c2[_0xe26a1(0x1b8)][_0xe26a1(0x20e)](_0xe26a1(0x1fb)),_0x4cf4c2[_0xe26a1(0x1a7)](_0xe26a1(0x1e7),_0xe26a1(0x1b3)),_0x4cf4c2[_0xe26a1(0x1a7)](_0xe26a1(0x1fe),_0xe26a1(0x1b3)),_0x4cf4c2[_0xe26a1(0x1dc)]=_0x4ecdf2[_0xe26a1(0x1f1)],_0x33905f[_0xe26a1(0x1b1)]=_0xe26a1(0x1cc)+_0x4cf4c2[_0xe26a1(0x204)]+'⁠',_0x33905f[_0xe26a1(0x220)](_0xe26a1(0x1b5),()=>{const _0x13972a=_0xe26a1;_0x33905f[_0x13972a(0x1b8)][_0x13972a(0x20e)](_0x13972a(0x1e4));}),_0x33905f[_0xe26a1(0x220)](_0xe26a1(0x21a),()=>{const _0xb3f0d4=_0xe26a1;_0x33905f[_0xb3f0d4(0x1b8)][_0xb3f0d4(0x1d6)](_0xb3f0d4(0x1e4));}),_0x33905f;},_0x7f5db4[_0x96e402(0x1ff)]=function(_0x897aa7){const _0x42e551=_0x96e402;return!(!this[_0x42e551(0x1df)](_0x42e551(0x1e1))||!_0x897aa7[_0x42e551(0x1df)](_0x42e551(0x1e1))||this[_0x42e551(0x1d9)](_0x42e551(0x1d3))!=_0x897aa7[_0x42e551(0x1d9)](_0x42e551(0x1d3)));},_0x7f5db4;}(_0xeb4e30,_0x45f4b7,_0x29d513);}(_0x54115c,_0x43790a,_0xa3bb8d,_0x1b102f)}),_0x1b102f[_0x46f1a1(0x1ba)][_0x46f1a1(0x19f)](_0x46f1a1(0x1f8))[_0x46f1a1(0x1fa)]({'model':_0x46f1a1(0x207),'view':_0x586248=>function(_0x8a7c41,_0x380ff9){const _0x124ee6=_0x46f1a1,_0x4f3840=_0x8a7c41[_0x124ee6(0x1db)][_0x124ee6(0x1e6)](':')[0x2];if(_0x4f3840===_0x380ff9[_0x124ee6(0x1ca)])return null;const _0x23acef=_0x380ff9[_0x124ee6(0x1be)](_0x4f3840);if(!_0x23acef)return{'id':_0x4f3840,'classes':[]};return{'id':_0x4f3840,'classes':[_0x124ee6(0x1c1),_0x23acef[_0x124ee6(0x1f3)][_0x124ee6(0x222)]()],'attributes':{'data-session-id':_0x4f3840},'priority':0x7d0+_0x23acef[_0x124ee6(0x1aa)]};}(_0x586248,_0xa3bb8d)}),function(_0x29795b){const _0x134c44=_0x46f1a1,_0x3e8d42=_0x29795b[_0x134c44(0x224)],_0x1e82b9=new Map(),_0x3408fb=_0x29795b[_0x134c44(0x21d)][_0x134c44(0x216)](_0x502d01);_0x3e8d42[_0x134c44(0x1b4)]['on'](_0x134c44(0x1cb),(_0x16a45a,_0x1b6718,_0x269dd3,_0x3dd4cf)=>{const _0x40b25d=_0x134c44;if(!_0x3dd4cf&&_0x1e82b9[_0x40b25d(0x216)](_0x1b6718[_0x40b25d(0x1f1)]))return _0x1e82b9[_0x40b25d(0x216)](_0x1b6718[_0x40b25d(0x1f1)])[_0x40b25d(0x1f6)](),void _0x1e82b9[_0x40b25d(0x1ce)](_0x1b6718[_0x40b25d(0x1f1)]);const _0x55c585=_0x1b6718[_0x40b25d(0x1f1)][_0x40b25d(0x1e6)](':')[0x2];if(_0x55c585===_0x3408fb[_0x40b25d(0x1ca)])return;const _0x2f08c3=_0x40b25d(0x1e5)+_0x55c585;_0x3e8d42[_0x40b25d(0x1b4)][_0x40b25d(0x211)](_0x2f08c3)&&_0x29795b[_0x40b25d(0x201)][_0x40b25d(0x1bd)](_0x2f08c3),_0x1b6718['on'](_0x40b25d(0x21f),(_0xa0b31c,_0x3770b2,_0x2c868f)=>{const _0x26ef40=_0x40b25d;if(_0x26ef40(0x217)!=_0x3770b2[_0x26ef40(0x1ad)][_0x26ef40(0x1e8)]&&_0x26ef40(0x217)==_0x1b6718[_0x26ef40(0x1c8)]()[_0x26ef40(0x1ad)][_0x26ef40(0x1e8)]&&!_0x1e82b9[_0x26ef40(0x211)](_0x1b6718[_0x26ef40(0x1f1)])){const _0x904112=_0x3e8d42[_0x26ef40(0x1b6)][_0x26ef40(0x1b2)](_0x2c868f[_0x26ef40(0x206)]);if(_0x904112){const _0x2d843b=_0x4f8e0d[_0x26ef40(0x1ee)](_0x904112);_0x1e82b9[_0x26ef40(0x1d4)](_0x1b6718[_0x26ef40(0x1f1)],_0x2d843b),_0x2d843b['on'](_0x26ef40(0x21f),(_0x555ff5,_0xe96dea,_0x31d919)=>{const _0x4dd097=_0x26ef40;if(_0x4dd097(0x217)==_0x2d843b[_0x4dd097(0x1ad)][_0x4dd097(0x1e8)]){const _0x4e5449=_0x3e8d42[_0x4dd097(0x1b6)][_0x4dd097(0x1b2)](_0x31d919[_0x4dd097(0x206)]);_0x4e5449?(_0x2d843b[_0x4dd097(0x1c9)]=_0x4e5449[_0x4dd097(0x1c9)],_0x2d843b[_0x4dd097(0x1a9)]=_0x4e5449[_0x4dd097(0x1a9)]):(_0x1e82b9[_0x4dd097(0x1ce)](_0x1b6718[_0x4dd097(0x1f1)]),_0x2d843b[_0x4dd097(0x1f6)]());}});}}});}),_0x3e8d42[_0x134c44(0x19d)]['on'](_0x134c44(0x1c5),()=>{const _0x4ef49b=_0x134c44;_0x1e82b9[_0x4ef49b(0x1f2)]>0x0&&_0x3e8d42[_0x4ef49b(0x1dd)]({'isUndoable':!0x1},_0x21b67d=>{const _0x131c93=_0x4ef49b;for(const [_0x3a70c8,_0x5ecf46]of _0x1e82b9)_0x131c93(0x217)==_0x3e8d42[_0x131c93(0x1b4)][_0x131c93(0x216)](_0x3a70c8)[_0x131c93(0x1c8)]()[_0x131c93(0x1ad)][_0x131c93(0x1e8)]&&(Z(_0x3a70c8[_0x131c93(0x1e6)](':')[0x2],_0x5ecf46[_0x131c93(0x1bc)](),_0x3e8d42,_0x21b67d),_0x5ecf46[_0x131c93(0x1f6)]());_0x1e82b9[_0x131c93(0x1b7)]();});});}(_0x1b102f),this[_0x46f1a1(0x225)][_0x46f1a1(0x19e)](_0x11cdd8[_0x46f1a1(0x19d)],_0x46f1a1(0x1a3),(_0x5297c7,{key:_0x56743e})=>{const _0x504b95=_0x46f1a1;_0x504b95(0x1f0)===_0x56743e&&function(_0x49b076){const _0x366b4c=_0x504b95;_0x49b076[_0x366b4c(0x201)][_0x366b4c(0x21b)][_0x366b4c(0x1c5)](_0xf0b9db=>{const _0x1e4d2=_0x366b4c;for(const _0xcbd10b of _0x49b076[_0x1e4d2(0x224)][_0x1e4d2(0x1b4)]){if(!_0xcbd10b[_0x1e4d2(0x1f1)][_0x1e4d2(0x1de)](_0x1e4d2(0x212)))continue;const _0x345f0d=_0x49b076[_0x1e4d2(0x201)][_0x1e4d2(0x208)][_0x1e4d2(0x1c4)](_0xcbd10b[_0x1e4d2(0x1f1)]);if(_0x345f0d){for(const _0x2150f6 of _0x345f0d)_0xf0b9db[_0x1e4d2(0x202)](_0x1e4d2(0x1e4),_0x2150f6);}}});}(_0x1b102f);},{'useCapture':!0x0});}[_0x249809(0x20c)](){const _0x1e1a90=_0x249809,_0x351d2a=this[_0x1e1a90(0x1d7)],_0xe114c0=_0x351d2a[_0x1e1a90(0x1ea)][_0x1e1a90(0x216)](_0x1e1a90(0x1a5));_0xe114c0&&_0x351d2a[_0x1e1a90(0x224)]['on'](_0x1e1a90(0x1e2),(_0x4582f7,_0x44ce71)=>{const _0x232bfc=_0x1e1a90,_0x512a52=_0x44ce71[0x0];if(!_0x512a52[_0x232bfc(0x1cf)])return;if(_0x232bfc(0x1a1)!=_0x512a52[_0x232bfc(0x1f4)]||!_0x512a52[_0x232bfc(0x1f1)][_0x232bfc(0x1de)](_0x232bfc(0x20d)))return;const _0x246dff=_0x512a52[_0x232bfc(0x1da)];_0xe114c0[_0x232bfc(0x20b)][_0x232bfc(0x211)](_0x246dff)&&(_0x512a52[_0x232bfc(0x1c3)]=_0x512a52[_0x232bfc(0x219)]?_0x351d2a[_0x232bfc(0x224)][_0x232bfc(0x1a2)](_0x512a52[_0x232bfc(0x219)][_0x232bfc(0x1c9)],_0x512a52[_0x232bfc(0x219)][_0x232bfc(0x1a9)]):null);},{'priority':_0x1e1a90(0x1bb)});}[_0x249809(0x21c)](){const _0x15f520=_0x249809;return this[_0x15f520(0x225)][_0x15f520(0x1ab)](),super[_0x15f520(0x21c)]();}[_0x249809(0x1eb)](){const _0x501378=_0x249809,_0x17186f=this[_0x501378(0x1d7)],_0xa84b53=_0x17186f[_0x501378(0x224)][_0x501378(0x19d)],_0x111135=_0x17186f[_0x501378(0x21d)][_0x501378(0x216)](_0x502d01);_0x17186f[_0x501378(0x224)][_0x501378(0x1dd)]({'isUndoable':!0x1},_0x221da7=>{const _0x444adc=_0x501378,_0x1d18ec=_0x444adc(0x1fc)+_0x111135[_0x444adc(0x1ca)],_0x587340=_0x444adc(0x1e5)+_0x111135[_0x444adc(0x1ca)],_0x38c0c0=_0x17186f[_0x444adc(0x224)][_0x444adc(0x1b4)][_0x444adc(0x211)](_0x1d18ec);_0x17186f[_0x444adc(0x201)][_0x444adc(0x21b)][_0x444adc(0x214)]?Z(_0x111135[_0x444adc(0x1ca)],_0xa84b53[_0x444adc(0x200)][_0x444adc(0x1a8)](),_0x17186f[_0x444adc(0x224)],_0x221da7):_0x38c0c0&&(_0x221da7[_0x444adc(0x1d8)](_0x1d18ec),_0x221da7[_0x444adc(0x1d8)](_0x587340));});}}function _0x592e(){const _0x2f62bd=['oldRange','mouseleave','view','destroy','plugins','pluginName','change:range','addEventListener','markerRange','getSelectionClass','setCustomProperty','model','_domEmitter','markerToElement','document','listenTo','for','ck-user__marker\x20','marker','createRange','keydown','8997978Jzuwgn','undo','render','setAttribute','getFirstRange','end','orderNumber','stopListening','updateMarker','root','createUIElement','6688wmTabj','addMarker','innerHTML','getNearestSelectionRange','false','markers','mouseenter','schema','clear','classList','parent','conversion','highest','toRange','reconvertMarker','getUserBySessionId','isOfficialPlugin','getContainedElement','ck-user__selection','createElement','newRange','markerNameToElements','change','UserMarkers','element','getRange','start','mySessionId','update:user:range','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','isInline','delete','isDocumentOperation','isObject','65TZVDmi','3836025bHpWru','data-session-id','set','$text','remove','editor','removeMarker','getAttribute','batch','markerName','textContent','enqueueChange','startsWith','getCustomProperty','2361723WsVAer','userPositionMarker','applyOperation','init','ck-user__marker_hovered','user:position:','split','contenteditable','rootName','tableCell','commands','createUserMarkerOperations','isLimit','checkChild','fromRange','34659eSSECk','Escape','name','size','color','type','239380TEQkoq','detach','toDomElement','editingDowncast','1998836VsmKye','markerToHighlight','ck-user__marker-tooltip','user:range:','121270hTsvkM','spellcheck','isSimilar','selection','editing','removeClass','requires','outerHTML','getMarkerClass','deletionPosition','user:range','mapper','span','getStart','_createdBatches','afterInit','user:','add','nodeAfter','getPositions','has','user:position','hasContent','hasDomSelection','isCollapsed','get','$graveyard','isPremiumPlugin'];_0x592e=function(){return _0x2f62bd;};return _0x592e();}function Z(_0xed9686,_0x399cb3,_0x6e9fa4,_0x16d92f){const _0xc1b18=_0x249809,_0xaa85ee=_0xc1b18(0x1fc)+_0xed9686,_0x5a3651=_0xc1b18(0x1e5)+_0xed9686,_0x1d3ea4=_0x399cb3[_0xc1b18(0x1c0)]();let _0x3ddc70=_0x399cb3[_0xc1b18(0x1c9)];if(_0x1d3ea4&&_0x1d3ea4['is'](_0xc1b18(0x1c7),_0xc1b18(0x1e9))){const _0x3fb914=function(_0x1bcf88,_0x31e133){const _0xb4c384=_0xc1b18;for(const _0x21ab94 of _0x1bcf88[_0xb4c384(0x210)]())if(_0x31e133[_0xb4c384(0x1b6)][_0xb4c384(0x1ed)](_0x21ab94,_0xb4c384(0x1d5)))return _0x21ab94;}(_0x399cb3,_0x6e9fa4);_0x3fb914&&(_0x3ddc70=_0x3fb914,_0x399cb3=_0x16d92f[_0xc1b18(0x1a2)](_0x3ddc70));}const _0x4f8f76=_0x16d92f[_0xc1b18(0x1a2)](_0x3ddc70);_0x6e9fa4[_0xc1b18(0x1b4)][_0xc1b18(0x211)](_0xaa85ee)?(_0x16d92f[_0xc1b18(0x1ac)](_0xaa85ee,{'range':_0x399cb3}),_0x16d92f[_0xc1b18(0x1ac)](_0x5a3651,{'range':_0x4f8f76})):(_0x16d92f[_0xc1b18(0x1b0)](_0xaa85ee,{'range':_0x399cb3,'usingOperation':!0x0}),_0x16d92f[_0xc1b18(0x1b0)](_0x5a3651,{'range':_0x4f8f76,'usingOperation':!0x0}));}