@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.1 → 47.1.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 _0x55b621=_0x2a36;(function(_0x386ef1,_0x597134){const _0x50e52a=_0x2a36,_0x349f44=_0x386ef1();while(!![]){try{const _0x1fc846=-parseInt(_0x50e52a(0xf3))/0x1*(-parseInt(_0x50e52a(0x10a))/0x2)+-parseInt(_0x50e52a(0xfb))/0x3+parseInt(_0x50e52a(0x102))/0x4*(-parseInt(_0x50e52a(0xee))/0x5)+parseInt(_0x50e52a(0xf8))/0x6+-parseInt(_0x50e52a(0x103))/0x7*(parseInt(_0x50e52a(0xf2))/0x8)+-parseInt(_0x50e52a(0x107))/0x9*(-parseInt(_0x50e52a(0xfd))/0xa)+parseInt(_0x50e52a(0xff))/0xb;if(_0x1fc846===_0x597134)break;else _0x349f44['push'](_0x349f44['shift']());}catch(_0x5ac614){_0x349f44['push'](_0x349f44['shift']());}}}(_0x133b,0x87d21));import{View as _0x4ed3e4}from'ckeditor5/src/ui.js';function _0x133b(){const _0x140147=['5534771pwpEON','list','querySelector','247348oFLgpg','5339159pcrwKh','Connected\x20users\x20list','presencelist:show','bindTemplate','9VackIF','setTemplate','createCollection','4RvVGtn','relatedTarget','keystrokes','set','presencelist:hide','setAttribute','element','hasPopup','items','ck-presence-list__list','.ck-balloon-panel_with-arrow','div','10MuWXXl','aria-expanded','listenTo','removeAttribute','8YXlSOc','11123HdsNRs','render','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','.ck-presence-list__dropdown-list','6403086fAvMQC','fire','contains','971517fyPHMJ','focus','1739830PQJcXr','change:hasPopup'];_0x133b=function(){return _0x140147;};return _0x133b();}import{KeystrokeHandler as _0x4481f8}from'ckeditor5/src/utils.js';function _0x2a36(_0x4d624d,_0x1f955d){const _0x133b1d=_0x133b();return _0x2a36=function(_0x2a3622,_0x476979){_0x2a3622=_0x2a3622-0xe9;let _0xbab37a=_0x133b1d[_0x2a3622];return _0xbab37a;},_0x2a36(_0x4d624d,_0x1f955d);}import{getTranslation as _0x3427f6}from'../../common-translations.js';export class PresenceInlineListView extends _0x4ed3e4{[_0x55b621(0xea)];[_0x55b621(0x10c)];constructor(_0x466bc2){const _0xe48d03=_0x55b621;super(_0x466bc2);const _0x2d7d62=this[_0xe48d03(0x106)];this[_0xe48d03(0xea)]=this[_0xe48d03(0x109)](),this[_0xe48d03(0x10c)]=new _0x4481f8(),this[_0xe48d03(0x10d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xe48d03(0x108)]({'tag':_0xe48d03(0xed),'attributes':{'aria-haspopup':_0x2d7d62['if'](_0xe48d03(0xe9)),'aria-expanded':_0x2d7d62['to'](_0xe48d03(0xf6),_0x5e1937=>this[_0xe48d03(0xe9)]&&String(_0x5e1937)),'aria-label':_0x2d7d62['to'](_0xe48d03(0xe9),_0x327763=>_0x3427f6(_0x466bc2,_0x327763?_0xe48d03(0xf5):_0xe48d03(0x104))),'role':_0xe48d03(0x100),'tabindex':_0x2d7d62['to'](_0xe48d03(0xe9),_0x120498=>!!_0x120498&&0x0),'class':['ck',_0xe48d03(0xeb)]},'children':this[_0xe48d03(0xea)],'on':{'mouseenter':_0x2d7d62['to'](()=>this[_0xe48d03(0xf9)](_0xe48d03(0x105))),'mouseleave':_0x2d7d62['to'](_0x2d1fc6=>{const _0x21360f=_0xe48d03,_0x25c581=_0x2d1fc6,_0x32a854=document[_0x21360f(0x101)](_0x21360f(0xf7)),_0x1401af=document[_0x21360f(0x101)](_0x21360f(0xec));_0x32a854?.[_0x21360f(0xfa)](_0x25c581[_0x21360f(0x10b)])||_0x1401af?.[_0x21360f(0xfa)](_0x25c581[_0x21360f(0x10b)])||this[_0x21360f(0xf9)](_0x21360f(0x10e));})}}),this['on'](_0xe48d03(0xfe),(_0x344f7a,_0x1f99d3,_0x3b51bf)=>{const _0x4136c0=_0xe48d03;this[_0x4136c0(0x110)]&&(_0x3b51bf?this[_0x4136c0(0x110)][_0x4136c0(0x10f)](_0x4136c0(0xef),String(this[_0x4136c0(0xf6)])):this[_0x4136c0(0x110)][_0x4136c0(0xf1)](_0x4136c0(0xef)));});}[_0x55b621(0xfc)](){const _0x3bd8ab=_0x55b621;this[_0x3bd8ab(0x110)][_0x3bd8ab(0xfc)]();}[_0x55b621(0xf4)](){const _0x41198d=_0x55b621;super[_0x41198d(0xf4)](),this[_0x41198d(0x10c)][_0x41198d(0xf0)](this[_0x41198d(0x110)]);}}
23
+ function _0x30d9(_0x4674d7,_0x3999af){const _0x26a6bf=_0x26a6();return _0x30d9=function(_0x30d92b,_0x2b17e6){_0x30d92b=_0x30d92b-0x1bb;let _0x35d613=_0x26a6bf[_0x30d92b];return _0x35d613;},_0x30d9(_0x4674d7,_0x3999af);}const _0x1bdd93=_0x30d9;(function(_0x59c830,_0x172eba){const _0x47fc07=_0x30d9,_0x170055=_0x59c830();while(!![]){try{const _0x1b8182=-parseInt(_0x47fc07(0x1c3))/0x1*(parseInt(_0x47fc07(0x1ca))/0x2)+-parseInt(_0x47fc07(0x1e1))/0x3+-parseInt(_0x47fc07(0x1be))/0x4*(parseInt(_0x47fc07(0x1ce))/0x5)+-parseInt(_0x47fc07(0x1df))/0x6+parseInt(_0x47fc07(0x1d8))/0x7+parseInt(_0x47fc07(0x1c0))/0x8*(-parseInt(_0x47fc07(0x1c2))/0x9)+parseInt(_0x47fc07(0x1c4))/0xa;if(_0x1b8182===_0x172eba)break;else _0x170055['push'](_0x170055['shift']());}catch(_0x4f309e){_0x170055['push'](_0x170055['shift']());}}}(_0x26a6,0xe5002));import{View as _0x85c164}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x52f299}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a071f}from'../../common-translations.js';function _0x26a6(){const _0x4b4337=['element','1843016DtQAGg','items','isExpanded','list','presencelist:hide','removeAttribute','set','10993788AVQwza','focus','5271807aHLOYq','hasPopup','bindTemplate','listenTo','20dmAFtx','createCollection','256PSLmmo','ck-presence-list__list','138789HBCZID','11mXWUmk','67349330yntpbm','keystrokes','contains','.ck-presence-list__dropdown-list','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','264362YarpWb','change:hasPopup','querySelector','.ck-balloon-panel_with-arrow','523205ldfnkX','div','setTemplate','Connected\x20users\x20list','aria-expanded','relatedTarget','render','setAttribute','presencelist:show'];_0x26a6=function(){return _0x4b4337;};return _0x26a6();}export class PresenceInlineListView extends _0x85c164{[_0x1bdd93(0x1d9)];[_0x1bdd93(0x1c5)];constructor(_0x273c6c){const _0x50160f=_0x1bdd93;super(_0x273c6c);const _0x1960e7=this[_0x50160f(0x1bc)];this[_0x50160f(0x1d9)]=this[_0x50160f(0x1bf)](),this[_0x50160f(0x1c5)]=new _0x52f299(),this[_0x50160f(0x1de)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x50160f(0x1d0)]({'tag':_0x50160f(0x1cf),'attributes':{'aria-haspopup':_0x1960e7['if'](_0x50160f(0x1bb)),'aria-expanded':_0x1960e7['to'](_0x50160f(0x1da),_0x2f569e=>this[_0x50160f(0x1bb)]&&String(_0x2f569e)),'aria-label':_0x1960e7['to'](_0x50160f(0x1bb),_0x20ab42=>_0x5a071f(_0x273c6c,_0x20ab42?_0x50160f(0x1c9):_0x50160f(0x1d1))),'role':_0x50160f(0x1db),'tabindex':_0x1960e7['to'](_0x50160f(0x1bb),_0x54dd85=>!!_0x54dd85&&0x0),'class':['ck',_0x50160f(0x1c1)]},'children':this[_0x50160f(0x1d9)],'on':{'mouseenter':_0x1960e7['to'](()=>this[_0x50160f(0x1c8)](_0x50160f(0x1d6))),'mouseleave':_0x1960e7['to'](_0x551a3c=>{const _0x3a12c0=_0x50160f,_0x43b2b0=_0x551a3c,_0xa087d6=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1c7)),_0x34445e=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1cd));_0xa087d6?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||_0x34445e?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||this[_0x3a12c0(0x1c8)](_0x3a12c0(0x1dc));})}}),this['on'](_0x50160f(0x1cb),(_0x155d94,_0x7784d6,_0x3e5fc1)=>{const _0xfe19a2=_0x50160f;this[_0xfe19a2(0x1d7)]&&(_0x3e5fc1?this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1d5)](_0xfe19a2(0x1d2),String(this[_0xfe19a2(0x1da)])):this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1dd)](_0xfe19a2(0x1d2)));});}[_0x1bdd93(0x1e0)](){const _0x3147ff=_0x1bdd93;this[_0x3147ff(0x1d7)][_0x3147ff(0x1e0)]();}[_0x1bdd93(0x1d4)](){const _0x5d0688=_0x1bdd93;super[_0x5d0688(0x1d4)](),this[_0x5d0688(0x1c5)][_0x5d0688(0x1bd)](this[_0x5d0688(0x1d7)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c694e=_0xf094;(function(_0x3df69f,_0xf3d2f8){const _0x2dec83=_0xf094,_0x56d875=_0x3df69f();while(!![]){try{const _0x2c35f4=parseInt(_0x2dec83(0xf4))/0x1+-parseInt(_0x2dec83(0xe9))/0x2+parseInt(_0x2dec83(0xed))/0x3+parseInt(_0x2dec83(0xf3))/0x4+-parseInt(_0x2dec83(0xea))/0x5+-parseInt(_0x2dec83(0xe3))/0x6+parseInt(_0x2dec83(0xf0))/0x7;if(_0x2c35f4===_0xf3d2f8)break;else _0x56d875['push'](_0x56d875['shift']());}catch(_0x16f76b){_0x56d875['push'](_0x56d875['shift']());}}}(_0x3bd7,0x6543f));function _0xf094(_0x2f84c1,_0x9ae4ba){const _0x3bd761=_0x3bd7();return _0xf094=function(_0xf0948a,_0x15e77e){_0xf0948a=_0xf0948a-0xdc;let _0x4aa978=_0x3bd761[_0xf0948a];return _0x4aa978;},_0xf094(_0x2f84c1,_0x9ae4ba);}function _0x3bd7(){const _0x1e1df0=['counterView','locale','first','1631222bMCOej','3720310XfVeNR','set','bind','245940WFOOGo','listenTo','ck-presence-list','7745108fFYeZx','div','setTemplate','2250156xmXqYk','302028ImCjjd','tooltipPosition','items','ck-presence-list--collapsed','bindTemplate','ck-rounded-corners','inlineListView','change','ck-reset','471210zVzdbL','isCollapsed','hasPopup'];_0x3bd7=function(){return _0x1e1df0;};return _0x3bd7();}import{View as _0x5882d8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x41cf94}from'./presencecounterview.js';import{PresenceInlineListView as _0x20085e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5882d8{[_0x3c694e(0xe6)];[_0x3c694e(0xe0)];constructor(_0x859af9,_0x279fe0=0x6){const _0x1067a4=_0x3c694e;super(_0x859af9);const _0x39551b=this[_0x1067a4(0xde)];this[_0x1067a4(0xeb)](_0x1067a4(0xe4),!0x0),this[_0x1067a4(0xe6)]=new _0x41cf94(this[_0x1067a4(0xe7)],_0x279fe0),this[_0x1067a4(0xe0)]=new _0x20085e(_0x859af9),this[_0x1067a4(0xe0)][_0x1067a4(0xec)](_0x1067a4(0xe5))['to'](this,_0x1067a4(0xe4)),this[_0x1067a4(0xee)](this[_0x1067a4(0xe0)][_0x1067a4(0xdc)],_0x1067a4(0xe1),()=>{const _0x55867c=_0x1067a4;for(const _0x219462 of this[_0x55867c(0xe0)][_0x55867c(0xdc)])_0x219462[_0x55867c(0xf5)]='s';this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)]&&(this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)][_0x55867c(0xf5)]='se');}),this[_0x1067a4(0xf2)]({'tag':_0x1067a4(0xf1),'attributes':{'class':['ck',_0x1067a4(0xef),_0x1067a4(0xe2),_0x1067a4(0xdf),_0x39551b['if'](_0x1067a4(0xe4),_0x1067a4(0xdd))]},'children':[this[_0x1067a4(0xe0)]]});}}
23
+ const _0x2622ea=_0x5593;(function(_0x12c6dc,_0x1ffda0){const _0x5b7746=_0x5593,_0x3567c4=_0x12c6dc();while(!![]){try{const _0x167c78=-parseInt(_0x5b7746(0x1b7))/0x1+parseInt(_0x5b7746(0x1a6))/0x2*(-parseInt(_0x5b7746(0x1aa))/0x3)+parseInt(_0x5b7746(0x1a4))/0x4*(parseInt(_0x5b7746(0x1ba))/0x5)+parseInt(_0x5b7746(0x1b1))/0x6*(parseInt(_0x5b7746(0x1b6))/0x7)+parseInt(_0x5b7746(0x1af))/0x8*(parseInt(_0x5b7746(0x1ac))/0x9)+-parseInt(_0x5b7746(0x1b4))/0xa*(-parseInt(_0x5b7746(0x1b0))/0xb)+-parseInt(_0x5b7746(0x1bf))/0xc;if(_0x167c78===_0x1ffda0)break;else _0x3567c4['push'](_0x3567c4['shift']());}catch(_0x393b57){_0x3567c4['push'](_0x3567c4['shift']());}}}(_0x27b9,0xd65f2));import{View as _0x198819}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5eb100}from'./presencecounterview.js';function _0x27b9(){const _0x21cdc0=['tooltipPosition','648549XZXdom','inlineListView','locale','136LKCyzc','3476EFLQbb','65298ZEFjwJ','bindTemplate','ck-reset','13650sqmHWi','div','1050NIWdCz','829908IRvwMr','counterView','ck-rounded-corners','7912085LINCPy','set','first','listenTo','bind','34589160nsWwhs','ck-presence-list--collapsed','hasPopup','ck-presence-list','4tvzQFW','setTemplate','8260PvBSFI','isCollapsed','items','change','204qXJrcr'];_0x27b9=function(){return _0x21cdc0;};return _0x27b9();}import{PresenceInlineListView as _0x27cac6}from'./presenceinlinelistview.js';function _0x5593(_0x3c11d0,_0x58ccc5){const _0x27b982=_0x27b9();return _0x5593=function(_0x559313,_0x434199){_0x559313=_0x559313-0x1a2;let _0x5db346=_0x27b982[_0x559313];return _0x5db346;},_0x5593(_0x3c11d0,_0x58ccc5);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x198819{[_0x2622ea(0x1b8)];[_0x2622ea(0x1ad)];constructor(_0x28581b,_0x5ca71b=0x6){const _0x139d8e=_0x2622ea;super(_0x28581b);const _0x32231b=this[_0x139d8e(0x1b2)];this[_0x139d8e(0x1bb)](_0x139d8e(0x1a7),!0x0),this[_0x139d8e(0x1b8)]=new _0x5eb100(this[_0x139d8e(0x1ae)],_0x5ca71b),this[_0x139d8e(0x1ad)]=new _0x27cac6(_0x28581b),this[_0x139d8e(0x1ad)][_0x139d8e(0x1be)](_0x139d8e(0x1a2))['to'](this,_0x139d8e(0x1a7)),this[_0x139d8e(0x1bd)](this[_0x139d8e(0x1ad)][_0x139d8e(0x1a8)],_0x139d8e(0x1a9),()=>{const _0x35b349=_0x139d8e;for(const _0x2638f3 of this[_0x35b349(0x1ad)][_0x35b349(0x1a8)])_0x2638f3[_0x35b349(0x1ab)]='s';this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)]&&(this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)][_0x35b349(0x1ab)]='se');}),this[_0x139d8e(0x1a5)]({'tag':_0x139d8e(0x1b5),'attributes':{'class':['ck',_0x139d8e(0x1a3),_0x139d8e(0x1b3),_0x139d8e(0x1b9),_0x32231b['if'](_0x139d8e(0x1a7),_0x139d8e(0x1c0))]},'children':[this[_0x139d8e(0x1ad)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x37cb0e=_0x2ca6;(function(_0x4420b2,_0x5768fc){var _0x43f2af=_0x2ca6,_0x51f5c6=_0x4420b2();while(!![]){try{var _0x391c4b=parseInt(_0x43f2af(0xc0))/0x1+parseInt(_0x43f2af(0xc2))/0x2*(-parseInt(_0x43f2af(0xb5))/0x3)+-parseInt(_0x43f2af(0xb9))/0x4*(parseInt(_0x43f2af(0xb3))/0x5)+parseInt(_0x43f2af(0xba))/0x6+parseInt(_0x43f2af(0xbf))/0x7+parseInt(_0x43f2af(0xb4))/0x8*(parseInt(_0x43f2af(0xbd))/0x9)+-parseInt(_0x43f2af(0xb8))/0xa*(parseInt(_0x43f2af(0xb7))/0xb);if(_0x391c4b===_0x5768fc)break;else _0x51f5c6['push'](_0x51f5c6['shift']());}catch(_0x133b8e){_0x51f5c6['push'](_0x51f5c6['shift']());}}}(_0x30a1,0x7e8ee));function _0x2ca6(_0x53bf4e,_0x53f0d3){var _0x30a16c=_0x30a1();return _0x2ca6=function(_0x2ca6f8,_0x339fc5){_0x2ca6f8=_0x2ca6f8-0xb3;var _0x2b22d1=_0x30a16c[_0x2ca6f8];return _0x2b22d1;},_0x2ca6(_0x53bf4e,_0x53f0d3);}import{ContextPlugin as _0x2bfb68}from'ckeditor5/src/core.js';import{Sessions as _0x5a91cb}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3dcbb5}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2bfb68{static get[_0x37cb0e(0xbe)](){return[_0x5a91cb,_0x3dcbb5];}static get[_0x37cb0e(0xbb)](){var _0x2e36bb=_0x37cb0e;return _0x2e36bb(0xb6);}static get[_0x37cb0e(0xc1)](){return!0x0;}static get[_0x37cb0e(0xbc)](){return!0x0;}}function _0x30a1(){var _0x4196b2=['47316vZzpEG','790884rbgSPm','pluginName','isPremiumPlugin','9lUJbDr','requires','6984817FoxRcO','553099NWukGT','isOfficialPlugin','277796ipRxAc','405JoTHbf','2338128sVeVbA','6bRNhCy','PresenceList','11wEFJwV','2206830TQFPWT'];_0x30a1=function(){return _0x4196b2;};return _0x30a1();}
23
+ var _0x422f92=_0x32ec;function _0x32ec(_0x1b6a09,_0x5dd8db){var _0x12106b=_0x1210();return _0x32ec=function(_0x32ec41,_0x5b1b6c){_0x32ec41=_0x32ec41-0xe3;var _0x2e91c3=_0x12106b[_0x32ec41];return _0x2e91c3;},_0x32ec(_0x1b6a09,_0x5dd8db);}(function(_0x2a8120,_0x12876d){var _0x24f4a8=_0x32ec,_0x14f1b4=_0x2a8120();while(!![]){try{var _0x4b5142=-parseInt(_0x24f4a8(0xee))/0x1+-parseInt(_0x24f4a8(0xec))/0x2+-parseInt(_0x24f4a8(0xe7))/0x3*(-parseInt(_0x24f4a8(0xed))/0x4)+parseInt(_0x24f4a8(0xf2))/0x5+parseInt(_0x24f4a8(0xe3))/0x6*(parseInt(_0x24f4a8(0xe5))/0x7)+parseInt(_0x24f4a8(0xf1))/0x8*(parseInt(_0x24f4a8(0xf0))/0x9)+-parseInt(_0x24f4a8(0xe4))/0xa*(parseInt(_0x24f4a8(0xe6))/0xb);if(_0x4b5142===_0x12876d)break;else _0x14f1b4['push'](_0x14f1b4['shift']());}catch(_0xf71150){_0x14f1b4['push'](_0x14f1b4['shift']());}}}(_0x1210,0x833f2));function _0x1210(){var _0x4697e5=['4900300RmECjQ','6VZgHkK','13364090ylzGhp','6499591oMIhjF','11FjWVaf','918462IMazmQ','PresenceList','pluginName','isOfficialPlugin','requires','1771836SBWCgI','8lhQIMI','783554dVBpGQ','isPremiumPlugin','35127QdNJHE','2096RQkvWN'];_0x1210=function(){return _0x4697e5;};return _0x1210();}import{ContextPlugin as _0x452439}from'ckeditor5/src/core.js';import{Sessions as _0x37af4d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1ddf68}from'./presencelist/presencelistui.js';export class PresenceList extends _0x452439{static get[_0x422f92(0xeb)](){return[_0x37af4d,_0x1ddf68];}static get[_0x422f92(0xe9)](){var _0x2492fd=_0x422f92;return _0x2492fd(0xe8);}static get[_0x422f92(0xea)](){return!0x0;}static get[_0x422f92(0xef)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49e552=_0x14ca;function _0x14c1(){const _0x2f501d=['updateComment','6476310ArGyfz','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadAdded','context','authorId','_services','245dkRKiv','reopenCommentThread','getComment','commentUpdated','map','isPremiumPlugin','_connectService','resolveCommentThread','CommentsService','connect','404','setPermissions','destroy','reopen','2430426vsrJOp','comments','resolvedAt','Permissions','disconnect','addUser','130792AqOxnv','get','userId','2296860gKzbQG','assign','4829byDWTU','code','add','pluginName','commentThreadReopened','deletedAt','updateCommentThread','5ALZHOM','resolvedBy','config','commentThreadUpdated','has','commentRemoved','keys','listenTo','getCommentThreads','addComment','40990bYrJci','commentThreadRemoved','set','473351cMXILX','removeCommentThread','sessionAdd:','from','attributes','_fetchMissingUsersForThreads','content','_terminateService','removeComment','catch','requires','_getService','startsWith','cloudservicescommentsadapter-service-not-exist','CloudServicesCommentsAdapter','commentAdded','1248272ohAeNv','message','init','reconnect','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','unregister','plugins','mySessionId','size','register','commentThreadResolved','collaboration.channelId','addToReconnectionStack','_setUpService','addCommentThread','getUser','resolve','permissions','CommentsRepository','remove','delete','createdAt','getConnectedSessions','update','2VkJimd','cloud-services-internal-error:\x20Not\x20connected.','isOfficialPlugin','commentThreadId','getCommentThread','getMany','cloudservicescommentsadapter-connect-already-connected','off','commentId','cloudservicescommentsadapter-disconnect-not-exist'];_0x14c1=function(){return _0x2f501d;};return _0x14c1();}(function(_0x318b78,_0x43f268){const _0x3cd238=_0x14ca,_0x157cfa=_0x318b78();while(!![]){try{const _0x2ad330=-parseInt(_0x3cd238(0x249))/0x1*(parseInt(_0x3cd238(0x20b))/0x2)+parseInt(_0x3cd238(0x22a))/0x3+-parseInt(_0x3cd238(0x1f2))/0x4*(-parseInt(_0x3cd238(0x23c))/0x5)+parseInt(_0x3cd238(0x233))/0x6+parseInt(_0x3cd238(0x21c))/0x7*(parseInt(_0x3cd238(0x230))/0x8)+parseInt(_0x3cd238(0x216))/0x9+parseInt(_0x3cd238(0x246))/0xa*(-parseInt(_0x3cd238(0x235))/0xb);if(_0x2ad330===_0x43f268)break;else _0x157cfa['push'](_0x157cfa['shift']());}catch(_0x192063){_0x157cfa['push'](_0x157cfa['shift']());}}}(_0x14c1,0x7feed));import{Context as _0xb49a0,ContextPlugin as _0x4703a7}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ccbc0}from'ckeditor5/src/utils.js';function _0x14ca(_0x1c01fa,_0x588729){const _0x14c14e=_0x14c1();return _0x14ca=function(_0x14ca25,_0x48befa){_0x14ca25=_0x14ca25-0x1e8;let _0x2afa5e=_0x14c14e[_0x14ca25];return _0x2afa5e;},_0x14ca(_0x1c01fa,_0x588729);}import{Users as _0xadbdb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x19198e,User as _0x13ab60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x572f74}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57c304}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4703a7{static [_0x49e552(0x224)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x19198e)());[_0x49e552(0x21b)];static get[_0x49e552(0x1ec)](){const _0xa70653=_0x49e552;return[_0x572f74,_0xa70653(0x205),_0x57c304,_0xadbdb9];}static get[_0x49e552(0x238)](){const _0x194026=_0x49e552;return _0x194026(0x1f0);}static get[_0x49e552(0x20d)](){return!0x0;}static get[_0x49e552(0x221)](){return!0x0;}constructor(_0x1f5d9e){const _0x498866=_0x49e552;super(_0x1f5d9e),this[_0x498866(0x21b)]=new Map();}async[_0x49e552(0x1f4)](){const _0xd97204=_0x49e552,_0x2e3d9c=this[_0xd97204(0x219)],_0x478e6d=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0xd97204(0x205));if(_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x572f74)[_0xd97204(0x1ff)](this),_0x478e6d[_0xd97204(0x1f6)]={'addCommentThread':async({channelId:_0x3a6009,threadId:_0x4dce14,comments:_0x272ecb,resolvedAt:_0x3b7a40,resolvedBy:_0x444fe6,context:_0x338f58,attributes:_0x385fd9})=>{const _0x49f6b3=_0xd97204,_0x3d8ac6=await this[_0x49f6b3(0x1ed)](_0x3a6009)[_0x49f6b3(0x201)]({'commentThreadId':_0x4dce14,'comments':_0x272ecb[_0x49f6b3(0x220)](_0x4f1e19=>function(_0x384d89,_0xdf53,_0xeff619){const _0x30b2b4=_0x49f6b3;return{'commentThreadId':_0xeff619,'commentId':_0x384d89[_0x30b2b4(0x213)],'userId':_0x384d89[_0x30b2b4(0x21a)],'content':_0x384d89[_0x30b2b4(0x1e8)],'documentId':_0xdf53,'createdAt':_0x384d89[_0x30b2b4(0x208)],'attributes':_0x384d89[_0x30b2b4(0x24d)]||{}};}(_0x4f1e19,_0x3a6009,_0x4dce14)),'resolvedAt':_0x3b7a40,'resolvedBy':_0x444fe6,'context':_0x338f58,'attributes':_0x385fd9})[_0x49f6b3(0x1eb)](A);return{'threadId':_0x3d8ac6[_0x49f6b3(0x20e)],'comments':_0x3d8ac6[_0x49f6b3(0x22b)]};},'getCommentThread':async({channelId:_0x148c57,threadId:_0x3955d1})=>{const _0x51fddd=_0xd97204,_0x4840f6=await this[_0x51fddd(0x1ed)](_0x148c57)[_0x51fddd(0x20f)](_0x3955d1)[_0x51fddd(0x1eb)](f)[_0x51fddd(0x1eb)](A);return _0x4840f6?_0x4840f6[_0x51fddd(0x23a)]?null:(await this[_0x51fddd(0x24e)]([_0x4840f6]),{'threadId':_0x4840f6[_0x51fddd(0x20e)],'comments':_0x4840f6[_0x51fddd(0x22b)][_0x51fddd(0x220)](p),'context':_0x4840f6[_0x51fddd(0x219)],'resolvedAt':_0x4840f6[_0x51fddd(0x22c)],'resolvedBy':_0x4840f6[_0x51fddd(0x23d)],'attributes':_0x4840f6[_0x51fddd(0x24d)]||{}}):null;},'updateCommentThread':async({channelId:_0x1687df,threadId:_0x12fc3a,context:_0x505912,unlinkedAt:_0x4c5ef1,attributes:_0x4c7750})=>this[_0xd97204(0x1ed)](_0x1687df)[_0xd97204(0x23b)]({'commentThreadId':_0x12fc3a,'context':_0x505912,'attributes':_0x4c7750,'unlinkedAt':_0x4c5ef1})[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'resolveCommentThread':async({channelId:_0x26292d,threadId:_0x3a5e50})=>{const _0xa13ffd=_0xd97204,_0x46cb93=await this[_0xa13ffd(0x1ed)](_0x26292d)[_0xa13ffd(0x223)](_0x3a5e50)[_0xa13ffd(0x1eb)](f)[_0xa13ffd(0x1eb)](A);return{'threadId':_0x46cb93[_0xa13ffd(0x20e)],'resolvedAt':_0x46cb93[_0xa13ffd(0x22c)],'resolvedBy':_0x46cb93[_0xa13ffd(0x23d)]};},'reopenCommentThread':async({channelId:_0x54c2de,threadId:_0x12e720})=>this[_0xd97204(0x1ed)](_0x54c2de)[_0xd97204(0x21d)](_0x12e720)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeCommentThread':({channelId:_0x429055,threadId:_0xd86986})=>this[_0xd97204(0x1ed)](_0x429055)[_0xd97204(0x24a)](_0xd86986)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'addComment':({channelId:_0xf6e9a9,threadId:_0x3e7018,commentId:_0x86c435,content:_0xe26c59,attributes:_0x49750a})=>this[_0xd97204(0x1ed)](_0xf6e9a9)[_0xd97204(0x245)](_0x3e7018,_0x86c435,_0xe26c59,_0x49750a)[_0xd97204(0x1eb)](A),'updateComment':({channelId:_0x3e8bf1,threadId:_0x588a38,commentId:_0x4bcba2,content:_0x79bc0d,attributes:_0x130292})=>this[_0xd97204(0x1ed)](_0x3e8bf1)[_0xd97204(0x215)](_0x588a38,_0x4bcba2,_0x79bc0d,_0x130292)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeComment':({channelId:_0xc5322b,threadId:_0x221a2c,commentId:_0x49c904})=>this[_0xd97204(0x1ed)](_0xc5322b)[_0xd97204(0x1ea)](_0x221a2c,_0x49c904)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A)},_0x2e3d9c instanceof _0xb49a0){const _0x4cef3c=_0x2e3d9c[_0xd97204(0x23e)][_0xd97204(0x231)](_0xd97204(0x1fe)),_0x112297=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x57c304);await this[_0xd97204(0x200)](_0x4cef3c);const _0xc2b689=await this[_0xd97204(0x21b)][_0xd97204(0x231)](_0x4cef3c)[_0xd97204(0x209)]();this[_0xd97204(0x243)](_0x112297,_0xd97204(0x24b)+_0x4cef3c,(_0x4ff856,{session:_0x548775})=>{const _0x5e682c=_0xd97204;_0x548775['id']===_0x112297[_0x5e682c(0x1fa)]&&(_0x4ff856[_0x5e682c(0x212)](),this[_0x5e682c(0x219)][_0x5e682c(0x1f9)][_0x5e682c(0x231)](_0x5e682c(0x22d))[_0x5e682c(0x227)](_0x548775[_0x5e682c(0x204)],_0x4cef3c));}),_0x112297[_0xd97204(0x1fc)](_0x4cef3c,_0xc2b689);}}async[_0x49e552(0x200)](_0x31268e){const _0x4cf533=_0x49e552;if(this[_0x4cf533(0x21b)][_0x4cf533(0x240)](_0x31268e))throw new _0x2ccbc0(_0x4cf533(0x211),null,{'channelId':_0x31268e});const _0x2556d0=this[_0x4cf533(0x219)][_0x4cf533(0x1f9)][_0x4cf533(0x231)](_0x4cf533(0x205)),_0xa6f9a3=new CloudServicesCommentsAdapter[(_0x4cf533(0x224))](_0x31268e);this[_0x4cf533(0x21b)][_0x4cf533(0x248)](_0x31268e,_0xa6f9a3),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x218),(_0x4de71e,_0x303c84)=>{const _0x8ea278=_0x4cf533,{commentThreadId:_0x45ad53,documentId:_0x249fd3,context:_0x280b1d,attributes:_0x3cff19,resolvedAt:_0x33f32d,resolvedBy:_0x3e2382,comments:_0x60b2c3}=_0x303c84;_0x2556d0[_0x8ea278(0x20f)](_0x45ad53)||_0x2556d0[_0x8ea278(0x201)]({'threadId':_0x45ad53,'channelId':_0x249fd3,'comments':_0x60b2c3?_0x60b2c3[_0x8ea278(0x220)](p):[],'context':_0x280b1d,'attributes':_0x3cff19,'resolvedAt':_0x33f32d,'resolvedBy':_0x3e2382,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x23f),(_0xa35b2a,{commentThreadId:_0x1f6ad3,documentId:_0x3b1773,context:_0x1ba587,unlinkedAt:_0x16ffe5,attributes:_0x3fac58})=>{const _0x44fadd=_0x4cf533;_0x2556d0[_0x44fadd(0x20f)](_0x1f6ad3)&&_0x2556d0[_0x44fadd(0x23b)]({'threadId':_0x1f6ad3,'channelId':_0x3b1773,'context':_0x1ba587,'unlinkedAt':_0x16ffe5,'attributes':_0x3fac58,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1fd),(_0x16cccc,{commentThreadId:_0x43cc8c,resolvedBy:_0x2e4a1c,resolvedAt:_0x189fa4})=>{const _0x57cff6=_0x4cf533,_0x1b3207=_0x2556d0[_0x57cff6(0x20f)](_0x43cc8c);_0x1b3207&&_0x1b3207[_0x57cff6(0x203)]({'resolvedBy':_0x2e4a1c,'resolvedAt':_0x189fa4,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x239),(_0x584fa,{commentThreadId:_0x4faac5})=>{const _0x343c22=_0x4cf533,_0x127b2e=_0x2556d0[_0x343c22(0x20f)](_0x4faac5);_0x127b2e&&_0x127b2e[_0x343c22(0x229)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x247),(_0x30e99f,{commentThreadId:_0x56cdb9})=>{const _0x95ffc1=_0x4cf533,_0x4ccd29=_0x2556d0[_0x95ffc1(0x20f)](_0x56cdb9);_0x4ccd29&&_0x4ccd29[_0x95ffc1(0x206)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1f1),(_0x5c5443,_0x30e5bf)=>{const _0xc192f3=_0x4cf533,_0x500172=_0x30e5bf[_0xc192f3(0x20e)],_0x288c35=_0x2556d0[_0xc192f3(0x20f)](_0x500172);_0x288c35&&_0x288c35[_0xc192f3(0x245)]({...p(_0x30e5bf),'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x21f),(_0x542901,{commentThreadId:_0x100790,commentId:_0x5080b1,content:_0x5cd87b,attributes:_0x2a8df4})=>{const _0x42cc6b=_0x4cf533,_0x3e4fd3=_0x2556d0[_0x42cc6b(0x20f)](_0x100790);if(_0x3e4fd3){const _0x375de5=_0x3e4fd3[_0x42cc6b(0x21e)](_0x5080b1);_0x375de5&&_0x375de5[_0x42cc6b(0x20a)]({'content':_0x5cd87b,'attributes':_0x2a8df4,'isFromAdapter':!0x0});}}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x241),(_0x4ccec4,{commentThreadId:_0x447704,commentId:_0x1680e4})=>{const _0x460668=_0x4cf533,_0x5f09a6=_0x2556d0[_0x460668(0x20f)](_0x447704);if(_0x5f09a6){const _0x317020=_0x5f09a6[_0x460668(0x21e)](_0x1680e4);_0x317020&&_0x317020[_0x460668(0x206)]({'isFromAdapter':!0x0});}}),await this[_0x4cf533(0x222)](_0x31268e);}[_0x49e552(0x228)](){const _0x355884=_0x49e552;if(this[_0x355884(0x219)]instanceof _0xb49a0){const _0x69f837=this[_0x355884(0x219)][_0x355884(0x23e)][_0x355884(0x231)](_0x355884(0x1fe));this[_0x355884(0x1e9)](_0x69f837);}}[_0x49e552(0x1e9)](_0x56111d){const _0x1b6106=_0x49e552;if(!this[_0x1b6106(0x21b)][_0x1b6106(0x240)](_0x56111d))throw new _0x2ccbc0(_0x1b6106(0x214),null,{'channelId':_0x56111d});this[_0x1b6106(0x1ed)](_0x56111d)[_0x1b6106(0x22e)](),this[_0x1b6106(0x21b)][_0x1b6106(0x207)](_0x56111d);}async[_0x49e552(0x1f5)](){const _0x259911=_0x49e552;for(const _0x1b1eec of this[_0x259911(0x21b)][_0x259911(0x242)]())await this[_0x259911(0x222)](_0x1b1eec);if(this[_0x259911(0x219)]instanceof _0xb49a0){const _0x59d839=this[_0x259911(0x219)][_0x259911(0x23e)][_0x259911(0x231)](_0x259911(0x1fe)),_0x283ccc=this[_0x259911(0x219)][_0x259911(0x1f9)][_0x259911(0x231)](_0x57c304);_0x283ccc[_0x259911(0x1f8)](_0x59d839);const _0x50e3b3=await this[_0x259911(0x21b)][_0x259911(0x231)](_0x59d839)[_0x259911(0x209)]();_0x283ccc[_0x259911(0x1fc)](_0x59d839,_0x50e3b3);}}async[_0x49e552(0x222)](_0x2fbd0f){const _0x16fbc2=_0x49e552,{connection:_0x1a3355}=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x572f74),_0x3f101f=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x16fbc2(0x205)),_0x5319ce=this[_0x16fbc2(0x21b)][_0x16fbc2(0x231)](_0x2fbd0f),_0x48ec65=await _0x5319ce[_0x16fbc2(0x225)](_0x1a3355);await this[_0x16fbc2(0x24e)](_0x48ec65);const _0x3a2ffd=new Set(Array[_0x16fbc2(0x24c)](_0x3f101f[_0x16fbc2(0x244)]({'channelId':_0x2fbd0f}),_0x3526fe=>_0x3526fe['id']));for(const _0x349aa4 of _0x48ec65)_0x349aa4[_0x16fbc2(0x23a)]||_0x3a2ffd[_0x16fbc2(0x207)](_0x349aa4[_0x16fbc2(0x20e)]);for(const _0xd4992e of _0x3a2ffd)_0x3f101f[_0x16fbc2(0x20f)](_0xd4992e)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x3bfb55 of _0x48ec65){let _0xd452e2=_0x3f101f[_0x16fbc2(0x20f)](_0x3bfb55[_0x16fbc2(0x20e)]);const {commentThreadId:_0x3a6648,context:_0x1eaf6f,attributes:_0x490d45,resolvedBy:_0x151db3,resolvedAt:_0xcd3bb,unlinkedAt:_0x20ce6d,deletedAt:_0xbfa43f}=_0x3bfb55;if(_0xbfa43f)continue;_0xd452e2||(_0xd452e2=_0x3f101f[_0x16fbc2(0x201)]({'channelId':_0x2fbd0f,'threadId':_0x3a6648,'context':_0x1eaf6f,'attributes':_0x490d45||{},'resolvedBy':_0x151db3,'resolvedAt':_0xcd3bb,'unlinkedAt':_0x20ce6d,'isFromAdapter':!0x0}));const _0x59525a=new Set(Array[_0x16fbc2(0x24c)](_0xd452e2[_0x16fbc2(0x22b)],_0x156c59=>_0x156c59['id']));for(const _0x3aa74d of _0x3bfb55[_0x16fbc2(0x22b)])_0x59525a[_0x16fbc2(0x207)](_0x3aa74d[_0x16fbc2(0x213)]);for(const _0x313871 of _0x59525a)_0xd452e2[_0x16fbc2(0x21e)](_0x313871)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x235dab of _0x3bfb55[_0x16fbc2(0x22b)]){const _0xe9717f=_0xd452e2[_0x16fbc2(0x21e)](_0x235dab[_0x16fbc2(0x213)]);_0xe9717f?_0xe9717f[_0x16fbc2(0x1e8)]!==_0x235dab[_0x16fbc2(0x1e8)]&&_0xe9717f[_0x16fbc2(0x20a)]({'content':_0x235dab[_0x16fbc2(0x1e8)],'isFromAdapter':!0x0}):_0xd452e2[_0x16fbc2(0x245)](Object[_0x16fbc2(0x234)](p(_0x235dab),{'isFromAdapter':!0x0}));}}}[_0x49e552(0x1ed)](_0x14a6ac){const _0x3fb3e2=_0x49e552;if(!this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x240)](_0x14a6ac))throw new _0x2ccbc0(_0x3fb3e2(0x1ef),null,{'channelId':_0x14a6ac});return this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x231)](_0x14a6ac);}async[_0x49e552(0x24e)](_0xc8f59c){const _0x53ee03=_0x49e552,_0x2ca3c2=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0xadbdb9),{connection:_0x394e90}=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0x572f74),_0x4e985d=new Set();for(const {resolvedBy:_0x1fa00d,comments:_0x4e4279}of _0xc8f59c){_0x1fa00d&&!_0x2ca3c2[_0x53ee03(0x202)](_0x1fa00d)&&_0x4e985d[_0x53ee03(0x237)](_0x1fa00d);for(const {userId:_0x3d22a3}of _0x4e4279)_0x2ca3c2[_0x53ee03(0x202)](_0x3d22a3)||_0x4e985d[_0x53ee03(0x237)](_0x3d22a3);}if(0x0===_0x4e985d[_0x53ee03(0x1fb)])return;const _0x495e4a=await _0x13ab60[_0x53ee03(0x210)](_0x394e90,Array[_0x53ee03(0x24c)](_0x4e985d));for(const _0x597aaf of _0x495e4a)_0x2ca3c2[_0x53ee03(0x202)](_0x597aaf['id'])||_0x2ca3c2[_0x53ee03(0x22f)](_0x597aaf);}}async function f(_0x4f2c5e){const _0x1f6e34=_0x49e552;if(_0x1f6e34(0x226)!==_0x4f2c5e[_0x1f6e34(0x236)])throw _0x4f2c5e;}function A(_0x4d429a){const _0x13a639=_0x49e552;if((_0x10fbcc=_0x4d429a)[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x1f7))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x20c))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x217)))return new Promise(()=>{});var _0x10fbcc;throw _0x4d429a;}function p(_0xba8e4b){const _0x374959=_0x49e552;return{'threadId':_0xba8e4b[_0x374959(0x20e)],'commentId':_0xba8e4b[_0x374959(0x213)],'content':_0xba8e4b[_0x374959(0x1e8)],'createdAt':_0xba8e4b[_0x374959(0x208)],'authorId':_0xba8e4b[_0x374959(0x232)],'attributes':_0xba8e4b[_0x374959(0x24d)]||{}};}
23
+ const _0x410e11=_0x5e47;(function(_0x5068a5,_0x2f85b0){const _0x9aef24=_0x5e47,_0x276093=_0x5068a5();while(!![]){try{const _0x15bfa4=-parseInt(_0x9aef24(0xcf))/0x1*(-parseInt(_0x9aef24(0xd3))/0x2)+parseInt(_0x9aef24(0xbe))/0x3+-parseInt(_0x9aef24(0xf9))/0x4*(parseInt(_0x9aef24(0xb3))/0x5)+-parseInt(_0x9aef24(0x113))/0x6+-parseInt(_0x9aef24(0xcb))/0x7*(-parseInt(_0x9aef24(0xe5))/0x8)+-parseInt(_0x9aef24(0xf4))/0x9+parseInt(_0x9aef24(0xd2))/0xa;if(_0x15bfa4===_0x2f85b0)break;else _0x276093['push'](_0x276093['shift']());}catch(_0xf4142a){_0x276093['push'](_0x276093['shift']());}}}(_0x2867,0x73fe0));import{Context as _0x5a1bad,ContextPlugin as _0x42ae22}from'ckeditor5/src/core.js';import{CKEditorError as _0x593ee9}from'ckeditor5/src/utils.js';import{Users as _0x103349}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5d5c91,User as _0x58522e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x518c71}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5e47(_0x669e63,_0x418a40){const _0x286762=_0x2867();return _0x5e47=function(_0x5e47d9,_0x56f03e){_0x5e47d9=_0x5e47d9-0xb3;let _0x560962=_0x286762[_0x5e47d9];return _0x560962;},_0x5e47(_0x669e63,_0x418a40);}import{Sessions as _0x472212}from'../realtimecollaborativeediting/sessions.js';function _0x2867(){const _0x24be71=['message','isOfficialPlugin','updateCommentThread','set','CommentsService','catch','keys','requires','unregister','createdAt','getUser','addComment','cloudservicescommentsadapter-disconnect-not-exist','65880DoYKMa','getCommentThread','from','get','_connectService','4PBryHL','getConnectedSessions','commentId','_getService','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','connect','register','deletedAt','cloudservicescommentsadapter-service-not-exist','update','disconnect','context','startsWith','Permissions','listenTo','isPremiumPlugin','init','addCommentThread','destroy','commentRemoved','comments','getCommentThreads','permissions','setPermissions','pluginName','1720860ylCWFj','_fetchMissingUsersForThreads','assign','commentThreadUpdated','commentThreadId','add','1997955DRkMYz','reopenCommentThread','commentThreadRemoved','off','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','attributes','_services','plugins','resolvedAt','_setUpService','_terminateService','316290TwFBuF','resolvedBy','updateComment','404','reopen','collaboration.channelId','size','remove','CloudServicesCommentsAdapter','cloud-services-internal-error:\x20Request\x20timeout.','removeComment','reconnect','getMany','338905YfDWow','config','addToReconnectionStack','mySessionId','1roQinn','cloudservicescommentsadapter-connect-already-connected','commentThreadResolved','7888060oqyEay','65028qpVLVA','commentUpdated','userId','getComment','map','resolveCommentThread','sessionAdd:','delete','code','content','CommentsRepository','removeCommentThread','addUser','adapter','authorId','commentThreadAdded','commentThreadReopened','has','40QCUysn','resolve'];_0x2867=function(){return _0x24be71;};return _0x2867();}export class CloudServicesCommentsAdapter extends _0x42ae22{static [_0x410e11(0xeb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5d5c91)());[_0x410e11(0xb9)];static get[_0x410e11(0xee)](){const _0x504cac=_0x410e11;return[_0x518c71,_0x504cac(0xdd),_0x472212,_0x103349];}static get[_0x410e11(0x112)](){const _0x4fdefd=_0x410e11;return _0x4fdefd(0xc6);}static get[_0x410e11(0xe8)](){return!0x0;}static get[_0x410e11(0x109)](){return!0x0;}constructor(_0x14cdf5){const _0x526b7e=_0x410e11;super(_0x14cdf5),this[_0x526b7e(0xb9)]=new Map();}async[_0x410e11(0x10a)](){const _0x3cb19f=_0x410e11,_0x47c530=this[_0x3cb19f(0x105)],_0x5e6518=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x3cb19f(0xdd));if(_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x518c71)[_0x3cb19f(0xcd)](this),_0x5e6518[_0x3cb19f(0xe0)]={'addCommentThread':async({channelId:_0x4c2c37,threadId:_0xb35113,comments:_0xa79d4d,resolvedAt:_0x541a7b,resolvedBy:_0x1414d7,context:_0x3fd2b9,attributes:_0x241d1c})=>{const _0x5e3998=_0x3cb19f,_0x200a11=await this[_0x5e3998(0xfc)](_0x4c2c37)[_0x5e3998(0x10b)]({'commentThreadId':_0xb35113,'comments':_0xa79d4d[_0x5e3998(0xd7)](_0x335691=>function(_0x5d5cbd,_0x1cf711,_0x121df6){const _0x3ab536=_0x5e3998;return{'commentThreadId':_0x121df6,'commentId':_0x5d5cbd[_0x3ab536(0xfb)],'userId':_0x5d5cbd[_0x3ab536(0xe1)],'content':_0x5d5cbd[_0x3ab536(0xdc)],'documentId':_0x1cf711,'createdAt':_0x5d5cbd[_0x3ab536(0xf0)],'attributes':_0x5d5cbd[_0x3ab536(0xb8)]||{}};}(_0x335691,_0x4c2c37,_0xb35113)),'resolvedAt':_0x541a7b,'resolvedBy':_0x1414d7,'context':_0x3fd2b9,'attributes':_0x241d1c})[_0x5e3998(0xec)](A);return{'threadId':_0x200a11[_0x5e3998(0x117)],'comments':_0x200a11[_0x5e3998(0x10e)]};},'getCommentThread':async({channelId:_0x1d7863,threadId:_0x3b8dcb})=>{const _0x3c5108=_0x3cb19f,_0x5bb169=await this[_0x3c5108(0xfc)](_0x1d7863)[_0x3c5108(0xf5)](_0x3b8dcb)[_0x3c5108(0xec)](f)[_0x3c5108(0xec)](A);return _0x5bb169?_0x5bb169[_0x3c5108(0x101)]?null:(await this[_0x3c5108(0x114)]([_0x5bb169]),{'threadId':_0x5bb169[_0x3c5108(0x117)],'comments':_0x5bb169[_0x3c5108(0x10e)][_0x3c5108(0xd7)](p),'context':_0x5bb169[_0x3c5108(0x105)],'resolvedAt':_0x5bb169[_0x3c5108(0xbb)],'resolvedBy':_0x5bb169[_0x3c5108(0xbf)],'attributes':_0x5bb169[_0x3c5108(0xb8)]||{}}):null;},'updateCommentThread':async({channelId:_0x3bdcd2,threadId:_0x51ffa1,context:_0x582e40,unlinkedAt:_0x44ac56,attributes:_0x5b201d})=>this[_0x3cb19f(0xfc)](_0x3bdcd2)[_0x3cb19f(0xe9)]({'commentThreadId':_0x51ffa1,'context':_0x582e40,'attributes':_0x5b201d,'unlinkedAt':_0x44ac56})[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'resolveCommentThread':async({channelId:_0x39aad6,threadId:_0x27ec8b})=>{const _0xaabb46=_0x3cb19f,_0x389a60=await this[_0xaabb46(0xfc)](_0x39aad6)[_0xaabb46(0xd8)](_0x27ec8b)[_0xaabb46(0xec)](f)[_0xaabb46(0xec)](A);return{'threadId':_0x389a60[_0xaabb46(0x117)],'resolvedAt':_0x389a60[_0xaabb46(0xbb)],'resolvedBy':_0x389a60[_0xaabb46(0xbf)]};},'reopenCommentThread':async({channelId:_0x1c36b1,threadId:_0x2095aa})=>this[_0x3cb19f(0xfc)](_0x1c36b1)[_0x3cb19f(0xb4)](_0x2095aa)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeCommentThread':({channelId:_0x4449b1,threadId:_0x2c282c})=>this[_0x3cb19f(0xfc)](_0x4449b1)[_0x3cb19f(0xde)](_0x2c282c)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'addComment':({channelId:_0x588ba8,threadId:_0x59ff4f,commentId:_0x559fc0,content:_0xceb1a5,attributes:_0x23f152})=>this[_0x3cb19f(0xfc)](_0x588ba8)[_0x3cb19f(0xf2)](_0x59ff4f,_0x559fc0,_0xceb1a5,_0x23f152)[_0x3cb19f(0xec)](A),'updateComment':({channelId:_0x50ff51,threadId:_0x10a297,commentId:_0xcaf882,content:_0x15696b,attributes:_0x55fc55})=>this[_0x3cb19f(0xfc)](_0x50ff51)[_0x3cb19f(0xc0)](_0x10a297,_0xcaf882,_0x15696b,_0x55fc55)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeComment':({channelId:_0x53047f,threadId:_0xe8f1c7,commentId:_0x5bd4a4})=>this[_0x3cb19f(0xfc)](_0x53047f)[_0x3cb19f(0xc8)](_0xe8f1c7,_0x5bd4a4)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A)},_0x47c530 instanceof _0x5a1bad){const _0x414492=_0x47c530[_0x3cb19f(0xcc)][_0x3cb19f(0xf7)](_0x3cb19f(0xc3)),_0x30cadb=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x472212);await this[_0x3cb19f(0xbc)](_0x414492);const _0x2d47cc=await this[_0x3cb19f(0xb9)][_0x3cb19f(0xf7)](_0x414492)[_0x3cb19f(0xfa)]();this[_0x3cb19f(0x108)](_0x30cadb,_0x3cb19f(0xd9)+_0x414492,(_0x24118f,{session:_0x5c1ec4})=>{const _0x4e5c4f=_0x3cb19f;_0x5c1ec4['id']===_0x30cadb[_0x4e5c4f(0xce)]&&(_0x24118f[_0x4e5c4f(0xb6)](),this[_0x4e5c4f(0x105)][_0x4e5c4f(0xba)][_0x4e5c4f(0xf7)](_0x4e5c4f(0x107))[_0x4e5c4f(0x111)](_0x5c1ec4[_0x4e5c4f(0x110)],_0x414492));}),_0x30cadb[_0x3cb19f(0x100)](_0x414492,_0x2d47cc);}}async[_0x410e11(0xbc)](_0x41e8bd){const _0xe14d6e=_0x410e11;if(this[_0xe14d6e(0xb9)][_0xe14d6e(0xe4)](_0x41e8bd))throw new _0x593ee9(_0xe14d6e(0xd0),null,{'channelId':_0x41e8bd});const _0x386d0f=this[_0xe14d6e(0x105)][_0xe14d6e(0xba)][_0xe14d6e(0xf7)](_0xe14d6e(0xdd)),_0x20b759=new CloudServicesCommentsAdapter[(_0xe14d6e(0xeb))](_0x41e8bd);this[_0xe14d6e(0xb9)][_0xe14d6e(0xea)](_0x41e8bd,_0x20b759),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe2),(_0x4e1592,_0x5e5458)=>{const _0x39fb64=_0xe14d6e,{commentThreadId:_0x17c1e1,documentId:_0x5dc11c,context:_0x460be8,attributes:_0x45ed39,resolvedAt:_0x7ebf7b,resolvedBy:_0x571a9c,comments:_0x187dce}=_0x5e5458;_0x386d0f[_0x39fb64(0xf5)](_0x17c1e1)||_0x386d0f[_0x39fb64(0x10b)]({'threadId':_0x17c1e1,'channelId':_0x5dc11c,'comments':_0x187dce?_0x187dce[_0x39fb64(0xd7)](p):[],'context':_0x460be8,'attributes':_0x45ed39,'resolvedAt':_0x7ebf7b,'resolvedBy':_0x571a9c,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x116),(_0x2325e0,{commentThreadId:_0x55f1fa,documentId:_0x1ac745,context:_0x23fee9,unlinkedAt:_0x31277d,attributes:_0x3f4feb})=>{const _0x472480=_0xe14d6e;_0x386d0f[_0x472480(0xf5)](_0x55f1fa)&&_0x386d0f[_0x472480(0xe9)]({'threadId':_0x55f1fa,'channelId':_0x1ac745,'context':_0x23fee9,'unlinkedAt':_0x31277d,'attributes':_0x3f4feb,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd1),(_0x298862,{commentThreadId:_0x96e49e,resolvedBy:_0x1232fe,resolvedAt:_0x3ace43})=>{const _0x4d5f33=_0xe14d6e,_0x52d390=_0x386d0f[_0x4d5f33(0xf5)](_0x96e49e);_0x52d390&&_0x52d390[_0x4d5f33(0xe6)]({'resolvedBy':_0x1232fe,'resolvedAt':_0x3ace43,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe3),(_0x574a70,{commentThreadId:_0x1168ee})=>{const _0x15fab3=_0xe14d6e,_0x596271=_0x386d0f[_0x15fab3(0xf5)](_0x1168ee);_0x596271&&_0x596271[_0x15fab3(0xc2)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xb5),(_0x257cdf,{commentThreadId:_0x94a5f7})=>{const _0x511574=_0xe14d6e,_0x286586=_0x386d0f[_0x511574(0xf5)](_0x94a5f7);_0x286586&&_0x286586[_0x511574(0xc5)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xfd),(_0x1971cc,_0x112546)=>{const _0x52f0c3=_0xe14d6e,_0x127ab5=_0x112546[_0x52f0c3(0x117)],_0x41042b=_0x386d0f[_0x52f0c3(0xf5)](_0x127ab5);_0x41042b&&_0x41042b[_0x52f0c3(0xf2)]({...p(_0x112546),'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd4),(_0x5f4ba0,{commentThreadId:_0x3d672b,commentId:_0x72338f,content:_0x3bd850,attributes:_0x271d49})=>{const _0x1f5734=_0xe14d6e,_0x110e41=_0x386d0f[_0x1f5734(0xf5)](_0x3d672b);if(_0x110e41){const _0x19aff6=_0x110e41[_0x1f5734(0xd6)](_0x72338f);_0x19aff6&&_0x19aff6[_0x1f5734(0x103)]({'content':_0x3bd850,'attributes':_0x271d49,'isFromAdapter':!0x0});}}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x10d),(_0x2b7fe4,{commentThreadId:_0x15f529,commentId:_0x3ee7f4})=>{const _0x279742=_0xe14d6e,_0x9f2185=_0x386d0f[_0x279742(0xf5)](_0x15f529);if(_0x9f2185){const _0x47103c=_0x9f2185[_0x279742(0xd6)](_0x3ee7f4);_0x47103c&&_0x47103c[_0x279742(0xc5)]({'isFromAdapter':!0x0});}}),await this[_0xe14d6e(0xf8)](_0x41e8bd);}[_0x410e11(0x10c)](){const _0x101497=_0x410e11;if(this[_0x101497(0x105)]instanceof _0x5a1bad){const _0x36ea17=this[_0x101497(0x105)][_0x101497(0xcc)][_0x101497(0xf7)](_0x101497(0xc3));this[_0x101497(0xbd)](_0x36ea17);}}[_0x410e11(0xbd)](_0x27da35){const _0x19a4f9=_0x410e11;if(!this[_0x19a4f9(0xb9)][_0x19a4f9(0xe4)](_0x27da35))throw new _0x593ee9(_0x19a4f9(0xf3),null,{'channelId':_0x27da35});this[_0x19a4f9(0xfc)](_0x27da35)[_0x19a4f9(0x104)](),this[_0x19a4f9(0xb9)][_0x19a4f9(0xda)](_0x27da35);}async[_0x410e11(0xc9)](){const _0x51774b=_0x410e11;for(const _0x5db5eb of this[_0x51774b(0xb9)][_0x51774b(0xed)]())await this[_0x51774b(0xf8)](_0x5db5eb);if(this[_0x51774b(0x105)]instanceof _0x5a1bad){const _0x150d34=this[_0x51774b(0x105)][_0x51774b(0xcc)][_0x51774b(0xf7)](_0x51774b(0xc3)),_0x2dd4c5=this[_0x51774b(0x105)][_0x51774b(0xba)][_0x51774b(0xf7)](_0x472212);_0x2dd4c5[_0x51774b(0xef)](_0x150d34);const _0x142e30=await this[_0x51774b(0xb9)][_0x51774b(0xf7)](_0x150d34)[_0x51774b(0xfa)]();_0x2dd4c5[_0x51774b(0x100)](_0x150d34,_0x142e30);}}async[_0x410e11(0xf8)](_0x24932d){const _0x3d6705=_0x410e11,{connection:_0x38d8ef}=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x518c71),_0x57e838=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x3d6705(0xdd)),_0x186cc0=this[_0x3d6705(0xb9)][_0x3d6705(0xf7)](_0x24932d),_0x2fe296=await _0x186cc0[_0x3d6705(0xff)](_0x38d8ef);await this[_0x3d6705(0x114)](_0x2fe296);const _0x30ecf8=new Set(Array[_0x3d6705(0xf6)](_0x57e838[_0x3d6705(0x10f)]({'channelId':_0x24932d}),_0x163f71=>_0x163f71['id']));for(const _0x5690f9 of _0x2fe296)_0x5690f9[_0x3d6705(0x101)]||_0x30ecf8[_0x3d6705(0xda)](_0x5690f9[_0x3d6705(0x117)]);for(const _0x513eae of _0x30ecf8)_0x57e838[_0x3d6705(0xf5)](_0x513eae)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x4f6a6d of _0x2fe296){let _0x1c76d6=_0x57e838[_0x3d6705(0xf5)](_0x4f6a6d[_0x3d6705(0x117)]);const {commentThreadId:_0x5ee19e,context:_0x304c88,attributes:_0x27618b,resolvedBy:_0x288cad,resolvedAt:_0x1bf4f9,unlinkedAt:_0x621e64,deletedAt:_0x1a432c}=_0x4f6a6d;if(_0x1a432c)continue;_0x1c76d6||(_0x1c76d6=_0x57e838[_0x3d6705(0x10b)]({'channelId':_0x24932d,'threadId':_0x5ee19e,'context':_0x304c88,'attributes':_0x27618b||{},'resolvedBy':_0x288cad,'resolvedAt':_0x1bf4f9,'unlinkedAt':_0x621e64,'isFromAdapter':!0x0}));const _0x4037f9=new Set(Array[_0x3d6705(0xf6)](_0x1c76d6[_0x3d6705(0x10e)],_0xe63464=>_0xe63464['id']));for(const _0x56f068 of _0x4f6a6d[_0x3d6705(0x10e)])_0x4037f9[_0x3d6705(0xda)](_0x56f068[_0x3d6705(0xfb)]);for(const _0x3e9745 of _0x4037f9)_0x1c76d6[_0x3d6705(0xd6)](_0x3e9745)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x1aea02 of _0x4f6a6d[_0x3d6705(0x10e)]){const _0x1f9107=_0x1c76d6[_0x3d6705(0xd6)](_0x1aea02[_0x3d6705(0xfb)]);_0x1f9107?_0x1f9107[_0x3d6705(0xdc)]!==_0x1aea02[_0x3d6705(0xdc)]&&_0x1f9107[_0x3d6705(0x103)]({'content':_0x1aea02[_0x3d6705(0xdc)],'isFromAdapter':!0x0}):_0x1c76d6[_0x3d6705(0xf2)](Object[_0x3d6705(0x115)](p(_0x1aea02),{'isFromAdapter':!0x0}));}}}[_0x410e11(0xfc)](_0x2abbd3){const _0x3eb188=_0x410e11;if(!this[_0x3eb188(0xb9)][_0x3eb188(0xe4)](_0x2abbd3))throw new _0x593ee9(_0x3eb188(0x102),null,{'channelId':_0x2abbd3});return this[_0x3eb188(0xb9)][_0x3eb188(0xf7)](_0x2abbd3);}async[_0x410e11(0x114)](_0x3b9ed8){const _0x3b5c5a=_0x410e11,_0x5efe4d=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x103349),{connection:_0x1496ff}=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x518c71),_0x4c7053=new Set();for(const {resolvedBy:_0x2ab5a1,comments:_0x29d181}of _0x3b9ed8){_0x2ab5a1&&!_0x5efe4d[_0x3b5c5a(0xf1)](_0x2ab5a1)&&_0x4c7053[_0x3b5c5a(0x118)](_0x2ab5a1);for(const {userId:_0x4ebf60}of _0x29d181)_0x5efe4d[_0x3b5c5a(0xf1)](_0x4ebf60)||_0x4c7053[_0x3b5c5a(0x118)](_0x4ebf60);}if(0x0===_0x4c7053[_0x3b5c5a(0xc4)])return;const _0x1002bd=await _0x58522e[_0x3b5c5a(0xca)](_0x1496ff,Array[_0x3b5c5a(0xf6)](_0x4c7053));for(const _0x12587b of _0x1002bd)_0x5efe4d[_0x3b5c5a(0xf1)](_0x12587b['id'])||_0x5efe4d[_0x3b5c5a(0xdf)](_0x12587b);}}async function f(_0x3a72eb){const _0x49a87e=_0x410e11;if(_0x49a87e(0xc1)!==_0x3a72eb[_0x49a87e(0xdb)])throw _0x3a72eb;}function A(_0x841734){const _0x1d97f8=_0x410e11;if((_0x410f72=_0x841734)[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xb7))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xfe))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xc7)))return new Promise(()=>{});var _0x410f72;throw _0x841734;}function p(_0x4ed8a2){const _0x2a4829=_0x410e11;return{'threadId':_0x4ed8a2[_0x2a4829(0x117)],'commentId':_0x4ed8a2[_0x2a4829(0xfb)],'content':_0x4ed8a2[_0x2a4829(0xdc)],'createdAt':_0x4ed8a2[_0x2a4829(0xf0)],'authorId':_0x4ed8a2[_0x2a4829(0xd5)],'attributes':_0x4ed8a2[_0x2a4829(0xb8)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x16dc(){const _0x4b2cfa=['requires','4664020hViLfd','9bBxjbK','_setUpService','4580382coIaQv','once','isThreadsLoadingPaused','1354468HMksEm','1556370QBRLbc','listenTo','ready','pluginName','get','destroy','plugins','6YDflCS','editor','isOfficialPlugin','config','6404168evoIcc','2353935aaRBeP','262296miNDxf','data','Comments','switchReadOnly','CommentsRepository','11gsgBrh','connected','change:state','7YGjqvw','RealTimeCollaborativeComments','init','_terminateService','collaboration.channelId','CommentsEditing','isPremiumPlugin'];_0x16dc=function(){return _0x4b2cfa;};return _0x16dc();}const _0x47bbfa=_0x3cc2;(function(_0x5f13eb,_0x257c45){const _0x584721=_0x3cc2,_0x280903=_0x5f13eb();while(!![]){try{const _0x26b18a=-parseInt(_0x584721(0x19a))/0x1*(-parseInt(_0x584721(0x1a0))/0x2)+-parseInt(_0x584721(0x19f))/0x3+-parseInt(_0x584721(0x192))/0x4+parseInt(_0x584721(0x18c))/0x5+parseInt(_0x584721(0x18f))/0x6*(-parseInt(_0x584721(0x184))/0x7)+-parseInt(_0x584721(0x19e))/0x8*(-parseInt(_0x584721(0x18d))/0x9)+-parseInt(_0x584721(0x193))/0xa*(parseInt(_0x584721(0x181))/0xb);if(_0x26b18a===_0x257c45)break;else _0x280903['push'](_0x280903['shift']());}catch(_0x2b587d){_0x280903['push'](_0x280903['shift']());}}}(_0x16dc,0x74add));function _0x3cc2(_0x268374,_0x47f6e4){const _0x16dc6d=_0x16dc();return _0x3cc2=function(_0x3cc212,_0x2e9d9b){_0x3cc212=_0x3cc212-0x180;let _0x256755=_0x16dc6d[_0x3cc212];return _0x256755;},_0x3cc2(_0x268374,_0x47f6e4);}import{Plugin as _0xa82e4a}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x149c3f}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x25d185}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x13a5e8}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xa82e4a{static get[_0x47bbfa(0x18b)](){const _0x29eb0a=_0x47bbfa;return[_0x29eb0a(0x1a2),_0x149c3f,_0x25d185,_0x13a5e8];}static get[_0x47bbfa(0x196)](){const _0x19cbb0=_0x47bbfa;return _0x19cbb0(0x185);}static get[_0x47bbfa(0x19c)](){return!0x0;}static get[_0x47bbfa(0x18a)](){return!0x0;}[_0x47bbfa(0x186)](){const _0x5f4089=_0x47bbfa,_0x3fa947=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x13a5e8),_0x52c106=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x5f4089(0x189)),_0x29710e=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x149c3f);return this[_0x5f4089(0x19b)][_0x5f4089(0x1a1)][_0x5f4089(0x190)](_0x5f4089(0x195),()=>{const _0x585d88=_0x5f4089;this[_0x585d88(0x194)](_0x3fa947,_0x585d88(0x183),(_0x525a0f,_0xcad9ce,_0x46cc28)=>{const _0x3cac96=_0x585d88;_0x52c106[_0x3cac96(0x191)]=_0x3cac96(0x182)!==_0x46cc28;});}),this[_0x5f4089(0x194)](_0x3fa947,_0x5f4089(0x183),(_0x176263,_0x269d66,_0x486fd7)=>{const _0x128594=_0x5f4089;this[_0x128594(0x19b)][_0x128594(0x199)][_0x128594(0x197)](_0x128594(0x180))[_0x128594(0x1a3)](_0x128594(0x182)!==_0x486fd7);}),_0x29710e[_0x5f4089(0x18e)](this[_0x5f4089(0x19b)][_0x5f4089(0x19d)][_0x5f4089(0x197)](_0x5f4089(0x188)));}[_0x47bbfa(0x198)](){const _0x53bf80=_0x47bbfa;this[_0x53bf80(0x19b)][_0x53bf80(0x199)][_0x53bf80(0x197)](_0x149c3f)[_0x53bf80(0x187)](this[_0x53bf80(0x19b)][_0x53bf80(0x19d)][_0x53bf80(0x197)](_0x53bf80(0x188))),super[_0x53bf80(0x198)]();}}
23
+ const _0x573e11=_0x3c4a;(function(_0x277371,_0x5ec3e2){const _0x34d944=_0x3c4a,_0x2e504e=_0x277371();while(!![]){try{const _0x4363ce=parseInt(_0x34d944(0xa3))/0x1+-parseInt(_0x34d944(0xa8))/0x2*(parseInt(_0x34d944(0xb1))/0x3)+-parseInt(_0x34d944(0xaa))/0x4*(parseInt(_0x34d944(0xa1))/0x5)+parseInt(_0x34d944(0xaf))/0x6*(parseInt(_0x34d944(0xab))/0x7)+parseInt(_0x34d944(0xc1))/0x8+-parseInt(_0x34d944(0xc3))/0x9*(-parseInt(_0x34d944(0xa6))/0xa)+parseInt(_0x34d944(0xbb))/0xb*(-parseInt(_0x34d944(0xc4))/0xc);if(_0x4363ce===_0x5ec3e2)break;else _0x2e504e['push'](_0x2e504e['shift']());}catch(_0x45042c){_0x2e504e['push'](_0x2e504e['shift']());}}}(_0x3705,0x94efc));import{Plugin as _0x37aa95}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x25505e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4e0015}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x547818}from'./realtimecollaborativeediting/websocketgateway.js';function _0x3c4a(_0xe63d39,_0x3b9851){const _0x37055e=_0x3705();return _0x3c4a=function(_0x3c4a29,_0x3db4aa){_0x3c4a29=_0x3c4a29-0xa1;let _0x57607f=_0x37055e[_0x3c4a29];return _0x57607f;},_0x3c4a(_0xe63d39,_0x3b9851);}export class RealTimeCollaborativeComments extends _0x37aa95{static get[_0x573e11(0xb7)](){const _0x58cb6e=_0x573e11;return[_0x58cb6e(0xbe),_0x25505e,_0x4e0015,_0x547818];}static get[_0x573e11(0xc0)](){const _0x3b2c21=_0x573e11;return _0x3b2c21(0xba);}static get[_0x573e11(0xbf)](){return!0x0;}static get[_0x573e11(0xac)](){return!0x0;}[_0x573e11(0xb6)](){const _0x5bbd0a=_0x573e11,_0x4c2680=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x547818),_0x3c64d5=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xae)),_0x5128f9=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x25505e);return this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xa7)][_0x5bbd0a(0xa9)](_0x5bbd0a(0xad),()=>{const _0x396fcd=_0x5bbd0a;this[_0x396fcd(0xbc)](_0x4c2680,_0x396fcd(0xb3),(_0xd8018e,_0x1729ea,_0x2238d7)=>{const _0x3ea2a2=_0x396fcd;_0x3c64d5[_0x3ea2a2(0xb2)]=_0x3ea2a2(0xa2)!==_0x2238d7;});}),this[_0x5bbd0a(0xbc)](_0x4c2680,_0x5bbd0a(0xb3),(_0xc51735,_0xaf13b9,_0x222871)=>{const _0x23db45=_0x5bbd0a;this[_0x23db45(0xa4)][_0x23db45(0xc2)][_0x23db45(0xc5)](_0x23db45(0xb4))[_0x23db45(0xa5)](_0x23db45(0xa2)!==_0x222871);}),_0x5128f9[_0x5bbd0a(0xbd)](this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xb9)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xb5)));}[_0x573e11(0xb0)](){const _0x3d588c=_0x573e11;this[_0x3d588c(0xa4)][_0x3d588c(0xc2)][_0x3d588c(0xc5)](_0x25505e)[_0x3d588c(0xb8)](this[_0x3d588c(0xa4)][_0x3d588c(0xb9)][_0x3d588c(0xc5)](_0x3d588c(0xb5))),super[_0x3d588c(0xb0)]();}}function _0x3705(){const _0x9046f2=['5ixZurG','connected','274943udpeGH','editor','switchReadOnly','1203810XvUoUm','data','21402AXzdnO','once','1060432ZNNvHH','245CLTbbu','isPremiumPlugin','ready','CommentsEditing','1962QtIVZp','destroy','6MuAIyL','isThreadsLoadingPaused','change:state','CommentsRepository','collaboration.channelId','init','requires','_terminateService','config','RealTimeCollaborativeComments','738111EiGnna','listenTo','_setUpService','Comments','isOfficialPlugin','pluginName','4139416spdwGw','plugins','27GHhIdt','48mUTnTl','get'];_0x3705=function(){return _0x9046f2;};return _0x3705();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ff9b6=_0x3aa7;(function(_0x17d0e8,_0x1dbeac){const _0x3ab3c0=_0x3aa7,_0x1a2593=_0x17d0e8();while(!![]){try{const _0x1bd6df=parseInt(_0x3ab3c0(0x13a))/0x1+-parseInt(_0x3ab3c0(0x189))/0x2+parseInt(_0x3ab3c0(0x102))/0x3+parseInt(_0x3ab3c0(0x160))/0x4+-parseInt(_0x3ab3c0(0x18c))/0x5*(parseInt(_0x3ab3c0(0x109))/0x6)+parseInt(_0x3ab3c0(0xdd))/0x7*(parseInt(_0x3ab3c0(0x18d))/0x8)+-parseInt(_0x3ab3c0(0x103))/0x9;if(_0x1bd6df===_0x1dbeac)break;else _0x1a2593['push'](_0x1a2593['shift']());}catch(_0xa431dc){_0x1a2593['push'](_0x1a2593['shift']());}}}(_0x5491,0xb1485));import{Plugin as _0x4014b2,PendingActions as _0x39ddd0}from'ckeditor5/src/core.js';import{CKEditorError as _0x46347f,version as _0x5a252d,uid as _0x20d944}from'ckeditor5/src/utils.js';import{Notification as _0x2f9dee}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x46a19b,NoOperation as _0x353047,InsertOperation as _0x320c58,MarkerOperation as _0x147aaa,RootAttributeOperation as _0x321385,OperationFactory as _0x2a893d,History as _0x370750}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a35a6}from'./websocketgateway.js';import{Sessions as _0x24815b}from'./sessions.js';import{UserMarkers as _0x1fb8e1}from'./usermarkers.js';import{getTranslation as _0x7461af}from'../common-translations.js';import{Compressor as _0x7f617c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x109044}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x56a287,CollaborativeEditingService as _0x51ed10}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let N=0x1;export class RealTimeCollaborationClient extends _0x4014b2{static [_0x1ff9b6(0x188)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x51ed10)());[_0x1ff9b6(0x147)];[_0x1ff9b6(0xce)];[_0x1ff9b6(0xfc)];[_0x1ff9b6(0xea)];[_0x1ff9b6(0x1af)];[_0x1ff9b6(0x141)];[_0x1ff9b6(0x15c)];[_0x1ff9b6(0x169)];[_0x1ff9b6(0x10d)];[_0x1ff9b6(0x10c)];[_0x1ff9b6(0x161)];[_0x1ff9b6(0xee)];[_0x1ff9b6(0x18f)];[_0x1ff9b6(0x133)];[_0x1ff9b6(0x137)];[_0x1ff9b6(0xe9)];[_0x1ff9b6(0x1b0)];[_0x1ff9b6(0xf1)];static get[_0x1ff9b6(0x104)](){return[_0x1a35a6,_0x24815b,_0x1fb8e1,_0x39ddd0,_0x109044,_0x2f9dee];}static get[_0x1ff9b6(0xd4)](){const _0x4ce597=_0x1ff9b6;return _0x4ce597(0x13e);}static get[_0x1ff9b6(0x10b)](){return!0x0;}static get[_0x1ff9b6(0x108)](){return!0x0;}get[_0x1ff9b6(0xd7)](){const _0x35126a=_0x1ff9b6;return this[_0x35126a(0x14f)]+this[_0x35126a(0x147)];}get[_0x1ff9b6(0x14f)](){const _0x5a1da5=_0x1ff9b6;return this[_0x5a1da5(0xfc)][_0x5a1da5(0x1b3)]-this[_0x5a1da5(0x147)];}get[_0x1ff9b6(0x17f)](){const _0x5289da=_0x1ff9b6,_0x45af12=this[_0x5289da(0xfc)][_0x5289da(0x182)]();for(let _0x390c4b=_0x45af12[_0x5289da(0xb3)]-0x1;_0x390c4b>=0x0;_0x390c4b--){const _0x59699a=_0x45af12[_0x390c4b];if(!this[_0x5289da(0x1b0)][_0x5289da(0xbe)](_0x59699a))return _0x59699a[_0x5289da(0x129)]+0x1-this[_0x5289da(0x147)];}return 0x0;}constructor(_0x23645a){const _0x48738a=_0x1ff9b6;if(super(_0x23645a),this[_0x48738a(0x147)]=0x0,this[_0x48738a(0xce)]=null,this[_0x48738a(0xfc)]=new _0x370750(),this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xb4)](_0x48738a(0xc4),{}),this[_0x48738a(0xea)]=this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x17a)),!this[_0x48738a(0xea)])throw new _0x46347f(_0x48738a(0x134),this);const _0xb353a6=_0x23645a[_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x19b))||_0x5a252d;this[_0x48738a(0x1af)]=new RealTimeCollaborationClient[(_0x48738a(0x188))](_0xb353a6,this[_0x48738a(0xea)]),this[_0x48738a(0x141)]=this[_0x48738a(0xe6)][_0x48738a(0x1a8)][_0x48738a(0x142)],this[_0x48738a(0x15c)]=new _0x7f617c(),this[_0x48738a(0x169)]=[],this[_0x48738a(0x10d)]=new WeakSet(),this[_0x48738a(0x10c)]=new Set(),this[_0x48738a(0x183)](_0x48738a(0x111),!0x1),this[_0x48738a(0x183)](_0x48738a(0x117),!0x1),this[_0x48738a(0x161)]=null,this[_0x48738a(0xee)]=!0x1,this[_0x48738a(0x18f)]=null,this[_0x48738a(0x133)]=0x12c,this[_0x48738a(0x137)]=this[_0x48738a(0x133)],this[_0x48738a(0xe9)]=null,this[_0x48738a(0x1b0)]=new WeakSet(),this[_0x48738a(0xf1)]=new M(this[_0x48738a(0x1b0)]);}[_0x1ff9b6(0x17c)](){const _0x180fdd=_0x1ff9b6,_0x10e4a5=this[_0x180fdd(0xe6)],_0x361a5a=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x109044),_0x2e2b51=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x1a35a6);this[_0x180fdd(0x15f)](_0x361a5a,_0x180fdd(0x185),(_0xa5722,_0x10aa97)=>{const _0x26799b=_0x180fdd,_0x4cf557=_0x10aa97[0x0];_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=_0x361a5a[_0x26799b(0x164)](_0x4cf557[_0x26799b(0xec)]),_0xa5722[_0x26799b(0x180)]()),null===_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=null,_0xa5722[_0x26799b(0x180)]());},{'priority':_0x180fdd(0x136)}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x1a8)][_0x180fdd(0x142)][_0x180fdd(0x105)],_0x180fdd(0xc3),(_0x513be5,_0x2dc553)=>{const _0x31f6c1=_0x180fdd;_0x2dc553[_0x31f6c1(0x17d)]&&this[_0x31f6c1(0xd3)]();}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x168)][_0x180fdd(0x152)],_0x180fdd(0xde),()=>{const _0x1989c0=_0x180fdd;this[_0x1989c0(0xd3)]();}),this[_0x180fdd(0x1a4)](),_0x10e4a5[_0x180fdd(0x1a8)]['on'](_0x180fdd(0x155),(_0x18baca,_0x4920fd)=>{const _0x17f3e3=_0x180fdd,_0x54492d=_0x4920fd[0x0];_0x54492d[_0x17f3e3(0x193)]&&(this[_0x17f3e3(0xfa)](_0x54492d),this[_0x17f3e3(0xd5)]()&&this[_0x17f3e3(0xef)]());}),this[_0x180fdd(0xed)](),this[_0x180fdd(0xe1)](_0x180fdd(0x118))['to'](_0x2e2b51,_0x180fdd(0x138),this,_0x180fdd(0x117),(_0x51c647,_0x4a8e0f)=>_0x180fdd(0x17b)===_0x51c647&&!_0x4a8e0f),this['on'](_0x180fdd(0x127),()=>{const _0x1f757e=_0x180fdd;this[_0x1f757e(0x118)]?_0x10e4a5[_0x1f757e(0xcc)](_0x1f757e(0x1a3)):_0x10e4a5[_0x1f757e(0x1a2)](_0x1f757e(0x1a3));}),this[_0x180fdd(0x118)]?_0x10e4a5[_0x180fdd(0xcc)](_0x180fdd(0x1a3)):_0x10e4a5[_0x180fdd(0x1a2)](_0x180fdd(0x1a3)),this[_0x180fdd(0x183)](_0x180fdd(0x10f),!0x1);}async[_0x1ff9b6(0xe3)](){const _0x13b462=_0x1ff9b6,_0x13c140=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x24815b),_0x30b501=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x1a35a6);try{this[_0x13b462(0x111)]=!0x0,_0x13c140[_0x13b462(0x1ab)](this[_0x13b462(0xea)]);const _0xdfede0=await this[_0x13b462(0x1af)][_0x13b462(0xe3)](_0x30b501[_0x13b462(0x199)],this[_0x13b462(0x17f)]);await this[_0x13b462(0x140)](_0xdfede0)&&(this[_0x13b462(0x111)]=!0x1,this[_0x13b462(0xc9)]());const _0x4b4c3c=await this[_0x13b462(0x1af)][_0x13b462(0xf4)]();_0x13c140[_0x13b462(0x196)](this[_0x13b462(0xea)],_0x4b4c3c),this[_0x13b462(0x110)](),this[_0x13b462(0x10f)]=!0x0;}catch(_0x100dd1){if(function(_0x350422){const _0x3ee85a=_0x13b462;return _0x3ee85a(0x115)===_0x350422[_0x3ee85a(0xb6)];}(_0x100dd1)&&this[_0x13b462(0xce)])await this[_0x13b462(0xe4)]();else{if(function(_0x413a16){const _0x3144c5=_0x13b462;return _0x3144c5(0x172)===_0x413a16[_0x3144c5(0xb6)];}(_0x100dd1)){const _0x5033b1=_0x7461af(this[_0x13b462(0xe6)][_0x13b462(0xb5)],_0x13b462(0x11f));this[_0x13b462(0x11a)](_0x5033b1);}else{if(!(_0x100dd1 instanceof B))throw _0x100dd1;this[_0x13b462(0x11a)]();}}}}[_0x1ff9b6(0x194)](){const _0x9cf39e=_0x1ff9b6,_0xca504b=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x1a35a6),_0x42fa87=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x24815b);this[_0x9cf39e(0xe6)][_0x9cf39e(0x1a2)](_0x9cf39e(0x106)),_0x42fa87[_0x9cf39e(0x13b)][_0x9cf39e(0xbe)](this[_0x9cf39e(0xea)])&&_0x42fa87[_0x9cf39e(0x1ab)](this[_0x9cf39e(0xea)]),_0xca504b[_0x9cf39e(0x1a1)](this),this[_0x9cf39e(0x12c)](),super[_0x9cf39e(0x194)]();}async[_0x1ff9b6(0x140)](_0xc0f478){const _0x3862c9=_0x1ff9b6;if(this[_0x3862c9(0xce)]!==_0xc0f478[_0x3862c9(0xce)]&&this[_0x3862c9(0xe9)]!==_0xc0f478[_0x3862c9(0x121)])throw new B();return this[_0x3862c9(0xce)]=_0xc0f478[_0x3862c9(0xce)],this[_0x3862c9(0x12a)]([],{..._0xc0f478,'wereChangesApplied':!0x1,'data':_0xc0f478[_0x3862c9(0x11e)]},_0x3862c9(0xe3));}async[_0x1ff9b6(0x107)](_0x61915b,_0x3ffdc9=!0x1){const _0x315fed=_0x1ff9b6,{connection:_0x1fd21b}=this[_0x315fed(0xe6)][_0x315fed(0x145)][_0x315fed(0xe2)](_0x1a35a6);RealTimeCollaborationClient[_0x315fed(0x188)][_0x315fed(0xf4)](_0x1fd21b,this[_0x315fed(0xea)])[_0x315fed(0x165)](_0x3390d4=>this[_0x315fed(0x19e)](_0x3390d4))[_0x315fed(0x1a9)](_0x4279d9=>{const _0x121596=_0x315fed;this[_0x121596(0x179)](_0x121596(0x130),_0x4279d9);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0xdc),this[_0x315fed(0x19a)][_0x315fed(0xe1)](this)),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x14b),(_0x1a97e4,_0xbe33bc)=>{const _0x5061b9=_0x315fed;this[_0x5061b9(0x179)](_0x5061b9(0xf7),_0xbe33bc);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x157),()=>{const _0x3e5101=_0x315fed;this[_0x3e5101(0x10f)]=!0x1;});const _0x1d15cc=this[_0x315fed(0xf1)][_0x315fed(0xc7)](_0x61915b);this[_0x315fed(0x111)]=!0x0;const _0x4a3187=await this[_0x315fed(0x1af)][_0x315fed(0x16d)](_0x1fd21b,this[_0x315fed(0xb2)](_0x61915b),_0x1d15cc);if(this[_0x315fed(0xce)]=_0x4a3187[_0x315fed(0xce)],_0x3ffdc9){if(!_0x4a3187[_0x315fed(0x11b)])return void this[_0x315fed(0x11a)]();this[_0x315fed(0x111)]=!0x1,this[_0x315fed(0xc9)](),this[_0x315fed(0xfc)][_0x315fed(0x192)](),this[_0x315fed(0x147)]=_0x4a3187[_0x315fed(0xd0)],this[_0x315fed(0xfc)][_0x315fed(0x1b3)]=this[_0x315fed(0x147)],await this[_0x315fed(0x12a)](_0x61915b,_0x4a3187,_0x315fed(0x1ad));}else await this[_0x315fed(0x122)](_0x4a3187,_0x61915b);this[_0x315fed(0x110)](),this[_0x315fed(0x10f)]=!0x0;}[_0x1ff9b6(0x110)](){const _0xcd04ce=_0x1ff9b6,_0x5e053c=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x24815b),_0x1dea17=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x1fb8e1),_0x4b58d0=_0x5e053c[_0xcd04ce(0x13b)][_0xcd04ce(0xe2)](this[_0xcd04ce(0xea)]);_0x4b58d0&&_0x4b58d0[_0xcd04ce(0xb3)]>0x1?_0x1dea17[_0xcd04ce(0x124)]():this[_0xcd04ce(0x15f)](_0x5e053c,_0xcd04ce(0x148)+this[_0xcd04ce(0xea)],()=>{const _0x38cfff=_0xcd04ce;0x2===_0x5e053c[_0x38cfff(0x13b)][_0x38cfff(0xe2)](this[_0x38cfff(0xea)])[_0x38cfff(0xb3)]&&_0x1dea17[_0x38cfff(0x124)]();});}async[_0x1ff9b6(0x19a)](_0x2a86ac,_0xd92ce2,_0x1af054,_0x54719a){const _0x1d2b3=_0x1ff9b6;if(!this[_0x1d2b3(0x111)]&&this[_0x1d2b3(0x141)][_0x1d2b3(0x1b3)]==_0xd92ce2){const _0x2171bd=this[_0x1d2b3(0x112)](_0x1af054,_0x54719a);await this[_0x1d2b3(0x12e)](_0x2171bd),this[_0x1d2b3(0x12d)](_0x2171bd,_0xd92ce2,_0x1af054[_0x1d2b3(0x121)])||this[_0x1d2b3(0x179)](_0x1d2b3(0x15d));}}async[_0x1ff9b6(0xe4)](){const _0x235c6d=_0x1ff9b6;this[_0x235c6d(0x12c)]();const {locale:_0xc786cd}=this[_0x235c6d(0xe6)];let _0x418eb8;try{_0x418eb8=await this[_0x235c6d(0x1af)][_0x235c6d(0x156)]();}catch{const _0xd5a18b=_0x7461af(_0xc786cd,_0x235c6d(0x135));return void this[_0x235c6d(0x11a)](_0xd5a18b);}const _0x2ad261=_0x418eb8[_0x235c6d(0xf9)]||_0x418eb8[_0x235c6d(0xba)];if(this[_0x235c6d(0xe9)]!==_0x2ad261[_0x235c6d(0x121)]){const _0xbda633=_0x7461af(_0xc786cd,_0x235c6d(0x14c));return void this[_0x235c6d(0x11a)](_0xbda633);}await this[_0x235c6d(0x107)](this[_0x235c6d(0xe6)][_0x235c6d(0x1a8)][_0x235c6d(0x142)][_0x235c6d(0xd6)][_0x235c6d(0x182)](),!0x0);}[_0x1ff9b6(0x12c)](){const _0x1eeda3=_0x1ff9b6;this[_0x1eeda3(0x1af)][_0x1eeda3(0x14d)](),this[_0x1eeda3(0x169)]=[],clearTimeout(this[_0x1eeda3(0x18f)]),this[_0x1eeda3(0x16e)](this[_0x1eeda3(0x1af)]);}[_0x1ff9b6(0x19e)](_0x5d002d){const _0x25cd52=_0x1ff9b6,_0x1f725a=this[_0x25cd52(0xe6)][_0x25cd52(0x145)][_0x25cd52(0xe2)](_0x24815b);this[_0x25cd52(0x15f)](_0x1f725a,_0x25cd52(0x148)+this[_0x25cd52(0xea)],(_0x1bee75,{session:_0x5db230})=>{const _0x1dbf4c=_0x25cd52;if(_0x5db230['id']===_0x1f725a[_0x1dbf4c(0x114)]){_0x1bee75[_0x1dbf4c(0x191)]();const _0x5aa889=this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xbe)](_0x1dbf4c(0x16b))&&this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x16b));let _0x5b09b4=_0x5db230[_0x1dbf4c(0xff)];_0x5aa889&&_0x5aa889[_0x1dbf4c(0x13d)]&&(_0x5b09b4=_0x5b09b4[_0x1dbf4c(0x15b)](_0xa8a167=>_0x1dbf4c(0x187)!==_0xa8a167)),this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x120))[_0x1dbf4c(0xdb)](_0x5b09b4,this[_0x1dbf4c(0xea)]);}}),_0x1f725a[_0x25cd52(0x196)](this[_0x25cd52(0xea)],_0x5d002d);}[_0x1ff9b6(0x1a4)](){const _0x4d70d6=_0x1ff9b6,_0x4ee567=this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)];this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)]=(..._0x1755dc)=>{const _0x525f2e=_0x4d70d6;if(!_0x1755dc[_0x1755dc[_0x525f2e(0xb3)]-0x1][_0x525f2e(0x181)])throw new _0x46347f(_0x525f2e(0xd2),this);_0x4ee567[_0x525f2e(0x11c)](this[_0x525f2e(0xe6)][_0x525f2e(0x11e)],_0x1755dc);};}[_0x1ff9b6(0xed)](){const _0x2b5fa5=_0x1ff9b6;this[_0x2b5fa5(0xe6)][_0x2b5fa5(0x11e)]['on'](_0x2b5fa5(0x17c),(_0x1ae975,[_0x25c499])=>{const _0x2dad5f=_0x2b5fa5;if(this[_0x2dad5f(0x141)][_0x2dad5f(0x1b3)])throw new _0x46347f(_0x2dad5f(0xe5),this);_0x1ae975[_0x2dad5f(0x180)](),this[_0x2dad5f(0xdf)]();const _0x159150=this[_0x2dad5f(0xe6)][_0x2dad5f(0x1ac)][_0x2dad5f(0xe2)](_0x2dad5f(0x174)),_0xe3f4da=this[_0x2dad5f(0x171)](_0x25c499,_0x159150);0x0==_0xe3f4da[_0x2dad5f(0xb3)]&&_0xe3f4da[_0x2dad5f(0x163)](new _0x353047(0x0)),_0x1ae975[_0x2dad5f(0x10e)]=this[_0x2dad5f(0x107)](_0xe3f4da)[_0x2dad5f(0x165)](()=>{const _0xf4ee5b=_0x2dad5f;this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x145)][_0xf4ee5b(0xe2)](_0x1a35a6)[_0xf4ee5b(0x1a7)](this),this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x11e)][_0xf4ee5b(0x167)](_0xf4ee5b(0xf5));})[_0x2dad5f(0x1a9)](_0x25ebaa=>this[_0x2dad5f(0x179)](_0x2dad5f(0x113),_0x25ebaa))[_0x2dad5f(0x159)](()=>this[_0x2dad5f(0xc9)]());},{'priority':_0x2b5fa5(0x136)}),this[_0x2b5fa5(0xe6)]['on'](_0x2b5fa5(0x154),async(_0x3d2e7e,[_0x5f0345,_0x451321])=>{const _0x2e1286=_0x2b5fa5;_0x3d2e7e[_0x2e1286(0x180)]();const _0x290ce0=this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0x142)][_0x2e1286(0x195)](_0x5f0345);if(!this[_0x2e1286(0x10c)][_0x2e1286(0xbe)](_0x5f0345)){const _0x40be6a=_0x451321&&_0x451321[_0x2e1286(0x11e)]?_0x451321[_0x2e1286(0x11e)]:'',_0x2bf787=_0x451321&&_0x451321[_0x2e1286(0x1b2)]?_0x451321[_0x2e1286(0x1b2)]:{};await this[_0x2e1286(0xeb)](_0x5f0345,_0x40be6a,_0x2bf787);}this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0xda)]({'isUndoable':!0x1},()=>{const _0x40f912=_0x2e1286;_0x290ce0[_0x40f912(0x16a)]=!0x0,this[_0x40f912(0xe6)][_0x40f912(0x1a8)][_0x40f912(0x142)][_0x40f912(0x10a)][_0x40f912(0x1a0)](_0x290ce0);});},{'priority':_0x2b5fa5(0x136)});}async[_0x1ff9b6(0x12e)](_0x4d27c3){const _0x201917=_0x1ff9b6,_0x22eb73=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x109044),{connection:_0x22d818}=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x1a35a6),_0x510064=new Set();for(const _0x3c8774 of _0x4d27c3){const _0x4465d0=_0x3c8774[_0x201917(0xec)];_0x4465d0&&!_0x22eb73[_0x201917(0x164)](_0x4465d0)&&_0x510064[_0x201917(0x162)](_0x4465d0);}if(0x0===_0x510064[_0x201917(0xe8)])return;const _0x6c711c=await _0x56a287[_0x201917(0x19d)](_0x22d818,Array[_0x201917(0x158)](_0x510064));for(const _0x3cc3f6 of _0x6c711c)_0x22eb73[_0x201917(0x164)](_0x3cc3f6['id'])||_0x22eb73[_0x201917(0x11d)](_0x3cc3f6);}[_0x1ff9b6(0x171)](_0x4b8207,_0x30cd61={}){const _0x3efc5f=_0x1ff9b6,_0x3e3a2a=this[_0x3efc5f(0xe6)][_0x3efc5f(0x1a8)],_0xad2745=[];let _0x1d3f69=0x0;const _0x28be1f=_0x3efc5f(0x198)==typeof _0x4b8207?{'main':_0x4b8207}:_0x4b8207;for(const _0x4adb42 of Object[_0x3efc5f(0x15a)](_0x28be1f)){if(!this[_0x3efc5f(0x141)][_0x3efc5f(0x177)][_0x3efc5f(0xbe)](_0x4adb42))throw new _0x46347f(_0x3efc5f(0xcb),this);const _0x245e1b=this[_0x3efc5f(0xe6)][_0x3efc5f(0x11e)][_0x3efc5f(0xc6)](_0x28be1f[_0x4adb42]),_0x185a48=this[_0x3efc5f(0x141)][_0x3efc5f(0x195)](_0x4adb42),_0x2a090d=new _0x320c58(_0x3e3a2a[_0x3efc5f(0x170)](_0x185a48,0x0),_0x245e1b,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x2a090d);for(const [_0x2ed280,_0xf41651]of _0x245e1b[_0x3efc5f(0x126)]){const _0x9fa1cc=_0x3e3a2a[_0x3efc5f(0x16c)](_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xfb)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]()),_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xb9)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]())),_0x14a5d4=new _0x147aaa(_0x2ed280,null,_0x9fa1cc,_0x3e3a2a[_0x3efc5f(0x126)],!0x0,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x14a5d4);}}if(_0x30cd61)for(const [_0xe6483b,_0x393a7d]of Object[_0x3efc5f(0x184)](_0x30cd61)){const _0x4a4ff7=_0x3e3a2a[_0x3efc5f(0x142)][_0x3efc5f(0x195)](_0xe6483b);if(!_0x4a4ff7)throw new _0x46347f(_0x3efc5f(0x14e),null);for(const [_0x4e5355,_0x1aec23]of Object[_0x3efc5f(0x184)](_0x393a7d))if(null!==_0x1aec23){const _0x470ba2=new _0x321385(_0x4a4ff7,_0x4e5355,null,_0x1aec23,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x470ba2);}}return _0xad2745;}async[_0x1ff9b6(0xeb)](_0xe557fe,_0x493b98,_0x3cc9b7){const _0x4d29bc=_0x1ff9b6;this[_0x4d29bc(0x171)]({[_0xe557fe]:_0x493b98},{[_0xe557fe]:_0x3cc9b7})[_0x4d29bc(0x123)]((_0x5048e4,_0x5f4b02)=>{const _0x39a65e=_0x4d29bc;_0x5048e4[_0x39a65e(0x129)]=this[_0x39a65e(0x141)][_0x39a65e(0x1b3)]+_0x5f4b02,_0x5048e4[_0x39a65e(0x15e)]=!0x0,this[_0x39a65e(0xfa)](_0x5048e4);}),this[_0x4d29bc(0xef)](),await this[_0x4d29bc(0x139)]();}async[_0x1ff9b6(0x122)](_0x4ce10a,_0x46030f){const _0x2a92ad=_0x1ff9b6;let _0x1d3b98;this[_0x2a92ad(0x147)]=_0x4ce10a[_0x2a92ad(0xd0)];const _0x4b0895=_0x4ce10a[_0x2a92ad(0x11b)]&&!_0x4ce10a[_0x2a92ad(0x128)],_0x4b1fc2=_0x4b0895?0x0:_0x4ce10a[_0x2a92ad(0x11e)][_0x2a92ad(0x129)];if(_0x46030f[_0x2a92ad(0x123)](_0x53a758=>{const _0x5ed53f=_0x2a92ad;_0x53a758[_0x5ed53f(0x15e)]=!0x0,_0x53a758[_0x5ed53f(0xb7)]=_0x4ce10a[_0x5ed53f(0x150)],_0x53a758[_0x5ed53f(0xec)]=null;}),_0x4b0895)_0x1d3b98=_0x46030f,this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);else{if(_0x4ce10a[_0x2a92ad(0x128)]){const _0x5e09f5=this[_0x2a92ad(0x171)](_0x4ce10a[_0x2a92ad(0x128)]);this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)],_0x5e09f5[_0x2a92ad(0x123)](_0x2d4394=>{const _0x143e3d=_0x2a92ad;_0x2d4394[_0x143e3d(0x129)]-=_0x5e09f5[_0x143e3d(0xb3)],_0x2d4394[_0x143e3d(0xb7)]=_0x4ce10a[_0x143e3d(0x150)],_0x2d4394[_0x143e3d(0x15e)]=!0x0,_0x2d4394[_0x143e3d(0xec)]=null;}),this[_0x2a92ad(0x18a)](_0x5e09f5,!0x0),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)]+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x5e09f5);}this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=_0x4b1fc2,_0x1d3b98=this[_0x2a92ad(0x112)](_0x4ce10a[_0x2a92ad(0x11e)],_0x4ce10a[_0x2a92ad(0xb8)]),await this[_0x2a92ad(0x12e)](_0x1d3b98),this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);}_0x4ce10a[_0x2a92ad(0x121)]&&(this[_0x2a92ad(0xf1)][_0x2a92ad(0xbf)](_0x1d3b98,_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xe9)]=_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=_0x4b1fc2+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x1d3b98),_0x46030f[_0x2a92ad(0x15b)](_0x3fffcd=>{const _0x1b4f41=_0x2a92ad,_0xddb9a6=this[_0x1b4f41(0x1b1)](_0x3fffcd);return _0xddb9a6&&!this[_0x1b4f41(0x10c)][_0x1b4f41(0xbe)](_0xddb9a6);})[_0x2a92ad(0x123)]((_0x50085f,_0x415df3)=>{const _0x266793=_0x2a92ad;_0x50085f[_0x266793(0x129)]=this[_0x266793(0x141)][_0x266793(0x1b3)]+_0x415df3,this[_0x266793(0xfa)](_0x50085f);}),this[_0x2a92ad(0xd5)]()?(this[_0x2a92ad(0x137)]=0x0,this[_0x2a92ad(0xef)](!0x0),await this[_0x2a92ad(0x139)]()):(this[_0x2a92ad(0x111)]=!0x1,this[_0x2a92ad(0xc9)]());}[_0x1ff9b6(0x179)](_0x4b60ea,_0x2b9f20){const _0x257634=_0x1ff9b6,_0x180458=_0x2b9f20&&_0x2b9f20[_0x257634(0xf6)];if(_0x180458&&_0x180458[_0x257634(0x13c)](_0x257634(0x1ae)))throw _0x2b9f20;const _0x4d6bb0=this[_0x257634(0xe6)][_0x257634(0x145)][_0x257634(0xe2)](_0x1a35a6);throw this[_0x257634(0x111)]=!0x0,_0x4d6bb0[_0x257634(0x14d)](),this[_0x257634(0xe6)][_0x257634(0x1a2)](_0x257634(0x125)),new _0x46347f(_0x4b60ea,this[_0x257634(0xe6)],_0x180458?{'originalError':_0x180458}:void 0x0);}[_0x1ff9b6(0xfa)](_0x53ebfb){const _0x28bdb2=_0x1ff9b6;this[_0x28bdb2(0x10d)][_0x28bdb2(0xbe)](_0x53ebfb)||(this[_0x28bdb2(0x10d)][_0x28bdb2(0x162)](_0x53ebfb),this[_0x28bdb2(0x169)][_0x28bdb2(0x163)](_0x53ebfb),this[_0x28bdb2(0x161)]||_0x28bdb2(0x132)==_0x53ebfb[_0x28bdb2(0x166)]&&!_0x53ebfb[_0x28bdb2(0x1a5)]||this[_0x28bdb2(0xdf)]());}[_0x1ff9b6(0xef)](_0x4aa0f8=!0x1){const _0x38ad3b=_0x1ff9b6;!_0x4aa0f8&&this[_0x38ad3b(0x111)]||(this[_0x38ad3b(0x111)]=!0x0,clearTimeout(this[_0x38ad3b(0x18f)]),this[_0x38ad3b(0x18f)]=setTimeout(()=>{const _0x4bacfe=_0x38ad3b;this[_0x4bacfe(0xbb)]()[_0x4bacfe(0x165)](_0x278e0f=>{const _0x4bceff=_0x4bacfe;_0x278e0f&&(this[_0x4bceff(0xc9)](),this[_0x4bceff(0x111)]=!0x1);})[_0x4bacfe(0x1a9)](_0x474cb4=>{const _0xbb2533=_0x4bacfe;this[_0xbb2533(0xc9)](),this[_0xbb2533(0x111)]=!0x1,function(_0x2ce8be){const _0x2ecc1a=_0xbb2533;return _0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0xfe))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x1a6))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x100));}(_0x474cb4)||this[_0xbb2533(0x179)](_0x474cb4[_0xbb2533(0xf6)],_0x474cb4);});},this[_0x38ad3b(0x137)]));}[_0x1ff9b6(0x139)](){return new Promise(_0x5e36f5=>{const _0x39be15=_0x3aa7;this['on'](_0x39be15(0x12b),()=>{_0x5e36f5();});});}async[_0x1ff9b6(0xbb)](){const _0x1ca669=_0x1ff9b6,_0x2a430f=this[_0x1ca669(0xe6)][_0x1ca669(0x145)][_0x1ca669(0xe2)](_0x1fb8e1);if(this[_0x1ca669(0xc5)]()&&(_0x2a430f[_0x1ca669(0x124)](),this[_0x1ca669(0xee)]=!0x1),!this[_0x1ca669(0xd5)]())return!0x0;const _0x4b71f0=[...this[_0x1ca669(0x169)]];for(const _0x591810 of _0x4b71f0)_0x591810[_0x1ca669(0x1aa)]=this[_0x1ca669(0x141)][_0x1ca669(0xd6)][_0x1ca669(0x1b4)](_0x591810);const _0x1ba30c=this[_0x1ca669(0xf1)][_0x1ca669(0xc7)](_0x4b71f0),_0x123cbd=N++,_0x3f201e=this[_0x1ca669(0xb2)](_0x4b71f0),_0x309763=await this[_0x1ca669(0x1af)][_0x1ca669(0x19f)](_0x3f201e,_0x3f201e[_0x1ca669(0x129)],_0x1ba30c);try{return await this[_0x1ca669(0x12a)](_0x4b71f0,_0x309763,_0x123cbd);}catch(_0x18a130){return this[_0x1ca669(0x179)](_0x1ca669(0xbd),_0x18a130);}}async[_0x1ff9b6(0x12a)](_0x4396bd,_0x56a012,_0x266779){const _0x22410e=_0x1ff9b6;if(_0x22410e(0x14b)in _0x56a012)throw _0x56a012[_0x22410e(0x14b)];let _0x1a3bdd=!0x1;if(_0x56a012[_0x22410e(0x11b)]){_0x56a012[_0x22410e(0x121)]&&(this[_0x22410e(0xe9)]=_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x1ff281=>!_0x4396bd[_0x22410e(0x173)](_0x1ff281));for(const _0x1f159c of _0x4396bd)_0x1f159c[_0x22410e(0xb7)]=_0x22410e(0xd1)in _0x56a012&&_0x56a012[_0x22410e(0xd1)]||void 0x0;x(_0x4396bd,_0x56a012[_0x22410e(0x1b3)]-_0x4396bd[_0x22410e(0xb3)]),this[_0x22410e(0x18e)](_0x4396bd);const _0x31cc99=_0x4396bd[_0x22410e(0x15b)](_0x18f552=>{const _0x1048c9=_0x22410e;if(!_0x18f552[_0x1048c9(0x15e)])return!0x1;const _0x1d1643=this[_0x1048c9(0x1b1)](_0x18f552);return _0x1d1643&&!this[_0x1048c9(0x10c)][_0x1048c9(0xbe)](_0x1d1643);});x(_0x31cc99,this[_0x22410e(0x141)][_0x22410e(0x1b3)]),this[_0x22410e(0x18a)](_0x31cc99),_0x1a3bdd=!0x0,this[_0x22410e(0x137)]=this[_0x22410e(0x133)];}else{const _0x39963d=this[_0x22410e(0x112)](_0x56a012[_0x22410e(0x11e)],_0x56a012[_0x22410e(0xb8)])[_0x22410e(0x15b)](_0x32b169=>_0x32b169[_0x22410e(0x129)]>=this[_0x22410e(0x14f)]);_0x39963d[_0x22410e(0x123)](_0xc4afbb=>this[_0x22410e(0xca)](_0xc4afbb)),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x2fbee8=>!_0x2fbee8[_0x22410e(0x15e)]||!this[_0x22410e(0x10c)][_0x22410e(0xbe)](this[_0x22410e(0x1b1)](_0x2fbee8))),this[_0x22410e(0x169)][_0x22410e(0xb3)]&&x(this[_0x22410e(0x169)],this[_0x22410e(0x169)][0x0][_0x22410e(0x129)]),await this[_0x22410e(0x12e)](_0x39963d),_0x1a3bdd=this[_0x22410e(0x12d)](_0x39963d,_0x56a012[_0x22410e(0x1b3)],_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x137)]=Math[_0x22410e(0x119)](this[_0x22410e(0x137)]/0x2);}return _0x1a3bdd?!this[_0x22410e(0xd5)]()||(this[_0x22410e(0xef)](!0x0),!0x1):this[_0x22410e(0x179)](_0x22410e(0x175));}[_0x1ff9b6(0x12d)](_0x2a7693,_0x562e57,_0x1af65d){const _0x564d1d=_0x1ff9b6;try{const _0x3a6666={'document':this[_0x564d1d(0x141)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x421cb8,operationsB:_0x100f97,originalOperations:_0x1b7a62}=_0x46a19b(_0x2a7693,this[_0x564d1d(0x169)],_0x3a6666);x(_0x421cb8,this[_0x564d1d(0x141)][_0x564d1d(0x1b3)]),x(_0x100f97,_0x562e57);for(const _0x4e3d13 of _0x421cb8){const _0x35d3e2=_0x1b7a62[_0x564d1d(0xe2)](_0x4e3d13);_0x4e3d13[_0x564d1d(0xec)]=_0x35d3e2?_0x35d3e2[_0x564d1d(0xec)]:null;}_0x1af65d&&(this[_0x564d1d(0xf1)][_0x564d1d(0xbf)](_0x2a7693,_0x1af65d),this[_0x564d1d(0xe9)]=_0x1af65d),this[_0x564d1d(0x169)]=[..._0x100f97],this[_0x564d1d(0x18a)](_0x421cb8),this[_0x564d1d(0x18e)](_0x2a7693);}catch(_0x5a6075){return console[_0x564d1d(0x14b)](_0x5a6075),!0x1;}return!0x0;}[_0x1ff9b6(0x18a)](_0xbf540d,_0x43ceef=!0x1){const _0x5f05bf=_0x1ff9b6;this[_0x5f05bf(0xe6)][_0x5f05bf(0x1a8)][_0x5f05bf(0xda)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d39fa=>{const _0x319bbf=_0x5f05bf;for(const _0x557ae9 of _0xbf540d)this[_0x319bbf(0x10d)][_0x319bbf(0x162)](_0x557ae9),this[_0x319bbf(0xca)](_0x557ae9),_0x1d39fa[_0x319bbf(0x190)][_0x319bbf(0x16f)](_0x557ae9),this[_0x319bbf(0xe6)][_0x319bbf(0x1a8)][_0x319bbf(0x155)](_0x557ae9);});}[_0x1ff9b6(0xca)](_0x25ce8d){const _0x3f8322=_0x1ff9b6,_0x8ebb6c=this[_0x3f8322(0x1b1)](_0x25ce8d);_0x8ebb6c&&this[_0x3f8322(0x10c)][_0x3f8322(0x162)](_0x8ebb6c);}[_0x1ff9b6(0x1b1)](_0x55b6c3){const _0xd4f26b=_0x1ff9b6;let _0x52dee7,_0x26255f;switch(_0x55b6c3[_0xd4f26b(0x166)]){case _0xd4f26b(0xfd):_0x52dee7=_0x55b6c3[_0xd4f26b(0xf2)][_0xd4f26b(0xb1)];break;case _0xd4f26b(0x132):if(_0x26255f=_0x55b6c3[_0xd4f26b(0x144)],!_0x26255f)return null;_0x52dee7=_0x26255f[_0xd4f26b(0xb1)];break;case _0xd4f26b(0xf8):_0x52dee7=_0x55b6c3[_0xd4f26b(0xb1)];break;case _0xd4f26b(0x131):_0x52dee7=_0x55b6c3[_0xd4f26b(0x18b)];break;case _0xd4f26b(0xcf):_0x52dee7=_0x55b6c3[_0xd4f26b(0x153)][_0xd4f26b(0xb1)];break;default:return null;}return _0x52dee7[_0xd4f26b(0x146)];}[_0x1ff9b6(0x18e)](_0x735ed0){const _0x7d7b99=_0x1ff9b6;_0x735ed0[_0x7d7b99(0x123)](_0x511fd9=>{const _0x35eb60=_0x7d7b99,_0x2aeb48=_0x511fd9[_0x35eb60(0x12f)]();_0x2aeb48[_0x35eb60(0xec)]=_0x511fd9[_0x35eb60(0xec)],_0x2aeb48[_0x35eb60(0x15e)]=!!_0x511fd9[_0x35eb60(0x15e)],_0x2aeb48[_0x35eb60(0xb7)]=_0x511fd9[_0x35eb60(0xb7)],_0x2aeb48[_0x35eb60(0x129)]+=this[_0x35eb60(0x147)],_0x511fd9[_0x35eb60(0x197)]&&this[_0x35eb60(0x1b0)][_0x35eb60(0x162)](_0x2aeb48),this[_0x35eb60(0xfc)][_0x35eb60(0x16f)](_0x2aeb48);});}[_0x1ff9b6(0x11a)](_0x39d331){const _0x289657=_0x1ff9b6,_0x9d8f3a=this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x289657(0x143)),_0x1a0f3a=this[_0x289657(0xe6)][_0x289657(0xb5)];_0x39d331||(_0x39d331=_0x7461af(_0x1a0f3a,_0x289657(0xe7))),_0x9d8f3a[_0x289657(0xd9)](_0x39d331,{'title':_0x7461af(_0x1a0f3a,_0x289657(0x178)),'namespace':_0x289657(0xc2)}),this[_0x289657(0x117)]=!0x0,clearTimeout(this[_0x289657(0x18f)]),this[_0x289657(0x169)]=[],this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x1a35a6)[_0x289657(0x14d)]();}[_0x1ff9b6(0xdf)](){const _0x30f0d9=_0x1ff9b6;this[_0x30f0d9(0x161)]||(this[_0x30f0d9(0x161)]=this[_0x30f0d9(0xe6)][_0x30f0d9(0x145)][_0x30f0d9(0xe2)](_0x39ddd0)[_0x30f0d9(0x162)](_0x7461af(this[_0x30f0d9(0xe6)][_0x30f0d9(0xb5)],_0x30f0d9(0x14a))));}[_0x1ff9b6(0xc9)](){const _0x3a899f=_0x1ff9b6;this[_0x3a899f(0x161)]&&(this[_0x3a899f(0xe6)][_0x3a899f(0x145)][_0x3a899f(0xe2)](_0x39ddd0)[_0x3a899f(0x176)](this[_0x3a899f(0x161)]),this[_0x3a899f(0x161)]=null);}[_0x1ff9b6(0xb2)](_0x18e08b){const _0x283c0d=_0x1ff9b6,_0x26c2fb=_0x18e08b[_0x283c0d(0xf3)](_0x4452a2=>_0x4452a2[_0x283c0d(0xd8)]());return this[_0x283c0d(0x15c)][_0x283c0d(0xc0)](_0x26c2fb);}[_0x1ff9b6(0x112)](_0x187d1c,_0x417b9e){const _0x553f9e=_0x1ff9b6;return this[_0x553f9e(0x15c)][_0x553f9e(0x17e)](_0x187d1c)[_0x553f9e(0xf3)]((_0x1df4aa,_0x17ac94)=>{const _0x818d7=_0x553f9e,_0x31dae2=_0x818d7(0x17c)==_0x417b9e[_0x17ac94][_0x818d7(0x166)];if(_0x818d7(0x151)==_0x1df4aa[_0x818d7(0xf0)]){const _0x2d3aa4=_0x1df4aa[_0x818d7(0xf2)][_0x818d7(0xb1)];!this[_0x818d7(0x141)][_0x818d7(0x195)](_0x2d3aa4)&&(this[_0x818d7(0x141)][_0x818d7(0xc8)](_0x818d7(0x116),_0x2d3aa4)[_0x818d7(0x19c)]=!0x1);}const _0xab7d75=_0x2a893d[_0x818d7(0x13f)](_0x1df4aa,this[_0x818d7(0x141)]);return _0xab7d75[_0x818d7(0x1aa)]=_0x1df4aa[_0x818d7(0x1aa)],_0xab7d75[_0x818d7(0x15e)]=_0x31dae2,_0xab7d75[_0x818d7(0xec)]=_0x31dae2?null:_0x417b9e[_0x17ac94][_0x818d7(0xe0)],_0xab7d75[_0x818d7(0x197)]=_0x818d7(0x101)===_0x417b9e[_0x17ac94][_0x818d7(0x166)],_0xab7d75[_0x818d7(0xb7)]=_0x417b9e[_0x17ac94][_0x818d7(0xb7)],_0xab7d75;});}[_0x1ff9b6(0xd3)](){const _0x179e10=_0x1ff9b6;this[_0x179e10(0xee)]=!0x0,this[_0x179e10(0xc5)]()?this[_0x179e10(0xef)]():this[_0x179e10(0xee)]=!0x1;}[_0x1ff9b6(0xc5)](){const _0x1da496=_0x1ff9b6,_0x3816d4=this[_0x1da496(0xe6)][_0x1da496(0x145)][_0x1da496(0xe2)](_0x24815b)[_0x1da496(0x13b)][_0x1da496(0xe2)](this[_0x1da496(0xea)]);return!this[_0x1da496(0xe6)][_0x1da496(0x149)]&&!!_0x3816d4&&_0x3816d4[_0x1da496(0xb3)]>0x1&&this[_0x1da496(0xee)];}[_0x1ff9b6(0xd5)](){const _0x3e513a=_0x1ff9b6;return this[_0x3e513a(0x169)][_0x3e513a(0xb3)]>0x0||this[_0x3e513a(0xc5)]();}}class B extends Error{}function _0x3aa7(_0x4326c8,_0x5996df){const _0x5491d4=_0x5491();return _0x3aa7=function(_0x3aa72e,_0x460c9b){_0x3aa72e=_0x3aa72e-0xb1;let _0x253611=_0x5491d4[_0x3aa72e];return _0x253611;},_0x3aa7(_0x4326c8,_0x5996df);}function x(_0x375137,_0x19fc25){const _0x51e8eb=_0x1ff9b6;for(const _0x5e5dd6 of _0x375137)_0x5e5dd6[_0x51e8eb(0x129)]=_0x19fc25++;}function _0x5491(){const _0x16264a=['_connectService','isPremiumPlugin','18DsSMrF','differ','isOfficialPlugin','_knownRootNames','_knownOperations','return','_isConnected','_handleSendingSelectionMarkers','_isPendingUpdate','_decompressOperations','realtimecollaborationclient-init-connection-failed','mySessionId','404','$root','_hasSynchronizationProblem','_isEditingAllowed','round','_handleReconnectionError','wereChangesApplied','apply','addUser','data','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Permissions','lastOperationId','_handleInitialConnectionData','forEach','createUserMarkerOperations','realtimecollaborationclient-error','markers','change:_isEditingAllowed','initData','baseVersion','_handleServerResponse','change:_isPendingUpdate','_disconnectService','_handleExternalOperations','_fetchMissingUsers','clone','realtimecollaborationclient-init-session-connection-error','addRoot','marker','_baseBufferDelay','collaboration-missing-channelid','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','_currentBufferDelay','state','_waitUntilSynced','220557MIFxbl','channelSessions','startsWith','isEnabled','RealTimeCollaborationClient','fromJSON','_handleReconnectionResponse','_document','document','Notification','newRange','plugins','rootName','_offset','sessionAdd:','isReadOnly','PENDING_ACTION_SENDING_DATA','error','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.','disconnect','multi-root-editor-root-attributes-no-root','_lastServerVersion','sessionCreatedAt','InsertOperation','view','targetPosition','loadRoot','applyOperation','getDocumentDetails','disconnected','from','finally','keys','filter','_compressor','realtimecollaborationclient-init-service-incorrect-server-operation','_isInit','listenTo','3473448gETpvC','_pendingAction','add','push','getUser','then','type','fire','editing','_bufferedOperations','_isLoaded','CommentsOnly','createRange','connect','stopListening','addOperation','createPositionAt','_getOperationsFromInitData','409','includes','rootsAttributes','realtimecollaborationclient-handleserverresponse','remove','roots','Synchronization\x20issue','_crash','collaboration.channelId','connected','init','directChange','decompress','lastSyncVersion','stop','suppressErrorInCollaboration','getOperations','set','entries','getOperationAuthor','_operationToId','document:write','CollaborativeEditingService','882736bbWurf','_applyOperationsSet','affectedSelectable','1505005rldmFR','178576NRcIZA','_updateServerHistory','_sendBufferedOperationsDelayId','batch','off','reset','isDocumentOperation','destroy','getRoot','register','_isDisconnection','string','connection','_handleReceivedOperations','cloudServices.bundleVersion','_isAttached','getMany','_initSessionsHandling','sendOperations','_bufferRootLoad','removeFromReconnectionStack','enableReadOnlyMode','rtc-offline','_initThrowingOnDataSet','affectsData','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','model','catch','wasUndone','unregister','config','reconnection:\x20flushed\x20session','realtimecollaborationclient','_service','_disconnectionOperations','_getAffectedRoot','attributes','version','isUndoneOperation','slice','root','_compressOperations','length','define','locale','code','createdAt','metadata','end','lastDocumentSession','_sendBufferedOperations','path','realtimecollaborationclient-sendbufferedoperations','has','setIdForTheLastOperation','compress','_ignoredOperations','real-time-collaboration','change:range','collaboration','_shouldSendSelectionUpdate','parse','getIdOfTheLastOperation','createRoot','_clearPendingAction','_addKnownRoot','realtimecollaborationclient-init-non-existent-root','disableReadOnlyMode','createPositionFromPath','sessionId','move','offset','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_refreshUserSelectionMarkers','pluginName','_shouldSendUpdate','history','cloudDocumentVersion','toJSON','showWarning','enqueueChange','setPermissions','operationsReceived','420wPczwy','change:hasDomSelection','_setPendingAction','userId','bind','get','reconnect','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-init-document-already-initialized','editor','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.','size','_lastSyncedOperationId','_channelId','_loadRoot','_authorId','_setUpDataInit','_hasSelectionChanged','_sendBufferedOperationsDelayed','__className','_operationIdentifier','position','map','getConnectedSessions','ready','message','realtimecollaborationclient-init-service-internal-error','addRootAttribute','currentDocumentSession','_saveOperationInBuffer','start','serverHistory','insert','cloud-services-internal-error:\x20Not\x20connected.','permissions','cloud-services-internal-error:\x20Request\x20timeout.','cs:removeUser','2759943CImTCi','11499300vypMcw','requires','selection','rtc-destroyed'];_0x5491=function(){return _0x16264a;};return _0x5491();}class M{[_0x1ff9b6(0xc1)];[_0x1ff9b6(0x186)];constructor(_0xf412ec){const _0x4778ad=_0x1ff9b6;this[_0x4778ad(0xc1)]=_0xf412ec,this[_0x4778ad(0x186)]=new WeakMap();}[_0x1ff9b6(0xc7)](_0x5efe17){const _0x3b4f72=_0x1ff9b6;let _0x1b0100=_0x5efe17[_0x3b4f72(0xb3)];for(;_0x1b0100--;){const _0x174951=_0x5efe17[_0x1b0100];if(!this[_0x3b4f72(0xc1)][_0x3b4f72(0xbe)](_0x174951)){if(!this[_0x3b4f72(0x186)][_0x3b4f72(0xbe)](_0x174951)){const _0x9e3318=_0x20d944()[_0x3b4f72(0x1b5)](0x1,0x12);this[_0x3b4f72(0x186)][_0x3b4f72(0x183)](_0x174951,_0x9e3318);}return this[_0x3b4f72(0x186)][_0x3b4f72(0xe2)](_0x174951);}}}[_0x1ff9b6(0xbf)](_0x8864c6,_0x1b5e8b){const _0x3825cf=_0x1ff9b6;if(!_0x1b5e8b)return;let _0x3281a3=_0x8864c6[_0x3825cf(0xb3)];for(;_0x3281a3--;){const _0x37ff4a=_0x8864c6[_0x3281a3];this[_0x3825cf(0xc1)][_0x3825cf(0xbe)](_0x37ff4a)||this[_0x3825cf(0x186)][_0x3825cf(0x183)](_0x37ff4a,_0x1b5e8b);}}}
23
+ const _0x38e931=_0x381c;(function(_0x2da140,_0x4b7ac9){const _0x172145=_0x381c,_0x9c5f91=_0x2da140();while(!![]){try{const _0x209029=-parseInt(_0x172145(0xf1))/0x1*(-parseInt(_0x172145(0x159))/0x2)+parseInt(_0x172145(0xc5))/0x3+-parseInt(_0x172145(0x162))/0x4*(-parseInt(_0x172145(0x7f))/0x5)+parseInt(_0x172145(0x6b))/0x6*(parseInt(_0x172145(0xc2))/0x7)+-parseInt(_0x172145(0x9f))/0x8*(-parseInt(_0x172145(0xeb))/0x9)+-parseInt(_0x172145(0x80))/0xa*(parseInt(_0x172145(0x106))/0xb)+-parseInt(_0x172145(0x7a))/0xc*(parseInt(_0x172145(0x71))/0xd);if(_0x209029===_0x4b7ac9)break;else _0x9c5f91['push'](_0x9c5f91['shift']());}catch(_0x1779b1){_0x9c5f91['push'](_0x9c5f91['shift']());}}}(_0x3547,0x98ef6));import{Plugin as _0xd72703,PendingActions as _0x10a7a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x42dda5,version as _0x1771ba,uid as _0x552842}from'ckeditor5/src/utils.js';import{Notification as _0x52a7c8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3ba727,NoOperation as _0xb38853,InsertOperation as _0x44c023,MarkerOperation as _0x50001,RootAttributeOperation as _0x1e351b,OperationFactory as _0x2352a1,History as _0x13cb0a}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1360dd}from'./websocketgateway.js';import{Sessions as _0x422ef6}from'./sessions.js';import{UserMarkers as _0x1e7221}from'./usermarkers.js';import{getTranslation as _0x31d992}from'../common-translations.js';import{Compressor as _0x8fbdab}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x16df45}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x381c(_0x84a441,_0x279226){const _0x354737=_0x3547();return _0x381c=function(_0x381cd0,_0x264f67){_0x381cd0=_0x381cd0-0x65;let _0x2e3e4e=_0x354737[_0x381cd0];return _0x2e3e4e;},_0x381c(_0x84a441,_0x279226);}import{User as _0x2ecd2e,CollaborativeEditingService as _0x5d4658}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x3547(){const _0x76429a=['_isPendingUpdate','listenTo','_isAttached','connection','keys','editor','fromJSON','unregister','high','add','_loadRoot','_sendBufferedOperationsDelayed','size','suppressErrorInCollaboration','656aVMsmV','_operationIdentifier','return','rootsAttributes','data','start','baseVersion','round','directChange','from','applyOperation','mySessionId','differ','offset','realtimecollaborationclient-init-non-existent-root','clone','catch','_shouldSendSelectionUpdate','isEnabled','document','sessionId','push','isOfficialPlugin','change:_isPendingUpdate','define','Notification','$root','_getAffectedRoot','getUser','position','change:_isEditingAllowed','_lastSyncedOperationId','initData','isDocumentOperation','channelSessions','28zgOiuE','_offset','_disconnectService','2040645qqlXaD','change:hasDomSelection','_lastServerVersion','rootName','error','selection','document:write','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectAfterSessionHasBeenFlushed','permissions','404','plugins','remove','_refreshUserSelectionMarkers','metadata','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_sendBufferedOperationsDelayId','reconnection:\x20flushed\x20session','cloud-services-internal-error:\x20Request\x20timeout.','_applyOperationsSet','loadRoot','addUser','addToReconnectionStack','sessionAdd:','then','PENDING_ACTION_SENDING_DATA','operationsReceived','length','parse','serverHistory','get','getOperationAuthor','markers','end','ready','_knownOperations','stopListening','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.','21132OZIQln','isReadOnly','enqueueChange','wasUndone','move','sendOperations','8656jSxQlK','type','createdAt','_hasSynchronizationProblem','realtimecollaborationclient-init-connection-failed','path','InsertOperation','cloudServices.bundleVersion','realtimecollaborationclient-init-service-incorrect-server-operation','_pendingAction','getRoot','filter','init','realtimecollaborationclient','_fetchMissingUsers','history','409','lastOperationId','reset','_getOperationsFromInitData','multi-root-editor-root-attributes-no-root','27764OdZjzS','_initThrowingOnDataSet','insert','roots','collaboration-missing-channelid','realtimecollaborationclient-init-document-already-initialized','state','rtc-offline','realtimecollaborationclient-init-service-internal-error','_isLoaded','realtimecollaborationclient-handleserverresponse','_compressOperations','apply','decompress','realtimecollaborationclient-init-session-connection-error','_handleSendingSelectionMarkers','requires','slice','compress','getIdOfTheLastOperation','_isDisconnection','message','includes','set','createUserMarkerOperations','_hasSelectionChanged','rtc-destroyed','bind','Synchronization\x20issue','version','removeFromReconnectionStack','startsWith','_bufferedOperations','_addKnownRoot','setIdForTheLastOperation','lastDocumentSession','entries','code','cs:removeUser','getOperations','lastOperationAcceptedAt','currentDocumentSession','_document','change:range','addRootAttribute','locale','toJSON','_updateServerHistory','_decompressOperations','createPositionAt','_baseBufferDelay','_setPendingAction','_clearPendingAction','wereChangesApplied','_handleReconnectionError','root','_isEditingAllowed','_crash','_currentBufferDelay','_handleExternalOperations','Permissions','_isConnected','_waitUntilSynced','sessionCreatedAt','_bufferRootLoad','_operationToId','forEach','string','setPermissions','has','stop','disconnected','showWarning','editing','RealTimeCollaborationClient','_shouldSendUpdate','map','attributes','_handleReceivedOperations','reconnect','model','CommentsOnly','realtimecollaborationclient-error','6PDSzaw','connected','_service','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleServerResponse','collaboration','targetPosition','cloud-services-internal-error:\x20Not\x20connected.','4ycTRww','finally','disconnect','off','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','batch','register','addRoot','disableReadOnlyMode','marker','real-time-collaboration','_connectService','getMany','lastSyncVersion','_disconnectionOperations','_ignoredOperations','_handleReconnectionResponse','getConnectedSessions','1415886lPIvGS','__className','view','collaboration.channelId','_handleInitialConnectionData','destroy','5744089jXuTGK','addOperation','CollaborativeEditingService','createRoot','cloudDocumentVersion','fire','_isInit','enableReadOnlyMode','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.','36TwDTRN','newRange','_setUpDataInit','_sendBufferedOperations','userId','5455870HBglhP','3890ssUlrg','connect','_initSessionsHandling','realtimecollaborationclient-sendbufferedoperations','createRange','createPositionFromPath','getDocumentDetails','_compressor','affectedSelectable','pluginName','isUndoneOperation','isPremiumPlugin','_authorId','_knownRootNames','_channelId','config','affectsData'];_0x3547=function(){return _0x76429a;};return _0x3547();}export class RealTimeCollaborationClient extends _0xd72703{static [_0x38e931(0x73)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5d4658)());[_0x38e931(0xc3)];[_0x38e931(0xb3)];[_0x38e931(0xe2)];[_0x38e931(0x8e)];[_0x38e931(0x15b)];[_0x38e931(0x130)];[_0x38e931(0x87)];[_0x38e931(0x126)];[_0x38e931(0xe8)];[_0x38e931(0x8d)];[_0x38e931(0xfa)];[_0x38e931(0x11f)];[_0x38e931(0xd5)];[_0x38e931(0x138)];[_0x38e931(0x140)];[_0x38e931(0xbe)];[_0x38e931(0x67)];[_0x38e931(0xa0)];static get[_0x38e931(0x116)](){return[_0x1360dd,_0x422ef6,_0x1e7221,_0x10a7a5,_0x16df45,_0x52a7c8];}static get[_0x38e931(0x89)](){const _0x1a2085=_0x38e931;return _0x1a2085(0x150);}static get[_0x38e931(0xb5)](){return!0x0;}static get[_0x38e931(0x8b)](){return!0x0;}get[_0x38e931(0x75)](){const _0x2889cb=_0x38e931;return this[_0x2889cb(0xc7)]+this[_0x2889cb(0xc3)];}get[_0x38e931(0xc7)](){const _0x518581=_0x38e931;return this[_0x518581(0xe2)][_0x518581(0x123)]-this[_0x518581(0xc3)];}get[_0x38e931(0x66)](){const _0x1acf53=_0x38e931,_0xaee4d=this[_0x1acf53(0xe2)][_0x1acf53(0x12d)]();for(let _0x3e016f=_0xaee4d[_0x1acf53(0xe0)]-0x1;_0x3e016f>=0x0;_0x3e016f--){const _0x36ec7d=_0xaee4d[_0x3e016f];if(!this[_0x1acf53(0x67)][_0x1acf53(0x14b)](_0x36ec7d))return _0x36ec7d[_0x1acf53(0xa5)]+0x1-this[_0x1acf53(0xc3)];}return 0x0;}constructor(_0x4bccf9){const _0x52f5d1=_0x38e931;if(super(_0x4bccf9),this[_0x52f5d1(0xc3)]=0x0,this[_0x52f5d1(0xb3)]=null,this[_0x52f5d1(0xe2)]=new _0x13cb0a(),this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xb7)](_0x52f5d1(0x15f),{}),this[_0x52f5d1(0x8e)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0x6e)),!this[_0x52f5d1(0x8e)])throw new _0x42dda5(_0x52f5d1(0x10a),this);const _0x437165=_0x4bccf9[_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0xf8))||_0x1771ba;this[_0x52f5d1(0x15b)]=new RealTimeCollaborationClient[(_0x52f5d1(0x73))](_0x437165,this[_0x52f5d1(0x8e)]),this[_0x52f5d1(0x130)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x156)][_0x52f5d1(0xb2)],this[_0x52f5d1(0x87)]=new _0x8fbdab(),this[_0x52f5d1(0x126)]=[],this[_0x52f5d1(0xe8)]=new WeakSet(),this[_0x52f5d1(0x8d)]=new Set(),this[_0x52f5d1(0x11d)](_0x52f5d1(0x91),!0x1),this[_0x52f5d1(0x11d)](_0x52f5d1(0xf4),!0x1),this[_0x52f5d1(0xfa)]=null,this[_0x52f5d1(0x11f)]=!0x1,this[_0x52f5d1(0xd5)]=null,this[_0x52f5d1(0x138)]=0x12c,this[_0x52f5d1(0x140)]=this[_0x52f5d1(0x138)],this[_0x52f5d1(0xbe)]=null,this[_0x52f5d1(0x67)]=new WeakSet(),this[_0x52f5d1(0xa0)]=new Z(this[_0x52f5d1(0x67)]);}[_0x38e931(0xfd)](){const _0x4d6c72=_0x38e931,_0x53d411=this[_0x4d6c72(0x96)],_0x3fbbda=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x16df45),_0x471319=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x1360dd);this[_0x4d6c72(0x92)](_0x3fbbda,_0x4d6c72(0xe4),(_0x26c234,_0x280671)=>{const _0x4cbe06=_0x4d6c72,_0x43f3e8=_0x280671[0x0];_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=_0x3fbbda[_0x4cbe06(0xbb)](_0x43f3e8[_0x4cbe06(0x8c)]),_0x26c234[_0x4cbe06(0x14c)]()),null===_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=null,_0x26c234[_0x4cbe06(0x14c)]());},{'priority':_0x4d6c72(0x99)}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x156)][_0x4d6c72(0xb2)][_0x4d6c72(0xca)],_0x4d6c72(0x131),(_0x235f3c,_0xc039b6)=>{const _0x40ff93=_0x4d6c72;_0xc039b6[_0x40ff93(0xa7)]&&this[_0x40ff93(0xd2)]();}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x14f)][_0x4d6c72(0x6d)],_0x4d6c72(0xc6),()=>{const _0xce73f=_0x4d6c72;this[_0xce73f(0xd2)]();}),this[_0x4d6c72(0x107)](),_0x53d411[_0x4d6c72(0x156)]['on'](_0x4d6c72(0xa9),(_0x466392,_0x2c767e)=>{const _0x28530a=_0x4d6c72,_0x303195=_0x2c767e[0x0];_0x303195[_0x28530a(0xc0)]&&(this[_0x28530a(0x15c)](_0x303195),this[_0x28530a(0x151)]()&&this[_0x28530a(0x9c)]());}),this[_0x4d6c72(0x7c)](),this[_0x4d6c72(0x121)](_0x4d6c72(0x13e))['to'](_0x471319,_0x4d6c72(0x10c),this,_0x4d6c72(0xf4),(_0x29218e,_0x3fb3bf)=>_0x4d6c72(0x15a)===_0x29218e&&!_0x3fb3bf),this['on'](_0x4d6c72(0xbd),()=>{const _0x220ad6=_0x4d6c72;this[_0x220ad6(0x13e)]?_0x53d411[_0x220ad6(0x16a)](_0x220ad6(0x10d)):_0x53d411[_0x220ad6(0x78)](_0x220ad6(0x10d));}),this[_0x4d6c72(0x13e)]?_0x53d411[_0x4d6c72(0x16a)](_0x4d6c72(0x10d)):_0x53d411[_0x4d6c72(0x78)](_0x4d6c72(0x10d)),this[_0x4d6c72(0x11d)](_0x4d6c72(0x143),!0x1);}async[_0x38e931(0x155)](){const _0x4f141b=_0x38e931,_0x591388=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x422ef6),_0x38b099=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x1360dd);try{this[_0x4f141b(0x91)]=!0x0,_0x591388[_0x4f141b(0x98)](this[_0x4f141b(0x8e)]);const _0x65ba02=await this[_0x4f141b(0x15b)][_0x4f141b(0x155)](_0x38b099[_0x4f141b(0x94)],this[_0x4f141b(0x66)]);await this[_0x4f141b(0x69)](_0x65ba02)&&(this[_0x4f141b(0x91)]=!0x1,this[_0x4f141b(0x13a)]());const _0x48e735=await this[_0x4f141b(0x15b)][_0x4f141b(0x6a)]();_0x591388[_0x4f141b(0x168)](this[_0x4f141b(0x8e)],_0x48e735),this[_0x4f141b(0x115)](),this[_0x4f141b(0x143)]=!0x0;}catch(_0x14b816){if(function(_0x3180c3){const _0x2e9e1e=_0x4f141b;return _0x2e9e1e(0xcf)===_0x3180c3[_0x2e9e1e(0x12b)];}(_0x14b816)&&this[_0x4f141b(0xb3)])await this[_0x4f141b(0xcd)]();else{if(function(_0x197e41){const _0x560131=_0x4f141b;return _0x560131(0x101)===_0x197e41[_0x560131(0x12b)];}(_0x14b816)){const _0x5aaea5=_0x31d992(this[_0x4f141b(0x96)][_0x4f141b(0x133)],_0x4f141b(0x15d));this[_0x4f141b(0x13c)](_0x5aaea5);}else{if(!(_0x14b816 instanceof X))throw _0x14b816;this[_0x4f141b(0x13c)]();}}}}[_0x38e931(0x70)](){const _0x5e5900=_0x38e931,_0x71486c=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x1360dd),_0x5ee632=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x422ef6);this[_0x5e5900(0x96)][_0x5e5900(0x78)](_0x5e5900(0x120)),_0x5ee632[_0x5e5900(0xc1)][_0x5e5900(0x14b)](this[_0x5e5900(0x8e)])&&_0x5ee632[_0x5e5900(0x98)](this[_0x5e5900(0x8e)]),_0x71486c[_0x5e5900(0x124)](this),this[_0x5e5900(0xc4)](),super[_0x5e5900(0x70)]();}async[_0x38e931(0x69)](_0x216280){const _0x43c230=_0x38e931;if(this[_0x43c230(0xb3)]!==_0x216280[_0x43c230(0xb3)]&&this[_0x43c230(0xbe)]!==_0x216280[_0x43c230(0x102)])throw new X();return this[_0x43c230(0xb3)]=_0x216280[_0x43c230(0xb3)],this[_0x43c230(0x15e)]([],{..._0x216280,'wereChangesApplied':!0x1,'data':_0x216280[_0x43c230(0xa3)]},_0x43c230(0x155));}async[_0x38e931(0x16d)](_0x1b505f,_0x3fd854=!0x1){const _0x505ed2=_0x38e931,{connection:_0x1d91da}=this[_0x505ed2(0x96)][_0x505ed2(0xd0)][_0x505ed2(0xe3)](_0x1360dd);RealTimeCollaborationClient[_0x505ed2(0x73)][_0x505ed2(0x6a)](_0x1d91da,this[_0x505ed2(0x8e)])[_0x505ed2(0xdd)](_0x23a823=>this[_0x505ed2(0x82)](_0x23a823))[_0x505ed2(0xaf)](_0x4fa1b1=>{const _0x3789c1=_0x505ed2;this[_0x3789c1(0x13f)](_0x3789c1(0x114),_0x4fa1b1);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xdf),this[_0x505ed2(0x154)][_0x505ed2(0x121)](this)),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xc9),(_0x3287ef,_0xebc6aa)=>{const _0x54e0d8=_0x505ed2;this[_0x54e0d8(0x13f)](_0x54e0d8(0x10e),_0xebc6aa);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0x14d),()=>{const _0x2dace9=_0x505ed2;this[_0x2dace9(0x143)]=!0x1;});const _0x258c0e=this[_0x505ed2(0xa0)][_0x505ed2(0x119)](_0x1b505f);this[_0x505ed2(0x91)]=!0x0;const _0x1b8bdc=await this[_0x505ed2(0x15b)][_0x505ed2(0x81)](_0x1d91da,this[_0x505ed2(0x111)](_0x1b505f),_0x258c0e);if(this[_0x505ed2(0xb3)]=_0x1b8bdc[_0x505ed2(0xb3)],_0x3fd854){if(!_0x1b8bdc[_0x505ed2(0x13b)])return void this[_0x505ed2(0x13c)]();this[_0x505ed2(0x91)]=!0x1,this[_0x505ed2(0x13a)](),this[_0x505ed2(0xe2)][_0x505ed2(0x103)](),this[_0x505ed2(0xc3)]=_0x1b8bdc[_0x505ed2(0xac)],this[_0x505ed2(0xe2)][_0x505ed2(0x123)]=this[_0x505ed2(0xc3)],await this[_0x505ed2(0x15e)](_0x1b505f,_0x1b8bdc,_0x505ed2(0xd6));}else await this[_0x505ed2(0x6f)](_0x1b8bdc,_0x1b505f);this[_0x505ed2(0x115)](),this[_0x505ed2(0x143)]=!0x0;}[_0x38e931(0x115)](){const _0x3fd3e9=_0x38e931,_0x2485f4=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x422ef6),_0x32bc97=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x1e7221),_0x3b0897=_0x2485f4[_0x3fd3e9(0xc1)][_0x3fd3e9(0xe3)](this[_0x3fd3e9(0x8e)]);_0x3b0897&&_0x3b0897[_0x3fd3e9(0xe0)]>0x1?_0x32bc97[_0x3fd3e9(0x11e)]():this[_0x3fd3e9(0x92)](_0x2485f4,_0x3fd3e9(0xdc)+this[_0x3fd3e9(0x8e)],()=>{const _0xf1d500=_0x3fd3e9;0x2===_0x2485f4[_0xf1d500(0xc1)][_0xf1d500(0xe3)](this[_0xf1d500(0x8e)])[_0xf1d500(0xe0)]&&_0x32bc97[_0xf1d500(0x11e)]();});}async[_0x38e931(0x154)](_0x1e55f6,_0x364254,_0x36d3a4,_0x192c91){const _0x30df42=_0x38e931;if(!this[_0x30df42(0x91)]&&this[_0x30df42(0x130)][_0x30df42(0x123)]==_0x364254){const _0x20e903=this[_0x30df42(0x136)](_0x36d3a4,_0x192c91);await this[_0x30df42(0xff)](_0x20e903),this[_0x30df42(0x141)](_0x20e903,_0x364254,_0x36d3a4[_0x30df42(0x102)])||this[_0x30df42(0x13f)](_0x30df42(0xf9));}}async[_0x38e931(0xcd)](){const _0x532b09=_0x38e931;this[_0x532b09(0xc4)]();const {locale:_0x15c984}=this[_0x532b09(0x96)];let _0x2482e7;try{_0x2482e7=await this[_0x532b09(0x15b)][_0x532b09(0x86)]();}catch{const _0x424669=_0x31d992(_0x15c984,_0x532b09(0xcc));return void this[_0x532b09(0x13c)](_0x424669);}const _0x4c2ae2=_0x2482e7[_0x532b09(0x12f)]||_0x2482e7[_0x532b09(0x129)];if(this[_0x532b09(0xbe)]!==_0x4c2ae2[_0x532b09(0x102)]){const _0x400c72=_0x31d992(_0x15c984,_0x532b09(0x79));return void this[_0x532b09(0x13c)](_0x400c72);}await this[_0x532b09(0x16d)](this[_0x532b09(0x96)][_0x532b09(0x156)][_0x532b09(0xb2)][_0x532b09(0x100)][_0x532b09(0x12d)](),!0x0);}[_0x38e931(0xc4)](){const _0x5e0bc5=_0x38e931;this[_0x5e0bc5(0x15b)][_0x5e0bc5(0x164)](),this[_0x5e0bc5(0x126)]=[],clearTimeout(this[_0x5e0bc5(0xd5)]),this[_0x5e0bc5(0xe9)](this[_0x5e0bc5(0x15b)]);}[_0x38e931(0x82)](_0xe18a40){const _0x33e5b7=_0x38e931,_0x3f1975=this[_0x33e5b7(0x96)][_0x33e5b7(0xd0)][_0x33e5b7(0xe3)](_0x422ef6);this[_0x33e5b7(0x92)](_0x3f1975,_0x33e5b7(0xdc)+this[_0x33e5b7(0x8e)],(_0x215ac5,{session:_0x4606e0})=>{const _0x4fcc57=_0x33e5b7;if(_0x4606e0['id']===_0x3f1975[_0x4fcc57(0xaa)]){_0x215ac5[_0x4fcc57(0x165)]();const _0x5e7eee=this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0x14b)](_0x4fcc57(0x157))&&this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x157));let _0x3bc144=_0x4606e0[_0x4fcc57(0xce)];_0x5e7eee&&_0x5e7eee[_0x4fcc57(0xb1)]&&(_0x3bc144=_0x3bc144[_0x4fcc57(0xfc)](_0xc77778=>_0x4fcc57(0xcb)!==_0xc77778)),this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x142))[_0x4fcc57(0x14a)](_0x3bc144,this[_0x4fcc57(0x8e)]);}}),_0x3f1975[_0x33e5b7(0x168)](this[_0x33e5b7(0x8e)],_0xe18a40);}[_0x38e931(0x107)](){const _0x2d8d86=_0x38e931,_0x11d129=this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)];this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)]=(..._0x269a87)=>{const _0x1ced0f=_0x2d8d86;if(!_0x269a87[_0x269a87[_0x1ced0f(0xe0)]-0x1][_0x1ced0f(0x9e)])throw new _0x42dda5(_0x1ced0f(0xd4),this);_0x11d129[_0x1ced0f(0x112)](this[_0x1ced0f(0x96)][_0x1ced0f(0xa3)],_0x269a87);};}[_0x38e931(0x7c)](){const _0x4b7f46=_0x38e931;this[_0x4b7f46(0x96)][_0x4b7f46(0xa3)]['on'](_0x4b7f46(0xfd),(_0xff74c8,[_0xd664d3])=>{const _0x11338f=_0x4b7f46;if(this[_0x11338f(0x130)][_0x11338f(0x123)])throw new _0x42dda5(_0x11338f(0x10b),this);_0xff74c8[_0x11338f(0x14c)](),this[_0x11338f(0x139)]();const _0x493a80=this[_0x11338f(0x96)][_0x11338f(0x8f)][_0x11338f(0xe3)](_0x11338f(0xa2)),_0x101bd8=this[_0x11338f(0x104)](_0xd664d3,_0x493a80);0x0==_0x101bd8[_0x11338f(0xe0)]&&_0x101bd8[_0x11338f(0xb4)](new _0xb38853(0x0)),_0xff74c8[_0x11338f(0xa1)]=this[_0x11338f(0x16d)](_0x101bd8)[_0x11338f(0xdd)](()=>{const _0x484892=_0x11338f;this[_0x484892(0x96)][_0x484892(0xd0)][_0x484892(0xe3)](_0x1360dd)[_0x484892(0xdb)](this),this[_0x484892(0x96)][_0x484892(0xa3)][_0x484892(0x76)](_0x484892(0xe7));})[_0x11338f(0xaf)](_0x3d1427=>this[_0x11338f(0x13f)](_0x11338f(0xf5),_0x3d1427))[_0x11338f(0x163)](()=>this[_0x11338f(0x13a)]());},{'priority':_0x4b7f46(0x99)}),this[_0x4b7f46(0x96)]['on'](_0x4b7f46(0xd9),async(_0x2b4b9a,[_0x1b8b65,_0x5e98b7])=>{const _0x369a78=_0x4b7f46;_0x2b4b9a[_0x369a78(0x14c)]();const _0x446743=this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xb2)][_0x369a78(0xfb)](_0x1b8b65);if(!this[_0x369a78(0x8d)][_0x369a78(0x14b)](_0x1b8b65)){const _0x1de230=_0x5e98b7&&_0x5e98b7[_0x369a78(0xa3)]?_0x5e98b7[_0x369a78(0xa3)]:'',_0x191f68=_0x5e98b7&&_0x5e98b7[_0x369a78(0x153)]?_0x5e98b7[_0x369a78(0x153)]:{};await this[_0x369a78(0x9b)](_0x1b8b65,_0x1de230,_0x191f68);}this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xed)]({'isUndoable':!0x1},()=>{const _0x13e026=_0x369a78;_0x446743[_0x13e026(0x10f)]=!0x0,this[_0x13e026(0x96)][_0x13e026(0x156)][_0x13e026(0xb2)][_0x13e026(0xab)][_0x13e026(0x146)](_0x446743);});},{'priority':_0x4b7f46(0x99)});}async[_0x38e931(0xff)](_0x4eed61){const _0x593d73=_0x38e931,_0x252093=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x16df45),{connection:_0x44888a}=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x1360dd),_0x57a795=new Set();for(const _0x2594e7 of _0x4eed61){const _0x516480=_0x2594e7[_0x593d73(0x8c)];_0x516480&&!_0x252093[_0x593d73(0xbb)](_0x516480)&&_0x57a795[_0x593d73(0x9a)](_0x516480);}if(0x0===_0x57a795[_0x593d73(0x9d)])return;const _0x2de4d2=await _0x2ecd2e[_0x593d73(0x65)](_0x44888a,Array[_0x593d73(0xa8)](_0x57a795));for(const _0x55e017 of _0x2de4d2)_0x252093[_0x593d73(0xbb)](_0x55e017['id'])||_0x252093[_0x593d73(0xda)](_0x55e017);}[_0x38e931(0x104)](_0x316f74,_0x3f2e7c={}){const _0x65e9a6=_0x38e931,_0x506616=this[_0x65e9a6(0x96)][_0x65e9a6(0x156)],_0x550840=[];let _0x1b50cb=0x0;const _0x340783=_0x65e9a6(0x149)==typeof _0x316f74?{'main':_0x316f74}:_0x316f74;for(const _0x44a351 of Object[_0x65e9a6(0x95)](_0x340783)){if(!this[_0x65e9a6(0x130)][_0x65e9a6(0x109)][_0x65e9a6(0x14b)](_0x44a351))throw new _0x42dda5(_0x65e9a6(0xad),this);const _0x956a04=this[_0x65e9a6(0x96)][_0x65e9a6(0xa3)][_0x65e9a6(0xe1)](_0x340783[_0x44a351]),_0x5b5921=this[_0x65e9a6(0x130)][_0x65e9a6(0xfb)](_0x44a351),_0x2fe4aa=new _0x44c023(_0x506616[_0x65e9a6(0x137)](_0x5b5921,0x0),_0x956a04,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x2fe4aa);for(const [_0x1f1f7d,_0x4fdfe2]of _0x956a04[_0x65e9a6(0xe5)]){const _0x574f1b=_0x506616[_0x65e9a6(0x84)](_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xa4)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]()),_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xe6)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]())),_0x4cf46c=new _0x50001(_0x1f1f7d,null,_0x574f1b,_0x506616[_0x65e9a6(0xe5)],!0x0,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cf46c);}}if(_0x3f2e7c)for(const [_0x50f49b,_0xa1c465]of Object[_0x65e9a6(0x12a)](_0x3f2e7c)){const _0x2584e7=_0x506616[_0x65e9a6(0xb2)][_0x65e9a6(0xfb)](_0x50f49b);if(!_0x2584e7)throw new _0x42dda5(_0x65e9a6(0x105),null);for(const [_0x2d2efc,_0x190976]of Object[_0x65e9a6(0x12a)](_0xa1c465))if(null!==_0x190976){const _0x4cb45f=new _0x1e351b(_0x2584e7,_0x2d2efc,null,_0x190976,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cb45f);}}return _0x550840;}async[_0x38e931(0x9b)](_0x17d95f,_0x1178c0,_0x2d1941){const _0x4af68d=_0x38e931;this[_0x4af68d(0x104)]({[_0x17d95f]:_0x1178c0},{[_0x17d95f]:_0x2d1941})[_0x4af68d(0x148)]((_0x555db6,_0x288040)=>{const _0x4acc22=_0x4af68d;_0x555db6[_0x4acc22(0xa5)]=this[_0x4acc22(0x130)][_0x4acc22(0x123)]+_0x288040,_0x555db6[_0x4acc22(0x77)]=!0x0,this[_0x4acc22(0x15c)](_0x555db6);}),this[_0x4af68d(0x9c)](),await this[_0x4af68d(0x144)]();}async[_0x38e931(0x6f)](_0x472881,_0x2d60fa){const _0x4125cc=_0x38e931;let _0x3b3a78;this[_0x4125cc(0xc3)]=_0x472881[_0x4125cc(0xac)];const _0x5623d0=_0x472881[_0x4125cc(0x13b)]&&!_0x472881[_0x4125cc(0xbf)],_0x20b0c4=_0x5623d0?0x0:_0x472881[_0x4125cc(0xa3)][_0x4125cc(0xa5)];if(_0x2d60fa[_0x4125cc(0x148)](_0x272ad2=>{const _0x27f530=_0x4125cc;_0x272ad2[_0x27f530(0x77)]=!0x0,_0x272ad2[_0x27f530(0xf3)]=_0x472881[_0x27f530(0x145)],_0x272ad2[_0x27f530(0x8c)]=null;}),_0x5623d0)_0x3b3a78=_0x2d60fa,this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);else{if(_0x472881[_0x4125cc(0xbf)]){const _0x16fee4=this[_0x4125cc(0x104)](_0x472881[_0x4125cc(0xbf)]);this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)],_0x16fee4[_0x4125cc(0x148)](_0x3ef78f=>{const _0x1a714e=_0x4125cc;_0x3ef78f[_0x1a714e(0xa5)]-=_0x16fee4[_0x1a714e(0xe0)],_0x3ef78f[_0x1a714e(0xf3)]=_0x472881[_0x1a714e(0x145)],_0x3ef78f[_0x1a714e(0x77)]=!0x0,_0x3ef78f[_0x1a714e(0x8c)]=null;}),this[_0x4125cc(0xd8)](_0x16fee4,!0x0),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)]+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x16fee4);}this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=_0x20b0c4,_0x3b3a78=this[_0x4125cc(0x136)](_0x472881[_0x4125cc(0xa3)],_0x472881[_0x4125cc(0xd3)]),await this[_0x4125cc(0xff)](_0x3b3a78),this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);}_0x472881[_0x4125cc(0x102)]&&(this[_0x4125cc(0xa0)][_0x4125cc(0x128)](_0x3b3a78,_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xbe)]=_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=_0x20b0c4+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x3b3a78),_0x2d60fa[_0x4125cc(0xfc)](_0x7d5437=>{const _0x1b583e=_0x4125cc,_0x1af5c9=this[_0x1b583e(0xba)](_0x7d5437);return _0x1af5c9&&!this[_0x1b583e(0x8d)][_0x1b583e(0x14b)](_0x1af5c9);})[_0x4125cc(0x148)]((_0x43039e,_0x3de92d)=>{const _0x52aa52=_0x4125cc;_0x43039e[_0x52aa52(0xa5)]=this[_0x52aa52(0x130)][_0x52aa52(0x123)]+_0x3de92d,this[_0x52aa52(0x15c)](_0x43039e);}),this[_0x4125cc(0x151)]()?(this[_0x4125cc(0x140)]=0x0,this[_0x4125cc(0x9c)](!0x0),await this[_0x4125cc(0x144)]()):(this[_0x4125cc(0x91)]=!0x1,this[_0x4125cc(0x13a)]());}[_0x38e931(0x13f)](_0x69870,_0x5aa649){const _0x3e6bbd=_0x38e931,_0x564a35=_0x5aa649&&_0x5aa649[_0x3e6bbd(0x11b)];if(_0x564a35&&_0x564a35[_0x3e6bbd(0x125)](_0x3e6bbd(0xfe)))throw _0x5aa649;const _0xcd4ac3=this[_0x3e6bbd(0x96)][_0x3e6bbd(0xd0)][_0x3e6bbd(0xe3)](_0x1360dd);throw this[_0x3e6bbd(0x91)]=!0x0,_0xcd4ac3[_0x3e6bbd(0x164)](),this[_0x3e6bbd(0x96)][_0x3e6bbd(0x78)](_0x3e6bbd(0x158)),new _0x42dda5(_0x69870,this[_0x3e6bbd(0x96)],_0x564a35?{'originalError':_0x564a35}:void 0x0);}[_0x38e931(0x15c)](_0x429e74){const _0x387b38=_0x38e931;this[_0x387b38(0xe8)][_0x387b38(0x14b)](_0x429e74)||(this[_0x387b38(0xe8)][_0x387b38(0x9a)](_0x429e74),this[_0x387b38(0x126)][_0x387b38(0xb4)](_0x429e74),this[_0x387b38(0xfa)]||_0x387b38(0x16b)==_0x429e74[_0x387b38(0xf2)]&&!_0x429e74[_0x387b38(0x90)]||this[_0x387b38(0x139)]());}[_0x38e931(0x9c)](_0x399b08=!0x1){const _0x2af8ea=_0x38e931;!_0x399b08&&this[_0x2af8ea(0x91)]||(this[_0x2af8ea(0x91)]=!0x0,clearTimeout(this[_0x2af8ea(0xd5)]),this[_0x2af8ea(0xd5)]=setTimeout(()=>{const _0x1e6eb0=_0x2af8ea;this[_0x1e6eb0(0x7d)]()[_0x1e6eb0(0xdd)](_0x5f02cb=>{const _0x124409=_0x1e6eb0;_0x5f02cb&&(this[_0x124409(0x13a)](),this[_0x124409(0x91)]=!0x1);})[_0x1e6eb0(0xaf)](_0x1ac76a=>{const _0x19b45e=_0x1e6eb0;this[_0x19b45e(0x13a)](),this[_0x19b45e(0x91)]=!0x1,function(_0x138646){const _0x320300=_0x19b45e;return _0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x161))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x166))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0xd7));}(_0x1ac76a)||this[_0x19b45e(0x13f)](_0x1ac76a[_0x19b45e(0x11b)],_0x1ac76a);});},this[_0x2af8ea(0x140)]));}[_0x38e931(0x144)](){return new Promise(_0x10667e=>{const _0x44f267=_0x381c;this['on'](_0x44f267(0xb6),()=>{_0x10667e();});});}async[_0x38e931(0x7d)](){const _0x16042f=_0x38e931,_0x233582=this[_0x16042f(0x96)][_0x16042f(0xd0)][_0x16042f(0xe3)](_0x1e7221);if(this[_0x16042f(0xb0)]()&&(_0x233582[_0x16042f(0x11e)](),this[_0x16042f(0x11f)]=!0x1),!this[_0x16042f(0x151)]())return!0x0;const _0x292590=[...this[_0x16042f(0x126)]];for(const _0x308817 of _0x292590)_0x308817[_0x16042f(0xee)]=this[_0x16042f(0x130)][_0x16042f(0x100)][_0x16042f(0x8a)](_0x308817);const _0x5956c4=this[_0x16042f(0xa0)][_0x16042f(0x119)](_0x292590),_0x789b5d=Q++,_0x494289=this[_0x16042f(0x111)](_0x292590),_0x191904=await this[_0x16042f(0x15b)][_0x16042f(0xf0)](_0x494289,_0x494289[_0x16042f(0xa5)],_0x5956c4);try{return await this[_0x16042f(0x15e)](_0x292590,_0x191904,_0x789b5d);}catch(_0x10557e){return this[_0x16042f(0x13f)](_0x16042f(0x83),_0x10557e);}}async[_0x38e931(0x15e)](_0x394481,_0x711cf5,_0x46a447){const _0x3a1562=_0x38e931;if(_0x3a1562(0xc9)in _0x711cf5)throw _0x711cf5[_0x3a1562(0xc9)];let _0x19d906=!0x1;if(_0x711cf5[_0x3a1562(0x13b)]){_0x711cf5[_0x3a1562(0x102)]&&(this[_0x3a1562(0xbe)]=_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0x58278d=>!_0x394481[_0x3a1562(0x11c)](_0x58278d));for(const _0x16b2e6 of _0x394481)_0x16b2e6[_0x3a1562(0xf3)]=_0x3a1562(0x12e)in _0x711cf5&&_0x711cf5[_0x3a1562(0x12e)]||void 0x0;Y(_0x394481,_0x711cf5[_0x3a1562(0x123)]-_0x394481[_0x3a1562(0xe0)]),this[_0x3a1562(0x135)](_0x394481);const _0x51d130=_0x394481[_0x3a1562(0xfc)](_0x43dfab=>{const _0x37e547=_0x3a1562;if(!_0x43dfab[_0x37e547(0x77)])return!0x1;const _0x402ebf=this[_0x37e547(0xba)](_0x43dfab);return _0x402ebf&&!this[_0x37e547(0x8d)][_0x37e547(0x14b)](_0x402ebf);});Y(_0x51d130,this[_0x3a1562(0x130)][_0x3a1562(0x123)]),this[_0x3a1562(0xd8)](_0x51d130),_0x19d906=!0x0,this[_0x3a1562(0x140)]=this[_0x3a1562(0x138)];}else{const _0x50a9c2=this[_0x3a1562(0x136)](_0x711cf5[_0x3a1562(0xa3)],_0x711cf5[_0x3a1562(0xd3)])[_0x3a1562(0xfc)](_0x2b5087=>_0x2b5087[_0x3a1562(0xa5)]>=this[_0x3a1562(0xc7)]);_0x50a9c2[_0x3a1562(0x148)](_0x4b991d=>this[_0x3a1562(0x127)](_0x4b991d)),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0xd38965=>!_0xd38965[_0x3a1562(0x77)]||!this[_0x3a1562(0x8d)][_0x3a1562(0x14b)](this[_0x3a1562(0xba)](_0xd38965))),this[_0x3a1562(0x126)][_0x3a1562(0xe0)]&&Y(this[_0x3a1562(0x126)],this[_0x3a1562(0x126)][0x0][_0x3a1562(0xa5)]),await this[_0x3a1562(0xff)](_0x50a9c2),_0x19d906=this[_0x3a1562(0x141)](_0x50a9c2,_0x711cf5[_0x3a1562(0x123)],_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x140)]=Math[_0x3a1562(0xa6)](this[_0x3a1562(0x140)]/0x2);}return _0x19d906?!this[_0x3a1562(0x151)]()||(this[_0x3a1562(0x9c)](!0x0),!0x1):this[_0x3a1562(0x13f)](_0x3a1562(0x110));}[_0x38e931(0x141)](_0x322e71,_0x5da54b,_0x4aba28){const _0x5ddd04=_0x38e931;try{const _0x1f8c0e={'document':this[_0x5ddd04(0x130)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3c95ec,operationsB:_0x44d15b,originalOperations:_0x4c974e}=_0x3ba727(_0x322e71,this[_0x5ddd04(0x126)],_0x1f8c0e);Y(_0x3c95ec,this[_0x5ddd04(0x130)][_0x5ddd04(0x123)]),Y(_0x44d15b,_0x5da54b);for(const _0x3cb375 of _0x3c95ec){const _0x4dd691=_0x4c974e[_0x5ddd04(0xe3)](_0x3cb375);_0x3cb375[_0x5ddd04(0x8c)]=_0x4dd691?_0x4dd691[_0x5ddd04(0x8c)]:null;}_0x4aba28&&(this[_0x5ddd04(0xa0)][_0x5ddd04(0x128)](_0x322e71,_0x4aba28),this[_0x5ddd04(0xbe)]=_0x4aba28),this[_0x5ddd04(0x126)]=[..._0x44d15b],this[_0x5ddd04(0xd8)](_0x3c95ec),this[_0x5ddd04(0x135)](_0x322e71);}catch(_0x1ac2ed){return console[_0x5ddd04(0xc9)](_0x1ac2ed),!0x1;}return!0x0;}[_0x38e931(0xd8)](_0x58fb5c,_0x5ea15b=!0x1){const _0x2b34c4=_0x38e931;this[_0x2b34c4(0x96)][_0x2b34c4(0x156)][_0x2b34c4(0xed)]({'isUndoable':!0x1,'isLocal':!0x1},_0xa09f37=>{const _0x352a66=_0x2b34c4;for(const _0x5f0449 of _0x58fb5c)this[_0x352a66(0xe8)][_0x352a66(0x9a)](_0x5f0449),this[_0x352a66(0x127)](_0x5f0449),_0xa09f37[_0x352a66(0x167)][_0x352a66(0x72)](_0x5f0449),this[_0x352a66(0x96)][_0x352a66(0x156)][_0x352a66(0xa9)](_0x5f0449);});}[_0x38e931(0x127)](_0x1cf4ac){const _0x12383e=_0x38e931,_0x47a2c2=this[_0x12383e(0xba)](_0x1cf4ac);_0x47a2c2&&this[_0x12383e(0x8d)][_0x12383e(0x9a)](_0x47a2c2);}[_0x38e931(0xba)](_0x163490){const _0x1c6870=_0x38e931;let _0x827233,_0x53e5eb;switch(_0x163490[_0x1c6870(0xf2)]){case _0x1c6870(0x108):_0x827233=_0x163490[_0x1c6870(0xbc)][_0x1c6870(0x13d)];break;case _0x1c6870(0x16b):if(_0x53e5eb=_0x163490[_0x1c6870(0x7b)],!_0x53e5eb)return null;_0x827233=_0x53e5eb[_0x1c6870(0x13d)];break;case _0x1c6870(0x132):_0x827233=_0x163490[_0x1c6870(0x13d)];break;case _0x1c6870(0x169):_0x827233=_0x163490[_0x1c6870(0x88)];break;case _0x1c6870(0xef):_0x827233=_0x163490[_0x1c6870(0x160)][_0x1c6870(0x13d)];break;default:return null;}return _0x827233[_0x1c6870(0xc8)];}[_0x38e931(0x135)](_0x4535bc){const _0x10bd6b=_0x38e931;_0x4535bc[_0x10bd6b(0x148)](_0x307f3e=>{const _0x3291a7=_0x10bd6b,_0x20b51d=_0x307f3e[_0x3291a7(0xae)]();_0x20b51d[_0x3291a7(0x8c)]=_0x307f3e[_0x3291a7(0x8c)],_0x20b51d[_0x3291a7(0x77)]=!!_0x307f3e[_0x3291a7(0x77)],_0x20b51d[_0x3291a7(0xf3)]=_0x307f3e[_0x3291a7(0xf3)],_0x20b51d[_0x3291a7(0xa5)]+=this[_0x3291a7(0xc3)],_0x307f3e[_0x3291a7(0x11a)]&&this[_0x3291a7(0x67)][_0x3291a7(0x9a)](_0x20b51d),this[_0x3291a7(0xe2)][_0x3291a7(0x72)](_0x20b51d);});}[_0x38e931(0x13c)](_0x3aa61e){const _0x153619=_0x38e931,_0x373ea6=this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x153619(0xb8)),_0xaccac9=this[_0x153619(0x96)][_0x153619(0x133)];_0x3aa61e||(_0x3aa61e=_0x31d992(_0xaccac9,_0x153619(0xea))),_0x373ea6[_0x153619(0x14e)](_0x3aa61e,{'title':_0x31d992(_0xaccac9,_0x153619(0x122)),'namespace':_0x153619(0x16c)}),this[_0x153619(0xf4)]=!0x0,clearTimeout(this[_0x153619(0xd5)]),this[_0x153619(0x126)]=[],this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x1360dd)[_0x153619(0x164)]();}[_0x38e931(0x139)](){const _0x28f4df=_0x38e931;this[_0x28f4df(0xfa)]||(this[_0x28f4df(0xfa)]=this[_0x28f4df(0x96)][_0x28f4df(0xd0)][_0x28f4df(0xe3)](_0x10a7a5)[_0x28f4df(0x9a)](_0x31d992(this[_0x28f4df(0x96)][_0x28f4df(0x133)],_0x28f4df(0xde))));}[_0x38e931(0x13a)](){const _0x43c8dd=_0x38e931;this[_0x43c8dd(0xfa)]&&(this[_0x43c8dd(0x96)][_0x43c8dd(0xd0)][_0x43c8dd(0xe3)](_0x10a7a5)[_0x43c8dd(0xd1)](this[_0x43c8dd(0xfa)]),this[_0x43c8dd(0xfa)]=null);}[_0x38e931(0x111)](_0x50f09a){const _0x2c5ab8=_0x38e931,_0x4d6ebf=_0x50f09a[_0x2c5ab8(0x152)](_0x19bd67=>_0x19bd67[_0x2c5ab8(0x134)]());return this[_0x2c5ab8(0x87)][_0x2c5ab8(0x118)](_0x4d6ebf);}[_0x38e931(0x136)](_0x194013,_0x199e9e){const _0x41f40b=_0x38e931;return this[_0x41f40b(0x87)][_0x41f40b(0x113)](_0x194013)[_0x41f40b(0x152)]((_0x5c290f,_0x4c07e8)=>{const _0x288cbc=_0x41f40b,_0x478e97=_0x288cbc(0xfd)==_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)];if(_0x288cbc(0xf7)==_0x5c290f[_0x288cbc(0x6c)]){const _0x244958=_0x5c290f[_0x288cbc(0xbc)][_0x288cbc(0x13d)];!this[_0x288cbc(0x130)][_0x288cbc(0xfb)](_0x244958)&&(this[_0x288cbc(0x130)][_0x288cbc(0x74)](_0x288cbc(0xb9),_0x244958)[_0x288cbc(0x93)]=!0x1);}const _0x1c63a0=_0x2352a1[_0x288cbc(0x97)](_0x5c290f,this[_0x288cbc(0x130)]);return _0x1c63a0[_0x288cbc(0xee)]=_0x5c290f[_0x288cbc(0xee)],_0x1c63a0[_0x288cbc(0x77)]=_0x478e97,_0x1c63a0[_0x288cbc(0x8c)]=_0x478e97?null:_0x199e9e[_0x4c07e8][_0x288cbc(0x7e)],_0x1c63a0[_0x288cbc(0x11a)]=_0x288cbc(0x12c)===_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)],_0x1c63a0[_0x288cbc(0xf3)]=_0x199e9e[_0x4c07e8][_0x288cbc(0xf3)],_0x1c63a0;});}[_0x38e931(0xd2)](){const _0x47477b=_0x38e931;this[_0x47477b(0x11f)]=!0x0,this[_0x47477b(0xb0)]()?this[_0x47477b(0x9c)]():this[_0x47477b(0x11f)]=!0x1;}[_0x38e931(0xb0)](){const _0x32505d=_0x38e931,_0x455821=this[_0x32505d(0x96)][_0x32505d(0xd0)][_0x32505d(0xe3)](_0x422ef6)[_0x32505d(0xc1)][_0x32505d(0xe3)](this[_0x32505d(0x8e)]);return!this[_0x32505d(0x96)][_0x32505d(0xec)]&&!!_0x455821&&_0x455821[_0x32505d(0xe0)]>0x1&&this[_0x32505d(0x11f)];}[_0x38e931(0x151)](){const _0x469269=_0x38e931;return this[_0x469269(0x126)][_0x469269(0xe0)]>0x0||this[_0x469269(0xb0)]();}}class X extends Error{}function Y(_0x5145ab,_0x19b64b){const _0x522c99=_0x38e931;for(const _0x462e87 of _0x5145ab)_0x462e87[_0x522c99(0xa5)]=_0x19b64b++;}class Z{[_0x38e931(0x68)];[_0x38e931(0x147)];constructor(_0x34a4eb){const _0x55b797=_0x38e931;this[_0x55b797(0x68)]=_0x34a4eb,this[_0x55b797(0x147)]=new WeakMap();}[_0x38e931(0x119)](_0x5d8ec2){const _0x549752=_0x38e931;let _0x3809cd=_0x5d8ec2[_0x549752(0xe0)];for(;_0x3809cd--;){const _0x3e926f=_0x5d8ec2[_0x3809cd];if(!this[_0x549752(0x68)][_0x549752(0x14b)](_0x3e926f)){if(!this[_0x549752(0x147)][_0x549752(0x14b)](_0x3e926f)){const _0x58270e=_0x552842()[_0x549752(0x117)](0x1,0x12);this[_0x549752(0x147)][_0x549752(0x11d)](_0x3e926f,_0x58270e);}return this[_0x549752(0x147)][_0x549752(0xe3)](_0x3e926f);}}}[_0x38e931(0x128)](_0x3d9e1b,_0x549544){const _0x4a7b45=_0x38e931;if(!_0x549544)return;let _0x29a2b2=_0x3d9e1b[_0x4a7b45(0xe0)];for(;_0x29a2b2--;){const _0x1b62db=_0x3d9e1b[_0x29a2b2];this[_0x4a7b45(0x68)][_0x4a7b45(0x14b)](_0x1b62db)||this[_0x4a7b45(0x147)][_0x4a7b45(0x11d)](_0x1b62db,_0x549544);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2278e1=_0x2997;function _0x226f(){const _0x348f72=['1304114RcayIe','set','getUserSessions','forEach','assign','getUser','getUserBySessionId','context','orderNumber','2dFykbj','clear','user','_uniqueUsersCount','mySessionId','values','add','isMe','51038RajpxX','listenTo','connected','12nuYMlA','change:state','role','requires','fire','plugins','channelConnectedUsers','unregister','328552oqDSOG','get','register','_handleSessionAdd','1011520ggJaYt','has','getUserRole','defineMe','sessionAdd:','stopListening','_registeredSessions','sessions-register-already-registered','521994sFdVQc','_handleSessionRemove','connection','Sessions','_createUser','state','size','addUser','sessions-unregister-not-exist','pluginName','init','sessionId','385848OyNhyW','isPremiumPlugin','channelSessions','isOfficialPlugin','2621290rjVgFP','delete','remove','hiddenInPresenceList','_users','allConnectedUsers'];_0x226f=function(){return _0x348f72;};return _0x226f();}(function(_0x5b37fa,_0x380d98){const _0x473817=_0x2997,_0x491a58=_0x5b37fa();while(!![]){try{const _0x56d49b=parseInt(_0x473817(0xdd))/0x1*(parseInt(_0x473817(0xd5))/0x2)+-parseInt(_0x473817(0xf4))/0x3+parseInt(_0x473817(0xec))/0x4+parseInt(_0x473817(0x104))/0x5+parseInt(_0x473817(0xe0))/0x6*(-parseInt(_0x473817(0xcc))/0x7)+-parseInt(_0x473817(0xe8))/0x8+parseInt(_0x473817(0x100))/0x9;if(_0x56d49b===_0x380d98)break;else _0x491a58['push'](_0x491a58['shift']());}catch(_0x9a371e){_0x491a58['push'](_0x491a58['shift']());}}}(_0x226f,0x452f1));import{ContextPlugin as _0x2528b4}from'ckeditor5/src/core.js';import{Collection as _0x137eea,CKEditorError as _0x2fb41a}from'ckeditor5/src/utils.js';function _0x2997(_0x23cd30,_0x5834ab){const _0x226fd9=_0x226f();return _0x2997=function(_0x299762,_0x493266){_0x299762=_0x299762-0xca;let _0x29e125=_0x226fd9[_0x299762];return _0x29e125;},_0x2997(_0x23cd30,_0x5834ab);}import{WebSocketGateway as _0x130ffc}from'./websocketgateway.js';import{Users as _0x1227f2}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2528b4{[_0x2278e1(0x102)];[_0x2278e1(0xe6)];[_0x2278e1(0xcb)];[_0x2278e1(0xf2)];[_0x2278e1(0xd8)];[_0x2278e1(0xca)];static get[_0x2278e1(0xfd)](){const _0x5d72de=_0x2278e1;return _0x5d72de(0xf7);}static get[_0x2278e1(0x103)](){return!0x0;}static get[_0x2278e1(0x101)](){return!0x0;}static get[_0x2278e1(0xe3)](){return[_0x130ffc,_0x1227f2];}constructor(_0x79da68){const _0x4c5682=_0x2278e1;super(_0x79da68),this[_0x4c5682(0x102)]=new Map(),this[_0x4c5682(0xe6)]=new Map(),this[_0x4c5682(0xcb)]=new _0x137eea(),this[_0x4c5682(0xf2)]=new Map(),this[_0x4c5682(0xd8)]=0x0,this[_0x4c5682(0xca)]=this[_0x4c5682(0xd3)][_0x4c5682(0xe5)][_0x4c5682(0xe9)](_0x1227f2);}[_0x2278e1(0xfe)](){const _0x597c41=_0x2278e1,_0x3a92e4=this[_0x597c41(0xd3)][_0x597c41(0xe5)][_0x597c41(0xe9)](_0x130ffc);this[_0x597c41(0xde)](_0x3a92e4,_0x597c41(0xe1),(_0x348794,_0xf4b726,_0x5e5b2d)=>{const _0x2d7bb9=_0x597c41;if(_0x2d7bb9(0xdf)!==_0x5e5b2d)this[_0x2d7bb9(0x102)][_0x2d7bb9(0xcf)](_0x232a4f=>_0x232a4f[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xe6)][_0x2d7bb9(0xcf)](_0x25bf3c=>_0x25bf3c[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xcb)][_0x2d7bb9(0xd6)]();else{for(const [_0x31310c,_0x21872b]of this[_0x2d7bb9(0xf2)])for(const _0x5978a3 of _0x21872b)this[_0x2d7bb9(0xeb)](_0x31310c,_0x5978a3);}}),this[_0x597c41(0xf8)](_0x3a92e4[_0x597c41(0xf6)]['me'],!0x0);}[_0x2278e1(0xea)](_0xddca8f,_0x44997a){const _0xb83212=_0x2278e1;if(this[_0xb83212(0xf2)][_0xb83212(0xed)](_0xddca8f))throw new _0x2fb41a(_0xb83212(0xf3),null,{'channelId':_0xddca8f});this[_0xb83212(0xf2)][_0xb83212(0xcd)](_0xddca8f,_0x44997a),this[_0xb83212(0x102)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xe6)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0xdb),(_0x9d8b71,_0x578f3a)=>this[_0xb83212(0xeb)](_0xddca8f,_0x578f3a)),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0x106),(_0x1375c4,_0x52ff2f)=>this[_0xb83212(0xf5)](_0xddca8f,_0x52ff2f));for(const _0x8d76a8 of _0x44997a)this[_0xb83212(0xeb)](_0xddca8f,_0x8d76a8);}[_0x2278e1(0xe7)](_0x51b8c5){const _0x3629fc=_0x2278e1;if(!this[_0x3629fc(0xf2)][_0x3629fc(0xed)](_0x51b8c5))throw new _0x2fb41a(_0x3629fc(0xfc),null,{'channelId':_0x51b8c5});const _0x36c6e3=this[_0x3629fc(0xf2)][_0x3629fc(0xe9)](_0x51b8c5);this[_0x3629fc(0xf1)](_0x36c6e3);for(const _0x17bf7d of _0x36c6e3)_0x3629fc(0xdf)===this[_0x3629fc(0xd3)][_0x3629fc(0xe5)][_0x3629fc(0xe9)](_0x130ffc)[_0x3629fc(0xf9)]&&this[_0x3629fc(0xf5)](_0x51b8c5,_0x17bf7d);this[_0x3629fc(0xf2)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0x102)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0xe6)][_0x3629fc(0x105)](_0x51b8c5);}get[_0x2278e1(0xd9)](){const _0x1485b1=_0x2278e1;return this[_0x1485b1(0xd3)][_0x1485b1(0xe5)][_0x1485b1(0xe9)](_0x130ffc)[_0x1485b1(0xf6)][_0x1485b1(0xff)];}[_0x2278e1(0xd2)](_0x259c93){const _0x4aed18=_0x2278e1;for(const _0x1d2d5e of this[_0x4aed18(0x102)][_0x4aed18(0xda)]())for(const _0x404041 of _0x1d2d5e)if(_0x404041['id']===_0x259c93)return _0x404041[_0x4aed18(0xd7)];}[_0x2278e1(0xce)](_0x49207a,_0x33cb78){const _0x31117c=_0x2278e1,_0x3f4765=_0x33cb78?[this[_0x31117c(0x102)][_0x31117c(0xe9)](_0x33cb78)]:this[_0x31117c(0x102)][_0x31117c(0xda)](),_0x170acf=new Set();for(const _0x52cdce of _0x3f4765)for(const _0x22d7a4 of _0x52cdce)_0x22d7a4[_0x31117c(0xd7)]['id']===_0x49207a['id']&&_0x170acf[_0x31117c(0xdb)](_0x22d7a4['id']);return _0x170acf;}[_0x2278e1(0xee)](_0x25f3c8){const _0x5daec2=_0x2278e1;for(const _0xa0a43b of this[_0x5daec2(0x102)][_0x5daec2(0xda)]())for(const _0x4635a0 of _0xa0a43b)if(_0x4635a0[_0x5daec2(0xd7)]===_0x25f3c8)return _0x4635a0[_0x5daec2(0xe2)];}[_0x2278e1(0xeb)](_0x17f73c,_0x411629){const _0x88f4c7=_0x2278e1;if(_0x88f4c7(0xdf)!==this[_0x88f4c7(0xd3)][_0x88f4c7(0xe5)][_0x88f4c7(0xe9)](_0x130ffc)[_0x88f4c7(0xf9)])return;const _0x4576b0=_0x411629[_0x88f4c7(0xd7)],_0x32abbb=this[_0x88f4c7(0xca)][_0x88f4c7(0xd1)](_0x4576b0['id'])||this[_0x88f4c7(0xf8)](_0x4576b0),_0x1aac03=Object[_0x88f4c7(0xd0)]({},_0x411629,{'user':_0x32abbb});if(this[_0x88f4c7(0x102)][_0x88f4c7(0xe9)](_0x17f73c)[_0x88f4c7(0xdb)](_0x1aac03),!_0x4576b0[_0x88f4c7(0x107)]){const _0xf3e4cd=this[_0x88f4c7(0xe6)][_0x88f4c7(0xe9)](_0x17f73c);_0xf3e4cd[_0x88f4c7(0xed)](_0x32abbb['id'])||_0xf3e4cd[_0x88f4c7(0xdb)](_0x32abbb),this[_0x88f4c7(0xcb)][_0x88f4c7(0xed)](_0x32abbb['id'])||_0x4576b0[_0x88f4c7(0x107)]||this[_0x88f4c7(0xcb)][_0x88f4c7(0xdb)](_0x32abbb,_0x32abbb[_0x88f4c7(0xdc)]?0x0:void 0x0);}this[_0x88f4c7(0xe4)](_0x88f4c7(0xf0)+_0x17f73c,{'channelId':_0x17f73c,'session':_0x1aac03});}[_0x2278e1(0xf5)](_0x1fadd8,_0x5935ab){const _0x5906b5=_0x2278e1;if(_0x5906b5(0xdf)!==this[_0x5906b5(0xd3)][_0x5906b5(0xe5)][_0x5906b5(0xe9)](_0x130ffc)[_0x5906b5(0xf9)])return;const _0x55e232=this[_0x5906b5(0xe6)][_0x5906b5(0xe9)](_0x1fadd8),_0x3de0e3=_0x5935ab[_0x5906b5(0xd7)];_0x3de0e3['id']&&(this[_0x5906b5(0x102)][_0x5906b5(0xe9)](_0x1fadd8)[_0x5906b5(0x106)](_0x5935ab['id']),_0x55e232[_0x5906b5(0xed)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3,_0x1fadd8)[_0x5906b5(0xfa)]&&_0x55e232[_0x5906b5(0x106)](_0x3de0e3['id']),this[_0x5906b5(0xcb)][_0x5906b5(0xe9)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3)[_0x5906b5(0xfa)]&&this[_0x5906b5(0xcb)][_0x5906b5(0x106)](_0x3de0e3['id']));}[_0x2278e1(0xf8)](_0x13744f,_0x1bce84){const _0x587eca=_0x2278e1,_0x23e89f=this[_0x587eca(0xca)][_0x587eca(0xfb)](_0x13744f);return _0x1bce84&&this[_0x587eca(0xca)][_0x587eca(0xef)](_0x13744f['id']),_0x23e89f[_0x587eca(0xd4)]=this[_0x587eca(0xd8)]++,_0x23e89f;}}
23
+ const _0xe3c558=_0x10a4;(function(_0x46408c,_0x5a437a){const _0x3c348d=_0x10a4,_0x54b6f9=_0x46408c();while(!![]){try{const _0x3a68ff=parseInt(_0x3c348d(0x114))/0x1+-parseInt(_0x3c348d(0xfa))/0x2+-parseInt(_0x3c348d(0xf1))/0x3*(parseInt(_0x3c348d(0xda))/0x4)+-parseInt(_0x3c348d(0xd9))/0x5+-parseInt(_0x3c348d(0xe1))/0x6+-parseInt(_0x3c348d(0x112))/0x7*(parseInt(_0x3c348d(0xf5))/0x8)+parseInt(_0x3c348d(0x101))/0x9;if(_0x3a68ff===_0x5a437a)break;else _0x54b6f9['push'](_0x54b6f9['shift']());}catch(_0x50d178){_0x54b6f9['push'](_0x54b6f9['shift']());}}}(_0x4e43,0x1ed22));function _0x10a4(_0x4959ed,_0xa483e8){const _0x4e4372=_0x4e43();return _0x10a4=function(_0x10a4ec,_0x131d7a){_0x10a4ec=_0x10a4ec-0xd8;let _0x1a37e8=_0x4e4372[_0x10a4ec];return _0x1a37e8;},_0x10a4(_0x4959ed,_0xa483e8);}import{ContextPlugin as _0x4c768b}from'ckeditor5/src/core.js';import{Collection as _0x7444ce,CKEditorError as _0xdb5015}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xc773bb}from'./websocketgateway.js';import{Users as _0x352ba6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4e43(){const _0x113eb6=['orderNumber','isPremiumPlugin','plugins','channelConnectedUsers','register','70203Sxoath','isMe','138116qMDBNi','_uniqueUsersCount','hiddenInPresenceList','1118165gNefLK','53860dtdkCU','has','get','_createUser','_handleSessionAdd','context','getUserSessions','530586BWWbUy','defineMe','channelSessions','connection','sessions-unregister-not-exist','fire','role','getUserRole','delete','values','isOfficialPlugin','allConnectedUsers','init','_handleSessionRemove','add','Sessions','6kWHirC','pluginName','forEach','_registeredSessions','72GGHjZu','state','getUserBySessionId','change:state','assign','67440rgyuKs','listenTo','remove','clear','sessionAdd:','_users','unregister','4059909nyFIji','mySessionId','set','requires','addUser','user','connected','size','sessionId','stopListening','sessions-register-already-registered','getUser'];_0x4e43=function(){return _0x113eb6;};return _0x4e43();}export class Sessions extends _0x4c768b{[_0xe3c558(0xe3)];[_0xe3c558(0x110)];[_0xe3c558(0xec)];[_0xe3c558(0xf4)];[_0xe3c558(0x115)];[_0xe3c558(0xff)];static get[_0xe3c558(0xf2)](){const _0x259a76=_0xe3c558;return _0x259a76(0xf0);}static get[_0xe3c558(0xeb)](){return!0x0;}static get[_0xe3c558(0x10e)](){return!0x0;}static get[_0xe3c558(0x104)](){return[_0xc773bb,_0x352ba6];}constructor(_0x275ab6){const _0x448b46=_0xe3c558;super(_0x275ab6),this[_0x448b46(0xe3)]=new Map(),this[_0x448b46(0x110)]=new Map(),this[_0x448b46(0xec)]=new _0x7444ce(),this[_0x448b46(0xf4)]=new Map(),this[_0x448b46(0x115)]=0x0,this[_0x448b46(0xff)]=this[_0x448b46(0xdf)][_0x448b46(0x10f)][_0x448b46(0xdc)](_0x352ba6);}[_0xe3c558(0xed)](){const _0x2978ae=_0xe3c558,_0x1126b5=this[_0x2978ae(0xdf)][_0x2978ae(0x10f)][_0x2978ae(0xdc)](_0xc773bb);this[_0x2978ae(0xfb)](_0x1126b5,_0x2978ae(0xf8),(_0x2cc1a1,_0x3824db,_0x27763f)=>{const _0x5ccbaf=_0x2978ae;if(_0x5ccbaf(0x107)!==_0x27763f)this[_0x5ccbaf(0xe3)][_0x5ccbaf(0xf3)](_0x366ae8=>_0x366ae8[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0x110)][_0x5ccbaf(0xf3)](_0x3b8059=>_0x3b8059[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0xec)][_0x5ccbaf(0xfd)]();else{for(const [_0x28b044,_0x132676]of this[_0x5ccbaf(0xf4)])for(const _0x2f8170 of _0x132676)this[_0x5ccbaf(0xde)](_0x28b044,_0x2f8170);}}),this[_0x2978ae(0xdd)](_0x1126b5[_0x2978ae(0xe4)]['me'],!0x0);}[_0xe3c558(0x111)](_0x551ae3,_0x30b693){const _0x2585be=_0xe3c558;if(this[_0x2585be(0xf4)][_0x2585be(0xdb)](_0x551ae3))throw new _0xdb5015(_0x2585be(0x10b),null,{'channelId':_0x551ae3});this[_0x2585be(0xf4)][_0x2585be(0x103)](_0x551ae3,_0x30b693),this[_0x2585be(0xe3)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0x110)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xef),(_0x3141a4,_0x53fa08)=>this[_0x2585be(0xde)](_0x551ae3,_0x53fa08)),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xfc),(_0x1771ac,_0x4d1f16)=>this[_0x2585be(0xee)](_0x551ae3,_0x4d1f16));for(const _0x4b3c76 of _0x30b693)this[_0x2585be(0xde)](_0x551ae3,_0x4b3c76);}[_0xe3c558(0x100)](_0x1d06fb){const _0x5e410e=_0xe3c558;if(!this[_0x5e410e(0xf4)][_0x5e410e(0xdb)](_0x1d06fb))throw new _0xdb5015(_0x5e410e(0xe5),null,{'channelId':_0x1d06fb});const _0x22b902=this[_0x5e410e(0xf4)][_0x5e410e(0xdc)](_0x1d06fb);this[_0x5e410e(0x10a)](_0x22b902);for(const _0x25fb3d of _0x22b902)_0x5e410e(0x107)===this[_0x5e410e(0xdf)][_0x5e410e(0x10f)][_0x5e410e(0xdc)](_0xc773bb)[_0x5e410e(0xf6)]&&this[_0x5e410e(0xee)](_0x1d06fb,_0x25fb3d);this[_0x5e410e(0xf4)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0xe3)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0x110)][_0x5e410e(0xe9)](_0x1d06fb);}get[_0xe3c558(0x102)](){const _0xef557d=_0xe3c558;return this[_0xef557d(0xdf)][_0xef557d(0x10f)][_0xef557d(0xdc)](_0xc773bb)[_0xef557d(0xe4)][_0xef557d(0x109)];}[_0xe3c558(0xf7)](_0x4c2d78){const _0x3e2bc2=_0xe3c558;for(const _0x1e4fab of this[_0x3e2bc2(0xe3)][_0x3e2bc2(0xea)]())for(const _0x5488a3 of _0x1e4fab)if(_0x5488a3['id']===_0x4c2d78)return _0x5488a3[_0x3e2bc2(0x106)];}[_0xe3c558(0xe0)](_0x1ce8e6,_0x1dc1b0){const _0x32a063=_0xe3c558,_0x15e358=_0x1dc1b0?[this[_0x32a063(0xe3)][_0x32a063(0xdc)](_0x1dc1b0)]:this[_0x32a063(0xe3)][_0x32a063(0xea)](),_0x9ad977=new Set();for(const _0x395c25 of _0x15e358)for(const _0x1cbe6a of _0x395c25)_0x1cbe6a[_0x32a063(0x106)]['id']===_0x1ce8e6['id']&&_0x9ad977[_0x32a063(0xef)](_0x1cbe6a['id']);return _0x9ad977;}[_0xe3c558(0xe8)](_0x474625){const _0x5cbba0=_0xe3c558;for(const _0x386eec of this[_0x5cbba0(0xe3)][_0x5cbba0(0xea)]())for(const _0x30d539 of _0x386eec)if(_0x30d539[_0x5cbba0(0x106)]===_0x474625)return _0x30d539[_0x5cbba0(0xe7)];}[_0xe3c558(0xde)](_0xe85f05,_0x472e22){const _0x126d19=_0xe3c558;if(_0x126d19(0x107)!==this[_0x126d19(0xdf)][_0x126d19(0x10f)][_0x126d19(0xdc)](_0xc773bb)[_0x126d19(0xf6)])return;const _0x32b08b=_0x472e22[_0x126d19(0x106)],_0xbd9703=this[_0x126d19(0xff)][_0x126d19(0x10c)](_0x32b08b['id'])||this[_0x126d19(0xdd)](_0x32b08b),_0x6e909e=Object[_0x126d19(0xf9)]({},_0x472e22,{'user':_0xbd9703});if(this[_0x126d19(0xe3)][_0x126d19(0xdc)](_0xe85f05)[_0x126d19(0xef)](_0x6e909e),!_0x32b08b[_0x126d19(0xd8)]){const _0x48694f=this[_0x126d19(0x110)][_0x126d19(0xdc)](_0xe85f05);_0x48694f[_0x126d19(0xdb)](_0xbd9703['id'])||_0x48694f[_0x126d19(0xef)](_0xbd9703),this[_0x126d19(0xec)][_0x126d19(0xdb)](_0xbd9703['id'])||_0x32b08b[_0x126d19(0xd8)]||this[_0x126d19(0xec)][_0x126d19(0xef)](_0xbd9703,_0xbd9703[_0x126d19(0x113)]?0x0:void 0x0);}this[_0x126d19(0xe6)](_0x126d19(0xfe)+_0xe85f05,{'channelId':_0xe85f05,'session':_0x6e909e});}[_0xe3c558(0xee)](_0x4912c4,_0x4cd2df){const _0x4d284c=_0xe3c558;if(_0x4d284c(0x107)!==this[_0x4d284c(0xdf)][_0x4d284c(0x10f)][_0x4d284c(0xdc)](_0xc773bb)[_0x4d284c(0xf6)])return;const _0x4f2837=this[_0x4d284c(0x110)][_0x4d284c(0xdc)](_0x4912c4),_0x3b339d=_0x4cd2df[_0x4d284c(0x106)];_0x3b339d['id']&&(this[_0x4d284c(0xe3)][_0x4d284c(0xdc)](_0x4912c4)[_0x4d284c(0xfc)](_0x4cd2df['id']),_0x4f2837[_0x4d284c(0xdb)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d,_0x4912c4)[_0x4d284c(0x108)]&&_0x4f2837[_0x4d284c(0xfc)](_0x3b339d['id']),this[_0x4d284c(0xec)][_0x4d284c(0xdc)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d)[_0x4d284c(0x108)]&&this[_0x4d284c(0xec)][_0x4d284c(0xfc)](_0x3b339d['id']));}[_0xe3c558(0xdd)](_0x4fb77c,_0x3beb50){const _0x54a821=_0xe3c558,_0x19ca31=this[_0x54a821(0xff)][_0x54a821(0x105)](_0x4fb77c);return _0x3beb50&&this[_0x54a821(0xff)][_0x54a821(0xe2)](_0x4fb77c['id']),_0x19ca31[_0x54a821(0x10d)]=this[_0x54a821(0x115)]++,_0x19ca31;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12fba5=_0x12bc;(function(_0x47e7d9,_0x31cdfc){const _0x5932eb=_0x12bc,_0x10e266=_0x47e7d9();while(!![]){try{const _0x5a1f7b=parseInt(_0x5932eb(0x202))/0x1+parseInt(_0x5932eb(0x1e2))/0x2*(parseInt(_0x5932eb(0x1ce))/0x3)+-parseInt(_0x5932eb(0x1f6))/0x4*(-parseInt(_0x5932eb(0x1d6))/0x5)+-parseInt(_0x5932eb(0x1e5))/0x6+parseInt(_0x5932eb(0x235))/0x7+parseInt(_0x5932eb(0x1de))/0x8+-parseInt(_0x5932eb(0x1d4))/0x9*(parseInt(_0x5932eb(0x1c6))/0xa);if(_0x5a1f7b===_0x31cdfc)break;else _0x10e266['push'](_0x10e266['shift']());}catch(_0x3519ca){_0x10e266['push'](_0x10e266['shift']());}}}(_0x1e4b,0x50248));import{Plugin as _0x5071db}from'ckeditor5/src/core.js';function _0x12bc(_0x1c195c,_0x10dd4d){const _0x1e4b48=_0x1e4b();return _0x12bc=function(_0x12bcf0,_0x3226e1){_0x12bcf0=_0x12bcf0-0x1ad;let _0x55aaf3=_0x1e4b48[_0x12bcf0];return _0x55aaf3;},_0x12bc(_0x1c195c,_0x10dd4d);}import{global as _0x337863,DomEmitterMixin as _0x3d92bc}from'ckeditor5/src/utils.js';import{Sessions as _0x5d21ec}from'./sessions.js';import{ModelLiveRange as _0x43d3c2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1e4b(){const _0x29438b=['batch','reconvertMarker','createUIElement','getUserBySessionId','markerRange','user:position','markerName','requires','removeMarker','addMarker','view','fromRange','tableCell','document','createRange','init','keydown','selection','isInline','setAttribute','end','outerHTML','update:user:range','getPositions','enqueueChange','isDocumentOperation','isCollapsed','Escape','classList','color','start','add','set','deletionPosition','listenTo','toDomElement','isLimit','getAttribute','markerNameToElements','markerToElement','markers','applyOperation','orderNumber','contenteditable','getContainedElement','2011842FOYwjF','root','updateMarker','type','textContent','innerHTML','user:range','get','mouseenter','undo','detach','model','parent','ck-user__marker_hovered','delete','UserMarkers','data-session-id','hasContent','mySessionId','removeClass','spellcheck','isPremiumPlugin','mouseleave','getFirstRange','user:range:','marker','oldRange','has','90dwxFtc','clear','checkChild','isSimilar','ck-user__marker\x20','userPositionMarker','remove','getNearestSelectionRange','6684xSqOVd','change','getCustomProperty','schema','size','stopListening','1461501BXYQGF','span','135YWULJH','false','getMarkerClass','isOfficialPlugin','_createdBatches','ck-user__marker-tooltip','pluginName','destroy','1919232DizMlZ','render','$graveyard','conversion','156BGDWxZ','afterInit','hasDomSelection','514260VppFuc','createElement','mapper','editingDowncast','getSelectionClass','user:','$text','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','highest','getStart','toRange','isObject','editing','_domEmitter','createUserMarkerOperations','addEventListener','getRange','83416JhthTX','setCustomProperty','commands','plugins','for','newRange','startsWith','editor','rootName','nodeAfter','ck-user__selection','markerToHighlight','611323zVMdYO','split','change:range','name','user:position:','element'];_0x1e4b=function(){return _0x29438b;};return _0x1e4b();}export class UserMarkers extends _0x5071db{[_0x12fba5(0x1f2)]=new(_0x3d92bc())();static get[_0x12fba5(0x20f)](){return[_0x5d21ec];}static get[_0x12fba5(0x1dc)](){const _0x1a61ac=_0x12fba5;return _0x1a61ac(0x1b9);}static get[_0x12fba5(0x1d9)](){return!0x0;}static get[_0x12fba5(0x1bf)](){return!0x0;}[_0x12fba5(0x217)](){const _0x1227ad=_0x12fba5,_0x4d42b0=this[_0x1227ad(0x1fd)],_0x19a118=_0x4d42b0[_0x1227ad(0x1f9)][_0x1227ad(0x1b1)](_0x5d21ec);_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x22f)]({'model':_0x1227ad(0x20d),'view':(_0x50f405,{writer:_0x597631})=>function(_0x4e0e3d,_0x1d107a,_0x20f9ae,_0x274158){const _0x20bb62=_0x1227ad,_0x306cd9=_0x4e0e3d[_0x20bb62(0x20e)][_0x20bb62(0x203)](':')[0x2],_0x238e11=_0x20f9ae[_0x20bb62(0x20b)](_0x306cd9);if(!_0x238e11||_0x306cd9===_0x20f9ae[_0x20bb62(0x1bc)])return;if(!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x1c8)](_0x4e0e3d[_0x20bb62(0x20c)][_0x20bb62(0x226)],_0x20bb62(0x1eb)))return;const _0x4e16b1={'class':_0x20bb62(0x1ca)+_0x238e11[_0x20bb62(0x225)][_0x20bb62(0x1d8)](),'data-name':_0x238e11[_0x20bb62(0x205)],'data-session-id':_0x306cd9},_0x540b7b=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x4e0e3d[_0x20bb62(0x20e)]),_0x99b498=_0x540b7b[_0x20bb62(0x1ee)](),_0x254c52=_0x99b498[_0x20bb62(0x1ff)],_0x36ee20=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)];if(_0x254c52&&_0x36ee20[_0x20bb62(0x1f0)](_0x254c52)&&_0x36ee20[_0x20bb62(0x21a)](_0x254c52)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x20bb62(0x1c2)+_0x306cd9)[_0x20bb62(0x1f5)]()[_0x20bb62(0x222)])return;const _0x1474c1=_0x99b498[_0x20bb62(0x1b6)];return _0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x22c)](_0x1474c1)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1bb)](_0x1474c1)&&(_0x4e16b1[_0x20bb62(0x233)]=!0x1),function(_0x440d5e,_0x59beb1,_0x152439){const _0x5f06e8=_0x20bb62,_0x495f04=_0x440d5e[_0x5f06e8(0x20a)](_0x5f06e8(0x1d5),_0x59beb1);return _0x440d5e[_0x5f06e8(0x1f7)](_0x5f06e8(0x1cb),!0x0,_0x495f04),_0x495f04[_0x5f06e8(0x1df)]=function(_0x25ab18){const _0x331672=_0x5f06e8,_0x2ef61a=this[_0x331672(0x22b)](_0x25ab18),_0x237348=document[_0x331672(0x1e6)](_0x331672(0x1d5));return _0x237348[_0x331672(0x224)][_0x331672(0x227)](_0x331672(0x1db)),_0x237348[_0x331672(0x21b)](_0x331672(0x233),_0x331672(0x1d7)),_0x237348[_0x331672(0x21b)](_0x331672(0x1be),_0x331672(0x1d7)),_0x237348[_0x331672(0x1ae)]=_0x152439[_0x331672(0x205)],_0x2ef61a[_0x331672(0x1af)]=_0x331672(0x1ec)+_0x237348[_0x331672(0x21d)]+'⁠',_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1b2),()=>{const _0x499f15=_0x331672;_0x2ef61a[_0x499f15(0x224)][_0x499f15(0x227)](_0x499f15(0x1b7));}),_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1c0),()=>{const _0x4bea14=_0x331672;_0x2ef61a[_0x4bea14(0x224)][_0x4bea14(0x1cc)](_0x4bea14(0x1b7));}),_0x2ef61a;},_0x495f04[_0x5f06e8(0x1c9)]=function(_0x40387c){const _0x26a9e2=_0x5f06e8;return!(!this[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||!_0x40387c[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||this[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba))!=_0x40387c[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba)));},_0x495f04;}(_0x1d107a,_0x4e16b1,_0x238e11);}(_0x50f405,_0x597631,_0x19a118,_0x4d42b0)}),_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x201)]({'model':_0x1227ad(0x1b0),'view':_0x463e87=>function(_0xa6346d,_0x17724d){const _0x34fa08=_0x1227ad,_0x51fcc9=_0xa6346d[_0x34fa08(0x20e)][_0x34fa08(0x203)](':')[0x2];if(_0x51fcc9===_0x17724d[_0x34fa08(0x1bc)])return null;const _0xfff2e3=_0x17724d[_0x34fa08(0x20b)](_0x51fcc9);if(!_0xfff2e3)return{'id':_0x51fcc9,'classes':[]};return{'id':_0x51fcc9,'classes':[_0x34fa08(0x200),_0xfff2e3[_0x34fa08(0x225)][_0x34fa08(0x1e9)]()],'attributes':{'data-session-id':_0x51fcc9},'priority':0x7d0+_0xfff2e3[_0x34fa08(0x232)]};}(_0x463e87,_0x19a118)}),function(_0x28ef6b){const _0x493861=_0x1227ad,_0x570aa0=_0x28ef6b[_0x493861(0x1b5)],_0x38e1d4=new Map(),_0x51904d=_0x28ef6b[_0x493861(0x1f9)][_0x493861(0x1b1)](_0x5d21ec);_0x570aa0[_0x493861(0x230)]['on'](_0x493861(0x21e),(_0x12f364,_0xb97e5e,_0x34664a,_0x408ba8)=>{const _0x3e0255=_0x493861;if(!_0x408ba8&&_0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)]))return _0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)])[_0x3e0255(0x1b4)](),void _0x38e1d4[_0x3e0255(0x1b8)](_0xb97e5e[_0x3e0255(0x205)]);const _0x2e62cf=_0xb97e5e[_0x3e0255(0x205)][_0x3e0255(0x203)](':')[0x2];if(_0x2e62cf===_0x51904d[_0x3e0255(0x1bc)])return;const _0x409ce2=_0x3e0255(0x206)+_0x2e62cf;_0x570aa0[_0x3e0255(0x230)][_0x3e0255(0x1c5)](_0x409ce2)&&_0x28ef6b[_0x3e0255(0x1f1)][_0x3e0255(0x209)](_0x409ce2),_0xb97e5e['on'](_0x3e0255(0x204),(_0x3a2552,_0x4d6571,_0x38c5e9)=>{const _0x1cfaf8=_0x3e0255;if(_0x1cfaf8(0x1e0)!=_0x4d6571[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&_0x1cfaf8(0x1e0)==_0xb97e5e[_0x1cfaf8(0x1f5)]()[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&!_0x38e1d4[_0x1cfaf8(0x1c5)](_0xb97e5e[_0x1cfaf8(0x205)])){const _0x1ff9d1=_0x570aa0[_0x1cfaf8(0x1d1)][_0x1cfaf8(0x1cd)](_0x38c5e9[_0x1cfaf8(0x229)]);if(_0x1ff9d1){const _0x27de0e=_0x43d3c2[_0x1cfaf8(0x213)](_0x1ff9d1);_0x38e1d4[_0x1cfaf8(0x228)](_0xb97e5e[_0x1cfaf8(0x205)],_0x27de0e),_0x27de0e['on'](_0x1cfaf8(0x204),(_0x548d91,_0x2fc64c,_0xdadad8)=>{const _0x3f13d6=_0x1cfaf8;if(_0x3f13d6(0x1e0)==_0x27de0e[_0x3f13d6(0x236)][_0x3f13d6(0x1fe)]){const _0x28652f=_0x570aa0[_0x3f13d6(0x1d1)][_0x3f13d6(0x1cd)](_0xdadad8[_0x3f13d6(0x229)]);_0x28652f?(_0x27de0e[_0x3f13d6(0x226)]=_0x28652f[_0x3f13d6(0x226)],_0x27de0e[_0x3f13d6(0x21c)]=_0x28652f[_0x3f13d6(0x21c)]):(_0x38e1d4[_0x3f13d6(0x1b8)](_0xb97e5e[_0x3f13d6(0x205)]),_0x27de0e[_0x3f13d6(0x1b4)]());}});}}});}),_0x570aa0[_0x493861(0x215)]['on'](_0x493861(0x1cf),()=>{const _0x5ef83c=_0x493861;_0x38e1d4[_0x5ef83c(0x1d2)]>0x0&&_0x570aa0[_0x5ef83c(0x220)]({'isUndoable':!0x1},_0x2703ee=>{const _0x5ac35e=_0x5ef83c;for(const [_0x3f60e1,_0x4e1e87]of _0x38e1d4)_0x5ac35e(0x1e0)==_0x570aa0[_0x5ac35e(0x230)][_0x5ac35e(0x1b1)](_0x3f60e1)[_0x5ac35e(0x1f5)]()[_0x5ac35e(0x236)][_0x5ac35e(0x1fe)]&&(G(_0x3f60e1[_0x5ac35e(0x203)](':')[0x2],_0x4e1e87[_0x5ac35e(0x1ef)](),_0x570aa0,_0x2703ee),_0x4e1e87[_0x5ac35e(0x1b4)]());_0x38e1d4[_0x5ac35e(0x1c7)]();});});}(_0x4d42b0),this[_0x1227ad(0x1f2)][_0x1227ad(0x22a)](_0x337863[_0x1227ad(0x215)],_0x1227ad(0x218),(_0x2c2e66,{key:_0x127e55})=>{const _0xad3504=_0x1227ad;_0xad3504(0x223)===_0x127e55&&function(_0x3f1abc){const _0x4b31ca=_0xad3504;_0x3f1abc[_0x4b31ca(0x1f1)][_0x4b31ca(0x212)][_0x4b31ca(0x1cf)](_0x7d5c5=>{const _0x466abb=_0x4b31ca;for(const _0x421008 of _0x3f1abc[_0x466abb(0x1b5)][_0x466abb(0x230)]){if(!_0x421008[_0x466abb(0x205)][_0x466abb(0x1fc)](_0x466abb(0x20d)))continue;const _0x192c78=_0x3f1abc[_0x466abb(0x1f1)][_0x466abb(0x1e7)][_0x466abb(0x22e)](_0x421008[_0x466abb(0x205)]);if(_0x192c78){for(const _0x2bc986 of _0x192c78)_0x7d5c5[_0x466abb(0x1bd)](_0x466abb(0x1b7),_0x2bc986);}}});}(_0x4d42b0);},{'useCapture':!0x0});}[_0x12fba5(0x1e3)](){const _0x205173=_0x12fba5,_0x225158=this[_0x205173(0x1fd)],_0x3fb48b=_0x225158[_0x205173(0x1f8)][_0x205173(0x1b1)](_0x205173(0x1b3));_0x3fb48b&&_0x225158[_0x205173(0x1b5)]['on'](_0x205173(0x231),(_0x23382f,_0x149202)=>{const _0x40e6ff=_0x205173,_0x589d01=_0x149202[0x0];if(!_0x589d01[_0x40e6ff(0x221)])return;if(_0x40e6ff(0x1c3)!=_0x589d01[_0x40e6ff(0x1ad)]||!_0x589d01[_0x40e6ff(0x205)][_0x40e6ff(0x1fc)](_0x40e6ff(0x1ea)))return;const _0x45c8a8=_0x589d01[_0x40e6ff(0x208)];_0x3fb48b[_0x40e6ff(0x1da)][_0x40e6ff(0x1c5)](_0x45c8a8)&&(_0x589d01[_0x40e6ff(0x1fb)]=_0x589d01[_0x40e6ff(0x1c4)]?_0x225158[_0x40e6ff(0x1b5)][_0x40e6ff(0x216)](_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x226)],_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x21c)]):null);},{'priority':_0x205173(0x1ed)});}[_0x12fba5(0x1dd)](){const _0xf62c05=_0x12fba5;return this[_0xf62c05(0x1f2)][_0xf62c05(0x1d3)](),super[_0xf62c05(0x1dd)]();}[_0x12fba5(0x1f3)](){const _0x141a9c=_0x12fba5,_0x498dac=this[_0x141a9c(0x1fd)],_0xd1baff=_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x215)],_0x559f82=_0x498dac[_0x141a9c(0x1f9)][_0x141a9c(0x1b1)](_0x5d21ec);_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x220)]({'isUndoable':!0x1},_0x2d645c=>{const _0x4358bd=_0x141a9c,_0x28af5d=_0x4358bd(0x1c2)+_0x559f82[_0x4358bd(0x1bc)],_0x1998e0=_0x4358bd(0x206)+_0x559f82[_0x4358bd(0x1bc)],_0x34bde2=_0x498dac[_0x4358bd(0x1b5)][_0x4358bd(0x230)][_0x4358bd(0x1c5)](_0x28af5d);_0x498dac[_0x4358bd(0x1f1)][_0x4358bd(0x212)][_0x4358bd(0x1e4)]?G(_0x559f82[_0x4358bd(0x1bc)],_0xd1baff[_0x4358bd(0x219)][_0x4358bd(0x1c1)](),_0x498dac[_0x4358bd(0x1b5)],_0x2d645c):_0x34bde2&&(_0x2d645c[_0x4358bd(0x210)](_0x28af5d),_0x2d645c[_0x4358bd(0x210)](_0x1998e0));});}}function G(_0x240771,_0x22b6ab,_0x5cc73d,_0x1af846){const _0x2e021f=_0x12fba5,_0x36b506=_0x2e021f(0x1c2)+_0x240771,_0x4f7735=_0x2e021f(0x206)+_0x240771,_0x2fcb00=_0x22b6ab[_0x2e021f(0x234)]();let _0x530f90=_0x22b6ab[_0x2e021f(0x226)];if(_0x2fcb00&&_0x2fcb00['is'](_0x2e021f(0x207),_0x2e021f(0x214))){const _0x18aad3=function(_0x1119c5,_0x48eb94){const _0x48fe0c=_0x2e021f;for(const _0x49c797 of _0x1119c5[_0x48fe0c(0x21f)]())if(_0x48eb94[_0x48fe0c(0x1d1)][_0x48fe0c(0x1c8)](_0x49c797,_0x48fe0c(0x1eb)))return _0x49c797;}(_0x22b6ab,_0x5cc73d);_0x18aad3&&(_0x530f90=_0x18aad3,_0x22b6ab=_0x1af846[_0x2e021f(0x216)](_0x530f90));}const _0x4cd0f0=_0x1af846[_0x2e021f(0x216)](_0x530f90);_0x5cc73d[_0x2e021f(0x230)][_0x2e021f(0x1c5)](_0x36b506)?(_0x1af846[_0x2e021f(0x237)](_0x36b506,{'range':_0x22b6ab}),_0x1af846[_0x2e021f(0x237)](_0x4f7735,{'range':_0x4cd0f0})):(_0x1af846[_0x2e021f(0x211)](_0x36b506,{'range':_0x22b6ab,'usingOperation':!0x0}),_0x1af846[_0x2e021f(0x211)](_0x4f7735,{'range':_0x4cd0f0,'usingOperation':!0x0}));}
23
+ const _0x45b43e=_0x3d0c;(function(_0x547831,_0xadbe2){const _0x1a3e80=_0x3d0c,_0x361a85=_0x547831();while(!![]){try{const _0x1d71d8=parseInt(_0x1a3e80(0xc4))/0x1+parseInt(_0x1a3e80(0xeb))/0x2+-parseInt(_0x1a3e80(0xc0))/0x3+-parseInt(_0x1a3e80(0x88))/0x4+-parseInt(_0x1a3e80(0x8a))/0x5*(parseInt(_0x1a3e80(0xd2))/0x6)+parseInt(_0x1a3e80(0xa6))/0x7+parseInt(_0x1a3e80(0xac))/0x8;if(_0x1d71d8===_0xadbe2)break;else _0x361a85['push'](_0x361a85['shift']());}catch(_0x1a98c1){_0x361a85['push'](_0x361a85['shift']());}}}(_0x4e18,0xd3e0f));import{Plugin as _0x1dc661}from'ckeditor5/src/core.js';import{global as _0x4cd33d,DomEmitterMixin as _0x2e0f01}from'ckeditor5/src/utils.js';function _0x4e18(){const _0x4d63a7=['2681928bCeGns','user:','enqueueChange','oldRange','isOfficialPlugin','tableCell','editor','change','commands','nodeAfter','start','markerToElement','model','createRange','getContainedElement','toRange','_domEmitter','textContent','removeClass','user:range','5174235kpbGkq','userPositionMarker','clear','stopListening','459299yCrCth','markerName','span','mouseleave','selection','mySessionId','parent','mapper','setCustomProperty','$text','removeMarker','UserMarkers','isPremiumPlugin','reconvertMarker','229926cLmdrG','batch','requires','newRange','ck-user__marker-tooltip','document','update:user:range','color','editing','undo','createUserMarkerOperations','pluginName','size','set','deletionPosition','$graveyard','mouseenter','isInline','marker','getMarkerClass','toDomElement','markerRange','contenteditable','data-session-id','rootName','3015560bWaZKg','root','keydown','has','getCustomProperty','_createdBatches','spellcheck','hasContent','change:range','setAttribute','add','isObject','isDocumentOperation','view','markers','getFirstRange','remove','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','conversion','destroy','isLimit','detach','split','getUserBySessionId','highest','isCollapsed','classList','orderNumber','delete','ck-user__marker_hovered','editingDowncast','getStart','end','startsWith','user:position','updateMarker','createUIElement','getSelectionClass','2899300xHhSIv','afterInit','85EOcHkW','ck-user__marker\x20','hasDomSelection','addEventListener','getAttribute','type','user:position:','createElement','schema','markerNameToElements','addMarker','user:range:','innerHTML','for','ck-user__selection','render','name','element','isSimilar','getRange','checkChild','init','applyOperation','plugins','false','getNearestSelectionRange','markerToHighlight','getPositions','11665934DZCOIz','outerHTML','Escape','fromRange','get','listenTo'];_0x4e18=function(){return _0x4d63a7;};return _0x4e18();}import{Sessions as _0x379960}from'./sessions.js';import{ModelLiveRange as _0x1c7809}from'ckeditor5/src/engine.js';function _0x3d0c(_0x38a043,_0x535d95){const _0x4e185b=_0x4e18();return _0x3d0c=function(_0x3d0cf6,_0x43fb6b){_0x3d0cf6=_0x3d0cf6-0x80;let _0x2d8a8b=_0x4e185b[_0x3d0cf6];return _0x2d8a8b;},_0x3d0c(_0x38a043,_0x535d95);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x1dc661{[_0x45b43e(0xbc)]=new(_0x2e0f01())();static get[_0x45b43e(0xd4)](){return[_0x379960];}static get[_0x45b43e(0xdd)](){const _0x3c0246=_0x45b43e;return _0x3c0246(0xcf);}static get[_0x45b43e(0xb0)](){return!0x0;}static get[_0x45b43e(0xd0)](){return!0x0;}[_0x45b43e(0x9f)](){const _0x2b2796=_0x45b43e,_0x2b85fa=this[_0x2b2796(0xb2)],_0x5783d3=_0x2b85fa[_0x2b2796(0xa1)][_0x2b2796(0xaa)](_0x379960);_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xb7)]({'model':_0x2b2796(0x84),'view':(_0x5cfe95,{writer:_0x1b811c})=>function(_0x431e61,_0x32d5bc,_0x10e846,_0xdc5bde){const _0x21cd8a=_0x2b2796,_0xa33d02=_0x431e61[_0x21cd8a(0xc5)][_0x21cd8a(0x101)](':')[0x2],_0x1f7b0b=_0x10e846[_0x21cd8a(0x102)](_0xa33d02);if(!_0x1f7b0b||_0xa33d02===_0x10e846[_0x21cd8a(0xc9)])return;if(!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0x9e)](_0x431e61[_0x21cd8a(0xe7)][_0x21cd8a(0xb6)],_0x21cd8a(0xcd)))return;const _0x4a61ef={'class':_0x21cd8a(0x8b)+_0x1f7b0b[_0x21cd8a(0xd9)][_0x21cd8a(0xe5)](),'data-name':_0x1f7b0b[_0x21cd8a(0x9a)],'data-session-id':_0xa33d02},_0xf89ff4=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x431e61[_0x21cd8a(0xc5)]),_0x59d9ff=_0xf89ff4[_0x21cd8a(0x81)](),_0x5ac3ba=_0x59d9ff[_0x21cd8a(0xb5)],_0x2e749b=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)];if(_0x5ac3ba&&_0x2e749b[_0x21cd8a(0xf6)](_0x5ac3ba)&&_0x2e749b[_0x21cd8a(0xe3)](_0x5ac3ba)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x21cd8a(0x95)+_0xa33d02)[_0x21cd8a(0x9d)]()[_0x21cd8a(0x104)])return;const _0xdcb081=_0x59d9ff[_0x21cd8a(0xca)];return _0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0xff)](_0xdcb081)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf2)](_0xdcb081)&&(_0x4a61ef[_0x21cd8a(0xe8)]=!0x1),function(_0x99d1c5,_0x2c87d0,_0x1436f6){const _0x470f39=_0x21cd8a,_0x4efc1f=_0x99d1c5[_0x470f39(0x86)](_0x470f39(0xc6),_0x2c87d0);return _0x99d1c5[_0x470f39(0xcc)](_0x470f39(0xc1),!0x0,_0x4efc1f),_0x4efc1f[_0x470f39(0x99)]=function(_0x489d99){const _0x2f0e67=_0x470f39,_0x182e0c=this[_0x2f0e67(0xe6)](_0x489d99),_0x18df95=document[_0x2f0e67(0x91)](_0x2f0e67(0xc6));return _0x18df95[_0x2f0e67(0x105)][_0x2f0e67(0xf5)](_0x2f0e67(0xd6)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xe8),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xf1),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xbd)]=_0x1436f6[_0x2f0e67(0x9a)],_0x182e0c[_0x2f0e67(0x96)]=_0x2f0e67(0xfc)+_0x18df95[_0x2f0e67(0xa7)]+'⁠',_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xe2),()=>{const _0x4309ee=_0x2f0e67;_0x182e0c[_0x4309ee(0x105)][_0x4309ee(0xf5)](_0x4309ee(0x108));}),_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xc7),()=>{const _0x5ceaca=_0x2f0e67;_0x182e0c[_0x5ceaca(0x105)][_0x5ceaca(0xfb)](_0x5ceaca(0x108));}),_0x182e0c;},_0x4efc1f[_0x470f39(0x9c)]=function(_0x1ceeee){const _0x566f20=_0x470f39;return!(!this[_0x566f20(0xef)](_0x566f20(0xc1))||!_0x1ceeee[_0x566f20(0xef)](_0x566f20(0xc1))||this[_0x566f20(0x8e)](_0x566f20(0xe9))!=_0x1ceeee[_0x566f20(0x8e)](_0x566f20(0xe9)));},_0x4efc1f;}(_0x32d5bc,_0x4a61ef,_0x1f7b0b);}(_0x5cfe95,_0x1b811c,_0x5783d3,_0x2b85fa)}),_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xa4)]({'model':_0x2b2796(0xbf),'view':_0x3220e8=>function(_0x133080,_0xee595d){const _0x4b5e09=_0x2b2796,_0x26d6ce=_0x133080[_0x4b5e09(0xc5)][_0x4b5e09(0x101)](':')[0x2];if(_0x26d6ce===_0xee595d[_0x4b5e09(0xc9)])return null;const _0x3b7892=_0xee595d[_0x4b5e09(0x102)](_0x26d6ce);if(!_0x3b7892)return{'id':_0x26d6ce,'classes':[]};return{'id':_0x26d6ce,'classes':[_0x4b5e09(0x98),_0x3b7892[_0x4b5e09(0xd9)][_0x4b5e09(0x87)]()],'attributes':{'data-session-id':_0x26d6ce},'priority':0x7d0+_0x3b7892[_0x4b5e09(0x106)]};}(_0x3220e8,_0x5783d3)}),function(_0xb0e7d2){const _0x2fb7b0=_0x2b2796,_0x53757c=_0xb0e7d2[_0x2fb7b0(0xb8)],_0x15d5a2=new Map(),_0x5a7e6e=_0xb0e7d2[_0x2fb7b0(0xa1)][_0x2fb7b0(0xaa)](_0x379960);_0x53757c[_0x2fb7b0(0xf9)]['on'](_0x2fb7b0(0xd8),(_0x3448ed,_0x1d019d,_0x23a397,_0x44adb2)=>{const _0x380f01=_0x2fb7b0;if(!_0x44adb2&&_0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)]))return _0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)])[_0x380f01(0x100)](),void _0x15d5a2[_0x380f01(0x107)](_0x1d019d[_0x380f01(0x9a)]);const _0x5d82cd=_0x1d019d[_0x380f01(0x9a)][_0x380f01(0x101)](':')[0x2];if(_0x5d82cd===_0x5a7e6e[_0x380f01(0xc9)])return;const _0x33d140=_0x380f01(0x90)+_0x5d82cd;_0x53757c[_0x380f01(0xf9)][_0x380f01(0xee)](_0x33d140)&&_0xb0e7d2[_0x380f01(0xda)][_0x380f01(0xd1)](_0x33d140),_0x1d019d['on'](_0x380f01(0xf3),(_0xf5e427,_0xac79a3,_0x3ab2d0)=>{const _0x3feb04=_0x380f01;if(_0x3feb04(0xe1)!=_0xac79a3[_0x3feb04(0xec)][_0x3feb04(0xea)]&&_0x3feb04(0xe1)==_0x1d019d[_0x3feb04(0x9d)]()[_0x3feb04(0xec)][_0x3feb04(0xea)]&&!_0x15d5a2[_0x3feb04(0xee)](_0x1d019d[_0x3feb04(0x9a)])){const _0x4f9b99=_0x53757c[_0x3feb04(0x92)][_0x3feb04(0xa3)](_0x3ab2d0[_0x3feb04(0xe0)]);if(_0x4f9b99){const _0x3034e0=_0x1c7809[_0x3feb04(0xa9)](_0x4f9b99);_0x15d5a2[_0x3feb04(0xdf)](_0x1d019d[_0x3feb04(0x9a)],_0x3034e0),_0x3034e0['on'](_0x3feb04(0xf3),(_0x54db72,_0x2eaeac,_0x5145e1)=>{const _0x21ff6e=_0x3feb04;if(_0x21ff6e(0xe1)==_0x3034e0[_0x21ff6e(0xec)][_0x21ff6e(0xea)]){const _0x4eca8b=_0x53757c[_0x21ff6e(0x92)][_0x21ff6e(0xa3)](_0x5145e1[_0x21ff6e(0xe0)]);_0x4eca8b?(_0x3034e0[_0x21ff6e(0xb6)]=_0x4eca8b[_0x21ff6e(0xb6)],_0x3034e0[_0x21ff6e(0x82)]=_0x4eca8b[_0x21ff6e(0x82)]):(_0x15d5a2[_0x21ff6e(0x107)](_0x1d019d[_0x21ff6e(0x9a)]),_0x3034e0[_0x21ff6e(0x100)]());}});}}});}),_0x53757c[_0x2fb7b0(0xd7)]['on'](_0x2fb7b0(0xb3),()=>{const _0xfc6b8e=_0x2fb7b0;_0x15d5a2[_0xfc6b8e(0xde)]>0x0&&_0x53757c[_0xfc6b8e(0xae)]({'isUndoable':!0x1},_0x17cf35=>{const _0x8f1f59=_0xfc6b8e;for(const [_0x5b4da1,_0x287039]of _0x15d5a2)_0x8f1f59(0xe1)==_0x53757c[_0x8f1f59(0xf9)][_0x8f1f59(0xaa)](_0x5b4da1)[_0x8f1f59(0x9d)]()[_0x8f1f59(0xec)][_0x8f1f59(0xea)]&&(te(_0x5b4da1[_0x8f1f59(0x101)](':')[0x2],_0x287039[_0x8f1f59(0xbb)](),_0x53757c,_0x17cf35),_0x287039[_0x8f1f59(0x100)]());_0x15d5a2[_0x8f1f59(0xc2)]();});});}(_0x2b85fa),this[_0x2b2796(0xbc)][_0x2b2796(0xab)](_0x4cd33d[_0x2b2796(0xd7)],_0x2b2796(0xed),(_0x413208,{key:_0x131ca2})=>{const _0x5a79a4=_0x2b2796;_0x5a79a4(0xa8)===_0x131ca2&&function(_0x1ad148){const _0xfec328=_0x5a79a4;_0x1ad148[_0xfec328(0xda)][_0xfec328(0xf8)][_0xfec328(0xb3)](_0x1b7933=>{const _0x5b3cb1=_0xfec328;for(const _0x4c32e2 of _0x1ad148[_0x5b3cb1(0xb8)][_0x5b3cb1(0xf9)]){if(!_0x4c32e2[_0x5b3cb1(0x9a)][_0x5b3cb1(0x83)](_0x5b3cb1(0x84)))continue;const _0x4b1ca7=_0x1ad148[_0x5b3cb1(0xda)][_0x5b3cb1(0xcb)][_0x5b3cb1(0x93)](_0x4c32e2[_0x5b3cb1(0x9a)]);if(_0x4b1ca7){for(const _0x3a5e44 of _0x4b1ca7)_0x1b7933[_0x5b3cb1(0xbe)](_0x5b3cb1(0x108),_0x3a5e44);}}});}(_0x2b85fa);},{'useCapture':!0x0});}[_0x45b43e(0x89)](){const _0x22d6f9=_0x45b43e,_0x3463fb=this[_0x22d6f9(0xb2)],_0xcead9f=_0x3463fb[_0x22d6f9(0xb4)][_0x22d6f9(0xaa)](_0x22d6f9(0xdb));_0xcead9f&&_0x3463fb[_0x22d6f9(0xb8)]['on'](_0x22d6f9(0xa0),(_0x583026,_0x3b7ad4)=>{const _0x115b07=_0x22d6f9,_0x14f3ce=_0x3b7ad4[0x0];if(!_0x14f3ce[_0x115b07(0xf7)])return;if(_0x115b07(0xe4)!=_0x14f3ce[_0x115b07(0x8f)]||!_0x14f3ce[_0x115b07(0x9a)][_0x115b07(0x83)](_0x115b07(0xad)))return;const _0x8606fb=_0x14f3ce[_0x115b07(0xd3)];_0xcead9f[_0x115b07(0xf0)][_0x115b07(0xee)](_0x8606fb)&&(_0x14f3ce[_0x115b07(0xd5)]=_0x14f3ce[_0x115b07(0xaf)]?_0x3463fb[_0x115b07(0xb8)][_0x115b07(0xb9)](_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0xb6)],_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0x82)]):null);},{'priority':_0x22d6f9(0x103)});}[_0x45b43e(0xfe)](){const _0x12f748=_0x45b43e;return this[_0x12f748(0xbc)][_0x12f748(0xc3)](),super[_0x12f748(0xfe)]();}[_0x45b43e(0xdc)](){const _0x2f2c21=_0x45b43e,_0x2e0d29=this[_0x2f2c21(0xb2)],_0x42d88e=_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xd7)],_0x1ea8c1=_0x2e0d29[_0x2f2c21(0xa1)][_0x2f2c21(0xaa)](_0x379960);_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xae)]({'isUndoable':!0x1},_0x2fc6ba=>{const _0xa4c15b=_0x2f2c21,_0x341986=_0xa4c15b(0x95)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x2b14ef=_0xa4c15b(0x90)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x4f7a2b=_0x2e0d29[_0xa4c15b(0xb8)][_0xa4c15b(0xf9)][_0xa4c15b(0xee)](_0x341986);_0x2e0d29[_0xa4c15b(0xda)][_0xa4c15b(0xf8)][_0xa4c15b(0x8c)]?te(_0x1ea8c1[_0xa4c15b(0xc9)],_0x42d88e[_0xa4c15b(0xc8)][_0xa4c15b(0xfa)](),_0x2e0d29[_0xa4c15b(0xb8)],_0x2fc6ba):_0x4f7a2b&&(_0x2fc6ba[_0xa4c15b(0xce)](_0x341986),_0x2fc6ba[_0xa4c15b(0xce)](_0x2b14ef));});}}function te(_0x518ab1,_0x5d97fb,_0x3aa7a8,_0xcfc921){const _0x213bee=_0x45b43e,_0x46951c=_0x213bee(0x95)+_0x518ab1,_0x13fef4=_0x213bee(0x90)+_0x518ab1,_0x24106c=_0x5d97fb[_0x213bee(0xba)]();let _0x11d903=_0x5d97fb[_0x213bee(0xb6)];if(_0x24106c&&_0x24106c['is'](_0x213bee(0x9b),_0x213bee(0xb1))){const _0xa53973=function(_0x45e44a,_0x2db8d7){const _0x189067=_0x213bee;for(const _0x27da9b of _0x45e44a[_0x189067(0xa5)]())if(_0x2db8d7[_0x189067(0x92)][_0x189067(0x9e)](_0x27da9b,_0x189067(0xcd)))return _0x27da9b;}(_0x5d97fb,_0x3aa7a8);_0xa53973&&(_0x11d903=_0xa53973,_0x5d97fb=_0xcfc921[_0x213bee(0xb9)](_0x11d903));}const _0x5ab1b9=_0xcfc921[_0x213bee(0xb9)](_0x11d903);_0x3aa7a8[_0x213bee(0xf9)][_0x213bee(0xee)](_0x46951c)?(_0xcfc921[_0x213bee(0x85)](_0x46951c,{'range':_0x5d97fb}),_0xcfc921[_0x213bee(0x85)](_0x13fef4,{'range':_0x5ab1b9})):(_0xcfc921[_0x213bee(0x94)](_0x46951c,{'range':_0x5d97fb,'usingOperation':!0x0}),_0xcfc921[_0x213bee(0x94)](_0x13fef4,{'range':_0x5ab1b9,'usingOperation':!0x0}));}