@ckeditor/ckeditor5-real-time-collaboration 47.6.2 → 47.7.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
- const _0x4293f2=_0x5a84;function _0x5a84(_0x307ac1,_0x3e5db2){const _0x1a8b6f=_0x1a8b();return _0x5a84=function(_0x5a846e,_0x23566){_0x5a846e=_0x5a846e-0xe6;let _0x2ae26b=_0x1a8b6f[_0x5a846e];return _0x2ae26b;},_0x5a84(_0x307ac1,_0x3e5db2);}(function(_0x917c4,_0x5d25df){const _0x1006f1=_0x5a84,_0x1fd96a=_0x917c4();while(!![]){try{const _0x14704c=-parseInt(_0x1006f1(0x106))/0x1+parseInt(_0x1006f1(0xf8))/0x2*(-parseInt(_0x1006f1(0xf3))/0x3)+-parseInt(_0x1006f1(0xf7))/0x4+-parseInt(_0x1006f1(0xf4))/0x5*(parseInt(_0x1006f1(0x107))/0x6)+-parseInt(_0x1006f1(0xfc))/0x7*(-parseInt(_0x1006f1(0x10b))/0x8)+-parseInt(_0x1006f1(0xfd))/0x9+-parseInt(_0x1006f1(0xed))/0xa*(-parseInt(_0x1006f1(0xf0))/0xb);if(_0x14704c===_0x5d25df)break;else _0x1fd96a['push'](_0x1fd96a['shift']());}catch(_0x549391){_0x1fd96a['push'](_0x1fd96a['shift']());}}}(_0x1a8b,0x948ab));import{View as _0x319362}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xb2034f}from'ckeditor5/src/utils.js';import{getTranslation as _0x519977}from'../../common-translations.js';function _0x1a8b(){const _0x5981a8=['12KwnOtS','5469505fTXPgL','fire','hasPopup','286924icuLVy','295772IlHPqM','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','contains','174167VbuEMA','166725kVUmMn','.ck-balloon-panel_with-arrow','setTemplate','list','element','setAttribute','keystrokes','presencelist:hide','querySelector','497904emNKJB','6SdXyKf','change:hasPopup','ck-presence-list__list','items','264MYlPqn','render','aria-expanded','bindTemplate','relatedTarget','presencelist:show','focus','div','Connected\x20users\x20list','removeAttribute','212470vXrcEr','listenTo','set','1067FPEXzT','isExpanded','.ck-presence-list__dropdown-list'];_0x1a8b=function(){return _0x5981a8;};return _0x1a8b();}export class PresenceInlineListView extends _0x319362{[_0x4293f2(0x10a)];[_0x4293f2(0x103)];constructor(_0x412bf1){const _0x276ea2=_0x4293f2;super(_0x412bf1);const _0x47b2b6=this[_0x276ea2(0xe6)];this[_0x276ea2(0x10a)]=this[_0x276ea2(0xf9)](),this[_0x276ea2(0x103)]=new _0xb2034f(),this[_0x276ea2(0xef)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x276ea2(0xff)]({'tag':_0x276ea2(0xea),'attributes':{'aria-haspopup':_0x47b2b6['if'](_0x276ea2(0xf6)),'aria-expanded':_0x47b2b6['to'](_0x276ea2(0xf1),_0x35f957=>this[_0x276ea2(0xf6)]&&String(_0x35f957)),'aria-label':_0x47b2b6['to'](_0x276ea2(0xf6),_0x4a2b9f=>_0x519977(_0x412bf1,_0x4a2b9f?_0x276ea2(0xfa):_0x276ea2(0xeb))),'role':_0x276ea2(0x100),'tabindex':_0x47b2b6['to'](_0x276ea2(0xf6),_0x3709a8=>!!_0x3709a8&&0x0),'class':['ck',_0x276ea2(0x109)]},'children':this[_0x276ea2(0x10a)],'on':{'mouseenter':_0x47b2b6['to'](()=>this[_0x276ea2(0xf5)](_0x276ea2(0xe8))),'mouseleave':_0x47b2b6['to'](_0x406425=>{const _0x3c9c2c=_0x276ea2,_0x37d268=_0x406425,_0xc51547=document[_0x3c9c2c(0x105)](_0x3c9c2c(0xf2)),_0x566034=document[_0x3c9c2c(0x105)](_0x3c9c2c(0xfe));_0xc51547?.[_0x3c9c2c(0xfb)](_0x37d268[_0x3c9c2c(0xe7)])||_0x566034?.[_0x3c9c2c(0xfb)](_0x37d268[_0x3c9c2c(0xe7)])||this[_0x3c9c2c(0xf5)](_0x3c9c2c(0x104));})}}),this['on'](_0x276ea2(0x108),(_0x21a9c6,_0x159194,_0x380a98)=>{const _0x53a519=_0x276ea2;this[_0x53a519(0x101)]&&(_0x380a98?this[_0x53a519(0x101)][_0x53a519(0x102)](_0x53a519(0x10d),String(this[_0x53a519(0xf1)])):this[_0x53a519(0x101)][_0x53a519(0xec)](_0x53a519(0x10d)));});}[_0x4293f2(0xe9)](){const _0x227eb0=_0x4293f2;this[_0x227eb0(0x101)][_0x227eb0(0xe9)]();}[_0x4293f2(0x10c)](){const _0x130734=_0x4293f2;super[_0x130734(0x10c)](),this[_0x130734(0x103)][_0x130734(0xee)](this[_0x130734(0x101)]);}}
23
+ const _0x27a911=_0x47af;(function(_0x488856,_0x3501f2){const _0x14be8e=_0x47af,_0x3dccad=_0x488856();while(!![]){try{const _0x5dff81=parseInt(_0x14be8e(0x1a8))/0x1+parseInt(_0x14be8e(0x1a5))/0x2*(parseInt(_0x14be8e(0x195))/0x3)+-parseInt(_0x14be8e(0x19f))/0x4*(-parseInt(_0x14be8e(0x194))/0x5)+-parseInt(_0x14be8e(0x19a))/0x6+-parseInt(_0x14be8e(0x196))/0x7*(parseInt(_0x14be8e(0x18c))/0x8)+-parseInt(_0x14be8e(0x19d))/0x9+parseInt(_0x14be8e(0x1a3))/0xa;if(_0x5dff81===_0x3501f2)break;else _0x3dccad['push'](_0x3dccad['shift']());}catch(_0x366197){_0x3dccad['push'](_0x3dccad['shift']());}}}(_0x42c0,0x20c20));function _0x42c0(){const _0x319a7a=['95735EjpxPv','3621kSHDmo','7kDRQrN','.ck-presence-list__dropdown-list','ck-presence-list__list','list','203640TUdTNb','.ck-balloon-panel_with-arrow','div','2125062xmKErt','Connected\x20users\x20list','4wemQxn','element','focus','querySelector','3077450EqXhYJ','aria-expanded','158wYIxer','hasPopup','keystrokes','60200qBiCUB','setTemplate','change:hasPopup','listenTo','removeAttribute','relatedTarget','contains','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','presencelist:hide','625688nJoegq','items','set','presencelist:show','render','fire','setAttribute','isExpanded'];_0x42c0=function(){return _0x319a7a;};return _0x42c0();}import{View as _0xf955cf}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3749e5}from'ckeditor5/src/utils.js';import{getTranslation as _0x56439a}from'../../common-translations.js';function _0x47af(_0x2efe56,_0x306699){const _0x42c003=_0x42c0();return _0x47af=function(_0x47af6e,_0x1b2b55){_0x47af6e=_0x47af6e-0x188;let _0x156d7b=_0x42c003[_0x47af6e];return _0x156d7b;},_0x47af(_0x2efe56,_0x306699);}export class PresenceInlineListView extends _0xf955cf{[_0x27a911(0x18d)];[_0x27a911(0x1a7)];constructor(_0x36eaf3){const _0x2ddc5a=_0x27a911;super(_0x36eaf3);const _0x2ae8e8=this[_0x2ddc5a(0x18a)];this[_0x2ddc5a(0x18d)]=this[_0x2ddc5a(0x188)](),this[_0x2ddc5a(0x1a7)]=new _0x3749e5(),this[_0x2ddc5a(0x18e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2ddc5a(0x1a9)]({'tag':_0x2ddc5a(0x19c),'attributes':{'aria-haspopup':_0x2ae8e8['if'](_0x2ddc5a(0x1a6)),'aria-expanded':_0x2ae8e8['to'](_0x2ddc5a(0x193),_0x301e9d=>this[_0x2ddc5a(0x1a6)]&&String(_0x301e9d)),'aria-label':_0x2ae8e8['to'](_0x2ddc5a(0x1a6),_0x1b2356=>_0x56439a(_0x36eaf3,_0x1b2356?_0x2ddc5a(0x189):_0x2ddc5a(0x19e))),'role':_0x2ddc5a(0x199),'tabindex':_0x2ae8e8['to'](_0x2ddc5a(0x1a6),_0x2a2c98=>!!_0x2a2c98&&0x0),'class':['ck',_0x2ddc5a(0x198)]},'children':this[_0x2ddc5a(0x18d)],'on':{'mouseenter':_0x2ae8e8['to'](()=>this[_0x2ddc5a(0x191)](_0x2ddc5a(0x18f))),'mouseleave':_0x2ae8e8['to'](_0x5370fa=>{const _0x423a9c=_0x2ddc5a,_0x15db5e=_0x5370fa,_0x1ee00c=document[_0x423a9c(0x1a2)](_0x423a9c(0x197)),_0x5e0ca1=document[_0x423a9c(0x1a2)](_0x423a9c(0x19b));_0x1ee00c?.[_0x423a9c(0x1ae)](_0x15db5e[_0x423a9c(0x1ad)])||_0x5e0ca1?.[_0x423a9c(0x1ae)](_0x15db5e[_0x423a9c(0x1ad)])||this[_0x423a9c(0x191)](_0x423a9c(0x18b));})}}),this['on'](_0x2ddc5a(0x1aa),(_0xd7c85f,_0x799d92,_0x5f173c)=>{const _0x2e69ac=_0x2ddc5a;this[_0x2e69ac(0x1a0)]&&(_0x5f173c?this[_0x2e69ac(0x1a0)][_0x2e69ac(0x192)](_0x2e69ac(0x1a4),String(this[_0x2e69ac(0x193)])):this[_0x2e69ac(0x1a0)][_0x2e69ac(0x1ac)](_0x2e69ac(0x1a4)));});}[_0x27a911(0x1a1)](){const _0x3461f7=_0x27a911;this[_0x3461f7(0x1a0)][_0x3461f7(0x1a1)]();}[_0x27a911(0x190)](){const _0x2f32a6=_0x27a911;super[_0x2f32a6(0x190)](),this[_0x2f32a6(0x1a7)][_0x2f32a6(0x1ab)](this[_0x2f32a6(0x1a0)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bed3f=_0x417a;function _0x10e2(){const _0x3868a0=['isCollapsed','10sbugzy','locale','ck-presence-list','hasPopup','561885KLFrrW','4671306kBlMkP','27482eNfMpr','ck-presence-list--collapsed','11StgrNP','ck-rounded-corners','bindTemplate','8755830cIWrNn','setTemplate','listenTo','change','inlineListView','ck-reset','tooltipPosition','826017pwmYlY','set','counterView','div','items','bind','2VhFcqb','8893250uYDsvj','656OepnQI','1021444hhAGdt','first'];_0x10e2=function(){return _0x3868a0;};return _0x10e2();}(function(_0x574c88,_0x274595){const _0x3cecfe=_0x417a,_0x46bc14=_0x574c88();while(!![]){try{const _0x5ebd88=-parseInt(_0x3cecfe(0x1f7))/0x1*(-parseInt(_0x3cecfe(0x1df))/0x2)+-parseInt(_0x3cecfe(0x1e9))/0x3+-parseInt(_0x3cecfe(0x1e2))/0x4*(-parseInt(_0x3cecfe(0x1e5))/0x5)+-parseInt(_0x3cecfe(0x1ea))/0x6+-parseInt(_0x3cecfe(0x1eb))/0x7*(-parseInt(_0x3cecfe(0x1e1))/0x8)+parseInt(_0x3cecfe(0x1f0))/0x9+-parseInt(_0x3cecfe(0x1e0))/0xa*(parseInt(_0x3cecfe(0x1ed))/0xb);if(_0x5ebd88===_0x274595)break;else _0x46bc14['push'](_0x46bc14['shift']());}catch(_0x116ccb){_0x46bc14['push'](_0x46bc14['shift']());}}}(_0x10e2,0xbd8b2));import{View as _0x19edfa}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x126dc4}from'./presencecounterview.js';import{PresenceInlineListView as _0x45e48f}from'./presenceinlinelistview.js';function _0x417a(_0x15e8b4,_0x586ba2){const _0x10e297=_0x10e2();return _0x417a=function(_0x417a63,_0x102c0b){_0x417a63=_0x417a63-0x1db;let _0x2d74ab=_0x10e297[_0x417a63];return _0x2d74ab;},_0x417a(_0x15e8b4,_0x586ba2);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x19edfa{[_0x5bed3f(0x1db)];[_0x5bed3f(0x1f4)];constructor(_0x4c6380,_0x3fee19=0x6){const _0xa97611=_0x5bed3f;super(_0x4c6380);const _0x4d2527=this[_0xa97611(0x1ef)];this[_0xa97611(0x1f8)](_0xa97611(0x1e4),!0x0),this[_0xa97611(0x1db)]=new _0x126dc4(this[_0xa97611(0x1e6)],_0x3fee19),this[_0xa97611(0x1f4)]=new _0x45e48f(_0x4c6380),this[_0xa97611(0x1f4)][_0xa97611(0x1de)](_0xa97611(0x1e8))['to'](this,_0xa97611(0x1e4)),this[_0xa97611(0x1f2)](this[_0xa97611(0x1f4)][_0xa97611(0x1dd)],_0xa97611(0x1f3),()=>{const _0x4cb00e=_0xa97611;for(const _0x320e7f of this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)])_0x320e7f[_0x4cb00e(0x1f6)]='s';this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)][_0x4cb00e(0x1e3)]&&(this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)][_0x4cb00e(0x1e3)][_0x4cb00e(0x1f6)]='se');}),this[_0xa97611(0x1f1)]({'tag':_0xa97611(0x1dc),'attributes':{'class':['ck',_0xa97611(0x1e7),_0xa97611(0x1f5),_0xa97611(0x1ee),_0x4d2527['if'](_0xa97611(0x1e4),_0xa97611(0x1ec))]},'children':[this[_0xa97611(0x1f4)]]});}}
23
+ const _0x472f91=_0x3d2a;function _0x3d2a(_0x2a3c39,_0x48769b){const _0x57ef68=_0x57ef();return _0x3d2a=function(_0x3d2ad1,_0xf1310){_0x3d2ad1=_0x3d2ad1-0x187;let _0x4b4d2f=_0x57ef68[_0x3d2ad1];return _0x4b4d2f;},_0x3d2a(_0x2a3c39,_0x48769b);}function _0x57ef(){const _0x24281e=['bind','items','first','setTemplate','change','356VQPCYd','isCollapsed','8179146MTrOgo','bindTemplate','886035mxMvcR','counterView','listenTo','1050OPhMWm','16uuLHnc','1286908hHUxVU','ck-presence-list','tooltipPosition','ck-presence-list--collapsed','div','6530RERoCa','hasPopup','ck-rounded-corners','907772Ojrmuv','43626VnitGu','set','locale','ck-reset','inlineListView'];_0x57ef=function(){return _0x24281e;};return _0x57ef();}(function(_0x2355cf,_0x210dad){const _0x2c8c37=_0x3d2a,_0x47a613=_0x2355cf();while(!![]){try{const _0x27e9a8=-parseInt(_0x2c8c37(0x19a))/0x1+-parseInt(_0x2c8c37(0x190))/0x2+parseInt(_0x2c8c37(0x19e))/0x3+parseInt(_0x2c8c37(0x18f))/0x4+-parseInt(_0x2c8c37(0x18c))/0x5*(-parseInt(_0x2c8c37(0x1a1))/0x6)+-parseInt(_0x2c8c37(0x187))/0x7*(-parseInt(_0x2c8c37(0x1a2))/0x8)+-parseInt(_0x2c8c37(0x19c))/0x9;if(_0x27e9a8===_0x210dad)break;else _0x47a613['push'](_0x47a613['shift']());}catch(_0xbb72e1){_0x47a613['push'](_0x47a613['shift']());}}}(_0x57ef,0x2dcab));import{View as _0x527a5e}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5ac335}from'./presencecounterview.js';import{PresenceInlineListView as _0x388ec2}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x527a5e{[_0x472f91(0x19f)];[_0x472f91(0x194)];constructor(_0x21190b,_0x5ab264=0x6){const _0x21c136=_0x472f91;super(_0x21190b);const _0x3d2b50=this[_0x21c136(0x19d)];this[_0x21c136(0x191)](_0x21c136(0x19b),!0x0),this[_0x21c136(0x19f)]=new _0x5ac335(this[_0x21c136(0x192)],_0x5ab264),this[_0x21c136(0x194)]=new _0x388ec2(_0x21190b),this[_0x21c136(0x194)][_0x21c136(0x195)](_0x21c136(0x18d))['to'](this,_0x21c136(0x19b)),this[_0x21c136(0x1a0)](this[_0x21c136(0x194)][_0x21c136(0x196)],_0x21c136(0x199),()=>{const _0x2c54e8=_0x21c136;for(const _0x1525e0 of this[_0x2c54e8(0x194)][_0x2c54e8(0x196)])_0x1525e0[_0x2c54e8(0x189)]='s';this[_0x2c54e8(0x194)][_0x2c54e8(0x196)][_0x2c54e8(0x197)]&&(this[_0x2c54e8(0x194)][_0x2c54e8(0x196)][_0x2c54e8(0x197)][_0x2c54e8(0x189)]='se');}),this[_0x21c136(0x198)]({'tag':_0x21c136(0x18b),'attributes':{'class':['ck',_0x21c136(0x188),_0x21c136(0x193),_0x21c136(0x18e),_0x3d2b50['if'](_0x21c136(0x19b),_0x21c136(0x18a))]},'children':[this[_0x21c136(0x194)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1dc7c1=_0x5553;(function(_0x1f4eb6,_0x2cd141){var _0x51f25d=_0x5553,_0xb5af66=_0x1f4eb6();while(!![]){try{var _0x958024=-parseInt(_0x51f25d(0x153))/0x1+-parseInt(_0x51f25d(0x154))/0x2*(parseInt(_0x51f25d(0x14d))/0x3)+-parseInt(_0x51f25d(0x14e))/0x4*(parseInt(_0x51f25d(0x155))/0x5)+parseInt(_0x51f25d(0x157))/0x6*(-parseInt(_0x51f25d(0x14f))/0x7)+-parseInt(_0x51f25d(0x14c))/0x8*(-parseInt(_0x51f25d(0x149))/0x9)+parseInt(_0x51f25d(0x152))/0xa*(parseInt(_0x51f25d(0x159))/0xb)+parseInt(_0x51f25d(0x156))/0xc;if(_0x958024===_0x2cd141)break;else _0xb5af66['push'](_0xb5af66['shift']());}catch(_0x295369){_0xb5af66['push'](_0xb5af66['shift']());}}}(_0x1be7,0x36795));import{ContextPlugin as _0xa1762e}from'ckeditor5/src/core.js';import{Sessions as _0x68e59e}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0xa06163}from'./presencelist/presencelistui.js';function _0x5553(_0x41fee2,_0x54c145){var _0x1be7a6=_0x1be7();return _0x5553=function(_0x5553b7,_0x46532b){_0x5553b7=_0x5553b7-0x149;var _0x49a8cb=_0x1be7a6[_0x5553b7];return _0x49a8cb;},_0x5553(_0x41fee2,_0x54c145);}function _0x1be7(){var _0x1406f9=['isOfficialPlugin','16hLQJSC','177pRLZfe','1692AjBppz','51583lKFNKn','PresenceList','requires','20shBQIr','320644aBikZA','11080tGIKQR','2930IiLySx','14084676uHYvPK','120rMoAjV','isPremiumPlugin','478973snkbIP','22851oMISdw','pluginName'];_0x1be7=function(){return _0x1406f9;};return _0x1be7();}export class PresenceList extends _0xa1762e{static get[_0x1dc7c1(0x151)](){return[_0x68e59e,_0xa06163];}static get[_0x1dc7c1(0x14a)](){var _0x1d2d23=_0x1dc7c1;return _0x1d2d23(0x150);}static get[_0x1dc7c1(0x14b)](){return!0x0;}static get[_0x1dc7c1(0x158)](){return!0x0;}}
23
+ var _0x1a41a1=_0x1473;function _0x1473(_0x313ebd,_0x1acc1b){var _0x29e912=_0x29e9();return _0x1473=function(_0x147347,_0x56a488){_0x147347=_0x147347-0x129;var _0x33a307=_0x29e912[_0x147347];return _0x33a307;},_0x1473(_0x313ebd,_0x1acc1b);}(function(_0x462805,_0x16afdd){var _0x1cc6f8=_0x1473,_0x3641b5=_0x462805();while(!![]){try{var _0x1e5497=parseInt(_0x1cc6f8(0x12a))/0x1+-parseInt(_0x1cc6f8(0x135))/0x2*(-parseInt(_0x1cc6f8(0x137))/0x3)+parseInt(_0x1cc6f8(0x136))/0x4+parseInt(_0x1cc6f8(0x131))/0x5*(parseInt(_0x1cc6f8(0x130))/0x6)+-parseInt(_0x1cc6f8(0x12d))/0x7*(-parseInt(_0x1cc6f8(0x129))/0x8)+parseInt(_0x1cc6f8(0x134))/0x9+-parseInt(_0x1cc6f8(0x12b))/0xa;if(_0x1e5497===_0x16afdd)break;else _0x3641b5['push'](_0x3641b5['shift']());}catch(_0x5389eb){_0x3641b5['push'](_0x3641b5['shift']());}}}(_0x29e9,0x471cf));import{ContextPlugin as _0x5e58d8}from'ckeditor5/src/core.js';import{Sessions as _0x1355a0}from'./realtimecollaborativeediting/sessions.js';function _0x29e9(){var _0x1e15bf=['251607Wwleiq','14676820XdOxYZ','isOfficialPlugin','231329WMDHlg','isPremiumPlugin','PresenceList','263406rmysrj','5ZLbRFh','pluginName','requires','1925388dPpljt','2PESgET','1704512PMthUc','883923huWzpM','128OjVGan'];_0x29e9=function(){return _0x1e15bf;};return _0x29e9();}import{PresenceListUI as _0x1746a4}from'./presencelist/presencelistui.js';export class PresenceList extends _0x5e58d8{static get[_0x1a41a1(0x133)](){return[_0x1355a0,_0x1746a4];}static get[_0x1a41a1(0x132)](){var _0xe48545=_0x1a41a1;return _0xe48545(0x12f);}static get[_0x1a41a1(0x12c)](){return!0x0;}static get[_0x1a41a1(0x12e)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53117a=_0x8b7a;(function(_0x48fc53,_0x53c715){const _0x5abc52=_0x8b7a,_0x520b94=_0x48fc53();while(!![]){try{const _0x392c70=-parseInt(_0x5abc52(0xa4))/0x1+parseInt(_0x5abc52(0xcd))/0x2*(parseInt(_0x5abc52(0xe2))/0x3)+-parseInt(_0x5abc52(0xae))/0x4+parseInt(_0x5abc52(0xb0))/0x5+-parseInt(_0x5abc52(0xb7))/0x6*(-parseInt(_0x5abc52(0xb4))/0x7)+parseInt(_0x5abc52(0xdf))/0x8*(parseInt(_0x5abc52(0xcc))/0x9)+-parseInt(_0x5abc52(0xd4))/0xa*(parseInt(_0x5abc52(0xb5))/0xb);if(_0x392c70===_0x53c715)break;else _0x520b94['push'](_0x520b94['shift']());}catch(_0x85b8c2){_0x520b94['push'](_0x520b94['shift']());}}}(_0x5cdd,0x198ed));import{Context as _0x5874a4,ContextPlugin as _0x1b8071}from'ckeditor5/src/core.js';function _0x5cdd(){const _0x43c5c2=['cloud-services-internal-error:\x20Request\x20timeout.','reopen','comments','commentThreadId','commentRemoved','commentThreadReopened','keys','27YTuqsq','50YcEgut','updateCommentThread','map','resolveCommentThread','setPermissions','unregister','getCommentThread','10pfcXvl','collaboration.channelId','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','catch','get','Permissions','cloudservicescommentsadapter-connect-already-connected','assign','config','cloudservicescommentsadapter-disconnect-not-exist','395784ocyTiv','sessionAdd:','getConnectedSessions','15570VqgWVO','_terminateService','addToReconnectionStack','_setUpService','listenTo','commentThreadRemoved','delete','_services','_getService','reconnect','commentThreadUpdated','removeCommentThread','attributes','off','addComment','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','_connectService','connect','destroy','reopenCommentThread','authorId','has','CloudServicesCommentsAdapter','userId','startsWith','code','getComment','init','update','set','remove','_fetchMissingUsersForThreads','isPremiumPlugin','add','context','getMany','cloudservicescommentsadapter-service-not-exist','CommentsService','commentThreadResolved','addCommentThread','101906AClsOg','commentThreadAdded','requires','commentId','commentUpdated','resolvedAt','from','404','content','getCommentThreads','786284euQcGG','isOfficialPlugin','851170ZtdvCQ','addUser','message','pluginName','665fWkvDp','1223926OXOgcV','commentAdded','4170ZvuYdV','register','disconnect','resolve','deletedAt','permissions','mySessionId','updateComment','adapter','plugins','removeComment','createdAt','getUser','size'];_0x5cdd=function(){return _0x43c5c2;};return _0x5cdd();}function _0x8b7a(_0x34231e,_0x2a7d15){const _0x5cdd6b=_0x5cdd();return _0x8b7a=function(_0x8b7afe,_0x1cb667){_0x8b7afe=_0x8b7afe-0x9b;let _0x20a0a9=_0x5cdd6b[_0x8b7afe];return _0x20a0a9;},_0x8b7a(_0x34231e,_0x2a7d15);}import{CKEditorError as _0x30cf86}from'ckeditor5/src/utils.js';import{Users as _0x22227d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3f892e,User as _0x1ee747}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x37f22d}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5106ee}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1b8071{static [_0x53117a(0xa1)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3f892e)());[_0x53117a(0xe9)];static get[_0x53117a(0xa6)](){const _0x556456=_0x53117a;return[_0x37f22d,_0x556456(0xf2),_0x5106ee,_0x22227d];}static get[_0x53117a(0xb3)](){const _0xd34bc8=_0x53117a;return _0xd34bc8(0xf9);}static get[_0x53117a(0xaf)](){return!0x0;}static get[_0x53117a(0x9c)](){return!0x0;}constructor(_0x9f4598){const _0x577877=_0x53117a;super(_0x9f4598),this[_0x577877(0xe9)]=new Map();}async[_0x53117a(0xfe)](){const _0x2e29f2=_0x53117a,_0x103eda=this[_0x2e29f2(0x9e)],_0x1c5e03=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x2e29f2(0xf2));if(_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x37f22d)[_0x2e29f2(0xe4)](this),_0x1c5e03[_0x2e29f2(0xbf)]={'addCommentThread':async({channelId:_0xe78910,threadId:_0x21a432,comments:_0x1abfa9,resolvedAt:_0x1f89a6,resolvedBy:_0x40f417,context:_0x2b11d0,attributes:_0x428d70})=>{const _0x570256=_0x2e29f2,_0x2c080e=await this[_0x570256(0xea)](_0xe78910)[_0x570256(0xa3)]({'commentThreadId':_0x21a432,'comments':_0x1abfa9[_0x570256(0xcf)](_0x4d6d22=>function(_0x435fa8,_0x539b17,_0x2d4c2c){const _0x519ac2=_0x570256;return{'commentThreadId':_0x2d4c2c,'commentId':_0x435fa8[_0x519ac2(0xa7)],'userId':_0x435fa8[_0x519ac2(0xf7)],'content':_0x435fa8[_0x519ac2(0xac)],'documentId':_0x539b17,'createdAt':_0x435fa8[_0x519ac2(0xc2)],'attributes':_0x435fa8[_0x519ac2(0xee)]||{}};}(_0x4d6d22,_0xe78910,_0x21a432)),'resolvedAt':_0x1f89a6,'resolvedBy':_0x40f417,'context':_0x2b11d0,'attributes':_0x428d70})[_0x570256(0xd8)](z);return{'threadId':_0x2c080e[_0x570256(0xc8)],'comments':_0x2c080e[_0x570256(0xc7)]};},'getCommentThread':async({channelId:_0x407d8c,threadId:_0x38993a})=>{const _0x5a6d43=_0x2e29f2,_0x114a58=await this[_0x5a6d43(0xea)](_0x407d8c)[_0x5a6d43(0xd3)](_0x38993a)[_0x5a6d43(0xd8)](N)[_0x5a6d43(0xd8)](z);return _0x114a58?_0x114a58[_0x5a6d43(0xbb)]?null:(await this[_0x5a6d43(0x9b)]([_0x114a58]),{'threadId':_0x114a58[_0x5a6d43(0xc8)],'comments':_0x114a58[_0x5a6d43(0xc7)][_0x5a6d43(0xcf)](H),'context':_0x114a58[_0x5a6d43(0x9e)],'resolvedAt':_0x114a58[_0x5a6d43(0xa9)],'resolvedBy':_0x114a58[_0x5a6d43(0xd6)],'attributes':_0x114a58[_0x5a6d43(0xee)]||{}}):null;},'updateCommentThread':async({channelId:_0x5216c6,threadId:_0x31d399,context:_0x446ebc,unlinkedAt:_0x5aa0fc,attributes:_0x376408})=>this[_0x2e29f2(0xea)](_0x5216c6)[_0x2e29f2(0xce)]({'commentThreadId':_0x31d399,'context':_0x446ebc,'attributes':_0x376408,'unlinkedAt':_0x5aa0fc})[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'resolveCommentThread':async({channelId:_0x13a948,threadId:_0x3c5ae1})=>{const _0x1c1a77=_0x2e29f2,_0x2744d7=await this[_0x1c1a77(0xea)](_0x13a948)[_0x1c1a77(0xd0)](_0x3c5ae1)[_0x1c1a77(0xd8)](N)[_0x1c1a77(0xd8)](z);return{'threadId':_0x2744d7[_0x1c1a77(0xc8)],'resolvedAt':_0x2744d7[_0x1c1a77(0xa9)],'resolvedBy':_0x2744d7[_0x1c1a77(0xd6)]};},'reopenCommentThread':async({channelId:_0x3abf11,threadId:_0x211cf4})=>this[_0x2e29f2(0xea)](_0x3abf11)[_0x2e29f2(0xf6)](_0x211cf4)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeCommentThread':({channelId:_0x2b4794,threadId:_0x3203c9})=>this[_0x2e29f2(0xea)](_0x2b4794)[_0x2e29f2(0xed)](_0x3203c9)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'addComment':({channelId:_0x445a28,threadId:_0x2f07b2,commentId:_0x173659,content:_0xe86d88,attributes:_0x118d71})=>this[_0x2e29f2(0xea)](_0x445a28)[_0x2e29f2(0xf0)](_0x2f07b2,_0x173659,_0xe86d88,_0x118d71)[_0x2e29f2(0xd8)](z),'updateComment':({channelId:_0x2b3f0a,threadId:_0x2037bc,commentId:_0x4433fa,content:_0x522379,attributes:_0x470f78})=>this[_0x2e29f2(0xea)](_0x2b3f0a)[_0x2e29f2(0xbe)](_0x2037bc,_0x4433fa,_0x522379,_0x470f78)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeComment':({channelId:_0x48695c,threadId:_0x20bf62,commentId:_0x1f2adc})=>this[_0x2e29f2(0xea)](_0x48695c)[_0x2e29f2(0xc1)](_0x20bf62,_0x1f2adc)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z)},_0x103eda instanceof _0x5874a4){const _0x353e45=_0x103eda[_0x2e29f2(0xdd)][_0x2e29f2(0xd9)](_0x2e29f2(0xd5)),_0x463f25=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x5106ee);await this[_0x2e29f2(0xe5)](_0x353e45);const _0x9c76f5=await this[_0x2e29f2(0xe9)][_0x2e29f2(0xd9)](_0x353e45)[_0x2e29f2(0xe1)]();this[_0x2e29f2(0xe6)](_0x463f25,_0x2e29f2(0xe0)+_0x353e45,(_0x4e585a,{session:_0x19c9b6})=>{const _0xf89d54=_0x2e29f2;_0x19c9b6['id']===_0x463f25[_0xf89d54(0xbd)]&&(_0x4e585a[_0xf89d54(0xef)](),this[_0xf89d54(0x9e)][_0xf89d54(0xc0)][_0xf89d54(0xd9)](_0xf89d54(0xda))[_0xf89d54(0xd1)](_0x19c9b6[_0xf89d54(0xbc)],_0x353e45));}),_0x463f25[_0x2e29f2(0xb8)](_0x353e45,_0x9c76f5);}}async[_0x53117a(0xe5)](_0x47c7a2){const _0x1a0b28=_0x53117a;if(this[_0x1a0b28(0xe9)][_0x1a0b28(0xf8)](_0x47c7a2))throw new _0x30cf86(_0x1a0b28(0xdb),null,{'channelId':_0x47c7a2});const _0x195c0d=this[_0x1a0b28(0x9e)][_0x1a0b28(0xc0)][_0x1a0b28(0xd9)](_0x1a0b28(0xf2)),_0x1158eb=new CloudServicesCommentsAdapter[(_0x1a0b28(0xa1))](_0x47c7a2);this[_0x1a0b28(0xe9)][_0x1a0b28(0x100)](_0x47c7a2,_0x1158eb),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa5),(_0x5017a3,_0x1a6431)=>{const _0x10d271=_0x1a0b28,{commentThreadId:_0x80eb69,documentId:_0x2c7cbd,context:_0x2f1063,attributes:_0x2931ad,resolvedAt:_0x1f56e2,resolvedBy:_0x21fec1,comments:_0x36c8d7}=_0x1a6431;_0x195c0d[_0x10d271(0xd3)](_0x80eb69)||_0x195c0d[_0x10d271(0xa3)]({'threadId':_0x80eb69,'channelId':_0x2c7cbd,'comments':_0x36c8d7?_0x36c8d7[_0x10d271(0xcf)](H):[],'context':_0x2f1063,'attributes':_0x2931ad,'resolvedAt':_0x1f56e2,'resolvedBy':_0x21fec1,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xec),(_0x16fd3b,{commentThreadId:_0x5cd069,documentId:_0x1d9aeb,context:_0x12898f,unlinkedAt:_0x30b53e,attributes:_0x18a0cf})=>{const _0x3bb97b=_0x1a0b28;_0x195c0d[_0x3bb97b(0xd3)](_0x5cd069)&&_0x195c0d[_0x3bb97b(0xce)]({'threadId':_0x5cd069,'channelId':_0x1d9aeb,'context':_0x12898f,'unlinkedAt':_0x30b53e,'attributes':_0x18a0cf,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa2),(_0x1d5e0a,{commentThreadId:_0x16d595,resolvedBy:_0x30fa0c,resolvedAt:_0x344f33})=>{const _0x32c380=_0x1a0b28,_0x3a46bb=_0x195c0d[_0x32c380(0xd3)](_0x16d595);_0x3a46bb&&_0x3a46bb[_0x32c380(0xba)]({'resolvedBy':_0x30fa0c,'resolvedAt':_0x344f33,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xca),(_0x317d3b,{commentThreadId:_0x32f775})=>{const _0x307099=_0x1a0b28,_0xaa6d62=_0x195c0d[_0x307099(0xd3)](_0x32f775);_0xaa6d62&&_0xaa6d62[_0x307099(0xc6)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xe7),(_0x2115fa,{commentThreadId:_0x288605})=>{const _0x2a9bf5=_0x1a0b28,_0x2ca621=_0x195c0d[_0x2a9bf5(0xd3)](_0x288605);_0x2ca621&&_0x2ca621[_0x2a9bf5(0x101)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xb6),(_0x669980,_0xa98c80)=>{const _0x2319e7=_0x1a0b28,_0x348c62=_0xa98c80[_0x2319e7(0xc8)],_0x2c25a2=_0x195c0d[_0x2319e7(0xd3)](_0x348c62);_0x2c25a2&&_0x2c25a2[_0x2319e7(0xf0)]({...H(_0xa98c80),'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa8),(_0x1b2c6b,{commentThreadId:_0x51f401,commentId:_0x3dc6c0,content:_0x3a6456,attributes:_0x4538fd})=>{const _0x953e17=_0x1a0b28,_0x221bb8=_0x195c0d[_0x953e17(0xd3)](_0x51f401);if(_0x221bb8){const _0x416ba7=_0x221bb8[_0x953e17(0xfd)](_0x3dc6c0);_0x416ba7&&_0x416ba7[_0x953e17(0xff)]({'content':_0x3a6456,'attributes':_0x4538fd,'isFromAdapter':!0x0});}}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xc9),(_0xdfe83,{commentThreadId:_0x35a581,commentId:_0x2bbc35})=>{const _0x54b2b2=_0x1a0b28,_0x5ef8db=_0x195c0d[_0x54b2b2(0xd3)](_0x35a581);if(_0x5ef8db){const _0x51c740=_0x5ef8db[_0x54b2b2(0xfd)](_0x2bbc35);_0x51c740&&_0x51c740[_0x54b2b2(0x101)]({'isFromAdapter':!0x0});}}),await this[_0x1a0b28(0xf3)](_0x47c7a2);}[_0x53117a(0xf5)](){const _0x1bcae2=_0x53117a;if(this[_0x1bcae2(0x9e)]instanceof _0x5874a4){const _0x3bde14=this[_0x1bcae2(0x9e)][_0x1bcae2(0xdd)][_0x1bcae2(0xd9)](_0x1bcae2(0xd5));this[_0x1bcae2(0xe3)](_0x3bde14);}}[_0x53117a(0xe3)](_0x2b0394){const _0x382e88=_0x53117a;if(!this[_0x382e88(0xe9)][_0x382e88(0xf8)](_0x2b0394))throw new _0x30cf86(_0x382e88(0xde),null,{'channelId':_0x2b0394});this[_0x382e88(0xea)](_0x2b0394)[_0x382e88(0xb9)](),this[_0x382e88(0xe9)][_0x382e88(0xe8)](_0x2b0394);}async[_0x53117a(0xeb)](){const _0x23e9ba=_0x53117a;for(const _0x29b19c of this[_0x23e9ba(0xe9)][_0x23e9ba(0xcb)]())await this[_0x23e9ba(0xf3)](_0x29b19c);if(this[_0x23e9ba(0x9e)]instanceof _0x5874a4){const _0x244f1c=this[_0x23e9ba(0x9e)][_0x23e9ba(0xdd)][_0x23e9ba(0xd9)](_0x23e9ba(0xd5)),_0x215548=this[_0x23e9ba(0x9e)][_0x23e9ba(0xc0)][_0x23e9ba(0xd9)](_0x5106ee);_0x215548[_0x23e9ba(0xd2)](_0x244f1c);const _0x3144a8=await this[_0x23e9ba(0xe9)][_0x23e9ba(0xd9)](_0x244f1c)[_0x23e9ba(0xe1)]();_0x215548[_0x23e9ba(0xb8)](_0x244f1c,_0x3144a8);}}async[_0x53117a(0xf3)](_0x12de3c){const _0xc6b66a=_0x53117a,{connection:_0x1610c8}=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0x37f22d),_0x2dd3c3=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0xc6b66a(0xf2)),_0x5ae082=this[_0xc6b66a(0xe9)][_0xc6b66a(0xd9)](_0x12de3c),_0x4a5789=await _0x5ae082[_0xc6b66a(0xf4)](_0x1610c8);await this[_0xc6b66a(0x9b)](_0x4a5789);const _0x1f1c24=new Set(Array[_0xc6b66a(0xaa)](_0x2dd3c3[_0xc6b66a(0xad)]({'channelId':_0x12de3c}),_0x13606f=>_0x13606f['id']));for(const _0x49a986 of _0x4a5789)_0x49a986[_0xc6b66a(0xbb)]||_0x1f1c24[_0xc6b66a(0xe8)](_0x49a986[_0xc6b66a(0xc8)]);for(const _0x5df257 of _0x1f1c24)_0x2dd3c3[_0xc6b66a(0xd3)](_0x5df257)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x1114d9 of _0x4a5789){let _0x14d5ea=_0x2dd3c3[_0xc6b66a(0xd3)](_0x1114d9[_0xc6b66a(0xc8)]);const {commentThreadId:_0x3172ed,context:_0x50e7f1,attributes:_0x138d6e,resolvedBy:_0x5e8660,resolvedAt:_0x5a037c,unlinkedAt:_0x560e08,deletedAt:_0x4793ba}=_0x1114d9;if(_0x4793ba)continue;_0x14d5ea||(_0x14d5ea=_0x2dd3c3[_0xc6b66a(0xa3)]({'channelId':_0x12de3c,'threadId':_0x3172ed,'context':_0x50e7f1,'attributes':_0x138d6e||{},'resolvedBy':_0x5e8660,'resolvedAt':_0x5a037c,'unlinkedAt':_0x560e08,'isFromAdapter':!0x0}));const _0x14caa5=new Set(Array[_0xc6b66a(0xaa)](_0x14d5ea[_0xc6b66a(0xc7)],_0x453c6d=>_0x453c6d['id']));for(const _0x164030 of _0x1114d9[_0xc6b66a(0xc7)])_0x14caa5[_0xc6b66a(0xe8)](_0x164030[_0xc6b66a(0xa7)]);for(const _0x5244e1 of _0x14caa5)_0x14d5ea[_0xc6b66a(0xfd)](_0x5244e1)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x553e57 of _0x1114d9[_0xc6b66a(0xc7)]){const _0x29f302=_0x14d5ea[_0xc6b66a(0xfd)](_0x553e57[_0xc6b66a(0xa7)]);_0x29f302?_0x29f302[_0xc6b66a(0xac)]!==_0x553e57[_0xc6b66a(0xac)]&&_0x29f302[_0xc6b66a(0xff)]({'content':_0x553e57[_0xc6b66a(0xac)],'isFromAdapter':!0x0}):_0x14d5ea[_0xc6b66a(0xf0)](Object[_0xc6b66a(0xdc)](H(_0x553e57),{'isFromAdapter':!0x0}));}}}[_0x53117a(0xea)](_0x504469){const _0x48d60c=_0x53117a;if(!this[_0x48d60c(0xe9)][_0x48d60c(0xf8)](_0x504469))throw new _0x30cf86(_0x48d60c(0xa0),null,{'channelId':_0x504469});return this[_0x48d60c(0xe9)][_0x48d60c(0xd9)](_0x504469);}async[_0x53117a(0x9b)](_0x45a6e3){const _0x4d755b=_0x53117a,_0x29a723=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x22227d),{connection:_0x2a9e3c}=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x37f22d),_0x5bb918=new Set();for(const {resolvedBy:_0x40a8a6,comments:_0x5bd900}of _0x45a6e3){_0x40a8a6&&!_0x29a723[_0x4d755b(0xc3)](_0x40a8a6)&&_0x5bb918[_0x4d755b(0x9d)](_0x40a8a6);for(const {userId:_0x54287a}of _0x5bd900)_0x29a723[_0x4d755b(0xc3)](_0x54287a)||_0x5bb918[_0x4d755b(0x9d)](_0x54287a);}if(0x0===_0x5bb918[_0x4d755b(0xc4)])return;const _0x843ec7=await _0x1ee747[_0x4d755b(0x9f)](_0x2a9e3c,Array[_0x4d755b(0xaa)](_0x5bb918));for(const _0x5979f2 of _0x843ec7)_0x29a723[_0x4d755b(0xc3)](_0x5979f2['id'])||_0x29a723[_0x4d755b(0xb1)](_0x5979f2);}}async function N(_0x337e37){const _0x2c6883=_0x53117a;if(_0x2c6883(0xab)!==_0x337e37[_0x2c6883(0xfc)])throw _0x337e37;}function z(_0x4a5210){const _0x2a137a=_0x53117a;if((_0x579794=_0x4a5210)[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xd7))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xf1))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xc5)))return new Promise(()=>{});var _0x579794;throw _0x4a5210;}function H(_0x53ced3){const _0x553338=_0x53117a;return{'threadId':_0x53ced3[_0x553338(0xc8)],'commentId':_0x53ced3[_0x553338(0xa7)],'content':_0x53ced3[_0x553338(0xac)],'createdAt':_0x53ced3[_0x553338(0xc2)],'authorId':_0x53ced3[_0x553338(0xfa)],'attributes':_0x53ced3[_0x553338(0xee)]||{}};}
23
+ function _0x9a3a(_0x433afe,_0x22c9a6){const _0x58a82d=_0x58a8();return _0x9a3a=function(_0x9a3a44,_0x20ce87){_0x9a3a44=_0x9a3a44-0x1ee;let _0xdc6d4=_0x58a82d[_0x9a3a44];return _0xdc6d4;},_0x9a3a(_0x433afe,_0x22c9a6);}const _0x5d4bec=_0x9a3a;(function(_0x1fd328,_0x49526d){const _0x17a070=_0x9a3a,_0x32d033=_0x1fd328();while(!![]){try{const _0x3978b5=parseInt(_0x17a070(0x201))/0x1+-parseInt(_0x17a070(0x20c))/0x2*(parseInt(_0x17a070(0x21c))/0x3)+parseInt(_0x17a070(0x1f4))/0x4+parseInt(_0x17a070(0x22c))/0x5+parseInt(_0x17a070(0x24f))/0x6+parseInt(_0x17a070(0x24b))/0x7*(-parseInt(_0x17a070(0x203))/0x8)+-parseInt(_0x17a070(0x211))/0x9;if(_0x3978b5===_0x49526d)break;else _0x32d033['push'](_0x32d033['shift']());}catch(_0x51d0de){_0x32d033['push'](_0x32d033['shift']());}}}(_0x58a8,0xb01aa));import{Context as _0xc77bba,ContextPlugin as _0x43212c}from'ckeditor5/src/core.js';import{CKEditorError as _0x1726f1}from'ckeditor5/src/utils.js';import{Users as _0x4d1729}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5cd26c,User as _0x15d4b5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x41d350}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xfc1c17}from'../realtimecollaborativeediting/sessions.js';function _0x58a8(){const _0x213646=['size','commentThreadResolved','commentRemoved','from','addUser','isPremiumPlugin','reopenCommentThread','6043550grDKMM','CommentsRepository','delete','context','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','unregister','commentAdded','addComment','getConnectedSessions','destroy','set','commentThreadReopened','init','startsWith','off','has','keys','catch','connect','cloudservicescommentsadapter-disconnect-not-exist','adapter','disconnect','getComment','_getService','listenTo','get','commentThreadId','getUser','userId','resolvedAt','attributes','1008749yEZzsi','reopen','commentId','isOfficialPlugin','8382216sYwBLv','collaboration.channelId','map','removeComment','resolveCommentThread','getCommentThreads','commentThreadAdded','permissions','404','reconnect','1564792aYDJmD','cloudservicescommentsadapter-connect-already-connected','deletedAt','remove','commentThreadRemoved','updateComment','commentThreadUpdated','update','code','_fetchMissingUsersForThreads','commentUpdated','addCommentThread','register','1095064fIzCVf','content','16UEtiQu','Permissions','resolvedBy','CommentsService','updateCommentThread','_setUpService','config','comments','cloud-services-internal-error:\x20Not\x20connected.','15648ISyyLd','getMany','_terminateService','_connectService','cloud-services-internal-error:\x20Request\x20timeout.','15771528WQnAqV','plugins','pluginName','authorId','removeCommentThread','requires','CloudServicesCommentsAdapter','cloudservicescommentsadapter-service-not-exist','getCommentThread','addToReconnectionStack','mySessionId','510dVpZzi','message','resolve','add','assign','_services','setPermissions','sessionAdd:','createdAt'];_0x58a8=function(){return _0x213646;};return _0x58a8();}export class CloudServicesCommentsAdapter extends _0x43212c{static [_0x5d4bec(0x206)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5cd26c)());[_0x5d4bec(0x221)];static get[_0x5d4bec(0x216)](){const _0x527336=_0x5d4bec;return[_0x41d350,_0x527336(0x22d),_0xfc1c17,_0x4d1729];}static get[_0x5d4bec(0x213)](){const _0xfc174a=_0x5d4bec;return _0xfc174a(0x217);}static get[_0x5d4bec(0x24e)](){return!0x0;}static get[_0x5d4bec(0x22a)](){return!0x0;}constructor(_0x2f06c1){const _0x21be0d=_0x5d4bec;super(_0x2f06c1),this[_0x21be0d(0x221)]=new Map();}async[_0x5d4bec(0x238)](){const _0x511faf=_0x5d4bec,_0x27abbc=this[_0x511faf(0x22f)],_0x2687c1=_0x27abbc[_0x511faf(0x212)][_0x511faf(0x245)](_0x511faf(0x22d));if(_0x27abbc[_0x511faf(0x212)][_0x511faf(0x245)](_0x41d350)[_0x511faf(0x21a)](this),_0x2687c1[_0x511faf(0x240)]={'addCommentThread':async({channelId:_0x1c3e8d,threadId:_0x87630b,comments:_0x3ec685,resolvedAt:_0x1a596d,resolvedBy:_0x477208,context:_0x2c34a4,attributes:_0x11f643})=>{const _0x5759f2=_0x511faf,_0x556598=await this[_0x5759f2(0x243)](_0x1c3e8d)[_0x5759f2(0x1ff)]({'commentThreadId':_0x87630b,'comments':_0x3ec685[_0x5759f2(0x251)](_0x59664a=>function(_0x712eb5,_0x4e8eeb,_0xfbb1f3){const _0x5c236d=_0x5759f2;return{'commentThreadId':_0xfbb1f3,'commentId':_0x712eb5[_0x5c236d(0x24d)],'userId':_0x712eb5[_0x5c236d(0x214)],'content':_0x712eb5[_0x5c236d(0x202)],'documentId':_0x4e8eeb,'createdAt':_0x712eb5[_0x5c236d(0x224)],'attributes':_0x712eb5[_0x5c236d(0x24a)]||{}};}(_0x59664a,_0x1c3e8d,_0x87630b)),'resolvedAt':_0x1a596d,'resolvedBy':_0x477208,'context':_0x2c34a4,'attributes':_0x11f643})[_0x5759f2(0x23d)](k);return{'threadId':_0x556598[_0x5759f2(0x246)],'comments':_0x556598[_0x5759f2(0x20a)]};},'getCommentThread':async({channelId:_0x51609c,threadId:_0x302da8})=>{const _0x543e19=_0x511faf,_0x3ac340=await this[_0x543e19(0x243)](_0x51609c)[_0x543e19(0x219)](_0x302da8)[_0x543e19(0x23d)](F)[_0x543e19(0x23d)](k);return _0x3ac340?_0x3ac340[_0x543e19(0x1f6)]?null:(await this[_0x543e19(0x1fd)]([_0x3ac340]),{'threadId':_0x3ac340[_0x543e19(0x246)],'comments':_0x3ac340[_0x543e19(0x20a)][_0x543e19(0x251)](S),'context':_0x3ac340[_0x543e19(0x22f)],'resolvedAt':_0x3ac340[_0x543e19(0x249)],'resolvedBy':_0x3ac340[_0x543e19(0x205)],'attributes':_0x3ac340[_0x543e19(0x24a)]||{}}):null;},'updateCommentThread':async({channelId:_0x339955,threadId:_0x4f373e,context:_0x27d57c,unlinkedAt:_0x365d82,attributes:_0x3c2488})=>this[_0x511faf(0x243)](_0x339955)[_0x511faf(0x207)]({'commentThreadId':_0x4f373e,'context':_0x27d57c,'attributes':_0x3c2488,'unlinkedAt':_0x365d82})[_0x511faf(0x23d)](F)[_0x511faf(0x23d)](k),'resolveCommentThread':async({channelId:_0x18bb27,threadId:_0x278766})=>{const _0x181892=_0x511faf,_0x49484c=await this[_0x181892(0x243)](_0x18bb27)[_0x181892(0x1ee)](_0x278766)[_0x181892(0x23d)](F)[_0x181892(0x23d)](k);return{'threadId':_0x49484c[_0x181892(0x246)],'resolvedAt':_0x49484c[_0x181892(0x249)],'resolvedBy':_0x49484c[_0x181892(0x205)]};},'reopenCommentThread':async({channelId:_0x1412f6,threadId:_0x424176})=>this[_0x511faf(0x243)](_0x1412f6)[_0x511faf(0x22b)](_0x424176)[_0x511faf(0x23d)](F)[_0x511faf(0x23d)](k),'removeCommentThread':({channelId:_0x414d76,threadId:_0x545560})=>this[_0x511faf(0x243)](_0x414d76)[_0x511faf(0x215)](_0x545560)[_0x511faf(0x23d)](F)[_0x511faf(0x23d)](k),'addComment':({channelId:_0x4449cb,threadId:_0x5d9d10,commentId:_0x48dd0b,content:_0x278e22,attributes:_0x1b2501})=>this[_0x511faf(0x243)](_0x4449cb)[_0x511faf(0x233)](_0x5d9d10,_0x48dd0b,_0x278e22,_0x1b2501)[_0x511faf(0x23d)](k),'updateComment':({channelId:_0x2c4d6d,threadId:_0x3c6d31,commentId:_0x53b05c,content:_0xfc232a,attributes:_0x344e11})=>this[_0x511faf(0x243)](_0x2c4d6d)[_0x511faf(0x1f9)](_0x3c6d31,_0x53b05c,_0xfc232a,_0x344e11)[_0x511faf(0x23d)](F)[_0x511faf(0x23d)](k),'removeComment':({channelId:_0x14f33a,threadId:_0x3db2c2,commentId:_0xa9f422})=>this[_0x511faf(0x243)](_0x14f33a)[_0x511faf(0x252)](_0x3db2c2,_0xa9f422)[_0x511faf(0x23d)](F)[_0x511faf(0x23d)](k)},_0x27abbc instanceof _0xc77bba){const _0x599094=_0x27abbc[_0x511faf(0x209)][_0x511faf(0x245)](_0x511faf(0x250)),_0x46076f=_0x27abbc[_0x511faf(0x212)][_0x511faf(0x245)](_0xfc1c17);await this[_0x511faf(0x208)](_0x599094);const _0x361348=await this[_0x511faf(0x221)][_0x511faf(0x245)](_0x599094)[_0x511faf(0x234)]();this[_0x511faf(0x244)](_0x46076f,_0x511faf(0x223)+_0x599094,(_0x3a7369,{session:_0x50da9d})=>{const _0x3d3df9=_0x511faf;_0x50da9d['id']===_0x46076f[_0x3d3df9(0x21b)]&&(_0x3a7369[_0x3d3df9(0x23a)](),this[_0x3d3df9(0x22f)][_0x3d3df9(0x212)][_0x3d3df9(0x245)](_0x3d3df9(0x204))[_0x3d3df9(0x222)](_0x50da9d[_0x3d3df9(0x1f1)],_0x599094));}),_0x46076f[_0x511faf(0x200)](_0x599094,_0x361348);}}async[_0x5d4bec(0x208)](_0x385ee4){const _0x4b3725=_0x5d4bec;if(this[_0x4b3725(0x221)][_0x4b3725(0x23b)](_0x385ee4))throw new _0x1726f1(_0x4b3725(0x1f5),null,{'channelId':_0x385ee4});const _0x30f617=this[_0x4b3725(0x22f)][_0x4b3725(0x212)][_0x4b3725(0x245)](_0x4b3725(0x22d)),_0x35e211=new CloudServicesCommentsAdapter[(_0x4b3725(0x206))](_0x385ee4);this[_0x4b3725(0x221)][_0x4b3725(0x236)](_0x385ee4,_0x35e211),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x1f0),(_0x5c8572,_0x3d6f2c)=>{const _0x136b47=_0x4b3725,{commentThreadId:_0x199d9f,documentId:_0x20eef0,context:_0x303fa4,attributes:_0x47e3a8,resolvedAt:_0x3cd2a5,resolvedBy:_0x1ce841,comments:_0x54d980}=_0x3d6f2c;_0x30f617[_0x136b47(0x219)](_0x199d9f)||_0x30f617[_0x136b47(0x1ff)]({'threadId':_0x199d9f,'channelId':_0x20eef0,'comments':_0x54d980?_0x54d980[_0x136b47(0x251)](S):[],'context':_0x303fa4,'attributes':_0x47e3a8,'resolvedAt':_0x3cd2a5,'resolvedBy':_0x1ce841,'isFromAdapter':!0x0});}),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x1fa),(_0x433eaa,{commentThreadId:_0x1da62e,documentId:_0x570961,context:_0x3f6814,unlinkedAt:_0x5eaef8,attributes:_0x2e635a})=>{const _0x306e0a=_0x4b3725;_0x30f617[_0x306e0a(0x219)](_0x1da62e)&&_0x30f617[_0x306e0a(0x207)]({'threadId':_0x1da62e,'channelId':_0x570961,'context':_0x3f6814,'unlinkedAt':_0x5eaef8,'attributes':_0x2e635a,'isFromAdapter':!0x0});}),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x226),(_0x319d1e,{commentThreadId:_0x3e2a18,resolvedBy:_0x1378b6,resolvedAt:_0x402443})=>{const _0x32a562=_0x4b3725,_0x5e2338=_0x30f617[_0x32a562(0x219)](_0x3e2a18);_0x5e2338&&_0x5e2338[_0x32a562(0x21e)]({'resolvedBy':_0x1378b6,'resolvedAt':_0x402443,'isFromAdapter':!0x0});}),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x237),(_0x39d66a,{commentThreadId:_0x22e247})=>{const _0x313656=_0x4b3725,_0x2f3bbd=_0x30f617[_0x313656(0x219)](_0x22e247);_0x2f3bbd&&_0x2f3bbd[_0x313656(0x24c)]({'isFromAdapter':!0x0});}),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x1f8),(_0x5e0060,{commentThreadId:_0x5c24e6})=>{const _0x3c89c6=_0x4b3725,_0x3c73ea=_0x30f617[_0x3c89c6(0x219)](_0x5c24e6);_0x3c73ea&&_0x3c73ea[_0x3c89c6(0x1f7)]({'isFromAdapter':!0x0});}),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x232),(_0x524405,_0x114de4)=>{const _0x1cfcde=_0x4b3725,_0x1e3831=_0x114de4[_0x1cfcde(0x246)],_0x34bc5c=_0x30f617[_0x1cfcde(0x219)](_0x1e3831);_0x34bc5c&&_0x34bc5c[_0x1cfcde(0x233)]({...S(_0x114de4),'isFromAdapter':!0x0});}),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x1fe),(_0x3a36f8,{commentThreadId:_0x3c3932,commentId:_0x1664e9,content:_0x44233f,attributes:_0x165c2c})=>{const _0x2b1077=_0x4b3725,_0x4c9f62=_0x30f617[_0x2b1077(0x219)](_0x3c3932);if(_0x4c9f62){const _0x3921d4=_0x4c9f62[_0x2b1077(0x242)](_0x1664e9);_0x3921d4&&_0x3921d4[_0x2b1077(0x1fb)]({'content':_0x44233f,'attributes':_0x165c2c,'isFromAdapter':!0x0});}}),this[_0x4b3725(0x244)](_0x35e211,_0x4b3725(0x227),(_0x476c9e,{commentThreadId:_0x41630c,commentId:_0x4f5cb2})=>{const _0x4fe8e3=_0x4b3725,_0x5b2cd8=_0x30f617[_0x4fe8e3(0x219)](_0x41630c);if(_0x5b2cd8){const _0x1510aa=_0x5b2cd8[_0x4fe8e3(0x242)](_0x4f5cb2);_0x1510aa&&_0x1510aa[_0x4fe8e3(0x1f7)]({'isFromAdapter':!0x0});}}),await this[_0x4b3725(0x20f)](_0x385ee4);}[_0x5d4bec(0x235)](){const _0xcf817c=_0x5d4bec;if(this[_0xcf817c(0x22f)]instanceof _0xc77bba){const _0x1213a0=this[_0xcf817c(0x22f)][_0xcf817c(0x209)][_0xcf817c(0x245)](_0xcf817c(0x250));this[_0xcf817c(0x20e)](_0x1213a0);}}[_0x5d4bec(0x20e)](_0x1540e4){const _0x320e59=_0x5d4bec;if(!this[_0x320e59(0x221)][_0x320e59(0x23b)](_0x1540e4))throw new _0x1726f1(_0x320e59(0x23f),null,{'channelId':_0x1540e4});this[_0x320e59(0x243)](_0x1540e4)[_0x320e59(0x241)](),this[_0x320e59(0x221)][_0x320e59(0x22e)](_0x1540e4);}async[_0x5d4bec(0x1f3)](){const _0x583ed6=_0x5d4bec;for(const _0x5bf373 of this[_0x583ed6(0x221)][_0x583ed6(0x23c)]())await this[_0x583ed6(0x20f)](_0x5bf373);if(this[_0x583ed6(0x22f)]instanceof _0xc77bba){const _0x33f0c6=this[_0x583ed6(0x22f)][_0x583ed6(0x209)][_0x583ed6(0x245)](_0x583ed6(0x250)),_0x423a1d=this[_0x583ed6(0x22f)][_0x583ed6(0x212)][_0x583ed6(0x245)](_0xfc1c17);_0x423a1d[_0x583ed6(0x231)](_0x33f0c6);const _0x11b09d=await this[_0x583ed6(0x221)][_0x583ed6(0x245)](_0x33f0c6)[_0x583ed6(0x234)]();_0x423a1d[_0x583ed6(0x200)](_0x33f0c6,_0x11b09d);}}async[_0x5d4bec(0x20f)](_0x8359fb){const _0x40862c=_0x5d4bec,{connection:_0x983933}=this[_0x40862c(0x22f)][_0x40862c(0x212)][_0x40862c(0x245)](_0x41d350),_0x9e7b74=this[_0x40862c(0x22f)][_0x40862c(0x212)][_0x40862c(0x245)](_0x40862c(0x22d)),_0x374e18=this[_0x40862c(0x221)][_0x40862c(0x245)](_0x8359fb),_0x5d2164=await _0x374e18[_0x40862c(0x23e)](_0x983933);await this[_0x40862c(0x1fd)](_0x5d2164);const _0x35e661=new Set(Array[_0x40862c(0x228)](_0x9e7b74[_0x40862c(0x1ef)]({'channelId':_0x8359fb}),_0x5739fb=>_0x5739fb['id']));for(const _0x43012f of _0x5d2164)_0x43012f[_0x40862c(0x1f6)]||_0x35e661[_0x40862c(0x22e)](_0x43012f[_0x40862c(0x246)]);for(const _0x2df924 of _0x35e661)_0x9e7b74[_0x40862c(0x219)](_0x2df924)[_0x40862c(0x1f7)]({'isFromAdapter':!0x0});for(const _0x3880d8 of _0x5d2164){let _0x22b171=_0x9e7b74[_0x40862c(0x219)](_0x3880d8[_0x40862c(0x246)]);const {commentThreadId:_0xe7b3a3,context:_0x47b74a,attributes:_0x19f81d,resolvedBy:_0x11fdca,resolvedAt:_0x2cac39,unlinkedAt:_0x382b5b,deletedAt:_0x491339}=_0x3880d8;if(_0x491339)continue;_0x22b171||(_0x22b171=_0x9e7b74[_0x40862c(0x1ff)]({'channelId':_0x8359fb,'threadId':_0xe7b3a3,'context':_0x47b74a,'attributes':_0x19f81d||{},'resolvedBy':_0x11fdca,'resolvedAt':_0x2cac39,'unlinkedAt':_0x382b5b,'isFromAdapter':!0x0}));const _0x322185=new Set(Array[_0x40862c(0x228)](_0x22b171[_0x40862c(0x20a)],_0xdd42d=>_0xdd42d['id']));for(const _0x99522d of _0x3880d8[_0x40862c(0x20a)])_0x322185[_0x40862c(0x22e)](_0x99522d[_0x40862c(0x24d)]);for(const _0x1262fb of _0x322185)_0x22b171[_0x40862c(0x242)](_0x1262fb)[_0x40862c(0x1f7)]({'isFromAdapter':!0x0});for(const _0x475639 of _0x3880d8[_0x40862c(0x20a)]){const _0x323aad=_0x22b171[_0x40862c(0x242)](_0x475639[_0x40862c(0x24d)]);_0x323aad?_0x323aad[_0x40862c(0x202)]!==_0x475639[_0x40862c(0x202)]&&_0x323aad[_0x40862c(0x1fb)]({'content':_0x475639[_0x40862c(0x202)],'isFromAdapter':!0x0}):_0x22b171[_0x40862c(0x233)](Object[_0x40862c(0x220)](S(_0x475639),{'isFromAdapter':!0x0}));}}}[_0x5d4bec(0x243)](_0x3e0eed){const _0x3818f0=_0x5d4bec;if(!this[_0x3818f0(0x221)][_0x3818f0(0x23b)](_0x3e0eed))throw new _0x1726f1(_0x3818f0(0x218),null,{'channelId':_0x3e0eed});return this[_0x3818f0(0x221)][_0x3818f0(0x245)](_0x3e0eed);}async[_0x5d4bec(0x1fd)](_0x2cf673){const _0x3e7b18=_0x5d4bec,_0x28e998=this[_0x3e7b18(0x22f)][_0x3e7b18(0x212)][_0x3e7b18(0x245)](_0x4d1729),{connection:_0x43bab0}=this[_0x3e7b18(0x22f)][_0x3e7b18(0x212)][_0x3e7b18(0x245)](_0x41d350),_0x11178e=new Set();for(const {resolvedBy:_0x483c4e,comments:_0x1afa74}of _0x2cf673){_0x483c4e&&!_0x28e998[_0x3e7b18(0x247)](_0x483c4e)&&_0x11178e[_0x3e7b18(0x21f)](_0x483c4e);for(const {userId:_0x471ed3}of _0x1afa74)_0x28e998[_0x3e7b18(0x247)](_0x471ed3)||_0x11178e[_0x3e7b18(0x21f)](_0x471ed3);}if(0x0===_0x11178e[_0x3e7b18(0x225)])return;const _0x434bf5=await _0x15d4b5[_0x3e7b18(0x20d)](_0x43bab0,Array[_0x3e7b18(0x228)](_0x11178e));for(const _0x2e95de of _0x434bf5)_0x28e998[_0x3e7b18(0x247)](_0x2e95de['id'])||_0x28e998[_0x3e7b18(0x229)](_0x2e95de);}}async function F(_0x14a8c6){const _0xa34f20=_0x5d4bec;if(_0xa34f20(0x1f2)!==_0x14a8c6[_0xa34f20(0x1fc)])throw _0x14a8c6;}function k(_0x25f7f3){const _0x184756=_0x5d4bec;if((_0x813b8=_0x25f7f3)[_0x184756(0x21d)][_0x184756(0x239)](_0x184756(0x230))||_0x813b8[_0x184756(0x21d)][_0x184756(0x239)](_0x184756(0x20b))||_0x813b8[_0x184756(0x21d)][_0x184756(0x239)](_0x184756(0x210)))return new Promise(()=>{});var _0x813b8;throw _0x25f7f3;}function S(_0x38d511){const _0x205eea=_0x5d4bec;return{'threadId':_0x38d511[_0x205eea(0x246)],'commentId':_0x38d511[_0x205eea(0x24d)],'content':_0x38d511[_0x205eea(0x202)],'createdAt':_0x38d511[_0x205eea(0x224)],'authorId':_0x38d511[_0x205eea(0x248)],'attributes':_0x38d511[_0x205eea(0x24a)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b46(_0x10cdfd,_0x57cb91){const _0x2f56d9=_0x2f56();return _0x4b46=function(_0x4b4654,_0x491904){_0x4b4654=_0x4b4654-0x127;let _0x57876b=_0x2f56d9[_0x4b4654];return _0x57876b;},_0x4b46(_0x10cdfd,_0x57cb91);}const _0x108b78=_0x4b46;(function(_0x2b2883,_0x2b4d5a){const _0x165ed8=_0x4b46,_0xe8c4=_0x2b2883();while(!![]){try{const _0x1792e6=parseInt(_0x165ed8(0x145))/0x1+parseInt(_0x165ed8(0x128))/0x2*(parseInt(_0x165ed8(0x130))/0x3)+parseInt(_0x165ed8(0x137))/0x4+-parseInt(_0x165ed8(0x13e))/0x5*(parseInt(_0x165ed8(0x148))/0x6)+-parseInt(_0x165ed8(0x139))/0x7*(parseInt(_0x165ed8(0x132))/0x8)+parseInt(_0x165ed8(0x12b))/0x9+parseInt(_0x165ed8(0x13d))/0xa;if(_0x1792e6===_0x2b4d5a)break;else _0xe8c4['push'](_0xe8c4['shift']());}catch(_0x384654){_0xe8c4['push'](_0xe8c4['shift']());}}}(_0x2f56,0x66734));function _0x2f56(){const _0x424424=['listenTo','CommentsEditing','1541576IaQCes','isOfficialPlugin','586901NkzQDB','pluginName','CommentsRepository','isThreadsLoadingPaused','5028430UXirvU','14955mrrXJr','connected','_setUpService','change:state','config','get','collaboration.channelId','156818XdCAEN','data','editor','516pYmoPe','plugins','once','2nMmEII','RealTimeCollaborativeComments','_terminateService','684729ceriXq','requires','Comments','destroy','ready','427881ojaraQ','switchReadOnly','56unAFLg','isPremiumPlugin','init'];_0x2f56=function(){return _0x424424;};return _0x2f56();}import{Plugin as _0x4b3cd8}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x38b542}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x36a680}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4049ee}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4b3cd8{static get[_0x108b78(0x12c)](){const _0xb968a2=_0x108b78;return[_0xb968a2(0x12d),_0x38b542,_0x36a680,_0x4049ee];}static get[_0x108b78(0x13a)](){const _0x2d1f0f=_0x108b78;return _0x2d1f0f(0x129);}static get[_0x108b78(0x138)](){return!0x0;}static get[_0x108b78(0x133)](){return!0x0;}[_0x108b78(0x134)](){const _0x372deb=_0x108b78,_0x565f87=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x4049ee),_0x204030=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x372deb(0x136)),_0x32f1ba=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x38b542);return this[_0x372deb(0x147)][_0x372deb(0x146)][_0x372deb(0x127)](_0x372deb(0x12f),()=>{const _0x6d47be=_0x372deb;this[_0x6d47be(0x135)](_0x565f87,_0x6d47be(0x141),(_0x40b7f5,_0x5a42cf,_0x1ba1b6)=>{const _0x2d9c94=_0x6d47be;_0x204030[_0x2d9c94(0x13c)]=_0x2d9c94(0x13f)!==_0x1ba1b6;});}),this[_0x372deb(0x135)](_0x565f87,_0x372deb(0x141),(_0x226748,_0x41d356,_0x267688)=>{const _0x491128=_0x372deb;this[_0x491128(0x147)][_0x491128(0x149)][_0x491128(0x143)](_0x491128(0x13b))[_0x491128(0x131)](_0x491128(0x13f)!==_0x267688);}),_0x32f1ba[_0x372deb(0x140)](this[_0x372deb(0x147)][_0x372deb(0x142)][_0x372deb(0x143)](_0x372deb(0x144)));}[_0x108b78(0x12e)](){const _0x283de7=_0x108b78;this[_0x283de7(0x147)][_0x283de7(0x149)][_0x283de7(0x143)](_0x38b542)[_0x283de7(0x12a)](this[_0x283de7(0x147)][_0x283de7(0x142)][_0x283de7(0x143)](_0x283de7(0x144))),super[_0x283de7(0x12e)]();}}
23
+ const _0x438599=_0x8d3f;(function(_0x4f51d9,_0x201559){const _0xb5d47=_0x8d3f,_0x2fdee4=_0x4f51d9();while(!![]){try{const _0x591e02=-parseInt(_0xb5d47(0xf0))/0x1+-parseInt(_0xb5d47(0xf6))/0x2+parseInt(_0xb5d47(0xf4))/0x3+parseInt(_0xb5d47(0xfe))/0x4+-parseInt(_0xb5d47(0xeb))/0x5+-parseInt(_0xb5d47(0x109))/0x6*(parseInt(_0xb5d47(0xec))/0x7)+parseInt(_0xb5d47(0xff))/0x8;if(_0x591e02===_0x201559)break;else _0x2fdee4['push'](_0x2fdee4['shift']());}catch(_0x279ea1){_0x2fdee4['push'](_0x2fdee4['shift']());}}}(_0x49c8,0x625de));import{Plugin as _0x9fc27c}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x6789b7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x202eac}from'./realtimecollaborativeediting.js';function _0x8d3f(_0x553342,_0x3955){const _0x49c858=_0x49c8();return _0x8d3f=function(_0x8d3fc1,_0x2a91db){_0x8d3fc1=_0x8d3fc1-0xe9;let _0x265691=_0x49c858[_0x8d3fc1];return _0x265691;},_0x8d3f(_0x553342,_0x3955);}import{WebSocketGateway as _0x1216a3}from'./realtimecollaborativeediting/websocketgateway.js';function _0x49c8(){const _0x56befd=['destroy','isOfficialPlugin','Comments','change:state','24sqvYTx','plugins','switchReadOnly','61155XOnelM','983297qcNQfc','config','CommentsEditing','init','748518Sbjhoa','data','get','collaboration.channelId','1774506bRmTGe','RealTimeCollaborativeComments','102064yrNaRW','requires','_terminateService','listenTo','ready','once','connected','CommentsRepository','21396uQSZEg','9437792vIOpkn','pluginName','isPremiumPlugin','editor','_setUpService','isThreadsLoadingPaused'];_0x49c8=function(){return _0x56befd;};return _0x49c8();}export class RealTimeCollaborativeComments extends _0x9fc27c{static get[_0x438599(0xf7)](){const _0xf1b03=_0x438599;return[_0xf1b03(0x107),_0x6789b7,_0x202eac,_0x1216a3];}static get[_0x438599(0x100)](){const _0x1093dd=_0x438599;return _0x1093dd(0xf5);}static get[_0x438599(0x106)](){return!0x0;}static get[_0x438599(0x101)](){return!0x0;}[_0x438599(0xef)](){const _0x127070=_0x438599,_0x3836ca=this[_0x127070(0x102)][_0x127070(0xe9)][_0x127070(0xf2)](_0x1216a3),_0x590163=this[_0x127070(0x102)][_0x127070(0xe9)][_0x127070(0xf2)](_0x127070(0xee)),_0x5b24b7=this[_0x127070(0x102)][_0x127070(0xe9)][_0x127070(0xf2)](_0x6789b7);return this[_0x127070(0x102)][_0x127070(0xf1)][_0x127070(0xfb)](_0x127070(0xfa),()=>{const _0x266efd=_0x127070;this[_0x266efd(0xf9)](_0x3836ca,_0x266efd(0x108),(_0x3367e3,_0x1c4507,_0x5de577)=>{const _0x415bc3=_0x266efd;_0x590163[_0x415bc3(0x104)]=_0x415bc3(0xfc)!==_0x5de577;});}),this[_0x127070(0xf9)](_0x3836ca,_0x127070(0x108),(_0x54a804,_0x39a6ba,_0x1673b5)=>{const _0x4d7c97=_0x127070;this[_0x4d7c97(0x102)][_0x4d7c97(0xe9)][_0x4d7c97(0xf2)](_0x4d7c97(0xfd))[_0x4d7c97(0xea)](_0x4d7c97(0xfc)!==_0x1673b5);}),_0x5b24b7[_0x127070(0x103)](this[_0x127070(0x102)][_0x127070(0xed)][_0x127070(0xf2)](_0x127070(0xf3)));}[_0x438599(0x105)](){const _0x4659a8=_0x438599;this[_0x4659a8(0x102)][_0x4659a8(0xe9)][_0x4659a8(0xf2)](_0x6789b7)[_0x4659a8(0xf8)](this[_0x4659a8(0x102)][_0x4659a8(0xed)][_0x4659a8(0xf2)](_0x4659a8(0xf3))),super[_0x4659a8(0x105)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x505943=_0x2673;(function(_0x333f10,_0x3c5109){const _0x45e6b6=_0x2673,_0x5f4a1f=_0x333f10();while(!![]){try{const _0x2013e2=-parseInt(_0x45e6b6(0x2d4))/0x1+parseInt(_0x45e6b6(0x204))/0x2+parseInt(_0x45e6b6(0x209))/0x3*(parseInt(_0x45e6b6(0x280))/0x4)+-parseInt(_0x45e6b6(0x1d9))/0x5*(-parseInt(_0x45e6b6(0x278))/0x6)+parseInt(_0x45e6b6(0x22a))/0x7+-parseInt(_0x45e6b6(0x224))/0x8*(-parseInt(_0x45e6b6(0x296))/0x9)+-parseInt(_0x45e6b6(0x282))/0xa*(parseInt(_0x45e6b6(0x250))/0xb);if(_0x2013e2===_0x3c5109)break;else _0x5f4a1f['push'](_0x5f4a1f['shift']());}catch(_0x1b4644){_0x5f4a1f['push'](_0x5f4a1f['shift']());}}}(_0x12c1,0xf251b));import{Plugin as _0x1a4335,PendingActions as _0x1a4c78}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c76e3,version as _0x5a8c68,uid as _0x2cc8bc}from'ckeditor5/src/utils.js';import{Notification as _0x25ab24}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x39265c,NoOperation as _0x507943,InsertOperation as _0x1ee6a8,MarkerOperation as _0x2a5813,RootAttributeOperation as _0xe66668,OperationFactory as _0x3fd96c,History as _0x1f7d08}from'ckeditor5/src/engine.js';function _0x12c1(){const _0x36eb22=['isDocumentOperation','realtimecollaborationclient','_handleReconnectionError','fromJSON','_initThrowingOnDataSet','set','directChange','lastOperationAcceptedAt','from','affectedSelectable','_disconnectService','_waitUntilSynced','has','_lastSyncedOperationId','CollaborativeEditingService','serverHistory','_connectAfterSessionHasBeenFlushed','disconnect','1786450bLAEXZ','_applyOperationsSet','getDocumentDetails','off','fire','30nPTiKL','isReadOnly','_channelId','userId','type','suppressErrorInCollaboration','size','collaboration','PENDING_ACTION_SENDING_DATA','createUserMarkerOperations','addRootAttribute','newRange','clone','disconnected','_isAttached','Synchronization\x20issue','string','multi-root-editor-root-attributes-no-root','sessionAdd:','createPositionAt','getConnectedSessions','view','real-time-collaboration','connection','startsWith','_isConnected','finally','99808wFcaef','_compressOperations','addUser','enableReadOnlyMode','addRoot','parse','4671450mLEBgB','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createdAt','initData','createPositionFromPath','_disconnectionOperations','reconnection:\x20flushed\x20session','rtc-offline','_decompressOperations','realtimecollaborationclient-init-session-connection-error','document:write','_compressor','_handleReceivedOperations','_currentBufferDelay','_pendingAction','realtimecollaborationclient-init-service-incorrect-server-operation','remove','_getAffectedRoot','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.','Permissions','_connectService','rtc-destroyed','change:_isPendingUpdate','forEach','wereChangesApplied','disableReadOnlyMode','mySessionId','editing','getOperations','_loadRoot','setIdForTheLastOperation','_addKnownRoot','_knownRootNames','stopListening','getRoot','404','_isInit','getIdOfTheLastOperation','11qaeCGe','affectsData','$root','_setUpDataInit','differ','applyOperation','_operationIdentifier','cloudServices.bundleVersion','_service','stop','change:hasDomSelection','reconnect','rootsAttributes','slice','roots','isPremiumPlugin','history','CommentsOnly','_knownOperations','_saveOperationInBuffer','realtimecollaborationclient-init-service-internal-error','wasUndone','round','_updateServerHistory','ready','_handleReconnectionResponse','_isLoaded','editor','InsertOperation','_sendBufferedOperationsDelayId','_baseBufferDelay','metadata','sessionCreatedAt','_hasSynchronizationProblem','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connect','batch','init','keys','root','6pyLAqE','push','isOfficialPlugin','realtimecollaborationclient-init-non-existent-root','marker','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','map','sessionId','543016xrpePo','start','19250520yFVVMW','_handleServerResponse','_isPendingUpdate','code','_handleExternalOperations','sendOperations','channelSessions','getOperationAuthor','position','realtimecollaborationclient-error','lastSyncVersion','change:range','_isDisconnection','filter','setPermissions','catch','409','_bufferedOperations','lastDocumentSession','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','45ztKKCy','_document','move','getUser','_authorId','cloudDocumentVersion','_handleInitialConnectionData','error','getMany','_sendBufferedOperations','high','cs:removeUser','_isEditingAllowed','data','insert','collaboration-missing-channelid','_shouldSendSelectionUpdate','selection','_hasSelectionChanged','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.','_operationToId','showWarning','add','addOperation','isEnabled','config','_lastServerVersion','length','define','_bufferRootLoad','reset','isUndoneOperation','compress','loadRoot','_sendBufferedOperationsDelayed','version','_initSessionsHandling','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','baseVersion','entries','model','bind','register','createRange','includes','toJSON','enqueueChange','document','_fetchMissingUsers','markers','_shouldSendUpdate','RealTimeCollaborationClient','Notification','state','createRoot','pluginName','plugins','currentDocumentSession','apply','removeFromReconnectionStack','end','772507CJPWDW','_ignoredOperations','realtimecollaborationclient-sendbufferedoperations','unregister','connected','get','cloud-services-internal-error:\x20Not\x20connected.','path','requires','then','targetPosition','realtimecollaborationclient-init-document-already-initialized','3548015VqEKQG','realtimecollaborationclient-init-connection-failed','locale','_refreshUserSelectionMarkers','__className','listenTo','_setPendingAction','rootName','destroy','message','_handleSendingSelectionMarkers','_offset','_clearPendingAction','operationsReceived','addToReconnectionStack','attributes','realtimecollaborationclient-handleserverresponse','return','_getOperationsFromInitData','lastOperationId','offset','change:_isEditingAllowed','permissions','_crash','decompress'];_0x12c1=function(){return _0x36eb22;};return _0x12c1();}import{WebSocketGateway as _0x2642bf}from'./websocketgateway.js';function _0x2673(_0x1f2db1,_0x48c905){const _0x12c191=_0x12c1();return _0x2673=function(_0x2673a1,_0x2bb1ee){_0x2673a1=_0x2673a1-0x1d7;let _0x1545f7=_0x12c191[_0x2673a1];return _0x1545f7;},_0x2673(_0x1f2db1,_0x48c905);}import{Sessions as _0x52f8ac}from'./sessions.js';import{UserMarkers as _0x20e009}from'./usermarkers.js';import{getTranslation as _0x461b5b}from'../common-translations.js';import{Compressor as _0x3e0cbe}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x21098e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5f0e5c,CollaborativeEditingService as _0x28d6ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;export class RealTimeCollaborationClient extends _0x1a4335{static [_0x505943(0x200)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x28d6ce)());[_0x505943(0x1e4)];[_0x505943(0x27f)];[_0x505943(0x201)];[_0x505943(0x20b)];[_0x505943(0x258)];[_0x505943(0x297)];[_0x505943(0x235)];[_0x505943(0x293)];[_0x505943(0x262)];[_0x505943(0x24a)];[_0x505943(0x238)];[_0x505943(0x2a8)];[_0x505943(0x26d)];[_0x505943(0x26e)];[_0x505943(0x237)];[_0x505943(0x1ff)];[_0x505943(0x22f)];[_0x505943(0x256)];static get[_0x505943(0x2dc)](){return[_0x2642bf,_0x52f8ac,_0x20e009,_0x1a4c78,_0x21098e,_0x25ab24];}static get[_0x505943(0x2ce)](){const _0x5152a7=_0x505943;return _0x5152a7(0x2ca);}static get[_0x505943(0x27a)](){return!0x0;}static get[_0x505943(0x25f)](){return!0x0;}get[_0x505943(0x29b)](){const _0x4777e5=_0x505943;return this[_0x4777e5(0x2b0)]+this[_0x4777e5(0x1e4)];}get[_0x505943(0x2b0)](){const _0x16dbf6=_0x505943;return this[_0x16dbf6(0x201)][_0x16dbf6(0x2b9)]-this[_0x16dbf6(0x1e4)];}get[_0x505943(0x28c)](){const _0x5ad13a=_0x505943,_0x290b7f=this[_0x5ad13a(0x201)][_0x5ad13a(0x246)]();for(let _0x539b6f=_0x290b7f[_0x5ad13a(0x2b1)]-0x1;_0x539b6f>=0x0;_0x539b6f--){const _0x396405=_0x290b7f[_0x539b6f];if(!this[_0x5ad13a(0x22f)][_0x5ad13a(0x1fe)](_0x396405))return _0x396405[_0x5ad13a(0x2bd)]+0x1-this[_0x5ad13a(0x1e4)];}return 0x0;}constructor(_0x2b604d){const _0x220c76=_0x505943;if(super(_0x2b604d),this[_0x220c76(0x1e4)]=0x0,this[_0x220c76(0x27f)]=null,this[_0x220c76(0x201)]=new _0x1f7d08(),this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2b2)](_0x220c76(0x210),{}),this[_0x220c76(0x20b)]=this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x2bc)),!this[_0x220c76(0x20b)])throw new _0x1c76e3(_0x220c76(0x2a5),this);const _0x52aedc=_0x2b604d[_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x257))||_0x5a8c68;this[_0x220c76(0x258)]=new RealTimeCollaborationClient[(_0x220c76(0x200))](_0x52aedc,this[_0x220c76(0x20b)]),this[_0x220c76(0x297)]=this[_0x220c76(0x26b)][_0x220c76(0x2bf)][_0x220c76(0x2c6)],this[_0x220c76(0x235)]=new _0x3e0cbe(),this[_0x220c76(0x293)]=[],this[_0x220c76(0x262)]=new WeakSet(),this[_0x220c76(0x24a)]=new Set(),this[_0x220c76(0x1f7)](_0x220c76(0x284),!0x1),this[_0x220c76(0x1f7)](_0x220c76(0x271),!0x1),this[_0x220c76(0x238)]=null,this[_0x220c76(0x2a8)]=!0x1,this[_0x220c76(0x26d)]=null,this[_0x220c76(0x26e)]=0x12c,this[_0x220c76(0x237)]=this[_0x220c76(0x26e)],this[_0x220c76(0x1ff)]=null,this[_0x220c76(0x22f)]=new WeakSet(),this[_0x220c76(0x256)]=new U(this[_0x220c76(0x22f)]);}[_0x505943(0x275)](){const _0x58846a=_0x505943,_0xa31efc=this[_0x58846a(0x26b)],_0x5d46ce=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x21098e),_0x292714=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x2642bf);this[_0x58846a(0x1de)](_0x5d46ce,_0x58846a(0x289),(_0xba2bc5,_0x4a85ac)=>{const _0x5baf5b=_0x58846a,_0x1d0a28=_0x4a85ac[0x0];_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=_0x5d46ce[_0x5baf5b(0x299)](_0x1d0a28[_0x5baf5b(0x29a)]),_0xba2bc5[_0x5baf5b(0x259)]()),null===_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=null,_0xba2bc5[_0x5baf5b(0x259)]());},{'priority':_0x58846a(0x2a0)}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x2bf)][_0x58846a(0x2c6)][_0x58846a(0x2a7)],_0x58846a(0x28d),(_0x228414,_0x3663dd)=>{const _0x4001ea=_0x58846a;_0x3663dd[_0x4001ea(0x1f8)]&&this[_0x4001ea(0x1dc)]();}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x245)][_0x58846a(0x21e)],_0x58846a(0x25a),()=>{const _0x3afc93=_0x58846a;this[_0x3afc93(0x1dc)]();}),this[_0x58846a(0x1f6)](),_0xa31efc[_0x58846a(0x2bf)]['on'](_0x58846a(0x255),(_0x1979d9,_0x359648)=>{const _0xf925f4=_0x58846a,_0x3c6b73=_0x359648[0x0];_0x3c6b73[_0xf925f4(0x1f2)]&&(this[_0xf925f4(0x263)](_0x3c6b73),this[_0xf925f4(0x2c9)]()&&this[_0xf925f4(0x2b8)]());}),this[_0x58846a(0x253)](),this[_0x58846a(0x2c0)](_0x58846a(0x2a2))['to'](_0x292714,_0x58846a(0x2cc),this,_0x58846a(0x271),(_0x61df9d,_0x3883bd)=>_0x58846a(0x2d8)===_0x61df9d&&!_0x3883bd),this['on'](_0x58846a(0x1ee),()=>{const _0x24d965=_0x58846a;this[_0x24d965(0x2a2)]?_0xa31efc[_0x24d965(0x243)](_0x24d965(0x231)):_0xa31efc[_0x24d965(0x227)](_0x24d965(0x231));}),this[_0x58846a(0x2a2)]?_0xa31efc[_0x58846a(0x243)](_0x58846a(0x231)):_0xa31efc[_0x58846a(0x227)](_0x58846a(0x231)),this[_0x58846a(0x1f7)](_0x58846a(0x222),!0x1);}async[_0x505943(0x25b)](){const _0x23e99a=_0x505943,_0x3142b6=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x52f8ac),_0x93ede9=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x2642bf);try{this[_0x23e99a(0x284)]=!0x0,_0x3142b6[_0x23e99a(0x2d7)](this[_0x23e99a(0x20b)]);const _0xf10563=await this[_0x23e99a(0x258)][_0x23e99a(0x25b)](_0x93ede9[_0x23e99a(0x220)],this[_0x23e99a(0x28c)]);await this[_0x23e99a(0x269)](_0xf10563)&&(this[_0x23e99a(0x284)]=!0x1,this[_0x23e99a(0x1e5)]());const _0x43058d=await this[_0x23e99a(0x258)][_0x23e99a(0x21d)]();_0x3142b6[_0x23e99a(0x2c1)](this[_0x23e99a(0x20b)],_0x43058d),this[_0x23e99a(0x1e3)](),this[_0x23e99a(0x222)]=!0x0;}catch(_0x4b09a2){if(function(_0x299417){const _0x556377=_0x23e99a;return _0x556377(0x24d)===_0x299417[_0x556377(0x285)];}(_0x4b09a2)&&this[_0x23e99a(0x27f)])await this[_0x23e99a(0x202)]();else{if(function(_0x5327b5){const _0xf4ba96=_0x23e99a;return _0xf4ba96(0x292)===_0x5327b5[_0xf4ba96(0x285)];}(_0x4b09a2)){const _0x3b260f=_0x461b5b(this[_0x23e99a(0x26b)][_0x23e99a(0x1db)],_0x23e99a(0x272));this[_0x23e99a(0x1f4)](_0x3b260f);}else{if(!(_0x4b09a2 instanceof D))throw _0x4b09a2;this[_0x23e99a(0x1f4)]();}}}}[_0x505943(0x1e1)](){const _0x4550bc=_0x505943,_0x9afe96=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x2642bf),_0x23aee9=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x52f8ac);this[_0x4550bc(0x26b)][_0x4550bc(0x227)](_0x4550bc(0x23f)),_0x23aee9[_0x4550bc(0x288)][_0x4550bc(0x1fe)](this[_0x4550bc(0x20b)])&&_0x23aee9[_0x4550bc(0x2d7)](this[_0x4550bc(0x20b)]),_0x9afe96[_0x4550bc(0x2d2)](this),this[_0x4550bc(0x1fc)](),super[_0x4550bc(0x1e1)]();}async[_0x505943(0x269)](_0x3a47d8){const _0x5d6809=_0x505943;if(this[_0x5d6809(0x27f)]!==_0x3a47d8[_0x5d6809(0x27f)]&&this[_0x5d6809(0x1ff)]!==_0x3a47d8[_0x5d6809(0x1ec)])throw new D();return this[_0x5d6809(0x27f)]=_0x3a47d8[_0x5d6809(0x27f)],this[_0x5d6809(0x283)]([],{..._0x3a47d8,'wereChangesApplied':!0x1,'data':_0x3a47d8[_0x5d6809(0x2a3)]},_0x5d6809(0x25b));}async[_0x505943(0x23e)](_0x33b1b5,_0x54b02d=!0x1){const _0x3a9682=_0x505943,{connection:_0x576868}=this[_0x3a9682(0x26b)][_0x3a9682(0x2cf)][_0x3a9682(0x2d9)](_0x2642bf);RealTimeCollaborationClient[_0x3a9682(0x200)][_0x3a9682(0x21d)](_0x576868,this[_0x3a9682(0x20b)])[_0x3a9682(0x2dd)](_0x311add=>this[_0x3a9682(0x2ba)](_0x311add))[_0x3a9682(0x291)](_0x12b763=>{const _0x47e82a=_0x3a9682;this[_0x47e82a(0x1f0)](_0x47e82a(0x233),_0x12b763);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x1e6),this[_0x3a9682(0x236)][_0x3a9682(0x2c0)](this)),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x29d),(_0x181dd1,_0x4f1273)=>{const _0x215aa3=_0x3a9682;this[_0x215aa3(0x1f0)](_0x215aa3(0x264),_0x4f1273);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x216),()=>{const _0x18641d=_0x3a9682;this[_0x18641d(0x222)]=!0x1;});const _0x591c7d=this[_0x3a9682(0x256)][_0x3a9682(0x24f)](_0x33b1b5);this[_0x3a9682(0x284)]=!0x0;const _0x171138=await this[_0x3a9682(0x258)][_0x3a9682(0x273)](_0x576868,this[_0x3a9682(0x225)](_0x33b1b5),_0x591c7d);if(this[_0x3a9682(0x27f)]=_0x171138[_0x3a9682(0x27f)],_0x54b02d){if(!_0x171138[_0x3a9682(0x242)])return void this[_0x3a9682(0x1f4)]();this[_0x3a9682(0x284)]=!0x1,this[_0x3a9682(0x1e5)](),this[_0x3a9682(0x201)][_0x3a9682(0x2b4)](),this[_0x3a9682(0x1e4)]=_0x171138[_0x3a9682(0x1ed)],this[_0x3a9682(0x201)][_0x3a9682(0x2b9)]=this[_0x3a9682(0x1e4)],await this[_0x3a9682(0x283)](_0x33b1b5,_0x171138,_0x3a9682(0x230));}else await this[_0x3a9682(0x29c)](_0x171138,_0x33b1b5);this[_0x3a9682(0x1e3)](),this[_0x3a9682(0x222)]=!0x0;}[_0x505943(0x1e3)](){const _0x5ce75d=_0x505943,_0xa09822=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x52f8ac),_0x276faa=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x20e009),_0x13d1cf=_0xa09822[_0x5ce75d(0x288)][_0x5ce75d(0x2d9)](this[_0x5ce75d(0x20b)]);_0x13d1cf&&_0x13d1cf[_0x5ce75d(0x2b1)]>0x1?_0x276faa[_0x5ce75d(0x212)]():this[_0x5ce75d(0x1de)](_0xa09822,_0x5ce75d(0x21b)+this[_0x5ce75d(0x20b)],()=>{const _0x38f848=_0x5ce75d;0x2===_0xa09822[_0x38f848(0x288)][_0x38f848(0x2d9)](this[_0x38f848(0x20b)])[_0x38f848(0x2b1)]&&_0x276faa[_0x38f848(0x212)]();});}async[_0x505943(0x236)](_0x32f4ba,_0x461927,_0x397403,_0x51c871){const _0x33fd92=_0x505943;if(!this[_0x33fd92(0x284)]&&this[_0x33fd92(0x297)][_0x33fd92(0x2b9)]==_0x461927){const _0x1ed78a=this[_0x33fd92(0x232)](_0x397403,_0x51c871);await this[_0x33fd92(0x2c7)](_0x1ed78a),this[_0x33fd92(0x286)](_0x1ed78a,_0x461927,_0x397403[_0x33fd92(0x1ec)])||this[_0x33fd92(0x1f0)](_0x33fd92(0x239));}}async[_0x505943(0x202)](){const _0x1a8d55=_0x505943;this[_0x1a8d55(0x1fc)]();const {locale:_0x43bbd1}=this[_0x1a8d55(0x26b)];let _0x5578af;try{_0x5578af=await this[_0x1a8d55(0x258)][_0x1a8d55(0x206)]();}catch{const _0x4437bb=_0x461b5b(_0x43bbd1,_0x1a8d55(0x295));return void this[_0x1a8d55(0x1f4)](_0x4437bb);}const _0xf9d932=_0x5578af[_0x1a8d55(0x2d0)]||_0x5578af[_0x1a8d55(0x294)];if(this[_0x1a8d55(0x1ff)]!==_0xf9d932[_0x1a8d55(0x1ec)]){const _0x1c585a=_0x461b5b(_0x43bbd1,_0x1a8d55(0x2a9));return void this[_0x1a8d55(0x1f4)](_0x1c585a);}await this[_0x1a8d55(0x23e)](this[_0x1a8d55(0x26b)][_0x1a8d55(0x2bf)][_0x1a8d55(0x2c6)][_0x1a8d55(0x260)][_0x1a8d55(0x246)](),!0x0);}[_0x505943(0x1fc)](){const _0x1e3a1c=_0x505943;this[_0x1e3a1c(0x258)][_0x1e3a1c(0x203)](),this[_0x1e3a1c(0x293)]=[],clearTimeout(this[_0x1e3a1c(0x26d)]),this[_0x1e3a1c(0x24b)](this[_0x1e3a1c(0x258)]);}[_0x505943(0x2ba)](_0x1cceb4){const _0x15acc6=_0x505943,_0x3d4198=this[_0x15acc6(0x26b)][_0x15acc6(0x2cf)][_0x15acc6(0x2d9)](_0x52f8ac);this[_0x15acc6(0x1de)](_0x3d4198,_0x15acc6(0x21b)+this[_0x15acc6(0x20b)],(_0x400093,{session:_0x59f6ac})=>{const _0x152676=_0x15acc6;if(_0x59f6ac['id']===_0x3d4198[_0x152676(0x244)]){_0x400093[_0x152676(0x207)]();const _0x111ba3=this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x1fe)](_0x152676(0x261))&&this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x261));let _0x352c7f=_0x59f6ac[_0x152676(0x1ef)];_0x111ba3&&_0x111ba3[_0x152676(0x2ae)]&&(_0x352c7f=_0x352c7f[_0x152676(0x28f)](_0x28f471=>_0x152676(0x234)!==_0x28f471)),this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x23d))[_0x152676(0x290)](_0x352c7f,this[_0x152676(0x20b)]);}}),_0x3d4198[_0x15acc6(0x2c1)](this[_0x15acc6(0x20b)],_0x1cceb4);}[_0x505943(0x1f6)](){const _0x50c1b1=_0x505943,_0x1000c5=this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)];this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)]=(..._0x4c68d6)=>{const _0x2bc855=_0x50c1b1;if(!_0x4c68d6[_0x4c68d6[_0x2bc855(0x2b1)]-0x1][_0x2bc855(0x20e)])throw new _0x1c76e3(_0x2bc855(0x27d),this);_0x1000c5[_0x2bc855(0x2d1)](this[_0x2bc855(0x26b)][_0x2bc855(0x2a3)],_0x4c68d6);};}[_0x505943(0x253)](){const _0x5ae876=_0x505943;this[_0x5ae876(0x26b)][_0x5ae876(0x2a3)]['on'](_0x5ae876(0x275),(_0x499775,[_0x26d0ad])=>{const _0x4dcba0=_0x5ae876;if(this[_0x4dcba0(0x297)][_0x4dcba0(0x2b9)])throw new _0x1c76e3(_0x4dcba0(0x1d8),this);_0x499775[_0x4dcba0(0x259)](),this[_0x4dcba0(0x1df)]();const _0x4edf79=this[_0x4dcba0(0x26b)][_0x4dcba0(0x2af)][_0x4dcba0(0x2d9)](_0x4dcba0(0x25c)),_0x1e61bd=this[_0x4dcba0(0x1eb)](_0x26d0ad,_0x4edf79);0x0==_0x1e61bd[_0x4dcba0(0x2b1)]&&_0x1e61bd[_0x4dcba0(0x279)](new _0x507943(0x0)),_0x499775[_0x4dcba0(0x1ea)]=this[_0x4dcba0(0x23e)](_0x1e61bd)[_0x4dcba0(0x2dd)](()=>{const _0x53fb38=_0x4dcba0;this[_0x53fb38(0x26b)][_0x53fb38(0x2cf)][_0x53fb38(0x2d9)](_0x2642bf)[_0x53fb38(0x1e7)](this),this[_0x53fb38(0x26b)][_0x53fb38(0x2a3)][_0x53fb38(0x208)](_0x53fb38(0x268));})[_0x4dcba0(0x291)](_0x584655=>this[_0x4dcba0(0x1f0)](_0x4dcba0(0x1da),_0x584655))[_0x4dcba0(0x223)](()=>this[_0x4dcba0(0x1e5)]());},{'priority':_0x5ae876(0x2a0)}),this[_0x5ae876(0x26b)]['on'](_0x5ae876(0x2b7),async(_0x20cfed,[_0x53fd7b,_0xa1f3ff])=>{const _0x12a11b=_0x5ae876;_0x20cfed[_0x12a11b(0x259)]();const _0x51245a=this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c6)][_0x12a11b(0x24c)](_0x53fd7b);if(!this[_0x12a11b(0x24a)][_0x12a11b(0x1fe)](_0x53fd7b)){const _0x3b306e=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x2a3)]?_0xa1f3ff[_0x12a11b(0x2a3)]:'',_0x3aad0d=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x1e8)]?_0xa1f3ff[_0x12a11b(0x1e8)]:{};await this[_0x12a11b(0x247)](_0x53fd7b,_0x3b306e,_0x3aad0d);}this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c5)]({'isUndoable':!0x1},()=>{const _0x5a6dbd=_0x12a11b;_0x51245a[_0x5a6dbd(0x26a)]=!0x0,this[_0x5a6dbd(0x26b)][_0x5a6dbd(0x2bf)][_0x5a6dbd(0x2c6)][_0x5a6dbd(0x254)][_0x5a6dbd(0x2b3)](_0x51245a);});},{'priority':_0x5ae876(0x2a0)});}async[_0x505943(0x2c7)](_0x4fa5c8){const _0x4c3912=_0x505943,_0x5d2e6f=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x21098e),{connection:_0x4499a5}=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x2642bf),_0x53dfa6=new Set();for(const _0x4e68e6 of _0x4fa5c8){const _0x1569a9=_0x4e68e6[_0x4c3912(0x29a)];_0x1569a9&&!_0x5d2e6f[_0x4c3912(0x299)](_0x1569a9)&&_0x53dfa6[_0x4c3912(0x2ac)](_0x1569a9);}if(0x0===_0x53dfa6[_0x4c3912(0x20f)])return;const _0x3227a6=await _0x5f0e5c[_0x4c3912(0x29e)](_0x4499a5,Array[_0x4c3912(0x1fa)](_0x53dfa6));for(const _0x585a0b of _0x3227a6)_0x5d2e6f[_0x4c3912(0x299)](_0x585a0b['id'])||_0x5d2e6f[_0x4c3912(0x226)](_0x585a0b);}[_0x505943(0x1eb)](_0x8d0ae1,_0x5a1e46={}){const _0x57f113=_0x505943,_0x239783=this[_0x57f113(0x26b)][_0x57f113(0x2bf)],_0x5e6e5d=[];let _0x31eb27=0x0;const _0x5bdc58=_0x57f113(0x219)==typeof _0x8d0ae1?{'main':_0x8d0ae1}:_0x8d0ae1;for(const _0x2c1f04 of Object[_0x57f113(0x276)](_0x5bdc58)){if(!this[_0x57f113(0x297)][_0x57f113(0x25e)][_0x57f113(0x1fe)](_0x2c1f04))throw new _0x1c76e3(_0x57f113(0x27b),this);const _0x104cbb=this[_0x57f113(0x26b)][_0x57f113(0x2a3)][_0x57f113(0x229)](_0x5bdc58[_0x2c1f04]),_0x3aec39=this[_0x57f113(0x297)][_0x57f113(0x24c)](_0x2c1f04),_0x3bc031=new _0x1ee6a8(_0x239783[_0x57f113(0x21c)](_0x3aec39,0x0),_0x104cbb,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x3bc031);for(const [_0x1c39bd,_0x51384a]of _0x104cbb[_0x57f113(0x2c8)]){const _0xf57a52=_0x239783[_0x57f113(0x2c2)](_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x281)][_0x57f113(0x2db)][_0x57f113(0x25d)]()),_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x2d3)][_0x57f113(0x2db)][_0x57f113(0x25d)]())),_0x371198=new _0x2a5813(_0x1c39bd,null,_0xf57a52,_0x239783[_0x57f113(0x2c8)],!0x0,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x371198);}}if(_0x5a1e46)for(const [_0x50c886,_0x5931c3]of Object[_0x57f113(0x2be)](_0x5a1e46)){const _0x2ae036=_0x239783[_0x57f113(0x2c6)][_0x57f113(0x24c)](_0x50c886);if(!_0x2ae036)throw new _0x1c76e3(_0x57f113(0x21a),null);for(const [_0x5d2d72,_0x142146]of Object[_0x57f113(0x2be)](_0x5931c3))if(null!==_0x142146){const _0x192af5=new _0xe66668(_0x2ae036,_0x5d2d72,null,_0x142146,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x192af5);}}return _0x5e6e5d;}async[_0x505943(0x247)](_0x3e202b,_0x1d9617,_0x3340e4){const _0x39b48a=_0x505943;this[_0x39b48a(0x1eb)]({[_0x3e202b]:_0x1d9617},{[_0x3e202b]:_0x3340e4})[_0x39b48a(0x241)]((_0x164bc2,_0x4c705c)=>{const _0x516fd3=_0x39b48a;_0x164bc2[_0x516fd3(0x2bd)]=this[_0x516fd3(0x297)][_0x516fd3(0x2b9)]+_0x4c705c,_0x164bc2[_0x516fd3(0x24e)]=!0x0,this[_0x516fd3(0x263)](_0x164bc2);}),this[_0x39b48a(0x2b8)](),await this[_0x39b48a(0x1fd)]();}async[_0x505943(0x29c)](_0x5622ec,_0x40e374){const _0x4a6f40=_0x505943;let _0x29deb9;this[_0x4a6f40(0x1e4)]=_0x5622ec[_0x4a6f40(0x1ed)];const _0x4d2294=_0x5622ec[_0x4a6f40(0x242)]&&!_0x5622ec[_0x4a6f40(0x22d)],_0x2fa021=_0x4d2294?0x0:_0x5622ec[_0x4a6f40(0x2a3)][_0x4a6f40(0x2bd)];if(_0x40e374[_0x4a6f40(0x241)](_0x347fbf=>{const _0x2d8f00=_0x4a6f40;_0x347fbf[_0x2d8f00(0x24e)]=!0x0,_0x347fbf[_0x2d8f00(0x22c)]=_0x5622ec[_0x2d8f00(0x270)],_0x347fbf[_0x2d8f00(0x29a)]=null;}),_0x4d2294)_0x29deb9=_0x40e374,this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);else{if(_0x5622ec[_0x4a6f40(0x22d)]){const _0x94b2ad=this[_0x4a6f40(0x1eb)](_0x5622ec[_0x4a6f40(0x22d)]);this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)],_0x94b2ad[_0x4a6f40(0x241)](_0x3f4617=>{const _0x39de77=_0x4a6f40;_0x3f4617[_0x39de77(0x2bd)]-=_0x94b2ad[_0x39de77(0x2b1)],_0x3f4617[_0x39de77(0x22c)]=_0x5622ec[_0x39de77(0x270)],_0x3f4617[_0x39de77(0x24e)]=!0x0,_0x3f4617[_0x39de77(0x29a)]=null;}),this[_0x4a6f40(0x205)](_0x94b2ad,!0x0),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)]+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x94b2ad);}this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=_0x2fa021,_0x29deb9=this[_0x4a6f40(0x232)](_0x5622ec[_0x4a6f40(0x2a3)],_0x5622ec[_0x4a6f40(0x26f)]),await this[_0x4a6f40(0x2c7)](_0x29deb9),this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);}_0x5622ec[_0x4a6f40(0x1ec)]&&(this[_0x4a6f40(0x256)][_0x4a6f40(0x248)](_0x29deb9,_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x1ff)]=_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=_0x2fa021+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x29deb9),_0x40e374[_0x4a6f40(0x28f)](_0x26d6f5=>{const _0x494c95=_0x4a6f40,_0x3b8e84=this[_0x494c95(0x23b)](_0x26d6f5);return _0x3b8e84&&!this[_0x494c95(0x24a)][_0x494c95(0x1fe)](_0x3b8e84);})[_0x4a6f40(0x241)]((_0xa15c3f,_0x2e22fa)=>{const _0x421b6c=_0x4a6f40;_0xa15c3f[_0x421b6c(0x2bd)]=this[_0x421b6c(0x297)][_0x421b6c(0x2b9)]+_0x2e22fa,this[_0x421b6c(0x263)](_0xa15c3f);}),this[_0x4a6f40(0x2c9)]()?(this[_0x4a6f40(0x237)]=0x0,this[_0x4a6f40(0x2b8)](!0x0),await this[_0x4a6f40(0x1fd)]()):(this[_0x4a6f40(0x284)]=!0x1,this[_0x4a6f40(0x1e5)]());}[_0x505943(0x1f0)](_0x3128c6,_0x4bef51){const _0x18ea16=_0x505943,_0x14219b=_0x4bef51&&_0x4bef51[_0x18ea16(0x1e2)];if(_0x14219b&&_0x14219b[_0x18ea16(0x221)](_0x18ea16(0x1f3)))throw _0x4bef51;const _0xc1b960=this[_0x18ea16(0x26b)][_0x18ea16(0x2cf)][_0x18ea16(0x2d9)](_0x2642bf);throw this[_0x18ea16(0x284)]=!0x0,_0xc1b960[_0x18ea16(0x203)](),this[_0x18ea16(0x26b)][_0x18ea16(0x227)](_0x18ea16(0x28b)),new _0x1c76e3(_0x3128c6,this[_0x18ea16(0x26b)],_0x14219b?{'originalError':_0x14219b}:void 0x0);}[_0x505943(0x263)](_0x56aef2){const _0x40b398=_0x505943;this[_0x40b398(0x262)][_0x40b398(0x1fe)](_0x56aef2)||(this[_0x40b398(0x262)][_0x40b398(0x2ac)](_0x56aef2),this[_0x40b398(0x293)][_0x40b398(0x279)](_0x56aef2),this[_0x40b398(0x238)]||_0x40b398(0x27c)==_0x56aef2[_0x40b398(0x20d)]&&!_0x56aef2[_0x40b398(0x251)]||this[_0x40b398(0x1df)]());}[_0x505943(0x2b8)](_0x53088a=!0x1){const _0x50ed45=_0x505943;!_0x53088a&&this[_0x50ed45(0x284)]||(this[_0x50ed45(0x284)]=!0x0,clearTimeout(this[_0x50ed45(0x26d)]),this[_0x50ed45(0x26d)]=setTimeout(()=>{const _0x243e97=_0x50ed45;this[_0x243e97(0x29f)]()[_0x243e97(0x2dd)](_0x160a41=>{const _0x59d0bb=_0x243e97;_0x160a41&&(this[_0x59d0bb(0x1e5)](),this[_0x59d0bb(0x284)]=!0x1);})[_0x243e97(0x291)](_0x275cf6=>{const _0x3bed36=_0x243e97;this[_0x3bed36(0x1e5)](),this[_0x3bed36(0x284)]=!0x1,function(_0x363094){const _0x290d84=_0x3bed36;return _0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2da))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x22b))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2bb));}(_0x275cf6)||this[_0x3bed36(0x1f0)](_0x275cf6[_0x3bed36(0x1e2)],_0x275cf6);});},this[_0x50ed45(0x237)]));}[_0x505943(0x1fd)](){return new Promise(_0x578962=>{const _0x23ef70=_0x2673;this['on'](_0x23ef70(0x240),()=>{_0x578962();});});}async[_0x505943(0x29f)](){const _0x2e1022=_0x505943,_0x150182=this[_0x2e1022(0x26b)][_0x2e1022(0x2cf)][_0x2e1022(0x2d9)](_0x20e009);if(this[_0x2e1022(0x2a6)]()&&(_0x150182[_0x2e1022(0x212)](),this[_0x2e1022(0x2a8)]=!0x1),!this[_0x2e1022(0x2c9)]())return!0x0;const _0x4146f4=[...this[_0x2e1022(0x293)]];for(const _0x40bf0e of _0x4146f4)_0x40bf0e[_0x2e1022(0x265)]=this[_0x2e1022(0x297)][_0x2e1022(0x260)][_0x2e1022(0x2b5)](_0x40bf0e);const _0x26dee0=this[_0x2e1022(0x256)][_0x2e1022(0x24f)](_0x4146f4),_0x59db1c=j++,_0x32e6bb=this[_0x2e1022(0x225)](_0x4146f4),_0x2f6d52=await this[_0x2e1022(0x258)][_0x2e1022(0x287)](_0x32e6bb,_0x32e6bb[_0x2e1022(0x2bd)],_0x26dee0);try{return await this[_0x2e1022(0x283)](_0x4146f4,_0x2f6d52,_0x59db1c);}catch(_0x3dfc02){return this[_0x2e1022(0x1f0)](_0x2e1022(0x2d6),_0x3dfc02);}}async[_0x505943(0x283)](_0x2acc1b,_0x3535d2,_0x1352ef){const _0x233ece=_0x505943;if(_0x233ece(0x29d)in _0x3535d2)throw _0x3535d2[_0x233ece(0x29d)];let _0x2aa098=!0x1;if(_0x3535d2[_0x233ece(0x242)]){_0x3535d2[_0x233ece(0x1ec)]&&(this[_0x233ece(0x1ff)]=_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0x41e7b3=>!_0x2acc1b[_0x233ece(0x2c3)](_0x41e7b3));for(const _0x2f2431 of _0x2acc1b)_0x2f2431[_0x233ece(0x22c)]=_0x233ece(0x1f9)in _0x3535d2&&_0x3535d2[_0x233ece(0x1f9)]||void 0x0;P(_0x2acc1b,_0x3535d2[_0x233ece(0x2b9)]-_0x2acc1b[_0x233ece(0x2b1)]),this[_0x233ece(0x267)](_0x2acc1b);const _0x1586ff=_0x2acc1b[_0x233ece(0x28f)](_0x14d22d=>{const _0x1fe5cf=_0x233ece;if(!_0x14d22d[_0x1fe5cf(0x24e)])return!0x1;const _0xbc58f7=this[_0x1fe5cf(0x23b)](_0x14d22d);return _0xbc58f7&&!this[_0x1fe5cf(0x24a)][_0x1fe5cf(0x1fe)](_0xbc58f7);});P(_0x1586ff,this[_0x233ece(0x297)][_0x233ece(0x2b9)]),this[_0x233ece(0x205)](_0x1586ff),_0x2aa098=!0x0,this[_0x233ece(0x237)]=this[_0x233ece(0x26e)];}else{const _0x5986e2=this[_0x233ece(0x232)](_0x3535d2[_0x233ece(0x2a3)],_0x3535d2[_0x233ece(0x26f)])[_0x233ece(0x28f)](_0x28da2e=>_0x28da2e[_0x233ece(0x2bd)]>=this[_0x233ece(0x2b0)]);_0x5986e2[_0x233ece(0x241)](_0x1750e0=>this[_0x233ece(0x249)](_0x1750e0)),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0xffca6a=>!_0xffca6a[_0x233ece(0x24e)]||!this[_0x233ece(0x24a)][_0x233ece(0x1fe)](this[_0x233ece(0x23b)](_0xffca6a))),this[_0x233ece(0x293)][_0x233ece(0x2b1)]&&P(this[_0x233ece(0x293)],this[_0x233ece(0x293)][0x0][_0x233ece(0x2bd)]),await this[_0x233ece(0x2c7)](_0x5986e2),_0x2aa098=this[_0x233ece(0x286)](_0x5986e2,_0x3535d2[_0x233ece(0x2b9)],_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x237)]=Math[_0x233ece(0x266)](this[_0x233ece(0x237)]/0x2);}return _0x2aa098?!this[_0x233ece(0x2c9)]()||(this[_0x233ece(0x2b8)](!0x0),!0x1):this[_0x233ece(0x1f0)](_0x233ece(0x1e9));}[_0x505943(0x286)](_0x5cbda5,_0x5344fd,_0x2ecea0){const _0xbc5b3b=_0x505943;try{const _0x53ad41={'document':this[_0xbc5b3b(0x297)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x94413f,operationsB:_0x175c93,originalOperations:_0xd5214b}=_0x39265c(_0x5cbda5,this[_0xbc5b3b(0x293)],_0x53ad41);P(_0x94413f,this[_0xbc5b3b(0x297)][_0xbc5b3b(0x2b9)]),P(_0x175c93,_0x5344fd);for(const _0x15f4d2 of _0x94413f){const _0x21137d=_0xd5214b[_0xbc5b3b(0x2d9)](_0x15f4d2);_0x15f4d2[_0xbc5b3b(0x29a)]=_0x21137d?_0x21137d[_0xbc5b3b(0x29a)]:null;}_0x2ecea0&&(this[_0xbc5b3b(0x256)][_0xbc5b3b(0x248)](_0x5cbda5,_0x2ecea0),this[_0xbc5b3b(0x1ff)]=_0x2ecea0),this[_0xbc5b3b(0x293)]=[..._0x175c93],this[_0xbc5b3b(0x205)](_0x94413f),this[_0xbc5b3b(0x267)](_0x5cbda5);}catch(_0x4bbc7f){return console[_0xbc5b3b(0x29d)](_0x4bbc7f),!0x1;}return!0x0;}[_0x505943(0x205)](_0x1e9521,_0x5215d0=!0x1){const _0x2d791c=_0x505943;this[_0x2d791c(0x26b)][_0x2d791c(0x2bf)][_0x2d791c(0x2c5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x420dbc=>{const _0x5bc609=_0x2d791c;for(const _0x53d1a4 of _0x1e9521)this[_0x5bc609(0x262)][_0x5bc609(0x2ac)](_0x53d1a4),this[_0x5bc609(0x249)](_0x53d1a4),_0x420dbc[_0x5bc609(0x274)][_0x5bc609(0x2ad)](_0x53d1a4),this[_0x5bc609(0x26b)][_0x5bc609(0x2bf)][_0x5bc609(0x255)](_0x53d1a4);});}[_0x505943(0x249)](_0x289f84){const _0x2b9ffb=_0x505943,_0x1a31a1=this[_0x2b9ffb(0x23b)](_0x289f84);_0x1a31a1&&this[_0x2b9ffb(0x24a)][_0x2b9ffb(0x2ac)](_0x1a31a1);}[_0x505943(0x23b)](_0x24b653){const _0x1af272=_0x505943;let _0x33a764,_0x3c204e;switch(_0x24b653[_0x1af272(0x20d)]){case _0x1af272(0x2a4):_0x33a764=_0x24b653[_0x1af272(0x28a)][_0x1af272(0x277)];break;case _0x1af272(0x27c):if(_0x3c204e=_0x24b653[_0x1af272(0x214)],!_0x3c204e)return null;_0x33a764=_0x3c204e[_0x1af272(0x277)];break;case _0x1af272(0x213):_0x33a764=_0x24b653[_0x1af272(0x277)];break;case _0x1af272(0x228):_0x33a764=_0x24b653[_0x1af272(0x1fb)];break;case _0x1af272(0x298):_0x33a764=_0x24b653[_0x1af272(0x1d7)][_0x1af272(0x277)];break;default:return null;}return _0x33a764[_0x1af272(0x1e0)];}[_0x505943(0x267)](_0x2a757a){const _0x3e469a=_0x505943;_0x2a757a[_0x3e469a(0x241)](_0x23d78d=>{const _0x121761=_0x3e469a,_0x33e1e3=_0x23d78d[_0x121761(0x215)]();_0x33e1e3[_0x121761(0x29a)]=_0x23d78d[_0x121761(0x29a)],_0x33e1e3[_0x121761(0x24e)]=!!_0x23d78d[_0x121761(0x24e)],_0x33e1e3[_0x121761(0x22c)]=_0x23d78d[_0x121761(0x22c)],_0x33e1e3[_0x121761(0x2bd)]+=this[_0x121761(0x1e4)],_0x23d78d[_0x121761(0x28e)]&&this[_0x121761(0x22f)][_0x121761(0x2ac)](_0x33e1e3),this[_0x121761(0x201)][_0x121761(0x2ad)](_0x33e1e3);});}[_0x505943(0x1f4)](_0x427d2e){const _0x40dfda=_0x505943,_0x255053=this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x40dfda(0x2cb)),_0x408ab7=this[_0x40dfda(0x26b)][_0x40dfda(0x1db)];_0x427d2e||(_0x427d2e=_0x461b5b(_0x408ab7,_0x40dfda(0x23c))),_0x255053[_0x40dfda(0x2ab)](_0x427d2e,{'title':_0x461b5b(_0x408ab7,_0x40dfda(0x218)),'namespace':_0x40dfda(0x21f)}),this[_0x40dfda(0x271)]=!0x0,clearTimeout(this[_0x40dfda(0x26d)]),this[_0x40dfda(0x293)]=[],this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x2642bf)[_0x40dfda(0x203)]();}[_0x505943(0x1df)](){const _0x58e3fc=_0x505943;this[_0x58e3fc(0x238)]||(this[_0x58e3fc(0x238)]=this[_0x58e3fc(0x26b)][_0x58e3fc(0x2cf)][_0x58e3fc(0x2d9)](_0x1a4c78)[_0x58e3fc(0x2ac)](_0x461b5b(this[_0x58e3fc(0x26b)][_0x58e3fc(0x1db)],_0x58e3fc(0x211))));}[_0x505943(0x1e5)](){const _0x4f9f3d=_0x505943;this[_0x4f9f3d(0x238)]&&(this[_0x4f9f3d(0x26b)][_0x4f9f3d(0x2cf)][_0x4f9f3d(0x2d9)](_0x1a4c78)[_0x4f9f3d(0x23a)](this[_0x4f9f3d(0x238)]),this[_0x4f9f3d(0x238)]=null);}[_0x505943(0x225)](_0x7da548){const _0x1fe58b=_0x505943,_0x40acef=_0x7da548[_0x1fe58b(0x27e)](_0x21b05f=>_0x21b05f[_0x1fe58b(0x2c4)]());return this[_0x1fe58b(0x235)][_0x1fe58b(0x2b6)](_0x40acef);}[_0x505943(0x232)](_0xc1643,_0x3edd35){const _0x104701=_0x505943;return this[_0x104701(0x235)][_0x104701(0x1f1)](_0xc1643)[_0x104701(0x27e)]((_0x2b2124,_0x5ec632)=>{const _0x48d88=_0x104701,_0x5dccfe=_0x48d88(0x275)==_0x3edd35[_0x5ec632][_0x48d88(0x20d)];if(_0x48d88(0x26c)==_0x2b2124[_0x48d88(0x1dd)]){const _0x5b7442=_0x2b2124[_0x48d88(0x28a)][_0x48d88(0x277)];!this[_0x48d88(0x297)][_0x48d88(0x24c)](_0x5b7442)&&(this[_0x48d88(0x297)][_0x48d88(0x2cd)](_0x48d88(0x252),_0x5b7442)[_0x48d88(0x217)]=!0x1);}const _0x4eb246=_0x3fd96c[_0x48d88(0x1f5)](_0x2b2124,this[_0x48d88(0x297)]);return _0x4eb246[_0x48d88(0x265)]=_0x2b2124[_0x48d88(0x265)],_0x4eb246[_0x48d88(0x24e)]=_0x5dccfe,_0x4eb246[_0x48d88(0x29a)]=_0x5dccfe?null:_0x3edd35[_0x5ec632][_0x48d88(0x20c)],_0x4eb246[_0x48d88(0x28e)]=_0x48d88(0x2a1)===_0x3edd35[_0x5ec632][_0x48d88(0x20d)],_0x4eb246[_0x48d88(0x22c)]=_0x3edd35[_0x5ec632][_0x48d88(0x22c)],_0x4eb246;});}[_0x505943(0x1dc)](){const _0x30bde0=_0x505943;this[_0x30bde0(0x2a8)]=!0x0,this[_0x30bde0(0x2a6)]()?this[_0x30bde0(0x2b8)]():this[_0x30bde0(0x2a8)]=!0x1;}[_0x505943(0x2a6)](){const _0x46747e=_0x505943,_0x34ecbc=this[_0x46747e(0x26b)][_0x46747e(0x2cf)][_0x46747e(0x2d9)](_0x52f8ac)[_0x46747e(0x288)][_0x46747e(0x2d9)](this[_0x46747e(0x20b)]);return!this[_0x46747e(0x26b)][_0x46747e(0x20a)]&&!!_0x34ecbc&&_0x34ecbc[_0x46747e(0x2b1)]>0x1&&this[_0x46747e(0x2a8)];}[_0x505943(0x2c9)](){const _0x1aba4b=_0x505943;return this[_0x1aba4b(0x293)][_0x1aba4b(0x2b1)]>0x0||this[_0x1aba4b(0x2a6)]();}}class D extends Error{}function P(_0x1d368,_0x55fd0e){const _0x387bfe=_0x505943;for(const _0x772e6 of _0x1d368)_0x772e6[_0x387bfe(0x2bd)]=_0x55fd0e++;}class U{[_0x505943(0x2d5)];[_0x505943(0x2aa)];constructor(_0x1afa7b){const _0x465b37=_0x505943;this[_0x465b37(0x2d5)]=_0x1afa7b,this[_0x465b37(0x2aa)]=new WeakMap();}[_0x505943(0x24f)](_0x265cef){const _0x3a7a49=_0x505943;let _0x1d1bfe=_0x265cef[_0x3a7a49(0x2b1)];for(;_0x1d1bfe--;){const _0x1b39b0=_0x265cef[_0x1d1bfe];if(!this[_0x3a7a49(0x2d5)][_0x3a7a49(0x1fe)](_0x1b39b0)){if(!this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1fe)](_0x1b39b0)){const _0x4b7d3a=_0x2cc8bc()[_0x3a7a49(0x25d)](0x1,0x12);this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1f7)](_0x1b39b0,_0x4b7d3a);}return this[_0x3a7a49(0x2aa)][_0x3a7a49(0x2d9)](_0x1b39b0);}}}[_0x505943(0x248)](_0x492fa7,_0x2a4049){const _0x93190=_0x505943;if(!_0x2a4049)return;let _0xe7f072=_0x492fa7[_0x93190(0x2b1)];for(;_0xe7f072--;){const _0x315152=_0x492fa7[_0xe7f072];this[_0x93190(0x2d5)][_0x93190(0x1fe)](_0x315152)||this[_0x93190(0x2aa)][_0x93190(0x1f7)](_0x315152,_0x2a4049);}}}
23
+ const _0x3b89cc=_0x89ac;(function(_0x419467,_0x3e2294){const _0x255392=_0x89ac,_0x4a9846=_0x419467();while(!![]){try{const _0x2f4c67=-parseInt(_0x255392(0x15a))/0x1*(parseInt(_0x255392(0x187))/0x2)+parseInt(_0x255392(0x1e6))/0x3*(-parseInt(_0x255392(0x135))/0x4)+parseInt(_0x255392(0x1d5))/0x5+parseInt(_0x255392(0x1a5))/0x6+parseInt(_0x255392(0x143))/0x7+-parseInt(_0x255392(0x15c))/0x8+-parseInt(_0x255392(0x205))/0x9*(-parseInt(_0x255392(0x18a))/0xa);if(_0x2f4c67===_0x3e2294)break;else _0x4a9846['push'](_0x4a9846['shift']());}catch(_0x3e6da1){_0x4a9846['push'](_0x4a9846['shift']());}}}(_0x222a,0x5606d));import{Plugin as _0x412840,PendingActions as _0x402351}from'ckeditor5/src/core.js';function _0x89ac(_0x2a7c97,_0x49c595){const _0x222a3a=_0x222a();return _0x89ac=function(_0x89ace3,_0x52d6c0){_0x89ace3=_0x89ace3-0x106;let _0x1591b1=_0x222a3a[_0x89ace3];return _0x1591b1;},_0x89ac(_0x2a7c97,_0x49c595);}import{CKEditorError as _0x22eb9f,version as _0x584604,uid as _0x4afe9b}from'ckeditor5/src/utils.js';import{Notification as _0x4b773d}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3b6f2d,NoOperation as _0x2fb619,InsertOperation as _0x10ba3b,MarkerOperation as _0x253f07,RootAttributeOperation as _0x36dcb2,OperationFactory as _0x255dc7,History as _0x55511f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x22218a}from'./websocketgateway.js';import{Sessions as _0x394c87}from'./sessions.js';import{UserMarkers as _0x42f2c7}from'./usermarkers.js';import{getTranslation as _0x3e9131}from'../common-translations.js';import{Compressor as _0x5187c0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3105f6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x222a(){const _0x438abf=['_isInit','document','setPermissions','slice','_decompressOperations','_hasSynchronizationProblem','path','_waitUntilSynced','collaboration.channelId','getConnectedSessions','change:range','_sendBufferedOperationsDelayed','200dSKnLW','rootsAttributes','_lastSyncedOperationId','10gEFySJ','addOperation','currentDocumentSession','insert','_setUpDataInit','startsWith','PENDING_ACTION_SENDING_DATA','marker','_clearPendingAction','change:hasDomSelection','position','reset','toJSON','disableReadOnlyMode','keys','getMany','rtc-offline','sessionId','wasUndone','suppressErrorInCollaboration','has','realtimecollaborationclient-init-document-already-initialized','affectsData','view','_bufferedOperations','disconnect','message','342240QizMNv','parse','wereChangesApplied','reconnection:\x20flushed\x20session','Permissions','init','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.','realtimecollaborationclient-init-service-incorrect-server-operation','applyOperation','move','permissions','_compressOperations','_handleServerResponse','entries','ready','isEnabled','realtimecollaborationclient-init-non-existent-root','model','_knownOperations','isDocumentOperation','change:_isEditingAllowed','history','directChange','selection','_sendBufferedOperationsDelayId','filter','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','decompress','409','cs:removeUser','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-error','enqueueChange','_isLoaded','newRange','_isAttached','root','_isPendingUpdate','_initThrowingOnDataSet','document:write','state','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','addRoot','_shouldSendSelectionUpdate','createPositionFromPath','2228525vJgCXm','__className','_sendBufferedOperations','_disconnectionOperations','_offset','createRange','_authorId','isOfficialPlugin','bind','getRoot','includes','_saveOperationInBuffer','apply','_applyOperationsSet','set','editor','Synchronization\x20issue','545079CYDtrl','compress','targetPosition','isReadOnly','off','_initSessionsHandling','attributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','plugins','string','_handleSendingSelectionMarkers','then','multi-root-editor-root-attributes-no-root','pluginName','editing','showWarning','getUser','_compressor','roots','_lastServerVersion','connection','finally','add','reconnect','loadRoot','_knownRootNames','_disconnectService','_operationToId','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','enableReadOnlyMode','3925485IfVjto','return','_isDisconnection','getOperationAuthor','_handleReconnectionError','type','define','cloud-services-internal-error:\x20Request\x20timeout.','_crash','_isEditingAllowed','getIdOfTheLastOperation','isUndoneOperation','rtc-destroyed','_refreshUserSelectionMarkers','sessionCreatedAt','CommentsOnly','lastDocumentSession','change:_isPendingUpdate','error','register','addUser','end','realtimecollaborationclient-init-service-internal-error','userId','_handleInitialConnectionData','_channelId','locale','_pendingAction','_getAffectedRoot','from','remove','real-time-collaboration','getOperations','realtimecollaborationclient-sendbufferedoperations','_getOperationsFromInitData','createRoot','unregister','cloudDocumentVersion','_baseBufferDelay','realtimecollaborationclient-handleserverresponse','push','batch','_document','disconnected','mySessionId','_setPendingAction','destroy','requires','_isConnected','_operationIdentifier','setIdForTheLastOperation','addRootAttribute','_handleReconnectionResponse','collaboration','12Yiwppj','serverHistory','lastOperationAcceptedAt','connected','_connectAfterSessionHasBeenFlushed','_handleExternalOperations','createUserMarkerOperations','_loadRoot','length','fire','_currentBufferDelay','_shouldSendUpdate','sessionAdd:','_connectService','4778907Rvfusq','createdAt','config','$root','404','_ignoredOperations','_hasSelectionChanged','_addKnownRoot','code','connect','addToReconnectionStack','get','CollaborativeEditingService','RealTimeCollaborationClient','InsertOperation','catch','size','fromJSON','_bufferRootLoad','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.','forEach','data','stop','6564dKTTvF','_fetchMissingUsers','542136JtJtdY','clone','createPositionAt','getDocumentDetails','removeFromReconnectionStack','_handleReceivedOperations','sendOperations','Notification','rootName','affectedSelectable','metadata','differ','initData','collaboration-missing-channelid','_service','realtimecollaborationclient-init-connection-failed','lastOperationId','realtimecollaborationclient','offset','listenTo','cloudServices.bundleVersion','baseVersion','start','operationsReceived','version','channelSessions','stopListening','markers','round','lastSyncVersion','map'];_0x222a=function(){return _0x438abf;};return _0x222a();}import{User as _0x18e4e3,CollaborativeEditingService as _0x3230c1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x412840{static [_0x3b89cc(0x14f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3230c1)());[_0x3b89cc(0x1d9)];[_0x3b89cc(0x19b)];[_0x3b89cc(0x136)];[_0x3b89cc(0x118)];[_0x3b89cc(0x16a)];[_0x3b89cc(0x129)];[_0x3b89cc(0x1f7)];[_0x3b89cc(0x1a2)];[_0x3b89cc(0x1b7)];[_0x3b89cc(0x1ff)];[_0x3b89cc(0x11a)];[_0x3b89cc(0x149)];[_0x3b89cc(0x1bd)];[_0x3b89cc(0x125)];[_0x3b89cc(0x13f)];[_0x3b89cc(0x189)];[_0x3b89cc(0x1d8)];[_0x3b89cc(0x130)];static get[_0x3b89cc(0x12e)](){return[_0x22218a,_0x394c87,_0x42f2c7,_0x402351,_0x3105f6,_0x4b773d];}static get[_0x3b89cc(0x1f3)](){const _0x4f72d0=_0x3b89cc;return _0x4f72d0(0x150);}static get[_0x3b89cc(0x1dc)](){return!0x0;}static get[_0x3b89cc(0x1c0)](){return!0x0;}get[_0x3b89cc(0x124)](){const _0x3ec4f4=_0x3b89cc;return this[_0x3ec4f4(0x1f9)]+this[_0x3ec4f4(0x1d9)];}get[_0x3b89cc(0x1f9)](){const _0x2beff7=_0x3b89cc;return this[_0x2beff7(0x136)][_0x2beff7(0x174)]-this[_0x2beff7(0x1d9)];}get[_0x3b89cc(0x179)](){const _0x411c2c=_0x3b89cc,_0x4fa2e2=this[_0x411c2c(0x136)][_0x411c2c(0x11f)]();for(let _0x2da7f6=_0x4fa2e2[_0x411c2c(0x13d)]-0x1;_0x2da7f6>=0x0;_0x2da7f6--){const _0x33a674=_0x4fa2e2[_0x2da7f6];if(!this[_0x411c2c(0x1d8)][_0x411c2c(0x19e)](_0x33a674))return _0x33a674[_0x411c2c(0x171)]+0x1-this[_0x411c2c(0x1d9)];}return 0x0;}constructor(_0x12f7df){const _0x27ad23=_0x3b89cc;if(super(_0x12f7df),this[_0x27ad23(0x1d9)]=0x0,this[_0x27ad23(0x19b)]=null,this[_0x27ad23(0x136)]=new _0x55511f(),this[_0x27ad23(0x1e4)][_0x27ad23(0x145)][_0x27ad23(0x20b)](_0x27ad23(0x134),{}),this[_0x27ad23(0x118)]=this[_0x27ad23(0x1e4)][_0x27ad23(0x145)][_0x27ad23(0x14e)](_0x27ad23(0x183)),!this[_0x27ad23(0x118)])throw new _0x22eb9f(_0x27ad23(0x169),this);const _0x1beaac=_0x12f7df[_0x27ad23(0x145)][_0x27ad23(0x14e)](_0x27ad23(0x170))||_0x584604;this[_0x27ad23(0x16a)]=new RealTimeCollaborationClient[(_0x27ad23(0x14f))](_0x1beaac,this[_0x27ad23(0x118)]),this[_0x27ad23(0x129)]=this[_0x27ad23(0x1e4)][_0x27ad23(0x1b6)][_0x27ad23(0x17c)],this[_0x27ad23(0x1f7)]=new _0x5187c0(),this[_0x27ad23(0x1a2)]=[],this[_0x27ad23(0x1b7)]=new WeakSet(),this[_0x27ad23(0x1ff)]=new Set(),this[_0x27ad23(0x1e3)](_0x27ad23(0x1cd),!0x1),this[_0x27ad23(0x1e3)](_0x27ad23(0x180),!0x1),this[_0x27ad23(0x11a)]=null,this[_0x27ad23(0x149)]=!0x1,this[_0x27ad23(0x1bd)]=null,this[_0x27ad23(0x125)]=0x12c,this[_0x27ad23(0x13f)]=this[_0x27ad23(0x125)],this[_0x27ad23(0x189)]=null,this[_0x27ad23(0x1d8)]=new WeakSet(),this[_0x27ad23(0x130)]=new J(this[_0x27ad23(0x1d8)]);}[_0x3b89cc(0x1aa)](){const _0x158102=_0x3b89cc,_0x4fa0b7=this[_0x158102(0x1e4)],_0x465b9e=_0x4fa0b7[_0x158102(0x1ee)][_0x158102(0x14e)](_0x3105f6),_0x8f91dd=_0x4fa0b7[_0x158102(0x1ee)][_0x158102(0x14e)](_0x22218a);this[_0x158102(0x16f)](_0x465b9e,_0x158102(0x208),(_0x3af441,_0x5bf99b)=>{const _0x2d4054=_0x158102,_0x202224=_0x5bf99b[0x0];_0x202224[_0x2d4054(0x1db)]&&(_0x3af441[_0x2d4054(0x206)]=_0x465b9e[_0x2d4054(0x1f6)](_0x202224[_0x2d4054(0x1db)]),_0x3af441[_0x2d4054(0x159)]()),null===_0x202224[_0x2d4054(0x1db)]&&(_0x3af441[_0x2d4054(0x206)]=null,_0x3af441[_0x2d4054(0x159)]());},{'priority':_0x158102(0x203)}),this[_0x158102(0x16f)](_0x4fa0b7[_0x158102(0x1b6)][_0x158102(0x17c)][_0x158102(0x1bc)],_0x158102(0x185),(_0x1d4ca9,_0x1edff4)=>{const _0x351367=_0x158102;_0x1edff4[_0x351367(0x1bb)]&&this[_0x351367(0x10c)]();}),this[_0x158102(0x16f)](_0x4fa0b7[_0x158102(0x1f4)][_0x158102(0x1a1)],_0x158102(0x193),()=>{const _0x21d72c=_0x158102;this[_0x21d72c(0x10c)]();}),this[_0x158102(0x1ce)](),_0x4fa0b7[_0x158102(0x1b6)]['on'](_0x158102(0x1ad),(_0x3fbdf1,_0x49b035)=>{const _0x1146a7=_0x158102,_0xf6e293=_0x49b035[0x0];_0xf6e293[_0x1146a7(0x1b8)]&&(this[_0x1146a7(0x1e0)](_0xf6e293),this[_0x1146a7(0x140)]()&&this[_0x1146a7(0x186)]());}),this[_0x158102(0x18e)](),this[_0x158102(0x1dd)](_0x158102(0x108))['to'](_0x8f91dd,_0x158102(0x1d0),this,_0x158102(0x180),(_0x408a22,_0x397ff5)=>_0x158102(0x138)===_0x408a22&&!_0x397ff5),this['on'](_0x158102(0x1b9),()=>{const _0x77b816=_0x158102;this[_0x77b816(0x108)]?_0x4fa0b7[_0x77b816(0x197)](_0x77b816(0x19a)):_0x4fa0b7[_0x77b816(0x204)](_0x77b816(0x19a));}),this[_0x158102(0x108)]?_0x4fa0b7[_0x158102(0x197)](_0x158102(0x19a)):_0x4fa0b7[_0x158102(0x204)](_0x158102(0x19a)),this[_0x158102(0x1e3)](_0x158102(0x12f),!0x1);}async[_0x3b89cc(0x1fd)](){const _0x51f68f=_0x3b89cc,_0x124f51=this[_0x51f68f(0x1e4)][_0x51f68f(0x1ee)][_0x51f68f(0x14e)](_0x394c87),_0x1ca6a2=this[_0x51f68f(0x1e4)][_0x51f68f(0x1ee)][_0x51f68f(0x14e)](_0x22218a);try{this[_0x51f68f(0x1cd)]=!0x0,_0x124f51[_0x51f68f(0x123)](this[_0x51f68f(0x118)]);const _0x52c777=await this[_0x51f68f(0x16a)][_0x51f68f(0x1fd)](_0x1ca6a2[_0x51f68f(0x1fa)],this[_0x51f68f(0x179)]);await this[_0x51f68f(0x133)](_0x52c777)&&(this[_0x51f68f(0x1cd)]=!0x1,this[_0x51f68f(0x192)]());const _0x54771d=await this[_0x51f68f(0x16a)][_0x51f68f(0x184)]();_0x124f51[_0x51f68f(0x112)](this[_0x51f68f(0x118)],_0x54771d),this[_0x51f68f(0x1f0)](),this[_0x51f68f(0x12f)]=!0x0;}catch(_0x2f26ba){if(function(_0x410128){const _0x287e96=_0x51f68f;return _0x287e96(0x147)===_0x410128[_0x287e96(0x14b)];}(_0x2f26ba)&&this[_0x51f68f(0x19b)])await this[_0x51f68f(0x139)]();else{if(function(_0x154833){const _0x5d31aa=_0x51f68f;return _0x5d31aa(0x1c4)===_0x154833[_0x5d31aa(0x14b)];}(_0x2f26ba)){const _0x64d4ea=_0x3e9131(this[_0x51f68f(0x1e4)][_0x51f68f(0x119)],_0x51f68f(0x1ed));this[_0x51f68f(0x209)](_0x64d4ea);}else{if(!(_0x2f26ba instanceof $))throw _0x2f26ba;this[_0x51f68f(0x209)]();}}}}[_0x3b89cc(0x12d)](){const _0x56a46e=_0x3b89cc,_0x2b1b1b=this[_0x56a46e(0x1e4)][_0x56a46e(0x1ee)][_0x56a46e(0x14e)](_0x22218a),_0x113608=this[_0x56a46e(0x1e4)][_0x56a46e(0x1ee)][_0x56a46e(0x14e)](_0x394c87);this[_0x56a46e(0x1e4)][_0x56a46e(0x204)](_0x56a46e(0x10b)),_0x113608[_0x56a46e(0x175)][_0x56a46e(0x19e)](this[_0x56a46e(0x118)])&&_0x113608[_0x56a46e(0x123)](this[_0x56a46e(0x118)]),_0x2b1b1b[_0x56a46e(0x160)](this),this[_0x56a46e(0x200)](),super[_0x56a46e(0x12d)]();}async[_0x3b89cc(0x133)](_0x49cfc6){const _0x348aa0=_0x3b89cc;if(this[_0x348aa0(0x19b)]!==_0x49cfc6[_0x348aa0(0x19b)]&&this[_0x348aa0(0x189)]!==_0x49cfc6[_0x348aa0(0x16c)])throw new $();return this[_0x348aa0(0x19b)]=_0x49cfc6[_0x348aa0(0x19b)],this[_0x348aa0(0x1b1)]([],{..._0x49cfc6,'wereChangesApplied':!0x1,'data':_0x49cfc6[_0x348aa0(0x158)]},_0x348aa0(0x1fd));}async[_0x3b89cc(0x142)](_0x298fbe,_0x4102b0=!0x1){const _0xed3105=_0x3b89cc,{connection:_0x27e8dc}=this[_0xed3105(0x1e4)][_0xed3105(0x1ee)][_0xed3105(0x14e)](_0x22218a);RealTimeCollaborationClient[_0xed3105(0x14f)][_0xed3105(0x184)](_0x27e8dc,this[_0xed3105(0x118)])[_0xed3105(0x1f1)](_0x42791f=>this[_0xed3105(0x1eb)](_0x42791f))[_0xed3105(0x152)](_0x512bed=>{const _0x1c7d30=_0xed3105;this[_0x1c7d30(0x107)](_0x1c7d30(0x1c1),_0x512bed);}),this[_0xed3105(0x16f)](this[_0xed3105(0x16a)],_0xed3105(0x173),this[_0xed3105(0x161)][_0xed3105(0x1dd)](this)),this[_0xed3105(0x16f)](this[_0xed3105(0x16a)],_0xed3105(0x111),(_0xa59849,_0x192789)=>{const _0x5a04b4=_0xed3105;this[_0x5a04b4(0x107)](_0x5a04b4(0x115),_0x192789);}),this[_0xed3105(0x16f)](this[_0xed3105(0x16a)],_0xed3105(0x12a),()=>{const _0x53481a=_0xed3105;this[_0x53481a(0x12f)]=!0x1;});const _0x4268e8=this[_0xed3105(0x130)][_0xed3105(0x109)](_0x298fbe);this[_0xed3105(0x1cd)]=!0x0;const _0x1f70d5=await this[_0xed3105(0x16a)][_0xed3105(0x14c)](_0x27e8dc,this[_0xed3105(0x1b0)](_0x298fbe),_0x4268e8);if(this[_0xed3105(0x19b)]=_0x1f70d5[_0xed3105(0x19b)],_0x4102b0){if(!_0x1f70d5[_0xed3105(0x1a7)])return void this[_0xed3105(0x209)]();this[_0xed3105(0x1cd)]=!0x1,this[_0xed3105(0x192)](),this[_0xed3105(0x136)][_0xed3105(0x195)](),this[_0xed3105(0x1d9)]=_0x1f70d5[_0xed3105(0x16e)],this[_0xed3105(0x136)][_0xed3105(0x174)]=this[_0xed3105(0x1d9)],await this[_0xed3105(0x1b1)](_0x298fbe,_0x1f70d5,_0xed3105(0x1a8));}else await this[_0xed3105(0x117)](_0x1f70d5,_0x298fbe);this[_0xed3105(0x1f0)](),this[_0xed3105(0x12f)]=!0x0;}[_0x3b89cc(0x1f0)](){const _0x21217a=_0x3b89cc,_0x35b7ff=this[_0x21217a(0x1e4)][_0x21217a(0x1ee)][_0x21217a(0x14e)](_0x394c87),_0x393b97=this[_0x21217a(0x1e4)][_0x21217a(0x1ee)][_0x21217a(0x14e)](_0x42f2c7),_0x10faeb=_0x35b7ff[_0x21217a(0x175)][_0x21217a(0x14e)](this[_0x21217a(0x118)]);_0x10faeb&&_0x10faeb[_0x21217a(0x13d)]>0x1?_0x393b97[_0x21217a(0x13b)]():this[_0x21217a(0x16f)](_0x35b7ff,_0x21217a(0x141)+this[_0x21217a(0x118)],()=>{const _0x11888e=_0x21217a;0x2===_0x35b7ff[_0x11888e(0x175)][_0x11888e(0x14e)](this[_0x11888e(0x118)])[_0x11888e(0x13d)]&&_0x393b97[_0x11888e(0x13b)]();});}async[_0x3b89cc(0x161)](_0x3102f4,_0x4c3e02,_0x204a10,_0x1a655d){const _0x567edd=_0x3b89cc;if(!this[_0x567edd(0x1cd)]&&this[_0x567edd(0x129)][_0x567edd(0x174)]==_0x4c3e02){const _0xc25c39=this[_0x567edd(0x17f)](_0x204a10,_0x1a655d);await this[_0x567edd(0x15b)](_0xc25c39),this[_0x567edd(0x13a)](_0xc25c39,_0x4c3e02,_0x204a10[_0x567edd(0x16c)])||this[_0x567edd(0x107)](_0x567edd(0x1ac));}}async[_0x3b89cc(0x139)](){const _0x39d08d=_0x3b89cc;this[_0x39d08d(0x200)]();const {locale:_0x521e08}=this[_0x39d08d(0x1e4)];let _0x345190;try{_0x345190=await this[_0x39d08d(0x16a)][_0x39d08d(0x15f)]();}catch{const _0x274098=_0x3e9131(_0x521e08,_0x39d08d(0x202));return void this[_0x39d08d(0x209)](_0x274098);}const _0x347d24=_0x345190[_0x39d08d(0x18c)]||_0x345190[_0x39d08d(0x10f)];if(this[_0x39d08d(0x189)]!==_0x347d24[_0x39d08d(0x16c)]){const _0x21bab2=_0x3e9131(_0x521e08,_0x39d08d(0x156));return void this[_0x39d08d(0x209)](_0x21bab2);}await this[_0x39d08d(0x142)](this[_0x39d08d(0x1e4)][_0x39d08d(0x1b6)][_0x39d08d(0x17c)][_0x39d08d(0x1ba)][_0x39d08d(0x11f)](),!0x0);}[_0x3b89cc(0x200)](){const _0x286b02=_0x3b89cc;this[_0x286b02(0x16a)][_0x286b02(0x1a3)](),this[_0x286b02(0x1a2)]=[],clearTimeout(this[_0x286b02(0x1bd)]),this[_0x286b02(0x176)](this[_0x286b02(0x16a)]);}[_0x3b89cc(0x1eb)](_0x578da4){const _0x3e0de3=_0x3b89cc,_0x3489f4=this[_0x3e0de3(0x1e4)][_0x3e0de3(0x1ee)][_0x3e0de3(0x14e)](_0x394c87);this[_0x3e0de3(0x16f)](_0x3489f4,_0x3e0de3(0x141)+this[_0x3e0de3(0x118)],(_0xe83370,{session:_0x45391e})=>{const _0x3ba4ee=_0x3e0de3;if(_0x45391e['id']===_0x3489f4[_0x3ba4ee(0x12b)]){_0xe83370[_0x3ba4ee(0x1ea)]();const _0x43eb10=this[_0x3ba4ee(0x1e4)][_0x3ba4ee(0x1ee)][_0x3ba4ee(0x19e)](_0x3ba4ee(0x10e))&&this[_0x3ba4ee(0x1e4)][_0x3ba4ee(0x1ee)][_0x3ba4ee(0x14e)](_0x3ba4ee(0x10e));let _0x4d71c1=_0x45391e[_0x3ba4ee(0x1af)];_0x43eb10&&_0x43eb10[_0x3ba4ee(0x1b4)]&&(_0x4d71c1=_0x4d71c1[_0x3ba4ee(0x1be)](_0x193019=>_0x3ba4ee(0x1cf)!==_0x193019)),this[_0x3ba4ee(0x1e4)][_0x3ba4ee(0x1ee)][_0x3ba4ee(0x14e)](_0x3ba4ee(0x1a9))[_0x3ba4ee(0x17d)](_0x4d71c1,this[_0x3ba4ee(0x118)]);}}),_0x3489f4[_0x3e0de3(0x112)](this[_0x3e0de3(0x118)],_0x578da4);}[_0x3b89cc(0x1ce)](){const _0x5228d8=_0x3b89cc,_0x3b8498=this[_0x5228d8(0x1e4)][_0x5228d8(0x158)][_0x5228d8(0x1e3)];this[_0x5228d8(0x1e4)][_0x5228d8(0x158)][_0x5228d8(0x1e3)]=(..._0x389ff7)=>{const _0x3cb87c=_0x5228d8;if(!_0x389ff7[_0x389ff7[_0x3cb87c(0x13d)]-0x1][_0x3cb87c(0x19d)])throw new _0x22eb9f(_0x3cb87c(0x1d1),this);_0x3b8498[_0x3cb87c(0x1e1)](this[_0x3cb87c(0x1e4)][_0x3cb87c(0x158)],_0x389ff7);};}[_0x3b89cc(0x18e)](){const _0x1be0bb=_0x3b89cc;this[_0x1be0bb(0x1e4)][_0x1be0bb(0x158)]['on'](_0x1be0bb(0x1aa),(_0x350e83,[_0x18b767])=>{const _0x4f88ba=_0x1be0bb;if(this[_0x4f88ba(0x129)][_0x4f88ba(0x174)])throw new _0x22eb9f(_0x4f88ba(0x19f),this);_0x350e83[_0x4f88ba(0x159)](),this[_0x4f88ba(0x12c)]();const _0x30f6ed=this[_0x4f88ba(0x1e4)][_0x4f88ba(0x145)][_0x4f88ba(0x14e)](_0x4f88ba(0x188)),_0x250245=this[_0x4f88ba(0x121)](_0x18b767,_0x30f6ed);0x0==_0x250245[_0x4f88ba(0x13d)]&&_0x250245[_0x4f88ba(0x127)](new _0x2fb619(0x0)),_0x350e83[_0x4f88ba(0x206)]=this[_0x4f88ba(0x142)](_0x250245)[_0x4f88ba(0x1f1)](()=>{const _0xd3c5a5=_0x4f88ba;this[_0xd3c5a5(0x1e4)][_0xd3c5a5(0x1ee)][_0xd3c5a5(0x14e)](_0x22218a)[_0xd3c5a5(0x14d)](this),this[_0xd3c5a5(0x1e4)][_0xd3c5a5(0x158)][_0xd3c5a5(0x13e)](_0xd3c5a5(0x1b3));})[_0x4f88ba(0x152)](_0x58b00e=>this[_0x4f88ba(0x107)](_0x4f88ba(0x16b),_0x58b00e))[_0x4f88ba(0x1fb)](()=>this[_0x4f88ba(0x192)]());},{'priority':_0x1be0bb(0x203)}),this[_0x1be0bb(0x1e4)]['on'](_0x1be0bb(0x1fe),async(_0x42a382,[_0x132153,_0x479ce7])=>{const _0x1b6b73=_0x1be0bb;_0x42a382[_0x1b6b73(0x159)]();const _0x3a597b=this[_0x1b6b73(0x1e4)][_0x1b6b73(0x1b6)][_0x1b6b73(0x17c)][_0x1b6b73(0x1de)](_0x132153);if(!this[_0x1b6b73(0x1ff)][_0x1b6b73(0x19e)](_0x132153)){const _0x413751=_0x479ce7&&_0x479ce7[_0x1b6b73(0x158)]?_0x479ce7[_0x1b6b73(0x158)]:'',_0x430d67=_0x479ce7&&_0x479ce7[_0x1b6b73(0x1ec)]?_0x479ce7[_0x1b6b73(0x1ec)]:{};await this[_0x1b6b73(0x13c)](_0x132153,_0x413751,_0x430d67);}this[_0x1b6b73(0x1e4)][_0x1b6b73(0x1b6)][_0x1b6b73(0x1c8)]({'isUndoable':!0x1},()=>{const _0x1faee3=_0x1b6b73;_0x3a597b[_0x1faee3(0x1c9)]=!0x0,this[_0x1faee3(0x1e4)][_0x1faee3(0x1b6)][_0x1faee3(0x17c)][_0x1faee3(0x167)][_0x1faee3(0x155)](_0x3a597b);});},{'priority':_0x1be0bb(0x203)});}async[_0x3b89cc(0x15b)](_0xf9f124){const _0x24133e=_0x3b89cc,_0x9adcc9=this[_0x24133e(0x1e4)][_0x24133e(0x1ee)][_0x24133e(0x14e)](_0x3105f6),{connection:_0x5a2115}=this[_0x24133e(0x1e4)][_0x24133e(0x1ee)][_0x24133e(0x14e)](_0x22218a),_0x16c9bc=new Set();for(const _0x294667 of _0xf9f124){const _0x523520=_0x294667[_0x24133e(0x1db)];_0x523520&&!_0x9adcc9[_0x24133e(0x1f6)](_0x523520)&&_0x16c9bc[_0x24133e(0x1fc)](_0x523520);}if(0x0===_0x16c9bc[_0x24133e(0x153)])return;const _0x2d077e=await _0x18e4e3[_0x24133e(0x199)](_0x5a2115,Array[_0x24133e(0x11c)](_0x16c9bc));for(const _0x2c8d06 of _0x2d077e)_0x9adcc9[_0x24133e(0x1f6)](_0x2c8d06['id'])||_0x9adcc9[_0x24133e(0x113)](_0x2c8d06);}[_0x3b89cc(0x121)](_0x417481,_0x454f90={}){const _0x1baa0a=_0x3b89cc,_0x209aca=this[_0x1baa0a(0x1e4)][_0x1baa0a(0x1b6)],_0x16fa68=[];let _0x1aea01=0x0;const _0x47d78d=_0x1baa0a(0x1ef)==typeof _0x417481?{'main':_0x417481}:_0x417481;for(const _0x158a18 of Object[_0x1baa0a(0x198)](_0x47d78d)){if(!this[_0x1baa0a(0x129)][_0x1baa0a(0x1f8)][_0x1baa0a(0x19e)](_0x158a18))throw new _0x22eb9f(_0x1baa0a(0x1b5),this);const _0x115f68=this[_0x1baa0a(0x1e4)][_0x1baa0a(0x158)][_0x1baa0a(0x1a6)](_0x47d78d[_0x158a18]),_0x4a29e4=this[_0x1baa0a(0x129)][_0x1baa0a(0x1de)](_0x158a18),_0x2735e4=new _0x10ba3b(_0x209aca[_0x1baa0a(0x15e)](_0x4a29e4,0x0),_0x115f68,_0x1aea01++);_0x16fa68[_0x1baa0a(0x127)](_0x2735e4);for(const [_0xe9a8eb,_0x2b4939]of _0x115f68[_0x1baa0a(0x177)]){const _0x47b450=_0x209aca[_0x1baa0a(0x1da)](_0x209aca[_0x1baa0a(0x1d4)](_0x4a29e4,_0x2b4939[_0x1baa0a(0x172)][_0x1baa0a(0x181)][_0x1baa0a(0x17e)]()),_0x209aca[_0x1baa0a(0x1d4)](_0x4a29e4,_0x2b4939[_0x1baa0a(0x114)][_0x1baa0a(0x181)][_0x1baa0a(0x17e)]())),_0x3130c9=new _0x253f07(_0xe9a8eb,null,_0x47b450,_0x209aca[_0x1baa0a(0x177)],!0x0,_0x1aea01++);_0x16fa68[_0x1baa0a(0x127)](_0x3130c9);}}if(_0x454f90)for(const [_0x495755,_0x1fa423]of Object[_0x1baa0a(0x1b2)](_0x454f90)){const _0x3f2db4=_0x209aca[_0x1baa0a(0x17c)][_0x1baa0a(0x1de)](_0x495755);if(!_0x3f2db4)throw new _0x22eb9f(_0x1baa0a(0x1f2),null);for(const [_0x2febff,_0x4a756b]of Object[_0x1baa0a(0x1b2)](_0x1fa423))if(null!==_0x4a756b){const _0x428590=new _0x36dcb2(_0x3f2db4,_0x2febff,null,_0x4a756b,_0x1aea01++);_0x16fa68[_0x1baa0a(0x127)](_0x428590);}}return _0x16fa68;}async[_0x3b89cc(0x13c)](_0x245790,_0x299c56,_0x189607){const _0x593b29=_0x3b89cc;this[_0x593b29(0x121)]({[_0x245790]:_0x299c56},{[_0x245790]:_0x189607})[_0x593b29(0x157)]((_0x3e5748,_0x34a845)=>{const _0x420fe3=_0x593b29;_0x3e5748[_0x420fe3(0x171)]=this[_0x420fe3(0x129)][_0x420fe3(0x174)]+_0x34a845,_0x3e5748[_0x420fe3(0x17b)]=!0x0,this[_0x420fe3(0x1e0)](_0x3e5748);}),this[_0x593b29(0x186)](),await this[_0x593b29(0x182)]();}async[_0x3b89cc(0x117)](_0x38e05f,_0x1cda83){const _0x4d84e6=_0x3b89cc;let _0x3505a1;this[_0x4d84e6(0x1d9)]=_0x38e05f[_0x4d84e6(0x16e)];const _0x26a9bb=_0x38e05f[_0x4d84e6(0x1a7)]&&!_0x38e05f[_0x4d84e6(0x168)],_0x318528=_0x26a9bb?0x0:_0x38e05f[_0x4d84e6(0x158)][_0x4d84e6(0x171)];if(_0x1cda83[_0x4d84e6(0x157)](_0x3d6eef=>{const _0x1946cb=_0x4d84e6;_0x3d6eef[_0x1946cb(0x17b)]=!0x0,_0x3d6eef[_0x1946cb(0x144)]=_0x38e05f[_0x1946cb(0x10d)],_0x3d6eef[_0x1946cb(0x1db)]=null;}),_0x26a9bb)_0x3505a1=_0x1cda83,this[_0x4d84e6(0x1e2)](_0x3505a1,_0x26a9bb);else{if(_0x38e05f[_0x4d84e6(0x168)]){const _0x4735b9=this[_0x4d84e6(0x121)](_0x38e05f[_0x4d84e6(0x168)]);this[_0x4d84e6(0x129)][_0x4d84e6(0x1ba)][_0x4d84e6(0x174)]=-_0x4735b9[_0x4d84e6(0x13d)],_0x4735b9[_0x4d84e6(0x157)](_0x58fb4e=>{const _0x3148e6=_0x4d84e6;_0x58fb4e[_0x3148e6(0x171)]-=_0x4735b9[_0x3148e6(0x13d)],_0x58fb4e[_0x3148e6(0x144)]=_0x38e05f[_0x3148e6(0x10d)],_0x58fb4e[_0x3148e6(0x17b)]=!0x0,_0x58fb4e[_0x3148e6(0x1db)]=null;}),this[_0x4d84e6(0x1e2)](_0x4735b9,!0x0),this[_0x4d84e6(0x136)][_0x4d84e6(0x174)]=-_0x4735b9[_0x4d84e6(0x13d)]+this[_0x4d84e6(0x1d9)],this[_0x4d84e6(0x1c2)](_0x4735b9);}this[_0x4d84e6(0x129)][_0x4d84e6(0x1ba)][_0x4d84e6(0x174)]=_0x318528,_0x3505a1=this[_0x4d84e6(0x17f)](_0x38e05f[_0x4d84e6(0x158)],_0x38e05f[_0x4d84e6(0x166)]),await this[_0x4d84e6(0x15b)](_0x3505a1),this[_0x4d84e6(0x1e2)](_0x3505a1,_0x26a9bb);}_0x38e05f[_0x4d84e6(0x16c)]&&(this[_0x4d84e6(0x130)][_0x4d84e6(0x131)](_0x3505a1,_0x38e05f[_0x4d84e6(0x16c)]),this[_0x4d84e6(0x189)]=_0x38e05f[_0x4d84e6(0x16c)]),this[_0x4d84e6(0x136)][_0x4d84e6(0x174)]=_0x318528+this[_0x4d84e6(0x1d9)],this[_0x4d84e6(0x1c2)](_0x3505a1),_0x1cda83[_0x4d84e6(0x1be)](_0x28ef56=>{const _0x350ef0=_0x4d84e6,_0x4d52d3=this[_0x350ef0(0x11b)](_0x28ef56);return _0x4d52d3&&!this[_0x350ef0(0x1ff)][_0x350ef0(0x19e)](_0x4d52d3);})[_0x4d84e6(0x157)]((_0x4d257a,_0x1b2cfa)=>{const _0x98665d=_0x4d84e6;_0x4d257a[_0x98665d(0x171)]=this[_0x98665d(0x129)][_0x98665d(0x174)]+_0x1b2cfa,this[_0x98665d(0x1e0)](_0x4d257a);}),this[_0x4d84e6(0x140)]()?(this[_0x4d84e6(0x13f)]=0x0,this[_0x4d84e6(0x186)](!0x0),await this[_0x4d84e6(0x182)]()):(this[_0x4d84e6(0x1cd)]=!0x1,this[_0x4d84e6(0x192)]());}[_0x3b89cc(0x107)](_0x2085bf,_0x2fd09c){const _0x31152e=_0x3b89cc,_0x1f0d25=_0x2fd09c&&_0x2fd09c[_0x31152e(0x1a4)];if(_0x1f0d25&&_0x1f0d25[_0x31152e(0x18f)](_0x31152e(0x16d)))throw _0x2fd09c;const _0x33fb9b=this[_0x31152e(0x1e4)][_0x31152e(0x1ee)][_0x31152e(0x14e)](_0x22218a);throw this[_0x31152e(0x1cd)]=!0x0,_0x33fb9b[_0x31152e(0x1a3)](),this[_0x31152e(0x1e4)][_0x31152e(0x204)](_0x31152e(0x1c7)),new _0x22eb9f(_0x2085bf,this[_0x31152e(0x1e4)],_0x1f0d25?{'originalError':_0x1f0d25}:void 0x0);}[_0x3b89cc(0x1e0)](_0xa617f){const _0x4a204e=_0x3b89cc;this[_0x4a204e(0x1b7)][_0x4a204e(0x19e)](_0xa617f)||(this[_0x4a204e(0x1b7)][_0x4a204e(0x1fc)](_0xa617f),this[_0x4a204e(0x1a2)][_0x4a204e(0x127)](_0xa617f),this[_0x4a204e(0x11a)]||_0x4a204e(0x191)==_0xa617f[_0x4a204e(0x20a)]&&!_0xa617f[_0x4a204e(0x1a0)]||this[_0x4a204e(0x12c)]());}[_0x3b89cc(0x186)](_0x4082b7=!0x1){const _0xa28ea5=_0x3b89cc;!_0x4082b7&&this[_0xa28ea5(0x1cd)]||(this[_0xa28ea5(0x1cd)]=!0x0,clearTimeout(this[_0xa28ea5(0x1bd)]),this[_0xa28ea5(0x1bd)]=setTimeout(()=>{const _0x41b33f=_0xa28ea5;this[_0x41b33f(0x1d7)]()[_0x41b33f(0x1f1)](_0x5e4d35=>{const _0x115253=_0x41b33f;_0x5e4d35&&(this[_0x115253(0x192)](),this[_0x115253(0x1cd)]=!0x1);})[_0x41b33f(0x152)](_0x24ec38=>{const _0x34909=_0x41b33f;this[_0x34909(0x192)](),this[_0x34909(0x1cd)]=!0x1,function(_0x1209b){const _0x24936c=_0x34909;return _0x1209b[_0x24936c(0x1a4)][_0x24936c(0x18f)](_0x24936c(0x1bf))||_0x1209b[_0x24936c(0x1a4)][_0x24936c(0x18f)](_0x24936c(0x1c6))||_0x1209b[_0x24936c(0x1a4)][_0x24936c(0x18f)](_0x24936c(0x106));}(_0x24ec38)||this[_0x34909(0x107)](_0x24ec38[_0x34909(0x1a4)],_0x24ec38);});},this[_0xa28ea5(0x13f)]));}[_0x3b89cc(0x182)](){return new Promise(_0x4f3df6=>{const _0x29c7bf=_0x89ac;this['on'](_0x29c7bf(0x110),()=>{_0x4f3df6();});});}async[_0x3b89cc(0x1d7)](){const _0x1aa8a3=_0x3b89cc,_0x12d7e9=this[_0x1aa8a3(0x1e4)][_0x1aa8a3(0x1ee)][_0x1aa8a3(0x14e)](_0x42f2c7);if(this[_0x1aa8a3(0x1d3)]()&&(_0x12d7e9[_0x1aa8a3(0x13b)](),this[_0x1aa8a3(0x149)]=!0x1),!this[_0x1aa8a3(0x140)]())return!0x0;const _0xdbaaae=[...this[_0x1aa8a3(0x1a2)]];for(const _0x51d69 of _0xdbaaae)_0x51d69[_0x1aa8a3(0x19c)]=this[_0x1aa8a3(0x129)][_0x1aa8a3(0x1ba)][_0x1aa8a3(0x10a)](_0x51d69);const _0xbf7673=this[_0x1aa8a3(0x130)][_0x1aa8a3(0x109)](_0xdbaaae),_0x47108a=G++,_0x205a06=this[_0x1aa8a3(0x1b0)](_0xdbaaae),_0x297065=await this[_0x1aa8a3(0x16a)][_0x1aa8a3(0x162)](_0x205a06,_0x205a06[_0x1aa8a3(0x171)],_0xbf7673);try{return await this[_0x1aa8a3(0x1b1)](_0xdbaaae,_0x297065,_0x47108a);}catch(_0x184280){return this[_0x1aa8a3(0x107)](_0x1aa8a3(0x120),_0x184280);}}async[_0x3b89cc(0x1b1)](_0x1a3285,_0x268ef0,_0x4d0fd8){const _0x369f11=_0x3b89cc;if(_0x369f11(0x111)in _0x268ef0)throw _0x268ef0[_0x369f11(0x111)];let _0x48ac70=!0x1;if(_0x268ef0[_0x369f11(0x1a7)]){_0x268ef0[_0x369f11(0x16c)]&&(this[_0x369f11(0x189)]=_0x268ef0[_0x369f11(0x16c)]),this[_0x369f11(0x1a2)]=this[_0x369f11(0x1a2)][_0x369f11(0x1be)](_0x106380=>!_0x1a3285[_0x369f11(0x1df)](_0x106380));for(const _0x2199c7 of _0x1a3285)_0x2199c7[_0x369f11(0x144)]=_0x369f11(0x137)in _0x268ef0&&_0x268ef0[_0x369f11(0x137)]||void 0x0;K(_0x1a3285,_0x268ef0[_0x369f11(0x174)]-_0x1a3285[_0x369f11(0x13d)]),this[_0x369f11(0x1c2)](_0x1a3285);const _0x23a7d1=_0x1a3285[_0x369f11(0x1be)](_0x398127=>{const _0x569c8a=_0x369f11;if(!_0x398127[_0x569c8a(0x17b)])return!0x1;const _0x5bb365=this[_0x569c8a(0x11b)](_0x398127);return _0x5bb365&&!this[_0x569c8a(0x1ff)][_0x569c8a(0x19e)](_0x5bb365);});K(_0x23a7d1,this[_0x369f11(0x129)][_0x369f11(0x174)]),this[_0x369f11(0x1e2)](_0x23a7d1),_0x48ac70=!0x0,this[_0x369f11(0x13f)]=this[_0x369f11(0x125)];}else{const _0x3e81fc=this[_0x369f11(0x17f)](_0x268ef0[_0x369f11(0x158)],_0x268ef0[_0x369f11(0x166)])[_0x369f11(0x1be)](_0x5f28d4=>_0x5f28d4[_0x369f11(0x171)]>=this[_0x369f11(0x1f9)]);_0x3e81fc[_0x369f11(0x157)](_0xdb8371=>this[_0x369f11(0x14a)](_0xdb8371)),this[_0x369f11(0x1a2)]=this[_0x369f11(0x1a2)][_0x369f11(0x1be)](_0x10850d=>!_0x10850d[_0x369f11(0x17b)]||!this[_0x369f11(0x1ff)][_0x369f11(0x19e)](this[_0x369f11(0x11b)](_0x10850d))),this[_0x369f11(0x1a2)][_0x369f11(0x13d)]&&K(this[_0x369f11(0x1a2)],this[_0x369f11(0x1a2)][0x0][_0x369f11(0x171)]),await this[_0x369f11(0x15b)](_0x3e81fc),_0x48ac70=this[_0x369f11(0x13a)](_0x3e81fc,_0x268ef0[_0x369f11(0x174)],_0x268ef0[_0x369f11(0x16c)]),this[_0x369f11(0x13f)]=Math[_0x369f11(0x178)](this[_0x369f11(0x13f)]/0x2);}return _0x48ac70?!this[_0x369f11(0x140)]()||(this[_0x369f11(0x186)](!0x0),!0x1):this[_0x369f11(0x107)](_0x369f11(0x126));}[_0x3b89cc(0x13a)](_0x3ff519,_0x25a29d,_0x184793){const _0x4cda1b=_0x3b89cc;try{const _0x1693ec={'document':this[_0x4cda1b(0x129)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3dcecf,operationsB:_0x2ed96d,originalOperations:_0x469ed7}=_0x3b6f2d(_0x3ff519,this[_0x4cda1b(0x1a2)],_0x1693ec);K(_0x3dcecf,this[_0x4cda1b(0x129)][_0x4cda1b(0x174)]),K(_0x2ed96d,_0x25a29d);for(const _0x4e86b9 of _0x3dcecf){const _0x3356b1=_0x469ed7[_0x4cda1b(0x14e)](_0x4e86b9);_0x4e86b9[_0x4cda1b(0x1db)]=_0x3356b1?_0x3356b1[_0x4cda1b(0x1db)]:null;}_0x184793&&(this[_0x4cda1b(0x130)][_0x4cda1b(0x131)](_0x3ff519,_0x184793),this[_0x4cda1b(0x189)]=_0x184793),this[_0x4cda1b(0x1a2)]=[..._0x2ed96d],this[_0x4cda1b(0x1e2)](_0x3dcecf),this[_0x4cda1b(0x1c2)](_0x3ff519);}catch(_0x3564a3){return console[_0x4cda1b(0x111)](_0x3564a3),!0x1;}return!0x0;}[_0x3b89cc(0x1e2)](_0x30b91a,_0x45c2ad=!0x1){const _0x17516f=_0x3b89cc;this[_0x17516f(0x1e4)][_0x17516f(0x1b6)][_0x17516f(0x1c8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4d4387=>{const _0x48d429=_0x17516f;for(const _0x448488 of _0x30b91a)this[_0x48d429(0x1b7)][_0x48d429(0x1fc)](_0x448488),this[_0x48d429(0x14a)](_0x448488),_0x4d4387[_0x48d429(0x128)][_0x48d429(0x18b)](_0x448488),this[_0x48d429(0x1e4)][_0x48d429(0x1b6)][_0x48d429(0x1ad)](_0x448488);});}[_0x3b89cc(0x14a)](_0x47b1f5){const _0x357157=_0x3b89cc,_0x3c9857=this[_0x357157(0x11b)](_0x47b1f5);_0x3c9857&&this[_0x357157(0x1ff)][_0x357157(0x1fc)](_0x3c9857);}[_0x3b89cc(0x11b)](_0x1096ff){const _0x475398=_0x3b89cc;let _0x2b8ce0,_0x42161e;switch(_0x1096ff[_0x475398(0x20a)]){case _0x475398(0x18d):_0x2b8ce0=_0x1096ff[_0x475398(0x194)][_0x475398(0x1cc)];break;case _0x475398(0x191):if(_0x42161e=_0x1096ff[_0x475398(0x1ca)],!_0x42161e)return null;_0x2b8ce0=_0x42161e[_0x475398(0x1cc)];break;case _0x475398(0x132):_0x2b8ce0=_0x1096ff[_0x475398(0x1cc)];break;case _0x475398(0x1d2):_0x2b8ce0=_0x1096ff[_0x475398(0x165)];break;case _0x475398(0x1ae):_0x2b8ce0=_0x1096ff[_0x475398(0x1e8)][_0x475398(0x1cc)];break;default:return null;}return _0x2b8ce0[_0x475398(0x164)];}[_0x3b89cc(0x1c2)](_0x5a09fc){const _0x54d310=_0x3b89cc;_0x5a09fc[_0x54d310(0x157)](_0x2aa0bf=>{const _0x137f8a=_0x54d310,_0x355de9=_0x2aa0bf[_0x137f8a(0x15d)]();_0x355de9[_0x137f8a(0x1db)]=_0x2aa0bf[_0x137f8a(0x1db)],_0x355de9[_0x137f8a(0x17b)]=!!_0x2aa0bf[_0x137f8a(0x17b)],_0x355de9[_0x137f8a(0x144)]=_0x2aa0bf[_0x137f8a(0x144)],_0x355de9[_0x137f8a(0x171)]+=this[_0x137f8a(0x1d9)],_0x2aa0bf[_0x137f8a(0x207)]&&this[_0x137f8a(0x1d8)][_0x137f8a(0x1fc)](_0x355de9),this[_0x137f8a(0x136)][_0x137f8a(0x18b)](_0x355de9);});}[_0x3b89cc(0x209)](_0x13062b){const _0x4bbe4c=_0x3b89cc,_0x3753b4=this[_0x4bbe4c(0x1e4)][_0x4bbe4c(0x1ee)][_0x4bbe4c(0x14e)](_0x4bbe4c(0x163)),_0x1c4292=this[_0x4bbe4c(0x1e4)][_0x4bbe4c(0x119)];_0x13062b||(_0x13062b=_0x3e9131(_0x1c4292,_0x4bbe4c(0x1ab))),_0x3753b4[_0x4bbe4c(0x1f5)](_0x13062b,{'title':_0x3e9131(_0x1c4292,_0x4bbe4c(0x1e5)),'namespace':_0x4bbe4c(0x11e)}),this[_0x4bbe4c(0x180)]=!0x0,clearTimeout(this[_0x4bbe4c(0x1bd)]),this[_0x4bbe4c(0x1a2)]=[],this[_0x4bbe4c(0x1e4)][_0x4bbe4c(0x1ee)][_0x4bbe4c(0x14e)](_0x22218a)[_0x4bbe4c(0x1a3)]();}[_0x3b89cc(0x12c)](){const _0x319401=_0x3b89cc;this[_0x319401(0x11a)]||(this[_0x319401(0x11a)]=this[_0x319401(0x1e4)][_0x319401(0x1ee)][_0x319401(0x14e)](_0x402351)[_0x319401(0x1fc)](_0x3e9131(this[_0x319401(0x1e4)][_0x319401(0x119)],_0x319401(0x190))));}[_0x3b89cc(0x192)](){const _0x2115eb=_0x3b89cc;this[_0x2115eb(0x11a)]&&(this[_0x2115eb(0x1e4)][_0x2115eb(0x1ee)][_0x2115eb(0x14e)](_0x402351)[_0x2115eb(0x11d)](this[_0x2115eb(0x11a)]),this[_0x2115eb(0x11a)]=null);}[_0x3b89cc(0x1b0)](_0x1d1615){const _0x35b307=_0x3b89cc,_0x897120=_0x1d1615[_0x35b307(0x17a)](_0x3e7fc8=>_0x3e7fc8[_0x35b307(0x196)]());return this[_0x35b307(0x1f7)][_0x35b307(0x1e7)](_0x897120);}[_0x3b89cc(0x17f)](_0x305696,_0xac1217){const _0x4fbec0=_0x3b89cc;return this[_0x4fbec0(0x1f7)][_0x4fbec0(0x1c3)](_0x305696)[_0x4fbec0(0x17a)]((_0x491d31,_0x16d9bf)=>{const _0x2aa42c=_0x4fbec0,_0x245bb0=_0x2aa42c(0x1aa)==_0xac1217[_0x16d9bf][_0x2aa42c(0x20a)];if(_0x2aa42c(0x151)==_0x491d31[_0x2aa42c(0x1d6)]){const _0x2fa3f6=_0x491d31[_0x2aa42c(0x194)][_0x2aa42c(0x1cc)];!this[_0x2aa42c(0x129)][_0x2aa42c(0x1de)](_0x2fa3f6)&&(this[_0x2aa42c(0x129)][_0x2aa42c(0x122)](_0x2aa42c(0x146),_0x2fa3f6)[_0x2aa42c(0x1cb)]=!0x1);}const _0x25ce0f=_0x255dc7[_0x2aa42c(0x154)](_0x491d31,this[_0x2aa42c(0x129)]);return _0x25ce0f[_0x2aa42c(0x19c)]=_0x491d31[_0x2aa42c(0x19c)],_0x25ce0f[_0x2aa42c(0x17b)]=_0x245bb0,_0x25ce0f[_0x2aa42c(0x1db)]=_0x245bb0?null:_0xac1217[_0x16d9bf][_0x2aa42c(0x116)],_0x25ce0f[_0x2aa42c(0x207)]=_0x2aa42c(0x1c5)===_0xac1217[_0x16d9bf][_0x2aa42c(0x20a)],_0x25ce0f[_0x2aa42c(0x144)]=_0xac1217[_0x16d9bf][_0x2aa42c(0x144)],_0x25ce0f;});}[_0x3b89cc(0x10c)](){const _0x27e156=_0x3b89cc;this[_0x27e156(0x149)]=!0x0,this[_0x27e156(0x1d3)]()?this[_0x27e156(0x186)]():this[_0x27e156(0x149)]=!0x1;}[_0x3b89cc(0x1d3)](){const _0x34edfd=_0x3b89cc,_0x1fd008=this[_0x34edfd(0x1e4)][_0x34edfd(0x1ee)][_0x34edfd(0x14e)](_0x394c87)[_0x34edfd(0x175)][_0x34edfd(0x14e)](this[_0x34edfd(0x118)]);return!this[_0x34edfd(0x1e4)][_0x34edfd(0x1e9)]&&!!_0x1fd008&&_0x1fd008[_0x34edfd(0x13d)]>0x1&&this[_0x34edfd(0x149)];}[_0x3b89cc(0x140)](){const _0x3f7edc=_0x3b89cc;return this[_0x3f7edc(0x1a2)][_0x3f7edc(0x13d)]>0x0||this[_0x3f7edc(0x1d3)]();}}class $ extends Error{}function K(_0x5e78bd,_0x5097f6){const _0x5b2d29=_0x3b89cc;for(const _0xebe8e of _0x5e78bd)_0xebe8e[_0x5b2d29(0x171)]=_0x5097f6++;}class J{[_0x3b89cc(0x148)];[_0x3b89cc(0x201)];constructor(_0x487131){const _0x5daea2=_0x3b89cc;this[_0x5daea2(0x148)]=_0x487131,this[_0x5daea2(0x201)]=new WeakMap();}[_0x3b89cc(0x109)](_0x2a2228){const _0x244eee=_0x3b89cc;let _0x410400=_0x2a2228[_0x244eee(0x13d)];for(;_0x410400--;){const _0xf63b92=_0x2a2228[_0x410400];if(!this[_0x244eee(0x148)][_0x244eee(0x19e)](_0xf63b92)){if(!this[_0x244eee(0x201)][_0x244eee(0x19e)](_0xf63b92)){const _0x27b241=_0x4afe9b()[_0x244eee(0x17e)](0x1,0x12);this[_0x244eee(0x201)][_0x244eee(0x1e3)](_0xf63b92,_0x27b241);}return this[_0x244eee(0x201)][_0x244eee(0x14e)](_0xf63b92);}}}[_0x3b89cc(0x131)](_0x5b015a,_0x1bb7c7){const _0x147ba5=_0x3b89cc;if(!_0x1bb7c7)return;let _0x2806be=_0x5b015a[_0x147ba5(0x13d)];for(;_0x2806be--;){const _0x478407=_0x5b015a[_0x2806be];this[_0x147ba5(0x148)][_0x147ba5(0x19e)](_0x478407)||this[_0x147ba5(0x201)][_0x147ba5(0x1e3)](_0x478407,_0x1bb7c7);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3628(_0x55fa6c,_0x165770){const _0x31e761=_0x31e7();return _0x3628=function(_0x3628a4,_0x56a9ec){_0x3628a4=_0x3628a4-0x98;let _0x5144d2=_0x31e761[_0x3628a4];return _0x5144d2;},_0x3628(_0x55fa6c,_0x165770);}const _0x35012b=_0x3628;(function(_0x58f670,_0x58e17d){const _0x26f35c=_0x3628,_0x2b16e5=_0x58f670();while(!![]){try{const _0xa80bc0=parseInt(_0x26f35c(0xb0))/0x1+-parseInt(_0x26f35c(0xd0))/0x2*(parseInt(_0x26f35c(0xc8))/0x3)+-parseInt(_0x26f35c(0xa7))/0x4+parseInt(_0x26f35c(0xcf))/0x5*(-parseInt(_0x26f35c(0x9a))/0x6)+-parseInt(_0x26f35c(0xd1))/0x7*(-parseInt(_0x26f35c(0xaa))/0x8)+parseInt(_0x26f35c(0xab))/0x9*(-parseInt(_0x26f35c(0xbf))/0xa)+parseInt(_0x26f35c(0xae))/0xb;if(_0xa80bc0===_0x58e17d)break;else _0x2b16e5['push'](_0x2b16e5['shift']());}catch(_0x57198e){_0x2b16e5['push'](_0x2b16e5['shift']());}}}(_0x31e7,0x8bd43));import{ContextPlugin as _0x5392f4}from'ckeditor5/src/core.js';import{Collection as _0x26a926,CKEditorError as _0x1c7c06}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xf4c53a}from'./websocketgateway.js';import{Users as _0x404da3}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5392f4{[_0x35012b(0xc3)];[_0x35012b(0xbc)];[_0x35012b(0xa0)];[_0x35012b(0xc7)];[_0x35012b(0xad)];[_0x35012b(0x9b)];static get[_0x35012b(0xbd)](){const _0x715672=_0x35012b;return _0x715672(0xcd);}static get[_0x35012b(0xa3)](){return!0x0;}static get[_0x35012b(0xb2)](){return!0x0;}static get[_0x35012b(0xb8)](){return[_0xf4c53a,_0x404da3];}constructor(_0x4fc2e7){const _0x1d8dd7=_0x35012b;super(_0x4fc2e7),this[_0x1d8dd7(0xc3)]=new Map(),this[_0x1d8dd7(0xbc)]=new Map(),this[_0x1d8dd7(0xa0)]=new _0x26a926(),this[_0x1d8dd7(0xc7)]=new Map(),this[_0x1d8dd7(0xad)]=0x0,this[_0x1d8dd7(0x9b)]=this[_0x1d8dd7(0xa5)][_0x1d8dd7(0xac)][_0x1d8dd7(0xd7)](_0x404da3);}[_0x35012b(0xc0)](){const _0x12ddd1=_0x35012b,_0xab0f62=this[_0x12ddd1(0xa5)][_0x12ddd1(0xac)][_0x12ddd1(0xd7)](_0xf4c53a);this[_0x12ddd1(0xa9)](_0xab0f62,_0x12ddd1(0xb9),(_0x2a9245,_0x1353ad,_0x17ed3e)=>{const _0x4dbf24=_0x12ddd1;if(_0x4dbf24(0xaf)!==_0x17ed3e)this[_0x4dbf24(0xc3)][_0x4dbf24(0xbb)](_0x156e45=>_0x156e45[_0x4dbf24(0xb3)]()),this[_0x4dbf24(0xbc)][_0x4dbf24(0xbb)](_0x13e324=>_0x13e324[_0x4dbf24(0xb3)]()),this[_0x4dbf24(0xa0)][_0x4dbf24(0xb3)]();else{for(const [_0x157666,_0x559101]of this[_0x4dbf24(0xc7)])for(const _0x58c3f0 of _0x559101)this[_0x4dbf24(0xa8)](_0x157666,_0x58c3f0);}}),this[_0x12ddd1(0xc5)](_0xab0f62[_0x12ddd1(0xcb)]['me'],!0x0);}[_0x35012b(0xa6)](_0x218ab8,_0x323667){const _0x35f914=_0x35012b;if(this[_0x35f914(0xc7)][_0x35f914(0xd5)](_0x218ab8))throw new _0x1c7c06(_0x35f914(0x9c),null,{'channelId':_0x218ab8});this[_0x35f914(0xc7)][_0x35f914(0xb4)](_0x218ab8,_0x323667),this[_0x35f914(0xc3)][_0x35f914(0xb4)](_0x218ab8,new _0x26a926()),this[_0x35f914(0xbc)][_0x35f914(0xb4)](_0x218ab8,new _0x26a926()),this[_0x35f914(0xa9)](_0x323667,_0x35f914(0xb7),(_0x23a6dd,_0x2da9ea)=>this[_0x35f914(0xa8)](_0x218ab8,_0x2da9ea)),this[_0x35f914(0xa9)](_0x323667,_0x35f914(0xc2),(_0x433a7f,_0x43053c)=>this[_0x35f914(0xa1)](_0x218ab8,_0x43053c));for(const _0x59b974 of _0x323667)this[_0x35f914(0xa8)](_0x218ab8,_0x59b974);}[_0x35012b(0xc9)](_0x272f74){const _0x199ba3=_0x35012b;if(!this[_0x199ba3(0xc7)][_0x199ba3(0xd5)](_0x272f74))throw new _0x1c7c06(_0x199ba3(0x9f),null,{'channelId':_0x272f74});const _0x1d5ecc=this[_0x199ba3(0xc7)][_0x199ba3(0xd7)](_0x272f74);this[_0x199ba3(0xca)](_0x1d5ecc);for(const _0x565d19 of _0x1d5ecc)_0x199ba3(0xaf)===this[_0x199ba3(0xa5)][_0x199ba3(0xac)][_0x199ba3(0xd7)](_0xf4c53a)[_0x199ba3(0xcc)]&&this[_0x199ba3(0xa1)](_0x272f74,_0x565d19);this[_0x199ba3(0xc7)][_0x199ba3(0xb5)](_0x272f74),this[_0x199ba3(0xc3)][_0x199ba3(0xb5)](_0x272f74),this[_0x199ba3(0xbc)][_0x199ba3(0xb5)](_0x272f74);}get[_0x35012b(0xa2)](){const _0x416786=_0x35012b;return this[_0x416786(0xa5)][_0x416786(0xac)][_0x416786(0xd7)](_0xf4c53a)[_0x416786(0xcb)][_0x416786(0x9d)];}[_0x35012b(0xd2)](_0x5bd43f){const _0x206087=_0x35012b;for(const _0x2496eb of this[_0x206087(0xc3)][_0x206087(0x98)]())for(const _0x16e7fa of _0x2496eb)if(_0x16e7fa['id']===_0x5bd43f)return _0x16e7fa[_0x206087(0xd4)];}[_0x35012b(0xc4)](_0x38520c,_0x39c864){const _0x3069c2=_0x35012b,_0x497a52=_0x39c864?[this[_0x3069c2(0xc3)][_0x3069c2(0xd7)](_0x39c864)]:this[_0x3069c2(0xc3)][_0x3069c2(0x98)](),_0x35ee6d=new Set();for(const _0x3b8d6b of _0x497a52)for(const _0x50d5e5 of _0x3b8d6b)_0x50d5e5[_0x3069c2(0xd4)]['id']===_0x38520c['id']&&_0x35ee6d[_0x3069c2(0xb7)](_0x50d5e5['id']);return _0x35ee6d;}[_0x35012b(0xb6)](_0x5365a0){const _0x1a438d=_0x35012b;for(const _0x10ece3 of this[_0x1a438d(0xc3)][_0x1a438d(0x98)]())for(const _0xaac846 of _0x10ece3)if(_0xaac846[_0x1a438d(0xd4)]===_0x5365a0)return _0xaac846[_0x1a438d(0xba)];}[_0x35012b(0xa8)](_0x200f1f,_0x1c51e2){const _0x31d910=_0x35012b;if(_0x31d910(0xaf)!==this[_0x31d910(0xa5)][_0x31d910(0xac)][_0x31d910(0xd7)](_0xf4c53a)[_0x31d910(0xcc)])return;const _0x49d40a=_0x1c51e2[_0x31d910(0xd4)],_0x49f2bc=this[_0x31d910(0x9b)][_0x31d910(0xd6)](_0x49d40a['id'])||this[_0x31d910(0xc5)](_0x49d40a),_0x2fa35e=Object[_0x31d910(0xa4)]({},_0x1c51e2,{'user':_0x49f2bc});if(this[_0x31d910(0xc3)][_0x31d910(0xd7)](_0x200f1f)[_0x31d910(0xb7)](_0x2fa35e),!_0x49d40a[_0x31d910(0xbe)]){const _0x13bea7=this[_0x31d910(0xbc)][_0x31d910(0xd7)](_0x200f1f);_0x13bea7[_0x31d910(0xd5)](_0x49f2bc['id'])||_0x13bea7[_0x31d910(0xb7)](_0x49f2bc),this[_0x31d910(0xa0)][_0x31d910(0xd5)](_0x49f2bc['id'])||_0x49d40a[_0x31d910(0xbe)]||this[_0x31d910(0xa0)][_0x31d910(0xb7)](_0x49f2bc,_0x49f2bc[_0x31d910(0x99)]?0x0:void 0x0);}this[_0x31d910(0xce)](_0x31d910(0xc6)+_0x200f1f,{'channelId':_0x200f1f,'session':_0x2fa35e});}[_0x35012b(0xa1)](_0x3e1974,_0x4642d2){const _0x2c84bf=_0x35012b;if(_0x2c84bf(0xaf)!==this[_0x2c84bf(0xa5)][_0x2c84bf(0xac)][_0x2c84bf(0xd7)](_0xf4c53a)[_0x2c84bf(0xcc)])return;const _0x2001b8=this[_0x2c84bf(0xbc)][_0x2c84bf(0xd7)](_0x3e1974),_0x482560=_0x4642d2[_0x2c84bf(0xd4)];_0x482560['id']&&(this[_0x2c84bf(0xc3)][_0x2c84bf(0xd7)](_0x3e1974)[_0x2c84bf(0xc2)](_0x4642d2['id']),_0x2001b8[_0x2c84bf(0xd5)](_0x482560['id'])&&!this[_0x2c84bf(0xc4)](_0x482560,_0x3e1974)[_0x2c84bf(0xb1)]&&_0x2001b8[_0x2c84bf(0xc2)](_0x482560['id']),this[_0x2c84bf(0xa0)][_0x2c84bf(0xd7)](_0x482560['id'])&&!this[_0x2c84bf(0xc4)](_0x482560)[_0x2c84bf(0xb1)]&&this[_0x2c84bf(0xa0)][_0x2c84bf(0xc2)](_0x482560['id']));}[_0x35012b(0xc5)](_0xbfa033,_0x2ba3b5){const _0x55e8cb=_0x35012b,_0x384d4c=this[_0x55e8cb(0x9b)][_0x55e8cb(0xd3)](_0xbfa033);return _0x2ba3b5&&this[_0x55e8cb(0x9b)][_0x55e8cb(0x9e)](_0xbfa033['id']),_0x384d4c[_0x55e8cb(0xc1)]=this[_0x55e8cb(0xad)]++,_0x384d4c;}}function _0x31e7(){const _0x54ac9f=['allConnectedUsers','_handleSessionRemove','mySessionId','isOfficialPlugin','assign','context','register','973656tKlhZJ','_handleSessionAdd','listenTo','262488hSUZBb','177111PyeHhl','plugins','_uniqueUsersCount','6080283HORfni','connected','736957dVlnCT','size','isPremiumPlugin','clear','set','delete','getUserRole','add','requires','change:state','role','forEach','channelConnectedUsers','pluginName','hiddenInPresenceList','140lvpBcz','init','orderNumber','remove','channelSessions','getUserSessions','_createUser','sessionAdd:','_registeredSessions','685572XWOkLX','unregister','stopListening','connection','state','Sessions','fire','70oknZna','10vgsDSu','231tfoeWq','getUserBySessionId','addUser','user','has','getUser','get','values','isMe','59226prOdtT','_users','sessions-register-already-registered','sessionId','defineMe','sessions-unregister-not-exist'];_0x31e7=function(){return _0x54ac9f;};return _0x31e7();}
23
+ const _0x19cbc5=_0x1642;(function(_0x1011d0,_0x2d7f44){const _0x18de52=_0x1642,_0xa58c4d=_0x1011d0();while(!![]){try{const _0x2418ff=-parseInt(_0x18de52(0x220))/0x1*(-parseInt(_0x18de52(0x228))/0x2)+-parseInt(_0x18de52(0x218))/0x3*(-parseInt(_0x18de52(0x1fe))/0x4)+parseInt(_0x18de52(0x225))/0x5+-parseInt(_0x18de52(0x1fb))/0x6*(-parseInt(_0x18de52(0x20d))/0x7)+parseInt(_0x18de52(0x214))/0x8+parseInt(_0x18de52(0x1f1))/0x9*(-parseInt(_0x18de52(0x217))/0xa)+-parseInt(_0x18de52(0x21c))/0xb;if(_0x2418ff===_0x2d7f44)break;else _0xa58c4d['push'](_0xa58c4d['shift']());}catch(_0x28a1a8){_0xa58c4d['push'](_0xa58c4d['shift']());}}}(_0x1086,0xd96d3));function _0x1086(){const _0x33dd84=['32zBTeIM','assign','channelConnectedUsers','getUserSessions','sessionId','6756685HCCulz','_createUser','forEach','45136zcZYjs','mySessionId','init','role','requires','isPremiumPlugin','size','values','remove','304758LgoIPF','has','_handleSessionRemove','isOfficialPlugin','clear','fire','context','Sessions','sessions-unregister-not-exist','_users','576PWBKIS','orderNumber','unregister','8hTxCDR','register','connection','delete','sessionAdd:','plugins','_registeredSessions','_uniqueUsersCount','channelSessions','isMe','stopListening','listenTo','getUser','add','defineMe','25410AdBstq','user','pluginName','set','getUserBySessionId','getUserRole','hiddenInPresenceList','2417824LyxhFT','state','change:state','10sMpmHC','2141004frTnnU','sessions-register-already-registered','_handleSessionAdd','connected','35498276BLnPXC','allConnectedUsers','get','addUser'];_0x1086=function(){return _0x33dd84;};return _0x1086();}import{ContextPlugin as _0x122182}from'ckeditor5/src/core.js';import{Collection as _0xaabf43,CKEditorError as _0x541042}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x242e16}from'./websocketgateway.js';function _0x1642(_0x300730,_0x447403){const _0x1086eb=_0x1086();return _0x1642=function(_0x16428c,_0x3fac9){_0x16428c=_0x16428c-0x1ef;let _0x4cb112=_0x1086eb[_0x16428c];return _0x4cb112;},_0x1642(_0x300730,_0x447403);}import{Users as _0x5612ba}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x122182{[_0x19cbc5(0x206)];[_0x19cbc5(0x222)];[_0x19cbc5(0x21d)];[_0x19cbc5(0x204)];[_0x19cbc5(0x205)];[_0x19cbc5(0x1fa)];static get[_0x19cbc5(0x20f)](){const _0x5247b6=_0x19cbc5;return _0x5247b6(0x1f8);}static get[_0x19cbc5(0x1f4)](){return!0x0;}static get[_0x19cbc5(0x22d)](){return!0x0;}static get[_0x19cbc5(0x22c)](){return[_0x242e16,_0x5612ba];}constructor(_0x41df5f){const _0x2bd3de=_0x19cbc5;super(_0x41df5f),this[_0x2bd3de(0x206)]=new Map(),this[_0x2bd3de(0x222)]=new Map(),this[_0x2bd3de(0x21d)]=new _0xaabf43(),this[_0x2bd3de(0x204)]=new Map(),this[_0x2bd3de(0x205)]=0x0,this[_0x2bd3de(0x1fa)]=this[_0x2bd3de(0x1f7)][_0x2bd3de(0x203)][_0x2bd3de(0x21e)](_0x5612ba);}[_0x19cbc5(0x22a)](){const _0xa4e573=_0x19cbc5,_0x220f18=this[_0xa4e573(0x1f7)][_0xa4e573(0x203)][_0xa4e573(0x21e)](_0x242e16);this[_0xa4e573(0x209)](_0x220f18,_0xa4e573(0x216),(_0x41eeec,_0x3c1b88,_0x42efba)=>{const _0x260a13=_0xa4e573;if(_0x260a13(0x21b)!==_0x42efba)this[_0x260a13(0x206)][_0x260a13(0x227)](_0x453e17=>_0x453e17[_0x260a13(0x1f5)]()),this[_0x260a13(0x222)][_0x260a13(0x227)](_0x745ef=>_0x745ef[_0x260a13(0x1f5)]()),this[_0x260a13(0x21d)][_0x260a13(0x1f5)]();else{for(const [_0x30cb5f,_0x4a6207]of this[_0x260a13(0x204)])for(const _0x37a223 of _0x4a6207)this[_0x260a13(0x21a)](_0x30cb5f,_0x37a223);}}),this[_0xa4e573(0x226)](_0x220f18[_0xa4e573(0x200)]['me'],!0x0);}[_0x19cbc5(0x1ff)](_0x1ab0f3,_0x476509){const _0x4037ee=_0x19cbc5;if(this[_0x4037ee(0x204)][_0x4037ee(0x1f2)](_0x1ab0f3))throw new _0x541042(_0x4037ee(0x219),null,{'channelId':_0x1ab0f3});this[_0x4037ee(0x204)][_0x4037ee(0x210)](_0x1ab0f3,_0x476509),this[_0x4037ee(0x206)][_0x4037ee(0x210)](_0x1ab0f3,new _0xaabf43()),this[_0x4037ee(0x222)][_0x4037ee(0x210)](_0x1ab0f3,new _0xaabf43()),this[_0x4037ee(0x209)](_0x476509,_0x4037ee(0x20b),(_0x3988db,_0xe86a96)=>this[_0x4037ee(0x21a)](_0x1ab0f3,_0xe86a96)),this[_0x4037ee(0x209)](_0x476509,_0x4037ee(0x1f0),(_0xdf1f1c,_0x22fc12)=>this[_0x4037ee(0x1f3)](_0x1ab0f3,_0x22fc12));for(const _0x478b65 of _0x476509)this[_0x4037ee(0x21a)](_0x1ab0f3,_0x478b65);}[_0x19cbc5(0x1fd)](_0x287d91){const _0x1dbdc0=_0x19cbc5;if(!this[_0x1dbdc0(0x204)][_0x1dbdc0(0x1f2)](_0x287d91))throw new _0x541042(_0x1dbdc0(0x1f9),null,{'channelId':_0x287d91});const _0x566217=this[_0x1dbdc0(0x204)][_0x1dbdc0(0x21e)](_0x287d91);this[_0x1dbdc0(0x208)](_0x566217);for(const _0x39ff01 of _0x566217)_0x1dbdc0(0x21b)===this[_0x1dbdc0(0x1f7)][_0x1dbdc0(0x203)][_0x1dbdc0(0x21e)](_0x242e16)[_0x1dbdc0(0x215)]&&this[_0x1dbdc0(0x1f3)](_0x287d91,_0x39ff01);this[_0x1dbdc0(0x204)][_0x1dbdc0(0x201)](_0x287d91),this[_0x1dbdc0(0x206)][_0x1dbdc0(0x201)](_0x287d91),this[_0x1dbdc0(0x222)][_0x1dbdc0(0x201)](_0x287d91);}get[_0x19cbc5(0x229)](){const _0xb8bcbd=_0x19cbc5;return this[_0xb8bcbd(0x1f7)][_0xb8bcbd(0x203)][_0xb8bcbd(0x21e)](_0x242e16)[_0xb8bcbd(0x200)][_0xb8bcbd(0x224)];}[_0x19cbc5(0x211)](_0x3f3888){const _0x493a4e=_0x19cbc5;for(const _0x19c2b0 of this[_0x493a4e(0x206)][_0x493a4e(0x1ef)]())for(const _0x3664ac of _0x19c2b0)if(_0x3664ac['id']===_0x3f3888)return _0x3664ac[_0x493a4e(0x20e)];}[_0x19cbc5(0x223)](_0x593da1,_0x1aaecf){const _0x118f1b=_0x19cbc5,_0x1cc6fd=_0x1aaecf?[this[_0x118f1b(0x206)][_0x118f1b(0x21e)](_0x1aaecf)]:this[_0x118f1b(0x206)][_0x118f1b(0x1ef)](),_0x327bad=new Set();for(const _0x2a621d of _0x1cc6fd)for(const _0x5691a5 of _0x2a621d)_0x5691a5[_0x118f1b(0x20e)]['id']===_0x593da1['id']&&_0x327bad[_0x118f1b(0x20b)](_0x5691a5['id']);return _0x327bad;}[_0x19cbc5(0x212)](_0x5418b2){const _0x27d416=_0x19cbc5;for(const _0x591b4c of this[_0x27d416(0x206)][_0x27d416(0x1ef)]())for(const _0xd176b6 of _0x591b4c)if(_0xd176b6[_0x27d416(0x20e)]===_0x5418b2)return _0xd176b6[_0x27d416(0x22b)];}[_0x19cbc5(0x21a)](_0x1e5a36,_0x3a9ba0){const _0x300189=_0x19cbc5;if(_0x300189(0x21b)!==this[_0x300189(0x1f7)][_0x300189(0x203)][_0x300189(0x21e)](_0x242e16)[_0x300189(0x215)])return;const _0x135163=_0x3a9ba0[_0x300189(0x20e)],_0x17f408=this[_0x300189(0x1fa)][_0x300189(0x20a)](_0x135163['id'])||this[_0x300189(0x226)](_0x135163),_0x302855=Object[_0x300189(0x221)]({},_0x3a9ba0,{'user':_0x17f408});if(this[_0x300189(0x206)][_0x300189(0x21e)](_0x1e5a36)[_0x300189(0x20b)](_0x302855),!_0x135163[_0x300189(0x213)]){const _0x115319=this[_0x300189(0x222)][_0x300189(0x21e)](_0x1e5a36);_0x115319[_0x300189(0x1f2)](_0x17f408['id'])||_0x115319[_0x300189(0x20b)](_0x17f408),this[_0x300189(0x21d)][_0x300189(0x1f2)](_0x17f408['id'])||_0x135163[_0x300189(0x213)]||this[_0x300189(0x21d)][_0x300189(0x20b)](_0x17f408,_0x17f408[_0x300189(0x207)]?0x0:void 0x0);}this[_0x300189(0x1f6)](_0x300189(0x202)+_0x1e5a36,{'channelId':_0x1e5a36,'session':_0x302855});}[_0x19cbc5(0x1f3)](_0x49118e,_0x453d77){const _0x6a64f6=_0x19cbc5;if(_0x6a64f6(0x21b)!==this[_0x6a64f6(0x1f7)][_0x6a64f6(0x203)][_0x6a64f6(0x21e)](_0x242e16)[_0x6a64f6(0x215)])return;const _0x4e3560=this[_0x6a64f6(0x222)][_0x6a64f6(0x21e)](_0x49118e),_0x4f8e76=_0x453d77[_0x6a64f6(0x20e)];_0x4f8e76['id']&&(this[_0x6a64f6(0x206)][_0x6a64f6(0x21e)](_0x49118e)[_0x6a64f6(0x1f0)](_0x453d77['id']),_0x4e3560[_0x6a64f6(0x1f2)](_0x4f8e76['id'])&&!this[_0x6a64f6(0x223)](_0x4f8e76,_0x49118e)[_0x6a64f6(0x22e)]&&_0x4e3560[_0x6a64f6(0x1f0)](_0x4f8e76['id']),this[_0x6a64f6(0x21d)][_0x6a64f6(0x21e)](_0x4f8e76['id'])&&!this[_0x6a64f6(0x223)](_0x4f8e76)[_0x6a64f6(0x22e)]&&this[_0x6a64f6(0x21d)][_0x6a64f6(0x1f0)](_0x4f8e76['id']));}[_0x19cbc5(0x226)](_0x4e3c0c,_0x2648a6){const _0x79b93e=_0x19cbc5,_0x54968a=this[_0x79b93e(0x1fa)][_0x79b93e(0x21f)](_0x4e3c0c);return _0x2648a6&&this[_0x79b93e(0x1fa)][_0x79b93e(0x20c)](_0x4e3c0c['id']),_0x54968a[_0x79b93e(0x1fc)]=this[_0x79b93e(0x205)]++,_0x54968a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bc87f=_0x3f64;(function(_0x46def3,_0xd8725e){const _0x38ee0b=_0x3f64,_0x4aec59=_0x46def3();while(!![]){try{const _0x35bdd5=-parseInt(_0x38ee0b(0x130))/0x1+parseInt(_0x38ee0b(0x18b))/0x2+-parseInt(_0x38ee0b(0x15d))/0x3+parseInt(_0x38ee0b(0x145))/0x4*(parseInt(_0x38ee0b(0x157))/0x5)+-parseInt(_0x38ee0b(0x17b))/0x6+-parseInt(_0x38ee0b(0x13f))/0x7+parseInt(_0x38ee0b(0x117))/0x8;if(_0x35bdd5===_0xd8725e)break;else _0x4aec59['push'](_0x4aec59['shift']());}catch(_0x19badb){_0x4aec59['push'](_0x4aec59['shift']());}}}(_0x3723,0x45c08));function _0x3f64(_0x1e088b,_0x2041f9){const _0x37234c=_0x3723();return _0x3f64=function(_0x3f6490,_0x360223){_0x3f6490=_0x3f6490-0x112;let _0x1756a8=_0x37234c[_0x3f6490];return _0x1756a8;},_0x3f64(_0x1e088b,_0x2041f9);}import{Plugin as _0x536526}from'ckeditor5/src/core.js';import{global as _0x5b8abf,DomEmitterMixin as _0x9ccdb3}from'ckeditor5/src/utils.js';import{Sessions as _0x221bf1}from'./sessions.js';import{ModelLiveRange as _0x335d88}from'ckeditor5/src/engine.js';function _0x3723(){const _0x24fff0=['getSelectionClass','remove','124bYvwnK','toDomElement','contenteditable','createUIElement','markerNameToElements','user:','split','listenTo','outerHTML','afterInit','conversion','schema','getAttribute','type','view','user:range:','$graveyard','updateMarker','39230DFoaCZ','pluginName','hasDomSelection','spellcheck','editing','mouseenter','1536156vriRJT','innerHTML','removeMarker','tableCell','highest','clear','createElement','set','classList','ck-user__marker_hovered','delete','markerRange','ck-user__marker\x20','batch','toRange','nodeAfter','rootName','fromRange','isCollapsed','start','markerToElement','getContainedElement','oldRange','ck-user__marker-tooltip','applyOperation','mouseleave','getUserBySessionId','markers','name','keydown','1886304aRzfLm','user:position','_domEmitter','addMarker','enqueueChange','userPositionMarker','has','isInline','init','user:range','plugins','markerToHighlight','selection','change','destroy','isLimit','1035128ukUfUq','detach','get','ck-user__selection','for','false','document','editor','addEventListener','add','span','orderNumber','UserMarkers','_createdBatches','isSimilar','getNearestSelectionRange','stopListening','marker','data-session-id','size','getPositions','6858144kEBbXv','undo','color','markerName','commands','createRange','root','deletionPosition','model','mapper','newRange','isOfficialPlugin','Escape','reconvertMarker','render','checkChild','textContent','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','update:user:range','end','parent','isObject','user:position:','element','requires','65479JPAimF','getRange','getFirstRange','getCustomProperty','removeClass','startsWith','mySessionId','setAttribute','isPremiumPlugin','hasContent','getMarkerClass','$text','setCustomProperty','editingDowncast','change:range','3083073Hbtbfr','createUserMarkerOperations','isDocumentOperation','getStart'];_0x3723=function(){return _0x24fff0;};return _0x3723();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x536526{[_0x1bc87f(0x17d)]=new(_0x9ccdb3())();static get[_0x1bc87f(0x12f)](){return[_0x221bf1];}static get[_0x1bc87f(0x158)](){const _0x8e6d68=_0x1bc87f;return _0x8e6d68(0x197);}static get[_0x1bc87f(0x122)](){return!0x0;}static get[_0x1bc87f(0x138)](){return!0x0;}[_0x1bc87f(0x183)](){const _0x12d1c6=_0x1bc87f,_0x3075e1=this[_0x12d1c6(0x192)],_0x584338=_0x3075e1[_0x12d1c6(0x185)][_0x12d1c6(0x18d)](_0x221bf1);_0x3075e1[_0x12d1c6(0x14f)][_0x12d1c6(0x18f)](_0x12d1c6(0x13d))[_0x12d1c6(0x171)]({'model':_0x12d1c6(0x17c),'view':(_0x4c3f9e,{writer:_0x1f6b37})=>function(_0x17b99e,_0x28ed4,_0x47239c,_0x5667dc){const _0xf70ba9=_0x12d1c6,_0x11f7ba=_0x17b99e[_0xf70ba9(0x11a)][_0xf70ba9(0x14b)](':')[0x2],_0x4cc746=_0x47239c[_0xf70ba9(0x177)](_0x11f7ba);if(!_0x4cc746||_0x11f7ba===_0x47239c[_0xf70ba9(0x136)])return;if(!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)][_0xf70ba9(0x126)](_0x17b99e[_0xf70ba9(0x168)][_0xf70ba9(0x170)],_0xf70ba9(0x13b)))return;const _0x285603={'class':_0xf70ba9(0x169)+_0x4cc746[_0xf70ba9(0x119)][_0xf70ba9(0x13a)](),'data-name':_0x4cc746[_0xf70ba9(0x179)],'data-session-id':_0x11f7ba},_0x36c446=_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x178)][_0xf70ba9(0x18d)](_0x17b99e[_0xf70ba9(0x11a)]),_0x469581=_0x36c446[_0xf70ba9(0x142)](),_0x457948=_0x469581[_0xf70ba9(0x16c)],_0xd57ccf=_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)];if(_0x457948&&_0xd57ccf[_0xf70ba9(0x12c)](_0x457948)&&_0xd57ccf[_0xf70ba9(0x182)](_0x457948)&&!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x178)][_0xf70ba9(0x18d)](_0xf70ba9(0x154)+_0x11f7ba)[_0xf70ba9(0x131)]()[_0xf70ba9(0x16f)])return;const _0x33fd94=_0x469581[_0xf70ba9(0x12b)];return _0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)][_0xf70ba9(0x18a)](_0x33fd94)&&!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x139)](_0x33fd94)&&(_0x285603[_0xf70ba9(0x147)]=!0x1),function(_0x112726,_0x4e31a3,_0x53c9ae){const _0x5d240f=_0xf70ba9,_0x1d0226=_0x112726[_0x5d240f(0x148)](_0x5d240f(0x195),_0x4e31a3);return _0x112726[_0x5d240f(0x13c)](_0x5d240f(0x180),!0x0,_0x1d0226),_0x1d0226[_0x5d240f(0x125)]=function(_0x254316){const _0x551994=_0x5d240f,_0x3f7981=this[_0x551994(0x146)](_0x254316),_0x1e90b4=document[_0x551994(0x163)](_0x551994(0x195));return _0x1e90b4[_0x551994(0x165)][_0x551994(0x194)](_0x551994(0x174)),_0x1e90b4[_0x551994(0x137)](_0x551994(0x147),_0x551994(0x190)),_0x1e90b4[_0x551994(0x137)](_0x551994(0x15a),_0x551994(0x190)),_0x1e90b4[_0x551994(0x127)]=_0x53c9ae[_0x551994(0x179)],_0x3f7981[_0x551994(0x15e)]=_0x551994(0x128)+_0x1e90b4[_0x551994(0x14d)]+'⁠',_0x3f7981[_0x551994(0x193)](_0x551994(0x15c),()=>{const _0x11158e=_0x551994;_0x3f7981[_0x11158e(0x165)][_0x11158e(0x194)](_0x11158e(0x166));}),_0x3f7981[_0x551994(0x193)](_0x551994(0x176),()=>{const _0x5585a5=_0x551994;_0x3f7981[_0x5585a5(0x165)][_0x5585a5(0x144)](_0x5585a5(0x166));}),_0x3f7981;},_0x1d0226[_0x5d240f(0x199)]=function(_0x506d03){const _0x3c7811=_0x5d240f;return!(!this[_0x3c7811(0x133)](_0x3c7811(0x180))||!_0x506d03[_0x3c7811(0x133)](_0x3c7811(0x180))||this[_0x3c7811(0x151)](_0x3c7811(0x114))!=_0x506d03[_0x3c7811(0x151)](_0x3c7811(0x114)));},_0x1d0226;}(_0x28ed4,_0x285603,_0x4cc746);}(_0x4c3f9e,_0x1f6b37,_0x584338,_0x3075e1)}),_0x3075e1[_0x12d1c6(0x14f)][_0x12d1c6(0x18f)](_0x12d1c6(0x13d))[_0x12d1c6(0x186)]({'model':_0x12d1c6(0x184),'view':_0x22e1c6=>function(_0x49f313,_0x23d467){const _0x506021=_0x12d1c6,_0x79b270=_0x49f313[_0x506021(0x11a)][_0x506021(0x14b)](':')[0x2];if(_0x79b270===_0x23d467[_0x506021(0x136)])return null;const _0x590fa3=_0x23d467[_0x506021(0x177)](_0x79b270);if(!_0x590fa3)return{'id':_0x79b270,'classes':[]};return{'id':_0x79b270,'classes':[_0x506021(0x18e),_0x590fa3[_0x506021(0x119)][_0x506021(0x143)]()],'attributes':{'data-session-id':_0x79b270},'priority':0x7d0+_0x590fa3[_0x506021(0x196)]};}(_0x22e1c6,_0x584338)}),function(_0x9c607a){const _0x303da7=_0x12d1c6,_0x5a0614=_0x9c607a[_0x303da7(0x11f)],_0xedf9c9=new Map(),_0x531652=_0x9c607a[_0x303da7(0x185)][_0x303da7(0x18d)](_0x221bf1);_0x5a0614[_0x303da7(0x178)]['on'](_0x303da7(0x129),(_0x32cd9b,_0x3e6c10,_0x59a22a,_0x9fd3cc)=>{const _0x19a911=_0x303da7;if(!_0x9fd3cc&&_0xedf9c9[_0x19a911(0x18d)](_0x3e6c10[_0x19a911(0x179)]))return _0xedf9c9[_0x19a911(0x18d)](_0x3e6c10[_0x19a911(0x179)])[_0x19a911(0x18c)](),void _0xedf9c9[_0x19a911(0x167)](_0x3e6c10[_0x19a911(0x179)]);const _0x14a553=_0x3e6c10[_0x19a911(0x179)][_0x19a911(0x14b)](':')[0x2];if(_0x14a553===_0x531652[_0x19a911(0x136)])return;const _0x5d4e9d=_0x19a911(0x12d)+_0x14a553;_0x5a0614[_0x19a911(0x178)][_0x19a911(0x181)](_0x5d4e9d)&&_0x9c607a[_0x19a911(0x15b)][_0x19a911(0x124)](_0x5d4e9d),_0x3e6c10['on'](_0x19a911(0x13e),(_0xef2e9a,_0x169b18,_0x2e8f40)=>{const _0x55b0c1=_0x19a911;if(_0x55b0c1(0x155)!=_0x169b18[_0x55b0c1(0x11d)][_0x55b0c1(0x16d)]&&_0x55b0c1(0x155)==_0x3e6c10[_0x55b0c1(0x131)]()[_0x55b0c1(0x11d)][_0x55b0c1(0x16d)]&&!_0xedf9c9[_0x55b0c1(0x181)](_0x3e6c10[_0x55b0c1(0x179)])){const _0xa86563=_0x5a0614[_0x55b0c1(0x150)][_0x55b0c1(0x19a)](_0x2e8f40[_0x55b0c1(0x11e)]);if(_0xa86563){const _0x5a0992=_0x335d88[_0x55b0c1(0x16e)](_0xa86563);_0xedf9c9[_0x55b0c1(0x164)](_0x3e6c10[_0x55b0c1(0x179)],_0x5a0992),_0x5a0992['on'](_0x55b0c1(0x13e),(_0x32afd9,_0x271b63,_0x5a5bb0)=>{const _0x3b43c5=_0x55b0c1;if(_0x3b43c5(0x155)==_0x5a0992[_0x3b43c5(0x11d)][_0x3b43c5(0x16d)]){const _0x3d0fa3=_0x5a0614[_0x3b43c5(0x150)][_0x3b43c5(0x19a)](_0x5a5bb0[_0x3b43c5(0x11e)]);_0x3d0fa3?(_0x5a0992[_0x3b43c5(0x170)]=_0x3d0fa3[_0x3b43c5(0x170)],_0x5a0992[_0x3b43c5(0x12a)]=_0x3d0fa3[_0x3b43c5(0x12a)]):(_0xedf9c9[_0x3b43c5(0x167)](_0x3e6c10[_0x3b43c5(0x179)]),_0x5a0992[_0x3b43c5(0x18c)]());}});}}});}),_0x5a0614[_0x303da7(0x191)]['on'](_0x303da7(0x188),()=>{const _0x5398fd=_0x303da7;_0xedf9c9[_0x5398fd(0x115)]>0x0&&_0x5a0614[_0x5398fd(0x17f)]({'isUndoable':!0x1},_0x22b56d=>{const _0x5ecc2b=_0x5398fd;for(const [_0x205131,_0x5945f3]of _0xedf9c9)_0x5ecc2b(0x155)==_0x5a0614[_0x5ecc2b(0x178)][_0x5ecc2b(0x18d)](_0x205131)[_0x5ecc2b(0x131)]()[_0x5ecc2b(0x11d)][_0x5ecc2b(0x16d)]&&(q(_0x205131[_0x5ecc2b(0x14b)](':')[0x2],_0x5945f3[_0x5ecc2b(0x16b)](),_0x5a0614,_0x22b56d),_0x5945f3[_0x5ecc2b(0x18c)]());_0xedf9c9[_0x5ecc2b(0x162)]();});});}(_0x3075e1),this[_0x12d1c6(0x17d)][_0x12d1c6(0x14c)](_0x5b8abf[_0x12d1c6(0x191)],_0x12d1c6(0x17a),(_0x1f43a9,{key:_0x5d6987})=>{const _0x358235=_0x12d1c6;_0x358235(0x123)===_0x5d6987&&function(_0x1c5a9c){const _0x314e27=_0x358235;_0x1c5a9c[_0x314e27(0x15b)][_0x314e27(0x153)][_0x314e27(0x188)](_0x41d6b3=>{const _0x59a07b=_0x314e27;for(const _0x3f126b of _0x1c5a9c[_0x59a07b(0x11f)][_0x59a07b(0x178)]){if(!_0x3f126b[_0x59a07b(0x179)][_0x59a07b(0x135)](_0x59a07b(0x17c)))continue;const _0x326f1f=_0x1c5a9c[_0x59a07b(0x15b)][_0x59a07b(0x120)][_0x59a07b(0x149)](_0x3f126b[_0x59a07b(0x179)]);if(_0x326f1f){for(const _0x469131 of _0x326f1f)_0x41d6b3[_0x59a07b(0x134)](_0x59a07b(0x166),_0x469131);}}});}(_0x3075e1);},{'useCapture':!0x0});}[_0x1bc87f(0x14e)](){const _0x384227=_0x1bc87f,_0x53b189=this[_0x384227(0x192)],_0x5f45fa=_0x53b189[_0x384227(0x11b)][_0x384227(0x18d)](_0x384227(0x118));_0x5f45fa&&_0x53b189[_0x384227(0x11f)]['on'](_0x384227(0x175),(_0x27af90,_0xfbb288)=>{const _0x4158a8=_0x384227,_0x5efdb9=_0xfbb288[0x0];if(!_0x5efdb9[_0x4158a8(0x141)])return;if(_0x4158a8(0x113)!=_0x5efdb9[_0x4158a8(0x152)]||!_0x5efdb9[_0x4158a8(0x179)][_0x4158a8(0x135)](_0x4158a8(0x14a)))return;const _0x521d9d=_0x5efdb9[_0x4158a8(0x16a)];_0x5f45fa[_0x4158a8(0x198)][_0x4158a8(0x181)](_0x521d9d)&&(_0x5efdb9[_0x4158a8(0x121)]=_0x5efdb9[_0x4158a8(0x173)]?_0x53b189[_0x4158a8(0x11f)][_0x4158a8(0x11c)](_0x5efdb9[_0x4158a8(0x173)][_0x4158a8(0x170)],_0x5efdb9[_0x4158a8(0x173)][_0x4158a8(0x12a)]):null);},{'priority':_0x384227(0x161)});}[_0x1bc87f(0x189)](){const _0x137a60=_0x1bc87f;return this[_0x137a60(0x17d)][_0x137a60(0x112)](),super[_0x137a60(0x189)]();}[_0x1bc87f(0x140)](){const _0x1bd2ba=_0x1bc87f,_0x56cb7e=this[_0x1bd2ba(0x192)],_0x333e26=_0x56cb7e[_0x1bd2ba(0x11f)][_0x1bd2ba(0x191)],_0x2fe22a=_0x56cb7e[_0x1bd2ba(0x185)][_0x1bd2ba(0x18d)](_0x221bf1);_0x56cb7e[_0x1bd2ba(0x11f)][_0x1bd2ba(0x17f)]({'isUndoable':!0x1},_0x486f53=>{const _0x2582eb=_0x1bd2ba,_0x33b672=_0x2582eb(0x154)+_0x2fe22a[_0x2582eb(0x136)],_0xd14d6e=_0x2582eb(0x12d)+_0x2fe22a[_0x2582eb(0x136)],_0xa66bd=_0x56cb7e[_0x2582eb(0x11f)][_0x2582eb(0x178)][_0x2582eb(0x181)](_0x33b672);_0x56cb7e[_0x2582eb(0x15b)][_0x2582eb(0x153)][_0x2582eb(0x159)]?q(_0x2fe22a[_0x2582eb(0x136)],_0x333e26[_0x2582eb(0x187)][_0x2582eb(0x132)](),_0x56cb7e[_0x2582eb(0x11f)],_0x486f53):_0xa66bd&&(_0x486f53[_0x2582eb(0x15f)](_0x33b672),_0x486f53[_0x2582eb(0x15f)](_0xd14d6e));});}}function q(_0x3798a4,_0x49c938,_0xb80bbc,_0x2f7e3c){const _0x4ff699=_0x1bc87f,_0x2693dd=_0x4ff699(0x154)+_0x3798a4,_0x42d917=_0x4ff699(0x12d)+_0x3798a4,_0x22adf8=_0x49c938[_0x4ff699(0x172)]();let _0x356e10=_0x49c938[_0x4ff699(0x170)];if(_0x22adf8&&_0x22adf8['is'](_0x4ff699(0x12e),_0x4ff699(0x160))){const _0x19dc43=function(_0x5ac2ff,_0x56e41c){const _0x516bca=_0x4ff699;for(const _0x92f84e of _0x5ac2ff[_0x516bca(0x116)]())if(_0x56e41c[_0x516bca(0x150)][_0x516bca(0x126)](_0x92f84e,_0x516bca(0x13b)))return _0x92f84e;}(_0x49c938,_0xb80bbc);_0x19dc43&&(_0x356e10=_0x19dc43,_0x49c938=_0x2f7e3c[_0x4ff699(0x11c)](_0x356e10));}const _0x20d142=_0x2f7e3c[_0x4ff699(0x11c)](_0x356e10);_0xb80bbc[_0x4ff699(0x178)][_0x4ff699(0x181)](_0x2693dd)?(_0x2f7e3c[_0x4ff699(0x156)](_0x2693dd,{'range':_0x49c938}),_0x2f7e3c[_0x4ff699(0x156)](_0x42d917,{'range':_0x20d142})):(_0x2f7e3c[_0x4ff699(0x17e)](_0x2693dd,{'range':_0x49c938,'usingOperation':!0x0}),_0x2f7e3c[_0x4ff699(0x17e)](_0x42d917,{'range':_0x20d142,'usingOperation':!0x0}));}
23
+ const _0x3edb4f=_0x3b9f;(function(_0x3299eb,_0x1b0bb0){const _0x324d74=_0x3b9f,_0x37b8c1=_0x3299eb();while(!![]){try{const _0xf31ad6=-parseInt(_0x324d74(0x25b))/0x1+-parseInt(_0x324d74(0x246))/0x2+parseInt(_0x324d74(0x200))/0x3*(-parseInt(_0x324d74(0x219))/0x4)+parseInt(_0x324d74(0x262))/0x5+parseInt(_0x324d74(0x24a))/0x6+-parseInt(_0x324d74(0x23b))/0x7+parseInt(_0x324d74(0x229))/0x8;if(_0xf31ad6===_0x1b0bb0)break;else _0x37b8c1['push'](_0x37b8c1['shift']());}catch(_0x451435){_0x37b8c1['push'](_0x37b8c1['shift']());}}}(_0x39d0,0x40c0a));import{Plugin as _0x176fcd}from'ckeditor5/src/core.js';import{global as _0x14144f,DomEmitterMixin as _0x1e13fb}from'ckeditor5/src/utils.js';function _0x3b9f(_0x5ab57e,_0x3b6c8b){const _0x39d03f=_0x39d0();return _0x3b9f=function(_0x3b9f8f,_0x24c08e){_0x3b9f8f=_0x3b9f8f-0x1e7;let _0x33e894=_0x39d03f[_0x3b9f8f];return _0x33e894;},_0x3b9f(_0x5ab57e,_0x3b6c8b);}import{Sessions as _0x1e179c}from'./sessions.js';import{ModelLiveRange as _0x2d91d6}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x39d0(){const _0x136fe2=['mySessionId','markerToElement','enqueueChange','change','view','pluginName','markerName','oldRange','destroy','applyOperation','mapper','getFirstRange','editingDowncast','mouseenter','8208088ZwWDIK','$graveyard','addEventListener','deletionPosition','color','Escape','UserMarkers','hasContent','false','contenteditable','$text','tableCell','plugins','start','clear','selection','highest','updateMarker','3614002OtxxQd','rootName','has','isSimilar','for','orderNumber','isCollapsed','conversion','checkChild','ck-user__marker\x20','isInline','900882cfshXH','stopListening','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','createElement','316212vvjmtz','root','user:position:','markerNameToElements','setCustomProperty','get','model','innerHTML','schema','isObject','_createdBatches','getMarkerClass','removeMarker','detach','ck-user__marker_hovered','change:range','isOfficialPlugin','116685lEXcWe','afterInit','newRange','textContent','commands','ck-user__marker-tooltip','marker','2142335fbEnXE','markers','user:','listenTo','delete','data-session-id','hasDomSelection','fromRange','init','keydown','split','parent','batch','undo','isPremiumPlugin','getAttribute','user:position','isDocumentOperation','toRange','nodeAfter','createUserMarkerOperations','startsWith','reconvertMarker','span','update:user:range','editing','remove','userPositionMarker','getSelectionClass','getContainedElement','markerToHighlight','mouseleave','user:range:','add','element','addMarker','getStart','render','set','27978irQMMn','document','ck-user__selection','getCustomProperty','getRange','spellcheck','classList','end','removeClass','setAttribute','name','size','getUserBySessionId','editor','isLimit','type','outerHTML','toDomElement','getPositions','markerRange','getNearestSelectionRange','requires','createRange','createUIElement','_domEmitter','68XoUXcN','user:range'];_0x39d0=function(){return _0x136fe2;};return _0x39d0();}export class UserMarkers extends _0x176fcd{[_0x3edb4f(0x218)]=new(_0x1e13fb())();static get[_0x3edb4f(0x215)](){return[_0x1e179c];}static get[_0x3edb4f(0x220)](){const _0x468edd=_0x3edb4f;return _0x468edd(0x22f);}static get[_0x3edb4f(0x25a)](){return!0x0;}static get[_0x3edb4f(0x1e7)](){return!0x0;}[_0x3edb4f(0x26a)](){const _0xe3bf47=_0x3edb4f,_0x4865a1=this[_0xe3bf47(0x20d)],_0x3cd1a6=_0x4865a1[_0xe3bf47(0x235)][_0xe3bf47(0x24f)](_0x1e179c);_0x4865a1[_0xe3bf47(0x242)][_0xe3bf47(0x23f)](_0xe3bf47(0x227))[_0xe3bf47(0x21c)]({'model':_0xe3bf47(0x1e9),'view':(_0xc90fb7,{writer:_0x54f197})=>function(_0x131341,_0x6efc59,_0xc6b30a,_0xaa8237){const _0x53f685=_0xe3bf47,_0x2ebef4=_0x131341[_0x53f685(0x221)][_0x53f685(0x26c)](':')[0x2],_0x6db9f1=_0xc6b30a[_0x53f685(0x20c)](_0x2ebef4);if(!_0x6db9f1||_0x2ebef4===_0xc6b30a[_0x53f685(0x21b)])return;if(!_0xaa8237[_0x53f685(0x250)][_0x53f685(0x252)][_0x53f685(0x243)](_0x131341[_0x53f685(0x213)][_0x53f685(0x236)],_0x53f685(0x233)))return;const _0x568435={'class':_0x53f685(0x244)+_0x6db9f1[_0x53f685(0x22d)][_0x53f685(0x255)](),'data-name':_0x6db9f1[_0x53f685(0x20a)],'data-session-id':_0x2ebef4},_0x4a3023=_0xaa8237[_0x53f685(0x250)][_0x53f685(0x263)][_0x53f685(0x24f)](_0x131341[_0x53f685(0x221)]),_0x4d6458=_0x4a3023[_0x53f685(0x1fd)](),_0x3d32a1=_0x4d6458[_0x53f685(0x1ec)],_0x5c47b3=_0xaa8237[_0x53f685(0x250)][_0x53f685(0x252)];if(_0x3d32a1&&_0x5c47b3[_0x53f685(0x253)](_0x3d32a1)&&_0x5c47b3[_0x53f685(0x245)](_0x3d32a1)&&!_0xaa8237[_0x53f685(0x250)][_0x53f685(0x263)][_0x53f685(0x24f)](_0x53f685(0x1f9)+_0x2ebef4)[_0x53f685(0x204)]()[_0x53f685(0x241)])return;const _0x372939=_0x4d6458[_0x53f685(0x26d)];return _0xaa8237[_0x53f685(0x250)][_0x53f685(0x252)][_0x53f685(0x20e)](_0x372939)&&!_0xaa8237[_0x53f685(0x250)][_0x53f685(0x230)](_0x372939)&&(_0x568435[_0x53f685(0x232)]=!0x1),function(_0x5c3e6f,_0x5feef1,_0x2e2cc1){const _0x2cd630=_0x53f685,_0x37bacd=_0x5c3e6f[_0x2cd630(0x217)](_0x2cd630(0x1f0),_0x5feef1);return _0x5c3e6f[_0x2cd630(0x24e)](_0x2cd630(0x1f4),!0x0,_0x37bacd),_0x37bacd[_0x2cd630(0x1fe)]=function(_0x57a9e1){const _0x48f199=_0x2cd630,_0x1784b3=this[_0x48f199(0x211)](_0x57a9e1),_0x384f61=document[_0x48f199(0x249)](_0x48f199(0x1f0));return _0x384f61[_0x48f199(0x206)][_0x48f199(0x1fa)](_0x48f199(0x260)),_0x384f61[_0x48f199(0x209)](_0x48f199(0x232),_0x48f199(0x231)),_0x384f61[_0x48f199(0x209)](_0x48f199(0x205),_0x48f199(0x231)),_0x384f61[_0x48f199(0x25e)]=_0x2e2cc1[_0x48f199(0x20a)],_0x1784b3[_0x48f199(0x251)]=_0x48f199(0x248)+_0x384f61[_0x48f199(0x210)]+'⁠',_0x1784b3[_0x48f199(0x22b)](_0x48f199(0x228),()=>{const _0x5ae873=_0x48f199;_0x1784b3[_0x5ae873(0x206)][_0x5ae873(0x1fa)](_0x5ae873(0x258));}),_0x1784b3[_0x48f199(0x22b)](_0x48f199(0x1f8),()=>{const _0x4ea723=_0x48f199;_0x1784b3[_0x4ea723(0x206)][_0x4ea723(0x1f3)](_0x4ea723(0x258));}),_0x1784b3;},_0x37bacd[_0x2cd630(0x23e)]=function(_0x5a8793){const _0x174f0b=_0x2cd630;return!(!this[_0x174f0b(0x203)](_0x174f0b(0x1f4))||!_0x5a8793[_0x174f0b(0x203)](_0x174f0b(0x1f4))||this[_0x174f0b(0x1e8)](_0x174f0b(0x267))!=_0x5a8793[_0x174f0b(0x1e8)](_0x174f0b(0x267)));},_0x37bacd;}(_0x6efc59,_0x568435,_0x6db9f1);}(_0xc90fb7,_0x54f197,_0x3cd1a6,_0x4865a1)}),_0x4865a1[_0xe3bf47(0x242)][_0xe3bf47(0x23f)](_0xe3bf47(0x227))[_0xe3bf47(0x1f7)]({'model':_0xe3bf47(0x21a),'view':_0x2a2777=>function(_0xa35e80,_0x5cd8e0){const _0x57aac6=_0xe3bf47,_0x1afe9f=_0xa35e80[_0x57aac6(0x221)][_0x57aac6(0x26c)](':')[0x2];if(_0x1afe9f===_0x5cd8e0[_0x57aac6(0x21b)])return null;const _0x2e091a=_0x5cd8e0[_0x57aac6(0x20c)](_0x1afe9f);if(!_0x2e091a)return{'id':_0x1afe9f,'classes':[]};return{'id':_0x1afe9f,'classes':[_0x57aac6(0x202),_0x2e091a[_0x57aac6(0x22d)][_0x57aac6(0x1f5)]()],'attributes':{'data-session-id':_0x1afe9f},'priority':0x7d0+_0x2e091a[_0x57aac6(0x240)]};}(_0x2a2777,_0x3cd1a6)}),function(_0x1168f1){const _0x42b1f8=_0xe3bf47,_0x69707b=_0x1168f1[_0x42b1f8(0x250)],_0x5e0da2=new Map(),_0x37a5a1=_0x1168f1[_0x42b1f8(0x235)][_0x42b1f8(0x24f)](_0x1e179c);_0x69707b[_0x42b1f8(0x263)]['on'](_0x42b1f8(0x1f1),(_0x19dc39,_0x54a75e,_0x1e8a7c,_0x100c70)=>{const _0x446f48=_0x42b1f8;if(!_0x100c70&&_0x5e0da2[_0x446f48(0x24f)](_0x54a75e[_0x446f48(0x20a)]))return _0x5e0da2[_0x446f48(0x24f)](_0x54a75e[_0x446f48(0x20a)])[_0x446f48(0x257)](),void _0x5e0da2[_0x446f48(0x266)](_0x54a75e[_0x446f48(0x20a)]);const _0x297d31=_0x54a75e[_0x446f48(0x20a)][_0x446f48(0x26c)](':')[0x2];if(_0x297d31===_0x37a5a1[_0x446f48(0x21b)])return;const _0xad4b16=_0x446f48(0x24c)+_0x297d31;_0x69707b[_0x446f48(0x263)][_0x446f48(0x23d)](_0xad4b16)&&_0x1168f1[_0x446f48(0x1f2)][_0x446f48(0x1ef)](_0xad4b16),_0x54a75e['on'](_0x446f48(0x259),(_0x231e48,_0x318f1d,_0x5ed907)=>{const _0x3de3a5=_0x446f48;if(_0x3de3a5(0x22a)!=_0x318f1d[_0x3de3a5(0x24b)][_0x3de3a5(0x23c)]&&_0x3de3a5(0x22a)==_0x54a75e[_0x3de3a5(0x204)]()[_0x3de3a5(0x24b)][_0x3de3a5(0x23c)]&&!_0x5e0da2[_0x3de3a5(0x23d)](_0x54a75e[_0x3de3a5(0x20a)])){const _0x2dec47=_0x69707b[_0x3de3a5(0x252)][_0x3de3a5(0x214)](_0x5ed907[_0x3de3a5(0x22c)]);if(_0x2dec47){const _0x2964bf=_0x2d91d6[_0x3de3a5(0x269)](_0x2dec47);_0x5e0da2[_0x3de3a5(0x1ff)](_0x54a75e[_0x3de3a5(0x20a)],_0x2964bf),_0x2964bf['on'](_0x3de3a5(0x259),(_0x3b5a75,_0x48e0c6,_0x2146c0)=>{const _0x5802fe=_0x3de3a5;if(_0x5802fe(0x22a)==_0x2964bf[_0x5802fe(0x24b)][_0x5802fe(0x23c)]){const _0x1f9bcf=_0x69707b[_0x5802fe(0x252)][_0x5802fe(0x214)](_0x2146c0[_0x5802fe(0x22c)]);_0x1f9bcf?(_0x2964bf[_0x5802fe(0x236)]=_0x1f9bcf[_0x5802fe(0x236)],_0x2964bf[_0x5802fe(0x207)]=_0x1f9bcf[_0x5802fe(0x207)]):(_0x5e0da2[_0x5802fe(0x266)](_0x54a75e[_0x5802fe(0x20a)]),_0x2964bf[_0x5802fe(0x257)]());}});}}});}),_0x69707b[_0x42b1f8(0x201)]['on'](_0x42b1f8(0x21e),()=>{const _0x46a8ed=_0x42b1f8;_0x5e0da2[_0x46a8ed(0x20b)]>0x0&&_0x69707b[_0x46a8ed(0x21d)]({'isUndoable':!0x1},_0x273a17=>{const _0x5a87d7=_0x46a8ed;for(const [_0x4ca0d7,_0x582037]of _0x5e0da2)_0x5a87d7(0x22a)==_0x69707b[_0x5a87d7(0x263)][_0x5a87d7(0x24f)](_0x4ca0d7)[_0x5a87d7(0x204)]()[_0x5a87d7(0x24b)][_0x5a87d7(0x23c)]&&(Z(_0x4ca0d7[_0x5a87d7(0x26c)](':')[0x2],_0x582037[_0x5a87d7(0x1eb)](),_0x69707b,_0x273a17),_0x582037[_0x5a87d7(0x257)]());_0x5e0da2[_0x5a87d7(0x237)]();});});}(_0x4865a1),this[_0xe3bf47(0x218)][_0xe3bf47(0x265)](_0x14144f[_0xe3bf47(0x201)],_0xe3bf47(0x26b),(_0x1d791e,{key:_0x241136})=>{const _0x186c65=_0xe3bf47;_0x186c65(0x22e)===_0x241136&&function(_0x571833){const _0x2bf522=_0x186c65;_0x571833[_0x2bf522(0x1f2)][_0x2bf522(0x21f)][_0x2bf522(0x21e)](_0x241054=>{const _0x152d85=_0x2bf522;for(const _0x1d3fe7 of _0x571833[_0x152d85(0x250)][_0x152d85(0x263)]){if(!_0x1d3fe7[_0x152d85(0x20a)][_0x152d85(0x1ee)](_0x152d85(0x1e9)))continue;const _0x50b7f5=_0x571833[_0x152d85(0x1f2)][_0x152d85(0x225)][_0x152d85(0x24d)](_0x1d3fe7[_0x152d85(0x20a)]);if(_0x50b7f5){for(const _0x22e6fd of _0x50b7f5)_0x241054[_0x152d85(0x208)](_0x152d85(0x258),_0x22e6fd);}}});}(_0x4865a1);},{'useCapture':!0x0});}[_0x3edb4f(0x25c)](){const _0x171ca2=_0x3edb4f,_0x5a7a5d=this[_0x171ca2(0x20d)],_0x338345=_0x5a7a5d[_0x171ca2(0x25f)][_0x171ca2(0x24f)](_0x171ca2(0x26f));_0x338345&&_0x5a7a5d[_0x171ca2(0x250)]['on'](_0x171ca2(0x224),(_0x577381,_0x3ee4f7)=>{const _0x4927c2=_0x171ca2,_0x44d8ee=_0x3ee4f7[0x0];if(!_0x44d8ee[_0x4927c2(0x1ea)])return;if(_0x4927c2(0x261)!=_0x44d8ee[_0x4927c2(0x20f)]||!_0x44d8ee[_0x4927c2(0x20a)][_0x4927c2(0x1ee)](_0x4927c2(0x264)))return;const _0x5b0b4a=_0x44d8ee[_0x4927c2(0x26e)];_0x338345[_0x4927c2(0x254)][_0x4927c2(0x23d)](_0x5b0b4a)&&(_0x44d8ee[_0x4927c2(0x25d)]=_0x44d8ee[_0x4927c2(0x222)]?_0x5a7a5d[_0x4927c2(0x250)][_0x4927c2(0x216)](_0x44d8ee[_0x4927c2(0x222)][_0x4927c2(0x236)],_0x44d8ee[_0x4927c2(0x222)][_0x4927c2(0x207)]):null);},{'priority':_0x171ca2(0x239)});}[_0x3edb4f(0x223)](){const _0x4c50ea=_0x3edb4f;return this[_0x4c50ea(0x218)][_0x4c50ea(0x247)](),super[_0x4c50ea(0x223)]();}[_0x3edb4f(0x1ed)](){const _0x5386c9=_0x3edb4f,_0x420cf4=this[_0x5386c9(0x20d)],_0x26dac0=_0x420cf4[_0x5386c9(0x250)][_0x5386c9(0x201)],_0x4df838=_0x420cf4[_0x5386c9(0x235)][_0x5386c9(0x24f)](_0x1e179c);_0x420cf4[_0x5386c9(0x250)][_0x5386c9(0x21d)]({'isUndoable':!0x1},_0x2806f6=>{const _0x5ea2e5=_0x5386c9,_0x11da5d=_0x5ea2e5(0x1f9)+_0x4df838[_0x5ea2e5(0x21b)],_0x1e25b7=_0x5ea2e5(0x24c)+_0x4df838[_0x5ea2e5(0x21b)],_0x1369a8=_0x420cf4[_0x5ea2e5(0x250)][_0x5ea2e5(0x263)][_0x5ea2e5(0x23d)](_0x11da5d);_0x420cf4[_0x5ea2e5(0x1f2)][_0x5ea2e5(0x21f)][_0x5ea2e5(0x268)]?Z(_0x4df838[_0x5ea2e5(0x21b)],_0x26dac0[_0x5ea2e5(0x238)][_0x5ea2e5(0x226)](),_0x420cf4[_0x5ea2e5(0x250)],_0x2806f6):_0x1369a8&&(_0x2806f6[_0x5ea2e5(0x256)](_0x11da5d),_0x2806f6[_0x5ea2e5(0x256)](_0x1e25b7));});}}function Z(_0x2da298,_0x472b0e,_0x475299,_0x55ddbe){const _0x193184=_0x3edb4f,_0x44aaf6=_0x193184(0x1f9)+_0x2da298,_0x2859b8=_0x193184(0x24c)+_0x2da298,_0x5aa04b=_0x472b0e[_0x193184(0x1f6)]();let _0xee2006=_0x472b0e[_0x193184(0x236)];if(_0x5aa04b&&_0x5aa04b['is'](_0x193184(0x1fb),_0x193184(0x234))){const _0x1dee1a=function(_0x27e145,_0x2b4a34){const _0x231496=_0x193184;for(const _0xaf470e of _0x27e145[_0x231496(0x212)]())if(_0x2b4a34[_0x231496(0x252)][_0x231496(0x243)](_0xaf470e,_0x231496(0x233)))return _0xaf470e;}(_0x472b0e,_0x475299);_0x1dee1a&&(_0xee2006=_0x1dee1a,_0x472b0e=_0x55ddbe[_0x193184(0x216)](_0xee2006));}const _0x40b9bf=_0x55ddbe[_0x193184(0x216)](_0xee2006);_0x475299[_0x193184(0x263)][_0x193184(0x23d)](_0x44aaf6)?(_0x55ddbe[_0x193184(0x23a)](_0x44aaf6,{'range':_0x472b0e}),_0x55ddbe[_0x193184(0x23a)](_0x2859b8,{'range':_0x40b9bf})):(_0x55ddbe[_0x193184(0x1fc)](_0x44aaf6,{'range':_0x472b0e,'usingOperation':!0x0}),_0x55ddbe[_0x193184(0x1fc)](_0x2859b8,{'range':_0x40b9bf,'usingOperation':!0x0}));}