@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.5 → 47.2.0-alpha.6

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 _0x329c69=_0x34c1;(function(_0x244a09,_0x3589a5){const _0x3ca77d=_0x34c1,_0x30e428=_0x244a09();while(!![]){try{const _0x4b4634=parseInt(_0x3ca77d(0xa8))/0x1+parseInt(_0x3ca77d(0xbf))/0x2+-parseInt(_0x3ca77d(0xc0))/0x3*(parseInt(_0x3ca77d(0x9b))/0x4)+-parseInt(_0x3ca77d(0xa7))/0x5+parseInt(_0x3ca77d(0x9e))/0x6*(-parseInt(_0x3ca77d(0xb2))/0x7)+parseInt(_0x3ca77d(0xaa))/0x8*(parseInt(_0x3ca77d(0xba))/0x9)+parseInt(_0x3ca77d(0xb0))/0xa;if(_0x4b4634===_0x3589a5)break;else _0x30e428['push'](_0x30e428['shift']());}catch(_0x2254d6){_0x30e428['push'](_0x30e428['shift']());}}}(_0x21df,0x79e71));import{View as _0x4e4fc5}from'ckeditor5/src/ui.js';function _0x34c1(_0x367331,_0x4b3948){const _0x21df86=_0x21df();return _0x34c1=function(_0x34c15c,_0x329791){_0x34c15c=_0x34c15c-0x9b;let _0x5cd35e=_0x21df86[_0x34c15c];return _0x5cd35e;},_0x34c1(_0x367331,_0x4b3948);}import{KeystrokeHandler as _0x7e1acf}from'ckeditor5/src/utils.js';import{getTranslation as _0x54fc91}from'../../common-translations.js';export class PresenceInlineListView extends _0x4e4fc5{[_0x329c69(0xb8)];[_0x329c69(0xb6)];constructor(_0x496b03){const _0x5630d0=_0x329c69;super(_0x496b03);const _0x403aa5=this[_0x5630d0(0xb5)];this[_0x5630d0(0xb8)]=this[_0x5630d0(0xa3)](),this[_0x5630d0(0xb6)]=new _0x7e1acf(),this[_0x5630d0(0xa6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5630d0(0xb4)]({'tag':_0x5630d0(0xa0),'attributes':{'aria-haspopup':_0x403aa5['if'](_0x5630d0(0xbe)),'aria-expanded':_0x403aa5['to'](_0x5630d0(0xb1),_0x3b9e81=>this[_0x5630d0(0xbe)]&&String(_0x3b9e81)),'aria-label':_0x403aa5['to'](_0x5630d0(0xbe),_0x30da6c=>_0x54fc91(_0x496b03,_0x30da6c?_0x5630d0(0xab):_0x5630d0(0x9f))),'role':_0x5630d0(0xa9),'tabindex':_0x403aa5['to'](_0x5630d0(0xbe),_0x247514=>!!_0x247514&&0x0),'class':['ck',_0x5630d0(0xa5)]},'children':this[_0x5630d0(0xb8)],'on':{'mouseenter':_0x403aa5['to'](()=>this[_0x5630d0(0xa4)](_0x5630d0(0xbb))),'mouseleave':_0x403aa5['to'](_0x264f81=>{const _0x167ed9=_0x5630d0,_0x94ee=_0x264f81,_0x5c7755=document[_0x167ed9(0xb9)](_0x167ed9(0xad)),_0x43dfb3=document[_0x167ed9(0xb9)](_0x167ed9(0x9d));_0x5c7755?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||_0x43dfb3?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||this[_0x167ed9(0xa4)](_0x167ed9(0xbd));})}}),this['on'](_0x5630d0(0xac),(_0x1b32bc,_0x3061de,_0x355539)=>{const _0x54774e=_0x5630d0;this[_0x54774e(0xaf)]&&(_0x355539?this[_0x54774e(0xaf)][_0x54774e(0xb3)](_0x54774e(0xa1),String(this[_0x54774e(0xb1)])):this[_0x54774e(0xaf)][_0x54774e(0xbc)](_0x54774e(0xa1)));});}[_0x329c69(0xae)](){const _0x3c4ad8=_0x329c69;this[_0x3c4ad8(0xaf)][_0x3c4ad8(0xae)]();}[_0x329c69(0xc1)](){const _0xb52ee1=_0x329c69;super[_0xb52ee1(0xc1)](),this[_0xb52ee1(0xb6)][_0xb52ee1(0xb7)](this[_0xb52ee1(0xaf)]);}}function _0x21df(){const _0xe80163=['presencelist:hide','hasPopup','1831338PQpYoP','2101617tsnPOE','render','4QHWZTg','relatedTarget','.ck-balloon-panel_with-arrow','43110GmMIyA','Connected\x20users\x20list','div','aria-expanded','contains','createCollection','fire','ck-presence-list__list','set','4473075BUYvga','364294aSbsFE','list','8QUNXsl','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','.ck-presence-list__dropdown-list','focus','element','10550920JxFiWQ','isExpanded','889uHRdQR','setAttribute','setTemplate','bindTemplate','keystrokes','listenTo','items','querySelector','6047163wARaQe','presencelist:show','removeAttribute'];_0x21df=function(){return _0xe80163;};return _0x21df();}
23
+ const _0x369065=_0x68a4;(function(_0x4a2ceb,_0xdceb09){const _0x338b2c=_0x68a4,_0x366e7d=_0x4a2ceb();while(!![]){try{const _0x3d8d78=parseInt(_0x338b2c(0xe7))/0x1+parseInt(_0x338b2c(0xf2))/0x2+parseInt(_0x338b2c(0xe5))/0x3+parseInt(_0x338b2c(0xfc))/0x4+-parseInt(_0x338b2c(0xde))/0x5+-parseInt(_0x338b2c(0xdf))/0x6+-parseInt(_0x338b2c(0xf1))/0x7;if(_0x3d8d78===_0xdceb09)break;else _0x366e7d['push'](_0x366e7d['shift']());}catch(_0x4c23a8){_0x366e7d['push'](_0x366e7d['shift']());}}}(_0x3226,0x3ba54));import{View as _0x52327e}from'ckeditor5/src/ui.js';function _0x3226(){const _0x26c419=['bindTemplate','set','.ck-balloon-panel_with-arrow','querySelector','relatedTarget','7082236HiBDxb','739638GhKvqW','setTemplate','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','.ck-presence-list__dropdown-list','isExpanded','Connected\x20users\x20list','items','change:hasPopup','ck-presence-list__list','1395400FfxAdB','fire','list','keystrokes','presencelist:hide','contains','664535IPleEH','536040SIuHfD','aria-expanded','listenTo','removeAttribute','hasPopup','focus','1046499sxQqxf','createCollection','410801DDZrMW','element','presencelist:show','render','div'];_0x3226=function(){return _0x26c419;};return _0x3226();}import{KeystrokeHandler as _0x183430}from'ckeditor5/src/utils.js';function _0x68a4(_0x20373c,_0x4557e9){const _0x3226b3=_0x3226();return _0x68a4=function(_0x68a450,_0x2ac23f){_0x68a450=_0x68a450-0xda;let _0x11ff49=_0x3226b3[_0x68a450];return _0x11ff49;},_0x68a4(_0x20373c,_0x4557e9);}import{getTranslation as _0x2c300d}from'../../common-translations.js';export class PresenceInlineListView extends _0x52327e{[_0x369065(0xf9)];[_0x369065(0xdb)];constructor(_0x5e6ceb){const _0x17aa91=_0x369065;super(_0x5e6ceb);const _0x1d016b=this[_0x17aa91(0xec)];this[_0x17aa91(0xf9)]=this[_0x17aa91(0xe6)](),this[_0x17aa91(0xdb)]=new _0x183430(),this[_0x17aa91(0xed)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x17aa91(0xf3)]({'tag':_0x17aa91(0xeb),'attributes':{'aria-haspopup':_0x1d016b['if'](_0x17aa91(0xe3)),'aria-expanded':_0x1d016b['to'](_0x17aa91(0xf7),_0x224f16=>this[_0x17aa91(0xe3)]&&String(_0x224f16)),'aria-label':_0x1d016b['to'](_0x17aa91(0xe3),_0x3c1349=>_0x2c300d(_0x5e6ceb,_0x3c1349?_0x17aa91(0xf5):_0x17aa91(0xf8))),'role':_0x17aa91(0xda),'tabindex':_0x1d016b['to'](_0x17aa91(0xe3),_0x32b446=>!!_0x32b446&&0x0),'class':['ck',_0x17aa91(0xfb)]},'children':this[_0x17aa91(0xf9)],'on':{'mouseenter':_0x1d016b['to'](()=>this[_0x17aa91(0xfd)](_0x17aa91(0xe9))),'mouseleave':_0x1d016b['to'](_0x2a8901=>{const _0x54c117=_0x17aa91,_0x3b5f01=_0x2a8901,_0xa802cf=document[_0x54c117(0xef)](_0x54c117(0xf6)),_0x556667=document[_0x54c117(0xef)](_0x54c117(0xee));_0xa802cf?.[_0x54c117(0xdd)](_0x3b5f01[_0x54c117(0xf0)])||_0x556667?.[_0x54c117(0xdd)](_0x3b5f01[_0x54c117(0xf0)])||this[_0x54c117(0xfd)](_0x54c117(0xdc));})}}),this['on'](_0x17aa91(0xfa),(_0x1dfff4,_0x1549ef,_0x2ba01b)=>{const _0x56fede=_0x17aa91;this[_0x56fede(0xe8)]&&(_0x2ba01b?this[_0x56fede(0xe8)][_0x56fede(0xf4)](_0x56fede(0xe0),String(this[_0x56fede(0xf7)])):this[_0x56fede(0xe8)][_0x56fede(0xe2)](_0x56fede(0xe0)));});}[_0x369065(0xe4)](){const _0x4086df=_0x369065;this[_0x4086df(0xe8)][_0x4086df(0xe4)]();}[_0x369065(0xea)](){const _0x4f5b3b=_0x369065;super[_0x4f5b3b(0xea)](),this[_0x4f5b3b(0xdb)][_0x4f5b3b(0xe1)](this[_0x4f5b3b(0xe8)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16c184=_0x1519;(function(_0x15d67e,_0xb6ff3b){const _0xaeed82=_0x1519,_0xe6afc5=_0x15d67e();while(!![]){try{const _0x3105bf=-parseInt(_0xaeed82(0x193))/0x1+-parseInt(_0xaeed82(0x1ab))/0x2+parseInt(_0xaeed82(0x1a1))/0x3+parseInt(_0xaeed82(0x195))/0x4+parseInt(_0xaeed82(0x1a7))/0x5*(-parseInt(_0xaeed82(0x19e))/0x6)+parseInt(_0xaeed82(0x196))/0x7*(-parseInt(_0xaeed82(0x19c))/0x8)+parseInt(_0xaeed82(0x1a8))/0x9*(parseInt(_0xaeed82(0x197))/0xa);if(_0x3105bf===_0xb6ff3b)break;else _0xe6afc5['push'](_0xe6afc5['shift']());}catch(_0x53e281){_0xe6afc5['push'](_0xe6afc5['shift']());}}}(_0x4ab6,0x3460b));import{View as _0xe5960c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x38d113}from'./presencecounterview.js';import{PresenceInlineListView as _0x51f62c}from'./presenceinlinelistview.js';function _0x1519(_0x3c26e4,_0x2292fb){const _0x4ab677=_0x4ab6();return _0x1519=function(_0x15197c,_0x3b441a){_0x15197c=_0x15197c-0x18f;let _0x3c906c=_0x4ab677[_0x15197c];return _0x3c906c;},_0x1519(_0x3c26e4,_0x2292fb);}function _0x4ab6(){const _0x497cc2=['449704hAHzXd','counterView','6jomRwC','items','tooltipPosition','189177KnUXzM','bindTemplate','ck-presence-list--collapsed','listenTo','set','inlineListView','1556835JjolGe','603wCRuex','first','ck-reset','4208OpbiEj','ck-rounded-corners','bind','isCollapsed','ck-presence-list','373636AuDbYA','setTemplate','402864SkmMiC','7cVEKEB','118520KIeXqn','div','change','locale','hasPopup'];_0x4ab6=function(){return _0x497cc2;};return _0x4ab6();}import'../../../theme/presencelist.css';export class PresenceListView extends _0xe5960c{[_0x16c184(0x19d)];[_0x16c184(0x1a6)];constructor(_0xb51ba,_0x4a39d6=0x6){const _0x387a1d=_0x16c184;super(_0xb51ba);const _0x539ec3=this[_0x387a1d(0x1a2)];this[_0x387a1d(0x1a5)](_0x387a1d(0x191),!0x0),this[_0x387a1d(0x19d)]=new _0x38d113(this[_0x387a1d(0x19a)],_0x4a39d6),this[_0x387a1d(0x1a6)]=new _0x51f62c(_0xb51ba),this[_0x387a1d(0x1a6)][_0x387a1d(0x190)](_0x387a1d(0x19b))['to'](this,_0x387a1d(0x191)),this[_0x387a1d(0x1a4)](this[_0x387a1d(0x1a6)][_0x387a1d(0x19f)],_0x387a1d(0x199),()=>{const _0x196072=_0x387a1d;for(const _0x5c5c97 of this[_0x196072(0x1a6)][_0x196072(0x19f)])_0x5c5c97[_0x196072(0x1a0)]='s';this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)]&&(this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)][_0x196072(0x1a0)]='se');}),this[_0x387a1d(0x194)]({'tag':_0x387a1d(0x198),'attributes':{'class':['ck',_0x387a1d(0x192),_0x387a1d(0x1aa),_0x387a1d(0x18f),_0x539ec3['if'](_0x387a1d(0x191),_0x387a1d(0x1a3))]},'children':[this[_0x387a1d(0x1a6)]]});}}
23
+ function _0x5841(){const _0xdd586d=['items','listenTo','locale','ck-reset','set','301JdQsJq','hasPopup','ck-presence-list','42QSEhcI','tooltipPosition','bind','bindTemplate','4095500dYNXsB','3815073AbrEnQ','ck-presence-list--collapsed','inlineListView','change','354hVqUDv','counterView','first','ck-rounded-corners','isCollapsed','13481544FSPnZl','8524MaOoJg','157218NMOase','29212YTqWAW','setTemplate','5952235NYcarK','div'];_0x5841=function(){return _0xdd586d;};return _0x5841();}const _0x23614e=_0x516d;(function(_0x321bc1,_0x33aa15){const _0x5a5a0a=_0x516d,_0x3c51f0=_0x321bc1();while(!![]){try{const _0x3b5e1d=-parseInt(_0x5a5a0a(0x8b))/0x1*(parseInt(_0x5a5a0a(0x7d))/0x2)+-parseInt(_0x5a5a0a(0x77))/0x3*(-parseInt(_0x5a5a0a(0x7f))/0x4)+-parseInt(_0x5a5a0a(0x81))/0x5+parseInt(_0x5a5a0a(0x7e))/0x6*(-parseInt(_0x5a5a0a(0x88))/0x7)+parseInt(_0x5a5a0a(0x7c))/0x8+parseInt(_0x5a5a0a(0x90))/0x9+parseInt(_0x5a5a0a(0x8f))/0xa;if(_0x3b5e1d===_0x33aa15)break;else _0x3c51f0['push'](_0x3c51f0['shift']());}catch(_0xad6b74){_0x3c51f0['push'](_0x3c51f0['shift']());}}}(_0x5841,0xd7df6));import{View as _0x3a5e49}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x289293}from'./presencecounterview.js';import{PresenceInlineListView as _0x3e138f}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x516d(_0x45a58f,_0x326cea){const _0x584185=_0x5841();return _0x516d=function(_0x516d76,_0x4bc2af){_0x516d76=_0x516d76-0x75;let _0x221a44=_0x584185[_0x516d76];return _0x221a44;},_0x516d(_0x45a58f,_0x326cea);}export class PresenceListView extends _0x3a5e49{[_0x23614e(0x78)];[_0x23614e(0x75)];constructor(_0x1fe547,_0x2443a3=0x6){const _0x3b551b=_0x23614e;super(_0x1fe547);const _0x542341=this[_0x3b551b(0x8e)];this[_0x3b551b(0x87)](_0x3b551b(0x7b),!0x0),this[_0x3b551b(0x78)]=new _0x289293(this[_0x3b551b(0x85)],_0x2443a3),this[_0x3b551b(0x75)]=new _0x3e138f(_0x1fe547),this[_0x3b551b(0x75)][_0x3b551b(0x8d)](_0x3b551b(0x89))['to'](this,_0x3b551b(0x7b)),this[_0x3b551b(0x84)](this[_0x3b551b(0x75)][_0x3b551b(0x83)],_0x3b551b(0x76),()=>{const _0xc83b9c=_0x3b551b;for(const _0x1fa123 of this[_0xc83b9c(0x75)][_0xc83b9c(0x83)])_0x1fa123[_0xc83b9c(0x8c)]='s';this[_0xc83b9c(0x75)][_0xc83b9c(0x83)][_0xc83b9c(0x79)]&&(this[_0xc83b9c(0x75)][_0xc83b9c(0x83)][_0xc83b9c(0x79)][_0xc83b9c(0x8c)]='se');}),this[_0x3b551b(0x80)]({'tag':_0x3b551b(0x82),'attributes':{'class':['ck',_0x3b551b(0x8a),_0x3b551b(0x86),_0x3b551b(0x7a),_0x542341['if'](_0x3b551b(0x7b),_0x3b551b(0x91))]},'children':[this[_0x3b551b(0x75)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x36ca62=_0x5a53;function _0x5a53(_0xf56ea,_0x338bdc){var _0x1f6285=_0x1f62();return _0x5a53=function(_0x5a5311,_0x32f4f8){_0x5a5311=_0x5a5311-0x18d;var _0x37b146=_0x1f6285[_0x5a5311];return _0x37b146;},_0x5a53(_0xf56ea,_0x338bdc);}function _0x1f62(){var _0x127311=['pluginName','728FfpIzK','25788BXJTiW','124197uDqDUk','PresenceList','1810kMpUhn','isOfficialPlugin','6UoDSkE','68719RgyWOG','259904qoqFhG','4NhlJkM','requires','230CabCfH','64618LRwfHS','34083ZbFQDP','22pVJsSK','isPremiumPlugin'];_0x1f62=function(){return _0x127311;};return _0x1f62();}(function(_0x726491,_0x32f6e6){var _0x3c6b77=_0x5a53,_0x196bf1=_0x726491();while(!![]){try{var _0x1d9533=-parseInt(_0x3c6b77(0x19d))/0x1*(-parseInt(_0x3c6b77(0x18f))/0x2)+-parseInt(_0x3c6b77(0x196))/0x3+-parseInt(_0x3c6b77(0x194))/0x4*(-parseInt(_0x3c6b77(0x198))/0x5)+parseInt(_0x3c6b77(0x19a))/0x6*(parseInt(_0x3c6b77(0x19b))/0x7)+parseInt(_0x3c6b77(0x19c))/0x8+parseInt(_0x3c6b77(0x190))/0x9*(-parseInt(_0x3c6b77(0x18e))/0xa)+parseInt(_0x3c6b77(0x191))/0xb*(parseInt(_0x3c6b77(0x195))/0xc);if(_0x1d9533===_0x32f6e6)break;else _0x196bf1['push'](_0x196bf1['shift']());}catch(_0x5a297f){_0x196bf1['push'](_0x196bf1['shift']());}}}(_0x1f62,0x1ba47));import{ContextPlugin as _0x347575}from'ckeditor5/src/core.js';import{Sessions as _0x187e7b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3c5bd9}from'./presencelist/presencelistui.js';export class PresenceList extends _0x347575{static get[_0x36ca62(0x18d)](){return[_0x187e7b,_0x3c5bd9];}static get[_0x36ca62(0x193)](){var _0x4fe8c5=_0x36ca62;return _0x4fe8c5(0x197);}static get[_0x36ca62(0x199)](){return!0x0;}static get[_0x36ca62(0x192)](){return!0x0;}}
23
+ function _0x117e(){var _0x1454c4=['PresenceList','322579pheqol','3773682VYaWdL','2vzCaRw','115512sDVanG','1515438UcgBVy','196mhmuDH','isOfficialPlugin','pluginName','isPremiumPlugin','1961632jZjhic','2387856IuwhzX','requires','561285uUHBVr'];_0x117e=function(){return _0x1454c4;};return _0x117e();}var _0x3e3bbb=_0x1f98;(function(_0x5128f4,_0x37ed40){var _0x1ae670=_0x1f98,_0x1ae645=_0x5128f4();while(!![]){try{var _0x3a4603=parseInt(_0x1ae670(0x119))/0x1*(parseInt(_0x1ae670(0x11b))/0x2)+parseInt(_0x1ae670(0x11d))/0x3+-parseInt(_0x1ae670(0x122))/0x4+parseInt(_0x1ae670(0x117))/0x5+parseInt(_0x1ae670(0x11c))/0x6*(parseInt(_0x1ae670(0x11e))/0x7)+-parseInt(_0x1ae670(0x115))/0x8+-parseInt(_0x1ae670(0x11a))/0x9;if(_0x3a4603===_0x37ed40)break;else _0x1ae645['push'](_0x1ae645['shift']());}catch(_0x298dbf){_0x1ae645['push'](_0x1ae645['shift']());}}}(_0x117e,0x42202));function _0x1f98(_0x404b10,_0x1e254c){var _0x117e5d=_0x117e();return _0x1f98=function(_0x1f984a,_0x199a27){_0x1f984a=_0x1f984a-0x115;var _0x47016c=_0x117e5d[_0x1f984a];return _0x47016c;},_0x1f98(_0x404b10,_0x1e254c);}import{ContextPlugin as _0x50070a}from'ckeditor5/src/core.js';import{Sessions as _0x26577b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x2ea4ef}from'./presencelist/presencelistui.js';export class PresenceList extends _0x50070a{static get[_0x3e3bbb(0x116)](){return[_0x26577b,_0x2ea4ef];}static get[_0x3e3bbb(0x120)](){var _0x11b49d=_0x3e3bbb;return _0x11b49d(0x118);}static get[_0x3e3bbb(0x11f)](){return!0x0;}static get[_0x3e3bbb(0x121)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12cc2f=_0x5c79;(function(_0x4962f4,_0x2eaba6){const _0x51f7a8=_0x5c79,_0x5d721f=_0x4962f4();while(!![]){try{const _0x3754dc=-parseInt(_0x51f7a8(0x1e9))/0x1*(-parseInt(_0x51f7a8(0x1a7))/0x2)+parseInt(_0x51f7a8(0x1dc))/0x3*(parseInt(_0x51f7a8(0x1d5))/0x4)+parseInt(_0x51f7a8(0x1a8))/0x5*(parseInt(_0x51f7a8(0x1c2))/0x6)+parseInt(_0x51f7a8(0x1e4))/0x7+parseInt(_0x51f7a8(0x197))/0x8+-parseInt(_0x51f7a8(0x198))/0x9*(parseInt(_0x51f7a8(0x1be))/0xa)+parseInt(_0x51f7a8(0x1ac))/0xb*(-parseInt(_0x51f7a8(0x1ee))/0xc);if(_0x3754dc===_0x2eaba6)break;else _0x5d721f['push'](_0x5d721f['shift']());}catch(_0x11c510){_0x5d721f['push'](_0x5d721f['shift']());}}}(_0x2416,0x549b6));import{Context as _0x145262,ContextPlugin as _0x106e66}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d11b1}from'ckeditor5/src/utils.js';import{Users as _0x2b92ca}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29e0ad,User as _0x25743b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1f55cb}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57278a}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x106e66{static [_0x12cc2f(0x1cd)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x29e0ad)());[_0x12cc2f(0x1e2)];static get[_0x12cc2f(0x1b0)](){const _0x22036f=_0x12cc2f;return[_0x1f55cb,_0x22036f(0x1e0),_0x57278a,_0x2b92ca];}static get[_0x12cc2f(0x1b7)](){const _0x197a86=_0x12cc2f;return _0x197a86(0x1cb);}static get[_0x12cc2f(0x1c1)](){return!0x0;}static get[_0x12cc2f(0x1b2)](){return!0x0;}constructor(_0x3e5753){const _0x3fc63d=_0x12cc2f;super(_0x3e5753),this[_0x3fc63d(0x1e2)]=new Map();}async[_0x12cc2f(0x1b1)](){const _0x3160ca=_0x12cc2f,_0x178e62=this[_0x3160ca(0x1aa)],_0x22e310=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x3160ca(0x1e0));if(_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x1f55cb)[_0x3160ca(0x1d3)](this),_0x22e310[_0x3160ca(0x1b9)]={'addCommentThread':async({channelId:_0x3a6fca,threadId:_0x1dae85,comments:_0x2e64db,resolvedAt:_0x274e74,resolvedBy:_0x120f5b,context:_0x5264d5,attributes:_0x73d414})=>{const _0x391cab=_0x3160ca,_0x2dd835=await this[_0x391cab(0x19e)](_0x3a6fca)[_0x391cab(0x1ed)]({'commentThreadId':_0x1dae85,'comments':_0x2e64db[_0x391cab(0x1d2)](_0x4797ae=>function(_0x527074,_0x167523,_0x935387){const _0x1c9afc=_0x391cab;return{'commentThreadId':_0x935387,'commentId':_0x527074[_0x1c9afc(0x1c5)],'userId':_0x527074[_0x1c9afc(0x1d9)],'content':_0x527074[_0x1c9afc(0x1b5)],'documentId':_0x167523,'createdAt':_0x527074[_0x1c9afc(0x1c3)],'attributes':_0x527074[_0x1c9afc(0x1d6)]||{}};}(_0x4797ae,_0x3a6fca,_0x1dae85)),'resolvedAt':_0x274e74,'resolvedBy':_0x120f5b,'context':_0x5264d5,'attributes':_0x73d414})[_0x391cab(0x196)](T);return{'threadId':_0x2dd835[_0x391cab(0x1f2)],'comments':_0x2dd835[_0x391cab(0x1db)]};},'getCommentThread':async({channelId:_0x4ebef5,threadId:_0x276e90})=>{const _0x33b410=_0x3160ca,_0x38589a=await this[_0x33b410(0x19e)](_0x4ebef5)[_0x33b410(0x1a0)](_0x276e90)[_0x33b410(0x196)](ot)[_0x33b410(0x196)](T);return _0x38589a?_0x38589a[_0x33b410(0x1e7)]?null:(await this[_0x33b410(0x1de)]([_0x38589a]),{'threadId':_0x38589a[_0x33b410(0x1f2)],'comments':_0x38589a[_0x33b410(0x1db)][_0x33b410(0x1d2)](nt),'context':_0x38589a[_0x33b410(0x1aa)],'resolvedAt':_0x38589a[_0x33b410(0x1c8)],'resolvedBy':_0x38589a[_0x33b410(0x1b4)],'attributes':_0x38589a[_0x33b410(0x1d6)]||{}}):null;},'updateCommentThread':async({channelId:_0x553667,threadId:_0x34dde0,context:_0xae47d1,unlinkedAt:_0x1b67c5,attributes:_0x47dc85})=>this[_0x3160ca(0x19e)](_0x553667)[_0x3160ca(0x1c6)]({'commentThreadId':_0x34dde0,'context':_0xae47d1,'attributes':_0x47dc85,'unlinkedAt':_0x1b67c5})[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'resolveCommentThread':async({channelId:_0x463efd,threadId:_0x28fad5})=>{const _0x41bb5a=_0x3160ca,_0x2c494f=await this[_0x41bb5a(0x19e)](_0x463efd)[_0x41bb5a(0x1af)](_0x28fad5)[_0x41bb5a(0x196)](ot)[_0x41bb5a(0x196)](T);return{'threadId':_0x2c494f[_0x41bb5a(0x1f2)],'resolvedAt':_0x2c494f[_0x41bb5a(0x1c8)],'resolvedBy':_0x2c494f[_0x41bb5a(0x1b4)]};},'reopenCommentThread':async({channelId:_0x4cd26b,threadId:_0x190bb2})=>this[_0x3160ca(0x19e)](_0x4cd26b)[_0x3160ca(0x1c0)](_0x190bb2)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeCommentThread':({channelId:_0x1b76b1,threadId:_0x37c8c0})=>this[_0x3160ca(0x19e)](_0x1b76b1)[_0x3160ca(0x1c4)](_0x37c8c0)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'addComment':({channelId:_0x5b895f,threadId:_0xbe8819,commentId:_0x3e339d,content:_0x40b0d2,attributes:_0x11455e})=>this[_0x3160ca(0x19e)](_0x5b895f)[_0x3160ca(0x1ae)](_0xbe8819,_0x3e339d,_0x40b0d2,_0x11455e)[_0x3160ca(0x196)](T),'updateComment':({channelId:_0x57c3a3,threadId:_0x39b642,commentId:_0x35bc5e,content:_0x7bdbac,attributes:_0x4d8ac9})=>this[_0x3160ca(0x19e)](_0x57c3a3)[_0x3160ca(0x1a6)](_0x39b642,_0x35bc5e,_0x7bdbac,_0x4d8ac9)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeComment':({channelId:_0x49bfe1,threadId:_0x2abab3,commentId:_0x1619ed})=>this[_0x3160ca(0x19e)](_0x49bfe1)[_0x3160ca(0x1b8)](_0x2abab3,_0x1619ed)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T)},_0x178e62 instanceof _0x145262){const _0x462829=_0x178e62[_0x3160ca(0x1a5)][_0x3160ca(0x1a3)](_0x3160ca(0x1c9)),_0x58568b=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x57278a);await this[_0x3160ca(0x1f1)](_0x462829);const _0x1fa04a=await this[_0x3160ca(0x1e2)][_0x3160ca(0x1a3)](_0x462829)[_0x3160ca(0x1ab)]();this[_0x3160ca(0x1e5)](_0x58568b,_0x3160ca(0x1a1)+_0x462829,(_0x4ed55c,{session:_0x1e3a50})=>{const _0x43ba8d=_0x3160ca;_0x1e3a50['id']===_0x58568b[_0x43ba8d(0x1ef)]&&(_0x4ed55c[_0x43ba8d(0x1eb)](),this[_0x43ba8d(0x1aa)][_0x43ba8d(0x1ad)][_0x43ba8d(0x1a3)](_0x43ba8d(0x1bc))[_0x43ba8d(0x1d4)](_0x1e3a50[_0x43ba8d(0x1e8)],_0x462829));}),_0x58568b[_0x3160ca(0x19f)](_0x462829,_0x1fa04a);}}async[_0x12cc2f(0x1f1)](_0x145c52){const _0x4a60af=_0x12cc2f;if(this[_0x4a60af(0x1e2)][_0x4a60af(0x1d0)](_0x145c52))throw new _0x2d11b1(_0x4a60af(0x1a2),null,{'channelId':_0x145c52});const _0x42d956=this[_0x4a60af(0x1aa)][_0x4a60af(0x1ad)][_0x4a60af(0x1a3)](_0x4a60af(0x1e0)),_0x55f729=new CloudServicesCommentsAdapter[(_0x4a60af(0x1cd))](_0x145c52);this[_0x4a60af(0x1e2)][_0x4a60af(0x1f9)](_0x145c52,_0x55f729),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ca),(_0x28bb6e,_0x1be6c1)=>{const _0x3b2f3f=_0x4a60af,{commentThreadId:_0x24723c,documentId:_0x2f2cd1,context:_0xf2cdaa,attributes:_0x4c60c7,resolvedAt:_0x397c36,resolvedBy:_0x15f6c8,comments:_0x376ccc}=_0x1be6c1;_0x42d956[_0x3b2f3f(0x1a0)](_0x24723c)||_0x42d956[_0x3b2f3f(0x1ed)]({'threadId':_0x24723c,'channelId':_0x2f2cd1,'comments':_0x376ccc?_0x376ccc[_0x3b2f3f(0x1d2)](nt):[],'context':_0xf2cdaa,'attributes':_0x4c60c7,'resolvedAt':_0x397c36,'resolvedBy':_0x15f6c8,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ba),(_0x4d1be6,{commentThreadId:_0x586a52,documentId:_0x11f972,context:_0x342a01,unlinkedAt:_0x159130,attributes:_0x8301f4})=>{const _0x4fb87a=_0x4a60af;_0x42d956[_0x4fb87a(0x1a0)](_0x586a52)&&_0x42d956[_0x4fb87a(0x1c6)]({'threadId':_0x586a52,'channelId':_0x11f972,'context':_0x342a01,'unlinkedAt':_0x159130,'attributes':_0x8301f4,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1bb),(_0x5030eb,{commentThreadId:_0x15ece0,resolvedBy:_0x496958,resolvedAt:_0x3102f5})=>{const _0x5aba55=_0x4a60af,_0x3ad6ac=_0x42d956[_0x5aba55(0x1a0)](_0x15ece0);_0x3ad6ac&&_0x3ad6ac[_0x5aba55(0x1d8)]({'resolvedBy':_0x496958,'resolvedAt':_0x3102f5,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d7),(_0x1d99a7,{commentThreadId:_0x16abd5})=>{const _0xb8be06=_0x4a60af,_0x425809=_0x42d956[_0xb8be06(0x1a0)](_0x16abd5);_0x425809&&_0x425809[_0xb8be06(0x19a)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1c7),(_0x4f560c,{commentThreadId:_0x3adce6})=>{const _0x570e5a=_0x4a60af,_0x510a3e=_0x42d956[_0x570e5a(0x1a0)](_0x3adce6);_0x510a3e&&_0x510a3e[_0x570e5a(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d1),(_0x465d92,_0x5f54d6)=>{const _0x3f9109=_0x4a60af,_0x21122a=_0x5f54d6[_0x3f9109(0x1f2)],_0x1f99c1=_0x42d956[_0x3f9109(0x1a0)](_0x21122a);_0x1f99c1&&_0x1f99c1[_0x3f9109(0x1ae)]({...nt(_0x5f54d6),'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1f5),(_0xfabae8,{commentThreadId:_0x3ddabe,commentId:_0xa8e2f4,content:_0x17cc00,attributes:_0x1c2379})=>{const _0x976435=_0x4a60af,_0x4afda7=_0x42d956[_0x976435(0x1a0)](_0x3ddabe);if(_0x4afda7){const _0x1a391f=_0x4afda7[_0x976435(0x1e6)](_0xa8e2f4);_0x1a391f&&_0x1a391f[_0x976435(0x1ea)]({'content':_0x17cc00,'attributes':_0x1c2379,'isFromAdapter':!0x0});}}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ec),(_0x42b5a0,{commentThreadId:_0x7b7638,commentId:_0x2bfe32})=>{const _0x2fa286=_0x4a60af,_0x2439ed=_0x42d956[_0x2fa286(0x1a0)](_0x7b7638);if(_0x2439ed){const _0x563991=_0x2439ed[_0x2fa286(0x1e6)](_0x2bfe32);_0x563991&&_0x563991[_0x2fa286(0x1f6)]({'isFromAdapter':!0x0});}}),await this[_0x4a60af(0x1bd)](_0x145c52);}[_0x12cc2f(0x1f8)](){const _0x55b5d4=_0x12cc2f;if(this[_0x55b5d4(0x1aa)]instanceof _0x145262){const _0x2b5a9a=this[_0x55b5d4(0x1aa)][_0x55b5d4(0x1a5)][_0x55b5d4(0x1a3)](_0x55b5d4(0x1c9));this[_0x55b5d4(0x1a4)](_0x2b5a9a);}}[_0x12cc2f(0x1a4)](_0x308d88){const _0x4cb6d3=_0x12cc2f;if(!this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1d0)](_0x308d88))throw new _0x2d11b1(_0x4cb6d3(0x1e1),null,{'channelId':_0x308d88});this[_0x4cb6d3(0x19e)](_0x308d88)[_0x4cb6d3(0x1f0)](),this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1b3)](_0x308d88);}async[_0x12cc2f(0x1da)](){const _0x3d00cf=_0x12cc2f;for(const _0x3fa53f of this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1df)]())await this[_0x3d00cf(0x1bd)](_0x3fa53f);if(this[_0x3d00cf(0x1aa)]instanceof _0x145262){const _0x2de5c7=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1a5)][_0x3d00cf(0x1a3)](_0x3d00cf(0x1c9)),_0x2b96b9=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1ad)][_0x3d00cf(0x1a3)](_0x57278a);_0x2b96b9[_0x3d00cf(0x1fb)](_0x2de5c7);const _0x4b115e=await this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1a3)](_0x2de5c7)[_0x3d00cf(0x1ab)]();_0x2b96b9[_0x3d00cf(0x19f)](_0x2de5c7,_0x4b115e);}}async[_0x12cc2f(0x1bd)](_0x3ec7f3){const _0x2f265a=_0x12cc2f,{connection:_0xe891ca}=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x1f55cb),_0xe5fe0b=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x2f265a(0x1e0)),_0x2b4bd0=this[_0x2f265a(0x1e2)][_0x2f265a(0x1a3)](_0x3ec7f3),_0x1075f2=await _0x2b4bd0[_0x2f265a(0x1bf)](_0xe891ca);await this[_0x2f265a(0x1de)](_0x1075f2);const _0x2db2cf=new Set(Array[_0x2f265a(0x1e3)](_0xe5fe0b[_0x2f265a(0x19d)]({'channelId':_0x3ec7f3}),_0x54b2bf=>_0x54b2bf['id']));for(const _0x58dd33 of _0x1075f2)_0x58dd33[_0x2f265a(0x1e7)]||_0x2db2cf[_0x2f265a(0x1b3)](_0x58dd33[_0x2f265a(0x1f2)]);for(const _0x300fc9 of _0x2db2cf)_0xe5fe0b[_0x2f265a(0x1a0)](_0x300fc9)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4c9d85 of _0x1075f2){let _0xa88618=_0xe5fe0b[_0x2f265a(0x1a0)](_0x4c9d85[_0x2f265a(0x1f2)]);const {commentThreadId:_0x582712,context:_0x4d93e9,attributes:_0x431159,resolvedBy:_0x2bb1f2,resolvedAt:_0x513159,unlinkedAt:_0x537466,deletedAt:_0x362b6e}=_0x4c9d85;if(_0x362b6e)continue;_0xa88618||(_0xa88618=_0xe5fe0b[_0x2f265a(0x1ed)]({'channelId':_0x3ec7f3,'threadId':_0x582712,'context':_0x4d93e9,'attributes':_0x431159||{},'resolvedBy':_0x2bb1f2,'resolvedAt':_0x513159,'unlinkedAt':_0x537466,'isFromAdapter':!0x0}));const _0xfcce28=new Set(Array[_0x2f265a(0x1e3)](_0xa88618[_0x2f265a(0x1db)],_0x105ac3=>_0x105ac3['id']));for(const _0x3637f1 of _0x4c9d85[_0x2f265a(0x1db)])_0xfcce28[_0x2f265a(0x1b3)](_0x3637f1[_0x2f265a(0x1c5)]);for(const _0x2609b4 of _0xfcce28)_0xa88618[_0x2f265a(0x1e6)](_0x2609b4)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4d85d8 of _0x4c9d85[_0x2f265a(0x1db)]){const _0x49e1b3=_0xa88618[_0x2f265a(0x1e6)](_0x4d85d8[_0x2f265a(0x1c5)]);_0x49e1b3?_0x49e1b3[_0x2f265a(0x1b5)]!==_0x4d85d8[_0x2f265a(0x1b5)]&&_0x49e1b3[_0x2f265a(0x1ea)]({'content':_0x4d85d8[_0x2f265a(0x1b5)],'isFromAdapter':!0x0}):_0xa88618[_0x2f265a(0x1ae)](Object[_0x2f265a(0x1f4)](nt(_0x4d85d8),{'isFromAdapter':!0x0}));}}}[_0x12cc2f(0x19e)](_0x251e7d){const _0x209090=_0x12cc2f;if(!this[_0x209090(0x1e2)][_0x209090(0x1d0)](_0x251e7d))throw new _0x2d11b1(_0x209090(0x1dd),null,{'channelId':_0x251e7d});return this[_0x209090(0x1e2)][_0x209090(0x1a3)](_0x251e7d);}async[_0x12cc2f(0x1de)](_0x2d12b8){const _0x3b0284=_0x12cc2f,_0x2ffb80=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x2b92ca),{connection:_0x164385}=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x1f55cb),_0x25f58b=new Set();for(const {resolvedBy:_0x2bc11d,comments:_0x12446f}of _0x2d12b8){_0x2bc11d&&!_0x2ffb80[_0x3b0284(0x199)](_0x2bc11d)&&_0x25f58b[_0x3b0284(0x194)](_0x2bc11d);for(const {userId:_0x3baf33}of _0x12446f)_0x2ffb80[_0x3b0284(0x199)](_0x3baf33)||_0x25f58b[_0x3b0284(0x194)](_0x3baf33);}if(0x0===_0x25f58b[_0x3b0284(0x19c)])return;const _0x5e0284=await _0x25743b[_0x3b0284(0x1f7)](_0x164385,Array[_0x3b0284(0x1e3)](_0x25f58b));for(const _0x4a2c83 of _0x5e0284)_0x2ffb80[_0x3b0284(0x199)](_0x4a2c83['id'])||_0x2ffb80[_0x3b0284(0x195)](_0x4a2c83);}}async function ot(_0x266ae9){const _0x5d6cf9=_0x12cc2f;if(_0x5d6cf9(0x1f3)!==_0x266ae9[_0x5d6cf9(0x1ce)])throw _0x266ae9;}function _0x5c79(_0x147ce4,_0x1169de){const _0x241659=_0x2416();return _0x5c79=function(_0x5c7985,_0x3551f3){_0x5c7985=_0x5c7985-0x194;let _0x512e4d=_0x241659[_0x5c7985];return _0x512e4d;},_0x5c79(_0x147ce4,_0x1169de);}function T(_0x1c18f6){const _0x2992d5=_0x12cc2f;if((_0x560dee=_0x1c18f6)[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1b6))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1a9))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1fa)))return new Promise(()=>{});var _0x560dee;throw _0x1c18f6;}function _0x2416(){const _0x135db6=['reconnect','comments','15CBOASa','cloudservicescommentsadapter-service-not-exist','_fetchMissingUsersForThreads','keys','CommentsRepository','cloudservicescommentsadapter-disconnect-not-exist','_services','from','1106175iWoXBv','listenTo','getComment','deletedAt','permissions','5sDOfEu','update','off','commentRemoved','addCommentThread','24QXmoLN','mySessionId','disconnect','_setUpService','commentThreadId','404','assign','commentUpdated','remove','getMany','destroy','set','cloud-services-internal-error:\x20Request\x20timeout.','unregister','add','addUser','catch','4952376EyoKQB','41931tmFPeN','getUser','reopen','message','size','getCommentThreads','_getService','register','getCommentThread','sessionAdd:','cloudservicescommentsadapter-connect-already-connected','get','_terminateService','config','updateComment','147844KARQUX','16510DujPFJ','cloud-services-internal-error:\x20Not\x20connected.','context','getConnectedSessions','8995393SgSpNt','plugins','addComment','resolveCommentThread','requires','init','isPremiumPlugin','delete','resolvedBy','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','removeComment','adapter','commentThreadUpdated','commentThreadResolved','Permissions','_connectService','50BmOaGV','connect','reopenCommentThread','isOfficialPlugin','1182yOnIie','createdAt','removeCommentThread','commentId','updateCommentThread','commentThreadRemoved','resolvedAt','collaboration.channelId','commentThreadAdded','CloudServicesCommentsAdapter','startsWith','CommentsService','code','userId','has','commentAdded','map','addToReconnectionStack','setPermissions','166556KqeouF','attributes','commentThreadReopened','resolve','authorId'];_0x2416=function(){return _0x135db6;};return _0x2416();}function nt(_0x57141e){const _0x289aec=_0x12cc2f;return{'threadId':_0x57141e[_0x289aec(0x1f2)],'commentId':_0x57141e[_0x289aec(0x1c5)],'content':_0x57141e[_0x289aec(0x1b5)],'createdAt':_0x57141e[_0x289aec(0x1c3)],'authorId':_0x57141e[_0x289aec(0x1cf)],'attributes':_0x57141e[_0x289aec(0x1d6)]||{}};}
23
+ const _0x1bb9d2=_0xbe3f;(function(_0x27f233,_0x197105){const _0x3ce2e8=_0xbe3f,_0x3716c5=_0x27f233();while(!![]){try{const _0x2640fc=-parseInt(_0x3ce2e8(0x11e))/0x1*(-parseInt(_0x3ce2e8(0xff))/0x2)+parseInt(_0x3ce2e8(0x127))/0x3+-parseInt(_0x3ce2e8(0x10a))/0x4*(-parseInt(_0x3ce2e8(0x15a))/0x5)+-parseInt(_0x3ce2e8(0x114))/0x6+-parseInt(_0x3ce2e8(0x10b))/0x7*(parseInt(_0x3ce2e8(0x108))/0x8)+-parseInt(_0x3ce2e8(0x105))/0x9*(parseInt(_0x3ce2e8(0x12b))/0xa)+parseInt(_0x3ce2e8(0x12e))/0xb;if(_0x2640fc===_0x197105)break;else _0x3716c5['push'](_0x3716c5['shift']());}catch(_0x379a48){_0x3716c5['push'](_0x3716c5['shift']());}}}(_0x5a84,0x5c219));import{Context as _0x426730,ContextPlugin as _0x860539}from'ckeditor5/src/core.js';import{CKEditorError as _0x18e3f6}from'ckeditor5/src/utils.js';import{Users as _0x1793fe}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a84(){const _0x3c9280=['commentThreadAdded','commentThreadReopened','_getService','permissions','keys','404','CommentsRepository','has','assign','context','init','collaboration.channelId','update','getComment','code','_fetchMissingUsersForThreads','getCommentThreads','connect','mySessionId','cloud-services-internal-error:\x20Not\x20connected.','delete','28535hEXGaD','remove','commentId','register','setPermissions','requires','CloudServicesCommentsAdapter','disconnect','isOfficialPlugin','from','getUser','CommentsService','52868JIWTVw','content','cloudservicescommentsadapter-connect-already-connected','startsWith','sessionAdd:','pluginName','666423FnfLnr','get','updateComment','10600soGrFT','size','12NTytxm','1183kadUkq','map','reopenCommentThread','getConnectedSessions','addToReconnectionStack','resolveCommentThread','isPremiumPlugin','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','4500834liWfyo','commentAdded','reconnect','off','destroy','deletedAt','getCommentThread','addUser','userId','authorId','22RTdvxo','_connectService','removeComment','commentRemoved','comments','listenTo','commentThreadRemoved','catch','config','500784LyyRLm','getMany','adapter','cloud-services-internal-error:\x20Request\x20timeout.','90UHbhKb','_setUpService','reopen','13774849mnkSmI','removeCommentThread','addComment','Permissions','message','unregister','resolvedAt','add','commentThreadResolved','resolvedBy','commentUpdated','set','resolve','_terminateService','_services','attributes','createdAt','plugins','commentThreadUpdated','cloudservicescommentsadapter-disconnect-not-exist','updateCommentThread','commentThreadId','addCommentThread'];_0x5a84=function(){return _0x3c9280;};return _0x5a84();}import{CommentsService as _0x5ef15d,User as _0xd5242b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x11ca42}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1b364c}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x860539{static [_0x1bb9d2(0xfe)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5ef15d)());[_0x1bb9d2(0x13c)];static get[_0x1bb9d2(0xf8)](){const _0x3e0c5b=_0x1bb9d2;return[_0x11ca42,_0x3e0c5b(0x14b),_0x1b364c,_0x1793fe];}static get[_0x1bb9d2(0x104)](){const _0x2721fb=_0x1bb9d2;return _0x2721fb(0xf9);}static get[_0x1bb9d2(0xfb)](){return!0x0;}static get[_0x1bb9d2(0x111)](){return!0x0;}constructor(_0x5e5c9e){const _0x53fde0=_0x1bb9d2;super(_0x5e5c9e),this[_0x53fde0(0x13c)]=new Map();}async[_0x1bb9d2(0x14f)](){const _0x574e2f=_0x1bb9d2,_0x2b668b=this[_0x574e2f(0x14e)],_0x184c8b=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x574e2f(0x14b));if(_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x11ca42)[_0x574e2f(0x10f)](this),_0x184c8b[_0x574e2f(0x129)]={'addCommentThread':async({channelId:_0x1e9289,threadId:_0x35f7a5,comments:_0x2879b8,resolvedAt:_0x59acd8,resolvedBy:_0x8cca6,context:_0x3428f2,attributes:_0x11864e})=>{const _0x4fc1a3=_0x574e2f,_0x3dcc45=await this[_0x4fc1a3(0x147)](_0x1e9289)[_0x4fc1a3(0x144)]({'commentThreadId':_0x35f7a5,'comments':_0x2879b8[_0x4fc1a3(0x10c)](_0x5d8aff=>function(_0xa881f0,_0x1c0f01,_0x3756ce){const _0x524e87=_0x4fc1a3;return{'commentThreadId':_0x3756ce,'commentId':_0xa881f0[_0x524e87(0x15c)],'userId':_0xa881f0[_0x524e87(0x11d)],'content':_0xa881f0[_0x524e87(0x100)],'documentId':_0x1c0f01,'createdAt':_0xa881f0[_0x524e87(0x13e)],'attributes':_0xa881f0[_0x524e87(0x13d)]||{}};}(_0x5d8aff,_0x1e9289,_0x35f7a5)),'resolvedAt':_0x59acd8,'resolvedBy':_0x8cca6,'context':_0x3428f2,'attributes':_0x11864e})[_0x4fc1a3(0x125)](k);return{'threadId':_0x3dcc45[_0x4fc1a3(0x143)],'comments':_0x3dcc45[_0x4fc1a3(0x122)]};},'getCommentThread':async({channelId:_0x37b4bb,threadId:_0x20fd61})=>{const _0x14be89=_0x574e2f,_0x3c2328=await this[_0x14be89(0x147)](_0x37b4bb)[_0x14be89(0x11a)](_0x20fd61)[_0x14be89(0x125)](F)[_0x14be89(0x125)](k);return _0x3c2328?_0x3c2328[_0x14be89(0x119)]?null:(await this[_0x14be89(0x154)]([_0x3c2328]),{'threadId':_0x3c2328[_0x14be89(0x143)],'comments':_0x3c2328[_0x14be89(0x122)][_0x14be89(0x10c)](S),'context':_0x3c2328[_0x14be89(0x14e)],'resolvedAt':_0x3c2328[_0x14be89(0x134)],'resolvedBy':_0x3c2328[_0x14be89(0x137)],'attributes':_0x3c2328[_0x14be89(0x13d)]||{}}):null;},'updateCommentThread':async({channelId:_0x12ec35,threadId:_0x40419b,context:_0x17f55e,unlinkedAt:_0x5ebb6a,attributes:_0x59be89})=>this[_0x574e2f(0x147)](_0x12ec35)[_0x574e2f(0x142)]({'commentThreadId':_0x40419b,'context':_0x17f55e,'attributes':_0x59be89,'unlinkedAt':_0x5ebb6a})[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'resolveCommentThread':async({channelId:_0x27eb30,threadId:_0x553346})=>{const _0x9adb42=_0x574e2f,_0x316ccf=await this[_0x9adb42(0x147)](_0x27eb30)[_0x9adb42(0x110)](_0x553346)[_0x9adb42(0x125)](F)[_0x9adb42(0x125)](k);return{'threadId':_0x316ccf[_0x9adb42(0x143)],'resolvedAt':_0x316ccf[_0x9adb42(0x134)],'resolvedBy':_0x316ccf[_0x9adb42(0x137)]};},'reopenCommentThread':async({channelId:_0x4002e1,threadId:_0x1189fb})=>this[_0x574e2f(0x147)](_0x4002e1)[_0x574e2f(0x10d)](_0x1189fb)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeCommentThread':({channelId:_0x676ddf,threadId:_0x76b762})=>this[_0x574e2f(0x147)](_0x676ddf)[_0x574e2f(0x12f)](_0x76b762)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'addComment':({channelId:_0x22283c,threadId:_0x591c49,commentId:_0x5dca8d,content:_0x3a1ab2,attributes:_0x207b76})=>this[_0x574e2f(0x147)](_0x22283c)[_0x574e2f(0x130)](_0x591c49,_0x5dca8d,_0x3a1ab2,_0x207b76)[_0x574e2f(0x125)](k),'updateComment':({channelId:_0x31330e,threadId:_0x309f75,commentId:_0x3cbf2d,content:_0x3f2005,attributes:_0x202d67})=>this[_0x574e2f(0x147)](_0x31330e)[_0x574e2f(0x107)](_0x309f75,_0x3cbf2d,_0x3f2005,_0x202d67)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeComment':({channelId:_0xfd93ea,threadId:_0x8d7a84,commentId:_0x4f540c})=>this[_0x574e2f(0x147)](_0xfd93ea)[_0x574e2f(0x120)](_0x8d7a84,_0x4f540c)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k)},_0x2b668b instanceof _0x426730){const _0x350c6b=_0x2b668b[_0x574e2f(0x126)][_0x574e2f(0x106)](_0x574e2f(0x150)),_0x16f261=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x1b364c);await this[_0x574e2f(0x12c)](_0x350c6b);const _0x5daf90=await this[_0x574e2f(0x13c)][_0x574e2f(0x106)](_0x350c6b)[_0x574e2f(0x10e)]();this[_0x574e2f(0x123)](_0x16f261,_0x574e2f(0x103)+_0x350c6b,(_0x6c3fcb,{session:_0x55934c})=>{const _0xe48d4e=_0x574e2f;_0x55934c['id']===_0x16f261[_0xe48d4e(0x157)]&&(_0x6c3fcb[_0xe48d4e(0x117)](),this[_0xe48d4e(0x14e)][_0xe48d4e(0x13f)][_0xe48d4e(0x106)](_0xe48d4e(0x131))[_0xe48d4e(0xf7)](_0x55934c[_0xe48d4e(0x148)],_0x350c6b));}),_0x16f261[_0x574e2f(0x15d)](_0x350c6b,_0x5daf90);}}async[_0x1bb9d2(0x12c)](_0x176c42){const _0x592574=_0x1bb9d2;if(this[_0x592574(0x13c)][_0x592574(0x14c)](_0x176c42))throw new _0x18e3f6(_0x592574(0x101),null,{'channelId':_0x176c42});const _0x35dfcc=this[_0x592574(0x14e)][_0x592574(0x13f)][_0x592574(0x106)](_0x592574(0x14b)),_0x33c0e6=new CloudServicesCommentsAdapter[(_0x592574(0xfe))](_0x176c42);this[_0x592574(0x13c)][_0x592574(0x139)](_0x176c42,_0x33c0e6),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x145),(_0x4c699a,_0x1318ae)=>{const _0x115222=_0x592574,{commentThreadId:_0xf7af6a,documentId:_0x2c1bef,context:_0x3e8b49,attributes:_0x52a028,resolvedAt:_0x43c334,resolvedBy:_0x5ec8d7,comments:_0x43b66c}=_0x1318ae;_0x35dfcc[_0x115222(0x11a)](_0xf7af6a)||_0x35dfcc[_0x115222(0x144)]({'threadId':_0xf7af6a,'channelId':_0x2c1bef,'comments':_0x43b66c?_0x43b66c[_0x115222(0x10c)](S):[],'context':_0x3e8b49,'attributes':_0x52a028,'resolvedAt':_0x43c334,'resolvedBy':_0x5ec8d7,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x140),(_0x244c2e,{commentThreadId:_0x1e1c1f,documentId:_0xc45a5e,context:_0x40ed04,unlinkedAt:_0x5bcf1c,attributes:_0x43ad73})=>{const _0x5bbf4f=_0x592574;_0x35dfcc[_0x5bbf4f(0x11a)](_0x1e1c1f)&&_0x35dfcc[_0x5bbf4f(0x142)]({'threadId':_0x1e1c1f,'channelId':_0xc45a5e,'context':_0x40ed04,'unlinkedAt':_0x5bcf1c,'attributes':_0x43ad73,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x136),(_0x2953a0,{commentThreadId:_0x32dc8c,resolvedBy:_0x4dea44,resolvedAt:_0x3b2457})=>{const _0x5c9491=_0x592574,_0x333f28=_0x35dfcc[_0x5c9491(0x11a)](_0x32dc8c);_0x333f28&&_0x333f28[_0x5c9491(0x13a)]({'resolvedBy':_0x4dea44,'resolvedAt':_0x3b2457,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x146),(_0x177e30,{commentThreadId:_0x1a645b})=>{const _0x28fb93=_0x592574,_0x56b9d1=_0x35dfcc[_0x28fb93(0x11a)](_0x1a645b);_0x56b9d1&&_0x56b9d1[_0x28fb93(0x12d)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x124),(_0x8494c4,{commentThreadId:_0x2fd7e9})=>{const _0x3016a4=_0x592574,_0x1e4cb8=_0x35dfcc[_0x3016a4(0x11a)](_0x2fd7e9);_0x1e4cb8&&_0x1e4cb8[_0x3016a4(0x15b)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x115),(_0x46cade,_0x49e159)=>{const _0x5660ea=_0x592574,_0x3d29d8=_0x49e159[_0x5660ea(0x143)],_0x34b0a8=_0x35dfcc[_0x5660ea(0x11a)](_0x3d29d8);_0x34b0a8&&_0x34b0a8[_0x5660ea(0x130)]({...S(_0x49e159),'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x138),(_0x2bf487,{commentThreadId:_0x18f4a9,commentId:_0x3074df,content:_0x14a782,attributes:_0x3a2a81})=>{const _0x42e059=_0x592574,_0x313aab=_0x35dfcc[_0x42e059(0x11a)](_0x18f4a9);if(_0x313aab){const _0x5c0653=_0x313aab[_0x42e059(0x152)](_0x3074df);_0x5c0653&&_0x5c0653[_0x42e059(0x151)]({'content':_0x14a782,'attributes':_0x3a2a81,'isFromAdapter':!0x0});}}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x121),(_0x212be1,{commentThreadId:_0x1cd88b,commentId:_0xb885b2})=>{const _0x5bbf8d=_0x592574,_0x5d941d=_0x35dfcc[_0x5bbf8d(0x11a)](_0x1cd88b);if(_0x5d941d){const _0x5cd879=_0x5d941d[_0x5bbf8d(0x152)](_0xb885b2);_0x5cd879&&_0x5cd879[_0x5bbf8d(0x15b)]({'isFromAdapter':!0x0});}}),await this[_0x592574(0x11f)](_0x176c42);}[_0x1bb9d2(0x118)](){const _0x3b67d7=_0x1bb9d2;if(this[_0x3b67d7(0x14e)]instanceof _0x426730){const _0x1bfdb8=this[_0x3b67d7(0x14e)][_0x3b67d7(0x126)][_0x3b67d7(0x106)](_0x3b67d7(0x150));this[_0x3b67d7(0x13b)](_0x1bfdb8);}}[_0x1bb9d2(0x13b)](_0x254412){const _0x435692=_0x1bb9d2;if(!this[_0x435692(0x13c)][_0x435692(0x14c)](_0x254412))throw new _0x18e3f6(_0x435692(0x141),null,{'channelId':_0x254412});this[_0x435692(0x147)](_0x254412)[_0x435692(0xfa)](),this[_0x435692(0x13c)][_0x435692(0x159)](_0x254412);}async[_0x1bb9d2(0x116)](){const _0x119b4a=_0x1bb9d2;for(const _0x5cb9f6 of this[_0x119b4a(0x13c)][_0x119b4a(0x149)]())await this[_0x119b4a(0x11f)](_0x5cb9f6);if(this[_0x119b4a(0x14e)]instanceof _0x426730){const _0x4b2c40=this[_0x119b4a(0x14e)][_0x119b4a(0x126)][_0x119b4a(0x106)](_0x119b4a(0x150)),_0x3f60c7=this[_0x119b4a(0x14e)][_0x119b4a(0x13f)][_0x119b4a(0x106)](_0x1b364c);_0x3f60c7[_0x119b4a(0x133)](_0x4b2c40);const _0x1e110a=await this[_0x119b4a(0x13c)][_0x119b4a(0x106)](_0x4b2c40)[_0x119b4a(0x10e)]();_0x3f60c7[_0x119b4a(0x15d)](_0x4b2c40,_0x1e110a);}}async[_0x1bb9d2(0x11f)](_0x187891){const _0x2a7007=_0x1bb9d2,{connection:_0xd45f44}=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x11ca42),_0x49ac9b=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x2a7007(0x14b)),_0x25428b=this[_0x2a7007(0x13c)][_0x2a7007(0x106)](_0x187891),_0x411a9e=await _0x25428b[_0x2a7007(0x156)](_0xd45f44);await this[_0x2a7007(0x154)](_0x411a9e);const _0x5ab06b=new Set(Array[_0x2a7007(0xfc)](_0x49ac9b[_0x2a7007(0x155)]({'channelId':_0x187891}),_0x560089=>_0x560089['id']));for(const _0x5ae37e of _0x411a9e)_0x5ae37e[_0x2a7007(0x119)]||_0x5ab06b[_0x2a7007(0x159)](_0x5ae37e[_0x2a7007(0x143)]);for(const _0xabb0f4 of _0x5ab06b)_0x49ac9b[_0x2a7007(0x11a)](_0xabb0f4)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0xd91cce of _0x411a9e){let _0x1a9e78=_0x49ac9b[_0x2a7007(0x11a)](_0xd91cce[_0x2a7007(0x143)]);const {commentThreadId:_0x213a68,context:_0x1f1023,attributes:_0x37970d,resolvedBy:_0xecc6b2,resolvedAt:_0x141447,unlinkedAt:_0xac1754,deletedAt:_0x35bb8c}=_0xd91cce;if(_0x35bb8c)continue;_0x1a9e78||(_0x1a9e78=_0x49ac9b[_0x2a7007(0x144)]({'channelId':_0x187891,'threadId':_0x213a68,'context':_0x1f1023,'attributes':_0x37970d||{},'resolvedBy':_0xecc6b2,'resolvedAt':_0x141447,'unlinkedAt':_0xac1754,'isFromAdapter':!0x0}));const _0x26009c=new Set(Array[_0x2a7007(0xfc)](_0x1a9e78[_0x2a7007(0x122)],_0xed6eaf=>_0xed6eaf['id']));for(const _0x1f4b58 of _0xd91cce[_0x2a7007(0x122)])_0x26009c[_0x2a7007(0x159)](_0x1f4b58[_0x2a7007(0x15c)]);for(const _0x54ade8 of _0x26009c)_0x1a9e78[_0x2a7007(0x152)](_0x54ade8)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0x810363 of _0xd91cce[_0x2a7007(0x122)]){const _0x2643d7=_0x1a9e78[_0x2a7007(0x152)](_0x810363[_0x2a7007(0x15c)]);_0x2643d7?_0x2643d7[_0x2a7007(0x100)]!==_0x810363[_0x2a7007(0x100)]&&_0x2643d7[_0x2a7007(0x151)]({'content':_0x810363[_0x2a7007(0x100)],'isFromAdapter':!0x0}):_0x1a9e78[_0x2a7007(0x130)](Object[_0x2a7007(0x14d)](S(_0x810363),{'isFromAdapter':!0x0}));}}}[_0x1bb9d2(0x147)](_0x4e5d12){const _0x813802=_0x1bb9d2;if(!this[_0x813802(0x13c)][_0x813802(0x14c)](_0x4e5d12))throw new _0x18e3f6(_0x813802(0x112),null,{'channelId':_0x4e5d12});return this[_0x813802(0x13c)][_0x813802(0x106)](_0x4e5d12);}async[_0x1bb9d2(0x154)](_0x406eae){const _0x37dbe6=_0x1bb9d2,_0x232543=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x1793fe),{connection:_0x5cd0ca}=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x11ca42),_0x3c9f36=new Set();for(const {resolvedBy:_0x35c02c,comments:_0x5e0cc0}of _0x406eae){_0x35c02c&&!_0x232543[_0x37dbe6(0xfd)](_0x35c02c)&&_0x3c9f36[_0x37dbe6(0x135)](_0x35c02c);for(const {userId:_0x4196c4}of _0x5e0cc0)_0x232543[_0x37dbe6(0xfd)](_0x4196c4)||_0x3c9f36[_0x37dbe6(0x135)](_0x4196c4);}if(0x0===_0x3c9f36[_0x37dbe6(0x109)])return;const _0x3af742=await _0xd5242b[_0x37dbe6(0x128)](_0x5cd0ca,Array[_0x37dbe6(0xfc)](_0x3c9f36));for(const _0x2b9ac4 of _0x3af742)_0x232543[_0x37dbe6(0xfd)](_0x2b9ac4['id'])||_0x232543[_0x37dbe6(0x11b)](_0x2b9ac4);}}async function F(_0x2c9c15){const _0x1ce56d=_0x1bb9d2;if(_0x1ce56d(0x14a)!==_0x2c9c15[_0x1ce56d(0x153)])throw _0x2c9c15;}function k(_0x3a486d){const _0x5920ac=_0x1bb9d2;if((_0x418a81=_0x3a486d)[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x113))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x158))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x12a)))return new Promise(()=>{});var _0x418a81;throw _0x3a486d;}function _0xbe3f(_0x23f88c,_0x561421){const _0x5a8441=_0x5a84();return _0xbe3f=function(_0xbe3f09,_0x53c4f8){_0xbe3f09=_0xbe3f09-0xf7;let _0x230c87=_0x5a8441[_0xbe3f09];return _0x230c87;},_0xbe3f(_0x23f88c,_0x561421);}function S(_0x2aabc0){const _0x47b5fc=_0x1bb9d2;return{'threadId':_0x2aabc0[_0x47b5fc(0x143)],'commentId':_0x2aabc0[_0x47b5fc(0x15c)],'content':_0x2aabc0[_0x47b5fc(0x100)],'createdAt':_0x2aabc0[_0x47b5fc(0x13e)],'authorId':_0x2aabc0[_0x47b5fc(0x11c)],'attributes':_0x2aabc0[_0x47b5fc(0x13d)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31fcf9=_0xf1d4;(function(_0x1ad930,_0x5c836e){const _0x4fea82=_0xf1d4,_0x58b48c=_0x1ad930();while(!![]){try{const _0x33d78f=-parseInt(_0x4fea82(0x1b4))/0x1+-parseInt(_0x4fea82(0x1c2))/0x2*(-parseInt(_0x4fea82(0x1b7))/0x3)+parseInt(_0x4fea82(0x1c3))/0x4*(-parseInt(_0x4fea82(0x1bd))/0x5)+parseInt(_0x4fea82(0x1a1))/0x6+parseInt(_0x4fea82(0x1a9))/0x7+parseInt(_0x4fea82(0x1b9))/0x8*(-parseInt(_0x4fea82(0x1b6))/0x9)+parseInt(_0x4fea82(0x1a5))/0xa;if(_0x33d78f===_0x5c836e)break;else _0x58b48c['push'](_0x58b48c['shift']());}catch(_0x11f182){_0x58b48c['push'](_0x58b48c['shift']());}}}(_0x530c,0x2dbd6));import{Plugin as _0x4a998d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1ba27c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1586e8}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x9e70c3}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a998d{static get[_0x31fcf9(0x1a8)](){const _0x2161a3=_0x31fcf9;return[_0x2161a3(0x1af),_0x1ba27c,_0x1586e8,_0x9e70c3];}static get[_0x31fcf9(0x1b1)](){const _0x1ce799=_0x31fcf9;return _0x1ce799(0x1a2);}static get[_0x31fcf9(0x1bc)](){return!0x0;}static get[_0x31fcf9(0x1a4)](){return!0x0;}[_0x31fcf9(0x1c1)](){const _0x34c42c=_0x31fcf9,_0xd283eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x9e70c3),_0x45b1eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x34c42c(0x1aa)),_0xa39e28=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x1ba27c);return this[_0x34c42c(0x1a6)][_0x34c42c(0x1ae)][_0x34c42c(0x1b0)](_0x34c42c(0x1a3),()=>{const _0x2e028c=_0x34c42c;this[_0x2e028c(0x1be)](_0xd283eb,_0x2e028c(0x1b5),(_0x2eed70,_0x27cde8,_0x55d4a1)=>{const _0x266353=_0x2e028c;_0x45b1eb[_0x266353(0x1c0)]=_0x266353(0x1bb)!==_0x55d4a1;});}),this[_0x34c42c(0x1be)](_0xd283eb,_0x34c42c(0x1b5),(_0x26a70f,_0x538d09,_0x4f8f65)=>{const _0x3babb8=_0x34c42c;this[_0x3babb8(0x1a6)][_0x3babb8(0x1b8)][_0x3babb8(0x1ac)](_0x3babb8(0x1bf))[_0x3babb8(0x1b2)](_0x3babb8(0x1bb)!==_0x4f8f65);}),_0xa39e28[_0x34c42c(0x1b3)](this[_0x34c42c(0x1a6)][_0x34c42c(0x1a7)][_0x34c42c(0x1ac)](_0x34c42c(0x1ab)));}[_0x31fcf9(0x1ba)](){const _0x37faae=_0x31fcf9;this[_0x37faae(0x1a6)][_0x37faae(0x1b8)][_0x37faae(0x1ac)](_0x1ba27c)[_0x37faae(0x1ad)](this[_0x37faae(0x1a6)][_0x37faae(0x1a7)][_0x37faae(0x1ac)](_0x37faae(0x1ab))),super[_0x37faae(0x1ba)]();}}function _0xf1d4(_0x2aaf11,_0x3bad7e){const _0x530cbf=_0x530c();return _0xf1d4=function(_0xf1d47b,_0x133f28){_0xf1d47b=_0xf1d47b-0x1a1;let _0x4207c8=_0x530cbf[_0xf1d47b];return _0x4207c8;},_0xf1d4(_0x2aaf11,_0x3bad7e);}function _0x530c(){const _0x5d2899=['pluginName','switchReadOnly','_setUpService','234844IWfRXO','change:state','3008349NhmOeP','918006UrTUWL','plugins','8lWJHxl','destroy','connected','isOfficialPlugin','20oEjTFt','listenTo','CommentsRepository','isThreadsLoadingPaused','init','2OePrXf','335060TNEsDQ','2185224XMWpwO','RealTimeCollaborativeComments','ready','isPremiumPlugin','845660yUPdqQ','editor','config','requires','2357201sEpPvC','CommentsEditing','collaboration.channelId','get','_terminateService','data','Comments','once'];_0x530c=function(){return _0x5d2899;};return _0x530c();}
23
+ const _0x1a9c0d=_0x48cb;(function(_0x473acc,_0x56addd){const _0x55cbd3=_0x48cb,_0x1e096c=_0x473acc();while(!![]){try{const _0x59b481=parseInt(_0x55cbd3(0x145))/0x1*(parseInt(_0x55cbd3(0x153))/0x2)+-parseInt(_0x55cbd3(0x13e))/0x3+-parseInt(_0x55cbd3(0x140))/0x4+-parseInt(_0x55cbd3(0x13c))/0x5*(-parseInt(_0x55cbd3(0x146))/0x6)+-parseInt(_0x55cbd3(0x14f))/0x7+-parseInt(_0x55cbd3(0x14d))/0x8+parseInt(_0x55cbd3(0x151))/0x9;if(_0x59b481===_0x56addd)break;else _0x1e096c['push'](_0x1e096c['shift']());}catch(_0xfdd4b5){_0x1e096c['push'](_0x1e096c['shift']());}}}(_0xec6c,0x8b6c4));import{Plugin as _0x4842c8}from'ckeditor5/src/core.js';function _0x48cb(_0xd55f8a,_0x4f4815){const _0xec6c3d=_0xec6c();return _0x48cb=function(_0x48cbca,_0x22d17f){_0x48cbca=_0x48cbca-0x133;let _0x2b3bf0=_0xec6c3d[_0x48cbca];return _0x2b3bf0;},_0x48cb(_0xd55f8a,_0x4f4815);}import{CloudServicesCommentsAdapter as _0x4376e5}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0xec6c(){const _0x1aa2c2=['isOfficialPlugin','860wcEXjb','listenTo','2959131LymNHN','Comments','127752fYNSCx','destroy','pluginName','switchReadOnly','RealTimeCollaborativeComments','4629yGLzRk','29028gJznxC','isPremiumPlugin','init','connected','requires','config','change:state','2620824NtsNhl','data','5008395aBJhzL','editor','15536511lJSSlN','isThreadsLoadingPaused','32JyokVG','_setUpService','plugins','CommentsEditing','collaboration.channelId','ready','once','_terminateService','CommentsRepository','get'];_0xec6c=function(){return _0x1aa2c2;};return _0xec6c();}import{RealTimeCollaborativeEditing as _0x47b284}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5665c3}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4842c8{static get[_0x1a9c0d(0x14a)](){const _0x2fec8e=_0x1a9c0d;return[_0x2fec8e(0x13f),_0x4376e5,_0x47b284,_0x5665c3];}static get[_0x1a9c0d(0x142)](){const _0x45faf4=_0x1a9c0d;return _0x45faf4(0x144);}static get[_0x1a9c0d(0x13b)](){return!0x0;}static get[_0x1a9c0d(0x147)](){return!0x0;}[_0x1a9c0d(0x148)](){const _0x14afcb=_0x1a9c0d,_0xd8d8ae=this[_0x14afcb(0x150)][_0x14afcb(0x133)][_0x14afcb(0x13a)](_0x5665c3),_0x14a30a=this[_0x14afcb(0x150)][_0x14afcb(0x133)][_0x14afcb(0x13a)](_0x14afcb(0x134)),_0x22532f=this[_0x14afcb(0x150)][_0x14afcb(0x133)][_0x14afcb(0x13a)](_0x4376e5);return this[_0x14afcb(0x150)][_0x14afcb(0x14e)][_0x14afcb(0x137)](_0x14afcb(0x136),()=>{const _0x4c8629=_0x14afcb;this[_0x4c8629(0x13d)](_0xd8d8ae,_0x4c8629(0x14c),(_0x2cf0bd,_0x553032,_0x42e22c)=>{const _0x264921=_0x4c8629;_0x14a30a[_0x264921(0x152)]=_0x264921(0x149)!==_0x42e22c;});}),this[_0x14afcb(0x13d)](_0xd8d8ae,_0x14afcb(0x14c),(_0x3c3270,_0x2afd07,_0x2a395e)=>{const _0x18e029=_0x14afcb;this[_0x18e029(0x150)][_0x18e029(0x133)][_0x18e029(0x13a)](_0x18e029(0x139))[_0x18e029(0x143)](_0x18e029(0x149)!==_0x2a395e);}),_0x22532f[_0x14afcb(0x154)](this[_0x14afcb(0x150)][_0x14afcb(0x14b)][_0x14afcb(0x13a)](_0x14afcb(0x135)));}[_0x1a9c0d(0x141)](){const _0x314884=_0x1a9c0d;this[_0x314884(0x150)][_0x314884(0x133)][_0x314884(0x13a)](_0x4376e5)[_0x314884(0x138)](this[_0x314884(0x150)][_0x314884(0x14b)][_0x314884(0x13a)](_0x314884(0x135))),super[_0x314884(0x141)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x590804=_0x3fe2;(function(_0x4a283a,_0x5b07c9){const _0x5b5650=_0x3fe2,_0x415190=_0x4a283a();while(!![]){try{const _0x3b7493=-parseInt(_0x5b5650(0x16b))/0x1+parseInt(_0x5b5650(0x1a3))/0x2+-parseInt(_0x5b5650(0x149))/0x3*(parseInt(_0x5b5650(0x1fc))/0x4)+-parseInt(_0x5b5650(0x144))/0x5+-parseInt(_0x5b5650(0x1ea))/0x6*(-parseInt(_0x5b5650(0x135))/0x7)+parseInt(_0x5b5650(0x1a9))/0x8+-parseInt(_0x5b5650(0x18e))/0x9*(-parseInt(_0x5b5650(0x1c5))/0xa);if(_0x3b7493===_0x5b07c9)break;else _0x415190['push'](_0x415190['shift']());}catch(_0x19c3aa){_0x415190['push'](_0x415190['shift']());}}}(_0x2b74,0x2a99a));import{Plugin as _0xae537,PendingActions as _0x49a0ed}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bac0b,version as _0x389919,uid as _0x30271c}from'ckeditor5/src/utils.js';import{Notification as _0x2a6059}from'ckeditor5/src/ui.js';function _0x2b74(){const _0x3d92be=['_offset','addRoot','addToReconnectionStack','root','init','path','_isPendingUpdate','start','_shouldSendSelectionUpdate','createRoot','_sendBufferedOperations','isOfficialPlugin','createPositionFromPath','_crash','removeFromReconnectionStack','3260dpOaYU','lastDocumentSession','setIdForTheLastOperation','_addKnownRoot','fire','_fetchMissingUsers','cs:removeUser','connect','collaboration.channelId','locale','_operationIdentifier','realtimecollaborationclient-init-service-incorrect-server-operation','showWarning','permissions','__className','_updateServerHistory','config','_saveOperationInBuffer','model','directChange','_operationToId','affectedSelectable','createUserMarkerOperations','listenTo','_handleServerResponse','_disconnectionOperations','_sendBufferedOperationsDelayId','message','_ignoredOperations','includes','document','enableReadOnlyMode','connected','Permissions','isEnabled','getConnectedSessions','finally','111252FZhlXj','history','marker','getOperationAuthor','_bufferRootLoad','PENDING_ACTION_SENDING_DATA','lastOperationId','$root','markers','return','sessionId','_currentBufferDelay','lastOperationAcceptedAt','createdAt','then','applyOperation','_handleReconnectionResponse','move','2216zzMAss','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.','affectsData','addOperation','operationsReceived','keys','clone','map','offset','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_setUpDataInit','stopListening','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','multi-root-editor-root-attributes-no-root','parse','enqueueChange','newRange','addUser','toJSON','realtimecollaborationclient-init-non-existent-root','off','string','get','round','_lastServerVersion','suppressErrorInCollaboration','apply','change:hasDomSelection','connection','batch','_refreshUserSelectionMarkers','InsertOperation','collaboration','_waitUntilSynced','pluginName','CommentsOnly','_handleInitialConnectionData','view','_handleReceivedOperations','_authorId','loadRoot','_lastSyncedOperationId','lastSyncVersion','_handleReconnectionError','push','rtc-offline','cloudServices.bundleVersion','editor','_isAttached','real-time-collaboration','realtimecollaborationclient-init-session-connection-error','getOperations','set','_getOperationsFromInitData','roots','size','reset','_bufferedOperations','_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','insert','createRange','getRoot','119TbhShY','requires','realtimecollaborationclient','slice','catch','state','Notification','_baseBufferDelay','addRootAttribute','_isConnected','wasUndone','length','baseVersion','realtimecollaborationclient-init-service-internal-error','document:write','1597805ZDPCqn','_isInit','_handleSendingSelectionMarkers','sendOperations','_service','840RbYBGo','_isLoaded','userId','fromJSON','_compressor','isDocumentOperation','channelSessions','_handleExternalOperations','unregister','getUser','createPositionAt','reconnect','_getAffectedRoot','_document','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','_loadRoot','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-handleserverresponse','_hasSynchronizationProblem','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','plugins','_initSessionsHandling','forEach','reconnection:\x20flushed\x20session','RealTimeCollaborationClient','stop','_isDisconnection','cloudDocumentVersion','startsWith','metadata','serverHistory','340495UQXjXH','from','differ','realtimecollaborationclient-sendbufferedoperations','_pendingAction','filter','sessionCreatedAt','realtimecollaborationclient-error','has','bind','high','initData','mySessionId','add','realtimecollaborationclient-init-connection-failed','CollaborativeEditingService','error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','_clearPendingAction','_knownOperations','_initThrowingOnDataSet','selection','rootName','_connectService','compress','attributes','_decompressOperations','rootsAttributes','wereChangesApplied','_disconnectService','sessionAdd:','_connectAfterSessionHasBeenFlushed','disconnected','_compressOperations','7758cxKYWz','decompress','version','change:_isPendingUpdate','disableReadOnlyMode','409','register','change:range','change:_isEditingAllowed','_channelId','getMany','destroy','remove','currentDocumentSession','rtc-destroyed','_sendBufferedOperationsDelayed','type','setPermissions','disconnect','entries','ready','512086xOEEkw','_hasSelectionChanged','code','isUndoneOperation','data','cloud-services-internal-error:\x20Request\x20timeout.','1099176piBVFD','_setPendingAction','define','end','getDocumentDetails','collaboration-missing-channelid','_applyOperationsSet','getIdOfTheLastOperation','targetPosition','position','Synchronization\x20issue','isReadOnly','404'];_0x2b74=function(){return _0x3d92be;};return _0x2b74();}import{transformOperationSets as _0x35f1db,NoOperation as _0x1125de,InsertOperation as _0x4953d9,MarkerOperation as _0x4b8200,RootAttributeOperation as _0x17c96e,OperationFactory as _0x35c5f8,History as _0x32dcfb}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1edf6e}from'./websocketgateway.js';import{Sessions as _0xeca481}from'./sessions.js';import{UserMarkers as _0xa483d3}from'./usermarkers.js';import{getTranslation as _0x59d0a9}from'../common-translations.js';import{Compressor as _0x1cfd92}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2dabef}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2a10b0,CollaborativeEditingService as _0x692b6a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let $=0x1;function _0x3fe2(_0x1a4f8c,_0x3ba2fa){const _0x2b744f=_0x2b74();return _0x3fe2=function(_0x3fe283,_0x5d6bbf){_0x3fe283=_0x3fe283-0x102;let _0x169b62=_0x2b744f[_0x3fe283];return _0x169b62;},_0x3fe2(_0x1a4f8c,_0x3ba2fa);}export class RealTimeCollaborationClient extends _0xae537{static [_0x590804(0x17a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x692b6a)());[_0x590804(0x1b6)];[_0x590804(0x1f4)];[_0x590804(0x16a)];[_0x590804(0x197)];[_0x590804(0x148)];[_0x590804(0x156)];[_0x590804(0x14d)];[_0x590804(0x12f)];[_0x590804(0x17f)];[_0x590804(0x15a)];[_0x590804(0x16f)];[_0x590804(0x1a4)];[_0x590804(0x1df)];[_0x590804(0x13c)];[_0x590804(0x1f5)];[_0x590804(0x11f)];[_0x590804(0x1de)];[_0x590804(0x1cf)];static get[_0x590804(0x136)](){return[_0x1edf6e,_0xeca481,_0xa483d3,_0x49a0ed,_0x2dabef,_0x2a6059];}static get[_0x590804(0x118)](){const _0x35e37c=_0x590804;return _0x35e37c(0x164);}static get[_0x590804(0x1c1)](){return!0x0;}static get[_0x590804(0x157)](){return!0x0;}get[_0x590804(0x167)](){const _0x19e900=_0x590804;return this[_0x19e900(0x10e)]+this[_0x19e900(0x1b6)];}get[_0x590804(0x10e)](){const _0x16732d=_0x590804;return this[_0x16732d(0x16a)][_0x16732d(0x190)]-this[_0x16732d(0x1b6)];}get[_0x590804(0x120)](){const _0x578248=_0x590804,_0x4a338a=this[_0x578248(0x16a)][_0x578248(0x129)]();for(let _0x2ce4ce=_0x4a338a[_0x578248(0x140)]-0x1;_0x2ce4ce>=0x0;_0x2ce4ce--){const _0x3fa6ef=_0x4a338a[_0x2ce4ce];if(!this[_0x578248(0x1de)][_0x578248(0x173)](_0x3fa6ef))return _0x3fa6ef[_0x578248(0x141)]+0x1-this[_0x578248(0x1b6)];}return 0x0;}constructor(_0x63c3ea){const _0x29a79a=_0x590804;if(super(_0x63c3ea),this[_0x29a79a(0x1b6)]=0x0,this[_0x29a79a(0x1f4)]=null,this[_0x29a79a(0x16a)]=new _0x32dcfb(),this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x1ab)](_0x29a79a(0x116),{}),this[_0x29a79a(0x197)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x1cd)),!this[_0x29a79a(0x197)])throw new _0x1bac0b(_0x29a79a(0x1ae),this);const _0x56f147=_0x63c3ea[_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x124))||_0x389919;this[_0x29a79a(0x148)]=new RealTimeCollaborationClient[(_0x29a79a(0x17a))](_0x56f147,this[_0x29a79a(0x197)]),this[_0x29a79a(0x156)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d7)][_0x29a79a(0x1e3)],this[_0x29a79a(0x14d)]=new _0x1cfd92(),this[_0x29a79a(0x12f)]=[],this[_0x29a79a(0x17f)]=new WeakSet(),this[_0x29a79a(0x15a)]=new Set(),this[_0x29a79a(0x12a)](_0x29a79a(0x1bc),!0x1),this[_0x29a79a(0x12a)](_0x29a79a(0x15d),!0x1),this[_0x29a79a(0x16f)]=null,this[_0x29a79a(0x1a4)]=!0x1,this[_0x29a79a(0x1df)]=null,this[_0x29a79a(0x13c)]=0x12c,this[_0x29a79a(0x1f5)]=this[_0x29a79a(0x13c)],this[_0x29a79a(0x11f)]=null,this[_0x29a79a(0x1de)]=new WeakSet(),this[_0x29a79a(0x1cf)]=new Q(this[_0x29a79a(0x1de)]);}[_0x590804(0x1ba)](){const _0x52a63f=_0x590804,_0x3b678e=this[_0x52a63f(0x125)],_0x43f254=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x2dabef),_0x5d74fb=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x1edf6e);this[_0x52a63f(0x1dc)](_0x43f254,_0x52a63f(0x1ed),(_0x5be822,_0x1dae5f)=>{const _0x399914=_0x52a63f,_0xe1ac98=_0x1dae5f[0x0];_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=_0x43f254[_0x399914(0x152)](_0xe1ac98[_0x399914(0x11d)]),_0x5be822[_0x399914(0x165)]()),null===_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=null,_0x5be822[_0x399914(0x165)]());},{'priority':_0x52a63f(0x175)}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x1d7)][_0x52a63f(0x1e3)][_0x52a63f(0x181)],_0x52a63f(0x195),(_0x2e9d0a,_0x4ebb8e)=>{const _0x48220d=_0x52a63f;_0x4ebb8e[_0x48220d(0x1d8)]&&this[_0x48220d(0x114)]();}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x17d)][_0x52a63f(0x11b)],_0x52a63f(0x111),()=>{const _0x284ed0=_0x52a63f;this[_0x284ed0(0x114)]();}),this[_0x52a63f(0x180)](),_0x3b678e[_0x52a63f(0x1d7)]['on'](_0x52a63f(0x1f9),(_0x19112d,_0x90da9)=>{const _0x186cf9=_0x52a63f,_0x2ee087=_0x90da9[0x0];_0x2ee087[_0x186cf9(0x14e)]&&(this[_0x186cf9(0x1d6)](_0x2ee087),this[_0x186cf9(0x15e)]()&&this[_0x186cf9(0x19d)]());}),this[_0x52a63f(0x206)](),this[_0x52a63f(0x174)](_0x52a63f(0x130))['to'](_0x5d74fb,_0x52a63f(0x13a),this,_0x52a63f(0x15d),(_0x14cb4b,_0x26928e)=>_0x52a63f(0x1e5)===_0x14cb4b&&!_0x26928e),this['on'](_0x52a63f(0x196),()=>{const _0xba03d7=_0x52a63f;this[_0xba03d7(0x130)]?_0x3b678e[_0xba03d7(0x192)](_0xba03d7(0x123)):_0x3b678e[_0xba03d7(0x1e4)](_0xba03d7(0x123));}),this[_0x52a63f(0x130)]?_0x3b678e[_0x52a63f(0x192)](_0x52a63f(0x123)):_0x3b678e[_0x52a63f(0x1e4)](_0x52a63f(0x123)),this[_0x52a63f(0x12a)](_0x52a63f(0x13e),!0x1);}async[_0x590804(0x154)](){const _0x3fc9b1=_0x590804,_0x7c0be7=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0xeca481),_0x24c73a=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0x1edf6e);try{this[_0x3fc9b1(0x1bc)]=!0x0,_0x7c0be7[_0x3fc9b1(0x151)](this[_0x3fc9b1(0x197)]);const _0x52e229=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x154)](_0x24c73a[_0x3fc9b1(0x112)],this[_0x3fc9b1(0x120)]);await this[_0x3fc9b1(0x1fa)](_0x52e229)&&(this[_0x3fc9b1(0x1bc)]=!0x1,this[_0x3fc9b1(0x17e)]());const _0x57b19a=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x1e8)]();_0x7c0be7[_0x3fc9b1(0x194)](this[_0x3fc9b1(0x197)],_0x57b19a),this[_0x3fc9b1(0x146)](),this[_0x3fc9b1(0x13e)]=!0x0;}catch(_0x269d1c){if(function(_0x430da0){const _0x419557=_0x3fc9b1;return _0x419557(0x1b5)===_0x430da0[_0x419557(0x1a5)];}(_0x269d1c)&&this[_0x3fc9b1(0x1f4)])await this[_0x3fc9b1(0x18b)]();else{if(function(_0x2dcbcb){const _0x341e28=_0x3fc9b1;return _0x341e28(0x193)===_0x2dcbcb[_0x341e28(0x1a5)];}(_0x269d1c)){const _0x4be191=_0x59d0a9(this[_0x3fc9b1(0x125)][_0x3fc9b1(0x1ce)],_0x3fc9b1(0x17c));this[_0x3fc9b1(0x121)](_0x4be191);}else{if(!(_0x269d1c instanceof K))throw _0x269d1c;this[_0x3fc9b1(0x121)]();}}}}[_0x590804(0x199)](){const _0x455d5d=_0x590804,_0x7e050c=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0x1edf6e),_0x892a5a=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0xeca481);this[_0x455d5d(0x125)][_0x455d5d(0x1e4)](_0x455d5d(0x19c)),_0x892a5a[_0x455d5d(0x14f)][_0x455d5d(0x173)](this[_0x455d5d(0x197)])&&_0x892a5a[_0x455d5d(0x151)](this[_0x455d5d(0x197)]),_0x7e050c[_0x455d5d(0x1c4)](this),this[_0x455d5d(0x189)](),super[_0x455d5d(0x199)]();}async[_0x590804(0x1fa)](_0x3958ee){const _0x49fdbb=_0x590804;if(this[_0x49fdbb(0x1f4)]!==_0x3958ee[_0x49fdbb(0x1f4)]&&this[_0x49fdbb(0x11f)]!==_0x3958ee[_0x49fdbb(0x1f0)])throw new K();return this[_0x49fdbb(0x1f4)]=_0x3958ee[_0x49fdbb(0x1f4)],this[_0x49fdbb(0x1dd)]([],{..._0x3958ee,'wereChangesApplied':!0x1,'data':_0x3958ee[_0x49fdbb(0x1a7)]},_0x49fdbb(0x154));}async[_0x590804(0x183)](_0x10d52f,_0x43c71e=!0x1){const _0x586869=_0x590804,{connection:_0x111a4c}=this[_0x586869(0x125)][_0x586869(0x160)][_0x586869(0x10c)](_0x1edf6e);RealTimeCollaborationClient[_0x586869(0x17a)][_0x586869(0x1e8)](_0x111a4c,this[_0x586869(0x197)])[_0x586869(0x1f8)](_0x3292b0=>this[_0x586869(0x161)](_0x3292b0))[_0x586869(0x139)](_0x495af1=>{const _0xc6a947=_0x586869;this[_0xc6a947(0x1c3)](_0xc6a947(0x128),_0x495af1);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x200),this[_0x586869(0x11c)][_0x586869(0x174)](this)),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x17b),(_0x2b87fe,_0x57eaa2)=>{const _0x26b1fd=_0x586869;this[_0x26b1fd(0x1c3)](_0x26b1fd(0x142),_0x57eaa2);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x18c),()=>{const _0x3a1bd5=_0x586869;this[_0x3a1bd5(0x13e)]=!0x1;});const _0x49af8f=this[_0x586869(0x1cf)][_0x586869(0x1b0)](_0x10d52f);this[_0x586869(0x1bc)]=!0x0;const _0x4cb415=await this[_0x586869(0x148)][_0x586869(0x1cc)](_0x111a4c,this[_0x586869(0x18d)](_0x10d52f),_0x49af8f);if(this[_0x586869(0x1f4)]=_0x4cb415[_0x586869(0x1f4)],_0x43c71e){if(!_0x4cb415[_0x586869(0x188)])return void this[_0x586869(0x121)]();this[_0x586869(0x1bc)]=!0x1,this[_0x586869(0x17e)](),this[_0x586869(0x16a)][_0x586869(0x12e)](),this[_0x586869(0x1b6)]=_0x4cb415[_0x586869(0x204)],this[_0x586869(0x16a)][_0x586869(0x190)]=this[_0x586869(0x1b6)],await this[_0x586869(0x1dd)](_0x10d52f,_0x4cb415,_0x586869(0x163));}else await this[_0x586869(0x11a)](_0x4cb415,_0x10d52f);this[_0x586869(0x146)](),this[_0x586869(0x13e)]=!0x0;}[_0x590804(0x146)](){const _0x2033e4=_0x590804,_0x5b7bae=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xeca481),_0x2f5d78=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xa483d3),_0x2ce7b7=_0x5b7bae[_0x2033e4(0x14f)][_0x2033e4(0x10c)](this[_0x2033e4(0x197)]);_0x2ce7b7&&_0x2ce7b7[_0x2033e4(0x140)]>0x1?_0x2f5d78[_0x2033e4(0x1db)]():this[_0x2033e4(0x1dc)](_0x5b7bae,_0x2033e4(0x18a)+this[_0x2033e4(0x197)],()=>{const _0x108c7d=_0x2033e4;0x2===_0x5b7bae[_0x108c7d(0x14f)][_0x108c7d(0x10c)](this[_0x108c7d(0x197)])[_0x108c7d(0x140)]&&_0x2f5d78[_0x108c7d(0x1db)]();});}async[_0x590804(0x11c)](_0x413075,_0x53f579,_0x7ce15b,_0x247496){const _0x571221=_0x590804;if(!this[_0x571221(0x1bc)]&&this[_0x571221(0x156)][_0x571221(0x190)]==_0x53f579){const _0x1fe920=this[_0x571221(0x186)](_0x7ce15b,_0x247496);await this[_0x571221(0x1ca)](_0x1fe920),this[_0x571221(0x150)](_0x1fe920,_0x53f579,_0x7ce15b[_0x571221(0x1f0)])||this[_0x571221(0x1c3)](_0x571221(0x1d0));}}async[_0x590804(0x18b)](){const _0x307ead=_0x590804;this[_0x307ead(0x189)]();const {locale:_0x10c35d}=this[_0x307ead(0x125)];let _0x58ef9f;try{_0x58ef9f=await this[_0x307ead(0x148)][_0x307ead(0x1ad)]();}catch{const _0x4f69dd=_0x59d0a9(_0x10c35d,_0x307ead(0x15f));return void this[_0x307ead(0x121)](_0x4f69dd);}const _0x580566=_0x58ef9f[_0x307ead(0x19b)]||_0x58ef9f[_0x307ead(0x1c6)];if(this[_0x307ead(0x11f)]!==_0x580566[_0x307ead(0x1f0)]){const _0x1bb0a0=_0x59d0a9(_0x10c35d,_0x307ead(0x102));return void this[_0x307ead(0x121)](_0x1bb0a0);}await this[_0x307ead(0x183)](this[_0x307ead(0x125)][_0x307ead(0x1d7)][_0x307ead(0x1e3)][_0x307ead(0x1eb)][_0x307ead(0x129)](),!0x0);}[_0x590804(0x189)](){const _0x162734=_0x590804;this[_0x162734(0x148)][_0x162734(0x1a0)](),this[_0x162734(0x12f)]=[],clearTimeout(this[_0x162734(0x1df)]),this[_0x162734(0x207)](this[_0x162734(0x148)]);}[_0x590804(0x161)](_0x5eec31){const _0x5bd437=_0x590804,_0x3e1180=this[_0x5bd437(0x125)][_0x5bd437(0x160)][_0x5bd437(0x10c)](_0xeca481);this[_0x5bd437(0x1dc)](_0x3e1180,_0x5bd437(0x18a)+this[_0x5bd437(0x197)],(_0x4c0dcd,{session:_0x411808})=>{const _0x164c15=_0x5bd437;if(_0x411808['id']===_0x3e1180[_0x164c15(0x177)]){_0x4c0dcd[_0x164c15(0x10a)]();const _0x3e8bd8=this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x173)](_0x164c15(0x119))&&this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x119));let _0x34c421=_0x411808[_0x164c15(0x1d2)];_0x3e8bd8&&_0x3e8bd8[_0x164c15(0x1e7)]&&(_0x34c421=_0x34c421[_0x164c15(0x170)](_0x3a4e9c=>_0x164c15(0x143)!==_0x3a4e9c)),this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x1e6))[_0x164c15(0x19f)](_0x34c421,this[_0x164c15(0x197)]);}}),_0x3e1180[_0x5bd437(0x194)](this[_0x5bd437(0x197)],_0x5eec31);}[_0x590804(0x180)](){const _0x20b12e=_0x590804,_0x4368db=this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)];this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)]=(..._0x3dd32e)=>{const _0x469f8f=_0x20b12e;if(!_0x3dd32e[_0x3dd32e[_0x469f8f(0x140)]-0x1][_0x469f8f(0x10f)])throw new _0x1bac0b(_0x469f8f(0x205),this);_0x4368db[_0x469f8f(0x110)](this[_0x469f8f(0x125)][_0x469f8f(0x1a7)],_0x3dd32e);};}[_0x590804(0x206)](){const _0x243d5b=_0x590804;this[_0x243d5b(0x125)][_0x243d5b(0x1a7)]['on'](_0x243d5b(0x1ba),(_0x2d3b7e,[_0x3a9ca4])=>{const _0x2586d6=_0x243d5b;if(this[_0x2586d6(0x156)][_0x2586d6(0x190)])throw new _0x1bac0b(_0x2586d6(0x131),this);_0x2d3b7e[_0x2586d6(0x165)](),this[_0x2586d6(0x1aa)]();const _0x4d79cc=this[_0x2586d6(0x125)][_0x2586d6(0x1d5)][_0x2586d6(0x10c)](_0x2586d6(0x187)),_0x513dbc=this[_0x2586d6(0x12b)](_0x3a9ca4,_0x4d79cc);0x0==_0x513dbc[_0x2586d6(0x140)]&&_0x513dbc[_0x2586d6(0x122)](new _0x1125de(0x0)),_0x2d3b7e[_0x2586d6(0x1f3)]=this[_0x2586d6(0x183)](_0x513dbc)[_0x2586d6(0x1f8)](()=>{const _0x50a469=_0x2586d6;this[_0x50a469(0x125)][_0x50a469(0x160)][_0x50a469(0x10c)](_0x1edf6e)[_0x50a469(0x1b8)](this),this[_0x50a469(0x125)][_0x50a469(0x1a7)][_0x50a469(0x1c9)](_0x50a469(0x1a2));})[_0x2586d6(0x139)](_0x2d28e9=>this[_0x2586d6(0x1c3)](_0x2586d6(0x179),_0x2d28e9))[_0x2586d6(0x1e9)](()=>this[_0x2586d6(0x17e)]());},{'priority':_0x243d5b(0x175)}),this[_0x243d5b(0x125)]['on'](_0x243d5b(0x11e),async(_0x39be0e,[_0x4d76a3,_0x229c46])=>{const _0x327ed7=_0x243d5b;_0x39be0e[_0x327ed7(0x165)]();const _0xf90078=this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x1e3)][_0x327ed7(0x134)](_0x4d76a3);if(!this[_0x327ed7(0x15a)][_0x327ed7(0x173)](_0x4d76a3)){const _0x3bb19c=_0x229c46&&_0x229c46[_0x327ed7(0x1a7)]?_0x229c46[_0x327ed7(0x1a7)]:'',_0x319aac=_0x229c46&&_0x229c46[_0x327ed7(0x185)]?_0x229c46[_0x327ed7(0x185)]:{};await this[_0x327ed7(0x159)](_0x4d76a3,_0x3bb19c,_0x319aac);}this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x105)]({'isUndoable':!0x1},()=>{const _0x449962=_0x327ed7;_0xf90078[_0x449962(0x14a)]=!0x0,this[_0x449962(0x125)][_0x449962(0x1d7)][_0x449962(0x1e3)][_0x449962(0x16d)][_0x449962(0x1ee)](_0xf90078);});},{'priority':_0x243d5b(0x175)});}async[_0x590804(0x1ca)](_0x49363c){const _0x1d8dbe=_0x590804,_0x5619c7=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x2dabef),{connection:_0x43df5f}=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x1edf6e),_0x4845cd=new Set();for(const _0x228f58 of _0x49363c){const _0x2685e1=_0x228f58[_0x1d8dbe(0x11d)];_0x2685e1&&!_0x5619c7[_0x1d8dbe(0x152)](_0x2685e1)&&_0x4845cd[_0x1d8dbe(0x178)](_0x2685e1);}if(0x0===_0x4845cd[_0x1d8dbe(0x12d)])return;const _0x2046ea=await _0x2a10b0[_0x1d8dbe(0x198)](_0x43df5f,Array[_0x1d8dbe(0x16c)](_0x4845cd));for(const _0x3b4458 of _0x2046ea)_0x5619c7[_0x1d8dbe(0x152)](_0x3b4458['id'])||_0x5619c7[_0x1d8dbe(0x107)](_0x3b4458);}[_0x590804(0x12b)](_0x51e2fa,_0x41fb50={}){const _0x243a7f=_0x590804,_0x36ef7a=this[_0x243a7f(0x125)][_0x243a7f(0x1d7)],_0x2520a1=[];let _0x4d8e74=0x0;const _0x4822eb=_0x243a7f(0x10b)==typeof _0x51e2fa?{'main':_0x51e2fa}:_0x51e2fa;for(const _0x4c410f of Object[_0x243a7f(0x201)](_0x4822eb)){if(!this[_0x243a7f(0x156)][_0x243a7f(0x12c)][_0x243a7f(0x173)](_0x4c410f))throw new _0x1bac0b(_0x243a7f(0x109),this);const _0x4d7b96=this[_0x243a7f(0x125)][_0x243a7f(0x1a7)][_0x243a7f(0x104)](_0x4822eb[_0x4c410f]),_0xdc51b4=this[_0x243a7f(0x156)][_0x243a7f(0x134)](_0x4c410f),_0x46c900=new _0x4953d9(_0x36ef7a[_0x243a7f(0x153)](_0xdc51b4,0x0),_0x4d7b96,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x46c900);for(const [_0x3c87eb,_0x3087cc]of _0x4d7b96[_0x243a7f(0x1f2)]){const _0xe84c6=_0x36ef7a[_0x243a7f(0x133)](_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1bd)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]()),_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1ac)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]())),_0x4a40db=new _0x4b8200(_0x3c87eb,null,_0xe84c6,_0x36ef7a[_0x243a7f(0x1f2)],!0x0,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x4a40db);}}if(_0x41fb50)for(const [_0x20b159,_0x3cb5bb]of Object[_0x243a7f(0x1a1)](_0x41fb50)){const _0x22ced9=_0x36ef7a[_0x243a7f(0x1e3)][_0x243a7f(0x134)](_0x20b159);if(!_0x22ced9)throw new _0x1bac0b(_0x243a7f(0x103),null);for(const [_0x1ca34b,_0x471cc3]of Object[_0x243a7f(0x1a1)](_0x3cb5bb))if(null!==_0x471cc3){const _0x5e75c1=new _0x17c96e(_0x22ced9,_0x1ca34b,null,_0x471cc3,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x5e75c1);}}return _0x2520a1;}async[_0x590804(0x159)](_0x26bcb3,_0x790fa3,_0x270499){const _0x4abf54=_0x590804;this[_0x4abf54(0x12b)]({[_0x26bcb3]:_0x790fa3},{[_0x26bcb3]:_0x270499})[_0x4abf54(0x162)]((_0x9d9c7c,_0x1ed303)=>{const _0x3cce17=_0x4abf54;_0x9d9c7c[_0x3cce17(0x141)]=this[_0x3cce17(0x156)][_0x3cce17(0x190)]+_0x1ed303,_0x9d9c7c[_0x3cce17(0x145)]=!0x0,this[_0x3cce17(0x1d6)](_0x9d9c7c);}),this[_0x4abf54(0x19d)](),await this[_0x4abf54(0x117)]();}async[_0x590804(0x11a)](_0x1351d9,_0x36efa){const _0x3984bb=_0x590804;let _0x4ff1af;this[_0x3984bb(0x1b6)]=_0x1351d9[_0x3984bb(0x204)];const _0x541d49=_0x1351d9[_0x3984bb(0x188)]&&!_0x1351d9[_0x3984bb(0x176)],_0xa966c0=_0x541d49?0x0:_0x1351d9[_0x3984bb(0x1a7)][_0x3984bb(0x141)];if(_0x36efa[_0x3984bb(0x162)](_0x4079e3=>{const _0x293d6c=_0x3984bb;_0x4079e3[_0x293d6c(0x145)]=!0x0,_0x4079e3[_0x293d6c(0x1f7)]=_0x1351d9[_0x293d6c(0x171)],_0x4079e3[_0x293d6c(0x11d)]=null;}),_0x541d49)_0x4ff1af=_0x36efa,this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);else{if(_0x1351d9[_0x3984bb(0x176)]){const _0x326a00=this[_0x3984bb(0x12b)](_0x1351d9[_0x3984bb(0x176)]);this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)],_0x326a00[_0x3984bb(0x162)](_0x4e1b6e=>{const _0x160efd=_0x3984bb;_0x4e1b6e[_0x160efd(0x141)]-=_0x326a00[_0x160efd(0x140)],_0x4e1b6e[_0x160efd(0x1f7)]=_0x1351d9[_0x160efd(0x171)],_0x4e1b6e[_0x160efd(0x145)]=!0x0,_0x4e1b6e[_0x160efd(0x11d)]=null;}),this[_0x3984bb(0x1af)](_0x326a00,!0x0),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)]+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x326a00);}this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=_0xa966c0,_0x4ff1af=this[_0x3984bb(0x186)](_0x1351d9[_0x3984bb(0x1a7)],_0x1351d9[_0x3984bb(0x169)]),await this[_0x3984bb(0x1ca)](_0x4ff1af),this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);}_0x1351d9[_0x3984bb(0x1f0)]&&(this[_0x3984bb(0x1cf)][_0x3984bb(0x1c7)](_0x4ff1af,_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x11f)]=_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=_0xa966c0+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x4ff1af),_0x36efa[_0x3984bb(0x170)](_0x2a00ab=>{const _0x11e6bd=_0x3984bb,_0x5b019b=this[_0x11e6bd(0x155)](_0x2a00ab);return _0x5b019b&&!this[_0x11e6bd(0x15a)][_0x11e6bd(0x173)](_0x5b019b);})[_0x3984bb(0x162)]((_0x3fddb1,_0x308d88)=>{const _0x2bf9a7=_0x3984bb;_0x3fddb1[_0x2bf9a7(0x141)]=this[_0x2bf9a7(0x156)][_0x2bf9a7(0x190)]+_0x308d88,this[_0x2bf9a7(0x1d6)](_0x3fddb1);}),this[_0x3984bb(0x15e)]()?(this[_0x3984bb(0x1f5)]=0x0,this[_0x3984bb(0x19d)](!0x0),await this[_0x3984bb(0x117)]()):(this[_0x3984bb(0x1bc)]=!0x1,this[_0x3984bb(0x17e)]());}[_0x590804(0x1c3)](_0x2d3598,_0x3fb864){const _0x5c552c=_0x590804,_0x332218=_0x3fb864&&_0x3fb864[_0x5c552c(0x1e0)];if(_0x332218&&_0x332218[_0x5c552c(0x168)](_0x5c552c(0x137)))throw _0x3fb864;const _0x2a7d02=this[_0x5c552c(0x125)][_0x5c552c(0x160)][_0x5c552c(0x10c)](_0x1edf6e);throw this[_0x5c552c(0x1bc)]=!0x0,_0x2a7d02[_0x5c552c(0x1a0)](),this[_0x5c552c(0x125)][_0x5c552c(0x1e4)](_0x5c552c(0x172)),new _0x1bac0b(_0x2d3598,this[_0x5c552c(0x125)],_0x332218?{'originalError':_0x332218}:void 0x0);}[_0x590804(0x1d6)](_0x4c4300){const _0x556e78=_0x590804;this[_0x556e78(0x17f)][_0x556e78(0x173)](_0x4c4300)||(this[_0x556e78(0x17f)][_0x556e78(0x178)](_0x4c4300),this[_0x556e78(0x12f)][_0x556e78(0x122)](_0x4c4300),this[_0x556e78(0x16f)]||_0x556e78(0x1ec)==_0x4c4300[_0x556e78(0x19e)]&&!_0x4c4300[_0x556e78(0x1fe)]||this[_0x556e78(0x1aa)]());}[_0x590804(0x19d)](_0x408bf6=!0x1){const _0x2804c4=_0x590804;!_0x408bf6&&this[_0x2804c4(0x1bc)]||(this[_0x2804c4(0x1bc)]=!0x0,clearTimeout(this[_0x2804c4(0x1df)]),this[_0x2804c4(0x1df)]=setTimeout(()=>{const _0x1646eb=_0x2804c4;this[_0x1646eb(0x1c0)]()[_0x1646eb(0x1f8)](_0x345538=>{const _0x2772f9=_0x1646eb;_0x345538&&(this[_0x2772f9(0x17e)](),this[_0x2772f9(0x1bc)]=!0x1);})[_0x1646eb(0x139)](_0x5b8c9e=>{const _0x46a333=_0x1646eb;this[_0x46a333(0x17e)](),this[_0x46a333(0x1bc)]=!0x1,function(_0x13be63){const _0x38909a=_0x46a333;return _0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x158))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x15b))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x1a8));}(_0x5b8c9e)||this[_0x46a333(0x1c3)](_0x5b8c9e[_0x46a333(0x1e0)],_0x5b8c9e);});},this[_0x2804c4(0x1f5)]));}[_0x590804(0x117)](){return new Promise(_0x35c8ca=>{const _0x57f25d=_0x3fe2;this['on'](_0x57f25d(0x191),()=>{_0x35c8ca();});});}async[_0x590804(0x1c0)](){const _0x1aef71=_0x590804,_0x17f0a5=this[_0x1aef71(0x125)][_0x1aef71(0x160)][_0x1aef71(0x10c)](_0xa483d3);if(this[_0x1aef71(0x1be)]()&&(_0x17f0a5[_0x1aef71(0x1db)](),this[_0x1aef71(0x1a4)]=!0x1),!this[_0x1aef71(0x15e)]())return!0x0;const _0x384823=[...this[_0x1aef71(0x12f)]];for(const _0x132f9f of _0x384823)_0x132f9f[_0x1aef71(0x13f)]=this[_0x1aef71(0x156)][_0x1aef71(0x1eb)][_0x1aef71(0x1a6)](_0x132f9f);const _0x50604d=this[_0x1aef71(0x1cf)][_0x1aef71(0x1b0)](_0x384823),_0x4de396=$++,_0x4208ab=this[_0x1aef71(0x18d)](_0x384823),_0x196efa=await this[_0x1aef71(0x148)][_0x1aef71(0x147)](_0x4208ab,_0x4208ab[_0x1aef71(0x141)],_0x50604d);try{return await this[_0x1aef71(0x1dd)](_0x384823,_0x196efa,_0x4de396);}catch(_0x448cf5){return this[_0x1aef71(0x1c3)](_0x1aef71(0x16e),_0x448cf5);}}async[_0x590804(0x1dd)](_0x585bee,_0x4d04f9,_0x220f92){const _0x502794=_0x590804;if(_0x502794(0x17b)in _0x4d04f9)throw _0x4d04f9[_0x502794(0x17b)];let _0x3bfcda=!0x1;if(_0x4d04f9[_0x502794(0x188)]){_0x4d04f9[_0x502794(0x1f0)]&&(this[_0x502794(0x11f)]=_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x1acd1f=>!_0x585bee[_0x502794(0x1e2)](_0x1acd1f));for(const _0x3cfa10 of _0x585bee)_0x3cfa10[_0x502794(0x1f7)]=_0x502794(0x1f6)in _0x4d04f9&&_0x4d04f9[_0x502794(0x1f6)]||void 0x0;J(_0x585bee,_0x4d04f9[_0x502794(0x190)]-_0x585bee[_0x502794(0x140)]),this[_0x502794(0x1d4)](_0x585bee);const _0x1bd875=_0x585bee[_0x502794(0x170)](_0x31a70a=>{const _0x2ec47a=_0x502794;if(!_0x31a70a[_0x2ec47a(0x145)])return!0x1;const _0xd0ebd4=this[_0x2ec47a(0x155)](_0x31a70a);return _0xd0ebd4&&!this[_0x2ec47a(0x15a)][_0x2ec47a(0x173)](_0xd0ebd4);});J(_0x1bd875,this[_0x502794(0x156)][_0x502794(0x190)]),this[_0x502794(0x1af)](_0x1bd875),_0x3bfcda=!0x0,this[_0x502794(0x1f5)]=this[_0x502794(0x13c)];}else{const _0x2075ad=this[_0x502794(0x186)](_0x4d04f9[_0x502794(0x1a7)],_0x4d04f9[_0x502794(0x169)])[_0x502794(0x170)](_0x25946f=>_0x25946f[_0x502794(0x141)]>=this[_0x502794(0x10e)]);_0x2075ad[_0x502794(0x162)](_0xf44d43=>this[_0x502794(0x1c8)](_0xf44d43)),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x415a0d=>!_0x415a0d[_0x502794(0x145)]||!this[_0x502794(0x15a)][_0x502794(0x173)](this[_0x502794(0x155)](_0x415a0d))),this[_0x502794(0x12f)][_0x502794(0x140)]&&J(this[_0x502794(0x12f)],this[_0x502794(0x12f)][0x0][_0x502794(0x141)]),await this[_0x502794(0x1ca)](_0x2075ad),_0x3bfcda=this[_0x502794(0x150)](_0x2075ad,_0x4d04f9[_0x502794(0x190)],_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x1f5)]=Math[_0x502794(0x10d)](this[_0x502794(0x1f5)]/0x2);}return _0x3bfcda?!this[_0x502794(0x15e)]()||(this[_0x502794(0x19d)](!0x0),!0x1):this[_0x502794(0x1c3)](_0x502794(0x15c));}[_0x590804(0x150)](_0x35079c,_0x4a4d3a,_0x4aaeb8){const _0x4f942a=_0x590804;try{const _0x2d32c5={'document':this[_0x4f942a(0x156)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1fc690,operationsB:_0x3c5b56,originalOperations:_0x219033}=_0x35f1db(_0x35079c,this[_0x4f942a(0x12f)],_0x2d32c5);J(_0x1fc690,this[_0x4f942a(0x156)][_0x4f942a(0x190)]),J(_0x3c5b56,_0x4a4d3a);for(const _0x179f61 of _0x1fc690){const _0x2e5f67=_0x219033[_0x4f942a(0x10c)](_0x179f61);_0x179f61[_0x4f942a(0x11d)]=_0x2e5f67?_0x2e5f67[_0x4f942a(0x11d)]:null;}_0x4aaeb8&&(this[_0x4f942a(0x1cf)][_0x4f942a(0x1c7)](_0x35079c,_0x4aaeb8),this[_0x4f942a(0x11f)]=_0x4aaeb8),this[_0x4f942a(0x12f)]=[..._0x3c5b56],this[_0x4f942a(0x1af)](_0x1fc690),this[_0x4f942a(0x1d4)](_0x35079c);}catch(_0x1eaaa0){return console[_0x4f942a(0x17b)](_0x1eaaa0),!0x1;}return!0x0;}[_0x590804(0x1af)](_0x361bbf,_0x54269b=!0x1){const _0x3f60e0=_0x590804;this[_0x3f60e0(0x125)][_0x3f60e0(0x1d7)][_0x3f60e0(0x105)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4178bf=>{const _0x4a0cec=_0x3f60e0;for(const _0x4b4f09 of _0x361bbf)this[_0x4a0cec(0x17f)][_0x4a0cec(0x178)](_0x4b4f09),this[_0x4a0cec(0x1c8)](_0x4b4f09),_0x4178bf[_0x4a0cec(0x113)][_0x4a0cec(0x1ff)](_0x4b4f09),this[_0x4a0cec(0x125)][_0x4a0cec(0x1d7)][_0x4a0cec(0x1f9)](_0x4b4f09);});}[_0x590804(0x1c8)](_0x5c343c){const _0xf5f52a=_0x590804,_0x40ccef=this[_0xf5f52a(0x155)](_0x5c343c);_0x40ccef&&this[_0xf5f52a(0x15a)][_0xf5f52a(0x178)](_0x40ccef);}[_0x590804(0x155)](_0x3d4936){const _0x336850=_0x590804;let _0x2e6372,_0x1a7c6b;switch(_0x3d4936[_0x336850(0x19e)]){case _0x336850(0x132):_0x2e6372=_0x3d4936[_0x336850(0x1b2)][_0x336850(0x1b9)];break;case _0x336850(0x1ec):if(_0x1a7c6b=_0x3d4936[_0x336850(0x106)],!_0x1a7c6b)return null;_0x2e6372=_0x1a7c6b[_0x336850(0x1b9)];break;case _0x336850(0x13d):_0x2e6372=_0x3d4936[_0x336850(0x1b9)];break;case _0x336850(0x1b7):_0x2e6372=_0x3d4936[_0x336850(0x1da)];break;case _0x336850(0x1fb):_0x2e6372=_0x3d4936[_0x336850(0x1b1)][_0x336850(0x1b9)];break;default:return null;}return _0x2e6372[_0x336850(0x182)];}[_0x590804(0x1d4)](_0x135b53){const _0x43842a=_0x590804;_0x135b53[_0x43842a(0x162)](_0x37db43=>{const _0xb1badd=_0x43842a,_0x42874d=_0x37db43[_0xb1badd(0x202)]();_0x42874d[_0xb1badd(0x11d)]=_0x37db43[_0xb1badd(0x11d)],_0x42874d[_0xb1badd(0x145)]=!!_0x37db43[_0xb1badd(0x145)],_0x42874d[_0xb1badd(0x1f7)]=_0x37db43[_0xb1badd(0x1f7)],_0x42874d[_0xb1badd(0x141)]+=this[_0xb1badd(0x1b6)],_0x37db43[_0xb1badd(0x166)]&&this[_0xb1badd(0x1de)][_0xb1badd(0x178)](_0x42874d),this[_0xb1badd(0x16a)][_0xb1badd(0x1ff)](_0x42874d);});}[_0x590804(0x121)](_0x4fa33a){const _0x24c35c=_0x590804,_0x2832d4=this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x24c35c(0x13b)),_0x5e119a=this[_0x24c35c(0x125)][_0x24c35c(0x1ce)];_0x4fa33a||(_0x4fa33a=_0x59d0a9(_0x5e119a,_0x24c35c(0x1fd))),_0x2832d4[_0x24c35c(0x1d1)](_0x4fa33a,{'title':_0x59d0a9(_0x5e119a,_0x24c35c(0x1b3)),'namespace':_0x24c35c(0x127)}),this[_0x24c35c(0x15d)]=!0x0,clearTimeout(this[_0x24c35c(0x1df)]),this[_0x24c35c(0x12f)]=[],this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x1edf6e)[_0x24c35c(0x1a0)]();}[_0x590804(0x1aa)](){const _0x95218f=_0x590804;this[_0x95218f(0x16f)]||(this[_0x95218f(0x16f)]=this[_0x95218f(0x125)][_0x95218f(0x160)][_0x95218f(0x10c)](_0x49a0ed)[_0x95218f(0x178)](_0x59d0a9(this[_0x95218f(0x125)][_0x95218f(0x1ce)],_0x95218f(0x1ef))));}[_0x590804(0x17e)](){const _0x90abae=_0x590804;this[_0x90abae(0x16f)]&&(this[_0x90abae(0x125)][_0x90abae(0x160)][_0x90abae(0x10c)](_0x49a0ed)[_0x90abae(0x19a)](this[_0x90abae(0x16f)]),this[_0x90abae(0x16f)]=null);}[_0x590804(0x18d)](_0x2eca0d){const _0x4da08e=_0x590804,_0x202ede=_0x2eca0d[_0x4da08e(0x203)](_0xc24c64=>_0xc24c64[_0x4da08e(0x108)]());return this[_0x4da08e(0x14d)][_0x4da08e(0x184)](_0x202ede);}[_0x590804(0x186)](_0x607a8e,_0x53d189){const _0x2e5641=_0x590804;return this[_0x2e5641(0x14d)][_0x2e5641(0x18f)](_0x607a8e)[_0x2e5641(0x203)]((_0x3144d0,_0x34b416)=>{const _0x2de2c2=_0x2e5641,_0x29657c=_0x2de2c2(0x1ba)==_0x53d189[_0x34b416][_0x2de2c2(0x19e)];if(_0x2de2c2(0x115)==_0x3144d0[_0x2de2c2(0x1d3)]){const _0x5430d3=_0x3144d0[_0x2de2c2(0x1b2)][_0x2de2c2(0x1b9)];!this[_0x2de2c2(0x156)][_0x2de2c2(0x134)](_0x5430d3)&&(this[_0x2de2c2(0x156)][_0x2de2c2(0x1bf)](_0x2de2c2(0x1f1),_0x5430d3)[_0x2de2c2(0x126)]=!0x1);}const _0x212347=_0x35c5f8[_0x2de2c2(0x14c)](_0x3144d0,this[_0x2de2c2(0x156)]);return _0x212347[_0x2de2c2(0x13f)]=_0x3144d0[_0x2de2c2(0x13f)],_0x212347[_0x2de2c2(0x145)]=_0x29657c,_0x212347[_0x2de2c2(0x11d)]=_0x29657c?null:_0x53d189[_0x34b416][_0x2de2c2(0x14b)],_0x212347[_0x2de2c2(0x166)]=_0x2de2c2(0x1cb)===_0x53d189[_0x34b416][_0x2de2c2(0x19e)],_0x212347[_0x2de2c2(0x1f7)]=_0x53d189[_0x34b416][_0x2de2c2(0x1f7)],_0x212347;});}[_0x590804(0x114)](){const _0x30414d=_0x590804;this[_0x30414d(0x1a4)]=!0x0,this[_0x30414d(0x1be)]()?this[_0x30414d(0x19d)]():this[_0x30414d(0x1a4)]=!0x1;}[_0x590804(0x1be)](){const _0x4fc48e=_0x590804,_0x42489e=this[_0x4fc48e(0x125)][_0x4fc48e(0x160)][_0x4fc48e(0x10c)](_0xeca481)[_0x4fc48e(0x14f)][_0x4fc48e(0x10c)](this[_0x4fc48e(0x197)]);return!this[_0x4fc48e(0x125)][_0x4fc48e(0x1b4)]&&!!_0x42489e&&_0x42489e[_0x4fc48e(0x140)]>0x1&&this[_0x4fc48e(0x1a4)];}[_0x590804(0x15e)](){const _0x1ebaae=_0x590804;return this[_0x1ebaae(0x12f)][_0x1ebaae(0x140)]>0x0||this[_0x1ebaae(0x1be)]();}}class K extends Error{}function J(_0x28d2b4,_0x109307){const _0x199eb9=_0x590804;for(const _0x40ddb8 of _0x28d2b4)_0x40ddb8[_0x199eb9(0x141)]=_0x109307++;}class Q{[_0x590804(0x1e1)];[_0x590804(0x1d9)];constructor(_0x5c6a5b){const _0x3182f6=_0x590804;this[_0x3182f6(0x1e1)]=_0x5c6a5b,this[_0x3182f6(0x1d9)]=new WeakMap();}[_0x590804(0x1b0)](_0x2e51cd){const _0x2e2c48=_0x590804;let _0xb58305=_0x2e51cd[_0x2e2c48(0x140)];for(;_0xb58305--;){const _0x4a9084=_0x2e51cd[_0xb58305];if(!this[_0x2e2c48(0x1e1)][_0x2e2c48(0x173)](_0x4a9084)){if(!this[_0x2e2c48(0x1d9)][_0x2e2c48(0x173)](_0x4a9084)){const _0x87685f=_0x30271c()[_0x2e2c48(0x138)](0x1,0x12);this[_0x2e2c48(0x1d9)][_0x2e2c48(0x12a)](_0x4a9084,_0x87685f);}return this[_0x2e2c48(0x1d9)][_0x2e2c48(0x10c)](_0x4a9084);}}}[_0x590804(0x1c7)](_0x242df5,_0x20834d){const _0x42549b=_0x590804;if(!_0x20834d)return;let _0x2f8167=_0x242df5[_0x42549b(0x140)];for(;_0x2f8167--;){const _0xb93ac8=_0x242df5[_0x2f8167];this[_0x42549b(0x1e1)][_0x42549b(0x173)](_0xb93ac8)||this[_0x42549b(0x1d9)][_0x42549b(0x12a)](_0xb93ac8,_0x20834d);}}}
23
+ const _0x312940=_0x1580;(function(_0x3f4fba,_0x18a978){const _0x590728=_0x1580,_0xa8bf7c=_0x3f4fba();while(!![]){try{const _0x50a153=parseInt(_0x590728(0x205))/0x1*(parseInt(_0x590728(0x1be))/0x2)+-parseInt(_0x590728(0x1fc))/0x3*(-parseInt(_0x590728(0x240))/0x4)+-parseInt(_0x590728(0x210))/0x5*(-parseInt(_0x590728(0x203))/0x6)+parseInt(_0x590728(0x218))/0x7*(-parseInt(_0x590728(0x1f1))/0x8)+-parseInt(_0x590728(0x283))/0x9*(parseInt(_0x590728(0x1cd))/0xa)+parseInt(_0x590728(0x292))/0xb*(-parseInt(_0x590728(0x233))/0xc)+parseInt(_0x590728(0x27b))/0xd;if(_0x50a153===_0x18a978)break;else _0xa8bf7c['push'](_0xa8bf7c['shift']());}catch(_0x3d8f01){_0xa8bf7c['push'](_0xa8bf7c['shift']());}}}(_0x4566,0xbd750));import{Plugin as _0x430efe,PendingActions as _0x3bf39e}from'ckeditor5/src/core.js';function _0x4566(){const _0x434ea2=['getRoot','connect','sessionAdd:','getOperations','connection','permissions','lastSyncVersion','__className','plugins','_hasSelectionChanged','operationsReceived','_bufferedOperations','entries','_connectAfterSessionHasBeenFlushed','ready','disconnected','config','realtimecollaborationclient-sendbufferedoperations','differ','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient','404','_sendBufferedOperationsDelayId','suppressErrorInCollaboration','view','cloud-services-internal-error:\x20Not\x20connected.','rtc-offline','string','_setPendingAction','getConnectedSessions','path','_connectService','cs:removeUser','targetPosition','_updateServerHistory','_offset','map','root','compress','marker','Permissions','keys','slice','2xnhFmI','error','sessionCreatedAt','define','disableReadOnlyMode','disconnect','model','state','directChange','_handleReceivedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','isPremiumPlugin','_waitUntilSynced','rtc-destroyed','message','1200apVzuv','realtimecollaborationclient-init-session-connection-error','CommentsOnly','_currentBufferDelay','realtimecollaborationclient-error','high','loadRoot','rootName','_initThrowingOnDataSet','userId','_compressOperations','editing','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.','bind','getMany','getIdOfTheLastOperation','_setUpDataInit','removeFromReconnectionStack','_compressor','_isConnected','return','lastOperationId','forEach','getOperationAuthor','move','version','lastDocumentSession','listenTo','_baseBufferDelay','addRoot','change:range','_operationIdentifier','_document','_getOperationsFromInitData','createRange','_disconnectionOperations','88byjPTM','cloudServices.bundleVersion','roots','from','realtimecollaborationclient-init-service-incorrect-server-operation','fromJSON','reconnect','toJSON','rootsAttributes','_isAttached','_operationToId','153xlCHbc','currentDocumentSession','_shouldSendSelectionUpdate','_pendingAction','InsertOperation','_sendBufferedOperations','PENDING_ACTION_SENDING_DATA','24ANmjkW','stop','716709DbtlMJ','createPositionAt','locale','isOfficialPlugin','_decompressOperations','collaboration-missing-channelid','_handleExternalOperations','then','addToReconnectionStack','newRange','size','746545nqwArc','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.','_refreshUserSelectionMarkers','decompress','_knownOperations','isEnabled','editor','register','165095hzuede','realtimecollaborationclient-handleserverresponse','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','start','_handleServerResponse','type','_authorId','apply','position','requires','setIdForTheLastOperation','add','unregister','enableReadOnlyMode','_hasSynchronizationProblem','baseVersion','serverHistory','clone','isReadOnly','markers','_isDisconnection','setPermissions','realtimecollaborationclient-init-connection-failed','_handleInitialConnectionData','real-time-collaboration','2485668AwTJJn','isDocumentOperation','change:_isPendingUpdate','attributes','parse','_getAffectedRoot','document:write','addUser','lastOperationAcceptedAt','wasUndone','data','_service','_isEditingAllowed','80096lDPejb','change:hasDomSelection','_fetchMissingUsers','offset','catch','_disconnectService','push','_shouldSendUpdate','addRootAttribute','showWarning','includes','insert','startsWith','cloudDocumentVersion','round','affectedSelectable','409','connected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','collaboration','_applyOperationsSet','createRoot','realtimecollaborationclient-init-document-already-initialized','_crash','filter','reconnection:\x20flushed\x20session','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','code','affectsData','createUserMarkerOperations','batch','Notification','isUndoneOperation','CollaborativeEditingService','applyOperation','RealTimeCollaborationClient','createPositionFromPath','_knownRootNames','_addKnownRoot','wereChangesApplied','channelSessions','_bufferRootLoad','finally','_isPendingUpdate','getDocumentDetails','fire','sessionId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','_lastSyncedOperationId','sendOperations','_initSessionsHandling','$root','pluginName','document','mySessionId','history','_handleReconnectionError','_ignoredOperations','4742673bolqSu','set','off','enqueueChange','end','_clearPendingAction','initData','_loadRoot','109305OBzGyB','init','_handleReconnectionResponse','has','selection','length','reset','_sendBufferedOperationsDelayed','_channelId','realtimecollaborationclient-init-service-internal-error','change:_isEditingAllowed','remove','_isLoaded','_saveOperationInBuffer','multi-root-editor-root-attributes-no-root','11tuIHgt','destroy','_lastServerVersion','getUser','metadata','_isInit','collaboration.channelId','Synchronization\x20issue','addOperation','get'];_0x4566=function(){return _0x434ea2;};return _0x4566();}import{CKEditorError as _0x5be647,version as _0x57d333,uid as _0x4ea32b}from'ckeditor5/src/utils.js';import{Notification as _0x189942}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5cdf17,NoOperation as _0x4b3968,InsertOperation as _0x213b12,MarkerOperation as _0x6d4df5,RootAttributeOperation as _0x23a348,OperationFactory as _0x7d4ded,History as _0x5f471f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x51b8b6}from'./websocketgateway.js';import{Sessions as _0x90fb9c}from'./sessions.js';import{UserMarkers as _0x7044a2}from'./usermarkers.js';import{getTranslation as _0x4dec24}from'../common-translations.js';function _0x1580(_0x128767,_0x3351a4){const _0x45663d=_0x4566();return _0x1580=function(_0x15803c,_0x2515ab){_0x15803c=_0x15803c-0x19c;let _0x2f3748=_0x45663d[_0x15803c];return _0x2f3748;},_0x1580(_0x128767,_0x3351a4);}import{Compressor as _0x2bbdf6}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x458783}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x38ec5a,CollaborativeEditingService as _0x2644e9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x430efe{static [_0x312940(0x261)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2644e9)());[_0x312940(0x1b6)];[_0x312940(0x26e)];[_0x312940(0x22a)];[_0x312940(0x28b)];[_0x312940(0x23e)];[_0x312940(0x1ed)];[_0x312940(0x1df)];[_0x312940(0x19e)];[_0x312940(0x214)];[_0x312940(0x265)];[_0x312940(0x1ff)];[_0x312940(0x19c)];[_0x312940(0x1a9)];[_0x312940(0x1e9)];[_0x312940(0x1d0)];[_0x312940(0x271)];[_0x312940(0x1f0)];[_0x312940(0x1ec)];static get[_0x312940(0x223)](){return[_0x51b8b6,_0x90fb9c,_0x7044a2,_0x3bf39e,_0x458783,_0x189942];}static get[_0x312940(0x275)](){const _0x28af4d=_0x312940;return _0x28af4d(0x263);}static get[_0x312940(0x208)](){return!0x0;}static get[_0x312940(0x1c9)](){return!0x0;}get[_0x312940(0x24d)](){const _0x45ff5a=_0x312940;return this[_0x45ff5a(0x294)]+this[_0x45ff5a(0x1b6)];}get[_0x312940(0x294)](){const _0x5735fb=_0x312940;return this[_0x5735fb(0x22a)][_0x5735fb(0x1e6)]-this[_0x5735fb(0x1b6)];}get[_0x312940(0x2a2)](){const _0x4156e9=_0x312940,_0xd29a54=this[_0x4156e9(0x22a)][_0x4156e9(0x29f)]();for(let _0x34627c=_0xd29a54[_0x4156e9(0x288)]-0x1;_0x34627c>=0x0;_0x34627c--){const _0x38fc98=_0xd29a54[_0x34627c];if(!this[_0x4156e9(0x1f0)][_0x4156e9(0x286)](_0x38fc98))return _0x38fc98[_0x4156e9(0x229)]+0x1-this[_0x4156e9(0x1b6)];}return 0x0;}constructor(_0x3f6ec4){const _0x3bb7c7=_0x312940;if(super(_0x3f6ec4),this[_0x3bb7c7(0x1b6)]=0x0,this[_0x3bb7c7(0x26e)]=null,this[_0x3bb7c7(0x22a)]=new _0x5f471f(),this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x1c1)](_0x3bb7c7(0x253),{}),this[_0x3bb7c7(0x28b)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x298)),!this[_0x3bb7c7(0x28b)])throw new _0x5be647(_0x3bb7c7(0x20a),this);const _0x2618c3=_0x3f6ec4[_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x1f2))||_0x57d333;this[_0x3bb7c7(0x23e)]=new RealTimeCollaborationClient[(_0x3bb7c7(0x261))](_0x2618c3,this[_0x3bb7c7(0x28b)]),this[_0x3bb7c7(0x1ed)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1c4)][_0x3bb7c7(0x276)],this[_0x3bb7c7(0x1df)]=new _0x2bbdf6(),this[_0x3bb7c7(0x19e)]=[],this[_0x3bb7c7(0x214)]=new WeakSet(),this[_0x3bb7c7(0x265)]=new Set(),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x26b),!0x1),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x228),!0x1),this[_0x3bb7c7(0x1ff)]=null,this[_0x3bb7c7(0x19c)]=!0x1,this[_0x3bb7c7(0x1a9)]=null,this[_0x3bb7c7(0x1e9)]=0x12c,this[_0x3bb7c7(0x1d0)]=this[_0x3bb7c7(0x1e9)],this[_0x3bb7c7(0x271)]=null,this[_0x3bb7c7(0x1f0)]=new WeakSet(),this[_0x3bb7c7(0x1ec)]=new Z(this[_0x3bb7c7(0x1f0)]);}[_0x312940(0x284)](){const _0x455470=_0x312940,_0x413860=this[_0x455470(0x216)],_0x4f41a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x458783),_0x1f79a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x51b8b6);this[_0x455470(0x1e8)](_0x4f41a5,_0x455470(0x1e4),(_0x20933e,_0x549649)=>{const _0x4383fc=_0x455470,_0x29de01=_0x549649[0x0];_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=_0x4f41a5[_0x4383fc(0x295)](_0x29de01[_0x4383fc(0x220)]),_0x20933e[_0x4383fc(0x204)]()),null===_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=null,_0x20933e[_0x4383fc(0x204)]());},{'priority':_0x455470(0x1d2)}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1c4)][_0x455470(0x276)][_0x455470(0x287)],_0x455470(0x1eb),(_0x4598ae,_0x294f9a)=>{const _0x4e08cd=_0x455470;_0x294f9a[_0x4e08cd(0x1c6)]&&this[_0x4e08cd(0x212)]();}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1d8)][_0x455470(0x1ab)],_0x455470(0x241),()=>{const _0x2d222f=_0x455470;this[_0x2d222f(0x212)]();}),this[_0x455470(0x1d5)](),_0x413860[_0x455470(0x1c4)]['on'](_0x455470(0x262),(_0x2291e3,_0x78e37c)=>{const _0x34a83b=_0x455470,_0x32e3cb=_0x78e37c[0x0];_0x32e3cb[_0x34a83b(0x234)]&&(this[_0x34a83b(0x290)](_0x32e3cb),this[_0x34a83b(0x247)]()&&this[_0x34a83b(0x28a)]());}),this[_0x455470(0x1dd)](),this[_0x455470(0x1da)](_0x455470(0x23f))['to'](_0x1f79a5,_0x455470(0x1c5),this,_0x455470(0x228),(_0x426c32,_0x53ae3b)=>_0x455470(0x251)===_0x426c32&&!_0x53ae3b),this['on'](_0x455470(0x28d),()=>{const _0x2ff8cb=_0x455470;this[_0x2ff8cb(0x23f)]?_0x413860[_0x2ff8cb(0x1c2)](_0x2ff8cb(0x1ad)):_0x413860[_0x2ff8cb(0x227)](_0x2ff8cb(0x1ad));}),this[_0x455470(0x23f)]?_0x413860[_0x455470(0x1c2)](_0x455470(0x1ad)):_0x413860[_0x455470(0x227)](_0x455470(0x1ad)),this[_0x455470(0x27c)](_0x455470(0x1e0),!0x1);}async[_0x312940(0x1f7)](){const _0x5e9592=_0x312940,_0x526ce9=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x90fb9c),_0x34f325=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x51b8b6);try{this[_0x5e9592(0x26b)]=!0x0,_0x526ce9[_0x5e9592(0x226)](this[_0x5e9592(0x28b)]);const _0x376e26=await this[_0x5e9592(0x23e)][_0x5e9592(0x1f7)](_0x34f325[_0x5e9592(0x2a0)],this[_0x5e9592(0x2a2)]);await this[_0x5e9592(0x285)](_0x376e26)&&(this[_0x5e9592(0x26b)]=!0x1,this[_0x5e9592(0x280)]());const _0x1564a2=await this[_0x5e9592(0x23e)][_0x5e9592(0x1b0)]();_0x526ce9[_0x5e9592(0x217)](this[_0x5e9592(0x28b)],_0x1564a2),this[_0x5e9592(0x21a)](),this[_0x5e9592(0x1e0)]=!0x0;}catch(_0x291062){if(function(_0xd25982){const _0x418330=_0x5e9592;return _0x418330(0x1a8)===_0xd25982[_0x418330(0x25b)];}(_0x291062)&&this[_0x5e9592(0x26e)])await this[_0x5e9592(0x1a0)]();else{if(function(_0x327453){const _0x3e1001=_0x5e9592;return _0x3e1001(0x250)===_0x327453[_0x3e1001(0x25b)];}(_0x291062)){const _0x2290b4=_0x4dec24(this[_0x5e9592(0x216)][_0x5e9592(0x207)],_0x5e9592(0x26f));this[_0x5e9592(0x279)](_0x2290b4);}else{if(!(_0x291062 instanceof X))throw _0x291062;this[_0x5e9592(0x279)]();}}}}[_0x312940(0x293)](){const _0xff835e=_0x312940,_0x517452=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x51b8b6),_0x325341=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x90fb9c);this[_0xff835e(0x216)][_0xff835e(0x227)](_0xff835e(0x1cb)),_0x325341[_0xff835e(0x268)][_0xff835e(0x286)](this[_0xff835e(0x28b)])&&_0x325341[_0xff835e(0x226)](this[_0xff835e(0x28b)]),_0x517452[_0xff835e(0x1de)](this),this[_0xff835e(0x245)](),super[_0xff835e(0x293)]();}async[_0x312940(0x285)](_0x10658d){const _0x261c2c=_0x312940;if(this[_0x261c2c(0x26e)]!==_0x10658d[_0x261c2c(0x26e)]&&this[_0x261c2c(0x271)]!==_0x10658d[_0x261c2c(0x1e2)])throw new X();return this[_0x261c2c(0x26e)]=_0x10658d[_0x261c2c(0x26e)],this[_0x261c2c(0x21e)]([],{..._0x10658d,'wereChangesApplied':!0x1,'data':_0x10658d[_0x261c2c(0x23d)]},_0x261c2c(0x1f7));}async[_0x312940(0x1b2)](_0x3998cd,_0x3e2d7b=!0x1){const _0x2650d0=_0x312940,{connection:_0x346931}=this[_0x2650d0(0x216)][_0x2650d0(0x2a4)][_0x2650d0(0x29b)](_0x51b8b6);RealTimeCollaborationClient[_0x2650d0(0x261)][_0x2650d0(0x1b0)](_0x346931,this[_0x2650d0(0x28b)])[_0x2650d0(0x20c)](_0x2b203f=>this[_0x2650d0(0x273)](_0x2b203f))[_0x2650d0(0x244)](_0x407ded=>{const _0x1523ed=_0x2650d0;this[_0x1523ed(0x257)](_0x1523ed(0x1ce),_0x407ded);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x19d),this[_0x2650d0(0x1c7)][_0x2650d0(0x1da)](this)),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1bf),(_0x29a89e,_0x403bc3)=>{const _0xa1bcd5=_0x2650d0;this[_0xa1bcd5(0x257)](_0xa1bcd5(0x28c),_0x403bc3);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1a2),()=>{const _0x3df8d1=_0x2650d0;this[_0x3df8d1(0x1e0)]=!0x1;});const _0x11a58e=this[_0x2650d0(0x1ec)][_0x2650d0(0x1dc)](_0x3998cd);this[_0x2650d0(0x26b)]=!0x0;const _0x3ecccf=await this[_0x2650d0(0x23e)][_0x2650d0(0x29d)](_0x346931,this[_0x2650d0(0x1d7)](_0x3998cd),_0x11a58e);if(this[_0x2650d0(0x26e)]=_0x3ecccf[_0x2650d0(0x26e)],_0x3e2d7b){if(!_0x3ecccf[_0x2650d0(0x267)])return void this[_0x2650d0(0x279)]();this[_0x2650d0(0x26b)]=!0x1,this[_0x2650d0(0x280)](),this[_0x2650d0(0x22a)][_0x2650d0(0x289)](),this[_0x2650d0(0x1b6)]=_0x3ecccf[_0x2650d0(0x243)],this[_0x2650d0(0x22a)][_0x2650d0(0x1e6)]=this[_0x2650d0(0x1b6)],await this[_0x2650d0(0x21e)](_0x3998cd,_0x3ecccf,_0x2650d0(0x259));}else await this[_0x2650d0(0x231)](_0x3ecccf,_0x3998cd);this[_0x2650d0(0x21a)](),this[_0x2650d0(0x1e0)]=!0x0;}[_0x312940(0x21a)](){const _0x1f7f19=_0x312940,_0x2fe881=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x90fb9c),_0x406565=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x7044a2),_0x5a39fb=_0x2fe881[_0x1f7f19(0x268)][_0x1f7f19(0x29b)](this[_0x1f7f19(0x28b)]);_0x5a39fb&&_0x5a39fb[_0x1f7f19(0x288)]>0x1?_0x406565[_0x1f7f19(0x25d)]():this[_0x1f7f19(0x1e8)](_0x2fe881,_0x1f7f19(0x29e)+this[_0x1f7f19(0x28b)],()=>{const _0x288ae5=_0x1f7f19;0x2===_0x2fe881[_0x288ae5(0x268)][_0x288ae5(0x29b)](this[_0x288ae5(0x28b)])[_0x288ae5(0x288)]&&_0x406565[_0x288ae5(0x25d)]();});}async[_0x312940(0x1c7)](_0x274c75,_0xc63b5b,_0x17c237,_0x313724){const _0x5f192c=_0x312940;if(!this[_0x5f192c(0x26b)]&&this[_0x5f192c(0x1ed)][_0x5f192c(0x1e6)]==_0xc63b5b){const _0x3e7d3c=this[_0x5f192c(0x209)](_0x17c237,_0x313724);await this[_0x5f192c(0x242)](_0x3e7d3c),this[_0x5f192c(0x20b)](_0x3e7d3c,_0xc63b5b,_0x17c237[_0x5f192c(0x1e2)])||this[_0x5f192c(0x257)](_0x5f192c(0x1f5));}}async[_0x312940(0x1a0)](){const _0x437f52=_0x312940;this[_0x437f52(0x245)]();const {locale:_0x181732}=this[_0x437f52(0x216)];let _0x8d3adc;try{_0x8d3adc=await this[_0x437f52(0x23e)][_0x437f52(0x26c)]();}catch{const _0x3925a3=_0x4dec24(_0x181732,_0x437f52(0x25a));return void this[_0x437f52(0x279)](_0x3925a3);}const _0x3feccb=_0x8d3adc[_0x437f52(0x1fd)]||_0x8d3adc[_0x437f52(0x1e7)];if(this[_0x437f52(0x271)]!==_0x3feccb[_0x437f52(0x1e2)]){const _0x2d4c0e=_0x4dec24(_0x181732,_0x437f52(0x1d9));return void this[_0x437f52(0x279)](_0x2d4c0e);}await this[_0x437f52(0x1b2)](this[_0x437f52(0x216)][_0x437f52(0x1c4)][_0x437f52(0x276)][_0x437f52(0x278)][_0x437f52(0x29f)](),!0x0);}[_0x312940(0x245)](){const _0x1829b1=_0x312940;this[_0x1829b1(0x23e)][_0x1829b1(0x1c3)](),this[_0x1829b1(0x19e)]=[],clearTimeout(this[_0x1829b1(0x1a9)]),this[_0x1829b1(0x270)](this[_0x1829b1(0x23e)]);}[_0x312940(0x273)](_0x10fe1c){const _0x1879a3=_0x312940,_0x49ca1c=this[_0x1879a3(0x216)][_0x1879a3(0x2a4)][_0x1879a3(0x29b)](_0x90fb9c);this[_0x1879a3(0x1e8)](_0x49ca1c,_0x1879a3(0x29e)+this[_0x1879a3(0x28b)],(_0x541648,{session:_0x140c12})=>{const _0x282527=_0x1879a3;if(_0x140c12['id']===_0x49ca1c[_0x282527(0x277)]){_0x541648[_0x282527(0x27d)]();const _0x2af9dd=this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x286)](_0x282527(0x1cf))&&this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1cf));let _0x39a4f1=_0x140c12[_0x282527(0x2a1)];_0x2af9dd&&_0x2af9dd[_0x282527(0x215)]&&(_0x39a4f1=_0x39a4f1[_0x282527(0x258)](_0x2d98aa=>_0x282527(0x239)!==_0x2d98aa)),this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1bb))[_0x282527(0x22f)](_0x39a4f1,this[_0x282527(0x28b)]);}}),_0x49ca1c[_0x1879a3(0x217)](this[_0x1879a3(0x28b)],_0x10fe1c);}[_0x312940(0x1d5)](){const _0x418735=_0x312940,_0x338a29=this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)];this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)]=(..._0x3fba0c)=>{const _0x315507=_0x418735;if(!_0x3fba0c[_0x3fba0c[_0x315507(0x288)]-0x1][_0x315507(0x1aa)])throw new _0x5be647(_0x315507(0x1c8),this);_0x338a29[_0x315507(0x221)](this[_0x315507(0x216)][_0x315507(0x23d)],_0x3fba0c);};}[_0x312940(0x1dd)](){const _0x2e2084=_0x312940;this[_0x2e2084(0x216)][_0x2e2084(0x23d)]['on'](_0x2e2084(0x284),(_0x492fe5,[_0x5ecbc5])=>{const _0x2382cb=_0x2e2084;if(this[_0x2382cb(0x1ed)][_0x2382cb(0x1e6)])throw new _0x5be647(_0x2382cb(0x256),this);_0x492fe5[_0x2382cb(0x204)](),this[_0x2382cb(0x1af)]();const _0x194f12=this[_0x2382cb(0x216)][_0x2382cb(0x1a3)][_0x2382cb(0x29b)](_0x2382cb(0x1f9)),_0x282cae=this[_0x2382cb(0x1ee)](_0x5ecbc5,_0x194f12);0x0==_0x282cae[_0x2382cb(0x288)]&&_0x282cae[_0x2382cb(0x246)](new _0x4b3968(0x0)),_0x492fe5[_0x2382cb(0x1e1)]=this[_0x2382cb(0x1b2)](_0x282cae)[_0x2382cb(0x20c)](()=>{const _0x3689e8=_0x2382cb;this[_0x3689e8(0x216)][_0x3689e8(0x2a4)][_0x3689e8(0x29b)](_0x51b8b6)[_0x3689e8(0x20d)](this),this[_0x3689e8(0x216)][_0x3689e8(0x23d)][_0x3689e8(0x26d)](_0x3689e8(0x1a1));})[_0x2382cb(0x244)](_0x27590c=>this[_0x2382cb(0x257)](_0x2382cb(0x230),_0x27590c))[_0x2382cb(0x26a)](()=>this[_0x2382cb(0x280)]());},{'priority':_0x2e2084(0x1d2)}),this[_0x2e2084(0x216)]['on'](_0x2e2084(0x1d3),async(_0x4a01a3,[_0x5ad812,_0x1fdfd8])=>{const _0x15ed7b=_0x2e2084;_0x4a01a3[_0x15ed7b(0x204)]();const _0x199c07=this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x276)][_0x15ed7b(0x29c)](_0x5ad812);if(!this[_0x15ed7b(0x265)][_0x15ed7b(0x286)](_0x5ad812)){const _0x25bb92=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x23d)]?_0x1fdfd8[_0x15ed7b(0x23d)]:'',_0x38881e=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x236)]?_0x1fdfd8[_0x15ed7b(0x236)]:{};await this[_0x15ed7b(0x282)](_0x5ad812,_0x25bb92,_0x38881e);}this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x27e)]({'isUndoable':!0x1},()=>{const _0x76f407=_0x15ed7b;_0x199c07[_0x76f407(0x28f)]=!0x0,this[_0x76f407(0x216)][_0x76f407(0x1c4)][_0x76f407(0x276)][_0x76f407(0x1a5)][_0x76f407(0x269)](_0x199c07);});},{'priority':_0x2e2084(0x1d2)});}async[_0x312940(0x242)](_0x507692){const _0x41a625=_0x312940,_0x4e58ee=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x458783),{connection:_0x48b8cf}=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x51b8b6),_0x2fb80c=new Set();for(const _0x138816 of _0x507692){const _0x4779cf=_0x138816[_0x41a625(0x220)];_0x4779cf&&!_0x4e58ee[_0x41a625(0x295)](_0x4779cf)&&_0x2fb80c[_0x41a625(0x225)](_0x4779cf);}if(0x0===_0x2fb80c[_0x41a625(0x20f)])return;const _0x204909=await _0x38ec5a[_0x41a625(0x1db)](_0x48b8cf,Array[_0x41a625(0x1f4)](_0x2fb80c));for(const _0xa45945 of _0x204909)_0x4e58ee[_0x41a625(0x295)](_0xa45945['id'])||_0x4e58ee[_0x41a625(0x23a)](_0xa45945);}[_0x312940(0x1ee)](_0x1be317,_0x324207={}){const _0x478be6=_0x312940,_0x2b7ef2=this[_0x478be6(0x216)][_0x478be6(0x1c4)],_0x26eec5=[];let _0x5cde17=0x0;const _0x49a3d7=_0x478be6(0x1ae)==typeof _0x1be317?{'main':_0x1be317}:_0x1be317;for(const _0x16c966 of Object[_0x478be6(0x1bc)](_0x49a3d7)){if(!this[_0x478be6(0x1ed)][_0x478be6(0x1f3)][_0x478be6(0x286)](_0x16c966))throw new _0x5be647(_0x478be6(0x1a6),this);const _0x21dcac=this[_0x478be6(0x216)][_0x478be6(0x23d)][_0x478be6(0x237)](_0x49a3d7[_0x16c966]),_0x3081ee=this[_0x478be6(0x1ed)][_0x478be6(0x29c)](_0x16c966),_0xcfe21=new _0x213b12(_0x2b7ef2[_0x478be6(0x206)](_0x3081ee,0x0),_0x21dcac,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0xcfe21);for(const [_0x41b0b4,_0xb4a879]of _0x21dcac[_0x478be6(0x22d)]){const _0x408dc7=_0x2b7ef2[_0x478be6(0x1ef)](_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x21d)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]()),_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x27f)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]())),_0x52cbbe=new _0x6d4df5(_0x41b0b4,null,_0x408dc7,_0x2b7ef2[_0x478be6(0x22d)],!0x0,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x52cbbe);}}if(_0x324207)for(const [_0x5036b9,_0x3ef0c2]of Object[_0x478be6(0x19f)](_0x324207)){const _0x31b10f=_0x2b7ef2[_0x478be6(0x276)][_0x478be6(0x29c)](_0x5036b9);if(!_0x31b10f)throw new _0x5be647(_0x478be6(0x291),null);for(const [_0x1145e9,_0x5095fb]of Object[_0x478be6(0x19f)](_0x3ef0c2))if(null!==_0x5095fb){const _0x5724fc=new _0x23a348(_0x31b10f,_0x1145e9,null,_0x5095fb,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x5724fc);}}return _0x26eec5;}async[_0x312940(0x282)](_0x15c3a2,_0x1bb7cb,_0x1e331b){const _0x2a55ef=_0x312940;this[_0x2a55ef(0x1ee)]({[_0x15c3a2]:_0x1bb7cb},{[_0x15c3a2]:_0x1e331b})[_0x2a55ef(0x1e3)]((_0x318d33,_0x27be67)=>{const _0x6dbb0c=_0x2a55ef;_0x318d33[_0x6dbb0c(0x229)]=this[_0x6dbb0c(0x1ed)][_0x6dbb0c(0x1e6)]+_0x27be67,_0x318d33[_0x6dbb0c(0x297)]=!0x0,this[_0x6dbb0c(0x290)](_0x318d33);}),this[_0x2a55ef(0x28a)](),await this[_0x2a55ef(0x1ca)]();}async[_0x312940(0x231)](_0x512868,_0x3ed044){const _0x2b665f=_0x312940;let _0x1902b6;this[_0x2b665f(0x1b6)]=_0x512868[_0x2b665f(0x243)];const _0x31cda3=_0x512868[_0x2b665f(0x267)]&&!_0x512868[_0x2b665f(0x281)],_0x358e58=_0x31cda3?0x0:_0x512868[_0x2b665f(0x23d)][_0x2b665f(0x229)];if(_0x3ed044[_0x2b665f(0x1e3)](_0x33c60d=>{const _0x16840a=_0x2b665f;_0x33c60d[_0x16840a(0x297)]=!0x0,_0x33c60d[_0x16840a(0x21c)]=_0x512868[_0x16840a(0x1c0)],_0x33c60d[_0x16840a(0x220)]=null;}),_0x31cda3)_0x1902b6=_0x3ed044,this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);else{if(_0x512868[_0x2b665f(0x281)]){const _0x7a5da7=this[_0x2b665f(0x1ee)](_0x512868[_0x2b665f(0x281)]);this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)],_0x7a5da7[_0x2b665f(0x1e3)](_0x325f28=>{const _0x1b915f=_0x2b665f;_0x325f28[_0x1b915f(0x229)]-=_0x7a5da7[_0x1b915f(0x288)],_0x325f28[_0x1b915f(0x21c)]=_0x512868[_0x1b915f(0x1c0)],_0x325f28[_0x1b915f(0x297)]=!0x0,_0x325f28[_0x1b915f(0x220)]=null;}),this[_0x2b665f(0x254)](_0x7a5da7,!0x0),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)]+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x7a5da7);}this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=_0x358e58,_0x1902b6=this[_0x2b665f(0x209)](_0x512868[_0x2b665f(0x23d)],_0x512868[_0x2b665f(0x296)]),await this[_0x2b665f(0x242)](_0x1902b6),this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);}_0x512868[_0x2b665f(0x1e2)]&&(this[_0x2b665f(0x1ec)][_0x2b665f(0x224)](_0x1902b6,_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x271)]=_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=_0x358e58+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x1902b6),_0x3ed044[_0x2b665f(0x258)](_0x5f54bf=>{const _0x13a8c1=_0x2b665f,_0x2cc2bc=this[_0x13a8c1(0x238)](_0x5f54bf);return _0x2cc2bc&&!this[_0x13a8c1(0x265)][_0x13a8c1(0x286)](_0x2cc2bc);})[_0x2b665f(0x1e3)]((_0x4550e3,_0x59a647)=>{const _0x5392a3=_0x2b665f;_0x4550e3[_0x5392a3(0x229)]=this[_0x5392a3(0x1ed)][_0x5392a3(0x1e6)]+_0x59a647,this[_0x5392a3(0x290)](_0x4550e3);}),this[_0x2b665f(0x247)]()?(this[_0x2b665f(0x1d0)]=0x0,this[_0x2b665f(0x28a)](!0x0),await this[_0x2b665f(0x1ca)]()):(this[_0x2b665f(0x26b)]=!0x1,this[_0x2b665f(0x280)]());}[_0x312940(0x257)](_0x28e37c,_0x320ee0){const _0x2ae849=_0x312940,_0x2cab45=_0x320ee0&&_0x320ee0[_0x2ae849(0x1cc)];if(_0x2cab45&&_0x2cab45[_0x2ae849(0x24c)](_0x2ae849(0x1a7)))throw _0x320ee0;const _0x1b82c2=this[_0x2ae849(0x216)][_0x2ae849(0x2a4)][_0x2ae849(0x29b)](_0x51b8b6);throw this[_0x2ae849(0x26b)]=!0x0,_0x1b82c2[_0x2ae849(0x1c3)](),this[_0x2ae849(0x216)][_0x2ae849(0x227)](_0x2ae849(0x1d1)),new _0x5be647(_0x28e37c,this[_0x2ae849(0x216)],_0x2cab45?{'originalError':_0x2cab45}:void 0x0);}[_0x312940(0x290)](_0x285a8f){const _0x12ed46=_0x312940;this[_0x12ed46(0x214)][_0x12ed46(0x286)](_0x285a8f)||(this[_0x12ed46(0x214)][_0x12ed46(0x225)](_0x285a8f),this[_0x12ed46(0x19e)][_0x12ed46(0x246)](_0x285a8f),this[_0x12ed46(0x1ff)]||_0x12ed46(0x1ba)==_0x285a8f[_0x12ed46(0x21f)]&&!_0x285a8f[_0x12ed46(0x25c)]||this[_0x12ed46(0x1af)]());}[_0x312940(0x28a)](_0x4dd579=!0x1){const _0x5bbb02=_0x312940;!_0x4dd579&&this[_0x5bbb02(0x26b)]||(this[_0x5bbb02(0x26b)]=!0x0,clearTimeout(this[_0x5bbb02(0x1a9)]),this[_0x5bbb02(0x1a9)]=setTimeout(()=>{const _0xe7119c=_0x5bbb02;this[_0xe7119c(0x201)]()[_0xe7119c(0x20c)](_0x5b37a8=>{const _0x51fb3b=_0xe7119c;_0x5b37a8&&(this[_0x51fb3b(0x280)](),this[_0x51fb3b(0x26b)]=!0x1);})[_0xe7119c(0x244)](_0x5ab708=>{const _0x44d255=_0xe7119c;this[_0x44d255(0x280)](),this[_0x44d255(0x26b)]=!0x1,function(_0x36b28b){const _0x21088a=_0x44d255;return _0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x1ac))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x252))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x21b));}(_0x5ab708)||this[_0x44d255(0x257)](_0x5ab708[_0x44d255(0x1cc)],_0x5ab708);});},this[_0x5bbb02(0x1d0)]));}[_0x312940(0x1ca)](){return new Promise(_0x38d8b5=>{const _0x32f1ca=_0x1580;this['on'](_0x32f1ca(0x235),()=>{_0x38d8b5();});});}async[_0x312940(0x201)](){const _0x33be53=_0x312940,_0x3940a5=this[_0x33be53(0x216)][_0x33be53(0x2a4)][_0x33be53(0x29b)](_0x7044a2);if(this[_0x33be53(0x1fe)]()&&(_0x3940a5[_0x33be53(0x25d)](),this[_0x33be53(0x19c)]=!0x1),!this[_0x33be53(0x247)]())return!0x0;const _0x6f7184=[...this[_0x33be53(0x19e)]];for(const _0x57418d of _0x6f7184)_0x57418d[_0x33be53(0x23c)]=this[_0x33be53(0x1ed)][_0x33be53(0x278)][_0x33be53(0x260)](_0x57418d);const _0x23c9c1=this[_0x33be53(0x1ec)][_0x33be53(0x1dc)](_0x6f7184),_0x4e03b0=Q++,_0x3748d1=this[_0x33be53(0x1d7)](_0x6f7184),_0x3df3d1=await this[_0x33be53(0x23e)][_0x33be53(0x272)](_0x3748d1,_0x3748d1[_0x33be53(0x229)],_0x23c9c1);try{return await this[_0x33be53(0x21e)](_0x6f7184,_0x3df3d1,_0x4e03b0);}catch(_0xb56805){return this[_0x33be53(0x257)](_0x33be53(0x1a4),_0xb56805);}}async[_0x312940(0x21e)](_0x1175d0,_0x10bd5b,_0x2e390c){const _0x10536a=_0x312940;if(_0x10536a(0x1bf)in _0x10bd5b)throw _0x10bd5b[_0x10536a(0x1bf)];let _0x27c62e=!0x1;if(_0x10bd5b[_0x10536a(0x267)]){_0x10bd5b[_0x10536a(0x1e2)]&&(this[_0x10536a(0x271)]=_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x23cb0c=>!_0x1175d0[_0x10536a(0x24a)](_0x23cb0c));for(const _0xd936da of _0x1175d0)_0xd936da[_0x10536a(0x21c)]=_0x10536a(0x23b)in _0x10bd5b&&_0x10bd5b[_0x10536a(0x23b)]||void 0x0;Y(_0x1175d0,_0x10bd5b[_0x10536a(0x1e6)]-_0x1175d0[_0x10536a(0x288)]),this[_0x10536a(0x1b5)](_0x1175d0);const _0x5e2c6c=_0x1175d0[_0x10536a(0x258)](_0xb50334=>{const _0x2ae11b=_0x10536a;if(!_0xb50334[_0x2ae11b(0x297)])return!0x1;const _0x14dae3=this[_0x2ae11b(0x238)](_0xb50334);return _0x14dae3&&!this[_0x2ae11b(0x265)][_0x2ae11b(0x286)](_0x14dae3);});Y(_0x5e2c6c,this[_0x10536a(0x1ed)][_0x10536a(0x1e6)]),this[_0x10536a(0x254)](_0x5e2c6c),_0x27c62e=!0x0,this[_0x10536a(0x1d0)]=this[_0x10536a(0x1e9)];}else{const _0x107515=this[_0x10536a(0x209)](_0x10bd5b[_0x10536a(0x23d)],_0x10bd5b[_0x10536a(0x296)])[_0x10536a(0x258)](_0x328741=>_0x328741[_0x10536a(0x229)]>=this[_0x10536a(0x294)]);_0x107515[_0x10536a(0x1e3)](_0x229cd7=>this[_0x10536a(0x266)](_0x229cd7)),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x2f2cbe=>!_0x2f2cbe[_0x10536a(0x297)]||!this[_0x10536a(0x265)][_0x10536a(0x286)](this[_0x10536a(0x238)](_0x2f2cbe))),this[_0x10536a(0x19e)][_0x10536a(0x288)]&&Y(this[_0x10536a(0x19e)],this[_0x10536a(0x19e)][0x0][_0x10536a(0x229)]),await this[_0x10536a(0x242)](_0x107515),_0x27c62e=this[_0x10536a(0x20b)](_0x107515,_0x10bd5b[_0x10536a(0x1e6)],_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x1d0)]=Math[_0x10536a(0x24e)](this[_0x10536a(0x1d0)]/0x2);}return _0x27c62e?!this[_0x10536a(0x247)]()||(this[_0x10536a(0x28a)](!0x0),!0x1):this[_0x10536a(0x257)](_0x10536a(0x219));}[_0x312940(0x20b)](_0x449d6f,_0x477ff5,_0x5abe07){const _0x3601d3=_0x312940;try{const _0x320e37={'document':this[_0x3601d3(0x1ed)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x520665,operationsB:_0x15450e,originalOperations:_0x100d0e}=_0x5cdf17(_0x449d6f,this[_0x3601d3(0x19e)],_0x320e37);Y(_0x520665,this[_0x3601d3(0x1ed)][_0x3601d3(0x1e6)]),Y(_0x15450e,_0x477ff5);for(const _0x5036e2 of _0x520665){const _0x567634=_0x100d0e[_0x3601d3(0x29b)](_0x5036e2);_0x5036e2[_0x3601d3(0x220)]=_0x567634?_0x567634[_0x3601d3(0x220)]:null;}_0x5abe07&&(this[_0x3601d3(0x1ec)][_0x3601d3(0x224)](_0x449d6f,_0x5abe07),this[_0x3601d3(0x271)]=_0x5abe07),this[_0x3601d3(0x19e)]=[..._0x15450e],this[_0x3601d3(0x254)](_0x520665),this[_0x3601d3(0x1b5)](_0x449d6f);}catch(_0x1d227a){return console[_0x3601d3(0x1bf)](_0x1d227a),!0x1;}return!0x0;}[_0x312940(0x254)](_0x386e83,_0x57e42e=!0x1){const _0x56b1ce=_0x312940;this[_0x56b1ce(0x216)][_0x56b1ce(0x1c4)][_0x56b1ce(0x27e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5b7b84=>{const _0x1f864a=_0x56b1ce;for(const _0x29e695 of _0x386e83)this[_0x1f864a(0x214)][_0x1f864a(0x225)](_0x29e695),this[_0x1f864a(0x266)](_0x29e695),_0x5b7b84[_0x1f864a(0x25e)][_0x1f864a(0x29a)](_0x29e695),this[_0x1f864a(0x216)][_0x1f864a(0x1c4)][_0x1f864a(0x262)](_0x29e695);});}[_0x312940(0x266)](_0x236831){const _0x2c4b71=_0x312940,_0x434eb6=this[_0x2c4b71(0x238)](_0x236831);_0x434eb6&&this[_0x2c4b71(0x265)][_0x2c4b71(0x225)](_0x434eb6);}[_0x312940(0x238)](_0x140a9b){const _0x28ebdf=_0x312940;let _0x149c83,_0x2f0490;switch(_0x140a9b[_0x28ebdf(0x21f)]){case _0x28ebdf(0x24b):_0x149c83=_0x140a9b[_0x28ebdf(0x222)][_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ba):if(_0x2f0490=_0x140a9b[_0x28ebdf(0x20e)],!_0x2f0490)return null;_0x149c83=_0x2f0490[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x248):_0x149c83=_0x140a9b[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ea):_0x149c83=_0x140a9b[_0x28ebdf(0x24f)];break;case _0x28ebdf(0x1e5):_0x149c83=_0x140a9b[_0x28ebdf(0x1b4)][_0x28ebdf(0x1b8)];break;default:return null;}return _0x149c83[_0x28ebdf(0x1d4)];}[_0x312940(0x1b5)](_0xb8274e){const _0x549730=_0x312940;_0xb8274e[_0x549730(0x1e3)](_0x4415f9=>{const _0x169a5a=_0x549730,_0x3e3cde=_0x4415f9[_0x169a5a(0x22b)]();_0x3e3cde[_0x169a5a(0x220)]=_0x4415f9[_0x169a5a(0x220)],_0x3e3cde[_0x169a5a(0x297)]=!!_0x4415f9[_0x169a5a(0x297)],_0x3e3cde[_0x169a5a(0x21c)]=_0x4415f9[_0x169a5a(0x21c)],_0x3e3cde[_0x169a5a(0x229)]+=this[_0x169a5a(0x1b6)],_0x4415f9[_0x169a5a(0x22e)]&&this[_0x169a5a(0x1f0)][_0x169a5a(0x225)](_0x3e3cde),this[_0x169a5a(0x22a)][_0x169a5a(0x29a)](_0x3e3cde);});}[_0x312940(0x279)](_0x1ef3b5){const _0x3d64ed=_0x312940,_0x4c52b9=this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x3d64ed(0x25f)),_0x4983fd=this[_0x3d64ed(0x216)][_0x3d64ed(0x207)];_0x1ef3b5||(_0x1ef3b5=_0x4dec24(_0x4983fd,_0x3d64ed(0x211))),_0x4c52b9[_0x3d64ed(0x249)](_0x1ef3b5,{'title':_0x4dec24(_0x4983fd,_0x3d64ed(0x299)),'namespace':_0x3d64ed(0x232)}),this[_0x3d64ed(0x228)]=!0x0,clearTimeout(this[_0x3d64ed(0x1a9)]),this[_0x3d64ed(0x19e)]=[],this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x51b8b6)[_0x3d64ed(0x1c3)]();}[_0x312940(0x1af)](){const _0x2ab9ea=_0x312940;this[_0x2ab9ea(0x1ff)]||(this[_0x2ab9ea(0x1ff)]=this[_0x2ab9ea(0x216)][_0x2ab9ea(0x2a4)][_0x2ab9ea(0x29b)](_0x3bf39e)[_0x2ab9ea(0x225)](_0x4dec24(this[_0x2ab9ea(0x216)][_0x2ab9ea(0x207)],_0x2ab9ea(0x202))));}[_0x312940(0x280)](){const _0x4e08b5=_0x312940;this[_0x4e08b5(0x1ff)]&&(this[_0x4e08b5(0x216)][_0x4e08b5(0x2a4)][_0x4e08b5(0x29b)](_0x3bf39e)[_0x4e08b5(0x28e)](this[_0x4e08b5(0x1ff)]),this[_0x4e08b5(0x1ff)]=null);}[_0x312940(0x1d7)](_0x13270e){const _0xe812d9=_0x312940,_0x46b8b4=_0x13270e[_0xe812d9(0x1b7)](_0x368232=>_0x368232[_0xe812d9(0x1f8)]());return this[_0xe812d9(0x1df)][_0xe812d9(0x1b9)](_0x46b8b4);}[_0x312940(0x209)](_0x22afca,_0x5b356d){const _0x16f4e6=_0x312940;return this[_0x16f4e6(0x1df)][_0x16f4e6(0x213)](_0x22afca)[_0x16f4e6(0x1b7)]((_0x13e8a4,_0x322d37)=>{const _0x235e5b=_0x16f4e6,_0x3f5c8b=_0x235e5b(0x284)==_0x5b356d[_0x322d37][_0x235e5b(0x21f)];if(_0x235e5b(0x200)==_0x13e8a4[_0x235e5b(0x2a3)]){const _0x2411c4=_0x13e8a4[_0x235e5b(0x222)][_0x235e5b(0x1b8)];!this[_0x235e5b(0x1ed)][_0x235e5b(0x29c)](_0x2411c4)&&(this[_0x235e5b(0x1ed)][_0x235e5b(0x255)](_0x235e5b(0x274),_0x2411c4)[_0x235e5b(0x1fa)]=!0x1);}const _0x2026d0=_0x7d4ded[_0x235e5b(0x1f6)](_0x13e8a4,this[_0x235e5b(0x1ed)]);return _0x2026d0[_0x235e5b(0x23c)]=_0x13e8a4[_0x235e5b(0x23c)],_0x2026d0[_0x235e5b(0x297)]=_0x3f5c8b,_0x2026d0[_0x235e5b(0x220)]=_0x3f5c8b?null:_0x5b356d[_0x322d37][_0x235e5b(0x1d6)],_0x2026d0[_0x235e5b(0x22e)]=_0x235e5b(0x1b3)===_0x5b356d[_0x322d37][_0x235e5b(0x21f)],_0x2026d0[_0x235e5b(0x21c)]=_0x5b356d[_0x322d37][_0x235e5b(0x21c)],_0x2026d0;});}[_0x312940(0x212)](){const _0xa08d4d=_0x312940;this[_0xa08d4d(0x19c)]=!0x0,this[_0xa08d4d(0x1fe)]()?this[_0xa08d4d(0x28a)]():this[_0xa08d4d(0x19c)]=!0x1;}[_0x312940(0x1fe)](){const _0x393a1e=_0x312940,_0x37b739=this[_0x393a1e(0x216)][_0x393a1e(0x2a4)][_0x393a1e(0x29b)](_0x90fb9c)[_0x393a1e(0x268)][_0x393a1e(0x29b)](this[_0x393a1e(0x28b)]);return!this[_0x393a1e(0x216)][_0x393a1e(0x22c)]&&!!_0x37b739&&_0x37b739[_0x393a1e(0x288)]>0x1&&this[_0x393a1e(0x19c)];}[_0x312940(0x247)](){const _0x2f125d=_0x312940;return this[_0x2f125d(0x19e)][_0x2f125d(0x288)]>0x0||this[_0x2f125d(0x1fe)]();}}class X extends Error{}function Y(_0x1b75b0,_0x18b0ff){const _0x50d450=_0x312940;for(const _0x5a1e6e of _0x1b75b0)_0x5a1e6e[_0x50d450(0x229)]=_0x18b0ff++;}class Z{[_0x312940(0x27a)];[_0x312940(0x1fb)];constructor(_0x481484){const _0x2d54f8=_0x312940;this[_0x2d54f8(0x27a)]=_0x481484,this[_0x2d54f8(0x1fb)]=new WeakMap();}[_0x312940(0x1dc)](_0x378048){const _0x8953f=_0x312940;let _0x4e41fa=_0x378048[_0x8953f(0x288)];for(;_0x4e41fa--;){const _0xb1c204=_0x378048[_0x4e41fa];if(!this[_0x8953f(0x27a)][_0x8953f(0x286)](_0xb1c204)){if(!this[_0x8953f(0x1fb)][_0x8953f(0x286)](_0xb1c204)){const _0x4c2ab6=_0x4ea32b()[_0x8953f(0x1bd)](0x1,0x12);this[_0x8953f(0x1fb)][_0x8953f(0x27c)](_0xb1c204,_0x4c2ab6);}return this[_0x8953f(0x1fb)][_0x8953f(0x29b)](_0xb1c204);}}}[_0x312940(0x224)](_0x1ca915,_0x5076cd){const _0x33b0bd=_0x312940;if(!_0x5076cd)return;let _0x205220=_0x1ca915[_0x33b0bd(0x288)];for(;_0x205220--;){const _0x51b91f=_0x1ca915[_0x205220];this[_0x33b0bd(0x27a)][_0x33b0bd(0x286)](_0x51b91f)||this[_0x33b0bd(0x1fb)][_0x33b0bd(0x27c)](_0x51b91f,_0x5076cd);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c1861=_0x1e05;function _0x2edc(){const _0x3a37dc=['role','init','_registeredSessions','_createUser','stopListening','has','7349538oJmTgb','remove','163608RBVZhG','state','add','listenTo','user','register','isMe','_users','getUserBySessionId','75216sfptSS','fire','sessions-register-already-registered','connection','assign','_handleSessionAdd','7rvSDdP','129hWdoVe','441OmTHAl','addUser','pluginName','values','getUserRole','get','_handleSessionRemove','isPremiumPlugin','unregister','268412YuzCBb','forEach','getUser','sessionId','hiddenInPresenceList','plugins','sessionAdd:','25iFDIrN','sessions-unregister-not-exist','defineMe','delete','channelConnectedUsers','channelSessions','300FzwTPn','allConnectedUsers','context','2117921DSBMwL','requires','change:state','set','getUserSessions','mySessionId','539230ULSWJv','685916ZYxCkE','orderNumber','Sessions','143cXkFiK','connected','isOfficialPlugin','_uniqueUsersCount','clear','size'];_0x2edc=function(){return _0x3a37dc;};return _0x2edc();}(function(_0x37063d,_0x1ef930){const _0x2e730a=_0x1e05,_0x5b4418=_0x37063d();while(!![]){try{const _0x2d937d=parseInt(_0x2e730a(0x1ce))/0x1+-parseInt(_0x2e730a(0x1a6))/0x2*(-parseInt(_0x2e730a(0x1ad))/0x3)+parseInt(_0x2e730a(0x1b7))/0x4*(-parseInt(_0x2e730a(0x1be))/0x5)+parseInt(_0x2e730a(0x19b))/0x6*(parseInt(_0x2e730a(0x1ac))/0x7)+parseInt(_0x2e730a(0x19d))/0x8*(parseInt(_0x2e730a(0x1ae))/0x9)+parseInt(_0x2e730a(0x1cd))/0xa*(parseInt(_0x2e730a(0x1d1))/0xb)+parseInt(_0x2e730a(0x1c4))/0xc*(-parseInt(_0x2e730a(0x1c7))/0xd);if(_0x2d937d===_0x1ef930)break;else _0x5b4418['push'](_0x5b4418['shift']());}catch(_0x700d69){_0x5b4418['push'](_0x5b4418['shift']());}}}(_0x2edc,0xc8d71));import{ContextPlugin as _0x18521c}from'ckeditor5/src/core.js';import{Collection as _0x53c4af,CKEditorError as _0x2ee73f}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x35ef1c}from'./websocketgateway.js';function _0x1e05(_0xb9213a,_0x2de1dd){const _0x2edccb=_0x2edc();return _0x1e05=function(_0x1e0558,_0x2c692f){_0x1e0558=_0x1e0558-0x198;let _0x168ce5=_0x2edccb[_0x1e0558];return _0x168ce5;},_0x1e05(_0xb9213a,_0x2de1dd);}import{Users as _0x2e55e5}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x18521c{[_0x3c1861(0x1c3)];[_0x3c1861(0x1c2)];[_0x3c1861(0x1c5)];[_0x3c1861(0x1d9)];[_0x3c1861(0x1d4)];[_0x3c1861(0x1a4)];static get[_0x3c1861(0x1b0)](){const _0x58d693=_0x3c1861;return _0x58d693(0x1d0);}static get[_0x3c1861(0x1d3)](){return!0x0;}static get[_0x3c1861(0x1b5)](){return!0x0;}static get[_0x3c1861(0x1c8)](){return[_0x35ef1c,_0x2e55e5];}constructor(_0x928568){const _0x448a00=_0x3c1861;super(_0x928568),this[_0x448a00(0x1c3)]=new Map(),this[_0x448a00(0x1c2)]=new Map(),this[_0x448a00(0x1c5)]=new _0x53c4af(),this[_0x448a00(0x1d9)]=new Map(),this[_0x448a00(0x1d4)]=0x0,this[_0x448a00(0x1a4)]=this[_0x448a00(0x1c6)][_0x448a00(0x1bc)][_0x448a00(0x1b3)](_0x2e55e5);}[_0x3c1861(0x1d8)](){const _0xa086a4=_0x3c1861,_0x3543d6=this[_0xa086a4(0x1c6)][_0xa086a4(0x1bc)][_0xa086a4(0x1b3)](_0x35ef1c);this[_0xa086a4(0x1a0)](_0x3543d6,_0xa086a4(0x1c9),(_0x3f438d,_0x46eff4,_0x5bc532)=>{const _0x261c17=_0xa086a4;if(_0x261c17(0x1d2)!==_0x5bc532)this[_0x261c17(0x1c3)][_0x261c17(0x1b8)](_0xe2ee23=>_0xe2ee23[_0x261c17(0x1d5)]()),this[_0x261c17(0x1c2)][_0x261c17(0x1b8)](_0x3ba1f6=>_0x3ba1f6[_0x261c17(0x1d5)]()),this[_0x261c17(0x1c5)][_0x261c17(0x1d5)]();else{for(const [_0xbe2072,_0x579588]of this[_0x261c17(0x1d9)])for(const _0x559f12 of _0x579588)this[_0x261c17(0x1ab)](_0xbe2072,_0x559f12);}}),this[_0xa086a4(0x198)](_0x3543d6[_0xa086a4(0x1a9)]['me'],!0x0);}[_0x3c1861(0x1a2)](_0x24dba2,_0x4be62d){const _0x6103c0=_0x3c1861;if(this[_0x6103c0(0x1d9)][_0x6103c0(0x19a)](_0x24dba2))throw new _0x2ee73f(_0x6103c0(0x1a8),null,{'channelId':_0x24dba2});this[_0x6103c0(0x1d9)][_0x6103c0(0x1ca)](_0x24dba2,_0x4be62d),this[_0x6103c0(0x1c3)][_0x6103c0(0x1ca)](_0x24dba2,new _0x53c4af()),this[_0x6103c0(0x1c2)][_0x6103c0(0x1ca)](_0x24dba2,new _0x53c4af()),this[_0x6103c0(0x1a0)](_0x4be62d,_0x6103c0(0x19f),(_0x22d8c4,_0x13bfaf)=>this[_0x6103c0(0x1ab)](_0x24dba2,_0x13bfaf)),this[_0x6103c0(0x1a0)](_0x4be62d,_0x6103c0(0x19c),(_0x3ada96,_0x1fbce4)=>this[_0x6103c0(0x1b4)](_0x24dba2,_0x1fbce4));for(const _0x1a843e of _0x4be62d)this[_0x6103c0(0x1ab)](_0x24dba2,_0x1a843e);}[_0x3c1861(0x1b6)](_0x44fea3){const _0x10cc31=_0x3c1861;if(!this[_0x10cc31(0x1d9)][_0x10cc31(0x19a)](_0x44fea3))throw new _0x2ee73f(_0x10cc31(0x1bf),null,{'channelId':_0x44fea3});const _0xf87434=this[_0x10cc31(0x1d9)][_0x10cc31(0x1b3)](_0x44fea3);this[_0x10cc31(0x199)](_0xf87434);for(const _0x135c8a of _0xf87434)_0x10cc31(0x1d2)===this[_0x10cc31(0x1c6)][_0x10cc31(0x1bc)][_0x10cc31(0x1b3)](_0x35ef1c)[_0x10cc31(0x19e)]&&this[_0x10cc31(0x1b4)](_0x44fea3,_0x135c8a);this[_0x10cc31(0x1d9)][_0x10cc31(0x1c1)](_0x44fea3),this[_0x10cc31(0x1c3)][_0x10cc31(0x1c1)](_0x44fea3),this[_0x10cc31(0x1c2)][_0x10cc31(0x1c1)](_0x44fea3);}get[_0x3c1861(0x1cc)](){const _0x1cb46f=_0x3c1861;return this[_0x1cb46f(0x1c6)][_0x1cb46f(0x1bc)][_0x1cb46f(0x1b3)](_0x35ef1c)[_0x1cb46f(0x1a9)][_0x1cb46f(0x1ba)];}[_0x3c1861(0x1a5)](_0x15dd6d){const _0x1d3f95=_0x3c1861;for(const _0x3ceaed of this[_0x1d3f95(0x1c3)][_0x1d3f95(0x1b1)]())for(const _0x585c2a of _0x3ceaed)if(_0x585c2a['id']===_0x15dd6d)return _0x585c2a[_0x1d3f95(0x1a1)];}[_0x3c1861(0x1cb)](_0x1aa81d,_0xe1df22){const _0x5209c1=_0x3c1861,_0x577480=_0xe1df22?[this[_0x5209c1(0x1c3)][_0x5209c1(0x1b3)](_0xe1df22)]:this[_0x5209c1(0x1c3)][_0x5209c1(0x1b1)](),_0xd95586=new Set();for(const _0x3fe58f of _0x577480)for(const _0x18d772 of _0x3fe58f)_0x18d772[_0x5209c1(0x1a1)]['id']===_0x1aa81d['id']&&_0xd95586[_0x5209c1(0x19f)](_0x18d772['id']);return _0xd95586;}[_0x3c1861(0x1b2)](_0x3d24ef){const _0x569dfd=_0x3c1861;for(const _0x5c7194 of this[_0x569dfd(0x1c3)][_0x569dfd(0x1b1)]())for(const _0x3d1c04 of _0x5c7194)if(_0x3d1c04[_0x569dfd(0x1a1)]===_0x3d24ef)return _0x3d1c04[_0x569dfd(0x1d7)];}[_0x3c1861(0x1ab)](_0xc66381,_0x2527c6){const _0x2aa534=_0x3c1861;if(_0x2aa534(0x1d2)!==this[_0x2aa534(0x1c6)][_0x2aa534(0x1bc)][_0x2aa534(0x1b3)](_0x35ef1c)[_0x2aa534(0x19e)])return;const _0x5e1900=_0x2527c6[_0x2aa534(0x1a1)],_0x58e770=this[_0x2aa534(0x1a4)][_0x2aa534(0x1b9)](_0x5e1900['id'])||this[_0x2aa534(0x198)](_0x5e1900),_0x27ee0f=Object[_0x2aa534(0x1aa)]({},_0x2527c6,{'user':_0x58e770});if(this[_0x2aa534(0x1c3)][_0x2aa534(0x1b3)](_0xc66381)[_0x2aa534(0x19f)](_0x27ee0f),!_0x5e1900[_0x2aa534(0x1bb)]){const _0x53a4a8=this[_0x2aa534(0x1c2)][_0x2aa534(0x1b3)](_0xc66381);_0x53a4a8[_0x2aa534(0x19a)](_0x58e770['id'])||_0x53a4a8[_0x2aa534(0x19f)](_0x58e770),this[_0x2aa534(0x1c5)][_0x2aa534(0x19a)](_0x58e770['id'])||_0x5e1900[_0x2aa534(0x1bb)]||this[_0x2aa534(0x1c5)][_0x2aa534(0x19f)](_0x58e770,_0x58e770[_0x2aa534(0x1a3)]?0x0:void 0x0);}this[_0x2aa534(0x1a7)](_0x2aa534(0x1bd)+_0xc66381,{'channelId':_0xc66381,'session':_0x27ee0f});}[_0x3c1861(0x1b4)](_0x109904,_0x1c41fc){const _0x1b6e06=_0x3c1861;if(_0x1b6e06(0x1d2)!==this[_0x1b6e06(0x1c6)][_0x1b6e06(0x1bc)][_0x1b6e06(0x1b3)](_0x35ef1c)[_0x1b6e06(0x19e)])return;const _0x399c5d=this[_0x1b6e06(0x1c2)][_0x1b6e06(0x1b3)](_0x109904),_0x29f8ae=_0x1c41fc[_0x1b6e06(0x1a1)];_0x29f8ae['id']&&(this[_0x1b6e06(0x1c3)][_0x1b6e06(0x1b3)](_0x109904)[_0x1b6e06(0x19c)](_0x1c41fc['id']),_0x399c5d[_0x1b6e06(0x19a)](_0x29f8ae['id'])&&!this[_0x1b6e06(0x1cb)](_0x29f8ae,_0x109904)[_0x1b6e06(0x1d6)]&&_0x399c5d[_0x1b6e06(0x19c)](_0x29f8ae['id']),this[_0x1b6e06(0x1c5)][_0x1b6e06(0x1b3)](_0x29f8ae['id'])&&!this[_0x1b6e06(0x1cb)](_0x29f8ae)[_0x1b6e06(0x1d6)]&&this[_0x1b6e06(0x1c5)][_0x1b6e06(0x19c)](_0x29f8ae['id']));}[_0x3c1861(0x198)](_0x17f513,_0x422a60){const _0x314c65=_0x3c1861,_0x350b76=this[_0x314c65(0x1a4)][_0x314c65(0x1af)](_0x17f513);return _0x422a60&&this[_0x314c65(0x1a4)][_0x314c65(0x1c0)](_0x17f513['id']),_0x350b76[_0x314c65(0x1cf)]=this[_0x314c65(0x1d4)]++,_0x350b76;}}
23
+ const _0x4d9a6e=_0x44ef;(function(_0x523cb3,_0x51e1f9){const _0x40b893=_0x44ef,_0x11fa84=_0x523cb3();while(!![]){try{const _0x3b519a=parseInt(_0x40b893(0x1c4))/0x1*(parseInt(_0x40b893(0x1ba))/0x2)+parseInt(_0x40b893(0x1d2))/0x3+parseInt(_0x40b893(0x1dd))/0x4*(parseInt(_0x40b893(0x1d3))/0x5)+-parseInt(_0x40b893(0x1ee))/0x6+-parseInt(_0x40b893(0x1d5))/0x7+-parseInt(_0x40b893(0x1da))/0x8*(-parseInt(_0x40b893(0x1c2))/0x9)+-parseInt(_0x40b893(0x1c1))/0xa;if(_0x3b519a===_0x51e1f9)break;else _0x11fa84['push'](_0x11fa84['shift']());}catch(_0x5a247d){_0x11fa84['push'](_0x11fa84['shift']());}}}(_0x4408,0x8412a));function _0x44ef(_0x294f4e,_0x453424){const _0x440823=_0x4408();return _0x44ef=function(_0x44ef36,_0x14e037){_0x44ef36=_0x44ef36-0x1b7;let _0x10e02b=_0x440823[_0x44ef36];return _0x10e02b;},_0x44ef(_0x294f4e,_0x453424);}import{ContextPlugin as _0x2b891f}from'ckeditor5/src/core.js';import{Collection as _0x5390a4,CKEditorError as _0x227ca1}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3f30bf}from'./websocketgateway.js';import{Users as _0x8e4c34}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2b891f{[_0x4d9a6e(0x1ea)];[_0x4d9a6e(0x1cb)];[_0x4d9a6e(0x1de)];[_0x4d9a6e(0x1d6)];[_0x4d9a6e(0x1bc)];[_0x4d9a6e(0x1ef)];static get[_0x4d9a6e(0x1c5)](){const _0x3878f5=_0x4d9a6e;return _0x3878f5(0x1f0);}static get[_0x4d9a6e(0x1ec)](){return!0x0;}static get[_0x4d9a6e(0x1e4)](){return!0x0;}static get[_0x4d9a6e(0x1f1)](){return[_0x3f30bf,_0x8e4c34];}constructor(_0x350ae7){const _0x4d4bf5=_0x4d9a6e;super(_0x350ae7),this[_0x4d4bf5(0x1ea)]=new Map(),this[_0x4d4bf5(0x1cb)]=new Map(),this[_0x4d4bf5(0x1de)]=new _0x5390a4(),this[_0x4d4bf5(0x1d6)]=new Map(),this[_0x4d4bf5(0x1bc)]=0x0,this[_0x4d4bf5(0x1ef)]=this[_0x4d4bf5(0x1d8)][_0x4d4bf5(0x1ce)][_0x4d4bf5(0x1e0)](_0x8e4c34);}[_0x4d9a6e(0x1eb)](){const _0x452bb2=_0x4d9a6e,_0x2e735f=this[_0x452bb2(0x1d8)][_0x452bb2(0x1ce)][_0x452bb2(0x1e0)](_0x3f30bf);this[_0x452bb2(0x1cd)](_0x2e735f,_0x452bb2(0x1e7),(_0x4ff9dc,_0x26e06f,_0x19b744)=>{const _0x137014=_0x452bb2;if(_0x137014(0x1d0)!==_0x19b744)this[_0x137014(0x1ea)][_0x137014(0x1db)](_0x48474a=>_0x48474a[_0x137014(0x1e9)]()),this[_0x137014(0x1cb)][_0x137014(0x1db)](_0x1ccc8b=>_0x1ccc8b[_0x137014(0x1e9)]()),this[_0x137014(0x1de)][_0x137014(0x1e9)]();else{for(const [_0x4b57d7,_0x39450c]of this[_0x137014(0x1d6)])for(const _0x522824 of _0x39450c)this[_0x137014(0x1be)](_0x4b57d7,_0x522824);}}),this[_0x452bb2(0x1f4)](_0x2e735f[_0x452bb2(0x1e1)]['me'],!0x0);}[_0x4d9a6e(0x1bf)](_0x4182f0,_0x47a2e6){const _0x203710=_0x4d9a6e;if(this[_0x203710(0x1d6)][_0x203710(0x1bd)](_0x4182f0))throw new _0x227ca1(_0x203710(0x1c0),null,{'channelId':_0x4182f0});this[_0x203710(0x1d6)][_0x203710(0x1b8)](_0x4182f0,_0x47a2e6),this[_0x203710(0x1ea)][_0x203710(0x1b8)](_0x4182f0,new _0x5390a4()),this[_0x203710(0x1cb)][_0x203710(0x1b8)](_0x4182f0,new _0x5390a4()),this[_0x203710(0x1cd)](_0x47a2e6,_0x203710(0x1c8),(_0x324689,_0x275d1a)=>this[_0x203710(0x1be)](_0x4182f0,_0x275d1a)),this[_0x203710(0x1cd)](_0x47a2e6,_0x203710(0x1f3),(_0x17ed78,_0x5607ea)=>this[_0x203710(0x1e3)](_0x4182f0,_0x5607ea));for(const _0x294ef3 of _0x47a2e6)this[_0x203710(0x1be)](_0x4182f0,_0x294ef3);}[_0x4d9a6e(0x1d7)](_0x15abc2){const _0x1a64ab=_0x4d9a6e;if(!this[_0x1a64ab(0x1d6)][_0x1a64ab(0x1bd)](_0x15abc2))throw new _0x227ca1(_0x1a64ab(0x1f2),null,{'channelId':_0x15abc2});const _0x4a8c7c=this[_0x1a64ab(0x1d6)][_0x1a64ab(0x1e0)](_0x15abc2);this[_0x1a64ab(0x1b7)](_0x4a8c7c);for(const _0x1684d0 of _0x4a8c7c)_0x1a64ab(0x1d0)===this[_0x1a64ab(0x1d8)][_0x1a64ab(0x1ce)][_0x1a64ab(0x1e0)](_0x3f30bf)[_0x1a64ab(0x1bb)]&&this[_0x1a64ab(0x1e3)](_0x15abc2,_0x1684d0);this[_0x1a64ab(0x1d6)][_0x1a64ab(0x1ca)](_0x15abc2),this[_0x1a64ab(0x1ea)][_0x1a64ab(0x1ca)](_0x15abc2),this[_0x1a64ab(0x1cb)][_0x1a64ab(0x1ca)](_0x15abc2);}get[_0x4d9a6e(0x1b9)](){const _0x41fc2b=_0x4d9a6e;return this[_0x41fc2b(0x1d8)][_0x41fc2b(0x1ce)][_0x41fc2b(0x1e0)](_0x3f30bf)[_0x41fc2b(0x1e1)][_0x41fc2b(0x1cf)];}[_0x4d9a6e(0x1e6)](_0x38731f){const _0x2964ec=_0x4d9a6e;for(const _0x2b9502 of this[_0x2964ec(0x1ea)][_0x2964ec(0x1c7)]())for(const _0x1ef729 of _0x2b9502)if(_0x1ef729['id']===_0x38731f)return _0x1ef729[_0x2964ec(0x1d4)];}[_0x4d9a6e(0x1cc)](_0x2f489c,_0x310ad2){const _0x4dca75=_0x4d9a6e,_0x723266=_0x310ad2?[this[_0x4dca75(0x1ea)][_0x4dca75(0x1e0)](_0x310ad2)]:this[_0x4dca75(0x1ea)][_0x4dca75(0x1c7)](),_0x75bd45=new Set();for(const _0x50b170 of _0x723266)for(const _0x51b8d5 of _0x50b170)_0x51b8d5[_0x4dca75(0x1d4)]['id']===_0x2f489c['id']&&_0x75bd45[_0x4dca75(0x1c8)](_0x51b8d5['id']);return _0x75bd45;}[_0x4d9a6e(0x1e8)](_0x5e78a7){const _0xa7462e=_0x4d9a6e;for(const _0x463b8d of this[_0xa7462e(0x1ea)][_0xa7462e(0x1c7)]())for(const _0x2bd16c of _0x463b8d)if(_0x2bd16c[_0xa7462e(0x1d4)]===_0x5e78a7)return _0x2bd16c[_0xa7462e(0x1e5)];}[_0x4d9a6e(0x1be)](_0x585321,_0x146bdc){const _0x4d9bab=_0x4d9a6e;if(_0x4d9bab(0x1d0)!==this[_0x4d9bab(0x1d8)][_0x4d9bab(0x1ce)][_0x4d9bab(0x1e0)](_0x3f30bf)[_0x4d9bab(0x1bb)])return;const _0x3365fd=_0x146bdc[_0x4d9bab(0x1d4)],_0x127dd0=this[_0x4d9bab(0x1ef)][_0x4d9bab(0x1f5)](_0x3365fd['id'])||this[_0x4d9bab(0x1f4)](_0x3365fd),_0x67c935=Object[_0x4d9bab(0x1c6)]({},_0x146bdc,{'user':_0x127dd0});if(this[_0x4d9bab(0x1ea)][_0x4d9bab(0x1e0)](_0x585321)[_0x4d9bab(0x1c8)](_0x67c935),!_0x3365fd[_0x4d9bab(0x1ed)]){const _0xf2b7a7=this[_0x4d9bab(0x1cb)][_0x4d9bab(0x1e0)](_0x585321);_0xf2b7a7[_0x4d9bab(0x1bd)](_0x127dd0['id'])||_0xf2b7a7[_0x4d9bab(0x1c8)](_0x127dd0),this[_0x4d9bab(0x1de)][_0x4d9bab(0x1bd)](_0x127dd0['id'])||_0x3365fd[_0x4d9bab(0x1ed)]||this[_0x4d9bab(0x1de)][_0x4d9bab(0x1c8)](_0x127dd0,_0x127dd0[_0x4d9bab(0x1d9)]?0x0:void 0x0);}this[_0x4d9bab(0x1c9)](_0x4d9bab(0x1dc)+_0x585321,{'channelId':_0x585321,'session':_0x67c935});}[_0x4d9a6e(0x1e3)](_0x1442e4,_0x43a80b){const _0x5a6a96=_0x4d9a6e;if(_0x5a6a96(0x1d0)!==this[_0x5a6a96(0x1d8)][_0x5a6a96(0x1ce)][_0x5a6a96(0x1e0)](_0x3f30bf)[_0x5a6a96(0x1bb)])return;const _0x1e4ab5=this[_0x5a6a96(0x1cb)][_0x5a6a96(0x1e0)](_0x1442e4),_0x383178=_0x43a80b[_0x5a6a96(0x1d4)];_0x383178['id']&&(this[_0x5a6a96(0x1ea)][_0x5a6a96(0x1e0)](_0x1442e4)[_0x5a6a96(0x1f3)](_0x43a80b['id']),_0x1e4ab5[_0x5a6a96(0x1bd)](_0x383178['id'])&&!this[_0x5a6a96(0x1cc)](_0x383178,_0x1442e4)[_0x5a6a96(0x1df)]&&_0x1e4ab5[_0x5a6a96(0x1f3)](_0x383178['id']),this[_0x5a6a96(0x1de)][_0x5a6a96(0x1e0)](_0x383178['id'])&&!this[_0x5a6a96(0x1cc)](_0x383178)[_0x5a6a96(0x1df)]&&this[_0x5a6a96(0x1de)][_0x5a6a96(0x1f3)](_0x383178['id']));}[_0x4d9a6e(0x1f4)](_0x43e59f,_0x25106e){const _0x15590d=_0x4d9a6e,_0x2e0d90=this[_0x15590d(0x1ef)][_0x15590d(0x1e2)](_0x43e59f);return _0x25106e&&this[_0x15590d(0x1ef)][_0x15590d(0x1c3)](_0x43e59f['id']),_0x2e0d90[_0x15590d(0x1d1)]=this[_0x15590d(0x1bc)]++,_0x2e0d90;}}function _0x4408(){const _0x382e56=['connection','addUser','_handleSessionRemove','isPremiumPlugin','role','getUserBySessionId','change:state','getUserRole','clear','channelSessions','init','isOfficialPlugin','hiddenInPresenceList','4701990SoKZbv','_users','Sessions','requires','sessions-unregister-not-exist','remove','_createUser','getUser','stopListening','set','mySessionId','2uvbiEU','state','_uniqueUsersCount','has','_handleSessionAdd','register','sessions-register-already-registered','10615240LtaFzI','9TZuOxp','defineMe','753631nrULHU','pluginName','assign','values','add','fire','delete','channelConnectedUsers','getUserSessions','listenTo','plugins','sessionId','connected','orderNumber','2656770VidZza','830atbXBU','user','4506096EYwKDs','_registeredSessions','unregister','context','isMe','3671264TElUIv','forEach','sessionAdd:','22452oXQjNC','allConnectedUsers','size','get'];_0x4408=function(){return _0x382e56;};return _0x4408();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x203d(){const _0xf787ae=['isOfficialPlugin','type','addMarker','Escape','conversion','toRange','24836IYuSzG','ck-user__marker_hovered','user:position:','for','element','destroy','6081607xJogar','_createdBatches','getFirstRange','getRange','markerName','ck-user__marker-tooltip','isInline','oldRange','setCustomProperty','hasContent','orderNumber','false','model','change','enqueueChange','set','ck-user__marker\x20','name','4070620vKCSwO','6RgVHHP','update:user:range','classList','removeMarker','mouseleave','applyOperation','delete','createUIElement','markerToHighlight','schema','user:position','detach','parent','8260ELPHQV','has','textContent','checkChild','markers','editing','get','mouseenter','remove','userPositionMarker','markerNameToElements','change:range','getCustomProperty','2906316aSKTpa','741QOMMrB','isCollapsed','mySessionId','selection','getMarkerClass','getStart','isSimilar','split','plugins','33JvnmJv','user:','addEventListener','UserMarkers','createElement','853128jKKCYM','view','start','toDomElement','hasDomSelection','commands','getAttribute','fromRange','clear','deletionPosition','outerHTML','requires','createRange','stopListening','isPremiumPlugin','data-session-id','listenTo','newRange','innerHTML','afterInit','pluginName','getUserBySessionId','301MkdswJ','color','add','reconvertMarker','getSelectionClass','span','marker','size','rootName','createUserMarkerOperations','user:range','removeClass','markerRange','contenteditable','batch','$text','nodeAfter','root','editor','mapper','tableCell','startsWith','keydown','setAttribute','$graveyard','_domEmitter','render','user:range:','isLimit','end','isDocumentOperation','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getContainedElement','getPositions','document','markerToElement','init','spellcheck','isObject','getNearestSelectionRange','editingDowncast','updateMarker','undo','highest','6713555vfPkrf','ck-user__selection'];_0x203d=function(){return _0xf787ae;};return _0x203d();}const _0x2939f1=_0x45ab;(function(_0x17ce0d,_0x4d1b5a){const _0x14e48a=_0x45ab,_0x40dffa=_0x17ce0d();while(!![]){try{const _0x1a2ea8=parseInt(_0x14e48a(0x16e))/0x1*(parseInt(_0x14e48a(0x1c8))/0x2)+parseInt(_0x14e48a(0x1d6))/0x3*(-parseInt(_0x14e48a(0x1a2))/0x4)+parseInt(_0x14e48a(0x19a))/0x5*(-parseInt(_0x14e48a(0x1bb))/0x6)+parseInt(_0x14e48a(0x1a8))/0x7+parseInt(_0x14e48a(0x1e4))/0x8+parseInt(_0x14e48a(0x1d5))/0x9+parseInt(_0x14e48a(0x1ba))/0xa*(parseInt(_0x14e48a(0x1df))/0xb);if(_0x1a2ea8===_0x4d1b5a)break;else _0x40dffa['push'](_0x40dffa['shift']());}catch(_0xb93a8a){_0x40dffa['push'](_0x40dffa['shift']());}}}(_0x203d,0xd864c));import{Plugin as _0x59e84a}from'ckeditor5/src/core.js';import{global as _0x9153dd,DomEmitterMixin as _0x962584}from'ckeditor5/src/utils.js';import{Sessions as _0x249b1d}from'./sessions.js';import{ModelLiveRange as _0x51379d}from'ckeditor5/src/engine.js';function _0x45ab(_0x2fd70c,_0x1dc088){const _0x203db2=_0x203d();return _0x45ab=function(_0x45ab3a,_0x42d34a){_0x45ab3a=_0x45ab3a-0x159;let _0x2a98e7=_0x203db2[_0x45ab3a];return _0x2a98e7;},_0x45ab(_0x2fd70c,_0x1dc088);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x59e84a{[_0x2939f1(0x187)]=new(_0x962584())();static get[_0x2939f1(0x163)](){return[_0x249b1d];}static get[_0x2939f1(0x16c)](){const _0x520b2a=_0x2939f1;return _0x520b2a(0x1e2);}static get[_0x2939f1(0x19c)](){return!0x0;}static get[_0x2939f1(0x166)](){return!0x0;}[_0x2939f1(0x192)](){const _0x440d4d=_0x2939f1,_0x5580d7=this[_0x440d4d(0x180)],_0x3d8ecf=_0x5580d7[_0x440d4d(0x1de)][_0x440d4d(0x1ce)](_0x249b1d);_0x5580d7[_0x440d4d(0x1a0)][_0x440d4d(0x1a5)](_0x440d4d(0x196))[_0x440d4d(0x191)]({'model':_0x440d4d(0x1c5),'view':(_0x531af3,{writer:_0x54c9fb})=>function(_0x4d87f9,_0x51b0fb,_0x45fb0e,_0x4dbdcd){const _0x1a6ded=_0x440d4d,_0x1f2bd2=_0x4d87f9[_0x1a6ded(0x1ac)][_0x1a6ded(0x1dd)](':')[0x2],_0x403871=_0x45fb0e[_0x1a6ded(0x16d)](_0x1f2bd2);if(!_0x403871||_0x1f2bd2===_0x45fb0e[_0x1a6ded(0x1d8)])return;if(!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)][_0x1a6ded(0x1cb)](_0x4d87f9[_0x1a6ded(0x17a)][_0x1a6ded(0x15a)],_0x1a6ded(0x17d)))return;const _0x5db320={'class':_0x1a6ded(0x1b8)+_0x403871[_0x1a6ded(0x16f)][_0x1a6ded(0x1da)](),'data-name':_0x403871[_0x1a6ded(0x1b9)],'data-session-id':_0x1f2bd2},_0x373f78=_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1cc)][_0x1a6ded(0x1ce)](_0x4d87f9[_0x1a6ded(0x1ac)]),_0xf1b77f=_0x373f78[_0x1a6ded(0x1db)](),_0x17fe29=_0xf1b77f[_0x1a6ded(0x17e)],_0x2f85a4=_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)];if(_0x17fe29&&_0x2f85a4[_0x1a6ded(0x194)](_0x17fe29)&&_0x2f85a4[_0x1a6ded(0x1ae)](_0x17fe29)&&!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1cc)][_0x1a6ded(0x1ce)](_0x1a6ded(0x189)+_0x1f2bd2)[_0x1a6ded(0x1ab)]()[_0x1a6ded(0x1d7)])return;const _0x19f4d9=_0xf1b77f[_0x1a6ded(0x1c7)];return _0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)][_0x1a6ded(0x18a)](_0x19f4d9)&&!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1b1)](_0x19f4d9)&&(_0x5db320[_0x1a6ded(0x17b)]=!0x1),function(_0x31200b,_0x2dc6b5,_0xfd457d){const _0x36e2e3=_0x1a6ded,_0x1b889=_0x31200b[_0x36e2e3(0x1c2)](_0x36e2e3(0x173),_0x2dc6b5);return _0x31200b[_0x36e2e3(0x1b0)](_0x36e2e3(0x1d1),!0x0,_0x1b889),_0x1b889[_0x36e2e3(0x188)]=function(_0x496bd5){const _0x586de5=_0x36e2e3,_0x144d69=this[_0x586de5(0x15b)](_0x496bd5),_0x38139c=document[_0x586de5(0x1e3)](_0x586de5(0x173));return _0x38139c[_0x586de5(0x1bd)][_0x586de5(0x170)](_0x586de5(0x1ad)),_0x38139c[_0x586de5(0x185)](_0x586de5(0x17b),_0x586de5(0x1b3)),_0x38139c[_0x586de5(0x185)](_0x586de5(0x193),_0x586de5(0x1b3)),_0x38139c[_0x586de5(0x1ca)]=_0xfd457d[_0x586de5(0x1b9)],_0x144d69[_0x586de5(0x16a)]=_0x586de5(0x18d)+_0x38139c[_0x586de5(0x162)]+'⁠',_0x144d69[_0x586de5(0x1e1)](_0x586de5(0x1cf),()=>{const _0x3b33fc=_0x586de5;_0x144d69[_0x3b33fc(0x1bd)][_0x3b33fc(0x170)](_0x3b33fc(0x1a3));}),_0x144d69[_0x586de5(0x1e1)](_0x586de5(0x1bf),()=>{const _0x57894f=_0x586de5;_0x144d69[_0x57894f(0x1bd)][_0x57894f(0x1d0)](_0x57894f(0x1a3));}),_0x144d69;},_0x1b889[_0x36e2e3(0x1dc)]=function(_0x3bd82e){const _0x5a759a=_0x36e2e3;return!(!this[_0x5a759a(0x1d4)](_0x5a759a(0x1d1))||!_0x3bd82e[_0x5a759a(0x1d4)](_0x5a759a(0x1d1))||this[_0x5a759a(0x15e)](_0x5a759a(0x167))!=_0x3bd82e[_0x5a759a(0x15e)](_0x5a759a(0x167)));},_0x1b889;}(_0x51b0fb,_0x5db320,_0x403871);}(_0x531af3,_0x54c9fb,_0x3d8ecf,_0x5580d7)}),_0x5580d7[_0x440d4d(0x1a0)][_0x440d4d(0x1a5)](_0x440d4d(0x196))[_0x440d4d(0x1c3)]({'model':_0x440d4d(0x178),'view':_0x32dd50=>function(_0x21ffd8,_0x5c7a62){const _0x319f87=_0x440d4d,_0x4e80ce=_0x21ffd8[_0x319f87(0x1ac)][_0x319f87(0x1dd)](':')[0x2];if(_0x4e80ce===_0x5c7a62[_0x319f87(0x1d8)])return null;const _0xc9ab14=_0x5c7a62[_0x319f87(0x16d)](_0x4e80ce);if(!_0xc9ab14)return{'id':_0x4e80ce,'classes':[]};return{'id':_0x4e80ce,'classes':[_0x319f87(0x19b),_0xc9ab14[_0x319f87(0x16f)][_0x319f87(0x172)]()],'attributes':{'data-session-id':_0x4e80ce},'priority':0x7d0+_0xc9ab14[_0x319f87(0x1b2)]};}(_0x32dd50,_0x3d8ecf)}),function(_0x57124e){const _0x3c51d8=_0x440d4d,_0x239309=_0x57124e[_0x3c51d8(0x1b4)],_0x1cb2bf=new Map(),_0x29a427=_0x57124e[_0x3c51d8(0x1de)][_0x3c51d8(0x1ce)](_0x249b1d);_0x239309[_0x3c51d8(0x1cc)]['on'](_0x3c51d8(0x1bc),(_0x57cf2a,_0x231a15,_0x47f586,_0x420ace)=>{const _0x35a093=_0x3c51d8;if(!_0x420ace&&_0x1cb2bf[_0x35a093(0x1ce)](_0x231a15[_0x35a093(0x1b9)]))return _0x1cb2bf[_0x35a093(0x1ce)](_0x231a15[_0x35a093(0x1b9)])[_0x35a093(0x1c6)](),void _0x1cb2bf[_0x35a093(0x1c1)](_0x231a15[_0x35a093(0x1b9)]);const _0x418561=_0x231a15[_0x35a093(0x1b9)][_0x35a093(0x1dd)](':')[0x2];if(_0x418561===_0x29a427[_0x35a093(0x1d8)])return;const _0x52668b=_0x35a093(0x1a4)+_0x418561;_0x239309[_0x35a093(0x1cc)][_0x35a093(0x1c9)](_0x52668b)&&_0x57124e[_0x35a093(0x1cd)][_0x35a093(0x171)](_0x52668b),_0x231a15['on'](_0x35a093(0x1d3),(_0x4c7479,_0x46ff6b,_0x508de6)=>{const _0x1e6ff3=_0x35a093;if(_0x1e6ff3(0x186)!=_0x46ff6b[_0x1e6ff3(0x17f)][_0x1e6ff3(0x176)]&&_0x1e6ff3(0x186)==_0x231a15[_0x1e6ff3(0x1ab)]()[_0x1e6ff3(0x17f)][_0x1e6ff3(0x176)]&&!_0x1cb2bf[_0x1e6ff3(0x1c9)](_0x231a15[_0x1e6ff3(0x1b9)])){const _0x3cc822=_0x239309[_0x1e6ff3(0x1c4)][_0x1e6ff3(0x195)](_0x508de6[_0x1e6ff3(0x161)]);if(_0x3cc822){const _0x3d45e2=_0x51379d[_0x1e6ff3(0x15f)](_0x3cc822);_0x1cb2bf[_0x1e6ff3(0x1b7)](_0x231a15[_0x1e6ff3(0x1b9)],_0x3d45e2),_0x3d45e2['on'](_0x1e6ff3(0x1d3),(_0x41bfee,_0x16a88d,_0x3d0394)=>{const _0x22dadb=_0x1e6ff3;if(_0x22dadb(0x186)==_0x3d45e2[_0x22dadb(0x17f)][_0x22dadb(0x176)]){const _0x43902e=_0x239309[_0x22dadb(0x1c4)][_0x22dadb(0x195)](_0x3d0394[_0x22dadb(0x161)]);_0x43902e?(_0x3d45e2[_0x22dadb(0x15a)]=_0x43902e[_0x22dadb(0x15a)],_0x3d45e2[_0x22dadb(0x18b)]=_0x43902e[_0x22dadb(0x18b)]):(_0x1cb2bf[_0x22dadb(0x1c1)](_0x231a15[_0x22dadb(0x1b9)]),_0x3d45e2[_0x22dadb(0x1c6)]());}});}}});}),_0x239309[_0x3c51d8(0x190)]['on'](_0x3c51d8(0x1b5),()=>{const _0x249368=_0x3c51d8;_0x1cb2bf[_0x249368(0x175)]>0x0&&_0x239309[_0x249368(0x1b6)]({'isUndoable':!0x1},_0x322b88=>{const _0x2251fc=_0x249368;for(const [_0x5cc546,_0x50c60c]of _0x1cb2bf)_0x2251fc(0x186)==_0x239309[_0x2251fc(0x1cc)][_0x2251fc(0x1ce)](_0x5cc546)[_0x2251fc(0x1ab)]()[_0x2251fc(0x17f)][_0x2251fc(0x176)]&&(ee(_0x5cc546[_0x2251fc(0x1dd)](':')[0x2],_0x50c60c[_0x2251fc(0x1a1)](),_0x239309,_0x322b88),_0x50c60c[_0x2251fc(0x1c6)]());_0x1cb2bf[_0x2251fc(0x160)]();});});}(_0x5580d7),this[_0x440d4d(0x187)][_0x440d4d(0x168)](_0x9153dd[_0x440d4d(0x190)],_0x440d4d(0x184),(_0x47407a,{key:_0x17ed95})=>{const _0x2e7751=_0x440d4d;_0x2e7751(0x19f)===_0x17ed95&&function(_0x5e95fd){const _0x115955=_0x2e7751;_0x5e95fd[_0x115955(0x1cd)][_0x115955(0x159)][_0x115955(0x1b5)](_0x261999=>{const _0x18c0b6=_0x115955;for(const _0x5911d7 of _0x5e95fd[_0x18c0b6(0x1b4)][_0x18c0b6(0x1cc)]){if(!_0x5911d7[_0x18c0b6(0x1b9)][_0x18c0b6(0x183)](_0x18c0b6(0x1c5)))continue;const _0x359b1b=_0x5e95fd[_0x18c0b6(0x1cd)][_0x18c0b6(0x181)][_0x18c0b6(0x1d2)](_0x5911d7[_0x18c0b6(0x1b9)]);if(_0x359b1b){for(const _0x59c1e1 of _0x359b1b)_0x261999[_0x18c0b6(0x179)](_0x18c0b6(0x1a3),_0x59c1e1);}}});}(_0x5580d7);},{'useCapture':!0x0});}[_0x2939f1(0x16b)](){const _0x1fbd0d=_0x2939f1,_0xfd693=this[_0x1fbd0d(0x180)],_0x5ed5cc=_0xfd693[_0x1fbd0d(0x15d)][_0x1fbd0d(0x1ce)](_0x1fbd0d(0x198));_0x5ed5cc&&_0xfd693[_0x1fbd0d(0x1b4)]['on'](_0x1fbd0d(0x1c0),(_0x2b4621,_0x305d57)=>{const _0xbf5ca3=_0x1fbd0d,_0x1ec8bf=_0x305d57[0x0];if(!_0x1ec8bf[_0xbf5ca3(0x18c)])return;if(_0xbf5ca3(0x174)!=_0x1ec8bf[_0xbf5ca3(0x19d)]||!_0x1ec8bf[_0xbf5ca3(0x1b9)][_0xbf5ca3(0x183)](_0xbf5ca3(0x1e0)))return;const _0x220559=_0x1ec8bf[_0xbf5ca3(0x17c)];_0x5ed5cc[_0xbf5ca3(0x1a9)][_0xbf5ca3(0x1c9)](_0x220559)&&(_0x1ec8bf[_0xbf5ca3(0x169)]=_0x1ec8bf[_0xbf5ca3(0x1af)]?_0xfd693[_0xbf5ca3(0x1b4)][_0xbf5ca3(0x164)](_0x1ec8bf[_0xbf5ca3(0x1af)][_0xbf5ca3(0x15a)],_0x1ec8bf[_0xbf5ca3(0x1af)][_0xbf5ca3(0x18b)]):null);},{'priority':_0x1fbd0d(0x199)});}[_0x2939f1(0x1a7)](){const _0x2e52d1=_0x2939f1;return this[_0x2e52d1(0x187)][_0x2e52d1(0x165)](),super[_0x2e52d1(0x1a7)]();}[_0x2939f1(0x177)](){const _0x1ce08f=_0x2939f1,_0x456dad=this[_0x1ce08f(0x180)],_0x4f7b98=_0x456dad[_0x1ce08f(0x1b4)][_0x1ce08f(0x190)],_0xfe4089=_0x456dad[_0x1ce08f(0x1de)][_0x1ce08f(0x1ce)](_0x249b1d);_0x456dad[_0x1ce08f(0x1b4)][_0x1ce08f(0x1b6)]({'isUndoable':!0x1},_0xe31b39=>{const _0x1dda05=_0x1ce08f,_0x1afde0=_0x1dda05(0x189)+_0xfe4089[_0x1dda05(0x1d8)],_0x28fde0=_0x1dda05(0x1a4)+_0xfe4089[_0x1dda05(0x1d8)],_0x38757=_0x456dad[_0x1dda05(0x1b4)][_0x1dda05(0x1cc)][_0x1dda05(0x1c9)](_0x1afde0);_0x456dad[_0x1dda05(0x1cd)][_0x1dda05(0x159)][_0x1dda05(0x15c)]?ee(_0xfe4089[_0x1dda05(0x1d8)],_0x4f7b98[_0x1dda05(0x1d9)][_0x1dda05(0x1aa)](),_0x456dad[_0x1dda05(0x1b4)],_0xe31b39):_0x38757&&(_0xe31b39[_0x1dda05(0x1be)](_0x1afde0),_0xe31b39[_0x1dda05(0x1be)](_0x28fde0));});}}function ee(_0x1f7ec3,_0x27eb06,_0x43d100,_0x999fbd){const _0x2fd867=_0x2939f1,_0x2bcdc0=_0x2fd867(0x189)+_0x1f7ec3,_0xcd0a3a=_0x2fd867(0x1a4)+_0x1f7ec3,_0x1d19e6=_0x27eb06[_0x2fd867(0x18e)]();let _0x3ba757=_0x27eb06[_0x2fd867(0x15a)];if(_0x1d19e6&&_0x1d19e6['is'](_0x2fd867(0x1a6),_0x2fd867(0x182))){const _0x3e8d99=function(_0x4e0448,_0x259d6f){const _0xbe84e3=_0x2fd867;for(const _0x7e979b of _0x4e0448[_0xbe84e3(0x18f)]())if(_0x259d6f[_0xbe84e3(0x1c4)][_0xbe84e3(0x1cb)](_0x7e979b,_0xbe84e3(0x17d)))return _0x7e979b;}(_0x27eb06,_0x43d100);_0x3e8d99&&(_0x3ba757=_0x3e8d99,_0x27eb06=_0x999fbd[_0x2fd867(0x164)](_0x3ba757));}const _0x1d6543=_0x999fbd[_0x2fd867(0x164)](_0x3ba757);_0x43d100[_0x2fd867(0x1cc)][_0x2fd867(0x1c9)](_0x2bcdc0)?(_0x999fbd[_0x2fd867(0x197)](_0x2bcdc0,{'range':_0x27eb06}),_0x999fbd[_0x2fd867(0x197)](_0xcd0a3a,{'range':_0x1d6543})):(_0x999fbd[_0x2fd867(0x19e)](_0x2bcdc0,{'range':_0x27eb06,'usingOperation':!0x0}),_0x999fbd[_0x2fd867(0x19e)](_0xcd0a3a,{'range':_0x1d6543,'usingOperation':!0x0}));}
23
+ const _0x39b659=_0x382a;function _0x382a(_0x49183f,_0x25c223){const _0x512e6e=_0x512e();return _0x382a=function(_0x382ae4,_0x35426d){_0x382ae4=_0x382ae4-0x1eb;let _0x13ccdf=_0x512e6e[_0x382ae4];return _0x13ccdf;},_0x382a(_0x49183f,_0x25c223);}function _0x512e(){const _0xc71306=['model','getContainedElement','markerRange','user:','getFirstRange','user:position:','parent','updateMarker','hasDomSelection','setCustomProperty','schema','removeClass','startsWith','update:user:range','createRange','highest','tableCell','ck-user__marker_hovered','addEventListener','newRange','color','ck-user__marker-tooltip','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','$graveyard','markers','enqueueChange','orderNumber','isCollapsed','checkChild','start','add','markerNameToElements','type','markerToElement','getNearestSelectionRange','528026bxZFuP','_createdBatches','false','editing','conversion','toRange','4412536ucFyOo','keydown','994645ONMmeA','rootName','createElement','getCustomProperty','for','root','document','getAttribute','markerToHighlight','data-session-id','mouseleave','user:position','commands','removeMarker','user:range:','getMarkerClass','outerHTML','getSelectionClass','setAttribute','selection','user:range','getUserBySessionId','clear','7230546AsvONn','marker','toDomElement','name','mySessionId','UserMarkers','element','Escape','92560qGeNUI','has','pluginName','editingDowncast','applyOperation','span','ck-user__selection','init','reconvertMarker','plugins','isLimit','listenTo','editor','_domEmitter','createUIElement','change','size','1wteAig','change:range','delete','detach','end','innerHTML','view','$text','userPositionMarker','split','markerName','requires','addMarker','render','26538tEnhma','set','stopListening','ck-user__marker\x20','destroy','isObject','mouseenter','createUserMarkerOperations','136053hCxMLY','getStart','remove','classList','mapper','batch','deletionPosition','nodeAfter','isDocumentOperation','154uYLCLc','isOfficialPlugin','textContent','isPremiumPlugin','isInline','hasContent','fromRange','get','spellcheck','undo','oldRange','getPositions','isSimilar','contenteditable','afterInit','getRange'];_0x512e=function(){return _0xc71306;};return _0x512e();}(function(_0x1af1a3,_0x428246){const _0xe5431e=_0x382a,_0x50bf63=_0x1af1a3();while(!![]){try{const _0x2b85d7=-parseInt(_0xe5431e(0x25c))/0x1*(parseInt(_0xe5431e(0x224))/0x2)+parseInt(_0xe5431e(0x272))/0x3+-parseInt(_0xe5431e(0x24b))/0x4+parseInt(_0xe5431e(0x22c))/0x5+-parseInt(_0xe5431e(0x26a))/0x6*(-parseInt(_0xe5431e(0x1f1))/0x7)+-parseInt(_0xe5431e(0x22a))/0x8+parseInt(_0xe5431e(0x243))/0x9;if(_0x2b85d7===_0x428246)break;else _0x50bf63['push'](_0x50bf63['shift']());}catch(_0x240b78){_0x50bf63['push'](_0x50bf63['shift']());}}}(_0x512e,0x4ac54));import{Plugin as _0x3b8fe8}from'ckeditor5/src/core.js';import{global as _0xad345e,DomEmitterMixin as _0x147d74}from'ckeditor5/src/utils.js';import{Sessions as _0x3c5e46}from'./sessions.js';import{ModelLiveRange as _0x3c250e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3b8fe8{[_0x39b659(0x258)]=new(_0x147d74())();static get[_0x39b659(0x267)](){return[_0x3c5e46];}static get[_0x39b659(0x24d)](){const _0x44f9f9=_0x39b659;return _0x44f9f9(0x248);}static get[_0x39b659(0x1f2)](){return!0x0;}static get[_0x39b659(0x1f4)](){return!0x0;}[_0x39b659(0x252)](){const _0x28664c=_0x39b659,_0x5de722=this[_0x28664c(0x257)],_0x469b90=_0x5de722[_0x28664c(0x254)][_0x28664c(0x1f8)](_0x3c5e46);_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x222)]({'model':_0x28664c(0x237),'view':(_0x3bfe9d,{writer:_0x5c35da})=>function(_0x31426e,_0x4dd286,_0x16b423,_0x37ac30){const _0x778ae2=_0x28664c,_0x31d9df=_0x31426e[_0x778ae2(0x266)][_0x778ae2(0x265)](':')[0x2],_0x35d025=_0x16b423[_0x778ae2(0x241)](_0x31d9df);if(!_0x35d025||_0x31d9df===_0x16b423[_0x778ae2(0x247)])return;if(!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x21d)](_0x31426e[_0x778ae2(0x203)][_0x778ae2(0x21e)],_0x778ae2(0x263)))return;const _0x5ec0a1={'class':_0x778ae2(0x26d)+_0x35d025[_0x778ae2(0x215)][_0x778ae2(0x23b)](),'data-name':_0x35d025[_0x778ae2(0x246)],'data-session-id':_0x31d9df},_0x257356=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x31426e[_0x778ae2(0x266)]),_0x5566c0=_0x257356[_0x778ae2(0x273)](),_0x331061=_0x5566c0[_0x778ae2(0x1ef)],_0x155143=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)];if(_0x331061&&_0x155143[_0x778ae2(0x26f)](_0x331061)&&_0x155143[_0x778ae2(0x1f5)](_0x331061)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x778ae2(0x23a)+_0x31d9df)[_0x778ae2(0x200)]()[_0x778ae2(0x21c)])return;const _0x56cc85=_0x5566c0[_0x778ae2(0x207)];return _0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x255)](_0x56cc85)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x1f6)](_0x56cc85)&&(_0x5ec0a1[_0x778ae2(0x1fe)]=!0x1),function(_0x156748,_0x200b49,_0xd09d33){const _0x39b6ad=_0x778ae2,_0x1a61b1=_0x156748[_0x39b6ad(0x259)](_0x39b6ad(0x250),_0x200b49);return _0x156748[_0x39b6ad(0x20a)](_0x39b6ad(0x264),!0x0,_0x1a61b1),_0x1a61b1[_0x39b6ad(0x269)]=function(_0x149d29){const _0x329484=_0x39b6ad,_0x1e665c=this[_0x329484(0x245)](_0x149d29),_0x48ddf9=document[_0x329484(0x22e)](_0x329484(0x250));return _0x48ddf9[_0x329484(0x1eb)][_0x329484(0x21f)](_0x329484(0x216)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1fe),_0x329484(0x226)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1f9),_0x329484(0x226)),_0x48ddf9[_0x329484(0x1f3)]=_0xd09d33[_0x329484(0x246)],_0x1e665c[_0x329484(0x261)]=_0x329484(0x217)+_0x48ddf9[_0x329484(0x23c)]+'⁠',_0x1e665c[_0x329484(0x213)](_0x329484(0x270),()=>{const _0x2392e1=_0x329484;_0x1e665c[_0x2392e1(0x1eb)][_0x2392e1(0x21f)](_0x2392e1(0x212));}),_0x1e665c[_0x329484(0x213)](_0x329484(0x236),()=>{const _0x2de848=_0x329484;_0x1e665c[_0x2de848(0x1eb)][_0x2de848(0x274)](_0x2de848(0x212));}),_0x1e665c;},_0x1a61b1[_0x39b6ad(0x1fd)]=function(_0x419071){const _0x440fb5=_0x39b6ad;return!(!this[_0x440fb5(0x22f)](_0x440fb5(0x264))||!_0x419071[_0x440fb5(0x22f)](_0x440fb5(0x264))||this[_0x440fb5(0x233)](_0x440fb5(0x235))!=_0x419071[_0x440fb5(0x233)](_0x440fb5(0x235)));},_0x1a61b1;}(_0x4dd286,_0x5ec0a1,_0x35d025);}(_0x3bfe9d,_0x5c35da,_0x469b90,_0x5de722)}),_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x234)]({'model':_0x28664c(0x240),'view':_0x157639=>function(_0x1e6f43,_0x45e134){const _0x4902d8=_0x28664c,_0x2efc59=_0x1e6f43[_0x4902d8(0x266)][_0x4902d8(0x265)](':')[0x2];if(_0x2efc59===_0x45e134[_0x4902d8(0x247)])return null;const _0x2169dc=_0x45e134[_0x4902d8(0x241)](_0x2efc59);if(!_0x2169dc)return{'id':_0x2efc59,'classes':[]};return{'id':_0x2efc59,'classes':[_0x4902d8(0x251),_0x2169dc[_0x4902d8(0x215)][_0x4902d8(0x23d)]()],'attributes':{'data-session-id':_0x2efc59},'priority':0x7d0+_0x2169dc[_0x4902d8(0x21b)]};}(_0x157639,_0x469b90)}),function(_0x47a99b){const _0x56ab63=_0x28664c,_0x3c4e4a=_0x47a99b[_0x56ab63(0x201)],_0x585323=new Map(),_0x4a45cc=_0x47a99b[_0x56ab63(0x254)][_0x56ab63(0x1f8)](_0x3c5e46);_0x3c4e4a[_0x56ab63(0x219)]['on'](_0x56ab63(0x20e),(_0x3845a4,_0x50fa20,_0x17355a,_0x32e4de)=>{const _0x343ee6=_0x56ab63;if(!_0x32e4de&&_0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)]))return _0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)])[_0x343ee6(0x25f)](),void _0x585323[_0x343ee6(0x25e)](_0x50fa20[_0x343ee6(0x246)]);const _0x343b86=_0x50fa20[_0x343ee6(0x246)][_0x343ee6(0x265)](':')[0x2];if(_0x343b86===_0x4a45cc[_0x343ee6(0x247)])return;const _0x435417=_0x343ee6(0x206)+_0x343b86;_0x3c4e4a[_0x343ee6(0x219)][_0x343ee6(0x24c)](_0x435417)&&_0x47a99b[_0x343ee6(0x227)][_0x343ee6(0x253)](_0x435417),_0x50fa20['on'](_0x343ee6(0x25d),(_0x2bfe4d,_0x44e829,_0xd0f6a8)=>{const _0x589378=_0x343ee6;if(_0x589378(0x218)!=_0x44e829[_0x589378(0x231)][_0x589378(0x22d)]&&_0x589378(0x218)==_0x50fa20[_0x589378(0x200)]()[_0x589378(0x231)][_0x589378(0x22d)]&&!_0x585323[_0x589378(0x24c)](_0x50fa20[_0x589378(0x246)])){const _0x50ba0c=_0x3c4e4a[_0x589378(0x20b)][_0x589378(0x223)](_0xd0f6a8[_0x589378(0x1ee)]);if(_0x50ba0c){const _0x3ddb8c=_0x3c250e[_0x589378(0x1f7)](_0x50ba0c);_0x585323[_0x589378(0x26b)](_0x50fa20[_0x589378(0x246)],_0x3ddb8c),_0x3ddb8c['on'](_0x589378(0x25d),(_0x4533e0,_0x3edf76,_0x5d9e6c)=>{const _0xc4b304=_0x589378;if(_0xc4b304(0x218)==_0x3ddb8c[_0xc4b304(0x231)][_0xc4b304(0x22d)]){const _0x3f8745=_0x3c4e4a[_0xc4b304(0x20b)][_0xc4b304(0x223)](_0x5d9e6c[_0xc4b304(0x1ee)]);_0x3f8745?(_0x3ddb8c[_0xc4b304(0x21e)]=_0x3f8745[_0xc4b304(0x21e)],_0x3ddb8c[_0xc4b304(0x260)]=_0x3f8745[_0xc4b304(0x260)]):(_0x585323[_0xc4b304(0x25e)](_0x50fa20[_0xc4b304(0x246)]),_0x3ddb8c[_0xc4b304(0x25f)]());}});}}});}),_0x3c4e4a[_0x56ab63(0x232)]['on'](_0x56ab63(0x25a),()=>{const _0x3b874e=_0x56ab63;_0x585323[_0x3b874e(0x25b)]>0x0&&_0x3c4e4a[_0x3b874e(0x21a)]({'isUndoable':!0x1},_0x4f5e25=>{const _0x2c2b23=_0x3b874e;for(const [_0x5a4393,_0x5830c6]of _0x585323)_0x2c2b23(0x218)==_0x3c4e4a[_0x2c2b23(0x219)][_0x2c2b23(0x1f8)](_0x5a4393)[_0x2c2b23(0x200)]()[_0x2c2b23(0x231)][_0x2c2b23(0x22d)]&&(te(_0x5a4393[_0x2c2b23(0x265)](':')[0x2],_0x5830c6[_0x2c2b23(0x229)](),_0x3c4e4a,_0x4f5e25),_0x5830c6[_0x2c2b23(0x25f)]());_0x585323[_0x2c2b23(0x242)]();});});}(_0x5de722),this[_0x28664c(0x258)][_0x28664c(0x256)](_0xad345e[_0x28664c(0x232)],_0x28664c(0x22b),(_0x3f7fe6,{key:_0x468771})=>{const _0x32b7a0=_0x28664c;_0x32b7a0(0x24a)===_0x468771&&function(_0x586aed){const _0x398f28=_0x32b7a0;_0x586aed[_0x398f28(0x227)][_0x398f28(0x262)][_0x398f28(0x25a)](_0x479e02=>{const _0x29c811=_0x398f28;for(const _0x3906e of _0x586aed[_0x29c811(0x201)][_0x29c811(0x219)]){if(!_0x3906e[_0x29c811(0x246)][_0x29c811(0x20d)](_0x29c811(0x237)))continue;const _0x594f89=_0x586aed[_0x29c811(0x227)][_0x29c811(0x1ec)][_0x29c811(0x220)](_0x3906e[_0x29c811(0x246)]);if(_0x594f89){for(const _0x3e4ede of _0x594f89)_0x479e02[_0x29c811(0x20c)](_0x29c811(0x212),_0x3e4ede);}}});}(_0x5de722);},{'useCapture':!0x0});}[_0x39b659(0x1ff)](){const _0x122f10=_0x39b659,_0x496887=this[_0x122f10(0x257)],_0xddcc35=_0x496887[_0x122f10(0x238)][_0x122f10(0x1f8)](_0x122f10(0x1fa));_0xddcc35&&_0x496887[_0x122f10(0x201)]['on'](_0x122f10(0x24f),(_0x1105be,_0x450849)=>{const _0xf8fee4=_0x122f10,_0x123447=_0x450849[0x0];if(!_0x123447[_0xf8fee4(0x1f0)])return;if(_0xf8fee4(0x244)!=_0x123447[_0xf8fee4(0x221)]||!_0x123447[_0xf8fee4(0x246)][_0xf8fee4(0x20d)](_0xf8fee4(0x204)))return;const _0x5451e3=_0x123447[_0xf8fee4(0x1ed)];_0xddcc35[_0xf8fee4(0x225)][_0xf8fee4(0x24c)](_0x5451e3)&&(_0x123447[_0xf8fee4(0x214)]=_0x123447[_0xf8fee4(0x1fb)]?_0x496887[_0xf8fee4(0x201)][_0xf8fee4(0x20f)](_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x21e)],_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x260)]):null);},{'priority':_0x122f10(0x210)});}[_0x39b659(0x26e)](){const _0x302310=_0x39b659;return this[_0x302310(0x258)][_0x302310(0x26c)](),super[_0x302310(0x26e)]();}[_0x39b659(0x271)](){const _0x803900=_0x39b659,_0x5a9a83=this[_0x803900(0x257)],_0x46561a=_0x5a9a83[_0x803900(0x201)][_0x803900(0x232)],_0x3a6987=_0x5a9a83[_0x803900(0x254)][_0x803900(0x1f8)](_0x3c5e46);_0x5a9a83[_0x803900(0x201)][_0x803900(0x21a)]({'isUndoable':!0x1},_0x3e80d6=>{const _0x1be139=_0x803900,_0x42a608=_0x1be139(0x23a)+_0x3a6987[_0x1be139(0x247)],_0x25b0e9=_0x1be139(0x206)+_0x3a6987[_0x1be139(0x247)],_0x464116=_0x5a9a83[_0x1be139(0x201)][_0x1be139(0x219)][_0x1be139(0x24c)](_0x42a608);_0x5a9a83[_0x1be139(0x227)][_0x1be139(0x262)][_0x1be139(0x209)]?te(_0x3a6987[_0x1be139(0x247)],_0x46561a[_0x1be139(0x23f)][_0x1be139(0x205)](),_0x5a9a83[_0x1be139(0x201)],_0x3e80d6):_0x464116&&(_0x3e80d6[_0x1be139(0x239)](_0x42a608),_0x3e80d6[_0x1be139(0x239)](_0x25b0e9));});}}function te(_0x2f0ec7,_0x115898,_0x92f03e,_0x30aad0){const _0x46da71=_0x39b659,_0x54aa2a=_0x46da71(0x23a)+_0x2f0ec7,_0x50b7d2=_0x46da71(0x206)+_0x2f0ec7,_0x23dd05=_0x115898[_0x46da71(0x202)]();let _0x5a81c1=_0x115898[_0x46da71(0x21e)];if(_0x23dd05&&_0x23dd05['is'](_0x46da71(0x249),_0x46da71(0x211))){const _0x3825fa=function(_0x39d2b5,_0x2c50c2){const _0x5d140e=_0x46da71;for(const _0x874116 of _0x39d2b5[_0x5d140e(0x1fc)]())if(_0x2c50c2[_0x5d140e(0x20b)][_0x5d140e(0x21d)](_0x874116,_0x5d140e(0x263)))return _0x874116;}(_0x115898,_0x92f03e);_0x3825fa&&(_0x5a81c1=_0x3825fa,_0x115898=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1));}const _0x2e0c0e=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1);_0x92f03e[_0x46da71(0x219)][_0x46da71(0x24c)](_0x54aa2a)?(_0x30aad0[_0x46da71(0x208)](_0x54aa2a,{'range':_0x115898}),_0x30aad0[_0x46da71(0x208)](_0x50b7d2,{'range':_0x2e0c0e})):(_0x30aad0[_0x46da71(0x268)](_0x54aa2a,{'range':_0x115898,'usingOperation':!0x0}),_0x30aad0[_0x46da71(0x268)](_0x50b7d2,{'range':_0x2e0c0e,'usingOperation':!0x0}));}