@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.2 → 46.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17b5c7=_0x3512;function _0x4280(){const _0x4a7147=['fire','84RyMVoo','presencelist:show','Connected\x20users\x20list','listenTo','isExpanded','1378977HMQyhD','aria-expanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','set','list','keystrokes','render','setAttribute','.ck-presence-list__dropdown-list','element','contains','.ck-balloon-panel_with-arrow','focus','bindTemplate','createCollection','querySelector','21zKMKqt','setTemplate','93165DedDhD','55497WfIOpw','834942daEqyk','ck-presence-list__list','removeAttribute','hasPopup','1034622phzRfO','items','13488399urZbEQ','div','change:hasPopup','383536AETaza','presencelist:hide'];_0x4280=function(){return _0x4a7147;};return _0x4280();}(function(_0x3843ee,_0x5d425e){const _0x17316a=_0x3512,_0x44b4a8=_0x3843ee();while(!![]){try{const _0x2d0c6a=-parseInt(_0x17316a(0xe6))/0x1+parseInt(_0x17316a(0xeb))/0x2+parseInt(_0x17316a(0xf8))/0x3+parseInt(_0x17316a(0xf3))/0x4*(parseInt(_0x17316a(0xe5))/0x5)+parseInt(_0x17316a(0xe7))/0x6*(parseInt(_0x17316a(0xe3))/0x7)+parseInt(_0x17316a(0xf0))/0x8+-parseInt(_0x17316a(0xed))/0x9;if(_0x2d0c6a===_0x5d425e)break;else _0x44b4a8['push'](_0x44b4a8['shift']());}catch(_0x2850d2){_0x44b4a8['push'](_0x44b4a8['shift']());}}}(_0x4280,0x443ac));import{View as _0x4b1cff}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x175ca5}from'ckeditor5/src/utils.js';import{getTranslation as _0x55fcaf}from'../../common-translations.js';function _0x3512(_0x457ba5,_0x5b8839){const _0x428009=_0x4280();return _0x3512=function(_0x35126a,_0x32bec1){_0x35126a=_0x35126a-0xd7;let _0x539eed=_0x428009[_0x35126a];return _0x539eed;},_0x3512(_0x457ba5,_0x5b8839);}export class PresenceInlineListView extends _0x4b1cff{[_0x17b5c7(0xec)];[_0x17b5c7(0xd8)];constructor(_0x1da2c7){const _0x3a8320=_0x17b5c7;super(_0x1da2c7);const _0x110705=this[_0x3a8320(0xe0)];this[_0x3a8320(0xec)]=this[_0x3a8320(0xe1)](),this[_0x3a8320(0xd8)]=new _0x175ca5(),this[_0x3a8320(0xfc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3a8320(0xe4)]({'tag':_0x3a8320(0xee),'attributes':{'aria-haspopup':_0x110705['if'](_0x3a8320(0xea)),'aria-expanded':_0x110705['to'](_0x3a8320(0xf7),_0xa53b5f=>this[_0x3a8320(0xea)]&&String(_0xa53b5f)),'aria-label':_0x110705['to'](_0x3a8320(0xea),_0x1673b6=>_0x55fcaf(_0x1da2c7,_0x1673b6?_0x3a8320(0xfa):_0x3a8320(0xf5))),'role':_0x3a8320(0xd7),'tabindex':_0x110705['to'](_0x3a8320(0xea),_0x294c27=>!!_0x294c27&&0x0),'class':['ck',_0x3a8320(0xe8)]},'children':this[_0x3a8320(0xec)],'on':{'mouseenter':_0x110705['to'](()=>this[_0x3a8320(0xf2)](_0x3a8320(0xf4))),'mouseleave':_0x110705['to'](_0x1c36fa=>{const _0x36e0bf=_0x3a8320,_0x5b27bf=_0x1c36fa,_0x2bf4fc=document[_0x36e0bf(0xe2)](_0x36e0bf(0xdb)),_0x277c14=document[_0x36e0bf(0xe2)](_0x36e0bf(0xde));_0x2bf4fc?.[_0x36e0bf(0xdd)](_0x5b27bf[_0x36e0bf(0xfb)])||_0x277c14?.[_0x36e0bf(0xdd)](_0x5b27bf[_0x36e0bf(0xfb)])||this[_0x36e0bf(0xf2)](_0x36e0bf(0xf1));})}}),this['on'](_0x3a8320(0xef),(_0x3ae7ed,_0x525785,_0x2079ec)=>{const _0x32f3d1=_0x3a8320;this[_0x32f3d1(0xdc)]&&(_0x2079ec?this[_0x32f3d1(0xdc)][_0x32f3d1(0xda)](_0x32f3d1(0xf9),String(this[_0x32f3d1(0xf7)])):this[_0x32f3d1(0xdc)][_0x32f3d1(0xe9)](_0x32f3d1(0xf9)));});}[_0x17b5c7(0xdf)](){const _0x310112=_0x17b5c7;this[_0x310112(0xdc)][_0x310112(0xdf)]();}[_0x17b5c7(0xd9)](){const _0x31e284=_0x17b5c7;super[_0x31e284(0xd9)](),this[_0x31e284(0xd8)][_0x31e284(0xf6)](this[_0x31e284(0xdc)]);}}
23
+ const _0x292d4a=_0x19bb;function _0x3faa(){const _0x10aff6=['30yIbMif','2930SKsfLG','Connected\x20users\x20list','ck-presence-list__list','hasPopup','aria-expanded','keystrokes','.ck-presence-list__dropdown-list','bindTemplate','presencelist:hide','contains','relatedTarget','20YfJSlQ','list','items','154469xJYryK','isExpanded','5622364tblQKM','div','removeAttribute','querySelector','25LmRnFi','20184Bnrnlt','.ck-balloon-panel_with-arrow','1431696SrYDpr','176836mAzEfb','setTemplate','change:hasPopup','listenTo','createCollection','focus','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','fire','422826oWGQbP','render','set','presencelist:show','333DTjGti','setAttribute'];_0x3faa=function(){return _0x10aff6;};return _0x3faa();}(function(_0x21619a,_0xcbd9f9){const _0x16e331=_0x19bb,_0x2718a5=_0x21619a();while(!![]){try{const _0x342670=-parseInt(_0x16e331(0x172))/0x1+-parseInt(_0x16e331(0x15c))/0x2*(parseInt(_0x16e331(0x166))/0x3)+parseInt(_0x16e331(0x169))/0x4*(parseInt(_0x16e331(0x165))/0x5)+-parseInt(_0x16e331(0x178))/0x6*(parseInt(_0x16e331(0x15f))/0x7)+parseInt(_0x16e331(0x168))/0x8+-parseInt(_0x16e331(0x176))/0x9*(parseInt(_0x16e331(0x179))/0xa)+parseInt(_0x16e331(0x161))/0xb;if(_0x342670===_0xcbd9f9)break;else _0x2718a5['push'](_0x2718a5['shift']());}catch(_0x5d974f){_0x2718a5['push'](_0x2718a5['shift']());}}}(_0x3faa,0x49349));import{View as _0x12e116}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4cdbf8}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a83f8}from'../../common-translations.js';function _0x19bb(_0xf780d1,_0x15c5ea){const _0x3faa54=_0x3faa();return _0x19bb=function(_0x19bbcf,_0xc0c05){_0x19bbcf=_0x19bbcf-0x153;let _0x330454=_0x3faa54[_0x19bbcf];return _0x330454;},_0x19bb(_0xf780d1,_0x15c5ea);}export class PresenceInlineListView extends _0x12e116{[_0x292d4a(0x15e)];[_0x292d4a(0x156)];constructor(_0x2356db){const _0x15a73f=_0x292d4a;super(_0x2356db);const _0xea7426=this[_0x15a73f(0x158)];this[_0x15a73f(0x15e)]=this[_0x15a73f(0x16d)](),this[_0x15a73f(0x156)]=new _0x4cdbf8(),this[_0x15a73f(0x174)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x15a73f(0x16a)]({'tag':_0x15a73f(0x162),'attributes':{'aria-haspopup':_0xea7426['if'](_0x15a73f(0x154)),'aria-expanded':_0xea7426['to'](_0x15a73f(0x160),_0x2a315b=>this[_0x15a73f(0x154)]&&String(_0x2a315b)),'aria-label':_0xea7426['to'](_0x15a73f(0x154),_0x570d89=>_0x2a83f8(_0x2356db,_0x570d89?_0x15a73f(0x170):_0x15a73f(0x17a))),'role':_0x15a73f(0x15d),'tabindex':_0xea7426['to'](_0x15a73f(0x154),_0x3d4259=>!!_0x3d4259&&0x0),'class':['ck',_0x15a73f(0x153)]},'children':this[_0x15a73f(0x15e)],'on':{'mouseenter':_0xea7426['to'](()=>this[_0x15a73f(0x171)](_0x15a73f(0x175))),'mouseleave':_0xea7426['to'](_0x4ddf01=>{const _0x261c87=_0x15a73f,_0x8f6f37=_0x4ddf01,_0x3a10e5=document[_0x261c87(0x164)](_0x261c87(0x157)),_0x1068b7=document[_0x261c87(0x164)](_0x261c87(0x167));_0x3a10e5?.[_0x261c87(0x15a)](_0x8f6f37[_0x261c87(0x15b)])||_0x1068b7?.[_0x261c87(0x15a)](_0x8f6f37[_0x261c87(0x15b)])||this[_0x261c87(0x171)](_0x261c87(0x159));})}}),this['on'](_0x15a73f(0x16b),(_0x52e266,_0x3318d7,_0x54418c)=>{const _0x59f55c=_0x15a73f;this[_0x59f55c(0x16f)]&&(_0x54418c?this[_0x59f55c(0x16f)][_0x59f55c(0x177)](_0x59f55c(0x155),String(this[_0x59f55c(0x160)])):this[_0x59f55c(0x16f)][_0x59f55c(0x163)](_0x59f55c(0x155)));});}[_0x292d4a(0x16e)](){const _0x425a13=_0x292d4a;this[_0x425a13(0x16f)][_0x425a13(0x16e)]();}[_0x292d4a(0x173)](){const _0x22c2bc=_0x292d4a;super[_0x22c2bc(0x173)](),this[_0x22c2bc(0x156)][_0x22c2bc(0x16c)](this[_0x22c2bc(0x16f)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x152a89=_0x479a;function _0x480e(){const _0x19b579=['63LnfFKz','ck-presence-list--collapsed','51234aaNuHR','inlineListView','items','ck-rounded-corners','isCollapsed','tooltipPosition','bind','locale','bindTemplate','588HcxCVk','listenTo','26031tiwlng','554667mWnwMp','ck-presence-list','div','setTemplate','counterView','set','hasPopup','first','2341960ZFezxU','1197790tZDHPr','change','1710648zJAWgx','1891930KSLBVL','ck-reset','246VSkGQr'];_0x480e=function(){return _0x19b579;};return _0x480e();}(function(_0x4165b0,_0x43cd39){const _0x5bd3d6=_0x479a,_0x14ed08=_0x4165b0();while(!![]){try{const _0x44c557=parseInt(_0x5bd3d6(0x12a))/0x1+-parseInt(_0x5bd3d6(0x11b))/0x2*(-parseInt(_0x5bd3d6(0x129))/0x3)+parseInt(_0x5bd3d6(0x118))/0x4+parseInt(_0x5bd3d6(0x119))/0x5+-parseInt(_0x5bd3d6(0x11e))/0x6*(parseInt(_0x5bd3d6(0x127))/0x7)+-parseInt(_0x5bd3d6(0x115))/0x8+-parseInt(_0x5bd3d6(0x11c))/0x9*(parseInt(_0x5bd3d6(0x116))/0xa);if(_0x44c557===_0x43cd39)break;else _0x14ed08['push'](_0x14ed08['shift']());}catch(_0x1d7ab1){_0x14ed08['push'](_0x14ed08['shift']());}}}(_0x480e,0x8d7b8));function _0x479a(_0x5beaef,_0x350ad2){const _0x480e26=_0x480e();return _0x479a=function(_0x479a1b,_0x3471ea){_0x479a1b=_0x479a1b-0x10e;let _0x560112=_0x480e26[_0x479a1b];return _0x560112;},_0x479a(_0x5beaef,_0x350ad2);}import{View as _0xce1d63}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x940c46}from'./presencecounterview.js';import{PresenceInlineListView as _0x59035d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0xce1d63{[_0x152a89(0x111)];[_0x152a89(0x11f)];constructor(_0x3a4353,_0x34e389=0x6){const _0x33cc1b=_0x152a89;super(_0x3a4353);const _0x3b1ef9=this[_0x33cc1b(0x126)];this[_0x33cc1b(0x112)](_0x33cc1b(0x122),!0x0),this[_0x33cc1b(0x111)]=new _0x940c46(this[_0x33cc1b(0x125)],_0x34e389),this[_0x33cc1b(0x11f)]=new _0x59035d(_0x3a4353),this[_0x33cc1b(0x11f)][_0x33cc1b(0x124)](_0x33cc1b(0x113))['to'](this,_0x33cc1b(0x122)),this[_0x33cc1b(0x128)](this[_0x33cc1b(0x11f)][_0x33cc1b(0x120)],_0x33cc1b(0x117),()=>{const _0xa9d32d=_0x33cc1b;for(const _0x4daf49 of this[_0xa9d32d(0x11f)][_0xa9d32d(0x120)])_0x4daf49[_0xa9d32d(0x123)]='s';this[_0xa9d32d(0x11f)][_0xa9d32d(0x120)][_0xa9d32d(0x114)]&&(this[_0xa9d32d(0x11f)][_0xa9d32d(0x120)][_0xa9d32d(0x114)][_0xa9d32d(0x123)]='se');}),this[_0x33cc1b(0x110)]({'tag':_0x33cc1b(0x10f),'attributes':{'class':['ck',_0x33cc1b(0x10e),_0x33cc1b(0x11a),_0x33cc1b(0x121),_0x3b1ef9['if'](_0x33cc1b(0x122),_0x33cc1b(0x11d))]},'children':[this[_0x33cc1b(0x11f)]]});}}
23
+ const _0x417c24=_0x1fe6;(function(_0x594ecc,_0x19b012){const _0x882dcf=_0x1fe6,_0x53f78b=_0x594ecc();while(!![]){try{const _0x272c2c=parseInt(_0x882dcf(0x102))/0x1+parseInt(_0x882dcf(0xf1))/0x2+-parseInt(_0x882dcf(0xf8))/0x3+parseInt(_0x882dcf(0xf6))/0x4+parseInt(_0x882dcf(0x101))/0x5+-parseInt(_0x882dcf(0xf0))/0x6*(parseInt(_0x882dcf(0xed))/0x7)+-parseInt(_0x882dcf(0xf9))/0x8;if(_0x272c2c===_0x19b012)break;else _0x53f78b['push'](_0x53f78b['shift']());}catch(_0x391c54){_0x53f78b['push'](_0x53f78b['shift']());}}}(_0x142d,0xde62f));import{View as _0x2cb82c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x86d562}from'./presencecounterview.js';function _0x1fe6(_0xb2ed0b,_0x1524d8){const _0x142d7e=_0x142d();return _0x1fe6=function(_0x1fe682,_0x110e73){_0x1fe682=_0x1fe682-0xec;let _0x3d0a49=_0x142d7e[_0x1fe682];return _0x3d0a49;},_0x1fe6(_0xb2ed0b,_0x1524d8);}function _0x142d(){const _0x1eaecb=['ck-reset','21774JNSuCe','2388920mvkxZx','change','div','hasPopup','ck-rounded-corners','3934028NdPwty','counterView','3351672lerHfi','12226352dvzroQ','first','bindTemplate','tooltipPosition','bind','inlineListView','listenTo','isCollapsed','3268975NZzfLT','1530289eXTeNl','ck-presence-list--collapsed','set','locale','ck-presence-list','items','1554FMjOyU','setTemplate'];_0x142d=function(){return _0x1eaecb;};return _0x142d();}import{PresenceInlineListView as _0x2a1b9b}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x2cb82c{[_0x417c24(0xf7)];[_0x417c24(0xfe)];constructor(_0x202cb9,_0x69a792=0x6){const _0x5999ad=_0x417c24;super(_0x202cb9);const _0x33672b=this[_0x5999ad(0xfb)];this[_0x5999ad(0x104)](_0x5999ad(0x100),!0x0),this[_0x5999ad(0xf7)]=new _0x86d562(this[_0x5999ad(0x105)],_0x69a792),this[_0x5999ad(0xfe)]=new _0x2a1b9b(_0x202cb9),this[_0x5999ad(0xfe)][_0x5999ad(0xfd)](_0x5999ad(0xf4))['to'](this,_0x5999ad(0x100)),this[_0x5999ad(0xff)](this[_0x5999ad(0xfe)][_0x5999ad(0xec)],_0x5999ad(0xf2),()=>{const _0x5015a0=_0x5999ad;for(const _0x2fd0d3 of this[_0x5015a0(0xfe)][_0x5015a0(0xec)])_0x2fd0d3[_0x5015a0(0xfc)]='s';this[_0x5015a0(0xfe)][_0x5015a0(0xec)][_0x5015a0(0xfa)]&&(this[_0x5015a0(0xfe)][_0x5015a0(0xec)][_0x5015a0(0xfa)][_0x5015a0(0xfc)]='se');}),this[_0x5999ad(0xee)]({'tag':_0x5999ad(0xf3),'attributes':{'class':['ck',_0x5999ad(0x106),_0x5999ad(0xef),_0x5999ad(0xf5),_0x33672b['if'](_0x5999ad(0x100),_0x5999ad(0x103))]},'children':[this[_0x5999ad(0xfe)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd8ad(){var _0x17a2ad=['isOfficialPlugin','isPremiumPlugin','1124644efstaE','3936432CwmDKw','requires','1748565cGPJpm','13435vYCTSZ','1283856ASrGIv','pluginName','144PKpgBG','2344347EodsGA','PresenceList','2514yvMlKA','1191198gTLcpO'];_0xd8ad=function(){return _0x17a2ad;};return _0xd8ad();}var _0x46f3d0=_0x2a14;(function(_0x14612b,_0x796e73){var _0x3a7e30=_0x2a14,_0x411d11=_0x14612b();while(!![]){try{var _0x239c9f=-parseInt(_0x3a7e30(0x122))/0x1+-parseInt(_0x3a7e30(0x11f))/0x2+-parseInt(_0x3a7e30(0x119))/0x3+-parseInt(_0x3a7e30(0x115))/0x4+-parseInt(_0x3a7e30(0x118))/0x5*(parseInt(_0x3a7e30(0x11e))/0x6)+parseInt(_0x3a7e30(0x117))/0x7+-parseInt(_0x3a7e30(0x11b))/0x8*(-parseInt(_0x3a7e30(0x11c))/0x9);if(_0x239c9f===_0x796e73)break;else _0x411d11['push'](_0x411d11['shift']());}catch(_0x46c024){_0x411d11['push'](_0x411d11['shift']());}}}(_0xd8ad,0xa618d));import{ContextPlugin as _0x333c44}from'ckeditor5/src/core.js';function _0x2a14(_0x3fe73c,_0x14138c){var _0xd8ad34=_0xd8ad();return _0x2a14=function(_0x2a1426,_0x57d71a){_0x2a1426=_0x2a1426-0x115;var _0x585f75=_0xd8ad34[_0x2a1426];return _0x585f75;},_0x2a14(_0x3fe73c,_0x14138c);}import{Sessions as _0x29abd4}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x8d00ce}from'./presencelist/presencelistui.js';export class PresenceList extends _0x333c44{static get[_0x46f3d0(0x116)](){return[_0x29abd4,_0x8d00ce];}static get[_0x46f3d0(0x11a)](){var _0x3815f9=_0x46f3d0;return _0x3815f9(0x11d);}static get[_0x46f3d0(0x120)](){return!0x0;}static get[_0x46f3d0(0x121)](){return!0x0;}}
23
+ function _0x21f2(){var _0x342b2c=['216245xgZrWM','PresenceList','1384528JGhTMf','isPremiumPlugin','1786776MHjNlC','72684SNJysG','pluginName','9199490vJnJHS','isOfficialPlugin','requires','3538ETMpgZ','7ztbUdM','180ywUHsJ','9skishO','323637AsDXGU'];_0x21f2=function(){return _0x342b2c;};return _0x21f2();}var _0x48f907=_0x5cbc;(function(_0x4e653d,_0x2cf887){var _0x52fd95=_0x5cbc,_0x4e108a=_0x4e653d();while(!![]){try{var _0x132787=-parseInt(_0x52fd95(0x1f0))/0x1*(parseInt(_0x52fd95(0x1f2))/0x2)+parseInt(_0x52fd95(0x1f4))/0x3+-parseInt(_0x52fd95(0x1eb))/0x4+-parseInt(_0x52fd95(0x1e6))/0x5+-parseInt(_0x52fd95(0x1ea))/0x6*(parseInt(_0x52fd95(0x1f1))/0x7)+-parseInt(_0x52fd95(0x1e8))/0x8+parseInt(_0x52fd95(0x1f3))/0x9*(parseInt(_0x52fd95(0x1ed))/0xa);if(_0x132787===_0x2cf887)break;else _0x4e108a['push'](_0x4e108a['shift']());}catch(_0x2f73d1){_0x4e108a['push'](_0x4e108a['shift']());}}}(_0x21f2,0x2b3e6));function _0x5cbc(_0x50a14e,_0x4f3ee8){var _0x21f2c4=_0x21f2();return _0x5cbc=function(_0x5cbc82,_0x248eb8){_0x5cbc82=_0x5cbc82-0x1e6;var _0x181250=_0x21f2c4[_0x5cbc82];return _0x181250;},_0x5cbc(_0x50a14e,_0x4f3ee8);}import{ContextPlugin as _0x588523}from'ckeditor5/src/core.js';import{Sessions as _0x383bea}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x13a183}from'./presencelist/presencelistui.js';export class PresenceList extends _0x588523{static get[_0x48f907(0x1ef)](){return[_0x383bea,_0x13a183];}static get[_0x48f907(0x1ec)](){var _0x31a77e=_0x48f907;return _0x31a77e(0x1e7);}static get[_0x48f907(0x1ee)](){return!0x0;}static get[_0x48f907(0x1e9)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fe42e=_0x237c;(function(_0x5b20e5,_0x38186a){const _0x53523b=_0x237c,_0x3c58f1=_0x5b20e5();while(!![]){try{const _0xd4719e=parseInt(_0x53523b(0x189))/0x1+parseInt(_0x53523b(0x15c))/0x2+parseInt(_0x53523b(0x12e))/0x3*(-parseInt(_0x53523b(0x161))/0x4)+-parseInt(_0x53523b(0x12a))/0x5+-parseInt(_0x53523b(0x181))/0x6*(parseInt(_0x53523b(0x163))/0x7)+-parseInt(_0x53523b(0x160))/0x8*(-parseInt(_0x53523b(0x184))/0x9)+parseInt(_0x53523b(0x131))/0xa;if(_0xd4719e===_0x38186a)break;else _0x3c58f1['push'](_0x3c58f1['shift']());}catch(_0x146542){_0x3c58f1['push'](_0x3c58f1['shift']());}}}(_0x3552,0xed4b3));import{Context as _0xef6b14,ContextPlugin as _0x49d918}from'ckeditor5/src/core.js';import{CKEditorError as _0xdd9fb6}from'ckeditor5/src/utils.js';function _0x237c(_0x17e477,_0xfa37a2){const _0x35525d=_0x3552();return _0x237c=function(_0x237cbf,_0x1bd9f8){_0x237cbf=_0x237cbf-0x126;let _0x2a83a6=_0x35525d[_0x237cbf];return _0x2a83a6;},_0x237c(_0x17e477,_0xfa37a2);}import{Users as _0x39499f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x113879,User as _0x55d551}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x37768f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x586cb8}from'../realtimecollaborativeediting/sessions.js';class s extends _0x49d918{static [_0x1fe42e(0x17e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x113879)());[_0x1fe42e(0x170)];static get[_0x1fe42e(0x132)](){const _0x328245=_0x1fe42e;return[_0x37768f,_0x328245(0x127),_0x586cb8,_0x39499f];}static get[_0x1fe42e(0x13b)](){const _0x1f806f=_0x1fe42e;return _0x1f806f(0x139);}static get[_0x1fe42e(0x12d)](){return!0x0;}static get[_0x1fe42e(0x179)](){return!0x0;}constructor(_0x477ebc){const _0xd0176b=_0x1fe42e;super(_0x477ebc),this[_0xd0176b(0x170)]=new Map();}async[_0x1fe42e(0x175)](){const _0x4b57c5=_0x1fe42e,_0x5395f9=this[_0x4b57c5(0x150)],_0x12ab1d=_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x4b57c5(0x127));if(_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x37768f)[_0x4b57c5(0x16b)](this),_0x12ab1d[_0x4b57c5(0x174)]={'addCommentThread':async({channelId:_0x546598,threadId:_0x36a127,comments:_0x4c98cf,resolvedAt:_0x404f82,resolvedBy:_0x455d2a,context:_0x314baa,attributes:_0x8fa138})=>{const _0xe904da=_0x4b57c5,_0x5d201f=await this[_0xe904da(0x13f)](_0x546598)[_0xe904da(0x134)]({'commentThreadId':_0x36a127,'comments':_0x4c98cf[_0xe904da(0x165)](_0x228a28=>function(_0x596950,_0x3b35f9,_0x499159){const _0x386157=_0xe904da;return{'commentThreadId':_0x499159,'commentId':_0x596950[_0x386157(0x16f)],'userId':_0x596950[_0x386157(0x166)],'content':_0x596950[_0x386157(0x16e)],'documentId':_0x3b35f9,'createdAt':_0x596950[_0x386157(0x129)],'attributes':_0x596950[_0x386157(0x158)]||{}};}(_0x228a28,_0x546598,_0x36a127)),'resolvedAt':_0x404f82,'resolvedBy':_0x455d2a,'context':_0x314baa,'attributes':_0x8fa138})[_0xe904da(0x130)](tt);return{'threadId':_0x5d201f[_0xe904da(0x141)],'comments':_0x5d201f[_0xe904da(0x16d)]};},'getCommentThread':async({channelId:_0x539c00,threadId:_0x1e0f6e})=>{const _0x1ceadf=_0x4b57c5,_0x2e0b4f=await this[_0x1ceadf(0x13f)](_0x539c00)[_0x1ceadf(0x135)](_0x1e0f6e)[_0x1ceadf(0x130)](tt);return _0x2e0b4f[_0x1ceadf(0x14e)]?null:(await this[_0x1ceadf(0x172)]([_0x2e0b4f]),{'threadId':_0x2e0b4f[_0x1ceadf(0x141)],'comments':_0x2e0b4f[_0x1ceadf(0x16d)][_0x1ceadf(0x165)](et),'context':_0x2e0b4f[_0x1ceadf(0x150)],'resolvedAt':_0x2e0b4f[_0x1ceadf(0x12c)],'resolvedBy':_0x2e0b4f[_0x1ceadf(0x15e)],'attributes':_0x2e0b4f[_0x1ceadf(0x158)]||{}});},'updateCommentThread':async({channelId:_0x5e690c,threadId:_0x5e4b36,context:_0x421300,unlinkedAt:_0x5983c7,attributes:_0x30d7e8})=>this[_0x4b57c5(0x13f)](_0x5e690c)[_0x4b57c5(0x153)]({'commentThreadId':_0x5e4b36,'context':_0x421300,'attributes':_0x30d7e8,'unlinkedAt':_0x5983c7})[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'resolveCommentThread':async({channelId:_0x2d3aee,threadId:_0x156bb9})=>{const _0x121266=_0x4b57c5,_0x4961f8=await this[_0x121266(0x13f)](_0x2d3aee)[_0x121266(0x140)](_0x156bb9)[_0x121266(0x130)](Z)[_0x121266(0x130)](tt);return{'threadId':_0x4961f8[_0x121266(0x141)],'resolvedAt':_0x4961f8[_0x121266(0x12c)],'resolvedBy':_0x4961f8[_0x121266(0x15e)]};},'reopenCommentThread':async({channelId:_0x32a9dd,threadId:_0x1a79d1})=>this[_0x4b57c5(0x13f)](_0x32a9dd)[_0x4b57c5(0x14c)](_0x1a79d1)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'removeCommentThread':({channelId:_0x3ce7c0,threadId:_0x1b65f3})=>this[_0x4b57c5(0x13f)](_0x3ce7c0)[_0x4b57c5(0x162)](_0x1b65f3)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'addComment':({channelId:_0x37ad4a,threadId:_0x2ef9e3,commentId:_0x37b653,content:_0x2e47bc,attributes:_0x3e4d4e})=>this[_0x4b57c5(0x13f)](_0x37ad4a)[_0x4b57c5(0x183)](_0x2ef9e3,_0x37b653,_0x2e47bc,_0x3e4d4e)[_0x4b57c5(0x130)](tt),'updateComment':({channelId:_0x52dc0e,threadId:_0x577e4a,commentId:_0x566993,content:_0xb544f,attributes:_0x372c3f})=>this[_0x4b57c5(0x13f)](_0x52dc0e)[_0x4b57c5(0x16a)](_0x577e4a,_0x566993,_0xb544f,_0x372c3f)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'removeComment':({channelId:_0x2c8bc8,threadId:_0x1d6ae1,commentId:_0x351bba})=>this[_0x4b57c5(0x13f)](_0x2c8bc8)[_0x4b57c5(0x169)](_0x1d6ae1,_0x351bba)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt)},_0x5395f9 instanceof _0xef6b14){const _0x223053=_0x5395f9[_0x4b57c5(0x17c)][_0x4b57c5(0x152)](_0x4b57c5(0x167)),_0xc7c19f=_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x586cb8);await this[_0x4b57c5(0x182)](_0x223053);const _0x5f01d1=await this[_0x4b57c5(0x170)][_0x4b57c5(0x152)](_0x223053)[_0x4b57c5(0x171)]();this[_0x4b57c5(0x173)](_0xc7c19f,_0x4b57c5(0x15a)+_0x223053,(_0x29e16c,{session:_0x3a9b6e})=>{const _0x53c4a4=_0x4b57c5;_0x3a9b6e['id']===_0xc7c19f[_0x53c4a4(0x185)]&&(_0x29e16c[_0x53c4a4(0x126)](),this[_0x53c4a4(0x150)][_0x53c4a4(0x188)][_0x53c4a4(0x152)](_0x53c4a4(0x155))[_0x53c4a4(0x142)](_0x3a9b6e[_0x53c4a4(0x147)],_0x223053));}),_0xc7c19f[_0x4b57c5(0x145)](_0x223053,_0x5f01d1);}}async[_0x1fe42e(0x182)](_0x21b82d){const _0x4a98da=_0x1fe42e;if(this[_0x4a98da(0x170)][_0x4a98da(0x186)](_0x21b82d))throw new _0xdd9fb6(_0x4a98da(0x164),null,{'channelId':_0x21b82d});const _0x50117a=this[_0x4a98da(0x150)][_0x4a98da(0x188)][_0x4a98da(0x152)](_0x4a98da(0x127)),_0x48dcce=new s[(_0x4a98da(0x17e))](_0x21b82d);this[_0x4a98da(0x170)][_0x4a98da(0x15f)](_0x21b82d,_0x48dcce),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x13c),(_0x2a331b,_0x5bdc67)=>{const _0xd9f4ee=_0x4a98da,{commentThreadId:_0x4a4513,documentId:_0xe494c2,context:_0x6058e1,attributes:_0x223a9e,resolvedAt:_0x2991bc,resolvedBy:_0x15e470,comments:_0x569fe0}=_0x5bdc67;_0x50117a[_0xd9f4ee(0x135)](_0x4a4513)||_0x50117a[_0xd9f4ee(0x134)]({'threadId':_0x4a4513,'channelId':_0xe494c2,'comments':_0x569fe0?_0x569fe0[_0xd9f4ee(0x165)](et):[],'context':_0x6058e1,'attributes':_0x223a9e,'resolvedAt':_0x2991bc,'resolvedBy':_0x15e470,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x154),(_0x8e9256,{commentThreadId:_0xf09bd9,documentId:_0x30a981,context:_0x260142,unlinkedAt:_0xedbaa2,attributes:_0xfb848b})=>{const _0xc71834=_0x4a98da;_0x50117a[_0xc71834(0x135)](_0xf09bd9)&&_0x50117a[_0xc71834(0x153)]({'threadId':_0xf09bd9,'channelId':_0x30a981,'context':_0x260142,'unlinkedAt':_0xedbaa2,'attributes':_0xfb848b,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x18b),(_0x29a084,{commentThreadId:_0x2ba38c,resolvedBy:_0x5842fa,resolvedAt:_0x21fbaa})=>{const _0x283350=_0x4a98da,_0x239e42=_0x50117a[_0x283350(0x135)](_0x2ba38c);_0x239e42&&_0x239e42[_0x283350(0x12f)]({'resolvedBy':_0x5842fa,'resolvedAt':_0x21fbaa,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x180),(_0x449209,{commentThreadId:_0x582b17})=>{const _0x34edb6=_0x4a98da,_0x31931d=_0x50117a[_0x34edb6(0x135)](_0x582b17);_0x31931d&&_0x31931d[_0x34edb6(0x168)]({'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x176),(_0x29b8a5,{commentThreadId:_0x5a4b33})=>{const _0x315240=_0x4a98da,_0x204549=_0x50117a[_0x315240(0x135)](_0x5a4b33);_0x204549&&_0x204549[_0x315240(0x138)]({'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x157),(_0x14b906,_0x11970e)=>{const _0x28a7a1=_0x4a98da,_0x2bed57=_0x11970e[_0x28a7a1(0x141)],_0x5a995c=_0x50117a[_0x28a7a1(0x135)](_0x2bed57);_0x5a995c&&_0x5a995c[_0x28a7a1(0x183)]({...et(_0x11970e),'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x143),(_0x5b3e5a,{commentThreadId:_0xda1a0,commentId:_0x350230,content:_0x4f97a1,attributes:_0x3dcdfb})=>{const _0x48c273=_0x4a98da,_0x31b801=_0x50117a[_0x48c273(0x135)](_0xda1a0);if(_0x31b801){const _0x57b551=_0x31b801[_0x48c273(0x151)](_0x350230);_0x57b551&&_0x57b551[_0x48c273(0x17b)]({'content':_0x4f97a1,'attributes':_0x3dcdfb,'isFromAdapter':!0x0});}}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x12b),(_0x5953e8,{commentThreadId:_0xfd4ab1,commentId:_0x10a93d})=>{const _0x138ea7=_0x4a98da,_0x383536=_0x50117a[_0x138ea7(0x135)](_0xfd4ab1);if(_0x383536){const _0x1737f1=_0x383536[_0x138ea7(0x151)](_0x10a93d);_0x1737f1&&_0x1737f1[_0x138ea7(0x138)]({'isFromAdapter':!0x0});}}),await this[_0x4a98da(0x15b)](_0x21b82d);}[_0x1fe42e(0x17f)](){const _0x5f40e4=_0x1fe42e;if(this[_0x5f40e4(0x150)]instanceof _0xef6b14){const _0x2a18a3=this[_0x5f40e4(0x150)][_0x5f40e4(0x17c)][_0x5f40e4(0x152)](_0x5f40e4(0x167));this[_0x5f40e4(0x13a)](_0x2a18a3);}}[_0x1fe42e(0x13a)](_0x1c8a75){const _0x67d45d=_0x1fe42e;if(!this[_0x67d45d(0x170)][_0x67d45d(0x186)](_0x1c8a75))throw new _0xdd9fb6(_0x67d45d(0x14f),null,{'channelId':_0x1c8a75});this[_0x67d45d(0x13f)](_0x1c8a75)[_0x67d45d(0x136)](),this[_0x67d45d(0x170)][_0x67d45d(0x137)](_0x1c8a75);}async[_0x1fe42e(0x14b)](){const _0x2bd7f4=_0x1fe42e;for(const _0x463e3e of this[_0x2bd7f4(0x170)][_0x2bd7f4(0x14a)]())await this[_0x2bd7f4(0x15b)](_0x463e3e);if(this[_0x2bd7f4(0x150)]instanceof _0xef6b14){const _0x5b08b6=this[_0x2bd7f4(0x150)][_0x2bd7f4(0x17c)][_0x2bd7f4(0x152)](_0x2bd7f4(0x167)),_0x27d35e=this[_0x2bd7f4(0x150)][_0x2bd7f4(0x188)][_0x2bd7f4(0x152)](_0x586cb8);_0x27d35e[_0x2bd7f4(0x133)](_0x5b08b6);const _0x54e50d=await this[_0x2bd7f4(0x170)][_0x2bd7f4(0x152)](_0x5b08b6)[_0x2bd7f4(0x171)]();_0x27d35e[_0x2bd7f4(0x145)](_0x5b08b6,_0x54e50d);}}async[_0x1fe42e(0x15b)](_0x4c758c){const _0x342c93=_0x1fe42e,{connection:_0x5457d6}=this[_0x342c93(0x150)][_0x342c93(0x188)][_0x342c93(0x152)](_0x37768f),_0xe17919=this[_0x342c93(0x150)][_0x342c93(0x188)][_0x342c93(0x152)](_0x342c93(0x127)),_0x122ca6=this[_0x342c93(0x170)][_0x342c93(0x152)](_0x4c758c),_0x3d2750=await _0x122ca6[_0x342c93(0x144)](_0x5457d6);await this[_0x342c93(0x172)](_0x3d2750);const _0x3c5d97=new Set(Array[_0x342c93(0x13e)](_0xe17919[_0x342c93(0x146)]({'channelId':_0x4c758c}),_0xe64ed0=>_0xe64ed0['id']));for(const _0x44b0cb of _0x3d2750)_0x44b0cb[_0x342c93(0x14e)]||_0x3c5d97[_0x342c93(0x137)](_0x44b0cb[_0x342c93(0x141)]);for(const _0x1b3a78 of _0x3c5d97)_0xe17919[_0x342c93(0x135)](_0x1b3a78)[_0x342c93(0x138)]({'isFromAdapter':!0x0});for(const _0x5d0e4a of _0x3d2750){let _0x385bba=_0xe17919[_0x342c93(0x135)](_0x5d0e4a[_0x342c93(0x141)]);const {commentThreadId:_0x15adb6,context:_0x33e785,attributes:_0xe6b3e4,resolvedBy:_0x53f915,resolvedAt:_0x4bc781,unlinkedAt:_0x182901,deletedAt:_0x5a3742}=_0x5d0e4a;if(_0x5a3742)continue;_0x385bba||(_0x385bba=_0xe17919[_0x342c93(0x134)]({'channelId':_0x4c758c,'threadId':_0x15adb6,'context':_0x33e785,'attributes':_0xe6b3e4||{},'resolvedBy':_0x53f915,'resolvedAt':_0x4bc781,'unlinkedAt':_0x182901,'isFromAdapter':!0x0}));const _0x29a2c8=new Set(Array[_0x342c93(0x13e)](_0x385bba[_0x342c93(0x16d)],_0x25664a=>_0x25664a['id']));for(const _0x261111 of _0x5d0e4a[_0x342c93(0x16d)])_0x29a2c8[_0x342c93(0x137)](_0x261111[_0x342c93(0x16f)]);for(const _0x3dd632 of _0x29a2c8)_0x385bba[_0x342c93(0x151)](_0x3dd632)[_0x342c93(0x138)]({'isFromAdapter':!0x0});for(const _0x2e4f73 of _0x5d0e4a[_0x342c93(0x16d)]){const _0x3a9a17=_0x385bba[_0x342c93(0x151)](_0x2e4f73[_0x342c93(0x16f)]);_0x3a9a17?_0x3a9a17[_0x342c93(0x16e)]!==_0x2e4f73[_0x342c93(0x16e)]&&_0x3a9a17[_0x342c93(0x17b)]({'content':_0x2e4f73[_0x342c93(0x16e)],'isFromAdapter':!0x0}):_0x385bba[_0x342c93(0x183)](Object[_0x342c93(0x15d)](et(_0x2e4f73),{'isFromAdapter':!0x0}));}}}[_0x1fe42e(0x13f)](_0xbe3250){const _0x37841b=_0x1fe42e;if(!this[_0x37841b(0x170)][_0x37841b(0x186)](_0xbe3250))throw new _0xdd9fb6(_0x37841b(0x177),null,{'channelId':_0xbe3250});return this[_0x37841b(0x170)][_0x37841b(0x152)](_0xbe3250);}async[_0x1fe42e(0x172)](_0x548afd){const _0x2851ae=_0x1fe42e,_0x17d628=this[_0x2851ae(0x150)][_0x2851ae(0x188)][_0x2851ae(0x152)](_0x39499f),{connection:_0x4254f0}=this[_0x2851ae(0x150)][_0x2851ae(0x188)][_0x2851ae(0x152)](_0x37768f),_0x15f61c=new Set();for(const {resolvedBy:_0x115be7,comments:_0x33b423}of _0x548afd){_0x115be7&&!_0x17d628[_0x2851ae(0x17a)](_0x115be7)&&_0x15f61c[_0x2851ae(0x128)](_0x115be7);for(const {userId:_0x5da5c2}of _0x33b423)_0x17d628[_0x2851ae(0x17a)](_0x5da5c2)||_0x15f61c[_0x2851ae(0x128)](_0x5da5c2);}if(0x0===_0x15f61c[_0x2851ae(0x159)])return;const _0x3a37b1=await _0x55d551[_0x2851ae(0x148)](_0x4254f0,Array[_0x2851ae(0x13e)](_0x15f61c));for(const _0x3963f0 of _0x3a37b1)_0x17d628[_0x2851ae(0x17a)](_0x3963f0['id'])||_0x17d628[_0x2851ae(0x17d)](_0x3963f0);}}function _0x3552(){const _0x19675a=['map','authorId','collaboration.channelId','reopen','removeComment','updateComment','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','comments','content','commentId','_services','getConnectedSessions','_fetchMissingUsersForThreads','listenTo','adapter','init','commentThreadRemoved','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','getUser','update','config','addUser','CommentsService','destroy','commentThreadReopened','9176358xhChuA','_setUpService','addComment','9MAIGOq','mySessionId','has','message','plugins','1291671jyXeoj','startsWith','commentThreadResolved','off','CommentsRepository','add','createdAt','5379850aHdFQw','commentRemoved','resolvedAt','isOfficialPlugin','6XvpAUk','resolve','catch','32852920LNZHYg','requires','unregister','addCommentThread','getCommentThread','disconnect','delete','remove','CloudServicesCommentsAdapter','_terminateService','pluginName','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','from','_getService','resolveCommentThread','commentThreadId','setPermissions','commentUpdated','connect','register','getCommentThreads','permissions','getMany','404','keys','reconnect','reopenCommentThread','code','deletedAt','cloudservicescommentsadapter-disconnect-not-exist','context','getComment','get','updateCommentThread','commentThreadUpdated','Permissions','userId','commentAdded','attributes','size','sessionAdd:','_connectService','600580OvZBht','assign','resolvedBy','set','933112wwbHCE','2833148aWyDqc','removeCommentThread','7usUZgx','cloudservicescommentsadapter-connect-already-connected'];_0x3552=function(){return _0x19675a;};return _0x3552();}export{s as CloudServicesCommentsAdapter};async function Z(_0x7b418a){const _0x4bc27a=_0x1fe42e;if(_0x4bc27a(0x149)!==_0x7b418a[_0x4bc27a(0x14d)])throw _0x7b418a;}function tt(_0xe6001e){const _0x222739=_0x1fe42e;if((_0x6174d7=_0xe6001e)[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x16c))||_0x6174d7[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x178))||_0x6174d7[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x13d)))return new Promise(()=>{});var _0x6174d7;throw _0xe6001e;}function et(_0x705ef6){const _0x1c4f3b=_0x1fe42e;return{'threadId':_0x705ef6[_0x1c4f3b(0x141)],'commentId':_0x705ef6[_0x1c4f3b(0x16f)],'content':_0x705ef6[_0x1c4f3b(0x16e)],'createdAt':_0x705ef6[_0x1c4f3b(0x129)],'authorId':_0x705ef6[_0x1c4f3b(0x156)],'attributes':_0x705ef6[_0x1c4f3b(0x158)]||{}};}
23
+ function _0x5c05(){const _0x3fc9c7=['get','2mmRWSJ','isOfficialPlugin','reopen','mySessionId','commentId','init','cloudservicescommentsadapter-disconnect-not-exist','updateCommentThread','plugins','252wACzEK','userId','removeComment','commentRemoved','context','commentThreadUpdated','cloudservicescommentsadapter-service-not-exist','register','code','update','CommentsRepository','addComment','12695oaZuQV','541371RVBdtG','654330ZQdDbc','config','_connectService','message','commentThreadId','attributes','Permissions','addCommentThread','keys','cloud-services-internal-error:\x20Request\x20timeout.','60600guMaMq','add','getCommentThread','unregister','CommentsService','getUser','404','resolvedBy','2024NLxZsw','startsWith','commentThreadReopened','remove','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolvedAt','cloudservicescommentsadapter-connect-already-connected','updateComment','content','commentThreadAdded','adapter','reopenCommentThread','set','deletedAt','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','commentThreadResolved','map','resolve','connect','commentUpdated','authorId','reconnect','collaboration.channelId','pluginName','requires','2247goEeFm','sessionAdd:','addUser','_fetchMissingUsersForThreads','permissions','disconnect','catch','CloudServicesCommentsAdapter','commentThreadRemoved','getCommentThreads','243398abnsNn','destroy','_services','setPermissions','getMany','isPremiumPlugin','addToReconnectionStack','_setUpService','from','getConnectedSessions','35316fwVUgm','has','_getService','_terminateService','size','createdAt','listenTo','assign','removeCommentThread','commentAdded','getComment','comments','off'];_0x5c05=function(){return _0x3fc9c7;};return _0x5c05();}const _0x404913=_0x56f6;(function(_0x3c146e,_0x1b9cba){const _0x2d149a=_0x56f6,_0x430779=_0x3c146e();while(!![]){try{const _0x13f53c=-parseInt(_0x2d149a(0x7a))/0x1+parseInt(_0x2d149a(0x92))/0x2*(parseInt(_0x2d149a(0xa8))/0x3)+-parseInt(_0x2d149a(0x9b))/0x4*(-parseInt(_0x2d149a(0xa7))/0x5)+parseInt(_0x2d149a(0xa9))/0x6+-parseInt(_0x2d149a(0x70))/0x7*(parseInt(_0x2d149a(0xbb))/0x8)+-parseInt(_0x2d149a(0x84))/0x9+parseInt(_0x2d149a(0xb3))/0xa;if(_0x13f53c===_0x1b9cba)break;else _0x430779['push'](_0x430779['shift']());}catch(_0x5f4fb5){_0x430779['push'](_0x430779['shift']());}}}(_0x5c05,0x1f012));import{Context as _0x2f53f5,ContextPlugin as _0x8fe9bf}from'ckeditor5/src/core.js';import{CKEditorError as _0x31f2f4}from'ckeditor5/src/utils.js';function _0x56f6(_0x1b7144,_0x59f9e6){const _0x5c058e=_0x5c05();return _0x56f6=function(_0x56f673,_0x5a6665){_0x56f673=_0x56f673-0x69;let _0x1210ca=_0x5c058e[_0x56f673];return _0x1210ca;},_0x56f6(_0x1b7144,_0x59f9e6);}import{Users as _0x2cbe78}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x583e70,User as _0x46537d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x119252}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x52e909}from'../realtimecollaborativeediting/sessions.js';class s extends _0x8fe9bf{static [_0x404913(0xb7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x583e70)());[_0x404913(0x7c)];static get[_0x404913(0x6f)](){const _0x1d8464=_0x404913;return[_0x119252,_0x1d8464(0xa5),_0x52e909,_0x2cbe78];}static get[_0x404913(0x6e)](){const _0x1aae6d=_0x404913;return _0x1aae6d(0x77);}static get[_0x404913(0x93)](){return!0x0;}static get[_0x404913(0x7f)](){return!0x0;}constructor(_0x43b375){const _0xe4556d=_0x404913;super(_0x43b375),this[_0xe4556d(0x7c)]=new Map();}async[_0x404913(0x97)](){const _0x5f2aee=_0x404913,_0x9c05f5=this[_0x5f2aee(0x9f)],_0x13fed4=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x5f2aee(0xa5));if(_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x119252)[_0x5f2aee(0x80)](this),_0x13fed4[_0x5f2aee(0xc6)]={'addCommentThread':async({channelId:_0x1c8134,threadId:_0x230b80,comments:_0x4cfbe4,resolvedAt:_0xb7760e,resolvedBy:_0x293957,context:_0x24bbea,attributes:_0x490c37})=>{const _0x499c23=_0x5f2aee,_0x1a507c=await this[_0x499c23(0x86)](_0x1c8134)[_0x499c23(0xb0)]({'commentThreadId':_0x230b80,'comments':_0x4cfbe4[_0x499c23(0xcd)](_0x8b74e9=>function(_0x22c240,_0x73ccc3,_0x541930){const _0x57d119=_0x499c23;return{'commentThreadId':_0x541930,'commentId':_0x22c240[_0x57d119(0x96)],'userId':_0x22c240[_0x57d119(0x6b)],'content':_0x22c240[_0x57d119(0xc4)],'documentId':_0x73ccc3,'createdAt':_0x22c240[_0x57d119(0x89)],'attributes':_0x22c240[_0x57d119(0xae)]||{}};}(_0x8b74e9,_0x1c8134,_0x230b80)),'resolvedAt':_0xb7760e,'resolvedBy':_0x293957,'context':_0x24bbea,'attributes':_0x490c37})[_0x499c23(0x76)](k);return{'threadId':_0x1a507c[_0x499c23(0xad)],'comments':_0x1a507c[_0x499c23(0x8f)]};},'getCommentThread':async({channelId:_0x5d46e1,threadId:_0x369787})=>{const _0x151433=_0x5f2aee,_0x2df2f0=await this[_0x151433(0x86)](_0x5d46e1)[_0x151433(0xb5)](_0x369787)[_0x151433(0x76)](k);return _0x2df2f0[_0x151433(0xc9)]?null:(await this[_0x151433(0x73)]([_0x2df2f0]),{'threadId':_0x2df2f0[_0x151433(0xad)],'comments':_0x2df2f0[_0x151433(0x8f)][_0x151433(0xcd)](B),'context':_0x2df2f0[_0x151433(0x9f)],'resolvedAt':_0x2df2f0[_0x151433(0xc1)],'resolvedBy':_0x2df2f0[_0x151433(0xba)],'attributes':_0x2df2f0[_0x151433(0xae)]||{}});},'updateCommentThread':async({channelId:_0x2b784b,threadId:_0x5d724a,context:_0x54f287,unlinkedAt:_0x2fc467,attributes:_0x5556cb})=>this[_0x5f2aee(0x86)](_0x2b784b)[_0x5f2aee(0x99)]({'commentThreadId':_0x5d724a,'context':_0x54f287,'attributes':_0x5556cb,'unlinkedAt':_0x2fc467})[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'resolveCommentThread':async({channelId:_0x3906e5,threadId:_0x4d5507})=>{const _0x173408=_0x5f2aee,_0x849c39=await this[_0x173408(0x86)](_0x3906e5)[_0x173408(0xcb)](_0x4d5507)[_0x173408(0x76)](F)[_0x173408(0x76)](k);return{'threadId':_0x849c39[_0x173408(0xad)],'resolvedAt':_0x849c39[_0x173408(0xc1)],'resolvedBy':_0x849c39[_0x173408(0xba)]};},'reopenCommentThread':async({channelId:_0xef1226,threadId:_0x2a28e8})=>this[_0x5f2aee(0x86)](_0xef1226)[_0x5f2aee(0xc7)](_0x2a28e8)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeCommentThread':({channelId:_0x230519,threadId:_0x3d59a6})=>this[_0x5f2aee(0x86)](_0x230519)[_0x5f2aee(0x8c)](_0x3d59a6)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'addComment':({channelId:_0x3dbc11,threadId:_0x159091,commentId:_0x556f07,content:_0x80119b,attributes:_0x215b47})=>this[_0x5f2aee(0x86)](_0x3dbc11)[_0x5f2aee(0xa6)](_0x159091,_0x556f07,_0x80119b,_0x215b47)[_0x5f2aee(0x76)](k),'updateComment':({channelId:_0x412eb4,threadId:_0x32b323,commentId:_0x45b427,content:_0x59ccf4,attributes:_0x23e7c9})=>this[_0x5f2aee(0x86)](_0x412eb4)[_0x5f2aee(0xc3)](_0x32b323,_0x45b427,_0x59ccf4,_0x23e7c9)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeComment':({channelId:_0x7ea6f6,threadId:_0x4fe917,commentId:_0x1f4741})=>this[_0x5f2aee(0x86)](_0x7ea6f6)[_0x5f2aee(0x9d)](_0x4fe917,_0x1f4741)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k)},_0x9c05f5 instanceof _0x2f53f5){const _0x2e00b6=_0x9c05f5[_0x5f2aee(0xaa)][_0x5f2aee(0x91)](_0x5f2aee(0x6d)),_0x2e39c7=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x52e909);await this[_0x5f2aee(0x81)](_0x2e00b6);const _0x20fc69=await this[_0x5f2aee(0x7c)][_0x5f2aee(0x91)](_0x2e00b6)[_0x5f2aee(0x83)]();this[_0x5f2aee(0x8a)](_0x2e39c7,_0x5f2aee(0x71)+_0x2e00b6,(_0x418f5d,{session:_0x4611ef})=>{const _0xc7c938=_0x5f2aee;_0x4611ef['id']===_0x2e39c7[_0xc7c938(0x95)]&&(_0x418f5d[_0xc7c938(0x90)](),this[_0xc7c938(0x9f)][_0xc7c938(0x9a)][_0xc7c938(0x91)](_0xc7c938(0xaf))[_0xc7c938(0x7d)](_0x4611ef[_0xc7c938(0x74)],_0x2e00b6));}),_0x2e39c7[_0x5f2aee(0xa2)](_0x2e00b6,_0x20fc69);}}async[_0x404913(0x81)](_0x1df551){const _0x17de6d=_0x404913;if(this[_0x17de6d(0x7c)][_0x17de6d(0x85)](_0x1df551))throw new _0x31f2f4(_0x17de6d(0xc2),null,{'channelId':_0x1df551});const _0x1cd2a7=this[_0x17de6d(0x9f)][_0x17de6d(0x9a)][_0x17de6d(0x91)](_0x17de6d(0xa5)),_0x146fc0=new s[(_0x17de6d(0xb7))](_0x1df551);this[_0x17de6d(0x7c)][_0x17de6d(0xc8)](_0x1df551,_0x146fc0),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xc5),(_0x35b098,_0x13043a)=>{const _0x52c145=_0x17de6d,{commentThreadId:_0x14f8c3,documentId:_0x5def5e,context:_0x153bc7,attributes:_0x5765c9,resolvedAt:_0x2a9bc5,resolvedBy:_0x320a04,comments:_0x172926}=_0x13043a;_0x1cd2a7[_0x52c145(0xb5)](_0x14f8c3)||_0x1cd2a7[_0x52c145(0xb0)]({'threadId':_0x14f8c3,'channelId':_0x5def5e,'comments':_0x172926?_0x172926[_0x52c145(0xcd)](B):[],'context':_0x153bc7,'attributes':_0x5765c9,'resolvedAt':_0x2a9bc5,'resolvedBy':_0x320a04,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xa0),(_0x3867de,{commentThreadId:_0x299eaf,documentId:_0x1167d6,context:_0x568a46,unlinkedAt:_0x4a859a,attributes:_0x31b018})=>{const _0x36e694=_0x17de6d;_0x1cd2a7[_0x36e694(0xb5)](_0x299eaf)&&_0x1cd2a7[_0x36e694(0x99)]({'threadId':_0x299eaf,'channelId':_0x1167d6,'context':_0x568a46,'unlinkedAt':_0x4a859a,'attributes':_0x31b018,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xcc),(_0x3b835d,{commentThreadId:_0x1867c5,resolvedBy:_0x5bb99e,resolvedAt:_0x487bc0})=>{const _0x1ac2f1=_0x17de6d,_0x4fa95a=_0x1cd2a7[_0x1ac2f1(0xb5)](_0x1867c5);_0x4fa95a&&_0x4fa95a[_0x1ac2f1(0xce)]({'resolvedBy':_0x5bb99e,'resolvedAt':_0x487bc0,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xbd),(_0x2aeb76,{commentThreadId:_0xc61045})=>{const _0x2f92d8=_0x17de6d,_0x2b7207=_0x1cd2a7[_0x2f92d8(0xb5)](_0xc61045);_0x2b7207&&_0x2b7207[_0x2f92d8(0x94)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x78),(_0x3bba61,{commentThreadId:_0x1d40f5})=>{const _0x28c2b8=_0x17de6d,_0xb61b85=_0x1cd2a7[_0x28c2b8(0xb5)](_0x1d40f5);_0xb61b85&&_0xb61b85[_0x28c2b8(0xbe)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x8d),(_0x496881,_0x35c0e5)=>{const _0x13884d=_0x17de6d,_0x1cd978=_0x35c0e5[_0x13884d(0xad)],_0x101614=_0x1cd2a7[_0x13884d(0xb5)](_0x1cd978);_0x101614&&_0x101614[_0x13884d(0xa6)]({...B(_0x35c0e5),'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x6a),(_0x10ae45,{commentThreadId:_0x11b6c5,commentId:_0x5771b1,content:_0xaa45fa,attributes:_0x3de175})=>{const _0x5c1b0f=_0x17de6d,_0x34bcb2=_0x1cd2a7[_0x5c1b0f(0xb5)](_0x11b6c5);if(_0x34bcb2){const _0x5ac5bd=_0x34bcb2[_0x5c1b0f(0x8e)](_0x5771b1);_0x5ac5bd&&_0x5ac5bd[_0x5c1b0f(0xa4)]({'content':_0xaa45fa,'attributes':_0x3de175,'isFromAdapter':!0x0});}}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x9e),(_0x43f9dd,{commentThreadId:_0x19fca6,commentId:_0x2338d0})=>{const _0xf415bd=_0x17de6d,_0x441ea5=_0x1cd2a7[_0xf415bd(0xb5)](_0x19fca6);if(_0x441ea5){const _0x3e07f1=_0x441ea5[_0xf415bd(0x8e)](_0x2338d0);_0x3e07f1&&_0x3e07f1[_0xf415bd(0xbe)]({'isFromAdapter':!0x0});}}),await this[_0x17de6d(0xab)](_0x1df551);}[_0x404913(0x7b)](){const _0x2b36a6=_0x404913;if(this[_0x2b36a6(0x9f)]instanceof _0x2f53f5){const _0x9447e6=this[_0x2b36a6(0x9f)][_0x2b36a6(0xaa)][_0x2b36a6(0x91)](_0x2b36a6(0x6d));this[_0x2b36a6(0x87)](_0x9447e6);}}[_0x404913(0x87)](_0xea5bdf){const _0x1d2080=_0x404913;if(!this[_0x1d2080(0x7c)][_0x1d2080(0x85)](_0xea5bdf))throw new _0x31f2f4(_0x1d2080(0x98),null,{'channelId':_0xea5bdf});this[_0x1d2080(0x86)](_0xea5bdf)[_0x1d2080(0x75)](),this[_0x1d2080(0x7c)][_0x1d2080(0xbf)](_0xea5bdf);}async[_0x404913(0x6c)](){const _0x429d30=_0x404913;for(const _0x4d3f70 of this[_0x429d30(0x7c)][_0x429d30(0xb1)]())await this[_0x429d30(0xab)](_0x4d3f70);if(this[_0x429d30(0x9f)]instanceof _0x2f53f5){const _0x40f81a=this[_0x429d30(0x9f)][_0x429d30(0xaa)][_0x429d30(0x91)](_0x429d30(0x6d)),_0x2d6d=this[_0x429d30(0x9f)][_0x429d30(0x9a)][_0x429d30(0x91)](_0x52e909);_0x2d6d[_0x429d30(0xb6)](_0x40f81a);const _0x44c0f2=await this[_0x429d30(0x7c)][_0x429d30(0x91)](_0x40f81a)[_0x429d30(0x83)]();_0x2d6d[_0x429d30(0xa2)](_0x40f81a,_0x44c0f2);}}async[_0x404913(0xab)](_0xbffd4){const _0x4de636=_0x404913,{connection:_0x530f03}=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x119252),_0x8e52cc=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x4de636(0xa5)),_0x3d2bb7=this[_0x4de636(0x7c)][_0x4de636(0x91)](_0xbffd4),_0x4c9c71=await _0x3d2bb7[_0x4de636(0x69)](_0x530f03);await this[_0x4de636(0x73)](_0x4c9c71);const _0x127fd7=new Set(Array[_0x4de636(0x82)](_0x8e52cc[_0x4de636(0x79)]({'channelId':_0xbffd4}),_0x33bac7=>_0x33bac7['id']));for(const _0xc674aa of _0x4c9c71)_0xc674aa[_0x4de636(0xc9)]||_0x127fd7[_0x4de636(0xbf)](_0xc674aa[_0x4de636(0xad)]);for(const _0x518c2a of _0x127fd7)_0x8e52cc[_0x4de636(0xb5)](_0x518c2a)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x11c4e7 of _0x4c9c71){let _0xa60ec8=_0x8e52cc[_0x4de636(0xb5)](_0x11c4e7[_0x4de636(0xad)]);const {commentThreadId:_0x251c78,context:_0x14c267,attributes:_0x2f8301,resolvedBy:_0x4e615e,resolvedAt:_0x1307ed,unlinkedAt:_0xbe83e7,deletedAt:_0x126d2e}=_0x11c4e7;if(_0x126d2e)continue;_0xa60ec8||(_0xa60ec8=_0x8e52cc[_0x4de636(0xb0)]({'channelId':_0xbffd4,'threadId':_0x251c78,'context':_0x14c267,'attributes':_0x2f8301||{},'resolvedBy':_0x4e615e,'resolvedAt':_0x1307ed,'unlinkedAt':_0xbe83e7,'isFromAdapter':!0x0}));const _0x1f922d=new Set(Array[_0x4de636(0x82)](_0xa60ec8[_0x4de636(0x8f)],_0x2622a9=>_0x2622a9['id']));for(const _0x3c3272 of _0x11c4e7[_0x4de636(0x8f)])_0x1f922d[_0x4de636(0xbf)](_0x3c3272[_0x4de636(0x96)]);for(const _0x36eb3e of _0x1f922d)_0xa60ec8[_0x4de636(0x8e)](_0x36eb3e)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x52c5a4 of _0x11c4e7[_0x4de636(0x8f)]){const _0x343c37=_0xa60ec8[_0x4de636(0x8e)](_0x52c5a4[_0x4de636(0x96)]);_0x343c37?_0x343c37[_0x4de636(0xc4)]!==_0x52c5a4[_0x4de636(0xc4)]&&_0x343c37[_0x4de636(0xa4)]({'content':_0x52c5a4[_0x4de636(0xc4)],'isFromAdapter':!0x0}):_0xa60ec8[_0x4de636(0xa6)](Object[_0x4de636(0x8b)](B(_0x52c5a4),{'isFromAdapter':!0x0}));}}}[_0x404913(0x86)](_0x167ba9){const _0x5c8a58=_0x404913;if(!this[_0x5c8a58(0x7c)][_0x5c8a58(0x85)](_0x167ba9))throw new _0x31f2f4(_0x5c8a58(0xa1),null,{'channelId':_0x167ba9});return this[_0x5c8a58(0x7c)][_0x5c8a58(0x91)](_0x167ba9);}async[_0x404913(0x73)](_0x4239f1){const _0x576713=_0x404913,_0x40ac43=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x2cbe78),{connection:_0x5b36b0}=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x119252),_0x146d01=new Set();for(const {resolvedBy:_0x27c1ff,comments:_0x21cc6a}of _0x4239f1){_0x27c1ff&&!_0x40ac43[_0x576713(0xb8)](_0x27c1ff)&&_0x146d01[_0x576713(0xb4)](_0x27c1ff);for(const {userId:_0x28bf47}of _0x21cc6a)_0x40ac43[_0x576713(0xb8)](_0x28bf47)||_0x146d01[_0x576713(0xb4)](_0x28bf47);}if(0x0===_0x146d01[_0x576713(0x88)])return;const _0x2cf21b=await _0x46537d[_0x576713(0x7e)](_0x5b36b0,Array[_0x576713(0x82)](_0x146d01));for(const _0x400522 of _0x2cf21b)_0x40ac43[_0x576713(0xb8)](_0x400522['id'])||_0x40ac43[_0x576713(0x72)](_0x400522);}}export{s as CloudServicesCommentsAdapter};async function F(_0x182b14){const _0xa8c853=_0x404913;if(_0xa8c853(0xb9)!==_0x182b14[_0xa8c853(0xa3)])throw _0x182b14;}function k(_0xc83947){const _0x382db6=_0x404913;if((_0x472a19=_0xc83947)[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xc0))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xca))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xb2)))return new Promise(()=>{});var _0x472a19;throw _0xc83947;}function B(_0x346cb3){const _0x5c98a3=_0x404913;return{'threadId':_0x346cb3[_0x5c98a3(0xad)],'commentId':_0x346cb3[_0x5c98a3(0x96)],'content':_0x346cb3[_0x5c98a3(0xc4)],'createdAt':_0x346cb3[_0x5c98a3(0x89)],'authorId':_0x346cb3[_0x5c98a3(0x9c)],'attributes':_0x346cb3[_0x5c98a3(0xae)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3492d1=_0x1936;(function(_0x5d0048,_0x505d28){const _0x528a02=_0x1936,_0x4e20c9=_0x5d0048();while(!![]){try{const _0x4cb4c3=parseInt(_0x528a02(0x175))/0x1+-parseInt(_0x528a02(0x169))/0x2*(parseInt(_0x528a02(0x16f))/0x3)+parseInt(_0x528a02(0x171))/0x4*(parseInt(_0x528a02(0x178))/0x5)+parseInt(_0x528a02(0x15f))/0x6+-parseInt(_0x528a02(0x15e))/0x7+-parseInt(_0x528a02(0x168))/0x8*(parseInt(_0x528a02(0x16c))/0x9)+parseInt(_0x528a02(0x170))/0xa;if(_0x4cb4c3===_0x505d28)break;else _0x4e20c9['push'](_0x4e20c9['shift']());}catch(_0x1ef562){_0x4e20c9['push'](_0x4e20c9['shift']());}}}(_0x338e,0x7a310));import{Plugin as _0x1629aa}from'ckeditor5/src/core.js';function _0x1936(_0x17e8e5,_0x492dd3){const _0x338e2a=_0x338e();return _0x1936=function(_0x1936b1,_0x10d7ec){_0x1936b1=_0x1936b1-0x15d;let _0x632550=_0x338e2a[_0x1936b1];return _0x632550;},_0x1936(_0x17e8e5,_0x492dd3);}function _0x338e(){const _0x1005c1=['collaboration.channelId','isPremiumPlugin','switchReadOnly','Comments','requires','connected','listenTo','CommentsRepository','8tDqygR','2NLbeeO','isOfficialPlugin','editor','7253379VzcIuJ','_terminateService','once','2137557fMjorP','14137770HLsBlg','5648uSvNSc','CommentsEditing','config','isThreadsLoadingPaused','648116uWqQLB','init','RealTimeCollaborativeComments','475zzlxxi','data','destroy','ready','pluginName','plugins','change:state','_setUpService','get','4920230gxBGLY','3154818xnYUJN'];_0x338e=function(){return _0x1005c1;};return _0x338e();}import{CloudServicesCommentsAdapter as _0x3baef1}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4c1a3f}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0xb58515}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x1629aa{static get[_0x3492d1(0x164)](){const _0x174f27=_0x3492d1;return[_0x174f27(0x163),_0x3baef1,_0x4c1a3f,_0xb58515];}static get[_0x3492d1(0x17c)](){const _0x525be5=_0x3492d1;return _0x525be5(0x177);}static get[_0x3492d1(0x16a)](){return!0x0;}static get[_0x3492d1(0x161)](){return!0x0;}[_0x3492d1(0x176)](){const _0x151f44=_0x3492d1,_0x2e18f9=this[_0x151f44(0x16b)][_0x151f44(0x17d)][_0x151f44(0x15d)](_0xb58515),_0x1c322a=this[_0x151f44(0x16b)][_0x151f44(0x17d)][_0x151f44(0x15d)](_0x151f44(0x172)),_0x1b7514=this[_0x151f44(0x16b)][_0x151f44(0x17d)][_0x151f44(0x15d)](_0x3baef1);return this[_0x151f44(0x16b)][_0x151f44(0x179)][_0x151f44(0x16e)](_0x151f44(0x17b),()=>{const _0x53273c=_0x151f44;this[_0x53273c(0x166)](_0x2e18f9,_0x53273c(0x17e),(_0x2e9fb5,_0x1949be,_0x201659)=>{const _0x3ace7f=_0x53273c;_0x1c322a[_0x3ace7f(0x174)]=_0x3ace7f(0x165)!==_0x201659;});}),this[_0x151f44(0x166)](_0x2e18f9,_0x151f44(0x17e),(_0x36de3e,_0x513df5,_0x3f4b32)=>{const _0xd2d709=_0x151f44;this[_0xd2d709(0x16b)][_0xd2d709(0x17d)][_0xd2d709(0x15d)](_0xd2d709(0x167))[_0xd2d709(0x162)](_0xd2d709(0x165)!==_0x3f4b32);}),_0x1b7514[_0x151f44(0x17f)](this[_0x151f44(0x16b)][_0x151f44(0x173)][_0x151f44(0x15d)](_0x151f44(0x160)));}[_0x3492d1(0x17a)](){const _0x54e07c=_0x3492d1;this[_0x54e07c(0x16b)][_0x54e07c(0x17d)][_0x54e07c(0x15d)](_0x3baef1)[_0x54e07c(0x16d)](this[_0x54e07c(0x16b)][_0x54e07c(0x173)][_0x54e07c(0x15d)](_0x54e07c(0x160))),super[_0x54e07c(0x17a)]();}}
23
+ function _0x3cc5(_0x3ae555,_0x593b7d){const _0x886205=_0x8862();return _0x3cc5=function(_0x3cc5c5,_0x289a45){_0x3cc5c5=_0x3cc5c5-0x1e4;let _0x4435d3=_0x886205[_0x3cc5c5];return _0x4435d3;},_0x3cc5(_0x3ae555,_0x593b7d);}const _0x1f96c0=_0x3cc5;(function(_0xc0c5b3,_0x3e0210){const _0x3f5fce=_0x3cc5,_0x5a6190=_0xc0c5b3();while(!![]){try{const _0x18c67d=-parseInt(_0x3f5fce(0x1e5))/0x1*(parseInt(_0x3f5fce(0x206))/0x2)+parseInt(_0x3f5fce(0x203))/0x3*(-parseInt(_0x3f5fce(0x1eb))/0x4)+-parseInt(_0x3f5fce(0x1fe))/0x5+parseInt(_0x3f5fce(0x1fb))/0x6*(-parseInt(_0x3f5fce(0x200))/0x7)+parseInt(_0x3f5fce(0x1e6))/0x8*(parseInt(_0x3f5fce(0x1f3))/0x9)+parseInt(_0x3f5fce(0x1e9))/0xa+parseInt(_0x3f5fce(0x1ef))/0xb;if(_0x18c67d===_0x3e0210)break;else _0x5a6190['push'](_0x5a6190['shift']());}catch(_0x597251){_0x5a6190['push'](_0x5a6190['shift']());}}}(_0x8862,0xa481f));import{Plugin as _0x35c538}from'ckeditor5/src/core.js';function _0x8862(){const _0x38a191=['listenTo','_terminateService','ready','once','1543722cOZWYT','plugins','_setUpService','3197230vejYDS','Comments','7wFvXHu','pluginName','editor','2411202tgKYdf','data','isPremiumPlugin','209194IeUsJI','CommentsEditing','init','1sUcPqp','8PLlLhw','requires','RealTimeCollaborativeComments','10062900cKGQcy','get','4BpgvXC','isOfficialPlugin','CommentsRepository','isThreadsLoadingPaused','11623337oOjPOP','change:state','collaboration.channelId','destroy','3743370tTGKTU','connected','config','switchReadOnly'];_0x8862=function(){return _0x38a191;};return _0x8862();}import{CloudServicesCommentsAdapter as _0x15366d}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1f9e8b}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x493c24}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x35c538{static get[_0x1f96c0(0x1e7)](){const _0x331c35=_0x1f96c0;return[_0x331c35(0x1ff),_0x15366d,_0x1f9e8b,_0x493c24];}static get[_0x1f96c0(0x201)](){const _0x1d9e06=_0x1f96c0;return _0x1d9e06(0x1e8);}static get[_0x1f96c0(0x1ec)](){return!0x0;}static get[_0x1f96c0(0x205)](){return!0x0;}[_0x1f96c0(0x1e4)](){const _0x14c273=_0x1f96c0,_0x38286a=this[_0x14c273(0x202)][_0x14c273(0x1fc)][_0x14c273(0x1ea)](_0x493c24),_0x1aa804=this[_0x14c273(0x202)][_0x14c273(0x1fc)][_0x14c273(0x1ea)](_0x14c273(0x207)),_0x283016=this[_0x14c273(0x202)][_0x14c273(0x1fc)][_0x14c273(0x1ea)](_0x15366d);return this[_0x14c273(0x202)][_0x14c273(0x204)][_0x14c273(0x1fa)](_0x14c273(0x1f9),()=>{const _0x10263c=_0x14c273;this[_0x10263c(0x1f7)](_0x38286a,_0x10263c(0x1f0),(_0x4eb8e6,_0x4cc8a9,_0x381f67)=>{const _0x3fdd95=_0x10263c;_0x1aa804[_0x3fdd95(0x1ee)]=_0x3fdd95(0x1f4)!==_0x381f67;});}),this[_0x14c273(0x1f7)](_0x38286a,_0x14c273(0x1f0),(_0x58a158,_0x2b123e,_0x393a8b)=>{const _0x474970=_0x14c273;this[_0x474970(0x202)][_0x474970(0x1fc)][_0x474970(0x1ea)](_0x474970(0x1ed))[_0x474970(0x1f6)](_0x474970(0x1f4)!==_0x393a8b);}),_0x283016[_0x14c273(0x1fd)](this[_0x14c273(0x202)][_0x14c273(0x1f5)][_0x14c273(0x1ea)](_0x14c273(0x1f1)));}[_0x1f96c0(0x1f2)](){const _0x1ae3f6=_0x1f96c0;this[_0x1ae3f6(0x202)][_0x1ae3f6(0x1fc)][_0x1ae3f6(0x1ea)](_0x15366d)[_0x1ae3f6(0x1f8)](this[_0x1ae3f6(0x202)][_0x1ae3f6(0x1f5)][_0x1ae3f6(0x1ea)](_0x1ae3f6(0x1f1))),super[_0x1ae3f6(0x1f2)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46ec9e=_0x39e6;(function(_0x15c6bd,_0x30187e){const _0x3bb7de=_0x39e6,_0x185c37=_0x15c6bd();while(!![]){try{const _0x3a3c88=parseInt(_0x3bb7de(0x2a7))/0x1*(parseInt(_0x3bb7de(0x25e))/0x2)+parseInt(_0x3bb7de(0x251))/0x3+-parseInt(_0x3bb7de(0x224))/0x4*(parseInt(_0x3bb7de(0x229))/0x5)+-parseInt(_0x3bb7de(0x1c5))/0x6+-parseInt(_0x3bb7de(0x21c))/0x7+parseInt(_0x3bb7de(0x258))/0x8+parseInt(_0x3bb7de(0x28f))/0x9;if(_0x3a3c88===_0x30187e)break;else _0x185c37['push'](_0x185c37['shift']());}catch(_0x3984e5){_0x185c37['push'](_0x185c37['shift']());}}}(_0x1215,0xd68cd));import{Plugin as _0x4f518d,PendingActions as _0x234a3b}from'ckeditor5/src/core.js';import{CKEditorError as _0x671325,version as _0x3f5070,uid as _0x2c72f6}from'ckeditor5/src/utils.js';import{Notification as _0xe302f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x12d2e3,NoOperation as _0x26b05c,InsertOperation as _0x3fa0fc,MarkerOperation as _0x101329,RootAttributeOperation as _0x85f4e1,OperationFactory as _0x1229e9,History as _0x59c3fa}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x49b70b}from'./websocketgateway.js';import{Sessions as _0xf9728e}from'./sessions.js';import{UserMarkers as _0x195cd3}from'./usermarkers.js';import{getTranslation as _0x3a3340}from'../common-translations.js';import{Compressor as _0x51534c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x430dac}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x217628,CollaborativeEditingService as _0x1bcb5c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x4f518d{static [_0x46ec9e(0x26f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1bcb5c)());[_0x46ec9e(0x25f)];[_0x46ec9e(0x256)];[_0x46ec9e(0x1c6)];[_0x46ec9e(0x1ba)];[_0x46ec9e(0x294)];[_0x46ec9e(0x282)];[_0x46ec9e(0x226)];[_0x46ec9e(0x1de)];[_0x46ec9e(0x1db)];[_0x46ec9e(0x216)];[_0x46ec9e(0x220)];[_0x46ec9e(0x27b)];[_0x46ec9e(0x249)];[_0x46ec9e(0x237)];[_0x46ec9e(0x242)];[_0x46ec9e(0x1e9)];[_0x46ec9e(0x1c4)];[_0x46ec9e(0x1d7)];static get[_0x46ec9e(0x24e)](){return[_0x49b70b,_0xf9728e,_0x195cd3,_0x234a3b,_0x430dac,_0xe302f];}static get[_0x46ec9e(0x262)](){const _0x411e1f=_0x46ec9e;return _0x411e1f(0x1b4);}static get[_0x46ec9e(0x280)](){return!0x0;}static get[_0x46ec9e(0x29b)](){return!0x0;}get[_0x46ec9e(0x1f7)](){const _0x18f48b=_0x46ec9e;return this[_0x18f48b(0x1bb)]+this[_0x18f48b(0x25f)];}get[_0x46ec9e(0x1bb)](){const _0x34c0d8=_0x46ec9e;return this[_0x34c0d8(0x1c6)][_0x34c0d8(0x1d2)]-this[_0x34c0d8(0x25f)];}get[_0x46ec9e(0x1ed)](){const _0x44b577=_0x46ec9e,_0x32de75=this[_0x44b577(0x1c6)][_0x44b577(0x232)]();for(let _0x54575f=_0x32de75[_0x44b577(0x1f3)]-0x1;_0x54575f>=0x0;_0x54575f--){const _0x306779=_0x32de75[_0x54575f];if(!this[_0x44b577(0x1c4)][_0x44b577(0x26a)](_0x306779))return _0x306779[_0x44b577(0x201)]+0x1-this[_0x44b577(0x25f)];}return 0x0;}constructor(_0x27609e){const _0x48f9c1=_0x46ec9e;if(super(_0x27609e),this[_0x48f9c1(0x25f)]=0x0,this[_0x48f9c1(0x256)]=null,this[_0x48f9c1(0x1c6)]=new _0x59c3fa(),this[_0x48f9c1(0x1d3)][_0x48f9c1(0x254)][_0x48f9c1(0x28b)](_0x48f9c1(0x297),{}),this[_0x48f9c1(0x1ba)]=this[_0x48f9c1(0x1d3)][_0x48f9c1(0x254)][_0x48f9c1(0x22a)](_0x48f9c1(0x207)),!this[_0x48f9c1(0x1ba)])throw new _0x671325(_0x48f9c1(0x21d),this);const _0x2b86f0=_0x27609e[_0x48f9c1(0x254)][_0x48f9c1(0x22a)](_0x48f9c1(0x1fd))||_0x3f5070;this[_0x48f9c1(0x294)]=new l[(_0x48f9c1(0x26f))](_0x2b86f0,this[_0x48f9c1(0x1ba)]),this[_0x48f9c1(0x282)]=this[_0x48f9c1(0x1d3)][_0x48f9c1(0x28c)][_0x48f9c1(0x24a)],this[_0x48f9c1(0x226)]=new _0x51534c(),this[_0x48f9c1(0x1de)]=[],this[_0x48f9c1(0x1db)]=new WeakSet(),this[_0x48f9c1(0x216)]=new Set(),this[_0x48f9c1(0x240)](_0x48f9c1(0x2ab),!0x1),this[_0x48f9c1(0x240)](_0x48f9c1(0x214),!0x1),this[_0x48f9c1(0x220)]=null,this[_0x48f9c1(0x27b)]=!0x1,this[_0x48f9c1(0x249)]=null,this[_0x48f9c1(0x237)]=0x12c,this[_0x48f9c1(0x242)]=this[_0x48f9c1(0x237)],this[_0x48f9c1(0x1e9)]=null,this[_0x48f9c1(0x1c4)]=new WeakSet(),this[_0x48f9c1(0x1d7)]=new F(this[_0x48f9c1(0x1c4)]);}[_0x46ec9e(0x1bc)](){const _0x2d3142=_0x46ec9e,_0x363174=this[_0x2d3142(0x1d3)],_0x339b75=_0x363174[_0x2d3142(0x20b)][_0x2d3142(0x22a)](_0x430dac),_0x3dffb6=_0x363174[_0x2d3142(0x20b)][_0x2d3142(0x22a)](_0x49b70b);this[_0x2d3142(0x20f)](_0x339b75,_0x2d3142(0x20c),(_0x21d7d9,_0x5db4b8)=>{const _0x5978d7=_0x2d3142,_0x21adac=_0x5db4b8[0x0];_0x21adac[_0x5978d7(0x2a1)]&&(_0x21d7d9[_0x5978d7(0x264)]=_0x339b75[_0x5978d7(0x271)](_0x21adac[_0x5978d7(0x2a1)]),_0x21d7d9[_0x5978d7(0x231)]()),null===_0x21adac[_0x5978d7(0x2a1)]&&(_0x21d7d9[_0x5978d7(0x264)]=null,_0x21d7d9[_0x5978d7(0x231)]());},{'priority':_0x2d3142(0x2a3)}),this[_0x2d3142(0x20f)](_0x363174[_0x2d3142(0x28c)][_0x2d3142(0x24a)][_0x2d3142(0x1d6)],_0x2d3142(0x1c7),(_0x499eda,_0x4f5980)=>{const _0x24ec19=_0x2d3142;_0x4f5980[_0x24ec19(0x1d8)]&&this[_0x24ec19(0x1ff)]();}),this[_0x2d3142(0x20f)](_0x363174[_0x2d3142(0x298)][_0x2d3142(0x211)],_0x2d3142(0x203),()=>{const _0x33fa2d=_0x2d3142;this[_0x33fa2d(0x1ff)]();}),this[_0x2d3142(0x1fe)](),_0x363174[_0x2d3142(0x28c)]['on'](_0x2d3142(0x1d4),(_0x26beba,_0x4e6f84)=>{const _0x3a876a=_0x2d3142,_0x8c8052=_0x4e6f84[0x0];_0x8c8052[_0x3a876a(0x1c0)]&&(this[_0x3a876a(0x2a0)](_0x8c8052),this[_0x3a876a(0x291)]()&&this[_0x3a876a(0x279)]());}),this[_0x2d3142(0x267)](),this[_0x2d3142(0x22e)](_0x2d3142(0x22f))['to'](_0x3dffb6,_0x2d3142(0x241),this,_0x2d3142(0x214),(_0x574fda,_0x4e8207)=>_0x2d3142(0x1ad)===_0x574fda&&!_0x4e8207),this['on'](_0x2d3142(0x21e),()=>{const _0x905d4c=_0x2d3142;this[_0x905d4c(0x22f)]?_0x363174[_0x905d4c(0x257)](_0x905d4c(0x209)):_0x363174[_0x905d4c(0x208)](_0x905d4c(0x209));}),this[_0x2d3142(0x22f)]?_0x363174[_0x2d3142(0x257)](_0x2d3142(0x209)):_0x363174[_0x2d3142(0x208)](_0x2d3142(0x209)),this[_0x2d3142(0x240)](_0x2d3142(0x295),!0x1);}async[_0x46ec9e(0x1ea)](){const _0x22c228=_0x46ec9e,_0x263cb1=this[_0x22c228(0x1d3)][_0x22c228(0x20b)][_0x22c228(0x22a)](_0xf9728e),_0x37c966=this[_0x22c228(0x1d3)][_0x22c228(0x20b)][_0x22c228(0x22a)](_0x49b70b);try{this[_0x22c228(0x2ab)]=!0x0,_0x263cb1[_0x22c228(0x29a)](this[_0x22c228(0x1ba)]);const _0x466f0a=await this[_0x22c228(0x294)][_0x22c228(0x1ea)](_0x37c966[_0x22c228(0x1f5)],this[_0x22c228(0x1ed)]);await this[_0x22c228(0x246)](_0x466f0a)&&(this[_0x22c228(0x2ab)]=!0x1,this[_0x22c228(0x281)]());const _0x47fa33=await this[_0x22c228(0x294)][_0x22c228(0x252)]();_0x263cb1[_0x22c228(0x215)](this[_0x22c228(0x1ba)],_0x47fa33),this[_0x22c228(0x228)](),this[_0x22c228(0x295)]=!0x0;}catch(_0x41ea7f){if(function(_0xeaac49){const _0xb3215c=_0x22c228;return _0xb3215c(0x23f)===_0xeaac49[_0xb3215c(0x26b)];}(_0x41ea7f)&&this[_0x22c228(0x256)])await this[_0x22c228(0x218)]();else{if(function(_0x5ef2e2){const _0x546e03=_0x22c228;return _0x546e03(0x1b3)===_0x5ef2e2[_0x546e03(0x26b)];}(_0x41ea7f)){const _0xeef4f1=_0x3a3340(this[_0x22c228(0x1d3)][_0x22c228(0x1b8)],_0x22c228(0x2a8));this[_0x22c228(0x227)](_0xeef4f1);}else{if(!(_0x41ea7f instanceof V))throw _0x41ea7f;this[_0x22c228(0x227)]();}}}}[_0x46ec9e(0x277)](){const _0xec53e1=_0x46ec9e,_0x4fb809=this[_0xec53e1(0x1d3)][_0xec53e1(0x20b)][_0xec53e1(0x22a)](_0x49b70b),_0x3eca7c=this[_0xec53e1(0x1d3)][_0xec53e1(0x20b)][_0xec53e1(0x22a)](_0xf9728e);this[_0xec53e1(0x1d3)][_0xec53e1(0x208)](_0xec53e1(0x25c)),_0x3eca7c[_0xec53e1(0x247)][_0xec53e1(0x26a)](this[_0xec53e1(0x1ba)])&&_0x3eca7c[_0xec53e1(0x29a)](this[_0xec53e1(0x1ba)]),_0x4fb809[_0xec53e1(0x23e)](this),this[_0xec53e1(0x28d)](),super[_0xec53e1(0x277)]();}async[_0x46ec9e(0x246)](_0x5a5ee4){const _0x41ddec=_0x46ec9e;if(this[_0x41ddec(0x256)]!==_0x5a5ee4[_0x41ddec(0x256)]&&this[_0x41ddec(0x1e9)]!==_0x5a5ee4[_0x41ddec(0x288)])throw new V();return this[_0x41ddec(0x256)]=_0x5a5ee4[_0x41ddec(0x256)],this[_0x41ddec(0x24f)]([],{..._0x5a5ee4,'wereChangesApplied':!0x1,'data':_0x5a5ee4[_0x41ddec(0x268)]},_0x41ddec(0x1ea));}async[_0x46ec9e(0x1b6)](_0x5335c3,_0x5c82d9=!0x1){const _0x781721=_0x46ec9e,{connection:_0x5e902f}=this[_0x781721(0x1d3)][_0x781721(0x20b)][_0x781721(0x22a)](_0x49b70b);l[_0x781721(0x26f)][_0x781721(0x252)](_0x5e902f,this[_0x781721(0x1ba)])[_0x781721(0x2ae)](_0x12a691=>this[_0x781721(0x22c)](_0x12a691))[_0x781721(0x263)](_0x41a6da=>{const _0x3055cd=_0x781721;this[_0x3055cd(0x1e0)](_0x3055cd(0x283),_0x41a6da);}),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x275),this[_0x781721(0x2a5)][_0x781721(0x22e)](this)),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x210),(_0x182675,_0x301643)=>{const _0x268839=_0x781721;this[_0x268839(0x1e0)](_0x268839(0x1fc),_0x301643);}),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x28a),()=>{const _0x1334d9=_0x781721;this[_0x1334d9(0x295)]=!0x1;});const _0x80a347=this[_0x781721(0x1d7)][_0x781721(0x1c8)](_0x5335c3);this[_0x781721(0x2ab)]=!0x0;const _0x3c3aa0=await this[_0x781721(0x294)][_0x781721(0x1f0)](_0x5e902f,this[_0x781721(0x27c)](_0x5335c3),_0x80a347);if(this[_0x781721(0x256)]=_0x3c3aa0[_0x781721(0x256)],_0x5c82d9){if(!_0x3c3aa0[_0x781721(0x1bd)])return void this[_0x781721(0x227)]();this[_0x781721(0x2ab)]=!0x1,this[_0x781721(0x281)](),this[_0x781721(0x1c6)][_0x781721(0x25b)](),this[_0x781721(0x25f)]=_0x3c3aa0[_0x781721(0x21f)],this[_0x781721(0x1c6)][_0x781721(0x1d2)]=this[_0x781721(0x25f)],await this[_0x781721(0x24f)](_0x5335c3,_0x3c3aa0,_0x781721(0x1ce));}else await this[_0x781721(0x212)](_0x3c3aa0,_0x5335c3);this[_0x781721(0x228)](),this[_0x781721(0x295)]=!0x0;}[_0x46ec9e(0x228)](){const _0x3f9ddc=_0x46ec9e,_0x181c2d=this[_0x3f9ddc(0x1d3)][_0x3f9ddc(0x20b)][_0x3f9ddc(0x22a)](_0xf9728e),_0x454a73=this[_0x3f9ddc(0x1d3)][_0x3f9ddc(0x20b)][_0x3f9ddc(0x22a)](_0x195cd3),_0x3cb187=_0x181c2d[_0x3f9ddc(0x247)][_0x3f9ddc(0x22a)](this[_0x3f9ddc(0x1ba)]);_0x3cb187&&_0x3cb187[_0x3f9ddc(0x1f3)]>0x1?_0x454a73[_0x3f9ddc(0x265)]():this[_0x3f9ddc(0x20f)](_0x181c2d,_0x3f9ddc(0x2aa)+this[_0x3f9ddc(0x1ba)],()=>{const _0x365bac=_0x3f9ddc;0x2===_0x181c2d[_0x365bac(0x247)][_0x365bac(0x22a)](this[_0x365bac(0x1ba)])[_0x365bac(0x1f3)]&&_0x454a73[_0x365bac(0x265)]();});}async[_0x46ec9e(0x2a5)](_0x4ccc8f,_0x172408,_0x2b8702,_0x51a01e){const _0x3b9045=_0x46ec9e;if(!this[_0x3b9045(0x2ab)]&&this[_0x3b9045(0x282)][_0x3b9045(0x1d2)]==_0x172408){const _0x33ed8b=this[_0x3b9045(0x29e)](_0x2b8702,_0x51a01e);await this[_0x3b9045(0x2a4)](_0x33ed8b),this[_0x3b9045(0x1e7)](_0x33ed8b,_0x172408,_0x2b8702[_0x3b9045(0x288)])||this[_0x3b9045(0x1e0)](_0x3b9045(0x213));}}async[_0x46ec9e(0x218)](){const _0x254dfb=_0x46ec9e;this[_0x254dfb(0x28d)]();const {locale:_0xfce1a1}=this[_0x254dfb(0x1d3)];let _0x5bd9e2;try{_0x5bd9e2=await this[_0x254dfb(0x294)][_0x254dfb(0x1b7)]();}catch{const _0x59d11f=_0x3a3340(_0xfce1a1,_0x254dfb(0x1d0));return void this[_0x254dfb(0x227)](_0x59d11f);}const _0x1e36d6=_0x5bd9e2[_0x254dfb(0x1df)]||_0x5bd9e2[_0x254dfb(0x244)];if(this[_0x254dfb(0x1e9)]!==_0x1e36d6[_0x254dfb(0x288)]){const _0x3938ab=_0x3a3340(_0xfce1a1,_0x254dfb(0x24d));return void this[_0x254dfb(0x227)](_0x3938ab);}await this[_0x254dfb(0x1b6)](this[_0x254dfb(0x1d3)][_0x254dfb(0x28c)][_0x254dfb(0x24a)][_0x254dfb(0x236)][_0x254dfb(0x232)](),!0x0);}[_0x46ec9e(0x28d)](){const _0x329e41=_0x46ec9e;this[_0x329e41(0x294)][_0x329e41(0x1b1)](),this[_0x329e41(0x1de)]=[],clearTimeout(this[_0x329e41(0x249)]),this[_0x329e41(0x1d1)](this[_0x329e41(0x294)]);}[_0x46ec9e(0x22c)](_0x4d8bdb){const _0x1371ed=_0x46ec9e,_0x1e11c0=this[_0x1371ed(0x1d3)][_0x1371ed(0x20b)][_0x1371ed(0x22a)](_0xf9728e);this[_0x1371ed(0x20f)](_0x1e11c0,_0x1371ed(0x2aa)+this[_0x1371ed(0x1ba)],(_0x35bd83,{session:_0x9e1bf0})=>{const _0x4ed25b=_0x1371ed;if(_0x9e1bf0['id']===_0x1e11c0[_0x4ed25b(0x221)]){_0x35bd83[_0x4ed25b(0x233)]();const _0x351d2a=this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x26a)](_0x4ed25b(0x25d))&&this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x22a)](_0x4ed25b(0x25d));let _0x4f05cf=_0x9e1bf0[_0x4ed25b(0x1f9)];_0x351d2a&&_0x351d2a[_0x4ed25b(0x27e)]&&(_0x4f05cf=_0x4f05cf[_0x4ed25b(0x1ef)](_0x1ec49a=>_0x4ed25b(0x24c)!==_0x1ec49a)),this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x22a)](_0x4ed25b(0x2ac))[_0x4ed25b(0x217)](_0x4f05cf,this[_0x4ed25b(0x1ba)]);}}),_0x1e11c0[_0x1371ed(0x215)](this[_0x1371ed(0x1ba)],_0x4d8bdb);}[_0x46ec9e(0x1fe)](){const _0x37bf57=_0x46ec9e,_0x3e7350=this[_0x37bf57(0x1d3)][_0x37bf57(0x268)][_0x37bf57(0x240)];this[_0x37bf57(0x1d3)][_0x37bf57(0x268)][_0x37bf57(0x240)]=(..._0x1d90ba)=>{const _0x29de42=_0x37bf57;if(!_0x1d90ba[_0x1d90ba[_0x29de42(0x1f3)]-0x1][_0x29de42(0x293)])throw new _0x671325(_0x29de42(0x253),this);_0x3e7350[_0x29de42(0x1b2)](this[_0x29de42(0x1d3)][_0x29de42(0x268)],_0x1d90ba);};}[_0x46ec9e(0x267)](){const _0x3d7551=_0x46ec9e;this[_0x3d7551(0x1d3)][_0x3d7551(0x268)]['on'](_0x3d7551(0x1bc),(_0x25ed40,[_0x32cf4d])=>{const _0xcf6593=_0x3d7551;if(this[_0xcf6593(0x282)][_0xcf6593(0x1d2)])throw new _0x671325(_0xcf6593(0x1e2),this);_0x25ed40[_0xcf6593(0x231)](),this[_0xcf6593(0x1da)]();const _0x17329b=this[_0xcf6593(0x1d3)][_0xcf6593(0x254)][_0xcf6593(0x22a)](_0xcf6593(0x1e8)),_0x39e8e0=this[_0xcf6593(0x205)](_0x32cf4d,_0x17329b);0x0==_0x39e8e0[_0xcf6593(0x1f3)]&&_0x39e8e0[_0xcf6593(0x1c1)](new _0x26b05c(0x0)),_0x25ed40[_0xcf6593(0x264)]=this[_0xcf6593(0x1b6)](_0x39e8e0)[_0xcf6593(0x2ae)](()=>{const _0x46ccc5=_0xcf6593;this[_0x46ccc5(0x1d3)][_0x46ccc5(0x20b)][_0x46ccc5(0x22a)](_0x49b70b)[_0x46ccc5(0x24b)](this),this[_0x46ccc5(0x1d3)][_0x46ccc5(0x268)][_0x46ccc5(0x206)](_0x46ccc5(0x1be));})[_0xcf6593(0x263)](_0x5cfb61=>this[_0xcf6593(0x1e0)](_0xcf6593(0x299),_0x5cfb61))[_0xcf6593(0x1cf)](()=>this[_0xcf6593(0x281)]());},{'priority':_0x3d7551(0x2a3)}),this[_0x3d7551(0x1d3)]['on'](_0x3d7551(0x225),async(_0x2c331d,[_0x153bb2,_0x29441d])=>{const _0x36fc3c=_0x3d7551;_0x2c331d[_0x36fc3c(0x231)]();const _0x2e088e=this[_0x36fc3c(0x1d3)][_0x36fc3c(0x28c)][_0x36fc3c(0x24a)][_0x36fc3c(0x200)](_0x153bb2);if(!this[_0x36fc3c(0x216)][_0x36fc3c(0x26a)](_0x153bb2)){const _0x1d8540=_0x29441d&&_0x29441d[_0x36fc3c(0x268)]?_0x29441d[_0x36fc3c(0x268)]:'',_0x457f51=_0x29441d&&_0x29441d[_0x36fc3c(0x2ad)]?_0x29441d[_0x36fc3c(0x2ad)]:{};await this[_0x36fc3c(0x20a)](_0x153bb2,_0x1d8540,_0x457f51);}this[_0x36fc3c(0x1d3)][_0x36fc3c(0x28c)][_0x36fc3c(0x2a9)]({'isUndoable':!0x1},()=>{const _0x38aa3a=_0x36fc3c;_0x2e088e[_0x38aa3a(0x202)]=!0x0,this[_0x38aa3a(0x1d3)][_0x38aa3a(0x28c)][_0x38aa3a(0x24a)][_0x38aa3a(0x261)][_0x38aa3a(0x259)](_0x2e088e);});},{'priority':_0x3d7551(0x2a3)});}async[_0x46ec9e(0x2a4)](_0xf900ab){const _0x41a5b6=_0x46ec9e,_0x559f94=this[_0x41a5b6(0x1d3)][_0x41a5b6(0x20b)][_0x41a5b6(0x22a)](_0x430dac),{connection:_0x258a50}=this[_0x41a5b6(0x1d3)][_0x41a5b6(0x20b)][_0x41a5b6(0x22a)](_0x49b70b),_0x2f5e82=new Set();for(const _0x2550ac of _0xf900ab){const _0x1816c9=_0x2550ac[_0x41a5b6(0x2a1)];_0x1816c9&&!_0x559f94[_0x41a5b6(0x271)](_0x1816c9)&&_0x2f5e82[_0x41a5b6(0x243)](_0x1816c9);}if(0x0===_0x2f5e82[_0x41a5b6(0x22d)])return;const _0x3a7ef4=await _0x217628[_0x41a5b6(0x1e4)](_0x258a50,Array[_0x41a5b6(0x23d)](_0x2f5e82));for(const _0x568516 of _0x3a7ef4)_0x559f94[_0x41a5b6(0x271)](_0x568516['id'])||_0x559f94[_0x41a5b6(0x1bf)](_0x568516);}[_0x46ec9e(0x205)](_0x2ec99d,_0x5b2e7f={}){const _0x900504=_0x46ec9e,_0x43f886=this[_0x900504(0x1d3)][_0x900504(0x28c)],_0x20aff6=[];let _0x119116=0x0;const _0x4c7106=_0x900504(0x1b0)==typeof _0x2ec99d?{'main':_0x2ec99d}:_0x2ec99d;for(const _0x5f1113 of Object[_0x900504(0x1b9)](_0x4c7106)){if(!this[_0x900504(0x282)][_0x900504(0x290)][_0x900504(0x26a)](_0x5f1113))throw new _0x671325(_0x900504(0x23a),this);const _0x1bea4b=this[_0x900504(0x1d3)][_0x900504(0x268)][_0x900504(0x245)](_0x4c7106[_0x5f1113]),_0x7976af=this[_0x900504(0x282)][_0x900504(0x200)](_0x5f1113),_0x37080e=new _0x3fa0fc(_0x43f886[_0x900504(0x22b)](_0x7976af,0x0),_0x1bea4b,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x37080e);for(const [_0x25d660,_0x5bf54f]of _0x1bea4b[_0x900504(0x1c2)]){const _0x439f4b=_0x43f886[_0x900504(0x1dd)](_0x43f886[_0x900504(0x1d5)](_0x7976af,_0x5bf54f[_0x900504(0x1cc)][_0x900504(0x27d)][_0x900504(0x1c3)]()),_0x43f886[_0x900504(0x1d5)](_0x7976af,_0x5bf54f[_0x900504(0x29c)][_0x900504(0x27d)][_0x900504(0x1c3)]())),_0x1254bb=new _0x101329(_0x25d660,null,_0x439f4b,_0x43f886[_0x900504(0x1c2)],!0x0,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x1254bb);}}if(_0x5b2e7f)for(const [_0x226d2f,_0x1a714c]of Object[_0x900504(0x1fa)](_0x5b2e7f)){const _0x57ca54=_0x43f886[_0x900504(0x24a)][_0x900504(0x200)](_0x226d2f);if(!_0x57ca54)throw new _0x671325(_0x900504(0x1f2),null);for(const [_0x46dd4f,_0x415f62]of Object[_0x900504(0x1fa)](_0x1a714c))if(null!==_0x415f62){const _0x4be9fc=new _0x85f4e1(_0x57ca54,_0x46dd4f,null,_0x415f62,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x4be9fc);}}return _0x20aff6;}async[_0x46ec9e(0x20a)](_0x2f5b62,_0x56ceb4,_0x337e5e){const _0x2fb065=_0x46ec9e;this[_0x2fb065(0x205)]({[_0x2f5b62]:_0x56ceb4},{[_0x2f5b62]:_0x337e5e})[_0x2fb065(0x29d)]((_0x33b713,_0x26167d)=>{const _0x5ae1ac=_0x2fb065;_0x33b713[_0x5ae1ac(0x201)]=this[_0x5ae1ac(0x282)][_0x5ae1ac(0x1d2)]+_0x26167d,_0x33b713[_0x5ae1ac(0x239)]=!0x0,this[_0x5ae1ac(0x2a0)](_0x33b713);}),this[_0x2fb065(0x279)](),await this[_0x2fb065(0x276)]();}async[_0x46ec9e(0x212)](_0x5f2f0c,_0x324464){const _0x284748=_0x46ec9e;let _0x47a059;this[_0x284748(0x25f)]=_0x5f2f0c[_0x284748(0x21f)];const _0x5b3128=_0x5f2f0c[_0x284748(0x1bd)]&&!_0x5f2f0c[_0x284748(0x235)],_0xd3d17d=_0x5b3128?0x0:_0x5f2f0c[_0x284748(0x268)][_0x284748(0x201)];if(_0x324464[_0x284748(0x29d)](_0x175fd0=>{const _0xebe188=_0x284748;_0x175fd0[_0xebe188(0x239)]=!0x0,_0x175fd0[_0xebe188(0x26e)]=_0x5f2f0c[_0xebe188(0x26c)],_0x175fd0[_0xebe188(0x2a1)]=null;}),_0x5b3128)_0x47a059=_0x324464,this[_0x284748(0x1af)](_0x47a059,_0x5b3128);else{if(_0x5f2f0c[_0x284748(0x235)]){const _0x2d1daf=this[_0x284748(0x205)](_0x5f2f0c[_0x284748(0x235)]);this[_0x284748(0x282)][_0x284748(0x236)][_0x284748(0x1d2)]=-_0x2d1daf[_0x284748(0x1f3)],_0x2d1daf[_0x284748(0x29d)](_0x5ae1bf=>{const _0x5319f5=_0x284748;_0x5ae1bf[_0x5319f5(0x201)]-=_0x2d1daf[_0x5319f5(0x1f3)],_0x5ae1bf[_0x5319f5(0x26e)]=_0x5f2f0c[_0x5319f5(0x26c)],_0x5ae1bf[_0x5319f5(0x239)]=!0x0,_0x5ae1bf[_0x5319f5(0x2a1)]=null;}),this[_0x284748(0x1af)](_0x2d1daf,!0x0),this[_0x284748(0x1c6)][_0x284748(0x1d2)]=-_0x2d1daf[_0x284748(0x1f3)]+this[_0x284748(0x25f)],this[_0x284748(0x250)](_0x2d1daf);}this[_0x284748(0x282)][_0x284748(0x236)][_0x284748(0x1d2)]=_0xd3d17d,_0x47a059=this[_0x284748(0x29e)](_0x5f2f0c[_0x284748(0x268)],_0x5f2f0c[_0x284748(0x23c)]),await this[_0x284748(0x2a4)](_0x47a059),this[_0x284748(0x1af)](_0x47a059,_0x5b3128);}_0x5f2f0c[_0x284748(0x288)]&&(this[_0x284748(0x1d7)][_0x284748(0x1ec)](_0x47a059,_0x5f2f0c[_0x284748(0x288)]),this[_0x284748(0x1e9)]=_0x5f2f0c[_0x284748(0x288)]),this[_0x284748(0x1c6)][_0x284748(0x1d2)]=_0xd3d17d+this[_0x284748(0x25f)],this[_0x284748(0x250)](_0x47a059),_0x324464[_0x284748(0x1ef)](_0x2c9ae6=>{const _0x413452=_0x284748,_0x24aff5=this[_0x413452(0x273)](_0x2c9ae6);return _0x24aff5&&!this[_0x413452(0x216)][_0x413452(0x26a)](_0x24aff5);})[_0x284748(0x29d)]((_0x5e0ff0,_0x1abaad)=>{const _0x2b103d=_0x284748;_0x5e0ff0[_0x2b103d(0x201)]=this[_0x2b103d(0x282)][_0x2b103d(0x1d2)]+_0x1abaad,this[_0x2b103d(0x2a0)](_0x5e0ff0);}),this[_0x284748(0x291)]()?(this[_0x284748(0x242)]=0x0,this[_0x284748(0x279)](!0x0),await this[_0x284748(0x276)]()):(this[_0x284748(0x2ab)]=!0x1,this[_0x284748(0x281)]());}[_0x46ec9e(0x1e0)](_0xe0c101,_0x528eeb){const _0x160890=_0x46ec9e,_0x14a9e9=_0x528eeb&&_0x528eeb[_0x160890(0x2b0)];if(_0x14a9e9&&_0x14a9e9[_0x160890(0x20e)](_0x160890(0x29f)))throw _0x528eeb;const _0x5860db=this[_0x160890(0x1d3)][_0x160890(0x20b)][_0x160890(0x22a)](_0x49b70b);throw this[_0x160890(0x2ab)]=!0x0,_0x5860db[_0x160890(0x1b1)](),this[_0x160890(0x1d3)][_0x160890(0x208)](_0x160890(0x204)),new _0x671325(_0xe0c101,this[_0x160890(0x1d3)],_0x14a9e9?{'originalError':_0x14a9e9}:void 0x0);}[_0x46ec9e(0x2a0)](_0xd7cc50){const _0xa658cd=_0x46ec9e;this[_0xa658cd(0x1db)][_0xa658cd(0x26a)](_0xd7cc50)||(this[_0xa658cd(0x1db)][_0xa658cd(0x243)](_0xd7cc50),this[_0xa658cd(0x1de)][_0xa658cd(0x1c1)](_0xd7cc50),this[_0xa658cd(0x220)]||_0xa658cd(0x1cb)==_0xd7cc50[_0xa658cd(0x278)]&&!_0xd7cc50[_0xa658cd(0x296)]||this[_0xa658cd(0x1da)]());}[_0x46ec9e(0x279)](_0x29c3ed=!0x1){const _0x5031bd=_0x46ec9e;!_0x29c3ed&&this[_0x5031bd(0x2ab)]||(this[_0x5031bd(0x2ab)]=!0x0,clearTimeout(this[_0x5031bd(0x249)]),this[_0x5031bd(0x249)]=setTimeout(()=>{const _0x141419=_0x5031bd;this[_0x141419(0x23b)]()[_0x141419(0x2ae)](_0xc929fc=>{const _0x5aa16f=_0x141419;_0xc929fc&&(this[_0x5aa16f(0x281)](),this[_0x5aa16f(0x2ab)]=!0x1);})[_0x141419(0x263)](_0x574a9a=>{const _0x4113b1=_0x141419;this[_0x4113b1(0x281)](),this[_0x4113b1(0x2ab)]=!0x1,function(_0x27faa7){const _0x12831c=_0x4113b1;return _0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x1f8))||_0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x1e6))||_0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x26d));}(_0x574a9a)||this[_0x4113b1(0x1e0)](_0x574a9a[_0x4113b1(0x2b0)],_0x574a9a);});},this[_0x5031bd(0x242)]));}[_0x46ec9e(0x276)](){return new Promise(_0x2607e1=>{const _0x4abcd8=_0x39e6;this['on'](_0x4abcd8(0x286),()=>{_0x2607e1();});});}async[_0x46ec9e(0x23b)](){const _0x2a87fb=_0x46ec9e,_0x510d08=this[_0x2a87fb(0x1d3)][_0x2a87fb(0x20b)][_0x2a87fb(0x22a)](_0x195cd3);if(this[_0x2a87fb(0x2af)]()&&(_0x510d08[_0x2a87fb(0x265)](),this[_0x2a87fb(0x27b)]=!0x1),!this[_0x2a87fb(0x291)]())return!0x0;const _0x787cfe=[...this[_0x2a87fb(0x1de)]];for(const _0x13ad0c of _0x787cfe)_0x13ad0c[_0x2a87fb(0x260)]=this[_0x2a87fb(0x282)][_0x2a87fb(0x236)][_0x2a87fb(0x1ae)](_0x13ad0c);const _0x1b5747=this[_0x2a87fb(0x1d7)][_0x2a87fb(0x1c8)](_0x787cfe),_0x4345ec=H++,_0x1928ea=this[_0x2a87fb(0x27c)](_0x787cfe),_0x359339=await this[_0x2a87fb(0x294)][_0x2a87fb(0x1fb)](_0x1928ea,_0x1928ea[_0x2a87fb(0x201)],_0x1b5747);try{return await this[_0x2a87fb(0x24f)](_0x787cfe,_0x359339,_0x4345ec);}catch(_0x167e85){return this[_0x2a87fb(0x1e0)](_0x2a87fb(0x1b5),_0x167e85);}}async[_0x46ec9e(0x24f)](_0xa8b178,_0x495fd6,_0x3b01f8){const _0x5afaed=_0x46ec9e;if(_0x5afaed(0x210)in _0x495fd6)throw _0x495fd6[_0x5afaed(0x210)];let _0x45f8c2=!0x1;if(_0x495fd6[_0x5afaed(0x1bd)]){_0x495fd6[_0x5afaed(0x288)]&&(this[_0x5afaed(0x1e9)]=_0x495fd6[_0x5afaed(0x288)]),this[_0x5afaed(0x1de)]=this[_0x5afaed(0x1de)][_0x5afaed(0x1ef)](_0x197b8b=>!_0xa8b178[_0x5afaed(0x28e)](_0x197b8b));for(const _0x4e2f98 of _0xa8b178)_0x4e2f98[_0x5afaed(0x26e)]=_0x5afaed(0x248)in _0x495fd6&&_0x495fd6[_0x5afaed(0x248)]||void 0x0;W(_0xa8b178,_0x495fd6[_0x5afaed(0x1d2)]-_0xa8b178[_0x5afaed(0x1f3)]),this[_0x5afaed(0x250)](_0xa8b178);const _0x43b980=_0xa8b178[_0x5afaed(0x1ef)](_0x16a56f=>{const _0x2cc079=_0x5afaed;if(!_0x16a56f[_0x2cc079(0x239)])return!0x1;const _0x7b471c=this[_0x2cc079(0x273)](_0x16a56f);return _0x7b471c&&!this[_0x2cc079(0x216)][_0x2cc079(0x26a)](_0x7b471c);});W(_0x43b980,this[_0x5afaed(0x282)][_0x5afaed(0x1d2)]),this[_0x5afaed(0x1af)](_0x43b980),_0x45f8c2=!0x0,this[_0x5afaed(0x242)]=this[_0x5afaed(0x237)];}else{const _0x540213=this[_0x5afaed(0x29e)](_0x495fd6[_0x5afaed(0x268)],_0x495fd6[_0x5afaed(0x23c)])[_0x5afaed(0x1ef)](_0x3279f2=>_0x3279f2[_0x5afaed(0x201)]>=this[_0x5afaed(0x1bb)]);_0x540213[_0x5afaed(0x29d)](_0x2c9631=>this[_0x5afaed(0x2a2)](_0x2c9631)),this[_0x5afaed(0x1de)]=this[_0x5afaed(0x1de)][_0x5afaed(0x1ef)](_0x4411e0=>!_0x4411e0[_0x5afaed(0x239)]||!this[_0x5afaed(0x216)][_0x5afaed(0x26a)](this[_0x5afaed(0x273)](_0x4411e0))),this[_0x5afaed(0x1de)][_0x5afaed(0x1f3)]&&W(this[_0x5afaed(0x1de)],this[_0x5afaed(0x1de)][0x0][_0x5afaed(0x201)]),await this[_0x5afaed(0x2a4)](_0x540213),_0x45f8c2=this[_0x5afaed(0x1e7)](_0x540213,_0x495fd6[_0x5afaed(0x1d2)],_0x495fd6[_0x5afaed(0x288)]),this[_0x5afaed(0x242)]=Math[_0x5afaed(0x1e5)](this[_0x5afaed(0x242)]/0x2);}return _0x45f8c2?!this[_0x5afaed(0x291)]()||(this[_0x5afaed(0x279)](!0x0),!0x1):this[_0x5afaed(0x1e0)](_0x5afaed(0x238));}[_0x46ec9e(0x1e7)](_0x56a609,_0x4b888,_0x535c68){const _0x35bfb4=_0x46ec9e;try{const _0x351803={'document':this[_0x35bfb4(0x282)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x475fa0,operationsB:_0x152355,originalOperations:_0x57b8aa}=_0x12d2e3(_0x56a609,this[_0x35bfb4(0x1de)],_0x351803);W(_0x475fa0,this[_0x35bfb4(0x282)][_0x35bfb4(0x1d2)]),W(_0x152355,_0x4b888);for(const _0x31d55d of _0x475fa0){const _0x504d35=_0x57b8aa[_0x35bfb4(0x22a)](_0x31d55d);_0x31d55d[_0x35bfb4(0x2a1)]=_0x504d35?_0x504d35[_0x35bfb4(0x2a1)]:null;}_0x535c68&&(this[_0x35bfb4(0x1d7)][_0x35bfb4(0x1ec)](_0x56a609,_0x535c68),this[_0x35bfb4(0x1e9)]=_0x535c68),this[_0x35bfb4(0x1de)]=[..._0x152355],this[_0x35bfb4(0x1af)](_0x475fa0),this[_0x35bfb4(0x250)](_0x56a609);}catch(_0x58b31a){return console[_0x35bfb4(0x210)](_0x58b31a),!0x1;}return!0x0;}[_0x46ec9e(0x1af)](_0x844612,_0x4bdf2a=!0x1){const _0x300e40=_0x46ec9e;this[_0x300e40(0x1d3)][_0x300e40(0x28c)][_0x300e40(0x2a9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3384ff=>{const _0x29980b=_0x300e40;for(const _0x2a0ad5 of _0x844612)this[_0x29980b(0x1db)][_0x29980b(0x243)](_0x2a0ad5),this[_0x29980b(0x2a2)](_0x2a0ad5),_0x3384ff[_0x29980b(0x266)][_0x29980b(0x223)](_0x2a0ad5),this[_0x29980b(0x1d3)][_0x29980b(0x28c)][_0x29980b(0x1d4)](_0x2a0ad5);});}[_0x46ec9e(0x2a2)](_0x36f42c){const _0xbab5d8=_0x46ec9e,_0x42b3ec=this[_0xbab5d8(0x273)](_0x36f42c);_0x42b3ec&&this[_0xbab5d8(0x216)][_0xbab5d8(0x243)](_0x42b3ec);}[_0x46ec9e(0x273)](_0x58e2e7){const _0x3df318=_0x46ec9e;let _0x484682,_0x7d43c0;switch(_0x58e2e7[_0x3df318(0x278)]){case _0x3df318(0x27a):_0x484682=_0x58e2e7[_0x3df318(0x21b)][_0x3df318(0x1c9)];break;case _0x3df318(0x1cb):if(_0x7d43c0=_0x58e2e7[_0x3df318(0x284)],!_0x7d43c0)return null;_0x484682=_0x7d43c0[_0x3df318(0x1c9)];break;case _0x3df318(0x2a6):_0x484682=_0x58e2e7[_0x3df318(0x1c9)];break;case _0x3df318(0x1dc):_0x484682=_0x58e2e7[_0x3df318(0x27f)];break;case _0x3df318(0x222):_0x484682=_0x58e2e7[_0x3df318(0x219)][_0x3df318(0x1c9)];break;default:return null;}return _0x484682[_0x3df318(0x25a)];}[_0x46ec9e(0x250)](_0x556b9a){const _0x17fc99=_0x46ec9e;_0x556b9a[_0x17fc99(0x29d)](_0xb4bf4a=>{const _0x47ae07=_0x17fc99,_0x135ad=_0xb4bf4a[_0x47ae07(0x1e1)]();_0x135ad[_0x47ae07(0x2a1)]=_0xb4bf4a[_0x47ae07(0x2a1)],_0x135ad[_0x47ae07(0x239)]=!!_0xb4bf4a[_0x47ae07(0x239)],_0x135ad[_0x47ae07(0x26e)]=_0xb4bf4a[_0x47ae07(0x26e)],_0x135ad[_0x47ae07(0x201)]+=this[_0x47ae07(0x25f)],_0xb4bf4a[_0x47ae07(0x285)]&&this[_0x47ae07(0x1c4)][_0x47ae07(0x243)](_0x135ad),this[_0x47ae07(0x1c6)][_0x47ae07(0x223)](_0x135ad);});}[_0x46ec9e(0x227)](_0x38ce45){const _0x3e6a23=_0x46ec9e,_0x520a42=this[_0x3e6a23(0x1d3)][_0x3e6a23(0x20b)][_0x3e6a23(0x22a)](_0x3e6a23(0x287)),_0x39af68=this[_0x3e6a23(0x1d3)][_0x3e6a23(0x1b8)];_0x38ce45||(_0x38ce45=_0x3a3340(_0x39af68,_0x3e6a23(0x1f1))),_0x520a42[_0x3e6a23(0x1ee)](_0x38ce45,{'title':_0x3a3340(_0x39af68,_0x3e6a23(0x1f6)),'namespace':_0x3e6a23(0x21a)}),this[_0x3e6a23(0x214)]=!0x0,clearTimeout(this[_0x3e6a23(0x249)]),this[_0x3e6a23(0x1de)]=[],this[_0x3e6a23(0x1d3)][_0x3e6a23(0x20b)][_0x3e6a23(0x22a)](_0x49b70b)[_0x3e6a23(0x1b1)]();}[_0x46ec9e(0x1da)](){const _0x341784=_0x46ec9e;this[_0x341784(0x220)]||(this[_0x341784(0x220)]=this[_0x341784(0x1d3)][_0x341784(0x20b)][_0x341784(0x22a)](_0x234a3b)[_0x341784(0x243)](_0x3a3340(this[_0x341784(0x1d3)][_0x341784(0x1b8)],_0x341784(0x234))));}[_0x46ec9e(0x281)](){const _0x3d3ebf=_0x46ec9e;this[_0x3d3ebf(0x220)]&&(this[_0x3d3ebf(0x1d3)][_0x3d3ebf(0x20b)][_0x3d3ebf(0x22a)](_0x234a3b)[_0x3d3ebf(0x272)](this[_0x3d3ebf(0x220)]),this[_0x3d3ebf(0x220)]=null);}[_0x46ec9e(0x27c)](_0x27c1ed){const _0x2cb260=_0x46ec9e,_0x2840ee=_0x27c1ed[_0x2cb260(0x1d9)](_0xf33888=>_0xf33888[_0x2cb260(0x270)]());return this[_0x2cb260(0x226)][_0x2cb260(0x1f4)](_0x2840ee);}[_0x46ec9e(0x29e)](_0x5747d8,_0x42e307){const _0x3f9f92=_0x46ec9e;return this[_0x3f9f92(0x226)][_0x3f9f92(0x20d)](_0x5747d8)[_0x3f9f92(0x1d9)]((_0x165401,_0x36d2ce)=>{const _0x5e6329=_0x3f9f92,_0x76157=_0x5e6329(0x1bc)==_0x42e307[_0x36d2ce][_0x5e6329(0x278)];if(_0x5e6329(0x269)==_0x165401[_0x5e6329(0x1ca)]){const _0x27d931=_0x165401[_0x5e6329(0x21b)][_0x5e6329(0x1c9)];!this[_0x5e6329(0x282)][_0x5e6329(0x200)](_0x27d931)&&(this[_0x5e6329(0x282)][_0x5e6329(0x289)](_0x5e6329(0x230),_0x27d931)[_0x5e6329(0x292)]=!0x1);}const _0x3053bc=_0x1229e9[_0x5e6329(0x1cd)](_0x165401,this[_0x5e6329(0x282)]);return _0x3053bc[_0x5e6329(0x260)]=_0x165401[_0x5e6329(0x260)],_0x3053bc[_0x5e6329(0x239)]=_0x76157,_0x3053bc[_0x5e6329(0x2a1)]=_0x76157?null:_0x42e307[_0x36d2ce][_0x5e6329(0x1ac)],_0x3053bc[_0x5e6329(0x285)]=_0x5e6329(0x1eb)===_0x42e307[_0x36d2ce][_0x5e6329(0x278)],_0x3053bc[_0x5e6329(0x26e)]=_0x42e307[_0x36d2ce][_0x5e6329(0x26e)],_0x3053bc;});}[_0x46ec9e(0x1ff)](){const _0x3a52d7=_0x46ec9e;this[_0x3a52d7(0x27b)]=!0x0,this[_0x3a52d7(0x2af)]()?this[_0x3a52d7(0x279)]():this[_0x3a52d7(0x27b)]=!0x1;}[_0x46ec9e(0x2af)](){const _0x24961d=_0x46ec9e,_0x1055db=this[_0x24961d(0x1d3)][_0x24961d(0x20b)][_0x24961d(0x22a)](_0xf9728e)[_0x24961d(0x247)][_0x24961d(0x22a)](this[_0x24961d(0x1ba)]);return!this[_0x24961d(0x1d3)][_0x24961d(0x1e3)]&&!!_0x1055db&&_0x1055db[_0x24961d(0x1f3)]>0x1&&this[_0x24961d(0x27b)];}[_0x46ec9e(0x291)](){const _0x1ef2c9=_0x46ec9e;return this[_0x1ef2c9(0x1de)][_0x1ef2c9(0x1f3)]>0x0||this[_0x1ef2c9(0x2af)]();}}export{l as RealTimeCollaborationClient};function _0x39e6(_0x45b7db,_0x4ea79f){const _0x12158a=_0x1215();return _0x39e6=function(_0x39e677,_0x42b6d1){_0x39e677=_0x39e677-0x1ac;let _0x4a052f=_0x12158a[_0x39e677];return _0x4a052f;},_0x39e6(_0x45b7db,_0x4ea79f);}class V extends Error{}function _0x1215(){const _0x570842=['_handleSendingSelectionMarkers','1223165toSDjd','get','createPositionAt','_initSessionsHandling','size','bind','_isEditingAllowed','$root','stop','getOperations','off','PENDING_ACTION_SENDING_DATA','initData','history','_baseBufferDelay','realtimecollaborationclient-handleserverresponse','_isInit','realtimecollaborationclient-init-non-existent-root','_sendBufferedOperations','metadata','from','removeFromReconnectionStack','404','set','state','_currentBufferDelay','add','lastDocumentSession','parse','_handleReconnectionResponse','channelSessions','lastOperationAcceptedAt','_sendBufferedOperationsDelayId','document','addToReconnectionStack','document:write','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.','requires','_handleServerResponse','_updateServerHistory','2147808frbLPy','getConnectedSessions','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','config','_ignoredOperations','sessionId','disableReadOnlyMode','7742392KlkbcK','_bufferRootLoad','rootName','reset','rtc-destroyed','CommentsOnly','8252KnPXAy','_offset','wasUndone','differ','pluginName','catch','return','createUserMarkerOperations','batch','_setUpDataInit','data','InsertOperation','has','code','sessionCreatedAt','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','CollaborativeEditingService','toJSON','getUser','remove','_getAffectedRoot','_operationToId','operationsReceived','_waitUntilSynced','destroy','type','_sendBufferedOperationsDelayed','insert','_hasSelectionChanged','_compressOperations','path','isEnabled','affectedSelectable','isOfficialPlugin','_clearPendingAction','_document','realtimecollaborationclient-init-session-connection-error','newRange','_isDisconnection','change:_isPendingUpdate','Notification','lastOperationId','createRoot','disconnected','define','model','_disconnectService','includes','13240125DuOAcm','roots','_shouldSendUpdate','_isAttached','suppressErrorInCollaboration','_service','_isConnected','affectsData','collaboration','editing','realtimecollaborationclient-init-connection-failed','unregister','isPremiumPlugin','end','forEach','_decompressOperations','realtimecollaborationclient','_saveOperationInBuffer','_authorId','_addKnownRoot','high','_fetchMissingUsers','_handleReceivedOperations','addRootAttribute','374AxTfIY','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enqueueChange','sessionAdd:','_isPendingUpdate','Permissions','attributes','then','_shouldSendSelectionUpdate','message','userId','connected','isUndoneOperation','_applyOperationsSet','string','disconnect','apply','409','RealTimeCollaborationClient','realtimecollaborationclient-sendbufferedoperations','_connectService','getDocumentDetails','locale','keys','_channelId','_lastServerVersion','init','wereChangesApplied','ready','addUser','isDocumentOperation','push','markers','slice','_disconnectionOperations','9387654HYYNFE','serverHistory','change:range','getIdOfTheLastOperation','root','__className','marker','start','fromJSON','reconnection:\x20flushed\x20session','finally','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','version','editor','applyOperation','createPositionFromPath','selection','_operationIdentifier','directChange','map','_setPendingAction','_knownOperations','addRoot','createRange','_bufferedOperations','currentDocumentSession','_crash','clone','realtimecollaborationclient-init-document-already-initialized','isReadOnly','getMany','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_handleExternalOperations','rootsAttributes','_lastSyncedOperationId','reconnect','cs:removeUser','setIdForTheLastOperation','lastSyncVersion','showWarning','filter','connect','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.','multi-root-editor-root-attributes-no-root','length','compress','connection','Synchronization\x20issue','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','permissions','entries','sendOperations','realtimecollaborationclient-init-service-internal-error','cloudServices.bundleVersion','_initThrowingOnDataSet','_refreshUserSelectionMarkers','getRoot','baseVersion','_isLoaded','change:hasDomSelection','realtimecollaborationclient-error','_getOperationsFromInitData','fire','collaboration.channelId','enableReadOnlyMode','rtc-offline','_loadRoot','plugins','getOperationAuthor','decompress','startsWith','listenTo','error','view','_handleInitialConnectionData','realtimecollaborationclient-init-service-incorrect-server-operation','_hasSynchronizationProblem','register','_knownRootNames','setPermissions','_connectAfterSessionHasBeenFlushed','targetPosition','real-time-collaboration','position','7219891llpPFO','collaboration-missing-channelid','change:_isEditingAllowed','offset','_pendingAction','mySessionId','move','addOperation','20pZzUUF','loadRoot','_compressor','_handleReconnectionError'];_0x1215=function(){return _0x570842;};return _0x1215();}function W(_0x1cfc06,_0x365ef0){const _0x4f5bcb=_0x46ec9e;for(const _0x3b5769 of _0x1cfc06)_0x3b5769[_0x4f5bcb(0x201)]=_0x365ef0++;}class F{[_0x46ec9e(0x255)];[_0x46ec9e(0x274)];constructor(_0x1f30e3){const _0x42db73=_0x46ec9e;this[_0x42db73(0x255)]=_0x1f30e3,this[_0x42db73(0x274)]=new WeakMap();}[_0x46ec9e(0x1c8)](_0x1ce1f9){const _0xa91430=_0x46ec9e;let _0xdf0ad3=_0x1ce1f9[_0xa91430(0x1f3)];for(;_0xdf0ad3--;){const _0x213d1b=_0x1ce1f9[_0xdf0ad3];if(!this[_0xa91430(0x255)][_0xa91430(0x26a)](_0x213d1b)){if(!this[_0xa91430(0x274)][_0xa91430(0x26a)](_0x213d1b)){const _0x5d4188=_0x2c72f6()[_0xa91430(0x1c3)](0x1,0x12);this[_0xa91430(0x274)][_0xa91430(0x240)](_0x213d1b,_0x5d4188);}return this[_0xa91430(0x274)][_0xa91430(0x22a)](_0x213d1b);}}}[_0x46ec9e(0x1ec)](_0x2c0266,_0x5eca8d){const _0x3a6cb9=_0x46ec9e;if(!_0x5eca8d)return;let _0x128de4=_0x2c0266[_0x3a6cb9(0x1f3)];for(;_0x128de4--;){const _0x52df78=_0x2c0266[_0x128de4];this[_0x3a6cb9(0x255)][_0x3a6cb9(0x26a)](_0x52df78)||this[_0x3a6cb9(0x274)][_0x3a6cb9(0x240)](_0x52df78,_0x5eca8d);}}}
23
+ const _0x11b185=_0x51b4;function _0x4f93(){const _0x3e59c6=['view','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.','_setUpDataInit','_lastSyncedOperationId','addRoot','setIdForTheLastOperation','isPremiumPlugin','define','collaboration.channelId','editor','map','_handleServerResponse','loadRoot','stop','affectsData','_refreshUserSelectionMarkers','_channelId','Notification','realtimecollaborationclient-init-session-connection-error','sendOperations','realtimecollaborationclient-init-connection-failed','_lastServerVersion','rootName','unregister','change:_isEditingAllowed','connect','getOperations','markers','listenTo','realtimecollaborationclient-handleserverresponse','affectedSelectable','sessionCreatedAt','type','cloudDocumentVersion','register','add','remove','mySessionId','21234gzyUSv','message','end','_isConnected','lastOperationAcceptedAt','disableReadOnlyMode','catch','$root','_document','getUser','99hayvKw','28bLaTnL','getConnectedSessions','404','disconnected','removeFromReconnectionStack','keys','reconnect','_addKnownRoot','_isEditingAllowed','realtimecollaborationclient-init-service-incorrect-server-operation','requires','cs:removeUser','off','size','createPositionFromPath','get','_isInit','lastOperationId','multi-root-editor-root-attributes-no-root','getRoot','_currentBufferDelay','_authorId','connection','lastDocumentSession','slice','_offset','serverHistory','_compressOperations','metadata','createPositionAt','move','_bufferedOperations','attributes','has','realtimecollaborationclient','_service','change:_isPendingUpdate','addRootAttribute','12394cIYXzI','locale','offset','decompress','_compressor','suppressErrorInCollaboration','disconnect','_initSessionsHandling','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_setPendingAction','sessionId','_sendBufferedOperationsDelayed','pluginName','wasUndone','startsWith','parse','clone','history','_isAttached','compress','isUndoneOperation','filter','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_knownOperations','start','includes','userId','_shouldSendSelectionUpdate','insert','connected','108EgjkWB','_getOperationsFromInitData','1IyGTCN','reconnection:\x20flushed\x20session','high','_handleReconnectionError','ready','_loadRoot','1602240wWbQew','initData','RealTimeCollaborationClient','code','rootsAttributes','409','CommentsOnly','_crash','entries','round','differ','operationsReceived','destroy','fromJSON','realtimecollaborationclient-sendbufferedoperations','sessionAdd:','enqueueChange','root','_handleReceivedOperations','enableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createRoot','_updateServerHistory','realtimecollaborationclient-init-service-internal-error','38145KvTiHs','CollaborativeEditingService','isEnabled','state','realtimecollaborationclient-error','document','return','InsertOperation','model','baseVersion','bind','change:hasDomSelection','error','_getAffectedRoot','wereChangesApplied','_hasSynchronizationProblem','path','425018SdsEmq','_operationToId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','Synchronization\x20issue','rtc-offline','editing','_handleSendingSelectionMarkers','applyOperation','change:range','newRange','_waitUntilSynced','_hasSelectionChanged','cloud-services-internal-error:\x20Request\x20timeout.','_disconnectionOperations','_handleExternalOperations','addOperation','data','forEach','roots','marker','createRange','real-time-collaboration','cloudServices.bundleVersion','plugins','_shouldSendUpdate','batch','_pendingAction','collaboration','addToReconnectionStack','_clearPendingAction','finally','cloud-services-internal-error:\x20Not\x20connected.','reset','_knownRootNames','Permissions','__className','fire','realtimecollaborationclient-init-non-existent-root','_handleReconnectionResponse','position','then','_ignoredOperations','_connectService','_handleInitialConnectionData','permissions','rtc-destroyed','string','_disconnectService','getDocumentDetails','938049RVONhk','addUser','stopListening','document:write','isDocumentOperation','getOperationAuthor','_bufferRootLoad','90FNSViv','_decompressOperations','push','targetPosition','_isPendingUpdate','channelSessions','realtimecollaborationclient-init-document-already-initialized','init','config','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.','length','version','_isDisconnection','from','createUserMarkerOperations','getIdOfTheLastOperation','getMany','_operationIdentifier','set','45576leUcMo','collaboration-missing-channelid','_connectAfterSessionHasBeenFlushed','_initThrowingOnDataSet','createdAt','apply','isReadOnly','isOfficialPlugin','showWarning','directChange','currentDocumentSession','_baseBufferDelay','_fetchMissingUsers','selection','_sendBufferedOperationsDelayId','setPermissions','toJSON','PENDING_ACTION_SENDING_DATA','_applyOperationsSet','_saveOperationInBuffer','_isLoaded','lastSyncVersion','_sendBufferedOperations'];_0x4f93=function(){return _0x3e59c6;};return _0x4f93();}(function(_0x46d5f1,_0x38da5e){const _0x50a986=_0x51b4,_0x4fdb21=_0x46d5f1();while(!![]){try{const _0x3a54c6=parseInt(_0x50a986(0x197))/0x1*(parseInt(_0x50a986(0x177))/0x2)+parseInt(_0x50a986(0x1b5))/0x3*(-parseInt(_0x50a986(0x151))/0x4)+-parseInt(_0x50a986(0x1fe))/0x5*(parseInt(_0x50a986(0x146))/0x6)+parseInt(_0x50a986(0x1f7))/0x7+-parseInt(_0x50a986(0x211))/0x8*(parseInt(_0x50a986(0x150))/0x9)+-parseInt(_0x50a986(0x19d))/0xa+-parseInt(_0x50a986(0x1c6))/0xb*(-parseInt(_0x50a986(0x195))/0xc);if(_0x3a54c6===_0x38da5e)break;else _0x4fdb21['push'](_0x4fdb21['shift']());}catch(_0x58fc01){_0x4fdb21['push'](_0x4fdb21['shift']());}}}(_0x4f93,0x1b6dc));import{Plugin as _0x31c839,PendingActions as _0x58ef67}from'ckeditor5/src/core.js';import{CKEditorError as _0x1510e6,version as _0x3c1129,uid as _0x22c164}from'ckeditor5/src/utils.js';import{Notification as _0xda24db}from'ckeditor5/src/ui.js';function _0x51b4(_0xb5ca92,_0x11f648){const _0x4f934a=_0x4f93();return _0x51b4=function(_0x51b4dc,_0x418b34){_0x51b4dc=_0x51b4dc-0x117;let _0x5f4f6b=_0x4f934a[_0x51b4dc];return _0x5f4f6b;},_0x51b4(_0xb5ca92,_0x11f648);}import{transformOperationSets as _0x59e1b3,NoOperation as _0x27aecf,InsertOperation as _0x35ef47,MarkerOperation as _0x520762,RootAttributeOperation as _0x62aac,OperationFactory as _0x1e1845,History as _0x4d6a87}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x8aa329}from'./websocketgateway.js';import{Sessions as _0x10854f}from'./sessions.js';import{UserMarkers as _0x304d6b}from'./usermarkers.js';import{getTranslation as _0x473c58}from'../common-translations.js';import{Compressor as _0x2dfa6}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x14a7cf}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xcf351c,CollaborativeEditingService as _0xc7dd8a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x31c839{static [_0x11b185(0x1b6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xc7dd8a)());[_0x11b185(0x16a)];[_0x11b185(0x181)];[_0x11b185(0x16b)];[_0x11b185(0x130)];[_0x11b185(0x174)];[_0x11b185(0x14e)];[_0x11b185(0x17b)];[_0x11b185(0x170)];[_0x11b185(0x18e)];[_0x11b185(0x1e7)];[_0x11b185(0x1e0)];[_0x11b185(0x1d1)];[_0x11b185(0x117)];[_0x11b185(0x21c)];[_0x11b185(0x165)];[_0x11b185(0x123)];[_0x11b185(0x1d3)];[_0x11b185(0x20f)];static get[_0x11b185(0x15b)](){return[_0x8aa329,_0x10854f,_0x304d6b,_0x58ef67,_0x14a7cf,_0xda24db];}static get[_0x11b185(0x183)](){const _0x4135e6=_0x11b185;return _0x4135e6(0x19f);}static get[_0x11b185(0x218)](){return!0x0;}static get[_0x11b185(0x126)](){return!0x0;}get[_0x11b185(0x141)](){const _0x1c571a=_0x11b185;return this[_0x1c571a(0x135)]+this[_0x1c571a(0x16a)];}get[_0x11b185(0x135)](){const _0x3519c8=_0x11b185;return this[_0x3519c8(0x16b)][_0x3519c8(0x209)]-this[_0x3519c8(0x16a)];}get[_0x11b185(0x11e)](){const _0x479f79=_0x11b185,_0x510e8c=this[_0x479f79(0x16b)][_0x479f79(0x13a)]();for(let _0x388724=_0x510e8c[_0x479f79(0x208)]-0x1;_0x388724>=0x0;_0x388724--){const _0x4e29db=_0x510e8c[_0x388724];if(!this[_0x479f79(0x1d3)][_0x479f79(0x172)](_0x4e29db))return _0x4e29db[_0x479f79(0x1be)]+0x1-this[_0x479f79(0x16a)];}return 0x0;}constructor(_0x21e513){const _0x47a974=_0x11b185;if(super(_0x21e513),this[_0x47a974(0x16a)]=0x0,this[_0x47a974(0x181)]=null,this[_0x47a974(0x16b)]=new _0x4d6a87(),this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x127)](_0x47a974(0x1e1),{}),this[_0x47a974(0x130)]=this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x128)),!this[_0x47a974(0x130)])throw new _0x1510e6(_0x47a974(0x212),this);const _0x1b54a1=_0x21e513[_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x1dc))||_0x3c1129;this[_0x47a974(0x174)]=new l[(_0x47a974(0x1b6))](_0x1b54a1,this[_0x47a974(0x130)]),this[_0x47a974(0x14e)]=this[_0x47a974(0x129)][_0x47a974(0x1bd)][_0x47a974(0x1ba)],this[_0x47a974(0x17b)]=new _0x2dfa6(),this[_0x47a974(0x170)]=[],this[_0x47a974(0x18e)]=new WeakSet(),this[_0x47a974(0x1e7)]=new Set(),this[_0x47a974(0x210)](_0x47a974(0x202),!0x1),this[_0x47a974(0x210)](_0x47a974(0x1c4),!0x1),this[_0x47a974(0x1e0)]=null,this[_0x47a974(0x1d1)]=!0x1,this[_0x47a974(0x117)]=null,this[_0x47a974(0x21c)]=0x12c,this[_0x47a974(0x165)]=this[_0x47a974(0x21c)],this[_0x47a974(0x123)]=null,this[_0x47a974(0x1d3)]=new WeakSet(),this[_0x47a974(0x20f)]=new J(this[_0x47a974(0x1d3)]);}[_0x11b185(0x205)](){const _0x23cb71=_0x11b185,_0x2d71d0=this[_0x23cb71(0x129)],_0x4d59e1=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x14a7cf),_0x30c5b5=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x8aa329);this[_0x23cb71(0x13c)](_0x4d59e1,_0x23cb71(0x1fc),(_0x523b6e,_0x199615)=>{const _0x5a9ea7=_0x23cb71,_0x5c011b=_0x199615[0x0];_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=_0x4d59e1[_0x5a9ea7(0x14f)](_0x5c011b[_0x5a9ea7(0x166)]),_0x523b6e[_0x5a9ea7(0x12d)]()),null===_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=null,_0x523b6e[_0x5a9ea7(0x12d)]());},{'priority':_0x23cb71(0x199)}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1bd)][_0x23cb71(0x1ba)][_0x23cb71(0x21e)],_0x23cb71(0x1ce),(_0xaa4eb,_0x1a6aef)=>{const _0xad800f=_0x23cb71;_0x1a6aef[_0xad800f(0x21a)]&&this[_0xad800f(0x12f)]();}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1cb)][_0x23cb71(0x120)],_0x23cb71(0x1c0),()=>{const _0x3133e9=_0x23cb71;this[_0x3133e9(0x12f)]();}),this[_0x23cb71(0x214)](),_0x2d71d0[_0x23cb71(0x1bd)]['on'](_0x23cb71(0x1cd),(_0xf76db2,_0x231c27)=>{const _0x4c459b=_0x23cb71,_0x2fde8e=_0x231c27[0x0];_0x2fde8e[_0x4c459b(0x1fb)]&&(this[_0x4c459b(0x11c)](_0x2fde8e),this[_0x4c459b(0x1de)]()&&this[_0x4c459b(0x182)]());}),this[_0x23cb71(0x122)](),this[_0x23cb71(0x1bf)](_0x23cb71(0x159))['to'](_0x30c5b5,_0x23cb71(0x1b8),this,_0x23cb71(0x1c4),(_0x252e02,_0x41a625)=>_0x23cb71(0x194)===_0x252e02&&!_0x41a625),this['on'](_0x23cb71(0x138),()=>{const _0x35c3ac=_0x23cb71;this[_0x35c3ac(0x159)]?_0x2d71d0[_0x35c3ac(0x14b)](_0x35c3ac(0x1ca)):_0x2d71d0[_0x35c3ac(0x1b0)](_0x35c3ac(0x1ca));}),this[_0x23cb71(0x159)]?_0x2d71d0[_0x23cb71(0x14b)](_0x23cb71(0x1ca)):_0x2d71d0[_0x23cb71(0x1b0)](_0x23cb71(0x1ca)),this[_0x23cb71(0x210)](_0x23cb71(0x149),!0x1);}async[_0x11b185(0x157)](){const _0x5ad048=_0x11b185,_0x34c4ce=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x10854f),_0x2cd1e7=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x8aa329);try{this[_0x5ad048(0x202)]=!0x0,_0x34c4ce[_0x5ad048(0x137)](this[_0x5ad048(0x130)]);const _0x51134a=await this[_0x5ad048(0x174)][_0x5ad048(0x157)](_0x2cd1e7[_0x5ad048(0x167)],this[_0x5ad048(0x11e)]);await this[_0x5ad048(0x1ec)](_0x51134a)&&(this[_0x5ad048(0x202)]=!0x1,this[_0x5ad048(0x1e3)]());const _0x42bc34=await this[_0x5ad048(0x174)][_0x5ad048(0x152)]();_0x34c4ce[_0x5ad048(0x142)](this[_0x5ad048(0x130)],_0x42bc34),this[_0x5ad048(0x1cc)](),this[_0x5ad048(0x149)]=!0x0;}catch(_0x42e2e6){if(function(_0x3290b4){const _0x3aaade=_0x5ad048;return _0x3aaade(0x153)===_0x3290b4[_0x3aaade(0x1a0)];}(_0x42e2e6)&&this[_0x5ad048(0x181)])await this[_0x5ad048(0x213)]();else{if(function(_0x1656ea){const _0x365728=_0x5ad048;return _0x365728(0x1a2)===_0x1656ea[_0x365728(0x1a0)];}(_0x42e2e6)){const _0x10d00f=_0x473c58(this[_0x5ad048(0x129)][_0x5ad048(0x178)],_0x5ad048(0x1b1));this[_0x5ad048(0x19a)](_0x10d00f);}else{if(!(_0x42e2e6 instanceof $))throw _0x42e2e6;this[_0x5ad048(0x19a)]();}}}}[_0x11b185(0x1a9)](){const _0x146786=_0x11b185,_0xbcdd1c=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x8aa329),_0x69b494=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x10854f);this[_0x146786(0x129)][_0x146786(0x1b0)](_0x146786(0x1f3)),_0x69b494[_0x146786(0x203)][_0x146786(0x172)](this[_0x146786(0x130)])&&_0x69b494[_0x146786(0x137)](this[_0x146786(0x130)]),_0xbcdd1c[_0x146786(0x155)](this),this[_0x146786(0x1f5)](),super[_0x146786(0x1a9)]();}async[_0x11b185(0x1ec)](_0x2460b7){const _0x5eea7b=_0x11b185;if(this[_0x5eea7b(0x181)]!==_0x2460b7[_0x5eea7b(0x181)]&&this[_0x5eea7b(0x123)]!==_0x2460b7[_0x5eea7b(0x162)])throw new $();return this[_0x5eea7b(0x181)]=_0x2460b7[_0x5eea7b(0x181)],this[_0x5eea7b(0x12b)]([],{..._0x2460b7,'wereChangesApplied':!0x1,'data':_0x2460b7[_0x5eea7b(0x1d6)]},_0x5eea7b(0x157));}async[_0x11b185(0x1f0)](_0x2f7981,_0x24c42b=!0x1){const _0x2a8829=_0x11b185,{connection:_0xd8fcfa}=this[_0x2a8829(0x129)][_0x2a8829(0x1dd)][_0x2a8829(0x160)](_0x8aa329);l[_0x2a8829(0x1b6)][_0x2a8829(0x152)](_0xd8fcfa,this[_0x2a8829(0x130)])[_0x2a8829(0x1ee)](_0x4f7ed8=>this[_0x2a8829(0x17e)](_0x4f7ed8))[_0x2a8829(0x14c)](_0x477bce=>{const _0x1525e7=_0x2a8829;this[_0x1525e7(0x1a4)](_0x1525e7(0x132),_0x477bce);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1a8),this[_0x2a8829(0x1af)][_0x2a8829(0x1bf)](this)),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1c1),(_0x2ff4b6,_0x18ab3e)=>{const _0x9885f4=_0x2a8829;this[_0x9885f4(0x1a4)](_0x9885f4(0x1b4),_0x18ab3e);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x154),()=>{const _0x34b5e7=_0x2a8829;this[_0x34b5e7(0x149)]=!0x1;});const _0x4b8e5d=this[_0x2a8829(0x20f)][_0x2a8829(0x20d)](_0x2f7981);this[_0x2a8829(0x202)]=!0x0;const _0x1b0c8e=await this[_0x2a8829(0x174)][_0x2a8829(0x139)](_0xd8fcfa,this[_0x2a8829(0x16c)](_0x2f7981),_0x4b8e5d);if(this[_0x2a8829(0x181)]=_0x1b0c8e[_0x2a8829(0x181)],_0x24c42b){if(!_0x1b0c8e[_0x2a8829(0x1c3)])return void this[_0x2a8829(0x19a)]();this[_0x2a8829(0x202)]=!0x1,this[_0x2a8829(0x1e3)](),this[_0x2a8829(0x16b)][_0x2a8829(0x1e6)](),this[_0x2a8829(0x16a)]=_0x1b0c8e[_0x2a8829(0x179)],this[_0x2a8829(0x16b)][_0x2a8829(0x209)]=this[_0x2a8829(0x16a)],await this[_0x2a8829(0x12b)](_0x2f7981,_0x1b0c8e,_0x2a8829(0x198));}else await this[_0x2a8829(0x1f1)](_0x1b0c8e,_0x2f7981);this[_0x2a8829(0x1cc)](),this[_0x2a8829(0x149)]=!0x0;}[_0x11b185(0x1cc)](){const _0x29c5e5=_0x11b185,_0x33e3e1=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x10854f),_0x3396ec=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x304d6b),_0x41c915=_0x33e3e1[_0x29c5e5(0x203)][_0x29c5e5(0x160)](this[_0x29c5e5(0x130)]);_0x41c915&&_0x41c915[_0x29c5e5(0x208)]>0x1?_0x3396ec[_0x29c5e5(0x20c)]():this[_0x29c5e5(0x13c)](_0x33e3e1,_0x29c5e5(0x1ac)+this[_0x29c5e5(0x130)],()=>{const _0xf7c499=_0x29c5e5;0x2===_0x33e3e1[_0xf7c499(0x203)][_0xf7c499(0x160)](this[_0xf7c499(0x130)])[_0xf7c499(0x208)]&&_0x3396ec[_0xf7c499(0x20c)]();});}async[_0x11b185(0x1af)](_0x5bf733,_0x132c37,_0x4ee2fe,_0x4ae537){const _0x41a145=_0x11b185;if(!this[_0x41a145(0x202)]&&this[_0x41a145(0x14e)][_0x41a145(0x209)]==_0x132c37){const _0x152b3d=this[_0x41a145(0x1ff)](_0x4ee2fe,_0x4ae537);await this[_0x41a145(0x21d)](_0x152b3d),this[_0x41a145(0x1d4)](_0x152b3d,_0x132c37,_0x4ee2fe[_0x41a145(0x162)])||this[_0x41a145(0x1a4)](_0x41a145(0x15a));}}async[_0x11b185(0x213)](){const _0x510dfb=_0x11b185;this[_0x510dfb(0x1f5)]();const {locale:_0x18c5c3}=this[_0x510dfb(0x129)];let _0x18cce3;try{_0x18cce3=await this[_0x510dfb(0x174)][_0x510dfb(0x1f6)]();}catch{const _0x230973=_0x473c58(_0x18c5c3,_0x510dfb(0x17f));return void this[_0x510dfb(0x19a)](_0x230973);}const _0x3ff794=_0x18cce3[_0x510dfb(0x21b)]||_0x18cce3[_0x510dfb(0x168)];if(this[_0x510dfb(0x123)]!==_0x3ff794[_0x510dfb(0x162)]){const _0x1bee2a=_0x473c58(_0x18c5c3,_0x510dfb(0x207));return void this[_0x510dfb(0x19a)](_0x1bee2a);}await this[_0x510dfb(0x1f0)](this[_0x510dfb(0x129)][_0x510dfb(0x1bd)][_0x510dfb(0x1ba)][_0x510dfb(0x188)][_0x510dfb(0x13a)](),!0x0);}[_0x11b185(0x1f5)](){const _0x33c8c0=_0x11b185;this[_0x33c8c0(0x174)][_0x33c8c0(0x17d)](),this[_0x33c8c0(0x170)]=[],clearTimeout(this[_0x33c8c0(0x117)]),this[_0x33c8c0(0x1f9)](this[_0x33c8c0(0x174)]);}[_0x11b185(0x17e)](_0x208fe5){const _0x5c9dc5=_0x11b185,_0xd52af=this[_0x5c9dc5(0x129)][_0x5c9dc5(0x1dd)][_0x5c9dc5(0x160)](_0x10854f);this[_0x5c9dc5(0x13c)](_0xd52af,_0x5c9dc5(0x1ac)+this[_0x5c9dc5(0x130)],(_0x1c8695,{session:_0x406066})=>{const _0x174433=_0x5c9dc5;if(_0x406066['id']===_0xd52af[_0x174433(0x145)]){_0x1c8695[_0x174433(0x15d)]();const _0x562592=this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x172)](_0x174433(0x1a3))&&this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1a3));let _0x192d40=_0x406066[_0x174433(0x1f2)];_0x562592&&_0x562592[_0x174433(0x1b7)]&&(_0x192d40=_0x192d40[_0x174433(0x18c)](_0x328532=>_0x174433(0x1fa)!==_0x328532)),this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1e8))[_0x174433(0x118)](_0x192d40,this[_0x174433(0x130)]);}}),_0xd52af[_0x5c9dc5(0x142)](this[_0x5c9dc5(0x130)],_0x208fe5);}[_0x11b185(0x214)](){const _0x2175f9=_0x11b185,_0x2f5322=this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)];this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)]=(..._0x8e4460)=>{const _0x41992d=_0x2175f9;if(!_0x8e4460[_0x8e4460[_0x41992d(0x208)]-0x1][_0x41992d(0x17c)])throw new _0x1510e6(_0x41992d(0x18d),this);_0x2f5322[_0x41992d(0x216)](this[_0x41992d(0x129)][_0x41992d(0x1d6)],_0x8e4460);};}[_0x11b185(0x122)](){const _0x11b908=_0x11b185;this[_0x11b908(0x129)][_0x11b908(0x1d6)]['on'](_0x11b908(0x205),(_0x17752c,[_0x3ca638])=>{const _0x2d83a3=_0x11b908;if(this[_0x2d83a3(0x14e)][_0x2d83a3(0x209)])throw new _0x1510e6(_0x2d83a3(0x204),this);_0x17752c[_0x2d83a3(0x12d)](),this[_0x2d83a3(0x180)]();const _0x3f2914=this[_0x2d83a3(0x129)][_0x2d83a3(0x206)][_0x2d83a3(0x160)](_0x2d83a3(0x1a1)),_0x5503d3=this[_0x2d83a3(0x196)](_0x3ca638,_0x3f2914);0x0==_0x5503d3[_0x2d83a3(0x208)]&&_0x5503d3[_0x2d83a3(0x200)](new _0x27aecf(0x0)),_0x17752c[_0x2d83a3(0x1bb)]=this[_0x2d83a3(0x1f0)](_0x5503d3)[_0x2d83a3(0x1ee)](()=>{const _0x21c831=_0x2d83a3;this[_0x21c831(0x129)][_0x21c831(0x1dd)][_0x21c831(0x160)](_0x8aa329)[_0x21c831(0x1e2)](this),this[_0x21c831(0x129)][_0x21c831(0x1d6)][_0x21c831(0x1ea)](_0x21c831(0x19b));})[_0x2d83a3(0x14c)](_0x4a5274=>this[_0x2d83a3(0x1a4)](_0x2d83a3(0x134),_0x4a5274))[_0x2d83a3(0x1e4)](()=>this[_0x2d83a3(0x1e3)]());},{'priority':_0x11b908(0x199)}),this[_0x11b908(0x129)]['on'](_0x11b908(0x12c),async(_0x548400,[_0x5675d4,_0x3fb737])=>{const _0x7c7b1b=_0x11b908;_0x548400[_0x7c7b1b(0x12d)]();const _0x436b13=this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ba)][_0x7c7b1b(0x164)](_0x5675d4);if(!this[_0x7c7b1b(0x1e7)][_0x7c7b1b(0x172)](_0x5675d4)){const _0x38b4ff=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x1d6)]?_0x3fb737[_0x7c7b1b(0x1d6)]:'',_0x31d82f=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x171)]?_0x3fb737[_0x7c7b1b(0x171)]:{};await this[_0x7c7b1b(0x19c)](_0x5675d4,_0x38b4ff,_0x31d82f);}this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ad)]({'isUndoable':!0x1},()=>{const _0x146b94=_0x7c7b1b;_0x436b13[_0x146b94(0x11d)]=!0x0,this[_0x146b94(0x129)][_0x146b94(0x1bd)][_0x146b94(0x1ba)][_0x146b94(0x1a7)][_0x146b94(0x1fd)](_0x436b13);});},{'priority':_0x11b908(0x199)});}async[_0x11b185(0x21d)](_0x4777d3){const _0xa87b9a=_0x11b185,_0x1ea85b=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x14a7cf),{connection:_0x584a71}=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x8aa329),_0x3a2256=new Set();for(const _0x46b103 of _0x4777d3){const _0x59e033=_0x46b103[_0xa87b9a(0x166)];_0x59e033&&!_0x1ea85b[_0xa87b9a(0x14f)](_0x59e033)&&_0x3a2256[_0xa87b9a(0x143)](_0x59e033);}if(0x0===_0x3a2256[_0xa87b9a(0x15e)])return;const _0x3ff189=await _0xcf351c[_0xa87b9a(0x20e)](_0x584a71,Array[_0xa87b9a(0x20b)](_0x3a2256));for(const _0x226fe0 of _0x3ff189)_0x1ea85b[_0xa87b9a(0x14f)](_0x226fe0['id'])||_0x1ea85b[_0xa87b9a(0x1f8)](_0x226fe0);}[_0x11b185(0x196)](_0x146b6b,_0x212d82={}){const _0x17aba6=_0x11b185,_0x4d0f01=this[_0x17aba6(0x129)][_0x17aba6(0x1bd)],_0x6eafd9=[];let _0x507bd4=0x0;const _0x54e7dd=_0x17aba6(0x1f4)==typeof _0x146b6b?{'main':_0x146b6b}:_0x146b6b;for(const _0x2be16c of Object[_0x17aba6(0x156)](_0x54e7dd)){if(!this[_0x17aba6(0x14e)][_0x17aba6(0x1d8)][_0x17aba6(0x172)](_0x2be16c))throw new _0x1510e6(_0x17aba6(0x1eb),this);const _0x7f67e5=this[_0x17aba6(0x129)][_0x17aba6(0x1d6)][_0x17aba6(0x186)](_0x54e7dd[_0x2be16c]),_0x4ac9b6=this[_0x17aba6(0x14e)][_0x17aba6(0x164)](_0x2be16c),_0x56d567=new _0x35ef47(_0x4d0f01[_0x17aba6(0x16e)](_0x4ac9b6,0x0),_0x7f67e5,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x56d567);for(const [_0x305e62,_0x1d423d]of _0x7f67e5[_0x17aba6(0x13b)]){const _0x2a9898=_0x4d0f01[_0x17aba6(0x1da)](_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x18f)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]()),_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x148)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]())),_0x11d3ad=new _0x520762(_0x305e62,null,_0x2a9898,_0x4d0f01[_0x17aba6(0x13b)],!0x0,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x11d3ad);}}if(_0x212d82)for(const [_0x5868a2,_0x1511f7]of Object[_0x17aba6(0x1a5)](_0x212d82)){const _0xe92aa5=_0x4d0f01[_0x17aba6(0x1ba)][_0x17aba6(0x164)](_0x5868a2);if(!_0xe92aa5)throw new _0x1510e6(_0x17aba6(0x163),null);for(const [_0x227624,_0xf113ee]of Object[_0x17aba6(0x1a5)](_0x1511f7))if(null!==_0xf113ee){const _0x5e34b4=new _0x62aac(_0xe92aa5,_0x227624,null,_0xf113ee,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x5e34b4);}}return _0x6eafd9;}async[_0x11b185(0x19c)](_0xadb2a4,_0x39c197,_0x4f492b){const _0x468e90=_0x11b185;this[_0x468e90(0x196)]({[_0xadb2a4]:_0x39c197},{[_0xadb2a4]:_0x4f492b})[_0x468e90(0x1d7)]((_0x4abf6d,_0x4e0959)=>{const _0x4d93cc=_0x468e90;_0x4abf6d[_0x4d93cc(0x1be)]=this[_0x4d93cc(0x14e)][_0x4d93cc(0x209)]+_0x4e0959,_0x4abf6d[_0x4d93cc(0x161)]=!0x0,this[_0x4d93cc(0x11c)](_0x4abf6d);}),this[_0x468e90(0x182)](),await this[_0x468e90(0x1d0)]();}async[_0x11b185(0x1f1)](_0x228e33,_0x4de179){const _0x430dcd=_0x11b185;let _0x43f788;this[_0x430dcd(0x16a)]=_0x228e33[_0x430dcd(0x179)];const _0x397c7c=_0x228e33[_0x430dcd(0x1c3)]&&!_0x228e33[_0x430dcd(0x19e)],_0x359168=_0x397c7c?0x0:_0x228e33[_0x430dcd(0x1d6)][_0x430dcd(0x1be)];if(_0x4de179[_0x430dcd(0x1d7)](_0x308c29=>{const _0x491d6a=_0x430dcd;_0x308c29[_0x491d6a(0x161)]=!0x0,_0x308c29[_0x491d6a(0x215)]=_0x228e33[_0x491d6a(0x13f)],_0x308c29[_0x491d6a(0x166)]=null;}),_0x397c7c)_0x43f788=_0x4de179,this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);else{if(_0x228e33[_0x430dcd(0x19e)]){const _0x58fe96=this[_0x430dcd(0x196)](_0x228e33[_0x430dcd(0x19e)]);this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)],_0x58fe96[_0x430dcd(0x1d7)](_0x54209f=>{const _0x319c0a=_0x430dcd;_0x54209f[_0x319c0a(0x1be)]-=_0x58fe96[_0x319c0a(0x208)],_0x54209f[_0x319c0a(0x215)]=_0x228e33[_0x319c0a(0x13f)],_0x54209f[_0x319c0a(0x161)]=!0x0,_0x54209f[_0x319c0a(0x166)]=null;}),this[_0x430dcd(0x11b)](_0x58fe96,!0x0),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)]+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x58fe96);}this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=_0x359168,_0x43f788=this[_0x430dcd(0x1ff)](_0x228e33[_0x430dcd(0x1d6)],_0x228e33[_0x430dcd(0x16d)]),await this[_0x430dcd(0x21d)](_0x43f788),this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);}_0x228e33[_0x430dcd(0x162)]&&(this[_0x430dcd(0x20f)][_0x430dcd(0x125)](_0x43f788,_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x123)]=_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=_0x359168+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x43f788),_0x4de179[_0x430dcd(0x18c)](_0x3c6fd7=>{const _0x7bd248=_0x430dcd,_0x5f164a=this[_0x7bd248(0x1c2)](_0x3c6fd7);return _0x5f164a&&!this[_0x7bd248(0x1e7)][_0x7bd248(0x172)](_0x5f164a);})[_0x430dcd(0x1d7)]((_0x175c89,_0x3cb17b)=>{const _0x4dfb2c=_0x430dcd;_0x175c89[_0x4dfb2c(0x1be)]=this[_0x4dfb2c(0x14e)][_0x4dfb2c(0x209)]+_0x3cb17b,this[_0x4dfb2c(0x11c)](_0x175c89);}),this[_0x430dcd(0x1de)]()?(this[_0x430dcd(0x165)]=0x0,this[_0x430dcd(0x182)](!0x0),await this[_0x430dcd(0x1d0)]()):(this[_0x430dcd(0x202)]=!0x1,this[_0x430dcd(0x1e3)]());}[_0x11b185(0x1a4)](_0xae9c0d,_0x546852){const _0x39b756=_0x11b185,_0x4982f=_0x546852&&_0x546852[_0x39b756(0x147)];if(_0x4982f&&_0x4982f[_0x39b756(0x185)](_0x39b756(0x173)))throw _0x546852;const _0x1a351f=this[_0x39b756(0x129)][_0x39b756(0x1dd)][_0x39b756(0x160)](_0x8aa329);throw this[_0x39b756(0x202)]=!0x0,_0x1a351f[_0x39b756(0x17d)](),this[_0x39b756(0x129)][_0x39b756(0x1b0)](_0x39b756(0x1b9)),new _0x1510e6(_0xae9c0d,this[_0x39b756(0x129)],_0x4982f?{'originalError':_0x4982f}:void 0x0);}[_0x11b185(0x11c)](_0xbc87d){const _0x12c44e=_0x11b185;this[_0x12c44e(0x18e)][_0x12c44e(0x172)](_0xbc87d)||(this[_0x12c44e(0x18e)][_0x12c44e(0x143)](_0xbc87d),this[_0x12c44e(0x170)][_0x12c44e(0x200)](_0xbc87d),this[_0x12c44e(0x1e0)]||_0x12c44e(0x1d9)==_0xbc87d[_0x12c44e(0x140)]&&!_0xbc87d[_0x12c44e(0x12e)]||this[_0x12c44e(0x180)]());}[_0x11b185(0x182)](_0xafc7c2=!0x1){const _0x58714f=_0x11b185;!_0xafc7c2&&this[_0x58714f(0x202)]||(this[_0x58714f(0x202)]=!0x0,clearTimeout(this[_0x58714f(0x117)]),this[_0x58714f(0x117)]=setTimeout(()=>{const _0x15584a=_0x58714f;this[_0x15584a(0x11f)]()[_0x15584a(0x1ee)](_0x479280=>{const _0x290224=_0x15584a;_0x479280&&(this[_0x290224(0x1e3)](),this[_0x290224(0x202)]=!0x1);})[_0x15584a(0x14c)](_0x36202d=>{const _0x46504f=_0x15584a;this[_0x46504f(0x1e3)](),this[_0x46504f(0x202)]=!0x1,function(_0x57e9ed){const _0x1b4acb=_0x46504f;return _0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1e5))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1c8))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1d2));}(_0x36202d)||this[_0x46504f(0x1a4)](_0x36202d[_0x46504f(0x147)],_0x36202d);});},this[_0x58714f(0x165)]));}[_0x11b185(0x1d0)](){return new Promise(_0x6d14e7=>{const _0x571fa1=_0x51b4;this['on'](_0x571fa1(0x175),()=>{_0x6d14e7();});});}async[_0x11b185(0x11f)](){const _0x480e4e=_0x11b185,_0x1871ed=this[_0x480e4e(0x129)][_0x480e4e(0x1dd)][_0x480e4e(0x160)](_0x304d6b);if(this[_0x480e4e(0x192)]()&&(_0x1871ed[_0x480e4e(0x20c)](),this[_0x480e4e(0x1d1)]=!0x1),!this[_0x480e4e(0x1de)]())return!0x0;const _0x1dc1ec=[...this[_0x480e4e(0x170)]];for(const _0x487c1c of _0x1dc1ec)_0x487c1c[_0x480e4e(0x184)]=this[_0x480e4e(0x14e)][_0x480e4e(0x188)][_0x480e4e(0x18b)](_0x487c1c);const _0x40a959=this[_0x480e4e(0x20f)][_0x480e4e(0x20d)](_0x1dc1ec),_0x2cfe1b=G++,_0x2c0bad=this[_0x480e4e(0x16c)](_0x1dc1ec),_0x1bb1cc=await this[_0x480e4e(0x174)][_0x480e4e(0x133)](_0x2c0bad,_0x2c0bad[_0x480e4e(0x1be)],_0x40a959);try{return await this[_0x480e4e(0x12b)](_0x1dc1ec,_0x1bb1cc,_0x2cfe1b);}catch(_0x4ed331){return this[_0x480e4e(0x1a4)](_0x480e4e(0x1ab),_0x4ed331);}}async[_0x11b185(0x12b)](_0x2c16a8,_0x36ffc1,_0x38a12f){const _0x30b4ac=_0x11b185;if(_0x30b4ac(0x1c1)in _0x36ffc1)throw _0x36ffc1[_0x30b4ac(0x1c1)];let _0x333b81=!0x1;if(_0x36ffc1[_0x30b4ac(0x1c3)]){_0x36ffc1[_0x30b4ac(0x162)]&&(this[_0x30b4ac(0x123)]=_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x3ab392=>!_0x2c16a8[_0x30b4ac(0x190)](_0x3ab392));for(const _0x3377f9 of _0x2c16a8)_0x3377f9[_0x30b4ac(0x215)]=_0x30b4ac(0x14a)in _0x36ffc1&&_0x36ffc1[_0x30b4ac(0x14a)]||void 0x0;K(_0x2c16a8,_0x36ffc1[_0x30b4ac(0x209)]-_0x2c16a8[_0x30b4ac(0x208)]),this[_0x30b4ac(0x1b3)](_0x2c16a8);const _0x18a4b5=_0x2c16a8[_0x30b4ac(0x18c)](_0x45215a=>{const _0x2f5c19=_0x30b4ac;if(!_0x45215a[_0x2f5c19(0x161)])return!0x1;const _0x1cc17e=this[_0x2f5c19(0x1c2)](_0x45215a);return _0x1cc17e&&!this[_0x2f5c19(0x1e7)][_0x2f5c19(0x172)](_0x1cc17e);});K(_0x18a4b5,this[_0x30b4ac(0x14e)][_0x30b4ac(0x209)]),this[_0x30b4ac(0x11b)](_0x18a4b5),_0x333b81=!0x0,this[_0x30b4ac(0x165)]=this[_0x30b4ac(0x21c)];}else{const _0x25329a=this[_0x30b4ac(0x1ff)](_0x36ffc1[_0x30b4ac(0x1d6)],_0x36ffc1[_0x30b4ac(0x16d)])[_0x30b4ac(0x18c)](_0x2d5a84=>_0x2d5a84[_0x30b4ac(0x1be)]>=this[_0x30b4ac(0x135)]);_0x25329a[_0x30b4ac(0x1d7)](_0x3b63e2=>this[_0x30b4ac(0x158)](_0x3b63e2)),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x278100=>!_0x278100[_0x30b4ac(0x161)]||!this[_0x30b4ac(0x1e7)][_0x30b4ac(0x172)](this[_0x30b4ac(0x1c2)](_0x278100))),this[_0x30b4ac(0x170)][_0x30b4ac(0x208)]&&K(this[_0x30b4ac(0x170)],this[_0x30b4ac(0x170)][0x0][_0x30b4ac(0x1be)]),await this[_0x30b4ac(0x21d)](_0x25329a),_0x333b81=this[_0x30b4ac(0x1d4)](_0x25329a,_0x36ffc1[_0x30b4ac(0x209)],_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x165)]=Math[_0x30b4ac(0x1a6)](this[_0x30b4ac(0x165)]/0x2);}return _0x333b81?!this[_0x30b4ac(0x1de)]()||(this[_0x30b4ac(0x182)](!0x0),!0x1):this[_0x30b4ac(0x1a4)](_0x30b4ac(0x13d));}[_0x11b185(0x1d4)](_0x14ba1d,_0x50685d,_0x58b823){const _0x39ac83=_0x11b185;try{const _0x4dfbce={'document':this[_0x39ac83(0x14e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x35e326,operationsB:_0x5aed0b,originalOperations:_0x52e49d}=_0x59e1b3(_0x14ba1d,this[_0x39ac83(0x170)],_0x4dfbce);K(_0x35e326,this[_0x39ac83(0x14e)][_0x39ac83(0x209)]),K(_0x5aed0b,_0x50685d);for(const _0x463490 of _0x35e326){const _0x505a0b=_0x52e49d[_0x39ac83(0x160)](_0x463490);_0x463490[_0x39ac83(0x166)]=_0x505a0b?_0x505a0b[_0x39ac83(0x166)]:null;}_0x58b823&&(this[_0x39ac83(0x20f)][_0x39ac83(0x125)](_0x14ba1d,_0x58b823),this[_0x39ac83(0x123)]=_0x58b823),this[_0x39ac83(0x170)]=[..._0x5aed0b],this[_0x39ac83(0x11b)](_0x35e326),this[_0x39ac83(0x1b3)](_0x14ba1d);}catch(_0x55a05f){return console[_0x39ac83(0x1c1)](_0x55a05f),!0x1;}return!0x0;}[_0x11b185(0x11b)](_0x18456,_0x2d24a0=!0x1){const _0x1ecb14=_0x11b185;this[_0x1ecb14(0x129)][_0x1ecb14(0x1bd)][_0x1ecb14(0x1ad)]({'isUndoable':!0x1,'isLocal':!0x1},_0x6267ca=>{const _0x5496a0=_0x1ecb14;for(const _0x3dfb83 of _0x18456)this[_0x5496a0(0x18e)][_0x5496a0(0x143)](_0x3dfb83),this[_0x5496a0(0x158)](_0x3dfb83),_0x6267ca[_0x5496a0(0x1df)][_0x5496a0(0x1d5)](_0x3dfb83),this[_0x5496a0(0x129)][_0x5496a0(0x1bd)][_0x5496a0(0x1cd)](_0x3dfb83);});}[_0x11b185(0x158)](_0x21bab5){const _0x309dff=_0x11b185,_0x375968=this[_0x309dff(0x1c2)](_0x21bab5);_0x375968&&this[_0x309dff(0x1e7)][_0x309dff(0x143)](_0x375968);}[_0x11b185(0x1c2)](_0x1bb9eb){const _0x3eb2a3=_0x11b185;let _0x3820ba,_0x456223;switch(_0x1bb9eb[_0x3eb2a3(0x140)]){case _0x3eb2a3(0x193):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ed)][_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x1d9):if(_0x456223=_0x1bb9eb[_0x3eb2a3(0x1cf)],!_0x456223)return null;_0x3820ba=_0x456223[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x176):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x124):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x13e)];break;case _0x3eb2a3(0x16f):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x201)][_0x3eb2a3(0x1ae)];break;default:return null;}return _0x3820ba[_0x3eb2a3(0x136)];}[_0x11b185(0x1b3)](_0x555ffc){const _0xd8174b=_0x11b185;_0x555ffc[_0xd8174b(0x1d7)](_0x2be055=>{const _0x79ff16=_0xd8174b,_0x457f5a=_0x2be055[_0x79ff16(0x187)]();_0x457f5a[_0x79ff16(0x166)]=_0x2be055[_0x79ff16(0x166)],_0x457f5a[_0x79ff16(0x161)]=!!_0x2be055[_0x79ff16(0x161)],_0x457f5a[_0x79ff16(0x215)]=_0x2be055[_0x79ff16(0x215)],_0x457f5a[_0x79ff16(0x1be)]+=this[_0x79ff16(0x16a)],_0x2be055[_0x79ff16(0x20a)]&&this[_0x79ff16(0x1d3)][_0x79ff16(0x143)](_0x457f5a),this[_0x79ff16(0x16b)][_0x79ff16(0x1d5)](_0x457f5a);});}[_0x11b185(0x19a)](_0x2d69ce){const _0x150d8c=_0x11b185,_0x15b0f5=this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x150d8c(0x131)),_0xbd77a0=this[_0x150d8c(0x129)][_0x150d8c(0x178)];_0x2d69ce||(_0x2d69ce=_0x473c58(_0xbd77a0,_0x150d8c(0x121))),_0x15b0f5[_0x150d8c(0x219)](_0x2d69ce,{'title':_0x473c58(_0xbd77a0,_0x150d8c(0x1c9)),'namespace':_0x150d8c(0x1db)}),this[_0x150d8c(0x1c4)]=!0x0,clearTimeout(this[_0x150d8c(0x117)]),this[_0x150d8c(0x170)]=[],this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x8aa329)[_0x150d8c(0x17d)]();}[_0x11b185(0x180)](){const _0x3b7b88=_0x11b185;this[_0x3b7b88(0x1e0)]||(this[_0x3b7b88(0x1e0)]=this[_0x3b7b88(0x129)][_0x3b7b88(0x1dd)][_0x3b7b88(0x160)](_0x58ef67)[_0x3b7b88(0x143)](_0x473c58(this[_0x3b7b88(0x129)][_0x3b7b88(0x178)],_0x3b7b88(0x11a))));}[_0x11b185(0x1e3)](){const _0x46863f=_0x11b185;this[_0x46863f(0x1e0)]&&(this[_0x46863f(0x129)][_0x46863f(0x1dd)][_0x46863f(0x160)](_0x58ef67)[_0x46863f(0x144)](this[_0x46863f(0x1e0)]),this[_0x46863f(0x1e0)]=null);}[_0x11b185(0x16c)](_0x34e78b){const _0x40df20=_0x11b185,_0x19b2f0=_0x34e78b[_0x40df20(0x12a)](_0x31eaf9=>_0x31eaf9[_0x40df20(0x119)]());return this[_0x40df20(0x17b)][_0x40df20(0x18a)](_0x19b2f0);}[_0x11b185(0x1ff)](_0x29d0b5,_0x2de4ff){const _0xa33b33=_0x11b185;return this[_0xa33b33(0x17b)][_0xa33b33(0x17a)](_0x29d0b5)[_0xa33b33(0x12a)]((_0x118dbb,_0x10ad0a)=>{const _0x5e40c3=_0xa33b33,_0x46606a=_0x5e40c3(0x205)==_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)];if(_0x5e40c3(0x1bc)==_0x118dbb[_0x5e40c3(0x1e9)]){const _0x2eb26d=_0x118dbb[_0x5e40c3(0x1ed)][_0x5e40c3(0x1ae)];!this[_0x5e40c3(0x14e)][_0x5e40c3(0x164)](_0x2eb26d)&&(this[_0x5e40c3(0x14e)][_0x5e40c3(0x1b2)](_0x5e40c3(0x14d),_0x2eb26d)[_0x5e40c3(0x189)]=!0x1);}const _0x46d1a6=_0x1e1845[_0x5e40c3(0x1aa)](_0x118dbb,this[_0x5e40c3(0x14e)]);return _0x46d1a6[_0x5e40c3(0x184)]=_0x118dbb[_0x5e40c3(0x184)],_0x46d1a6[_0x5e40c3(0x161)]=_0x46606a,_0x46d1a6[_0x5e40c3(0x166)]=_0x46606a?null:_0x2de4ff[_0x10ad0a][_0x5e40c3(0x191)],_0x46d1a6[_0x5e40c3(0x20a)]=_0x5e40c3(0x15c)===_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)],_0x46d1a6[_0x5e40c3(0x215)]=_0x2de4ff[_0x10ad0a][_0x5e40c3(0x215)],_0x46d1a6;});}[_0x11b185(0x12f)](){const _0x3415c5=_0x11b185;this[_0x3415c5(0x1d1)]=!0x0,this[_0x3415c5(0x192)]()?this[_0x3415c5(0x182)]():this[_0x3415c5(0x1d1)]=!0x1;}[_0x11b185(0x192)](){const _0x50d61e=_0x11b185,_0x52c5a0=this[_0x50d61e(0x129)][_0x50d61e(0x1dd)][_0x50d61e(0x160)](_0x10854f)[_0x50d61e(0x203)][_0x50d61e(0x160)](this[_0x50d61e(0x130)]);return!this[_0x50d61e(0x129)][_0x50d61e(0x217)]&&!!_0x52c5a0&&_0x52c5a0[_0x50d61e(0x208)]>0x1&&this[_0x50d61e(0x1d1)];}[_0x11b185(0x1de)](){const _0x2e77b4=_0x11b185;return this[_0x2e77b4(0x170)][_0x2e77b4(0x208)]>0x0||this[_0x2e77b4(0x192)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x9f6f04,_0xf0c00f){const _0x395b47=_0x11b185;for(const _0xd811a0 of _0x9f6f04)_0xd811a0[_0x395b47(0x1be)]=_0xf0c00f++;}class J{[_0x11b185(0x1ef)];[_0x11b185(0x1c7)];constructor(_0xb06548){const _0x3fba2a=_0x11b185;this[_0x3fba2a(0x1ef)]=_0xb06548,this[_0x3fba2a(0x1c7)]=new WeakMap();}[_0x11b185(0x20d)](_0x290f0f){const _0x446f98=_0x11b185;let _0x13e23e=_0x290f0f[_0x446f98(0x208)];for(;_0x13e23e--;){const _0x2b84be=_0x290f0f[_0x13e23e];if(!this[_0x446f98(0x1ef)][_0x446f98(0x172)](_0x2b84be)){if(!this[_0x446f98(0x1c7)][_0x446f98(0x172)](_0x2b84be)){const _0x55568f=_0x22c164()[_0x446f98(0x169)](0x1,0x12);this[_0x446f98(0x1c7)][_0x446f98(0x210)](_0x2b84be,_0x55568f);}return this[_0x446f98(0x1c7)][_0x446f98(0x160)](_0x2b84be);}}}[_0x11b185(0x125)](_0x376f8a,_0x4545cd){const _0x539a0d=_0x11b185;if(!_0x4545cd)return;let _0x45f7fe=_0x376f8a[_0x539a0d(0x208)];for(;_0x45f7fe--;){const _0x6eb834=_0x376f8a[_0x45f7fe];this[_0x539a0d(0x1ef)][_0x539a0d(0x172)](_0x6eb834)||this[_0x539a0d(0x1c7)][_0x539a0d(0x210)](_0x6eb834,_0x4545cd);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171b45=_0x5499;function _0x44d2(){const _0x5d9f26=['state','isMe','pluginName','forEach','247868kYDppo','orderNumber','getUserRole','size','25676ZiuExr','72qRmeZG','_users','channelConnectedUsers','requires','clear','user','mySessionId','sessionId','remove','unregister','_createUser','values','connection','defineMe','fire','sessionAdd:','plugins','getUser','has','isOfficialPlugin','connected','sessions-unregister-not-exist','1102566tPqeYF','stopListening','change:state','isPremiumPlugin','Sessions','role','init','addUser','set','add','_handleSessionAdd','727060ojNvWo','5456960LZYrwe','assign','8nJjBgo','_uniqueUsersCount','3607832lQhZhs','listenTo','23420oguylP','getUserSessions','allConnectedUsers','get','_handleSessionRemove','getUserBySessionId','delete','register','sessions-register-already-registered','1413aSoSAA','_registeredSessions','channelSessions','context'];_0x44d2=function(){return _0x5d9f26;};return _0x44d2();}(function(_0x52703c,_0x10bc99){const _0x50e97d=_0x5499,_0x5c7c86=_0x52703c();while(!![]){try{const _0x9d52a5=-parseInt(_0x50e97d(0x19f))/0x1+parseInt(_0x50e97d(0x187))/0x2+-parseInt(_0x50e97d(0x17c))/0x3*(parseInt(_0x50e97d(0x18a))/0x4)+parseInt(_0x50e97d(0x188))/0x5+parseInt(_0x50e97d(0x1a4))/0x6*(parseInt(_0x50e97d(0x1a3))/0x7)+parseInt(_0x50e97d(0x18c))/0x8+-parseInt(_0x50e97d(0x197))/0x9*(parseInt(_0x50e97d(0x18e))/0xa);if(_0x9d52a5===_0x10bc99)break;else _0x5c7c86['push'](_0x5c7c86['shift']());}catch(_0x55b686){_0x5c7c86['push'](_0x5c7c86['shift']());}}}(_0x44d2,0x9250f));function _0x5499(_0x2aa20c,_0x369801){const _0x44d2ca=_0x44d2();return _0x5499=function(_0x54990d,_0x1218b6){_0x54990d=_0x54990d-0x16d;let _0x1d6c5c=_0x44d2ca[_0x54990d];return _0x1d6c5c;},_0x5499(_0x2aa20c,_0x369801);}import{ContextPlugin as _0x2ee752}from'ckeditor5/src/core.js';import{Collection as _0x433d9c,CKEditorError as _0x3bd7e4}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2e83df}from'./websocketgateway.js';import{Users as _0x3f0d2b}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2ee752{[_0x171b45(0x199)];[_0x171b45(0x1a6)];[_0x171b45(0x190)];[_0x171b45(0x198)];[_0x171b45(0x18b)];[_0x171b45(0x1a5)];static get[_0x171b45(0x19d)](){const _0x522582=_0x171b45;return _0x522582(0x180);}static get[_0x171b45(0x179)](){return!0x0;}static get[_0x171b45(0x17f)](){return!0x0;}static get[_0x171b45(0x1a7)](){return[_0x2e83df,_0x3f0d2b];}constructor(_0x2d3d56){const _0x276883=_0x171b45;super(_0x2d3d56),this[_0x276883(0x199)]=new Map(),this[_0x276883(0x1a6)]=new Map(),this[_0x276883(0x190)]=new _0x433d9c(),this[_0x276883(0x198)]=new Map(),this[_0x276883(0x18b)]=0x0,this[_0x276883(0x1a5)]=this[_0x276883(0x19a)][_0x276883(0x176)][_0x276883(0x191)](_0x3f0d2b);}[_0x171b45(0x182)](){const _0x4161b9=_0x171b45,_0xf60c84=this[_0x4161b9(0x19a)][_0x4161b9(0x176)][_0x4161b9(0x191)](_0x2e83df);this[_0x4161b9(0x18d)](_0xf60c84,_0x4161b9(0x17e),(_0x1bdcb9,_0x3ebd8a,_0x1468ac)=>{const _0x552d02=_0x4161b9;if(_0x552d02(0x17a)!==_0x1468ac)this[_0x552d02(0x199)][_0x552d02(0x19e)](_0xd71f25=>_0xd71f25[_0x552d02(0x1a8)]()),this[_0x552d02(0x1a6)][_0x552d02(0x19e)](_0x5781d3=>_0x5781d3[_0x552d02(0x1a8)]()),this[_0x552d02(0x190)][_0x552d02(0x1a8)]();else{for(const [_0x334ebf,_0x3d7b01]of this[_0x552d02(0x198)])for(const _0x232e6b of _0x3d7b01)this[_0x552d02(0x186)](_0x334ebf,_0x232e6b);}}),this[_0x4161b9(0x170)](_0xf60c84[_0x4161b9(0x172)]['me'],!0x0);}[_0x171b45(0x195)](_0x5a74ca,_0x2abf66){const _0x5e035e=_0x171b45;if(this[_0x5e035e(0x198)][_0x5e035e(0x178)](_0x5a74ca))throw new _0x3bd7e4(_0x5e035e(0x196),null,{'channelId':_0x5a74ca});this[_0x5e035e(0x198)][_0x5e035e(0x184)](_0x5a74ca,_0x2abf66),this[_0x5e035e(0x199)][_0x5e035e(0x184)](_0x5a74ca,new _0x433d9c()),this[_0x5e035e(0x1a6)][_0x5e035e(0x184)](_0x5a74ca,new _0x433d9c()),this[_0x5e035e(0x18d)](_0x2abf66,_0x5e035e(0x185),(_0x7d3696,_0x8e3ff3)=>this[_0x5e035e(0x186)](_0x5a74ca,_0x8e3ff3)),this[_0x5e035e(0x18d)](_0x2abf66,_0x5e035e(0x16e),(_0x434d1e,_0x308e3f)=>this[_0x5e035e(0x192)](_0x5a74ca,_0x308e3f));for(const _0xf7a57 of _0x2abf66)this[_0x5e035e(0x186)](_0x5a74ca,_0xf7a57);}[_0x171b45(0x16f)](_0x2a149e){const _0x2e62b4=_0x171b45;if(!this[_0x2e62b4(0x198)][_0x2e62b4(0x178)](_0x2a149e))throw new _0x3bd7e4(_0x2e62b4(0x17b),null,{'channelId':_0x2a149e});const _0x35f759=this[_0x2e62b4(0x198)][_0x2e62b4(0x191)](_0x2a149e);this[_0x2e62b4(0x17d)](_0x35f759);for(const _0x1de74 of _0x35f759)_0x2e62b4(0x17a)===this[_0x2e62b4(0x19a)][_0x2e62b4(0x176)][_0x2e62b4(0x191)](_0x2e83df)[_0x2e62b4(0x19b)]&&this[_0x2e62b4(0x192)](_0x2a149e,_0x1de74);this[_0x2e62b4(0x198)][_0x2e62b4(0x194)](_0x2a149e),this[_0x2e62b4(0x199)][_0x2e62b4(0x194)](_0x2a149e),this[_0x2e62b4(0x1a6)][_0x2e62b4(0x194)](_0x2a149e);}get[_0x171b45(0x1aa)](){const _0x32e344=_0x171b45;return this[_0x32e344(0x19a)][_0x32e344(0x176)][_0x32e344(0x191)](_0x2e83df)[_0x32e344(0x172)][_0x32e344(0x16d)];}[_0x171b45(0x193)](_0x7940ce){const _0x1a9697=_0x171b45;for(const _0x341731 of this[_0x1a9697(0x199)][_0x1a9697(0x171)]())for(const _0x41845e of _0x341731)if(_0x41845e['id']===_0x7940ce)return _0x41845e[_0x1a9697(0x1a9)];}[_0x171b45(0x18f)](_0x34f582,_0x409999){const _0x48fd98=_0x171b45,_0x5044fd=_0x409999?[this[_0x48fd98(0x199)][_0x48fd98(0x191)](_0x409999)]:this[_0x48fd98(0x199)][_0x48fd98(0x171)](),_0x5bbf7c=new Set();for(const _0x21772a of _0x5044fd)for(const _0x3af5b4 of _0x21772a)_0x3af5b4[_0x48fd98(0x1a9)]['id']===_0x34f582['id']&&_0x5bbf7c[_0x48fd98(0x185)](_0x3af5b4['id']);return _0x5bbf7c;}[_0x171b45(0x1a1)](_0x204022){const _0x298964=_0x171b45;for(const _0x16fa8f of this[_0x298964(0x199)][_0x298964(0x171)]())for(const _0x51d3fc of _0x16fa8f)if(_0x51d3fc[_0x298964(0x1a9)]===_0x204022)return _0x51d3fc[_0x298964(0x181)];}[_0x171b45(0x186)](_0x2ecd2b,_0x17bea5){const _0x29ff38=_0x171b45;if(_0x29ff38(0x17a)!==this[_0x29ff38(0x19a)][_0x29ff38(0x176)][_0x29ff38(0x191)](_0x2e83df)[_0x29ff38(0x19b)])return;const _0x38c48e=_0x17bea5[_0x29ff38(0x1a9)],_0x2d31c7=this[_0x29ff38(0x1a5)][_0x29ff38(0x177)](_0x38c48e['id'])||this[_0x29ff38(0x170)](_0x38c48e),_0x43e6fa=Object[_0x29ff38(0x189)]({},_0x17bea5,{'user':_0x2d31c7});this[_0x29ff38(0x199)][_0x29ff38(0x191)](_0x2ecd2b)[_0x29ff38(0x185)](_0x43e6fa);const _0x263e62=this[_0x29ff38(0x1a6)][_0x29ff38(0x191)](_0x2ecd2b);_0x263e62[_0x29ff38(0x178)](_0x2d31c7['id'])||_0x263e62[_0x29ff38(0x185)](_0x2d31c7),this[_0x29ff38(0x190)][_0x29ff38(0x178)](_0x2d31c7['id'])||this[_0x29ff38(0x190)][_0x29ff38(0x185)](_0x2d31c7,_0x2d31c7[_0x29ff38(0x19c)]?0x0:void 0x0),this[_0x29ff38(0x174)](_0x29ff38(0x175)+_0x2ecd2b,{'channelId':_0x2ecd2b,'session':_0x43e6fa});}[_0x171b45(0x192)](_0x418f5b,_0x4ef9ef){const _0x133b3b=_0x171b45;if(_0x133b3b(0x17a)!==this[_0x133b3b(0x19a)][_0x133b3b(0x176)][_0x133b3b(0x191)](_0x2e83df)[_0x133b3b(0x19b)])return;const _0x43a553=this[_0x133b3b(0x1a6)][_0x133b3b(0x191)](_0x418f5b),_0x396f30=_0x4ef9ef[_0x133b3b(0x1a9)];_0x396f30['id']&&(this[_0x133b3b(0x199)][_0x133b3b(0x191)](_0x418f5b)[_0x133b3b(0x16e)](_0x4ef9ef['id']),_0x43a553[_0x133b3b(0x178)](_0x396f30['id'])&&!this[_0x133b3b(0x18f)](_0x396f30,_0x418f5b)[_0x133b3b(0x1a2)]&&_0x43a553[_0x133b3b(0x16e)](_0x396f30['id']),this[_0x133b3b(0x190)][_0x133b3b(0x191)](_0x396f30['id'])&&!this[_0x133b3b(0x18f)](_0x396f30)[_0x133b3b(0x1a2)]&&this[_0x133b3b(0x190)][_0x133b3b(0x16e)](_0x396f30['id']));}[_0x171b45(0x170)](_0x5d7b8c,_0x54de97){const _0x11ebe8=_0x171b45,_0x327021=this[_0x11ebe8(0x1a5)][_0x11ebe8(0x183)](_0x5d7b8c);return _0x54de97&&this[_0x11ebe8(0x1a5)][_0x11ebe8(0x173)](_0x5d7b8c['id']),_0x327021[_0x11ebe8(0x1a0)]=this[_0x11ebe8(0x18b)]++,_0x327021;}}
23
+ function _0x4720(_0x1f1992,_0x3805bb){const _0x4a8c06=_0x4a8c();return _0x4720=function(_0x472037,_0x44615e){_0x472037=_0x472037-0x196;let _0xd7b38a=_0x4a8c06[_0x472037];return _0xd7b38a;},_0x4720(_0x1f1992,_0x3805bb);}const _0x522357=_0x4720;(function(_0x25a33b,_0x17edf4){const _0x297cb6=_0x4720,_0x50cc1d=_0x25a33b();while(!![]){try{const _0x4a2346=-parseInt(_0x297cb6(0x1c1))/0x1+parseInt(_0x297cb6(0x1a2))/0x2+parseInt(_0x297cb6(0x1cb))/0x3+parseInt(_0x297cb6(0x198))/0x4*(-parseInt(_0x297cb6(0x1ca))/0x5)+parseInt(_0x297cb6(0x1a8))/0x6*(parseInt(_0x297cb6(0x1ad))/0x7)+-parseInt(_0x297cb6(0x1ba))/0x8+-parseInt(_0x297cb6(0x19b))/0x9;if(_0x4a2346===_0x17edf4)break;else _0x50cc1d['push'](_0x50cc1d['shift']());}catch(_0x3a0b2c){_0x50cc1d['push'](_0x50cc1d['shift']());}}}(_0x4a8c,0xe4632));import{ContextPlugin as _0xe092b3}from'ckeditor5/src/core.js';import{Collection as _0x297c81,CKEditorError as _0x108dd3}from'ckeditor5/src/utils.js';function _0x4a8c(){const _0x438563=['user','Sessions','9885474PcFWqP','delete','remove','connected','_uniqueUsersCount','unregister','_handleSessionRemove','2957968CqCimF','init','sessionId','requires','isOfficialPlugin','getUserSessions','186pNlhxq','sessions-register-already-registered','stopListening','addUser','_handleSessionAdd','376411YBKQko','channelConnectedUsers','getUserRole','role','connection','isPremiumPlugin','listenTo','add','plugins','pluginName','isMe','set','fire','8702320vWQpxZ','_registeredSessions','state','clear','context','defineMe','size','1540745NHgvKF','forEach','values','sessions-unregister-not-exist','orderNumber','_users','_createUser','assign','channelSessions','5uDgzXd','5544066wKJWMJ','register','change:state','has','get','getUserBySessionId','getUser','mySessionId','allConnectedUsers','sessionAdd:','1326296ocdCcq'];_0x4a8c=function(){return _0x438563;};return _0x4a8c();}import{WebSocketGateway as _0x55cae0}from'./websocketgateway.js';import{Users as _0x5ba707}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0xe092b3{[_0x522357(0x1c9)];[_0x522357(0x1ae)];[_0x522357(0x196)];[_0x522357(0x1bb)];[_0x522357(0x19f)];[_0x522357(0x1c6)];static get[_0x522357(0x1b6)](){const _0x4b169d=_0x522357;return _0x4b169d(0x19a);}static get[_0x522357(0x1a6)](){return!0x0;}static get[_0x522357(0x1b2)](){return!0x0;}static get[_0x522357(0x1a5)](){return[_0x55cae0,_0x5ba707];}constructor(_0xdd6a0c){const _0x203d8e=_0x522357;super(_0xdd6a0c),this[_0x203d8e(0x1c9)]=new Map(),this[_0x203d8e(0x1ae)]=new Map(),this[_0x203d8e(0x196)]=new _0x297c81(),this[_0x203d8e(0x1bb)]=new Map(),this[_0x203d8e(0x19f)]=0x0,this[_0x203d8e(0x1c6)]=this[_0x203d8e(0x1be)][_0x203d8e(0x1b5)][_0x203d8e(0x1cf)](_0x5ba707);}[_0x522357(0x1a3)](){const _0x58c197=_0x522357,_0xc10ab6=this[_0x58c197(0x1be)][_0x58c197(0x1b5)][_0x58c197(0x1cf)](_0x55cae0);this[_0x58c197(0x1b3)](_0xc10ab6,_0x58c197(0x1cd),(_0x706b25,_0x2e232b,_0x48ee27)=>{const _0x4fda3c=_0x58c197;if(_0x4fda3c(0x19e)!==_0x48ee27)this[_0x4fda3c(0x1c9)][_0x4fda3c(0x1c2)](_0x47cfcd=>_0x47cfcd[_0x4fda3c(0x1bd)]()),this[_0x4fda3c(0x1ae)][_0x4fda3c(0x1c2)](_0x2e06eb=>_0x2e06eb[_0x4fda3c(0x1bd)]()),this[_0x4fda3c(0x196)][_0x4fda3c(0x1bd)]();else{for(const [_0x34d02d,_0x563038]of this[_0x4fda3c(0x1bb)])for(const _0x5b2c13 of _0x563038)this[_0x4fda3c(0x1ac)](_0x34d02d,_0x5b2c13);}}),this[_0x58c197(0x1c7)](_0xc10ab6[_0x58c197(0x1b1)]['me'],!0x0);}[_0x522357(0x1cc)](_0x2dc54a,_0x57f950){const _0x3416b6=_0x522357;if(this[_0x3416b6(0x1bb)][_0x3416b6(0x1ce)](_0x2dc54a))throw new _0x108dd3(_0x3416b6(0x1a9),null,{'channelId':_0x2dc54a});this[_0x3416b6(0x1bb)][_0x3416b6(0x1b8)](_0x2dc54a,_0x57f950),this[_0x3416b6(0x1c9)][_0x3416b6(0x1b8)](_0x2dc54a,new _0x297c81()),this[_0x3416b6(0x1ae)][_0x3416b6(0x1b8)](_0x2dc54a,new _0x297c81()),this[_0x3416b6(0x1b3)](_0x57f950,_0x3416b6(0x1b4),(_0x3eacb2,_0x5b6aea)=>this[_0x3416b6(0x1ac)](_0x2dc54a,_0x5b6aea)),this[_0x3416b6(0x1b3)](_0x57f950,_0x3416b6(0x19d),(_0x4a056a,_0x7dfa14)=>this[_0x3416b6(0x1a1)](_0x2dc54a,_0x7dfa14));for(const _0x249345 of _0x57f950)this[_0x3416b6(0x1ac)](_0x2dc54a,_0x249345);}[_0x522357(0x1a0)](_0x118f54){const _0x46265b=_0x522357;if(!this[_0x46265b(0x1bb)][_0x46265b(0x1ce)](_0x118f54))throw new _0x108dd3(_0x46265b(0x1c4),null,{'channelId':_0x118f54});const _0x501afe=this[_0x46265b(0x1bb)][_0x46265b(0x1cf)](_0x118f54);this[_0x46265b(0x1aa)](_0x501afe);for(const _0x5f5147 of _0x501afe)_0x46265b(0x19e)===this[_0x46265b(0x1be)][_0x46265b(0x1b5)][_0x46265b(0x1cf)](_0x55cae0)[_0x46265b(0x1bc)]&&this[_0x46265b(0x1a1)](_0x118f54,_0x5f5147);this[_0x46265b(0x1bb)][_0x46265b(0x19c)](_0x118f54),this[_0x46265b(0x1c9)][_0x46265b(0x19c)](_0x118f54),this[_0x46265b(0x1ae)][_0x46265b(0x19c)](_0x118f54);}get[_0x522357(0x1d2)](){const _0x916411=_0x522357;return this[_0x916411(0x1be)][_0x916411(0x1b5)][_0x916411(0x1cf)](_0x55cae0)[_0x916411(0x1b1)][_0x916411(0x1a4)];}[_0x522357(0x1d0)](_0x36e336){const _0x2f21e3=_0x522357;for(const _0x1e6ecf of this[_0x2f21e3(0x1c9)][_0x2f21e3(0x1c3)]())for(const _0x1ab217 of _0x1e6ecf)if(_0x1ab217['id']===_0x36e336)return _0x1ab217[_0x2f21e3(0x199)];}[_0x522357(0x1a7)](_0x42e443,_0x299891){const _0x3c73e5=_0x522357,_0x17d50e=_0x299891?[this[_0x3c73e5(0x1c9)][_0x3c73e5(0x1cf)](_0x299891)]:this[_0x3c73e5(0x1c9)][_0x3c73e5(0x1c3)](),_0x2ec00a=new Set();for(const _0x336208 of _0x17d50e)for(const _0x5cd365 of _0x336208)_0x5cd365[_0x3c73e5(0x199)]['id']===_0x42e443['id']&&_0x2ec00a[_0x3c73e5(0x1b4)](_0x5cd365['id']);return _0x2ec00a;}[_0x522357(0x1af)](_0x102f47){const _0x5cf47c=_0x522357;for(const _0x2b39bb of this[_0x5cf47c(0x1c9)][_0x5cf47c(0x1c3)]())for(const _0x142ac2 of _0x2b39bb)if(_0x142ac2[_0x5cf47c(0x199)]===_0x102f47)return _0x142ac2[_0x5cf47c(0x1b0)];}[_0x522357(0x1ac)](_0x37bb18,_0x52073e){const _0x563730=_0x522357;if(_0x563730(0x19e)!==this[_0x563730(0x1be)][_0x563730(0x1b5)][_0x563730(0x1cf)](_0x55cae0)[_0x563730(0x1bc)])return;const _0x378379=_0x52073e[_0x563730(0x199)],_0x254fbd=this[_0x563730(0x1c6)][_0x563730(0x1d1)](_0x378379['id'])||this[_0x563730(0x1c7)](_0x378379),_0x535384=Object[_0x563730(0x1c8)]({},_0x52073e,{'user':_0x254fbd});this[_0x563730(0x1c9)][_0x563730(0x1cf)](_0x37bb18)[_0x563730(0x1b4)](_0x535384);const _0x14f043=this[_0x563730(0x1ae)][_0x563730(0x1cf)](_0x37bb18);_0x14f043[_0x563730(0x1ce)](_0x254fbd['id'])||_0x14f043[_0x563730(0x1b4)](_0x254fbd),this[_0x563730(0x196)][_0x563730(0x1ce)](_0x254fbd['id'])||this[_0x563730(0x196)][_0x563730(0x1b4)](_0x254fbd,_0x254fbd[_0x563730(0x1b7)]?0x0:void 0x0),this[_0x563730(0x1b9)](_0x563730(0x197)+_0x37bb18,{'channelId':_0x37bb18,'session':_0x535384});}[_0x522357(0x1a1)](_0x5c4825,_0x1402e5){const _0x151b88=_0x522357;if(_0x151b88(0x19e)!==this[_0x151b88(0x1be)][_0x151b88(0x1b5)][_0x151b88(0x1cf)](_0x55cae0)[_0x151b88(0x1bc)])return;const _0x5d0e3e=this[_0x151b88(0x1ae)][_0x151b88(0x1cf)](_0x5c4825),_0xad709=_0x1402e5[_0x151b88(0x199)];_0xad709['id']&&(this[_0x151b88(0x1c9)][_0x151b88(0x1cf)](_0x5c4825)[_0x151b88(0x19d)](_0x1402e5['id']),_0x5d0e3e[_0x151b88(0x1ce)](_0xad709['id'])&&!this[_0x151b88(0x1a7)](_0xad709,_0x5c4825)[_0x151b88(0x1c0)]&&_0x5d0e3e[_0x151b88(0x19d)](_0xad709['id']),this[_0x151b88(0x196)][_0x151b88(0x1cf)](_0xad709['id'])&&!this[_0x151b88(0x1a7)](_0xad709)[_0x151b88(0x1c0)]&&this[_0x151b88(0x196)][_0x151b88(0x19d)](_0xad709['id']));}[_0x522357(0x1c7)](_0x3a49fc,_0x431b31){const _0xaecdb5=_0x522357,_0x244c28=this[_0xaecdb5(0x1c6)][_0xaecdb5(0x1ab)](_0x3a49fc);return _0x431b31&&this[_0xaecdb5(0x1c6)][_0xaecdb5(0x1bf)](_0x3a49fc['id']),_0x244c28[_0xaecdb5(0x1c5)]=this[_0xaecdb5(0x19f)]++,_0x244c28;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dfb00=_0x3934;(function(_0x2e93d3,_0x1187d5){const _0x2e6b69=_0x3934,_0x3df359=_0x2e93d3();while(!![]){try{const _0xb95331=-parseInt(_0x2e6b69(0x265))/0x1*(-parseInt(_0x2e6b69(0x22c))/0x2)+parseInt(_0x2e6b69(0x255))/0x3*(-parseInt(_0x2e6b69(0x269))/0x4)+parseInt(_0x2e6b69(0x1ea))/0x5*(parseInt(_0x2e6b69(0x25a))/0x6)+-parseInt(_0x2e6b69(0x235))/0x7*(-parseInt(_0x2e6b69(0x25f))/0x8)+parseInt(_0x2e6b69(0x263))/0x9+-parseInt(_0x2e6b69(0x20e))/0xa*(parseInt(_0x2e6b69(0x20f))/0xb)+parseInt(_0x2e6b69(0x1eb))/0xc*(-parseInt(_0x2e6b69(0x238))/0xd);if(_0xb95331===_0x1187d5)break;else _0x3df359['push'](_0x3df359['shift']());}catch(_0x5110cf){_0x3df359['push'](_0x3df359['shift']());}}}(_0x513d,0xeb0ac));import{Plugin as _0x4492f8}from'ckeditor5/src/core.js';import{global as _0x5839ed,DomEmitterMixin as _0x4ea7b6}from'ckeditor5/src/utils.js';import{Sessions as _0xdac61f}from'./sessions.js';function _0x3934(_0x29cc5e,_0x58eb93){const _0x513da5=_0x513d();return _0x3934=function(_0x3934f8,_0x59690d){_0x3934f8=_0x3934f8-0x1ea;let _0x4fb4a1=_0x513da5[_0x3934f8];return _0x4fb4a1;},_0x3934(_0x29cc5e,_0x58eb93);}import{ModelLiveRange as _0x45073f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4492f8{[_0x4dfb00(0x206)]=new(_0x4ea7b6())();static get[_0x4dfb00(0x24c)](){return[_0xdac61f];}static get[_0x4dfb00(0x211)](){const _0x2ea66c=_0x4dfb00;return _0x2ea66c(0x261);}static get[_0x4dfb00(0x273)](){return!0x0;}static get[_0x4dfb00(0x25d)](){return!0x0;}[_0x4dfb00(0x24e)](){const _0x13dd7f=_0x4dfb00,_0x368b20=this[_0x13dd7f(0x200)],_0x176fdb=_0x368b20[_0x13dd7f(0x234)][_0x13dd7f(0x237)](_0xdac61f);_0x368b20[_0x13dd7f(0x22a)][_0x13dd7f(0x231)](_0x13dd7f(0x212))[_0x13dd7f(0x21f)]({'model':_0x13dd7f(0x21c),'view':(_0x552595,{writer:_0x282be6})=>function(_0x3ca9fe,_0x5c9891,_0x3ce328,_0x469ec7){const _0x5b0fae=_0x13dd7f,_0x322f56=_0x3ca9fe[_0x5b0fae(0x21b)][_0x5b0fae(0x26d)](':')[0x2],_0x57a474=_0x3ce328[_0x5b0fae(0x208)](_0x322f56);if(!_0x57a474||_0x322f56===_0x3ce328[_0x5b0fae(0x257)])return;if(!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)][_0x5b0fae(0x256)](_0x3ca9fe[_0x5b0fae(0x1ee)][_0x5b0fae(0x262)],_0x5b0fae(0x25b)))return;const _0x3f0866={'class':_0x5b0fae(0x242)+_0x57a474[_0x5b0fae(0x20c)][_0x5b0fae(0x1f4)](),'data-name':_0x57a474[_0x5b0fae(0x223)],'data-session-id':_0x322f56},_0x587f6b=_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1fe)][_0x5b0fae(0x237)](_0x3ca9fe[_0x5b0fae(0x21b)]),_0x56db5f=_0x587f6b[_0x5b0fae(0x209)](),_0x35d210=_0x56db5f[_0x5b0fae(0x267)],_0x12f028=_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)];if(_0x35d210&&_0x12f028[_0x5b0fae(0x23f)](_0x35d210)&&_0x12f028[_0x5b0fae(0x1f5)](_0x35d210)&&!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1fe)][_0x5b0fae(0x237)](_0x5b0fae(0x23b)+_0x322f56)[_0x5b0fae(0x259)]()[_0x5b0fae(0x1ef)])return;const _0x4be421=_0x56db5f[_0x5b0fae(0x1fb)];return _0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)][_0x5b0fae(0x1f1)](_0x4be421)&&!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x214)](_0x4be421)&&(_0x3f0866[_0x5b0fae(0x276)]=!0x1),function(_0x278ace,_0x5024dd,_0x327c60){const _0x43e3f7=_0x5b0fae,_0x2df39c=_0x278ace[_0x43e3f7(0x25e)](_0x43e3f7(0x201),_0x5024dd);return _0x278ace[_0x43e3f7(0x1fa)](_0x43e3f7(0x24a),!0x0,_0x2df39c),_0x2df39c[_0x43e3f7(0x244)]=function(_0x3758cd){const _0x366005=_0x43e3f7,_0x5cac49=this[_0x366005(0x218)](_0x3758cd),_0x38e5cd=document[_0x366005(0x1f3)](_0x366005(0x201));return _0x38e5cd[_0x366005(0x243)][_0x366005(0x204)](_0x366005(0x240)),_0x38e5cd[_0x366005(0x239)](_0x366005(0x276),_0x366005(0x224)),_0x38e5cd[_0x366005(0x239)](_0x366005(0x264),_0x366005(0x224)),_0x38e5cd[_0x366005(0x203)]=_0x327c60[_0x366005(0x223)],_0x5cac49[_0x366005(0x210)]=_0x366005(0x226)+_0x38e5cd[_0x366005(0x22e)]+'⁠',_0x5cac49[_0x366005(0x24f)](_0x366005(0x253),()=>{const _0x3e3132=_0x366005;_0x5cac49[_0x3e3132(0x243)][_0x3e3132(0x204)](_0x3e3132(0x251));}),_0x5cac49[_0x366005(0x24f)](_0x366005(0x26b),()=>{const _0x5ec333=_0x366005;_0x5cac49[_0x5ec333(0x243)][_0x5ec333(0x26e)](_0x5ec333(0x251));}),_0x5cac49;},_0x2df39c[_0x43e3f7(0x24b)]=function(_0x349e46){const _0xa932b1=_0x43e3f7;return!(!this[_0xa932b1(0x21a)](_0xa932b1(0x24a))||!_0x349e46[_0xa932b1(0x21a)](_0xa932b1(0x24a))||this[_0xa932b1(0x248)](_0xa932b1(0x1f7))!=_0x349e46[_0xa932b1(0x248)](_0xa932b1(0x1f7)));},_0x2df39c;}(_0x5c9891,_0x3f0866,_0x57a474);}(_0x552595,_0x282be6,_0x176fdb,_0x368b20)}),_0x368b20[_0x13dd7f(0x22a)][_0x13dd7f(0x231)](_0x13dd7f(0x212))[_0x13dd7f(0x1fd)]({'model':_0x13dd7f(0x266),'view':_0x3f11ee=>function(_0x2a91e0,_0x412c69){const _0x516e99=_0x13dd7f,_0x403cdb=_0x2a91e0[_0x516e99(0x21b)][_0x516e99(0x26d)](':')[0x2];if(_0x403cdb===_0x412c69[_0x516e99(0x257)])return null;const _0x1d024d=_0x412c69[_0x516e99(0x208)](_0x403cdb);if(!_0x1d024d)return{'id':_0x403cdb,'classes':[]};return{'id':_0x403cdb,'classes':[_0x516e99(0x23e),_0x1d024d[_0x516e99(0x20c)][_0x516e99(0x1ed)]()],'attributes':{'data-session-id':_0x403cdb},'priority':0x7d0+_0x1d024d[_0x516e99(0x23c)]};}(_0x3f11ee,_0x176fdb)}),function(_0x5a39b3){const _0x5dc7a8=_0x13dd7f,_0xf58214=_0x5a39b3[_0x5dc7a8(0x258)],_0x1724f9=new Map(),_0x5cb2f7=_0x5a39b3[_0x5dc7a8(0x234)][_0x5dc7a8(0x237)](_0xdac61f);_0xf58214[_0x5dc7a8(0x1fe)]['on'](_0x5dc7a8(0x260),(_0x420104,_0x8f1c5a,_0x18bef2,_0x293d0f)=>{const _0x268134=_0x5dc7a8;if(!_0x293d0f&&_0x1724f9[_0x268134(0x237)](_0x8f1c5a[_0x268134(0x223)]))return _0x1724f9[_0x268134(0x237)](_0x8f1c5a[_0x268134(0x223)])[_0x268134(0x250)](),void _0x1724f9[_0x268134(0x1f6)](_0x8f1c5a[_0x268134(0x223)]);const _0x2691f0=_0x8f1c5a[_0x268134(0x223)][_0x268134(0x26d)](':')[0x2];if(_0x2691f0===_0x5cb2f7[_0x268134(0x257)])return;const _0x4fd487=_0x268134(0x268)+_0x2691f0;_0xf58214[_0x268134(0x1fe)][_0x268134(0x246)](_0x4fd487)&&_0x5a39b3[_0x268134(0x275)][_0x268134(0x216)](_0x4fd487),_0x8f1c5a['on'](_0x268134(0x247),(_0x7d60fa,_0xc209ac,_0x4659f6)=>{const _0x372a94=_0x268134;if(_0x372a94(0x225)!=_0xc209ac[_0x372a94(0x252)][_0x372a94(0x25c)]&&_0x372a94(0x225)==_0x8f1c5a[_0x372a94(0x259)]()[_0x372a94(0x252)][_0x372a94(0x25c)]&&!_0x1724f9[_0x372a94(0x246)](_0x8f1c5a[_0x372a94(0x223)])){const _0x59caa7=_0xf58214[_0x372a94(0x1f9)][_0x372a94(0x227)](_0x4659f6[_0x372a94(0x213)]);if(_0x59caa7){const _0x34385d=_0x45073f[_0x372a94(0x205)](_0x59caa7);_0x1724f9[_0x372a94(0x1f0)](_0x8f1c5a[_0x372a94(0x223)],_0x34385d),_0x34385d['on'](_0x372a94(0x247),(_0x2b7957,_0xd75904,_0x22068a)=>{const _0x410c08=_0x372a94;if(_0x410c08(0x225)==_0x34385d[_0x410c08(0x252)][_0x410c08(0x25c)]){const _0x521327=_0xf58214[_0x410c08(0x1f9)][_0x410c08(0x227)](_0x22068a[_0x410c08(0x213)]);_0x521327?(_0x34385d[_0x410c08(0x262)]=_0x521327[_0x410c08(0x262)],_0x34385d[_0x410c08(0x1ff)]=_0x521327[_0x410c08(0x1ff)]):(_0x1724f9[_0x410c08(0x1f6)](_0x8f1c5a[_0x410c08(0x223)]),_0x34385d[_0x410c08(0x250)]());}});}}});}),_0xf58214[_0x5dc7a8(0x274)]['on'](_0x5dc7a8(0x1f8),()=>{const _0x1ce641=_0x5dc7a8;_0x1724f9[_0x1ce641(0x1f2)]>0x0&&_0xf58214[_0x1ce641(0x1ec)]({'isUndoable':!0x1},_0x15fa54=>{const _0x534385=_0x1ce641;for(const [_0x4c5fc5,_0x412362]of _0x1724f9)_0x534385(0x225)==_0xf58214[_0x534385(0x1fe)][_0x534385(0x237)](_0x4c5fc5)[_0x534385(0x259)]()[_0x534385(0x252)][_0x534385(0x25c)]&&(J(_0x4c5fc5[_0x534385(0x26d)](':')[0x2],_0x412362[_0x534385(0x207)](),_0xf58214,_0x15fa54),_0x412362[_0x534385(0x250)]());_0x1724f9[_0x534385(0x241)]();});});}(_0x368b20),this[_0x13dd7f(0x206)][_0x13dd7f(0x217)](_0x5839ed[_0x13dd7f(0x274)],_0x13dd7f(0x245),(_0x2a21c2,{key:_0x21ffb6})=>{const _0x561513=_0x13dd7f;_0x561513(0x229)===_0x21ffb6&&function(_0x4b52ea){const _0x49d296=_0x561513;_0x4b52ea[_0x49d296(0x275)][_0x49d296(0x23a)][_0x49d296(0x1f8)](_0x525788=>{const _0x229ec0=_0x49d296;for(const _0x3a5dde of _0x4b52ea[_0x229ec0(0x258)][_0x229ec0(0x1fe)]){if(!_0x3a5dde[_0x229ec0(0x223)][_0x229ec0(0x21d)](_0x229ec0(0x21c)))continue;const _0x3c57d1=_0x4b52ea[_0x229ec0(0x275)][_0x229ec0(0x277)][_0x229ec0(0x26a)](_0x3a5dde[_0x229ec0(0x223)]);if(_0x3c57d1){for(const _0x40e70f of _0x3c57d1)_0x525788[_0x229ec0(0x233)](_0x229ec0(0x251),_0x40e70f);}}});}(_0x368b20);},{'useCapture':!0x0});}[_0x4dfb00(0x222)](){const _0x11fd0a=_0x4dfb00,_0x3ac310=this[_0x11fd0a(0x200)],_0x52594b=_0x3ac310[_0x11fd0a(0x202)][_0x11fd0a(0x237)](_0x11fd0a(0x21e));_0x52594b&&_0x3ac310[_0x11fd0a(0x258)]['on'](_0x11fd0a(0x249),(_0x2fc383,_0xf63631)=>{const _0x45e9ed=_0x11fd0a,_0x3d4920=_0xf63631[0x0];if(!_0x3d4920[_0x45e9ed(0x24d)])return;if(_0x45e9ed(0x20b)!=_0x3d4920[_0x45e9ed(0x230)]||!_0x3d4920[_0x45e9ed(0x223)][_0x45e9ed(0x21d)](_0x45e9ed(0x26f)))return;const _0x385c05=_0x3d4920[_0x45e9ed(0x271)];_0x52594b[_0x45e9ed(0x1fc)][_0x45e9ed(0x246)](_0x385c05)&&(_0x3d4920[_0x45e9ed(0x23d)]=_0x3d4920[_0x45e9ed(0x228)]?_0x3ac310[_0x45e9ed(0x258)][_0x45e9ed(0x215)](_0x3d4920[_0x45e9ed(0x228)][_0x45e9ed(0x262)],_0x3d4920[_0x45e9ed(0x228)][_0x45e9ed(0x1ff)]):null);},{'priority':_0x11fd0a(0x22f)});}[_0x4dfb00(0x220)](){const _0x22a651=_0x4dfb00;return this[_0x22a651(0x206)][_0x22a651(0x272)](),super[_0x22a651(0x220)]();}[_0x4dfb00(0x20d)](){const _0x15732e=_0x4dfb00,_0x2d114b=this[_0x15732e(0x200)],_0x502640=_0x2d114b[_0x15732e(0x258)][_0x15732e(0x274)],_0x519fce=_0x2d114b[_0x15732e(0x234)][_0x15732e(0x237)](_0xdac61f);_0x2d114b[_0x15732e(0x258)][_0x15732e(0x1ec)]({'isUndoable':!0x1},_0xab7d77=>{const _0xa6dea=_0x15732e,_0x3a7fcb=_0xa6dea(0x23b)+_0x519fce[_0xa6dea(0x257)],_0x4bb23a=_0xa6dea(0x268)+_0x519fce[_0xa6dea(0x257)],_0x3a6f4e=_0x2d114b[_0xa6dea(0x258)][_0xa6dea(0x1fe)][_0xa6dea(0x246)](_0x3a7fcb);_0x2d114b[_0xa6dea(0x275)][_0xa6dea(0x23a)][_0xa6dea(0x26c)]?J(_0x519fce[_0xa6dea(0x257)],_0x502640[_0xa6dea(0x22b)][_0xa6dea(0x22d)](),_0x2d114b[_0xa6dea(0x258)],_0xab7d77):_0x3a6f4e&&(_0xab7d77[_0xa6dea(0x232)](_0x3a7fcb),_0xab7d77[_0xa6dea(0x232)](_0x4bb23a));});}}function _0x513d(){const _0x4c9137=['user:position:','24724XVsFpd','markerNameToElements','mouseleave','hasDomSelection','split','remove','user:','updateMarker','batch','stopListening','isOfficialPlugin','document','editing','contenteditable','mapper','8053315TYiQKo','14177640luhcUx','enqueueChange','getSelectionClass','markerRange','isCollapsed','set','isLimit','size','createElement','getMarkerClass','isInline','delete','data-session-id','change','schema','setCustomProperty','parent','_createdBatches','markerToHighlight','markers','end','editor','span','commands','textContent','add','fromRange','_domEmitter','toRange','getUserBySessionId','getStart','getContainedElement','marker','color','createUserMarkerOperations','5450bRAbJR','18953KVKORD','innerHTML','pluginName','editingDowncast','deletionPosition','hasContent','createRange','reconvertMarker','listenTo','toDomElement','getPositions','getCustomProperty','markerName','user:position','startsWith','undo','markerToElement','destroy','element','afterInit','name','false','$graveyard','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getNearestSelectionRange','oldRange','Escape','conversion','selection','8cbgxUG','getFirstRange','outerHTML','highest','type','for','removeMarker','removeClass','plugins','427uxCCLr','addMarker','get','26mFLFcq','setAttribute','view','user:range:','orderNumber','newRange','ck-user__selection','isObject','ck-user__marker-tooltip','clear','ck-user__marker\x20','classList','render','keydown','has','change:range','getAttribute','applyOperation','userPositionMarker','isSimilar','requires','isDocumentOperation','init','addEventListener','detach','ck-user__marker_hovered','root','mouseenter','tableCell','315mlUogs','checkChild','mySessionId','model','getRange','6ghYcVa','$text','rootName','isPremiumPlugin','createUIElement','218584JXKkSo','update:user:range','UserMarkers','start','13394358iRfoPx','spellcheck','37021oppkUs','user:range','nodeAfter'];_0x513d=function(){return _0x4c9137;};return _0x513d();}function J(_0x4a9db9,_0x3507b8,_0x550974,_0xa9cda9){const _0x3a7df9=_0x4dfb00,_0x41c35c=_0x3a7df9(0x23b)+_0x4a9db9,_0x535d73=_0x3a7df9(0x268)+_0x4a9db9,_0x342f36=_0x3507b8[_0x3a7df9(0x20a)]();let _0xb69df=_0x3507b8[_0x3a7df9(0x262)];if(_0x342f36&&_0x342f36['is'](_0x3a7df9(0x221),_0x3a7df9(0x254))){const _0xa2c393=function(_0x3edeae,_0x1b66dc){const _0x170652=_0x3a7df9;for(const _0x6f2f22 of _0x3edeae[_0x170652(0x219)]())if(_0x1b66dc[_0x170652(0x1f9)][_0x170652(0x256)](_0x6f2f22,_0x170652(0x25b)))return _0x6f2f22;}(_0x3507b8,_0x550974);_0xa2c393&&(_0xb69df=_0xa2c393,_0x3507b8=_0xa9cda9[_0x3a7df9(0x215)](_0xb69df));}const _0xfac617=_0xa9cda9[_0x3a7df9(0x215)](_0xb69df);_0x550974[_0x3a7df9(0x1fe)][_0x3a7df9(0x246)](_0x41c35c)?(_0xa9cda9[_0x3a7df9(0x270)](_0x41c35c,{'range':_0x3507b8}),_0xa9cda9[_0x3a7df9(0x270)](_0x535d73,{'range':_0xfac617})):(_0xa9cda9[_0x3a7df9(0x236)](_0x41c35c,{'range':_0x3507b8,'usingOperation':!0x0}),_0xa9cda9[_0x3a7df9(0x236)](_0x535d73,{'range':_0xfac617,'usingOperation':!0x0}));}
23
+ const _0x1ed243=_0x2c03;(function(_0x2cad80,_0x50e415){const _0x4401a7=_0x2c03,_0x38e076=_0x2cad80();while(!![]){try{const _0x2d1a90=parseInt(_0x4401a7(0x1c3))/0x1*(-parseInt(_0x4401a7(0x1d6))/0x2)+parseInt(_0x4401a7(0x1ee))/0x3*(-parseInt(_0x4401a7(0x1dc))/0x4)+-parseInt(_0x4401a7(0x221))/0x5*(-parseInt(_0x4401a7(0x1c9))/0x6)+-parseInt(_0x4401a7(0x1af))/0x7*(-parseInt(_0x4401a7(0x20f))/0x8)+parseInt(_0x4401a7(0x1ac))/0x9+-parseInt(_0x4401a7(0x1f0))/0xa+parseInt(_0x4401a7(0x200))/0xb;if(_0x2d1a90===_0x50e415)break;else _0x38e076['push'](_0x38e076['shift']());}catch(_0x382478){_0x38e076['push'](_0x38e076['shift']());}}}(_0x2779,0x6aeb3));import{Plugin as _0x514fab}from'ckeditor5/src/core.js';import{global as _0x2394ad,DomEmitterMixin as _0x13b138}from'ckeditor5/src/utils.js';import{Sessions as _0x355080}from'./sessions.js';import{ModelLiveRange as _0x1d38cf}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x2c03(_0x307ff3,_0x3df7c1){const _0x277938=_0x2779();return _0x2c03=function(_0x2c03f1,_0x325874){_0x2c03f1=_0x2c03f1-0x1ab;let _0x5b8dbd=_0x277938[_0x2c03f1];return _0x5b8dbd;},_0x2c03(_0x307ff3,_0x3df7c1);}export class UserMarkers extends _0x514fab{[_0x1ed243(0x232)]=new(_0x13b138())();static get[_0x1ed243(0x233)](){return[_0x355080];}static get[_0x1ed243(0x1ad)](){const _0x573f66=_0x1ed243;return _0x573f66(0x21f);}static get[_0x1ed243(0x224)](){return!0x0;}static get[_0x1ed243(0x22d)](){return!0x0;}[_0x1ed243(0x202)](){const _0x149fc9=_0x1ed243,_0x3fe26a=this[_0x149fc9(0x208)],_0x48b7d6=_0x3fe26a[_0x149fc9(0x1e1)][_0x149fc9(0x1b2)](_0x355080);_0x3fe26a[_0x149fc9(0x214)][_0x149fc9(0x1de)](_0x149fc9(0x22a))[_0x149fc9(0x1db)]({'model':_0x149fc9(0x1b4),'view':(_0x186d99,{writer:_0x10d843})=>function(_0x47a9f0,_0x3d39b,_0x2c32ef,_0x2acd5e){const _0xcacda0=_0x149fc9,_0x4695d1=_0x47a9f0[_0xcacda0(0x1ce)][_0xcacda0(0x20b)](':')[0x2],_0x105af4=_0x2c32ef[_0xcacda0(0x21c)](_0x4695d1);if(!_0x105af4||_0x4695d1===_0x2c32ef[_0xcacda0(0x1cf)])return;if(!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)][_0xcacda0(0x235)](_0x47a9f0[_0xcacda0(0x1d9)][_0xcacda0(0x1c4)],_0xcacda0(0x210)))return;const _0x38c651={'class':_0xcacda0(0x206)+_0x105af4[_0xcacda0(0x215)][_0xcacda0(0x22b)](),'data-name':_0x105af4[_0xcacda0(0x1eb)],'data-session-id':_0x4695d1},_0x2e4af5=_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1dd)][_0xcacda0(0x1b2)](_0x47a9f0[_0xcacda0(0x1ce)]),_0x5db449=_0x2e4af5[_0xcacda0(0x226)](),_0x59db8a=_0x5db449[_0xcacda0(0x212)],_0xbd208f=_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)];if(_0x59db8a&&_0xbd208f[_0xcacda0(0x1b9)](_0x59db8a)&&_0xbd208f[_0xcacda0(0x1c2)](_0x59db8a)&&!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1dd)][_0xcacda0(0x1b2)](_0xcacda0(0x21e)+_0x4695d1)[_0xcacda0(0x211)]()[_0xcacda0(0x229)])return;const _0x8ff5d0=_0x5db449[_0xcacda0(0x22c)];return _0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)][_0xcacda0(0x22f)](_0x8ff5d0)&&!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1c8)](_0x8ff5d0)&&(_0x38c651[_0xcacda0(0x1fd)]=!0x1),function(_0x4aeb6f,_0xfa337f,_0x3c6bb6){const _0x4832ca=_0xcacda0,_0x5009f4=_0x4aeb6f[_0x4832ca(0x1f2)](_0x4832ca(0x1d7),_0xfa337f);return _0x4aeb6f[_0x4832ca(0x1b3)](_0x4832ca(0x227),!0x0,_0x5009f4),_0x5009f4[_0x4832ca(0x236)]=function(_0x510dda){const _0x256340=_0x4832ca,_0x4476b2=this[_0x256340(0x1bd)](_0x510dda),_0x2de5f6=document[_0x256340(0x1b7)](_0x256340(0x1d7));return _0x2de5f6[_0x256340(0x217)][_0x256340(0x219)](_0x256340(0x1c5)),_0x2de5f6[_0x256340(0x218)](_0x256340(0x1fd),_0x256340(0x1b8)),_0x2de5f6[_0x256340(0x218)](_0x256340(0x1b5),_0x256340(0x1b8)),_0x2de5f6[_0x256340(0x1f1)]=_0x3c6bb6[_0x256340(0x1eb)],_0x4476b2[_0x256340(0x1c0)]=_0x256340(0x1ca)+_0x2de5f6[_0x256340(0x1f9)]+'⁠',_0x4476b2[_0x256340(0x201)](_0x256340(0x1cb),()=>{const _0x275066=_0x256340;_0x4476b2[_0x275066(0x217)][_0x275066(0x219)](_0x275066(0x1ba));}),_0x4476b2[_0x256340(0x201)](_0x256340(0x20d),()=>{const _0xdff1a5=_0x256340;_0x4476b2[_0xdff1a5(0x217)][_0xdff1a5(0x1e3)](_0xdff1a5(0x1ba));}),_0x4476b2;},_0x5009f4[_0x4832ca(0x213)]=function(_0x2aa208){const _0x2ba065=_0x4832ca;return!(!this[_0x2ba065(0x1d2)](_0x2ba065(0x227))||!_0x2aa208[_0x2ba065(0x1d2)](_0x2ba065(0x227))||this[_0x2ba065(0x1e0)](_0x2ba065(0x1d0))!=_0x2aa208[_0x2ba065(0x1e0)](_0x2ba065(0x1d0)));},_0x5009f4;}(_0x3d39b,_0x38c651,_0x105af4);}(_0x186d99,_0x10d843,_0x48b7d6,_0x3fe26a)}),_0x3fe26a[_0x149fc9(0x214)][_0x149fc9(0x1de)](_0x149fc9(0x22a))[_0x149fc9(0x234)]({'model':_0x149fc9(0x231),'view':_0x3b33cc=>function(_0x16598b,_0x17fbf0){const _0x59b2f2=_0x149fc9,_0x17ff99=_0x16598b[_0x59b2f2(0x1ce)][_0x59b2f2(0x20b)](':')[0x2];if(_0x17ff99===_0x17fbf0[_0x59b2f2(0x1cf)])return null;const _0x241374=_0x17fbf0[_0x59b2f2(0x21c)](_0x17ff99);if(!_0x241374)return{'id':_0x17ff99,'classes':[]};return{'id':_0x17ff99,'classes':[_0x59b2f2(0x1d3),_0x241374[_0x59b2f2(0x215)][_0x59b2f2(0x21a)]()],'attributes':{'data-session-id':_0x17ff99},'priority':0x7d0+_0x241374[_0x59b2f2(0x21b)]};}(_0x3b33cc,_0x48b7d6)}),function(_0x50ff50){const _0x43ed76=_0x149fc9,_0x588244=_0x50ff50[_0x43ed76(0x1f6)],_0x59a59e=new Map(),_0x58857c=_0x50ff50[_0x43ed76(0x1e1)][_0x43ed76(0x1b2)](_0x355080);_0x588244[_0x43ed76(0x1dd)]['on'](_0x43ed76(0x20c),(_0x7d74a1,_0x53819d,_0xc190aa,_0x243d51)=>{const _0x38eda9=_0x43ed76;if(!_0x243d51&&_0x59a59e[_0x38eda9(0x1b2)](_0x53819d[_0x38eda9(0x1eb)]))return _0x59a59e[_0x38eda9(0x1b2)](_0x53819d[_0x38eda9(0x1eb)])[_0x38eda9(0x1da)](),void _0x59a59e[_0x38eda9(0x216)](_0x53819d[_0x38eda9(0x1eb)]);const _0x3b2ace=_0x53819d[_0x38eda9(0x1eb)][_0x38eda9(0x20b)](':')[0x2];if(_0x3b2ace===_0x58857c[_0x38eda9(0x1cf)])return;const _0x4e98a4=_0x38eda9(0x1e6)+_0x3b2ace;_0x588244[_0x38eda9(0x1dd)][_0x38eda9(0x1b0)](_0x4e98a4)&&_0x50ff50[_0x38eda9(0x1fa)][_0x38eda9(0x223)](_0x4e98a4),_0x53819d['on'](_0x38eda9(0x1d8),(_0x4f100c,_0x3684b4,_0x2b44f8)=>{const _0x47ee09=_0x38eda9;if(_0x47ee09(0x1f5)!=_0x3684b4[_0x47ee09(0x1df)][_0x47ee09(0x1f7)]&&_0x47ee09(0x1f5)==_0x53819d[_0x47ee09(0x211)]()[_0x47ee09(0x1df)][_0x47ee09(0x1f7)]&&!_0x59a59e[_0x47ee09(0x1b0)](_0x53819d[_0x47ee09(0x1eb)])){const _0x33bb16=_0x588244[_0x47ee09(0x1cd)][_0x47ee09(0x1ec)](_0x2b44f8[_0x47ee09(0x207)]);if(_0x33bb16){const _0x2670ef=_0x1d38cf[_0x47ee09(0x1ed)](_0x33bb16);_0x59a59e[_0x47ee09(0x203)](_0x53819d[_0x47ee09(0x1eb)],_0x2670ef),_0x2670ef['on'](_0x47ee09(0x1d8),(_0x32be1c,_0x301985,_0x21b5c5)=>{const _0x26285b=_0x47ee09;if(_0x26285b(0x1f5)==_0x2670ef[_0x26285b(0x1df)][_0x26285b(0x1f7)]){const _0x1174c6=_0x588244[_0x26285b(0x1cd)][_0x26285b(0x1ec)](_0x21b5c5[_0x26285b(0x207)]);_0x1174c6?(_0x2670ef[_0x26285b(0x1c4)]=_0x1174c6[_0x26285b(0x1c4)],_0x2670ef[_0x26285b(0x1c1)]=_0x1174c6[_0x26285b(0x1c1)]):(_0x59a59e[_0x26285b(0x216)](_0x53819d[_0x26285b(0x1eb)]),_0x2670ef[_0x26285b(0x1da)]());}});}}});}),_0x588244[_0x43ed76(0x1d5)]['on'](_0x43ed76(0x1e9),()=>{const _0x138d92=_0x43ed76;_0x59a59e[_0x138d92(0x1fc)]>0x0&&_0x588244[_0x138d92(0x204)]({'isUndoable':!0x1},_0xbc04a3=>{const _0x31f12a=_0x138d92;for(const [_0x193480,_0x151a1f]of _0x59a59e)_0x31f12a(0x1f5)==_0x588244[_0x31f12a(0x1dd)][_0x31f12a(0x1b2)](_0x193480)[_0x31f12a(0x211)]()[_0x31f12a(0x1df)][_0x31f12a(0x1f7)]&&(Z(_0x193480[_0x31f12a(0x20b)](':')[0x2],_0x151a1f[_0x31f12a(0x1b6)](),_0x588244,_0xbc04a3),_0x151a1f[_0x31f12a(0x1da)]());_0x59a59e[_0x31f12a(0x1cc)]();});});}(_0x3fe26a),this[_0x149fc9(0x232)][_0x149fc9(0x20a)](_0x2394ad[_0x149fc9(0x1d5)],_0x149fc9(0x1bf),(_0x58c8ba,{key:_0x1036c8})=>{const _0x30e72d=_0x149fc9;_0x30e72d(0x1ef)===_0x1036c8&&function(_0x2c0936){const _0x47565d=_0x30e72d;_0x2c0936[_0x47565d(0x1fa)][_0x47565d(0x1be)][_0x47565d(0x1e9)](_0x3aa5d0=>{const _0x366d32=_0x47565d;for(const _0x40f995 of _0x2c0936[_0x366d32(0x1f6)][_0x366d32(0x1dd)]){if(!_0x40f995[_0x366d32(0x1eb)][_0x366d32(0x222)](_0x366d32(0x1b4)))continue;const _0x489497=_0x2c0936[_0x366d32(0x1fa)][_0x366d32(0x1ff)][_0x366d32(0x225)](_0x40f995[_0x366d32(0x1eb)]);if(_0x489497){for(const _0x24b721 of _0x489497)_0x3aa5d0[_0x366d32(0x1f8)](_0x366d32(0x1ba),_0x24b721);}}});}(_0x3fe26a);},{'useCapture':!0x0});}[_0x1ed243(0x1fb)](){const _0x5a0422=_0x1ed243,_0x546d32=this[_0x5a0422(0x208)],_0xcc6ce8=_0x546d32[_0x5a0422(0x1bc)][_0x5a0422(0x1b2)](_0x5a0422(0x1ea));_0xcc6ce8&&_0x546d32[_0x5a0422(0x1f6)]['on'](_0x5a0422(0x230),(_0x37621a,_0x2535f7)=>{const _0x5f4ea8=_0x5a0422,_0x1c28b5=_0x2535f7[0x0];if(!_0x1c28b5[_0x5f4ea8(0x1f4)])return;if(_0x5f4ea8(0x1c7)!=_0x1c28b5[_0x5f4ea8(0x1e2)]||!_0x1c28b5[_0x5f4ea8(0x1eb)][_0x5f4ea8(0x222)](_0x5f4ea8(0x1ae)))return;const _0x58cd92=_0x1c28b5[_0x5f4ea8(0x1f3)];_0xcc6ce8[_0x5f4ea8(0x1e5)][_0x5f4ea8(0x1b0)](_0x58cd92)&&(_0x1c28b5[_0x5f4ea8(0x21d)]=_0x1c28b5[_0x5f4ea8(0x205)]?_0x546d32[_0x5f4ea8(0x1f6)][_0x5f4ea8(0x22e)](_0x1c28b5[_0x5f4ea8(0x205)][_0x5f4ea8(0x1c4)],_0x1c28b5[_0x5f4ea8(0x205)][_0x5f4ea8(0x1c1)]):null);},{'priority':_0x5a0422(0x1d1)});}[_0x1ed243(0x1b1)](){const _0xd38ef2=_0x1ed243;return this[_0xd38ef2(0x232)][_0xd38ef2(0x1c6)](),super[_0xd38ef2(0x1b1)]();}[_0x1ed243(0x209)](){const _0x3ee005=_0x1ed243,_0x8cf360=this[_0x3ee005(0x208)],_0x2fc249=_0x8cf360[_0x3ee005(0x1f6)][_0x3ee005(0x1d5)],_0x1d666b=_0x8cf360[_0x3ee005(0x1e1)][_0x3ee005(0x1b2)](_0x355080);_0x8cf360[_0x3ee005(0x1f6)][_0x3ee005(0x204)]({'isUndoable':!0x1},_0x1f70f1=>{const _0x10f1fa=_0x3ee005,_0x3f5da4=_0x10f1fa(0x21e)+_0x1d666b[_0x10f1fa(0x1cf)],_0x4ba174=_0x10f1fa(0x1e6)+_0x1d666b[_0x10f1fa(0x1cf)],_0x34c2fc=_0x8cf360[_0x10f1fa(0x1f6)][_0x10f1fa(0x1dd)][_0x10f1fa(0x1b0)](_0x3f5da4);_0x8cf360[_0x10f1fa(0x1fa)][_0x10f1fa(0x1be)][_0x10f1fa(0x1fe)]?Z(_0x1d666b[_0x10f1fa(0x1cf)],_0x2fc249[_0x10f1fa(0x1d4)][_0x10f1fa(0x228)](),_0x8cf360[_0x10f1fa(0x1f6)],_0x1f70f1):_0x34c2fc&&(_0x1f70f1[_0x10f1fa(0x220)](_0x3f5da4),_0x1f70f1[_0x10f1fa(0x220)](_0x4ba174));});}}function _0x2779(){const _0x5dcc62=['innerHTML','end','isInline','1151NJgibp','start','ck-user__marker-tooltip','stopListening','marker','hasContent','7758bvVKfp','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mouseenter','clear','schema','markerName','mySessionId','data-session-id','highest','getCustomProperty','ck-user__selection','selection','document','458JyFmAt','span','change:range','markerRange','detach','markerToElement','364YmfeNT','markers','for','root','getAttribute','plugins','type','remove','getPositions','_createdBatches','user:position:','getContainedElement','updateMarker','change','undo','name','getNearestSelectionRange','fromRange','27543lGfmsc','Escape','7812600xehUBn','textContent','createUIElement','batch','isDocumentOperation','$graveyard','model','rootName','removeClass','outerHTML','editing','afterInit','size','contenteditable','hasDomSelection','mapper','11483021MIUngf','addEventListener','init','set','enqueueChange','oldRange','ck-user__marker\x20','deletionPosition','editor','createUserMarkerOperations','listenTo','split','update:user:range','mouseleave','addMarker','125368VignpV','$text','getRange','nodeAfter','isSimilar','conversion','color','delete','classList','setAttribute','add','getSelectionClass','orderNumber','getUserBySessionId','newRange','user:range:','UserMarkers','removeMarker','1875RSpxzZ','startsWith','reconvertMarker','isOfficialPlugin','markerNameToElements','getStart','userPositionMarker','getFirstRange','isCollapsed','editingDowncast','getMarkerClass','parent','isPremiumPlugin','createRange','isLimit','applyOperation','user:range','_domEmitter','requires','markerToHighlight','checkChild','render','element','4989582LiFaPk','pluginName','user:','105ODLIWm','has','destroy','get','setCustomProperty','user:position','spellcheck','toRange','createElement','false','isObject','ck-user__marker_hovered','tableCell','commands','toDomElement','view','keydown'];_0x2779=function(){return _0x5dcc62;};return _0x2779();}function Z(_0x32d80d,_0x3aaffe,_0x4e6b93,_0x495d6f){const _0x229f83=_0x1ed243,_0x5e5313=_0x229f83(0x21e)+_0x32d80d,_0xe38477=_0x229f83(0x1e6)+_0x32d80d,_0x7b750=_0x3aaffe[_0x229f83(0x1e7)]();let _0x139192=_0x3aaffe[_0x229f83(0x1c4)];if(_0x7b750&&_0x7b750['is'](_0x229f83(0x1ab),_0x229f83(0x1bb))){const _0x54eb17=function(_0x48898d,_0x440726){const _0x1620f4=_0x229f83;for(const _0x41aaa5 of _0x48898d[_0x1620f4(0x1e4)]())if(_0x440726[_0x1620f4(0x1cd)][_0x1620f4(0x235)](_0x41aaa5,_0x1620f4(0x210)))return _0x41aaa5;}(_0x3aaffe,_0x4e6b93);_0x54eb17&&(_0x139192=_0x54eb17,_0x3aaffe=_0x495d6f[_0x229f83(0x22e)](_0x139192));}const _0x337f9a=_0x495d6f[_0x229f83(0x22e)](_0x139192);_0x4e6b93[_0x229f83(0x1dd)][_0x229f83(0x1b0)](_0x5e5313)?(_0x495d6f[_0x229f83(0x1e8)](_0x5e5313,{'range':_0x3aaffe}),_0x495d6f[_0x229f83(0x1e8)](_0xe38477,{'range':_0x337f9a})):(_0x495d6f[_0x229f83(0x20e)](_0x5e5313,{'range':_0x3aaffe,'usingOperation':!0x0}),_0x495d6f[_0x229f83(0x20e)](_0xe38477,{'range':_0x337f9a,'usingOperation':!0x0}));}