@ckeditor/ckeditor5-real-time-collaboration 47.6.0-alpha.7 → 47.6.0-alpha.8

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 _0x1ac708=_0x3f3e;(function(_0x5868bf,_0x1645a5){const _0x328f4b=_0x3f3e,_0x4264ac=_0x5868bf();while(!![]){try{const _0x50a40c=-parseInt(_0x328f4b(0x184))/0x1*(parseInt(_0x328f4b(0x182))/0x2)+parseInt(_0x328f4b(0x16b))/0x3+-parseInt(_0x328f4b(0x17b))/0x4*(parseInt(_0x328f4b(0x176))/0x5)+parseInt(_0x328f4b(0x180))/0x6*(-parseInt(_0x328f4b(0x187))/0x7)+parseInt(_0x328f4b(0x171))/0x8*(parseInt(_0x328f4b(0x16e))/0x9)+-parseInt(_0x328f4b(0x16d))/0xa*(-parseInt(_0x328f4b(0x175))/0xb)+parseInt(_0x328f4b(0x18b))/0xc;if(_0x50a40c===_0x1645a5)break;else _0x4264ac['push'](_0x4264ac['shift']());}catch(_0x4fd189){_0x4264ac['push'](_0x4264ac['shift']());}}}(_0x5f19,0x905ba));function _0x5f19(){const _0x1e434c=['4050729ASPKYY','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','8bNJnqb','hasPopup','set','keystrokes','7579knqVBC','5802865mIYDSj','listenTo','.ck-balloon-panel_with-arrow','render','element','4FpBtVj','ck-presence-list__list','bindTemplate','relatedTarget','contains','3425028BHzPsM','presencelist:show','2HMBSKT','focus','623894GRFNtD','.ck-presence-list__dropdown-list','Connected\x20users\x20list','14kFCaIP','setTemplate','querySelector','items','13977708iiRmKJ','change:hasPopup','removeAttribute','createCollection','list','presencelist:hide','fire','aria-expanded','isExpanded','2456238FcSfwp','setAttribute','15730FpoyKq'];_0x5f19=function(){return _0x1e434c;};return _0x5f19();}import{View as _0x13f6dd}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x320171}from'ckeditor5/src/utils.js';function _0x3f3e(_0x1ad1a3,_0x3a0047){const _0x5f1929=_0x5f19();return _0x3f3e=function(_0x3f3e9b,_0x4f4c98){_0x3f3e9b=_0x3f3e9b-0x169;let _0x120086=_0x5f1929[_0x3f3e9b];return _0x120086;},_0x3f3e(_0x1ad1a3,_0x3a0047);}import{getTranslation as _0x5dd166}from'../../common-translations.js';export class PresenceInlineListView extends _0x13f6dd{[_0x1ac708(0x18a)];[_0x1ac708(0x174)];constructor(_0x5a3bda){const _0x46a6b4=_0x1ac708;super(_0x5a3bda);const _0x44cd77=this[_0x46a6b4(0x17d)];this[_0x46a6b4(0x18a)]=this[_0x46a6b4(0x18e)](),this[_0x46a6b4(0x174)]=new _0x320171(),this[_0x46a6b4(0x173)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x46a6b4(0x188)]({'tag':_0x46a6b4(0x16f),'attributes':{'aria-haspopup':_0x44cd77['if'](_0x46a6b4(0x172)),'aria-expanded':_0x44cd77['to'](_0x46a6b4(0x16a),_0x131130=>this[_0x46a6b4(0x172)]&&String(_0x131130)),'aria-label':_0x44cd77['to'](_0x46a6b4(0x172),_0x261bea=>_0x5dd166(_0x5a3bda,_0x261bea?_0x46a6b4(0x170):_0x46a6b4(0x186))),'role':_0x46a6b4(0x18f),'tabindex':_0x44cd77['to'](_0x46a6b4(0x172),_0x183934=>!!_0x183934&&0x0),'class':['ck',_0x46a6b4(0x17c)]},'children':this[_0x46a6b4(0x18a)],'on':{'mouseenter':_0x44cd77['to'](()=>this[_0x46a6b4(0x191)](_0x46a6b4(0x181))),'mouseleave':_0x44cd77['to'](_0x5ebea7=>{const _0x34bc5d=_0x46a6b4,_0xdea7e1=_0x5ebea7,_0x1b71a2=document[_0x34bc5d(0x189)](_0x34bc5d(0x185)),_0xff5671=document[_0x34bc5d(0x189)](_0x34bc5d(0x178));_0x1b71a2?.[_0x34bc5d(0x17f)](_0xdea7e1[_0x34bc5d(0x17e)])||_0xff5671?.[_0x34bc5d(0x17f)](_0xdea7e1[_0x34bc5d(0x17e)])||this[_0x34bc5d(0x191)](_0x34bc5d(0x190));})}}),this['on'](_0x46a6b4(0x18c),(_0x1a7dde,_0x53edc0,_0x42c224)=>{const _0x3117b5=_0x46a6b4;this[_0x3117b5(0x17a)]&&(_0x42c224?this[_0x3117b5(0x17a)][_0x3117b5(0x16c)](_0x3117b5(0x169),String(this[_0x3117b5(0x16a)])):this[_0x3117b5(0x17a)][_0x3117b5(0x18d)](_0x3117b5(0x169)));});}[_0x1ac708(0x183)](){const _0x1bceea=_0x1ac708;this[_0x1bceea(0x17a)][_0x1bceea(0x183)]();}[_0x1ac708(0x179)](){const _0x14ec8e=_0x1ac708;super[_0x14ec8e(0x179)](),this[_0x14ec8e(0x174)][_0x14ec8e(0x177)](this[_0x14ec8e(0x17a)]);}}
23
+ function _0x4c12(_0x455d82,_0x287cad){const _0xa7efd8=_0xa7ef();return _0x4c12=function(_0x4c12b7,_0x2dfe6d){_0x4c12b7=_0x4c12b7-0x12e;let _0x24a079=_0xa7efd8[_0x4c12b7];return _0x24a079;},_0x4c12(_0x455d82,_0x287cad);}const _0x1cde66=_0x4c12;(function(_0x55bc7d,_0x3d0fea){const _0x1748f6=_0x4c12,_0x56f095=_0x55bc7d();while(!![]){try{const _0x220a49=parseInt(_0x1748f6(0x153))/0x1+-parseInt(_0x1748f6(0x14e))/0x2+parseInt(_0x1748f6(0x136))/0x3*(-parseInt(_0x1748f6(0x13b))/0x4)+parseInt(_0x1748f6(0x12f))/0x5*(-parseInt(_0x1748f6(0x12e))/0x6)+-parseInt(_0x1748f6(0x146))/0x7*(parseInt(_0x1748f6(0x151))/0x8)+-parseInt(_0x1748f6(0x150))/0x9*(parseInt(_0x1748f6(0x14a))/0xa)+parseInt(_0x1748f6(0x140))/0xb;if(_0x220a49===_0x3d0fea)break;else _0x56f095['push'](_0x56f095['shift']());}catch(_0x1c50f8){_0x56f095['push'](_0x56f095['shift']());}}}(_0xa7ef,0xb2954));import{View as _0xb7e337}from'ckeditor5/src/ui.js';function _0xa7ef(){const _0x121bf4=['listenTo','485666JqFJug','keystrokes','isExpanded','3901980NiZDNm','5OzZblP','render','.ck-balloon-panel_with-arrow','presencelist:show','list','change:hasPopup','bindTemplate','12WZQWpn','createCollection','setAttribute','focus','fire','430976DbiQCa','ck-presence-list__list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','hasPopup','Connected\x20users\x20list','42387433xvqBnt','setTemplate','.ck-presence-list__dropdown-list','aria-expanded','element','presencelist:hide','715323lWyAaI','relatedTarget','querySelector','removeAttribute','5412460HrRgBj','items','div','contains','2130680AXrPsA','set','9Oynkvi','72EbyNiq'];_0xa7ef=function(){return _0x121bf4;};return _0xa7ef();}import{KeystrokeHandler as _0x451d20}from'ckeditor5/src/utils.js';import{getTranslation as _0x451499}from'../../common-translations.js';export class PresenceInlineListView extends _0xb7e337{[_0x1cde66(0x14b)];[_0x1cde66(0x154)];constructor(_0x1a2bf1){const _0x43cd99=_0x1cde66;super(_0x1a2bf1);const _0x2c582a=this[_0x43cd99(0x135)];this[_0x43cd99(0x14b)]=this[_0x43cd99(0x137)](),this[_0x43cd99(0x154)]=new _0x451d20(),this[_0x43cd99(0x14f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x43cd99(0x141)]({'tag':_0x43cd99(0x14c),'attributes':{'aria-haspopup':_0x2c582a['if'](_0x43cd99(0x13e)),'aria-expanded':_0x2c582a['to'](_0x43cd99(0x155),_0x16e425=>this[_0x43cd99(0x13e)]&&String(_0x16e425)),'aria-label':_0x2c582a['to'](_0x43cd99(0x13e),_0x59a77b=>_0x451499(_0x1a2bf1,_0x59a77b?_0x43cd99(0x13d):_0x43cd99(0x13f))),'role':_0x43cd99(0x133),'tabindex':_0x2c582a['to'](_0x43cd99(0x13e),_0x189bba=>!!_0x189bba&&0x0),'class':['ck',_0x43cd99(0x13c)]},'children':this[_0x43cd99(0x14b)],'on':{'mouseenter':_0x2c582a['to'](()=>this[_0x43cd99(0x13a)](_0x43cd99(0x132))),'mouseleave':_0x2c582a['to'](_0x1898a0=>{const _0x384523=_0x43cd99,_0x3971c3=_0x1898a0,_0x19475a=document[_0x384523(0x148)](_0x384523(0x142)),_0x36bb6d=document[_0x384523(0x148)](_0x384523(0x131));_0x19475a?.[_0x384523(0x14d)](_0x3971c3[_0x384523(0x147)])||_0x36bb6d?.[_0x384523(0x14d)](_0x3971c3[_0x384523(0x147)])||this[_0x384523(0x13a)](_0x384523(0x145));})}}),this['on'](_0x43cd99(0x134),(_0x3bd2c2,_0x4d7b97,_0x2fa2c8)=>{const _0x2911aa=_0x43cd99;this[_0x2911aa(0x144)]&&(_0x2fa2c8?this[_0x2911aa(0x144)][_0x2911aa(0x138)](_0x2911aa(0x143),String(this[_0x2911aa(0x155)])):this[_0x2911aa(0x144)][_0x2911aa(0x149)](_0x2911aa(0x143)));});}[_0x1cde66(0x139)](){const _0x58bc23=_0x1cde66;this[_0x58bc23(0x144)][_0x58bc23(0x139)]();}[_0x1cde66(0x130)](){const _0x3225ef=_0x1cde66;super[_0x3225ef(0x130)](),this[_0x3225ef(0x154)][_0x3225ef(0x152)](this[_0x3225ef(0x144)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x595f38=_0xf8ce;(function(_0x42ed55,_0x388409){const _0x285621=_0xf8ce,_0x243a36=_0x42ed55();while(!![]){try{const _0x21019b=-parseInt(_0x285621(0x183))/0x1*(-parseInt(_0x285621(0x18f))/0x2)+parseInt(_0x285621(0x19e))/0x3*(-parseInt(_0x285621(0x187))/0x4)+parseInt(_0x285621(0x19c))/0x5+parseInt(_0x285621(0x194))/0x6*(parseInt(_0x285621(0x186))/0x7)+parseInt(_0x285621(0x195))/0x8*(-parseInt(_0x285621(0x182))/0x9)+parseInt(_0x285621(0x19b))/0xa+-parseInt(_0x285621(0x18e))/0xb*(-parseInt(_0x285621(0x192))/0xc);if(_0x21019b===_0x388409)break;else _0x243a36['push'](_0x243a36['shift']());}catch(_0xb01ac2){_0x243a36['push'](_0x243a36['shift']());}}}(_0x478d,0x36773));import{View as _0x104c28}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x180640}from'./presencecounterview.js';import{PresenceInlineListView as _0xa90592}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x104c28{[_0x595f38(0x18c)];[_0x595f38(0x191)];constructor(_0x535bf5,_0x4ac5c3=0x6){const _0x540b90=_0x595f38;super(_0x535bf5);const _0x302683=this[_0x540b90(0x190)];this[_0x540b90(0x180)](_0x540b90(0x189),!0x0),this[_0x540b90(0x18c)]=new _0x180640(this[_0x540b90(0x193)],_0x4ac5c3),this[_0x540b90(0x191)]=new _0xa90592(_0x535bf5),this[_0x540b90(0x191)][_0x540b90(0x18d)](_0x540b90(0x181))['to'](this,_0x540b90(0x189)),this[_0x540b90(0x198)](this[_0x540b90(0x191)][_0x540b90(0x18b)],_0x540b90(0x197),()=>{const _0x1999f2=_0x540b90;for(const _0x388645 of this[_0x1999f2(0x191)][_0x1999f2(0x18b)])_0x388645[_0x1999f2(0x199)]='s';this[_0x1999f2(0x191)][_0x1999f2(0x18b)][_0x1999f2(0x188)]&&(this[_0x1999f2(0x191)][_0x1999f2(0x18b)][_0x1999f2(0x188)][_0x1999f2(0x199)]='se');}),this[_0x540b90(0x196)]({'tag':_0x540b90(0x19a),'attributes':{'class':['ck',_0x540b90(0x18a),_0x540b90(0x19d),_0x540b90(0x185),_0x302683['if'](_0x540b90(0x189),_0x540b90(0x184))]},'children':[this[_0x540b90(0x191)]]});}}function _0xf8ce(_0x283a9d,_0x41ec69){const _0x478dbb=_0x478d();return _0xf8ce=function(_0xf8ce6f,_0x2449f9){_0xf8ce6f=_0xf8ce6f-0x180;let _0x324385=_0x478dbb[_0xf8ce6f];return _0x324385;},_0xf8ce(_0x283a9d,_0x41ec69);}function _0x478d(){const _0x4762bb=['locale','13476YLrcsX','637752OEsTOR','setTemplate','change','listenTo','tooltipPosition','div','4416110pDJeWf','634365ZxWqay','ck-reset','438618bgYcOE','set','hasPopup','45hrGxcJ','1894cwmuLU','ck-presence-list--collapsed','ck-rounded-corners','280WBKQfn','8VwBUab','first','isCollapsed','ck-presence-list','items','counterView','bind','22EwHVVZ','218gZkijl','bindTemplate','inlineListView','295968aktCut'];_0x478d=function(){return _0x4762bb;};return _0x478d();}
23
+ const _0xfeb577=_0x16d7;(function(_0x5d1dfe,_0x1c96da){const _0x29ba37=_0x16d7,_0x157e66=_0x5d1dfe();while(!![]){try{const _0x152fbd=parseInt(_0x29ba37(0x149))/0x1+parseInt(_0x29ba37(0x135))/0x2*(-parseInt(_0x29ba37(0x14d))/0x3)+-parseInt(_0x29ba37(0x136))/0x4+parseInt(_0x29ba37(0x13d))/0x5+-parseInt(_0x29ba37(0x134))/0x6+-parseInt(_0x29ba37(0x146))/0x7+parseInt(_0x29ba37(0x13c))/0x8*(parseInt(_0x29ba37(0x14a))/0x9);if(_0x152fbd===_0x1c96da)break;else _0x157e66['push'](_0x157e66['shift']());}catch(_0xae36ca){_0x157e66['push'](_0x157e66['shift']());}}}(_0x4d17,0x97f32));import{View as _0x5481ae}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3a304a}from'./presencecounterview.js';function _0x16d7(_0x339e3b,_0x36b77a){const _0x4d176d=_0x4d17();return _0x16d7=function(_0x16d791,_0x3c0161){_0x16d791=_0x16d791-0x132;let _0x488ceb=_0x4d176d[_0x16d791];return _0x488ceb;},_0x16d7(_0x339e3b,_0x36b77a);}import{PresenceInlineListView as _0x4117a6}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5481ae{[_0xfeb577(0x144)];[_0xfeb577(0x140)];constructor(_0x491f10,_0x20acd1=0x6){const _0x2226bf=_0xfeb577;super(_0x491f10);const _0x8b844d=this[_0x2226bf(0x139)];this[_0x2226bf(0x148)](_0x2226bf(0x141),!0x0),this[_0x2226bf(0x144)]=new _0x3a304a(this[_0x2226bf(0x142)],_0x20acd1),this[_0x2226bf(0x140)]=new _0x4117a6(_0x491f10),this[_0x2226bf(0x140)][_0x2226bf(0x13b)](_0x2226bf(0x132))['to'](this,_0x2226bf(0x141)),this[_0x2226bf(0x13a)](this[_0x2226bf(0x140)][_0x2226bf(0x138)],_0x2226bf(0x13f),()=>{const _0xa6a3bb=_0x2226bf;for(const _0x553ba4 of this[_0xa6a3bb(0x140)][_0xa6a3bb(0x138)])_0x553ba4[_0xa6a3bb(0x143)]='s';this[_0xa6a3bb(0x140)][_0xa6a3bb(0x138)][_0xa6a3bb(0x133)]&&(this[_0xa6a3bb(0x140)][_0xa6a3bb(0x138)][_0xa6a3bb(0x133)][_0xa6a3bb(0x143)]='se');}),this[_0x2226bf(0x145)]({'tag':_0x2226bf(0x13e),'attributes':{'class':['ck',_0x2226bf(0x137),_0x2226bf(0x14c),_0x2226bf(0x14b),_0x8b844d['if'](_0x2226bf(0x141),_0x2226bf(0x147))]},'children':[this[_0x2226bf(0x140)]]});}}function _0x4d17(){const _0x72c93f=['inlineListView','isCollapsed','locale','tooltipPosition','counterView','setTemplate','3816414MjBVeg','ck-presence-list--collapsed','set','200250PLlwLT','19232271lplzmN','ck-rounded-corners','ck-reset','159tSdYCb','hasPopup','first','4233630ntmLMm','37274zsnYVv','713960sQgwHL','ck-presence-list','items','bindTemplate','listenTo','bind','8ANMdyH','3511375yIxDNe','div','change'];_0x4d17=function(){return _0x72c93f;};return _0x4d17();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x45ef(){var _0x149ebd=['550396yDtkUp','12XMkHMj','isPremiumPlugin','PresenceList','842976ZBnPBC','10124488rIlwIa','503711KzCycw','pluginName','1916397HwzyQl','isOfficialPlugin','requires','1455945FIktZZ','296984PlDpgs'];_0x45ef=function(){return _0x149ebd;};return _0x45ef();}function _0x2887(_0xb90253,_0x5023c1){var _0x45ef9d=_0x45ef();return _0x2887=function(_0x288743,_0x31134c){_0x288743=_0x288743-0x1c9;var _0x14c36b=_0x45ef9d[_0x288743];return _0x14c36b;},_0x2887(_0xb90253,_0x5023c1);}var _0x4648ae=_0x2887;(function(_0x4a0409,_0x586d9e){var _0x453450=_0x2887,_0x112233=_0x4a0409();while(!![]){try{var _0x52b16f=parseInt(_0x453450(0x1d1))/0x1+parseInt(_0x453450(0x1cb))/0x2+parseInt(_0x453450(0x1cf))/0x3+-parseInt(_0x453450(0x1ca))/0x4+parseInt(_0x453450(0x1c9))/0x5*(parseInt(_0x453450(0x1cc))/0x6)+parseInt(_0x453450(0x1d3))/0x7+-parseInt(_0x453450(0x1d0))/0x8;if(_0x52b16f===_0x586d9e)break;else _0x112233['push'](_0x112233['shift']());}catch(_0x4d7598){_0x112233['push'](_0x112233['shift']());}}}(_0x45ef,0x8caf3));import{ContextPlugin as _0x5abcc6}from'ckeditor5/src/core.js';import{Sessions as _0x22179b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1a4005}from'./presencelist/presencelistui.js';export class PresenceList extends _0x5abcc6{static get[_0x4648ae(0x1d5)](){return[_0x22179b,_0x1a4005];}static get[_0x4648ae(0x1d2)](){var _0xc10de2=_0x4648ae;return _0xc10de2(0x1ce);}static get[_0x4648ae(0x1d4)](){return!0x0;}static get[_0x4648ae(0x1cd)](){return!0x0;}}
23
+ var _0x4cc135=_0x53b3;(function(_0x4ef9c7,_0x46200a){var _0x153260=_0x53b3,_0x5a26bf=_0x4ef9c7();while(!![]){try{var _0x501497=parseInt(_0x153260(0x174))/0x1*(parseInt(_0x153260(0x173))/0x2)+parseInt(_0x153260(0x16c))/0x3*(parseInt(_0x153260(0x171))/0x4)+-parseInt(_0x153260(0x176))/0x5+-parseInt(_0x153260(0x179))/0x6+-parseInt(_0x153260(0x178))/0x7*(parseInt(_0x153260(0x17a))/0x8)+-parseInt(_0x153260(0x172))/0x9*(parseInt(_0x153260(0x177))/0xa)+parseInt(_0x153260(0x175))/0xb*(parseInt(_0x153260(0x16f))/0xc);if(_0x501497===_0x46200a)break;else _0x5a26bf['push'](_0x5a26bf['shift']());}catch(_0x2d3474){_0x5a26bf['push'](_0x5a26bf['shift']());}}}(_0x45e6,0x7dfb6));import{ContextPlugin as _0x44e44d}from'ckeditor5/src/core.js';import{Sessions as _0x1a3db5}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3316c4}from'./presencelist/presencelistui.js';export class PresenceList extends _0x44e44d{static get[_0x4cc135(0x16a)](){return[_0x1a3db5,_0x3316c4];}static get[_0x4cc135(0x16e)](){var _0x2d0fc1=_0x4cc135;return _0x2d0fc1(0x16d);}static get[_0x4cc135(0x16b)](){return!0x0;}static get[_0x4cc135(0x170)](){return!0x0;}}function _0x53b3(_0x49dcd,_0x14e9ea){var _0x45e6e4=_0x45e6();return _0x53b3=function(_0x53b37e,_0xcc969){_0x53b37e=_0x53b37e-0x16a;var _0x59ef70=_0x45e6e4[_0x53b37e];return _0x59ef70;},_0x53b3(_0x49dcd,_0x14e9ea);}function _0x45e6(){var _0x3454c2=['709539IWCLJl','PresenceList','pluginName','12qCjkni','isPremiumPlugin','8HwZAPI','188127NTptci','3508nkpTcv','26iwQmbR','17159208Phsrbu','54245SzljHx','270mgtIXZ','60893jobVnY','5871642uPKObJ','8ZiXPsK','requires','isOfficialPlugin'];_0x45e6=function(){return _0x3454c2;};return _0x45e6();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2801e0=_0xa04a;(function(_0x4f5e85,_0x39285a){const _0x4d87db=_0xa04a,_0x18473e=_0x4f5e85();while(!![]){try{const _0x3c1194=parseInt(_0x4d87db(0x216))/0x1*(-parseInt(_0x4d87db(0x1e3))/0x2)+-parseInt(_0x4d87db(0x213))/0x3+-parseInt(_0x4d87db(0x219))/0x4+parseInt(_0x4d87db(0x1ed))/0x5+-parseInt(_0x4d87db(0x1e7))/0x6+parseInt(_0x4d87db(0x1ee))/0x7*(-parseInt(_0x4d87db(0x1df))/0x8)+parseInt(_0x4d87db(0x221))/0x9;if(_0x3c1194===_0x39285a)break;else _0x18473e['push'](_0x18473e['shift']());}catch(_0x12f3b8){_0x18473e['push'](_0x18473e['shift']());}}}(_0x5867,0xdd0d8));import{Context as _0x1f1ee4,ContextPlugin as _0x2676b9}from'ckeditor5/src/core.js';import{CKEditorError as _0x4477e4}from'ckeditor5/src/utils.js';import{Users as _0x1c3691}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4eca42,User as _0x5b0116}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2e568c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2335c2}from'../realtimecollaborativeediting/sessions.js';function _0x5867(){const _0x132ffb=['createdAt','getCommentThreads','1831424SWqkqe','getCommentThread','removeCommentThread','code','adapter','commentThreadRemoved','content','commentUpdated','30308994GZTGYZ','keys','userId','cloudservicescommentsadapter-service-not-exist','commentRemoved','CommentsRepository','permissions','startsWith','sessionAdd:','isPremiumPlugin','reconnect','set','_connectService','listenTo','register','setPermissions','authorId','getConnectedSessions','size','Permissions','add','cloud-services-internal-error:\x20Request\x20timeout.','remove','attributes','_fetchMissingUsersForThreads','_terminateService','updateCommentThread','off','deletedAt','_setUpService','removeComment','config','update','plugins','collaboration.channelId','16yfBVIu','delete','destroy','addUser','1846986WQAbbX','has','cloud-services-internal-error:\x20Not\x20connected.','getComment','1836420tAmbIt','commentThreadResolved','reopenCommentThread','message','commentThreadId','resolvedAt','8653370yHflnU','3297133LOAmdH','addComment','404','getUser','cloudservicescommentsadapter-disconnect-not-exist','unregister','disconnect','updateComment','CloudServicesCommentsAdapter','isOfficialPlugin','map','addToReconnectionStack','commentId','_getService','context','cloudservicescommentsadapter-connect-already-connected','_services','reopen','get','catch','commentAdded','resolveCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','resolvedBy','pluginName','comments','commentThreadUpdated','commentThreadReopened','from','commentThreadAdded','addCommentThread','resolve','requires','connect','init','getMany','4690353HWJVeT','assign','CommentsService','1RgSjUn'];_0x5867=function(){return _0x132ffb;};return _0x5867();}export class CloudServicesCommentsAdapter extends _0x2676b9{static [_0x2801e0(0x215)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4eca42)());[_0x2801e0(0x1fe)];static get[_0x2801e0(0x20f)](){const _0x41c12e=_0x2801e0;return[_0x2e568c,_0x41c12e(0x1c1),_0x2335c2,_0x1c3691];}static get[_0x2801e0(0x207)](){const _0x29fad9=_0x2801e0;return _0x29fad9(0x1f6);}static get[_0x2801e0(0x1f7)](){return!0x0;}static get[_0x2801e0(0x1c5)](){return!0x0;}constructor(_0x3d6d52){const _0x1907b8=_0x2801e0;super(_0x3d6d52),this[_0x1907b8(0x1fe)]=new Map();}async[_0x2801e0(0x211)](){const _0xa78b39=_0x2801e0,_0x4b9a6b=this[_0xa78b39(0x1fc)],_0xc17cdb=_0x4b9a6b[_0xa78b39(0x1dd)][_0xa78b39(0x200)](_0xa78b39(0x1c1));if(_0x4b9a6b[_0xa78b39(0x1dd)][_0xa78b39(0x200)](_0x2e568c)[_0xa78b39(0x1f9)](this),_0xc17cdb[_0xa78b39(0x21d)]={'addCommentThread':async({channelId:_0x296bbd,threadId:_0x25cbcf,comments:_0x4fea61,resolvedAt:_0x418993,resolvedBy:_0x304c73,context:_0x2fbf61,attributes:_0x59af78})=>{const _0x358d1=_0xa78b39,_0x5a29a7=await this[_0x358d1(0x1fb)](_0x296bbd)[_0x358d1(0x20d)]({'commentThreadId':_0x25cbcf,'comments':_0x4fea61[_0x358d1(0x1f8)](_0xfb5a2d=>function(_0x173a4a,_0x93c8a7,_0xaea54a){const _0x4acfa9=_0x358d1;return{'commentThreadId':_0xaea54a,'commentId':_0x173a4a[_0x4acfa9(0x1fa)],'userId':_0x173a4a[_0x4acfa9(0x1cc)],'content':_0x173a4a[_0x4acfa9(0x21f)],'documentId':_0x93c8a7,'createdAt':_0x173a4a[_0x4acfa9(0x217)],'attributes':_0x173a4a[_0x4acfa9(0x1d3)]||{}};}(_0xfb5a2d,_0x296bbd,_0x25cbcf)),'resolvedAt':_0x418993,'resolvedBy':_0x304c73,'context':_0x2fbf61,'attributes':_0x59af78})[_0x358d1(0x201)](A);return{'threadId':_0x5a29a7[_0x358d1(0x1eb)],'comments':_0x5a29a7[_0x358d1(0x208)]};},'getCommentThread':async({channelId:_0x34f9a7,threadId:_0x4518f0})=>{const _0x18241f=_0xa78b39,_0x430193=await this[_0x18241f(0x1fb)](_0x34f9a7)[_0x18241f(0x21a)](_0x4518f0)[_0x18241f(0x201)](f)[_0x18241f(0x201)](A);return _0x430193?_0x430193[_0x18241f(0x1d8)]?null:(await this[_0x18241f(0x1d4)]([_0x430193]),{'threadId':_0x430193[_0x18241f(0x1eb)],'comments':_0x430193[_0x18241f(0x208)][_0x18241f(0x1f8)](p),'context':_0x430193[_0x18241f(0x1fc)],'resolvedAt':_0x430193[_0x18241f(0x1ec)],'resolvedBy':_0x430193[_0x18241f(0x206)],'attributes':_0x430193[_0x18241f(0x1d3)]||{}}):null;},'updateCommentThread':async({channelId:_0xc3d338,threadId:_0x4f675d,context:_0x3a5176,unlinkedAt:_0x159e98,attributes:_0x5d1a5e})=>this[_0xa78b39(0x1fb)](_0xc3d338)[_0xa78b39(0x1d6)]({'commentThreadId':_0x4f675d,'context':_0x3a5176,'attributes':_0x5d1a5e,'unlinkedAt':_0x159e98})[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'resolveCommentThread':async({channelId:_0x3dc789,threadId:_0x20bda8})=>{const _0x357fbc=_0xa78b39,_0x446cef=await this[_0x357fbc(0x1fb)](_0x3dc789)[_0x357fbc(0x203)](_0x20bda8)[_0x357fbc(0x201)](f)[_0x357fbc(0x201)](A);return{'threadId':_0x446cef[_0x357fbc(0x1eb)],'resolvedAt':_0x446cef[_0x357fbc(0x1ec)],'resolvedBy':_0x446cef[_0x357fbc(0x206)]};},'reopenCommentThread':async({channelId:_0xdcef5f,threadId:_0x46290a})=>this[_0xa78b39(0x1fb)](_0xdcef5f)[_0xa78b39(0x1e9)](_0x46290a)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'removeCommentThread':({channelId:_0x13e42e,threadId:_0x3ee65c})=>this[_0xa78b39(0x1fb)](_0x13e42e)[_0xa78b39(0x21b)](_0x3ee65c)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'addComment':({channelId:_0x5bb008,threadId:_0x400230,commentId:_0x19af51,content:_0x3a57e0,attributes:_0x555752})=>this[_0xa78b39(0x1fb)](_0x5bb008)[_0xa78b39(0x1ef)](_0x400230,_0x19af51,_0x3a57e0,_0x555752)[_0xa78b39(0x201)](A),'updateComment':({channelId:_0x3b57d9,threadId:_0x4bb5d9,commentId:_0x3d033b,content:_0xffd1de,attributes:_0x6a7966})=>this[_0xa78b39(0x1fb)](_0x3b57d9)[_0xa78b39(0x1f5)](_0x4bb5d9,_0x3d033b,_0xffd1de,_0x6a7966)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'removeComment':({channelId:_0x346982,threadId:_0x1fb5f6,commentId:_0x3a4cf7})=>this[_0xa78b39(0x1fb)](_0x346982)[_0xa78b39(0x1da)](_0x1fb5f6,_0x3a4cf7)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A)},_0x4b9a6b instanceof _0x1f1ee4){const _0x45d62b=_0x4b9a6b[_0xa78b39(0x1db)][_0xa78b39(0x200)](_0xa78b39(0x1de)),_0x3d0c65=_0x4b9a6b[_0xa78b39(0x1dd)][_0xa78b39(0x200)](_0x2335c2);await this[_0xa78b39(0x1d9)](_0x45d62b);const _0x5af2a7=await this[_0xa78b39(0x1fe)][_0xa78b39(0x200)](_0x45d62b)[_0xa78b39(0x1cd)]();this[_0xa78b39(0x1c9)](_0x3d0c65,_0xa78b39(0x1c4)+_0x45d62b,(_0x259c83,{session:_0x5a96ca})=>{const _0x5a90d1=_0xa78b39;_0x5a96ca['id']===_0x3d0c65[_0x5a90d1(0x205)]&&(_0x259c83[_0x5a90d1(0x1d7)](),this[_0x5a90d1(0x1fc)][_0x5a90d1(0x1dd)][_0x5a90d1(0x200)](_0x5a90d1(0x1cf))[_0x5a90d1(0x1cb)](_0x5a96ca[_0x5a90d1(0x1c2)],_0x45d62b));}),_0x3d0c65[_0xa78b39(0x1ca)](_0x45d62b,_0x5af2a7);}}async[_0x2801e0(0x1d9)](_0x261a9c){const _0xaf61f9=_0x2801e0;if(this[_0xaf61f9(0x1fe)][_0xaf61f9(0x1e4)](_0x261a9c))throw new _0x4477e4(_0xaf61f9(0x1fd),null,{'channelId':_0x261a9c});const _0x4335f1=this[_0xaf61f9(0x1fc)][_0xaf61f9(0x1dd)][_0xaf61f9(0x200)](_0xaf61f9(0x1c1)),_0x4b7aac=new CloudServicesCommentsAdapter[(_0xaf61f9(0x215))](_0x261a9c);this[_0xaf61f9(0x1fe)][_0xaf61f9(0x1c7)](_0x261a9c,_0x4b7aac),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x20c),(_0x35d909,_0x3cbc32)=>{const _0x1e947d=_0xaf61f9,{commentThreadId:_0x202133,documentId:_0xe0110b,context:_0x52d222,attributes:_0xea29b3,resolvedAt:_0x264dc0,resolvedBy:_0xb0533f,comments:_0x42faf5}=_0x3cbc32;_0x4335f1[_0x1e947d(0x21a)](_0x202133)||_0x4335f1[_0x1e947d(0x20d)]({'threadId':_0x202133,'channelId':_0xe0110b,'comments':_0x42faf5?_0x42faf5[_0x1e947d(0x1f8)](p):[],'context':_0x52d222,'attributes':_0xea29b3,'resolvedAt':_0x264dc0,'resolvedBy':_0xb0533f,'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x209),(_0x29e423,{commentThreadId:_0x506095,documentId:_0x18d208,context:_0x5797d6,unlinkedAt:_0x10744a,attributes:_0x3dbe33})=>{const _0x1721e3=_0xaf61f9;_0x4335f1[_0x1721e3(0x21a)](_0x506095)&&_0x4335f1[_0x1721e3(0x1d6)]({'threadId':_0x506095,'channelId':_0x18d208,'context':_0x5797d6,'unlinkedAt':_0x10744a,'attributes':_0x3dbe33,'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x1e8),(_0x312290,{commentThreadId:_0x447934,resolvedBy:_0x382c38,resolvedAt:_0x313cf7})=>{const _0xb6d44d=_0xaf61f9,_0x20ed6d=_0x4335f1[_0xb6d44d(0x21a)](_0x447934);_0x20ed6d&&_0x20ed6d[_0xb6d44d(0x20e)]({'resolvedBy':_0x382c38,'resolvedAt':_0x313cf7,'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x20a),(_0x2f765c,{commentThreadId:_0x4c3ee9})=>{const _0x1a56ce=_0xaf61f9,_0x530689=_0x4335f1[_0x1a56ce(0x21a)](_0x4c3ee9);_0x530689&&_0x530689[_0x1a56ce(0x1ff)]({'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x21e),(_0x1ff77c,{commentThreadId:_0x142d69})=>{const _0x33ddb5=_0xaf61f9,_0x372d1e=_0x4335f1[_0x33ddb5(0x21a)](_0x142d69);_0x372d1e&&_0x372d1e[_0x33ddb5(0x1d2)]({'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x202),(_0x2b696e,_0x598450)=>{const _0x40a5c7=_0xaf61f9,_0x4d2036=_0x598450[_0x40a5c7(0x1eb)],_0x301213=_0x4335f1[_0x40a5c7(0x21a)](_0x4d2036);_0x301213&&_0x301213[_0x40a5c7(0x1ef)]({...p(_0x598450),'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x220),(_0x33230c,{commentThreadId:_0xb9f228,commentId:_0x5893b8,content:_0x450359,attributes:_0x5b5857})=>{const _0x4f6cac=_0xaf61f9,_0x1b055b=_0x4335f1[_0x4f6cac(0x21a)](_0xb9f228);if(_0x1b055b){const _0x3acdaf=_0x1b055b[_0x4f6cac(0x1e6)](_0x5893b8);_0x3acdaf&&_0x3acdaf[_0x4f6cac(0x1dc)]({'content':_0x450359,'attributes':_0x5b5857,'isFromAdapter':!0x0});}}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x225),(_0x1e3e58,{commentThreadId:_0x4b4c0d,commentId:_0x19edac})=>{const _0x440590=_0xaf61f9,_0x16763b=_0x4335f1[_0x440590(0x21a)](_0x4b4c0d);if(_0x16763b){const _0x12a9d4=_0x16763b[_0x440590(0x1e6)](_0x19edac);_0x12a9d4&&_0x12a9d4[_0x440590(0x1d2)]({'isFromAdapter':!0x0});}}),await this[_0xaf61f9(0x1c8)](_0x261a9c);}[_0x2801e0(0x1e1)](){const _0x402b4c=_0x2801e0;if(this[_0x402b4c(0x1fc)]instanceof _0x1f1ee4){const _0x40ab6c=this[_0x402b4c(0x1fc)][_0x402b4c(0x1db)][_0x402b4c(0x200)](_0x402b4c(0x1de));this[_0x402b4c(0x1d5)](_0x40ab6c);}}[_0x2801e0(0x1d5)](_0x8b3525){const _0x20252a=_0x2801e0;if(!this[_0x20252a(0x1fe)][_0x20252a(0x1e4)](_0x8b3525))throw new _0x4477e4(_0x20252a(0x1f2),null,{'channelId':_0x8b3525});this[_0x20252a(0x1fb)](_0x8b3525)[_0x20252a(0x1f4)](),this[_0x20252a(0x1fe)][_0x20252a(0x1e0)](_0x8b3525);}async[_0x2801e0(0x1c6)](){const _0x85cc00=_0x2801e0;for(const _0x188eb6 of this[_0x85cc00(0x1fe)][_0x85cc00(0x222)]())await this[_0x85cc00(0x1c8)](_0x188eb6);if(this[_0x85cc00(0x1fc)]instanceof _0x1f1ee4){const _0x5d091d=this[_0x85cc00(0x1fc)][_0x85cc00(0x1db)][_0x85cc00(0x200)](_0x85cc00(0x1de)),_0x20d41e=this[_0x85cc00(0x1fc)][_0x85cc00(0x1dd)][_0x85cc00(0x200)](_0x2335c2);_0x20d41e[_0x85cc00(0x1f3)](_0x5d091d);const _0x33941b=await this[_0x85cc00(0x1fe)][_0x85cc00(0x200)](_0x5d091d)[_0x85cc00(0x1cd)]();_0x20d41e[_0x85cc00(0x1ca)](_0x5d091d,_0x33941b);}}async[_0x2801e0(0x1c8)](_0x10d9d3){const _0x2bf544=_0x2801e0,{connection:_0x293b3d}=this[_0x2bf544(0x1fc)][_0x2bf544(0x1dd)][_0x2bf544(0x200)](_0x2e568c),_0x1c49ad=this[_0x2bf544(0x1fc)][_0x2bf544(0x1dd)][_0x2bf544(0x200)](_0x2bf544(0x1c1)),_0x553dd8=this[_0x2bf544(0x1fe)][_0x2bf544(0x200)](_0x10d9d3),_0x55ff90=await _0x553dd8[_0x2bf544(0x210)](_0x293b3d);await this[_0x2bf544(0x1d4)](_0x55ff90);const _0x45a9bf=new Set(Array[_0x2bf544(0x20b)](_0x1c49ad[_0x2bf544(0x218)]({'channelId':_0x10d9d3}),_0x5d8885=>_0x5d8885['id']));for(const _0x4dc638 of _0x55ff90)_0x4dc638[_0x2bf544(0x1d8)]||_0x45a9bf[_0x2bf544(0x1e0)](_0x4dc638[_0x2bf544(0x1eb)]);for(const _0x102032 of _0x45a9bf)_0x1c49ad[_0x2bf544(0x21a)](_0x102032)[_0x2bf544(0x1d2)]({'isFromAdapter':!0x0});for(const _0x1e5a13 of _0x55ff90){let _0xbe726a=_0x1c49ad[_0x2bf544(0x21a)](_0x1e5a13[_0x2bf544(0x1eb)]);const {commentThreadId:_0xd76c2b,context:_0x3f488a,attributes:_0x5417f4,resolvedBy:_0x24ab8b,resolvedAt:_0x36d31a,unlinkedAt:_0x13fa6b,deletedAt:_0x4f2230}=_0x1e5a13;if(_0x4f2230)continue;_0xbe726a||(_0xbe726a=_0x1c49ad[_0x2bf544(0x20d)]({'channelId':_0x10d9d3,'threadId':_0xd76c2b,'context':_0x3f488a,'attributes':_0x5417f4||{},'resolvedBy':_0x24ab8b,'resolvedAt':_0x36d31a,'unlinkedAt':_0x13fa6b,'isFromAdapter':!0x0}));const _0x2692df=new Set(Array[_0x2bf544(0x20b)](_0xbe726a[_0x2bf544(0x208)],_0x5daf8c=>_0x5daf8c['id']));for(const _0x5b9928 of _0x1e5a13[_0x2bf544(0x208)])_0x2692df[_0x2bf544(0x1e0)](_0x5b9928[_0x2bf544(0x1fa)]);for(const _0x1da8a9 of _0x2692df)_0xbe726a[_0x2bf544(0x1e6)](_0x1da8a9)[_0x2bf544(0x1d2)]({'isFromAdapter':!0x0});for(const _0x4638cb of _0x1e5a13[_0x2bf544(0x208)]){const _0x3bd8c7=_0xbe726a[_0x2bf544(0x1e6)](_0x4638cb[_0x2bf544(0x1fa)]);_0x3bd8c7?_0x3bd8c7[_0x2bf544(0x21f)]!==_0x4638cb[_0x2bf544(0x21f)]&&_0x3bd8c7[_0x2bf544(0x1dc)]({'content':_0x4638cb[_0x2bf544(0x21f)],'isFromAdapter':!0x0}):_0xbe726a[_0x2bf544(0x1ef)](Object[_0x2bf544(0x214)](p(_0x4638cb),{'isFromAdapter':!0x0}));}}}[_0x2801e0(0x1fb)](_0x1c6e2a){const _0x4de5cd=_0x2801e0;if(!this[_0x4de5cd(0x1fe)][_0x4de5cd(0x1e4)](_0x1c6e2a))throw new _0x4477e4(_0x4de5cd(0x224),null,{'channelId':_0x1c6e2a});return this[_0x4de5cd(0x1fe)][_0x4de5cd(0x200)](_0x1c6e2a);}async[_0x2801e0(0x1d4)](_0x561dc0){const _0x3fec50=_0x2801e0,_0x27f182=this[_0x3fec50(0x1fc)][_0x3fec50(0x1dd)][_0x3fec50(0x200)](_0x1c3691),{connection:_0x15d3eb}=this[_0x3fec50(0x1fc)][_0x3fec50(0x1dd)][_0x3fec50(0x200)](_0x2e568c),_0x534472=new Set();for(const {resolvedBy:_0x44071a,comments:_0x583b22}of _0x561dc0){_0x44071a&&!_0x27f182[_0x3fec50(0x1f1)](_0x44071a)&&_0x534472[_0x3fec50(0x1d0)](_0x44071a);for(const {userId:_0x1ab71e}of _0x583b22)_0x27f182[_0x3fec50(0x1f1)](_0x1ab71e)||_0x534472[_0x3fec50(0x1d0)](_0x1ab71e);}if(0x0===_0x534472[_0x3fec50(0x1ce)])return;const _0xa875fa=await _0x5b0116[_0x3fec50(0x212)](_0x15d3eb,Array[_0x3fec50(0x20b)](_0x534472));for(const _0x36f281 of _0xa875fa)_0x27f182[_0x3fec50(0x1f1)](_0x36f281['id'])||_0x27f182[_0x3fec50(0x1e2)](_0x36f281);}}async function f(_0x1c6fad){const _0x335496=_0x2801e0;if(_0x335496(0x1f0)!==_0x1c6fad[_0x335496(0x21c)])throw _0x1c6fad;}function _0xa04a(_0x35c37f,_0x59a3e0){const _0x5867a2=_0x5867();return _0xa04a=function(_0xa04a1f,_0x3e6f28){_0xa04a1f=_0xa04a1f-0x1c1;let _0x9912f6=_0x5867a2[_0xa04a1f];return _0x9912f6;},_0xa04a(_0x35c37f,_0x59a3e0);}function A(_0x2caa66){const _0x129ee6=_0x2801e0;if((_0xc6cbab=_0x2caa66)[_0x129ee6(0x1ea)][_0x129ee6(0x1c3)](_0x129ee6(0x204))||_0xc6cbab[_0x129ee6(0x1ea)][_0x129ee6(0x1c3)](_0x129ee6(0x1e5))||_0xc6cbab[_0x129ee6(0x1ea)][_0x129ee6(0x1c3)](_0x129ee6(0x1d1)))return new Promise(()=>{});var _0xc6cbab;throw _0x2caa66;}function p(_0x3a9d2c){const _0x549e9f=_0x2801e0;return{'threadId':_0x3a9d2c[_0x549e9f(0x1eb)],'commentId':_0x3a9d2c[_0x549e9f(0x1fa)],'content':_0x3a9d2c[_0x549e9f(0x21f)],'createdAt':_0x3a9d2c[_0x549e9f(0x217)],'authorId':_0x3a9d2c[_0x549e9f(0x223)],'attributes':_0x3a9d2c[_0x549e9f(0x1d3)]||{}};}
23
+ function _0x4c98(_0x54d54f,_0x460714){const _0x49b63c=_0x49b6();return _0x4c98=function(_0x4c9872,_0x3b3994){_0x4c9872=_0x4c9872-0x15a;let _0x425a0a=_0x49b63c[_0x4c9872];return _0x425a0a;},_0x4c98(_0x54d54f,_0x460714);}const _0x3cc000=_0x4c98;(function(_0x224db6,_0x4481b0){const _0x107f9b=_0x4c98,_0x2bcd4d=_0x224db6();while(!![]){try{const _0x365bae=-parseInt(_0x107f9b(0x180))/0x1*(-parseInt(_0x107f9b(0x1a8))/0x2)+-parseInt(_0x107f9b(0x1ac))/0x3+-parseInt(_0x107f9b(0x1ab))/0x4+parseInt(_0x107f9b(0x1b2))/0x5*(parseInt(_0x107f9b(0x182))/0x6)+parseInt(_0x107f9b(0x17d))/0x7*(parseInt(_0x107f9b(0x177))/0x8)+parseInt(_0x107f9b(0x15b))/0x9*(-parseInt(_0x107f9b(0x1b5))/0xa)+-parseInt(_0x107f9b(0x183))/0xb*(-parseInt(_0x107f9b(0x19c))/0xc);if(_0x365bae===_0x4481b0)break;else _0x2bcd4d['push'](_0x2bcd4d['shift']());}catch(_0x55400b){_0x2bcd4d['push'](_0x2bcd4d['shift']());}}}(_0x49b6,0x9abd6));import{Context as _0x54d9a0,ContextPlugin as _0x49b4c5}from'ckeditor5/src/core.js';function _0x49b6(){const _0x1f09e5=['598933xwPifR','_services','36066unwiNE','501798ggzEpj','removeComment','pluginName','startsWith','CloudServicesCommentsAdapter','setPermissions','_setUpService','listenTo','has','unregister','cloudservicescommentsadapter-service-not-exist','init','commentThreadUpdated','cloud-services-internal-error:\x20Not\x20connected.','commentAdded','content','requires','off','Permissions','disconnect','plugins','commentThreadAdded','add','commentId','addComment','216FhSmcg','commentThreadReopened','addCommentThread','isPremiumPlugin','connect','updateCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','resolvedBy','adapter','destroy','remove','keys','2QTqqpd','commentUpdated','getCommentThreads','1599468MMRQOD','451608wIDLeW','cloudservicescommentsadapter-disconnect-not-exist','getComment','get','authorId','delete','60KfDvbM','_terminateService','permissions','1630bnpzvS','commentThreadId','_fetchMissingUsersForThreads','removeCommentThread','set','code','addUser','getConnectedSessions','cloudservicescommentsadapter-connect-already-connected','CommentsRepository','getCommentThread','commentRemoved','resolvedAt','getMany','31005FglDkd','config','updateComment','deletedAt','assign','register','userId','context','commentThreadRemoved','resolveCommentThread','attributes','update','createdAt','message','reopen','mySessionId','CommentsService','from','commentThreadResolved','addToReconnectionStack','reconnect','size','comments','collaboration.channelId','resolve','isOfficialPlugin','getUser','sessionAdd:','24apzTkR','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','404','_getService','catch','map','591647ZAszcY','_connectService','reopenCommentThread'];_0x49b6=function(){return _0x1f09e5;};return _0x49b6();}import{CKEditorError as _0x431c8c}from'ckeditor5/src/utils.js';import{Users as _0x3a19e3}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x48e9a7,User as _0x42b14a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5cb043}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x522dc0}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x49b4c5{static [_0x3cc000(0x16b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x48e9a7)());[_0x3cc000(0x181)];static get[_0x3cc000(0x193)](){const _0x10934d=_0x3cc000;return[_0x5cb043,_0x10934d(0x1be),_0x522dc0,_0x3a19e3];}static get[_0x3cc000(0x185)](){const _0x5b507c=_0x3cc000;return _0x5b507c(0x187);}static get[_0x3cc000(0x174)](){return!0x0;}static get[_0x3cc000(0x19f)](){return!0x0;}constructor(_0x2b1035){const _0x28b9cd=_0x3cc000;super(_0x2b1035),this[_0x28b9cd(0x181)]=new Map();}async[_0x3cc000(0x18e)](){const _0x8a25e5=_0x3cc000,_0x175736=this[_0x8a25e5(0x162)],_0x18a358=_0x175736[_0x8a25e5(0x197)][_0x8a25e5(0x1af)](_0x8a25e5(0x1be));if(_0x175736[_0x8a25e5(0x197)][_0x8a25e5(0x1af)](_0x5cb043)[_0x8a25e5(0x16e)](this),_0x18a358[_0x8a25e5(0x1a4)]={'addCommentThread':async({channelId:_0x57718f,threadId:_0x27ad9d,comments:_0x6b6741,resolvedAt:_0x2a5b5d,resolvedBy:_0x85d913,context:_0x39ac15,attributes:_0x2578e2})=>{const _0x4ccfd5=_0x8a25e5,_0x1e15c3=await this[_0x4ccfd5(0x17a)](_0x57718f)[_0x4ccfd5(0x19e)]({'commentThreadId':_0x27ad9d,'comments':_0x6b6741[_0x4ccfd5(0x17c)](_0x3137ff=>function(_0x34c321,_0x1ad098,_0x1db85b){const _0x393293=_0x4ccfd5;return{'commentThreadId':_0x1db85b,'commentId':_0x34c321[_0x393293(0x19a)],'userId':_0x34c321[_0x393293(0x1b0)],'content':_0x34c321[_0x393293(0x192)],'documentId':_0x1ad098,'createdAt':_0x34c321[_0x393293(0x167)],'attributes':_0x34c321[_0x393293(0x165)]||{}};}(_0x3137ff,_0x57718f,_0x27ad9d)),'resolvedAt':_0x2a5b5d,'resolvedBy':_0x85d913,'context':_0x39ac15,'attributes':_0x2578e2})[_0x4ccfd5(0x17b)](nt);return{'threadId':_0x1e15c3[_0x4ccfd5(0x1b6)],'comments':_0x1e15c3[_0x4ccfd5(0x171)]};},'getCommentThread':async({channelId:_0x37a440,threadId:_0xbebb03})=>{const _0x3ee02a=_0x8a25e5,_0x2bedd9=await this[_0x3ee02a(0x17a)](_0x37a440)[_0x3ee02a(0x1bf)](_0xbebb03)[_0x3ee02a(0x17b)](ot)[_0x3ee02a(0x17b)](nt);return _0x2bedd9?_0x2bedd9[_0x3ee02a(0x15e)]?null:(await this[_0x3ee02a(0x1b7)]([_0x2bedd9]),{'threadId':_0x2bedd9[_0x3ee02a(0x1b6)],'comments':_0x2bedd9[_0x3ee02a(0x171)][_0x3ee02a(0x17c)](st),'context':_0x2bedd9[_0x3ee02a(0x162)],'resolvedAt':_0x2bedd9[_0x3ee02a(0x1c1)],'resolvedBy':_0x2bedd9[_0x3ee02a(0x1a3)],'attributes':_0x2bedd9[_0x3ee02a(0x165)]||{}}):null;},'updateCommentThread':async({channelId:_0x47a30b,threadId:_0x4fe1b5,context:_0x216421,unlinkedAt:_0x211a3f,attributes:_0x2a8089})=>this[_0x8a25e5(0x17a)](_0x47a30b)[_0x8a25e5(0x1a1)]({'commentThreadId':_0x4fe1b5,'context':_0x216421,'attributes':_0x2a8089,'unlinkedAt':_0x211a3f})[_0x8a25e5(0x17b)](ot)[_0x8a25e5(0x17b)](nt),'resolveCommentThread':async({channelId:_0x412843,threadId:_0x3ea0d8})=>{const _0x36d452=_0x8a25e5,_0x1d466e=await this[_0x36d452(0x17a)](_0x412843)[_0x36d452(0x164)](_0x3ea0d8)[_0x36d452(0x17b)](ot)[_0x36d452(0x17b)](nt);return{'threadId':_0x1d466e[_0x36d452(0x1b6)],'resolvedAt':_0x1d466e[_0x36d452(0x1c1)],'resolvedBy':_0x1d466e[_0x36d452(0x1a3)]};},'reopenCommentThread':async({channelId:_0x3459c7,threadId:_0x206b0c})=>this[_0x8a25e5(0x17a)](_0x3459c7)[_0x8a25e5(0x17f)](_0x206b0c)[_0x8a25e5(0x17b)](ot)[_0x8a25e5(0x17b)](nt),'removeCommentThread':({channelId:_0x1e1225,threadId:_0x3de5ba})=>this[_0x8a25e5(0x17a)](_0x1e1225)[_0x8a25e5(0x1b8)](_0x3de5ba)[_0x8a25e5(0x17b)](ot)[_0x8a25e5(0x17b)](nt),'addComment':({channelId:_0x3b1afc,threadId:_0x56abc8,commentId:_0x4e4f88,content:_0x325b3b,attributes:_0x378f10})=>this[_0x8a25e5(0x17a)](_0x3b1afc)[_0x8a25e5(0x19b)](_0x56abc8,_0x4e4f88,_0x325b3b,_0x378f10)[_0x8a25e5(0x17b)](nt),'updateComment':({channelId:_0x2697b4,threadId:_0x1cb903,commentId:_0x50f9bd,content:_0x2847dc,attributes:_0x13ee0a})=>this[_0x8a25e5(0x17a)](_0x2697b4)[_0x8a25e5(0x15d)](_0x1cb903,_0x50f9bd,_0x2847dc,_0x13ee0a)[_0x8a25e5(0x17b)](ot)[_0x8a25e5(0x17b)](nt),'removeComment':({channelId:_0x31914f,threadId:_0xc2280f,commentId:_0x49d081})=>this[_0x8a25e5(0x17a)](_0x31914f)[_0x8a25e5(0x184)](_0xc2280f,_0x49d081)[_0x8a25e5(0x17b)](ot)[_0x8a25e5(0x17b)](nt)},_0x175736 instanceof _0x54d9a0){const _0x3e6d78=_0x175736[_0x8a25e5(0x15c)][_0x8a25e5(0x1af)](_0x8a25e5(0x172)),_0x4fa663=_0x175736[_0x8a25e5(0x197)][_0x8a25e5(0x1af)](_0x522dc0);await this[_0x8a25e5(0x189)](_0x3e6d78);const _0xe88ff2=await this[_0x8a25e5(0x181)][_0x8a25e5(0x1af)](_0x3e6d78)[_0x8a25e5(0x1bc)]();this[_0x8a25e5(0x18a)](_0x4fa663,_0x8a25e5(0x176)+_0x3e6d78,(_0x4268f6,{session:_0x1b3384})=>{const _0x3ab7b0=_0x8a25e5;_0x1b3384['id']===_0x4fa663[_0x3ab7b0(0x16a)]&&(_0x4268f6[_0x3ab7b0(0x194)](),this[_0x3ab7b0(0x162)][_0x3ab7b0(0x197)][_0x3ab7b0(0x1af)](_0x3ab7b0(0x195))[_0x3ab7b0(0x188)](_0x1b3384[_0x3ab7b0(0x1b4)],_0x3e6d78));}),_0x4fa663[_0x8a25e5(0x160)](_0x3e6d78,_0xe88ff2);}}async[_0x3cc000(0x189)](_0x3cef12){const _0x156868=_0x3cc000;if(this[_0x156868(0x181)][_0x156868(0x18b)](_0x3cef12))throw new _0x431c8c(_0x156868(0x1bd),null,{'channelId':_0x3cef12});const _0x4fe20d=this[_0x156868(0x162)][_0x156868(0x197)][_0x156868(0x1af)](_0x156868(0x1be)),_0x188e1e=new CloudServicesCommentsAdapter[(_0x156868(0x16b))](_0x3cef12);this[_0x156868(0x181)][_0x156868(0x1b9)](_0x3cef12,_0x188e1e),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x198),(_0x28bfc8,_0x2baef0)=>{const _0x4c082d=_0x156868,{commentThreadId:_0x578021,documentId:_0x4095d5,context:_0x48ed41,attributes:_0x508e84,resolvedAt:_0x10651a,resolvedBy:_0x399c9b,comments:_0x59b920}=_0x2baef0;_0x4fe20d[_0x4c082d(0x1bf)](_0x578021)||_0x4fe20d[_0x4c082d(0x19e)]({'threadId':_0x578021,'channelId':_0x4095d5,'comments':_0x59b920?_0x59b920[_0x4c082d(0x17c)](st):[],'context':_0x48ed41,'attributes':_0x508e84,'resolvedAt':_0x10651a,'resolvedBy':_0x399c9b,'isFromAdapter':!0x0});}),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x18f),(_0x275b01,{commentThreadId:_0x58bf8a,documentId:_0x1f6dcd,context:_0x36c583,unlinkedAt:_0xe0316c,attributes:_0x4b0ddd})=>{const _0x2d9cf7=_0x156868;_0x4fe20d[_0x2d9cf7(0x1bf)](_0x58bf8a)&&_0x4fe20d[_0x2d9cf7(0x1a1)]({'threadId':_0x58bf8a,'channelId':_0x1f6dcd,'context':_0x36c583,'unlinkedAt':_0xe0316c,'attributes':_0x4b0ddd,'isFromAdapter':!0x0});}),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x16d),(_0x56cde4,{commentThreadId:_0x23893c,resolvedBy:_0x51e357,resolvedAt:_0x2a05dd})=>{const _0x2ce130=_0x156868,_0x2e3708=_0x4fe20d[_0x2ce130(0x1bf)](_0x23893c);_0x2e3708&&_0x2e3708[_0x2ce130(0x173)]({'resolvedBy':_0x51e357,'resolvedAt':_0x2a05dd,'isFromAdapter':!0x0});}),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x19d),(_0x489034,{commentThreadId:_0x1d81a0})=>{const _0x1cfc59=_0x156868,_0x268320=_0x4fe20d[_0x1cfc59(0x1bf)](_0x1d81a0);_0x268320&&_0x268320[_0x1cfc59(0x169)]({'isFromAdapter':!0x0});}),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x163),(_0x16f1b3,{commentThreadId:_0x53f26d})=>{const _0x6afcc5=_0x156868,_0x2cb8e2=_0x4fe20d[_0x6afcc5(0x1bf)](_0x53f26d);_0x2cb8e2&&_0x2cb8e2[_0x6afcc5(0x1a6)]({'isFromAdapter':!0x0});}),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x191),(_0x250b6a,_0x5ab951)=>{const _0xf93da2=_0x156868,_0x2f0da0=_0x5ab951[_0xf93da2(0x1b6)],_0x16f069=_0x4fe20d[_0xf93da2(0x1bf)](_0x2f0da0);_0x16f069&&_0x16f069[_0xf93da2(0x19b)]({...st(_0x5ab951),'isFromAdapter':!0x0});}),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x1a9),(_0x1ddd9c,{commentThreadId:_0x582e50,commentId:_0x1ac75e,content:_0x3a79b7,attributes:_0x3f9048})=>{const _0x35f564=_0x156868,_0x4e0afa=_0x4fe20d[_0x35f564(0x1bf)](_0x582e50);if(_0x4e0afa){const _0x1a1295=_0x4e0afa[_0x35f564(0x1ae)](_0x1ac75e);_0x1a1295&&_0x1a1295[_0x35f564(0x166)]({'content':_0x3a79b7,'attributes':_0x3f9048,'isFromAdapter':!0x0});}}),this[_0x156868(0x18a)](_0x188e1e,_0x156868(0x1c0),(_0x6bce9f,{commentThreadId:_0x18db98,commentId:_0x33597f})=>{const _0x5dbfca=_0x156868,_0x1e3aa8=_0x4fe20d[_0x5dbfca(0x1bf)](_0x18db98);if(_0x1e3aa8){const _0x193060=_0x1e3aa8[_0x5dbfca(0x1ae)](_0x33597f);_0x193060&&_0x193060[_0x5dbfca(0x1a6)]({'isFromAdapter':!0x0});}}),await this[_0x156868(0x17e)](_0x3cef12);}[_0x3cc000(0x1a5)](){const _0x5cea04=_0x3cc000;if(this[_0x5cea04(0x162)]instanceof _0x54d9a0){const _0x11ed8d=this[_0x5cea04(0x162)][_0x5cea04(0x15c)][_0x5cea04(0x1af)](_0x5cea04(0x172));this[_0x5cea04(0x1b3)](_0x11ed8d);}}[_0x3cc000(0x1b3)](_0x34a107){const _0x27e5db=_0x3cc000;if(!this[_0x27e5db(0x181)][_0x27e5db(0x18b)](_0x34a107))throw new _0x431c8c(_0x27e5db(0x1ad),null,{'channelId':_0x34a107});this[_0x27e5db(0x17a)](_0x34a107)[_0x27e5db(0x196)](),this[_0x27e5db(0x181)][_0x27e5db(0x1b1)](_0x34a107);}async[_0x3cc000(0x16f)](){const _0x3ba9dd=_0x3cc000;for(const _0x325452 of this[_0x3ba9dd(0x181)][_0x3ba9dd(0x1a7)]())await this[_0x3ba9dd(0x17e)](_0x325452);if(this[_0x3ba9dd(0x162)]instanceof _0x54d9a0){const _0x475e3=this[_0x3ba9dd(0x162)][_0x3ba9dd(0x15c)][_0x3ba9dd(0x1af)](_0x3ba9dd(0x172)),_0x26b164=this[_0x3ba9dd(0x162)][_0x3ba9dd(0x197)][_0x3ba9dd(0x1af)](_0x522dc0);_0x26b164[_0x3ba9dd(0x18c)](_0x475e3);const _0x54d949=await this[_0x3ba9dd(0x181)][_0x3ba9dd(0x1af)](_0x475e3)[_0x3ba9dd(0x1bc)]();_0x26b164[_0x3ba9dd(0x160)](_0x475e3,_0x54d949);}}async[_0x3cc000(0x17e)](_0x1099fa){const _0x553e85=_0x3cc000,{connection:_0x3f1102}=this[_0x553e85(0x162)][_0x553e85(0x197)][_0x553e85(0x1af)](_0x5cb043),_0x2166a5=this[_0x553e85(0x162)][_0x553e85(0x197)][_0x553e85(0x1af)](_0x553e85(0x1be)),_0x2887ad=this[_0x553e85(0x181)][_0x553e85(0x1af)](_0x1099fa),_0x25f27a=await _0x2887ad[_0x553e85(0x1a0)](_0x3f1102);await this[_0x553e85(0x1b7)](_0x25f27a);const _0x143db4=new Set(Array[_0x553e85(0x16c)](_0x2166a5[_0x553e85(0x1aa)]({'channelId':_0x1099fa}),_0x4415a3=>_0x4415a3['id']));for(const _0x453ffa of _0x25f27a)_0x453ffa[_0x553e85(0x15e)]||_0x143db4[_0x553e85(0x1b1)](_0x453ffa[_0x553e85(0x1b6)]);for(const _0x5e49a6 of _0x143db4)_0x2166a5[_0x553e85(0x1bf)](_0x5e49a6)[_0x553e85(0x1a6)]({'isFromAdapter':!0x0});for(const _0x2d68ad of _0x25f27a){let _0xb617b=_0x2166a5[_0x553e85(0x1bf)](_0x2d68ad[_0x553e85(0x1b6)]);const {commentThreadId:_0x5ee3f4,context:_0x4d3c0,attributes:_0x2d8722,resolvedBy:_0x1ea580,resolvedAt:_0x5d9a66,unlinkedAt:_0xda0a2c,deletedAt:_0x311042}=_0x2d68ad;if(_0x311042)continue;_0xb617b||(_0xb617b=_0x2166a5[_0x553e85(0x19e)]({'channelId':_0x1099fa,'threadId':_0x5ee3f4,'context':_0x4d3c0,'attributes':_0x2d8722||{},'resolvedBy':_0x1ea580,'resolvedAt':_0x5d9a66,'unlinkedAt':_0xda0a2c,'isFromAdapter':!0x0}));const _0x12966f=new Set(Array[_0x553e85(0x16c)](_0xb617b[_0x553e85(0x171)],_0x34dbf2=>_0x34dbf2['id']));for(const _0x506b9b of _0x2d68ad[_0x553e85(0x171)])_0x12966f[_0x553e85(0x1b1)](_0x506b9b[_0x553e85(0x19a)]);for(const _0x1e2f75 of _0x12966f)_0xb617b[_0x553e85(0x1ae)](_0x1e2f75)[_0x553e85(0x1a6)]({'isFromAdapter':!0x0});for(const _0x12809b of _0x2d68ad[_0x553e85(0x171)]){const _0x44d2ab=_0xb617b[_0x553e85(0x1ae)](_0x12809b[_0x553e85(0x19a)]);_0x44d2ab?_0x44d2ab[_0x553e85(0x192)]!==_0x12809b[_0x553e85(0x192)]&&_0x44d2ab[_0x553e85(0x166)]({'content':_0x12809b[_0x553e85(0x192)],'isFromAdapter':!0x0}):_0xb617b[_0x553e85(0x19b)](Object[_0x553e85(0x15f)](st(_0x12809b),{'isFromAdapter':!0x0}));}}}[_0x3cc000(0x17a)](_0x41227d){const _0x487ab1=_0x3cc000;if(!this[_0x487ab1(0x181)][_0x487ab1(0x18b)](_0x41227d))throw new _0x431c8c(_0x487ab1(0x18d),null,{'channelId':_0x41227d});return this[_0x487ab1(0x181)][_0x487ab1(0x1af)](_0x41227d);}async[_0x3cc000(0x1b7)](_0x284a10){const _0xcdd88e=_0x3cc000,_0x59043e=this[_0xcdd88e(0x162)][_0xcdd88e(0x197)][_0xcdd88e(0x1af)](_0x3a19e3),{connection:_0x18dfa7}=this[_0xcdd88e(0x162)][_0xcdd88e(0x197)][_0xcdd88e(0x1af)](_0x5cb043),_0x1b4cd9=new Set();for(const {resolvedBy:_0x1e4a35,comments:_0x46d823}of _0x284a10){_0x1e4a35&&!_0x59043e[_0xcdd88e(0x175)](_0x1e4a35)&&_0x1b4cd9[_0xcdd88e(0x199)](_0x1e4a35);for(const {userId:_0x3b2978}of _0x46d823)_0x59043e[_0xcdd88e(0x175)](_0x3b2978)||_0x1b4cd9[_0xcdd88e(0x199)](_0x3b2978);}if(0x0===_0x1b4cd9[_0xcdd88e(0x170)])return;const _0x14498e=await _0x42b14a[_0xcdd88e(0x15a)](_0x18dfa7,Array[_0xcdd88e(0x16c)](_0x1b4cd9));for(const _0x2d7867 of _0x14498e)_0x59043e[_0xcdd88e(0x175)](_0x2d7867['id'])||_0x59043e[_0xcdd88e(0x1bb)](_0x2d7867);}}async function ot(_0x28f70c){const _0xff6cb5=_0x3cc000;if(_0xff6cb5(0x179)!==_0x28f70c[_0xff6cb5(0x1ba)])throw _0x28f70c;}function nt(_0x4ba2ef){const _0x107247=_0x3cc000;if((_0x4d2c60=_0x4ba2ef)[_0x107247(0x168)][_0x107247(0x186)](_0x107247(0x178))||_0x4d2c60[_0x107247(0x168)][_0x107247(0x186)](_0x107247(0x190))||_0x4d2c60[_0x107247(0x168)][_0x107247(0x186)](_0x107247(0x1a2)))return new Promise(()=>{});var _0x4d2c60;throw _0x4ba2ef;}function st(_0x5ab5ad){const _0x1d73f4=_0x3cc000;return{'threadId':_0x5ab5ad[_0x1d73f4(0x1b6)],'commentId':_0x5ab5ad[_0x1d73f4(0x19a)],'content':_0x5ab5ad[_0x1d73f4(0x192)],'createdAt':_0x5ab5ad[_0x1d73f4(0x167)],'authorId':_0x5ab5ad[_0x1d73f4(0x161)],'attributes':_0x5ab5ad[_0x1d73f4(0x165)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2da44a=_0x35c7;(function(_0x203f13,_0x30400c){const _0x457e6c=_0x35c7,_0x4be79c=_0x203f13();while(!![]){try{const _0xa1c45c=-parseInt(_0x457e6c(0x16e))/0x1*(-parseInt(_0x457e6c(0x167))/0x2)+parseInt(_0x457e6c(0x16b))/0x3*(-parseInt(_0x457e6c(0x159))/0x4)+-parseInt(_0x457e6c(0x173))/0x5*(-parseInt(_0x457e6c(0x162))/0x6)+parseInt(_0x457e6c(0x157))/0x7+parseInt(_0x457e6c(0x151))/0x8*(-parseInt(_0x457e6c(0x163))/0x9)+parseInt(_0x457e6c(0x16d))/0xa+-parseInt(_0x457e6c(0x154))/0xb;if(_0xa1c45c===_0x30400c)break;else _0x4be79c['push'](_0x4be79c['shift']());}catch(_0x220321){_0x4be79c['push'](_0x4be79c['shift']());}}}(_0x4f70,0x2dbc0));import{Plugin as _0x451a8d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3ebfcb}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x52da5b}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5c2b06}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x451a8d{static get[_0x2da44a(0x150)](){const _0x153cbf=_0x2da44a;return[_0x153cbf(0x15f),_0x3ebfcb,_0x52da5b,_0x5c2b06];}static get[_0x2da44a(0x15e)](){const _0x2a0a23=_0x2da44a;return _0x2a0a23(0x161);}static get[_0x2da44a(0x15c)](){return!0x0;}static get[_0x2da44a(0x15a)](){return!0x0;}[_0x2da44a(0x156)](){const _0x5edfbd=_0x2da44a,_0x221afd=this[_0x5edfbd(0x155)][_0x5edfbd(0x165)][_0x5edfbd(0x171)](_0x5c2b06),_0x32f924=this[_0x5edfbd(0x155)][_0x5edfbd(0x165)][_0x5edfbd(0x171)](_0x5edfbd(0x152)),_0x475aae=this[_0x5edfbd(0x155)][_0x5edfbd(0x165)][_0x5edfbd(0x171)](_0x3ebfcb);return this[_0x5edfbd(0x155)][_0x5edfbd(0x16f)][_0x5edfbd(0x153)](_0x5edfbd(0x16a),()=>{const _0x8a3a0a=_0x5edfbd;this[_0x8a3a0a(0x15d)](_0x221afd,_0x8a3a0a(0x168),(_0x3a6b5e,_0x5a4077,_0x19df2f)=>{const _0x5b63dd=_0x8a3a0a;_0x32f924[_0x5b63dd(0x158)]=_0x5b63dd(0x164)!==_0x19df2f;});}),this[_0x5edfbd(0x15d)](_0x221afd,_0x5edfbd(0x168),(_0x1143ef,_0x5c60d5,_0x22b3ae)=>{const _0x4e0871=_0x5edfbd;this[_0x4e0871(0x155)][_0x4e0871(0x165)][_0x4e0871(0x171)](_0x4e0871(0x170))[_0x4e0871(0x160)](_0x4e0871(0x164)!==_0x22b3ae);}),_0x475aae[_0x5edfbd(0x15b)](this[_0x5edfbd(0x155)][_0x5edfbd(0x166)][_0x5edfbd(0x171)](_0x5edfbd(0x16c)));}[_0x2da44a(0x172)](){const _0x393777=_0x2da44a;this[_0x393777(0x155)][_0x393777(0x165)][_0x393777(0x171)](_0x3ebfcb)[_0x393777(0x169)](this[_0x393777(0x155)][_0x393777(0x166)][_0x393777(0x171)](_0x393777(0x16c))),super[_0x393777(0x172)]();}}function _0x35c7(_0x518548,_0x263a14){const _0x4f70e8=_0x4f70();return _0x35c7=function(_0x35c740,_0x4c47c4){_0x35c740=_0x35c740-0x150;let _0x564fcc=_0x4f70e8[_0x35c740];return _0x564fcc;},_0x35c7(_0x518548,_0x263a14);}function _0x4f70(){const _0x23bd33=['isThreadsLoadingPaused','84988gBbIII','isPremiumPlugin','_setUpService','isOfficialPlugin','listenTo','pluginName','Comments','switchReadOnly','RealTimeCollaborativeComments','11946ilBLje','1624383EJevpx','connected','plugins','config','93786ZnyFWB','change:state','_terminateService','ready','33MdRBKt','collaboration.channelId','2949600PKcxPq','1mHGkiG','data','CommentsRepository','get','destroy','485slados','requires','8oANVbH','CommentsEditing','once','139953tEVmQm','editor','init','554925dJXQzA'];_0x4f70=function(){return _0x23bd33;};return _0x4f70();}
23
+ const _0x58875a=_0x38cd;function _0x38cd(_0x27c000,_0x2dcd50){const _0x199ca5=_0x199c();return _0x38cd=function(_0x38cd4b,_0x4da1f0){_0x38cd4b=_0x38cd4b-0x1d1;let _0x35baf1=_0x199ca5[_0x38cd4b];return _0x35baf1;},_0x38cd(_0x27c000,_0x2dcd50);}function _0x199c(){const _0x167bb9=['30mDTQDC','plugins','change:state','editor','CommentsRepository','174EenUZR','_setUpService','3076675ATQXak','75190CCeSDB','RealTimeCollaborativeComments','get','114040HvMajH','connected','15612552oWEZPZ','once','Comments','init','isPremiumPlugin','collaboration.channelId','destroy','CommentsEditing','699294lHeHvV','config','pluginName','listenTo','data','isOfficialPlugin','_terminateService','ready','35163IzjFIU','isThreadsLoadingPaused','switchReadOnly','893488mIjtEw','requires'];_0x199c=function(){return _0x167bb9;};return _0x199c();}(function(_0x10694e,_0x2bd97a){const _0x14954c=_0x38cd,_0x321c8d=_0x10694e();while(!![]){try{const _0x36b643=-parseInt(_0x14954c(0x1e9))/0x1*(parseInt(_0x14954c(0x1ee))/0x2)+parseInt(_0x14954c(0x1e1))/0x3+-parseInt(_0x14954c(0x1ec))/0x4+-parseInt(_0x14954c(0x1d4))/0x5*(parseInt(_0x14954c(0x1d1))/0x6)+-parseInt(_0x14954c(0x1d3))/0x7+-parseInt(_0x14954c(0x1d7))/0x8+parseInt(_0x14954c(0x1d9))/0x9;if(_0x36b643===_0x2bd97a)break;else _0x321c8d['push'](_0x321c8d['shift']());}catch(_0x589e9c){_0x321c8d['push'](_0x321c8d['shift']());}}}(_0x199c,0x4fdd7));import{Plugin as _0x115219}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2a836b}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x50cdd3}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x48236a}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x115219{static get[_0x58875a(0x1ed)](){const _0x10252c=_0x58875a;return[_0x10252c(0x1db),_0x2a836b,_0x50cdd3,_0x48236a];}static get[_0x58875a(0x1e3)](){const _0x2a3724=_0x58875a;return _0x2a3724(0x1d5);}static get[_0x58875a(0x1e6)](){return!0x0;}static get[_0x58875a(0x1dd)](){return!0x0;}[_0x58875a(0x1dc)](){const _0x57896c=_0x58875a,_0x19dd2a=this[_0x57896c(0x1f1)][_0x57896c(0x1ef)][_0x57896c(0x1d6)](_0x48236a),_0x4504ec=this[_0x57896c(0x1f1)][_0x57896c(0x1ef)][_0x57896c(0x1d6)](_0x57896c(0x1e0)),_0x2ad388=this[_0x57896c(0x1f1)][_0x57896c(0x1ef)][_0x57896c(0x1d6)](_0x2a836b);return this[_0x57896c(0x1f1)][_0x57896c(0x1e5)][_0x57896c(0x1da)](_0x57896c(0x1e8),()=>{const _0xdfec22=_0x57896c;this[_0xdfec22(0x1e4)](_0x19dd2a,_0xdfec22(0x1f0),(_0x561d7e,_0x209a07,_0x475e81)=>{const _0x124ce3=_0xdfec22;_0x4504ec[_0x124ce3(0x1ea)]=_0x124ce3(0x1d8)!==_0x475e81;});}),this[_0x57896c(0x1e4)](_0x19dd2a,_0x57896c(0x1f0),(_0x5ad87d,_0x32419e,_0x137b1a)=>{const _0x519f87=_0x57896c;this[_0x519f87(0x1f1)][_0x519f87(0x1ef)][_0x519f87(0x1d6)](_0x519f87(0x1f2))[_0x519f87(0x1eb)](_0x519f87(0x1d8)!==_0x137b1a);}),_0x2ad388[_0x57896c(0x1d2)](this[_0x57896c(0x1f1)][_0x57896c(0x1e2)][_0x57896c(0x1d6)](_0x57896c(0x1de)));}[_0x58875a(0x1df)](){const _0x254e5f=_0x58875a;this[_0x254e5f(0x1f1)][_0x254e5f(0x1ef)][_0x254e5f(0x1d6)](_0x2a836b)[_0x254e5f(0x1e7)](this[_0x254e5f(0x1f1)][_0x254e5f(0x1e2)][_0x254e5f(0x1d6)](_0x254e5f(0x1de))),super[_0x254e5f(0x1df)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aae05=_0x13e1;(function(_0x5d347e,_0x3c4a24){const _0x35b571=_0x13e1,_0x459ed8=_0x5d347e();while(!![]){try{const _0xf82d33=-parseInt(_0x35b571(0xbb))/0x1*(parseInt(_0x35b571(0xd6))/0x2)+-parseInt(_0x35b571(0xea))/0x3*(-parseInt(_0x35b571(0xec))/0x4)+parseInt(_0x35b571(0x19e))/0x5+parseInt(_0x35b571(0x1ab))/0x6*(-parseInt(_0x35b571(0x120))/0x7)+parseInt(_0x35b571(0x12a))/0x8*(-parseInt(_0x35b571(0x19c))/0x9)+-parseInt(_0x35b571(0xff))/0xa*(parseInt(_0x35b571(0x192))/0xb)+parseInt(_0x35b571(0x127))/0xc;if(_0xf82d33===_0x3c4a24)break;else _0x459ed8['push'](_0x459ed8['shift']());}catch(_0x28f711){_0x459ed8['push'](_0x459ed8['shift']());}}}(_0x253b,0x856ae));import{Plugin as _0x147f9f,PendingActions as _0x426c8a}from'ckeditor5/src/core.js';import{CKEditorError as _0x459c11,version as _0x1efc13,uid as _0x1b2700}from'ckeditor5/src/utils.js';import{Notification as _0x628b19}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x24d92f,NoOperation as _0x473bad,InsertOperation as _0x3dc9f1,MarkerOperation as _0x5da2a5,RootAttributeOperation as _0x158e0d,OperationFactory as _0x1137fb,History as _0x165df5}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x39f35a}from'./websocketgateway.js';import{Sessions as _0x39fe52}from'./sessions.js';import{UserMarkers as _0x2ab935}from'./usermarkers.js';import{getTranslation as _0x100d42}from'../common-translations.js';import{Compressor as _0xab5a34}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5159f1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5c94ad,CollaborativeEditingService as _0x366e31}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x13e1(_0xdb3842,_0x2fb78){const _0x253bdf=_0x253b();return _0x13e1=function(_0x13e1c4,_0x56c40c){_0x13e1c4=_0x13e1c4-0xaf;let _0x29852d=_0x253bdf[_0x13e1c4];return _0x29852d;},_0x13e1(_0xdb3842,_0x2fb78);}export class RealTimeCollaborationClient extends _0x147f9f{static [_0x3aae05(0x106)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x366e31)());[_0x3aae05(0x10a)];[_0x3aae05(0x136)];[_0x3aae05(0x112)];[_0x3aae05(0x11e)];[_0x3aae05(0x153)];[_0x3aae05(0x113)];[_0x3aae05(0xdd)];[_0x3aae05(0xc4)];[_0x3aae05(0xf8)];[_0x3aae05(0xd5)];[_0x3aae05(0x1a3)];[_0x3aae05(0x1a8)];[_0x3aae05(0x144)];[_0x3aae05(0xfb)];[_0x3aae05(0xc6)];[_0x3aae05(0x197)];[_0x3aae05(0x147)];[_0x3aae05(0x14d)];static get[_0x3aae05(0x160)](){return[_0x39f35a,_0x39fe52,_0x2ab935,_0x426c8a,_0x5159f1,_0x628b19];}static get[_0x3aae05(0xdb)](){const _0xf2c91e=_0x3aae05;return _0xf2c91e(0xaf);}static get[_0x3aae05(0x1af)](){return!0x0;}static get[_0x3aae05(0x166)](){return!0x0;}get[_0x3aae05(0xe7)](){const _0x30ccc8=_0x3aae05;return this[_0x30ccc8(0xc3)]+this[_0x30ccc8(0x10a)];}get[_0x3aae05(0xc3)](){const _0x1b7df4=_0x3aae05;return this[_0x1b7df4(0x112)][_0x1b7df4(0x118)]-this[_0x1b7df4(0x10a)];}get[_0x3aae05(0x148)](){const _0x1737eb=_0x3aae05,_0x13939e=this[_0x1737eb(0x112)][_0x1737eb(0x18a)]();for(let _0x31fe43=_0x13939e[_0x1737eb(0xb1)]-0x1;_0x31fe43>=0x0;_0x31fe43--){const _0x7125ab=_0x13939e[_0x31fe43];if(!this[_0x1737eb(0x147)][_0x1737eb(0x109)](_0x7125ab))return _0x7125ab[_0x1737eb(0xcb)]+0x1-this[_0x1737eb(0x10a)];}return 0x0;}constructor(_0x2e8b1e){const _0x1b952f=_0x3aae05;if(super(_0x2e8b1e),this[_0x1b952f(0x10a)]=0x0,this[_0x1b952f(0x136)]=null,this[_0x1b952f(0x112)]=new _0x165df5(),this[_0x1b952f(0x14c)][_0x1b952f(0xcc)][_0x1b952f(0x13b)](_0x1b952f(0x111),{}),this[_0x1b952f(0x11e)]=this[_0x1b952f(0x14c)][_0x1b952f(0xcc)][_0x1b952f(0x175)](_0x1b952f(0x1b5)),!this[_0x1b952f(0x11e)])throw new _0x459c11(_0x1b952f(0x134),this);const _0x32a54a=_0x2e8b1e[_0x1b952f(0xcc)][_0x1b952f(0x175)](_0x1b952f(0x17b))||_0x1efc13;this[_0x1b952f(0x153)]=new RealTimeCollaborationClient[(_0x1b952f(0x106))](_0x32a54a,this[_0x1b952f(0x11e)]),this[_0x1b952f(0x113)]=this[_0x1b952f(0x14c)][_0x1b952f(0x1a6)][_0x1b952f(0x12f)],this[_0x1b952f(0xdd)]=new _0xab5a34(),this[_0x1b952f(0xc4)]=[],this[_0x1b952f(0xf8)]=new WeakSet(),this[_0x1b952f(0xd5)]=new Set(),this[_0x1b952f(0xbc)](_0x1b952f(0x181),!0x1),this[_0x1b952f(0xbc)](_0x1b952f(0x157),!0x1),this[_0x1b952f(0x1a3)]=null,this[_0x1b952f(0x1a8)]=!0x1,this[_0x1b952f(0x144)]=null,this[_0x1b952f(0xfb)]=0x12c,this[_0x1b952f(0xc6)]=this[_0x1b952f(0xfb)],this[_0x1b952f(0x197)]=null,this[_0x1b952f(0x147)]=new WeakSet(),this[_0x1b952f(0x14d)]=new Z(this[_0x1b952f(0x147)]);}[_0x3aae05(0xc2)](){const _0x1bce00=_0x3aae05,_0x902658=this[_0x1bce00(0x14c)],_0x39e70b=_0x902658[_0x1bce00(0x190)][_0x1bce00(0x175)](_0x5159f1),_0x3f4364=_0x902658[_0x1bce00(0x190)][_0x1bce00(0x175)](_0x39f35a);this[_0x1bce00(0x10e)](_0x39e70b,_0x1bce00(0x183),(_0x1f278e,_0x120487)=>{const _0x1f537a=_0x1bce00,_0x1404b3=_0x120487[0x0];_0x1404b3[_0x1f537a(0x176)]&&(_0x1f278e[_0x1f537a(0x1a9)]=_0x39e70b[_0x1f537a(0xf3)](_0x1404b3[_0x1f537a(0x176)]),_0x1f278e[_0x1f537a(0x15d)]()),null===_0x1404b3[_0x1f537a(0x176)]&&(_0x1f278e[_0x1f537a(0x1a9)]=null,_0x1f278e[_0x1f537a(0x15d)]());},{'priority':_0x1bce00(0x17d)}),this[_0x1bce00(0x10e)](_0x902658[_0x1bce00(0x1a6)][_0x1bce00(0x12f)][_0x1bce00(0xd1)],_0x1bce00(0xc5),(_0xe65166,_0x5753f4)=>{const _0x1ced07=_0x1bce00;_0x5753f4[_0x1ced07(0xe4)]&&this[_0x1ced07(0x13a)]();}),this[_0x1bce00(0x10e)](_0x902658[_0x1bce00(0x188)][_0x1bce00(0x1a5)],_0x1bce00(0x150),()=>{const _0x11892c=_0x1bce00;this[_0x11892c(0x13a)]();}),this[_0x1bce00(0x19b)](),_0x902658[_0x1bce00(0x1a6)]['on'](_0x1bce00(0x19a),(_0x198752,_0x47c9d9)=>{const _0x96e3ed=_0x1bce00,_0x1cf1eb=_0x47c9d9[0x0];_0x1cf1eb[_0x96e3ed(0xfd)]&&(this[_0x96e3ed(0x107)](_0x1cf1eb),this[_0x96e3ed(0x16f)]()&&this[_0x96e3ed(0xca)]());}),this[_0x1bce00(0xd9)](),this[_0x1bce00(0x116)](_0x1bce00(0xc0))['to'](_0x3f4364,_0x1bce00(0xda),this,_0x1bce00(0x157),(_0x218c2e,_0xff9e40)=>_0x1bce00(0x110)===_0x218c2e&&!_0xff9e40),this['on'](_0x1bce00(0x1ae),()=>{const _0x3086a7=_0x1bce00;this[_0x3086a7(0xc0)]?_0x902658[_0x3086a7(0xef)](_0x3086a7(0x193)):_0x902658[_0x3086a7(0xe9)](_0x3086a7(0x193));}),this[_0x1bce00(0xc0)]?_0x902658[_0x1bce00(0xef)](_0x1bce00(0x193)):_0x902658[_0x1bce00(0xe9)](_0x1bce00(0x193)),this[_0x1bce00(0xbc)](_0x1bce00(0x11b),!0x1);}async[_0x3aae05(0x18d)](){const _0x3b18ab=_0x3aae05,_0x3ef285=this[_0x3b18ab(0x14c)][_0x3b18ab(0x190)][_0x3b18ab(0x175)](_0x39fe52),_0x11dbc7=this[_0x3b18ab(0x14c)][_0x3b18ab(0x190)][_0x3b18ab(0x175)](_0x39f35a);try{this[_0x3b18ab(0x181)]=!0x0,_0x3ef285[_0x3b18ab(0xf7)](this[_0x3b18ab(0x11e)]);const _0x2b134f=await this[_0x3b18ab(0x153)][_0x3b18ab(0x18d)](_0x11dbc7[_0x3b18ab(0x15b)],this[_0x3b18ab(0x148)]);await this[_0x3b18ab(0x1ad)](_0x2b134f)&&(this[_0x3b18ab(0x181)]=!0x1,this[_0x3b18ab(0x10d)]());const _0x4445ae=await this[_0x3b18ab(0x153)][_0x3b18ab(0xba)]();_0x3ef285[_0x3b18ab(0x125)](this[_0x3b18ab(0x11e)],_0x4445ae),this[_0x3b18ab(0x142)](),this[_0x3b18ab(0x11b)]=!0x0;}catch(_0x4871f9){if(function(_0x46200e){const _0x2c0244=_0x3b18ab;return _0x2c0244(0xf4)===_0x46200e[_0x2c0244(0x171)];}(_0x4871f9)&&this[_0x3b18ab(0x136)])await this[_0x3b18ab(0x180)]();else{if(function(_0x4c8133){const _0x360566=_0x3b18ab;return _0x360566(0xb5)===_0x4c8133[_0x360566(0x171)];}(_0x4871f9)){const _0x37cb47=_0x100d42(this[_0x3b18ab(0x14c)][_0x3b18ab(0x12e)],_0x3b18ab(0x16c));this[_0x3b18ab(0x1b2)](_0x37cb47);}else{if(!(_0x4871f9 instanceof X))throw _0x4871f9;this[_0x3b18ab(0x1b2)]();}}}}[_0x3aae05(0x14a)](){const _0x40d002=_0x3aae05,_0x29cefa=this[_0x40d002(0x14c)][_0x40d002(0x190)][_0x40d002(0x175)](_0x39f35a),_0x13784d=this[_0x40d002(0x14c)][_0x40d002(0x190)][_0x40d002(0x175)](_0x39fe52);this[_0x40d002(0x14c)][_0x40d002(0xe9)](_0x40d002(0xbf)),_0x13784d[_0x40d002(0x131)][_0x40d002(0x109)](this[_0x40d002(0x11e)])&&_0x13784d[_0x40d002(0xf7)](this[_0x40d002(0x11e)]),_0x29cefa[_0x40d002(0x173)](this),this[_0x40d002(0x199)](),super[_0x40d002(0x14a)]();}async[_0x3aae05(0x1ad)](_0x3f0c9a){const _0x41b1cb=_0x3aae05;if(this[_0x41b1cb(0x136)]!==_0x3f0c9a[_0x41b1cb(0x136)]&&this[_0x41b1cb(0x197)]!==_0x3f0c9a[_0x41b1cb(0x137)])throw new X();return this[_0x41b1cb(0x136)]=_0x3f0c9a[_0x41b1cb(0x136)],this[_0x41b1cb(0x138)]([],{..._0x3f0c9a,'wereChangesApplied':!0x1,'data':_0x3f0c9a[_0x41b1cb(0x155)]},_0x41b1cb(0x18d));}async[_0x3aae05(0x128)](_0x2aecc2,_0x4317a5=!0x1){const _0x2b51f3=_0x3aae05,{connection:_0x1fcbf3}=this[_0x2b51f3(0x14c)][_0x2b51f3(0x190)][_0x2b51f3(0x175)](_0x39f35a);RealTimeCollaborationClient[_0x2b51f3(0x106)][_0x2b51f3(0xba)](_0x1fcbf3,this[_0x2b51f3(0x11e)])[_0x2b51f3(0xfa)](_0x6a5380=>this[_0x2b51f3(0x10b)](_0x6a5380))[_0x2b51f3(0x11c)](_0x4e62fa=>{const _0x121329=_0x2b51f3;this[_0x121329(0xfe)](_0x121329(0xdf),_0x4e62fa);}),this[_0x2b51f3(0x10e)](this[_0x2b51f3(0x153)],_0x2b51f3(0x195),this[_0x2b51f3(0x164)][_0x2b51f3(0x116)](this)),this[_0x2b51f3(0x10e)](this[_0x2b51f3(0x153)],_0x2b51f3(0x191),(_0x1fa7c2,_0x38df5d)=>{const _0x592392=_0x2b51f3;this[_0x592392(0xfe)](_0x592392(0x18f),_0x38df5d);}),this[_0x2b51f3(0x10e)](this[_0x2b51f3(0x153)],_0x2b51f3(0x16b),()=>{const _0x40d4ef=_0x2b51f3;this[_0x40d4ef(0x11b)]=!0x1;});const _0x237639=this[_0x2b51f3(0x14d)][_0x2b51f3(0xb0)](_0x2aecc2);this[_0x2b51f3(0x181)]=!0x0;const _0x3361b9=await this[_0x2b51f3(0x153)][_0x2b51f3(0xb2)](_0x1fcbf3,this[_0x2b51f3(0x149)](_0x2aecc2),_0x237639);if(this[_0x2b51f3(0x136)]=_0x3361b9[_0x2b51f3(0x136)],_0x4317a5){if(!_0x3361b9[_0x2b51f3(0x1ac)])return void this[_0x2b51f3(0x1b2)]();this[_0x2b51f3(0x181)]=!0x1,this[_0x2b51f3(0x10d)](),this[_0x2b51f3(0x112)][_0x2b51f3(0xb9)](),this[_0x2b51f3(0x10a)]=_0x3361b9[_0x2b51f3(0x158)],this[_0x2b51f3(0x112)][_0x2b51f3(0x118)]=this[_0x2b51f3(0x10a)],await this[_0x2b51f3(0x138)](_0x2aecc2,_0x3361b9,_0x2b51f3(0x187));}else await this[_0x2b51f3(0xe2)](_0x3361b9,_0x2aecc2);this[_0x2b51f3(0x142)](),this[_0x2b51f3(0x11b)]=!0x0;}[_0x3aae05(0x142)](){const _0x2c4b6d=_0x3aae05,_0x2af222=this[_0x2c4b6d(0x14c)][_0x2c4b6d(0x190)][_0x2c4b6d(0x175)](_0x39fe52),_0x455d64=this[_0x2c4b6d(0x14c)][_0x2c4b6d(0x190)][_0x2c4b6d(0x175)](_0x2ab935),_0x317bd4=_0x2af222[_0x2c4b6d(0x131)][_0x2c4b6d(0x175)](this[_0x2c4b6d(0x11e)]);_0x317bd4&&_0x317bd4[_0x2c4b6d(0xb1)]>0x1?_0x455d64[_0x2c4b6d(0x11a)]():this[_0x2c4b6d(0x10e)](_0x2af222,_0x2c4b6d(0x12c)+this[_0x2c4b6d(0x11e)],()=>{const _0xb1d042=_0x2c4b6d;0x2===_0x2af222[_0xb1d042(0x131)][_0xb1d042(0x175)](this[_0xb1d042(0x11e)])[_0xb1d042(0xb1)]&&_0x455d64[_0xb1d042(0x11a)]();});}async[_0x3aae05(0x164)](_0x246465,_0x2617bb,_0x255c35,_0x448b69){const _0x53fb61=_0x3aae05;if(!this[_0x53fb61(0x181)]&&this[_0x53fb61(0x113)][_0x53fb61(0x118)]==_0x2617bb){const _0x4375ec=this[_0x53fb61(0x1b1)](_0x255c35,_0x448b69);await this[_0x53fb61(0xeb)](_0x4375ec),this[_0x53fb61(0xb6)](_0x4375ec,_0x2617bb,_0x255c35[_0x53fb61(0x137)])||this[_0x53fb61(0xfe)](_0x53fb61(0x108));}}async[_0x3aae05(0x180)](){const _0x3875aa=_0x3aae05;this[_0x3875aa(0x199)]();const {locale:_0x2d8993}=this[_0x3875aa(0x14c)];let _0x15b739;try{_0x15b739=await this[_0x3875aa(0x153)][_0x3875aa(0x102)]();}catch{const _0x4ebf57=_0x100d42(_0x2d8993,_0x3875aa(0x14b));return void this[_0x3875aa(0x1b2)](_0x4ebf57);}const _0x2f8098=_0x15b739[_0x3875aa(0x16a)]||_0x15b739[_0x3875aa(0xcf)];if(this[_0x3875aa(0x197)]!==_0x2f8098[_0x3875aa(0x137)]){const _0x5f5155=_0x100d42(_0x2d8993,_0x3875aa(0xbe));return void this[_0x3875aa(0x1b2)](_0x5f5155);}await this[_0x3875aa(0x128)](this[_0x3875aa(0x14c)][_0x3875aa(0x1a6)][_0x3875aa(0x12f)][_0x3875aa(0xe0)][_0x3875aa(0x18a)](),!0x0);}[_0x3aae05(0x199)](){const _0x38b454=_0x3aae05;this[_0x38b454(0x153)][_0x38b454(0x170)](),this[_0x38b454(0xc4)]=[],clearTimeout(this[_0x38b454(0x144)]),this[_0x38b454(0x154)](this[_0x38b454(0x153)]);}[_0x3aae05(0x10b)](_0x51786f){const _0x4f3dac=_0x3aae05,_0x2e50f2=this[_0x4f3dac(0x14c)][_0x4f3dac(0x190)][_0x4f3dac(0x175)](_0x39fe52);this[_0x4f3dac(0x10e)](_0x2e50f2,_0x4f3dac(0x12c)+this[_0x4f3dac(0x11e)],(_0x8953f8,{session:_0x36e3aa})=>{const _0x2c9d02=_0x4f3dac;if(_0x36e3aa['id']===_0x2e50f2[_0x2c9d02(0x17c)]){_0x8953f8[_0x2c9d02(0x10f)]();const _0xf53cc9=this[_0x2c9d02(0x14c)][_0x2c9d02(0x190)][_0x2c9d02(0x109)](_0x2c9d02(0x18e))&&this[_0x2c9d02(0x14c)][_0x2c9d02(0x190)][_0x2c9d02(0x175)](_0x2c9d02(0x18e));let _0x44c1f4=_0x36e3aa[_0x2c9d02(0x184)];_0xf53cc9&&_0xf53cc9[_0x2c9d02(0x163)]&&(_0x44c1f4=_0x44c1f4[_0x2c9d02(0x114)](_0x495e18=>_0x2c9d02(0x196)!==_0x495e18)),this[_0x2c9d02(0x14c)][_0x2c9d02(0x190)][_0x2c9d02(0x175)](_0x2c9d02(0x143))[_0x2c9d02(0x185)](_0x44c1f4,this[_0x2c9d02(0x11e)]);}}),_0x2e50f2[_0x4f3dac(0x125)](this[_0x4f3dac(0x11e)],_0x51786f);}[_0x3aae05(0x19b)](){const _0x47a731=_0x3aae05,_0x1fe6d0=this[_0x47a731(0x14c)][_0x47a731(0x155)][_0x47a731(0xbc)];this[_0x47a731(0x14c)][_0x47a731(0x155)][_0x47a731(0xbc)]=(..._0x5a53d2)=>{const _0x3bbd04=_0x47a731;if(!_0x5a53d2[_0x5a53d2[_0x3bbd04(0xb1)]-0x1][_0x3bbd04(0xd0)])throw new _0x459c11(_0x3bbd04(0x105),this);_0x1fe6d0[_0x3bbd04(0xe1)](this[_0x3bbd04(0x14c)][_0x3bbd04(0x155)],_0x5a53d2);};}[_0x3aae05(0xd9)](){const _0x28bd2b=_0x3aae05;this[_0x28bd2b(0x14c)][_0x28bd2b(0x155)]['on'](_0x28bd2b(0xc2),(_0x39da79,[_0x30b3b6])=>{const _0x2b5442=_0x28bd2b;if(this[_0x2b5442(0x113)][_0x2b5442(0x118)])throw new _0x459c11(_0x2b5442(0xf0),this);_0x39da79[_0x2b5442(0x15d)](),this[_0x2b5442(0xd3)]();const _0x4d716d=this[_0x2b5442(0x14c)][_0x2b5442(0xcc)][_0x2b5442(0x175)](_0x2b5442(0xc7)),_0x2c00a5=this[_0x2b5442(0xc1)](_0x30b3b6,_0x4d716d);0x0==_0x2c00a5[_0x2b5442(0xb1)]&&_0x2c00a5[_0x2b5442(0x17a)](new _0x473bad(0x0)),_0x39da79[_0x2b5442(0x1a9)]=this[_0x2b5442(0x128)](_0x2c00a5)[_0x2b5442(0xfa)](()=>{const _0x58ccb9=_0x2b5442;this[_0x58ccb9(0x14c)][_0x58ccb9(0x190)][_0x58ccb9(0x175)](_0x39f35a)[_0x58ccb9(0xf1)](this),this[_0x58ccb9(0x14c)][_0x58ccb9(0x155)][_0x58ccb9(0x117)](_0x58ccb9(0x12b));})[_0x2b5442(0x11c)](_0xa7a8eb=>this[_0x2b5442(0xfe)](_0x2b5442(0x17e),_0xa7a8eb))[_0x2b5442(0x124)](()=>this[_0x2b5442(0x10d)]());},{'priority':_0x28bd2b(0x17d)}),this[_0x28bd2b(0x14c)]['on'](_0x28bd2b(0x100),async(_0xecb4f4,[_0x2ffe92,_0x2ff01d])=>{const _0x52051f=_0x28bd2b;_0xecb4f4[_0x52051f(0x15d)]();const _0x26c6cf=this[_0x52051f(0x14c)][_0x52051f(0x1a6)][_0x52051f(0x12f)][_0x52051f(0xb4)](_0x2ffe92);if(!this[_0x52051f(0xd5)][_0x52051f(0x109)](_0x2ffe92)){const _0x6bae08=_0x2ff01d&&_0x2ff01d[_0x52051f(0x155)]?_0x2ff01d[_0x52051f(0x155)]:'',_0x1e77e9=_0x2ff01d&&_0x2ff01d[_0x52051f(0xed)]?_0x2ff01d[_0x52051f(0xed)]:{};await this[_0x52051f(0x13d)](_0x2ffe92,_0x6bae08,_0x1e77e9);}this[_0x52051f(0x14c)][_0x52051f(0x1a6)][_0x52051f(0x165)]({'isUndoable':!0x1},()=>{const _0x1ed005=_0x52051f;_0x26c6cf[_0x1ed005(0x141)]=!0x0,this[_0x1ed005(0x14c)][_0x1ed005(0x1a6)][_0x1ed005(0x12f)][_0x1ed005(0x167)][_0x1ed005(0x161)](_0x26c6cf);});},{'priority':_0x28bd2b(0x17d)});}async[_0x3aae05(0xeb)](_0x2015f7){const _0x292aa8=_0x3aae05,_0x43941e=this[_0x292aa8(0x14c)][_0x292aa8(0x190)][_0x292aa8(0x175)](_0x5159f1),{connection:_0x474fd5}=this[_0x292aa8(0x14c)][_0x292aa8(0x190)][_0x292aa8(0x175)](_0x39f35a),_0x723ee6=new Set();for(const _0x417a27 of _0x2015f7){const _0x1b42c3=_0x417a27[_0x292aa8(0x176)];_0x1b42c3&&!_0x43941e[_0x292aa8(0xf3)](_0x1b42c3)&&_0x723ee6[_0x292aa8(0x19d)](_0x1b42c3);}if(0x0===_0x723ee6[_0x292aa8(0x186)])return;const _0x23b008=await _0x5c94ad[_0x292aa8(0x115)](_0x474fd5,Array[_0x292aa8(0x126)](_0x723ee6));for(const _0x7e0944 of _0x23b008)_0x43941e[_0x292aa8(0xf3)](_0x7e0944['id'])||_0x43941e[_0x292aa8(0x174)](_0x7e0944);}[_0x3aae05(0xc1)](_0x375d05,_0xc01ce={}){const _0x38204f=_0x3aae05,_0x50b1c2=this[_0x38204f(0x14c)][_0x38204f(0x1a6)],_0x19a845=[];let _0x8132e9=0x0;const _0x1fd38b=_0x38204f(0x1b0)==typeof _0x375d05?{'main':_0x375d05}:_0x375d05;for(const _0x3872dd of Object[_0x38204f(0x1a0)](_0x1fd38b)){if(!this[_0x38204f(0x113)][_0x38204f(0x1a7)][_0x38204f(0x109)](_0x3872dd))throw new _0x459c11(_0x38204f(0x17f),this);const _0xb47ee4=this[_0x38204f(0x14c)][_0x38204f(0x155)][_0x38204f(0xde)](_0x1fd38b[_0x3872dd]),_0x65fe06=this[_0x38204f(0x113)][_0x38204f(0xb4)](_0x3872dd),_0x451e6d=new _0x3dc9f1(_0x50b1c2[_0x38204f(0x10c)](_0x65fe06,0x0),_0xb47ee4,_0x8132e9++);_0x19a845[_0x38204f(0x17a)](_0x451e6d);for(const [_0x53d53d,_0x544638]of _0xb47ee4[_0x38204f(0x140)]){const _0x2fa710=_0x50b1c2[_0x38204f(0xd8)](_0x50b1c2[_0x38204f(0x169)](_0x65fe06,_0x544638[_0x38204f(0xdc)][_0x38204f(0x168)][_0x38204f(0x159)]()),_0x50b1c2[_0x38204f(0x169)](_0x65fe06,_0x544638[_0x38204f(0x151)][_0x38204f(0x168)][_0x38204f(0x159)]())),_0x5616d2=new _0x5da2a5(_0x53d53d,null,_0x2fa710,_0x50b1c2[_0x38204f(0x140)],!0x0,_0x8132e9++);_0x19a845[_0x38204f(0x17a)](_0x5616d2);}}if(_0xc01ce)for(const [_0x30df63,_0x472b71]of Object[_0x38204f(0x152)](_0xc01ce)){const _0x472eb2=_0x50b1c2[_0x38204f(0x12f)][_0x38204f(0xb4)](_0x30df63);if(!_0x472eb2)throw new _0x459c11(_0x38204f(0x13e),null);for(const [_0x49a1c2,_0x55f3ae]of Object[_0x38204f(0x152)](_0x472b71))if(null!==_0x55f3ae){const _0xb18792=new _0x158e0d(_0x472eb2,_0x49a1c2,null,_0x55f3ae,_0x8132e9++);_0x19a845[_0x38204f(0x17a)](_0xb18792);}}return _0x19a845;}async[_0x3aae05(0x13d)](_0x2b6d0e,_0x4d76e2,_0x4f4942){const _0x2671f5=_0x3aae05;this[_0x2671f5(0xc1)]({[_0x2b6d0e]:_0x4d76e2},{[_0x2b6d0e]:_0x4f4942})[_0x2671f5(0x15e)]((_0x3d780c,_0x584e61)=>{const _0x21f02c=_0x2671f5;_0x3d780c[_0x21f02c(0xcb)]=this[_0x21f02c(0x113)][_0x21f02c(0x118)]+_0x584e61,_0x3d780c[_0x21f02c(0x12d)]=!0x0,this[_0x21f02c(0x107)](_0x3d780c);}),this[_0x2671f5(0xca)](),await this[_0x2671f5(0x119)]();}async[_0x3aae05(0xe2)](_0x6661,_0x542a27){const _0x3e4305=_0x3aae05;let _0x3b545c;this[_0x3e4305(0x10a)]=_0x6661[_0x3e4305(0x158)];const _0x2935d3=_0x6661[_0x3e4305(0x1ac)]&&!_0x6661[_0x3e4305(0x194)],_0x3f1dca=_0x2935d3?0x0:_0x6661[_0x3e4305(0x155)][_0x3e4305(0xcb)];if(_0x542a27[_0x3e4305(0x15e)](_0x262456=>{const _0x10cdd3=_0x3e4305;_0x262456[_0x10cdd3(0x12d)]=!0x0,_0x262456[_0x10cdd3(0x146)]=_0x6661[_0x10cdd3(0xd4)],_0x262456[_0x10cdd3(0x176)]=null;}),_0x2935d3)_0x3b545c=_0x542a27,this[_0x3e4305(0xe6)](_0x3b545c,_0x2935d3);else{if(_0x6661[_0x3e4305(0x194)]){const _0x3418e1=this[_0x3e4305(0xc1)](_0x6661[_0x3e4305(0x194)]);this[_0x3e4305(0x113)][_0x3e4305(0xe0)][_0x3e4305(0x118)]=-_0x3418e1[_0x3e4305(0xb1)],_0x3418e1[_0x3e4305(0x15e)](_0x5f3ff7=>{const _0x355686=_0x3e4305;_0x5f3ff7[_0x355686(0xcb)]-=_0x3418e1[_0x355686(0xb1)],_0x5f3ff7[_0x355686(0x146)]=_0x6661[_0x355686(0xd4)],_0x5f3ff7[_0x355686(0x12d)]=!0x0,_0x5f3ff7[_0x355686(0x176)]=null;}),this[_0x3e4305(0xe6)](_0x3418e1,!0x0),this[_0x3e4305(0x112)][_0x3e4305(0x118)]=-_0x3418e1[_0x3e4305(0xb1)]+this[_0x3e4305(0x10a)],this[_0x3e4305(0xf2)](_0x3418e1);}this[_0x3e4305(0x113)][_0x3e4305(0xe0)][_0x3e4305(0x118)]=_0x3f1dca,_0x3b545c=this[_0x3e4305(0x1b1)](_0x6661[_0x3e4305(0x155)],_0x6661[_0x3e4305(0x1aa)]),await this[_0x3e4305(0xeb)](_0x3b545c),this[_0x3e4305(0xe6)](_0x3b545c,_0x2935d3);}_0x6661[_0x3e4305(0x137)]&&(this[_0x3e4305(0x14d)][_0x3e4305(0x103)](_0x3b545c,_0x6661[_0x3e4305(0x137)]),this[_0x3e4305(0x197)]=_0x6661[_0x3e4305(0x137)]),this[_0x3e4305(0x112)][_0x3e4305(0x118)]=_0x3f1dca+this[_0x3e4305(0x10a)],this[_0x3e4305(0xf2)](_0x3b545c),_0x542a27[_0x3e4305(0x114)](_0x5d615b=>{const _0x365f1b=_0x3e4305,_0x140275=this[_0x365f1b(0xf5)](_0x5d615b);return _0x140275&&!this[_0x365f1b(0xd5)][_0x365f1b(0x109)](_0x140275);})[_0x3e4305(0x15e)]((_0xd18ea0,_0x1bbe9d)=>{const _0x29e016=_0x3e4305;_0xd18ea0[_0x29e016(0xcb)]=this[_0x29e016(0x113)][_0x29e016(0x118)]+_0x1bbe9d,this[_0x29e016(0x107)](_0xd18ea0);}),this[_0x3e4305(0x16f)]()?(this[_0x3e4305(0xc6)]=0x0,this[_0x3e4305(0xca)](!0x0),await this[_0x3e4305(0x119)]()):(this[_0x3e4305(0x181)]=!0x1,this[_0x3e4305(0x10d)]());}[_0x3aae05(0xfe)](_0x191e0f,_0x27e2b8){const _0x46e351=_0x3aae05,_0x6ecb2b=_0x27e2b8&&_0x27e2b8[_0x46e351(0xce)];if(_0x6ecb2b&&_0x6ecb2b[_0x46e351(0xfc)](_0x46e351(0x1b6)))throw _0x27e2b8;const _0x25440f=this[_0x46e351(0x14c)][_0x46e351(0x190)][_0x46e351(0x175)](_0x39f35a);throw this[_0x46e351(0x181)]=!0x0,_0x25440f[_0x46e351(0x170)](),this[_0x46e351(0x14c)][_0x46e351(0xe9)](_0x46e351(0x1b3)),new _0x459c11(_0x191e0f,this[_0x46e351(0x14c)],_0x6ecb2b?{'originalError':_0x6ecb2b}:void 0x0);}[_0x3aae05(0x107)](_0x4575e){const _0x2f0274=_0x3aae05;this[_0x2f0274(0xf8)][_0x2f0274(0x109)](_0x4575e)||(this[_0x2f0274(0xf8)][_0x2f0274(0x19d)](_0x4575e),this[_0x2f0274(0xc4)][_0x2f0274(0x17a)](_0x4575e),this[_0x2f0274(0x1a3)]||_0x2f0274(0xc9)==_0x4575e[_0x2f0274(0x1a1)]&&!_0x4575e[_0x2f0274(0x139)]||this[_0x2f0274(0xd3)]());}[_0x3aae05(0xca)](_0x5f2218=!0x1){const _0x6ebd87=_0x3aae05;!_0x5f2218&&this[_0x6ebd87(0x181)]||(this[_0x6ebd87(0x181)]=!0x0,clearTimeout(this[_0x6ebd87(0x144)]),this[_0x6ebd87(0x144)]=setTimeout(()=>{const _0x5e748d=_0x6ebd87;this[_0x5e748d(0x18c)]()[_0x5e748d(0xfa)](_0x2f7035=>{const _0x1ecd8a=_0x5e748d;_0x2f7035&&(this[_0x1ecd8a(0x10d)](),this[_0x1ecd8a(0x181)]=!0x1);})[_0x5e748d(0x11c)](_0x3a5879=>{const _0x2b8ed9=_0x5e748d;this[_0x2b8ed9(0x10d)](),this[_0x2b8ed9(0x181)]=!0x1,function(_0xd48cd9){const _0x44791b=_0x2b8ed9;return _0xd48cd9[_0x44791b(0xce)][_0x44791b(0xfc)](_0x44791b(0xe8))||_0xd48cd9[_0x44791b(0xce)][_0x44791b(0xfc)](_0x44791b(0xd7))||_0xd48cd9[_0x44791b(0xce)][_0x44791b(0xfc)](_0x44791b(0x13f));}(_0x3a5879)||this[_0x2b8ed9(0xfe)](_0x3a5879[_0x2b8ed9(0xce)],_0x3a5879);});},this[_0x6ebd87(0xc6)]));}[_0x3aae05(0x119)](){return new Promise(_0x40967c=>{const _0x1c8014=_0x13e1;this['on'](_0x1c8014(0xbd),()=>{_0x40967c();});});}async[_0x3aae05(0x18c)](){const _0x45f6bc=_0x3aae05,_0x511b11=this[_0x45f6bc(0x14c)][_0x45f6bc(0x190)][_0x45f6bc(0x175)](_0x2ab935);if(this[_0x45f6bc(0x13c)]()&&(_0x511b11[_0x45f6bc(0x11a)](),this[_0x45f6bc(0x1a8)]=!0x1),!this[_0x45f6bc(0x16f)]())return!0x0;const _0x39ad94=[...this[_0x45f6bc(0xc4)]];for(const _0x49761b of _0x39ad94)_0x49761b[_0x45f6bc(0x19f)]=this[_0x45f6bc(0x113)][_0x45f6bc(0xe0)][_0x45f6bc(0x15f)](_0x49761b);const _0x582ca7=this[_0x45f6bc(0x14d)][_0x45f6bc(0xb0)](_0x39ad94),_0x178257=Q++,_0x20f8a3=this[_0x45f6bc(0x149)](_0x39ad94),_0x5b05fe=await this[_0x45f6bc(0x153)][_0x45f6bc(0x135)](_0x20f8a3,_0x20f8a3[_0x45f6bc(0xcb)],_0x582ca7);try{return await this[_0x45f6bc(0x138)](_0x39ad94,_0x5b05fe,_0x178257);}catch(_0x6ad1ee){return this[_0x45f6bc(0xfe)](_0x45f6bc(0xee),_0x6ad1ee);}}async[_0x3aae05(0x138)](_0x1bb18f,_0x3c679e,_0x5147be){const _0x1250df=_0x3aae05;if(_0x1250df(0x191)in _0x3c679e)throw _0x3c679e[_0x1250df(0x191)];let _0x512465=!0x1;if(_0x3c679e[_0x1250df(0x1ac)]){_0x3c679e[_0x1250df(0x137)]&&(this[_0x1250df(0x197)]=_0x3c679e[_0x1250df(0x137)]),this[_0x1250df(0xc4)]=this[_0x1250df(0xc4)][_0x1250df(0x114)](_0x155dce=>!_0x1bb18f[_0x1250df(0x123)](_0x155dce));for(const _0x58368f of _0x1bb18f)_0x58368f[_0x1250df(0x146)]=_0x1250df(0x156)in _0x3c679e&&_0x3c679e[_0x1250df(0x156)]||void 0x0;Y(_0x1bb18f,_0x3c679e[_0x1250df(0x118)]-_0x1bb18f[_0x1250df(0xb1)]),this[_0x1250df(0xf2)](_0x1bb18f);const _0x13a18c=_0x1bb18f[_0x1250df(0x114)](_0x2d9ed1=>{const _0x2192bf=_0x1250df;if(!_0x2d9ed1[_0x2192bf(0x12d)])return!0x1;const _0x1986e1=this[_0x2192bf(0xf5)](_0x2d9ed1);return _0x1986e1&&!this[_0x2192bf(0xd5)][_0x2192bf(0x109)](_0x1986e1);});Y(_0x13a18c,this[_0x1250df(0x113)][_0x1250df(0x118)]),this[_0x1250df(0xe6)](_0x13a18c),_0x512465=!0x0,this[_0x1250df(0xc6)]=this[_0x1250df(0xfb)];}else{const _0x55dc12=this[_0x1250df(0x1b1)](_0x3c679e[_0x1250df(0x155)],_0x3c679e[_0x1250df(0x1aa)])[_0x1250df(0x114)](_0xcbf303=>_0xcbf303[_0x1250df(0xcb)]>=this[_0x1250df(0xc3)]);_0x55dc12[_0x1250df(0x15e)](_0x44656c=>this[_0x1250df(0x132)](_0x44656c)),this[_0x1250df(0xc4)]=this[_0x1250df(0xc4)][_0x1250df(0x114)](_0x3fc30c=>!_0x3fc30c[_0x1250df(0x12d)]||!this[_0x1250df(0xd5)][_0x1250df(0x109)](this[_0x1250df(0xf5)](_0x3fc30c))),this[_0x1250df(0xc4)][_0x1250df(0xb1)]&&Y(this[_0x1250df(0xc4)],this[_0x1250df(0xc4)][0x0][_0x1250df(0xcb)]),await this[_0x1250df(0xeb)](_0x55dc12),_0x512465=this[_0x1250df(0xb6)](_0x55dc12,_0x3c679e[_0x1250df(0x118)],_0x3c679e[_0x1250df(0x137)]),this[_0x1250df(0xc6)]=Math[_0x1250df(0xe3)](this[_0x1250df(0xc6)]/0x2);}return _0x512465?!this[_0x1250df(0x16f)]()||(this[_0x1250df(0xca)](!0x0),!0x1):this[_0x1250df(0xfe)](_0x1250df(0x177));}[_0x3aae05(0xb6)](_0x253f6f,_0x34cb0a,_0x60cae3){const _0x49dbd3=_0x3aae05;try{const _0x7a76b6={'document':this[_0x49dbd3(0x113)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x206e30,operationsB:_0x5648e1,originalOperations:_0x2bedb3}=_0x24d92f(_0x253f6f,this[_0x49dbd3(0xc4)],_0x7a76b6);Y(_0x206e30,this[_0x49dbd3(0x113)][_0x49dbd3(0x118)]),Y(_0x5648e1,_0x34cb0a);for(const _0x170cd7 of _0x206e30){const _0x3279b5=_0x2bedb3[_0x49dbd3(0x175)](_0x170cd7);_0x170cd7[_0x49dbd3(0x176)]=_0x3279b5?_0x3279b5[_0x49dbd3(0x176)]:null;}_0x60cae3&&(this[_0x49dbd3(0x14d)][_0x49dbd3(0x103)](_0x253f6f,_0x60cae3),this[_0x49dbd3(0x197)]=_0x60cae3),this[_0x49dbd3(0xc4)]=[..._0x5648e1],this[_0x49dbd3(0xe6)](_0x206e30),this[_0x49dbd3(0xf2)](_0x253f6f);}catch(_0x3f7d99){return console[_0x49dbd3(0x191)](_0x3f7d99),!0x1;}return!0x0;}[_0x3aae05(0xe6)](_0x305f35,_0x4bf753=!0x1){const _0xc0cff6=_0x3aae05;this[_0xc0cff6(0x14c)][_0xc0cff6(0x1a6)][_0xc0cff6(0x165)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5e98ef=>{const _0x13d51f=_0xc0cff6;for(const _0x1b9f70 of _0x305f35)this[_0x13d51f(0xf8)][_0x13d51f(0x19d)](_0x1b9f70),this[_0x13d51f(0x132)](_0x1b9f70),_0x5e98ef[_0x13d51f(0x198)][_0x13d51f(0x11f)](_0x1b9f70),this[_0x13d51f(0x14c)][_0x13d51f(0x1a6)][_0x13d51f(0x19a)](_0x1b9f70);});}[_0x3aae05(0x132)](_0xbd7ada){const _0x49ee6e=_0x3aae05,_0x2d59c5=this[_0x49ee6e(0xf5)](_0xbd7ada);_0x2d59c5&&this[_0x49ee6e(0xd5)][_0x49ee6e(0x19d)](_0x2d59c5);}[_0x3aae05(0xf5)](_0x33c82f){const _0x220213=_0x3aae05;let _0x47ae5f,_0x935169;switch(_0x33c82f[_0x220213(0x1a1)]){case _0x220213(0x16d):_0x47ae5f=_0x33c82f[_0x220213(0x145)][_0x220213(0xf6)];break;case _0x220213(0xc9):if(_0x935169=_0x33c82f[_0x220213(0x182)],!_0x935169)return null;_0x47ae5f=_0x935169[_0x220213(0xf6)];break;case _0x220213(0x14f):_0x47ae5f=_0x33c82f[_0x220213(0xf6)];break;case _0x220213(0x15a):_0x47ae5f=_0x33c82f[_0x220213(0x101)];break;case _0x220213(0x122):_0x47ae5f=_0x33c82f[_0x220213(0xd2)][_0x220213(0xf6)];break;default:return null;}return _0x47ae5f[_0x220213(0x130)];}[_0x3aae05(0xf2)](_0x5db553){const _0x41f4d8=_0x3aae05;_0x5db553[_0x41f4d8(0x15e)](_0x3be993=>{const _0x1b43ac=_0x41f4d8,_0xf9a918=_0x3be993[_0x1b43ac(0x179)]();_0xf9a918[_0x1b43ac(0x176)]=_0x3be993[_0x1b43ac(0x176)],_0xf9a918[_0x1b43ac(0x12d)]=!!_0x3be993[_0x1b43ac(0x12d)],_0xf9a918[_0x1b43ac(0x146)]=_0x3be993[_0x1b43ac(0x146)],_0xf9a918[_0x1b43ac(0xcb)]+=this[_0x1b43ac(0x10a)],_0x3be993[_0x1b43ac(0x16e)]&&this[_0x1b43ac(0x147)][_0x1b43ac(0x19d)](_0xf9a918),this[_0x1b43ac(0x112)][_0x1b43ac(0x11f)](_0xf9a918);});}[_0x3aae05(0x1b2)](_0x7bb7f1){const _0x55f211=_0x3aae05,_0x35b699=this[_0x55f211(0x14c)][_0x55f211(0x190)][_0x55f211(0x175)](_0x55f211(0x1a4)),_0x4c86f5=this[_0x55f211(0x14c)][_0x55f211(0x12e)];_0x7bb7f1||(_0x7bb7f1=_0x100d42(_0x4c86f5,_0x55f211(0x14e))),_0x35b699[_0x55f211(0x1b4)](_0x7bb7f1,{'title':_0x100d42(_0x4c86f5,_0x55f211(0x15c)),'namespace':_0x55f211(0x189)}),this[_0x55f211(0x157)]=!0x0,clearTimeout(this[_0x55f211(0x144)]),this[_0x55f211(0xc4)]=[],this[_0x55f211(0x14c)][_0x55f211(0x190)][_0x55f211(0x175)](_0x39f35a)[_0x55f211(0x170)]();}[_0x3aae05(0xd3)](){const _0x5b0a98=_0x3aae05;this[_0x5b0a98(0x1a3)]||(this[_0x5b0a98(0x1a3)]=this[_0x5b0a98(0x14c)][_0x5b0a98(0x190)][_0x5b0a98(0x175)](_0x426c8a)[_0x5b0a98(0x19d)](_0x100d42(this[_0x5b0a98(0x14c)][_0x5b0a98(0x12e)],_0x5b0a98(0xb7))));}[_0x3aae05(0x10d)](){const _0x5348cc=_0x3aae05;this[_0x5348cc(0x1a3)]&&(this[_0x5348cc(0x14c)][_0x5348cc(0x190)][_0x5348cc(0x175)](_0x426c8a)[_0x5348cc(0xb8)](this[_0x5348cc(0x1a3)]),this[_0x5348cc(0x1a3)]=null);}[_0x3aae05(0x149)](_0x483a4c){const _0x507b3c=_0x3aae05,_0x319978=_0x483a4c[_0x507b3c(0x172)](_0x5dd774=>_0x5dd774[_0x507b3c(0x129)]());return this[_0x507b3c(0xdd)][_0x507b3c(0x162)](_0x319978);}[_0x3aae05(0x1b1)](_0x5bdb7c,_0x626a87){const _0x5ddc34=_0x3aae05;return this[_0x5ddc34(0xdd)][_0x5ddc34(0xe5)](_0x5bdb7c)[_0x5ddc34(0x172)]((_0x503e8e,_0x8cee98)=>{const _0x5c2dfa=_0x5ddc34,_0x523809=_0x5c2dfa(0xc2)==_0x626a87[_0x8cee98][_0x5c2dfa(0x1a1)];if(_0x5c2dfa(0x133)==_0x503e8e[_0x5c2dfa(0x11d)]){const _0x154633=_0x503e8e[_0x5c2dfa(0x145)][_0x5c2dfa(0xf6)];!this[_0x5c2dfa(0x113)][_0x5c2dfa(0xb4)](_0x154633)&&(this[_0x5c2dfa(0x113)][_0x5c2dfa(0x18b)](_0x5c2dfa(0xcd),_0x154633)[_0x5c2dfa(0xb3)]=!0x1);}const _0x233234=_0x1137fb[_0x5c2dfa(0xf9)](_0x503e8e,this[_0x5c2dfa(0x113)]);return _0x233234[_0x5c2dfa(0x19f)]=_0x503e8e[_0x5c2dfa(0x19f)],_0x233234[_0x5c2dfa(0x12d)]=_0x523809,_0x233234[_0x5c2dfa(0x176)]=_0x523809?null:_0x626a87[_0x8cee98][_0x5c2dfa(0x104)],_0x233234[_0x5c2dfa(0x16e)]=_0x5c2dfa(0x1a2)===_0x626a87[_0x8cee98][_0x5c2dfa(0x1a1)],_0x233234[_0x5c2dfa(0x146)]=_0x626a87[_0x8cee98][_0x5c2dfa(0x146)],_0x233234;});}[_0x3aae05(0x13a)](){const _0x51174c=_0x3aae05;this[_0x51174c(0x1a8)]=!0x0,this[_0x51174c(0x13c)]()?this[_0x51174c(0xca)]():this[_0x51174c(0x1a8)]=!0x1;}[_0x3aae05(0x13c)](){const _0x430fa2=_0x3aae05,_0x5458f6=this[_0x430fa2(0x14c)][_0x430fa2(0x190)][_0x430fa2(0x175)](_0x39fe52)[_0x430fa2(0x131)][_0x430fa2(0x175)](this[_0x430fa2(0x11e)]);return!this[_0x430fa2(0x14c)][_0x430fa2(0x121)]&&!!_0x5458f6&&_0x5458f6[_0x430fa2(0xb1)]>0x1&&this[_0x430fa2(0x1a8)];}[_0x3aae05(0x16f)](){const _0x340a3e=_0x3aae05;return this[_0x340a3e(0xc4)][_0x340a3e(0xb1)]>0x0||this[_0x340a3e(0x13c)]();}}class X extends Error{}function _0x253b(){const _0x325c93=['cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createRange','_setUpDataInit','state','pluginName','start','_compressor','parse','realtimecollaborationclient-init-session-connection-error','history','apply','_handleInitialConnectionData','round','directChange','decompress','_applyOperationsSet','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','enableReadOnlyMode','87akZdCD','_fetchMissingUsers','44300kbJDKT','attributes','realtimecollaborationclient-sendbufferedoperations','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','addToReconnectionStack','_updateServerHistory','getUser','404','_getAffectedRoot','root','unregister','_knownOperations','fromJSON','then','_baseBufferDelay','startsWith','isDocumentOperation','_crash','16720SBRjep','loadRoot','affectedSelectable','getDocumentDetails','setIdForTheLastOperation','userId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','CollaborativeEditingService','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','has','_offset','_initSessionsHandling','createPositionAt','_clearPendingAction','listenTo','off','connected','collaboration','serverHistory','_document','filter','getMany','bind','fire','version','_waitUntilSynced','createUserMarkerOperations','_isConnected','catch','__className','_channelId','addOperation','118853HIxVgR','isReadOnly','move','includes','finally','register','from','16449756yMbdtW','_connectService','toJSON','15448kNTiNz','ready','sessionAdd:','_isInit','locale','document','rootName','channelSessions','_addKnownRoot','InsertOperation','collaboration-missing-channelid','sendOperations','sessionId','lastOperationId','_handleServerResponse','affectsData','_refreshUserSelectionMarkers','define','_shouldSendSelectionUpdate','_loadRoot','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Request\x20timeout.','markers','_isLoaded','_handleSendingSelectionMarkers','Permissions','_sendBufferedOperationsDelayId','position','createdAt','_disconnectionOperations','lastSyncVersion','_compressOperations','destroy','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editor','_operationIdentifier','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.','addRootAttribute','change:hasDomSelection','end','entries','_service','stopListening','data','lastOperationAcceptedAt','_hasSynchronizationProblem','offset','slice','addRoot','connection','Synchronization\x20issue','stop','forEach','isUndoneOperation','requires','_bufferRootLoad','compress','isEnabled','_handleReceivedOperations','enqueueChange','isPremiumPlugin','differ','path','createPositionFromPath','currentDocumentSession','disconnected','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','insert','_isDisconnection','_shouldSendUpdate','disconnect','code','map','removeFromReconnectionStack','addUser','get','_authorId','realtimecollaborationclient-handleserverresponse','_operationToId','clone','push','cloudServices.bundleVersion','mySessionId','high','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-non-existent-root','_connectAfterSessionHasBeenFlushed','_isPendingUpdate','newRange','getOperationAuthor','permissions','setPermissions','size','reconnection:\x20flushed\x20session','editing','real-time-collaboration','getOperations','createRoot','_sendBufferedOperations','reconnect','CommentsOnly','realtimecollaborationclient-init-service-internal-error','plugins','error','308SpDNuF','rtc-offline','initData','operationsReceived','document:write','_lastSyncedOperationId','batch','_disconnectService','applyOperation','_initThrowingOnDataSet','4266YMcwMO','add','3404660zroXBx','wasUndone','keys','type','cs:removeUser','_pendingAction','Notification','view','model','roots','_hasSelectionChanged','return','metadata','66sEFNjG','wereChangesApplied','_handleReconnectionResponse','change:_isEditingAllowed','isOfficialPlugin','string','_decompressOperations','_handleReconnectionError','realtimecollaborationclient-error','showWarning','collaboration.channelId','realtimecollaborationclient','RealTimeCollaborationClient','getIdOfTheLastOperation','length','connect','_isAttached','getRoot','409','_handleExternalOperations','PENDING_ACTION_SENDING_DATA','remove','reset','getConnectedSessions','1JIoIJr','set','change:_isPendingUpdate','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.','rtc-destroyed','_isEditingAllowed','_getOperationsFromInitData','init','_lastServerVersion','_bufferedOperations','change:range','_currentBufferDelay','rootsAttributes','_ignoredOperations','marker','_sendBufferedOperationsDelayed','baseVersion','config','$root','message','lastDocumentSession','suppressErrorInCollaboration','selection','targetPosition','_setPendingAction','sessionCreatedAt','_knownRootNames','1355126WaWHkr'];_0x253b=function(){return _0x325c93;};return _0x253b();}function Y(_0x362848,_0x43a178){const _0x517520=_0x3aae05;for(const _0x3d2e35 of _0x362848)_0x3d2e35[_0x517520(0xcb)]=_0x43a178++;}class Z{[_0x3aae05(0xc8)];[_0x3aae05(0x178)];constructor(_0x3f4f9c){const _0xa525b4=_0x3aae05;this[_0xa525b4(0xc8)]=_0x3f4f9c,this[_0xa525b4(0x178)]=new WeakMap();}[_0x3aae05(0xb0)](_0x3e3a50){const _0x49ea70=_0x3aae05;let _0x170b8c=_0x3e3a50[_0x49ea70(0xb1)];for(;_0x170b8c--;){const _0x17d398=_0x3e3a50[_0x170b8c];if(!this[_0x49ea70(0xc8)][_0x49ea70(0x109)](_0x17d398)){if(!this[_0x49ea70(0x178)][_0x49ea70(0x109)](_0x17d398)){const _0x131903=_0x1b2700()[_0x49ea70(0x159)](0x1,0x12);this[_0x49ea70(0x178)][_0x49ea70(0xbc)](_0x17d398,_0x131903);}return this[_0x49ea70(0x178)][_0x49ea70(0x175)](_0x17d398);}}}[_0x3aae05(0x103)](_0x28a980,_0x22be11){const _0x516e14=_0x3aae05;if(!_0x22be11)return;let _0x238d76=_0x28a980[_0x516e14(0xb1)];for(;_0x238d76--;){const _0x4e9a71=_0x28a980[_0x238d76];this[_0x516e14(0xc8)][_0x516e14(0x109)](_0x4e9a71)||this[_0x516e14(0x178)][_0x516e14(0xbc)](_0x4e9a71,_0x22be11);}}}
23
+ const _0x46dd9b=_0xcb2c;(function(_0x28da71,_0x4982b2){const _0x2ba645=_0xcb2c,_0x39ad18=_0x28da71();while(!![]){try{const _0xa5fef2=-parseInt(_0x2ba645(0x26a))/0x1*(parseInt(_0x2ba645(0x1d7))/0x2)+parseInt(_0x2ba645(0x1fa))/0x3+-parseInt(_0x2ba645(0x272))/0x4*(-parseInt(_0x2ba645(0x1d6))/0x5)+-parseInt(_0x2ba645(0x1d2))/0x6*(-parseInt(_0x2ba645(0x261))/0x7)+-parseInt(_0x2ba645(0x281))/0x8*(parseInt(_0x2ba645(0x20e))/0x9)+-parseInt(_0x2ba645(0x25f))/0xa*(-parseInt(_0x2ba645(0x1ad))/0xb)+-parseInt(_0x2ba645(0x189))/0xc*(-parseInt(_0x2ba645(0x241))/0xd);if(_0xa5fef2===_0x4982b2)break;else _0x39ad18['push'](_0x39ad18['shift']());}catch(_0x5d7a6f){_0x39ad18['push'](_0x39ad18['shift']());}}}(_0x394e,0xafebc));import{Plugin as _0x3bf9cf,PendingActions as _0x1e4fe9}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cb9b6,version as _0x2ba5ba,uid as _0x55dc7c}from'ckeditor5/src/utils.js';import{Notification as _0x4d0407}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3ad073,NoOperation as _0x2c55e6,InsertOperation as _0x5a381c,MarkerOperation as _0x36b13a,RootAttributeOperation as _0x333274,OperationFactory as _0x2ccc3b,History as _0x1f9acf}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5611fa}from'./websocketgateway.js';import{Sessions as _0x2f5810}from'./sessions.js';import{UserMarkers as _0x2fa529}from'./usermarkers.js';import{getTranslation as _0x174e02}from'../common-translations.js';import{Compressor as _0x2c4411}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x35d89d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2adbc4,CollaborativeEditingService as _0x312230}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;export class RealTimeCollaborationClient extends _0x3bf9cf{static [_0x46dd9b(0x25c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x312230)());[_0x46dd9b(0x22f)];[_0x46dd9b(0x251)];[_0x46dd9b(0x1a2)];[_0x46dd9b(0x1de)];[_0x46dd9b(0x1c5)];[_0x46dd9b(0x25b)];[_0x46dd9b(0x26b)];[_0x46dd9b(0x197)];[_0x46dd9b(0x1d8)];[_0x46dd9b(0x274)];[_0x46dd9b(0x1b1)];[_0x46dd9b(0x1e3)];[_0x46dd9b(0x276)];[_0x46dd9b(0x23a)];[_0x46dd9b(0x21c)];[_0x46dd9b(0x279)];[_0x46dd9b(0x24f)];[_0x46dd9b(0x218)];static get[_0x46dd9b(0x257)](){return[_0x5611fa,_0x2f5810,_0x2fa529,_0x1e4fe9,_0x35d89d,_0x4d0407];}static get[_0x46dd9b(0x27f)](){const _0xa98cf4=_0x46dd9b;return _0xa98cf4(0x1e0);}static get[_0x46dd9b(0x1bb)](){return!0x0;}static get[_0x46dd9b(0x1c9)](){return!0x0;}get[_0x46dd9b(0x267)](){const _0x238e54=_0x46dd9b;return this[_0x238e54(0x229)]+this[_0x238e54(0x22f)];}get[_0x46dd9b(0x229)](){const _0x5b2821=_0x46dd9b;return this[_0x5b2821(0x1a2)][_0x5b2821(0x1c0)]-this[_0x5b2821(0x22f)];}get[_0x46dd9b(0x17b)](){const _0x4f91f9=_0x46dd9b,_0x2791ff=this[_0x4f91f9(0x1a2)][_0x4f91f9(0x19a)]();for(let _0x2252ec=_0x2791ff[_0x4f91f9(0x23c)]-0x1;_0x2252ec>=0x0;_0x2252ec--){const _0x3fa46d=_0x2791ff[_0x2252ec];if(!this[_0x4f91f9(0x24f)][_0x4f91f9(0x25e)](_0x3fa46d))return _0x3fa46d[_0x4f91f9(0x266)]+0x1-this[_0x4f91f9(0x22f)];}return 0x0;}constructor(_0x53ac94){const _0x30db3a=_0x46dd9b;if(super(_0x53ac94),this[_0x30db3a(0x22f)]=0x0,this[_0x30db3a(0x251)]=null,this[_0x30db3a(0x1a2)]=new _0x1f9acf(),this[_0x30db3a(0x252)][_0x30db3a(0x221)][_0x30db3a(0x214)](_0x30db3a(0x208),{}),this[_0x30db3a(0x1de)]=this[_0x30db3a(0x252)][_0x30db3a(0x221)][_0x30db3a(0x21a)](_0x30db3a(0x182)),!this[_0x30db3a(0x1de)])throw new _0x1cb9b6(_0x30db3a(0x17c),this);const _0x184cf9=_0x53ac94[_0x30db3a(0x221)][_0x30db3a(0x21a)](_0x30db3a(0x273))||_0x2ba5ba;this[_0x30db3a(0x1c5)]=new RealTimeCollaborationClient[(_0x30db3a(0x25c))](_0x184cf9,this[_0x30db3a(0x1de)]),this[_0x30db3a(0x25b)]=this[_0x30db3a(0x252)][_0x30db3a(0x233)][_0x30db3a(0x184)],this[_0x30db3a(0x26b)]=new _0x2c4411(),this[_0x30db3a(0x197)]=[],this[_0x30db3a(0x1d8)]=new WeakSet(),this[_0x30db3a(0x274)]=new Set(),this[_0x30db3a(0x186)](_0x30db3a(0x24e),!0x1),this[_0x30db3a(0x186)](_0x30db3a(0x180),!0x1),this[_0x30db3a(0x1b1)]=null,this[_0x30db3a(0x1e3)]=!0x1,this[_0x30db3a(0x276)]=null,this[_0x30db3a(0x23a)]=0x12c,this[_0x30db3a(0x21c)]=this[_0x30db3a(0x23a)],this[_0x30db3a(0x279)]=null,this[_0x30db3a(0x24f)]=new WeakSet(),this[_0x30db3a(0x218)]=new K(this[_0x30db3a(0x24f)]);}[_0x46dd9b(0x19c)](){const _0x4652f4=_0x46dd9b,_0x1ea69d=this[_0x4652f4(0x252)],_0x5372f7=_0x1ea69d[_0x4652f4(0x210)][_0x4652f4(0x21a)](_0x35d89d),_0x14b0df=_0x1ea69d[_0x4652f4(0x210)][_0x4652f4(0x21a)](_0x5611fa);this[_0x4652f4(0x1fd)](_0x5372f7,_0x4652f4(0x181),(_0xd4b14b,_0xed35ee)=>{const _0x171ce1=_0x4652f4,_0x40c070=_0xed35ee[0x0];_0x40c070[_0x171ce1(0x1d0)]&&(_0xd4b14b[_0x171ce1(0x1b7)]=_0x5372f7[_0x171ce1(0x1b9)](_0x40c070[_0x171ce1(0x1d0)]),_0xd4b14b[_0x171ce1(0x1c4)]()),null===_0x40c070[_0x171ce1(0x1d0)]&&(_0xd4b14b[_0x171ce1(0x1b7)]=null,_0xd4b14b[_0x171ce1(0x1c4)]());},{'priority':_0x4652f4(0x219)}),this[_0x4652f4(0x1fd)](_0x1ea69d[_0x4652f4(0x233)][_0x4652f4(0x184)][_0x4652f4(0x199)],_0x4652f4(0x1b5),(_0x2d1960,_0x34decc)=>{const _0x37b15c=_0x4652f4;_0x34decc[_0x37b15c(0x21b)]&&this[_0x37b15c(0x232)]();}),this[_0x4652f4(0x1fd)](_0x1ea69d[_0x4652f4(0x1c7)][_0x4652f4(0x1f0)],_0x4652f4(0x263),()=>{const _0x1c4b36=_0x4652f4;this[_0x1c4b36(0x232)]();}),this[_0x4652f4(0x1b0)](),_0x1ea69d[_0x4652f4(0x233)]['on'](_0x4652f4(0x1a6),(_0x5f45d9,_0x44d216)=>{const _0x220d88=_0x4652f4,_0x4356a6=_0x44d216[0x0];_0x4356a6[_0x220d88(0x227)]&&(this[_0x220d88(0x21f)](_0x4356a6),this[_0x220d88(0x1b3)]()&&this[_0x220d88(0x1d5)]());}),this[_0x4652f4(0x235)](),this[_0x4652f4(0x23b)](_0x4652f4(0x25a))['to'](_0x14b0df,_0x4652f4(0x183),this,_0x4652f4(0x180),(_0x599240,_0x264d66)=>_0x4652f4(0x17d)===_0x599240&&!_0x264d66),this['on'](_0x4652f4(0x26c),()=>{const _0x52e489=_0x4652f4;this[_0x52e489(0x25a)]?_0x1ea69d[_0x52e489(0x1f4)](_0x52e489(0x244)):_0x1ea69d[_0x52e489(0x191)](_0x52e489(0x244));}),this[_0x4652f4(0x25a)]?_0x1ea69d[_0x4652f4(0x1f4)](_0x4652f4(0x244)):_0x1ea69d[_0x4652f4(0x191)](_0x4652f4(0x244)),this[_0x4652f4(0x186)](_0x4652f4(0x269),!0x1);}async[_0x46dd9b(0x213)](){const _0x34a51a=_0x46dd9b,_0x5b4399=this[_0x34a51a(0x252)][_0x34a51a(0x210)][_0x34a51a(0x21a)](_0x2f5810),_0xbccea2=this[_0x34a51a(0x252)][_0x34a51a(0x210)][_0x34a51a(0x21a)](_0x5611fa);try{this[_0x34a51a(0x24e)]=!0x0,_0x5b4399[_0x34a51a(0x230)](this[_0x34a51a(0x1de)]);const _0x4f8e2b=await this[_0x34a51a(0x1c5)][_0x34a51a(0x213)](_0xbccea2[_0x34a51a(0x200)],this[_0x34a51a(0x17b)]);await this[_0x34a51a(0x1cf)](_0x4f8e2b)&&(this[_0x34a51a(0x24e)]=!0x1,this[_0x34a51a(0x22c)]());const _0x142d35=await this[_0x34a51a(0x1c5)][_0x34a51a(0x209)]();_0x5b4399[_0x34a51a(0x23e)](this[_0x34a51a(0x1de)],_0x142d35),this[_0x34a51a(0x1fc)](),this[_0x34a51a(0x269)]=!0x0;}catch(_0x5480dc){if(function(_0x2c6eda){const _0xc1d163=_0x34a51a;return _0xc1d163(0x24a)===_0x2c6eda[_0xc1d163(0x26e)];}(_0x5480dc)&&this[_0x34a51a(0x251)])await this[_0x34a51a(0x19d)]();else{if(function(_0x388e3c){const _0x461e18=_0x34a51a;return _0x461e18(0x234)===_0x388e3c[_0x461e18(0x26e)];}(_0x5480dc)){const _0x19b102=_0x174e02(this[_0x34a51a(0x252)][_0x34a51a(0x282)],_0x34a51a(0x27e));this[_0x34a51a(0x1d9)](_0x19b102);}else{if(!(_0x5480dc instanceof G))throw _0x5480dc;this[_0x34a51a(0x1d9)]();}}}}[_0x46dd9b(0x217)](){const _0x1f432d=_0x46dd9b,_0x4f38b9=this[_0x1f432d(0x252)][_0x1f432d(0x210)][_0x1f432d(0x21a)](_0x5611fa),_0x43bdcf=this[_0x1f432d(0x252)][_0x1f432d(0x210)][_0x1f432d(0x21a)](_0x2f5810);this[_0x1f432d(0x252)][_0x1f432d(0x191)](_0x1f432d(0x211)),_0x43bdcf[_0x1f432d(0x192)][_0x1f432d(0x25e)](this[_0x1f432d(0x1de)])&&_0x43bdcf[_0x1f432d(0x230)](this[_0x1f432d(0x1de)]),_0x4f38b9[_0x1f432d(0x1df)](this),this[_0x1f432d(0x193)](),super[_0x1f432d(0x217)]();}async[_0x46dd9b(0x1cf)](_0x37bab9){const _0x31b378=_0x46dd9b;if(this[_0x31b378(0x251)]!==_0x37bab9[_0x31b378(0x251)]&&this[_0x31b378(0x279)]!==_0x37bab9[_0x31b378(0x236)])throw new G();return this[_0x31b378(0x251)]=_0x37bab9[_0x31b378(0x251)],this[_0x31b378(0x220)]([],{..._0x37bab9,'wereChangesApplied':!0x1,'data':_0x37bab9[_0x31b378(0x248)]},_0x31b378(0x213));}async[_0x46dd9b(0x23f)](_0x5d914c,_0x2c721d=!0x1){const _0x5107e9=_0x46dd9b,{connection:_0x3d1f19}=this[_0x5107e9(0x252)][_0x5107e9(0x210)][_0x5107e9(0x21a)](_0x5611fa);RealTimeCollaborationClient[_0x5107e9(0x25c)][_0x5107e9(0x209)](_0x3d1f19,this[_0x5107e9(0x1de)])[_0x5107e9(0x1ac)](_0x3e1aef=>this[_0x5107e9(0x24d)](_0x3e1aef))[_0x5107e9(0x225)](_0x3ddbc3=>{const _0x585429=_0x5107e9;this[_0x585429(0x1f3)](_0x585429(0x237),_0x3ddbc3);}),this[_0x5107e9(0x1fd)](this[_0x5107e9(0x1c5)],_0x5107e9(0x249),this[_0x5107e9(0x18d)][_0x5107e9(0x23b)](this)),this[_0x5107e9(0x1fd)](this[_0x5107e9(0x1c5)],_0x5107e9(0x195),(_0x572f31,_0x245523)=>{const _0x325f0d=_0x5107e9;this[_0x325f0d(0x1f3)](_0x325f0d(0x20a),_0x245523);}),this[_0x5107e9(0x1fd)](this[_0x5107e9(0x1c5)],_0x5107e9(0x258),()=>{const _0x2dcc47=_0x5107e9;this[_0x2dcc47(0x269)]=!0x1;});const _0x3c60d=this[_0x5107e9(0x218)][_0x5107e9(0x23d)](_0x5d914c);this[_0x5107e9(0x24e)]=!0x0;const _0x17ecca=await this[_0x5107e9(0x1c5)][_0x5107e9(0x228)](_0x3d1f19,this[_0x5107e9(0x1dd)](_0x5d914c),_0x3c60d);if(this[_0x5107e9(0x251)]=_0x17ecca[_0x5107e9(0x251)],_0x2c721d){if(!_0x17ecca[_0x5107e9(0x1ce)])return void this[_0x5107e9(0x1d9)]();this[_0x5107e9(0x24e)]=!0x1,this[_0x5107e9(0x22c)](),this[_0x5107e9(0x1a2)][_0x5107e9(0x190)](),this[_0x5107e9(0x22f)]=_0x17ecca[_0x5107e9(0x17f)],this[_0x5107e9(0x1a2)][_0x5107e9(0x1c0)]=this[_0x5107e9(0x22f)],await this[_0x5107e9(0x220)](_0x5d914c,_0x17ecca,_0x5107e9(0x1d3));}else await this[_0x5107e9(0x1b8)](_0x17ecca,_0x5d914c);this[_0x5107e9(0x1fc)](),this[_0x5107e9(0x269)]=!0x0;}[_0x46dd9b(0x1fc)](){const _0x490cc3=_0x46dd9b,_0x93b542=this[_0x490cc3(0x252)][_0x490cc3(0x210)][_0x490cc3(0x21a)](_0x2f5810),_0x184176=this[_0x490cc3(0x252)][_0x490cc3(0x210)][_0x490cc3(0x21a)](_0x2fa529),_0x3b869a=_0x93b542[_0x490cc3(0x192)][_0x490cc3(0x21a)](this[_0x490cc3(0x1de)]);_0x3b869a&&_0x3b869a[_0x490cc3(0x23c)]>0x1?_0x184176[_0x490cc3(0x1f5)]():this[_0x490cc3(0x1fd)](_0x93b542,_0x490cc3(0x1d1)+this[_0x490cc3(0x1de)],()=>{const _0x2c810b=_0x490cc3;0x2===_0x93b542[_0x2c810b(0x192)][_0x2c810b(0x21a)](this[_0x2c810b(0x1de)])[_0x2c810b(0x23c)]&&_0x184176[_0x2c810b(0x1f5)]();});}async[_0x46dd9b(0x18d)](_0x1dc57e,_0x2d3d7d,_0x5a4642,_0x24aa9d){const _0xc5c013=_0x46dd9b;if(!this[_0xc5c013(0x24e)]&&this[_0xc5c013(0x25b)][_0xc5c013(0x1c0)]==_0x2d3d7d){const _0x408de2=this[_0xc5c013(0x1fe)](_0x5a4642,_0x24aa9d);await this[_0xc5c013(0x203)](_0x408de2),this[_0xc5c013(0x255)](_0x408de2,_0x2d3d7d,_0x5a4642[_0xc5c013(0x236)])||this[_0xc5c013(0x1f3)](_0xc5c013(0x250));}}async[_0x46dd9b(0x19d)](){const _0x271a42=_0x46dd9b;this[_0x271a42(0x193)]();const {locale:_0x37fc3a}=this[_0x271a42(0x252)];let _0x55cec6;try{_0x55cec6=await this[_0x271a42(0x1c5)][_0x271a42(0x27c)]();}catch{const _0x57060b=_0x174e02(_0x37fc3a,_0x271a42(0x1ae));return void this[_0x271a42(0x1d9)](_0x57060b);}const _0x5f1e9a=_0x55cec6[_0x271a42(0x1e4)]||_0x55cec6[_0x271a42(0x185)];if(this[_0x271a42(0x279)]!==_0x5f1e9a[_0x271a42(0x236)]){const _0x3ce790=_0x174e02(_0x37fc3a,_0x271a42(0x1a9));return void this[_0x271a42(0x1d9)](_0x3ce790);}await this[_0x271a42(0x23f)](this[_0x271a42(0x252)][_0x271a42(0x233)][_0x271a42(0x184)][_0x271a42(0x1e9)][_0x271a42(0x19a)](),!0x0);}[_0x46dd9b(0x193)](){const _0x166f5f=_0x46dd9b;this[_0x166f5f(0x1c5)][_0x166f5f(0x201)](),this[_0x166f5f(0x197)]=[],clearTimeout(this[_0x166f5f(0x276)]),this[_0x166f5f(0x215)](this[_0x166f5f(0x1c5)]);}[_0x46dd9b(0x24d)](_0x120e4d){const _0x2b2f35=_0x46dd9b,_0x1d10b2=this[_0x2b2f35(0x252)][_0x2b2f35(0x210)][_0x2b2f35(0x21a)](_0x2f5810);this[_0x2b2f35(0x1fd)](_0x1d10b2,_0x2b2f35(0x1d1)+this[_0x2b2f35(0x1de)],(_0x3a7fbd,{session:_0x307d96})=>{const _0x5176e9=_0x2b2f35;if(_0x307d96['id']===_0x1d10b2[_0x5176e9(0x19e)]){_0x3a7fbd[_0x5176e9(0x212)]();const _0x12e004=this[_0x5176e9(0x252)][_0x5176e9(0x210)][_0x5176e9(0x25e)](_0x5176e9(0x280))&&this[_0x5176e9(0x252)][_0x5176e9(0x210)][_0x5176e9(0x21a)](_0x5176e9(0x280));let _0x3044e8=_0x307d96[_0x5176e9(0x1bf)];_0x12e004&&_0x12e004[_0x5176e9(0x1b4)]&&(_0x3044e8=_0x3044e8[_0x5176e9(0x1cb)](_0x32c609=>_0x5176e9(0x1f6)!==_0x32c609)),this[_0x5176e9(0x252)][_0x5176e9(0x210)][_0x5176e9(0x21a)](_0x5176e9(0x204))[_0x5176e9(0x1ba)](_0x3044e8,this[_0x5176e9(0x1de)]);}}),_0x1d10b2[_0x2b2f35(0x23e)](this[_0x2b2f35(0x1de)],_0x120e4d);}[_0x46dd9b(0x1b0)](){const _0x4732eb=_0x46dd9b,_0x193f2e=this[_0x4732eb(0x252)][_0x4732eb(0x248)][_0x4732eb(0x186)];this[_0x4732eb(0x252)][_0x4732eb(0x248)][_0x4732eb(0x186)]=(..._0x3ced6d)=>{const _0xa3a552=_0x4732eb;if(!_0x3ced6d[_0x3ced6d[_0xa3a552(0x23c)]-0x1][_0xa3a552(0x17e)])throw new _0x1cb9b6(_0xa3a552(0x24c),this);_0x193f2e[_0xa3a552(0x19b)](this[_0xa3a552(0x252)][_0xa3a552(0x248)],_0x3ced6d);};}[_0x46dd9b(0x235)](){const _0x347e8a=_0x46dd9b;this[_0x347e8a(0x252)][_0x347e8a(0x248)]['on'](_0x347e8a(0x19c),(_0x42b6d7,[_0xd4e209])=>{const _0x55af27=_0x347e8a;if(this[_0x55af27(0x25b)][_0x55af27(0x1c0)])throw new _0x1cb9b6(_0x55af27(0x1cd),this);_0x42b6d7[_0x55af27(0x1c4)](),this[_0x55af27(0x1e5)]();const _0xe4ba99=this[_0x55af27(0x252)][_0x55af27(0x221)][_0x55af27(0x21a)](_0x55af27(0x27a)),_0xd4e2bb=this[_0x55af27(0x231)](_0xd4e209,_0xe4ba99);0x0==_0xd4e2bb[_0x55af27(0x23c)]&&_0xd4e2bb[_0x55af27(0x22a)](new _0x2c55e6(0x0)),_0x42b6d7[_0x55af27(0x1b7)]=this[_0x55af27(0x23f)](_0xd4e2bb)[_0x55af27(0x1ac)](()=>{const _0x160313=_0x55af27;this[_0x160313(0x252)][_0x160313(0x210)][_0x160313(0x21a)](_0x5611fa)[_0x160313(0x262)](this),this[_0x160313(0x252)][_0x160313(0x248)][_0x160313(0x1c3)](_0x160313(0x1ea));})[_0x55af27(0x225)](_0x41484b=>this[_0x55af27(0x1f3)](_0x55af27(0x18c),_0x41484b))[_0x55af27(0x1dc)](()=>this[_0x55af27(0x22c)]());},{'priority':_0x347e8a(0x219)}),this[_0x347e8a(0x252)]['on'](_0x347e8a(0x17a),async(_0x186605,[_0x3917fa,_0x4fdb55])=>{const _0x732fa=_0x347e8a;_0x186605[_0x732fa(0x1c4)]();const _0x1e3a57=this[_0x732fa(0x252)][_0x732fa(0x233)][_0x732fa(0x184)][_0x732fa(0x1bd)](_0x3917fa);if(!this[_0x732fa(0x274)][_0x732fa(0x25e)](_0x3917fa)){const _0x30e5f9=_0x4fdb55&&_0x4fdb55[_0x732fa(0x248)]?_0x4fdb55[_0x732fa(0x248)]:'',_0x55bcca=_0x4fdb55&&_0x4fdb55[_0x732fa(0x240)]?_0x4fdb55[_0x732fa(0x240)]:{};await this[_0x732fa(0x1c2)](_0x3917fa,_0x30e5f9,_0x55bcca);}this[_0x732fa(0x252)][_0x732fa(0x233)][_0x732fa(0x20d)]({'isUndoable':!0x1},()=>{const _0xbbd001=_0x732fa;_0x1e3a57[_0xbbd001(0x256)]=!0x0,this[_0xbbd001(0x252)][_0xbbd001(0x233)][_0xbbd001(0x184)][_0xbbd001(0x224)][_0xbbd001(0x18e)](_0x1e3a57);});},{'priority':_0x347e8a(0x219)});}async[_0x46dd9b(0x203)](_0x1d362e){const _0x16fa1a=_0x46dd9b,_0xbbfe27=this[_0x16fa1a(0x252)][_0x16fa1a(0x210)][_0x16fa1a(0x21a)](_0x35d89d),{connection:_0x193235}=this[_0x16fa1a(0x252)][_0x16fa1a(0x210)][_0x16fa1a(0x21a)](_0x5611fa),_0x4f6e6d=new Set();for(const _0x285683 of _0x1d362e){const _0x469326=_0x285683[_0x16fa1a(0x1d0)];_0x469326&&!_0xbbfe27[_0x16fa1a(0x1b9)](_0x469326)&&_0x4f6e6d[_0x16fa1a(0x260)](_0x469326);}if(0x0===_0x4f6e6d[_0x16fa1a(0x1ca)])return;const _0xfbebd3=await _0x2adbc4[_0x16fa1a(0x1e8)](_0x193235,Array[_0x16fa1a(0x1f7)](_0x4f6e6d));for(const _0x51fde9 of _0xfbebd3)_0xbbfe27[_0x16fa1a(0x1b9)](_0x51fde9['id'])||_0xbbfe27[_0x16fa1a(0x1eb)](_0x51fde9);}[_0x46dd9b(0x231)](_0x561eae,_0x5cc9de={}){const _0x2bd3e8=_0x46dd9b,_0x254e51=this[_0x2bd3e8(0x252)][_0x2bd3e8(0x233)],_0x2686d8=[];let _0x1552d4=0x0;const _0xff4495=_0x2bd3e8(0x18a)==typeof _0x561eae?{'main':_0x561eae}:_0x561eae;for(const _0xe77547 of Object[_0x2bd3e8(0x27b)](_0xff4495)){if(!this[_0x2bd3e8(0x25b)][_0x2bd3e8(0x253)][_0x2bd3e8(0x25e)](_0xe77547))throw new _0x1cb9b6(_0x2bd3e8(0x243),this);const _0xd652f6=this[_0x2bd3e8(0x252)][_0x2bd3e8(0x248)][_0x2bd3e8(0x24b)](_0xff4495[_0xe77547]),_0x24fa25=this[_0x2bd3e8(0x25b)][_0x2bd3e8(0x1bd)](_0xe77547),_0x5c346f=new _0x5a381c(_0x254e51[_0x2bd3e8(0x246)](_0x24fa25,0x0),_0xd652f6,_0x1552d4++);_0x2686d8[_0x2bd3e8(0x22a)](_0x5c346f);for(const [_0x3d533c,_0x1bcc39]of _0xd652f6[_0x2bd3e8(0x1ff)]){const _0x524564=_0x254e51[_0x2bd3e8(0x22b)](_0x254e51[_0x2bd3e8(0x27d)](_0x24fa25,_0x1bcc39[_0x2bd3e8(0x238)][_0x2bd3e8(0x277)][_0x2bd3e8(0x1f1)]()),_0x254e51[_0x2bd3e8(0x27d)](_0x24fa25,_0x1bcc39[_0x2bd3e8(0x22d)][_0x2bd3e8(0x277)][_0x2bd3e8(0x1f1)]())),_0x46e257=new _0x36b13a(_0x3d533c,null,_0x524564,_0x254e51[_0x2bd3e8(0x1ff)],!0x0,_0x1552d4++);_0x2686d8[_0x2bd3e8(0x22a)](_0x46e257);}}if(_0x5cc9de)for(const [_0x34ee86,_0x5275d6]of Object[_0x2bd3e8(0x1c8)](_0x5cc9de)){const _0x2673bc=_0x254e51[_0x2bd3e8(0x184)][_0x2bd3e8(0x1bd)](_0x34ee86);if(!_0x2673bc)throw new _0x1cb9b6(_0x2bd3e8(0x222),null);for(const [_0xc8ff29,_0x12aa6d]of Object[_0x2bd3e8(0x1c8)](_0x5275d6))if(null!==_0x12aa6d){const _0x4fd3f2=new _0x333274(_0x2673bc,_0xc8ff29,null,_0x12aa6d,_0x1552d4++);_0x2686d8[_0x2bd3e8(0x22a)](_0x4fd3f2);}}return _0x2686d8;}async[_0x46dd9b(0x1c2)](_0x2aafa3,_0x1e25ce,_0x5cb6cf){const _0xe018e=_0x46dd9b;this[_0xe018e(0x231)]({[_0x2aafa3]:_0x1e25ce},{[_0x2aafa3]:_0x5cb6cf})[_0xe018e(0x1ec)]((_0x455185,_0x55a902)=>{const _0x169eb0=_0xe018e;_0x455185[_0x169eb0(0x266)]=this[_0x169eb0(0x25b)][_0x169eb0(0x1c0)]+_0x55a902,_0x455185[_0x169eb0(0x26d)]=!0x0,this[_0x169eb0(0x21f)](_0x455185);}),this[_0xe018e(0x1d5)](),await this[_0xe018e(0x1c1)]();}async[_0x46dd9b(0x1b8)](_0x12e76e,_0x2a80d2){const _0x142edf=_0x46dd9b;let _0x42f074;this[_0x142edf(0x22f)]=_0x12e76e[_0x142edf(0x17f)];const _0x572d2b=_0x12e76e[_0x142edf(0x1ce)]&&!_0x12e76e[_0x142edf(0x242)],_0x414230=_0x572d2b?0x0:_0x12e76e[_0x142edf(0x248)][_0x142edf(0x266)];if(_0x2a80d2[_0x142edf(0x1ec)](_0x442a31=>{const _0x2f6e95=_0x142edf;_0x442a31[_0x2f6e95(0x26d)]=!0x0,_0x442a31[_0x2f6e95(0x1aa)]=_0x12e76e[_0x2f6e95(0x1a5)],_0x442a31[_0x2f6e95(0x1d0)]=null;}),_0x572d2b)_0x42f074=_0x2a80d2,this[_0x142edf(0x1e6)](_0x42f074,_0x572d2b);else{if(_0x12e76e[_0x142edf(0x242)]){const _0x582a2c=this[_0x142edf(0x231)](_0x12e76e[_0x142edf(0x242)]);this[_0x142edf(0x25b)][_0x142edf(0x1e9)][_0x142edf(0x1c0)]=-_0x582a2c[_0x142edf(0x23c)],_0x582a2c[_0x142edf(0x1ec)](_0x954801=>{const _0x11a853=_0x142edf;_0x954801[_0x11a853(0x266)]-=_0x582a2c[_0x11a853(0x23c)],_0x954801[_0x11a853(0x1aa)]=_0x12e76e[_0x11a853(0x1a5)],_0x954801[_0x11a853(0x26d)]=!0x0,_0x954801[_0x11a853(0x1d0)]=null;}),this[_0x142edf(0x1e6)](_0x582a2c,!0x0),this[_0x142edf(0x1a2)][_0x142edf(0x1c0)]=-_0x582a2c[_0x142edf(0x23c)]+this[_0x142edf(0x22f)],this[_0x142edf(0x188)](_0x582a2c);}this[_0x142edf(0x25b)][_0x142edf(0x1e9)][_0x142edf(0x1c0)]=_0x414230,_0x42f074=this[_0x142edf(0x1fe)](_0x12e76e[_0x142edf(0x248)],_0x12e76e[_0x142edf(0x21d)]),await this[_0x142edf(0x203)](_0x42f074),this[_0x142edf(0x1e6)](_0x42f074,_0x572d2b);}_0x12e76e[_0x142edf(0x236)]&&(this[_0x142edf(0x218)][_0x142edf(0x18b)](_0x42f074,_0x12e76e[_0x142edf(0x236)]),this[_0x142edf(0x279)]=_0x12e76e[_0x142edf(0x236)]),this[_0x142edf(0x1a2)][_0x142edf(0x1c0)]=_0x414230+this[_0x142edf(0x22f)],this[_0x142edf(0x188)](_0x42f074),_0x2a80d2[_0x142edf(0x1cb)](_0x550ffa=>{const _0x4688eb=_0x142edf,_0x51219c=this[_0x4688eb(0x1f9)](_0x550ffa);return _0x51219c&&!this[_0x4688eb(0x274)][_0x4688eb(0x25e)](_0x51219c);})[_0x142edf(0x1ec)]((_0x465f89,_0x37e9f7)=>{const _0x1557cb=_0x142edf;_0x465f89[_0x1557cb(0x266)]=this[_0x1557cb(0x25b)][_0x1557cb(0x1c0)]+_0x37e9f7,this[_0x1557cb(0x21f)](_0x465f89);}),this[_0x142edf(0x1b3)]()?(this[_0x142edf(0x21c)]=0x0,this[_0x142edf(0x1d5)](!0x0),await this[_0x142edf(0x1c1)]()):(this[_0x142edf(0x24e)]=!0x1,this[_0x142edf(0x22c)]());}[_0x46dd9b(0x1f3)](_0x23260d,_0x1ea82c){const _0x46f8aa=_0x46dd9b,_0x4690ea=_0x1ea82c&&_0x1ea82c[_0x46f8aa(0x194)];if(_0x4690ea&&_0x4690ea[_0x46f8aa(0x254)](_0x46f8aa(0x1af)))throw _0x1ea82c;const _0x39c22f=this[_0x46f8aa(0x252)][_0x46f8aa(0x210)][_0x46f8aa(0x21a)](_0x5611fa);throw this[_0x46f8aa(0x24e)]=!0x0,_0x39c22f[_0x46f8aa(0x201)](),this[_0x46f8aa(0x252)][_0x46f8aa(0x191)](_0x46f8aa(0x1d4)),new _0x1cb9b6(_0x23260d,this[_0x46f8aa(0x252)],_0x4690ea?{'originalError':_0x4690ea}:void 0x0);}[_0x46dd9b(0x21f)](_0x38e674){const _0x74faf4=_0x46dd9b;this[_0x74faf4(0x1d8)][_0x74faf4(0x25e)](_0x38e674)||(this[_0x74faf4(0x1d8)][_0x74faf4(0x260)](_0x38e674),this[_0x74faf4(0x197)][_0x74faf4(0x22a)](_0x38e674),this[_0x74faf4(0x1b1)]||_0x74faf4(0x1a3)==_0x38e674[_0x74faf4(0x20c)]&&!_0x38e674[_0x74faf4(0x205)]||this[_0x74faf4(0x1e5)]());}[_0x46dd9b(0x1d5)](_0x8635cc=!0x1){const _0x56ae72=_0x46dd9b;!_0x8635cc&&this[_0x56ae72(0x24e)]||(this[_0x56ae72(0x24e)]=!0x0,clearTimeout(this[_0x56ae72(0x276)]),this[_0x56ae72(0x276)]=setTimeout(()=>{const _0x1d9449=_0x56ae72;this[_0x1d9449(0x1a4)]()[_0x1d9449(0x1ac)](_0xdc70f7=>{const _0x371c78=_0x1d9449;_0xdc70f7&&(this[_0x371c78(0x22c)](),this[_0x371c78(0x24e)]=!0x1);})[_0x1d9449(0x225)](_0x1fdfa2=>{const _0x4b2906=_0x1d9449;this[_0x4b2906(0x22c)](),this[_0x4b2906(0x24e)]=!0x1,function(_0x1f38c7){const _0x57bb0f=_0x4b2906;return _0x1f38c7[_0x57bb0f(0x194)][_0x57bb0f(0x254)](_0x57bb0f(0x1bc))||_0x1f38c7[_0x57bb0f(0x194)][_0x57bb0f(0x254)](_0x57bb0f(0x1db))||_0x1f38c7[_0x57bb0f(0x194)][_0x57bb0f(0x254)](_0x57bb0f(0x19f));}(_0x1fdfa2)||this[_0x4b2906(0x1f3)](_0x1fdfa2[_0x4b2906(0x194)],_0x1fdfa2);});},this[_0x56ae72(0x21c)]));}[_0x46dd9b(0x1c1)](){return new Promise(_0x56ca58=>{const _0x109cc7=_0xcb2c;this['on'](_0x109cc7(0x21e),()=>{_0x56ca58();});});}async[_0x46dd9b(0x1a4)](){const _0x468e4c=_0x46dd9b,_0x50eeb5=this[_0x468e4c(0x252)][_0x468e4c(0x210)][_0x468e4c(0x21a)](_0x2fa529);if(this[_0x468e4c(0x1a0)]()&&(_0x50eeb5[_0x468e4c(0x1f5)](),this[_0x468e4c(0x1e3)]=!0x1),!this[_0x468e4c(0x1b3)]())return!0x0;const _0x5807dd=[...this[_0x468e4c(0x197)]];for(const _0x1f7850 of _0x5807dd)_0x1f7850[_0x468e4c(0x26f)]=this[_0x468e4c(0x25b)][_0x468e4c(0x1e9)][_0x468e4c(0x1e2)](_0x1f7850);const _0x528fb8=this[_0x468e4c(0x218)][_0x468e4c(0x23d)](_0x5807dd),_0x495763=q++,_0x3da434=this[_0x468e4c(0x1dd)](_0x5807dd),_0x22b40c=await this[_0x468e4c(0x1c5)][_0x468e4c(0x1fb)](_0x3da434,_0x3da434[_0x468e4c(0x266)],_0x528fb8);try{return await this[_0x468e4c(0x220)](_0x5807dd,_0x22b40c,_0x495763);}catch(_0x554be2){return this[_0x468e4c(0x1f3)](_0x468e4c(0x1cc),_0x554be2);}}async[_0x46dd9b(0x220)](_0xea7c78,_0x32a8b0,_0x37ec45){const _0x5a780d=_0x46dd9b;if(_0x5a780d(0x195)in _0x32a8b0)throw _0x32a8b0[_0x5a780d(0x195)];let _0x3262b3=!0x1;if(_0x32a8b0[_0x5a780d(0x1ce)]){_0x32a8b0[_0x5a780d(0x236)]&&(this[_0x5a780d(0x279)]=_0x32a8b0[_0x5a780d(0x236)]),this[_0x5a780d(0x197)]=this[_0x5a780d(0x197)][_0x5a780d(0x1cb)](_0x4f0f85=>!_0xea7c78[_0x5a780d(0x264)](_0x4f0f85));for(const _0x4e4227 of _0xea7c78)_0x4e4227[_0x5a780d(0x1aa)]=_0x5a780d(0x239)in _0x32a8b0&&_0x32a8b0[_0x5a780d(0x239)]||void 0x0;$(_0xea7c78,_0x32a8b0[_0x5a780d(0x1c0)]-_0xea7c78[_0x5a780d(0x23c)]),this[_0x5a780d(0x188)](_0xea7c78);const _0x1ea717=_0xea7c78[_0x5a780d(0x1cb)](_0x271362=>{const _0x72632b=_0x5a780d;if(!_0x271362[_0x72632b(0x26d)])return!0x1;const _0x57cc8b=this[_0x72632b(0x1f9)](_0x271362);return _0x57cc8b&&!this[_0x72632b(0x274)][_0x72632b(0x25e)](_0x57cc8b);});$(_0x1ea717,this[_0x5a780d(0x25b)][_0x5a780d(0x1c0)]),this[_0x5a780d(0x1e6)](_0x1ea717),_0x3262b3=!0x0,this[_0x5a780d(0x21c)]=this[_0x5a780d(0x23a)];}else{const _0x50e529=this[_0x5a780d(0x1fe)](_0x32a8b0[_0x5a780d(0x248)],_0x32a8b0[_0x5a780d(0x21d)])[_0x5a780d(0x1cb)](_0x26b654=>_0x26b654[_0x5a780d(0x266)]>=this[_0x5a780d(0x229)]);_0x50e529[_0x5a780d(0x1ec)](_0x40f8c7=>this[_0x5a780d(0x1e7)](_0x40f8c7)),this[_0x5a780d(0x197)]=this[_0x5a780d(0x197)][_0x5a780d(0x1cb)](_0x1bbd6e=>!_0x1bbd6e[_0x5a780d(0x26d)]||!this[_0x5a780d(0x274)][_0x5a780d(0x25e)](this[_0x5a780d(0x1f9)](_0x1bbd6e))),this[_0x5a780d(0x197)][_0x5a780d(0x23c)]&&$(this[_0x5a780d(0x197)],this[_0x5a780d(0x197)][0x0][_0x5a780d(0x266)]),await this[_0x5a780d(0x203)](_0x50e529),_0x3262b3=this[_0x5a780d(0x255)](_0x50e529,_0x32a8b0[_0x5a780d(0x1c0)],_0x32a8b0[_0x5a780d(0x236)]),this[_0x5a780d(0x21c)]=Math[_0x5a780d(0x1b6)](this[_0x5a780d(0x21c)]/0x2);}return _0x3262b3?!this[_0x5a780d(0x1b3)]()||(this[_0x5a780d(0x1d5)](!0x0),!0x1):this[_0x5a780d(0x1f3)](_0x5a780d(0x271));}[_0x46dd9b(0x255)](_0x347424,_0x2966ce,_0x5aea1a){const _0x3d11ce=_0x46dd9b;try{const _0x27692e={'document':this[_0x3d11ce(0x25b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x467711,operationsB:_0x5119f7,originalOperations:_0x1784e8}=_0x3ad073(_0x347424,this[_0x3d11ce(0x197)],_0x27692e);$(_0x467711,this[_0x3d11ce(0x25b)][_0x3d11ce(0x1c0)]),$(_0x5119f7,_0x2966ce);for(const _0x4da9ff of _0x467711){const _0x878714=_0x1784e8[_0x3d11ce(0x21a)](_0x4da9ff);_0x4da9ff[_0x3d11ce(0x1d0)]=_0x878714?_0x878714[_0x3d11ce(0x1d0)]:null;}_0x5aea1a&&(this[_0x3d11ce(0x218)][_0x3d11ce(0x18b)](_0x347424,_0x5aea1a),this[_0x3d11ce(0x279)]=_0x5aea1a),this[_0x3d11ce(0x197)]=[..._0x5119f7],this[_0x3d11ce(0x1e6)](_0x467711),this[_0x3d11ce(0x188)](_0x347424);}catch(_0x3c5438){return console[_0x3d11ce(0x195)](_0x3c5438),!0x1;}return!0x0;}[_0x46dd9b(0x1e6)](_0x2fa89d,_0x3d2435=!0x1){const _0x502e8d=_0x46dd9b;this[_0x502e8d(0x252)][_0x502e8d(0x233)][_0x502e8d(0x20d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5d611e=>{const _0x1abd78=_0x502e8d;for(const _0x269aa8 of _0x2fa89d)this[_0x1abd78(0x1d8)][_0x1abd78(0x260)](_0x269aa8),this[_0x1abd78(0x1e7)](_0x269aa8),_0x5d611e[_0x1abd78(0x245)][_0x1abd78(0x278)](_0x269aa8),this[_0x1abd78(0x252)][_0x1abd78(0x233)][_0x1abd78(0x1a6)](_0x269aa8);});}[_0x46dd9b(0x1e7)](_0x183ece){const _0x2719a6=_0x46dd9b,_0x5697fa=this[_0x2719a6(0x1f9)](_0x183ece);_0x5697fa&&this[_0x2719a6(0x274)][_0x2719a6(0x260)](_0x5697fa);}[_0x46dd9b(0x1f9)](_0x237f56){const _0x95cbe9=_0x46dd9b;let _0xb48ebd,_0x3877e0;switch(_0x237f56[_0x95cbe9(0x20c)]){case _0x95cbe9(0x1a7):_0xb48ebd=_0x237f56[_0x95cbe9(0x226)][_0x95cbe9(0x1ef)];break;case _0x95cbe9(0x1a3):if(_0x3877e0=_0x237f56[_0x95cbe9(0x202)],!_0x3877e0)return null;_0xb48ebd=_0x3877e0[_0x95cbe9(0x1ef)];break;case _0x95cbe9(0x1a8):_0xb48ebd=_0x237f56[_0x95cbe9(0x1ef)];break;case _0x95cbe9(0x18f):_0xb48ebd=_0x237f56[_0x95cbe9(0x1ee)];break;case _0x95cbe9(0x187):_0xb48ebd=_0x237f56[_0x95cbe9(0x1c6)][_0x95cbe9(0x1ef)];break;default:return null;}return _0xb48ebd[_0x95cbe9(0x265)];}[_0x46dd9b(0x188)](_0x33b66d){const _0x48f492=_0x46dd9b;_0x33b66d[_0x48f492(0x1ec)](_0x475d8c=>{const _0x3b23a0=_0x48f492,_0x3ad97e=_0x475d8c[_0x3b23a0(0x198)]();_0x3ad97e[_0x3b23a0(0x1d0)]=_0x475d8c[_0x3b23a0(0x1d0)],_0x3ad97e[_0x3b23a0(0x26d)]=!!_0x475d8c[_0x3b23a0(0x26d)],_0x3ad97e[_0x3b23a0(0x1aa)]=_0x475d8c[_0x3b23a0(0x1aa)],_0x3ad97e[_0x3b23a0(0x266)]+=this[_0x3b23a0(0x22f)],_0x475d8c[_0x3b23a0(0x196)]&&this[_0x3b23a0(0x24f)][_0x3b23a0(0x260)](_0x3ad97e),this[_0x3b23a0(0x1a2)][_0x3b23a0(0x278)](_0x3ad97e);});}[_0x46dd9b(0x1d9)](_0x2450d8){const _0x30c6fc=_0x46dd9b,_0x1d0bcd=this[_0x30c6fc(0x252)][_0x30c6fc(0x210)][_0x30c6fc(0x21a)](_0x30c6fc(0x1e1)),_0x1a2155=this[_0x30c6fc(0x252)][_0x30c6fc(0x282)];_0x2450d8||(_0x2450d8=_0x174e02(_0x1a2155,_0x30c6fc(0x268))),_0x1d0bcd[_0x30c6fc(0x270)](_0x2450d8,{'title':_0x174e02(_0x1a2155,_0x30c6fc(0x1f2)),'namespace':_0x30c6fc(0x1a1)}),this[_0x30c6fc(0x180)]=!0x0,clearTimeout(this[_0x30c6fc(0x276)]),this[_0x30c6fc(0x197)]=[],this[_0x30c6fc(0x252)][_0x30c6fc(0x210)][_0x30c6fc(0x21a)](_0x5611fa)[_0x30c6fc(0x201)]();}[_0x46dd9b(0x1e5)](){const _0x377529=_0x46dd9b;this[_0x377529(0x1b1)]||(this[_0x377529(0x1b1)]=this[_0x377529(0x252)][_0x377529(0x210)][_0x377529(0x21a)](_0x1e4fe9)[_0x377529(0x260)](_0x174e02(this[_0x377529(0x252)][_0x377529(0x282)],_0x377529(0x22e))));}[_0x46dd9b(0x22c)](){const _0x4473b8=_0x46dd9b;this[_0x4473b8(0x1b1)]&&(this[_0x4473b8(0x252)][_0x4473b8(0x210)][_0x4473b8(0x21a)](_0x1e4fe9)[_0x4473b8(0x1da)](this[_0x4473b8(0x1b1)]),this[_0x4473b8(0x1b1)]=null);}[_0x46dd9b(0x1dd)](_0x313fbe){const _0x51c64a=_0x46dd9b,_0x2e15f2=_0x313fbe[_0x51c64a(0x216)](_0x2ca669=>_0x2ca669[_0x51c64a(0x247)]());return this[_0x51c64a(0x26b)][_0x51c64a(0x1ed)](_0x2e15f2);}[_0x46dd9b(0x1fe)](_0x3d6ea2,_0x3ecc2d){const _0x375da6=_0x46dd9b;return this[_0x375da6(0x26b)][_0x375da6(0x206)](_0x3d6ea2)[_0x375da6(0x216)]((_0x59096d,_0x112958)=>{const _0x377e17=_0x375da6,_0x35a473=_0x377e17(0x19c)==_0x3ecc2d[_0x112958][_0x377e17(0x20c)];if(_0x377e17(0x25d)==_0x59096d[_0x377e17(0x1b2)]){const _0x5b7daf=_0x59096d[_0x377e17(0x226)][_0x377e17(0x1ef)];!this[_0x377e17(0x25b)][_0x377e17(0x1bd)](_0x5b7daf)&&(this[_0x377e17(0x25b)][_0x377e17(0x20f)](_0x377e17(0x1f8),_0x5b7daf)[_0x377e17(0x1be)]=!0x1);}const _0x3861b8=_0x2ccc3b[_0x377e17(0x20b)](_0x59096d,this[_0x377e17(0x25b)]);return _0x3861b8[_0x377e17(0x26f)]=_0x59096d[_0x377e17(0x26f)],_0x3861b8[_0x377e17(0x26d)]=_0x35a473,_0x3861b8[_0x377e17(0x1d0)]=_0x35a473?null:_0x3ecc2d[_0x112958][_0x377e17(0x207)],_0x3861b8[_0x377e17(0x196)]=_0x377e17(0x275)===_0x3ecc2d[_0x112958][_0x377e17(0x20c)],_0x3861b8[_0x377e17(0x1aa)]=_0x3ecc2d[_0x112958][_0x377e17(0x1aa)],_0x3861b8;});}[_0x46dd9b(0x232)](){const _0x3b6770=_0x46dd9b;this[_0x3b6770(0x1e3)]=!0x0,this[_0x3b6770(0x1a0)]()?this[_0x3b6770(0x1d5)]():this[_0x3b6770(0x1e3)]=!0x1;}[_0x46dd9b(0x1a0)](){const _0x29044c=_0x46dd9b,_0x394fa4=this[_0x29044c(0x252)][_0x29044c(0x210)][_0x29044c(0x21a)](_0x2f5810)[_0x29044c(0x192)][_0x29044c(0x21a)](this[_0x29044c(0x1de)]);return!this[_0x29044c(0x252)][_0x29044c(0x223)]&&!!_0x394fa4&&_0x394fa4[_0x29044c(0x23c)]>0x1&&this[_0x29044c(0x1e3)];}[_0x46dd9b(0x1b3)](){const _0x44862d=_0x46dd9b;return this[_0x44862d(0x197)][_0x44862d(0x23c)]>0x0||this[_0x44862d(0x1a0)]();}}class G extends Error{}function $(_0x1a6f63,_0x1a4e13){const _0x304c90=_0x46dd9b;for(const _0x9f2a5a of _0x1a6f63)_0x9f2a5a[_0x304c90(0x266)]=_0x1a4e13++;}function _0xcb2c(_0x1928b3,_0x5ba81e){const _0x394eb2=_0x394e();return _0xcb2c=function(_0xcb2cb7,_0x22cb67){_0xcb2cb7=_0xcb2cb7-0x17a;let _0x456cce=_0x394eb2[_0xcb2cb7];return _0x456cce;},_0xcb2c(_0x1928b3,_0x5ba81e);}function _0x394e(){const _0x252028=['position','isDocumentOperation','connect','_lastServerVersion','push','createRange','_clearPendingAction','end','PENDING_ACTION_SENDING_DATA','_offset','unregister','_getOperationsFromInitData','_refreshUserSelectionMarkers','model','409','_setUpDataInit','lastOperationId','realtimecollaborationclient-init-session-connection-error','start','lastOperationAcceptedAt','_baseBufferDelay','bind','length','getIdOfTheLastOperation','register','_connectService','attributes','13SDYyYp','initData','realtimecollaborationclient-init-non-existent-root','rtc-offline','batch','createPositionAt','toJSON','data','operationsReceived','404','parse','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_initSessionsHandling','_isPendingUpdate','_disconnectionOperations','realtimecollaborationclient-init-service-incorrect-server-operation','sessionId','editor','roots','startsWith','_handleExternalOperations','_isLoaded','requires','disconnected','_operationToId','_isEditingAllowed','_document','CollaborativeEditingService','InsertOperation','has','10NJAegV','add','91glHrxW','addToReconnectionStack','change:hasDomSelection','includes','rootName','baseVersion','cloudDocumentVersion','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.','_isConnected','1211137FMuSCu','_compressor','change:_isEditingAllowed','_isInit','code','wasUndone','showWarning','realtimecollaborationclient-handleserverresponse','53528bKRHPK','cloudServices.bundleVersion','_knownRootNames','cs:removeUser','_sendBufferedOperationsDelayId','path','addOperation','_lastSyncedOperationId','rootsAttributes','keys','getDocumentDetails','createPositionFromPath','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','pluginName','CommentsOnly','17496HjvdMu','locale','loadRoot','lastSyncVersion','collaboration-missing-channelid','connected','suppressErrorInCollaboration','offset','_hasSynchronizationProblem','getOperationAuthor','collaboration.channelId','state','document','lastDocumentSession','set','move','_updateServerHistory','6775080WTpxoZ','string','setIdForTheLastOperation','realtimecollaborationclient-init-connection-failed','_handleReceivedOperations','_bufferRootLoad','addRoot','reset','enableReadOnlyMode','channelSessions','_disconnectService','message','error','_isDisconnection','_bufferedOperations','clone','selection','getOperations','apply','init','_connectAfterSessionHasBeenFlushed','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','_shouldSendSelectionUpdate','real-time-collaboration','serverHistory','marker','_sendBufferedOperations','sessionCreatedAt','applyOperation','insert','addRootAttribute','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.','createdAt','_ignoredOperations','then','3279067cUEgpL','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient','_initThrowingOnDataSet','_pendingAction','__className','_shouldSendUpdate','isEnabled','change:range','round','return','_handleInitialConnectionData','getUser','setPermissions','isOfficialPlugin','cloud-services-internal-error:\x20Not\x20connected.','getRoot','_isAttached','permissions','version','_waitUntilSynced','_loadRoot','fire','stop','_service','targetPosition','editing','entries','isPremiumPlugin','size','filter','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-init-document-already-initialized','wereChangesApplied','_handleReconnectionResponse','_authorId','sessionAdd:','251232wRUTbs','reconnection:\x20flushed\x20session','realtimecollaborationclient-error','_sendBufferedOperationsDelayed','295RkRbAm','2VVjUgP','_knownOperations','_handleReconnectionError','remove','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','finally','_compressOperations','_channelId','removeFromReconnectionStack','RealTimeCollaborationClient','Notification','isUndoneOperation','_hasSelectionChanged','currentDocumentSession','_setPendingAction','_applyOperationsSet','_addKnownRoot','getMany','history','ready','addUser','forEach','compress','affectedSelectable','root','view','slice','Synchronization\x20issue','_crash','disableReadOnlyMode','createUserMarkerOperations','document:write','from','$root','_getAffectedRoot','392985khAdxz','sendOperations','_handleSendingSelectionMarkers','listenTo','_decompressOperations','markers','connection','disconnect','newRange','_fetchMissingUsers','Permissions','affectsData','decompress','userId','collaboration','getConnectedSessions','realtimecollaborationclient-init-service-internal-error','fromJSON','type','enqueueChange','1629qUTHRM','createRoot','plugins','rtc-destroyed','off','reconnect','define','stopListening','map','destroy','_operationIdentifier','high','get','directChange','_currentBufferDelay','metadata','change:_isPendingUpdate','_saveOperationInBuffer','_handleServerResponse','config','multi-root-editor-root-attributes-no-root','isReadOnly','differ','catch'];_0x394e=function(){return _0x252028;};return _0x394e();}class K{[_0x46dd9b(0x1ab)];[_0x46dd9b(0x259)];constructor(_0xee3e5b){const _0x442836=_0x46dd9b;this[_0x442836(0x1ab)]=_0xee3e5b,this[_0x442836(0x259)]=new WeakMap();}[_0x46dd9b(0x23d)](_0x6dcf48){const _0x2720f6=_0x46dd9b;let _0x448c8e=_0x6dcf48[_0x2720f6(0x23c)];for(;_0x448c8e--;){const _0x1f5fff=_0x6dcf48[_0x448c8e];if(!this[_0x2720f6(0x1ab)][_0x2720f6(0x25e)](_0x1f5fff)){if(!this[_0x2720f6(0x259)][_0x2720f6(0x25e)](_0x1f5fff)){const _0x25ba2a=_0x55dc7c()[_0x2720f6(0x1f1)](0x1,0x12);this[_0x2720f6(0x259)][_0x2720f6(0x186)](_0x1f5fff,_0x25ba2a);}return this[_0x2720f6(0x259)][_0x2720f6(0x21a)](_0x1f5fff);}}}[_0x46dd9b(0x18b)](_0x4a9023,_0x8cd3a2){const _0x26fef4=_0x46dd9b;if(!_0x8cd3a2)return;let _0x3e1342=_0x4a9023[_0x26fef4(0x23c)];for(;_0x3e1342--;){const _0x5d305e=_0x4a9023[_0x3e1342];this[_0x26fef4(0x1ab)][_0x26fef4(0x25e)](_0x5d305e)||this[_0x26fef4(0x259)][_0x26fef4(0x186)](_0x5d305e,_0x8cd3a2);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fd77e=_0x3246;(function(_0x418454,_0x592f8d){const _0x2fd496=_0x3246,_0x31aabc=_0x418454();while(!![]){try{const _0x43cf7f=-parseInt(_0x2fd496(0x169))/0x1*(-parseInt(_0x2fd496(0x184))/0x2)+-parseInt(_0x2fd496(0x17c))/0x3+-parseInt(_0x2fd496(0x185))/0x4+-parseInt(_0x2fd496(0x16b))/0x5+-parseInt(_0x2fd496(0x164))/0x6+parseInt(_0x2fd496(0x167))/0x7+-parseInt(_0x2fd496(0x177))/0x8*(-parseInt(_0x2fd496(0x187))/0x9);if(_0x43cf7f===_0x592f8d)break;else _0x31aabc['push'](_0x31aabc['shift']());}catch(_0x2ef77c){_0x31aabc['push'](_0x31aabc['shift']());}}}(_0xf53f,0x5c062));function _0xf53f(){const _0x572cf6=['requires','3475675wPqHkc','forEach','sessions-register-already-registered','orderNumber','sessionId','state','getUser','context','change:state','unregister','_users','role','8ieiRNM','channelConnectedUsers','mySessionId','_handleSessionRemove','getUserRole','1370412cEbFiX','isOfficialPlugin','connected','connection','values','size','_registeredSessions','isMe','78544DyVSwW','125116WLdgky','stopListening','4680567YJvASJ','getUserSessions','assign','delete','Sessions','register','init','allConnectedUsers','isPremiumPlugin','get','has','listenTo','channelSessions','sessions-unregister-not-exist','sessionAdd:','hiddenInPresenceList','_uniqueUsersCount','_handleSessionAdd','addUser','user','getUserBySessionId','remove','pluginName','fire','add','set','_createUser','205194QrYBrr','plugins','clear','3946236MFptQp','defineMe','13oUNunZ'];_0xf53f=function(){return _0x572cf6;};return _0xf53f();}import{ContextPlugin as _0x1ca577}from'ckeditor5/src/core.js';function _0x3246(_0x3d5c24,_0x4c3435){const _0xf53fe0=_0xf53f();return _0x3246=function(_0x32461e,_0x16a29){_0x32461e=_0x32461e-0x157;let _0x17a8d4=_0xf53fe0[_0x32461e];return _0x17a8d4;},_0x3246(_0x3d5c24,_0x4c3435);}import{Collection as _0x9c025f,CKEditorError as _0x43d89a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x224c8d}from'./websocketgateway.js';import{Users as _0x4ca89a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1ca577{[_0x2fd77e(0x193)];[_0x2fd77e(0x178)];[_0x2fd77e(0x18e)];[_0x2fd77e(0x182)];[_0x2fd77e(0x159)];[_0x2fd77e(0x175)];static get[_0x2fd77e(0x15f)](){const _0x5b22f5=_0x2fd77e;return _0x5b22f5(0x18b);}static get[_0x2fd77e(0x17d)](){return!0x0;}static get[_0x2fd77e(0x18f)](){return!0x0;}static get[_0x2fd77e(0x16a)](){return[_0x224c8d,_0x4ca89a];}constructor(_0x32eb52){const _0x1cf5b5=_0x2fd77e;super(_0x32eb52),this[_0x1cf5b5(0x193)]=new Map(),this[_0x1cf5b5(0x178)]=new Map(),this[_0x1cf5b5(0x18e)]=new _0x9c025f(),this[_0x1cf5b5(0x182)]=new Map(),this[_0x1cf5b5(0x159)]=0x0,this[_0x1cf5b5(0x175)]=this[_0x1cf5b5(0x172)][_0x1cf5b5(0x165)][_0x1cf5b5(0x190)](_0x4ca89a);}[_0x2fd77e(0x18d)](){const _0xfa9251=_0x2fd77e,_0x2291c6=this[_0xfa9251(0x172)][_0xfa9251(0x165)][_0xfa9251(0x190)](_0x224c8d);this[_0xfa9251(0x192)](_0x2291c6,_0xfa9251(0x173),(_0x5a623a,_0x4147f8,_0x3b69dc)=>{const _0x5cdac4=_0xfa9251;if(_0x5cdac4(0x17e)!==_0x3b69dc)this[_0x5cdac4(0x193)][_0x5cdac4(0x16c)](_0x105daa=>_0x105daa[_0x5cdac4(0x166)]()),this[_0x5cdac4(0x178)][_0x5cdac4(0x16c)](_0x46ae21=>_0x46ae21[_0x5cdac4(0x166)]()),this[_0x5cdac4(0x18e)][_0x5cdac4(0x166)]();else{for(const [_0x34523d,_0x9d2c26]of this[_0x5cdac4(0x182)])for(const _0x2a5a11 of _0x9d2c26)this[_0x5cdac4(0x15a)](_0x34523d,_0x2a5a11);}}),this[_0xfa9251(0x163)](_0x2291c6[_0xfa9251(0x17f)]['me'],!0x0);}[_0x2fd77e(0x18c)](_0x3881b2,_0x3e232c){const _0x5f54bb=_0x2fd77e;if(this[_0x5f54bb(0x182)][_0x5f54bb(0x191)](_0x3881b2))throw new _0x43d89a(_0x5f54bb(0x16d),null,{'channelId':_0x3881b2});this[_0x5f54bb(0x182)][_0x5f54bb(0x162)](_0x3881b2,_0x3e232c),this[_0x5f54bb(0x193)][_0x5f54bb(0x162)](_0x3881b2,new _0x9c025f()),this[_0x5f54bb(0x178)][_0x5f54bb(0x162)](_0x3881b2,new _0x9c025f()),this[_0x5f54bb(0x192)](_0x3e232c,_0x5f54bb(0x161),(_0x216dfa,_0x4b5ee1)=>this[_0x5f54bb(0x15a)](_0x3881b2,_0x4b5ee1)),this[_0x5f54bb(0x192)](_0x3e232c,_0x5f54bb(0x15e),(_0x53fc40,_0x1e5cc4)=>this[_0x5f54bb(0x17a)](_0x3881b2,_0x1e5cc4));for(const _0xee9edb of _0x3e232c)this[_0x5f54bb(0x15a)](_0x3881b2,_0xee9edb);}[_0x2fd77e(0x174)](_0x1acac7){const _0x7cd4ca=_0x2fd77e;if(!this[_0x7cd4ca(0x182)][_0x7cd4ca(0x191)](_0x1acac7))throw new _0x43d89a(_0x7cd4ca(0x194),null,{'channelId':_0x1acac7});const _0x330e1a=this[_0x7cd4ca(0x182)][_0x7cd4ca(0x190)](_0x1acac7);this[_0x7cd4ca(0x186)](_0x330e1a);for(const _0x2cbc06 of _0x330e1a)_0x7cd4ca(0x17e)===this[_0x7cd4ca(0x172)][_0x7cd4ca(0x165)][_0x7cd4ca(0x190)](_0x224c8d)[_0x7cd4ca(0x170)]&&this[_0x7cd4ca(0x17a)](_0x1acac7,_0x2cbc06);this[_0x7cd4ca(0x182)][_0x7cd4ca(0x18a)](_0x1acac7),this[_0x7cd4ca(0x193)][_0x7cd4ca(0x18a)](_0x1acac7),this[_0x7cd4ca(0x178)][_0x7cd4ca(0x18a)](_0x1acac7);}get[_0x2fd77e(0x179)](){const _0x1f42f2=_0x2fd77e;return this[_0x1f42f2(0x172)][_0x1f42f2(0x165)][_0x1f42f2(0x190)](_0x224c8d)[_0x1f42f2(0x17f)][_0x1f42f2(0x16f)];}[_0x2fd77e(0x15d)](_0x21f824){const _0x1bfc77=_0x2fd77e;for(const _0x520b34 of this[_0x1bfc77(0x193)][_0x1bfc77(0x180)]())for(const _0x331d41 of _0x520b34)if(_0x331d41['id']===_0x21f824)return _0x331d41[_0x1bfc77(0x15c)];}[_0x2fd77e(0x188)](_0x3a9222,_0x59253f){const _0x1c5b4b=_0x2fd77e,_0x44485d=_0x59253f?[this[_0x1c5b4b(0x193)][_0x1c5b4b(0x190)](_0x59253f)]:this[_0x1c5b4b(0x193)][_0x1c5b4b(0x180)](),_0x213899=new Set();for(const _0x302655 of _0x44485d)for(const _0x2e2491 of _0x302655)_0x2e2491[_0x1c5b4b(0x15c)]['id']===_0x3a9222['id']&&_0x213899[_0x1c5b4b(0x161)](_0x2e2491['id']);return _0x213899;}[_0x2fd77e(0x17b)](_0x71d3a0){const _0x3d3d82=_0x2fd77e;for(const _0x3f3d9a of this[_0x3d3d82(0x193)][_0x3d3d82(0x180)]())for(const _0x17fe6e of _0x3f3d9a)if(_0x17fe6e[_0x3d3d82(0x15c)]===_0x71d3a0)return _0x17fe6e[_0x3d3d82(0x176)];}[_0x2fd77e(0x15a)](_0x49abd4,_0x4353a6){const _0x53bac1=_0x2fd77e;if(_0x53bac1(0x17e)!==this[_0x53bac1(0x172)][_0x53bac1(0x165)][_0x53bac1(0x190)](_0x224c8d)[_0x53bac1(0x170)])return;const _0x4caf97=_0x4353a6[_0x53bac1(0x15c)],_0x2c09c4=this[_0x53bac1(0x175)][_0x53bac1(0x171)](_0x4caf97['id'])||this[_0x53bac1(0x163)](_0x4caf97),_0x3ba723=Object[_0x53bac1(0x189)]({},_0x4353a6,{'user':_0x2c09c4});if(this[_0x53bac1(0x193)][_0x53bac1(0x190)](_0x49abd4)[_0x53bac1(0x161)](_0x3ba723),!_0x4caf97[_0x53bac1(0x158)]){const _0x1f3735=this[_0x53bac1(0x178)][_0x53bac1(0x190)](_0x49abd4);_0x1f3735[_0x53bac1(0x191)](_0x2c09c4['id'])||_0x1f3735[_0x53bac1(0x161)](_0x2c09c4),this[_0x53bac1(0x18e)][_0x53bac1(0x191)](_0x2c09c4['id'])||_0x4caf97[_0x53bac1(0x158)]||this[_0x53bac1(0x18e)][_0x53bac1(0x161)](_0x2c09c4,_0x2c09c4[_0x53bac1(0x183)]?0x0:void 0x0);}this[_0x53bac1(0x160)](_0x53bac1(0x157)+_0x49abd4,{'channelId':_0x49abd4,'session':_0x3ba723});}[_0x2fd77e(0x17a)](_0x384a69,_0x2a29ab){const _0x86ee38=_0x2fd77e;if(_0x86ee38(0x17e)!==this[_0x86ee38(0x172)][_0x86ee38(0x165)][_0x86ee38(0x190)](_0x224c8d)[_0x86ee38(0x170)])return;const _0x54df2b=this[_0x86ee38(0x178)][_0x86ee38(0x190)](_0x384a69),_0x2d4d8a=_0x2a29ab[_0x86ee38(0x15c)];_0x2d4d8a['id']&&(this[_0x86ee38(0x193)][_0x86ee38(0x190)](_0x384a69)[_0x86ee38(0x15e)](_0x2a29ab['id']),_0x54df2b[_0x86ee38(0x191)](_0x2d4d8a['id'])&&!this[_0x86ee38(0x188)](_0x2d4d8a,_0x384a69)[_0x86ee38(0x181)]&&_0x54df2b[_0x86ee38(0x15e)](_0x2d4d8a['id']),this[_0x86ee38(0x18e)][_0x86ee38(0x190)](_0x2d4d8a['id'])&&!this[_0x86ee38(0x188)](_0x2d4d8a)[_0x86ee38(0x181)]&&this[_0x86ee38(0x18e)][_0x86ee38(0x15e)](_0x2d4d8a['id']));}[_0x2fd77e(0x163)](_0x22aef5,_0xc8fdc7){const _0x17d2c3=_0x2fd77e,_0x5caaa5=this[_0x17d2c3(0x175)][_0x17d2c3(0x15b)](_0x22aef5);return _0xc8fdc7&&this[_0x17d2c3(0x175)][_0x17d2c3(0x168)](_0x22aef5['id']),_0x5caaa5[_0x17d2c3(0x16e)]=this[_0x17d2c3(0x159)]++,_0x5caaa5;}}
23
+ const _0x5efa69=_0x5d67;function _0x4798(){const _0x523cf6=['get','change:state','orderNumber','init','channelConnectedUsers','state','fire','register','listenTo','allConnectedUsers','sessionAdd:','context','mySessionId','isOfficialPlugin','has','_uniqueUsersCount','connection','plugins','_registeredSessions','requires','sessionId','forEach','getUserRole','addUser','stopListening','isPremiumPlugin','getUserSessions','size','channelSessions','delete','values','sessions-register-already-registered','Sessions','161mhleMD','set','671896sGwbjp','unregister','6160lNsaNc','12753054qzlpfT','hiddenInPresenceList','399352jDvIfK','getUser','sessions-unregister-not-exist','defineMe','_users','943852HgXpUT','remove','pluginName','connected','_handleSessionRemove','2592AEHGnz','role','_handleSessionAdd','add','clear','1020372ELoPjv','user','323876QlqXzs','assign','isMe','_createUser','getUserBySessionId'];_0x4798=function(){return _0x523cf6;};return _0x4798();}(function(_0x3de777,_0x28c6f8){const _0x18ac44=_0x5d67,_0x166600=_0x3de777();while(!![]){try{const _0x15045c=parseInt(_0x18ac44(0x212))/0x1+parseInt(_0x18ac44(0x21e))/0x2+-parseInt(_0x18ac44(0x21c))/0x3+parseInt(_0x18ac44(0x208))/0x4+-parseInt(_0x18ac44(0x20a))/0x5*(parseInt(_0x18ac44(0x217))/0x6)+parseInt(_0x18ac44(0x206))/0x7*(-parseInt(_0x18ac44(0x20d))/0x8)+parseInt(_0x18ac44(0x20b))/0x9;if(_0x15045c===_0x28c6f8)break;else _0x166600['push'](_0x166600['shift']());}catch(_0x4997eb){_0x166600['push'](_0x166600['shift']());}}}(_0x4798,0xa3a4d));import{ContextPlugin as _0x58132e}from'ckeditor5/src/core.js';import{Collection as _0x7d5cfe,CKEditorError as _0xb4e975}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x35faf5}from'./websocketgateway.js';function _0x5d67(_0x708579,_0x12d3cb){const _0x47988d=_0x4798();return _0x5d67=function(_0x5d6767,_0x401c85){_0x5d6767=_0x5d6767-0x1eb;let _0x537450=_0x47988d[_0x5d6767];return _0x537450;},_0x5d67(_0x708579,_0x12d3cb);}import{Users as _0x10e93d}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x58132e{[_0x5efa69(0x201)];[_0x5efa69(0x227)];[_0x5efa69(0x1ee)];[_0x5efa69(0x1f7)];[_0x5efa69(0x1f4)];[_0x5efa69(0x211)];static get[_0x5efa69(0x214)](){const _0x59fd5e=_0x5efa69;return _0x59fd5e(0x205);}static get[_0x5efa69(0x1f2)](){return!0x0;}static get[_0x5efa69(0x1fe)](){return!0x0;}static get[_0x5efa69(0x1f8)](){return[_0x35faf5,_0x10e93d];}constructor(_0x2bc30d){const _0xd928f3=_0x5efa69;super(_0x2bc30d),this[_0xd928f3(0x201)]=new Map(),this[_0xd928f3(0x227)]=new Map(),this[_0xd928f3(0x1ee)]=new _0x7d5cfe(),this[_0xd928f3(0x1f7)]=new Map(),this[_0xd928f3(0x1f4)]=0x0,this[_0xd928f3(0x211)]=this[_0xd928f3(0x1f0)][_0xd928f3(0x1f6)][_0xd928f3(0x223)](_0x10e93d);}[_0x5efa69(0x226)](){const _0x1f015c=_0x5efa69,_0x975575=this[_0x1f015c(0x1f0)][_0x1f015c(0x1f6)][_0x1f015c(0x223)](_0x35faf5);this[_0x1f015c(0x1ed)](_0x975575,_0x1f015c(0x224),(_0x1155b9,_0x501470,_0x343713)=>{const _0x143d90=_0x1f015c;if(_0x143d90(0x215)!==_0x343713)this[_0x143d90(0x201)][_0x143d90(0x1fa)](_0x5ca28e=>_0x5ca28e[_0x143d90(0x21b)]()),this[_0x143d90(0x227)][_0x143d90(0x1fa)](_0x3846fe=>_0x3846fe[_0x143d90(0x21b)]()),this[_0x143d90(0x1ee)][_0x143d90(0x21b)]();else{for(const [_0x340cb8,_0x5c0f2c]of this[_0x143d90(0x1f7)])for(const _0x3c7b0a of _0x5c0f2c)this[_0x143d90(0x219)](_0x340cb8,_0x3c7b0a);}}),this[_0x1f015c(0x221)](_0x975575[_0x1f015c(0x1f5)]['me'],!0x0);}[_0x5efa69(0x1ec)](_0x33af04,_0x362c0d){const _0x2298d5=_0x5efa69;if(this[_0x2298d5(0x1f7)][_0x2298d5(0x1f3)](_0x33af04))throw new _0xb4e975(_0x2298d5(0x204),null,{'channelId':_0x33af04});this[_0x2298d5(0x1f7)][_0x2298d5(0x207)](_0x33af04,_0x362c0d),this[_0x2298d5(0x201)][_0x2298d5(0x207)](_0x33af04,new _0x7d5cfe()),this[_0x2298d5(0x227)][_0x2298d5(0x207)](_0x33af04,new _0x7d5cfe()),this[_0x2298d5(0x1ed)](_0x362c0d,_0x2298d5(0x21a),(_0x4c6f24,_0x51e32b)=>this[_0x2298d5(0x219)](_0x33af04,_0x51e32b)),this[_0x2298d5(0x1ed)](_0x362c0d,_0x2298d5(0x213),(_0x5374e7,_0x16b76a)=>this[_0x2298d5(0x216)](_0x33af04,_0x16b76a));for(const _0x4ebf28 of _0x362c0d)this[_0x2298d5(0x219)](_0x33af04,_0x4ebf28);}[_0x5efa69(0x209)](_0x3b0cc4){const _0x5a22fe=_0x5efa69;if(!this[_0x5a22fe(0x1f7)][_0x5a22fe(0x1f3)](_0x3b0cc4))throw new _0xb4e975(_0x5a22fe(0x20f),null,{'channelId':_0x3b0cc4});const _0x16a50a=this[_0x5a22fe(0x1f7)][_0x5a22fe(0x223)](_0x3b0cc4);this[_0x5a22fe(0x1fd)](_0x16a50a);for(const _0x5e7f4f of _0x16a50a)_0x5a22fe(0x215)===this[_0x5a22fe(0x1f0)][_0x5a22fe(0x1f6)][_0x5a22fe(0x223)](_0x35faf5)[_0x5a22fe(0x228)]&&this[_0x5a22fe(0x216)](_0x3b0cc4,_0x5e7f4f);this[_0x5a22fe(0x1f7)][_0x5a22fe(0x202)](_0x3b0cc4),this[_0x5a22fe(0x201)][_0x5a22fe(0x202)](_0x3b0cc4),this[_0x5a22fe(0x227)][_0x5a22fe(0x202)](_0x3b0cc4);}get[_0x5efa69(0x1f1)](){const _0x5b5557=_0x5efa69;return this[_0x5b5557(0x1f0)][_0x5b5557(0x1f6)][_0x5b5557(0x223)](_0x35faf5)[_0x5b5557(0x1f5)][_0x5b5557(0x1f9)];}[_0x5efa69(0x222)](_0x5a4175){const _0x1084eb=_0x5efa69;for(const _0x369794 of this[_0x1084eb(0x201)][_0x1084eb(0x203)]())for(const _0x582080 of _0x369794)if(_0x582080['id']===_0x5a4175)return _0x582080[_0x1084eb(0x21d)];}[_0x5efa69(0x1ff)](_0x34d2ad,_0x53588d){const _0x1846a6=_0x5efa69,_0x398f2c=_0x53588d?[this[_0x1846a6(0x201)][_0x1846a6(0x223)](_0x53588d)]:this[_0x1846a6(0x201)][_0x1846a6(0x203)](),_0x37eda8=new Set();for(const _0x39578d of _0x398f2c)for(const _0x50a6b9 of _0x39578d)_0x50a6b9[_0x1846a6(0x21d)]['id']===_0x34d2ad['id']&&_0x37eda8[_0x1846a6(0x21a)](_0x50a6b9['id']);return _0x37eda8;}[_0x5efa69(0x1fb)](_0xf478c3){const _0x4c9b93=_0x5efa69;for(const _0x1cb5ed of this[_0x4c9b93(0x201)][_0x4c9b93(0x203)]())for(const _0x50979b of _0x1cb5ed)if(_0x50979b[_0x4c9b93(0x21d)]===_0xf478c3)return _0x50979b[_0x4c9b93(0x218)];}[_0x5efa69(0x219)](_0xa6b6ee,_0x3de9ad){const _0xd96176=_0x5efa69;if(_0xd96176(0x215)!==this[_0xd96176(0x1f0)][_0xd96176(0x1f6)][_0xd96176(0x223)](_0x35faf5)[_0xd96176(0x228)])return;const _0x48bcbb=_0x3de9ad[_0xd96176(0x21d)],_0x4cb00b=this[_0xd96176(0x211)][_0xd96176(0x20e)](_0x48bcbb['id'])||this[_0xd96176(0x221)](_0x48bcbb),_0x2be130=Object[_0xd96176(0x21f)]({},_0x3de9ad,{'user':_0x4cb00b});if(this[_0xd96176(0x201)][_0xd96176(0x223)](_0xa6b6ee)[_0xd96176(0x21a)](_0x2be130),!_0x48bcbb[_0xd96176(0x20c)]){const _0x40482e=this[_0xd96176(0x227)][_0xd96176(0x223)](_0xa6b6ee);_0x40482e[_0xd96176(0x1f3)](_0x4cb00b['id'])||_0x40482e[_0xd96176(0x21a)](_0x4cb00b),this[_0xd96176(0x1ee)][_0xd96176(0x1f3)](_0x4cb00b['id'])||_0x48bcbb[_0xd96176(0x20c)]||this[_0xd96176(0x1ee)][_0xd96176(0x21a)](_0x4cb00b,_0x4cb00b[_0xd96176(0x220)]?0x0:void 0x0);}this[_0xd96176(0x1eb)](_0xd96176(0x1ef)+_0xa6b6ee,{'channelId':_0xa6b6ee,'session':_0x2be130});}[_0x5efa69(0x216)](_0x5e2117,_0x30f90d){const _0x12e52c=_0x5efa69;if(_0x12e52c(0x215)!==this[_0x12e52c(0x1f0)][_0x12e52c(0x1f6)][_0x12e52c(0x223)](_0x35faf5)[_0x12e52c(0x228)])return;const _0x49a65d=this[_0x12e52c(0x227)][_0x12e52c(0x223)](_0x5e2117),_0x2d2128=_0x30f90d[_0x12e52c(0x21d)];_0x2d2128['id']&&(this[_0x12e52c(0x201)][_0x12e52c(0x223)](_0x5e2117)[_0x12e52c(0x213)](_0x30f90d['id']),_0x49a65d[_0x12e52c(0x1f3)](_0x2d2128['id'])&&!this[_0x12e52c(0x1ff)](_0x2d2128,_0x5e2117)[_0x12e52c(0x200)]&&_0x49a65d[_0x12e52c(0x213)](_0x2d2128['id']),this[_0x12e52c(0x1ee)][_0x12e52c(0x223)](_0x2d2128['id'])&&!this[_0x12e52c(0x1ff)](_0x2d2128)[_0x12e52c(0x200)]&&this[_0x12e52c(0x1ee)][_0x12e52c(0x213)](_0x2d2128['id']));}[_0x5efa69(0x221)](_0x255305,_0xeac42e){const _0x12c030=_0x5efa69,_0x530a9d=this[_0x12c030(0x211)][_0x12c030(0x1fc)](_0x255305);return _0xeac42e&&this[_0x12c030(0x211)][_0x12c030(0x210)](_0x255305['id']),_0x530a9d[_0x12c030(0x225)]=this[_0x12c030(0x1f4)]++,_0x530a9d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x206897=_0x5995;(function(_0x877c5c,_0x52d0c9){const _0x4064c5=_0x5995,_0x37b2c1=_0x877c5c();while(!![]){try{const _0x15f172=parseInt(_0x4064c5(0x19e))/0x1+-parseInt(_0x4064c5(0x163))/0x2+parseInt(_0x4064c5(0x1be))/0x3+-parseInt(_0x4064c5(0x1c5))/0x4*(parseInt(_0x4064c5(0x18b))/0x5)+-parseInt(_0x4064c5(0x1a5))/0x6*(-parseInt(_0x4064c5(0x1b6))/0x7)+parseInt(_0x4064c5(0x1c1))/0x8*(parseInt(_0x4064c5(0x1b7))/0x9)+-parseInt(_0x4064c5(0x170))/0xa;if(_0x15f172===_0x52d0c9)break;else _0x37b2c1['push'](_0x37b2c1['shift']());}catch(_0x4f3da0){_0x37b2c1['push'](_0x37b2c1['shift']());}}}(_0x1025,0x90a2b));import{Plugin as _0x450e94}from'ckeditor5/src/core.js';function _0x1025(){const _0x451191=['6dQATiQ','nodeAfter','getPositions','hasDomSelection','data-session-id','createElement','enqueueChange','contenteditable','addEventListener','rootName','tableCell','getStart','innerHTML','remove','deletionPosition','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','set','8045569xzbPRb','63FAzDXS','getCustomProperty','for','reconvertMarker','end','undo','detach','646599AeZkkb','selection','getAttribute','944536DowSQr','user:range:','user:position:','requires','408uwPZnj','toRange','delete','isDocumentOperation','mouseleave','mySessionId','getFirstRange','ck-user__selection','pluginName','highest','Escape','size','startsWith','document','markerToElement','isInline','getUserBySessionId','markerToHighlight','getNearestSelectionRange','_createdBatches','split','type','mapper','afterInit','view','$graveyard','spellcheck','span','plugins','marker','ck-user__marker-tooltip','removeMarker','add','fromRange','clear','markerNameToElements','user:','setAttribute','applyOperation','newRange','setCustomProperty','1134084nAVBQJ','getRange','name','markerRange','createUIElement','editing','change','get','isSimilar','isOfficialPlugin','schema','markerName','_domEmitter','10102980yYeyQB','update:user:range','getMarkerClass','ck-user__marker_hovered','isPremiumPlugin','createUserMarkerOperations','commands','isObject','orderNumber','stopListening','markers','render','hasContent','checkChild','addMarker','isCollapsed','user:range','getContainedElement','change:range','batch','textContent','outerHTML','UserMarkers','ck-user__marker\x20','root','updateMarker','editor','46585hrhnUV','model','user:position','toDomElement','getSelectionClass','parent','$text','classList','editingDowncast','start','oldRange','has','userPositionMarker','destroy','mouseenter','listenTo','false','keydown','init','928732ATBjHg','isLimit','element','removeClass','conversion','color','createRange'];_0x1025=function(){return _0x451191;};return _0x1025();}import{global as _0x40feb9,DomEmitterMixin as _0x57e05d}from'ckeditor5/src/utils.js';import{Sessions as _0x1d3c67}from'./sessions.js';import{ModelLiveRange as _0xb012ff}from'ckeditor5/src/engine.js';function _0x5995(_0x5b0480,_0x175e9b){const _0x102528=_0x1025();return _0x5995=function(_0x59958a,_0x1876b0){_0x59958a=_0x59958a-0x158;let _0x4394f6=_0x102528[_0x59958a];return _0x4394f6;},_0x5995(_0x5b0480,_0x175e9b);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x450e94{[_0x206897(0x16f)]=new(_0x57e05d())();static get[_0x206897(0x1c4)](){return[_0x1d3c67];}static get[_0x206897(0x1cd)](){const _0xe83449=_0x206897;return _0xe83449(0x186);}static get[_0x206897(0x16c)](){return!0x0;}static get[_0x206897(0x174)](){return!0x0;}[_0x206897(0x19d)](){const _0x2c2921=_0x206897,_0x12d321=this[_0x2c2921(0x18a)],_0x3c50c1=_0x12d321[_0x2c2921(0x1e1)][_0x2c2921(0x16a)](_0x1d3c67);_0x12d321[_0x2c2921(0x1a2)][_0x2c2921(0x1b9)](_0x2c2921(0x193))[_0x2c2921(0x1d3)]({'model':_0x2c2921(0x18d),'view':(_0x43fec1,{writer:_0x5142ac})=>function(_0x4b4aa8,_0x3d4905,_0x1ebba9,_0x5ef765){const _0x118af3=_0x2c2921,_0x5b9575=_0x4b4aa8[_0x118af3(0x16e)][_0x118af3(0x1d9)](':')[0x2],_0x46f55c=_0x1ebba9[_0x118af3(0x1d5)](_0x5b9575);if(!_0x46f55c||_0x5b9575===_0x1ebba9[_0x118af3(0x1ca)])return;if(!_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x16d)][_0x118af3(0x17d)](_0x4b4aa8[_0x118af3(0x166)][_0x118af3(0x194)],_0x118af3(0x191)))return;const _0x1fc1d5={'class':_0x118af3(0x187)+_0x46f55c[_0x118af3(0x1a3)][_0x118af3(0x172)](),'data-name':_0x46f55c[_0x118af3(0x165)],'data-session-id':_0x5b9575},_0x5915c8=_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x17a)][_0x118af3(0x16a)](_0x4b4aa8[_0x118af3(0x16e)]),_0xaa6fd6=_0x5915c8[_0x118af3(0x1b0)](),_0x345573=_0xaa6fd6[_0x118af3(0x1a6)],_0x22998f=_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x16d)];if(_0x345573&&_0x22998f[_0x118af3(0x177)](_0x345573)&&_0x22998f[_0x118af3(0x1d4)](_0x345573)&&!_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x17a)][_0x118af3(0x16a)](_0x118af3(0x1c2)+_0x5b9575)[_0x118af3(0x164)]()[_0x118af3(0x17f)])return;const _0x20e4cd=_0xaa6fd6[_0x118af3(0x190)];return _0x5ef765[_0x118af3(0x18c)][_0x118af3(0x16d)][_0x118af3(0x19f)](_0x20e4cd)&&!_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x17c)](_0x20e4cd)&&(_0x1fc1d5[_0x118af3(0x1ac)]=!0x1),function(_0x23089d,_0xf47f18,_0x5b18dc){const _0x5e200e=_0x118af3,_0x3a7141=_0x23089d[_0x5e200e(0x167)](_0x5e200e(0x1e0),_0xf47f18);return _0x23089d[_0x5e200e(0x162)](_0x5e200e(0x197),!0x0,_0x3a7141),_0x3a7141[_0x5e200e(0x17b)]=function(_0x3230e9){const _0x475536=_0x5e200e,_0x391743=this[_0x475536(0x18e)](_0x3230e9),_0x1e8ef9=document[_0x475536(0x1aa)](_0x475536(0x1e0));return _0x1e8ef9[_0x475536(0x192)][_0x475536(0x15a)](_0x475536(0x158)),_0x1e8ef9[_0x475536(0x15f)](_0x475536(0x1ac),_0x475536(0x19b)),_0x1e8ef9[_0x475536(0x15f)](_0x475536(0x1df),_0x475536(0x19b)),_0x1e8ef9[_0x475536(0x184)]=_0x5b18dc[_0x475536(0x165)],_0x391743[_0x475536(0x1b1)]=_0x475536(0x1b4)+_0x1e8ef9[_0x475536(0x185)]+'⁠',_0x391743[_0x475536(0x1ad)](_0x475536(0x199),()=>{const _0x1b24a0=_0x475536;_0x391743[_0x1b24a0(0x192)][_0x1b24a0(0x15a)](_0x1b24a0(0x173));}),_0x391743[_0x475536(0x1ad)](_0x475536(0x1c9),()=>{const _0x41738a=_0x475536;_0x391743[_0x41738a(0x192)][_0x41738a(0x1b2)](_0x41738a(0x173));}),_0x391743;},_0x3a7141[_0x5e200e(0x16b)]=function(_0x48dce6){const _0x20398a=_0x5e200e;return!(!this[_0x20398a(0x1b8)](_0x20398a(0x197))||!_0x48dce6[_0x20398a(0x1b8)](_0x20398a(0x197))||this[_0x20398a(0x1c0)](_0x20398a(0x1a9))!=_0x48dce6[_0x20398a(0x1c0)](_0x20398a(0x1a9)));},_0x3a7141;}(_0x3d4905,_0x1fc1d5,_0x46f55c);}(_0x43fec1,_0x5142ac,_0x3c50c1,_0x12d321)}),_0x12d321[_0x2c2921(0x1a2)][_0x2c2921(0x1b9)](_0x2c2921(0x193))[_0x2c2921(0x1d6)]({'model':_0x2c2921(0x180),'view':_0x33e6ec=>function(_0x29805f,_0xb0e2ce){const _0x940647=_0x2c2921,_0x43bb2e=_0x29805f[_0x940647(0x16e)][_0x940647(0x1d9)](':')[0x2];if(_0x43bb2e===_0xb0e2ce[_0x940647(0x1ca)])return null;const _0x267abb=_0xb0e2ce[_0x940647(0x1d5)](_0x43bb2e);if(!_0x267abb)return{'id':_0x43bb2e,'classes':[]};return{'id':_0x43bb2e,'classes':[_0x940647(0x1cc),_0x267abb[_0x940647(0x1a3)][_0x940647(0x18f)]()],'attributes':{'data-session-id':_0x43bb2e},'priority':0x7d0+_0x267abb[_0x940647(0x178)]};}(_0x33e6ec,_0x3c50c1)}),function(_0x5a6cfc){const _0x39da52=_0x2c2921,_0x1030df=_0x5a6cfc[_0x39da52(0x18c)],_0x4078e9=new Map(),_0x181c0e=_0x5a6cfc[_0x39da52(0x1e1)][_0x39da52(0x16a)](_0x1d3c67);_0x1030df[_0x39da52(0x17a)]['on'](_0x39da52(0x171),(_0x361883,_0x59b64f,_0x3f045f,_0x22ff9c)=>{const _0x1495ca=_0x39da52;if(!_0x22ff9c&&_0x4078e9[_0x1495ca(0x16a)](_0x59b64f[_0x1495ca(0x165)]))return _0x4078e9[_0x1495ca(0x16a)](_0x59b64f[_0x1495ca(0x165)])[_0x1495ca(0x1bd)](),void _0x4078e9[_0x1495ca(0x1c7)](_0x59b64f[_0x1495ca(0x165)]);const _0x2f8d4c=_0x59b64f[_0x1495ca(0x165)][_0x1495ca(0x1d9)](':')[0x2];if(_0x2f8d4c===_0x181c0e[_0x1495ca(0x1ca)])return;const _0x520438=_0x1495ca(0x1c3)+_0x2f8d4c;_0x1030df[_0x1495ca(0x17a)][_0x1495ca(0x196)](_0x520438)&&_0x5a6cfc[_0x1495ca(0x168)][_0x1495ca(0x1ba)](_0x520438),_0x59b64f['on'](_0x1495ca(0x182),(_0xf988a5,_0x403de1,_0x156982)=>{const _0x599a95=_0x1495ca;if(_0x599a95(0x1de)!=_0x403de1[_0x599a95(0x188)][_0x599a95(0x1ae)]&&_0x599a95(0x1de)==_0x59b64f[_0x599a95(0x164)]()[_0x599a95(0x188)][_0x599a95(0x1ae)]&&!_0x4078e9[_0x599a95(0x196)](_0x59b64f[_0x599a95(0x165)])){const _0x4c1e8b=_0x1030df[_0x599a95(0x16d)][_0x599a95(0x1d7)](_0x156982[_0x599a95(0x1b3)]);if(_0x4c1e8b){const _0xc53b57=_0xb012ff[_0x599a95(0x15b)](_0x4c1e8b);_0x4078e9[_0x599a95(0x1b5)](_0x59b64f[_0x599a95(0x165)],_0xc53b57),_0xc53b57['on'](_0x599a95(0x182),(_0x20fd5c,_0x58b536,_0xba9f86)=>{const _0x314309=_0x599a95;if(_0x314309(0x1de)==_0xc53b57[_0x314309(0x188)][_0x314309(0x1ae)]){const _0x3b38d5=_0x1030df[_0x314309(0x16d)][_0x314309(0x1d7)](_0xba9f86[_0x314309(0x1b3)]);_0x3b38d5?(_0xc53b57[_0x314309(0x194)]=_0x3b38d5[_0x314309(0x194)],_0xc53b57[_0x314309(0x1bb)]=_0x3b38d5[_0x314309(0x1bb)]):(_0x4078e9[_0x314309(0x1c7)](_0x59b64f[_0x314309(0x165)]),_0xc53b57[_0x314309(0x1bd)]());}});}}});}),_0x1030df[_0x39da52(0x1d2)]['on'](_0x39da52(0x169),()=>{const _0x3e6daa=_0x39da52;_0x4078e9[_0x3e6daa(0x1d0)]>0x0&&_0x1030df[_0x3e6daa(0x1ab)]({'isUndoable':!0x1},_0x528bec=>{const _0x52ceab=_0x3e6daa;for(const [_0x2a8366,_0xa19b2a]of _0x4078e9)_0x52ceab(0x1de)==_0x1030df[_0x52ceab(0x17a)][_0x52ceab(0x16a)](_0x2a8366)[_0x52ceab(0x164)]()[_0x52ceab(0x188)][_0x52ceab(0x1ae)]&&(te(_0x2a8366[_0x52ceab(0x1d9)](':')[0x2],_0xa19b2a[_0x52ceab(0x1c6)](),_0x1030df,_0x528bec),_0xa19b2a[_0x52ceab(0x1bd)]());_0x4078e9[_0x52ceab(0x15c)]();});});}(_0x12d321),this[_0x2c2921(0x16f)][_0x2c2921(0x19a)](_0x40feb9[_0x2c2921(0x1d2)],_0x2c2921(0x19c),(_0xa2924d,{key:_0x3ddaae})=>{const _0x2b4ca8=_0x2c2921;_0x2b4ca8(0x1cf)===_0x3ddaae&&function(_0x4e9f4f){const _0x1a5fbd=_0x2b4ca8;_0x4e9f4f[_0x1a5fbd(0x168)][_0x1a5fbd(0x1dd)][_0x1a5fbd(0x169)](_0x281d79=>{const _0x571392=_0x1a5fbd;for(const _0x4cf982 of _0x4e9f4f[_0x571392(0x18c)][_0x571392(0x17a)]){if(!_0x4cf982[_0x571392(0x165)][_0x571392(0x1d1)](_0x571392(0x18d)))continue;const _0x879e8c=_0x4e9f4f[_0x571392(0x168)][_0x571392(0x1db)][_0x571392(0x15d)](_0x4cf982[_0x571392(0x165)]);if(_0x879e8c){for(const _0x4f96c3 of _0x879e8c)_0x281d79[_0x571392(0x1a1)](_0x571392(0x173),_0x4f96c3);}}});}(_0x12d321);},{'useCapture':!0x0});}[_0x206897(0x1dc)](){const _0x297f50=_0x206897,_0x2e250d=this[_0x297f50(0x18a)],_0x2dd017=_0x2e250d[_0x297f50(0x176)][_0x297f50(0x16a)](_0x297f50(0x1bc));_0x2dd017&&_0x2e250d[_0x297f50(0x18c)]['on'](_0x297f50(0x160),(_0x15eb90,_0x5ad9e1)=>{const _0x32da22=_0x297f50,_0xe09d1a=_0x5ad9e1[0x0];if(!_0xe09d1a[_0x32da22(0x1c8)])return;if(_0x32da22(0x1e2)!=_0xe09d1a[_0x32da22(0x1da)]||!_0xe09d1a[_0x32da22(0x165)][_0x32da22(0x1d1)](_0x32da22(0x15e)))return;const _0x3cb6f6=_0xe09d1a[_0x32da22(0x183)];_0x2dd017[_0x32da22(0x1d8)][_0x32da22(0x196)](_0x3cb6f6)&&(_0xe09d1a[_0x32da22(0x161)]=_0xe09d1a[_0x32da22(0x195)]?_0x2e250d[_0x32da22(0x18c)][_0x32da22(0x1a4)](_0xe09d1a[_0x32da22(0x195)][_0x32da22(0x194)],_0xe09d1a[_0x32da22(0x195)][_0x32da22(0x1bb)]):null);},{'priority':_0x297f50(0x1ce)});}[_0x206897(0x198)](){const _0xaadc50=_0x206897;return this[_0xaadc50(0x16f)][_0xaadc50(0x179)](),super[_0xaadc50(0x198)]();}[_0x206897(0x175)](){const _0x36b985=_0x206897,_0x1f9c6a=this[_0x36b985(0x18a)],_0x198ef1=_0x1f9c6a[_0x36b985(0x18c)][_0x36b985(0x1d2)],_0x4db3d2=_0x1f9c6a[_0x36b985(0x1e1)][_0x36b985(0x16a)](_0x1d3c67);_0x1f9c6a[_0x36b985(0x18c)][_0x36b985(0x1ab)]({'isUndoable':!0x1},_0x4bdb8e=>{const _0x5ba17a=_0x36b985,_0x57eab1=_0x5ba17a(0x1c2)+_0x4db3d2[_0x5ba17a(0x1ca)],_0x22ee5f=_0x5ba17a(0x1c3)+_0x4db3d2[_0x5ba17a(0x1ca)],_0x39ba49=_0x1f9c6a[_0x5ba17a(0x18c)][_0x5ba17a(0x17a)][_0x5ba17a(0x196)](_0x57eab1);_0x1f9c6a[_0x5ba17a(0x168)][_0x5ba17a(0x1dd)][_0x5ba17a(0x1a8)]?te(_0x4db3d2[_0x5ba17a(0x1ca)],_0x198ef1[_0x5ba17a(0x1bf)][_0x5ba17a(0x1cb)](),_0x1f9c6a[_0x5ba17a(0x18c)],_0x4bdb8e):_0x39ba49&&(_0x4bdb8e[_0x5ba17a(0x159)](_0x57eab1),_0x4bdb8e[_0x5ba17a(0x159)](_0x22ee5f));});}}function te(_0xa7d634,_0x3a9036,_0x2cf520,_0x392fd1){const _0x1c8ce6=_0x206897,_0x3d91b8=_0x1c8ce6(0x1c2)+_0xa7d634,_0x1e01e4=_0x1c8ce6(0x1c3)+_0xa7d634,_0x3f2684=_0x3a9036[_0x1c8ce6(0x181)]();let _0x3d0f9b=_0x3a9036[_0x1c8ce6(0x194)];if(_0x3f2684&&_0x3f2684['is'](_0x1c8ce6(0x1a0),_0x1c8ce6(0x1af))){const _0x12b865=function(_0x777c33,_0x35d747){const _0xb6eb79=_0x1c8ce6;for(const _0x53e47e of _0x777c33[_0xb6eb79(0x1a7)]())if(_0x35d747[_0xb6eb79(0x16d)][_0xb6eb79(0x17d)](_0x53e47e,_0xb6eb79(0x191)))return _0x53e47e;}(_0x3a9036,_0x2cf520);_0x12b865&&(_0x3d0f9b=_0x12b865,_0x3a9036=_0x392fd1[_0x1c8ce6(0x1a4)](_0x3d0f9b));}const _0x3b5e90=_0x392fd1[_0x1c8ce6(0x1a4)](_0x3d0f9b);_0x2cf520[_0x1c8ce6(0x17a)][_0x1c8ce6(0x196)](_0x3d91b8)?(_0x392fd1[_0x1c8ce6(0x189)](_0x3d91b8,{'range':_0x3a9036}),_0x392fd1[_0x1c8ce6(0x189)](_0x1e01e4,{'range':_0x3b5e90})):(_0x392fd1[_0x1c8ce6(0x17e)](_0x3d91b8,{'range':_0x3a9036,'usingOperation':!0x0}),_0x392fd1[_0x1c8ce6(0x17e)](_0x1e01e4,{'range':_0x3b5e90,'usingOperation':!0x0}));}
23
+ const _0x256499=_0x30d9;function _0x30d9(_0x3cc928,_0x85776){const _0x254a3f=_0x254a();return _0x30d9=function(_0x30d9ca,_0x2dd798){_0x30d9ca=_0x30d9ca-0x79;let _0x104631=_0x254a3f[_0x30d9ca];return _0x104631;},_0x30d9(_0x3cc928,_0x85776);}function _0x254a(){const _0x89d83f=['ck-user__marker\x20','setCustomProperty','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','createUIElement','mapper','$text','mouseleave','hasContent','isOfficialPlugin','batch','for','mySessionId','removeMarker','getNearestSelectionRange','remove','add','editing','destroy','root','plugins','document','start','delete','afterInit','oldRange','contenteditable','editor','deletionPosition','user:range','type','data-session-id','rootName','change:range','get','keydown','getUserBySessionId','highest','getFirstRange','element','isInline','toDomElement','checkChild','getPositions','name','orderNumber','split','tableCell','mouseenter','marker','markers','innerHTML','Escape','schema','enqueueChange','conversion','textContent','user:position','createRange','4qwGUzS','outerHTML','markerToHighlight','getAttribute','addMarker','classList','false','1867863GvuUez','_domEmitter','editingDowncast','render','parent','isDocumentOperation','reconvertMarker','update:user:range','ck-user__marker-tooltip','isPremiumPlugin','createUserMarkerOperations','nodeAfter','applyOperation','hasDomSelection','span','set','undo','startsWith','change','markerToElement','listenTo','clear','markerName','markerRange','user:','$graveyard','markerNameToElements','init','4aqFEJX','35000988QywYMM','isSimilar','fromRange','size','stopListening','getRange','_createdBatches','1914695YUPJZT','isCollapsed','spellcheck','pluginName','removeClass','8TadAMI','1463862bemZJz','toRange','newRange','user:position:','model','getSelectionClass','ck-user__marker_hovered','selection','detach','ck-user__selection','isLimit','getStart','createElement','updateMarker','addEventListener','2790jMskjJ','isObject','getContainedElement','end','1442035jpYpfo','commands','2159994XTgWpz','getCustomProperty','UserMarkers','color','setAttribute','15790PIXoVf','user:range:','has','getMarkerClass','userPositionMarker','view','requires'];_0x254a=function(){return _0x89d83f;};return _0x254a();}(function(_0x405a0d,_0x17bff3){const _0x43c607=_0x30d9,_0xaf00f1=_0x405a0d();while(!![]){try{const _0x55f13d=-parseInt(_0x43c607(0xe0))/0x1+parseInt(_0x43c607(0xaf))/0x2*(-parseInt(_0x43c607(0xb6))/0x3)+-parseInt(_0x43c607(0xd2))/0x4*(parseInt(_0x43c607(0xda))/0x5)+parseInt(_0x43c607(0xf5))/0x6+parseInt(_0x43c607(0xf3))/0x7*(-parseInt(_0x43c607(0xdf))/0x8)+-parseInt(_0x43c607(0xef))/0x9*(-parseInt(_0x43c607(0xfa))/0xa)+parseInt(_0x43c607(0xd3))/0xb;if(_0x55f13d===_0x17bff3)break;else _0xaf00f1['push'](_0xaf00f1['shift']());}catch(_0x32ea8b){_0xaf00f1['push'](_0xaf00f1['shift']());}}}(_0x254a,0xb30a5));import{Plugin as _0x2e5568}from'ckeditor5/src/core.js';import{global as _0x4e6ac2,DomEmitterMixin as _0x17d8ad}from'ckeditor5/src/utils.js';import{Sessions as _0x3f5ced}from'./sessions.js';import{ModelLiveRange as _0x5503a5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2e5568{[_0x256499(0xb7)]=new(_0x17d8ad())();static get[_0x256499(0x100)](){return[_0x3f5ced];}static get[_0x256499(0xdd)](){const _0x7ca350=_0x256499;return _0x7ca350(0xf7);}static get[_0x256499(0x7d)](){return!0x0;}static get[_0x256499(0xbf)](){return!0x0;}[_0x256499(0xd1)](){const _0x31a73e=_0x256499,_0x500d2a=this[_0x31a73e(0x8f)],_0x564110=_0x500d2a[_0x31a73e(0x88)][_0x31a73e(0x96)](_0x3f5ced);_0x500d2a[_0x31a73e(0xab)][_0x31a73e(0x7f)](_0x31a73e(0xb8))[_0x31a73e(0xc9)]({'model':_0x31a73e(0xad),'view':(_0x372bd6,{writer:_0xd78963})=>function(_0x3e7259,_0x76ed6,_0x5977b2,_0x477ddd){const _0x18c640=_0x31a73e,_0x1cfb57=_0x3e7259[_0x18c640(0xcc)][_0x18c640(0xa2)](':')[0x2],_0x5b2702=_0x5977b2[_0x18c640(0x98)](_0x1cfb57);if(!_0x5b2702||_0x1cfb57===_0x5977b2[_0x18c640(0x80)])return;if(!_0x477ddd[_0x18c640(0xe4)][_0x18c640(0xa9)][_0x18c640(0x9e)](_0x3e7259[_0x18c640(0xcd)][_0x18c640(0x8a)],_0x18c640(0x7a)))return;const _0x1bb4c4={'class':_0x18c640(0x101)+_0x5b2702[_0x18c640(0xf8)][_0x18c640(0xfd)](),'data-name':_0x5b2702[_0x18c640(0xa0)],'data-session-id':_0x1cfb57},_0x466a42=_0x477ddd[_0x18c640(0xe4)][_0x18c640(0xa6)][_0x18c640(0x96)](_0x3e7259[_0x18c640(0xcc)]),_0x377aa5=_0x466a42[_0x18c640(0xeb)](),_0x5cba53=_0x377aa5[_0x18c640(0xc1)],_0x143fd6=_0x477ddd[_0x18c640(0xe4)][_0x18c640(0xa9)];if(_0x5cba53&&_0x143fd6[_0x18c640(0xf0)](_0x5cba53)&&_0x143fd6[_0x18c640(0x9c)](_0x5cba53)&&!_0x477ddd[_0x18c640(0xe4)][_0x18c640(0xa6)][_0x18c640(0x96)](_0x18c640(0xfb)+_0x1cfb57)[_0x18c640(0xd8)]()[_0x18c640(0xdb)])return;const _0x31ba35=_0x377aa5[_0x18c640(0xba)];return _0x477ddd[_0x18c640(0xe4)][_0x18c640(0xa9)][_0x18c640(0xea)](_0x31ba35)&&!_0x477ddd[_0x18c640(0xe4)][_0x18c640(0x7c)](_0x31ba35)&&(_0x1bb4c4[_0x18c640(0x8e)]=!0x1),function(_0x277484,_0x1739ff,_0x2934ff){const _0x18d286=_0x18c640,_0x51e359=_0x277484[_0x18d286(0x104)](_0x18d286(0xc4),_0x1739ff);return _0x277484[_0x18d286(0x102)](_0x18d286(0xfe),!0x0,_0x51e359),_0x51e359[_0x18d286(0xb9)]=function(_0x584523){const _0x735359=_0x18d286,_0x40aa4d=this[_0x735359(0x9d)](_0x584523),_0x1faa1a=document[_0x735359(0xec)](_0x735359(0xc4));return _0x1faa1a[_0x735359(0xb4)][_0x735359(0x84)](_0x735359(0xbe)),_0x1faa1a[_0x735359(0xf9)](_0x735359(0x8e),_0x735359(0xb5)),_0x1faa1a[_0x735359(0xf9)](_0x735359(0xdc),_0x735359(0xb5)),_0x1faa1a[_0x735359(0xac)]=_0x2934ff[_0x735359(0xa0)],_0x40aa4d[_0x735359(0xa7)]=_0x735359(0x103)+_0x1faa1a[_0x735359(0xb0)]+'⁠',_0x40aa4d[_0x735359(0xee)](_0x735359(0xa4),()=>{const _0xa4d190=_0x735359;_0x40aa4d[_0xa4d190(0xb4)][_0xa4d190(0x84)](_0xa4d190(0xe6));}),_0x40aa4d[_0x735359(0xee)](_0x735359(0x7b),()=>{const _0x1f9f51=_0x735359;_0x40aa4d[_0x1f9f51(0xb4)][_0x1f9f51(0x83)](_0x1f9f51(0xe6));}),_0x40aa4d;},_0x51e359[_0x18d286(0xd4)]=function(_0x12739d){const _0x2e3905=_0x18d286;return!(!this[_0x2e3905(0xf6)](_0x2e3905(0xfe))||!_0x12739d[_0x2e3905(0xf6)](_0x2e3905(0xfe))||this[_0x2e3905(0xb2)](_0x2e3905(0x93))!=_0x12739d[_0x2e3905(0xb2)](_0x2e3905(0x93)));},_0x51e359;}(_0x76ed6,_0x1bb4c4,_0x5b2702);}(_0x372bd6,_0xd78963,_0x564110,_0x500d2a)}),_0x500d2a[_0x31a73e(0xab)][_0x31a73e(0x7f)](_0x31a73e(0xb8))[_0x31a73e(0xb1)]({'model':_0x31a73e(0x91),'view':_0x5680ae=>function(_0x5281f0,_0x2e7849){const _0x5e1e92=_0x31a73e,_0x2d1cef=_0x5281f0[_0x5e1e92(0xcc)][_0x5e1e92(0xa2)](':')[0x2];if(_0x2d1cef===_0x2e7849[_0x5e1e92(0x80)])return null;const _0x1d0aaf=_0x2e7849[_0x5e1e92(0x98)](_0x2d1cef);if(!_0x1d0aaf)return{'id':_0x2d1cef,'classes':[]};return{'id':_0x2d1cef,'classes':[_0x5e1e92(0xe9),_0x1d0aaf[_0x5e1e92(0xf8)][_0x5e1e92(0xe5)]()],'attributes':{'data-session-id':_0x2d1cef},'priority':0x7d0+_0x1d0aaf[_0x5e1e92(0xa1)]};}(_0x5680ae,_0x564110)}),function(_0x369f40){const _0x362e2b=_0x31a73e,_0x3465b5=_0x369f40[_0x362e2b(0xe4)],_0x474882=new Map(),_0x5dd8b3=_0x369f40[_0x362e2b(0x88)][_0x362e2b(0x96)](_0x3f5ced);_0x3465b5[_0x362e2b(0xa6)]['on'](_0x362e2b(0xbd),(_0x3157af,_0x3ee832,_0x5cc228,_0xa218f8)=>{const _0x131e02=_0x362e2b;if(!_0xa218f8&&_0x474882[_0x131e02(0x96)](_0x3ee832[_0x131e02(0xa0)]))return _0x474882[_0x131e02(0x96)](_0x3ee832[_0x131e02(0xa0)])[_0x131e02(0xe8)](),void _0x474882[_0x131e02(0x8b)](_0x3ee832[_0x131e02(0xa0)]);const _0x320180=_0x3ee832[_0x131e02(0xa0)][_0x131e02(0xa2)](':')[0x2];if(_0x320180===_0x5dd8b3[_0x131e02(0x80)])return;const _0x44a2c4=_0x131e02(0xe3)+_0x320180;_0x3465b5[_0x131e02(0xa6)][_0x131e02(0xfc)](_0x44a2c4)&&_0x369f40[_0x131e02(0x85)][_0x131e02(0xbc)](_0x44a2c4),_0x3ee832['on'](_0x131e02(0x95),(_0x1e27be,_0x1504e9,_0x59ec10)=>{const _0x1b9e78=_0x131e02;if(_0x1b9e78(0xcf)!=_0x1504e9[_0x1b9e78(0x87)][_0x1b9e78(0x94)]&&_0x1b9e78(0xcf)==_0x3ee832[_0x1b9e78(0xd8)]()[_0x1b9e78(0x87)][_0x1b9e78(0x94)]&&!_0x474882[_0x1b9e78(0xfc)](_0x3ee832[_0x1b9e78(0xa0)])){const _0x9842c0=_0x3465b5[_0x1b9e78(0xa9)][_0x1b9e78(0x82)](_0x59ec10[_0x1b9e78(0x90)]);if(_0x9842c0){const _0x2d9d0b=_0x5503a5[_0x1b9e78(0xd5)](_0x9842c0);_0x474882[_0x1b9e78(0xc5)](_0x3ee832[_0x1b9e78(0xa0)],_0x2d9d0b),_0x2d9d0b['on'](_0x1b9e78(0x95),(_0xec5388,_0x491b82,_0x52b775)=>{const _0xcb606d=_0x1b9e78;if(_0xcb606d(0xcf)==_0x2d9d0b[_0xcb606d(0x87)][_0xcb606d(0x94)]){const _0x45a63b=_0x3465b5[_0xcb606d(0xa9)][_0xcb606d(0x82)](_0x52b775[_0xcb606d(0x90)]);_0x45a63b?(_0x2d9d0b[_0xcb606d(0x8a)]=_0x45a63b[_0xcb606d(0x8a)],_0x2d9d0b[_0xcb606d(0xf2)]=_0x45a63b[_0xcb606d(0xf2)]):(_0x474882[_0xcb606d(0x8b)](_0x3ee832[_0xcb606d(0xa0)]),_0x2d9d0b[_0xcb606d(0xe8)]());}});}}});}),_0x3465b5[_0x362e2b(0x89)]['on'](_0x362e2b(0xc8),()=>{const _0x38b3af=_0x362e2b;_0x474882[_0x38b3af(0xd6)]>0x0&&_0x3465b5[_0x38b3af(0xaa)]({'isUndoable':!0x1},_0x3b4689=>{const _0xbe3d2b=_0x38b3af;for(const [_0x5964c2,_0x3be54c]of _0x474882)_0xbe3d2b(0xcf)==_0x3465b5[_0xbe3d2b(0xa6)][_0xbe3d2b(0x96)](_0x5964c2)[_0xbe3d2b(0xd8)]()[_0xbe3d2b(0x87)][_0xbe3d2b(0x94)]&&(Y(_0x5964c2[_0xbe3d2b(0xa2)](':')[0x2],_0x3be54c[_0xbe3d2b(0xe1)](),_0x3465b5,_0x3b4689),_0x3be54c[_0xbe3d2b(0xe8)]());_0x474882[_0xbe3d2b(0xcb)]();});});}(_0x500d2a),this[_0x31a73e(0xb7)][_0x31a73e(0xca)](_0x4e6ac2[_0x31a73e(0x89)],_0x31a73e(0x97),(_0x5d7858,{key:_0x17d107})=>{const _0x83603d=_0x31a73e;_0x83603d(0xa8)===_0x17d107&&function(_0x2b0368){const _0xae213a=_0x83603d;_0x2b0368[_0xae213a(0x85)][_0xae213a(0xff)][_0xae213a(0xc8)](_0x2cca2e=>{const _0x260f47=_0xae213a;for(const _0x8cd792 of _0x2b0368[_0x260f47(0xe4)][_0x260f47(0xa6)]){if(!_0x8cd792[_0x260f47(0xa0)][_0x260f47(0xc7)](_0x260f47(0xad)))continue;const _0x430b93=_0x2b0368[_0x260f47(0x85)][_0x260f47(0x79)][_0x260f47(0xd0)](_0x8cd792[_0x260f47(0xa0)]);if(_0x430b93){for(const _0x14e82d of _0x430b93)_0x2cca2e[_0x260f47(0xde)](_0x260f47(0xe6),_0x14e82d);}}});}(_0x500d2a);},{'useCapture':!0x0});}[_0x256499(0x8c)](){const _0x3fe659=_0x256499,_0x4b91a7=this[_0x3fe659(0x8f)],_0x32b5b0=_0x4b91a7[_0x3fe659(0xf4)][_0x3fe659(0x96)](_0x3fe659(0xc6));_0x32b5b0&&_0x4b91a7[_0x3fe659(0xe4)]['on'](_0x3fe659(0xc2),(_0x75741d,_0xd5dd95)=>{const _0x33718c=_0x3fe659,_0x942576=_0xd5dd95[0x0];if(!_0x942576[_0x33718c(0xbb)])return;if(_0x33718c(0xa5)!=_0x942576[_0x33718c(0x92)]||!_0x942576[_0x33718c(0xa0)][_0x33718c(0xc7)](_0x33718c(0xce)))return;const _0x25a8eb=_0x942576[_0x33718c(0x7e)];_0x32b5b0[_0x33718c(0xd9)][_0x33718c(0xfc)](_0x25a8eb)&&(_0x942576[_0x33718c(0xe2)]=_0x942576[_0x33718c(0x8d)]?_0x4b91a7[_0x33718c(0xe4)][_0x33718c(0xae)](_0x942576[_0x33718c(0x8d)][_0x33718c(0x8a)],_0x942576[_0x33718c(0x8d)][_0x33718c(0xf2)]):null);},{'priority':_0x3fe659(0x99)});}[_0x256499(0x86)](){const _0x5f07f0=_0x256499;return this[_0x5f07f0(0xb7)][_0x5f07f0(0xd7)](),super[_0x5f07f0(0x86)]();}[_0x256499(0xc0)](){const _0x1bfea4=_0x256499,_0x467937=this[_0x1bfea4(0x8f)],_0x144925=_0x467937[_0x1bfea4(0xe4)][_0x1bfea4(0x89)],_0x22d9cd=_0x467937[_0x1bfea4(0x88)][_0x1bfea4(0x96)](_0x3f5ced);_0x467937[_0x1bfea4(0xe4)][_0x1bfea4(0xaa)]({'isUndoable':!0x1},_0x549354=>{const _0x398936=_0x1bfea4,_0x5e1ff3=_0x398936(0xfb)+_0x22d9cd[_0x398936(0x80)],_0x57bb40=_0x398936(0xe3)+_0x22d9cd[_0x398936(0x80)],_0xc18bfa=_0x467937[_0x398936(0xe4)][_0x398936(0xa6)][_0x398936(0xfc)](_0x5e1ff3);_0x467937[_0x398936(0x85)][_0x398936(0xff)][_0x398936(0xc3)]?Y(_0x22d9cd[_0x398936(0x80)],_0x144925[_0x398936(0xe7)][_0x398936(0x9a)](),_0x467937[_0x398936(0xe4)],_0x549354):_0xc18bfa&&(_0x549354[_0x398936(0x81)](_0x5e1ff3),_0x549354[_0x398936(0x81)](_0x57bb40));});}}function Y(_0x12426f,_0x2c92da,_0xab948d,_0x4c4872){const _0xf451b5=_0x256499,_0x33f2e9=_0xf451b5(0xfb)+_0x12426f,_0x1e926d=_0xf451b5(0xe3)+_0x12426f,_0x5b15d5=_0x2c92da[_0xf451b5(0xf1)]();let _0x261dcd=_0x2c92da[_0xf451b5(0x8a)];if(_0x5b15d5&&_0x5b15d5['is'](_0xf451b5(0x9b),_0xf451b5(0xa3))){const _0x4f1e67=function(_0x162615,_0x1b48d5){const _0x53c74a=_0xf451b5;for(const _0x3238cd of _0x162615[_0x53c74a(0x9f)]())if(_0x1b48d5[_0x53c74a(0xa9)][_0x53c74a(0x9e)](_0x3238cd,_0x53c74a(0x7a)))return _0x3238cd;}(_0x2c92da,_0xab948d);_0x4f1e67&&(_0x261dcd=_0x4f1e67,_0x2c92da=_0x4c4872[_0xf451b5(0xae)](_0x261dcd));}const _0x3cc532=_0x4c4872[_0xf451b5(0xae)](_0x261dcd);_0xab948d[_0xf451b5(0xa6)][_0xf451b5(0xfc)](_0x33f2e9)?(_0x4c4872[_0xf451b5(0xed)](_0x33f2e9,{'range':_0x2c92da}),_0x4c4872[_0xf451b5(0xed)](_0x1e926d,{'range':_0x3cc532})):(_0x4c4872[_0xf451b5(0xb3)](_0x33f2e9,{'range':_0x2c92da,'usingOperation':!0x0}),_0x4c4872[_0xf451b5(0xb3)](_0x1e926d,{'range':_0x3cc532,'usingOperation':!0x0}));}