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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +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 _0x2cbfbf=_0x276a;function _0x276a(_0x452671,_0x3828e2){const _0x2c7af5=_0x2c7a();return _0x276a=function(_0x276a30,_0x565766){_0x276a30=_0x276a30-0xa4;let _0x44bf66=_0x2c7af5[_0x276a30];return _0x44bf66;},_0x276a(_0x452671,_0x3828e2);}(function(_0x2bd89c,_0x2e5a23){const _0x40cf82=_0x276a,_0x211fc0=_0x2bd89c();while(!![]){try{const _0x340bdb=-parseInt(_0x40cf82(0xb8))/0x1+parseInt(_0x40cf82(0xa4))/0x2+parseInt(_0x40cf82(0xc3))/0x3+parseInt(_0x40cf82(0xc6))/0x4+-parseInt(_0x40cf82(0xa5))/0x5+parseInt(_0x40cf82(0xa9))/0x6+parseInt(_0x40cf82(0xb1))/0x7*(parseInt(_0x40cf82(0xac))/0x8);if(_0x340bdb===_0x2e5a23)break;else _0x211fc0['push'](_0x211fc0['shift']());}catch(_0x53a62a){_0x211fc0['push'](_0x211fc0['shift']());}}}(_0x2c7a,0x28f0e));import{View as _0x3d02c5}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x29b88f}from'ckeditor5/src/utils.js';import{getTranslation as _0x2004c6}from'../../common-translations.js';export default class ts extends _0x3d02c5{[_0x2cbfbf(0xaf)];[_0x2cbfbf(0xbd)];constructor(_0x17843e){const _0xed389c=_0x2cbfbf;super(_0x17843e);const _0x3c0e82=this[_0xed389c(0xa8)];this[_0xed389c(0xaf)]=this[_0xed389c(0xbb)](),this[_0xed389c(0xbd)]=new _0x29b88f(),this[_0xed389c(0xb0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xed389c(0xaa)]({'tag':_0xed389c(0xc8),'attributes':{'aria-haspopup':_0x3c0e82['if'](_0xed389c(0xbe)),'aria-expanded':_0x3c0e82['to'](_0xed389c(0xc5),_0x1a13ad=>this[_0xed389c(0xbe)]&&String(_0x1a13ad)),'aria-label':_0x3c0e82['to'](_0xed389c(0xbe),_0x493a3b=>_0x2004c6(_0x17843e,_0x493a3b?_0xed389c(0xb2):_0xed389c(0xbc))),'role':_0xed389c(0xb6),'tabindex':_0x3c0e82['to'](_0xed389c(0xbe),_0x2a4e0c=>!!_0x2a4e0c&&0x0),'class':['ck',_0xed389c(0xae)]},'children':this[_0xed389c(0xaf)],'on':{'mouseenter':_0x3c0e82['to'](()=>this[_0xed389c(0xad)](_0xed389c(0xa6))),'mouseleave':_0x3c0e82['to'](_0x3835d4=>{const _0xc94500=_0xed389c,_0x485908=_0x3835d4,_0x250b74=document[_0xc94500(0xab)](_0xc94500(0xa7)),_0x29e626=document[_0xc94500(0xab)](_0xc94500(0xb7));_0x250b74?.[_0xc94500(0xc4)](_0x485908[_0xc94500(0xb9)])||_0x29e626?.[_0xc94500(0xc4)](_0x485908[_0xc94500(0xb9)])||this[_0xc94500(0xad)](_0xc94500(0xb5));})}}),this['on'](_0xed389c(0xb3),(_0x5a3145,_0x1eecaf,_0x49431c)=>{const _0x3ebf68=_0xed389c;this[_0x3ebf68(0xba)]&&(_0x49431c?this[_0x3ebf68(0xba)][_0x3ebf68(0xc2)](_0x3ebf68(0xc0),String(this[_0x3ebf68(0xc5)])):this[_0x3ebf68(0xba)][_0x3ebf68(0xc1)](_0x3ebf68(0xc0)));});}[_0x2cbfbf(0xc7)](){const _0x138bc8=_0x2cbfbf;this[_0x138bc8(0xba)][_0x138bc8(0xc7)]();}[_0x2cbfbf(0xb4)](){const _0x3b2364=_0x2cbfbf;super[_0x3b2364(0xb4)](),this[_0x3b2364(0xbd)][_0x3b2364(0xbf)](this[_0x3b2364(0xba)]);}}function _0x2c7a(){const _0x2ce290=['setAttribute','620610iHGjWh','contains','isExpanded','29592ViEKMh','focus','div','326522VTYJnr','1158350rjjSMt','presencelist:show','.ck-presence-list__dropdown-list','bindTemplate','1206954rYvmNW','setTemplate','querySelector','16zTQEmC','fire','ck-presence-list__list','items','set','9905klUFsc','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','render','presencelist:hide','list','.ck-balloon-panel_with-arrow','182154MCPgZV','relatedTarget','element','createCollection','Connected\x20users\x20list','keystrokes','hasPopup','listenTo','aria-expanded','removeAttribute'];_0x2c7a=function(){return _0x2ce290;};return _0x2c7a();}
23
+ const _0x2be8fb=_0x5448;(function(_0x38cb77,_0x3192c8){const _0x577c7b=_0x5448,_0x4d2009=_0x38cb77();while(!![]){try{const _0x4a39b9=parseInt(_0x577c7b(0x84))/0x1*(-parseInt(_0x577c7b(0x7a))/0x2)+parseInt(_0x577c7b(0x87))/0x3*(parseInt(_0x577c7b(0x89))/0x4)+-parseInt(_0x577c7b(0x78))/0x5*(-parseInt(_0x577c7b(0x7b))/0x6)+-parseInt(_0x577c7b(0x6b))/0x7+-parseInt(_0x577c7b(0x8f))/0x8+parseInt(_0x577c7b(0x75))/0x9+parseInt(_0x577c7b(0x86))/0xa;if(_0x4a39b9===_0x3192c8)break;else _0x4d2009['push'](_0x4d2009['shift']());}catch(_0x56d483){_0x4d2009['push'](_0x4d2009['shift']());}}}(_0x22e9,0x38c3d));function _0x5448(_0x16d2f5,_0x262825){const _0x22e9b5=_0x22e9();return _0x5448=function(_0x544821,_0x103821){_0x544821=_0x544821-0x6a;let _0xd51c0e=_0x22e9b5[_0x544821];return _0xd51c0e;},_0x5448(_0x16d2f5,_0x262825);}import{View as _0x581e16}from'ckeditor5/src/ui.js';function _0x22e9(){const _0x117e19=['fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','removeAttribute','2424105sSYaMB','Connected\x20users\x20list','.ck-presence-list__dropdown-list','163105QObpsJ','presencelist:hide','31470TJOVSR','48CGqyVQ','relatedTarget','createCollection','list','setTemplate','render','div','listenTo','set','11mcDBDl','presencelist:show','650920ZFhHLT','184854XGyYuL','querySelector','12BoFzne','change:hasPopup','keystrokes','items','hasPopup','isExpanded','1456960vlYxiP','focus','aria-expanded','1347815jerwFx','ck-presence-list__list','contains','bindTemplate','element','.ck-balloon-panel_with-arrow','setAttribute'];_0x22e9=function(){return _0x117e19;};return _0x22e9();}import{KeystrokeHandler as _0x5108d6}from'ckeditor5/src/utils.js';import{getTranslation as _0x112e57}from'../../common-translations.js';export default class ts extends _0x581e16{[_0x2be8fb(0x8c)];[_0x2be8fb(0x8b)];constructor(_0x56dbb0){const _0x283863=_0x2be8fb;super(_0x56dbb0);const _0x15446a=this[_0x283863(0x6e)];this[_0x283863(0x8c)]=this[_0x283863(0x7d)](),this[_0x283863(0x8b)]=new _0x5108d6(),this[_0x283863(0x83)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x283863(0x7f)]({'tag':_0x283863(0x81),'attributes':{'aria-haspopup':_0x15446a['if'](_0x283863(0x8d)),'aria-expanded':_0x15446a['to'](_0x283863(0x8e),_0x53ad8f=>this[_0x283863(0x8d)]&&String(_0x53ad8f)),'aria-label':_0x15446a['to'](_0x283863(0x8d),_0x4f690a=>_0x112e57(_0x56dbb0,_0x4f690a?_0x283863(0x73):_0x283863(0x76))),'role':_0x283863(0x7e),'tabindex':_0x15446a['to'](_0x283863(0x8d),_0x4d735e=>!!_0x4d735e&&0x0),'class':['ck',_0x283863(0x6c)]},'children':this[_0x283863(0x8c)],'on':{'mouseenter':_0x15446a['to'](()=>this[_0x283863(0x72)](_0x283863(0x85))),'mouseleave':_0x15446a['to'](_0x2e8ff7=>{const _0x140040=_0x283863,_0x32bdf9=_0x2e8ff7,_0x1b0c0e=document[_0x140040(0x88)](_0x140040(0x77)),_0x185b78=document[_0x140040(0x88)](_0x140040(0x70));_0x1b0c0e?.[_0x140040(0x6d)](_0x32bdf9[_0x140040(0x7c)])||_0x185b78?.[_0x140040(0x6d)](_0x32bdf9[_0x140040(0x7c)])||this[_0x140040(0x72)](_0x140040(0x79));})}}),this['on'](_0x283863(0x8a),(_0x2e78a4,_0x472c4e,_0x228380)=>{const _0x20fe71=_0x283863;this[_0x20fe71(0x6f)]&&(_0x228380?this[_0x20fe71(0x6f)][_0x20fe71(0x71)](_0x20fe71(0x6a),String(this[_0x20fe71(0x8e)])):this[_0x20fe71(0x6f)][_0x20fe71(0x74)](_0x20fe71(0x6a)));});}[_0x2be8fb(0x90)](){const _0x43319b=_0x2be8fb;this[_0x43319b(0x6f)][_0x43319b(0x90)]();}[_0x2be8fb(0x80)](){const _0x20d447=_0x2be8fb;super[_0x20d447(0x80)](),this[_0x20d447(0x8b)][_0x20d447(0x82)](this[_0x20d447(0x6f)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ecaa6=_0x1c59;function _0x4167(){const _0x583e5d=['set','counterView','124580oPDAEu','change','ck-presence-list--collapsed','hasPopup','387KJfwtZ','listenTo','1538qMbBIL','136lUnQAb','ck-reset','items','locale','ck-presence-list','166uLXOzA','20ypIHmd','div','6929244QopHoc','bind','bindTemplate','inlineListView','ck-rounded-corners','setTemplate','isCollapsed','tooltipPosition','first','6243118FDDezC','24892527rWiaUL','281760PGooTD','4398HxNtrt'];_0x4167=function(){return _0x583e5d;};return _0x4167();}(function(_0x3baeba,_0x4b3d55){const _0x2c25cc=_0x1c59,_0x9e4e2b=_0x3baeba();while(!![]){try{const _0xde83f4=-parseInt(_0x2c25cc(0x170))/0x1*(parseInt(_0x2c25cc(0x16a))/0x2)+-parseInt(_0x2c25cc(0x17f))/0x3*(parseInt(_0x2c25cc(0x16b))/0x4)+-parseInt(_0x2c25cc(0x164))/0x5+-parseInt(_0x2c25cc(0x173))/0x6+-parseInt(_0x2c25cc(0x17c))/0x7+-parseInt(_0x2c25cc(0x17e))/0x8*(parseInt(_0x2c25cc(0x168))/0x9)+parseInt(_0x2c25cc(0x171))/0xa*(parseInt(_0x2c25cc(0x17d))/0xb);if(_0xde83f4===_0x4b3d55)break;else _0x9e4e2b['push'](_0x9e4e2b['shift']());}catch(_0x3e21b1){_0x9e4e2b['push'](_0x9e4e2b['shift']());}}}(_0x4167,0xba1b4));import{View as _0x532659}from'ckeditor5/src/ui.js';function _0x1c59(_0x49fa6e,_0x25c808){const _0x41673a=_0x4167();return _0x1c59=function(_0x1c5916,_0x29490c){_0x1c5916=_0x1c5916-0x164;let _0x1a6214=_0x41673a[_0x1c5916];return _0x1a6214;},_0x1c59(_0x49fa6e,_0x25c808);}import _0x2d1cb5 from'./presencecounterview.js';import _0xad72a from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x532659{[_0x5ecaa6(0x181)];[_0x5ecaa6(0x176)];constructor(_0x3488dd,_0x4be6a5=0x6){const _0x4a0ecf=_0x5ecaa6;super(_0x3488dd);const _0x1d4311=this[_0x4a0ecf(0x175)];this[_0x4a0ecf(0x180)](_0x4a0ecf(0x179),!0x0),this[_0x4a0ecf(0x181)]=new _0x2d1cb5(this[_0x4a0ecf(0x16e)],_0x4be6a5),this[_0x4a0ecf(0x176)]=new _0xad72a(_0x3488dd),this[_0x4a0ecf(0x176)][_0x4a0ecf(0x174)](_0x4a0ecf(0x167))['to'](this,_0x4a0ecf(0x179)),this[_0x4a0ecf(0x169)](this[_0x4a0ecf(0x176)][_0x4a0ecf(0x16d)],_0x4a0ecf(0x165),()=>{const _0x4c81ae=_0x4a0ecf;for(const _0x521091 of this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)])_0x521091[_0x4c81ae(0x17a)]='s';this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)][_0x4c81ae(0x17b)]&&(this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)][_0x4c81ae(0x17b)][_0x4c81ae(0x17a)]='se');}),this[_0x4a0ecf(0x178)]({'tag':_0x4a0ecf(0x172),'attributes':{'class':['ck',_0x4a0ecf(0x16f),_0x4a0ecf(0x16c),_0x4a0ecf(0x177),_0x1d4311['if'](_0x4a0ecf(0x179),_0x4a0ecf(0x166))]},'children':[this[_0x4a0ecf(0x176)]]});}}
23
+ const _0x3e1be0=_0x437f;(function(_0x105d3a,_0x5bd828){const _0x584c29=_0x437f,_0x54ee2b=_0x105d3a();while(!![]){try{const _0x45cf8f=-parseInt(_0x584c29(0x126))/0x1*(-parseInt(_0x584c29(0x134))/0x2)+parseInt(_0x584c29(0x135))/0x3+-parseInt(_0x584c29(0x137))/0x4*(-parseInt(_0x584c29(0x13e))/0x5)+parseInt(_0x584c29(0x131))/0x6+parseInt(_0x584c29(0x12a))/0x7*(parseInt(_0x584c29(0x12c))/0x8)+parseInt(_0x584c29(0x132))/0x9+-parseInt(_0x584c29(0x123))/0xa;if(_0x45cf8f===_0x5bd828)break;else _0x54ee2b['push'](_0x54ee2b['shift']());}catch(_0x1d42f8){_0x54ee2b['push'](_0x54ee2b['shift']());}}}(_0xc120,0xd5d7b));import{View as _0x57c043}from'ckeditor5/src/ui.js';import _0x357d6c from'./presencecounterview.js';function _0x437f(_0x31675c,_0x3ea29e){const _0xc1203d=_0xc120();return _0x437f=function(_0x437f69,_0x56c79c){_0x437f69=_0x437f69-0x123;let _0x400d72=_0xc1203d[_0x437f69];return _0x400d72;},_0x437f(_0x31675c,_0x3ea29e);}import _0x2c1367 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x57c043{[_0x3e1be0(0x13f)];[_0x3e1be0(0x133)];constructor(_0x57693e,_0x25ecdf=0x6){const _0x411f19=_0x3e1be0;super(_0x57693e);const _0x586aa3=this[_0x411f19(0x125)];this[_0x411f19(0x12f)](_0x411f19(0x138),!0x0),this[_0x411f19(0x13f)]=new _0x357d6c(this[_0x411f19(0x139)],_0x25ecdf),this[_0x411f19(0x133)]=new _0x2c1367(_0x57693e),this[_0x411f19(0x133)][_0x411f19(0x127)](_0x411f19(0x13d))['to'](this,_0x411f19(0x138)),this[_0x411f19(0x12b)](this[_0x411f19(0x133)][_0x411f19(0x13b)],_0x411f19(0x12d),()=>{const _0x4733f7=_0x411f19;for(const _0x10a32f of this[_0x4733f7(0x133)][_0x4733f7(0x13b)])_0x10a32f[_0x4733f7(0x129)]='s';this[_0x4733f7(0x133)][_0x4733f7(0x13b)][_0x4733f7(0x13a)]&&(this[_0x4733f7(0x133)][_0x4733f7(0x13b)][_0x4733f7(0x13a)][_0x4733f7(0x129)]='se');}),this[_0x411f19(0x130)]({'tag':_0x411f19(0x124),'attributes':{'class':['ck',_0x411f19(0x13c),_0x411f19(0x136),_0x411f19(0x12e),_0x586aa3['if'](_0x411f19(0x138),_0x411f19(0x128))]},'children':[this[_0x411f19(0x133)]]});}}function _0xc120(){const _0x5cafff=['tooltipPosition','11067679SCepqG','listenTo','8uKhAvV','change','ck-rounded-corners','set','setTemplate','1897404UdMYzh','8169381sREoYc','inlineListView','2IvPtOg','711852SdnXUX','ck-reset','708CZvTAf','isCollapsed','locale','first','items','ck-presence-list','hasPopup','39005CTPDvf','counterView','52585110TaXnLH','div','bindTemplate','1711309YPZtYo','bind','ck-presence-list--collapsed'];_0xc120=function(){return _0x5cafff;};return _0xc120();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2680(_0xbf928b,_0x585a86){var _0x588bad=_0x588b();return _0x2680=function(_0x26800c,_0x1bcf1d){_0x26800c=_0x26800c-0x1e6;var _0x2ae100=_0x588bad[_0x26800c];return _0x2ae100;},_0x2680(_0xbf928b,_0x585a86);}var _0x414b12=_0x2680;(function(_0x18db4f,_0xd2109c){var _0x4b9577=_0x2680,_0x4c72a8=_0x18db4f();while(!![]){try{var _0x388cf2=parseInt(_0x4b9577(0x1eb))/0x1+parseInt(_0x4b9577(0x1ec))/0x2*(parseInt(_0x4b9577(0x1e6))/0x3)+parseInt(_0x4b9577(0x1f0))/0x4*(parseInt(_0x4b9577(0x1ed))/0x5)+-parseInt(_0x4b9577(0x1e8))/0x6+parseInt(_0x4b9577(0x1e9))/0x7+parseInt(_0x4b9577(0x1f1))/0x8+-parseInt(_0x4b9577(0x1ee))/0x9;if(_0x388cf2===_0xd2109c)break;else _0x4c72a8['push'](_0x4c72a8['shift']());}catch(_0x497cb8){_0x4c72a8['push'](_0x4c72a8['shift']());}}}(_0x588b,0xdc9ee));import{ContextPlugin as _0xe15647}from'ckeditor5/src/core.js';import _0xd2b632 from'./realtimecollaborativeediting/sessions.js';function _0x588b(){var _0x189e0e=['pluginName','14193vumklO','isPremiumPlugin','6982518DzegXD','8072750mvJQRC','PresenceList','1255133mfZdDu','376GUGRLY','8030195dSqqLb','33047181FwaEmi','isOfficialPlugin','4JRyUeY','6683792yxNUyf','requires'];_0x588b=function(){return _0x189e0e;};return _0x588b();}import _0x172fef from'./presencelist/presencelistui.js';export default class s extends _0xe15647{static get[_0x414b12(0x1f2)](){return[_0xd2b632,_0x172fef];}static get[_0x414b12(0x1f3)](){var _0xcaf156=_0x414b12;return _0xcaf156(0x1ea);}static get[_0x414b12(0x1ef)](){return!0x0;}static get[_0x414b12(0x1e7)](){return!0x0;}}
23
+ var _0x259656=_0xa746;(function(_0x441d6f,_0x366ba8){var _0x1d547f=_0xa746,_0x5f243d=_0x441d6f();while(!![]){try{var _0x9cd532=parseInt(_0x1d547f(0x10f))/0x1*(-parseInt(_0x1d547f(0x108))/0x2)+parseInt(_0x1d547f(0x113))/0x3+parseInt(_0x1d547f(0x10e))/0x4*(-parseInt(_0x1d547f(0x10c))/0x5)+parseInt(_0x1d547f(0x105))/0x6+parseInt(_0x1d547f(0x10b))/0x7*(parseInt(_0x1d547f(0x106))/0x8)+parseInt(_0x1d547f(0x109))/0x9+parseInt(_0x1d547f(0x10a))/0xa*(-parseInt(_0x1d547f(0x111))/0xb);if(_0x9cd532===_0x366ba8)break;else _0x5f243d['push'](_0x5f243d['shift']());}catch(_0x23bd91){_0x5f243d['push'](_0x5f243d['shift']());}}}(_0x54a7,0x470ca));import{ContextPlugin as _0xd05b4c}from'ckeditor5/src/core.js';function _0x54a7(){var _0x13e6d5=['30hbBigt','7nGsBjD','592665NvmUpZ','requires','12BEeLhu','859TpwnlB','PresenceList','2792295BLeQNf','isOfficialPlugin','1156935pGJCzy','pluginName','1601412stsIwz','2858216UPinzk','isPremiumPlugin','2ejpRUm','3592683uaxhEG'];_0x54a7=function(){return _0x13e6d5;};return _0x54a7();}function _0xa746(_0x43f68b,_0xaa3945){var _0x54a7fc=_0x54a7();return _0xa746=function(_0xa7464f,_0x3ee866){_0xa7464f=_0xa7464f-0x104;var _0x4abd24=_0x54a7fc[_0xa7464f];return _0x4abd24;},_0xa746(_0x43f68b,_0xaa3945);}import _0x4003dc from'./realtimecollaborativeediting/sessions.js';import _0xfef913 from'./presencelist/presencelistui.js';export default class s extends _0xd05b4c{static get[_0x259656(0x10d)](){return[_0x4003dc,_0xfef913];}static get[_0x259656(0x104)](){var _0x55005d=_0x259656;return _0x55005d(0x110);}static get[_0x259656(0x112)](){return!0x0;}static get[_0x259656(0x107)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18496a=_0x53ed;(function(_0x12cc59,_0x1a0039){const _0x51b36d=_0x53ed,_0x85340c=_0x12cc59();while(!![]){try{const _0x2aa4ab=-parseInt(_0x51b36d(0x6c))/0x1*(parseInt(_0x51b36d(0xb7))/0x2)+parseInt(_0x51b36d(0xaf))/0x3+-parseInt(_0x51b36d(0xab))/0x4+parseInt(_0x51b36d(0xac))/0x5+parseInt(_0x51b36d(0xb6))/0x6*(parseInt(_0x51b36d(0x86))/0x7)+-parseInt(_0x51b36d(0x7c))/0x8+parseInt(_0x51b36d(0xbf))/0x9;if(_0x2aa4ab===_0x1a0039)break;else _0x85340c['push'](_0x85340c['shift']());}catch(_0x29922f){_0x85340c['push'](_0x85340c['shift']());}}}(_0x1f3e,0xabac9));import{Context as _0x1f48c7,ContextPlugin as _0x1cf487}from'ckeditor5/src/core.js';import{CKEditorError as _0x25f0d7}from'ckeditor5/src/utils.js';import{Users as _0x8550c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2f1362,User as _0x45d9f2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xf60dcb from'../realtimecollaborativeediting/websocketgateway.js';import _0x17f920 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1cf487{static [_0x18496a(0x96)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2f1362)());[_0x18496a(0xc2)];static get[_0x18496a(0x6e)](){const _0x144241=_0x18496a;return[_0xf60dcb,_0x144241(0xa8),_0x17f920,_0x8550c6];}static get[_0x18496a(0xb3)](){const _0xa1639c=_0x18496a;return _0xa1639c(0xb0);}static get[_0x18496a(0x9e)](){return!0x0;}static get[_0x18496a(0x8b)](){return!0x0;}constructor(_0x1694d3){const _0x1d7974=_0x18496a;super(_0x1694d3),this[_0x1d7974(0xc2)]=new Map();}async[_0x18496a(0x93)](){const _0x2397ef=_0x18496a,_0x3baa5f=this[_0x2397ef(0xb5)],_0x4e64d9=_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0x2397ef(0xa8));if(_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0xf60dcb)[_0x2397ef(0x97)](this),_0x4e64d9[_0x2397ef(0x8a)]={'addCommentThread':async({channelId:_0x4123b5,threadId:_0x2f5bf3,comments:_0x3dee4f,resolvedAt:_0x4369b4,resolvedBy:_0x376821,context:_0x32861e,attributes:_0x52a39f})=>{const _0x33295b=_0x2397ef,_0x2795e8=await this[_0x33295b(0xa3)](_0x4123b5)[_0x33295b(0x98)]({'commentThreadId':_0x2f5bf3,'comments':_0x3dee4f[_0x33295b(0xc0)](_0x244a76=>function(_0x1b8985,_0x1491b0,_0x1656c1){const _0x22f51a=_0x33295b;return{'commentThreadId':_0x1656c1,'commentId':_0x1b8985[_0x22f51a(0x79)],'userId':_0x1b8985[_0x22f51a(0x70)],'content':_0x1b8985[_0x22f51a(0x80)],'documentId':_0x1491b0,'createdAt':_0x1b8985[_0x22f51a(0xb1)],'attributes':_0x1b8985[_0x22f51a(0xbb)]||{}};}(_0x244a76,_0x4123b5,_0x2f5bf3)),'resolvedAt':_0x4369b4,'resolvedBy':_0x376821,'context':_0x32861e,'attributes':_0x52a39f})[_0x33295b(0x94)](R);return{'threadId':_0x2795e8[_0x33295b(0xa0)],'comments':_0x2795e8[_0x33295b(0x77)]};},'getCommentThread':async({channelId:_0x1b6d2e,threadId:_0x30022a})=>{const _0xc2da26=_0x2397ef,_0xcaf751=await this[_0xc2da26(0xa3)](_0x1b6d2e)[_0xc2da26(0xc7)](_0x30022a)[_0xc2da26(0x94)](R);return _0xcaf751[_0xc2da26(0x76)]?null:(await this[_0xc2da26(0x9a)]([_0xcaf751]),{'threadId':_0xcaf751[_0xc2da26(0xa0)],'comments':_0xcaf751[_0xc2da26(0x77)][_0xc2da26(0xc0)](_),'context':_0xcaf751[_0xc2da26(0xb5)],'resolvedAt':_0xcaf751[_0xc2da26(0x7d)],'resolvedBy':_0xcaf751[_0xc2da26(0xa4)],'attributes':_0xcaf751[_0xc2da26(0xbb)]||{}});},'updateCommentThread':async({channelId:_0x5d77a8,threadId:_0x5154d3,context:_0x3399b6,unlinkedAt:_0x747cce,attributes:_0x4a2084})=>this[_0x2397ef(0xa3)](_0x5d77a8)[_0x2397ef(0x6a)]({'commentThreadId':_0x5154d3,'context':_0x3399b6,'attributes':_0x4a2084,'unlinkedAt':_0x747cce})[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'resolveCommentThread':async({channelId:_0x2d858c,threadId:_0x1163b3})=>{const _0x3b4aad=_0x2397ef,_0x3aab36=await this[_0x3b4aad(0xa3)](_0x2d858c)[_0x3b4aad(0x72)](_0x1163b3)[_0x3b4aad(0x94)](S)[_0x3b4aad(0x94)](R);return{'threadId':_0x3aab36[_0x3b4aad(0xa0)],'resolvedAt':_0x3aab36[_0x3b4aad(0x7d)],'resolvedBy':_0x3aab36[_0x3b4aad(0xa4)]};},'reopenCommentThread':async({channelId:_0x5d2cf8,threadId:_0xedcaaf})=>this[_0x2397ef(0xa3)](_0x5d2cf8)[_0x2397ef(0xa6)](_0xedcaaf)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'removeCommentThread':({channelId:_0x399c83,threadId:_0x3dc4fa})=>this[_0x2397ef(0xa3)](_0x399c83)[_0x2397ef(0xad)](_0x3dc4fa)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'addComment':({channelId:_0x59283e,threadId:_0x7b385f,commentId:_0x2a07d6,content:_0x2fe95f,attributes:_0x52fff7})=>this[_0x2397ef(0xa3)](_0x59283e)[_0x2397ef(0x7b)](_0x7b385f,_0x2a07d6,_0x2fe95f,_0x52fff7)[_0x2397ef(0x94)](R),'updateComment':({channelId:_0x1d1c73,threadId:_0x1cb940,commentId:_0x241b37,content:_0x22575b,attributes:_0x1565db})=>this[_0x2397ef(0xa3)](_0x1d1c73)[_0x2397ef(0xc1)](_0x1cb940,_0x241b37,_0x22575b,_0x1565db)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'removeComment':({channelId:_0x3c5561,threadId:_0x5ab83b,commentId:_0x4c1bef})=>this[_0x2397ef(0xa3)](_0x3c5561)[_0x2397ef(0x73)](_0x5ab83b,_0x4c1bef)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R)},_0x3baa5f instanceof _0x1f48c7){const _0x52620d=_0x3baa5f[_0x2397ef(0x90)][_0x2397ef(0x69)](_0x2397ef(0x95)),_0x1a0496=_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0x17f920);await this[_0x2397ef(0xc4)](_0x52620d);const _0xebbdf9=await this[_0x2397ef(0xc2)][_0x2397ef(0x69)](_0x52620d)[_0x2397ef(0xa9)]();this[_0x2397ef(0x91)](_0x1a0496,_0x2397ef(0x84)+_0x52620d,(_0x59ba6c,{session:_0xf412fa})=>{const _0x3b33de=_0x2397ef;_0xf412fa['id']===_0x1a0496[_0x3b33de(0xb8)]&&(_0x59ba6c[_0x3b33de(0x87)](),this[_0x3b33de(0xb5)][_0x3b33de(0x92)][_0x3b33de(0x69)](_0x3b33de(0x89))[_0x3b33de(0x78)](_0xf412fa[_0x3b33de(0xb2)],_0x52620d));}),_0x1a0496[_0x2397ef(0x74)](_0x52620d,_0xebbdf9);}}async[_0x18496a(0xc4)](_0x3c3be0){const _0x4bca77=_0x18496a;if(this[_0x4bca77(0xc2)][_0x4bca77(0xbe)](_0x3c3be0))throw new _0x25f0d7(_0x4bca77(0x8f),null,{'channelId':_0x3c3be0});const _0x14ee4b=this[_0x4bca77(0xb5)][_0x4bca77(0x92)][_0x4bca77(0x69)](_0x4bca77(0xa8)),_0xc354d2=new a[(_0x4bca77(0x96))](_0x3c3be0);this[_0x4bca77(0xc2)][_0x4bca77(0x71)](_0x3c3be0,_0xc354d2),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xa2),(_0x27cfb0,_0xcd1148)=>{const _0x6155b4=_0x4bca77,{commentThreadId:_0x167572,documentId:_0xa8e963,context:_0x3a932c,attributes:_0x479aaf,resolvedAt:_0x48bccf,resolvedBy:_0x168351,comments:_0xfe93b}=_0xcd1148;_0x14ee4b[_0x6155b4(0xc7)](_0x167572)||_0x14ee4b[_0x6155b4(0x98)]({'threadId':_0x167572,'channelId':_0xa8e963,'comments':_0xfe93b?_0xfe93b[_0x6155b4(0xc0)](_):[],'context':_0x3a932c,'attributes':_0x479aaf,'resolvedAt':_0x48bccf,'resolvedBy':_0x168351,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x7a),(_0x10f1c7,{commentThreadId:_0x5b5fb2,documentId:_0xce02c8,context:_0x3e1770,unlinkedAt:_0x5f2c3b,attributes:_0x7bc3e1})=>{const _0x32c002=_0x4bca77;_0x14ee4b[_0x32c002(0xc7)](_0x5b5fb2)&&_0x14ee4b[_0x32c002(0x6a)]({'threadId':_0x5b5fb2,'channelId':_0xce02c8,'context':_0x3e1770,'unlinkedAt':_0x5f2c3b,'attributes':_0x7bc3e1,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x7f),(_0x2afe8e,{commentThreadId:_0x1f93ec,resolvedBy:_0x15e7f3,resolvedAt:_0xefca57})=>{const _0x36f0eb=_0x4bca77,_0x5b3879=_0x14ee4b[_0x36f0eb(0xc7)](_0x1f93ec);_0x5b3879&&_0x5b3879[_0x36f0eb(0x9d)]({'resolvedBy':_0x15e7f3,'resolvedAt':_0xefca57,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x65),(_0x1fb8db,{commentThreadId:_0x5b68af})=>{const _0x49af58=_0x4bca77,_0x2d6a40=_0x14ee4b[_0x49af58(0xc7)](_0x5b68af);_0x2d6a40&&_0x2d6a40[_0x49af58(0x66)]({'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x8c),(_0x462d20,{commentThreadId:_0x2689dd})=>{const _0x2fcf7f=_0x4bca77,_0x1a2263=_0x14ee4b[_0x2fcf7f(0xc7)](_0x2689dd);_0x1a2263&&_0x1a2263[_0x2fcf7f(0xc9)]({'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xb4),(_0x2fd127,_0x4436c3)=>{const _0x9f648d=_0x4bca77,_0x5c788f=_0x4436c3[_0x9f648d(0xa0)],_0x4acae3=_0x14ee4b[_0x9f648d(0xc7)](_0x5c788f);_0x4acae3&&_0x4acae3[_0x9f648d(0x7b)]({..._(_0x4436c3),'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x9f),(_0x218b30,{commentThreadId:_0x22827b,commentId:_0x2d7e41,content:_0x5f247f,attributes:_0x467d93})=>{const _0x35f922=_0x4bca77,_0x5a2bef=_0x14ee4b[_0x35f922(0xc7)](_0x22827b);if(_0x5a2bef){const _0x43465e=_0x5a2bef[_0x35f922(0x67)](_0x2d7e41);_0x43465e&&_0x43465e[_0x35f922(0xc8)]({'content':_0x5f247f,'attributes':_0x467d93,'isFromAdapter':!0x0});}}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xbd),(_0xb6ca64,{commentThreadId:_0x2fb06b,commentId:_0x476235})=>{const _0x3fb887=_0x4bca77,_0x1ad0d2=_0x14ee4b[_0x3fb887(0xc7)](_0x2fb06b);if(_0x1ad0d2){const _0x59bd26=_0x1ad0d2[_0x3fb887(0x67)](_0x476235);_0x59bd26&&_0x59bd26[_0x3fb887(0xc9)]({'isFromAdapter':!0x0});}}),await this[_0x4bca77(0x6d)](_0x3c3be0);}[_0x18496a(0x85)](){const _0x3494d7=_0x18496a;if(this[_0x3494d7(0xb5)]instanceof _0x1f48c7){const _0x3769a3=this[_0x3494d7(0xb5)][_0x3494d7(0x90)][_0x3494d7(0x69)](_0x3494d7(0x95));this[_0x3494d7(0xc5)](_0x3769a3);}}[_0x18496a(0xc5)](_0x1eb208){const _0x50064e=_0x18496a;if(!this[_0x50064e(0xc2)][_0x50064e(0xbe)](_0x1eb208))throw new _0x25f0d7(_0x50064e(0x8e),null,{'channelId':_0x1eb208});this[_0x50064e(0xa3)](_0x1eb208)[_0x50064e(0xc6)](),this[_0x50064e(0xc2)][_0x50064e(0x81)](_0x1eb208);}async[_0x18496a(0x68)](){const _0x244815=_0x18496a;for(const _0x3d283c of this[_0x244815(0xc2)][_0x244815(0xc3)]())await this[_0x244815(0x6d)](_0x3d283c);if(this[_0x244815(0xb5)]instanceof _0x1f48c7){const _0x4f0125=this[_0x244815(0xb5)][_0x244815(0x90)][_0x244815(0x69)](_0x244815(0x95)),_0x3a257b=this[_0x244815(0xb5)][_0x244815(0x92)][_0x244815(0x69)](_0x17f920);_0x3a257b[_0x244815(0xbc)](_0x4f0125);const _0x18dc4d=await this[_0x244815(0xc2)][_0x244815(0x69)](_0x4f0125)[_0x244815(0xa9)]();_0x3a257b[_0x244815(0x74)](_0x4f0125,_0x18dc4d);}}async[_0x18496a(0x6d)](_0x1af6cb){const _0x2d3cab=_0x18496a,{connection:_0x3f4fd7}=this[_0x2d3cab(0xb5)][_0x2d3cab(0x92)][_0x2d3cab(0x69)](_0xf60dcb),_0x5612b0=this[_0x2d3cab(0xb5)][_0x2d3cab(0x92)][_0x2d3cab(0x69)](_0x2d3cab(0xa8)),_0x306984=this[_0x2d3cab(0xc2)][_0x2d3cab(0x69)](_0x1af6cb),_0x24c392=await _0x306984[_0x2d3cab(0x7e)](_0x3f4fd7);await this[_0x2d3cab(0x9a)](_0x24c392);const _0x428065=new Set(Array[_0x2d3cab(0x82)](_0x5612b0[_0x2d3cab(0xa1)]({'channelId':_0x1af6cb}),_0x109693=>_0x109693['id']));for(const _0x5d8cb5 of _0x24c392)_0x5d8cb5[_0x2d3cab(0x76)]||_0x428065[_0x2d3cab(0x81)](_0x5d8cb5[_0x2d3cab(0xa0)]);for(const _0x96e065 of _0x428065)_0x5612b0[_0x2d3cab(0xc7)](_0x96e065)[_0x2d3cab(0xc9)]({'isFromAdapter':!0x0});for(const _0x3d583f of _0x24c392){let _0x230bc2=_0x5612b0[_0x2d3cab(0xc7)](_0x3d583f[_0x2d3cab(0xa0)]);const {commentThreadId:_0x2bf8d7,context:_0x5469c3,attributes:_0x480481,resolvedBy:_0x25516c,resolvedAt:_0x60b8be,unlinkedAt:_0x4cc051,deletedAt:_0x458ec0}=_0x3d583f;if(_0x458ec0)continue;_0x230bc2||(_0x230bc2=_0x5612b0[_0x2d3cab(0x98)]({'channelId':_0x1af6cb,'threadId':_0x2bf8d7,'context':_0x5469c3,'attributes':_0x480481||{},'resolvedBy':_0x25516c,'resolvedAt':_0x60b8be,'unlinkedAt':_0x4cc051,'isFromAdapter':!0x0}));const _0x53a337=new Set(Array[_0x2d3cab(0x82)](_0x230bc2[_0x2d3cab(0x77)],_0x5af1ab=>_0x5af1ab['id']));for(const _0x39245c of _0x3d583f[_0x2d3cab(0x77)])_0x53a337[_0x2d3cab(0x81)](_0x39245c[_0x2d3cab(0x79)]);for(const _0x3664f8 of _0x53a337)_0x230bc2[_0x2d3cab(0x67)](_0x3664f8)[_0x2d3cab(0xc9)]({'isFromAdapter':!0x0});for(const _0x526766 of _0x3d583f[_0x2d3cab(0x77)]){const _0x1ad5b4=_0x230bc2[_0x2d3cab(0x67)](_0x526766[_0x2d3cab(0x79)]);_0x1ad5b4?_0x1ad5b4[_0x2d3cab(0x80)]!==_0x526766[_0x2d3cab(0x80)]&&_0x1ad5b4[_0x2d3cab(0xc8)]({'content':_0x526766[_0x2d3cab(0x80)],'isFromAdapter':!0x0}):_0x230bc2[_0x2d3cab(0x7b)](Object[_0x2d3cab(0x9c)](_(_0x526766),{'isFromAdapter':!0x0}));}}}[_0x18496a(0xa3)](_0x2859c1){const _0x2b6b74=_0x18496a;if(!this[_0x2b6b74(0xc2)][_0x2b6b74(0xbe)](_0x2859c1))throw new _0x25f0d7(_0x2b6b74(0xb9),null,{'channelId':_0x2859c1});return this[_0x2b6b74(0xc2)][_0x2b6b74(0x69)](_0x2859c1);}async[_0x18496a(0x9a)](_0x1792d7){const _0x147b45=_0x18496a,_0x1b28cb=this[_0x147b45(0xb5)][_0x147b45(0x92)][_0x147b45(0x69)](_0x8550c6),{connection:_0x278b63}=this[_0x147b45(0xb5)][_0x147b45(0x92)][_0x147b45(0x69)](_0xf60dcb),_0x2e39db=new Set();for(const {resolvedBy:_0x52f170,comments:_0x2d465b}of _0x1792d7){_0x52f170&&!_0x1b28cb[_0x147b45(0x8d)](_0x52f170)&&_0x2e39db[_0x147b45(0xaa)](_0x52f170);for(const {userId:_0x55d584}of _0x2d465b)_0x1b28cb[_0x147b45(0x8d)](_0x55d584)||_0x2e39db[_0x147b45(0xaa)](_0x55d584);}if(0x0===_0x2e39db[_0x147b45(0xa7)])return;const _0x46d53f=await _0x45d9f2[_0x147b45(0xa5)](_0x278b63,Array[_0x147b45(0x82)](_0x2e39db));for(const _0x495b01 of _0x46d53f)_0x1b28cb[_0x147b45(0x8d)](_0x495b01['id'])||_0x1b28cb[_0x147b45(0xae)](_0x495b01);}}function _0x1f3e(){const _0x50a1cb=['2891832qXnXzR','resolvedAt','connect','commentThreadResolved','content','delete','from','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','sessionAdd:','destroy','1654485KVGsdf','off','startsWith','Permissions','adapter','isPremiumPlugin','commentThreadRemoved','getUser','cloudservicescommentsadapter-disconnect-not-exist','cloudservicescommentsadapter-connect-already-connected','config','listenTo','plugins','init','catch','collaboration.channelId','CommentsService','addToReconnectionStack','addCommentThread','code','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Not\x20connected.','assign','resolve','isOfficialPlugin','commentUpdated','commentThreadId','getCommentThreads','commentThreadAdded','_getService','resolvedBy','getMany','reopenCommentThread','size','CommentsRepository','getConnectedSessions','add','2661368DiWoMV','1044285SUwklq','removeCommentThread','addUser','999756qoVWZj','CloudServicesCommentsAdapter','createdAt','permissions','pluginName','commentAdded','context','6xqoaoK','2lJuMKf','mySessionId','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','attributes','unregister','commentRemoved','has','17076303KMcxdI','map','updateComment','_services','keys','_setUpService','_terminateService','disconnect','getCommentThread','update','remove','commentThreadReopened','reopen','getComment','reconnect','get','updateCommentThread','userId','945833blZFYw','_connectService','requires','404','authorId','set','resolveCommentThread','removeComment','register','message','deletedAt','comments','setPermissions','commentId','commentThreadUpdated','addComment'];_0x1f3e=function(){return _0x50a1cb;};return _0x1f3e();}export default a;async function S(_0x290e6d){const _0x1cb05f=_0x18496a;if(_0x1cb05f(0x6f)!==_0x290e6d[_0x1cb05f(0x99)])throw _0x290e6d;}function _0x53ed(_0x12a22f,_0x70012e){const _0x1f3e76=_0x1f3e();return _0x53ed=function(_0x53edec,_0x37be0b){_0x53edec=_0x53edec-0x65;let _0xc949ea=_0x1f3e76[_0x53edec];return _0xc949ea;},_0x53ed(_0x12a22f,_0x70012e);}function R(_0x5c52cb){const _0x2de83e=_0x18496a;if((_0x4c4e90=_0x5c52cb)[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0x83))||_0x4c4e90[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0x9b))||_0x4c4e90[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0xba)))return new Promise(()=>{});var _0x4c4e90;throw _0x5c52cb;}function _(_0x801b6c){const _0x8b904e=_0x18496a;return{'threadId':_0x801b6c[_0x8b904e(0xa0)],'commentId':_0x801b6c[_0x8b904e(0x79)],'content':_0x801b6c[_0x8b904e(0x80)],'createdAt':_0x801b6c[_0x8b904e(0xb1)],'authorId':_0x801b6c[_0x8b904e(0x6b)],'attributes':_0x801b6c[_0x8b904e(0xbb)]||{}};}
23
+ function _0x56ea(_0x519300,_0x50c89b){const _0x156c34=_0x156c();return _0x56ea=function(_0x56ea5b,_0x38bdcd){_0x56ea5b=_0x56ea5b-0x179;let _0x225e5a=_0x156c34[_0x56ea5b];return _0x225e5a;},_0x56ea(_0x519300,_0x50c89b);}const _0x2ae0ec=_0x56ea;(function(_0x50a544,_0x1fad95){const _0x1209ce=_0x56ea,_0x2b81a6=_0x50a544();while(!![]){try{const _0x44e7fd=-parseInt(_0x1209ce(0x1cb))/0x1+parseInt(_0x1209ce(0x19f))/0x2+parseInt(_0x1209ce(0x184))/0x3*(parseInt(_0x1209ce(0x18b))/0x4)+parseInt(_0x1209ce(0x1c8))/0x5*(parseInt(_0x1209ce(0x1cf))/0x6)+-parseInt(_0x1209ce(0x191))/0x7*(-parseInt(_0x1209ce(0x189))/0x8)+-parseInt(_0x1209ce(0x185))/0x9*(parseInt(_0x1209ce(0x19d))/0xa)+parseInt(_0x1209ce(0x17d))/0xb*(parseInt(_0x1209ce(0x194))/0xc);if(_0x44e7fd===_0x1fad95)break;else _0x2b81a6['push'](_0x2b81a6['shift']());}catch(_0x298456){_0x2b81a6['push'](_0x2b81a6['shift']());}}}(_0x156c,0xd76b0));import{Context as _0x40f886,ContextPlugin as _0x26d142}from'ckeditor5/src/core.js';import{CKEditorError as _0x47fb24}from'ckeditor5/src/utils.js';import{Users as _0x58b159}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x32d376,User as _0xbe2948}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5a3e82 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5d6d98 from'../realtimecollaborativeediting/sessions.js';class a extends _0x26d142{static [_0x2ae0ec(0x1db)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x32d376)());[_0x2ae0ec(0x1a8)];static get[_0x2ae0ec(0x17a)](){const _0x5f242d=_0x2ae0ec;return[_0x5a3e82,_0x5f242d(0x1b1),_0x5d6d98,_0x58b159];}static get[_0x2ae0ec(0x195)](){const _0x3307d5=_0x2ae0ec;return _0x3307d5(0x1bb);}static get[_0x2ae0ec(0x199)](){return!0x0;}static get[_0x2ae0ec(0x1c9)](){return!0x0;}constructor(_0x314148){const _0x1ec20a=_0x2ae0ec;super(_0x314148),this[_0x1ec20a(0x1a8)]=new Map();}async[_0x2ae0ec(0x1be)](){const _0x4286fe=_0x2ae0ec,_0x25e27c=this[_0x4286fe(0x17c)],_0x1f9f3f=_0x25e27c[_0x4286fe(0x197)][_0x4286fe(0x1d7)](_0x4286fe(0x1b1));if(_0x25e27c[_0x4286fe(0x197)][_0x4286fe(0x1d7)](_0x5a3e82)[_0x4286fe(0x1b3)](this),_0x1f9f3f[_0x4286fe(0x1bf)]={'addCommentThread':async({channelId:_0x28f9ca,threadId:_0x536753,comments:_0x58a9eb,resolvedAt:_0x580bcf,resolvedBy:_0x520835,context:_0x4f735d,attributes:_0x130d7e})=>{const _0x2eb427=_0x4286fe,_0x1ae6f5=await this[_0x2eb427(0x1a6)](_0x28f9ca)[_0x2eb427(0x188)]({'commentThreadId':_0x536753,'comments':_0x58a9eb[_0x2eb427(0x1a9)](_0x585276=>function(_0x45a5a8,_0x10a01c,_0x404df1){const _0x52b29b=_0x2eb427;return{'commentThreadId':_0x404df1,'commentId':_0x45a5a8[_0x52b29b(0x1c1)],'userId':_0x45a5a8[_0x52b29b(0x1df)],'content':_0x45a5a8[_0x52b29b(0x1dc)],'documentId':_0x10a01c,'createdAt':_0x45a5a8[_0x52b29b(0x1c0)],'attributes':_0x45a5a8[_0x52b29b(0x1d6)]||{}};}(_0x585276,_0x28f9ca,_0x536753)),'resolvedAt':_0x580bcf,'resolvedBy':_0x520835,'context':_0x4f735d,'attributes':_0x130d7e})[_0x2eb427(0x196)](R);return{'threadId':_0x1ae6f5[_0x2eb427(0x1dd)],'comments':_0x1ae6f5[_0x2eb427(0x1b0)]};},'getCommentThread':async({channelId:_0x5a978c,threadId:_0xbb6696})=>{const _0x1c9840=_0x4286fe,_0x3e3ff6=await this[_0x1c9840(0x1a6)](_0x5a978c)[_0x1c9840(0x1d2)](_0xbb6696)[_0x1c9840(0x196)](R);return _0x3e3ff6[_0x1c9840(0x17e)]?null:(await this[_0x1c9840(0x1c6)]([_0x3e3ff6]),{'threadId':_0x3e3ff6[_0x1c9840(0x1dd)],'comments':_0x3e3ff6[_0x1c9840(0x1b0)][_0x1c9840(0x1a9)](_),'context':_0x3e3ff6[_0x1c9840(0x17c)],'resolvedAt':_0x3e3ff6[_0x1c9840(0x1e0)],'resolvedBy':_0x3e3ff6[_0x1c9840(0x182)],'attributes':_0x3e3ff6[_0x1c9840(0x1d6)]||{}});},'updateCommentThread':async({channelId:_0x50a388,threadId:_0x587c19,context:_0x371546,unlinkedAt:_0x5a3528,attributes:_0x531604})=>this[_0x4286fe(0x1a6)](_0x50a388)[_0x4286fe(0x19c)]({'commentThreadId':_0x587c19,'context':_0x371546,'attributes':_0x531604,'unlinkedAt':_0x5a3528})[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'resolveCommentThread':async({channelId:_0x5be826,threadId:_0x12f1d0})=>{const _0x2eb8e4=_0x4286fe,_0x11627e=await this[_0x2eb8e4(0x1a6)](_0x5be826)[_0x2eb8e4(0x1a2)](_0x12f1d0)[_0x2eb8e4(0x196)](S)[_0x2eb8e4(0x196)](R);return{'threadId':_0x11627e[_0x2eb8e4(0x1dd)],'resolvedAt':_0x11627e[_0x2eb8e4(0x1e0)],'resolvedBy':_0x11627e[_0x2eb8e4(0x182)]};},'reopenCommentThread':async({channelId:_0x5ba6c4,threadId:_0x123acc})=>this[_0x4286fe(0x1a6)](_0x5ba6c4)[_0x4286fe(0x1ce)](_0x123acc)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'removeCommentThread':({channelId:_0x45ab15,threadId:_0x2ddcac})=>this[_0x4286fe(0x1a6)](_0x45ab15)[_0x4286fe(0x1ba)](_0x2ddcac)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'addComment':({channelId:_0x5974f4,threadId:_0x45bbab,commentId:_0x57c936,content:_0xa1a0a1,attributes:_0x4c039c})=>this[_0x4286fe(0x1a6)](_0x5974f4)[_0x4286fe(0x1d9)](_0x45bbab,_0x57c936,_0xa1a0a1,_0x4c039c)[_0x4286fe(0x196)](R),'updateComment':({channelId:_0x15c95a,threadId:_0x125ded,commentId:_0x48b589,content:_0x4cf00b,attributes:_0x137e4c})=>this[_0x4286fe(0x1a6)](_0x15c95a)[_0x4286fe(0x18c)](_0x125ded,_0x48b589,_0x4cf00b,_0x137e4c)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'removeComment':({channelId:_0x3b7645,threadId:_0x3ef2f3,commentId:_0x2e2a25})=>this[_0x4286fe(0x1a6)](_0x3b7645)[_0x4286fe(0x1a0)](_0x3ef2f3,_0x2e2a25)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R)},_0x25e27c instanceof _0x40f886){const _0xfe096f=_0x25e27c[_0x4286fe(0x1a3)][_0x4286fe(0x1d7)](_0x4286fe(0x198)),_0x4ad4c5=_0x25e27c[_0x4286fe(0x197)][_0x4286fe(0x1d7)](_0x5d6d98);await this[_0x4286fe(0x180)](_0xfe096f);const _0x494e1c=await this[_0x4286fe(0x1a8)][_0x4286fe(0x1d7)](_0xfe096f)[_0x4286fe(0x1ae)]();this[_0x4286fe(0x17f)](_0x4ad4c5,_0x4286fe(0x1bd)+_0xfe096f,(_0x393355,{session:_0x38d5ec})=>{const _0x8bb3c4=_0x4286fe;_0x38d5ec['id']===_0x4ad4c5[_0x8bb3c4(0x18d)]&&(_0x393355[_0x8bb3c4(0x1b9)](),this[_0x8bb3c4(0x17c)][_0x8bb3c4(0x197)][_0x8bb3c4(0x1d7)](_0x8bb3c4(0x193))[_0x8bb3c4(0x1ad)](_0x38d5ec[_0x8bb3c4(0x19a)],_0xfe096f));}),_0x4ad4c5[_0x4286fe(0x19e)](_0xfe096f,_0x494e1c);}}async[_0x2ae0ec(0x180)](_0x5b923a){const _0x4c7e2b=_0x2ae0ec;if(this[_0x4c7e2b(0x1a8)][_0x4c7e2b(0x18e)](_0x5b923a))throw new _0x47fb24(_0x4c7e2b(0x187),null,{'channelId':_0x5b923a});const _0xe7498=this[_0x4c7e2b(0x17c)][_0x4c7e2b(0x197)][_0x4c7e2b(0x1d7)](_0x4c7e2b(0x1b1)),_0x3a8d55=new a[(_0x4c7e2b(0x1db))](_0x5b923a);this[_0x4c7e2b(0x1a8)][_0x4c7e2b(0x19b)](_0x5b923a,_0x3a8d55),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1b8),(_0x3d6159,_0x5d800e)=>{const _0x2771d5=_0x4c7e2b,{commentThreadId:_0x5d1cb7,documentId:_0x200faf,context:_0x15dca5,attributes:_0x3136ed,resolvedAt:_0x3baead,resolvedBy:_0x289dcd,comments:_0x231a3e}=_0x5d800e;_0xe7498[_0x2771d5(0x1d2)](_0x5d1cb7)||_0xe7498[_0x2771d5(0x188)]({'threadId':_0x5d1cb7,'channelId':_0x200faf,'comments':_0x231a3e?_0x231a3e[_0x2771d5(0x1a9)](_):[],'context':_0x15dca5,'attributes':_0x3136ed,'resolvedAt':_0x3baead,'resolvedBy':_0x289dcd,'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1a4),(_0x1299fd,{commentThreadId:_0x46ba16,documentId:_0x4ad805,context:_0x2449db,unlinkedAt:_0x23d71c,attributes:_0x8415c8})=>{const _0x468797=_0x4c7e2b;_0xe7498[_0x468797(0x1d2)](_0x46ba16)&&_0xe7498[_0x468797(0x19c)]({'threadId':_0x46ba16,'channelId':_0x4ad805,'context':_0x2449db,'unlinkedAt':_0x23d71c,'attributes':_0x8415c8,'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1d4),(_0x185e0b,{commentThreadId:_0x567591,resolvedBy:_0x322288,resolvedAt:_0x5b2654})=>{const _0xf79cd8=_0x4c7e2b,_0x279be6=_0xe7498[_0xf79cd8(0x1d2)](_0x567591);_0x279be6&&_0x279be6[_0xf79cd8(0x1d5)]({'resolvedBy':_0x322288,'resolvedAt':_0x5b2654,'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x181),(_0x466620,{commentThreadId:_0x4f8052})=>{const _0x135ae7=_0x4c7e2b,_0x18aa45=_0xe7498[_0x135ae7(0x1d2)](_0x4f8052);_0x18aa45&&_0x18aa45[_0x135ae7(0x179)]({'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x17b),(_0x44e090,{commentThreadId:_0x44c8e5})=>{const _0x5bf561=_0x4c7e2b,_0x5845d4=_0xe7498[_0x5bf561(0x1d2)](_0x44c8e5);_0x5845d4&&_0x5845d4[_0x5bf561(0x1c3)]({'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1da),(_0x2905ff,_0x190ab3)=>{const _0x4e7553=_0x4c7e2b,_0x4d21f6=_0x190ab3[_0x4e7553(0x1dd)],_0x1c15cf=_0xe7498[_0x4e7553(0x1d2)](_0x4d21f6);_0x1c15cf&&_0x1c15cf[_0x4e7553(0x1d9)]({..._(_0x190ab3),'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1ca),(_0x2d94ea,{commentThreadId:_0x1fed4f,commentId:_0x269bba,content:_0x5a2d96,attributes:_0x3e7a63})=>{const _0x11082b=_0x4c7e2b,_0x3738eb=_0xe7498[_0x11082b(0x1d2)](_0x1fed4f);if(_0x3738eb){const _0x3e023b=_0x3738eb[_0x11082b(0x1aa)](_0x269bba);_0x3e023b&&_0x3e023b[_0x11082b(0x18a)]({'content':_0x5a2d96,'attributes':_0x3e7a63,'isFromAdapter':!0x0});}}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1cc),(_0x999b37,{commentThreadId:_0x5ba54d,commentId:_0x3b3d0c})=>{const _0x53a4b1=_0x4c7e2b,_0x3446ce=_0xe7498[_0x53a4b1(0x1d2)](_0x5ba54d);if(_0x3446ce){const _0x46268e=_0x3446ce[_0x53a4b1(0x1aa)](_0x3b3d0c);_0x46268e&&_0x46268e[_0x53a4b1(0x1c3)]({'isFromAdapter':!0x0});}}),await this[_0x4c7e2b(0x186)](_0x5b923a);}[_0x2ae0ec(0x1b5)](){const _0x5d9e6c=_0x2ae0ec;if(this[_0x5d9e6c(0x17c)]instanceof _0x40f886){const _0x1565cd=this[_0x5d9e6c(0x17c)][_0x5d9e6c(0x1a3)][_0x5d9e6c(0x1d7)](_0x5d9e6c(0x198));this[_0x5d9e6c(0x1ab)](_0x1565cd);}}[_0x2ae0ec(0x1ab)](_0x56f986){const _0x19964d=_0x2ae0ec;if(!this[_0x19964d(0x1a8)][_0x19964d(0x18e)](_0x56f986))throw new _0x47fb24(_0x19964d(0x1c5),null,{'channelId':_0x56f986});this[_0x19964d(0x1a6)](_0x56f986)[_0x19964d(0x1af)](),this[_0x19964d(0x1a8)][_0x19964d(0x1c7)](_0x56f986);}async[_0x2ae0ec(0x1c2)](){const _0xffa447=_0x2ae0ec;for(const _0x2f39e6 of this[_0xffa447(0x1a8)][_0xffa447(0x1d1)]())await this[_0xffa447(0x186)](_0x2f39e6);if(this[_0xffa447(0x17c)]instanceof _0x40f886){const _0x7e7937=this[_0xffa447(0x17c)][_0xffa447(0x1a3)][_0xffa447(0x1d7)](_0xffa447(0x198)),_0x617d39=this[_0xffa447(0x17c)][_0xffa447(0x197)][_0xffa447(0x1d7)](_0x5d6d98);_0x617d39[_0xffa447(0x192)](_0x7e7937);const _0x142f69=await this[_0xffa447(0x1a8)][_0xffa447(0x1d7)](_0x7e7937)[_0xffa447(0x1ae)]();_0x617d39[_0xffa447(0x19e)](_0x7e7937,_0x142f69);}}async[_0x2ae0ec(0x186)](_0x3fb097){const _0x3acd24=_0x2ae0ec,{connection:_0x2fc429}=this[_0x3acd24(0x17c)][_0x3acd24(0x197)][_0x3acd24(0x1d7)](_0x5a3e82),_0xb029b8=this[_0x3acd24(0x17c)][_0x3acd24(0x197)][_0x3acd24(0x1d7)](_0x3acd24(0x1b1)),_0x37958c=this[_0x3acd24(0x1a8)][_0x3acd24(0x1d7)](_0x3fb097),_0xa7ad1c=await _0x37958c[_0x3acd24(0x1d8)](_0x2fc429);await this[_0x3acd24(0x1c6)](_0xa7ad1c);const _0x5c189d=new Set(Array[_0x3acd24(0x190)](_0xb029b8[_0x3acd24(0x1bc)]({'channelId':_0x3fb097}),_0x56a1ab=>_0x56a1ab['id']));for(const _0x149f26 of _0xa7ad1c)_0x149f26[_0x3acd24(0x17e)]||_0x5c189d[_0x3acd24(0x1c7)](_0x149f26[_0x3acd24(0x1dd)]);for(const _0x463304 of _0x5c189d)_0xb029b8[_0x3acd24(0x1d2)](_0x463304)[_0x3acd24(0x1c3)]({'isFromAdapter':!0x0});for(const _0x568036 of _0xa7ad1c){let _0x4f3ece=_0xb029b8[_0x3acd24(0x1d2)](_0x568036[_0x3acd24(0x1dd)]);const {commentThreadId:_0x358c5d,context:_0x1bfa26,attributes:_0x2d1ddb,resolvedBy:_0x544e4c,resolvedAt:_0x595308,unlinkedAt:_0x493427,deletedAt:_0xedd3fa}=_0x568036;if(_0xedd3fa)continue;_0x4f3ece||(_0x4f3ece=_0xb029b8[_0x3acd24(0x188)]({'channelId':_0x3fb097,'threadId':_0x358c5d,'context':_0x1bfa26,'attributes':_0x2d1ddb||{},'resolvedBy':_0x544e4c,'resolvedAt':_0x595308,'unlinkedAt':_0x493427,'isFromAdapter':!0x0}));const _0x376a9f=new Set(Array[_0x3acd24(0x190)](_0x4f3ece[_0x3acd24(0x1b0)],_0x1a5c74=>_0x1a5c74['id']));for(const _0x458db3 of _0x568036[_0x3acd24(0x1b0)])_0x376a9f[_0x3acd24(0x1c7)](_0x458db3[_0x3acd24(0x1c1)]);for(const _0x233958 of _0x376a9f)_0x4f3ece[_0x3acd24(0x1aa)](_0x233958)[_0x3acd24(0x1c3)]({'isFromAdapter':!0x0});for(const _0x55dfee of _0x568036[_0x3acd24(0x1b0)]){const _0x559ceb=_0x4f3ece[_0x3acd24(0x1aa)](_0x55dfee[_0x3acd24(0x1c1)]);_0x559ceb?_0x559ceb[_0x3acd24(0x1dc)]!==_0x55dfee[_0x3acd24(0x1dc)]&&_0x559ceb[_0x3acd24(0x18a)]({'content':_0x55dfee[_0x3acd24(0x1dc)],'isFromAdapter':!0x0}):_0x4f3ece[_0x3acd24(0x1d9)](Object[_0x3acd24(0x18f)](_(_0x55dfee),{'isFromAdapter':!0x0}));}}}[_0x2ae0ec(0x1a6)](_0xc7b087){const _0x3e6087=_0x2ae0ec;if(!this[_0x3e6087(0x1a8)][_0x3e6087(0x18e)](_0xc7b087))throw new _0x47fb24(_0x3e6087(0x1a1),null,{'channelId':_0xc7b087});return this[_0x3e6087(0x1a8)][_0x3e6087(0x1d7)](_0xc7b087);}async[_0x2ae0ec(0x1c6)](_0x46ea2c){const _0xe4bdda=_0x2ae0ec,_0x2dfd79=this[_0xe4bdda(0x17c)][_0xe4bdda(0x197)][_0xe4bdda(0x1d7)](_0x58b159),{connection:_0x2ef4a7}=this[_0xe4bdda(0x17c)][_0xe4bdda(0x197)][_0xe4bdda(0x1d7)](_0x5a3e82),_0x17aeea=new Set();for(const {resolvedBy:_0x3e724f,comments:_0x41a78b}of _0x46ea2c){_0x3e724f&&!_0x2dfd79[_0xe4bdda(0x1a5)](_0x3e724f)&&_0x17aeea[_0xe4bdda(0x1b6)](_0x3e724f);for(const {userId:_0x197b57}of _0x41a78b)_0x2dfd79[_0xe4bdda(0x1a5)](_0x197b57)||_0x17aeea[_0xe4bdda(0x1b6)](_0x197b57);}if(0x0===_0x17aeea[_0xe4bdda(0x1b7)])return;const _0x51330a=await _0xbe2948[_0xe4bdda(0x1a7)](_0x2ef4a7,Array[_0xe4bdda(0x190)](_0x17aeea));for(const _0x2108d2 of _0x51330a)_0x2dfd79[_0xe4bdda(0x1a5)](_0x2108d2['id'])||_0x2dfd79[_0xe4bdda(0x183)](_0x2108d2);}}export default a;async function S(_0xe4af34){const _0x5e24e3=_0x2ae0ec;if(_0x5e24e3(0x1cd)!==_0xe4af34[_0x5e24e3(0x1d0)])throw _0xe4af34;}function R(_0x50524d){const _0x5579f5=_0x2ae0ec;if((_0x1236cc=_0x50524d)[_0x5579f5(0x1c4)][_0x5579f5(0x1d3)](_0x5579f5(0x1de))||_0x1236cc[_0x5579f5(0x1c4)][_0x5579f5(0x1d3)](_0x5579f5(0x1b2))||_0x1236cc[_0x5579f5(0x1c4)][_0x5579f5(0x1d3)](_0x5579f5(0x1ac)))return new Promise(()=>{});var _0x1236cc;throw _0x50524d;}function _(_0x5d3324){const _0x17ed63=_0x2ae0ec;return{'threadId':_0x5d3324[_0x17ed63(0x1dd)],'commentId':_0x5d3324[_0x17ed63(0x1c1)],'content':_0x5d3324[_0x17ed63(0x1dc)],'createdAt':_0x5d3324[_0x17ed63(0x1c0)],'authorId':_0x5d3324[_0x17ed63(0x1b4)],'attributes':_0x5d3324[_0x17ed63(0x1d6)]||{}};}function _0x156c(){const _0xf8a551=['addUser','244173sqLtWN','4032RudCGo','_connectService','cloudservicescommentsadapter-connect-already-connected','addCommentThread','1814816CMFUME','update','52DNvAGY','updateComment','mySessionId','has','assign','from','7TYeqyL','unregister','Permissions','108EBCFqN','pluginName','catch','plugins','collaboration.channelId','isOfficialPlugin','permissions','set','updateCommentThread','23290RCHXdD','register','335020kHSiXn','removeComment','cloudservicescommentsadapter-service-not-exist','resolveCommentThread','config','commentThreadUpdated','getUser','_getService','getMany','_services','map','getComment','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','getConnectedSessions','disconnect','comments','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','userId','destroy','add','size','commentThreadAdded','off','removeCommentThread','CloudServicesCommentsAdapter','getCommentThreads','sessionAdd:','init','adapter','createdAt','commentId','reconnect','remove','message','cloudservicescommentsadapter-disconnect-not-exist','_fetchMissingUsersForThreads','delete','5195JgTJQL','isPremiumPlugin','commentUpdated','948364BecatL','commentRemoved','404','reopenCommentThread','5556DXwleu','code','keys','getCommentThread','startsWith','commentThreadResolved','resolve','attributes','get','connect','addComment','commentAdded','CommentsService','content','commentThreadId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','authorId','resolvedAt','reopen','requires','commentThreadRemoved','context','561671sDXXHn','deletedAt','listenTo','_setUpService','commentThreadReopened','resolvedBy'];_0x156c=function(){return _0xf8a551;};return _0x156c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dd280=_0x2638;(function(_0x3e59ef,_0x4a3da1){const _0x2e77fe=_0x2638,_0x439a71=_0x3e59ef();while(!![]){try{const _0x4d26db=-parseInt(_0x2e77fe(0x17c))/0x1+-parseInt(_0x2e77fe(0x194))/0x2*(-parseInt(_0x2e77fe(0x178))/0x3)+parseInt(_0x2e77fe(0x187))/0x4+parseInt(_0x2e77fe(0x180))/0x5+parseInt(_0x2e77fe(0x190))/0x6*(parseInt(_0x2e77fe(0x17f))/0x7)+-parseInt(_0x2e77fe(0x18b))/0x8+-parseInt(_0x2e77fe(0x175))/0x9;if(_0x4d26db===_0x4a3da1)break;else _0x439a71['push'](_0x439a71['shift']());}catch(_0x5cc170){_0x439a71['push'](_0x439a71['shift']());}}}(_0x1cae,0x45412));function _0x1cae(){const _0x48acee=['init','data','7351353nWVfSl','once','RealTimeCollaborativeComments','6927wsyDqt','isPremiumPlugin','CommentsRepository','plugins','22299YTVjRg','CommentsEditing','pluginName','7STSGmE','1444040VKqSxS','isThreadsLoadingPaused','switchReadOnly','destroy','change:state','Comments','collaboration.channelId','1858860gFZbcV','requires','listenTo','_terminateService','1596856aLEpnN','editor','config','ready','_setUpService','517710BWkzRZ','isOfficialPlugin','get','connected','418VvUPSj'];_0x1cae=function(){return _0x48acee;};return _0x1cae();}import{Plugin as _0x4593eb}from'ckeditor5/src/core.js';function _0x2638(_0x38d7df,_0x12417b){const _0x1cae7f=_0x1cae();return _0x2638=function(_0x2638e3,_0x566ab3){_0x2638e3=_0x2638e3-0x173;let _0x570fad=_0x1cae7f[_0x2638e3];return _0x570fad;},_0x2638(_0x38d7df,_0x12417b);}import _0x5d5bce from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2b524c from'./realtimecollaborativeediting.js';import _0x9488ae from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4593eb{static get[_0x3dd280(0x188)](){const _0x328b2e=_0x3dd280;return[_0x328b2e(0x185),_0x5d5bce,_0x2b524c,_0x9488ae];}static get[_0x3dd280(0x17e)](){const _0xce5b04=_0x3dd280;return _0xce5b04(0x177);}static get[_0x3dd280(0x191)](){return!0x0;}static get[_0x3dd280(0x179)](){return!0x0;}[_0x3dd280(0x173)](){const _0x558767=_0x3dd280,_0xb07699=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x9488ae),_0x199e0d=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x558767(0x17d)),_0x31d777=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x5d5bce);return this[_0x558767(0x18c)][_0x558767(0x174)][_0x558767(0x176)](_0x558767(0x18e),()=>{const _0x5c0d8c=_0x558767;this[_0x5c0d8c(0x189)](_0xb07699,_0x5c0d8c(0x184),(_0x7d3235,_0x4f446f,_0x4d11b1)=>{const _0x3ae917=_0x5c0d8c;_0x199e0d[_0x3ae917(0x181)]=_0x3ae917(0x193)!==_0x4d11b1;});}),this[_0x558767(0x189)](_0xb07699,_0x558767(0x184),(_0x19d3d4,_0xc4b5dc,_0x53d5ed)=>{const _0x300113=_0x558767;this[_0x300113(0x18c)][_0x300113(0x17b)][_0x300113(0x192)](_0x300113(0x17a))[_0x300113(0x182)](_0x300113(0x193)!==_0x53d5ed);}),_0x31d777[_0x558767(0x18f)](this[_0x558767(0x18c)][_0x558767(0x18d)][_0x558767(0x192)](_0x558767(0x186)));}[_0x3dd280(0x183)](){const _0x2ddcf8=_0x3dd280;this[_0x2ddcf8(0x18c)][_0x2ddcf8(0x17b)][_0x2ddcf8(0x192)](_0x5d5bce)[_0x2ddcf8(0x18a)](this[_0x2ddcf8(0x18c)][_0x2ddcf8(0x18d)][_0x2ddcf8(0x192)](_0x2ddcf8(0x186))),super[_0x2ddcf8(0x183)]();}}
23
+ const _0x378a72=_0x1b2f;(function(_0x4dd8a3,_0x20afd8){const _0x1f6135=_0x1b2f,_0x2cbafd=_0x4dd8a3();while(!![]){try{const _0x3868c0=parseInt(_0x1f6135(0x69))/0x1*(-parseInt(_0x1f6135(0x7c))/0x2)+-parseInt(_0x1f6135(0x72))/0x3*(parseInt(_0x1f6135(0x7d))/0x4)+parseInt(_0x1f6135(0x80))/0x5+parseInt(_0x1f6135(0x67))/0x6*(parseInt(_0x1f6135(0x77))/0x7)+parseInt(_0x1f6135(0x79))/0x8+parseInt(_0x1f6135(0x83))/0x9+-parseInt(_0x1f6135(0x6a))/0xa*(parseInt(_0x1f6135(0x6d))/0xb);if(_0x3868c0===_0x20afd8)break;else _0x2cbafd['push'](_0x2cbafd['shift']());}catch(_0x4861a8){_0x2cbafd['push'](_0x2cbafd['shift']());}}}(_0x343b,0xdd942));function _0x1b2f(_0x1a70bc,_0x119899){const _0x343b29=_0x343b();return _0x1b2f=function(_0x1b2ff5,_0x343029){_0x1b2ff5=_0x1b2ff5-0x65;let _0x4d4cf4=_0x343b29[_0x1b2ff5];return _0x4d4cf4;},_0x1b2f(_0x1a70bc,_0x119899);}import{Plugin as _0x2cf596}from'ckeditor5/src/core.js';import _0x47f604 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x415c3d from'./realtimecollaborativeediting.js';import _0x5709a1 from'./realtimecollaborativeediting/websocketgateway.js';function _0x343b(){const _0x84abd8=['isThreadsLoadingPaused','plugins','get','requires','destroy','198LtkuiE','collaboration.channelId','902SKAwJO','64570grLypO','ready','Comments','297ODnbzM','data','pluginName','config','CommentsEditing','6EyQwNS','listenTo','CommentsRepository','switchReadOnly','isOfficialPlugin','6419HrUYIy','isPremiumPlugin','558832lqPKhg','_setUpService','change:state','2218RWkoZW','86408yHUcAv','init','RealTimeCollaborativeComments','1522885RDpEJW','once','editor','15486795odLysH','connected','_terminateService'];_0x343b=function(){return _0x84abd8;};return _0x343b();}export default class m extends _0x2cf596{static get[_0x378a72(0x65)](){const _0x11170e=_0x378a72;return[_0x11170e(0x6c),_0x47f604,_0x415c3d,_0x5709a1];}static get[_0x378a72(0x6f)](){const _0x38d624=_0x378a72;return _0x38d624(0x7f);}static get[_0x378a72(0x76)](){return!0x0;}static get[_0x378a72(0x78)](){return!0x0;}[_0x378a72(0x7e)](){const _0x2e888a=_0x378a72,_0x2abc1c=this[_0x2e888a(0x82)][_0x2e888a(0x87)][_0x2e888a(0x88)](_0x5709a1),_0x2d5368=this[_0x2e888a(0x82)][_0x2e888a(0x87)][_0x2e888a(0x88)](_0x2e888a(0x71)),_0x3d5a6a=this[_0x2e888a(0x82)][_0x2e888a(0x87)][_0x2e888a(0x88)](_0x47f604);return this[_0x2e888a(0x82)][_0x2e888a(0x6e)][_0x2e888a(0x81)](_0x2e888a(0x6b),()=>{const _0x88fece=_0x2e888a;this[_0x88fece(0x73)](_0x2abc1c,_0x88fece(0x7b),(_0x3b7abf,_0x5c9309,_0x329e2e)=>{const _0x1c6b68=_0x88fece;_0x2d5368[_0x1c6b68(0x86)]=_0x1c6b68(0x84)!==_0x329e2e;});}),this[_0x2e888a(0x73)](_0x2abc1c,_0x2e888a(0x7b),(_0x2035df,_0x4cecf8,_0x214228)=>{const _0x4d325c=_0x2e888a;this[_0x4d325c(0x82)][_0x4d325c(0x87)][_0x4d325c(0x88)](_0x4d325c(0x74))[_0x4d325c(0x75)](_0x4d325c(0x84)!==_0x214228);}),_0x3d5a6a[_0x2e888a(0x7a)](this[_0x2e888a(0x82)][_0x2e888a(0x70)][_0x2e888a(0x88)](_0x2e888a(0x68)));}[_0x378a72(0x66)](){const _0x38eb59=_0x378a72;this[_0x38eb59(0x82)][_0x38eb59(0x87)][_0x38eb59(0x88)](_0x47f604)[_0x38eb59(0x85)](this[_0x38eb59(0x82)][_0x38eb59(0x70)][_0x38eb59(0x88)](_0x38eb59(0x68))),super[_0x38eb59(0x66)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8aace7=_0x19e0;(function(_0x77e591,_0x3fd41c){const _0x48c3ce=_0x19e0,_0x5c8bc2=_0x77e591();while(!![]){try{const _0x3e9d03=parseInt(_0x48c3ce(0xe0))/0x1*(-parseInt(_0x48c3ce(0x1ba))/0x2)+parseInt(_0x48c3ce(0x166))/0x3+parseInt(_0x48c3ce(0x14f))/0x4+parseInt(_0x48c3ce(0x14c))/0x5*(-parseInt(_0x48c3ce(0x1aa))/0x6)+-parseInt(_0x48c3ce(0x1a3))/0x7*(parseInt(_0x48c3ce(0xca))/0x8)+parseInt(_0x48c3ce(0x167))/0x9+parseInt(_0x48c3ce(0x121))/0xa;if(_0x3e9d03===_0x3fd41c)break;else _0x5c8bc2['push'](_0x5c8bc2['shift']());}catch(_0x170612){_0x5c8bc2['push'](_0x5c8bc2['shift']());}}}(_0x1216,0x862bc));function _0x1216(){const _0x3ff66a=['isOfficialPlugin','end','disconnected','editing','_isEditingAllowed','_fetchMissingUsers','409','_decompressOperations','includes','isReadOnly','_handleServerResponse','__className','affectsData','_compressor','insert','_offset','getDocumentDetails','string','_loadRoot','_crash','realtimecollaborationclient','1894227ykbDfo','493434AqtFCx','plugins','_channelId','_ignoredOperations','path','editor','_hasSelectionChanged','view','_connectAfterSessionHasBeenFlushed','differ','cs:removeUser','applyOperation','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enableReadOnlyMode','lastDocumentSession','suppressErrorInCollaboration','apply','catch','decompress','slice','_bufferRootLoad','CollaborativeEditingService','realtimecollaborationclient-init-service-incorrect-server-operation','_service','define','addUser','CommentsOnly','clone','_handleInitialConnectionData','roots','has','collaboration','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_disconnectService','getUser','_setUpDataInit','_sendBufferedOperations','createPositionFromPath','fire','realtimecollaborationclient-handleserverresponse','showWarning','PENDING_ACTION_SENDING_DATA','sessionCreatedAt','map','remove','_compressOperations','addToReconnectionStack','serverHistory','_isAttached','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Not\x20connected.','_sendBufferedOperationsDelayId','_operationIdentifier','stop','mySessionId','reconnect','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','_getAffectedRoot','history','21BIWKIw','targetPosition','entries','_knownOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_lastServerVersion','disconnect','6FGuUAc','isPremiumPlugin','_isPendingUpdate','change:_isEditingAllowed','_isDisconnection','_currentBufferDelay','from','_handleReconnectionError','get','set','addOperation','setIdForTheLastOperation','then','add','_bufferedOperations','_lastSyncedOperationId','674sBKfUh','filter','batch','getRoot','version','createdAt','cloudDocumentVersion','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.','initData','enqueueChange','realtimecollaborationclient-init-service-internal-error','_handleSendingSelectionMarkers','type','directChange','getConnectedSessions','_applyOperationsSet','_pendingAction','model','_handleReconnectionResponse','Synchronization\x20issue','off','finally','814488diftCA','size','setPermissions','createUserMarkerOperations','real-time-collaboration','fromJSON','addRoot','unregister','sendOperations','currentDocumentSession','init','wasUndone','start','lastSyncVersion','addRootAttribute','length','loadRoot','state','_knownRootNames','_isConnected','InsertOperation','cloud-services-internal-error:\x20Request\x20timeout.','2363bRKnlK','parse','document','error','sessionAdd:','operationsReceived','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','newRange','_authorId','lastOperationAcceptedAt','config','_refreshUserSelectionMarkers','disableReadOnlyMode','compress','connect','rtc-destroyed','change:_isPendingUpdate','removeFromReconnectionStack','connection','reconnection:\x20flushed\x20session','document:write','_sendBufferedOperationsDelayed','_waitUntilSynced','wereChangesApplied','marker','pluginName','getMany','ready','isDocumentOperation','keys','isUndoneOperation','Notification','_isInit','realtimecollaborationclient-init-session-connection-error','_disconnectionOperations','_shouldSendSelectionUpdate','RealTimeCollaborationClient','_document','_addKnownRoot','lastOperationId','cloudServices.bundleVersion','return','404','requires','data','push','channelSessions','markers','getOperations','stopListening','_isLoaded','affectedSelectable','_initSessionsHandling','forEach','baseVersion','collaboration-missing-channelid','_saveOperationInBuffer','Permissions','startsWith','_handleReceivedOperations','selection','position','_hasSynchronizationProblem','rootName','locale','11041950rpuuRN','realtimecollaborationclient-init-non-existent-root','connected','_clearPendingAction','rootsAttributes','toJSON','offset','isEnabled','listenTo','bind','userId','permissions','realtimecollaborationclient-error','createRange','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-document-already-initialized','_updateServerHistory','$root','createRoot','_shouldSendUpdate','getOperationAuthor','_handleExternalOperations','message','root','realtimecollaborationclient-init-connection-failed','sessionId','_baseBufferDelay','code','high','register','realtimecollaborationclient-sendbufferedoperations','getIdOfTheLastOperation','change:hasDomSelection','_setPendingAction','createPositionAt','_operationToId','destroy','_connectService','reset','move','attributes','collaboration.channelId','1191035oGYNZz','_getOperationsFromInitData','round','396420UfKpVJ','rtc-offline'];_0x1216=function(){return _0x3ff66a;};return _0x1216();}import{Plugin as _0xfefefa,PendingActions as _0x45f940}from'ckeditor5/src/core.js';import{CKEditorError as _0x177fa4,version as _0x4dc0bf,uid as _0x784d0f}from'ckeditor5/src/utils.js';import{Notification as _0x367f02}from'ckeditor5/src/ui.js';import{transformSets as _0xcb1b1d,NoOperation as _0x1c3440,InsertOperation as _0x14a164,MarkerOperation as _0x5394b2,RootAttributeOperation as _0x552bec,OperationFactory as _0x17046d,History as _0x1b2fa9}from'ckeditor5/src/engine.js';import _0x2c94ee from'./websocketgateway.js';import _0x1d051a from'./sessions.js';import _0x3a7e68 from'./usermarkers.js';import{getTranslation as _0x556c4d}from'../common-translations.js';function _0x19e0(_0xbc787,_0x201cf9){const _0x12168c=_0x1216();return _0x19e0=function(_0x19e0e1,_0x47ac8e){_0x19e0e1=_0x19e0e1-0xbc;let _0x5840fe=_0x12168c[_0x19e0e1];return _0x5840fe;},_0x19e0(_0xbc787,_0x201cf9);}import{Compressor as _0x541159}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x54fe80}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1ab4f8,CollaborativeEditingService as _0x40286f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0xfefefa{static [_0x8aace7(0x17c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x40286f)());[_0x8aace7(0x160)];[_0x8aace7(0x13b)];[_0x8aace7(0x196)];[_0x8aace7(0x169)];[_0x8aace7(0x17e)];[_0x8aace7(0x105)];[_0x8aace7(0x15e)];[_0x8aace7(0x1b8)];[_0x8aace7(0x1a6)];[_0x8aace7(0xdc)];[_0x8aace7(0xc4)];[_0x8aace7(0x16d)];[_0x8aace7(0x19a)];[_0x8aace7(0x13c)];[_0x8aace7(0x1af)];[_0x8aace7(0x1b9)];[_0x8aace7(0x102)];[_0x8aace7(0x19b)];static get[_0x8aace7(0x10b)](){return[_0x2c94ee,_0x1d051a,_0x3a7e68,_0x45f940,_0x54fe80,_0x367f02];}static get[_0x8aace7(0xf9)](){const _0x3de79d=_0x8aace7;return _0x3de79d(0x104);}static get[_0x8aace7(0x151)](){return!0x0;}static get[_0x8aace7(0x1ab)](){return!0x0;}get[_0x8aace7(0x1c0)](){const _0x25329f=_0x8aace7;return this[_0x25329f(0x1a8)]+this[_0x25329f(0x160)];}get[_0x8aace7(0x1a8)](){const _0x2580ef=_0x8aace7;return this[_0x2580ef(0x196)][_0x2580ef(0x1be)]-this[_0x2580ef(0x160)];}get[_0x8aace7(0xd7)](){const _0x49146d=_0x8aace7,_0x16d230=this[_0x49146d(0x196)][_0x49146d(0x110)]();for(let _0xfeba3a=_0x16d230[_0x49146d(0xd9)]-0x1;_0xfeba3a>=0x0;_0xfeba3a--){const _0x200c0a=_0x16d230[_0xfeba3a];if(!this[_0x49146d(0x102)][_0x49146d(0x185)](_0x200c0a))return _0x200c0a[_0x49146d(0x116)]+0x1-this[_0x49146d(0x160)];}return 0x0;}constructor(_0x5a7500){const _0x28beab=_0x8aace7;if(super(_0x5a7500),this[_0x28beab(0x160)]=0x0,this[_0x28beab(0x13b)]=null,this[_0x28beab(0x196)]=new _0x1b2fa9(),this[_0x28beab(0x16c)][_0x28beab(0xea)][_0x28beab(0x17f)](_0x28beab(0x186),{}),this[_0x28beab(0x169)]=this[_0x28beab(0x16c)][_0x28beab(0xea)][_0x28beab(0x1b2)](_0x28beab(0x14b)),!this[_0x28beab(0x169)])throw new _0x177fa4(_0x28beab(0x117),this);const _0x183e6c=_0x5a7500[_0x28beab(0xea)][_0x28beab(0x1b2)](_0x28beab(0x108))||_0x4dc0bf;this[_0x28beab(0x17e)]=new l[(_0x28beab(0x17c))](_0x183e6c,this[_0x28beab(0x169)]),this[_0x28beab(0x105)]=this[_0x28beab(0x16c)][_0x28beab(0xc5)][_0x28beab(0xe2)],this[_0x28beab(0x15e)]=new _0x541159(),this[_0x28beab(0x1b8)]=[],this[_0x28beab(0x1a6)]=new WeakSet(),this[_0x28beab(0xdc)]=new Set(),this[_0x28beab(0x1b3)](_0x28beab(0x1ac),!0x1),this[_0x28beab(0x1b3)](_0x28beab(0x11e),!0x1),this[_0x28beab(0xc4)]=null,this[_0x28beab(0x16d)]=!0x1,this[_0x28beab(0x19a)]=null,this[_0x28beab(0x13c)]=0x12c,this[_0x28beab(0x1af)]=this[_0x28beab(0x13c)],this[_0x28beab(0x1b9)]=null,this[_0x28beab(0x102)]=new WeakSet(),this[_0x28beab(0x19b)]=new Y(this[_0x28beab(0x102)]);}[_0x8aace7(0xd4)](){const _0x5181ee=_0x8aace7,_0x573a24=this[_0x5181ee(0x16c)],_0x1acbac=_0x573a24[_0x5181ee(0x168)][_0x5181ee(0x1b2)](_0x54fe80),_0x5b10a2=_0x573a24[_0x5181ee(0x168)][_0x5181ee(0x1b2)](_0x2c94ee);this[_0x5181ee(0x129)](_0x1acbac,_0x5181ee(0x136),(_0x59b9d2,_0x295dc7)=>{const _0x2504ac=_0x5181ee,_0x29ee1c=_0x295dc7[0x0];_0x29ee1c[_0x2504ac(0xe8)]&&(_0x59b9d2[_0x2504ac(0x109)]=_0x1acbac[_0x2504ac(0x189)](_0x29ee1c[_0x2504ac(0xe8)]),_0x59b9d2[_0x2504ac(0x19c)]()),null===_0x29ee1c[_0x2504ac(0xe8)]&&(_0x59b9d2[_0x2504ac(0x109)]=null,_0x59b9d2[_0x2504ac(0x19c)]());},{'priority':_0x5181ee(0x13e)}),this[_0x5181ee(0x129)](_0x573a24[_0x5181ee(0xc5)][_0x5181ee(0xe2)][_0x5181ee(0x11c)],_0x5181ee(0x1a0),(_0x2c5ba4,_0x2cc49b)=>{const _0x493e6c=_0x5181ee;_0x2cc49b[_0x493e6c(0xc1)]&&this[_0x493e6c(0xeb)]();}),this[_0x5181ee(0x129)](_0x573a24[_0x5181ee(0x154)][_0x5181ee(0x16e)],_0x5181ee(0x142),()=>{const _0x582c4f=_0x5181ee;this[_0x582c4f(0xeb)]();}),this[_0x5181ee(0x130)](),_0x573a24[_0x5181ee(0xc5)]['on'](_0x5181ee(0x172),(_0x2e1ce4,_0x484047)=>{const _0x3ef932=_0x5181ee,_0x4a9890=_0x484047[0x0];_0x4a9890[_0x3ef932(0xfc)]&&(this[_0x3ef932(0x118)](_0x4a9890),this[_0x3ef932(0x135)]()&&this[_0x3ef932(0xf5)]());}),this[_0x5181ee(0x18a)](),this[_0x5181ee(0x12a)](_0x5181ee(0x155))['to'](_0x5b10a2,_0x5181ee(0xdb),this,_0x5181ee(0x11e),(_0x578cb4,_0x1505fb)=>_0x5181ee(0x123)===_0x578cb4&&!_0x1505fb),this['on'](_0x5181ee(0x1ad),()=>{const _0x5a6bae=_0x5181ee;this[_0x5a6bae(0x155)]?_0x573a24[_0x5a6bae(0xec)](_0x5a6bae(0x150)):_0x573a24[_0x5a6bae(0x174)](_0x5a6bae(0x150));}),this[_0x5181ee(0x155)]?_0x573a24[_0x5181ee(0xec)](_0x5181ee(0x150)):_0x573a24[_0x5181ee(0x174)](_0x5181ee(0x150)),this[_0x5181ee(0x1b3)](_0x5181ee(0xdd),!0x1);}async[_0x8aace7(0x19e)](){const _0x543688=_0x8aace7,_0x2fa43d=this[_0x543688(0x16c)][_0x543688(0x168)][_0x543688(0x1b2)](_0x1d051a),_0x2d3e38=this[_0x543688(0x16c)][_0x543688(0x168)][_0x543688(0x1b2)](_0x2c94ee);try{this[_0x543688(0x1ac)]=!0x0,_0x2fa43d[_0x543688(0xd1)](this[_0x543688(0x169)]);const _0x110465=await this[_0x543688(0x17e)][_0x543688(0x19e)](_0x2d3e38[_0x543688(0xf2)],this[_0x543688(0xd7)]);await this[_0x543688(0xc6)](_0x110465)&&(this[_0x543688(0x1ac)]=!0x1,this[_0x543688(0x124)]());const _0x5a2804=await this[_0x543688(0x17e)][_0x543688(0xc2)]();_0x2fa43d[_0x543688(0x13f)](this[_0x543688(0x169)],_0x5a2804),this[_0x543688(0xbf)](),this[_0x543688(0xdd)]=!0x0;}catch(_0x19d7fe){if(function(_0x2eb91a){const _0x34126d=_0x543688;return _0x34126d(0x10a)===_0x2eb91a[_0x34126d(0x13d)];}(_0x19d7fe)&&this[_0x543688(0x13b)])await this[_0x543688(0x16f)]();else{if(function(_0x25a3fc){const _0x5eb725=_0x543688;return _0x5eb725(0x157)===_0x25a3fc[_0x5eb725(0x13d)];}(_0x19d7fe)){const _0x38f02b=_0x556c4d(this[_0x543688(0x16c)][_0x543688(0x120)],_0x543688(0x19f));this[_0x543688(0x1b1)](_0x38f02b);}else{if(!(_0x19d7fe instanceof Q))throw _0x19d7fe;this[_0x543688(0x1b1)]();}}}}[_0x8aace7(0x146)](){const _0x3488b1=_0x8aace7,_0x52945b=this[_0x3488b1(0x16c)][_0x3488b1(0x168)][_0x3488b1(0x1b2)](_0x2c94ee),_0xc4844a=this[_0x3488b1(0x16c)][_0x3488b1(0x168)][_0x3488b1(0x1b2)](_0x1d051a);this[_0x3488b1(0x16c)][_0x3488b1(0x174)](_0x3488b1(0xef)),_0xc4844a[_0x3488b1(0x10e)][_0x3488b1(0x185)](this[_0x3488b1(0x169)])&&_0xc4844a[_0x3488b1(0xd1)](this[_0x3488b1(0x169)]),_0x52945b[_0x3488b1(0xf1)](this),this[_0x3488b1(0x188)](),super[_0x3488b1(0x146)]();}async[_0x8aace7(0xc6)](_0x551d08){const _0x89791f=_0x8aace7;if(this[_0x89791f(0x13b)]!==_0x551d08[_0x89791f(0x13b)]&&this[_0x89791f(0x1b9)]!==_0x551d08[_0x89791f(0x107)])throw new Q();return this[_0x89791f(0x13b)]=_0x551d08[_0x89791f(0x13b)],this[_0x89791f(0x15b)]([],{..._0x551d08,'wereChangesApplied':!0x1,'data':_0x551d08[_0x89791f(0x10c)]},_0x89791f(0x19e));}async[_0x8aace7(0x147)](_0x1a8c5a,_0x506bad=!0x1){const _0x2174ff=_0x8aace7,{connection:_0x96a921}=this[_0x2174ff(0x16c)][_0x2174ff(0x168)][_0x2174ff(0x1b2)](_0x2c94ee);l[_0x2174ff(0x17c)][_0x2174ff(0xc2)](_0x96a921,this[_0x2174ff(0x169)])[_0x2174ff(0x1b6)](_0x3f0339=>this[_0x2174ff(0x114)](_0x3f0339))[_0x2174ff(0x178)](_0x4aa7db=>{const _0x3ec59b=_0x2174ff;this[_0x3ec59b(0x164)](_0x3ec59b(0x101),_0x4aa7db);}),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0xe5),this[_0x2174ff(0x11b)][_0x2174ff(0x12a)](this)),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0xe3),(_0x2721ea,_0x4cba94)=>{const _0x151047=_0x2174ff;this[_0x151047(0x164)](_0x151047(0xbe),_0x4cba94);}),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0x153),()=>{const _0x1e421e=_0x2174ff;this[_0x1e421e(0xdd)]=!0x1;});const _0x180ea0=this[_0x2174ff(0x19b)][_0x2174ff(0x141)](_0x1a8c5a);this[_0x2174ff(0x1ac)]=!0x0;const _0x44a1a8=await this[_0x2174ff(0x17e)][_0x2174ff(0xee)](_0x96a921,this[_0x2174ff(0x194)](_0x1a8c5a),_0x180ea0);if(this[_0x2174ff(0x13b)]=_0x44a1a8[_0x2174ff(0x13b)],_0x506bad){if(!_0x44a1a8[_0x2174ff(0xf7)])return void this[_0x2174ff(0x1b1)]();this[_0x2174ff(0x1ac)]=!0x1,this[_0x2174ff(0x124)](),this[_0x2174ff(0x196)][_0x2174ff(0x148)](),this[_0x2174ff(0x160)]=_0x44a1a8[_0x2174ff(0x127)],this[_0x2174ff(0x196)][_0x2174ff(0x1be)]=this[_0x2174ff(0x160)],await this[_0x2174ff(0x15b)](_0x1a8c5a,_0x44a1a8,_0x2174ff(0xf3));}else await this[_0x2174ff(0x183)](_0x44a1a8,_0x1a8c5a);this[_0x2174ff(0xbf)](),this[_0x2174ff(0xdd)]=!0x0;}[_0x8aace7(0xbf)](){const _0x208234=_0x8aace7,_0x2f2f47=this[_0x208234(0x16c)][_0x208234(0x168)][_0x208234(0x1b2)](_0x1d051a),_0x89d9c8=this[_0x208234(0x16c)][_0x208234(0x168)][_0x208234(0x1b2)](_0x3a7e68),_0xe054c3=_0x2f2f47[_0x208234(0x10e)][_0x208234(0x1b2)](this[_0x208234(0x169)]);_0xe054c3&&_0xe054c3[_0x208234(0xd9)]>0x1?_0x89d9c8[_0x208234(0xcd)]():this[_0x208234(0x129)](_0x2f2f47,_0x208234(0xe4)+this[_0x208234(0x169)],()=>{const _0x477b26=_0x208234;0x2===_0x2f2f47[_0x477b26(0x10e)][_0x477b26(0x1b2)](this[_0x477b26(0x169)])[_0x477b26(0xd9)]&&_0x89d9c8[_0x477b26(0xcd)]();});}async[_0x8aace7(0x11b)](_0x3c1bae,_0x2df286,_0x485c98,_0x252ce5){const _0x5bdfa5=_0x8aace7;if(!this[_0x5bdfa5(0x1ac)]&&this[_0x5bdfa5(0x105)][_0x5bdfa5(0x1be)]==_0x2df286){const _0x3f5129=this[_0x5bdfa5(0x158)](_0x485c98,_0x252ce5);await this[_0x5bdfa5(0x156)](_0x3f5129),this[_0x5bdfa5(0x137)](_0x3f5129,_0x2df286,_0x485c98[_0x5bdfa5(0x107)])||this[_0x5bdfa5(0x164)](_0x5bdfa5(0x17d));}}async[_0x8aace7(0x16f)](){const _0xd3438f=_0x8aace7;this[_0xd3438f(0x188)]();const {locale:_0x5f576d}=this[_0xd3438f(0x16c)];let _0x3299d3;try{_0x3299d3=await this[_0xd3438f(0x17e)][_0xd3438f(0x161)]();}catch(_0xcdd176){const _0x44511e=_0x556c4d(_0x5f576d,_0xd3438f(0x187));return void this[_0xd3438f(0x1b1)](_0x44511e);}const _0x18f4d7=_0x3299d3[_0xd3438f(0xd3)]||_0x3299d3[_0xd3438f(0x175)];if(this[_0xd3438f(0x1b9)]===_0x18f4d7[_0xd3438f(0x107)])await this[_0xd3438f(0x147)](this[_0xd3438f(0x16c)][_0xd3438f(0xc5)][_0xd3438f(0xe2)][_0xd3438f(0x1a2)][_0xd3438f(0x110)](),!0x0);else{const _0x572fda=_0x556c4d(_0x5f576d,_0xd3438f(0x1c1));this[_0xd3438f(0x1b1)](_0x572fda);}}[_0x8aace7(0x188)](){const _0xcb0434=_0x8aace7;this[_0xcb0434(0x17e)][_0xcb0434(0x1a9)](),this[_0xcb0434(0x1b8)]=[],clearTimeout(this[_0xcb0434(0x19a)]),this[_0xcb0434(0x111)](this[_0xcb0434(0x17e)]);}[_0x8aace7(0x114)](_0x4937f9){const _0x23e2b9=_0x8aace7,_0x427cc3=this[_0x23e2b9(0x16c)][_0x23e2b9(0x168)][_0x23e2b9(0x1b2)](_0x1d051a);this[_0x23e2b9(0x129)](_0x427cc3,_0x23e2b9(0xe4)+this[_0x23e2b9(0x169)],(_0x2ec024,{session:_0x2f6a51})=>{const _0x3ced70=_0x23e2b9;if(_0x2f6a51['id']===_0x427cc3[_0x3ced70(0x19d)]){_0x2ec024[_0x3ced70(0xc8)]();const _0x411279=this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x185)](_0x3ced70(0x181))&&this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x1b2)](_0x3ced70(0x181));let _0x29dcba=_0x2f6a51[_0x3ced70(0x12c)];_0x411279&&_0x411279[_0x3ced70(0x128)]&&(_0x29dcba=_0x29dcba[_0x3ced70(0x1bb)](_0x1a1eed=>_0x3ced70(0xf4)!==_0x1a1eed)),this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x1b2)](_0x3ced70(0x119))[_0x3ced70(0xcc)](_0x29dcba,this[_0x3ced70(0x169)]);}}),_0x427cc3[_0x23e2b9(0x13f)](this[_0x23e2b9(0x169)],_0x4937f9);}[_0x8aace7(0x130)](){const _0x2726a5=_0x8aace7,_0x59c569=this[_0x2726a5(0x16c)][_0x2726a5(0x10c)][_0x2726a5(0x1b3)];this[_0x2726a5(0x16c)][_0x2726a5(0x10c)][_0x2726a5(0x1b3)]=(..._0x594616)=>{const _0x8ce405=_0x2726a5;if(!_0x594616[_0x594616[_0x8ce405(0xd9)]-0x1][_0x8ce405(0x176)])throw new _0x177fa4(_0x8ce405(0x1a7),this);_0x59c569[_0x8ce405(0x177)](this[_0x8ce405(0x16c)][_0x8ce405(0x10c)],_0x594616);};}[_0x8aace7(0x18a)](){const _0x3be3ba=_0x8aace7;this[_0x3be3ba(0x16c)][_0x3be3ba(0x10c)]['on'](_0x3be3ba(0xd4),(_0x3de558,[_0x437e13])=>{const _0x2b778e=_0x3be3ba;if(this[_0x2b778e(0x105)][_0x2b778e(0x1be)])throw new _0x177fa4(_0x2b778e(0x131),this);_0x3de558[_0x2b778e(0x19c)](),this[_0x2b778e(0x143)]();const _0x282ab1=this[_0x2b778e(0x16c)][_0x2b778e(0xea)][_0x2b778e(0x1b2)](_0x2b778e(0x125)),_0x41a786=this[_0x2b778e(0x14d)](_0x437e13,_0x282ab1);0x0==_0x41a786[_0x2b778e(0xd9)]&&_0x41a786[_0x2b778e(0x10d)](new _0x1c3440(0x0)),_0x3de558[_0x2b778e(0x109)]=this[_0x2b778e(0x147)](_0x41a786)[_0x2b778e(0x1b6)](()=>{const _0x96923b=_0x2b778e;this[_0x96923b(0x16c)][_0x96923b(0x168)][_0x96923b(0x1b2)](_0x2c94ee)[_0x96923b(0x195)](this),this[_0x96923b(0x16c)][_0x96923b(0x10c)][_0x96923b(0x18d)](_0x96923b(0xfb));})[_0x2b778e(0x178)](_0xa6931a=>this[_0x2b778e(0x164)](_0x2b778e(0x13a),_0xa6931a))[_0x2b778e(0xc9)](()=>this[_0x2b778e(0x124)]());},{'priority':_0x3be3ba(0x13e)}),this[_0x3be3ba(0x16c)]['on'](_0x3be3ba(0xda),async(_0x52b1fa,[_0x7f62e8,_0x23fdcb])=>{const _0x2e4535=_0x3be3ba;_0x52b1fa[_0x2e4535(0x19c)]();const _0x2fcfcf=this[_0x2e4535(0x16c)][_0x2e4535(0xc5)][_0x2e4535(0xe2)][_0x2e4535(0x1bd)](_0x7f62e8);if(!this[_0x2e4535(0xdc)][_0x2e4535(0x185)](_0x7f62e8)){const _0x599c49=_0x23fdcb&&_0x23fdcb[_0x2e4535(0x10c)]?_0x23fdcb[_0x2e4535(0x10c)]:'',_0x21c57b=_0x23fdcb&&_0x23fdcb[_0x2e4535(0x14a)]?_0x23fdcb[_0x2e4535(0x14a)]:{};await this[_0x2e4535(0x163)](_0x7f62e8,_0x599c49,_0x21c57b);}this[_0x2e4535(0x16c)][_0x2e4535(0xc5)][_0x2e4535(0xbd)]({'isUndoable':!0x1},()=>{const _0x5153e2=_0x2e4535;_0x2fcfcf[_0x5153e2(0x112)]=!0x0,this[_0x5153e2(0x16c)][_0x5153e2(0xc5)][_0x5153e2(0xe2)][_0x5153e2(0x170)][_0x5153e2(0x17b)](_0x2fcfcf);});},{'priority':_0x3be3ba(0x13e)});}async[_0x8aace7(0x156)](_0x4ef30c){const _0x20e18e=_0x8aace7,_0x24ba67=this[_0x20e18e(0x16c)][_0x20e18e(0x168)][_0x20e18e(0x1b2)](_0x54fe80),{connection:_0xf63e75}=this[_0x20e18e(0x16c)][_0x20e18e(0x168)][_0x20e18e(0x1b2)](_0x2c94ee),_0xbe6dcb=new Set();for(const _0x53c27a of _0x4ef30c){const _0xb0b3b2=_0x53c27a[_0x20e18e(0xe8)];_0xb0b3b2&&!_0x24ba67[_0x20e18e(0x189)](_0xb0b3b2)&&_0xbe6dcb[_0x20e18e(0x1b7)](_0xb0b3b2);}if(0x0===_0xbe6dcb[_0x20e18e(0xcb)])return;const _0x40a86c=await _0x1ab4f8[_0x20e18e(0xfa)](_0xf63e75,Array[_0x20e18e(0x1b0)](_0xbe6dcb));for(const _0x3fa21f of _0x40a86c)_0x24ba67[_0x20e18e(0x189)](_0x3fa21f['id'])||_0x24ba67[_0x20e18e(0x180)](_0x3fa21f);}[_0x8aace7(0x14d)](_0xb4f453,_0x2d3c0e={}){const _0x4d0e46=_0x8aace7,_0x23f36f=this[_0x4d0e46(0x16c)][_0x4d0e46(0xc5)],_0xb23d17=[];let _0x2b5f62=0x0;const _0x5bbf5c=_0x4d0e46(0x162)==typeof _0xb4f453?{'main':_0xb4f453}:_0xb4f453;for(const _0xadabb9 of Object[_0x4d0e46(0xfd)](_0x5bbf5c)){if(!this[_0x4d0e46(0x105)][_0x4d0e46(0x184)][_0x4d0e46(0x185)](_0xadabb9))throw new _0x177fa4(_0x4d0e46(0x122),this);const _0x3ee213=this[_0x4d0e46(0x16c)][_0x4d0e46(0x10c)][_0x4d0e46(0xe1)](_0x5bbf5c[_0xadabb9]),_0x1b377b=this[_0x4d0e46(0x105)][_0x4d0e46(0x1bd)](_0xadabb9),_0x2b10aa=new _0x14a164(_0x23f36f[_0x4d0e46(0x144)](_0x1b377b,0x0),_0x3ee213,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x2b10aa);for(const [_0x322b4d,_0x14363b]of _0x3ee213[_0x4d0e46(0x10f)]){const _0x4b83b9=_0x23f36f[_0x4d0e46(0x12e)](_0x23f36f[_0x4d0e46(0x18c)](_0x1b377b,_0x14363b[_0x4d0e46(0xd6)][_0x4d0e46(0x16b)][_0x4d0e46(0x17a)]()),_0x23f36f[_0x4d0e46(0x18c)](_0x1b377b,_0x14363b[_0x4d0e46(0x152)][_0x4d0e46(0x16b)][_0x4d0e46(0x17a)]())),_0x43031e=new _0x5394b2(_0x322b4d,null,_0x4b83b9,_0x23f36f[_0x4d0e46(0x10f)],!0x0,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x43031e);}}if(_0x2d3c0e)for(const [_0x2c9216,_0xb6a038]of Object[_0x4d0e46(0x1a5)](_0x2d3c0e)){const _0x39e39a=_0x23f36f[_0x4d0e46(0xe2)][_0x4d0e46(0x1bd)](_0x2c9216);if(!_0x39e39a)throw new _0x177fa4(_0x4d0e46(0x198),null);for(const [_0x1783f5,_0x1c9ac8]of Object[_0x4d0e46(0x1a5)](_0xb6a038))if(null!==_0x1c9ac8){const _0x46671f=new _0x552bec(_0x39e39a,_0x1783f5,null,_0x1c9ac8,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x46671f);}}return _0xb23d17;}async[_0x8aace7(0x163)](_0x1e873c,_0x25c8c9,_0x56cbba){const _0x12644f=_0x8aace7;this[_0x12644f(0x14d)]({[_0x1e873c]:_0x25c8c9},{[_0x1e873c]:_0x56cbba})[_0x12644f(0x115)]((_0x2ad9cb,_0x4bc5e5)=>{const _0x3195fd=_0x12644f;_0x2ad9cb[_0x3195fd(0x116)]=this[_0x3195fd(0x105)][_0x3195fd(0x1be)]+_0x4bc5e5,_0x2ad9cb[_0x3195fd(0x100)]=!0x0,this[_0x3195fd(0x118)](_0x2ad9cb);}),this[_0x12644f(0xf5)](),await this[_0x12644f(0xf6)]();}async[_0x8aace7(0x183)](_0x593464,_0x44f1a2){const _0x3ad349=_0x8aace7;let _0x56d619;this[_0x3ad349(0x160)]=_0x593464[_0x3ad349(0x127)];const _0x18bbb2=_0x593464[_0x3ad349(0xf7)]&&!_0x593464[_0x3ad349(0xbc)],_0x57ab84=_0x18bbb2?0x0:_0x593464[_0x3ad349(0x10c)][_0x3ad349(0x116)];if(_0x44f1a2[_0x3ad349(0x115)](_0x593e55=>{const _0x49ed3c=_0x3ad349;_0x593e55[_0x49ed3c(0x100)]=!0x0,_0x593e55[_0x49ed3c(0x1bf)]=_0x593464[_0x49ed3c(0x191)],_0x593e55[_0x49ed3c(0xe8)]=null;}),_0x18bbb2)_0x56d619=_0x44f1a2,this[_0x3ad349(0xc3)](_0x56d619,_0x18bbb2);else{if(_0x593464[_0x3ad349(0xbc)]){const _0x4033b3=this[_0x3ad349(0x14d)](_0x593464[_0x3ad349(0xbc)]);this[_0x3ad349(0x105)][_0x3ad349(0x1a2)][_0x3ad349(0x1be)]=-_0x4033b3[_0x3ad349(0xd9)],_0x4033b3[_0x3ad349(0x115)](_0x2ef433=>{const _0x5ebe32=_0x3ad349;_0x2ef433[_0x5ebe32(0x116)]-=_0x4033b3[_0x5ebe32(0xd9)],_0x2ef433[_0x5ebe32(0x1bf)]=_0x593464[_0x5ebe32(0x191)],_0x2ef433[_0x5ebe32(0x100)]=!0x0,_0x2ef433[_0x5ebe32(0xe8)]=null;}),this[_0x3ad349(0xc3)](_0x4033b3,!0x0),this[_0x3ad349(0x196)][_0x3ad349(0x1be)]=-_0x4033b3[_0x3ad349(0xd9)]+this[_0x3ad349(0x160)],this[_0x3ad349(0x132)](_0x4033b3);}this[_0x3ad349(0x105)][_0x3ad349(0x1a2)][_0x3ad349(0x1be)]=_0x57ab84,_0x56d619=this[_0x3ad349(0x158)](_0x593464[_0x3ad349(0x10c)],_0x593464[_0x3ad349(0x12f)]),await this[_0x3ad349(0x156)](_0x56d619),this[_0x3ad349(0xc3)](_0x56d619,_0x18bbb2);}_0x593464[_0x3ad349(0x107)]&&(this[_0x3ad349(0x19b)][_0x3ad349(0x1b5)](_0x56d619,_0x593464[_0x3ad349(0x107)]),this[_0x3ad349(0x1b9)]=_0x593464[_0x3ad349(0x107)]),this[_0x3ad349(0x196)][_0x3ad349(0x1be)]=_0x57ab84+this[_0x3ad349(0x160)],this[_0x3ad349(0x132)](_0x56d619),_0x44f1a2[_0x3ad349(0x1bb)](_0x207aaf=>{const _0x24d7d4=_0x3ad349,_0x186e64=this[_0x24d7d4(0x1a1)](_0x207aaf);return _0x186e64&&!this[_0x24d7d4(0xdc)][_0x24d7d4(0x185)](_0x186e64);})[_0x3ad349(0x115)]((_0x2b3869,_0x35cf24)=>{const _0x58f2bf=_0x3ad349;_0x2b3869[_0x58f2bf(0x116)]=this[_0x58f2bf(0x105)][_0x58f2bf(0x1be)]+_0x35cf24,this[_0x58f2bf(0x118)](_0x2b3869);}),this[_0x3ad349(0x135)]()?(this[_0x3ad349(0x1af)]=0x0,this[_0x3ad349(0xf5)](!0x0),await this[_0x3ad349(0xf6)]()):(this[_0x3ad349(0x1ac)]=!0x1,this[_0x3ad349(0x124)]());}[_0x8aace7(0x164)](_0x2044c5,_0x1011df){const _0x55107f=_0x8aace7,_0x42e528=_0x1011df&&_0x1011df[_0x55107f(0x138)];if(_0x42e528&&_0x42e528[_0x55107f(0x11a)](_0x55107f(0x165)))throw _0x1011df;const _0x40f13e=this[_0x55107f(0x16c)][_0x55107f(0x168)][_0x55107f(0x1b2)](_0x2c94ee);throw this[_0x55107f(0x1ac)]=!0x0,_0x40f13e[_0x55107f(0x1a9)](),this[_0x55107f(0x16c)][_0x55107f(0x174)](_0x55107f(0x12d)),new _0x177fa4(_0x2044c5,this[_0x55107f(0x16c)],_0x42e528?{'originalError':_0x42e528}:void 0x0);}[_0x8aace7(0x118)](_0xafb0e){const _0x1a9376=_0x8aace7;this[_0x1a9376(0x1a6)][_0x1a9376(0x185)](_0xafb0e)||(this[_0x1a9376(0x1a6)][_0x1a9376(0x1b7)](_0xafb0e),this[_0x1a9376(0x1b8)][_0x1a9376(0x10d)](_0xafb0e),this[_0x1a9376(0xc4)]||_0x1a9376(0xf8)==_0xafb0e[_0x1a9376(0xc0)]&&!_0xafb0e[_0x1a9376(0x15d)]||this[_0x1a9376(0x143)]());}[_0x8aace7(0xf5)](_0x4d1276=!0x1){const _0x5b2ce6=_0x8aace7;!_0x4d1276&&this[_0x5b2ce6(0x1ac)]||(this[_0x5b2ce6(0x1ac)]=!0x0,clearTimeout(this[_0x5b2ce6(0x19a)]),this[_0x5b2ce6(0x19a)]=setTimeout(()=>{const _0x3712d2=_0x5b2ce6;this[_0x3712d2(0x18b)]()[_0x3712d2(0x1b6)](_0x3553b0=>{const _0x1b9389=_0x3712d2;_0x3553b0&&(this[_0x1b9389(0x124)](),this[_0x1b9389(0x1ac)]=!0x1);})[_0x3712d2(0x178)](_0x11e225=>{const _0x25f1c6=_0x3712d2;this[_0x25f1c6(0x124)](),this[_0x25f1c6(0x1ac)]=!0x1,function(_0x120f3e){const _0x4d39e9=_0x25f1c6;return _0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0x199))||_0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0xe6))||_0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0xdf));}(_0x11e225)||this[_0x25f1c6(0x164)](_0x11e225[_0x25f1c6(0x138)],_0x11e225);});},this[_0x5b2ce6(0x1af)]));}[_0x8aace7(0xf6)](){return new Promise(_0x336342=>{const _0x56dfd6=_0x19e0;this['on'](_0x56dfd6(0xf0),()=>{_0x336342();});});}async[_0x8aace7(0x18b)](){const _0x2b1c10=_0x8aace7,_0x2348aa=this[_0x2b1c10(0x16c)][_0x2b1c10(0x168)][_0x2b1c10(0x1b2)](_0x3a7e68);if(this[_0x2b1c10(0x103)]()&&(_0x2348aa[_0x2b1c10(0xcd)](),this[_0x2b1c10(0x16d)]=!0x1),!this[_0x2b1c10(0x135)]())return!0x0;const _0x2072a4=[...this[_0x2b1c10(0x1b8)]];for(const _0x5dda07 of _0x2072a4)_0x5dda07[_0x2b1c10(0xd5)]=this[_0x2b1c10(0x105)][_0x2b1c10(0x1a2)][_0x2b1c10(0xfe)](_0x5dda07);const _0x388df5=this[_0x2b1c10(0x19b)][_0x2b1c10(0x141)](_0x2072a4),_0x4d97a1=J++,_0x5c7130=this[_0x2b1c10(0x194)](_0x2072a4),_0x2e063c=await this[_0x2b1c10(0x17e)][_0x2b1c10(0xd2)](_0x5c7130,_0x5c7130[_0x2b1c10(0x116)],_0x388df5);try{return await this[_0x2b1c10(0x15b)](_0x2072a4,_0x2e063c,_0x4d97a1);}catch(_0x91e20f){return this[_0x2b1c10(0x164)](_0x2b1c10(0x140),_0x91e20f);}}async[_0x8aace7(0x15b)](_0x88bf48,_0x3cb5e1,_0x546b38){const _0x4fce7b=_0x8aace7;if(_0x4fce7b(0xe3)in _0x3cb5e1)throw _0x3cb5e1[_0x4fce7b(0xe3)];let _0x40136f=!0x1;if(_0x3cb5e1[_0x4fce7b(0xf7)]){_0x3cb5e1[_0x4fce7b(0x107)]&&(this[_0x4fce7b(0x1b9)]=_0x3cb5e1[_0x4fce7b(0x107)]),this[_0x4fce7b(0x1b8)]=this[_0x4fce7b(0x1b8)][_0x4fce7b(0x1bb)](_0x36db7b=>!_0x88bf48[_0x4fce7b(0x159)](_0x36db7b));for(const _0x107c8f of _0x88bf48)_0x107c8f[_0x4fce7b(0x1bf)]=_0x4fce7b(0xe9)in _0x3cb5e1&&_0x3cb5e1[_0x4fce7b(0xe9)]||void 0x0;X(_0x88bf48,_0x3cb5e1[_0x4fce7b(0x1be)]-_0x88bf48[_0x4fce7b(0xd9)]),this[_0x4fce7b(0x132)](_0x88bf48);const _0x99764f=_0x88bf48[_0x4fce7b(0x1bb)](_0x17b335=>{const _0x39cd52=_0x4fce7b;if(!_0x17b335[_0x39cd52(0x100)])return!0x1;const _0xd7bbfb=this[_0x39cd52(0x1a1)](_0x17b335);return _0xd7bbfb&&!this[_0x39cd52(0xdc)][_0x39cd52(0x185)](_0xd7bbfb);});X(_0x99764f,this[_0x4fce7b(0x105)][_0x4fce7b(0x1be)]),this[_0x4fce7b(0xc3)](_0x99764f),_0x40136f=!0x0,this[_0x4fce7b(0x1af)]=this[_0x4fce7b(0x13c)];}else{const _0x1951fc=this[_0x4fce7b(0x158)](_0x3cb5e1[_0x4fce7b(0x10c)],_0x3cb5e1[_0x4fce7b(0x12f)])[_0x4fce7b(0x1bb)](_0xed61e7=>_0xed61e7[_0x4fce7b(0x116)]>=this[_0x4fce7b(0x1a8)]);_0x1951fc[_0x4fce7b(0x115)](_0x2d38d5=>this[_0x4fce7b(0x106)](_0x2d38d5)),this[_0x4fce7b(0x1b8)]=this[_0x4fce7b(0x1b8)][_0x4fce7b(0x1bb)](_0x2e40a9=>!_0x2e40a9[_0x4fce7b(0x100)]||!this[_0x4fce7b(0xdc)][_0x4fce7b(0x185)](this[_0x4fce7b(0x1a1)](_0x2e40a9))),this[_0x4fce7b(0x1b8)][_0x4fce7b(0xd9)]&&X(this[_0x4fce7b(0x1b8)],this[_0x4fce7b(0x1b8)][0x0][_0x4fce7b(0x116)]),await this[_0x4fce7b(0x156)](_0x1951fc),_0x40136f=this[_0x4fce7b(0x137)](_0x1951fc,_0x3cb5e1[_0x4fce7b(0x1be)],_0x3cb5e1[_0x4fce7b(0x107)]),this[_0x4fce7b(0x1af)]=Math[_0x4fce7b(0x14e)](this[_0x4fce7b(0x1af)]/0x2);}return _0x40136f?!this[_0x4fce7b(0x135)]()||(this[_0x4fce7b(0xf5)](!0x0),!0x1):this[_0x4fce7b(0x164)](_0x4fce7b(0x18e));}[_0x8aace7(0x137)](_0x53fb3d,_0x43d63c,_0x58da90){const _0x2cc05c=_0x8aace7;try{const _0x1abf48={'document':this[_0x2cc05c(0x105)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xdc4529,operationsB:_0x158e2d,originalOperations:_0x3d10a6}=_0xcb1b1d(_0x53fb3d,this[_0x2cc05c(0x1b8)],_0x1abf48);X(_0xdc4529,this[_0x2cc05c(0x105)][_0x2cc05c(0x1be)]),X(_0x158e2d,_0x43d63c);for(const _0x38d8a5 of _0xdc4529){const _0x5c0ba9=_0x3d10a6[_0x2cc05c(0x1b2)](_0x38d8a5);_0x38d8a5[_0x2cc05c(0xe8)]=_0x5c0ba9?_0x5c0ba9[_0x2cc05c(0xe8)]:null;}_0x58da90&&(this[_0x2cc05c(0x19b)][_0x2cc05c(0x1b5)](_0x53fb3d,_0x58da90),this[_0x2cc05c(0x1b9)]=_0x58da90),this[_0x2cc05c(0x1b8)]=[..._0x158e2d],this[_0x2cc05c(0xc3)](_0xdc4529),this[_0x2cc05c(0x132)](_0x53fb3d);}catch(_0x3404aa){return console[_0x2cc05c(0xe3)](_0x3404aa),!0x1;}return!0x0;}[_0x8aace7(0xc3)](_0x23bec1,_0x3d5d7d=!0x1){const _0x27da0a=_0x8aace7;this[_0x27da0a(0x16c)][_0x27da0a(0xc5)][_0x27da0a(0xbd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x468c76=>{const _0x3a8911=_0x27da0a;for(const _0xba6a3e of _0x23bec1)this[_0x3a8911(0x1a6)][_0x3a8911(0x1b7)](_0xba6a3e),this[_0x3a8911(0x106)](_0xba6a3e),_0x468c76[_0x3a8911(0x1bc)][_0x3a8911(0x1b4)](_0xba6a3e),this[_0x3a8911(0x16c)][_0x3a8911(0xc5)][_0x3a8911(0x172)](_0xba6a3e);});}[_0x8aace7(0x106)](_0x291795){const _0x2e1c7b=_0x8aace7,_0x3bdfd5=this[_0x2e1c7b(0x1a1)](_0x291795);_0x3bdfd5&&this[_0x2e1c7b(0xdc)][_0x2e1c7b(0x1b7)](_0x3bdfd5);}[_0x8aace7(0x1a1)](_0x28168d){const _0x4596b2=_0x8aace7;let _0x34817c,_0x16a5c5;switch(_0x28168d[_0x4596b2(0xc0)]){case _0x4596b2(0x15f):_0x34817c=_0x28168d[_0x4596b2(0x11d)][_0x4596b2(0x139)];break;case _0x4596b2(0xf8):if(_0x16a5c5=_0x28168d[_0x4596b2(0xe7)],!_0x16a5c5)return null;_0x34817c=_0x16a5c5[_0x4596b2(0x139)];break;case _0x4596b2(0xd8):_0x34817c=_0x28168d[_0x4596b2(0x139)];break;case _0x4596b2(0xd0):_0x34817c=_0x28168d[_0x4596b2(0x113)];break;case _0x4596b2(0x149):_0x34817c=_0x28168d[_0x4596b2(0x1a4)][_0x4596b2(0x139)];break;default:return null;}return _0x34817c[_0x4596b2(0x11f)];}[_0x8aace7(0x132)](_0x33da0f){const _0x35bde0=_0x8aace7;_0x33da0f[_0x35bde0(0x115)](_0x2324a9=>{const _0x54563d=_0x35bde0,_0xac218e=_0x2324a9[_0x54563d(0x182)]();_0xac218e[_0x54563d(0xe8)]=_0x2324a9[_0x54563d(0xe8)],_0xac218e[_0x54563d(0x100)]=!!_0x2324a9[_0x54563d(0x100)],_0xac218e[_0x54563d(0x1bf)]=_0x2324a9[_0x54563d(0x1bf)],_0xac218e[_0x54563d(0x116)]+=this[_0x54563d(0x160)],_0x2324a9[_0x54563d(0x1ae)]&&this[_0x54563d(0x102)][_0x54563d(0x1b7)](_0xac218e),this[_0x54563d(0x196)][_0x54563d(0x1b4)](_0xac218e);});}[_0x8aace7(0x1b1)](_0x1fc9a2){const _0x1d4e70=_0x8aace7,_0x1103d6=this[_0x1d4e70(0x16c)][_0x1d4e70(0x168)][_0x1d4e70(0x1b2)](_0x1d4e70(0xff)),_0x1407fd=this[_0x1d4e70(0x16c)][_0x1d4e70(0x120)];_0x1fc9a2||(_0x1fc9a2=_0x556c4d(_0x1407fd,_0x1d4e70(0x173))),_0x1103d6[_0x1d4e70(0x18f)](_0x1fc9a2,{'title':_0x556c4d(_0x1407fd,_0x1d4e70(0xc7)),'namespace':_0x1d4e70(0xce)}),this[_0x1d4e70(0x11e)]=!0x0,clearTimeout(this[_0x1d4e70(0x19a)]),this[_0x1d4e70(0x1b8)]=[],this[_0x1d4e70(0x16c)][_0x1d4e70(0x168)][_0x1d4e70(0x1b2)](_0x2c94ee)[_0x1d4e70(0x1a9)]();}[_0x8aace7(0x143)](){const _0x3f555e=_0x8aace7;this[_0x3f555e(0xc4)]||(this[_0x3f555e(0xc4)]=this[_0x3f555e(0x16c)][_0x3f555e(0x168)][_0x3f555e(0x1b2)](_0x45f940)[_0x3f555e(0x1b7)](_0x556c4d(this[_0x3f555e(0x16c)][_0x3f555e(0x120)],_0x3f555e(0x190))));}[_0x8aace7(0x124)](){const _0x5d8d3b=_0x8aace7;this[_0x5d8d3b(0xc4)]&&(this[_0x5d8d3b(0x16c)][_0x5d8d3b(0x168)][_0x5d8d3b(0x1b2)](_0x45f940)[_0x5d8d3b(0x193)](this[_0x5d8d3b(0xc4)]),this[_0x5d8d3b(0xc4)]=null);}[_0x8aace7(0x194)](_0x2b6396){const _0x5e061f=_0x8aace7,_0x50e593=_0x2b6396[_0x5e061f(0x192)](_0x2333ad=>_0x2333ad[_0x5e061f(0x126)]());return this[_0x5e061f(0x15e)][_0x5e061f(0xed)](_0x50e593);}[_0x8aace7(0x158)](_0x275161,_0x5ac604){const _0x151e3a=_0x8aace7;return this[_0x151e3a(0x15e)][_0x151e3a(0x179)](_0x275161)[_0x151e3a(0x192)]((_0x53c2c6,_0x3f8348)=>{const _0x206644=_0x151e3a,_0x59f0de=_0x206644(0xd4)==_0x5ac604[_0x3f8348][_0x206644(0xc0)];if(_0x206644(0xde)==_0x53c2c6[_0x206644(0x15c)]){const _0xd10848=_0x53c2c6[_0x206644(0x11d)][_0x206644(0x139)];!this[_0x206644(0x105)][_0x206644(0x1bd)](_0xd10848)&&(this[_0x206644(0x105)][_0x206644(0x134)](_0x206644(0x133),_0xd10848)[_0x206644(0x197)]=!0x1);}const _0x3c170e=_0x17046d[_0x206644(0xcf)](_0x53c2c6,this[_0x206644(0x105)]);return _0x3c170e[_0x206644(0xd5)]=_0x53c2c6[_0x206644(0xd5)],_0x3c170e[_0x206644(0x100)]=_0x59f0de,_0x3c170e[_0x206644(0xe8)]=_0x59f0de?null:_0x5ac604[_0x3f8348][_0x206644(0x12b)],_0x3c170e[_0x206644(0x1ae)]=_0x206644(0x171)===_0x5ac604[_0x3f8348][_0x206644(0xc0)],_0x3c170e[_0x206644(0x1bf)]=_0x5ac604[_0x3f8348][_0x206644(0x1bf)],_0x3c170e;});}[_0x8aace7(0xeb)](){const _0x51103f=_0x8aace7;this[_0x51103f(0x16d)]=!0x0,this[_0x51103f(0x103)]()?this[_0x51103f(0xf5)]():this[_0x51103f(0x16d)]=!0x1;}[_0x8aace7(0x103)](){const _0x3fd009=_0x8aace7,_0x1bf649=this[_0x3fd009(0x16c)][_0x3fd009(0x168)][_0x3fd009(0x1b2)](_0x1d051a)[_0x3fd009(0x10e)][_0x3fd009(0x1b2)](this[_0x3fd009(0x169)]);return!this[_0x3fd009(0x16c)][_0x3fd009(0x15a)]&&!!_0x1bf649&&_0x1bf649[_0x3fd009(0xd9)]>0x1&&this[_0x3fd009(0x16d)];}[_0x8aace7(0x135)](){const _0x1ea72e=_0x8aace7;return this[_0x1ea72e(0x1b8)][_0x1ea72e(0xd9)]>0x0||this[_0x1ea72e(0x103)]();}}export default l;class Q extends Error{}function X(_0x488478,_0x26c2b3){const _0x4707b1=_0x8aace7;for(const _0x438095 of _0x488478)_0x438095[_0x4707b1(0x116)]=_0x26c2b3++;}class Y{[_0x8aace7(0x16a)];[_0x8aace7(0x145)];constructor(_0x173760){const _0x5465dd=_0x8aace7;this[_0x5465dd(0x16a)]=_0x173760,this[_0x5465dd(0x145)]=new WeakMap();}[_0x8aace7(0x141)](_0x407426){const _0x457896=_0x8aace7;let _0x7e2c9b=_0x407426[_0x457896(0xd9)];for(;_0x7e2c9b--;){const _0x348c8d=_0x407426[_0x7e2c9b];if(!this[_0x457896(0x16a)][_0x457896(0x185)](_0x348c8d)){if(!this[_0x457896(0x145)][_0x457896(0x185)](_0x348c8d)){const _0x4d19a2=_0x784d0f()[_0x457896(0x17a)](0x1,0x12);this[_0x457896(0x145)][_0x457896(0x1b3)](_0x348c8d,_0x4d19a2);}return this[_0x457896(0x145)][_0x457896(0x1b2)](_0x348c8d);}}}[_0x8aace7(0x1b5)](_0x5a2749,_0x575b15){const _0x1357a3=_0x8aace7;if(!_0x575b15)return;let _0x24d927=_0x5a2749[_0x1357a3(0xd9)];for(;_0x24d927--;){const _0x95a412=_0x5a2749[_0x24d927];this[_0x1357a3(0x16a)][_0x1357a3(0x185)](_0x95a412)||this[_0x1357a3(0x145)][_0x1357a3(0x1b3)](_0x95a412,_0x575b15);}}}
23
+ const _0x584ec7=_0x3c16;function _0x12e7(){const _0x491f43=['round','90NMVpDM','channelSessions','_authorId','_isEditingAllowed','_handleServerResponse','isEnabled','init','1318808onRcrP','affectedSelectable','13138920aqMahU','_updateServerHistory','root','cloudDocumentVersion','return','then','attributes','start','_knownOperations','_hasSelectionChanged','cs:removeUser','real-time-collaboration','userId','enableReadOnlyMode','_isLoaded','selection','setIdForTheLastOperation','realtimecollaborationclient-error','_handleExternalOperations','filter','_compressor','_refreshUserSelectionMarkers','sessionAdd:','apply','directChange','showWarning','_getAffectedRoot','ready','getDocumentDetails','map','editing','404','addUser','InsertOperation','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getConnectedSessions','207931iuOuOP','disableReadOnlyMode','connect','sendOperations','set','serverHistory','setPermissions','message','change:range','lastSyncVersion','data','_handleInitialConnectionData','realtimecollaborationclient','toJSON','state','_pendingAction','collaboration-missing-channelid','_bufferedOperations','_channelId','disconnect','realtimecollaborationclient-init-document-already-initialized','_fetchMissingUsers','_service','newRange','_addKnownRoot','pluginName','isDocumentOperation','insert','_connectService','disconnected','getRoot','unregister','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.','_hasSynchronizationProblem','type','push','decompress','change:_isPendingUpdate','roots','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','destroy','affectsData','catch','_sendBufferedOperationsDelayId','removeFromReconnectionStack','move','high','_offset','string','realtimecollaborationclient-init-session-connection-error','loadRoot','reset','_currentBufferDelay','offset','targetPosition','_operationIdentifier','_operationToId','sessionId','_setUpDataInit','define','128Skbgms','applyOperation','409','remove','fromJSON','rootName','isReadOnly','marker','reconnection:\x20flushed\x20session','currentDocumentSession','differ','error','cloud-services-internal-error:\x20Request\x20timeout.','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.','399595GAzzqJ','_handleReconnectionResponse','get','has','change:_isEditingAllowed','baseVersion','$root','realtimecollaborationclient-init-connection-failed','includes','size','initData','code','createPositionAt','path','_shouldSendUpdate','config','Synchronization\x20issue','_connectAfterSessionHasBeenFlushed','change:hasDomSelection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getOperations','cloud-services-internal-error:\x20Not\x20connected.','_handleReconnectionError','_disconnectService','_lastServerVersion','_initThrowingOnDataSet','wasUndone','position','realtimecollaborationclient-init-service-incorrect-server-operation','isUndoneOperation','collaboration','_getOperationsFromInitData','_lastSyncedOperationId','_shouldSendSelectionUpdate','operationsReceived','bind','realtimecollaborationclient-init-non-existent-root','startsWith','getIdOfTheLastOperation','_document','length','plugins','stop','collaboration.channelId','cloudServices.bundleVersion','finally','createPositionFromPath','RealTimeCollaborationClient','locale','_initSessionsHandling','reconnect','realtimecollaborationclient-handleserverresponse','end','_bufferRootLoad','_isPendingUpdate','parse','PENDING_ACTION_SENDING_DATA','_waitUntilSynced','51069CmwrUm','_disconnectionOperations','forEach','_isDisconnection','_sendBufferedOperationsDelayed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rootsAttributes','CollaborativeEditingService','suppressErrorInCollaboration','addRoot','addToReconnectionStack','getUser','_applyOperationsSet','_loadRoot','register','lastDocumentSession','rtc-offline','stopListening','createUserMarkerOperations','metadata','wereChangesApplied','getMany','addOperation','createRange','_handleReceivedOperations','_sendBufferedOperations','lastOperationId','createdAt','from','_knownRootNames','getOperationAuthor','isOfficialPlugin','document','batch','view','slice','enqueueChange','_setPendingAction','markers','3128830zlxFjB','version','connection','_handleSendingSelectionMarkers','editor','realtimecollaborationclient-init-service-internal-error','requires','multi-root-editor-root-attributes-no-root','clone','add','Notification','createRoot','off','_baseBufferDelay','__className','connected','lastOperationAcceptedAt','mySessionId','history','CommentsOnly','realtimecollaborationclient-sendbufferedoperations','listenTo','sessionCreatedAt','_decompressOperations','permissions','addRootAttribute','compress','_isConnected','_isInit','_isAttached','_ignoredOperations','_crash','Permissions','isPremiumPlugin','380445EUhlPA','entries','rtc-destroyed','_compressOperations','document:write','_clearPendingAction','keys','_saveOperationInBuffer','model'];_0x12e7=function(){return _0x491f43;};return _0x12e7();}(function(_0x3c6117,_0x4315ec){const _0xaf0fe6=_0x3c16,_0x47271f=_0x3c6117();while(!![]){try{const _0x355071=parseInt(_0xaf0fe6(0x1cd))/0x1+parseInt(_0xaf0fe6(0x173))/0x2+-parseInt(_0xaf0fe6(0x14c))/0x3+-parseInt(_0xaf0fe6(0x1a6))/0x4+-parseInt(_0xaf0fe6(0x195))/0x5*(parseInt(_0xaf0fe6(0x19f))/0x6)+-parseInt(_0xaf0fe6(0x112))/0x7*(parseInt(_0xaf0fe6(0x104))/0x8)+parseInt(_0xaf0fe6(0x1a8))/0x9;if(_0x355071===_0x4315ec)break;else _0x47271f['push'](_0x47271f['shift']());}catch(_0x5e0ac8){_0x47271f['push'](_0x47271f['shift']());}}}(_0x12e7,0xcad56));import{Plugin as _0x13ef12,PendingActions as _0x2d473c}from'ckeditor5/src/core.js';import{CKEditorError as _0x331335,version as _0x1b339d,uid as _0x2ba35f}from'ckeditor5/src/utils.js';import{Notification as _0x9f83e7}from'ckeditor5/src/ui.js';import{transformSets as _0x15a5bb,NoOperation as _0x5e6053,InsertOperation as _0x2c546f,MarkerOperation as _0x1b9c89,RootAttributeOperation as _0x55c1dc,OperationFactory as _0x2bcc01,History as _0x41544d}from'ckeditor5/src/engine.js';import _0x5cd668 from'./websocketgateway.js';import _0x4ca325 from'./sessions.js';import _0x167dbc from'./usermarkers.js';import{getTranslation as _0x436338}from'../common-translations.js';import{Compressor as _0x4d71b4}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4468e8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2d6bd1,CollaborativeEditingService as _0x11f2aa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x13ef12{static [_0x584ec7(0x153)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x11f2aa)());[_0x584ec7(0x1fc)];[_0x584ec7(0x206)];[_0x584ec7(0x1d2)];[_0x584ec7(0x1df)];[_0x584ec7(0x1e3)];[_0x584ec7(0x139)];[_0x584ec7(0x1bc)];[_0x584ec7(0x1de)];[_0x584ec7(0x1b0)];[_0x584ec7(0x169)];[_0x584ec7(0x1dc)];[_0x584ec7(0x1b1)];[_0x584ec7(0x1f8)];[_0x584ec7(0x180)];[_0x584ec7(0x201)];[_0x584ec7(0x132)];[_0x584ec7(0x14d)];[_0x584ec7(0x204)];static get[_0x584ec7(0x179)](){return[_0x5cd668,_0x4ca325,_0x167dbc,_0x2d473c,_0x4468e8,_0x9f83e7];}static get[_0x584ec7(0x1e6)](){const _0x965247=_0x584ec7;return _0x965247(0x141);}static get[_0x584ec7(0x16b)](){return!0x0;}static get[_0x584ec7(0x194)](){return!0x0;}get[_0x584ec7(0x1ab)](){const _0x300961=_0x584ec7;return this[_0x300961(0x12a)]+this[_0x300961(0x1fc)];}get[_0x584ec7(0x12a)](){const _0x3408fc=_0x584ec7;return this[_0x3408fc(0x1d2)][_0x3408fc(0x174)]-this[_0x3408fc(0x1fc)];}get[_0x584ec7(0x1d6)](){const _0x5b9d8d=_0x584ec7,_0x21abd7=this[_0x5b9d8d(0x1d2)][_0x5b9d8d(0x126)]();for(let _0x2d8c22=_0x21abd7[_0x5b9d8d(0x13a)]-0x1;_0x2d8c22>=0x0;_0x2d8c22--){const _0x27757e=_0x21abd7[_0x2d8c22];if(!this[_0x5b9d8d(0x14d)][_0x5b9d8d(0x115)](_0x27757e))return _0x27757e[_0x5b9d8d(0x117)]+0x1-this[_0x5b9d8d(0x1fc)];}return 0x0;}constructor(_0x273067){const _0x57eb18=_0x584ec7;if(super(_0x273067),this[_0x57eb18(0x1fc)]=0x0,this[_0x57eb18(0x206)]=null,this[_0x57eb18(0x1d2)]=new _0x41544d(),this[_0x57eb18(0x177)][_0x57eb18(0x121)][_0x57eb18(0x208)](_0x57eb18(0x130),{}),this[_0x57eb18(0x1df)]=this[_0x57eb18(0x177)][_0x57eb18(0x121)][_0x57eb18(0x114)](_0x57eb18(0x13d)),!this[_0x57eb18(0x1df)])throw new _0x331335(_0x57eb18(0x1dd),this);const _0x522fda=_0x273067[_0x57eb18(0x121)][_0x57eb18(0x114)](_0x57eb18(0x13e))||_0x1b339d;this[_0x57eb18(0x1e3)]=new l[(_0x57eb18(0x153))](_0x522fda,this[_0x57eb18(0x1df)]),this[_0x57eb18(0x139)]=this[_0x57eb18(0x177)][_0x57eb18(0x19d)][_0x57eb18(0x16c)],this[_0x57eb18(0x1bc)]=new _0x4d71b4(),this[_0x57eb18(0x1de)]=[],this[_0x57eb18(0x1b0)]=new WeakSet(),this[_0x57eb18(0x169)]=new Set(),this[_0x57eb18(0x1d1)](_0x57eb18(0x148),!0x1),this[_0x57eb18(0x1d1)](_0x57eb18(0x1ee),!0x1),this[_0x57eb18(0x1dc)]=null,this[_0x57eb18(0x1b1)]=!0x1,this[_0x57eb18(0x1f8)]=null,this[_0x57eb18(0x180)]=0x12c,this[_0x57eb18(0x201)]=this[_0x57eb18(0x180)],this[_0x57eb18(0x132)]=null,this[_0x57eb18(0x14d)]=new WeakSet(),this[_0x57eb18(0x204)]=new Y(this[_0x57eb18(0x14d)]);}[_0x584ec7(0x1a5)](){const _0x44051a=_0x584ec7,_0x3aee55=this[_0x44051a(0x177)],_0x34d66a=_0x3aee55[_0x44051a(0x13b)][_0x44051a(0x114)](_0x4468e8),_0x58cc80=_0x3aee55[_0x44051a(0x13b)][_0x44051a(0x114)](_0x5cd668);this[_0x44051a(0x188)](_0x34d66a,_0x44051a(0x16a),(_0x490497,_0xa02c3e)=>{const _0x4b8fbd=_0x44051a,_0xa93afb=_0xa02c3e[0x0];_0xa93afb[_0x4b8fbd(0x1a1)]&&(_0x490497[_0x4b8fbd(0x1ac)]=_0x34d66a[_0x4b8fbd(0x157)](_0xa93afb[_0x4b8fbd(0x1a1)]),_0x490497[_0x4b8fbd(0x13c)]()),null===_0xa93afb[_0x4b8fbd(0x1a1)]&&(_0x490497[_0x4b8fbd(0x1ac)]=null,_0x490497[_0x4b8fbd(0x13c)]());},{'priority':_0x44051a(0x1fb)}),this[_0x44051a(0x188)](_0x3aee55[_0x44051a(0x19d)][_0x44051a(0x16c)][_0x44051a(0x1b7)],_0x44051a(0x1d5),(_0x6387b5,_0x31e9c9)=>{const _0x4c19e6=_0x44051a;_0x31e9c9[_0x4c19e6(0x1c0)]&&this[_0x4c19e6(0x1bd)]();}),this[_0x44051a(0x188)](_0x3aee55[_0x44051a(0x1c6)][_0x44051a(0x16e)],_0x44051a(0x124),()=>{const _0x334cb5=_0x44051a;this[_0x334cb5(0x1bd)]();}),this[_0x44051a(0x12b)](),_0x3aee55[_0x44051a(0x19d)]['on'](_0x44051a(0x105),(_0x4d3d52,_0x3d01c6)=>{const _0x2b6465=_0x44051a,_0x4807d1=_0x3d01c6[0x0];_0x4807d1[_0x2b6465(0x1e7)]&&(this[_0x2b6465(0x19c)](_0x4807d1),this[_0x2b6465(0x120)]()&&this[_0x2b6465(0x150)]());}),this[_0x44051a(0x207)](),this[_0x44051a(0x135)](_0x44051a(0x1a2))['to'](_0x58cc80,_0x44051a(0x1db),this,_0x44051a(0x1ee),(_0x371183,_0x559eff)=>_0x44051a(0x182)===_0x371183&&!_0x559eff),this['on'](_0x44051a(0x116),()=>{const _0x4e2ba5=_0x44051a;this[_0x4e2ba5(0x1a2)]?_0x3aee55[_0x4e2ba5(0x1ce)](_0x4e2ba5(0x15c)):_0x3aee55[_0x4e2ba5(0x1b5)](_0x4e2ba5(0x15c));}),this[_0x44051a(0x1a2)]?_0x3aee55[_0x44051a(0x1ce)](_0x44051a(0x15c)):_0x3aee55[_0x44051a(0x1b5)](_0x44051a(0x15c)),this[_0x44051a(0x1d1)](_0x44051a(0x18e),!0x1);}async[_0x584ec7(0x144)](){const _0x4aeb9a=_0x584ec7,_0x162d23=this[_0x4aeb9a(0x177)][_0x4aeb9a(0x13b)][_0x4aeb9a(0x114)](_0x4ca325),_0x31bc13=this[_0x4aeb9a(0x177)][_0x4aeb9a(0x13b)][_0x4aeb9a(0x114)](_0x5cd668);try{this[_0x4aeb9a(0x148)]=!0x0,_0x162d23[_0x4aeb9a(0x1ec)](this[_0x4aeb9a(0x1df)]);const _0x562d52=await this[_0x4aeb9a(0x1e3)][_0x4aeb9a(0x144)](_0x31bc13[_0x4aeb9a(0x175)],this[_0x4aeb9a(0x1d6)]);await this[_0x4aeb9a(0x113)](_0x562d52)&&(this[_0x4aeb9a(0x148)]=!0x1,this[_0x4aeb9a(0x19a)]());const _0x197710=await this[_0x4aeb9a(0x1e3)][_0x4aeb9a(0x1cc)]();_0x162d23[_0x4aeb9a(0x15a)](this[_0x4aeb9a(0x1df)],_0x197710),this[_0x4aeb9a(0x176)](),this[_0x4aeb9a(0x18e)]=!0x0;}catch(_0x4be1fb){if(function(_0x39a7a5){const _0x14bc55=_0x4aeb9a;return _0x14bc55(0x1c7)===_0x39a7a5[_0x14bc55(0x11d)];}(_0x4be1fb)&&this[_0x4aeb9a(0x206)])await this[_0x4aeb9a(0x123)]();else{if(function(_0x47580b){const _0x49f763=_0x4aeb9a;return _0x49f763(0x106)===_0x47580b[_0x49f763(0x11d)];}(_0x4be1fb)){const _0x28c1f6=_0x436338(this[_0x4aeb9a(0x177)][_0x4aeb9a(0x142)],_0x4aeb9a(0x1cb));this[_0x4aeb9a(0x128)](_0x28c1f6);}else{if(!(_0x4be1fb instanceof Q))throw _0x4be1fb;this[_0x4aeb9a(0x128)]();}}}}[_0x584ec7(0x1f5)](){const _0x2ff409=_0x584ec7,_0x33534e=this[_0x2ff409(0x177)][_0x2ff409(0x13b)][_0x2ff409(0x114)](_0x5cd668),_0x320e42=this[_0x2ff409(0x177)][_0x2ff409(0x13b)][_0x2ff409(0x114)](_0x4ca325);this[_0x2ff409(0x177)][_0x2ff409(0x1b5)](_0x2ff409(0x197)),_0x320e42[_0x2ff409(0x1a0)][_0x2ff409(0x115)](this[_0x2ff409(0x1df)])&&_0x320e42[_0x2ff409(0x1ec)](this[_0x2ff409(0x1df)]),_0x33534e[_0x2ff409(0x1f9)](this),this[_0x2ff409(0x129)](),super[_0x2ff409(0x1f5)]();}async[_0x584ec7(0x113)](_0x2a1fce){const _0x42d2bc=_0x584ec7;if(this[_0x42d2bc(0x206)]!==_0x2a1fce[_0x42d2bc(0x206)]&&this[_0x42d2bc(0x132)]!==_0x2a1fce[_0x42d2bc(0x166)])throw new Q();return this[_0x42d2bc(0x206)]=_0x2a1fce[_0x42d2bc(0x206)],this[_0x42d2bc(0x1a3)]([],{..._0x2a1fce,'wereChangesApplied':!0x1,'data':_0x2a1fce[_0x42d2bc(0x1d7)]},_0x42d2bc(0x144));}async[_0x584ec7(0x1e9)](_0x49eac9,_0x416c4c=!0x1){const _0x309c3f=_0x584ec7,{connection:_0x4fc453}=this[_0x309c3f(0x177)][_0x309c3f(0x13b)][_0x309c3f(0x114)](_0x5cd668);l[_0x309c3f(0x153)][_0x309c3f(0x1cc)](_0x4fc453,this[_0x309c3f(0x1df)])[_0x309c3f(0x1ad)](_0x4689e3=>this[_0x309c3f(0x143)](_0x4689e3))[_0x309c3f(0x1f7)](_0x58c1f3=>{const _0x23e42b=_0x309c3f;this[_0x23e42b(0x192)](_0x23e42b(0x1fe),_0x58c1f3);}),this[_0x309c3f(0x188)](this[_0x309c3f(0x1e3)],_0x309c3f(0x134),this[_0x309c3f(0x164)][_0x309c3f(0x135)](this)),this[_0x309c3f(0x188)](this[_0x309c3f(0x1e3)],_0x309c3f(0x10f),(_0xf4626f,_0x59af3c)=>{const _0x1efc63=_0x309c3f;this[_0x1efc63(0x192)](_0x1efc63(0x178),_0x59af3c);}),this[_0x309c3f(0x188)](this[_0x309c3f(0x1e3)],_0x309c3f(0x1ea),()=>{const _0x1c18e1=_0x309c3f;this[_0x1c18e1(0x18e)]=!0x1;});const _0x2af3fa=this[_0x309c3f(0x204)][_0x309c3f(0x138)](_0x49eac9);this[_0x309c3f(0x148)]=!0x0;const _0x537888=await this[_0x309c3f(0x1e3)][_0x309c3f(0x1cf)](_0x4fc453,this[_0x309c3f(0x198)](_0x49eac9),_0x2af3fa);if(this[_0x309c3f(0x206)]=_0x537888[_0x309c3f(0x206)],_0x416c4c){if(!_0x537888[_0x309c3f(0x160)])return void this[_0x309c3f(0x128)]();this[_0x309c3f(0x148)]=!0x1,this[_0x309c3f(0x19a)](),this[_0x309c3f(0x1d2)][_0x309c3f(0x200)](),this[_0x309c3f(0x1fc)]=_0x537888[_0x309c3f(0x202)],this[_0x309c3f(0x1d2)][_0x309c3f(0x174)]=this[_0x309c3f(0x1fc)],await this[_0x309c3f(0x1a3)](_0x49eac9,_0x537888,_0x309c3f(0x10c));}else await this[_0x309c3f(0x1d8)](_0x537888,_0x49eac9);this[_0x309c3f(0x176)](),this[_0x309c3f(0x18e)]=!0x0;}[_0x584ec7(0x176)](){const _0x1018b9=_0x584ec7,_0x5d3ccc=this[_0x1018b9(0x177)][_0x1018b9(0x13b)][_0x1018b9(0x114)](_0x4ca325),_0x4eb957=this[_0x1018b9(0x177)][_0x1018b9(0x13b)][_0x1018b9(0x114)](_0x167dbc),_0x5dd872=_0x5d3ccc[_0x1018b9(0x1a0)][_0x1018b9(0x114)](this[_0x1018b9(0x1df)]);_0x5dd872&&_0x5dd872[_0x1018b9(0x13a)]>0x1?_0x4eb957[_0x1018b9(0x15e)]():this[_0x1018b9(0x188)](_0x5d3ccc,_0x1018b9(0x1be)+this[_0x1018b9(0x1df)],()=>{const _0xa4313b=_0x1018b9;0x2===_0x5d3ccc[_0xa4313b(0x1a0)][_0xa4313b(0x114)](this[_0xa4313b(0x1df)])[_0xa4313b(0x13a)]&&_0x4eb957[_0xa4313b(0x15e)]();});}async[_0x584ec7(0x164)](_0x1eab71,_0xb98ad4,_0x4f60d2,_0x358b49){const _0x581e11=_0x584ec7;if(!this[_0x581e11(0x148)]&&this[_0x581e11(0x139)][_0x581e11(0x174)]==_0xb98ad4){const _0x32ed1c=this[_0x581e11(0x18a)](_0x4f60d2,_0x358b49);await this[_0x581e11(0x1e2)](_0x32ed1c),this[_0x581e11(0x1ba)](_0x32ed1c,_0xb98ad4,_0x4f60d2[_0x581e11(0x166)])||this[_0x581e11(0x192)](_0x581e11(0x12e));}}async[_0x584ec7(0x123)](){const _0x318306=_0x584ec7;this[_0x318306(0x129)]();const {locale:_0x1848d5}=this[_0x318306(0x177)];let _0x205383;try{_0x205383=await this[_0x318306(0x1e3)][_0x318306(0x1c4)]();}catch(_0xea858b){const _0x5b2ff2=_0x436338(_0x1848d5,_0x318306(0x151));return void this[_0x318306(0x128)](_0x5b2ff2);}const _0x291412=_0x205383[_0x318306(0x10d)]||_0x205383[_0x318306(0x15b)];if(this[_0x318306(0x132)]===_0x291412[_0x318306(0x166)])await this[_0x318306(0x1e9)](this[_0x318306(0x177)][_0x318306(0x19d)][_0x318306(0x16c)][_0x318306(0x185)][_0x318306(0x126)](),!0x0);else{const _0x542297=_0x436338(_0x1848d5,_0x318306(0x111));this[_0x318306(0x128)](_0x542297);}}[_0x584ec7(0x129)](){const _0x5aa858=_0x584ec7;this[_0x5aa858(0x1e3)][_0x5aa858(0x1e0)](),this[_0x5aa858(0x1de)]=[],clearTimeout(this[_0x5aa858(0x1f8)]),this[_0x5aa858(0x15d)](this[_0x5aa858(0x1e3)]);}[_0x584ec7(0x143)](_0x5ed75c){const _0x5dbfeb=_0x584ec7,_0x3ee88f=this[_0x5dbfeb(0x177)][_0x5dbfeb(0x13b)][_0x5dbfeb(0x114)](_0x4ca325);this[_0x5dbfeb(0x188)](_0x3ee88f,_0x5dbfeb(0x1be)+this[_0x5dbfeb(0x1df)],(_0x2253a6,{session:_0xf6d3f9})=>{const _0x216cba=_0x5dbfeb;if(_0xf6d3f9['id']===_0x3ee88f[_0x216cba(0x184)]){_0x2253a6[_0x216cba(0x17f)]();const _0x42c1ab=this[_0x216cba(0x177)][_0x216cba(0x13b)][_0x216cba(0x115)](_0x216cba(0x186))&&this[_0x216cba(0x177)][_0x216cba(0x13b)][_0x216cba(0x114)](_0x216cba(0x186));let _0x3fb3fb=_0xf6d3f9[_0x216cba(0x18b)];_0x42c1ab&&_0x42c1ab[_0x216cba(0x1a4)]&&(_0x3fb3fb=_0x3fb3fb[_0x216cba(0x1bb)](_0x279aa5=>_0x216cba(0x199)!==_0x279aa5)),this[_0x216cba(0x177)][_0x216cba(0x13b)][_0x216cba(0x114)](_0x216cba(0x193))[_0x216cba(0x1d3)](_0x3fb3fb,this[_0x216cba(0x1df)]);}}),_0x3ee88f[_0x5dbfeb(0x15a)](this[_0x5dbfeb(0x1df)],_0x5ed75c);}[_0x584ec7(0x12b)](){const _0xaa27f8=_0x584ec7,_0xa3ff5f=this[_0xaa27f8(0x177)][_0xaa27f8(0x1d7)][_0xaa27f8(0x1d1)];this[_0xaa27f8(0x177)][_0xaa27f8(0x1d7)][_0xaa27f8(0x1d1)]=(..._0x26aeaa)=>{const _0x3a724b=_0xaa27f8;if(!_0x26aeaa[_0x26aeaa[_0x3a724b(0x13a)]-0x1][_0x3a724b(0x154)])throw new _0x331335(_0x3a724b(0x125),this);_0xa3ff5f[_0x3a724b(0x1bf)](this[_0x3a724b(0x177)][_0x3a724b(0x1d7)],_0x26aeaa);};}[_0x584ec7(0x207)](){const _0xcc8ae0=_0x584ec7;this[_0xcc8ae0(0x177)][_0xcc8ae0(0x1d7)]['on'](_0xcc8ae0(0x1a5),(_0x4c0c38,[_0x4ef72e])=>{const _0x4bf0e2=_0xcc8ae0;if(this[_0x4bf0e2(0x139)][_0x4bf0e2(0x174)])throw new _0x331335(_0x4bf0e2(0x1e1),this);_0x4c0c38[_0x4bf0e2(0x13c)](),this[_0x4bf0e2(0x171)]();const _0x4a0e8d=this[_0x4bf0e2(0x177)][_0x4bf0e2(0x121)][_0x4bf0e2(0x114)](_0x4bf0e2(0x152)),_0x15d7c4=this[_0x4bf0e2(0x131)](_0x4ef72e,_0x4a0e8d);0x0==_0x15d7c4[_0x4bf0e2(0x13a)]&&_0x15d7c4[_0x4bf0e2(0x1f0)](new _0x5e6053(0x0)),_0x4c0c38[_0x4bf0e2(0x1ac)]=this[_0x4bf0e2(0x1e9)](_0x15d7c4)[_0x4bf0e2(0x1ad)](()=>{const _0x2f7ce2=_0x4bf0e2;this[_0x2f7ce2(0x177)][_0x2f7ce2(0x13b)][_0x2f7ce2(0x114)](_0x5cd668)[_0x2f7ce2(0x156)](this),this[_0x2f7ce2(0x177)][_0x2f7ce2(0x1d7)][_0x2f7ce2(0x1ca)](_0x2f7ce2(0x1c3));})[_0x4bf0e2(0x1f7)](_0x42664c=>this[_0x4bf0e2(0x192)](_0x4bf0e2(0x119),_0x42664c))[_0x4bf0e2(0x13f)](()=>this[_0x4bf0e2(0x19a)]());},{'priority':_0xcc8ae0(0x1fb)}),this[_0xcc8ae0(0x177)]['on'](_0xcc8ae0(0x1ff),async(_0x5c3189,[_0x1ed078,_0x27152c])=>{const _0x16f0f2=_0xcc8ae0;_0x5c3189[_0x16f0f2(0x13c)]();const _0x504d56=this[_0x16f0f2(0x177)][_0x16f0f2(0x19d)][_0x16f0f2(0x16c)][_0x16f0f2(0x1eb)](_0x1ed078);if(!this[_0x16f0f2(0x169)][_0x16f0f2(0x115)](_0x1ed078)){const _0x5e91c7=_0x27152c&&_0x27152c[_0x16f0f2(0x1d7)]?_0x27152c[_0x16f0f2(0x1d7)]:'',_0x58b86d=_0x27152c&&_0x27152c[_0x16f0f2(0x1ae)]?_0x27152c[_0x16f0f2(0x1ae)]:{};await this[_0x16f0f2(0x159)](_0x1ed078,_0x5e91c7,_0x58b86d);}this[_0x16f0f2(0x177)][_0x16f0f2(0x19d)][_0x16f0f2(0x170)]({'isUndoable':!0x1},()=>{const _0x464336=_0x16f0f2;_0x504d56[_0x464336(0x1b6)]=!0x0,this[_0x464336(0x177)][_0x464336(0x19d)][_0x464336(0x16c)][_0x464336(0x10e)][_0x464336(0x147)](_0x504d56);});},{'priority':_0xcc8ae0(0x1fb)});}async[_0x584ec7(0x1e2)](_0x2241f1){const _0x253e9b=_0x584ec7,_0x259ef5=this[_0x253e9b(0x177)][_0x253e9b(0x13b)][_0x253e9b(0x114)](_0x4468e8),{connection:_0xccfe56}=this[_0x253e9b(0x177)][_0x253e9b(0x13b)][_0x253e9b(0x114)](_0x5cd668),_0x2d022b=new Set();for(const _0xa299cd of _0x2241f1){const _0x11633b=_0xa299cd[_0x253e9b(0x1a1)];_0x11633b&&!_0x259ef5[_0x253e9b(0x157)](_0x11633b)&&_0x2d022b[_0x253e9b(0x17c)](_0x11633b);}if(0x0===_0x2d022b[_0x253e9b(0x11b)])return;const _0x39b88a=await _0x2d6bd1[_0x253e9b(0x161)](_0xccfe56,Array[_0x253e9b(0x168)](_0x2d022b));for(const _0x5739e6 of _0x39b88a)_0x259ef5[_0x253e9b(0x157)](_0x5739e6['id'])||_0x259ef5[_0x253e9b(0x1c8)](_0x5739e6);}[_0x584ec7(0x131)](_0x519392,_0x2d86eb={}){const _0x259365=_0x584ec7,_0x271994=this[_0x259365(0x177)][_0x259365(0x19d)],_0x56d7f5=[];let _0x22934b=0x0;const _0x4b37bc=_0x259365(0x1fd)==typeof _0x519392?{'main':_0x519392}:_0x519392;for(const _0x295d6f of Object[_0x259365(0x19b)](_0x4b37bc)){if(!this[_0x259365(0x139)][_0x259365(0x1f3)][_0x259365(0x115)](_0x295d6f))throw new _0x331335(_0x259365(0x136),this);const _0x536297=this[_0x259365(0x177)][_0x259365(0x1d7)][_0x259365(0x149)](_0x4b37bc[_0x295d6f]),_0x18ddce=this[_0x259365(0x139)][_0x259365(0x1eb)](_0x295d6f),_0xe7e7ee=new _0x2c546f(_0x271994[_0x259365(0x11e)](_0x18ddce,0x0),_0x536297,_0x22934b++);_0x56d7f5[_0x259365(0x1f0)](_0xe7e7ee);for(const [_0xc0d638,_0x33dda2]of _0x536297[_0x259365(0x172)]){const _0x31aff6=_0x271994[_0x259365(0x163)](_0x271994[_0x259365(0x140)](_0x18ddce,_0x33dda2[_0x259365(0x1af)][_0x259365(0x11f)][_0x259365(0x16f)]()),_0x271994[_0x259365(0x140)](_0x18ddce,_0x33dda2[_0x259365(0x146)][_0x259365(0x11f)][_0x259365(0x16f)]())),_0x34b27c=new _0x1b9c89(_0xc0d638,null,_0x31aff6,_0x271994[_0x259365(0x172)],!0x0,_0x22934b++);_0x56d7f5[_0x259365(0x1f0)](_0x34b27c);}}if(_0x2d86eb)for(const [_0x50a997,_0x110b90]of Object[_0x259365(0x196)](_0x2d86eb)){const _0x335192=_0x271994[_0x259365(0x16c)][_0x259365(0x1eb)](_0x50a997);if(!_0x335192)throw new _0x331335(_0x259365(0x17a),null);for(const [_0x5b0d03,_0x15c0fe]of Object[_0x259365(0x196)](_0x110b90))if(null!==_0x15c0fe){const _0x292398=new _0x55c1dc(_0x335192,_0x5b0d03,null,_0x15c0fe,_0x22934b++);_0x56d7f5[_0x259365(0x1f0)](_0x292398);}}return _0x56d7f5;}async[_0x584ec7(0x159)](_0x43081e,_0x5a0f12,_0x442962){const _0x4b98d7=_0x584ec7;this[_0x4b98d7(0x131)]({[_0x43081e]:_0x5a0f12},{[_0x43081e]:_0x442962})[_0x4b98d7(0x14e)]((_0x586253,_0xa40508)=>{const _0x5b7098=_0x4b98d7;_0x586253[_0x5b7098(0x117)]=this[_0x5b7098(0x139)][_0x5b7098(0x174)]+_0xa40508,_0x586253[_0x5b7098(0x18f)]=!0x0,this[_0x5b7098(0x19c)](_0x586253);}),this[_0x4b98d7(0x150)](),await this[_0x4b98d7(0x14b)]();}async[_0x584ec7(0x1d8)](_0x365e80,_0x21ef36){const _0x4fa954=_0x584ec7;let _0x30d37d;this[_0x4fa954(0x1fc)]=_0x365e80[_0x4fa954(0x202)];const _0x291254=_0x365e80[_0x4fa954(0x160)]&&!_0x365e80[_0x4fa954(0x11c)],_0x3662bd=_0x291254?0x0:_0x365e80[_0x4fa954(0x1d7)][_0x4fa954(0x117)];if(_0x21ef36[_0x4fa954(0x14e)](_0xc50c34=>{const _0x26ac5c=_0x4fa954;_0xc50c34[_0x26ac5c(0x18f)]=!0x0,_0xc50c34[_0x26ac5c(0x167)]=_0x365e80[_0x26ac5c(0x189)],_0xc50c34[_0x26ac5c(0x1a1)]=null;}),_0x291254)_0x30d37d=_0x21ef36,this[_0x4fa954(0x158)](_0x30d37d,_0x291254);else{if(_0x365e80[_0x4fa954(0x11c)]){const _0x46750a=this[_0x4fa954(0x131)](_0x365e80[_0x4fa954(0x11c)]);this[_0x4fa954(0x139)][_0x4fa954(0x185)][_0x4fa954(0x174)]=-_0x46750a[_0x4fa954(0x13a)],_0x46750a[_0x4fa954(0x14e)](_0x19d52c=>{const _0x3a75e0=_0x4fa954;_0x19d52c[_0x3a75e0(0x117)]-=_0x46750a[_0x3a75e0(0x13a)],_0x19d52c[_0x3a75e0(0x167)]=_0x365e80[_0x3a75e0(0x189)],_0x19d52c[_0x3a75e0(0x18f)]=!0x0,_0x19d52c[_0x3a75e0(0x1a1)]=null;}),this[_0x4fa954(0x158)](_0x46750a,!0x0),this[_0x4fa954(0x1d2)][_0x4fa954(0x174)]=-_0x46750a[_0x4fa954(0x13a)]+this[_0x4fa954(0x1fc)],this[_0x4fa954(0x1a9)](_0x46750a);}this[_0x4fa954(0x139)][_0x4fa954(0x185)][_0x4fa954(0x174)]=_0x3662bd,_0x30d37d=this[_0x4fa954(0x18a)](_0x365e80[_0x4fa954(0x1d7)],_0x365e80[_0x4fa954(0x15f)]),await this[_0x4fa954(0x1e2)](_0x30d37d),this[_0x4fa954(0x158)](_0x30d37d,_0x291254);}_0x365e80[_0x4fa954(0x166)]&&(this[_0x4fa954(0x204)][_0x4fa954(0x1b8)](_0x30d37d,_0x365e80[_0x4fa954(0x166)]),this[_0x4fa954(0x132)]=_0x365e80[_0x4fa954(0x166)]),this[_0x4fa954(0x1d2)][_0x4fa954(0x174)]=_0x3662bd+this[_0x4fa954(0x1fc)],this[_0x4fa954(0x1a9)](_0x30d37d),_0x21ef36[_0x4fa954(0x1bb)](_0x3af9ae=>{const _0x425f99=_0x4fa954,_0x220dab=this[_0x425f99(0x1c2)](_0x3af9ae);return _0x220dab&&!this[_0x425f99(0x169)][_0x425f99(0x115)](_0x220dab);})[_0x4fa954(0x14e)]((_0x472db5,_0x481586)=>{const _0x12c0f7=_0x4fa954;_0x472db5[_0x12c0f7(0x117)]=this[_0x12c0f7(0x139)][_0x12c0f7(0x174)]+_0x481586,this[_0x12c0f7(0x19c)](_0x472db5);}),this[_0x4fa954(0x120)]()?(this[_0x4fa954(0x201)]=0x0,this[_0x4fa954(0x150)](!0x0),await this[_0x4fa954(0x14b)]()):(this[_0x4fa954(0x148)]=!0x1,this[_0x4fa954(0x19a)]());}[_0x584ec7(0x192)](_0x55a38b,_0x4c89c2){const _0x1a2462=_0x584ec7,_0x4c5444=_0x4c89c2&&_0x4c89c2[_0x1a2462(0x1d4)];if(_0x4c5444&&_0x4c5444[_0x1a2462(0x137)](_0x1a2462(0x1d9)))throw _0x4c89c2;const _0x462cd1=this[_0x1a2462(0x177)][_0x1a2462(0x13b)][_0x1a2462(0x114)](_0x5cd668);throw this[_0x1a2462(0x148)]=!0x0,_0x462cd1[_0x1a2462(0x1e0)](),this[_0x1a2462(0x177)][_0x1a2462(0x1b5)](_0x1a2462(0x1b9)),new _0x331335(_0x55a38b,this[_0x1a2462(0x177)],_0x4c5444?{'originalError':_0x4c5444}:void 0x0);}[_0x584ec7(0x19c)](_0x12cb95){const _0x1a756b=_0x584ec7;this[_0x1a756b(0x1b0)][_0x1a756b(0x115)](_0x12cb95)||(this[_0x1a756b(0x1b0)][_0x1a756b(0x17c)](_0x12cb95),this[_0x1a756b(0x1de)][_0x1a756b(0x1f0)](_0x12cb95),this[_0x1a756b(0x1dc)]||_0x1a756b(0x10b)==_0x12cb95[_0x1a756b(0x1ef)]&&!_0x12cb95[_0x1a756b(0x1f6)]||this[_0x1a756b(0x171)]());}[_0x584ec7(0x150)](_0x19fe17=!0x1){const _0x2fc3ce=_0x584ec7;!_0x19fe17&&this[_0x2fc3ce(0x148)]||(this[_0x2fc3ce(0x148)]=!0x0,clearTimeout(this[_0x2fc3ce(0x1f8)]),this[_0x2fc3ce(0x1f8)]=setTimeout(()=>{const _0x3432c7=_0x2fc3ce;this[_0x3432c7(0x165)]()[_0x3432c7(0x1ad)](_0x58c2bc=>{const _0xee397b=_0x3432c7;_0x58c2bc&&(this[_0xee397b(0x19a)](),this[_0xee397b(0x148)]=!0x1);})[_0x3432c7(0x1f7)](_0x544089=>{const _0x43d90d=_0x3432c7;this[_0x43d90d(0x19a)](),this[_0x43d90d(0x148)]=!0x1,function(_0x41cabb){const _0x2d0102=_0x43d90d;return _0x41cabb[_0x2d0102(0x1d4)][_0x2d0102(0x137)](_0x2d0102(0x127))||_0x41cabb[_0x2d0102(0x1d4)][_0x2d0102(0x137)](_0x2d0102(0x1f4))||_0x41cabb[_0x2d0102(0x1d4)][_0x2d0102(0x137)](_0x2d0102(0x110));}(_0x544089)||this[_0x43d90d(0x192)](_0x544089[_0x43d90d(0x1d4)],_0x544089);});},this[_0x2fc3ce(0x201)]));}[_0x584ec7(0x14b)](){return new Promise(_0x40e5f8=>{const _0xd4db5b=_0x3c16;this['on'](_0xd4db5b(0x1f2),()=>{_0x40e5f8();});});}async[_0x584ec7(0x165)](){const _0x3240ba=_0x584ec7,_0x2e4b44=this[_0x3240ba(0x177)][_0x3240ba(0x13b)][_0x3240ba(0x114)](_0x167dbc);if(this[_0x3240ba(0x133)]()&&(_0x2e4b44[_0x3240ba(0x15e)](),this[_0x3240ba(0x1b1)]=!0x1),!this[_0x3240ba(0x120)]())return!0x0;const _0x306e1b=[...this[_0x3240ba(0x1de)]];for(const _0x5eb321 of _0x306e1b)_0x5eb321[_0x3240ba(0x12c)]=this[_0x3240ba(0x139)][_0x3240ba(0x185)][_0x3240ba(0x12f)](_0x5eb321);const _0x10e92b=this[_0x3240ba(0x204)][_0x3240ba(0x138)](_0x306e1b),_0x5250d3=J++,_0x527cc6=this[_0x3240ba(0x198)](_0x306e1b),_0x4ff1d9=await this[_0x3240ba(0x1e3)][_0x3240ba(0x1d0)](_0x527cc6,_0x527cc6[_0x3240ba(0x117)],_0x10e92b);try{return await this[_0x3240ba(0x1a3)](_0x306e1b,_0x4ff1d9,_0x5250d3);}catch(_0x28a298){return this[_0x3240ba(0x192)](_0x3240ba(0x187),_0x28a298);}}async[_0x584ec7(0x1a3)](_0x4db501,_0x2b9e4b,_0x4d8c79){const _0xd6f162=_0x584ec7;if(_0xd6f162(0x10f)in _0x2b9e4b)throw _0x2b9e4b[_0xd6f162(0x10f)];let _0x7179b8=!0x1;if(_0x2b9e4b[_0xd6f162(0x160)]){_0x2b9e4b[_0xd6f162(0x166)]&&(this[_0xd6f162(0x132)]=_0x2b9e4b[_0xd6f162(0x166)]),this[_0xd6f162(0x1de)]=this[_0xd6f162(0x1de)][_0xd6f162(0x1bb)](_0x398597=>!_0x4db501[_0xd6f162(0x11a)](_0x398597));for(const _0x15943a of _0x4db501)_0x15943a[_0xd6f162(0x167)]=_0xd6f162(0x183)in _0x2b9e4b&&_0x2b9e4b[_0xd6f162(0x183)]||void 0x0;X(_0x4db501,_0x2b9e4b[_0xd6f162(0x174)]-_0x4db501[_0xd6f162(0x13a)]),this[_0xd6f162(0x1a9)](_0x4db501);const _0x380941=_0x4db501[_0xd6f162(0x1bb)](_0x4c33c8=>{const _0x54ad49=_0xd6f162;if(!_0x4c33c8[_0x54ad49(0x18f)])return!0x1;const _0x3c5674=this[_0x54ad49(0x1c2)](_0x4c33c8);return _0x3c5674&&!this[_0x54ad49(0x169)][_0x54ad49(0x115)](_0x3c5674);});X(_0x380941,this[_0xd6f162(0x139)][_0xd6f162(0x174)]),this[_0xd6f162(0x158)](_0x380941),_0x7179b8=!0x0,this[_0xd6f162(0x201)]=this[_0xd6f162(0x180)];}else{const _0x48fe3f=this[_0xd6f162(0x18a)](_0x2b9e4b[_0xd6f162(0x1d7)],_0x2b9e4b[_0xd6f162(0x15f)])[_0xd6f162(0x1bb)](_0x444198=>_0x444198[_0xd6f162(0x117)]>=this[_0xd6f162(0x12a)]);_0x48fe3f[_0xd6f162(0x14e)](_0x1e18c3=>this[_0xd6f162(0x1e5)](_0x1e18c3)),this[_0xd6f162(0x1de)]=this[_0xd6f162(0x1de)][_0xd6f162(0x1bb)](_0x5ca8b0=>!_0x5ca8b0[_0xd6f162(0x18f)]||!this[_0xd6f162(0x169)][_0xd6f162(0x115)](this[_0xd6f162(0x1c2)](_0x5ca8b0))),this[_0xd6f162(0x1de)][_0xd6f162(0x13a)]&&X(this[_0xd6f162(0x1de)],this[_0xd6f162(0x1de)][0x0][_0xd6f162(0x117)]),await this[_0xd6f162(0x1e2)](_0x48fe3f),_0x7179b8=this[_0xd6f162(0x1ba)](_0x48fe3f,_0x2b9e4b[_0xd6f162(0x174)],_0x2b9e4b[_0xd6f162(0x166)]),this[_0xd6f162(0x201)]=Math[_0xd6f162(0x19e)](this[_0xd6f162(0x201)]/0x2);}return _0x7179b8?!this[_0xd6f162(0x120)]()||(this[_0xd6f162(0x150)](!0x0),!0x1):this[_0xd6f162(0x192)](_0xd6f162(0x145));}[_0x584ec7(0x1ba)](_0x3f1a78,_0x14e2e3,_0x3b3d5e){const _0x41063d=_0x584ec7;try{const _0x54fcff={'document':this[_0x41063d(0x139)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c1318,operationsB:_0x354137,originalOperations:_0x24d5f2}=_0x15a5bb(_0x3f1a78,this[_0x41063d(0x1de)],_0x54fcff);X(_0x1c1318,this[_0x41063d(0x139)][_0x41063d(0x174)]),X(_0x354137,_0x14e2e3);for(const _0x5f3809 of _0x1c1318){const _0x41493a=_0x24d5f2[_0x41063d(0x114)](_0x5f3809);_0x5f3809[_0x41063d(0x1a1)]=_0x41493a?_0x41493a[_0x41063d(0x1a1)]:null;}_0x3b3d5e&&(this[_0x41063d(0x204)][_0x41063d(0x1b8)](_0x3f1a78,_0x3b3d5e),this[_0x41063d(0x132)]=_0x3b3d5e),this[_0x41063d(0x1de)]=[..._0x354137],this[_0x41063d(0x158)](_0x1c1318),this[_0x41063d(0x1a9)](_0x3f1a78);}catch(_0x594a96){return console[_0x41063d(0x10f)](_0x594a96),!0x1;}return!0x0;}[_0x584ec7(0x158)](_0x5ea284,_0x530761=!0x1){const _0x2b9084=_0x584ec7;this[_0x2b9084(0x177)][_0x2b9084(0x19d)][_0x2b9084(0x170)]({'isUndoable':!0x1,'isLocal':!0x1},_0x348c14=>{const _0x34611b=_0x2b9084;for(const _0xc6321 of _0x5ea284)this[_0x34611b(0x1b0)][_0x34611b(0x17c)](_0xc6321),this[_0x34611b(0x1e5)](_0xc6321),_0x348c14[_0x34611b(0x16d)][_0x34611b(0x162)](_0xc6321),this[_0x34611b(0x177)][_0x34611b(0x19d)][_0x34611b(0x105)](_0xc6321);});}[_0x584ec7(0x1e5)](_0x2c46f7){const _0x4e5ea9=_0x584ec7,_0x5106f7=this[_0x4e5ea9(0x1c2)](_0x2c46f7);_0x5106f7&&this[_0x4e5ea9(0x169)][_0x4e5ea9(0x17c)](_0x5106f7);}[_0x584ec7(0x1c2)](_0x4e7d5c){const _0x14ccbf=_0x584ec7;let _0xb1b036,_0x175a02;switch(_0x4e7d5c[_0x14ccbf(0x1ef)]){case _0x14ccbf(0x1e8):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x12d)][_0x14ccbf(0x1aa)];break;case _0x14ccbf(0x10b):if(_0x175a02=_0x4e7d5c[_0x14ccbf(0x1e4)],!_0x175a02)return null;_0xb1b036=_0x175a02[_0x14ccbf(0x1aa)];break;case _0x14ccbf(0x18c):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x1aa)];break;case _0x14ccbf(0x155):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x1a7)];break;case _0x14ccbf(0x1fa):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x203)][_0x14ccbf(0x1aa)];break;default:return null;}return _0xb1b036[_0x14ccbf(0x109)];}[_0x584ec7(0x1a9)](_0xa152ad){const _0xf26357=_0x584ec7;_0xa152ad[_0xf26357(0x14e)](_0x3c13c7=>{const _0x584050=_0xf26357,_0x5a4526=_0x3c13c7[_0x584050(0x17b)]();_0x5a4526[_0x584050(0x1a1)]=_0x3c13c7[_0x584050(0x1a1)],_0x5a4526[_0x584050(0x18f)]=!!_0x3c13c7[_0x584050(0x18f)],_0x5a4526[_0x584050(0x167)]=_0x3c13c7[_0x584050(0x167)],_0x5a4526[_0x584050(0x117)]+=this[_0x584050(0x1fc)],_0x3c13c7[_0x584050(0x14f)]&&this[_0x584050(0x14d)][_0x584050(0x17c)](_0x5a4526),this[_0x584050(0x1d2)][_0x584050(0x162)](_0x5a4526);});}[_0x584ec7(0x128)](_0xbbb0a7){const _0x90989d=_0x584ec7,_0x2f5e25=this[_0x90989d(0x177)][_0x90989d(0x13b)][_0x90989d(0x114)](_0x90989d(0x17d)),_0x220eea=this[_0x90989d(0x177)][_0x90989d(0x142)];_0xbbb0a7||(_0xbbb0a7=_0x436338(_0x220eea,_0x90989d(0x1ed))),_0x2f5e25[_0x90989d(0x1c1)](_0xbbb0a7,{'title':_0x436338(_0x220eea,_0x90989d(0x122)),'namespace':_0x90989d(0x1b3)}),this[_0x90989d(0x1ee)]=!0x0,clearTimeout(this[_0x90989d(0x1f8)]),this[_0x90989d(0x1de)]=[],this[_0x90989d(0x177)][_0x90989d(0x13b)][_0x90989d(0x114)](_0x5cd668)[_0x90989d(0x1e0)]();}[_0x584ec7(0x171)](){const _0x3ef154=_0x584ec7;this[_0x3ef154(0x1dc)]||(this[_0x3ef154(0x1dc)]=this[_0x3ef154(0x177)][_0x3ef154(0x13b)][_0x3ef154(0x114)](_0x2d473c)[_0x3ef154(0x17c)](_0x436338(this[_0x3ef154(0x177)][_0x3ef154(0x142)],_0x3ef154(0x14a))));}[_0x584ec7(0x19a)](){const _0x48144=_0x584ec7;this[_0x48144(0x1dc)]&&(this[_0x48144(0x177)][_0x48144(0x13b)][_0x48144(0x114)](_0x2d473c)[_0x48144(0x107)](this[_0x48144(0x1dc)]),this[_0x48144(0x1dc)]=null);}[_0x584ec7(0x198)](_0x53fcc0){const _0x3025ea=_0x584ec7,_0x1d7b5f=_0x53fcc0[_0x3025ea(0x1c5)](_0x41f142=>_0x41f142[_0x3025ea(0x1da)]());return this[_0x3025ea(0x1bc)][_0x3025ea(0x18d)](_0x1d7b5f);}[_0x584ec7(0x18a)](_0x46f020,_0x188232){const _0x5c9d74=_0x584ec7;return this[_0x5c9d74(0x1bc)][_0x5c9d74(0x1f1)](_0x46f020)[_0x5c9d74(0x1c5)]((_0x9e4207,_0x552b8b)=>{const _0x12f174=_0x5c9d74,_0x2811cc=_0x12f174(0x1a5)==_0x188232[_0x552b8b][_0x12f174(0x1ef)];if(_0x12f174(0x1c9)==_0x9e4207[_0x12f174(0x181)]){const _0xecee7=_0x9e4207[_0x12f174(0x12d)][_0x12f174(0x1aa)];!this[_0x12f174(0x139)][_0x12f174(0x1eb)](_0xecee7)&&(this[_0x12f174(0x139)][_0x12f174(0x17e)](_0x12f174(0x118),_0xecee7)[_0x12f174(0x190)]=!0x1);}const _0x3b97ac=_0x2bcc01[_0x12f174(0x108)](_0x9e4207,this[_0x12f174(0x139)]);return _0x3b97ac[_0x12f174(0x12c)]=_0x9e4207[_0x12f174(0x12c)],_0x3b97ac[_0x12f174(0x18f)]=_0x2811cc,_0x3b97ac[_0x12f174(0x1a1)]=_0x2811cc?null:_0x188232[_0x552b8b][_0x12f174(0x1b4)],_0x3b97ac[_0x12f174(0x14f)]=_0x12f174(0x1b2)===_0x188232[_0x552b8b][_0x12f174(0x1ef)],_0x3b97ac[_0x12f174(0x167)]=_0x188232[_0x552b8b][_0x12f174(0x167)],_0x3b97ac;});}[_0x584ec7(0x1bd)](){const _0x1a9245=_0x584ec7;this[_0x1a9245(0x1b1)]=!0x0,this[_0x1a9245(0x133)]()?this[_0x1a9245(0x150)]():this[_0x1a9245(0x1b1)]=!0x1;}[_0x584ec7(0x133)](){const _0x16cbb6=_0x584ec7,_0x44e9d6=this[_0x16cbb6(0x177)][_0x16cbb6(0x13b)][_0x16cbb6(0x114)](_0x4ca325)[_0x16cbb6(0x1a0)][_0x16cbb6(0x114)](this[_0x16cbb6(0x1df)]);return!this[_0x16cbb6(0x177)][_0x16cbb6(0x10a)]&&!!_0x44e9d6&&_0x44e9d6[_0x16cbb6(0x13a)]>0x1&&this[_0x16cbb6(0x1b1)];}[_0x584ec7(0x120)](){const _0x16fa97=_0x584ec7;return this[_0x16fa97(0x1de)][_0x16fa97(0x13a)]>0x0||this[_0x16fa97(0x133)]();}}export default l;function _0x3c16(_0x49408c,_0x3d8efd){const _0x12e79e=_0x12e7();return _0x3c16=function(_0x3c1620,_0x3f9c42){_0x3c1620=_0x3c1620-0x104;let _0x22ded4=_0x12e79e[_0x3c1620];return _0x22ded4;},_0x3c16(_0x49408c,_0x3d8efd);}class Q extends Error{}function X(_0x4e5ec2,_0x2e9228){const _0x5bf0f9=_0x584ec7;for(const _0x160318 of _0x4e5ec2)_0x160318[_0x5bf0f9(0x117)]=_0x2e9228++;}class Y{[_0x584ec7(0x191)];[_0x584ec7(0x205)];constructor(_0x2e7016){const _0x2526a3=_0x584ec7;this[_0x2526a3(0x191)]=_0x2e7016,this[_0x2526a3(0x205)]=new WeakMap();}[_0x584ec7(0x138)](_0x17fe59){const _0x5f67fd=_0x584ec7;let _0x384944=_0x17fe59[_0x5f67fd(0x13a)];for(;_0x384944--;){const _0xa7d74d=_0x17fe59[_0x384944];if(!this[_0x5f67fd(0x191)][_0x5f67fd(0x115)](_0xa7d74d)){if(!this[_0x5f67fd(0x205)][_0x5f67fd(0x115)](_0xa7d74d)){const _0x566962=_0x2ba35f()[_0x5f67fd(0x16f)](0x1,0x12);this[_0x5f67fd(0x205)][_0x5f67fd(0x1d1)](_0xa7d74d,_0x566962);}return this[_0x5f67fd(0x205)][_0x5f67fd(0x114)](_0xa7d74d);}}}[_0x584ec7(0x1b8)](_0x1ba7a0,_0x5ef0b9){const _0x26ef3e=_0x584ec7;if(!_0x5ef0b9)return;let _0x4f4456=_0x1ba7a0[_0x26ef3e(0x13a)];for(;_0x4f4456--;){const _0x112442=_0x1ba7a0[_0x4f4456];this[_0x26ef3e(0x191)][_0x26ef3e(0x115)](_0x112442)||this[_0x26ef3e(0x205)][_0x26ef3e(0x1d1)](_0x112442,_0x5ef0b9);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x137201=_0x5104;(function(_0xa1ce9b,_0x24bcef){const _0x4c6d02=_0x5104,_0x4d4969=_0xa1ce9b();while(!![]){try{const _0xa94d06=parseInt(_0x4c6d02(0x1a1))/0x1+parseInt(_0x4c6d02(0x1c1))/0x2*(parseInt(_0x4c6d02(0x1b7))/0x3)+parseInt(_0x4c6d02(0x1c9))/0x4+parseInt(_0x4c6d02(0x1d9))/0x5+-parseInt(_0x4c6d02(0x1d0))/0x6*(parseInt(_0x4c6d02(0x1ae))/0x7)+-parseInt(_0x4c6d02(0x1d5))/0x8*(-parseInt(_0x4c6d02(0x1db))/0x9)+-parseInt(_0x4c6d02(0x1a2))/0xa*(parseInt(_0x4c6d02(0x1a8))/0xb);if(_0xa94d06===_0x24bcef)break;else _0x4d4969['push'](_0x4d4969['shift']());}catch(_0xf14bc2){_0x4d4969['push'](_0x4d4969['shift']());}}}(_0x2a86,0x45383));import{ContextPlugin as _0x3950f2}from'ckeditor5/src/core.js';import{Collection as _0x15acb4,CKEditorError as _0x26a413}from'ckeditor5/src/utils.js';import _0x2d0141 from'./websocketgateway.js';import{Users as _0x53dd8f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5104(_0x586f4e,_0x5e589c){const _0x2a86cd=_0x2a86();return _0x5104=function(_0x51045,_0x2941ec){_0x51045=_0x51045-0x1a1;let _0xd8ba38=_0x2a86cd[_0x51045];return _0xd8ba38;},_0x5104(_0x586f4e,_0x5e589c);}function _0x2a86(){const _0x2d15a2=['2154272pGKxjT','init','mySessionId','Sessions','defineMe','get','allConnectedUsers','18996IKatnS','role','getUserRole','unregister','assign','273432UxJUXC','sessions-register-already-registered','sessions-unregister-not-exist','remove','1219340JyoDUX','connected','18BgBRGr','add','forEach','getUser','_handleSessionAdd','404067IMvNhC','1603470EgkcpV','isPremiumPlugin','fire','listenTo','register','connection','99jkEOfH','getUserSessions','_handleSessionRemove','user','pluginName','channelSessions','189OvBLsh','getUserBySessionId','_uniqueUsersCount','addUser','delete','clear','isOfficialPlugin','requires','stopListening','1671801qCfrPv','sessionId','sessionAdd:','change:state','_createUser','values','size','_users','context','set','2YRWkZe','_registeredSessions','channelConnectedUsers','state','plugins','orderNumber','has','isMe'];_0x2a86=function(){return _0x2d15a2;};return _0x2a86();}export default class i extends _0x3950f2{[_0x137201(0x1ad)];[_0x137201(0x1c3)];[_0x137201(0x1cf)];[_0x137201(0x1c2)];[_0x137201(0x1b0)];[_0x137201(0x1be)];static get[_0x137201(0x1ac)](){const _0x3aaf6a=_0x137201;return _0x3aaf6a(0x1cc);}static get[_0x137201(0x1b4)](){return!0x0;}static get[_0x137201(0x1a3)](){return!0x0;}static get[_0x137201(0x1b5)](){return[_0x2d0141,_0x53dd8f];}constructor(_0x812712){const _0x6a2b29=_0x137201;super(_0x812712),this[_0x6a2b29(0x1ad)]=new Map(),this[_0x6a2b29(0x1c3)]=new Map(),this[_0x6a2b29(0x1cf)]=new _0x15acb4(),this[_0x6a2b29(0x1c2)]=new Map(),this[_0x6a2b29(0x1b0)]=0x0,this[_0x6a2b29(0x1be)]=this[_0x6a2b29(0x1bf)][_0x6a2b29(0x1c5)][_0x6a2b29(0x1ce)](_0x53dd8f);}[_0x137201(0x1ca)](){const _0x53fb68=_0x137201,_0x59b3d3=this[_0x53fb68(0x1bf)][_0x53fb68(0x1c5)][_0x53fb68(0x1ce)](_0x2d0141);this[_0x53fb68(0x1a5)](_0x59b3d3,_0x53fb68(0x1ba),(_0x5449e8,_0x35a8d6,_0x2ee64d)=>{const _0x459a3d=_0x53fb68;if(_0x459a3d(0x1da)!==_0x2ee64d)this[_0x459a3d(0x1ad)][_0x459a3d(0x1dd)](_0x1c69ff=>_0x1c69ff[_0x459a3d(0x1b3)]()),this[_0x459a3d(0x1c3)][_0x459a3d(0x1dd)](_0x48fe96=>_0x48fe96[_0x459a3d(0x1b3)]()),this[_0x459a3d(0x1cf)][_0x459a3d(0x1b3)]();else{for(const [_0x365fca,_0x2834b6]of this[_0x459a3d(0x1c2)])for(const _0x4777dd of _0x2834b6)this[_0x459a3d(0x1df)](_0x365fca,_0x4777dd);}}),this[_0x53fb68(0x1bb)](_0x59b3d3[_0x53fb68(0x1a7)]['me'],!0x0);}[_0x137201(0x1a6)](_0x4e77ef,_0x530e54){const _0x42f2d8=_0x137201;if(this[_0x42f2d8(0x1c2)][_0x42f2d8(0x1c7)](_0x4e77ef))throw new _0x26a413(_0x42f2d8(0x1d6),null,{'channelId':_0x4e77ef});this[_0x42f2d8(0x1c2)][_0x42f2d8(0x1c0)](_0x4e77ef,_0x530e54),this[_0x42f2d8(0x1ad)][_0x42f2d8(0x1c0)](_0x4e77ef,new _0x15acb4()),this[_0x42f2d8(0x1c3)][_0x42f2d8(0x1c0)](_0x4e77ef,new _0x15acb4()),this[_0x42f2d8(0x1a5)](_0x530e54,_0x42f2d8(0x1dc),(_0x564fe6,_0x3cefd0)=>this[_0x42f2d8(0x1df)](_0x4e77ef,_0x3cefd0)),this[_0x42f2d8(0x1a5)](_0x530e54,_0x42f2d8(0x1d8),(_0x50a44e,_0x448ff2)=>this[_0x42f2d8(0x1aa)](_0x4e77ef,_0x448ff2));for(const _0x13643d of _0x530e54)this[_0x42f2d8(0x1df)](_0x4e77ef,_0x13643d);}[_0x137201(0x1d3)](_0x205a4c){const _0x4d6320=_0x137201;if(!this[_0x4d6320(0x1c2)][_0x4d6320(0x1c7)](_0x205a4c))throw new _0x26a413(_0x4d6320(0x1d7),null,{'channelId':_0x205a4c});const _0x58f346=this[_0x4d6320(0x1c2)][_0x4d6320(0x1ce)](_0x205a4c);this[_0x4d6320(0x1b6)](_0x58f346);for(const _0x43187e of _0x58f346)_0x4d6320(0x1da)===this[_0x4d6320(0x1bf)][_0x4d6320(0x1c5)][_0x4d6320(0x1ce)](_0x2d0141)[_0x4d6320(0x1c4)]&&this[_0x4d6320(0x1aa)](_0x205a4c,_0x43187e);this[_0x4d6320(0x1c2)][_0x4d6320(0x1b2)](_0x205a4c),this[_0x4d6320(0x1ad)][_0x4d6320(0x1b2)](_0x205a4c),this[_0x4d6320(0x1c3)][_0x4d6320(0x1b2)](_0x205a4c);}get[_0x137201(0x1cb)](){const _0x56baa0=_0x137201;return this[_0x56baa0(0x1bf)][_0x56baa0(0x1c5)][_0x56baa0(0x1ce)](_0x2d0141)[_0x56baa0(0x1a7)][_0x56baa0(0x1b8)];}[_0x137201(0x1af)](_0x593636){const _0x5e2714=_0x137201;for(const _0x4fed6b of this[_0x5e2714(0x1ad)][_0x5e2714(0x1bc)]())for(const _0x5342d0 of _0x4fed6b)if(_0x5342d0['id']===_0x593636)return _0x5342d0[_0x5e2714(0x1ab)];}[_0x137201(0x1a9)](_0x1500f8,_0x58cc28){const _0x312826=_0x137201,_0x15f9c0=_0x58cc28?[this[_0x312826(0x1ad)][_0x312826(0x1ce)](_0x58cc28)]:this[_0x312826(0x1ad)][_0x312826(0x1bc)](),_0x577956=new Set();for(const _0xdce5ed of _0x15f9c0)for(const _0xc8a6ac of _0xdce5ed)_0xc8a6ac[_0x312826(0x1ab)]['id']===_0x1500f8['id']&&_0x577956[_0x312826(0x1dc)](_0xc8a6ac['id']);return _0x577956;}[_0x137201(0x1d2)](_0x4877b0){const _0x2ff123=_0x137201;for(const _0xaf580f of this[_0x2ff123(0x1ad)][_0x2ff123(0x1bc)]())for(const _0x57cd38 of _0xaf580f)if(_0x57cd38[_0x2ff123(0x1ab)]===_0x4877b0)return _0x57cd38[_0x2ff123(0x1d1)];}[_0x137201(0x1df)](_0x48f62c,_0x4dd915){const _0x7b8702=_0x137201;if(_0x7b8702(0x1da)!==this[_0x7b8702(0x1bf)][_0x7b8702(0x1c5)][_0x7b8702(0x1ce)](_0x2d0141)[_0x7b8702(0x1c4)])return;const _0xafba3d=_0x4dd915[_0x7b8702(0x1ab)],_0x40d510=this[_0x7b8702(0x1be)][_0x7b8702(0x1de)](_0xafba3d['id'])||this[_0x7b8702(0x1bb)](_0xafba3d),_0x3b0500=Object[_0x7b8702(0x1d4)]({},_0x4dd915,{'user':_0x40d510});this[_0x7b8702(0x1ad)][_0x7b8702(0x1ce)](_0x48f62c)[_0x7b8702(0x1dc)](_0x3b0500);const _0x1bbf24=this[_0x7b8702(0x1c3)][_0x7b8702(0x1ce)](_0x48f62c);_0x1bbf24[_0x7b8702(0x1c7)](_0x40d510['id'])||_0x1bbf24[_0x7b8702(0x1dc)](_0x40d510),this[_0x7b8702(0x1cf)][_0x7b8702(0x1c7)](_0x40d510['id'])||this[_0x7b8702(0x1cf)][_0x7b8702(0x1dc)](_0x40d510,_0x40d510[_0x7b8702(0x1c8)]?0x0:void 0x0),this[_0x7b8702(0x1a4)](_0x7b8702(0x1b9)+_0x48f62c,{'channelId':_0x48f62c,'session':_0x3b0500});}[_0x137201(0x1aa)](_0xaaa680,_0xc897d6){const _0x55dd20=_0x137201;if(_0x55dd20(0x1da)!==this[_0x55dd20(0x1bf)][_0x55dd20(0x1c5)][_0x55dd20(0x1ce)](_0x2d0141)[_0x55dd20(0x1c4)])return;const _0x4fd56a=this[_0x55dd20(0x1c3)][_0x55dd20(0x1ce)](_0xaaa680),_0x5f0103=_0xc897d6[_0x55dd20(0x1ab)];_0x5f0103['id']&&(this[_0x55dd20(0x1ad)][_0x55dd20(0x1ce)](_0xaaa680)[_0x55dd20(0x1d8)](_0xc897d6['id']),_0x4fd56a[_0x55dd20(0x1c7)](_0x5f0103['id'])&&!this[_0x55dd20(0x1a9)](_0x5f0103,_0xaaa680)[_0x55dd20(0x1bd)]&&_0x4fd56a[_0x55dd20(0x1d8)](_0x5f0103['id']),this[_0x55dd20(0x1cf)][_0x55dd20(0x1ce)](_0x5f0103['id'])&&!this[_0x55dd20(0x1a9)](_0x5f0103)[_0x55dd20(0x1bd)]&&this[_0x55dd20(0x1cf)][_0x55dd20(0x1d8)](_0x5f0103['id']));}[_0x137201(0x1bb)](_0x750577,_0xe799fc){const _0x492508=_0x137201,_0x15b091=this[_0x492508(0x1be)][_0x492508(0x1b1)](_0x750577);return _0xe799fc&&this[_0x492508(0x1be)][_0x492508(0x1cd)](_0x750577['id']),_0x15b091[_0x492508(0x1c6)]=this[_0x492508(0x1b0)]++,_0x15b091;}}
23
+ function _0x4d80(_0x434220,_0x2b61aa){const _0x590838=_0x5908();return _0x4d80=function(_0x4d80fa,_0x529e23){_0x4d80fa=_0x4d80fa-0x14f;let _0x2dba2b=_0x590838[_0x4d80fa];return _0x2dba2b;},_0x4d80(_0x434220,_0x2b61aa);}const _0x1528ed=_0x4d80;(function(_0x56a8c7,_0x13d1ae){const _0x55bf27=_0x4d80,_0x2f7af2=_0x56a8c7();while(!![]){try{const _0x37da58=-parseInt(_0x55bf27(0x15e))/0x1*(-parseInt(_0x55bf27(0x150))/0x2)+parseInt(_0x55bf27(0x15f))/0x3*(parseInt(_0x55bf27(0x18c))/0x4)+-parseInt(_0x55bf27(0x17c))/0x5+-parseInt(_0x55bf27(0x167))/0x6+parseInt(_0x55bf27(0x174))/0x7*(-parseInt(_0x55bf27(0x173))/0x8)+parseInt(_0x55bf27(0x15a))/0x9+parseInt(_0x55bf27(0x16a))/0xa*(parseInt(_0x55bf27(0x160))/0xb);if(_0x37da58===_0x13d1ae)break;else _0x2f7af2['push'](_0x2f7af2['shift']());}catch(_0x3e2cc6){_0x2f7af2['push'](_0x2f7af2['shift']());}}}(_0x5908,0x86a21));import{ContextPlugin as _0x1b9fd5}from'ckeditor5/src/core.js';import{Collection as _0xbe4b3a,CKEditorError as _0x314f1b}from'ckeditor5/src/utils.js';import _0x3ecfa2 from'./websocketgateway.js';import{Users as _0x2907b0}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1b9fd5{[_0x1528ed(0x153)];[_0x1528ed(0x16d)];[_0x1528ed(0x189)];[_0x1528ed(0x17f)];[_0x1528ed(0x175)];[_0x1528ed(0x16e)];static get[_0x1528ed(0x154)](){const _0x3c256a=_0x1528ed;return _0x3c256a(0x166);}static get[_0x1528ed(0x15c)](){return!0x0;}static get[_0x1528ed(0x157)](){return!0x0;}static get[_0x1528ed(0x177)](){return[_0x3ecfa2,_0x2907b0];}constructor(_0x2fc9c2){const _0x579109=_0x1528ed;super(_0x2fc9c2),this[_0x579109(0x153)]=new Map(),this[_0x579109(0x16d)]=new Map(),this[_0x579109(0x189)]=new _0xbe4b3a(),this[_0x579109(0x17f)]=new Map(),this[_0x579109(0x175)]=0x0,this[_0x579109(0x16e)]=this[_0x579109(0x188)][_0x579109(0x151)][_0x579109(0x182)](_0x2907b0);}[_0x1528ed(0x159)](){const _0x33cd89=_0x1528ed,_0x2e85c5=this[_0x33cd89(0x188)][_0x33cd89(0x151)][_0x33cd89(0x182)](_0x3ecfa2);this[_0x33cd89(0x181)](_0x2e85c5,_0x33cd89(0x170),(_0x419d75,_0x14d7f4,_0x5e4e48)=>{const _0x5e6fdc=_0x33cd89;if(_0x5e6fdc(0x165)!==_0x5e4e48)this[_0x5e6fdc(0x153)][_0x5e6fdc(0x158)](_0x4cc6eb=>_0x4cc6eb[_0x5e6fdc(0x185)]()),this[_0x5e6fdc(0x16d)][_0x5e6fdc(0x158)](_0x3c85ef=>_0x3c85ef[_0x5e6fdc(0x185)]()),this[_0x5e6fdc(0x189)][_0x5e6fdc(0x185)]();else{for(const [_0x492f01,_0x205fb0]of this[_0x5e6fdc(0x17f)])for(const _0x59b240 of _0x205fb0)this[_0x5e6fdc(0x187)](_0x492f01,_0x59b240);}}),this[_0x33cd89(0x155)](_0x2e85c5[_0x33cd89(0x178)]['me'],!0x0);}[_0x1528ed(0x186)](_0x4da037,_0x5c601a){const _0x29aa12=_0x1528ed;if(this[_0x29aa12(0x17f)][_0x29aa12(0x18a)](_0x4da037))throw new _0x314f1b(_0x29aa12(0x176),null,{'channelId':_0x4da037});this[_0x29aa12(0x17f)][_0x29aa12(0x16c)](_0x4da037,_0x5c601a),this[_0x29aa12(0x153)][_0x29aa12(0x16c)](_0x4da037,new _0xbe4b3a()),this[_0x29aa12(0x16d)][_0x29aa12(0x16c)](_0x4da037,new _0xbe4b3a()),this[_0x29aa12(0x181)](_0x5c601a,_0x29aa12(0x168),(_0x1efc7f,_0x2a1e42)=>this[_0x29aa12(0x187)](_0x4da037,_0x2a1e42)),this[_0x29aa12(0x181)](_0x5c601a,_0x29aa12(0x16b),(_0x15246a,_0x5e8bce)=>this[_0x29aa12(0x172)](_0x4da037,_0x5e8bce));for(const _0x1c0679 of _0x5c601a)this[_0x29aa12(0x187)](_0x4da037,_0x1c0679);}[_0x1528ed(0x171)](_0x5e5cc9){const _0x1f0df8=_0x1528ed;if(!this[_0x1f0df8(0x17f)][_0x1f0df8(0x18a)](_0x5e5cc9))throw new _0x314f1b(_0x1f0df8(0x169),null,{'channelId':_0x5e5cc9});const _0x3c70c5=this[_0x1f0df8(0x17f)][_0x1f0df8(0x182)](_0x5e5cc9);this[_0x1f0df8(0x18b)](_0x3c70c5);for(const _0x4fb7a0 of _0x3c70c5)_0x1f0df8(0x165)===this[_0x1f0df8(0x188)][_0x1f0df8(0x151)][_0x1f0df8(0x182)](_0x3ecfa2)[_0x1f0df8(0x184)]&&this[_0x1f0df8(0x172)](_0x5e5cc9,_0x4fb7a0);this[_0x1f0df8(0x17f)][_0x1f0df8(0x15b)](_0x5e5cc9),this[_0x1f0df8(0x153)][_0x1f0df8(0x15b)](_0x5e5cc9),this[_0x1f0df8(0x16d)][_0x1f0df8(0x15b)](_0x5e5cc9);}get[_0x1528ed(0x15d)](){const _0x2ec593=_0x1528ed;return this[_0x2ec593(0x188)][_0x2ec593(0x151)][_0x2ec593(0x182)](_0x3ecfa2)[_0x2ec593(0x178)][_0x2ec593(0x17a)];}[_0x1528ed(0x163)](_0x15a309){const _0x3ff1dd=_0x1528ed;for(const _0x23bd54 of this[_0x3ff1dd(0x153)][_0x3ff1dd(0x16f)]())for(const _0x21c638 of _0x23bd54)if(_0x21c638['id']===_0x15a309)return _0x21c638[_0x3ff1dd(0x17e)];}[_0x1528ed(0x14f)](_0x19cfc1,_0x34faeb){const _0x1963b=_0x1528ed,_0x4bb224=_0x34faeb?[this[_0x1963b(0x153)][_0x1963b(0x182)](_0x34faeb)]:this[_0x1963b(0x153)][_0x1963b(0x16f)](),_0x49b22b=new Set();for(const _0x47b9f2 of _0x4bb224)for(const _0xccc347 of _0x47b9f2)_0xccc347[_0x1963b(0x17e)]['id']===_0x19cfc1['id']&&_0x49b22b[_0x1963b(0x168)](_0xccc347['id']);return _0x49b22b;}[_0x1528ed(0x162)](_0x14ee49){const _0x3a50e2=_0x1528ed;for(const _0x5e72ac of this[_0x3a50e2(0x153)][_0x3a50e2(0x16f)]())for(const _0x3f978d of _0x5e72ac)if(_0x3f978d[_0x3a50e2(0x17e)]===_0x14ee49)return _0x3f978d[_0x3a50e2(0x152)];}[_0x1528ed(0x187)](_0x49a45c,_0x34e373){const _0x47d3f9=_0x1528ed;if(_0x47d3f9(0x165)!==this[_0x47d3f9(0x188)][_0x47d3f9(0x151)][_0x47d3f9(0x182)](_0x3ecfa2)[_0x47d3f9(0x184)])return;const _0x2c9142=_0x34e373[_0x47d3f9(0x17e)],_0x19d930=this[_0x47d3f9(0x16e)][_0x47d3f9(0x161)](_0x2c9142['id'])||this[_0x47d3f9(0x155)](_0x2c9142),_0x59eebf=Object[_0x47d3f9(0x17d)]({},_0x34e373,{'user':_0x19d930});this[_0x47d3f9(0x153)][_0x47d3f9(0x182)](_0x49a45c)[_0x47d3f9(0x168)](_0x59eebf);const _0x4c2ee0=this[_0x47d3f9(0x16d)][_0x47d3f9(0x182)](_0x49a45c);_0x4c2ee0[_0x47d3f9(0x18a)](_0x19d930['id'])||_0x4c2ee0[_0x47d3f9(0x168)](_0x19d930),this[_0x47d3f9(0x189)][_0x47d3f9(0x18a)](_0x19d930['id'])||this[_0x47d3f9(0x189)][_0x47d3f9(0x168)](_0x19d930,_0x19d930[_0x47d3f9(0x183)]?0x0:void 0x0),this[_0x47d3f9(0x164)](_0x47d3f9(0x18d)+_0x49a45c,{'channelId':_0x49a45c,'session':_0x59eebf});}[_0x1528ed(0x172)](_0x4bb2a7,_0x36d18c){const _0x52d198=_0x1528ed;if(_0x52d198(0x165)!==this[_0x52d198(0x188)][_0x52d198(0x151)][_0x52d198(0x182)](_0x3ecfa2)[_0x52d198(0x184)])return;const _0x2bb015=this[_0x52d198(0x16d)][_0x52d198(0x182)](_0x4bb2a7),_0x4eb38a=_0x36d18c[_0x52d198(0x17e)];_0x4eb38a['id']&&(this[_0x52d198(0x153)][_0x52d198(0x182)](_0x4bb2a7)[_0x52d198(0x16b)](_0x36d18c['id']),_0x2bb015[_0x52d198(0x18a)](_0x4eb38a['id'])&&!this[_0x52d198(0x14f)](_0x4eb38a,_0x4bb2a7)[_0x52d198(0x179)]&&_0x2bb015[_0x52d198(0x16b)](_0x4eb38a['id']),this[_0x52d198(0x189)][_0x52d198(0x182)](_0x4eb38a['id'])&&!this[_0x52d198(0x14f)](_0x4eb38a)[_0x52d198(0x179)]&&this[_0x52d198(0x189)][_0x52d198(0x16b)](_0x4eb38a['id']));}[_0x1528ed(0x155)](_0x19126d,_0x87af0){const _0x135f98=_0x1528ed,_0x4eee17=this[_0x135f98(0x16e)][_0x135f98(0x156)](_0x19126d);return _0x87af0&&this[_0x135f98(0x16e)][_0x135f98(0x180)](_0x19126d['id']),_0x4eee17[_0x135f98(0x17b)]=this[_0x135f98(0x175)]++,_0x4eee17;}}function _0x5908(){const _0x58ae83=['mySessionId','23daIvRN','69SmkpeE','11NESvSa','getUser','getUserRole','getUserBySessionId','fire','connected','Sessions','5204190kEpCsw','add','sessions-unregister-not-exist','4949630nZhThr','remove','set','channelConnectedUsers','_users','values','change:state','unregister','_handleSessionRemove','175192pFNSEy','84pmorRL','_uniqueUsersCount','sessions-register-already-registered','requires','connection','size','sessionId','orderNumber','942780fFyakq','assign','user','_registeredSessions','defineMe','listenTo','get','isMe','state','clear','register','_handleSessionAdd','context','allConnectedUsers','has','stopListening','85220LvLxaj','sessionAdd:','getUserSessions','8186bAkdbj','plugins','role','channelSessions','pluginName','_createUser','addUser','isPremiumPlugin','forEach','init','7119441KOPkJH','delete','isOfficialPlugin'];_0x5908=function(){return _0x58ae83;};return _0x5908();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x585351=_0x3909;function _0x43b2(){const _0x59dc9f=['hasContent','for','classList','enqueueChange','9byQGtN','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','1300741OIdbZh','39jRTuQT','pluginName','nodeAfter','type','data-session-id','user:','has','editor','Escape','innerHTML','user:range','removeClass','change:range','$text','isSimilar','markerRange','oldRange','batch','getContainedElement','getRange','387130qzWTet','ck-user__marker\x20','editingDowncast','addMarker','markerToElement','root','stopListening','user:position:','plugins','afterInit','ck-user__selection','set','model','marker','start','render','setAttribute','60yMbRsu','listenTo','markerToHighlight','change','mouseleave','clear','_domEmitter','size','UserMarkers','document','commands','createUIElement','isLimit','isDocumentOperation','name','get','deletionPosition','userPositionMarker','$graveyard','applyOperation','createElement','color','markerName','getMarkerClass','init','getStart','tableCell','view','outerHTML','1670648uQSnrq','fromRange','newRange','editing','reconvertMarker','getPositions','contenteditable','markerNameToElements','conversion','update:user:range','createUserMarkerOperations','setCustomProperty','spellcheck','isInline','parent','isObject','hasDomSelection','updateMarker','mapper','startsWith','highest','getCustomProperty','destroy','getSelectionClass','mySessionId','getFirstRange','user:range:','keydown','markers','toDomElement','undo','157375nRMFuO','2282312vToIVZ','isOfficialPlugin','addEventListener','52528hRdMvC','_createdBatches','span','isCollapsed','34XzZriL','removeMarker','orderNumber','schema','55udnsYl','remove','ck-user__marker_hovered','false','checkChild','mouseenter','selection','delete','createRange','user:position','split','6KrzJic','5378MeknyW','textContent','getUserBySessionId','element','add','isPremiumPlugin','end','getNearestSelectionRange','getAttribute','requires','detach','rootName','toRange'];_0x43b2=function(){return _0x59dc9f;};return _0x43b2();}(function(_0x1d8293,_0x4a6819){const _0x44d388=_0x3909,_0x4f310d=_0x1d8293();while(!![]){try{const _0x5ac3ea=-parseInt(_0x44d388(0x13a))/0x1*(-parseInt(_0x44d388(0x12a))/0x2)+-parseInt(_0x44d388(0x14f))/0x3*(parseInt(_0x44d388(0x126))/0x4)+parseInt(_0x44d388(0x122))/0x5*(parseInt(_0x44d388(0x139))/0x6)+parseInt(_0x44d388(0x103))/0x7+parseInt(_0x44d388(0x123))/0x8*(parseInt(_0x44d388(0x14b))/0x9)+-parseInt(_0x44d388(0x163))/0xa*(-parseInt(_0x44d388(0x12e))/0xb)+parseInt(_0x44d388(0x174))/0xc*(-parseInt(_0x44d388(0x14e))/0xd);if(_0x5ac3ea===_0x4a6819)break;else _0x4f310d['push'](_0x4f310d['shift']());}catch(_0x55c3bc){_0x4f310d['push'](_0x4f310d['shift']());}}}(_0x43b2,0x295ca));import{Plugin as _0x5f1172}from'ckeditor5/src/core.js';function _0x3909(_0x377b05,_0x4aa45c){const _0x43b2ac=_0x43b2();return _0x3909=function(_0x3909c3,_0x48a085){_0x3909c3=_0x3909c3-0xed;let _0x38555d=_0x43b2ac[_0x3909c3];return _0x38555d;},_0x3909(_0x377b05,_0x4aa45c);}import{global as _0x4ab384,DomEmitterMixin as _0x4353b2}from'ckeditor5/src/utils.js';import _0x17b4b4 from'./sessions.js';import{LiveRange as _0xa4d461}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x5f1172{[_0x585351(0x17a)]=new(_0x4353b2())();static get[_0x585351(0x143)](){return[_0x17b4b4];}static get[_0x585351(0x150)](){const _0x41d233=_0x585351;return _0x41d233(0xee);}static get[_0x585351(0x124)](){return!0x0;}static get[_0x585351(0x13f)](){return!0x0;}[_0x585351(0xfe)](){const _0x754afa=_0x585351,_0x4f92ca=this[_0x754afa(0x156)],_0x5a5153=_0x4f92ca[_0x754afa(0x16b)][_0x754afa(0xf5)](_0x17b4b4);_0x4f92ca[_0x754afa(0x10b)][_0x754afa(0x148)](_0x754afa(0x165))[_0x754afa(0x167)]({'model':_0x754afa(0x137),'view':(_0x1399ff,{writer:_0x10031e})=>function(_0x51ee3f,_0x254f63,_0x2db115,_0x13b30b){const _0x293cf5=_0x754afa,_0x513bc5=_0x51ee3f[_0x293cf5(0xfc)][_0x293cf5(0x138)](':')[0x2],_0x1fc3d0=_0x2db115[_0x293cf5(0x13c)](_0x513bc5);if(!_0x1fc3d0||_0x513bc5===_0x2db115[_0x293cf5(0x11b)])return;if(!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)][_0x293cf5(0x132)](_0x51ee3f[_0x293cf5(0x15e)][_0x293cf5(0x171)],_0x293cf5(0x15c)))return;const _0x36e93b={'class':_0x293cf5(0x164)+_0x1fc3d0[_0x293cf5(0xfb)][_0x293cf5(0xfd)](),'data-name':_0x1fc3d0[_0x293cf5(0xf4)],'data-session-id':_0x513bc5},_0x29c817=_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x11f)][_0x293cf5(0xf5)](_0x51ee3f[_0x293cf5(0xfc)]),_0x28fc70=_0x29c817[_0x293cf5(0xff)](),_0x4bf580=_0x28fc70[_0x293cf5(0x151)],_0x5e62ec=_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)];if(_0x4bf580&&_0x5e62ec[_0x293cf5(0x112)](_0x4bf580)&&_0x5e62ec[_0x293cf5(0x110)](_0x4bf580)&&!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x11f)][_0x293cf5(0xf5)](_0x293cf5(0x11d)+_0x513bc5)[_0x293cf5(0x162)]()[_0x293cf5(0x129)])return;const _0x505198=_0x28fc70[_0x293cf5(0x111)];return _0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)][_0x293cf5(0xf2)](_0x505198)&&!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x147)](_0x505198)&&(_0x36e93b[_0x293cf5(0x109)]=!0x1),function(_0x4bef4e,_0x2a5234,_0xef3bf7){const _0x316430=_0x293cf5,_0x29f0f7=_0x4bef4e[_0x316430(0xf1)](_0x316430(0x128),_0x2a5234);return _0x4bef4e[_0x316430(0x10e)](_0x316430(0xf7),!0x0,_0x29f0f7),_0x29f0f7[_0x316430(0x172)]=function(_0x397cca){const _0x323d98=_0x316430,_0x54df85=this[_0x323d98(0x120)](_0x397cca),_0xfc58ef=document[_0x323d98(0xfa)](_0x323d98(0x128));return _0xfc58ef[_0x323d98(0x149)][_0x323d98(0x13e)](_0x323d98(0x14d)),_0xfc58ef[_0x323d98(0x173)](_0x323d98(0x109),_0x323d98(0x131)),_0xfc58ef[_0x323d98(0x173)](_0x323d98(0x10f),_0x323d98(0x131)),_0xfc58ef[_0x323d98(0x13b)]=_0xef3bf7[_0x323d98(0xf4)],_0x54df85[_0x323d98(0x158)]=_0x323d98(0x14c)+_0xfc58ef[_0x323d98(0x102)]+'⁠',_0x54df85[_0x323d98(0x125)](_0x323d98(0x133),()=>{const _0x4e4656=_0x323d98;_0x54df85[_0x4e4656(0x149)][_0x4e4656(0x13e)](_0x4e4656(0x130));}),_0x54df85[_0x323d98(0x125)](_0x323d98(0x178),()=>{const _0x1f6133=_0x323d98;_0x54df85[_0x1f6133(0x149)][_0x1f6133(0x12f)](_0x1f6133(0x130));}),_0x54df85;},_0x29f0f7[_0x316430(0x15d)]=function(_0x2a3278){const _0xe24b62=_0x316430;return!(!this[_0xe24b62(0x118)](_0xe24b62(0xf7))||!_0x2a3278[_0xe24b62(0x118)](_0xe24b62(0xf7))||this[_0xe24b62(0x142)](_0xe24b62(0x153))!=_0x2a3278[_0xe24b62(0x142)](_0xe24b62(0x153)));},_0x29f0f7;}(_0x254f63,_0x36e93b,_0x1fc3d0);}(_0x1399ff,_0x10031e,_0x5a5153,_0x4f92ca)}),_0x4f92ca[_0x754afa(0x10b)][_0x754afa(0x148)](_0x754afa(0x165))[_0x754afa(0x176)]({'model':_0x754afa(0x159),'view':_0x1451ee=>function(_0x13fc84,_0x31bd0c){const _0x189450=_0x754afa,_0x16fe46=_0x13fc84[_0x189450(0xfc)][_0x189450(0x138)](':')[0x2];if(_0x16fe46===_0x31bd0c[_0x189450(0x11b)])return null;const _0x2f7e85=_0x31bd0c[_0x189450(0x13c)](_0x16fe46);if(!_0x2f7e85)return{'id':_0x16fe46,'classes':[]};return{'id':_0x16fe46,'classes':[_0x189450(0x16d),_0x2f7e85[_0x189450(0xfb)][_0x189450(0x11a)]()],'attributes':{'data-session-id':_0x16fe46},'priority':0x7d0+_0x2f7e85[_0x189450(0x12c)]};}(_0x1451ee,_0x5a5153)}),function(_0x558442){const _0x5abc0b=_0x754afa,_0x1f8732=_0x558442[_0x5abc0b(0x16f)],_0x3feadf=new Map(),_0x2b2b01=_0x558442[_0x5abc0b(0x16b)][_0x5abc0b(0xf5)](_0x17b4b4);_0x1f8732[_0x5abc0b(0x11f)]['on'](_0x5abc0b(0x10c),(_0x10c7f6,_0x2fe9c8,_0x3e6417,_0x2ec950)=>{const _0x28b778=_0x5abc0b;if(!_0x2ec950&&_0x3feadf[_0x28b778(0xf5)](_0x2fe9c8[_0x28b778(0xf4)]))return _0x3feadf[_0x28b778(0xf5)](_0x2fe9c8[_0x28b778(0xf4)])[_0x28b778(0x144)](),void _0x3feadf[_0x28b778(0x135)](_0x2fe9c8[_0x28b778(0xf4)]);const _0x37dab2=_0x2fe9c8[_0x28b778(0xf4)][_0x28b778(0x138)](':')[0x2];if(_0x37dab2===_0x2b2b01[_0x28b778(0x11b)])return;const _0x3cf9b8=_0x28b778(0x16a)+_0x37dab2;_0x1f8732[_0x28b778(0x11f)][_0x28b778(0x155)](_0x3cf9b8)&&_0x558442[_0x28b778(0x106)][_0x28b778(0x107)](_0x3cf9b8),_0x2fe9c8['on'](_0x28b778(0x15b),(_0x244858,_0x5ee15a,_0x424c5a)=>{const _0x503f20=_0x28b778;if(_0x503f20(0xf8)!=_0x5ee15a[_0x503f20(0x168)][_0x503f20(0x145)]&&_0x503f20(0xf8)==_0x2fe9c8[_0x503f20(0x162)]()[_0x503f20(0x168)][_0x503f20(0x145)]&&!_0x3feadf[_0x503f20(0x155)](_0x2fe9c8[_0x503f20(0xf4)])){const _0x2d3944=_0x1f8732[_0x503f20(0x12d)][_0x503f20(0x141)](_0x424c5a[_0x503f20(0xf6)]);if(_0x2d3944){const _0x1877d4=_0xa4d461[_0x503f20(0x104)](_0x2d3944);_0x3feadf[_0x503f20(0x16e)](_0x2fe9c8[_0x503f20(0xf4)],_0x1877d4),_0x1877d4['on'](_0x503f20(0x15b),(_0x51007d,_0xff6a96,_0x3da864)=>{const _0x26098d=_0x503f20;if(_0x26098d(0xf8)==_0x1877d4[_0x26098d(0x168)][_0x26098d(0x145)]){const _0x440c61=_0x1f8732[_0x26098d(0x12d)][_0x26098d(0x141)](_0x3da864[_0x26098d(0xf6)]);_0x440c61?(_0x1877d4[_0x26098d(0x171)]=_0x440c61[_0x26098d(0x171)],_0x1877d4[_0x26098d(0x140)]=_0x440c61[_0x26098d(0x140)]):(_0x3feadf[_0x26098d(0x135)](_0x2fe9c8[_0x26098d(0xf4)]),_0x1877d4[_0x26098d(0x144)]());}});}}});}),_0x1f8732[_0x5abc0b(0xef)]['on'](_0x5abc0b(0x177),()=>{const _0x4e4f80=_0x5abc0b;_0x3feadf[_0x4e4f80(0xed)]>0x0&&_0x1f8732[_0x4e4f80(0x14a)]({'isUndoable':!0x1},_0x487344=>{const _0x28d20c=_0x4e4f80;for(const [_0x28d636,_0x33ee79]of _0x3feadf)_0x28d20c(0xf8)==_0x1f8732[_0x28d20c(0x11f)][_0x28d20c(0xf5)](_0x28d636)[_0x28d20c(0x162)]()[_0x28d20c(0x168)][_0x28d20c(0x145)]&&(te(_0x28d636[_0x28d20c(0x138)](':')[0x2],_0x33ee79[_0x28d20c(0x146)](),_0x1f8732,_0x487344),_0x33ee79[_0x28d20c(0x144)]());_0x3feadf[_0x28d20c(0x179)]();});});}(_0x4f92ca),this[_0x754afa(0x17a)][_0x754afa(0x175)](_0x4ab384[_0x754afa(0xef)],_0x754afa(0x11e),(_0x16db90,{key:_0x5212ca})=>{const _0x3d9ed3=_0x754afa;_0x3d9ed3(0x157)===_0x5212ca&&function(_0x154040){const _0x17d92f=_0x3d9ed3;_0x154040[_0x17d92f(0x106)][_0x17d92f(0x101)][_0x17d92f(0x177)](_0x54f1a4=>{const _0x45ac92=_0x17d92f;for(const _0xdb0c5a of _0x154040[_0x45ac92(0x16f)][_0x45ac92(0x11f)]){if(!_0xdb0c5a[_0x45ac92(0xf4)][_0x45ac92(0x116)](_0x45ac92(0x137)))continue;const _0x5d3d63=_0x154040[_0x45ac92(0x106)][_0x45ac92(0x115)][_0x45ac92(0x10a)](_0xdb0c5a[_0x45ac92(0xf4)]);if(_0x5d3d63){for(const _0x5c5002 of _0x5d3d63)_0x54f1a4[_0x45ac92(0x15a)](_0x45ac92(0x130),_0x5c5002);}}});}(_0x4f92ca);},{'useCapture':!0x0});}[_0x585351(0x16c)](){const _0x26be91=_0x585351,_0x3aa87d=this[_0x26be91(0x156)],_0x19cee1=_0x3aa87d[_0x26be91(0xf0)][_0x26be91(0xf5)](_0x26be91(0x121));_0x19cee1&&_0x3aa87d[_0x26be91(0x16f)]['on'](_0x26be91(0xf9),(_0x2899d8,_0x3dafbf)=>{const _0x346f34=_0x26be91,_0xde1093=_0x3dafbf[0x0];if(!_0xde1093[_0x346f34(0xf3)])return;if(_0x346f34(0x170)!=_0xde1093[_0x346f34(0x152)]||!_0xde1093[_0x346f34(0xf4)][_0x346f34(0x116)](_0x346f34(0x154)))return;const _0x453dc4=_0xde1093[_0x346f34(0x160)];_0x19cee1[_0x346f34(0x127)][_0x346f34(0x155)](_0x453dc4)&&(_0xde1093[_0x346f34(0x105)]=_0xde1093[_0x346f34(0x15f)]?_0x3aa87d[_0x346f34(0x16f)][_0x346f34(0x136)](_0xde1093[_0x346f34(0x15f)][_0x346f34(0x171)],_0xde1093[_0x346f34(0x15f)][_0x346f34(0x140)]):null);},{'priority':_0x26be91(0x117)});}[_0x585351(0x119)](){const _0x219626=_0x585351;return this[_0x219626(0x17a)][_0x219626(0x169)](),super[_0x219626(0x119)]();}[_0x585351(0x10d)](){const _0x47fe20=_0x585351,_0x446ffc=this[_0x47fe20(0x156)],_0x373224=_0x446ffc[_0x47fe20(0x16f)][_0x47fe20(0xef)],_0x393b36=_0x446ffc[_0x47fe20(0x16b)][_0x47fe20(0xf5)](_0x17b4b4);_0x446ffc[_0x47fe20(0x16f)][_0x47fe20(0x14a)]({'isUndoable':!0x1},_0x52cbf3=>{const _0x2ecafc=_0x47fe20,_0x441779=_0x2ecafc(0x11d)+_0x393b36[_0x2ecafc(0x11b)],_0x21c1c3=_0x2ecafc(0x16a)+_0x393b36[_0x2ecafc(0x11b)],_0x1c1e15=_0x446ffc[_0x2ecafc(0x16f)][_0x2ecafc(0x11f)][_0x2ecafc(0x155)](_0x441779);_0x446ffc[_0x2ecafc(0x106)][_0x2ecafc(0x101)][_0x2ecafc(0x113)]?te(_0x393b36[_0x2ecafc(0x11b)],_0x373224[_0x2ecafc(0x134)][_0x2ecafc(0x11c)](),_0x446ffc[_0x2ecafc(0x16f)],_0x52cbf3):_0x1c1e15&&(_0x52cbf3[_0x2ecafc(0x12b)](_0x441779),_0x52cbf3[_0x2ecafc(0x12b)](_0x21c1c3));});}}function te(_0x56698e,_0x56292b,_0x5982b8,_0x38ff9e){const _0x1e5060=_0x585351,_0x126bbf=_0x1e5060(0x11d)+_0x56698e,_0x2a43bd=_0x1e5060(0x16a)+_0x56698e,_0x125d6c=_0x56292b[_0x1e5060(0x161)]();let _0x24f3c3=_0x56292b[_0x1e5060(0x171)];_0x125d6c&&_0x125d6c['is'](_0x1e5060(0x13d),_0x1e5060(0x100))&&(_0x24f3c3=function(_0x39a2f1,_0x4d2d45){const _0x231cd1=_0x1e5060;for(const _0x2757fa of _0x39a2f1[_0x231cd1(0x108)]())if(_0x4d2d45[_0x231cd1(0x12d)][_0x231cd1(0x132)](_0x2757fa,_0x231cd1(0x15c)))return _0x2757fa;}(_0x56292b,_0x5982b8),_0x56292b=_0x38ff9e[_0x1e5060(0x136)](_0x24f3c3));const _0x463282=_0x38ff9e[_0x1e5060(0x136)](_0x24f3c3);_0x5982b8[_0x1e5060(0x11f)][_0x1e5060(0x155)](_0x126bbf)?(_0x38ff9e[_0x1e5060(0x114)](_0x126bbf,{'range':_0x56292b}),_0x38ff9e[_0x1e5060(0x114)](_0x2a43bd,{'range':_0x463282})):(_0x38ff9e[_0x1e5060(0x166)](_0x126bbf,{'range':_0x56292b,'usingOperation':!0x0}),_0x38ff9e[_0x1e5060(0x166)](_0x2a43bd,{'range':_0x463282,'usingOperation':!0x0}));}
23
+ const _0x45b121=_0x5ede;function _0x5ede(_0x14241f,_0x3d0a75){const _0x1f479c=_0x1f47();return _0x5ede=function(_0x5edea5,_0x324ba8){_0x5edea5=_0x5edea5-0x86;let _0x5c7365=_0x1f479c[_0x5edea5];return _0x5c7365;},_0x5ede(_0x14241f,_0x3d0a75);}function _0x1f47(){const _0x52b2e8=['isOfficialPlugin','createUIElement','$text','createUserMarkerOperations','createElement','userPositionMarker','set','orderNumber','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','marker','getAttribute','destroy','conversion','469lwfKIm','isCollapsed','mouseenter','Escape','isObject','ck-user__marker-tooltip','size','plugins','62196SnLvwk','parent','isSimilar','user:position','ck-user__marker\x20','getSelectionClass','removeMarker','init','tableCell','name','root','user:','classList','4DKTfLh','model','getPositions','delete','render','mouseleave','getRange','getUserBySessionId','view','ck-user__selection','nodeAfter','highest','newRange','split','addMarker','isLimit','user:range','schema','change','mySessionId','getMarkerClass','editing','markerNameToElements','user:range:','12eXuFec','start','stopListening','has','remove','requires','false','color','update:user:range','toDomElement','getCustomProperty','3CaozIH','UserMarkers','for','get','undo','pluginName','isPremiumPlugin','setAttribute','applyOperation','element','markerToHighlight','getFirstRange','20WGUlfE','createRange','markers','getContainedElement','getStart','hasDomSelection','batch','contenteditable','599827VYpDlJ','markerName','afterInit','rootName','clear','_createdBatches','3303655RnLbZS','5966685oHBYBA','change:range','enqueueChange','deletionPosition','reconvertMarker','getNearestSelectionRange','hasContent','outerHTML','updateMarker','span','_domEmitter','toRange','commands','listenTo','spellcheck','markerRange','2601800HlOogz','oldRange','document','8716912ghOFrv','addEventListener','add','markerToElement','selection','user:position:','removeClass','checkChild','isDocumentOperation','detach','editor','textContent','startsWith','fromRange','end','data-session-id','28118981RAzdXK','type','innerHTML','$graveyard','mapper','isInline','ck-user__marker_hovered','keydown','editingDowncast','setCustomProperty'];_0x1f47=function(){return _0x52b2e8;};return _0x1f47();}(function(_0x3ddf5d,_0x14c237){const _0x4a9de3=_0x5ede,_0x375e3b=_0x3ddf5d();while(!![]){try{const _0x4a1dd6=-parseInt(_0x4a9de3(0x100))/0x1+-parseInt(_0x4a9de3(0x8a))/0x2*(-parseInt(_0x4a9de3(0xec))/0x3)+parseInt(_0x4a9de3(0xc9))/0x4*(-parseInt(_0x4a9de3(0x106))/0x5)+-parseInt(_0x4a9de3(0xbc))/0x6*(-parseInt(_0x4a9de3(0xb4))/0x7)+-parseInt(_0x4a9de3(0x8d))/0x8+-parseInt(_0x4a9de3(0x107))/0x9*(parseInt(_0x4a9de3(0xf8))/0xa)+parseInt(_0x4a9de3(0x9d))/0xb*(parseInt(_0x4a9de3(0xe1))/0xc);if(_0x4a1dd6===_0x14c237)break;else _0x375e3b['push'](_0x375e3b['shift']());}catch(_0x39caed){_0x375e3b['push'](_0x375e3b['shift']());}}}(_0x1f47,0xd5c47));import{Plugin as _0x208845}from'ckeditor5/src/core.js';import{global as _0x543bd6,DomEmitterMixin as _0x279998}from'ckeditor5/src/utils.js';import _0x3e292b from'./sessions.js';import{LiveRange as _0x322e6d}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x208845{[_0x45b121(0x111)]=new(_0x279998())();static get[_0x45b121(0xe6)](){return[_0x3e292b];}static get[_0x45b121(0xf1)](){const _0x4e0814=_0x45b121;return _0x4e0814(0xed);}static get[_0x45b121(0xa7)](){return!0x0;}static get[_0x45b121(0xf2)](){return!0x0;}[_0x45b121(0xc3)](){const _0x37fc56=_0x45b121,_0x3f27f8=this[_0x37fc56(0x97)],_0x3a0fa4=_0x3f27f8[_0x37fc56(0xbb)][_0x37fc56(0xef)](_0x3e292b);_0x3f27f8[_0x37fc56(0xb3)][_0x37fc56(0xee)](_0x37fc56(0xa5))[_0x37fc56(0x90)]({'model':_0x37fc56(0xbf),'view':(_0x127571,{writer:_0x46699b})=>function(_0x1a8cca,_0x433c70,_0x453aa7,_0x44bae2){const _0x52649b=_0x37fc56,_0x13bdae=_0x1a8cca[_0x52649b(0x101)][_0x52649b(0xd6)](':')[0x2],_0x137769=_0x453aa7[_0x52649b(0xd0)](_0x13bdae);if(!_0x137769||_0x13bdae===_0x453aa7[_0x52649b(0xdc)])return;if(!_0x44bae2[_0x52649b(0xca)][_0x52649b(0xda)][_0x52649b(0x94)](_0x1a8cca[_0x52649b(0x89)][_0x52649b(0xe2)],_0x52649b(0xa9)))return;const _0x17b763={'class':_0x52649b(0xc0)+_0x137769[_0x52649b(0xe8)][_0x52649b(0xdd)](),'data-name':_0x137769[_0x52649b(0xc5)],'data-session-id':_0x13bdae},_0x861d65=_0x44bae2[_0x52649b(0xca)][_0x52649b(0xfa)][_0x52649b(0xef)](_0x1a8cca[_0x52649b(0x101)]),_0x385822=_0x861d65[_0x52649b(0xfc)](),_0x3a8cfe=_0x385822[_0x52649b(0xd3)],_0x3c1da9=_0x44bae2[_0x52649b(0xca)][_0x52649b(0xda)];if(_0x3a8cfe&&_0x3c1da9[_0x52649b(0xb8)](_0x3a8cfe)&&_0x3c1da9[_0x52649b(0xa2)](_0x3a8cfe)&&!_0x44bae2[_0x52649b(0xca)][_0x52649b(0xfa)][_0x52649b(0xef)](_0x52649b(0xe0)+_0x13bdae)[_0x52649b(0xcf)]()[_0x52649b(0xb5)])return;const _0x5078e2=_0x385822[_0x52649b(0xbd)];return _0x44bae2[_0x52649b(0xca)][_0x52649b(0xda)][_0x52649b(0xd8)](_0x5078e2)&&!_0x44bae2[_0x52649b(0xca)][_0x52649b(0x10d)](_0x5078e2)&&(_0x17b763[_0x52649b(0xff)]=!0x1),function(_0x247999,_0x451034,_0x2007e7){const _0x4e09a2=_0x52649b,_0x21df33=_0x247999[_0x4e09a2(0xa8)](_0x4e09a2(0x110),_0x451034);return _0x247999[_0x4e09a2(0xa6)](_0x4e09a2(0xac),!0x0,_0x21df33),_0x21df33[_0x4e09a2(0xcd)]=function(_0x28cb45){const _0x585b99=_0x4e09a2,_0x48d300=this[_0x585b99(0xea)](_0x28cb45),_0x9b34e6=document[_0x585b99(0xab)](_0x585b99(0x110));return _0x9b34e6[_0x585b99(0xc8)][_0x585b99(0x8f)](_0x585b99(0xb9)),_0x9b34e6[_0x585b99(0xf3)](_0x585b99(0xff),_0x585b99(0xe7)),_0x9b34e6[_0x585b99(0xf3)](_0x585b99(0x88),_0x585b99(0xe7)),_0x9b34e6[_0x585b99(0x98)]=_0x2007e7[_0x585b99(0xc5)],_0x48d300[_0x585b99(0x9f)]=_0x585b99(0xaf)+_0x9b34e6[_0x585b99(0x10e)]+'⁠',_0x48d300[_0x585b99(0x8e)](_0x585b99(0xb6),()=>{const _0x323d43=_0x585b99;_0x48d300[_0x323d43(0xc8)][_0x323d43(0x8f)](_0x323d43(0xa3));}),_0x48d300[_0x585b99(0x8e)](_0x585b99(0xce),()=>{const _0x38ece0=_0x585b99;_0x48d300[_0x38ece0(0xc8)][_0x38ece0(0xe5)](_0x38ece0(0xa3));}),_0x48d300;},_0x21df33[_0x4e09a2(0xbe)]=function(_0x19d88b){const _0x373589=_0x4e09a2;return!(!this[_0x373589(0xeb)](_0x373589(0xac))||!_0x19d88b[_0x373589(0xeb)](_0x373589(0xac))||this[_0x373589(0xb1)](_0x373589(0x9c))!=_0x19d88b[_0x373589(0xb1)](_0x373589(0x9c)));},_0x21df33;}(_0x433c70,_0x17b763,_0x137769);}(_0x127571,_0x46699b,_0x3a0fa4,_0x3f27f8)}),_0x3f27f8[_0x37fc56(0xb3)][_0x37fc56(0xee)](_0x37fc56(0xa5))[_0x37fc56(0xf6)]({'model':_0x37fc56(0xd9),'view':_0x3d4046=>function(_0x305185,_0x353e5f){const _0x841a7=_0x37fc56,_0x4d82db=_0x305185[_0x841a7(0x101)][_0x841a7(0xd6)](':')[0x2];if(_0x4d82db===_0x353e5f[_0x841a7(0xdc)])return null;const _0x75a664=_0x353e5f[_0x841a7(0xd0)](_0x4d82db);if(!_0x75a664)return{'id':_0x4d82db,'classes':[]};return{'id':_0x4d82db,'classes':[_0x841a7(0xd2),_0x75a664[_0x841a7(0xe8)][_0x841a7(0xc1)]()],'attributes':{'data-session-id':_0x4d82db},'priority':0x7d0+_0x75a664[_0x841a7(0xae)]};}(_0x3d4046,_0x3a0fa4)}),function(_0x37bb6e){const _0x14f3f1=_0x37fc56,_0x189b66=_0x37bb6e[_0x14f3f1(0xca)],_0x4f5460=new Map(),_0x540b9e=_0x37bb6e[_0x14f3f1(0xbb)][_0x14f3f1(0xef)](_0x3e292b);_0x189b66[_0x14f3f1(0xfa)]['on'](_0x14f3f1(0xe9),(_0x3b92ee,_0x1ba796,_0x38e953,_0x1dbe2e)=>{const _0x43f592=_0x14f3f1;if(!_0x1dbe2e&&_0x4f5460[_0x43f592(0xef)](_0x1ba796[_0x43f592(0xc5)]))return _0x4f5460[_0x43f592(0xef)](_0x1ba796[_0x43f592(0xc5)])[_0x43f592(0x96)](),void _0x4f5460[_0x43f592(0xcc)](_0x1ba796[_0x43f592(0xc5)]);const _0x13202e=_0x1ba796[_0x43f592(0xc5)][_0x43f592(0xd6)](':')[0x2];if(_0x13202e===_0x540b9e[_0x43f592(0xdc)])return;const _0x9be00a=_0x43f592(0x92)+_0x13202e;_0x189b66[_0x43f592(0xfa)][_0x43f592(0xe4)](_0x9be00a)&&_0x37bb6e[_0x43f592(0xde)][_0x43f592(0x10b)](_0x9be00a),_0x1ba796['on'](_0x43f592(0x108),(_0x58ecb3,_0x4b2f64,_0x2178bd)=>{const _0x42fb5d=_0x43f592;if(_0x42fb5d(0xa0)!=_0x4b2f64[_0x42fb5d(0xc6)][_0x42fb5d(0x103)]&&_0x42fb5d(0xa0)==_0x1ba796[_0x42fb5d(0xcf)]()[_0x42fb5d(0xc6)][_0x42fb5d(0x103)]&&!_0x4f5460[_0x42fb5d(0xe4)](_0x1ba796[_0x42fb5d(0xc5)])){const _0x1b37f3=_0x189b66[_0x42fb5d(0xda)][_0x42fb5d(0x10c)](_0x2178bd[_0x42fb5d(0x10a)]);if(_0x1b37f3){const _0x5c1876=_0x322e6d[_0x42fb5d(0x9a)](_0x1b37f3);_0x4f5460[_0x42fb5d(0xad)](_0x1ba796[_0x42fb5d(0xc5)],_0x5c1876),_0x5c1876['on'](_0x42fb5d(0x108),(_0x2bce44,_0x2643c6,_0x6d14ae)=>{const _0x26626b=_0x42fb5d;if(_0x26626b(0xa0)==_0x5c1876[_0x26626b(0xc6)][_0x26626b(0x103)]){const _0x18341f=_0x189b66[_0x26626b(0xda)][_0x26626b(0x10c)](_0x6d14ae[_0x26626b(0x10a)]);_0x18341f?(_0x5c1876[_0x26626b(0xe2)]=_0x18341f[_0x26626b(0xe2)],_0x5c1876[_0x26626b(0x9b)]=_0x18341f[_0x26626b(0x9b)]):(_0x4f5460[_0x26626b(0xcc)](_0x1ba796[_0x26626b(0xc5)]),_0x5c1876[_0x26626b(0x96)]());}});}}});}),_0x189b66[_0x14f3f1(0x8c)]['on'](_0x14f3f1(0xdb),()=>{const _0x4b6e55=_0x14f3f1;_0x4f5460[_0x4b6e55(0xba)]>0x0&&_0x189b66[_0x4b6e55(0x109)]({'isUndoable':!0x1},_0x214e2d=>{const _0xdcd336=_0x4b6e55;for(const [_0x4096df,_0x524b70]of _0x4f5460)_0xdcd336(0xa0)==_0x189b66[_0xdcd336(0xfa)][_0xdcd336(0xef)](_0x4096df)[_0xdcd336(0xcf)]()[_0xdcd336(0xc6)][_0xdcd336(0x103)]&&(te(_0x4096df[_0xdcd336(0xd6)](':')[0x2],_0x524b70[_0xdcd336(0x112)](),_0x189b66,_0x214e2d),_0x524b70[_0xdcd336(0x96)]());_0x4f5460[_0xdcd336(0x104)]();});});}(_0x3f27f8),this[_0x37fc56(0x111)][_0x37fc56(0x87)](_0x543bd6[_0x37fc56(0x8c)],_0x37fc56(0xa4),(_0x1eda47,{key:_0x4f7240})=>{const _0x2af9db=_0x37fc56;_0x2af9db(0xb7)===_0x4f7240&&function(_0xdf1fee){const _0x24740c=_0x2af9db;_0xdf1fee[_0x24740c(0xde)][_0x24740c(0xd1)][_0x24740c(0xdb)](_0x2dce12=>{const _0x2d6401=_0x24740c;for(const _0x1717c8 of _0xdf1fee[_0x2d6401(0xca)][_0x2d6401(0xfa)]){if(!_0x1717c8[_0x2d6401(0xc5)][_0x2d6401(0x99)](_0x2d6401(0xbf)))continue;const _0x1d4933=_0xdf1fee[_0x2d6401(0xde)][_0x2d6401(0xa1)][_0x2d6401(0xdf)](_0x1717c8[_0x2d6401(0xc5)]);if(_0x1d4933){for(const _0x38268c of _0x1d4933)_0x2dce12[_0x2d6401(0x93)](_0x2d6401(0xa3),_0x38268c);}}});}(_0x3f27f8);},{'useCapture':!0x0});}[_0x45b121(0x102)](){const _0x176892=_0x45b121,_0x38e97c=this[_0x176892(0x97)],_0xf807e8=_0x38e97c[_0x176892(0x86)][_0x176892(0xef)](_0x176892(0xf0));_0xf807e8&&_0x38e97c[_0x176892(0xca)]['on'](_0x176892(0xf4),(_0x498f3f,_0x3d1d33)=>{const _0xb2b7ed=_0x176892,_0x58c3b4=_0x3d1d33[0x0];if(!_0x58c3b4[_0xb2b7ed(0x95)])return;if(_0xb2b7ed(0xb0)!=_0x58c3b4[_0xb2b7ed(0x9e)]||!_0x58c3b4[_0xb2b7ed(0xc5)][_0xb2b7ed(0x99)](_0xb2b7ed(0xc7)))return;const _0x30c116=_0x58c3b4[_0xb2b7ed(0xfe)];_0xf807e8[_0xb2b7ed(0x105)][_0xb2b7ed(0xe4)](_0x30c116)&&(_0x58c3b4[_0xb2b7ed(0xd5)]=_0x58c3b4[_0xb2b7ed(0x8b)]?_0x38e97c[_0xb2b7ed(0xca)][_0xb2b7ed(0xf9)](_0x58c3b4[_0xb2b7ed(0x8b)][_0xb2b7ed(0xe2)],_0x58c3b4[_0xb2b7ed(0x8b)][_0xb2b7ed(0x9b)]):null);},{'priority':_0x176892(0xd4)});}[_0x45b121(0xb2)](){const _0x8327f7=_0x45b121;return this[_0x8327f7(0x111)][_0x8327f7(0xe3)](),super[_0x8327f7(0xb2)]();}[_0x45b121(0xaa)](){const _0x4cfc1e=_0x45b121,_0xf85fdd=this[_0x4cfc1e(0x97)],_0x4fd259=_0xf85fdd[_0x4cfc1e(0xca)][_0x4cfc1e(0x8c)],_0x1493a6=_0xf85fdd[_0x4cfc1e(0xbb)][_0x4cfc1e(0xef)](_0x3e292b);_0xf85fdd[_0x4cfc1e(0xca)][_0x4cfc1e(0x109)]({'isUndoable':!0x1},_0x24a543=>{const _0x2849a2=_0x4cfc1e,_0x4c40d3=_0x2849a2(0xe0)+_0x1493a6[_0x2849a2(0xdc)],_0x5be34=_0x2849a2(0x92)+_0x1493a6[_0x2849a2(0xdc)],_0x1e801d=_0xf85fdd[_0x2849a2(0xca)][_0x2849a2(0xfa)][_0x2849a2(0xe4)](_0x4c40d3);_0xf85fdd[_0x2849a2(0xde)][_0x2849a2(0xd1)][_0x2849a2(0xfd)]?te(_0x1493a6[_0x2849a2(0xdc)],_0x4fd259[_0x2849a2(0x91)][_0x2849a2(0xf7)](),_0xf85fdd[_0x2849a2(0xca)],_0x24a543):_0x1e801d&&(_0x24a543[_0x2849a2(0xc2)](_0x4c40d3),_0x24a543[_0x2849a2(0xc2)](_0x5be34));});}}function te(_0x3cdaed,_0x32eaf5,_0x114b54,_0x1591da){const _0x36bd66=_0x45b121,_0x3762e2=_0x36bd66(0xe0)+_0x3cdaed,_0x19e190=_0x36bd66(0x92)+_0x3cdaed,_0x5d4c58=_0x32eaf5[_0x36bd66(0xfb)]();let _0x249ccc=_0x32eaf5[_0x36bd66(0xe2)];_0x5d4c58&&_0x5d4c58['is'](_0x36bd66(0xf5),_0x36bd66(0xc4))&&(_0x249ccc=function(_0x1abcfe,_0x31002b){const _0x47e673=_0x36bd66;for(const _0x33672f of _0x1abcfe[_0x47e673(0xcb)]())if(_0x31002b[_0x47e673(0xda)][_0x47e673(0x94)](_0x33672f,_0x47e673(0xa9)))return _0x33672f;}(_0x32eaf5,_0x114b54),_0x32eaf5=_0x1591da[_0x36bd66(0xf9)](_0x249ccc));const _0x2f59ff=_0x1591da[_0x36bd66(0xf9)](_0x249ccc);_0x114b54[_0x36bd66(0xfa)][_0x36bd66(0xe4)](_0x3762e2)?(_0x1591da[_0x36bd66(0x10f)](_0x3762e2,{'range':_0x32eaf5}),_0x1591da[_0x36bd66(0x10f)](_0x19e190,{'range':_0x2f59ff})):(_0x1591da[_0x36bd66(0xd7)](_0x3762e2,{'range':_0x32eaf5,'usingOperation':!0x0}),_0x1591da[_0x36bd66(0xd7)](_0x19e190,{'range':_0x2f59ff,'usingOperation':!0x0}));}