@ckeditor/ckeditor5-real-time-collaboration 47.1.0 → 47.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x30d9(_0x4674d7,_0x3999af){const _0x26a6bf=_0x26a6();return _0x30d9=function(_0x30d92b,_0x2b17e6){_0x30d92b=_0x30d92b-0x1bb;let _0x35d613=_0x26a6bf[_0x30d92b];return _0x35d613;},_0x30d9(_0x4674d7,_0x3999af);}const _0x1bdd93=_0x30d9;(function(_0x59c830,_0x172eba){const _0x47fc07=_0x30d9,_0x170055=_0x59c830();while(!![]){try{const _0x1b8182=-parseInt(_0x47fc07(0x1c3))/0x1*(parseInt(_0x47fc07(0x1ca))/0x2)+-parseInt(_0x47fc07(0x1e1))/0x3+-parseInt(_0x47fc07(0x1be))/0x4*(parseInt(_0x47fc07(0x1ce))/0x5)+-parseInt(_0x47fc07(0x1df))/0x6+parseInt(_0x47fc07(0x1d8))/0x7+parseInt(_0x47fc07(0x1c0))/0x8*(-parseInt(_0x47fc07(0x1c2))/0x9)+parseInt(_0x47fc07(0x1c4))/0xa;if(_0x1b8182===_0x172eba)break;else _0x170055['push'](_0x170055['shift']());}catch(_0x4f309e){_0x170055['push'](_0x170055['shift']());}}}(_0x26a6,0xe5002));import{View as _0x85c164}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x52f299}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a071f}from'../../common-translations.js';function _0x26a6(){const _0x4b4337=['element','1843016DtQAGg','items','isExpanded','list','presencelist:hide','removeAttribute','set','10993788AVQwza','focus','5271807aHLOYq','hasPopup','bindTemplate','listenTo','20dmAFtx','createCollection','256PSLmmo','ck-presence-list__list','138789HBCZID','11mXWUmk','67349330yntpbm','keystrokes','contains','.ck-presence-list__dropdown-list','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','264362YarpWb','change:hasPopup','querySelector','.ck-balloon-panel_with-arrow','523205ldfnkX','div','setTemplate','Connected\x20users\x20list','aria-expanded','relatedTarget','render','setAttribute','presencelist:show'];_0x26a6=function(){return _0x4b4337;};return _0x26a6();}export class PresenceInlineListView extends _0x85c164{[_0x1bdd93(0x1d9)];[_0x1bdd93(0x1c5)];constructor(_0x273c6c){const _0x50160f=_0x1bdd93;super(_0x273c6c);const _0x1960e7=this[_0x50160f(0x1bc)];this[_0x50160f(0x1d9)]=this[_0x50160f(0x1bf)](),this[_0x50160f(0x1c5)]=new _0x52f299(),this[_0x50160f(0x1de)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x50160f(0x1d0)]({'tag':_0x50160f(0x1cf),'attributes':{'aria-haspopup':_0x1960e7['if'](_0x50160f(0x1bb)),'aria-expanded':_0x1960e7['to'](_0x50160f(0x1da),_0x2f569e=>this[_0x50160f(0x1bb)]&&String(_0x2f569e)),'aria-label':_0x1960e7['to'](_0x50160f(0x1bb),_0x20ab42=>_0x5a071f(_0x273c6c,_0x20ab42?_0x50160f(0x1c9):_0x50160f(0x1d1))),'role':_0x50160f(0x1db),'tabindex':_0x1960e7['to'](_0x50160f(0x1bb),_0x54dd85=>!!_0x54dd85&&0x0),'class':['ck',_0x50160f(0x1c1)]},'children':this[_0x50160f(0x1d9)],'on':{'mouseenter':_0x1960e7['to'](()=>this[_0x50160f(0x1c8)](_0x50160f(0x1d6))),'mouseleave':_0x1960e7['to'](_0x551a3c=>{const _0x3a12c0=_0x50160f,_0x43b2b0=_0x551a3c,_0xa087d6=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1c7)),_0x34445e=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1cd));_0xa087d6?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||_0x34445e?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||this[_0x3a12c0(0x1c8)](_0x3a12c0(0x1dc));})}}),this['on'](_0x50160f(0x1cb),(_0x155d94,_0x7784d6,_0x3e5fc1)=>{const _0xfe19a2=_0x50160f;this[_0xfe19a2(0x1d7)]&&(_0x3e5fc1?this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1d5)](_0xfe19a2(0x1d2),String(this[_0xfe19a2(0x1da)])):this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1dd)](_0xfe19a2(0x1d2)));});}[_0x1bdd93(0x1e0)](){const _0x3147ff=_0x1bdd93;this[_0x3147ff(0x1d7)][_0x3147ff(0x1e0)]();}[_0x1bdd93(0x1d4)](){const _0x5d0688=_0x1bdd93;super[_0x5d0688(0x1d4)](),this[_0x5d0688(0x1c5)][_0x5d0688(0x1bd)](this[_0x5d0688(0x1d7)]);}}
23
+ const _0x16c8f8=_0xd9e5;function _0xd9e5(_0x18cdb7,_0x298bfd){const _0x3df1a4=_0x3df1();return _0xd9e5=function(_0xd9e5e5,_0x1e4bc8){_0xd9e5e5=_0xd9e5e5-0x82;let _0x537244=_0x3df1a4[_0xd9e5e5];return _0x537244;},_0xd9e5(_0x18cdb7,_0x298bfd);}(function(_0x1b1b43,_0x5ed241){const _0x5b3396=_0xd9e5,_0x1c4d8e=_0x1b1b43();while(!![]){try{const _0x5675f5=-parseInt(_0x5b3396(0x97))/0x1*(-parseInt(_0x5b3396(0x98))/0x2)+-parseInt(_0x5b3396(0x8d))/0x3+parseInt(_0x5b3396(0x83))/0x4+parseInt(_0x5b3396(0x99))/0x5+parseInt(_0x5b3396(0x90))/0x6*(parseInt(_0x5b3396(0x9b))/0x7)+parseInt(_0x5b3396(0x82))/0x8+parseInt(_0x5b3396(0xa6))/0x9*(-parseInt(_0x5b3396(0x8b))/0xa);if(_0x5675f5===_0x5ed241)break;else _0x1c4d8e['push'](_0x1c4d8e['shift']());}catch(_0x1ab33d){_0x1c4d8e['push'](_0x1c4d8e['shift']());}}}(_0x3df1,0xf34c7));import{View as _0x4052ab}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2a4932}from'ckeditor5/src/utils.js';import{getTranslation as _0x1016d6}from'../../common-translations.js';function _0x3df1(){const _0x3ec1c0=['ck-presence-list__list','Connected\x20users\x20list','11636464rTjisC','6778112tlFimW','.ck-balloon-panel_with-arrow','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','contains','isExpanded','presencelist:show','520jdSjgq','aria-expanded','1031313ijYwVe','hasPopup','relatedTarget','6yfLqiT','setTemplate','fire','render','change:hasPopup','list','listenTo','1WnUsiw','195814znfJAw','2253960qxdJSE','.ck-presence-list__dropdown-list','5476079yRMzIu','set','querySelector','element','keystrokes','div','items','removeAttribute','presencelist:hide','focus','createCollection','543420WXUdwN'];_0x3df1=function(){return _0x3ec1c0;};return _0x3df1();}export class PresenceInlineListView extends _0x4052ab{[_0x16c8f8(0xa1)];[_0x16c8f8(0x9f)];constructor(_0x4c1425){const _0x343ab3=_0x16c8f8;super(_0x4c1425);const _0x41499f=this[_0x343ab3(0x87)];this[_0x343ab3(0xa1)]=this[_0x343ab3(0xa5)](),this[_0x343ab3(0x9f)]=new _0x2a4932(),this[_0x343ab3(0x9c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x343ab3(0x91)]({'tag':_0x343ab3(0xa0),'attributes':{'aria-haspopup':_0x41499f['if'](_0x343ab3(0x8e)),'aria-expanded':_0x41499f['to'](_0x343ab3(0x89),_0x5cc8a4=>this[_0x343ab3(0x8e)]&&String(_0x5cc8a4)),'aria-label':_0x41499f['to'](_0x343ab3(0x8e),_0x180ac1=>_0x1016d6(_0x4c1425,_0x180ac1?_0x343ab3(0x86):_0x343ab3(0xa8))),'role':_0x343ab3(0x95),'tabindex':_0x41499f['to'](_0x343ab3(0x8e),_0x343e38=>!!_0x343e38&&0x0),'class':['ck',_0x343ab3(0xa7)]},'children':this[_0x343ab3(0xa1)],'on':{'mouseenter':_0x41499f['to'](()=>this[_0x343ab3(0x92)](_0x343ab3(0x8a))),'mouseleave':_0x41499f['to'](_0xb4de24=>{const _0x3e9b58=_0x343ab3,_0x252f03=_0xb4de24,_0x35b61f=document[_0x3e9b58(0x9d)](_0x3e9b58(0x9a)),_0x12881e=document[_0x3e9b58(0x9d)](_0x3e9b58(0x84));_0x35b61f?.[_0x3e9b58(0x88)](_0x252f03[_0x3e9b58(0x8f)])||_0x12881e?.[_0x3e9b58(0x88)](_0x252f03[_0x3e9b58(0x8f)])||this[_0x3e9b58(0x92)](_0x3e9b58(0xa3));})}}),this['on'](_0x343ab3(0x94),(_0x26ce0f,_0x5e6a55,_0x3739f3)=>{const _0x52f177=_0x343ab3;this[_0x52f177(0x9e)]&&(_0x3739f3?this[_0x52f177(0x9e)][_0x52f177(0x85)](_0x52f177(0x8c),String(this[_0x52f177(0x89)])):this[_0x52f177(0x9e)][_0x52f177(0xa2)](_0x52f177(0x8c)));});}[_0x16c8f8(0xa4)](){const _0x1ac6de=_0x16c8f8;this[_0x1ac6de(0x9e)][_0x1ac6de(0xa4)]();}[_0x16c8f8(0x93)](){const _0x30545c=_0x16c8f8;super[_0x30545c(0x93)](),this[_0x30545c(0x9f)][_0x30545c(0x96)](this[_0x30545c(0x9e)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2622ea=_0x5593;(function(_0x12c6dc,_0x1ffda0){const _0x5b7746=_0x5593,_0x3567c4=_0x12c6dc();while(!![]){try{const _0x167c78=-parseInt(_0x5b7746(0x1b7))/0x1+parseInt(_0x5b7746(0x1a6))/0x2*(-parseInt(_0x5b7746(0x1aa))/0x3)+parseInt(_0x5b7746(0x1a4))/0x4*(parseInt(_0x5b7746(0x1ba))/0x5)+parseInt(_0x5b7746(0x1b1))/0x6*(parseInt(_0x5b7746(0x1b6))/0x7)+parseInt(_0x5b7746(0x1af))/0x8*(parseInt(_0x5b7746(0x1ac))/0x9)+-parseInt(_0x5b7746(0x1b4))/0xa*(-parseInt(_0x5b7746(0x1b0))/0xb)+-parseInt(_0x5b7746(0x1bf))/0xc;if(_0x167c78===_0x1ffda0)break;else _0x3567c4['push'](_0x3567c4['shift']());}catch(_0x393b57){_0x3567c4['push'](_0x3567c4['shift']());}}}(_0x27b9,0xd65f2));import{View as _0x198819}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5eb100}from'./presencecounterview.js';function _0x27b9(){const _0x21cdc0=['tooltipPosition','648549XZXdom','inlineListView','locale','136LKCyzc','3476EFLQbb','65298ZEFjwJ','bindTemplate','ck-reset','13650sqmHWi','div','1050NIWdCz','829908IRvwMr','counterView','ck-rounded-corners','7912085LINCPy','set','first','listenTo','bind','34589160nsWwhs','ck-presence-list--collapsed','hasPopup','ck-presence-list','4tvzQFW','setTemplate','8260PvBSFI','isCollapsed','items','change','204qXJrcr'];_0x27b9=function(){return _0x21cdc0;};return _0x27b9();}import{PresenceInlineListView as _0x27cac6}from'./presenceinlinelistview.js';function _0x5593(_0x3c11d0,_0x58ccc5){const _0x27b982=_0x27b9();return _0x5593=function(_0x559313,_0x434199){_0x559313=_0x559313-0x1a2;let _0x5db346=_0x27b982[_0x559313];return _0x5db346;},_0x5593(_0x3c11d0,_0x58ccc5);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x198819{[_0x2622ea(0x1b8)];[_0x2622ea(0x1ad)];constructor(_0x28581b,_0x5ca71b=0x6){const _0x139d8e=_0x2622ea;super(_0x28581b);const _0x32231b=this[_0x139d8e(0x1b2)];this[_0x139d8e(0x1bb)](_0x139d8e(0x1a7),!0x0),this[_0x139d8e(0x1b8)]=new _0x5eb100(this[_0x139d8e(0x1ae)],_0x5ca71b),this[_0x139d8e(0x1ad)]=new _0x27cac6(_0x28581b),this[_0x139d8e(0x1ad)][_0x139d8e(0x1be)](_0x139d8e(0x1a2))['to'](this,_0x139d8e(0x1a7)),this[_0x139d8e(0x1bd)](this[_0x139d8e(0x1ad)][_0x139d8e(0x1a8)],_0x139d8e(0x1a9),()=>{const _0x35b349=_0x139d8e;for(const _0x2638f3 of this[_0x35b349(0x1ad)][_0x35b349(0x1a8)])_0x2638f3[_0x35b349(0x1ab)]='s';this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)]&&(this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)][_0x35b349(0x1ab)]='se');}),this[_0x139d8e(0x1a5)]({'tag':_0x139d8e(0x1b5),'attributes':{'class':['ck',_0x139d8e(0x1a3),_0x139d8e(0x1b3),_0x139d8e(0x1b9),_0x32231b['if'](_0x139d8e(0x1a7),_0x139d8e(0x1c0))]},'children':[this[_0x139d8e(0x1ad)]]});}}
23
+ const _0x470de5=_0x55de;(function(_0x5bb62a,_0x11d1b1){const _0x2162f7=_0x55de,_0x599570=_0x5bb62a();while(!![]){try{const _0x368f59=parseInt(_0x2162f7(0x154))/0x1+parseInt(_0x2162f7(0x149))/0x2*(parseInt(_0x2162f7(0x146))/0x3)+parseInt(_0x2162f7(0x160))/0x4*(-parseInt(_0x2162f7(0x145))/0x5)+-parseInt(_0x2162f7(0x15a))/0x6+-parseInt(_0x2162f7(0x159))/0x7*(-parseInt(_0x2162f7(0x15e))/0x8)+-parseInt(_0x2162f7(0x147))/0x9*(parseInt(_0x2162f7(0x15c))/0xa)+-parseInt(_0x2162f7(0x157))/0xb*(-parseInt(_0x2162f7(0x156))/0xc);if(_0x368f59===_0x11d1b1)break;else _0x599570['push'](_0x599570['shift']());}catch(_0x8eab5d){_0x599570['push'](_0x599570['shift']());}}}(_0x1611,0x4e45d));import{View as _0x1fecfb}from'ckeditor5/src/ui.js';function _0x1611(){const _0x2c4b8f=['first','ck-presence-list--collapsed','444305bFHMGv','24558sLWNle','2263635GvirOF','counterView','14EtqPHj','change','inlineListView','tooltipPosition','ck-reset','locale','bindTemplate','setTemplate','bind','ck-presence-list','ck-rounded-corners','376268XymNIJ','div','95412NhxBJZ','506ldVsmi','set','348803xkscul','412188sOtkQJ','items','20jUZELi','listenTo','72XvyCyJ','hasPopup','16fXtDiS','isCollapsed'];_0x1611=function(){return _0x2c4b8f;};return _0x1611();}function _0x55de(_0x2f599b,_0x2c5f8e){const _0x161179=_0x1611();return _0x55de=function(_0x55de71,_0x5d141e){_0x55de71=_0x55de71-0x142;let _0x3715b5=_0x161179[_0x55de71];return _0x3715b5;},_0x55de(_0x2f599b,_0x2c5f8e);}import{PresenceCounterView as _0x3d081e}from'./presencecounterview.js';import{PresenceInlineListView as _0x289677}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1fecfb{[_0x470de5(0x148)];[_0x470de5(0x14b)];constructor(_0x4f4b2c,_0x5825d9=0x6){const _0x239c76=_0x470de5;super(_0x4f4b2c);const _0x2c2060=this[_0x239c76(0x14f)];this[_0x239c76(0x158)](_0x239c76(0x142),!0x0),this[_0x239c76(0x148)]=new _0x3d081e(this[_0x239c76(0x14e)],_0x5825d9),this[_0x239c76(0x14b)]=new _0x289677(_0x4f4b2c),this[_0x239c76(0x14b)][_0x239c76(0x151)](_0x239c76(0x15f))['to'](this,_0x239c76(0x142)),this[_0x239c76(0x15d)](this[_0x239c76(0x14b)][_0x239c76(0x15b)],_0x239c76(0x14a),()=>{const _0xe81c40=_0x239c76;for(const _0x34856c of this[_0xe81c40(0x14b)][_0xe81c40(0x15b)])_0x34856c[_0xe81c40(0x14c)]='s';this[_0xe81c40(0x14b)][_0xe81c40(0x15b)][_0xe81c40(0x143)]&&(this[_0xe81c40(0x14b)][_0xe81c40(0x15b)][_0xe81c40(0x143)][_0xe81c40(0x14c)]='se');}),this[_0x239c76(0x150)]({'tag':_0x239c76(0x155),'attributes':{'class':['ck',_0x239c76(0x152),_0x239c76(0x14d),_0x239c76(0x153),_0x2c2060['if'](_0x239c76(0x142),_0x239c76(0x144))]},'children':[this[_0x239c76(0x14b)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x422f92=_0x32ec;function _0x32ec(_0x1b6a09,_0x5dd8db){var _0x12106b=_0x1210();return _0x32ec=function(_0x32ec41,_0x5b1b6c){_0x32ec41=_0x32ec41-0xe3;var _0x2e91c3=_0x12106b[_0x32ec41];return _0x2e91c3;},_0x32ec(_0x1b6a09,_0x5dd8db);}(function(_0x2a8120,_0x12876d){var _0x24f4a8=_0x32ec,_0x14f1b4=_0x2a8120();while(!![]){try{var _0x4b5142=-parseInt(_0x24f4a8(0xee))/0x1+-parseInt(_0x24f4a8(0xec))/0x2+-parseInt(_0x24f4a8(0xe7))/0x3*(-parseInt(_0x24f4a8(0xed))/0x4)+parseInt(_0x24f4a8(0xf2))/0x5+parseInt(_0x24f4a8(0xe3))/0x6*(parseInt(_0x24f4a8(0xe5))/0x7)+parseInt(_0x24f4a8(0xf1))/0x8*(parseInt(_0x24f4a8(0xf0))/0x9)+-parseInt(_0x24f4a8(0xe4))/0xa*(parseInt(_0x24f4a8(0xe6))/0xb);if(_0x4b5142===_0x12876d)break;else _0x14f1b4['push'](_0x14f1b4['shift']());}catch(_0xf71150){_0x14f1b4['push'](_0x14f1b4['shift']());}}}(_0x1210,0x833f2));function _0x1210(){var _0x4697e5=['4900300RmECjQ','6VZgHkK','13364090ylzGhp','6499591oMIhjF','11FjWVaf','918462IMazmQ','PresenceList','pluginName','isOfficialPlugin','requires','1771836SBWCgI','8lhQIMI','783554dVBpGQ','isPremiumPlugin','35127QdNJHE','2096RQkvWN'];_0x1210=function(){return _0x4697e5;};return _0x1210();}import{ContextPlugin as _0x452439}from'ckeditor5/src/core.js';import{Sessions as _0x37af4d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1ddf68}from'./presencelist/presencelistui.js';export class PresenceList extends _0x452439{static get[_0x422f92(0xeb)](){return[_0x37af4d,_0x1ddf68];}static get[_0x422f92(0xe9)](){var _0x2492fd=_0x422f92;return _0x2492fd(0xe8);}static get[_0x422f92(0xea)](){return!0x0;}static get[_0x422f92(0xef)](){return!0x0;}}
23
+ var _0x34e31e=_0x1afb;function _0x4f00(){var _0x3c28ea=['8097910juMjwm','9909482nyZYKg','isPremiumPlugin','PresenceList','2621942UJXZBA','14TwFsRb','3RlVSkp','2313608sBAtlN','20MaBWWG','244435kOBJXR','12489255UhcMBa','isOfficialPlugin','971196tedgYo','6YsmbyG','pluginName','requires'];_0x4f00=function(){return _0x3c28ea;};return _0x4f00();}(function(_0x48b1eb,_0x450cac){var _0x2faa47=_0x1afb,_0x5b5515=_0x48b1eb();while(!![]){try{var _0x45b50b=-parseInt(_0x2faa47(0x1c2))/0x1+-parseInt(_0x2faa47(0x1bd))/0x2*(parseInt(_0x2faa47(0x1bf))/0x3)+-parseInt(_0x2faa47(0x1c5))/0x4+-parseInt(_0x2faa47(0x1c9))/0x5*(-parseInt(_0x2faa47(0x1c6))/0x6)+-parseInt(_0x2faa47(0x1be))/0x7*(-parseInt(_0x2faa47(0x1c0))/0x8)+-parseInt(_0x2faa47(0x1c3))/0x9+-parseInt(_0x2faa47(0x1c1))/0xa*(-parseInt(_0x2faa47(0x1ca))/0xb);if(_0x45b50b===_0x450cac)break;else _0x5b5515['push'](_0x5b5515['shift']());}catch(_0xe3f9aa){_0x5b5515['push'](_0x5b5515['shift']());}}}(_0x4f00,0xc6af0));import{ContextPlugin as _0xfee54f}from'ckeditor5/src/core.js';import{Sessions as _0x356c06}from'./realtimecollaborativeediting/sessions.js';function _0x1afb(_0x2e431e,_0x3d32ee){var _0x4f0055=_0x4f00();return _0x1afb=function(_0x1afb38,_0x4551a8){_0x1afb38=_0x1afb38-0x1bd;var _0x588445=_0x4f0055[_0x1afb38];return _0x588445;},_0x1afb(_0x2e431e,_0x3d32ee);}import{PresenceListUI as _0x24becc}from'./presencelist/presencelistui.js';export class PresenceList extends _0xfee54f{static get[_0x34e31e(0x1c8)](){return[_0x356c06,_0x24becc];}static get[_0x34e31e(0x1c7)](){var _0x3f3e0d=_0x34e31e;return _0x3f3e0d(0x1cc);}static get[_0x34e31e(0x1c4)](){return!0x0;}static get[_0x34e31e(0x1cb)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x410e11=_0x5e47;(function(_0x5068a5,_0x2f85b0){const _0x9aef24=_0x5e47,_0x276093=_0x5068a5();while(!![]){try{const _0x15bfa4=-parseInt(_0x9aef24(0xcf))/0x1*(-parseInt(_0x9aef24(0xd3))/0x2)+parseInt(_0x9aef24(0xbe))/0x3+-parseInt(_0x9aef24(0xf9))/0x4*(parseInt(_0x9aef24(0xb3))/0x5)+-parseInt(_0x9aef24(0x113))/0x6+-parseInt(_0x9aef24(0xcb))/0x7*(-parseInt(_0x9aef24(0xe5))/0x8)+-parseInt(_0x9aef24(0xf4))/0x9+parseInt(_0x9aef24(0xd2))/0xa;if(_0x15bfa4===_0x2f85b0)break;else _0x276093['push'](_0x276093['shift']());}catch(_0xf4142a){_0x276093['push'](_0x276093['shift']());}}}(_0x2867,0x73fe0));import{Context as _0x5a1bad,ContextPlugin as _0x42ae22}from'ckeditor5/src/core.js';import{CKEditorError as _0x593ee9}from'ckeditor5/src/utils.js';import{Users as _0x103349}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5d5c91,User as _0x58522e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x518c71}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5e47(_0x669e63,_0x418a40){const _0x286762=_0x2867();return _0x5e47=function(_0x5e47d9,_0x56f03e){_0x5e47d9=_0x5e47d9-0xb3;let _0x560962=_0x286762[_0x5e47d9];return _0x560962;},_0x5e47(_0x669e63,_0x418a40);}import{Sessions as _0x472212}from'../realtimecollaborativeediting/sessions.js';function _0x2867(){const _0x24be71=['message','isOfficialPlugin','updateCommentThread','set','CommentsService','catch','keys','requires','unregister','createdAt','getUser','addComment','cloudservicescommentsadapter-disconnect-not-exist','65880DoYKMa','getCommentThread','from','get','_connectService','4PBryHL','getConnectedSessions','commentId','_getService','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','connect','register','deletedAt','cloudservicescommentsadapter-service-not-exist','update','disconnect','context','startsWith','Permissions','listenTo','isPremiumPlugin','init','addCommentThread','destroy','commentRemoved','comments','getCommentThreads','permissions','setPermissions','pluginName','1720860ylCWFj','_fetchMissingUsersForThreads','assign','commentThreadUpdated','commentThreadId','add','1997955DRkMYz','reopenCommentThread','commentThreadRemoved','off','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','attributes','_services','plugins','resolvedAt','_setUpService','_terminateService','316290TwFBuF','resolvedBy','updateComment','404','reopen','collaboration.channelId','size','remove','CloudServicesCommentsAdapter','cloud-services-internal-error:\x20Request\x20timeout.','removeComment','reconnect','getMany','338905YfDWow','config','addToReconnectionStack','mySessionId','1roQinn','cloudservicescommentsadapter-connect-already-connected','commentThreadResolved','7888060oqyEay','65028qpVLVA','commentUpdated','userId','getComment','map','resolveCommentThread','sessionAdd:','delete','code','content','CommentsRepository','removeCommentThread','addUser','adapter','authorId','commentThreadAdded','commentThreadReopened','has','40QCUysn','resolve'];_0x2867=function(){return _0x24be71;};return _0x2867();}export class CloudServicesCommentsAdapter extends _0x42ae22{static [_0x410e11(0xeb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5d5c91)());[_0x410e11(0xb9)];static get[_0x410e11(0xee)](){const _0x504cac=_0x410e11;return[_0x518c71,_0x504cac(0xdd),_0x472212,_0x103349];}static get[_0x410e11(0x112)](){const _0x4fdefd=_0x410e11;return _0x4fdefd(0xc6);}static get[_0x410e11(0xe8)](){return!0x0;}static get[_0x410e11(0x109)](){return!0x0;}constructor(_0x14cdf5){const _0x526b7e=_0x410e11;super(_0x14cdf5),this[_0x526b7e(0xb9)]=new Map();}async[_0x410e11(0x10a)](){const _0x3cb19f=_0x410e11,_0x47c530=this[_0x3cb19f(0x105)],_0x5e6518=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x3cb19f(0xdd));if(_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x518c71)[_0x3cb19f(0xcd)](this),_0x5e6518[_0x3cb19f(0xe0)]={'addCommentThread':async({channelId:_0x4c2c37,threadId:_0xb35113,comments:_0xa79d4d,resolvedAt:_0x541a7b,resolvedBy:_0x1414d7,context:_0x3fd2b9,attributes:_0x241d1c})=>{const _0x5e3998=_0x3cb19f,_0x200a11=await this[_0x5e3998(0xfc)](_0x4c2c37)[_0x5e3998(0x10b)]({'commentThreadId':_0xb35113,'comments':_0xa79d4d[_0x5e3998(0xd7)](_0x335691=>function(_0x5d5cbd,_0x1cf711,_0x121df6){const _0x3ab536=_0x5e3998;return{'commentThreadId':_0x121df6,'commentId':_0x5d5cbd[_0x3ab536(0xfb)],'userId':_0x5d5cbd[_0x3ab536(0xe1)],'content':_0x5d5cbd[_0x3ab536(0xdc)],'documentId':_0x1cf711,'createdAt':_0x5d5cbd[_0x3ab536(0xf0)],'attributes':_0x5d5cbd[_0x3ab536(0xb8)]||{}};}(_0x335691,_0x4c2c37,_0xb35113)),'resolvedAt':_0x541a7b,'resolvedBy':_0x1414d7,'context':_0x3fd2b9,'attributes':_0x241d1c})[_0x5e3998(0xec)](A);return{'threadId':_0x200a11[_0x5e3998(0x117)],'comments':_0x200a11[_0x5e3998(0x10e)]};},'getCommentThread':async({channelId:_0x1d7863,threadId:_0x3b8dcb})=>{const _0x3c5108=_0x3cb19f,_0x5bb169=await this[_0x3c5108(0xfc)](_0x1d7863)[_0x3c5108(0xf5)](_0x3b8dcb)[_0x3c5108(0xec)](f)[_0x3c5108(0xec)](A);return _0x5bb169?_0x5bb169[_0x3c5108(0x101)]?null:(await this[_0x3c5108(0x114)]([_0x5bb169]),{'threadId':_0x5bb169[_0x3c5108(0x117)],'comments':_0x5bb169[_0x3c5108(0x10e)][_0x3c5108(0xd7)](p),'context':_0x5bb169[_0x3c5108(0x105)],'resolvedAt':_0x5bb169[_0x3c5108(0xbb)],'resolvedBy':_0x5bb169[_0x3c5108(0xbf)],'attributes':_0x5bb169[_0x3c5108(0xb8)]||{}}):null;},'updateCommentThread':async({channelId:_0x3bdcd2,threadId:_0x51ffa1,context:_0x582e40,unlinkedAt:_0x44ac56,attributes:_0x5b201d})=>this[_0x3cb19f(0xfc)](_0x3bdcd2)[_0x3cb19f(0xe9)]({'commentThreadId':_0x51ffa1,'context':_0x582e40,'attributes':_0x5b201d,'unlinkedAt':_0x44ac56})[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'resolveCommentThread':async({channelId:_0x39aad6,threadId:_0x27ec8b})=>{const _0xaabb46=_0x3cb19f,_0x389a60=await this[_0xaabb46(0xfc)](_0x39aad6)[_0xaabb46(0xd8)](_0x27ec8b)[_0xaabb46(0xec)](f)[_0xaabb46(0xec)](A);return{'threadId':_0x389a60[_0xaabb46(0x117)],'resolvedAt':_0x389a60[_0xaabb46(0xbb)],'resolvedBy':_0x389a60[_0xaabb46(0xbf)]};},'reopenCommentThread':async({channelId:_0x1c36b1,threadId:_0x2095aa})=>this[_0x3cb19f(0xfc)](_0x1c36b1)[_0x3cb19f(0xb4)](_0x2095aa)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeCommentThread':({channelId:_0x4449b1,threadId:_0x2c282c})=>this[_0x3cb19f(0xfc)](_0x4449b1)[_0x3cb19f(0xde)](_0x2c282c)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'addComment':({channelId:_0x588ba8,threadId:_0x59ff4f,commentId:_0x559fc0,content:_0xceb1a5,attributes:_0x23f152})=>this[_0x3cb19f(0xfc)](_0x588ba8)[_0x3cb19f(0xf2)](_0x59ff4f,_0x559fc0,_0xceb1a5,_0x23f152)[_0x3cb19f(0xec)](A),'updateComment':({channelId:_0x50ff51,threadId:_0x10a297,commentId:_0xcaf882,content:_0x15696b,attributes:_0x55fc55})=>this[_0x3cb19f(0xfc)](_0x50ff51)[_0x3cb19f(0xc0)](_0x10a297,_0xcaf882,_0x15696b,_0x55fc55)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeComment':({channelId:_0x53047f,threadId:_0xe8f1c7,commentId:_0x5bd4a4})=>this[_0x3cb19f(0xfc)](_0x53047f)[_0x3cb19f(0xc8)](_0xe8f1c7,_0x5bd4a4)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A)},_0x47c530 instanceof _0x5a1bad){const _0x414492=_0x47c530[_0x3cb19f(0xcc)][_0x3cb19f(0xf7)](_0x3cb19f(0xc3)),_0x30cadb=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x472212);await this[_0x3cb19f(0xbc)](_0x414492);const _0x2d47cc=await this[_0x3cb19f(0xb9)][_0x3cb19f(0xf7)](_0x414492)[_0x3cb19f(0xfa)]();this[_0x3cb19f(0x108)](_0x30cadb,_0x3cb19f(0xd9)+_0x414492,(_0x24118f,{session:_0x5c1ec4})=>{const _0x4e5c4f=_0x3cb19f;_0x5c1ec4['id']===_0x30cadb[_0x4e5c4f(0xce)]&&(_0x24118f[_0x4e5c4f(0xb6)](),this[_0x4e5c4f(0x105)][_0x4e5c4f(0xba)][_0x4e5c4f(0xf7)](_0x4e5c4f(0x107))[_0x4e5c4f(0x111)](_0x5c1ec4[_0x4e5c4f(0x110)],_0x414492));}),_0x30cadb[_0x3cb19f(0x100)](_0x414492,_0x2d47cc);}}async[_0x410e11(0xbc)](_0x41e8bd){const _0xe14d6e=_0x410e11;if(this[_0xe14d6e(0xb9)][_0xe14d6e(0xe4)](_0x41e8bd))throw new _0x593ee9(_0xe14d6e(0xd0),null,{'channelId':_0x41e8bd});const _0x386d0f=this[_0xe14d6e(0x105)][_0xe14d6e(0xba)][_0xe14d6e(0xf7)](_0xe14d6e(0xdd)),_0x20b759=new CloudServicesCommentsAdapter[(_0xe14d6e(0xeb))](_0x41e8bd);this[_0xe14d6e(0xb9)][_0xe14d6e(0xea)](_0x41e8bd,_0x20b759),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe2),(_0x4e1592,_0x5e5458)=>{const _0x39fb64=_0xe14d6e,{commentThreadId:_0x17c1e1,documentId:_0x5dc11c,context:_0x460be8,attributes:_0x45ed39,resolvedAt:_0x7ebf7b,resolvedBy:_0x571a9c,comments:_0x187dce}=_0x5e5458;_0x386d0f[_0x39fb64(0xf5)](_0x17c1e1)||_0x386d0f[_0x39fb64(0x10b)]({'threadId':_0x17c1e1,'channelId':_0x5dc11c,'comments':_0x187dce?_0x187dce[_0x39fb64(0xd7)](p):[],'context':_0x460be8,'attributes':_0x45ed39,'resolvedAt':_0x7ebf7b,'resolvedBy':_0x571a9c,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x116),(_0x2325e0,{commentThreadId:_0x55f1fa,documentId:_0x1ac745,context:_0x23fee9,unlinkedAt:_0x31277d,attributes:_0x3f4feb})=>{const _0x472480=_0xe14d6e;_0x386d0f[_0x472480(0xf5)](_0x55f1fa)&&_0x386d0f[_0x472480(0xe9)]({'threadId':_0x55f1fa,'channelId':_0x1ac745,'context':_0x23fee9,'unlinkedAt':_0x31277d,'attributes':_0x3f4feb,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd1),(_0x298862,{commentThreadId:_0x96e49e,resolvedBy:_0x1232fe,resolvedAt:_0x3ace43})=>{const _0x4d5f33=_0xe14d6e,_0x52d390=_0x386d0f[_0x4d5f33(0xf5)](_0x96e49e);_0x52d390&&_0x52d390[_0x4d5f33(0xe6)]({'resolvedBy':_0x1232fe,'resolvedAt':_0x3ace43,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe3),(_0x574a70,{commentThreadId:_0x1168ee})=>{const _0x15fab3=_0xe14d6e,_0x596271=_0x386d0f[_0x15fab3(0xf5)](_0x1168ee);_0x596271&&_0x596271[_0x15fab3(0xc2)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xb5),(_0x257cdf,{commentThreadId:_0x94a5f7})=>{const _0x511574=_0xe14d6e,_0x286586=_0x386d0f[_0x511574(0xf5)](_0x94a5f7);_0x286586&&_0x286586[_0x511574(0xc5)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xfd),(_0x1971cc,_0x112546)=>{const _0x52f0c3=_0xe14d6e,_0x127ab5=_0x112546[_0x52f0c3(0x117)],_0x41042b=_0x386d0f[_0x52f0c3(0xf5)](_0x127ab5);_0x41042b&&_0x41042b[_0x52f0c3(0xf2)]({...p(_0x112546),'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd4),(_0x5f4ba0,{commentThreadId:_0x3d672b,commentId:_0x72338f,content:_0x3bd850,attributes:_0x271d49})=>{const _0x1f5734=_0xe14d6e,_0x110e41=_0x386d0f[_0x1f5734(0xf5)](_0x3d672b);if(_0x110e41){const _0x19aff6=_0x110e41[_0x1f5734(0xd6)](_0x72338f);_0x19aff6&&_0x19aff6[_0x1f5734(0x103)]({'content':_0x3bd850,'attributes':_0x271d49,'isFromAdapter':!0x0});}}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x10d),(_0x2b7fe4,{commentThreadId:_0x15f529,commentId:_0x3ee7f4})=>{const _0x279742=_0xe14d6e,_0x9f2185=_0x386d0f[_0x279742(0xf5)](_0x15f529);if(_0x9f2185){const _0x47103c=_0x9f2185[_0x279742(0xd6)](_0x3ee7f4);_0x47103c&&_0x47103c[_0x279742(0xc5)]({'isFromAdapter':!0x0});}}),await this[_0xe14d6e(0xf8)](_0x41e8bd);}[_0x410e11(0x10c)](){const _0x101497=_0x410e11;if(this[_0x101497(0x105)]instanceof _0x5a1bad){const _0x36ea17=this[_0x101497(0x105)][_0x101497(0xcc)][_0x101497(0xf7)](_0x101497(0xc3));this[_0x101497(0xbd)](_0x36ea17);}}[_0x410e11(0xbd)](_0x27da35){const _0x19a4f9=_0x410e11;if(!this[_0x19a4f9(0xb9)][_0x19a4f9(0xe4)](_0x27da35))throw new _0x593ee9(_0x19a4f9(0xf3),null,{'channelId':_0x27da35});this[_0x19a4f9(0xfc)](_0x27da35)[_0x19a4f9(0x104)](),this[_0x19a4f9(0xb9)][_0x19a4f9(0xda)](_0x27da35);}async[_0x410e11(0xc9)](){const _0x51774b=_0x410e11;for(const _0x5db5eb of this[_0x51774b(0xb9)][_0x51774b(0xed)]())await this[_0x51774b(0xf8)](_0x5db5eb);if(this[_0x51774b(0x105)]instanceof _0x5a1bad){const _0x150d34=this[_0x51774b(0x105)][_0x51774b(0xcc)][_0x51774b(0xf7)](_0x51774b(0xc3)),_0x2dd4c5=this[_0x51774b(0x105)][_0x51774b(0xba)][_0x51774b(0xf7)](_0x472212);_0x2dd4c5[_0x51774b(0xef)](_0x150d34);const _0x142e30=await this[_0x51774b(0xb9)][_0x51774b(0xf7)](_0x150d34)[_0x51774b(0xfa)]();_0x2dd4c5[_0x51774b(0x100)](_0x150d34,_0x142e30);}}async[_0x410e11(0xf8)](_0x24932d){const _0x3d6705=_0x410e11,{connection:_0x38d8ef}=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x518c71),_0x57e838=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x3d6705(0xdd)),_0x186cc0=this[_0x3d6705(0xb9)][_0x3d6705(0xf7)](_0x24932d),_0x2fe296=await _0x186cc0[_0x3d6705(0xff)](_0x38d8ef);await this[_0x3d6705(0x114)](_0x2fe296);const _0x30ecf8=new Set(Array[_0x3d6705(0xf6)](_0x57e838[_0x3d6705(0x10f)]({'channelId':_0x24932d}),_0x163f71=>_0x163f71['id']));for(const _0x5690f9 of _0x2fe296)_0x5690f9[_0x3d6705(0x101)]||_0x30ecf8[_0x3d6705(0xda)](_0x5690f9[_0x3d6705(0x117)]);for(const _0x513eae of _0x30ecf8)_0x57e838[_0x3d6705(0xf5)](_0x513eae)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x4f6a6d of _0x2fe296){let _0x1c76d6=_0x57e838[_0x3d6705(0xf5)](_0x4f6a6d[_0x3d6705(0x117)]);const {commentThreadId:_0x5ee19e,context:_0x304c88,attributes:_0x27618b,resolvedBy:_0x288cad,resolvedAt:_0x1bf4f9,unlinkedAt:_0x621e64,deletedAt:_0x1a432c}=_0x4f6a6d;if(_0x1a432c)continue;_0x1c76d6||(_0x1c76d6=_0x57e838[_0x3d6705(0x10b)]({'channelId':_0x24932d,'threadId':_0x5ee19e,'context':_0x304c88,'attributes':_0x27618b||{},'resolvedBy':_0x288cad,'resolvedAt':_0x1bf4f9,'unlinkedAt':_0x621e64,'isFromAdapter':!0x0}));const _0x4037f9=new Set(Array[_0x3d6705(0xf6)](_0x1c76d6[_0x3d6705(0x10e)],_0xe63464=>_0xe63464['id']));for(const _0x56f068 of _0x4f6a6d[_0x3d6705(0x10e)])_0x4037f9[_0x3d6705(0xda)](_0x56f068[_0x3d6705(0xfb)]);for(const _0x3e9745 of _0x4037f9)_0x1c76d6[_0x3d6705(0xd6)](_0x3e9745)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x1aea02 of _0x4f6a6d[_0x3d6705(0x10e)]){const _0x1f9107=_0x1c76d6[_0x3d6705(0xd6)](_0x1aea02[_0x3d6705(0xfb)]);_0x1f9107?_0x1f9107[_0x3d6705(0xdc)]!==_0x1aea02[_0x3d6705(0xdc)]&&_0x1f9107[_0x3d6705(0x103)]({'content':_0x1aea02[_0x3d6705(0xdc)],'isFromAdapter':!0x0}):_0x1c76d6[_0x3d6705(0xf2)](Object[_0x3d6705(0x115)](p(_0x1aea02),{'isFromAdapter':!0x0}));}}}[_0x410e11(0xfc)](_0x2abbd3){const _0x3eb188=_0x410e11;if(!this[_0x3eb188(0xb9)][_0x3eb188(0xe4)](_0x2abbd3))throw new _0x593ee9(_0x3eb188(0x102),null,{'channelId':_0x2abbd3});return this[_0x3eb188(0xb9)][_0x3eb188(0xf7)](_0x2abbd3);}async[_0x410e11(0x114)](_0x3b9ed8){const _0x3b5c5a=_0x410e11,_0x5efe4d=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x103349),{connection:_0x1496ff}=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x518c71),_0x4c7053=new Set();for(const {resolvedBy:_0x2ab5a1,comments:_0x29d181}of _0x3b9ed8){_0x2ab5a1&&!_0x5efe4d[_0x3b5c5a(0xf1)](_0x2ab5a1)&&_0x4c7053[_0x3b5c5a(0x118)](_0x2ab5a1);for(const {userId:_0x4ebf60}of _0x29d181)_0x5efe4d[_0x3b5c5a(0xf1)](_0x4ebf60)||_0x4c7053[_0x3b5c5a(0x118)](_0x4ebf60);}if(0x0===_0x4c7053[_0x3b5c5a(0xc4)])return;const _0x1002bd=await _0x58522e[_0x3b5c5a(0xca)](_0x1496ff,Array[_0x3b5c5a(0xf6)](_0x4c7053));for(const _0x12587b of _0x1002bd)_0x5efe4d[_0x3b5c5a(0xf1)](_0x12587b['id'])||_0x5efe4d[_0x3b5c5a(0xdf)](_0x12587b);}}async function f(_0x3a72eb){const _0x49a87e=_0x410e11;if(_0x49a87e(0xc1)!==_0x3a72eb[_0x49a87e(0xdb)])throw _0x3a72eb;}function A(_0x841734){const _0x1d97f8=_0x410e11;if((_0x410f72=_0x841734)[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xb7))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xfe))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xc7)))return new Promise(()=>{});var _0x410f72;throw _0x841734;}function p(_0x4ed8a2){const _0x2a4829=_0x410e11;return{'threadId':_0x4ed8a2[_0x2a4829(0x117)],'commentId':_0x4ed8a2[_0x2a4829(0xfb)],'content':_0x4ed8a2[_0x2a4829(0xdc)],'createdAt':_0x4ed8a2[_0x2a4829(0xf0)],'authorId':_0x4ed8a2[_0x2a4829(0xd5)],'attributes':_0x4ed8a2[_0x2a4829(0xb8)]||{}};}
23
+ const _0x2ffc44=_0x4b3e;(function(_0x2dec7c,_0x6f51d1){const _0xc66f5e=_0x4b3e,_0x40107f=_0x2dec7c();while(!![]){try{const _0x74adc0=parseInt(_0xc66f5e(0x151))/0x1*(-parseInt(_0xc66f5e(0x14c))/0x2)+-parseInt(_0xc66f5e(0x16b))/0x3+parseInt(_0xc66f5e(0x144))/0x4*(-parseInt(_0xc66f5e(0x131))/0x5)+parseInt(_0xc66f5e(0x169))/0x6+-parseInt(_0xc66f5e(0x137))/0x7+-parseInt(_0xc66f5e(0x148))/0x8+parseInt(_0xc66f5e(0x127))/0x9*(parseInt(_0xc66f5e(0x13c))/0xa);if(_0x74adc0===_0x6f51d1)break;else _0x40107f['push'](_0x40107f['shift']());}catch(_0x2cc5cd){_0x40107f['push'](_0x40107f['shift']());}}}(_0x524f,0x8627d));function _0x524f(){const _0x3610e8=['220920cJGRsh','destroy','3242922BrbCRu','adapter','CloudServicesCommentsAdapter','commentRemoved','getCommentThread','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','CommentsService','_fetchMissingUsersForThreads','_connectService','init','comments','has','reconnect','commentThreadReopened','resolve','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getComment','commentThreadRemoved','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-service-not-exist','setPermissions','commentThreadResolved','permissions','plugins','update','context','Permissions','commentThreadUpdated','sessionAdd:','getUser','404','add','message','423gaAiGA','CommentsRepository','disconnect','removeCommentThread','reopen','collaboration.channelId','cloudservicescommentsadapter-disconnect-not-exist','content','get','catch','22275sMtZvT','keys','resolvedBy','_terminateService','isOfficialPlugin','getCommentThreads','7479262XvexEu','addUser','isPremiumPlugin','authorId','commentId','885340CmQbcJ','userId','assign','cloud-services-internal-error:\x20Request\x20timeout.','updateCommentThread','getConnectedSessions','addToReconnectionStack','register','612ktjZBb','delete','remove','mySessionId','622512AsvgkX','resolvedAt','off','_services','493032AAWAaT','pluginName','commentThreadId','addComment','code','3CfNlLj','commentUpdated','addCommentThread','getMany','set','createdAt','startsWith','deletedAt','map','listenTo','_setUpService','reopenCommentThread','unregister','connect','updateComment','attributes','_getService','commentThreadAdded','from','config','requires','removeComment','size','commentAdded'];_0x524f=function(){return _0x3610e8;};return _0x524f();}import{Context as _0x34a7dc,ContextPlugin as _0x1fb24a}from'ckeditor5/src/core.js';import{CKEditorError as _0x48408a}from'ckeditor5/src/utils.js';import{Users as _0x467ef8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x6f8fa0,User as _0x277057}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x379ff0}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x40b013}from'../realtimecollaborativeediting/sessions.js';function _0x4b3e(_0x250bb6,_0x75671d){const _0x524f8e=_0x524f();return _0x4b3e=function(_0x4b3e15,_0x2a07ce){_0x4b3e15=_0x4b3e15-0x125;let _0x868060=_0x524f8e[_0x4b3e15];return _0x868060;},_0x4b3e(_0x250bb6,_0x75671d);}export class CloudServicesCommentsAdapter extends _0x1fb24a{static [_0x2ffc44(0x172)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x6f8fa0)());[_0x2ffc44(0x14b)];static get[_0x2ffc44(0x165)](){const _0x3b0012=_0x2ffc44;return[_0x379ff0,_0x3b0012(0x128),_0x40b013,_0x467ef8];}static get[_0x2ffc44(0x14d)](){const _0x1112e3=_0x2ffc44;return _0x1112e3(0x16d);}static get[_0x2ffc44(0x135)](){return!0x0;}static get[_0x2ffc44(0x139)](){return!0x0;}constructor(_0x57b9d4){const _0x3a2c21=_0x2ffc44;super(_0x57b9d4),this[_0x3a2c21(0x14b)]=new Map();}async[_0x2ffc44(0x175)](){const _0x5e8497=_0x2ffc44,_0x1a1393=this[_0x5e8497(0x185)],_0xf1872e=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x5e8497(0x128));if(_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x379ff0)[_0x5e8497(0x142)](this),_0xf1872e[_0x5e8497(0x16c)]={'addCommentThread':async({channelId:_0x571d37,threadId:_0x3da392,comments:_0x6c3a4a,resolvedAt:_0xef2515,resolvedBy:_0x186ebd,context:_0x5cdf98,attributes:_0x1e3978})=>{const _0x4e8066=_0x5e8497,_0x29efdd=await this[_0x4e8066(0x161)](_0x571d37)[_0x4e8066(0x153)]({'commentThreadId':_0x3da392,'comments':_0x6c3a4a[_0x4e8066(0x159)](_0x29e7d6=>function(_0x220cf8,_0x4859ee,_0xa7a3cf){const _0x20ad78=_0x4e8066;return{'commentThreadId':_0xa7a3cf,'commentId':_0x220cf8[_0x20ad78(0x13b)],'userId':_0x220cf8[_0x20ad78(0x13a)],'content':_0x220cf8[_0x20ad78(0x12e)],'documentId':_0x4859ee,'createdAt':_0x220cf8[_0x20ad78(0x156)],'attributes':_0x220cf8[_0x20ad78(0x160)]||{}};}(_0x29e7d6,_0x571d37,_0x3da392)),'resolvedAt':_0xef2515,'resolvedBy':_0x186ebd,'context':_0x5cdf98,'attributes':_0x1e3978})[_0x4e8066(0x130)](A);return{'threadId':_0x29efdd[_0x4e8066(0x14e)],'comments':_0x29efdd[_0x4e8066(0x176)]};},'getCommentThread':async({channelId:_0x363118,threadId:_0x290495})=>{const _0x13341b=_0x5e8497,_0x2cd0da=await this[_0x13341b(0x161)](_0x363118)[_0x13341b(0x16f)](_0x290495)[_0x13341b(0x130)](f)[_0x13341b(0x130)](A);return _0x2cd0da?_0x2cd0da[_0x13341b(0x158)]?null:(await this[_0x13341b(0x173)]([_0x2cd0da]),{'threadId':_0x2cd0da[_0x13341b(0x14e)],'comments':_0x2cd0da[_0x13341b(0x176)][_0x13341b(0x159)](p),'context':_0x2cd0da[_0x13341b(0x185)],'resolvedAt':_0x2cd0da[_0x13341b(0x149)],'resolvedBy':_0x2cd0da[_0x13341b(0x133)],'attributes':_0x2cd0da[_0x13341b(0x160)]||{}}):null;},'updateCommentThread':async({channelId:_0x5bbfca,threadId:_0x263e05,context:_0x2528bd,unlinkedAt:_0x21b0e8,attributes:_0x59246a})=>this[_0x5e8497(0x161)](_0x5bbfca)[_0x5e8497(0x140)]({'commentThreadId':_0x263e05,'context':_0x2528bd,'attributes':_0x59246a,'unlinkedAt':_0x21b0e8})[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'resolveCommentThread':async({channelId:_0x3158a9,threadId:_0x214329})=>{const _0x51a6d6=_0x5e8497,_0x504c16=await this[_0x51a6d6(0x161)](_0x3158a9)[_0x51a6d6(0x171)](_0x214329)[_0x51a6d6(0x130)](f)[_0x51a6d6(0x130)](A);return{'threadId':_0x504c16[_0x51a6d6(0x14e)],'resolvedAt':_0x504c16[_0x51a6d6(0x149)],'resolvedBy':_0x504c16[_0x51a6d6(0x133)]};},'reopenCommentThread':async({channelId:_0x1117f1,threadId:_0x449cc7})=>this[_0x5e8497(0x161)](_0x1117f1)[_0x5e8497(0x15c)](_0x449cc7)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeCommentThread':({channelId:_0x5ca8a5,threadId:_0x5d4d65})=>this[_0x5e8497(0x161)](_0x5ca8a5)[_0x5e8497(0x12a)](_0x5d4d65)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'addComment':({channelId:_0x18f8fd,threadId:_0x14a5da,commentId:_0x3fada3,content:_0x5f50d7,attributes:_0x4c0d7e})=>this[_0x5e8497(0x161)](_0x18f8fd)[_0x5e8497(0x14f)](_0x14a5da,_0x3fada3,_0x5f50d7,_0x4c0d7e)[_0x5e8497(0x130)](A),'updateComment':({channelId:_0x2c94c3,threadId:_0x2a35e3,commentId:_0x1b7fb1,content:_0x284014,attributes:_0x3070f3})=>this[_0x5e8497(0x161)](_0x2c94c3)[_0x5e8497(0x15f)](_0x2a35e3,_0x1b7fb1,_0x284014,_0x3070f3)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeComment':({channelId:_0x16e9bc,threadId:_0x53b79d,commentId:_0x1e068b})=>this[_0x5e8497(0x161)](_0x16e9bc)[_0x5e8497(0x166)](_0x53b79d,_0x1e068b)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A)},_0x1a1393 instanceof _0x34a7dc){const _0x8b3f43=_0x1a1393[_0x5e8497(0x164)][_0x5e8497(0x12f)](_0x5e8497(0x12c)),_0x2054c2=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x40b013);await this[_0x5e8497(0x15b)](_0x8b3f43);const _0x1a7f2f=await this[_0x5e8497(0x14b)][_0x5e8497(0x12f)](_0x8b3f43)[_0x5e8497(0x141)]();this[_0x5e8497(0x15a)](_0x2054c2,_0x5e8497(0x188)+_0x8b3f43,(_0x5b6e58,{session:_0x4e5fdb})=>{const _0x45cc63=_0x5e8497;_0x4e5fdb['id']===_0x2054c2[_0x45cc63(0x147)]&&(_0x5b6e58[_0x45cc63(0x14a)](),this[_0x45cc63(0x185)][_0x45cc63(0x183)][_0x45cc63(0x12f)](_0x45cc63(0x186))[_0x45cc63(0x180)](_0x4e5fdb[_0x45cc63(0x182)],_0x8b3f43));}),_0x2054c2[_0x5e8497(0x143)](_0x8b3f43,_0x1a7f2f);}}async[_0x2ffc44(0x15b)](_0x2984a5){const _0x17f26b=_0x2ffc44;if(this[_0x17f26b(0x14b)][_0x17f26b(0x177)](_0x2984a5))throw new _0x48408a(_0x17f26b(0x170),null,{'channelId':_0x2984a5});const _0x39892b=this[_0x17f26b(0x185)][_0x17f26b(0x183)][_0x17f26b(0x12f)](_0x17f26b(0x128)),_0xadb545=new CloudServicesCommentsAdapter[(_0x17f26b(0x172))](_0x2984a5);this[_0x17f26b(0x14b)][_0x17f26b(0x155)](_0x2984a5,_0xadb545),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x162),(_0x3cfe66,_0x161a24)=>{const _0x26e8f7=_0x17f26b,{commentThreadId:_0x2aa096,documentId:_0x38b801,context:_0x1948e6,attributes:_0x1bd2c,resolvedAt:_0x3f7b63,resolvedBy:_0x2f1aab,comments:_0x175656}=_0x161a24;_0x39892b[_0x26e8f7(0x16f)](_0x2aa096)||_0x39892b[_0x26e8f7(0x153)]({'threadId':_0x2aa096,'channelId':_0x38b801,'comments':_0x175656?_0x175656[_0x26e8f7(0x159)](p):[],'context':_0x1948e6,'attributes':_0x1bd2c,'resolvedAt':_0x3f7b63,'resolvedBy':_0x2f1aab,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x187),(_0x10daa0,{commentThreadId:_0x3304a4,documentId:_0x438fb8,context:_0x4fef4c,unlinkedAt:_0x439380,attributes:_0x79c0e1})=>{const _0x97692e=_0x17f26b;_0x39892b[_0x97692e(0x16f)](_0x3304a4)&&_0x39892b[_0x97692e(0x140)]({'threadId':_0x3304a4,'channelId':_0x438fb8,'context':_0x4fef4c,'unlinkedAt':_0x439380,'attributes':_0x79c0e1,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x181),(_0x287255,{commentThreadId:_0x52a291,resolvedBy:_0x2d41c8,resolvedAt:_0x1c11e3})=>{const _0x21c9ab=_0x17f26b,_0x37c0e4=_0x39892b[_0x21c9ab(0x16f)](_0x52a291);_0x37c0e4&&_0x37c0e4[_0x21c9ab(0x17a)]({'resolvedBy':_0x2d41c8,'resolvedAt':_0x1c11e3,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x179),(_0x13a199,{commentThreadId:_0x1e283f})=>{const _0x3633d4=_0x17f26b,_0x5c8686=_0x39892b[_0x3633d4(0x16f)](_0x1e283f);_0x5c8686&&_0x5c8686[_0x3633d4(0x12b)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x17d),(_0x4f4418,{commentThreadId:_0x1843bf})=>{const _0x3e66ca=_0x17f26b,_0xd18f73=_0x39892b[_0x3e66ca(0x16f)](_0x1843bf);_0xd18f73&&_0xd18f73[_0x3e66ca(0x146)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x168),(_0x506245,_0x571f03)=>{const _0x4634a9=_0x17f26b,_0x25063a=_0x571f03[_0x4634a9(0x14e)],_0x18d118=_0x39892b[_0x4634a9(0x16f)](_0x25063a);_0x18d118&&_0x18d118[_0x4634a9(0x14f)]({...p(_0x571f03),'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x152),(_0x5e7d64,{commentThreadId:_0x1cadf5,commentId:_0x4e99bb,content:_0x3c57b8,attributes:_0x3e02fd})=>{const _0x418b5b=_0x17f26b,_0x4838dd=_0x39892b[_0x418b5b(0x16f)](_0x1cadf5);if(_0x4838dd){const _0x2995ee=_0x4838dd[_0x418b5b(0x17c)](_0x4e99bb);_0x2995ee&&_0x2995ee[_0x418b5b(0x184)]({'content':_0x3c57b8,'attributes':_0x3e02fd,'isFromAdapter':!0x0});}}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x16e),(_0x1d03be,{commentThreadId:_0x51e25e,commentId:_0x385323})=>{const _0x54e551=_0x17f26b,_0x4736d2=_0x39892b[_0x54e551(0x16f)](_0x51e25e);if(_0x4736d2){const _0x4bfd4f=_0x4736d2[_0x54e551(0x17c)](_0x385323);_0x4bfd4f&&_0x4bfd4f[_0x54e551(0x146)]({'isFromAdapter':!0x0});}}),await this[_0x17f26b(0x174)](_0x2984a5);}[_0x2ffc44(0x16a)](){const _0x1ec291=_0x2ffc44;if(this[_0x1ec291(0x185)]instanceof _0x34a7dc){const _0x585d7b=this[_0x1ec291(0x185)][_0x1ec291(0x164)][_0x1ec291(0x12f)](_0x1ec291(0x12c));this[_0x1ec291(0x134)](_0x585d7b);}}[_0x2ffc44(0x134)](_0x4cf402){const _0x3fb88b=_0x2ffc44;if(!this[_0x3fb88b(0x14b)][_0x3fb88b(0x177)](_0x4cf402))throw new _0x48408a(_0x3fb88b(0x12d),null,{'channelId':_0x4cf402});this[_0x3fb88b(0x161)](_0x4cf402)[_0x3fb88b(0x129)](),this[_0x3fb88b(0x14b)][_0x3fb88b(0x145)](_0x4cf402);}async[_0x2ffc44(0x178)](){const _0x185c20=_0x2ffc44;for(const _0x1c21ee of this[_0x185c20(0x14b)][_0x185c20(0x132)]())await this[_0x185c20(0x174)](_0x1c21ee);if(this[_0x185c20(0x185)]instanceof _0x34a7dc){const _0x53a072=this[_0x185c20(0x185)][_0x185c20(0x164)][_0x185c20(0x12f)](_0x185c20(0x12c)),_0x5035ce=this[_0x185c20(0x185)][_0x185c20(0x183)][_0x185c20(0x12f)](_0x40b013);_0x5035ce[_0x185c20(0x15d)](_0x53a072);const _0x3a29a2=await this[_0x185c20(0x14b)][_0x185c20(0x12f)](_0x53a072)[_0x185c20(0x141)]();_0x5035ce[_0x185c20(0x143)](_0x53a072,_0x3a29a2);}}async[_0x2ffc44(0x174)](_0x19dc92){const _0x41f715=_0x2ffc44,{connection:_0x3a6d86}=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x379ff0),_0x41a665=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x41f715(0x128)),_0x21c4d4=this[_0x41f715(0x14b)][_0x41f715(0x12f)](_0x19dc92),_0x5cf946=await _0x21c4d4[_0x41f715(0x15e)](_0x3a6d86);await this[_0x41f715(0x173)](_0x5cf946);const _0x1b0238=new Set(Array[_0x41f715(0x163)](_0x41a665[_0x41f715(0x136)]({'channelId':_0x19dc92}),_0x370795=>_0x370795['id']));for(const _0x27e958 of _0x5cf946)_0x27e958[_0x41f715(0x158)]||_0x1b0238[_0x41f715(0x145)](_0x27e958[_0x41f715(0x14e)]);for(const _0x520fd9 of _0x1b0238)_0x41a665[_0x41f715(0x16f)](_0x520fd9)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x5419ce of _0x5cf946){let _0x549e79=_0x41a665[_0x41f715(0x16f)](_0x5419ce[_0x41f715(0x14e)]);const {commentThreadId:_0x300786,context:_0xaf78bc,attributes:_0x2106aa,resolvedBy:_0x380743,resolvedAt:_0xe65d61,unlinkedAt:_0x1c3988,deletedAt:_0x55f9ed}=_0x5419ce;if(_0x55f9ed)continue;_0x549e79||(_0x549e79=_0x41a665[_0x41f715(0x153)]({'channelId':_0x19dc92,'threadId':_0x300786,'context':_0xaf78bc,'attributes':_0x2106aa||{},'resolvedBy':_0x380743,'resolvedAt':_0xe65d61,'unlinkedAt':_0x1c3988,'isFromAdapter':!0x0}));const _0x56438d=new Set(Array[_0x41f715(0x163)](_0x549e79[_0x41f715(0x176)],_0x50139d=>_0x50139d['id']));for(const _0x1f76ee of _0x5419ce[_0x41f715(0x176)])_0x56438d[_0x41f715(0x145)](_0x1f76ee[_0x41f715(0x13b)]);for(const _0x46a1ac of _0x56438d)_0x549e79[_0x41f715(0x17c)](_0x46a1ac)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x2c857b of _0x5419ce[_0x41f715(0x176)]){const _0x160d3a=_0x549e79[_0x41f715(0x17c)](_0x2c857b[_0x41f715(0x13b)]);_0x160d3a?_0x160d3a[_0x41f715(0x12e)]!==_0x2c857b[_0x41f715(0x12e)]&&_0x160d3a[_0x41f715(0x184)]({'content':_0x2c857b[_0x41f715(0x12e)],'isFromAdapter':!0x0}):_0x549e79[_0x41f715(0x14f)](Object[_0x41f715(0x13e)](p(_0x2c857b),{'isFromAdapter':!0x0}));}}}[_0x2ffc44(0x161)](_0x3716e0){const _0x183daa=_0x2ffc44;if(!this[_0x183daa(0x14b)][_0x183daa(0x177)](_0x3716e0))throw new _0x48408a(_0x183daa(0x17f),null,{'channelId':_0x3716e0});return this[_0x183daa(0x14b)][_0x183daa(0x12f)](_0x3716e0);}async[_0x2ffc44(0x173)](_0x1d1081){const _0x71eb55=_0x2ffc44,_0x49a500=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x467ef8),{connection:_0x7ccfcb}=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x379ff0),_0x245529=new Set();for(const {resolvedBy:_0x5ae286,comments:_0x567bff}of _0x1d1081){_0x5ae286&&!_0x49a500[_0x71eb55(0x189)](_0x5ae286)&&_0x245529[_0x71eb55(0x125)](_0x5ae286);for(const {userId:_0x5d5deb}of _0x567bff)_0x49a500[_0x71eb55(0x189)](_0x5d5deb)||_0x245529[_0x71eb55(0x125)](_0x5d5deb);}if(0x0===_0x245529[_0x71eb55(0x167)])return;const _0x5c33b6=await _0x277057[_0x71eb55(0x154)](_0x7ccfcb,Array[_0x71eb55(0x163)](_0x245529));for(const _0x3d3207 of _0x5c33b6)_0x49a500[_0x71eb55(0x189)](_0x3d3207['id'])||_0x49a500[_0x71eb55(0x138)](_0x3d3207);}}async function f(_0x5cb58d){const _0x369d73=_0x2ffc44;if(_0x369d73(0x18a)!==_0x5cb58d[_0x369d73(0x150)])throw _0x5cb58d;}function A(_0x5204b4){const _0x2df7a6=_0x2ffc44;if((_0x131362=_0x5204b4)[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17b))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17e))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x13f)))return new Promise(()=>{});var _0x131362;throw _0x5204b4;}function p(_0x24650f){const _0x47eac8=_0x2ffc44;return{'threadId':_0x24650f[_0x47eac8(0x14e)],'commentId':_0x24650f[_0x47eac8(0x13b)],'content':_0x24650f[_0x47eac8(0x12e)],'createdAt':_0x24650f[_0x47eac8(0x156)],'authorId':_0x24650f[_0x47eac8(0x13d)],'attributes':_0x24650f[_0x47eac8(0x160)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x573e11=_0x3c4a;(function(_0x277371,_0x5ec3e2){const _0x34d944=_0x3c4a,_0x2e504e=_0x277371();while(!![]){try{const _0x4363ce=parseInt(_0x34d944(0xa3))/0x1+-parseInt(_0x34d944(0xa8))/0x2*(parseInt(_0x34d944(0xb1))/0x3)+-parseInt(_0x34d944(0xaa))/0x4*(parseInt(_0x34d944(0xa1))/0x5)+parseInt(_0x34d944(0xaf))/0x6*(parseInt(_0x34d944(0xab))/0x7)+parseInt(_0x34d944(0xc1))/0x8+-parseInt(_0x34d944(0xc3))/0x9*(-parseInt(_0x34d944(0xa6))/0xa)+parseInt(_0x34d944(0xbb))/0xb*(-parseInt(_0x34d944(0xc4))/0xc);if(_0x4363ce===_0x5ec3e2)break;else _0x2e504e['push'](_0x2e504e['shift']());}catch(_0x45042c){_0x2e504e['push'](_0x2e504e['shift']());}}}(_0x3705,0x94efc));import{Plugin as _0x37aa95}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x25505e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4e0015}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x547818}from'./realtimecollaborativeediting/websocketgateway.js';function _0x3c4a(_0xe63d39,_0x3b9851){const _0x37055e=_0x3705();return _0x3c4a=function(_0x3c4a29,_0x3db4aa){_0x3c4a29=_0x3c4a29-0xa1;let _0x57607f=_0x37055e[_0x3c4a29];return _0x57607f;},_0x3c4a(_0xe63d39,_0x3b9851);}export class RealTimeCollaborativeComments extends _0x37aa95{static get[_0x573e11(0xb7)](){const _0x58cb6e=_0x573e11;return[_0x58cb6e(0xbe),_0x25505e,_0x4e0015,_0x547818];}static get[_0x573e11(0xc0)](){const _0x3b2c21=_0x573e11;return _0x3b2c21(0xba);}static get[_0x573e11(0xbf)](){return!0x0;}static get[_0x573e11(0xac)](){return!0x0;}[_0x573e11(0xb6)](){const _0x5bbd0a=_0x573e11,_0x4c2680=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x547818),_0x3c64d5=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xae)),_0x5128f9=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x25505e);return this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xa7)][_0x5bbd0a(0xa9)](_0x5bbd0a(0xad),()=>{const _0x396fcd=_0x5bbd0a;this[_0x396fcd(0xbc)](_0x4c2680,_0x396fcd(0xb3),(_0xd8018e,_0x1729ea,_0x2238d7)=>{const _0x3ea2a2=_0x396fcd;_0x3c64d5[_0x3ea2a2(0xb2)]=_0x3ea2a2(0xa2)!==_0x2238d7;});}),this[_0x5bbd0a(0xbc)](_0x4c2680,_0x5bbd0a(0xb3),(_0xc51735,_0xaf13b9,_0x222871)=>{const _0x23db45=_0x5bbd0a;this[_0x23db45(0xa4)][_0x23db45(0xc2)][_0x23db45(0xc5)](_0x23db45(0xb4))[_0x23db45(0xa5)](_0x23db45(0xa2)!==_0x222871);}),_0x5128f9[_0x5bbd0a(0xbd)](this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xb9)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xb5)));}[_0x573e11(0xb0)](){const _0x3d588c=_0x573e11;this[_0x3d588c(0xa4)][_0x3d588c(0xc2)][_0x3d588c(0xc5)](_0x25505e)[_0x3d588c(0xb8)](this[_0x3d588c(0xa4)][_0x3d588c(0xb9)][_0x3d588c(0xc5)](_0x3d588c(0xb5))),super[_0x3d588c(0xb0)]();}}function _0x3705(){const _0x9046f2=['5ixZurG','connected','274943udpeGH','editor','switchReadOnly','1203810XvUoUm','data','21402AXzdnO','once','1060432ZNNvHH','245CLTbbu','isPremiumPlugin','ready','CommentsEditing','1962QtIVZp','destroy','6MuAIyL','isThreadsLoadingPaused','change:state','CommentsRepository','collaboration.channelId','init','requires','_terminateService','config','RealTimeCollaborativeComments','738111EiGnna','listenTo','_setUpService','Comments','isOfficialPlugin','pluginName','4139416spdwGw','plugins','27GHhIdt','48mUTnTl','get'];_0x3705=function(){return _0x9046f2;};return _0x3705();}
23
+ const _0x70b069=_0x4ae3;(function(_0x24eabb,_0x5af5fe){const _0x56f0d6=_0x4ae3,_0x3333c0=_0x24eabb();while(!![]){try{const _0x4f9fea=-parseInt(_0x56f0d6(0xee))/0x1*(parseInt(_0x56f0d6(0xdc))/0x2)+-parseInt(_0x56f0d6(0xe0))/0x3+parseInt(_0x56f0d6(0xf8))/0x4+parseInt(_0x56f0d6(0xf5))/0x5*(-parseInt(_0x56f0d6(0xdb))/0x6)+-parseInt(_0x56f0d6(0xf3))/0x7+-parseInt(_0x56f0d6(0xe4))/0x8*(parseInt(_0x56f0d6(0xd9))/0x9)+parseInt(_0x56f0d6(0xde))/0xa;if(_0x4f9fea===_0x5af5fe)break;else _0x3333c0['push'](_0x3333c0['shift']());}catch(_0x463701){_0x3333c0['push'](_0x3333c0['shift']());}}}(_0x2d37,0x4f930));import{Plugin as _0xdd6d87}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x5eac0c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4ae3(_0x5a138f,_0x37d835){const _0x2d375b=_0x2d37();return _0x4ae3=function(_0x4ae3a4,_0x29d162){_0x4ae3a4=_0x4ae3a4-0xd7;let _0x403553=_0x2d375b[_0x4ae3a4];return _0x403553;},_0x4ae3(_0x5a138f,_0x37d835);}import{RealTimeCollaborativeEditing as _0x12c346}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x55ec59}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xdd6d87{static get[_0x70b069(0xd7)](){const _0x2a2617=_0x70b069;return[_0x2a2617(0xec),_0x5eac0c,_0x12c346,_0x55ec59];}static get[_0x70b069(0xf0)](){const _0x5d548a=_0x70b069;return _0x5d548a(0xd8);}static get[_0x70b069(0xea)](){return!0x0;}static get[_0x70b069(0xeb)](){return!0x0;}[_0x70b069(0xe3)](){const _0x258bbf=_0x70b069,_0x43bfc9=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x55ec59),_0x13ce67=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x258bbf(0xdf)),_0xb9ca56=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x5eac0c);return this[_0x258bbf(0xf7)][_0x258bbf(0xf4)][_0x258bbf(0xf6)](_0x258bbf(0xe1),()=>{const _0x14ebba=_0x258bbf;this[_0x14ebba(0xf1)](_0x43bfc9,_0x14ebba(0xe8),(_0x25603f,_0x2d8827,_0x322d49)=>{const _0x236178=_0x14ebba;_0x13ce67[_0x236178(0xe7)]=_0x236178(0xed)!==_0x322d49;});}),this[_0x258bbf(0xf1)](_0x43bfc9,_0x258bbf(0xe8),(_0xf569ef,_0x5765ac,_0xf8018a)=>{const _0x125bfc=_0x258bbf;this[_0x125bfc(0xf7)][_0x125bfc(0xe6)][_0x125bfc(0xe9)](_0x125bfc(0xf2))[_0x125bfc(0xe2)](_0x125bfc(0xed)!==_0xf8018a);}),_0xb9ca56[_0x258bbf(0xe5)](this[_0x258bbf(0xf7)][_0x258bbf(0xda)][_0x258bbf(0xe9)](_0x258bbf(0xf9)));}[_0x70b069(0xdd)](){const _0x4307e0=_0x70b069;this[_0x4307e0(0xf7)][_0x4307e0(0xe6)][_0x4307e0(0xe9)](_0x5eac0c)[_0x4307e0(0xef)](this[_0x4307e0(0xf7)][_0x4307e0(0xda)][_0x4307e0(0xe9)](_0x4307e0(0xf9))),super[_0x4307e0(0xdd)]();}}function _0x2d37(){const _0xde5a61=['data','3460EjdCJJ','once','editor','168728XADcCs','collaboration.channelId','requires','RealTimeCollaborativeComments','2439zYhOlN','config','2568OIaXmX','170ZzXFIw','destroy','21110030VVWkEv','CommentsEditing','366501mCThmN','ready','switchReadOnly','init','15240okCFRw','_setUpService','plugins','isThreadsLoadingPaused','change:state','get','isOfficialPlugin','isPremiumPlugin','Comments','connected','6121vpfUCv','_terminateService','pluginName','listenTo','CommentsRepository','2606562GAOYmu'];_0x2d37=function(){return _0xde5a61;};return _0x2d37();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38e931=_0x381c;(function(_0x2da140,_0x4b7ac9){const _0x172145=_0x381c,_0x9c5f91=_0x2da140();while(!![]){try{const _0x209029=-parseInt(_0x172145(0xf1))/0x1*(-parseInt(_0x172145(0x159))/0x2)+parseInt(_0x172145(0xc5))/0x3+-parseInt(_0x172145(0x162))/0x4*(-parseInt(_0x172145(0x7f))/0x5)+parseInt(_0x172145(0x6b))/0x6*(parseInt(_0x172145(0xc2))/0x7)+-parseInt(_0x172145(0x9f))/0x8*(-parseInt(_0x172145(0xeb))/0x9)+-parseInt(_0x172145(0x80))/0xa*(parseInt(_0x172145(0x106))/0xb)+-parseInt(_0x172145(0x7a))/0xc*(parseInt(_0x172145(0x71))/0xd);if(_0x209029===_0x4b7ac9)break;else _0x9c5f91['push'](_0x9c5f91['shift']());}catch(_0x1779b1){_0x9c5f91['push'](_0x9c5f91['shift']());}}}(_0x3547,0x98ef6));import{Plugin as _0xd72703,PendingActions as _0x10a7a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x42dda5,version as _0x1771ba,uid as _0x552842}from'ckeditor5/src/utils.js';import{Notification as _0x52a7c8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3ba727,NoOperation as _0xb38853,InsertOperation as _0x44c023,MarkerOperation as _0x50001,RootAttributeOperation as _0x1e351b,OperationFactory as _0x2352a1,History as _0x13cb0a}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1360dd}from'./websocketgateway.js';import{Sessions as _0x422ef6}from'./sessions.js';import{UserMarkers as _0x1e7221}from'./usermarkers.js';import{getTranslation as _0x31d992}from'../common-translations.js';import{Compressor as _0x8fbdab}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x16df45}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x381c(_0x84a441,_0x279226){const _0x354737=_0x3547();return _0x381c=function(_0x381cd0,_0x264f67){_0x381cd0=_0x381cd0-0x65;let _0x2e3e4e=_0x354737[_0x381cd0];return _0x2e3e4e;},_0x381c(_0x84a441,_0x279226);}import{User as _0x2ecd2e,CollaborativeEditingService as _0x5d4658}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x3547(){const _0x76429a=['_isPendingUpdate','listenTo','_isAttached','connection','keys','editor','fromJSON','unregister','high','add','_loadRoot','_sendBufferedOperationsDelayed','size','suppressErrorInCollaboration','656aVMsmV','_operationIdentifier','return','rootsAttributes','data','start','baseVersion','round','directChange','from','applyOperation','mySessionId','differ','offset','realtimecollaborationclient-init-non-existent-root','clone','catch','_shouldSendSelectionUpdate','isEnabled','document','sessionId','push','isOfficialPlugin','change:_isPendingUpdate','define','Notification','$root','_getAffectedRoot','getUser','position','change:_isEditingAllowed','_lastSyncedOperationId','initData','isDocumentOperation','channelSessions','28zgOiuE','_offset','_disconnectService','2040645qqlXaD','change:hasDomSelection','_lastServerVersion','rootName','error','selection','document:write','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectAfterSessionHasBeenFlushed','permissions','404','plugins','remove','_refreshUserSelectionMarkers','metadata','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_sendBufferedOperationsDelayId','reconnection:\x20flushed\x20session','cloud-services-internal-error:\x20Request\x20timeout.','_applyOperationsSet','loadRoot','addUser','addToReconnectionStack','sessionAdd:','then','PENDING_ACTION_SENDING_DATA','operationsReceived','length','parse','serverHistory','get','getOperationAuthor','markers','end','ready','_knownOperations','stopListening','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.','21132OZIQln','isReadOnly','enqueueChange','wasUndone','move','sendOperations','8656jSxQlK','type','createdAt','_hasSynchronizationProblem','realtimecollaborationclient-init-connection-failed','path','InsertOperation','cloudServices.bundleVersion','realtimecollaborationclient-init-service-incorrect-server-operation','_pendingAction','getRoot','filter','init','realtimecollaborationclient','_fetchMissingUsers','history','409','lastOperationId','reset','_getOperationsFromInitData','multi-root-editor-root-attributes-no-root','27764OdZjzS','_initThrowingOnDataSet','insert','roots','collaboration-missing-channelid','realtimecollaborationclient-init-document-already-initialized','state','rtc-offline','realtimecollaborationclient-init-service-internal-error','_isLoaded','realtimecollaborationclient-handleserverresponse','_compressOperations','apply','decompress','realtimecollaborationclient-init-session-connection-error','_handleSendingSelectionMarkers','requires','slice','compress','getIdOfTheLastOperation','_isDisconnection','message','includes','set','createUserMarkerOperations','_hasSelectionChanged','rtc-destroyed','bind','Synchronization\x20issue','version','removeFromReconnectionStack','startsWith','_bufferedOperations','_addKnownRoot','setIdForTheLastOperation','lastDocumentSession','entries','code','cs:removeUser','getOperations','lastOperationAcceptedAt','currentDocumentSession','_document','change:range','addRootAttribute','locale','toJSON','_updateServerHistory','_decompressOperations','createPositionAt','_baseBufferDelay','_setPendingAction','_clearPendingAction','wereChangesApplied','_handleReconnectionError','root','_isEditingAllowed','_crash','_currentBufferDelay','_handleExternalOperations','Permissions','_isConnected','_waitUntilSynced','sessionCreatedAt','_bufferRootLoad','_operationToId','forEach','string','setPermissions','has','stop','disconnected','showWarning','editing','RealTimeCollaborationClient','_shouldSendUpdate','map','attributes','_handleReceivedOperations','reconnect','model','CommentsOnly','realtimecollaborationclient-error','6PDSzaw','connected','_service','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleServerResponse','collaboration','targetPosition','cloud-services-internal-error:\x20Not\x20connected.','4ycTRww','finally','disconnect','off','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','batch','register','addRoot','disableReadOnlyMode','marker','real-time-collaboration','_connectService','getMany','lastSyncVersion','_disconnectionOperations','_ignoredOperations','_handleReconnectionResponse','getConnectedSessions','1415886lPIvGS','__className','view','collaboration.channelId','_handleInitialConnectionData','destroy','5744089jXuTGK','addOperation','CollaborativeEditingService','createRoot','cloudDocumentVersion','fire','_isInit','enableReadOnlyMode','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.','36TwDTRN','newRange','_setUpDataInit','_sendBufferedOperations','userId','5455870HBglhP','3890ssUlrg','connect','_initSessionsHandling','realtimecollaborationclient-sendbufferedoperations','createRange','createPositionFromPath','getDocumentDetails','_compressor','affectedSelectable','pluginName','isUndoneOperation','isPremiumPlugin','_authorId','_knownRootNames','_channelId','config','affectsData'];_0x3547=function(){return _0x76429a;};return _0x3547();}export class RealTimeCollaborationClient extends _0xd72703{static [_0x38e931(0x73)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5d4658)());[_0x38e931(0xc3)];[_0x38e931(0xb3)];[_0x38e931(0xe2)];[_0x38e931(0x8e)];[_0x38e931(0x15b)];[_0x38e931(0x130)];[_0x38e931(0x87)];[_0x38e931(0x126)];[_0x38e931(0xe8)];[_0x38e931(0x8d)];[_0x38e931(0xfa)];[_0x38e931(0x11f)];[_0x38e931(0xd5)];[_0x38e931(0x138)];[_0x38e931(0x140)];[_0x38e931(0xbe)];[_0x38e931(0x67)];[_0x38e931(0xa0)];static get[_0x38e931(0x116)](){return[_0x1360dd,_0x422ef6,_0x1e7221,_0x10a7a5,_0x16df45,_0x52a7c8];}static get[_0x38e931(0x89)](){const _0x1a2085=_0x38e931;return _0x1a2085(0x150);}static get[_0x38e931(0xb5)](){return!0x0;}static get[_0x38e931(0x8b)](){return!0x0;}get[_0x38e931(0x75)](){const _0x2889cb=_0x38e931;return this[_0x2889cb(0xc7)]+this[_0x2889cb(0xc3)];}get[_0x38e931(0xc7)](){const _0x518581=_0x38e931;return this[_0x518581(0xe2)][_0x518581(0x123)]-this[_0x518581(0xc3)];}get[_0x38e931(0x66)](){const _0x1acf53=_0x38e931,_0xaee4d=this[_0x1acf53(0xe2)][_0x1acf53(0x12d)]();for(let _0x3e016f=_0xaee4d[_0x1acf53(0xe0)]-0x1;_0x3e016f>=0x0;_0x3e016f--){const _0x36ec7d=_0xaee4d[_0x3e016f];if(!this[_0x1acf53(0x67)][_0x1acf53(0x14b)](_0x36ec7d))return _0x36ec7d[_0x1acf53(0xa5)]+0x1-this[_0x1acf53(0xc3)];}return 0x0;}constructor(_0x4bccf9){const _0x52f5d1=_0x38e931;if(super(_0x4bccf9),this[_0x52f5d1(0xc3)]=0x0,this[_0x52f5d1(0xb3)]=null,this[_0x52f5d1(0xe2)]=new _0x13cb0a(),this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xb7)](_0x52f5d1(0x15f),{}),this[_0x52f5d1(0x8e)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0x6e)),!this[_0x52f5d1(0x8e)])throw new _0x42dda5(_0x52f5d1(0x10a),this);const _0x437165=_0x4bccf9[_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0xf8))||_0x1771ba;this[_0x52f5d1(0x15b)]=new RealTimeCollaborationClient[(_0x52f5d1(0x73))](_0x437165,this[_0x52f5d1(0x8e)]),this[_0x52f5d1(0x130)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x156)][_0x52f5d1(0xb2)],this[_0x52f5d1(0x87)]=new _0x8fbdab(),this[_0x52f5d1(0x126)]=[],this[_0x52f5d1(0xe8)]=new WeakSet(),this[_0x52f5d1(0x8d)]=new Set(),this[_0x52f5d1(0x11d)](_0x52f5d1(0x91),!0x1),this[_0x52f5d1(0x11d)](_0x52f5d1(0xf4),!0x1),this[_0x52f5d1(0xfa)]=null,this[_0x52f5d1(0x11f)]=!0x1,this[_0x52f5d1(0xd5)]=null,this[_0x52f5d1(0x138)]=0x12c,this[_0x52f5d1(0x140)]=this[_0x52f5d1(0x138)],this[_0x52f5d1(0xbe)]=null,this[_0x52f5d1(0x67)]=new WeakSet(),this[_0x52f5d1(0xa0)]=new Z(this[_0x52f5d1(0x67)]);}[_0x38e931(0xfd)](){const _0x4d6c72=_0x38e931,_0x53d411=this[_0x4d6c72(0x96)],_0x3fbbda=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x16df45),_0x471319=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x1360dd);this[_0x4d6c72(0x92)](_0x3fbbda,_0x4d6c72(0xe4),(_0x26c234,_0x280671)=>{const _0x4cbe06=_0x4d6c72,_0x43f3e8=_0x280671[0x0];_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=_0x3fbbda[_0x4cbe06(0xbb)](_0x43f3e8[_0x4cbe06(0x8c)]),_0x26c234[_0x4cbe06(0x14c)]()),null===_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=null,_0x26c234[_0x4cbe06(0x14c)]());},{'priority':_0x4d6c72(0x99)}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x156)][_0x4d6c72(0xb2)][_0x4d6c72(0xca)],_0x4d6c72(0x131),(_0x235f3c,_0xc039b6)=>{const _0x40ff93=_0x4d6c72;_0xc039b6[_0x40ff93(0xa7)]&&this[_0x40ff93(0xd2)]();}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x14f)][_0x4d6c72(0x6d)],_0x4d6c72(0xc6),()=>{const _0xce73f=_0x4d6c72;this[_0xce73f(0xd2)]();}),this[_0x4d6c72(0x107)](),_0x53d411[_0x4d6c72(0x156)]['on'](_0x4d6c72(0xa9),(_0x466392,_0x2c767e)=>{const _0x28530a=_0x4d6c72,_0x303195=_0x2c767e[0x0];_0x303195[_0x28530a(0xc0)]&&(this[_0x28530a(0x15c)](_0x303195),this[_0x28530a(0x151)]()&&this[_0x28530a(0x9c)]());}),this[_0x4d6c72(0x7c)](),this[_0x4d6c72(0x121)](_0x4d6c72(0x13e))['to'](_0x471319,_0x4d6c72(0x10c),this,_0x4d6c72(0xf4),(_0x29218e,_0x3fb3bf)=>_0x4d6c72(0x15a)===_0x29218e&&!_0x3fb3bf),this['on'](_0x4d6c72(0xbd),()=>{const _0x220ad6=_0x4d6c72;this[_0x220ad6(0x13e)]?_0x53d411[_0x220ad6(0x16a)](_0x220ad6(0x10d)):_0x53d411[_0x220ad6(0x78)](_0x220ad6(0x10d));}),this[_0x4d6c72(0x13e)]?_0x53d411[_0x4d6c72(0x16a)](_0x4d6c72(0x10d)):_0x53d411[_0x4d6c72(0x78)](_0x4d6c72(0x10d)),this[_0x4d6c72(0x11d)](_0x4d6c72(0x143),!0x1);}async[_0x38e931(0x155)](){const _0x4f141b=_0x38e931,_0x591388=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x422ef6),_0x38b099=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x1360dd);try{this[_0x4f141b(0x91)]=!0x0,_0x591388[_0x4f141b(0x98)](this[_0x4f141b(0x8e)]);const _0x65ba02=await this[_0x4f141b(0x15b)][_0x4f141b(0x155)](_0x38b099[_0x4f141b(0x94)],this[_0x4f141b(0x66)]);await this[_0x4f141b(0x69)](_0x65ba02)&&(this[_0x4f141b(0x91)]=!0x1,this[_0x4f141b(0x13a)]());const _0x48e735=await this[_0x4f141b(0x15b)][_0x4f141b(0x6a)]();_0x591388[_0x4f141b(0x168)](this[_0x4f141b(0x8e)],_0x48e735),this[_0x4f141b(0x115)](),this[_0x4f141b(0x143)]=!0x0;}catch(_0x14b816){if(function(_0x3180c3){const _0x2e9e1e=_0x4f141b;return _0x2e9e1e(0xcf)===_0x3180c3[_0x2e9e1e(0x12b)];}(_0x14b816)&&this[_0x4f141b(0xb3)])await this[_0x4f141b(0xcd)]();else{if(function(_0x197e41){const _0x560131=_0x4f141b;return _0x560131(0x101)===_0x197e41[_0x560131(0x12b)];}(_0x14b816)){const _0x5aaea5=_0x31d992(this[_0x4f141b(0x96)][_0x4f141b(0x133)],_0x4f141b(0x15d));this[_0x4f141b(0x13c)](_0x5aaea5);}else{if(!(_0x14b816 instanceof X))throw _0x14b816;this[_0x4f141b(0x13c)]();}}}}[_0x38e931(0x70)](){const _0x5e5900=_0x38e931,_0x71486c=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x1360dd),_0x5ee632=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x422ef6);this[_0x5e5900(0x96)][_0x5e5900(0x78)](_0x5e5900(0x120)),_0x5ee632[_0x5e5900(0xc1)][_0x5e5900(0x14b)](this[_0x5e5900(0x8e)])&&_0x5ee632[_0x5e5900(0x98)](this[_0x5e5900(0x8e)]),_0x71486c[_0x5e5900(0x124)](this),this[_0x5e5900(0xc4)](),super[_0x5e5900(0x70)]();}async[_0x38e931(0x69)](_0x216280){const _0x43c230=_0x38e931;if(this[_0x43c230(0xb3)]!==_0x216280[_0x43c230(0xb3)]&&this[_0x43c230(0xbe)]!==_0x216280[_0x43c230(0x102)])throw new X();return this[_0x43c230(0xb3)]=_0x216280[_0x43c230(0xb3)],this[_0x43c230(0x15e)]([],{..._0x216280,'wereChangesApplied':!0x1,'data':_0x216280[_0x43c230(0xa3)]},_0x43c230(0x155));}async[_0x38e931(0x16d)](_0x1b505f,_0x3fd854=!0x1){const _0x505ed2=_0x38e931,{connection:_0x1d91da}=this[_0x505ed2(0x96)][_0x505ed2(0xd0)][_0x505ed2(0xe3)](_0x1360dd);RealTimeCollaborationClient[_0x505ed2(0x73)][_0x505ed2(0x6a)](_0x1d91da,this[_0x505ed2(0x8e)])[_0x505ed2(0xdd)](_0x23a823=>this[_0x505ed2(0x82)](_0x23a823))[_0x505ed2(0xaf)](_0x4fa1b1=>{const _0x3789c1=_0x505ed2;this[_0x3789c1(0x13f)](_0x3789c1(0x114),_0x4fa1b1);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xdf),this[_0x505ed2(0x154)][_0x505ed2(0x121)](this)),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xc9),(_0x3287ef,_0xebc6aa)=>{const _0x54e0d8=_0x505ed2;this[_0x54e0d8(0x13f)](_0x54e0d8(0x10e),_0xebc6aa);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0x14d),()=>{const _0x2dace9=_0x505ed2;this[_0x2dace9(0x143)]=!0x1;});const _0x258c0e=this[_0x505ed2(0xa0)][_0x505ed2(0x119)](_0x1b505f);this[_0x505ed2(0x91)]=!0x0;const _0x1b8bdc=await this[_0x505ed2(0x15b)][_0x505ed2(0x81)](_0x1d91da,this[_0x505ed2(0x111)](_0x1b505f),_0x258c0e);if(this[_0x505ed2(0xb3)]=_0x1b8bdc[_0x505ed2(0xb3)],_0x3fd854){if(!_0x1b8bdc[_0x505ed2(0x13b)])return void this[_0x505ed2(0x13c)]();this[_0x505ed2(0x91)]=!0x1,this[_0x505ed2(0x13a)](),this[_0x505ed2(0xe2)][_0x505ed2(0x103)](),this[_0x505ed2(0xc3)]=_0x1b8bdc[_0x505ed2(0xac)],this[_0x505ed2(0xe2)][_0x505ed2(0x123)]=this[_0x505ed2(0xc3)],await this[_0x505ed2(0x15e)](_0x1b505f,_0x1b8bdc,_0x505ed2(0xd6));}else await this[_0x505ed2(0x6f)](_0x1b8bdc,_0x1b505f);this[_0x505ed2(0x115)](),this[_0x505ed2(0x143)]=!0x0;}[_0x38e931(0x115)](){const _0x3fd3e9=_0x38e931,_0x2485f4=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x422ef6),_0x32bc97=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x1e7221),_0x3b0897=_0x2485f4[_0x3fd3e9(0xc1)][_0x3fd3e9(0xe3)](this[_0x3fd3e9(0x8e)]);_0x3b0897&&_0x3b0897[_0x3fd3e9(0xe0)]>0x1?_0x32bc97[_0x3fd3e9(0x11e)]():this[_0x3fd3e9(0x92)](_0x2485f4,_0x3fd3e9(0xdc)+this[_0x3fd3e9(0x8e)],()=>{const _0xf1d500=_0x3fd3e9;0x2===_0x2485f4[_0xf1d500(0xc1)][_0xf1d500(0xe3)](this[_0xf1d500(0x8e)])[_0xf1d500(0xe0)]&&_0x32bc97[_0xf1d500(0x11e)]();});}async[_0x38e931(0x154)](_0x1e55f6,_0x364254,_0x36d3a4,_0x192c91){const _0x30df42=_0x38e931;if(!this[_0x30df42(0x91)]&&this[_0x30df42(0x130)][_0x30df42(0x123)]==_0x364254){const _0x20e903=this[_0x30df42(0x136)](_0x36d3a4,_0x192c91);await this[_0x30df42(0xff)](_0x20e903),this[_0x30df42(0x141)](_0x20e903,_0x364254,_0x36d3a4[_0x30df42(0x102)])||this[_0x30df42(0x13f)](_0x30df42(0xf9));}}async[_0x38e931(0xcd)](){const _0x532b09=_0x38e931;this[_0x532b09(0xc4)]();const {locale:_0x15c984}=this[_0x532b09(0x96)];let _0x2482e7;try{_0x2482e7=await this[_0x532b09(0x15b)][_0x532b09(0x86)]();}catch{const _0x424669=_0x31d992(_0x15c984,_0x532b09(0xcc));return void this[_0x532b09(0x13c)](_0x424669);}const _0x4c2ae2=_0x2482e7[_0x532b09(0x12f)]||_0x2482e7[_0x532b09(0x129)];if(this[_0x532b09(0xbe)]!==_0x4c2ae2[_0x532b09(0x102)]){const _0x400c72=_0x31d992(_0x15c984,_0x532b09(0x79));return void this[_0x532b09(0x13c)](_0x400c72);}await this[_0x532b09(0x16d)](this[_0x532b09(0x96)][_0x532b09(0x156)][_0x532b09(0xb2)][_0x532b09(0x100)][_0x532b09(0x12d)](),!0x0);}[_0x38e931(0xc4)](){const _0x5e0bc5=_0x38e931;this[_0x5e0bc5(0x15b)][_0x5e0bc5(0x164)](),this[_0x5e0bc5(0x126)]=[],clearTimeout(this[_0x5e0bc5(0xd5)]),this[_0x5e0bc5(0xe9)](this[_0x5e0bc5(0x15b)]);}[_0x38e931(0x82)](_0xe18a40){const _0x33e5b7=_0x38e931,_0x3f1975=this[_0x33e5b7(0x96)][_0x33e5b7(0xd0)][_0x33e5b7(0xe3)](_0x422ef6);this[_0x33e5b7(0x92)](_0x3f1975,_0x33e5b7(0xdc)+this[_0x33e5b7(0x8e)],(_0x215ac5,{session:_0x4606e0})=>{const _0x4fcc57=_0x33e5b7;if(_0x4606e0['id']===_0x3f1975[_0x4fcc57(0xaa)]){_0x215ac5[_0x4fcc57(0x165)]();const _0x5e7eee=this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0x14b)](_0x4fcc57(0x157))&&this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x157));let _0x3bc144=_0x4606e0[_0x4fcc57(0xce)];_0x5e7eee&&_0x5e7eee[_0x4fcc57(0xb1)]&&(_0x3bc144=_0x3bc144[_0x4fcc57(0xfc)](_0xc77778=>_0x4fcc57(0xcb)!==_0xc77778)),this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x142))[_0x4fcc57(0x14a)](_0x3bc144,this[_0x4fcc57(0x8e)]);}}),_0x3f1975[_0x33e5b7(0x168)](this[_0x33e5b7(0x8e)],_0xe18a40);}[_0x38e931(0x107)](){const _0x2d8d86=_0x38e931,_0x11d129=this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)];this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)]=(..._0x269a87)=>{const _0x1ced0f=_0x2d8d86;if(!_0x269a87[_0x269a87[_0x1ced0f(0xe0)]-0x1][_0x1ced0f(0x9e)])throw new _0x42dda5(_0x1ced0f(0xd4),this);_0x11d129[_0x1ced0f(0x112)](this[_0x1ced0f(0x96)][_0x1ced0f(0xa3)],_0x269a87);};}[_0x38e931(0x7c)](){const _0x4b7f46=_0x38e931;this[_0x4b7f46(0x96)][_0x4b7f46(0xa3)]['on'](_0x4b7f46(0xfd),(_0xff74c8,[_0xd664d3])=>{const _0x11338f=_0x4b7f46;if(this[_0x11338f(0x130)][_0x11338f(0x123)])throw new _0x42dda5(_0x11338f(0x10b),this);_0xff74c8[_0x11338f(0x14c)](),this[_0x11338f(0x139)]();const _0x493a80=this[_0x11338f(0x96)][_0x11338f(0x8f)][_0x11338f(0xe3)](_0x11338f(0xa2)),_0x101bd8=this[_0x11338f(0x104)](_0xd664d3,_0x493a80);0x0==_0x101bd8[_0x11338f(0xe0)]&&_0x101bd8[_0x11338f(0xb4)](new _0xb38853(0x0)),_0xff74c8[_0x11338f(0xa1)]=this[_0x11338f(0x16d)](_0x101bd8)[_0x11338f(0xdd)](()=>{const _0x484892=_0x11338f;this[_0x484892(0x96)][_0x484892(0xd0)][_0x484892(0xe3)](_0x1360dd)[_0x484892(0xdb)](this),this[_0x484892(0x96)][_0x484892(0xa3)][_0x484892(0x76)](_0x484892(0xe7));})[_0x11338f(0xaf)](_0x3d1427=>this[_0x11338f(0x13f)](_0x11338f(0xf5),_0x3d1427))[_0x11338f(0x163)](()=>this[_0x11338f(0x13a)]());},{'priority':_0x4b7f46(0x99)}),this[_0x4b7f46(0x96)]['on'](_0x4b7f46(0xd9),async(_0x2b4b9a,[_0x1b8b65,_0x5e98b7])=>{const _0x369a78=_0x4b7f46;_0x2b4b9a[_0x369a78(0x14c)]();const _0x446743=this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xb2)][_0x369a78(0xfb)](_0x1b8b65);if(!this[_0x369a78(0x8d)][_0x369a78(0x14b)](_0x1b8b65)){const _0x1de230=_0x5e98b7&&_0x5e98b7[_0x369a78(0xa3)]?_0x5e98b7[_0x369a78(0xa3)]:'',_0x191f68=_0x5e98b7&&_0x5e98b7[_0x369a78(0x153)]?_0x5e98b7[_0x369a78(0x153)]:{};await this[_0x369a78(0x9b)](_0x1b8b65,_0x1de230,_0x191f68);}this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xed)]({'isUndoable':!0x1},()=>{const _0x13e026=_0x369a78;_0x446743[_0x13e026(0x10f)]=!0x0,this[_0x13e026(0x96)][_0x13e026(0x156)][_0x13e026(0xb2)][_0x13e026(0xab)][_0x13e026(0x146)](_0x446743);});},{'priority':_0x4b7f46(0x99)});}async[_0x38e931(0xff)](_0x4eed61){const _0x593d73=_0x38e931,_0x252093=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x16df45),{connection:_0x44888a}=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x1360dd),_0x57a795=new Set();for(const _0x2594e7 of _0x4eed61){const _0x516480=_0x2594e7[_0x593d73(0x8c)];_0x516480&&!_0x252093[_0x593d73(0xbb)](_0x516480)&&_0x57a795[_0x593d73(0x9a)](_0x516480);}if(0x0===_0x57a795[_0x593d73(0x9d)])return;const _0x2de4d2=await _0x2ecd2e[_0x593d73(0x65)](_0x44888a,Array[_0x593d73(0xa8)](_0x57a795));for(const _0x55e017 of _0x2de4d2)_0x252093[_0x593d73(0xbb)](_0x55e017['id'])||_0x252093[_0x593d73(0xda)](_0x55e017);}[_0x38e931(0x104)](_0x316f74,_0x3f2e7c={}){const _0x65e9a6=_0x38e931,_0x506616=this[_0x65e9a6(0x96)][_0x65e9a6(0x156)],_0x550840=[];let _0x1b50cb=0x0;const _0x340783=_0x65e9a6(0x149)==typeof _0x316f74?{'main':_0x316f74}:_0x316f74;for(const _0x44a351 of Object[_0x65e9a6(0x95)](_0x340783)){if(!this[_0x65e9a6(0x130)][_0x65e9a6(0x109)][_0x65e9a6(0x14b)](_0x44a351))throw new _0x42dda5(_0x65e9a6(0xad),this);const _0x956a04=this[_0x65e9a6(0x96)][_0x65e9a6(0xa3)][_0x65e9a6(0xe1)](_0x340783[_0x44a351]),_0x5b5921=this[_0x65e9a6(0x130)][_0x65e9a6(0xfb)](_0x44a351),_0x2fe4aa=new _0x44c023(_0x506616[_0x65e9a6(0x137)](_0x5b5921,0x0),_0x956a04,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x2fe4aa);for(const [_0x1f1f7d,_0x4fdfe2]of _0x956a04[_0x65e9a6(0xe5)]){const _0x574f1b=_0x506616[_0x65e9a6(0x84)](_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xa4)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]()),_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xe6)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]())),_0x4cf46c=new _0x50001(_0x1f1f7d,null,_0x574f1b,_0x506616[_0x65e9a6(0xe5)],!0x0,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cf46c);}}if(_0x3f2e7c)for(const [_0x50f49b,_0xa1c465]of Object[_0x65e9a6(0x12a)](_0x3f2e7c)){const _0x2584e7=_0x506616[_0x65e9a6(0xb2)][_0x65e9a6(0xfb)](_0x50f49b);if(!_0x2584e7)throw new _0x42dda5(_0x65e9a6(0x105),null);for(const [_0x2d2efc,_0x190976]of Object[_0x65e9a6(0x12a)](_0xa1c465))if(null!==_0x190976){const _0x4cb45f=new _0x1e351b(_0x2584e7,_0x2d2efc,null,_0x190976,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cb45f);}}return _0x550840;}async[_0x38e931(0x9b)](_0x17d95f,_0x1178c0,_0x2d1941){const _0x4af68d=_0x38e931;this[_0x4af68d(0x104)]({[_0x17d95f]:_0x1178c0},{[_0x17d95f]:_0x2d1941})[_0x4af68d(0x148)]((_0x555db6,_0x288040)=>{const _0x4acc22=_0x4af68d;_0x555db6[_0x4acc22(0xa5)]=this[_0x4acc22(0x130)][_0x4acc22(0x123)]+_0x288040,_0x555db6[_0x4acc22(0x77)]=!0x0,this[_0x4acc22(0x15c)](_0x555db6);}),this[_0x4af68d(0x9c)](),await this[_0x4af68d(0x144)]();}async[_0x38e931(0x6f)](_0x472881,_0x2d60fa){const _0x4125cc=_0x38e931;let _0x3b3a78;this[_0x4125cc(0xc3)]=_0x472881[_0x4125cc(0xac)];const _0x5623d0=_0x472881[_0x4125cc(0x13b)]&&!_0x472881[_0x4125cc(0xbf)],_0x20b0c4=_0x5623d0?0x0:_0x472881[_0x4125cc(0xa3)][_0x4125cc(0xa5)];if(_0x2d60fa[_0x4125cc(0x148)](_0x272ad2=>{const _0x27f530=_0x4125cc;_0x272ad2[_0x27f530(0x77)]=!0x0,_0x272ad2[_0x27f530(0xf3)]=_0x472881[_0x27f530(0x145)],_0x272ad2[_0x27f530(0x8c)]=null;}),_0x5623d0)_0x3b3a78=_0x2d60fa,this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);else{if(_0x472881[_0x4125cc(0xbf)]){const _0x16fee4=this[_0x4125cc(0x104)](_0x472881[_0x4125cc(0xbf)]);this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)],_0x16fee4[_0x4125cc(0x148)](_0x3ef78f=>{const _0x1a714e=_0x4125cc;_0x3ef78f[_0x1a714e(0xa5)]-=_0x16fee4[_0x1a714e(0xe0)],_0x3ef78f[_0x1a714e(0xf3)]=_0x472881[_0x1a714e(0x145)],_0x3ef78f[_0x1a714e(0x77)]=!0x0,_0x3ef78f[_0x1a714e(0x8c)]=null;}),this[_0x4125cc(0xd8)](_0x16fee4,!0x0),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)]+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x16fee4);}this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=_0x20b0c4,_0x3b3a78=this[_0x4125cc(0x136)](_0x472881[_0x4125cc(0xa3)],_0x472881[_0x4125cc(0xd3)]),await this[_0x4125cc(0xff)](_0x3b3a78),this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);}_0x472881[_0x4125cc(0x102)]&&(this[_0x4125cc(0xa0)][_0x4125cc(0x128)](_0x3b3a78,_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xbe)]=_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=_0x20b0c4+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x3b3a78),_0x2d60fa[_0x4125cc(0xfc)](_0x7d5437=>{const _0x1b583e=_0x4125cc,_0x1af5c9=this[_0x1b583e(0xba)](_0x7d5437);return _0x1af5c9&&!this[_0x1b583e(0x8d)][_0x1b583e(0x14b)](_0x1af5c9);})[_0x4125cc(0x148)]((_0x43039e,_0x3de92d)=>{const _0x52aa52=_0x4125cc;_0x43039e[_0x52aa52(0xa5)]=this[_0x52aa52(0x130)][_0x52aa52(0x123)]+_0x3de92d,this[_0x52aa52(0x15c)](_0x43039e);}),this[_0x4125cc(0x151)]()?(this[_0x4125cc(0x140)]=0x0,this[_0x4125cc(0x9c)](!0x0),await this[_0x4125cc(0x144)]()):(this[_0x4125cc(0x91)]=!0x1,this[_0x4125cc(0x13a)]());}[_0x38e931(0x13f)](_0x69870,_0x5aa649){const _0x3e6bbd=_0x38e931,_0x564a35=_0x5aa649&&_0x5aa649[_0x3e6bbd(0x11b)];if(_0x564a35&&_0x564a35[_0x3e6bbd(0x125)](_0x3e6bbd(0xfe)))throw _0x5aa649;const _0xcd4ac3=this[_0x3e6bbd(0x96)][_0x3e6bbd(0xd0)][_0x3e6bbd(0xe3)](_0x1360dd);throw this[_0x3e6bbd(0x91)]=!0x0,_0xcd4ac3[_0x3e6bbd(0x164)](),this[_0x3e6bbd(0x96)][_0x3e6bbd(0x78)](_0x3e6bbd(0x158)),new _0x42dda5(_0x69870,this[_0x3e6bbd(0x96)],_0x564a35?{'originalError':_0x564a35}:void 0x0);}[_0x38e931(0x15c)](_0x429e74){const _0x387b38=_0x38e931;this[_0x387b38(0xe8)][_0x387b38(0x14b)](_0x429e74)||(this[_0x387b38(0xe8)][_0x387b38(0x9a)](_0x429e74),this[_0x387b38(0x126)][_0x387b38(0xb4)](_0x429e74),this[_0x387b38(0xfa)]||_0x387b38(0x16b)==_0x429e74[_0x387b38(0xf2)]&&!_0x429e74[_0x387b38(0x90)]||this[_0x387b38(0x139)]());}[_0x38e931(0x9c)](_0x399b08=!0x1){const _0x2af8ea=_0x38e931;!_0x399b08&&this[_0x2af8ea(0x91)]||(this[_0x2af8ea(0x91)]=!0x0,clearTimeout(this[_0x2af8ea(0xd5)]),this[_0x2af8ea(0xd5)]=setTimeout(()=>{const _0x1e6eb0=_0x2af8ea;this[_0x1e6eb0(0x7d)]()[_0x1e6eb0(0xdd)](_0x5f02cb=>{const _0x124409=_0x1e6eb0;_0x5f02cb&&(this[_0x124409(0x13a)](),this[_0x124409(0x91)]=!0x1);})[_0x1e6eb0(0xaf)](_0x1ac76a=>{const _0x19b45e=_0x1e6eb0;this[_0x19b45e(0x13a)](),this[_0x19b45e(0x91)]=!0x1,function(_0x138646){const _0x320300=_0x19b45e;return _0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x161))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x166))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0xd7));}(_0x1ac76a)||this[_0x19b45e(0x13f)](_0x1ac76a[_0x19b45e(0x11b)],_0x1ac76a);});},this[_0x2af8ea(0x140)]));}[_0x38e931(0x144)](){return new Promise(_0x10667e=>{const _0x44f267=_0x381c;this['on'](_0x44f267(0xb6),()=>{_0x10667e();});});}async[_0x38e931(0x7d)](){const _0x16042f=_0x38e931,_0x233582=this[_0x16042f(0x96)][_0x16042f(0xd0)][_0x16042f(0xe3)](_0x1e7221);if(this[_0x16042f(0xb0)]()&&(_0x233582[_0x16042f(0x11e)](),this[_0x16042f(0x11f)]=!0x1),!this[_0x16042f(0x151)]())return!0x0;const _0x292590=[...this[_0x16042f(0x126)]];for(const _0x308817 of _0x292590)_0x308817[_0x16042f(0xee)]=this[_0x16042f(0x130)][_0x16042f(0x100)][_0x16042f(0x8a)](_0x308817);const _0x5956c4=this[_0x16042f(0xa0)][_0x16042f(0x119)](_0x292590),_0x789b5d=Q++,_0x494289=this[_0x16042f(0x111)](_0x292590),_0x191904=await this[_0x16042f(0x15b)][_0x16042f(0xf0)](_0x494289,_0x494289[_0x16042f(0xa5)],_0x5956c4);try{return await this[_0x16042f(0x15e)](_0x292590,_0x191904,_0x789b5d);}catch(_0x10557e){return this[_0x16042f(0x13f)](_0x16042f(0x83),_0x10557e);}}async[_0x38e931(0x15e)](_0x394481,_0x711cf5,_0x46a447){const _0x3a1562=_0x38e931;if(_0x3a1562(0xc9)in _0x711cf5)throw _0x711cf5[_0x3a1562(0xc9)];let _0x19d906=!0x1;if(_0x711cf5[_0x3a1562(0x13b)]){_0x711cf5[_0x3a1562(0x102)]&&(this[_0x3a1562(0xbe)]=_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0x58278d=>!_0x394481[_0x3a1562(0x11c)](_0x58278d));for(const _0x16b2e6 of _0x394481)_0x16b2e6[_0x3a1562(0xf3)]=_0x3a1562(0x12e)in _0x711cf5&&_0x711cf5[_0x3a1562(0x12e)]||void 0x0;Y(_0x394481,_0x711cf5[_0x3a1562(0x123)]-_0x394481[_0x3a1562(0xe0)]),this[_0x3a1562(0x135)](_0x394481);const _0x51d130=_0x394481[_0x3a1562(0xfc)](_0x43dfab=>{const _0x37e547=_0x3a1562;if(!_0x43dfab[_0x37e547(0x77)])return!0x1;const _0x402ebf=this[_0x37e547(0xba)](_0x43dfab);return _0x402ebf&&!this[_0x37e547(0x8d)][_0x37e547(0x14b)](_0x402ebf);});Y(_0x51d130,this[_0x3a1562(0x130)][_0x3a1562(0x123)]),this[_0x3a1562(0xd8)](_0x51d130),_0x19d906=!0x0,this[_0x3a1562(0x140)]=this[_0x3a1562(0x138)];}else{const _0x50a9c2=this[_0x3a1562(0x136)](_0x711cf5[_0x3a1562(0xa3)],_0x711cf5[_0x3a1562(0xd3)])[_0x3a1562(0xfc)](_0x2b5087=>_0x2b5087[_0x3a1562(0xa5)]>=this[_0x3a1562(0xc7)]);_0x50a9c2[_0x3a1562(0x148)](_0x4b991d=>this[_0x3a1562(0x127)](_0x4b991d)),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0xd38965=>!_0xd38965[_0x3a1562(0x77)]||!this[_0x3a1562(0x8d)][_0x3a1562(0x14b)](this[_0x3a1562(0xba)](_0xd38965))),this[_0x3a1562(0x126)][_0x3a1562(0xe0)]&&Y(this[_0x3a1562(0x126)],this[_0x3a1562(0x126)][0x0][_0x3a1562(0xa5)]),await this[_0x3a1562(0xff)](_0x50a9c2),_0x19d906=this[_0x3a1562(0x141)](_0x50a9c2,_0x711cf5[_0x3a1562(0x123)],_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x140)]=Math[_0x3a1562(0xa6)](this[_0x3a1562(0x140)]/0x2);}return _0x19d906?!this[_0x3a1562(0x151)]()||(this[_0x3a1562(0x9c)](!0x0),!0x1):this[_0x3a1562(0x13f)](_0x3a1562(0x110));}[_0x38e931(0x141)](_0x322e71,_0x5da54b,_0x4aba28){const _0x5ddd04=_0x38e931;try{const _0x1f8c0e={'document':this[_0x5ddd04(0x130)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3c95ec,operationsB:_0x44d15b,originalOperations:_0x4c974e}=_0x3ba727(_0x322e71,this[_0x5ddd04(0x126)],_0x1f8c0e);Y(_0x3c95ec,this[_0x5ddd04(0x130)][_0x5ddd04(0x123)]),Y(_0x44d15b,_0x5da54b);for(const _0x3cb375 of _0x3c95ec){const _0x4dd691=_0x4c974e[_0x5ddd04(0xe3)](_0x3cb375);_0x3cb375[_0x5ddd04(0x8c)]=_0x4dd691?_0x4dd691[_0x5ddd04(0x8c)]:null;}_0x4aba28&&(this[_0x5ddd04(0xa0)][_0x5ddd04(0x128)](_0x322e71,_0x4aba28),this[_0x5ddd04(0xbe)]=_0x4aba28),this[_0x5ddd04(0x126)]=[..._0x44d15b],this[_0x5ddd04(0xd8)](_0x3c95ec),this[_0x5ddd04(0x135)](_0x322e71);}catch(_0x1ac2ed){return console[_0x5ddd04(0xc9)](_0x1ac2ed),!0x1;}return!0x0;}[_0x38e931(0xd8)](_0x58fb5c,_0x5ea15b=!0x1){const _0x2b34c4=_0x38e931;this[_0x2b34c4(0x96)][_0x2b34c4(0x156)][_0x2b34c4(0xed)]({'isUndoable':!0x1,'isLocal':!0x1},_0xa09f37=>{const _0x352a66=_0x2b34c4;for(const _0x5f0449 of _0x58fb5c)this[_0x352a66(0xe8)][_0x352a66(0x9a)](_0x5f0449),this[_0x352a66(0x127)](_0x5f0449),_0xa09f37[_0x352a66(0x167)][_0x352a66(0x72)](_0x5f0449),this[_0x352a66(0x96)][_0x352a66(0x156)][_0x352a66(0xa9)](_0x5f0449);});}[_0x38e931(0x127)](_0x1cf4ac){const _0x12383e=_0x38e931,_0x47a2c2=this[_0x12383e(0xba)](_0x1cf4ac);_0x47a2c2&&this[_0x12383e(0x8d)][_0x12383e(0x9a)](_0x47a2c2);}[_0x38e931(0xba)](_0x163490){const _0x1c6870=_0x38e931;let _0x827233,_0x53e5eb;switch(_0x163490[_0x1c6870(0xf2)]){case _0x1c6870(0x108):_0x827233=_0x163490[_0x1c6870(0xbc)][_0x1c6870(0x13d)];break;case _0x1c6870(0x16b):if(_0x53e5eb=_0x163490[_0x1c6870(0x7b)],!_0x53e5eb)return null;_0x827233=_0x53e5eb[_0x1c6870(0x13d)];break;case _0x1c6870(0x132):_0x827233=_0x163490[_0x1c6870(0x13d)];break;case _0x1c6870(0x169):_0x827233=_0x163490[_0x1c6870(0x88)];break;case _0x1c6870(0xef):_0x827233=_0x163490[_0x1c6870(0x160)][_0x1c6870(0x13d)];break;default:return null;}return _0x827233[_0x1c6870(0xc8)];}[_0x38e931(0x135)](_0x4535bc){const _0x10bd6b=_0x38e931;_0x4535bc[_0x10bd6b(0x148)](_0x307f3e=>{const _0x3291a7=_0x10bd6b,_0x20b51d=_0x307f3e[_0x3291a7(0xae)]();_0x20b51d[_0x3291a7(0x8c)]=_0x307f3e[_0x3291a7(0x8c)],_0x20b51d[_0x3291a7(0x77)]=!!_0x307f3e[_0x3291a7(0x77)],_0x20b51d[_0x3291a7(0xf3)]=_0x307f3e[_0x3291a7(0xf3)],_0x20b51d[_0x3291a7(0xa5)]+=this[_0x3291a7(0xc3)],_0x307f3e[_0x3291a7(0x11a)]&&this[_0x3291a7(0x67)][_0x3291a7(0x9a)](_0x20b51d),this[_0x3291a7(0xe2)][_0x3291a7(0x72)](_0x20b51d);});}[_0x38e931(0x13c)](_0x3aa61e){const _0x153619=_0x38e931,_0x373ea6=this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x153619(0xb8)),_0xaccac9=this[_0x153619(0x96)][_0x153619(0x133)];_0x3aa61e||(_0x3aa61e=_0x31d992(_0xaccac9,_0x153619(0xea))),_0x373ea6[_0x153619(0x14e)](_0x3aa61e,{'title':_0x31d992(_0xaccac9,_0x153619(0x122)),'namespace':_0x153619(0x16c)}),this[_0x153619(0xf4)]=!0x0,clearTimeout(this[_0x153619(0xd5)]),this[_0x153619(0x126)]=[],this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x1360dd)[_0x153619(0x164)]();}[_0x38e931(0x139)](){const _0x28f4df=_0x38e931;this[_0x28f4df(0xfa)]||(this[_0x28f4df(0xfa)]=this[_0x28f4df(0x96)][_0x28f4df(0xd0)][_0x28f4df(0xe3)](_0x10a7a5)[_0x28f4df(0x9a)](_0x31d992(this[_0x28f4df(0x96)][_0x28f4df(0x133)],_0x28f4df(0xde))));}[_0x38e931(0x13a)](){const _0x43c8dd=_0x38e931;this[_0x43c8dd(0xfa)]&&(this[_0x43c8dd(0x96)][_0x43c8dd(0xd0)][_0x43c8dd(0xe3)](_0x10a7a5)[_0x43c8dd(0xd1)](this[_0x43c8dd(0xfa)]),this[_0x43c8dd(0xfa)]=null);}[_0x38e931(0x111)](_0x50f09a){const _0x2c5ab8=_0x38e931,_0x4d6ebf=_0x50f09a[_0x2c5ab8(0x152)](_0x19bd67=>_0x19bd67[_0x2c5ab8(0x134)]());return this[_0x2c5ab8(0x87)][_0x2c5ab8(0x118)](_0x4d6ebf);}[_0x38e931(0x136)](_0x194013,_0x199e9e){const _0x41f40b=_0x38e931;return this[_0x41f40b(0x87)][_0x41f40b(0x113)](_0x194013)[_0x41f40b(0x152)]((_0x5c290f,_0x4c07e8)=>{const _0x288cbc=_0x41f40b,_0x478e97=_0x288cbc(0xfd)==_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)];if(_0x288cbc(0xf7)==_0x5c290f[_0x288cbc(0x6c)]){const _0x244958=_0x5c290f[_0x288cbc(0xbc)][_0x288cbc(0x13d)];!this[_0x288cbc(0x130)][_0x288cbc(0xfb)](_0x244958)&&(this[_0x288cbc(0x130)][_0x288cbc(0x74)](_0x288cbc(0xb9),_0x244958)[_0x288cbc(0x93)]=!0x1);}const _0x1c63a0=_0x2352a1[_0x288cbc(0x97)](_0x5c290f,this[_0x288cbc(0x130)]);return _0x1c63a0[_0x288cbc(0xee)]=_0x5c290f[_0x288cbc(0xee)],_0x1c63a0[_0x288cbc(0x77)]=_0x478e97,_0x1c63a0[_0x288cbc(0x8c)]=_0x478e97?null:_0x199e9e[_0x4c07e8][_0x288cbc(0x7e)],_0x1c63a0[_0x288cbc(0x11a)]=_0x288cbc(0x12c)===_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)],_0x1c63a0[_0x288cbc(0xf3)]=_0x199e9e[_0x4c07e8][_0x288cbc(0xf3)],_0x1c63a0;});}[_0x38e931(0xd2)](){const _0x47477b=_0x38e931;this[_0x47477b(0x11f)]=!0x0,this[_0x47477b(0xb0)]()?this[_0x47477b(0x9c)]():this[_0x47477b(0x11f)]=!0x1;}[_0x38e931(0xb0)](){const _0x32505d=_0x38e931,_0x455821=this[_0x32505d(0x96)][_0x32505d(0xd0)][_0x32505d(0xe3)](_0x422ef6)[_0x32505d(0xc1)][_0x32505d(0xe3)](this[_0x32505d(0x8e)]);return!this[_0x32505d(0x96)][_0x32505d(0xec)]&&!!_0x455821&&_0x455821[_0x32505d(0xe0)]>0x1&&this[_0x32505d(0x11f)];}[_0x38e931(0x151)](){const _0x469269=_0x38e931;return this[_0x469269(0x126)][_0x469269(0xe0)]>0x0||this[_0x469269(0xb0)]();}}class X extends Error{}function Y(_0x5145ab,_0x19b64b){const _0x522c99=_0x38e931;for(const _0x462e87 of _0x5145ab)_0x462e87[_0x522c99(0xa5)]=_0x19b64b++;}class Z{[_0x38e931(0x68)];[_0x38e931(0x147)];constructor(_0x34a4eb){const _0x55b797=_0x38e931;this[_0x55b797(0x68)]=_0x34a4eb,this[_0x55b797(0x147)]=new WeakMap();}[_0x38e931(0x119)](_0x5d8ec2){const _0x549752=_0x38e931;let _0x3809cd=_0x5d8ec2[_0x549752(0xe0)];for(;_0x3809cd--;){const _0x3e926f=_0x5d8ec2[_0x3809cd];if(!this[_0x549752(0x68)][_0x549752(0x14b)](_0x3e926f)){if(!this[_0x549752(0x147)][_0x549752(0x14b)](_0x3e926f)){const _0x58270e=_0x552842()[_0x549752(0x117)](0x1,0x12);this[_0x549752(0x147)][_0x549752(0x11d)](_0x3e926f,_0x58270e);}return this[_0x549752(0x147)][_0x549752(0xe3)](_0x3e926f);}}}[_0x38e931(0x128)](_0x3d9e1b,_0x549544){const _0x4a7b45=_0x38e931;if(!_0x549544)return;let _0x29a2b2=_0x3d9e1b[_0x4a7b45(0xe0)];for(;_0x29a2b2--;){const _0x1b62db=_0x3d9e1b[_0x29a2b2];this[_0x4a7b45(0x68)][_0x4a7b45(0x14b)](_0x1b62db)||this[_0x4a7b45(0x147)][_0x4a7b45(0x11d)](_0x1b62db,_0x549544);}}}
23
+ const _0x1c7799=_0x3e36;function _0x3e36(_0x44aee6,_0x106bdb){const _0x329d8e=_0x329d();return _0x3e36=function(_0x3e366d,_0x17e390){_0x3e366d=_0x3e366d-0x154;let _0x30b520=_0x329d8e[_0x3e366d];return _0x30b520;},_0x3e36(_0x44aee6,_0x106bdb);}(function(_0x1488b6,_0x2bf956){const _0x99882b=_0x3e36,_0x17e9e2=_0x1488b6();while(!![]){try{const _0x114115=parseInt(_0x99882b(0x1e6))/0x1*(parseInt(_0x99882b(0x200))/0x2)+-parseInt(_0x99882b(0x180))/0x3*(-parseInt(_0x99882b(0x194))/0x4)+-parseInt(_0x99882b(0x169))/0x5+-parseInt(_0x99882b(0x20e))/0x6+parseInt(_0x99882b(0x166))/0x7*(parseInt(_0x99882b(0x179))/0x8)+-parseInt(_0x99882b(0x218))/0x9*(-parseInt(_0x99882b(0x1d1))/0xa)+-parseInt(_0x99882b(0x21c))/0xb;if(_0x114115===_0x2bf956)break;else _0x17e9e2['push'](_0x17e9e2['shift']());}catch(_0x226c23){_0x17e9e2['push'](_0x17e9e2['shift']());}}}(_0x329d,0x4ba50));import{Plugin as _0x10fe59,PendingActions as _0x12731f}from'ckeditor5/src/core.js';import{CKEditorError as _0x3af072,version as _0x59d1e6,uid as _0x4ba152}from'ckeditor5/src/utils.js';import{Notification as _0x5494b3}from'ckeditor5/src/ui.js';function _0x329d(){const _0x2a80c2=['_ignoredOperations','realtimecollaborationclient-init-connection-failed','_pendingAction','_refreshUserSelectionMarkers','_crash','9820ggTqbx','Permissions','affectsData','startsWith','cloudDocumentVersion','disableReadOnlyMode','selection','rtc-offline','unregister','suppressErrorInCollaboration','_authorId','_lastSyncedOperationId','_updateServerHistory','_isInit','from','baseVersion','lastSyncVersion','_initSessionsHandling','addToReconnectionStack','_shouldSendSelectionUpdate','_decompressOperations','11153NhJPsu','_getOperationsFromInitData','getDocumentDetails','root','filter','requires','error','addRootAttribute','fromJSON','listenTo','realtimecollaborationclient-init-service-internal-error','affectedSelectable','state','map','_loadRoot','Synchronization\x20issue','channelSessions','collaboration.channelId','locale','_connectService','Notification','position','stop','document','directChange','_service','66esScvv','_isConnected','_isAttached','off','sessionCreatedAt','createUserMarkerOperations','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','wasUndone','_clearPendingAction','bind','isEnabled','wereChangesApplied','define','2163210tSwSOQ','realtimecollaborationclient-init-session-connection-error','newRange','decompress','disconnect','reconnection:\x20flushed\x20session','getOperationAuthor','slice','config','markers','4788fIYRHy','editing','getConnectedSessions','loadRoot','2446499HndPjm','_knownOperations','attributes','toJSON','_fetchMissingUsers','CollaborativeEditingService','realtimecollaborationclient','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','data','enqueueChange','RealTimeCollaborationClient','cloud-services-internal-error:\x20Request\x20timeout.','version','batch','getUser','catch','_compressor','serverHistory','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-handleserverresponse','set','change:range','_lastServerVersion','insert','getRoot','init','offset','_hasSynchronizationProblem','targetPosition','_isPendingUpdate','_bufferedOperations','_handleSendingSelectionMarkers','currentDocumentSession','initData','isPremiumPlugin','connected','get','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.','register','cloudServices.bundleVersion','finally','createRoot','reset','_sendBufferedOperations','collaboration-missing-channelid','_hasSelectionChanged','_handleReceivedOperations','_channelId','createPositionFromPath','_disconnectService','start','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','model','applyOperation','_disconnectionOperations','_sendBufferedOperationsDelayId','createPositionAt','_handleExternalOperations','apply','_handleReconnectionResponse','CommentsOnly','getMany','remove','view','_knownRootNames','rootName','lastOperationId','return','editor','move','mySessionId','message','$root','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','showWarning','history','14MUlDYN','createdAt','addUser','1526370IxlhaS','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rootsAttributes','operationsReceived','_sendBufferedOperationsDelayed','addRoot','_handleInitialConnectionData','_document','_applyOperationsSet','isReadOnly','then','_isLoaded','lastDocumentSession','code','fire','_currentBufferDelay','494152RHprAS','_bufferRootLoad','_waitUntilSynced','clone','destroy','realtimecollaborationclient-error','reconnect','93HuasZJ','cs:removeUser','stopListening','_baseBufferDelay','_getAffectedRoot','lastOperationAcceptedAt','parse','cloud-services-internal-error:\x20Not\x20connected.','404','high','_operationToId','marker','realtimecollaborationclient-init-non-existent-root','setPermissions','includes','permissions','end','add','getIdOfTheLastOperation','has','23748BZqLXT','sessionAdd:','_isDisconnection','keys','pluginName','realtimecollaborationclient-sendbufferedoperations','connect','_handleReconnectionError','isUndoneOperation','type','isDocumentOperation','metadata','change:_isPendingUpdate','userId','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.','__className','_handleServerResponse','isOfficialPlugin','rtc-destroyed','connection','forEach','_compressOperations','roots','differ','409','InsertOperation','real-time-collaboration','setIdForTheLastOperation','removeFromReconnectionStack','_saveOperationInBuffer','path','change:hasDomSelection','_addKnownRoot','_setPendingAction','length','compress','_offset','ready','getOperations','entries','push','disconnected','plugins','sessionId','document:write','sendOperations','_setUpDataInit','_operationIdentifier','_shouldSendUpdate','collaboration','createRange','enableReadOnlyMode','multi-root-editor-root-attributes-no-root','_connectAfterSessionHasBeenFlushed','string','round'];_0x329d=function(){return _0x2a80c2;};return _0x329d();}import{transformOperationSets as _0x8985f5,NoOperation as _0x379d05,InsertOperation as _0x304e12,MarkerOperation as _0x196036,RootAttributeOperation as _0x1e264f,OperationFactory as _0x5b6ba9,History as _0x276d6e}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x21506e}from'./websocketgateway.js';import{Sessions as _0x48d6c0}from'./sessions.js';import{UserMarkers as _0x4b64bd}from'./usermarkers.js';import{getTranslation as _0x1513a6}from'../common-translations.js';import{Compressor as _0xf76f5d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1fb8a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb2772,CollaborativeEditingService as _0x11613d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x10fe59{static [_0x1c7799(0x221)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x11613d)());[_0x1c7799(0x1b8)];[_0x1c7799(0x1bf)];[_0x1c7799(0x22e)];[_0x1c7799(0x24c)];[_0x1c7799(0x1ff)];[_0x1c7799(0x170)];[_0x1c7799(0x22d)];[_0x1c7799(0x23b)];[_0x1c7799(0x21d)];[_0x1c7799(0x157)];[_0x1c7799(0x1ce)];[_0x1c7799(0x24a)];[_0x1c7799(0x255)];[_0x1c7799(0x183)];[_0x1c7799(0x178)];[_0x1c7799(0x1dc)];[_0x1c7799(0x254)];[_0x1c7799(0x1c3)];static get[_0x1c7799(0x1eb)](){return[_0x21506e,_0x48d6c0,_0x4b64bd,_0x12731f,_0x1fb8a9,_0x5494b3];}static get[_0x1c7799(0x198)](){const _0x12b855=_0x1c7799;return _0x12b855(0x227);}static get[_0x1c7799(0x1a5)](){return!0x0;}static get[_0x1c7799(0x23f)](){return!0x0;}get[_0x1c7799(0x1d5)](){const _0x4df81a=_0x1c7799;return this[_0x4df81a(0x233)]+this[_0x4df81a(0x1b8)];}get[_0x1c7799(0x233)](){const _0x5a1c47=_0x1c7799;return this[_0x5a1c47(0x22e)][_0x5a1c47(0x229)]-this[_0x5a1c47(0x1b8)];}get[_0x1c7799(0x1e1)](){const _0x399d96=_0x1c7799,_0x3bee37=this[_0x399d96(0x22e)][_0x399d96(0x1ba)]();for(let _0x514ca9=_0x3bee37[_0x399d96(0x1b6)]-0x1;_0x514ca9>=0x0;_0x514ca9--){const _0x3fb942=_0x3bee37[_0x514ca9];if(!this[_0x399d96(0x254)][_0x399d96(0x193)](_0x3fb942))return _0x3fb942[_0x399d96(0x1e0)]+0x1-this[_0x399d96(0x1b8)];}return 0x0;}constructor(_0x52aae7){const _0x5abdf8=_0x1c7799;if(super(_0x52aae7),this[_0x5abdf8(0x1b8)]=0x0,this[_0x5abdf8(0x1bf)]=null,this[_0x5abdf8(0x22e)]=new _0x276d6e(),this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x20d)](_0x5abdf8(0x1c5),{}),this[_0x5abdf8(0x24c)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x1f7)),!this[_0x5abdf8(0x24c)])throw new _0x3af072(_0x5abdf8(0x249),this);const _0x47f0bb=_0x52aae7[_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x244))||_0x59d1e6;this[_0x5abdf8(0x1ff)]=new RealTimeCollaborationClient[(_0x5abdf8(0x221))](_0x47f0bb,this[_0x5abdf8(0x24c)]),this[_0x5abdf8(0x170)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x252)][_0x5abdf8(0x1fd)],this[_0x5abdf8(0x22d)]=new _0xf76f5d(),this[_0x5abdf8(0x23b)]=[],this[_0x5abdf8(0x21d)]=new WeakSet(),this[_0x5abdf8(0x157)]=new Set(),this[_0x5abdf8(0x231)](_0x5abdf8(0x23a),!0x1),this[_0x5abdf8(0x231)](_0x5abdf8(0x238),!0x1),this[_0x5abdf8(0x1ce)]=null,this[_0x5abdf8(0x24a)]=!0x1,this[_0x5abdf8(0x255)]=null,this[_0x5abdf8(0x183)]=0x12c,this[_0x5abdf8(0x178)]=this[_0x5abdf8(0x183)],this[_0x5abdf8(0x1dc)]=null,this[_0x5abdf8(0x254)]=new WeakSet(),this[_0x5abdf8(0x1c3)]=new J(this[_0x5abdf8(0x254)]);}[_0x1c7799(0x236)](){const _0x131600=_0x1c7799,_0x401883=this[_0x131600(0x15b)],_0x422ed4=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x1fb8a9),_0x42ae68=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x21506e);this[_0x131600(0x1ef)](_0x422ed4,_0x131600(0x214),(_0x2ff0a6,_0x340322)=>{const _0x545898=_0x131600,_0x181640=_0x340322[0x0];_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=_0x422ed4[_0x545898(0x22b)](_0x181640[_0x545898(0x1db)]),_0x2ff0a6[_0x545898(0x1fc)]()),null===_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=null,_0x2ff0a6[_0x545898(0x1fc)]());},{'priority':_0x131600(0x189)}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x252)][_0x131600(0x1fd)][_0x131600(0x1d7)],_0x131600(0x232),(_0x23e89b,_0x2a1733)=>{const _0xec2a0a=_0x131600;_0x2a1733[_0xec2a0a(0x1fe)]&&this[_0xec2a0a(0x1cf)]();}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x219)][_0x131600(0x156)],_0x131600(0x1b3),()=>{const _0x46253d=_0x131600;this[_0x46253d(0x1cf)]();}),this[_0x131600(0x160)](),_0x401883[_0x131600(0x252)]['on'](_0x131600(0x253),(_0x24a811,_0x1e5050)=>{const _0x180036=_0x131600,_0x3f1756=_0x1e5050[0x0];_0x3f1756[_0x180036(0x19e)]&&(this[_0x180036(0x1b1)](_0x3f1756),this[_0x180036(0x1c4)]()&&this[_0x180036(0x16d)]());}),this[_0x131600(0x1c2)](),this[_0x131600(0x20a)](_0x131600(0x250))['to'](_0x42ae68,_0x131600(0x1f2),this,_0x131600(0x238),(_0x472076,_0x42803f)=>_0x131600(0x240)===_0x472076&&!_0x42803f),this['on'](_0x131600(0x207),()=>{const _0x5740f=_0x131600;this[_0x5740f(0x250)]?_0x401883[_0x5740f(0x1d6)](_0x5740f(0x1d8)):_0x401883[_0x5740f(0x1c7)](_0x5740f(0x1d8));}),this[_0x131600(0x250)]?_0x401883[_0x131600(0x1d6)](_0x131600(0x1d8)):_0x401883[_0x131600(0x1c7)](_0x131600(0x1d8)),this[_0x131600(0x231)](_0x131600(0x201),!0x1);}async[_0x1c7799(0x17f)](){const _0x2a672b=_0x1c7799,_0x967a41=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x48d6c0),_0x446d12=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x21506e);try{this[_0x2a672b(0x23a)]=!0x0,_0x967a41[_0x2a672b(0x1d9)](this[_0x2a672b(0x24c)]);const _0x13a4a5=await this[_0x2a672b(0x1ff)][_0x2a672b(0x17f)](_0x446d12[_0x2a672b(0x1a7)],this[_0x2a672b(0x1e1)]);await this[_0x2a672b(0x259)](_0x13a4a5)&&(this[_0x2a672b(0x23a)]=!0x1,this[_0x2a672b(0x209)]());const _0x115593=await this[_0x2a672b(0x1ff)][_0x2a672b(0x21a)]();_0x967a41[_0x2a672b(0x243)](this[_0x2a672b(0x24c)],_0x115593),this[_0x2a672b(0x23c)](),this[_0x2a672b(0x201)]=!0x0;}catch(_0x5e6a4c){if(function(_0x1c42c3){const _0x1f0ca5=_0x2a672b;return _0x1f0ca5(0x188)===_0x1c42c3[_0x1f0ca5(0x176)];}(_0x5e6a4c)&&this[_0x2a672b(0x1bf)])await this[_0x2a672b(0x1c9)]();else{if(function(_0x216707){const _0x30c373=_0x2a672b;return _0x30c373(0x1ac)===_0x216707[_0x30c373(0x176)];}(_0x5e6a4c)){const _0x8be9dd=_0x1513a6(this[_0x2a672b(0x15b)][_0x2a672b(0x1f8)],_0x2a672b(0x223));this[_0x2a672b(0x19b)](_0x8be9dd);}else{if(!(_0x5e6a4c instanceof $))throw _0x5e6a4c;this[_0x2a672b(0x19b)]();}}}}[_0x1c7799(0x17d)](){const _0x3d564b=_0x1c7799,_0x1b590a=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x21506e),_0x5c7172=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x48d6c0);this[_0x3d564b(0x15b)][_0x3d564b(0x1c7)](_0x3d564b(0x1a6)),_0x5c7172[_0x3d564b(0x1f6)][_0x3d564b(0x193)](this[_0x3d564b(0x24c)])&&_0x5c7172[_0x3d564b(0x1d9)](this[_0x3d564b(0x24c)]),_0x1b590a[_0x3d564b(0x1b0)](this),this[_0x3d564b(0x24e)](),super[_0x3d564b(0x17d)]();}async[_0x1c7799(0x259)](_0xf15cb3){const _0x653dfa=_0x1c7799;if(this[_0x653dfa(0x1bf)]!==_0xf15cb3[_0x653dfa(0x1bf)]&&this[_0x653dfa(0x1dc)]!==_0xf15cb3[_0x653dfa(0x159)])throw new $();return this[_0x653dfa(0x1bf)]=_0xf15cb3[_0x653dfa(0x1bf)],this[_0x653dfa(0x1a4)]([],{..._0xf15cb3,'wereChangesApplied':!0x1,'data':_0xf15cb3[_0x653dfa(0x225)]},_0x653dfa(0x17f));}async[_0x1c7799(0x1f9)](_0x5b2945,_0x4ce61e=!0x1){const _0x2ae1d0=_0x1c7799,{connection:_0x59d2fc}=this[_0x2ae1d0(0x15b)][_0x2ae1d0(0x1be)][_0x2ae1d0(0x241)](_0x21506e);RealTimeCollaborationClient[_0x2ae1d0(0x221)][_0x2ae1d0(0x21a)](_0x59d2fc,this[_0x2ae1d0(0x24c)])[_0x2ae1d0(0x173)](_0x51179e=>this[_0x2ae1d0(0x1e2)](_0x51179e))[_0x2ae1d0(0x22c)](_0x2af2fd=>{const _0x229089=_0x2ae1d0;this[_0x229089(0x1d0)](_0x229089(0x20f),_0x2af2fd);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x16c),this[_0x2ae1d0(0x24b)][_0x2ae1d0(0x20a)](this)),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1ec),(_0x123c35,_0x3c247f)=>{const _0x16b82e=_0x2ae1d0;this[_0x16b82e(0x1d0)](_0x16b82e(0x1f0),_0x3c247f);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1bd),()=>{const _0x328de7=_0x2ae1d0;this[_0x328de7(0x201)]=!0x1;});const _0xf7f257=this[_0x2ae1d0(0x1c3)][_0x2ae1d0(0x192)](_0x5b2945);this[_0x2ae1d0(0x23a)]=!0x0;const _0x79934=await this[_0x2ae1d0(0x1ff)][_0x2ae1d0(0x19a)](_0x59d2fc,this[_0x2ae1d0(0x1a9)](_0x5b2945),_0xf7f257);if(this[_0x2ae1d0(0x1bf)]=_0x79934[_0x2ae1d0(0x1bf)],_0x4ce61e){if(!_0x79934[_0x2ae1d0(0x20c)])return void this[_0x2ae1d0(0x19b)]();this[_0x2ae1d0(0x23a)]=!0x1,this[_0x2ae1d0(0x209)](),this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x247)](),this[_0x2ae1d0(0x1b8)]=_0x79934[_0x2ae1d0(0x237)],this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x229)]=this[_0x2ae1d0(0x1b8)],await this[_0x2ae1d0(0x1a4)](_0x5b2945,_0x79934,_0x2ae1d0(0x213));}else await this[_0x2ae1d0(0x16f)](_0x79934,_0x5b2945);this[_0x2ae1d0(0x23c)](),this[_0x2ae1d0(0x201)]=!0x0;}[_0x1c7799(0x23c)](){const _0x435a3e=_0x1c7799,_0x1faa8e=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x48d6c0),_0x19719f=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x4b64bd),_0x542158=_0x1faa8e[_0x435a3e(0x1f6)][_0x435a3e(0x241)](this[_0x435a3e(0x24c)]);_0x542158&&_0x542158[_0x435a3e(0x1b6)]>0x1?_0x19719f[_0x435a3e(0x205)]():this[_0x435a3e(0x1ef)](_0x1faa8e,_0x435a3e(0x195)+this[_0x435a3e(0x24c)],()=>{const _0x5b0f32=_0x435a3e;0x2===_0x1faa8e[_0x5b0f32(0x1f6)][_0x5b0f32(0x241)](this[_0x5b0f32(0x24c)])[_0x5b0f32(0x1b6)]&&_0x19719f[_0x5b0f32(0x205)]();});}async[_0x1c7799(0x24b)](_0x250bab,_0x548cb2,_0x89765d,_0x1665b8){const _0x4de551=_0x1c7799;if(!this[_0x4de551(0x23a)]&&this[_0x4de551(0x170)][_0x4de551(0x229)]==_0x548cb2){const _0x409b7f=this[_0x4de551(0x1e5)](_0x89765d,_0x1665b8);await this[_0x4de551(0x220)](_0x409b7f),this[_0x4de551(0x257)](_0x409b7f,_0x548cb2,_0x89765d[_0x4de551(0x159)])||this[_0x4de551(0x1d0)](_0x4de551(0x22f));}}async[_0x1c7799(0x1c9)](){const _0x32ee17=_0x1c7799;this[_0x32ee17(0x24e)]();const {locale:_0x15c105}=this[_0x32ee17(0x15b)];let _0x21ba83;try{_0x21ba83=await this[_0x32ee17(0x1ff)][_0x32ee17(0x1e8)]();}catch{const _0x1d7dd7=_0x1513a6(_0x15c105,_0x32ee17(0x161));return void this[_0x32ee17(0x19b)](_0x1d7dd7);}const _0x207c05=_0x21ba83[_0x32ee17(0x23d)]||_0x21ba83[_0x32ee17(0x175)];if(this[_0x32ee17(0x1dc)]!==_0x207c05[_0x32ee17(0x159)]){const _0x1bb9fc=_0x1513a6(_0x15c105,_0x32ee17(0x1a2));return void this[_0x32ee17(0x19b)](_0x1bb9fc);}await this[_0x32ee17(0x1f9)](this[_0x32ee17(0x15b)][_0x32ee17(0x252)][_0x32ee17(0x1fd)][_0x32ee17(0x165)][_0x32ee17(0x1ba)](),!0x0);}[_0x1c7799(0x24e)](){const _0x413f79=_0x1c7799;this[_0x413f79(0x1ff)][_0x413f79(0x212)](),this[_0x413f79(0x23b)]=[],clearTimeout(this[_0x413f79(0x255)]),this[_0x413f79(0x182)](this[_0x413f79(0x1ff)]);}[_0x1c7799(0x1e2)](_0x1197e1){const _0x2def6f=_0x1c7799,_0x17a7c7=this[_0x2def6f(0x15b)][_0x2def6f(0x1be)][_0x2def6f(0x241)](_0x48d6c0);this[_0x2def6f(0x1ef)](_0x17a7c7,_0x2def6f(0x195)+this[_0x2def6f(0x24c)],(_0x1a10bc,{session:_0x58b224})=>{const _0x198814=_0x2def6f;if(_0x58b224['id']===_0x17a7c7[_0x198814(0x15d)]){_0x1a10bc[_0x198814(0x203)]();const _0x15700e=this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x193)](_0x198814(0x25a))&&this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x25a));let _0x6d9ff8=_0x58b224[_0x198814(0x18f)];_0x15700e&&_0x15700e[_0x198814(0x20b)]&&(_0x6d9ff8=_0x6d9ff8[_0x198814(0x1ea)](_0x8418d0=>_0x198814(0x1c0)!==_0x8418d0)),this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x1d2))[_0x198814(0x18d)](_0x6d9ff8,this[_0x198814(0x24c)]);}}),_0x17a7c7[_0x2def6f(0x243)](this[_0x2def6f(0x24c)],_0x1197e1);}[_0x1c7799(0x160)](){const _0x297623=_0x1c7799,_0x299a28=this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)];this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)]=(..._0x12166b)=>{const _0x3ace01=_0x297623;if(!_0x12166b[_0x12166b[_0x3ace01(0x1b6)]-0x1][_0x3ace01(0x1da)])throw new _0x3af072(_0x3ace01(0x163),this);_0x299a28[_0x3ace01(0x258)](this[_0x3ace01(0x15b)][_0x3ace01(0x225)],_0x12166b);};}[_0x1c7799(0x1c2)](){const _0x507391=_0x1c7799;this[_0x507391(0x15b)][_0x507391(0x225)]['on'](_0x507391(0x236),(_0x13ffb7,[_0x3c78f4])=>{const _0xafe661=_0x507391;if(this[_0xafe661(0x170)][_0xafe661(0x229)])throw new _0x3af072(_0xafe661(0x206),this);_0x13ffb7[_0xafe661(0x1fc)](),this[_0xafe661(0x1b5)]();const _0x14520d=this[_0xafe661(0x15b)][_0xafe661(0x216)][_0xafe661(0x241)](_0xafe661(0x16b)),_0xcf3e2c=this[_0xafe661(0x1e7)](_0x3c78f4,_0x14520d);0x0==_0xcf3e2c[_0xafe661(0x1b6)]&&_0xcf3e2c[_0xafe661(0x1bc)](new _0x379d05(0x0)),_0x13ffb7[_0xafe661(0x15a)]=this[_0xafe661(0x1f9)](_0xcf3e2c)[_0xafe661(0x173)](()=>{const _0x233281=_0xafe661;this[_0x233281(0x15b)][_0x233281(0x1be)][_0x233281(0x241)](_0x21506e)[_0x233281(0x1e3)](this),this[_0x233281(0x15b)][_0x233281(0x225)][_0x233281(0x177)](_0x233281(0x1b9));})[_0xafe661(0x22c)](_0xb00d9a=>this[_0xafe661(0x1d0)](_0xafe661(0x1cd),_0xb00d9a))[_0xafe661(0x245)](()=>this[_0xafe661(0x209)]());},{'priority':_0x507391(0x189)}),this[_0x507391(0x15b)]['on'](_0x507391(0x21b),async(_0x4b55eb,[_0x1a700e,_0x5f0ae7])=>{const _0x450d9c=_0x507391;_0x4b55eb[_0x450d9c(0x1fc)]();const _0x592f1f=this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x1fd)][_0x450d9c(0x235)](_0x1a700e);if(!this[_0x450d9c(0x157)][_0x450d9c(0x193)](_0x1a700e)){const _0x2cfeda=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x225)]?_0x5f0ae7[_0x450d9c(0x225)]:'',_0x3d5286=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x21e)]?_0x5f0ae7[_0x450d9c(0x21e)]:{};await this[_0x450d9c(0x1f4)](_0x1a700e,_0x2cfeda,_0x3d5286);}this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x226)]({'isUndoable':!0x1},()=>{const _0x185818=_0x450d9c;_0x592f1f[_0x185818(0x174)]=!0x0,this[_0x185818(0x15b)][_0x185818(0x252)][_0x185818(0x1fd)][_0x185818(0x1ab)][_0x185818(0x17a)](_0x592f1f);});},{'priority':_0x507391(0x189)});}async[_0x1c7799(0x220)](_0x1dfe7a){const _0x58716f=_0x1c7799,_0x30d827=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x1fb8a9),{connection:_0x23cf1b}=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x21506e),_0x4c7a98=new Set();for(const _0xa9dba6 of _0x1dfe7a){const _0x22cdec=_0xa9dba6[_0x58716f(0x1db)];_0x22cdec&&!_0x30d827[_0x58716f(0x22b)](_0x22cdec)&&_0x4c7a98[_0x58716f(0x191)](_0x22cdec);}if(0x0===_0x4c7a98[_0x58716f(0x224)])return;const _0x5222a2=await _0xb2772[_0x58716f(0x154)](_0x23cf1b,Array[_0x58716f(0x1df)](_0x4c7a98));for(const _0x2c5f11 of _0x5222a2)_0x30d827[_0x58716f(0x22b)](_0x2c5f11['id'])||_0x30d827[_0x58716f(0x168)](_0x2c5f11);}[_0x1c7799(0x1e7)](_0x3fb965,_0x45c69d={}){const _0x56c72e=_0x1c7799,_0x436fbe=this[_0x56c72e(0x15b)][_0x56c72e(0x252)],_0x4bf7f1=[];let _0x2a2b2f=0x0;const _0x487d62=_0x56c72e(0x1ca)==typeof _0x3fb965?{'main':_0x3fb965}:_0x3fb965;for(const _0x25ca53 of Object[_0x56c72e(0x197)](_0x487d62)){if(!this[_0x56c72e(0x170)][_0x56c72e(0x1aa)][_0x56c72e(0x193)](_0x25ca53))throw new _0x3af072(_0x56c72e(0x18c),this);const _0x2ce783=this[_0x56c72e(0x15b)][_0x56c72e(0x225)][_0x56c72e(0x186)](_0x487d62[_0x25ca53]),_0x5b9e32=this[_0x56c72e(0x170)][_0x56c72e(0x235)](_0x25ca53),_0x1bbbd3=new _0x304e12(_0x436fbe[_0x56c72e(0x256)](_0x5b9e32,0x0),_0x2ce783,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x1bbbd3);for(const [_0x51a2c9,_0x29d2aa]of _0x2ce783[_0x56c72e(0x217)]){const _0x1ccf5c=_0x436fbe[_0x56c72e(0x1c6)](_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x24f)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]()),_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x190)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]())),_0x293b5d=new _0x196036(_0x51a2c9,null,_0x1ccf5c,_0x436fbe[_0x56c72e(0x217)],!0x0,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x293b5d);}}if(_0x45c69d)for(const [_0x46d681,_0x31c184]of Object[_0x56c72e(0x1bb)](_0x45c69d)){const _0x357207=_0x436fbe[_0x56c72e(0x1fd)][_0x56c72e(0x235)](_0x46d681);if(!_0x357207)throw new _0x3af072(_0x56c72e(0x1c8),null);for(const [_0x22392e,_0xffb429]of Object[_0x56c72e(0x1bb)](_0x31c184))if(null!==_0xffb429){const _0x880a59=new _0x1e264f(_0x357207,_0x22392e,null,_0xffb429,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x880a59);}}return _0x4bf7f1;}async[_0x1c7799(0x1f4)](_0x1c28a6,_0xd2f3fe,_0x24246e){const _0x2f2873=_0x1c7799;this[_0x2f2873(0x1e7)]({[_0x1c28a6]:_0xd2f3fe},{[_0x1c28a6]:_0x24246e})[_0x2f2873(0x1a8)]((_0x470cdc,_0x20a5dc)=>{const _0x5c6f8f=_0x2f2873;_0x470cdc[_0x5c6f8f(0x1e0)]=this[_0x5c6f8f(0x170)][_0x5c6f8f(0x229)]+_0x20a5dc,_0x470cdc[_0x5c6f8f(0x1de)]=!0x0,this[_0x5c6f8f(0x1b1)](_0x470cdc);}),this[_0x2f2873(0x16d)](),await this[_0x2f2873(0x17b)]();}async[_0x1c7799(0x16f)](_0x66062a,_0x225766){const _0x4bb44a=_0x1c7799;let _0xfbe1db;this[_0x4bb44a(0x1b8)]=_0x66062a[_0x4bb44a(0x237)];const _0x4be425=_0x66062a[_0x4bb44a(0x20c)]&&!_0x66062a[_0x4bb44a(0x23e)],_0x238f53=_0x4be425?0x0:_0x66062a[_0x4bb44a(0x225)][_0x4bb44a(0x1e0)];if(_0x225766[_0x4bb44a(0x1a8)](_0x1b65ef=>{const _0x5c5cc2=_0x4bb44a;_0x1b65ef[_0x5c5cc2(0x1de)]=!0x0,_0x1b65ef[_0x5c5cc2(0x167)]=_0x66062a[_0x5c5cc2(0x204)],_0x1b65ef[_0x5c5cc2(0x1db)]=null;}),_0x4be425)_0xfbe1db=_0x225766,this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);else{if(_0x66062a[_0x4bb44a(0x23e)]){const _0x1103f1=this[_0x4bb44a(0x1e7)](_0x66062a[_0x4bb44a(0x23e)]);this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)],_0x1103f1[_0x4bb44a(0x1a8)](_0x13f2bc=>{const _0x257002=_0x4bb44a;_0x13f2bc[_0x257002(0x1e0)]-=_0x1103f1[_0x257002(0x1b6)],_0x13f2bc[_0x257002(0x167)]=_0x66062a[_0x257002(0x204)],_0x13f2bc[_0x257002(0x1de)]=!0x0,_0x13f2bc[_0x257002(0x1db)]=null;}),this[_0x4bb44a(0x171)](_0x1103f1,!0x0),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)]+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0x1103f1);}this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=_0x238f53,_0xfbe1db=this[_0x4bb44a(0x1e5)](_0x66062a[_0x4bb44a(0x225)],_0x66062a[_0x4bb44a(0x19f)]),await this[_0x4bb44a(0x220)](_0xfbe1db),this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);}_0x66062a[_0x4bb44a(0x159)]&&(this[_0x4bb44a(0x1c3)][_0x4bb44a(0x1af)](_0xfbe1db,_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x1dc)]=_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=_0x238f53+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0xfbe1db),_0x225766[_0x4bb44a(0x1ea)](_0x466cef=>{const _0x22057b=_0x4bb44a,_0x5569bf=this[_0x22057b(0x184)](_0x466cef);return _0x5569bf&&!this[_0x22057b(0x157)][_0x22057b(0x193)](_0x5569bf);})[_0x4bb44a(0x1a8)]((_0x1f47a3,_0x4a35b6)=>{const _0x385dae=_0x4bb44a;_0x1f47a3[_0x385dae(0x1e0)]=this[_0x385dae(0x170)][_0x385dae(0x229)]+_0x4a35b6,this[_0x385dae(0x1b1)](_0x1f47a3);}),this[_0x4bb44a(0x1c4)]()?(this[_0x4bb44a(0x178)]=0x0,this[_0x4bb44a(0x16d)](!0x0),await this[_0x4bb44a(0x17b)]()):(this[_0x4bb44a(0x23a)]=!0x1,this[_0x4bb44a(0x209)]());}[_0x1c7799(0x1d0)](_0x2d6cae,_0x2d5e7a){const _0x47d4a3=_0x1c7799,_0x3ca6ec=_0x2d5e7a&&_0x2d5e7a[_0x47d4a3(0x15e)];if(_0x3ca6ec&&_0x3ca6ec[_0x47d4a3(0x1d4)](_0x47d4a3(0x222)))throw _0x2d5e7a;const _0x5c491e=this[_0x47d4a3(0x15b)][_0x47d4a3(0x1be)][_0x47d4a3(0x241)](_0x21506e);throw this[_0x47d4a3(0x23a)]=!0x0,_0x5c491e[_0x47d4a3(0x212)](),this[_0x47d4a3(0x15b)][_0x47d4a3(0x1c7)](_0x47d4a3(0x17e)),new _0x3af072(_0x2d6cae,this[_0x47d4a3(0x15b)],_0x3ca6ec?{'originalError':_0x3ca6ec}:void 0x0);}[_0x1c7799(0x1b1)](_0x1d5648){const _0x148c45=_0x1c7799;this[_0x148c45(0x21d)][_0x148c45(0x193)](_0x1d5648)||(this[_0x148c45(0x21d)][_0x148c45(0x191)](_0x1d5648),this[_0x148c45(0x23b)][_0x148c45(0x1bc)](_0x1d5648),this[_0x148c45(0x1ce)]||_0x148c45(0x18b)==_0x1d5648[_0x148c45(0x19d)]&&!_0x1d5648[_0x148c45(0x1d3)]||this[_0x148c45(0x1b5)]());}[_0x1c7799(0x16d)](_0x34157b=!0x1){const _0x3d3214=_0x1c7799;!_0x34157b&&this[_0x3d3214(0x23a)]||(this[_0x3d3214(0x23a)]=!0x0,clearTimeout(this[_0x3d3214(0x255)]),this[_0x3d3214(0x255)]=setTimeout(()=>{const _0x5aa2c9=_0x3d3214;this[_0x5aa2c9(0x248)]()[_0x5aa2c9(0x173)](_0x540dc2=>{const _0x1cccc3=_0x5aa2c9;_0x540dc2&&(this[_0x1cccc3(0x209)](),this[_0x1cccc3(0x23a)]=!0x1);})[_0x5aa2c9(0x22c)](_0x188987=>{const _0x131cfa=_0x5aa2c9;this[_0x131cfa(0x209)](),this[_0x131cfa(0x23a)]=!0x1,function(_0x56c29c){const _0x274ddc=_0x131cfa;return _0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x187))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x16a))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x228));}(_0x188987)||this[_0x131cfa(0x1d0)](_0x188987[_0x131cfa(0x15e)],_0x188987);});},this[_0x3d3214(0x178)]));}[_0x1c7799(0x17b)](){return new Promise(_0x1fe0ba=>{const _0x4b3be4=_0x3e36;this['on'](_0x4b3be4(0x1a0),()=>{_0x1fe0ba();});});}async[_0x1c7799(0x248)](){const _0x10fff6=_0x1c7799,_0x53a5ec=this[_0x10fff6(0x15b)][_0x10fff6(0x1be)][_0x10fff6(0x241)](_0x4b64bd);if(this[_0x10fff6(0x1e4)]()&&(_0x53a5ec[_0x10fff6(0x205)](),this[_0x10fff6(0x24a)]=!0x1),!this[_0x10fff6(0x1c4)]())return!0x0;const _0x855f31=[...this[_0x10fff6(0x23b)]];for(const _0x42e0e7 of _0x855f31)_0x42e0e7[_0x10fff6(0x208)]=this[_0x10fff6(0x170)][_0x10fff6(0x165)][_0x10fff6(0x19c)](_0x42e0e7);const _0x145a60=this[_0x10fff6(0x1c3)][_0x10fff6(0x192)](_0x855f31),_0x3a10f1=G++,_0x589a73=this[_0x10fff6(0x1a9)](_0x855f31),_0x491c8c=await this[_0x10fff6(0x1ff)][_0x10fff6(0x1c1)](_0x589a73,_0x589a73[_0x10fff6(0x1e0)],_0x145a60);try{return await this[_0x10fff6(0x1a4)](_0x855f31,_0x491c8c,_0x3a10f1);}catch(_0xc05604){return this[_0x10fff6(0x1d0)](_0x10fff6(0x199),_0xc05604);}}async[_0x1c7799(0x1a4)](_0x8ea758,_0xa5e2cf,_0x415057){const _0x5bd372=_0x1c7799;if(_0x5bd372(0x1ec)in _0xa5e2cf)throw _0xa5e2cf[_0x5bd372(0x1ec)];let _0x1c685d=!0x1;if(_0xa5e2cf[_0x5bd372(0x20c)]){_0xa5e2cf[_0x5bd372(0x159)]&&(this[_0x5bd372(0x1dc)]=_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x206cc6=>!_0x8ea758[_0x5bd372(0x18e)](_0x206cc6));for(const _0x548177 of _0x8ea758)_0x548177[_0x5bd372(0x167)]=_0x5bd372(0x185)in _0xa5e2cf&&_0xa5e2cf[_0x5bd372(0x185)]||void 0x0;K(_0x8ea758,_0xa5e2cf[_0x5bd372(0x229)]-_0x8ea758[_0x5bd372(0x1b6)]),this[_0x5bd372(0x1dd)](_0x8ea758);const _0x378851=_0x8ea758[_0x5bd372(0x1ea)](_0xf6951e=>{const _0x5f3ed4=_0x5bd372;if(!_0xf6951e[_0x5f3ed4(0x1de)])return!0x1;const _0x52de88=this[_0x5f3ed4(0x184)](_0xf6951e);return _0x52de88&&!this[_0x5f3ed4(0x157)][_0x5f3ed4(0x193)](_0x52de88);});K(_0x378851,this[_0x5bd372(0x170)][_0x5bd372(0x229)]),this[_0x5bd372(0x171)](_0x378851),_0x1c685d=!0x0,this[_0x5bd372(0x178)]=this[_0x5bd372(0x183)];}else{const _0x32da26=this[_0x5bd372(0x1e5)](_0xa5e2cf[_0x5bd372(0x225)],_0xa5e2cf[_0x5bd372(0x19f)])[_0x5bd372(0x1ea)](_0x1e2d44=>_0x1e2d44[_0x5bd372(0x1e0)]>=this[_0x5bd372(0x233)]);_0x32da26[_0x5bd372(0x1a8)](_0x1ffa21=>this[_0x5bd372(0x1b4)](_0x1ffa21)),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x23022b=>!_0x23022b[_0x5bd372(0x1de)]||!this[_0x5bd372(0x157)][_0x5bd372(0x193)](this[_0x5bd372(0x184)](_0x23022b))),this[_0x5bd372(0x23b)][_0x5bd372(0x1b6)]&&K(this[_0x5bd372(0x23b)],this[_0x5bd372(0x23b)][0x0][_0x5bd372(0x1e0)]),await this[_0x5bd372(0x220)](_0x32da26),_0x1c685d=this[_0x5bd372(0x257)](_0x32da26,_0xa5e2cf[_0x5bd372(0x229)],_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x178)]=Math[_0x5bd372(0x1cb)](this[_0x5bd372(0x178)]/0x2);}return _0x1c685d?!this[_0x5bd372(0x1c4)]()||(this[_0x5bd372(0x16d)](!0x0),!0x1):this[_0x5bd372(0x1d0)](_0x5bd372(0x230));}[_0x1c7799(0x257)](_0x2661ba,_0x68adde,_0x5b0e2d){const _0x14c5e4=_0x1c7799;try{const _0x3da733={'document':this[_0x14c5e4(0x170)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x280b4c,operationsB:_0x1082c4,originalOperations:_0x15e3fd}=_0x8985f5(_0x2661ba,this[_0x14c5e4(0x23b)],_0x3da733);K(_0x280b4c,this[_0x14c5e4(0x170)][_0x14c5e4(0x229)]),K(_0x1082c4,_0x68adde);for(const _0xbe16f3 of _0x280b4c){const _0xcf0561=_0x15e3fd[_0x14c5e4(0x241)](_0xbe16f3);_0xbe16f3[_0x14c5e4(0x1db)]=_0xcf0561?_0xcf0561[_0x14c5e4(0x1db)]:null;}_0x5b0e2d&&(this[_0x14c5e4(0x1c3)][_0x14c5e4(0x1af)](_0x2661ba,_0x5b0e2d),this[_0x14c5e4(0x1dc)]=_0x5b0e2d),this[_0x14c5e4(0x23b)]=[..._0x1082c4],this[_0x14c5e4(0x171)](_0x280b4c),this[_0x14c5e4(0x1dd)](_0x2661ba);}catch(_0xcb838a){return console[_0x14c5e4(0x1ec)](_0xcb838a),!0x1;}return!0x0;}[_0x1c7799(0x171)](_0x2f8a48,_0x3a1025=!0x1){const _0x104253=_0x1c7799;this[_0x104253(0x15b)][_0x104253(0x252)][_0x104253(0x226)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28522c=>{const _0x192541=_0x104253;for(const _0xa6e39b of _0x2f8a48)this[_0x192541(0x21d)][_0x192541(0x191)](_0xa6e39b),this[_0x192541(0x1b4)](_0xa6e39b),_0x28522c[_0x192541(0x22a)][_0x192541(0x162)](_0xa6e39b),this[_0x192541(0x15b)][_0x192541(0x252)][_0x192541(0x253)](_0xa6e39b);});}[_0x1c7799(0x1b4)](_0x299276){const _0x262266=_0x1c7799,_0x3edd86=this[_0x262266(0x184)](_0x299276);_0x3edd86&&this[_0x262266(0x157)][_0x262266(0x191)](_0x3edd86);}[_0x1c7799(0x184)](_0x113fed){const _0x2d881f=_0x1c7799;let _0x4065d5,_0x3546be;switch(_0x113fed[_0x2d881f(0x19d)]){case _0x2d881f(0x234):_0x4065d5=_0x113fed[_0x2d881f(0x1fb)][_0x2d881f(0x1e9)];break;case _0x2d881f(0x18b):if(_0x3546be=_0x113fed[_0x2d881f(0x210)],!_0x3546be)return null;_0x4065d5=_0x3546be[_0x2d881f(0x1e9)];break;case _0x2d881f(0x1ed):_0x4065d5=_0x113fed[_0x2d881f(0x1e9)];break;case _0x2d881f(0x16e):_0x4065d5=_0x113fed[_0x2d881f(0x1f1)];break;case _0x2d881f(0x15c):_0x4065d5=_0x113fed[_0x2d881f(0x239)][_0x2d881f(0x1e9)];break;default:return null;}return _0x4065d5[_0x2d881f(0x158)];}[_0x1c7799(0x1dd)](_0xf11dec){const _0x8a462a=_0x1c7799;_0xf11dec[_0x8a462a(0x1a8)](_0x4dfa99=>{const _0x3d5fac=_0x8a462a,_0x510ed1=_0x4dfa99[_0x3d5fac(0x17c)]();_0x510ed1[_0x3d5fac(0x1db)]=_0x4dfa99[_0x3d5fac(0x1db)],_0x510ed1[_0x3d5fac(0x1de)]=!!_0x4dfa99[_0x3d5fac(0x1de)],_0x510ed1[_0x3d5fac(0x167)]=_0x4dfa99[_0x3d5fac(0x167)],_0x510ed1[_0x3d5fac(0x1e0)]+=this[_0x3d5fac(0x1b8)],_0x4dfa99[_0x3d5fac(0x196)]&&this[_0x3d5fac(0x254)][_0x3d5fac(0x191)](_0x510ed1),this[_0x3d5fac(0x22e)][_0x3d5fac(0x162)](_0x510ed1);});}[_0x1c7799(0x19b)](_0x5e8602){const _0xa07f01=_0x1c7799,_0x30ef05=this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0xa07f01(0x1fa)),_0x492e3f=this[_0xa07f01(0x15b)][_0xa07f01(0x1f8)];_0x5e8602||(_0x5e8602=_0x1513a6(_0x492e3f,_0xa07f01(0x242))),_0x30ef05[_0xa07f01(0x164)](_0x5e8602,{'title':_0x1513a6(_0x492e3f,_0xa07f01(0x1f5)),'namespace':_0xa07f01(0x1ae)}),this[_0xa07f01(0x238)]=!0x0,clearTimeout(this[_0xa07f01(0x255)]),this[_0xa07f01(0x23b)]=[],this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0x21506e)[_0xa07f01(0x212)]();}[_0x1c7799(0x1b5)](){const _0x2b9ce6=_0x1c7799;this[_0x2b9ce6(0x1ce)]||(this[_0x2b9ce6(0x1ce)]=this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1be)][_0x2b9ce6(0x241)](_0x12731f)[_0x2b9ce6(0x191)](_0x1513a6(this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1f8)],_0x2b9ce6(0x251))));}[_0x1c7799(0x209)](){const _0x3e6a97=_0x1c7799;this[_0x3e6a97(0x1ce)]&&(this[_0x3e6a97(0x15b)][_0x3e6a97(0x1be)][_0x3e6a97(0x241)](_0x12731f)[_0x3e6a97(0x155)](this[_0x3e6a97(0x1ce)]),this[_0x3e6a97(0x1ce)]=null);}[_0x1c7799(0x1a9)](_0x79d51b){const _0x473ecc=_0x1c7799,_0x3e42cf=_0x79d51b[_0x473ecc(0x1f3)](_0x263368=>_0x263368[_0x473ecc(0x21f)]());return this[_0x473ecc(0x22d)][_0x473ecc(0x1b7)](_0x3e42cf);}[_0x1c7799(0x1e5)](_0x531e9f,_0x473df2){const _0x5392a4=_0x1c7799;return this[_0x5392a4(0x22d)][_0x5392a4(0x211)](_0x531e9f)[_0x5392a4(0x1f3)]((_0x5c37f2,_0x3e3c2f)=>{const _0x22d069=_0x5392a4,_0x2f596b=_0x22d069(0x236)==_0x473df2[_0x3e3c2f][_0x22d069(0x19d)];if(_0x22d069(0x1ad)==_0x5c37f2[_0x22d069(0x1a3)]){const _0x59cc28=_0x5c37f2[_0x22d069(0x1fb)][_0x22d069(0x1e9)];!this[_0x22d069(0x170)][_0x22d069(0x235)](_0x59cc28)&&(this[_0x22d069(0x170)][_0x22d069(0x246)](_0x22d069(0x15f),_0x59cc28)[_0x22d069(0x202)]=!0x1);}const _0x7fa1b=_0x5b6ba9[_0x22d069(0x1ee)](_0x5c37f2,this[_0x22d069(0x170)]);return _0x7fa1b[_0x22d069(0x208)]=_0x5c37f2[_0x22d069(0x208)],_0x7fa1b[_0x22d069(0x1de)]=_0x2f596b,_0x7fa1b[_0x22d069(0x1db)]=_0x2f596b?null:_0x473df2[_0x3e3c2f][_0x22d069(0x1a1)],_0x7fa1b[_0x22d069(0x196)]=_0x22d069(0x181)===_0x473df2[_0x3e3c2f][_0x22d069(0x19d)],_0x7fa1b[_0x22d069(0x167)]=_0x473df2[_0x3e3c2f][_0x22d069(0x167)],_0x7fa1b;});}[_0x1c7799(0x1cf)](){const _0x1493cd=_0x1c7799;this[_0x1493cd(0x24a)]=!0x0,this[_0x1493cd(0x1e4)]()?this[_0x1493cd(0x16d)]():this[_0x1493cd(0x24a)]=!0x1;}[_0x1c7799(0x1e4)](){const _0x17b150=_0x1c7799,_0x597a3f=this[_0x17b150(0x15b)][_0x17b150(0x1be)][_0x17b150(0x241)](_0x48d6c0)[_0x17b150(0x1f6)][_0x17b150(0x241)](this[_0x17b150(0x24c)]);return!this[_0x17b150(0x15b)][_0x17b150(0x172)]&&!!_0x597a3f&&_0x597a3f[_0x17b150(0x1b6)]>0x1&&this[_0x17b150(0x24a)];}[_0x1c7799(0x1c4)](){const _0x473b2b=_0x1c7799;return this[_0x473b2b(0x23b)][_0x473b2b(0x1b6)]>0x0||this[_0x473b2b(0x1e4)]();}}class $ extends Error{}function K(_0x29ad10,_0x54d70c){const _0xdeb9=_0x1c7799;for(const _0x53ad46 of _0x29ad10)_0x53ad46[_0xdeb9(0x1e0)]=_0x54d70c++;}class J{[_0x1c7799(0x1cc)];[_0x1c7799(0x18a)];constructor(_0x535de8){const _0x4c720a=_0x1c7799;this[_0x4c720a(0x1cc)]=_0x535de8,this[_0x4c720a(0x18a)]=new WeakMap();}[_0x1c7799(0x192)](_0xf86265){const _0x268351=_0x1c7799;let _0x18b2b5=_0xf86265[_0x268351(0x1b6)];for(;_0x18b2b5--;){const _0x3f8273=_0xf86265[_0x18b2b5];if(!this[_0x268351(0x1cc)][_0x268351(0x193)](_0x3f8273)){if(!this[_0x268351(0x18a)][_0x268351(0x193)](_0x3f8273)){const _0xc54955=_0x4ba152()[_0x268351(0x215)](0x1,0x12);this[_0x268351(0x18a)][_0x268351(0x231)](_0x3f8273,_0xc54955);}return this[_0x268351(0x18a)][_0x268351(0x241)](_0x3f8273);}}}[_0x1c7799(0x1af)](_0x271ed3,_0x135b17){const _0x2baa8d=_0x1c7799;if(!_0x135b17)return;let _0x3f411f=_0x271ed3[_0x2baa8d(0x1b6)];for(;_0x3f411f--;){const _0x4a4dc8=_0x271ed3[_0x3f411f];this[_0x2baa8d(0x1cc)][_0x2baa8d(0x193)](_0x4a4dc8)||this[_0x2baa8d(0x18a)][_0x2baa8d(0x231)](_0x4a4dc8,_0x135b17);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe3c558=_0x10a4;(function(_0x46408c,_0x5a437a){const _0x3c348d=_0x10a4,_0x54b6f9=_0x46408c();while(!![]){try{const _0x3a68ff=parseInt(_0x3c348d(0x114))/0x1+-parseInt(_0x3c348d(0xfa))/0x2+-parseInt(_0x3c348d(0xf1))/0x3*(parseInt(_0x3c348d(0xda))/0x4)+-parseInt(_0x3c348d(0xd9))/0x5+-parseInt(_0x3c348d(0xe1))/0x6+-parseInt(_0x3c348d(0x112))/0x7*(parseInt(_0x3c348d(0xf5))/0x8)+parseInt(_0x3c348d(0x101))/0x9;if(_0x3a68ff===_0x5a437a)break;else _0x54b6f9['push'](_0x54b6f9['shift']());}catch(_0x50d178){_0x54b6f9['push'](_0x54b6f9['shift']());}}}(_0x4e43,0x1ed22));function _0x10a4(_0x4959ed,_0xa483e8){const _0x4e4372=_0x4e43();return _0x10a4=function(_0x10a4ec,_0x131d7a){_0x10a4ec=_0x10a4ec-0xd8;let _0x1a37e8=_0x4e4372[_0x10a4ec];return _0x1a37e8;},_0x10a4(_0x4959ed,_0xa483e8);}import{ContextPlugin as _0x4c768b}from'ckeditor5/src/core.js';import{Collection as _0x7444ce,CKEditorError as _0xdb5015}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xc773bb}from'./websocketgateway.js';import{Users as _0x352ba6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4e43(){const _0x113eb6=['orderNumber','isPremiumPlugin','plugins','channelConnectedUsers','register','70203Sxoath','isMe','138116qMDBNi','_uniqueUsersCount','hiddenInPresenceList','1118165gNefLK','53860dtdkCU','has','get','_createUser','_handleSessionAdd','context','getUserSessions','530586BWWbUy','defineMe','channelSessions','connection','sessions-unregister-not-exist','fire','role','getUserRole','delete','values','isOfficialPlugin','allConnectedUsers','init','_handleSessionRemove','add','Sessions','6kWHirC','pluginName','forEach','_registeredSessions','72GGHjZu','state','getUserBySessionId','change:state','assign','67440rgyuKs','listenTo','remove','clear','sessionAdd:','_users','unregister','4059909nyFIji','mySessionId','set','requires','addUser','user','connected','size','sessionId','stopListening','sessions-register-already-registered','getUser'];_0x4e43=function(){return _0x113eb6;};return _0x4e43();}export class Sessions extends _0x4c768b{[_0xe3c558(0xe3)];[_0xe3c558(0x110)];[_0xe3c558(0xec)];[_0xe3c558(0xf4)];[_0xe3c558(0x115)];[_0xe3c558(0xff)];static get[_0xe3c558(0xf2)](){const _0x259a76=_0xe3c558;return _0x259a76(0xf0);}static get[_0xe3c558(0xeb)](){return!0x0;}static get[_0xe3c558(0x10e)](){return!0x0;}static get[_0xe3c558(0x104)](){return[_0xc773bb,_0x352ba6];}constructor(_0x275ab6){const _0x448b46=_0xe3c558;super(_0x275ab6),this[_0x448b46(0xe3)]=new Map(),this[_0x448b46(0x110)]=new Map(),this[_0x448b46(0xec)]=new _0x7444ce(),this[_0x448b46(0xf4)]=new Map(),this[_0x448b46(0x115)]=0x0,this[_0x448b46(0xff)]=this[_0x448b46(0xdf)][_0x448b46(0x10f)][_0x448b46(0xdc)](_0x352ba6);}[_0xe3c558(0xed)](){const _0x2978ae=_0xe3c558,_0x1126b5=this[_0x2978ae(0xdf)][_0x2978ae(0x10f)][_0x2978ae(0xdc)](_0xc773bb);this[_0x2978ae(0xfb)](_0x1126b5,_0x2978ae(0xf8),(_0x2cc1a1,_0x3824db,_0x27763f)=>{const _0x5ccbaf=_0x2978ae;if(_0x5ccbaf(0x107)!==_0x27763f)this[_0x5ccbaf(0xe3)][_0x5ccbaf(0xf3)](_0x366ae8=>_0x366ae8[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0x110)][_0x5ccbaf(0xf3)](_0x3b8059=>_0x3b8059[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0xec)][_0x5ccbaf(0xfd)]();else{for(const [_0x28b044,_0x132676]of this[_0x5ccbaf(0xf4)])for(const _0x2f8170 of _0x132676)this[_0x5ccbaf(0xde)](_0x28b044,_0x2f8170);}}),this[_0x2978ae(0xdd)](_0x1126b5[_0x2978ae(0xe4)]['me'],!0x0);}[_0xe3c558(0x111)](_0x551ae3,_0x30b693){const _0x2585be=_0xe3c558;if(this[_0x2585be(0xf4)][_0x2585be(0xdb)](_0x551ae3))throw new _0xdb5015(_0x2585be(0x10b),null,{'channelId':_0x551ae3});this[_0x2585be(0xf4)][_0x2585be(0x103)](_0x551ae3,_0x30b693),this[_0x2585be(0xe3)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0x110)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xef),(_0x3141a4,_0x53fa08)=>this[_0x2585be(0xde)](_0x551ae3,_0x53fa08)),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xfc),(_0x1771ac,_0x4d1f16)=>this[_0x2585be(0xee)](_0x551ae3,_0x4d1f16));for(const _0x4b3c76 of _0x30b693)this[_0x2585be(0xde)](_0x551ae3,_0x4b3c76);}[_0xe3c558(0x100)](_0x1d06fb){const _0x5e410e=_0xe3c558;if(!this[_0x5e410e(0xf4)][_0x5e410e(0xdb)](_0x1d06fb))throw new _0xdb5015(_0x5e410e(0xe5),null,{'channelId':_0x1d06fb});const _0x22b902=this[_0x5e410e(0xf4)][_0x5e410e(0xdc)](_0x1d06fb);this[_0x5e410e(0x10a)](_0x22b902);for(const _0x25fb3d of _0x22b902)_0x5e410e(0x107)===this[_0x5e410e(0xdf)][_0x5e410e(0x10f)][_0x5e410e(0xdc)](_0xc773bb)[_0x5e410e(0xf6)]&&this[_0x5e410e(0xee)](_0x1d06fb,_0x25fb3d);this[_0x5e410e(0xf4)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0xe3)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0x110)][_0x5e410e(0xe9)](_0x1d06fb);}get[_0xe3c558(0x102)](){const _0xef557d=_0xe3c558;return this[_0xef557d(0xdf)][_0xef557d(0x10f)][_0xef557d(0xdc)](_0xc773bb)[_0xef557d(0xe4)][_0xef557d(0x109)];}[_0xe3c558(0xf7)](_0x4c2d78){const _0x3e2bc2=_0xe3c558;for(const _0x1e4fab of this[_0x3e2bc2(0xe3)][_0x3e2bc2(0xea)]())for(const _0x5488a3 of _0x1e4fab)if(_0x5488a3['id']===_0x4c2d78)return _0x5488a3[_0x3e2bc2(0x106)];}[_0xe3c558(0xe0)](_0x1ce8e6,_0x1dc1b0){const _0x32a063=_0xe3c558,_0x15e358=_0x1dc1b0?[this[_0x32a063(0xe3)][_0x32a063(0xdc)](_0x1dc1b0)]:this[_0x32a063(0xe3)][_0x32a063(0xea)](),_0x9ad977=new Set();for(const _0x395c25 of _0x15e358)for(const _0x1cbe6a of _0x395c25)_0x1cbe6a[_0x32a063(0x106)]['id']===_0x1ce8e6['id']&&_0x9ad977[_0x32a063(0xef)](_0x1cbe6a['id']);return _0x9ad977;}[_0xe3c558(0xe8)](_0x474625){const _0x5cbba0=_0xe3c558;for(const _0x386eec of this[_0x5cbba0(0xe3)][_0x5cbba0(0xea)]())for(const _0x30d539 of _0x386eec)if(_0x30d539[_0x5cbba0(0x106)]===_0x474625)return _0x30d539[_0x5cbba0(0xe7)];}[_0xe3c558(0xde)](_0xe85f05,_0x472e22){const _0x126d19=_0xe3c558;if(_0x126d19(0x107)!==this[_0x126d19(0xdf)][_0x126d19(0x10f)][_0x126d19(0xdc)](_0xc773bb)[_0x126d19(0xf6)])return;const _0x32b08b=_0x472e22[_0x126d19(0x106)],_0xbd9703=this[_0x126d19(0xff)][_0x126d19(0x10c)](_0x32b08b['id'])||this[_0x126d19(0xdd)](_0x32b08b),_0x6e909e=Object[_0x126d19(0xf9)]({},_0x472e22,{'user':_0xbd9703});if(this[_0x126d19(0xe3)][_0x126d19(0xdc)](_0xe85f05)[_0x126d19(0xef)](_0x6e909e),!_0x32b08b[_0x126d19(0xd8)]){const _0x48694f=this[_0x126d19(0x110)][_0x126d19(0xdc)](_0xe85f05);_0x48694f[_0x126d19(0xdb)](_0xbd9703['id'])||_0x48694f[_0x126d19(0xef)](_0xbd9703),this[_0x126d19(0xec)][_0x126d19(0xdb)](_0xbd9703['id'])||_0x32b08b[_0x126d19(0xd8)]||this[_0x126d19(0xec)][_0x126d19(0xef)](_0xbd9703,_0xbd9703[_0x126d19(0x113)]?0x0:void 0x0);}this[_0x126d19(0xe6)](_0x126d19(0xfe)+_0xe85f05,{'channelId':_0xe85f05,'session':_0x6e909e});}[_0xe3c558(0xee)](_0x4912c4,_0x4cd2df){const _0x4d284c=_0xe3c558;if(_0x4d284c(0x107)!==this[_0x4d284c(0xdf)][_0x4d284c(0x10f)][_0x4d284c(0xdc)](_0xc773bb)[_0x4d284c(0xf6)])return;const _0x4f2837=this[_0x4d284c(0x110)][_0x4d284c(0xdc)](_0x4912c4),_0x3b339d=_0x4cd2df[_0x4d284c(0x106)];_0x3b339d['id']&&(this[_0x4d284c(0xe3)][_0x4d284c(0xdc)](_0x4912c4)[_0x4d284c(0xfc)](_0x4cd2df['id']),_0x4f2837[_0x4d284c(0xdb)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d,_0x4912c4)[_0x4d284c(0x108)]&&_0x4f2837[_0x4d284c(0xfc)](_0x3b339d['id']),this[_0x4d284c(0xec)][_0x4d284c(0xdc)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d)[_0x4d284c(0x108)]&&this[_0x4d284c(0xec)][_0x4d284c(0xfc)](_0x3b339d['id']));}[_0xe3c558(0xdd)](_0x4fb77c,_0x3beb50){const _0x54a821=_0xe3c558,_0x19ca31=this[_0x54a821(0xff)][_0x54a821(0x105)](_0x4fb77c);return _0x3beb50&&this[_0x54a821(0xff)][_0x54a821(0xe2)](_0x4fb77c['id']),_0x19ca31[_0x54a821(0x10d)]=this[_0x54a821(0x115)]++,_0x19ca31;}}
23
+ const _0x5b1e56=_0x3f1c;(function(_0x14bc8c,_0x4d2c21){const _0x1aac46=_0x3f1c,_0x10c4b1=_0x14bc8c();while(!![]){try{const _0xb72a9d=-parseInt(_0x1aac46(0x218))/0x1+parseInt(_0x1aac46(0x223))/0x2*(-parseInt(_0x1aac46(0x224))/0x3)+-parseInt(_0x1aac46(0x211))/0x4*(-parseInt(_0x1aac46(0x20a))/0x5)+parseInt(_0x1aac46(0x216))/0x6*(-parseInt(_0x1aac46(0x1fd))/0x7)+parseInt(_0x1aac46(0x1fb))/0x8*(parseInt(_0x1aac46(0x1f6))/0x9)+-parseInt(_0x1aac46(0x1fa))/0xa+parseInt(_0x1aac46(0x21f))/0xb*(parseInt(_0x1aac46(0x1f3))/0xc);if(_0xb72a9d===_0x4d2c21)break;else _0x10c4b1['push'](_0x10c4b1['shift']());}catch(_0x140ae0){_0x10c4b1['push'](_0x10c4b1['shift']());}}}(_0x1a4b,0x41d59));import{ContextPlugin as _0x3036d7}from'ckeditor5/src/core.js';function _0x1a4b(){const _0x17efd0=['orderNumber','plugins','channelConnectedUsers','fire','sessionId','getUserBySessionId','_createUser','has','assign','14412HpkChh','mySessionId','channelSessions','54072eFgdzw','connection','set','pluginName','3231090GmnucB','120BPzaLm','requires','7mIkNNT','add','listenTo','_users','_handleSessionRemove','_registeredSessions','sessionAdd:','stopListening','remove','context','unregister','values','isPremiumPlugin','5EnsLUi','size','isMe','Sessions','clear','_uniqueUsersCount','getUser','2140104MaMPLB','getUserRole','getUserSessions','addUser','role','2231748EqfzCk','defineMe','355145tCfKHM','sessions-unregister-not-exist','register','sessions-register-already-registered','delete','change:state','hiddenInPresenceList','9713RBbTDO','connected','get','allConnectedUsers','18288sTrvwO','120zqDYIH','_handleSessionAdd','state','user','init','forEach','isOfficialPlugin'];_0x1a4b=function(){return _0x17efd0;};return _0x1a4b();}import{Collection as _0x14092a,CKEditorError as _0xfe9745}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xc69c96}from'./websocketgateway.js';import{Users as _0x575d13}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3f1c(_0xd82b3a,_0x334a9b){const _0x1a4b12=_0x1a4b();return _0x3f1c=function(_0x3f1ca7,_0x3aaeec){_0x3f1ca7=_0x3f1ca7-0x1f1;let _0x51dd34=_0x1a4b12[_0x3f1ca7];return _0x51dd34;},_0x3f1c(_0xd82b3a,_0x334a9b);}export class Sessions extends _0x3036d7{[_0x5b1e56(0x1f5)];[_0x5b1e56(0x22d)];[_0x5b1e56(0x222)];[_0x5b1e56(0x202)];[_0x5b1e56(0x20f)];[_0x5b1e56(0x200)];static get[_0x5b1e56(0x1f9)](){const _0x58dd78=_0x5b1e56;return _0x58dd78(0x20d);}static get[_0x5b1e56(0x22a)](){return!0x0;}static get[_0x5b1e56(0x209)](){return!0x0;}static get[_0x5b1e56(0x1fc)](){return[_0xc69c96,_0x575d13];}constructor(_0x482380){const _0x4b3e6d=_0x5b1e56;super(_0x482380),this[_0x4b3e6d(0x1f5)]=new Map(),this[_0x4b3e6d(0x22d)]=new Map(),this[_0x4b3e6d(0x222)]=new _0x14092a(),this[_0x4b3e6d(0x202)]=new Map(),this[_0x4b3e6d(0x20f)]=0x0,this[_0x4b3e6d(0x200)]=this[_0x4b3e6d(0x206)][_0x4b3e6d(0x22c)][_0x4b3e6d(0x221)](_0x575d13);}[_0x5b1e56(0x228)](){const _0x4e7b7e=_0x5b1e56,_0x172e4f=this[_0x4e7b7e(0x206)][_0x4e7b7e(0x22c)][_0x4e7b7e(0x221)](_0xc69c96);this[_0x4e7b7e(0x1ff)](_0x172e4f,_0x4e7b7e(0x21d),(_0x5199fc,_0x3f50d,_0x1ee8a3)=>{const _0x38052f=_0x4e7b7e;if(_0x38052f(0x220)!==_0x1ee8a3)this[_0x38052f(0x1f5)][_0x38052f(0x229)](_0xeac54e=>_0xeac54e[_0x38052f(0x20e)]()),this[_0x38052f(0x22d)][_0x38052f(0x229)](_0x571a1f=>_0x571a1f[_0x38052f(0x20e)]()),this[_0x38052f(0x222)][_0x38052f(0x20e)]();else{for(const [_0x2075dc,_0x2fb92c]of this[_0x38052f(0x202)])for(const _0x32bb8d of _0x2fb92c)this[_0x38052f(0x225)](_0x2075dc,_0x32bb8d);}}),this[_0x4e7b7e(0x231)](_0x172e4f[_0x4e7b7e(0x1f7)]['me'],!0x0);}[_0x5b1e56(0x21a)](_0x1b15a6,_0x1aba8a){const _0xdb5e78=_0x5b1e56;if(this[_0xdb5e78(0x202)][_0xdb5e78(0x1f1)](_0x1b15a6))throw new _0xfe9745(_0xdb5e78(0x21b),null,{'channelId':_0x1b15a6});this[_0xdb5e78(0x202)][_0xdb5e78(0x1f8)](_0x1b15a6,_0x1aba8a),this[_0xdb5e78(0x1f5)][_0xdb5e78(0x1f8)](_0x1b15a6,new _0x14092a()),this[_0xdb5e78(0x22d)][_0xdb5e78(0x1f8)](_0x1b15a6,new _0x14092a()),this[_0xdb5e78(0x1ff)](_0x1aba8a,_0xdb5e78(0x1fe),(_0x3ad6db,_0x2d95dc)=>this[_0xdb5e78(0x225)](_0x1b15a6,_0x2d95dc)),this[_0xdb5e78(0x1ff)](_0x1aba8a,_0xdb5e78(0x205),(_0x1b67d8,_0x1cd36e)=>this[_0xdb5e78(0x201)](_0x1b15a6,_0x1cd36e));for(const _0x2289fa of _0x1aba8a)this[_0xdb5e78(0x225)](_0x1b15a6,_0x2289fa);}[_0x5b1e56(0x207)](_0x3567c3){const _0x165e0c=_0x5b1e56;if(!this[_0x165e0c(0x202)][_0x165e0c(0x1f1)](_0x3567c3))throw new _0xfe9745(_0x165e0c(0x219),null,{'channelId':_0x3567c3});const _0x5c1d67=this[_0x165e0c(0x202)][_0x165e0c(0x221)](_0x3567c3);this[_0x165e0c(0x204)](_0x5c1d67);for(const _0x37fad8 of _0x5c1d67)_0x165e0c(0x220)===this[_0x165e0c(0x206)][_0x165e0c(0x22c)][_0x165e0c(0x221)](_0xc69c96)[_0x165e0c(0x226)]&&this[_0x165e0c(0x201)](_0x3567c3,_0x37fad8);this[_0x165e0c(0x202)][_0x165e0c(0x21c)](_0x3567c3),this[_0x165e0c(0x1f5)][_0x165e0c(0x21c)](_0x3567c3),this[_0x165e0c(0x22d)][_0x165e0c(0x21c)](_0x3567c3);}get[_0x5b1e56(0x1f4)](){const _0x56cc71=_0x5b1e56;return this[_0x56cc71(0x206)][_0x56cc71(0x22c)][_0x56cc71(0x221)](_0xc69c96)[_0x56cc71(0x1f7)][_0x56cc71(0x22f)];}[_0x5b1e56(0x230)](_0x57dc5c){const _0x527e3e=_0x5b1e56;for(const _0x2b7e9c of this[_0x527e3e(0x1f5)][_0x527e3e(0x208)]())for(const _0xc0754b of _0x2b7e9c)if(_0xc0754b['id']===_0x57dc5c)return _0xc0754b[_0x527e3e(0x227)];}[_0x5b1e56(0x213)](_0x58a05e,_0x4568ce){const _0x2dc9e1=_0x5b1e56,_0x5571c3=_0x4568ce?[this[_0x2dc9e1(0x1f5)][_0x2dc9e1(0x221)](_0x4568ce)]:this[_0x2dc9e1(0x1f5)][_0x2dc9e1(0x208)](),_0x10ea7d=new Set();for(const _0x19c1fc of _0x5571c3)for(const _0xfede69 of _0x19c1fc)_0xfede69[_0x2dc9e1(0x227)]['id']===_0x58a05e['id']&&_0x10ea7d[_0x2dc9e1(0x1fe)](_0xfede69['id']);return _0x10ea7d;}[_0x5b1e56(0x212)](_0x38ef90){const _0x23cfc3=_0x5b1e56;for(const _0x37770c of this[_0x23cfc3(0x1f5)][_0x23cfc3(0x208)]())for(const _0x348350 of _0x37770c)if(_0x348350[_0x23cfc3(0x227)]===_0x38ef90)return _0x348350[_0x23cfc3(0x215)];}[_0x5b1e56(0x225)](_0x34c332,_0x20eb15){const _0x5e6c1c=_0x5b1e56;if(_0x5e6c1c(0x220)!==this[_0x5e6c1c(0x206)][_0x5e6c1c(0x22c)][_0x5e6c1c(0x221)](_0xc69c96)[_0x5e6c1c(0x226)])return;const _0x1b9c9f=_0x20eb15[_0x5e6c1c(0x227)],_0x3b1513=this[_0x5e6c1c(0x200)][_0x5e6c1c(0x210)](_0x1b9c9f['id'])||this[_0x5e6c1c(0x231)](_0x1b9c9f),_0x1dc767=Object[_0x5e6c1c(0x1f2)]({},_0x20eb15,{'user':_0x3b1513});if(this[_0x5e6c1c(0x1f5)][_0x5e6c1c(0x221)](_0x34c332)[_0x5e6c1c(0x1fe)](_0x1dc767),!_0x1b9c9f[_0x5e6c1c(0x21e)]){const _0x38f500=this[_0x5e6c1c(0x22d)][_0x5e6c1c(0x221)](_0x34c332);_0x38f500[_0x5e6c1c(0x1f1)](_0x3b1513['id'])||_0x38f500[_0x5e6c1c(0x1fe)](_0x3b1513),this[_0x5e6c1c(0x222)][_0x5e6c1c(0x1f1)](_0x3b1513['id'])||_0x1b9c9f[_0x5e6c1c(0x21e)]||this[_0x5e6c1c(0x222)][_0x5e6c1c(0x1fe)](_0x3b1513,_0x3b1513[_0x5e6c1c(0x20c)]?0x0:void 0x0);}this[_0x5e6c1c(0x22e)](_0x5e6c1c(0x203)+_0x34c332,{'channelId':_0x34c332,'session':_0x1dc767});}[_0x5b1e56(0x201)](_0x1be46d,_0x2b744d){const _0x225ea0=_0x5b1e56;if(_0x225ea0(0x220)!==this[_0x225ea0(0x206)][_0x225ea0(0x22c)][_0x225ea0(0x221)](_0xc69c96)[_0x225ea0(0x226)])return;const _0x107f72=this[_0x225ea0(0x22d)][_0x225ea0(0x221)](_0x1be46d),_0x260119=_0x2b744d[_0x225ea0(0x227)];_0x260119['id']&&(this[_0x225ea0(0x1f5)][_0x225ea0(0x221)](_0x1be46d)[_0x225ea0(0x205)](_0x2b744d['id']),_0x107f72[_0x225ea0(0x1f1)](_0x260119['id'])&&!this[_0x225ea0(0x213)](_0x260119,_0x1be46d)[_0x225ea0(0x20b)]&&_0x107f72[_0x225ea0(0x205)](_0x260119['id']),this[_0x225ea0(0x222)][_0x225ea0(0x221)](_0x260119['id'])&&!this[_0x225ea0(0x213)](_0x260119)[_0x225ea0(0x20b)]&&this[_0x225ea0(0x222)][_0x225ea0(0x205)](_0x260119['id']));}[_0x5b1e56(0x231)](_0x3ebda0,_0x54dcd9){const _0x458c44=_0x5b1e56,_0x4e7ad9=this[_0x458c44(0x200)][_0x458c44(0x214)](_0x3ebda0);return _0x54dcd9&&this[_0x458c44(0x200)][_0x458c44(0x217)](_0x3ebda0['id']),_0x4e7ad9[_0x458c44(0x22b)]=this[_0x458c44(0x20f)]++,_0x4e7ad9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45b43e=_0x3d0c;(function(_0x547831,_0xadbe2){const _0x1a3e80=_0x3d0c,_0x361a85=_0x547831();while(!![]){try{const _0x1d71d8=parseInt(_0x1a3e80(0xc4))/0x1+parseInt(_0x1a3e80(0xeb))/0x2+-parseInt(_0x1a3e80(0xc0))/0x3+-parseInt(_0x1a3e80(0x88))/0x4+-parseInt(_0x1a3e80(0x8a))/0x5*(parseInt(_0x1a3e80(0xd2))/0x6)+parseInt(_0x1a3e80(0xa6))/0x7+parseInt(_0x1a3e80(0xac))/0x8;if(_0x1d71d8===_0xadbe2)break;else _0x361a85['push'](_0x361a85['shift']());}catch(_0x1a98c1){_0x361a85['push'](_0x361a85['shift']());}}}(_0x4e18,0xd3e0f));import{Plugin as _0x1dc661}from'ckeditor5/src/core.js';import{global as _0x4cd33d,DomEmitterMixin as _0x2e0f01}from'ckeditor5/src/utils.js';function _0x4e18(){const _0x4d63a7=['2681928bCeGns','user:','enqueueChange','oldRange','isOfficialPlugin','tableCell','editor','change','commands','nodeAfter','start','markerToElement','model','createRange','getContainedElement','toRange','_domEmitter','textContent','removeClass','user:range','5174235kpbGkq','userPositionMarker','clear','stopListening','459299yCrCth','markerName','span','mouseleave','selection','mySessionId','parent','mapper','setCustomProperty','$text','removeMarker','UserMarkers','isPremiumPlugin','reconvertMarker','229926cLmdrG','batch','requires','newRange','ck-user__marker-tooltip','document','update:user:range','color','editing','undo','createUserMarkerOperations','pluginName','size','set','deletionPosition','$graveyard','mouseenter','isInline','marker','getMarkerClass','toDomElement','markerRange','contenteditable','data-session-id','rootName','3015560bWaZKg','root','keydown','has','getCustomProperty','_createdBatches','spellcheck','hasContent','change:range','setAttribute','add','isObject','isDocumentOperation','view','markers','getFirstRange','remove','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','conversion','destroy','isLimit','detach','split','getUserBySessionId','highest','isCollapsed','classList','orderNumber','delete','ck-user__marker_hovered','editingDowncast','getStart','end','startsWith','user:position','updateMarker','createUIElement','getSelectionClass','2899300xHhSIv','afterInit','85EOcHkW','ck-user__marker\x20','hasDomSelection','addEventListener','getAttribute','type','user:position:','createElement','schema','markerNameToElements','addMarker','user:range:','innerHTML','for','ck-user__selection','render','name','element','isSimilar','getRange','checkChild','init','applyOperation','plugins','false','getNearestSelectionRange','markerToHighlight','getPositions','11665934DZCOIz','outerHTML','Escape','fromRange','get','listenTo'];_0x4e18=function(){return _0x4d63a7;};return _0x4e18();}import{Sessions as _0x379960}from'./sessions.js';import{ModelLiveRange as _0x1c7809}from'ckeditor5/src/engine.js';function _0x3d0c(_0x38a043,_0x535d95){const _0x4e185b=_0x4e18();return _0x3d0c=function(_0x3d0cf6,_0x43fb6b){_0x3d0cf6=_0x3d0cf6-0x80;let _0x2d8a8b=_0x4e185b[_0x3d0cf6];return _0x2d8a8b;},_0x3d0c(_0x38a043,_0x535d95);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x1dc661{[_0x45b43e(0xbc)]=new(_0x2e0f01())();static get[_0x45b43e(0xd4)](){return[_0x379960];}static get[_0x45b43e(0xdd)](){const _0x3c0246=_0x45b43e;return _0x3c0246(0xcf);}static get[_0x45b43e(0xb0)](){return!0x0;}static get[_0x45b43e(0xd0)](){return!0x0;}[_0x45b43e(0x9f)](){const _0x2b2796=_0x45b43e,_0x2b85fa=this[_0x2b2796(0xb2)],_0x5783d3=_0x2b85fa[_0x2b2796(0xa1)][_0x2b2796(0xaa)](_0x379960);_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xb7)]({'model':_0x2b2796(0x84),'view':(_0x5cfe95,{writer:_0x1b811c})=>function(_0x431e61,_0x32d5bc,_0x10e846,_0xdc5bde){const _0x21cd8a=_0x2b2796,_0xa33d02=_0x431e61[_0x21cd8a(0xc5)][_0x21cd8a(0x101)](':')[0x2],_0x1f7b0b=_0x10e846[_0x21cd8a(0x102)](_0xa33d02);if(!_0x1f7b0b||_0xa33d02===_0x10e846[_0x21cd8a(0xc9)])return;if(!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0x9e)](_0x431e61[_0x21cd8a(0xe7)][_0x21cd8a(0xb6)],_0x21cd8a(0xcd)))return;const _0x4a61ef={'class':_0x21cd8a(0x8b)+_0x1f7b0b[_0x21cd8a(0xd9)][_0x21cd8a(0xe5)](),'data-name':_0x1f7b0b[_0x21cd8a(0x9a)],'data-session-id':_0xa33d02},_0xf89ff4=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x431e61[_0x21cd8a(0xc5)]),_0x59d9ff=_0xf89ff4[_0x21cd8a(0x81)](),_0x5ac3ba=_0x59d9ff[_0x21cd8a(0xb5)],_0x2e749b=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)];if(_0x5ac3ba&&_0x2e749b[_0x21cd8a(0xf6)](_0x5ac3ba)&&_0x2e749b[_0x21cd8a(0xe3)](_0x5ac3ba)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x21cd8a(0x95)+_0xa33d02)[_0x21cd8a(0x9d)]()[_0x21cd8a(0x104)])return;const _0xdcb081=_0x59d9ff[_0x21cd8a(0xca)];return _0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0xff)](_0xdcb081)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf2)](_0xdcb081)&&(_0x4a61ef[_0x21cd8a(0xe8)]=!0x1),function(_0x99d1c5,_0x2c87d0,_0x1436f6){const _0x470f39=_0x21cd8a,_0x4efc1f=_0x99d1c5[_0x470f39(0x86)](_0x470f39(0xc6),_0x2c87d0);return _0x99d1c5[_0x470f39(0xcc)](_0x470f39(0xc1),!0x0,_0x4efc1f),_0x4efc1f[_0x470f39(0x99)]=function(_0x489d99){const _0x2f0e67=_0x470f39,_0x182e0c=this[_0x2f0e67(0xe6)](_0x489d99),_0x18df95=document[_0x2f0e67(0x91)](_0x2f0e67(0xc6));return _0x18df95[_0x2f0e67(0x105)][_0x2f0e67(0xf5)](_0x2f0e67(0xd6)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xe8),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xf1),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xbd)]=_0x1436f6[_0x2f0e67(0x9a)],_0x182e0c[_0x2f0e67(0x96)]=_0x2f0e67(0xfc)+_0x18df95[_0x2f0e67(0xa7)]+'⁠',_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xe2),()=>{const _0x4309ee=_0x2f0e67;_0x182e0c[_0x4309ee(0x105)][_0x4309ee(0xf5)](_0x4309ee(0x108));}),_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xc7),()=>{const _0x5ceaca=_0x2f0e67;_0x182e0c[_0x5ceaca(0x105)][_0x5ceaca(0xfb)](_0x5ceaca(0x108));}),_0x182e0c;},_0x4efc1f[_0x470f39(0x9c)]=function(_0x1ceeee){const _0x566f20=_0x470f39;return!(!this[_0x566f20(0xef)](_0x566f20(0xc1))||!_0x1ceeee[_0x566f20(0xef)](_0x566f20(0xc1))||this[_0x566f20(0x8e)](_0x566f20(0xe9))!=_0x1ceeee[_0x566f20(0x8e)](_0x566f20(0xe9)));},_0x4efc1f;}(_0x32d5bc,_0x4a61ef,_0x1f7b0b);}(_0x5cfe95,_0x1b811c,_0x5783d3,_0x2b85fa)}),_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xa4)]({'model':_0x2b2796(0xbf),'view':_0x3220e8=>function(_0x133080,_0xee595d){const _0x4b5e09=_0x2b2796,_0x26d6ce=_0x133080[_0x4b5e09(0xc5)][_0x4b5e09(0x101)](':')[0x2];if(_0x26d6ce===_0xee595d[_0x4b5e09(0xc9)])return null;const _0x3b7892=_0xee595d[_0x4b5e09(0x102)](_0x26d6ce);if(!_0x3b7892)return{'id':_0x26d6ce,'classes':[]};return{'id':_0x26d6ce,'classes':[_0x4b5e09(0x98),_0x3b7892[_0x4b5e09(0xd9)][_0x4b5e09(0x87)]()],'attributes':{'data-session-id':_0x26d6ce},'priority':0x7d0+_0x3b7892[_0x4b5e09(0x106)]};}(_0x3220e8,_0x5783d3)}),function(_0xb0e7d2){const _0x2fb7b0=_0x2b2796,_0x53757c=_0xb0e7d2[_0x2fb7b0(0xb8)],_0x15d5a2=new Map(),_0x5a7e6e=_0xb0e7d2[_0x2fb7b0(0xa1)][_0x2fb7b0(0xaa)](_0x379960);_0x53757c[_0x2fb7b0(0xf9)]['on'](_0x2fb7b0(0xd8),(_0x3448ed,_0x1d019d,_0x23a397,_0x44adb2)=>{const _0x380f01=_0x2fb7b0;if(!_0x44adb2&&_0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)]))return _0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)])[_0x380f01(0x100)](),void _0x15d5a2[_0x380f01(0x107)](_0x1d019d[_0x380f01(0x9a)]);const _0x5d82cd=_0x1d019d[_0x380f01(0x9a)][_0x380f01(0x101)](':')[0x2];if(_0x5d82cd===_0x5a7e6e[_0x380f01(0xc9)])return;const _0x33d140=_0x380f01(0x90)+_0x5d82cd;_0x53757c[_0x380f01(0xf9)][_0x380f01(0xee)](_0x33d140)&&_0xb0e7d2[_0x380f01(0xda)][_0x380f01(0xd1)](_0x33d140),_0x1d019d['on'](_0x380f01(0xf3),(_0xf5e427,_0xac79a3,_0x3ab2d0)=>{const _0x3feb04=_0x380f01;if(_0x3feb04(0xe1)!=_0xac79a3[_0x3feb04(0xec)][_0x3feb04(0xea)]&&_0x3feb04(0xe1)==_0x1d019d[_0x3feb04(0x9d)]()[_0x3feb04(0xec)][_0x3feb04(0xea)]&&!_0x15d5a2[_0x3feb04(0xee)](_0x1d019d[_0x3feb04(0x9a)])){const _0x4f9b99=_0x53757c[_0x3feb04(0x92)][_0x3feb04(0xa3)](_0x3ab2d0[_0x3feb04(0xe0)]);if(_0x4f9b99){const _0x3034e0=_0x1c7809[_0x3feb04(0xa9)](_0x4f9b99);_0x15d5a2[_0x3feb04(0xdf)](_0x1d019d[_0x3feb04(0x9a)],_0x3034e0),_0x3034e0['on'](_0x3feb04(0xf3),(_0x54db72,_0x2eaeac,_0x5145e1)=>{const _0x21ff6e=_0x3feb04;if(_0x21ff6e(0xe1)==_0x3034e0[_0x21ff6e(0xec)][_0x21ff6e(0xea)]){const _0x4eca8b=_0x53757c[_0x21ff6e(0x92)][_0x21ff6e(0xa3)](_0x5145e1[_0x21ff6e(0xe0)]);_0x4eca8b?(_0x3034e0[_0x21ff6e(0xb6)]=_0x4eca8b[_0x21ff6e(0xb6)],_0x3034e0[_0x21ff6e(0x82)]=_0x4eca8b[_0x21ff6e(0x82)]):(_0x15d5a2[_0x21ff6e(0x107)](_0x1d019d[_0x21ff6e(0x9a)]),_0x3034e0[_0x21ff6e(0x100)]());}});}}});}),_0x53757c[_0x2fb7b0(0xd7)]['on'](_0x2fb7b0(0xb3),()=>{const _0xfc6b8e=_0x2fb7b0;_0x15d5a2[_0xfc6b8e(0xde)]>0x0&&_0x53757c[_0xfc6b8e(0xae)]({'isUndoable':!0x1},_0x17cf35=>{const _0x8f1f59=_0xfc6b8e;for(const [_0x5b4da1,_0x287039]of _0x15d5a2)_0x8f1f59(0xe1)==_0x53757c[_0x8f1f59(0xf9)][_0x8f1f59(0xaa)](_0x5b4da1)[_0x8f1f59(0x9d)]()[_0x8f1f59(0xec)][_0x8f1f59(0xea)]&&(te(_0x5b4da1[_0x8f1f59(0x101)](':')[0x2],_0x287039[_0x8f1f59(0xbb)](),_0x53757c,_0x17cf35),_0x287039[_0x8f1f59(0x100)]());_0x15d5a2[_0x8f1f59(0xc2)]();});});}(_0x2b85fa),this[_0x2b2796(0xbc)][_0x2b2796(0xab)](_0x4cd33d[_0x2b2796(0xd7)],_0x2b2796(0xed),(_0x413208,{key:_0x131ca2})=>{const _0x5a79a4=_0x2b2796;_0x5a79a4(0xa8)===_0x131ca2&&function(_0x1ad148){const _0xfec328=_0x5a79a4;_0x1ad148[_0xfec328(0xda)][_0xfec328(0xf8)][_0xfec328(0xb3)](_0x1b7933=>{const _0x5b3cb1=_0xfec328;for(const _0x4c32e2 of _0x1ad148[_0x5b3cb1(0xb8)][_0x5b3cb1(0xf9)]){if(!_0x4c32e2[_0x5b3cb1(0x9a)][_0x5b3cb1(0x83)](_0x5b3cb1(0x84)))continue;const _0x4b1ca7=_0x1ad148[_0x5b3cb1(0xda)][_0x5b3cb1(0xcb)][_0x5b3cb1(0x93)](_0x4c32e2[_0x5b3cb1(0x9a)]);if(_0x4b1ca7){for(const _0x3a5e44 of _0x4b1ca7)_0x1b7933[_0x5b3cb1(0xbe)](_0x5b3cb1(0x108),_0x3a5e44);}}});}(_0x2b85fa);},{'useCapture':!0x0});}[_0x45b43e(0x89)](){const _0x22d6f9=_0x45b43e,_0x3463fb=this[_0x22d6f9(0xb2)],_0xcead9f=_0x3463fb[_0x22d6f9(0xb4)][_0x22d6f9(0xaa)](_0x22d6f9(0xdb));_0xcead9f&&_0x3463fb[_0x22d6f9(0xb8)]['on'](_0x22d6f9(0xa0),(_0x583026,_0x3b7ad4)=>{const _0x115b07=_0x22d6f9,_0x14f3ce=_0x3b7ad4[0x0];if(!_0x14f3ce[_0x115b07(0xf7)])return;if(_0x115b07(0xe4)!=_0x14f3ce[_0x115b07(0x8f)]||!_0x14f3ce[_0x115b07(0x9a)][_0x115b07(0x83)](_0x115b07(0xad)))return;const _0x8606fb=_0x14f3ce[_0x115b07(0xd3)];_0xcead9f[_0x115b07(0xf0)][_0x115b07(0xee)](_0x8606fb)&&(_0x14f3ce[_0x115b07(0xd5)]=_0x14f3ce[_0x115b07(0xaf)]?_0x3463fb[_0x115b07(0xb8)][_0x115b07(0xb9)](_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0xb6)],_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0x82)]):null);},{'priority':_0x22d6f9(0x103)});}[_0x45b43e(0xfe)](){const _0x12f748=_0x45b43e;return this[_0x12f748(0xbc)][_0x12f748(0xc3)](),super[_0x12f748(0xfe)]();}[_0x45b43e(0xdc)](){const _0x2f2c21=_0x45b43e,_0x2e0d29=this[_0x2f2c21(0xb2)],_0x42d88e=_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xd7)],_0x1ea8c1=_0x2e0d29[_0x2f2c21(0xa1)][_0x2f2c21(0xaa)](_0x379960);_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xae)]({'isUndoable':!0x1},_0x2fc6ba=>{const _0xa4c15b=_0x2f2c21,_0x341986=_0xa4c15b(0x95)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x2b14ef=_0xa4c15b(0x90)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x4f7a2b=_0x2e0d29[_0xa4c15b(0xb8)][_0xa4c15b(0xf9)][_0xa4c15b(0xee)](_0x341986);_0x2e0d29[_0xa4c15b(0xda)][_0xa4c15b(0xf8)][_0xa4c15b(0x8c)]?te(_0x1ea8c1[_0xa4c15b(0xc9)],_0x42d88e[_0xa4c15b(0xc8)][_0xa4c15b(0xfa)](),_0x2e0d29[_0xa4c15b(0xb8)],_0x2fc6ba):_0x4f7a2b&&(_0x2fc6ba[_0xa4c15b(0xce)](_0x341986),_0x2fc6ba[_0xa4c15b(0xce)](_0x2b14ef));});}}function te(_0x518ab1,_0x5d97fb,_0x3aa7a8,_0xcfc921){const _0x213bee=_0x45b43e,_0x46951c=_0x213bee(0x95)+_0x518ab1,_0x13fef4=_0x213bee(0x90)+_0x518ab1,_0x24106c=_0x5d97fb[_0x213bee(0xba)]();let _0x11d903=_0x5d97fb[_0x213bee(0xb6)];if(_0x24106c&&_0x24106c['is'](_0x213bee(0x9b),_0x213bee(0xb1))){const _0xa53973=function(_0x45e44a,_0x2db8d7){const _0x189067=_0x213bee;for(const _0x27da9b of _0x45e44a[_0x189067(0xa5)]())if(_0x2db8d7[_0x189067(0x92)][_0x189067(0x9e)](_0x27da9b,_0x189067(0xcd)))return _0x27da9b;}(_0x5d97fb,_0x3aa7a8);_0xa53973&&(_0x11d903=_0xa53973,_0x5d97fb=_0xcfc921[_0x213bee(0xb9)](_0x11d903));}const _0x5ab1b9=_0xcfc921[_0x213bee(0xb9)](_0x11d903);_0x3aa7a8[_0x213bee(0xf9)][_0x213bee(0xee)](_0x46951c)?(_0xcfc921[_0x213bee(0x85)](_0x46951c,{'range':_0x5d97fb}),_0xcfc921[_0x213bee(0x85)](_0x13fef4,{'range':_0x5ab1b9})):(_0xcfc921[_0x213bee(0x94)](_0x46951c,{'range':_0x5d97fb,'usingOperation':!0x0}),_0xcfc921[_0x213bee(0x94)](_0x13fef4,{'range':_0x5ab1b9,'usingOperation':!0x0}));}
23
+ const _0x20a41b=_0x583a;function _0x2897(){const _0x14839c=['applyOperation','update:user:range','markerRange','get','isOfficialPlugin','reconvertMarker','toRange','keydown','destroy','for','createUIElement','getStart','batch','span','enqueueChange','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mySessionId','type','13321ZCuVDY','startsWith','markerToElement','Escape','isDocumentOperation','getContainedElement','data-session-id','getNearestSelectionRange','color','editingDowncast','isObject','root','conversion','ck-user__marker\x20','nodeAfter','createUserMarkerOperations','schema','3252qNQqld','user:','3483423DILSoY','toDomElement','markerNameToElements','isPremiumPlugin','pluginName','editing','element','requires','hasContent','isSimilar','635daQNUt','mouseleave','editor','mapper','getRange','outerHTML','newRange','markerToHighlight','226800xgBAYF','deletionPosition','hasDomSelection','commands','delete','spellcheck','getFirstRange','1025416fGaaBL','getMarkerClass','init','add','classList','getSelectionClass','name','ck-user__selection','rootName','ck-user__marker-tooltip','render','addMarker','updateMarker','checkChild','user:position','isCollapsed','getAttribute','marker','76569ncfTRp','undo','detach','setCustomProperty','$text','createElement','fromRange','textContent','getCustomProperty','afterInit','change:range','user:range','mouseenter','tableCell','highest','orderNumber','start','addEventListener','selection','document','getUserBySessionId','_domEmitter','remove','change','ck-user__marker_hovered','getPositions','createRange','model','innerHTML','plugins','listenTo','UserMarkers','user:position:','331409HSRUEZ','set','removeMarker','stopListening','isLimit','size','has','contenteditable','split','oldRange','markerName','clear','false','parent','984YuVBdk','end','user:range:','setAttribute','removeClass','isInline','view','$graveyard','userPositionMarker','markers','_createdBatches'];_0x2897=function(){return _0x14839c;};return _0x2897();}(function(_0x2bb971,_0x30cdbf){const _0x1ed93e=_0x583a,_0x4c6029=_0x2bb971();while(!![]){try{const _0x44df1b=parseInt(_0x1ed93e(0x204))/0x1+-parseInt(_0x1ed93e(0x254))/0x2+-parseInt(_0x1ed93e(0x1e3))/0x3+parseInt(_0x1ed93e(0x25b))/0x4+-parseInt(_0x1ed93e(0x24c))/0x5*(parseInt(_0x1ed93e(0x240))/0x6)+parseInt(_0x1ed93e(0x22f))/0x7*(parseInt(_0x1ed93e(0x212))/0x8)+-parseInt(_0x1ed93e(0x242))/0x9;if(_0x44df1b===_0x30cdbf)break;else _0x4c6029['push'](_0x4c6029['shift']());}catch(_0x592a87){_0x4c6029['push'](_0x4c6029['shift']());}}}(_0x2897,0x376d4));function _0x583a(_0x4dca87,_0x5eb039){const _0x2897ab=_0x2897();return _0x583a=function(_0x583a1e,_0x5d48e6){_0x583a1e=_0x583a1e-0x1da;let _0x1a7545=_0x2897ab[_0x583a1e];return _0x1a7545;},_0x583a(_0x4dca87,_0x5eb039);}import{Plugin as _0x599974}from'ckeditor5/src/core.js';import{global as _0x1ab8b4,DomEmitterMixin as _0x549b6e}from'ckeditor5/src/utils.js';import{Sessions as _0x3cb4b4}from'./sessions.js';import{ModelLiveRange as _0x450b03}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x599974{[_0x20a41b(0x1f8)]=new(_0x549b6e())();static get[_0x20a41b(0x249)](){return[_0x3cb4b4];}static get[_0x20a41b(0x246)](){const _0x5f2840=_0x20a41b;return _0x5f2840(0x202);}static get[_0x20a41b(0x221)](){return!0x0;}static get[_0x20a41b(0x245)](){return!0x0;}[_0x20a41b(0x25d)](){const _0xee4776=_0x20a41b,_0x1be170=this[_0xee4776(0x24e)],_0xc665ed=_0x1be170[_0xee4776(0x200)][_0xee4776(0x220)](_0x3cb4b4);_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x231)]({'model':_0xee4776(0x1df),'view':(_0x159cb7,{writer:_0x296201})=>function(_0x104a9c,_0x902200,_0x278a59,_0x48c52c){const _0x2a7539=_0xee4776,_0x29f8cc=_0x104a9c[_0x2a7539(0x20e)][_0x2a7539(0x20c)](':')[0x2],_0x5cc042=_0x278a59[_0x2a7539(0x1f7)](_0x29f8cc);if(!_0x5cc042||_0x29f8cc===_0x278a59[_0x2a7539(0x22d)])return;if(!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x1de)](_0x104a9c[_0x2a7539(0x21f)][_0x2a7539(0x1f3)],_0x2a7539(0x1e7)))return;const _0x1eeabe={'class':_0x2a7539(0x23c)+_0x5cc042[_0x2a7539(0x237)][_0x2a7539(0x25c)](),'data-name':_0x5cc042[_0x2a7539(0x261)],'data-session-id':_0x29f8cc},_0x27fddb=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x104a9c[_0x2a7539(0x20e)]),_0x4b64fb=_0x27fddb[_0x2a7539(0x228)](),_0x200a2a=_0x4b64fb[_0x2a7539(0x23d)],_0x3a4985=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)];if(_0x200a2a&&_0x3a4985[_0x2a7539(0x239)](_0x200a2a)&&_0x3a4985[_0x2a7539(0x217)](_0x200a2a)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x2a7539(0x214)+_0x29f8cc)[_0x2a7539(0x250)]()[_0x2a7539(0x1e0)])return;const _0x70b9ff=_0x4b64fb[_0x2a7539(0x211)];return _0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x208)](_0x70b9ff)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x24a)](_0x70b9ff)&&(_0x1eeabe[_0x2a7539(0x20b)]=!0x1),function(_0x221ff7,_0x1f0f2c,_0x248bb0){const _0x2cb8a4=_0x2a7539,_0x281113=_0x221ff7[_0x2cb8a4(0x227)](_0x2cb8a4(0x22a),_0x1f0f2c);return _0x221ff7[_0x2cb8a4(0x1e6)](_0x2cb8a4(0x21a),!0x0,_0x281113),_0x281113[_0x2cb8a4(0x1db)]=function(_0x4a2b1d){const _0x36e85c=_0x2cb8a4,_0x150b66=this[_0x36e85c(0x243)](_0x4a2b1d),_0x1b3db6=document[_0x36e85c(0x1e8)](_0x36e85c(0x22a));return _0x1b3db6[_0x36e85c(0x25f)][_0x36e85c(0x25e)](_0x36e85c(0x1da)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x20b),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x259),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x1ea)]=_0x248bb0[_0x36e85c(0x261)],_0x150b66[_0x36e85c(0x1ff)]=_0x36e85c(0x22c)+_0x1b3db6[_0x36e85c(0x251)]+'⁠',_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x1ef),()=>{const _0x18a3ee=_0x36e85c;_0x150b66[_0x18a3ee(0x25f)][_0x18a3ee(0x25e)](_0x18a3ee(0x1fb));}),_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x24d),()=>{const _0x40be0f=_0x36e85c;_0x150b66[_0x40be0f(0x25f)][_0x40be0f(0x1f9)](_0x40be0f(0x1fb));}),_0x150b66;},_0x281113[_0x2cb8a4(0x24b)]=function(_0x3c2e36){const _0x2cdb9f=_0x2cb8a4;return!(!this[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||!_0x3c2e36[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||this[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235))!=_0x3c2e36[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235)));},_0x281113;}(_0x902200,_0x1eeabe,_0x5cc042);}(_0x159cb7,_0x296201,_0xc665ed,_0x1be170)}),_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x253)]({'model':_0xee4776(0x1ee),'view':_0x23b61e=>function(_0x26e0ef,_0x2c94ef){const _0x51fa19=_0xee4776,_0x3355aa=_0x26e0ef[_0x51fa19(0x20e)][_0x51fa19(0x20c)](':')[0x2];if(_0x3355aa===_0x2c94ef[_0x51fa19(0x22d)])return null;const _0x54376f=_0x2c94ef[_0x51fa19(0x1f7)](_0x3355aa);if(!_0x54376f)return{'id':_0x3355aa,'classes':[]};return{'id':_0x3355aa,'classes':[_0x51fa19(0x262),_0x54376f[_0x51fa19(0x237)][_0x51fa19(0x260)]()],'attributes':{'data-session-id':_0x3355aa},'priority':0x7d0+_0x54376f[_0x51fa19(0x1f2)]};}(_0x23b61e,_0xc665ed)}),function(_0x501ed8){const _0x1615c0=_0xee4776,_0x3d02b9=_0x501ed8[_0x1615c0(0x1fe)],_0x426239=new Map(),_0x120a97=_0x501ed8[_0x1615c0(0x200)][_0x1615c0(0x220)](_0x3cb4b4);_0x3d02b9[_0x1615c0(0x21b)]['on'](_0x1615c0(0x21e),(_0x559ced,_0x27ade1,_0x507dea,_0x23aa3e)=>{const _0xb3dea4=_0x1615c0;if(!_0x23aa3e&&_0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)]))return _0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)])[_0xb3dea4(0x1e5)](),void _0x426239[_0xb3dea4(0x258)](_0x27ade1[_0xb3dea4(0x261)]);const _0x5acc07=_0x27ade1[_0xb3dea4(0x261)][_0xb3dea4(0x20c)](':')[0x2];if(_0x5acc07===_0x120a97[_0xb3dea4(0x22d)])return;const _0x525e3c=_0xb3dea4(0x203)+_0x5acc07;_0x3d02b9[_0xb3dea4(0x21b)][_0xb3dea4(0x20a)](_0x525e3c)&&_0x501ed8[_0xb3dea4(0x247)][_0xb3dea4(0x222)](_0x525e3c),_0x27ade1['on'](_0xb3dea4(0x1ed),(_0x39ad29,_0x3f07f8,_0x3d0db0)=>{const _0x53215d=_0xb3dea4;if(_0x53215d(0x219)!=_0x3f07f8[_0x53215d(0x23a)][_0x53215d(0x263)]&&_0x53215d(0x219)==_0x27ade1[_0x53215d(0x250)]()[_0x53215d(0x23a)][_0x53215d(0x263)]&&!_0x426239[_0x53215d(0x20a)](_0x27ade1[_0x53215d(0x261)])){const _0x55bf40=_0x3d02b9[_0x53215d(0x23f)][_0x53215d(0x236)](_0x3d0db0[_0x53215d(0x255)]);if(_0x55bf40){const _0x5af59c=_0x450b03[_0x53215d(0x1e9)](_0x55bf40);_0x426239[_0x53215d(0x205)](_0x27ade1[_0x53215d(0x261)],_0x5af59c),_0x5af59c['on'](_0x53215d(0x1ed),(_0x1e3ea6,_0x53a4d7,_0x17eaaf)=>{const _0x1badc4=_0x53215d;if(_0x1badc4(0x219)==_0x5af59c[_0x1badc4(0x23a)][_0x1badc4(0x263)]){const _0x5983b8=_0x3d02b9[_0x1badc4(0x23f)][_0x1badc4(0x236)](_0x17eaaf[_0x1badc4(0x255)]);_0x5983b8?(_0x5af59c[_0x1badc4(0x1f3)]=_0x5983b8[_0x1badc4(0x1f3)],_0x5af59c[_0x1badc4(0x213)]=_0x5983b8[_0x1badc4(0x213)]):(_0x426239[_0x1badc4(0x258)](_0x27ade1[_0x1badc4(0x261)]),_0x5af59c[_0x1badc4(0x1e5)]());}});}}});}),_0x3d02b9[_0x1615c0(0x1f6)]['on'](_0x1615c0(0x1fa),()=>{const _0x1e02d6=_0x1615c0;_0x426239[_0x1e02d6(0x209)]>0x0&&_0x3d02b9[_0x1e02d6(0x22b)]({'isUndoable':!0x1},_0x3690ae=>{const _0x1d2a52=_0x1e02d6;for(const [_0x139deb,_0x5ecdb7]of _0x426239)_0x1d2a52(0x219)==_0x3d02b9[_0x1d2a52(0x21b)][_0x1d2a52(0x220)](_0x139deb)[_0x1d2a52(0x250)]()[_0x1d2a52(0x23a)][_0x1d2a52(0x263)]&&(Z(_0x139deb[_0x1d2a52(0x20c)](':')[0x2],_0x5ecdb7[_0x1d2a52(0x223)](),_0x3d02b9,_0x3690ae),_0x5ecdb7[_0x1d2a52(0x1e5)]());_0x426239[_0x1d2a52(0x20f)]();});});}(_0x1be170),this[_0xee4776(0x1f8)][_0xee4776(0x201)](_0x1ab8b4[_0xee4776(0x1f6)],_0xee4776(0x224),(_0x7d2f4f,{key:_0x2db0eb})=>{const _0x30139f=_0xee4776;_0x30139f(0x232)===_0x2db0eb&&function(_0x11dcd4){const _0x56e01c=_0x30139f;_0x11dcd4[_0x56e01c(0x247)][_0x56e01c(0x218)][_0x56e01c(0x1fa)](_0x158979=>{const _0x597ed8=_0x56e01c;for(const _0x48b009 of _0x11dcd4[_0x597ed8(0x1fe)][_0x597ed8(0x21b)]){if(!_0x48b009[_0x597ed8(0x261)][_0x597ed8(0x230)](_0x597ed8(0x1df)))continue;const _0x16af06=_0x11dcd4[_0x597ed8(0x247)][_0x597ed8(0x24f)][_0x597ed8(0x244)](_0x48b009[_0x597ed8(0x261)]);if(_0x16af06){for(const _0x3f4fa7 of _0x16af06)_0x158979[_0x597ed8(0x216)](_0x597ed8(0x1fb),_0x3f4fa7);}}});}(_0x1be170);},{'useCapture':!0x0});}[_0x20a41b(0x1ec)](){const _0x57dfb3=_0x20a41b,_0x26849e=this[_0x57dfb3(0x24e)],_0x7756cd=_0x26849e[_0x57dfb3(0x257)][_0x57dfb3(0x220)](_0x57dfb3(0x1e4));_0x7756cd&&_0x26849e[_0x57dfb3(0x1fe)]['on'](_0x57dfb3(0x21d),(_0x3a8d62,_0x42902f)=>{const _0x10156a=_0x57dfb3,_0x1ec92b=_0x42902f[0x0];if(!_0x1ec92b[_0x10156a(0x233)])return;if(_0x10156a(0x1e2)!=_0x1ec92b[_0x10156a(0x22e)]||!_0x1ec92b[_0x10156a(0x261)][_0x10156a(0x230)](_0x10156a(0x241)))return;const _0x605eed=_0x1ec92b[_0x10156a(0x229)];_0x7756cd[_0x10156a(0x21c)][_0x10156a(0x20a)](_0x605eed)&&(_0x1ec92b[_0x10156a(0x252)]=_0x1ec92b[_0x10156a(0x20d)]?_0x26849e[_0x10156a(0x1fe)][_0x10156a(0x1fd)](_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x1f3)],_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x213)]):null);},{'priority':_0x57dfb3(0x1f1)});}[_0x20a41b(0x225)](){const _0x541462=_0x20a41b;return this[_0x541462(0x1f8)][_0x541462(0x207)](),super[_0x541462(0x225)]();}[_0x20a41b(0x23e)](){const _0x55e6d0=_0x20a41b,_0x224102=this[_0x55e6d0(0x24e)],_0x5758cd=_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x1f6)],_0xbb92ad=_0x224102[_0x55e6d0(0x200)][_0x55e6d0(0x220)](_0x3cb4b4);_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x22b)]({'isUndoable':!0x1},_0x58085b=>{const _0x443c47=_0x55e6d0,_0x4827c2=_0x443c47(0x214)+_0xbb92ad[_0x443c47(0x22d)],_0x39b4f5=_0x443c47(0x203)+_0xbb92ad[_0x443c47(0x22d)],_0x80dac1=_0x224102[_0x443c47(0x1fe)][_0x443c47(0x21b)][_0x443c47(0x20a)](_0x4827c2);_0x224102[_0x443c47(0x247)][_0x443c47(0x218)][_0x443c47(0x256)]?Z(_0xbb92ad[_0x443c47(0x22d)],_0x5758cd[_0x443c47(0x1f5)][_0x443c47(0x25a)](),_0x224102[_0x443c47(0x1fe)],_0x58085b):_0x80dac1&&(_0x58085b[_0x443c47(0x206)](_0x4827c2),_0x58085b[_0x443c47(0x206)](_0x39b4f5));});}}function Z(_0x4adfe3,_0x3a6a04,_0x42ef88,_0x23d82c){const _0x47e316=_0x20a41b,_0x15fdde=_0x47e316(0x214)+_0x4adfe3,_0x175431=_0x47e316(0x203)+_0x4adfe3,_0x18849e=_0x3a6a04[_0x47e316(0x234)]();let _0x236317=_0x3a6a04[_0x47e316(0x1f3)];if(_0x18849e&&_0x18849e['is'](_0x47e316(0x248),_0x47e316(0x1f0))){const _0x45e742=function(_0x1cb0b1,_0x25518a){const _0x55dd7b=_0x47e316;for(const _0x4d5294 of _0x1cb0b1[_0x55dd7b(0x1fc)]())if(_0x25518a[_0x55dd7b(0x23f)][_0x55dd7b(0x1de)](_0x4d5294,_0x55dd7b(0x1e7)))return _0x4d5294;}(_0x3a6a04,_0x42ef88);_0x45e742&&(_0x236317=_0x45e742,_0x3a6a04=_0x23d82c[_0x47e316(0x1fd)](_0x236317));}const _0x53487d=_0x23d82c[_0x47e316(0x1fd)](_0x236317);_0x42ef88[_0x47e316(0x21b)][_0x47e316(0x20a)](_0x15fdde)?(_0x23d82c[_0x47e316(0x1dd)](_0x15fdde,{'range':_0x3a6a04}),_0x23d82c[_0x47e316(0x1dd)](_0x175431,{'range':_0x53487d})):(_0x23d82c[_0x47e316(0x1dc)](_0x15fdde,{'range':_0x3a6a04,'usingOperation':!0x0}),_0x23d82c[_0x47e316(0x1dc)](_0x175431,{'range':_0x53487d,'usingOperation':!0x0}));}