@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.1 → 47.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x106196=_0x1eb7;function _0x1eb7(_0x25faa8,_0x107dd5){const _0x29b77f=_0x29b7();return _0x1eb7=function(_0x1eb7f4,_0x4c1c31){_0x1eb7f4=_0x1eb7f4-0x90;let _0xbe0f7b=_0x29b77f[_0x1eb7f4];return _0xbe0f7b;},_0x1eb7(_0x25faa8,_0x107dd5);}(function(_0xcb66d8,_0x3bc3f9){const _0x145933=_0x1eb7,_0x50dc8b=_0xcb66d8();while(!![]){try{const _0x33998d=parseInt(_0x145933(0x9a))/0x1*(parseInt(_0x145933(0xab))/0x2)+-parseInt(_0x145933(0x9e))/0x3*(-parseInt(_0x145933(0xa7))/0x4)+-parseInt(_0x145933(0x93))/0x5*(parseInt(_0x145933(0x91))/0x6)+-parseInt(_0x145933(0xb5))/0x7*(-parseInt(_0x145933(0x97))/0x8)+-parseInt(_0x145933(0xaa))/0x9*(-parseInt(_0x145933(0xa6))/0xa)+parseInt(_0x145933(0x90))/0xb+-parseInt(_0x145933(0xa9))/0xc;if(_0x33998d===_0x3bc3f9)break;else _0x50dc8b['push'](_0x50dc8b['shift']());}catch(_0x3afab1){_0x50dc8b['push'](_0x50dc8b['shift']());}}}(_0x29b7,0x71a73));import{View as _0x4bd243}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x46b105}from'ckeditor5/src/utils.js';import{getTranslation as _0x4934ca}from'../../common-translations.js';export class PresenceInlineListView extends _0x4bd243{[_0x106196(0x92)];[_0x106196(0xb0)];constructor(_0x3822e2){const _0x17778c=_0x106196;super(_0x3822e2);const _0x396594=this[_0x17778c(0xb6)];this[_0x17778c(0x92)]=this[_0x17778c(0xa4)](),this[_0x17778c(0xb0)]=new _0x46b105(),this[_0x17778c(0xb7)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x17778c(0xac)]({'tag':_0x17778c(0x94),'attributes':{'aria-haspopup':_0x396594['if'](_0x17778c(0x96)),'aria-expanded':_0x396594['to'](_0x17778c(0xb1),_0x721f5a=>this[_0x17778c(0x96)]&&String(_0x721f5a)),'aria-label':_0x396594['to'](_0x17778c(0x96),_0x51141c=>_0x4934ca(_0x3822e2,_0x51141c?_0x17778c(0xa3):_0x17778c(0xa5))),'role':_0x17778c(0xb8),'tabindex':_0x396594['to'](_0x17778c(0x96),_0x2e5464=>!!_0x2e5464&&0x0),'class':['ck',_0x17778c(0xaf)]},'children':this[_0x17778c(0x92)],'on':{'mouseenter':_0x396594['to'](()=>this[_0x17778c(0x98)](_0x17778c(0xb4))),'mouseleave':_0x396594['to'](_0x190549=>{const _0x5b842b=_0x17778c,_0xf7f080=_0x190549,_0x5b076b=document[_0x5b842b(0x9c)](_0x5b842b(0x95)),_0x33ea89=document[_0x5b842b(0x9c)](_0x5b842b(0xa0));_0x5b076b?.[_0x5b842b(0x9d)](_0xf7f080[_0x5b842b(0xad)])||_0x33ea89?.[_0x5b842b(0x9d)](_0xf7f080[_0x5b842b(0xad)])||this[_0x5b842b(0x98)](_0x5b842b(0xb2));})}}),this['on'](_0x17778c(0x99),(_0x33273f,_0x50735d,_0x53f29a)=>{const _0x2c887b=_0x17778c;this[_0x2c887b(0xa1)]&&(_0x53f29a?this[_0x2c887b(0xa1)][_0x2c887b(0xa8)](_0x2c887b(0x9b),String(this[_0x2c887b(0xb1)])):this[_0x2c887b(0xa1)][_0x2c887b(0x9f)](_0x2c887b(0x9b)));});}[_0x106196(0xae)](){const _0x3c4c86=_0x106196;this[_0x3c4c86(0xa1)][_0x3c4c86(0xae)]();}[_0x106196(0xa2)](){const _0x3f45ec=_0x106196;super[_0x3f45ec(0xa2)](),this[_0x3f45ec(0xb0)][_0x3f45ec(0xb3)](this[_0x3f45ec(0xa1)]);}}function _0x29b7(){const _0x2e8def=['querySelector','contains','627FBkQnQ','removeAttribute','.ck-balloon-panel_with-arrow','element','render','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','Connected\x20users\x20list','4003820buAEEP','2868hYBhCL','setAttribute','13578276CGhcJC','9DoKUgq','2PSGUhc','setTemplate','relatedTarget','focus','ck-presence-list__list','keystrokes','isExpanded','presencelist:hide','listenTo','presencelist:show','175iZYEhM','bindTemplate','set','list','2428327YHgivx','711522pwEYSg','items','35iMOxck','div','.ck-presence-list__dropdown-list','hasPopup','234064BhPpHZ','fire','change:hasPopup','924713mZvRKd','aria-expanded'];_0x29b7=function(){return _0x2e8def;};return _0x29b7();}
23
+ const _0x323d2b=_0x5f5a;function _0x5f5a(_0x5a17ce,_0x5f4fef){const _0x31faec=_0x31fa();return _0x5f5a=function(_0x5f5af5,_0x13745e){_0x5f5af5=_0x5f5af5-0x8a;let _0x19a97e=_0x31faec[_0x5f5af5];return _0x19a97e;},_0x5f5a(_0x5a17ce,_0x5f4fef);}(function(_0x584d80,_0x11fa72){const _0x388f6c=_0x5f5a,_0x46ac92=_0x584d80();while(!![]){try{const _0x1a35ce=parseInt(_0x388f6c(0xac))/0x1*(parseInt(_0x388f6c(0xa3))/0x2)+parseInt(_0x388f6c(0xaf))/0x3*(-parseInt(_0x388f6c(0x9d))/0x4)+parseInt(_0x388f6c(0x8c))/0x5+-parseInt(_0x388f6c(0xa5))/0x6*(-parseInt(_0x388f6c(0x99))/0x7)+-parseInt(_0x388f6c(0x93))/0x8*(parseInt(_0x388f6c(0xb2))/0x9)+parseInt(_0x388f6c(0xa0))/0xa*(parseInt(_0x388f6c(0x96))/0xb)+-parseInt(_0x388f6c(0xa2))/0xc;if(_0x1a35ce===_0x11fa72)break;else _0x46ac92['push'](_0x46ac92['shift']());}catch(_0x49aa60){_0x46ac92['push'](_0x46ac92['shift']());}}}(_0x31fa,0xd0a5b));import{View as _0x1d9c44}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4605eb}from'ckeditor5/src/utils.js';import{getTranslation as _0x3e06ba}from'../../common-translations.js';function _0x31fa(){const _0x358012=['1063396cxgikY','contains','.ck-presence-list__dropdown-list','1670KwRDPJ','hasPopup','8549424ZduzMg','2GKfhAZ','presencelist:hide','4992vbdbsJ','div','items','querySelector','Connected\x20users\x20list','change:hasPopup','isExpanded','374398HlYnHA','fire','set','15epIMep','createCollection','element','353034bPWAKy','removeAttribute','listenTo','6562530DzQJLq','list','ck-presence-list__list','setAttribute','aria-expanded','presencelist:show','render','288IoZJQF','.ck-balloon-panel_with-arrow','keystrokes','80828CmlKjB','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','11732qztcOJ','setTemplate','focus','relatedTarget'];_0x31fa=function(){return _0x358012;};return _0x31fa();}export class PresenceInlineListView extends _0x1d9c44{[_0x323d2b(0xa7)];[_0x323d2b(0x95)];constructor(_0x2c4301){const _0x18bba6=_0x323d2b;super(_0x2c4301);const _0x2c251a=this[_0x18bba6(0x98)];this[_0x18bba6(0xa7)]=this[_0x18bba6(0xb0)](),this[_0x18bba6(0x95)]=new _0x4605eb(),this[_0x18bba6(0xae)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x18bba6(0x9a)]({'tag':_0x18bba6(0xa6),'attributes':{'aria-haspopup':_0x2c251a['if'](_0x18bba6(0xa1)),'aria-expanded':_0x2c251a['to'](_0x18bba6(0xab),_0x511b9f=>this[_0x18bba6(0xa1)]&&String(_0x511b9f)),'aria-label':_0x2c251a['to'](_0x18bba6(0xa1),_0x392609=>_0x3e06ba(_0x2c4301,_0x392609?_0x18bba6(0x97):_0x18bba6(0xa9))),'role':_0x18bba6(0x8d),'tabindex':_0x2c251a['to'](_0x18bba6(0xa1),_0x3c3ec0=>!!_0x3c3ec0&&0x0),'class':['ck',_0x18bba6(0x8e)]},'children':this[_0x18bba6(0xa7)],'on':{'mouseenter':_0x2c251a['to'](()=>this[_0x18bba6(0xad)](_0x18bba6(0x91))),'mouseleave':_0x2c251a['to'](_0x308577=>{const _0x3a9a93=_0x18bba6,_0x204874=_0x308577,_0x2d1fa7=document[_0x3a9a93(0xa8)](_0x3a9a93(0x9f)),_0x306399=document[_0x3a9a93(0xa8)](_0x3a9a93(0x94));_0x2d1fa7?.[_0x3a9a93(0x9e)](_0x204874[_0x3a9a93(0x9c)])||_0x306399?.[_0x3a9a93(0x9e)](_0x204874[_0x3a9a93(0x9c)])||this[_0x3a9a93(0xad)](_0x3a9a93(0xa4));})}}),this['on'](_0x18bba6(0xaa),(_0x917514,_0x5badec,_0x3d5a99)=>{const _0x1c0502=_0x18bba6;this[_0x1c0502(0xb1)]&&(_0x3d5a99?this[_0x1c0502(0xb1)][_0x1c0502(0x8f)](_0x1c0502(0x90),String(this[_0x1c0502(0xab)])):this[_0x1c0502(0xb1)][_0x1c0502(0x8a)](_0x1c0502(0x90)));});}[_0x323d2b(0x9b)](){const _0x21f7e3=_0x323d2b;this[_0x21f7e3(0xb1)][_0x21f7e3(0x9b)]();}[_0x323d2b(0x92)](){const _0x12de8e=_0x323d2b;super[_0x12de8e(0x92)](),this[_0x12de8e(0x95)][_0x12de8e(0x8b)](this[_0x12de8e(0xb1)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc849df=_0x1f3c;(function(_0x7d8f80,_0x377048){const _0x18baf2=_0x1f3c,_0x45669e=_0x7d8f80();while(!![]){try{const _0x4abcb2=parseInt(_0x18baf2(0xd5))/0x1*(-parseInt(_0x18baf2(0xdb))/0x2)+-parseInt(_0x18baf2(0xcf))/0x3+-parseInt(_0x18baf2(0xd1))/0x4+parseInt(_0x18baf2(0xca))/0x5*(parseInt(_0x18baf2(0xc9))/0x6)+-parseInt(_0x18baf2(0xce))/0x7+-parseInt(_0x18baf2(0xe1))/0x8*(-parseInt(_0x18baf2(0xdc))/0x9)+parseInt(_0x18baf2(0xe0))/0xa;if(_0x4abcb2===_0x377048)break;else _0x45669e['push'](_0x45669e['shift']());}catch(_0x2373c2){_0x45669e['push'](_0x45669e['shift']());}}}(_0x69af,0x7f1e6));function _0x69af(){const _0x28cdd8=['listenTo','setTemplate','set','474LYTGbl','39915KPkONn','isCollapsed','bind','items','1229725bGwHad','796248RVGMMA','change','1510884yBNbxu','locale','counterView','ck-presence-list','3383jjdcGM','ck-presence-list--collapsed','hasPopup','tooltipPosition','bindTemplate','ck-rounded-corners','346Cdlhng','62235iSuXWn','div','ck-reset','inlineListView','11696220OESNVe','144YxObDr','first'];_0x69af=function(){return _0x28cdd8;};return _0x69af();}function _0x1f3c(_0x316809,_0x3a88e6){const _0x69af34=_0x69af();return _0x1f3c=function(_0x1f3ca4,_0x19d063){_0x1f3ca4=_0x1f3ca4-0xc7;let _0x39dc90=_0x69af34[_0x1f3ca4];return _0x39dc90;},_0x1f3c(_0x316809,_0x3a88e6);}import{View as _0x3908c9}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5aa816}from'./presencecounterview.js';import{PresenceInlineListView as _0x5c99fb}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3908c9{[_0xc849df(0xd3)];[_0xc849df(0xdf)];constructor(_0x1c9a89,_0x8db780=0x6){const _0x10218e=_0xc849df;super(_0x1c9a89);const _0x57bcf9=this[_0x10218e(0xd9)];this[_0x10218e(0xc8)](_0x10218e(0xcb),!0x0),this[_0x10218e(0xd3)]=new _0x5aa816(this[_0x10218e(0xd2)],_0x8db780),this[_0x10218e(0xdf)]=new _0x5c99fb(_0x1c9a89),this[_0x10218e(0xdf)][_0x10218e(0xcc)](_0x10218e(0xd7))['to'](this,_0x10218e(0xcb)),this[_0x10218e(0xe3)](this[_0x10218e(0xdf)][_0x10218e(0xcd)],_0x10218e(0xd0),()=>{const _0x35ca48=_0x10218e;for(const _0x34623f of this[_0x35ca48(0xdf)][_0x35ca48(0xcd)])_0x34623f[_0x35ca48(0xd8)]='s';this[_0x35ca48(0xdf)][_0x35ca48(0xcd)][_0x35ca48(0xe2)]&&(this[_0x35ca48(0xdf)][_0x35ca48(0xcd)][_0x35ca48(0xe2)][_0x35ca48(0xd8)]='se');}),this[_0x10218e(0xc7)]({'tag':_0x10218e(0xdd),'attributes':{'class':['ck',_0x10218e(0xd4),_0x10218e(0xde),_0x10218e(0xda),_0x57bcf9['if'](_0x10218e(0xcb),_0x10218e(0xd6))]},'children':[this[_0x10218e(0xdf)]]});}}
23
+ const _0x1996a8=_0x3e61;(function(_0x584d77,_0x4bb8b4){const _0x3780ff=_0x3e61,_0x260e1c=_0x584d77();while(!![]){try{const _0x4f7f72=-parseInt(_0x3780ff(0x148))/0x1+parseInt(_0x3780ff(0x14a))/0x2*(parseInt(_0x3780ff(0x14f))/0x3)+parseInt(_0x3780ff(0x149))/0x4+parseInt(_0x3780ff(0x14e))/0x5*(-parseInt(_0x3780ff(0x13b))/0x6)+parseInt(_0x3780ff(0x154))/0x7+-parseInt(_0x3780ff(0x13c))/0x8+parseInt(_0x3780ff(0x153))/0x9;if(_0x4f7f72===_0x4bb8b4)break;else _0x260e1c['push'](_0x260e1c['shift']());}catch(_0x43c821){_0x260e1c['push'](_0x260e1c['shift']());}}}(_0x4417,0xd5fb3));function _0x3e61(_0x182424,_0x58212c){const _0x4417c0=_0x4417();return _0x3e61=function(_0x3e6182,_0x589a11){_0x3e6182=_0x3e6182-0x13a;let _0x5e53f9=_0x4417c0[_0x3e6182];return _0x5e53f9;},_0x3e61(_0x182424,_0x58212c);}import{View as _0x1cec5a}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x43a14e}from'./presencecounterview.js';function _0x4417(){const _0x444b00=['ck-rounded-corners','first','div','3540LfKssX','16707lxocPe','set','setTemplate','counterView','10209861LdZaBB','10048451TJDmCM','listenTo','items','14286iLMRzt','7108352FucyEN','tooltipPosition','isCollapsed','bind','change','ck-presence-list--collapsed','ck-presence-list','locale','bindTemplate','inlineListView','ck-reset','hasPopup','516830IxWQfu','2071060LaVIqP','316yuOnDS'];_0x4417=function(){return _0x444b00;};return _0x4417();}import{PresenceInlineListView as _0x410909}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1cec5a{[_0x1996a8(0x152)];[_0x1996a8(0x145)];constructor(_0x45a4cc,_0x3671b6=0x6){const _0x4b2b11=_0x1996a8;super(_0x45a4cc);const _0x552b57=this[_0x4b2b11(0x144)];this[_0x4b2b11(0x150)](_0x4b2b11(0x13e),!0x0),this[_0x4b2b11(0x152)]=new _0x43a14e(this[_0x4b2b11(0x143)],_0x3671b6),this[_0x4b2b11(0x145)]=new _0x410909(_0x45a4cc),this[_0x4b2b11(0x145)][_0x4b2b11(0x13f)](_0x4b2b11(0x147))['to'](this,_0x4b2b11(0x13e)),this[_0x4b2b11(0x155)](this[_0x4b2b11(0x145)][_0x4b2b11(0x13a)],_0x4b2b11(0x140),()=>{const _0x4620c3=_0x4b2b11;for(const _0x310a2b of this[_0x4620c3(0x145)][_0x4620c3(0x13a)])_0x310a2b[_0x4620c3(0x13d)]='s';this[_0x4620c3(0x145)][_0x4620c3(0x13a)][_0x4620c3(0x14c)]&&(this[_0x4620c3(0x145)][_0x4620c3(0x13a)][_0x4620c3(0x14c)][_0x4620c3(0x13d)]='se');}),this[_0x4b2b11(0x151)]({'tag':_0x4b2b11(0x14d),'attributes':{'class':['ck',_0x4b2b11(0x142),_0x4b2b11(0x146),_0x4b2b11(0x14b),_0x552b57['if'](_0x4b2b11(0x13e),_0x4b2b11(0x141))]},'children':[this[_0x4b2b11(0x145)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x59c738=_0x1872;function _0x1872(_0x2c48f9,_0x87026f){var _0x26c5c1=_0x26c5();return _0x1872=function(_0x187269,_0x3202f3){_0x187269=_0x187269-0x130;var _0x4dde94=_0x26c5c1[_0x187269];return _0x4dde94;},_0x1872(_0x2c48f9,_0x87026f);}(function(_0x42dd2c,_0x5bbca8){var _0x5dce49=_0x1872,_0x1c4fc5=_0x42dd2c();while(!![]){try{var _0x195b94=parseInt(_0x5dce49(0x134))/0x1*(-parseInt(_0x5dce49(0x13c))/0x2)+parseInt(_0x5dce49(0x138))/0x3*(-parseInt(_0x5dce49(0x133))/0x4)+-parseInt(_0x5dce49(0x137))/0x5*(parseInt(_0x5dce49(0x13b))/0x6)+-parseInt(_0x5dce49(0x135))/0x7+parseInt(_0x5dce49(0x13e))/0x8+parseInt(_0x5dce49(0x13a))/0x9+parseInt(_0x5dce49(0x139))/0xa;if(_0x195b94===_0x5bbca8)break;else _0x1c4fc5['push'](_0x1c4fc5['shift']());}catch(_0x4e5f67){_0x1c4fc5['push'](_0x1c4fc5['shift']());}}}(_0x26c5,0xcb5c6));import{ContextPlugin as _0x3aad81}from'ckeditor5/src/core.js';import{Sessions as _0x54cb51}from'./realtimecollaborativeediting/sessions.js';function _0x26c5(){var _0x54b99c=['1828080MfpGhM','isOfficialPlugin','requires','pluginName','4456132WchNgu','5JdWPxk','1897924vbsQQw','isPremiumPlugin','3847295Dusgfo','3TiLplf','28434730OesJRj','1232298SQFGFW','6sHOGqX','88526HwWDAg','PresenceList'];_0x26c5=function(){return _0x54b99c;};return _0x26c5();}import{PresenceListUI as _0x3ea324}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3aad81{static get[_0x59c738(0x131)](){return[_0x54cb51,_0x3ea324];}static get[_0x59c738(0x132)](){var _0xa96a37=_0x59c738;return _0xa96a37(0x13d);}static get[_0x59c738(0x130)](){return!0x0;}static get[_0x59c738(0x136)](){return!0x0;}}
23
+ function _0x1981(){var _0xb34d0d=['5807691wKwhpG','1539764dQjqSP','440240fUibSv','1643170XGYdiI','isPremiumPlugin','isOfficialPlugin','PresenceList','2042884qrBEnV','210992NddxMD','pluginName','7ZbZDEi','3wGDUFJ','5610678TuMyFb','requires'];_0x1981=function(){return _0xb34d0d;};return _0x1981();}var _0x22861c=_0x5c20;(function(_0x286e3d,_0x1b84f8){var _0x32524b=_0x5c20,_0x3dc768=_0x286e3d();while(!![]){try{var _0x2e8e64=parseInt(_0x32524b(0x183))/0x1+-parseInt(_0x32524b(0x18a))/0x2+parseInt(_0x32524b(0x186))/0x3*(parseInt(_0x32524b(0x182))/0x4)+parseInt(_0x32524b(0x18c))/0x5+-parseInt(_0x32524b(0x187))/0x6*(-parseInt(_0x32524b(0x185))/0x7)+-parseInt(_0x32524b(0x18b))/0x8+-parseInt(_0x32524b(0x189))/0x9;if(_0x2e8e64===_0x1b84f8)break;else _0x3dc768['push'](_0x3dc768['shift']());}catch(_0x2bb80c){_0x3dc768['push'](_0x3dc768['shift']());}}}(_0x1981,0x7dcb1));function _0x5c20(_0x2c38bb,_0x1dbb4a){var _0x198156=_0x1981();return _0x5c20=function(_0x5c20ac,_0x3826f8){_0x5c20ac=_0x5c20ac-0x180;var _0x1d508f=_0x198156[_0x5c20ac];return _0x1d508f;},_0x5c20(_0x2c38bb,_0x1dbb4a);}import{ContextPlugin as _0x5f0ff3}from'ckeditor5/src/core.js';import{Sessions as _0x49cafc}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x829e79}from'./presencelist/presencelistui.js';export class PresenceList extends _0x5f0ff3{static get[_0x22861c(0x188)](){return[_0x49cafc,_0x829e79];}static get[_0x22861c(0x184)](){var _0x4d7d23=_0x22861c;return _0x4d7d23(0x181);}static get[_0x22861c(0x180)](){return!0x0;}static get[_0x22861c(0x18d)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x106136=_0x4483;function _0x4483(_0x8260e5,_0x403f4d){const _0xba3d0a=_0xba3d();return _0x4483=function(_0x4483a1,_0x56dc61){_0x4483a1=_0x4483a1-0x168;let _0x19696d=_0xba3d0a[_0x4483a1];return _0x19696d;},_0x4483(_0x8260e5,_0x403f4d);}(function(_0x4bab5a,_0x201560){const _0x511267=_0x4483,_0x5f1970=_0x4bab5a();while(!![]){try{const _0xe97a19=-parseInt(_0x511267(0x188))/0x1+parseInt(_0x511267(0x1a3))/0x2+parseInt(_0x511267(0x176))/0x3+parseInt(_0x511267(0x17f))/0x4+-parseInt(_0x511267(0x173))/0x5*(parseInt(_0x511267(0x1a2))/0x6)+parseInt(_0x511267(0x178))/0x7*(-parseInt(_0x511267(0x180))/0x8)+parseInt(_0x511267(0x1c7))/0x9;if(_0xe97a19===_0x201560)break;else _0x5f1970['push'](_0x5f1970['shift']());}catch(_0x2c01b0){_0x5f1970['push'](_0x5f1970['shift']());}}}(_0xba3d,0x1cf74));import{Context as _0xe37f76,ContextPlugin as _0x50967c}from'ckeditor5/src/core.js';import{CKEditorError as _0x403c71}from'ckeditor5/src/utils.js';function _0xba3d(){const _0x107b5e=['size','adapter','addCommentThread','reconnect','connect','listenTo','init','updateCommentThread','from','map','_services','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadRemoved','config','3632832lzbBeq','resolvedAt','has','comments','getConnectedSessions','userId','deletedAt','CloudServicesCommentsAdapter','404','cloud-services-internal-error:\x20Not\x20connected.','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getComment','_connectService','startsWith','CommentsService','update','5wfIWFt','code','sessionAdd:','87378QHnCSU','commentUpdated','35fQLHkV','addUser','delete','cloudservicescommentsadapter-service-not-exist','updateComment','permissions','reopen','137344tDcARx','327600ViUOPS','add','reopenCommentThread','CommentsRepository','_terminateService','off','_getService','unregister','167321AHfSdO','remove','removeCommentThread','context','addComment','resolvedBy','collaboration.channelId','commentThreadId','authorId','commentThreadAdded','resolveCommentThread','getUser','getCommentThread','requires','mySessionId','addToReconnectionStack','removeComment','commentAdded','isOfficialPlugin','_fetchMissingUsersForThreads','attributes','content','get','cloudservicescommentsadapter-connect-already-connected','assign','commentId','239526CDigcQ','127052uJXcEu','setPermissions','register','keys','_setUpService','getMany','disconnect','cloudservicescommentsadapter-disconnect-not-exist','getCommentThreads','commentThreadUpdated','commentRemoved','set','commentThreadReopened','isPremiumPlugin','plugins','commentThreadResolved','Permissions','message','resolve','destroy','createdAt','pluginName'];_0xba3d=function(){return _0x107b5e;};return _0xba3d();}import{Users as _0x4ad09}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x286795,User as _0x31744e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x40e7c5}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4c262c}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x50967c{static [_0x106136(0x171)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x286795)());[_0x106136(0x1c3)];static get[_0x106136(0x195)](){const _0x103b78=_0x106136;return[_0x40e7c5,_0x103b78(0x183),_0x4c262c,_0x4ad09];}static get[_0x106136(0x1b8)](){const _0x1de7b8=_0x106136;return _0x1de7b8(0x169);}static get[_0x106136(0x19a)](){return!0x0;}static get[_0x106136(0x1b0)](){return!0x0;}constructor(_0x382604){const _0x30c8d3=_0x106136;super(_0x382604),this[_0x30c8d3(0x1c3)]=new Map();}async[_0x106136(0x1bf)](){const _0x48483e=_0x106136,_0x2ebc91=this[_0x48483e(0x18b)],_0x1dd6e0=_0x2ebc91[_0x48483e(0x1b1)][_0x48483e(0x19e)](_0x48483e(0x183));if(_0x2ebc91[_0x48483e(0x1b1)][_0x48483e(0x19e)](_0x40e7c5)[_0x48483e(0x197)](this),_0x1dd6e0[_0x48483e(0x1ba)]={'addCommentThread':async({channelId:_0x162dfe,threadId:_0x5505ca,comments:_0x424eef,resolvedAt:_0x351dfe,resolvedBy:_0x443380,context:_0x205da3,attributes:_0x1debd2})=>{const _0x138609=_0x48483e,_0x4b9da3=await this[_0x138609(0x186)](_0x162dfe)[_0x138609(0x1bb)]({'commentThreadId':_0x5505ca,'comments':_0x424eef[_0x138609(0x1c2)](_0x1dc1f7=>function(_0x435a66,_0x3c3e6e,_0x17c31c){const _0x56ec30=_0x138609;return{'commentThreadId':_0x17c31c,'commentId':_0x435a66[_0x56ec30(0x1a1)],'userId':_0x435a66[_0x56ec30(0x190)],'content':_0x435a66[_0x56ec30(0x19d)],'documentId':_0x3c3e6e,'createdAt':_0x435a66[_0x56ec30(0x1b7)],'attributes':_0x435a66[_0x56ec30(0x19c)]||{}};}(_0x1dc1f7,_0x162dfe,_0x5505ca)),'resolvedAt':_0x351dfe,'resolvedBy':_0x443380,'context':_0x205da3,'attributes':_0x1debd2})[_0x138609(0x16c)](B);return{'threadId':_0x4b9da3[_0x138609(0x18f)],'comments':_0x4b9da3[_0x138609(0x1ca)]};},'getCommentThread':async({channelId:_0x7c404c,threadId:_0x1f62ea})=>{const _0x51cade=_0x48483e,_0x2d3455=await this[_0x51cade(0x186)](_0x7c404c)[_0x51cade(0x194)](_0x1f62ea)[_0x51cade(0x16c)](F)[_0x51cade(0x16c)](B);return _0x2d3455?_0x2d3455[_0x51cade(0x168)]?null:(await this[_0x51cade(0x19b)]([_0x2d3455]),{'threadId':_0x2d3455[_0x51cade(0x18f)],'comments':_0x2d3455[_0x51cade(0x1ca)][_0x51cade(0x1c2)](P),'context':_0x2d3455[_0x51cade(0x18b)],'resolvedAt':_0x2d3455[_0x51cade(0x1c8)],'resolvedBy':_0x2d3455[_0x51cade(0x18d)],'attributes':_0x2d3455[_0x51cade(0x19c)]||{}}):null;},'updateCommentThread':async({channelId:_0x2bfac0,threadId:_0x3e9f48,context:_0x4ed904,unlinkedAt:_0x32b852,attributes:_0x5ee898})=>this[_0x48483e(0x186)](_0x2bfac0)[_0x48483e(0x1c0)]({'commentThreadId':_0x3e9f48,'context':_0x4ed904,'attributes':_0x5ee898,'unlinkedAt':_0x32b852})[_0x48483e(0x16c)](F)[_0x48483e(0x16c)](B),'resolveCommentThread':async({channelId:_0x20a678,threadId:_0x51893e})=>{const _0x4f37e2=_0x48483e,_0xe47394=await this[_0x4f37e2(0x186)](_0x20a678)[_0x4f37e2(0x192)](_0x51893e)[_0x4f37e2(0x16c)](F)[_0x4f37e2(0x16c)](B);return{'threadId':_0xe47394[_0x4f37e2(0x18f)],'resolvedAt':_0xe47394[_0x4f37e2(0x1c8)],'resolvedBy':_0xe47394[_0x4f37e2(0x18d)]};},'reopenCommentThread':async({channelId:_0x4ddaff,threadId:_0x197e14})=>this[_0x48483e(0x186)](_0x4ddaff)[_0x48483e(0x182)](_0x197e14)[_0x48483e(0x16c)](F)[_0x48483e(0x16c)](B),'removeCommentThread':({channelId:_0x3e659b,threadId:_0x2565ab})=>this[_0x48483e(0x186)](_0x3e659b)[_0x48483e(0x18a)](_0x2565ab)[_0x48483e(0x16c)](F)[_0x48483e(0x16c)](B),'addComment':({channelId:_0x96183f,threadId:_0x9d2a2,commentId:_0x460a30,content:_0x41ebee,attributes:_0x394b0f})=>this[_0x48483e(0x186)](_0x96183f)[_0x48483e(0x18c)](_0x9d2a2,_0x460a30,_0x41ebee,_0x394b0f)[_0x48483e(0x16c)](B),'updateComment':({channelId:_0x22235b,threadId:_0x2fc7ed,commentId:_0x42312d,content:_0x58ef60,attributes:_0x5f618d})=>this[_0x48483e(0x186)](_0x22235b)[_0x48483e(0x17c)](_0x2fc7ed,_0x42312d,_0x58ef60,_0x5f618d)[_0x48483e(0x16c)](F)[_0x48483e(0x16c)](B),'removeComment':({channelId:_0x1025a8,threadId:_0x1b76dc,commentId:_0x412ba7})=>this[_0x48483e(0x186)](_0x1025a8)[_0x48483e(0x198)](_0x1b76dc,_0x412ba7)[_0x48483e(0x16c)](F)[_0x48483e(0x16c)](B)},_0x2ebc91 instanceof _0xe37f76){const _0x147679=_0x2ebc91[_0x48483e(0x1c6)][_0x48483e(0x19e)](_0x48483e(0x18e)),_0x41c833=_0x2ebc91[_0x48483e(0x1b1)][_0x48483e(0x19e)](_0x4c262c);await this[_0x48483e(0x1a7)](_0x147679);const _0x22c92d=await this[_0x48483e(0x1c3)][_0x48483e(0x19e)](_0x147679)[_0x48483e(0x1cb)]();this[_0x48483e(0x1be)](_0x41c833,_0x48483e(0x175)+_0x147679,(_0x773067,{session:_0x5e7ea8})=>{const _0x1efea9=_0x48483e;_0x5e7ea8['id']===_0x41c833[_0x1efea9(0x196)]&&(_0x773067[_0x1efea9(0x185)](),this[_0x1efea9(0x18b)][_0x1efea9(0x1b1)][_0x1efea9(0x19e)](_0x1efea9(0x1b3))[_0x1efea9(0x1a4)](_0x5e7ea8[_0x1efea9(0x17d)],_0x147679));}),_0x41c833[_0x48483e(0x1a5)](_0x147679,_0x22c92d);}}async[_0x106136(0x1a7)](_0x199221){const _0x2daf8a=_0x106136;if(this[_0x2daf8a(0x1c3)][_0x2daf8a(0x1c9)](_0x199221))throw new _0x403c71(_0x2daf8a(0x19f),null,{'channelId':_0x199221});const _0xd1417f=this[_0x2daf8a(0x18b)][_0x2daf8a(0x1b1)][_0x2daf8a(0x19e)](_0x2daf8a(0x183)),_0x73625e=new CloudServicesCommentsAdapter[(_0x2daf8a(0x171))](_0x199221);this[_0x2daf8a(0x1c3)][_0x2daf8a(0x1ae)](_0x199221,_0x73625e),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x191),(_0x4b4bcc,_0x43ef11)=>{const _0x744c5=_0x2daf8a,{commentThreadId:_0x27c5af,documentId:_0x263045,context:_0x1163e8,attributes:_0x235cfe,resolvedAt:_0x531609,resolvedBy:_0xbed553,comments:_0x15252b}=_0x43ef11;_0xd1417f[_0x744c5(0x194)](_0x27c5af)||_0xd1417f[_0x744c5(0x1bb)]({'threadId':_0x27c5af,'channelId':_0x263045,'comments':_0x15252b?_0x15252b[_0x744c5(0x1c2)](P):[],'context':_0x1163e8,'attributes':_0x235cfe,'resolvedAt':_0x531609,'resolvedBy':_0xbed553,'isFromAdapter':!0x0});}),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x1ac),(_0x1c7d53,{commentThreadId:_0x25209a,documentId:_0x33a066,context:_0x18edc5,unlinkedAt:_0x276765,attributes:_0x2a0a0a})=>{const _0xbc0606=_0x2daf8a;_0xd1417f[_0xbc0606(0x194)](_0x25209a)&&_0xd1417f[_0xbc0606(0x1c0)]({'threadId':_0x25209a,'channelId':_0x33a066,'context':_0x18edc5,'unlinkedAt':_0x276765,'attributes':_0x2a0a0a,'isFromAdapter':!0x0});}),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x1b2),(_0x10c7cc,{commentThreadId:_0x1bb6da,resolvedBy:_0x30a7f3,resolvedAt:_0x2cef54})=>{const _0xdfffca=_0x2daf8a,_0x28d737=_0xd1417f[_0xdfffca(0x194)](_0x1bb6da);_0x28d737&&_0x28d737[_0xdfffca(0x1b5)]({'resolvedBy':_0x30a7f3,'resolvedAt':_0x2cef54,'isFromAdapter':!0x0});}),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x1af),(_0x38a15c,{commentThreadId:_0x1d8ebf})=>{const _0x3fde2d=_0x2daf8a,_0x55196d=_0xd1417f[_0x3fde2d(0x194)](_0x1d8ebf);_0x55196d&&_0x55196d[_0x3fde2d(0x17e)]({'isFromAdapter':!0x0});}),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x1c5),(_0x50a9c5,{commentThreadId:_0x2c9806})=>{const _0x4e982c=_0x2daf8a,_0x2d0bf3=_0xd1417f[_0x4e982c(0x194)](_0x2c9806);_0x2d0bf3&&_0x2d0bf3[_0x4e982c(0x189)]({'isFromAdapter':!0x0});}),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x199),(_0xdbae1e,_0x199fed)=>{const _0x1c393b=_0x2daf8a,_0x183d87=_0x199fed[_0x1c393b(0x18f)],_0x5ee60b=_0xd1417f[_0x1c393b(0x194)](_0x183d87);_0x5ee60b&&_0x5ee60b[_0x1c393b(0x18c)]({...P(_0x199fed),'isFromAdapter':!0x0});}),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x177),(_0x16bb11,{commentThreadId:_0x3a4acf,commentId:_0x26ad71,content:_0x2be322,attributes:_0x180fea})=>{const _0x5c147d=_0x2daf8a,_0x14d477=_0xd1417f[_0x5c147d(0x194)](_0x3a4acf);if(_0x14d477){const _0x5d9402=_0x14d477[_0x5c147d(0x16e)](_0x26ad71);_0x5d9402&&_0x5d9402[_0x5c147d(0x172)]({'content':_0x2be322,'attributes':_0x180fea,'isFromAdapter':!0x0});}}),this[_0x2daf8a(0x1be)](_0x73625e,_0x2daf8a(0x1ad),(_0x4a1931,{commentThreadId:_0x28135b,commentId:_0x14f9cf})=>{const _0x496a69=_0x2daf8a,_0x24c077=_0xd1417f[_0x496a69(0x194)](_0x28135b);if(_0x24c077){const _0x4b2a3b=_0x24c077[_0x496a69(0x16e)](_0x14f9cf);_0x4b2a3b&&_0x4b2a3b[_0x496a69(0x189)]({'isFromAdapter':!0x0});}}),await this[_0x2daf8a(0x16f)](_0x199221);}[_0x106136(0x1b6)](){const _0x4772e6=_0x106136;if(this[_0x4772e6(0x18b)]instanceof _0xe37f76){const _0x5d5a05=this[_0x4772e6(0x18b)][_0x4772e6(0x1c6)][_0x4772e6(0x19e)](_0x4772e6(0x18e));this[_0x4772e6(0x184)](_0x5d5a05);}}[_0x106136(0x184)](_0x4b4dc6){const _0x49ff6d=_0x106136;if(!this[_0x49ff6d(0x1c3)][_0x49ff6d(0x1c9)](_0x4b4dc6))throw new _0x403c71(_0x49ff6d(0x1aa),null,{'channelId':_0x4b4dc6});this[_0x49ff6d(0x186)](_0x4b4dc6)[_0x49ff6d(0x1a9)](),this[_0x49ff6d(0x1c3)][_0x49ff6d(0x17a)](_0x4b4dc6);}async[_0x106136(0x1bc)](){const _0x3c93b9=_0x106136;for(const _0x277db3 of this[_0x3c93b9(0x1c3)][_0x3c93b9(0x1a6)]())await this[_0x3c93b9(0x16f)](_0x277db3);if(this[_0x3c93b9(0x18b)]instanceof _0xe37f76){const _0x1b86ad=this[_0x3c93b9(0x18b)][_0x3c93b9(0x1c6)][_0x3c93b9(0x19e)](_0x3c93b9(0x18e)),_0x32e40c=this[_0x3c93b9(0x18b)][_0x3c93b9(0x1b1)][_0x3c93b9(0x19e)](_0x4c262c);_0x32e40c[_0x3c93b9(0x187)](_0x1b86ad);const _0x18fe6d=await this[_0x3c93b9(0x1c3)][_0x3c93b9(0x19e)](_0x1b86ad)[_0x3c93b9(0x1cb)]();_0x32e40c[_0x3c93b9(0x1a5)](_0x1b86ad,_0x18fe6d);}}async[_0x106136(0x16f)](_0x305501){const _0x415313=_0x106136,{connection:_0x1a0f5e}=this[_0x415313(0x18b)][_0x415313(0x1b1)][_0x415313(0x19e)](_0x40e7c5),_0x592b09=this[_0x415313(0x18b)][_0x415313(0x1b1)][_0x415313(0x19e)](_0x415313(0x183)),_0x2d3eb0=this[_0x415313(0x1c3)][_0x415313(0x19e)](_0x305501),_0x538695=await _0x2d3eb0[_0x415313(0x1bd)](_0x1a0f5e);await this[_0x415313(0x19b)](_0x538695);const _0x27488e=new Set(Array[_0x415313(0x1c1)](_0x592b09[_0x415313(0x1ab)]({'channelId':_0x305501}),_0x3c0be9=>_0x3c0be9['id']));for(const _0x1ec642 of _0x538695)_0x1ec642[_0x415313(0x168)]||_0x27488e[_0x415313(0x17a)](_0x1ec642[_0x415313(0x18f)]);for(const _0x3bb321 of _0x27488e)_0x592b09[_0x415313(0x194)](_0x3bb321)[_0x415313(0x189)]({'isFromAdapter':!0x0});for(const _0x3e33bc of _0x538695){let _0x2ea762=_0x592b09[_0x415313(0x194)](_0x3e33bc[_0x415313(0x18f)]);const {commentThreadId:_0x38c054,context:_0x1c4fd1,attributes:_0x17010d,resolvedBy:_0x8b2895,resolvedAt:_0x5b6f4a,unlinkedAt:_0x2ff3d0,deletedAt:_0x26752b}=_0x3e33bc;if(_0x26752b)continue;_0x2ea762||(_0x2ea762=_0x592b09[_0x415313(0x1bb)]({'channelId':_0x305501,'threadId':_0x38c054,'context':_0x1c4fd1,'attributes':_0x17010d||{},'resolvedBy':_0x8b2895,'resolvedAt':_0x5b6f4a,'unlinkedAt':_0x2ff3d0,'isFromAdapter':!0x0}));const _0x3bebd9=new Set(Array[_0x415313(0x1c1)](_0x2ea762[_0x415313(0x1ca)],_0x121c8c=>_0x121c8c['id']));for(const _0x1ce080 of _0x3e33bc[_0x415313(0x1ca)])_0x3bebd9[_0x415313(0x17a)](_0x1ce080[_0x415313(0x1a1)]);for(const _0x3fdd86 of _0x3bebd9)_0x2ea762[_0x415313(0x16e)](_0x3fdd86)[_0x415313(0x189)]({'isFromAdapter':!0x0});for(const _0x4d10c2 of _0x3e33bc[_0x415313(0x1ca)]){const _0x5da295=_0x2ea762[_0x415313(0x16e)](_0x4d10c2[_0x415313(0x1a1)]);_0x5da295?_0x5da295[_0x415313(0x19d)]!==_0x4d10c2[_0x415313(0x19d)]&&_0x5da295[_0x415313(0x172)]({'content':_0x4d10c2[_0x415313(0x19d)],'isFromAdapter':!0x0}):_0x2ea762[_0x415313(0x18c)](Object[_0x415313(0x1a0)](P(_0x4d10c2),{'isFromAdapter':!0x0}));}}}[_0x106136(0x186)](_0x4330cd){const _0x209ca1=_0x106136;if(!this[_0x209ca1(0x1c3)][_0x209ca1(0x1c9)](_0x4330cd))throw new _0x403c71(_0x209ca1(0x17b),null,{'channelId':_0x4330cd});return this[_0x209ca1(0x1c3)][_0x209ca1(0x19e)](_0x4330cd);}async[_0x106136(0x19b)](_0x3e4820){const _0x50c7c0=_0x106136,_0xa2406c=this[_0x50c7c0(0x18b)][_0x50c7c0(0x1b1)][_0x50c7c0(0x19e)](_0x4ad09),{connection:_0x1e4a24}=this[_0x50c7c0(0x18b)][_0x50c7c0(0x1b1)][_0x50c7c0(0x19e)](_0x40e7c5),_0x543abc=new Set();for(const {resolvedBy:_0x10362f,comments:_0x4e3534}of _0x3e4820){_0x10362f&&!_0xa2406c[_0x50c7c0(0x193)](_0x10362f)&&_0x543abc[_0x50c7c0(0x181)](_0x10362f);for(const {userId:_0x1a9648}of _0x4e3534)_0xa2406c[_0x50c7c0(0x193)](_0x1a9648)||_0x543abc[_0x50c7c0(0x181)](_0x1a9648);}if(0x0===_0x543abc[_0x50c7c0(0x1b9)])return;const _0x3b131a=await _0x31744e[_0x50c7c0(0x1a8)](_0x1e4a24,Array[_0x50c7c0(0x1c1)](_0x543abc));for(const _0x5dfcd8 of _0x3b131a)_0xa2406c[_0x50c7c0(0x193)](_0x5dfcd8['id'])||_0xa2406c[_0x50c7c0(0x179)](_0x5dfcd8);}}async function F(_0x211a05){const _0x3e87b4=_0x106136;if(_0x3e87b4(0x16a)!==_0x211a05[_0x3e87b4(0x174)])throw _0x211a05;}function B(_0x7b4ec6){const _0x1eddf7=_0x106136;if((_0x13630b=_0x7b4ec6)[_0x1eddf7(0x1b4)][_0x1eddf7(0x170)](_0x1eddf7(0x16d))||_0x13630b[_0x1eddf7(0x1b4)][_0x1eddf7(0x170)](_0x1eddf7(0x16b))||_0x13630b[_0x1eddf7(0x1b4)][_0x1eddf7(0x170)](_0x1eddf7(0x1c4)))return new Promise(()=>{});var _0x13630b;throw _0x7b4ec6;}function P(_0x37647f){const _0x45e626=_0x106136;return{'threadId':_0x37647f[_0x45e626(0x18f)],'commentId':_0x37647f[_0x45e626(0x1a1)],'content':_0x37647f[_0x45e626(0x19d)],'createdAt':_0x37647f[_0x45e626(0x1b7)],'authorId':_0x37647f[_0x45e626(0x1cc)],'attributes':_0x37647f[_0x45e626(0x19c)]||{}};}
23
+ const _0xf9d0e5=_0x5afd;(function(_0x46dee5,_0x5cafa9){const _0x374dc9=_0x5afd,_0x41224f=_0x46dee5();while(!![]){try{const _0x3adaf9=-parseInt(_0x374dc9(0x164))/0x1+parseInt(_0x374dc9(0x181))/0x2*(parseInt(_0x374dc9(0x168))/0x3)+parseInt(_0x374dc9(0x189))/0x4*(-parseInt(_0x374dc9(0x1a0))/0x5)+-parseInt(_0x374dc9(0x16c))/0x6*(parseInt(_0x374dc9(0x160))/0x7)+parseInt(_0x374dc9(0x19b))/0x8+parseInt(_0x374dc9(0x165))/0x9+parseInt(_0x374dc9(0x1b0))/0xa*(-parseInt(_0x374dc9(0x17e))/0xb);if(_0x3adaf9===_0x5cafa9)break;else _0x41224f['push'](_0x41224f['shift']());}catch(_0x71e72c){_0x41224f['push'](_0x41224f['shift']());}}}(_0x4fec,0x56ed9));import{Context as _0x56a5f6,ContextPlugin as _0x36689d}from'ckeditor5/src/core.js';function _0x5afd(_0x181db8,_0x3121de){const _0x4fec77=_0x4fec();return _0x5afd=function(_0x5afd0d,_0x37d828){_0x5afd0d=_0x5afd0d-0x15e;let _0x139162=_0x4fec77[_0x5afd0d];return _0x139162;},_0x5afd(_0x181db8,_0x3121de);}import{CKEditorError as _0x3dc946}from'ckeditor5/src/utils.js';import{Users as _0x570067}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1e6b7c,User as _0x1d157e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4fec(){const _0x3835cc=['resolve','setPermissions','2420PHkCTr','catch','createdAt','2jDcXjJ','getComment','content','register','permissions','addUser','cloudservicescommentsadapter-service-not-exist','add','4omxvyC','resolvedAt','404','updateCommentThread','get','getConnectedSessions','cloudservicescommentsadapter-connect-already-connected','message','authorId','CommentsService','addToReconnectionStack','delete','off','_connectService','getCommentThread','getMany','from','resolveCommentThread','5295280iXfivW','_setUpService','removeComment','update','reconnect','1788035OKwSVX','commentRemoved','addComment','startsWith','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','commentThreadUpdated','mySessionId','userId','attributes','has','reopen','destroy','_getService','isPremiumPlugin','connect','34070JtmuwO','requires','map','config','commentThreadAdded','collaboration.channelId','assign','sessionAdd:','code','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','removeCommentThread','addCommentThread','adapter','plugins','commentThreadResolved','context','commentThreadId','getCommentThreads','commentUpdated','remove','reopenCommentThread','cloudservicescommentsadapter-disconnect-not-exist','372687aEpWnq','listenTo','getUser','updateComment','251288UZPSWW','4914927bPTyCk','commentThreadReopened','disconnect','1998606dqelRS','resolvedBy','size','Permissions','18BDwDst','cloud-services-internal-error:\x20Not\x20connected.','comments','commentId','_services','CloudServicesCommentsAdapter','commentAdded','isOfficialPlugin','deletedAt','set','init','keys','commentThreadRemoved','_fetchMissingUsersForThreads','_terminateService','unregister'];_0x4fec=function(){return _0x3835cc;};return _0x4fec();}import{WebSocketGateway as _0x1b0dd8}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2af42e}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x36689d{static [_0xf9d0e5(0x192)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1e6b7c)());[_0xf9d0e5(0x170)];static get[_0xf9d0e5(0x1b1)](){const _0x4bb2f2=_0xf9d0e5;return[_0x1b0dd8,_0x4bb2f2(0x1b9),_0x2af42e,_0x570067];}static get[_0xf9d0e5(0x1a5)](){const _0x23a684=_0xf9d0e5;return _0x23a684(0x171);}static get[_0xf9d0e5(0x173)](){return!0x0;}static get[_0xf9d0e5(0x1ae)](){return!0x0;}constructor(_0x4ff9c5){const _0x423636=_0xf9d0e5;super(_0x4ff9c5),this[_0x423636(0x170)]=new Map();}async[_0xf9d0e5(0x176)](){const _0x2b23ac=_0xf9d0e5,_0x1deeec=this[_0x2b23ac(0x1c0)],_0x5d27a8=_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x2b23ac(0x1b9));if(_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x1b0dd8)[_0x2b23ac(0x193)](this),_0x5d27a8[_0x2b23ac(0x1bd)]={'addCommentThread':async({channelId:_0x46e4c3,threadId:_0x36c082,comments:_0x28cf95,resolvedAt:_0x841fbe,resolvedBy:_0x38019d,context:_0x57333c,attributes:_0x39aee1})=>{const _0x3c8869=_0x2b23ac,_0x4e2436=await this[_0x3c8869(0x1ad)](_0x46e4c3)[_0x3c8869(0x1bc)]({'commentThreadId':_0x36c082,'comments':_0x28cf95[_0x3c8869(0x1b2)](_0x4e27aa=>function(_0x1a06ff,_0x22b4b2,_0x223d0c){const _0x2055dd=_0x3c8869;return{'commentThreadId':_0x223d0c,'commentId':_0x1a06ff[_0x2055dd(0x16f)],'userId':_0x1a06ff[_0x2055dd(0x191)],'content':_0x1a06ff[_0x2055dd(0x183)],'documentId':_0x22b4b2,'createdAt':_0x1a06ff[_0x2055dd(0x180)],'attributes':_0x1a06ff[_0x2055dd(0x1a9)]||{}};}(_0x4e27aa,_0x46e4c3,_0x36c082)),'resolvedAt':_0x841fbe,'resolvedBy':_0x38019d,'context':_0x57333c,'attributes':_0x39aee1})[_0x3c8869(0x17f)](A);return{'threadId':_0x4e2436[_0x3c8869(0x1c1)],'comments':_0x4e2436[_0x3c8869(0x16e)]};},'getCommentThread':async({channelId:_0x345679,threadId:_0x587ea3})=>{const _0x2e1f48=_0x2b23ac,_0x8a0a4b=await this[_0x2e1f48(0x1ad)](_0x345679)[_0x2e1f48(0x197)](_0x587ea3)[_0x2e1f48(0x17f)](f)[_0x2e1f48(0x17f)](A);return _0x8a0a4b?_0x8a0a4b[_0x2e1f48(0x174)]?null:(await this[_0x2e1f48(0x179)]([_0x8a0a4b]),{'threadId':_0x8a0a4b[_0x2e1f48(0x1c1)],'comments':_0x8a0a4b[_0x2e1f48(0x16e)][_0x2e1f48(0x1b2)](p),'context':_0x8a0a4b[_0x2e1f48(0x1c0)],'resolvedAt':_0x8a0a4b[_0x2e1f48(0x18a)],'resolvedBy':_0x8a0a4b[_0x2e1f48(0x169)],'attributes':_0x8a0a4b[_0x2e1f48(0x1a9)]||{}}):null;},'updateCommentThread':async({channelId:_0x52d376,threadId:_0x36a882,context:_0x15e1a7,unlinkedAt:_0x577f47,attributes:_0x41b933})=>this[_0x2b23ac(0x1ad)](_0x52d376)[_0x2b23ac(0x18c)]({'commentThreadId':_0x36a882,'context':_0x15e1a7,'attributes':_0x41b933,'unlinkedAt':_0x577f47})[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'resolveCommentThread':async({channelId:_0x26c409,threadId:_0x7f7e1a})=>{const _0x24599f=_0x2b23ac,_0x8cfac4=await this[_0x24599f(0x1ad)](_0x26c409)[_0x24599f(0x19a)](_0x7f7e1a)[_0x24599f(0x17f)](f)[_0x24599f(0x17f)](A);return{'threadId':_0x8cfac4[_0x24599f(0x1c1)],'resolvedAt':_0x8cfac4[_0x24599f(0x18a)],'resolvedBy':_0x8cfac4[_0x24599f(0x169)]};},'reopenCommentThread':async({channelId:_0x3c56a2,threadId:_0x427ebc})=>this[_0x2b23ac(0x1ad)](_0x3c56a2)[_0x2b23ac(0x15e)](_0x427ebc)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'removeCommentThread':({channelId:_0x2f6289,threadId:_0x1d285f})=>this[_0x2b23ac(0x1ad)](_0x2f6289)[_0x2b23ac(0x1bb)](_0x1d285f)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'addComment':({channelId:_0x4bd6d1,threadId:_0xa46c70,commentId:_0x2f97b4,content:_0x446db2,attributes:_0x1d2a24})=>this[_0x2b23ac(0x1ad)](_0x4bd6d1)[_0x2b23ac(0x1a2)](_0xa46c70,_0x2f97b4,_0x446db2,_0x1d2a24)[_0x2b23ac(0x17f)](A),'updateComment':({channelId:_0x538877,threadId:_0xbac6b8,commentId:_0x32c9b5,content:_0x31ff70,attributes:_0x432757})=>this[_0x2b23ac(0x1ad)](_0x538877)[_0x2b23ac(0x163)](_0xbac6b8,_0x32c9b5,_0x31ff70,_0x432757)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'removeComment':({channelId:_0x5d309a,threadId:_0x260668,commentId:_0x42a6be})=>this[_0x2b23ac(0x1ad)](_0x5d309a)[_0x2b23ac(0x19d)](_0x260668,_0x42a6be)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A)},_0x1deeec instanceof _0x56a5f6){const _0x50aede=_0x1deeec[_0x2b23ac(0x1b3)][_0x2b23ac(0x18d)](_0x2b23ac(0x1b5)),_0x5c465a=_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x2af42e);await this[_0x2b23ac(0x19c)](_0x50aede);const _0x4723df=await this[_0x2b23ac(0x170)][_0x2b23ac(0x18d)](_0x50aede)[_0x2b23ac(0x18e)]();this[_0x2b23ac(0x161)](_0x5c465a,_0x2b23ac(0x1b7)+_0x50aede,(_0x150418,{session:_0x5919f4})=>{const _0x3780af=_0x2b23ac;_0x5919f4['id']===_0x5c465a[_0x3780af(0x1a7)]&&(_0x150418[_0x3780af(0x195)](),this[_0x3780af(0x1c0)][_0x3780af(0x1be)][_0x3780af(0x18d)](_0x3780af(0x16b))[_0x3780af(0x17d)](_0x5919f4[_0x3780af(0x185)],_0x50aede));}),_0x5c465a[_0x2b23ac(0x184)](_0x50aede,_0x4723df);}}async[_0xf9d0e5(0x19c)](_0x3eb877){const _0xdb8a27=_0xf9d0e5;if(this[_0xdb8a27(0x170)][_0xdb8a27(0x1aa)](_0x3eb877))throw new _0x3dc946(_0xdb8a27(0x18f),null,{'channelId':_0x3eb877});const _0x464428=this[_0xdb8a27(0x1c0)][_0xdb8a27(0x1be)][_0xdb8a27(0x18d)](_0xdb8a27(0x1b9)),_0x5e9d9c=new CloudServicesCommentsAdapter[(_0xdb8a27(0x192))](_0x3eb877);this[_0xdb8a27(0x170)][_0xdb8a27(0x175)](_0x3eb877,_0x5e9d9c),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1b4),(_0x34dd82,_0x251550)=>{const _0x3f8be9=_0xdb8a27,{commentThreadId:_0x3d47ca,documentId:_0x376813,context:_0x33bddb,attributes:_0x5865cd,resolvedAt:_0x3ff5d1,resolvedBy:_0x2103e9,comments:_0x1f25ae}=_0x251550;_0x464428[_0x3f8be9(0x197)](_0x3d47ca)||_0x464428[_0x3f8be9(0x1bc)]({'threadId':_0x3d47ca,'channelId':_0x376813,'comments':_0x1f25ae?_0x1f25ae[_0x3f8be9(0x1b2)](p):[],'context':_0x33bddb,'attributes':_0x5865cd,'resolvedAt':_0x3ff5d1,'resolvedBy':_0x2103e9,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1a6),(_0x4e757b,{commentThreadId:_0x106064,documentId:_0x1a9c09,context:_0x34503d,unlinkedAt:_0x528f13,attributes:_0x39beac})=>{const _0x17e1b3=_0xdb8a27;_0x464428[_0x17e1b3(0x197)](_0x106064)&&_0x464428[_0x17e1b3(0x18c)]({'threadId':_0x106064,'channelId':_0x1a9c09,'context':_0x34503d,'unlinkedAt':_0x528f13,'attributes':_0x39beac,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1bf),(_0x3cc5de,{commentThreadId:_0x561072,resolvedBy:_0x1f064a,resolvedAt:_0x2190aa})=>{const _0x5996c4=_0xdb8a27,_0x3958e6=_0x464428[_0x5996c4(0x197)](_0x561072);_0x3958e6&&_0x3958e6[_0x5996c4(0x17c)]({'resolvedBy':_0x1f064a,'resolvedAt':_0x2190aa,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x166),(_0x20733d,{commentThreadId:_0x4801f8})=>{const _0x26429e=_0xdb8a27,_0x37264a=_0x464428[_0x26429e(0x197)](_0x4801f8);_0x37264a&&_0x37264a[_0x26429e(0x1ab)]({'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x178),(_0x387dca,{commentThreadId:_0x1f92e4})=>{const _0x50d4c4=_0xdb8a27,_0xb30ef0=_0x464428[_0x50d4c4(0x197)](_0x1f92e4);_0xb30ef0&&_0xb30ef0[_0x50d4c4(0x1c4)]({'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x172),(_0x11144d,_0xc73182)=>{const _0x5649eb=_0xdb8a27,_0x157f67=_0xc73182[_0x5649eb(0x1c1)],_0x3668e6=_0x464428[_0x5649eb(0x197)](_0x157f67);_0x3668e6&&_0x3668e6[_0x5649eb(0x1a2)]({...p(_0xc73182),'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1c3),(_0x46d25c,{commentThreadId:_0x30c5d4,commentId:_0x39c5da,content:_0x1c12ab,attributes:_0x3ec447})=>{const _0x11861a=_0xdb8a27,_0x8cbcd2=_0x464428[_0x11861a(0x197)](_0x30c5d4);if(_0x8cbcd2){const _0x28e2b5=_0x8cbcd2[_0x11861a(0x182)](_0x39c5da);_0x28e2b5&&_0x28e2b5[_0x11861a(0x19e)]({'content':_0x1c12ab,'attributes':_0x3ec447,'isFromAdapter':!0x0});}}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1a1),(_0x293fe5,{commentThreadId:_0x34f28f,commentId:_0x4f2175})=>{const _0x2299c5=_0xdb8a27,_0x8128c=_0x464428[_0x2299c5(0x197)](_0x34f28f);if(_0x8128c){const _0x34c967=_0x8128c[_0x2299c5(0x182)](_0x4f2175);_0x34c967&&_0x34c967[_0x2299c5(0x1c4)]({'isFromAdapter':!0x0});}}),await this[_0xdb8a27(0x196)](_0x3eb877);}[_0xf9d0e5(0x1ac)](){const _0x206696=_0xf9d0e5;if(this[_0x206696(0x1c0)]instanceof _0x56a5f6){const _0x45fbb8=this[_0x206696(0x1c0)][_0x206696(0x1b3)][_0x206696(0x18d)](_0x206696(0x1b5));this[_0x206696(0x17a)](_0x45fbb8);}}[_0xf9d0e5(0x17a)](_0x403e63){const _0x201c60=_0xf9d0e5;if(!this[_0x201c60(0x170)][_0x201c60(0x1aa)](_0x403e63))throw new _0x3dc946(_0x201c60(0x15f),null,{'channelId':_0x403e63});this[_0x201c60(0x1ad)](_0x403e63)[_0x201c60(0x167)](),this[_0x201c60(0x170)][_0x201c60(0x194)](_0x403e63);}async[_0xf9d0e5(0x19f)](){const _0x5a77c5=_0xf9d0e5;for(const _0x49e4b9 of this[_0x5a77c5(0x170)][_0x5a77c5(0x177)]())await this[_0x5a77c5(0x196)](_0x49e4b9);if(this[_0x5a77c5(0x1c0)]instanceof _0x56a5f6){const _0x1b718=this[_0x5a77c5(0x1c0)][_0x5a77c5(0x1b3)][_0x5a77c5(0x18d)](_0x5a77c5(0x1b5)),_0x2a1848=this[_0x5a77c5(0x1c0)][_0x5a77c5(0x1be)][_0x5a77c5(0x18d)](_0x2af42e);_0x2a1848[_0x5a77c5(0x17b)](_0x1b718);const _0x872f5d=await this[_0x5a77c5(0x170)][_0x5a77c5(0x18d)](_0x1b718)[_0x5a77c5(0x18e)]();_0x2a1848[_0x5a77c5(0x184)](_0x1b718,_0x872f5d);}}async[_0xf9d0e5(0x196)](_0x20d98a){const _0x21bdee=_0xf9d0e5,{connection:_0x23b7ac}=this[_0x21bdee(0x1c0)][_0x21bdee(0x1be)][_0x21bdee(0x18d)](_0x1b0dd8),_0x1f2ab=this[_0x21bdee(0x1c0)][_0x21bdee(0x1be)][_0x21bdee(0x18d)](_0x21bdee(0x1b9)),_0x5b1127=this[_0x21bdee(0x170)][_0x21bdee(0x18d)](_0x20d98a),_0x3bfdde=await _0x5b1127[_0x21bdee(0x1af)](_0x23b7ac);await this[_0x21bdee(0x179)](_0x3bfdde);const _0x528219=new Set(Array[_0x21bdee(0x199)](_0x1f2ab[_0x21bdee(0x1c2)]({'channelId':_0x20d98a}),_0x412e18=>_0x412e18['id']));for(const _0x28d4b5 of _0x3bfdde)_0x28d4b5[_0x21bdee(0x174)]||_0x528219[_0x21bdee(0x194)](_0x28d4b5[_0x21bdee(0x1c1)]);for(const _0x2bca08 of _0x528219)_0x1f2ab[_0x21bdee(0x197)](_0x2bca08)[_0x21bdee(0x1c4)]({'isFromAdapter':!0x0});for(const _0x2f06d7 of _0x3bfdde){let _0x38c515=_0x1f2ab[_0x21bdee(0x197)](_0x2f06d7[_0x21bdee(0x1c1)]);const {commentThreadId:_0x10e589,context:_0x417c2f,attributes:_0x1c2d4b,resolvedBy:_0x1fc1cd,resolvedAt:_0xc25efb,unlinkedAt:_0x6d8bec,deletedAt:_0x2e0d14}=_0x2f06d7;if(_0x2e0d14)continue;_0x38c515||(_0x38c515=_0x1f2ab[_0x21bdee(0x1bc)]({'channelId':_0x20d98a,'threadId':_0x10e589,'context':_0x417c2f,'attributes':_0x1c2d4b||{},'resolvedBy':_0x1fc1cd,'resolvedAt':_0xc25efb,'unlinkedAt':_0x6d8bec,'isFromAdapter':!0x0}));const _0x2f86bf=new Set(Array[_0x21bdee(0x199)](_0x38c515[_0x21bdee(0x16e)],_0x2dbfad=>_0x2dbfad['id']));for(const _0x6c392c of _0x2f06d7[_0x21bdee(0x16e)])_0x2f86bf[_0x21bdee(0x194)](_0x6c392c[_0x21bdee(0x16f)]);for(const _0x380451 of _0x2f86bf)_0x38c515[_0x21bdee(0x182)](_0x380451)[_0x21bdee(0x1c4)]({'isFromAdapter':!0x0});for(const _0x34b6fa of _0x2f06d7[_0x21bdee(0x16e)]){const _0x2fffc7=_0x38c515[_0x21bdee(0x182)](_0x34b6fa[_0x21bdee(0x16f)]);_0x2fffc7?_0x2fffc7[_0x21bdee(0x183)]!==_0x34b6fa[_0x21bdee(0x183)]&&_0x2fffc7[_0x21bdee(0x19e)]({'content':_0x34b6fa[_0x21bdee(0x183)],'isFromAdapter':!0x0}):_0x38c515[_0x21bdee(0x1a2)](Object[_0x21bdee(0x1b6)](p(_0x34b6fa),{'isFromAdapter':!0x0}));}}}[_0xf9d0e5(0x1ad)](_0x21418b){const _0x540c82=_0xf9d0e5;if(!this[_0x540c82(0x170)][_0x540c82(0x1aa)](_0x21418b))throw new _0x3dc946(_0x540c82(0x187),null,{'channelId':_0x21418b});return this[_0x540c82(0x170)][_0x540c82(0x18d)](_0x21418b);}async[_0xf9d0e5(0x179)](_0x2b631f){const _0x4e5f31=_0xf9d0e5,_0x347e82=this[_0x4e5f31(0x1c0)][_0x4e5f31(0x1be)][_0x4e5f31(0x18d)](_0x570067),{connection:_0xdfddce}=this[_0x4e5f31(0x1c0)][_0x4e5f31(0x1be)][_0x4e5f31(0x18d)](_0x1b0dd8),_0x52cf3e=new Set();for(const {resolvedBy:_0x2462d2,comments:_0x7f1fac}of _0x2b631f){_0x2462d2&&!_0x347e82[_0x4e5f31(0x162)](_0x2462d2)&&_0x52cf3e[_0x4e5f31(0x188)](_0x2462d2);for(const {userId:_0x3dd16d}of _0x7f1fac)_0x347e82[_0x4e5f31(0x162)](_0x3dd16d)||_0x52cf3e[_0x4e5f31(0x188)](_0x3dd16d);}if(0x0===_0x52cf3e[_0x4e5f31(0x16a)])return;const _0x57b1c9=await _0x1d157e[_0x4e5f31(0x198)](_0xdfddce,Array[_0x4e5f31(0x199)](_0x52cf3e));for(const _0x4530cb of _0x57b1c9)_0x347e82[_0x4e5f31(0x162)](_0x4530cb['id'])||_0x347e82[_0x4e5f31(0x186)](_0x4530cb);}}async function f(_0x26671e){const _0x24c3e9=_0xf9d0e5;if(_0x24c3e9(0x18b)!==_0x26671e[_0x24c3e9(0x1b8)])throw _0x26671e;}function A(_0x4484ce){const _0x3a6afd=_0xf9d0e5;if((_0x434932=_0x4484ce)[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x1ba))||_0x434932[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x16d))||_0x434932[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x1a4)))return new Promise(()=>{});var _0x434932;throw _0x4484ce;}function p(_0x44fd66){const _0x1d46fd=_0xf9d0e5;return{'threadId':_0x44fd66[_0x1d46fd(0x1c1)],'commentId':_0x44fd66[_0x1d46fd(0x16f)],'content':_0x44fd66[_0x1d46fd(0x183)],'createdAt':_0x44fd66[_0x1d46fd(0x180)],'authorId':_0x44fd66[_0x1d46fd(0x1a8)],'attributes':_0x44fd66[_0x1d46fd(0x1a9)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa80930=_0x380e;(function(_0x58d5fa,_0x16bf9e){const _0x499597=_0x380e,_0x3bf7ec=_0x58d5fa();while(!![]){try{const _0x261478=parseInt(_0x499597(0x14d))/0x1*(-parseInt(_0x499597(0x13d))/0x2)+-parseInt(_0x499597(0x14c))/0x3*(-parseInt(_0x499597(0x12e))/0x4)+-parseInt(_0x499597(0x140))/0x5*(-parseInt(_0x499597(0x148))/0x6)+-parseInt(_0x499597(0x136))/0x7*(-parseInt(_0x499597(0x13f))/0x8)+parseInt(_0x499597(0x12d))/0x9*(parseInt(_0x499597(0x13c))/0xa)+parseInt(_0x499597(0x13a))/0xb+-parseInt(_0x499597(0x12b))/0xc*(parseInt(_0x499597(0x134))/0xd);if(_0x261478===_0x16bf9e)break;else _0x3bf7ec['push'](_0x3bf7ec['shift']());}catch(_0xe9dc29){_0x3bf7ec['push'](_0x3bf7ec['shift']());}}}(_0x3cc9,0x2ac91));function _0x3cc9(){const _0x310a43=['135664KFJvSL','15oMvedi','switchReadOnly','isPremiumPlugin','listenTo','pluginName','connected','collaboration.channelId','once','326082fMVvWq','change:state','editor','data','27369txxUsO','7102wPhAmd','_terminateService','Comments','init','129120RIhNwz','config','104751ROTkUx','52NDpaOz','isThreadsLoadingPaused','plugins','get','destroy','CommentsRepository','767CoOOfk','requires','140CbamaU','CommentsEditing','RealTimeCollaborativeComments','isOfficialPlugin','721644zcLYnq','_setUpService','210wYsvaN','34DrhdQY','ready'];_0x3cc9=function(){return _0x310a43;};return _0x3cc9();}function _0x380e(_0x461a82,_0x442b02){const _0x3cc916=_0x3cc9();return _0x380e=function(_0x380e46,_0x284390){_0x380e46=_0x380e46-0x12a;let _0x56fc48=_0x3cc916[_0x380e46];return _0x56fc48;},_0x380e(_0x461a82,_0x442b02);}import{Plugin as _0x1abe76}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1e4744}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4f69c4}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x410d6d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x1abe76{static get[_0xa80930(0x135)](){const _0x57a1e6=_0xa80930;return[_0x57a1e6(0x14f),_0x1e4744,_0x4f69c4,_0x410d6d];}static get[_0xa80930(0x144)](){const _0x39e300=_0xa80930;return _0x39e300(0x138);}static get[_0xa80930(0x139)](){return!0x0;}static get[_0xa80930(0x142)](){return!0x0;}[_0xa80930(0x12a)](){const _0x414d42=_0xa80930,_0xc5e30d=this[_0x414d42(0x14a)][_0x414d42(0x130)][_0x414d42(0x131)](_0x410d6d),_0xd1f131=this[_0x414d42(0x14a)][_0x414d42(0x130)][_0x414d42(0x131)](_0x414d42(0x137)),_0x344b96=this[_0x414d42(0x14a)][_0x414d42(0x130)][_0x414d42(0x131)](_0x1e4744);return this[_0x414d42(0x14a)][_0x414d42(0x14b)][_0x414d42(0x147)](_0x414d42(0x13e),()=>{const _0x9aa3d3=_0x414d42;this[_0x9aa3d3(0x143)](_0xc5e30d,_0x9aa3d3(0x149),(_0x24979c,_0x37846d,_0x104cef)=>{const _0x20d755=_0x9aa3d3;_0xd1f131[_0x20d755(0x12f)]=_0x20d755(0x145)!==_0x104cef;});}),this[_0x414d42(0x143)](_0xc5e30d,_0x414d42(0x149),(_0x10614e,_0xc4c05f,_0x38bd67)=>{const _0x4a0c=_0x414d42;this[_0x4a0c(0x14a)][_0x4a0c(0x130)][_0x4a0c(0x131)](_0x4a0c(0x133))[_0x4a0c(0x141)](_0x4a0c(0x145)!==_0x38bd67);}),_0x344b96[_0x414d42(0x13b)](this[_0x414d42(0x14a)][_0x414d42(0x12c)][_0x414d42(0x131)](_0x414d42(0x146)));}[_0xa80930(0x132)](){const _0x4cde68=_0xa80930;this[_0x4cde68(0x14a)][_0x4cde68(0x130)][_0x4cde68(0x131)](_0x1e4744)[_0x4cde68(0x14e)](this[_0x4cde68(0x14a)][_0x4cde68(0x12c)][_0x4cde68(0x131)](_0x4cde68(0x146))),super[_0x4cde68(0x132)]();}}
23
+ const _0x10af93=_0x3583;(function(_0x299223,_0xbef86b){const _0x326ed3=_0x3583,_0x2b48b4=_0x299223();while(!![]){try{const _0x2c42bb=-parseInt(_0x326ed3(0x202))/0x1+parseInt(_0x326ed3(0x1f6))/0x2+parseInt(_0x326ed3(0x206))/0x3*(-parseInt(_0x326ed3(0x1f9))/0x4)+-parseInt(_0x326ed3(0x1f7))/0x5+parseInt(_0x326ed3(0x20d))/0x6+-parseInt(_0x326ed3(0x20b))/0x7+parseInt(_0x326ed3(0x208))/0x8;if(_0x2c42bb===_0xbef86b)break;else _0x2b48b4['push'](_0x2b48b4['shift']());}catch(_0x452276){_0x2b48b4['push'](_0x2b48b4['shift']());}}}(_0x2ff0,0xc7efd));import{Plugin as _0x14cb0d}from'ckeditor5/src/core.js';function _0x3583(_0x1081c2,_0x1b6b2e){const _0x2ff057=_0x2ff0();return _0x3583=function(_0x3583f1,_0x1c224d){_0x3583f1=_0x3583f1-0x1f2;let _0x494cf1=_0x2ff057[_0x3583f1];return _0x494cf1;},_0x3583(_0x1081c2,_0x1b6b2e);}function _0x2ff0(){const _0x2c52f9=['requires','once','init','CommentsRepository','get','_setUpService','1279354gDnZKy','1615345LbBJis','listenTo','4wUpuhy','CommentsEditing','pluginName','isPremiumPlugin','Comments','connected','change:state','destroy','data','1362036JPBoqb','isThreadsLoadingPaused','isOfficialPlugin','config','3245412pZArrD','switchReadOnly','22177072aTTKlb','RealTimeCollaborativeComments','_terminateService','8620290SYMPHC','editor','8433054ylCFxK','ready','collaboration.channelId','plugins'];_0x2ff0=function(){return _0x2c52f9;};return _0x2ff0();}import{CloudServicesCommentsAdapter as _0x3b4e7e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x42fa28}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4e213f}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x14cb0d{static get[_0x10af93(0x211)](){const _0x24aa4a=_0x10af93;return[_0x24aa4a(0x1fd),_0x3b4e7e,_0x42fa28,_0x4e213f];}static get[_0x10af93(0x1fb)](){const _0x23f508=_0x10af93;return _0x23f508(0x209);}static get[_0x10af93(0x204)](){return!0x0;}static get[_0x10af93(0x1fc)](){return!0x0;}[_0x10af93(0x1f2)](){const _0x5275e7=_0x10af93,_0x496d3f=this[_0x5275e7(0x20c)][_0x5275e7(0x210)][_0x5275e7(0x1f4)](_0x4e213f),_0x282bc5=this[_0x5275e7(0x20c)][_0x5275e7(0x210)][_0x5275e7(0x1f4)](_0x5275e7(0x1fa)),_0x21e644=this[_0x5275e7(0x20c)][_0x5275e7(0x210)][_0x5275e7(0x1f4)](_0x3b4e7e);return this[_0x5275e7(0x20c)][_0x5275e7(0x201)][_0x5275e7(0x212)](_0x5275e7(0x20e),()=>{const _0x3d9b5e=_0x5275e7;this[_0x3d9b5e(0x1f8)](_0x496d3f,_0x3d9b5e(0x1ff),(_0x59fe8c,_0x27a442,_0x5d7b17)=>{const _0x3deb43=_0x3d9b5e;_0x282bc5[_0x3deb43(0x203)]=_0x3deb43(0x1fe)!==_0x5d7b17;});}),this[_0x5275e7(0x1f8)](_0x496d3f,_0x5275e7(0x1ff),(_0x6ecfed,_0x1ca8c8,_0x56dd8c)=>{const _0xb2c220=_0x5275e7;this[_0xb2c220(0x20c)][_0xb2c220(0x210)][_0xb2c220(0x1f4)](_0xb2c220(0x1f3))[_0xb2c220(0x207)](_0xb2c220(0x1fe)!==_0x56dd8c);}),_0x21e644[_0x5275e7(0x1f5)](this[_0x5275e7(0x20c)][_0x5275e7(0x205)][_0x5275e7(0x1f4)](_0x5275e7(0x20f)));}[_0x10af93(0x200)](){const _0x3a4032=_0x10af93;this[_0x3a4032(0x20c)][_0x3a4032(0x210)][_0x3a4032(0x1f4)](_0x3b4e7e)[_0x3a4032(0x20a)](this[_0x3a4032(0x20c)][_0x3a4032(0x205)][_0x3a4032(0x1f4)](_0x3a4032(0x20f))),super[_0x3a4032(0x200)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e3f98=_0x2c1c;(function(_0x473137,_0x376118){const _0x4eb6a0=_0x2c1c,_0x58fec9=_0x473137();while(!![]){try{const _0x5e86d1=parseInt(_0x4eb6a0(0x128))/0x1+-parseInt(_0x4eb6a0(0x11c))/0x2+-parseInt(_0x4eb6a0(0x14a))/0x3+parseInt(_0x4eb6a0(0x1a7))/0x4*(parseInt(_0x4eb6a0(0xf2))/0x5)+-parseInt(_0x4eb6a0(0x150))/0x6+-parseInt(_0x4eb6a0(0x176))/0x7*(-parseInt(_0x4eb6a0(0x115))/0x8)+parseInt(_0x4eb6a0(0x119))/0x9;if(_0x5e86d1===_0x376118)break;else _0x58fec9['push'](_0x58fec9['shift']());}catch(_0x4234e8){_0x58fec9['push'](_0x58fec9['shift']());}}}(_0x5265,0x85de2));import{Plugin as _0x10b013,PendingActions as _0x1e07a0}from'ckeditor5/src/core.js';function _0x5265(){const _0x1025fa=['metadata','sessionAdd:','_decompressOperations','connection','document:write','getOperations','change:_isEditingAllowed','decompress','catch','init','wereChangesApplied','has','map','offset','_operationToId','start','_isPendingUpdate','_handleReceivedOperations','path','error','string','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_waitUntilSynced','end','baseVersion','stopListening','lastOperationAcceptedAt','sessionCreatedAt','filter','_hasSynchronizationProblem','_channelId','_handleReconnectionError','return','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.','createdAt','_saveOperationInBuffer','getUser','_isAttached','_handleExternalOperations','_isInit','attributes','isUndoneOperation','addRoot','createRoot','_setPendingAction','off','CommentsOnly','getOperationAuthor','792685ofeqhB','config','listenTo','entries','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-error','real-time-collaboration','collaboration.channelId','enableReadOnlyMode','clone','slice','_handleSendingSelectionMarkers','Notification','markers','roots','realtimecollaborationclient-init-service-internal-error','showWarning','newRange','connect','createPositionFromPath','_compressor','rtc-offline','setIdForTheLastOperation','_shouldSendUpdate','high','differ','disableReadOnlyMode','reconnection:\x20flushed\x20session','_service','_connectAfterSessionHasBeenFlushed','404','multi-root-editor-root-attributes-no-root','marker','change:_isPendingUpdate','version','3016NzKFOO','_isLoaded','toJSON','ready','5469093VRUVZf','move','model','348858uVDSYG','get','cs:removeUser','_lastServerVersion','_isConnected','applyOperation','409','reconnect','editor','__className','unregister','reset','921338dVKMPf','realtimecollaborationclient-init-session-connection-error','disconnected','_currentBufferDelay','_isEditingAllowed','getConnectedSessions','getIdOfTheLastOperation','_bufferedOperations','wasUndone','compress','PENDING_ACTION_SENDING_DATA','_hasSelectionChanged','stop','change:hasDomSelection','_getOperationsFromInitData','_operationIdentifier','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectsData','isPremiumPlugin','message','Synchronization\x20issue','enqueueChange','initData','_sendBufferedOperations','_handleInitialConnectionData','from','createUserMarkerOperations','destroy','pluginName','_loadRoot','permissions','_authorId','fire','affectedSelectable','3274635HCpTkF','_getAffectedRoot','$root','view','suppressErrorInCollaboration','add','5033700TirgFt','apply','sendOperations','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastSyncedOperationId','plugins','type','rootsAttributes','_connectService','isEnabled','collaboration-missing-channelid','InsertOperation','_disconnectService','state','size','requires','length','Permissions','targetPosition','lastDocumentSession','_sendBufferedOperationsDelayed','document','disconnect','_initThrowingOnDataSet','code','getDocumentDetails','insert','includes','_setUpDataInit','_refreshUserSelectionMarkers','connected','_addKnownRoot','realtimecollaborationclient','_knownRootNames','channelSessions','rootName','change:range','_isDisconnection','14987OEbsyU','addUser','forEach','_clearPendingAction','createRange','isDocumentOperation','_pendingAction','_updateServerHistory','_handleServerResponse','cloudServices.bundleVersion','finally','_handleReconnectionResponse','_bufferRootLoad','addOperation','createPositionAt','batch','isReadOnly','getRoot','directChange','operationsReceived','push','realtimecollaborationclient-sendbufferedoperations','history','loadRoot','cloudDocumentVersion','fromJSON','position','editing','_document','_compressOperations','_sendBufferedOperationsDelayId','setPermissions','sessionId','rtc-destroyed','_initSessionsHandling','_applyOperationsSet','mySessionId','addToReconnectionStack','bind','CollaborativeEditingService','then','_shouldSendSelectionUpdate','addRootAttribute','collaboration','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','_offset','remove','_crash','8ahsxOt','register','lastOperationId','realtimecollaborationclient-init-non-existent-root','_disconnectionOperations','getMany','realtimecollaborationclient-handleserverresponse','selection','parse','removeFromReconnectionStack','_fetchMissingUsers','set','locale','serverHistory','_ignoredOperations','round','keys','_baseBufferDelay','_knownOperations','realtimecollaborationclient-init-connection-failed','currentDocumentSession','data','realtimecollaborationclient-init-service-incorrect-server-operation','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','userId','lastSyncVersion','realtimecollaborationclient-init-document-already-initialized','RealTimeCollaborationClient','root','define','startsWith'];_0x5265=function(){return _0x1025fa;};return _0x5265();}import{CKEditorError as _0x3c488f,version as _0x40b208,uid as _0x2e9515}from'ckeditor5/src/utils.js';import{Notification as _0x5e321f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4465e9,NoOperation as _0x2c0766,InsertOperation as _0x4edf8f,MarkerOperation as _0x1796d4,RootAttributeOperation as _0x494d03,OperationFactory as _0x312478,History as _0x565518}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x507fa0}from'./websocketgateway.js';import{Sessions as _0x932535}from'./sessions.js';import{UserMarkers as _0x20bdd1}from'./usermarkers.js';function _0x2c1c(_0x11b7d6,_0x4b7d66){const _0x52657f=_0x5265();return _0x2c1c=function(_0x2c1cb2,_0x59f829){_0x2c1cb2=_0x2c1cb2-0xb8;let _0x120890=_0x52657f[_0x2c1cb2];return _0x120890;},_0x2c1c(_0x11b7d6,_0x4b7d66);}import{getTranslation as _0x4cd312}from'../common-translations.js';import{Compressor as _0x51fad1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x226f6b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb652ac,CollaborativeEditingService as _0x4435c8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x10b013{static [_0x5e3f98(0x19d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4435c8)());[_0x5e3f98(0x1a4)];[_0x5e3f98(0x196)];[_0x5e3f98(0x1b4)];[_0x5e3f98(0xe0)];[_0x5e3f98(0x10e)];[_0x5e3f98(0x192)];[_0x5e3f98(0x106)];[_0x5e3f98(0x12f)];[_0x5e3f98(0x1b9)];[_0x5e3f98(0x171)];[_0x5e3f98(0x17c)];[_0x5e3f98(0x133)];[_0x5e3f98(0x194)];[_0x5e3f98(0x1b8)];[_0x5e3f98(0x12b)];[_0x5e3f98(0x154)];[_0x5e3f98(0x1ab)];[_0x5e3f98(0x137)];static get[_0x5e3f98(0x15f)](){return[_0x507fa0,_0x932535,_0x20bdd1,_0x1e07a0,_0x226f6b,_0x5e321f];}static get[_0x5e3f98(0x144)](){const _0x575308=_0x5e3f98;return _0x575308(0xbd);}static get[_0x5e3f98(0x1a3)](){return!0x0;}static get[_0x5e3f98(0x13a)](){return!0x0;}get[_0x5e3f98(0x18e)](){const _0x4eeaeb=_0x5e3f98;return this[_0x4eeaeb(0x11f)]+this[_0x4eeaeb(0x1a4)];}get[_0x5e3f98(0x11f)](){const _0x33253e=_0x5e3f98;return this[_0x33253e(0x1b4)][_0x33253e(0x114)]-this[_0x33253e(0x1a4)];}get[_0x5e3f98(0xbb)](){const _0x44daff=_0x5e3f98,_0x4f84b0=this[_0x44daff(0x1b4)][_0x44daff(0xc6)]();for(let _0x578b49=_0x4f84b0[_0x44daff(0x160)]-0x1;_0x578b49>=0x0;_0x578b49--){const _0x54e04b=_0x4f84b0[_0x578b49];if(!this[_0x44daff(0x1ab)][_0x44daff(0xcc)](_0x54e04b))return _0x54e04b[_0x44daff(0xda)]+0x1-this[_0x44daff(0x1a4)];}return 0x0;}constructor(_0x230fd9){const _0x57de8b=_0x5e3f98;if(super(_0x230fd9),this[_0x57de8b(0x1a4)]=0x0,this[_0x57de8b(0x196)]=null,this[_0x57de8b(0x1b4)]=new _0x565518(),this[_0x57de8b(0x124)][_0x57de8b(0xf3)][_0x57de8b(0xbf)](_0x57de8b(0x1a1),{}),this[_0x57de8b(0xe0)]=this[_0x57de8b(0x124)][_0x57de8b(0xf3)][_0x57de8b(0x11d)](_0x57de8b(0xf9)),!this[_0x57de8b(0xe0)])throw new _0x3c488f(_0x57de8b(0x15a),this);const _0x38cfb8=_0x230fd9[_0x57de8b(0xf3)][_0x57de8b(0x11d)](_0x57de8b(0x17f))||_0x40b208;this[_0x57de8b(0x10e)]=new RealTimeCollaborationClient[(_0x57de8b(0x19d))](_0x38cfb8,this[_0x57de8b(0xe0)]),this[_0x57de8b(0x192)]=this[_0x57de8b(0x124)][_0x57de8b(0x11b)][_0x57de8b(0x165)],this[_0x57de8b(0x106)]=new _0x51fad1(),this[_0x57de8b(0x12f)]=[],this[_0x57de8b(0x1b9)]=new WeakSet(),this[_0x57de8b(0x171)]=new Set(),this[_0x57de8b(0x1b2)](_0x57de8b(0xd1),!0x1),this[_0x57de8b(0x1b2)](_0x57de8b(0xdf),!0x1),this[_0x57de8b(0x17c)]=null,this[_0x57de8b(0x133)]=!0x1,this[_0x57de8b(0x194)]=null,this[_0x57de8b(0x1b8)]=0x12c,this[_0x57de8b(0x12b)]=this[_0x57de8b(0x1b8)],this[_0x57de8b(0x154)]=null,this[_0x57de8b(0x1ab)]=new WeakSet(),this[_0x57de8b(0x137)]=new Z(this[_0x57de8b(0x1ab)]);}[_0x5e3f98(0xca)](){const _0x3c2bef=_0x5e3f98,_0x1e78d4=this[_0x3c2bef(0x124)],_0x3a3231=_0x1e78d4[_0x3c2bef(0x155)][_0x3c2bef(0x11d)](_0x226f6b),_0x3255c9=_0x1e78d4[_0x3c2bef(0x155)][_0x3c2bef(0x11d)](_0x507fa0);this[_0x3c2bef(0xf4)](_0x3a3231,_0x3c2bef(0xf1),(_0x81aeb3,_0x106fa0)=>{const _0x5d937f=_0x3c2bef,_0x303d2e=_0x106fa0[0x0];_0x303d2e[_0x5d937f(0x147)]&&(_0x81aeb3[_0x5d937f(0xe2)]=_0x3a3231[_0x5d937f(0xe6)](_0x303d2e[_0x5d937f(0x147)]),_0x81aeb3[_0x5d937f(0x134)]()),null===_0x303d2e[_0x5d937f(0x147)]&&(_0x81aeb3[_0x5d937f(0xe2)]=null,_0x81aeb3[_0x5d937f(0x134)]());},{'priority':_0x3c2bef(0x10a)}),this[_0x3c2bef(0xf4)](_0x1e78d4[_0x3c2bef(0x11b)][_0x3c2bef(0x165)][_0x3c2bef(0x1ae)],_0x3c2bef(0x174),(_0xa9af55,_0x478733)=>{const _0x199b87=_0x3c2bef;_0x478733[_0x199b87(0x188)]&&this[_0x199b87(0x16d)]();}),this[_0x3c2bef(0xf4)](_0x1e78d4[_0x3c2bef(0x191)][_0x3c2bef(0x14d)],_0x3c2bef(0x135),()=>{const _0x4fd312=_0x3c2bef;this[_0x4fd312(0x16d)]();}),this[_0x3c2bef(0x167)](),_0x1e78d4[_0x3c2bef(0x11b)]['on'](_0x3c2bef(0x121),(_0x55c2bb,_0x4ee996)=>{const _0x39192b=_0x3c2bef,_0x5e4553=_0x4ee996[0x0];_0x5e4553[_0x39192b(0x17b)]&&(this[_0x39192b(0xe5)](_0x5e4553),this[_0x39192b(0x109)]()&&this[_0x39192b(0x164)]());}),this[_0x3c2bef(0x16c)](),this[_0x3c2bef(0x19c)](_0x3c2bef(0x12c))['to'](_0x3255c9,_0x3c2bef(0x15d),this,_0x3c2bef(0xdf),(_0x193e38,_0x14cde3)=>_0x3c2bef(0x16e)===_0x193e38&&!_0x14cde3),this['on'](_0x3c2bef(0xc7),()=>{const _0x5e19e5=_0x3c2bef;this[_0x5e19e5(0x12c)]?_0x1e78d4[_0x5e19e5(0x10c)](_0x5e19e5(0x107)):_0x1e78d4[_0x5e19e5(0xfa)](_0x5e19e5(0x107));}),this[_0x3c2bef(0x12c)]?_0x1e78d4[_0x3c2bef(0x10c)](_0x3c2bef(0x107)):_0x1e78d4[_0x3c2bef(0xfa)](_0x3c2bef(0x107)),this[_0x3c2bef(0x1b2)](_0x3c2bef(0x120),!0x1);}async[_0x5e3f98(0x123)](){const _0x44468c=_0x5e3f98,_0x8e28c9=this[_0x44468c(0x124)][_0x44468c(0x155)][_0x44468c(0x11d)](_0x932535),_0x2b2547=this[_0x44468c(0x124)][_0x44468c(0x155)][_0x44468c(0x11d)](_0x507fa0);try{this[_0x44468c(0xd1)]=!0x0,_0x8e28c9[_0x44468c(0x126)](this[_0x44468c(0xe0)]);const _0x46c443=await this[_0x44468c(0x10e)][_0x44468c(0x123)](_0x2b2547[_0x44468c(0xc4)],this[_0x44468c(0xbb)]);await this[_0x44468c(0x181)](_0x46c443)&&(this[_0x44468c(0xd1)]=!0x1,this[_0x44468c(0x179)]());const _0x1434ff=await this[_0x44468c(0x10e)][_0x44468c(0x12d)]();_0x8e28c9[_0x44468c(0x1a8)](this[_0x44468c(0xe0)],_0x1434ff),this[_0x44468c(0xfd)](),this[_0x44468c(0x120)]=!0x0;}catch(_0x54c739){if(function(_0x4b7ae6){const _0x4d4030=_0x44468c;return _0x4d4030(0x110)===_0x4b7ae6[_0x4d4030(0x168)];}(_0x54c739)&&this[_0x44468c(0x196)])await this[_0x44468c(0x10f)]();else{if(function(_0x80bd82){const _0x192e3d=_0x44468c;return _0x192e3d(0x122)===_0x80bd82[_0x192e3d(0x168)];}(_0x54c739)){const _0x392f6f=_0x4cd312(this[_0x44468c(0x124)][_0x44468c(0x1b3)],_0x44468c(0xf6));this[_0x44468c(0xe1)](_0x392f6f);}else{if(!(_0x54c739 instanceof X))throw _0x54c739;this[_0x44468c(0xe1)]();}}}}[_0x5e3f98(0x143)](){const _0x1b84c7=_0x5e3f98,_0x549829=this[_0x1b84c7(0x124)][_0x1b84c7(0x155)][_0x1b84c7(0x11d)](_0x507fa0),_0x4adf57=this[_0x1b84c7(0x124)][_0x1b84c7(0x155)][_0x1b84c7(0x11d)](_0x932535);this[_0x1b84c7(0x124)][_0x1b84c7(0xfa)](_0x1b84c7(0x197)),_0x4adf57[_0x1b84c7(0x172)][_0x1b84c7(0xcc)](this[_0x1b84c7(0xe0)])&&_0x4adf57[_0x1b84c7(0x126)](this[_0x1b84c7(0xe0)]),_0x549829[_0x1b84c7(0x1b0)](this),this[_0x1b84c7(0x15c)](),super[_0x1b84c7(0x143)]();}async[_0x5e3f98(0x181)](_0xef1f32){const _0x2e1b87=_0x5e3f98;if(this[_0x2e1b87(0x196)]!==_0xef1f32[_0x2e1b87(0x196)]&&this[_0x2e1b87(0x154)]!==_0xef1f32[_0x2e1b87(0x1a9)])throw new X();return this[_0x2e1b87(0x196)]=_0xef1f32[_0x2e1b87(0x196)],this[_0x2e1b87(0x17e)]([],{..._0xef1f32,'wereChangesApplied':!0x1,'data':_0xef1f32[_0x2e1b87(0x1bc)]},_0x2e1b87(0x123));}async[_0x5e3f98(0x158)](_0x560c44,_0x4deb2c=!0x1){const _0x52f6e=_0x5e3f98,{connection:_0x441188}=this[_0x52f6e(0x124)][_0x52f6e(0x155)][_0x52f6e(0x11d)](_0x507fa0);RealTimeCollaborationClient[_0x52f6e(0x19d)][_0x52f6e(0x12d)](_0x441188,this[_0x52f6e(0xe0)])[_0x52f6e(0x19e)](_0x620cfb=>this[_0x52f6e(0x198)](_0x620cfb))[_0x52f6e(0xc9)](_0x216e24=>{const _0x551c37=_0x52f6e;this[_0x551c37(0x1a6)](_0x551c37(0x129),_0x216e24);}),this[_0x52f6e(0xf4)](this[_0x52f6e(0x10e)],_0x52f6e(0x189),this[_0x52f6e(0xd2)][_0x52f6e(0x19c)](this)),this[_0x52f6e(0xf4)](this[_0x52f6e(0x10e)],_0x52f6e(0xd4),(_0x46b1cd,_0x2da9f4)=>{const _0x486940=_0x52f6e;this[_0x486940(0x1a6)](_0x486940(0x101),_0x2da9f4);}),this[_0x52f6e(0xf4)](this[_0x52f6e(0x10e)],_0x52f6e(0x12a),()=>{const _0x32addd=_0x52f6e;this[_0x32addd(0x120)]=!0x1;});const _0x51f632=this[_0x52f6e(0x137)][_0x52f6e(0x12e)](_0x560c44);this[_0x52f6e(0xd1)]=!0x0;const _0x524811=await this[_0x52f6e(0x10e)][_0x52f6e(0x104)](_0x441188,this[_0x52f6e(0x193)](_0x560c44),_0x51f632);if(this[_0x52f6e(0x196)]=_0x524811[_0x52f6e(0x196)],_0x4deb2c){if(!_0x524811[_0x52f6e(0xcb)])return void this[_0x52f6e(0xe1)]();this[_0x52f6e(0xd1)]=!0x1,this[_0x52f6e(0x179)](),this[_0x52f6e(0x1b4)][_0x52f6e(0x127)](),this[_0x52f6e(0x1a4)]=_0x524811[_0x52f6e(0xce)],this[_0x52f6e(0x1b4)][_0x52f6e(0x114)]=this[_0x52f6e(0x1a4)],await this[_0x52f6e(0x17e)](_0x560c44,_0x524811,_0x52f6e(0x10d));}else await this[_0x52f6e(0x140)](_0x524811,_0x560c44);this[_0x52f6e(0xfd)](),this[_0x52f6e(0x120)]=!0x0;}[_0x5e3f98(0xfd)](){const _0x2f70dd=_0x5e3f98,_0x31b45b=this[_0x2f70dd(0x124)][_0x2f70dd(0x155)][_0x2f70dd(0x11d)](_0x932535),_0x3bb925=this[_0x2f70dd(0x124)][_0x2f70dd(0x155)][_0x2f70dd(0x11d)](_0x20bdd1),_0x36781c=_0x31b45b[_0x2f70dd(0x172)][_0x2f70dd(0x11d)](this[_0x2f70dd(0xe0)]);_0x36781c&&_0x36781c[_0x2f70dd(0x160)]>0x1?_0x3bb925[_0x2f70dd(0x142)]():this[_0x2f70dd(0xf4)](_0x31b45b,_0x2f70dd(0xc2)+this[_0x2f70dd(0xe0)],()=>{const _0x26aea9=_0x2f70dd;0x2===_0x31b45b[_0x26aea9(0x172)][_0x26aea9(0x11d)](this[_0x26aea9(0xe0)])[_0x26aea9(0x160)]&&_0x3bb925[_0x26aea9(0x142)]();});}async[_0x5e3f98(0xd2)](_0x314a5b,_0x23cefd,_0x19a090,_0x4e1114){const _0x5d4577=_0x5e3f98;if(!this[_0x5d4577(0xd1)]&&this[_0x5d4577(0x192)][_0x5d4577(0x114)]==_0x23cefd){const _0x3a31b3=this[_0x5d4577(0xc3)](_0x19a090,_0x4e1114);await this[_0x5d4577(0x1b1)](_0x3a31b3),this[_0x5d4577(0xe8)](_0x3a31b3,_0x23cefd,_0x19a090[_0x5d4577(0x1a9)])||this[_0x5d4577(0x1a6)](_0x5d4577(0xb8));}}async[_0x5e3f98(0x10f)](){const _0xb02c4d=_0x5e3f98;this[_0xb02c4d(0x15c)]();const {locale:_0x486ed5}=this[_0xb02c4d(0x124)];let _0x39164e;try{_0x39164e=await this[_0xb02c4d(0x10e)][_0xb02c4d(0x169)]();}catch{const _0x236fc7=_0x4cd312(_0x486ed5,_0xb02c4d(0x138));return void this[_0xb02c4d(0xe1)](_0x236fc7);}const _0x1d50b0=_0x39164e[_0xb02c4d(0x1bb)]||_0x39164e[_0xb02c4d(0x163)];if(this[_0xb02c4d(0x154)]!==_0x1d50b0[_0xb02c4d(0x1a9)]){const _0x12d8c3=_0x4cd312(_0x486ed5,_0xb02c4d(0x153));return void this[_0xb02c4d(0xe1)](_0x12d8c3);}await this[_0xb02c4d(0x158)](this[_0xb02c4d(0x124)][_0xb02c4d(0x11b)][_0xb02c4d(0x165)][_0xb02c4d(0x18c)][_0xb02c4d(0xc6)](),!0x0);}[_0x5e3f98(0x15c)](){const _0xf34b1d=_0x5e3f98;this[_0xf34b1d(0x10e)][_0xf34b1d(0x166)](),this[_0xf34b1d(0x12f)]=[],clearTimeout(this[_0xf34b1d(0x194)]),this[_0xf34b1d(0xdb)](this[_0xf34b1d(0x10e)]);}[_0x5e3f98(0x198)](_0xf5d3dd){const _0x42679a=_0x5e3f98,_0x4fa2a8=this[_0x42679a(0x124)][_0x42679a(0x155)][_0x42679a(0x11d)](_0x932535);this[_0x42679a(0xf4)](_0x4fa2a8,_0x42679a(0xc2)+this[_0x42679a(0xe0)],(_0x20ec06,{session:_0x500e5b})=>{const _0x39bf74=_0x42679a;if(_0x500e5b['id']===_0x4fa2a8[_0x39bf74(0x19a)]){_0x20ec06[_0x39bf74(0xef)]();const _0x32b82e=this[_0x39bf74(0x124)][_0x39bf74(0x155)][_0x39bf74(0xcc)](_0x39bf74(0xf0))&&this[_0x39bf74(0x124)][_0x39bf74(0x155)][_0x39bf74(0x11d)](_0x39bf74(0xf0));let _0x140646=_0x500e5b[_0x39bf74(0x146)];_0x32b82e&&_0x32b82e[_0x39bf74(0x159)]&&(_0x140646=_0x140646[_0x39bf74(0xde)](_0x4327b7=>_0x39bf74(0xc5)!==_0x4327b7)),this[_0x39bf74(0x124)][_0x39bf74(0x155)][_0x39bf74(0x11d)](_0x39bf74(0x161))[_0x39bf74(0x195)](_0x140646,this[_0x39bf74(0xe0)]);}}),_0x4fa2a8[_0x42679a(0x1a8)](this[_0x42679a(0xe0)],_0xf5d3dd);}[_0x5e3f98(0x167)](){const _0x395823=_0x5e3f98,_0xd0bea2=this[_0x395823(0x124)][_0x395823(0x1bc)][_0x395823(0x1b2)];this[_0x395823(0x124)][_0x395823(0x1bc)][_0x395823(0x1b2)]=(..._0x5c7cda)=>{const _0x303e4b=_0x395823;if(!_0x5c7cda[_0x5c7cda[_0x303e4b(0x160)]-0x1][_0x303e4b(0x14e)])throw new _0x3c488f(_0x303e4b(0xd7),this);_0xd0bea2[_0x303e4b(0x151)](this[_0x303e4b(0x124)][_0x303e4b(0x1bc)],_0x5c7cda);};}[_0x5e3f98(0x16c)](){const _0x274da2=_0x5e3f98;this[_0x274da2(0x124)][_0x274da2(0x1bc)]['on'](_0x274da2(0xca),(_0x3543dc,[_0x379dc4])=>{const _0x219dc2=_0x274da2;if(this[_0x219dc2(0x192)][_0x219dc2(0x114)])throw new _0x3c488f(_0x219dc2(0xbc),this);_0x3543dc[_0x219dc2(0x134)](),this[_0x219dc2(0xee)]();const _0x31a8bb=this[_0x219dc2(0x124)][_0x219dc2(0xf3)][_0x219dc2(0x11d)](_0x219dc2(0x157)),_0xcb9440=this[_0x219dc2(0x136)](_0x379dc4,_0x31a8bb);0x0==_0xcb9440[_0x219dc2(0x160)]&&_0xcb9440[_0x219dc2(0x18a)](new _0x2c0766(0x0)),_0x3543dc[_0x219dc2(0xe2)]=this[_0x219dc2(0x158)](_0xcb9440)[_0x219dc2(0x19e)](()=>{const _0x5ecb15=_0x219dc2;this[_0x5ecb15(0x124)][_0x5ecb15(0x155)][_0x5ecb15(0x11d)](_0x507fa0)[_0x5ecb15(0x19b)](this),this[_0x5ecb15(0x124)][_0x5ecb15(0x1bc)][_0x5ecb15(0x148)](_0x5ecb15(0x118));})[_0x219dc2(0xc9)](_0x4d54b8=>this[_0x219dc2(0x1a6)](_0x219dc2(0x1ba),_0x4d54b8))[_0x219dc2(0x180)](()=>this[_0x219dc2(0x179)]());},{'priority':_0x274da2(0x10a)}),this[_0x274da2(0x124)]['on'](_0x274da2(0x18d),async(_0x5d41b8,[_0x546505,_0x2d8dc2])=>{const _0x20fb18=_0x274da2;_0x5d41b8[_0x20fb18(0x134)]();const _0x3e0ee2=this[_0x20fb18(0x124)][_0x20fb18(0x11b)][_0x20fb18(0x165)][_0x20fb18(0x187)](_0x546505);if(!this[_0x20fb18(0x171)][_0x20fb18(0xcc)](_0x546505)){const _0x38e786=_0x2d8dc2&&_0x2d8dc2[_0x20fb18(0x1bc)]?_0x2d8dc2[_0x20fb18(0x1bc)]:'',_0x22b97a=_0x2d8dc2&&_0x2d8dc2[_0x20fb18(0xea)]?_0x2d8dc2[_0x20fb18(0xea)]:{};await this[_0x20fb18(0x145)](_0x546505,_0x38e786,_0x22b97a);}this[_0x20fb18(0x124)][_0x20fb18(0x11b)][_0x20fb18(0x13d)]({'isUndoable':!0x1},()=>{const _0x2192f4=_0x20fb18;_0x3e0ee2[_0x2192f4(0x116)]=!0x0,this[_0x2192f4(0x124)][_0x2192f4(0x11b)][_0x2192f4(0x165)][_0x2192f4(0x10b)][_0x2192f4(0x182)](_0x3e0ee2);});},{'priority':_0x274da2(0x10a)});}async[_0x5e3f98(0x1b1)](_0x3d3369){const _0x88f8de=_0x5e3f98,_0x3150d3=this[_0x88f8de(0x124)][_0x88f8de(0x155)][_0x88f8de(0x11d)](_0x226f6b),{connection:_0x28ebba}=this[_0x88f8de(0x124)][_0x88f8de(0x155)][_0x88f8de(0x11d)](_0x507fa0),_0x188c6c=new Set();for(const _0xc001c6 of _0x3d3369){const _0x1a599b=_0xc001c6[_0x88f8de(0x147)];_0x1a599b&&!_0x3150d3[_0x88f8de(0xe6)](_0x1a599b)&&_0x188c6c[_0x88f8de(0x14f)](_0x1a599b);}if(0x0===_0x188c6c[_0x88f8de(0x15e)])return;const _0x45cffa=await _0xb652ac[_0x88f8de(0x1ac)](_0x28ebba,Array[_0x88f8de(0x141)](_0x188c6c));for(const _0x56db42 of _0x45cffa)_0x3150d3[_0x88f8de(0xe6)](_0x56db42['id'])||_0x3150d3[_0x88f8de(0x177)](_0x56db42);}[_0x5e3f98(0x136)](_0x23297f,_0x30c3eb={}){const _0x4918b7=_0x5e3f98,_0x8f2e81=this[_0x4918b7(0x124)][_0x4918b7(0x11b)],_0x4e8135=[];let _0x59a92e=0x0;const _0x3dbfd7=_0x4918b7(0xd5)==typeof _0x23297f?{'main':_0x23297f}:_0x23297f;for(const _0x59d495 of Object[_0x4918b7(0x1b7)](_0x3dbfd7)){if(!this[_0x4918b7(0x192)][_0x4918b7(0x100)][_0x4918b7(0xcc)](_0x59d495))throw new _0x3c488f(_0x4918b7(0x1aa),this);const _0x57a9b3=this[_0x4918b7(0x124)][_0x4918b7(0x1bc)][_0x4918b7(0x1af)](_0x3dbfd7[_0x59d495]),_0x5ba77e=this[_0x4918b7(0x192)][_0x4918b7(0x187)](_0x59d495),_0x57ed28=new _0x4edf8f(_0x8f2e81[_0x4918b7(0x184)](_0x5ba77e,0x0),_0x57a9b3,_0x59a92e++);_0x4e8135[_0x4918b7(0x18a)](_0x57ed28);for(const [_0x5dfa37,_0x39d427]of _0x57a9b3[_0x4918b7(0xff)]){const _0x1e44b7=_0x8f2e81[_0x4918b7(0x17a)](_0x8f2e81[_0x4918b7(0x105)](_0x5ba77e,_0x39d427[_0x4918b7(0xd0)][_0x4918b7(0xd3)][_0x4918b7(0xfc)]()),_0x8f2e81[_0x4918b7(0x105)](_0x5ba77e,_0x39d427[_0x4918b7(0xd9)][_0x4918b7(0xd3)][_0x4918b7(0xfc)]())),_0x2ae02a=new _0x1796d4(_0x5dfa37,null,_0x1e44b7,_0x8f2e81[_0x4918b7(0xff)],!0x0,_0x59a92e++);_0x4e8135[_0x4918b7(0x18a)](_0x2ae02a);}}if(_0x30c3eb)for(const [_0x21cc4f,_0x6c868f]of Object[_0x4918b7(0xf5)](_0x30c3eb)){const _0x4fcab0=_0x8f2e81[_0x4918b7(0x165)][_0x4918b7(0x187)](_0x21cc4f);if(!_0x4fcab0)throw new _0x3c488f(_0x4918b7(0x111),null);for(const [_0x472c33,_0x3e39d0]of Object[_0x4918b7(0xf5)](_0x6c868f))if(null!==_0x3e39d0){const _0x30c70c=new _0x494d03(_0x4fcab0,_0x472c33,null,_0x3e39d0,_0x59a92e++);_0x4e8135[_0x4918b7(0x18a)](_0x30c70c);}}return _0x4e8135;}async[_0x5e3f98(0x145)](_0x55cc01,_0x10f734,_0x1ac232){const _0x5c9469=_0x5e3f98;this[_0x5c9469(0x136)]({[_0x55cc01]:_0x10f734},{[_0x55cc01]:_0x1ac232})[_0x5c9469(0x178)]((_0x3a104b,_0x54aeca)=>{const _0x4eb9f0=_0x5c9469;_0x3a104b[_0x4eb9f0(0xda)]=this[_0x4eb9f0(0x192)][_0x4eb9f0(0x114)]+_0x54aeca,_0x3a104b[_0x4eb9f0(0xe9)]=!0x0,this[_0x4eb9f0(0xe5)](_0x3a104b);}),this[_0x5c9469(0x164)](),await this[_0x5c9469(0xd8)]();}async[_0x5e3f98(0x140)](_0xe3765,_0x4244ac){const _0x24e5d1=_0x5e3f98;let _0x269b25;this[_0x24e5d1(0x1a4)]=_0xe3765[_0x24e5d1(0xce)];const _0x524559=_0xe3765[_0x24e5d1(0xcb)]&&!_0xe3765[_0x24e5d1(0x13e)],_0x1087a9=_0x524559?0x0:_0xe3765[_0x24e5d1(0x1bc)][_0x24e5d1(0xda)];if(_0x4244ac[_0x24e5d1(0x178)](_0x2bd995=>{const _0x468519=_0x24e5d1;_0x2bd995[_0x468519(0xe9)]=!0x0,_0x2bd995[_0x468519(0xe4)]=_0xe3765[_0x468519(0xdd)],_0x2bd995[_0x468519(0x147)]=null;}),_0x524559)_0x269b25=_0x4244ac,this[_0x24e5d1(0x199)](_0x269b25,_0x524559);else{if(_0xe3765[_0x24e5d1(0x13e)]){const _0x4e1904=this[_0x24e5d1(0x136)](_0xe3765[_0x24e5d1(0x13e)]);this[_0x24e5d1(0x192)][_0x24e5d1(0x18c)][_0x24e5d1(0x114)]=-_0x4e1904[_0x24e5d1(0x160)],_0x4e1904[_0x24e5d1(0x178)](_0x2843ac=>{const _0x4d7b2b=_0x24e5d1;_0x2843ac[_0x4d7b2b(0xda)]-=_0x4e1904[_0x4d7b2b(0x160)],_0x2843ac[_0x4d7b2b(0xe4)]=_0xe3765[_0x4d7b2b(0xdd)],_0x2843ac[_0x4d7b2b(0xe9)]=!0x0,_0x2843ac[_0x4d7b2b(0x147)]=null;}),this[_0x24e5d1(0x199)](_0x4e1904,!0x0),this[_0x24e5d1(0x1b4)][_0x24e5d1(0x114)]=-_0x4e1904[_0x24e5d1(0x160)]+this[_0x24e5d1(0x1a4)],this[_0x24e5d1(0x17d)](_0x4e1904);}this[_0x24e5d1(0x192)][_0x24e5d1(0x18c)][_0x24e5d1(0x114)]=_0x1087a9,_0x269b25=this[_0x24e5d1(0xc3)](_0xe3765[_0x24e5d1(0x1bc)],_0xe3765[_0x24e5d1(0xc1)]),await this[_0x24e5d1(0x1b1)](_0x269b25),this[_0x24e5d1(0x199)](_0x269b25,_0x524559);}_0xe3765[_0x24e5d1(0x1a9)]&&(this[_0x24e5d1(0x137)][_0x24e5d1(0x108)](_0x269b25,_0xe3765[_0x24e5d1(0x1a9)]),this[_0x24e5d1(0x154)]=_0xe3765[_0x24e5d1(0x1a9)]),this[_0x24e5d1(0x1b4)][_0x24e5d1(0x114)]=_0x1087a9+this[_0x24e5d1(0x1a4)],this[_0x24e5d1(0x17d)](_0x269b25),_0x4244ac[_0x24e5d1(0xde)](_0x1bae31=>{const _0x28bf71=_0x24e5d1,_0x271dcd=this[_0x28bf71(0x14b)](_0x1bae31);return _0x271dcd&&!this[_0x28bf71(0x171)][_0x28bf71(0xcc)](_0x271dcd);})[_0x24e5d1(0x178)]((_0x29e28d,_0x1f860b)=>{const _0x16a4ca=_0x24e5d1;_0x29e28d[_0x16a4ca(0xda)]=this[_0x16a4ca(0x192)][_0x16a4ca(0x114)]+_0x1f860b,this[_0x16a4ca(0xe5)](_0x29e28d);}),this[_0x24e5d1(0x109)]()?(this[_0x24e5d1(0x12b)]=0x0,this[_0x24e5d1(0x164)](!0x0),await this[_0x24e5d1(0xd8)]()):(this[_0x24e5d1(0xd1)]=!0x1,this[_0x24e5d1(0x179)]());}[_0x5e3f98(0x1a6)](_0x28fcab,_0x47738c){const _0x84f011=_0x5e3f98,_0x266999=_0x47738c&&_0x47738c[_0x84f011(0x13b)];if(_0x266999&&_0x266999[_0x84f011(0xc0)](_0x84f011(0x170)))throw _0x47738c;const _0x322c7d=this[_0x84f011(0x124)][_0x84f011(0x155)][_0x84f011(0x11d)](_0x507fa0);throw this[_0x84f011(0xd1)]=!0x0,_0x322c7d[_0x84f011(0x166)](),this[_0x84f011(0x124)][_0x84f011(0xfa)](_0x84f011(0xf7)),new _0x3c488f(_0x28fcab,this[_0x84f011(0x124)],_0x266999?{'originalError':_0x266999}:void 0x0);}[_0x5e3f98(0xe5)](_0x23275f){const _0x1ae4ea=_0x5e3f98;this[_0x1ae4ea(0x1b9)][_0x1ae4ea(0xcc)](_0x23275f)||(this[_0x1ae4ea(0x1b9)][_0x1ae4ea(0x14f)](_0x23275f),this[_0x1ae4ea(0x12f)][_0x1ae4ea(0x18a)](_0x23275f),this[_0x1ae4ea(0x17c)]||_0x1ae4ea(0x112)==_0x23275f[_0x1ae4ea(0x156)]&&!_0x23275f[_0x1ae4ea(0x139)]||this[_0x1ae4ea(0xee)]());}[_0x5e3f98(0x164)](_0x57955d=!0x1){const _0xf8753b=_0x5e3f98;!_0x57955d&&this[_0xf8753b(0xd1)]||(this[_0xf8753b(0xd1)]=!0x0,clearTimeout(this[_0xf8753b(0x194)]),this[_0xf8753b(0x194)]=setTimeout(()=>{const _0x5d39d6=_0xf8753b;this[_0x5d39d6(0x13f)]()[_0x5d39d6(0x19e)](_0x3fcb53=>{const _0x4ac9d3=_0x5d39d6;_0x3fcb53&&(this[_0x4ac9d3(0x179)](),this[_0x4ac9d3(0xd1)]=!0x1);})[_0x5d39d6(0xc9)](_0x40f53f=>{const _0x2b2ffa=_0x5d39d6;this[_0x2b2ffa(0x179)](),this[_0x2b2ffa(0xd1)]=!0x1,function(_0x3c2e6b){const _0x55f34e=_0x2b2ffa;return _0x3c2e6b[_0x55f34e(0x13b)][_0x55f34e(0xc0)](_0x55f34e(0xd6))||_0x3c2e6b[_0x55f34e(0x13b)][_0x55f34e(0xc0)](_0x55f34e(0xb9))||_0x3c2e6b[_0x55f34e(0x13b)][_0x55f34e(0xc0)](_0x55f34e(0x1a2));}(_0x40f53f)||this[_0x2b2ffa(0x1a6)](_0x40f53f[_0x2b2ffa(0x13b)],_0x40f53f);});},this[_0xf8753b(0x12b)]));}[_0x5e3f98(0xd8)](){return new Promise(_0x1864c4=>{const _0x30cdef=_0x2c1c;this['on'](_0x30cdef(0x113),()=>{_0x1864c4();});});}async[_0x5e3f98(0x13f)](){const _0x51c3cf=_0x5e3f98,_0x438399=this[_0x51c3cf(0x124)][_0x51c3cf(0x155)][_0x51c3cf(0x11d)](_0x20bdd1);if(this[_0x51c3cf(0x19f)]()&&(_0x438399[_0x51c3cf(0x142)](),this[_0x51c3cf(0x133)]=!0x1),!this[_0x51c3cf(0x109)]())return!0x0;const _0x32bd15=[...this[_0x51c3cf(0x12f)]];for(const _0x546054 of _0x32bd15)_0x546054[_0x51c3cf(0x130)]=this[_0x51c3cf(0x192)][_0x51c3cf(0x18c)][_0x51c3cf(0xeb)](_0x546054);const _0x559172=this[_0x51c3cf(0x137)][_0x51c3cf(0x12e)](_0x32bd15),_0x2e0be3=Q++,_0x492f26=this[_0x51c3cf(0x193)](_0x32bd15),_0x478847=await this[_0x51c3cf(0x10e)][_0x51c3cf(0x152)](_0x492f26,_0x492f26[_0x51c3cf(0xda)],_0x559172);try{return await this[_0x51c3cf(0x17e)](_0x32bd15,_0x478847,_0x2e0be3);}catch(_0x397ae2){return this[_0x51c3cf(0x1a6)](_0x51c3cf(0x18b),_0x397ae2);}}async[_0x5e3f98(0x17e)](_0x10ba62,_0x2d6646,_0x39d31d){const _0xd3c65e=_0x5e3f98;if(_0xd3c65e(0xd4)in _0x2d6646)throw _0x2d6646[_0xd3c65e(0xd4)];let _0x54f381=!0x1;if(_0x2d6646[_0xd3c65e(0xcb)]){_0x2d6646[_0xd3c65e(0x1a9)]&&(this[_0xd3c65e(0x154)]=_0x2d6646[_0xd3c65e(0x1a9)]),this[_0xd3c65e(0x12f)]=this[_0xd3c65e(0x12f)][_0xd3c65e(0xde)](_0x22304d=>!_0x10ba62[_0xd3c65e(0x16b)](_0x22304d));for(const _0x4e8689 of _0x10ba62)_0x4e8689[_0xd3c65e(0xe4)]=_0xd3c65e(0xdc)in _0x2d6646&&_0x2d6646[_0xd3c65e(0xdc)]||void 0x0;Y(_0x10ba62,_0x2d6646[_0xd3c65e(0x114)]-_0x10ba62[_0xd3c65e(0x160)]),this[_0xd3c65e(0x17d)](_0x10ba62);const _0x1dfb31=_0x10ba62[_0xd3c65e(0xde)](_0x97372=>{const _0x5e4662=_0xd3c65e;if(!_0x97372[_0x5e4662(0xe9)])return!0x1;const _0x59e901=this[_0x5e4662(0x14b)](_0x97372);return _0x59e901&&!this[_0x5e4662(0x171)][_0x5e4662(0xcc)](_0x59e901);});Y(_0x1dfb31,this[_0xd3c65e(0x192)][_0xd3c65e(0x114)]),this[_0xd3c65e(0x199)](_0x1dfb31),_0x54f381=!0x0,this[_0xd3c65e(0x12b)]=this[_0xd3c65e(0x1b8)];}else{const _0x461e3d=this[_0xd3c65e(0xc3)](_0x2d6646[_0xd3c65e(0x1bc)],_0x2d6646[_0xd3c65e(0xc1)])[_0xd3c65e(0xde)](_0x17e33b=>_0x17e33b[_0xd3c65e(0xda)]>=this[_0xd3c65e(0x11f)]);_0x461e3d[_0xd3c65e(0x178)](_0x2bf210=>this[_0xd3c65e(0x16f)](_0x2bf210)),this[_0xd3c65e(0x12f)]=this[_0xd3c65e(0x12f)][_0xd3c65e(0xde)](_0x5cd1c6=>!_0x5cd1c6[_0xd3c65e(0xe9)]||!this[_0xd3c65e(0x171)][_0xd3c65e(0xcc)](this[_0xd3c65e(0x14b)](_0x5cd1c6))),this[_0xd3c65e(0x12f)][_0xd3c65e(0x160)]&&Y(this[_0xd3c65e(0x12f)],this[_0xd3c65e(0x12f)][0x0][_0xd3c65e(0xda)]),await this[_0xd3c65e(0x1b1)](_0x461e3d),_0x54f381=this[_0xd3c65e(0xe8)](_0x461e3d,_0x2d6646[_0xd3c65e(0x114)],_0x2d6646[_0xd3c65e(0x1a9)]),this[_0xd3c65e(0x12b)]=Math[_0xd3c65e(0x1b6)](this[_0xd3c65e(0x12b)]/0x2);}return _0x54f381?!this[_0xd3c65e(0x109)]()||(this[_0xd3c65e(0x164)](!0x0),!0x1):this[_0xd3c65e(0x1a6)](_0xd3c65e(0x1ad));}[_0x5e3f98(0xe8)](_0x117753,_0x13efb3,_0x57f84d){const _0x2200f1=_0x5e3f98;try{const _0x20fc88={'document':this[_0x2200f1(0x192)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x6377fa,operationsB:_0x28f3df,originalOperations:_0x5eb185}=_0x4465e9(_0x117753,this[_0x2200f1(0x12f)],_0x20fc88);Y(_0x6377fa,this[_0x2200f1(0x192)][_0x2200f1(0x114)]),Y(_0x28f3df,_0x13efb3);for(const _0x4696ed of _0x6377fa){const _0x31c4b4=_0x5eb185[_0x2200f1(0x11d)](_0x4696ed);_0x4696ed[_0x2200f1(0x147)]=_0x31c4b4?_0x31c4b4[_0x2200f1(0x147)]:null;}_0x57f84d&&(this[_0x2200f1(0x137)][_0x2200f1(0x108)](_0x117753,_0x57f84d),this[_0x2200f1(0x154)]=_0x57f84d),this[_0x2200f1(0x12f)]=[..._0x28f3df],this[_0x2200f1(0x199)](_0x6377fa),this[_0x2200f1(0x17d)](_0x117753);}catch(_0x1bca2f){return console[_0x2200f1(0xd4)](_0x1bca2f),!0x1;}return!0x0;}[_0x5e3f98(0x199)](_0x150ab6,_0x3730c0=!0x1){const _0xec44f0=_0x5e3f98;this[_0xec44f0(0x124)][_0xec44f0(0x11b)][_0xec44f0(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3c74c0=>{const _0x2383ad=_0xec44f0;for(const _0x6ce41e of _0x150ab6)this[_0x2383ad(0x1b9)][_0x2383ad(0x14f)](_0x6ce41e),this[_0x2383ad(0x16f)](_0x6ce41e),_0x3c74c0[_0x2383ad(0x185)][_0x2383ad(0x183)](_0x6ce41e),this[_0x2383ad(0x124)][_0x2383ad(0x11b)][_0x2383ad(0x121)](_0x6ce41e);});}[_0x5e3f98(0x16f)](_0x5e2ff2){const _0xa7bf28=_0x5e3f98,_0x1f763e=this[_0xa7bf28(0x14b)](_0x5e2ff2);_0x1f763e&&this[_0xa7bf28(0x171)][_0xa7bf28(0x14f)](_0x1f763e);}[_0x5e3f98(0x14b)](_0x26f0c0){const _0x266a97=_0x5e3f98;let _0x37ba54,_0x563e92;switch(_0x26f0c0[_0x266a97(0x156)]){case _0x266a97(0x16a):_0x37ba54=_0x26f0c0[_0x266a97(0x190)][_0x266a97(0xbe)];break;case _0x266a97(0x112):if(_0x563e92=_0x26f0c0[_0x266a97(0x103)],!_0x563e92)return null;_0x37ba54=_0x563e92[_0x266a97(0xbe)];break;case _0x266a97(0x1a0):_0x37ba54=_0x26f0c0[_0x266a97(0xbe)];break;case _0x266a97(0xec):_0x37ba54=_0x26f0c0[_0x266a97(0x149)];break;case _0x266a97(0x11a):_0x37ba54=_0x26f0c0[_0x266a97(0x162)][_0x266a97(0xbe)];break;default:return null;}return _0x37ba54[_0x266a97(0x173)];}[_0x5e3f98(0x17d)](_0x3d5cf4){const _0x1aaa42=_0x5e3f98;_0x3d5cf4[_0x1aaa42(0x178)](_0x2fdaed=>{const _0x27389b=_0x1aaa42,_0x43682d=_0x2fdaed[_0x27389b(0xfb)]();_0x43682d[_0x27389b(0x147)]=_0x2fdaed[_0x27389b(0x147)],_0x43682d[_0x27389b(0xe9)]=!!_0x2fdaed[_0x27389b(0xe9)],_0x43682d[_0x27389b(0xe4)]=_0x2fdaed[_0x27389b(0xe4)],_0x43682d[_0x27389b(0xda)]+=this[_0x27389b(0x1a4)],_0x2fdaed[_0x27389b(0x175)]&&this[_0x27389b(0x1ab)][_0x27389b(0x14f)](_0x43682d),this[_0x27389b(0x1b4)][_0x27389b(0x183)](_0x43682d);});}[_0x5e3f98(0xe1)](_0xb3614){const _0x17f1e6=_0x5e3f98,_0x39f926=this[_0x17f1e6(0x124)][_0x17f1e6(0x155)][_0x17f1e6(0x11d)](_0x17f1e6(0xfe)),_0x31ff8e=this[_0x17f1e6(0x124)][_0x17f1e6(0x1b3)];_0xb3614||(_0xb3614=_0x4cd312(_0x31ff8e,_0x17f1e6(0xe3))),_0x39f926[_0x17f1e6(0x102)](_0xb3614,{'title':_0x4cd312(_0x31ff8e,_0x17f1e6(0x13c)),'namespace':_0x17f1e6(0xf8)}),this[_0x17f1e6(0xdf)]=!0x0,clearTimeout(this[_0x17f1e6(0x194)]),this[_0x17f1e6(0x12f)]=[],this[_0x17f1e6(0x124)][_0x17f1e6(0x155)][_0x17f1e6(0x11d)](_0x507fa0)[_0x17f1e6(0x166)]();}[_0x5e3f98(0xee)](){const _0x12d657=_0x5e3f98;this[_0x12d657(0x17c)]||(this[_0x12d657(0x17c)]=this[_0x12d657(0x124)][_0x12d657(0x155)][_0x12d657(0x11d)](_0x1e07a0)[_0x12d657(0x14f)](_0x4cd312(this[_0x12d657(0x124)][_0x12d657(0x1b3)],_0x12d657(0x132))));}[_0x5e3f98(0x179)](){const _0x588c11=_0x5e3f98;this[_0x588c11(0x17c)]&&(this[_0x588c11(0x124)][_0x588c11(0x155)][_0x588c11(0x11d)](_0x1e07a0)[_0x588c11(0x1a5)](this[_0x588c11(0x17c)]),this[_0x588c11(0x17c)]=null);}[_0x5e3f98(0x193)](_0xda49d7){const _0x40a09c=_0x5e3f98,_0x33f33c=_0xda49d7[_0x40a09c(0xcd)](_0x38603b=>_0x38603b[_0x40a09c(0x117)]());return this[_0x40a09c(0x106)][_0x40a09c(0x131)](_0x33f33c);}[_0x5e3f98(0xc3)](_0x428ba7,_0x1f6188){const _0x357b30=_0x5e3f98;return this[_0x357b30(0x106)][_0x357b30(0xc8)](_0x428ba7)[_0x357b30(0xcd)]((_0x15d33d,_0x37cdc3)=>{const _0x41a174=_0x357b30,_0x5f07f6=_0x41a174(0xca)==_0x1f6188[_0x37cdc3][_0x41a174(0x156)];if(_0x41a174(0x15b)==_0x15d33d[_0x41a174(0x125)]){const _0x12ab86=_0x15d33d[_0x41a174(0x190)][_0x41a174(0xbe)];!this[_0x41a174(0x192)][_0x41a174(0x187)](_0x12ab86)&&(this[_0x41a174(0x192)][_0x41a174(0xed)](_0x41a174(0x14c),_0x12ab86)[_0x41a174(0xe7)]=!0x1);}const _0x159bb2=_0x312478[_0x41a174(0x18f)](_0x15d33d,this[_0x41a174(0x192)]);return _0x159bb2[_0x41a174(0x130)]=_0x15d33d[_0x41a174(0x130)],_0x159bb2[_0x41a174(0xe9)]=_0x5f07f6,_0x159bb2[_0x41a174(0x147)]=_0x5f07f6?null:_0x1f6188[_0x37cdc3][_0x41a174(0xba)],_0x159bb2[_0x41a174(0x175)]=_0x41a174(0x11e)===_0x1f6188[_0x37cdc3][_0x41a174(0x156)],_0x159bb2[_0x41a174(0xe4)]=_0x1f6188[_0x37cdc3][_0x41a174(0xe4)],_0x159bb2;});}[_0x5e3f98(0x16d)](){const _0x4ec31b=_0x5e3f98;this[_0x4ec31b(0x133)]=!0x0,this[_0x4ec31b(0x19f)]()?this[_0x4ec31b(0x164)]():this[_0x4ec31b(0x133)]=!0x1;}[_0x5e3f98(0x19f)](){const _0x162d32=_0x5e3f98,_0x33ffd5=this[_0x162d32(0x124)][_0x162d32(0x155)][_0x162d32(0x11d)](_0x932535)[_0x162d32(0x172)][_0x162d32(0x11d)](this[_0x162d32(0xe0)]);return!this[_0x162d32(0x124)][_0x162d32(0x186)]&&!!_0x33ffd5&&_0x33ffd5[_0x162d32(0x160)]>0x1&&this[_0x162d32(0x133)];}[_0x5e3f98(0x109)](){const _0x4974a5=_0x5e3f98;return this[_0x4974a5(0x12f)][_0x4974a5(0x160)]>0x0||this[_0x4974a5(0x19f)]();}}class X extends Error{}function Y(_0x2c1899,_0x553ca8){const _0x5987df=_0x5e3f98;for(const _0x2da367 of _0x2c1899)_0x2da367[_0x5987df(0xda)]=_0x553ca8++;}class Z{[_0x5e3f98(0x1b5)];[_0x5e3f98(0xcf)];constructor(_0x223ba8){const _0x79e3c3=_0x5e3f98;this[_0x79e3c3(0x1b5)]=_0x223ba8,this[_0x79e3c3(0xcf)]=new WeakMap();}[_0x5e3f98(0x12e)](_0xe9873){const _0x29d2a6=_0x5e3f98;let _0x1aabc4=_0xe9873[_0x29d2a6(0x160)];for(;_0x1aabc4--;){const _0x1a993d=_0xe9873[_0x1aabc4];if(!this[_0x29d2a6(0x1b5)][_0x29d2a6(0xcc)](_0x1a993d)){if(!this[_0x29d2a6(0xcf)][_0x29d2a6(0xcc)](_0x1a993d)){const _0x1a7058=_0x2e9515()[_0x29d2a6(0xfc)](0x1,0x12);this[_0x29d2a6(0xcf)][_0x29d2a6(0x1b2)](_0x1a993d,_0x1a7058);}return this[_0x29d2a6(0xcf)][_0x29d2a6(0x11d)](_0x1a993d);}}}[_0x5e3f98(0x108)](_0x1cb7fb,_0x11fd2f){const _0x1cc23b=_0x5e3f98;if(!_0x11fd2f)return;let _0x4412f3=_0x1cb7fb[_0x1cc23b(0x160)];for(;_0x4412f3--;){const _0x35be59=_0x1cb7fb[_0x4412f3];this[_0x1cc23b(0x1b5)][_0x1cc23b(0xcc)](_0x35be59)||this[_0x1cc23b(0xcf)][_0x1cc23b(0x1b2)](_0x35be59,_0x11fd2f);}}}
23
+ const _0x2205df=_0x279a;(function(_0x2058c3,_0x636717){const _0x2dfe45=_0x279a,_0x12cd98=_0x2058c3();while(!![]){try{const _0x2f0ad1=-parseInt(_0x2dfe45(0x1f3))/0x1+-parseInt(_0x2dfe45(0x188))/0x2*(parseInt(_0x2dfe45(0x1b5))/0x3)+parseInt(_0x2dfe45(0x1d4))/0x4*(parseInt(_0x2dfe45(0x126))/0x5)+-parseInt(_0x2dfe45(0x127))/0x6*(parseInt(_0x2dfe45(0x12c))/0x7)+parseInt(_0x2dfe45(0x174))/0x8+-parseInt(_0x2dfe45(0x1a3))/0x9+parseInt(_0x2dfe45(0x179))/0xa;if(_0x2f0ad1===_0x636717)break;else _0x12cd98['push'](_0x12cd98['shift']());}catch(_0x5bd957){_0x12cd98['push'](_0x12cd98['shift']());}}}(_0x4880,0x27613));function _0x4880(){const _0x2bca41=['_sendBufferedOperations','init','RealTimeCollaborationClient','getMany','_disconnectService','offset','serverHistory','metadata','return','realtimecollaborationclient-init-session-connection-error','addUser','enqueueChange','affectedSelectable','sendOperations','$root','finally','_isLoaded','message','wasUndone','43241xgEdhQ','push','_decompressOperations','_offset','_lastSyncedOperationId','cloud-services-internal-error:\x20Request\x20timeout.','sessionAdd:','start','decompress','_isEditingAllowed','disconnect','_isDisconnection','_compressOperations','forEach','_operationIdentifier','lastOperationAcceptedAt','slice','_setUpDataInit','addToReconnectionStack','set','change:_isPendingUpdate','404','state','_isConnected','_shouldSendUpdate','currentDocumentSession','_clearPendingAction','_isPendingUpdate','position','stopListening','connected','collaboration','disableReadOnlyMode','destroy','end','rootsAttributes','createUserMarkerOperations','_handleExternalOperations','_connectService','_service','size','data','_initSessionsHandling','_compressor','fire','isReadOnly','enableReadOnlyMode','cs:removeUser','_baseBufferDelay','isPremiumPlugin','sessionCreatedAt','apply','_initThrowingOnDataSet','_getOperationsFromInitData','_setPendingAction','roots','compress','5GDjEEY','332124hmPxbb','collaboration-missing-channelid','_saveOperationInBuffer','remove','_shouldSendSelectionUpdate','14iKbebv','round','_handleReceivedOperations','error','createPositionAt','ready','_knownOperations','reconnection:\x20flushed\x20session','add','CommentsOnly','keys','pluginName','removeFromReconnectionStack','version','document:write','suppressErrorInCollaboration','_bufferRootLoad','connect','wereChangesApplied','map','fromJSON','type','isDocumentOperation','__className','_operationToId','high','catch','mySessionId','locale','selection','includes','_sendBufferedOperationsDelayed','_handleSendingSelectionMarkers','root','differ','setPermissions','string','then','document','permissions','filter','isEnabled','lastDocumentSession','_loadRoot','_refreshUserSelectionMarkers','getOperationAuthor','_updateServerHistory','operationsReceived','define','_ignoredOperations','_sendBufferedOperationsDelayId','loadRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editor','realtimecollaborationclient','Permissions','createRange','collaboration.channelId','rtc-offline','realtimecollaborationclient-init-connection-failed','createPositionFromPath','register','path','reset','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionId','_waitUntilSynced','lastOperationId','applyOperation','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.','history','_fetchMissingUsers','496912IlpJPX','rtc-destroyed','reconnect','409','_disconnectionOperations','944500TmMdIE','directChange','_handleServerResponse','getRoot','CollaborativeEditingService','realtimecollaborationclient-init-non-existent-root','isOfficialPlugin','config','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_applyOperationsSet','newRange','_crash','getDocumentDetails','baseVersion','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.','236mijXhk','editing','realtimecollaborationclient-init-service-incorrect-server-operation','batch','_knownRootNames','_addKnownRoot','clone','isUndoneOperation','_handleInitialConnectionData','has','move','initData','_handleReconnectionResponse','change:_isEditingAllowed','markers','createdAt','plugins','_document','setIdForTheLastOperation','_currentBufferDelay','code','realtimecollaborationclient-init-service-internal-error','_authorId','get','_bufferedOperations','toJSON','getUser','883611NgagYP','channelSessions','Synchronization\x20issue','stop','_isInit','off','_isAttached','targetPosition','_pendingAction','getOperations','realtimecollaborationclient-sendbufferedoperations','real-time-collaboration','startsWith','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastSyncVersion','listenTo','change:range','view','1434JyGjBx','_handleReconnectionError','userId','cloudServices.bundleVersion','addRoot','multi-root-editor-root-attributes-no-root','attributes','unregister','realtimecollaborationclient-error','Notification','_connectAfterSessionHasBeenFlushed','addRootAttribute','createRoot','addOperation','bind','change:hasDomSelection','realtimecollaborationclient-handleserverresponse','length','_hasSynchronizationProblem','_channelId','requires','parse','cloudDocumentVersion','PENDING_ACTION_SENDING_DATA','InsertOperation','showWarning','getIdOfTheLastOperation','affectsData','insert','_getAffectedRoot','rootName','1253068MUFyBW','entries','from','_hasSelectionChanged','connection','getConnectedSessions','model','cloud-services-internal-error:\x20Not\x20connected.','_lastServerVersion','disconnected','realtimecollaborationclient-init-document-already-initialized','marker'];_0x4880=function(){return _0x2bca41;};return _0x4880();}import{Plugin as _0x3bb94e,PendingActions as _0x568e23}from'ckeditor5/src/core.js';import{CKEditorError as _0x12c2b1,version as _0x5de4f2,uid as _0x2be118}from'ckeditor5/src/utils.js';import{Notification as _0x2c7217}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x331568,NoOperation as _0x1e6e91,InsertOperation as _0x37b57c,MarkerOperation as _0x5d23ba,RootAttributeOperation as _0x4090e4,OperationFactory as _0x19008c,History as _0x1247ca}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1d0dff}from'./websocketgateway.js';import{Sessions as _0x5b10ab}from'./sessions.js';import{UserMarkers as _0x1aa8c2}from'./usermarkers.js';import{getTranslation as _0x50e247}from'../common-translations.js';import{Compressor as _0x5d6c47}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x57254b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x142f1b,CollaborativeEditingService as _0x20f240}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x3bb94e{static [_0x2205df(0x17d)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x20f240)());[_0x2205df(0x1f6)];[_0x2205df(0x16d)];[_0x2205df(0x1e6)];[_0x2205df(0x1c8)];[_0x2205df(0x21a)];[_0x2205df(0x199)];[_0x2205df(0x118)];[_0x2205df(0x1a0)];[_0x2205df(0x132)];[_0x2205df(0x18c)];[_0x2205df(0x1ab)];[_0x2205df(0x1d7)];[_0x2205df(0x15e)];[_0x2205df(0x11d)];[_0x2205df(0x19b)];[_0x2205df(0x1f7)];[_0x2205df(0x178)];[_0x2205df(0x201)];static get[_0x2205df(0x1c9)](){return[_0x1d0dff,_0x5b10ab,_0x1aa8c2,_0x568e23,_0x57254b,_0x2c7217];}static get[_0x2205df(0x137)](){const _0x4429cb=_0x2205df;return _0x4429cb(0x1e2);}static get[_0x2205df(0x17f)](){return!0x0;}static get[_0x2205df(0x11e)](){return!0x0;}get[_0x2205df(0x1cb)](){const _0x889ea5=_0x2205df;return this[_0x889ea5(0x1dc)]+this[_0x889ea5(0x1f6)];}get[_0x2205df(0x1dc)](){const _0x2440a5=_0x2205df;return this[_0x2440a5(0x1e6)][_0x2440a5(0x139)]-this[_0x2440a5(0x1f6)];}get[_0x2205df(0x1b1)](){const _0x1433b1=_0x2205df,_0x22b5db=this[_0x1433b1(0x1e6)][_0x1433b1(0x1ac)]();for(let _0x531e8b=_0x22b5db[_0x1433b1(0x1c6)]-0x1;_0x531e8b>=0x0;_0x531e8b--){const _0x50e11f=_0x22b5db[_0x531e8b];if(!this[_0x1433b1(0x178)][_0x1433b1(0x191)](_0x50e11f))return _0x50e11f[_0x1433b1(0x186)]+0x1-this[_0x1433b1(0x1f6)];}return 0x0;}constructor(_0x26e948){const _0x6cd7a2=_0x2205df;if(super(_0x26e948),this[_0x6cd7a2(0x1f6)]=0x0,this[_0x6cd7a2(0x16d)]=null,this[_0x6cd7a2(0x1e6)]=new _0x1247ca(),this[_0x6cd7a2(0x161)][_0x6cd7a2(0x180)][_0x6cd7a2(0x15c)](_0x6cd7a2(0x212),{}),this[_0x6cd7a2(0x1c8)]=this[_0x6cd7a2(0x161)][_0x6cd7a2(0x180)][_0x6cd7a2(0x19f)](_0x6cd7a2(0x165)),!this[_0x6cd7a2(0x1c8)])throw new _0x12c2b1(_0x6cd7a2(0x128),this);const _0x3a7d88=_0x26e948[_0x6cd7a2(0x180)][_0x6cd7a2(0x19f)](_0x6cd7a2(0x1b8))||_0x5de4f2;this[_0x6cd7a2(0x21a)]=new RealTimeCollaborationClient[(_0x6cd7a2(0x17d))](_0x3a7d88,this[_0x6cd7a2(0x1c8)]),this[_0x6cd7a2(0x199)]=this[_0x6cd7a2(0x161)][_0x6cd7a2(0x1da)][_0x6cd7a2(0x152)],this[_0x6cd7a2(0x118)]=new _0x5d6c47(),this[_0x6cd7a2(0x1a0)]=[],this[_0x6cd7a2(0x132)]=new WeakSet(),this[_0x6cd7a2(0x18c)]=new Set(),this[_0x6cd7a2(0x206)](_0x6cd7a2(0x20e),!0x1),this[_0x6cd7a2(0x206)](_0x6cd7a2(0x1c7),!0x1),this[_0x6cd7a2(0x1ab)]=null,this[_0x6cd7a2(0x1d7)]=!0x1,this[_0x6cd7a2(0x15e)]=null,this[_0x6cd7a2(0x11d)]=0x12c,this[_0x6cd7a2(0x19b)]=this[_0x6cd7a2(0x11d)],this[_0x6cd7a2(0x1f7)]=null,this[_0x6cd7a2(0x178)]=new WeakSet(),this[_0x6cd7a2(0x201)]=new J(this[_0x6cd7a2(0x178)]);}[_0x2205df(0x1e1)](){const _0x4c3518=_0x2205df,_0x2aefba=this[_0x4c3518(0x161)],_0x261a72=_0x2aefba[_0x4c3518(0x198)][_0x4c3518(0x19f)](_0x57254b),_0x5de352=_0x2aefba[_0x4c3518(0x198)][_0x4c3518(0x19f)](_0x1d0dff);this[_0x4c3518(0x1b2)](_0x261a72,_0x4c3518(0x159),(_0x51db17,_0x23ff91)=>{const _0x473dde=_0x4c3518,_0x16b31d=_0x23ff91[0x0];_0x16b31d[_0x473dde(0x19e)]&&(_0x51db17[_0x473dde(0x1e8)]=_0x261a72[_0x473dde(0x1a2)](_0x16b31d[_0x473dde(0x19e)]),_0x51db17[_0x473dde(0x1a6)]()),null===_0x16b31d[_0x473dde(0x19e)]&&(_0x51db17[_0x473dde(0x1e8)]=null,_0x51db17[_0x473dde(0x1a6)]());},{'priority':_0x4c3518(0x145)}),this[_0x4c3518(0x1b2)](_0x2aefba[_0x4c3518(0x1da)][_0x4c3518(0x152)][_0x4c3518(0x149)],_0x4c3518(0x1b3),(_0x5baea3,_0x3f2030)=>{const _0x271fcf=_0x4c3518;_0x3f2030[_0x271fcf(0x17a)]&&this[_0x271fcf(0x158)]();}),this[_0x4c3518(0x1b2)](_0x2aefba[_0x4c3518(0x189)][_0x4c3518(0x1b4)],_0x4c3518(0x1c4),()=>{const _0x10652a=_0x4c3518;this[_0x10652a(0x158)]();}),this[_0x4c3518(0x121)](),_0x2aefba[_0x4c3518(0x1da)]['on'](_0x4c3518(0x170),(_0x5240e5,_0x3d3937)=>{const _0x3eb677=_0x4c3518,_0x13d359=_0x3d3937[0x0];_0x13d359[_0x3eb677(0x142)]&&(this[_0x3eb677(0x129)](_0x13d359),this[_0x3eb677(0x20b)]()&&this[_0x3eb677(0x14b)]());}),this[_0x4c3518(0x204)](),this[_0x4c3518(0x1c3)](_0x4c3518(0x1fc))['to'](_0x5de352,_0x4c3518(0x209),this,_0x4c3518(0x1c7),(_0x26544a,_0x4bbd3b)=>_0x4c3518(0x211)===_0x26544a&&!_0x4bbd3b),this['on'](_0x4c3518(0x195),()=>{const _0x46b475=_0x4c3518;this[_0x46b475(0x1fc)]?_0x2aefba[_0x46b475(0x213)](_0x46b475(0x166)):_0x2aefba[_0x46b475(0x11b)](_0x46b475(0x166));}),this[_0x4c3518(0x1fc)]?_0x2aefba[_0x4c3518(0x213)](_0x4c3518(0x166)):_0x2aefba[_0x4c3518(0x11b)](_0x4c3518(0x166)),this[_0x4c3518(0x206)](_0x4c3518(0x20a),!0x1);}async[_0x2205df(0x176)](){const _0x402917=_0x2205df,_0x46b8c6=this[_0x402917(0x161)][_0x402917(0x198)][_0x402917(0x19f)](_0x5b10ab),_0x2c7a37=this[_0x402917(0x161)][_0x402917(0x198)][_0x402917(0x19f)](_0x1d0dff);try{this[_0x402917(0x20e)]=!0x0,_0x46b8c6[_0x402917(0x1bc)](this[_0x402917(0x1c8)]);const _0xac524f=await this[_0x402917(0x21a)][_0x402917(0x176)](_0x2c7a37[_0x402917(0x1d8)],this[_0x402917(0x1b1)]);await this[_0x402917(0x194)](_0xac524f)&&(this[_0x402917(0x20e)]=!0x1,this[_0x402917(0x20d)]());const _0x4ea148=await this[_0x402917(0x21a)][_0x402917(0x1d9)]();_0x46b8c6[_0x402917(0x169)](this[_0x402917(0x1c8)],_0x4ea148),this[_0x402917(0x14c)](),this[_0x402917(0x20a)]=!0x0;}catch(_0x6075f3){if(function(_0x433f9f){const _0x4c27b8=_0x402917;return _0x4c27b8(0x208)===_0x433f9f[_0x4c27b8(0x19c)];}(_0x6075f3)&&this[_0x402917(0x16d)])await this[_0x402917(0x1bf)]();else{if(function(_0x2cd05a){const _0x1b5916=_0x402917;return _0x1b5916(0x177)===_0x2cd05a[_0x1b5916(0x19c)];}(_0x6075f3)){const _0x35bd1e=_0x50e247(this[_0x402917(0x161)][_0x402917(0x148)],_0x402917(0x181));this[_0x402917(0x1b6)](_0x35bd1e);}else{if(!(_0x6075f3 instanceof $))throw _0x6075f3;this[_0x402917(0x1b6)]();}}}}[_0x2205df(0x214)](){const _0x2783cf=_0x2205df,_0x3a3af1=this[_0x2783cf(0x161)][_0x2783cf(0x198)][_0x2783cf(0x19f)](_0x1d0dff),_0x486365=this[_0x2783cf(0x161)][_0x2783cf(0x198)][_0x2783cf(0x19f)](_0x5b10ab);this[_0x2783cf(0x161)][_0x2783cf(0x11b)](_0x2783cf(0x175)),_0x486365[_0x2783cf(0x1a4)][_0x2783cf(0x191)](this[_0x2783cf(0x1c8)])&&_0x486365[_0x2783cf(0x1bc)](this[_0x2783cf(0x1c8)]),_0x3a3af1[_0x2783cf(0x138)](this),this[_0x2783cf(0x1e4)](),super[_0x2783cf(0x214)]();}async[_0x2205df(0x194)](_0x1ef72f){const _0x4948e5=_0x2205df;if(this[_0x4948e5(0x16d)]!==_0x1ef72f[_0x4948e5(0x16d)]&&this[_0x4948e5(0x1f7)]!==_0x1ef72f[_0x4948e5(0x16f)])throw new $();return this[_0x4948e5(0x16d)]=_0x1ef72f[_0x4948e5(0x16d)],this[_0x4948e5(0x17b)]([],{..._0x1ef72f,'wereChangesApplied':!0x1,'data':_0x1ef72f[_0x4948e5(0x116)]},_0x4948e5(0x176));}async[_0x2205df(0x219)](_0x4dec85,_0xfff4a9=!0x1){const _0x51243c=_0x2205df,{connection:_0x129f6d}=this[_0x51243c(0x161)][_0x51243c(0x198)][_0x51243c(0x19f)](_0x1d0dff);RealTimeCollaborationClient[_0x51243c(0x17d)][_0x51243c(0x1d9)](_0x129f6d,this[_0x51243c(0x1c8)])[_0x51243c(0x151)](_0x5543fe=>this[_0x51243c(0x117)](_0x5543fe))[_0x51243c(0x146)](_0x47352b=>{const _0x30b4d3=_0x51243c;this[_0x30b4d3(0x184)](_0x30b4d3(0x1e9),_0x47352b);}),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x15b),this[_0x51243c(0x12e)][_0x51243c(0x1c3)](this)),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x12f),(_0x313b7f,_0x29dab5)=>{const _0x5a23b1=_0x51243c;this[_0x5a23b1(0x184)](_0x5a23b1(0x19d),_0x29dab5);}),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x1dd),()=>{const _0x310822=_0x51243c;this[_0x310822(0x20a)]=!0x1;});const _0x591ff0=this[_0x51243c(0x201)][_0x51243c(0x1cf)](_0x4dec85);this[_0x51243c(0x20e)]=!0x0;const _0x57036d=await this[_0x51243c(0x21a)][_0x51243c(0x13d)](_0x129f6d,this[_0x51243c(0x1ff)](_0x4dec85),_0x591ff0);if(this[_0x51243c(0x16d)]=_0x57036d[_0x51243c(0x16d)],_0xfff4a9){if(!_0x57036d[_0x51243c(0x13e)])return void this[_0x51243c(0x1b6)]();this[_0x51243c(0x20e)]=!0x1,this[_0x51243c(0x20d)](),this[_0x51243c(0x1e6)][_0x51243c(0x16b)](),this[_0x51243c(0x1f6)]=_0x57036d[_0x51243c(0x1e5)],this[_0x51243c(0x1e6)][_0x51243c(0x139)]=this[_0x51243c(0x1f6)],await this[_0x51243c(0x17b)](_0x4dec85,_0x57036d,_0x51243c(0x133));}else await this[_0x51243c(0x190)](_0x57036d,_0x4dec85);this[_0x51243c(0x14c)](),this[_0x51243c(0x20a)]=!0x0;}[_0x2205df(0x14c)](){const _0x663ec5=_0x2205df,_0x4ff5c7=this[_0x663ec5(0x161)][_0x663ec5(0x198)][_0x663ec5(0x19f)](_0x5b10ab),_0x4d3bbb=this[_0x663ec5(0x161)][_0x663ec5(0x198)][_0x663ec5(0x19f)](_0x1aa8c2),_0x23fa9b=_0x4ff5c7[_0x663ec5(0x1a4)][_0x663ec5(0x19f)](this[_0x663ec5(0x1c8)]);_0x23fa9b&&_0x23fa9b[_0x663ec5(0x1c6)]>0x1?_0x4d3bbb[_0x663ec5(0x217)]():this[_0x663ec5(0x1b2)](_0x4ff5c7,_0x663ec5(0x1f9)+this[_0x663ec5(0x1c8)],()=>{const _0x252b75=_0x663ec5;0x2===_0x4ff5c7[_0x252b75(0x1a4)][_0x252b75(0x19f)](this[_0x252b75(0x1c8)])[_0x252b75(0x1c6)]&&_0x4d3bbb[_0x252b75(0x217)]();});}async[_0x2205df(0x12e)](_0xb4f7c7,_0x6a8db4,_0x515a58,_0x1db6b3){const _0x5160be=_0x2205df;if(!this[_0x5160be(0x20e)]&&this[_0x5160be(0x199)][_0x5160be(0x139)]==_0x6a8db4){const _0x118d1a=this[_0x5160be(0x1f5)](_0x515a58,_0x1db6b3);await this[_0x5160be(0x173)](_0x118d1a),this[_0x5160be(0x218)](_0x118d1a,_0x6a8db4,_0x515a58[_0x5160be(0x16f)])||this[_0x5160be(0x184)](_0x5160be(0x18a));}}async[_0x2205df(0x1bf)](){const _0x3338c1=_0x2205df;this[_0x3338c1(0x1e4)]();const {locale:_0x522fe6}=this[_0x3338c1(0x161)];let _0x147abd;try{_0x147abd=await this[_0x3338c1(0x21a)][_0x3338c1(0x185)]();}catch{const _0x289c09=_0x50e247(_0x522fe6,_0x3338c1(0x160));return void this[_0x3338c1(0x1b6)](_0x289c09);}const _0x474a23=_0x147abd[_0x3338c1(0x20c)]||_0x147abd[_0x3338c1(0x156)];if(this[_0x3338c1(0x1f7)]!==_0x474a23[_0x3338c1(0x16f)]){const _0x525776=_0x50e247(_0x522fe6,_0x3338c1(0x187));return void this[_0x3338c1(0x1b6)](_0x525776);}await this[_0x3338c1(0x219)](this[_0x3338c1(0x161)][_0x3338c1(0x1da)][_0x3338c1(0x152)][_0x3338c1(0x172)][_0x3338c1(0x1ac)](),!0x0);}[_0x2205df(0x1e4)](){const _0x247a23=_0x2205df;this[_0x247a23(0x21a)][_0x247a23(0x1fd)](),this[_0x247a23(0x1a0)]=[],clearTimeout(this[_0x247a23(0x15e)]),this[_0x247a23(0x210)](this[_0x247a23(0x21a)]);}[_0x2205df(0x117)](_0x345564){const _0x255d33=_0x2205df,_0x261aa9=this[_0x255d33(0x161)][_0x255d33(0x198)][_0x255d33(0x19f)](_0x5b10ab);this[_0x255d33(0x1b2)](_0x261aa9,_0x255d33(0x1f9)+this[_0x255d33(0x1c8)],(_0x16d343,{session:_0xf37ca2})=>{const _0x707c64=_0x255d33;if(_0xf37ca2['id']===_0x261aa9[_0x707c64(0x147)]){_0x16d343[_0x707c64(0x1a8)]();const _0x2fa692=this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x191)](_0x707c64(0x135))&&this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x19f)](_0x707c64(0x135));let _0x14d330=_0xf37ca2[_0x707c64(0x153)];_0x2fa692&&_0x2fa692[_0x707c64(0x155)]&&(_0x14d330=_0x14d330[_0x707c64(0x154)](_0x35e916=>_0x707c64(0x13a)!==_0x35e916)),this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x19f)](_0x707c64(0x163))[_0x707c64(0x14f)](_0x14d330,this[_0x707c64(0x1c8)]);}}),_0x261aa9[_0x255d33(0x169)](this[_0x255d33(0x1c8)],_0x345564);}[_0x2205df(0x121)](){const _0x4a6d09=_0x2205df,_0x3f0bc9=this[_0x4a6d09(0x161)][_0x4a6d09(0x116)][_0x4a6d09(0x206)];this[_0x4a6d09(0x161)][_0x4a6d09(0x116)][_0x4a6d09(0x206)]=(..._0x15082a)=>{const _0x58ac12=_0x4a6d09;if(!_0x15082a[_0x15082a[_0x58ac12(0x1c6)]-0x1][_0x58ac12(0x13b)])throw new _0x12c2b1(_0x58ac12(0x1b0),this);_0x3f0bc9[_0x58ac12(0x120)](this[_0x58ac12(0x161)][_0x58ac12(0x116)],_0x15082a);};}[_0x2205df(0x204)](){const _0x57154d=_0x2205df;this[_0x57154d(0x161)][_0x57154d(0x116)]['on'](_0x57154d(0x1e1),(_0x36b24c,[_0x136ed2])=>{const _0x426f35=_0x57154d;if(this[_0x426f35(0x199)][_0x426f35(0x139)])throw new _0x12c2b1(_0x426f35(0x1de),this);_0x36b24c[_0x426f35(0x1a6)](),this[_0x426f35(0x123)]();const _0x345586=this[_0x426f35(0x161)][_0x426f35(0x180)][_0x426f35(0x19f)](_0x426f35(0x216)),_0x57c610=this[_0x426f35(0x122)](_0x136ed2,_0x345586);0x0==_0x57c610[_0x426f35(0x1c6)]&&_0x57c610[_0x426f35(0x1f4)](new _0x1e6e91(0x0)),_0x36b24c[_0x426f35(0x1e8)]=this[_0x426f35(0x219)](_0x57c610)[_0x426f35(0x151)](()=>{const _0xc706ba=_0x426f35;this[_0xc706ba(0x161)][_0xc706ba(0x198)][_0xc706ba(0x19f)](_0x1d0dff)[_0xc706ba(0x205)](this),this[_0xc706ba(0x161)][_0xc706ba(0x116)][_0xc706ba(0x119)](_0xc706ba(0x131));})[_0x426f35(0x146)](_0x3e103f=>this[_0x426f35(0x184)](_0x426f35(0x167),_0x3e103f))[_0x426f35(0x1ef)](()=>this[_0x426f35(0x20d)]());},{'priority':_0x57154d(0x145)}),this[_0x57154d(0x161)]['on'](_0x57154d(0x15f),async(_0x82a451,[_0x530c5f,_0x25196f])=>{const _0x35c6d6=_0x57154d;_0x82a451[_0x35c6d6(0x1a6)]();const _0x5a61a2=this[_0x35c6d6(0x161)][_0x35c6d6(0x1da)][_0x35c6d6(0x152)][_0x35c6d6(0x17c)](_0x530c5f);if(!this[_0x35c6d6(0x18c)][_0x35c6d6(0x191)](_0x530c5f)){const _0x41ff48=_0x25196f&&_0x25196f[_0x35c6d6(0x116)]?_0x25196f[_0x35c6d6(0x116)]:'',_0x14e796=_0x25196f&&_0x25196f[_0x35c6d6(0x1bb)]?_0x25196f[_0x35c6d6(0x1bb)]:{};await this[_0x35c6d6(0x157)](_0x530c5f,_0x41ff48,_0x14e796);}this[_0x35c6d6(0x161)][_0x35c6d6(0x1da)][_0x35c6d6(0x1eb)]({'isUndoable':!0x1},()=>{const _0x5a60b0=_0x35c6d6;_0x5a61a2[_0x5a60b0(0x1f0)]=!0x0,this[_0x5a60b0(0x161)][_0x5a60b0(0x1da)][_0x5a60b0(0x152)][_0x5a60b0(0x14e)][_0x5a60b0(0x13c)](_0x5a61a2);});},{'priority':_0x57154d(0x145)});}async[_0x2205df(0x173)](_0x15ff6b){const _0x12eb12=_0x2205df,_0x331008=this[_0x12eb12(0x161)][_0x12eb12(0x198)][_0x12eb12(0x19f)](_0x57254b),{connection:_0x253a99}=this[_0x12eb12(0x161)][_0x12eb12(0x198)][_0x12eb12(0x19f)](_0x1d0dff),_0xdc40d0=new Set();for(const _0x20fd21 of _0x15ff6b){const _0x43b48e=_0x20fd21[_0x12eb12(0x19e)];_0x43b48e&&!_0x331008[_0x12eb12(0x1a2)](_0x43b48e)&&_0xdc40d0[_0x12eb12(0x134)](_0x43b48e);}if(0x0===_0xdc40d0[_0x12eb12(0x21b)])return;const _0x17bbd1=await _0x142f1b[_0x12eb12(0x1e3)](_0x253a99,Array[_0x12eb12(0x1d6)](_0xdc40d0));for(const _0x46e413 of _0x17bbd1)_0x331008[_0x12eb12(0x1a2)](_0x46e413['id'])||_0x331008[_0x12eb12(0x1ea)](_0x46e413);}[_0x2205df(0x122)](_0x4828f3,_0x199fcc={}){const _0xd7fc05=_0x2205df,_0x160196=this[_0xd7fc05(0x161)][_0xd7fc05(0x1da)],_0x130e75=[];let _0x38f715=0x0;const _0xc7769d=_0xd7fc05(0x150)==typeof _0x4828f3?{'main':_0x4828f3}:_0x4828f3;for(const _0x1fbc9d of Object[_0xd7fc05(0x136)](_0xc7769d)){if(!this[_0xd7fc05(0x199)][_0xd7fc05(0x124)][_0xd7fc05(0x191)](_0x1fbc9d))throw new _0x12c2b1(_0xd7fc05(0x17e),this);const _0x4fe695=this[_0xd7fc05(0x161)][_0xd7fc05(0x116)][_0xd7fc05(0x1ca)](_0xc7769d[_0x1fbc9d]),_0x4142f1=this[_0xd7fc05(0x199)][_0xd7fc05(0x17c)](_0x1fbc9d),_0x5c7aaf=new _0x37b57c(_0x160196[_0xd7fc05(0x130)](_0x4142f1,0x0),_0x4fe695,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x5c7aaf);for(const [_0x4eb7bb,_0x210637]of _0x4fe695[_0xd7fc05(0x196)]){const _0x2626f3=_0x160196[_0xd7fc05(0x164)](_0x160196[_0xd7fc05(0x168)](_0x4142f1,_0x210637[_0xd7fc05(0x1fa)][_0xd7fc05(0x16a)][_0xd7fc05(0x203)]()),_0x160196[_0xd7fc05(0x168)](_0x4142f1,_0x210637[_0xd7fc05(0x215)][_0xd7fc05(0x16a)][_0xd7fc05(0x203)]())),_0x4d4711=new _0x5d23ba(_0x4eb7bb,null,_0x2626f3,_0x160196[_0xd7fc05(0x196)],!0x0,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x4d4711);}}if(_0x199fcc)for(const [_0x1d17b8,_0x258e2b]of Object[_0xd7fc05(0x1d5)](_0x199fcc)){const _0x3686d3=_0x160196[_0xd7fc05(0x152)][_0xd7fc05(0x17c)](_0x1d17b8);if(!_0x3686d3)throw new _0x12c2b1(_0xd7fc05(0x1ba),null);for(const [_0x19e6ca,_0x9256d5]of Object[_0xd7fc05(0x1d5)](_0x258e2b))if(null!==_0x9256d5){const _0x2aa6af=new _0x4090e4(_0x3686d3,_0x19e6ca,null,_0x9256d5,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x2aa6af);}}return _0x130e75;}async[_0x2205df(0x157)](_0x45ad26,_0x59a99,_0x595f65){const _0x4fc3c7=_0x2205df;this[_0x4fc3c7(0x122)]({[_0x45ad26]:_0x59a99},{[_0x45ad26]:_0x595f65})[_0x4fc3c7(0x200)]((_0x1239bd,_0x2c2390)=>{const _0x3c818d=_0x4fc3c7;_0x1239bd[_0x3c818d(0x186)]=this[_0x3c818d(0x199)][_0x3c818d(0x139)]+_0x2c2390,_0x1239bd[_0x3c818d(0x1a7)]=!0x0,this[_0x3c818d(0x129)](_0x1239bd);}),this[_0x4fc3c7(0x14b)](),await this[_0x4fc3c7(0x16e)]();}async[_0x2205df(0x190)](_0x3e7f4e,_0x539f64){const _0x3963f3=_0x2205df;let _0x483abb;this[_0x3963f3(0x1f6)]=_0x3e7f4e[_0x3963f3(0x1e5)];const _0x45b7d0=_0x3e7f4e[_0x3963f3(0x13e)]&&!_0x3e7f4e[_0x3963f3(0x193)],_0x55cbdb=_0x45b7d0?0x0:_0x3e7f4e[_0x3963f3(0x116)][_0x3963f3(0x186)];if(_0x539f64[_0x3963f3(0x200)](_0x13f4c8=>{const _0x15486b=_0x3963f3;_0x13f4c8[_0x15486b(0x1a7)]=!0x0,_0x13f4c8[_0x15486b(0x197)]=_0x3e7f4e[_0x15486b(0x11f)],_0x13f4c8[_0x15486b(0x19e)]=null;}),_0x45b7d0)_0x483abb=_0x539f64,this[_0x3963f3(0x182)](_0x483abb,_0x45b7d0);else{if(_0x3e7f4e[_0x3963f3(0x193)]){const _0x5ef406=this[_0x3963f3(0x122)](_0x3e7f4e[_0x3963f3(0x193)]);this[_0x3963f3(0x199)][_0x3963f3(0x172)][_0x3963f3(0x139)]=-_0x5ef406[_0x3963f3(0x1c6)],_0x5ef406[_0x3963f3(0x200)](_0x4f6847=>{const _0x50b021=_0x3963f3;_0x4f6847[_0x50b021(0x186)]-=_0x5ef406[_0x50b021(0x1c6)],_0x4f6847[_0x50b021(0x197)]=_0x3e7f4e[_0x50b021(0x11f)],_0x4f6847[_0x50b021(0x1a7)]=!0x0,_0x4f6847[_0x50b021(0x19e)]=null;}),this[_0x3963f3(0x182)](_0x5ef406,!0x0),this[_0x3963f3(0x1e6)][_0x3963f3(0x139)]=-_0x5ef406[_0x3963f3(0x1c6)]+this[_0x3963f3(0x1f6)],this[_0x3963f3(0x15a)](_0x5ef406);}this[_0x3963f3(0x199)][_0x3963f3(0x172)][_0x3963f3(0x139)]=_0x55cbdb,_0x483abb=this[_0x3963f3(0x1f5)](_0x3e7f4e[_0x3963f3(0x116)],_0x3e7f4e[_0x3963f3(0x1e7)]),await this[_0x3963f3(0x173)](_0x483abb),this[_0x3963f3(0x182)](_0x483abb,_0x45b7d0);}_0x3e7f4e[_0x3963f3(0x16f)]&&(this[_0x3963f3(0x201)][_0x3963f3(0x19a)](_0x483abb,_0x3e7f4e[_0x3963f3(0x16f)]),this[_0x3963f3(0x1f7)]=_0x3e7f4e[_0x3963f3(0x16f)]),this[_0x3963f3(0x1e6)][_0x3963f3(0x139)]=_0x55cbdb+this[_0x3963f3(0x1f6)],this[_0x3963f3(0x15a)](_0x483abb),_0x539f64[_0x3963f3(0x154)](_0x525fe2=>{const _0x26d9d3=_0x3963f3,_0x3411bf=this[_0x26d9d3(0x1d2)](_0x525fe2);return _0x3411bf&&!this[_0x26d9d3(0x18c)][_0x26d9d3(0x191)](_0x3411bf);})[_0x3963f3(0x200)]((_0x36eb3a,_0x3d2baa)=>{const _0x547c7d=_0x3963f3;_0x36eb3a[_0x547c7d(0x186)]=this[_0x547c7d(0x199)][_0x547c7d(0x139)]+_0x3d2baa,this[_0x547c7d(0x129)](_0x36eb3a);}),this[_0x3963f3(0x20b)]()?(this[_0x3963f3(0x19b)]=0x0,this[_0x3963f3(0x14b)](!0x0),await this[_0x3963f3(0x16e)]()):(this[_0x3963f3(0x20e)]=!0x1,this[_0x3963f3(0x20d)]());}[_0x2205df(0x184)](_0x136679,_0x488e40){const _0x2859ed=_0x2205df,_0x26c241=_0x488e40&&_0x488e40[_0x2859ed(0x1f1)];if(_0x26c241&&_0x26c241[_0x2859ed(0x1af)](_0x2859ed(0x162)))throw _0x488e40;const _0x30bf7e=this[_0x2859ed(0x161)][_0x2859ed(0x198)][_0x2859ed(0x19f)](_0x1d0dff);throw this[_0x2859ed(0x20e)]=!0x0,_0x30bf7e[_0x2859ed(0x1fd)](),this[_0x2859ed(0x161)][_0x2859ed(0x11b)](_0x2859ed(0x1bd)),new _0x12c2b1(_0x136679,this[_0x2859ed(0x161)],_0x26c241?{'originalError':_0x26c241}:void 0x0);}[_0x2205df(0x129)](_0x5845be){const _0xb1ab07=_0x2205df;this[_0xb1ab07(0x132)][_0xb1ab07(0x191)](_0x5845be)||(this[_0xb1ab07(0x132)][_0xb1ab07(0x134)](_0x5845be),this[_0xb1ab07(0x1a0)][_0xb1ab07(0x1f4)](_0x5845be),this[_0xb1ab07(0x1ab)]||_0xb1ab07(0x1df)==_0x5845be[_0xb1ab07(0x141)]&&!_0x5845be[_0xb1ab07(0x1d0)]||this[_0xb1ab07(0x123)]());}[_0x2205df(0x14b)](_0x3415b2=!0x1){const _0x259efc=_0x2205df;!_0x3415b2&&this[_0x259efc(0x20e)]||(this[_0x259efc(0x20e)]=!0x0,clearTimeout(this[_0x259efc(0x15e)]),this[_0x259efc(0x15e)]=setTimeout(()=>{const _0x4f81d3=_0x259efc;this[_0x4f81d3(0x1e0)]()[_0x4f81d3(0x151)](_0x3cd92a=>{const _0x47b752=_0x4f81d3;_0x3cd92a&&(this[_0x47b752(0x20d)](),this[_0x47b752(0x20e)]=!0x1);})[_0x4f81d3(0x146)](_0x10883a=>{const _0x56962b=_0x4f81d3;this[_0x56962b(0x20d)](),this[_0x56962b(0x20e)]=!0x1,function(_0x1a36c9){const _0x186cea=_0x56962b;return _0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x1db))||_0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x16c))||_0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x1f8));}(_0x10883a)||this[_0x56962b(0x184)](_0x10883a[_0x56962b(0x1f1)],_0x10883a);});},this[_0x259efc(0x19b)]));}[_0x2205df(0x16e)](){return new Promise(_0x1a197d=>{const _0x1205f3=_0x279a;this['on'](_0x1205f3(0x207),()=>{_0x1a197d();});});}async[_0x2205df(0x1e0)](){const _0x1bd39d=_0x2205df,_0x4cb7b6=this[_0x1bd39d(0x161)][_0x1bd39d(0x198)][_0x1bd39d(0x19f)](_0x1aa8c2);if(this[_0x1bd39d(0x12b)]()&&(_0x4cb7b6[_0x1bd39d(0x217)](),this[_0x1bd39d(0x1d7)]=!0x1),!this[_0x1bd39d(0x20b)]())return!0x0;const _0x3424e4=[...this[_0x1bd39d(0x1a0)]];for(const _0x2587f3 of _0x3424e4)_0x2587f3[_0x1bd39d(0x1f2)]=this[_0x1bd39d(0x199)][_0x1bd39d(0x172)][_0x1bd39d(0x18f)](_0x2587f3);const _0x459749=this[_0x1bd39d(0x201)][_0x1bd39d(0x1cf)](_0x3424e4),_0x5ea383=G++,_0x3c66dd=this[_0x1bd39d(0x1ff)](_0x3424e4),_0x1534db=await this[_0x1bd39d(0x21a)][_0x1bd39d(0x1ed)](_0x3c66dd,_0x3c66dd[_0x1bd39d(0x186)],_0x459749);try{return await this[_0x1bd39d(0x17b)](_0x3424e4,_0x1534db,_0x5ea383);}catch(_0x87fc6c){return this[_0x1bd39d(0x184)](_0x1bd39d(0x1ad),_0x87fc6c);}}async[_0x2205df(0x17b)](_0x554e75,_0x3dcea0,_0x44ae50){const _0x73fe97=_0x2205df;if(_0x73fe97(0x12f)in _0x3dcea0)throw _0x3dcea0[_0x73fe97(0x12f)];let _0x49eabf=!0x1;if(_0x3dcea0[_0x73fe97(0x13e)]){_0x3dcea0[_0x73fe97(0x16f)]&&(this[_0x73fe97(0x1f7)]=_0x3dcea0[_0x73fe97(0x16f)]),this[_0x73fe97(0x1a0)]=this[_0x73fe97(0x1a0)][_0x73fe97(0x154)](_0x484b78=>!_0x554e75[_0x73fe97(0x14a)](_0x484b78));for(const _0x52f6ed of _0x554e75)_0x52f6ed[_0x73fe97(0x197)]=_0x73fe97(0x202)in _0x3dcea0&&_0x3dcea0[_0x73fe97(0x202)]||void 0x0;K(_0x554e75,_0x3dcea0[_0x73fe97(0x139)]-_0x554e75[_0x73fe97(0x1c6)]),this[_0x73fe97(0x15a)](_0x554e75);const _0x19da4c=_0x554e75[_0x73fe97(0x154)](_0x2ae814=>{const _0x1a5e76=_0x73fe97;if(!_0x2ae814[_0x1a5e76(0x1a7)])return!0x1;const _0x100051=this[_0x1a5e76(0x1d2)](_0x2ae814);return _0x100051&&!this[_0x1a5e76(0x18c)][_0x1a5e76(0x191)](_0x100051);});K(_0x19da4c,this[_0x73fe97(0x199)][_0x73fe97(0x139)]),this[_0x73fe97(0x182)](_0x19da4c),_0x49eabf=!0x0,this[_0x73fe97(0x19b)]=this[_0x73fe97(0x11d)];}else{const _0x4714af=this[_0x73fe97(0x1f5)](_0x3dcea0[_0x73fe97(0x116)],_0x3dcea0[_0x73fe97(0x1e7)])[_0x73fe97(0x154)](_0x279e7a=>_0x279e7a[_0x73fe97(0x186)]>=this[_0x73fe97(0x1dc)]);_0x4714af[_0x73fe97(0x200)](_0xce67e3=>this[_0x73fe97(0x18d)](_0xce67e3)),this[_0x73fe97(0x1a0)]=this[_0x73fe97(0x1a0)][_0x73fe97(0x154)](_0x52770d=>!_0x52770d[_0x73fe97(0x1a7)]||!this[_0x73fe97(0x18c)][_0x73fe97(0x191)](this[_0x73fe97(0x1d2)](_0x52770d))),this[_0x73fe97(0x1a0)][_0x73fe97(0x1c6)]&&K(this[_0x73fe97(0x1a0)],this[_0x73fe97(0x1a0)][0x0][_0x73fe97(0x186)]),await this[_0x73fe97(0x173)](_0x4714af),_0x49eabf=this[_0x73fe97(0x218)](_0x4714af,_0x3dcea0[_0x73fe97(0x139)],_0x3dcea0[_0x73fe97(0x16f)]),this[_0x73fe97(0x19b)]=Math[_0x73fe97(0x12d)](this[_0x73fe97(0x19b)]/0x2);}return _0x49eabf?!this[_0x73fe97(0x20b)]()||(this[_0x73fe97(0x14b)](!0x0),!0x1):this[_0x73fe97(0x184)](_0x73fe97(0x1c5));}[_0x2205df(0x218)](_0x19c1eb,_0x3f5d88,_0x3872c4){const _0x1369c7=_0x2205df;try{const _0x1d0dbc={'document':this[_0x1369c7(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3b0023,operationsB:_0x358ed6,originalOperations:_0x3bb626}=_0x331568(_0x19c1eb,this[_0x1369c7(0x1a0)],_0x1d0dbc);K(_0x3b0023,this[_0x1369c7(0x199)][_0x1369c7(0x139)]),K(_0x358ed6,_0x3f5d88);for(const _0x10aac1 of _0x3b0023){const _0x108dd2=_0x3bb626[_0x1369c7(0x19f)](_0x10aac1);_0x10aac1[_0x1369c7(0x19e)]=_0x108dd2?_0x108dd2[_0x1369c7(0x19e)]:null;}_0x3872c4&&(this[_0x1369c7(0x201)][_0x1369c7(0x19a)](_0x19c1eb,_0x3872c4),this[_0x1369c7(0x1f7)]=_0x3872c4),this[_0x1369c7(0x1a0)]=[..._0x358ed6],this[_0x1369c7(0x182)](_0x3b0023),this[_0x1369c7(0x15a)](_0x19c1eb);}catch(_0xaf7f07){return console[_0x1369c7(0x12f)](_0xaf7f07),!0x1;}return!0x0;}[_0x2205df(0x182)](_0x2b39fd,_0x5ad4ac=!0x1){const _0x4a8cac=_0x2205df;this[_0x4a8cac(0x161)][_0x4a8cac(0x1da)][_0x4a8cac(0x1eb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3dfc86=>{const _0x5d8b7c=_0x4a8cac;for(const _0x2af59b of _0x2b39fd)this[_0x5d8b7c(0x132)][_0x5d8b7c(0x134)](_0x2af59b),this[_0x5d8b7c(0x18d)](_0x2af59b),_0x3dfc86[_0x5d8b7c(0x18b)][_0x5d8b7c(0x1c2)](_0x2af59b),this[_0x5d8b7c(0x161)][_0x5d8b7c(0x1da)][_0x5d8b7c(0x170)](_0x2af59b);});}[_0x2205df(0x18d)](_0x2ab42e){const _0x1fc804=_0x2205df,_0x418871=this[_0x1fc804(0x1d2)](_0x2ab42e);_0x418871&&this[_0x1fc804(0x18c)][_0x1fc804(0x134)](_0x418871);}[_0x2205df(0x1d2)](_0x1a4913){const _0x49016c=_0x2205df;let _0x502adf,_0x2605c0;switch(_0x1a4913[_0x49016c(0x141)]){case _0x49016c(0x1d1):_0x502adf=_0x1a4913[_0x49016c(0x20f)][_0x49016c(0x14d)];break;case _0x49016c(0x1df):if(_0x2605c0=_0x1a4913[_0x49016c(0x183)],!_0x2605c0)return null;_0x502adf=_0x2605c0[_0x49016c(0x14d)];break;case _0x49016c(0x1c0):_0x502adf=_0x1a4913[_0x49016c(0x14d)];break;case _0x49016c(0x1b9):_0x502adf=_0x1a4913[_0x49016c(0x1ec)];break;case _0x49016c(0x192):_0x502adf=_0x1a4913[_0x49016c(0x1aa)][_0x49016c(0x14d)];break;default:return null;}return _0x502adf[_0x49016c(0x1d3)];}[_0x2205df(0x15a)](_0x501496){const _0x5ed382=_0x2205df;_0x501496[_0x5ed382(0x200)](_0x39cd1d=>{const _0x43429b=_0x5ed382,_0x22ebc9=_0x39cd1d[_0x43429b(0x18e)]();_0x22ebc9[_0x43429b(0x19e)]=_0x39cd1d[_0x43429b(0x19e)],_0x22ebc9[_0x43429b(0x1a7)]=!!_0x39cd1d[_0x43429b(0x1a7)],_0x22ebc9[_0x43429b(0x197)]=_0x39cd1d[_0x43429b(0x197)],_0x22ebc9[_0x43429b(0x186)]+=this[_0x43429b(0x1f6)],_0x39cd1d[_0x43429b(0x1fe)]&&this[_0x43429b(0x178)][_0x43429b(0x134)](_0x22ebc9),this[_0x43429b(0x1e6)][_0x43429b(0x1c2)](_0x22ebc9);});}[_0x2205df(0x1b6)](_0x3e9a80){const _0x541512=_0x2205df,_0x14878d=this[_0x541512(0x161)][_0x541512(0x198)][_0x541512(0x19f)](_0x541512(0x1be)),_0x3a2e22=this[_0x541512(0x161)][_0x541512(0x148)];_0x3e9a80||(_0x3e9a80=_0x50e247(_0x3a2e22,_0x541512(0x171))),_0x14878d[_0x541512(0x1ce)](_0x3e9a80,{'title':_0x50e247(_0x3a2e22,_0x541512(0x1a5)),'namespace':_0x541512(0x1ae)}),this[_0x541512(0x1c7)]=!0x0,clearTimeout(this[_0x541512(0x15e)]),this[_0x541512(0x1a0)]=[],this[_0x541512(0x161)][_0x541512(0x198)][_0x541512(0x19f)](_0x1d0dff)[_0x541512(0x1fd)]();}[_0x2205df(0x123)](){const _0x43b299=_0x2205df;this[_0x43b299(0x1ab)]||(this[_0x43b299(0x1ab)]=this[_0x43b299(0x161)][_0x43b299(0x198)][_0x43b299(0x19f)](_0x568e23)[_0x43b299(0x134)](_0x50e247(this[_0x43b299(0x161)][_0x43b299(0x148)],_0x43b299(0x1cc))));}[_0x2205df(0x20d)](){const _0x1d3ba2=_0x2205df;this[_0x1d3ba2(0x1ab)]&&(this[_0x1d3ba2(0x161)][_0x1d3ba2(0x198)][_0x1d3ba2(0x19f)](_0x568e23)[_0x1d3ba2(0x12a)](this[_0x1d3ba2(0x1ab)]),this[_0x1d3ba2(0x1ab)]=null);}[_0x2205df(0x1ff)](_0x2549e7){const _0x444e5b=_0x2205df,_0x7e0c71=_0x2549e7[_0x444e5b(0x13f)](_0xe978b5=>_0xe978b5[_0x444e5b(0x1a1)]());return this[_0x444e5b(0x118)][_0x444e5b(0x125)](_0x7e0c71);}[_0x2205df(0x1f5)](_0x31a392,_0x5b1f91){const _0x51f8a5=_0x2205df;return this[_0x51f8a5(0x118)][_0x51f8a5(0x1fb)](_0x31a392)[_0x51f8a5(0x13f)]((_0x4c087e,_0x688200)=>{const _0x5ae260=_0x51f8a5,_0x349709=_0x5ae260(0x1e1)==_0x5b1f91[_0x688200][_0x5ae260(0x141)];if(_0x5ae260(0x1cd)==_0x4c087e[_0x5ae260(0x143)]){const _0x43c7c6=_0x4c087e[_0x5ae260(0x20f)][_0x5ae260(0x14d)];!this[_0x5ae260(0x199)][_0x5ae260(0x17c)](_0x43c7c6)&&(this[_0x5ae260(0x199)][_0x5ae260(0x1c1)](_0x5ae260(0x1ee),_0x43c7c6)[_0x5ae260(0x1a9)]=!0x1);}const _0x1ac055=_0x19008c[_0x5ae260(0x140)](_0x4c087e,this[_0x5ae260(0x199)]);return _0x1ac055[_0x5ae260(0x1f2)]=_0x4c087e[_0x5ae260(0x1f2)],_0x1ac055[_0x5ae260(0x1a7)]=_0x349709,_0x1ac055[_0x5ae260(0x19e)]=_0x349709?null:_0x5b1f91[_0x688200][_0x5ae260(0x1b7)],_0x1ac055[_0x5ae260(0x1fe)]=_0x5ae260(0x11c)===_0x5b1f91[_0x688200][_0x5ae260(0x141)],_0x1ac055[_0x5ae260(0x197)]=_0x5b1f91[_0x688200][_0x5ae260(0x197)],_0x1ac055;});}[_0x2205df(0x158)](){const _0x3ecaee=_0x2205df;this[_0x3ecaee(0x1d7)]=!0x0,this[_0x3ecaee(0x12b)]()?this[_0x3ecaee(0x14b)]():this[_0x3ecaee(0x1d7)]=!0x1;}[_0x2205df(0x12b)](){const _0x2d463a=_0x2205df,_0x11c72a=this[_0x2d463a(0x161)][_0x2d463a(0x198)][_0x2d463a(0x19f)](_0x5b10ab)[_0x2d463a(0x1a4)][_0x2d463a(0x19f)](this[_0x2d463a(0x1c8)]);return!this[_0x2d463a(0x161)][_0x2d463a(0x11a)]&&!!_0x11c72a&&_0x11c72a[_0x2d463a(0x1c6)]>0x1&&this[_0x2d463a(0x1d7)];}[_0x2205df(0x20b)](){const _0x599581=_0x2205df;return this[_0x599581(0x1a0)][_0x599581(0x1c6)]>0x0||this[_0x599581(0x12b)]();}}function _0x279a(_0x872800,_0x15578c){const _0x4880e4=_0x4880();return _0x279a=function(_0x279a0e,_0x5c08f2){_0x279a0e=_0x279a0e-0x116;let _0x3fd60e=_0x4880e4[_0x279a0e];return _0x3fd60e;},_0x279a(_0x872800,_0x15578c);}class $ extends Error{}function K(_0x309908,_0x5be625){const _0x2d50d5=_0x2205df;for(const _0x409bb6 of _0x309908)_0x409bb6[_0x2d50d5(0x186)]=_0x5be625++;}class J{[_0x2205df(0x15d)];[_0x2205df(0x144)];constructor(_0x11e5fa){const _0x203441=_0x2205df;this[_0x203441(0x15d)]=_0x11e5fa,this[_0x203441(0x144)]=new WeakMap();}[_0x2205df(0x1cf)](_0x145000){const _0x7bfa35=_0x2205df;let _0x3dbd2b=_0x145000[_0x7bfa35(0x1c6)];for(;_0x3dbd2b--;){const _0x43d4b8=_0x145000[_0x3dbd2b];if(!this[_0x7bfa35(0x15d)][_0x7bfa35(0x191)](_0x43d4b8)){if(!this[_0x7bfa35(0x144)][_0x7bfa35(0x191)](_0x43d4b8)){const _0xcdd059=_0x2be118()[_0x7bfa35(0x203)](0x1,0x12);this[_0x7bfa35(0x144)][_0x7bfa35(0x206)](_0x43d4b8,_0xcdd059);}return this[_0x7bfa35(0x144)][_0x7bfa35(0x19f)](_0x43d4b8);}}}[_0x2205df(0x19a)](_0x3c3388,_0xb29a35){const _0x18a4c9=_0x2205df;if(!_0xb29a35)return;let _0x3272e3=_0x3c3388[_0x18a4c9(0x1c6)];for(;_0x3272e3--;){const _0x2b6d98=_0x3c3388[_0x3272e3];this[_0x18a4c9(0x15d)][_0x18a4c9(0x191)](_0x2b6d98)||this[_0x18a4c9(0x144)][_0x18a4c9(0x206)](_0x2b6d98,_0xb29a35);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2140bf=_0x4c91;(function(_0x362bcd,_0x146dfc){const _0xc9e83b=_0x4c91,_0x5a4c43=_0x362bcd();while(!![]){try{const _0x586e33=parseInt(_0xc9e83b(0xde))/0x1*(-parseInt(_0xc9e83b(0xfe))/0x2)+parseInt(_0xc9e83b(0xf2))/0x3*(parseInt(_0xc9e83b(0xe0))/0x4)+-parseInt(_0xc9e83b(0x110))/0x5*(parseInt(_0xc9e83b(0xdc))/0x6)+parseInt(_0xc9e83b(0x114))/0x7+-parseInt(_0xc9e83b(0x116))/0x8*(-parseInt(_0xc9e83b(0xeb))/0x9)+-parseInt(_0xc9e83b(0x104))/0xa+parseInt(_0xc9e83b(0x10b))/0xb;if(_0x586e33===_0x146dfc)break;else _0x5a4c43['push'](_0x5a4c43['shift']());}catch(_0x222f60){_0x5a4c43['push'](_0x5a4c43['shift']());}}}(_0x43f6,0x520d3));import{ContextPlugin as _0x5d3deb}from'ckeditor5/src/core.js';import{Collection as _0x5784b4,CKEditorError as _0x5b68f7}from'ckeditor5/src/utils.js';function _0x4c91(_0x4e5047,_0x228347){const _0x43f695=_0x43f6();return _0x4c91=function(_0x4c9148,_0x4ecc05){_0x4c9148=_0x4c9148-0xdc;let _0x523294=_0x43f695[_0x4c9148];return _0x523294;},_0x4c91(_0x4e5047,_0x228347);}import{WebSocketGateway as _0x45e298}from'./websocketgateway.js';import{Users as _0xf79222}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5d3deb{[_0x2140bf(0xf7)];[_0x2140bf(0xe8)];[_0x2140bf(0xe5)];[_0x2140bf(0x10d)];[_0x2140bf(0x115)];[_0x2140bf(0x11a)];static get[_0x2140bf(0x106)](){const _0x2fd185=_0x2140bf;return _0x2fd185(0x11b);}static get[_0x2140bf(0xf8)](){return!0x0;}static get[_0x2140bf(0x10c)](){return!0x0;}static get[_0x2140bf(0x111)](){return[_0x45e298,_0xf79222];}constructor(_0x5a8d5f){const _0x358912=_0x2140bf;super(_0x5a8d5f),this[_0x358912(0xf7)]=new Map(),this[_0x358912(0xe8)]=new Map(),this[_0x358912(0xe5)]=new _0x5784b4(),this[_0x358912(0x10d)]=new Map(),this[_0x358912(0x115)]=0x0,this[_0x358912(0x11a)]=this[_0x358912(0xfa)][_0x358912(0xdf)][_0x358912(0xef)](_0xf79222);}[_0x2140bf(0xf6)](){const _0x3096eb=_0x2140bf,_0x261a37=this[_0x3096eb(0xfa)][_0x3096eb(0xdf)][_0x3096eb(0xef)](_0x45e298);this[_0x3096eb(0x102)](_0x261a37,_0x3096eb(0x108),(_0x361288,_0x35b663,_0x35c70a)=>{const _0x11dc10=_0x3096eb;if(_0x11dc10(0x113)!==_0x35c70a)this[_0x11dc10(0xf7)][_0x11dc10(0xdd)](_0x2957df=>_0x2957df[_0x11dc10(0x101)]()),this[_0x11dc10(0xe8)][_0x11dc10(0xdd)](_0x40587d=>_0x40587d[_0x11dc10(0x101)]()),this[_0x11dc10(0xe5)][_0x11dc10(0x101)]();else{for(const [_0x33dd56,_0x10e9bd]of this[_0x11dc10(0x10d)])for(const _0x220e17 of _0x10e9bd)this[_0x11dc10(0x10e)](_0x33dd56,_0x220e17);}}),this[_0x3096eb(0x117)](_0x261a37[_0x3096eb(0xf5)]['me'],!0x0);}[_0x2140bf(0xfc)](_0x3d1c49,_0x408816){const _0x32ff45=_0x2140bf;if(this[_0x32ff45(0x10d)][_0x32ff45(0xfb)](_0x3d1c49))throw new _0x5b68f7(_0x32ff45(0xe7),null,{'channelId':_0x3d1c49});this[_0x32ff45(0x10d)][_0x32ff45(0x10f)](_0x3d1c49,_0x408816),this[_0x32ff45(0xf7)][_0x32ff45(0x10f)](_0x3d1c49,new _0x5784b4()),this[_0x32ff45(0xe8)][_0x32ff45(0x10f)](_0x3d1c49,new _0x5784b4()),this[_0x32ff45(0x102)](_0x408816,_0x32ff45(0xe9),(_0x17ac6f,_0x10f093)=>this[_0x32ff45(0x10e)](_0x3d1c49,_0x10f093)),this[_0x32ff45(0x102)](_0x408816,_0x32ff45(0x100),(_0x4fa14d,_0x576d6f)=>this[_0x32ff45(0xf9)](_0x3d1c49,_0x576d6f));for(const _0xfb69f5 of _0x408816)this[_0x32ff45(0x10e)](_0x3d1c49,_0xfb69f5);}[_0x2140bf(0xf3)](_0x12e4fb){const _0x455eba=_0x2140bf;if(!this[_0x455eba(0x10d)][_0x455eba(0xfb)](_0x12e4fb))throw new _0x5b68f7(_0x455eba(0x107),null,{'channelId':_0x12e4fb});const _0xc60e18=this[_0x455eba(0x10d)][_0x455eba(0xef)](_0x12e4fb);this[_0x455eba(0xff)](_0xc60e18);for(const _0x222787 of _0xc60e18)_0x455eba(0x113)===this[_0x455eba(0xfa)][_0x455eba(0xdf)][_0x455eba(0xef)](_0x45e298)[_0x455eba(0x112)]&&this[_0x455eba(0xf9)](_0x12e4fb,_0x222787);this[_0x455eba(0x10d)][_0x455eba(0xea)](_0x12e4fb),this[_0x455eba(0xf7)][_0x455eba(0xea)](_0x12e4fb),this[_0x455eba(0xe8)][_0x455eba(0xea)](_0x12e4fb);}get[_0x2140bf(0xf1)](){const _0x2fa07b=_0x2140bf;return this[_0x2fa07b(0xfa)][_0x2fa07b(0xdf)][_0x2fa07b(0xef)](_0x45e298)[_0x2fa07b(0xf5)][_0x2fa07b(0xf4)];}[_0x2140bf(0xe3)](_0x39c245){const _0x24a6cd=_0x2140bf;for(const _0x566741 of this[_0x24a6cd(0xf7)][_0x24a6cd(0xed)]())for(const _0x32f653 of _0x566741)if(_0x32f653['id']===_0x39c245)return _0x32f653[_0x24a6cd(0x10a)];}[_0x2140bf(0xe1)](_0xc8f9b3,_0x10cdf1){const _0x35bcb6=_0x2140bf,_0x1b0f65=_0x10cdf1?[this[_0x35bcb6(0xf7)][_0x35bcb6(0xef)](_0x10cdf1)]:this[_0x35bcb6(0xf7)][_0x35bcb6(0xed)](),_0xc92852=new Set();for(const _0x2858f8 of _0x1b0f65)for(const _0x5b776f of _0x2858f8)_0x5b776f[_0x35bcb6(0x10a)]['id']===_0xc8f9b3['id']&&_0xc92852[_0x35bcb6(0xe9)](_0x5b776f['id']);return _0xc92852;}[_0x2140bf(0xe6)](_0x494583){const _0x492d03=_0x2140bf;for(const _0x388a7c of this[_0x492d03(0xf7)][_0x492d03(0xed)]())for(const _0x59d701 of _0x388a7c)if(_0x59d701[_0x492d03(0x10a)]===_0x494583)return _0x59d701[_0x492d03(0xec)];}[_0x2140bf(0x10e)](_0x2b7d1e,_0x23289e){const _0x29a7b4=_0x2140bf;if(_0x29a7b4(0x113)!==this[_0x29a7b4(0xfa)][_0x29a7b4(0xdf)][_0x29a7b4(0xef)](_0x45e298)[_0x29a7b4(0x112)])return;const _0x4af1c2=_0x23289e[_0x29a7b4(0x10a)],_0x1fb5f2=this[_0x29a7b4(0x11a)][_0x29a7b4(0xee)](_0x4af1c2['id'])||this[_0x29a7b4(0x117)](_0x4af1c2),_0x44a4b0=Object[_0x29a7b4(0xfd)]({},_0x23289e,{'user':_0x1fb5f2});if(this[_0x29a7b4(0xf7)][_0x29a7b4(0xef)](_0x2b7d1e)[_0x29a7b4(0xe9)](_0x44a4b0),!_0x4af1c2[_0x29a7b4(0xe4)]){const _0x193d9a=this[_0x29a7b4(0xe8)][_0x29a7b4(0xef)](_0x2b7d1e);_0x193d9a[_0x29a7b4(0xfb)](_0x1fb5f2['id'])||_0x193d9a[_0x29a7b4(0xe9)](_0x1fb5f2),this[_0x29a7b4(0xe5)][_0x29a7b4(0xfb)](_0x1fb5f2['id'])||_0x4af1c2[_0x29a7b4(0xe4)]||this[_0x29a7b4(0xe5)][_0x29a7b4(0xe9)](_0x1fb5f2,_0x1fb5f2[_0x29a7b4(0x109)]?0x0:void 0x0);}this[_0x29a7b4(0xe2)](_0x29a7b4(0x119)+_0x2b7d1e,{'channelId':_0x2b7d1e,'session':_0x44a4b0});}[_0x2140bf(0xf9)](_0x1baef7,_0x3bff1e){const _0x15c5cf=_0x2140bf;if(_0x15c5cf(0x113)!==this[_0x15c5cf(0xfa)][_0x15c5cf(0xdf)][_0x15c5cf(0xef)](_0x45e298)[_0x15c5cf(0x112)])return;const _0x27a60b=this[_0x15c5cf(0xe8)][_0x15c5cf(0xef)](_0x1baef7),_0xaa0655=_0x3bff1e[_0x15c5cf(0x10a)];_0xaa0655['id']&&(this[_0x15c5cf(0xf7)][_0x15c5cf(0xef)](_0x1baef7)[_0x15c5cf(0x100)](_0x3bff1e['id']),_0x27a60b[_0x15c5cf(0xfb)](_0xaa0655['id'])&&!this[_0x15c5cf(0xe1)](_0xaa0655,_0x1baef7)[_0x15c5cf(0x103)]&&_0x27a60b[_0x15c5cf(0x100)](_0xaa0655['id']),this[_0x15c5cf(0xe5)][_0x15c5cf(0xef)](_0xaa0655['id'])&&!this[_0x15c5cf(0xe1)](_0xaa0655)[_0x15c5cf(0x103)]&&this[_0x15c5cf(0xe5)][_0x15c5cf(0x100)](_0xaa0655['id']));}[_0x2140bf(0x117)](_0x4c0119,_0x509e1f){const _0x6bfa15=_0x2140bf,_0x4a7bb6=this[_0x6bfa15(0x11a)][_0x6bfa15(0x118)](_0x4c0119);return _0x509e1f&&this[_0x6bfa15(0x11a)][_0x6bfa15(0x105)](_0x4c0119['id']),_0x4a7bb6[_0x6bfa15(0xf0)]=this[_0x6bfa15(0x115)]++,_0x4a7bb6;}}function _0x43f6(){const _0x1c7996=['isMe','user','7676966TcKdFU','isPremiumPlugin','_registeredSessions','_handleSessionAdd','set','22735GMKTSs','requires','state','connected','1118005gIKKre','_uniqueUsersCount','16NYiQJf','_createUser','addUser','sessionAdd:','_users','Sessions','156nMyJtl','forEach','11236TdRBnW','plugins','4fUrALQ','getUserSessions','fire','getUserBySessionId','hiddenInPresenceList','allConnectedUsers','getUserRole','sessions-register-already-registered','channelConnectedUsers','add','delete','2617497JrCMcd','role','values','getUser','get','orderNumber','mySessionId','413739hufnOJ','unregister','sessionId','connection','init','channelSessions','isOfficialPlugin','_handleSessionRemove','context','has','register','assign','82FgbhMs','stopListening','remove','clear','listenTo','size','6622190ABVCTY','defineMe','pluginName','sessions-unregister-not-exist','change:state'];_0x43f6=function(){return _0x1c7996;};return _0x43f6();}
23
+ const _0x19aef5=_0x5f45;function _0x3809(){const _0x56024f=['181354SJsDCv','set','init','_uniqueUsersCount','_users','sessions-register-already-registered','addUser','values','sessionAdd:','getUser','defineMe','sessions-unregister-not-exist','clear','connected','_registeredSessions','3885992yYrMhv','get','state','pluginName','channelConnectedUsers','1431325WzHYVo','listenTo','_createUser','role','545HPSTIs','_handleSessionRemove','register','9066IxFlKm','hiddenInPresenceList','1266794JjpHPG','connection','2233737uTocMe','change:state','forEach','assign','delete','stopListening','Sessions','remove','24zhYrJd','_handleSessionAdd','add','plugins','requires','isOfficialPlugin','isPremiumPlugin','fire','isMe','orderNumber','mySessionId','sessionId','getUserSessions','unregister','has','size','1462830UMWLrc','context','getUserBySessionId','12TjwTzN','allConnectedUsers','getUserRole','channelSessions','user'];_0x3809=function(){return _0x56024f;};return _0x3809();}(function(_0x459bad,_0x5b282a){const _0x42fcaa=_0x5f45,_0x4fc1e1=_0x459bad();while(!![]){try{const _0x26aa20=parseInt(_0x42fcaa(0x14b))/0x1+parseInt(_0x42fcaa(0x16d))/0x2*(-parseInt(_0x42fcaa(0x168))/0x3)+parseInt(_0x42fcaa(0x13d))/0x4+-parseInt(_0x42fcaa(0x146))/0x5*(parseInt(_0x42fcaa(0x149))/0x6)+-parseInt(_0x42fcaa(0x142))/0x7+parseInt(_0x42fcaa(0x155))/0x8*(-parseInt(_0x42fcaa(0x14d))/0x9)+parseInt(_0x42fcaa(0x165))/0xa;if(_0x26aa20===_0x5b282a)break;else _0x4fc1e1['push'](_0x4fc1e1['shift']());}catch(_0x33bdd8){_0x4fc1e1['push'](_0x4fc1e1['shift']());}}}(_0x3809,0xddb52));import{ContextPlugin as _0x1f374b}from'ckeditor5/src/core.js';import{Collection as _0x57f8da,CKEditorError as _0x4ab5d5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xcff289}from'./websocketgateway.js';import{Users as _0x6ef11d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5f45(_0x2c49b9,_0x190d28){const _0x3809d5=_0x3809();return _0x5f45=function(_0x5f45c7,_0x48672a){_0x5f45c7=_0x5f45c7-0x133;let _0x1c0920=_0x3809d5[_0x5f45c7];return _0x1c0920;},_0x5f45(_0x2c49b9,_0x190d28);}export class Sessions extends _0x1f374b{[_0x19aef5(0x16b)];[_0x19aef5(0x141)];[_0x19aef5(0x169)];[_0x19aef5(0x13c)];[_0x19aef5(0x170)];[_0x19aef5(0x171)];static get[_0x19aef5(0x140)](){const _0x540bf6=_0x19aef5;return _0x540bf6(0x153);}static get[_0x19aef5(0x15a)](){return!0x0;}static get[_0x19aef5(0x15b)](){return!0x0;}static get[_0x19aef5(0x159)](){return[_0xcff289,_0x6ef11d];}constructor(_0xe7fc3e){const _0x1c07fb=_0x19aef5;super(_0xe7fc3e),this[_0x1c07fb(0x16b)]=new Map(),this[_0x1c07fb(0x141)]=new Map(),this[_0x1c07fb(0x169)]=new _0x57f8da(),this[_0x1c07fb(0x13c)]=new Map(),this[_0x1c07fb(0x170)]=0x0,this[_0x1c07fb(0x171)]=this[_0x1c07fb(0x166)][_0x1c07fb(0x158)][_0x1c07fb(0x13e)](_0x6ef11d);}[_0x19aef5(0x16f)](){const _0x4cb004=_0x19aef5,_0x157c28=this[_0x4cb004(0x166)][_0x4cb004(0x158)][_0x4cb004(0x13e)](_0xcff289);this[_0x4cb004(0x143)](_0x157c28,_0x4cb004(0x14e),(_0x1d3c75,_0x25e972,_0x4af14f)=>{const _0x49571d=_0x4cb004;if(_0x49571d(0x13b)!==_0x4af14f)this[_0x49571d(0x16b)][_0x49571d(0x14f)](_0x1ce67b=>_0x1ce67b[_0x49571d(0x13a)]()),this[_0x49571d(0x141)][_0x49571d(0x14f)](_0x5459bf=>_0x5459bf[_0x49571d(0x13a)]()),this[_0x49571d(0x169)][_0x49571d(0x13a)]();else{for(const [_0x2a8b6a,_0x43cc41]of this[_0x49571d(0x13c)])for(const _0x430167 of _0x43cc41)this[_0x49571d(0x156)](_0x2a8b6a,_0x430167);}}),this[_0x4cb004(0x144)](_0x157c28[_0x4cb004(0x14c)]['me'],!0x0);}[_0x19aef5(0x148)](_0x3fd8c1,_0x152eb4){const _0x16f952=_0x19aef5;if(this[_0x16f952(0x13c)][_0x16f952(0x163)](_0x3fd8c1))throw new _0x4ab5d5(_0x16f952(0x133),null,{'channelId':_0x3fd8c1});this[_0x16f952(0x13c)][_0x16f952(0x16e)](_0x3fd8c1,_0x152eb4),this[_0x16f952(0x16b)][_0x16f952(0x16e)](_0x3fd8c1,new _0x57f8da()),this[_0x16f952(0x141)][_0x16f952(0x16e)](_0x3fd8c1,new _0x57f8da()),this[_0x16f952(0x143)](_0x152eb4,_0x16f952(0x157),(_0x834a4b,_0x536920)=>this[_0x16f952(0x156)](_0x3fd8c1,_0x536920)),this[_0x16f952(0x143)](_0x152eb4,_0x16f952(0x154),(_0x28457c,_0x46af70)=>this[_0x16f952(0x147)](_0x3fd8c1,_0x46af70));for(const _0x2b49b6 of _0x152eb4)this[_0x16f952(0x156)](_0x3fd8c1,_0x2b49b6);}[_0x19aef5(0x162)](_0x4965de){const _0x206faa=_0x19aef5;if(!this[_0x206faa(0x13c)][_0x206faa(0x163)](_0x4965de))throw new _0x4ab5d5(_0x206faa(0x139),null,{'channelId':_0x4965de});const _0x4dc0fc=this[_0x206faa(0x13c)][_0x206faa(0x13e)](_0x4965de);this[_0x206faa(0x152)](_0x4dc0fc);for(const _0x59eaef of _0x4dc0fc)_0x206faa(0x13b)===this[_0x206faa(0x166)][_0x206faa(0x158)][_0x206faa(0x13e)](_0xcff289)[_0x206faa(0x13f)]&&this[_0x206faa(0x147)](_0x4965de,_0x59eaef);this[_0x206faa(0x13c)][_0x206faa(0x151)](_0x4965de),this[_0x206faa(0x16b)][_0x206faa(0x151)](_0x4965de),this[_0x206faa(0x141)][_0x206faa(0x151)](_0x4965de);}get[_0x19aef5(0x15f)](){const _0xb9a22f=_0x19aef5;return this[_0xb9a22f(0x166)][_0xb9a22f(0x158)][_0xb9a22f(0x13e)](_0xcff289)[_0xb9a22f(0x14c)][_0xb9a22f(0x160)];}[_0x19aef5(0x167)](_0x4b18bf){const _0x36fec8=_0x19aef5;for(const _0x42b5b5 of this[_0x36fec8(0x16b)][_0x36fec8(0x135)]())for(const _0x3c3258 of _0x42b5b5)if(_0x3c3258['id']===_0x4b18bf)return _0x3c3258[_0x36fec8(0x16c)];}[_0x19aef5(0x161)](_0x478c7a,_0x2141c5){const _0x54401f=_0x19aef5,_0x5a1297=_0x2141c5?[this[_0x54401f(0x16b)][_0x54401f(0x13e)](_0x2141c5)]:this[_0x54401f(0x16b)][_0x54401f(0x135)](),_0x45b77a=new Set();for(const _0x326bbd of _0x5a1297)for(const _0x29618b of _0x326bbd)_0x29618b[_0x54401f(0x16c)]['id']===_0x478c7a['id']&&_0x45b77a[_0x54401f(0x157)](_0x29618b['id']);return _0x45b77a;}[_0x19aef5(0x16a)](_0x41ec2e){const _0x272762=_0x19aef5;for(const _0x2478a1 of this[_0x272762(0x16b)][_0x272762(0x135)]())for(const _0x407870 of _0x2478a1)if(_0x407870[_0x272762(0x16c)]===_0x41ec2e)return _0x407870[_0x272762(0x145)];}[_0x19aef5(0x156)](_0x5d439c,_0x40f0b8){const _0x3e518b=_0x19aef5;if(_0x3e518b(0x13b)!==this[_0x3e518b(0x166)][_0x3e518b(0x158)][_0x3e518b(0x13e)](_0xcff289)[_0x3e518b(0x13f)])return;const _0x54bdd5=_0x40f0b8[_0x3e518b(0x16c)],_0x26675c=this[_0x3e518b(0x171)][_0x3e518b(0x137)](_0x54bdd5['id'])||this[_0x3e518b(0x144)](_0x54bdd5),_0xc535e4=Object[_0x3e518b(0x150)]({},_0x40f0b8,{'user':_0x26675c});if(this[_0x3e518b(0x16b)][_0x3e518b(0x13e)](_0x5d439c)[_0x3e518b(0x157)](_0xc535e4),!_0x54bdd5[_0x3e518b(0x14a)]){const _0x46f6ec=this[_0x3e518b(0x141)][_0x3e518b(0x13e)](_0x5d439c);_0x46f6ec[_0x3e518b(0x163)](_0x26675c['id'])||_0x46f6ec[_0x3e518b(0x157)](_0x26675c),this[_0x3e518b(0x169)][_0x3e518b(0x163)](_0x26675c['id'])||_0x54bdd5[_0x3e518b(0x14a)]||this[_0x3e518b(0x169)][_0x3e518b(0x157)](_0x26675c,_0x26675c[_0x3e518b(0x15d)]?0x0:void 0x0);}this[_0x3e518b(0x15c)](_0x3e518b(0x136)+_0x5d439c,{'channelId':_0x5d439c,'session':_0xc535e4});}[_0x19aef5(0x147)](_0x4e8d2d,_0x42d5e1){const _0x12d616=_0x19aef5;if(_0x12d616(0x13b)!==this[_0x12d616(0x166)][_0x12d616(0x158)][_0x12d616(0x13e)](_0xcff289)[_0x12d616(0x13f)])return;const _0x439e38=this[_0x12d616(0x141)][_0x12d616(0x13e)](_0x4e8d2d),_0x188a90=_0x42d5e1[_0x12d616(0x16c)];_0x188a90['id']&&(this[_0x12d616(0x16b)][_0x12d616(0x13e)](_0x4e8d2d)[_0x12d616(0x154)](_0x42d5e1['id']),_0x439e38[_0x12d616(0x163)](_0x188a90['id'])&&!this[_0x12d616(0x161)](_0x188a90,_0x4e8d2d)[_0x12d616(0x164)]&&_0x439e38[_0x12d616(0x154)](_0x188a90['id']),this[_0x12d616(0x169)][_0x12d616(0x13e)](_0x188a90['id'])&&!this[_0x12d616(0x161)](_0x188a90)[_0x12d616(0x164)]&&this[_0x12d616(0x169)][_0x12d616(0x154)](_0x188a90['id']));}[_0x19aef5(0x144)](_0x1f5188,_0x2bef98){const _0xa4fbb1=_0x19aef5,_0x5d6bf9=this[_0xa4fbb1(0x171)][_0xa4fbb1(0x134)](_0x1f5188);return _0x2bef98&&this[_0xa4fbb1(0x171)][_0xa4fbb1(0x138)](_0x1f5188['id']),_0x5d6bf9[_0xa4fbb1(0x15e)]=this[_0xa4fbb1(0x170)]++,_0x5d6bf9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b4b38=_0x476f;function _0x3294(){const _0x2fc79f=['56JwMlOS','destroy','27qRQHEx','conversion','2098260FgIlNO','isSimilar','isDocumentOperation','ck-user__marker-tooltip','editor','startsWith','mySessionId','enqueueChange','marker','start','document','split','getNearestSelectionRange','init','markerName','isPremiumPlugin','view','createUserMarkerOperations','getAttribute','toRange','listenTo','type','deletionPosition','fromRange','_createdBatches','ck-user__marker\x20','isObject','keydown','commands','user:position:','checkChild','86sNumaS','isLimit','contenteditable','pluginName','createElement','tableCell','selection','size','afterInit','getContainedElement','6049DYBzSo','createUIElement','editingDowncast','toDomElement','stopListening','markers','setCustomProperty','UserMarkers','rootName','hasContent','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','root','user:','mapper','schema','_domEmitter','color','getStart','has','markerToElement','markerRange','Escape','oldRange','user:position','addEventListener','span','getPositions','false','change:range','getUserBySessionId','49158kCfTjg','add','for','remove','isCollapsed','outerHTML','getSelectionClass','render','get','classList','user:range','isInline','removeMarker','updateMarker','batch','getCustomProperty','editing','mouseleave','end','requires','hasDomSelection','nodeAfter','ck-user__marker_hovered','orderNumber','createRange','element','userPositionMarker','isOfficialPlugin','plugins','parent','clear','update:user:range','addMarker','1221030vOiXeE','newRange','559461iBaxHF','3862470PxMcYT','detach','ck-user__selection','removeClass','user:range:','getMarkerClass','getFirstRange','change','name','$text','markerNameToElements','innerHTML','markerToHighlight','39332hjEqJt','undo','applyOperation','mouseenter','getRange','data-session-id','set','textContent','reconvertMarker','model','spellcheck','delete','setAttribute','highest','$graveyard'];_0x3294=function(){return _0x2fc79f;};return _0x3294();}(function(_0x1a38bc,_0x30d898){const _0x24778d=_0x476f,_0xe326f4=_0x1a38bc();while(!![]){try{const _0x22b434=-parseInt(_0x24778d(0x25e))/0x1*(-parseInt(_0x24778d(0x254))/0x2)+parseInt(_0x24778d(0x233))/0x3*(parseInt(_0x24778d(0x222))/0x4)+-parseInt(_0x24778d(0x212))/0x5+-parseInt(_0x24778d(0x235))/0x6+parseInt(_0x24778d(0x214))/0x7+parseInt(_0x24778d(0x231))/0x8*(-parseInt(_0x24778d(0x1f1))/0x9)+parseInt(_0x24778d(0x215))/0xa;if(_0x22b434===_0x30d898)break;else _0xe326f4['push'](_0xe326f4['shift']());}catch(_0x1a8fab){_0xe326f4['push'](_0xe326f4['shift']());}}}(_0x3294,0x2c960));import{Plugin as _0x17e096}from'ckeditor5/src/core.js';import{global as _0x68eec1,DomEmitterMixin as _0x2140e0}from'ckeditor5/src/utils.js';import{Sessions as _0x2d8ab7}from'./sessions.js';function _0x476f(_0x4741ed,_0x21a847){const _0x329453=_0x3294();return _0x476f=function(_0x476f78,_0x4223b3){_0x476f78=_0x476f78-0x1e7;let _0x25e3d2=_0x329453[_0x476f78];return _0x25e3d2;},_0x476f(_0x4741ed,_0x21a847);}import{ModelLiveRange as _0x123469}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x17e096{[_0x4b4b38(0x26d)]=new(_0x2140e0())();static get[_0x4b4b38(0x204)](){return[_0x2d8ab7];}static get[_0x4b4b38(0x257)](){const _0x74c2a=_0x4b4b38;return _0x74c2a(0x265);}static get[_0x4b4b38(0x20c)](){return!0x0;}static get[_0x4b4b38(0x244)](){return!0x0;}[_0x4b4b38(0x242)](){const _0x371caf=_0x4b4b38,_0x38f32a=this[_0x371caf(0x239)],_0x183954=_0x38f32a[_0x371caf(0x20d)][_0x371caf(0x1f9)](_0x2d8ab7);_0x38f32a[_0x371caf(0x234)][_0x371caf(0x1f3)](_0x371caf(0x260))[_0x371caf(0x271)]({'model':_0x371caf(0x1ea),'view':(_0x5e3e11,{writer:_0xb73d4b})=>function(_0x443152,_0x8e1934,_0x4365e8,_0x53ec0a){const _0x406cf4=_0x371caf,_0x12ae7b=_0x443152[_0x406cf4(0x243)][_0x406cf4(0x240)](':')[0x2],_0x5cd495=_0x4365e8[_0x406cf4(0x1f0)](_0x12ae7b);if(!_0x5cd495||_0x12ae7b===_0x4365e8[_0x406cf4(0x23b)])return;if(!_0x53ec0a[_0x406cf4(0x22b)][_0x406cf4(0x26c)][_0x406cf4(0x253)](_0x443152[_0x406cf4(0x1e7)][_0x406cf4(0x23e)],_0x406cf4(0x21e)))return;const _0x1ca767={'class':_0x406cf4(0x24e)+_0x5cd495[_0x406cf4(0x26e)][_0x406cf4(0x21a)](),'data-name':_0x5cd495[_0x406cf4(0x21d)],'data-session-id':_0x12ae7b},_0x5d8fd4=_0x53ec0a[_0x406cf4(0x22b)][_0x406cf4(0x263)][_0x406cf4(0x1f9)](_0x443152[_0x406cf4(0x243)]),_0x2c8e6f=_0x5d8fd4[_0x406cf4(0x26f)](),_0x14c0f2=_0x2c8e6f[_0x406cf4(0x206)],_0x816956=_0x53ec0a[_0x406cf4(0x22b)][_0x406cf4(0x26c)];if(_0x14c0f2&&_0x816956[_0x406cf4(0x24f)](_0x14c0f2)&&_0x816956[_0x406cf4(0x1fc)](_0x14c0f2)&&!_0x53ec0a[_0x406cf4(0x22b)][_0x406cf4(0x263)][_0x406cf4(0x1f9)](_0x406cf4(0x219)+_0x12ae7b)[_0x406cf4(0x226)]()[_0x406cf4(0x1f5)])return;const _0x1d0455=_0x2c8e6f[_0x406cf4(0x20e)];return _0x53ec0a[_0x406cf4(0x22b)][_0x406cf4(0x26c)][_0x406cf4(0x255)](_0x1d0455)&&!_0x53ec0a[_0x406cf4(0x22b)][_0x406cf4(0x267)](_0x1d0455)&&(_0x1ca767[_0x406cf4(0x256)]=!0x1),function(_0x5ca736,_0x224e12,_0x7f69d9){const _0x59ee5e=_0x406cf4,_0x244b78=_0x5ca736[_0x59ee5e(0x25f)](_0x59ee5e(0x1ec),_0x224e12);return _0x5ca736[_0x59ee5e(0x264)](_0x59ee5e(0x20b),!0x0,_0x244b78),_0x244b78[_0x59ee5e(0x1f8)]=function(_0x114035){const _0x2018f8=_0x59ee5e,_0x1c60de=this[_0x2018f8(0x261)](_0x114035),_0x4bf8a3=document[_0x2018f8(0x258)](_0x2018f8(0x1ec));return _0x4bf8a3[_0x2018f8(0x1fa)][_0x2018f8(0x1f2)](_0x2018f8(0x238)),_0x4bf8a3[_0x2018f8(0x22e)](_0x2018f8(0x256),_0x2018f8(0x1ee)),_0x4bf8a3[_0x2018f8(0x22e)](_0x2018f8(0x22c),_0x2018f8(0x1ee)),_0x4bf8a3[_0x2018f8(0x229)]=_0x7f69d9[_0x2018f8(0x21d)],_0x1c60de[_0x2018f8(0x220)]=_0x2018f8(0x268)+_0x4bf8a3[_0x2018f8(0x1f6)]+'⁠',_0x1c60de[_0x2018f8(0x1eb)](_0x2018f8(0x225),()=>{const _0x515da6=_0x2018f8;_0x1c60de[_0x515da6(0x1fa)][_0x515da6(0x1f2)](_0x515da6(0x207));}),_0x1c60de[_0x2018f8(0x1eb)](_0x2018f8(0x202),()=>{const _0x43f4b6=_0x2018f8;_0x1c60de[_0x43f4b6(0x1fa)][_0x43f4b6(0x1f4)](_0x43f4b6(0x207));}),_0x1c60de;},_0x244b78[_0x59ee5e(0x236)]=function(_0x3a31ac){const _0x3c5b81=_0x59ee5e;return!(!this[_0x3c5b81(0x200)](_0x3c5b81(0x20b))||!_0x3a31ac[_0x3c5b81(0x200)](_0x3c5b81(0x20b))||this[_0x3c5b81(0x247)](_0x3c5b81(0x227))!=_0x3a31ac[_0x3c5b81(0x247)](_0x3c5b81(0x227)));},_0x244b78;}(_0x8e1934,_0x1ca767,_0x5cd495);}(_0x5e3e11,_0xb73d4b,_0x183954,_0x38f32a)}),_0x38f32a[_0x371caf(0x234)][_0x371caf(0x1f3)](_0x371caf(0x260))[_0x371caf(0x221)]({'model':_0x371caf(0x1fb),'view':_0x1588b5=>function(_0x163c6f,_0x46405d){const _0x5352c6=_0x371caf,_0x9b5dac=_0x163c6f[_0x5352c6(0x243)][_0x5352c6(0x240)](':')[0x2];if(_0x9b5dac===_0x46405d[_0x5352c6(0x23b)])return null;const _0x45a44b=_0x46405d[_0x5352c6(0x1f0)](_0x9b5dac);if(!_0x45a44b)return{'id':_0x9b5dac,'classes':[]};return{'id':_0x9b5dac,'classes':[_0x5352c6(0x217),_0x45a44b[_0x5352c6(0x26e)][_0x5352c6(0x1f7)]()],'attributes':{'data-session-id':_0x9b5dac},'priority':0x7d0+_0x45a44b[_0x5352c6(0x208)]};}(_0x1588b5,_0x183954)}),function(_0x1aedb0){const _0x4bd65e=_0x371caf,_0x10b0ed=_0x1aedb0[_0x4bd65e(0x22b)],_0x2ce811=new Map(),_0xd55be6=_0x1aedb0[_0x4bd65e(0x20d)][_0x4bd65e(0x1f9)](_0x2d8ab7);_0x10b0ed[_0x4bd65e(0x263)]['on'](_0x4bd65e(0x210),(_0x21942e,_0x5e2c71,_0x527627,_0x241bde)=>{const _0x57a979=_0x4bd65e;if(!_0x241bde&&_0x2ce811[_0x57a979(0x1f9)](_0x5e2c71[_0x57a979(0x21d)]))return _0x2ce811[_0x57a979(0x1f9)](_0x5e2c71[_0x57a979(0x21d)])[_0x57a979(0x216)](),void _0x2ce811[_0x57a979(0x22d)](_0x5e2c71[_0x57a979(0x21d)]);const _0x3a8b6e=_0x5e2c71[_0x57a979(0x21d)][_0x57a979(0x240)](':')[0x2];if(_0x3a8b6e===_0xd55be6[_0x57a979(0x23b)])return;const _0x502f29=_0x57a979(0x252)+_0x3a8b6e;_0x10b0ed[_0x57a979(0x263)][_0x57a979(0x270)](_0x502f29)&&_0x1aedb0[_0x57a979(0x201)][_0x57a979(0x22a)](_0x502f29),_0x5e2c71['on'](_0x57a979(0x1ef),(_0x37ffc1,_0x5365de,_0x8bf324)=>{const _0x51a7ec=_0x57a979;if(_0x51a7ec(0x230)!=_0x5365de[_0x51a7ec(0x269)][_0x51a7ec(0x266)]&&_0x51a7ec(0x230)==_0x5e2c71[_0x51a7ec(0x226)]()[_0x51a7ec(0x269)][_0x51a7ec(0x266)]&&!_0x2ce811[_0x51a7ec(0x270)](_0x5e2c71[_0x51a7ec(0x21d)])){const _0x35bdef=_0x10b0ed[_0x51a7ec(0x26c)][_0x51a7ec(0x241)](_0x8bf324[_0x51a7ec(0x24b)]);if(_0x35bdef){const _0x566061=_0x123469[_0x51a7ec(0x24c)](_0x35bdef);_0x2ce811[_0x51a7ec(0x228)](_0x5e2c71[_0x51a7ec(0x21d)],_0x566061),_0x566061['on'](_0x51a7ec(0x1ef),(_0x3d9f89,_0xee9b,_0x2365dc)=>{const _0x3c9d31=_0x51a7ec;if(_0x3c9d31(0x230)==_0x566061[_0x3c9d31(0x269)][_0x3c9d31(0x266)]){const _0x417271=_0x10b0ed[_0x3c9d31(0x26c)][_0x3c9d31(0x241)](_0x2365dc[_0x3c9d31(0x24b)]);_0x417271?(_0x566061[_0x3c9d31(0x23e)]=_0x417271[_0x3c9d31(0x23e)],_0x566061[_0x3c9d31(0x203)]=_0x417271[_0x3c9d31(0x203)]):(_0x2ce811[_0x3c9d31(0x22d)](_0x5e2c71[_0x3c9d31(0x21d)]),_0x566061[_0x3c9d31(0x216)]());}});}}});}),_0x10b0ed[_0x4bd65e(0x23f)]['on'](_0x4bd65e(0x21c),()=>{const _0x4c8718=_0x4bd65e;_0x2ce811[_0x4c8718(0x25b)]>0x0&&_0x10b0ed[_0x4c8718(0x23c)]({'isUndoable':!0x1},_0x4c0f08=>{const _0x222931=_0x4c8718;for(const [_0x405b3c,_0xc20a08]of _0x2ce811)_0x222931(0x230)==_0x10b0ed[_0x222931(0x263)][_0x222931(0x1f9)](_0x405b3c)[_0x222931(0x226)]()[_0x222931(0x269)][_0x222931(0x266)]&&(te(_0x405b3c[_0x222931(0x240)](':')[0x2],_0xc20a08[_0x222931(0x248)](),_0x10b0ed,_0x4c0f08),_0xc20a08[_0x222931(0x216)]());_0x2ce811[_0x222931(0x20f)]();});});}(_0x38f32a),this[_0x371caf(0x26d)][_0x371caf(0x249)](_0x68eec1[_0x371caf(0x23f)],_0x371caf(0x250),(_0x2242c,{key:_0xd0a0fa})=>{const _0x18d395=_0x371caf;_0x18d395(0x1e8)===_0xd0a0fa&&function(_0x14ea04){const _0x2b4241=_0x18d395;_0x14ea04[_0x2b4241(0x201)][_0x2b4241(0x245)][_0x2b4241(0x21c)](_0x1165d8=>{const _0x5053d6=_0x2b4241;for(const _0x3110d3 of _0x14ea04[_0x5053d6(0x22b)][_0x5053d6(0x263)]){if(!_0x3110d3[_0x5053d6(0x21d)][_0x5053d6(0x23a)](_0x5053d6(0x1ea)))continue;const _0x3f0487=_0x14ea04[_0x5053d6(0x201)][_0x5053d6(0x26b)][_0x5053d6(0x21f)](_0x3110d3[_0x5053d6(0x21d)]);if(_0x3f0487){for(const _0x505e61 of _0x3f0487)_0x1165d8[_0x5053d6(0x218)](_0x5053d6(0x207),_0x505e61);}}});}(_0x38f32a);},{'useCapture':!0x0});}[_0x4b4b38(0x25c)](){const _0x34c548=_0x4b4b38,_0x5618db=this[_0x34c548(0x239)],_0x12893e=_0x5618db[_0x34c548(0x251)][_0x34c548(0x1f9)](_0x34c548(0x223));_0x12893e&&_0x5618db[_0x34c548(0x22b)]['on'](_0x34c548(0x224),(_0x4ee218,_0x5e2d26)=>{const _0x1ca3e6=_0x34c548,_0x384f3d=_0x5e2d26[0x0];if(!_0x384f3d[_0x1ca3e6(0x237)])return;if(_0x1ca3e6(0x23d)!=_0x384f3d[_0x1ca3e6(0x24a)]||!_0x384f3d[_0x1ca3e6(0x21d)][_0x1ca3e6(0x23a)](_0x1ca3e6(0x26a)))return;const _0x6b3464=_0x384f3d[_0x1ca3e6(0x1ff)];_0x12893e[_0x1ca3e6(0x24d)][_0x1ca3e6(0x270)](_0x6b3464)&&(_0x384f3d[_0x1ca3e6(0x213)]=_0x384f3d[_0x1ca3e6(0x1e9)]?_0x5618db[_0x1ca3e6(0x22b)][_0x1ca3e6(0x209)](_0x384f3d[_0x1ca3e6(0x1e9)][_0x1ca3e6(0x23e)],_0x384f3d[_0x1ca3e6(0x1e9)][_0x1ca3e6(0x203)]):null);},{'priority':_0x34c548(0x22f)});}[_0x4b4b38(0x232)](){const _0x240707=_0x4b4b38;return this[_0x240707(0x26d)][_0x240707(0x262)](),super[_0x240707(0x232)]();}[_0x4b4b38(0x246)](){const _0x574773=_0x4b4b38,_0x67317=this[_0x574773(0x239)],_0x526bd6=_0x67317[_0x574773(0x22b)][_0x574773(0x23f)],_0x8ba47a=_0x67317[_0x574773(0x20d)][_0x574773(0x1f9)](_0x2d8ab7);_0x67317[_0x574773(0x22b)][_0x574773(0x23c)]({'isUndoable':!0x1},_0x3af0f0=>{const _0x3873c1=_0x574773,_0x1b3ae7=_0x3873c1(0x219)+_0x8ba47a[_0x3873c1(0x23b)],_0xbad0e=_0x3873c1(0x252)+_0x8ba47a[_0x3873c1(0x23b)],_0x555cad=_0x67317[_0x3873c1(0x22b)][_0x3873c1(0x263)][_0x3873c1(0x270)](_0x1b3ae7);_0x67317[_0x3873c1(0x201)][_0x3873c1(0x245)][_0x3873c1(0x205)]?te(_0x8ba47a[_0x3873c1(0x23b)],_0x526bd6[_0x3873c1(0x25a)][_0x3873c1(0x21b)](),_0x67317[_0x3873c1(0x22b)],_0x3af0f0):_0x555cad&&(_0x3af0f0[_0x3873c1(0x1fd)](_0x1b3ae7),_0x3af0f0[_0x3873c1(0x1fd)](_0xbad0e));});}}function te(_0x3d8fc6,_0x2017cd,_0x172fd6,_0x56cf33){const _0x1b18a0=_0x4b4b38,_0x381371=_0x1b18a0(0x219)+_0x3d8fc6,_0x3dbdbc=_0x1b18a0(0x252)+_0x3d8fc6,_0x4a6756=_0x2017cd[_0x1b18a0(0x25d)]();let _0x1d90dc=_0x2017cd[_0x1b18a0(0x23e)];if(_0x4a6756&&_0x4a6756['is'](_0x1b18a0(0x20a),_0x1b18a0(0x259))){const _0xb321e=function(_0x35bde0,_0x2ef272){const _0x407571=_0x1b18a0;for(const _0x3fba3f of _0x35bde0[_0x407571(0x1ed)]())if(_0x2ef272[_0x407571(0x26c)][_0x407571(0x253)](_0x3fba3f,_0x407571(0x21e)))return _0x3fba3f;}(_0x2017cd,_0x172fd6);_0xb321e&&(_0x1d90dc=_0xb321e,_0x2017cd=_0x56cf33[_0x1b18a0(0x209)](_0x1d90dc));}const _0xe15b85=_0x56cf33[_0x1b18a0(0x209)](_0x1d90dc);_0x172fd6[_0x1b18a0(0x263)][_0x1b18a0(0x270)](_0x381371)?(_0x56cf33[_0x1b18a0(0x1fe)](_0x381371,{'range':_0x2017cd}),_0x56cf33[_0x1b18a0(0x1fe)](_0x3dbdbc,{'range':_0xe15b85})):(_0x56cf33[_0x1b18a0(0x211)](_0x381371,{'range':_0x2017cd,'usingOperation':!0x0}),_0x56cf33[_0x1b18a0(0x211)](_0x3dbdbc,{'range':_0xe15b85,'usingOperation':!0x0}));}
23
+ const _0x23fd81=_0x4ef7;function _0x4ef7(_0x39bdfe,_0x472518){const _0xd112d4=_0xd112();return _0x4ef7=function(_0x4ef7c0,_0x495228){_0x4ef7c0=_0x4ef7c0-0x108;let _0x4abbc4=_0xd112d4[_0x4ef7c0];return _0x4abbc4;},_0x4ef7(_0x39bdfe,_0x472518);}(function(_0x434872,_0x565f67){const _0x201bbd=_0x4ef7,_0x4e28ce=_0x434872();while(!![]){try{const _0x1a628a=-parseInt(_0x201bbd(0x178))/0x1+-parseInt(_0x201bbd(0x16a))/0x2+-parseInt(_0x201bbd(0x16c))/0x3*(parseInt(_0x201bbd(0x18a))/0x4)+parseInt(_0x201bbd(0x127))/0x5*(parseInt(_0x201bbd(0x10f))/0x6)+-parseInt(_0x201bbd(0x130))/0x7*(-parseInt(_0x201bbd(0x15e))/0x8)+-parseInt(_0x201bbd(0x187))/0x9*(-parseInt(_0x201bbd(0x116))/0xa)+parseInt(_0x201bbd(0x143))/0xb;if(_0x1a628a===_0x565f67)break;else _0x4e28ce['push'](_0x4e28ce['shift']());}catch(_0xe4bca0){_0x4e28ce['push'](_0x4e28ce['shift']());}}}(_0xd112,0x5aa2b));function _0xd112(){const _0xfbbf19=['set','_domEmitter','ck-user__marker-tooltip','4254849BGIXVq','mapper','mouseleave','4SZkVRC','toDomElement','clear','afterInit','oldRange','rootName','textContent','addEventListener','document','getStart','render','getSelectionClass','change','isCollapsed','init','addMarker','ck-user__marker_hovered','2670AoNPZQ','setCustomProperty','batch','getFirstRange','checkChild','_createdBatches','hasDomSelection','10ygPlCL','createElement','nodeAfter','plugins','commands','setAttribute','user:position','startsWith','isDocumentOperation','parent','ck-user__marker\x20','spellcheck','updateMarker','isObject','markerToElement','undo','size','3340NZlpCA','newRange','pluginName','markerNameToElements','deletionPosition','selection','reconvertMarker','removeMarker','model','234283pOLAvV','add','schema','split','end','markers','getContainedElement','editor','classList','getMarkerClass','span','ck-user__selection','user:range','isPremiumPlugin','isOfficialPlugin','getNearestSelectionRange','isInline','for','removeClass','1430682ZwfrvB','listenTo','change:range','detach','keydown','$text','getPositions','orderNumber','getAttribute','type','markerRange','hasContent','tableCell','mySessionId','user:range:','highest','name','false','delete','marker','createUIElement','user:position:','user:','markerToHighlight','applyOperation','userPositionMarker','UserMarkers','152rvWFhh','requires','createRange','fromRange','data-session-id','stopListening','getCustomProperty','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','enqueueChange','getRange','contenteditable','view','1422988qzbaXp','root','922359jdOyZJ','conversion','getUserBySessionId','editingDowncast','$graveyard','has','createUserMarkerOperations','color','Escape','outerHTML','markerName','element','145804ksRzwL','editing','toRange','get','isLimit','innerHTML','start','destroy','mouseenter','isSimilar','remove','update:user:range'];_0xd112=function(){return _0xfbbf19;};return _0xd112();}import{Plugin as _0x87c7d5}from'ckeditor5/src/core.js';import{global as _0x427e66,DomEmitterMixin as _0x337d05}from'ckeditor5/src/utils.js';import{Sessions as _0x714acd}from'./sessions.js';import{ModelLiveRange as _0x2413e0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x87c7d5{[_0x23fd81(0x185)]=new(_0x337d05())();static get[_0x23fd81(0x15f)](){return[_0x714acd];}static get[_0x23fd81(0x129)](){const _0x427b62=_0x23fd81;return _0x427b62(0x15d);}static get[_0x23fd81(0x13e)](){return!0x0;}static get[_0x23fd81(0x13d)](){return!0x0;}[_0x23fd81(0x10c)](){const _0x5785eb=_0x23fd81,_0x46659d=this[_0x5785eb(0x137)],_0x2f928a=_0x46659d[_0x5785eb(0x119)][_0x5785eb(0x17b)](_0x714acd);_0x46659d[_0x5785eb(0x16d)][_0x5785eb(0x141)](_0x5785eb(0x16f))[_0x5785eb(0x124)]({'model':_0x5785eb(0x11c),'view':(_0x44680b,{writer:_0x38b4ce})=>function(_0x375064,_0xf3886f,_0x1dfc8f,_0x1f5f05){const _0x10b3f1=_0x5785eb,_0x24b2b4=_0x375064[_0x10b3f1(0x176)][_0x10b3f1(0x133)](':')[0x2],_0x2da5c2=_0x1dfc8f[_0x10b3f1(0x16e)](_0x24b2b4);if(!_0x2da5c2||_0x24b2b4===_0x1dfc8f[_0x10b3f1(0x150)])return;if(!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)][_0x10b3f1(0x113)](_0x375064[_0x10b3f1(0x14d)][_0x10b3f1(0x17e)],_0x10b3f1(0x148)))return;const _0x3877ef={'class':_0x10b3f1(0x120)+_0x2da5c2[_0x10b3f1(0x173)][_0x10b3f1(0x139)](),'data-name':_0x2da5c2[_0x10b3f1(0x153)],'data-session-id':_0x24b2b4},_0x3745e3=_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x135)][_0x10b3f1(0x17b)](_0x375064[_0x10b3f1(0x176)]),_0x421074=_0x3745e3[_0x10b3f1(0x193)](),_0x1bb16d=_0x421074[_0x10b3f1(0x118)],_0x3a7d8a=_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)];if(_0x1bb16d&&_0x3a7d8a[_0x10b3f1(0x123)](_0x1bb16d)&&_0x3a7d8a[_0x10b3f1(0x140)](_0x1bb16d)&&!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x135)][_0x10b3f1(0x17b)](_0x10b3f1(0x151)+_0x24b2b4)[_0x10b3f1(0x167)]()[_0x10b3f1(0x10b)])return;const _0x3234e3=_0x421074[_0x10b3f1(0x11f)];return _0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)][_0x10b3f1(0x17c)](_0x3234e3)&&!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x14e)](_0x3234e3)&&(_0x3877ef[_0x10b3f1(0x168)]=!0x1),function(_0x241749,_0x34a235,_0x520573){const _0x4b0ad0=_0x10b3f1,_0x1ba268=_0x241749[_0x4b0ad0(0x157)](_0x4b0ad0(0x13a),_0x34a235);return _0x241749[_0x4b0ad0(0x110)](_0x4b0ad0(0x15c),!0x0,_0x1ba268),_0x1ba268[_0x4b0ad0(0x108)]=function(_0x1955f2){const _0x324c81=_0x4b0ad0,_0xa96c76=this[_0x324c81(0x18b)](_0x1955f2),_0x2faddd=document[_0x324c81(0x117)](_0x324c81(0x13a));return _0x2faddd[_0x324c81(0x138)][_0x324c81(0x131)](_0x324c81(0x186)),_0x2faddd[_0x324c81(0x11b)](_0x324c81(0x168),_0x324c81(0x154)),_0x2faddd[_0x324c81(0x11b)](_0x324c81(0x121),_0x324c81(0x154)),_0x2faddd[_0x324c81(0x190)]=_0x520573[_0x324c81(0x153)],_0xa96c76[_0x324c81(0x17d)]=_0x324c81(0x165)+_0x2faddd[_0x324c81(0x175)]+'⁠',_0xa96c76[_0x324c81(0x191)](_0x324c81(0x180),()=>{const _0x3339b8=_0x324c81;_0xa96c76[_0x3339b8(0x138)][_0x3339b8(0x131)](_0x3339b8(0x10e));}),_0xa96c76[_0x324c81(0x191)](_0x324c81(0x189),()=>{const _0x4dce21=_0x324c81;_0xa96c76[_0x4dce21(0x138)][_0x4dce21(0x182)](_0x4dce21(0x10e));}),_0xa96c76;},_0x1ba268[_0x4b0ad0(0x181)]=function(_0x58a34a){const _0x17d5ac=_0x4b0ad0;return!(!this[_0x17d5ac(0x164)](_0x17d5ac(0x15c))||!_0x58a34a[_0x17d5ac(0x164)](_0x17d5ac(0x15c))||this[_0x17d5ac(0x14b)](_0x17d5ac(0x162))!=_0x58a34a[_0x17d5ac(0x14b)](_0x17d5ac(0x162)));},_0x1ba268;}(_0xf3886f,_0x3877ef,_0x2da5c2);}(_0x44680b,_0x38b4ce,_0x2f928a,_0x46659d)}),_0x46659d[_0x5785eb(0x16d)][_0x5785eb(0x141)](_0x5785eb(0x16f))[_0x5785eb(0x15a)]({'model':_0x5785eb(0x13c),'view':_0x1d4c7f=>function(_0x17daf6,_0x2bbe86){const _0xc019be=_0x5785eb,_0x3c74e6=_0x17daf6[_0xc019be(0x176)][_0xc019be(0x133)](':')[0x2];if(_0x3c74e6===_0x2bbe86[_0xc019be(0x150)])return null;const _0x3225cf=_0x2bbe86[_0xc019be(0x16e)](_0x3c74e6);if(!_0x3225cf)return{'id':_0x3c74e6,'classes':[]};return{'id':_0x3c74e6,'classes':[_0xc019be(0x13b),_0x3225cf[_0xc019be(0x173)][_0xc019be(0x109)]()],'attributes':{'data-session-id':_0x3c74e6},'priority':0x7d0+_0x3225cf[_0xc019be(0x14a)]};}(_0x1d4c7f,_0x2f928a)}),function(_0x5cf37b){const _0x524139=_0x5785eb,_0x4b2253=_0x5cf37b[_0x524139(0x12f)],_0x48f7e0=new Map(),_0x329e91=_0x5cf37b[_0x524139(0x119)][_0x524139(0x17b)](_0x714acd);_0x4b2253[_0x524139(0x135)]['on'](_0x524139(0x183),(_0x40238a,_0x5bb019,_0x48ca1e,_0x39e8c2)=>{const _0x4f7932=_0x524139;if(!_0x39e8c2&&_0x48f7e0[_0x4f7932(0x17b)](_0x5bb019[_0x4f7932(0x153)]))return _0x48f7e0[_0x4f7932(0x17b)](_0x5bb019[_0x4f7932(0x153)])[_0x4f7932(0x146)](),void _0x48f7e0[_0x4f7932(0x155)](_0x5bb019[_0x4f7932(0x153)]);const _0x4efb33=_0x5bb019[_0x4f7932(0x153)][_0x4f7932(0x133)](':')[0x2];if(_0x4efb33===_0x329e91[_0x4f7932(0x150)])return;const _0x4f0f2=_0x4f7932(0x158)+_0x4efb33;_0x4b2253[_0x4f7932(0x135)][_0x4f7932(0x171)](_0x4f0f2)&&_0x5cf37b[_0x4f7932(0x179)][_0x4f7932(0x12d)](_0x4f0f2),_0x5bb019['on'](_0x4f7932(0x145),(_0x26acb8,_0x4bc81e,_0x135c00)=>{const _0x2aca28=_0x4f7932;if(_0x2aca28(0x170)!=_0x4bc81e[_0x2aca28(0x16b)][_0x2aca28(0x18f)]&&_0x2aca28(0x170)==_0x5bb019[_0x2aca28(0x167)]()[_0x2aca28(0x16b)][_0x2aca28(0x18f)]&&!_0x48f7e0[_0x2aca28(0x171)](_0x5bb019[_0x2aca28(0x153)])){const _0x99ff41=_0x4b2253[_0x2aca28(0x132)][_0x2aca28(0x13f)](_0x135c00[_0x2aca28(0x12b)]);if(_0x99ff41){const _0x19ab0a=_0x2413e0[_0x2aca28(0x161)](_0x99ff41);_0x48f7e0[_0x2aca28(0x184)](_0x5bb019[_0x2aca28(0x153)],_0x19ab0a),_0x19ab0a['on'](_0x2aca28(0x145),(_0x474acb,_0x8de8a,_0x1a029d)=>{const _0x3edbfb=_0x2aca28;if(_0x3edbfb(0x170)==_0x19ab0a[_0x3edbfb(0x16b)][_0x3edbfb(0x18f)]){const _0x5602eb=_0x4b2253[_0x3edbfb(0x132)][_0x3edbfb(0x13f)](_0x1a029d[_0x3edbfb(0x12b)]);_0x5602eb?(_0x19ab0a[_0x3edbfb(0x17e)]=_0x5602eb[_0x3edbfb(0x17e)],_0x19ab0a[_0x3edbfb(0x134)]=_0x5602eb[_0x3edbfb(0x134)]):(_0x48f7e0[_0x3edbfb(0x155)](_0x5bb019[_0x3edbfb(0x153)]),_0x19ab0a[_0x3edbfb(0x146)]());}});}}});}),_0x4b2253[_0x524139(0x192)]['on'](_0x524139(0x10a),()=>{const _0x5ed5ec=_0x524139;_0x48f7e0[_0x5ed5ec(0x126)]>0x0&&_0x4b2253[_0x5ed5ec(0x166)]({'isUndoable':!0x1},_0x3e6a64=>{const _0x345f0=_0x5ed5ec;for(const [_0x31eb9e,_0x787d72]of _0x48f7e0)_0x345f0(0x170)==_0x4b2253[_0x345f0(0x135)][_0x345f0(0x17b)](_0x31eb9e)[_0x345f0(0x167)]()[_0x345f0(0x16b)][_0x345f0(0x18f)]&&(Z(_0x31eb9e[_0x345f0(0x133)](':')[0x2],_0x787d72[_0x345f0(0x17a)](),_0x4b2253,_0x3e6a64),_0x787d72[_0x345f0(0x146)]());_0x48f7e0[_0x345f0(0x18c)]();});});}(_0x46659d),this[_0x5785eb(0x185)][_0x5785eb(0x144)](_0x427e66[_0x5785eb(0x192)],_0x5785eb(0x147),(_0x598cb3,{key:_0x2b9a14})=>{const _0x391730=_0x5785eb;_0x391730(0x174)===_0x2b9a14&&function(_0x492107){const _0x319dc1=_0x391730;_0x492107[_0x319dc1(0x179)][_0x319dc1(0x169)][_0x319dc1(0x10a)](_0xcc6f99=>{const _0x5da696=_0x319dc1;for(const _0x4476bf of _0x492107[_0x5da696(0x12f)][_0x5da696(0x135)]){if(!_0x4476bf[_0x5da696(0x153)][_0x5da696(0x11d)](_0x5da696(0x11c)))continue;const _0x4d311d=_0x492107[_0x5da696(0x179)][_0x5da696(0x188)][_0x5da696(0x12a)](_0x4476bf[_0x5da696(0x153)]);if(_0x4d311d){for(const _0x5176a1 of _0x4d311d)_0xcc6f99[_0x5da696(0x142)](_0x5da696(0x10e),_0x5176a1);}}});}(_0x46659d);},{'useCapture':!0x0});}[_0x23fd81(0x18d)](){const _0x12b8b6=_0x23fd81,_0x1d1280=this[_0x12b8b6(0x137)],_0x575c1c=_0x1d1280[_0x12b8b6(0x11a)][_0x12b8b6(0x17b)](_0x12b8b6(0x125));_0x575c1c&&_0x1d1280[_0x12b8b6(0x12f)]['on'](_0x12b8b6(0x15b),(_0x47467d,_0x15bfbd)=>{const _0x24ac0f=_0x12b8b6,_0x365a82=_0x15bfbd[0x0];if(!_0x365a82[_0x24ac0f(0x11e)])return;if(_0x24ac0f(0x156)!=_0x365a82[_0x24ac0f(0x14c)]||!_0x365a82[_0x24ac0f(0x153)][_0x24ac0f(0x11d)](_0x24ac0f(0x159)))return;const _0x215b14=_0x365a82[_0x24ac0f(0x111)];_0x575c1c[_0x24ac0f(0x114)][_0x24ac0f(0x171)](_0x215b14)&&(_0x365a82[_0x24ac0f(0x128)]=_0x365a82[_0x24ac0f(0x18e)]?_0x1d1280[_0x24ac0f(0x12f)][_0x24ac0f(0x160)](_0x365a82[_0x24ac0f(0x18e)][_0x24ac0f(0x17e)],_0x365a82[_0x24ac0f(0x18e)][_0x24ac0f(0x134)]):null);},{'priority':_0x12b8b6(0x152)});}[_0x23fd81(0x17f)](){const _0x4ad7ce=_0x23fd81;return this[_0x4ad7ce(0x185)][_0x4ad7ce(0x163)](),super[_0x4ad7ce(0x17f)]();}[_0x23fd81(0x172)](){const _0x35e486=_0x23fd81,_0x5e7b38=this[_0x35e486(0x137)],_0x4af1e5=_0x5e7b38[_0x35e486(0x12f)][_0x35e486(0x192)],_0x56b6a3=_0x5e7b38[_0x35e486(0x119)][_0x35e486(0x17b)](_0x714acd);_0x5e7b38[_0x35e486(0x12f)][_0x35e486(0x166)]({'isUndoable':!0x1},_0x37dd7c=>{const _0x275107=_0x35e486,_0x2fc941=_0x275107(0x151)+_0x56b6a3[_0x275107(0x150)],_0x5e9f71=_0x275107(0x158)+_0x56b6a3[_0x275107(0x150)],_0x298bc7=_0x5e7b38[_0x275107(0x12f)][_0x275107(0x135)][_0x275107(0x171)](_0x2fc941);_0x5e7b38[_0x275107(0x179)][_0x275107(0x169)][_0x275107(0x115)]?Z(_0x56b6a3[_0x275107(0x150)],_0x4af1e5[_0x275107(0x12c)][_0x275107(0x112)](),_0x5e7b38[_0x275107(0x12f)],_0x37dd7c):_0x298bc7&&(_0x37dd7c[_0x275107(0x12e)](_0x2fc941),_0x37dd7c[_0x275107(0x12e)](_0x5e9f71));});}}function Z(_0x2d711f,_0x4209e8,_0x232004,_0x521bcd){const _0x441f96=_0x23fd81,_0x105d79=_0x441f96(0x151)+_0x2d711f,_0x2e39e1=_0x441f96(0x158)+_0x2d711f,_0x51f194=_0x4209e8[_0x441f96(0x136)]();let _0x48cf15=_0x4209e8[_0x441f96(0x17e)];if(_0x51f194&&_0x51f194['is'](_0x441f96(0x177),_0x441f96(0x14f))){const _0x1c8b6b=function(_0x17fd46,_0x292ecc){const _0x13fa55=_0x441f96;for(const _0x3b1950 of _0x17fd46[_0x13fa55(0x149)]())if(_0x292ecc[_0x13fa55(0x132)][_0x13fa55(0x113)](_0x3b1950,_0x13fa55(0x148)))return _0x3b1950;}(_0x4209e8,_0x232004);_0x1c8b6b&&(_0x48cf15=_0x1c8b6b,_0x4209e8=_0x521bcd[_0x441f96(0x160)](_0x48cf15));}const _0x5ebb67=_0x521bcd[_0x441f96(0x160)](_0x48cf15);_0x232004[_0x441f96(0x135)][_0x441f96(0x171)](_0x105d79)?(_0x521bcd[_0x441f96(0x122)](_0x105d79,{'range':_0x4209e8}),_0x521bcd[_0x441f96(0x122)](_0x2e39e1,{'range':_0x5ebb67})):(_0x521bcd[_0x441f96(0x10d)](_0x105d79,{'range':_0x4209e8,'usingOperation':!0x0}),_0x521bcd[_0x441f96(0x10d)](_0x2e39e1,{'range':_0x5ebb67,'usingOperation':!0x0}));}