@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.7 → 47.0.0-alpha.9

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 _0x44d7c7=_0x4060;(function(_0x2b5242,_0x14e076){const _0x3f20e4=_0x4060,_0x1c74e2=_0x2b5242();while(!![]){try{const _0x10500c=-parseInt(_0x3f20e4(0xe9))/0x1+-parseInt(_0x3f20e4(0xd5))/0x2+parseInt(_0x3f20e4(0xed))/0x3+parseInt(_0x3f20e4(0xf5))/0x4+parseInt(_0x3f20e4(0xdc))/0x5*(-parseInt(_0x3f20e4(0xf0))/0x6)+parseInt(_0x3f20e4(0xf6))/0x7+parseInt(_0x3f20e4(0xde))/0x8*(parseInt(_0x3f20e4(0xe5))/0x9);if(_0x10500c===_0x14e076)break;else _0x1c74e2['push'](_0x1c74e2['shift']());}catch(_0x5aac95){_0x1c74e2['push'](_0x1c74e2['shift']());}}}(_0xc590,0x3e395));import{View as _0x30fc45}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5f1c68}from'ckeditor5/src/utils.js';function _0x4060(_0x1d61d5,_0x207d35){const _0xc590a0=_0xc590();return _0x4060=function(_0x4060f7,_0x9c2068){_0x4060f7=_0x4060f7-0xd4;let _0x380e70=_0xc590a0[_0x4060f7];return _0x380e70;},_0x4060(_0x1d61d5,_0x207d35);}import{getTranslation as _0x2a4ee8}from'../../common-translations.js';function _0xc590(){const _0x2c20a1=['focus','list','437226WpjMTv','.ck-balloon-panel_with-arrow','hasPopup','setAttribute','relatedTarget','1144312TkgJla','373961pqJKJQ','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','isExpanded','presencelist:show','586152voRsTE','fire','Connected\x20users\x20list','bindTemplate','element','listenTo','removeAttribute','5OcvDvs','keystrokes','68568Kearjh','presencelist:hide','ck-presence-list__list','div','set','contains','.ck-presence-list__dropdown-list','189YLLhzR','querySelector','aria-expanded','change:hasPopup','272610dTZDhp','render','setTemplate','items','1121802RvDFpT'];_0xc590=function(){return _0x2c20a1;};return _0xc590();}export class PresenceInlineListView extends _0x30fc45{[_0x44d7c7(0xec)];[_0x44d7c7(0xdd)];constructor(_0x46d9f7){const _0x25ce4a=_0x44d7c7;super(_0x46d9f7);const _0x4719b2=this[_0x25ce4a(0xd8)];this[_0x25ce4a(0xec)]=this[_0x25ce4a(0xf8)](),this[_0x25ce4a(0xdd)]=new _0x5f1c68(),this[_0x25ce4a(0xe2)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x25ce4a(0xeb)]({'tag':_0x25ce4a(0xe1),'attributes':{'aria-haspopup':_0x4719b2['if'](_0x25ce4a(0xf2)),'aria-expanded':_0x4719b2['to'](_0x25ce4a(0xf9),_0x23e5f3=>this[_0x25ce4a(0xf2)]&&String(_0x23e5f3)),'aria-label':_0x4719b2['to'](_0x25ce4a(0xf2),_0x59a52e=>_0x2a4ee8(_0x46d9f7,_0x59a52e?_0x25ce4a(0xf7):_0x25ce4a(0xd7))),'role':_0x25ce4a(0xef),'tabindex':_0x4719b2['to'](_0x25ce4a(0xf2),_0x3bd77f=>!!_0x3bd77f&&0x0),'class':['ck',_0x25ce4a(0xe0)]},'children':this[_0x25ce4a(0xec)],'on':{'mouseenter':_0x4719b2['to'](()=>this[_0x25ce4a(0xd6)](_0x25ce4a(0xd4))),'mouseleave':_0x4719b2['to'](_0x4d5111=>{const _0x5de20d=_0x25ce4a,_0x68373e=_0x4d5111,_0x474449=document[_0x5de20d(0xe6)](_0x5de20d(0xe4)),_0x82a7bd=document[_0x5de20d(0xe6)](_0x5de20d(0xf1));_0x474449?.[_0x5de20d(0xe3)](_0x68373e[_0x5de20d(0xf4)])||_0x82a7bd?.[_0x5de20d(0xe3)](_0x68373e[_0x5de20d(0xf4)])||this[_0x5de20d(0xd6)](_0x5de20d(0xdf));})}}),this['on'](_0x25ce4a(0xe8),(_0xd7b100,_0x276351,_0xd03b3e)=>{const _0x45e1d8=_0x25ce4a;this[_0x45e1d8(0xd9)]&&(_0xd03b3e?this[_0x45e1d8(0xd9)][_0x45e1d8(0xf3)](_0x45e1d8(0xe7),String(this[_0x45e1d8(0xf9)])):this[_0x45e1d8(0xd9)][_0x45e1d8(0xdb)](_0x45e1d8(0xe7)));});}[_0x44d7c7(0xee)](){const _0x1f0f9f=_0x44d7c7;this[_0x1f0f9f(0xd9)][_0x1f0f9f(0xee)]();}[_0x44d7c7(0xea)](){const _0x23a6ff=_0x44d7c7;super[_0x23a6ff(0xea)](),this[_0x23a6ff(0xdd)][_0x23a6ff(0xda)](this[_0x23a6ff(0xd9)]);}}
23
+ const _0x1f50ee=_0x5528;(function(_0x509a3b,_0x4d5157){const _0x3d053f=_0x5528,_0x5520d1=_0x509a3b();while(!![]){try{const _0x4958e7=-parseInt(_0x3d053f(0xca))/0x1+-parseInt(_0x3d053f(0xc8))/0x2*(-parseInt(_0x3d053f(0xd2))/0x3)+parseInt(_0x3d053f(0xd6))/0x4+parseInt(_0x3d053f(0xcb))/0x5*(parseInt(_0x3d053f(0xde))/0x6)+parseInt(_0x3d053f(0xc9))/0x7*(parseInt(_0x3d053f(0xcd))/0x8)+parseInt(_0x3d053f(0xe9))/0x9*(-parseInt(_0x3d053f(0xe3))/0xa)+-parseInt(_0x3d053f(0xd9))/0xb;if(_0x4958e7===_0x4d5157)break;else _0x5520d1['push'](_0x5520d1['shift']());}catch(_0x10b388){_0x5520d1['push'](_0x5520d1['shift']());}}}(_0x3c79,0xf307f));import{View as _0x31fe6a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3664ef}from'ckeditor5/src/utils.js';function _0x3c79(){const _0x21a5a0=['list','setTemplate','createCollection','7611232aaqgQN','.ck-balloon-panel_with-arrow','isExpanded','24160389ejcdiE','ck-presence-list__list','change:hasPopup','.ck-presence-list__dropdown-list','setAttribute','117252FBXZmU','fire','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','10dUNzxR','hasPopup','bindTemplate','listenTo','render','presencelist:hide','3710277FfksFs','contains','element','presencelist:show','keystrokes','removeAttribute','focus','118CppoLT','133PsIBnr','392955QPZdxD','375hBsAwR','set','16304WVYeLn','querySelector','items','Connected\x20users\x20list','relatedTarget','29994cJhGyY'];_0x3c79=function(){return _0x21a5a0;};return _0x3c79();}function _0x5528(_0x35ed22,_0x2f0aca){const _0x3c7957=_0x3c79();return _0x5528=function(_0x552848,_0x29852c){_0x552848=_0x552848-0xc7;let _0x522a81=_0x3c7957[_0x552848];return _0x522a81;},_0x5528(_0x35ed22,_0x2f0aca);}import{getTranslation as _0x19e9f4}from'../../common-translations.js';export class PresenceInlineListView extends _0x31fe6a{[_0x1f50ee(0xcf)];[_0x1f50ee(0xed)];constructor(_0x324f76){const _0x173803=_0x1f50ee;super(_0x324f76);const _0x30d2a2=this[_0x173803(0xe5)];this[_0x173803(0xcf)]=this[_0x173803(0xd5)](),this[_0x173803(0xed)]=new _0x3664ef(),this[_0x173803(0xcc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x173803(0xd4)]({'tag':_0x173803(0xe0),'attributes':{'aria-haspopup':_0x30d2a2['if'](_0x173803(0xe4)),'aria-expanded':_0x30d2a2['to'](_0x173803(0xd8),_0x565532=>this[_0x173803(0xe4)]&&String(_0x565532)),'aria-label':_0x30d2a2['to'](_0x173803(0xe4),_0x24493d=>_0x19e9f4(_0x324f76,_0x24493d?_0x173803(0xe1):_0x173803(0xd0))),'role':_0x173803(0xd3),'tabindex':_0x30d2a2['to'](_0x173803(0xe4),_0x378756=>!!_0x378756&&0x0),'class':['ck',_0x173803(0xda)]},'children':this[_0x173803(0xcf)],'on':{'mouseenter':_0x30d2a2['to'](()=>this[_0x173803(0xdf)](_0x173803(0xec))),'mouseleave':_0x30d2a2['to'](_0xcc8b9=>{const _0x40ad87=_0x173803,_0x537419=_0xcc8b9,_0x3278da=document[_0x40ad87(0xce)](_0x40ad87(0xdc)),_0x381edf=document[_0x40ad87(0xce)](_0x40ad87(0xd7));_0x3278da?.[_0x40ad87(0xea)](_0x537419[_0x40ad87(0xd1)])||_0x381edf?.[_0x40ad87(0xea)](_0x537419[_0x40ad87(0xd1)])||this[_0x40ad87(0xdf)](_0x40ad87(0xe8));})}}),this['on'](_0x173803(0xdb),(_0x5b8c0f,_0x39c0e8,_0x15e6b9)=>{const _0x5c5be2=_0x173803;this[_0x5c5be2(0xeb)]&&(_0x15e6b9?this[_0x5c5be2(0xeb)][_0x5c5be2(0xdd)](_0x5c5be2(0xe2),String(this[_0x5c5be2(0xd8)])):this[_0x5c5be2(0xeb)][_0x5c5be2(0xee)](_0x5c5be2(0xe2)));});}[_0x1f50ee(0xc7)](){const _0x5e2e57=_0x1f50ee;this[_0x5e2e57(0xeb)][_0x5e2e57(0xc7)]();}[_0x1f50ee(0xe7)](){const _0xde30e6=_0x1f50ee;super[_0xde30e6(0xe7)](),this[_0xde30e6(0xed)][_0xde30e6(0xe6)](this[_0xde30e6(0xeb)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x162e(_0x425191,_0x27afc5){const _0x8520da=_0x8520();return _0x162e=function(_0x162ead,_0x195e11){_0x162ead=_0x162ead-0xb6;let _0x4656f8=_0x8520da[_0x162ead];return _0x4656f8;},_0x162e(_0x425191,_0x27afc5);}const _0x38ece1=_0x162e;(function(_0xf99245,_0x269175){const _0x2d158d=_0x162e,_0x14f27d=_0xf99245();while(!![]){try{const _0xd9eef8=-parseInt(_0x2d158d(0xc0))/0x1+-parseInt(_0x2d158d(0xbe))/0x2*(-parseInt(_0x2d158d(0xcc))/0x3)+parseInt(_0x2d158d(0xba))/0x4+parseInt(_0x2d158d(0xcb))/0x5+-parseInt(_0x2d158d(0xc8))/0x6*(parseInt(_0x2d158d(0xbf))/0x7)+parseInt(_0x2d158d(0xc1))/0x8+-parseInt(_0x2d158d(0xca))/0x9;if(_0xd9eef8===_0x269175)break;else _0x14f27d['push'](_0x14f27d['shift']());}catch(_0x52ae01){_0x14f27d['push'](_0x14f27d['shift']());}}}(_0x8520,0x36373));import{View as _0x43a26e}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xa95314}from'./presencecounterview.js';import{PresenceInlineListView as _0x560883}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x8520(){const _0x214579=['3655773tluuMR','1542780QDBYAu','381183ZssntZ','set','hasPopup','counterView','ck-rounded-corners','ck-presence-list','setTemplate','change','bindTemplate','isCollapsed','258876tuBtFt','ck-reset','bind','ck-presence-list--collapsed','6dmATBN','77oOtZGe','115922xwucZE','2511272jUMPru','locale','inlineListView','listenTo','items','tooltipPosition','first','176826GfPqLS','div'];_0x8520=function(){return _0x214579;};return _0x8520();}export class PresenceListView extends _0x43a26e{[_0x38ece1(0xcf)];[_0x38ece1(0xc3)];constructor(_0x1bc087,_0x486150=0x6){const _0x5c3bb6=_0x38ece1;super(_0x1bc087);const _0x4fa345=this[_0x5c3bb6(0xb8)];this[_0x5c3bb6(0xcd)](_0x5c3bb6(0xb9),!0x0),this[_0x5c3bb6(0xcf)]=new _0xa95314(this[_0x5c3bb6(0xc2)],_0x486150),this[_0x5c3bb6(0xc3)]=new _0x560883(_0x1bc087),this[_0x5c3bb6(0xc3)][_0x5c3bb6(0xbc)](_0x5c3bb6(0xce))['to'](this,_0x5c3bb6(0xb9)),this[_0x5c3bb6(0xc4)](this[_0x5c3bb6(0xc3)][_0x5c3bb6(0xc5)],_0x5c3bb6(0xb7),()=>{const _0x5f0a2e=_0x5c3bb6;for(const _0x3cbdce of this[_0x5f0a2e(0xc3)][_0x5f0a2e(0xc5)])_0x3cbdce[_0x5f0a2e(0xc6)]='s';this[_0x5f0a2e(0xc3)][_0x5f0a2e(0xc5)][_0x5f0a2e(0xc7)]&&(this[_0x5f0a2e(0xc3)][_0x5f0a2e(0xc5)][_0x5f0a2e(0xc7)][_0x5f0a2e(0xc6)]='se');}),this[_0x5c3bb6(0xb6)]({'tag':_0x5c3bb6(0xc9),'attributes':{'class':['ck',_0x5c3bb6(0xd1),_0x5c3bb6(0xbb),_0x5c3bb6(0xd0),_0x4fa345['if'](_0x5c3bb6(0xb9),_0x5c3bb6(0xbd))]},'children':[this[_0x5c3bb6(0xc3)]]});}}
23
+ const _0x5633d5=_0x54e3;(function(_0x116249,_0x88982){const _0x14fb04=_0x54e3,_0x109e7b=_0x116249();while(!![]){try{const _0xebf33b=parseInt(_0x14fb04(0x10e))/0x1+parseInt(_0x14fb04(0x10f))/0x2+-parseInt(_0x14fb04(0x106))/0x3*(parseInt(_0x14fb04(0x10b))/0x4)+parseInt(_0x14fb04(0x119))/0x5*(parseInt(_0x14fb04(0x111))/0x6)+-parseInt(_0x14fb04(0x117))/0x7*(-parseInt(_0x14fb04(0x110))/0x8)+-parseInt(_0x14fb04(0x10d))/0x9*(parseInt(_0x14fb04(0x107))/0xa)+parseInt(_0x14fb04(0x113))/0xb*(parseInt(_0x14fb04(0x10c))/0xc);if(_0xebf33b===_0x88982)break;else _0x109e7b['push'](_0x109e7b['shift']());}catch(_0x1820bc){_0x109e7b['push'](_0x109e7b['shift']());}}}(_0x43ba,0xe7bae));import{View as _0x270c6b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2dd2ea}from'./presencecounterview.js';function _0x43ba(){const _0x2e5bcd=['1669944mozWJy','tooltipPosition','11393140gwEcpX','hasPopup','counterView','setTemplate','21NRBbJP','bind','10rGAomb','div','locale','items','set','inlineListView','ck-reset','isCollapsed','ck-presence-list','listenTo','change','bindTemplate','41367JhHzQI','1890PNYpGr','ck-rounded-corners','first','ck-presence-list--collapsed','436DsZcgv','12SDXifs','74511iEGAOk','287374oNkmWo','2740534sGwiLO','2044984yEJHYy'];_0x43ba=function(){return _0x2e5bcd;};return _0x43ba();}function _0x54e3(_0x159833,_0x3aa280){const _0x43baab=_0x43ba();return _0x54e3=function(_0x54e335,_0x49a884){_0x54e335=_0x54e335-0xfe;let _0x22168f=_0x43baab[_0x54e335];return _0x22168f;},_0x54e3(_0x159833,_0x3aa280);}import{PresenceInlineListView as _0x231606}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x270c6b{[_0x5633d5(0x115)];[_0x5633d5(0xff)];constructor(_0x475225,_0x681be1=0x6){const _0x102488=_0x5633d5;super(_0x475225);const _0x527cb6=this[_0x102488(0x105)];this[_0x102488(0xfe)](_0x102488(0x101),!0x0),this[_0x102488(0x115)]=new _0x2dd2ea(this[_0x102488(0x11b)],_0x681be1),this[_0x102488(0xff)]=new _0x231606(_0x475225),this[_0x102488(0xff)][_0x102488(0x118)](_0x102488(0x114))['to'](this,_0x102488(0x101)),this[_0x102488(0x103)](this[_0x102488(0xff)][_0x102488(0x11c)],_0x102488(0x104),()=>{const _0x129c83=_0x102488;for(const _0x287b93 of this[_0x129c83(0xff)][_0x129c83(0x11c)])_0x287b93[_0x129c83(0x112)]='s';this[_0x129c83(0xff)][_0x129c83(0x11c)][_0x129c83(0x109)]&&(this[_0x129c83(0xff)][_0x129c83(0x11c)][_0x129c83(0x109)][_0x129c83(0x112)]='se');}),this[_0x102488(0x116)]({'tag':_0x102488(0x11a),'attributes':{'class':['ck',_0x102488(0x102),_0x102488(0x100),_0x102488(0x108),_0x527cb6['if'](_0x102488(0x101),_0x102488(0x10a))]},'children':[this[_0x102488(0xff)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x11bae1=_0x41e1;function _0x1b97(){var _0x4c8970=['3UlsFGL','18XJjaMN','5196SaTkRy','7304992okPsEa','870359mKqjbw','PresenceList','7667DDEVav','6VReGlO','4895790WqAQFK','3769550dImEVx','4NHqUZb','requires','isOfficialPlugin','pluginName','2637158eoXxTO','862846tGfCZz','isPremiumPlugin'];_0x1b97=function(){return _0x4c8970;};return _0x1b97();}(function(_0x5ac2e7,_0x19c5ba){var _0x1f9e2e=_0x41e1,_0xef3056=_0x5ac2e7();while(!![]){try{var _0x1b2f21=-parseInt(_0x1f9e2e(0x89))/0x1+parseInt(_0x1f9e2e(0x88))/0x2*(parseInt(_0x1f9e2e(0x8b))/0x3)+parseInt(_0x1f9e2e(0x84))/0x4*(-parseInt(_0x1f9e2e(0x82))/0x5)+parseInt(_0x1f9e2e(0x81))/0x6*(-parseInt(_0x1f9e2e(0x7e))/0x7)+parseInt(_0x1f9e2e(0x8e))/0x8+parseInt(_0x1f9e2e(0x8c))/0x9*(parseInt(_0x1f9e2e(0x83))/0xa)+-parseInt(_0x1f9e2e(0x80))/0xb*(parseInt(_0x1f9e2e(0x8d))/0xc);if(_0x1b2f21===_0x19c5ba)break;else _0xef3056['push'](_0xef3056['shift']());}catch(_0xeac4d0){_0xef3056['push'](_0xef3056['shift']());}}}(_0x1b97,0xaf29f));function _0x41e1(_0x3ca9c4,_0x73a360){var _0x1b972c=_0x1b97();return _0x41e1=function(_0x41e1d6,_0x211286){_0x41e1d6=_0x41e1d6-0x7e;var _0x12cb60=_0x1b972c[_0x41e1d6];return _0x12cb60;},_0x41e1(_0x3ca9c4,_0x73a360);}import{ContextPlugin as _0x4eef1a}from'ckeditor5/src/core.js';import{Sessions as _0x283f97}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x2c9918}from'./presencelist/presencelistui.js';export class PresenceList extends _0x4eef1a{static get[_0x11bae1(0x85)](){return[_0x283f97,_0x2c9918];}static get[_0x11bae1(0x87)](){var _0xc2e6b1=_0x11bae1;return _0xc2e6b1(0x7f);}static get[_0x11bae1(0x86)](){return!0x0;}static get[_0x11bae1(0x8a)](){return!0x0;}}
23
+ var _0x572893=_0x154f;(function(_0x4034c6,_0x303f79){var _0x33ff22=_0x154f,_0x5315b5=_0x4034c6();while(!![]){try{var _0xf21855=parseInt(_0x33ff22(0x1d7))/0x1+-parseInt(_0x33ff22(0x1cd))/0x2*(-parseInt(_0x33ff22(0x1d5))/0x3)+parseInt(_0x33ff22(0x1d0))/0x4+-parseInt(_0x33ff22(0x1d4))/0x5+parseInt(_0x33ff22(0x1d1))/0x6*(parseInt(_0x33ff22(0x1d6))/0x7)+-parseInt(_0x33ff22(0x1d3))/0x8+-parseInt(_0x33ff22(0x1ce))/0x9;if(_0xf21855===_0x303f79)break;else _0x5315b5['push'](_0x5315b5['shift']());}catch(_0x4bc29c){_0x5315b5['push'](_0x5315b5['shift']());}}}(_0x5dcc,0xd3f46));import{ContextPlugin as _0x145db9}from'ckeditor5/src/core.js';function _0x5dcc(){var _0x736a81=['324104uGfveC','6IgGhDj','requires','6246616cRwOIO','1559510SkrXNa','736842gthhOr','2059295KTnpNH','1675943OOYKjJ','PresenceList','pluginName','isOfficialPlugin','2LjKjxB','3022857uKhTQm','isPremiumPlugin'];_0x5dcc=function(){return _0x736a81;};return _0x5dcc();}import{Sessions as _0x1b23f3}from'./realtimecollaborativeediting/sessions.js';function _0x154f(_0x5328ed,_0x1e3b40){var _0x5dcce0=_0x5dcc();return _0x154f=function(_0x154fe0,_0x8c1d05){_0x154fe0=_0x154fe0-0x1cc;var _0x5c0116=_0x5dcce0[_0x154fe0];return _0x5c0116;},_0x154f(_0x5328ed,_0x1e3b40);}import{PresenceListUI as _0x184920}from'./presencelist/presencelistui.js';export class PresenceList extends _0x145db9{static get[_0x572893(0x1d2)](){return[_0x1b23f3,_0x184920];}static get[_0x572893(0x1d9)](){var _0x5ad96b=_0x572893;return _0x5ad96b(0x1d8);}static get[_0x572893(0x1cc)](){return!0x0;}static get[_0x572893(0x1cf)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e8931=_0x5102;(function(_0x5713ae,_0x8cbee8){const _0xe3a977=_0x5102,_0x3d47cb=_0x5713ae();while(!![]){try{const _0x2937de=-parseInt(_0xe3a977(0xe9))/0x1+parseInt(_0xe3a977(0x11d))/0x2*(-parseInt(_0xe3a977(0xe2))/0x3)+-parseInt(_0xe3a977(0xd6))/0x4*(-parseInt(_0xe3a977(0x10a))/0x5)+parseInt(_0xe3a977(0x125))/0x6+-parseInt(_0xe3a977(0xe4))/0x7*(-parseInt(_0xe3a977(0xce))/0x8)+parseInt(_0xe3a977(0x107))/0x9+-parseInt(_0xe3a977(0x10c))/0xa;if(_0x2937de===_0x8cbee8)break;else _0x3d47cb['push'](_0x3d47cb['shift']());}catch(_0x14041c){_0x3d47cb['push'](_0x3d47cb['shift']());}}}(_0x785d,0xb7f3f));import{Context as _0x4df15e,ContextPlugin as _0x1fdfa1}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e7159}from'ckeditor5/src/utils.js';import{Users as _0x2e3346}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x574abb,User as _0x4f2910}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x33fd42}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4c66fe}from'../realtimecollaborativeediting/sessions.js';function _0x785d(){const _0x2cdbbd=['13195332LMuqWy','removeCommentThread','plugins','12830reDJrc','cloudservicescommentsadapter-service-not-exist','9178170OZkxQU','config','sessionAdd:','reopen','off','addCommentThread','comments','cloudservicescommentsadapter-disconnect-not-exist','register','size','updateCommentThread','set','map','unregister','updateComment','connect','cloud-services-internal-error:\x20Not\x20connected.','333540oitcpb','has','_getService','commentThreadRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','delete','404','resolvedAt','4643268zpUMwk','reopenCommentThread','userId','code','startsWith','addComment','from','commentUpdated','getMany','getComment','content','resolve','resolvedBy','commentAdded','keys','7912oKiSfF','message','commentThreadUpdated','commentThreadReopened','CommentsRepository','listenTo','reconnect','add','1224XQQwOm','getUser','commentRemoved','addToReconnectionStack','commentId','_setUpService','collaboration.channelId','destroy','mySessionId','createdAt','get','deletedAt','24BrrBxz','removeComment','4648xBluGm','requires','getConnectedSessions','Permissions','commentThreadId','676470WPtxUj','catch','attributes','authorId','pluginName','init','commentThreadResolved','getCommentThreads','isPremiumPlugin','adapter','cloudservicescommentsadapter-connect-already-connected','remove','CloudServicesCommentsAdapter','addUser','CommentsService','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','disconnect','getCommentThread','isOfficialPlugin','_fetchMissingUsersForThreads','_services','setPermissions','commentThreadAdded','resolveCommentThread','permissions','update','assign','context','_connectService'];_0x785d=function(){return _0x2cdbbd;};return _0x785d();}function _0x5102(_0x18aa92,_0x399254){const _0x785dff=_0x785d();return _0x5102=function(_0x510259,_0x5b056e){_0x510259=_0x510259-0xcc;let _0x42db9d=_0x785dff[_0x510259];return _0x42db9d;},_0x5102(_0x18aa92,_0x399254);}export class CloudServicesCommentsAdapter extends _0x1fdfa1{static [_0x1e8931(0xf7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x574abb)());[_0x1e8931(0xfe)];static get[_0x1e8931(0xe5)](){const _0x1b0114=_0x1e8931;return[_0x33fd42,_0x1b0114(0xd2),_0x4c66fe,_0x2e3346];}static get[_0x1e8931(0xed)](){const _0x2af89c=_0x1e8931;return _0x2af89c(0xf5);}static get[_0x1e8931(0xfc)](){return!0x0;}static get[_0x1e8931(0xf1)](){return!0x0;}constructor(_0xf420ac){const _0x11a381=_0x1e8931;super(_0xf420ac),this[_0x11a381(0xfe)]=new Map();}async[_0x1e8931(0xee)](){const _0x12a5a7=_0x1e8931,_0xa31a8a=this[_0x12a5a7(0x105)],_0x49cb9a=_0xa31a8a[_0x12a5a7(0x109)][_0x12a5a7(0xe0)](_0x12a5a7(0xd2));if(_0xa31a8a[_0x12a5a7(0x109)][_0x12a5a7(0xe0)](_0x33fd42)[_0x12a5a7(0xd9)](this),_0x49cb9a[_0x12a5a7(0xf2)]={'addCommentThread':async({channelId:_0x3753d8,threadId:_0x1be0f1,comments:_0x177011,resolvedAt:_0x1a596a,resolvedBy:_0x4c8b2a,context:_0x15fd89,attributes:_0x1db94f})=>{const _0x2fbe8e=_0x12a5a7,_0x27bb1c=await this[_0x2fbe8e(0x11f)](_0x3753d8)[_0x2fbe8e(0x111)]({'commentThreadId':_0x1be0f1,'comments':_0x177011[_0x2fbe8e(0x118)](_0x34837b=>function(_0x17f938,_0x4e68a5,_0x46ca5f){const _0x484127=_0x2fbe8e;return{'commentThreadId':_0x46ca5f,'commentId':_0x17f938[_0x484127(0xda)],'userId':_0x17f938[_0x484127(0xec)],'content':_0x17f938[_0x484127(0x12f)],'documentId':_0x4e68a5,'createdAt':_0x17f938[_0x484127(0xdf)],'attributes':_0x17f938[_0x484127(0xeb)]||{}};}(_0x34837b,_0x3753d8,_0x1be0f1)),'resolvedAt':_0x1a596a,'resolvedBy':_0x4c8b2a,'context':_0x15fd89,'attributes':_0x1db94f})[_0x2fbe8e(0xea)](A);return{'threadId':_0x27bb1c[_0x2fbe8e(0xe8)],'comments':_0x27bb1c[_0x2fbe8e(0x112)]};},'getCommentThread':async({channelId:_0x293522,threadId:_0x385713})=>{const _0x38ffc7=_0x12a5a7,_0x3eb7e5=await this[_0x38ffc7(0x11f)](_0x293522)[_0x38ffc7(0xfb)](_0x385713)[_0x38ffc7(0xea)](f)[_0x38ffc7(0xea)](A);return _0x3eb7e5?_0x3eb7e5[_0x38ffc7(0xe1)]?null:(await this[_0x38ffc7(0xfd)]([_0x3eb7e5]),{'threadId':_0x3eb7e5[_0x38ffc7(0xe8)],'comments':_0x3eb7e5[_0x38ffc7(0x112)][_0x38ffc7(0x118)](p),'context':_0x3eb7e5[_0x38ffc7(0x105)],'resolvedAt':_0x3eb7e5[_0x38ffc7(0x124)],'resolvedBy':_0x3eb7e5[_0x38ffc7(0x131)],'attributes':_0x3eb7e5[_0x38ffc7(0xeb)]||{}}):null;},'updateCommentThread':async({channelId:_0x1ec02f,threadId:_0x123f71,context:_0x5b9895,unlinkedAt:_0x3b5356,attributes:_0x365e77})=>this[_0x12a5a7(0x11f)](_0x1ec02f)[_0x12a5a7(0x116)]({'commentThreadId':_0x123f71,'context':_0x5b9895,'attributes':_0x365e77,'unlinkedAt':_0x3b5356})[_0x12a5a7(0xea)](f)[_0x12a5a7(0xea)](A),'resolveCommentThread':async({channelId:_0x10b58b,threadId:_0x23bebc})=>{const _0x270244=_0x12a5a7,_0x5f1acc=await this[_0x270244(0x11f)](_0x10b58b)[_0x270244(0x101)](_0x23bebc)[_0x270244(0xea)](f)[_0x270244(0xea)](A);return{'threadId':_0x5f1acc[_0x270244(0xe8)],'resolvedAt':_0x5f1acc[_0x270244(0x124)],'resolvedBy':_0x5f1acc[_0x270244(0x131)]};},'reopenCommentThread':async({channelId:_0x29eb91,threadId:_0x41d13c})=>this[_0x12a5a7(0x11f)](_0x29eb91)[_0x12a5a7(0x126)](_0x41d13c)[_0x12a5a7(0xea)](f)[_0x12a5a7(0xea)](A),'removeCommentThread':({channelId:_0xf72809,threadId:_0x1419e0})=>this[_0x12a5a7(0x11f)](_0xf72809)[_0x12a5a7(0x108)](_0x1419e0)[_0x12a5a7(0xea)](f)[_0x12a5a7(0xea)](A),'addComment':({channelId:_0x3222db,threadId:_0x5c94c6,commentId:_0x448f29,content:_0xb925b6,attributes:_0xd745d9})=>this[_0x12a5a7(0x11f)](_0x3222db)[_0x12a5a7(0x12a)](_0x5c94c6,_0x448f29,_0xb925b6,_0xd745d9)[_0x12a5a7(0xea)](A),'updateComment':({channelId:_0x5978c4,threadId:_0x91993e,commentId:_0x259f95,content:_0x3ebcc8,attributes:_0x358335})=>this[_0x12a5a7(0x11f)](_0x5978c4)[_0x12a5a7(0x11a)](_0x91993e,_0x259f95,_0x3ebcc8,_0x358335)[_0x12a5a7(0xea)](f)[_0x12a5a7(0xea)](A),'removeComment':({channelId:_0x189911,threadId:_0x56f453,commentId:_0x3777d9})=>this[_0x12a5a7(0x11f)](_0x189911)[_0x12a5a7(0xe3)](_0x56f453,_0x3777d9)[_0x12a5a7(0xea)](f)[_0x12a5a7(0xea)](A)},_0xa31a8a instanceof _0x4df15e){const _0x9caab2=_0xa31a8a[_0x12a5a7(0x10d)][_0x12a5a7(0xe0)](_0x12a5a7(0xdc)),_0x318e6e=_0xa31a8a[_0x12a5a7(0x109)][_0x12a5a7(0xe0)](_0x4c66fe);await this[_0x12a5a7(0xdb)](_0x9caab2);const _0x33b05e=await this[_0x12a5a7(0xfe)][_0x12a5a7(0xe0)](_0x9caab2)[_0x12a5a7(0xe6)]();this[_0x12a5a7(0xd3)](_0x318e6e,_0x12a5a7(0x10e)+_0x9caab2,(_0xa981db,{session:_0x2694e5})=>{const _0x5423ea=_0x12a5a7;_0x2694e5['id']===_0x318e6e[_0x5423ea(0xde)]&&(_0xa981db[_0x5423ea(0x110)](),this[_0x5423ea(0x105)][_0x5423ea(0x109)][_0x5423ea(0xe0)](_0x5423ea(0xe7))[_0x5423ea(0xff)](_0x2694e5[_0x5423ea(0x102)],_0x9caab2));}),_0x318e6e[_0x12a5a7(0x114)](_0x9caab2,_0x33b05e);}}async[_0x1e8931(0xdb)](_0x7d115f){const _0x45a66a=_0x1e8931;if(this[_0x45a66a(0xfe)][_0x45a66a(0x11e)](_0x7d115f))throw new _0x3e7159(_0x45a66a(0xf3),null,{'channelId':_0x7d115f});const _0x526395=this[_0x45a66a(0x105)][_0x45a66a(0x109)][_0x45a66a(0xe0)](_0x45a66a(0xd2)),_0x2d2b49=new CloudServicesCommentsAdapter[(_0x45a66a(0xf7))](_0x7d115f);this[_0x45a66a(0xfe)][_0x45a66a(0x117)](_0x7d115f,_0x2d2b49),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0x100),(_0x520980,_0x430c11)=>{const _0xe05349=_0x45a66a,{commentThreadId:_0x2f8356,documentId:_0x28ca0f,context:_0x664897,attributes:_0x593ee7,resolvedAt:_0xd2b4ce,resolvedBy:_0x2a05a6,comments:_0x2d1ad9}=_0x430c11;_0x526395[_0xe05349(0xfb)](_0x2f8356)||_0x526395[_0xe05349(0x111)]({'threadId':_0x2f8356,'channelId':_0x28ca0f,'comments':_0x2d1ad9?_0x2d1ad9[_0xe05349(0x118)](p):[],'context':_0x664897,'attributes':_0x593ee7,'resolvedAt':_0xd2b4ce,'resolvedBy':_0x2a05a6,'isFromAdapter':!0x0});}),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0xd0),(_0x2041c8,{commentThreadId:_0x3b8642,documentId:_0x343487,context:_0x4a8e2f,unlinkedAt:_0x10d468,attributes:_0x4785b7})=>{const _0x764776=_0x45a66a;_0x526395[_0x764776(0xfb)](_0x3b8642)&&_0x526395[_0x764776(0x116)]({'threadId':_0x3b8642,'channelId':_0x343487,'context':_0x4a8e2f,'unlinkedAt':_0x10d468,'attributes':_0x4785b7,'isFromAdapter':!0x0});}),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0xef),(_0x27dc8b,{commentThreadId:_0x29857b,resolvedBy:_0x54cb20,resolvedAt:_0x29af3a})=>{const _0x57bded=_0x45a66a,_0x24239e=_0x526395[_0x57bded(0xfb)](_0x29857b);_0x24239e&&_0x24239e[_0x57bded(0x130)]({'resolvedBy':_0x54cb20,'resolvedAt':_0x29af3a,'isFromAdapter':!0x0});}),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0xd1),(_0x3165e6,{commentThreadId:_0x3e2827})=>{const _0x425b16=_0x45a66a,_0x47fee4=_0x526395[_0x425b16(0xfb)](_0x3e2827);_0x47fee4&&_0x47fee4[_0x425b16(0x10f)]({'isFromAdapter':!0x0});}),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0x120),(_0x51a42c,{commentThreadId:_0x45ed00})=>{const _0x502447=_0x45a66a,_0x17823c=_0x526395[_0x502447(0xfb)](_0x45ed00);_0x17823c&&_0x17823c[_0x502447(0xf4)]({'isFromAdapter':!0x0});}),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0xcc),(_0x3b672d,_0x4bfeab)=>{const _0x35d0f8=_0x45a66a,_0x7db987=_0x4bfeab[_0x35d0f8(0xe8)],_0x2db973=_0x526395[_0x35d0f8(0xfb)](_0x7db987);_0x2db973&&_0x2db973[_0x35d0f8(0x12a)]({...p(_0x4bfeab),'isFromAdapter':!0x0});}),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0x12c),(_0x4f6929,{commentThreadId:_0x4eb60d,commentId:_0x4d2e50,content:_0x762585,attributes:_0x2af415})=>{const _0x4c2b99=_0x45a66a,_0x24ad68=_0x526395[_0x4c2b99(0xfb)](_0x4eb60d);if(_0x24ad68){const _0x34019b=_0x24ad68[_0x4c2b99(0x12e)](_0x4d2e50);_0x34019b&&_0x34019b[_0x4c2b99(0x103)]({'content':_0x762585,'attributes':_0x2af415,'isFromAdapter':!0x0});}}),this[_0x45a66a(0xd3)](_0x2d2b49,_0x45a66a(0xd8),(_0x23e272,{commentThreadId:_0x438655,commentId:_0x460b4a})=>{const _0x25aa59=_0x45a66a,_0x2a0225=_0x526395[_0x25aa59(0xfb)](_0x438655);if(_0x2a0225){const _0x5ba7a0=_0x2a0225[_0x25aa59(0x12e)](_0x460b4a);_0x5ba7a0&&_0x5ba7a0[_0x25aa59(0xf4)]({'isFromAdapter':!0x0});}}),await this[_0x45a66a(0x106)](_0x7d115f);}[_0x1e8931(0xdd)](){const _0x23ccde=_0x1e8931;if(this[_0x23ccde(0x105)]instanceof _0x4df15e){const _0x1f1499=this[_0x23ccde(0x105)][_0x23ccde(0x10d)][_0x23ccde(0xe0)](_0x23ccde(0xdc));this[_0x23ccde(0xf8)](_0x1f1499);}}[_0x1e8931(0xf8)](_0x4d2461){const _0x29ffbe=_0x1e8931;if(!this[_0x29ffbe(0xfe)][_0x29ffbe(0x11e)](_0x4d2461))throw new _0x3e7159(_0x29ffbe(0x113),null,{'channelId':_0x4d2461});this[_0x29ffbe(0x11f)](_0x4d2461)[_0x29ffbe(0xfa)](),this[_0x29ffbe(0xfe)][_0x29ffbe(0x122)](_0x4d2461);}async[_0x1e8931(0xd4)](){const _0x59ed44=_0x1e8931;for(const _0x22bd5c of this[_0x59ed44(0xfe)][_0x59ed44(0xcd)]())await this[_0x59ed44(0x106)](_0x22bd5c);if(this[_0x59ed44(0x105)]instanceof _0x4df15e){const _0x3b217e=this[_0x59ed44(0x105)][_0x59ed44(0x10d)][_0x59ed44(0xe0)](_0x59ed44(0xdc)),_0x4d33af=this[_0x59ed44(0x105)][_0x59ed44(0x109)][_0x59ed44(0xe0)](_0x4c66fe);_0x4d33af[_0x59ed44(0x119)](_0x3b217e);const _0x575689=await this[_0x59ed44(0xfe)][_0x59ed44(0xe0)](_0x3b217e)[_0x59ed44(0xe6)]();_0x4d33af[_0x59ed44(0x114)](_0x3b217e,_0x575689);}}async[_0x1e8931(0x106)](_0x1dbdb0){const _0x536dc8=_0x1e8931,{connection:_0x1f4f5d}=this[_0x536dc8(0x105)][_0x536dc8(0x109)][_0x536dc8(0xe0)](_0x33fd42),_0x5c05ca=this[_0x536dc8(0x105)][_0x536dc8(0x109)][_0x536dc8(0xe0)](_0x536dc8(0xd2)),_0xcbe9e7=this[_0x536dc8(0xfe)][_0x536dc8(0xe0)](_0x1dbdb0),_0x32d35f=await _0xcbe9e7[_0x536dc8(0x11b)](_0x1f4f5d);await this[_0x536dc8(0xfd)](_0x32d35f);const _0x3281d3=new Set(Array[_0x536dc8(0x12b)](_0x5c05ca[_0x536dc8(0xf0)]({'channelId':_0x1dbdb0}),_0x15b366=>_0x15b366['id']));for(const _0x510d56 of _0x32d35f)_0x510d56[_0x536dc8(0xe1)]||_0x3281d3[_0x536dc8(0x122)](_0x510d56[_0x536dc8(0xe8)]);for(const _0x11c840 of _0x3281d3)_0x5c05ca[_0x536dc8(0xfb)](_0x11c840)[_0x536dc8(0xf4)]({'isFromAdapter':!0x0});for(const _0x3c36db of _0x32d35f){let _0x36810f=_0x5c05ca[_0x536dc8(0xfb)](_0x3c36db[_0x536dc8(0xe8)]);const {commentThreadId:_0x4259c7,context:_0xe81a76,attributes:_0x291aac,resolvedBy:_0x45ed77,resolvedAt:_0x2579ab,unlinkedAt:_0x3fa31c,deletedAt:_0x5a7f66}=_0x3c36db;if(_0x5a7f66)continue;_0x36810f||(_0x36810f=_0x5c05ca[_0x536dc8(0x111)]({'channelId':_0x1dbdb0,'threadId':_0x4259c7,'context':_0xe81a76,'attributes':_0x291aac||{},'resolvedBy':_0x45ed77,'resolvedAt':_0x2579ab,'unlinkedAt':_0x3fa31c,'isFromAdapter':!0x0}));const _0x44141d=new Set(Array[_0x536dc8(0x12b)](_0x36810f[_0x536dc8(0x112)],_0x19c476=>_0x19c476['id']));for(const _0x15cb19 of _0x3c36db[_0x536dc8(0x112)])_0x44141d[_0x536dc8(0x122)](_0x15cb19[_0x536dc8(0xda)]);for(const _0x4ce021 of _0x44141d)_0x36810f[_0x536dc8(0x12e)](_0x4ce021)[_0x536dc8(0xf4)]({'isFromAdapter':!0x0});for(const _0x4496e9 of _0x3c36db[_0x536dc8(0x112)]){const _0x421100=_0x36810f[_0x536dc8(0x12e)](_0x4496e9[_0x536dc8(0xda)]);_0x421100?_0x421100[_0x536dc8(0x12f)]!==_0x4496e9[_0x536dc8(0x12f)]&&_0x421100[_0x536dc8(0x103)]({'content':_0x4496e9[_0x536dc8(0x12f)],'isFromAdapter':!0x0}):_0x36810f[_0x536dc8(0x12a)](Object[_0x536dc8(0x104)](p(_0x4496e9),{'isFromAdapter':!0x0}));}}}[_0x1e8931(0x11f)](_0x2e9048){const _0xda9547=_0x1e8931;if(!this[_0xda9547(0xfe)][_0xda9547(0x11e)](_0x2e9048))throw new _0x3e7159(_0xda9547(0x10b),null,{'channelId':_0x2e9048});return this[_0xda9547(0xfe)][_0xda9547(0xe0)](_0x2e9048);}async[_0x1e8931(0xfd)](_0x826241){const _0x51dea7=_0x1e8931,_0x798aef=this[_0x51dea7(0x105)][_0x51dea7(0x109)][_0x51dea7(0xe0)](_0x2e3346),{connection:_0x409c87}=this[_0x51dea7(0x105)][_0x51dea7(0x109)][_0x51dea7(0xe0)](_0x33fd42),_0x27c7a4=new Set();for(const {resolvedBy:_0x39ff72,comments:_0x4bc4b5}of _0x826241){_0x39ff72&&!_0x798aef[_0x51dea7(0xd7)](_0x39ff72)&&_0x27c7a4[_0x51dea7(0xd5)](_0x39ff72);for(const {userId:_0x161717}of _0x4bc4b5)_0x798aef[_0x51dea7(0xd7)](_0x161717)||_0x27c7a4[_0x51dea7(0xd5)](_0x161717);}if(0x0===_0x27c7a4[_0x51dea7(0x115)])return;const _0x581d1a=await _0x4f2910[_0x51dea7(0x12d)](_0x409c87,Array[_0x51dea7(0x12b)](_0x27c7a4));for(const _0x1e0734 of _0x581d1a)_0x798aef[_0x51dea7(0xd7)](_0x1e0734['id'])||_0x798aef[_0x51dea7(0xf6)](_0x1e0734);}}async function f(_0x38154e){const _0x21fbf8=_0x1e8931;if(_0x21fbf8(0x123)!==_0x38154e[_0x21fbf8(0x128)])throw _0x38154e;}function A(_0x24e0af){const _0x247684=_0x1e8931;if((_0x468803=_0x24e0af)[_0x247684(0xcf)][_0x247684(0x129)](_0x247684(0x121))||_0x468803[_0x247684(0xcf)][_0x247684(0x129)](_0x247684(0x11c))||_0x468803[_0x247684(0xcf)][_0x247684(0x129)](_0x247684(0xf9)))return new Promise(()=>{});var _0x468803;throw _0x24e0af;}function p(_0x272676){const _0x1a3e6f=_0x1e8931;return{'threadId':_0x272676[_0x1a3e6f(0xe8)],'commentId':_0x272676[_0x1a3e6f(0xda)],'content':_0x272676[_0x1a3e6f(0x12f)],'createdAt':_0x272676[_0x1a3e6f(0xdf)],'authorId':_0x272676[_0x1a3e6f(0x127)],'attributes':_0x272676[_0x1a3e6f(0xeb)]||{}};}
23
+ const _0x1e85dd=_0x3a79;(function(_0x4d6181,_0xba58c4){const _0x22742a=_0x3a79,_0x1bffbd=_0x4d6181();while(!![]){try{const _0xedb94a=-parseInt(_0x22742a(0x14b))/0x1+parseInt(_0x22742a(0x11f))/0x2*(parseInt(_0x22742a(0x140))/0x3)+parseInt(_0x22742a(0x166))/0x4+-parseInt(_0x22742a(0x131))/0x5+-parseInt(_0x22742a(0x15b))/0x6*(parseInt(_0x22742a(0x145))/0x7)+-parseInt(_0x22742a(0x143))/0x8+parseInt(_0x22742a(0x129))/0x9;if(_0xedb94a===_0xba58c4)break;else _0x1bffbd['push'](_0x1bffbd['shift']());}catch(_0xac53f6){_0x1bffbd['push'](_0x1bffbd['shift']());}}}(_0x34fb,0xb0a77));import{Context as _0x2e2dee,ContextPlugin as _0x100d5b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b19a0}from'ckeditor5/src/utils.js';import{Users as _0x3c62d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x553710,User as _0x456c0d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5145dc}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3a79(_0x115ba4,_0x28711e){const _0x34fb65=_0x34fb();return _0x3a79=function(_0x3a794b,_0x2fd631){_0x3a794b=_0x3a794b-0x11a;let _0x223c63=_0x34fb65[_0x3a794b];return _0x223c63;},_0x3a79(_0x115ba4,_0x28711e);}import{Sessions as _0x581d11}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x100d5b{static [_0x1e85dd(0x132)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x553710)());[_0x1e85dd(0x155)];static get[_0x1e85dd(0x14d)](){const _0x4520d6=_0x1e85dd;return[_0x5145dc,_0x4520d6(0x13c),_0x581d11,_0x3c62d8];}static get[_0x1e85dd(0x157)](){const _0x465f5e=_0x1e85dd;return _0x465f5e(0x12a);}static get[_0x1e85dd(0x169)](){return!0x0;}static get[_0x1e85dd(0x158)](){return!0x0;}constructor(_0x2622cb){const _0x29dfbe=_0x1e85dd;super(_0x2622cb),this[_0x29dfbe(0x155)]=new Map();}async[_0x1e85dd(0x176)](){const _0x1fe44a=_0x1e85dd,_0x136207=this[_0x1fe44a(0x175)],_0xfe84b=_0x136207[_0x1fe44a(0x150)][_0x1fe44a(0x13f)](_0x1fe44a(0x13c));if(_0x136207[_0x1fe44a(0x150)][_0x1fe44a(0x13f)](_0x5145dc)[_0x1fe44a(0x17d)](this),_0xfe84b[_0x1fe44a(0x123)]={'addCommentThread':async({channelId:_0x30e548,threadId:_0x3161eb,comments:_0x423f13,resolvedAt:_0x4a7375,resolvedBy:_0x434edc,context:_0x56db53,attributes:_0x5d4c64})=>{const _0x282ec8=_0x1fe44a,_0x1fedb2=await this[_0x282ec8(0x11b)](_0x30e548)[_0x282ec8(0x12f)]({'commentThreadId':_0x3161eb,'comments':_0x423f13[_0x282ec8(0x154)](_0x5b4e73=>function(_0x257656,_0x4cf46a,_0x46d727){const _0x4b4d6d=_0x282ec8;return{'commentThreadId':_0x46d727,'commentId':_0x257656[_0x4b4d6d(0x164)],'userId':_0x257656[_0x4b4d6d(0x121)],'content':_0x257656[_0x4b4d6d(0x122)],'documentId':_0x4cf46a,'createdAt':_0x257656[_0x4b4d6d(0x136)],'attributes':_0x257656[_0x4b4d6d(0x11a)]||{}};}(_0x5b4e73,_0x30e548,_0x3161eb)),'resolvedAt':_0x4a7375,'resolvedBy':_0x434edc,'context':_0x56db53,'attributes':_0x5d4c64})[_0x282ec8(0x11e)](tt);return{'threadId':_0x1fedb2[_0x282ec8(0x15a)],'comments':_0x1fedb2[_0x282ec8(0x151)]};},'getCommentThread':async({channelId:_0x464eb8,threadId:_0x47bcdf})=>{const _0x12b9cf=_0x1fe44a,_0x23e50c=await this[_0x12b9cf(0x11b)](_0x464eb8)[_0x12b9cf(0x172)](_0x47bcdf)[_0x12b9cf(0x11e)](Z)[_0x12b9cf(0x11e)](tt);return _0x23e50c?_0x23e50c[_0x12b9cf(0x139)]?null:(await this[_0x12b9cf(0x15f)]([_0x23e50c]),{'threadId':_0x23e50c[_0x12b9cf(0x15a)],'comments':_0x23e50c[_0x12b9cf(0x151)][_0x12b9cf(0x154)](et),'context':_0x23e50c[_0x12b9cf(0x175)],'resolvedAt':_0x23e50c[_0x12b9cf(0x171)],'resolvedBy':_0x23e50c[_0x12b9cf(0x17b)],'attributes':_0x23e50c[_0x12b9cf(0x11a)]||{}}):null;},'updateCommentThread':async({channelId:_0x432aea,threadId:_0x5bf73f,context:_0x4083a4,unlinkedAt:_0x1f03f2,attributes:_0x56e40c})=>this[_0x1fe44a(0x11b)](_0x432aea)[_0x1fe44a(0x126)]({'commentThreadId':_0x5bf73f,'context':_0x4083a4,'attributes':_0x56e40c,'unlinkedAt':_0x1f03f2})[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'resolveCommentThread':async({channelId:_0x55f5ec,threadId:_0x4a6f40})=>{const _0x4774ba=_0x1fe44a,_0x252144=await this[_0x4774ba(0x11b)](_0x55f5ec)[_0x4774ba(0x134)](_0x4a6f40)[_0x4774ba(0x11e)](Z)[_0x4774ba(0x11e)](tt);return{'threadId':_0x252144[_0x4774ba(0x15a)],'resolvedAt':_0x252144[_0x4774ba(0x171)],'resolvedBy':_0x252144[_0x4774ba(0x17b)]};},'reopenCommentThread':async({channelId:_0x4cb944,threadId:_0x2d1852})=>this[_0x1fe44a(0x11b)](_0x4cb944)[_0x1fe44a(0x15d)](_0x2d1852)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'removeCommentThread':({channelId:_0x32ecd7,threadId:_0x4082fd})=>this[_0x1fe44a(0x11b)](_0x32ecd7)[_0x1fe44a(0x14f)](_0x4082fd)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'addComment':({channelId:_0x422559,threadId:_0x1e5095,commentId:_0x42e956,content:_0x1b2b4a,attributes:_0x2a6d5a})=>this[_0x1fe44a(0x11b)](_0x422559)[_0x1fe44a(0x163)](_0x1e5095,_0x42e956,_0x1b2b4a,_0x2a6d5a)[_0x1fe44a(0x11e)](tt),'updateComment':({channelId:_0x187599,threadId:_0x26ac9b,commentId:_0x36cbe4,content:_0x429cfc,attributes:_0x5cf6b3})=>this[_0x1fe44a(0x11b)](_0x187599)[_0x1fe44a(0x13e)](_0x26ac9b,_0x36cbe4,_0x429cfc,_0x5cf6b3)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'removeComment':({channelId:_0x2b88af,threadId:_0x1451fb,commentId:_0x47edde})=>this[_0x1fe44a(0x11b)](_0x2b88af)[_0x1fe44a(0x177)](_0x1451fb,_0x47edde)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt)},_0x136207 instanceof _0x2e2dee){const _0x53cc11=_0x136207[_0x1fe44a(0x17c)][_0x1fe44a(0x13f)](_0x1fe44a(0x120)),_0x16386d=_0x136207[_0x1fe44a(0x150)][_0x1fe44a(0x13f)](_0x581d11);await this[_0x1fe44a(0x174)](_0x53cc11);const _0x4287a7=await this[_0x1fe44a(0x155)][_0x1fe44a(0x13f)](_0x53cc11)[_0x1fe44a(0x17a)]();this[_0x1fe44a(0x156)](_0x16386d,_0x1fe44a(0x162)+_0x53cc11,(_0x437da0,{session:_0x5e57dc})=>{const _0x238858=_0x1fe44a;_0x5e57dc['id']===_0x16386d[_0x238858(0x16e)]&&(_0x437da0[_0x238858(0x147)](),this[_0x238858(0x175)][_0x238858(0x150)][_0x238858(0x13f)](_0x238858(0x127))[_0x238858(0x142)](_0x5e57dc[_0x238858(0x12d)],_0x53cc11));}),_0x16386d[_0x1fe44a(0x16d)](_0x53cc11,_0x4287a7);}}async[_0x1e85dd(0x174)](_0x1df836){const _0x304ab2=_0x1e85dd;if(this[_0x304ab2(0x155)][_0x304ab2(0x15c)](_0x1df836))throw new _0x3b19a0(_0x304ab2(0x149),null,{'channelId':_0x1df836});const _0x5410ba=this[_0x304ab2(0x175)][_0x304ab2(0x150)][_0x304ab2(0x13f)](_0x304ab2(0x13c)),_0xd2cc7=new CloudServicesCommentsAdapter[(_0x304ab2(0x132))](_0x1df836);this[_0x304ab2(0x155)][_0x304ab2(0x153)](_0x1df836,_0xd2cc7),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x13b),(_0x2c19b7,_0x518a15)=>{const _0x283a66=_0x304ab2,{commentThreadId:_0x22f265,documentId:_0x4db9de,context:_0x448464,attributes:_0x5da7e3,resolvedAt:_0x369da3,resolvedBy:_0x1bfe68,comments:_0x20752b}=_0x518a15;_0x5410ba[_0x283a66(0x172)](_0x22f265)||_0x5410ba[_0x283a66(0x12f)]({'threadId':_0x22f265,'channelId':_0x4db9de,'comments':_0x20752b?_0x20752b[_0x283a66(0x154)](et):[],'context':_0x448464,'attributes':_0x5da7e3,'resolvedAt':_0x369da3,'resolvedBy':_0x1bfe68,'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x168),(_0x4eeeed,{commentThreadId:_0xb83bcc,documentId:_0x33df01,context:_0x2fd5b3,unlinkedAt:_0x455a12,attributes:_0x408a0f})=>{const _0x2823b6=_0x304ab2;_0x5410ba[_0x2823b6(0x172)](_0xb83bcc)&&_0x5410ba[_0x2823b6(0x126)]({'threadId':_0xb83bcc,'channelId':_0x33df01,'context':_0x2fd5b3,'unlinkedAt':_0x455a12,'attributes':_0x408a0f,'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x170),(_0x43027e,{commentThreadId:_0x1c2ea8,resolvedBy:_0x518352,resolvedAt:_0x23931d})=>{const _0x389842=_0x304ab2,_0x54dff1=_0x5410ba[_0x389842(0x172)](_0x1c2ea8);_0x54dff1&&_0x54dff1[_0x389842(0x152)]({'resolvedBy':_0x518352,'resolvedAt':_0x23931d,'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x178),(_0x2de898,{commentThreadId:_0x73468})=>{const _0x1b59dd=_0x304ab2,_0x495e89=_0x5410ba[_0x1b59dd(0x172)](_0x73468);_0x495e89&&_0x495e89[_0x1b59dd(0x15e)]({'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x16c),(_0xb43bea,{commentThreadId:_0x50ac30})=>{const _0x1fe000=_0x304ab2,_0x43ba18=_0x5410ba[_0x1fe000(0x172)](_0x50ac30);_0x43ba18&&_0x43ba18[_0x1fe000(0x173)]({'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x17e),(_0x3846fb,_0x2b1c89)=>{const _0x190ddc=_0x304ab2,_0x564b46=_0x2b1c89[_0x190ddc(0x15a)],_0x58d149=_0x5410ba[_0x190ddc(0x172)](_0x564b46);_0x58d149&&_0x58d149[_0x190ddc(0x163)]({...et(_0x2b1c89),'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x161),(_0x291085,{commentThreadId:_0x324608,commentId:_0x3e3825,content:_0x3f0412,attributes:_0x203ff2})=>{const _0x239ed3=_0x304ab2,_0x40263e=_0x5410ba[_0x239ed3(0x172)](_0x324608);if(_0x40263e){const _0x13f474=_0x40263e[_0x239ed3(0x135)](_0x3e3825);_0x13f474&&_0x13f474[_0x239ed3(0x16b)]({'content':_0x3f0412,'attributes':_0x203ff2,'isFromAdapter':!0x0});}}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x12b),(_0x469984,{commentThreadId:_0x566efb,commentId:_0x5b7e66})=>{const _0xead5c=_0x304ab2,_0x101101=_0x5410ba[_0xead5c(0x172)](_0x566efb);if(_0x101101){const _0x2fa0bb=_0x101101[_0xead5c(0x135)](_0x5b7e66);_0x2fa0bb&&_0x2fa0bb[_0xead5c(0x173)]({'isFromAdapter':!0x0});}}),await this[_0x304ab2(0x160)](_0x1df836);}[_0x1e85dd(0x144)](){const _0x1dad5f=_0x1e85dd;if(this[_0x1dad5f(0x175)]instanceof _0x2e2dee){const _0x18fc4b=this[_0x1dad5f(0x175)][_0x1dad5f(0x17c)][_0x1dad5f(0x13f)](_0x1dad5f(0x120));this[_0x1dad5f(0x137)](_0x18fc4b);}}[_0x1e85dd(0x137)](_0x4df582){const _0x1c905e=_0x1e85dd;if(!this[_0x1c905e(0x155)][_0x1c905e(0x15c)](_0x4df582))throw new _0x3b19a0(_0x1c905e(0x16f),null,{'channelId':_0x4df582});this[_0x1c905e(0x11b)](_0x4df582)[_0x1c905e(0x16a)](),this[_0x1c905e(0x155)][_0x1c905e(0x12e)](_0x4df582);}async[_0x1e85dd(0x14e)](){const _0x2c101d=_0x1e85dd;for(const _0x1bacea of this[_0x2c101d(0x155)][_0x2c101d(0x146)]())await this[_0x2c101d(0x160)](_0x1bacea);if(this[_0x2c101d(0x175)]instanceof _0x2e2dee){const _0x1d6be7=this[_0x2c101d(0x175)][_0x2c101d(0x17c)][_0x2c101d(0x13f)](_0x2c101d(0x120)),_0x3dfe95=this[_0x2c101d(0x175)][_0x2c101d(0x150)][_0x2c101d(0x13f)](_0x581d11);_0x3dfe95[_0x2c101d(0x11c)](_0x1d6be7);const _0x14cc4a=await this[_0x2c101d(0x155)][_0x2c101d(0x13f)](_0x1d6be7)[_0x2c101d(0x17a)]();_0x3dfe95[_0x2c101d(0x16d)](_0x1d6be7,_0x14cc4a);}}async[_0x1e85dd(0x160)](_0x5b8a4e){const _0x19d0a3=_0x1e85dd,{connection:_0x2372f7}=this[_0x19d0a3(0x175)][_0x19d0a3(0x150)][_0x19d0a3(0x13f)](_0x5145dc),_0xebf527=this[_0x19d0a3(0x175)][_0x19d0a3(0x150)][_0x19d0a3(0x13f)](_0x19d0a3(0x13c)),_0x406685=this[_0x19d0a3(0x155)][_0x19d0a3(0x13f)](_0x5b8a4e),_0x3552f4=await _0x406685[_0x19d0a3(0x124)](_0x2372f7);await this[_0x19d0a3(0x15f)](_0x3552f4);const _0x29ae27=new Set(Array[_0x19d0a3(0x148)](_0xebf527[_0x19d0a3(0x179)]({'channelId':_0x5b8a4e}),_0x40cfc6=>_0x40cfc6['id']));for(const _0x9a7cb2 of _0x3552f4)_0x9a7cb2[_0x19d0a3(0x139)]||_0x29ae27[_0x19d0a3(0x12e)](_0x9a7cb2[_0x19d0a3(0x15a)]);for(const _0x361ac0 of _0x29ae27)_0xebf527[_0x19d0a3(0x172)](_0x361ac0)[_0x19d0a3(0x173)]({'isFromAdapter':!0x0});for(const _0x1cbb18 of _0x3552f4){let _0x181d96=_0xebf527[_0x19d0a3(0x172)](_0x1cbb18[_0x19d0a3(0x15a)]);const {commentThreadId:_0x3271b5,context:_0x5cac9f,attributes:_0x2c2593,resolvedBy:_0x3e30de,resolvedAt:_0x2ad1aa,unlinkedAt:_0x187311,deletedAt:_0x20a982}=_0x1cbb18;if(_0x20a982)continue;_0x181d96||(_0x181d96=_0xebf527[_0x19d0a3(0x12f)]({'channelId':_0x5b8a4e,'threadId':_0x3271b5,'context':_0x5cac9f,'attributes':_0x2c2593||{},'resolvedBy':_0x3e30de,'resolvedAt':_0x2ad1aa,'unlinkedAt':_0x187311,'isFromAdapter':!0x0}));const _0x20cd40=new Set(Array[_0x19d0a3(0x148)](_0x181d96[_0x19d0a3(0x151)],_0x5980cd=>_0x5980cd['id']));for(const _0x5b4027 of _0x1cbb18[_0x19d0a3(0x151)])_0x20cd40[_0x19d0a3(0x12e)](_0x5b4027[_0x19d0a3(0x164)]);for(const _0x5440ea of _0x20cd40)_0x181d96[_0x19d0a3(0x135)](_0x5440ea)[_0x19d0a3(0x173)]({'isFromAdapter':!0x0});for(const _0x5c3cf0 of _0x1cbb18[_0x19d0a3(0x151)]){const _0x3cfd57=_0x181d96[_0x19d0a3(0x135)](_0x5c3cf0[_0x19d0a3(0x164)]);_0x3cfd57?_0x3cfd57[_0x19d0a3(0x122)]!==_0x5c3cf0[_0x19d0a3(0x122)]&&_0x3cfd57[_0x19d0a3(0x16b)]({'content':_0x5c3cf0[_0x19d0a3(0x122)],'isFromAdapter':!0x0}):_0x181d96[_0x19d0a3(0x163)](Object[_0x19d0a3(0x13a)](et(_0x5c3cf0),{'isFromAdapter':!0x0}));}}}[_0x1e85dd(0x11b)](_0xa78c22){const _0x554440=_0x1e85dd;if(!this[_0x554440(0x155)][_0x554440(0x15c)](_0xa78c22))throw new _0x3b19a0(_0x554440(0x11d),null,{'channelId':_0xa78c22});return this[_0x554440(0x155)][_0x554440(0x13f)](_0xa78c22);}async[_0x1e85dd(0x15f)](_0x28f106){const _0xebd082=_0x1e85dd,_0x5db8c8=this[_0xebd082(0x175)][_0xebd082(0x150)][_0xebd082(0x13f)](_0x3c62d8),{connection:_0x2ee950}=this[_0xebd082(0x175)][_0xebd082(0x150)][_0xebd082(0x13f)](_0x5145dc),_0x4a05aa=new Set();for(const {resolvedBy:_0x51029d,comments:_0x142097}of _0x28f106){_0x51029d&&!_0x5db8c8[_0xebd082(0x130)](_0x51029d)&&_0x4a05aa[_0xebd082(0x12c)](_0x51029d);for(const {userId:_0x378d3d}of _0x142097)_0x5db8c8[_0xebd082(0x130)](_0x378d3d)||_0x4a05aa[_0xebd082(0x12c)](_0x378d3d);}if(0x0===_0x4a05aa[_0xebd082(0x138)])return;const _0x2f0c17=await _0x456c0d[_0xebd082(0x14a)](_0x2ee950,Array[_0xebd082(0x148)](_0x4a05aa));for(const _0x2cbf95 of _0x2f0c17)_0x5db8c8[_0xebd082(0x130)](_0x2cbf95['id'])||_0x5db8c8[_0xebd082(0x13d)](_0x2cbf95);}}async function Z(_0x3df6fd){const _0x3134d7=_0x1e85dd;if(_0x3134d7(0x165)!==_0x3df6fd[_0x3134d7(0x141)])throw _0x3df6fd;}function tt(_0x24f813){const _0x39fde0=_0x1e85dd;if((_0x3daeb6=_0x24f813)[_0x39fde0(0x128)][_0x39fde0(0x133)](_0x39fde0(0x159))||_0x3daeb6[_0x39fde0(0x128)][_0x39fde0(0x133)](_0x39fde0(0x167))||_0x3daeb6[_0x39fde0(0x128)][_0x39fde0(0x133)](_0x39fde0(0x125)))return new Promise(()=>{});var _0x3daeb6;throw _0x24f813;}function et(_0x265316){const _0x105b52=_0x1e85dd;return{'threadId':_0x265316[_0x105b52(0x15a)],'commentId':_0x265316[_0x105b52(0x164)],'content':_0x265316[_0x105b52(0x122)],'createdAt':_0x265316[_0x105b52(0x136)],'authorId':_0x265316[_0x105b52(0x14c)],'attributes':_0x265316[_0x105b52(0x11a)]||{}};}function _0x34fb(){const _0xdee2f1=['getConnectedSessions','resolvedBy','config','addToReconnectionStack','commentAdded','attributes','_getService','unregister','cloudservicescommentsadapter-service-not-exist','catch','413454huMAbw','collaboration.channelId','authorId','content','adapter','connect','cloud-services-internal-error:\x20Request\x20timeout.','updateCommentThread','Permissions','message','20985507rKHDwf','CloudServicesCommentsAdapter','commentRemoved','add','permissions','delete','addCommentThread','getUser','6315815ulQrxQ','CommentsService','startsWith','resolveCommentThread','getComment','createdAt','_terminateService','size','deletedAt','assign','commentThreadAdded','CommentsRepository','addUser','updateComment','get','15kearbC','code','setPermissions','8689272syjUQz','destroy','7bnESQe','keys','off','from','cloudservicescommentsadapter-connect-already-connected','getMany','258445uNGkyF','userId','requires','reconnect','removeCommentThread','plugins','comments','resolve','set','map','_services','listenTo','pluginName','isPremiumPlugin','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadId','2367888acawVE','has','reopenCommentThread','reopen','_fetchMissingUsersForThreads','_connectService','commentUpdated','sessionAdd:','addComment','commentId','404','1442528RqbkNk','cloud-services-internal-error:\x20Not\x20connected.','commentThreadUpdated','isOfficialPlugin','disconnect','update','commentThreadRemoved','register','mySessionId','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','resolvedAt','getCommentThread','remove','_setUpService','context','init','removeComment','commentThreadReopened','getCommentThreads'];_0x34fb=function(){return _0xdee2f1;};return _0x34fb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa0e917=_0x439f;(function(_0x62713c,_0xe2d5b6){const _0xe6b36d=_0x439f,_0x22d08a=_0x62713c();while(!![]){try{const _0x22d763=parseInt(_0xe6b36d(0x1c0))/0x1*(parseInt(_0xe6b36d(0x1c5))/0x2)+parseInt(_0xe6b36d(0x1c3))/0x3*(-parseInt(_0xe6b36d(0x1be))/0x4)+parseInt(_0xe6b36d(0x1c4))/0x5*(parseInt(_0xe6b36d(0x1c9))/0x6)+-parseInt(_0xe6b36d(0x1ad))/0x7*(-parseInt(_0xe6b36d(0x1ba))/0x8)+parseInt(_0xe6b36d(0x1b6))/0x9+-parseInt(_0xe6b36d(0x1bf))/0xa+parseInt(_0xe6b36d(0x1ae))/0xb*(-parseInt(_0xe6b36d(0x1c8))/0xc);if(_0x22d763===_0xe2d5b6)break;else _0x22d08a['push'](_0x22d08a['shift']());}catch(_0x179d96){_0x22d08a['push'](_0x22d08a['shift']());}}}(_0x37d9,0xbc081));function _0x439f(_0x1a86aa,_0x488d8a){const _0x37d9ab=_0x37d9();return _0x439f=function(_0x439ffe,_0x3d00b0){_0x439ffe=_0x439ffe-0x1ab;let _0x2c6b8c=_0x37d9ab[_0x439ffe];return _0x2c6b8c;},_0x439f(_0x1a86aa,_0x488d8a);}import{Plugin as _0x843c6d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4a2f77}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2ff8ba}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x11ce28}from'./realtimecollaborativeediting/websocketgateway.js';function _0x37d9(){const _0x53433f=['28JWEWKt','11QAzxuz','requires','data','connected','collaboration.channelId','change:state','destroy','isOfficialPlugin','11220750fuijcE','ready','switchReadOnly','config','278744PsTWIg','isThreadsLoadingPaused','CommentsRepository','listenTo','4XzsXKb','9973020qKnnfb','1352285wOZvWy','Comments','get','761031TPYDPR','70yznUzm','2MyWrVc','editor','once','16694868sEXhWT','288852tGXGEZ','isPremiumPlugin','CommentsEditing','pluginName','RealTimeCollaborativeComments','init','plugins','_setUpService','_terminateService'];_0x37d9=function(){return _0x53433f;};return _0x37d9();}export class RealTimeCollaborativeComments extends _0x843c6d{static get[_0xa0e917(0x1af)](){const _0x543f20=_0xa0e917;return[_0x543f20(0x1c1),_0x4a2f77,_0x2ff8ba,_0x11ce28];}static get[_0xa0e917(0x1cc)](){const _0x3c3026=_0xa0e917;return _0x3c3026(0x1cd);}static get[_0xa0e917(0x1b5)](){return!0x0;}static get[_0xa0e917(0x1ca)](){return!0x0;}[_0xa0e917(0x1ce)](){const _0x577896=_0xa0e917,_0x3fc613=this[_0x577896(0x1c6)][_0x577896(0x1cf)][_0x577896(0x1c2)](_0x11ce28),_0x33d458=this[_0x577896(0x1c6)][_0x577896(0x1cf)][_0x577896(0x1c2)](_0x577896(0x1cb)),_0x59b059=this[_0x577896(0x1c6)][_0x577896(0x1cf)][_0x577896(0x1c2)](_0x4a2f77);return this[_0x577896(0x1c6)][_0x577896(0x1b0)][_0x577896(0x1c7)](_0x577896(0x1b7),()=>{const _0x8e52e9=_0x577896;this[_0x8e52e9(0x1bd)](_0x3fc613,_0x8e52e9(0x1b3),(_0x11c2f6,_0x1a0ec3,_0x15a0ab)=>{const _0x28fd07=_0x8e52e9;_0x33d458[_0x28fd07(0x1bb)]=_0x28fd07(0x1b1)!==_0x15a0ab;});}),this[_0x577896(0x1bd)](_0x3fc613,_0x577896(0x1b3),(_0x16df76,_0x4cce51,_0x118557)=>{const _0x2dadb6=_0x577896;this[_0x2dadb6(0x1c6)][_0x2dadb6(0x1cf)][_0x2dadb6(0x1c2)](_0x2dadb6(0x1bc))[_0x2dadb6(0x1b8)](_0x2dadb6(0x1b1)!==_0x118557);}),_0x59b059[_0x577896(0x1ab)](this[_0x577896(0x1c6)][_0x577896(0x1b9)][_0x577896(0x1c2)](_0x577896(0x1b2)));}[_0xa0e917(0x1b4)](){const _0x1ca074=_0xa0e917;this[_0x1ca074(0x1c6)][_0x1ca074(0x1cf)][_0x1ca074(0x1c2)](_0x4a2f77)[_0x1ca074(0x1ac)](this[_0x1ca074(0x1c6)][_0x1ca074(0x1b9)][_0x1ca074(0x1c2)](_0x1ca074(0x1b2))),super[_0x1ca074(0x1b4)]();}}
23
+ const _0x13c20e=_0x294e;(function(_0x18540b,_0x466573){const _0x5d3eed=_0x294e,_0x41c889=_0x18540b();while(!![]){try{const _0x493645=parseInt(_0x5d3eed(0xcb))/0x1*(-parseInt(_0x5d3eed(0xc7))/0x2)+-parseInt(_0x5d3eed(0xd0))/0x3+-parseInt(_0x5d3eed(0xe7))/0x4+parseInt(_0x5d3eed(0xc8))/0x5+parseInt(_0x5d3eed(0xdc))/0x6+-parseInt(_0x5d3eed(0xce))/0x7+parseInt(_0x5d3eed(0xe3))/0x8;if(_0x493645===_0x466573)break;else _0x41c889['push'](_0x41c889['shift']());}catch(_0x5d726e){_0x41c889['push'](_0x41c889['shift']());}}}(_0x5a35,0xd0b43));import{Plugin as _0x40f8dc}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2e45f7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5a35(){const _0x4686fa=['3264086nmzRUd','config','1934760VNZcBm','CommentsRepository','pluginName','change:state','isOfficialPlugin','once','_setUpService','data','isThreadsLoadingPaused','ready','plugins','RealTimeCollaborativeComments','6178452mLvJIr','switchReadOnly','editor','get','_terminateService','destroy','CommentsEditing','21787448fHLeQg','Comments','isPremiumPlugin','connected','3254668ZwuePy','586nITMIB','20055ICGaXr','collaboration.channelId','listenTo','3336sCXUYm','requires','init'];_0x5a35=function(){return _0x4686fa;};return _0x5a35();}import{RealTimeCollaborativeEditing as _0x4c5691}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x564db8}from'./realtimecollaborativeediting/websocketgateway.js';function _0x294e(_0x3be673,_0x345e80){const _0x5a3530=_0x5a35();return _0x294e=function(_0x294e8e,_0x7b558c){_0x294e8e=_0x294e8e-0xc7;let _0x40e663=_0x5a3530[_0x294e8e];return _0x40e663;},_0x294e(_0x3be673,_0x345e80);}export class RealTimeCollaborativeComments extends _0x40f8dc{static get[_0x13c20e(0xcc)](){const _0x5cdfaa=_0x13c20e;return[_0x5cdfaa(0xe4),_0x2e45f7,_0x4c5691,_0x564db8];}static get[_0x13c20e(0xd2)](){const _0x2434a8=_0x13c20e;return _0x2434a8(0xdb);}static get[_0x13c20e(0xd4)](){return!0x0;}static get[_0x13c20e(0xe5)](){return!0x0;}[_0x13c20e(0xcd)](){const _0x3d96e3=_0x13c20e,_0x5b99a8=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x564db8),_0x26fd8c=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x3d96e3(0xe2)),_0x3b63bb=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x2e45f7);return this[_0x3d96e3(0xde)][_0x3d96e3(0xd7)][_0x3d96e3(0xd5)](_0x3d96e3(0xd9),()=>{const _0x37ffa3=_0x3d96e3;this[_0x37ffa3(0xca)](_0x5b99a8,_0x37ffa3(0xd3),(_0x1ca2bb,_0x3b608d,_0x307f75)=>{const _0xe0074f=_0x37ffa3;_0x26fd8c[_0xe0074f(0xd8)]=_0xe0074f(0xe6)!==_0x307f75;});}),this[_0x3d96e3(0xca)](_0x5b99a8,_0x3d96e3(0xd3),(_0x335acf,_0x27914c,_0x3650ea)=>{const _0x3f960d=_0x3d96e3;this[_0x3f960d(0xde)][_0x3f960d(0xda)][_0x3f960d(0xdf)](_0x3f960d(0xd1))[_0x3f960d(0xdd)](_0x3f960d(0xe6)!==_0x3650ea);}),_0x3b63bb[_0x3d96e3(0xd6)](this[_0x3d96e3(0xde)][_0x3d96e3(0xcf)][_0x3d96e3(0xdf)](_0x3d96e3(0xc9)));}[_0x13c20e(0xe1)](){const _0x763281=_0x13c20e;this[_0x763281(0xde)][_0x763281(0xda)][_0x763281(0xdf)](_0x2e45f7)[_0x763281(0xe0)](this[_0x763281(0xde)][_0x763281(0xcf)][_0x763281(0xdf)](_0x763281(0xc9))),super[_0x763281(0xe1)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11f97d=_0x3a19;(function(_0x14700c,_0xcccc85){const _0x449c02=_0x3a19,_0x12de3e=_0x14700c();while(!![]){try{const _0x219401=-parseInt(_0x449c02(0x1a1))/0x1+-parseInt(_0x449c02(0x1bc))/0x2*(-parseInt(_0x449c02(0x249))/0x3)+-parseInt(_0x449c02(0x1bb))/0x4+parseInt(_0x449c02(0x237))/0x5+parseInt(_0x449c02(0x1e3))/0x6*(parseInt(_0x449c02(0x1d6))/0x7)+-parseInt(_0x449c02(0x1b9))/0x8*(parseInt(_0x449c02(0x1c5))/0x9)+parseInt(_0x449c02(0x190))/0xa*(parseInt(_0x449c02(0x19c))/0xb);if(_0x219401===_0xcccc85)break;else _0x12de3e['push'](_0x12de3e['shift']());}catch(_0x6455c8){_0x12de3e['push'](_0x12de3e['shift']());}}}(_0x5cec,0x53d04));import{Plugin as _0x531786,PendingActions as _0x42928a}from'ckeditor5/src/core.js';import{CKEditorError as _0x5d0ba7,version as _0x285813,uid as _0x816b1d}from'ckeditor5/src/utils.js';import{Notification as _0x2b3d8b}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x2411ff,NoOperation as _0x4b9587,InsertOperation as _0xea525d,MarkerOperation as _0x3ae49a,RootAttributeOperation as _0x5d77fa,OperationFactory as _0x25d1a7,History as _0x11fc9e}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4e262c}from'./websocketgateway.js';import{Sessions as _0x43f188}from'./sessions.js';import{UserMarkers as _0x63f3eb}from'./usermarkers.js';function _0x5cec(){const _0x10b745=['_shouldSendSelectionUpdate','code','_updateServerHistory','_sendBufferedOperationsDelayId','_bufferRootLoad','showWarning','474nmIEfB','channelSessions','offset','getRoot','CollaborativeEditingService','_initSessionsHandling','config','collaboration','data','_crash','high','entries','pluginName','connected','map','connect','change:range','_initThrowingOnDataSet','insert','filter','createPositionFromPath','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getDocumentDetails','_clearPendingAction','start','connection','_pendingAction','toJSON','lastDocumentSession','CommentsOnly','decompress','sessionAdd:','_disconnectService','change:_isPendingUpdate','_shouldSendUpdate','stopListening','getUser','_baseBufferDelay','sessionId','wasUndone','then','_handleReceivedOperations','type','realtimecollaborationclient-init-document-already-initialized','_compressor','root','isEnabled','createRange','off','affectedSelectable','InsertOperation','suppressErrorInCollaboration','_addKnownRoot','_sendBufferedOperationsDelayed','initData','_handleExternalOperations','operationsReceived','_isLoaded','ready','newRange','_hasSelectionChanged','_connectAfterSessionHasBeenFlushed','init','affectsData','history','_offset','position','mySessionId','realtimecollaborationclient-init-service-internal-error','slice','_compressOperations','userId','createRoot','change:hasDomSelection','real-time-collaboration','getOperationAuthor','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setPermissions','170VrISKx','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.','_authorId','rtc-offline','sessionCreatedAt','serverHistory','realtimecollaborationclient-error','roots','disconnected','cloudDocumentVersion','getIdOfTheLastOperation','addOperation','570933lsCKEF','_hasSynchronizationProblem','_refreshUserSelectionMarkers','disableReadOnlyMode','plugins','286604bVrFIm','createdAt','enqueueChange','reset','baseVersion','_getOperationsFromInitData','rtc-destroyed','cloud-services-internal-error:\x20Request\x20timeout.','_service','document','_handleReconnectionError','version','unregister','compress','_getAffectedRoot','round','size','remove','permissions','_waitUntilSynced','rootsAttributes','applyOperation','realtimecollaborationclient','destroy','116856DktNgf','targetPosition','169068PIFthk','1024FYPfMq','lastOperationId','message','end','set','forEach','wereChangesApplied','stop','from','387ooIIcf','_isDisconnection','finally','change:_isEditingAllowed','_decompressOperations','listenTo','getMany','realtimecollaborationclient-init-connection-failed','move','_saveOperationInBuffer','isUndoneOperation','isOfficialPlugin','cs:removeUser','clone','startsWith','Permissions','isReadOnly','7VAPPPd','createUserMarkerOperations','_setUpDataInit','reconnect','Notification','view','define','_handleServerResponse','locale','_document','batch','createPositionAt','realtimecollaborationclient-init-session-connection-error','689970uudgGL','realtimecollaborationclient-handleserverresponse','_isEditingAllowed','catch','setIdForTheLastOperation','return','multi-root-editor-root-attributes-no-root','_handleReconnectionResponse','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.','_lastSyncedOperationId','disconnect','_isInit','addRoot','lastOperationAcceptedAt','isDocumentOperation','bind','keys','_sendBufferedOperations','collaboration-missing-channelid','_isConnected','_operationIdentifier','add','enableReadOnlyMode','attributes','loadRoot','_operationToId','markers','409','_bufferedOperations','marker','__className','editor','includes','_handleSendingSelectionMarkers','_ignoredOperations','Synchronization\x20issue','document:write','state','lastSyncVersion','directChange','string','addToReconnectionStack','fire','has','model','_fetchMissingUsers','_connectService','error','length','rootName','differ','RealTimeCollaborationClient','addRootAttribute','_loadRoot','reconnection:\x20flushed\x20session','_isPendingUpdate','$root','addUser','editing','metadata','register','parse','_setPendingAction','_disconnectionOperations','currentDocumentSession','_knownOperations','_applyOperationsSet','_lastServerVersion','_handleInitialConnectionData','sendOperations','fromJSON','realtimecollaborationclient-init-non-existent-root','getConnectedSessions','apply','removeFromReconnectionStack','cloudServices.bundleVersion','collaboration.channelId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','PENDING_ACTION_SENDING_DATA','_currentBufferDelay','get','selection','404','1110150euroDs','isPremiumPlugin','path','realtimecollaborationclient-init-service-incorrect-server-operation','_knownRootNames','requires','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','push','realtimecollaborationclient-sendbufferedoperations','cloud-services-internal-error:\x20Not\x20connected.','_isAttached','getOperations'];_0x5cec=function(){return _0x10b745;};return _0x5cec();}import{getTranslation as _0x24b655}from'../common-translations.js';import{Compressor as _0x24e177}from'@ckeditor/ckeditor5-operations-compressor';function _0x3a19(_0x5cd08c,_0x371640){const _0x5cecb9=_0x5cec();return _0x3a19=function(_0x3a1964,_0x2a0c7e){_0x3a1964=_0x3a1964-0x15a;let _0x4db591=_0x5cecb9[_0x3a1964];return _0x4db591;},_0x3a19(_0x5cd08c,_0x371640);}import{Users as _0x259e7b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x140836,CollaborativeEditingService as _0x55d4d6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let N=0x1;export class RealTimeCollaborationClient extends _0x531786{static [_0x11f97d(0x24d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x55d4d6)());[_0x11f97d(0x183)];[_0x11f97d(0x168)];[_0x11f97d(0x195)];[_0x11f97d(0x231)];[_0x11f97d(0x1a9)];[_0x11f97d(0x1df)];[_0x11f97d(0x16e)];[_0x11f97d(0x1ff)];[_0x11f97d(0x224)];[_0x11f97d(0x23b)];[_0x11f97d(0x15c)];[_0x11f97d(0x17e)];[_0x11f97d(0x246)];[_0x11f97d(0x167)];[_0x11f97d(0x233)];[_0x11f97d(0x1ec)];[_0x11f97d(0x222)];[_0x11f97d(0x1f7)];static get[_0x11f97d(0x23c)](){return[_0x4e262c,_0x43f188,_0x63f3eb,_0x42928a,_0x259e7b,_0x2b3d8b];}static get[_0x11f97d(0x255)](){const _0x3012bc=_0x11f97d;return _0x3012bc(0x216);}static get[_0x11f97d(0x1d0)](){return!0x0;}static get[_0x11f97d(0x238)](){return!0x0;}get[_0x11f97d(0x199)](){const _0x14892b=_0x11f97d;return this[_0x14892b(0x226)]+this[_0x14892b(0x183)];}get[_0x11f97d(0x226)](){const _0x30162b=_0x11f97d;return this[_0x30162b(0x195)][_0x30162b(0x1ac)]-this[_0x30162b(0x183)];}get[_0x11f97d(0x209)](){const _0xe0e6c=_0x11f97d,_0x30790d=this[_0xe0e6c(0x195)][_0xe0e6c(0x242)]();for(let _0x4ecb5e=_0x30790d[_0xe0e6c(0x213)]-0x1;_0x4ecb5e>=0x0;_0x4ecb5e--){const _0x9bbd25=_0x30790d[_0x4ecb5e];if(!this[_0xe0e6c(0x222)][_0xe0e6c(0x20e)](_0x9bbd25))return _0x9bbd25[_0xe0e6c(0x1a5)]+0x1-this[_0xe0e6c(0x183)];}return 0x0;}constructor(_0x3b629f){const _0x432367=_0x11f97d;if(super(_0x3b629f),this[_0x432367(0x183)]=0x0,this[_0x432367(0x168)]=null,this[_0x432367(0x195)]=new _0x11fc9e(),this[_0x432367(0x202)][_0x432367(0x24f)][_0x432367(0x1dc)](_0x432367(0x250),{}),this[_0x432367(0x231)]=this[_0x432367(0x202)][_0x432367(0x24f)][_0x432367(0x234)](_0x432367(0x22f)),!this[_0x432367(0x231)])throw new _0x5d0ba7(_0x432367(0x1f5),this);const _0x25c82a=_0x3b629f[_0x432367(0x24f)][_0x432367(0x234)](_0x432367(0x22e))||_0x285813;this[_0x432367(0x1a9)]=new RealTimeCollaborationClient[(_0x432367(0x24d))](_0x25c82a,this[_0x432367(0x231)]),this[_0x432367(0x1df)]=this[_0x432367(0x202)][_0x432367(0x20f)][_0x432367(0x1aa)],this[_0x432367(0x16e)]=new _0x24e177(),this[_0x432367(0x1ff)]=[],this[_0x432367(0x224)]=new WeakSet(),this[_0x432367(0x23b)]=new Set(),this[_0x432367(0x1c0)](_0x432367(0x21a),!0x1),this[_0x432367(0x1c0)](_0x432367(0x19d),!0x1),this[_0x432367(0x15c)]=null,this[_0x432367(0x17e)]=!0x1,this[_0x432367(0x246)]=null,this[_0x432367(0x167)]=0x12c,this[_0x432367(0x233)]=this[_0x432367(0x167)],this[_0x432367(0x1ec)]=null,this[_0x432367(0x222)]=new WeakSet(),this[_0x432367(0x1f7)]=new M(this[_0x432367(0x222)]);}[_0x11f97d(0x180)](){const _0xa866b5=_0x11f97d,_0xe4dad7=this[_0xa866b5(0x202)],_0x16095d=_0xe4dad7[_0xa866b5(0x1a0)][_0xa866b5(0x234)](_0x259e7b),_0x28b212=_0xe4dad7[_0xa866b5(0x1a0)][_0xa866b5(0x234)](_0x4e262c);this[_0xa866b5(0x1ca)](_0x16095d,_0xa866b5(0x18d),(_0x45d83b,_0x5223fc)=>{const _0x2863d5=_0xa866b5,_0x328a90=_0x5223fc[0x0];_0x328a90[_0x2863d5(0x192)]&&(_0x45d83b[_0x2863d5(0x1e8)]=_0x16095d[_0x2863d5(0x166)](_0x328a90[_0x2863d5(0x192)]),_0x45d83b[_0x2863d5(0x1c3)]()),null===_0x328a90[_0x2863d5(0x192)]&&(_0x45d83b[_0x2863d5(0x1e8)]=null,_0x45d83b[_0x2863d5(0x1c3)]());},{'priority':_0xa866b5(0x253)}),this[_0xa866b5(0x1ca)](_0xe4dad7[_0xa866b5(0x20f)][_0xa866b5(0x1aa)][_0xa866b5(0x235)],_0xa866b5(0x259),(_0x217435,_0xd63bfc)=>{const _0x4d1bb9=_0xa866b5;_0xd63bfc[_0x4d1bb9(0x20a)]&&this[_0x4d1bb9(0x19e)]();}),this[_0xa866b5(0x1ca)](_0xe4dad7[_0xa866b5(0x21d)][_0xa866b5(0x1db)],_0xa866b5(0x18b),()=>{const _0x7d9429=_0xa866b5;this[_0x7d9429(0x19e)]();}),this[_0xa866b5(0x25a)](),_0xe4dad7[_0xa866b5(0x20f)]['on'](_0xa866b5(0x1b6),(_0x3a03c7,_0x594633)=>{const _0x3495e6=_0xa866b5,_0x4f15a2=_0x594633[0x0];_0x4f15a2[_0x3495e6(0x1f1)]&&(this[_0x3495e6(0x1ce)](_0x4f15a2),this[_0x3495e6(0x164)]()&&this[_0x3495e6(0x177)]());}),this[_0xa866b5(0x1d8)](),this[_0xa866b5(0x1f2)](_0xa866b5(0x1e5))['to'](_0x28b212,_0xa866b5(0x208),this,_0xa866b5(0x19d),(_0x2dac04,_0x25ef0d)=>_0xa866b5(0x256)===_0x2dac04&&!_0x25ef0d),this['on'](_0xa866b5(0x1c8),()=>{const _0x4129cb=_0xa866b5;this[_0x4129cb(0x1e5)]?_0xe4dad7[_0x4129cb(0x19f)](_0x4129cb(0x193)):_0xe4dad7[_0x4129cb(0x1f9)](_0x4129cb(0x193));}),this[_0xa866b5(0x1e5)]?_0xe4dad7[_0xa866b5(0x19f)](_0xa866b5(0x193)):_0xe4dad7[_0xa866b5(0x1f9)](_0xa866b5(0x193)),this[_0xa866b5(0x1c0)](_0xa866b5(0x1f6),!0x1);}async[_0x11f97d(0x1d9)](){const _0x3c3dc3=_0x11f97d,_0x2c33b9=this[_0x3c3dc3(0x202)][_0x3c3dc3(0x1a0)][_0x3c3dc3(0x234)](_0x43f188),_0x38d28c=this[_0x3c3dc3(0x202)][_0x3c3dc3(0x1a0)][_0x3c3dc3(0x234)](_0x4e262c);try{this[_0x3c3dc3(0x21a)]=!0x0,_0x2c33b9[_0x3c3dc3(0x1ad)](this[_0x3c3dc3(0x231)]);const _0x71c868=await this[_0x3c3dc3(0x1a9)][_0x3c3dc3(0x1d9)](_0x38d28c[_0x3c3dc3(0x15b)],this[_0x3c3dc3(0x209)]);await this[_0x3c3dc3(0x1ea)](_0x71c868)&&(this[_0x3c3dc3(0x21a)]=!0x1,this[_0x3c3dc3(0x260)]());const _0x50e047=await this[_0x3c3dc3(0x1a9)][_0x3c3dc3(0x22b)]();_0x2c33b9[_0x3c3dc3(0x21f)](this[_0x3c3dc3(0x231)],_0x50e047),this[_0x3c3dc3(0x204)](),this[_0x3c3dc3(0x1f6)]=!0x0;}catch(_0x237a93){if(function(_0x2f7e50){const _0x3c9fc5=_0x3c3dc3;return _0x3c9fc5(0x236)===_0x2f7e50[_0x3c9fc5(0x244)];}(_0x237a93)&&this[_0x3c3dc3(0x168)])await this[_0x3c3dc3(0x17f)]();else{if(function(_0x16bc3c){const _0x194f2a=_0x3c3dc3;return _0x194f2a(0x1fe)===_0x16bc3c[_0x194f2a(0x244)];}(_0x237a93)){const _0x59a282=_0x24b655(this[_0x3c3dc3(0x202)][_0x3c3dc3(0x1de)],_0x3c3dc3(0x230));this[_0x3c3dc3(0x1ab)](_0x59a282);}else{if(!(_0x237a93 instanceof B))throw _0x237a93;this[_0x3c3dc3(0x1ab)]();}}}}[_0x11f97d(0x1b8)](){const _0x4e46d3=_0x11f97d,_0x46c353=this[_0x4e46d3(0x202)][_0x4e46d3(0x1a0)][_0x4e46d3(0x234)](_0x4e262c),_0x2de147=this[_0x4e46d3(0x202)][_0x4e46d3(0x1a0)][_0x4e46d3(0x234)](_0x43f188);this[_0x4e46d3(0x202)][_0x4e46d3(0x1f9)](_0x4e46d3(0x1a7)),_0x2de147[_0x4e46d3(0x24a)][_0x4e46d3(0x20e)](this[_0x4e46d3(0x231)])&&_0x2de147[_0x4e46d3(0x1ad)](this[_0x4e46d3(0x231)]),_0x46c353[_0x4e46d3(0x22d)](this),this[_0x4e46d3(0x162)](),super[_0x4e46d3(0x1b8)]();}async[_0x11f97d(0x1ea)](_0x585f65){const _0x50d286=_0x11f97d;if(this[_0x50d286(0x168)]!==_0x585f65[_0x50d286(0x168)]&&this[_0x50d286(0x1ec)]!==_0x585f65[_0x50d286(0x1bd)])throw new B();return this[_0x50d286(0x168)]=_0x585f65[_0x50d286(0x168)],this[_0x50d286(0x1dd)]([],{..._0x585f65,'wereChangesApplied':!0x1,'data':_0x585f65[_0x50d286(0x251)]},_0x50d286(0x1d9));}async[_0x11f97d(0x211)](_0x56f5ad,_0x4a4b5f=!0x1){const _0x39fa8d=_0x11f97d,{connection:_0x4e6bac}=this[_0x39fa8d(0x202)][_0x39fa8d(0x1a0)][_0x39fa8d(0x234)](_0x4e262c);RealTimeCollaborationClient[_0x39fa8d(0x24d)][_0x39fa8d(0x22b)](_0x4e6bac,this[_0x39fa8d(0x231)])[_0x39fa8d(0x16a)](_0x3c8b8d=>this[_0x39fa8d(0x24e)](_0x3c8b8d))[_0x39fa8d(0x1e6)](_0x533820=>{const _0x20e216=_0x39fa8d;this[_0x20e216(0x252)](_0x20e216(0x1e2),_0x533820);}),this[_0x39fa8d(0x1ca)](this[_0x39fa8d(0x1a9)],_0x39fa8d(0x17a),this[_0x39fa8d(0x16b)][_0x39fa8d(0x1f2)](this)),this[_0x39fa8d(0x1ca)](this[_0x39fa8d(0x1a9)],_0x39fa8d(0x212),(_0xc8b2cb,_0x55581a)=>{const _0x531a0e=_0x39fa8d;this[_0x531a0e(0x252)](_0x531a0e(0x186),_0x55581a);}),this[_0x39fa8d(0x1ca)](this[_0x39fa8d(0x1a9)],_0x39fa8d(0x198),()=>{const _0x8d9ab7=_0x39fa8d;this[_0x8d9ab7(0x1f6)]=!0x1;});const _0x4e87cf=this[_0x39fa8d(0x1f7)][_0x39fa8d(0x19a)](_0x56f5ad);this[_0x39fa8d(0x21a)]=!0x0;const _0x8ff54f=await this[_0x39fa8d(0x1a9)][_0x39fa8d(0x258)](_0x4e6bac,this[_0x39fa8d(0x188)](_0x56f5ad),_0x4e87cf);if(this[_0x39fa8d(0x168)]=_0x8ff54f[_0x39fa8d(0x168)],_0x4a4b5f){if(!_0x8ff54f[_0x39fa8d(0x1c2)])return void this[_0x39fa8d(0x1ab)]();this[_0x39fa8d(0x21a)]=!0x1,this[_0x39fa8d(0x260)](),this[_0x39fa8d(0x195)][_0x39fa8d(0x1a4)](),this[_0x39fa8d(0x183)]=_0x8ff54f[_0x39fa8d(0x24b)],this[_0x39fa8d(0x195)][_0x39fa8d(0x1ac)]=this[_0x39fa8d(0x183)],await this[_0x39fa8d(0x1dd)](_0x56f5ad,_0x8ff54f,_0x39fa8d(0x219));}else await this[_0x39fa8d(0x227)](_0x8ff54f,_0x56f5ad);this[_0x39fa8d(0x204)](),this[_0x39fa8d(0x1f6)]=!0x0;}[_0x11f97d(0x204)](){const _0x15c8f9=_0x11f97d,_0x43fd23=this[_0x15c8f9(0x202)][_0x15c8f9(0x1a0)][_0x15c8f9(0x234)](_0x43f188),_0x17e6db=this[_0x15c8f9(0x202)][_0x15c8f9(0x1a0)][_0x15c8f9(0x234)](_0x63f3eb),_0x310dc5=_0x43fd23[_0x15c8f9(0x24a)][_0x15c8f9(0x234)](this[_0x15c8f9(0x231)]);_0x310dc5&&_0x310dc5[_0x15c8f9(0x213)]>0x1?_0x17e6db[_0x15c8f9(0x1d7)]():this[_0x15c8f9(0x1ca)](_0x43fd23,_0x15c8f9(0x161)+this[_0x15c8f9(0x231)],()=>{const _0x52d24e=_0x15c8f9;0x2===_0x43fd23[_0x52d24e(0x24a)][_0x52d24e(0x234)](this[_0x52d24e(0x231)])[_0x52d24e(0x213)]&&_0x17e6db[_0x52d24e(0x1d7)]();});}async[_0x11f97d(0x16b)](_0x206a53,_0xf5ba7c,_0x3134df,_0xeb2f13){const _0x175251=_0x11f97d;if(!this[_0x175251(0x21a)]&&this[_0x175251(0x1df)][_0x175251(0x1ac)]==_0xf5ba7c){const _0x432fe8=this[_0x175251(0x1c9)](_0x3134df,_0xeb2f13);await this[_0x175251(0x210)](_0x432fe8),this[_0x175251(0x179)](_0x432fe8,_0xf5ba7c,_0x3134df[_0x175251(0x1bd)])||this[_0x175251(0x252)](_0x175251(0x23a));}}async[_0x11f97d(0x17f)](){const _0x1e2d9d=_0x11f97d;this[_0x1e2d9d(0x162)]();const {locale:_0x383e59}=this[_0x1e2d9d(0x202)];let _0x21c9c1;try{_0x21c9c1=await this[_0x1e2d9d(0x1a9)][_0x1e2d9d(0x25f)]();}catch{const _0x2516f3=_0x24b655(_0x383e59,_0x1e2d9d(0x18e));return void this[_0x1e2d9d(0x1ab)](_0x2516f3);}const _0x1a616c=_0x21c9c1[_0x1e2d9d(0x223)]||_0x21c9c1[_0x1e2d9d(0x15e)];if(this[_0x1e2d9d(0x1ec)]!==_0x1a616c[_0x1e2d9d(0x1bd)]){const _0x50330c=_0x24b655(_0x383e59,_0x1e2d9d(0x1eb));return void this[_0x1e2d9d(0x1ab)](_0x50330c);}await this[_0x1e2d9d(0x211)](this[_0x1e2d9d(0x202)][_0x1e2d9d(0x20f)][_0x1e2d9d(0x1aa)][_0x1e2d9d(0x182)][_0x1e2d9d(0x242)](),!0x0);}[_0x11f97d(0x162)](){const _0x27225d=_0x11f97d;this[_0x27225d(0x1a9)][_0x27225d(0x1ed)](),this[_0x27225d(0x1ff)]=[],clearTimeout(this[_0x27225d(0x246)]),this[_0x27225d(0x165)](this[_0x27225d(0x1a9)]);}[_0x11f97d(0x24e)](_0x34f291){const _0x55bd05=_0x11f97d,_0x4283c2=this[_0x55bd05(0x202)][_0x55bd05(0x1a0)][_0x55bd05(0x234)](_0x43f188);this[_0x55bd05(0x1ca)](_0x4283c2,_0x55bd05(0x161)+this[_0x55bd05(0x231)],(_0x2f854f,{session:_0x277dbf})=>{const _0x354e08=_0x55bd05;if(_0x277dbf['id']===_0x4283c2[_0x354e08(0x185)]){_0x2f854f[_0x354e08(0x172)]();const _0x2b2f1e=this[_0x354e08(0x202)][_0x354e08(0x1a0)][_0x354e08(0x20e)](_0x354e08(0x15f))&&this[_0x354e08(0x202)][_0x354e08(0x1a0)][_0x354e08(0x234)](_0x354e08(0x15f));let _0x51a7c9=_0x277dbf[_0x354e08(0x1b3)];_0x2b2f1e&&_0x2b2f1e[_0x354e08(0x170)]&&(_0x51a7c9=_0x51a7c9[_0x354e08(0x25c)](_0x135c1d=>_0x354e08(0x207)!==_0x135c1d)),this[_0x354e08(0x202)][_0x354e08(0x1a0)][_0x354e08(0x234)](_0x354e08(0x1d4))[_0x354e08(0x18f)](_0x51a7c9,this[_0x354e08(0x231)]);}}),_0x4283c2[_0x55bd05(0x21f)](this[_0x55bd05(0x231)],_0x34f291);}[_0x11f97d(0x25a)](){const _0x55254a=_0x11f97d,_0x576d20=this[_0x55254a(0x202)][_0x55254a(0x251)][_0x55254a(0x1c0)];this[_0x55254a(0x202)][_0x55254a(0x251)][_0x55254a(0x1c0)]=(..._0x18b818)=>{const _0x49877b=_0x55254a;if(!_0x18b818[_0x18b818[_0x49877b(0x213)]-0x1][_0x49877b(0x175)])throw new _0x5d0ba7(_0x49877b(0x23d),this);_0x576d20[_0x49877b(0x22c)](this[_0x49877b(0x202)][_0x49877b(0x251)],_0x18b818);};}[_0x11f97d(0x1d8)](){const _0x21a736=_0x11f97d;this[_0x21a736(0x202)][_0x21a736(0x251)]['on'](_0x21a736(0x180),(_0x50f4ba,[_0xb186e])=>{const _0x85488=_0x21a736;if(this[_0x85488(0x1df)][_0x85488(0x1ac)])throw new _0x5d0ba7(_0x85488(0x16d),this);_0x50f4ba[_0x85488(0x1c3)](),this[_0x85488(0x221)]();const _0x562aa0=this[_0x85488(0x202)][_0x85488(0x24f)][_0x85488(0x234)](_0x85488(0x1b5)),_0x3e8ebe=this[_0x85488(0x1a6)](_0xb186e,_0x562aa0);0x0==_0x3e8ebe[_0x85488(0x213)]&&_0x3e8ebe[_0x85488(0x23e)](new _0x4b9587(0x0)),_0x50f4ba[_0x85488(0x1e8)]=this[_0x85488(0x211)](_0x3e8ebe)[_0x85488(0x16a)](()=>{const _0x2f6580=_0x85488;this[_0x2f6580(0x202)][_0x2f6580(0x1a0)][_0x2f6580(0x234)](_0x4e262c)[_0x2f6580(0x20c)](this),this[_0x2f6580(0x202)][_0x2f6580(0x251)][_0x2f6580(0x20d)](_0x2f6580(0x17c));})[_0x85488(0x1e6)](_0x10385a=>this[_0x85488(0x252)](_0x85488(0x1cc),_0x10385a))[_0x85488(0x1c7)](()=>this[_0x85488(0x260)]());},{'priority':_0x21a736(0x253)}),this[_0x21a736(0x202)]['on'](_0x21a736(0x1fb),async(_0x5926b0,[_0x252b02,_0x3e9ac9])=>{const _0x2be0bf=_0x21a736;_0x5926b0[_0x2be0bf(0x1c3)]();const _0x4c2356=this[_0x2be0bf(0x202)][_0x2be0bf(0x20f)][_0x2be0bf(0x1aa)][_0x2be0bf(0x24c)](_0x252b02);if(!this[_0x2be0bf(0x23b)][_0x2be0bf(0x20e)](_0x252b02)){const _0x27530c=_0x3e9ac9&&_0x3e9ac9[_0x2be0bf(0x251)]?_0x3e9ac9[_0x2be0bf(0x251)]:'',_0x34e960=_0x3e9ac9&&_0x3e9ac9[_0x2be0bf(0x1fa)]?_0x3e9ac9[_0x2be0bf(0x1fa)]:{};await this[_0x2be0bf(0x218)](_0x252b02,_0x27530c,_0x34e960);}this[_0x2be0bf(0x202)][_0x2be0bf(0x20f)][_0x2be0bf(0x1a3)]({'isUndoable':!0x1},()=>{const _0x5842b0=_0x2be0bf;_0x4c2356[_0x5842b0(0x17b)]=!0x0,this[_0x5842b0(0x202)][_0x5842b0(0x20f)][_0x5842b0(0x1aa)][_0x5842b0(0x215)][_0x5842b0(0x247)](_0x4c2356);});},{'priority':_0x21a736(0x253)});}async[_0x11f97d(0x210)](_0x48d2ae){const _0x3ed121=_0x11f97d,_0x356fca=this[_0x3ed121(0x202)][_0x3ed121(0x1a0)][_0x3ed121(0x234)](_0x259e7b),{connection:_0xf49874}=this[_0x3ed121(0x202)][_0x3ed121(0x1a0)][_0x3ed121(0x234)](_0x4e262c),_0x156d17=new Set();for(const _0x1a53e4 of _0x48d2ae){const _0x25e3ed=_0x1a53e4[_0x3ed121(0x192)];_0x25e3ed&&!_0x356fca[_0x3ed121(0x166)](_0x25e3ed)&&_0x156d17[_0x3ed121(0x1f8)](_0x25e3ed);}if(0x0===_0x156d17[_0x3ed121(0x1b1)])return;const _0x28231f=await _0x140836[_0x3ed121(0x1cb)](_0xf49874,Array[_0x3ed121(0x1c4)](_0x156d17));for(const _0x30c2c8 of _0x28231f)_0x356fca[_0x3ed121(0x166)](_0x30c2c8['id'])||_0x356fca[_0x3ed121(0x21c)](_0x30c2c8);}[_0x11f97d(0x1a6)](_0x182129,_0x19ac8e={}){const _0x4646b5=_0x11f97d,_0x1e9731=this[_0x4646b5(0x202)][_0x4646b5(0x20f)],_0x3bea51=[];let _0x11ac4b=0x0;const _0x24d496=_0x4646b5(0x20b)==typeof _0x182129?{'main':_0x182129}:_0x182129;for(const _0x1ad542 of Object[_0x4646b5(0x1f3)](_0x24d496)){if(!this[_0x4646b5(0x1df)][_0x4646b5(0x197)][_0x4646b5(0x20e)](_0x1ad542))throw new _0x5d0ba7(_0x4646b5(0x22a),this);const _0x34e5a2=this[_0x4646b5(0x202)][_0x4646b5(0x251)][_0x4646b5(0x220)](_0x24d496[_0x1ad542]),_0x5e0e86=this[_0x4646b5(0x1df)][_0x4646b5(0x24c)](_0x1ad542),_0x58c38d=new _0xea525d(_0x1e9731[_0x4646b5(0x1e1)](_0x5e0e86,0x0),_0x34e5a2,_0x11ac4b++);_0x3bea51[_0x4646b5(0x23e)](_0x58c38d);for(const [_0xab0fc0,_0x42eadb]of _0x34e5a2[_0x4646b5(0x1fd)]){const _0x41cfae=_0x1e9731[_0x4646b5(0x171)](_0x1e9731[_0x4646b5(0x25d)](_0x5e0e86,_0x42eadb[_0x4646b5(0x15a)][_0x4646b5(0x239)][_0x4646b5(0x187)]()),_0x1e9731[_0x4646b5(0x25d)](_0x5e0e86,_0x42eadb[_0x4646b5(0x1bf)][_0x4646b5(0x239)][_0x4646b5(0x187)]())),_0x57504b=new _0x3ae49a(_0xab0fc0,null,_0x41cfae,_0x1e9731[_0x4646b5(0x1fd)],!0x0,_0x11ac4b++);_0x3bea51[_0x4646b5(0x23e)](_0x57504b);}}if(_0x19ac8e)for(const [_0x192dbe,_0x5a7f28]of Object[_0x4646b5(0x254)](_0x19ac8e)){const _0x45f255=_0x1e9731[_0x4646b5(0x1aa)][_0x4646b5(0x24c)](_0x192dbe);if(!_0x45f255)throw new _0x5d0ba7(_0x4646b5(0x1e9),null);for(const [_0x3eb200,_0x41c212]of Object[_0x4646b5(0x254)](_0x5a7f28))if(null!==_0x41c212){const _0x332916=new _0x5d77fa(_0x45f255,_0x3eb200,null,_0x41c212,_0x11ac4b++);_0x3bea51[_0x4646b5(0x23e)](_0x332916);}}return _0x3bea51;}async[_0x11f97d(0x218)](_0x57c668,_0x48fe2a,_0x37ab41){const _0x6a239a=_0x11f97d;this[_0x6a239a(0x1a6)]({[_0x57c668]:_0x48fe2a},{[_0x57c668]:_0x37ab41})[_0x6a239a(0x1c1)]((_0x285e30,_0x5a3103)=>{const _0x2ff377=_0x6a239a;_0x285e30[_0x2ff377(0x1a5)]=this[_0x2ff377(0x1df)][_0x2ff377(0x1ac)]+_0x5a3103,_0x285e30[_0x2ff377(0x1ee)]=!0x0,this[_0x2ff377(0x1ce)](_0x285e30);}),this[_0x6a239a(0x177)](),await this[_0x6a239a(0x1b4)]();}async[_0x11f97d(0x227)](_0x49c752,_0xb0a50d){const _0x1452f6=_0x11f97d;let _0x12bf55;this[_0x1452f6(0x183)]=_0x49c752[_0x1452f6(0x24b)];const _0x7f0621=_0x49c752[_0x1452f6(0x1c2)]&&!_0x49c752[_0x1452f6(0x178)],_0x174eb0=_0x7f0621?0x0:_0x49c752[_0x1452f6(0x251)][_0x1452f6(0x1a5)];if(_0xb0a50d[_0x1452f6(0x1c1)](_0x55295b=>{const _0x35412c=_0x1452f6;_0x55295b[_0x35412c(0x1ee)]=!0x0,_0x55295b[_0x35412c(0x1a2)]=_0x49c752[_0x35412c(0x194)],_0x55295b[_0x35412c(0x192)]=null;}),_0x7f0621)_0x12bf55=_0xb0a50d,this[_0x1452f6(0x225)](_0x12bf55,_0x7f0621);else{if(_0x49c752[_0x1452f6(0x178)]){const _0x49bdbd=this[_0x1452f6(0x1a6)](_0x49c752[_0x1452f6(0x178)]);this[_0x1452f6(0x1df)][_0x1452f6(0x182)][_0x1452f6(0x1ac)]=-_0x49bdbd[_0x1452f6(0x213)],_0x49bdbd[_0x1452f6(0x1c1)](_0xedaef9=>{const _0x1ba447=_0x1452f6;_0xedaef9[_0x1ba447(0x1a5)]-=_0x49bdbd[_0x1ba447(0x213)],_0xedaef9[_0x1ba447(0x1a2)]=_0x49c752[_0x1ba447(0x194)],_0xedaef9[_0x1ba447(0x1ee)]=!0x0,_0xedaef9[_0x1ba447(0x192)]=null;}),this[_0x1452f6(0x225)](_0x49bdbd,!0x0),this[_0x1452f6(0x195)][_0x1452f6(0x1ac)]=-_0x49bdbd[_0x1452f6(0x213)]+this[_0x1452f6(0x183)],this[_0x1452f6(0x245)](_0x49bdbd);}this[_0x1452f6(0x1df)][_0x1452f6(0x182)][_0x1452f6(0x1ac)]=_0x174eb0,_0x12bf55=this[_0x1452f6(0x1c9)](_0x49c752[_0x1452f6(0x251)],_0x49c752[_0x1452f6(0x21e)]),await this[_0x1452f6(0x210)](_0x12bf55),this[_0x1452f6(0x225)](_0x12bf55,_0x7f0621);}_0x49c752[_0x1452f6(0x1bd)]&&(this[_0x1452f6(0x1f7)][_0x1452f6(0x1e7)](_0x12bf55,_0x49c752[_0x1452f6(0x1bd)]),this[_0x1452f6(0x1ec)]=_0x49c752[_0x1452f6(0x1bd)]),this[_0x1452f6(0x195)][_0x1452f6(0x1ac)]=_0x174eb0+this[_0x1452f6(0x183)],this[_0x1452f6(0x245)](_0x12bf55),_0xb0a50d[_0x1452f6(0x25c)](_0x599ced=>{const _0x3906ef=_0x1452f6,_0x12cded=this[_0x3906ef(0x1af)](_0x599ced);return _0x12cded&&!this[_0x3906ef(0x23b)][_0x3906ef(0x20e)](_0x12cded);})[_0x1452f6(0x1c1)]((_0x2af101,_0x106cfc)=>{const _0x4f937f=_0x1452f6;_0x2af101[_0x4f937f(0x1a5)]=this[_0x4f937f(0x1df)][_0x4f937f(0x1ac)]+_0x106cfc,this[_0x4f937f(0x1ce)](_0x2af101);}),this[_0x1452f6(0x164)]()?(this[_0x1452f6(0x233)]=0x0,this[_0x1452f6(0x177)](!0x0),await this[_0x1452f6(0x1b4)]()):(this[_0x1452f6(0x21a)]=!0x1,this[_0x1452f6(0x260)]());}[_0x11f97d(0x252)](_0x1cc839,_0x1f914c){const _0x2d6a75=_0x11f97d,_0xdc874f=_0x1f914c&&_0x1f914c[_0x2d6a75(0x1be)];if(_0xdc874f&&_0xdc874f[_0x2d6a75(0x1d3)](_0x2d6a75(0x1b7)))throw _0x1f914c;const _0xc29713=this[_0x2d6a75(0x202)][_0x2d6a75(0x1a0)][_0x2d6a75(0x234)](_0x4e262c);throw this[_0x2d6a75(0x21a)]=!0x0,_0xc29713[_0x2d6a75(0x1ed)](),this[_0x2d6a75(0x202)][_0x2d6a75(0x1f9)](_0x2d6a75(0x196)),new _0x5d0ba7(_0x1cc839,this[_0x2d6a75(0x202)],_0xdc874f?{'originalError':_0xdc874f}:void 0x0);}[_0x11f97d(0x1ce)](_0x290e8a){const _0x2bfd8a=_0x11f97d;this[_0x2bfd8a(0x224)][_0x2bfd8a(0x20e)](_0x290e8a)||(this[_0x2bfd8a(0x224)][_0x2bfd8a(0x1f8)](_0x290e8a),this[_0x2bfd8a(0x1ff)][_0x2bfd8a(0x23e)](_0x290e8a),this[_0x2bfd8a(0x15c)]||_0x2bfd8a(0x200)==_0x290e8a[_0x2bfd8a(0x16c)]&&!_0x290e8a[_0x2bfd8a(0x181)]||this[_0x2bfd8a(0x221)]());}[_0x11f97d(0x177)](_0x499c20=!0x1){const _0x3d123e=_0x11f97d;!_0x499c20&&this[_0x3d123e(0x21a)]||(this[_0x3d123e(0x21a)]=!0x0,clearTimeout(this[_0x3d123e(0x246)]),this[_0x3d123e(0x246)]=setTimeout(()=>{const _0x234346=_0x3d123e;this[_0x234346(0x1f4)]()[_0x234346(0x16a)](_0x470c10=>{const _0x2cd854=_0x234346;_0x470c10&&(this[_0x2cd854(0x260)](),this[_0x2cd854(0x21a)]=!0x1);})[_0x234346(0x1e6)](_0x2fea37=>{const _0x492a09=_0x234346;this[_0x492a09(0x260)](),this[_0x492a09(0x21a)]=!0x1,function(_0x273ae1){const _0x5c8a3a=_0x492a09;return _0x273ae1[_0x5c8a3a(0x1be)][_0x5c8a3a(0x1d3)](_0x5c8a3a(0x240))||_0x273ae1[_0x5c8a3a(0x1be)][_0x5c8a3a(0x1d3)](_0x5c8a3a(0x25e))||_0x273ae1[_0x5c8a3a(0x1be)][_0x5c8a3a(0x1d3)](_0x5c8a3a(0x1a8));}(_0x2fea37)||this[_0x492a09(0x252)](_0x2fea37[_0x492a09(0x1be)],_0x2fea37);});},this[_0x3d123e(0x233)]));}[_0x11f97d(0x1b4)](){return new Promise(_0x373893=>{const _0x35050c=_0x3a19;this['on'](_0x35050c(0x163),()=>{_0x373893();});});}async[_0x11f97d(0x1f4)](){const _0x345c23=_0x11f97d,_0xba13b5=this[_0x345c23(0x202)][_0x345c23(0x1a0)][_0x345c23(0x234)](_0x63f3eb);if(this[_0x345c23(0x243)]()&&(_0xba13b5[_0x345c23(0x1d7)](),this[_0x345c23(0x17e)]=!0x1),!this[_0x345c23(0x164)]())return!0x0;const _0x56f6e5=[...this[_0x345c23(0x1ff)]];for(const _0x4316ca of _0x56f6e5)_0x4316ca[_0x345c23(0x169)]=this[_0x345c23(0x1df)][_0x345c23(0x182)][_0x345c23(0x1cf)](_0x4316ca);const _0x27aa51=this[_0x345c23(0x1f7)][_0x345c23(0x19a)](_0x56f6e5),_0x481cec=N++,_0x1d018a=this[_0x345c23(0x188)](_0x56f6e5),_0x4f818b=await this[_0x345c23(0x1a9)][_0x345c23(0x228)](_0x1d018a,_0x1d018a[_0x345c23(0x1a5)],_0x27aa51);try{return await this[_0x345c23(0x1dd)](_0x56f6e5,_0x4f818b,_0x481cec);}catch(_0x303ded){return this[_0x345c23(0x252)](_0x345c23(0x23f),_0x303ded);}}async[_0x11f97d(0x1dd)](_0x35648b,_0x4f62fe,_0x1caffb){const _0x164d7c=_0x11f97d;if(_0x164d7c(0x212)in _0x4f62fe)throw _0x4f62fe[_0x164d7c(0x212)];let _0x4f1c10=!0x1;if(_0x4f62fe[_0x164d7c(0x1c2)]){_0x4f62fe[_0x164d7c(0x1bd)]&&(this[_0x164d7c(0x1ec)]=_0x4f62fe[_0x164d7c(0x1bd)]),this[_0x164d7c(0x1ff)]=this[_0x164d7c(0x1ff)][_0x164d7c(0x25c)](_0x485afa=>!_0x35648b[_0x164d7c(0x203)](_0x485afa));for(const _0x456fee of _0x35648b)_0x456fee[_0x164d7c(0x1a2)]=_0x164d7c(0x1f0)in _0x4f62fe&&_0x4f62fe[_0x164d7c(0x1f0)]||void 0x0;x(_0x35648b,_0x4f62fe[_0x164d7c(0x1ac)]-_0x35648b[_0x164d7c(0x213)]),this[_0x164d7c(0x245)](_0x35648b);const _0x4d1e3b=_0x35648b[_0x164d7c(0x25c)](_0x4a4823=>{const _0x19acf3=_0x164d7c;if(!_0x4a4823[_0x19acf3(0x1ee)])return!0x1;const _0x3675cc=this[_0x19acf3(0x1af)](_0x4a4823);return _0x3675cc&&!this[_0x19acf3(0x23b)][_0x19acf3(0x20e)](_0x3675cc);});x(_0x4d1e3b,this[_0x164d7c(0x1df)][_0x164d7c(0x1ac)]),this[_0x164d7c(0x225)](_0x4d1e3b),_0x4f1c10=!0x0,this[_0x164d7c(0x233)]=this[_0x164d7c(0x167)];}else{const _0x5143d7=this[_0x164d7c(0x1c9)](_0x4f62fe[_0x164d7c(0x251)],_0x4f62fe[_0x164d7c(0x21e)])[_0x164d7c(0x25c)](_0x28aaf9=>_0x28aaf9[_0x164d7c(0x1a5)]>=this[_0x164d7c(0x226)]);_0x5143d7[_0x164d7c(0x1c1)](_0x53bfbd=>this[_0x164d7c(0x176)](_0x53bfbd)),this[_0x164d7c(0x1ff)]=this[_0x164d7c(0x1ff)][_0x164d7c(0x25c)](_0x221426=>!_0x221426[_0x164d7c(0x1ee)]||!this[_0x164d7c(0x23b)][_0x164d7c(0x20e)](this[_0x164d7c(0x1af)](_0x221426))),this[_0x164d7c(0x1ff)][_0x164d7c(0x213)]&&x(this[_0x164d7c(0x1ff)],this[_0x164d7c(0x1ff)][0x0][_0x164d7c(0x1a5)]),await this[_0x164d7c(0x210)](_0x5143d7),_0x4f1c10=this[_0x164d7c(0x179)](_0x5143d7,_0x4f62fe[_0x164d7c(0x1ac)],_0x4f62fe[_0x164d7c(0x1bd)]),this[_0x164d7c(0x233)]=Math[_0x164d7c(0x1b0)](this[_0x164d7c(0x233)]/0x2);}return _0x4f1c10?!this[_0x164d7c(0x164)]()||(this[_0x164d7c(0x177)](!0x0),!0x1):this[_0x164d7c(0x252)](_0x164d7c(0x1e4));}[_0x11f97d(0x179)](_0x378091,_0x2339d7,_0x3904c1){const _0x1bbafe=_0x11f97d;try{const _0x3f2cff={'document':this[_0x1bbafe(0x1df)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x13eb42,operationsB:_0x448047,originalOperations:_0xbfb043}=_0x2411ff(_0x378091,this[_0x1bbafe(0x1ff)],_0x3f2cff);x(_0x13eb42,this[_0x1bbafe(0x1df)][_0x1bbafe(0x1ac)]),x(_0x448047,_0x2339d7);for(const _0x4fc455 of _0x13eb42){const _0x137509=_0xbfb043[_0x1bbafe(0x234)](_0x4fc455);_0x4fc455[_0x1bbafe(0x192)]=_0x137509?_0x137509[_0x1bbafe(0x192)]:null;}_0x3904c1&&(this[_0x1bbafe(0x1f7)][_0x1bbafe(0x1e7)](_0x378091,_0x3904c1),this[_0x1bbafe(0x1ec)]=_0x3904c1),this[_0x1bbafe(0x1ff)]=[..._0x448047],this[_0x1bbafe(0x225)](_0x13eb42),this[_0x1bbafe(0x245)](_0x378091);}catch(_0x18362a){return console[_0x1bbafe(0x212)](_0x18362a),!0x1;}return!0x0;}[_0x11f97d(0x225)](_0x3c2a50,_0x50626f=!0x1){const _0x509f5a=_0x11f97d;this[_0x509f5a(0x202)][_0x509f5a(0x20f)][_0x509f5a(0x1a3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x47ce8d=>{const _0x28c366=_0x509f5a;for(const _0x2d6d4e of _0x3c2a50)this[_0x28c366(0x224)][_0x28c366(0x1f8)](_0x2d6d4e),this[_0x28c366(0x176)](_0x2d6d4e),_0x47ce8d[_0x28c366(0x1e0)][_0x28c366(0x19b)](_0x2d6d4e),this[_0x28c366(0x202)][_0x28c366(0x20f)][_0x28c366(0x1b6)](_0x2d6d4e);});}[_0x11f97d(0x176)](_0x589272){const _0x30792d=_0x11f97d,_0x3adbf3=this[_0x30792d(0x1af)](_0x589272);_0x3adbf3&&this[_0x30792d(0x23b)][_0x30792d(0x1f8)](_0x3adbf3);}[_0x11f97d(0x1af)](_0x603e34){const _0x1b2d61=_0x11f97d;let _0x48667c,_0x24fbd8;switch(_0x603e34[_0x1b2d61(0x16c)]){case _0x1b2d61(0x25b):_0x48667c=_0x603e34[_0x1b2d61(0x184)][_0x1b2d61(0x16f)];break;case _0x1b2d61(0x200):if(_0x24fbd8=_0x603e34[_0x1b2d61(0x17d)],!_0x24fbd8)return null;_0x48667c=_0x24fbd8[_0x1b2d61(0x16f)];break;case _0x1b2d61(0x217):_0x48667c=_0x603e34[_0x1b2d61(0x16f)];break;case _0x1b2d61(0x1ef):_0x48667c=_0x603e34[_0x1b2d61(0x173)];break;case _0x1b2d61(0x1cd):_0x48667c=_0x603e34[_0x1b2d61(0x1ba)][_0x1b2d61(0x16f)];break;default:return null;}return _0x48667c[_0x1b2d61(0x214)];}[_0x11f97d(0x245)](_0x3afeb3){const _0x369afc=_0x11f97d;_0x3afeb3[_0x369afc(0x1c1)](_0x5797d3=>{const _0x4e9d30=_0x369afc,_0x3829ec=_0x5797d3[_0x4e9d30(0x1d2)]();_0x3829ec[_0x4e9d30(0x192)]=_0x5797d3[_0x4e9d30(0x192)],_0x3829ec[_0x4e9d30(0x1ee)]=!!_0x5797d3[_0x4e9d30(0x1ee)],_0x3829ec[_0x4e9d30(0x1a2)]=_0x5797d3[_0x4e9d30(0x1a2)],_0x3829ec[_0x4e9d30(0x1a5)]+=this[_0x4e9d30(0x183)],_0x5797d3[_0x4e9d30(0x1c6)]&&this[_0x4e9d30(0x222)][_0x4e9d30(0x1f8)](_0x3829ec),this[_0x4e9d30(0x195)][_0x4e9d30(0x19b)](_0x3829ec);});}[_0x11f97d(0x1ab)](_0x4c9827){const _0x77a9d6=_0x11f97d,_0x9cbf16=this[_0x77a9d6(0x202)][_0x77a9d6(0x1a0)][_0x77a9d6(0x234)](_0x77a9d6(0x1da)),_0x199ac1=this[_0x77a9d6(0x202)][_0x77a9d6(0x1de)];_0x4c9827||(_0x4c9827=_0x24b655(_0x199ac1,_0x77a9d6(0x191))),_0x9cbf16[_0x77a9d6(0x248)](_0x4c9827,{'title':_0x24b655(_0x199ac1,_0x77a9d6(0x206)),'namespace':_0x77a9d6(0x18c)}),this[_0x77a9d6(0x19d)]=!0x0,clearTimeout(this[_0x77a9d6(0x246)]),this[_0x77a9d6(0x1ff)]=[],this[_0x77a9d6(0x202)][_0x77a9d6(0x1a0)][_0x77a9d6(0x234)](_0x4e262c)[_0x77a9d6(0x1ed)]();}[_0x11f97d(0x221)](){const _0x1a98b4=_0x11f97d;this[_0x1a98b4(0x15c)]||(this[_0x1a98b4(0x15c)]=this[_0x1a98b4(0x202)][_0x1a98b4(0x1a0)][_0x1a98b4(0x234)](_0x42928a)[_0x1a98b4(0x1f8)](_0x24b655(this[_0x1a98b4(0x202)][_0x1a98b4(0x1de)],_0x1a98b4(0x232))));}[_0x11f97d(0x260)](){const _0x335969=_0x11f97d;this[_0x335969(0x15c)]&&(this[_0x335969(0x202)][_0x335969(0x1a0)][_0x335969(0x234)](_0x42928a)[_0x335969(0x1b2)](this[_0x335969(0x15c)]),this[_0x335969(0x15c)]=null);}[_0x11f97d(0x188)](_0xbb04fd){const _0x2a30af=_0x11f97d,_0x515b81=_0xbb04fd[_0x2a30af(0x257)](_0x5a431f=>_0x5a431f[_0x2a30af(0x15d)]());return this[_0x2a30af(0x16e)][_0x2a30af(0x1ae)](_0x515b81);}[_0x11f97d(0x1c9)](_0x29adbb,_0x4fbcd6){const _0x451322=_0x11f97d;return this[_0x451322(0x16e)][_0x451322(0x160)](_0x29adbb)[_0x451322(0x257)]((_0x247287,_0x2d3e4b)=>{const _0x5959d8=_0x451322,_0x3baeab=_0x5959d8(0x180)==_0x4fbcd6[_0x2d3e4b][_0x5959d8(0x16c)];if(_0x5959d8(0x174)==_0x247287[_0x5959d8(0x201)]){const _0x4e91f8=_0x247287[_0x5959d8(0x184)][_0x5959d8(0x16f)];!this[_0x5959d8(0x1df)][_0x5959d8(0x24c)](_0x4e91f8)&&(this[_0x5959d8(0x1df)][_0x5959d8(0x18a)](_0x5959d8(0x21b),_0x4e91f8)[_0x5959d8(0x241)]=!0x1);}const _0x257985=_0x25d1a7[_0x5959d8(0x229)](_0x247287,this[_0x5959d8(0x1df)]);return _0x257985[_0x5959d8(0x169)]=_0x247287[_0x5959d8(0x169)],_0x257985[_0x5959d8(0x1ee)]=_0x3baeab,_0x257985[_0x5959d8(0x192)]=_0x3baeab?null:_0x4fbcd6[_0x2d3e4b][_0x5959d8(0x189)],_0x257985[_0x5959d8(0x1c6)]=_0x5959d8(0x1d1)===_0x4fbcd6[_0x2d3e4b][_0x5959d8(0x16c)],_0x257985[_0x5959d8(0x1a2)]=_0x4fbcd6[_0x2d3e4b][_0x5959d8(0x1a2)],_0x257985;});}[_0x11f97d(0x19e)](){const _0xe092b=_0x11f97d;this[_0xe092b(0x17e)]=!0x0,this[_0xe092b(0x243)]()?this[_0xe092b(0x177)]():this[_0xe092b(0x17e)]=!0x1;}[_0x11f97d(0x243)](){const _0x377bd6=_0x11f97d,_0x4ee3e0=this[_0x377bd6(0x202)][_0x377bd6(0x1a0)][_0x377bd6(0x234)](_0x43f188)[_0x377bd6(0x24a)][_0x377bd6(0x234)](this[_0x377bd6(0x231)]);return!this[_0x377bd6(0x202)][_0x377bd6(0x1d5)]&&!!_0x4ee3e0&&_0x4ee3e0[_0x377bd6(0x213)]>0x1&&this[_0x377bd6(0x17e)];}[_0x11f97d(0x164)](){const _0x2f834f=_0x11f97d;return this[_0x2f834f(0x1ff)][_0x2f834f(0x213)]>0x0||this[_0x2f834f(0x243)]();}}class B extends Error{}function x(_0x3309b3,_0x133ba9){const _0x1f7ef4=_0x11f97d;for(const _0x2c6397 of _0x3309b3)_0x2c6397[_0x1f7ef4(0x1a5)]=_0x133ba9++;}class M{[_0x11f97d(0x205)];[_0x11f97d(0x1fc)];constructor(_0x51ccca){const _0xf512a5=_0x11f97d;this[_0xf512a5(0x205)]=_0x51ccca,this[_0xf512a5(0x1fc)]=new WeakMap();}[_0x11f97d(0x19a)](_0x34dc16){const _0x2182ff=_0x11f97d;let _0x15e750=_0x34dc16[_0x2182ff(0x213)];for(;_0x15e750--;){const _0x3107db=_0x34dc16[_0x15e750];if(!this[_0x2182ff(0x205)][_0x2182ff(0x20e)](_0x3107db)){if(!this[_0x2182ff(0x1fc)][_0x2182ff(0x20e)](_0x3107db)){const _0x558d93=_0x816b1d()[_0x2182ff(0x187)](0x1,0x12);this[_0x2182ff(0x1fc)][_0x2182ff(0x1c0)](_0x3107db,_0x558d93);}return this[_0x2182ff(0x1fc)][_0x2182ff(0x234)](_0x3107db);}}}[_0x11f97d(0x1e7)](_0x5650fe,_0x5781b2){const _0x55e104=_0x11f97d;if(!_0x5781b2)return;let _0x35e4b7=_0x5650fe[_0x55e104(0x213)];for(;_0x35e4b7--;){const _0x313560=_0x5650fe[_0x35e4b7];this[_0x55e104(0x205)][_0x55e104(0x20e)](_0x313560)||this[_0x55e104(0x1fc)][_0x55e104(0x1c0)](_0x313560,_0x5781b2);}}}
23
+ const _0x40afe7=_0x20c1;(function(_0x49e685,_0x3bd002){const _0x5b0d00=_0x20c1,_0x3ae9c2=_0x49e685();while(!![]){try{const _0x24d4a6=parseInt(_0x5b0d00(0x128))/0x1*(-parseInt(_0x5b0d00(0x15b))/0x2)+-parseInt(_0x5b0d00(0x16e))/0x3*(-parseInt(_0x5b0d00(0x140))/0x4)+parseInt(_0x5b0d00(0x15e))/0x5*(-parseInt(_0x5b0d00(0x151))/0x6)+-parseInt(_0x5b0d00(0x1f0))/0x7*(-parseInt(_0x5b0d00(0x146))/0x8)+parseInt(_0x5b0d00(0x1c8))/0x9*(-parseInt(_0x5b0d00(0x1c9))/0xa)+parseInt(_0x5b0d00(0xfc))/0xb+parseInt(_0x5b0d00(0x1da))/0xc;if(_0x24d4a6===_0x3bd002)break;else _0x3ae9c2['push'](_0x3ae9c2['shift']());}catch(_0x291015){_0x3ae9c2['push'](_0x3ae9c2['shift']());}}}(_0x4a30,0xf109a));function _0x4a30(){const _0x15ea31=['insert','_currentBufferDelay','includes','createUserMarkerOperations','disconnected','lastSyncVersion','selection','loadRoot','connect','editing','_compressor','currentDocumentSession','fire','metadata','push','_loadRoot','remove','realtimecollaborationclient-handleserverresponse','finally','newRange','get','ready','high','_isAttached','_sendBufferedOperationsDelayed','addRootAttribute','apply','has','cloudServices.bundleVersion','serverHistory','toJSON','applyOperation','document:write','CollaborativeEditingService','_setUpDataInit','PENDING_ACTION_SENDING_DATA','_shouldSendUpdate','_clearPendingAction','disconnect','getMany','_saveOperationInBuffer','length','multi-root-editor-root-attributes-no-root','getDocumentDetails','Permissions','mySessionId','realtimecollaborationclient-init-document-already-initialized','reconnection:\x20flushed\x20session','_handleInitialConnectionData','setPermissions','_sendBufferedOperationsDelayId','baseVersion','keys','_operationToId','isEnabled','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-connection-failed','isReadOnly','reconnect','collaboration','createRoot','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-error','end','set','_offset','view','99027wKsmTS','30VpvNJM','config','_sendBufferedOperations','_isEditingAllowed','document','_connectService','_operationIdentifier','_disconnectionOperations','cloudDocumentVersion','roots','collaboration.channelId','lastOperationId','root','_baseBufferDelay','forEach','editor','sendOperations','25176948KwVeuJ','wasUndone','code','directChange','_isInit','_getOperationsFromInitData','offset','startsWith','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.','error','pluginName','requires','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Not\x20connected.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','add','showWarning','_isDisconnection','_isConnected','_handleReconnectionError','_addKnownRoot','21qNdHOP','isPremiumPlugin','string','_handleReceivedOperations','bind','removeFromReconnectionStack','path','position','$root','CommentsOnly','fromJSON','_waitUntilSynced','getUser','_pendingAction','enableReadOnlyMode','connection','_hasSynchronizationProblem','unregister','lastDocumentSession','stop','15354207GrQQce','createPositionFromPath','lastOperationAcceptedAt','register','_bufferRootLoad','from','suppressErrorInCollaboration','change:hasDomSelection','targetPosition','type','_shouldSendSelectionUpdate','permissions','differ','_decompressOperations','change:_isPendingUpdate','getOperationAuthor','parse','isDocumentOperation','filter','connected','sessionCreatedAt','_document','createPositionAt','_authorId','isUndoneOperation','addRoot','getConnectedSessions','message','collaboration-missing-channelid','destroy','realtimecollaborationclient-init-service-internal-error','move','plugins','slice','__className','real-time-collaboration','listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','setIdForTheLastOperation','wereChangesApplied','affectsData','then','reset','_handleServerResponse','137476gTmkyP','_isLoaded','rtc-destroyed','_compressOperations','clone','_crash','catch','userId','sessionAdd:','_bufferedOperations','_getAffectedRoot','channelSessions','Synchronization\x20issue','stopListening','disableReadOnlyMode','rtc-offline','_refreshUserSelectionMarkers','_isPendingUpdate','operationsReceived','decompress','realtimecollaborationclient-init-session-connection-error','_channelId','RealTimeCollaborationClient','compress','12afDwSc','_setPendingAction','locale','addToReconnectionStack','cs:removeUser','_lastSyncedOperationId','370072AbAkmb','realtimecollaborationclient','realtimecollaborationclient-init-service-incorrect-server-operation','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','409','attributes','off','_initThrowingOnDataSet','_handleReconnectionResponse','_knownOperations','6NlcqtK','map','isOfficialPlugin','change:_isEditingAllowed','getRoot','404','_initSessionsHandling','_knownRootNames','version','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','22hypVTf','_ignoredOperations','batch','8466530JsOysS','createRange','_hasSelectionChanged','entries','_updateServerHistory','history','init','_lastServerVersion','model','InsertOperation','Notification','_applyOperationsSet','addUser','rootName','realtimecollaborationclient-sendbufferedoperations','_service','593148keUYJo','_handleExternalOperations','getIdOfTheLastOperation','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.','addOperation','start','affectedSelectable','enqueueChange','change:range','return','state','sessionId','rootsAttributes','_fetchMissingUsers','initData','marker','_disconnectService','markers','_connectAfterSessionHasBeenFlushed','createdAt','data','define','getOperations'];_0x4a30=function(){return _0x15ea31;};return _0x4a30();}function _0x20c1(_0x2267ec,_0x3113ab){const _0x4a3054=_0x4a30();return _0x20c1=function(_0x20c1f6,_0x135f86){_0x20c1f6=_0x20c1f6-0xf2;let _0x3e496e=_0x4a3054[_0x20c1f6];return _0x3e496e;},_0x20c1(_0x2267ec,_0x3113ab);}import{Plugin as _0xda1eea,PendingActions as _0x38c82b}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f0bc6,version as _0x1ef2e6,uid as _0x178034}from'ckeditor5/src/utils.js';import{Notification as _0x2a2da8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x666f29,NoOperation as _0x51eba9,InsertOperation as _0x359b84,MarkerOperation as _0x5a6c80,RootAttributeOperation as _0x4d4db6,OperationFactory as _0x154bf0,History as _0x218c3b}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5f90a4}from'./websocketgateway.js';import{Sessions as _0x838d6b}from'./sessions.js';import{UserMarkers as _0x365f9e}from'./usermarkers.js';import{getTranslation as _0x319fc4}from'../common-translations.js';import{Compressor as _0x2b67ac}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xed9faa}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x12e0d9,CollaborativeEditingService as _0x2a95f8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0xda1eea{static [_0x40afe7(0x1a6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2a95f8)());[_0x40afe7(0x1c6)];[_0x40afe7(0x179)];[_0x40afe7(0x1a2)];[_0x40afe7(0x13d)];[_0x40afe7(0x16d)];[_0x40afe7(0x111)];[_0x40afe7(0x18f)];[_0x40afe7(0x131)];[_0x40afe7(0x150)];[_0x40afe7(0x158)];[_0x40afe7(0xf5)];[_0x40afe7(0x160)];[_0x40afe7(0x1b7)];[_0x40afe7(0x1d6)];[_0x40afe7(0x186)];[_0x40afe7(0x145)];[_0x40afe7(0x1d0)];[_0x40afe7(0x1cf)];static get[_0x40afe7(0x1e5)](){return[_0x5f90a4,_0x838d6b,_0x365f9e,_0x38c82b,_0xed9faa,_0x2a2da8];}static get[_0x40afe7(0x1e4)](){const _0x3d4648=_0x40afe7;return _0x3d4648(0x13e);}static get[_0x40afe7(0x153)](){return!0x0;}static get[_0x40afe7(0x1f1)](){return!0x0;}get[_0x40afe7(0x1d1)](){const _0x555b64=_0x40afe7;return this[_0x555b64(0x165)]+this[_0x555b64(0x1c6)];}get[_0x40afe7(0x165)](){const _0x47dcc7=_0x40afe7;return this[_0x47dcc7(0x1a2)][_0x47dcc7(0x159)]-this[_0x47dcc7(0x1c6)];}get[_0x40afe7(0x18a)](){const _0x47878d=_0x40afe7,_0x75a03b=this[_0x47878d(0x1a2)][_0x47878d(0x184)]();for(let _0x2c015b=_0x75a03b[_0x47878d(0x1ae)]-0x1;_0x2c015b>=0x0;_0x2c015b--){const _0x1e2711=_0x75a03b[_0x2c015b];if(!this[_0x47878d(0x1d0)][_0x47878d(0x1a0)](_0x1e2711))return _0x1e2711[_0x47878d(0x1b8)]+0x1-this[_0x47878d(0x1c6)];}return 0x0;}constructor(_0x3d5468){const _0x151fc1=_0x40afe7;if(super(_0x3d5468),this[_0x151fc1(0x1c6)]=0x0,this[_0x151fc1(0x179)]=null,this[_0x151fc1(0x1a2)]=new _0x218c3b(),this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x183)](_0x151fc1(0x1c0),{}),this[_0x151fc1(0x13d)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1d3)),!this[_0x151fc1(0x13d)])throw new _0x1f0bc6(_0x151fc1(0x118),this);const _0x5e976e=_0x3d5468[_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1a1))||_0x1ef2e6;this[_0x151fc1(0x16d)]=new RealTimeCollaborationClient[(_0x151fc1(0x1a6))](_0x5e976e,this[_0x151fc1(0x13d)]),this[_0x151fc1(0x111)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x166)][_0x151fc1(0x1cd)],this[_0x151fc1(0x18f)]=new _0x2b67ac(),this[_0x151fc1(0x131)]=[],this[_0x151fc1(0x150)]=new WeakSet(),this[_0x151fc1(0x158)]=new Set(),this[_0x151fc1(0x1c5)](_0x151fc1(0x139),!0x1),this[_0x151fc1(0x1c5)](_0x151fc1(0xf8),!0x1),this[_0x151fc1(0xf5)]=null,this[_0x151fc1(0x160)]=!0x1,this[_0x151fc1(0x1b7)]=null,this[_0x151fc1(0x1d6)]=0x12c,this[_0x151fc1(0x186)]=this[_0x151fc1(0x1d6)],this[_0x151fc1(0x145)]=null,this[_0x151fc1(0x1d0)]=new WeakSet(),this[_0x151fc1(0x1cf)]=new F(this[_0x151fc1(0x1d0)]);}[_0x40afe7(0x164)](){const _0x39ffb1=_0x40afe7,_0x52f683=this[_0x39ffb1(0x1d8)],_0x34b899=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0xed9faa),_0x34dfb4=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0x5f90a4);this[_0x39ffb1(0x120)](_0x34b899,_0x39ffb1(0x10b),(_0x4a994c,_0x59635c)=>{const _0x3fc11e=_0x39ffb1,_0x31fd4d=_0x59635c[0x0];_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=_0x34b899[_0x3fc11e(0xf4)](_0x31fd4d[_0x3fc11e(0x113)]),_0x4a994c[_0x3fc11e(0xfb)]()),null===_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=null,_0x4a994c[_0x3fc11e(0xfb)]());},{'priority':_0x39ffb1(0x19b)}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x166)][_0x39ffb1(0x1cd)][_0x39ffb1(0x18b)],_0x39ffb1(0x176),(_0x4e14b8,_0x47fb37)=>{const _0x614903=_0x39ffb1;_0x47fb37[_0x614903(0x1dd)]&&this[_0x614903(0x138)]();}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x18e)][_0x39ffb1(0x1c7)],_0x39ffb1(0x103),()=>{const _0x487392=_0x39ffb1;this[_0x487392(0x138)]();}),this[_0x39ffb1(0x14e)](),_0x52f683[_0x39ffb1(0x166)]['on'](_0x39ffb1(0x1a4),(_0x4cfe40,_0x30c033)=>{const _0x204edc=_0x39ffb1,_0x3e420c=_0x30c033[0x0];_0x3e420c[_0x204edc(0x10d)]&&(this[_0x204edc(0x1ad)](_0x3e420c),this[_0x204edc(0x1a9)]()&&this[_0x204edc(0x19d)]());}),this[_0x39ffb1(0x1a7)](),this[_0x39ffb1(0x1f4)](_0x39ffb1(0x1cc))['to'](_0x34dfb4,_0x39ffb1(0x178),this,_0x39ffb1(0xf8),(_0x1ae30c,_0x39b910)=>_0x39ffb1(0x10f)===_0x1ae30c&&!_0x39b910),this['on'](_0x39ffb1(0x154),()=>{const _0x4f26b2=_0x39ffb1;this[_0x4f26b2(0x1cc)]?_0x52f683[_0x4f26b2(0x136)](_0x4f26b2(0x137)):_0x52f683[_0x4f26b2(0xf6)](_0x4f26b2(0x137));}),this[_0x39ffb1(0x1cc)]?_0x52f683[_0x39ffb1(0x136)](_0x39ffb1(0x137)):_0x52f683[_0x39ffb1(0xf6)](_0x39ffb1(0x137)),this[_0x39ffb1(0x1c5)](_0x39ffb1(0x1ed),!0x1);}async[_0x40afe7(0x1bf)](){const _0x45a500=_0x40afe7,_0x8660bb=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x838d6b),_0x31d39b=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x5f90a4);try{this[_0x45a500(0x139)]=!0x0,_0x8660bb[_0x45a500(0xf9)](this[_0x45a500(0x13d)]);const _0xbb109f=await this[_0x45a500(0x16d)][_0x45a500(0x1bf)](_0x31d39b[_0x45a500(0xf7)],this[_0x45a500(0x18a)]);await this[_0x45a500(0x14f)](_0xbb109f)&&(this[_0x45a500(0x139)]=!0x1,this[_0x45a500(0x1aa)]());const _0x20c78b=await this[_0x45a500(0x16d)][_0x45a500(0x116)]();_0x8660bb[_0x45a500(0xff)](this[_0x45a500(0x13d)],_0x20c78b),this[_0x45a500(0x1e6)](),this[_0x45a500(0x1ed)]=!0x0;}catch(_0x256c29){if(function(_0xfdbd67){const _0x1bae2f=_0x45a500;return _0x1bae2f(0x156)===_0xfdbd67[_0x1bae2f(0x1dc)];}(_0x256c29)&&this[_0x45a500(0x179)])await this[_0x45a500(0x180)]();else{if(function(_0x11b04f){const _0x8683f1=_0x45a500;return _0x8683f1(0x14b)===_0x11b04f[_0x8683f1(0x1dc)];}(_0x256c29)){const _0x30c037=_0x319fc4(this[_0x45a500(0x1d8)][_0x45a500(0x142)],_0x45a500(0x1e8));this[_0x45a500(0x1ee)](_0x30c037);}else{if(!(_0x256c29 instanceof V))throw _0x256c29;this[_0x45a500(0x1ee)]();}}}}[_0x40afe7(0x119)](){const _0x3ca7eb=_0x40afe7,_0x382e80=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x5f90a4),_0xfcabad=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x838d6b);this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0xf6)](_0x3ca7eb(0x12a)),_0xfcabad[_0x3ca7eb(0x133)][_0x3ca7eb(0x1a0)](this[_0x3ca7eb(0x13d)])&&_0xfcabad[_0x3ca7eb(0xf9)](this[_0x3ca7eb(0x13d)]),_0x382e80[_0x3ca7eb(0x1f5)](this),this[_0x3ca7eb(0x17e)](),super[_0x3ca7eb(0x119)]();}async[_0x40afe7(0x14f)](_0x5e5ff2){const _0x1c8f6e=_0x40afe7;if(this[_0x1c8f6e(0x179)]!==_0x5e5ff2[_0x1c8f6e(0x179)]&&this[_0x1c8f6e(0x145)]!==_0x5e5ff2[_0x1c8f6e(0x1d4)])throw new V();return this[_0x1c8f6e(0x179)]=_0x5e5ff2[_0x1c8f6e(0x179)],this[_0x1c8f6e(0x127)]([],{..._0x5e5ff2,'wereChangesApplied':!0x1,'data':_0x5e5ff2[_0x1c8f6e(0x182)]},_0x1c8f6e(0x1bf));}async[_0x40afe7(0x1ce)](_0x39a1b4,_0x1f7aa3=!0x1){const _0x31fcef=_0x40afe7,{connection:_0x5d3423}=this[_0x31fcef(0x1d8)][_0x31fcef(0x11c)][_0x31fcef(0x199)](_0x5f90a4);RealTimeCollaborationClient[_0x31fcef(0x1a6)][_0x31fcef(0x116)](_0x5d3423,this[_0x31fcef(0x13d)])[_0x31fcef(0x125)](_0x1cbc6f=>this[_0x31fcef(0x157)](_0x1cbc6f))[_0x31fcef(0x12e)](_0x1f929f=>{const _0x2dafc4=_0x31fcef;this[_0x2dafc4(0x12d)](_0x2dafc4(0x13c),_0x1f929f);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x13a),this[_0x31fcef(0x1f3)][_0x31fcef(0x1f4)](this)),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x1e3),(_0x2ca13a,_0xc611ed)=>{const _0x19b0a9=_0x31fcef;this[_0x19b0a9(0x12d)](_0x19b0a9(0x11a),_0xc611ed);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x189),()=>{const _0xc3f093=_0x31fcef;this[_0xc3f093(0x1ed)]=!0x1;});const _0x3eb28e=this[_0x31fcef(0x1cf)][_0x31fcef(0x170)](_0x39a1b4);this[_0x31fcef(0x139)]=!0x0;const _0x4058fa=await this[_0x31fcef(0x16d)][_0x31fcef(0x18d)](_0x5d3423,this[_0x31fcef(0x12b)](_0x39a1b4),_0x3eb28e);if(this[_0x31fcef(0x179)]=_0x4058fa[_0x31fcef(0x179)],_0x1f7aa3){if(!_0x4058fa[_0x31fcef(0x123)])return void this[_0x31fcef(0x1ee)]();this[_0x31fcef(0x139)]=!0x1,this[_0x31fcef(0x1aa)](),this[_0x31fcef(0x1a2)][_0x31fcef(0x126)](),this[_0x31fcef(0x1c6)]=_0x4058fa[_0x31fcef(0x1e0)],this[_0x31fcef(0x1a2)][_0x31fcef(0x159)]=this[_0x31fcef(0x1c6)],await this[_0x31fcef(0x127)](_0x39a1b4,_0x4058fa,_0x31fcef(0x1b4));}else await this[_0x31fcef(0x1b5)](_0x4058fa,_0x39a1b4);this[_0x31fcef(0x1e6)](),this[_0x31fcef(0x1ed)]=!0x0;}[_0x40afe7(0x1e6)](){const _0x2ad28e=_0x40afe7,_0x4d8d8b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x838d6b),_0x20924b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x365f9e),_0x579db9=_0x4d8d8b[_0x2ad28e(0x133)][_0x2ad28e(0x199)](this[_0x2ad28e(0x13d)]);_0x579db9&&_0x579db9[_0x2ad28e(0x1ae)]>0x1?_0x20924b[_0x2ad28e(0x188)]():this[_0x2ad28e(0x120)](_0x4d8d8b,_0x2ad28e(0x130)+this[_0x2ad28e(0x13d)],()=>{const _0x3c96df=_0x2ad28e;0x2===_0x4d8d8b[_0x3c96df(0x133)][_0x3c96df(0x199)](this[_0x3c96df(0x13d)])[_0x3c96df(0x1ae)]&&_0x20924b[_0x3c96df(0x188)]();});}async[_0x40afe7(0x1f3)](_0x102ab3,_0x5666fc,_0x552b70,_0xc0282c){const _0x2bcbc7=_0x40afe7;if(!this[_0x2bcbc7(0x139)]&&this[_0x2bcbc7(0x111)][_0x2bcbc7(0x159)]==_0x5666fc){const _0x2fdbb4=this[_0x2bcbc7(0x109)](_0x552b70,_0xc0282c);await this[_0x2bcbc7(0x17b)](_0x2fdbb4),this[_0x2bcbc7(0x16f)](_0x2fdbb4,_0x5666fc,_0x552b70[_0x2bcbc7(0x1d4)])||this[_0x2bcbc7(0x12d)](_0x2bcbc7(0x148));}}async[_0x40afe7(0x180)](){const _0x1dfbec=_0x40afe7;this[_0x1dfbec(0x17e)]();const {locale:_0x58e9b3}=this[_0x1dfbec(0x1d8)];let _0x3c8507;try{_0x3c8507=await this[_0x1dfbec(0x16d)][_0x1dfbec(0x1b0)]();}catch{const _0x399552=_0x319fc4(_0x58e9b3,_0x1dfbec(0x15a));return void this[_0x1dfbec(0x1ee)](_0x399552);}const _0x47027b=_0x3c8507[_0x1dfbec(0x190)]||_0x3c8507[_0x1dfbec(0xfa)];if(this[_0x1dfbec(0x145)]!==_0x47027b[_0x1dfbec(0x1d4)]){const _0x8933c5=_0x319fc4(_0x58e9b3,_0x1dfbec(0x171));return void this[_0x1dfbec(0x1ee)](_0x8933c5);}await this[_0x1dfbec(0x1ce)](this[_0x1dfbec(0x1d8)][_0x1dfbec(0x166)][_0x1dfbec(0x1cd)][_0x1dfbec(0x163)][_0x1dfbec(0x184)](),!0x0);}[_0x40afe7(0x17e)](){const _0x10fb69=_0x40afe7;this[_0x10fb69(0x16d)][_0x10fb69(0x1ab)](),this[_0x10fb69(0x131)]=[],clearTimeout(this[_0x10fb69(0x1b7)]),this[_0x10fb69(0x135)](this[_0x10fb69(0x16d)]);}[_0x40afe7(0x157)](_0x48e028){const _0x5391c8=_0x40afe7,_0x56e53f=this[_0x5391c8(0x1d8)][_0x5391c8(0x11c)][_0x5391c8(0x199)](_0x838d6b);this[_0x5391c8(0x120)](_0x56e53f,_0x5391c8(0x130)+this[_0x5391c8(0x13d)],(_0x1ffc9c,{session:_0x35785c})=>{const _0x24d250=_0x5391c8;if(_0x35785c['id']===_0x56e53f[_0x24d250(0x1b2)]){_0x1ffc9c[_0x24d250(0x14d)]();const _0x570699=this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x1a0)](_0x24d250(0x1f9))&&this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1f9));let _0x2442d0=_0x35785c[_0x24d250(0x107)];_0x570699&&_0x570699[_0x24d250(0x1bb)]&&(_0x2442d0=_0x2442d0[_0x24d250(0x10e)](_0x52bf3c=>_0x24d250(0x1a5)!==_0x52bf3c)),this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1b1))[_0x24d250(0x1b6)](_0x2442d0,this[_0x24d250(0x13d)]);}}),_0x56e53f[_0x5391c8(0xff)](this[_0x5391c8(0x13d)],_0x48e028);}[_0x40afe7(0x14e)](){const _0x2904f0=_0x40afe7,_0x23a92b=this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)];this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)]=(..._0x1467b9)=>{const _0x5ccbf2=_0x2904f0;if(!_0x1467b9[_0x1467b9[_0x5ccbf2(0x1ae)]-0x1][_0x5ccbf2(0x102)])throw new _0x1f0bc6(_0x5ccbf2(0x121),this);_0x23a92b[_0x5ccbf2(0x19f)](this[_0x5ccbf2(0x1d8)][_0x5ccbf2(0x182)],_0x1467b9);};}[_0x40afe7(0x1a7)](){const _0x5a6637=_0x40afe7;this[_0x5a6637(0x1d8)][_0x5a6637(0x182)]['on'](_0x5a6637(0x164),(_0x1b827b,[_0x2936a7])=>{const _0x58082f=_0x5a6637;if(this[_0x58082f(0x111)][_0x58082f(0x159)])throw new _0x1f0bc6(_0x58082f(0x1b3),this);_0x1b827b[_0x58082f(0xfb)](),this[_0x58082f(0x141)]();const _0x397759=this[_0x58082f(0x1d8)][_0x58082f(0x1ca)][_0x58082f(0x199)](_0x58082f(0x17a)),_0x3b0bf3=this[_0x58082f(0x1df)](_0x2936a7,_0x397759);0x0==_0x3b0bf3[_0x58082f(0x1ae)]&&_0x3b0bf3[_0x58082f(0x193)](new _0x51eba9(0x0)),_0x1b827b[_0x58082f(0x177)]=this[_0x58082f(0x1ce)](_0x3b0bf3)[_0x58082f(0x125)](()=>{const _0x30d483=_0x58082f;this[_0x30d483(0x1d8)][_0x30d483(0x11c)][_0x30d483(0x199)](_0x5f90a4)[_0x30d483(0x143)](this),this[_0x30d483(0x1d8)][_0x30d483(0x182)][_0x30d483(0x191)](_0x30d483(0x19a));})[_0x58082f(0x12e)](_0x1e5115=>this[_0x58082f(0x12d)](_0x58082f(0x1bd),_0x1e5115))[_0x58082f(0x197)](()=>this[_0x58082f(0x1aa)]());},{'priority':_0x5a6637(0x19b)}),this[_0x5a6637(0x1d8)]['on'](_0x5a6637(0x18c),async(_0xac0fc3,[_0x2f470e,_0x458db5])=>{const _0xbf8c99=_0x5a6637;_0xac0fc3[_0xbf8c99(0xfb)]();const _0x145437=this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x1cd)][_0xbf8c99(0x155)](_0x2f470e);if(!this[_0xbf8c99(0x158)][_0xbf8c99(0x1a0)](_0x2f470e)){const _0x2774ee=_0x458db5&&_0x458db5[_0xbf8c99(0x182)]?_0x458db5[_0xbf8c99(0x182)]:'',_0xf7c90d=_0x458db5&&_0x458db5[_0xbf8c99(0x14c)]?_0x458db5[_0xbf8c99(0x14c)]:{};await this[_0xbf8c99(0x194)](_0x2f470e,_0x2774ee,_0xf7c90d);}this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x175)]({'isUndoable':!0x1},()=>{const _0x4c43db=_0xbf8c99;_0x145437[_0x4c43db(0x129)]=!0x0,this[_0x4c43db(0x1d8)][_0x4c43db(0x166)][_0x4c43db(0x1cd)][_0x4c43db(0x108)][_0x4c43db(0x100)](_0x145437);});},{'priority':_0x5a6637(0x19b)});}async[_0x40afe7(0x17b)](_0x122f7b){const _0xcf49bf=_0x40afe7,_0x1c91f1=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0xed9faa),{connection:_0x21edf0}=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0x5f90a4),_0x12c8dc=new Set();for(const _0x3c55db of _0x122f7b){const _0x42aa5f=_0x3c55db[_0xcf49bf(0x113)];_0x42aa5f&&!_0x1c91f1[_0xcf49bf(0xf4)](_0x42aa5f)&&_0x12c8dc[_0xcf49bf(0x1ea)](_0x42aa5f);}if(0x0===_0x12c8dc[_0xcf49bf(0x1e9)])return;const _0x3fea17=await _0x12e0d9[_0xcf49bf(0x1ac)](_0x21edf0,Array[_0xcf49bf(0x101)](_0x12c8dc));for(const _0x1f5508 of _0x3fea17)_0x1c91f1[_0xcf49bf(0xf4)](_0x1f5508['id'])||_0x1c91f1[_0xcf49bf(0x16a)](_0x1f5508);}[_0x40afe7(0x1df)](_0x4b7718,_0x237df4={}){const _0x53cc66=_0x40afe7,_0x49df44=this[_0x53cc66(0x1d8)][_0x53cc66(0x166)],_0x19341d=[];let _0x4dd7eb=0x0;const _0x2cc626=_0x53cc66(0x1f2)==typeof _0x4b7718?{'main':_0x4b7718}:_0x4b7718;for(const _0x1ee3b5 of Object[_0x53cc66(0x1b9)](_0x2cc626)){if(!this[_0x53cc66(0x111)][_0x53cc66(0x1d2)][_0x53cc66(0x1a0)](_0x1ee3b5))throw new _0x1f0bc6(_0x53cc66(0x1bc),this);const _0x10b946=this[_0x53cc66(0x1d8)][_0x53cc66(0x182)][_0x53cc66(0x10c)](_0x2cc626[_0x1ee3b5]),_0x336219=this[_0x53cc66(0x111)][_0x53cc66(0x155)](_0x1ee3b5),_0x1c73a6=new _0x359b84(_0x49df44[_0x53cc66(0x112)](_0x336219,0x0),_0x10b946,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x1c73a6);for(const [_0x6f4352,_0x5903cc]of _0x10b946[_0x53cc66(0x17f)]){const _0x3202a9=_0x49df44[_0x53cc66(0x15f)](_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x173)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]()),_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x1c4)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]())),_0x826255=new _0x5a6c80(_0x6f4352,null,_0x3202a9,_0x49df44[_0x53cc66(0x17f)],!0x0,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x826255);}}if(_0x237df4)for(const [_0x4f986e,_0x12f427]of Object[_0x53cc66(0x161)](_0x237df4)){const _0x224fc6=_0x49df44[_0x53cc66(0x1cd)][_0x53cc66(0x155)](_0x4f986e);if(!_0x224fc6)throw new _0x1f0bc6(_0x53cc66(0x1af),null);for(const [_0x3a5105,_0x9d91e1]of Object[_0x53cc66(0x161)](_0x12f427))if(null!==_0x9d91e1){const _0x48995d=new _0x4d4db6(_0x224fc6,_0x3a5105,null,_0x9d91e1,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x48995d);}}return _0x19341d;}async[_0x40afe7(0x194)](_0x1192cb,_0x3a59dd,_0x3028f9){const _0x1a2ed0=_0x40afe7;this[_0x1a2ed0(0x1df)]({[_0x1192cb]:_0x3a59dd},{[_0x1192cb]:_0x3028f9})[_0x1a2ed0(0x1d7)]((_0x44c08e,_0x2db395)=>{const _0x5e5dd9=_0x1a2ed0;_0x44c08e[_0x5e5dd9(0x1b8)]=this[_0x5e5dd9(0x111)][_0x5e5dd9(0x159)]+_0x2db395,_0x44c08e[_0x5e5dd9(0x1de)]=!0x0,this[_0x5e5dd9(0x1ad)](_0x44c08e);}),this[_0x1a2ed0(0x19d)](),await this[_0x1a2ed0(0xf3)]();}async[_0x40afe7(0x1b5)](_0x39e4d7,_0x35df2c){const _0x32162b=_0x40afe7;let _0x5c8614;this[_0x32162b(0x1c6)]=_0x39e4d7[_0x32162b(0x1e0)];const _0x15300b=_0x39e4d7[_0x32162b(0x123)]&&!_0x39e4d7[_0x32162b(0x17c)],_0x4379ee=_0x15300b?0x0:_0x39e4d7[_0x32162b(0x182)][_0x32162b(0x1b8)];if(_0x35df2c[_0x32162b(0x1d7)](_0x258454=>{const _0x53d959=_0x32162b;_0x258454[_0x53d959(0x1de)]=!0x0,_0x258454[_0x53d959(0x181)]=_0x39e4d7[_0x53d959(0x110)],_0x258454[_0x53d959(0x113)]=null;}),_0x15300b)_0x5c8614=_0x35df2c,this[_0x32162b(0x169)](_0x5c8614,_0x15300b);else{if(_0x39e4d7[_0x32162b(0x17c)]){const _0x1ba605=this[_0x32162b(0x1df)](_0x39e4d7[_0x32162b(0x17c)]);this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)],_0x1ba605[_0x32162b(0x1d7)](_0x28596b=>{const _0x35a630=_0x32162b;_0x28596b[_0x35a630(0x1b8)]-=_0x1ba605[_0x35a630(0x1ae)],_0x28596b[_0x35a630(0x181)]=_0x39e4d7[_0x35a630(0x110)],_0x28596b[_0x35a630(0x1de)]=!0x0,_0x28596b[_0x35a630(0x113)]=null;}),this[_0x32162b(0x169)](_0x1ba605,!0x0),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)]+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x1ba605);}this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=_0x4379ee,_0x5c8614=this[_0x32162b(0x109)](_0x39e4d7[_0x32162b(0x182)],_0x39e4d7[_0x32162b(0x192)]),await this[_0x32162b(0x17b)](_0x5c8614),this[_0x32162b(0x169)](_0x5c8614,_0x15300b);}_0x39e4d7[_0x32162b(0x1d4)]&&(this[_0x32162b(0x1cf)][_0x32162b(0x122)](_0x5c8614,_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x145)]=_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=_0x4379ee+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x5c8614),_0x35df2c[_0x32162b(0x10e)](_0x44ec75=>{const _0x570275=_0x32162b,_0x548e93=this[_0x570275(0x132)](_0x44ec75);return _0x548e93&&!this[_0x570275(0x158)][_0x570275(0x1a0)](_0x548e93);})[_0x32162b(0x1d7)]((_0x3c48ff,_0x58f021)=>{const _0x96a6bf=_0x32162b;_0x3c48ff[_0x96a6bf(0x1b8)]=this[_0x96a6bf(0x111)][_0x96a6bf(0x159)]+_0x58f021,this[_0x96a6bf(0x1ad)](_0x3c48ff);}),this[_0x32162b(0x1a9)]()?(this[_0x32162b(0x186)]=0x0,this[_0x32162b(0x19d)](!0x0),await this[_0x32162b(0xf3)]()):(this[_0x32162b(0x139)]=!0x1,this[_0x32162b(0x1aa)]());}[_0x40afe7(0x12d)](_0x5c23d5,_0x320552){const _0x355210=_0x40afe7,_0x1d883d=_0x320552&&_0x320552[_0x355210(0x117)];if(_0x1d883d&&_0x1d883d[_0x355210(0x1e1)](_0x355210(0x147)))throw _0x320552;const _0x2d59aa=this[_0x355210(0x1d8)][_0x355210(0x11c)][_0x355210(0x199)](_0x5f90a4);throw this[_0x355210(0x139)]=!0x0,_0x2d59aa[_0x355210(0x1ab)](),this[_0x355210(0x1d8)][_0x355210(0xf6)](_0x355210(0x1c3)),new _0x1f0bc6(_0x5c23d5,this[_0x355210(0x1d8)],_0x1d883d?{'originalError':_0x1d883d}:void 0x0);}[_0x40afe7(0x1ad)](_0x2af447){const _0x475e6f=_0x40afe7;this[_0x475e6f(0x150)][_0x475e6f(0x1a0)](_0x2af447)||(this[_0x475e6f(0x150)][_0x475e6f(0x1ea)](_0x2af447),this[_0x475e6f(0x131)][_0x475e6f(0x193)](_0x2af447),this[_0x475e6f(0xf5)]||_0x475e6f(0x17d)==_0x2af447[_0x475e6f(0x105)]&&!_0x2af447[_0x475e6f(0x124)]||this[_0x475e6f(0x141)]());}[_0x40afe7(0x19d)](_0x238808=!0x1){const _0x50a3a4=_0x40afe7;!_0x238808&&this[_0x50a3a4(0x139)]||(this[_0x50a3a4(0x139)]=!0x0,clearTimeout(this[_0x50a3a4(0x1b7)]),this[_0x50a3a4(0x1b7)]=setTimeout(()=>{const _0x1d5986=_0x50a3a4;this[_0x1d5986(0x1cb)]()[_0x1d5986(0x125)](_0xa0f160=>{const _0x42242c=_0x1d5986;_0xa0f160&&(this[_0x42242c(0x1aa)](),this[_0x42242c(0x139)]=!0x1);})[_0x1d5986(0x12e)](_0x140a42=>{const _0xe337cd=_0x1d5986;this[_0xe337cd(0x1aa)](),this[_0xe337cd(0x139)]=!0x1,function(_0x53d4d2){const _0x28d888=_0xe337cd;return _0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1e7))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x14a))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1c2));}(_0x140a42)||this[_0xe337cd(0x12d)](_0x140a42[_0xe337cd(0x117)],_0x140a42);});},this[_0x50a3a4(0x186)]));}[_0x40afe7(0xf3)](){return new Promise(_0x24b78e=>{const _0x560a06=_0x20c1;this['on'](_0x560a06(0x10a),()=>{_0x24b78e();});});}async[_0x40afe7(0x1cb)](){const _0x3938b6=_0x40afe7,_0x34094d=this[_0x3938b6(0x1d8)][_0x3938b6(0x11c)][_0x3938b6(0x199)](_0x365f9e);if(this[_0x3938b6(0x106)]()&&(_0x34094d[_0x3938b6(0x188)](),this[_0x3938b6(0x160)]=!0x1),!this[_0x3938b6(0x1a9)]())return!0x0;const _0x438c3f=[...this[_0x3938b6(0x131)]];for(const _0x1350fd of _0x438c3f)_0x1350fd[_0x3938b6(0x1db)]=this[_0x3938b6(0x111)][_0x3938b6(0x163)][_0x3938b6(0x114)](_0x1350fd);const _0x45b79c=this[_0x3938b6(0x1cf)][_0x3938b6(0x170)](_0x438c3f),_0x485ad0=H++,_0x45944e=this[_0x3938b6(0x12b)](_0x438c3f),_0x329013=await this[_0x3938b6(0x16d)][_0x3938b6(0x1d9)](_0x45944e,_0x45944e[_0x3938b6(0x1b8)],_0x45b79c);try{return await this[_0x3938b6(0x127)](_0x438c3f,_0x329013,_0x485ad0);}catch(_0x120fe8){return this[_0x3938b6(0x12d)](_0x3938b6(0x16c),_0x120fe8);}}async[_0x40afe7(0x127)](_0x76efac,_0x1c905e,_0x1d6e22){const _0x1c547a=_0x40afe7;if(_0x1c547a(0x1e3)in _0x1c905e)throw _0x1c905e[_0x1c547a(0x1e3)];let _0x36f87a=!0x1;if(_0x1c905e[_0x1c547a(0x123)]){_0x1c905e[_0x1c547a(0x1d4)]&&(this[_0x1c547a(0x145)]=_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x1921e4=>!_0x76efac[_0x1c547a(0x187)](_0x1921e4));for(const _0x4d0bf0 of _0x76efac)_0x4d0bf0[_0x1c547a(0x181)]=_0x1c547a(0xfe)in _0x1c905e&&_0x1c905e[_0x1c547a(0xfe)]||void 0x0;W(_0x76efac,_0x1c905e[_0x1c547a(0x159)]-_0x76efac[_0x1c547a(0x1ae)]),this[_0x1c547a(0x162)](_0x76efac);const _0x1c47a5=_0x76efac[_0x1c547a(0x10e)](_0x4852b3=>{const _0x54d7c4=_0x1c547a;if(!_0x4852b3[_0x54d7c4(0x1de)])return!0x1;const _0x3a92ee=this[_0x54d7c4(0x132)](_0x4852b3);return _0x3a92ee&&!this[_0x54d7c4(0x158)][_0x54d7c4(0x1a0)](_0x3a92ee);});W(_0x1c47a5,this[_0x1c547a(0x111)][_0x1c547a(0x159)]),this[_0x1c547a(0x169)](_0x1c47a5),_0x36f87a=!0x0,this[_0x1c547a(0x186)]=this[_0x1c547a(0x1d6)];}else{const _0x4d0b99=this[_0x1c547a(0x109)](_0x1c905e[_0x1c547a(0x182)],_0x1c905e[_0x1c547a(0x192)])[_0x1c547a(0x10e)](_0x3cc581=>_0x3cc581[_0x1c547a(0x1b8)]>=this[_0x1c547a(0x165)]);_0x4d0b99[_0x1c547a(0x1d7)](_0x471059=>this[_0x1c547a(0x1ef)](_0x471059)),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x3f6bd9=>!_0x3f6bd9[_0x1c547a(0x1de)]||!this[_0x1c547a(0x158)][_0x1c547a(0x1a0)](this[_0x1c547a(0x132)](_0x3f6bd9))),this[_0x1c547a(0x131)][_0x1c547a(0x1ae)]&&W(this[_0x1c547a(0x131)],this[_0x1c547a(0x131)][0x0][_0x1c547a(0x1b8)]),await this[_0x1c547a(0x17b)](_0x4d0b99),_0x36f87a=this[_0x1c547a(0x16f)](_0x4d0b99,_0x1c905e[_0x1c547a(0x159)],_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x186)]=Math[_0x1c547a(0x149)](this[_0x1c547a(0x186)]/0x2);}return _0x36f87a?!this[_0x1c547a(0x1a9)]()||(this[_0x1c547a(0x19d)](!0x0),!0x1):this[_0x1c547a(0x12d)](_0x1c547a(0x196));}[_0x40afe7(0x16f)](_0x1355ab,_0x13c94a,_0x257b5c){const _0x537850=_0x40afe7;try{const _0x50d0b1={'document':this[_0x537850(0x111)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd79199,operationsB:_0x26ff37,originalOperations:_0x4b3a29}=_0x666f29(_0x1355ab,this[_0x537850(0x131)],_0x50d0b1);W(_0xd79199,this[_0x537850(0x111)][_0x537850(0x159)]),W(_0x26ff37,_0x13c94a);for(const _0x32dcf3 of _0xd79199){const _0x3959cc=_0x4b3a29[_0x537850(0x199)](_0x32dcf3);_0x32dcf3[_0x537850(0x113)]=_0x3959cc?_0x3959cc[_0x537850(0x113)]:null;}_0x257b5c&&(this[_0x537850(0x1cf)][_0x537850(0x122)](_0x1355ab,_0x257b5c),this[_0x537850(0x145)]=_0x257b5c),this[_0x537850(0x131)]=[..._0x26ff37],this[_0x537850(0x169)](_0xd79199),this[_0x537850(0x162)](_0x1355ab);}catch(_0x5117ef){return console[_0x537850(0x1e3)](_0x5117ef),!0x1;}return!0x0;}[_0x40afe7(0x169)](_0x2cfda7,_0xf10a2d=!0x1){const _0x52571a=_0x40afe7;this[_0x52571a(0x1d8)][_0x52571a(0x166)][_0x52571a(0x175)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2eff45=>{const _0x94224b=_0x52571a;for(const _0x18e43d of _0x2cfda7)this[_0x94224b(0x150)][_0x94224b(0x1ea)](_0x18e43d),this[_0x94224b(0x1ef)](_0x18e43d),_0x2eff45[_0x94224b(0x15d)][_0x94224b(0x172)](_0x18e43d),this[_0x94224b(0x1d8)][_0x94224b(0x166)][_0x94224b(0x1a4)](_0x18e43d);});}[_0x40afe7(0x1ef)](_0x45e3ac){const _0x1cfa1f=_0x40afe7,_0x4b76a1=this[_0x1cfa1f(0x132)](_0x45e3ac);_0x4b76a1&&this[_0x1cfa1f(0x158)][_0x1cfa1f(0x1ea)](_0x4b76a1);}[_0x40afe7(0x132)](_0x450c8c){const _0x104a6e=_0x40afe7;let _0x3fe3f7,_0x87761d;switch(_0x450c8c[_0x104a6e(0x105)]){case _0x104a6e(0x185):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1f7)][_0x104a6e(0x1d5)];break;case _0x104a6e(0x17d):if(_0x87761d=_0x450c8c[_0x104a6e(0x198)],!_0x87761d)return null;_0x3fe3f7=_0x87761d[_0x104a6e(0x1d5)];break;case _0x104a6e(0x19e):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1d5)];break;case _0x104a6e(0x115):_0x3fe3f7=_0x450c8c[_0x104a6e(0x174)];break;case _0x104a6e(0x11b):_0x3fe3f7=_0x450c8c[_0x104a6e(0x104)][_0x104a6e(0x1d5)];break;default:return null;}return _0x3fe3f7[_0x104a6e(0x16b)];}[_0x40afe7(0x162)](_0x5dc4b1){const _0x428c18=_0x40afe7;_0x5dc4b1[_0x428c18(0x1d7)](_0x4466a4=>{const _0x2a5bbf=_0x428c18,_0x516752=_0x4466a4[_0x2a5bbf(0x12c)]();_0x516752[_0x2a5bbf(0x113)]=_0x4466a4[_0x2a5bbf(0x113)],_0x516752[_0x2a5bbf(0x1de)]=!!_0x4466a4[_0x2a5bbf(0x1de)],_0x516752[_0x2a5bbf(0x181)]=_0x4466a4[_0x2a5bbf(0x181)],_0x516752[_0x2a5bbf(0x1b8)]+=this[_0x2a5bbf(0x1c6)],_0x4466a4[_0x2a5bbf(0x1ec)]&&this[_0x2a5bbf(0x1d0)][_0x2a5bbf(0x1ea)](_0x516752),this[_0x2a5bbf(0x1a2)][_0x2a5bbf(0x172)](_0x516752);});}[_0x40afe7(0x1ee)](_0x22b1e4){const _0x318059=_0x40afe7,_0x2a4f28=this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x318059(0x168)),_0x17b054=this[_0x318059(0x1d8)][_0x318059(0x142)];_0x22b1e4||(_0x22b1e4=_0x319fc4(_0x17b054,_0x318059(0x1e2))),_0x2a4f28[_0x318059(0x1eb)](_0x22b1e4,{'title':_0x319fc4(_0x17b054,_0x318059(0x134)),'namespace':_0x318059(0x11f)}),this[_0x318059(0xf8)]=!0x0,clearTimeout(this[_0x318059(0x1b7)]),this[_0x318059(0x131)]=[],this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x5f90a4)[_0x318059(0x1ab)]();}[_0x40afe7(0x141)](){const _0x287b25=_0x40afe7;this[_0x287b25(0xf5)]||(this[_0x287b25(0xf5)]=this[_0x287b25(0x1d8)][_0x287b25(0x11c)][_0x287b25(0x199)](_0x38c82b)[_0x287b25(0x1ea)](_0x319fc4(this[_0x287b25(0x1d8)][_0x287b25(0x142)],_0x287b25(0x1a8))));}[_0x40afe7(0x1aa)](){const _0x4430f7=_0x40afe7;this[_0x4430f7(0xf5)]&&(this[_0x4430f7(0x1d8)][_0x4430f7(0x11c)][_0x4430f7(0x199)](_0x38c82b)[_0x4430f7(0x195)](this[_0x4430f7(0xf5)]),this[_0x4430f7(0xf5)]=null);}[_0x40afe7(0x12b)](_0x1791d0){const _0x5e769e=_0x40afe7,_0x18f9a2=_0x1791d0[_0x5e769e(0x152)](_0x271d8e=>_0x271d8e[_0x5e769e(0x1a3)]());return this[_0x5e769e(0x18f)][_0x5e769e(0x13f)](_0x18f9a2);}[_0x40afe7(0x109)](_0x3e6519,_0x47cf47){const _0x525157=_0x40afe7;return this[_0x525157(0x18f)][_0x525157(0x13b)](_0x3e6519)[_0x525157(0x152)]((_0x5b84bd,_0x1d7272)=>{const _0xe195d0=_0x525157,_0x1f8510=_0xe195d0(0x164)==_0x47cf47[_0x1d7272][_0xe195d0(0x105)];if(_0xe195d0(0x167)==_0x5b84bd[_0xe195d0(0x11e)]){const _0x36d2de=_0x5b84bd[_0xe195d0(0x1f7)][_0xe195d0(0x1d5)];!this[_0xe195d0(0x111)][_0xe195d0(0x155)](_0x36d2de)&&(this[_0xe195d0(0x111)][_0xe195d0(0x1c1)](_0xe195d0(0x1f8),_0x36d2de)[_0xe195d0(0x19c)]=!0x1);}const _0x7889bc=_0x154bf0[_0xe195d0(0xf2)](_0x5b84bd,this[_0xe195d0(0x111)]);return _0x7889bc[_0xe195d0(0x1db)]=_0x5b84bd[_0xe195d0(0x1db)],_0x7889bc[_0xe195d0(0x1de)]=_0x1f8510,_0x7889bc[_0xe195d0(0x113)]=_0x1f8510?null:_0x47cf47[_0x1d7272][_0xe195d0(0x12f)],_0x7889bc[_0xe195d0(0x1ec)]=_0xe195d0(0x144)===_0x47cf47[_0x1d7272][_0xe195d0(0x105)],_0x7889bc[_0xe195d0(0x181)]=_0x47cf47[_0x1d7272][_0xe195d0(0x181)],_0x7889bc;});}[_0x40afe7(0x138)](){const _0x3ca1e5=_0x40afe7;this[_0x3ca1e5(0x160)]=!0x0,this[_0x3ca1e5(0x106)]()?this[_0x3ca1e5(0x19d)]():this[_0x3ca1e5(0x160)]=!0x1;}[_0x40afe7(0x106)](){const _0x4d357c=_0x40afe7,_0x4dde4c=this[_0x4d357c(0x1d8)][_0x4d357c(0x11c)][_0x4d357c(0x199)](_0x838d6b)[_0x4d357c(0x133)][_0x4d357c(0x199)](this[_0x4d357c(0x13d)]);return!this[_0x4d357c(0x1d8)][_0x4d357c(0x1be)]&&!!_0x4dde4c&&_0x4dde4c[_0x4d357c(0x1ae)]>0x1&&this[_0x4d357c(0x160)];}[_0x40afe7(0x1a9)](){const _0x53c1a0=_0x40afe7;return this[_0x53c1a0(0x131)][_0x53c1a0(0x1ae)]>0x0||this[_0x53c1a0(0x106)]();}}class V extends Error{}function W(_0x73d027,_0x554e20){const _0x411d55=_0x40afe7;for(const _0x21da6f of _0x73d027)_0x21da6f[_0x411d55(0x1b8)]=_0x554e20++;}class F{[_0x40afe7(0x15c)];[_0x40afe7(0x1ba)];constructor(_0x62b4cd){const _0x462326=_0x40afe7;this[_0x462326(0x15c)]=_0x62b4cd,this[_0x462326(0x1ba)]=new WeakMap();}[_0x40afe7(0x170)](_0x4ff081){const _0x1d4c28=_0x40afe7;let _0x22bbec=_0x4ff081[_0x1d4c28(0x1ae)];for(;_0x22bbec--;){const _0x20d307=_0x4ff081[_0x22bbec];if(!this[_0x1d4c28(0x15c)][_0x1d4c28(0x1a0)](_0x20d307)){if(!this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1a0)](_0x20d307)){const _0x7c2a1a=_0x178034()[_0x1d4c28(0x11d)](0x1,0x12);this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1c5)](_0x20d307,_0x7c2a1a);}return this[_0x1d4c28(0x1ba)][_0x1d4c28(0x199)](_0x20d307);}}}[_0x40afe7(0x122)](_0x3d3589,_0x120385){const _0x4f58c2=_0x40afe7;if(!_0x120385)return;let _0xd2845b=_0x3d3589[_0x4f58c2(0x1ae)];for(;_0xd2845b--;){const _0x370be9=_0x3d3589[_0xd2845b];this[_0x4f58c2(0x15c)][_0x4f58c2(0x1a0)](_0x370be9)||this[_0x4f58c2(0x1ba)][_0x4f58c2(0x1c5)](_0x370be9,_0x120385);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x524fdf=_0x48d3;(function(_0x5d3792,_0x2278e3){const _0x48ee0d=_0x48d3,_0x516941=_0x5d3792();while(!![]){try{const _0xcc2a0f=parseInt(_0x48ee0d(0x11e))/0x1+-parseInt(_0x48ee0d(0x132))/0x2+-parseInt(_0x48ee0d(0x14a))/0x3*(-parseInt(_0x48ee0d(0x11b))/0x4)+-parseInt(_0x48ee0d(0x143))/0x5+-parseInt(_0x48ee0d(0x12c))/0x6+-parseInt(_0x48ee0d(0x134))/0x7*(parseInt(_0x48ee0d(0x12f))/0x8)+parseInt(_0x48ee0d(0x145))/0x9;if(_0xcc2a0f===_0x2278e3)break;else _0x516941['push'](_0x516941['shift']());}catch(_0x2ea8c8){_0x516941['push'](_0x516941['shift']());}}}(_0xced8,0x40cc1));import{ContextPlugin as _0x25f8e9}from'ckeditor5/src/core.js';import{Collection as _0x313318,CKEditorError as _0x2a546e}from'ckeditor5/src/utils.js';function _0xced8(){const _0x4a94ef=['sessions-unregister-not-exist','set','unregister','listenTo','sessions-register-already-registered','connection','addUser','isMe','state','getUserRole','stopListening','change:state','2311390YYxcqu','assign','13400208hgwXaL','mySessionId','sessionId','clear','connected','3bKFjOo','channelSessions','_handleSessionAdd','delete','getUserSessions','getUser','_registeredSessions','orderNumber','requires','add','allConnectedUsers','get','defineMe','_users','isPremiumPlugin','198872fBcagL','has','getUserBySessionId','253624xaTiqM','user','remove','hiddenInPresenceList','_createUser','isOfficialPlugin','size','register','pluginName','_uniqueUsersCount','forEach','plugins','_handleSessionRemove','sessionAdd:','1649112DLiXQw','context','values','3279688JHliaZ','init','Sessions','759508KbOXAB','role','7ycLLcY','fire','channelConnectedUsers'];_0xced8=function(){return _0x4a94ef;};return _0xced8();}import{WebSocketGateway as _0x4753af}from'./websocketgateway.js';import{Users as _0x2a778e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x48d3(_0x3e5453,_0x5a0c96){const _0xced8c9=_0xced8();return _0x48d3=function(_0x48d3bd,_0x391e56){_0x48d3bd=_0x48d3bd-0x111;let _0x33314d=_0xced8c9[_0x48d3bd];return _0x33314d;},_0x48d3(_0x3e5453,_0x5a0c96);}export class Sessions extends _0x25f8e9{[_0x524fdf(0x14b)];[_0x524fdf(0x136)];[_0x524fdf(0x116)];[_0x524fdf(0x112)];[_0x524fdf(0x127)];[_0x524fdf(0x119)];static get[_0x524fdf(0x126)](){const _0x2e4387=_0x524fdf;return _0x2e4387(0x131);}static get[_0x524fdf(0x123)](){return!0x0;}static get[_0x524fdf(0x11a)](){return!0x0;}static get[_0x524fdf(0x114)](){return[_0x4753af,_0x2a778e];}constructor(_0x23c0e5){const _0x497881=_0x524fdf;super(_0x23c0e5),this[_0x497881(0x14b)]=new Map(),this[_0x497881(0x136)]=new Map(),this[_0x497881(0x116)]=new _0x313318(),this[_0x497881(0x112)]=new Map(),this[_0x497881(0x127)]=0x0,this[_0x497881(0x119)]=this[_0x497881(0x12d)][_0x497881(0x129)][_0x497881(0x117)](_0x2a778e);}[_0x524fdf(0x130)](){const _0x585303=_0x524fdf,_0x29388d=this[_0x585303(0x12d)][_0x585303(0x129)][_0x585303(0x117)](_0x4753af);this[_0x585303(0x13a)](_0x29388d,_0x585303(0x142),(_0x1dc46e,_0x5a3f78,_0x20a49c)=>{const _0x55cac2=_0x585303;if(_0x55cac2(0x149)!==_0x20a49c)this[_0x55cac2(0x14b)][_0x55cac2(0x128)](_0x2f5e54=>_0x2f5e54[_0x55cac2(0x148)]()),this[_0x55cac2(0x136)][_0x55cac2(0x128)](_0x47c081=>_0x47c081[_0x55cac2(0x148)]()),this[_0x55cac2(0x116)][_0x55cac2(0x148)]();else{for(const [_0x2ace34,_0x4df83f]of this[_0x55cac2(0x112)])for(const _0x2ed026 of _0x4df83f)this[_0x55cac2(0x14c)](_0x2ace34,_0x2ed026);}}),this[_0x585303(0x122)](_0x29388d[_0x585303(0x13c)]['me'],!0x0);}[_0x524fdf(0x125)](_0x483867,_0xd86208){const _0x1ef1b2=_0x524fdf;if(this[_0x1ef1b2(0x112)][_0x1ef1b2(0x11c)](_0x483867))throw new _0x2a546e(_0x1ef1b2(0x13b),null,{'channelId':_0x483867});this[_0x1ef1b2(0x112)][_0x1ef1b2(0x138)](_0x483867,_0xd86208),this[_0x1ef1b2(0x14b)][_0x1ef1b2(0x138)](_0x483867,new _0x313318()),this[_0x1ef1b2(0x136)][_0x1ef1b2(0x138)](_0x483867,new _0x313318()),this[_0x1ef1b2(0x13a)](_0xd86208,_0x1ef1b2(0x115),(_0x4d9fec,_0x4d190a)=>this[_0x1ef1b2(0x14c)](_0x483867,_0x4d190a)),this[_0x1ef1b2(0x13a)](_0xd86208,_0x1ef1b2(0x120),(_0x3493a0,_0x3b6e3a)=>this[_0x1ef1b2(0x12a)](_0x483867,_0x3b6e3a));for(const _0x5bcc71 of _0xd86208)this[_0x1ef1b2(0x14c)](_0x483867,_0x5bcc71);}[_0x524fdf(0x139)](_0x5048e4){const _0x3ebe1a=_0x524fdf;if(!this[_0x3ebe1a(0x112)][_0x3ebe1a(0x11c)](_0x5048e4))throw new _0x2a546e(_0x3ebe1a(0x137),null,{'channelId':_0x5048e4});const _0x56c828=this[_0x3ebe1a(0x112)][_0x3ebe1a(0x117)](_0x5048e4);this[_0x3ebe1a(0x141)](_0x56c828);for(const _0x200162 of _0x56c828)_0x3ebe1a(0x149)===this[_0x3ebe1a(0x12d)][_0x3ebe1a(0x129)][_0x3ebe1a(0x117)](_0x4753af)[_0x3ebe1a(0x13f)]&&this[_0x3ebe1a(0x12a)](_0x5048e4,_0x200162);this[_0x3ebe1a(0x112)][_0x3ebe1a(0x14d)](_0x5048e4),this[_0x3ebe1a(0x14b)][_0x3ebe1a(0x14d)](_0x5048e4),this[_0x3ebe1a(0x136)][_0x3ebe1a(0x14d)](_0x5048e4);}get[_0x524fdf(0x146)](){const _0xa9461c=_0x524fdf;return this[_0xa9461c(0x12d)][_0xa9461c(0x129)][_0xa9461c(0x117)](_0x4753af)[_0xa9461c(0x13c)][_0xa9461c(0x147)];}[_0x524fdf(0x11d)](_0x3c8622){const _0x2ecc60=_0x524fdf;for(const _0x21e543 of this[_0x2ecc60(0x14b)][_0x2ecc60(0x12e)]())for(const _0x11fe8f of _0x21e543)if(_0x11fe8f['id']===_0x3c8622)return _0x11fe8f[_0x2ecc60(0x11f)];}[_0x524fdf(0x14e)](_0x58823f,_0x5ea7a5){const _0x360efe=_0x524fdf,_0x107fdd=_0x5ea7a5?[this[_0x360efe(0x14b)][_0x360efe(0x117)](_0x5ea7a5)]:this[_0x360efe(0x14b)][_0x360efe(0x12e)](),_0x5532fe=new Set();for(const _0x3f4ceb of _0x107fdd)for(const _0x7a8998 of _0x3f4ceb)_0x7a8998[_0x360efe(0x11f)]['id']===_0x58823f['id']&&_0x5532fe[_0x360efe(0x115)](_0x7a8998['id']);return _0x5532fe;}[_0x524fdf(0x140)](_0x26a8a1){const _0x456325=_0x524fdf;for(const _0x357c6b of this[_0x456325(0x14b)][_0x456325(0x12e)]())for(const _0x3d9d0c of _0x357c6b)if(_0x3d9d0c[_0x456325(0x11f)]===_0x26a8a1)return _0x3d9d0c[_0x456325(0x133)];}[_0x524fdf(0x14c)](_0x277bbf,_0xac5455){const _0x5bbb37=_0x524fdf;if(_0x5bbb37(0x149)!==this[_0x5bbb37(0x12d)][_0x5bbb37(0x129)][_0x5bbb37(0x117)](_0x4753af)[_0x5bbb37(0x13f)])return;const _0x3e488a=_0xac5455[_0x5bbb37(0x11f)],_0x5def2d=this[_0x5bbb37(0x119)][_0x5bbb37(0x111)](_0x3e488a['id'])||this[_0x5bbb37(0x122)](_0x3e488a),_0x34a7a2=Object[_0x5bbb37(0x144)]({},_0xac5455,{'user':_0x5def2d});if(this[_0x5bbb37(0x14b)][_0x5bbb37(0x117)](_0x277bbf)[_0x5bbb37(0x115)](_0x34a7a2),!_0x3e488a[_0x5bbb37(0x121)]){const _0x54c75b=this[_0x5bbb37(0x136)][_0x5bbb37(0x117)](_0x277bbf);_0x54c75b[_0x5bbb37(0x11c)](_0x5def2d['id'])||_0x54c75b[_0x5bbb37(0x115)](_0x5def2d),this[_0x5bbb37(0x116)][_0x5bbb37(0x11c)](_0x5def2d['id'])||_0x3e488a[_0x5bbb37(0x121)]||this[_0x5bbb37(0x116)][_0x5bbb37(0x115)](_0x5def2d,_0x5def2d[_0x5bbb37(0x13e)]?0x0:void 0x0);}this[_0x5bbb37(0x135)](_0x5bbb37(0x12b)+_0x277bbf,{'channelId':_0x277bbf,'session':_0x34a7a2});}[_0x524fdf(0x12a)](_0x44f78d,_0x562d56){const _0xb7925e=_0x524fdf;if(_0xb7925e(0x149)!==this[_0xb7925e(0x12d)][_0xb7925e(0x129)][_0xb7925e(0x117)](_0x4753af)[_0xb7925e(0x13f)])return;const _0x400cf0=this[_0xb7925e(0x136)][_0xb7925e(0x117)](_0x44f78d),_0x2e5d58=_0x562d56[_0xb7925e(0x11f)];_0x2e5d58['id']&&(this[_0xb7925e(0x14b)][_0xb7925e(0x117)](_0x44f78d)[_0xb7925e(0x120)](_0x562d56['id']),_0x400cf0[_0xb7925e(0x11c)](_0x2e5d58['id'])&&!this[_0xb7925e(0x14e)](_0x2e5d58,_0x44f78d)[_0xb7925e(0x124)]&&_0x400cf0[_0xb7925e(0x120)](_0x2e5d58['id']),this[_0xb7925e(0x116)][_0xb7925e(0x117)](_0x2e5d58['id'])&&!this[_0xb7925e(0x14e)](_0x2e5d58)[_0xb7925e(0x124)]&&this[_0xb7925e(0x116)][_0xb7925e(0x120)](_0x2e5d58['id']));}[_0x524fdf(0x122)](_0x44736a,_0x1d5dbc){const _0x45be66=_0x524fdf,_0x13d9e3=this[_0x45be66(0x119)][_0x45be66(0x13d)](_0x44736a);return _0x1d5dbc&&this[_0x45be66(0x119)][_0x45be66(0x118)](_0x44736a['id']),_0x13d9e3[_0x45be66(0x113)]=this[_0x45be66(0x127)]++,_0x13d9e3;}}
23
+ const _0x916d50=_0x140f;(function(_0xcbd0b8,_0x1b7c99){const _0x4c90e7=_0x140f,_0x387eb2=_0xcbd0b8();while(!![]){try{const _0x3da7e6=-parseInt(_0x4c90e7(0x123))/0x1+-parseInt(_0x4c90e7(0x121))/0x2*(-parseInt(_0x4c90e7(0x132))/0x3)+-parseInt(_0x4c90e7(0x114))/0x4+parseInt(_0x4c90e7(0x12d))/0x5*(parseInt(_0x4c90e7(0x111))/0x6)+-parseInt(_0x4c90e7(0x115))/0x7+parseInt(_0x4c90e7(0x12c))/0x8*(parseInt(_0x4c90e7(0x124))/0x9)+-parseInt(_0x4c90e7(0x141))/0xa*(-parseInt(_0x4c90e7(0x127))/0xb);if(_0x3da7e6===_0x1b7c99)break;else _0x387eb2['push'](_0x387eb2['shift']());}catch(_0x21e8ea){_0x387eb2['push'](_0x387eb2['shift']());}}}(_0x400b,0x4cc82));import{ContextPlugin as _0x28b190}from'ckeditor5/src/core.js';function _0x140f(_0x46059a,_0x13f730){const _0x400b94=_0x400b();return _0x140f=function(_0x140f40,_0x21c8b8){_0x140f40=_0x140f40-0x10a;let _0x26765b=_0x400b94[_0x140f40];return _0x26765b;},_0x140f(_0x46059a,_0x13f730);}import{Collection as _0x4ecdca,CKEditorError as _0x3e4c1e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x7e4d4}from'./websocketgateway.js';import{Users as _0x32b11c}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x28b190{[_0x916d50(0x131)];[_0x916d50(0x139)];[_0x916d50(0x137)];[_0x916d50(0x110)];[_0x916d50(0x134)];[_0x916d50(0x112)];static get[_0x916d50(0x148)](){const _0x5465aa=_0x916d50;return _0x5465aa(0x12f);}static get[_0x916d50(0x136)](){return!0x0;}static get[_0x916d50(0x10f)](){return!0x0;}static get[_0x916d50(0x12a)](){return[_0x7e4d4,_0x32b11c];}constructor(_0x372c8e){const _0x4dc6bb=_0x916d50;super(_0x372c8e),this[_0x4dc6bb(0x131)]=new Map(),this[_0x4dc6bb(0x139)]=new Map(),this[_0x4dc6bb(0x137)]=new _0x4ecdca(),this[_0x4dc6bb(0x110)]=new Map(),this[_0x4dc6bb(0x134)]=0x0,this[_0x4dc6bb(0x112)]=this[_0x4dc6bb(0x129)][_0x4dc6bb(0x135)][_0x4dc6bb(0x122)](_0x32b11c);}[_0x916d50(0x13f)](){const _0x3287ce=_0x916d50,_0x434019=this[_0x3287ce(0x129)][_0x3287ce(0x135)][_0x3287ce(0x122)](_0x7e4d4);this[_0x3287ce(0x11a)](_0x434019,_0x3287ce(0x116),(_0x1b4771,_0x5453a8,_0x4b42dc)=>{const _0x3b7815=_0x3287ce;if(_0x3b7815(0x11b)!==_0x4b42dc)this[_0x3b7815(0x131)][_0x3b7815(0x11e)](_0x36c2b4=>_0x36c2b4[_0x3b7815(0x10c)]()),this[_0x3b7815(0x139)][_0x3b7815(0x11e)](_0x1a593d=>_0x1a593d[_0x3b7815(0x10c)]()),this[_0x3b7815(0x137)][_0x3b7815(0x10c)]();else{for(const [_0x260f00,_0x2d86c1]of this[_0x3b7815(0x110)])for(const _0x183940 of _0x2d86c1)this[_0x3b7815(0x118)](_0x260f00,_0x183940);}}),this[_0x3287ce(0x117)](_0x434019[_0x3287ce(0x130)]['me'],!0x0);}[_0x916d50(0x149)](_0x125d11,_0xe79667){const _0x466815=_0x916d50;if(this[_0x466815(0x110)][_0x466815(0x125)](_0x125d11))throw new _0x3e4c1e(_0x466815(0x13c),null,{'channelId':_0x125d11});this[_0x466815(0x110)][_0x466815(0x10e)](_0x125d11,_0xe79667),this[_0x466815(0x131)][_0x466815(0x10e)](_0x125d11,new _0x4ecdca()),this[_0x466815(0x139)][_0x466815(0x10e)](_0x125d11,new _0x4ecdca()),this[_0x466815(0x11a)](_0xe79667,_0x466815(0x126),(_0x4258a9,_0x10bf1f)=>this[_0x466815(0x118)](_0x125d11,_0x10bf1f)),this[_0x466815(0x11a)](_0xe79667,_0x466815(0x145),(_0x5d3ad3,_0x4700ef)=>this[_0x466815(0x10b)](_0x125d11,_0x4700ef));for(const _0x519992 of _0xe79667)this[_0x466815(0x118)](_0x125d11,_0x519992);}[_0x916d50(0x147)](_0xe5a33f){const _0x492b0e=_0x916d50;if(!this[_0x492b0e(0x110)][_0x492b0e(0x125)](_0xe5a33f))throw new _0x3e4c1e(_0x492b0e(0x144),null,{'channelId':_0xe5a33f});const _0x14b624=this[_0x492b0e(0x110)][_0x492b0e(0x122)](_0xe5a33f);this[_0x492b0e(0x120)](_0x14b624);for(const _0x183c35 of _0x14b624)_0x492b0e(0x11b)===this[_0x492b0e(0x129)][_0x492b0e(0x135)][_0x492b0e(0x122)](_0x7e4d4)[_0x492b0e(0x12b)]&&this[_0x492b0e(0x10b)](_0xe5a33f,_0x183c35);this[_0x492b0e(0x110)][_0x492b0e(0x142)](_0xe5a33f),this[_0x492b0e(0x131)][_0x492b0e(0x142)](_0xe5a33f),this[_0x492b0e(0x139)][_0x492b0e(0x142)](_0xe5a33f);}get[_0x916d50(0x11f)](){const _0x35c281=_0x916d50;return this[_0x35c281(0x129)][_0x35c281(0x135)][_0x35c281(0x122)](_0x7e4d4)[_0x35c281(0x130)][_0x35c281(0x13b)];}[_0x916d50(0x12e)](_0x49f3f8){const _0x88d24=_0x916d50;for(const _0x4a0709 of this[_0x88d24(0x131)][_0x88d24(0x10a)]())for(const _0x46e7a7 of _0x4a0709)if(_0x46e7a7['id']===_0x49f3f8)return _0x46e7a7[_0x88d24(0x11c)];}[_0x916d50(0x138)](_0x43072d,_0x2e3c5e){const _0x10185e=_0x916d50,_0x32d94d=_0x2e3c5e?[this[_0x10185e(0x131)][_0x10185e(0x122)](_0x2e3c5e)]:this[_0x10185e(0x131)][_0x10185e(0x10a)](),_0x12c00b=new Set();for(const _0x4e9548 of _0x32d94d)for(const _0x541562 of _0x4e9548)_0x541562[_0x10185e(0x11c)]['id']===_0x43072d['id']&&_0x12c00b[_0x10185e(0x126)](_0x541562['id']);return _0x12c00b;}[_0x916d50(0x146)](_0x1fa037){const _0x45df4d=_0x916d50;for(const _0x581f24 of this[_0x45df4d(0x131)][_0x45df4d(0x10a)]())for(const _0x332aae of _0x581f24)if(_0x332aae[_0x45df4d(0x11c)]===_0x1fa037)return _0x332aae[_0x45df4d(0x143)];}[_0x916d50(0x118)](_0x269641,_0x2d7311){const _0x14e666=_0x916d50;if(_0x14e666(0x11b)!==this[_0x14e666(0x129)][_0x14e666(0x135)][_0x14e666(0x122)](_0x7e4d4)[_0x14e666(0x12b)])return;const _0x13872c=_0x2d7311[_0x14e666(0x11c)],_0xf6fd1b=this[_0x14e666(0x112)][_0x14e666(0x119)](_0x13872c['id'])||this[_0x14e666(0x117)](_0x13872c),_0x5ed01d=Object[_0x14e666(0x10d)]({},_0x2d7311,{'user':_0xf6fd1b});if(this[_0x14e666(0x131)][_0x14e666(0x122)](_0x269641)[_0x14e666(0x126)](_0x5ed01d),!_0x13872c[_0x14e666(0x13d)]){const _0x515942=this[_0x14e666(0x139)][_0x14e666(0x122)](_0x269641);_0x515942[_0x14e666(0x125)](_0xf6fd1b['id'])||_0x515942[_0x14e666(0x126)](_0xf6fd1b),this[_0x14e666(0x137)][_0x14e666(0x125)](_0xf6fd1b['id'])||_0x13872c[_0x14e666(0x13d)]||this[_0x14e666(0x137)][_0x14e666(0x126)](_0xf6fd1b,_0xf6fd1b[_0x14e666(0x13a)]?0x0:void 0x0);}this[_0x14e666(0x113)](_0x14e666(0x140)+_0x269641,{'channelId':_0x269641,'session':_0x5ed01d});}[_0x916d50(0x10b)](_0x12af4d,_0x3f6f76){const _0x1a4259=_0x916d50;if(_0x1a4259(0x11b)!==this[_0x1a4259(0x129)][_0x1a4259(0x135)][_0x1a4259(0x122)](_0x7e4d4)[_0x1a4259(0x12b)])return;const _0x2f9345=this[_0x1a4259(0x139)][_0x1a4259(0x122)](_0x12af4d),_0x413f0e=_0x3f6f76[_0x1a4259(0x11c)];_0x413f0e['id']&&(this[_0x1a4259(0x131)][_0x1a4259(0x122)](_0x12af4d)[_0x1a4259(0x145)](_0x3f6f76['id']),_0x2f9345[_0x1a4259(0x125)](_0x413f0e['id'])&&!this[_0x1a4259(0x138)](_0x413f0e,_0x12af4d)[_0x1a4259(0x128)]&&_0x2f9345[_0x1a4259(0x145)](_0x413f0e['id']),this[_0x1a4259(0x137)][_0x1a4259(0x122)](_0x413f0e['id'])&&!this[_0x1a4259(0x138)](_0x413f0e)[_0x1a4259(0x128)]&&this[_0x1a4259(0x137)][_0x1a4259(0x145)](_0x413f0e['id']));}[_0x916d50(0x117)](_0x1e752a,_0x76dd0d){const _0x1f16a6=_0x916d50,_0x591cc3=this[_0x1f16a6(0x112)][_0x1f16a6(0x133)](_0x1e752a);return _0x76dd0d&&this[_0x1f16a6(0x112)][_0x1f16a6(0x13e)](_0x1e752a['id']),_0x591cc3[_0x1f16a6(0x11d)]=this[_0x1f16a6(0x134)]++,_0x591cc3;}}function _0x400b(){const _0x411d73=['isMe','sessionId','sessions-register-already-registered','hiddenInPresenceList','defineMe','init','sessionAdd:','3290920MbgkYj','delete','role','sessions-unregister-not-exist','remove','getUserRole','unregister','pluginName','register','values','_handleSessionRemove','clear','assign','set','isPremiumPlugin','_registeredSessions','582KchUvI','_users','fire','1259632aMTQGQ','1857065XBjwzK','change:state','_createUser','_handleSessionAdd','getUser','listenTo','connected','user','orderNumber','forEach','mySessionId','stopListening','159472PlcXZe','get','556341GQjjwF','1350OafVYt','has','add','11DYAXfq','size','context','requires','state','17912hDxWXZ','15860JDttEd','getUserBySessionId','Sessions','connection','channelSessions','18WKZIrp','addUser','_uniqueUsersCount','plugins','isOfficialPlugin','allConnectedUsers','getUserSessions','channelConnectedUsers'];_0x400b=function(){return _0x411d73;};return _0x400b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49d9e4=_0x5ea3;(function(_0x4cdab3,_0x3b867f){const _0x103ebc=_0x5ea3,_0x3f41e4=_0x4cdab3();while(!![]){try{const _0x1c2c4a=-parseInt(_0x103ebc(0x1fd))/0x1+parseInt(_0x103ebc(0x1c1))/0x2+parseInt(_0x103ebc(0x216))/0x3+-parseInt(_0x103ebc(0x1c2))/0x4*(-parseInt(_0x103ebc(0x214))/0x5)+-parseInt(_0x103ebc(0x1c7))/0x6+parseInt(_0x103ebc(0x1fb))/0x7+-parseInt(_0x103ebc(0x1e4))/0x8*(-parseInt(_0x103ebc(0x1d4))/0x9);if(_0x1c2c4a===_0x3b867f)break;else _0x3f41e4['push'](_0x3f41e4['shift']());}catch(_0x2bc7a1){_0x3f41e4['push'](_0x3f41e4['shift']());}}}(_0x2e92,0x27556));function _0x2e92(){const _0x1da81f=['markerName','false','init','isOfficialPlugin','for','render','createElement','editingDowncast','color','change','addMarker','document','rootName','createUIElement','clear','isCollapsed','405686wDosbo','59144EGnDyS','addEventListener','user:','has','ck-user__marker_hovered','1731984natWiB','textContent','parent','detach','add','setAttribute','getNearestSelectionRange','conversion','start','end','mapper','createRange','getAttribute','3525462PvDYdd','element','marker','isSimilar','delete','enqueueChange','removeClass','reconvertMarker','spellcheck','getCustomProperty','getMarkerClass','fromRange','getFirstRange','deletionPosition','ck-user__marker-tooltip','user:position','8igmgAH','toRange','toDomElement','orderNumber','isObject','getRange','applyOperation','tableCell','view','markerToHighlight','hasContent','name','mouseleave','selection','ck-user__marker\x20','outerHTML','_createdBatches','afterInit','removeMarker','setCustomProperty','innerHTML','split','getSelectionClass','254835YLErpe','mouseenter','300642BPMCQu','userPositionMarker','UserMarkers','isLimit','root','model','undo','update:user:range','schema','editing','batch','user:range:','ck-user__selection','$text','classList','markers','markerRange','getUserBySessionId','markerToElement','get','user:position:','highest','$graveyard','40MPktpv','updateMarker','3486aSIcBc','span','getContainedElement','getPositions','listenTo','plugins','destroy','hasDomSelection','newRange','requires','createUserMarkerOperations','change:range','checkChild','isPremiumPlugin','_domEmitter','getStart','isDocumentOperation','oldRange','startsWith','editor','keydown','nodeAfter','stopListening','pluginName','data-session-id','size','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','type','markerNameToElements','user:range','contenteditable','isInline','set','Escape','remove','mySessionId','commands'];_0x2e92=function(){return _0x1da81f;};return _0x2e92();}import{Plugin as _0x526e5e}from'ckeditor5/src/core.js';import{global as _0x3e6e64,DomEmitterMixin as _0x5495a1}from'ckeditor5/src/utils.js';import{Sessions as _0x23ac06}from'./sessions.js';function _0x5ea3(_0x4848a2,_0x5a72c0){const _0x2e9208=_0x2e92();return _0x5ea3=function(_0x5ea330,_0x471623){_0x5ea330=_0x5ea330-0x1b4;let _0xf22a3a=_0x2e9208[_0x5ea330];return _0xf22a3a;},_0x5ea3(_0x4848a2,_0x5a72c0);}import{ModelLiveRange as _0x2b70ae}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x526e5e{[_0x49d9e4(0x224)]=new(_0x5495a1())();static get[_0x49d9e4(0x21f)](){return[_0x23ac06];}static get[_0x49d9e4(0x22d)](){const _0x47e71e=_0x49d9e4;return _0x47e71e(0x1ff);}static get[_0x49d9e4(0x1b4)](){return!0x0;}static get[_0x49d9e4(0x223)](){return!0x0;}[_0x49d9e4(0x23d)](){const _0x18db0d=_0x49d9e4,_0x4dc1b6=this[_0x18db0d(0x229)],_0xc82ee=_0x4dc1b6[_0x18db0d(0x21b)][_0x18db0d(0x210)](_0x23ac06);_0x4dc1b6[_0x18db0d(0x1ce)][_0x18db0d(0x1b5)](_0x18db0d(0x1b8))[_0x18db0d(0x20f)]({'model':_0x18db0d(0x1e3),'view':(_0x420982,{writer:_0x3d514a})=>function(_0x457c94,_0x4c06cc,_0xd17635,_0x51fd82){const _0x45681d=_0x18db0d,_0x57d53b=_0x457c94[_0x45681d(0x23b)][_0x45681d(0x1f9)](':')[0x2],_0x126866=_0xd17635[_0x45681d(0x20e)](_0x57d53b);if(!_0x126866||_0x57d53b===_0xd17635[_0x45681d(0x239)])return;if(!_0x51fd82[_0x45681d(0x202)][_0x45681d(0x205)][_0x45681d(0x222)](_0x457c94[_0x45681d(0x20d)][_0x45681d(0x1cf)],_0x45681d(0x20a)))return;const _0x155573={'class':_0x45681d(0x1f2)+_0x126866[_0x45681d(0x1b9)][_0x45681d(0x1de)](),'data-name':_0x126866[_0x45681d(0x1ef)],'data-session-id':_0x57d53b},_0x3e744d=_0x51fd82[_0x45681d(0x202)][_0x45681d(0x20c)][_0x45681d(0x210)](_0x457c94[_0x45681d(0x23b)]),_0x59888c=_0x3e744d[_0x45681d(0x225)](),_0x2fc985=_0x59888c[_0x45681d(0x22b)],_0x21961b=_0x51fd82[_0x45681d(0x202)][_0x45681d(0x205)];if(_0x2fc985&&_0x21961b[_0x45681d(0x1e8)](_0x2fc985)&&_0x21961b[_0x45681d(0x235)](_0x2fc985)&&!_0x51fd82[_0x45681d(0x202)][_0x45681d(0x20c)][_0x45681d(0x210)](_0x45681d(0x208)+_0x57d53b)[_0x45681d(0x1e9)]()[_0x45681d(0x1c0)])return;const _0x50816c=_0x59888c[_0x45681d(0x1c9)];return _0x51fd82[_0x45681d(0x202)][_0x45681d(0x205)][_0x45681d(0x200)](_0x50816c)&&!_0x51fd82[_0x45681d(0x202)][_0x45681d(0x1ee)](_0x50816c)&&(_0x155573[_0x45681d(0x234)]=!0x1),function(_0x2aab73,_0x51e3ef,_0x4048f5){const _0x486c02=_0x45681d,_0x1e768f=_0x2aab73[_0x486c02(0x1be)](_0x486c02(0x217),_0x51e3ef);return _0x2aab73[_0x486c02(0x1f7)](_0x486c02(0x1fe),!0x0,_0x1e768f),_0x1e768f[_0x486c02(0x1b6)]=function(_0x12a93d){const _0x25b39e=_0x486c02,_0x8ec15f=this[_0x25b39e(0x1e6)](_0x12a93d),_0x1aeac2=document[_0x25b39e(0x1b7)](_0x25b39e(0x217));return _0x1aeac2[_0x25b39e(0x20b)][_0x25b39e(0x1cb)](_0x25b39e(0x1e2)),_0x1aeac2[_0x25b39e(0x1cc)](_0x25b39e(0x234),_0x25b39e(0x23c)),_0x1aeac2[_0x25b39e(0x1cc)](_0x25b39e(0x1dc),_0x25b39e(0x23c)),_0x1aeac2[_0x25b39e(0x1c8)]=_0x4048f5[_0x25b39e(0x1ef)],_0x8ec15f[_0x25b39e(0x1f8)]=_0x25b39e(0x230)+_0x1aeac2[_0x25b39e(0x1f3)]+'⁠',_0x8ec15f[_0x25b39e(0x1c3)](_0x25b39e(0x1fc),()=>{const _0x547de7=_0x25b39e;_0x8ec15f[_0x547de7(0x20b)][_0x547de7(0x1cb)](_0x547de7(0x1c6));}),_0x8ec15f[_0x25b39e(0x1c3)](_0x25b39e(0x1f0),()=>{const _0xcd8919=_0x25b39e;_0x8ec15f[_0xcd8919(0x20b)][_0xcd8919(0x238)](_0xcd8919(0x1c6));}),_0x8ec15f;},_0x1e768f[_0x486c02(0x1d7)]=function(_0x53454e){const _0x1b11ac=_0x486c02;return!(!this[_0x1b11ac(0x1dd)](_0x1b11ac(0x1fe))||!_0x53454e[_0x1b11ac(0x1dd)](_0x1b11ac(0x1fe))||this[_0x1b11ac(0x1d3)](_0x1b11ac(0x22e))!=_0x53454e[_0x1b11ac(0x1d3)](_0x1b11ac(0x22e)));},_0x1e768f;}(_0x4c06cc,_0x155573,_0x126866);}(_0x420982,_0x3d514a,_0xc82ee,_0x4dc1b6)}),_0x4dc1b6[_0x18db0d(0x1ce)][_0x18db0d(0x1b5)](_0x18db0d(0x1b8))[_0x18db0d(0x1ed)]({'model':_0x18db0d(0x233),'view':_0x424fcc=>function(_0x203198,_0x517ae9){const _0x161ad9=_0x18db0d,_0x3abad5=_0x203198[_0x161ad9(0x23b)][_0x161ad9(0x1f9)](':')[0x2];if(_0x3abad5===_0x517ae9[_0x161ad9(0x239)])return null;const _0x4dbe34=_0x517ae9[_0x161ad9(0x20e)](_0x3abad5);if(!_0x4dbe34)return{'id':_0x3abad5,'classes':[]};return{'id':_0x3abad5,'classes':[_0x161ad9(0x209),_0x4dbe34[_0x161ad9(0x1b9)][_0x161ad9(0x1fa)]()],'attributes':{'data-session-id':_0x3abad5},'priority':0x7d0+_0x4dbe34[_0x161ad9(0x1e7)]};}(_0x424fcc,_0xc82ee)}),function(_0x735af){const _0x5b462a=_0x18db0d,_0x65a5f9=_0x735af[_0x5b462a(0x202)],_0x33b932=new Map(),_0x361cba=_0x735af[_0x5b462a(0x21b)][_0x5b462a(0x210)](_0x23ac06);_0x65a5f9[_0x5b462a(0x20c)]['on'](_0x5b462a(0x204),(_0x353bd6,_0x350dbc,_0x4a84a1,_0x2f7f78)=>{const _0x3863ac=_0x5b462a;if(!_0x2f7f78&&_0x33b932[_0x3863ac(0x210)](_0x350dbc[_0x3863ac(0x1ef)]))return _0x33b932[_0x3863ac(0x210)](_0x350dbc[_0x3863ac(0x1ef)])[_0x3863ac(0x1ca)](),void _0x33b932[_0x3863ac(0x1d8)](_0x350dbc[_0x3863ac(0x1ef)]);const _0x4d583a=_0x350dbc[_0x3863ac(0x1ef)][_0x3863ac(0x1f9)](':')[0x2];if(_0x4d583a===_0x361cba[_0x3863ac(0x239)])return;const _0x4d24f0=_0x3863ac(0x211)+_0x4d583a;_0x65a5f9[_0x3863ac(0x20c)][_0x3863ac(0x1c5)](_0x4d24f0)&&_0x735af[_0x3863ac(0x206)][_0x3863ac(0x1db)](_0x4d24f0),_0x350dbc['on'](_0x3863ac(0x221),(_0x1bd603,_0x470e81,_0x2ec984)=>{const _0x183c1e=_0x3863ac;if(_0x183c1e(0x213)!=_0x470e81[_0x183c1e(0x201)][_0x183c1e(0x1bd)]&&_0x183c1e(0x213)==_0x350dbc[_0x183c1e(0x1e9)]()[_0x183c1e(0x201)][_0x183c1e(0x1bd)]&&!_0x33b932[_0x183c1e(0x1c5)](_0x350dbc[_0x183c1e(0x1ef)])){const _0x149b62=_0x65a5f9[_0x183c1e(0x205)][_0x183c1e(0x1cd)](_0x2ec984[_0x183c1e(0x1e1)]);if(_0x149b62){const _0x155d2d=_0x2b70ae[_0x183c1e(0x1df)](_0x149b62);_0x33b932[_0x183c1e(0x236)](_0x350dbc[_0x183c1e(0x1ef)],_0x155d2d),_0x155d2d['on'](_0x183c1e(0x221),(_0x4aa4fd,_0xd7e35e,_0x48e585)=>{const _0xa4a4cc=_0x183c1e;if(_0xa4a4cc(0x213)==_0x155d2d[_0xa4a4cc(0x201)][_0xa4a4cc(0x1bd)]){const _0x571583=_0x65a5f9[_0xa4a4cc(0x205)][_0xa4a4cc(0x1cd)](_0x48e585[_0xa4a4cc(0x1e1)]);_0x571583?(_0x155d2d[_0xa4a4cc(0x1cf)]=_0x571583[_0xa4a4cc(0x1cf)],_0x155d2d[_0xa4a4cc(0x1d0)]=_0x571583[_0xa4a4cc(0x1d0)]):(_0x33b932[_0xa4a4cc(0x1d8)](_0x350dbc[_0xa4a4cc(0x1ef)]),_0x155d2d[_0xa4a4cc(0x1ca)]());}});}}});}),_0x65a5f9[_0x5b462a(0x1bc)]['on'](_0x5b462a(0x1ba),()=>{const _0x5bbcce=_0x5b462a;_0x33b932[_0x5bbcce(0x22f)]>0x0&&_0x65a5f9[_0x5bbcce(0x1d9)]({'isUndoable':!0x1},_0x29fe17=>{const _0x291560=_0x5bbcce;for(const [_0x53af77,_0xe64f10]of _0x33b932)_0x291560(0x213)==_0x65a5f9[_0x291560(0x20c)][_0x291560(0x210)](_0x53af77)[_0x291560(0x1e9)]()[_0x291560(0x201)][_0x291560(0x1bd)]&&(G(_0x53af77[_0x291560(0x1f9)](':')[0x2],_0xe64f10[_0x291560(0x1e5)](),_0x65a5f9,_0x29fe17),_0xe64f10[_0x291560(0x1ca)]());_0x33b932[_0x291560(0x1bf)]();});});}(_0x4dc1b6),this[_0x18db0d(0x224)][_0x18db0d(0x21a)](_0x3e6e64[_0x18db0d(0x1bc)],_0x18db0d(0x22a),(_0x29f70b,{key:_0x2b0405})=>{const _0x4e06a3=_0x18db0d;_0x4e06a3(0x237)===_0x2b0405&&function(_0x5d8fd9){const _0x5d4260=_0x4e06a3;_0x5d8fd9[_0x5d4260(0x206)][_0x5d4260(0x1ec)][_0x5d4260(0x1ba)](_0x456ffd=>{const _0x24ff55=_0x5d4260;for(const _0x58f441 of _0x5d8fd9[_0x24ff55(0x202)][_0x24ff55(0x20c)]){if(!_0x58f441[_0x24ff55(0x1ef)][_0x24ff55(0x228)](_0x24ff55(0x1e3)))continue;const _0x3ba569=_0x5d8fd9[_0x24ff55(0x206)][_0x24ff55(0x1d1)][_0x24ff55(0x232)](_0x58f441[_0x24ff55(0x1ef)]);if(_0x3ba569){for(const _0x5d4fb0 of _0x3ba569)_0x456ffd[_0x24ff55(0x1da)](_0x24ff55(0x1c6),_0x5d4fb0);}}});}(_0x4dc1b6);},{'useCapture':!0x0});}[_0x49d9e4(0x1f5)](){const _0x2a6ebf=_0x49d9e4,_0x4b59f0=this[_0x2a6ebf(0x229)],_0x17b0e5=_0x4b59f0[_0x2a6ebf(0x23a)][_0x2a6ebf(0x210)](_0x2a6ebf(0x203));_0x17b0e5&&_0x4b59f0[_0x2a6ebf(0x202)]['on'](_0x2a6ebf(0x1ea),(_0x2e2adf,_0x2bcbe1)=>{const _0x42ba21=_0x2a6ebf,_0x276479=_0x2bcbe1[0x0];if(!_0x276479[_0x42ba21(0x226)])return;if(_0x42ba21(0x1d6)!=_0x276479[_0x42ba21(0x231)]||!_0x276479[_0x42ba21(0x1ef)][_0x42ba21(0x228)](_0x42ba21(0x1c4)))return;const _0x104aed=_0x276479[_0x42ba21(0x207)];_0x17b0e5[_0x42ba21(0x1f4)][_0x42ba21(0x1c5)](_0x104aed)&&(_0x276479[_0x42ba21(0x21e)]=_0x276479[_0x42ba21(0x227)]?_0x4b59f0[_0x42ba21(0x202)][_0x42ba21(0x1d2)](_0x276479[_0x42ba21(0x227)][_0x42ba21(0x1cf)],_0x276479[_0x42ba21(0x227)][_0x42ba21(0x1d0)]):null);},{'priority':_0x2a6ebf(0x212)});}[_0x49d9e4(0x21c)](){const _0x4a0635=_0x49d9e4;return this[_0x4a0635(0x224)][_0x4a0635(0x22c)](),super[_0x4a0635(0x21c)]();}[_0x49d9e4(0x220)](){const _0x3759b7=_0x49d9e4,_0x407a16=this[_0x3759b7(0x229)],_0x482c32=_0x407a16[_0x3759b7(0x202)][_0x3759b7(0x1bc)],_0x369b08=_0x407a16[_0x3759b7(0x21b)][_0x3759b7(0x210)](_0x23ac06);_0x407a16[_0x3759b7(0x202)][_0x3759b7(0x1d9)]({'isUndoable':!0x1},_0x13d7be=>{const _0x1677cb=_0x3759b7,_0x1980da=_0x1677cb(0x208)+_0x369b08[_0x1677cb(0x239)],_0x4265e9=_0x1677cb(0x211)+_0x369b08[_0x1677cb(0x239)],_0x2423ac=_0x407a16[_0x1677cb(0x202)][_0x1677cb(0x20c)][_0x1677cb(0x1c5)](_0x1980da);_0x407a16[_0x1677cb(0x206)][_0x1677cb(0x1ec)][_0x1677cb(0x21d)]?G(_0x369b08[_0x1677cb(0x239)],_0x482c32[_0x1677cb(0x1f1)][_0x1677cb(0x1e0)](),_0x407a16[_0x1677cb(0x202)],_0x13d7be):_0x2423ac&&(_0x13d7be[_0x1677cb(0x1f6)](_0x1980da),_0x13d7be[_0x1677cb(0x1f6)](_0x4265e9));});}}function G(_0x438d85,_0x454f85,_0x3c9d53,_0x43a338){const _0x2c9de0=_0x49d9e4,_0x567dea=_0x2c9de0(0x208)+_0x438d85,_0x46cb80=_0x2c9de0(0x211)+_0x438d85,_0x1ca240=_0x454f85[_0x2c9de0(0x218)]();let _0x2a0352=_0x454f85[_0x2c9de0(0x1cf)];if(_0x1ca240&&_0x1ca240['is'](_0x2c9de0(0x1d5),_0x2c9de0(0x1eb))){const _0x78533c=function(_0x33ba27,_0x3417a8){const _0x41d616=_0x2c9de0;for(const _0x157446 of _0x33ba27[_0x41d616(0x219)]())if(_0x3417a8[_0x41d616(0x205)][_0x41d616(0x222)](_0x157446,_0x41d616(0x20a)))return _0x157446;}(_0x454f85,_0x3c9d53);_0x78533c&&(_0x2a0352=_0x78533c,_0x454f85=_0x43a338[_0x2c9de0(0x1d2)](_0x2a0352));}const _0x20a9c8=_0x43a338[_0x2c9de0(0x1d2)](_0x2a0352);_0x3c9d53[_0x2c9de0(0x20c)][_0x2c9de0(0x1c5)](_0x567dea)?(_0x43a338[_0x2c9de0(0x215)](_0x567dea,{'range':_0x454f85}),_0x43a338[_0x2c9de0(0x215)](_0x46cb80,{'range':_0x20a9c8})):(_0x43a338[_0x2c9de0(0x1bb)](_0x567dea,{'range':_0x454f85,'usingOperation':!0x0}),_0x43a338[_0x2c9de0(0x1bb)](_0x46cb80,{'range':_0x20a9c8,'usingOperation':!0x0}));}
23
+ function _0x397f(){const _0x569362=['isObject','getContainedElement','requires','user:position','detach','stopListening','Escape','mySessionId','mouseleave','toRange','$text','setCustomProperty','ck-user__selection','getAttribute','change','destroy','name','getNearestSelectionRange','applyOperation','addMarker','962BMAvsV','10RNBRCM','$graveyard','isCollapsed','startsWith','marker','35HyjpIz','conversion','afterInit','createUIElement','remove','mapper','highest','user:','start','markerRange','document','toDomElement','isSimilar','selection','enqueueChange','size','createUserMarkerOperations','false','add','getCustomProperty','root','reconvertMarker','getPositions','8Fcchpn','view','createRange','markers','user:range','deletionPosition','span','getStart','rootName','ck-user__marker_hovered','setAttribute','innerHTML','schema','for','395520ggDige','pluginName','removeClass','newRange','batch','user:range:','clear','data-session-id','mouseenter','isOfficialPlugin','793vAIiWm','orderNumber','isPremiumPlugin','contenteditable','getUserBySessionId','574125QdVLzX','undo','314200yPyeze','spellcheck','userPositionMarker','updateMarker','getMarkerClass','isLimit','model','change:range','oldRange','editingDowncast','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','render','type','_createdBatches','createElement','1026432AyyKoY','markerName','hasContent','keydown','update:user:range','markerNameToElements','split','listenTo','_domEmitter','isDocumentOperation','5637346tPmcDz','has','isInline','markerToElement','fromRange','element','end','getFirstRange','user:position:','removeMarker','color','markerToHighlight','parent','commands','tableCell','get','checkChild','editing','init','hasDomSelection','delete','4857pQvdNM','ck-user__marker-tooltip','editor','plugins','ck-user__marker\x20','getRange','outerHTML','textContent','nodeAfter','addEventListener','getSelectionClass','UserMarkers','classList','set'];_0x397f=function(){return _0x569362;};return _0x397f();}const _0x152721=_0x20c3;(function(_0x3a0169,_0x1f71ef){const _0x30f6bc=_0x20c3,_0x22b3d3=_0x3a0169();while(!![]){try{const _0x1eda00=parseInt(_0x30f6bc(0x1bd))/0x1*(-parseInt(_0x30f6bc(0x214))/0x2)+parseInt(_0x30f6bc(0x1f2))/0x3*(-parseInt(_0x30f6bc(0x231))/0x4)+-parseInt(_0x30f6bc(0x1c2))/0x5+-parseInt(_0x30f6bc(0x1b3))/0x6+-parseInt(_0x30f6bc(0x21a))/0x7*(-parseInt(_0x30f6bc(0x1c4))/0x8)+parseInt(_0x30f6bc(0x1d3))/0x9+parseInt(_0x30f6bc(0x215))/0xa*(parseInt(_0x30f6bc(0x1dd))/0xb);if(_0x1eda00===_0x1f71ef)break;else _0x22b3d3['push'](_0x22b3d3['shift']());}catch(_0x2af266){_0x22b3d3['push'](_0x22b3d3['shift']());}}}(_0x397f,0x3edd5));import{Plugin as _0x33c42e}from'ckeditor5/src/core.js';import{global as _0x15214f,DomEmitterMixin as _0x22d6b7}from'ckeditor5/src/utils.js';function _0x20c3(_0x7a8cda,_0x155ece){const _0x397fe2=_0x397f();return _0x20c3=function(_0x20c39f,_0xcdd544){_0x20c39f=_0x20c39f-0x1b1;let _0x47e9fd=_0x397fe2[_0x20c39f];return _0x47e9fd;},_0x20c3(_0x7a8cda,_0x155ece);}import{Sessions as _0x369fc0}from'./sessions.js';import{ModelLiveRange as _0x341152}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x33c42e{[_0x152721(0x1db)]=new(_0x22d6b7())();static get[_0x152721(0x202)](){return[_0x369fc0];}static get[_0x152721(0x1b4)](){const _0x4e6a35=_0x152721;return _0x4e6a35(0x1fd);}static get[_0x152721(0x1bc)](){return!0x0;}static get[_0x152721(0x1bf)](){return!0x0;}[_0x152721(0x1ef)](){const _0x39775a=_0x152721,_0x458e8a=this[_0x39775a(0x1f4)],_0x2c445a=_0x458e8a[_0x39775a(0x1f5)][_0x39775a(0x1ec)](_0x369fc0);_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e0)]({'model':_0x39775a(0x203),'view':(_0x36ff04,{writer:_0x3c3df4})=>function(_0x10b02a,_0x310265,_0x36d3b5,_0x56ed91){const _0x462895=_0x39775a,_0x127b62=_0x10b02a[_0x462895(0x1d4)][_0x462895(0x1d9)](':')[0x2],_0x4aa8d0=_0x36d3b5[_0x462895(0x1c1)](_0x127b62);if(!_0x4aa8d0||_0x127b62===_0x36d3b5[_0x462895(0x207)])return;if(!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1ed)](_0x10b02a[_0x462895(0x223)][_0x462895(0x222)],_0x462895(0x20a)))return;const _0x2afbf3={'class':_0x462895(0x1f6)+_0x4aa8d0[_0x462895(0x1e7)][_0x462895(0x1c8)](),'data-name':_0x4aa8d0[_0x462895(0x210)],'data-session-id':_0x127b62},_0x583cd9=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x10b02a[_0x462895(0x1d4)]),_0x3315d5=_0x583cd9[_0x462895(0x238)](),_0x3c3e1b=_0x3315d5[_0x462895(0x1fa)],_0x4076a7=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)];if(_0x3c3e1b&&_0x4076a7[_0x462895(0x200)](_0x3c3e1b)&&_0x4076a7[_0x462895(0x1df)](_0x3c3e1b)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x462895(0x1b8)+_0x127b62)[_0x462895(0x1f7)]()[_0x462895(0x217)])return;const _0x3ab4d7=_0x3315d5[_0x462895(0x1e9)];return _0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1c9)](_0x3ab4d7)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1d5)](_0x3ab4d7)&&(_0x2afbf3[_0x462895(0x1c0)]=!0x1),function(_0x34038c,_0x2ae24f,_0x5ab2db){const _0x20ca16=_0x462895,_0x333041=_0x34038c[_0x20ca16(0x21d)](_0x20ca16(0x237),_0x2ae24f);return _0x34038c[_0x20ca16(0x20b)](_0x20ca16(0x1c6),!0x0,_0x333041),_0x333041[_0x20ca16(0x1cf)]=function(_0x2436d4){const _0x950db9=_0x20ca16,_0x2b355a=this[_0x950db9(0x225)](_0x2436d4),_0x3e3b8c=document[_0x950db9(0x1d2)](_0x950db9(0x237));return _0x3e3b8c[_0x950db9(0x1fe)][_0x950db9(0x22c)](_0x950db9(0x1f3)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c0),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c5),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x1f9)]=_0x5ab2db[_0x950db9(0x210)],_0x2b355a[_0x950db9(0x23c)]=_0x950db9(0x1ce)+_0x3e3b8c[_0x950db9(0x1f8)]+'⁠',_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x1bb),()=>{const _0x2f7c79=_0x950db9;_0x2b355a[_0x2f7c79(0x1fe)][_0x2f7c79(0x22c)](_0x2f7c79(0x23a));}),_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x208),()=>{const _0x5567b3=_0x950db9;_0x2b355a[_0x5567b3(0x1fe)][_0x5567b3(0x21e)](_0x5567b3(0x23a));}),_0x2b355a;},_0x333041[_0x20ca16(0x226)]=function(_0x29c137){const _0x40c706=_0x20ca16;return!(!this[_0x40c706(0x22d)](_0x40c706(0x1c6))||!_0x29c137[_0x40c706(0x22d)](_0x40c706(0x1c6))||this[_0x40c706(0x20d)](_0x40c706(0x1ba))!=_0x29c137[_0x40c706(0x20d)](_0x40c706(0x1ba)));},_0x333041;}(_0x310265,_0x2afbf3,_0x4aa8d0);}(_0x36ff04,_0x3c3df4,_0x2c445a,_0x458e8a)}),_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e8)]({'model':_0x39775a(0x235),'view':_0x2fdc69=>function(_0x36f756,_0x89004b){const _0x46f210=_0x39775a,_0x4f1b25=_0x36f756[_0x46f210(0x1d4)][_0x46f210(0x1d9)](':')[0x2];if(_0x4f1b25===_0x89004b[_0x46f210(0x207)])return null;const _0x29341a=_0x89004b[_0x46f210(0x1c1)](_0x4f1b25);if(!_0x29341a)return{'id':_0x4f1b25,'classes':[]};return{'id':_0x4f1b25,'classes':[_0x46f210(0x20c),_0x29341a[_0x46f210(0x1e7)][_0x46f210(0x1fc)]()],'attributes':{'data-session-id':_0x4f1b25},'priority':0x7d0+_0x29341a[_0x46f210(0x1be)]};}(_0x2fdc69,_0x2c445a)}),function(_0xc716d9){const _0x35df69=_0x39775a,_0x33cb24=_0xc716d9[_0x35df69(0x1ca)],_0x149e50=new Map(),_0x65ee21=_0xc716d9[_0x35df69(0x1f5)][_0x35df69(0x1ec)](_0x369fc0);_0x33cb24[_0x35df69(0x234)]['on'](_0x35df69(0x1d7),(_0x43989b,_0x3275b7,_0x103d46,_0x4fc0ef)=>{const _0x5c6675=_0x35df69;if(!_0x4fc0ef&&_0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)]))return _0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)])[_0x5c6675(0x204)](),void _0x149e50[_0x5c6675(0x1f1)](_0x3275b7[_0x5c6675(0x210)]);const _0x1ead72=_0x3275b7[_0x5c6675(0x210)][_0x5c6675(0x1d9)](':')[0x2];if(_0x1ead72===_0x65ee21[_0x5c6675(0x207)])return;const _0x21cd5c=_0x5c6675(0x1e5)+_0x1ead72;_0x33cb24[_0x5c6675(0x234)][_0x5c6675(0x1de)](_0x21cd5c)&&_0xc716d9[_0x5c6675(0x1ee)][_0x5c6675(0x22f)](_0x21cd5c),_0x3275b7['on'](_0x5c6675(0x1cb),(_0x5536ce,_0x5ca789,_0x56f720)=>{const _0x4c389d=_0x5c6675;if(_0x4c389d(0x216)!=_0x5ca789[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&_0x4c389d(0x216)==_0x3275b7[_0x4c389d(0x1f7)]()[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&!_0x149e50[_0x4c389d(0x1de)](_0x3275b7[_0x4c389d(0x210)])){const _0x63f6c=_0x33cb24[_0x4c389d(0x1b1)][_0x4c389d(0x211)](_0x56f720[_0x4c389d(0x236)]);if(_0x63f6c){const _0x509e84=_0x341152[_0x4c389d(0x1e1)](_0x63f6c);_0x149e50[_0x4c389d(0x1ff)](_0x3275b7[_0x4c389d(0x210)],_0x509e84),_0x509e84['on'](_0x4c389d(0x1cb),(_0x4e597,_0x531b79,_0x211d44)=>{const _0x28fe8b=_0x4c389d;if(_0x28fe8b(0x216)==_0x509e84[_0x28fe8b(0x22e)][_0x28fe8b(0x239)]){const _0x237de6=_0x33cb24[_0x28fe8b(0x1b1)][_0x28fe8b(0x211)](_0x211d44[_0x28fe8b(0x236)]);_0x237de6?(_0x509e84[_0x28fe8b(0x222)]=_0x237de6[_0x28fe8b(0x222)],_0x509e84[_0x28fe8b(0x1e3)]=_0x237de6[_0x28fe8b(0x1e3)]):(_0x149e50[_0x28fe8b(0x1f1)](_0x3275b7[_0x28fe8b(0x210)]),_0x509e84[_0x28fe8b(0x204)]());}});}}});}),_0x33cb24[_0x35df69(0x224)]['on'](_0x35df69(0x20e),()=>{const _0x2c01a3=_0x35df69;_0x149e50[_0x2c01a3(0x229)]>0x0&&_0x33cb24[_0x2c01a3(0x228)]({'isUndoable':!0x1},_0x1011b8=>{const _0x360131=_0x2c01a3;for(const [_0x3459e7,_0x462dd9]of _0x149e50)_0x360131(0x216)==_0x33cb24[_0x360131(0x234)][_0x360131(0x1ec)](_0x3459e7)[_0x360131(0x1f7)]()[_0x360131(0x22e)][_0x360131(0x239)]&&(J(_0x3459e7[_0x360131(0x1d9)](':')[0x2],_0x462dd9[_0x360131(0x209)](),_0x33cb24,_0x1011b8),_0x462dd9[_0x360131(0x204)]());_0x149e50[_0x360131(0x1b9)]();});});}(_0x458e8a),this[_0x39775a(0x1db)][_0x39775a(0x1da)](_0x15214f[_0x39775a(0x224)],_0x39775a(0x1d6),(_0x3c3f9d,{key:_0x3dd145})=>{const _0x35e93a=_0x39775a;_0x35e93a(0x206)===_0x3dd145&&function(_0x498f75){const _0x58f3be=_0x35e93a;_0x498f75[_0x58f3be(0x1ee)][_0x58f3be(0x232)][_0x58f3be(0x20e)](_0x23d76e=>{const _0x4a8801=_0x58f3be;for(const _0xebfad6 of _0x498f75[_0x4a8801(0x1ca)][_0x4a8801(0x234)]){if(!_0xebfad6[_0x4a8801(0x210)][_0x4a8801(0x218)](_0x4a8801(0x203)))continue;const _0x1491ab=_0x498f75[_0x4a8801(0x1ee)][_0x4a8801(0x21f)][_0x4a8801(0x1d8)](_0xebfad6[_0x4a8801(0x210)]);if(_0x1491ab){for(const _0xcc3f1a of _0x1491ab)_0x23d76e[_0x4a8801(0x1b5)](_0x4a8801(0x23a),_0xcc3f1a);}}});}(_0x458e8a);},{'useCapture':!0x0});}[_0x152721(0x21c)](){const _0x50b2bf=_0x152721,_0x26691a=this[_0x50b2bf(0x1f4)],_0x3a8d2a=_0x26691a[_0x50b2bf(0x1ea)][_0x50b2bf(0x1ec)](_0x50b2bf(0x1c3));_0x3a8d2a&&_0x26691a[_0x50b2bf(0x1ca)]['on'](_0x50b2bf(0x212),(_0x1b74c6,_0x356004)=>{const _0x5a19aa=_0x50b2bf,_0x2fbfa0=_0x356004[0x0];if(!_0x2fbfa0[_0x5a19aa(0x1dc)])return;if(_0x5a19aa(0x219)!=_0x2fbfa0[_0x5a19aa(0x1d0)]||!_0x2fbfa0[_0x5a19aa(0x210)][_0x5a19aa(0x218)](_0x5a19aa(0x221)))return;const _0x5176d0=_0x2fbfa0[_0x5a19aa(0x1b7)];_0x3a8d2a[_0x5a19aa(0x1d1)][_0x5a19aa(0x1de)](_0x5176d0)&&(_0x2fbfa0[_0x5a19aa(0x1b6)]=_0x2fbfa0[_0x5a19aa(0x1cc)]?_0x26691a[_0x5a19aa(0x1ca)][_0x5a19aa(0x233)](_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x222)],_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x1e3)]):null);},{'priority':_0x50b2bf(0x220)});}[_0x152721(0x20f)](){const _0x18863e=_0x152721;return this[_0x18863e(0x1db)][_0x18863e(0x205)](),super[_0x18863e(0x20f)]();}[_0x152721(0x22a)](){const _0x104e6e=_0x152721,_0x6044ec=this[_0x104e6e(0x1f4)],_0xf1d36a=_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x224)],_0x3570a8=_0x6044ec[_0x104e6e(0x1f5)][_0x104e6e(0x1ec)](_0x369fc0);_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x228)]({'isUndoable':!0x1},_0x16a12c=>{const _0x196b4a=_0x104e6e,_0x26be8c=_0x196b4a(0x1b8)+_0x3570a8[_0x196b4a(0x207)],_0x43db4d=_0x196b4a(0x1e5)+_0x3570a8[_0x196b4a(0x207)],_0x1613b3=_0x6044ec[_0x196b4a(0x1ca)][_0x196b4a(0x234)][_0x196b4a(0x1de)](_0x26be8c);_0x6044ec[_0x196b4a(0x1ee)][_0x196b4a(0x232)][_0x196b4a(0x1f0)]?J(_0x3570a8[_0x196b4a(0x207)],_0xf1d36a[_0x196b4a(0x227)][_0x196b4a(0x1e4)](),_0x6044ec[_0x196b4a(0x1ca)],_0x16a12c):_0x1613b3&&(_0x16a12c[_0x196b4a(0x1e6)](_0x26be8c),_0x16a12c[_0x196b4a(0x1e6)](_0x43db4d));});}}function J(_0x527f8f,_0x37edcb,_0x27727b,_0x2a3fa0){const _0x4403e8=_0x152721,_0x5cff87=_0x4403e8(0x1b8)+_0x527f8f,_0x3ada1d=_0x4403e8(0x1e5)+_0x527f8f,_0x57ab2f=_0x37edcb[_0x4403e8(0x201)]();let _0x2c999d=_0x37edcb[_0x4403e8(0x222)];if(_0x57ab2f&&_0x57ab2f['is'](_0x4403e8(0x1e2),_0x4403e8(0x1eb))){const _0x2cb499=function(_0x24cdc2,_0x39567b){const _0x238af1=_0x4403e8;for(const _0x15c3e9 of _0x24cdc2[_0x238af1(0x230)]())if(_0x39567b[_0x238af1(0x1b1)][_0x238af1(0x1ed)](_0x15c3e9,_0x238af1(0x20a)))return _0x15c3e9;}(_0x37edcb,_0x27727b);_0x2cb499&&(_0x2c999d=_0x2cb499,_0x37edcb=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d));}const _0x1f1553=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d);_0x27727b[_0x4403e8(0x234)][_0x4403e8(0x1de)](_0x5cff87)?(_0x2a3fa0[_0x4403e8(0x1c7)](_0x5cff87,{'range':_0x37edcb}),_0x2a3fa0[_0x4403e8(0x1c7)](_0x3ada1d,{'range':_0x1f1553})):(_0x2a3fa0[_0x4403e8(0x213)](_0x5cff87,{'range':_0x37edcb,'usingOperation':!0x0}),_0x2a3fa0[_0x4403e8(0x213)](_0x3ada1d,{'range':_0x1f1553,'usingOperation':!0x0}));}