@ckeditor/ckeditor5-real-time-collaboration 47.7.1 → 47.7.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +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 +15 -15
  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 _0x1f5e38=_0x352d;(function(_0x167326,_0x5c9b4c){const _0x157873=_0x352d,_0xc56934=_0x167326();while(!![]){try{const _0x21101f=parseInt(_0x157873(0x175))/0x1+-parseInt(_0x157873(0x18e))/0x2*(-parseInt(_0x157873(0x183))/0x3)+parseInt(_0x157873(0x181))/0x4*(parseInt(_0x157873(0x189))/0x5)+parseInt(_0x157873(0x178))/0x6*(parseInt(_0x157873(0x18d))/0x7)+-parseInt(_0x157873(0x17b))/0x8+parseInt(_0x157873(0x185))/0x9*(-parseInt(_0x157873(0x180))/0xa)+-parseInt(_0x157873(0x198))/0xb;if(_0x21101f===_0x5c9b4c)break;else _0xc56934['push'](_0xc56934['shift']());}catch(_0x27780f){_0xc56934['push'](_0xc56934['shift']());}}}(_0x1c16,0x33785));function _0x352d(_0x1c4248,_0x5ee144){const _0x1c16cc=_0x1c16();return _0x352d=function(_0x352d72,_0x5ab310){_0x352d72=_0x352d72-0x172;let _0x23cdd7=_0x1c16cc[_0x352d72];return _0x23cdd7;},_0x352d(_0x1c4248,_0x5ee144);}import{View as _0x3d0aad}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1d9422}from'ckeditor5/src/utils.js';import{getTranslation as _0x834d29}from'../../common-translations.js';export class PresenceInlineListView extends _0x3d0aad{[_0x1f5e38(0x18f)];[_0x1f5e38(0x192)];constructor(_0x362cf2){const _0x1aa7ab=_0x1f5e38;super(_0x362cf2);const _0x53a05b=this[_0x1aa7ab(0x193)];this[_0x1aa7ab(0x18f)]=this[_0x1aa7ab(0x17a)](),this[_0x1aa7ab(0x192)]=new _0x1d9422(),this[_0x1aa7ab(0x17d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1aa7ab(0x174)]({'tag':_0x1aa7ab(0x18b),'attributes':{'aria-haspopup':_0x53a05b['if'](_0x1aa7ab(0x191)),'aria-expanded':_0x53a05b['to'](_0x1aa7ab(0x182),_0x175c47=>this[_0x1aa7ab(0x191)]&&String(_0x175c47)),'aria-label':_0x53a05b['to'](_0x1aa7ab(0x191),_0x20a295=>_0x834d29(_0x362cf2,_0x20a295?_0x1aa7ab(0x177):_0x1aa7ab(0x18c))),'role':_0x1aa7ab(0x184),'tabindex':_0x53a05b['to'](_0x1aa7ab(0x191),_0x35d819=>!!_0x35d819&&0x0),'class':['ck',_0x1aa7ab(0x172)]},'children':this[_0x1aa7ab(0x18f)],'on':{'mouseenter':_0x53a05b['to'](()=>this[_0x1aa7ab(0x188)](_0x1aa7ab(0x187))),'mouseleave':_0x53a05b['to'](_0x41f771=>{const _0x5462b0=_0x1aa7ab,_0x265866=_0x41f771,_0x4743e7=document[_0x5462b0(0x196)](_0x5462b0(0x190)),_0x5ca9e5=document[_0x5462b0(0x196)](_0x5462b0(0x17f));_0x4743e7?.[_0x5462b0(0x195)](_0x265866[_0x5462b0(0x179)])||_0x5ca9e5?.[_0x5462b0(0x195)](_0x265866[_0x5462b0(0x179)])||this[_0x5462b0(0x188)](_0x5462b0(0x176));})}}),this['on'](_0x1aa7ab(0x17e),(_0x1ee73d,_0x5e2c92,_0x3adf2f)=>{const _0xc2c816=_0x1aa7ab;this[_0xc2c816(0x194)]&&(_0x3adf2f?this[_0xc2c816(0x194)][_0xc2c816(0x18a)](_0xc2c816(0x197),String(this[_0xc2c816(0x182)])):this[_0xc2c816(0x194)][_0xc2c816(0x186)](_0xc2c816(0x197)));});}[_0x1f5e38(0x199)](){const _0x56159d=_0x1f5e38;this[_0x56159d(0x194)][_0x56159d(0x199)]();}[_0x1f5e38(0x17c)](){const _0x4187df=_0x1f5e38;super[_0x4187df(0x17c)](),this[_0x4187df(0x192)][_0x4187df(0x173)](this[_0x4187df(0x194)]);}}function _0x1c16(){const _0x3eaca9=['querySelector','aria-expanded','4998180JNYPTd','focus','ck-presence-list__list','listenTo','setTemplate','201256oWKKIx','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','36esbZBb','relatedTarget','createCollection','2303784MmICtP','render','set','change:hasPopup','.ck-balloon-panel_with-arrow','10WqtILD','69796yipEQI','isExpanded','12NhQkwe','list','1841247IxXaab','removeAttribute','presencelist:show','fire','95yOjtpW','setAttribute','div','Connected\x20users\x20list','312067QaYWyg','178742oGCvCw','items','.ck-presence-list__dropdown-list','hasPopup','keystrokes','bindTemplate','element','contains'];_0x1c16=function(){return _0x3eaca9;};return _0x1c16();}
23
+ const _0xd47e2d=_0x2ea7;function _0x2ea7(_0x1a9bbe,_0x70d22d){const _0x33f214=_0x33f2();return _0x2ea7=function(_0x2ea7cd,_0x24399d){_0x2ea7cd=_0x2ea7cd-0x16a;let _0x1ce4dd=_0x33f214[_0x2ea7cd];return _0x1ce4dd;},_0x2ea7(_0x1a9bbe,_0x70d22d);}(function(_0x108fa5,_0x3bdf6d){const _0x207fd7=_0x2ea7,_0x3e5661=_0x108fa5();while(!![]){try{const _0x1c3dad=parseInt(_0x207fd7(0x16d))/0x1*(parseInt(_0x207fd7(0x18a))/0x2)+parseInt(_0x207fd7(0x17a))/0x3*(-parseInt(_0x207fd7(0x183))/0x4)+-parseInt(_0x207fd7(0x18c))/0x5*(-parseInt(_0x207fd7(0x17d))/0x6)+-parseInt(_0x207fd7(0x184))/0x7*(-parseInt(_0x207fd7(0x18e))/0x8)+-parseInt(_0x207fd7(0x188))/0x9*(parseInt(_0x207fd7(0x177))/0xa)+-parseInt(_0x207fd7(0x17f))/0xb+parseInt(_0x207fd7(0x182))/0xc;if(_0x1c3dad===_0x3bdf6d)break;else _0x3e5661['push'](_0x3e5661['shift']());}catch(_0x582118){_0x3e5661['push'](_0x3e5661['shift']());}}}(_0x33f2,0xb3b61));import{View as _0x463b9a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x55c69d}from'ckeditor5/src/utils.js';import{getTranslation as _0x273d1e}from'../../common-translations.js';export class PresenceInlineListView extends _0x463b9a{[_0xd47e2d(0x174)];[_0xd47e2d(0x17b)];constructor(_0x485c88){const _0x3edc3d=_0xd47e2d;super(_0x485c88);const _0xa6562=this[_0x3edc3d(0x18f)];this[_0x3edc3d(0x174)]=this[_0x3edc3d(0x16e)](),this[_0x3edc3d(0x17b)]=new _0x55c69d(),this[_0x3edc3d(0x16c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3edc3d(0x175)]({'tag':_0x3edc3d(0x172),'attributes':{'aria-haspopup':_0xa6562['if'](_0x3edc3d(0x189)),'aria-expanded':_0xa6562['to'](_0x3edc3d(0x176),_0x1648e0=>this[_0x3edc3d(0x189)]&&String(_0x1648e0)),'aria-label':_0xa6562['to'](_0x3edc3d(0x189),_0x41b4ac=>_0x273d1e(_0x485c88,_0x41b4ac?_0x3edc3d(0x170):_0x3edc3d(0x173))),'role':_0x3edc3d(0x192),'tabindex':_0xa6562['to'](_0x3edc3d(0x189),_0xad4fd9=>!!_0xad4fd9&&0x0),'class':['ck',_0x3edc3d(0x17c)]},'children':this[_0x3edc3d(0x174)],'on':{'mouseenter':_0xa6562['to'](()=>this[_0x3edc3d(0x180)](_0x3edc3d(0x18d))),'mouseleave':_0xa6562['to'](_0x212ed6=>{const _0x4e2149=_0x3edc3d,_0x100bfe=_0x212ed6,_0x54d506=document[_0x4e2149(0x171)](_0x4e2149(0x17e)),_0x3a93cf=document[_0x4e2149(0x171)](_0x4e2149(0x185));_0x54d506?.[_0x4e2149(0x18b)](_0x100bfe[_0x4e2149(0x16a)])||_0x3a93cf?.[_0x4e2149(0x18b)](_0x100bfe[_0x4e2149(0x16a)])||this[_0x4e2149(0x180)](_0x4e2149(0x16f));})}}),this['on'](_0x3edc3d(0x16b),(_0x11af6a,_0x3116d4,_0x163284)=>{const _0x1c32e2=_0x3edc3d;this[_0x1c32e2(0x179)]&&(_0x163284?this[_0x1c32e2(0x179)][_0x1c32e2(0x190)](_0x1c32e2(0x186),String(this[_0x1c32e2(0x176)])):this[_0x1c32e2(0x179)][_0x1c32e2(0x191)](_0x1c32e2(0x186)));});}[_0xd47e2d(0x178)](){const _0x591352=_0xd47e2d;this[_0x591352(0x179)][_0x591352(0x178)]();}[_0xd47e2d(0x187)](){const _0x48cc81=_0xd47e2d;super[_0x48cc81(0x187)](),this[_0x48cc81(0x17b)][_0x48cc81(0x181)](this[_0x48cc81(0x179)]);}}function _0x33f2(){const _0x1f43c4=['10mDNdfy','focus','element','63186EwSOFv','keystrokes','ck-presence-list__list','4356294wUKzzr','.ck-presence-list__dropdown-list','1491567sTKcBX','fire','listenTo','330204fgEhoG','52TNrWTQ','2261dnzFCv','.ck-balloon-panel_with-arrow','aria-expanded','render','9186552eeywMM','hasPopup','2fxbjjh','contains','5zkCslB','presencelist:show','31144gPPeqx','bindTemplate','setAttribute','removeAttribute','list','relatedTarget','change:hasPopup','set','155223EmVmjn','createCollection','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','div','Connected\x20users\x20list','items','setTemplate','isExpanded'];_0x33f2=function(){return _0x1f43c4;};return _0x33f2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x197b8e=_0x1d1b;function _0x1d1b(_0x4acd93,_0x44f2f2){const _0x5a60b9=_0x5a60();return _0x1d1b=function(_0x1d1b38,_0xadaa62){_0x1d1b38=_0x1d1b38-0x1b0;let _0x461e5c=_0x5a60b9[_0x1d1b38];return _0x461e5c;},_0x1d1b(_0x4acd93,_0x44f2f2);}(function(_0x5b40cb,_0x3a8629){const _0x4eb181=_0x1d1b,_0x2b921c=_0x5b40cb();while(!![]){try{const _0x119d41=parseInt(_0x4eb181(0x1bb))/0x1+parseInt(_0x4eb181(0x1b3))/0x2*(parseInt(_0x4eb181(0x1bc))/0x3)+-parseInt(_0x4eb181(0x1b1))/0x4*(parseInt(_0x4eb181(0x1ba))/0x5)+-parseInt(_0x4eb181(0x1c8))/0x6+-parseInt(_0x4eb181(0x1b7))/0x7*(parseInt(_0x4eb181(0x1bd))/0x8)+-parseInt(_0x4eb181(0x1ca))/0x9*(parseInt(_0x4eb181(0x1c0))/0xa)+parseInt(_0x4eb181(0x1b4))/0xb*(parseInt(_0x4eb181(0x1ce))/0xc);if(_0x119d41===_0x3a8629)break;else _0x2b921c['push'](_0x2b921c['shift']());}catch(_0x108770){_0x2b921c['push'](_0x2b921c['shift']());}}}(_0x5a60,0x6229f));import{View as _0x26e859}from'ckeditor5/src/ui.js';function _0x5a60(){const _0x11c116=['12sPkEwM','tooltipPosition','205584pOZmwm','bindTemplate','795464jLWwzY','14569577qScvMw','ck-reset','bind','1087226RfUQGZ','change','locale','10XygzRR','747285DQvysj','3mafOLX','24aBtiEP','counterView','items','3971420BjHkYB','ck-presence-list','set','div','inlineListView','listenTo','setTemplate','ck-presence-list--collapsed','4226490GkWgpn','ck-rounded-corners','18gEHSJc','hasPopup','isCollapsed','first'];_0x5a60=function(){return _0x11c116;};return _0x5a60();}import{PresenceCounterView as _0x51827d}from'./presencecounterview.js';import{PresenceInlineListView as _0x3a3fe4}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x26e859{[_0x197b8e(0x1be)];[_0x197b8e(0x1c4)];constructor(_0x335979,_0x57d9b0=0x6){const _0x76909a=_0x197b8e;super(_0x335979);const _0x5623c0=this[_0x76909a(0x1b2)];this[_0x76909a(0x1c2)](_0x76909a(0x1cc),!0x0),this[_0x76909a(0x1be)]=new _0x51827d(this[_0x76909a(0x1b9)],_0x57d9b0),this[_0x76909a(0x1c4)]=new _0x3a3fe4(_0x335979),this[_0x76909a(0x1c4)][_0x76909a(0x1b6)](_0x76909a(0x1cb))['to'](this,_0x76909a(0x1cc)),this[_0x76909a(0x1c5)](this[_0x76909a(0x1c4)][_0x76909a(0x1bf)],_0x76909a(0x1b8),()=>{const _0x39a0a0=_0x76909a;for(const _0x702ba8 of this[_0x39a0a0(0x1c4)][_0x39a0a0(0x1bf)])_0x702ba8[_0x39a0a0(0x1b0)]='s';this[_0x39a0a0(0x1c4)][_0x39a0a0(0x1bf)][_0x39a0a0(0x1cd)]&&(this[_0x39a0a0(0x1c4)][_0x39a0a0(0x1bf)][_0x39a0a0(0x1cd)][_0x39a0a0(0x1b0)]='se');}),this[_0x76909a(0x1c6)]({'tag':_0x76909a(0x1c3),'attributes':{'class':['ck',_0x76909a(0x1c1),_0x76909a(0x1b5),_0x76909a(0x1c9),_0x5623c0['if'](_0x76909a(0x1cc),_0x76909a(0x1c7))]},'children':[this[_0x76909a(0x1c4)]]});}}
23
+ const _0x4f0761=_0x21d9;(function(_0x560ce9,_0x13d2bf){const _0x34e177=_0x21d9,_0x4e5f7d=_0x560ce9();while(!![]){try{const _0x3d819a=parseInt(_0x34e177(0xbf))/0x1*(parseInt(_0x34e177(0xc2))/0x2)+parseInt(_0x34e177(0xbc))/0x3*(-parseInt(_0x34e177(0xae))/0x4)+-parseInt(_0x34e177(0xc1))/0x5*(-parseInt(_0x34e177(0xbb))/0x6)+parseInt(_0x34e177(0xad))/0x7*(parseInt(_0x34e177(0xc7))/0x8)+-parseInt(_0x34e177(0xb6))/0x9*(parseInt(_0x34e177(0xac))/0xa)+-parseInt(_0x34e177(0xc8))/0xb+parseInt(_0x34e177(0xba))/0xc;if(_0x3d819a===_0x13d2bf)break;else _0x4e5f7d['push'](_0x4e5f7d['shift']());}catch(_0x1cbc2b){_0x4e5f7d['push'](_0x4e5f7d['shift']());}}}(_0x2766,0x33dc2));import{View as _0x57fe4e}from'ckeditor5/src/ui.js';function _0x21d9(_0x36dbec,_0x1bdf99){const _0x2766a2=_0x2766();return _0x21d9=function(_0x21d987,_0x208eda){_0x21d987=_0x21d987-0xab;let _0x3fcba8=_0x2766a2[_0x21d987];return _0x3fcba8;},_0x21d9(_0x36dbec,_0x1bdf99);}import{PresenceCounterView as _0x2dffab}from'./presencecounterview.js';function _0x2766(){const _0x104a58=['2705208vlwIyZ','6OiPzQB','372990HHYPis','ck-presence-list--collapsed','tooltipPosition','6jpKYTb','bindTemplate','1826740LHzwwm','6056vaGrTE','ck-reset','setTemplate','set','ck-rounded-corners','277656XMhGGt','4610210ZVfffu','counterView','hasPopup','266270JOAFKi','35ibqUuG','4JRmQPy','locale','div','listenTo','isCollapsed','items','ck-presence-list','inlineListView','9flRKbk','change','first','bind'];_0x2766=function(){return _0x104a58;};return _0x2766();}import{PresenceInlineListView as _0x2c4b0e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x57fe4e{[_0x4f0761(0xc9)];[_0x4f0761(0xb5)];constructor(_0x229a12,_0x117103=0x6){const _0x3f4694=_0x4f0761;super(_0x229a12);const _0x4fd5db=this[_0x3f4694(0xc0)];this[_0x3f4694(0xc5)](_0x3f4694(0xb2),!0x0),this[_0x3f4694(0xc9)]=new _0x2dffab(this[_0x3f4694(0xaf)],_0x117103),this[_0x3f4694(0xb5)]=new _0x2c4b0e(_0x229a12),this[_0x3f4694(0xb5)][_0x3f4694(0xb9)](_0x3f4694(0xab))['to'](this,_0x3f4694(0xb2)),this[_0x3f4694(0xb1)](this[_0x3f4694(0xb5)][_0x3f4694(0xb3)],_0x3f4694(0xb7),()=>{const _0xff5fa9=_0x3f4694;for(const _0x507dd2 of this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)])_0x507dd2[_0xff5fa9(0xbe)]='s';this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)][_0xff5fa9(0xb8)]&&(this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)][_0xff5fa9(0xb8)][_0xff5fa9(0xbe)]='se');}),this[_0x3f4694(0xc4)]({'tag':_0x3f4694(0xb0),'attributes':{'class':['ck',_0x3f4694(0xb4),_0x3f4694(0xc3),_0x3f4694(0xc6),_0x4fd5db['if'](_0x3f4694(0xb2),_0x3f4694(0xbd))]},'children':[this[_0x3f4694(0xb5)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ce99f=_0xf0bf;function _0xf0bf(_0x2366aa,_0x43c080){var _0x54760a=_0x5476();return _0xf0bf=function(_0xf0bf1e,_0xe1a9e2){_0xf0bf1e=_0xf0bf1e-0x1a3;var _0x5d8628=_0x54760a[_0xf0bf1e];return _0x5d8628;},_0xf0bf(_0x2366aa,_0x43c080);}(function(_0x1ed184,_0x8a9faf){var _0x5ede53=_0xf0bf,_0x667071=_0x1ed184();while(!![]){try{var _0x476a13=-parseInt(_0x5ede53(0x1aa))/0x1*(-parseInt(_0x5ede53(0x1a3))/0x2)+parseInt(_0x5ede53(0x1af))/0x3+-parseInt(_0x5ede53(0x1a9))/0x4*(parseInt(_0x5ede53(0x1a4))/0x5)+parseInt(_0x5ede53(0x1b0))/0x6+parseInt(_0x5ede53(0x1a5))/0x7+-parseInt(_0x5ede53(0x1a6))/0x8+parseInt(_0x5ede53(0x1a8))/0x9;if(_0x476a13===_0x8a9faf)break;else _0x667071['push'](_0x667071['shift']());}catch(_0x711f04){_0x667071['push'](_0x667071['shift']());}}}(_0x5476,0x733c4));import{ContextPlugin as _0x17685e}from'ckeditor5/src/core.js';function _0x5476(){var _0x4c2ef4=['PresenceList','751662TVledw','71670mjMSjE','6088vXioju','10430aXwVRk','571207iYOsCk','4550976vPnAOa','isOfficialPlugin','9478998XJrmap','1740fWjXas','181fHKBwQ','requires','isPremiumPlugin','pluginName'];_0x5476=function(){return _0x4c2ef4;};return _0x5476();}import{Sessions as _0x5262fe}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x32a7eb}from'./presencelist/presencelistui.js';export class PresenceList extends _0x17685e{static get[_0x5ce99f(0x1ab)](){return[_0x5262fe,_0x32a7eb];}static get[_0x5ce99f(0x1ad)](){var _0x326a4c=_0x5ce99f;return _0x326a4c(0x1ae);}static get[_0x5ce99f(0x1a7)](){return!0x0;}static get[_0x5ce99f(0x1ac)](){return!0x0;}}
23
+ function _0x12e2(_0x6b6852,_0x2825f0){var _0x22c7b0=_0x22c7();return _0x12e2=function(_0x12e2ae,_0x3d81ca){_0x12e2ae=_0x12e2ae-0xeb;var _0x24e9e7=_0x22c7b0[_0x12e2ae];return _0x24e9e7;},_0x12e2(_0x6b6852,_0x2825f0);}var _0x15bd27=_0x12e2;(function(_0x22918a,_0x5bf369){var _0xdce91c=_0x12e2,_0x5842a4=_0x22918a();while(!![]){try{var _0x259b61=-parseInt(_0xdce91c(0xf3))/0x1*(parseInt(_0xdce91c(0xf1))/0x2)+-parseInt(_0xdce91c(0xef))/0x3+-parseInt(_0xdce91c(0xf5))/0x4+-parseInt(_0xdce91c(0xf4))/0x5*(-parseInt(_0xdce91c(0xf7))/0x6)+parseInt(_0xdce91c(0xf0))/0x7*(parseInt(_0xdce91c(0xf2))/0x8)+parseInt(_0xdce91c(0xeb))/0x9+-parseInt(_0xdce91c(0xf8))/0xa*(-parseInt(_0xdce91c(0xee))/0xb);if(_0x259b61===_0x5bf369)break;else _0x5842a4['push'](_0x5842a4['shift']());}catch(_0x10f606){_0x5842a4['push'](_0x5842a4['shift']());}}}(_0x22c7,0x19446));import{ContextPlugin as _0x47583f}from'ckeditor5/src/core.js';import{Sessions as _0x2a757d}from'./realtimecollaborativeediting/sessions.js';function _0x22c7(){var _0x59e8ce=['pluginName','858BzROvo','550872VYmOOD','245xVocot','149922cJPmyO','15736thRhNF','1lszDGO','3080IxTDAI','436340ITgFyT','PresenceList','984DflfqX','33590smXiUI','requires','isPremiumPlugin','353637nnzjnL','isOfficialPlugin'];_0x22c7=function(){return _0x59e8ce;};return _0x22c7();}import{PresenceListUI as _0x4914fb}from'./presencelist/presencelistui.js';export class PresenceList extends _0x47583f{static get[_0x15bd27(0xf9)](){return[_0x2a757d,_0x4914fb];}static get[_0x15bd27(0xed)](){var _0xc3a5fa=_0x15bd27;return _0xc3a5fa(0xf6);}static get[_0x15bd27(0xec)](){return!0x0;}static get[_0x15bd27(0xfa)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x217925=_0x23ae;(function(_0x6ed756,_0x25e45b){const _0x24bf61=_0x23ae,_0x1ec106=_0x6ed756();while(!![]){try{const _0x39f1c9=-parseInt(_0x24bf61(0x1ee))/0x1+-parseInt(_0x24bf61(0x237))/0x2*(parseInt(_0x24bf61(0x209))/0x3)+parseInt(_0x24bf61(0x235))/0x4+parseInt(_0x24bf61(0x1f9))/0x5*(parseInt(_0x24bf61(0x20b))/0x6)+-parseInt(_0x24bf61(0x1dc))/0x7*(parseInt(_0x24bf61(0x23b))/0x8)+parseInt(_0x24bf61(0x22f))/0x9+parseInt(_0x24bf61(0x216))/0xa;if(_0x39f1c9===_0x25e45b)break;else _0x1ec106['push'](_0x1ec106['shift']());}catch(_0x45b744){_0x1ec106['push'](_0x1ec106['shift']());}}}(_0x3047,0xe080e));import{Context as _0x3039f5,ContextPlugin as _0x55b824}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b20df}from'ckeditor5/src/utils.js';function _0x23ae(_0x4e5e08,_0x514f8e){const _0x3047d2=_0x3047();return _0x23ae=function(_0x23ae72,_0x4ea0e2){_0x23ae72=_0x23ae72-0x1d6;let _0x4e3f0e=_0x3047d2[_0x23ae72];return _0x4e3f0e;},_0x23ae(_0x4e5e08,_0x514f8e);}import{Users as _0x34c853}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x32a65c,User as _0x1c544f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x209f47}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x46038d}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x55b824{static [_0x217925(0x227)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x32a65c)());[_0x217925(0x205)];static get[_0x217925(0x222)](){const _0x187c10=_0x217925;return[_0x209f47,_0x187c10(0x223),_0x46038d,_0x34c853];}static get[_0x217925(0x210)](){const _0x10c562=_0x217925;return _0x10c562(0x226);}static get[_0x217925(0x1f1)](){return!0x0;}static get[_0x217925(0x1f3)](){return!0x0;}constructor(_0x5c578b){const _0x10b2ff=_0x217925;super(_0x5c578b),this[_0x10b2ff(0x205)]=new Map();}async[_0x217925(0x20a)](){const _0x505a4f=_0x217925,_0xc00547=this[_0x505a4f(0x203)],_0x36f4e1=_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x505a4f(0x223));if(_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x209f47)[_0x505a4f(0x1d6)](this),_0x36f4e1[_0x505a4f(0x213)]={'addCommentThread':async({channelId:_0x1230d8,threadId:_0x531fcd,comments:_0xc08aab,resolvedAt:_0x20b749,resolvedBy:_0x4c3edd,context:_0x5c8184,attributes:_0x2c7640})=>{const _0x56d801=_0x505a4f,_0x64a557=await this[_0x56d801(0x21b)](_0x1230d8)[_0x56d801(0x23a)]({'commentThreadId':_0x531fcd,'comments':_0xc08aab[_0x56d801(0x221)](_0x27a7bf=>function(_0x1eb3e8,_0x101ebf,_0x573c3d){const _0x1c0ee0=_0x56d801;return{'commentThreadId':_0x573c3d,'commentId':_0x1eb3e8[_0x1c0ee0(0x1e6)],'userId':_0x1eb3e8[_0x1c0ee0(0x1f2)],'content':_0x1eb3e8[_0x1c0ee0(0x21d)],'documentId':_0x101ebf,'createdAt':_0x1eb3e8[_0x1c0ee0(0x1ed)],'attributes':_0x1eb3e8[_0x1c0ee0(0x204)]||{}};}(_0x27a7bf,_0x1230d8,_0x531fcd)),'resolvedAt':_0x20b749,'resolvedBy':_0x4c3edd,'context':_0x5c8184,'attributes':_0x2c7640})[_0x56d801(0x229)](k);return{'threadId':_0x64a557[_0x56d801(0x233)],'comments':_0x64a557[_0x56d801(0x20d)]};},'getCommentThread':async({channelId:_0x4bf6a2,threadId:_0x39011b})=>{const _0x1b97d2=_0x505a4f,_0x334133=await this[_0x1b97d2(0x21b)](_0x4bf6a2)[_0x1b97d2(0x217)](_0x39011b)[_0x1b97d2(0x229)](F)[_0x1b97d2(0x229)](k);return _0x334133?_0x334133[_0x1b97d2(0x1ea)]?null:(await this[_0x1b97d2(0x1e8)]([_0x334133]),{'threadId':_0x334133[_0x1b97d2(0x233)],'comments':_0x334133[_0x1b97d2(0x20d)][_0x1b97d2(0x221)](S),'context':_0x334133[_0x1b97d2(0x203)],'resolvedAt':_0x334133[_0x1b97d2(0x206)],'resolvedBy':_0x334133[_0x1b97d2(0x1e4)],'attributes':_0x334133[_0x1b97d2(0x204)]||{}}):null;},'updateCommentThread':async({channelId:_0x1b408a,threadId:_0x557786,context:_0x226584,unlinkedAt:_0x175da1,attributes:_0x4308ec})=>this[_0x505a4f(0x21b)](_0x1b408a)[_0x505a4f(0x1dd)]({'commentThreadId':_0x557786,'context':_0x226584,'attributes':_0x4308ec,'unlinkedAt':_0x175da1})[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'resolveCommentThread':async({channelId:_0x171677,threadId:_0x309758})=>{const _0x29b971=_0x505a4f,_0x5f09e4=await this[_0x29b971(0x21b)](_0x171677)[_0x29b971(0x214)](_0x309758)[_0x29b971(0x229)](F)[_0x29b971(0x229)](k);return{'threadId':_0x5f09e4[_0x29b971(0x233)],'resolvedAt':_0x5f09e4[_0x29b971(0x206)],'resolvedBy':_0x5f09e4[_0x29b971(0x1e4)]};},'reopenCommentThread':async({channelId:_0x28ec34,threadId:_0x1fd1a3})=>this[_0x505a4f(0x21b)](_0x28ec34)[_0x505a4f(0x1d9)](_0x1fd1a3)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'removeCommentThread':({channelId:_0x54194e,threadId:_0x51f776})=>this[_0x505a4f(0x21b)](_0x54194e)[_0x505a4f(0x231)](_0x51f776)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'addComment':({channelId:_0x39f92f,threadId:_0x2d528d,commentId:_0x32b057,content:_0x266b35,attributes:_0x2703e7})=>this[_0x505a4f(0x21b)](_0x39f92f)[_0x505a4f(0x1d8)](_0x2d528d,_0x32b057,_0x266b35,_0x2703e7)[_0x505a4f(0x229)](k),'updateComment':({channelId:_0x3ca146,threadId:_0x4ae5a0,commentId:_0x12bb2c,content:_0x14ad09,attributes:_0xd07c45})=>this[_0x505a4f(0x21b)](_0x3ca146)[_0x505a4f(0x1f0)](_0x4ae5a0,_0x12bb2c,_0x14ad09,_0xd07c45)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'removeComment':({channelId:_0x532c0d,threadId:_0x5a3eec,commentId:_0x2a23c6})=>this[_0x505a4f(0x21b)](_0x532c0d)[_0x505a4f(0x1ef)](_0x5a3eec,_0x2a23c6)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k)},_0xc00547 instanceof _0x3039f5){const _0x46f6ed=_0xc00547[_0x505a4f(0x22c)][_0x505a4f(0x20c)](_0x505a4f(0x22e)),_0x230462=_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x46038d);await this[_0x505a4f(0x1e2)](_0x46f6ed);const _0x406ced=await this[_0x505a4f(0x205)][_0x505a4f(0x20c)](_0x46f6ed)[_0x505a4f(0x1da)]();this[_0x505a4f(0x1e7)](_0x230462,_0x505a4f(0x1de)+_0x46f6ed,(_0x13c663,{session:_0x41f678})=>{const _0x5e5f9e=_0x505a4f;_0x41f678['id']===_0x230462[_0x5e5f9e(0x1fa)]&&(_0x13c663[_0x5e5f9e(0x1fb)](),this[_0x5e5f9e(0x203)][_0x5e5f9e(0x1f7)][_0x5e5f9e(0x20c)](_0x5e5f9e(0x1d7))[_0x5e5f9e(0x1e5)](_0x41f678[_0x5e5f9e(0x201)],_0x46f6ed));}),_0x230462[_0x505a4f(0x1fc)](_0x46f6ed,_0x406ced);}}async[_0x217925(0x1e2)](_0x1c9bf1){const _0x9fcf6=_0x217925;if(this[_0x9fcf6(0x205)][_0x9fcf6(0x224)](_0x1c9bf1))throw new _0x3b20df(_0x9fcf6(0x219),null,{'channelId':_0x1c9bf1});const _0x4c3b05=this[_0x9fcf6(0x203)][_0x9fcf6(0x1f7)][_0x9fcf6(0x20c)](_0x9fcf6(0x223)),_0x16b3c4=new CloudServicesCommentsAdapter[(_0x9fcf6(0x227))](_0x1c9bf1);this[_0x9fcf6(0x205)][_0x9fcf6(0x220)](_0x1c9bf1,_0x16b3c4),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x20e),(_0x1663aa,_0x47e8d3)=>{const _0x431df2=_0x9fcf6,{commentThreadId:_0x5702c3,documentId:_0x45e1da,context:_0x5cbdec,attributes:_0x5e9f02,resolvedAt:_0x85942a,resolvedBy:_0x52a2d8,comments:_0x3d7e25}=_0x47e8d3;_0x4c3b05[_0x431df2(0x217)](_0x5702c3)||_0x4c3b05[_0x431df2(0x23a)]({'threadId':_0x5702c3,'channelId':_0x45e1da,'comments':_0x3d7e25?_0x3d7e25[_0x431df2(0x221)](S):[],'context':_0x5cbdec,'attributes':_0x5e9f02,'resolvedAt':_0x85942a,'resolvedBy':_0x52a2d8,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x225),(_0x33d824,{commentThreadId:_0x2bfd08,documentId:_0x1aedc8,context:_0x124dc9,unlinkedAt:_0x4943a6,attributes:_0x5abe27})=>{const _0x43b91b=_0x9fcf6;_0x4c3b05[_0x43b91b(0x217)](_0x2bfd08)&&_0x4c3b05[_0x43b91b(0x1dd)]({'threadId':_0x2bfd08,'channelId':_0x1aedc8,'context':_0x124dc9,'unlinkedAt':_0x4943a6,'attributes':_0x5abe27,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x1f8),(_0x4c82a2,{commentThreadId:_0x190497,resolvedBy:_0x35e33d,resolvedAt:_0x2121f1})=>{const _0x1e492b=_0x9fcf6,_0x2c3362=_0x4c3b05[_0x1e492b(0x217)](_0x190497);_0x2c3362&&_0x2c3362[_0x1e492b(0x1f6)]({'resolvedBy':_0x35e33d,'resolvedAt':_0x2121f1,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x1db),(_0x4bd609,{commentThreadId:_0x4b4eb5})=>{const _0x5f1df1=_0x9fcf6,_0x43837c=_0x4c3b05[_0x5f1df1(0x217)](_0x4b4eb5);_0x43837c&&_0x43837c[_0x5f1df1(0x211)]({'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x21e),(_0x2a0891,{commentThreadId:_0xb4ce79})=>{const _0x5b2c4a=_0x9fcf6,_0x4d99f4=_0x4c3b05[_0x5b2c4a(0x217)](_0xb4ce79);_0x4d99f4&&_0x4d99f4[_0x5b2c4a(0x1f4)]({'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x212),(_0x4fa8a5,_0x3b0450)=>{const _0x57db7d=_0x9fcf6,_0x5ddd9d=_0x3b0450[_0x57db7d(0x233)],_0x8c1d0c=_0x4c3b05[_0x57db7d(0x217)](_0x5ddd9d);_0x8c1d0c&&_0x8c1d0c[_0x57db7d(0x1d8)]({...S(_0x3b0450),'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x228),(_0x1e12e2,{commentThreadId:_0x17837d,commentId:_0x2741c3,content:_0xf0a421,attributes:_0x47dc56})=>{const _0x587619=_0x9fcf6,_0x42c093=_0x4c3b05[_0x587619(0x217)](_0x17837d);if(_0x42c093){const _0x50b7c0=_0x42c093[_0x587619(0x238)](_0x2741c3);_0x50b7c0&&_0x50b7c0[_0x587619(0x22d)]({'content':_0xf0a421,'attributes':_0x47dc56,'isFromAdapter':!0x0});}}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x208),(_0x56a1f1,{commentThreadId:_0x4c50d6,commentId:_0x2aa75c})=>{const _0xd0a405=_0x9fcf6,_0x182e25=_0x4c3b05[_0xd0a405(0x217)](_0x4c50d6);if(_0x182e25){const _0x2d976b=_0x182e25[_0xd0a405(0x238)](_0x2aa75c);_0x2d976b&&_0x2d976b[_0xd0a405(0x1f4)]({'isFromAdapter':!0x0});}}),await this[_0x9fcf6(0x232)](_0x1c9bf1);}[_0x217925(0x21a)](){const _0x465df7=_0x217925;if(this[_0x465df7(0x203)]instanceof _0x3039f5){const _0x5321f9=this[_0x465df7(0x203)][_0x465df7(0x22c)][_0x465df7(0x20c)](_0x465df7(0x22e));this[_0x465df7(0x21f)](_0x5321f9);}}[_0x217925(0x21f)](_0xa379d){const _0x2afa3f=_0x217925;if(!this[_0x2afa3f(0x205)][_0x2afa3f(0x224)](_0xa379d))throw new _0x3b20df(_0x2afa3f(0x22a),null,{'channelId':_0xa379d});this[_0x2afa3f(0x21b)](_0xa379d)[_0x2afa3f(0x1fd)](),this[_0x2afa3f(0x205)][_0x2afa3f(0x22b)](_0xa379d);}async[_0x217925(0x234)](){const _0x2762b5=_0x217925;for(const _0x294930 of this[_0x2762b5(0x205)][_0x2762b5(0x1fe)]())await this[_0x2762b5(0x232)](_0x294930);if(this[_0x2762b5(0x203)]instanceof _0x3039f5){const _0x2b88bb=this[_0x2762b5(0x203)][_0x2762b5(0x22c)][_0x2762b5(0x20c)](_0x2762b5(0x22e)),_0x412d4d=this[_0x2762b5(0x203)][_0x2762b5(0x1f7)][_0x2762b5(0x20c)](_0x46038d);_0x412d4d[_0x2762b5(0x21c)](_0x2b88bb);const _0x1b08d2=await this[_0x2762b5(0x205)][_0x2762b5(0x20c)](_0x2b88bb)[_0x2762b5(0x1da)]();_0x412d4d[_0x2762b5(0x1fc)](_0x2b88bb,_0x1b08d2);}}async[_0x217925(0x232)](_0x2bb1ed){const _0x53057f=_0x217925,{connection:_0xeba481}=this[_0x53057f(0x203)][_0x53057f(0x1f7)][_0x53057f(0x20c)](_0x209f47),_0x1da5f1=this[_0x53057f(0x203)][_0x53057f(0x1f7)][_0x53057f(0x20c)](_0x53057f(0x223)),_0x14874f=this[_0x53057f(0x205)][_0x53057f(0x20c)](_0x2bb1ed),_0x17244c=await _0x14874f[_0x53057f(0x207)](_0xeba481);await this[_0x53057f(0x1e8)](_0x17244c);const _0x3182d5=new Set(Array[_0x53057f(0x215)](_0x1da5f1[_0x53057f(0x1e0)]({'channelId':_0x2bb1ed}),_0x482cf5=>_0x482cf5['id']));for(const _0x984fc0 of _0x17244c)_0x984fc0[_0x53057f(0x1ea)]||_0x3182d5[_0x53057f(0x22b)](_0x984fc0[_0x53057f(0x233)]);for(const _0x1d796a of _0x3182d5)_0x1da5f1[_0x53057f(0x217)](_0x1d796a)[_0x53057f(0x1f4)]({'isFromAdapter':!0x0});for(const _0x24bf89 of _0x17244c){let _0x29d4cd=_0x1da5f1[_0x53057f(0x217)](_0x24bf89[_0x53057f(0x233)]);const {commentThreadId:_0x5708ab,context:_0x2462e0,attributes:_0x10b9aa,resolvedBy:_0x2972ca,resolvedAt:_0x3de5f4,unlinkedAt:_0x32c587,deletedAt:_0x2a2231}=_0x24bf89;if(_0x2a2231)continue;_0x29d4cd||(_0x29d4cd=_0x1da5f1[_0x53057f(0x23a)]({'channelId':_0x2bb1ed,'threadId':_0x5708ab,'context':_0x2462e0,'attributes':_0x10b9aa||{},'resolvedBy':_0x2972ca,'resolvedAt':_0x3de5f4,'unlinkedAt':_0x32c587,'isFromAdapter':!0x0}));const _0x338fe9=new Set(Array[_0x53057f(0x215)](_0x29d4cd[_0x53057f(0x20d)],_0x5d9106=>_0x5d9106['id']));for(const _0x1a15d5 of _0x24bf89[_0x53057f(0x20d)])_0x338fe9[_0x53057f(0x22b)](_0x1a15d5[_0x53057f(0x1e6)]);for(const _0x2dc763 of _0x338fe9)_0x29d4cd[_0x53057f(0x238)](_0x2dc763)[_0x53057f(0x1f4)]({'isFromAdapter':!0x0});for(const _0x4becfe of _0x24bf89[_0x53057f(0x20d)]){const _0x2cde6f=_0x29d4cd[_0x53057f(0x238)](_0x4becfe[_0x53057f(0x1e6)]);_0x2cde6f?_0x2cde6f[_0x53057f(0x21d)]!==_0x4becfe[_0x53057f(0x21d)]&&_0x2cde6f[_0x53057f(0x22d)]({'content':_0x4becfe[_0x53057f(0x21d)],'isFromAdapter':!0x0}):_0x29d4cd[_0x53057f(0x1d8)](Object[_0x53057f(0x230)](S(_0x4becfe),{'isFromAdapter':!0x0}));}}}[_0x217925(0x21b)](_0x71d0c0){const _0x2d8fcb=_0x217925;if(!this[_0x2d8fcb(0x205)][_0x2d8fcb(0x224)](_0x71d0c0))throw new _0x3b20df(_0x2d8fcb(0x1eb),null,{'channelId':_0x71d0c0});return this[_0x2d8fcb(0x205)][_0x2d8fcb(0x20c)](_0x71d0c0);}async[_0x217925(0x1e8)](_0x1903c3){const _0x32794f=_0x217925,_0x193882=this[_0x32794f(0x203)][_0x32794f(0x1f7)][_0x32794f(0x20c)](_0x34c853),{connection:_0x17dcc0}=this[_0x32794f(0x203)][_0x32794f(0x1f7)][_0x32794f(0x20c)](_0x209f47),_0x378ef9=new Set();for(const {resolvedBy:_0x328187,comments:_0x178d20}of _0x1903c3){_0x328187&&!_0x193882[_0x32794f(0x236)](_0x328187)&&_0x378ef9[_0x32794f(0x20f)](_0x328187);for(const {userId:_0x1c394d}of _0x178d20)_0x193882[_0x32794f(0x236)](_0x1c394d)||_0x378ef9[_0x32794f(0x20f)](_0x1c394d);}if(0x0===_0x378ef9[_0x32794f(0x239)])return;const _0x9e29eb=await _0x1c544f[_0x32794f(0x218)](_0x17dcc0,Array[_0x32794f(0x215)](_0x378ef9));for(const _0x43497f of _0x9e29eb)_0x193882[_0x32794f(0x236)](_0x43497f['id'])||_0x193882[_0x32794f(0x202)](_0x43497f);}}async function F(_0x28bf4c){const _0x315de0=_0x217925;if(_0x315de0(0x1f5)!==_0x28bf4c[_0x315de0(0x1e9)])throw _0x28bf4c;}function k(_0x1c63ff){const _0x33804b=_0x217925;if((_0x46d58d=_0x1c63ff)[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1e1))||_0x46d58d[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1ff))||_0x46d58d[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1ec)))return new Promise(()=>{});var _0x46d58d;throw _0x1c63ff;}function _0x3047(){const _0x37a01a=['cloud-services-internal-error:\x20Not\x20connected.','userId','permissions','addUser','context','attributes','_services','resolvedAt','connect','commentRemoved','225543kSnHtp','init','102giPOBD','get','comments','commentThreadAdded','add','pluginName','reopen','commentAdded','adapter','resolveCommentThread','from','3544500weAUjO','getCommentThread','getMany','cloudservicescommentsadapter-connect-already-connected','destroy','_getService','unregister','content','commentThreadRemoved','_terminateService','set','map','requires','CommentsRepository','has','commentThreadUpdated','CloudServicesCommentsAdapter','CommentsService','commentUpdated','catch','cloudservicescommentsadapter-disconnect-not-exist','delete','config','update','collaboration.channelId','9509868cmxhqf','assign','removeCommentThread','_connectService','commentThreadId','reconnect','1231576Nixzuz','getUser','2FbkbjJ','getComment','size','addCommentThread','8CZiRxZ','addToReconnectionStack','Permissions','addComment','reopenCommentThread','getConnectedSessions','commentThreadReopened','5603164vABATM','updateCommentThread','sessionAdd:','startsWith','getCommentThreads','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_setUpService','message','resolvedBy','setPermissions','commentId','listenTo','_fetchMissingUsersForThreads','code','deletedAt','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','844840nVfaCb','removeComment','updateComment','isOfficialPlugin','authorId','isPremiumPlugin','remove','404','resolve','plugins','commentThreadResolved','270895mwxVWM','mySessionId','off','register','disconnect','keys'];_0x3047=function(){return _0x37a01a;};return _0x3047();}function S(_0x766b0a){const _0x2a23d6=_0x217925;return{'threadId':_0x766b0a[_0x2a23d6(0x233)],'commentId':_0x766b0a[_0x2a23d6(0x1e6)],'content':_0x766b0a[_0x2a23d6(0x21d)],'createdAt':_0x766b0a[_0x2a23d6(0x1ed)],'authorId':_0x766b0a[_0x2a23d6(0x200)],'attributes':_0x766b0a[_0x2a23d6(0x204)]||{}};}
23
+ const _0x418a9a=_0x1d45;(function(_0x3bda41,_0x2dd874){const _0x251ed1=_0x1d45,_0x70cd0a=_0x3bda41();while(!![]){try{const _0x3ba7ae=-parseInt(_0x251ed1(0xd4))/0x1+-parseInt(_0x251ed1(0xdf))/0x2*(parseInt(_0x251ed1(0xec))/0x3)+-parseInt(_0x251ed1(0xad))/0x4+-parseInt(_0x251ed1(0x94))/0x5+parseInt(_0x251ed1(0xf6))/0x6*(-parseInt(_0x251ed1(0xea))/0x7)+parseInt(_0x251ed1(0xe3))/0x8+parseInt(_0x251ed1(0xcd))/0x9;if(_0x3ba7ae===_0x2dd874)break;else _0x70cd0a['push'](_0x70cd0a['shift']());}catch(_0x4ff11c){_0x70cd0a['push'](_0x70cd0a['shift']());}}}(_0x4190,0x87bce));import{Context as _0x2946b5,ContextPlugin as _0x43b524}from'ckeditor5/src/core.js';function _0x1d45(_0x46c9ac,_0x558800){const _0x419039=_0x4190();return _0x1d45=function(_0x1d45cc,_0x3cfe68){_0x1d45cc=_0x1d45cc-0x93;let _0x1a6f66=_0x419039[_0x1d45cc];return _0x1a6f66;},_0x1d45(_0x46c9ac,_0x558800);}import{CKEditorError as _0x351975}from'ckeditor5/src/utils.js';import{Users as _0x2e8720}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x268342,User as _0x2e559b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2aa681}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4c7abc}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x43b524{static [_0x418a9a(0xee)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x268342)());[_0x418a9a(0xeb)];static get[_0x418a9a(0xc5)](){const _0x139488=_0x418a9a;return[_0x2aa681,_0x139488(0xb1),_0x4c7abc,_0x2e8720];}static get[_0x418a9a(0xdb)](){const _0x412233=_0x418a9a;return _0x412233(0xce);}static get[_0x418a9a(0xac)](){return!0x0;}static get[_0x418a9a(0xc7)](){return!0x0;}constructor(_0x404a49){const _0x5c61e6=_0x418a9a;super(_0x404a49),this[_0x5c61e6(0xeb)]=new Map();}async[_0x418a9a(0xd1)](){const _0x5a5505=_0x418a9a,_0x4b6455=this[_0x5a5505(0xb2)],_0x34105e=_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x5a5505(0xb1));if(_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x2aa681)[_0x5a5505(0xd8)](this),_0x34105e[_0x5a5505(0xb7)]={'addCommentThread':async({channelId:_0x40f6fb,threadId:_0x2f0b06,comments:_0x5cc840,resolvedAt:_0x217a24,resolvedBy:_0x357747,context:_0x1cd808,attributes:_0x301c52})=>{const _0x1e9413=_0x5a5505,_0x24a527=await this[_0x1e9413(0xb3)](_0x40f6fb)[_0x1e9413(0xd7)]({'commentThreadId':_0x2f0b06,'comments':_0x5cc840[_0x1e9413(0xc6)](_0x39cf42=>function(_0x29f1a3,_0x374346,_0x3e23c5){const _0x35eb6e=_0x1e9413;return{'commentThreadId':_0x3e23c5,'commentId':_0x29f1a3[_0x35eb6e(0x98)],'userId':_0x29f1a3[_0x35eb6e(0xa5)],'content':_0x29f1a3[_0x35eb6e(0xde)],'documentId':_0x374346,'createdAt':_0x29f1a3[_0x35eb6e(0xcf)],'attributes':_0x29f1a3[_0x35eb6e(0xc4)]||{}};}(_0x39cf42,_0x40f6fb,_0x2f0b06)),'resolvedAt':_0x217a24,'resolvedBy':_0x357747,'context':_0x1cd808,'attributes':_0x301c52})[_0x1e9413(0x99)](B);return{'threadId':_0x24a527[_0x1e9413(0xbc)],'comments':_0x24a527[_0x1e9413(0xbe)]};},'getCommentThread':async({channelId:_0x2c1c7c,threadId:_0x276568})=>{const _0x136ba9=_0x5a5505,_0x4ca9f3=await this[_0x136ba9(0xb3)](_0x2c1c7c)[_0x136ba9(0xf2)](_0x276568)[_0x136ba9(0x99)](F)[_0x136ba9(0x99)](B);return _0x4ca9f3?_0x4ca9f3[_0x136ba9(0xc8)]?null:(await this[_0x136ba9(0x9a)]([_0x4ca9f3]),{'threadId':_0x4ca9f3[_0x136ba9(0xbc)],'comments':_0x4ca9f3[_0x136ba9(0xbe)][_0x136ba9(0xc6)](P),'context':_0x4ca9f3[_0x136ba9(0xb2)],'resolvedAt':_0x4ca9f3[_0x136ba9(0x9e)],'resolvedBy':_0x4ca9f3[_0x136ba9(0xd2)],'attributes':_0x4ca9f3[_0x136ba9(0xc4)]||{}}):null;},'updateCommentThread':async({channelId:_0x38789a,threadId:_0x57c528,context:_0x1293ff,unlinkedAt:_0x8bfc07,attributes:_0x464c5e})=>this[_0x5a5505(0xb3)](_0x38789a)[_0x5a5505(0xa1)]({'commentThreadId':_0x57c528,'context':_0x1293ff,'attributes':_0x464c5e,'unlinkedAt':_0x8bfc07})[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'resolveCommentThread':async({channelId:_0x369f54,threadId:_0x3fe2e5})=>{const _0x10324b=_0x5a5505,_0x45a703=await this[_0x10324b(0xb3)](_0x369f54)[_0x10324b(0xc9)](_0x3fe2e5)[_0x10324b(0x99)](F)[_0x10324b(0x99)](B);return{'threadId':_0x45a703[_0x10324b(0xbc)],'resolvedAt':_0x45a703[_0x10324b(0x9e)],'resolvedBy':_0x45a703[_0x10324b(0xd2)]};},'reopenCommentThread':async({channelId:_0x50bd8d,threadId:_0x13a519})=>this[_0x5a5505(0xb3)](_0x50bd8d)[_0x5a5505(0xd6)](_0x13a519)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'removeCommentThread':({channelId:_0x24e6d5,threadId:_0x3228f2})=>this[_0x5a5505(0xb3)](_0x24e6d5)[_0x5a5505(0xd3)](_0x3228f2)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'addComment':({channelId:_0x4c1a23,threadId:_0x290be3,commentId:_0x1a7496,content:_0x40aecf,attributes:_0x14f9dd})=>this[_0x5a5505(0xb3)](_0x4c1a23)[_0x5a5505(0xe4)](_0x290be3,_0x1a7496,_0x40aecf,_0x14f9dd)[_0x5a5505(0x99)](B),'updateComment':({channelId:_0x172555,threadId:_0x580ec5,commentId:_0x491221,content:_0x3da4a3,attributes:_0x3a42e4})=>this[_0x5a5505(0xb3)](_0x172555)[_0x5a5505(0xbd)](_0x580ec5,_0x491221,_0x3da4a3,_0x3a42e4)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'removeComment':({channelId:_0x57e139,threadId:_0x7920f7,commentId:_0x1ff027})=>this[_0x5a5505(0xb3)](_0x57e139)[_0x5a5505(0xda)](_0x7920f7,_0x1ff027)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B)},_0x4b6455 instanceof _0x2946b5){const _0x100177=_0x4b6455[_0x5a5505(0xa6)][_0x5a5505(0xe2)](_0x5a5505(0x95)),_0xd1d669=_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x4c7abc);await this[_0x5a5505(0xa3)](_0x100177);const _0x3f71f9=await this[_0x5a5505(0xeb)][_0x5a5505(0xe2)](_0x100177)[_0x5a5505(0xa0)]();this[_0x5a5505(0xa2)](_0xd1d669,_0x5a5505(0x9f)+_0x100177,(_0x5f3b91,{session:_0x48568c})=>{const _0x3389c1=_0x5a5505;_0x48568c['id']===_0xd1d669[_0x3389c1(0xe8)]&&(_0x5f3b91[_0x3389c1(0xca)](),this[_0x3389c1(0xb2)][_0x3389c1(0xed)][_0x3389c1(0xe2)](_0x3389c1(0xf5))[_0x3389c1(0xf4)](_0x48568c[_0x3389c1(0xb6)],_0x100177));}),_0xd1d669[_0x5a5505(0xb0)](_0x100177,_0x3f71f9);}}async[_0x418a9a(0xa3)](_0x2c6f91){const _0x38ea04=_0x418a9a;if(this[_0x38ea04(0xeb)][_0x38ea04(0xbb)](_0x2c6f91))throw new _0x351975(_0x38ea04(0xe9),null,{'channelId':_0x2c6f91});const _0x56f891=this[_0x38ea04(0xb2)][_0x38ea04(0xed)][_0x38ea04(0xe2)](_0x38ea04(0xb1)),_0x9be1b2=new CloudServicesCommentsAdapter[(_0x38ea04(0xee))](_0x2c6f91);this[_0x38ea04(0xeb)][_0x38ea04(0xc3)](_0x2c6f91,_0x9be1b2),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xb9),(_0x2d1914,_0x5439c6)=>{const _0x4526f0=_0x38ea04,{commentThreadId:_0x5c3466,documentId:_0x23c934,context:_0x5e4557,attributes:_0x553d95,resolvedAt:_0x5e98e0,resolvedBy:_0x4ec829,comments:_0x5a2390}=_0x5439c6;_0x56f891[_0x4526f0(0xf2)](_0x5c3466)||_0x56f891[_0x4526f0(0xd7)]({'threadId':_0x5c3466,'channelId':_0x23c934,'comments':_0x5a2390?_0x5a2390[_0x4526f0(0xc6)](P):[],'context':_0x5e4557,'attributes':_0x553d95,'resolvedAt':_0x5e98e0,'resolvedBy':_0x4ec829,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xd0),(_0x39321d,{commentThreadId:_0x3bfef4,documentId:_0xa9831e,context:_0xc1b496,unlinkedAt:_0x40fd78,attributes:_0x530564})=>{const _0x4ba57a=_0x38ea04;_0x56f891[_0x4ba57a(0xf2)](_0x3bfef4)&&_0x56f891[_0x4ba57a(0xa1)]({'threadId':_0x3bfef4,'channelId':_0xa9831e,'context':_0xc1b496,'unlinkedAt':_0x40fd78,'attributes':_0x530564,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xdc),(_0x220215,{commentThreadId:_0x2921d2,resolvedBy:_0x59add4,resolvedAt:_0x1e3fa2})=>{const _0x3f3695=_0x38ea04,_0x1998f2=_0x56f891[_0x3f3695(0xf2)](_0x2921d2);_0x1998f2&&_0x1998f2[_0x3f3695(0xbf)]({'resolvedBy':_0x59add4,'resolvedAt':_0x1e3fa2,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0x93),(_0x8ad538,{commentThreadId:_0x28f5cb})=>{const _0x4d4d45=_0x38ea04,_0x54a144=_0x56f891[_0x4d4d45(0xf2)](_0x28f5cb);_0x54a144&&_0x54a144[_0x4d4d45(0xe6)]({'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xe5),(_0x330656,{commentThreadId:_0x1e0605})=>{const _0x22064f=_0x38ea04,_0x2142b0=_0x56f891[_0x22064f(0xf2)](_0x1e0605);_0x2142b0&&_0x2142b0[_0x22064f(0xaa)]({'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0x9d),(_0x214e82,_0x34c59c)=>{const _0x5a3f99=_0x38ea04,_0x10738e=_0x34c59c[_0x5a3f99(0xbc)],_0xe77f6a=_0x56f891[_0x5a3f99(0xf2)](_0x10738e);_0xe77f6a&&_0xe77f6a[_0x5a3f99(0xe4)]({...P(_0x34c59c),'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xba),(_0x4abf79,{commentThreadId:_0x207904,commentId:_0x123487,content:_0x514a19,attributes:_0x2c85b9})=>{const _0x3340ec=_0x38ea04,_0x2dc988=_0x56f891[_0x3340ec(0xf2)](_0x207904);if(_0x2dc988){const _0x4af46b=_0x2dc988[_0x3340ec(0xaf)](_0x123487);_0x4af46b&&_0x4af46b[_0x3340ec(0xa8)]({'content':_0x514a19,'attributes':_0x2c85b9,'isFromAdapter':!0x0});}}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xef),(_0x59b1b9,{commentThreadId:_0x42271f,commentId:_0x5c3f1c})=>{const _0x4727b2=_0x38ea04,_0x5a30c0=_0x56f891[_0x4727b2(0xf2)](_0x42271f);if(_0x5a30c0){const _0x44ab17=_0x5a30c0[_0x4727b2(0xaf)](_0x5c3f1c);_0x44ab17&&_0x44ab17[_0x4727b2(0xaa)]({'isFromAdapter':!0x0});}}),await this[_0x38ea04(0xb4)](_0x2c6f91);}[_0x418a9a(0xa9)](){const _0x368083=_0x418a9a;if(this[_0x368083(0xb2)]instanceof _0x2946b5){const _0x36c5b3=this[_0x368083(0xb2)][_0x368083(0xa6)][_0x368083(0xe2)](_0x368083(0x95));this[_0x368083(0xd5)](_0x36c5b3);}}[_0x418a9a(0xd5)](_0x278489){const _0x30e1b9=_0x418a9a;if(!this[_0x30e1b9(0xeb)][_0x30e1b9(0xbb)](_0x278489))throw new _0x351975(_0x30e1b9(0xa7),null,{'channelId':_0x278489});this[_0x30e1b9(0xb3)](_0x278489)[_0x30e1b9(0xcb)](),this[_0x30e1b9(0xeb)][_0x30e1b9(0xdd)](_0x278489);}async[_0x418a9a(0xf3)](){const _0x5d52ab=_0x418a9a;for(const _0x389c55 of this[_0x5d52ab(0xeb)][_0x5d52ab(0x96)]())await this[_0x5d52ab(0xb4)](_0x389c55);if(this[_0x5d52ab(0xb2)]instanceof _0x2946b5){const _0x48edb3=this[_0x5d52ab(0xb2)][_0x5d52ab(0xa6)][_0x5d52ab(0xe2)](_0x5d52ab(0x95)),_0xd7a057=this[_0x5d52ab(0xb2)][_0x5d52ab(0xed)][_0x5d52ab(0xe2)](_0x4c7abc);_0xd7a057[_0x5d52ab(0xcc)](_0x48edb3);const _0x449497=await this[_0x5d52ab(0xeb)][_0x5d52ab(0xe2)](_0x48edb3)[_0x5d52ab(0xa0)]();_0xd7a057[_0x5d52ab(0xb0)](_0x48edb3,_0x449497);}}async[_0x418a9a(0xb4)](_0x34898f){const _0x5e4000=_0x418a9a,{connection:_0x5a730f}=this[_0x5e4000(0xb2)][_0x5e4000(0xed)][_0x5e4000(0xe2)](_0x2aa681),_0x4b03df=this[_0x5e4000(0xb2)][_0x5e4000(0xed)][_0x5e4000(0xe2)](_0x5e4000(0xb1)),_0x5492e4=this[_0x5e4000(0xeb)][_0x5e4000(0xe2)](_0x34898f),_0x47f981=await _0x5492e4[_0x5e4000(0xe0)](_0x5a730f);await this[_0x5e4000(0x9a)](_0x47f981);const _0x511bdd=new Set(Array[_0x5e4000(0xc2)](_0x4b03df[_0x5e4000(0xe1)]({'channelId':_0x34898f}),_0x200061=>_0x200061['id']));for(const _0x167329 of _0x47f981)_0x167329[_0x5e4000(0xc8)]||_0x511bdd[_0x5e4000(0xdd)](_0x167329[_0x5e4000(0xbc)]);for(const _0x217b7b of _0x511bdd)_0x4b03df[_0x5e4000(0xf2)](_0x217b7b)[_0x5e4000(0xaa)]({'isFromAdapter':!0x0});for(const _0x1f9c2e of _0x47f981){let _0x2096d6=_0x4b03df[_0x5e4000(0xf2)](_0x1f9c2e[_0x5e4000(0xbc)]);const {commentThreadId:_0x2e74b0,context:_0x29ad11,attributes:_0x3c25c3,resolvedBy:_0xbe1dc7,resolvedAt:_0xa628ca,unlinkedAt:_0x268a86,deletedAt:_0xb82312}=_0x1f9c2e;if(_0xb82312)continue;_0x2096d6||(_0x2096d6=_0x4b03df[_0x5e4000(0xd7)]({'channelId':_0x34898f,'threadId':_0x2e74b0,'context':_0x29ad11,'attributes':_0x3c25c3||{},'resolvedBy':_0xbe1dc7,'resolvedAt':_0xa628ca,'unlinkedAt':_0x268a86,'isFromAdapter':!0x0}));const _0x55721f=new Set(Array[_0x5e4000(0xc2)](_0x2096d6[_0x5e4000(0xbe)],_0x295bf4=>_0x295bf4['id']));for(const _0x30dae9 of _0x1f9c2e[_0x5e4000(0xbe)])_0x55721f[_0x5e4000(0xdd)](_0x30dae9[_0x5e4000(0x98)]);for(const _0x1713fd of _0x55721f)_0x2096d6[_0x5e4000(0xaf)](_0x1713fd)[_0x5e4000(0xaa)]({'isFromAdapter':!0x0});for(const _0x31127d of _0x1f9c2e[_0x5e4000(0xbe)]){const _0x962ec4=_0x2096d6[_0x5e4000(0xaf)](_0x31127d[_0x5e4000(0x98)]);_0x962ec4?_0x962ec4[_0x5e4000(0xde)]!==_0x31127d[_0x5e4000(0xde)]&&_0x962ec4[_0x5e4000(0xa8)]({'content':_0x31127d[_0x5e4000(0xde)],'isFromAdapter':!0x0}):_0x2096d6[_0x5e4000(0xe4)](Object[_0x5e4000(0x97)](P(_0x31127d),{'isFromAdapter':!0x0}));}}}[_0x418a9a(0xb3)](_0xfd8fd8){const _0x114bb1=_0x418a9a;if(!this[_0x114bb1(0xeb)][_0x114bb1(0xbb)](_0xfd8fd8))throw new _0x351975(_0x114bb1(0xab),null,{'channelId':_0xfd8fd8});return this[_0x114bb1(0xeb)][_0x114bb1(0xe2)](_0xfd8fd8);}async[_0x418a9a(0x9a)](_0x19790b){const _0x1094ab=_0x418a9a,_0x74009a=this[_0x1094ab(0xb2)][_0x1094ab(0xed)][_0x1094ab(0xe2)](_0x2e8720),{connection:_0x363247}=this[_0x1094ab(0xb2)][_0x1094ab(0xed)][_0x1094ab(0xe2)](_0x2aa681),_0x78fd0b=new Set();for(const {resolvedBy:_0x171a14,comments:_0x1f8f8c}of _0x19790b){_0x171a14&&!_0x74009a[_0x1094ab(0xb5)](_0x171a14)&&_0x78fd0b[_0x1094ab(0xc0)](_0x171a14);for(const {userId:_0x5ba421}of _0x1f8f8c)_0x74009a[_0x1094ab(0xb5)](_0x5ba421)||_0x78fd0b[_0x1094ab(0xc0)](_0x5ba421);}if(0x0===_0x78fd0b[_0x1094ab(0xf0)])return;const _0x3c1b1c=await _0x2e559b[_0x1094ab(0xc1)](_0x363247,Array[_0x1094ab(0xc2)](_0x78fd0b));for(const _0x602a13 of _0x3c1b1c)_0x74009a[_0x1094ab(0xb5)](_0x602a13['id'])||_0x74009a[_0x1094ab(0x9c)](_0x602a13);}}function _0x4190(){const _0x9b4ae4=['from','set','attributes','requires','map','isPremiumPlugin','deletedAt','resolveCommentThread','off','disconnect','unregister','35405685yCNVTp','CloudServicesCommentsAdapter','createdAt','commentThreadUpdated','init','resolvedBy','removeCommentThread','729349trXCtl','_terminateService','reopenCommentThread','addCommentThread','addToReconnectionStack','message','removeComment','pluginName','commentThreadResolved','delete','content','2102INGBuK','connect','getCommentThreads','get','3290104hqLnfH','addComment','commentThreadRemoved','reopen','startsWith','mySessionId','cloudservicescommentsadapter-connect-already-connected','133ZUxsgI','_services','2526yYIxuv','plugins','CommentsService','commentRemoved','size','code','getCommentThread','reconnect','setPermissions','Permissions','346824hGDQer','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadReopened','1194550OQwfJg','collaboration.channelId','keys','assign','commentId','catch','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Request\x20timeout.','addUser','commentAdded','resolvedAt','sessionAdd:','getConnectedSessions','updateCommentThread','listenTo','_setUpService','404','authorId','config','cloudservicescommentsadapter-disconnect-not-exist','update','destroy','remove','cloudservicescommentsadapter-service-not-exist','isOfficialPlugin','3351076exCyjz','userId','getComment','register','CommentsRepository','context','_getService','_connectService','getUser','permissions','adapter','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','commentUpdated','has','commentThreadId','updateComment','comments','resolve','add','getMany'];_0x4190=function(){return _0x9b4ae4;};return _0x4190();}async function F(_0x5d4628){const _0x4d6409=_0x418a9a;if(_0x4d6409(0xa4)!==_0x5d4628[_0x4d6409(0xf1)])throw _0x5d4628;}function B(_0x3319d0){const _0x5c66b2=_0x418a9a;if((_0x225703=_0x3319d0)[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0xf7))||_0x225703[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0xb8))||_0x225703[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0x9b)))return new Promise(()=>{});var _0x225703;throw _0x3319d0;}function P(_0x4ecdb6){const _0x1fe48f=_0x418a9a;return{'threadId':_0x4ecdb6[_0x1fe48f(0xbc)],'commentId':_0x4ecdb6[_0x1fe48f(0x98)],'content':_0x4ecdb6[_0x1fe48f(0xde)],'createdAt':_0x4ecdb6[_0x1fe48f(0xcf)],'authorId':_0x4ecdb6[_0x1fe48f(0xae)],'attributes':_0x4ecdb6[_0x1fe48f(0xc4)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dcd1b=_0x31b6;(function(_0x7575ac,_0x4711c8){const _0x52e8fa=_0x31b6,_0x571879=_0x7575ac();while(!![]){try{const _0x3c6f62=-parseInt(_0x52e8fa(0x125))/0x1*(parseInt(_0x52e8fa(0x107))/0x2)+-parseInt(_0x52e8fa(0x115))/0x3*(parseInt(_0x52e8fa(0x112))/0x4)+parseInt(_0x52e8fa(0x109))/0x5+-parseInt(_0x52e8fa(0x122))/0x6+-parseInt(_0x52e8fa(0x10f))/0x7+parseInt(_0x52e8fa(0x114))/0x8*(parseInt(_0x52e8fa(0x10c))/0x9)+parseInt(_0x52e8fa(0x120))/0xa;if(_0x3c6f62===_0x4711c8)break;else _0x571879['push'](_0x571879['shift']());}catch(_0xc52aa0){_0x571879['push'](_0x571879['shift']());}}}(_0x1ed3,0x1af4c));import{Plugin as _0x6e0caa}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2fb6d5}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x275e3c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x268f87}from'./realtimecollaborativeediting/websocketgateway.js';function _0x31b6(_0x5e7b93,_0x152163){const _0x1ed3d2=_0x1ed3();return _0x31b6=function(_0x31b601,_0x5b93eb){_0x31b601=_0x31b601-0x106;let _0x2e0180=_0x1ed3d2[_0x31b601];return _0x2e0180;},_0x31b6(_0x5e7b93,_0x152163);}function _0x1ed3(){const _0x1cf23c=['Comments','collaboration.channelId','177214CiFyXb','isThreadsLoadingPaused','63935TDkyyG','listenTo','data','14346XSlmiO','plugins','config','446880ZOTkix','CommentsRepository','CommentsEditing','3628zRlKzF','get','8BLbfFb','243xjapVr','RealTimeCollaborativeComments','isPremiumPlugin','editor','destroy','switchReadOnly','change:state','once','pluginName','connected','ready','5489670kjAxfM','_setUpService','830490gkDlfE','init','requires','2DaWTqz','isOfficialPlugin','_terminateService'];_0x1ed3=function(){return _0x1cf23c;};return _0x1ed3();}export class RealTimeCollaborativeComments extends _0x6e0caa{static get[_0x3dcd1b(0x124)](){const _0x408328=_0x3dcd1b;return[_0x408328(0x128),_0x2fb6d5,_0x275e3c,_0x268f87];}static get[_0x3dcd1b(0x11d)](){const _0x507f62=_0x3dcd1b;return _0x507f62(0x116);}static get[_0x3dcd1b(0x126)](){return!0x0;}static get[_0x3dcd1b(0x117)](){return!0x0;}[_0x3dcd1b(0x123)](){const _0x4e0a20=_0x3dcd1b,_0x3a38ea=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x268f87),_0x557333=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x4e0a20(0x111)),_0xdf8397=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x2fb6d5);return this[_0x4e0a20(0x118)][_0x4e0a20(0x10b)][_0x4e0a20(0x11c)](_0x4e0a20(0x11f),()=>{const _0x234548=_0x4e0a20;this[_0x234548(0x10a)](_0x3a38ea,_0x234548(0x11b),(_0x4ed670,_0x446959,_0x35fdd2)=>{const _0x18d39c=_0x234548;_0x557333[_0x18d39c(0x108)]=_0x18d39c(0x11e)!==_0x35fdd2;});}),this[_0x4e0a20(0x10a)](_0x3a38ea,_0x4e0a20(0x11b),(_0x218e2e,_0x430921,_0x14212e)=>{const _0x349250=_0x4e0a20;this[_0x349250(0x118)][_0x349250(0x10d)][_0x349250(0x113)](_0x349250(0x110))[_0x349250(0x11a)](_0x349250(0x11e)!==_0x14212e);}),_0xdf8397[_0x4e0a20(0x121)](this[_0x4e0a20(0x118)][_0x4e0a20(0x10e)][_0x4e0a20(0x113)](_0x4e0a20(0x106)));}[_0x3dcd1b(0x119)](){const _0x492701=_0x3dcd1b;this[_0x492701(0x118)][_0x492701(0x10d)][_0x492701(0x113)](_0x2fb6d5)[_0x492701(0x127)](this[_0x492701(0x118)][_0x492701(0x10e)][_0x492701(0x113)](_0x492701(0x106))),super[_0x492701(0x119)]();}}
23
+ function _0x5785(){const _0x50cd0f=['8nulgoi','8kTlibh','collaboration.channelId','get','ready','2455260svRNIb','editor','init','10462662KCluxB','data','57977490OuJaMO','plugins','connected','Comments','isThreadsLoadingPaused','CommentsRepository','requires','RealTimeCollaborativeComments','listenTo','destroy','CommentsEditing','isOfficialPlugin','switchReadOnly','change:state','1979070mqOJYD','once','config','2635047TaHpvS','isPremiumPlugin','2Sgschs','pluginName','_terminateService','1143459DkHDwO','_setUpService','2374280VjaKZX'];_0x5785=function(){return _0x50cd0f;};return _0x5785();}const _0x3f6cfc=_0x9044;(function(_0x130876,_0x630852){const _0x5997e8=_0x9044,_0x410fdc=_0x130876();while(!![]){try{const _0xfad1fc=parseInt(_0x5997e8(0x1a9))/0x1*(-parseInt(_0x5997e8(0x1a6))/0x2)+-parseInt(_0x5997e8(0x18e))/0x3+-parseInt(_0x5997e8(0x18a))/0x4*(parseInt(_0x5997e8(0x1ab))/0x5)+-parseInt(_0x5997e8(0x1a1))/0x6+-parseInt(_0x5997e8(0x191))/0x7+parseInt(_0x5997e8(0x189))/0x8*(-parseInt(_0x5997e8(0x1a4))/0x9)+parseInt(_0x5997e8(0x193))/0xa;if(_0xfad1fc===_0x630852)break;else _0x410fdc['push'](_0x410fdc['shift']());}catch(_0x3402b7){_0x410fdc['push'](_0x410fdc['shift']());}}}(_0x5785,0xbbb60));import{Plugin as _0x2dafac}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3400e8}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x583643}from'./realtimecollaborativeediting.js';function _0x9044(_0x5ef216,_0x884ae8){const _0x57853d=_0x5785();return _0x9044=function(_0x9044ec,_0x182507){_0x9044ec=_0x9044ec-0x189;let _0x546fb9=_0x57853d[_0x9044ec];return _0x546fb9;},_0x9044(_0x5ef216,_0x884ae8);}import{WebSocketGateway as _0x4de2b5}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x2dafac{static get[_0x3f6cfc(0x199)](){const _0x1a1f3d=_0x3f6cfc;return[_0x1a1f3d(0x196),_0x3400e8,_0x583643,_0x4de2b5];}static get[_0x3f6cfc(0x1a7)](){const _0x1ba450=_0x3f6cfc;return _0x1ba450(0x19a);}static get[_0x3f6cfc(0x19e)](){return!0x0;}static get[_0x3f6cfc(0x1a5)](){return!0x0;}[_0x3f6cfc(0x190)](){const _0x4f0fd5=_0x3f6cfc,_0x2b9142=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x4de2b5),_0x548b67=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x4f0fd5(0x19d)),_0x5e88a8=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x3400e8);return this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x192)][_0x4f0fd5(0x1a2)](_0x4f0fd5(0x18d),()=>{const _0x2a54f6=_0x4f0fd5;this[_0x2a54f6(0x19b)](_0x2b9142,_0x2a54f6(0x1a0),(_0x4dba88,_0x57849f,_0xe3b397)=>{const _0x397550=_0x2a54f6;_0x548b67[_0x397550(0x197)]=_0x397550(0x195)!==_0xe3b397;});}),this[_0x4f0fd5(0x19b)](_0x2b9142,_0x4f0fd5(0x1a0),(_0x250c44,_0x36e063,_0x3d3bd2)=>{const _0x3919d7=_0x4f0fd5;this[_0x3919d7(0x18f)][_0x3919d7(0x194)][_0x3919d7(0x18c)](_0x3919d7(0x198))[_0x3919d7(0x19f)](_0x3919d7(0x195)!==_0x3d3bd2);}),_0x5e88a8[_0x4f0fd5(0x1aa)](this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x1a3)][_0x4f0fd5(0x18c)](_0x4f0fd5(0x18b)));}[_0x3f6cfc(0x19c)](){const _0x5edd9c=_0x3f6cfc;this[_0x5edd9c(0x18f)][_0x5edd9c(0x194)][_0x5edd9c(0x18c)](_0x3400e8)[_0x5edd9c(0x1a8)](this[_0x5edd9c(0x18f)][_0x5edd9c(0x1a3)][_0x5edd9c(0x18c)](_0x5edd9c(0x18b))),super[_0x5edd9c(0x19c)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4363(){const _0xc6b7c9=['includes','_disconnectService','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','move','position','apply','4821111lFISJv','batch','initData','addOperation','_authorId','define','keys','start','lastSyncVersion','fromJSON','_waitUntilSynced','_setPendingAction','pluginName','_isEditingAllowed','_saveOperationInBuffer','cloudDocumentVersion','editor','parse','getRoot','_refreshUserSelectionMarkers','24krllVV','mySessionId','channelSessions','_initSessionsHandling','isUndoneOperation','getConnectedSessions','_isAttached','affectsData','entries','rtc-destroyed','change:hasDomSelection','stopListening','getUser','_isConnected','_handleReconnectionResponse','realtimecollaborationclient-init-service-incorrect-server-operation','newRange','InsertOperation','marker','startsWith','collaboration.channelId','realtimecollaborationclient-init-non-existent-root','_getOperationsFromInitData','add','setPermissions','_hasSynchronizationProblem','_loadRoot','createPositionFromPath','18158ncmtQY','_decompressOperations','realtimecollaborationclient-error','setIdForTheLastOperation','_handleServerResponse','view','register','targetPosition','realtimecollaborationclient-handleserverresponse','Synchronization\x20issue','404','RealTimeCollaborationClient','connected','permissions','_ignoredOperations','_knownOperations','isDocumentOperation','ready','_lastServerVersion','from','connect','version','isOfficialPlugin','_isDisconnection','createRoot','_shouldSendUpdate','reconnection:\x20flushed\x20session','type','_applyOperationsSet','5mqzyhH','CollaborativeEditingService','_document','userId','PENDING_ACTION_SENDING_DATA','filter','rootsAttributes','createUserMarkerOperations','9035635sgbaQF','string','reset','has','markers','requires','_addKnownRoot','operationsReceived','realtimecollaborationclient-init-service-internal-error','decompress','selection','rtc-offline','baseVersion','compress','_handleSendingSelectionMarkers','enableReadOnlyMode','_compressor','__className','get','remove','realtimecollaborationclient-init-session-connection-error','currentDocumentSession','lastDocumentSession','insert','disconnected','lastOperationId','affectedSelectable','end','document:write','differ','_connectAfterSessionHasBeenFlushed','push','_clearPendingAction','off','showWarning','unregister','cs:removeUser','Notification','realtimecollaborationclient-init-connection-failed','catch','round','locale','_crash','clone','_fetchMissingUsers','_isLoaded','_initThrowingOnDataSet','1752114rnxCxi','CommentsOnly','finally','message','5430224jjvbvT','real-time-collaboration','document','forEach','listenTo','change:_isPendingUpdate','root','getOperationAuthor','stop','_isPendingUpdate','bind','size','state','high','metadata','destroy','realtimecollaborationclient','addToReconnectionStack','_handleInitialConnectionData','createRange','_updateServerHistory','config','fire','then','getMany','cloud-services-internal-error:\x20Not\x20connected.','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.','realtimecollaborationclient-sendbufferedoperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connection','_hasSelectionChanged','enqueueChange','_currentBufferDelay','addRootAttribute','_handleExternalOperations','length','sessionAdd:','disconnect','_connectService','_isInit','suppressErrorInCollaboration','applyOperation','_sendBufferedOperations','getDocumentDetails','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','addUser','loadRoot','wereChangesApplied','_service','collaboration','_operationToId','5733470nTAaKO','sessionId','340128XJaiUa','set','409','isReadOnly','61anhcgc','model','createdAt','history','addRoot','error','_baseBufferDelay','_offset','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.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','sendOperations','_getAffectedRoot','Permissions','_sendBufferedOperationsDelayId','_pendingAction','code','editing','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','plugins','isEnabled','_bufferedOperations','change:range','init','multi-root-editor-root-attributes-no-root','cloudServices.bundleVersion','getOperations','_setUpDataInit','_channelId','_disconnectionOperations','_lastSyncedOperationId','lastOperationAcceptedAt','sessionCreatedAt','_operationIdentifier','_bufferRootLoad','_sendBufferedOperationsDelayed','removeFromReconnectionStack','collaboration-missing-channelid','$root','_knownRootNames','_handleReceivedOperations','_shouldSendSelectionUpdate','directChange','data','cloud-services-internal-error:\x20Request\x20timeout.','roots','wasUndone','createPositionAt','_compressOperations','_handleReconnectionError','isPremiumPlugin','getIdOfTheLastOperation','map','return','attributes','offset','change:_isEditingAllowed','slice','rootName','reconnect','path','toJSON'];_0x4363=function(){return _0xc6b7c9;};return _0x4363();}const _0x5d849d=_0xdbcd;(function(_0x54f99e,_0x3413f3){const _0x5513e8=_0xdbcd,_0x4d9a8b=_0x54f99e();while(!![]){try{const _0x5067a0=-parseInt(_0x5513e8(0x20c))/0x1*(parseInt(_0x5513e8(0x17a))/0x2)+parseInt(_0x5513e8(0x208))/0x3+-parseInt(_0x5513e8(0x1d2))/0x4*(-parseInt(_0x5513e8(0x197))/0x5)+parseInt(_0x5513e8(0x1ce))/0x6+-parseInt(_0x5513e8(0x19f))/0x7+-parseInt(_0x5513e8(0x15e))/0x8*(-parseInt(_0x5513e8(0x14a))/0x9)+-parseInt(_0x5513e8(0x206))/0xa;if(_0x5067a0===_0x3413f3)break;else _0x4d9a8b['push'](_0x4d9a8b['shift']());}catch(_0x23e085){_0x4d9a8b['push'](_0x4d9a8b['shift']());}}}(_0x4363,0xe86d1));import{Plugin as _0x1689a0,PendingActions as _0x251430}from'ckeditor5/src/core.js';import{CKEditorError as _0x2de0f4,version as _0x1fc640,uid as _0x148077}from'ckeditor5/src/utils.js';import{Notification as _0x5b8123}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x311240,NoOperation as _0x3e53b5,InsertOperation as _0xf57866,MarkerOperation as _0x1082e6,RootAttributeOperation as _0x53c1f7,OperationFactory as _0x2ead6e,History as _0x516425}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x128b01}from'./websocketgateway.js';function _0xdbcd(_0x3c75cb,_0x56b4ba){const _0x436305=_0x4363();return _0xdbcd=function(_0xdbcd88,_0x4453a5){_0xdbcd88=_0xdbcd88-0x13f;let _0x786219=_0x436305[_0xdbcd88];return _0x786219;},_0xdbcd(_0x3c75cb,_0x56b4ba);}import{Sessions as _0x29d56b}from'./sessions.js';import{UserMarkers as _0x32d7c2}from'./usermarkers.js';import{getTranslation as _0x210617}from'../common-translations.js';import{Compressor as _0x520848}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3d2787}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x449b71,CollaborativeEditingService as _0x40cb60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x1689a0{static [_0x5d849d(0x198)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x40cb60)());[_0x5d849d(0x213)];[_0x5d849d(0x207)];[_0x5d849d(0x145)];[_0x5d849d(0x227)];[_0x5d849d(0x203)];[_0x5d849d(0x199)];[_0x5d849d(0x1af)];[_0x5d849d(0x220)];[_0x5d849d(0x189)];[_0x5d849d(0x232)];[_0x5d849d(0x21a)];[_0x5d849d(0x1f0)];[_0x5d849d(0x219)];[_0x5d849d(0x212)];[_0x5d849d(0x1f2)];[_0x5d849d(0x229)];[_0x5d849d(0x228)];[_0x5d849d(0x22c)];static get[_0x5d849d(0x1a4)](){return[_0x128b01,_0x29d56b,_0x32d7c2,_0x251430,_0x3d2787,_0x5b8123];}static get[_0x5d849d(0x156)](){const _0x3e8415=_0x5d849d;return _0x3e8415(0x185);}static get[_0x5d849d(0x190)](){return!0x0;}static get[_0x5d849d(0x23d)](){return!0x0;}get[_0x5d849d(0x159)](){const _0x344ebc=_0x5d849d;return this[_0x344ebc(0x18c)]+this[_0x344ebc(0x213)];}get[_0x5d849d(0x18c)](){const _0x17f599=_0x5d849d;return this[_0x17f599(0x145)][_0x17f599(0x18f)]-this[_0x17f599(0x213)];}get[_0x5d849d(0x152)](){const _0x3276f4=_0x5d849d,_0x5bd6da=this[_0x3276f4(0x145)][_0x3276f4(0x225)]();for(let _0x498db2=_0x5bd6da[_0x3276f4(0x1f5)]-0x1;_0x498db2>=0x0;_0x498db2--){const _0x1724c7=_0x5bd6da[_0x498db2];if(!this[_0x3276f4(0x228)][_0x3276f4(0x1a2)](_0x1724c7))return _0x1724c7[_0x3276f4(0x1ab)]+0x1-this[_0x3276f4(0x213)];}return 0x0;}constructor(_0x11efbe){const _0x103afd=_0x5d849d;if(super(_0x11efbe),this[_0x103afd(0x213)]=0x0,this[_0x103afd(0x207)]=null,this[_0x103afd(0x145)]=new _0x516425(),this[_0x103afd(0x15a)][_0x103afd(0x1e7)][_0x103afd(0x14f)](_0x103afd(0x204),{}),this[_0x103afd(0x227)]=this[_0x103afd(0x15a)][_0x103afd(0x1e7)][_0x103afd(0x1b1)](_0x103afd(0x172)),!this[_0x103afd(0x227)])throw new _0x2de0f4(_0x103afd(0x230),this);const _0x5d1a2e=_0x11efbe[_0x103afd(0x1e7)][_0x103afd(0x1b1)](_0x103afd(0x224))||_0x1fc640;this[_0x103afd(0x203)]=new RealTimeCollaborationClient[(_0x103afd(0x198))](_0x5d1a2e,this[_0x103afd(0x227)]),this[_0x103afd(0x199)]=this[_0x103afd(0x15a)][_0x103afd(0x20d)][_0x103afd(0x1d4)],this[_0x103afd(0x1af)]=new _0x520848(),this[_0x103afd(0x220)]=[],this[_0x103afd(0x189)]=new WeakSet(),this[_0x103afd(0x232)]=new Set(),this[_0x103afd(0x209)](_0x103afd(0x1db),!0x1),this[_0x103afd(0x209)](_0x103afd(0x177),!0x1),this[_0x103afd(0x21a)]=null,this[_0x103afd(0x1f0)]=!0x1,this[_0x103afd(0x219)]=null,this[_0x103afd(0x212)]=0x12c,this[_0x103afd(0x1f2)]=this[_0x103afd(0x212)],this[_0x103afd(0x229)]=null,this[_0x103afd(0x228)]=new WeakSet(),this[_0x103afd(0x22c)]=new J(this[_0x103afd(0x228)]);}[_0x5d849d(0x222)](){const _0x21e6f2=_0x5d849d,_0x4950e6=this[_0x21e6f2(0x15a)],_0xb24196=_0x4950e6[_0x21e6f2(0x21e)][_0x21e6f2(0x1b1)](_0x3d2787),_0x5d4775=_0x4950e6[_0x21e6f2(0x21e)][_0x21e6f2(0x1b1)](_0x128b01);this[_0x21e6f2(0x1d6)](_0xb24196,_0x21e6f2(0x1d9),(_0x16996f,_0x71ff94)=>{const _0x2cadd3=_0x21e6f2,_0x1a09ae=_0x71ff94[0x0];_0x1a09ae[_0x2cadd3(0x14e)]&&(_0x16996f[_0x2cadd3(0x240)]=_0xb24196[_0x2cadd3(0x16a)](_0x1a09ae[_0x2cadd3(0x14e)]),_0x16996f[_0x2cadd3(0x1da)]()),null===_0x1a09ae[_0x2cadd3(0x14e)]&&(_0x16996f[_0x2cadd3(0x240)]=null,_0x16996f[_0x2cadd3(0x1da)]());},{'priority':_0x21e6f2(0x1df)}),this[_0x21e6f2(0x1d6)](_0x4950e6[_0x21e6f2(0x20d)][_0x21e6f2(0x1d4)][_0x21e6f2(0x1a9)],_0x21e6f2(0x221),(_0x2959ef,_0x2f4cb1)=>{const _0x544910=_0x21e6f2;_0x2f4cb1[_0x544910(0x235)]&&this[_0x544910(0x15d)]();}),this[_0x21e6f2(0x1d6)](_0x4950e6[_0x21e6f2(0x21c)][_0x21e6f2(0x17f)],_0x21e6f2(0x168),()=>{const _0x27eb7b=_0x21e6f2;this[_0x27eb7b(0x15d)]();}),this[_0x21e6f2(0x1cd)](),_0x4950e6[_0x21e6f2(0x20d)]['on'](_0x21e6f2(0x1fb),(_0x19a930,_0x1f0404)=>{const _0x10a8d7=_0x21e6f2,_0xc61a72=_0x1f0404[0x0];_0xc61a72[_0x10a8d7(0x18a)]&&(this[_0x10a8d7(0x158)](_0xc61a72),this[_0x10a8d7(0x193)]()&&this[_0x10a8d7(0x22e)]());}),this[_0x21e6f2(0x226)](),this[_0x21e6f2(0x1dc)](_0x21e6f2(0x157))['to'](_0x5d4775,_0x21e6f2(0x1de),this,_0x21e6f2(0x177),(_0x13c8ef,_0x2089b0)=>_0x21e6f2(0x186)===_0x13c8ef&&!_0x2089b0),this['on'](_0x21e6f2(0x243),()=>{const _0x52583f=_0x21e6f2;this[_0x52583f(0x157)]?_0x4950e6[_0x52583f(0x1fe)](_0x52583f(0x1aa)):_0x4950e6[_0x52583f(0x1ae)](_0x52583f(0x1aa));}),this[_0x21e6f2(0x157)]?_0x4950e6[_0x21e6f2(0x1fe)](_0x21e6f2(0x1aa)):_0x4950e6[_0x21e6f2(0x1ae)](_0x21e6f2(0x1aa)),this[_0x21e6f2(0x209)](_0x21e6f2(0x16b),!0x1);}async[_0x5d849d(0x140)](){const _0x42cff1=_0x5d849d,_0x3a0c33=this[_0x42cff1(0x15a)][_0x42cff1(0x21e)][_0x42cff1(0x1b1)](_0x29d56b),_0x24643d=this[_0x42cff1(0x15a)][_0x42cff1(0x21e)][_0x42cff1(0x1b1)](_0x128b01);try{this[_0x42cff1(0x1db)]=!0x0,_0x3a0c33[_0x42cff1(0x1c2)](this[_0x42cff1(0x227)]);const _0x568401=await this[_0x42cff1(0x203)][_0x42cff1(0x140)](_0x24643d[_0x42cff1(0x1ef)],this[_0x42cff1(0x152)]);await this[_0x42cff1(0x16c)](_0x568401)&&(this[_0x42cff1(0x1db)]=!0x1,this[_0x42cff1(0x1bf)]());const _0x1b05d7=await this[_0x42cff1(0x203)][_0x42cff1(0x163)]();_0x3a0c33[_0x42cff1(0x180)](this[_0x42cff1(0x227)],_0x1b05d7),this[_0x42cff1(0x1ad)](),this[_0x42cff1(0x16b)]=!0x0;}catch(_0x5e6136){if(function(_0x5cc422){const _0x503efe=_0x42cff1;return _0x503efe(0x184)===_0x5cc422[_0x503efe(0x21b)];}(_0x5e6136)&&this[_0x42cff1(0x207)])await this[_0x42cff1(0x1bd)]();else{if(function(_0x54176b){const _0x32c808=_0x42cff1;return _0x32c808(0x20a)===_0x54176b[_0x32c808(0x21b)];}(_0x5e6136)){const _0x9aea72=_0x210617(this[_0x42cff1(0x15a)][_0x42cff1(0x1c8)],_0x42cff1(0x1ee));this[_0x42cff1(0x23c)](_0x9aea72);}else{if(!(_0x5e6136 instanceof $))throw _0x5e6136;this[_0x42cff1(0x23c)]();}}}}[_0x5d849d(0x1e1)](){const _0x5722b1=_0x5d849d,_0x4ef05d=this[_0x5722b1(0x15a)][_0x5722b1(0x21e)][_0x5722b1(0x1b1)](_0x128b01),_0xdf607=this[_0x5722b1(0x15a)][_0x5722b1(0x21e)][_0x5722b1(0x1b1)](_0x29d56b);this[_0x5722b1(0x15a)][_0x5722b1(0x1ae)](_0x5722b1(0x167)),_0xdf607[_0x5722b1(0x160)][_0x5722b1(0x1a2)](this[_0x5722b1(0x227)])&&_0xdf607[_0x5722b1(0x1c2)](this[_0x5722b1(0x227)]),_0x4ef05d[_0x5722b1(0x22f)](this),this[_0x5722b1(0x144)](),super[_0x5722b1(0x1e1)]();}async[_0x5d849d(0x16c)](_0x852048){const _0xb00d45=_0x5d849d;if(this[_0xb00d45(0x207)]!==_0x852048[_0xb00d45(0x207)]&&this[_0xb00d45(0x229)]!==_0x852048[_0xb00d45(0x1b8)])throw new $();return this[_0xb00d45(0x207)]=_0x852048[_0xb00d45(0x207)],this[_0xb00d45(0x17e)]([],{..._0x852048,'wereChangesApplied':!0x1,'data':_0x852048[_0xb00d45(0x236)]},_0xb00d45(0x140));}async[_0x5d849d(0x1f8)](_0x2d6e37,_0x3c505d=!0x1){const _0x43a7a6=_0x5d849d,{connection:_0x5aca70}=this[_0x43a7a6(0x15a)][_0x43a7a6(0x21e)][_0x43a7a6(0x1b1)](_0x128b01);RealTimeCollaborationClient[_0x43a7a6(0x198)][_0x43a7a6(0x163)](_0x5aca70,this[_0x43a7a6(0x227)])[_0x43a7a6(0x1e9)](_0x2b9f26=>this[_0x43a7a6(0x161)](_0x2b9f26))[_0x43a7a6(0x1c6)](_0x483647=>{const _0xf07934=_0x43a7a6;this[_0xf07934(0x1c9)](_0xf07934(0x1b3),_0x483647);}),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x1a6),this[_0x43a7a6(0x233)][_0x43a7a6(0x1dc)](this)),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x211),(_0x38bb1f,_0x21272c)=>{const _0x2c220f=_0x43a7a6;this[_0x2c220f(0x1c9)](_0x2c220f(0x1a7),_0x21272c);}),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x1b7),()=>{const _0x1284d9=_0x43a7a6;this[_0x1284d9(0x16b)]=!0x1;});const _0xc0edda=this[_0x43a7a6(0x22c)][_0x43a7a6(0x23e)](_0x2d6e37);this[_0x43a7a6(0x1db)]=!0x0;const _0x583823=await this[_0x43a7a6(0x203)][_0x43a7a6(0x18e)](_0x5aca70,this[_0x43a7a6(0x23b)](_0x2d6e37),_0xc0edda);if(this[_0x43a7a6(0x207)]=_0x583823[_0x43a7a6(0x207)],_0x3c505d){if(!_0x583823[_0x43a7a6(0x202)])return void this[_0x43a7a6(0x23c)]();this[_0x43a7a6(0x1db)]=!0x1,this[_0x43a7a6(0x1bf)](),this[_0x43a7a6(0x145)][_0x43a7a6(0x1a1)](),this[_0x43a7a6(0x213)]=_0x583823[_0x43a7a6(0x242)],this[_0x43a7a6(0x145)][_0x43a7a6(0x18f)]=this[_0x43a7a6(0x213)],await this[_0x43a7a6(0x17e)](_0x2d6e37,_0x583823,_0x43a7a6(0x194));}else await this[_0x43a7a6(0x1e4)](_0x583823,_0x2d6e37);this[_0x43a7a6(0x1ad)](),this[_0x43a7a6(0x16b)]=!0x0;}[_0x5d849d(0x1ad)](){const _0x2b1503=_0x5d849d,_0x304ee0=this[_0x2b1503(0x15a)][_0x2b1503(0x21e)][_0x2b1503(0x1b1)](_0x29d56b),_0x4a7380=this[_0x2b1503(0x15a)][_0x2b1503(0x21e)][_0x2b1503(0x1b1)](_0x32d7c2),_0x18c8d9=_0x304ee0[_0x2b1503(0x160)][_0x2b1503(0x1b1)](this[_0x2b1503(0x227)]);_0x18c8d9&&_0x18c8d9[_0x2b1503(0x1f5)]>0x1?_0x4a7380[_0x2b1503(0x19e)]():this[_0x2b1503(0x1d6)](_0x304ee0,_0x2b1503(0x1f6)+this[_0x2b1503(0x227)],()=>{const _0x26fe09=_0x2b1503;0x2===_0x304ee0[_0x26fe09(0x160)][_0x26fe09(0x1b1)](this[_0x26fe09(0x227)])[_0x26fe09(0x1f5)]&&_0x4a7380[_0x26fe09(0x19e)]();});}async[_0x5d849d(0x233)](_0x44d383,_0x3f694a,_0x3d8b83,_0x51adf3){const _0x565347=_0x5d849d;if(!this[_0x565347(0x1db)]&&this[_0x565347(0x199)][_0x565347(0x18f)]==_0x3f694a){const _0x20c32f=this[_0x565347(0x17b)](_0x3d8b83,_0x51adf3);await this[_0x565347(0x1cb)](_0x20c32f),this[_0x565347(0x1f4)](_0x20c32f,_0x3f694a,_0x3d8b83[_0x565347(0x1b8)])||this[_0x565347(0x1c9)](_0x565347(0x16d));}}async[_0x5d849d(0x1bd)](){const _0x1ba1b3=_0x5d849d;this[_0x1ba1b3(0x144)]();const {locale:_0x57dcf2}=this[_0x1ba1b3(0x15a)];let _0x8ab176;try{_0x8ab176=await this[_0x1ba1b3(0x203)][_0x1ba1b3(0x1fd)]();}catch{const _0x279422=_0x210617(_0x57dcf2,_0x1ba1b3(0x21d));return void this[_0x1ba1b3(0x23c)](_0x279422);}const _0x412393=_0x8ab176[_0x1ba1b3(0x1b4)]||_0x8ab176[_0x1ba1b3(0x1b5)];if(this[_0x1ba1b3(0x229)]!==_0x412393[_0x1ba1b3(0x1b8)]){const _0x1eebf9=_0x210617(_0x57dcf2,_0x1ba1b3(0x214));return void this[_0x1ba1b3(0x23c)](_0x1eebf9);}await this[_0x1ba1b3(0x1f8)](this[_0x1ba1b3(0x15a)][_0x1ba1b3(0x20d)][_0x1ba1b3(0x1d4)][_0x1ba1b3(0x20f)][_0x1ba1b3(0x225)](),!0x0);}[_0x5d849d(0x144)](){const _0x593194=_0x5d849d;this[_0x593194(0x203)][_0x593194(0x1f7)](),this[_0x593194(0x220)]=[],clearTimeout(this[_0x593194(0x219)]),this[_0x593194(0x169)](this[_0x593194(0x203)]);}[_0x5d849d(0x161)](_0x4bd676){const _0x53dceb=_0x5d849d,_0x533388=this[_0x53dceb(0x15a)][_0x53dceb(0x21e)][_0x53dceb(0x1b1)](_0x29d56b);this[_0x53dceb(0x1d6)](_0x533388,_0x53dceb(0x1f6)+this[_0x53dceb(0x227)],(_0x28d0c6,{session:_0x4dc4b7})=>{const _0x1ae7ec=_0x53dceb;if(_0x4dc4b7['id']===_0x533388[_0x1ae7ec(0x15f)]){_0x28d0c6[_0x1ae7ec(0x1c0)]();const _0x2e6f21=this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1a2)](_0x1ae7ec(0x1cf))&&this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1b1)](_0x1ae7ec(0x1cf));let _0x55aedc=_0x4dc4b7[_0x1ae7ec(0x187)];_0x2e6f21&&_0x2e6f21[_0x1ae7ec(0x21f)]&&(_0x55aedc=_0x55aedc[_0x1ae7ec(0x19c)](_0x1d7620=>_0x1ae7ec(0x1bb)!==_0x1d7620)),this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1b1)](_0x1ae7ec(0x218))[_0x1ae7ec(0x176)](_0x55aedc,this[_0x1ae7ec(0x227)]);}}),_0x533388[_0x53dceb(0x180)](this[_0x53dceb(0x227)],_0x4bd676);}[_0x5d849d(0x1cd)](){const _0x205c06=_0x5d849d,_0x189314=this[_0x205c06(0x15a)][_0x205c06(0x236)][_0x205c06(0x209)];this[_0x205c06(0x15a)][_0x205c06(0x236)][_0x205c06(0x209)]=(..._0x4554d3)=>{const _0x4415a0=_0x205c06;if(!_0x4554d3[_0x4554d3[_0x4415a0(0x1f5)]-0x1][_0x4415a0(0x1fa)])throw new _0x2de0f4(_0x4415a0(0x215),this);_0x189314[_0x4415a0(0x149)](this[_0x4415a0(0x15a)][_0x4415a0(0x236)],_0x4554d3);};}[_0x5d849d(0x226)](){const _0x4754ab=_0x5d849d;this[_0x4754ab(0x15a)][_0x4754ab(0x236)]['on'](_0x4754ab(0x222),(_0x4c5b40,[_0x4f041f])=>{const _0x424660=_0x4754ab;if(this[_0x424660(0x199)][_0x424660(0x18f)])throw new _0x2de0f4(_0x424660(0x1ff),this);_0x4c5b40[_0x424660(0x1da)](),this[_0x424660(0x155)]();const _0x3d7d22=this[_0x424660(0x15a)][_0x424660(0x1e7)][_0x424660(0x1b1)](_0x424660(0x19d)),_0x55e956=this[_0x424660(0x174)](_0x4f041f,_0x3d7d22);0x0==_0x55e956[_0x424660(0x1f5)]&&_0x55e956[_0x424660(0x1be)](new _0x3e53b5(0x0)),_0x4c5b40[_0x424660(0x240)]=this[_0x424660(0x1f8)](_0x55e956)[_0x424660(0x1e9)](()=>{const _0x59d437=_0x424660;this[_0x59d437(0x15a)][_0x59d437(0x21e)][_0x59d437(0x1b1)](_0x128b01)[_0x59d437(0x1e3)](this),this[_0x59d437(0x15a)][_0x59d437(0x236)][_0x59d437(0x1e8)](_0x59d437(0x18b));})[_0x424660(0x1c6)](_0x3f8d95=>this[_0x424660(0x1c9)](_0x424660(0x1c5),_0x3f8d95))[_0x424660(0x1d0)](()=>this[_0x424660(0x1bf)]());},{'priority':_0x4754ab(0x1df)}),this[_0x4754ab(0x15a)]['on'](_0x4754ab(0x201),async(_0x5a7f5c,[_0x522aa9,_0x36c064])=>{const _0x200eaf=_0x4754ab;_0x5a7f5c[_0x200eaf(0x1da)]();const _0x13cd7e=this[_0x200eaf(0x15a)][_0x200eaf(0x20d)][_0x200eaf(0x1d4)][_0x200eaf(0x15c)](_0x522aa9);if(!this[_0x200eaf(0x232)][_0x200eaf(0x1a2)](_0x522aa9)){const _0x1560d6=_0x36c064&&_0x36c064[_0x200eaf(0x236)]?_0x36c064[_0x200eaf(0x236)]:'',_0x483249=_0x36c064&&_0x36c064[_0x200eaf(0x241)]?_0x36c064[_0x200eaf(0x241)]:{};await this[_0x200eaf(0x178)](_0x522aa9,_0x1560d6,_0x483249);}this[_0x200eaf(0x15a)][_0x200eaf(0x20d)][_0x200eaf(0x1f1)]({'isUndoable':!0x1},()=>{const _0x36fd7e=_0x200eaf;_0x13cd7e[_0x36fd7e(0x1cc)]=!0x0,this[_0x36fd7e(0x15a)][_0x36fd7e(0x20d)][_0x36fd7e(0x1d4)][_0x36fd7e(0x1bc)][_0x36fd7e(0x22d)](_0x13cd7e);});},{'priority':_0x4754ab(0x1df)});}async[_0x5d849d(0x1cb)](_0x1536fc){const _0x3be7bb=_0x5d849d,_0x205ed0=this[_0x3be7bb(0x15a)][_0x3be7bb(0x21e)][_0x3be7bb(0x1b1)](_0x3d2787),{connection:_0x6050fd}=this[_0x3be7bb(0x15a)][_0x3be7bb(0x21e)][_0x3be7bb(0x1b1)](_0x128b01),_0x23e1a5=new Set();for(const _0x383ad7 of _0x1536fc){const _0x3f08aa=_0x383ad7[_0x3be7bb(0x14e)];_0x3f08aa&&!_0x205ed0[_0x3be7bb(0x16a)](_0x3f08aa)&&_0x23e1a5[_0x3be7bb(0x175)](_0x3f08aa);}if(0x0===_0x23e1a5[_0x3be7bb(0x1dd)])return;const _0x5849b0=await _0x449b71[_0x3be7bb(0x1ea)](_0x6050fd,Array[_0x3be7bb(0x18d)](_0x23e1a5));for(const _0x450725 of _0x5849b0)_0x205ed0[_0x3be7bb(0x16a)](_0x450725['id'])||_0x205ed0[_0x3be7bb(0x200)](_0x450725);}[_0x5d849d(0x174)](_0x47da10,_0x2cfc0e={}){const _0x27f07f=_0x5d849d,_0x102149=this[_0x27f07f(0x15a)][_0x27f07f(0x20d)],_0x14166b=[];let _0x424950=0x0;const _0x241a84=_0x27f07f(0x1a0)==typeof _0x47da10?{'main':_0x47da10}:_0x47da10;for(const _0x56716d of Object[_0x27f07f(0x150)](_0x241a84)){if(!this[_0x27f07f(0x199)][_0x27f07f(0x238)][_0x27f07f(0x1a2)](_0x56716d))throw new _0x2de0f4(_0x27f07f(0x173),this);const _0x24812c=this[_0x27f07f(0x15a)][_0x27f07f(0x236)][_0x27f07f(0x15b)](_0x241a84[_0x56716d]),_0x444118=this[_0x27f07f(0x199)][_0x27f07f(0x15c)](_0x56716d),_0x136658=new _0xf57866(_0x102149[_0x27f07f(0x23a)](_0x444118,0x0),_0x24812c,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x136658);for(const [_0x2e65bf,_0x6c3a04]of _0x24812c[_0x27f07f(0x1a3)]){const _0x49a23e=_0x102149[_0x27f07f(0x1e5)](_0x102149[_0x27f07f(0x179)](_0x444118,_0x6c3a04[_0x27f07f(0x151)][_0x27f07f(0x141)][_0x27f07f(0x244)]()),_0x102149[_0x27f07f(0x179)](_0x444118,_0x6c3a04[_0x27f07f(0x1ba)][_0x27f07f(0x141)][_0x27f07f(0x244)]())),_0x168dba=new _0x1082e6(_0x2e65bf,null,_0x49a23e,_0x102149[_0x27f07f(0x1a3)],!0x0,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x168dba);}}if(_0x2cfc0e)for(const [_0x179fe5,_0x466475]of Object[_0x27f07f(0x166)](_0x2cfc0e)){const _0xa5a699=_0x102149[_0x27f07f(0x1d4)][_0x27f07f(0x15c)](_0x179fe5);if(!_0xa5a699)throw new _0x2de0f4(_0x27f07f(0x223),null);for(const [_0x537b59,_0x439b4a]of Object[_0x27f07f(0x166)](_0x466475))if(null!==_0x439b4a){const _0x11c011=new _0x53c1f7(_0xa5a699,_0x537b59,null,_0x439b4a,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x11c011);}}return _0x14166b;}async[_0x5d849d(0x178)](_0x1dd5f2,_0x5ce683,_0x14aaa5){const _0x303639=_0x5d849d;this[_0x303639(0x174)]({[_0x1dd5f2]:_0x5ce683},{[_0x1dd5f2]:_0x14aaa5})[_0x303639(0x1d5)]((_0x1403f8,_0x4502c8)=>{const _0x558a75=_0x303639;_0x1403f8[_0x558a75(0x1ab)]=this[_0x558a75(0x199)][_0x558a75(0x18f)]+_0x4502c8,_0x1403f8[_0x558a75(0x1f9)]=!0x0,this[_0x558a75(0x158)](_0x1403f8);}),this[_0x303639(0x22e)](),await this[_0x303639(0x154)]();}async[_0x5d849d(0x1e4)](_0x164600,_0xfc4f62){const _0x28a96d=_0x5d849d;let _0x2c85fa;this[_0x28a96d(0x213)]=_0x164600[_0x28a96d(0x242)];const _0x52f150=_0x164600[_0x28a96d(0x202)]&&!_0x164600[_0x28a96d(0x14c)],_0x57b5fc=_0x52f150?0x0:_0x164600[_0x28a96d(0x236)][_0x28a96d(0x1ab)];if(_0xfc4f62[_0x28a96d(0x1d5)](_0x4bafcc=>{const _0x1aa9df=_0x28a96d;_0x4bafcc[_0x1aa9df(0x1f9)]=!0x0,_0x4bafcc[_0x1aa9df(0x20e)]=_0x164600[_0x1aa9df(0x22b)],_0x4bafcc[_0x1aa9df(0x14e)]=null;}),_0x52f150)_0x2c85fa=_0xfc4f62,this[_0x28a96d(0x196)](_0x2c85fa,_0x52f150);else{if(_0x164600[_0x28a96d(0x14c)]){const _0x495d4b=this[_0x28a96d(0x174)](_0x164600[_0x28a96d(0x14c)]);this[_0x28a96d(0x199)][_0x28a96d(0x20f)][_0x28a96d(0x18f)]=-_0x495d4b[_0x28a96d(0x1f5)],_0x495d4b[_0x28a96d(0x1d5)](_0x5ab2de=>{const _0x3d4105=_0x28a96d;_0x5ab2de[_0x3d4105(0x1ab)]-=_0x495d4b[_0x3d4105(0x1f5)],_0x5ab2de[_0x3d4105(0x20e)]=_0x164600[_0x3d4105(0x22b)],_0x5ab2de[_0x3d4105(0x1f9)]=!0x0,_0x5ab2de[_0x3d4105(0x14e)]=null;}),this[_0x28a96d(0x196)](_0x495d4b,!0x0),this[_0x28a96d(0x145)][_0x28a96d(0x18f)]=-_0x495d4b[_0x28a96d(0x1f5)]+this[_0x28a96d(0x213)],this[_0x28a96d(0x1e6)](_0x495d4b);}this[_0x28a96d(0x199)][_0x28a96d(0x20f)][_0x28a96d(0x18f)]=_0x57b5fc,_0x2c85fa=this[_0x28a96d(0x17b)](_0x164600[_0x28a96d(0x236)],_0x164600[_0x28a96d(0x1e0)]),await this[_0x28a96d(0x1cb)](_0x2c85fa),this[_0x28a96d(0x196)](_0x2c85fa,_0x52f150);}_0x164600[_0x28a96d(0x1b8)]&&(this[_0x28a96d(0x22c)][_0x28a96d(0x17d)](_0x2c85fa,_0x164600[_0x28a96d(0x1b8)]),this[_0x28a96d(0x229)]=_0x164600[_0x28a96d(0x1b8)]),this[_0x28a96d(0x145)][_0x28a96d(0x18f)]=_0x57b5fc+this[_0x28a96d(0x213)],this[_0x28a96d(0x1e6)](_0x2c85fa),_0xfc4f62[_0x28a96d(0x19c)](_0x58bfb4=>{const _0x484e19=_0x28a96d,_0x11e4a7=this[_0x484e19(0x217)](_0x58bfb4);return _0x11e4a7&&!this[_0x484e19(0x232)][_0x484e19(0x1a2)](_0x11e4a7);})[_0x28a96d(0x1d5)]((_0x56f296,_0x4b27d6)=>{const _0x2d8378=_0x28a96d;_0x56f296[_0x2d8378(0x1ab)]=this[_0x2d8378(0x199)][_0x2d8378(0x18f)]+_0x4b27d6,this[_0x2d8378(0x158)](_0x56f296);}),this[_0x28a96d(0x193)]()?(this[_0x28a96d(0x1f2)]=0x0,this[_0x28a96d(0x22e)](!0x0),await this[_0x28a96d(0x154)]()):(this[_0x28a96d(0x1db)]=!0x1,this[_0x28a96d(0x1bf)]());}[_0x5d849d(0x1c9)](_0x1cb7d9,_0x12b1fc){const _0x53fea0=_0x5d849d,_0x15afdb=_0x12b1fc&&_0x12b1fc[_0x53fea0(0x1d1)];if(_0x15afdb&&_0x15afdb[_0x53fea0(0x171)](_0x53fea0(0x1e2)))throw _0x12b1fc;const _0x3d0cad=this[_0x53fea0(0x15a)][_0x53fea0(0x21e)][_0x53fea0(0x1b1)](_0x128b01);throw this[_0x53fea0(0x1db)]=!0x0,_0x3d0cad[_0x53fea0(0x1f7)](),this[_0x53fea0(0x15a)][_0x53fea0(0x1ae)](_0x53fea0(0x17c)),new _0x2de0f4(_0x1cb7d9,this[_0x53fea0(0x15a)],_0x15afdb?{'originalError':_0x15afdb}:void 0x0);}[_0x5d849d(0x158)](_0x399e7c){const _0x116e9c=_0x5d849d;this[_0x116e9c(0x189)][_0x116e9c(0x1a2)](_0x399e7c)||(this[_0x116e9c(0x189)][_0x116e9c(0x175)](_0x399e7c),this[_0x116e9c(0x220)][_0x116e9c(0x1be)](_0x399e7c),this[_0x116e9c(0x21a)]||_0x116e9c(0x170)==_0x399e7c[_0x116e9c(0x195)]&&!_0x399e7c[_0x116e9c(0x165)]||this[_0x116e9c(0x155)]());}[_0x5d849d(0x22e)](_0xc64c55=!0x1){const _0x3cc884=_0x5d849d;!_0xc64c55&&this[_0x3cc884(0x1db)]||(this[_0x3cc884(0x1db)]=!0x0,clearTimeout(this[_0x3cc884(0x219)]),this[_0x3cc884(0x219)]=setTimeout(()=>{const _0x545df8=_0x3cc884;this[_0x545df8(0x1fc)]()[_0x545df8(0x1e9)](_0x191d05=>{const _0x215630=_0x545df8;_0x191d05&&(this[_0x215630(0x1bf)](),this[_0x215630(0x1db)]=!0x1);})[_0x545df8(0x1c6)](_0x5c9ec0=>{const _0x1e30c0=_0x545df8;this[_0x1e30c0(0x1bf)](),this[_0x1e30c0(0x1db)]=!0x1,function(_0x4326a3){const _0x2730a3=_0x1e30c0;return _0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x1eb))||_0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x146))||_0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x237));}(_0x5c9ec0)||this[_0x1e30c0(0x1c9)](_0x5c9ec0[_0x1e30c0(0x1d1)],_0x5c9ec0);});},this[_0x3cc884(0x1f2)]));}[_0x5d849d(0x154)](){return new Promise(_0x58c951=>{const _0x5bb355=_0xdbcd;this['on'](_0x5bb355(0x1d7),()=>{_0x58c951();});});}async[_0x5d849d(0x1fc)](){const _0x5fa38=_0x5d849d,_0x37f052=this[_0x5fa38(0x15a)][_0x5fa38(0x21e)][_0x5fa38(0x1b1)](_0x32d7c2);if(this[_0x5fa38(0x234)]()&&(_0x37f052[_0x5fa38(0x19e)](),this[_0x5fa38(0x1f0)]=!0x1),!this[_0x5fa38(0x193)]())return!0x0;const _0x30690b=[...this[_0x5fa38(0x220)]];for(const _0x319f9a of _0x30690b)_0x319f9a[_0x5fa38(0x239)]=this[_0x5fa38(0x199)][_0x5fa38(0x20f)][_0x5fa38(0x162)](_0x319f9a);const _0x33f5d7=this[_0x5fa38(0x22c)][_0x5fa38(0x23e)](_0x30690b),_0x1c12f7=G++,_0x4119c=this[_0x5fa38(0x23b)](_0x30690b),_0x5cbbb2=await this[_0x5fa38(0x203)][_0x5fa38(0x216)](_0x4119c,_0x4119c[_0x5fa38(0x1ab)],_0x33f5d7);try{return await this[_0x5fa38(0x17e)](_0x30690b,_0x5cbbb2,_0x1c12f7);}catch(_0x423585){return this[_0x5fa38(0x1c9)](_0x5fa38(0x1ed),_0x423585);}}async[_0x5d849d(0x17e)](_0x1b5a78,_0x4c00be,_0x529c35){const _0x30b7fc=_0x5d849d;if(_0x30b7fc(0x211)in _0x4c00be)throw _0x4c00be[_0x30b7fc(0x211)];let _0x13a533=!0x1;if(_0x4c00be[_0x30b7fc(0x202)]){_0x4c00be[_0x30b7fc(0x1b8)]&&(this[_0x30b7fc(0x229)]=_0x4c00be[_0x30b7fc(0x1b8)]),this[_0x30b7fc(0x220)]=this[_0x30b7fc(0x220)][_0x30b7fc(0x19c)](_0x287e7e=>!_0x1b5a78[_0x30b7fc(0x143)](_0x287e7e));for(const _0x59daf4 of _0x1b5a78)_0x59daf4[_0x30b7fc(0x20e)]=_0x30b7fc(0x22a)in _0x4c00be&&_0x4c00be[_0x30b7fc(0x22a)]||void 0x0;K(_0x1b5a78,_0x4c00be[_0x30b7fc(0x18f)]-_0x1b5a78[_0x30b7fc(0x1f5)]),this[_0x30b7fc(0x1e6)](_0x1b5a78);const _0x4b90c5=_0x1b5a78[_0x30b7fc(0x19c)](_0x3144b4=>{const _0x345162=_0x30b7fc;if(!_0x3144b4[_0x345162(0x1f9)])return!0x1;const _0x1038f9=this[_0x345162(0x217)](_0x3144b4);return _0x1038f9&&!this[_0x345162(0x232)][_0x345162(0x1a2)](_0x1038f9);});K(_0x4b90c5,this[_0x30b7fc(0x199)][_0x30b7fc(0x18f)]),this[_0x30b7fc(0x196)](_0x4b90c5),_0x13a533=!0x0,this[_0x30b7fc(0x1f2)]=this[_0x30b7fc(0x212)];}else{const _0x2c07d9=this[_0x30b7fc(0x17b)](_0x4c00be[_0x30b7fc(0x236)],_0x4c00be[_0x30b7fc(0x1e0)])[_0x30b7fc(0x19c)](_0x5ef529=>_0x5ef529[_0x30b7fc(0x1ab)]>=this[_0x30b7fc(0x18c)]);_0x2c07d9[_0x30b7fc(0x1d5)](_0x5ebb05=>this[_0x30b7fc(0x1a5)](_0x5ebb05)),this[_0x30b7fc(0x220)]=this[_0x30b7fc(0x220)][_0x30b7fc(0x19c)](_0x1d2800=>!_0x1d2800[_0x30b7fc(0x1f9)]||!this[_0x30b7fc(0x232)][_0x30b7fc(0x1a2)](this[_0x30b7fc(0x217)](_0x1d2800))),this[_0x30b7fc(0x220)][_0x30b7fc(0x1f5)]&&K(this[_0x30b7fc(0x220)],this[_0x30b7fc(0x220)][0x0][_0x30b7fc(0x1ab)]),await this[_0x30b7fc(0x1cb)](_0x2c07d9),_0x13a533=this[_0x30b7fc(0x1f4)](_0x2c07d9,_0x4c00be[_0x30b7fc(0x18f)],_0x4c00be[_0x30b7fc(0x1b8)]),this[_0x30b7fc(0x1f2)]=Math[_0x30b7fc(0x1c7)](this[_0x30b7fc(0x1f2)]/0x2);}return _0x13a533?!this[_0x30b7fc(0x193)]()||(this[_0x30b7fc(0x22e)](!0x0),!0x1):this[_0x30b7fc(0x1c9)](_0x30b7fc(0x182));}[_0x5d849d(0x1f4)](_0x418a4c,_0x1976da,_0x3627c9){const _0x3d15f1=_0x5d849d;try{const _0x551bcb={'document':this[_0x3d15f1(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x506363,operationsB:_0x4f067b,originalOperations:_0x4eb3b0}=_0x311240(_0x418a4c,this[_0x3d15f1(0x220)],_0x551bcb);K(_0x506363,this[_0x3d15f1(0x199)][_0x3d15f1(0x18f)]),K(_0x4f067b,_0x1976da);for(const _0x442481 of _0x506363){const _0x21e1f6=_0x4eb3b0[_0x3d15f1(0x1b1)](_0x442481);_0x442481[_0x3d15f1(0x14e)]=_0x21e1f6?_0x21e1f6[_0x3d15f1(0x14e)]:null;}_0x3627c9&&(this[_0x3d15f1(0x22c)][_0x3d15f1(0x17d)](_0x418a4c,_0x3627c9),this[_0x3d15f1(0x229)]=_0x3627c9),this[_0x3d15f1(0x220)]=[..._0x4f067b],this[_0x3d15f1(0x196)](_0x506363),this[_0x3d15f1(0x1e6)](_0x418a4c);}catch(_0xd616be){return console[_0x3d15f1(0x211)](_0xd616be),!0x1;}return!0x0;}[_0x5d849d(0x196)](_0x15ff0b,_0x5245c9=!0x1){const _0x46bce1=_0x5d849d;this[_0x46bce1(0x15a)][_0x46bce1(0x20d)][_0x46bce1(0x1f1)]({'isUndoable':!0x1,'isLocal':!0x1},_0x6e9f15=>{const _0x5b2612=_0x46bce1;for(const _0x6d456c of _0x15ff0b)this[_0x5b2612(0x189)][_0x5b2612(0x175)](_0x6d456c),this[_0x5b2612(0x1a5)](_0x6d456c),_0x6e9f15[_0x5b2612(0x14b)][_0x5b2612(0x14d)](_0x6d456c),this[_0x5b2612(0x15a)][_0x5b2612(0x20d)][_0x5b2612(0x1fb)](_0x6d456c);});}[_0x5d849d(0x1a5)](_0x1bab72){const _0x17e01e=_0x5d849d,_0x1acdd4=this[_0x17e01e(0x217)](_0x1bab72);_0x1acdd4&&this[_0x17e01e(0x232)][_0x17e01e(0x175)](_0x1acdd4);}[_0x5d849d(0x217)](_0x3d5bc1){const _0x5c547a=_0x5d849d;let _0x28042b,_0x8ab51;switch(_0x3d5bc1[_0x5c547a(0x195)]){case _0x5c547a(0x1b6):_0x28042b=_0x3d5bc1[_0x5c547a(0x148)][_0x5c547a(0x1d8)];break;case _0x5c547a(0x170):if(_0x8ab51=_0x3d5bc1[_0x5c547a(0x16e)],!_0x8ab51)return null;_0x28042b=_0x8ab51[_0x5c547a(0x1d8)];break;case _0x5c547a(0x1f3):_0x28042b=_0x3d5bc1[_0x5c547a(0x1d8)];break;case _0x5c547a(0x210):_0x28042b=_0x3d5bc1[_0x5c547a(0x1b9)];break;case _0x5c547a(0x147):_0x28042b=_0x3d5bc1[_0x5c547a(0x181)][_0x5c547a(0x1d8)];break;default:return null;}return _0x28042b[_0x5c547a(0x13f)];}[_0x5d849d(0x1e6)](_0x282af2){const _0x100a20=_0x5d849d;_0x282af2[_0x100a20(0x1d5)](_0x29cdbf=>{const _0x5ce4c8=_0x100a20,_0x5e7e69=_0x29cdbf[_0x5ce4c8(0x1ca)]();_0x5e7e69[_0x5ce4c8(0x14e)]=_0x29cdbf[_0x5ce4c8(0x14e)],_0x5e7e69[_0x5ce4c8(0x1f9)]=!!_0x29cdbf[_0x5ce4c8(0x1f9)],_0x5e7e69[_0x5ce4c8(0x20e)]=_0x29cdbf[_0x5ce4c8(0x20e)],_0x5e7e69[_0x5ce4c8(0x1ab)]+=this[_0x5ce4c8(0x213)],_0x29cdbf[_0x5ce4c8(0x191)]&&this[_0x5ce4c8(0x228)][_0x5ce4c8(0x175)](_0x5e7e69),this[_0x5ce4c8(0x145)][_0x5ce4c8(0x14d)](_0x5e7e69);});}[_0x5d849d(0x23c)](_0x1a8388){const _0x4e9da0=_0x5d849d,_0x112283=this[_0x4e9da0(0x15a)][_0x4e9da0(0x21e)][_0x4e9da0(0x1b1)](_0x4e9da0(0x1c4)),_0x252a5a=this[_0x4e9da0(0x15a)][_0x4e9da0(0x1c8)];_0x1a8388||(_0x1a8388=_0x210617(_0x252a5a,_0x4e9da0(0x1ec))),_0x112283[_0x4e9da0(0x1c1)](_0x1a8388,{'title':_0x210617(_0x252a5a,_0x4e9da0(0x183)),'namespace':_0x4e9da0(0x1d3)}),this[_0x4e9da0(0x177)]=!0x0,clearTimeout(this[_0x4e9da0(0x219)]),this[_0x4e9da0(0x220)]=[],this[_0x4e9da0(0x15a)][_0x4e9da0(0x21e)][_0x4e9da0(0x1b1)](_0x128b01)[_0x4e9da0(0x1f7)]();}[_0x5d849d(0x155)](){const _0x128f52=_0x5d849d;this[_0x128f52(0x21a)]||(this[_0x128f52(0x21a)]=this[_0x128f52(0x15a)][_0x128f52(0x21e)][_0x128f52(0x1b1)](_0x251430)[_0x128f52(0x175)](_0x210617(this[_0x128f52(0x15a)][_0x128f52(0x1c8)],_0x128f52(0x19b))));}[_0x5d849d(0x1bf)](){const _0x1ea062=_0x5d849d;this[_0x1ea062(0x21a)]&&(this[_0x1ea062(0x15a)][_0x1ea062(0x21e)][_0x1ea062(0x1b1)](_0x251430)[_0x1ea062(0x1b2)](this[_0x1ea062(0x21a)]),this[_0x1ea062(0x21a)]=null);}[_0x5d849d(0x23b)](_0x7f1e5c){const _0xd5d11b=_0x5d849d,_0x478262=_0x7f1e5c[_0xd5d11b(0x23f)](_0xbbcae2=>_0xbbcae2[_0xd5d11b(0x142)]());return this[_0xd5d11b(0x1af)][_0xd5d11b(0x1ac)](_0x478262);}[_0x5d849d(0x17b)](_0x1c58b1,_0x416d15){const _0x23395a=_0x5d849d;return this[_0x23395a(0x1af)][_0x23395a(0x1a8)](_0x1c58b1)[_0x23395a(0x23f)]((_0x2c4b80,_0x3d44f5)=>{const _0x4faeaf=_0x23395a,_0x406498=_0x4faeaf(0x222)==_0x416d15[_0x3d44f5][_0x4faeaf(0x195)];if(_0x4faeaf(0x16f)==_0x2c4b80[_0x4faeaf(0x1b0)]){const _0x21398d=_0x2c4b80[_0x4faeaf(0x148)][_0x4faeaf(0x1d8)];!this[_0x4faeaf(0x199)][_0x4faeaf(0x15c)](_0x21398d)&&(this[_0x4faeaf(0x199)][_0x4faeaf(0x192)](_0x4faeaf(0x231),_0x21398d)[_0x4faeaf(0x164)]=!0x1);}const _0x1de9a9=_0x2ead6e[_0x4faeaf(0x153)](_0x2c4b80,this[_0x4faeaf(0x199)]);return _0x1de9a9[_0x4faeaf(0x239)]=_0x2c4b80[_0x4faeaf(0x239)],_0x1de9a9[_0x4faeaf(0x1f9)]=_0x406498,_0x1de9a9[_0x4faeaf(0x14e)]=_0x406498?null:_0x416d15[_0x3d44f5][_0x4faeaf(0x19a)],_0x1de9a9[_0x4faeaf(0x191)]=_0x4faeaf(0x1c3)===_0x416d15[_0x3d44f5][_0x4faeaf(0x195)],_0x1de9a9[_0x4faeaf(0x20e)]=_0x416d15[_0x3d44f5][_0x4faeaf(0x20e)],_0x1de9a9;});}[_0x5d849d(0x15d)](){const _0x5456d5=_0x5d849d;this[_0x5456d5(0x1f0)]=!0x0,this[_0x5456d5(0x234)]()?this[_0x5456d5(0x22e)]():this[_0x5456d5(0x1f0)]=!0x1;}[_0x5d849d(0x234)](){const _0x25d6d7=_0x5d849d,_0x24cba5=this[_0x25d6d7(0x15a)][_0x25d6d7(0x21e)][_0x25d6d7(0x1b1)](_0x29d56b)[_0x25d6d7(0x160)][_0x25d6d7(0x1b1)](this[_0x25d6d7(0x227)]);return!this[_0x25d6d7(0x15a)][_0x25d6d7(0x20b)]&&!!_0x24cba5&&_0x24cba5[_0x25d6d7(0x1f5)]>0x1&&this[_0x25d6d7(0x1f0)];}[_0x5d849d(0x193)](){const _0x502565=_0x5d849d;return this[_0x502565(0x220)][_0x502565(0x1f5)]>0x0||this[_0x502565(0x234)]();}}class $ extends Error{}function K(_0x27a5b3,_0x1cfcbc){const _0xc062ba=_0x5d849d;for(const _0x35ca4c of _0x27a5b3)_0x35ca4c[_0xc062ba(0x1ab)]=_0x1cfcbc++;}class J{[_0x5d849d(0x188)];[_0x5d849d(0x205)];constructor(_0x50cd40){const _0xfa9b50=_0x5d849d;this[_0xfa9b50(0x188)]=_0x50cd40,this[_0xfa9b50(0x205)]=new WeakMap();}[_0x5d849d(0x23e)](_0x3fc818){const _0x260ecd=_0x5d849d;let _0x161e35=_0x3fc818[_0x260ecd(0x1f5)];for(;_0x161e35--;){const _0x197cc8=_0x3fc818[_0x161e35];if(!this[_0x260ecd(0x188)][_0x260ecd(0x1a2)](_0x197cc8)){if(!this[_0x260ecd(0x205)][_0x260ecd(0x1a2)](_0x197cc8)){const _0x32ee48=_0x148077()[_0x260ecd(0x244)](0x1,0x12);this[_0x260ecd(0x205)][_0x260ecd(0x209)](_0x197cc8,_0x32ee48);}return this[_0x260ecd(0x205)][_0x260ecd(0x1b1)](_0x197cc8);}}}[_0x5d849d(0x17d)](_0x2dc969,_0x5aca31){const _0x5558be=_0x5d849d;if(!_0x5aca31)return;let _0x4616b3=_0x2dc969[_0x5558be(0x1f5)];for(;_0x4616b3--;){const _0x220def=_0x2dc969[_0x4616b3];this[_0x5558be(0x188)][_0x5558be(0x1a2)](_0x220def)||this[_0x5558be(0x205)][_0x5558be(0x209)](_0x220def,_0x5aca31);}}}
23
+ const _0x9b247a=_0x3497;(function(_0x13fd6d,_0x636681){const _0xf165b3=_0x3497,_0x471dba=_0x13fd6d();while(!![]){try{const _0x8ba4fe=parseInt(_0xf165b3(0x217))/0x1*(-parseInt(_0xf165b3(0x245))/0x2)+parseInt(_0xf165b3(0x24b))/0x3*(parseInt(_0xf165b3(0x181))/0x4)+-parseInt(_0xf165b3(0x223))/0x5*(-parseInt(_0xf165b3(0x199))/0x6)+-parseInt(_0xf165b3(0x184))/0x7*(-parseInt(_0xf165b3(0x1eb))/0x8)+parseInt(_0xf165b3(0x1ea))/0x9*(parseInt(_0xf165b3(0x1c3))/0xa)+parseInt(_0xf165b3(0x207))/0xb*(-parseInt(_0xf165b3(0x1f4))/0xc)+-parseInt(_0xf165b3(0x205))/0xd;if(_0x8ba4fe===_0x636681)break;else _0x471dba['push'](_0x471dba['shift']());}catch(_0x1536ee){_0x471dba['push'](_0x471dba['shift']());}}}(_0x1e26,0x9a49d));import{Plugin as _0x2bb38b,PendingActions as _0x37d0cb}from'ckeditor5/src/core.js';function _0x3497(_0x77e6f3,_0x15c653){const _0x1e26b4=_0x1e26();return _0x3497=function(_0x34972b,_0x512f09){_0x34972b=_0x34972b-0x155;let _0x3ad2fe=_0x1e26b4[_0x34972b];return _0x3ad2fe;},_0x3497(_0x77e6f3,_0x15c653);}import{CKEditorError as _0xdde06d,version as _0x2af53c,uid as _0x3cf278}from'ckeditor5/src/utils.js';import{Notification as _0x2fe3c3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x406b35,NoOperation as _0x2724dd,InsertOperation as _0xd28d92,MarkerOperation as _0x2fcc25,RootAttributeOperation as _0x19a0b2,OperationFactory as _0x2a2dea,History as _0xa3595c}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4f6702}from'./websocketgateway.js';import{Sessions as _0x1f4a5f}from'./sessions.js';function _0x1e26(){const _0x9f3b7c=['7dbgLtb','state','cloud-services-internal-error:\x20Request\x20timeout.','_compressor','requires','_handleSendingSelectionMarkers','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','toJSON','Permissions','fromJSON','multi-root-editor-root-attributes-no-root','return','addRootAttribute','_knownRootNames','realtimecollaborationclient-handleserverresponse','_operationToId','sessionId','_handleReconnectionError','_baseBufferDelay','root','384SjdCLT','code','size','batch','forEach','view','affectsData','rtc-offline','compress','high','has','PENDING_ACTION_SENDING_DATA','_handleExternalOperations','operationsReceived','wereChangesApplied','_knownOperations','_connectService','baseVersion','__className','isEnabled','_offset','_applyOperationsSet','permissions','startsWith','change:range','rootsAttributes','createRoot','targetPosition','unregister','_handleInitialConnectionData','_currentBufferDelay','editing','cs:removeUser','collaboration','_authorId','init','realtimecollaborationclient-init-non-existent-root','type','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.','_shouldSendUpdate','stop','disconnected','10Mveelr','config','loadRoot','finally','_ignoredOperations','clone','disconnect','isUndoneOperation','end','wasUndone','attributes','selection','CommentsOnly','newRange','destroy','sessionAdd:','currentDocumentSession','off','affectedSelectable','setIdForTheLastOperation','isReadOnly','createRange','model','directChange','enableReadOnlyMode','_bufferRootLoad','_lastSyncedOperationId','RealTimeCollaborationClient','sessionCreatedAt','reconnect','data','getConnectedSessions','suppressErrorInCollaboration','_document','setPermissions','addRoot','realtimecollaborationclient-error','enqueueChange','sendOperations','7401915YKXcmr','5424488QlYEBm','history','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_disconnectService','showWarning','catch','CollaborativeEditingService','_refreshUserSelectionMarkers','72fFGqBu','then','isPremiumPlugin','connected','_addKnownRoot','remove','editor','reconnection:\x20flushed\x20session','userId','collaboration.channelId','_sendBufferedOperationsDelayed','_isConnected','markers','getUser','set','metadata','decompress','5597293HoMiuk','_isDisconnection','920656ECiwkt','slice','serverHistory','_channelId','realtimecollaborationclient-init-service-internal-error','_saveOperationInBuffer','add','_isAttached','getDocumentDetails','change:_isPendingUpdate','roots','_disconnectionOperations','rootName','stopListening','register','addToReconnectionStack','39lTVbQv','bind','_initThrowingOnDataSet','_waitUntilSynced','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleServerResponse','_sendBufferedOperations','_initSessionsHandling','realtimecollaborationclient-init-session-connection-error','6755aodWqd','addUser','createPositionFromPath','realtimecollaborationclient-init-service-incorrect-server-operation','_clearPendingAction','differ','_isEditingAllowed','getOperations','start','_connectAfterSessionHasBeenFlushed','document','realtimecollaborationclient-sendbufferedoperations','rtc-destroyed','ready','InsertOperation','apply','_service','connect','pluginName','realtimecollaborationclient','lastOperationId','applyOperation','_fetchMissingUsers','plugins','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayId','disableReadOnlyMode','collaboration-missing-channelid','from','document:write','_handleReconnectionResponse','isOfficialPlugin','createUserMarkerOperations','cloudDocumentVersion','39174IpDHns','409','cloudServices.bundleVersion','_getOperationsFromInitData','_pendingAction','addOperation','19347nLKwaT','string','lastSyncVersion','removeFromReconnectionStack','includes','_isLoaded','lastDocumentSession','_updateServerHistory','_bufferedOperations','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.','Synchronization\x20issue','marker','realtimecollaborationclient-init-document-already-initialized','_loadRoot','_handleReceivedOperations','connection','reset','404','change:hasDomSelection','length','entries','_setUpDataInit','_operationIdentifier','getRoot','change:_isEditingAllowed','Notification','_hasSelectionChanged','get','_isPendingUpdate','offset','_isInit','locale','define','getIdOfTheLastOperation','initData','push','_lastServerVersion','keys','cloud-services-internal-error:\x20Not\x20connected.','listenTo','getMany','parse','real-time-collaboration','_setPendingAction','$root','isDocumentOperation','_hasSynchronizationProblem','message','_decompressOperations','getOperationAuthor','insert','_compressOperations','channelSessions','createdAt','filter','version','mySessionId','error','createPositionAt','map','_crash','_shouldSendSelectionUpdate','move','460FMEikE','_getAffectedRoot','path'];_0x1e26=function(){return _0x9f3b7c;};return _0x1e26();}import{UserMarkers as _0x215b9f}from'./usermarkers.js';import{getTranslation as _0x1dd505}from'../common-translations.js';import{Compressor as _0x40395e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5cac44}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x43d45a,CollaborativeEditingService as _0x5e6a2f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x2bb38b{static [_0x9b247a(0x1f2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5e6a2f)());[_0x9b247a(0x1ad)];[_0x9b247a(0x195)];[_0x9b247a(0x209)];[_0x9b247a(0x20a)];[_0x9b247a(0x233)];[_0x9b247a(0x1e4)];[_0x9b247a(0x187)];[_0x9b247a(0x253)];[_0x9b247a(0x1a8)];[_0x9b247a(0x192)];[_0x9b247a(0x249)];[_0x9b247a(0x15c)];[_0x9b247a(0x23c)];[_0x9b247a(0x197)];[_0x9b247a(0x1b7)];[_0x9b247a(0x1dd)];[_0x9b247a(0x212)];[_0x9b247a(0x158)];static get[_0x9b247a(0x188)](){return[_0x4f6702,_0x1f4a5f,_0x215b9f,_0x37d0cb,_0x5cac44,_0x2fe3c3];}static get[_0x9b247a(0x235)](){const _0x2fd3ae=_0x9b247a;return _0x2fd3ae(0x1de);}static get[_0x9b247a(0x242)](){return!0x0;}static get[_0x9b247a(0x1f6)](){return!0x0;}get[_0x9b247a(0x244)](){const _0x14471=_0x9b247a;return this[_0x14471(0x166)]+this[_0x14471(0x1ad)];}get[_0x9b247a(0x166)](){const _0x3e9223=_0x9b247a;return this[_0x3e9223(0x209)][_0x3e9223(0x179)]-this[_0x3e9223(0x1ad)];}get[_0x9b247a(0x24d)](){const _0x405237=_0x9b247a,_0x48b615=this[_0x405237(0x209)][_0x405237(0x22a)]();for(let _0x528b7d=_0x48b615[_0x405237(0x155)]-0x1;_0x528b7d>=0x0;_0x528b7d--){const _0x36fa36=_0x48b615[_0x528b7d];if(!this[_0x405237(0x212)][_0x405237(0x1a3)](_0x36fa36))return _0x36fa36[_0x405237(0x1aa)]+0x1-this[_0x405237(0x1ad)];}return 0x0;}constructor(_0x14d096){const _0x424c1d=_0x9b247a;if(super(_0x14d096),this[_0x424c1d(0x1ad)]=0x0,this[_0x424c1d(0x195)]=null,this[_0x424c1d(0x209)]=new _0xa3595c(),this[_0x424c1d(0x1fa)][_0x424c1d(0x1c4)][_0x424c1d(0x162)](_0x424c1d(0x1ba),{}),this[_0x424c1d(0x20a)]=this[_0x424c1d(0x1fa)][_0x424c1d(0x1c4)][_0x424c1d(0x15d)](_0x424c1d(0x1fd)),!this[_0x424c1d(0x20a)])throw new _0xdde06d(_0x424c1d(0x23e),this);const _0x2c50ae=_0x14d096[_0x424c1d(0x1c4)][_0x424c1d(0x15d)](_0x424c1d(0x247))||_0x2af53c;this[_0x424c1d(0x233)]=new RealTimeCollaborationClient[(_0x424c1d(0x1f2))](_0x2c50ae,this[_0x424c1d(0x20a)]),this[_0x424c1d(0x1e4)]=this[_0x424c1d(0x1fa)][_0x424c1d(0x1d9)][_0x424c1d(0x22d)],this[_0x424c1d(0x187)]=new _0x40395e(),this[_0x424c1d(0x253)]=[],this[_0x424c1d(0x1a8)]=new WeakSet(),this[_0x424c1d(0x192)]=new Set(),this[_0x424c1d(0x202)](_0x424c1d(0x15e),!0x1),this[_0x424c1d(0x202)](_0x424c1d(0x170),!0x1),this[_0x424c1d(0x249)]=null,this[_0x424c1d(0x15c)]=!0x1,this[_0x424c1d(0x23c)]=null,this[_0x424c1d(0x197)]=0x12c,this[_0x424c1d(0x1b7)]=this[_0x424c1d(0x197)],this[_0x424c1d(0x1dd)]=null,this[_0x424c1d(0x212)]=new WeakSet(),this[_0x424c1d(0x158)]=new OperationIdentifier(this[_0x424c1d(0x212)]);}[_0x9b247a(0x1bc)](){const _0x10bad2=_0x9b247a,_0x133de8=this[_0x10bad2(0x1fa)],_0x49e581=_0x133de8[_0x10bad2(0x23a)][_0x10bad2(0x15d)](_0x5cac44),_0x47ac64=_0x133de8[_0x10bad2(0x23a)][_0x10bad2(0x15d)](_0x4f6702);this[_0x10bad2(0x169)](_0x49e581,_0x10bad2(0x173),(_0x290a8e,_0x49734d)=>{const _0x6bd73d=_0x10bad2,_0x3a9567=_0x49734d[0x0];_0x3a9567[_0x6bd73d(0x1bb)]&&(_0x290a8e[_0x6bd73d(0x190)]=_0x49e581[_0x6bd73d(0x201)](_0x3a9567[_0x6bd73d(0x1bb)]),_0x290a8e[_0x6bd73d(0x1c1)]()),null===_0x3a9567[_0x6bd73d(0x1bb)]&&(_0x290a8e[_0x6bd73d(0x190)]=null,_0x290a8e[_0x6bd73d(0x1c1)]());},{'priority':_0x10bad2(0x1a2)}),this[_0x10bad2(0x169)](_0x133de8[_0x10bad2(0x1d9)][_0x10bad2(0x22d)][_0x10bad2(0x1ce)],_0x10bad2(0x1b1),(_0x572a26,_0x1ca9f7)=>{const _0xbceaa2=_0x10bad2;_0x1ca9f7[_0xbceaa2(0x1da)]&&this[_0xbceaa2(0x1f3)]();}),this[_0x10bad2(0x169)](_0x133de8[_0x10bad2(0x1b8)][_0x10bad2(0x19e)],_0x10bad2(0x25d),()=>{const _0x5b1067=_0x10bad2;this[_0x5b1067(0x1f3)]();}),this[_0x10bad2(0x219)](),_0x133de8[_0x10bad2(0x1d9)]['on'](_0x10bad2(0x238),(_0x2f9d4c,_0x371f39)=>{const _0x334766=_0x10bad2,_0x5bcf68=_0x371f39[0x0];_0x5bcf68[_0x334766(0x16f)]&&(this[_0x334766(0x20c)](_0x5bcf68),this[_0x334766(0x1c0)]()&&this[_0x334766(0x1fe)]());}),this[_0x10bad2(0x157)](),this[_0x10bad2(0x218)](_0x10bad2(0x229))['to'](_0x47ac64,_0x10bad2(0x185),this,_0x10bad2(0x170),(_0x559b7b,_0xeba375)=>_0x10bad2(0x1f7)===_0x559b7b&&!_0xeba375),this['on'](_0x10bad2(0x15a),()=>{const _0x927642=_0x10bad2;this[_0x927642(0x229)]?_0x133de8[_0x927642(0x23d)](_0x927642(0x1a0)):_0x133de8[_0x927642(0x1db)](_0x927642(0x1a0));}),this[_0x10bad2(0x229)]?_0x133de8[_0x10bad2(0x23d)](_0x10bad2(0x1a0)):_0x133de8[_0x10bad2(0x1db)](_0x10bad2(0x1a0)),this[_0x10bad2(0x202)](_0x10bad2(0x1ff),!0x1);}async[_0x9b247a(0x1e0)](){const _0x1db26d=_0x9b247a,_0xf3ef41=this[_0x1db26d(0x1fa)][_0x1db26d(0x23a)][_0x1db26d(0x15d)](_0x1f4a5f),_0x485409=this[_0x1db26d(0x1fa)][_0x1db26d(0x23a)][_0x1db26d(0x15d)](_0x4f6702);try{this[_0x1db26d(0x15e)]=!0x0,_0xf3ef41[_0x1db26d(0x1b5)](this[_0x1db26d(0x20a)]);const _0x1a9a3e=await this[_0x1db26d(0x233)][_0x1db26d(0x1e0)](_0x485409[_0x1db26d(0x25a)],this[_0x1db26d(0x24d)]);await this[_0x1db26d(0x241)](_0x1a9a3e)&&(this[_0x1db26d(0x15e)]=!0x1,this[_0x1db26d(0x227)]());const _0x11aaaa=await this[_0x1db26d(0x233)][_0x1db26d(0x1e2)]();_0xf3ef41[_0x1db26d(0x215)](this[_0x1db26d(0x20a)],_0x11aaaa),this[_0x1db26d(0x189)](),this[_0x1db26d(0x1ff)]=!0x0;}catch(_0x271629){if(function(_0x48b230){const _0xa8045b=_0x1db26d;return _0xa8045b(0x25c)===_0x48b230[_0xa8045b(0x19a)];}(_0x271629)&&this[_0x1db26d(0x195)])await this[_0x1db26d(0x22c)]();else{if(function(_0x4b4d9d){const _0x438aab=_0x1db26d;return _0x438aab(0x246)===_0x4b4d9d[_0x438aab(0x19a)];}(_0x271629)){const _0x3054d0=_0x1dd505(this[_0x1db26d(0x1fa)][_0x1db26d(0x161)],_0x1db26d(0x21c));this[_0x1db26d(0x196)](_0x3054d0);}else{if(!(_0x271629 instanceof ReconnectionError))throw _0x271629;this[_0x1db26d(0x196)]();}}}}[_0x9b247a(0x1d1)](){const _0x51e502=_0x9b247a,_0x3883fb=this[_0x51e502(0x1fa)][_0x51e502(0x23a)][_0x51e502(0x15d)](_0x4f6702),_0x52d175=this[_0x51e502(0x1fa)][_0x51e502(0x23a)][_0x51e502(0x15d)](_0x1f4a5f);this[_0x51e502(0x1fa)][_0x51e502(0x1db)](_0x51e502(0x22f)),_0x52d175[_0x51e502(0x176)][_0x51e502(0x1a3)](this[_0x51e502(0x20a)])&&_0x52d175[_0x51e502(0x1b5)](this[_0x51e502(0x20a)]),_0x3883fb[_0x51e502(0x24e)](this),this[_0x51e502(0x1ef)](),super[_0x51e502(0x1d1)]();}async[_0x9b247a(0x241)](_0x49fc54){const _0x58538a=_0x9b247a;if(this[_0x58538a(0x195)]!==_0x49fc54[_0x58538a(0x195)]&&this[_0x58538a(0x1dd)]!==_0x49fc54[_0x58538a(0x237)])throw new ReconnectionError();return this[_0x58538a(0x195)]=_0x49fc54[_0x58538a(0x195)],this[_0x58538a(0x21f)]([],{..._0x49fc54,'wereChangesApplied':!0x1,'data':_0x49fc54[_0x58538a(0x1e1)]},_0x58538a(0x1e0));}async[_0x9b247a(0x1a9)](_0x4033f2,_0x57270f=!0x1){const _0x1b20f3=_0x9b247a,{connection:_0x1ef155}=this[_0x1b20f3(0x1fa)][_0x1b20f3(0x23a)][_0x1b20f3(0x15d)](_0x4f6702);RealTimeCollaborationClient[_0x1b20f3(0x1f2)][_0x1b20f3(0x1e2)](_0x1ef155,this[_0x1b20f3(0x20a)])[_0x1b20f3(0x1f5)](_0x38ea06=>this[_0x1b20f3(0x221)](_0x38ea06))[_0x1b20f3(0x1f1)](_0x194382=>{const _0x19520e=_0x1b20f3;this[_0x19520e(0x17e)](_0x19520e(0x222),_0x194382);}),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x1a6),this[_0x1b20f3(0x259)][_0x1b20f3(0x218)](this)),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x17b),(_0x1bd6ae,_0x5bc245)=>{const _0x1e6911=_0x1b20f3;this[_0x1e6911(0x17e)](_0x1e6911(0x20b),_0x5bc245);}),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x1c2),()=>{const _0x9c9d26=_0x1b20f3;this[_0x9c9d26(0x1ff)]=!0x1;});const _0x2454fe=this[_0x1b20f3(0x158)][_0x1b20f3(0x163)](_0x4033f2);this[_0x1b20f3(0x15e)]=!0x0;const _0xb33023=await this[_0x1b20f3(0x233)][_0x1b20f3(0x234)](_0x1ef155,this[_0x1b20f3(0x175)](_0x4033f2),_0x2454fe);if(this[_0x1b20f3(0x195)]=_0xb33023[_0x1b20f3(0x195)],_0x57270f){if(!_0xb33023[_0x1b20f3(0x1a7)])return void this[_0x1b20f3(0x196)]();this[_0x1b20f3(0x15e)]=!0x1,this[_0x1b20f3(0x227)](),this[_0x1b20f3(0x209)][_0x1b20f3(0x25b)](),this[_0x1b20f3(0x1ad)]=_0xb33023[_0x1b20f3(0x15f)],this[_0x1b20f3(0x209)][_0x1b20f3(0x179)]=this[_0x1b20f3(0x1ad)],await this[_0x1b20f3(0x21f)](_0x4033f2,_0xb33023,_0x1b20f3(0x1fb));}else await this[_0x1b20f3(0x1b6)](_0xb33023,_0x4033f2);this[_0x1b20f3(0x189)](),this[_0x1b20f3(0x1ff)]=!0x0;}[_0x9b247a(0x189)](){const _0x5c164a=_0x9b247a,_0x1cdb39=this[_0x5c164a(0x1fa)][_0x5c164a(0x23a)][_0x5c164a(0x15d)](_0x1f4a5f),_0x29e6c6=this[_0x5c164a(0x1fa)][_0x5c164a(0x23a)][_0x5c164a(0x15d)](_0x215b9f),_0x5862f6=_0x1cdb39[_0x5c164a(0x176)][_0x5c164a(0x15d)](this[_0x5c164a(0x20a)]);_0x5862f6&&_0x5862f6[_0x5c164a(0x155)]>0x1?_0x29e6c6[_0x5c164a(0x243)]():this[_0x5c164a(0x169)](_0x1cdb39,_0x5c164a(0x1d2)+this[_0x5c164a(0x20a)],()=>{const _0x195e6a=_0x5c164a;0x2===_0x1cdb39[_0x195e6a(0x176)][_0x195e6a(0x15d)](this[_0x195e6a(0x20a)])[_0x195e6a(0x155)]&&_0x29e6c6[_0x195e6a(0x243)]();});}async[_0x9b247a(0x259)](_0x1dbcd2,_0x3e6fb4,_0x5d7bf3,_0x3b347e){const _0x55a92a=_0x9b247a;if(!this[_0x55a92a(0x15e)]&&this[_0x55a92a(0x1e4)][_0x55a92a(0x179)]==_0x3e6fb4){const _0x4cdaa4=this[_0x55a92a(0x172)](_0x5d7bf3,_0x3b347e);await this[_0x55a92a(0x239)](_0x4cdaa4),this[_0x55a92a(0x1a5)](_0x4cdaa4,_0x3e6fb4,_0x5d7bf3[_0x55a92a(0x237)])||this[_0x55a92a(0x17e)](_0x55a92a(0x226));}}async[_0x9b247a(0x22c)](){const _0x583eae=_0x9b247a;this[_0x583eae(0x1ef)]();const {locale:_0x3838e2}=this[_0x583eae(0x1fa)];let _0x55ec87;try{_0x55ec87=await this[_0x583eae(0x233)][_0x583eae(0x20f)]();}catch{const _0x581006=_0x1dd505(_0x3838e2,_0x583eae(0x21e));return void this[_0x583eae(0x196)](_0x581006);}const _0xbb5042=_0x55ec87[_0x583eae(0x1d3)]||_0x55ec87[_0x583eae(0x251)];if(this[_0x583eae(0x1dd)]!==_0xbb5042[_0x583eae(0x237)]){const _0x1aa662=_0x1dd505(_0x3838e2,_0x583eae(0x1bf));return void this[_0x583eae(0x196)](_0x1aa662);}await this[_0x583eae(0x1a9)](this[_0x583eae(0x1fa)][_0x583eae(0x1d9)][_0x583eae(0x22d)][_0x583eae(0x1ec)][_0x583eae(0x22a)](),!0x0);}[_0x9b247a(0x1ef)](){const _0x2f7051=_0x9b247a;this[_0x2f7051(0x233)][_0x2f7051(0x1c9)](),this[_0x2f7051(0x253)]=[],clearTimeout(this[_0x2f7051(0x23c)]),this[_0x2f7051(0x214)](this[_0x2f7051(0x233)]);}[_0x9b247a(0x221)](_0xb88bb){const _0x351a45=_0x9b247a,_0x39ff88=this[_0x351a45(0x1fa)][_0x351a45(0x23a)][_0x351a45(0x15d)](_0x1f4a5f);this[_0x351a45(0x169)](_0x39ff88,_0x351a45(0x1d2)+this[_0x351a45(0x20a)],(_0x1f51f7,{session:_0x3defaf})=>{const _0x377eb6=_0x351a45;if(_0x3defaf['id']===_0x39ff88[_0x377eb6(0x17a)]){_0x1f51f7[_0x377eb6(0x1d4)]();const _0x550972=this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x1a3)](_0x377eb6(0x1cf))&&this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x15d)](_0x377eb6(0x1cf));let _0x10c0b=_0x3defaf[_0x377eb6(0x1af)];_0x550972&&_0x550972[_0x377eb6(0x1ac)]&&(_0x10c0b=_0x10c0b[_0x377eb6(0x178)](_0x32c5f5=>_0x377eb6(0x240)!==_0x32c5f5)),this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x15d)](_0x377eb6(0x18d))[_0x377eb6(0x1e5)](_0x10c0b,this[_0x377eb6(0x20a)]);}}),_0x39ff88[_0x351a45(0x215)](this[_0x351a45(0x20a)],_0xb88bb);}[_0x9b247a(0x219)](){const _0x3ab9f4=_0x9b247a,_0x4498f9=this[_0x3ab9f4(0x1fa)][_0x3ab9f4(0x1e1)][_0x3ab9f4(0x202)];this[_0x3ab9f4(0x1fa)][_0x3ab9f4(0x1e1)][_0x3ab9f4(0x202)]=(..._0x49e95e)=>{const _0x35bfd8=_0x3ab9f4;if(!_0x49e95e[_0x49e95e[_0x35bfd8(0x155)]-0x1][_0x35bfd8(0x1e3)])throw new _0xdde06d(_0x35bfd8(0x18b),this);_0x4498f9[_0x35bfd8(0x232)](this[_0x35bfd8(0x1fa)][_0x35bfd8(0x1e1)],_0x49e95e);};}[_0x9b247a(0x157)](){const _0x5b18ff=_0x9b247a;this[_0x5b18ff(0x1fa)][_0x5b18ff(0x1e1)]['on'](_0x5b18ff(0x1bc),(_0x3d8189,[_0x487f36])=>{const _0x4fd6b2=_0x5b18ff;if(this[_0x4fd6b2(0x1e4)][_0x4fd6b2(0x179)])throw new _0xdde06d(_0x4fd6b2(0x257),this);_0x3d8189[_0x4fd6b2(0x1c1)](),this[_0x4fd6b2(0x16d)]();const _0x9a95e3=this[_0x4fd6b2(0x1fa)][_0x4fd6b2(0x1c4)][_0x4fd6b2(0x15d)](_0x4fd6b2(0x1b2)),_0x566fbe=this[_0x4fd6b2(0x248)](_0x487f36,_0x9a95e3);0x0==_0x566fbe[_0x4fd6b2(0x155)]&&_0x566fbe[_0x4fd6b2(0x165)](new _0x2724dd(0x0)),_0x3d8189[_0x4fd6b2(0x190)]=this[_0x4fd6b2(0x1a9)](_0x566fbe)[_0x4fd6b2(0x1f5)](()=>{const _0x4ef3c2=_0x4fd6b2;this[_0x4ef3c2(0x1fa)][_0x4ef3c2(0x23a)][_0x4ef3c2(0x15d)](_0x4f6702)[_0x4ef3c2(0x216)](this),this[_0x4ef3c2(0x1fa)][_0x4ef3c2(0x1e1)][_0x4ef3c2(0x21b)](_0x4ef3c2(0x230));})[_0x4fd6b2(0x1f1)](_0x21eb79=>this[_0x4fd6b2(0x17e)](_0x4fd6b2(0x23b),_0x21eb79))[_0x4fd6b2(0x1c6)](()=>this[_0x4fd6b2(0x227)]());},{'priority':_0x5b18ff(0x1a2)}),this[_0x5b18ff(0x1fa)]['on'](_0x5b18ff(0x1c5),async(_0x14741c,[_0x4264c7,_0x1839fa])=>{const _0x2fef13=_0x5b18ff;_0x14741c[_0x2fef13(0x1c1)]();const _0x33c32b=this[_0x2fef13(0x1fa)][_0x2fef13(0x1d9)][_0x2fef13(0x22d)][_0x2fef13(0x159)](_0x4264c7);if(!this[_0x2fef13(0x192)][_0x2fef13(0x1a3)](_0x4264c7)){const _0x120565=_0x1839fa&&_0x1839fa[_0x2fef13(0x1e1)]?_0x1839fa[_0x2fef13(0x1e1)]:'',_0x2b4258=_0x1839fa&&_0x1839fa[_0x2fef13(0x1cd)]?_0x1839fa[_0x2fef13(0x1cd)]:{};await this[_0x2fef13(0x258)](_0x4264c7,_0x120565,_0x2b4258);}this[_0x2fef13(0x1fa)][_0x2fef13(0x1d9)][_0x2fef13(0x1e8)]({'isUndoable':!0x1},()=>{const _0x1c886f=_0x2fef13;_0x33c32b[_0x1c886f(0x250)]=!0x0,this[_0x1c886f(0x1fa)][_0x1c886f(0x1d9)][_0x1c886f(0x22d)][_0x1c886f(0x228)][_0x1c886f(0x1dc)](_0x33c32b);});},{'priority':_0x5b18ff(0x1a2)});}async[_0x9b247a(0x239)](_0x45b3a2){const _0x3e9773=_0x9b247a,_0x53f6a4=this[_0x3e9773(0x1fa)][_0x3e9773(0x23a)][_0x3e9773(0x15d)](_0x5cac44),{connection:_0x5843be}=this[_0x3e9773(0x1fa)][_0x3e9773(0x23a)][_0x3e9773(0x15d)](_0x4f6702),_0x1059ba=new Set();for(const _0x456a21 of _0x45b3a2){const _0xe070ed=_0x456a21[_0x3e9773(0x1bb)];_0xe070ed&&!_0x53f6a4[_0x3e9773(0x201)](_0xe070ed)&&_0x1059ba[_0x3e9773(0x20d)](_0xe070ed);}if(0x0===_0x1059ba[_0x3e9773(0x19b)])return;const _0x412d6b=await _0x43d45a[_0x3e9773(0x16a)](_0x5843be,Array[_0x3e9773(0x23f)](_0x1059ba));for(const _0x4c0597 of _0x412d6b)_0x53f6a4[_0x3e9773(0x201)](_0x4c0597['id'])||_0x53f6a4[_0x3e9773(0x224)](_0x4c0597);}[_0x9b247a(0x248)](_0x5a08b0,_0x3698f5={}){const _0x45fa98=_0x9b247a,_0x3bfe40=this[_0x45fa98(0x1fa)][_0x45fa98(0x1d9)],_0x11db48=[];let _0x30c8e7=0x0;const _0x2e6f23=_0x45fa98(0x24c)==typeof _0x5a08b0?{'main':_0x5a08b0}:_0x5a08b0;for(const _0x549108 of Object[_0x45fa98(0x167)](_0x2e6f23)){if(!this[_0x45fa98(0x1e4)][_0x45fa98(0x211)][_0x45fa98(0x1a3)](_0x549108))throw new _0xdde06d(_0x45fa98(0x1bd),this);const _0x3bf6f1=this[_0x45fa98(0x1fa)][_0x45fa98(0x1e1)][_0x45fa98(0x16b)](_0x2e6f23[_0x549108]),_0x358ba8=this[_0x45fa98(0x1e4)][_0x45fa98(0x159)](_0x549108),_0x41e29e=new _0xd28d92(_0x3bfe40[_0x45fa98(0x17c)](_0x358ba8,0x0),_0x3bf6f1,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x41e29e);for(const [_0x488ee4,_0x49b591]of _0x3bf6f1[_0x45fa98(0x200)]){const _0x18e780=_0x3bfe40[_0x45fa98(0x1d8)](_0x3bfe40[_0x45fa98(0x225)](_0x358ba8,_0x49b591[_0x45fa98(0x22b)][_0x45fa98(0x183)][_0x45fa98(0x208)]()),_0x3bfe40[_0x45fa98(0x225)](_0x358ba8,_0x49b591[_0x45fa98(0x1cb)][_0x45fa98(0x183)][_0x45fa98(0x208)]())),_0x1c82b9=new _0x2fcc25(_0x488ee4,null,_0x18e780,_0x3bfe40[_0x45fa98(0x200)],!0x0,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x1c82b9);}}if(_0x3698f5)for(const [_0x5e4915,_0x5ea569]of Object[_0x45fa98(0x156)](_0x3698f5)){const _0x500b55=_0x3bfe40[_0x45fa98(0x22d)][_0x45fa98(0x159)](_0x5e4915);if(!_0x500b55)throw new _0xdde06d(_0x45fa98(0x18f),null);for(const [_0x1d8395,_0x289c7e]of Object[_0x45fa98(0x156)](_0x5ea569))if(null!==_0x289c7e){const _0x4899dc=new _0x19a0b2(_0x500b55,_0x1d8395,null,_0x289c7e,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x4899dc);}}return _0x11db48;}async[_0x9b247a(0x258)](_0x245398,_0x268f2e,_0x43dcfb){const _0x2995e2=_0x9b247a;this[_0x2995e2(0x248)]({[_0x245398]:_0x268f2e},{[_0x245398]:_0x43dcfb})[_0x2995e2(0x19d)]((_0x5a2af7,_0x856d6c)=>{const _0x23d33e=_0x2995e2;_0x5a2af7[_0x23d33e(0x1aa)]=this[_0x23d33e(0x1e4)][_0x23d33e(0x179)]+_0x856d6c,_0x5a2af7[_0x23d33e(0x160)]=!0x0,this[_0x23d33e(0x20c)](_0x5a2af7);}),this[_0x2995e2(0x1fe)](),await this[_0x2995e2(0x21a)]();}async[_0x9b247a(0x1b6)](_0x13454f,_0x5ccd0b){const _0x4f9f4f=_0x9b247a;let _0x38030c;this[_0x4f9f4f(0x1ad)]=_0x13454f[_0x4f9f4f(0x15f)];const _0xbda526=_0x13454f[_0x4f9f4f(0x1a7)]&&!_0x13454f[_0x4f9f4f(0x164)],_0x1d4221=_0xbda526?0x0:_0x13454f[_0x4f9f4f(0x1e1)][_0x4f9f4f(0x1aa)];if(_0x5ccd0b[_0x4f9f4f(0x19d)](_0x274c09=>{const _0x53fcf6=_0x4f9f4f;_0x274c09[_0x53fcf6(0x160)]=!0x0,_0x274c09[_0x53fcf6(0x177)]=_0x13454f[_0x53fcf6(0x1df)],_0x274c09[_0x53fcf6(0x1bb)]=null;}),_0xbda526)_0x38030c=_0x5ccd0b,this[_0x4f9f4f(0x1ae)](_0x38030c,_0xbda526);else{if(_0x13454f[_0x4f9f4f(0x164)]){const _0x568e5a=this[_0x4f9f4f(0x248)](_0x13454f[_0x4f9f4f(0x164)]);this[_0x4f9f4f(0x1e4)][_0x4f9f4f(0x1ec)][_0x4f9f4f(0x179)]=-_0x568e5a[_0x4f9f4f(0x155)],_0x568e5a[_0x4f9f4f(0x19d)](_0x48ebe3=>{const _0x429846=_0x4f9f4f;_0x48ebe3[_0x429846(0x1aa)]-=_0x568e5a[_0x429846(0x155)],_0x48ebe3[_0x429846(0x177)]=_0x13454f[_0x429846(0x1df)],_0x48ebe3[_0x429846(0x160)]=!0x0,_0x48ebe3[_0x429846(0x1bb)]=null;}),this[_0x4f9f4f(0x1ae)](_0x568e5a,!0x0),this[_0x4f9f4f(0x209)][_0x4f9f4f(0x179)]=-_0x568e5a[_0x4f9f4f(0x155)]+this[_0x4f9f4f(0x1ad)],this[_0x4f9f4f(0x252)](_0x568e5a);}this[_0x4f9f4f(0x1e4)][_0x4f9f4f(0x1ec)][_0x4f9f4f(0x179)]=_0x1d4221,_0x38030c=this[_0x4f9f4f(0x172)](_0x13454f[_0x4f9f4f(0x1e1)],_0x13454f[_0x4f9f4f(0x203)]),await this[_0x4f9f4f(0x239)](_0x38030c),this[_0x4f9f4f(0x1ae)](_0x38030c,_0xbda526);}_0x13454f[_0x4f9f4f(0x237)]&&(this[_0x4f9f4f(0x158)][_0x4f9f4f(0x1d6)](_0x38030c,_0x13454f[_0x4f9f4f(0x237)]),this[_0x4f9f4f(0x1dd)]=_0x13454f[_0x4f9f4f(0x237)]),this[_0x4f9f4f(0x209)][_0x4f9f4f(0x179)]=_0x1d4221+this[_0x4f9f4f(0x1ad)],this[_0x4f9f4f(0x252)](_0x38030c),_0x5ccd0b[_0x4f9f4f(0x178)](_0x184780=>{const _0x1229b4=_0x4f9f4f,_0x22ceb6=this[_0x1229b4(0x182)](_0x184780);return _0x22ceb6&&!this[_0x1229b4(0x192)][_0x1229b4(0x1a3)](_0x22ceb6);})[_0x4f9f4f(0x19d)]((_0x314b00,_0x536bf4)=>{const _0x18de45=_0x4f9f4f;_0x314b00[_0x18de45(0x1aa)]=this[_0x18de45(0x1e4)][_0x18de45(0x179)]+_0x536bf4,this[_0x18de45(0x20c)](_0x314b00);}),this[_0x4f9f4f(0x1c0)]()?(this[_0x4f9f4f(0x1b7)]=0x0,this[_0x4f9f4f(0x1fe)](!0x0),await this[_0x4f9f4f(0x21a)]()):(this[_0x4f9f4f(0x15e)]=!0x1,this[_0x4f9f4f(0x227)]());}[_0x9b247a(0x17e)](_0x54659b,_0x28360e){const _0x22adfb=_0x9b247a,_0x4298dd=_0x28360e&&_0x28360e[_0x22adfb(0x171)];if(_0x4298dd&&_0x4298dd[_0x22adfb(0x1b0)](_0x22adfb(0x236)))throw _0x28360e;const _0x5838e0=this[_0x22adfb(0x1fa)][_0x22adfb(0x23a)][_0x22adfb(0x15d)](_0x4f6702);throw this[_0x22adfb(0x15e)]=!0x0,_0x5838e0[_0x22adfb(0x1c9)](),this[_0x22adfb(0x1fa)][_0x22adfb(0x1db)](_0x22adfb(0x1e7)),new _0xdde06d(_0x54659b,this[_0x22adfb(0x1fa)],_0x4298dd?{'originalError':_0x4298dd}:void 0x0);}[_0x9b247a(0x20c)](_0x373abd){const _0x3886b7=_0x9b247a;this[_0x3886b7(0x1a8)][_0x3886b7(0x1a3)](_0x373abd)||(this[_0x3886b7(0x1a8)][_0x3886b7(0x20d)](_0x373abd),this[_0x3886b7(0x253)][_0x3886b7(0x165)](_0x373abd),this[_0x3886b7(0x249)]||_0x3886b7(0x256)==_0x373abd[_0x3886b7(0x1be)]&&!_0x373abd[_0x3886b7(0x19f)]||this[_0x3886b7(0x16d)]());}[_0x9b247a(0x1fe)](_0xc838c0=!0x1){const _0x3d52b1=_0x9b247a;!_0xc838c0&&this[_0x3d52b1(0x15e)]||(this[_0x3d52b1(0x15e)]=!0x0,clearTimeout(this[_0x3d52b1(0x23c)]),this[_0x3d52b1(0x23c)]=setTimeout(()=>{const _0x1996c6=_0x3d52b1;this[_0x1996c6(0x220)]()[_0x1996c6(0x1f5)](_0x4c37e9=>{const _0x2bfbdf=_0x1996c6;_0x4c37e9&&(this[_0x2bfbdf(0x227)](),this[_0x2bfbdf(0x15e)]=!0x1);})[_0x1996c6(0x1f1)](_0x503cf3=>{const _0x5a38dd=_0x1996c6;this[_0x5a38dd(0x227)](),this[_0x5a38dd(0x15e)]=!0x1,function(_0x33465e){const _0xf80dd1=_0x5a38dd;return _0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x168))||_0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x1ee))||_0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x186));}(_0x503cf3)||this[_0x5a38dd(0x17e)](_0x503cf3[_0x5a38dd(0x171)],_0x503cf3);});},this[_0x3d52b1(0x1b7)]));}[_0x9b247a(0x21a)](){return new Promise(_0x373284=>{const _0x26f732=_0x3497;this['on'](_0x26f732(0x210),()=>{_0x373284();});});}async[_0x9b247a(0x220)](){const _0x451d2d=_0x9b247a,_0x86d112=this[_0x451d2d(0x1fa)][_0x451d2d(0x23a)][_0x451d2d(0x15d)](_0x215b9f);if(this[_0x451d2d(0x17f)]()&&(_0x86d112[_0x451d2d(0x243)](),this[_0x451d2d(0x15c)]=!0x1),!this[_0x451d2d(0x1c0)]())return!0x0;const _0x6a97be=[...this[_0x451d2d(0x253)]];for(const _0x3ffcca of _0x6a97be)_0x3ffcca[_0x451d2d(0x1cc)]=this[_0x451d2d(0x1e4)][_0x451d2d(0x1ec)][_0x451d2d(0x1ca)](_0x3ffcca);const _0x9cb286=this[_0x451d2d(0x158)][_0x451d2d(0x163)](_0x6a97be),_0x2a09dc=Q++,_0x589b41=this[_0x451d2d(0x175)](_0x6a97be),_0x17e8eb=await this[_0x451d2d(0x233)][_0x451d2d(0x1e9)](_0x589b41,_0x589b41[_0x451d2d(0x1aa)],_0x9cb286);try{return await this[_0x451d2d(0x21f)](_0x6a97be,_0x17e8eb,_0x2a09dc);}catch(_0x3fe238){return this[_0x451d2d(0x17e)](_0x451d2d(0x22e),_0x3fe238);}}async[_0x9b247a(0x21f)](_0x3350b5,_0x6147ad,_0x2c2306){const _0x5bceeb=_0x9b247a;if(_0x5bceeb(0x17b)in _0x6147ad)throw _0x6147ad[_0x5bceeb(0x17b)];let _0xa670d2=!0x1;if(_0x6147ad[_0x5bceeb(0x1a7)]){_0x6147ad[_0x5bceeb(0x237)]&&(this[_0x5bceeb(0x1dd)]=_0x6147ad[_0x5bceeb(0x237)]),this[_0x5bceeb(0x253)]=this[_0x5bceeb(0x253)][_0x5bceeb(0x178)](_0x40914e=>!_0x3350b5[_0x5bceeb(0x24f)](_0x40914e));for(const _0x23b735 of _0x3350b5)_0x23b735[_0x5bceeb(0x177)]=_0x5bceeb(0x18a)in _0x6147ad&&_0x6147ad[_0x5bceeb(0x18a)]||void 0x0;X(_0x3350b5,_0x6147ad[_0x5bceeb(0x179)]-_0x3350b5[_0x5bceeb(0x155)]),this[_0x5bceeb(0x252)](_0x3350b5);const _0x484a27=_0x3350b5[_0x5bceeb(0x178)](_0x3be2e1=>{const _0x1b733a=_0x5bceeb;if(!_0x3be2e1[_0x1b733a(0x160)])return!0x1;const _0x5abae6=this[_0x1b733a(0x182)](_0x3be2e1);return _0x5abae6&&!this[_0x1b733a(0x192)][_0x1b733a(0x1a3)](_0x5abae6);});X(_0x484a27,this[_0x5bceeb(0x1e4)][_0x5bceeb(0x179)]),this[_0x5bceeb(0x1ae)](_0x484a27),_0xa670d2=!0x0,this[_0x5bceeb(0x1b7)]=this[_0x5bceeb(0x197)];}else{const _0x4c7860=this[_0x5bceeb(0x172)](_0x6147ad[_0x5bceeb(0x1e1)],_0x6147ad[_0x5bceeb(0x203)])[_0x5bceeb(0x178)](_0x9f5385=>_0x9f5385[_0x5bceeb(0x1aa)]>=this[_0x5bceeb(0x166)]);_0x4c7860[_0x5bceeb(0x19d)](_0x107eb1=>this[_0x5bceeb(0x1f8)](_0x107eb1)),this[_0x5bceeb(0x253)]=this[_0x5bceeb(0x253)][_0x5bceeb(0x178)](_0x2307f2=>!_0x2307f2[_0x5bceeb(0x160)]||!this[_0x5bceeb(0x192)][_0x5bceeb(0x1a3)](this[_0x5bceeb(0x182)](_0x2307f2))),this[_0x5bceeb(0x253)][_0x5bceeb(0x155)]&&X(this[_0x5bceeb(0x253)],this[_0x5bceeb(0x253)][0x0][_0x5bceeb(0x1aa)]),await this[_0x5bceeb(0x239)](_0x4c7860),_0xa670d2=this[_0x5bceeb(0x1a5)](_0x4c7860,_0x6147ad[_0x5bceeb(0x179)],_0x6147ad[_0x5bceeb(0x237)]),this[_0x5bceeb(0x1b7)]=Math[_0x5bceeb(0x21d)](this[_0x5bceeb(0x1b7)]/0x2);}return _0xa670d2?!this[_0x5bceeb(0x1c0)]()||(this[_0x5bceeb(0x1fe)](!0x0),!0x1):this[_0x5bceeb(0x17e)](_0x5bceeb(0x193));}[_0x9b247a(0x1a5)](_0x3eaba2,_0x509e19,_0x396bf7){const _0xcf906f=_0x9b247a;try{const _0x58767f={'document':this[_0xcf906f(0x1e4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1de8cf,operationsB:_0x3178d6,originalOperations:_0xdda2f9}=_0x406b35(_0x3eaba2,this[_0xcf906f(0x253)],_0x58767f);X(_0x1de8cf,this[_0xcf906f(0x1e4)][_0xcf906f(0x179)]),X(_0x3178d6,_0x509e19);for(const _0x232c8d of _0x1de8cf){const _0x5d76d6=_0xdda2f9[_0xcf906f(0x15d)](_0x232c8d);_0x232c8d[_0xcf906f(0x1bb)]=_0x5d76d6?_0x5d76d6[_0xcf906f(0x1bb)]:null;}_0x396bf7&&(this[_0xcf906f(0x158)][_0xcf906f(0x1d6)](_0x3eaba2,_0x396bf7),this[_0xcf906f(0x1dd)]=_0x396bf7),this[_0xcf906f(0x253)]=[..._0x3178d6],this[_0xcf906f(0x1ae)](_0x1de8cf),this[_0xcf906f(0x252)](_0x3eaba2);}catch(_0x5c97e4){return console[_0xcf906f(0x17b)](_0x5c97e4),!0x1;}return!0x0;}[_0x9b247a(0x1ae)](_0x4837cf,_0x39a342=!0x1){const _0x511151=_0x9b247a;this[_0x511151(0x1fa)][_0x511151(0x1d9)][_0x511151(0x1e8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x370f1a=>{const _0x5cc514=_0x511151;for(const _0x18dd76 of _0x4837cf)this[_0x5cc514(0x1a8)][_0x5cc514(0x20d)](_0x18dd76),this[_0x5cc514(0x1f8)](_0x18dd76),_0x370f1a[_0x5cc514(0x19c)][_0x5cc514(0x24a)](_0x18dd76),this[_0x5cc514(0x1fa)][_0x5cc514(0x1d9)][_0x5cc514(0x238)](_0x18dd76);});}[_0x9b247a(0x1f8)](_0x3dc559){const _0x14609f=_0x9b247a,_0x26fbd5=this[_0x14609f(0x182)](_0x3dc559);_0x26fbd5&&this[_0x14609f(0x192)][_0x14609f(0x20d)](_0x26fbd5);}[_0x9b247a(0x182)](_0x3d815d){const _0x5f0f2a=_0x9b247a;let _0x26cf94,_0x1d6391;switch(_0x3d815d[_0x5f0f2a(0x1be)]){case _0x5f0f2a(0x174):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1ed)][_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x256):if(_0x1d6391=_0x3d815d[_0x5f0f2a(0x1d0)],!_0x1d6391)return null;_0x26cf94=_0x1d6391[_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x191):_0x26cf94=_0x3d815d[_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x1e6):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1d5)];break;case _0x5f0f2a(0x180):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1b4)][_0x5f0f2a(0x198)];break;default:return null;}return _0x26cf94[_0x5f0f2a(0x213)];}[_0x9b247a(0x252)](_0x2e6c49){const _0xdc3d25=_0x9b247a;_0x2e6c49[_0xdc3d25(0x19d)](_0x89dd78=>{const _0x4e12c1=_0xdc3d25,_0x3af3b5=_0x89dd78[_0x4e12c1(0x1c8)]();_0x3af3b5[_0x4e12c1(0x1bb)]=_0x89dd78[_0x4e12c1(0x1bb)],_0x3af3b5[_0x4e12c1(0x160)]=!!_0x89dd78[_0x4e12c1(0x160)],_0x3af3b5[_0x4e12c1(0x177)]=_0x89dd78[_0x4e12c1(0x177)],_0x3af3b5[_0x4e12c1(0x1aa)]+=this[_0x4e12c1(0x1ad)],_0x89dd78[_0x4e12c1(0x206)]&&this[_0x4e12c1(0x212)][_0x4e12c1(0x20d)](_0x3af3b5),this[_0x4e12c1(0x209)][_0x4e12c1(0x24a)](_0x3af3b5);});}[_0x9b247a(0x196)](_0x20bd64){const _0x421685=_0x9b247a,_0x39cd0d=this[_0x421685(0x1fa)][_0x421685(0x23a)][_0x421685(0x15d)](_0x421685(0x15b)),_0x1363fa=this[_0x421685(0x1fa)][_0x421685(0x161)];_0x20bd64||(_0x20bd64=_0x1dd505(_0x1363fa,_0x421685(0x254))),_0x39cd0d[_0x421685(0x1f0)](_0x20bd64,{'title':_0x1dd505(_0x1363fa,_0x421685(0x255)),'namespace':_0x421685(0x16c)}),this[_0x421685(0x170)]=!0x0,clearTimeout(this[_0x421685(0x23c)]),this[_0x421685(0x253)]=[],this[_0x421685(0x1fa)][_0x421685(0x23a)][_0x421685(0x15d)](_0x4f6702)[_0x421685(0x1c9)]();}[_0x9b247a(0x16d)](){const _0x5b5ff1=_0x9b247a;this[_0x5b5ff1(0x249)]||(this[_0x5b5ff1(0x249)]=this[_0x5b5ff1(0x1fa)][_0x5b5ff1(0x23a)][_0x5b5ff1(0x15d)](_0x37d0cb)[_0x5b5ff1(0x20d)](_0x1dd505(this[_0x5b5ff1(0x1fa)][_0x5b5ff1(0x161)],_0x5b5ff1(0x1a4))));}[_0x9b247a(0x227)](){const _0x5bd6e4=_0x9b247a;this[_0x5bd6e4(0x249)]&&(this[_0x5bd6e4(0x1fa)][_0x5bd6e4(0x23a)][_0x5bd6e4(0x15d)](_0x37d0cb)[_0x5bd6e4(0x1f9)](this[_0x5bd6e4(0x249)]),this[_0x5bd6e4(0x249)]=null);}[_0x9b247a(0x175)](_0x15e254){const _0x278f5c=_0x9b247a,_0x14a2eb=_0x15e254[_0x278f5c(0x17d)](_0x406c5f=>_0x406c5f[_0x278f5c(0x18c)]());return this[_0x278f5c(0x187)][_0x278f5c(0x1a1)](_0x14a2eb);}[_0x9b247a(0x172)](_0x965600,_0x5c65d8){const _0x436ad2=_0x9b247a;return this[_0x436ad2(0x187)][_0x436ad2(0x204)](_0x965600)[_0x436ad2(0x17d)]((_0x37c1f9,_0x31a5ec)=>{const _0x12e524=_0x436ad2,_0x3d5230=_0x12e524(0x1bc)==_0x5c65d8[_0x31a5ec][_0x12e524(0x1be)];if(_0x12e524(0x231)==_0x37c1f9[_0x12e524(0x1ab)]){const _0xf96722=_0x37c1f9[_0x12e524(0x1ed)][_0x12e524(0x198)];!this[_0x12e524(0x1e4)][_0x12e524(0x159)](_0xf96722)&&(this[_0x12e524(0x1e4)][_0x12e524(0x1b3)](_0x12e524(0x16e),_0xf96722)[_0x12e524(0x20e)]=!0x1);}const _0x1517c8=_0x2a2dea[_0x12e524(0x18e)](_0x37c1f9,this[_0x12e524(0x1e4)]);return _0x1517c8[_0x12e524(0x1cc)]=_0x37c1f9[_0x12e524(0x1cc)],_0x1517c8[_0x12e524(0x160)]=_0x3d5230,_0x1517c8[_0x12e524(0x1bb)]=_0x3d5230?null:_0x5c65d8[_0x31a5ec][_0x12e524(0x1fc)],_0x1517c8[_0x12e524(0x206)]=_0x12e524(0x1b9)===_0x5c65d8[_0x31a5ec][_0x12e524(0x1be)],_0x1517c8[_0x12e524(0x177)]=_0x5c65d8[_0x31a5ec][_0x12e524(0x177)],_0x1517c8;});}[_0x9b247a(0x1f3)](){const _0x54eebe=_0x9b247a;this[_0x54eebe(0x15c)]=!0x0,this[_0x54eebe(0x17f)]()?this[_0x54eebe(0x1fe)]():this[_0x54eebe(0x15c)]=!0x1;}[_0x9b247a(0x17f)](){const _0x4c611f=_0x9b247a,_0x149129=this[_0x4c611f(0x1fa)][_0x4c611f(0x23a)][_0x4c611f(0x15d)](_0x1f4a5f)[_0x4c611f(0x176)][_0x4c611f(0x15d)](this[_0x4c611f(0x20a)]);return!this[_0x4c611f(0x1fa)][_0x4c611f(0x1d7)]&&!!_0x149129&&_0x149129[_0x4c611f(0x155)]>0x1&&this[_0x4c611f(0x15c)];}[_0x9b247a(0x1c0)](){const _0x5e785c=_0x9b247a;return this[_0x5e785c(0x253)][_0x5e785c(0x155)]>0x0||this[_0x5e785c(0x17f)]();}}class ReconnectionError extends Error{}function X(_0x4f76c4,_0x28d432){const _0x505361=_0x9b247a;for(const _0x57b2dc of _0x4f76c4)_0x57b2dc[_0x505361(0x1aa)]=_0x28d432++;}class OperationIdentifier{[_0x9b247a(0x1c7)];[_0x9b247a(0x194)];constructor(_0x1c734d){const _0x3b4672=_0x9b247a;this[_0x3b4672(0x1c7)]=_0x1c734d,this[_0x3b4672(0x194)]=new WeakMap();}[_0x9b247a(0x163)](_0x3aef21){const _0xa1b9f4=_0x9b247a;let _0x3bfeb2=_0x3aef21[_0xa1b9f4(0x155)];for(;_0x3bfeb2--;){const _0x56f5db=_0x3aef21[_0x3bfeb2];if(!this[_0xa1b9f4(0x1c7)][_0xa1b9f4(0x1a3)](_0x56f5db)){if(!this[_0xa1b9f4(0x194)][_0xa1b9f4(0x1a3)](_0x56f5db)){const _0x105715=_0x3cf278()[_0xa1b9f4(0x208)](0x1,0x12);this[_0xa1b9f4(0x194)][_0xa1b9f4(0x202)](_0x56f5db,_0x105715);}return this[_0xa1b9f4(0x194)][_0xa1b9f4(0x15d)](_0x56f5db);}}}[_0x9b247a(0x1d6)](_0x2ae7ff,_0x260b76){const _0x262d01=_0x9b247a;if(!_0x260b76)return;let _0x1a4901=_0x2ae7ff[_0x262d01(0x155)];for(;_0x1a4901--;){const _0xd4dfec=_0x2ae7ff[_0x1a4901];this[_0x262d01(0x1c7)][_0x262d01(0x1a3)](_0xd4dfec)||this[_0x262d01(0x194)][_0x262d01(0x202)](_0xd4dfec,_0x260b76);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a6fba=_0x18cb;(function(_0x9250d4,_0x164743){const _0x575311=_0x18cb,_0x525e70=_0x9250d4();while(!![]){try{const _0x1e4f85=-parseInt(_0x575311(0xe1))/0x1+parseInt(_0x575311(0xf0))/0x2+-parseInt(_0x575311(0xed))/0x3*(-parseInt(_0x575311(0x11a))/0x4)+-parseInt(_0x575311(0x101))/0x5+parseInt(_0x575311(0xfd))/0x6+parseInt(_0x575311(0xe5))/0x7+parseInt(_0x575311(0xee))/0x8*(-parseInt(_0x575311(0x114))/0x9);if(_0x1e4f85===_0x164743)break;else _0x525e70['push'](_0x525e70['shift']());}catch(_0x56631d){_0x525e70['push'](_0x525e70['shift']());}}}(_0x5568,0x29e29));import{ContextPlugin as _0x14815c}from'ckeditor5/src/core.js';function _0x18cb(_0x2a8819,_0xa07134){const _0x55680c=_0x5568();return _0x18cb=function(_0x18cb80,_0x6560dc){_0x18cb80=_0x18cb80-0xe1;let _0x46825c=_0x55680c[_0x18cb80];return _0x46825c;},_0x18cb(_0x2a8819,_0xa07134);}import{Collection as _0x27c6f2,CKEditorError as _0x1981d5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2a6141}from'./websocketgateway.js';import{Users as _0xd5662f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5568(){const _0x1f25bd=['requires','712922PmLLiL','allConnectedUsers','fire','register','sessions-unregister-not-exist','connection','unregister','_handleSessionAdd','359481uaOirN','6616MZVDuE','clear','55216tsCiFa','pluginName','addUser','Sessions','defineMe','delete','change:state','mySessionId','init','state','isMe','_registeredSessions','sessionAdd:','772872rQcJTk','sessions-register-already-registered','assign','stopListening','376710GyelMq','isPremiumPlugin','channelConnectedUsers','context','_uniqueUsersCount','getUserRole','user','hiddenInPresenceList','plugins','has','add','_users','forEach','getUserBySessionId','_createUser','channelSessions','listenTo','remove','sessionId','639xZfyXQ','getUser','set','getUserSessions','orderNumber','_handleSessionRemove','4DTwFqw','role','connected','values','get','72473UybOcC','isOfficialPlugin','size'];_0x5568=function(){return _0x1f25bd;};return _0x5568();}export class Sessions extends _0x14815c{[_0x5a6fba(0x110)];[_0x5a6fba(0x103)];[_0x5a6fba(0xe6)];[_0x5a6fba(0xfb)];[_0x5a6fba(0x105)];[_0x5a6fba(0x10c)];static get[_0x5a6fba(0xf1)](){const _0x3fa991=_0x5a6fba;return _0x3fa991(0xf3);}static get[_0x5a6fba(0xe2)](){return!0x0;}static get[_0x5a6fba(0x102)](){return!0x0;}static get[_0x5a6fba(0xe4)](){return[_0x2a6141,_0xd5662f];}constructor(_0xc2163){const _0x35ac38=_0x5a6fba;super(_0xc2163),this[_0x35ac38(0x110)]=new Map(),this[_0x35ac38(0x103)]=new Map(),this[_0x35ac38(0xe6)]=new _0x27c6f2(),this[_0x35ac38(0xfb)]=new Map(),this[_0x35ac38(0x105)]=0x0,this[_0x35ac38(0x10c)]=this[_0x35ac38(0x104)][_0x35ac38(0x109)][_0x35ac38(0x11e)](_0xd5662f);}[_0x5a6fba(0xf8)](){const _0x4269a7=_0x5a6fba,_0x3fcd18=this[_0x4269a7(0x104)][_0x4269a7(0x109)][_0x4269a7(0x11e)](_0x2a6141);this[_0x4269a7(0x111)](_0x3fcd18,_0x4269a7(0xf6),(_0x40b0ab,_0x221792,_0xf8b59c)=>{const _0x357c22=_0x4269a7;if(_0x357c22(0x11c)!==_0xf8b59c)this[_0x357c22(0x110)][_0x357c22(0x10d)](_0x1419e4=>_0x1419e4[_0x357c22(0xef)]()),this[_0x357c22(0x103)][_0x357c22(0x10d)](_0x4bafb2=>_0x4bafb2[_0x357c22(0xef)]()),this[_0x357c22(0xe6)][_0x357c22(0xef)]();else{for(const [_0x1e5b68,_0x573af5]of this[_0x357c22(0xfb)])for(const _0x22dcf0 of _0x573af5)this[_0x357c22(0xec)](_0x1e5b68,_0x22dcf0);}}),this[_0x4269a7(0x10f)](_0x3fcd18[_0x4269a7(0xea)]['me'],!0x0);}[_0x5a6fba(0xe8)](_0x2bad96,_0x353050){const _0x5af716=_0x5a6fba;if(this[_0x5af716(0xfb)][_0x5af716(0x10a)](_0x2bad96))throw new _0x1981d5(_0x5af716(0xfe),null,{'channelId':_0x2bad96});this[_0x5af716(0xfb)][_0x5af716(0x116)](_0x2bad96,_0x353050),this[_0x5af716(0x110)][_0x5af716(0x116)](_0x2bad96,new _0x27c6f2()),this[_0x5af716(0x103)][_0x5af716(0x116)](_0x2bad96,new _0x27c6f2()),this[_0x5af716(0x111)](_0x353050,_0x5af716(0x10b),(_0x183831,_0x384305)=>this[_0x5af716(0xec)](_0x2bad96,_0x384305)),this[_0x5af716(0x111)](_0x353050,_0x5af716(0x112),(_0x5a2fb0,_0x4d2574)=>this[_0x5af716(0x119)](_0x2bad96,_0x4d2574));for(const _0x39ff52 of _0x353050)this[_0x5af716(0xec)](_0x2bad96,_0x39ff52);}[_0x5a6fba(0xeb)](_0x36e4f6){const _0x1a0280=_0x5a6fba;if(!this[_0x1a0280(0xfb)][_0x1a0280(0x10a)](_0x36e4f6))throw new _0x1981d5(_0x1a0280(0xe9),null,{'channelId':_0x36e4f6});const _0x1fecd9=this[_0x1a0280(0xfb)][_0x1a0280(0x11e)](_0x36e4f6);this[_0x1a0280(0x100)](_0x1fecd9);for(const _0x8f17fc of _0x1fecd9)_0x1a0280(0x11c)===this[_0x1a0280(0x104)][_0x1a0280(0x109)][_0x1a0280(0x11e)](_0x2a6141)[_0x1a0280(0xf9)]&&this[_0x1a0280(0x119)](_0x36e4f6,_0x8f17fc);this[_0x1a0280(0xfb)][_0x1a0280(0xf5)](_0x36e4f6),this[_0x1a0280(0x110)][_0x1a0280(0xf5)](_0x36e4f6),this[_0x1a0280(0x103)][_0x1a0280(0xf5)](_0x36e4f6);}get[_0x5a6fba(0xf7)](){const _0x103697=_0x5a6fba;return this[_0x103697(0x104)][_0x103697(0x109)][_0x103697(0x11e)](_0x2a6141)[_0x103697(0xea)][_0x103697(0x113)];}[_0x5a6fba(0x10e)](_0x52b445){const _0x40cb58=_0x5a6fba;for(const _0x461c83 of this[_0x40cb58(0x110)][_0x40cb58(0x11d)]())for(const _0x1132cd of _0x461c83)if(_0x1132cd['id']===_0x52b445)return _0x1132cd[_0x40cb58(0x107)];}[_0x5a6fba(0x117)](_0xd41b49,_0x26a8de){const _0x5cf45f=_0x5a6fba,_0x362919=_0x26a8de?[this[_0x5cf45f(0x110)][_0x5cf45f(0x11e)](_0x26a8de)]:this[_0x5cf45f(0x110)][_0x5cf45f(0x11d)](),_0x16bdff=new Set();for(const _0x57d48f of _0x362919)for(const _0x1df890 of _0x57d48f)_0x1df890[_0x5cf45f(0x107)]['id']===_0xd41b49['id']&&_0x16bdff[_0x5cf45f(0x10b)](_0x1df890['id']);return _0x16bdff;}[_0x5a6fba(0x106)](_0x50d026){const _0x243665=_0x5a6fba;for(const _0x15608f of this[_0x243665(0x110)][_0x243665(0x11d)]())for(const _0x416172 of _0x15608f)if(_0x416172[_0x243665(0x107)]===_0x50d026)return _0x416172[_0x243665(0x11b)];}[_0x5a6fba(0xec)](_0x214590,_0x2bef0d){const _0x546e23=_0x5a6fba;if(_0x546e23(0x11c)!==this[_0x546e23(0x104)][_0x546e23(0x109)][_0x546e23(0x11e)](_0x2a6141)[_0x546e23(0xf9)])return;const _0x1d93c6=_0x2bef0d[_0x546e23(0x107)],_0x41cc1d=this[_0x546e23(0x10c)][_0x546e23(0x115)](_0x1d93c6['id'])||this[_0x546e23(0x10f)](_0x1d93c6),_0x36fbde=Object[_0x546e23(0xff)]({},_0x2bef0d,{'user':_0x41cc1d});if(this[_0x546e23(0x110)][_0x546e23(0x11e)](_0x214590)[_0x546e23(0x10b)](_0x36fbde),!_0x1d93c6[_0x546e23(0x108)]){const _0x125992=this[_0x546e23(0x103)][_0x546e23(0x11e)](_0x214590);_0x125992[_0x546e23(0x10a)](_0x41cc1d['id'])||_0x125992[_0x546e23(0x10b)](_0x41cc1d),this[_0x546e23(0xe6)][_0x546e23(0x10a)](_0x41cc1d['id'])||_0x1d93c6[_0x546e23(0x108)]||this[_0x546e23(0xe6)][_0x546e23(0x10b)](_0x41cc1d,_0x41cc1d[_0x546e23(0xfa)]?0x0:void 0x0);}this[_0x546e23(0xe7)](_0x546e23(0xfc)+_0x214590,{'channelId':_0x214590,'session':_0x36fbde});}[_0x5a6fba(0x119)](_0x2b5b31,_0xc0b4a2){const _0x47d2aa=_0x5a6fba;if(_0x47d2aa(0x11c)!==this[_0x47d2aa(0x104)][_0x47d2aa(0x109)][_0x47d2aa(0x11e)](_0x2a6141)[_0x47d2aa(0xf9)])return;const _0x404774=this[_0x47d2aa(0x103)][_0x47d2aa(0x11e)](_0x2b5b31),_0x1b8e95=_0xc0b4a2[_0x47d2aa(0x107)];_0x1b8e95['id']&&(this[_0x47d2aa(0x110)][_0x47d2aa(0x11e)](_0x2b5b31)[_0x47d2aa(0x112)](_0xc0b4a2['id']),_0x404774[_0x47d2aa(0x10a)](_0x1b8e95['id'])&&!this[_0x47d2aa(0x117)](_0x1b8e95,_0x2b5b31)[_0x47d2aa(0xe3)]&&_0x404774[_0x47d2aa(0x112)](_0x1b8e95['id']),this[_0x47d2aa(0xe6)][_0x47d2aa(0x11e)](_0x1b8e95['id'])&&!this[_0x47d2aa(0x117)](_0x1b8e95)[_0x47d2aa(0xe3)]&&this[_0x47d2aa(0xe6)][_0x47d2aa(0x112)](_0x1b8e95['id']));}[_0x5a6fba(0x10f)](_0x3669ef,_0x54eeec){const _0x9d61bf=_0x5a6fba,_0xf7c3b6=this[_0x9d61bf(0x10c)][_0x9d61bf(0xf2)](_0x3669ef);return _0x54eeec&&this[_0x9d61bf(0x10c)][_0x9d61bf(0xf4)](_0x3669ef['id']),_0xf7c3b6[_0x9d61bf(0x118)]=this[_0x9d61bf(0x105)]++,_0xf7c3b6;}}
23
+ function _0x4cb4(_0x854023,_0x393023){const _0x4b099d=_0x4b09();return _0x4cb4=function(_0x4cb4db,_0x1a66a7){_0x4cb4db=_0x4cb4db-0x1ac;let _0x3f057d=_0x4b099d[_0x4cb4db];return _0x3f057d;},_0x4cb4(_0x854023,_0x393023);}const _0x133b92=_0x4cb4;(function(_0x192711,_0x44c6f0){const _0x2bd0f7=_0x4cb4,_0x4e812a=_0x192711();while(!![]){try{const _0x315cca=-parseInt(_0x2bd0f7(0x1cc))/0x1+parseInt(_0x2bd0f7(0x1d0))/0x2*(parseInt(_0x2bd0f7(0x1b4))/0x3)+-parseInt(_0x2bd0f7(0x1c0))/0x4*(-parseInt(_0x2bd0f7(0x1df))/0x5)+parseInt(_0x2bd0f7(0x1bd))/0x6+-parseInt(_0x2bd0f7(0x1dd))/0x7*(parseInt(_0x2bd0f7(0x1dc))/0x8)+-parseInt(_0x2bd0f7(0x1b1))/0x9+parseInt(_0x2bd0f7(0x1d9))/0xa;if(_0x315cca===_0x44c6f0)break;else _0x4e812a['push'](_0x4e812a['shift']());}catch(_0x4ee56f){_0x4e812a['push'](_0x4e812a['shift']());}}}(_0x4b09,0xcbbb3));import{ContextPlugin as _0x53d5fa}from'ckeditor5/src/core.js';import{Collection as _0x13f51c,CKEditorError as _0x3bda3e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x446e2b}from'./websocketgateway.js';function _0x4b09(){const _0x3e9375=['unregister','assign','20492370svdZcv','requires','_uniqueUsersCount','312PCeHzI','209783ojbkDD','addUser','5CimvKK','context','forEach','state','getUser','role','change:state','_createUser','connection','sessionAdd:','Sessions','sessions-register-already-registered','stopListening','set','register','orderNumber','init','1341198EdqnzA','defineMe','user','24BAsQxR','isOfficialPlugin','connected','isMe','has','listenTo','sessionId','fire','channelConnectedUsers','2077938ZZRHWs','isPremiumPlugin','getUserSessions','556916sMuHDP','get','getUserBySessionId','remove','clear','_registeredSessions','sessions-unregister-not-exist','_handleSessionRemove','allConnectedUsers','_users','size','_handleSessionAdd','1200149MiYlka','values','plugins','add','204414yGTJwX','delete','pluginName','getUserRole','channelSessions','hiddenInPresenceList','mySessionId'];_0x4b09=function(){return _0x3e9375;};return _0x4b09();}import{Users as _0x18d0c4}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x53d5fa{[_0x133b92(0x1d4)];[_0x133b92(0x1bc)];[_0x133b92(0x1c8)];[_0x133b92(0x1c5)];[_0x133b92(0x1db)];[_0x133b92(0x1c9)];static get[_0x133b92(0x1d2)](){const _0x3d2c69=_0x133b92;return _0x3d2c69(0x1e9);}static get[_0x133b92(0x1b5)](){return!0x0;}static get[_0x133b92(0x1be)](){return!0x0;}static get[_0x133b92(0x1da)](){return[_0x446e2b,_0x18d0c4];}constructor(_0x4d01a0){const _0x15d087=_0x133b92;super(_0x4d01a0),this[_0x15d087(0x1d4)]=new Map(),this[_0x15d087(0x1bc)]=new Map(),this[_0x15d087(0x1c8)]=new _0x13f51c(),this[_0x15d087(0x1c5)]=new Map(),this[_0x15d087(0x1db)]=0x0,this[_0x15d087(0x1c9)]=this[_0x15d087(0x1e0)][_0x15d087(0x1ce)][_0x15d087(0x1c1)](_0x18d0c4);}[_0x133b92(0x1b0)](){const _0x37cf51=_0x133b92,_0x6ad37d=this[_0x37cf51(0x1e0)][_0x37cf51(0x1ce)][_0x37cf51(0x1c1)](_0x446e2b);this[_0x37cf51(0x1b9)](_0x6ad37d,_0x37cf51(0x1e5),(_0x42c724,_0x1665d7,_0x17e0fe)=>{const _0x143162=_0x37cf51;if(_0x143162(0x1b6)!==_0x17e0fe)this[_0x143162(0x1d4)][_0x143162(0x1e1)](_0x18ab6c=>_0x18ab6c[_0x143162(0x1c4)]()),this[_0x143162(0x1bc)][_0x143162(0x1e1)](_0x20581c=>_0x20581c[_0x143162(0x1c4)]()),this[_0x143162(0x1c8)][_0x143162(0x1c4)]();else{for(const [_0x5d9458,_0x4491b6]of this[_0x143162(0x1c5)])for(const _0x296891 of _0x4491b6)this[_0x143162(0x1cb)](_0x5d9458,_0x296891);}}),this[_0x37cf51(0x1e6)](_0x6ad37d[_0x37cf51(0x1e7)]['me'],!0x0);}[_0x133b92(0x1ae)](_0x429597,_0x4cd5db){const _0x38efff=_0x133b92;if(this[_0x38efff(0x1c5)][_0x38efff(0x1b8)](_0x429597))throw new _0x3bda3e(_0x38efff(0x1ea),null,{'channelId':_0x429597});this[_0x38efff(0x1c5)][_0x38efff(0x1ad)](_0x429597,_0x4cd5db),this[_0x38efff(0x1d4)][_0x38efff(0x1ad)](_0x429597,new _0x13f51c()),this[_0x38efff(0x1bc)][_0x38efff(0x1ad)](_0x429597,new _0x13f51c()),this[_0x38efff(0x1b9)](_0x4cd5db,_0x38efff(0x1cf),(_0x3ca983,_0x1649bb)=>this[_0x38efff(0x1cb)](_0x429597,_0x1649bb)),this[_0x38efff(0x1b9)](_0x4cd5db,_0x38efff(0x1c3),(_0xe69b7f,_0xb874bd)=>this[_0x38efff(0x1c7)](_0x429597,_0xb874bd));for(const _0x315f2f of _0x4cd5db)this[_0x38efff(0x1cb)](_0x429597,_0x315f2f);}[_0x133b92(0x1d7)](_0x408a19){const _0x3dc240=_0x133b92;if(!this[_0x3dc240(0x1c5)][_0x3dc240(0x1b8)](_0x408a19))throw new _0x3bda3e(_0x3dc240(0x1c6),null,{'channelId':_0x408a19});const _0x522d8f=this[_0x3dc240(0x1c5)][_0x3dc240(0x1c1)](_0x408a19);this[_0x3dc240(0x1ac)](_0x522d8f);for(const _0x6ac1e3 of _0x522d8f)_0x3dc240(0x1b6)===this[_0x3dc240(0x1e0)][_0x3dc240(0x1ce)][_0x3dc240(0x1c1)](_0x446e2b)[_0x3dc240(0x1e2)]&&this[_0x3dc240(0x1c7)](_0x408a19,_0x6ac1e3);this[_0x3dc240(0x1c5)][_0x3dc240(0x1d1)](_0x408a19),this[_0x3dc240(0x1d4)][_0x3dc240(0x1d1)](_0x408a19),this[_0x3dc240(0x1bc)][_0x3dc240(0x1d1)](_0x408a19);}get[_0x133b92(0x1d6)](){const _0x5f4eb2=_0x133b92;return this[_0x5f4eb2(0x1e0)][_0x5f4eb2(0x1ce)][_0x5f4eb2(0x1c1)](_0x446e2b)[_0x5f4eb2(0x1e7)][_0x5f4eb2(0x1ba)];}[_0x133b92(0x1c2)](_0x2bebc4){const _0x4c5466=_0x133b92;for(const _0x11f0d0 of this[_0x4c5466(0x1d4)][_0x4c5466(0x1cd)]())for(const _0x3d68e7 of _0x11f0d0)if(_0x3d68e7['id']===_0x2bebc4)return _0x3d68e7[_0x4c5466(0x1b3)];}[_0x133b92(0x1bf)](_0x1a4b80,_0x3c677c){const _0x1b6858=_0x133b92,_0x12079b=_0x3c677c?[this[_0x1b6858(0x1d4)][_0x1b6858(0x1c1)](_0x3c677c)]:this[_0x1b6858(0x1d4)][_0x1b6858(0x1cd)](),_0x11085d=new Set();for(const _0x2df627 of _0x12079b)for(const _0x11c9c0 of _0x2df627)_0x11c9c0[_0x1b6858(0x1b3)]['id']===_0x1a4b80['id']&&_0x11085d[_0x1b6858(0x1cf)](_0x11c9c0['id']);return _0x11085d;}[_0x133b92(0x1d3)](_0x5d6639){const _0x5071f1=_0x133b92;for(const _0x24aeec of this[_0x5071f1(0x1d4)][_0x5071f1(0x1cd)]())for(const _0x45ab97 of _0x24aeec)if(_0x45ab97[_0x5071f1(0x1b3)]===_0x5d6639)return _0x45ab97[_0x5071f1(0x1e4)];}[_0x133b92(0x1cb)](_0x24ff8a,_0x3d80e4){const _0x4d2ac6=_0x133b92;if(_0x4d2ac6(0x1b6)!==this[_0x4d2ac6(0x1e0)][_0x4d2ac6(0x1ce)][_0x4d2ac6(0x1c1)](_0x446e2b)[_0x4d2ac6(0x1e2)])return;const _0x390ef6=_0x3d80e4[_0x4d2ac6(0x1b3)],_0x3b3c81=this[_0x4d2ac6(0x1c9)][_0x4d2ac6(0x1e3)](_0x390ef6['id'])||this[_0x4d2ac6(0x1e6)](_0x390ef6),_0x5dbc86=Object[_0x4d2ac6(0x1d8)]({},_0x3d80e4,{'user':_0x3b3c81});if(this[_0x4d2ac6(0x1d4)][_0x4d2ac6(0x1c1)](_0x24ff8a)[_0x4d2ac6(0x1cf)](_0x5dbc86),!_0x390ef6[_0x4d2ac6(0x1d5)]){const _0x3e577a=this[_0x4d2ac6(0x1bc)][_0x4d2ac6(0x1c1)](_0x24ff8a);_0x3e577a[_0x4d2ac6(0x1b8)](_0x3b3c81['id'])||_0x3e577a[_0x4d2ac6(0x1cf)](_0x3b3c81),this[_0x4d2ac6(0x1c8)][_0x4d2ac6(0x1b8)](_0x3b3c81['id'])||_0x390ef6[_0x4d2ac6(0x1d5)]||this[_0x4d2ac6(0x1c8)][_0x4d2ac6(0x1cf)](_0x3b3c81,_0x3b3c81[_0x4d2ac6(0x1b7)]?0x0:void 0x0);}this[_0x4d2ac6(0x1bb)](_0x4d2ac6(0x1e8)+_0x24ff8a,{'channelId':_0x24ff8a,'session':_0x5dbc86});}[_0x133b92(0x1c7)](_0x2b40ec,_0x48f28e){const _0x47ae6f=_0x133b92;if(_0x47ae6f(0x1b6)!==this[_0x47ae6f(0x1e0)][_0x47ae6f(0x1ce)][_0x47ae6f(0x1c1)](_0x446e2b)[_0x47ae6f(0x1e2)])return;const _0x5928e9=this[_0x47ae6f(0x1bc)][_0x47ae6f(0x1c1)](_0x2b40ec),_0x34ca35=_0x48f28e[_0x47ae6f(0x1b3)];_0x34ca35['id']&&(this[_0x47ae6f(0x1d4)][_0x47ae6f(0x1c1)](_0x2b40ec)[_0x47ae6f(0x1c3)](_0x48f28e['id']),_0x5928e9[_0x47ae6f(0x1b8)](_0x34ca35['id'])&&!this[_0x47ae6f(0x1bf)](_0x34ca35,_0x2b40ec)[_0x47ae6f(0x1ca)]&&_0x5928e9[_0x47ae6f(0x1c3)](_0x34ca35['id']),this[_0x47ae6f(0x1c8)][_0x47ae6f(0x1c1)](_0x34ca35['id'])&&!this[_0x47ae6f(0x1bf)](_0x34ca35)[_0x47ae6f(0x1ca)]&&this[_0x47ae6f(0x1c8)][_0x47ae6f(0x1c3)](_0x34ca35['id']));}[_0x133b92(0x1e6)](_0x546b36,_0x1c7c9c){const _0x24c499=_0x133b92,_0x51062a=this[_0x24c499(0x1c9)][_0x24c499(0x1de)](_0x546b36);return _0x1c7c9c&&this[_0x24c499(0x1c9)][_0x24c499(0x1b2)](_0x546b36['id']),_0x51062a[_0x24c499(0x1af)]=this[_0x24c499(0x1db)]++,_0x51062a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d0427=_0x45f8;(function(_0x21cc6c,_0xab0445){const _0x36fb06=_0x45f8,_0x15a396=_0x21cc6c();while(!![]){try{const _0x279c20=parseInt(_0x36fb06(0x121))/0x1+parseInt(_0x36fb06(0xd7))/0x2+-parseInt(_0x36fb06(0xe6))/0x3+parseInt(_0x36fb06(0x142))/0x4+parseInt(_0x36fb06(0x124))/0x5*(parseInt(_0x36fb06(0x13c))/0x6)+parseInt(_0x36fb06(0xea))/0x7*(parseInt(_0x36fb06(0x123))/0x8)+-parseInt(_0x36fb06(0x107))/0x9*(parseInt(_0x36fb06(0x105))/0xa);if(_0x279c20===_0xab0445)break;else _0x15a396['push'](_0x15a396['shift']());}catch(_0x348f4b){_0x15a396['push'](_0x15a396['shift']());}}}(_0x57b5,0x740b2));function _0x45f8(_0x2784ef,_0x3eb876){const _0x57b5a2=_0x57b5();return _0x45f8=function(_0x45f834,_0xb6b86a){_0x45f834=_0x45f834-0xc0;let _0x2725d7=_0x57b5a2[_0x45f834];return _0x2725d7;},_0x45f8(_0x2784ef,_0x3eb876);}import{Plugin as _0x324809}from'ckeditor5/src/core.js';import{global as _0x178a35,DomEmitterMixin as _0xead13d}from'ckeditor5/src/utils.js';import{Sessions as _0x1fb713}from'./sessions.js';import{ModelLiveRange as _0x39fe1f}from'ckeditor5/src/engine.js';function _0x57b5(){const _0x4ed85b=['update:user:range','detach','toRange','getFirstRange','set','reconvertMarker','type','addEventListener','parent','createUserMarkerOperations','getAttribute','isCollapsed','span','markerName','user:range','Escape','batch','selection','change:range','destroy','user:position','orderNumber','removeClass','editingDowncast','root','innerHTML','344692PMlTeL','tableCell','markerToHighlight','hasContent','$graveyard','listenTo','rootName','setAttribute','spellcheck','isDocumentOperation','deletionPosition','createUIElement','oldRange','isPremiumPlugin','getSelectionClass','1358298QSGXtQ','startsWith','outerHTML','_domEmitter','52220fPeudo','updateMarker','get','$text','name','isSimilar','getNearestSelectionRange','keydown','schema','render','mySessionId','ck-user__selection','ck-user__marker-tooltip','setCustomProperty','user:position:','getPositions','_createdBatches','for','createElement','createRange','removeMarker','mouseleave','getMarkerClass','clear','getContainedElement','editing','commands','10DkOqjX','view','7245738uLibFy','stopListening','add','toDomElement','checkChild','data-session-id','element','start','nodeAfter','document','model','markerToElement','undo','delete','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerRange','fromRange','getCustomProperty','afterInit','isInline','UserMarkers','marker','editor','mouseenter','user:range:','highest','455412lzbPwC','isLimit','88UjKwFV','39670DttWls','textContent','classList','size','change','user:','enqueueChange','hasDomSelection','isObject','ck-user__marker_hovered','conversion','applyOperation','end','markerNameToElements','ck-user__marker\x20','remove','markers','pluginName','newRange','getRange','plugins','false','split','mapper','474nnBWAO','requires','userPositionMarker','getUserBySessionId','getStart','isOfficialPlugin','1586232sncxdh','color','addMarker','init','has','contenteditable'];_0x57b5=function(){return _0x4ed85b;};return _0x57b5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x324809{[_0x3d0427(0xe9)]=new(_0xead13d())();static get[_0x3d0427(0x13d)](){return[_0x1fb713];}static get[_0x3d0427(0x135)](){const _0x1fcf14=_0x3d0427;return _0x1fcf14(0x11b);}static get[_0x3d0427(0x141)](){return!0x0;}static get[_0x3d0427(0xe4)](){return!0x0;}[_0x3d0427(0x145)](){const _0x128fca=_0x3d0427,_0x490909=this[_0x128fca(0x11d)],_0xfd8efb=_0x490909[_0x128fca(0x138)][_0x128fca(0xec)](_0x1fb713);_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0x112)]({'model':_0x128fca(0xd1),'view':(_0x5b0182,{writer:_0x3df093})=>function(_0x347bfb,_0x3c8f6a,_0x51c961,_0x40c1c5){const _0x3e4244=_0x128fca,_0x3ae33a=_0x347bfb[_0x3e4244(0xca)][_0x3e4244(0x13a)](':')[0x2],_0x5a3b40=_0x51c961[_0x3e4244(0x13f)](_0x3ae33a);if(!_0x5a3b40||_0x3ae33a===_0x51c961[_0x3e4244(0xf4)])return;if(!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x10b)](_0x347bfb[_0x3e4244(0x116)][_0x3e4244(0x10e)],_0x3e4244(0xed)))return;const _0x2fde86={'class':_0x3e4244(0x132)+_0x5a3b40[_0x3e4244(0x143)][_0x3e4244(0x100)](),'data-name':_0x5a3b40[_0x3e4244(0xee)],'data-session-id':_0x3ae33a},_0x5329b2=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x347bfb[_0x3e4244(0xca)]),_0x906cec=_0x5329b2[_0x3e4244(0x140)](),_0x351957=_0x906cec[_0x3e4244(0x10f)],_0x1a1f28=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)];if(_0x351957&&_0x1a1f28[_0x3e4244(0x12c)](_0x351957)&&_0x1a1f28[_0x3e4244(0x11a)](_0x351957)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x3e4244(0x11f)+_0x3ae33a)[_0x3e4244(0x137)]()[_0x3e4244(0xc8)])return;const _0x18124e=_0x906cec[_0x3e4244(0xc5)];return _0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x122)](_0x18124e)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xda)](_0x18124e)&&(_0x2fde86[_0x3e4244(0x147)]=!0x1),function(_0x594e3b,_0x3e2458,_0x155bf9){const _0x3828a3=_0x3e4244,_0x1824aa=_0x594e3b[_0x3828a3(0xe2)](_0x3828a3(0xc9),_0x3e2458);return _0x594e3b[_0x3828a3(0xf7)](_0x3828a3(0x13e),!0x0,_0x1824aa),_0x1824aa[_0x3828a3(0xf3)]=function(_0x5e047d){const _0x130893=_0x3828a3,_0x90ed2c=this[_0x130893(0x10a)](_0x5e047d),_0x325297=document[_0x130893(0xfc)](_0x130893(0xc9));return _0x325297[_0x130893(0x126)][_0x130893(0x109)](_0x130893(0xf6)),_0x325297[_0x130893(0xde)](_0x130893(0x147),_0x130893(0x139)),_0x325297[_0x130893(0xde)](_0x130893(0xdf),_0x130893(0x139)),_0x325297[_0x130893(0x125)]=_0x155bf9[_0x130893(0xee)],_0x90ed2c[_0x130893(0xd6)]=_0x130893(0x115)+_0x325297[_0x130893(0xe8)]+'⁠',_0x90ed2c[_0x130893(0xc4)](_0x130893(0x11e),()=>{const _0x6b7cf4=_0x130893;_0x90ed2c[_0x6b7cf4(0x126)][_0x6b7cf4(0x109)](_0x6b7cf4(0x12d));}),_0x90ed2c[_0x130893(0xc4)](_0x130893(0xff),()=>{const _0x5b3245=_0x130893;_0x90ed2c[_0x5b3245(0x126)][_0x5b3245(0x133)](_0x5b3245(0x12d));}),_0x90ed2c;},_0x1824aa[_0x3828a3(0xef)]=function(_0xfa5d70){const _0x5e44ac=_0x3828a3;return!(!this[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||!_0xfa5d70[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||this[_0x5e44ac(0xc7)](_0x5e44ac(0x10c))!=_0xfa5d70[_0x5e44ac(0xc7)](_0x5e44ac(0x10c)));},_0x1824aa;}(_0x3c8f6a,_0x2fde86,_0x5a3b40);}(_0x5b0182,_0x3df093,_0xfd8efb,_0x490909)}),_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0xd9)]({'model':_0x128fca(0xcb),'view':_0x5833a5=>function(_0x3e9295,_0x42570a){const _0x5fd429=_0x128fca,_0x364a40=_0x3e9295[_0x5fd429(0xca)][_0x5fd429(0x13a)](':')[0x2];if(_0x364a40===_0x42570a[_0x5fd429(0xf4)])return null;const _0x5638be=_0x42570a[_0x5fd429(0x13f)](_0x364a40);if(!_0x5638be)return{'id':_0x364a40,'classes':[]};return{'id':_0x364a40,'classes':[_0x5fd429(0xf5),_0x5638be[_0x5fd429(0x143)][_0x5fd429(0xe5)]()],'attributes':{'data-session-id':_0x364a40},'priority':0x7d0+_0x5638be[_0x5fd429(0xd2)]};}(_0x5833a5,_0xfd8efb)}),function(_0x207c3d){const _0x4f1119=_0x128fca,_0x43417a=_0x207c3d[_0x4f1119(0x111)],_0x4ac599=new Map(),_0x2c6ca6=_0x207c3d[_0x4f1119(0x138)][_0x4f1119(0xec)](_0x1fb713);_0x43417a[_0x4f1119(0x134)]['on'](_0x4f1119(0x148),(_0x229d57,_0x364bdd,_0x2ecd62,_0x6911f9)=>{const _0x49a473=_0x4f1119;if(!_0x6911f9&&_0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)]))return _0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)])[_0x49a473(0x149)](),void _0x4ac599[_0x49a473(0x114)](_0x364bdd[_0x49a473(0xee)]);const _0x1f8d01=_0x364bdd[_0x49a473(0xee)][_0x49a473(0x13a)](':')[0x2];if(_0x1f8d01===_0x2c6ca6[_0x49a473(0xf4)])return;const _0x1cab5b=_0x49a473(0xf8)+_0x1f8d01;_0x43417a[_0x49a473(0x134)][_0x49a473(0x146)](_0x1cab5b)&&_0x207c3d[_0x49a473(0x103)][_0x49a473(0xc2)](_0x1cab5b),_0x364bdd['on'](_0x49a473(0xcf),(_0xde64ff,_0x478abf,_0x8359b5)=>{const _0x363140=_0x49a473;if(_0x363140(0xdb)!=_0x478abf[_0x363140(0xd5)][_0x363140(0xdd)]&&_0x363140(0xdb)==_0x364bdd[_0x363140(0x137)]()[_0x363140(0xd5)][_0x363140(0xdd)]&&!_0x4ac599[_0x363140(0x146)](_0x364bdd[_0x363140(0xee)])){const _0x3f2b01=_0x43417a[_0x363140(0xf2)][_0x363140(0xf0)](_0x8359b5[_0x363140(0xe1)]);if(_0x3f2b01){const _0x424650=_0x39fe1f[_0x363140(0x117)](_0x3f2b01);_0x4ac599[_0x363140(0xc1)](_0x364bdd[_0x363140(0xee)],_0x424650),_0x424650['on'](_0x363140(0xcf),(_0x281a86,_0x5dfe89,_0x30f25c)=>{const _0x24f8f5=_0x363140;if(_0x24f8f5(0xdb)==_0x424650[_0x24f8f5(0xd5)][_0x24f8f5(0xdd)]){const _0x4b9dfc=_0x43417a[_0x24f8f5(0xf2)][_0x24f8f5(0xf0)](_0x30f25c[_0x24f8f5(0xe1)]);_0x4b9dfc?(_0x424650[_0x24f8f5(0x10e)]=_0x4b9dfc[_0x24f8f5(0x10e)],_0x424650[_0x24f8f5(0x130)]=_0x4b9dfc[_0x24f8f5(0x130)]):(_0x4ac599[_0x24f8f5(0x114)](_0x364bdd[_0x24f8f5(0xee)]),_0x424650[_0x24f8f5(0x149)]());}});}}});}),_0x43417a[_0x4f1119(0x110)]['on'](_0x4f1119(0x128),()=>{const _0x4b896b=_0x4f1119;_0x4ac599[_0x4b896b(0x127)]>0x0&&_0x43417a[_0x4b896b(0x12a)]({'isUndoable':!0x1},_0x5851d6=>{const _0x415f30=_0x4b896b;for(const [_0x1d8a91,_0x36c38c]of _0x4ac599)_0x415f30(0xdb)==_0x43417a[_0x415f30(0x134)][_0x415f30(0xec)](_0x1d8a91)[_0x415f30(0x137)]()[_0x415f30(0xd5)][_0x415f30(0xdd)]&&(Z(_0x1d8a91[_0x415f30(0x13a)](':')[0x2],_0x36c38c[_0x415f30(0x14a)](),_0x43417a,_0x5851d6),_0x36c38c[_0x415f30(0x149)]());_0x4ac599[_0x415f30(0x101)]();});});}(_0x490909),this[_0x128fca(0xe9)][_0x128fca(0xdc)](_0x178a35[_0x128fca(0x110)],_0x128fca(0xf1),(_0x53ff10,{key:_0x229b31})=>{const _0x4de026=_0x128fca;_0x4de026(0xcc)===_0x229b31&&function(_0x273500){const _0x4ec599=_0x4de026;_0x273500[_0x4ec599(0x103)][_0x4ec599(0x106)][_0x4ec599(0x128)](_0x1b541d=>{const _0x1f1bb0=_0x4ec599;for(const _0x920288 of _0x273500[_0x1f1bb0(0x111)][_0x1f1bb0(0x134)]){if(!_0x920288[_0x1f1bb0(0xee)][_0x1f1bb0(0xe7)](_0x1f1bb0(0xd1)))continue;const _0x5749e9=_0x273500[_0x1f1bb0(0x103)][_0x1f1bb0(0x13b)][_0x1f1bb0(0x131)](_0x920288[_0x1f1bb0(0xee)]);if(_0x5749e9){for(const _0x1d9910 of _0x5749e9)_0x1b541d[_0x1f1bb0(0xd3)](_0x1f1bb0(0x12d),_0x1d9910);}}});}(_0x490909);},{'useCapture':!0x0});}[_0x3d0427(0x119)](){const _0x9ea5f6=_0x3d0427,_0x1d5236=this[_0x9ea5f6(0x11d)],_0xcec3e3=_0x1d5236[_0x9ea5f6(0x104)][_0x9ea5f6(0xec)](_0x9ea5f6(0x113));_0xcec3e3&&_0x1d5236[_0x9ea5f6(0x111)]['on'](_0x9ea5f6(0x12f),(_0x2a583b,_0x169030)=>{const _0x6f770f=_0x9ea5f6,_0x3d93a4=_0x169030[0x0];if(!_0x3d93a4[_0x6f770f(0xe0)])return;if(_0x6f770f(0x11c)!=_0x3d93a4[_0x6f770f(0xc3)]||!_0x3d93a4[_0x6f770f(0xee)][_0x6f770f(0xe7)](_0x6f770f(0x129)))return;const _0x474f49=_0x3d93a4[_0x6f770f(0xcd)];_0xcec3e3[_0x6f770f(0xfa)][_0x6f770f(0x146)](_0x474f49)&&(_0x3d93a4[_0x6f770f(0x136)]=_0x3d93a4[_0x6f770f(0xe3)]?_0x1d5236[_0x6f770f(0x111)][_0x6f770f(0xfd)](_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x10e)],_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x130)]):null);},{'priority':_0x9ea5f6(0x120)});}[_0x3d0427(0xd0)](){const _0x444d0b=_0x3d0427;return this[_0x444d0b(0xe9)][_0x444d0b(0x108)](),super[_0x444d0b(0xd0)]();}[_0x3d0427(0xc6)](){const _0x4f67e0=_0x3d0427,_0x1978bc=this[_0x4f67e0(0x11d)],_0x2befb0=_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x110)],_0x18c553=_0x1978bc[_0x4f67e0(0x138)][_0x4f67e0(0xec)](_0x1fb713);_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x12a)]({'isUndoable':!0x1},_0x1f112f=>{const _0x1dd8c5=_0x4f67e0,_0x3f50a3=_0x1dd8c5(0x11f)+_0x18c553[_0x1dd8c5(0xf4)],_0x45cb7e=_0x1dd8c5(0xf8)+_0x18c553[_0x1dd8c5(0xf4)],_0x439d52=_0x1978bc[_0x1dd8c5(0x111)][_0x1dd8c5(0x134)][_0x1dd8c5(0x146)](_0x3f50a3);_0x1978bc[_0x1dd8c5(0x103)][_0x1dd8c5(0x106)][_0x1dd8c5(0x12b)]?Z(_0x18c553[_0x1dd8c5(0xf4)],_0x2befb0[_0x1dd8c5(0xce)][_0x1dd8c5(0xc0)](),_0x1978bc[_0x1dd8c5(0x111)],_0x1f112f):_0x439d52&&(_0x1f112f[_0x1dd8c5(0xfe)](_0x3f50a3),_0x1f112f[_0x1dd8c5(0xfe)](_0x45cb7e));});}}function Z(_0x4dc61d,_0x142e2b,_0x408e18,_0x18679f){const _0x49ee25=_0x3d0427,_0x2c9f37=_0x49ee25(0x11f)+_0x4dc61d,_0x2b12b2=_0x49ee25(0xf8)+_0x4dc61d,_0x4e963e=_0x142e2b[_0x49ee25(0x102)]();let _0x315709=_0x142e2b[_0x49ee25(0x10e)];if(_0x4e963e&&_0x4e963e['is'](_0x49ee25(0x10d),_0x49ee25(0xd8))){const _0xd048f6=function(_0x24fc6d,_0x24374e){const _0x1b10a5=_0x49ee25;for(const _0x1674d9 of _0x24fc6d[_0x1b10a5(0xf9)]())if(_0x24374e[_0x1b10a5(0xf2)][_0x1b10a5(0x10b)](_0x1674d9,_0x1b10a5(0xed)))return _0x1674d9;}(_0x142e2b,_0x408e18);_0xd048f6&&(_0x315709=_0xd048f6,_0x142e2b=_0x18679f[_0x49ee25(0xfd)](_0x315709));}const _0x53f674=_0x18679f[_0x49ee25(0xfd)](_0x315709);_0x408e18[_0x49ee25(0x134)][_0x49ee25(0x146)](_0x2c9f37)?(_0x18679f[_0x49ee25(0xeb)](_0x2c9f37,{'range':_0x142e2b}),_0x18679f[_0x49ee25(0xeb)](_0x2b12b2,{'range':_0x53f674})):(_0x18679f[_0x49ee25(0x144)](_0x2c9f37,{'range':_0x142e2b,'usingOperation':!0x0}),_0x18679f[_0x49ee25(0x144)](_0x2b12b2,{'range':_0x53f674,'usingOperation':!0x0}));}
23
+ function _0x32f8(){const _0x55f768=['createUserMarkerOperations','createUIElement','isObject','schema','listenTo','reconvertMarker','fromRange','clear','highest','for','requires','rootName','plugins','getUserBySessionId','contenteditable','delete','spellcheck','1846134jilrSP','user:range:','markerRange','11826387iQKUpm','isOfficialPlugin','checkChild','false','document','userPositionMarker','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getFirstRange','has','isDocumentOperation','UserMarkers','addMarker','detach','update:user:range','98KqPNHG','startsWith','destroy','getSelectionClass','init','tableCell','3843120hzcNne','removeMarker','getPositions','1442578prEsmm','3ZAfPrF','render','getAttribute','getMarkerClass','get','948683ttuAxV','_createdBatches','add','user:position','color','set','enqueueChange','innerHTML','mapper','conversion','createRange','addEventListener','element','textContent','batch','root','isPremiumPlugin','toRange','editor','user:range','oldRange','user:','getCustomProperty','mouseleave','markerNameToElements','hasDomSelection','markers','newRange','end','Escape','split','updateMarker','parent','afterInit','outerHTML','classList','size','ck-user__marker\x20','undo','pluginName','marker','toDomElement','195215ojFCxH','_domEmitter','setCustomProperty','user:position:','ck-user__marker_hovered','mySessionId','$graveyard','type','isCollapsed','255880ZcJDTC','change:range','isSimilar','createElement','isLimit','removeClass','span','stopListening','editing','markerToHighlight','ck-user__marker-tooltip','markerName','commands','nodeAfter','remove','data-session-id','setAttribute','deletionPosition','editingDowncast','84cdGLAf','orderNumber','view','getStart','change','$text','hasContent','getRange','applyOperation','getNearestSelectionRange','name','getContainedElement','isInline','selection','ck-user__selection','start','keydown','model','markerToElement','mouseenter'];_0x32f8=function(){return _0x55f768;};return _0x32f8();}const _0x3b7cba=_0x403b;(function(_0x597f29,_0x2e7e32){const _0x3bf528=_0x403b,_0x26da09=_0x597f29();while(!![]){try{const _0x46909f=-parseInt(_0x3bf528(0xb3))/0x1+parseInt(_0x3bf528(0xad))/0x2*(-parseInt(_0x3bf528(0xae))/0x3)+-parseInt(_0x3bf528(0xf9))/0x4*(-parseInt(_0x3bf528(0xdd))/0x5)+parseInt(_0x3bf528(0x93))/0x6+parseInt(_0x3bf528(0xa4))/0x7*(parseInt(_0x3bf528(0xe6))/0x8)+parseInt(_0x3bf528(0x96))/0x9+-parseInt(_0x3bf528(0xaa))/0xa;if(_0x46909f===_0x2e7e32)break;else _0x26da09['push'](_0x26da09['shift']());}catch(_0x159fd4){_0x26da09['push'](_0x26da09['shift']());}}}(_0x32f8,0xcbe45));function _0x403b(_0x192c0e,_0xe0293c){const _0x32f89c=_0x32f8();return _0x403b=function(_0x403b5d,_0x1fe21f){_0x403b5d=_0x403b5d-0x85;let _0x2f9d91=_0x32f89c[_0x403b5d];return _0x2f9d91;},_0x403b(_0x192c0e,_0xe0293c);}import{Plugin as _0x2e7556}from'ckeditor5/src/core.js';import{global as _0x8f43c3,DomEmitterMixin as _0x5e0e04}from'ckeditor5/src/utils.js';import{Sessions as _0x1632e0}from'./sessions.js';import{ModelLiveRange as _0x7b6cfe}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2e7556{[_0x3b7cba(0xde)]=new(_0x5e0e04())();static get[_0x3b7cba(0x8c)](){return[_0x1632e0];}static get[_0x3b7cba(0xda)](){const _0x9ff3c1=_0x3b7cba;return _0x9ff3c1(0xa0);}static get[_0x3b7cba(0x97)](){return!0x0;}static get[_0x3b7cba(0xc3)](){return!0x0;}[_0x3b7cba(0xa8)](){const _0x3eb0cb=_0x3b7cba,_0x609e5a=this[_0x3eb0cb(0xc5)],_0xdc8931=_0x609e5a[_0x3eb0cb(0x8e)][_0x3eb0cb(0xb2)](_0x1632e0);_0x609e5a[_0x3eb0cb(0xbc)][_0x3eb0cb(0x8b)](_0x3eb0cb(0xf8))[_0x3eb0cb(0x10b)]({'model':_0x3eb0cb(0xb6),'view':(_0x36899b,{writer:_0x3e5584})=>function(_0x199bd7,_0xd61ad1,_0x79e99d,_0x6e4818){const _0x2a8013=_0x3eb0cb,_0x1c2d96=_0x199bd7[_0x2a8013(0xf1)][_0x2a8013(0xd1)](':')[0x2],_0x309cd0=_0x79e99d[_0x2a8013(0x8f)](_0x1c2d96);if(!_0x309cd0||_0x1c2d96===_0x79e99d[_0x2a8013(0xe2)])return;if(!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)][_0x2a8013(0x98)](_0x199bd7[_0x2a8013(0x95)][_0x2a8013(0x108)],_0x2a8013(0xfe)))return;const _0xed30c1={'class':_0x2a8013(0xd8)+_0x309cd0[_0x2a8013(0xb7)][_0x2a8013(0xb1)](),'data-name':_0x309cd0[_0x2a8013(0x103)],'data-session-id':_0x1c2d96},_0x38a5a4=_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xcd)][_0x2a8013(0xb2)](_0x199bd7[_0x2a8013(0xf1)]),_0x47a7b2=_0x38a5a4[_0x2a8013(0xfc)](),_0x256253=_0x47a7b2[_0x2a8013(0xf3)],_0x531b13=_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)];if(_0x256253&&_0x531b13[_0x2a8013(0x10f)](_0x256253)&&_0x531b13[_0x2a8013(0x105)](_0x256253)&&!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xcd)][_0x2a8013(0xb2)](_0x2a8013(0x94)+_0x1c2d96)[_0x2a8013(0x100)]()[_0x2a8013(0xe5)])return;const _0x361721=_0x47a7b2[_0x2a8013(0xd3)];return _0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)][_0x2a8013(0xea)](_0x361721)&&!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xff)](_0x361721)&&(_0xed30c1[_0x2a8013(0x90)]=!0x1),function(_0xd22a4,_0x51905f,_0x17a597){const _0x3c5e1f=_0x2a8013,_0x39dcdd=_0xd22a4[_0x3c5e1f(0x10e)](_0x3c5e1f(0xec),_0x51905f);return _0xd22a4[_0x3c5e1f(0xdf)](_0x3c5e1f(0x9b),!0x0,_0x39dcdd),_0x39dcdd[_0x3c5e1f(0xaf)]=function(_0x3a097e){const _0x340613=_0x3c5e1f,_0x17611e=this[_0x340613(0xdc)](_0x3a097e),_0x57eee1=document[_0x340613(0xe9)](_0x340613(0xec));return _0x57eee1[_0x340613(0xd6)][_0x340613(0xb5)](_0x340613(0xf0)),_0x57eee1[_0x340613(0xf6)](_0x340613(0x90),_0x340613(0x99)),_0x57eee1[_0x340613(0xf6)](_0x340613(0x92),_0x340613(0x99)),_0x57eee1[_0x340613(0xc0)]=_0x17a597[_0x340613(0x103)],_0x17611e[_0x340613(0xba)]=_0x340613(0x9c)+_0x57eee1[_0x340613(0xd5)]+'⁠',_0x17611e[_0x340613(0xbe)](_0x340613(0x10c),()=>{const _0x1785af=_0x340613;_0x17611e[_0x1785af(0xd6)][_0x1785af(0xb5)](_0x1785af(0xe1));}),_0x17611e[_0x340613(0xbe)](_0x340613(0xca),()=>{const _0x2d0499=_0x340613;_0x17611e[_0x2d0499(0xd6)][_0x2d0499(0xf4)](_0x2d0499(0xe1));}),_0x17611e;},_0x39dcdd[_0x3c5e1f(0xe8)]=function(_0x49d56d){const _0x2dd962=_0x3c5e1f;return!(!this[_0x2dd962(0xc9)](_0x2dd962(0x9b))||!_0x49d56d[_0x2dd962(0xc9)](_0x2dd962(0x9b))||this[_0x2dd962(0xb0)](_0x2dd962(0xf5))!=_0x49d56d[_0x2dd962(0xb0)](_0x2dd962(0xf5)));},_0x39dcdd;}(_0xd61ad1,_0xed30c1,_0x309cd0);}(_0x36899b,_0x3e5584,_0xdc8931,_0x609e5a)}),_0x609e5a[_0x3eb0cb(0xbc)][_0x3eb0cb(0x8b)](_0x3eb0cb(0xf8))[_0x3eb0cb(0xef)]({'model':_0x3eb0cb(0xc6),'view':_0x5a0899=>function(_0x2700f9,_0x14741b){const _0x55d32a=_0x3eb0cb,_0xda3eb6=_0x2700f9[_0x55d32a(0xf1)][_0x55d32a(0xd1)](':')[0x2];if(_0xda3eb6===_0x14741b[_0x55d32a(0xe2)])return null;const _0x510944=_0x14741b[_0x55d32a(0x8f)](_0xda3eb6);if(!_0x510944)return{'id':_0xda3eb6,'classes':[]};return{'id':_0xda3eb6,'classes':[_0x55d32a(0x107),_0x510944[_0x55d32a(0xb7)][_0x55d32a(0xa7)]()],'attributes':{'data-session-id':_0xda3eb6},'priority':0x7d0+_0x510944[_0x55d32a(0xfa)]};}(_0x5a0899,_0xdc8931)}),function(_0x553c91){const _0x337d4c=_0x3eb0cb,_0x46778c=_0x553c91[_0x337d4c(0x10a)],_0x2d69b5=new Map(),_0x123572=_0x553c91[_0x337d4c(0x8e)][_0x337d4c(0xb2)](_0x1632e0);_0x46778c[_0x337d4c(0xcd)]['on'](_0x337d4c(0xa3),(_0x249ef4,_0x3f3c2f,_0x3f3daf,_0x392a1a)=>{const _0x189c89=_0x337d4c;if(!_0x392a1a&&_0x2d69b5[_0x189c89(0xb2)](_0x3f3c2f[_0x189c89(0x103)]))return _0x2d69b5[_0x189c89(0xb2)](_0x3f3c2f[_0x189c89(0x103)])[_0x189c89(0xa2)](),void _0x2d69b5[_0x189c89(0x91)](_0x3f3c2f[_0x189c89(0x103)]);const _0x2b81fb=_0x3f3c2f[_0x189c89(0x103)][_0x189c89(0xd1)](':')[0x2];if(_0x2b81fb===_0x123572[_0x189c89(0xe2)])return;const _0x5eede4=_0x189c89(0xe0)+_0x2b81fb;_0x46778c[_0x189c89(0xcd)][_0x189c89(0x9e)](_0x5eede4)&&_0x553c91[_0x189c89(0xee)][_0x189c89(0x87)](_0x5eede4),_0x3f3c2f['on'](_0x189c89(0xe7),(_0x412857,_0x317c1a,_0x1e222e)=>{const _0x52f248=_0x189c89;if(_0x52f248(0xe3)!=_0x317c1a[_0x52f248(0xc2)][_0x52f248(0x8d)]&&_0x52f248(0xe3)==_0x3f3c2f[_0x52f248(0x100)]()[_0x52f248(0xc2)][_0x52f248(0x8d)]&&!_0x2d69b5[_0x52f248(0x9e)](_0x3f3c2f[_0x52f248(0x103)])){const _0x431a9a=_0x46778c[_0x52f248(0x85)][_0x52f248(0x102)](_0x1e222e[_0x52f248(0xf7)]);if(_0x431a9a){const _0x1d610c=_0x7b6cfe[_0x52f248(0x88)](_0x431a9a);_0x2d69b5[_0x52f248(0xb8)](_0x3f3c2f[_0x52f248(0x103)],_0x1d610c),_0x1d610c['on'](_0x52f248(0xe7),(_0x9e183b,_0x33e4c1,_0x1bc022)=>{const _0x19c248=_0x52f248;if(_0x19c248(0xe3)==_0x1d610c[_0x19c248(0xc2)][_0x19c248(0x8d)]){const _0x48c3f8=_0x46778c[_0x19c248(0x85)][_0x19c248(0x102)](_0x1bc022[_0x19c248(0xf7)]);_0x48c3f8?(_0x1d610c[_0x19c248(0x108)]=_0x48c3f8[_0x19c248(0x108)],_0x1d610c[_0x19c248(0xcf)]=_0x48c3f8[_0x19c248(0xcf)]):(_0x2d69b5[_0x19c248(0x91)](_0x3f3c2f[_0x19c248(0x103)]),_0x1d610c[_0x19c248(0xa2)]());}});}}});}),_0x46778c[_0x337d4c(0x9a)]['on'](_0x337d4c(0xfd),()=>{const _0x5513e4=_0x337d4c;_0x2d69b5[_0x5513e4(0xd7)]>0x0&&_0x46778c[_0x5513e4(0xb9)]({'isUndoable':!0x1},_0x44728d=>{const _0xd5970e=_0x5513e4;for(const [_0x5e8e0c,_0x46797f]of _0x2d69b5)_0xd5970e(0xe3)==_0x46778c[_0xd5970e(0xcd)][_0xd5970e(0xb2)](_0x5e8e0c)[_0xd5970e(0x100)]()[_0xd5970e(0xc2)][_0xd5970e(0x8d)]&&(re(_0x5e8e0c[_0xd5970e(0xd1)](':')[0x2],_0x46797f[_0xd5970e(0xc4)](),_0x46778c,_0x44728d),_0x46797f[_0xd5970e(0xa2)]());_0x2d69b5[_0xd5970e(0x89)]();});});}(_0x609e5a),this[_0x3eb0cb(0xde)][_0x3eb0cb(0x86)](_0x8f43c3[_0x3eb0cb(0x9a)],_0x3eb0cb(0x109),(_0x30b47f,{key:_0x767cd1})=>{const _0x4fc1c1=_0x3eb0cb;_0x4fc1c1(0xd0)===_0x767cd1&&function(_0x429ead){const _0x1934c4=_0x4fc1c1;_0x429ead[_0x1934c4(0xee)][_0x1934c4(0xfb)][_0x1934c4(0xfd)](_0x2d1efa=>{const _0x41cb0a=_0x1934c4;for(const _0x986f40 of _0x429ead[_0x41cb0a(0x10a)][_0x41cb0a(0xcd)]){if(!_0x986f40[_0x41cb0a(0x103)][_0x41cb0a(0xa5)](_0x41cb0a(0xb6)))continue;const _0x3e2fcb=_0x429ead[_0x41cb0a(0xee)][_0x41cb0a(0xbb)][_0x41cb0a(0xcb)](_0x986f40[_0x41cb0a(0x103)]);if(_0x3e2fcb){for(const _0x2ecd67 of _0x3e2fcb)_0x2d1efa[_0x41cb0a(0xeb)](_0x41cb0a(0xe1),_0x2ecd67);}}});}(_0x609e5a);},{'useCapture':!0x0});}[_0x3b7cba(0xd4)](){const _0x26ded7=_0x3b7cba,_0x40eb2b=this[_0x26ded7(0xc5)],_0x17738b=_0x40eb2b[_0x26ded7(0xf2)][_0x26ded7(0xb2)](_0x26ded7(0xd9));_0x17738b&&_0x40eb2b[_0x26ded7(0x10a)]['on'](_0x26ded7(0x101),(_0x2fed96,_0x4022b5)=>{const _0xbcddd2=_0x26ded7,_0x589f7c=_0x4022b5[0x0];if(!_0x589f7c[_0xbcddd2(0x9f)])return;if(_0xbcddd2(0xdb)!=_0x589f7c[_0xbcddd2(0xe4)]||!_0x589f7c[_0xbcddd2(0x103)][_0xbcddd2(0xa5)](_0xbcddd2(0xc8)))return;const _0x4cfc9d=_0x589f7c[_0xbcddd2(0xc1)];_0x17738b[_0xbcddd2(0xb4)][_0xbcddd2(0x9e)](_0x4cfc9d)&&(_0x589f7c[_0xbcddd2(0xce)]=_0x589f7c[_0xbcddd2(0xc7)]?_0x40eb2b[_0xbcddd2(0x10a)][_0xbcddd2(0xbd)](_0x589f7c[_0xbcddd2(0xc7)][_0xbcddd2(0x108)],_0x589f7c[_0xbcddd2(0xc7)][_0xbcddd2(0xcf)]):null);},{'priority':_0x26ded7(0x8a)});}[_0x3b7cba(0xa6)](){const _0x5c49be=_0x3b7cba;return this[_0x5c49be(0xde)][_0x5c49be(0xed)](),super[_0x5c49be(0xa6)]();}[_0x3b7cba(0x10d)](){const _0x15fa50=_0x3b7cba,_0x29d19c=this[_0x15fa50(0xc5)],_0xfc45c4=_0x29d19c[_0x15fa50(0x10a)][_0x15fa50(0x9a)],_0x40f2bd=_0x29d19c[_0x15fa50(0x8e)][_0x15fa50(0xb2)](_0x1632e0);_0x29d19c[_0x15fa50(0x10a)][_0x15fa50(0xb9)]({'isUndoable':!0x1},_0x3a0102=>{const _0x5d7f40=_0x15fa50,_0x1b17f8=_0x5d7f40(0x94)+_0x40f2bd[_0x5d7f40(0xe2)],_0x5a9d59=_0x5d7f40(0xe0)+_0x40f2bd[_0x5d7f40(0xe2)],_0x251f34=_0x29d19c[_0x5d7f40(0x10a)][_0x5d7f40(0xcd)][_0x5d7f40(0x9e)](_0x1b17f8);_0x29d19c[_0x5d7f40(0xee)][_0x5d7f40(0xfb)][_0x5d7f40(0xcc)]?re(_0x40f2bd[_0x5d7f40(0xe2)],_0xfc45c4[_0x5d7f40(0x106)][_0x5d7f40(0x9d)](),_0x29d19c[_0x5d7f40(0x10a)],_0x3a0102):_0x251f34&&(_0x3a0102[_0x5d7f40(0xab)](_0x1b17f8),_0x3a0102[_0x5d7f40(0xab)](_0x5a9d59));});}}function re(_0x30176f,_0x3111bf,_0x21b694,_0x2ac700){const _0x252d1e=_0x3b7cba,_0x2a4fe1=_0x252d1e(0x94)+_0x30176f,_0x22d14e=_0x252d1e(0xe0)+_0x30176f,_0x4cbd7d=_0x3111bf[_0x252d1e(0x104)]();let _0x3f3ac1=_0x3111bf[_0x252d1e(0x108)];if(_0x4cbd7d&&_0x4cbd7d['is'](_0x252d1e(0xbf),_0x252d1e(0xa9))){const _0x188ad4=function(_0x545c25,_0x2453b5){const _0x14f918=_0x252d1e;for(const _0x3ce587 of _0x545c25[_0x14f918(0xac)]())if(_0x2453b5[_0x14f918(0x85)][_0x14f918(0x98)](_0x3ce587,_0x14f918(0xfe)))return _0x3ce587;}(_0x3111bf,_0x21b694);_0x188ad4&&(_0x3f3ac1=_0x188ad4,_0x3111bf=_0x2ac700[_0x252d1e(0xbd)](_0x3f3ac1));}const _0x10727c=_0x2ac700[_0x252d1e(0xbd)](_0x3f3ac1);_0x21b694[_0x252d1e(0xcd)][_0x252d1e(0x9e)](_0x2a4fe1)?(_0x2ac700[_0x252d1e(0xd2)](_0x2a4fe1,{'range':_0x3111bf}),_0x2ac700[_0x252d1e(0xd2)](_0x22d14e,{'range':_0x10727c})):(_0x2ac700[_0x252d1e(0xa1)](_0x2a4fe1,{'range':_0x3111bf,'usingOperation':!0x0}),_0x2ac700[_0x252d1e(0xa1)](_0x22d14e,{'range':_0x10727c,'usingOperation':!0x0}));}