@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.9 → 46.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  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 _0x34278e=_0x4916;(function(_0x3a034f,_0x16c0bc){const _0x2643a2=_0x4916,_0x5f0b6b=_0x3a034f();while(!![]){try{const _0x1e9e05=parseInt(_0x2643a2(0x14b))/0x1*(parseInt(_0x2643a2(0x15d))/0x2)+-parseInt(_0x2643a2(0x15e))/0x3*(parseInt(_0x2643a2(0x152))/0x4)+parseInt(_0x2643a2(0x164))/0x5+parseInt(_0x2643a2(0x14c))/0x6+-parseInt(_0x2643a2(0x148))/0x7*(-parseInt(_0x2643a2(0x156))/0x8)+parseInt(_0x2643a2(0x14f))/0x9+-parseInt(_0x2643a2(0x15b))/0xa;if(_0x1e9e05===_0x16c0bc)break;else _0x5f0b6b['push'](_0x5f0b6b['shift']());}catch(_0x3bcaf0){_0x5f0b6b['push'](_0x5f0b6b['shift']());}}}(_0x492b,0x5d7d2));import{View as _0x2fffac}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3229f1}from'ckeditor5/src/utils.js';import{getTranslation as _0x5f26d7}from'../../common-translations.js';function _0x4916(_0x5f3a64,_0xb4b98e){const _0x492b48=_0x492b();return _0x4916=function(_0x491613,_0x4bcdcb){_0x491613=_0x491613-0x143;let _0x65759=_0x492b48[_0x491613];return _0x65759;},_0x4916(_0x5f3a64,_0xb4b98e);}export class PresenceInlineListView extends _0x2fffac{[_0x34278e(0x14d)];[_0x34278e(0x168)];constructor(_0x3fb57b){const _0x128f24=_0x34278e;super(_0x3fb57b);const _0x248604=this[_0x128f24(0x149)];this[_0x128f24(0x14d)]=this[_0x128f24(0x153)](),this[_0x128f24(0x168)]=new _0x3229f1(),this[_0x128f24(0x167)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x128f24(0x15f)]({'tag':_0x128f24(0x151),'attributes':{'aria-haspopup':_0x248604['if'](_0x128f24(0x162)),'aria-expanded':_0x248604['to'](_0x128f24(0x150),_0x149259=>this[_0x128f24(0x162)]&&String(_0x149259)),'aria-label':_0x248604['to'](_0x128f24(0x162),_0x4d4567=>_0x5f26d7(_0x3fb57b,_0x4d4567?_0x128f24(0x14a):_0x128f24(0x144))),'role':_0x128f24(0x154),'tabindex':_0x248604['to'](_0x128f24(0x162),_0x59e5d1=>!!_0x59e5d1&&0x0),'class':['ck',_0x128f24(0x146)]},'children':this[_0x128f24(0x14d)],'on':{'mouseenter':_0x248604['to'](()=>this[_0x128f24(0x15a)](_0x128f24(0x163))),'mouseleave':_0x248604['to'](_0x3f62e7=>{const _0x442b85=_0x128f24,_0xb38744=_0x3f62e7,_0x3e7a93=document[_0x442b85(0x155)](_0x442b85(0x157)),_0x2d4113=document[_0x442b85(0x155)](_0x442b85(0x14e));_0x3e7a93?.[_0x442b85(0x143)](_0xb38744[_0x442b85(0x160)])||_0x2d4113?.[_0x442b85(0x143)](_0xb38744[_0x442b85(0x160)])||this[_0x442b85(0x15a)](_0x442b85(0x147));})}}),this['on'](_0x128f24(0x158),(_0x20137b,_0x34595c,_0x12882c)=>{const _0x4f01a2=_0x128f24;this[_0x4f01a2(0x169)]&&(_0x12882c?this[_0x4f01a2(0x169)][_0x4f01a2(0x159)](_0x4f01a2(0x15c),String(this[_0x4f01a2(0x150)])):this[_0x4f01a2(0x169)][_0x4f01a2(0x161)](_0x4f01a2(0x15c)));});}[_0x34278e(0x165)](){const _0x484cc6=_0x34278e;this[_0x484cc6(0x169)][_0x484cc6(0x165)]();}[_0x34278e(0x145)](){const _0x5df6f4=_0x34278e;super[_0x5df6f4(0x145)](),this[_0x5df6f4(0x168)][_0x5df6f4(0x166)](this[_0x5df6f4(0x169)]);}}function _0x492b(){const _0x32273f=['items','.ck-balloon-panel_with-arrow','2139219gtaUer','isExpanded','div','4GMhsCf','createCollection','list','querySelector','1384RmWoUe','.ck-presence-list__dropdown-list','change:hasPopup','setAttribute','fire','10105560WxOZLX','aria-expanded','2CWPaWi','378330ZZJmld','setTemplate','relatedTarget','removeAttribute','hasPopup','presencelist:show','1466710LQNTbI','focus','listenTo','set','keystrokes','element','contains','Connected\x20users\x20list','render','ck-presence-list__list','presencelist:hide','10206URlCUt','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','360250xAWqgY','2256474yCDaww'];_0x492b=function(){return _0x32273f;};return _0x492b();}
23
+ function _0x42dc(_0x3cf286,_0x44d73c){const _0x53e640=_0x53e6();return _0x42dc=function(_0x42dc23,_0x52160b){_0x42dc23=_0x42dc23-0xe9;let _0x58e7fb=_0x53e640[_0x42dc23];return _0x58e7fb;},_0x42dc(_0x3cf286,_0x44d73c);}const _0x58dcc5=_0x42dc;(function(_0x1066b2,_0x246799){const _0x2e9d9d=_0x42dc,_0x3ea4f0=_0x1066b2();while(!![]){try{const _0xf7fbeb=parseInt(_0x2e9d9d(0x102))/0x1+-parseInt(_0x2e9d9d(0x10e))/0x2+-parseInt(_0x2e9d9d(0xf8))/0x3*(parseInt(_0x2e9d9d(0x107))/0x4)+-parseInt(_0x2e9d9d(0xfd))/0x5*(-parseInt(_0x2e9d9d(0x103))/0x6)+parseInt(_0x2e9d9d(0xee))/0x7*(-parseInt(_0x2e9d9d(0x110))/0x8)+parseInt(_0x2e9d9d(0xed))/0x9+-parseInt(_0x2e9d9d(0xef))/0xa*(-parseInt(_0x2e9d9d(0xea))/0xb);if(_0xf7fbeb===_0x246799)break;else _0x3ea4f0['push'](_0x3ea4f0['shift']());}catch(_0x5e1a2b){_0x3ea4f0['push'](_0x3ea4f0['shift']());}}}(_0x53e6,0xb4f50));import{View as _0x3562d8}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x35cd2d}from'ckeditor5/src/utils.js';import{getTranslation as _0x2e9dd9}from'../../common-translations.js';function _0x53e6(){const _0x4a423c=['216753USaRMR','132zMUDqS','change:hasPopup','contains','element','300MbrVZj','aria-expanded','fire','isExpanded','render','keystrokes','createCollection','1062518KynqjM','listenTo','9768064fuqnlw','relatedTarget','1133kySlRp','querySelector','bindTemplate','938484RTuzTr','7cKWHgO','197300rksWTc','focus','setTemplate','Connected\x20users\x20list','hasPopup','set','div','items','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','50718WKezeS','removeAttribute','.ck-presence-list__dropdown-list','presencelist:show','ck-presence-list__list','320045VaWzXu','list','setAttribute','presencelist:hide','.ck-balloon-panel_with-arrow'];_0x53e6=function(){return _0x4a423c;};return _0x53e6();}export class PresenceInlineListView extends _0x3562d8{[_0x58dcc5(0xf6)];[_0x58dcc5(0x10c)];constructor(_0x35d4e6){const _0x51184b=_0x58dcc5;super(_0x35d4e6);const _0x3f5d8b=this[_0x51184b(0xec)];this[_0x51184b(0xf6)]=this[_0x51184b(0x10d)](),this[_0x51184b(0x10c)]=new _0x35cd2d(),this[_0x51184b(0xf4)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x51184b(0xf1)]({'tag':_0x51184b(0xf5),'attributes':{'aria-haspopup':_0x3f5d8b['if'](_0x51184b(0xf3)),'aria-expanded':_0x3f5d8b['to'](_0x51184b(0x10a),_0x5e4b45=>this[_0x51184b(0xf3)]&&String(_0x5e4b45)),'aria-label':_0x3f5d8b['to'](_0x51184b(0xf3),_0xd98193=>_0x2e9dd9(_0x35d4e6,_0xd98193?_0x51184b(0xf7):_0x51184b(0xf2))),'role':_0x51184b(0xfe),'tabindex':_0x3f5d8b['to'](_0x51184b(0xf3),_0x58e4a3=>!!_0x58e4a3&&0x0),'class':['ck',_0x51184b(0xfc)]},'children':this[_0x51184b(0xf6)],'on':{'mouseenter':_0x3f5d8b['to'](()=>this[_0x51184b(0x109)](_0x51184b(0xfb))),'mouseleave':_0x3f5d8b['to'](_0x119a92=>{const _0x109c21=_0x51184b,_0x555b7f=_0x119a92,_0x4ce3aa=document[_0x109c21(0xeb)](_0x109c21(0xfa)),_0x4715b2=document[_0x109c21(0xeb)](_0x109c21(0x101));_0x4ce3aa?.[_0x109c21(0x105)](_0x555b7f[_0x109c21(0xe9)])||_0x4715b2?.[_0x109c21(0x105)](_0x555b7f[_0x109c21(0xe9)])||this[_0x109c21(0x109)](_0x109c21(0x100));})}}),this['on'](_0x51184b(0x104),(_0x44cf40,_0x37ab7c,_0x287090)=>{const _0x1f9ff0=_0x51184b;this[_0x1f9ff0(0x106)]&&(_0x287090?this[_0x1f9ff0(0x106)][_0x1f9ff0(0xff)](_0x1f9ff0(0x108),String(this[_0x1f9ff0(0x10a)])):this[_0x1f9ff0(0x106)][_0x1f9ff0(0xf9)](_0x1f9ff0(0x108)));});}[_0x58dcc5(0xf0)](){const _0x4e6d20=_0x58dcc5;this[_0x4e6d20(0x106)][_0x4e6d20(0xf0)]();}[_0x58dcc5(0x10b)](){const _0x1696d9=_0x58dcc5;super[_0x1696d9(0x10b)](),this[_0x1696d9(0x10c)][_0x1696d9(0x10f)](this[_0x1696d9(0x106)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16cf00=_0x41e0;(function(_0x21c220,_0x163af8){const _0x355ae5=_0x41e0,_0x133097=_0x21c220();while(!![]){try{const _0x2aaf6e=parseInt(_0x355ae5(0x1eb))/0x1*(-parseInt(_0x355ae5(0x1ec))/0x2)+-parseInt(_0x355ae5(0x1dc))/0x3+-parseInt(_0x355ae5(0x1f0))/0x4*(-parseInt(_0x355ae5(0x1e2))/0x5)+-parseInt(_0x355ae5(0x1d6))/0x6*(-parseInt(_0x355ae5(0x1e7))/0x7)+-parseInt(_0x355ae5(0x1dd))/0x8*(-parseInt(_0x355ae5(0x1ee))/0x9)+parseInt(_0x355ae5(0x1d8))/0xa+-parseInt(_0x355ae5(0x1d7))/0xb;if(_0x2aaf6e===_0x163af8)break;else _0x133097['push'](_0x133097['shift']());}catch(_0x135458){_0x133097['push'](_0x133097['shift']());}}}(_0x4746,0xc3719));import{View as _0x4da497}from'ckeditor5/src/ui.js';function _0x41e0(_0x34af67,_0x2442ab){const _0x4746f2=_0x4746();return _0x41e0=function(_0x41e088,_0x42f140){_0x41e088=_0x41e088-0x1d4;let _0x4d1145=_0x4746f2[_0x41e088];return _0x4d1145;},_0x41e0(_0x34af67,_0x2442ab);}import{PresenceCounterView as _0x63ae7c}from'./presencecounterview.js';import{PresenceInlineListView as _0x5dfbf0}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4da497{[_0x16cf00(0x1ea)];[_0x16cf00(0x1e0)];constructor(_0x336e37,_0x537749=0x6){const _0x675136=_0x16cf00;super(_0x336e37);const _0x3009c9=this[_0x675136(0x1d9)];this[_0x675136(0x1db)](_0x675136(0x1d4),!0x0),this[_0x675136(0x1ea)]=new _0x63ae7c(this[_0x675136(0x1f1)],_0x537749),this[_0x675136(0x1e0)]=new _0x5dfbf0(_0x336e37),this[_0x675136(0x1e0)][_0x675136(0x1e4)](_0x675136(0x1e5))['to'](this,_0x675136(0x1d4)),this[_0x675136(0x1ed)](this[_0x675136(0x1e0)][_0x675136(0x1df)],_0x675136(0x1ef),()=>{const _0x1c97e7=_0x675136;for(const _0x55b58f of this[_0x1c97e7(0x1e0)][_0x1c97e7(0x1df)])_0x55b58f[_0x1c97e7(0x1e3)]='s';this[_0x1c97e7(0x1e0)][_0x1c97e7(0x1df)][_0x1c97e7(0x1da)]&&(this[_0x1c97e7(0x1e0)][_0x1c97e7(0x1df)][_0x1c97e7(0x1da)][_0x1c97e7(0x1e3)]='se');}),this[_0x675136(0x1d5)]({'tag':_0x675136(0x1e1),'attributes':{'class':['ck',_0x675136(0x1e9),_0x675136(0x1e6),_0x675136(0x1e8),_0x3009c9['if'](_0x675136(0x1d4),_0x675136(0x1de))]},'children':[this[_0x675136(0x1e0)]]});}}function _0x4746(){const _0x2d0165=['35SLajIg','tooltipPosition','bind','hasPopup','ck-reset','34489besYKe','ck-rounded-corners','ck-presence-list','counterView','349TvDFzl','6694SVymxw','listenTo','5980131ZHhAil','change','600764boPJdz','locale','isCollapsed','setTemplate','834CVSotr','8310632bQxyYW','4642140lvjQnR','bindTemplate','first','set','422133pwrNVP','8qMHSuJ','ck-presence-list--collapsed','items','inlineListView','div'];_0x4746=function(){return _0x2d0165;};return _0x4746();}
23
+ const _0x4633df=_0x34cd;(function(_0x37f2ea,_0x53b8f3){const _0x3a628e=_0x34cd,_0x470a4f=_0x37f2ea();while(!![]){try{const _0x5bc500=-parseInt(_0x3a628e(0x110))/0x1+-parseInt(_0x3a628e(0x121))/0x2*(-parseInt(_0x3a628e(0x10b))/0x3)+parseInt(_0x3a628e(0x111))/0x4*(-parseInt(_0x3a628e(0x10a))/0x5)+parseInt(_0x3a628e(0x114))/0x6*(parseInt(_0x3a628e(0x10e))/0x7)+parseInt(_0x3a628e(0x119))/0x8*(-parseInt(_0x3a628e(0x11c))/0x9)+-parseInt(_0x3a628e(0x116))/0xa+-parseInt(_0x3a628e(0x118))/0xb*(-parseInt(_0x3a628e(0x106))/0xc);if(_0x5bc500===_0x53b8f3)break;else _0x470a4f['push'](_0x470a4f['shift']());}catch(_0x5c04ce){_0x470a4f['push'](_0x470a4f['shift']());}}}(_0x2731,0x5ff9f));import{View as _0x483688}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x398d46}from'./presencecounterview.js';function _0x34cd(_0x11f384,_0xaee82c){const _0x273195=_0x2731();return _0x34cd=function(_0x34cddf,_0xf0adbf){_0x34cddf=_0x34cddf-0x106;let _0x1af281=_0x273195[_0x34cddf];return _0x1af281;},_0x34cd(_0x11f384,_0xaee82c);}import{PresenceInlineListView as _0xab3df4}from'./presenceinlinelistview.js';function _0x2731(){const _0x25b9c7=['4176036zuqSJx','items','listenTo','first','locale','8264GedYFk','bindTemplate','bind','hasPopup','12Lsrwlz','ck-presence-list--collapsed','counterView','change','463075VzLKkw','324aFjDux','ck-presence-list','inlineListView','1477FWuGup','isCollapsed','569892olNvxM','4HOcEnv','set','setTemplate','20004DRvgXw','tooltipPosition','6070880ouBkCT','div','10746868ZkryEW','8snFLyo','ck-rounded-corners','ck-reset'];_0x2731=function(){return _0x25b9c7;};return _0x2731();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x483688{[_0x4633df(0x108)];[_0x4633df(0x10d)];constructor(_0x4ec43c,_0x30069b=0x6){const _0x58e2c4=_0x4633df;super(_0x4ec43c);const _0x4c5389=this[_0x58e2c4(0x122)];this[_0x58e2c4(0x112)](_0x58e2c4(0x10f),!0x0),this[_0x58e2c4(0x108)]=new _0x398d46(this[_0x58e2c4(0x120)],_0x30069b),this[_0x58e2c4(0x10d)]=new _0xab3df4(_0x4ec43c),this[_0x58e2c4(0x10d)][_0x58e2c4(0x123)](_0x58e2c4(0x124))['to'](this,_0x58e2c4(0x10f)),this[_0x58e2c4(0x11e)](this[_0x58e2c4(0x10d)][_0x58e2c4(0x11d)],_0x58e2c4(0x109),()=>{const _0x3ca7b5=_0x58e2c4;for(const _0x780b6e of this[_0x3ca7b5(0x10d)][_0x3ca7b5(0x11d)])_0x780b6e[_0x3ca7b5(0x115)]='s';this[_0x3ca7b5(0x10d)][_0x3ca7b5(0x11d)][_0x3ca7b5(0x11f)]&&(this[_0x3ca7b5(0x10d)][_0x3ca7b5(0x11d)][_0x3ca7b5(0x11f)][_0x3ca7b5(0x115)]='se');}),this[_0x58e2c4(0x113)]({'tag':_0x58e2c4(0x117),'attributes':{'class':['ck',_0x58e2c4(0x10c),_0x58e2c4(0x11b),_0x58e2c4(0x11a),_0x4c5389['if'](_0x58e2c4(0x10f),_0x58e2c4(0x107))]},'children':[this[_0x58e2c4(0x10d)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a447a=_0x5629;(function(_0xb9637b,_0x35921e){var _0x6ed25a=_0x5629,_0x53d9ce=_0xb9637b();while(!![]){try{var _0x3808a9=parseInt(_0x6ed25a(0x188))/0x1*(parseInt(_0x6ed25a(0x190))/0x2)+-parseInt(_0x6ed25a(0x18d))/0x3+-parseInt(_0x6ed25a(0x18a))/0x4+-parseInt(_0x6ed25a(0x18e))/0x5+-parseInt(_0x6ed25a(0x186))/0x6+parseInt(_0x6ed25a(0x187))/0x7+parseInt(_0x6ed25a(0x18c))/0x8*(parseInt(_0x6ed25a(0x18b))/0x9);if(_0x3808a9===_0x35921e)break;else _0x53d9ce['push'](_0x53d9ce['shift']());}catch(_0x2041be){_0x53d9ce['push'](_0x53d9ce['shift']());}}}(_0x607e,0x63ea1));function _0x607e(){var _0x16b968=['1UolAfK','pluginName','2532884HjOOhj','567LIaMFY','127408DhkBxU','1304829oUujOG','1877120CffKDH','isOfficialPlugin','1532918Zhqatu','PresenceList','requires','isPremiumPlugin','1383330VdxjdJ','2195165NhUfZJ'];_0x607e=function(){return _0x16b968;};return _0x607e();}import{ContextPlugin as _0x389990}from'ckeditor5/src/core.js';import{Sessions as _0x454d5e}from'./realtimecollaborativeediting/sessions.js';function _0x5629(_0x209b57,_0xfb1045){var _0x607e4f=_0x607e();return _0x5629=function(_0x56291e,_0x324860){_0x56291e=_0x56291e-0x186;var _0x214ada=_0x607e4f[_0x56291e];return _0x214ada;},_0x5629(_0x209b57,_0xfb1045);}import{PresenceListUI as _0x22a4b7}from'./presencelist/presencelistui.js';export class PresenceList extends _0x389990{static get[_0x3a447a(0x192)](){return[_0x454d5e,_0x22a4b7];}static get[_0x3a447a(0x189)](){var _0xdb36e=_0x3a447a;return _0xdb36e(0x191);}static get[_0x3a447a(0x18f)](){return!0x0;}static get[_0x3a447a(0x193)](){return!0x0;}}
23
+ var _0x37c618=_0x1227;(function(_0x1612a2,_0x1e5afd){var _0x14da9c=_0x1227,_0x4167a7=_0x1612a2();while(!![]){try{var _0x4fd6f0=parseInt(_0x14da9c(0x11b))/0x1+-parseInt(_0x14da9c(0x125))/0x2+parseInt(_0x14da9c(0x11e))/0x3*(-parseInt(_0x14da9c(0x11f))/0x4)+parseInt(_0x14da9c(0x122))/0x5*(parseInt(_0x14da9c(0x11a))/0x6)+-parseInt(_0x14da9c(0x120))/0x7+-parseInt(_0x14da9c(0x121))/0x8*(parseInt(_0x14da9c(0x117))/0x9)+parseInt(_0x14da9c(0x11c))/0xa*(parseInt(_0x14da9c(0x123))/0xb);if(_0x4fd6f0===_0x1e5afd)break;else _0x4167a7['push'](_0x4167a7['shift']());}catch(_0x1721c4){_0x4167a7['push'](_0x4167a7['shift']());}}}(_0xf7b7,0x24ce8));function _0xf7b7(){var _0x4c183f=['pluginName','9AHNGKf','isOfficialPlugin','requires','156MliDLL','238242finUkl','20LvZMms','isPremiumPlugin','102dDAQdI','13248pyKJDW','2027424AKAtgX','94088YDnbEh','24560McpwjL','1590523hBuHHb','PresenceList','180758iFjghH'];_0xf7b7=function(){return _0x4c183f;};return _0xf7b7();}function _0x1227(_0x321037,_0x50ae30){var _0xf7b7f5=_0xf7b7();return _0x1227=function(_0x12278f,_0x203be3){_0x12278f=_0x12278f-0x117;var _0x1d5112=_0xf7b7f5[_0x12278f];return _0x1d5112;},_0x1227(_0x321037,_0x50ae30);}import{ContextPlugin as _0x31e711}from'ckeditor5/src/core.js';import{Sessions as _0x3bc0a0}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x16c93a}from'./presencelist/presencelistui.js';export class PresenceList extends _0x31e711{static get[_0x37c618(0x119)](){return[_0x3bc0a0,_0x16c93a];}static get[_0x37c618(0x126)](){var _0x31e930=_0x37c618;return _0x31e930(0x124);}static get[_0x37c618(0x118)](){return!0x0;}static get[_0x37c618(0x11d)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x121497=_0x4290;(function(_0x1af527,_0x2ee773){const _0x5f2009=_0x4290,_0x5254ae=_0x1af527();while(!![]){try{const _0x3c9826=-parseInt(_0x5f2009(0xdf))/0x1+parseInt(_0x5f2009(0x9f))/0x2+parseInt(_0x5f2009(0xf5))/0x3+-parseInt(_0x5f2009(0xfd))/0x4*(-parseInt(_0x5f2009(0xad))/0x5)+-parseInt(_0x5f2009(0x102))/0x6+parseInt(_0x5f2009(0xd8))/0x7*(-parseInt(_0x5f2009(0xe1))/0x8)+parseInt(_0x5f2009(0xa7))/0x9*(-parseInt(_0x5f2009(0xb2))/0xa);if(_0x3c9826===_0x2ee773)break;else _0x5254ae['push'](_0x5254ae['shift']());}catch(_0x144752){_0x5254ae['push'](_0x5254ae['shift']());}}}(_0x1584,0x7a684));import{Context as _0x2635cd,ContextPlugin as _0x5270f2}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d8085}from'ckeditor5/src/utils.js';import{Users as _0x2b5e8e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x12d590,User as _0x5e2558}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x40fd1e}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4290(_0x47fec7,_0x546951){const _0x158462=_0x1584();return _0x4290=function(_0x4290b1,_0x26e52a){_0x4290b1=_0x4290b1-0x9d;let _0x47882b=_0x158462[_0x4290b1];return _0x47882b;},_0x4290(_0x47fec7,_0x546951);}import{Sessions as _0x38c4bc}from'../realtimecollaborativeediting/sessions.js';class s extends _0x5270f2{static [_0x121497(0xbe)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x12d590)());[_0x121497(0xd5)];static get[_0x121497(0xf3)](){const _0xa9e48e=_0x121497;return[_0x40fd1e,_0xa9e48e(0xbf),_0x38c4bc,_0x2b5e8e];}static get[_0x121497(0xcf)](){const _0x15794d=_0x121497;return _0x15794d(0xa0);}static get[_0x121497(0xfe)](){return!0x0;}static get[_0x121497(0xe2)](){return!0x0;}constructor(_0x3bdf60){const _0x592516=_0x121497;super(_0x3bdf60),this[_0x592516(0xd5)]=new Map();}async[_0x121497(0xed)](){const _0x579598=_0x121497,_0x9d6f0e=this[_0x579598(0xb9)],_0x51c107=_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x579598(0xbf));if(_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x40fd1e)[_0x579598(0xb7)](this),_0x51c107[_0x579598(0xe6)]={'addCommentThread':async({channelId:_0xf9a219,threadId:_0xecaeed,comments:_0x50f8b4,resolvedAt:_0x5b7af5,resolvedBy:_0xb44ad5,context:_0x7c0a14,attributes:_0xb95726})=>{const _0x241f6e=_0x579598,_0x24a74e=await this[_0x241f6e(0xde)](_0xf9a219)[_0x241f6e(0xd0)]({'commentThreadId':_0xecaeed,'comments':_0x50f8b4[_0x241f6e(0xbc)](_0x1e5b10=>function(_0x91b7de,_0x3e3cb7,_0x37b1e9){const _0x3de18a=_0x241f6e;return{'commentThreadId':_0x37b1e9,'commentId':_0x91b7de[_0x3de18a(0xae)],'userId':_0x91b7de[_0x3de18a(0x100)],'content':_0x91b7de[_0x3de18a(0xa4)],'documentId':_0x3e3cb7,'createdAt':_0x91b7de[_0x3de18a(0xd2)],'attributes':_0x91b7de[_0x3de18a(0xa2)]||{}};}(_0x1e5b10,_0xf9a219,_0xecaeed)),'resolvedAt':_0x5b7af5,'resolvedBy':_0xb44ad5,'context':_0x7c0a14,'attributes':_0xb95726})[_0x241f6e(0xd9)](k);return{'threadId':_0x24a74e[_0x241f6e(0xf7)],'comments':_0x24a74e[_0x241f6e(0xe8)]};},'getCommentThread':async({channelId:_0x4c13ed,threadId:_0x32817c})=>{const _0x3468b0=_0x579598,_0x1d9d2f=await this[_0x3468b0(0xde)](_0x4c13ed)[_0x3468b0(0xe7)](_0x32817c)[_0x3468b0(0xd9)](k);return _0x1d9d2f[_0x3468b0(0xc0)]?null:(await this[_0x3468b0(0xa5)]([_0x1d9d2f]),{'threadId':_0x1d9d2f[_0x3468b0(0xf7)],'comments':_0x1d9d2f[_0x3468b0(0xe8)][_0x3468b0(0xbc)](B),'context':_0x1d9d2f[_0x3468b0(0xb9)],'resolvedAt':_0x1d9d2f[_0x3468b0(0xd7)],'resolvedBy':_0x1d9d2f[_0x3468b0(0xaa)],'attributes':_0x1d9d2f[_0x3468b0(0xa2)]||{}});},'updateCommentThread':async({channelId:_0xb078e9,threadId:_0x49424c,context:_0x4963fd,unlinkedAt:_0x1e9f5a,attributes:_0x37fc26})=>this[_0x579598(0xde)](_0xb078e9)[_0x579598(0xeb)]({'commentThreadId':_0x49424c,'context':_0x4963fd,'attributes':_0x37fc26,'unlinkedAt':_0x1e9f5a})[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'resolveCommentThread':async({channelId:_0x445029,threadId:_0x3bd55f})=>{const _0x1cffb2=_0x579598,_0x184ff4=await this[_0x1cffb2(0xde)](_0x445029)[_0x1cffb2(0xf4)](_0x3bd55f)[_0x1cffb2(0xd9)](F)[_0x1cffb2(0xd9)](k);return{'threadId':_0x184ff4[_0x1cffb2(0xf7)],'resolvedAt':_0x184ff4[_0x1cffb2(0xd7)],'resolvedBy':_0x184ff4[_0x1cffb2(0xaa)]};},'reopenCommentThread':async({channelId:_0x18b0aa,threadId:_0x54afd3})=>this[_0x579598(0xde)](_0x18b0aa)[_0x579598(0xa3)](_0x54afd3)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'removeCommentThread':({channelId:_0x7d3181,threadId:_0x3e7396})=>this[_0x579598(0xde)](_0x7d3181)[_0x579598(0xc7)](_0x3e7396)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'addComment':({channelId:_0x3fc63d,threadId:_0x25a71c,commentId:_0x2a0244,content:_0x2f4343,attributes:_0x302d67})=>this[_0x579598(0xde)](_0x3fc63d)[_0x579598(0xea)](_0x25a71c,_0x2a0244,_0x2f4343,_0x302d67)[_0x579598(0xd9)](k),'updateComment':({channelId:_0x293aab,threadId:_0x21a2c2,commentId:_0x3dd3a9,content:_0x33cd43,attributes:_0x274efd})=>this[_0x579598(0xde)](_0x293aab)[_0x579598(0xd4)](_0x21a2c2,_0x3dd3a9,_0x33cd43,_0x274efd)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'removeComment':({channelId:_0x2be0a6,threadId:_0x34b486,commentId:_0x11e138})=>this[_0x579598(0xde)](_0x2be0a6)[_0x579598(0xb6)](_0x34b486,_0x11e138)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k)},_0x9d6f0e instanceof _0x2635cd){const _0x3c7a66=_0x9d6f0e[_0x579598(0xb1)][_0x579598(0xdd)](_0x579598(0xca)),_0x1ff443=_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x38c4bc);await this[_0x579598(0xdc)](_0x3c7a66);const _0x53222a=await this[_0x579598(0xd5)][_0x579598(0xdd)](_0x3c7a66)[_0x579598(0xc1)]();this[_0x579598(0xc4)](_0x1ff443,_0x579598(0xff)+_0x3c7a66,(_0x185900,{session:_0x2e0d61})=>{const _0x587a49=_0x579598;_0x2e0d61['id']===_0x1ff443[_0x587a49(0xa9)]&&(_0x185900[_0x587a49(0x9e)](),this[_0x587a49(0xb9)][_0x587a49(0xb5)][_0x587a49(0xdd)](_0x587a49(0xbb))[_0x587a49(0xf0)](_0x2e0d61[_0x587a49(0xa1)],_0x3c7a66));}),_0x1ff443[_0x579598(0x101)](_0x3c7a66,_0x53222a);}}async[_0x121497(0xdc)](_0x4ff869){const _0x1ba361=_0x121497;if(this[_0x1ba361(0xd5)][_0x1ba361(0xaf)](_0x4ff869))throw new _0x2d8085(_0x1ba361(0xab),null,{'channelId':_0x4ff869});const _0xf601a9=this[_0x1ba361(0xb9)][_0x1ba361(0xb5)][_0x1ba361(0xdd)](_0x1ba361(0xbf)),_0x548bf1=new s[(_0x1ba361(0xbe))](_0x4ff869);this[_0x1ba361(0xd5)][_0x1ba361(0xf6)](_0x4ff869,_0x548bf1),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xf2),(_0x4e0077,_0x191c0a)=>{const _0x4614e9=_0x1ba361,{commentThreadId:_0x2d0f29,documentId:_0x220af0,context:_0x4bc72f,attributes:_0x102552,resolvedAt:_0x45f7a0,resolvedBy:_0x1cf088,comments:_0x306987}=_0x191c0a;_0xf601a9[_0x4614e9(0xe7)](_0x2d0f29)||_0xf601a9[_0x4614e9(0xd0)]({'threadId':_0x2d0f29,'channelId':_0x220af0,'comments':_0x306987?_0x306987[_0x4614e9(0xbc)](B):[],'context':_0x4bc72f,'attributes':_0x102552,'resolvedAt':_0x45f7a0,'resolvedBy':_0x1cf088,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xee),(_0x324021,{commentThreadId:_0x442cee,documentId:_0x56e12b,context:_0x2c409e,unlinkedAt:_0x2b10c7,attributes:_0x2eab47})=>{const _0x3788e4=_0x1ba361;_0xf601a9[_0x3788e4(0xe7)](_0x442cee)&&_0xf601a9[_0x3788e4(0xeb)]({'threadId':_0x442cee,'channelId':_0x56e12b,'context':_0x2c409e,'unlinkedAt':_0x2b10c7,'attributes':_0x2eab47,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xc8),(_0x5ebb78,{commentThreadId:_0x48fe06,resolvedBy:_0x2e0b07,resolvedAt:_0x4558f2})=>{const _0x367292=_0x1ba361,_0x48ae15=_0xf601a9[_0x367292(0xe7)](_0x48fe06);_0x48ae15&&_0x48ae15[_0x367292(0xb4)]({'resolvedBy':_0x2e0b07,'resolvedAt':_0x4558f2,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xdb),(_0x50773c,{commentThreadId:_0x1c9cec})=>{const _0x12063d=_0x1ba361,_0x54bb3c=_0xf601a9[_0x12063d(0xe7)](_0x1c9cec);_0x54bb3c&&_0x54bb3c[_0x12063d(0xbd)]({'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0x9d),(_0x6ce6cb,{commentThreadId:_0x43a2dc})=>{const _0x11d87b=_0x1ba361,_0x3e8681=_0xf601a9[_0x11d87b(0xe7)](_0x43a2dc);_0x3e8681&&_0x3e8681[_0x11d87b(0xc3)]({'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xda),(_0x54184e,_0xede86e)=>{const _0x315993=_0x1ba361,_0x457774=_0xede86e[_0x315993(0xf7)],_0x528f01=_0xf601a9[_0x315993(0xe7)](_0x457774);_0x528f01&&_0x528f01[_0x315993(0xea)]({...B(_0xede86e),'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xa8),(_0x11ef2,{commentThreadId:_0x14638e,commentId:_0x8df948,content:_0x27e657,attributes:_0x394417})=>{const _0x369296=_0x1ba361,_0x5879aa=_0xf601a9[_0x369296(0xe7)](_0x14638e);if(_0x5879aa){const _0xa3919=_0x5879aa[_0x369296(0xd1)](_0x8df948);_0xa3919&&_0xa3919[_0x369296(0xe3)]({'content':_0x27e657,'attributes':_0x394417,'isFromAdapter':!0x0});}}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xfc),(_0x4ed15c,{commentThreadId:_0x281b75,commentId:_0x48f91b})=>{const _0x3b8258=_0x1ba361,_0x320c97=_0xf601a9[_0x3b8258(0xe7)](_0x281b75);if(_0x320c97){const _0x1a6799=_0x320c97[_0x3b8258(0xd1)](_0x48f91b);_0x1a6799&&_0x1a6799[_0x3b8258(0xc3)]({'isFromAdapter':!0x0});}}),await this[_0x1ba361(0xcd)](_0x4ff869);}[_0x121497(0xcc)](){const _0x27260a=_0x121497;if(this[_0x27260a(0xb9)]instanceof _0x2635cd){const _0x187d4c=this[_0x27260a(0xb9)][_0x27260a(0xb1)][_0x27260a(0xdd)](_0x27260a(0xca));this[_0x27260a(0xe4)](_0x187d4c);}}[_0x121497(0xe4)](_0x3f0bee){const _0x26723f=_0x121497;if(!this[_0x26723f(0xd5)][_0x26723f(0xaf)](_0x3f0bee))throw new _0x2d8085(_0x26723f(0xac),null,{'channelId':_0x3f0bee});this[_0x26723f(0xde)](_0x3f0bee)[_0x26723f(0xe0)](),this[_0x26723f(0xd5)][_0x26723f(0xc6)](_0x3f0bee);}async[_0x121497(0xba)](){const _0x68a0bd=_0x121497;for(const _0x2c942c of this[_0x68a0bd(0xd5)][_0x68a0bd(0xfb)]())await this[_0x68a0bd(0xcd)](_0x2c942c);if(this[_0x68a0bd(0xb9)]instanceof _0x2635cd){const _0x55a078=this[_0x68a0bd(0xb9)][_0x68a0bd(0xb1)][_0x68a0bd(0xdd)](_0x68a0bd(0xca)),_0x324d6d=this[_0x68a0bd(0xb9)][_0x68a0bd(0xb5)][_0x68a0bd(0xdd)](_0x38c4bc);_0x324d6d[_0x68a0bd(0xb3)](_0x55a078);const _0x3f8a4e=await this[_0x68a0bd(0xd5)][_0x68a0bd(0xdd)](_0x55a078)[_0x68a0bd(0xc1)]();_0x324d6d[_0x68a0bd(0x101)](_0x55a078,_0x3f8a4e);}}async[_0x121497(0xcd)](_0x34601f){const _0x2f8c30=_0x121497,{connection:_0x364895}=this[_0x2f8c30(0xb9)][_0x2f8c30(0xb5)][_0x2f8c30(0xdd)](_0x40fd1e),_0x4d80d0=this[_0x2f8c30(0xb9)][_0x2f8c30(0xb5)][_0x2f8c30(0xdd)](_0x2f8c30(0xbf)),_0x5de6cc=this[_0x2f8c30(0xd5)][_0x2f8c30(0xdd)](_0x34601f),_0x4137b0=await _0x5de6cc[_0x2f8c30(0xf1)](_0x364895);await this[_0x2f8c30(0xa5)](_0x4137b0);const _0x58ef28=new Set(Array[_0x2f8c30(0xc9)](_0x4d80d0[_0x2f8c30(0xc5)]({'channelId':_0x34601f}),_0x5af8fd=>_0x5af8fd['id']));for(const _0x582472 of _0x4137b0)_0x582472[_0x2f8c30(0xc0)]||_0x58ef28[_0x2f8c30(0xc6)](_0x582472[_0x2f8c30(0xf7)]);for(const _0x45fddc of _0x58ef28)_0x4d80d0[_0x2f8c30(0xe7)](_0x45fddc)[_0x2f8c30(0xc3)]({'isFromAdapter':!0x0});for(const _0x32de2b of _0x4137b0){let _0x3ff32b=_0x4d80d0[_0x2f8c30(0xe7)](_0x32de2b[_0x2f8c30(0xf7)]);const {commentThreadId:_0x133b43,context:_0x4201dd,attributes:_0x4641d2,resolvedBy:_0x230657,resolvedAt:_0x3c8a7f,unlinkedAt:_0x3e99ef,deletedAt:_0x1cd569}=_0x32de2b;if(_0x1cd569)continue;_0x3ff32b||(_0x3ff32b=_0x4d80d0[_0x2f8c30(0xd0)]({'channelId':_0x34601f,'threadId':_0x133b43,'context':_0x4201dd,'attributes':_0x4641d2||{},'resolvedBy':_0x230657,'resolvedAt':_0x3c8a7f,'unlinkedAt':_0x3e99ef,'isFromAdapter':!0x0}));const _0x55d09a=new Set(Array[_0x2f8c30(0xc9)](_0x3ff32b[_0x2f8c30(0xe8)],_0x39462f=>_0x39462f['id']));for(const _0x3bda1d of _0x32de2b[_0x2f8c30(0xe8)])_0x55d09a[_0x2f8c30(0xc6)](_0x3bda1d[_0x2f8c30(0xae)]);for(const _0x381955 of _0x55d09a)_0x3ff32b[_0x2f8c30(0xd1)](_0x381955)[_0x2f8c30(0xc3)]({'isFromAdapter':!0x0});for(const _0x21381b of _0x32de2b[_0x2f8c30(0xe8)]){const _0x656375=_0x3ff32b[_0x2f8c30(0xd1)](_0x21381b[_0x2f8c30(0xae)]);_0x656375?_0x656375[_0x2f8c30(0xa4)]!==_0x21381b[_0x2f8c30(0xa4)]&&_0x656375[_0x2f8c30(0xe3)]({'content':_0x21381b[_0x2f8c30(0xa4)],'isFromAdapter':!0x0}):_0x3ff32b[_0x2f8c30(0xea)](Object[_0x2f8c30(0xd3)](B(_0x21381b),{'isFromAdapter':!0x0}));}}}[_0x121497(0xde)](_0x1f7ef0){const _0x24de78=_0x121497;if(!this[_0x24de78(0xd5)][_0x24de78(0xaf)](_0x1f7ef0))throw new _0x2d8085(_0x24de78(0xb0),null,{'channelId':_0x1f7ef0});return this[_0x24de78(0xd5)][_0x24de78(0xdd)](_0x1f7ef0);}async[_0x121497(0xa5)](_0xa3ed25){const _0x1e6030=_0x121497,_0x1bcca3=this[_0x1e6030(0xb9)][_0x1e6030(0xb5)][_0x1e6030(0xdd)](_0x2b5e8e),{connection:_0x14d476}=this[_0x1e6030(0xb9)][_0x1e6030(0xb5)][_0x1e6030(0xdd)](_0x40fd1e),_0x5f3640=new Set();for(const {resolvedBy:_0x418831,comments:_0x6b9153}of _0xa3ed25){_0x418831&&!_0x1bcca3[_0x1e6030(0xe9)](_0x418831)&&_0x5f3640[_0x1e6030(0xf9)](_0x418831);for(const {userId:_0x2dd2f3}of _0x6b9153)_0x1bcca3[_0x1e6030(0xe9)](_0x2dd2f3)||_0x5f3640[_0x1e6030(0xf9)](_0x2dd2f3);}if(0x0===_0x5f3640[_0x1e6030(0xd6)])return;const _0x18a22a=await _0x5e2558[_0x1e6030(0xce)](_0x14d476,Array[_0x1e6030(0xc9)](_0x5f3640));for(const _0x28448e of _0x18a22a)_0x1bcca3[_0x1e6030(0xe9)](_0x28448e['id'])||_0x1bcca3[_0x1e6030(0xf8)](_0x28448e);}}export{s as CloudServicesCommentsAdapter};async function F(_0x16b9d1){const _0x5aebf9=_0x121497;if(_0x5aebf9(0xec)!==_0x16b9d1[_0x5aebf9(0xcb)])throw _0x16b9d1;}function _0x1584(){const _0x51c141=['4230liyGGD','unregister','resolve','plugins','removeComment','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','context','reconnect','Permissions','map','reopen','CommentsService','CommentsRepository','deletedAt','getConnectedSessions','userId','remove','listenTo','getCommentThreads','delete','removeCommentThread','commentThreadResolved','from','collaboration.channelId','code','destroy','_connectService','getMany','pluginName','addCommentThread','getComment','createdAt','assign','updateComment','_services','size','resolvedAt','329TLhaLW','catch','commentAdded','commentThreadReopened','_setUpService','get','_getService','646935EULxds','disconnect','122424yYsAZL','isPremiumPlugin','update','_terminateService','startsWith','adapter','getCommentThread','comments','getUser','addComment','updateCommentThread','404','init','commentThreadUpdated','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','connect','commentThreadAdded','requires','resolveCommentThread','1814730vdYSGW','set','commentThreadId','addUser','add','cloud-services-internal-error:\x20Not\x20connected.','keys','commentRemoved','4vOVgUM','isOfficialPlugin','sessionAdd:','authorId','register','1246140gFjVwD','commentThreadRemoved','off','1803496yylJmY','CloudServicesCommentsAdapter','permissions','attributes','reopenCommentThread','content','_fetchMissingUsersForThreads','message','8937GZXIOz','commentUpdated','mySessionId','resolvedBy','cloudservicescommentsadapter-connect-already-connected','cloudservicescommentsadapter-disconnect-not-exist','4943135CfDANt','commentId','has','cloudservicescommentsadapter-service-not-exist','config'];_0x1584=function(){return _0x51c141;};return _0x1584();}function k(_0x5cc7fa){const _0x2b7d44=_0x121497;if((_0x40a7c8=_0x5cc7fa)[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xb8))||_0x40a7c8[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xfa))||_0x40a7c8[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xef)))return new Promise(()=>{});var _0x40a7c8;throw _0x5cc7fa;}function B(_0x10f720){const _0x1ecbf3=_0x121497;return{'threadId':_0x10f720[_0x1ecbf3(0xf7)],'commentId':_0x10f720[_0x1ecbf3(0xae)],'content':_0x10f720[_0x1ecbf3(0xa4)],'createdAt':_0x10f720[_0x1ecbf3(0xd2)],'authorId':_0x10f720[_0x1ecbf3(0xc2)],'attributes':_0x10f720[_0x1ecbf3(0xa2)]||{}};}
23
+ const _0x43b5f7=_0xd9f0;(function(_0x56f3fb,_0x2051d4){const _0x11aa88=_0xd9f0,_0x52ebfe=_0x56f3fb();while(!![]){try{const _0x6339eb=parseInt(_0x11aa88(0x182))/0x1+-parseInt(_0x11aa88(0x160))/0x2*(-parseInt(_0x11aa88(0x130))/0x3)+-parseInt(_0x11aa88(0x18c))/0x4+parseInt(_0x11aa88(0x154))/0x5+parseInt(_0x11aa88(0x135))/0x6*(-parseInt(_0x11aa88(0x18a))/0x7)+parseInt(_0x11aa88(0x13d))/0x8*(parseInt(_0x11aa88(0x136))/0x9)+-parseInt(_0x11aa88(0x166))/0xa;if(_0x6339eb===_0x2051d4)break;else _0x52ebfe['push'](_0x52ebfe['shift']());}catch(_0x5f4c7d){_0x52ebfe['push'](_0x52ebfe['shift']());}}}(_0x59a9,0xbae1d));import{Context as _0x355a45,ContextPlugin as _0x22b817}from'ckeditor5/src/core.js';import{CKEditorError as _0x33c369}from'ckeditor5/src/utils.js';import{Users as _0x433166}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x579045,User as _0x40487d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x59a9(){const _0x4e6f99=['commentThreadRemoved','commentId','getUser','delete','disconnect','_connectService','commentRemoved','2136HQHdrA','init','content','commentUpdated','removeComment','5130qDLcZq','117NyHIyc','resolvedAt','addCommentThread','reopenCommentThread','CommentsRepository','register','message','505832RXSswN','commentThreadResolved','context','addToReconnectionStack','from','getMany','commentThreadAdded','addUser','adapter','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','has','commentAdded','commentThreadReopened','connect','createdAt','resolvedBy','isOfficialPlugin','isPremiumPlugin','cloud-services-internal-error:\x20Request\x20timeout.','add','_services','keys','4112645WnyZJu','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','assign','code','Permissions','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','sessionAdd:','getCommentThreads','deletedAt','comments','updateCommentThread','3842PxLjFN','map','resolve','plugins','CommentsService','resolveCommentThread','19455190VtkGqJ','reopen','getConnectedSessions','set','404','update','commentThreadId','getComment','catch','size','_fetchMissingUsersForThreads','reconnect','get','config','authorId','_terminateService','userId','_getService','pluginName','requires','permissions','remove','listenTo','destroy','collaboration.channelId','_setUpService','addComment','off','1157622oTkeTr','unregister','attributes','setPermissions','startsWith','cloudservicescommentsadapter-service-not-exist','updateComment','commentThreadUpdated','2324UxYmNd','getCommentThread','4700128tCjWMu','mySessionId','CloudServicesCommentsAdapter'];_0x59a9=function(){return _0x4e6f99;};return _0x59a9();}import{WebSocketGateway as _0x287211}from'../realtimecollaborativeediting/websocketgateway.js';function _0xd9f0(_0x2516f4,_0x32885a){const _0x59a9b6=_0x59a9();return _0xd9f0=function(_0xd9f0b5,_0x41da5b){_0xd9f0b5=_0xd9f0b5-0x12c;let _0x20520d=_0x59a9b6[_0xd9f0b5];return _0x20520d;},_0xd9f0(_0x2516f4,_0x32885a);}import{Sessions as _0x1a994c}from'../realtimecollaborativeediting/sessions.js';class s extends _0x22b817{static [_0x43b5f7(0x164)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x579045)());[_0x43b5f7(0x152)];static get[_0x43b5f7(0x179)](){const _0x1046d2=_0x43b5f7;return[_0x287211,_0x1046d2(0x13a),_0x1a994c,_0x433166];}static get[_0x43b5f7(0x178)](){const _0x20d68f=_0x43b5f7;return _0x20d68f(0x18e);}static get[_0x43b5f7(0x14e)](){return!0x0;}static get[_0x43b5f7(0x14f)](){return!0x0;}constructor(_0x838b29){const _0x146c7c=_0x43b5f7;super(_0x838b29),this[_0x146c7c(0x152)]=new Map();}async[_0x43b5f7(0x131)](){const _0x18b0aa=_0x43b5f7,_0xf05fdf=this[_0x18b0aa(0x13f)],_0x4f0691=_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x18b0aa(0x13a));if(_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x287211)[_0x18b0aa(0x140)](this),_0x4f0691[_0x18b0aa(0x145)]={'addCommentThread':async({channelId:_0x38430c,threadId:_0x405714,comments:_0x5ce76d,resolvedAt:_0x311167,resolvedBy:_0x299b57,context:_0x35f5c1,attributes:_0x39dc47})=>{const _0x445f83=_0x18b0aa,_0x51e55b=await this[_0x445f83(0x177)](_0x38430c)[_0x445f83(0x138)]({'commentThreadId':_0x405714,'comments':_0x5ce76d[_0x445f83(0x161)](_0x1bfa05=>function(_0x9be0d,_0x581a8a,_0x14041e){const _0x3d44b3=_0x445f83;return{'commentThreadId':_0x14041e,'commentId':_0x9be0d[_0x3d44b3(0x190)],'userId':_0x9be0d[_0x3d44b3(0x174)],'content':_0x9be0d[_0x3d44b3(0x132)],'documentId':_0x581a8a,'createdAt':_0x9be0d[_0x3d44b3(0x14c)],'attributes':_0x9be0d[_0x3d44b3(0x184)]||{}};}(_0x1bfa05,_0x38430c,_0x405714)),'resolvedAt':_0x311167,'resolvedBy':_0x299b57,'context':_0x35f5c1,'attributes':_0x39dc47})[_0x445f83(0x16e)](k);return{'threadId':_0x51e55b[_0x445f83(0x16c)],'comments':_0x51e55b[_0x445f83(0x15e)]};},'getCommentThread':async({channelId:_0x5d5c24,threadId:_0x5476e4})=>{const _0x124289=_0x18b0aa,_0x1236a2=await this[_0x124289(0x177)](_0x5d5c24)[_0x124289(0x18b)](_0x5476e4)[_0x124289(0x16e)](k);return _0x1236a2[_0x124289(0x15d)]?null:(await this[_0x124289(0x170)]([_0x1236a2]),{'threadId':_0x1236a2[_0x124289(0x16c)],'comments':_0x1236a2[_0x124289(0x15e)][_0x124289(0x161)](B),'context':_0x1236a2[_0x124289(0x13f)],'resolvedAt':_0x1236a2[_0x124289(0x137)],'resolvedBy':_0x1236a2[_0x124289(0x14d)],'attributes':_0x1236a2[_0x124289(0x184)]||{}});},'updateCommentThread':async({channelId:_0x5c9050,threadId:_0x4b7690,context:_0x36059f,unlinkedAt:_0xb6e70e,attributes:_0x576ec0})=>this[_0x18b0aa(0x177)](_0x5c9050)[_0x18b0aa(0x15f)]({'commentThreadId':_0x4b7690,'context':_0x36059f,'attributes':_0x576ec0,'unlinkedAt':_0xb6e70e})[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'resolveCommentThread':async({channelId:_0x30f7a0,threadId:_0x34dcc3})=>{const _0x3a2e48=_0x18b0aa,_0x233a10=await this[_0x3a2e48(0x177)](_0x30f7a0)[_0x3a2e48(0x165)](_0x34dcc3)[_0x3a2e48(0x16e)](F)[_0x3a2e48(0x16e)](k);return{'threadId':_0x233a10[_0x3a2e48(0x16c)],'resolvedAt':_0x233a10[_0x3a2e48(0x137)],'resolvedBy':_0x233a10[_0x3a2e48(0x14d)]};},'reopenCommentThread':async({channelId:_0x549725,threadId:_0x1c3fe8})=>this[_0x18b0aa(0x177)](_0x549725)[_0x18b0aa(0x139)](_0x1c3fe8)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'removeCommentThread':({channelId:_0x471655,threadId:_0x13c02b})=>this[_0x18b0aa(0x177)](_0x471655)[_0x18b0aa(0x146)](_0x13c02b)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'addComment':({channelId:_0x335306,threadId:_0x43590d,commentId:_0x1f352c,content:_0x182a42,attributes:_0x3948af})=>this[_0x18b0aa(0x177)](_0x335306)[_0x18b0aa(0x180)](_0x43590d,_0x1f352c,_0x182a42,_0x3948af)[_0x18b0aa(0x16e)](k),'updateComment':({channelId:_0x404ceb,threadId:_0x644669,commentId:_0x5917da,content:_0xe0391,attributes:_0x135af7})=>this[_0x18b0aa(0x177)](_0x404ceb)[_0x18b0aa(0x188)](_0x644669,_0x5917da,_0xe0391,_0x135af7)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'removeComment':({channelId:_0x2ebf99,threadId:_0x246c9b,commentId:_0x74f9d8})=>this[_0x18b0aa(0x177)](_0x2ebf99)[_0x18b0aa(0x134)](_0x246c9b,_0x74f9d8)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k)},_0xf05fdf instanceof _0x355a45){const _0x102179=_0xf05fdf[_0x18b0aa(0x173)][_0x18b0aa(0x172)](_0x18b0aa(0x17e)),_0x2c8125=_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x1a994c);await this[_0x18b0aa(0x17f)](_0x102179);const _0x5b162d=await this[_0x18b0aa(0x152)][_0x18b0aa(0x172)](_0x102179)[_0x18b0aa(0x168)]();this[_0x18b0aa(0x17c)](_0x2c8125,_0x18b0aa(0x15b)+_0x102179,(_0x3cb857,{session:_0x564ec5})=>{const _0x43bca0=_0x18b0aa;_0x564ec5['id']===_0x2c8125[_0x43bca0(0x18d)]&&(_0x3cb857[_0x43bca0(0x181)](),this[_0x43bca0(0x13f)][_0x43bca0(0x163)][_0x43bca0(0x172)](_0x43bca0(0x158))[_0x43bca0(0x185)](_0x564ec5[_0x43bca0(0x17a)],_0x102179));}),_0x2c8125[_0x18b0aa(0x13b)](_0x102179,_0x5b162d);}}async[_0x43b5f7(0x17f)](_0x3629b2){const _0x59a9a9=_0x43b5f7;if(this[_0x59a9a9(0x152)][_0x59a9a9(0x148)](_0x3629b2))throw new _0x33c369(_0x59a9a9(0x159),null,{'channelId':_0x3629b2});const _0xc24524=this[_0x59a9a9(0x13f)][_0x59a9a9(0x163)][_0x59a9a9(0x172)](_0x59a9a9(0x13a)),_0x483d19=new s[(_0x59a9a9(0x164))](_0x3629b2);this[_0x59a9a9(0x152)][_0x59a9a9(0x169)](_0x3629b2,_0x483d19),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x143),(_0x1097e2,_0x1357e8)=>{const _0x1fce69=_0x59a9a9,{commentThreadId:_0x365b07,documentId:_0x468f0c,context:_0x3a9a1b,attributes:_0x3dc3d1,resolvedAt:_0x582083,resolvedBy:_0x139742,comments:_0x5407b5}=_0x1357e8;_0xc24524[_0x1fce69(0x18b)](_0x365b07)||_0xc24524[_0x1fce69(0x138)]({'threadId':_0x365b07,'channelId':_0x468f0c,'comments':_0x5407b5?_0x5407b5[_0x1fce69(0x161)](B):[],'context':_0x3a9a1b,'attributes':_0x3dc3d1,'resolvedAt':_0x582083,'resolvedBy':_0x139742,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x189),(_0x513a09,{commentThreadId:_0x1652bf,documentId:_0x51887b,context:_0xf4fd33,unlinkedAt:_0x236035,attributes:_0x4b200b})=>{const _0x43e025=_0x59a9a9;_0xc24524[_0x43e025(0x18b)](_0x1652bf)&&_0xc24524[_0x43e025(0x15f)]({'threadId':_0x1652bf,'channelId':_0x51887b,'context':_0xf4fd33,'unlinkedAt':_0x236035,'attributes':_0x4b200b,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x13e),(_0x2f92a,{commentThreadId:_0x396b2d,resolvedBy:_0x3e8fec,resolvedAt:_0x218b03})=>{const _0x11820a=_0x59a9a9,_0x3055fd=_0xc24524[_0x11820a(0x18b)](_0x396b2d);_0x3055fd&&_0x3055fd[_0x11820a(0x162)]({'resolvedBy':_0x3e8fec,'resolvedAt':_0x218b03,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x14a),(_0x2b944a,{commentThreadId:_0x78d7eb})=>{const _0x1579a0=_0x59a9a9,_0x51fe65=_0xc24524[_0x1579a0(0x18b)](_0x78d7eb);_0x51fe65&&_0x51fe65[_0x1579a0(0x167)]({'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x18f),(_0x25b64b,{commentThreadId:_0x242df5})=>{const _0x479058=_0x59a9a9,_0x18fa6f=_0xc24524[_0x479058(0x18b)](_0x242df5);_0x18fa6f&&_0x18fa6f[_0x479058(0x17b)]({'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x149),(_0x2fee83,_0xdcacab)=>{const _0x51f568=_0x59a9a9,_0x388aa3=_0xdcacab[_0x51f568(0x16c)],_0x5804e5=_0xc24524[_0x51f568(0x18b)](_0x388aa3);_0x5804e5&&_0x5804e5[_0x51f568(0x180)]({...B(_0xdcacab),'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x133),(_0x394a52,{commentThreadId:_0xd93d24,commentId:_0x57960d,content:_0x199f01,attributes:_0x5b9bd8})=>{const _0x24b44c=_0x59a9a9,_0xef7f9c=_0xc24524[_0x24b44c(0x18b)](_0xd93d24);if(_0xef7f9c){const _0x8b2934=_0xef7f9c[_0x24b44c(0x16d)](_0x57960d);_0x8b2934&&_0x8b2934[_0x24b44c(0x16b)]({'content':_0x199f01,'attributes':_0x5b9bd8,'isFromAdapter':!0x0});}}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x12f),(_0x530b8d,{commentThreadId:_0x5ebc20,commentId:_0x444d97})=>{const _0xfc9af=_0x59a9a9,_0x413c09=_0xc24524[_0xfc9af(0x18b)](_0x5ebc20);if(_0x413c09){const _0x15398c=_0x413c09[_0xfc9af(0x16d)](_0x444d97);_0x15398c&&_0x15398c[_0xfc9af(0x17b)]({'isFromAdapter':!0x0});}}),await this[_0x59a9a9(0x12e)](_0x3629b2);}[_0x43b5f7(0x17d)](){const _0x488aa1=_0x43b5f7;if(this[_0x488aa1(0x13f)]instanceof _0x355a45){const _0x1eb737=this[_0x488aa1(0x13f)][_0x488aa1(0x173)][_0x488aa1(0x172)](_0x488aa1(0x17e));this[_0x488aa1(0x175)](_0x1eb737);}}[_0x43b5f7(0x175)](_0x2cafdb){const _0x1a8093=_0x43b5f7;if(!this[_0x1a8093(0x152)][_0x1a8093(0x148)](_0x2cafdb))throw new _0x33c369(_0x1a8093(0x147),null,{'channelId':_0x2cafdb});this[_0x1a8093(0x177)](_0x2cafdb)[_0x1a8093(0x12d)](),this[_0x1a8093(0x152)][_0x1a8093(0x12c)](_0x2cafdb);}async[_0x43b5f7(0x171)](){const _0x145e87=_0x43b5f7;for(const _0x192acc of this[_0x145e87(0x152)][_0x145e87(0x153)]())await this[_0x145e87(0x12e)](_0x192acc);if(this[_0x145e87(0x13f)]instanceof _0x355a45){const _0x425283=this[_0x145e87(0x13f)][_0x145e87(0x173)][_0x145e87(0x172)](_0x145e87(0x17e)),_0x3d68a5=this[_0x145e87(0x13f)][_0x145e87(0x163)][_0x145e87(0x172)](_0x1a994c);_0x3d68a5[_0x145e87(0x183)](_0x425283);const _0xacd6c=await this[_0x145e87(0x152)][_0x145e87(0x172)](_0x425283)[_0x145e87(0x168)]();_0x3d68a5[_0x145e87(0x13b)](_0x425283,_0xacd6c);}}async[_0x43b5f7(0x12e)](_0x3c1c17){const _0x1124df=_0x43b5f7,{connection:_0x3397fe}=this[_0x1124df(0x13f)][_0x1124df(0x163)][_0x1124df(0x172)](_0x287211),_0x420fb6=this[_0x1124df(0x13f)][_0x1124df(0x163)][_0x1124df(0x172)](_0x1124df(0x13a)),_0x58b69b=this[_0x1124df(0x152)][_0x1124df(0x172)](_0x3c1c17),_0x2e8db6=await _0x58b69b[_0x1124df(0x14b)](_0x3397fe);await this[_0x1124df(0x170)](_0x2e8db6);const _0xca330d=new Set(Array[_0x1124df(0x141)](_0x420fb6[_0x1124df(0x15c)]({'channelId':_0x3c1c17}),_0x5c962d=>_0x5c962d['id']));for(const _0x6a422f of _0x2e8db6)_0x6a422f[_0x1124df(0x15d)]||_0xca330d[_0x1124df(0x12c)](_0x6a422f[_0x1124df(0x16c)]);for(const _0x3d8e77 of _0xca330d)_0x420fb6[_0x1124df(0x18b)](_0x3d8e77)[_0x1124df(0x17b)]({'isFromAdapter':!0x0});for(const _0x2b4ce0 of _0x2e8db6){let _0x254c0f=_0x420fb6[_0x1124df(0x18b)](_0x2b4ce0[_0x1124df(0x16c)]);const {commentThreadId:_0x199c74,context:_0x3596f8,attributes:_0x10f2dc,resolvedBy:_0x50105b,resolvedAt:_0x32671a,unlinkedAt:_0x45d920,deletedAt:_0x228663}=_0x2b4ce0;if(_0x228663)continue;_0x254c0f||(_0x254c0f=_0x420fb6[_0x1124df(0x138)]({'channelId':_0x3c1c17,'threadId':_0x199c74,'context':_0x3596f8,'attributes':_0x10f2dc||{},'resolvedBy':_0x50105b,'resolvedAt':_0x32671a,'unlinkedAt':_0x45d920,'isFromAdapter':!0x0}));const _0x2a7022=new Set(Array[_0x1124df(0x141)](_0x254c0f[_0x1124df(0x15e)],_0x2fbae3=>_0x2fbae3['id']));for(const _0x4b3a27 of _0x2b4ce0[_0x1124df(0x15e)])_0x2a7022[_0x1124df(0x12c)](_0x4b3a27[_0x1124df(0x190)]);for(const _0x5e9276 of _0x2a7022)_0x254c0f[_0x1124df(0x16d)](_0x5e9276)[_0x1124df(0x17b)]({'isFromAdapter':!0x0});for(const _0x186f25 of _0x2b4ce0[_0x1124df(0x15e)]){const _0xcf7814=_0x254c0f[_0x1124df(0x16d)](_0x186f25[_0x1124df(0x190)]);_0xcf7814?_0xcf7814[_0x1124df(0x132)]!==_0x186f25[_0x1124df(0x132)]&&_0xcf7814[_0x1124df(0x16b)]({'content':_0x186f25[_0x1124df(0x132)],'isFromAdapter':!0x0}):_0x254c0f[_0x1124df(0x180)](Object[_0x1124df(0x156)](B(_0x186f25),{'isFromAdapter':!0x0}));}}}[_0x43b5f7(0x177)](_0x15baf3){const _0x2265a2=_0x43b5f7;if(!this[_0x2265a2(0x152)][_0x2265a2(0x148)](_0x15baf3))throw new _0x33c369(_0x2265a2(0x187),null,{'channelId':_0x15baf3});return this[_0x2265a2(0x152)][_0x2265a2(0x172)](_0x15baf3);}async[_0x43b5f7(0x170)](_0x301346){const _0x43c1ef=_0x43b5f7,_0x2edb31=this[_0x43c1ef(0x13f)][_0x43c1ef(0x163)][_0x43c1ef(0x172)](_0x433166),{connection:_0x528de0}=this[_0x43c1ef(0x13f)][_0x43c1ef(0x163)][_0x43c1ef(0x172)](_0x287211),_0x2c2b8e=new Set();for(const {resolvedBy:_0x7492ad,comments:_0x41ba0d}of _0x301346){_0x7492ad&&!_0x2edb31[_0x43c1ef(0x191)](_0x7492ad)&&_0x2c2b8e[_0x43c1ef(0x151)](_0x7492ad);for(const {userId:_0x1d79f7}of _0x41ba0d)_0x2edb31[_0x43c1ef(0x191)](_0x1d79f7)||_0x2c2b8e[_0x43c1ef(0x151)](_0x1d79f7);}if(0x0===_0x2c2b8e[_0x43c1ef(0x16f)])return;const _0x54dd5e=await _0x40487d[_0x43c1ef(0x142)](_0x528de0,Array[_0x43c1ef(0x141)](_0x2c2b8e));for(const _0x3193e8 of _0x54dd5e)_0x2edb31[_0x43c1ef(0x191)](_0x3193e8['id'])||_0x2edb31[_0x43c1ef(0x144)](_0x3193e8);}}export{s as CloudServicesCommentsAdapter};async function F(_0x3d6946){const _0x4134f8=_0x43b5f7;if(_0x4134f8(0x16a)!==_0x3d6946[_0x4134f8(0x157)])throw _0x3d6946;}function k(_0x176578){const _0x1d2989=_0x43b5f7;if((_0x56a484=_0x176578)[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x155))||_0x56a484[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x15a))||_0x56a484[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x150)))return new Promise(()=>{});var _0x56a484;throw _0x176578;}function B(_0x4d7566){const _0x3d8372=_0x43b5f7;return{'threadId':_0x4d7566[_0x3d8372(0x16c)],'commentId':_0x4d7566[_0x3d8372(0x190)],'content':_0x4d7566[_0x3d8372(0x132)],'createdAt':_0x4d7566[_0x3d8372(0x14c)],'authorId':_0x4d7566[_0x3d8372(0x176)],'attributes':_0x4d7566[_0x3d8372(0x184)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7198(_0x188925,_0x223b55){const _0x31e90a=_0x31e9();return _0x7198=function(_0x7198d3,_0x342746){_0x7198d3=_0x7198d3-0x1c0;let _0x37a2f6=_0x31e90a[_0x7198d3];return _0x37a2f6;},_0x7198(_0x188925,_0x223b55);}const _0x5699ac=_0x7198;(function(_0x3af09d,_0x9b3d57){const _0x427e95=_0x7198,_0x283f1d=_0x3af09d();while(!![]){try{const _0x4b7c96=parseInt(_0x427e95(0x1dc))/0x1*(-parseInt(_0x427e95(0x1c3))/0x2)+-parseInt(_0x427e95(0x1c9))/0x3*(-parseInt(_0x427e95(0x1d1))/0x4)+parseInt(_0x427e95(0x1e1))/0x5*(-parseInt(_0x427e95(0x1df))/0x6)+-parseInt(_0x427e95(0x1d8))/0x7+parseInt(_0x427e95(0x1ce))/0x8*(parseInt(_0x427e95(0x1dd))/0x9)+parseInt(_0x427e95(0x1e3))/0xa*(-parseInt(_0x427e95(0x1c6))/0xb)+parseInt(_0x427e95(0x1cb))/0xc;if(_0x4b7c96===_0x9b3d57)break;else _0x283f1d['push'](_0x283f1d['shift']());}catch(_0xc11806){_0x283f1d['push'](_0x283f1d['shift']());}}}(_0x31e9,0x446be));import{Plugin as _0x4705c2}from'ckeditor5/src/core.js';function _0x31e9(){const _0x108e05=['3QzFLjo','CommentsEditing','10709988gigwao','switchReadOnly','isPremiumPlugin','16lDWOGx','editor','get','148060zXixAs','plugins','_setUpService','requires','isOfficialPlugin','listenTo','config','1513351TZjQTD','change:state','pluginName','collaboration.channelId','485JhXBUl','1506006ZnOarr','data','90JMdqQJ','RealTimeCollaborativeComments','42485tNHyuT','once','640400YPAmQw','init','ready','isThreadsLoadingPaused','_terminateService','1584ywKsDG','CommentsRepository','destroy','44cBwoaz','Comments','connected'];_0x31e9=function(){return _0x108e05;};return _0x31e9();}import{CloudServicesCommentsAdapter as _0x4bd259}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x17bdea}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4ebd28}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4705c2{static get[_0x5699ac(0x1d4)](){const _0x2a3da5=_0x5699ac;return[_0x2a3da5(0x1c7),_0x4bd259,_0x17bdea,_0x4ebd28];}static get[_0x5699ac(0x1da)](){const _0x2b06ed=_0x5699ac;return _0x2b06ed(0x1e0);}static get[_0x5699ac(0x1d5)](){return!0x0;}static get[_0x5699ac(0x1cd)](){return!0x0;}[_0x5699ac(0x1e4)](){const _0x128635=_0x5699ac,_0x3822b4=this[_0x128635(0x1cf)][_0x128635(0x1d2)][_0x128635(0x1d0)](_0x4ebd28),_0x475164=this[_0x128635(0x1cf)][_0x128635(0x1d2)][_0x128635(0x1d0)](_0x128635(0x1ca)),_0x2b9757=this[_0x128635(0x1cf)][_0x128635(0x1d2)][_0x128635(0x1d0)](_0x4bd259);return this[_0x128635(0x1cf)][_0x128635(0x1de)][_0x128635(0x1e2)](_0x128635(0x1c0),()=>{const _0x2bf8b2=_0x128635;this[_0x2bf8b2(0x1d6)](_0x3822b4,_0x2bf8b2(0x1d9),(_0x327c07,_0x5ea36c,_0x1e90e2)=>{const _0xb83d6f=_0x2bf8b2;_0x475164[_0xb83d6f(0x1c1)]=_0xb83d6f(0x1c8)!==_0x1e90e2;});}),this[_0x128635(0x1d6)](_0x3822b4,_0x128635(0x1d9),(_0x12f1b,_0x28e2d6,_0x32544c)=>{const _0x20ae6=_0x128635;this[_0x20ae6(0x1cf)][_0x20ae6(0x1d2)][_0x20ae6(0x1d0)](_0x20ae6(0x1c4))[_0x20ae6(0x1cc)](_0x20ae6(0x1c8)!==_0x32544c);}),_0x2b9757[_0x128635(0x1d3)](this[_0x128635(0x1cf)][_0x128635(0x1d7)][_0x128635(0x1d0)](_0x128635(0x1db)));}[_0x5699ac(0x1c5)](){const _0x420956=_0x5699ac;this[_0x420956(0x1cf)][_0x420956(0x1d2)][_0x420956(0x1d0)](_0x4bd259)[_0x420956(0x1c2)](this[_0x420956(0x1cf)][_0x420956(0x1d7)][_0x420956(0x1d0)](_0x420956(0x1db))),super[_0x420956(0x1c5)]();}}
23
+ function _0x324c(){const _0x5dd064=['23779283pePyFp','RealTimeCollaborativeComments','Comments','get','switchReadOnly','once','pluginName','_setUpService','editor','4894071SlYOfU','config','4VXABdo','12EXdmFh','collaboration.channelId','data','init','CommentsRepository','listenTo','ready','6smnLRi','2036YEOKNI','_terminateService','destroy','connected','isPremiumPlugin','isOfficialPlugin','3099zqoyZn','3780010pwPJnQ','change:state','5468360mzfsPV','plugins','78439MlpMBr','requires','9rgPFpD','4863720GJezYb','CommentsEditing','isThreadsLoadingPaused'];_0x324c=function(){return _0x5dd064;};return _0x324c();}const _0x121a20=_0x4405;function _0x4405(_0x259543,_0x593682){const _0x324c72=_0x324c();return _0x4405=function(_0x44053d,_0x35ca40){_0x44053d=_0x44053d-0x9e;let _0x2f2596=_0x324c72[_0x44053d];return _0x2f2596;},_0x4405(_0x259543,_0x593682);}(function(_0x48802d,_0xcdc4aa){const _0x2952c8=_0x4405,_0x2805b7=_0x48802d();while(!![]){try{const _0x391496=parseInt(_0x2952c8(0xab))/0x1*(-parseInt(_0x2952c8(0xbc))/0x2)+-parseInt(_0x2952c8(0xa6))/0x3*(-parseInt(_0x2952c8(0xa0))/0x4)+-parseInt(_0x2952c8(0xae))/0x5*(parseInt(_0x2952c8(0x9f))/0x6)+-parseInt(_0x2952c8(0xba))/0x7+parseInt(_0x2952c8(0xa9))/0x8*(-parseInt(_0x2952c8(0xad))/0x9)+parseInt(_0x2952c8(0xa7))/0xa+parseInt(_0x2952c8(0xb1))/0xb*(parseInt(_0x2952c8(0xbd))/0xc);if(_0x391496===_0xcdc4aa)break;else _0x2805b7['push'](_0x2805b7['shift']());}catch(_0x4e00de){_0x2805b7['push'](_0x2805b7['shift']());}}}(_0x324c,0x8710f));import{Plugin as _0x27b900}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2f0efd}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4d0b49}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x508832}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x27b900{static get[_0x121a20(0xac)](){const _0x2c08f4=_0x121a20;return[_0x2c08f4(0xb3),_0x2f0efd,_0x4d0b49,_0x508832];}static get[_0x121a20(0xb7)](){const _0x56405f=_0x121a20;return _0x56405f(0xb2);}static get[_0x121a20(0xa5)](){return!0x0;}static get[_0x121a20(0xa4)](){return!0x0;}[_0x121a20(0xc0)](){const _0x4c7dda=_0x121a20,_0x5b4125=this[_0x4c7dda(0xb9)][_0x4c7dda(0xaa)][_0x4c7dda(0xb4)](_0x508832),_0x4d8e1c=this[_0x4c7dda(0xb9)][_0x4c7dda(0xaa)][_0x4c7dda(0xb4)](_0x4c7dda(0xaf)),_0x3cbc8a=this[_0x4c7dda(0xb9)][_0x4c7dda(0xaa)][_0x4c7dda(0xb4)](_0x2f0efd);return this[_0x4c7dda(0xb9)][_0x4c7dda(0xbf)][_0x4c7dda(0xb6)](_0x4c7dda(0x9e),()=>{const _0x1fce1e=_0x4c7dda;this[_0x1fce1e(0xc2)](_0x5b4125,_0x1fce1e(0xa8),(_0x5e6674,_0x34cb08,_0x3f9eea)=>{const _0x554a32=_0x1fce1e;_0x4d8e1c[_0x554a32(0xb0)]=_0x554a32(0xa3)!==_0x3f9eea;});}),this[_0x4c7dda(0xc2)](_0x5b4125,_0x4c7dda(0xa8),(_0x488105,_0x1f1e84,_0x4c984f)=>{const _0x3c3696=_0x4c7dda;this[_0x3c3696(0xb9)][_0x3c3696(0xaa)][_0x3c3696(0xb4)](_0x3c3696(0xc1))[_0x3c3696(0xb5)](_0x3c3696(0xa3)!==_0x4c984f);}),_0x3cbc8a[_0x4c7dda(0xb8)](this[_0x4c7dda(0xb9)][_0x4c7dda(0xbb)][_0x4c7dda(0xb4)](_0x4c7dda(0xbe)));}[_0x121a20(0xa2)](){const _0x214904=_0x121a20;this[_0x214904(0xb9)][_0x214904(0xaa)][_0x214904(0xb4)](_0x2f0efd)[_0x214904(0xa1)](this[_0x214904(0xb9)][_0x214904(0xbb)][_0x214904(0xb4)](_0x214904(0xbe))),super[_0x214904(0xa2)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3abe2c=_0xb3cd;(function(_0x17acba,_0x14b0b4){const _0x887776=_0xb3cd,_0x5d6a28=_0x17acba();while(!![]){try{const _0xa4f113=parseInt(_0x887776(0x1b4))/0x1*(-parseInt(_0x887776(0x20c))/0x2)+-parseInt(_0x887776(0x1df))/0x3+-parseInt(_0x887776(0x278))/0x4+parseInt(_0x887776(0x1c4))/0x5*(parseInt(_0x887776(0x1de))/0x6)+-parseInt(_0x887776(0x20a))/0x7+-parseInt(_0x887776(0x27a))/0x8*(-parseInt(_0x887776(0x290))/0x9)+parseInt(_0x887776(0x282))/0xa*(parseInt(_0x887776(0x1f9))/0xb);if(_0xa4f113===_0x14b0b4)break;else _0x5d6a28['push'](_0x5d6a28['shift']());}catch(_0xe069fc){_0x5d6a28['push'](_0x5d6a28['shift']());}}}(_0x4d74,0x847ea));import{Plugin as _0x236759,PendingActions as _0x23aa24}from'ckeditor5/src/core.js';import{CKEditorError as _0x439548,version as _0x1678f4,uid as _0x4feefc}from'ckeditor5/src/utils.js';import{Notification as _0x56108a}from'ckeditor5/src/ui.js';function _0xb3cd(_0x53452c,_0x30af12){const _0x4d74e6=_0x4d74();return _0xb3cd=function(_0xb3cd86,_0x1337d1){_0xb3cd86=_0xb3cd86-0x1a8;let _0xcb8e6d=_0x4d74e6[_0xb3cd86];return _0xcb8e6d;},_0xb3cd(_0x53452c,_0x30af12);}import{transformOperationSets as _0xde2f7b,NoOperation as _0x3b9292,InsertOperation as _0x1ea9ed,MarkerOperation as _0x5ea9ef,RootAttributeOperation as _0x2d80ce,OperationFactory as _0x5c3a24,History as _0x246aa4}from'ckeditor5/src/engine.js';function _0x4d74(){const _0x157f74=['cloud-services-internal-error:\x20Request\x20timeout.','message','marker','_refreshUserSelectionMarkers','Permissions','position','getDocumentDetails','createUserMarkerOperations','getMany','enableReadOnlyMode','addUser','getConnectedSessions','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','targetPosition','initData','Synchronization\x20issue','set','addOperation','createRoot','_fetchMissingUsers','createPositionFromPath','real-time-collaboration','_bufferRootLoad','_clearPendingAction','isPremiumPlugin','_shouldSendSelectionUpdate','createPositionAt','sessionId','InsertOperation','addRoot','round','reconnect','reset','addToReconnectionStack','map','807LupPyI','_authorId','_sendBufferedOperations','lastDocumentSession','move','affectedSelectable','plugins','listenTo','lastOperationAcceptedAt','add','_connectService','entries','_isInit','RealTimeCollaborationClient','_isPendingUpdate','_handleReconnectionError','1335SZptMY','off','locale','wereChangesApplied','markers','requires','_disconnectService','clone','getIdOfTheLastOperation','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-sendbufferedoperations','slice','_channelId','_crash','startsWith','realtimecollaborationclient-init-connection-failed','register','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','end','$root','_applyOperationsSet','destroy','offset','rootsAttributes','sessionAdd:','_baseBufferDelay','5298IpInna','3079608WoaKto','realtimecollaborationclient-handleserverresponse','_isLoaded','realtimecollaborationclient-init-service-internal-error','catch','404','Notification','_lastServerVersion','currentDocumentSession','_waitUntilSynced','collaboration-missing-channelid','addRootAttribute','rtc-destroyed','_hasSelectionChanged','connection','compress','path','lastOperationId','_compressor','getUser','_getAffectedRoot','showWarning','then','wasUndone','setIdForTheLastOperation','fromJSON','28440456JCcWYW','removeFromReconnectionStack','parse','_lastSyncedOperationId','_handleServerResponse','realtimecollaborationclient-error','includes','_operationIdentifier','disableReadOnlyMode','realtimecollaborationclient-init-session-connection-error','__className','permissions','createdAt','realtimecollaborationclient-init-service-incorrect-server-operation','_service','batch','unregister','3892224FfhRcC','has','2242kevVqf','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stop','_shouldSendUpdate','length','version','roots','stopListening','define','string','realtimecollaborationclient','suppressErrorInCollaboration','_handleInitialConnectionData','_compressOperations','getOperations','from','pluginName','editor','_isAttached','_sendBufferedOperationsDelayed','_operationToId','root','keys','differ','newRange','get','getOperationAuthor','_knownOperations','operationsReceived','config','getRoot','change:hasDomSelection','history','isUndoneOperation','code','isDocumentOperation','metadata','userId','cloudDocumentVersion','_handleSendingSelectionMarkers','model','cloud-services-internal-error:\x20Not\x20connected.','rootName','_connectAfterSessionHasBeenFlushed','_pendingAction','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.','isOfficialPlugin','_getOperationsFromInitData','change:_isPendingUpdate','high','insert','_isEditingAllowed','return','applyOperation','_disconnectionOperations','isEnabled','view','apply','realtimecollaborationclient-init-non-existent-root','loadRoot','directChange','_offset','data','ready','channelSessions','_document','connect','setPermissions','init','bind','editing','state','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_updateServerHistory','sendOperations','sessionCreatedAt','enqueueChange','_bufferedOperations','serverHistory','_handleReceivedOperations','affectsData','error','push','_handleExternalOperations','_saveOperationInBuffer','_hasSynchronizationProblem','decompress','remove','rtc-offline','baseVersion','connected','lastSyncVersion','toJSON','_initSessionsHandling','_sendBufferedOperationsDelayId','409','_addKnownRoot','start','collaboration.channelId','_handleReconnectionResponse','CommentsOnly','disconnect','cloudServices.bundleVersion','reconnection:\x20flushed\x20session','forEach','document:write','type','disconnected','2582664eOtQOr','cs:removeUser','48lWQiCq','isReadOnly','change:_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','document','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.','_currentBufferDelay','PENDING_ACTION_SENDING_DATA','10FJJGfW','_ignoredOperations','attributes','fire','createRange','mySessionId','_setPendingAction','_initThrowingOnDataSet','_loadRoot','_isDisconnection','_isConnected','_knownRootNames','collaboration','filter','1281483lKicHu','selection','size','_setUpDataInit','CollaborativeEditingService','change:range','finally','_decompressOperations'];_0x4d74=function(){return _0x157f74;};return _0x4d74();}import{WebSocketGateway as _0x5c43bc}from'./websocketgateway.js';import{Sessions as _0x47403e}from'./sessions.js';import{UserMarkers as _0x50211f}from'./usermarkers.js';import{getTranslation as _0x45734c}from'../common-translations.js';import{Compressor as _0x4ebd40}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2ed45e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x53b797,CollaborativeEditingService as _0x11441f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x236759{static [_0x3abe2c(0x294)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x11441f)());[_0x3abe2c(0x249)];[_0x3abe2c(0x1ac)];[_0x3abe2c(0x25a)];[_0x3abe2c(0x1d0)];[_0x3abe2c(0x207)];[_0x3abe2c(0x24d)];[_0x3abe2c(0x1f1)];[_0x3abe2c(0x259)];[_0x3abe2c(0x227)];[_0x3abe2c(0x28d)];[_0x3abe2c(0x238)];[_0x3abe2c(0x1ec)];[_0x3abe2c(0x26a)];[_0x3abe2c(0x1dd)];[_0x3abe2c(0x280)];[_0x3abe2c(0x1fc)];[_0x3abe2c(0x242)];[_0x3abe2c(0x200)];static get[_0x3abe2c(0x1c9)](){return[_0x5c43bc,_0x47403e,_0x50211f,_0x23aa24,_0x2ed45e,_0x56108a];}static get[_0x3abe2c(0x21c)](){const _0x14e5b0=_0x3abe2c;return _0x14e5b0(0x1c1);}static get[_0x3abe2c(0x23a)](){return!0x0;}static get[_0x3abe2c(0x1a9)](){return!0x0;}get[_0x3abe2c(0x232)](){const _0x5ef91e=_0x3abe2c;return this[_0x5ef91e(0x1e6)]+this[_0x5ef91e(0x249)];}get[_0x3abe2c(0x1e6)](){const _0x466e9d=_0x3abe2c;return this[_0x466e9d(0x25a)][_0x466e9d(0x211)]-this[_0x466e9d(0x249)];}get[_0x3abe2c(0x267)](){const _0x6706e3=_0x3abe2c,_0x5ce778=this[_0x6706e3(0x25a)][_0x6706e3(0x21a)]();for(let _0x19ddc6=_0x5ce778[_0x6706e3(0x210)]-0x1;_0x19ddc6>=0x0;_0x19ddc6--){const _0x113e2f=_0x5ce778[_0x19ddc6];if(!this[_0x6706e3(0x242)][_0x6706e3(0x20b)](_0x113e2f))return _0x113e2f[_0x6706e3(0x265)]+0x1-this[_0x6706e3(0x249)];}return 0x0;}constructor(_0x43cef7){const _0x466464=_0x3abe2c;if(super(_0x43cef7),this[_0x466464(0x249)]=0x0,this[_0x466464(0x1ac)]=null,this[_0x466464(0x25a)]=new _0x246aa4(),this[_0x466464(0x21d)][_0x466464(0x229)][_0x466464(0x214)](_0x466464(0x28e),{}),this[_0x466464(0x1d0)]=this[_0x466464(0x21d)][_0x466464(0x229)][_0x466464(0x225)](_0x466464(0x26e)),!this[_0x466464(0x1d0)])throw new _0x439548(_0x466464(0x1e9),this);const _0x5716ab=_0x43cef7[_0x466464(0x229)][_0x466464(0x225)](_0x466464(0x272))||_0x1678f4;this[_0x466464(0x207)]=new l[(_0x466464(0x294))](_0x5716ab,this[_0x466464(0x1d0)]),this[_0x466464(0x24d)]=this[_0x466464(0x21d)][_0x466464(0x234)][_0x466464(0x27e)],this[_0x466464(0x1f1)]=new _0x4ebd40(),this[_0x466464(0x259)]=[],this[_0x466464(0x227)]=new WeakSet(),this[_0x466464(0x28d)]=new Set(),this[_0x466464(0x2a8)](_0x466464(0x1c2),!0x1),this[_0x466464(0x2a8)](_0x466464(0x261),!0x1),this[_0x466464(0x238)]=null,this[_0x466464(0x1ec)]=!0x1,this[_0x466464(0x26a)]=null,this[_0x466464(0x1dd)]=0x12c,this[_0x466464(0x280)]=this[_0x466464(0x1dd)],this[_0x466464(0x1fc)]=null,this[_0x466464(0x242)]=new WeakSet(),this[_0x466464(0x200)]=new Z(this[_0x466464(0x242)]);}[_0x3abe2c(0x250)](){const _0x55c514=_0x3abe2c,_0x513de5=this[_0x55c514(0x21d)],_0xdc3a59=_0x513de5[_0x55c514(0x1ba)][_0x55c514(0x225)](_0x2ed45e),_0x6ba0f9=_0x513de5[_0x55c514(0x1ba)][_0x55c514(0x225)](_0x5c43bc);this[_0x55c514(0x1bb)](_0xdc3a59,_0x55c514(0x226),(_0x5f09d1,_0x20d39a)=>{const _0x5b68c5=_0x55c514,_0x1df39f=_0x20d39a[0x0];_0x1df39f[_0x5b68c5(0x1b5)]&&(_0x5f09d1[_0x5b68c5(0x240)]=_0xdc3a59[_0x5b68c5(0x1f2)](_0x1df39f[_0x5b68c5(0x1b5)]),_0x5f09d1[_0x5b68c5(0x20e)]()),null===_0x1df39f[_0x5b68c5(0x1b5)]&&(_0x5f09d1[_0x5b68c5(0x240)]=null,_0x5f09d1[_0x5b68c5(0x20e)]());},{'priority':_0x55c514(0x23d)}),this[_0x55c514(0x1bb)](_0x513de5[_0x55c514(0x234)][_0x55c514(0x27e)][_0x55c514(0x291)],_0x55c514(0x295),(_0x57497d,_0x338af8)=>{const _0x503d4b=_0x55c514;_0x338af8[_0x503d4b(0x248)]&&this[_0x503d4b(0x29b)]();}),this[_0x55c514(0x1bb)](_0x513de5[_0x55c514(0x252)][_0x55c514(0x244)],_0x55c514(0x22b),()=>{const _0x36f7fd=_0x55c514;this[_0x36f7fd(0x29b)]();}),this[_0x55c514(0x289)](),_0x513de5[_0x55c514(0x234)]['on'](_0x55c514(0x241),(_0x21a95c,_0x49c841)=>{const _0x12bf7f=_0x55c514,_0x5c61ef=_0x49c841[0x0];_0x5c61ef[_0x12bf7f(0x22f)]&&(this[_0x12bf7f(0x260)](_0x5c61ef),this[_0x12bf7f(0x20f)]()&&this[_0x12bf7f(0x21f)]());}),this[_0x55c514(0x293)](),this[_0x55c514(0x251)](_0x55c514(0x23f))['to'](_0x6ba0f9,_0x55c514(0x253),this,_0x55c514(0x261),(_0x5a2a13,_0x52937c)=>_0x55c514(0x266)===_0x5a2a13&&!_0x52937c),this['on'](_0x55c514(0x27c),()=>{const _0x58dc50=_0x55c514;this[_0x58dc50(0x23f)]?_0x513de5[_0x58dc50(0x201)](_0x58dc50(0x264)):_0x513de5[_0x58dc50(0x2a1)](_0x58dc50(0x264));}),this[_0x55c514(0x23f)]?_0x513de5[_0x55c514(0x201)](_0x55c514(0x264)):_0x513de5[_0x55c514(0x2a1)](_0x55c514(0x264)),this[_0x55c514(0x2a8)](_0x55c514(0x28c),!0x1);}async[_0x3abe2c(0x1b0)](){const _0x53a9a8=_0x3abe2c,_0x363edd=this[_0x53a9a8(0x21d)][_0x53a9a8(0x1ba)][_0x53a9a8(0x225)](_0x47403e),_0x39db35=this[_0x53a9a8(0x21d)][_0x53a9a8(0x1ba)][_0x53a9a8(0x225)](_0x5c43bc);try{this[_0x53a9a8(0x1c2)]=!0x0,_0x363edd[_0x53a9a8(0x209)](this[_0x53a9a8(0x1d0)]);const _0x117c7f=await this[_0x53a9a8(0x207)][_0x53a9a8(0x1b0)](_0x39db35[_0x53a9a8(0x1ed)],this[_0x53a9a8(0x267)]);await this[_0x53a9a8(0x26f)](_0x117c7f)&&(this[_0x53a9a8(0x1c2)]=!0x1,this[_0x53a9a8(0x1a8)]());const _0x210bc1=await this[_0x53a9a8(0x207)][_0x53a9a8(0x2a3)]();_0x363edd[_0x53a9a8(0x1d4)](this[_0x53a9a8(0x1d0)],_0x210bc1),this[_0x53a9a8(0x233)](),this[_0x53a9a8(0x28c)]=!0x0;}catch(_0x28b6e7){if(function(_0x3c5e31){const _0x540b0b=_0x53a9a8;return _0x540b0b(0x1e4)===_0x3c5e31[_0x540b0b(0x22e)];}(_0x28b6e7)&&this[_0x53a9a8(0x1ac)])await this[_0x53a9a8(0x237)]();else{if(function(_0x3e7c76){const _0x900632=_0x53a9a8;return _0x900632(0x26b)===_0x3e7c76[_0x900632(0x22e)];}(_0x28b6e7)){const _0x2392c1=_0x45734c(this[_0x53a9a8(0x21d)][_0x53a9a8(0x1c6)],_0x53a9a8(0x254));this[_0x53a9a8(0x1c3)](_0x2392c1);}else{if(!(_0x28b6e7 instanceof X))throw _0x28b6e7;this[_0x53a9a8(0x1c3)]();}}}}[_0x3abe2c(0x1d9)](){const _0x21a849=_0x3abe2c,_0x102b5c=this[_0x21a849(0x21d)][_0x21a849(0x1ba)][_0x21a849(0x225)](_0x5c43bc),_0x101b50=this[_0x21a849(0x21d)][_0x21a849(0x1ba)][_0x21a849(0x225)](_0x47403e);this[_0x21a849(0x21d)][_0x21a849(0x2a1)](_0x21a849(0x1eb)),_0x101b50[_0x21a849(0x24c)][_0x21a849(0x20b)](this[_0x21a849(0x1d0)])&&_0x101b50[_0x21a849(0x209)](this[_0x21a849(0x1d0)]),_0x102b5c[_0x21a849(0x1fa)](this),this[_0x21a849(0x1ca)](),super[_0x21a849(0x1d9)]();}async[_0x3abe2c(0x26f)](_0x440de0){const _0x1869ef=_0x3abe2c;if(this[_0x1869ef(0x1ac)]!==_0x440de0[_0x1869ef(0x1ac)]&&this[_0x1869ef(0x1fc)]!==_0x440de0[_0x1869ef(0x1f0)])throw new X();return this[_0x1869ef(0x1ac)]=_0x440de0[_0x1869ef(0x1ac)],this[_0x1869ef(0x1fd)]([],{..._0x440de0,'wereChangesApplied':!0x1,'data':_0x440de0[_0x1869ef(0x24a)]},_0x1869ef(0x1b0));}async[_0x3abe2c(0x1be)](_0xace604,_0xe37450=!0x1){const _0x21aaa7=_0x3abe2c,{connection:_0x32b24d}=this[_0x21aaa7(0x21d)][_0x21aaa7(0x1ba)][_0x21aaa7(0x225)](_0x5c43bc);l[_0x21aaa7(0x294)][_0x21aaa7(0x2a3)](_0x32b24d,this[_0x21aaa7(0x1d0)])[_0x21aaa7(0x1f5)](_0x13c315=>this[_0x21aaa7(0x269)](_0x13c315))[_0x21aaa7(0x1e3)](_0x51f739=>{const _0x26df9a=_0x21aaa7;this[_0x26df9a(0x1d1)](_0x26df9a(0x202),_0x51f739);}),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x228),this[_0x21aaa7(0x25b)][_0x21aaa7(0x251)](this)),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x25d),(_0x3c3764,_0x46d28f)=>{const _0x2125e8=_0x21aaa7;this[_0x2125e8(0x1d1)](_0x2125e8(0x1e2),_0x46d28f);}),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x277),()=>{const _0xdd7d71=_0x21aaa7;this[_0xdd7d71(0x28c)]=!0x1;});const _0x2b2fee=this[_0x21aaa7(0x200)][_0x21aaa7(0x1cc)](_0xace604);this[_0x21aaa7(0x1c2)]=!0x0;const _0x44ea09=await this[_0x21aaa7(0x207)][_0x21aaa7(0x24e)](_0x32b24d,this[_0x21aaa7(0x219)](_0xace604),_0x2b2fee);if(this[_0x21aaa7(0x1ac)]=_0x44ea09[_0x21aaa7(0x1ac)],_0xe37450){if(!_0x44ea09[_0x21aaa7(0x1c7)])return void this[_0x21aaa7(0x1c3)]();this[_0x21aaa7(0x1c2)]=!0x1,this[_0x21aaa7(0x1a8)](),this[_0x21aaa7(0x25a)][_0x21aaa7(0x1b1)](),this[_0x21aaa7(0x249)]=_0x44ea09[_0x21aaa7(0x1da)],this[_0x21aaa7(0x25a)][_0x21aaa7(0x211)]=this[_0x21aaa7(0x249)],await this[_0x21aaa7(0x1fd)](_0xace604,_0x44ea09,_0x21aaa7(0x273));}else await this[_0x21aaa7(0x218)](_0x44ea09,_0xace604);this[_0x21aaa7(0x233)](),this[_0x21aaa7(0x28c)]=!0x0;}[_0x3abe2c(0x233)](){const _0x83c22e=_0x3abe2c,_0x544ab6=this[_0x83c22e(0x21d)][_0x83c22e(0x1ba)][_0x83c22e(0x225)](_0x47403e),_0x1fe14b=this[_0x83c22e(0x21d)][_0x83c22e(0x1ba)][_0x83c22e(0x225)](_0x50211f),_0x548c2f=_0x544ab6[_0x83c22e(0x24c)][_0x83c22e(0x225)](this[_0x83c22e(0x1d0)]);_0x548c2f&&_0x548c2f[_0x83c22e(0x210)]>0x1?_0x1fe14b[_0x83c22e(0x29f)]():this[_0x83c22e(0x1bb)](_0x544ab6,_0x83c22e(0x1dc)+this[_0x83c22e(0x1d0)],()=>{const _0x405e6f=_0x83c22e;0x2===_0x544ab6[_0x405e6f(0x24c)][_0x405e6f(0x225)](this[_0x405e6f(0x1d0)])[_0x405e6f(0x210)]&&_0x1fe14b[_0x405e6f(0x29f)]();});}async[_0x3abe2c(0x25b)](_0xfd15d2,_0x3be768,_0x58f409,_0x495131){const _0x55a3c6=_0x3abe2c;if(!this[_0x55a3c6(0x1c2)]&&this[_0x55a3c6(0x24d)][_0x55a3c6(0x211)]==_0x3be768){const _0x99606=this[_0x55a3c6(0x297)](_0x58f409,_0x495131);await this[_0x55a3c6(0x2ab)](_0x99606),this[_0x55a3c6(0x25f)](_0x99606,_0x3be768,_0x58f409[_0x55a3c6(0x1f0)])||this[_0x55a3c6(0x1d1)](_0x55a3c6(0x206));}}async[_0x3abe2c(0x237)](){const _0x3cb8f4=_0x3abe2c;this[_0x3cb8f4(0x1ca)]();const {locale:_0x5abca2}=this[_0x3cb8f4(0x21d)];let _0x1a0668;try{_0x1a0668=await this[_0x3cb8f4(0x207)][_0x3cb8f4(0x29e)]();}catch{const _0x5391ad=_0x45734c(_0x5abca2,_0x3cb8f4(0x20d));return void this[_0x3cb8f4(0x1c3)](_0x5391ad);}const _0x10ddd2=_0x1a0668[_0x3cb8f4(0x1e7)]||_0x1a0668[_0x3cb8f4(0x1b7)];if(this[_0x3cb8f4(0x1fc)]!==_0x10ddd2[_0x3cb8f4(0x1f0)]){const _0x18d4cf=_0x45734c(_0x5abca2,_0x3cb8f4(0x239));return void this[_0x3cb8f4(0x1c3)](_0x18d4cf);}await this[_0x3cb8f4(0x1be)](this[_0x3cb8f4(0x21d)][_0x3cb8f4(0x234)][_0x3cb8f4(0x27e)][_0x3cb8f4(0x22c)][_0x3cb8f4(0x21a)](),!0x0);}[_0x3abe2c(0x1ca)](){const _0x109c01=_0x3abe2c;this[_0x109c01(0x207)][_0x109c01(0x271)](),this[_0x109c01(0x259)]=[],clearTimeout(this[_0x109c01(0x26a)]),this[_0x109c01(0x213)](this[_0x109c01(0x207)]);}[_0x3abe2c(0x269)](_0x369f9c){const _0x416f0a=_0x3abe2c,_0x4b17aa=this[_0x416f0a(0x21d)][_0x416f0a(0x1ba)][_0x416f0a(0x225)](_0x47403e);this[_0x416f0a(0x1bb)](_0x4b17aa,_0x416f0a(0x1dc)+this[_0x416f0a(0x1d0)],(_0x366dc6,{session:_0xe9d8b3})=>{const _0x5c9ce2=_0x416f0a;if(_0xe9d8b3['id']===_0x4b17aa[_0x5c9ce2(0x287)]){_0x366dc6[_0x5c9ce2(0x1c5)]();const _0x19c2e7=this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x20b)](_0x5c9ce2(0x270))&&this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x225)](_0x5c9ce2(0x270));let _0x23f32a=_0xe9d8b3[_0x5c9ce2(0x204)];_0x19c2e7&&_0x19c2e7[_0x5c9ce2(0x243)]&&(_0x23f32a=_0x23f32a[_0x5c9ce2(0x28f)](_0x30be11=>_0x5c9ce2(0x275)!==_0x30be11)),this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x225)](_0x5c9ce2(0x29c))[_0x5c9ce2(0x24f)](_0x23f32a,this[_0x5c9ce2(0x1d0)]);}}),_0x4b17aa[_0x416f0a(0x1d4)](this[_0x416f0a(0x1d0)],_0x369f9c);}[_0x3abe2c(0x289)](){const _0x41efa8=_0x3abe2c,_0x1dbffe=this[_0x41efa8(0x21d)][_0x41efa8(0x24a)][_0x41efa8(0x2a8)];this[_0x41efa8(0x21d)][_0x41efa8(0x24a)][_0x41efa8(0x2a8)]=(..._0x50f18a)=>{const _0x2bfa28=_0x41efa8;if(!_0x50f18a[_0x50f18a[_0x2bfa28(0x210)]-0x1][_0x2bfa28(0x217)])throw new _0x439548(_0x2bfa28(0x1d5),this);_0x1dbffe[_0x2bfa28(0x245)](this[_0x2bfa28(0x21d)][_0x2bfa28(0x24a)],_0x50f18a);};}[_0x3abe2c(0x293)](){const _0x2b8182=_0x3abe2c;this[_0x2b8182(0x21d)][_0x2b8182(0x24a)]['on'](_0x2b8182(0x250),(_0x5d8c8c,[_0x5968d6])=>{const _0x3dca9a=_0x2b8182;if(this[_0x3dca9a(0x24d)][_0x3dca9a(0x211)])throw new _0x439548(_0x3dca9a(0x27d),this);_0x5d8c8c[_0x3dca9a(0x20e)](),this[_0x3dca9a(0x288)]();const _0x478937=this[_0x3dca9a(0x21d)][_0x3dca9a(0x229)][_0x3dca9a(0x225)](_0x3dca9a(0x1db)),_0x31959c=this[_0x3dca9a(0x23b)](_0x5968d6,_0x478937);0x0==_0x31959c[_0x3dca9a(0x210)]&&_0x31959c[_0x3dca9a(0x25e)](new _0x3b9292(0x0)),_0x5d8c8c[_0x3dca9a(0x240)]=this[_0x3dca9a(0x1be)](_0x31959c)[_0x3dca9a(0x1f5)](()=>{const _0x145cff=_0x3dca9a;this[_0x145cff(0x21d)][_0x145cff(0x1ba)][_0x145cff(0x225)](_0x5c43bc)[_0x145cff(0x1b2)](this),this[_0x145cff(0x21d)][_0x145cff(0x24a)][_0x145cff(0x285)](_0x145cff(0x24b));})[_0x3dca9a(0x1e3)](_0x40071f=>this[_0x3dca9a(0x1d1)](_0x3dca9a(0x1d3),_0x40071f))[_0x3dca9a(0x296)](()=>this[_0x3dca9a(0x1a8)]());},{'priority':_0x2b8182(0x23d)}),this[_0x2b8182(0x21d)]['on'](_0x2b8182(0x247),async(_0x53ee5d,[_0x246300,_0x2d6cca])=>{const _0x21c3f2=_0x2b8182;_0x53ee5d[_0x21c3f2(0x20e)]();const _0x241303=this[_0x21c3f2(0x21d)][_0x21c3f2(0x234)][_0x21c3f2(0x27e)][_0x21c3f2(0x22a)](_0x246300);if(!this[_0x21c3f2(0x28d)][_0x21c3f2(0x20b)](_0x246300)){const _0x12a3c1=_0x2d6cca&&_0x2d6cca[_0x21c3f2(0x24a)]?_0x2d6cca[_0x21c3f2(0x24a)]:'',_0x302613=_0x2d6cca&&_0x2d6cca[_0x21c3f2(0x284)]?_0x2d6cca[_0x21c3f2(0x284)]:{};await this[_0x21c3f2(0x28a)](_0x246300,_0x12a3c1,_0x302613);}this[_0x21c3f2(0x21d)][_0x21c3f2(0x234)][_0x21c3f2(0x258)]({'isUndoable':!0x1},()=>{const _0x1eb596=_0x21c3f2;_0x241303[_0x1eb596(0x1e1)]=!0x0,this[_0x1eb596(0x21d)][_0x1eb596(0x234)][_0x1eb596(0x27e)][_0x1eb596(0x223)][_0x1eb596(0x2ae)](_0x241303);});},{'priority':_0x2b8182(0x23d)});}async[_0x3abe2c(0x2ab)](_0x13cd3d){const _0x3a2d7a=_0x3abe2c,_0x5dca63=this[_0x3a2d7a(0x21d)][_0x3a2d7a(0x1ba)][_0x3a2d7a(0x225)](_0x2ed45e),{connection:_0x3aa1b4}=this[_0x3a2d7a(0x21d)][_0x3a2d7a(0x1ba)][_0x3a2d7a(0x225)](_0x5c43bc),_0x1eb301=new Set();for(const _0x5d4b4a of _0x13cd3d){const _0x2e84fc=_0x5d4b4a[_0x3a2d7a(0x1b5)];_0x2e84fc&&!_0x5dca63[_0x3a2d7a(0x1f2)](_0x2e84fc)&&_0x1eb301[_0x3a2d7a(0x1bd)](_0x2e84fc);}if(0x0===_0x1eb301[_0x3a2d7a(0x292)])return;const _0x57373a=await _0x53b797[_0x3a2d7a(0x2a0)](_0x3aa1b4,Array[_0x3a2d7a(0x21b)](_0x1eb301));for(const _0x16c319 of _0x57373a)_0x5dca63[_0x3a2d7a(0x1f2)](_0x16c319['id'])||_0x5dca63[_0x3a2d7a(0x2a2)](_0x16c319);}[_0x3abe2c(0x23b)](_0x5bfca8,_0x1fc850={}){const _0x153ef2=_0x3abe2c,_0x3728d7=this[_0x153ef2(0x21d)][_0x153ef2(0x234)],_0x890649=[];let _0x581f3b=0x0;const _0x5d2754=_0x153ef2(0x215)==typeof _0x5bfca8?{'main':_0x5bfca8}:_0x5bfca8;for(const _0x177e81 of Object[_0x153ef2(0x222)](_0x5d2754)){if(!this[_0x153ef2(0x24d)][_0x153ef2(0x212)][_0x153ef2(0x20b)](_0x177e81))throw new _0x439548(_0x153ef2(0x246),this);const _0x181f9d=this[_0x153ef2(0x21d)][_0x153ef2(0x24a)][_0x153ef2(0x1fb)](_0x5d2754[_0x177e81]),_0x195d13=this[_0x153ef2(0x24d)][_0x153ef2(0x22a)](_0x177e81),_0x5dee7e=new _0x1ea9ed(_0x3728d7[_0x153ef2(0x1ab)](_0x195d13,0x0),_0x181f9d,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0x5dee7e);for(const [_0x2cbc63,_0x126ee9]of _0x181f9d[_0x153ef2(0x1c8)]){const _0xeb62b5=_0x3728d7[_0x153ef2(0x286)](_0x3728d7[_0x153ef2(0x2ac)](_0x195d13,_0x126ee9[_0x153ef2(0x26d)][_0x153ef2(0x1ef)][_0x153ef2(0x1cf)]()),_0x3728d7[_0x153ef2(0x2ac)](_0x195d13,_0x126ee9[_0x153ef2(0x1d6)][_0x153ef2(0x1ef)][_0x153ef2(0x1cf)]())),_0xa8e87f=new _0x5ea9ef(_0x2cbc63,null,_0xeb62b5,_0x3728d7[_0x153ef2(0x1c8)],!0x0,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0xa8e87f);}}if(_0x1fc850)for(const [_0x58298f,_0x5bc727]of Object[_0x153ef2(0x1bf)](_0x1fc850)){const _0x132a91=_0x3728d7[_0x153ef2(0x27e)][_0x153ef2(0x22a)](_0x58298f);if(!_0x132a91)throw new _0x439548(_0x153ef2(0x1cd),null);for(const [_0xfaa17e,_0x3cb1e6]of Object[_0x153ef2(0x1bf)](_0x5bc727))if(null!==_0x3cb1e6){const _0x48d1b7=new _0x2d80ce(_0x132a91,_0xfaa17e,null,_0x3cb1e6,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0x48d1b7);}}return _0x890649;}async[_0x3abe2c(0x28a)](_0x112b7a,_0x2a30f1,_0x4319a0){const _0x19bdee=_0x3abe2c;this[_0x19bdee(0x23b)]({[_0x112b7a]:_0x2a30f1},{[_0x112b7a]:_0x4319a0})[_0x19bdee(0x274)]((_0x2267b9,_0x35c1b8)=>{const _0x172d74=_0x19bdee;_0x2267b9[_0x172d74(0x265)]=this[_0x172d74(0x24d)][_0x172d74(0x211)]+_0x35c1b8,_0x2267b9[_0x172d74(0x1c0)]=!0x0,this[_0x172d74(0x260)](_0x2267b9);}),this[_0x19bdee(0x21f)](),await this[_0x19bdee(0x1e8)]();}async[_0x3abe2c(0x218)](_0x19e050,_0x52355a){const _0x33f2d9=_0x3abe2c;let _0x149a77;this[_0x33f2d9(0x249)]=_0x19e050[_0x33f2d9(0x1da)];const _0x288b5b=_0x19e050[_0x33f2d9(0x1c7)]&&!_0x19e050[_0x33f2d9(0x2a6)],_0x525148=_0x288b5b?0x0:_0x19e050[_0x33f2d9(0x24a)][_0x33f2d9(0x265)];if(_0x52355a[_0x33f2d9(0x274)](_0x1b400e=>{const _0x3bbbd5=_0x33f2d9;_0x1b400e[_0x3bbbd5(0x1c0)]=!0x0,_0x1b400e[_0x3bbbd5(0x205)]=_0x19e050[_0x3bbbd5(0x257)],_0x1b400e[_0x3bbbd5(0x1b5)]=null;}),_0x288b5b)_0x149a77=_0x52355a,this[_0x33f2d9(0x1d8)](_0x149a77,_0x288b5b);else{if(_0x19e050[_0x33f2d9(0x2a6)]){const _0x39a089=this[_0x33f2d9(0x23b)](_0x19e050[_0x33f2d9(0x2a6)]);this[_0x33f2d9(0x24d)][_0x33f2d9(0x22c)][_0x33f2d9(0x211)]=-_0x39a089[_0x33f2d9(0x210)],_0x39a089[_0x33f2d9(0x274)](_0x34b2e7=>{const _0x565c79=_0x33f2d9;_0x34b2e7[_0x565c79(0x265)]-=_0x39a089[_0x565c79(0x210)],_0x34b2e7[_0x565c79(0x205)]=_0x19e050[_0x565c79(0x257)],_0x34b2e7[_0x565c79(0x1c0)]=!0x0,_0x34b2e7[_0x565c79(0x1b5)]=null;}),this[_0x33f2d9(0x1d8)](_0x39a089,!0x0),this[_0x33f2d9(0x25a)][_0x33f2d9(0x211)]=-_0x39a089[_0x33f2d9(0x210)]+this[_0x33f2d9(0x249)],this[_0x33f2d9(0x255)](_0x39a089);}this[_0x33f2d9(0x24d)][_0x33f2d9(0x22c)][_0x33f2d9(0x211)]=_0x525148,_0x149a77=this[_0x33f2d9(0x297)](_0x19e050[_0x33f2d9(0x24a)],_0x19e050[_0x33f2d9(0x230)]),await this[_0x33f2d9(0x2ab)](_0x149a77),this[_0x33f2d9(0x1d8)](_0x149a77,_0x288b5b);}_0x19e050[_0x33f2d9(0x1f0)]&&(this[_0x33f2d9(0x200)][_0x33f2d9(0x1f7)](_0x149a77,_0x19e050[_0x33f2d9(0x1f0)]),this[_0x33f2d9(0x1fc)]=_0x19e050[_0x33f2d9(0x1f0)]),this[_0x33f2d9(0x25a)][_0x33f2d9(0x211)]=_0x525148+this[_0x33f2d9(0x249)],this[_0x33f2d9(0x255)](_0x149a77),_0x52355a[_0x33f2d9(0x28f)](_0x1610a5=>{const _0x3bc182=_0x33f2d9,_0x2d3d6f=this[_0x3bc182(0x1f3)](_0x1610a5);return _0x2d3d6f&&!this[_0x3bc182(0x28d)][_0x3bc182(0x20b)](_0x2d3d6f);})[_0x33f2d9(0x274)]((_0xd68e7d,_0x40568a)=>{const _0x8b5147=_0x33f2d9;_0xd68e7d[_0x8b5147(0x265)]=this[_0x8b5147(0x24d)][_0x8b5147(0x211)]+_0x40568a,this[_0x8b5147(0x260)](_0xd68e7d);}),this[_0x33f2d9(0x20f)]()?(this[_0x33f2d9(0x280)]=0x0,this[_0x33f2d9(0x21f)](!0x0),await this[_0x33f2d9(0x1e8)]()):(this[_0x33f2d9(0x1c2)]=!0x1,this[_0x33f2d9(0x1a8)]());}[_0x3abe2c(0x1d1)](_0x34a4c7,_0xc8a367){const _0x115548=_0x3abe2c,_0x271c9f=_0xc8a367&&_0xc8a367[_0x115548(0x299)];if(_0x271c9f&&_0x271c9f[_0x115548(0x1d2)](_0x115548(0x216)))throw _0xc8a367;const _0x1716af=this[_0x115548(0x21d)][_0x115548(0x1ba)][_0x115548(0x225)](_0x5c43bc);throw this[_0x115548(0x1c2)]=!0x0,_0x1716af[_0x115548(0x271)](),this[_0x115548(0x21d)][_0x115548(0x2a1)](_0x115548(0x1fe)),new _0x439548(_0x34a4c7,this[_0x115548(0x21d)],_0x271c9f?{'originalError':_0x271c9f}:void 0x0);}[_0x3abe2c(0x260)](_0x253d79){const _0x1a7e74=_0x3abe2c;this[_0x1a7e74(0x227)][_0x1a7e74(0x20b)](_0x253d79)||(this[_0x1a7e74(0x227)][_0x1a7e74(0x1bd)](_0x253d79),this[_0x1a7e74(0x259)][_0x1a7e74(0x25e)](_0x253d79),this[_0x1a7e74(0x238)]||_0x1a7e74(0x29a)==_0x253d79[_0x1a7e74(0x276)]&&!_0x253d79[_0x1a7e74(0x25c)]||this[_0x1a7e74(0x288)]());}[_0x3abe2c(0x21f)](_0x482777=!0x1){const _0x122a54=_0x3abe2c;!_0x482777&&this[_0x122a54(0x1c2)]||(this[_0x122a54(0x1c2)]=!0x0,clearTimeout(this[_0x122a54(0x26a)]),this[_0x122a54(0x26a)]=setTimeout(()=>{const _0xe75b4d=_0x122a54;this[_0xe75b4d(0x1b6)]()[_0xe75b4d(0x1f5)](_0x22be92=>{const _0x5a0f09=_0xe75b4d;_0x22be92&&(this[_0x5a0f09(0x1a8)](),this[_0x5a0f09(0x1c2)]=!0x1);})[_0xe75b4d(0x1e3)](_0x501e66=>{const _0x5a5268=_0xe75b4d;this[_0x5a5268(0x1a8)](),this[_0x5a5268(0x1c2)]=!0x1,function(_0x1a513d){const _0x2b0847=_0x5a5268;return _0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x235))||_0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x2a4))||_0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x298));}(_0x501e66)||this[_0x5a5268(0x1d1)](_0x501e66[_0x5a5268(0x299)],_0x501e66);});},this[_0x122a54(0x280)]));}[_0x3abe2c(0x1e8)](){return new Promise(_0x4bb30b=>{const _0x3da690=_0xb3cd;this['on'](_0x3da690(0x23c),()=>{_0x4bb30b();});});}async[_0x3abe2c(0x1b6)](){const _0x1ea39f=_0x3abe2c,_0x2d52f4=this[_0x1ea39f(0x21d)][_0x1ea39f(0x1ba)][_0x1ea39f(0x225)](_0x50211f);if(this[_0x1ea39f(0x1aa)]()&&(_0x2d52f4[_0x1ea39f(0x29f)](),this[_0x1ea39f(0x1ec)]=!0x1),!this[_0x1ea39f(0x20f)]())return!0x0;const _0x529f99=[...this[_0x1ea39f(0x259)]];for(const _0x3bac74 of _0x529f99)_0x3bac74[_0x1ea39f(0x1f6)]=this[_0x1ea39f(0x24d)][_0x1ea39f(0x22c)][_0x1ea39f(0x22d)](_0x3bac74);const _0x3b501a=this[_0x1ea39f(0x200)][_0x1ea39f(0x1cc)](_0x529f99),_0x449679=Q++,_0x3c9358=this[_0x1ea39f(0x219)](_0x529f99),_0x14766d=await this[_0x1ea39f(0x207)][_0x1ea39f(0x256)](_0x3c9358,_0x3c9358[_0x1ea39f(0x265)],_0x3b501a);try{return await this[_0x1ea39f(0x1fd)](_0x529f99,_0x14766d,_0x449679);}catch(_0x3c83cc){return this[_0x1ea39f(0x1d1)](_0x1ea39f(0x1ce),_0x3c83cc);}}async[_0x3abe2c(0x1fd)](_0x512c39,_0x4286c8,_0x32336a){const _0x2046a1=_0x3abe2c;if(_0x2046a1(0x25d)in _0x4286c8)throw _0x4286c8[_0x2046a1(0x25d)];let _0x37c489=!0x1;if(_0x4286c8[_0x2046a1(0x1c7)]){_0x4286c8[_0x2046a1(0x1f0)]&&(this[_0x2046a1(0x1fc)]=_0x4286c8[_0x2046a1(0x1f0)]),this[_0x2046a1(0x259)]=this[_0x2046a1(0x259)][_0x2046a1(0x28f)](_0x59b3b2=>!_0x512c39[_0x2046a1(0x1ff)](_0x59b3b2));for(const _0x3af3b9 of _0x512c39)_0x3af3b9[_0x2046a1(0x205)]=_0x2046a1(0x1bc)in _0x4286c8&&_0x4286c8[_0x2046a1(0x1bc)]||void 0x0;Y(_0x512c39,_0x4286c8[_0x2046a1(0x211)]-_0x512c39[_0x2046a1(0x210)]),this[_0x2046a1(0x255)](_0x512c39);const _0x30ba8c=_0x512c39[_0x2046a1(0x28f)](_0x17c1ae=>{const _0x5c4d64=_0x2046a1;if(!_0x17c1ae[_0x5c4d64(0x1c0)])return!0x1;const _0x904ca7=this[_0x5c4d64(0x1f3)](_0x17c1ae);return _0x904ca7&&!this[_0x5c4d64(0x28d)][_0x5c4d64(0x20b)](_0x904ca7);});Y(_0x30ba8c,this[_0x2046a1(0x24d)][_0x2046a1(0x211)]),this[_0x2046a1(0x1d8)](_0x30ba8c),_0x37c489=!0x0,this[_0x2046a1(0x280)]=this[_0x2046a1(0x1dd)];}else{const _0x4d25dd=this[_0x2046a1(0x297)](_0x4286c8[_0x2046a1(0x24a)],_0x4286c8[_0x2046a1(0x230)])[_0x2046a1(0x28f)](_0x3d67f=>_0x3d67f[_0x2046a1(0x265)]>=this[_0x2046a1(0x1e6)]);_0x4d25dd[_0x2046a1(0x274)](_0x551c91=>this[_0x2046a1(0x26c)](_0x551c91)),this[_0x2046a1(0x259)]=this[_0x2046a1(0x259)][_0x2046a1(0x28f)](_0x11be6f=>!_0x11be6f[_0x2046a1(0x1c0)]||!this[_0x2046a1(0x28d)][_0x2046a1(0x20b)](this[_0x2046a1(0x1f3)](_0x11be6f))),this[_0x2046a1(0x259)][_0x2046a1(0x210)]&&Y(this[_0x2046a1(0x259)],this[_0x2046a1(0x259)][0x0][_0x2046a1(0x265)]),await this[_0x2046a1(0x2ab)](_0x4d25dd),_0x37c489=this[_0x2046a1(0x25f)](_0x4d25dd,_0x4286c8[_0x2046a1(0x211)],_0x4286c8[_0x2046a1(0x1f0)]),this[_0x2046a1(0x280)]=Math[_0x2046a1(0x1af)](this[_0x2046a1(0x280)]/0x2);}return _0x37c489?!this[_0x2046a1(0x20f)]()||(this[_0x2046a1(0x21f)](!0x0),!0x1):this[_0x2046a1(0x1d1)](_0x2046a1(0x1e0));}[_0x3abe2c(0x25f)](_0x4cbaf6,_0x523b89,_0x1bf94b){const _0x154437=_0x3abe2c;try{const _0x2ab2ff={'document':this[_0x154437(0x24d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1bbedf,operationsB:_0x1f1f27,originalOperations:_0x29bf81}=_0xde2f7b(_0x4cbaf6,this[_0x154437(0x259)],_0x2ab2ff);Y(_0x1bbedf,this[_0x154437(0x24d)][_0x154437(0x211)]),Y(_0x1f1f27,_0x523b89);for(const _0x3be4f3 of _0x1bbedf){const _0x2a7812=_0x29bf81[_0x154437(0x225)](_0x3be4f3);_0x3be4f3[_0x154437(0x1b5)]=_0x2a7812?_0x2a7812[_0x154437(0x1b5)]:null;}_0x1bf94b&&(this[_0x154437(0x200)][_0x154437(0x1f7)](_0x4cbaf6,_0x1bf94b),this[_0x154437(0x1fc)]=_0x1bf94b),this[_0x154437(0x259)]=[..._0x1f1f27],this[_0x154437(0x1d8)](_0x1bbedf),this[_0x154437(0x255)](_0x4cbaf6);}catch(_0x4f455e){return console[_0x154437(0x25d)](_0x4f455e),!0x1;}return!0x0;}[_0x3abe2c(0x1d8)](_0x3a7882,_0x145fb2=!0x1){const _0x1f6299=_0x3abe2c;this[_0x1f6299(0x21d)][_0x1f6299(0x234)][_0x1f6299(0x258)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55351e=>{const _0x5b9a04=_0x1f6299;for(const _0x2c8ab8 of _0x3a7882)this[_0x5b9a04(0x227)][_0x5b9a04(0x1bd)](_0x2c8ab8),this[_0x5b9a04(0x26c)](_0x2c8ab8),_0x55351e[_0x5b9a04(0x208)][_0x5b9a04(0x2a9)](_0x2c8ab8),this[_0x5b9a04(0x21d)][_0x5b9a04(0x234)][_0x5b9a04(0x241)](_0x2c8ab8);});}[_0x3abe2c(0x26c)](_0x4c3725){const _0x2cb91c=_0x3abe2c,_0x5bbdeb=this[_0x2cb91c(0x1f3)](_0x4c3725);_0x5bbdeb&&this[_0x2cb91c(0x28d)][_0x2cb91c(0x1bd)](_0x5bbdeb);}[_0x3abe2c(0x1f3)](_0x2bc86d){const _0x100ae4=_0x3abe2c;let _0x2427f1,_0x2e7574;switch(_0x2bc86d[_0x100ae4(0x276)]){case _0x100ae4(0x23e):_0x2427f1=_0x2bc86d[_0x100ae4(0x29d)][_0x100ae4(0x221)];break;case _0x100ae4(0x29a):if(_0x2e7574=_0x2bc86d[_0x100ae4(0x224)],!_0x2e7574)return null;_0x2427f1=_0x2e7574[_0x100ae4(0x221)];break;case _0x100ae4(0x1ea):_0x2427f1=_0x2bc86d[_0x100ae4(0x221)];break;case _0x100ae4(0x1ae):_0x2427f1=_0x2bc86d[_0x100ae4(0x1b9)];break;case _0x100ae4(0x1b8):_0x2427f1=_0x2bc86d[_0x100ae4(0x2a5)][_0x100ae4(0x221)];break;default:return null;}return _0x2427f1[_0x100ae4(0x236)];}[_0x3abe2c(0x255)](_0xd36cf6){const _0x39fab0=_0x3abe2c;_0xd36cf6[_0x39fab0(0x274)](_0x55dcdb=>{const _0x49ab8a=_0x39fab0,_0x211e65=_0x55dcdb[_0x49ab8a(0x1cb)]();_0x211e65[_0x49ab8a(0x1b5)]=_0x55dcdb[_0x49ab8a(0x1b5)],_0x211e65[_0x49ab8a(0x1c0)]=!!_0x55dcdb[_0x49ab8a(0x1c0)],_0x211e65[_0x49ab8a(0x205)]=_0x55dcdb[_0x49ab8a(0x205)],_0x211e65[_0x49ab8a(0x265)]+=this[_0x49ab8a(0x249)],_0x55dcdb[_0x49ab8a(0x28b)]&&this[_0x49ab8a(0x242)][_0x49ab8a(0x1bd)](_0x211e65),this[_0x49ab8a(0x25a)][_0x49ab8a(0x2a9)](_0x211e65);});}[_0x3abe2c(0x1c3)](_0x1435cc){const _0x538d25=_0x3abe2c,_0x38e9bf=this[_0x538d25(0x21d)][_0x538d25(0x1ba)][_0x538d25(0x225)](_0x538d25(0x1e5)),_0x44d2e0=this[_0x538d25(0x21d)][_0x538d25(0x1c6)];_0x1435cc||(_0x1435cc=_0x45734c(_0x44d2e0,_0x538d25(0x27f))),_0x38e9bf[_0x538d25(0x1f4)](_0x1435cc,{'title':_0x45734c(_0x44d2e0,_0x538d25(0x2a7)),'namespace':_0x538d25(0x2ad)}),this[_0x538d25(0x261)]=!0x0,clearTimeout(this[_0x538d25(0x26a)]),this[_0x538d25(0x259)]=[],this[_0x538d25(0x21d)][_0x538d25(0x1ba)][_0x538d25(0x225)](_0x5c43bc)[_0x538d25(0x271)]();}[_0x3abe2c(0x288)](){const _0x276a5f=_0x3abe2c;this[_0x276a5f(0x238)]||(this[_0x276a5f(0x238)]=this[_0x276a5f(0x21d)][_0x276a5f(0x1ba)][_0x276a5f(0x225)](_0x23aa24)[_0x276a5f(0x1bd)](_0x45734c(this[_0x276a5f(0x21d)][_0x276a5f(0x1c6)],_0x276a5f(0x281))));}[_0x3abe2c(0x1a8)](){const _0x3558e4=_0x3abe2c;this[_0x3558e4(0x238)]&&(this[_0x3558e4(0x21d)][_0x3558e4(0x1ba)][_0x3558e4(0x225)](_0x23aa24)[_0x3558e4(0x263)](this[_0x3558e4(0x238)]),this[_0x3558e4(0x238)]=null);}[_0x3abe2c(0x219)](_0x438a2f){const _0x282a5a=_0x3abe2c,_0xb1fc86=_0x438a2f[_0x282a5a(0x1b3)](_0x36445a=>_0x36445a[_0x282a5a(0x268)]());return this[_0x282a5a(0x1f1)][_0x282a5a(0x1ee)](_0xb1fc86);}[_0x3abe2c(0x297)](_0x54abc0,_0x16204f){const _0x473e80=_0x3abe2c;return this[_0x473e80(0x1f1)][_0x473e80(0x262)](_0x54abc0)[_0x473e80(0x1b3)]((_0x285795,_0x3b83f9)=>{const _0x54b70c=_0x473e80,_0x1b4389=_0x54b70c(0x250)==_0x16204f[_0x3b83f9][_0x54b70c(0x276)];if(_0x54b70c(0x1ad)==_0x285795[_0x54b70c(0x203)]){const _0x193b0f=_0x285795[_0x54b70c(0x29d)][_0x54b70c(0x221)];!this[_0x54b70c(0x24d)][_0x54b70c(0x22a)](_0x193b0f)&&(this[_0x54b70c(0x24d)][_0x54b70c(0x2aa)](_0x54b70c(0x1d7),_0x193b0f)[_0x54b70c(0x21e)]=!0x1);}const _0x367803=_0x5c3a24[_0x54b70c(0x1f8)](_0x285795,this[_0x54b70c(0x24d)]);return _0x367803[_0x54b70c(0x1f6)]=_0x285795[_0x54b70c(0x1f6)],_0x367803[_0x54b70c(0x1c0)]=_0x1b4389,_0x367803[_0x54b70c(0x1b5)]=_0x1b4389?null:_0x16204f[_0x3b83f9][_0x54b70c(0x231)],_0x367803[_0x54b70c(0x28b)]=_0x54b70c(0x279)===_0x16204f[_0x3b83f9][_0x54b70c(0x276)],_0x367803[_0x54b70c(0x205)]=_0x16204f[_0x3b83f9][_0x54b70c(0x205)],_0x367803;});}[_0x3abe2c(0x29b)](){const _0x3dced3=_0x3abe2c;this[_0x3dced3(0x1ec)]=!0x0,this[_0x3dced3(0x1aa)]()?this[_0x3dced3(0x21f)]():this[_0x3dced3(0x1ec)]=!0x1;}[_0x3abe2c(0x1aa)](){const _0x490564=_0x3abe2c,_0x19a49a=this[_0x490564(0x21d)][_0x490564(0x1ba)][_0x490564(0x225)](_0x47403e)[_0x490564(0x24c)][_0x490564(0x225)](this[_0x490564(0x1d0)]);return!this[_0x490564(0x21d)][_0x490564(0x27b)]&&!!_0x19a49a&&_0x19a49a[_0x490564(0x210)]>0x1&&this[_0x490564(0x1ec)];}[_0x3abe2c(0x20f)](){const _0x3f69e8=_0x3abe2c;return this[_0x3f69e8(0x259)][_0x3f69e8(0x210)]>0x0||this[_0x3f69e8(0x1aa)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x50c89a,_0x2ef787){const _0x403fb7=_0x3abe2c;for(const _0x3a5eb4 of _0x50c89a)_0x3a5eb4[_0x403fb7(0x265)]=_0x2ef787++;}class Z{[_0x3abe2c(0x283)];[_0x3abe2c(0x220)];constructor(_0x301db3){const _0x44033a=_0x3abe2c;this[_0x44033a(0x283)]=_0x301db3,this[_0x44033a(0x220)]=new WeakMap();}[_0x3abe2c(0x1cc)](_0x5939ec){const _0x2480e7=_0x3abe2c;let _0x3f3140=_0x5939ec[_0x2480e7(0x210)];for(;_0x3f3140--;){const _0x2682d1=_0x5939ec[_0x3f3140];if(!this[_0x2480e7(0x283)][_0x2480e7(0x20b)](_0x2682d1)){if(!this[_0x2480e7(0x220)][_0x2480e7(0x20b)](_0x2682d1)){const _0x3c2916=_0x4feefc()[_0x2480e7(0x1cf)](0x1,0x12);this[_0x2480e7(0x220)][_0x2480e7(0x2a8)](_0x2682d1,_0x3c2916);}return this[_0x2480e7(0x220)][_0x2480e7(0x225)](_0x2682d1);}}}[_0x3abe2c(0x1f7)](_0x847837,_0x1ce17d){const _0x51ace6=_0x3abe2c;if(!_0x1ce17d)return;let _0x4d12d6=_0x847837[_0x51ace6(0x210)];for(;_0x4d12d6--;){const _0x30a6c2=_0x847837[_0x4d12d6];this[_0x51ace6(0x283)][_0x51ace6(0x20b)](_0x30a6c2)||this[_0x51ace6(0x220)][_0x51ace6(0x2a8)](_0x30a6c2,_0x1ce17d);}}}
23
+ const _0x1aa1f8=_0x2b95;function _0xb243(){const _0x3bab54=['cloud-services-internal-error:\x20Not\x20connected.','setIdForTheLastOperation','Permissions','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_knownOperations','_shouldSendSelectionUpdate','change:_isEditingAllowed','_channelId','change:range','size','addToReconnectionStack','sessionCreatedAt','marker','_isConnected','get','_authorId','sessionId','_connectService','_setPendingAction','affectedSelectable','rootName','history','affectsData','cloud-services-internal-error:\x20Request\x20timeout.','cloudServices.bundleVersion','_initSessionsHandling','Synchronization\x20issue','high','_lastServerVersion','86304FvaSOJ','collaboration-missing-channelid','Notification','rtc-destroyed','parse','_addKnownRoot','realtimecollaborationclient-init-connection-failed','_setUpDataInit','rtc-offline','_isAttached','start','move','rootsAttributes','cs:removeUser','reset','getRoot','insert','state','targetPosition','realtimecollaborationclient-init-service-internal-error','position','error','lastOperationId','createRoot','clone','_lastSyncedOperationId','currentDocumentSession','bind','_hasSynchronizationProblem','_baseBufferDelay','connection','_connectAfterSessionHasBeenFlushed','applyOperation','entries','30FuqOcC','sendOperations','_fetchMissingUsers','then','getOperations','locale','_handleReconnectionResponse','realtimecollaborationclient-error','_document','startsWith','CommentsOnly','isEnabled','_compressor','realtimecollaborationclient-sendbufferedoperations','isUndoneOperation','_isPendingUpdate','from','_crash','$root','connect','isOfficialPlugin','requires','multi-root-editor-root-attributes-no-root','_disconnectionOperations','_applyOperationsSet','message','isPremiumPlugin','_offset','change:_isPendingUpdate','PENDING_ACTION_SENDING_DATA','enqueueChange','isReadOnly','return','40hWfzhO','_getOperationsFromInitData','code','InsertOperation','mySessionId','_getAffectedRoot','editing','lastSyncVersion','addRootAttribute','realtimecollaborationclient-init-non-existent-root','path','baseVersion','_isLoaded','selection','_isInit','markers','_handleReconnectionError','createUserMarkerOperations','_handleInitialConnectionData','channelSessions','loadRoot','userId','string','__className','version','_saveOperationInBuffer','slice','_disconnectService','_pendingAction','_ignoredOperations','isDocumentOperation','createRange','createdAt','model','filter','suppressErrorInCollaboration','register','_clearPendingAction','editor','batch','end','lastOperationAcceptedAt','realtimecollaborationclient-init-document-already-initialized','_refreshUserSelectionMarkers','showWarning','createPositionFromPath','serverHistory','finally','permissions','setPermissions','_handleSendingSelectionMarkers','_operationToId','_sendBufferedOperations','66363DzrKCP','directChange','287740dMBYje','addUser','realtimecollaborationclient-init-session-connection-error','offset','toJSON','_initThrowingOnDataSet','realtimecollaborationclient-init-service-incorrect-server-operation','CollaborativeEditingService','fromJSON','getUser','decompress','fire','config','_service','551241GLCRFT','reconnect','_bufferRootLoad','change:hasDomSelection','wereChangesApplied','RealTimeCollaborationClient','addOperation','lastDocumentSession','map','pluginName','listenTo','root','getOperationAuthor','8748ExzRoN','differ','32oTfQCp','_handleReceivedOperations','attributes','removeFromReconnectionStack','unregister','catch','getConnectedSessions','plugins','view','newRange','forEach','apply','_operationIdentifier','1596yDYTbf','addRoot','_handleExternalOperations','6fESzrx','push','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','enableReadOnlyMode','_decompressOperations','includes','disableReadOnlyMode','compress','add','_loadRoot','sessionAdd:','_sendBufferedOperationsDelayId','_compressOperations','set','off','define','real-time-collaboration','_handleServerResponse','409','getIdOfTheLastOperation','stop','disconnected','disconnect','_currentBufferDelay','round','keys','cloudDocumentVersion','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','has','document','collaboration.channelId','_knownRootNames','_isDisconnection','collaboration','initData','getDocumentDetails','_shouldSendUpdate','destroy','operationsReceived','_updateServerHistory','_waitUntilSynced','getMany','ready','metadata','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','762111SGCDou','_sendBufferedOperationsDelayed','init','stopListening','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.','document:write','_bufferedOperations','_isEditingAllowed','reconnection:\x20flushed\x20session','404','type','data','wasUndone','711250weQZhP','roots','realtimecollaborationclient','length','_hasSelectionChanged','connected','createPositionAt','realtimecollaborationclient-handleserverresponse','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.','remove'];_0xb243=function(){return _0x3bab54;};return _0xb243();}(function(_0x105def,_0x42220a){const _0x53cfe8=_0x2b95,_0x3ab37f=_0x105def();while(!![]){try{const _0x267344=-parseInt(_0x53cfe8(0x2ab))/0x1*(parseInt(_0x53cfe8(0x1f5))/0x2)+-parseInt(_0x53cfe8(0x28a))/0x3*(parseInt(_0x53cfe8(0x268))/0x4)+-parseInt(_0x53cfe8(0x2e2))/0x5+parseInt(_0x53cfe8(0x207))/0x6*(parseInt(_0x53cfe8(0x234))/0x7)+-parseInt(_0x53cfe8(0x1f7))/0x8*(parseInt(_0x53cfe8(0x2f0))/0x9)+-parseInt(_0x53cfe8(0x241))/0xa+-parseInt(_0x53cfe8(0x2e0))/0xb*(-parseInt(_0x53cfe8(0x204))/0xc);if(_0x267344===_0x42220a)break;else _0x3ab37f['push'](_0x3ab37f['shift']());}catch(_0x1dc135){_0x3ab37f['push'](_0x3ab37f['shift']());}}}(_0xb243,0x23db9));import{Plugin as _0xdb9249,PendingActions as _0x4a8896}from'ckeditor5/src/core.js';import{CKEditorError as _0x18c0ef,version as _0x267d0c,uid as _0x5200cf}from'ckeditor5/src/utils.js';import{Notification as _0x35948b}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3e8b39,NoOperation as _0x51bdfb,InsertOperation as _0x4a60ae,MarkerOperation as _0x2c0a5d,RootAttributeOperation as _0x1ea5a0,OperationFactory as _0x30e033,History as _0x59e5f2}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x29783d}from'./websocketgateway.js';import{Sessions as _0x548109}from'./sessions.js';import{UserMarkers as _0x4d3afe}from'./usermarkers.js';import{getTranslation as _0x5692b6}from'../common-translations.js';import{Compressor as _0x4f4208}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x19c178}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x54fff0,CollaborativeEditingService as _0x53f479}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x2b95(_0x38afa3,_0x310982){const _0xb2435d=_0xb243();return _0x2b95=function(_0x2b95c3,_0x157ff7){_0x2b95c3=_0x2b95c3-0x1ec;let _0x57e636=_0xb2435d[_0x2b95c3];return _0x57e636;},_0x2b95(_0x38afa3,_0x310982);}class l extends _0xdb9249{static [_0x1aa1f8(0x2e9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x53f479)());[_0x1aa1f8(0x2a5)];[_0x1aa1f8(0x25b)];[_0x1aa1f8(0x2d9)];[_0x1aa1f8(0x252)];[_0x1aa1f8(0x2ef)];[_0x1aa1f8(0x292)];[_0x1aa1f8(0x296)];[_0x1aa1f8(0x23a)];[_0x1aa1f8(0x24f)];[_0x1aa1f8(0x226)];[_0x1aa1f8(0x2c7)];[_0x1aa1f8(0x245)];[_0x1aa1f8(0x212)];[_0x1aa1f8(0x285)];[_0x1aa1f8(0x21e)];[_0x1aa1f8(0x281)];[_0x1aa1f8(0x2a1)];[_0x1aa1f8(0x203)];static get[_0x1aa1f8(0x29f)](){return[_0x29783d,_0x548109,_0x4d3afe,_0x4a8896,_0x19c178,_0x35948b];}static get[_0x1aa1f8(0x1f1)](){const _0x30b6d2=_0x1aa1f8;return _0x30b6d2(0x1ed);}static get[_0x1aa1f8(0x29e)](){return!0x0;}static get[_0x1aa1f8(0x2a4)](){return!0x0;}get[_0x1aa1f8(0x221)](){const _0x14fd34=_0x1aa1f8;return this[_0x14fd34(0x267)]+this[_0x14fd34(0x2a5)];}get[_0x1aa1f8(0x267)](){const _0x2f78f3=_0x1aa1f8;return this[_0x2f78f3(0x2d9)][_0x2f78f3(0x2c3)]-this[_0x2f78f3(0x2a5)];}get[_0x1aa1f8(0x2b2)](){const _0x2fd799=_0x1aa1f8,_0x3fedcb=this[_0x2fd799(0x2d9)][_0x2fd799(0x28e)]();for(let _0x4f7687=_0x3fedcb[_0x2fd799(0x244)]-0x1;_0x4f7687>=0x0;_0x4f7687--){const _0x3cb315=_0x3fedcb[_0x4f7687];if(!this[_0x2fd799(0x2a1)][_0x2fd799(0x223)](_0x3cb315))return _0x3cb315[_0x2fd799(0x2b6)]+0x1-this[_0x2fd799(0x2a5)];}return 0x0;}constructor(_0x217597){const _0x4ea08e=_0x1aa1f8;if(super(_0x217597),this[_0x4ea08e(0x2a5)]=0x0,this[_0x4ea08e(0x25b)]=null,this[_0x4ea08e(0x2d9)]=new _0x59e5f2(),this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2ee)][_0x4ea08e(0x216)](_0x4ea08e(0x228),{}),this[_0x4ea08e(0x252)]=this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2ee)][_0x4ea08e(0x259)](_0x4ea08e(0x225)),!this[_0x4ea08e(0x252)])throw new _0x18c0ef(_0x4ea08e(0x269),this);const _0x2bf711=_0x217597[_0x4ea08e(0x2ee)][_0x4ea08e(0x259)](_0x4ea08e(0x263))||_0x267d0c;this[_0x4ea08e(0x2ef)]=new l[(_0x4ea08e(0x2e9))](_0x2bf711,this[_0x4ea08e(0x252)]),this[_0x4ea08e(0x292)]=this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2cc)][_0x4ea08e(0x224)],this[_0x4ea08e(0x296)]=new _0x4f4208(),this[_0x4ea08e(0x23a)]=[],this[_0x4ea08e(0x24f)]=new WeakSet(),this[_0x4ea08e(0x226)]=new Set(),this[_0x4ea08e(0x214)](_0x4ea08e(0x299),!0x1),this[_0x4ea08e(0x214)](_0x4ea08e(0x284),!0x1),this[_0x4ea08e(0x2c7)]=null,this[_0x4ea08e(0x245)]=!0x1,this[_0x4ea08e(0x212)]=null,this[_0x4ea08e(0x285)]=0x12c,this[_0x4ea08e(0x21e)]=this[_0x4ea08e(0x285)],this[_0x4ea08e(0x281)]=null,this[_0x4ea08e(0x2a1)]=new WeakSet(),this[_0x4ea08e(0x203)]=new Z(this[_0x4ea08e(0x2a1)]);}[_0x1aa1f8(0x236)](){const _0x2486e5=_0x1aa1f8,_0x14a7e4=this[_0x2486e5(0x2d1)],_0x4eefe0=_0x14a7e4[_0x2486e5(0x1fe)][_0x2486e5(0x259)](_0x19c178),_0xc95342=_0x14a7e4[_0x2486e5(0x1fe)][_0x2486e5(0x259)](_0x29783d);this[_0x2486e5(0x1f2)](_0x4eefe0,_0x2486e5(0x1f4),(_0x370f0b,_0xa11323)=>{const _0x3a9014=_0x2486e5,_0x5e0bca=_0xa11323[0x0];_0x5e0bca[_0x3a9014(0x25a)]&&(_0x370f0b[_0x3a9014(0x2aa)]=_0x4eefe0[_0x3a9014(0x2eb)](_0x5e0bca[_0x3a9014(0x25a)]),_0x370f0b[_0x3a9014(0x21b)]()),null===_0x5e0bca[_0x3a9014(0x25a)]&&(_0x370f0b[_0x3a9014(0x2aa)]=null,_0x370f0b[_0x3a9014(0x21b)]());},{'priority':_0x2486e5(0x266)}),this[_0x2486e5(0x1f2)](_0x14a7e4[_0x2486e5(0x2cc)][_0x2486e5(0x224)][_0x2486e5(0x2b8)],_0x2486e5(0x253),(_0x301236,_0x2f9055)=>{const _0xd8c9c=_0x2486e5;_0x2f9055[_0xd8c9c(0x2e1)]&&this[_0xd8c9c(0x2d6)]();}),this[_0x2486e5(0x1f2)](_0x14a7e4[_0x2486e5(0x2b1)][_0x2486e5(0x1ff)],_0x2486e5(0x2f3),()=>{const _0x59e1d3=_0x2486e5;this[_0x59e1d3(0x2d6)]();}),this[_0x2486e5(0x2e7)](),_0x14a7e4[_0x2486e5(0x2cc)]['on'](_0x2486e5(0x288),(_0x676951,_0x44fe6a)=>{const _0x1dbd01=_0x2486e5,_0x2189ea=_0x44fe6a[0x0];_0x2189ea[_0x1dbd01(0x2c9)]&&(this[_0x1dbd01(0x2c4)](_0x2189ea),this[_0x1dbd01(0x22b)]()&&this[_0x1dbd01(0x235)]());}),this[_0x2486e5(0x26f)](),this[_0x2486e5(0x283)](_0x2486e5(0x23b))['to'](_0xc95342,_0x2486e5(0x279),this,_0x2486e5(0x284),(_0x1af430,_0x2b34ed)=>_0x2486e5(0x246)===_0x1af430&&!_0x2b34ed),this['on'](_0x2486e5(0x251),()=>{const _0x20903d=_0x2486e5;this[_0x20903d(0x23b)]?_0x14a7e4[_0x20903d(0x20d)](_0x20903d(0x270)):_0x14a7e4[_0x20903d(0x20a)](_0x20903d(0x270));}),this[_0x2486e5(0x23b)]?_0x14a7e4[_0x2486e5(0x20d)](_0x2486e5(0x270)):_0x14a7e4[_0x2486e5(0x20a)](_0x2486e5(0x270)),this[_0x2486e5(0x214)](_0x2486e5(0x258),!0x1);}async[_0x1aa1f8(0x2f1)](){const _0x11453f=_0x1aa1f8,_0x41b6e9=this[_0x11453f(0x2d1)][_0x11453f(0x1fe)][_0x11453f(0x259)](_0x548109),_0x355b2b=this[_0x11453f(0x2d1)][_0x11453f(0x1fe)][_0x11453f(0x259)](_0x29783d);try{this[_0x11453f(0x299)]=!0x0,_0x41b6e9[_0x11453f(0x1fb)](this[_0x11453f(0x252)]);const _0x15a3df=await this[_0x11453f(0x2ef)][_0x11453f(0x2f1)](_0x355b2b[_0x11453f(0x286)],this[_0x11453f(0x2b2)]);await this[_0x11453f(0x290)](_0x15a3df)&&(this[_0x11453f(0x299)]=!0x1,this[_0x11453f(0x2d0)]());const _0x4239b7=await this[_0x11453f(0x2ef)][_0x11453f(0x1fd)]();_0x41b6e9[_0x11453f(0x2cf)](this[_0x11453f(0x252)],_0x4239b7),this[_0x11453f(0x2dd)](),this[_0x11453f(0x258)]=!0x0;}catch(_0x43776f){if(function(_0x1af98c){const _0x3f5ad5=_0x11453f;return _0x3f5ad5(0x23d)===_0x1af98c[_0x3f5ad5(0x2ad)];}(_0x43776f)&&this[_0x11453f(0x25b)])await this[_0x11453f(0x287)]();else{if(function(_0x2a3755){const _0x84c23d=_0x11453f;return _0x84c23d(0x219)===_0x2a3755[_0x84c23d(0x2ad)];}(_0x43776f)){const _0x288f25=_0x5692b6(this[_0x11453f(0x2d1)][_0x11453f(0x28f)],_0x11453f(0x222));this[_0x11453f(0x2bb)](_0x288f25);}else{if(!(_0x43776f instanceof X))throw _0x43776f;this[_0x11453f(0x2bb)]();}}}}[_0x1aa1f8(0x22c)](){const _0x1acec0=_0x1aa1f8,_0x6435b3=this[_0x1acec0(0x2d1)][_0x1acec0(0x1fe)][_0x1acec0(0x259)](_0x29783d),_0x9e3565=this[_0x1acec0(0x2d1)][_0x1acec0(0x1fe)][_0x1acec0(0x259)](_0x548109);this[_0x1acec0(0x2d1)][_0x1acec0(0x20a)](_0x1acec0(0x26b)),_0x9e3565[_0x1acec0(0x2be)][_0x1acec0(0x223)](this[_0x1acec0(0x252)])&&_0x9e3565[_0x1acec0(0x1fb)](this[_0x1acec0(0x252)]),_0x6435b3[_0x1acec0(0x1fa)](this),this[_0x1acec0(0x2c6)](),super[_0x1acec0(0x22c)]();}async[_0x1aa1f8(0x290)](_0x16af13){const _0x4aa08f=_0x1aa1f8;if(this[_0x4aa08f(0x25b)]!==_0x16af13[_0x4aa08f(0x25b)]&&this[_0x4aa08f(0x281)]!==_0x16af13[_0x4aa08f(0x27e)])throw new X();return this[_0x4aa08f(0x25b)]=_0x16af13[_0x4aa08f(0x25b)],this[_0x4aa08f(0x218)]([],{..._0x16af13,'wereChangesApplied':!0x1,'data':_0x16af13[_0x4aa08f(0x23f)]},_0x4aa08f(0x2f1));}async[_0x1aa1f8(0x25c)](_0x194a72,_0x4ac8f1=!0x1){const _0x40a23e=_0x1aa1f8,{connection:_0x590b0b}=this[_0x40a23e(0x2d1)][_0x40a23e(0x1fe)][_0x40a23e(0x259)](_0x29783d);l[_0x40a23e(0x2e9)][_0x40a23e(0x1fd)](_0x590b0b,this[_0x40a23e(0x252)])[_0x40a23e(0x28d)](_0x481fcf=>this[_0x40a23e(0x264)](_0x481fcf))[_0x40a23e(0x1fc)](_0x489e3e=>{const _0x17b0ce=_0x40a23e;this[_0x17b0ce(0x29b)](_0x17b0ce(0x2e4),_0x489e3e);}),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x22d),this[_0x40a23e(0x1f8)][_0x40a23e(0x283)](this)),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x27d),(_0x14b6f9,_0xb65ead)=>{const _0xe2e385=_0x40a23e;this[_0xe2e385(0x29b)](_0xe2e385(0x27b),_0xb65ead);}),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x21c),()=>{const _0x5f075c=_0x40a23e;this[_0x5f075c(0x258)]=!0x1;});const _0x29f414=this[_0x40a23e(0x203)][_0x40a23e(0x21a)](_0x194a72);this[_0x40a23e(0x299)]=!0x0;const _0x5ec726=await this[_0x40a23e(0x2ef)][_0x40a23e(0x29d)](_0x590b0b,this[_0x40a23e(0x213)](_0x194a72),_0x29f414);if(this[_0x40a23e(0x25b)]=_0x5ec726[_0x40a23e(0x25b)],_0x4ac8f1){if(!_0x5ec726[_0x40a23e(0x1ec)])return void this[_0x40a23e(0x2bb)]();this[_0x40a23e(0x299)]=!0x1,this[_0x40a23e(0x2d0)](),this[_0x40a23e(0x2d9)][_0x40a23e(0x276)](),this[_0x40a23e(0x2a5)]=_0x5ec726[_0x40a23e(0x2e5)],this[_0x40a23e(0x2d9)][_0x40a23e(0x2c3)]=this[_0x40a23e(0x2a5)],await this[_0x40a23e(0x218)](_0x194a72,_0x5ec726,_0x40a23e(0x23c));}else await this[_0x40a23e(0x2bd)](_0x5ec726,_0x194a72);this[_0x40a23e(0x2dd)](),this[_0x40a23e(0x258)]=!0x0;}[_0x1aa1f8(0x2dd)](){const _0x31fbea=_0x1aa1f8,_0x11facd=this[_0x31fbea(0x2d1)][_0x31fbea(0x1fe)][_0x31fbea(0x259)](_0x548109),_0x216816=this[_0x31fbea(0x2d1)][_0x31fbea(0x1fe)][_0x31fbea(0x259)](_0x4d3afe),_0x187715=_0x11facd[_0x31fbea(0x2be)][_0x31fbea(0x259)](this[_0x31fbea(0x252)]);_0x187715&&_0x187715[_0x31fbea(0x244)]>0x1?_0x216816[_0x31fbea(0x2bc)]():this[_0x31fbea(0x1f2)](_0x11facd,_0x31fbea(0x211)+this[_0x31fbea(0x252)],()=>{const _0x20bb91=_0x31fbea;0x2===_0x11facd[_0x20bb91(0x2be)][_0x20bb91(0x259)](this[_0x20bb91(0x252)])[_0x20bb91(0x244)]&&_0x216816[_0x20bb91(0x2bc)]();});}async[_0x1aa1f8(0x1f8)](_0x9b1350,_0x5edb97,_0x19f0c7,_0x4dec90){const _0x1f6a9f=_0x1aa1f8;if(!this[_0x1f6a9f(0x299)]&&this[_0x1f6a9f(0x292)][_0x1f6a9f(0x2c3)]==_0x5edb97){const _0x4a9c4d=this[_0x1f6a9f(0x20b)](_0x19f0c7,_0x4dec90);await this[_0x1f6a9f(0x28c)](_0x4a9c4d),this[_0x1f6a9f(0x206)](_0x4a9c4d,_0x5edb97,_0x19f0c7[_0x1f6a9f(0x27e)])||this[_0x1f6a9f(0x29b)](_0x1f6a9f(0x2e8));}}async[_0x1aa1f8(0x287)](){const _0x2ff60f=_0x1aa1f8;this[_0x2ff60f(0x2c6)]();const {locale:_0x8d0e29}=this[_0x2ff60f(0x2d1)];let _0x438aa8;try{_0x438aa8=await this[_0x2ff60f(0x2ef)][_0x2ff60f(0x22a)]();}catch{const _0x195d65=_0x5692b6(_0x8d0e29,_0x2ff60f(0x24e));return void this[_0x2ff60f(0x2bb)](_0x195d65);}const _0x4917c9=_0x438aa8[_0x2ff60f(0x282)]||_0x438aa8[_0x2ff60f(0x1ef)];if(this[_0x2ff60f(0x281)]!==_0x4917c9[_0x2ff60f(0x27e)]){const _0x267d92=_0x5692b6(_0x8d0e29,_0x2ff60f(0x238));return void this[_0x2ff60f(0x2bb)](_0x267d92);}await this[_0x2ff60f(0x25c)](this[_0x2ff60f(0x2d1)][_0x2ff60f(0x2cc)][_0x2ff60f(0x224)][_0x2ff60f(0x260)][_0x2ff60f(0x28e)](),!0x0);}[_0x1aa1f8(0x2c6)](){const _0x577d71=_0x1aa1f8;this[_0x577d71(0x2ef)][_0x577d71(0x21d)](),this[_0x577d71(0x23a)]=[],clearTimeout(this[_0x577d71(0x212)]),this[_0x577d71(0x237)](this[_0x577d71(0x2ef)]);}[_0x1aa1f8(0x264)](_0x2d4e4d){const _0x3019a1=_0x1aa1f8,_0x11cae5=this[_0x3019a1(0x2d1)][_0x3019a1(0x1fe)][_0x3019a1(0x259)](_0x548109);this[_0x3019a1(0x1f2)](_0x11cae5,_0x3019a1(0x211)+this[_0x3019a1(0x252)],(_0x41024e,{session:_0x444523})=>{const _0x2106db=_0x3019a1;if(_0x444523['id']===_0x11cae5[_0x2106db(0x2af)]){_0x41024e[_0x2106db(0x215)]();const _0xe78839=this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x223)](_0x2106db(0x294))&&this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x259)](_0x2106db(0x294));let _0x44ad9f=_0x444523[_0x2106db(0x2db)];_0xe78839&&_0xe78839[_0x2106db(0x295)]&&(_0x44ad9f=_0x44ad9f[_0x2106db(0x2cd)](_0x34e032=>_0x2106db(0x239)!==_0x34e032)),this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x259)](_0x2106db(0x24d))[_0x2106db(0x2dc)](_0x44ad9f,this[_0x2106db(0x252)]);}}),_0x11cae5[_0x3019a1(0x2cf)](this[_0x3019a1(0x252)],_0x2d4e4d);}[_0x1aa1f8(0x2e7)](){const _0x4d952b=_0x1aa1f8,_0x15604b=this[_0x4d952b(0x2d1)][_0x4d952b(0x23f)][_0x4d952b(0x214)];this[_0x4d952b(0x2d1)][_0x4d952b(0x23f)][_0x4d952b(0x214)]=(..._0x20e8bb)=>{const _0x4b8fc8=_0x4d952b;if(!_0x20e8bb[_0x20e8bb[_0x4b8fc8(0x244)]-0x1][_0x4b8fc8(0x2ce)])throw new _0x18c0ef(_0x4b8fc8(0x209),this);_0x15604b[_0x4b8fc8(0x202)](this[_0x4b8fc8(0x2d1)][_0x4b8fc8(0x23f)],_0x20e8bb);};}[_0x1aa1f8(0x26f)](){const _0x44621b=_0x1aa1f8;this[_0x44621b(0x2d1)][_0x44621b(0x23f)]['on'](_0x44621b(0x236),(_0x5644c1,[_0x3236b2])=>{const _0xcebe89=_0x44621b;if(this[_0xcebe89(0x292)][_0xcebe89(0x2c3)])throw new _0x18c0ef(_0xcebe89(0x2d5),this);_0x5644c1[_0xcebe89(0x21b)](),this[_0xcebe89(0x25d)]();const _0x29b1f8=this[_0xcebe89(0x2d1)][_0xcebe89(0x2ee)][_0xcebe89(0x259)](_0xcebe89(0x274)),_0x491a4b=this[_0xcebe89(0x2ac)](_0x3236b2,_0x29b1f8);0x0==_0x491a4b[_0xcebe89(0x244)]&&_0x491a4b[_0xcebe89(0x208)](new _0x51bdfb(0x0)),_0x5644c1[_0xcebe89(0x2aa)]=this[_0xcebe89(0x25c)](_0x491a4b)[_0xcebe89(0x28d)](()=>{const _0x97495b=_0xcebe89;this[_0x97495b(0x2d1)][_0x97495b(0x1fe)][_0x97495b(0x259)](_0x29783d)[_0x97495b(0x255)](this),this[_0x97495b(0x2d1)][_0x97495b(0x23f)][_0x97495b(0x2ed)](_0x97495b(0x231));})[_0xcebe89(0x1fc)](_0x172dec=>this[_0xcebe89(0x29b)](_0xcebe89(0x26e),_0x172dec))[_0xcebe89(0x2da)](()=>this[_0xcebe89(0x2d0)]());},{'priority':_0x44621b(0x266)}),this[_0x44621b(0x2d1)]['on'](_0x44621b(0x2bf),async(_0x1049bd,[_0x37d783,_0x35a792])=>{const _0x48cc39=_0x44621b;_0x1049bd[_0x48cc39(0x21b)]();const _0x31c441=this[_0x48cc39(0x2d1)][_0x48cc39(0x2cc)][_0x48cc39(0x224)][_0x48cc39(0x277)](_0x37d783);if(!this[_0x48cc39(0x226)][_0x48cc39(0x223)](_0x37d783)){const _0x371cd9=_0x35a792&&_0x35a792[_0x48cc39(0x23f)]?_0x35a792[_0x48cc39(0x23f)]:'',_0x183432=_0x35a792&&_0x35a792[_0x48cc39(0x1f9)]?_0x35a792[_0x48cc39(0x1f9)]:{};await this[_0x48cc39(0x210)](_0x37d783,_0x371cd9,_0x183432);}this[_0x48cc39(0x2d1)][_0x48cc39(0x2cc)][_0x48cc39(0x2a8)]({'isUndoable':!0x1},()=>{const _0x2033f=_0x48cc39;_0x31c441[_0x2033f(0x2b7)]=!0x0,this[_0x2033f(0x2d1)][_0x2033f(0x2cc)][_0x2033f(0x224)][_0x2033f(0x1f6)][_0x2033f(0x2f2)](_0x31c441);});},{'priority':_0x44621b(0x266)});}async[_0x1aa1f8(0x28c)](_0x1786c6){const _0x3b2b48=_0x1aa1f8,_0x4b4189=this[_0x3b2b48(0x2d1)][_0x3b2b48(0x1fe)][_0x3b2b48(0x259)](_0x19c178),{connection:_0x229af6}=this[_0x3b2b48(0x2d1)][_0x3b2b48(0x1fe)][_0x3b2b48(0x259)](_0x29783d),_0x33690e=new Set();for(const _0x800fb8 of _0x1786c6){const _0x200ebe=_0x800fb8[_0x3b2b48(0x25a)];_0x200ebe&&!_0x4b4189[_0x3b2b48(0x2eb)](_0x200ebe)&&_0x33690e[_0x3b2b48(0x20f)](_0x200ebe);}if(0x0===_0x33690e[_0x3b2b48(0x254)])return;const _0x5a3deb=await _0x54fff0[_0x3b2b48(0x230)](_0x229af6,Array[_0x3b2b48(0x29a)](_0x33690e));for(const _0x4ffcfc of _0x5a3deb)_0x4b4189[_0x3b2b48(0x2eb)](_0x4ffcfc['id'])||_0x4b4189[_0x3b2b48(0x2e3)](_0x4ffcfc);}[_0x1aa1f8(0x2ac)](_0x5e5254,_0xfa2f87={}){const _0x1c9372=_0x1aa1f8,_0x50d45f=this[_0x1c9372(0x2d1)][_0x1c9372(0x2cc)],_0x16f5cb=[];let _0x37de59=0x0;const _0x19dd95=_0x1c9372(0x2c1)==typeof _0x5e5254?{'main':_0x5e5254}:_0x5e5254;for(const _0x1b7db2 of Object[_0x1c9372(0x220)](_0x19dd95)){if(!this[_0x1c9372(0x292)][_0x1c9372(0x242)][_0x1c9372(0x223)](_0x1b7db2))throw new _0x18c0ef(_0x1c9372(0x2b4),this);const _0x284429=this[_0x1c9372(0x2d1)][_0x1c9372(0x23f)][_0x1c9372(0x26c)](_0x19dd95[_0x1b7db2]),_0x1882b1=this[_0x1c9372(0x292)][_0x1c9372(0x277)](_0x1b7db2),_0x21d08a=new _0x4a60ae(_0x50d45f[_0x1c9372(0x247)](_0x1882b1,0x0),_0x284429,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x21d08a);for(const [_0x37dd66,_0x4a4156]of _0x284429[_0x1c9372(0x2ba)]){const _0x233ab4=_0x50d45f[_0x1c9372(0x2ca)](_0x50d45f[_0x1c9372(0x2d8)](_0x1882b1,_0x4a4156[_0x1c9372(0x272)][_0x1c9372(0x2b5)][_0x1c9372(0x2c5)]()),_0x50d45f[_0x1c9372(0x2d8)](_0x1882b1,_0x4a4156[_0x1c9372(0x2d3)][_0x1c9372(0x2b5)][_0x1c9372(0x2c5)]())),_0x121ec6=new _0x2c0a5d(_0x37dd66,null,_0x233ab4,_0x50d45f[_0x1c9372(0x2ba)],!0x0,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x121ec6);}}if(_0xfa2f87)for(const [_0x3df167,_0x62b3f]of Object[_0x1c9372(0x289)](_0xfa2f87)){const _0x31f0a1=_0x50d45f[_0x1c9372(0x224)][_0x1c9372(0x277)](_0x3df167);if(!_0x31f0a1)throw new _0x18c0ef(_0x1c9372(0x2a0),null);for(const [_0x353ffe,_0x44ad2f]of Object[_0x1c9372(0x289)](_0x62b3f))if(null!==_0x44ad2f){const _0x22d753=new _0x1ea5a0(_0x31f0a1,_0x353ffe,null,_0x44ad2f,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x22d753);}}return _0x16f5cb;}async[_0x1aa1f8(0x210)](_0x5355f7,_0x1277ec,_0xbe82e2){const _0x454b77=_0x1aa1f8;this[_0x454b77(0x2ac)]({[_0x5355f7]:_0x1277ec},{[_0x5355f7]:_0xbe82e2})[_0x454b77(0x201)]((_0x9d7ba8,_0x318b65)=>{const _0x17040d=_0x454b77;_0x9d7ba8[_0x17040d(0x2b6)]=this[_0x17040d(0x292)][_0x17040d(0x2c3)]+_0x318b65,_0x9d7ba8[_0x17040d(0x2b9)]=!0x0,this[_0x17040d(0x2c4)](_0x9d7ba8);}),this[_0x454b77(0x235)](),await this[_0x454b77(0x22f)]();}async[_0x1aa1f8(0x2bd)](_0x3bc4c0,_0x4876b1){const _0x7d3cdd=_0x1aa1f8;let _0x1e8cba;this[_0x7d3cdd(0x2a5)]=_0x3bc4c0[_0x7d3cdd(0x2e5)];const _0x482d0d=_0x3bc4c0[_0x7d3cdd(0x1ec)]&&!_0x3bc4c0[_0x7d3cdd(0x229)],_0x1f4d31=_0x482d0d?0x0:_0x3bc4c0[_0x7d3cdd(0x23f)][_0x7d3cdd(0x2b6)];if(_0x4876b1[_0x7d3cdd(0x201)](_0x3e57cc=>{const _0x3ed2a0=_0x7d3cdd;_0x3e57cc[_0x3ed2a0(0x2b9)]=!0x0,_0x3e57cc[_0x3ed2a0(0x2cb)]=_0x3bc4c0[_0x3ed2a0(0x256)],_0x3e57cc[_0x3ed2a0(0x25a)]=null;}),_0x482d0d)_0x1e8cba=_0x4876b1,this[_0x7d3cdd(0x2a2)](_0x1e8cba,_0x482d0d);else{if(_0x3bc4c0[_0x7d3cdd(0x229)]){const _0x23fd84=this[_0x7d3cdd(0x2ac)](_0x3bc4c0[_0x7d3cdd(0x229)]);this[_0x7d3cdd(0x292)][_0x7d3cdd(0x260)][_0x7d3cdd(0x2c3)]=-_0x23fd84[_0x7d3cdd(0x244)],_0x23fd84[_0x7d3cdd(0x201)](_0x1529f6=>{const _0x7db098=_0x7d3cdd;_0x1529f6[_0x7db098(0x2b6)]-=_0x23fd84[_0x7db098(0x244)],_0x1529f6[_0x7db098(0x2cb)]=_0x3bc4c0[_0x7db098(0x256)],_0x1529f6[_0x7db098(0x2b9)]=!0x0,_0x1529f6[_0x7db098(0x25a)]=null;}),this[_0x7d3cdd(0x2a2)](_0x23fd84,!0x0),this[_0x7d3cdd(0x2d9)][_0x7d3cdd(0x2c3)]=-_0x23fd84[_0x7d3cdd(0x244)]+this[_0x7d3cdd(0x2a5)],this[_0x7d3cdd(0x22e)](_0x23fd84);}this[_0x7d3cdd(0x292)][_0x7d3cdd(0x260)][_0x7d3cdd(0x2c3)]=_0x1f4d31,_0x1e8cba=this[_0x7d3cdd(0x20b)](_0x3bc4c0[_0x7d3cdd(0x23f)],_0x3bc4c0[_0x7d3cdd(0x232)]),await this[_0x7d3cdd(0x28c)](_0x1e8cba),this[_0x7d3cdd(0x2a2)](_0x1e8cba,_0x482d0d);}_0x3bc4c0[_0x7d3cdd(0x27e)]&&(this[_0x7d3cdd(0x203)][_0x7d3cdd(0x24c)](_0x1e8cba,_0x3bc4c0[_0x7d3cdd(0x27e)]),this[_0x7d3cdd(0x281)]=_0x3bc4c0[_0x7d3cdd(0x27e)]),this[_0x7d3cdd(0x2d9)][_0x7d3cdd(0x2c3)]=_0x1f4d31+this[_0x7d3cdd(0x2a5)],this[_0x7d3cdd(0x22e)](_0x1e8cba),_0x4876b1[_0x7d3cdd(0x2cd)](_0x658c9a=>{const _0x18528d=_0x7d3cdd,_0x4e009b=this[_0x18528d(0x2b0)](_0x658c9a);return _0x4e009b&&!this[_0x18528d(0x226)][_0x18528d(0x223)](_0x4e009b);})[_0x7d3cdd(0x201)]((_0x2ad339,_0x4c88af)=>{const _0x2e1a45=_0x7d3cdd;_0x2ad339[_0x2e1a45(0x2b6)]=this[_0x2e1a45(0x292)][_0x2e1a45(0x2c3)]+_0x4c88af,this[_0x2e1a45(0x2c4)](_0x2ad339);}),this[_0x7d3cdd(0x22b)]()?(this[_0x7d3cdd(0x21e)]=0x0,this[_0x7d3cdd(0x235)](!0x0),await this[_0x7d3cdd(0x22f)]()):(this[_0x7d3cdd(0x299)]=!0x1,this[_0x7d3cdd(0x2d0)]());}[_0x1aa1f8(0x29b)](_0x4b067b,_0x581970){const _0x51b184=_0x1aa1f8,_0x3a92f8=_0x581970&&_0x581970[_0x51b184(0x2a3)];if(_0x3a92f8&&_0x3a92f8[_0x51b184(0x293)](_0x51b184(0x243)))throw _0x581970;const _0x55bd6f=this[_0x51b184(0x2d1)][_0x51b184(0x1fe)][_0x51b184(0x259)](_0x29783d);throw this[_0x51b184(0x299)]=!0x0,_0x55bd6f[_0x51b184(0x21d)](),this[_0x51b184(0x2d1)][_0x51b184(0x20a)](_0x51b184(0x291)),new _0x18c0ef(_0x4b067b,this[_0x51b184(0x2d1)],_0x3a92f8?{'originalError':_0x3a92f8}:void 0x0);}[_0x1aa1f8(0x2c4)](_0x32ec17){const _0x585c8d=_0x1aa1f8;this[_0x585c8d(0x24f)][_0x585c8d(0x223)](_0x32ec17)||(this[_0x585c8d(0x24f)][_0x585c8d(0x20f)](_0x32ec17),this[_0x585c8d(0x23a)][_0x585c8d(0x208)](_0x32ec17),this[_0x585c8d(0x2c7)]||_0x585c8d(0x257)==_0x32ec17[_0x585c8d(0x23e)]&&!_0x32ec17[_0x585c8d(0x261)]||this[_0x585c8d(0x25d)]());}[_0x1aa1f8(0x235)](_0x19c5f1=!0x1){const _0x4a0b0e=_0x1aa1f8;!_0x19c5f1&&this[_0x4a0b0e(0x299)]||(this[_0x4a0b0e(0x299)]=!0x0,clearTimeout(this[_0x4a0b0e(0x212)]),this[_0x4a0b0e(0x212)]=setTimeout(()=>{const _0x59c961=_0x4a0b0e;this[_0x59c961(0x2df)]()[_0x59c961(0x28d)](_0x27d61d=>{const _0x3cc0cc=_0x59c961;_0x27d61d&&(this[_0x3cc0cc(0x2d0)](),this[_0x3cc0cc(0x299)]=!0x1);})[_0x59c961(0x1fc)](_0x13fa22=>{const _0x51fcba=_0x59c961;this[_0x51fcba(0x2d0)](),this[_0x51fcba(0x299)]=!0x1,function(_0x27fea9){const _0x3a5326=_0x51fcba;return _0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x24b))||_0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x233))||_0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x262));}(_0x13fa22)||this[_0x51fcba(0x29b)](_0x13fa22[_0x51fcba(0x2a3)],_0x13fa22);});},this[_0x4a0b0e(0x21e)]));}[_0x1aa1f8(0x22f)](){return new Promise(_0x34b527=>{const _0x1d1af5=_0x2b95;this['on'](_0x1d1af5(0x2a6),()=>{_0x34b527();});});}async[_0x1aa1f8(0x2df)](){const _0x5c4101=_0x1aa1f8,_0x496791=this[_0x5c4101(0x2d1)][_0x5c4101(0x1fe)][_0x5c4101(0x259)](_0x4d3afe);if(this[_0x5c4101(0x250)]()&&(_0x496791[_0x5c4101(0x2bc)](),this[_0x5c4101(0x245)]=!0x1),!this[_0x5c4101(0x22b)]())return!0x0;const _0x37bd6e=[...this[_0x5c4101(0x23a)]];for(const _0x3ea2e2 of _0x37bd6e)_0x3ea2e2[_0x5c4101(0x240)]=this[_0x5c4101(0x292)][_0x5c4101(0x260)][_0x5c4101(0x298)](_0x3ea2e2);const _0x40f60e=this[_0x5c4101(0x203)][_0x5c4101(0x21a)](_0x37bd6e),_0x52b989=Q++,_0x1ea5c5=this[_0x5c4101(0x213)](_0x37bd6e),_0x42ba38=await this[_0x5c4101(0x2ef)][_0x5c4101(0x28b)](_0x1ea5c5,_0x1ea5c5[_0x5c4101(0x2b6)],_0x40f60e);try{return await this[_0x5c4101(0x218)](_0x37bd6e,_0x42ba38,_0x52b989);}catch(_0x41d033){return this[_0x5c4101(0x29b)](_0x5c4101(0x297),_0x41d033);}}async[_0x1aa1f8(0x218)](_0x517eba,_0x51d23a,_0x3e9955){const _0x35a940=_0x1aa1f8;if(_0x35a940(0x27d)in _0x51d23a)throw _0x51d23a[_0x35a940(0x27d)];let _0x521978=!0x1;if(_0x51d23a[_0x35a940(0x1ec)]){_0x51d23a[_0x35a940(0x27e)]&&(this[_0x35a940(0x281)]=_0x51d23a[_0x35a940(0x27e)]),this[_0x35a940(0x23a)]=this[_0x35a940(0x23a)][_0x35a940(0x2cd)](_0x1b5240=>!_0x517eba[_0x35a940(0x20c)](_0x1b5240));for(const _0x3c5f25 of _0x517eba)_0x3c5f25[_0x35a940(0x2cb)]=_0x35a940(0x2d4)in _0x51d23a&&_0x51d23a[_0x35a940(0x2d4)]||void 0x0;Y(_0x517eba,_0x51d23a[_0x35a940(0x2c3)]-_0x517eba[_0x35a940(0x244)]),this[_0x35a940(0x22e)](_0x517eba);const _0x3875c1=_0x517eba[_0x35a940(0x2cd)](_0xa9e7fb=>{const _0x3779ed=_0x35a940;if(!_0xa9e7fb[_0x3779ed(0x2b9)])return!0x1;const _0x5b2f88=this[_0x3779ed(0x2b0)](_0xa9e7fb);return _0x5b2f88&&!this[_0x3779ed(0x226)][_0x3779ed(0x223)](_0x5b2f88);});Y(_0x3875c1,this[_0x35a940(0x292)][_0x35a940(0x2c3)]),this[_0x35a940(0x2a2)](_0x3875c1),_0x521978=!0x0,this[_0x35a940(0x21e)]=this[_0x35a940(0x285)];}else{const _0x307599=this[_0x35a940(0x20b)](_0x51d23a[_0x35a940(0x23f)],_0x51d23a[_0x35a940(0x232)])[_0x35a940(0x2cd)](_0x277573=>_0x277573[_0x35a940(0x2b6)]>=this[_0x35a940(0x267)]);_0x307599[_0x35a940(0x201)](_0x1b316e=>this[_0x35a940(0x26d)](_0x1b316e)),this[_0x35a940(0x23a)]=this[_0x35a940(0x23a)][_0x35a940(0x2cd)](_0x5e5613=>!_0x5e5613[_0x35a940(0x2b9)]||!this[_0x35a940(0x226)][_0x35a940(0x223)](this[_0x35a940(0x2b0)](_0x5e5613))),this[_0x35a940(0x23a)][_0x35a940(0x244)]&&Y(this[_0x35a940(0x23a)],this[_0x35a940(0x23a)][0x0][_0x35a940(0x2b6)]),await this[_0x35a940(0x28c)](_0x307599),_0x521978=this[_0x35a940(0x206)](_0x307599,_0x51d23a[_0x35a940(0x2c3)],_0x51d23a[_0x35a940(0x27e)]),this[_0x35a940(0x21e)]=Math[_0x35a940(0x21f)](this[_0x35a940(0x21e)]/0x2);}return _0x521978?!this[_0x35a940(0x22b)]()||(this[_0x35a940(0x235)](!0x0),!0x1):this[_0x35a940(0x29b)](_0x35a940(0x248));}[_0x1aa1f8(0x206)](_0x8b5f44,_0x3f6852,_0x57c83b){const _0x459bff=_0x1aa1f8;try{const _0x1cb217={'document':this[_0x459bff(0x292)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4772ac,operationsB:_0x873b9f,originalOperations:_0x429be4}=_0x3e8b39(_0x8b5f44,this[_0x459bff(0x23a)],_0x1cb217);Y(_0x4772ac,this[_0x459bff(0x292)][_0x459bff(0x2c3)]),Y(_0x873b9f,_0x3f6852);for(const _0x2c28f3 of _0x4772ac){const _0x597753=_0x429be4[_0x459bff(0x259)](_0x2c28f3);_0x2c28f3[_0x459bff(0x25a)]=_0x597753?_0x597753[_0x459bff(0x25a)]:null;}_0x57c83b&&(this[_0x459bff(0x203)][_0x459bff(0x24c)](_0x8b5f44,_0x57c83b),this[_0x459bff(0x281)]=_0x57c83b),this[_0x459bff(0x23a)]=[..._0x873b9f],this[_0x459bff(0x2a2)](_0x4772ac),this[_0x459bff(0x22e)](_0x8b5f44);}catch(_0xbd1cf8){return console[_0x459bff(0x27d)](_0xbd1cf8),!0x1;}return!0x0;}[_0x1aa1f8(0x2a2)](_0x5c604f,_0x511988=!0x1){const _0x28fac3=_0x1aa1f8;this[_0x28fac3(0x2d1)][_0x28fac3(0x2cc)][_0x28fac3(0x2a8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x35d6ba=>{const _0x460ed9=_0x28fac3;for(const _0x17d8c9 of _0x5c604f)this[_0x460ed9(0x24f)][_0x460ed9(0x20f)](_0x17d8c9),this[_0x460ed9(0x26d)](_0x17d8c9),_0x35d6ba[_0x460ed9(0x2d2)][_0x460ed9(0x1ee)](_0x17d8c9),this[_0x460ed9(0x2d1)][_0x460ed9(0x2cc)][_0x460ed9(0x288)](_0x17d8c9);});}[_0x1aa1f8(0x26d)](_0xdaeadc){const _0x8158b7=_0x1aa1f8,_0x5d3a35=this[_0x8158b7(0x2b0)](_0xdaeadc);_0x5d3a35&&this[_0x8158b7(0x226)][_0x8158b7(0x20f)](_0x5d3a35);}[_0x1aa1f8(0x2b0)](_0x4f88c6){const _0x215183=_0x1aa1f8;let _0x3e5a6d,_0x5860f8;switch(_0x4f88c6[_0x215183(0x23e)]){case _0x215183(0x278):_0x3e5a6d=_0x4f88c6[_0x215183(0x27c)][_0x215183(0x1f3)];break;case _0x215183(0x257):if(_0x5860f8=_0x4f88c6[_0x215183(0x200)],!_0x5860f8)return null;_0x3e5a6d=_0x5860f8[_0x215183(0x1f3)];break;case _0x215183(0x2b3):_0x3e5a6d=_0x4f88c6[_0x215183(0x1f3)];break;case _0x215183(0x205):_0x3e5a6d=_0x4f88c6[_0x215183(0x25e)];break;case _0x215183(0x273):_0x3e5a6d=_0x4f88c6[_0x215183(0x27a)][_0x215183(0x1f3)];break;default:return null;}return _0x3e5a6d[_0x215183(0x25f)];}[_0x1aa1f8(0x22e)](_0x1a9821){const _0x5f1860=_0x1aa1f8;_0x1a9821[_0x5f1860(0x201)](_0x51b8de=>{const _0x2ee632=_0x5f1860,_0x3cab63=_0x51b8de[_0x2ee632(0x280)]();_0x3cab63[_0x2ee632(0x25a)]=_0x51b8de[_0x2ee632(0x25a)],_0x3cab63[_0x2ee632(0x2b9)]=!!_0x51b8de[_0x2ee632(0x2b9)],_0x3cab63[_0x2ee632(0x2cb)]=_0x51b8de[_0x2ee632(0x2cb)],_0x3cab63[_0x2ee632(0x2b6)]+=this[_0x2ee632(0x2a5)],_0x51b8de[_0x2ee632(0x227)]&&this[_0x2ee632(0x2a1)][_0x2ee632(0x20f)](_0x3cab63),this[_0x2ee632(0x2d9)][_0x2ee632(0x1ee)](_0x3cab63);});}[_0x1aa1f8(0x2bb)](_0x39bb87){const _0xf6d785=_0x1aa1f8,_0x1ad31c=this[_0xf6d785(0x2d1)][_0xf6d785(0x1fe)][_0xf6d785(0x259)](_0xf6d785(0x26a)),_0x1f3cb8=this[_0xf6d785(0x2d1)][_0xf6d785(0x28f)];_0x39bb87||(_0x39bb87=_0x5692b6(_0x1f3cb8,_0xf6d785(0x249))),_0x1ad31c[_0xf6d785(0x2d7)](_0x39bb87,{'title':_0x5692b6(_0x1f3cb8,_0xf6d785(0x265)),'namespace':_0xf6d785(0x217)}),this[_0xf6d785(0x284)]=!0x0,clearTimeout(this[_0xf6d785(0x212)]),this[_0xf6d785(0x23a)]=[],this[_0xf6d785(0x2d1)][_0xf6d785(0x1fe)][_0xf6d785(0x259)](_0x29783d)[_0xf6d785(0x21d)]();}[_0x1aa1f8(0x25d)](){const _0x240500=_0x1aa1f8;this[_0x240500(0x2c7)]||(this[_0x240500(0x2c7)]=this[_0x240500(0x2d1)][_0x240500(0x1fe)][_0x240500(0x259)](_0x4a8896)[_0x240500(0x20f)](_0x5692b6(this[_0x240500(0x2d1)][_0x240500(0x28f)],_0x240500(0x2a7))));}[_0x1aa1f8(0x2d0)](){const _0x188010=_0x1aa1f8;this[_0x188010(0x2c7)]&&(this[_0x188010(0x2d1)][_0x188010(0x1fe)][_0x188010(0x259)](_0x4a8896)[_0x188010(0x24a)](this[_0x188010(0x2c7)]),this[_0x188010(0x2c7)]=null);}[_0x1aa1f8(0x213)](_0x3e3c54){const _0x312828=_0x1aa1f8,_0x150371=_0x3e3c54[_0x312828(0x1f0)](_0x471ffc=>_0x471ffc[_0x312828(0x2e6)]());return this[_0x312828(0x296)][_0x312828(0x20e)](_0x150371);}[_0x1aa1f8(0x20b)](_0x23a64c,_0x4c9d6d){const _0x329e3e=_0x1aa1f8;return this[_0x329e3e(0x296)][_0x329e3e(0x2ec)](_0x23a64c)[_0x329e3e(0x1f0)]((_0xefaaac,_0x1966b2)=>{const _0x4a0504=_0x329e3e,_0x5149ff=_0x4a0504(0x236)==_0x4c9d6d[_0x1966b2][_0x4a0504(0x23e)];if(_0x4a0504(0x2ae)==_0xefaaac[_0x4a0504(0x2c2)]){const _0x1fc561=_0xefaaac[_0x4a0504(0x27c)][_0x4a0504(0x1f3)];!this[_0x4a0504(0x292)][_0x4a0504(0x277)](_0x1fc561)&&(this[_0x4a0504(0x292)][_0x4a0504(0x27f)](_0x4a0504(0x29c),_0x1fc561)[_0x4a0504(0x271)]=!0x1);}const _0x866e6b=_0x30e033[_0x4a0504(0x2ea)](_0xefaaac,this[_0x4a0504(0x292)]);return _0x866e6b[_0x4a0504(0x240)]=_0xefaaac[_0x4a0504(0x240)],_0x866e6b[_0x4a0504(0x2b9)]=_0x5149ff,_0x866e6b[_0x4a0504(0x25a)]=_0x5149ff?null:_0x4c9d6d[_0x1966b2][_0x4a0504(0x2c0)],_0x866e6b[_0x4a0504(0x227)]=_0x4a0504(0x275)===_0x4c9d6d[_0x1966b2][_0x4a0504(0x23e)],_0x866e6b[_0x4a0504(0x2cb)]=_0x4c9d6d[_0x1966b2][_0x4a0504(0x2cb)],_0x866e6b;});}[_0x1aa1f8(0x2d6)](){const _0x2aa136=_0x1aa1f8;this[_0x2aa136(0x245)]=!0x0,this[_0x2aa136(0x250)]()?this[_0x2aa136(0x235)]():this[_0x2aa136(0x245)]=!0x1;}[_0x1aa1f8(0x250)](){const _0x4efb79=_0x1aa1f8,_0x2b8028=this[_0x4efb79(0x2d1)][_0x4efb79(0x1fe)][_0x4efb79(0x259)](_0x548109)[_0x4efb79(0x2be)][_0x4efb79(0x259)](this[_0x4efb79(0x252)]);return!this[_0x4efb79(0x2d1)][_0x4efb79(0x2a9)]&&!!_0x2b8028&&_0x2b8028[_0x4efb79(0x244)]>0x1&&this[_0x4efb79(0x245)];}[_0x1aa1f8(0x22b)](){const _0x16e0e9=_0x1aa1f8;return this[_0x16e0e9(0x23a)][_0x16e0e9(0x244)]>0x0||this[_0x16e0e9(0x250)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x43c201,_0xff0266){const _0x27ded2=_0x1aa1f8;for(const _0x33edd2 of _0x43c201)_0x33edd2[_0x27ded2(0x2b6)]=_0xff0266++;}class Z{[_0x1aa1f8(0x2c8)];[_0x1aa1f8(0x2de)];constructor(_0x3ffa3b){const _0x1974bd=_0x1aa1f8;this[_0x1974bd(0x2c8)]=_0x3ffa3b,this[_0x1974bd(0x2de)]=new WeakMap();}[_0x1aa1f8(0x21a)](_0x4ea956){const _0x140d76=_0x1aa1f8;let _0x3d427d=_0x4ea956[_0x140d76(0x244)];for(;_0x3d427d--;){const _0x54a19c=_0x4ea956[_0x3d427d];if(!this[_0x140d76(0x2c8)][_0x140d76(0x223)](_0x54a19c)){if(!this[_0x140d76(0x2de)][_0x140d76(0x223)](_0x54a19c)){const _0x578848=_0x5200cf()[_0x140d76(0x2c5)](0x1,0x12);this[_0x140d76(0x2de)][_0x140d76(0x214)](_0x54a19c,_0x578848);}return this[_0x140d76(0x2de)][_0x140d76(0x259)](_0x54a19c);}}}[_0x1aa1f8(0x24c)](_0x13b1da,_0x15ff96){const _0x20b674=_0x1aa1f8;if(!_0x15ff96)return;let _0x507f77=_0x13b1da[_0x20b674(0x244)];for(;_0x507f77--;){const _0x4a3a2b=_0x13b1da[_0x507f77];this[_0x20b674(0x2c8)][_0x20b674(0x223)](_0x4a3a2b)||this[_0x20b674(0x2de)][_0x20b674(0x214)](_0x4a3a2b,_0x15ff96);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bb9b8=_0x6fc3;(function(_0x41a446,_0x2186b4){const _0x29e177=_0x6fc3,_0x2d04a6=_0x41a446();while(!![]){try{const _0x50f9d6=parseInt(_0x29e177(0x1e3))/0x1+-parseInt(_0x29e177(0x1de))/0x2+parseInt(_0x29e177(0x20e))/0x3+parseInt(_0x29e177(0x1e6))/0x4*(-parseInt(_0x29e177(0x1e9))/0x5)+-parseInt(_0x29e177(0x1f7))/0x6+-parseInt(_0x29e177(0x207))/0x7+parseInt(_0x29e177(0x1fb))/0x8;if(_0x50f9d6===_0x2186b4)break;else _0x2d04a6['push'](_0x2d04a6['shift']());}catch(_0x280079){_0x2d04a6['push'](_0x2d04a6['shift']());}}}(_0x3d8f,0xc6c45));import{ContextPlugin as _0x1604d7}from'ckeditor5/src/core.js';import{Collection as _0x53b4e9,CKEditorError as _0x1e9c3e}from'ckeditor5/src/utils.js';function _0x3d8f(){const _0x192640=['connection','getUserBySessionId','get','getUserSessions','state','plugins','delete','addUser','stopListening','9294480IWiVOe','orderNumber','size','values','18137064JDEiCC','isMe','mySessionId','pluginName','channelConnectedUsers','getUserRole','assign','add','listenTo','sessions-unregister-not-exist','_handleSessionRemove','connected','1531950qnxsRr','allConnectedUsers','register','sessions-register-already-registered','sessionId','role','_registeredSessions','2078172zPjzpF','Sessions','isPremiumPlugin','set','sessionAdd:','_users','init','remove','isOfficialPlugin','has','_uniqueUsersCount','context','850304VExICx','forEach','change:state','channelSessions','_handleSessionAdd','1597033SlPjBB','_createUser','getUser','7068DoCZkx','fire','clear','4385qJfmMQ','requires','user','unregister','defineMe'];_0x3d8f=function(){return _0x192640;};return _0x3d8f();}function _0x6fc3(_0xdf4c03,_0x1cdeb1){const _0x3d8fc6=_0x3d8f();return _0x6fc3=function(_0x6fc306,_0x44dc42){_0x6fc306=_0x6fc306-0x1db;let _0x5f0d4f=_0x3d8fc6[_0x6fc306];return _0x5f0d4f;},_0x6fc3(_0xdf4c03,_0x1cdeb1);}import{WebSocketGateway as _0x1c0694}from'./websocketgateway.js';import{Users as _0x17a221}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1604d7{[_0x3bb9b8(0x1e1)];[_0x3bb9b8(0x1ff)];[_0x3bb9b8(0x208)];[_0x3bb9b8(0x20d)];[_0x3bb9b8(0x1dc)];[_0x3bb9b8(0x213)];static get[_0x3bb9b8(0x1fe)](){const _0x168655=_0x3bb9b8;return _0x168655(0x20f);}static get[_0x3bb9b8(0x216)](){return!0x0;}static get[_0x3bb9b8(0x210)](){return!0x0;}static get[_0x3bb9b8(0x1ea)](){return[_0x1c0694,_0x17a221];}constructor(_0x1390a8){const _0x12a665=_0x3bb9b8;super(_0x1390a8),this[_0x12a665(0x1e1)]=new Map(),this[_0x12a665(0x1ff)]=new Map(),this[_0x12a665(0x208)]=new _0x53b4e9(),this[_0x12a665(0x20d)]=new Map(),this[_0x12a665(0x1dc)]=0x0,this[_0x12a665(0x213)]=this[_0x12a665(0x1dd)][_0x12a665(0x1f3)][_0x12a665(0x1f0)](_0x17a221);}[_0x3bb9b8(0x214)](){const _0x251056=_0x3bb9b8,_0x42996b=this[_0x251056(0x1dd)][_0x251056(0x1f3)][_0x251056(0x1f0)](_0x1c0694);this[_0x251056(0x203)](_0x42996b,_0x251056(0x1e0),(_0x3d3aea,_0x1b4629,_0x40bdf3)=>{const _0x2f9f61=_0x251056;if(_0x2f9f61(0x206)!==_0x40bdf3)this[_0x2f9f61(0x1e1)][_0x2f9f61(0x1df)](_0x272ec3=>_0x272ec3[_0x2f9f61(0x1e8)]()),this[_0x2f9f61(0x1ff)][_0x2f9f61(0x1df)](_0x11c34b=>_0x11c34b[_0x2f9f61(0x1e8)]()),this[_0x2f9f61(0x208)][_0x2f9f61(0x1e8)]();else{for(const [_0x437ce0,_0xbb1e16]of this[_0x2f9f61(0x20d)])for(const _0xb04d54 of _0xbb1e16)this[_0x2f9f61(0x1e2)](_0x437ce0,_0xb04d54);}}),this[_0x251056(0x1e4)](_0x42996b[_0x251056(0x1ee)]['me'],!0x0);}[_0x3bb9b8(0x209)](_0x328262,_0x207b4c){const _0x33ac7b=_0x3bb9b8;if(this[_0x33ac7b(0x20d)][_0x33ac7b(0x1db)](_0x328262))throw new _0x1e9c3e(_0x33ac7b(0x20a),null,{'channelId':_0x328262});this[_0x33ac7b(0x20d)][_0x33ac7b(0x211)](_0x328262,_0x207b4c),this[_0x33ac7b(0x1e1)][_0x33ac7b(0x211)](_0x328262,new _0x53b4e9()),this[_0x33ac7b(0x1ff)][_0x33ac7b(0x211)](_0x328262,new _0x53b4e9()),this[_0x33ac7b(0x203)](_0x207b4c,_0x33ac7b(0x202),(_0x174190,_0x19e339)=>this[_0x33ac7b(0x1e2)](_0x328262,_0x19e339)),this[_0x33ac7b(0x203)](_0x207b4c,_0x33ac7b(0x215),(_0x10603c,_0x6159cf)=>this[_0x33ac7b(0x205)](_0x328262,_0x6159cf));for(const _0x40c3ff of _0x207b4c)this[_0x33ac7b(0x1e2)](_0x328262,_0x40c3ff);}[_0x3bb9b8(0x1ec)](_0x36b1fa){const _0x53f132=_0x3bb9b8;if(!this[_0x53f132(0x20d)][_0x53f132(0x1db)](_0x36b1fa))throw new _0x1e9c3e(_0x53f132(0x204),null,{'channelId':_0x36b1fa});const _0x262e62=this[_0x53f132(0x20d)][_0x53f132(0x1f0)](_0x36b1fa);this[_0x53f132(0x1f6)](_0x262e62);for(const _0x2d1748 of _0x262e62)_0x53f132(0x206)===this[_0x53f132(0x1dd)][_0x53f132(0x1f3)][_0x53f132(0x1f0)](_0x1c0694)[_0x53f132(0x1f2)]&&this[_0x53f132(0x205)](_0x36b1fa,_0x2d1748);this[_0x53f132(0x20d)][_0x53f132(0x1f4)](_0x36b1fa),this[_0x53f132(0x1e1)][_0x53f132(0x1f4)](_0x36b1fa),this[_0x53f132(0x1ff)][_0x53f132(0x1f4)](_0x36b1fa);}get[_0x3bb9b8(0x1fd)](){const _0x4ce947=_0x3bb9b8;return this[_0x4ce947(0x1dd)][_0x4ce947(0x1f3)][_0x4ce947(0x1f0)](_0x1c0694)[_0x4ce947(0x1ee)][_0x4ce947(0x20b)];}[_0x3bb9b8(0x1ef)](_0x4ff952){const _0x2b3bb3=_0x3bb9b8;for(const _0x3d4142 of this[_0x2b3bb3(0x1e1)][_0x2b3bb3(0x1fa)]())for(const _0x1df22b of _0x3d4142)if(_0x1df22b['id']===_0x4ff952)return _0x1df22b[_0x2b3bb3(0x1eb)];}[_0x3bb9b8(0x1f1)](_0x53dc7b,_0x8155ed){const _0x2214e2=_0x3bb9b8,_0x275220=_0x8155ed?[this[_0x2214e2(0x1e1)][_0x2214e2(0x1f0)](_0x8155ed)]:this[_0x2214e2(0x1e1)][_0x2214e2(0x1fa)](),_0x27ab0e=new Set();for(const _0x504bee of _0x275220)for(const _0x4dabec of _0x504bee)_0x4dabec[_0x2214e2(0x1eb)]['id']===_0x53dc7b['id']&&_0x27ab0e[_0x2214e2(0x202)](_0x4dabec['id']);return _0x27ab0e;}[_0x3bb9b8(0x200)](_0x5d6dd8){const _0x2e34f6=_0x3bb9b8;for(const _0x359452 of this[_0x2e34f6(0x1e1)][_0x2e34f6(0x1fa)]())for(const _0x3f68bb of _0x359452)if(_0x3f68bb[_0x2e34f6(0x1eb)]===_0x5d6dd8)return _0x3f68bb[_0x2e34f6(0x20c)];}[_0x3bb9b8(0x1e2)](_0x28ea56,_0x3f962){const _0x376c39=_0x3bb9b8;if(_0x376c39(0x206)!==this[_0x376c39(0x1dd)][_0x376c39(0x1f3)][_0x376c39(0x1f0)](_0x1c0694)[_0x376c39(0x1f2)])return;const _0x140397=_0x3f962[_0x376c39(0x1eb)],_0x4775e0=this[_0x376c39(0x213)][_0x376c39(0x1e5)](_0x140397['id'])||this[_0x376c39(0x1e4)](_0x140397),_0x53b15c=Object[_0x376c39(0x201)]({},_0x3f962,{'user':_0x4775e0});this[_0x376c39(0x1e1)][_0x376c39(0x1f0)](_0x28ea56)[_0x376c39(0x202)](_0x53b15c);const _0xbf4d1=this[_0x376c39(0x1ff)][_0x376c39(0x1f0)](_0x28ea56);_0xbf4d1[_0x376c39(0x1db)](_0x4775e0['id'])||_0xbf4d1[_0x376c39(0x202)](_0x4775e0),this[_0x376c39(0x208)][_0x376c39(0x1db)](_0x4775e0['id'])||this[_0x376c39(0x208)][_0x376c39(0x202)](_0x4775e0,_0x4775e0[_0x376c39(0x1fc)]?0x0:void 0x0),this[_0x376c39(0x1e7)](_0x376c39(0x212)+_0x28ea56,{'channelId':_0x28ea56,'session':_0x53b15c});}[_0x3bb9b8(0x205)](_0x56de67,_0x47ee85){const _0x1c380f=_0x3bb9b8;if(_0x1c380f(0x206)!==this[_0x1c380f(0x1dd)][_0x1c380f(0x1f3)][_0x1c380f(0x1f0)](_0x1c0694)[_0x1c380f(0x1f2)])return;const _0x34d1f1=this[_0x1c380f(0x1ff)][_0x1c380f(0x1f0)](_0x56de67),_0x552546=_0x47ee85[_0x1c380f(0x1eb)];_0x552546['id']&&(this[_0x1c380f(0x1e1)][_0x1c380f(0x1f0)](_0x56de67)[_0x1c380f(0x215)](_0x47ee85['id']),_0x34d1f1[_0x1c380f(0x1db)](_0x552546['id'])&&!this[_0x1c380f(0x1f1)](_0x552546,_0x56de67)[_0x1c380f(0x1f9)]&&_0x34d1f1[_0x1c380f(0x215)](_0x552546['id']),this[_0x1c380f(0x208)][_0x1c380f(0x1f0)](_0x552546['id'])&&!this[_0x1c380f(0x1f1)](_0x552546)[_0x1c380f(0x1f9)]&&this[_0x1c380f(0x208)][_0x1c380f(0x215)](_0x552546['id']));}[_0x3bb9b8(0x1e4)](_0x327600,_0x2040df){const _0x4276e2=_0x3bb9b8,_0x55b986=this[_0x4276e2(0x213)][_0x4276e2(0x1f5)](_0x327600);return _0x2040df&&this[_0x4276e2(0x213)][_0x4276e2(0x1ed)](_0x327600['id']),_0x55b986[_0x4276e2(0x1f8)]=this[_0x4276e2(0x1dc)]++,_0x55b986;}}
23
+ const _0x200ef6=_0x5151;function _0x4fe6(){const _0x208679=['listenTo','unregister','channelConnectedUsers','user','_registeredSessions','forEach','defineMe','channelSessions','_uniqueUsersCount','_createUser','connection','4PFXJgH','_handleSessionAdd','isPremiumPlugin','has','connected','get','size','mySessionId','addUser','requires','delete','isMe','Sessions','allConnectedUsers','stopListening','sessions-register-already-registered','clear','getUserSessions','133740IVXOUZ','remove','state','init','32548xzhrfa','getUser','assign','2764164OpaCVf','3625006aPpnSK','7491450dJDuiu','sessionAdd:','add','plugins','_users','424ADejWO','545fgEZVW','change:state','role','fire','register','set','3871356oXMUTT','values','getUserRole','108441XowiXs','isOfficialPlugin','pluginName','orderNumber','context','sessionId','getUserBySessionId','_handleSessionRemove','sessions-unregister-not-exist'];_0x4fe6=function(){return _0x208679;};return _0x4fe6();}function _0x5151(_0x1e5549,_0x290f7e){const _0x4fe6ba=_0x4fe6();return _0x5151=function(_0x5151b6,_0x207b5a){_0x5151b6=_0x5151b6-0x11f;let _0x188723=_0x4fe6ba[_0x5151b6];return _0x188723;},_0x5151(_0x1e5549,_0x290f7e);}(function(_0x3b4611,_0x82b859){const _0x299fec=_0x5151,_0x17cd47=_0x3b4611();while(!![]){try{const _0x4f72f6=-parseInt(_0x299fec(0x156))/0x1*(-parseInt(_0x299fec(0x12c))/0x2)+-parseInt(_0x299fec(0x145))/0x3+-parseInt(_0x299fec(0x142))/0x4*(-parseInt(_0x299fec(0x14d))/0x5)+-parseInt(_0x299fec(0x153))/0x6+-parseInt(_0x299fec(0x146))/0x7+parseInt(_0x299fec(0x14c))/0x8*(parseInt(_0x299fec(0x13e))/0x9)+parseInt(_0x299fec(0x147))/0xa;if(_0x4f72f6===_0x82b859)break;else _0x17cd47['push'](_0x17cd47['shift']());}catch(_0x38e395){_0x17cd47['push'](_0x17cd47['shift']());}}}(_0x4fe6,0x87c24));import{ContextPlugin as _0x5b355d}from'ckeditor5/src/core.js';import{Collection as _0x4baf3a,CKEditorError as _0x2d039b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5bdce7}from'./websocketgateway.js';import{Users as _0x202498}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5b355d{[_0x200ef6(0x128)];[_0x200ef6(0x123)];[_0x200ef6(0x139)];[_0x200ef6(0x125)];[_0x200ef6(0x129)];[_0x200ef6(0x14b)];static get[_0x200ef6(0x158)](){const _0x20b30e=_0x200ef6;return _0x20b30e(0x138);}static get[_0x200ef6(0x157)](){return!0x0;}static get[_0x200ef6(0x12e)](){return!0x0;}static get[_0x200ef6(0x135)](){return[_0x5bdce7,_0x202498];}constructor(_0x38c46f){const _0x48ae61=_0x200ef6;super(_0x38c46f),this[_0x48ae61(0x128)]=new Map(),this[_0x48ae61(0x123)]=new Map(),this[_0x48ae61(0x139)]=new _0x4baf3a(),this[_0x48ae61(0x125)]=new Map(),this[_0x48ae61(0x129)]=0x0,this[_0x48ae61(0x14b)]=this[_0x48ae61(0x15a)][_0x48ae61(0x14a)][_0x48ae61(0x131)](_0x202498);}[_0x200ef6(0x141)](){const _0x851a82=_0x200ef6,_0x5e59c2=this[_0x851a82(0x15a)][_0x851a82(0x14a)][_0x851a82(0x131)](_0x5bdce7);this[_0x851a82(0x121)](_0x5e59c2,_0x851a82(0x14e),(_0x54052a,_0xee386a,_0xd51795)=>{const _0x174805=_0x851a82;if(_0x174805(0x130)!==_0xd51795)this[_0x174805(0x128)][_0x174805(0x126)](_0x35436a=>_0x35436a[_0x174805(0x13c)]()),this[_0x174805(0x123)][_0x174805(0x126)](_0x123651=>_0x123651[_0x174805(0x13c)]()),this[_0x174805(0x139)][_0x174805(0x13c)]();else{for(const [_0x49ddfa,_0xe5f525]of this[_0x174805(0x125)])for(const _0x207cb3 of _0xe5f525)this[_0x174805(0x12d)](_0x49ddfa,_0x207cb3);}}),this[_0x851a82(0x12a)](_0x5e59c2[_0x851a82(0x12b)]['me'],!0x0);}[_0x200ef6(0x151)](_0x516f39,_0xb24419){const _0x37bd32=_0x200ef6;if(this[_0x37bd32(0x125)][_0x37bd32(0x12f)](_0x516f39))throw new _0x2d039b(_0x37bd32(0x13b),null,{'channelId':_0x516f39});this[_0x37bd32(0x125)][_0x37bd32(0x152)](_0x516f39,_0xb24419),this[_0x37bd32(0x128)][_0x37bd32(0x152)](_0x516f39,new _0x4baf3a()),this[_0x37bd32(0x123)][_0x37bd32(0x152)](_0x516f39,new _0x4baf3a()),this[_0x37bd32(0x121)](_0xb24419,_0x37bd32(0x149),(_0x2640f6,_0x31fcca)=>this[_0x37bd32(0x12d)](_0x516f39,_0x31fcca)),this[_0x37bd32(0x121)](_0xb24419,_0x37bd32(0x13f),(_0x5deeb4,_0x34953d)=>this[_0x37bd32(0x11f)](_0x516f39,_0x34953d));for(const _0x39b383 of _0xb24419)this[_0x37bd32(0x12d)](_0x516f39,_0x39b383);}[_0x200ef6(0x122)](_0x25bc85){const _0x2b2c94=_0x200ef6;if(!this[_0x2b2c94(0x125)][_0x2b2c94(0x12f)](_0x25bc85))throw new _0x2d039b(_0x2b2c94(0x120),null,{'channelId':_0x25bc85});const _0x2a8811=this[_0x2b2c94(0x125)][_0x2b2c94(0x131)](_0x25bc85);this[_0x2b2c94(0x13a)](_0x2a8811);for(const _0x4ad43a of _0x2a8811)_0x2b2c94(0x130)===this[_0x2b2c94(0x15a)][_0x2b2c94(0x14a)][_0x2b2c94(0x131)](_0x5bdce7)[_0x2b2c94(0x140)]&&this[_0x2b2c94(0x11f)](_0x25bc85,_0x4ad43a);this[_0x2b2c94(0x125)][_0x2b2c94(0x136)](_0x25bc85),this[_0x2b2c94(0x128)][_0x2b2c94(0x136)](_0x25bc85),this[_0x2b2c94(0x123)][_0x2b2c94(0x136)](_0x25bc85);}get[_0x200ef6(0x133)](){const _0x30012c=_0x200ef6;return this[_0x30012c(0x15a)][_0x30012c(0x14a)][_0x30012c(0x131)](_0x5bdce7)[_0x30012c(0x12b)][_0x30012c(0x15b)];}[_0x200ef6(0x15c)](_0x2e6cb3){const _0x1764f7=_0x200ef6;for(const _0x4328d5 of this[_0x1764f7(0x128)][_0x1764f7(0x154)]())for(const _0x595f32 of _0x4328d5)if(_0x595f32['id']===_0x2e6cb3)return _0x595f32[_0x1764f7(0x124)];}[_0x200ef6(0x13d)](_0x3e01aa,_0x53078c){const _0x50261d=_0x200ef6,_0x29d839=_0x53078c?[this[_0x50261d(0x128)][_0x50261d(0x131)](_0x53078c)]:this[_0x50261d(0x128)][_0x50261d(0x154)](),_0x2f4653=new Set();for(const _0x1cbdb6 of _0x29d839)for(const _0x54662e of _0x1cbdb6)_0x54662e[_0x50261d(0x124)]['id']===_0x3e01aa['id']&&_0x2f4653[_0x50261d(0x149)](_0x54662e['id']);return _0x2f4653;}[_0x200ef6(0x155)](_0x2126fa){const _0x456e6a=_0x200ef6;for(const _0x408aaf of this[_0x456e6a(0x128)][_0x456e6a(0x154)]())for(const _0x40d8aa of _0x408aaf)if(_0x40d8aa[_0x456e6a(0x124)]===_0x2126fa)return _0x40d8aa[_0x456e6a(0x14f)];}[_0x200ef6(0x12d)](_0x2841a1,_0x2dc452){const _0x1c0b18=_0x200ef6;if(_0x1c0b18(0x130)!==this[_0x1c0b18(0x15a)][_0x1c0b18(0x14a)][_0x1c0b18(0x131)](_0x5bdce7)[_0x1c0b18(0x140)])return;const _0x1255cd=_0x2dc452[_0x1c0b18(0x124)],_0x4c2db1=this[_0x1c0b18(0x14b)][_0x1c0b18(0x143)](_0x1255cd['id'])||this[_0x1c0b18(0x12a)](_0x1255cd),_0x2fd043=Object[_0x1c0b18(0x144)]({},_0x2dc452,{'user':_0x4c2db1});this[_0x1c0b18(0x128)][_0x1c0b18(0x131)](_0x2841a1)[_0x1c0b18(0x149)](_0x2fd043);const _0x1844f8=this[_0x1c0b18(0x123)][_0x1c0b18(0x131)](_0x2841a1);_0x1844f8[_0x1c0b18(0x12f)](_0x4c2db1['id'])||_0x1844f8[_0x1c0b18(0x149)](_0x4c2db1),this[_0x1c0b18(0x139)][_0x1c0b18(0x12f)](_0x4c2db1['id'])||this[_0x1c0b18(0x139)][_0x1c0b18(0x149)](_0x4c2db1,_0x4c2db1[_0x1c0b18(0x137)]?0x0:void 0x0),this[_0x1c0b18(0x150)](_0x1c0b18(0x148)+_0x2841a1,{'channelId':_0x2841a1,'session':_0x2fd043});}[_0x200ef6(0x11f)](_0xd3cfb8,_0x403722){const _0x3cd5a7=_0x200ef6;if(_0x3cd5a7(0x130)!==this[_0x3cd5a7(0x15a)][_0x3cd5a7(0x14a)][_0x3cd5a7(0x131)](_0x5bdce7)[_0x3cd5a7(0x140)])return;const _0x4ea00b=this[_0x3cd5a7(0x123)][_0x3cd5a7(0x131)](_0xd3cfb8),_0x1b5034=_0x403722[_0x3cd5a7(0x124)];_0x1b5034['id']&&(this[_0x3cd5a7(0x128)][_0x3cd5a7(0x131)](_0xd3cfb8)[_0x3cd5a7(0x13f)](_0x403722['id']),_0x4ea00b[_0x3cd5a7(0x12f)](_0x1b5034['id'])&&!this[_0x3cd5a7(0x13d)](_0x1b5034,_0xd3cfb8)[_0x3cd5a7(0x132)]&&_0x4ea00b[_0x3cd5a7(0x13f)](_0x1b5034['id']),this[_0x3cd5a7(0x139)][_0x3cd5a7(0x131)](_0x1b5034['id'])&&!this[_0x3cd5a7(0x13d)](_0x1b5034)[_0x3cd5a7(0x132)]&&this[_0x3cd5a7(0x139)][_0x3cd5a7(0x13f)](_0x1b5034['id']));}[_0x200ef6(0x12a)](_0x101655,_0x32f767){const _0x3b8ec0=_0x200ef6,_0x3e18c9=this[_0x3b8ec0(0x14b)][_0x3b8ec0(0x134)](_0x101655);return _0x32f767&&this[_0x3b8ec0(0x14b)][_0x3b8ec0(0x127)](_0x101655['id']),_0x3e18c9[_0x3b8ec0(0x159)]=this[_0x3b8ec0(0x129)]++,_0x3e18c9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa89c7d=_0x1744;(function(_0x34e0ee,_0x2dac8a){const _0x226bc4=_0x1744,_0xce1d05=_0x34e0ee();while(!![]){try{const _0x291519=parseInt(_0x226bc4(0x101))/0x1+-parseInt(_0x226bc4(0x124))/0x2*(parseInt(_0x226bc4(0xd9))/0x3)+parseInt(_0x226bc4(0xcb))/0x4+-parseInt(_0x226bc4(0xfc))/0x5+parseInt(_0x226bc4(0xd2))/0x6+parseInt(_0x226bc4(0xf9))/0x7*(-parseInt(_0x226bc4(0x147))/0x8)+parseInt(_0x226bc4(0x12c))/0x9;if(_0x291519===_0x2dac8a)break;else _0xce1d05['push'](_0xce1d05['shift']());}catch(_0x5e08b2){_0xce1d05['push'](_0xce1d05['shift']());}}}(_0xc3cb,0xe5d80));import{Plugin as _0x388000}from'ckeditor5/src/core.js';function _0x1744(_0x5714b3,_0x23159){const _0xc3cb16=_0xc3cb();return _0x1744=function(_0x17446,_0x55a0a3){_0x17446=_0x17446-0xbf;let _0x4559b5=_0xc3cb16[_0x17446];return _0x4559b5;},_0x1744(_0x5714b3,_0x23159);}import{global as _0x41b905,DomEmitterMixin as _0x308af3}from'ckeditor5/src/utils.js';import{Sessions as _0x510e40}from'./sessions.js';import{ModelLiveRange as _0x326467}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x388000{[_0xa89c7d(0x11c)]=new(_0x308af3())();static get[_0xa89c7d(0x105)](){return[_0x510e40];}static get[_0xa89c7d(0xbf)](){const _0x3a503f=_0xa89c7d;return _0x3a503f(0x13a);}static get[_0xa89c7d(0x121)](){return!0x0;}static get[_0xa89c7d(0xd1)](){return!0x0;}[_0xa89c7d(0xc4)](){const _0x4bd8c9=_0xa89c7d,_0x263c5c=this[_0x4bd8c9(0x13f)],_0x307cae=_0x263c5c[_0x4bd8c9(0x115)][_0x4bd8c9(0xf4)](_0x510e40);_0x263c5c[_0x4bd8c9(0x130)][_0x4bd8c9(0x114)](_0x4bd8c9(0x110))[_0x4bd8c9(0x123)]({'model':_0x4bd8c9(0x134),'view':(_0x1e5b74,{writer:_0x4631b3})=>function(_0x59a166,_0x2c7524,_0x1e19df,_0x3867d2){const _0x4ee4bd=_0x4bd8c9,_0x39840b=_0x59a166[_0x4ee4bd(0x128)][_0x4ee4bd(0xfa)](':')[0x2],_0x14d724=_0x1e19df[_0x4ee4bd(0xe8)](_0x39840b);if(!_0x14d724||_0x39840b===_0x1e19df[_0x4ee4bd(0xf5)])return;if(!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)][_0x4ee4bd(0xd0)](_0x59a166[_0x4ee4bd(0x12a)][_0x4ee4bd(0x103)],_0x4ee4bd(0xef)))return;const _0x303d1f={'class':_0x4ee4bd(0xe5)+_0x14d724[_0x4ee4bd(0xe7)][_0x4ee4bd(0x12e)](),'data-name':_0x14d724[_0x4ee4bd(0x148)],'data-session-id':_0x39840b},_0x1bcb9e=_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0x120)][_0x4ee4bd(0xf4)](_0x59a166[_0x4ee4bd(0x128)]),_0x140894=_0x1bcb9e[_0x4ee4bd(0xed)](),_0x17f8fd=_0x140894[_0x4ee4bd(0xd5)],_0xa104d7=_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)];if(_0x17f8fd&&_0xa104d7[_0x4ee4bd(0x126)](_0x17f8fd)&&_0xa104d7[_0x4ee4bd(0x131)](_0x17f8fd)&&!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0x120)][_0x4ee4bd(0xf4)](_0x4ee4bd(0x138)+_0x39840b)[_0x4ee4bd(0xc5)]()[_0x4ee4bd(0x111)])return;const _0x454873=_0x140894[_0x4ee4bd(0xde)];return _0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)][_0x4ee4bd(0xc3)](_0x454873)&&!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xc8)](_0x454873)&&(_0x303d1f[_0x4ee4bd(0xc0)]=!0x1),function(_0x78cfe6,_0x52008d,_0x416f10){const _0x6f5953=_0x4ee4bd,_0x334d93=_0x78cfe6[_0x6f5953(0x102)](_0x6f5953(0x10e),_0x52008d);return _0x78cfe6[_0x6f5953(0xee)](_0x6f5953(0xe0),!0x0,_0x334d93),_0x334d93[_0x6f5953(0x113)]=function(_0x25559f){const _0x462f79=_0x6f5953,_0x58b572=this[_0x462f79(0xeb)](_0x25559f),_0x421a08=document[_0x462f79(0x104)](_0x462f79(0x10e));return _0x421a08[_0x462f79(0x122)][_0x462f79(0x136)](_0x462f79(0xdc)),_0x421a08[_0x462f79(0x125)](_0x462f79(0xc0),_0x462f79(0xe4)),_0x421a08[_0x462f79(0x125)](_0x462f79(0xfe),_0x462f79(0xe4)),_0x421a08[_0x462f79(0xc7)]=_0x416f10[_0x462f79(0x148)],_0x58b572[_0x462f79(0x11a)]=_0x462f79(0xda)+_0x421a08[_0x462f79(0x117)]+'⁠',_0x58b572[_0x462f79(0xcd)](_0x462f79(0xf0),()=>{const _0x59d760=_0x462f79;_0x58b572[_0x59d760(0x122)][_0x59d760(0x136)](_0x59d760(0xe1));}),_0x58b572[_0x462f79(0xcd)](_0x462f79(0xe3),()=>{const _0x5f5a95=_0x462f79;_0x58b572[_0x5f5a95(0x122)][_0x5f5a95(0xc6)](_0x5f5a95(0xe1));}),_0x58b572;},_0x334d93[_0x6f5953(0xf6)]=function(_0x5063cb){const _0x997dad=_0x6f5953;return!(!this[_0x997dad(0x12f)](_0x997dad(0xe0))||!_0x5063cb[_0x997dad(0x12f)](_0x997dad(0xe0))||this[_0x997dad(0x145)](_0x997dad(0x13d))!=_0x5063cb[_0x997dad(0x145)](_0x997dad(0x13d)));},_0x334d93;}(_0x2c7524,_0x303d1f,_0x14d724);}(_0x1e5b74,_0x4631b3,_0x307cae,_0x263c5c)}),_0x263c5c[_0x4bd8c9(0x130)][_0x4bd8c9(0x114)](_0x4bd8c9(0x110))[_0x4bd8c9(0xd4)]({'model':_0x4bd8c9(0xcf),'view':_0x7b1f5f=>function(_0x53fd42,_0x53bb88){const _0x2c9e79=_0x4bd8c9,_0x18b041=_0x53fd42[_0x2c9e79(0x128)][_0x2c9e79(0xfa)](':')[0x2];if(_0x18b041===_0x53bb88[_0x2c9e79(0xf5)])return null;const _0x18ea34=_0x53bb88[_0x2c9e79(0xe8)](_0x18b041);if(!_0x18ea34)return{'id':_0x18b041,'classes':[]};return{'id':_0x18b041,'classes':[_0x2c9e79(0x139),_0x18ea34[_0x2c9e79(0xe7)][_0x2c9e79(0x112)]()],'attributes':{'data-session-id':_0x18b041},'priority':0x7d0+_0x18ea34[_0x2c9e79(0x146)]};}(_0x7b1f5f,_0x307cae)}),function(_0x2a3609){const _0x3329f8=_0x4bd8c9,_0x2042f6=_0x2a3609[_0x3329f8(0x129)],_0x2af273=new Map(),_0x70262f=_0x2a3609[_0x3329f8(0x115)][_0x3329f8(0xf4)](_0x510e40);_0x2042f6[_0x3329f8(0x120)]['on'](_0x3329f8(0x10a),(_0x13faf7,_0x2446ef,_0x3278eb,_0x2b6596)=>{const _0x5d0b51=_0x3329f8;if(!_0x2b6596&&_0x2af273[_0x5d0b51(0xf4)](_0x2446ef[_0x5d0b51(0x148)]))return _0x2af273[_0x5d0b51(0xf4)](_0x2446ef[_0x5d0b51(0x148)])[_0x5d0b51(0xdd)](),void _0x2af273[_0x5d0b51(0x13c)](_0x2446ef[_0x5d0b51(0x148)]);const _0x389edc=_0x2446ef[_0x5d0b51(0x148)][_0x5d0b51(0xfa)](':')[0x2];if(_0x389edc===_0x70262f[_0x5d0b51(0xf5)])return;const _0x3fd72c=_0x5d0b51(0xd7)+_0x389edc;_0x2042f6[_0x5d0b51(0x120)][_0x5d0b51(0x140)](_0x3fd72c)&&_0x2a3609[_0x5d0b51(0x10b)][_0x5d0b51(0xd3)](_0x3fd72c),_0x2446ef['on'](_0x5d0b51(0x10c),(_0x17698c,_0x4627d2,_0x44ca3f)=>{const _0x1b4e73=_0x5d0b51;if(_0x1b4e73(0xf8)!=_0x4627d2[_0x1b4e73(0xe9)][_0x1b4e73(0xdb)]&&_0x1b4e73(0xf8)==_0x2446ef[_0x1b4e73(0xc5)]()[_0x1b4e73(0xe9)][_0x1b4e73(0xdb)]&&!_0x2af273[_0x1b4e73(0x140)](_0x2446ef[_0x1b4e73(0x148)])){const _0x3b1f56=_0x2042f6[_0x1b4e73(0xf1)][_0x1b4e73(0x142)](_0x44ca3f[_0x1b4e73(0x106)]);if(_0x3b1f56){const _0x17608d=_0x326467[_0x1b4e73(0xfb)](_0x3b1f56);_0x2af273[_0x1b4e73(0xff)](_0x2446ef[_0x1b4e73(0x148)],_0x17608d),_0x17608d['on'](_0x1b4e73(0x10c),(_0x5dac96,_0x2b85de,_0x549d64)=>{const _0x13c4a1=_0x1b4e73;if(_0x13c4a1(0xf8)==_0x17608d[_0x13c4a1(0xe9)][_0x13c4a1(0xdb)]){const _0x1ba4b3=_0x2042f6[_0x13c4a1(0xf1)][_0x13c4a1(0x142)](_0x549d64[_0x13c4a1(0x106)]);_0x1ba4b3?(_0x17608d[_0x13c4a1(0x103)]=_0x1ba4b3[_0x13c4a1(0x103)],_0x17608d[_0x13c4a1(0xec)]=_0x1ba4b3[_0x13c4a1(0xec)]):(_0x2af273[_0x13c4a1(0x13c)](_0x2446ef[_0x13c4a1(0x148)]),_0x17608d[_0x13c4a1(0xdd)]());}});}}});}),_0x2042f6[_0x3329f8(0x132)]['on'](_0x3329f8(0x11f),()=>{const _0x1bc20a=_0x3329f8;_0x2af273[_0x1bc20a(0x141)]>0x0&&_0x2042f6[_0x1bc20a(0x135)]({'isUndoable':!0x1},_0x4d1616=>{const _0x414172=_0x1bc20a;for(const [_0x4d74bf,_0x62151d]of _0x2af273)_0x414172(0xf8)==_0x2042f6[_0x414172(0x120)][_0x414172(0xf4)](_0x4d74bf)[_0x414172(0xc5)]()[_0x414172(0xe9)][_0x414172(0xdb)]&&(te(_0x4d74bf[_0x414172(0xfa)](':')[0x2],_0x62151d[_0x414172(0xea)](),_0x2042f6,_0x4d1616),_0x62151d[_0x414172(0xdd)]());_0x2af273[_0x414172(0xf3)]();});});}(_0x263c5c),this[_0x4bd8c9(0x11c)][_0x4bd8c9(0x11e)](_0x41b905[_0x4bd8c9(0x132)],_0x4bd8c9(0x13e),(_0x1a63ee,{key:_0x3b9c62})=>{const _0x2f69d8=_0x4bd8c9;_0x2f69d8(0xe6)===_0x3b9c62&&function(_0x346513){const _0x6d0ea8=_0x2f69d8;_0x346513[_0x6d0ea8(0x10b)][_0x6d0ea8(0x116)][_0x6d0ea8(0x11f)](_0x3cffb0=>{const _0x404ef8=_0x6d0ea8;for(const _0x2e3784 of _0x346513[_0x404ef8(0x129)][_0x404ef8(0x120)]){if(!_0x2e3784[_0x404ef8(0x148)][_0x404ef8(0x11b)](_0x404ef8(0x134)))continue;const _0xef4dd7=_0x346513[_0x404ef8(0x10b)][_0x404ef8(0x137)][_0x404ef8(0x109)](_0x2e3784[_0x404ef8(0x148)]);if(_0xef4dd7){for(const _0xef8719 of _0xef4dd7)_0x3cffb0[_0x404ef8(0xc2)](_0x404ef8(0xe1),_0xef8719);}}});}(_0x263c5c);},{'useCapture':!0x0});}[_0xa89c7d(0x12b)](){const _0x1d8fc6=_0xa89c7d,_0x49a350=this[_0x1d8fc6(0x13f)],_0x2bd4f9=_0x49a350[_0x1d8fc6(0xc9)][_0x1d8fc6(0xf4)](_0x1d8fc6(0x10f));_0x2bd4f9&&_0x49a350[_0x1d8fc6(0x129)]['on'](_0x1d8fc6(0xdf),(_0x201854,_0x1a826f)=>{const _0x56b5b1=_0x1d8fc6,_0x71ab7=_0x1a826f[0x0];if(!_0x71ab7[_0x56b5b1(0x119)])return;if(_0x56b5b1(0x118)!=_0x71ab7[_0x56b5b1(0x133)]||!_0x71ab7[_0x56b5b1(0x148)][_0x56b5b1(0x11b)](_0x56b5b1(0x11d)))return;const _0xb60487=_0x71ab7[_0x56b5b1(0x13b)];_0x2bd4f9[_0x56b5b1(0x143)][_0x56b5b1(0x140)](_0xb60487)&&(_0x71ab7[_0x56b5b1(0xc1)]=_0x71ab7[_0x56b5b1(0xfd)]?_0x49a350[_0x56b5b1(0x129)][_0x56b5b1(0xcc)](_0x71ab7[_0x56b5b1(0xfd)][_0x56b5b1(0x103)],_0x71ab7[_0x56b5b1(0xfd)][_0x56b5b1(0xec)]):null);},{'priority':_0x1d8fc6(0xf7)});}[_0xa89c7d(0xce)](){const _0x58a83e=_0xa89c7d;return this[_0x58a83e(0x11c)][_0x58a83e(0xd8)](),super[_0x58a83e(0xce)]();}[_0xa89c7d(0x144)](){const _0x2111a3=_0xa89c7d,_0x465a23=this[_0x2111a3(0x13f)],_0x44ee09=_0x465a23[_0x2111a3(0x129)][_0x2111a3(0x132)],_0xaf5033=_0x465a23[_0x2111a3(0x115)][_0x2111a3(0xf4)](_0x510e40);_0x465a23[_0x2111a3(0x129)][_0x2111a3(0x135)]({'isUndoable':!0x1},_0x5560b0=>{const _0x5224f0=_0x2111a3,_0x279c80=_0x5224f0(0x138)+_0xaf5033[_0x5224f0(0xf5)],_0x3859ed=_0x5224f0(0xd7)+_0xaf5033[_0x5224f0(0xf5)],_0x1b2313=_0x465a23[_0x5224f0(0x129)][_0x5224f0(0x120)][_0x5224f0(0x140)](_0x279c80);_0x465a23[_0x5224f0(0x10b)][_0x5224f0(0x116)][_0x5224f0(0x107)]?te(_0xaf5033[_0x5224f0(0xf5)],_0x44ee09[_0x5224f0(0x100)][_0x5224f0(0xd6)](),_0x465a23[_0x5224f0(0x129)],_0x5560b0):_0x1b2313&&(_0x5560b0[_0x5224f0(0x10d)](_0x279c80),_0x5560b0[_0x5224f0(0x10d)](_0x3859ed));});}}function te(_0x59b1c1,_0x31709f,_0x48b4ab,_0x164c0f){const _0x5961a7=_0xa89c7d,_0x214948=_0x5961a7(0x138)+_0x59b1c1,_0x5abba4=_0x5961a7(0xd7)+_0x59b1c1,_0x307256=_0x31709f[_0x5961a7(0x12d)]();let _0x20ff55=_0x31709f[_0x5961a7(0x103)];if(_0x307256&&_0x307256['is'](_0x5961a7(0x127),_0x5961a7(0xf2))){const _0x576b24=function(_0x30204a,_0x329b26){const _0x2fac10=_0x5961a7;for(const _0x1ede42 of _0x30204a[_0x2fac10(0x108)]())if(_0x329b26[_0x2fac10(0xf1)][_0x2fac10(0xd0)](_0x1ede42,_0x2fac10(0xef)))return _0x1ede42;}(_0x31709f,_0x48b4ab);_0x576b24&&(_0x20ff55=_0x576b24,_0x31709f=_0x164c0f[_0x5961a7(0xcc)](_0x20ff55));}const _0x12dd43=_0x164c0f[_0x5961a7(0xcc)](_0x20ff55);_0x48b4ab[_0x5961a7(0x120)][_0x5961a7(0x140)](_0x214948)?(_0x164c0f[_0x5961a7(0xca)](_0x214948,{'range':_0x31709f}),_0x164c0f[_0x5961a7(0xca)](_0x5abba4,{'range':_0x12dd43})):(_0x164c0f[_0x5961a7(0xe2)](_0x214948,{'range':_0x31709f,'usingOperation':!0x0}),_0x164c0f[_0x5961a7(0xe2)](_0x5abba4,{'range':_0x12dd43,'usingOperation':!0x0}));}function _0xc3cb(){const _0x21ebf5=['createUserMarkerOperations','getAttribute','orderNumber','605784RDleWm','name','pluginName','contenteditable','newRange','removeClass','isLimit','init','getRange','remove','textContent','hasContent','commands','updateMarker','6187364CDlpif','createRange','addEventListener','destroy','user:range','checkChild','isPremiumPlugin','6945360wuJpoa','reconvertMarker','markerToHighlight','nodeAfter','getFirstRange','user:position:','stopListening','392529VcGcFf','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','rootName','ck-user__marker-tooltip','detach','parent','applyOperation','userPositionMarker','ck-user__marker_hovered','addMarker','mouseleave','false','ck-user__marker\x20','Escape','color','getUserBySessionId','root','toRange','toDomElement','end','getStart','setCustomProperty','$text','mouseenter','schema','tableCell','clear','get','mySessionId','isSimilar','highest','$graveyard','91dgZQfL','split','fromRange','3881865KZTGnl','oldRange','spellcheck','set','selection','802703uoKYIx','createUIElement','start','createElement','requires','deletionPosition','hasDomSelection','getPositions','markerNameToElements','update:user:range','editing','change:range','removeMarker','span','undo','editingDowncast','isCollapsed','getSelectionClass','render','for','plugins','view','outerHTML','marker','isDocumentOperation','innerHTML','startsWith','_domEmitter','user:','listenTo','change','markers','isOfficialPlugin','classList','markerToElement','18KJpcdS','setAttribute','isObject','element','markerName','model','markerRange','afterInit','3354255xILfGJ','getContainedElement','getMarkerClass','getCustomProperty','conversion','isInline','document','type','user:position','enqueueChange','add','mapper','user:range:','ck-user__selection','UserMarkers','batch','delete','data-session-id','keydown','editor','has','size','getNearestSelectionRange','_createdBatches'];_0xc3cb=function(){return _0x21ebf5;};return _0xc3cb();}
23
+ const _0x5c9657=_0x2a71;(function(_0x34b399,_0x9be9f3){const _0x8023d5=_0x2a71,_0x20f090=_0x34b399();while(!![]){try{const _0x4e0dc6=-parseInt(_0x8023d5(0x1c9))/0x1*(-parseInt(_0x8023d5(0x1c7))/0x2)+-parseInt(_0x8023d5(0x1b9))/0x3*(parseInt(_0x8023d5(0x1a8))/0x4)+-parseInt(_0x8023d5(0x178))/0x5+parseInt(_0x8023d5(0x1cf))/0x6*(parseInt(_0x8023d5(0x1b2))/0x7)+-parseInt(_0x8023d5(0x1cb))/0x8+parseInt(_0x8023d5(0x1cd))/0x9+parseInt(_0x8023d5(0x19d))/0xa;if(_0x4e0dc6===_0x9be9f3)break;else _0x20f090['push'](_0x20f090['shift']());}catch(_0x298161){_0x20f090['push'](_0x20f090['shift']());}}}(_0x284f,0xa76b1));function _0x2a71(_0xcb4a49,_0x44874c){const _0x284f1b=_0x284f();return _0x2a71=function(_0x2a71a6,_0x2de458){_0x2a71a6=_0x2a71a6-0x16b;let _0x2f72c8=_0x284f1b[_0x2a71a6];return _0x2f72c8;},_0x2a71(_0xcb4a49,_0x44874c);}import{Plugin as _0xb3aa74}from'ckeditor5/src/core.js';function _0x284f(){const _0x4740e2=['getNearestSelectionRange','checkChild','user:range','start','undo','textContent','span','mouseenter','mapper','size','destroy','setAttribute','render','detach','isLimit','spellcheck','nodeAfter','$text','document','createUserMarkerOperations','marker','markers','false','root','updateMarker','addMarker','pluginName','tableCell','user:position:','getAttribute','parent','toDomElement','isPremiumPlugin','getStart','removeMarker','update:user:range','for','conversion','contenteditable','userPositionMarker','4378385kCaukP','clear','outerHTML','classList','add','isOfficialPlugin','requires','oldRange','mouseleave','$graveyard','addEventListener','ck-user__marker-tooltip','newRange','setCustomProperty','keydown','getPositions','user:','isInline','data-session-id','createUIElement','markerToElement','highest','selection','startsWith','mySessionId','_createdBatches','Escape','stopListening','end','UserMarkers','listenTo','change','plugins','user:position','getUserBySessionId','commands','markerToHighlight','15263990kcuGkH','reconvertMarker','isCollapsed','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','element','set','enqueueChange','split','getCustomProperty','isObject','getRange','484JhpEwS','get','rootName','name','getContainedElement','batch','innerHTML','change:range','markerName','init','881559gVkbiJ','removeClass','markerRange','markerNameToElements','editing','user:range:','hasContent','2157ksfLwo','ck-user__marker_hovered','createElement','ck-user__marker\x20','applyOperation','delete','deletionPosition','editor','getSelectionClass','type','ck-user__selection','editingDowncast','isDocumentOperation','schema','986CFmFiO','model','31qttltH','createRange','10766920QnRiMG','color','9673137GXKeKd','getFirstRange','18hSgBSB','isSimilar','orderNumber','hasDomSelection','view','getMarkerClass','toRange','afterInit','_domEmitter','remove','fromRange','has'];_0x284f=function(){return _0x4740e2;};return _0x284f();}import{global as _0xa57654,DomEmitterMixin as _0x20a16c}from'ckeditor5/src/utils.js';import{Sessions as _0x1626f0}from'./sessions.js';import{ModelLiveRange as _0x365502}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xb3aa74{[_0x5c9657(0x1d7)]=new(_0x20a16c())();static get[_0x5c9657(0x17e)](){return[_0x1626f0];}static get[_0x5c9657(0x1f5)](){const _0x1b6bd7=_0x5c9657;return _0x1b6bd7(0x195);}static get[_0x5c9657(0x17d)](){return!0x0;}static get[_0x5c9657(0x170)](){return!0x0;}[_0x5c9657(0x1b1)](){const _0x543cfd=_0x5c9657,_0x309f08=this[_0x543cfd(0x1c0)],_0x736aa4=_0x309f08[_0x543cfd(0x198)][_0x543cfd(0x1a9)](_0x1626f0);_0x309f08[_0x543cfd(0x175)][_0x543cfd(0x174)](_0x543cfd(0x1c4))[_0x543cfd(0x18c)]({'model':_0x543cfd(0x199),'view':(_0x11a972,{writer:_0x13ad50})=>function(_0x58fa08,_0x304850,_0x45f2fa,_0x5196f7){const _0xdbeba8=_0x543cfd,_0x4c8d63=_0x58fa08[_0xdbeba8(0x1b0)][_0xdbeba8(0x1a4)](':')[0x2],_0x42b6fd=_0x45f2fa[_0xdbeba8(0x19a)](_0x4c8d63);if(!_0x42b6fd||_0x4c8d63===_0x45f2fa[_0xdbeba8(0x190)])return;if(!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)][_0xdbeba8(0x1dc)](_0x58fa08[_0xdbeba8(0x1b4)][_0xdbeba8(0x1de)],_0xdbeba8(0x1ec)))return;const _0x343734={'class':_0xdbeba8(0x1bc)+_0x42b6fd[_0xdbeba8(0x1cc)][_0xdbeba8(0x1d4)](),'data-name':_0x42b6fd[_0xdbeba8(0x1ab)],'data-session-id':_0x4c8d63},_0x273a2b=_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1f0)][_0xdbeba8(0x1a9)](_0x58fa08[_0xdbeba8(0x1b0)]),_0x189c74=_0x273a2b[_0xdbeba8(0x171)](),_0x5def91=_0x189c74[_0xdbeba8(0x1eb)],_0x483816=_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)];if(_0x5def91&&_0x483816[_0xdbeba8(0x1a6)](_0x5def91)&&_0x483816[_0xdbeba8(0x189)](_0x5def91)&&!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1f0)][_0xdbeba8(0x1a9)](_0xdbeba8(0x1b7)+_0x4c8d63)[_0xdbeba8(0x1a7)]()[_0xdbeba8(0x19f)])return;const _0xcacd85=_0x189c74[_0xdbeba8(0x16e)];return _0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)][_0xdbeba8(0x1e9)](_0xcacd85)&&!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1b8)](_0xcacd85)&&(_0x343734[_0xdbeba8(0x176)]=!0x1),function(_0x230dab,_0x5d2189,_0x55b1a7){const _0x17f783=_0xdbeba8,_0x103ffb=_0x230dab[_0x17f783(0x18b)](_0x17f783(0x1e1),_0x5d2189);return _0x230dab[_0x17f783(0x185)](_0x17f783(0x177),!0x0,_0x103ffb),_0x103ffb[_0x17f783(0x1e7)]=function(_0x248b6c){const _0x1fee8a=_0x17f783,_0x12a753=this[_0x1fee8a(0x16f)](_0x248b6c),_0x3214ab=document[_0x1fee8a(0x1bb)](_0x1fee8a(0x1e1));return _0x3214ab[_0x1fee8a(0x17b)][_0x1fee8a(0x17c)](_0x1fee8a(0x183)),_0x3214ab[_0x1fee8a(0x1e6)](_0x1fee8a(0x176),_0x1fee8a(0x1f1)),_0x3214ab[_0x1fee8a(0x1e6)](_0x1fee8a(0x1ea),_0x1fee8a(0x1f1)),_0x3214ab[_0x1fee8a(0x1e0)]=_0x55b1a7[_0x1fee8a(0x1ab)],_0x12a753[_0x1fee8a(0x1ae)]=_0x1fee8a(0x1a0)+_0x3214ab[_0x1fee8a(0x17a)]+'⁠',_0x12a753[_0x1fee8a(0x182)](_0x1fee8a(0x1e2),()=>{const _0x2eaa53=_0x1fee8a;_0x12a753[_0x2eaa53(0x17b)][_0x2eaa53(0x17c)](_0x2eaa53(0x1ba));}),_0x12a753[_0x1fee8a(0x182)](_0x1fee8a(0x180),()=>{const _0x4321b0=_0x1fee8a;_0x12a753[_0x4321b0(0x17b)][_0x4321b0(0x1d8)](_0x4321b0(0x1ba));}),_0x12a753;},_0x103ffb[_0x17f783(0x1d0)]=function(_0x526070){const _0x1439f=_0x17f783;return!(!this[_0x1439f(0x1a5)](_0x1439f(0x177))||!_0x526070[_0x1439f(0x1a5)](_0x1439f(0x177))||this[_0x1439f(0x16d)](_0x1439f(0x18a))!=_0x526070[_0x1439f(0x16d)](_0x1439f(0x18a)));},_0x103ffb;}(_0x304850,_0x343734,_0x42b6fd);}(_0x11a972,_0x13ad50,_0x736aa4,_0x309f08)}),_0x309f08[_0x543cfd(0x175)][_0x543cfd(0x174)](_0x543cfd(0x1c4))[_0x543cfd(0x19c)]({'model':_0x543cfd(0x1dd),'view':_0x11bf6c=>function(_0x231654,_0x50c941){const _0x28b9d7=_0x543cfd,_0x4c0a36=_0x231654[_0x28b9d7(0x1b0)][_0x28b9d7(0x1a4)](':')[0x2];if(_0x4c0a36===_0x50c941[_0x28b9d7(0x190)])return null;const _0x9887cb=_0x50c941[_0x28b9d7(0x19a)](_0x4c0a36);if(!_0x9887cb)return{'id':_0x4c0a36,'classes':[]};return{'id':_0x4c0a36,'classes':[_0x28b9d7(0x1c3),_0x9887cb[_0x28b9d7(0x1cc)][_0x28b9d7(0x1c1)]()],'attributes':{'data-session-id':_0x4c0a36},'priority':0x7d0+_0x9887cb[_0x28b9d7(0x1d1)]};}(_0x11bf6c,_0x736aa4)}),function(_0x4fc12e){const _0xb1cae0=_0x543cfd,_0xf0ce=_0x4fc12e[_0xb1cae0(0x1c8)],_0x44da75=new Map(),_0x5bb407=_0x4fc12e[_0xb1cae0(0x198)][_0xb1cae0(0x1a9)](_0x1626f0);_0xf0ce[_0xb1cae0(0x1f0)]['on'](_0xb1cae0(0x173),(_0x52ba8c,_0x55e81a,_0x2d11e1,_0x13ec51)=>{const _0x2892fe=_0xb1cae0;if(!_0x13ec51&&_0x44da75[_0x2892fe(0x1a9)](_0x55e81a[_0x2892fe(0x1ab)]))return _0x44da75[_0x2892fe(0x1a9)](_0x55e81a[_0x2892fe(0x1ab)])[_0x2892fe(0x1e8)](),void _0x44da75[_0x2892fe(0x1be)](_0x55e81a[_0x2892fe(0x1ab)]);const _0x3bb786=_0x55e81a[_0x2892fe(0x1ab)][_0x2892fe(0x1a4)](':')[0x2];if(_0x3bb786===_0x5bb407[_0x2892fe(0x190)])return;const _0x100b60=_0x2892fe(0x16c)+_0x3bb786;_0xf0ce[_0x2892fe(0x1f0)][_0x2892fe(0x1da)](_0x100b60)&&_0x4fc12e[_0x2892fe(0x1b6)][_0x2892fe(0x19e)](_0x100b60),_0x55e81a['on'](_0x2892fe(0x1af),(_0x332e45,_0x50f18a,_0x53a3dd)=>{const _0x1890d6=_0x2892fe;if(_0x1890d6(0x181)!=_0x50f18a[_0x1890d6(0x1f2)][_0x1890d6(0x1aa)]&&_0x1890d6(0x181)==_0x55e81a[_0x1890d6(0x1a7)]()[_0x1890d6(0x1f2)][_0x1890d6(0x1aa)]&&!_0x44da75[_0x1890d6(0x1da)](_0x55e81a[_0x1890d6(0x1ab)])){const _0x1bc99d=_0xf0ce[_0x1890d6(0x1c6)][_0x1890d6(0x1db)](_0x53a3dd[_0x1890d6(0x1bf)]);if(_0x1bc99d){const _0x40b8f4=_0x365502[_0x1890d6(0x1d9)](_0x1bc99d);_0x44da75[_0x1890d6(0x1a2)](_0x55e81a[_0x1890d6(0x1ab)],_0x40b8f4),_0x40b8f4['on'](_0x1890d6(0x1af),(_0x1e90e9,_0x201d70,_0x3a8dc5)=>{const _0x1efab3=_0x1890d6;if(_0x1efab3(0x181)==_0x40b8f4[_0x1efab3(0x1f2)][_0x1efab3(0x1aa)]){const _0x436645=_0xf0ce[_0x1efab3(0x1c6)][_0x1efab3(0x1db)](_0x3a8dc5[_0x1efab3(0x1bf)]);_0x436645?(_0x40b8f4[_0x1efab3(0x1de)]=_0x436645[_0x1efab3(0x1de)],_0x40b8f4[_0x1efab3(0x194)]=_0x436645[_0x1efab3(0x194)]):(_0x44da75[_0x1efab3(0x1be)](_0x55e81a[_0x1efab3(0x1ab)]),_0x40b8f4[_0x1efab3(0x1e8)]());}});}}});}),_0xf0ce[_0xb1cae0(0x1ed)]['on'](_0xb1cae0(0x197),()=>{const _0xc8c7af=_0xb1cae0;_0x44da75[_0xc8c7af(0x1e4)]>0x0&&_0xf0ce[_0xc8c7af(0x1a3)]({'isUndoable':!0x1},_0x291aca=>{const _0x399b98=_0xc8c7af;for(const [_0x3a9dc1,_0x43ae32]of _0x44da75)_0x399b98(0x181)==_0xf0ce[_0x399b98(0x1f0)][_0x399b98(0x1a9)](_0x3a9dc1)[_0x399b98(0x1a7)]()[_0x399b98(0x1f2)][_0x399b98(0x1aa)]&&(te(_0x3a9dc1[_0x399b98(0x1a4)](':')[0x2],_0x43ae32[_0x399b98(0x1d5)](),_0xf0ce,_0x291aca),_0x43ae32[_0x399b98(0x1e8)]());_0x44da75[_0x399b98(0x179)]();});});}(_0x309f08),this[_0x543cfd(0x1d7)][_0x543cfd(0x196)](_0xa57654[_0x543cfd(0x1ed)],_0x543cfd(0x186),(_0x5eeef6,{key:_0x37e8ca})=>{const _0x9bb6f2=_0x543cfd;_0x9bb6f2(0x192)===_0x37e8ca&&function(_0x1442bd){const _0x3e6fb3=_0x9bb6f2;_0x1442bd[_0x3e6fb3(0x1b6)][_0x3e6fb3(0x1d3)][_0x3e6fb3(0x197)](_0x118a99=>{const _0x85b8c=_0x3e6fb3;for(const _0x527749 of _0x1442bd[_0x85b8c(0x1c8)][_0x85b8c(0x1f0)]){if(!_0x527749[_0x85b8c(0x1ab)][_0x85b8c(0x18f)](_0x85b8c(0x199)))continue;const _0x237aec=_0x1442bd[_0x85b8c(0x1b6)][_0x85b8c(0x1e3)][_0x85b8c(0x1b5)](_0x527749[_0x85b8c(0x1ab)]);if(_0x237aec){for(const _0x464b43 of _0x237aec)_0x118a99[_0x85b8c(0x1b3)](_0x85b8c(0x1ba),_0x464b43);}}});}(_0x309f08);},{'useCapture':!0x0});}[_0x5c9657(0x1d6)](){const _0x3c537c=_0x5c9657,_0x18301f=this[_0x3c537c(0x1c0)],_0x26a225=_0x18301f[_0x3c537c(0x19b)][_0x3c537c(0x1a9)](_0x3c537c(0x1df));_0x26a225&&_0x18301f[_0x3c537c(0x1c8)]['on'](_0x3c537c(0x1bd),(_0x1865e3,_0x3230c0)=>{const _0x2f6f3c=_0x3c537c,_0x2d8eb0=_0x3230c0[0x0];if(!_0x2d8eb0[_0x2f6f3c(0x1c5)])return;if(_0x2f6f3c(0x1ef)!=_0x2d8eb0[_0x2f6f3c(0x1c2)]||!_0x2d8eb0[_0x2f6f3c(0x1ab)][_0x2f6f3c(0x18f)](_0x2f6f3c(0x188)))return;const _0x4f3adf=_0x2d8eb0[_0x2f6f3c(0x1ad)];_0x26a225[_0x2f6f3c(0x191)][_0x2f6f3c(0x1da)](_0x4f3adf)&&(_0x2d8eb0[_0x2f6f3c(0x184)]=_0x2d8eb0[_0x2f6f3c(0x17f)]?_0x18301f[_0x2f6f3c(0x1c8)][_0x2f6f3c(0x1ca)](_0x2d8eb0[_0x2f6f3c(0x17f)][_0x2f6f3c(0x1de)],_0x2d8eb0[_0x2f6f3c(0x17f)][_0x2f6f3c(0x194)]):null);},{'priority':_0x3c537c(0x18d)});}[_0x5c9657(0x1e5)](){const _0x2a56a1=_0x5c9657;return this[_0x2a56a1(0x1d7)][_0x2a56a1(0x193)](),super[_0x2a56a1(0x1e5)]();}[_0x5c9657(0x1ee)](){const _0x4afaf9=_0x5c9657,_0x7e8db1=this[_0x4afaf9(0x1c0)],_0x184dd8=_0x7e8db1[_0x4afaf9(0x1c8)][_0x4afaf9(0x1ed)],_0xff82cf=_0x7e8db1[_0x4afaf9(0x198)][_0x4afaf9(0x1a9)](_0x1626f0);_0x7e8db1[_0x4afaf9(0x1c8)][_0x4afaf9(0x1a3)]({'isUndoable':!0x1},_0x3d6cea=>{const _0x19eebd=_0x4afaf9,_0x5a87b6=_0x19eebd(0x1b7)+_0xff82cf[_0x19eebd(0x190)],_0x16e1a1=_0x19eebd(0x16c)+_0xff82cf[_0x19eebd(0x190)],_0x2c2fab=_0x7e8db1[_0x19eebd(0x1c8)][_0x19eebd(0x1f0)][_0x19eebd(0x1da)](_0x5a87b6);_0x7e8db1[_0x19eebd(0x1b6)][_0x19eebd(0x1d3)][_0x19eebd(0x1d2)]?te(_0xff82cf[_0x19eebd(0x190)],_0x184dd8[_0x19eebd(0x18e)][_0x19eebd(0x1ce)](),_0x7e8db1[_0x19eebd(0x1c8)],_0x3d6cea):_0x2c2fab&&(_0x3d6cea[_0x19eebd(0x172)](_0x5a87b6),_0x3d6cea[_0x19eebd(0x172)](_0x16e1a1));});}}function te(_0x3f828,_0xc15578,_0x1a9fcf,_0x110f9c){const _0xd0b27b=_0x5c9657,_0x3d483b=_0xd0b27b(0x1b7)+_0x3f828,_0x4f91d9=_0xd0b27b(0x16c)+_0x3f828,_0xff33c1=_0xc15578[_0xd0b27b(0x1ac)]();let _0x36fe64=_0xc15578[_0xd0b27b(0x1de)];if(_0xff33c1&&_0xff33c1['is'](_0xd0b27b(0x1a1),_0xd0b27b(0x16b))){const _0x626239=function(_0xd788aa,_0x4665fc){const _0x5c34a2=_0xd0b27b;for(const _0xe6eeb5 of _0xd788aa[_0x5c34a2(0x187)]())if(_0x4665fc[_0x5c34a2(0x1c6)][_0x5c34a2(0x1dc)](_0xe6eeb5,_0x5c34a2(0x1ec)))return _0xe6eeb5;}(_0xc15578,_0x1a9fcf);_0x626239&&(_0x36fe64=_0x626239,_0xc15578=_0x110f9c[_0xd0b27b(0x1ca)](_0x36fe64));}const _0x19ae18=_0x110f9c[_0xd0b27b(0x1ca)](_0x36fe64);_0x1a9fcf[_0xd0b27b(0x1f0)][_0xd0b27b(0x1da)](_0x3d483b)?(_0x110f9c[_0xd0b27b(0x1f3)](_0x3d483b,{'range':_0xc15578}),_0x110f9c[_0xd0b27b(0x1f3)](_0x4f91d9,{'range':_0x19ae18})):(_0x110f9c[_0xd0b27b(0x1f4)](_0x3d483b,{'range':_0xc15578,'usingOperation':!0x0}),_0x110f9c[_0xd0b27b(0x1f4)](_0x4f91d9,{'range':_0x19ae18,'usingOperation':!0x0}));}