@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.3 → 47.4.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c5fbd=_0x3904;(function(_0x3189d9,_0x3c83b5){const _0x3d5a9c=_0x3904,_0x213581=_0x3189d9();while(!![]){try{const _0x4c744f=parseInt(_0x3d5a9c(0x181))/0x1*(-parseInt(_0x3d5a9c(0x191))/0x2)+parseInt(_0x3d5a9c(0x182))/0x3*(parseInt(_0x3d5a9c(0x17d))/0x4)+parseInt(_0x3d5a9c(0x196))/0x5*(-parseInt(_0x3d5a9c(0x185))/0x6)+parseInt(_0x3d5a9c(0x183))/0x7+parseInt(_0x3d5a9c(0x19a))/0x8*(parseInt(_0x3d5a9c(0x189))/0x9)+parseInt(_0x3d5a9c(0x184))/0xa*(-parseInt(_0x3d5a9c(0x199))/0xb)+-parseInt(_0x3d5a9c(0x19c))/0xc;if(_0x4c744f===_0x3c83b5)break;else _0x213581['push'](_0x213581['shift']());}catch(_0x5cf256){_0x213581['push'](_0x213581['shift']());}}}(_0xecd9,0x97993));import{View as _0x44faa9}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1226d3}from'ckeditor5/src/utils.js';import{getTranslation as _0x57f1e7}from'../../common-translations.js';function _0x3904(_0x320194,_0x56cbb5){const _0xecd9d8=_0xecd9();return _0x3904=function(_0x390487,_0x1267eb){_0x390487=_0x390487-0x17d;let _0x90cbd2=_0xecd9d8[_0x390487];return _0x90cbd2;},_0x3904(_0x320194,_0x56cbb5);}export class PresenceInlineListView extends _0x44faa9{[_0x1c5fbd(0x1a5)];[_0x1c5fbd(0x1a2)];constructor(_0x4e53fa){const _0x489c33=_0x1c5fbd;super(_0x4e53fa);const _0x200155=this[_0x489c33(0x18b)];this[_0x489c33(0x1a5)]=this[_0x489c33(0x17e)](),this[_0x489c33(0x1a2)]=new _0x1226d3(),this[_0x489c33(0x187)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x489c33(0x18c)]({'tag':_0x489c33(0x195),'attributes':{'aria-haspopup':_0x200155['if'](_0x489c33(0x19f)),'aria-expanded':_0x200155['to'](_0x489c33(0x188),_0x1be2b1=>this[_0x489c33(0x19f)]&&String(_0x1be2b1)),'aria-label':_0x200155['to'](_0x489c33(0x19f),_0x2c580c=>_0x57f1e7(_0x4e53fa,_0x2c580c?_0x489c33(0x18a):_0x489c33(0x194))),'role':_0x489c33(0x197),'tabindex':_0x200155['to'](_0x489c33(0x19f),_0x490904=>!!_0x490904&&0x0),'class':['ck',_0x489c33(0x1a4)]},'children':this[_0x489c33(0x1a5)],'on':{'mouseenter':_0x200155['to'](()=>this[_0x489c33(0x180)](_0x489c33(0x198))),'mouseleave':_0x200155['to'](_0x205a7e=>{const _0x1c63e3=_0x489c33,_0x21ecbe=_0x205a7e,_0x252a8e=document[_0x1c63e3(0x19e)](_0x1c63e3(0x18d)),_0x4c536f=document[_0x1c63e3(0x19e)](_0x1c63e3(0x190));_0x252a8e?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||_0x4c536f?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||this[_0x1c63e3(0x180)](_0x1c63e3(0x186));})}}),this['on'](_0x489c33(0x18e),(_0x288ee1,_0x27559e,_0x483249)=>{const _0x40f976=_0x489c33;this[_0x40f976(0x1a1)]&&(_0x483249?this[_0x40f976(0x1a1)][_0x40f976(0x17f)](_0x40f976(0x1a0),String(this[_0x40f976(0x188)])):this[_0x40f976(0x1a1)][_0x40f976(0x19d)](_0x40f976(0x1a0)));});}[_0x1c5fbd(0x18f)](){const _0x3b635b=_0x1c5fbd;this[_0x3b635b(0x1a1)][_0x3b635b(0x18f)]();}[_0x1c5fbd(0x19b)](){const _0x16ce09=_0x1c5fbd;super[_0x16ce09(0x19b)](),this[_0x16ce09(0x1a2)][_0x16ce09(0x1a3)](this[_0x16ce09(0x1a1)]);}}function _0xecd9(){const _0x47e2f8=['8HIjOiC','createCollection','setAttribute','fire','21501odIonW','1166244SZMqmR','6608532WMRUud','472430ULFmAY','1416THxAnj','presencelist:hide','set','isExpanded','1017AQxurL','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','setTemplate','.ck-presence-list__dropdown-list','change:hasPopup','focus','.ck-balloon-panel_with-arrow','6KbGuvb','contains','relatedTarget','Connected\x20users\x20list','div','20665DWONwE','list','presencelist:show','55bcnLUI','38536BmgUjM','render','4426080NaLItP','removeAttribute','querySelector','hasPopup','aria-expanded','element','keystrokes','listenTo','ck-presence-list__list','items'];_0xecd9=function(){return _0x47e2f8;};return _0xecd9();}
23
+ const _0x412f82=_0x2ebc;(function(_0x1f2cc4,_0x4dcc35){const _0x4214dd=_0x2ebc,_0x3b2c27=_0x1f2cc4();while(!![]){try{const _0x3ca8f3=parseInt(_0x4214dd(0x164))/0x1*(-parseInt(_0x4214dd(0x15e))/0x2)+-parseInt(_0x4214dd(0x15a))/0x3+parseInt(_0x4214dd(0x146))/0x4*(parseInt(_0x4214dd(0x15f))/0x5)+parseInt(_0x4214dd(0x163))/0x6*(parseInt(_0x4214dd(0x162))/0x7)+parseInt(_0x4214dd(0x14e))/0x8+-parseInt(_0x4214dd(0x143))/0x9+parseInt(_0x4214dd(0x154))/0xa;if(_0x3ca8f3===_0x4dcc35)break;else _0x3b2c27['push'](_0x3b2c27['shift']());}catch(_0x52d991){_0x3b2c27['push'](_0x3b2c27['shift']());}}}(_0x9451,0x60799));function _0x9451(){const _0x5f3665=['.ck-balloon-panel_with-arrow','bindTemplate','presencelist:hide','render','fire','1947610ajfYMN','setAttribute','aria-expanded','ck-presence-list__list','Connected\x20users\x20list','removeAttribute','1696695QDyGRA','list','.ck-presence-list__dropdown-list','setTemplate','8SyELbg','5TIThPD','listenTo','isExpanded','4673543ZJpDhb','6SEnxYz','155851JfGIEp','focus','relatedTarget','element','presencelist:show','set','1943550QXkONa','items','hasPopup','3068212rlAznE','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','querySelector','keystrokes','contains','createCollection','div','1364936FKYkEg'];_0x9451=function(){return _0x5f3665;};return _0x9451();}import{View as _0x44f906}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x17d320}from'ckeditor5/src/utils.js';import{getTranslation as _0x5daa21}from'../../common-translations.js';function _0x2ebc(_0x11ad5e,_0x362466){const _0x2ebc50=_0x9451();return _0x2ebc=function(_0x138e03,_0x1b5268){_0x138e03=_0x138e03-0x140;let _0x233725=_0x2ebc50[_0x138e03];return _0x233725;},_0x2ebc(_0x11ad5e,_0x362466);}export class PresenceInlineListView extends _0x44f906{[_0x412f82(0x144)];[_0x412f82(0x14a)];constructor(_0x372c02){const _0x53df36=_0x412f82;super(_0x372c02);const _0x48402e=this[_0x53df36(0x150)];this[_0x53df36(0x144)]=this[_0x53df36(0x14c)](),this[_0x53df36(0x14a)]=new _0x17d320(),this[_0x53df36(0x142)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x53df36(0x15d)]({'tag':_0x53df36(0x14d),'attributes':{'aria-haspopup':_0x48402e['if'](_0x53df36(0x145)),'aria-expanded':_0x48402e['to'](_0x53df36(0x161),_0x1dd367=>this[_0x53df36(0x145)]&&String(_0x1dd367)),'aria-label':_0x48402e['to'](_0x53df36(0x145),_0x207f24=>_0x5daa21(_0x372c02,_0x207f24?_0x53df36(0x147):_0x53df36(0x158))),'role':_0x53df36(0x15b),'tabindex':_0x48402e['to'](_0x53df36(0x145),_0x3fb2f3=>!!_0x3fb2f3&&0x0),'class':['ck',_0x53df36(0x157)]},'children':this[_0x53df36(0x144)],'on':{'mouseenter':_0x48402e['to'](()=>this[_0x53df36(0x153)](_0x53df36(0x141))),'mouseleave':_0x48402e['to'](_0x14819e=>{const _0x6a1f40=_0x53df36,_0xe9e9a0=_0x14819e,_0x2418e5=document[_0x6a1f40(0x149)](_0x6a1f40(0x15c)),_0x49cac9=document[_0x6a1f40(0x149)](_0x6a1f40(0x14f));_0x2418e5?.[_0x6a1f40(0x14b)](_0xe9e9a0[_0x6a1f40(0x166)])||_0x49cac9?.[_0x6a1f40(0x14b)](_0xe9e9a0[_0x6a1f40(0x166)])||this[_0x6a1f40(0x153)](_0x6a1f40(0x151));})}}),this['on'](_0x53df36(0x148),(_0x536d2a,_0x5523ec,_0x5994da)=>{const _0x586c8e=_0x53df36;this[_0x586c8e(0x140)]&&(_0x5994da?this[_0x586c8e(0x140)][_0x586c8e(0x155)](_0x586c8e(0x156),String(this[_0x586c8e(0x161)])):this[_0x586c8e(0x140)][_0x586c8e(0x159)](_0x586c8e(0x156)));});}[_0x412f82(0x165)](){const _0x348a21=_0x412f82;this[_0x348a21(0x140)][_0x348a21(0x165)]();}[_0x412f82(0x152)](){const _0x41e932=_0x412f82;super[_0x41e932(0x152)](),this[_0x41e932(0x14a)][_0x41e932(0x160)](this[_0x41e932(0x140)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2699f4=_0x255d;(function(_0xb08b0d,_0x4e1145){const _0x5812bb=_0x255d,_0x435f4a=_0xb08b0d();while(!![]){try{const _0x1b2bcf=-parseInt(_0x5812bb(0x1a3))/0x1+parseInt(_0x5812bb(0x19b))/0x2+parseInt(_0x5812bb(0x1a7))/0x3*(parseInt(_0x5812bb(0x1a2))/0x4)+parseInt(_0x5812bb(0x199))/0x5*(parseInt(_0x5812bb(0x1a4))/0x6)+-parseInt(_0x5812bb(0x19a))/0x7+parseInt(_0x5812bb(0x1a5))/0x8*(-parseInt(_0x5812bb(0x19e))/0x9)+parseInt(_0x5812bb(0x19d))/0xa;if(_0x1b2bcf===_0x4e1145)break;else _0x435f4a['push'](_0x435f4a['shift']());}catch(_0x1d12a3){_0x435f4a['push'](_0x435f4a['shift']());}}}(_0x4fa9,0xef4c5));import{View as _0x4414b8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x33ef7d}from'./presencecounterview.js';import{PresenceInlineListView as _0x458bab}from'./presenceinlinelistview.js';function _0x255d(_0x38aae5,_0x168d4f){const _0x4fa9db=_0x4fa9();return _0x255d=function(_0x255d35,_0x2eac20){_0x255d35=_0x255d35-0x18d;let _0x19a50a=_0x4fa9db[_0x255d35];return _0x19a50a;},_0x255d(_0x38aae5,_0x168d4f);}import'../../../theme/presencelist.css';function _0x4fa9(){const _0x10c2f6=['bindTemplate','3HFDDcs','isCollapsed','setTemplate','tooltipPosition','locale','ck-presence-list','ck-presence-list--collapsed','listenTo','change','items','bind','hasPopup','set','ck-reset','counterView','1708885LZKvoZ','4920013pWYvKP','334478sFtutz','ck-rounded-corners','28964410CsXZVm','275679pwhKgE','div','inlineListView','first','171528xWzJPl','1428374HdOoWu','6Snldxm','88FHXrux'];_0x4fa9=function(){return _0x10c2f6;};return _0x4fa9();}export class PresenceListView extends _0x4414b8{[_0x2699f4(0x198)];[_0x2699f4(0x1a0)];constructor(_0x421e6e,_0x2198b2=0x6){const _0x1a2825=_0x2699f4;super(_0x421e6e);const _0x159b29=this[_0x1a2825(0x1a6)];this[_0x1a2825(0x196)](_0x1a2825(0x1a8),!0x0),this[_0x1a2825(0x198)]=new _0x33ef7d(this[_0x1a2825(0x18e)],_0x2198b2),this[_0x1a2825(0x1a0)]=new _0x458bab(_0x421e6e),this[_0x1a2825(0x1a0)][_0x1a2825(0x194)](_0x1a2825(0x195))['to'](this,_0x1a2825(0x1a8)),this[_0x1a2825(0x191)](this[_0x1a2825(0x1a0)][_0x1a2825(0x193)],_0x1a2825(0x192),()=>{const _0x42177b=_0x1a2825;for(const _0x5d6857 of this[_0x42177b(0x1a0)][_0x42177b(0x193)])_0x5d6857[_0x42177b(0x18d)]='s';this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)]&&(this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)][_0x42177b(0x18d)]='se');}),this[_0x1a2825(0x1a9)]({'tag':_0x1a2825(0x19f),'attributes':{'class':['ck',_0x1a2825(0x18f),_0x1a2825(0x197),_0x1a2825(0x19c),_0x159b29['if'](_0x1a2825(0x1a8),_0x1a2825(0x190))]},'children':[this[_0x1a2825(0x1a0)]]});}}
23
+ const _0x4ad783=_0x26ea;function _0x12e7(){const _0x3b413d=['648846oklJtZ','tooltipPosition','listenTo','bindTemplate','div','20630CGXBym','items','set','counterView','16OYONlM','inlineListView','bind','change','first','locale','5618529oXQXrk','6526315JltFCW','ck-presence-list--collapsed','ck-rounded-corners','ck-presence-list','ck-reset','7837768UfzKQn','setTemplate','hasPopup','6389170qwGNze','isCollapsed','77cgMoFA','4gyYBjj','4119600ExjVPN'];_0x12e7=function(){return _0x3b413d;};return _0x12e7();}(function(_0x3f9a75,_0x2ce5eb){const _0x1ef16b=_0x26ea,_0x323aff=_0x3f9a75();while(!![]){try{const _0xf02f40=-parseInt(_0x1ef16b(0x195))/0x1*(-parseInt(_0x1ef16b(0x191))/0x2)+parseInt(_0x1ef16b(0x18b))/0x3+-parseInt(_0x1ef16b(0x18a))/0x4*(-parseInt(_0x1ef16b(0x19c))/0x5)+-parseInt(_0x1ef16b(0x18c))/0x6*(parseInt(_0x1ef16b(0x189))/0x7)+-parseInt(_0x1ef16b(0x184))/0x8+-parseInt(_0x1ef16b(0x19b))/0x9+parseInt(_0x1ef16b(0x187))/0xa;if(_0xf02f40===_0x2ce5eb)break;else _0x323aff['push'](_0x323aff['shift']());}catch(_0x298981){_0x323aff['push'](_0x323aff['shift']());}}}(_0x12e7,0xa82e3));import{View as _0xd73b98}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x592d87}from'./presencecounterview.js';import{PresenceInlineListView as _0x1d08c2}from'./presenceinlinelistview.js';function _0x26ea(_0x4e5c04,_0x3d616d){const _0x12e752=_0x12e7();return _0x26ea=function(_0x26ea9a,_0x514588){_0x26ea9a=_0x26ea9a-0x182;let _0x41dab5=_0x12e752[_0x26ea9a];return _0x41dab5;},_0x26ea(_0x4e5c04,_0x3d616d);}import'../../../theme/presencelist.css';export class PresenceListView extends _0xd73b98{[_0x4ad783(0x194)];[_0x4ad783(0x196)];constructor(_0x4434c3,_0x623fcd=0x6){const _0x1eb1d2=_0x4ad783;super(_0x4434c3);const _0x5ce8e8=this[_0x1eb1d2(0x18f)];this[_0x1eb1d2(0x193)](_0x1eb1d2(0x188),!0x0),this[_0x1eb1d2(0x194)]=new _0x592d87(this[_0x1eb1d2(0x19a)],_0x623fcd),this[_0x1eb1d2(0x196)]=new _0x1d08c2(_0x4434c3),this[_0x1eb1d2(0x196)][_0x1eb1d2(0x197)](_0x1eb1d2(0x186))['to'](this,_0x1eb1d2(0x188)),this[_0x1eb1d2(0x18e)](this[_0x1eb1d2(0x196)][_0x1eb1d2(0x192)],_0x1eb1d2(0x198),()=>{const _0x3cdb75=_0x1eb1d2;for(const _0xd7cfb4 of this[_0x3cdb75(0x196)][_0x3cdb75(0x192)])_0xd7cfb4[_0x3cdb75(0x18d)]='s';this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)]&&(this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)][_0x3cdb75(0x18d)]='se');}),this[_0x1eb1d2(0x185)]({'tag':_0x1eb1d2(0x190),'attributes':{'class':['ck',_0x1eb1d2(0x182),_0x1eb1d2(0x183),_0x1eb1d2(0x19e),_0x5ce8e8['if'](_0x1eb1d2(0x188),_0x1eb1d2(0x19d))]},'children':[this[_0x1eb1d2(0x196)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x31ca4c=_0x6106;(function(_0x2497af,_0x6c730a){var _0x402923=_0x6106,_0x23ee6f=_0x2497af();while(!![]){try{var _0x2ebf2c=parseInt(_0x402923(0xf3))/0x1+-parseInt(_0x402923(0xef))/0x2+parseInt(_0x402923(0xf6))/0x3+parseInt(_0x402923(0xf0))/0x4+-parseInt(_0x402923(0xed))/0x5*(-parseInt(_0x402923(0xf7))/0x6)+parseInt(_0x402923(0xfa))/0x7*(-parseInt(_0x402923(0xf1))/0x8)+-parseInt(_0x402923(0xf9))/0x9;if(_0x2ebf2c===_0x6c730a)break;else _0x23ee6f['push'](_0x23ee6f['shift']());}catch(_0x31bbd5){_0x23ee6f['push'](_0x23ee6f['shift']());}}}(_0x45d8,0x39bcb));import{ContextPlugin as _0xb8cf5b}from'ckeditor5/src/core.js';import{Sessions as _0x1b4291}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5f0a1d}from'./presencelist/presencelistui.js';export class PresenceList extends _0xb8cf5b{static get[_0x31ca4c(0xf5)](){return[_0x1b4291,_0x5f0a1d];}static get[_0x31ca4c(0xf8)](){var _0x50834b=_0x31ca4c;return _0x50834b(0xee);}static get[_0x31ca4c(0xf2)](){return!0x0;}static get[_0x31ca4c(0xf4)](){return!0x0;}}function _0x6106(_0x7d557c,_0x38b7c7){var _0x45d859=_0x45d8();return _0x6106=function(_0x610603,_0x3052b6){_0x610603=_0x610603-0xed;var _0x59d5ec=_0x45d859[_0x610603];return _0x59d5ec;},_0x6106(_0x7d557c,_0x38b7c7);}function _0x45d8(){var _0x310280=['12hwpTaM','pluginName','4146147jWPeja','196vUYGnG','423210JeppPH','PresenceList','409948sJUsUy','1876136SIbdNC','57696LBkuOQ','isOfficialPlugin','297509UileaY','isPremiumPlugin','requires','504771MWEisY'];_0x45d8=function(){return _0x310280;};return _0x45d8();}
23
+ var _0x10649f=_0x2aff;(function(_0x31b047,_0x1a2bb7){var _0x1dc521=_0x2aff,_0x3f2c47=_0x31b047();while(!![]){try{var _0x2c3b45=parseInt(_0x1dc521(0xbf))/0x1+parseInt(_0x1dc521(0xba))/0x2*(parseInt(_0x1dc521(0xc1))/0x3)+-parseInt(_0x1dc521(0xbd))/0x4+parseInt(_0x1dc521(0xc6))/0x5+parseInt(_0x1dc521(0xbb))/0x6+-parseInt(_0x1dc521(0xc3))/0x7*(-parseInt(_0x1dc521(0xbe))/0x8)+-parseInt(_0x1dc521(0xbc))/0x9;if(_0x2c3b45===_0x1a2bb7)break;else _0x3f2c47['push'](_0x3f2c47['shift']());}catch(_0x4ac869){_0x3f2c47['push'](_0x3f2c47['shift']());}}}(_0x48b6,0xb4d50));import{ContextPlugin as _0x28fef0}from'ckeditor5/src/core.js';function _0x2aff(_0x15ff35,_0x2d27db){var _0x48b610=_0x48b6();return _0x2aff=function(_0x2aff87,_0x2b7a0c){_0x2aff87=_0x2aff87-0xba;var _0x56830d=_0x48b610[_0x2aff87];return _0x56830d;},_0x2aff(_0x15ff35,_0x2d27db);}function _0x48b6(){var _0x5145cf=['isPremiumPlugin','pluginName','2462490AsJgGC','PresenceList','24NvFKFE','7288338Qfegeg','20470437wJoeHk','1620420vjIHax','16mTUbYR','965167ytMyLU','isOfficialPlugin','154581SJcOwX','requires','453509mMISam'];_0x48b6=function(){return _0x5145cf;};return _0x48b6();}import{Sessions as _0x1f7c53}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4b48da}from'./presencelist/presencelistui.js';export class PresenceList extends _0x28fef0{static get[_0x10649f(0xc2)](){return[_0x1f7c53,_0x4b48da];}static get[_0x10649f(0xc5)](){var _0xc4048b=_0x10649f;return _0xc4048b(0xc7);}static get[_0x10649f(0xc0)](){return!0x0;}static get[_0x10649f(0xc4)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x252b77=_0xd625;(function(_0x4df3fc,_0x5c5e49){const _0x2af2b3=_0xd625,_0x236ed3=_0x4df3fc();while(!![]){try{const _0x2390ac=parseInt(_0x2af2b3(0xbd))/0x1+parseInt(_0x2af2b3(0xad))/0x2+parseInt(_0x2af2b3(0xc6))/0x3*(-parseInt(_0x2af2b3(0xb7))/0x4)+parseInt(_0x2af2b3(0xd8))/0x5*(-parseInt(_0x2af2b3(0xdd))/0x6)+parseInt(_0x2af2b3(0xde))/0x7*(-parseInt(_0x2af2b3(0xec))/0x8)+-parseInt(_0x2af2b3(0xd9))/0x9*(-parseInt(_0x2af2b3(0xfb))/0xa)+-parseInt(_0x2af2b3(0xb2))/0xb*(-parseInt(_0x2af2b3(0xa7))/0xc);if(_0x2390ac===_0x5c5e49)break;else _0x236ed3['push'](_0x236ed3['shift']());}catch(_0x35aad0){_0x236ed3['push'](_0x236ed3['shift']());}}}(_0x225a,0x6e935));import{Context as _0x15bc32,ContextPlugin as _0x227437}from'ckeditor5/src/core.js';import{CKEditorError as _0x381e19}from'ckeditor5/src/utils.js';function _0xd625(_0x4a0dc8,_0xac226d){const _0x225ab6=_0x225a();return _0xd625=function(_0xd625ed,_0x4092e2){_0xd625ed=_0xd625ed-0xa4;let _0xa54c3e=_0x225ab6[_0xd625ed];return _0xa54c3e;},_0xd625(_0x4a0dc8,_0xac226d);}import{Users as _0x3ef70d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x100ae6,User as _0x25d22e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x31d550}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xb29762}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x227437{static [_0x252b77(0xd6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x100ae6)());[_0x252b77(0xed)];static get[_0x252b77(0xf9)](){const _0xe19e3a=_0x252b77;return[_0x31d550,_0xe19e3a(0xc1),_0xb29762,_0x3ef70d];}static get[_0x252b77(0xee)](){const _0x51e056=_0x252b77;return _0x51e056(0xce);}static get[_0x252b77(0xba)](){return!0x0;}static get[_0x252b77(0xf7)](){return!0x0;}constructor(_0x48d17d){const _0x49564e=_0x252b77;super(_0x48d17d),this[_0x49564e(0xed)]=new Map();}async[_0x252b77(0xc0)](){const _0x39efec=_0x252b77,_0x5d43a4=this[_0x39efec(0xd5)],_0x37a51f=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x39efec(0xc1));if(_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x31d550)[_0x39efec(0xfc)](this),_0x37a51f[_0x39efec(0x101)]={'addCommentThread':async({channelId:_0x403c82,threadId:_0x35471e,comments:_0x5d79c4,resolvedAt:_0x53b194,resolvedBy:_0x18c6f8,context:_0x36de35,attributes:_0x4feb01})=>{const _0x3bc38d=_0x39efec,_0x1a230f=await this[_0x3bc38d(0x102)](_0x403c82)[_0x3bc38d(0xcb)]({'commentThreadId':_0x35471e,'comments':_0x5d79c4[_0x3bc38d(0xb3)](_0x5be646=>function(_0x4d9791,_0x3b0dc0,_0x162287){const _0x51c91f=_0x3bc38d;return{'commentThreadId':_0x162287,'commentId':_0x4d9791[_0x51c91f(0xd7)],'userId':_0x4d9791[_0x51c91f(0xeb)],'content':_0x4d9791[_0x51c91f(0xdb)],'documentId':_0x3b0dc0,'createdAt':_0x4d9791[_0x51c91f(0xca)],'attributes':_0x4d9791[_0x51c91f(0xd2)]||{}};}(_0x5be646,_0x403c82,_0x35471e)),'resolvedAt':_0x53b194,'resolvedBy':_0x18c6f8,'context':_0x36de35,'attributes':_0x4feb01})[_0x3bc38d(0xcc)](k);return{'threadId':_0x1a230f[_0x3bc38d(0xe8)],'comments':_0x1a230f[_0x3bc38d(0xe4)]};},'getCommentThread':async({channelId:_0x5d90b3,threadId:_0x564372})=>{const _0x3e1a83=_0x39efec,_0x3df9a2=await this[_0x3e1a83(0x102)](_0x5d90b3)[_0x3e1a83(0xc5)](_0x564372)[_0x3e1a83(0xcc)](F)[_0x3e1a83(0xcc)](k);return _0x3df9a2?_0x3df9a2[_0x3e1a83(0xbf)]?null:(await this[_0x3e1a83(0xb6)]([_0x3df9a2]),{'threadId':_0x3df9a2[_0x3e1a83(0xe8)],'comments':_0x3df9a2[_0x3e1a83(0xe4)][_0x3e1a83(0xb3)](S),'context':_0x3df9a2[_0x3e1a83(0xd5)],'resolvedAt':_0x3df9a2[_0x3e1a83(0x106)],'resolvedBy':_0x3df9a2[_0x3e1a83(0xaf)],'attributes':_0x3df9a2[_0x3e1a83(0xd2)]||{}}):null;},'updateCommentThread':async({channelId:_0x4a7ac1,threadId:_0x5bd241,context:_0x99c3ed,unlinkedAt:_0x509b5d,attributes:_0x1a5568})=>this[_0x39efec(0x102)](_0x4a7ac1)[_0x39efec(0xb5)]({'commentThreadId':_0x5bd241,'context':_0x99c3ed,'attributes':_0x1a5568,'unlinkedAt':_0x509b5d})[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'resolveCommentThread':async({channelId:_0x44e05f,threadId:_0x16cc3c})=>{const _0x4e8c04=_0x39efec,_0x1954bd=await this[_0x4e8c04(0x102)](_0x44e05f)[_0x4e8c04(0xe3)](_0x16cc3c)[_0x4e8c04(0xcc)](F)[_0x4e8c04(0xcc)](k);return{'threadId':_0x1954bd[_0x4e8c04(0xe8)],'resolvedAt':_0x1954bd[_0x4e8c04(0x106)],'resolvedBy':_0x1954bd[_0x4e8c04(0xaf)]};},'reopenCommentThread':async({channelId:_0x15c72f,threadId:_0x2cb8ea})=>this[_0x39efec(0x102)](_0x15c72f)[_0x39efec(0xae)](_0x2cb8ea)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeCommentThread':({channelId:_0x51125f,threadId:_0x2c5729})=>this[_0x39efec(0x102)](_0x51125f)[_0x39efec(0xea)](_0x2c5729)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'addComment':({channelId:_0x43a41b,threadId:_0x4ce562,commentId:_0x3ce710,content:_0x25af49,attributes:_0x299e06})=>this[_0x39efec(0x102)](_0x43a41b)[_0x39efec(0xd0)](_0x4ce562,_0x3ce710,_0x25af49,_0x299e06)[_0x39efec(0xcc)](k),'updateComment':({channelId:_0x301de8,threadId:_0x245f98,commentId:_0x2102e0,content:_0x42b193,attributes:_0x5cedb9})=>this[_0x39efec(0x102)](_0x301de8)[_0x39efec(0xbc)](_0x245f98,_0x2102e0,_0x42b193,_0x5cedb9)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeComment':({channelId:_0x221fcd,threadId:_0x17aa99,commentId:_0x2b4b03})=>this[_0x39efec(0x102)](_0x221fcd)[_0x39efec(0xac)](_0x17aa99,_0x2b4b03)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k)},_0x5d43a4 instanceof _0x15bc32){const _0x47e7c6=_0x5d43a4[_0x39efec(0xa8)][_0x39efec(0xe7)](_0x39efec(0x108)),_0x432209=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0xb29762);await this[_0x39efec(0x109)](_0x47e7c6);const _0x3f33fb=await this[_0x39efec(0xed)][_0x39efec(0xe7)](_0x47e7c6)[_0x39efec(0xb8)]();this[_0x39efec(0xe0)](_0x432209,_0x39efec(0xfe)+_0x47e7c6,(_0x4195ec,{session:_0x444262})=>{const _0x4d137b=_0x39efec;_0x444262['id']===_0x432209[_0x4d137b(0x100)]&&(_0x4195ec[_0x4d137b(0xc9)](),this[_0x4d137b(0xd5)][_0x4d137b(0xb1)][_0x4d137b(0xe7)](_0x4d137b(0xf8))[_0x4d137b(0x103)](_0x444262[_0x4d137b(0x104)],_0x47e7c6));}),_0x432209[_0x39efec(0xa4)](_0x47e7c6,_0x3f33fb);}}async[_0x252b77(0x109)](_0x3c0aea){const _0x37f898=_0x252b77;if(this[_0x37f898(0xed)][_0x37f898(0xdc)](_0x3c0aea))throw new _0x381e19(_0x37f898(0x10a),null,{'channelId':_0x3c0aea});const _0x20c38d=this[_0x37f898(0xd5)][_0x37f898(0xb1)][_0x37f898(0xe7)](_0x37f898(0xc1)),_0x18b4ec=new CloudServicesCommentsAdapter[(_0x37f898(0xd6))](_0x3c0aea);this[_0x37f898(0xed)][_0x37f898(0xc7)](_0x3c0aea,_0x18b4ec),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf3),(_0x3bf28a,_0x166cef)=>{const _0x436ac0=_0x37f898,{commentThreadId:_0x4407b7,documentId:_0x4872ec,context:_0x5ce6e3,attributes:_0x1b7960,resolvedAt:_0x3bd325,resolvedBy:_0x458bf2,comments:_0x2d2969}=_0x166cef;_0x20c38d[_0x436ac0(0xc5)](_0x4407b7)||_0x20c38d[_0x436ac0(0xcb)]({'threadId':_0x4407b7,'channelId':_0x4872ec,'comments':_0x2d2969?_0x2d2969[_0x436ac0(0xb3)](S):[],'context':_0x5ce6e3,'attributes':_0x1b7960,'resolvedAt':_0x3bd325,'resolvedBy':_0x458bf2,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xd1),(_0x1a8ab6,{commentThreadId:_0xdee2e2,documentId:_0x177fc4,context:_0x1fe3eb,unlinkedAt:_0x622afc,attributes:_0x479fd3})=>{const _0x4abb1e=_0x37f898;_0x20c38d[_0x4abb1e(0xc5)](_0xdee2e2)&&_0x20c38d[_0x4abb1e(0xb5)]({'threadId':_0xdee2e2,'channelId':_0x177fc4,'context':_0x1fe3eb,'unlinkedAt':_0x622afc,'attributes':_0x479fd3,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf6),(_0x4802f4,{commentThreadId:_0xe229bd,resolvedBy:_0x8942c5,resolvedAt:_0x432c74})=>{const _0x328903=_0x37f898,_0x40a3d5=_0x20c38d[_0x328903(0xc5)](_0xe229bd);_0x40a3d5&&_0x40a3d5[_0x328903(0xf1)]({'resolvedBy':_0x8942c5,'resolvedAt':_0x432c74,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xfa),(_0x4f0091,{commentThreadId:_0x5c8d00})=>{const _0x3edf26=_0x37f898,_0x557887=_0x20c38d[_0x3edf26(0xc5)](_0x5c8d00);_0x557887&&_0x557887[_0x3edf26(0xab)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xe9),(_0x1db594,{commentThreadId:_0x2b5f46})=>{const _0x4456f9=_0x37f898,_0x579443=_0x20c38d[_0x4456f9(0xc5)](_0x2b5f46);_0x579443&&_0x579443[_0x4456f9(0xf4)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xaa),(_0x5014ce,_0x2a7e1d)=>{const _0x5ee35f=_0x37f898,_0x2ea57f=_0x2a7e1d[_0x5ee35f(0xe8)],_0x4a78cd=_0x20c38d[_0x5ee35f(0xc5)](_0x2ea57f);_0x4a78cd&&_0x4a78cd[_0x5ee35f(0xd0)]({...S(_0x2a7e1d),'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc4),(_0x20de01,{commentThreadId:_0x1eaca8,commentId:_0x1e7e1e,content:_0x28c918,attributes:_0x1fcf1e})=>{const _0x172f9f=_0x37f898,_0x314f7d=_0x20c38d[_0x172f9f(0xc5)](_0x1eaca8);if(_0x314f7d){const _0x34ca88=_0x314f7d[_0x172f9f(0xc2)](_0x1e7e1e);_0x34ca88&&_0x34ca88[_0x172f9f(0xe1)]({'content':_0x28c918,'attributes':_0x1fcf1e,'isFromAdapter':!0x0});}}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc8),(_0x51f481,{commentThreadId:_0x520c80,commentId:_0x531267})=>{const _0x19f1e7=_0x37f898,_0x13a18e=_0x20c38d[_0x19f1e7(0xc5)](_0x520c80);if(_0x13a18e){const _0x31bdbe=_0x13a18e[_0x19f1e7(0xc2)](_0x531267);_0x31bdbe&&_0x31bdbe[_0x19f1e7(0xf4)]({'isFromAdapter':!0x0});}}),await this[_0x37f898(0xcf)](_0x3c0aea);}[_0x252b77(0xda)](){const _0x5ca83c=_0x252b77;if(this[_0x5ca83c(0xd5)]instanceof _0x15bc32){const _0x1e7027=this[_0x5ca83c(0xd5)][_0x5ca83c(0xa8)][_0x5ca83c(0xe7)](_0x5ca83c(0x108));this[_0x5ca83c(0xa9)](_0x1e7027);}}[_0x252b77(0xa9)](_0x548867){const _0x2e64d1=_0x252b77;if(!this[_0x2e64d1(0xed)][_0x2e64d1(0xdc)](_0x548867))throw new _0x381e19(_0x2e64d1(0xdf),null,{'channelId':_0x548867});this[_0x2e64d1(0x102)](_0x548867)[_0x2e64d1(0xbe)](),this[_0x2e64d1(0xed)][_0x2e64d1(0xff)](_0x548867);}async[_0x252b77(0xe6)](){const _0x3f0118=_0x252b77;for(const _0x15005c of this[_0x3f0118(0xed)][_0x3f0118(0x105)]())await this[_0x3f0118(0xcf)](_0x15005c);if(this[_0x3f0118(0xd5)]instanceof _0x15bc32){const _0x15a6d7=this[_0x3f0118(0xd5)][_0x3f0118(0xa8)][_0x3f0118(0xe7)](_0x3f0118(0x108)),_0x1740bb=this[_0x3f0118(0xd5)][_0x3f0118(0xb1)][_0x3f0118(0xe7)](_0xb29762);_0x1740bb[_0x3f0118(0xfd)](_0x15a6d7);const _0xfe49b1=await this[_0x3f0118(0xed)][_0x3f0118(0xe7)](_0x15a6d7)[_0x3f0118(0xb8)]();_0x1740bb[_0x3f0118(0xa4)](_0x15a6d7,_0xfe49b1);}}async[_0x252b77(0xcf)](_0x4d5118){const _0xc1f9a2=_0x252b77,{connection:_0x2b2f52}=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0x31d550),_0x12e54c=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0xc1f9a2(0xc1)),_0x5568f8=this[_0xc1f9a2(0xed)][_0xc1f9a2(0xe7)](_0x4d5118),_0x4ad3b6=await _0x5568f8[_0xc1f9a2(0xcd)](_0x2b2f52);await this[_0xc1f9a2(0xb6)](_0x4ad3b6);const _0x3f61fb=new Set(Array[_0xc1f9a2(0xb9)](_0x12e54c[_0xc1f9a2(0xf5)]({'channelId':_0x4d5118}),_0x41b3a3=>_0x41b3a3['id']));for(const _0x5bbec9 of _0x4ad3b6)_0x5bbec9[_0xc1f9a2(0xbf)]||_0x3f61fb[_0xc1f9a2(0xff)](_0x5bbec9[_0xc1f9a2(0xe8)]);for(const _0x47b130 of _0x3f61fb)_0x12e54c[_0xc1f9a2(0xc5)](_0x47b130)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0x1ac554 of _0x4ad3b6){let _0x1728b9=_0x12e54c[_0xc1f9a2(0xc5)](_0x1ac554[_0xc1f9a2(0xe8)]);const {commentThreadId:_0xa3e2bd,context:_0x1b55ec,attributes:_0x4c5f18,resolvedBy:_0x2b5677,resolvedAt:_0x3bd309,unlinkedAt:_0x3a1f75,deletedAt:_0x34b065}=_0x1ac554;if(_0x34b065)continue;_0x1728b9||(_0x1728b9=_0x12e54c[_0xc1f9a2(0xcb)]({'channelId':_0x4d5118,'threadId':_0xa3e2bd,'context':_0x1b55ec,'attributes':_0x4c5f18||{},'resolvedBy':_0x2b5677,'resolvedAt':_0x3bd309,'unlinkedAt':_0x3a1f75,'isFromAdapter':!0x0}));const _0x1e212d=new Set(Array[_0xc1f9a2(0xb9)](_0x1728b9[_0xc1f9a2(0xe4)],_0x330102=>_0x330102['id']));for(const _0x8092e4 of _0x1ac554[_0xc1f9a2(0xe4)])_0x1e212d[_0xc1f9a2(0xff)](_0x8092e4[_0xc1f9a2(0xd7)]);for(const _0x3016d9 of _0x1e212d)_0x1728b9[_0xc1f9a2(0xc2)](_0x3016d9)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0xbc7d8a of _0x1ac554[_0xc1f9a2(0xe4)]){const _0x5dfac8=_0x1728b9[_0xc1f9a2(0xc2)](_0xbc7d8a[_0xc1f9a2(0xd7)]);_0x5dfac8?_0x5dfac8[_0xc1f9a2(0xdb)]!==_0xbc7d8a[_0xc1f9a2(0xdb)]&&_0x5dfac8[_0xc1f9a2(0xe1)]({'content':_0xbc7d8a[_0xc1f9a2(0xdb)],'isFromAdapter':!0x0}):_0x1728b9[_0xc1f9a2(0xd0)](Object[_0xc1f9a2(0xe5)](S(_0xbc7d8a),{'isFromAdapter':!0x0}));}}}[_0x252b77(0x102)](_0x4b70f0){const _0x4debef=_0x252b77;if(!this[_0x4debef(0xed)][_0x4debef(0xdc)](_0x4b70f0))throw new _0x381e19(_0x4debef(0xf2),null,{'channelId':_0x4b70f0});return this[_0x4debef(0xed)][_0x4debef(0xe7)](_0x4b70f0);}async[_0x252b77(0xb6)](_0xed981a){const _0x28e912=_0x252b77,_0x4b3de0=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x3ef70d),{connection:_0x5b7fd6}=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x31d550),_0x4ced52=new Set();for(const {resolvedBy:_0x136b3a,comments:_0x3bcc95}of _0xed981a){_0x136b3a&&!_0x4b3de0[_0x28e912(0xbb)](_0x136b3a)&&_0x4ced52[_0x28e912(0xf0)](_0x136b3a);for(const {userId:_0x249a01}of _0x3bcc95)_0x4b3de0[_0x28e912(0xbb)](_0x249a01)||_0x4ced52[_0x28e912(0xf0)](_0x249a01);}if(0x0===_0x4ced52[_0x28e912(0xb0)])return;const _0xf9ec52=await _0x25d22e[_0x28e912(0xd4)](_0x5b7fd6,Array[_0x28e912(0xb9)](_0x4ced52));for(const _0x1cdf58 of _0xf9ec52)_0x4b3de0[_0x28e912(0xbb)](_0x1cdf58['id'])||_0x4b3de0[_0x28e912(0xef)](_0x1cdf58);}}async function F(_0x300992){const _0x38d5a1=_0x252b77;if(_0x38d5a1(0xb4)!==_0x300992[_0x38d5a1(0xa6)])throw _0x300992;}function k(_0x4edb7a){const _0x46961e=_0x252b77;if((_0x261ff3=_0x4edb7a)[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xa5))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0x10b))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xd3)))return new Promise(()=>{});var _0x261ff3;throw _0x4edb7a;}function _0x225a(){const _0x29084c=['reconnect','get','commentThreadId','commentThreadRemoved','removeCommentThread','authorId','410704RYUBPT','_services','pluginName','addUser','add','resolve','cloudservicescommentsadapter-service-not-exist','commentThreadAdded','remove','getCommentThreads','commentThreadResolved','isPremiumPlugin','Permissions','requires','commentThreadReopened','10UiHdIH','addToReconnectionStack','unregister','sessionAdd:','delete','mySessionId','adapter','_getService','setPermissions','permissions','keys','resolvedAt','startsWith','collaboration.channelId','_setUpService','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','register','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','code','48vSNpRB','config','_terminateService','commentAdded','reopen','removeComment','1230246DHFZCv','reopenCommentThread','resolvedBy','size','plugins','276353xlQmJo','map','404','updateCommentThread','_fetchMissingUsersForThreads','148RwFccQ','getConnectedSessions','from','isOfficialPlugin','getUser','updateComment','667099jBsZlF','disconnect','deletedAt','init','CommentsRepository','getComment','message','commentUpdated','getCommentThread','3582YMLzfI','set','commentRemoved','off','createdAt','addCommentThread','catch','connect','CloudServicesCommentsAdapter','_connectService','addComment','commentThreadUpdated','attributes','cloud-services-internal-error:\x20Request\x20timeout.','getMany','context','CommentsService','commentId','255dVcSke','284382GwJJWS','destroy','content','has','53550NKSCuo','63OKfOpm','cloudservicescommentsadapter-disconnect-not-exist','listenTo','update','userId','resolveCommentThread','comments','assign'];_0x225a=function(){return _0x29084c;};return _0x225a();}function S(_0x1a8866){const _0x4a6312=_0x252b77;return{'threadId':_0x1a8866[_0x4a6312(0xe8)],'commentId':_0x1a8866[_0x4a6312(0xd7)],'content':_0x1a8866[_0x4a6312(0xdb)],'createdAt':_0x1a8866[_0x4a6312(0xca)],'authorId':_0x1a8866[_0x4a6312(0xe2)],'attributes':_0x1a8866[_0x4a6312(0xd2)]||{}};}
23
+ const _0x13e87f=_0x35a4;(function(_0x1b1ce0,_0x1ddb8f){const _0x501f70=_0x35a4,_0x280dd4=_0x1b1ce0();while(!![]){try{const _0x56ed91=parseInt(_0x501f70(0x1ec))/0x1+-parseInt(_0x501f70(0x1bc))/0x2*(-parseInt(_0x501f70(0x1bf))/0x3)+-parseInt(_0x501f70(0x1ae))/0x4*(parseInt(_0x501f70(0x207))/0x5)+parseInt(_0x501f70(0x1f6))/0x6+-parseInt(_0x501f70(0x1ef))/0x7+-parseInt(_0x501f70(0x1c5))/0x8+parseInt(_0x501f70(0x205))/0x9;if(_0x56ed91===_0x1ddb8f)break;else _0x280dd4['push'](_0x280dd4['shift']());}catch(_0x3cc058){_0x280dd4['push'](_0x280dd4['shift']());}}}(_0xbd53,0x480d2));import{Context as _0x28e16f,ContextPlugin as _0xe074ce}from'ckeditor5/src/core.js';function _0xbd53(){const _0xc50b6a=['3685320HAtDpK','commentThreadResolved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','size','collaboration.channelId','addComment','_getService','startsWith','getUser','getComment','_setUpService','resolveCommentThread','CloudServicesCommentsAdapter','content','cloudservicescommentsadapter-disconnect-not-exist','_terminateService','attributes','addToReconnectionStack','getCommentThread','404','pluginName','register','createdAt','commentThreadReopened','isPremiumPlugin','userId','addCommentThread','mySessionId','cloudservicescommentsadapter-connect-already-connected','getMany','get','init','assign','_connectService','isOfficialPlugin','reopen','keys','listenTo','_fetchMissingUsersForThreads','210922DiMoij','_services','adapter','3159191wndTrA','resolvedBy','config','reopenCommentThread','context','cloud-services-internal-error:\x20Request\x20timeout.','from','2420808uCYrJE','Permissions','commentId','requires','message','getCommentThreads','off','cloudservicescommentsadapter-service-not-exist','commentUpdated','commentThreadRemoved','sessionAdd:','comments','CommentsService','update','add','6306444axrMzb','disconnect','24955SLasya','CommentsRepository','updateCommentThread','destroy','code','commentRemoved','setPermissions','delete','remove','resolvedAt','updateComment','commentThreadUpdated','452FgPbgJ','set','connect','reconnect','has','deletedAt','commentThreadId','removeCommentThread','getConnectedSessions','removeComment','commentAdded','authorId','unregister','map','2ldPimL','catch','resolve','1367931NrMjxP','commentThreadAdded','plugins','permissions','addUser','cloud-services-internal-error:\x20Not\x20connected.'];_0xbd53=function(){return _0xc50b6a;};return _0xbd53();}import{CKEditorError as _0x52e6d1}from'ckeditor5/src/utils.js';import{Users as _0x2eaf9b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x156a5b,User as _0x3559ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1eab12}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x10f6c9}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0xe074ce{static [_0x13e87f(0x202)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x156a5b)());[_0x13e87f(0x1ed)];static get[_0x13e87f(0x1f9)](){const _0x3e2006=_0x13e87f;return[_0x1eab12,_0x3e2006(0x208),_0x10f6c9,_0x2eaf9b];}static get[_0x13e87f(0x1d9)](){const _0x520dbc=_0x13e87f;return _0x520dbc(0x1d1);}static get[_0x13e87f(0x1e7)](){return!0x0;}static get[_0x13e87f(0x1dd)](){return!0x0;}constructor(_0x22ad45){const _0x515a7e=_0x13e87f;super(_0x22ad45),this[_0x515a7e(0x1ed)]=new Map();}async[_0x13e87f(0x1e4)](){const _0x50070b=_0x13e87f,_0x886534=this[_0x50070b(0x1f3)],_0x2934ae=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x50070b(0x208));if(_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x1eab12)[_0x50070b(0x1d6)](this),_0x2934ae[_0x50070b(0x1ee)]={'addCommentThread':async({channelId:_0x20687e,threadId:_0x1dcb50,comments:_0x347582,resolvedAt:_0x221ea4,resolvedBy:_0x1b5194,context:_0x15cf79,attributes:_0x32e751})=>{const _0x45313a=_0x50070b,_0x269f6b=await this[_0x45313a(0x1cb)](_0x20687e)[_0x45313a(0x1df)]({'commentThreadId':_0x1dcb50,'comments':_0x347582[_0x45313a(0x1bb)](_0x5ece07=>function(_0x2b1f81,_0x1d8d17,_0x40040c){const _0x15964b=_0x45313a;return{'commentThreadId':_0x40040c,'commentId':_0x2b1f81[_0x15964b(0x1f8)],'userId':_0x2b1f81[_0x15964b(0x1b9)],'content':_0x2b1f81[_0x15964b(0x1d2)],'documentId':_0x1d8d17,'createdAt':_0x2b1f81[_0x15964b(0x1db)],'attributes':_0x2b1f81[_0x15964b(0x1d5)]||{}};}(_0x5ece07,_0x20687e,_0x1dcb50)),'resolvedAt':_0x221ea4,'resolvedBy':_0x1b5194,'context':_0x15cf79,'attributes':_0x32e751})[_0x45313a(0x1bd)](k);return{'threadId':_0x269f6b[_0x45313a(0x1b4)],'comments':_0x269f6b[_0x45313a(0x201)]};},'getCommentThread':async({channelId:_0x2c556d,threadId:_0x118e74})=>{const _0x14306f=_0x50070b,_0x12f9a9=await this[_0x14306f(0x1cb)](_0x2c556d)[_0x14306f(0x1d7)](_0x118e74)[_0x14306f(0x1bd)](F)[_0x14306f(0x1bd)](k);return _0x12f9a9?_0x12f9a9[_0x14306f(0x1b3)]?null:(await this[_0x14306f(0x1eb)]([_0x12f9a9]),{'threadId':_0x12f9a9[_0x14306f(0x1b4)],'comments':_0x12f9a9[_0x14306f(0x201)][_0x14306f(0x1bb)](S),'context':_0x12f9a9[_0x14306f(0x1f3)],'resolvedAt':_0x12f9a9[_0x14306f(0x1ab)],'resolvedBy':_0x12f9a9[_0x14306f(0x1f0)],'attributes':_0x12f9a9[_0x14306f(0x1d5)]||{}}):null;},'updateCommentThread':async({channelId:_0x3ee579,threadId:_0x546b59,context:_0x4f32fe,unlinkedAt:_0x3fc4f7,attributes:_0x372c91})=>this[_0x50070b(0x1cb)](_0x3ee579)[_0x50070b(0x209)]({'commentThreadId':_0x546b59,'context':_0x4f32fe,'attributes':_0x372c91,'unlinkedAt':_0x3fc4f7})[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'resolveCommentThread':async({channelId:_0x23c5fb,threadId:_0x55490f})=>{const _0x37dd7d=_0x50070b,_0x50291d=await this[_0x37dd7d(0x1cb)](_0x23c5fb)[_0x37dd7d(0x1d0)](_0x55490f)[_0x37dd7d(0x1bd)](F)[_0x37dd7d(0x1bd)](k);return{'threadId':_0x50291d[_0x37dd7d(0x1b4)],'resolvedAt':_0x50291d[_0x37dd7d(0x1ab)],'resolvedBy':_0x50291d[_0x37dd7d(0x1f0)]};},'reopenCommentThread':async({channelId:_0x47650d,threadId:_0x4428e4})=>this[_0x50070b(0x1cb)](_0x47650d)[_0x50070b(0x1f2)](_0x4428e4)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeCommentThread':({channelId:_0x3d27e,threadId:_0x255a18})=>this[_0x50070b(0x1cb)](_0x3d27e)[_0x50070b(0x1b5)](_0x255a18)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'addComment':({channelId:_0x1001a1,threadId:_0x3a22f2,commentId:_0x284c24,content:_0x86ff0a,attributes:_0x44ef0d})=>this[_0x50070b(0x1cb)](_0x1001a1)[_0x50070b(0x1ca)](_0x3a22f2,_0x284c24,_0x86ff0a,_0x44ef0d)[_0x50070b(0x1bd)](k),'updateComment':({channelId:_0x636dcc,threadId:_0x520f4b,commentId:_0x1945fd,content:_0x4d5cde,attributes:_0x1c12e7})=>this[_0x50070b(0x1cb)](_0x636dcc)[_0x50070b(0x1ac)](_0x520f4b,_0x1945fd,_0x4d5cde,_0x1c12e7)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeComment':({channelId:_0x72139a,threadId:_0x52bfd1,commentId:_0x39c773})=>this[_0x50070b(0x1cb)](_0x72139a)[_0x50070b(0x1b7)](_0x52bfd1,_0x39c773)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k)},_0x886534 instanceof _0x28e16f){const _0x17c3a3=_0x886534[_0x50070b(0x1f1)][_0x50070b(0x1e3)](_0x50070b(0x1c9)),_0x3e753d=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x10f6c9);await this[_0x50070b(0x1cf)](_0x17c3a3);const _0x486295=await this[_0x50070b(0x1ed)][_0x50070b(0x1e3)](_0x17c3a3)[_0x50070b(0x1b6)]();this[_0x50070b(0x1ea)](_0x3e753d,_0x50070b(0x200)+_0x17c3a3,(_0xa2921,{session:_0x5dc320})=>{const _0x61bf8c=_0x50070b;_0x5dc320['id']===_0x3e753d[_0x61bf8c(0x1e0)]&&(_0xa2921[_0x61bf8c(0x1fc)](),this[_0x61bf8c(0x1f3)][_0x61bf8c(0x1c1)][_0x61bf8c(0x1e3)](_0x61bf8c(0x1f7))[_0x61bf8c(0x1a8)](_0x5dc320[_0x61bf8c(0x1c2)],_0x17c3a3));}),_0x3e753d[_0x50070b(0x1da)](_0x17c3a3,_0x486295);}}async[_0x13e87f(0x1cf)](_0x1605ba){const _0x26647a=_0x13e87f;if(this[_0x26647a(0x1ed)][_0x26647a(0x1b2)](_0x1605ba))throw new _0x52e6d1(_0x26647a(0x1e1),null,{'channelId':_0x1605ba});const _0x509a51=this[_0x26647a(0x1f3)][_0x26647a(0x1c1)][_0x26647a(0x1e3)](_0x26647a(0x208)),_0x1b5775=new CloudServicesCommentsAdapter[(_0x26647a(0x202))](_0x1605ba);this[_0x26647a(0x1ed)][_0x26647a(0x1af)](_0x1605ba,_0x1b5775),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c0),(_0x1e31aa,_0x53cee6)=>{const _0x32822c=_0x26647a,{commentThreadId:_0x5b3388,documentId:_0x220d65,context:_0xedf066,attributes:_0x3e018b,resolvedAt:_0x5360a6,resolvedBy:_0x33903e,comments:_0x1fbe8c}=_0x53cee6;_0x509a51[_0x32822c(0x1d7)](_0x5b3388)||_0x509a51[_0x32822c(0x1df)]({'threadId':_0x5b3388,'channelId':_0x220d65,'comments':_0x1fbe8c?_0x1fbe8c[_0x32822c(0x1bb)](S):[],'context':_0xedf066,'attributes':_0x3e018b,'resolvedAt':_0x5360a6,'resolvedBy':_0x33903e,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ad),(_0x595dd6,{commentThreadId:_0x21d18,documentId:_0x3edcf1,context:_0x383ec4,unlinkedAt:_0x14ba36,attributes:_0x2b8808})=>{const _0x14eb94=_0x26647a;_0x509a51[_0x14eb94(0x1d7)](_0x21d18)&&_0x509a51[_0x14eb94(0x209)]({'threadId':_0x21d18,'channelId':_0x3edcf1,'context':_0x383ec4,'unlinkedAt':_0x14ba36,'attributes':_0x2b8808,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c6),(_0x444b9c,{commentThreadId:_0x2bdfca,resolvedBy:_0x56a192,resolvedAt:_0x57d0e5})=>{const _0x39ec42=_0x26647a,_0x5de70c=_0x509a51[_0x39ec42(0x1d7)](_0x2bdfca);_0x5de70c&&_0x5de70c[_0x39ec42(0x1be)]({'resolvedBy':_0x56a192,'resolvedAt':_0x57d0e5,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1dc),(_0x2d403c,{commentThreadId:_0x4aeabb})=>{const _0x563d51=_0x26647a,_0x114cfa=_0x509a51[_0x563d51(0x1d7)](_0x4aeabb);_0x114cfa&&_0x114cfa[_0x563d51(0x1e8)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ff),(_0x30887c,{commentThreadId:_0x58dd9c})=>{const _0x177b90=_0x26647a,_0x1bc10=_0x509a51[_0x177b90(0x1d7)](_0x58dd9c);_0x1bc10&&_0x1bc10[_0x177b90(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1b8),(_0x34a77d,_0xdebd52)=>{const _0x37ab08=_0x26647a,_0x1d9f5f=_0xdebd52[_0x37ab08(0x1b4)],_0x555991=_0x509a51[_0x37ab08(0x1d7)](_0x1d9f5f);_0x555991&&_0x555991[_0x37ab08(0x1ca)]({...S(_0xdebd52),'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1fe),(_0x2e6309,{commentThreadId:_0x469f7a,commentId:_0x40357a,content:_0x1457fe,attributes:_0x1e236})=>{const _0x48ac7f=_0x26647a,_0x1a4019=_0x509a51[_0x48ac7f(0x1d7)](_0x469f7a);if(_0x1a4019){const _0x1afc8d=_0x1a4019[_0x48ac7f(0x1ce)](_0x40357a);_0x1afc8d&&_0x1afc8d[_0x48ac7f(0x203)]({'content':_0x1457fe,'attributes':_0x1e236,'isFromAdapter':!0x0});}}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x20c),(_0x34824c,{commentThreadId:_0x433fe0,commentId:_0x5b68c7})=>{const _0x53fb42=_0x26647a,_0x121a8e=_0x509a51[_0x53fb42(0x1d7)](_0x433fe0);if(_0x121a8e){const _0x317fae=_0x121a8e[_0x53fb42(0x1ce)](_0x5b68c7);_0x317fae&&_0x317fae[_0x53fb42(0x1aa)]({'isFromAdapter':!0x0});}}),await this[_0x26647a(0x1e6)](_0x1605ba);}[_0x13e87f(0x20a)](){const _0x18afbf=_0x13e87f;if(this[_0x18afbf(0x1f3)]instanceof _0x28e16f){const _0x50fee0=this[_0x18afbf(0x1f3)][_0x18afbf(0x1f1)][_0x18afbf(0x1e3)](_0x18afbf(0x1c9));this[_0x18afbf(0x1d4)](_0x50fee0);}}[_0x13e87f(0x1d4)](_0x25482c){const _0x56c270=_0x13e87f;if(!this[_0x56c270(0x1ed)][_0x56c270(0x1b2)](_0x25482c))throw new _0x52e6d1(_0x56c270(0x1d3),null,{'channelId':_0x25482c});this[_0x56c270(0x1cb)](_0x25482c)[_0x56c270(0x206)](),this[_0x56c270(0x1ed)][_0x56c270(0x1a9)](_0x25482c);}async[_0x13e87f(0x1b1)](){const _0xa60954=_0x13e87f;for(const _0x205e88 of this[_0xa60954(0x1ed)][_0xa60954(0x1e9)]())await this[_0xa60954(0x1e6)](_0x205e88);if(this[_0xa60954(0x1f3)]instanceof _0x28e16f){const _0x37f37d=this[_0xa60954(0x1f3)][_0xa60954(0x1f1)][_0xa60954(0x1e3)](_0xa60954(0x1c9)),_0x5a3b42=this[_0xa60954(0x1f3)][_0xa60954(0x1c1)][_0xa60954(0x1e3)](_0x10f6c9);_0x5a3b42[_0xa60954(0x1ba)](_0x37f37d);const _0x191dcd=await this[_0xa60954(0x1ed)][_0xa60954(0x1e3)](_0x37f37d)[_0xa60954(0x1b6)]();_0x5a3b42[_0xa60954(0x1da)](_0x37f37d,_0x191dcd);}}async[_0x13e87f(0x1e6)](_0x32e3cb){const _0x2d74f4=_0x13e87f,{connection:_0x176cef}=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x1eab12),_0xbf3ec=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x2d74f4(0x208)),_0x8326b2=this[_0x2d74f4(0x1ed)][_0x2d74f4(0x1e3)](_0x32e3cb),_0x40ad29=await _0x8326b2[_0x2d74f4(0x1b0)](_0x176cef);await this[_0x2d74f4(0x1eb)](_0x40ad29);const _0x4551b0=new Set(Array[_0x2d74f4(0x1f5)](_0xbf3ec[_0x2d74f4(0x1fb)]({'channelId':_0x32e3cb}),_0x1dec3a=>_0x1dec3a['id']));for(const _0x37371a of _0x40ad29)_0x37371a[_0x2d74f4(0x1b3)]||_0x4551b0[_0x2d74f4(0x1a9)](_0x37371a[_0x2d74f4(0x1b4)]);for(const _0x39f364 of _0x4551b0)_0xbf3ec[_0x2d74f4(0x1d7)](_0x39f364)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x76c051 of _0x40ad29){let _0x55e195=_0xbf3ec[_0x2d74f4(0x1d7)](_0x76c051[_0x2d74f4(0x1b4)]);const {commentThreadId:_0x1128be,context:_0x121ae8,attributes:_0x81818b,resolvedBy:_0x1012e8,resolvedAt:_0x3da9d5,unlinkedAt:_0x60fda4,deletedAt:_0xb1b329}=_0x76c051;if(_0xb1b329)continue;_0x55e195||(_0x55e195=_0xbf3ec[_0x2d74f4(0x1df)]({'channelId':_0x32e3cb,'threadId':_0x1128be,'context':_0x121ae8,'attributes':_0x81818b||{},'resolvedBy':_0x1012e8,'resolvedAt':_0x3da9d5,'unlinkedAt':_0x60fda4,'isFromAdapter':!0x0}));const _0xc9a6c0=new Set(Array[_0x2d74f4(0x1f5)](_0x55e195[_0x2d74f4(0x201)],_0xb7a81=>_0xb7a81['id']));for(const _0x5f80bc of _0x76c051[_0x2d74f4(0x201)])_0xc9a6c0[_0x2d74f4(0x1a9)](_0x5f80bc[_0x2d74f4(0x1f8)]);for(const _0x2e2f3b of _0xc9a6c0)_0x55e195[_0x2d74f4(0x1ce)](_0x2e2f3b)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x38a616 of _0x76c051[_0x2d74f4(0x201)]){const _0x368b6e=_0x55e195[_0x2d74f4(0x1ce)](_0x38a616[_0x2d74f4(0x1f8)]);_0x368b6e?_0x368b6e[_0x2d74f4(0x1d2)]!==_0x38a616[_0x2d74f4(0x1d2)]&&_0x368b6e[_0x2d74f4(0x203)]({'content':_0x38a616[_0x2d74f4(0x1d2)],'isFromAdapter':!0x0}):_0x55e195[_0x2d74f4(0x1ca)](Object[_0x2d74f4(0x1e5)](S(_0x38a616),{'isFromAdapter':!0x0}));}}}[_0x13e87f(0x1cb)](_0x7ac9cb){const _0x3c9c57=_0x13e87f;if(!this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1b2)](_0x7ac9cb))throw new _0x52e6d1(_0x3c9c57(0x1fd),null,{'channelId':_0x7ac9cb});return this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1e3)](_0x7ac9cb);}async[_0x13e87f(0x1eb)](_0x34f9c4){const _0x2fdb02=_0x13e87f,_0x2bf7c8=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x2eaf9b),{connection:_0x4e818e}=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x1eab12),_0x5ab3d3=new Set();for(const {resolvedBy:_0x214c1c,comments:_0x20cfcb}of _0x34f9c4){_0x214c1c&&!_0x2bf7c8[_0x2fdb02(0x1cd)](_0x214c1c)&&_0x5ab3d3[_0x2fdb02(0x204)](_0x214c1c);for(const {userId:_0x413160}of _0x20cfcb)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x413160)||_0x5ab3d3[_0x2fdb02(0x204)](_0x413160);}if(0x0===_0x5ab3d3[_0x2fdb02(0x1c8)])return;const _0x307644=await _0x3559ab[_0x2fdb02(0x1e2)](_0x4e818e,Array[_0x2fdb02(0x1f5)](_0x5ab3d3));for(const _0x3fc6cc of _0x307644)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x3fc6cc['id'])||_0x2bf7c8[_0x2fdb02(0x1c3)](_0x3fc6cc);}}async function F(_0x809cb5){const _0x525a03=_0x13e87f;if(_0x525a03(0x1d8)!==_0x809cb5[_0x525a03(0x20b)])throw _0x809cb5;}function k(_0x4d198e){const _0x280b5c=_0x13e87f;if((_0x3ec407=_0x4d198e)[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c7))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c4))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1f4)))return new Promise(()=>{});var _0x3ec407;throw _0x4d198e;}function _0x35a4(_0x1102fd,_0x2f56b4){const _0xbd537f=_0xbd53();return _0x35a4=function(_0x35a458,_0x12cb6a){_0x35a458=_0x35a458-0x1a8;let _0xf5dffd=_0xbd537f[_0x35a458];return _0xf5dffd;},_0x35a4(_0x1102fd,_0x2f56b4);}function S(_0x392ba8){const _0x10882d=_0x13e87f;return{'threadId':_0x392ba8[_0x10882d(0x1b4)],'commentId':_0x392ba8[_0x10882d(0x1f8)],'content':_0x392ba8[_0x10882d(0x1d2)],'createdAt':_0x392ba8[_0x10882d(0x1db)],'authorId':_0x392ba8[_0x10882d(0x1de)],'attributes':_0x392ba8[_0x10882d(0x1d5)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19b9ea=_0x349d;(function(_0x55f3db,_0x182ef7){const _0x3ef9b0=_0x349d,_0x48a2dd=_0x55f3db();while(!![]){try{const _0x573795=parseInt(_0x3ef9b0(0x1f9))/0x1+parseInt(_0x3ef9b0(0x1fe))/0x2+parseInt(_0x3ef9b0(0x202))/0x3+-parseInt(_0x3ef9b0(0x1e9))/0x4+parseInt(_0x3ef9b0(0x1fb))/0x5*(parseInt(_0x3ef9b0(0x1ff))/0x6)+-parseInt(_0x3ef9b0(0x201))/0x7*(-parseInt(_0x3ef9b0(0x200))/0x8)+-parseInt(_0x3ef9b0(0x1fa))/0x9;if(_0x573795===_0x182ef7)break;else _0x48a2dd['push'](_0x48a2dd['shift']());}catch(_0x5decdc){_0x48a2dd['push'](_0x48a2dd['shift']());}}}(_0x290f,0xc82bc));import{Plugin as _0x4e75e0}from'ckeditor5/src/core.js';function _0x349d(_0x230b6b,_0x188c61){const _0x290fef=_0x290f();return _0x349d=function(_0x349d0b,_0x7b60bb){_0x349d0b=_0x349d0b-0x1e6;let _0x375075=_0x290fef[_0x349d0b];return _0x375075;},_0x349d(_0x230b6b,_0x188c61);}import{CloudServicesCommentsAdapter as _0x47570d}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3fcafa}from'./realtimecollaborativeediting.js';function _0x290f(){const _0x262e6f=['CommentsEditing','editor','isPremiumPlugin','_terminateService','3478480rahScy','_setUpService','connected','listenTo','RealTimeCollaborativeComments','destroy','init','requires','plugins','CommentsRepository','Comments','collaboration.channelId','change:state','switchReadOnly','pluginName','data','672386XseZoM','14061303kAIEPZ','1903745iMeoWi','get','isThreadsLoadingPaused','1083750IznnkL','12QPmELh','56XLYrWD','411551NefPbx','2593731SnSHEp','isOfficialPlugin','ready','once','config'];_0x290f=function(){return _0x262e6f;};return _0x290f();}import{WebSocketGateway as _0xdfb510}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4e75e0{static get[_0x19b9ea(0x1f0)](){const _0x26bbe9=_0x19b9ea;return[_0x26bbe9(0x1f3),_0x47570d,_0x3fcafa,_0xdfb510];}static get[_0x19b9ea(0x1f7)](){const _0x39f529=_0x19b9ea;return _0x39f529(0x1ed);}static get[_0x19b9ea(0x203)](){return!0x0;}static get[_0x19b9ea(0x1e7)](){return!0x0;}[_0x19b9ea(0x1ef)](){const _0x3ae982=_0x19b9ea,_0x979d7a=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0xdfb510),_0x25c57b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x3ae982(0x207)),_0xf5382b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x47570d);return this[_0x3ae982(0x1e6)][_0x3ae982(0x1f8)][_0x3ae982(0x205)](_0x3ae982(0x204),()=>{const _0x5c241f=_0x3ae982;this[_0x5c241f(0x1ec)](_0x979d7a,_0x5c241f(0x1f5),(_0x32ebb7,_0x4f3e60,_0x275a67)=>{const _0x428427=_0x5c241f;_0x25c57b[_0x428427(0x1fd)]=_0x428427(0x1eb)!==_0x275a67;});}),this[_0x3ae982(0x1ec)](_0x979d7a,_0x3ae982(0x1f5),(_0x4f7e79,_0x451115,_0x1ee248)=>{const _0x1a9c57=_0x3ae982;this[_0x1a9c57(0x1e6)][_0x1a9c57(0x1f1)][_0x1a9c57(0x1fc)](_0x1a9c57(0x1f2))[_0x1a9c57(0x1f6)](_0x1a9c57(0x1eb)!==_0x1ee248);}),_0xf5382b[_0x3ae982(0x1ea)](this[_0x3ae982(0x1e6)][_0x3ae982(0x206)][_0x3ae982(0x1fc)](_0x3ae982(0x1f4)));}[_0x19b9ea(0x1ee)](){const _0x3b760b=_0x19b9ea;this[_0x3b760b(0x1e6)][_0x3b760b(0x1f1)][_0x3b760b(0x1fc)](_0x47570d)[_0x3b760b(0x1e8)](this[_0x3b760b(0x1e6)][_0x3b760b(0x206)][_0x3b760b(0x1fc)](_0x3b760b(0x1f4))),super[_0x3b760b(0x1ee)]();}}
23
+ function _0x4eb4(){const _0x53c1ce=['isPremiumPlugin','data','3929481ecNerT','_setUpService','244888hjAEwI','switchReadOnly','CommentsRepository','33KQQHzD','collaboration.channelId','CommentsEditing','5piZhNb','connected','isThreadsLoadingPaused','listenTo','_terminateService','Comments','1939653WbzjRj','2113028XgtYaD','2738634MprerY','change:state','destroy','RealTimeCollaborativeComments','14bgaWaT','isOfficialPlugin','46AwApsy','init','plugins','2930lqPEgC','config','get','once','requires','pluginName','ready','editor','12953YXqwvc'];_0x4eb4=function(){return _0x53c1ce;};return _0x4eb4();}const _0x2167b8=_0x4d70;(function(_0x6fba8e,_0x72a764){const _0x112171=_0x4d70,_0x1e3f9e=_0x6fba8e();while(!![]){try{const _0x2b015c=parseInt(_0x112171(0x8e))/0x1*(parseInt(_0x112171(0x83))/0x2)+parseInt(_0x112171(0x7b))/0x3+-parseInt(_0x112171(0x7c))/0x4*(parseInt(_0x112171(0x75))/0x5)+-parseInt(_0x112171(0x7d))/0x6+parseInt(_0x112171(0x81))/0x7*(-parseInt(_0x112171(0x93))/0x8)+parseInt(_0x112171(0x91))/0x9+parseInt(_0x112171(0x86))/0xa*(-parseInt(_0x112171(0x96))/0xb);if(_0x2b015c===_0x72a764)break;else _0x1e3f9e['push'](_0x1e3f9e['shift']());}catch(_0x2ef448){_0x1e3f9e['push'](_0x1e3f9e['shift']());}}}(_0x4eb4,0x519ca));import{Plugin as _0x76ac61}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2514d7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4d70(_0x2d793d,_0x30cf2e){const _0x4eb458=_0x4eb4();return _0x4d70=function(_0x4d70ef,_0x50f883){_0x4d70ef=_0x4d70ef-0x75;let _0xad9e9c=_0x4eb458[_0x4d70ef];return _0xad9e9c;},_0x4d70(_0x2d793d,_0x30cf2e);}import{RealTimeCollaborativeEditing as _0x2f7665}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x213c60}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x76ac61{static get[_0x2167b8(0x8a)](){const _0x936bdc=_0x2167b8;return[_0x936bdc(0x7a),_0x2514d7,_0x2f7665,_0x213c60];}static get[_0x2167b8(0x8b)](){const _0x2592be=_0x2167b8;return _0x2592be(0x80);}static get[_0x2167b8(0x82)](){return!0x0;}static get[_0x2167b8(0x8f)](){return!0x0;}[_0x2167b8(0x84)](){const _0x534e74=_0x2167b8,_0x43204d=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x213c60),_0x4f7195=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x534e74(0x98)),_0x2b4192=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x2514d7);return this[_0x534e74(0x8d)][_0x534e74(0x90)][_0x534e74(0x89)](_0x534e74(0x8c),()=>{const _0x657c21=_0x534e74;this[_0x657c21(0x78)](_0x43204d,_0x657c21(0x7e),(_0x2c7d14,_0x3273ea,_0x41e2e6)=>{const _0x320da1=_0x657c21;_0x4f7195[_0x320da1(0x77)]=_0x320da1(0x76)!==_0x41e2e6;});}),this[_0x534e74(0x78)](_0x43204d,_0x534e74(0x7e),(_0x4f6595,_0x338a1e,_0x34dc0f)=>{const _0x34f362=_0x534e74;this[_0x34f362(0x8d)][_0x34f362(0x85)][_0x34f362(0x88)](_0x34f362(0x95))[_0x34f362(0x94)](_0x34f362(0x76)!==_0x34dc0f);}),_0x2b4192[_0x534e74(0x92)](this[_0x534e74(0x8d)][_0x534e74(0x87)][_0x534e74(0x88)](_0x534e74(0x97)));}[_0x2167b8(0x7f)](){const _0x18372a=_0x2167b8;this[_0x18372a(0x8d)][_0x18372a(0x85)][_0x18372a(0x88)](_0x2514d7)[_0x18372a(0x79)](this[_0x18372a(0x8d)][_0x18372a(0x87)][_0x18372a(0x88)](_0x18372a(0x97))),super[_0x18372a(0x7f)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35432b=_0x40df;(function(_0x5e470b,_0x19e542){const _0x32b415=_0x40df,_0x27d212=_0x5e470b();while(!![]){try{const _0x15f601=-parseInt(_0x32b415(0x19a))/0x1*(parseInt(_0x32b415(0x111))/0x2)+-parseInt(_0x32b415(0x194))/0x3*(parseInt(_0x32b415(0x10a))/0x4)+parseInt(_0x32b415(0x1bd))/0x5+parseInt(_0x32b415(0x11a))/0x6+parseInt(_0x32b415(0x197))/0x7*(-parseInt(_0x32b415(0x181))/0x8)+parseInt(_0x32b415(0x17e))/0x9*(-parseInt(_0x32b415(0xc8))/0xa)+parseInt(_0x32b415(0xc9))/0xb;if(_0x15f601===_0x19e542)break;else _0x27d212['push'](_0x27d212['shift']());}catch(_0x8f61d2){_0x27d212['push'](_0x27d212['shift']());}}}(_0x35b2,0xa57fc));import{Plugin as _0x5a7a56,PendingActions as _0x2e9a93}from'ckeditor5/src/core.js';import{CKEditorError as _0x8d2547,version as _0x5d150f,uid as _0x2ffcae}from'ckeditor5/src/utils.js';import{Notification as _0x278c50}from'ckeditor5/src/ui.js';function _0x35b2(){const _0x1c6a38=['loadRoot','newRange','move','change:_isEditingAllowed','lastSyncVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isConnected','entries','createUserMarkerOperations','roots','string','isPremiumPlugin','suppressErrorInCollaboration','_knownRootNames','baseVersion','insert','startsWith','Notification','plugins','multi-root-editor-root-attributes-no-root','_loadRoot','_isLoaded','config','editing','_addKnownRoot','serverHistory','state','_initThrowingOnDataSet','_decompressOperations','_handleInitialConnectionData','_channelId','error','_operationIdentifier','Permissions','enqueueChange','path','from','sessionCreatedAt','wereChangesApplied','targetPosition','initData','listenTo','currentDocumentSession','editor','slice','parse','bind','version','lastOperationId','permissions','remove','_refreshUserSelectionMarkers','sessionAdd:','_document','disableReadOnlyMode','_compressOperations','_applyOperationsSet','clone','addRoot','409','has','CommentsOnly','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.','createRoot','createdAt','filter','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-service-internal-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','metadata','batch','PENDING_ACTION_SENDING_DATA','_shouldSendSelectionUpdate','selection','showWarning','decompress','addRootAttribute','_saveOperationInBuffer','_handleExternalOperations','_getOperationsFromInitData','addToReconnectionStack','disconnect','realtimecollaborationclient-error','realtimecollaborationclient-init-document-already-initialized','type','return','_pendingAction','channelSessions','disconnected','round','getOperationAuthor','_currentBufferDelay','_connectService','fire','_disconnectService','_sendBufferedOperations','rootsAttributes','477xaYXhl','_knownOperations','document','96IUwAwm','createRange','collaboration-missing-channelid','_hasSelectionChanged','_sendBufferedOperationsDelayId','addUser','affectedSelectable','unregister','_updateServerHistory','data','_hasSynchronizationProblem','start','_waitUntilSynced','createPositionFromPath','realtimecollaborationclient-init-non-existent-root','404','sendOperations','_connectAfterSessionHasBeenFlushed','register','153kzNiCC','removeFromReconnectionStack','collaboration','698278ZtregQ','toJSON','_isDisconnection','1osJnUY','rootName','getRoot','code','_offset','CollaborativeEditingService','forEach','requires','map','_bufferedOperations','_initSessionsHandling','_authorId','getIdOfTheLastOperation','connection','setPermissions','_sendBufferedOperationsDelayed','change:range','keys','_getAffectedRoot','stopListening','_lastSyncedOperationId','length','sessionId','_operationToId','_disconnectionOperations','markers','change:_isPendingUpdate','high','_compressor','isOfficialPlugin','cloud-services-internal-error:\x20Request\x20timeout.','operationsReceived','getOperations','rtc-destroyed','includes','26160BKZxtY','_setUpDataInit','finally','realtimecollaborationclient-init-connection-failed','getMany','InsertOperation','apply','fromJSON','_lastServerVersion','_setPendingAction','connect','__className','RealTimeCollaborationClient','_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.','_bufferRootLoad','ready','realtimecollaborationclient-handleserverresponse','156630MvNiTc','30585841IlnRdh','get','realtimecollaborationclient','rtc-offline','_handleReconnectionError','_isEditingAllowed','collaboration.channelId','root','cloudServices.bundleVersion','reconnection:\x20flushed\x20session','set','stop','_handleReceivedOperations','locale','setIdForTheLastOperation','getUser','add','affectsData','_shouldSendUpdate','_clearPendingAction','_handleServerResponse','cs:removeUser','realtimecollaborationclient-init-session-connection-error','Synchronization\x20issue','_isAttached','history','real-time-collaboration','define','destroy','marker','addOperation','_isInit','getDocumentDetails','_handleReconnectionResponse','_ignoredOperations','_service','wasUndone','document:write','createPositionAt','then','offset','model','reconnect','size','lastOperationAcceptedAt','message','applyOperation','differ','off','change:hasDomSelection','_handleSendingSelectionMarkers','connected','reset','end','directChange','view','_crash','isReadOnly','getConnectedSessions','mySessionId','pluginName','compress','init','lastDocumentSession','_fetchMissingUsers','16096RdaXvV','attributes','_isPendingUpdate','$root','isDocumentOperation','enableReadOnlyMode','position','285220MrQzhU','isEnabled','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-sendbufferedoperations','userId','realtimecollaborationclient-init-service-incorrect-server-operation','cloudDocumentVersion','isUndoneOperation','catch','1602852FJQUcl'];_0x35b2=function(){return _0x1c6a38;};return _0x35b2();}import{transformOperationSets as _0x25eca8,NoOperation as _0x261110,InsertOperation as _0x1c5d40,MarkerOperation as _0x195287,RootAttributeOperation as _0x46e98a,OperationFactory as _0x3dbd72,History as _0x268ccc}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3e8eea}from'./websocketgateway.js';import{Sessions as _0x49072b}from'./sessions.js';import{UserMarkers as _0x58ab1f}from'./usermarkers.js';import{getTranslation as _0x4c7266}from'../common-translations.js';import{Compressor as _0x5a158e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2b9cb9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40df(_0xc44897,_0x28ac44){const _0x35b230=_0x35b2();return _0x40df=function(_0x40df0d,_0x464dc5){_0x40df0d=_0x40df0d-0xc1;let _0x424d29=_0x35b230[_0x40df0d];return _0x424d29;},_0x40df(_0xc44897,_0x28ac44);}import{User as _0x24f185,CollaborativeEditingService as _0x7fb618}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x5a7a56{static [_0x35432b(0x19f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x7fb618)());[_0x35432b(0x19e)];[_0x35432b(0x1b0)];[_0x35432b(0x134)];[_0x35432b(0x139)];[_0x35432b(0xec)];[_0x35432b(0x150)];[_0x35432b(0x1b6)];[_0x35432b(0x1a3)];[_0x35432b(0x17f)];[_0x35432b(0x128)];[_0x35432b(0x173)];[_0x35432b(0x184)];[_0x35432b(0x185)];[_0x35432b(0xc3)];[_0x35432b(0x178)];[_0x35432b(0x1ae)];[_0x35432b(0x1b2)];[_0x35432b(0x13b)];static get[_0x35432b(0x1a1)](){return[_0x3e8eea,_0x49072b,_0x58ab1f,_0x2e9a93,_0x2b9cb9,_0x278c50];}static get[_0x35432b(0x105)](){const _0x3933fe=_0x35432b;return _0x3933fe(0xc2);}static get[_0x35432b(0x1b7)](){return!0x0;}static get[_0x35432b(0x126)](){return!0x0;}get[_0x35432b(0x117)](){const _0x169a4b=_0x35432b;return this[_0x169a4b(0x1c5)]+this[_0x169a4b(0x19e)];}get[_0x35432b(0x1c5)](){const _0x1a2c51=_0x35432b;return this[_0x1a2c51(0x134)][_0x1a2c51(0x14a)]-this[_0x1a2c51(0x19e)];}get[_0x35432b(0x11f)](){const _0x4e1f1c=_0x35432b,_0x4bd418=this[_0x4e1f1c(0x134)][_0x4e1f1c(0x1ba)]();for(let _0x4ebbbb=_0x4bd418[_0x4e1f1c(0x1af)]-0x1;_0x4ebbbb>=0x0;_0x4ebbbb--){const _0x349157=_0x4bd418[_0x4ebbbb];if(!this[_0x4e1f1c(0x1b2)][_0x4e1f1c(0x157)](_0x349157))return _0x349157[_0x4e1f1c(0x129)]+0x1-this[_0x4e1f1c(0x19e)];}return 0x0;}constructor(_0x2aaafe){const _0x3c6317=_0x35432b;if(super(_0x2aaafe),this[_0x3c6317(0x19e)]=0x0,this[_0x3c6317(0x1b0)]=null,this[_0x3c6317(0x134)]=new _0x268ccc(),this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xe4)](_0x3c6317(0x196),{}),this[_0x3c6317(0x139)]=this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xcf)),!this[_0x3c6317(0x139)])throw new _0x8d2547(_0x3c6317(0x183),this);const _0x20f29c=_0x2aaafe[_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xd1))||_0x5d150f;this[_0x3c6317(0xec)]=new RealTimeCollaborationClient[(_0x3c6317(0x19f))](_0x20f29c,this[_0x3c6317(0x139)]),this[_0x3c6317(0x150)]=this[_0x3c6317(0x146)][_0x3c6317(0xf2)][_0x3c6317(0x180)],this[_0x3c6317(0x1b6)]=new _0x5a158e(),this[_0x3c6317(0x1a3)]=[],this[_0x3c6317(0x17f)]=new WeakSet(),this[_0x3c6317(0x128)]=new Set(),this[_0x3c6317(0xd3)](_0x3c6317(0x10c),!0x1),this[_0x3c6317(0xd3)](_0x3c6317(0x18b),!0x1),this[_0x3c6317(0x173)]=null,this[_0x3c6317(0x184)]=!0x1,this[_0x3c6317(0x185)]=null,this[_0x3c6317(0xc3)]=0x12c,this[_0x3c6317(0x178)]=this[_0x3c6317(0xc3)],this[_0x3c6317(0x1ae)]=null,this[_0x3c6317(0x1b2)]=new WeakSet(),this[_0x3c6317(0x13b)]=new J(this[_0x3c6317(0x1b2)]);}[_0x35432b(0x107)](){const _0x1abb3c=_0x35432b,_0x26d1b7=this[_0x1abb3c(0x146)],_0x358952=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x2b9cb9),_0x1c3710=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x3e8eea);this[_0x1abb3c(0x144)](_0x358952,_0x1abb3c(0x177),(_0x1ccb44,_0x6aacd2)=>{const _0x411e1f=_0x1abb3c,_0x6188f9=_0x6aacd2[0x0];_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=_0x358952[_0x411e1f(0xd8)](_0x6188f9[_0x411e1f(0x1a5)]),_0x1ccb44[_0x411e1f(0xd4)]()),null===_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=null,_0x1ccb44[_0x411e1f(0xd4)]());},{'priority':_0x1abb3c(0x1b5)}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0xf2)][_0x1abb3c(0x180)][_0x1abb3c(0x166)],_0x1abb3c(0x1aa),(_0x231686,_0x3d45f5)=>{const _0xddf7e8=_0x1abb3c;_0x3d45f5[_0xddf7e8(0xff)]&&this[_0xddf7e8(0x14e)]();}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0x132)][_0x1abb3c(0x100)],_0x1abb3c(0xfa),()=>{const _0x577db9=_0x1abb3c;this[_0x577db9(0x14e)]();}),this[_0x1abb3c(0x136)](),_0x26d1b7[_0x1abb3c(0xf2)]['on'](_0x1abb3c(0xf7),(_0x531e08,_0x2e3d6a)=>{const _0x26eff8=_0x1abb3c,_0x2718fa=_0x2e3d6a[0x0];_0x2718fa[_0x26eff8(0x10e)]&&(this[_0x26eff8(0x16a)](_0x2718fa),this[_0x26eff8(0xdb)]()&&this[_0x26eff8(0x1a9)]());}),this[_0x1abb3c(0x1be)](),this[_0x1abb3c(0x149)](_0x1abb3c(0xce))['to'](_0x1c3710,_0x1abb3c(0x135),this,_0x1abb3c(0x18b),(_0xa230b2,_0x596718)=>_0x1abb3c(0xfc)===_0xa230b2&&!_0x596718),this['on'](_0x1abb3c(0x11e),()=>{const _0x259d9a=_0x1abb3c;this[_0x259d9a(0xce)]?_0x26d1b7[_0x259d9a(0x151)](_0x259d9a(0xcc)):_0x26d1b7[_0x259d9a(0x10f)](_0x259d9a(0xcc));}),this[_0x1abb3c(0xce)]?_0x26d1b7[_0x1abb3c(0x151)](_0x1abb3c(0xcc)):_0x26d1b7[_0x1abb3c(0x10f)](_0x1abb3c(0xcc)),this[_0x1abb3c(0xd3)](_0x1abb3c(0x121),!0x1);}async[_0x35432b(0xf3)](){const _0x300247=_0x35432b,_0xedc9a8=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x49072b),_0x43fc6e=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x3e8eea);try{this[_0x300247(0x10c)]=!0x0,_0xedc9a8[_0x300247(0x188)](this[_0x300247(0x139)]);const _0x3a9519=await this[_0x300247(0xec)][_0x300247(0xf3)](_0x43fc6e[_0x300247(0x1a7)],this[_0x300247(0x11f)]);await this[_0x300247(0xea)](_0x3a9519)&&(this[_0x300247(0x10c)]=!0x1,this[_0x300247(0xdc)]());const _0x3c9e7e=await this[_0x300247(0xec)][_0x300247(0x103)]();_0xedc9a8[_0x300247(0x193)](this[_0x300247(0x139)],_0x3c9e7e),this[_0x300247(0xfb)](),this[_0x300247(0x121)]=!0x0;}catch(_0x36101b){if(function(_0x19cf16){const _0x5baa17=_0x300247;return _0x5baa17(0x190)===_0x19cf16[_0x5baa17(0x19d)];}(_0x36101b)&&this[_0x300247(0x1b0)])await this[_0x300247(0x192)]();else{if(function(_0x4aeaf1){const _0xcb6a6d=_0x300247;return _0xcb6a6d(0x156)===_0x4aeaf1[_0xcb6a6d(0x19d)];}(_0x36101b)){const _0x283549=_0x4c7266(this[_0x300247(0x146)][_0x300247(0xd6)],_0x300247(0x15f));this[_0x300247(0xcd)](_0x283549);}else{if(!(_0x36101b instanceof $))throw _0x36101b;this[_0x300247(0xcd)]();}}}}[_0x35432b(0xe5)](){const _0x5a604f=_0x35432b,_0x2f069b=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x3e8eea),_0x58ab97=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x49072b);this[_0x5a604f(0x146)][_0x5a604f(0x10f)](_0x5a604f(0x1bb)),_0x58ab97[_0x5a604f(0x174)][_0x5a604f(0x157)](this[_0x5a604f(0x139)])&&_0x58ab97[_0x5a604f(0x188)](this[_0x5a604f(0x139)]),_0x2f069b[_0x5a604f(0x195)](this),this[_0x5a604f(0x17b)](),super[_0x5a604f(0xe5)]();}async[_0x35432b(0xea)](_0x41a69b){const _0x4b4400=_0x35432b;if(this[_0x4b4400(0x1b0)]!==_0x41a69b[_0x4b4400(0x1b0)]&&this[_0x4b4400(0x1ae)]!==_0x41a69b[_0x4b4400(0x14b)])throw new $();return this[_0x4b4400(0x1b0)]=_0x41a69b[_0x4b4400(0x1b0)],this[_0x4b4400(0xdd)]([],{..._0x41a69b,'wereChangesApplied':!0x1,'data':_0x41a69b[_0x4b4400(0x18a)]},_0x4b4400(0xf3));}async[_0x35432b(0x179)](_0x241c65,_0x2e1d96=!0x1){const _0x526f7f=_0x35432b,{connection:_0x3c8811}=this[_0x526f7f(0x146)][_0x526f7f(0x12d)][_0x526f7f(0xca)](_0x3e8eea);RealTimeCollaborationClient[_0x526f7f(0x19f)][_0x526f7f(0x103)](_0x3c8811,this[_0x526f7f(0x139)])[_0x526f7f(0xf0)](_0x25aea1=>this[_0x526f7f(0x1a4)](_0x25aea1))[_0x526f7f(0x119)](_0x35c8ba=>{const _0x2e13ae=_0x526f7f;this[_0x2e13ae(0x101)](_0x2e13ae(0xdf),_0x35c8ba);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x1b9),this[_0x526f7f(0xd5)][_0x526f7f(0x149)](this)),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x13a),(_0x3ae0fc,_0x546c5c)=>{const _0x4d71ea=_0x526f7f;this[_0x4d71ea(0x101)](_0x4d71ea(0x15e),_0x546c5c);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x175),()=>{const _0x25f1c3=_0x526f7f;this[_0x25f1c3(0x121)]=!0x1;});const _0x23e9a1=this[_0x526f7f(0x13b)][_0x526f7f(0x1a6)](_0x241c65);this[_0x526f7f(0x10c)]=!0x0;const _0x1d763e=await this[_0x526f7f(0xec)][_0x526f7f(0x1c7)](_0x3c8811,this[_0x526f7f(0x152)](_0x241c65),_0x23e9a1);if(this[_0x526f7f(0x1b0)]=_0x1d763e[_0x526f7f(0x1b0)],_0x2e1d96){if(!_0x1d763e[_0x526f7f(0x141)])return void this[_0x526f7f(0xcd)]();this[_0x526f7f(0x10c)]=!0x1,this[_0x526f7f(0xdc)](),this[_0x526f7f(0x134)][_0x526f7f(0xfd)](),this[_0x526f7f(0x19e)]=_0x1d763e[_0x526f7f(0xf1)],this[_0x526f7f(0x134)][_0x526f7f(0x14a)]=this[_0x526f7f(0x19e)],await this[_0x526f7f(0xdd)](_0x241c65,_0x1d763e,_0x526f7f(0xd2));}else await this[_0x526f7f(0x138)](_0x1d763e,_0x241c65);this[_0x526f7f(0xfb)](),this[_0x526f7f(0x121)]=!0x0;}[_0x35432b(0xfb)](){const _0x4e19fe=_0x35432b,_0x280779=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x49072b),_0x40a569=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x58ab1f),_0x1e49f3=_0x280779[_0x4e19fe(0x174)][_0x4e19fe(0xca)](this[_0x4e19fe(0x139)]);_0x1e49f3&&_0x1e49f3[_0x4e19fe(0x1af)]>0x1?_0x40a569[_0x4e19fe(0x123)]():this[_0x4e19fe(0x144)](_0x280779,_0x4e19fe(0x14f)+this[_0x4e19fe(0x139)],()=>{const _0x46415b=_0x4e19fe;0x2===_0x280779[_0x46415b(0x174)][_0x46415b(0xca)](this[_0x46415b(0x139)])[_0x46415b(0x1af)]&&_0x40a569[_0x46415b(0x123)]();});}async[_0x35432b(0xd5)](_0x3a4e42,_0x5ae5b8,_0xd2bfb7,_0x19fa1e){const _0x4fc476=_0x35432b;if(!this[_0x4fc476(0x10c)]&&this[_0x4fc476(0x150)][_0x4fc476(0x14a)]==_0x5ae5b8){const _0x22da81=this[_0x4fc476(0x137)](_0xd2bfb7,_0x19fa1e);await this[_0x4fc476(0x109)](_0x22da81),this[_0x4fc476(0x16b)](_0x22da81,_0x5ae5b8,_0xd2bfb7[_0x4fc476(0x14b)])||this[_0x4fc476(0x101)](_0x4fc476(0x116));}}async[_0x35432b(0x192)](){const _0x33b712=_0x35432b;this[_0x33b712(0x17b)]();const {locale:_0x10b88b}=this[_0x33b712(0x146)];let _0x84ee40;try{_0x84ee40=await this[_0x33b712(0xec)][_0x33b712(0xe9)]();}catch{const _0x4974d1=_0x4c7266(_0x10b88b,_0x33b712(0x15d));return void this[_0x33b712(0xcd)](_0x4974d1);}const _0x1b67b5=_0x84ee40[_0x33b712(0x145)]||_0x84ee40[_0x33b712(0x108)];if(this[_0x33b712(0x1ae)]!==_0x1b67b5[_0x33b712(0x14b)]){const _0x52824f=_0x4c7266(_0x10b88b,_0x33b712(0x159));return void this[_0x33b712(0xcd)](_0x52824f);}await this[_0x33b712(0x179)](this[_0x33b712(0x146)][_0x33b712(0xf2)][_0x33b712(0x180)][_0x33b712(0xe2)][_0x33b712(0x1ba)](),!0x0);}[_0x35432b(0x17b)](){const _0x963b46=_0x35432b;this[_0x963b46(0xec)][_0x963b46(0x16e)](),this[_0x963b46(0x1a3)]=[],clearTimeout(this[_0x963b46(0x185)]),this[_0x963b46(0x1ad)](this[_0x963b46(0xec)]);}[_0x35432b(0x1a4)](_0x57588b){const _0x30906b=_0x35432b,_0x2be26c=this[_0x30906b(0x146)][_0x30906b(0x12d)][_0x30906b(0xca)](_0x49072b);this[_0x30906b(0x144)](_0x2be26c,_0x30906b(0x14f)+this[_0x30906b(0x139)],(_0x656dfc,{session:_0xd88fd7})=>{const _0x430ad8=_0x30906b;if(_0xd88fd7['id']===_0x2be26c[_0x430ad8(0x104)]){_0x656dfc[_0x430ad8(0xf9)]();const _0x5b4448=this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0x157)](_0x430ad8(0x158))&&this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x158));let _0xbfc042=_0xd88fd7[_0x430ad8(0x14c)];_0x5b4448&&_0x5b4448[_0x430ad8(0x112)]&&(_0xbfc042=_0xbfc042[_0x430ad8(0x15c)](_0x144c9a=>_0x430ad8(0xee)!==_0x144c9a)),this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x13c))[_0x430ad8(0x1a8)](_0xbfc042,this[_0x430ad8(0x139)]);}}),_0x2be26c[_0x30906b(0x193)](this[_0x30906b(0x139)],_0x57588b);}[_0x35432b(0x136)](){const _0x41d237=_0x35432b,_0x414198=this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)];this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)]=(..._0x271d7c)=>{const _0x31fc0d=_0x41d237;if(!_0x271d7c[_0x271d7c[_0x31fc0d(0x1af)]-0x1][_0x31fc0d(0x127)])throw new _0x8d2547(_0x31fc0d(0x120),this);_0x414198[_0x31fc0d(0x1c3)](this[_0x31fc0d(0x146)][_0x31fc0d(0x18a)],_0x271d7c);};}[_0x35432b(0x1be)](){const _0x1553a5=_0x35432b;this[_0x1553a5(0x146)][_0x1553a5(0x18a)]['on'](_0x1553a5(0x107),(_0x4c8cf5,[_0x4101bc])=>{const _0xb961b5=_0x1553a5;if(this[_0xb961b5(0x150)][_0xb961b5(0x14a)])throw new _0x8d2547(_0xb961b5(0x170),this);_0x4c8cf5[_0xb961b5(0xd4)](),this[_0xb961b5(0x1c6)]();const _0x2d4c2f=this[_0xb961b5(0x146)][_0xb961b5(0x131)][_0xb961b5(0xca)](_0xb961b5(0x17d)),_0x49a0c8=this[_0xb961b5(0x16c)](_0x4101bc,_0x2d4c2f);0x0==_0x49a0c8[_0xb961b5(0x1af)]&&_0x49a0c8[_0xb961b5(0x160)](new _0x261110(0x0)),_0x4c8cf5[_0xb961b5(0x172)]=this[_0xb961b5(0x179)](_0x49a0c8)[_0xb961b5(0xf0)](()=>{const _0x1f340f=_0xb961b5;this[_0x1f340f(0x146)][_0x1f340f(0x12d)][_0x1f340f(0xca)](_0x3e8eea)[_0x1f340f(0x16d)](this),this[_0x1f340f(0x146)][_0x1f340f(0x18a)][_0x1f340f(0x17a)](_0x1f340f(0xc6));})[_0xb961b5(0x119)](_0xdba9d6=>this[_0xb961b5(0x101)](_0xb961b5(0x1c0),_0xdba9d6))[_0xb961b5(0x1bf)](()=>this[_0xb961b5(0xdc)]());},{'priority':_0x1553a5(0x1b5)}),this[_0x1553a5(0x146)]['on'](_0x1553a5(0x11b),async(_0x1a36d1,[_0x5d2022,_0x1550ca])=>{const _0x5a0099=_0x1553a5;_0x1a36d1[_0x5a0099(0xd4)]();const _0x384415=this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x180)][_0x5a0099(0x19c)](_0x5d2022);if(!this[_0x5a0099(0x128)][_0x5a0099(0x157)](_0x5d2022)){const _0x23349b=_0x1550ca&&_0x1550ca[_0x5a0099(0x18a)]?_0x1550ca[_0x5a0099(0x18a)]:'',_0x349fdb=_0x1550ca&&_0x1550ca[_0x5a0099(0x10b)]?_0x1550ca[_0x5a0099(0x10b)]:{};await this[_0x5a0099(0x12f)](_0x5d2022,_0x23349b,_0x349fdb);}this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x13d)]({'isUndoable':!0x1},()=>{const _0x5af431=_0x5a0099;_0x384415[_0x5af431(0x130)]=!0x0,this[_0x5af431(0x146)][_0x5af431(0xf2)][_0x5af431(0x180)][_0x5af431(0xf8)][_0x5af431(0xc5)](_0x384415);});},{'priority':_0x1553a5(0x1b5)});}async[_0x35432b(0x109)](_0x5b9e10){const _0x12fd3b=_0x35432b,_0x1f4734=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x2b9cb9),{connection:_0x55c7d5}=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x3e8eea),_0x530aa7=new Set();for(const _0x2ff385 of _0x5b9e10){const _0x3655b2=_0x2ff385[_0x12fd3b(0x1a5)];_0x3655b2&&!_0x1f4734[_0x12fd3b(0xd8)](_0x3655b2)&&_0x530aa7[_0x12fd3b(0xd9)](_0x3655b2);}if(0x0===_0x530aa7[_0x12fd3b(0xf4)])return;const _0x44eacc=await _0x24f185[_0x12fd3b(0x1c1)](_0x55c7d5,Array[_0x12fd3b(0x13f)](_0x530aa7));for(const _0x1ff660 of _0x44eacc)_0x1f4734[_0x12fd3b(0xd8)](_0x1ff660['id'])||_0x1f4734[_0x12fd3b(0x186)](_0x1ff660);}[_0x35432b(0x16c)](_0x42a319,_0x14c3b6={}){const _0x1aa656=_0x35432b,_0x4f96cc=this[_0x1aa656(0x146)][_0x1aa656(0xf2)],_0x117b66=[];let _0x360ad3=0x0;const _0x49d8a4=_0x1aa656(0x125)==typeof _0x42a319?{'main':_0x42a319}:_0x42a319;for(const _0x1caf22 of Object[_0x1aa656(0x1ab)](_0x49d8a4)){if(!this[_0x1aa656(0x150)][_0x1aa656(0x124)][_0x1aa656(0x157)](_0x1caf22))throw new _0x8d2547(_0x1aa656(0x18f),this);const _0x2bdbe7=this[_0x1aa656(0x146)][_0x1aa656(0x18a)][_0x1aa656(0x148)](_0x49d8a4[_0x1caf22]),_0x576785=this[_0x1aa656(0x150)][_0x1aa656(0x19c)](_0x1caf22),_0xbedd38=new _0x1c5d40(_0x4f96cc[_0x1aa656(0xef)](_0x576785,0x0),_0x2bdbe7,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0xbedd38);for(const [_0x36151e,_0x1f5c5e]of _0x2bdbe7[_0x1aa656(0x1b3)]){const _0x5c7329=_0x4f96cc[_0x1aa656(0x182)](_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0x18c)][_0x1aa656(0x13e)][_0x1aa656(0x147)]()),_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0xfe)][_0x1aa656(0x13e)][_0x1aa656(0x147)]())),_0x3d77e3=new _0x195287(_0x36151e,null,_0x5c7329,_0x4f96cc[_0x1aa656(0x1b3)],!0x0,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x3d77e3);}}if(_0x14c3b6)for(const [_0x634578,_0x1a16a3]of Object[_0x1aa656(0x122)](_0x14c3b6)){const _0x36bf90=_0x4f96cc[_0x1aa656(0x180)][_0x1aa656(0x19c)](_0x634578);if(!_0x36bf90)throw new _0x8d2547(_0x1aa656(0x12e),null);for(const [_0x4269af,_0x15483c]of Object[_0x1aa656(0x122)](_0x1a16a3))if(null!==_0x15483c){const _0x326b78=new _0x46e98a(_0x36bf90,_0x4269af,null,_0x15483c,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x326b78);}}return _0x117b66;}async[_0x35432b(0x12f)](_0x586ab7,_0x16aa30,_0x2d8266){const _0x15d061=_0x35432b;this[_0x15d061(0x16c)]({[_0x586ab7]:_0x16aa30},{[_0x586ab7]:_0x2d8266})[_0x15d061(0x1a0)]((_0x306f91,_0x2ad94f)=>{const _0x147ebb=_0x15d061;_0x306f91[_0x147ebb(0x129)]=this[_0x147ebb(0x150)][_0x147ebb(0x14a)]+_0x2ad94f,_0x306f91[_0x147ebb(0xe8)]=!0x0,this[_0x147ebb(0x16a)](_0x306f91);}),this[_0x15d061(0x1a9)](),await this[_0x15d061(0x18d)]();}async[_0x35432b(0x138)](_0x4fe6c6,_0x1aaee7){const _0x267f75=_0x35432b;let _0x5aa0a8;this[_0x267f75(0x19e)]=_0x4fe6c6[_0x267f75(0xf1)];const _0x5c9fc9=_0x4fe6c6[_0x267f75(0x141)]&&!_0x4fe6c6[_0x267f75(0x143)],_0x22bfc3=_0x5c9fc9?0x0:_0x4fe6c6[_0x267f75(0x18a)][_0x267f75(0x129)];if(_0x1aaee7[_0x267f75(0x1a0)](_0x1bd12c=>{const _0xbeddd1=_0x267f75;_0x1bd12c[_0xbeddd1(0xe8)]=!0x0,_0x1bd12c[_0xbeddd1(0x15b)]=_0x4fe6c6[_0xbeddd1(0x140)],_0x1bd12c[_0xbeddd1(0x1a5)]=null;}),_0x5c9fc9)_0x5aa0a8=_0x1aaee7,this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);else{if(_0x4fe6c6[_0x267f75(0x143)]){const _0x58f253=this[_0x267f75(0x16c)](_0x4fe6c6[_0x267f75(0x143)]);this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)],_0x58f253[_0x267f75(0x1a0)](_0x39fae5=>{const _0x65337b=_0x267f75;_0x39fae5[_0x65337b(0x129)]-=_0x58f253[_0x65337b(0x1af)],_0x39fae5[_0x65337b(0x15b)]=_0x4fe6c6[_0x65337b(0x140)],_0x39fae5[_0x65337b(0xe8)]=!0x0,_0x39fae5[_0x65337b(0x1a5)]=null;}),this[_0x267f75(0x153)](_0x58f253,!0x0),this[_0x267f75(0x134)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)]+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x58f253);}this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=_0x22bfc3,_0x5aa0a8=this[_0x267f75(0x137)](_0x4fe6c6[_0x267f75(0x18a)],_0x4fe6c6[_0x267f75(0x162)]),await this[_0x267f75(0x109)](_0x5aa0a8),this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);}_0x4fe6c6[_0x267f75(0x14b)]&&(this[_0x267f75(0x13b)][_0x267f75(0xd7)](_0x5aa0a8,_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x1ae)]=_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x134)][_0x267f75(0x14a)]=_0x22bfc3+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x5aa0a8),_0x1aaee7[_0x267f75(0x15c)](_0x52fd7c=>{const _0x2595b6=_0x267f75,_0x58750e=this[_0x2595b6(0x1ac)](_0x52fd7c);return _0x58750e&&!this[_0x2595b6(0x128)][_0x2595b6(0x157)](_0x58750e);})[_0x267f75(0x1a0)]((_0x5eceb1,_0x43fa32)=>{const _0x13a9e5=_0x267f75;_0x5eceb1[_0x13a9e5(0x129)]=this[_0x13a9e5(0x150)][_0x13a9e5(0x14a)]+_0x43fa32,this[_0x13a9e5(0x16a)](_0x5eceb1);}),this[_0x267f75(0xdb)]()?(this[_0x267f75(0x178)]=0x0,this[_0x267f75(0x1a9)](!0x0),await this[_0x267f75(0x18d)]()):(this[_0x267f75(0x10c)]=!0x1,this[_0x267f75(0xdc)]());}[_0x35432b(0x101)](_0x3fc90a,_0x56a292){const _0x5c5d1b=_0x35432b,_0x3c16a1=_0x56a292&&_0x56a292[_0x5c5d1b(0xf6)];if(_0x3c16a1&&_0x3c16a1[_0x5c5d1b(0x12b)](_0x5c5d1b(0xcb)))throw _0x56a292;const _0x24d36a=this[_0x5c5d1b(0x146)][_0x5c5d1b(0x12d)][_0x5c5d1b(0xca)](_0x3e8eea);throw this[_0x5c5d1b(0x10c)]=!0x0,_0x24d36a[_0x5c5d1b(0x16e)](),this[_0x5c5d1b(0x146)][_0x5c5d1b(0x10f)](_0x5c5d1b(0x16f)),new _0x8d2547(_0x3fc90a,this[_0x5c5d1b(0x146)],_0x3c16a1?{'originalError':_0x3c16a1}:void 0x0);}[_0x35432b(0x16a)](_0xb92079){const _0x2db916=_0x35432b;this[_0x2db916(0x17f)][_0x2db916(0x157)](_0xb92079)||(this[_0x2db916(0x17f)][_0x2db916(0xd9)](_0xb92079),this[_0x2db916(0x1a3)][_0x2db916(0x160)](_0xb92079),this[_0x2db916(0x173)]||_0x2db916(0xe6)==_0xb92079[_0x2db916(0x171)]&&!_0xb92079[_0x2db916(0xda)]||this[_0x2db916(0x1c6)]());}[_0x35432b(0x1a9)](_0x5af70f=!0x1){const _0x4414b9=_0x35432b;!_0x5af70f&&this[_0x4414b9(0x10c)]||(this[_0x4414b9(0x10c)]=!0x0,clearTimeout(this[_0x4414b9(0x185)]),this[_0x4414b9(0x185)]=setTimeout(()=>{const _0x2b6605=_0x4414b9;this[_0x2b6605(0x17c)]()[_0x2b6605(0xf0)](_0x406bac=>{const _0x545a91=_0x2b6605;_0x406bac&&(this[_0x545a91(0xdc)](),this[_0x545a91(0x10c)]=!0x1);})[_0x2b6605(0x119)](_0x3379cd=>{const _0x412160=_0x2b6605;this[_0x412160(0xdc)](),this[_0x412160(0x10c)]=!0x1,function(_0xc924db){const _0x190b75=_0x412160;return _0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x113))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x161))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x1b8));}(_0x3379cd)||this[_0x412160(0x101)](_0x3379cd[_0x412160(0xf6)],_0x3379cd);});},this[_0x4414b9(0x178)]));}[_0x35432b(0x18d)](){return new Promise(_0x57729a=>{const _0x47108b=_0x40df;this['on'](_0x47108b(0x1b4),()=>{_0x57729a();});});}async[_0x35432b(0x17c)](){const _0x2f393c=_0x35432b,_0x4b0495=this[_0x2f393c(0x146)][_0x2f393c(0x12d)][_0x2f393c(0xca)](_0x58ab1f);if(this[_0x2f393c(0x165)]()&&(_0x4b0495[_0x2f393c(0x123)](),this[_0x2f393c(0x184)]=!0x1),!this[_0x2f393c(0xdb)]())return!0x0;const _0x21708b=[...this[_0x2f393c(0x1a3)]];for(const _0x148037 of _0x21708b)_0x148037[_0x2f393c(0xed)]=this[_0x2f393c(0x150)][_0x2f393c(0xe2)][_0x2f393c(0x118)](_0x148037);const _0x3bbedf=this[_0x2f393c(0x13b)][_0x2f393c(0x1a6)](_0x21708b),_0x14ffcf=G++,_0x13769c=this[_0x2f393c(0x152)](_0x21708b),_0x7a9311=await this[_0x2f393c(0xec)][_0x2f393c(0x191)](_0x13769c,_0x13769c[_0x2f393c(0x129)],_0x3bbedf);try{return await this[_0x2f393c(0xdd)](_0x21708b,_0x7a9311,_0x14ffcf);}catch(_0x1b9761){return this[_0x2f393c(0x101)](_0x2f393c(0x114),_0x1b9761);}}async[_0x35432b(0xdd)](_0x31d65d,_0x13b21c,_0x417f63){const _0xc26efc=_0x35432b;if(_0xc26efc(0x13a)in _0x13b21c)throw _0x13b21c[_0xc26efc(0x13a)];let _0x6521d6=!0x1;if(_0x13b21c[_0xc26efc(0x141)]){_0x13b21c[_0xc26efc(0x14b)]&&(this[_0xc26efc(0x1ae)]=_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x4c90e8=>!_0x31d65d[_0xc26efc(0x1bc)](_0x4c90e8));for(const _0x3980ee of _0x31d65d)_0x3980ee[_0xc26efc(0x15b)]=_0xc26efc(0xf5)in _0x13b21c&&_0x13b21c[_0xc26efc(0xf5)]||void 0x0;K(_0x31d65d,_0x13b21c[_0xc26efc(0x14a)]-_0x31d65d[_0xc26efc(0x1af)]),this[_0xc26efc(0x189)](_0x31d65d);const _0x406f3a=_0x31d65d[_0xc26efc(0x15c)](_0x5dbd2b=>{const _0x426f99=_0xc26efc;if(!_0x5dbd2b[_0x426f99(0xe8)])return!0x1;const _0xba347e=this[_0x426f99(0x1ac)](_0x5dbd2b);return _0xba347e&&!this[_0x426f99(0x128)][_0x426f99(0x157)](_0xba347e);});K(_0x406f3a,this[_0xc26efc(0x150)][_0xc26efc(0x14a)]),this[_0xc26efc(0x153)](_0x406f3a),_0x6521d6=!0x0,this[_0xc26efc(0x178)]=this[_0xc26efc(0xc3)];}else{const _0x38b2b7=this[_0xc26efc(0x137)](_0x13b21c[_0xc26efc(0x18a)],_0x13b21c[_0xc26efc(0x162)])[_0xc26efc(0x15c)](_0x114d01=>_0x114d01[_0xc26efc(0x129)]>=this[_0xc26efc(0x1c5)]);_0x38b2b7[_0xc26efc(0x1a0)](_0x124bf3=>this[_0xc26efc(0x133)](_0x124bf3)),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x3eeb1d=>!_0x3eeb1d[_0xc26efc(0xe8)]||!this[_0xc26efc(0x128)][_0xc26efc(0x157)](this[_0xc26efc(0x1ac)](_0x3eeb1d))),this[_0xc26efc(0x1a3)][_0xc26efc(0x1af)]&&K(this[_0xc26efc(0x1a3)],this[_0xc26efc(0x1a3)][0x0][_0xc26efc(0x129)]),await this[_0xc26efc(0x109)](_0x38b2b7),_0x6521d6=this[_0xc26efc(0x16b)](_0x38b2b7,_0x13b21c[_0xc26efc(0x14a)],_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x178)]=Math[_0xc26efc(0x176)](this[_0xc26efc(0x178)]/0x2);}return _0x6521d6?!this[_0xc26efc(0xdb)]()||(this[_0xc26efc(0x1a9)](!0x0),!0x1):this[_0xc26efc(0x101)](_0xc26efc(0xc7));}[_0x35432b(0x16b)](_0xd695be,_0x22f961,_0x58e44a){const _0x499e00=_0x35432b;try{const _0x5f10ba={'document':this[_0x499e00(0x150)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x441330,operationsB:_0x48f236,originalOperations:_0x230ee3}=_0x25eca8(_0xd695be,this[_0x499e00(0x1a3)],_0x5f10ba);K(_0x441330,this[_0x499e00(0x150)][_0x499e00(0x14a)]),K(_0x48f236,_0x22f961);for(const _0x142ef9 of _0x441330){const _0x200300=_0x230ee3[_0x499e00(0xca)](_0x142ef9);_0x142ef9[_0x499e00(0x1a5)]=_0x200300?_0x200300[_0x499e00(0x1a5)]:null;}_0x58e44a&&(this[_0x499e00(0x13b)][_0x499e00(0xd7)](_0xd695be,_0x58e44a),this[_0x499e00(0x1ae)]=_0x58e44a),this[_0x499e00(0x1a3)]=[..._0x48f236],this[_0x499e00(0x153)](_0x441330),this[_0x499e00(0x189)](_0xd695be);}catch(_0x3acb12){return console[_0x499e00(0x13a)](_0x3acb12),!0x1;}return!0x0;}[_0x35432b(0x153)](_0x3c7ae,_0x46287b=!0x1){const _0x2dd7a4=_0x35432b;this[_0x2dd7a4(0x146)][_0x2dd7a4(0xf2)][_0x2dd7a4(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x565c6d=>{const _0x20fa46=_0x2dd7a4;for(const _0x3963f4 of _0x3c7ae)this[_0x20fa46(0x17f)][_0x20fa46(0xd9)](_0x3963f4),this[_0x20fa46(0x133)](_0x3963f4),_0x565c6d[_0x20fa46(0x163)][_0x20fa46(0xe7)](_0x3963f4),this[_0x20fa46(0x146)][_0x20fa46(0xf2)][_0x20fa46(0xf7)](_0x3963f4);});}[_0x35432b(0x133)](_0x25aabf){const _0x2e7c78=_0x35432b,_0x160d8d=this[_0x2e7c78(0x1ac)](_0x25aabf);_0x160d8d&&this[_0x2e7c78(0x128)][_0x2e7c78(0xd9)](_0x160d8d);}[_0x35432b(0x1ac)](_0x5afeb9){const _0x1bab51=_0x35432b;let _0x9585e0,_0x5a9810;switch(_0x5afeb9[_0x1bab51(0x171)]){case _0x1bab51(0x12a):_0x9585e0=_0x5afeb9[_0x1bab51(0x110)][_0x1bab51(0xd0)];break;case _0x1bab51(0xe6):if(_0x5a9810=_0x5afeb9[_0x1bab51(0x11c)],!_0x5a9810)return null;_0x9585e0=_0x5a9810[_0x1bab51(0xd0)];break;case _0x1bab51(0x169):_0x9585e0=_0x5afeb9[_0x1bab51(0xd0)];break;case _0x1bab51(0x155):_0x9585e0=_0x5afeb9[_0x1bab51(0x187)];break;case _0x1bab51(0x11d):_0x9585e0=_0x5afeb9[_0x1bab51(0x142)][_0x1bab51(0xd0)];break;default:return null;}return _0x9585e0[_0x1bab51(0x19b)];}[_0x35432b(0x189)](_0x5a9d93){const _0x4c3697=_0x35432b;_0x5a9d93[_0x4c3697(0x1a0)](_0x52e1a2=>{const _0xee49e2=_0x4c3697,_0x2d69df=_0x52e1a2[_0xee49e2(0x154)]();_0x2d69df[_0xee49e2(0x1a5)]=_0x52e1a2[_0xee49e2(0x1a5)],_0x2d69df[_0xee49e2(0xe8)]=!!_0x52e1a2[_0xee49e2(0xe8)],_0x2d69df[_0xee49e2(0x15b)]=_0x52e1a2[_0xee49e2(0x15b)],_0x2d69df[_0xee49e2(0x129)]+=this[_0xee49e2(0x19e)],_0x52e1a2[_0xee49e2(0x199)]&&this[_0xee49e2(0x1b2)][_0xee49e2(0xd9)](_0x2d69df),this[_0xee49e2(0x134)][_0xee49e2(0xe7)](_0x2d69df);});}[_0x35432b(0xcd)](_0x592737){const _0x2bd0dc=_0x35432b,_0x321441=this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x2bd0dc(0x12c)),_0x40f0e8=this[_0x2bd0dc(0x146)][_0x2bd0dc(0xd6)];_0x592737||(_0x592737=_0x4c7266(_0x40f0e8,_0x2bd0dc(0xc4))),_0x321441[_0x2bd0dc(0x167)](_0x592737,{'title':_0x4c7266(_0x40f0e8,_0x2bd0dc(0xe0)),'namespace':_0x2bd0dc(0xe3)}),this[_0x2bd0dc(0x18b)]=!0x0,clearTimeout(this[_0x2bd0dc(0x185)]),this[_0x2bd0dc(0x1a3)]=[],this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x3e8eea)[_0x2bd0dc(0x16e)]();}[_0x35432b(0x1c6)](){const _0x2fc93f=_0x35432b;this[_0x2fc93f(0x173)]||(this[_0x2fc93f(0x173)]=this[_0x2fc93f(0x146)][_0x2fc93f(0x12d)][_0x2fc93f(0xca)](_0x2e9a93)[_0x2fc93f(0xd9)](_0x4c7266(this[_0x2fc93f(0x146)][_0x2fc93f(0xd6)],_0x2fc93f(0x164))));}[_0x35432b(0xdc)](){const _0x3296a6=_0x35432b;this[_0x3296a6(0x173)]&&(this[_0x3296a6(0x146)][_0x3296a6(0x12d)][_0x3296a6(0xca)](_0x2e9a93)[_0x3296a6(0x14d)](this[_0x3296a6(0x173)]),this[_0x3296a6(0x173)]=null);}[_0x35432b(0x152)](_0x2d1eaa){const _0x12f9d0=_0x35432b,_0x369c24=_0x2d1eaa[_0x12f9d0(0x1a2)](_0xf2c9d8=>_0xf2c9d8[_0x12f9d0(0x198)]());return this[_0x12f9d0(0x1b6)][_0x12f9d0(0x106)](_0x369c24);}[_0x35432b(0x137)](_0x3f1279,_0x56d43f){const _0x15657f=_0x35432b;return this[_0x15657f(0x1b6)][_0x15657f(0x168)](_0x3f1279)[_0x15657f(0x1a2)]((_0x3ed847,_0x5a0857)=>{const _0x130932=_0x15657f,_0x4bac5c=_0x130932(0x107)==_0x56d43f[_0x5a0857][_0x130932(0x171)];if(_0x130932(0x1c2)==_0x3ed847[_0x130932(0xc1)]){const _0x8649c7=_0x3ed847[_0x130932(0x110)][_0x130932(0xd0)];!this[_0x130932(0x150)][_0x130932(0x19c)](_0x8649c7)&&(this[_0x130932(0x150)][_0x130932(0x15a)](_0x130932(0x10d),_0x8649c7)[_0x130932(0xe1)]=!0x1);}const _0xddc270=_0x3dbd72[_0x130932(0x1c4)](_0x3ed847,this[_0x130932(0x150)]);return _0xddc270[_0x130932(0xed)]=_0x3ed847[_0x130932(0xed)],_0xddc270[_0x130932(0xe8)]=_0x4bac5c,_0xddc270[_0x130932(0x1a5)]=_0x4bac5c?null:_0x56d43f[_0x5a0857][_0x130932(0x115)],_0xddc270[_0x130932(0x199)]=_0x130932(0xde)===_0x56d43f[_0x5a0857][_0x130932(0x171)],_0xddc270[_0x130932(0x15b)]=_0x56d43f[_0x5a0857][_0x130932(0x15b)],_0xddc270;});}[_0x35432b(0x14e)](){const _0x13c22c=_0x35432b;this[_0x13c22c(0x184)]=!0x0,this[_0x13c22c(0x165)]()?this[_0x13c22c(0x1a9)]():this[_0x13c22c(0x184)]=!0x1;}[_0x35432b(0x165)](){const _0x469578=_0x35432b,_0x560bb2=this[_0x469578(0x146)][_0x469578(0x12d)][_0x469578(0xca)](_0x49072b)[_0x469578(0x174)][_0x469578(0xca)](this[_0x469578(0x139)]);return!this[_0x469578(0x146)][_0x469578(0x102)]&&!!_0x560bb2&&_0x560bb2[_0x469578(0x1af)]>0x1&&this[_0x469578(0x184)];}[_0x35432b(0xdb)](){const _0x3a9147=_0x35432b;return this[_0x3a9147(0x1a3)][_0x3a9147(0x1af)]>0x0||this[_0x3a9147(0x165)]();}}class $ extends Error{}function K(_0x4220af,_0x221e85){const _0x18421d=_0x35432b;for(const _0x3f3df7 of _0x4220af)_0x3f3df7[_0x18421d(0x129)]=_0x221e85++;}class J{[_0x35432b(0xeb)];[_0x35432b(0x1b1)];constructor(_0x88cb58){const _0x3154e1=_0x35432b;this[_0x3154e1(0xeb)]=_0x88cb58,this[_0x3154e1(0x1b1)]=new WeakMap();}[_0x35432b(0x1a6)](_0x529bc6){const _0x28d33f=_0x35432b;let _0x44eb53=_0x529bc6[_0x28d33f(0x1af)];for(;_0x44eb53--;){const _0x5016f6=_0x529bc6[_0x44eb53];if(!this[_0x28d33f(0xeb)][_0x28d33f(0x157)](_0x5016f6)){if(!this[_0x28d33f(0x1b1)][_0x28d33f(0x157)](_0x5016f6)){const _0xe03aa9=_0x2ffcae()[_0x28d33f(0x147)](0x1,0x12);this[_0x28d33f(0x1b1)][_0x28d33f(0xd3)](_0x5016f6,_0xe03aa9);}return this[_0x28d33f(0x1b1)][_0x28d33f(0xca)](_0x5016f6);}}}[_0x35432b(0xd7)](_0x1c0b9d,_0x209a70){const _0x10633d=_0x35432b;if(!_0x209a70)return;let _0x5df41c=_0x1c0b9d[_0x10633d(0x1af)];for(;_0x5df41c--;){const _0x489770=_0x1c0b9d[_0x5df41c];this[_0x10633d(0xeb)][_0x10633d(0x157)](_0x489770)||this[_0x10633d(0x1b1)][_0x10633d(0xd3)](_0x489770,_0x209a70);}}}
23
+ const _0xcfed1f=_0x47d3;(function(_0xf3532a,_0x1ac116){const _0x30b87f=_0x47d3,_0x42aafe=_0xf3532a();while(!![]){try{const _0x46049a=parseInt(_0x30b87f(0xc3))/0x1+parseInt(_0x30b87f(0x196))/0x2+-parseInt(_0x30b87f(0x12e))/0x3*(-parseInt(_0x30b87f(0xab))/0x4)+parseInt(_0x30b87f(0x100))/0x5*(-parseInt(_0x30b87f(0x155))/0x6)+parseInt(_0x30b87f(0x104))/0x7*(parseInt(_0x30b87f(0x142))/0x8)+-parseInt(_0x30b87f(0x109))/0x9+-parseInt(_0x30b87f(0xee))/0xa*(-parseInt(_0x30b87f(0x18c))/0xb);if(_0x46049a===_0x1ac116)break;else _0x42aafe['push'](_0x42aafe['shift']());}catch(_0x4de016){_0x42aafe['push'](_0x42aafe['shift']());}}}(_0x3c90,0x3cc20));function _0x47d3(_0x410b31,_0x499956){const _0x3c9064=_0x3c90();return _0x47d3=function(_0x47d3f1,_0x46d4c5){_0x47d3f1=_0x47d3f1-0xa1;let _0x54d1b5=_0x3c9064[_0x47d3f1];return _0x54d1b5;},_0x47d3(_0x410b31,_0x499956);}import{Plugin as _0x18af1c,PendingActions as _0x41a5ac}from'ckeditor5/src/core.js';import{CKEditorError as _0x36894a,version as _0x5d41a3,uid as _0x5817d0}from'ckeditor5/src/utils.js';import{Notification as _0x353412}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5a17a5,NoOperation as _0x86463b,InsertOperation as _0x33e75c,MarkerOperation as _0x131b16,RootAttributeOperation as _0x234bc6,OperationFactory as _0xc25501,History as _0x86a8bb}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5766cd}from'./websocketgateway.js';import{Sessions as _0x2e3072}from'./sessions.js';import{UserMarkers as _0x7fb4cd}from'./usermarkers.js';import{getTranslation as _0x4295fc}from'../common-translations.js';import{Compressor as _0x5952ce}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x347e05}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1b19e6,CollaborativeEditingService as _0x387e5d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3c90(){const _0x27fe49=['userId','start','config','_disconnectService','setIdForTheLastOperation','includes','initData','_setPendingAction','231762ToFQNJ','serverHistory','_isInit','filter','_waitUntilSynced','cloud-services-internal-error:\x20Request\x20timeout.','high','disableReadOnlyMode','applyOperation','unregister','cloudDocumentVersion','isDocumentOperation','_handleReceivedOperations','wasUndone','rtc-destroyed','InsertOperation','realtimecollaborationclient-init-session-connection-error','history','newRange','enableReadOnlyMode','_hasSynchronizationProblem','Notification','return','model','getMany','lastOperationAcceptedAt','directChange','remove','mySessionId','lastDocumentSession','insert','_knownOperations','addToReconnectionStack','409','_addKnownRoot','locale','disconnect','realtimecollaborationclient-error','Permissions','view','_connectService','collaboration-missing-channelid','length','1000vpqBWI','realtimecollaborationclient-init-non-existent-root','cs:removeUser','showWarning','from','createRoot','_authorId','editing','finally','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleReconnectionResponse','fire','push','operationsReceived','$root','_baseBufferDelay','_isAttached','collaboration','78045vKIxFz','init','add','slice','7qlNRNe','_initSessionsHandling','multi-root-editor-root-attributes-no-root','addUser','_connectAfterSessionHasBeenFlushed','3963789xLTgSO','bind','_crash','404','lastOperationId','requires','realtimecollaborationclient-init-service-incorrect-server-operation','_fetchMissingUsers','_document','_compressOperations','_operationToId','CollaborativeEditingService','addRootAttribute','stopListening','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','size','_isDisconnection','parse','real-time-collaboration','_clearPendingAction','end','off','move','markers','differ','change:range','cloudServices.bundleVersion','selection','getUser','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.','affectsData','_refreshUserSelectionMarkers','realtimecollaborationclient-init-service-internal-error','editor','_bufferRootLoad','apply','306ndHpHc','batch','_hasSelectionChanged','isPremiumPlugin','permissions','_knownRootNames','_compressor','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.','realtimecollaborationclient','connect','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-handleserverresponse','_handleReconnectionError','_getOperationsFromInitData','suppressErrorInCollaboration','reconnect','_operationIdentifier','createUserMarkerOperations','setPermissions','sessionId','1152712UJECCx','connection','_loadRoot','realtimecollaborationclient-init-document-already-initialized','define','_sendBufferedOperationsDelayId','_handleInitialConnectionData','wereChangesApplied','_bufferedOperations','metadata','_service','round','listenTo','root','isUndoneOperation','realtimecollaborationclient-sendbufferedoperations','get','plugins','_disconnectionOperations','138UhWGRN','_shouldSendUpdate','_decompressOperations','cloud-services-internal-error:\x20Not\x20connected.','destroy','string','position','collaboration.channelId','_setUpDataInit','connected','error','stop','attributes','_handleExternalOperations','sessionAdd:','pluginName','_lastServerVersion','addOperation','marker','clone','_isPendingUpdate','change:_isEditingAllowed','removeFromReconnectionStack','version','createdAt','channelSessions','toJSON','_isLoaded','roots','_sendBufferedOperationsDelayed','document:write','_getAffectedRoot','sessionCreatedAt','message','getOperationAuthor','__className','path','reconnection:\x20flushed\x20session','change:_isPendingUpdate','offset','then','getDocumentDetails','rtc-offline','currentDocumentSession','Synchronization\x20issue','keys','isEnabled','_lastSyncedOperationId','has','startsWith','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getConnectedSessions','_handleServerResponse','map','_handleSendingSelectionMarkers','5907vxnAZl','targetPosition','isReadOnly','data','createPositionAt','code','state','lastSyncVersion','set','decompress','380478JpCPyE','_currentBufferDelay','entries','_ignoredOperations','_isEditingAllowed','isOfficialPlugin','rootName','_offset','getOperations','_pendingAction','_sendBufferedOperations','_applyOperationsSet','ready','_isConnected','_channelId','enqueueChange','rootsAttributes','realtimecollaborationclient-init-connection-failed','reset','RealTimeCollaborationClient','loadRoot','createRange','change:hasDomSelection','disconnected','_updateServerHistory','getIdOfTheLastOperation','addRoot','catch','16804gnfJtJ','sendOperations','document','_initThrowingOnDataSet','createPositionFromPath','PENDING_ACTION_SENDING_DATA','compress','fromJSON','register','_saveOperationInBuffer','forEach','CommentsOnly','getRoot','baseVersion','_shouldSendSelectionUpdate','type'];_0x3c90=function(){return _0x27fe49;};return _0x3c90();}let K=0x1;export class RealTimeCollaborationClient extends _0x18af1c{static [_0xcfed1f(0x114)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x387e5d)());[_0xcfed1f(0x19d)];[_0xcfed1f(0x141)];[_0xcfed1f(0xc4)];[_0xcfed1f(0x1a4)];[_0xcfed1f(0x14c)];[_0xcfed1f(0x111)];[_0xcfed1f(0x134)];[_0xcfed1f(0x14a)];[_0xcfed1f(0xe2)];[_0xcfed1f(0x133)];[_0xcfed1f(0x19f)];[_0xcfed1f(0x130)];[_0xcfed1f(0x147)];[_0xcfed1f(0xfd)];[_0xcfed1f(0x197)];[_0xcfed1f(0x184)];[_0xcfed1f(0x154)];[_0xcfed1f(0x13e)];static get[_0xcfed1f(0x10e)](){return[_0x5766cd,_0x2e3072,_0x7fb4cd,_0x41a5ac,_0x347e05,_0x353412];}static get[_0xcfed1f(0x164)](){const _0xa8b00f=_0xcfed1f;return _0xa8b00f(0xa2);}static get[_0xcfed1f(0x19b)](){return!0x0;}static get[_0xcfed1f(0x131)](){return!0x0;}get[_0xcfed1f(0xcd)](){const _0x5c731b=_0xcfed1f;return this[_0x5c731b(0x165)]+this[_0x5c731b(0x19d)];}get[_0xcfed1f(0x165)](){const _0x4de164=_0xcfed1f;return this[_0x4de164(0xc4)][_0x4de164(0x16c)]-this[_0x4de164(0x19d)];}get[_0xcfed1f(0x193)](){const _0xad0366=_0xcfed1f,_0x4c2c15=this[_0xad0366(0xc4)][_0xad0366(0x19e)]();for(let _0x396060=_0x4c2c15[_0xad0366(0xed)]-0x1;_0x396060>=0x0;_0x396060--){const _0x45d268=_0x4c2c15[_0x396060];if(!this[_0xad0366(0x154)][_0xad0366(0x185)](_0x45d268))return _0x45d268[_0xad0366(0xb8)]+0x1-this[_0xad0366(0x19d)];}return 0x0;}constructor(_0x52f846){const _0xe4f4f0=_0xcfed1f;if(super(_0x52f846),this[_0xe4f4f0(0x19d)]=0x0,this[_0xe4f4f0(0x141)]=null,this[_0xe4f4f0(0xc4)]=new _0x86a8bb(),this[_0xe4f4f0(0x12b)][_0xe4f4f0(0xbd)][_0xe4f4f0(0x146)](_0xe4f4f0(0xff),{}),this[_0xe4f4f0(0x1a4)]=this[_0xe4f4f0(0x12b)][_0xe4f4f0(0xbd)][_0xe4f4f0(0x152)](_0xe4f4f0(0x15c)),!this[_0xe4f4f0(0x1a4)])throw new _0x36894a(_0xe4f4f0(0xec),this);const _0x4df8f3=_0x52f846[_0xe4f4f0(0xbd)][_0xe4f4f0(0x152)](_0xe4f4f0(0x124))||_0x5d41a3;this[_0xe4f4f0(0x14c)]=new RealTimeCollaborationClient[(_0xe4f4f0(0x114))](_0x4df8f3,this[_0xe4f4f0(0x1a4)]),this[_0xe4f4f0(0x111)]=this[_0xe4f4f0(0x12b)][_0xe4f4f0(0xda)][_0xe4f4f0(0xad)],this[_0xe4f4f0(0x134)]=new _0x5952ce(),this[_0xe4f4f0(0x14a)]=[],this[_0xe4f4f0(0xe2)]=new WeakSet(),this[_0xe4f4f0(0x133)]=new Set(),this[_0xe4f4f0(0x194)](_0xe4f4f0(0x169),!0x1),this[_0xe4f4f0(0x194)](_0xe4f4f0(0xd7),!0x1),this[_0xe4f4f0(0x19f)]=null,this[_0xe4f4f0(0x130)]=!0x1,this[_0xe4f4f0(0x147)]=null,this[_0xe4f4f0(0xfd)]=0x12c,this[_0xe4f4f0(0x197)]=this[_0xe4f4f0(0xfd)],this[_0xe4f4f0(0x184)]=null,this[_0xe4f4f0(0x154)]=new WeakSet(),this[_0xe4f4f0(0x13e)]=new X(this[_0xe4f4f0(0x154)]);}[_0xcfed1f(0x101)](){const _0x31decd=_0xcfed1f,_0x67f5f4=this[_0x31decd(0x12b)],_0x37f497=_0x67f5f4[_0x31decd(0x153)][_0x31decd(0x152)](_0x347e05),_0xb2d386=_0x67f5f4[_0x31decd(0x153)][_0x31decd(0x152)](_0x5766cd);this[_0x31decd(0x14e)](_0x37f497,_0x31decd(0x177),(_0x241b01,_0x2490e6)=>{const _0x829d4d=_0x31decd,_0x4349cc=_0x2490e6[0x0];_0x4349cc[_0x829d4d(0xf4)]&&(_0x241b01[_0x829d4d(0xd9)]=_0x37f497[_0x829d4d(0x126)](_0x4349cc[_0x829d4d(0xf4)]),_0x241b01[_0x829d4d(0x160)]()),null===_0x4349cc[_0x829d4d(0xf4)]&&(_0x241b01[_0x829d4d(0xd9)]=null,_0x241b01[_0x829d4d(0x160)]());},{'priority':_0x31decd(0xc9)}),this[_0x31decd(0x14e)](_0x67f5f4[_0x31decd(0xda)][_0x31decd(0xad)][_0x31decd(0x125)],_0x31decd(0x123),(_0xf09a05,_0x285c14)=>{const _0x1d90f1=_0x31decd;_0x285c14[_0x1d90f1(0xdd)]&&this[_0x1d90f1(0x129)]();}),this[_0x31decd(0x14e)](_0x67f5f4[_0x31decd(0xf5)][_0x31decd(0xea)],_0x31decd(0xa5),()=>{const _0x25df8c=_0x31decd;this[_0x25df8c(0x129)]();}),this[_0x31decd(0xae)](),_0x67f5f4[_0x31decd(0xda)]['on'](_0x31decd(0xcb),(_0x4ec408,_0x4a68a8)=>{const _0x33147e=_0x31decd,_0x24f9ba=_0x4a68a8[0x0];_0x24f9ba[_0x33147e(0xce)]&&(this[_0x33147e(0xb4)](_0x24f9ba),this[_0x33147e(0x156)]()&&this[_0x33147e(0x172)]());}),this[_0x31decd(0x15d)](),this[_0x31decd(0x10a)](_0x31decd(0x19a))['to'](_0xb2d386,_0x31decd(0x192),this,_0x31decd(0xd7),(_0xf6cc44,_0x3938b9)=>_0x31decd(0x15e)===_0xf6cc44&&!_0x3938b9),this['on'](_0x31decd(0x16a),()=>{const _0x187a1d=_0x31decd;this[_0x187a1d(0x19a)]?_0x67f5f4[_0x187a1d(0xca)](_0x187a1d(0x17f)):_0x67f5f4[_0x187a1d(0xd6)](_0x187a1d(0x17f));}),this[_0x31decd(0x19a)]?_0x67f5f4[_0x31decd(0xca)](_0x31decd(0x17f)):_0x67f5f4[_0x31decd(0xd6)](_0x31decd(0x17f)),this[_0x31decd(0x194)](_0x31decd(0x1a3),!0x1);}async[_0xcfed1f(0x13d)](){const _0x4665b4=_0xcfed1f,_0xdcbeae=this[_0x4665b4(0x12b)][_0x4665b4(0x153)][_0x4665b4(0x152)](_0x2e3072),_0x1e304b=this[_0x4665b4(0x12b)][_0x4665b4(0x153)][_0x4665b4(0x152)](_0x5766cd);try{this[_0x4665b4(0x169)]=!0x0,_0xdcbeae[_0x4665b4(0xcc)](this[_0x4665b4(0x1a4)]);const _0x4436e9=await this[_0x4665b4(0x14c)][_0x4665b4(0x13d)](_0x1e304b[_0x4665b4(0x143)],this[_0x4665b4(0x193)]);await this[_0x4665b4(0xf8)](_0x4436e9)&&(this[_0x4665b4(0x169)]=!0x1,this[_0x4665b4(0x11d)]());const _0x1ffc9e=await this[_0x4665b4(0x14c)][_0x4665b4(0x188)]();_0xdcbeae[_0x4665b4(0xb3)](this[_0x4665b4(0x1a4)],_0x1ffc9e),this[_0x4665b4(0x18b)](),this[_0x4665b4(0x1a3)]=!0x0;}catch(_0x2e3e6f){if(function(_0x5525d2){const _0x23763e=_0x4665b4;return _0x23763e(0x10c)===_0x5525d2[_0x23763e(0x191)];}(_0x2e3e6f)&&this[_0x4665b4(0x141)])await this[_0x4665b4(0x108)]();else{if(function(_0x2f665b){const _0x385f29=_0x4665b4;return _0x385f29(0xe4)===_0x2f665b[_0x385f29(0x191)];}(_0x2e3e6f)){const _0x33fd69=_0x4295fc(this[_0x4665b4(0x12b)][_0x4665b4(0xe6)],_0x4665b4(0x117));this[_0x4665b4(0x13a)](_0x33fd69);}else{if(!(_0x2e3e6f instanceof J))throw _0x2e3e6f;this[_0x4665b4(0x13a)]();}}}}[_0xcfed1f(0x159)](){const _0x6efbdc=_0xcfed1f,_0x23b95d=this[_0x6efbdc(0x12b)][_0x6efbdc(0x153)][_0x6efbdc(0x152)](_0x5766cd),_0x360b6d=this[_0x6efbdc(0x12b)][_0x6efbdc(0x153)][_0x6efbdc(0x152)](_0x2e3072);this[_0x6efbdc(0x12b)][_0x6efbdc(0xd6)](_0x6efbdc(0xd1)),_0x360b6d[_0x6efbdc(0x16e)][_0x6efbdc(0x185)](this[_0x6efbdc(0x1a4)])&&_0x360b6d[_0x6efbdc(0xcc)](this[_0x6efbdc(0x1a4)]),_0x23b95d[_0x6efbdc(0x16b)](this),this[_0x6efbdc(0xbe)](),super[_0x6efbdc(0x159)]();}async[_0xcfed1f(0xf8)](_0x7f45){const _0x3c3664=_0xcfed1f;if(this[_0x3c3664(0x141)]!==_0x7f45[_0x3c3664(0x141)]&&this[_0x3c3664(0x184)]!==_0x7f45[_0x3c3664(0x10d)])throw new J();return this[_0x3c3664(0x141)]=_0x7f45[_0x3c3664(0x141)],this[_0x3c3664(0x189)]([],{..._0x7f45,'wereChangesApplied':!0x1,'data':_0x7f45[_0x3c3664(0x18f)]},_0x3c3664(0x13d));}async[_0xcfed1f(0xeb)](_0x189287,_0x5d9f6c=!0x1){const _0x6f7ea=_0xcfed1f,{connection:_0x5b0cd8}=this[_0x6f7ea(0x12b)][_0x6f7ea(0x153)][_0x6f7ea(0x152)](_0x5766cd);RealTimeCollaborationClient[_0x6f7ea(0x114)][_0x6f7ea(0x188)](_0x5b0cd8,this[_0x6f7ea(0x1a4)])[_0x6f7ea(0x17d)](_0x586431=>this[_0x6f7ea(0x105)](_0x586431))[_0x6f7ea(0xaa)](_0x241f62=>{const _0x31b32b=_0x6f7ea;this[_0x31b32b(0x10b)](_0x31b32b(0xd3),_0x241f62);}),this[_0x6f7ea(0x14e)](this[_0x6f7ea(0x14c)],_0x6f7ea(0xfb),this[_0x6f7ea(0xcf)][_0x6f7ea(0x10a)](this)),this[_0x6f7ea(0x14e)](this[_0x6f7ea(0x14c)],_0x6f7ea(0x15f),(_0x410397,_0x4ca65e)=>{const _0x12c0e3=_0x6f7ea;this[_0x12c0e3(0x10b)](_0x12c0e3(0x12a),_0x4ca65e);}),this[_0x6f7ea(0x14e)](this[_0x6f7ea(0x14c)],_0x6f7ea(0xa6),()=>{const _0x2e490a=_0x6f7ea;this[_0x2e490a(0x1a3)]=!0x1;});const _0x19bdd6=this[_0x6f7ea(0x13e)][_0x6f7ea(0xa8)](_0x189287);this[_0x6f7ea(0x169)]=!0x0;const _0x580804=await this[_0x6f7ea(0x14c)][_0x6f7ea(0x137)](_0x5b0cd8,this[_0x6f7ea(0x112)](_0x189287),_0x19bdd6);if(this[_0x6f7ea(0x141)]=_0x580804[_0x6f7ea(0x141)],_0x5d9f6c){if(!_0x580804[_0x6f7ea(0x149)])return void this[_0x6f7ea(0x13a)]();this[_0x6f7ea(0x169)]=!0x1,this[_0x6f7ea(0x11d)](),this[_0x6f7ea(0xc4)][_0x6f7ea(0xa1)](),this[_0x6f7ea(0x19d)]=_0x580804[_0x6f7ea(0x17c)],this[_0x6f7ea(0xc4)][_0x6f7ea(0x16c)]=this[_0x6f7ea(0x19d)],await this[_0x6f7ea(0x189)](_0x189287,_0x580804,_0x6f7ea(0x17a));}else await this[_0x6f7ea(0x148)](_0x580804,_0x189287);this[_0x6f7ea(0x18b)](),this[_0x6f7ea(0x1a3)]=!0x0;}[_0xcfed1f(0x18b)](){const _0x564f6c=_0xcfed1f,_0x1c0953=this[_0x564f6c(0x12b)][_0x564f6c(0x153)][_0x564f6c(0x152)](_0x2e3072),_0x3e3898=this[_0x564f6c(0x12b)][_0x564f6c(0x153)][_0x564f6c(0x152)](_0x7fb4cd),_0x2c2d3f=_0x1c0953[_0x564f6c(0x16e)][_0x564f6c(0x152)](this[_0x564f6c(0x1a4)]);_0x2c2d3f&&_0x2c2d3f[_0x564f6c(0xed)]>0x1?_0x3e3898[_0x564f6c(0x13f)]():this[_0x564f6c(0x14e)](_0x1c0953,_0x564f6c(0x163)+this[_0x564f6c(0x1a4)],()=>{const _0x4d3caf=_0x564f6c;0x2===_0x1c0953[_0x4d3caf(0x16e)][_0x4d3caf(0x152)](this[_0x4d3caf(0x1a4)])[_0x4d3caf(0xed)]&&_0x3e3898[_0x4d3caf(0x13f)]();});}async[_0xcfed1f(0xcf)](_0x10775e,_0x47190d,_0x5a208a,_0x8f58da){const _0x4a3bb6=_0xcfed1f;if(!this[_0x4a3bb6(0x169)]&&this[_0x4a3bb6(0x111)][_0x4a3bb6(0x16c)]==_0x47190d){const _0x21069b=this[_0x4a3bb6(0x157)](_0x5a208a,_0x8f58da);await this[_0x4a3bb6(0x110)](_0x21069b),this[_0x4a3bb6(0x162)](_0x21069b,_0x47190d,_0x5a208a[_0x4a3bb6(0x10d)])||this[_0x4a3bb6(0x10b)](_0x4a3bb6(0x10f));}}async[_0xcfed1f(0x108)](){const _0x3b1c20=_0xcfed1f;this[_0x3b1c20(0xbe)]();const {locale:_0x290d9b}=this[_0x3b1c20(0x12b)];let _0x2bafc1;try{_0x2bafc1=await this[_0x3b1c20(0x14c)][_0x3b1c20(0x17e)]();}catch{const _0x5e240f=_0x4295fc(_0x290d9b,_0x3b1c20(0xf7));return void this[_0x3b1c20(0x13a)](_0x5e240f);}const _0xcf72d6=_0x2bafc1[_0x3b1c20(0x180)]||_0x2bafc1[_0x3b1c20(0xe0)];if(this[_0x3b1c20(0x184)]!==_0xcf72d6[_0x3b1c20(0x10d)]){const _0x3210de=_0x4295fc(_0x290d9b,_0x3b1c20(0x135));return void this[_0x3b1c20(0x13a)](_0x3210de);}await this[_0x3b1c20(0xeb)](this[_0x3b1c20(0x12b)][_0x3b1c20(0xda)][_0x3b1c20(0xad)][_0x3b1c20(0xd4)][_0x3b1c20(0x19e)](),!0x0);}[_0xcfed1f(0xbe)](){const _0x52f814=_0xcfed1f;this[_0x52f814(0x14c)][_0x52f814(0xe7)](),this[_0x52f814(0x14a)]=[],clearTimeout(this[_0x52f814(0x147)]),this[_0x52f814(0x116)](this[_0x52f814(0x14c)]);}[_0xcfed1f(0x105)](_0x238f7a){const _0x138775=_0xcfed1f,_0x34c446=this[_0x138775(0x12b)][_0x138775(0x153)][_0x138775(0x152)](_0x2e3072);this[_0x138775(0x14e)](_0x34c446,_0x138775(0x163)+this[_0x138775(0x1a4)],(_0x19abcc,{session:_0x114d84})=>{const _0x3106b9=_0x138775;if(_0x114d84['id']===_0x34c446[_0x3106b9(0xdf)]){_0x19abcc[_0x3106b9(0x11f)]();const _0x4f28e3=this[_0x3106b9(0x12b)][_0x3106b9(0x153)][_0x3106b9(0x185)](_0x3106b9(0xb6))&&this[_0x3106b9(0x12b)][_0x3106b9(0x153)][_0x3106b9(0x152)](_0x3106b9(0xb6));let _0x447502=_0x114d84[_0x3106b9(0x132)];_0x4f28e3&&_0x4f28e3[_0x3106b9(0x183)]&&(_0x447502=_0x447502[_0x3106b9(0xc6)](_0x2dee7b=>_0x3106b9(0x173)!==_0x2dee7b)),this[_0x3106b9(0x12b)][_0x3106b9(0x153)][_0x3106b9(0x152)](_0x3106b9(0xe9))[_0x3106b9(0x140)](_0x447502,this[_0x3106b9(0x1a4)]);}}),_0x34c446[_0x138775(0xb3)](this[_0x138775(0x1a4)],_0x238f7a);}[_0xcfed1f(0xae)](){const _0x33f777=_0xcfed1f,_0x214cd6=this[_0x33f777(0x12b)][_0x33f777(0x18f)][_0x33f777(0x194)];this[_0x33f777(0x12b)][_0x33f777(0x18f)][_0x33f777(0x194)]=(..._0x4c78ae)=>{const _0x47d340=_0x33f777;if(!_0x4c78ae[_0x4c78ae[_0x47d340(0xed)]-0x1][_0x47d340(0x13c)])throw new _0x36894a(_0x47d340(0x187),this);_0x214cd6[_0x47d340(0x12d)](this[_0x47d340(0x12b)][_0x47d340(0x18f)],_0x4c78ae);};}[_0xcfed1f(0x15d)](){const _0xf6c062=_0xcfed1f;this[_0xf6c062(0x12b)][_0xf6c062(0x18f)]['on'](_0xf6c062(0x101),(_0x54a082,[_0x53a658])=>{const _0x1596f5=_0xf6c062;if(this[_0x1596f5(0x111)][_0x1596f5(0x16c)])throw new _0x36894a(_0x1596f5(0x145),this);_0x54a082[_0x1596f5(0x160)](),this[_0x1596f5(0xc2)]();const _0x19afb3=this[_0x1596f5(0x12b)][_0x1596f5(0xbd)][_0x1596f5(0x152)](_0x1596f5(0x1a6)),_0x56abad=this[_0x1596f5(0x13b)](_0x53a658,_0x19afb3);0x0==_0x56abad[_0x1596f5(0xed)]&&_0x56abad[_0x1596f5(0xfa)](new _0x86463b(0x0)),_0x54a082[_0x1596f5(0xd9)]=this[_0x1596f5(0xeb)](_0x56abad)[_0x1596f5(0x17d)](()=>{const _0x5b3e20=_0x1596f5;this[_0x5b3e20(0x12b)][_0x5b3e20(0x153)][_0x5b3e20(0x152)](_0x5766cd)[_0x5b3e20(0xe3)](this),this[_0x5b3e20(0x12b)][_0x5b3e20(0x18f)][_0x5b3e20(0xf9)](_0x5b3e20(0x1a2));})[_0x1596f5(0xaa)](_0x317b8e=>this[_0x1596f5(0x10b)](_0x1596f5(0x1a7),_0x317b8e))[_0x1596f5(0xf6)](()=>this[_0x1596f5(0x11d)]());},{'priority':_0xf6c062(0xc9)}),this[_0xf6c062(0x12b)]['on'](_0xf6c062(0xa3),async(_0x286e31,[_0x4c1db1,_0x48f3ff])=>{const _0x1b9c49=_0xf6c062;_0x286e31[_0x1b9c49(0x160)]();const _0x2fa44d=this[_0x1b9c49(0x12b)][_0x1b9c49(0xda)][_0x1b9c49(0xad)][_0x1b9c49(0xb7)](_0x4c1db1);if(!this[_0x1b9c49(0x133)][_0x1b9c49(0x185)](_0x4c1db1)){const _0x100556=_0x48f3ff&&_0x48f3ff[_0x1b9c49(0x18f)]?_0x48f3ff[_0x1b9c49(0x18f)]:'',_0x2f22d1=_0x48f3ff&&_0x48f3ff[_0x1b9c49(0x161)]?_0x48f3ff[_0x1b9c49(0x161)]:{};await this[_0x1b9c49(0x144)](_0x4c1db1,_0x100556,_0x2f22d1);}this[_0x1b9c49(0x12b)][_0x1b9c49(0xda)][_0x1b9c49(0x1a5)]({'isUndoable':!0x1},()=>{const _0x47251e=_0x1b9c49;_0x2fa44d[_0x47251e(0x170)]=!0x0,this[_0x47251e(0x12b)][_0x47251e(0xda)][_0x47251e(0xad)][_0x47251e(0x122)][_0x47251e(0x12c)](_0x2fa44d);});},{'priority':_0xf6c062(0xc9)});}async[_0xcfed1f(0x110)](_0x358978){const _0x134d7d=_0xcfed1f,_0x14cda4=this[_0x134d7d(0x12b)][_0x134d7d(0x153)][_0x134d7d(0x152)](_0x347e05),{connection:_0x34792d}=this[_0x134d7d(0x12b)][_0x134d7d(0x153)][_0x134d7d(0x152)](_0x5766cd),_0x5e2adf=new Set();for(const _0xec89e9 of _0x358978){const _0x45f8ed=_0xec89e9[_0x134d7d(0xf4)];_0x45f8ed&&!_0x14cda4[_0x134d7d(0x126)](_0x45f8ed)&&_0x5e2adf[_0x134d7d(0x102)](_0x45f8ed);}if(0x0===_0x5e2adf[_0x134d7d(0x119)])return;const _0x5efb66=await _0x1b19e6[_0x134d7d(0xdb)](_0x34792d,Array[_0x134d7d(0xf2)](_0x5e2adf));for(const _0x5d5ce4 of _0x5efb66)_0x14cda4[_0x134d7d(0x126)](_0x5d5ce4['id'])||_0x14cda4[_0x134d7d(0x107)](_0x5d5ce4);}[_0xcfed1f(0x13b)](_0x125215,_0x2fa533={}){const _0x8a7246=_0xcfed1f,_0x182dcb=this[_0x8a7246(0x12b)][_0x8a7246(0xda)],_0x59eb22=[];let _0x5be896=0x0;const _0x215fa2=_0x8a7246(0x15a)==typeof _0x125215?{'main':_0x125215}:_0x125215;for(const _0x36ada9 of Object[_0x8a7246(0x182)](_0x215fa2)){if(!this[_0x8a7246(0x111)][_0x8a7246(0x171)][_0x8a7246(0x185)](_0x36ada9))throw new _0x36894a(_0x8a7246(0xef),this);const _0x5aaf54=this[_0x8a7246(0x12b)][_0x8a7246(0x18f)][_0x8a7246(0x11b)](_0x215fa2[_0x36ada9]),_0x3945e0=this[_0x8a7246(0x111)][_0x8a7246(0xb7)](_0x36ada9),_0x1f70f3=new _0x33e75c(_0x182dcb[_0x8a7246(0x190)](_0x3945e0,0x0),_0x5aaf54,_0x5be896++);_0x59eb22[_0x8a7246(0xfa)](_0x1f70f3);for(const [_0x437509,_0x10fc4f]of _0x5aaf54[_0x8a7246(0x121)]){const _0x4e3395=_0x182dcb[_0x8a7246(0xa4)](_0x182dcb[_0x8a7246(0xaf)](_0x3945e0,_0x10fc4f[_0x8a7246(0xbc)][_0x8a7246(0x179)][_0x8a7246(0x103)]()),_0x182dcb[_0x8a7246(0xaf)](_0x3945e0,_0x10fc4f[_0x8a7246(0x11e)][_0x8a7246(0x179)][_0x8a7246(0x103)]())),_0x42babb=new _0x131b16(_0x437509,null,_0x4e3395,_0x182dcb[_0x8a7246(0x121)],!0x0,_0x5be896++);_0x59eb22[_0x8a7246(0xfa)](_0x42babb);}}if(_0x2fa533)for(const [_0x5a76a9,_0x35ea2e]of Object[_0x8a7246(0x198)](_0x2fa533)){const _0x31a14a=_0x182dcb[_0x8a7246(0xad)][_0x8a7246(0xb7)](_0x5a76a9);if(!_0x31a14a)throw new _0x36894a(_0x8a7246(0x106),null);for(const [_0x3537b0,_0x11994d]of Object[_0x8a7246(0x198)](_0x35ea2e))if(null!==_0x11994d){const _0x18a4be=new _0x234bc6(_0x31a14a,_0x3537b0,null,_0x11994d,_0x5be896++);_0x59eb22[_0x8a7246(0xfa)](_0x18a4be);}}return _0x59eb22;}async[_0xcfed1f(0x144)](_0x2f2623,_0x5d8dc6,_0x6ccf58){const _0x11bdd4=_0xcfed1f;this[_0x11bdd4(0x13b)]({[_0x2f2623]:_0x5d8dc6},{[_0x2f2623]:_0x6ccf58})[_0x11bdd4(0xb5)]((_0x32b012,_0x569ff9)=>{const _0xd77f86=_0x11bdd4;_0x32b012[_0xd77f86(0xb8)]=this[_0xd77f86(0x111)][_0xd77f86(0x16c)]+_0x569ff9,_0x32b012[_0xd77f86(0xc5)]=!0x0,this[_0xd77f86(0xb4)](_0x32b012);}),this[_0x11bdd4(0x172)](),await this[_0x11bdd4(0xc7)]();}async[_0xcfed1f(0x148)](_0x18796d,_0x9cbcae){const _0x99a698=_0xcfed1f;let _0x17d760;this[_0x99a698(0x19d)]=_0x18796d[_0x99a698(0x17c)];const _0x4280e9=_0x18796d[_0x99a698(0x149)]&&!_0x18796d[_0x99a698(0xc1)],_0x344ddb=_0x4280e9?0x0:_0x18796d[_0x99a698(0x18f)][_0x99a698(0xb8)];if(_0x9cbcae[_0x99a698(0xb5)](_0x490b15=>{const _0x2ad1e7=_0x99a698;_0x490b15[_0x2ad1e7(0xc5)]=!0x0,_0x490b15[_0x2ad1e7(0x16d)]=_0x18796d[_0x2ad1e7(0x175)],_0x490b15[_0x2ad1e7(0xf4)]=null;}),_0x4280e9)_0x17d760=_0x9cbcae,this[_0x99a698(0x1a1)](_0x17d760,_0x4280e9);else{if(_0x18796d[_0x99a698(0xc1)]){const _0x5405c0=this[_0x99a698(0x13b)](_0x18796d[_0x99a698(0xc1)]);this[_0x99a698(0x111)][_0x99a698(0xd4)][_0x99a698(0x16c)]=-_0x5405c0[_0x99a698(0xed)],_0x5405c0[_0x99a698(0xb5)](_0xf30a05=>{const _0x34a61c=_0x99a698;_0xf30a05[_0x34a61c(0xb8)]-=_0x5405c0[_0x34a61c(0xed)],_0xf30a05[_0x34a61c(0x16d)]=_0x18796d[_0x34a61c(0x175)],_0xf30a05[_0x34a61c(0xc5)]=!0x0,_0xf30a05[_0x34a61c(0xf4)]=null;}),this[_0x99a698(0x1a1)](_0x5405c0,!0x0),this[_0x99a698(0xc4)][_0x99a698(0x16c)]=-_0x5405c0[_0x99a698(0xed)]+this[_0x99a698(0x19d)],this[_0x99a698(0xa7)](_0x5405c0);}this[_0x99a698(0x111)][_0x99a698(0xd4)][_0x99a698(0x16c)]=_0x344ddb,_0x17d760=this[_0x99a698(0x157)](_0x18796d[_0x99a698(0x18f)],_0x18796d[_0x99a698(0x14b)]),await this[_0x99a698(0x110)](_0x17d760),this[_0x99a698(0x1a1)](_0x17d760,_0x4280e9);}_0x18796d[_0x99a698(0x10d)]&&(this[_0x99a698(0x13e)][_0x99a698(0xbf)](_0x17d760,_0x18796d[_0x99a698(0x10d)]),this[_0x99a698(0x184)]=_0x18796d[_0x99a698(0x10d)]),this[_0x99a698(0xc4)][_0x99a698(0x16c)]=_0x344ddb+this[_0x99a698(0x19d)],this[_0x99a698(0xa7)](_0x17d760),_0x9cbcae[_0x99a698(0xc6)](_0x5dc9b2=>{const _0x3827bd=_0x99a698,_0x43623f=this[_0x3827bd(0x174)](_0x5dc9b2);return _0x43623f&&!this[_0x3827bd(0x133)][_0x3827bd(0x185)](_0x43623f);})[_0x99a698(0xb5)]((_0xd67802,_0x1708e3)=>{const _0x2e507f=_0x99a698;_0xd67802[_0x2e507f(0xb8)]=this[_0x2e507f(0x111)][_0x2e507f(0x16c)]+_0x1708e3,this[_0x2e507f(0xb4)](_0xd67802);}),this[_0x99a698(0x156)]()?(this[_0x99a698(0x197)]=0x0,this[_0x99a698(0x172)](!0x0),await this[_0x99a698(0xc7)]()):(this[_0x99a698(0x169)]=!0x1,this[_0x99a698(0x11d)]());}[_0xcfed1f(0x10b)](_0x5422b2,_0x1c2e93){const _0x8ce2db=_0xcfed1f,_0x316cc8=_0x1c2e93&&_0x1c2e93[_0x8ce2db(0x176)];if(_0x316cc8&&_0x316cc8[_0x8ce2db(0x186)](_0x8ce2db(0x136)))throw _0x1c2e93;const _0x29821c=this[_0x8ce2db(0x12b)][_0x8ce2db(0x153)][_0x8ce2db(0x152)](_0x5766cd);throw this[_0x8ce2db(0x169)]=!0x0,_0x29821c[_0x8ce2db(0xe7)](),this[_0x8ce2db(0x12b)][_0x8ce2db(0xd6)](_0x8ce2db(0xe8)),new _0x36894a(_0x5422b2,this[_0x8ce2db(0x12b)],_0x316cc8?{'originalError':_0x316cc8}:void 0x0);}[_0xcfed1f(0xb4)](_0xb27b83){const _0x5018cc=_0xcfed1f;this[_0x5018cc(0xe2)][_0x5018cc(0x185)](_0xb27b83)||(this[_0x5018cc(0xe2)][_0x5018cc(0x102)](_0xb27b83),this[_0x5018cc(0x14a)][_0x5018cc(0xfa)](_0xb27b83),this[_0x5018cc(0x19f)]||_0x5018cc(0x167)==_0xb27b83[_0x5018cc(0xba)]&&!_0xb27b83[_0x5018cc(0x128)]||this[_0x5018cc(0xc2)]());}[_0xcfed1f(0x172)](_0x11fb21=!0x1){const _0x40ade8=_0xcfed1f;!_0x11fb21&&this[_0x40ade8(0x169)]||(this[_0x40ade8(0x169)]=!0x0,clearTimeout(this[_0x40ade8(0x147)]),this[_0x40ade8(0x147)]=setTimeout(()=>{const _0x48cdd7=_0x40ade8;this[_0x48cdd7(0x1a0)]()[_0x48cdd7(0x17d)](_0x2e9f32=>{const _0x2b0399=_0x48cdd7;_0x2e9f32&&(this[_0x2b0399(0x11d)](),this[_0x2b0399(0x169)]=!0x1);})[_0x48cdd7(0xaa)](_0x206782=>{const _0x1df21d=_0x48cdd7;this[_0x1df21d(0x11d)](),this[_0x1df21d(0x169)]=!0x1,function(_0x14aaef){const _0x138e22=_0x1df21d;return _0x14aaef[_0x138e22(0x176)][_0x138e22(0x186)](_0x138e22(0x158))||_0x14aaef[_0x138e22(0x176)][_0x138e22(0x186)](_0x138e22(0x138))||_0x14aaef[_0x138e22(0x176)][_0x138e22(0x186)](_0x138e22(0xc8));}(_0x206782)||this[_0x1df21d(0x10b)](_0x206782[_0x1df21d(0x176)],_0x206782);});},this[_0x40ade8(0x197)]));}[_0xcfed1f(0xc7)](){return new Promise(_0x115bf3=>{const _0x375cd4=_0x47d3;this['on'](_0x375cd4(0x17b),()=>{_0x115bf3();});});}async[_0xcfed1f(0x1a0)](){const _0x224f48=_0xcfed1f,_0x4bff0e=this[_0x224f48(0x12b)][_0x224f48(0x153)][_0x224f48(0x152)](_0x7fb4cd);if(this[_0x224f48(0xb9)]()&&(_0x4bff0e[_0x224f48(0x13f)](),this[_0x224f48(0x130)]=!0x1),!this[_0x224f48(0x156)]())return!0x0;const _0x45019c=[...this[_0x224f48(0x14a)]];for(const _0x32b98c of _0x45019c)_0x32b98c[_0x224f48(0xd0)]=this[_0x224f48(0x111)][_0x224f48(0xd4)][_0x224f48(0x150)](_0x32b98c);const _0x37b0a7=this[_0x224f48(0x13e)][_0x224f48(0xa8)](_0x45019c),_0x8e4505=K++,_0x1e3581=this[_0x224f48(0x112)](_0x45019c),_0x11bb7e=await this[_0x224f48(0x14c)][_0x224f48(0xac)](_0x1e3581,_0x1e3581[_0x224f48(0xb8)],_0x37b0a7);try{return await this[_0x224f48(0x189)](_0x45019c,_0x11bb7e,_0x8e4505);}catch(_0x4821cd){return this[_0x224f48(0x10b)](_0x224f48(0x151),_0x4821cd);}}async[_0xcfed1f(0x189)](_0x404ef8,_0x718c34,_0x588853){const _0x30b097=_0xcfed1f;if(_0x30b097(0x15f)in _0x718c34)throw _0x718c34[_0x30b097(0x15f)];let _0x525768=!0x1;if(_0x718c34[_0x30b097(0x149)]){_0x718c34[_0x30b097(0x10d)]&&(this[_0x30b097(0x184)]=_0x718c34[_0x30b097(0x10d)]),this[_0x30b097(0x14a)]=this[_0x30b097(0x14a)][_0x30b097(0xc6)](_0x3b232e=>!_0x404ef8[_0x30b097(0xc0)](_0x3b232e));for(const _0x1f0b53 of _0x404ef8)_0x1f0b53[_0x30b097(0x16d)]=_0x30b097(0xdc)in _0x718c34&&_0x718c34[_0x30b097(0xdc)]||void 0x0;Q(_0x404ef8,_0x718c34[_0x30b097(0x16c)]-_0x404ef8[_0x30b097(0xed)]),this[_0x30b097(0xa7)](_0x404ef8);const _0x169d7a=_0x404ef8[_0x30b097(0xc6)](_0x2eb885=>{const _0x239471=_0x30b097;if(!_0x2eb885[_0x239471(0xc5)])return!0x1;const _0x163842=this[_0x239471(0x174)](_0x2eb885);return _0x163842&&!this[_0x239471(0x133)][_0x239471(0x185)](_0x163842);});Q(_0x169d7a,this[_0x30b097(0x111)][_0x30b097(0x16c)]),this[_0x30b097(0x1a1)](_0x169d7a),_0x525768=!0x0,this[_0x30b097(0x197)]=this[_0x30b097(0xfd)];}else{const _0x583d1d=this[_0x30b097(0x157)](_0x718c34[_0x30b097(0x18f)],_0x718c34[_0x30b097(0x14b)])[_0x30b097(0xc6)](_0x4c5ec2=>_0x4c5ec2[_0x30b097(0xb8)]>=this[_0x30b097(0x165)]);_0x583d1d[_0x30b097(0xb5)](_0x3cb7a0=>this[_0x30b097(0xe5)](_0x3cb7a0)),this[_0x30b097(0x14a)]=this[_0x30b097(0x14a)][_0x30b097(0xc6)](_0x54d603=>!_0x54d603[_0x30b097(0xc5)]||!this[_0x30b097(0x133)][_0x30b097(0x185)](this[_0x30b097(0x174)](_0x54d603))),this[_0x30b097(0x14a)][_0x30b097(0xed)]&&Q(this[_0x30b097(0x14a)],this[_0x30b097(0x14a)][0x0][_0x30b097(0xb8)]),await this[_0x30b097(0x110)](_0x583d1d),_0x525768=this[_0x30b097(0x162)](_0x583d1d,_0x718c34[_0x30b097(0x16c)],_0x718c34[_0x30b097(0x10d)]),this[_0x30b097(0x197)]=Math[_0x30b097(0x14d)](this[_0x30b097(0x197)]/0x2);}return _0x525768?!this[_0x30b097(0x156)]()||(this[_0x30b097(0x172)](!0x0),!0x1):this[_0x30b097(0x10b)](_0x30b097(0x139));}[_0xcfed1f(0x162)](_0x3b5230,_0x4e4883,_0x19fc97){const _0x3e80a4=_0xcfed1f;try{const _0x26e78c={'document':this[_0x3e80a4(0x111)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1746c0,operationsB:_0x1e7af0,originalOperations:_0x2df1dc}=_0x5a17a5(_0x3b5230,this[_0x3e80a4(0x14a)],_0x26e78c);Q(_0x1746c0,this[_0x3e80a4(0x111)][_0x3e80a4(0x16c)]),Q(_0x1e7af0,_0x4e4883);for(const _0x5d4270 of _0x1746c0){const _0x46e614=_0x2df1dc[_0x3e80a4(0x152)](_0x5d4270);_0x5d4270[_0x3e80a4(0xf4)]=_0x46e614?_0x46e614[_0x3e80a4(0xf4)]:null;}_0x19fc97&&(this[_0x3e80a4(0x13e)][_0x3e80a4(0xbf)](_0x3b5230,_0x19fc97),this[_0x3e80a4(0x184)]=_0x19fc97),this[_0x3e80a4(0x14a)]=[..._0x1e7af0],this[_0x3e80a4(0x1a1)](_0x1746c0),this[_0x3e80a4(0xa7)](_0x3b5230);}catch(_0x5a4a02){return console[_0x3e80a4(0x15f)](_0x5a4a02),!0x1;}return!0x0;}[_0xcfed1f(0x1a1)](_0x2d0c07,_0x5ec7b3=!0x1){const _0x1ebf2d=_0xcfed1f;this[_0x1ebf2d(0x12b)][_0x1ebf2d(0xda)][_0x1ebf2d(0x1a5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x429333=>{const _0x55ab74=_0x1ebf2d;for(const _0x1709ad of _0x2d0c07)this[_0x55ab74(0xe2)][_0x55ab74(0x102)](_0x1709ad),this[_0x55ab74(0xe5)](_0x1709ad),_0x429333[_0x55ab74(0x12f)][_0x55ab74(0x166)](_0x1709ad),this[_0x55ab74(0x12b)][_0x55ab74(0xda)][_0x55ab74(0xcb)](_0x1709ad);});}[_0xcfed1f(0xe5)](_0x5cf664){const _0x153c54=_0xcfed1f,_0x411ba3=this[_0x153c54(0x174)](_0x5cf664);_0x411ba3&&this[_0x153c54(0x133)][_0x153c54(0x102)](_0x411ba3);}[_0xcfed1f(0x174)](_0x15e706){const _0x327306=_0xcfed1f;let _0x247e62,_0x3ef503;switch(_0x15e706[_0x327306(0xba)]){case _0x327306(0xe1):_0x247e62=_0x15e706[_0x327306(0x15b)][_0x327306(0x14f)];break;case _0x327306(0x167):if(_0x3ef503=_0x15e706[_0x327306(0xd5)],!_0x3ef503)return null;_0x247e62=_0x3ef503[_0x327306(0x14f)];break;case _0x327306(0x115):_0x247e62=_0x15e706[_0x327306(0x14f)];break;case _0x327306(0xa9):_0x247e62=_0x15e706[_0x327306(0x118)];break;case _0x327306(0x120):_0x247e62=_0x15e706[_0x327306(0x18d)][_0x327306(0x14f)];break;default:return null;}return _0x247e62[_0x327306(0x19c)];}[_0xcfed1f(0xa7)](_0x3af9a4){const _0x2466d7=_0xcfed1f;_0x3af9a4[_0x2466d7(0xb5)](_0x2385c4=>{const _0x59f2f4=_0x2466d7,_0x5bc44f=_0x2385c4[_0x59f2f4(0x168)]();_0x5bc44f[_0x59f2f4(0xf4)]=_0x2385c4[_0x59f2f4(0xf4)],_0x5bc44f[_0x59f2f4(0xc5)]=!!_0x2385c4[_0x59f2f4(0xc5)],_0x5bc44f[_0x59f2f4(0x16d)]=_0x2385c4[_0x59f2f4(0x16d)],_0x5bc44f[_0x59f2f4(0xb8)]+=this[_0x59f2f4(0x19d)],_0x2385c4[_0x59f2f4(0x11a)]&&this[_0x59f2f4(0x154)][_0x59f2f4(0x102)](_0x5bc44f),this[_0x59f2f4(0xc4)][_0x59f2f4(0x166)](_0x5bc44f);});}[_0xcfed1f(0x13a)](_0x20e45a){const _0x398bf9=_0xcfed1f,_0x3eeebe=this[_0x398bf9(0x12b)][_0x398bf9(0x153)][_0x398bf9(0x152)](_0x398bf9(0xd8)),_0x4d4f03=this[_0x398bf9(0x12b)][_0x398bf9(0xe6)];_0x20e45a||(_0x20e45a=_0x4295fc(_0x4d4f03,_0x398bf9(0x127))),_0x3eeebe[_0x398bf9(0xf1)](_0x20e45a,{'title':_0x4295fc(_0x4d4f03,_0x398bf9(0x181)),'namespace':_0x398bf9(0x11c)}),this[_0x398bf9(0xd7)]=!0x0,clearTimeout(this[_0x398bf9(0x147)]),this[_0x398bf9(0x14a)]=[],this[_0x398bf9(0x12b)][_0x398bf9(0x153)][_0x398bf9(0x152)](_0x5766cd)[_0x398bf9(0xe7)]();}[_0xcfed1f(0xc2)](){const _0x4e4924=_0xcfed1f;this[_0x4e4924(0x19f)]||(this[_0x4e4924(0x19f)]=this[_0x4e4924(0x12b)][_0x4e4924(0x153)][_0x4e4924(0x152)](_0x41a5ac)[_0x4e4924(0x102)](_0x4295fc(this[_0x4e4924(0x12b)][_0x4e4924(0xe6)],_0x4e4924(0xb0))));}[_0xcfed1f(0x11d)](){const _0x274962=_0xcfed1f;this[_0x274962(0x19f)]&&(this[_0x274962(0x12b)][_0x274962(0x153)][_0x274962(0x152)](_0x41a5ac)[_0x274962(0xde)](this[_0x274962(0x19f)]),this[_0x274962(0x19f)]=null);}[_0xcfed1f(0x112)](_0x427658){const _0x1c7ef4=_0xcfed1f,_0x70a12f=_0x427658[_0x1c7ef4(0x18a)](_0x14c37a=>_0x14c37a[_0x1c7ef4(0x16f)]());return this[_0x1c7ef4(0x134)][_0x1c7ef4(0xb1)](_0x70a12f);}[_0xcfed1f(0x157)](_0x1dfd5c,_0x24ba00){const _0x5cc19a=_0xcfed1f;return this[_0x5cc19a(0x134)][_0x5cc19a(0x195)](_0x1dfd5c)[_0x5cc19a(0x18a)]((_0x3e7df6,_0x2bb610)=>{const _0x5a4b05=_0x5cc19a,_0xdd6549=_0x5a4b05(0x101)==_0x24ba00[_0x2bb610][_0x5a4b05(0xba)];if(_0x5a4b05(0xd2)==_0x3e7df6[_0x5a4b05(0x178)]){const _0x3f61dc=_0x3e7df6[_0x5a4b05(0x15b)][_0x5a4b05(0x14f)];!this[_0x5a4b05(0x111)][_0x5a4b05(0xb7)](_0x3f61dc)&&(this[_0x5a4b05(0x111)][_0x5a4b05(0xf3)](_0x5a4b05(0xfc),_0x3f61dc)[_0x5a4b05(0xfe)]=!0x1);}const _0x461339=_0xc25501[_0x5a4b05(0xb2)](_0x3e7df6,this[_0x5a4b05(0x111)]);return _0x461339[_0x5a4b05(0xd0)]=_0x3e7df6[_0x5a4b05(0xd0)],_0x461339[_0x5a4b05(0xc5)]=_0xdd6549,_0x461339[_0x5a4b05(0xf4)]=_0xdd6549?null:_0x24ba00[_0x2bb610][_0x5a4b05(0xbb)],_0x461339[_0x5a4b05(0x11a)]=_0x5a4b05(0xf0)===_0x24ba00[_0x2bb610][_0x5a4b05(0xba)],_0x461339[_0x5a4b05(0x16d)]=_0x24ba00[_0x2bb610][_0x5a4b05(0x16d)],_0x461339;});}[_0xcfed1f(0x129)](){const _0x593aee=_0xcfed1f;this[_0x593aee(0x130)]=!0x0,this[_0x593aee(0xb9)]()?this[_0x593aee(0x172)]():this[_0x593aee(0x130)]=!0x1;}[_0xcfed1f(0xb9)](){const _0x51ff8c=_0xcfed1f,_0x4e975f=this[_0x51ff8c(0x12b)][_0x51ff8c(0x153)][_0x51ff8c(0x152)](_0x2e3072)[_0x51ff8c(0x16e)][_0x51ff8c(0x152)](this[_0x51ff8c(0x1a4)]);return!this[_0x51ff8c(0x12b)][_0x51ff8c(0x18e)]&&!!_0x4e975f&&_0x4e975f[_0x51ff8c(0xed)]>0x1&&this[_0x51ff8c(0x130)];}[_0xcfed1f(0x156)](){const _0x5ef03f=_0xcfed1f;return this[_0x5ef03f(0x14a)][_0x5ef03f(0xed)]>0x0||this[_0x5ef03f(0xb9)]();}}class J extends Error{}function Q(_0x39eb7d,_0x57d8d5){const _0xb9f13e=_0xcfed1f;for(const _0x977871 of _0x39eb7d)_0x977871[_0xb9f13e(0xb8)]=_0x57d8d5++;}class X{[_0xcfed1f(0x199)];[_0xcfed1f(0x113)];constructor(_0x240b94){const _0x1e0be0=_0xcfed1f;this[_0x1e0be0(0x199)]=_0x240b94,this[_0x1e0be0(0x113)]=new WeakMap();}[_0xcfed1f(0xa8)](_0x1fda4b){const _0x2a5e1c=_0xcfed1f;let _0x473660=_0x1fda4b[_0x2a5e1c(0xed)];for(;_0x473660--;){const _0x395d95=_0x1fda4b[_0x473660];if(!this[_0x2a5e1c(0x199)][_0x2a5e1c(0x185)](_0x395d95)){if(!this[_0x2a5e1c(0x113)][_0x2a5e1c(0x185)](_0x395d95)){const _0x3c645d=_0x5817d0()[_0x2a5e1c(0x103)](0x1,0x12);this[_0x2a5e1c(0x113)][_0x2a5e1c(0x194)](_0x395d95,_0x3c645d);}return this[_0x2a5e1c(0x113)][_0x2a5e1c(0x152)](_0x395d95);}}}[_0xcfed1f(0xbf)](_0x4f65e3,_0x4d56b6){const _0x4e5165=_0xcfed1f;if(!_0x4d56b6)return;let _0x4ace4e=_0x4f65e3[_0x4e5165(0xed)];for(;_0x4ace4e--;){const _0x1f2d21=_0x4f65e3[_0x4ace4e];this[_0x4e5165(0x199)][_0x4e5165(0x185)](_0x1f2d21)||this[_0x4e5165(0x113)][_0x4e5165(0x194)](_0x1f2d21,_0x4d56b6);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23a124=_0x4df8;function _0x4df8(_0x35a051,_0x11364){const _0x30dda8=_0x30dd();return _0x4df8=function(_0x4df84c,_0x17a1f6){_0x4df84c=_0x4df84c-0xe1;let _0x2d32b9=_0x30dda8[_0x4df84c];return _0x2d32b9;},_0x4df8(_0x35a051,_0x11364);}(function(_0x19c52a,_0x372a10){const _0x26e373=_0x4df8,_0x2c50c2=_0x19c52a();while(!![]){try{const _0xe3943a=-parseInt(_0x26e373(0xed))/0x1*(parseInt(_0x26e373(0xe6))/0x2)+parseInt(_0x26e373(0x102))/0x3*(parseInt(_0x26e373(0x11c))/0x4)+parseInt(_0x26e373(0xe3))/0x5+parseInt(_0x26e373(0x111))/0x6*(-parseInt(_0x26e373(0xfb))/0x7)+-parseInt(_0x26e373(0x10c))/0x8+-parseInt(_0x26e373(0xf9))/0x9*(-parseInt(_0x26e373(0xf3))/0xa)+-parseInt(_0x26e373(0xe8))/0xb*(parseInt(_0x26e373(0x110))/0xc);if(_0xe3943a===_0x372a10)break;else _0x2c50c2['push'](_0x2c50c2['shift']());}catch(_0x1992eb){_0x2c50c2['push'](_0x2c50c2['shift']());}}}(_0x30dd,0xbed74));import{ContextPlugin as _0x5c34fe}from'ckeditor5/src/core.js';import{Collection as _0x296a3b,CKEditorError as _0x49d0c1}from'ckeditor5/src/utils.js';function _0x30dd(){const _0x18ce63=['get','plugins','63gTUYWc','forEach','681555kPIQVI','addUser','remove','delete','clear','allConnectedUsers','context','135cBcJLv','orderNumber','requires','init','size','_handleSessionAdd','getUser','isMe','_uniqueUsersCount','_users','4141120EgFUrK','mySessionId','_handleSessionRemove','role','9035256fgKImA','24LNnRcA','getUserSessions','has','getUserBySessionId','sessionAdd:','_registeredSessions','assign','listenTo','pluginName','isOfficialPlugin','unregister','33148ZYWIsz','channelSessions','Sessions','add','register','sessions-unregister-not-exist','_createUser','sessions-register-already-registered','5840730dfeMFn','getUserRole','change:state','314akUgBa','sessionId','11AhEDks','state','connected','channelConnectedUsers','set','2903eeKuQG','user','values','isPremiumPlugin','fire','defineMe','1937760hIzKMP','stopListening','hiddenInPresenceList','connection'];_0x30dd=function(){return _0x18ce63;};return _0x30dd();}import{WebSocketGateway as _0x3e7ab7}from'./websocketgateway.js';import{Users as _0x2d8c4c}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5c34fe{[_0x23a124(0x11d)];[_0x23a124(0xeb)];[_0x23a124(0x100)];[_0x23a124(0x116)];[_0x23a124(0x10a)];[_0x23a124(0x10b)];static get[_0x23a124(0x119)](){const _0x31f39e=_0x23a124;return _0x31f39e(0x11e);}static get[_0x23a124(0x11a)](){return!0x0;}static get[_0x23a124(0xf0)](){return!0x0;}static get[_0x23a124(0x104)](){return[_0x3e7ab7,_0x2d8c4c];}constructor(_0x44b341){const _0x57e68e=_0x23a124;super(_0x44b341),this[_0x57e68e(0x11d)]=new Map(),this[_0x57e68e(0xeb)]=new Map(),this[_0x57e68e(0x100)]=new _0x296a3b(),this[_0x57e68e(0x116)]=new Map(),this[_0x57e68e(0x10a)]=0x0,this[_0x57e68e(0x10b)]=this[_0x57e68e(0x101)][_0x57e68e(0xf8)][_0x57e68e(0xf7)](_0x2d8c4c);}[_0x23a124(0x105)](){const _0x3a223d=_0x23a124,_0x4e4dab=this[_0x3a223d(0x101)][_0x3a223d(0xf8)][_0x3a223d(0xf7)](_0x3e7ab7);this[_0x3a223d(0x118)](_0x4e4dab,_0x3a223d(0xe5),(_0x168e12,_0x165af5,_0x42d27d)=>{const _0x21cf8a=_0x3a223d;if(_0x21cf8a(0xea)!==_0x42d27d)this[_0x21cf8a(0x11d)][_0x21cf8a(0xfa)](_0x125b8c=>_0x125b8c[_0x21cf8a(0xff)]()),this[_0x21cf8a(0xeb)][_0x21cf8a(0xfa)](_0x35223d=>_0x35223d[_0x21cf8a(0xff)]()),this[_0x21cf8a(0x100)][_0x21cf8a(0xff)]();else{for(const [_0x52c8d8,_0x3c2696]of this[_0x21cf8a(0x116)])for(const _0x42633b of _0x3c2696)this[_0x21cf8a(0x107)](_0x52c8d8,_0x42633b);}}),this[_0x3a223d(0xe1)](_0x4e4dab[_0x3a223d(0xf6)]['me'],!0x0);}[_0x23a124(0x120)](_0x25106a,_0x445dc5){const _0xb080a4=_0x23a124;if(this[_0xb080a4(0x116)][_0xb080a4(0x113)](_0x25106a))throw new _0x49d0c1(_0xb080a4(0xe2),null,{'channelId':_0x25106a});this[_0xb080a4(0x116)][_0xb080a4(0xec)](_0x25106a,_0x445dc5),this[_0xb080a4(0x11d)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0xeb)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0x11f),(_0x7b2061,_0x57e61f)=>this[_0xb080a4(0x107)](_0x25106a,_0x57e61f)),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0xfd),(_0x2ec06d,_0x26c2ad)=>this[_0xb080a4(0x10e)](_0x25106a,_0x26c2ad));for(const _0x2bfc42 of _0x445dc5)this[_0xb080a4(0x107)](_0x25106a,_0x2bfc42);}[_0x23a124(0x11b)](_0xa49413){const _0x16ac9c=_0x23a124;if(!this[_0x16ac9c(0x116)][_0x16ac9c(0x113)](_0xa49413))throw new _0x49d0c1(_0x16ac9c(0x121),null,{'channelId':_0xa49413});const _0x1e6ca6=this[_0x16ac9c(0x116)][_0x16ac9c(0xf7)](_0xa49413);this[_0x16ac9c(0xf4)](_0x1e6ca6);for(const _0x30daf9 of _0x1e6ca6)_0x16ac9c(0xea)===this[_0x16ac9c(0x101)][_0x16ac9c(0xf8)][_0x16ac9c(0xf7)](_0x3e7ab7)[_0x16ac9c(0xe9)]&&this[_0x16ac9c(0x10e)](_0xa49413,_0x30daf9);this[_0x16ac9c(0x116)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0x11d)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0xeb)][_0x16ac9c(0xfe)](_0xa49413);}get[_0x23a124(0x10d)](){const _0x13e652=_0x23a124;return this[_0x13e652(0x101)][_0x13e652(0xf8)][_0x13e652(0xf7)](_0x3e7ab7)[_0x13e652(0xf6)][_0x13e652(0xe7)];}[_0x23a124(0x114)](_0x148714){const _0x5daf53=_0x23a124;for(const _0x543ba6 of this[_0x5daf53(0x11d)][_0x5daf53(0xef)]())for(const _0x5121f4 of _0x543ba6)if(_0x5121f4['id']===_0x148714)return _0x5121f4[_0x5daf53(0xee)];}[_0x23a124(0x112)](_0x1934e0,_0x3fd731){const _0x861c89=_0x23a124,_0x16a7cb=_0x3fd731?[this[_0x861c89(0x11d)][_0x861c89(0xf7)](_0x3fd731)]:this[_0x861c89(0x11d)][_0x861c89(0xef)](),_0x7af0ad=new Set();for(const _0x33244b of _0x16a7cb)for(const _0x2cdd00 of _0x33244b)_0x2cdd00[_0x861c89(0xee)]['id']===_0x1934e0['id']&&_0x7af0ad[_0x861c89(0x11f)](_0x2cdd00['id']);return _0x7af0ad;}[_0x23a124(0xe4)](_0x2c5e95){const _0xa5fc22=_0x23a124;for(const _0x46d509 of this[_0xa5fc22(0x11d)][_0xa5fc22(0xef)]())for(const _0x40f5a4 of _0x46d509)if(_0x40f5a4[_0xa5fc22(0xee)]===_0x2c5e95)return _0x40f5a4[_0xa5fc22(0x10f)];}[_0x23a124(0x107)](_0x416843,_0x95c322){const _0x257704=_0x23a124;if(_0x257704(0xea)!==this[_0x257704(0x101)][_0x257704(0xf8)][_0x257704(0xf7)](_0x3e7ab7)[_0x257704(0xe9)])return;const _0x2f1204=_0x95c322[_0x257704(0xee)],_0x406b27=this[_0x257704(0x10b)][_0x257704(0x108)](_0x2f1204['id'])||this[_0x257704(0xe1)](_0x2f1204),_0x58f5e4=Object[_0x257704(0x117)]({},_0x95c322,{'user':_0x406b27});if(this[_0x257704(0x11d)][_0x257704(0xf7)](_0x416843)[_0x257704(0x11f)](_0x58f5e4),!_0x2f1204[_0x257704(0xf5)]){const _0xd2ae2c=this[_0x257704(0xeb)][_0x257704(0xf7)](_0x416843);_0xd2ae2c[_0x257704(0x113)](_0x406b27['id'])||_0xd2ae2c[_0x257704(0x11f)](_0x406b27),this[_0x257704(0x100)][_0x257704(0x113)](_0x406b27['id'])||_0x2f1204[_0x257704(0xf5)]||this[_0x257704(0x100)][_0x257704(0x11f)](_0x406b27,_0x406b27[_0x257704(0x109)]?0x0:void 0x0);}this[_0x257704(0xf1)](_0x257704(0x115)+_0x416843,{'channelId':_0x416843,'session':_0x58f5e4});}[_0x23a124(0x10e)](_0x12f74e,_0x2450b9){const _0x4a963c=_0x23a124;if(_0x4a963c(0xea)!==this[_0x4a963c(0x101)][_0x4a963c(0xf8)][_0x4a963c(0xf7)](_0x3e7ab7)[_0x4a963c(0xe9)])return;const _0x425cfb=this[_0x4a963c(0xeb)][_0x4a963c(0xf7)](_0x12f74e),_0x1fc9a4=_0x2450b9[_0x4a963c(0xee)];_0x1fc9a4['id']&&(this[_0x4a963c(0x11d)][_0x4a963c(0xf7)](_0x12f74e)[_0x4a963c(0xfd)](_0x2450b9['id']),_0x425cfb[_0x4a963c(0x113)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4,_0x12f74e)[_0x4a963c(0x106)]&&_0x425cfb[_0x4a963c(0xfd)](_0x1fc9a4['id']),this[_0x4a963c(0x100)][_0x4a963c(0xf7)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4)[_0x4a963c(0x106)]&&this[_0x4a963c(0x100)][_0x4a963c(0xfd)](_0x1fc9a4['id']));}[_0x23a124(0xe1)](_0x127bd0,_0x63e002){const _0x1666ee=_0x23a124,_0x466a63=this[_0x1666ee(0x10b)][_0x1666ee(0xfc)](_0x127bd0);return _0x63e002&&this[_0x1666ee(0x10b)][_0x1666ee(0xf2)](_0x127bd0['id']),_0x466a63[_0x1666ee(0x103)]=this[_0x1666ee(0x10a)]++,_0x466a63;}}
23
+ const _0x23638c=_0x7450;(function(_0xc67afc,_0xa2dea){const _0x9682cc=_0x7450,_0x564041=_0xc67afc();while(!![]){try{const _0xf4925f=-parseInt(_0x9682cc(0x164))/0x1*(-parseInt(_0x9682cc(0x146))/0x2)+-parseInt(_0x9682cc(0x13a))/0x3+parseInt(_0x9682cc(0x13d))/0x4+parseInt(_0x9682cc(0x14d))/0x5*(parseInt(_0x9682cc(0x166))/0x6)+-parseInt(_0x9682cc(0x147))/0x7*(-parseInt(_0x9682cc(0x14c))/0x8)+-parseInt(_0x9682cc(0x152))/0x9+parseInt(_0x9682cc(0x151))/0xa*(-parseInt(_0x9682cc(0x157))/0xb);if(_0xf4925f===_0xa2dea)break;else _0x564041['push'](_0x564041['shift']());}catch(_0x5cbc1b){_0x564041['push'](_0x564041['shift']());}}}(_0x47ad,0x9d1a8));import{ContextPlugin as _0x49283c}from'ckeditor5/src/core.js';import{Collection as _0x1010bf,CKEditorError as _0x2afa86}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4b347b}from'./websocketgateway.js';function _0x7450(_0x3eb769,_0x22d05){const _0x47adf7=_0x47ad();return _0x7450=function(_0x7450f7,_0x1ae973){_0x7450f7=_0x7450f7-0x13a;let _0x571bec=_0x47adf7[_0x7450f7];return _0x571bec;},_0x7450(_0x3eb769,_0x22d05);}import{Users as _0x5ae249}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x49283c{[_0x23638c(0x143)];[_0x23638c(0x16e)];[_0x23638c(0x170)];[_0x23638c(0x178)];[_0x23638c(0x159)];[_0x23638c(0x161)];static get[_0x23638c(0x16d)](){const _0x5d0eb8=_0x23638c;return _0x5d0eb8(0x169);}static get[_0x23638c(0x13b)](){return!0x0;}static get[_0x23638c(0x148)](){return!0x0;}static get[_0x23638c(0x13c)](){return[_0x4b347b,_0x5ae249];}constructor(_0x5d848a){const _0x3b2a2e=_0x23638c;super(_0x5d848a),this[_0x3b2a2e(0x143)]=new Map(),this[_0x3b2a2e(0x16e)]=new Map(),this[_0x3b2a2e(0x170)]=new _0x1010bf(),this[_0x3b2a2e(0x178)]=new Map(),this[_0x3b2a2e(0x159)]=0x0,this[_0x3b2a2e(0x161)]=this[_0x3b2a2e(0x16c)][_0x3b2a2e(0x14b)][_0x3b2a2e(0x16f)](_0x5ae249);}[_0x23638c(0x140)](){const _0x12109d=_0x23638c,_0x10cfeb=this[_0x12109d(0x16c)][_0x12109d(0x14b)][_0x12109d(0x16f)](_0x4b347b);this[_0x12109d(0x15e)](_0x10cfeb,_0x12109d(0x15c),(_0x340874,_0x657335,_0x5d47ba)=>{const _0x51b860=_0x12109d;if(_0x51b860(0x15b)!==_0x5d47ba)this[_0x51b860(0x143)][_0x51b860(0x13e)](_0x49968a=>_0x49968a[_0x51b860(0x162)]()),this[_0x51b860(0x16e)][_0x51b860(0x13e)](_0x5e1e02=>_0x5e1e02[_0x51b860(0x162)]()),this[_0x51b860(0x170)][_0x51b860(0x162)]();else{for(const [_0x564391,_0x13b444]of this[_0x51b860(0x178)])for(const _0x16e48d of _0x13b444)this[_0x51b860(0x177)](_0x564391,_0x16e48d);}}),this[_0x12109d(0x144)](_0x10cfeb[_0x12109d(0x163)]['me'],!0x0);}[_0x23638c(0x142)](_0x3e9c2d,_0x102433){const _0x1d589c=_0x23638c;if(this[_0x1d589c(0x178)][_0x1d589c(0x160)](_0x3e9c2d))throw new _0x2afa86(_0x1d589c(0x13f),null,{'channelId':_0x3e9c2d});this[_0x1d589c(0x178)][_0x1d589c(0x165)](_0x3e9c2d,_0x102433),this[_0x1d589c(0x143)][_0x1d589c(0x165)](_0x3e9c2d,new _0x1010bf()),this[_0x1d589c(0x16e)][_0x1d589c(0x165)](_0x3e9c2d,new _0x1010bf()),this[_0x1d589c(0x15e)](_0x102433,_0x1d589c(0x153),(_0x55bb91,_0x39a036)=>this[_0x1d589c(0x177)](_0x3e9c2d,_0x39a036)),this[_0x1d589c(0x15e)](_0x102433,_0x1d589c(0x154),(_0x3fe2e1,_0x5592cd)=>this[_0x1d589c(0x14a)](_0x3e9c2d,_0x5592cd));for(const _0x5639b9 of _0x102433)this[_0x1d589c(0x177)](_0x3e9c2d,_0x5639b9);}[_0x23638c(0x15a)](_0x27272d){const _0x20d2a3=_0x23638c;if(!this[_0x20d2a3(0x178)][_0x20d2a3(0x160)](_0x27272d))throw new _0x2afa86(_0x20d2a3(0x16b),null,{'channelId':_0x27272d});const _0x20836b=this[_0x20d2a3(0x178)][_0x20d2a3(0x16f)](_0x27272d);this[_0x20d2a3(0x173)](_0x20836b);for(const _0x5d0205 of _0x20836b)_0x20d2a3(0x15b)===this[_0x20d2a3(0x16c)][_0x20d2a3(0x14b)][_0x20d2a3(0x16f)](_0x4b347b)[_0x20d2a3(0x16a)]&&this[_0x20d2a3(0x14a)](_0x27272d,_0x5d0205);this[_0x20d2a3(0x178)][_0x20d2a3(0x15f)](_0x27272d),this[_0x20d2a3(0x143)][_0x20d2a3(0x15f)](_0x27272d),this[_0x20d2a3(0x16e)][_0x20d2a3(0x15f)](_0x27272d);}get[_0x23638c(0x167)](){const _0x29ebfa=_0x23638c;return this[_0x29ebfa(0x16c)][_0x29ebfa(0x14b)][_0x29ebfa(0x16f)](_0x4b347b)[_0x29ebfa(0x163)][_0x29ebfa(0x179)];}[_0x23638c(0x174)](_0x343a5c){const _0x400732=_0x23638c;for(const _0x250720 of this[_0x400732(0x143)][_0x400732(0x14f)]())for(const _0xf6f74a of _0x250720)if(_0xf6f74a['id']===_0x343a5c)return _0xf6f74a[_0x400732(0x145)];}[_0x23638c(0x176)](_0x3aa01a,_0x31c544){const _0x14f2db=_0x23638c,_0xea7946=_0x31c544?[this[_0x14f2db(0x143)][_0x14f2db(0x16f)](_0x31c544)]:this[_0x14f2db(0x143)][_0x14f2db(0x14f)](),_0xbd7391=new Set();for(const _0x2a4193 of _0xea7946)for(const _0x905c1f of _0x2a4193)_0x905c1f[_0x14f2db(0x145)]['id']===_0x3aa01a['id']&&_0xbd7391[_0x14f2db(0x153)](_0x905c1f['id']);return _0xbd7391;}[_0x23638c(0x149)](_0x30b5bd){const _0x2833d2=_0x23638c;for(const _0x50cd01 of this[_0x2833d2(0x143)][_0x2833d2(0x14f)]())for(const _0x10cf7e of _0x50cd01)if(_0x10cf7e[_0x2833d2(0x145)]===_0x30b5bd)return _0x10cf7e[_0x2833d2(0x158)];}[_0x23638c(0x177)](_0x2999ad,_0x188db4){const _0x5de4f3=_0x23638c;if(_0x5de4f3(0x15b)!==this[_0x5de4f3(0x16c)][_0x5de4f3(0x14b)][_0x5de4f3(0x16f)](_0x4b347b)[_0x5de4f3(0x16a)])return;const _0x5f03ca=_0x188db4[_0x5de4f3(0x145)],_0x83c73b=this[_0x5de4f3(0x161)][_0x5de4f3(0x156)](_0x5f03ca['id'])||this[_0x5de4f3(0x144)](_0x5f03ca),_0x5816fd=Object[_0x5de4f3(0x141)]({},_0x188db4,{'user':_0x83c73b});if(this[_0x5de4f3(0x143)][_0x5de4f3(0x16f)](_0x2999ad)[_0x5de4f3(0x153)](_0x5816fd),!_0x5f03ca[_0x5de4f3(0x14e)]){const _0x45ec7a=this[_0x5de4f3(0x16e)][_0x5de4f3(0x16f)](_0x2999ad);_0x45ec7a[_0x5de4f3(0x160)](_0x83c73b['id'])||_0x45ec7a[_0x5de4f3(0x153)](_0x83c73b),this[_0x5de4f3(0x170)][_0x5de4f3(0x160)](_0x83c73b['id'])||_0x5f03ca[_0x5de4f3(0x14e)]||this[_0x5de4f3(0x170)][_0x5de4f3(0x153)](_0x83c73b,_0x83c73b[_0x5de4f3(0x168)]?0x0:void 0x0);}this[_0x5de4f3(0x175)](_0x5de4f3(0x15d)+_0x2999ad,{'channelId':_0x2999ad,'session':_0x5816fd});}[_0x23638c(0x14a)](_0x12fff3,_0x3cb0c4){const _0x299973=_0x23638c;if(_0x299973(0x15b)!==this[_0x299973(0x16c)][_0x299973(0x14b)][_0x299973(0x16f)](_0x4b347b)[_0x299973(0x16a)])return;const _0x1023cc=this[_0x299973(0x16e)][_0x299973(0x16f)](_0x12fff3),_0x4e1f7d=_0x3cb0c4[_0x299973(0x145)];_0x4e1f7d['id']&&(this[_0x299973(0x143)][_0x299973(0x16f)](_0x12fff3)[_0x299973(0x154)](_0x3cb0c4['id']),_0x1023cc[_0x299973(0x160)](_0x4e1f7d['id'])&&!this[_0x299973(0x176)](_0x4e1f7d,_0x12fff3)[_0x299973(0x172)]&&_0x1023cc[_0x299973(0x154)](_0x4e1f7d['id']),this[_0x299973(0x170)][_0x299973(0x16f)](_0x4e1f7d['id'])&&!this[_0x299973(0x176)](_0x4e1f7d)[_0x299973(0x172)]&&this[_0x299973(0x170)][_0x299973(0x154)](_0x4e1f7d['id']));}[_0x23638c(0x144)](_0xa2f227,_0x3f3a23){const _0x31a3fd=_0x23638c,_0x3cca67=this[_0x31a3fd(0x161)][_0x31a3fd(0x171)](_0xa2f227);return _0x3f3a23&&this[_0x31a3fd(0x161)][_0x31a3fd(0x150)](_0xa2f227['id']),_0x3cca67[_0x31a3fd(0x155)]=this[_0x31a3fd(0x159)]++,_0x3cca67;}}function _0x47ad(){const _0x14aa1b=['connection','103718PIgfLj','set','3450NXmUcd','mySessionId','isMe','Sessions','state','sessions-unregister-not-exist','context','pluginName','channelConnectedUsers','get','allConnectedUsers','addUser','size','stopListening','getUserBySessionId','fire','getUserSessions','_handleSessionAdd','_registeredSessions','sessionId','457023bolUOK','isOfficialPlugin','requires','4752964trSZhm','forEach','sessions-register-already-registered','init','assign','register','channelSessions','_createUser','user','2JTjnHo','7ZxJkcw','isPremiumPlugin','getUserRole','_handleSessionRemove','plugins','7439176RjkFVc','1150cghWgk','hiddenInPresenceList','values','defineMe','20cJzfeT','2090385zdiWFJ','add','remove','orderNumber','getUser','7293022GELPFh','role','_uniqueUsersCount','unregister','connected','change:state','sessionAdd:','listenTo','delete','has','_users','clear'];_0x47ad=function(){return _0x14aa1b;};return _0x47ad();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ca79c=_0xd126;function _0x2538(){const _0x268868=['newRange','_createdBatches','516FiyRTo','createUIElement','user:position:','remove','1bbIhWx','getPositions','isPremiumPlugin','toRange','getContainedElement','UserMarkers','6269010bxnVeq','mouseleave','clear','schema','start','false','getNearestSelectionRange','isCollapsed','color','removeClass','setCustomProperty','toDomElement','_domEmitter','selection','spellcheck','markerRange','removeMarker','marker','getStart','ck-user__marker\x20','createElement','3lYyqgO','9uaoWwG','275219hbuNSu','addMarker','root','isOfficialPlugin','$graveyard','data-session-id','tableCell','oldRange','rootName','user:range:','listenTo','fromRange','editing','destroy','name','orderNumber','mouseenter','keydown','$text','for','model','textContent','ck-user__marker-tooltip','editingDowncast','hasDomSelection','detach','commands','userPositionMarker','contenteditable','createRange','startsWith','render','isInline','isSimilar','change:range','user:','conversion','requires','outerHTML','markerToElement','12086710JIzzvD','isDocumentOperation','getMarkerClass','reconvertMarker','document','getRange','delete','ck-user__selection','pluginName','enqueueChange','deletionPosition','update:user:range','split','updateMarker','add','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','set','getAttribute','6186zKTqIF','classList','setAttribute','has','undo','markers','highest','isLimit','span','431764iyRWua','innerHTML','hasContent','afterInit','296aGVFUe','getUserBySessionId','view','mapper','getSelectionClass','225576uyuGTQ','markerNameToElements','element','user:position','user:range','527654ZhmfYO','markerName','init','getCustomProperty','ck-user__marker_hovered','addEventListener','parent','stopListening','isObject','applyOperation','nodeAfter','getFirstRange','batch','change','editor','type','createUserMarkerOperations','plugins','size','mySessionId','end','markerToHighlight','4260iNgSWe','checkChild','Escape'];_0x2538=function(){return _0x268868;};return _0x2538();}function _0xd126(_0x3a8426,_0x28a8d6){const _0x253891=_0x2538();return _0xd126=function(_0xd1269a,_0x1868ee){_0xd1269a=_0xd1269a-0x125;let _0x1cb877=_0x253891[_0xd1269a];return _0x1cb877;},_0xd126(_0x3a8426,_0x28a8d6);}(function(_0x11cdda,_0x45dfcd){const _0x2fbec6=_0xd126,_0x4905ef=_0x11cdda();while(!![]){try{const _0x141e8c=parseInt(_0x2fbec6(0x19c))/0x1*(parseInt(_0x2fbec6(0x17d))/0x2)+parseInt(_0x2fbec6(0x129))/0x3*(parseInt(_0x2fbec6(0x16f))/0x4)+-parseInt(_0x2fbec6(0x193))/0x5*(-parseInt(_0x2fbec6(0x166))/0x6)+-parseInt(_0x2fbec6(0x12b))/0x7*(parseInt(_0x2fbec6(0x173))/0x8)+-parseInt(_0x2fbec6(0x12a))/0x9*(-parseInt(_0x2fbec6(0x153))/0xa)+parseInt(_0x2fbec6(0x1a2))/0xb+-parseInt(_0x2fbec6(0x198))/0xc*(parseInt(_0x2fbec6(0x178))/0xd);if(_0x141e8c===_0x45dfcd)break;else _0x4905ef['push'](_0x4905ef['shift']());}catch(_0x3fe0e8){_0x4905ef['push'](_0x4905ef['shift']());}}}(_0x2538,0xca1f8));import{Plugin as _0x5be099}from'ckeditor5/src/core.js';import{global as _0xea0329,DomEmitterMixin as _0x5b54a5}from'ckeditor5/src/utils.js';import{Sessions as _0x27c69c}from'./sessions.js';import{ModelLiveRange as _0x2cdbb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x5be099{[_0x3ca79c(0x1ae)]=new(_0x5b54a5())();static get[_0x3ca79c(0x150)](){return[_0x27c69c];}static get[_0x3ca79c(0x15b)](){const _0x217fcf=_0x3ca79c;return _0x217fcf(0x1a1);}static get[_0x3ca79c(0x12e)](){return!0x0;}static get[_0x3ca79c(0x19e)](){return!0x0;}[_0x3ca79c(0x17f)](){const _0x5f02ea=_0x3ca79c,_0x41c12f=this[_0x5f02ea(0x18b)],_0x155256=_0x41c12f[_0x5f02ea(0x18e)][_0x5f02ea(0x163)](_0x27c69c);_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x152)]({'model':_0x5f02ea(0x17b),'view':(_0x4b0ede,{writer:_0x28ee31})=>function(_0x381025,_0x3efa83,_0x16a297,_0x510f29){const _0x405a4f=_0x5f02ea,_0x59061b=_0x381025[_0x405a4f(0x17e)][_0x405a4f(0x15f)](':')[0x2],_0x307b23=_0x16a297[_0x405a4f(0x174)](_0x59061b);if(!_0x307b23||_0x59061b===_0x16a297[_0x405a4f(0x190)])return;if(!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x194)](_0x381025[_0x405a4f(0x1b1)][_0x405a4f(0x1a6)],_0x405a4f(0x13d)))return;const _0x20a414={'class':_0x405a4f(0x127)+_0x307b23[_0x405a4f(0x1aa)][_0x405a4f(0x155)](),'data-name':_0x307b23[_0x405a4f(0x139)],'data-session-id':_0x59061b},_0x505deb=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x381025[_0x405a4f(0x17e)]),_0x5ef4bb=_0x505deb[_0x405a4f(0x126)](),_0x33a790=_0x5ef4bb[_0x405a4f(0x187)],_0x4e2970=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)];if(_0x33a790&&_0x4e2970[_0x405a4f(0x185)](_0x33a790)&&_0x4e2970[_0x405a4f(0x14b)](_0x33a790)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x405a4f(0x134)+_0x59061b)[_0x405a4f(0x158)]()[_0x405a4f(0x1a9)])return;const _0x1641a8=_0x5ef4bb[_0x405a4f(0x183)];return _0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x16d)](_0x1641a8)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x171)](_0x1641a8)&&(_0x20a414[_0x405a4f(0x147)]=!0x1),function(_0x25a96d,_0x472e24,_0x412a4c){const _0x4a5ed2=_0x405a4f,_0x1ce1eb=_0x25a96d[_0x4a5ed2(0x199)](_0x4a5ed2(0x16e),_0x472e24);return _0x25a96d[_0x4a5ed2(0x1ac)](_0x4a5ed2(0x146),!0x0,_0x1ce1eb),_0x1ce1eb[_0x4a5ed2(0x14a)]=function(_0x5b026a){const _0x2c90d4=_0x4a5ed2,_0xca9501=this[_0x2c90d4(0x1ad)](_0x5b026a),_0x353357=document[_0x2c90d4(0x128)](_0x2c90d4(0x16e));return _0x353357[_0x2c90d4(0x167)][_0x2c90d4(0x161)](_0x2c90d4(0x141)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x147),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x1b0),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x140)]=_0x412a4c[_0x2c90d4(0x139)],_0xca9501[_0x2c90d4(0x170)]=_0x2c90d4(0x162)+_0x353357[_0x2c90d4(0x151)]+'⁠',_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x13b),()=>{const _0x5d7111=_0x2c90d4;_0xca9501[_0x5d7111(0x167)][_0x5d7111(0x161)](_0x5d7111(0x181));}),_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x1a3),()=>{const _0x360eee=_0x2c90d4;_0xca9501[_0x360eee(0x167)][_0x360eee(0x19b)](_0x360eee(0x181));}),_0xca9501;},_0x1ce1eb[_0x4a5ed2(0x14c)]=function(_0x338aa3){const _0x3be9bb=_0x4a5ed2;return!(!this[_0x3be9bb(0x180)](_0x3be9bb(0x146))||!_0x338aa3[_0x3be9bb(0x180)](_0x3be9bb(0x146))||this[_0x3be9bb(0x165)](_0x3be9bb(0x130))!=_0x338aa3[_0x3be9bb(0x165)](_0x3be9bb(0x130)));},_0x1ce1eb;}(_0x3efa83,_0x20a414,_0x307b23);}(_0x4b0ede,_0x28ee31,_0x155256,_0x41c12f)}),_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x192)]({'model':_0x5f02ea(0x17c),'view':_0x5b31f9=>function(_0x5c506e,_0x5555c9){const _0x2f9f80=_0x5f02ea,_0x2cce21=_0x5c506e[_0x2f9f80(0x17e)][_0x2f9f80(0x15f)](':')[0x2];if(_0x2cce21===_0x5555c9[_0x2f9f80(0x190)])return null;const _0x12c843=_0x5555c9[_0x2f9f80(0x174)](_0x2cce21);if(!_0x12c843)return{'id':_0x2cce21,'classes':[]};return{'id':_0x2cce21,'classes':[_0x2f9f80(0x15a),_0x12c843[_0x2f9f80(0x1aa)][_0x2f9f80(0x177)]()],'attributes':{'data-session-id':_0x2cce21},'priority':0x7d0+_0x12c843[_0x2f9f80(0x13a)]};}(_0x5b31f9,_0x155256)}),function(_0x49ea98){const _0x47b878=_0x5f02ea,_0xa4f0dd=_0x49ea98[_0x47b878(0x13f)],_0x1e0a26=new Map(),_0x3ef685=_0x49ea98[_0x47b878(0x18e)][_0x47b878(0x163)](_0x27c69c);_0xa4f0dd[_0x47b878(0x16b)]['on'](_0x47b878(0x15e),(_0x922422,_0x29f905,_0x172efd,_0x36a8a6)=>{const _0xc9e73f=_0x47b878;if(!_0x36a8a6&&_0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)]))return _0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)])[_0xc9e73f(0x144)](),void _0x1e0a26[_0xc9e73f(0x159)](_0x29f905[_0xc9e73f(0x139)]);const _0x20465a=_0x29f905[_0xc9e73f(0x139)][_0xc9e73f(0x15f)](':')[0x2];if(_0x20465a===_0x3ef685[_0xc9e73f(0x190)])return;const _0x5dc1c7=_0xc9e73f(0x19a)+_0x20465a;_0xa4f0dd[_0xc9e73f(0x16b)][_0xc9e73f(0x169)](_0x5dc1c7)&&_0x49ea98[_0xc9e73f(0x137)][_0xc9e73f(0x156)](_0x5dc1c7),_0x29f905['on'](_0xc9e73f(0x14d),(_0x3c9d4e,_0x20a60a,_0x133234)=>{const _0x5feb0e=_0xc9e73f;if(_0x5feb0e(0x12f)!=_0x20a60a[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&_0x5feb0e(0x12f)==_0x29f905[_0x5feb0e(0x158)]()[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&!_0x1e0a26[_0x5feb0e(0x169)](_0x29f905[_0x5feb0e(0x139)])){const _0x46aded=_0xa4f0dd[_0x5feb0e(0x1a5)][_0x5feb0e(0x1a8)](_0x133234[_0x5feb0e(0x15d)]);if(_0x46aded){const _0x4dfa3d=_0x2cdbb8[_0x5feb0e(0x136)](_0x46aded);_0x1e0a26[_0x5feb0e(0x164)](_0x29f905[_0x5feb0e(0x139)],_0x4dfa3d),_0x4dfa3d['on'](_0x5feb0e(0x14d),(_0x19f75a,_0x2cfc97,_0x81ca37)=>{const _0x53ee5a=_0x5feb0e;if(_0x53ee5a(0x12f)==_0x4dfa3d[_0x53ee5a(0x12d)][_0x53ee5a(0x133)]){const _0x551493=_0xa4f0dd[_0x53ee5a(0x1a5)][_0x53ee5a(0x1a8)](_0x81ca37[_0x53ee5a(0x15d)]);_0x551493?(_0x4dfa3d[_0x53ee5a(0x1a6)]=_0x551493[_0x53ee5a(0x1a6)],_0x4dfa3d[_0x53ee5a(0x191)]=_0x551493[_0x53ee5a(0x191)]):(_0x1e0a26[_0x53ee5a(0x159)](_0x29f905[_0x53ee5a(0x139)]),_0x4dfa3d[_0x53ee5a(0x144)]());}});}}});}),_0xa4f0dd[_0x47b878(0x157)]['on'](_0x47b878(0x18a),()=>{const _0x363898=_0x47b878;_0x1e0a26[_0x363898(0x18f)]>0x0&&_0xa4f0dd[_0x363898(0x15c)]({'isUndoable':!0x1},_0x27da9b=>{const _0xf2f1c3=_0x363898;for(const [_0x84a8c5,_0x14f0c0]of _0x1e0a26)_0xf2f1c3(0x12f)==_0xa4f0dd[_0xf2f1c3(0x16b)][_0xf2f1c3(0x163)](_0x84a8c5)[_0xf2f1c3(0x158)]()[_0xf2f1c3(0x12d)][_0xf2f1c3(0x133)]&&(Z(_0x84a8c5[_0xf2f1c3(0x15f)](':')[0x2],_0x14f0c0[_0xf2f1c3(0x19f)](),_0xa4f0dd,_0x27da9b),_0x14f0c0[_0xf2f1c3(0x144)]());_0x1e0a26[_0xf2f1c3(0x1a4)]();});});}(_0x41c12f),this[_0x5f02ea(0x1ae)][_0x5f02ea(0x135)](_0xea0329[_0x5f02ea(0x157)],_0x5f02ea(0x13c),(_0x44da52,{key:_0x58b69c})=>{const _0x1fedba=_0x5f02ea;_0x1fedba(0x195)===_0x58b69c&&function(_0x1484fd){const _0x256b94=_0x1fedba;_0x1484fd[_0x256b94(0x137)][_0x256b94(0x175)][_0x256b94(0x18a)](_0x57b137=>{const _0xbabf67=_0x256b94;for(const _0x3d659f of _0x1484fd[_0xbabf67(0x13f)][_0xbabf67(0x16b)]){if(!_0x3d659f[_0xbabf67(0x139)][_0xbabf67(0x149)](_0xbabf67(0x17b)))continue;const _0x1905b3=_0x1484fd[_0xbabf67(0x137)][_0xbabf67(0x176)][_0xbabf67(0x179)](_0x3d659f[_0xbabf67(0x139)]);if(_0x1905b3){for(const _0x29fe30 of _0x1905b3)_0x57b137[_0xbabf67(0x1ab)](_0xbabf67(0x181),_0x29fe30);}}});}(_0x41c12f);},{'useCapture':!0x0});}[_0x3ca79c(0x172)](){const _0x19b12d=_0x3ca79c,_0xfdca7a=this[_0x19b12d(0x18b)],_0x19230a=_0xfdca7a[_0x19b12d(0x145)][_0x19b12d(0x163)](_0x19b12d(0x16a));_0x19230a&&_0xfdca7a[_0x19b12d(0x13f)]['on'](_0x19b12d(0x186),(_0x56261e,_0x14d216)=>{const _0x41990c=_0x19b12d,_0x24fae2=_0x14d216[0x0];if(!_0x24fae2[_0x41990c(0x154)])return;if(_0x41990c(0x125)!=_0x24fae2[_0x41990c(0x18c)]||!_0x24fae2[_0x41990c(0x139)][_0x41990c(0x149)](_0x41990c(0x14e)))return;const _0x443c37=_0x24fae2[_0x41990c(0x189)];_0x19230a[_0x41990c(0x197)][_0x41990c(0x169)](_0x443c37)&&(_0x24fae2[_0x41990c(0x196)]=_0x24fae2[_0x41990c(0x132)]?_0xfdca7a[_0x41990c(0x13f)][_0x41990c(0x148)](_0x24fae2[_0x41990c(0x132)][_0x41990c(0x1a6)],_0x24fae2[_0x41990c(0x132)][_0x41990c(0x191)]):null);},{'priority':_0x19b12d(0x16c)});}[_0x3ca79c(0x138)](){const _0x27baf8=_0x3ca79c;return this[_0x27baf8(0x1ae)][_0x27baf8(0x184)](),super[_0x27baf8(0x138)]();}[_0x3ca79c(0x18d)](){const _0x9995b0=_0x3ca79c,_0x222be4=this[_0x9995b0(0x18b)],_0x5b39d0=_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x157)],_0x201d64=_0x222be4[_0x9995b0(0x18e)][_0x9995b0(0x163)](_0x27c69c);_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x15c)]({'isUndoable':!0x1},_0x257eb4=>{const _0x55c7c9=_0x9995b0,_0x13579d=_0x55c7c9(0x134)+_0x201d64[_0x55c7c9(0x190)],_0x594398=_0x55c7c9(0x19a)+_0x201d64[_0x55c7c9(0x190)],_0x510883=_0x222be4[_0x55c7c9(0x13f)][_0x55c7c9(0x16b)][_0x55c7c9(0x169)](_0x13579d);_0x222be4[_0x55c7c9(0x137)][_0x55c7c9(0x175)][_0x55c7c9(0x143)]?Z(_0x201d64[_0x55c7c9(0x190)],_0x5b39d0[_0x55c7c9(0x1af)][_0x55c7c9(0x188)](),_0x222be4[_0x55c7c9(0x13f)],_0x257eb4):_0x510883&&(_0x257eb4[_0x55c7c9(0x1b2)](_0x13579d),_0x257eb4[_0x55c7c9(0x1b2)](_0x594398));});}}function Z(_0x3d1933,_0x2b6969,_0x1ad735,_0x2e76ef){const _0x2b1b7d=_0x3ca79c,_0x3288af=_0x2b1b7d(0x134)+_0x3d1933,_0x143928=_0x2b1b7d(0x19a)+_0x3d1933,_0x3403f8=_0x2b6969[_0x2b1b7d(0x1a0)]();let _0x4546d8=_0x2b6969[_0x2b1b7d(0x1a6)];if(_0x3403f8&&_0x3403f8['is'](_0x2b1b7d(0x17a),_0x2b1b7d(0x131))){const _0x94ea64=function(_0xb4d7a0,_0x56701e){const _0x18011b=_0x2b1b7d;for(const _0x564e91 of _0xb4d7a0[_0x18011b(0x19d)]())if(_0x56701e[_0x18011b(0x1a5)][_0x18011b(0x194)](_0x564e91,_0x18011b(0x13d)))return _0x564e91;}(_0x2b6969,_0x1ad735);_0x94ea64&&(_0x4546d8=_0x94ea64,_0x2b6969=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8));}const _0x4a3106=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8);_0x1ad735[_0x2b1b7d(0x16b)][_0x2b1b7d(0x169)](_0x3288af)?(_0x2e76ef[_0x2b1b7d(0x160)](_0x3288af,{'range':_0x2b6969}),_0x2e76ef[_0x2b1b7d(0x160)](_0x143928,{'range':_0x4a3106})):(_0x2e76ef[_0x2b1b7d(0x12c)](_0x3288af,{'range':_0x2b6969,'usingOperation':!0x0}),_0x2e76ef[_0x2b1b7d(0x12c)](_0x143928,{'range':_0x4a3106,'usingOperation':!0x0}));}
23
+ const _0x44338f=_0x2b98;(function(_0x135b6e,_0x2dcb31){const _0x3addcd=_0x2b98,_0x4df1ae=_0x135b6e();while(!![]){try{const _0x5dd9d6=parseInt(_0x3addcd(0x71))/0x1+parseInt(_0x3addcd(0xb1))/0x2+parseInt(_0x3addcd(0x7d))/0x3*(-parseInt(_0x3addcd(0xe3))/0x4)+-parseInt(_0x3addcd(0x75))/0x5+parseInt(_0x3addcd(0x92))/0x6+parseInt(_0x3addcd(0x81))/0x7*(-parseInt(_0x3addcd(0x91))/0x8)+-parseInt(_0x3addcd(0xde))/0x9;if(_0x5dd9d6===_0x2dcb31)break;else _0x4df1ae['push'](_0x4df1ae['shift']());}catch(_0x22040b){_0x4df1ae['push'](_0x4df1ae['shift']());}}}(_0x54e2,0x5db72));import{Plugin as _0x3641dc}from'ckeditor5/src/core.js';import{global as _0x320e4f,DomEmitterMixin as _0x555c54}from'ckeditor5/src/utils.js';import{Sessions as _0x314c24}from'./sessions.js';function _0x2b98(_0x35c441,_0x51fa6a){const _0x54e29c=_0x54e2();return _0x2b98=function(_0x2b9877,_0x337449){_0x2b9877=_0x2b9877-0x66;let _0x4863b0=_0x54e29c[_0x2b9877];return _0x4863b0;},_0x2b98(_0x35c441,_0x51fa6a);}import{ModelLiveRange as _0x4e9912}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3641dc{[_0x44338f(0xc8)]=new(_0x555c54())();static get[_0x44338f(0x8c)](){return[_0x314c24];}static get[_0x44338f(0xe0)](){const _0x38dfc7=_0x44338f;return _0x38dfc7(0xc9);}static get[_0x44338f(0x6f)](){return!0x0;}static get[_0x44338f(0x8f)](){return!0x0;}[_0x44338f(0xc2)](){const _0xd6d3d4=_0x44338f,_0x2653a8=this[_0xd6d3d4(0x8e)],_0x4698e8=_0x2653a8[_0xd6d3d4(0x7a)][_0xd6d3d4(0x67)](_0x314c24);_0x2653a8[_0xd6d3d4(0xbf)][_0xd6d3d4(0xa5)](_0xd6d3d4(0xed))[_0xd6d3d4(0x77)]({'model':_0xd6d3d4(0x9b),'view':(_0x483f4a,{writer:_0x380c55})=>function(_0x4c3f1d,_0x43fc64,_0x57c843,_0x40e584){const _0xf23c8=_0xd6d3d4,_0x4f8376=_0x4c3f1d[_0xf23c8(0xba)][_0xf23c8(0xab)](':')[0x2],_0x2954ab=_0x57c843[_0xf23c8(0x83)](_0x4f8376);if(!_0x2954ab||_0x4f8376===_0x57c843[_0xf23c8(0xe7)])return;if(!_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xa0)][_0xf23c8(0xce)](_0x4c3f1d[_0xf23c8(0x8d)][_0xf23c8(0xe5)],_0xf23c8(0x88)))return;const _0x59c560={'class':_0xf23c8(0xb5)+_0x2954ab[_0xf23c8(0xc1)][_0xf23c8(0xa9)](),'data-name':_0x2954ab[_0xf23c8(0xd5)],'data-session-id':_0x4f8376},_0x550da0=_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0x70)][_0xf23c8(0x67)](_0x4c3f1d[_0xf23c8(0xba)]),_0x18cdc7=_0x550da0[_0xf23c8(0x78)](),_0x1608f9=_0x18cdc7[_0xf23c8(0x7e)],_0x3dab5f=_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xa0)];if(_0x1608f9&&_0x3dab5f[_0xf23c8(0xb2)](_0x1608f9)&&_0x3dab5f[_0xf23c8(0x89)](_0x1608f9)&&!_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0x70)][_0xf23c8(0x67)](_0xf23c8(0x6d)+_0x4f8376)[_0xf23c8(0xb4)]()[_0xf23c8(0x74)])return;const _0x31bea3=_0x18cdc7[_0xf23c8(0xa3)];return _0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xa0)][_0xf23c8(0x98)](_0x31bea3)&&!_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xd6)](_0x31bea3)&&(_0x59c560[_0xf23c8(0x9c)]=!0x1),function(_0x29776d,_0x4a7ceb,_0x22c288){const _0x13facd=_0xf23c8,_0xc7894d=_0x29776d[_0x13facd(0x85)](_0x13facd(0xeb),_0x4a7ceb);return _0x29776d[_0x13facd(0xd8)](_0x13facd(0xa1),!0x0,_0xc7894d),_0xc7894d[_0x13facd(0xe8)]=function(_0x260d5d){const _0x4b9ba3=_0x13facd,_0x777b4=this[_0x4b9ba3(0xe9)](_0x260d5d),_0x1d9314=document[_0x4b9ba3(0x93)](_0x4b9ba3(0xeb));return _0x1d9314[_0x4b9ba3(0xa6)][_0x4b9ba3(0x8b)](_0x4b9ba3(0x6b)),_0x1d9314[_0x4b9ba3(0x7b)](_0x4b9ba3(0x9c),_0x4b9ba3(0xd0)),_0x1d9314[_0x4b9ba3(0x7b)](_0x4b9ba3(0xaf),_0x4b9ba3(0xd0)),_0x1d9314[_0x4b9ba3(0xb9)]=_0x22c288[_0x4b9ba3(0xd5)],_0x777b4[_0x4b9ba3(0xdf)]=_0x4b9ba3(0xb3)+_0x1d9314[_0x4b9ba3(0xcc)]+'⁠',_0x777b4[_0x4b9ba3(0x94)](_0x4b9ba3(0xaa),()=>{const _0x52034b=_0x4b9ba3;_0x777b4[_0x52034b(0xa6)][_0x52034b(0x8b)](_0x52034b(0x9e));}),_0x777b4[_0x4b9ba3(0x94)](_0x4b9ba3(0xe6),()=>{const _0x13fb86=_0x4b9ba3;_0x777b4[_0x13fb86(0xa6)][_0x13fb86(0x79)](_0x13fb86(0x9e));}),_0x777b4;},_0xc7894d[_0x13facd(0xca)]=function(_0x47c3be){const _0x1234ac=_0x13facd;return!(!this[_0x1234ac(0x68)](_0x1234ac(0xa1))||!_0x47c3be[_0x1234ac(0x68)](_0x1234ac(0xa1))||this[_0x1234ac(0xb7)](_0x1234ac(0x90))!=_0x47c3be[_0x1234ac(0xb7)](_0x1234ac(0x90)));},_0xc7894d;}(_0x43fc64,_0x59c560,_0x2954ab);}(_0x483f4a,_0x380c55,_0x4698e8,_0x2653a8)}),_0x2653a8[_0xd6d3d4(0xbf)][_0xd6d3d4(0xa5)](_0xd6d3d4(0xed))[_0xd6d3d4(0xe1)]({'model':_0xd6d3d4(0x7c),'view':_0x3cdd0f=>function(_0x501233,_0x4ade0c){const _0x39ec5b=_0xd6d3d4,_0x509f94=_0x501233[_0x39ec5b(0xba)][_0x39ec5b(0xab)](':')[0x2];if(_0x509f94===_0x4ade0c[_0x39ec5b(0xe7)])return null;const _0x39128a=_0x4ade0c[_0x39ec5b(0x83)](_0x509f94);if(!_0x39128a)return{'id':_0x509f94,'classes':[]};return{'id':_0x509f94,'classes':[_0x39ec5b(0xe4),_0x39128a[_0x39ec5b(0xc1)][_0x39ec5b(0xe2)]()],'attributes':{'data-session-id':_0x509f94},'priority':0x7d0+_0x39128a[_0x39ec5b(0xd9)]};}(_0x3cdd0f,_0x4698e8)}),function(_0x5051ff){const _0x433672=_0xd6d3d4,_0x306bb4=_0x5051ff[_0x433672(0xdd)],_0x75c65b=new Map(),_0x456933=_0x5051ff[_0x433672(0x7a)][_0x433672(0x67)](_0x314c24);_0x306bb4[_0x433672(0x70)]['on'](_0x433672(0xcd),(_0x215e2a,_0x104d20,_0x5984e2,_0x4c0c8b)=>{const _0x51cc71=_0x433672;if(!_0x4c0c8b&&_0x75c65b[_0x51cc71(0x67)](_0x104d20[_0x51cc71(0xd5)]))return _0x75c65b[_0x51cc71(0x67)](_0x104d20[_0x51cc71(0xd5)])[_0x51cc71(0x72)](),void _0x75c65b[_0x51cc71(0x69)](_0x104d20[_0x51cc71(0xd5)]);const _0x1946a2=_0x104d20[_0x51cc71(0xd5)][_0x51cc71(0xab)](':')[0x2];if(_0x1946a2===_0x456933[_0x51cc71(0xe7)])return;const _0x22e75c=_0x51cc71(0x97)+_0x1946a2;_0x306bb4[_0x51cc71(0x70)][_0x51cc71(0xd3)](_0x22e75c)&&_0x5051ff[_0x51cc71(0xad)][_0x51cc71(0xd1)](_0x22e75c),_0x104d20['on'](_0x51cc71(0x66),(_0x5a3b79,_0x1cd156,_0xa95b55)=>{const _0x9c24d8=_0x51cc71;if(_0x9c24d8(0xb8)!=_0x1cd156[_0x9c24d8(0x6c)][_0x9c24d8(0xd2)]&&_0x9c24d8(0xb8)==_0x104d20[_0x9c24d8(0xb4)]()[_0x9c24d8(0x6c)][_0x9c24d8(0xd2)]&&!_0x75c65b[_0x9c24d8(0xd3)](_0x104d20[_0x9c24d8(0xd5)])){const _0x198d94=_0x306bb4[_0x9c24d8(0xa0)][_0x9c24d8(0xcf)](_0xa95b55[_0x9c24d8(0xdb)]);if(_0x198d94){const _0x3cb093=_0x4e9912[_0x9c24d8(0x8a)](_0x198d94);_0x75c65b[_0x9c24d8(0xbe)](_0x104d20[_0x9c24d8(0xd5)],_0x3cb093),_0x3cb093['on'](_0x9c24d8(0x66),(_0x1a64d9,_0xacd427,_0x1df21a)=>{const _0x527a6a=_0x9c24d8;if(_0x527a6a(0xb8)==_0x3cb093[_0x527a6a(0x6c)][_0x527a6a(0xd2)]){const _0x2ba326=_0x306bb4[_0x527a6a(0xa0)][_0x527a6a(0xcf)](_0x1df21a[_0x527a6a(0xdb)]);_0x2ba326?(_0x3cb093[_0x527a6a(0xe5)]=_0x2ba326[_0x527a6a(0xe5)],_0x3cb093[_0x527a6a(0x87)]=_0x2ba326[_0x527a6a(0x87)]):(_0x75c65b[_0x527a6a(0x69)](_0x104d20[_0x527a6a(0xd5)]),_0x3cb093[_0x527a6a(0x72)]());}});}}});}),_0x306bb4[_0x433672(0x9f)]['on'](_0x433672(0x80),()=>{const _0x207c75=_0x433672;_0x75c65b[_0x207c75(0xbc)]>0x0&&_0x306bb4[_0x207c75(0xa7)]({'isUndoable':!0x1},_0x4edf3b=>{const _0x2c7ddf=_0x207c75;for(const [_0x3755e1,_0x24ea9f]of _0x75c65b)_0x2c7ddf(0xb8)==_0x306bb4[_0x2c7ddf(0x70)][_0x2c7ddf(0x67)](_0x3755e1)[_0x2c7ddf(0xb4)]()[_0x2c7ddf(0x6c)][_0x2c7ddf(0xd2)]&&(re(_0x3755e1[_0x2c7ddf(0xab)](':')[0x2],_0x24ea9f[_0x2c7ddf(0xec)](),_0x306bb4,_0x4edf3b),_0x24ea9f[_0x2c7ddf(0x72)]());_0x75c65b[_0x2c7ddf(0xc4)]();});});}(_0x2653a8),this[_0xd6d3d4(0xc8)][_0xd6d3d4(0x84)](_0x320e4f[_0xd6d3d4(0x9f)],_0xd6d3d4(0x86),(_0x246c5b,{key:_0x18ae2d})=>{const _0x5edccc=_0xd6d3d4;_0x5edccc(0x95)===_0x18ae2d&&function(_0x34d20d){const _0x41dd25=_0x5edccc;_0x34d20d[_0x41dd25(0xad)][_0x41dd25(0x99)][_0x41dd25(0x80)](_0x5b029b=>{const _0x49d325=_0x41dd25;for(const _0x596b62 of _0x34d20d[_0x49d325(0xdd)][_0x49d325(0x70)]){if(!_0x596b62[_0x49d325(0xd5)][_0x49d325(0xa8)](_0x49d325(0x9b)))continue;const _0x3d22aa=_0x34d20d[_0x49d325(0xad)][_0x49d325(0xc6)][_0x49d325(0xb0)](_0x596b62[_0x49d325(0xd5)]);if(_0x3d22aa){for(const _0x42bcd8 of _0x3d22aa)_0x5b029b[_0x49d325(0xa2)](_0x49d325(0x9e),_0x42bcd8);}}});}(_0x2653a8);},{'useCapture':!0x0});}[_0x44338f(0x82)](){const _0x34c781=_0x44338f,_0x4e3a04=this[_0x34c781(0x8e)],_0x5aee35=_0x4e3a04[_0x34c781(0xc0)][_0x34c781(0x67)](_0x34c781(0xac));_0x5aee35&&_0x4e3a04[_0x34c781(0xdd)]['on'](_0x34c781(0xc3),(_0x21b4ad,_0x2b21ee)=>{const _0xc4990c=_0x34c781,_0x13aea8=_0x2b21ee[0x0];if(!_0x13aea8[_0xc4990c(0xea)])return;if(_0xc4990c(0x9a)!=_0x13aea8[_0xc4990c(0x73)]||!_0x13aea8[_0xc4990c(0xd5)][_0xc4990c(0xa8)](_0xc4990c(0xef)))return;const _0x1a1bc2=_0x13aea8[_0xc4990c(0xdc)];_0x5aee35[_0xc4990c(0xbb)][_0xc4990c(0xd3)](_0x1a1bc2)&&(_0x13aea8[_0xc4990c(0xd7)]=_0x13aea8[_0xc4990c(0x76)]?_0x4e3a04[_0xc4990c(0xdd)][_0xc4990c(0x9d)](_0x13aea8[_0xc4990c(0x76)][_0xc4990c(0xe5)],_0x13aea8[_0xc4990c(0x76)][_0xc4990c(0x87)]):null);},{'priority':_0x34c781(0xee)});}[_0x44338f(0x96)](){const _0x354a8c=_0x44338f;return this[_0x354a8c(0xc8)][_0x354a8c(0xae)](),super[_0x354a8c(0x96)]();}[_0x44338f(0x6e)](){const _0x6ffbc3=_0x44338f,_0x2766c9=this[_0x6ffbc3(0x8e)],_0x1233f9=_0x2766c9[_0x6ffbc3(0xdd)][_0x6ffbc3(0x9f)],_0x5775ec=_0x2766c9[_0x6ffbc3(0x7a)][_0x6ffbc3(0x67)](_0x314c24);_0x2766c9[_0x6ffbc3(0xdd)][_0x6ffbc3(0xa7)]({'isUndoable':!0x1},_0x4d2242=>{const _0x2875b6=_0x6ffbc3,_0x324efd=_0x2875b6(0x6d)+_0x5775ec[_0x2875b6(0xe7)],_0x37e0a5=_0x2875b6(0x97)+_0x5775ec[_0x2875b6(0xe7)],_0x5b0838=_0x2766c9[_0x2875b6(0xdd)][_0x2875b6(0x70)][_0x2875b6(0xd3)](_0x324efd);_0x2766c9[_0x2875b6(0xad)][_0x2875b6(0x99)][_0x2875b6(0xc7)]?re(_0x5775ec[_0x2875b6(0xe7)],_0x1233f9[_0x2875b6(0xbd)][_0x2875b6(0xb6)](),_0x2766c9[_0x2875b6(0xdd)],_0x4d2242):_0x5b0838&&(_0x4d2242[_0x2875b6(0xc5)](_0x324efd),_0x4d2242[_0x2875b6(0xc5)](_0x37e0a5));});}}function _0x54e2(){const _0x4acf28=['getSelectionClass','4pkosaj','ck-user__selection','start','mouseleave','mySessionId','render','toDomElement','isDocumentOperation','span','toRange','editingDowncast','highest','user:','change:range','get','getCustomProperty','delete','tableCell','ck-user__marker-tooltip','root','user:range:','createUserMarkerOperations','isOfficialPlugin','markers','627770onqVwU','detach','type','isCollapsed','264245fSUWuT','oldRange','markerToElement','getStart','remove','plugins','setAttribute','user:range','1032309dpaPGC','nodeAfter','addMarker','change','6391BhRHTw','afterInit','getUserBySessionId','listenTo','createUIElement','keydown','end','$text','isInline','fromRange','add','requires','markerRange','editor','isPremiumPlugin','data-session-id','3832FWXBgs','1318116keLJee','createElement','addEventListener','Escape','destroy','user:position:','isLimit','view','marker','user:position','contenteditable','createRange','ck-user__marker_hovered','document','schema','userPositionMarker','removeClass','parent','getContainedElement','for','classList','enqueueChange','startsWith','getMarkerClass','mouseenter','split','undo','editing','stopListening','spellcheck','markerNameToElements','1366256hxjDIn','isObject','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getRange','ck-user__marker\x20','getFirstRange','getAttribute','$graveyard','textContent','markerName','_createdBatches','size','selection','set','conversion','commands','color','init','applyOperation','clear','removeMarker','mapper','hasDomSelection','_domEmitter','UserMarkers','isSimilar','updateMarker','outerHTML','update:user:range','checkChild','getNearestSelectionRange','false','reconvertMarker','rootName','has','element','name','hasContent','newRange','setCustomProperty','orderNumber','getPositions','deletionPosition','batch','model','2812023psLCcR','innerHTML','pluginName','markerToHighlight'];_0x54e2=function(){return _0x4acf28;};return _0x54e2();}function re(_0x46b83e,_0x3aa620,_0xd576bf,_0x42e227){const _0x2c18eb=_0x44338f,_0x35e58e=_0x2c18eb(0x6d)+_0x46b83e,_0x2735ad=_0x2c18eb(0x97)+_0x46b83e,_0x4bce41=_0x3aa620[_0x2c18eb(0xa4)]();let _0x4dd758=_0x3aa620[_0x2c18eb(0xe5)];if(_0x4bce41&&_0x4bce41['is'](_0x2c18eb(0xd4),_0x2c18eb(0x6a))){const _0x18a11d=function(_0x53771b,_0x39f381){const _0x4e50c3=_0x2c18eb;for(const _0x475f8f of _0x53771b[_0x4e50c3(0xda)]())if(_0x39f381[_0x4e50c3(0xa0)][_0x4e50c3(0xce)](_0x475f8f,_0x4e50c3(0x88)))return _0x475f8f;}(_0x3aa620,_0xd576bf);_0x18a11d&&(_0x4dd758=_0x18a11d,_0x3aa620=_0x42e227[_0x2c18eb(0x9d)](_0x4dd758));}const _0x310ed7=_0x42e227[_0x2c18eb(0x9d)](_0x4dd758);_0xd576bf[_0x2c18eb(0x70)][_0x2c18eb(0xd3)](_0x35e58e)?(_0x42e227[_0x2c18eb(0xcb)](_0x35e58e,{'range':_0x3aa620}),_0x42e227[_0x2c18eb(0xcb)](_0x2735ad,{'range':_0x310ed7})):(_0x42e227[_0x2c18eb(0x7f)](_0x35e58e,{'range':_0x3aa620,'usingOperation':!0x0}),_0x42e227[_0x2c18eb(0x7f)](_0x2735ad,{'range':_0x310ed7,'usingOperation':!0x0}));}