@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.7 → 43.3.0-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 (327) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ast.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/bs.js +1 -0
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/en-gb.js +1 -0
  8. package/build/translations/eo.js +1 -0
  9. package/build/translations/es-co.js +1 -0
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/eu.js +1 -0
  12. package/build/translations/fa.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/gu.js +1 -0
  15. package/build/translations/he.js +1 -1
  16. package/build/translations/hy.js +1 -0
  17. package/build/translations/it.js +1 -1
  18. package/build/translations/jv.js +1 -0
  19. package/build/translations/kk.js +1 -0
  20. package/build/translations/km.js +1 -0
  21. package/build/translations/kn.js +1 -0
  22. package/build/translations/ku.js +1 -0
  23. package/build/translations/lt.js +1 -1
  24. package/build/translations/nb.js +1 -0
  25. package/build/translations/ne.js +1 -0
  26. package/build/translations/oc.js +1 -0
  27. package/build/translations/pl.js +1 -1
  28. package/build/translations/pt-br.js +1 -1
  29. package/build/translations/pt.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/si.js +1 -0
  32. package/build/translations/sk.js +1 -1
  33. package/build/translations/sl.js +1 -0
  34. package/build/translations/sq.js +1 -0
  35. package/build/translations/ti.js +1 -0
  36. package/build/translations/tt.js +1 -0
  37. package/build/translations/ug.js +1 -0
  38. package/build/translations/uk.js +1 -1
  39. package/build/translations/ur.js +1 -0
  40. package/build/translations/uz.js +1 -0
  41. package/dist/index-editor.css +10 -14
  42. package/dist/index.css +10 -14
  43. package/dist/index.js +6 -6
  44. package/dist/presencelist.d.ts +8 -0
  45. package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +8 -0
  46. package/dist/realtimecollaborativecomments.d.ts +8 -0
  47. package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +8 -0
  48. package/dist/realtimecollaborativeediting/sessions.d.ts +8 -0
  49. package/dist/realtimecollaborativeediting/usermarkers.d.ts +8 -0
  50. package/dist/realtimecollaborativeediting/websocketgateway.d.ts +8 -0
  51. package/dist/realtimecollaborativeediting.d.ts +8 -0
  52. package/dist/realtimecollaborativerevisionhistory.d.ts +8 -0
  53. package/dist/realtimecollaborativetrackchanges.d.ts +8 -0
  54. package/dist/translations/af.d.ts +8 -0
  55. package/dist/translations/af.js +23 -0
  56. package/dist/translations/af.umd.js +23 -0
  57. package/dist/translations/ar.js +1 -1
  58. package/dist/translations/ar.umd.js +1 -1
  59. package/dist/translations/ast.d.ts +8 -0
  60. package/dist/translations/ast.js +23 -0
  61. package/dist/translations/ast.umd.js +23 -0
  62. package/dist/translations/az.d.ts +8 -0
  63. package/dist/translations/az.js +23 -0
  64. package/dist/translations/az.umd.js +23 -0
  65. package/dist/translations/bg.js +1 -1
  66. package/dist/translations/bg.umd.js +1 -1
  67. package/dist/translations/bn.js +1 -1
  68. package/dist/translations/bn.umd.js +1 -1
  69. package/dist/translations/bs.d.ts +8 -0
  70. package/dist/translations/bs.js +23 -0
  71. package/dist/translations/bs.umd.js +23 -0
  72. package/dist/translations/ca.js +1 -1
  73. package/dist/translations/ca.umd.js +1 -1
  74. package/dist/translations/cs.js +1 -1
  75. package/dist/translations/cs.umd.js +1 -1
  76. package/dist/translations/da.js +1 -1
  77. package/dist/translations/da.umd.js +1 -1
  78. package/dist/translations/de-ch.js +1 -1
  79. package/dist/translations/de-ch.umd.js +1 -1
  80. package/dist/translations/de.js +1 -1
  81. package/dist/translations/de.umd.js +1 -1
  82. package/dist/translations/el.js +1 -1
  83. package/dist/translations/el.umd.js +1 -1
  84. package/dist/translations/en-au.js +1 -1
  85. package/dist/translations/en-au.umd.js +1 -1
  86. package/dist/translations/en-gb.d.ts +8 -0
  87. package/dist/translations/en-gb.js +23 -0
  88. package/dist/translations/en-gb.umd.js +23 -0
  89. package/dist/translations/en.js +1 -1
  90. package/dist/translations/en.umd.js +1 -1
  91. package/dist/translations/eo.d.ts +8 -0
  92. package/dist/translations/eo.js +23 -0
  93. package/dist/translations/eo.umd.js +23 -0
  94. package/dist/translations/es-co.d.ts +8 -0
  95. package/dist/translations/es-co.js +23 -0
  96. package/dist/translations/es-co.umd.js +23 -0
  97. package/dist/translations/es.js +1 -1
  98. package/dist/translations/es.umd.js +1 -1
  99. package/dist/translations/et.js +1 -1
  100. package/dist/translations/et.umd.js +1 -1
  101. package/dist/translations/eu.d.ts +8 -0
  102. package/dist/translations/eu.js +23 -0
  103. package/dist/translations/eu.umd.js +23 -0
  104. package/dist/translations/fa.js +1 -1
  105. package/dist/translations/fa.umd.js +1 -1
  106. package/dist/translations/fi.js +1 -1
  107. package/dist/translations/fi.umd.js +1 -1
  108. package/dist/translations/fr.js +1 -1
  109. package/dist/translations/fr.umd.js +1 -1
  110. package/dist/translations/gl.js +1 -1
  111. package/dist/translations/gl.umd.js +1 -1
  112. package/dist/translations/gu.d.ts +8 -0
  113. package/dist/translations/gu.js +23 -0
  114. package/dist/translations/gu.umd.js +23 -0
  115. package/dist/translations/he.js +1 -1
  116. package/dist/translations/he.umd.js +1 -1
  117. package/dist/translations/hi.js +1 -1
  118. package/dist/translations/hi.umd.js +1 -1
  119. package/dist/translations/hr.js +1 -1
  120. package/dist/translations/hr.umd.js +1 -1
  121. package/dist/translations/hu.js +1 -1
  122. package/dist/translations/hu.umd.js +1 -1
  123. package/dist/translations/hy.d.ts +8 -0
  124. package/dist/translations/hy.js +23 -0
  125. package/dist/translations/hy.umd.js +23 -0
  126. package/dist/translations/id.js +1 -1
  127. package/dist/translations/id.umd.js +1 -1
  128. package/dist/translations/it.js +1 -1
  129. package/dist/translations/it.umd.js +1 -1
  130. package/dist/translations/ja.js +1 -1
  131. package/dist/translations/ja.umd.js +1 -1
  132. package/dist/translations/jv.d.ts +8 -0
  133. package/dist/translations/jv.js +23 -0
  134. package/dist/translations/jv.umd.js +23 -0
  135. package/dist/translations/kk.d.ts +8 -0
  136. package/dist/translations/kk.js +23 -0
  137. package/dist/translations/kk.umd.js +23 -0
  138. package/dist/translations/km.d.ts +8 -0
  139. package/dist/translations/km.js +23 -0
  140. package/dist/translations/km.umd.js +23 -0
  141. package/dist/translations/kn.d.ts +8 -0
  142. package/dist/translations/kn.js +23 -0
  143. package/dist/translations/kn.umd.js +23 -0
  144. package/dist/translations/ko.js +1 -1
  145. package/dist/translations/ko.umd.js +1 -1
  146. package/dist/translations/ku.d.ts +8 -0
  147. package/dist/translations/ku.js +23 -0
  148. package/dist/translations/ku.umd.js +23 -0
  149. package/dist/translations/lt.js +1 -1
  150. package/dist/translations/lt.umd.js +1 -1
  151. package/dist/translations/lv.js +1 -1
  152. package/dist/translations/lv.umd.js +1 -1
  153. package/dist/translations/ms.js +1 -1
  154. package/dist/translations/ms.umd.js +1 -1
  155. package/dist/translations/nb.d.ts +8 -0
  156. package/dist/translations/nb.js +23 -0
  157. package/dist/translations/nb.umd.js +23 -0
  158. package/dist/translations/ne.d.ts +8 -0
  159. package/dist/translations/ne.js +23 -0
  160. package/dist/translations/ne.umd.js +23 -0
  161. package/dist/translations/nl.js +1 -1
  162. package/dist/translations/nl.umd.js +1 -1
  163. package/dist/translations/no.js +1 -1
  164. package/dist/translations/no.umd.js +1 -1
  165. package/dist/translations/oc.d.ts +8 -0
  166. package/dist/translations/oc.js +23 -0
  167. package/dist/translations/oc.umd.js +23 -0
  168. package/dist/translations/pl.js +1 -1
  169. package/dist/translations/pl.umd.js +1 -1
  170. package/dist/translations/pt-br.js +1 -1
  171. package/dist/translations/pt-br.umd.js +1 -1
  172. package/dist/translations/pt.js +1 -1
  173. package/dist/translations/pt.umd.js +1 -1
  174. package/dist/translations/ro.js +1 -1
  175. package/dist/translations/ro.umd.js +1 -1
  176. package/dist/translations/ru.js +1 -1
  177. package/dist/translations/ru.umd.js +1 -1
  178. package/dist/translations/si.d.ts +8 -0
  179. package/dist/translations/si.js +23 -0
  180. package/dist/translations/si.umd.js +23 -0
  181. package/dist/translations/sk.js +1 -1
  182. package/dist/translations/sk.umd.js +1 -1
  183. package/dist/translations/sl.d.ts +8 -0
  184. package/dist/translations/sl.js +23 -0
  185. package/dist/translations/sl.umd.js +23 -0
  186. package/dist/translations/sq.d.ts +8 -0
  187. package/dist/translations/sq.js +23 -0
  188. package/dist/translations/sq.umd.js +23 -0
  189. package/dist/translations/sr-latn.js +1 -1
  190. package/dist/translations/sr-latn.umd.js +1 -1
  191. package/dist/translations/sr.js +1 -1
  192. package/dist/translations/sr.umd.js +1 -1
  193. package/dist/translations/sv.js +1 -1
  194. package/dist/translations/sv.umd.js +1 -1
  195. package/dist/translations/th.js +1 -1
  196. package/dist/translations/th.umd.js +1 -1
  197. package/dist/translations/ti.d.ts +8 -0
  198. package/dist/translations/ti.js +23 -0
  199. package/dist/translations/ti.umd.js +23 -0
  200. package/dist/translations/tk.js +1 -1
  201. package/dist/translations/tk.umd.js +1 -1
  202. package/dist/translations/tr.js +1 -1
  203. package/dist/translations/tr.umd.js +1 -1
  204. package/dist/translations/tt.d.ts +8 -0
  205. package/dist/translations/tt.js +23 -0
  206. package/dist/translations/tt.umd.js +23 -0
  207. package/dist/translations/ug.d.ts +8 -0
  208. package/dist/translations/ug.js +23 -0
  209. package/dist/translations/ug.umd.js +23 -0
  210. package/dist/translations/uk.js +1 -1
  211. package/dist/translations/uk.umd.js +1 -1
  212. package/dist/translations/ur.d.ts +8 -0
  213. package/dist/translations/ur.js +23 -0
  214. package/dist/translations/ur.umd.js +23 -0
  215. package/dist/translations/uz.d.ts +8 -0
  216. package/dist/translations/uz.js +23 -0
  217. package/dist/translations/uz.umd.js +23 -0
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/translations/af.po +54 -0
  225. package/lang/translations/ar.po +4 -10
  226. package/lang/translations/ast.po +54 -0
  227. package/lang/translations/az.po +54 -0
  228. package/lang/translations/bg.po +3 -9
  229. package/lang/translations/bn.po +3 -9
  230. package/lang/translations/bs.po +55 -0
  231. package/lang/translations/ca.po +3 -9
  232. package/lang/translations/cs.po +4 -11
  233. package/lang/translations/da.po +3 -9
  234. package/lang/translations/de-ch.po +3 -9
  235. package/lang/translations/de.po +3 -9
  236. package/lang/translations/el.po +3 -9
  237. package/lang/translations/en-au.po +3 -9
  238. package/lang/translations/en-gb.po +54 -0
  239. package/lang/translations/en.po +5 -11
  240. package/lang/translations/eo.po +54 -0
  241. package/lang/translations/es-co.po +54 -0
  242. package/lang/translations/es.po +4 -11
  243. package/lang/translations/et.po +3 -9
  244. package/lang/translations/eu.po +54 -0
  245. package/lang/translations/fa.po +4 -11
  246. package/lang/translations/fi.po +3 -9
  247. package/lang/translations/fr.po +4 -11
  248. package/lang/translations/gl.po +3 -9
  249. package/lang/translations/gu.po +54 -0
  250. package/lang/translations/he.po +4 -11
  251. package/lang/translations/hi.po +3 -9
  252. package/lang/translations/hr.po +4 -10
  253. package/lang/translations/hu.po +3 -9
  254. package/lang/translations/hy.po +54 -0
  255. package/lang/translations/id.po +3 -9
  256. package/lang/translations/it.po +4 -11
  257. package/lang/translations/ja.po +3 -9
  258. package/lang/translations/jv.po +54 -0
  259. package/lang/translations/kk.po +54 -0
  260. package/lang/translations/km.po +53 -0
  261. package/lang/translations/kn.po +54 -0
  262. package/lang/translations/ko.po +3 -9
  263. package/lang/translations/ku.po +54 -0
  264. package/lang/translations/lt.po +4 -11
  265. package/lang/translations/lv.po +4 -10
  266. package/lang/translations/ms.po +3 -9
  267. package/lang/translations/nb.po +54 -0
  268. package/lang/translations/ne.po +54 -0
  269. package/lang/translations/nl.po +3 -9
  270. package/lang/translations/no.po +3 -9
  271. package/lang/translations/oc.po +54 -0
  272. package/lang/translations/pl.po +4 -11
  273. package/lang/translations/pt-br.po +4 -11
  274. package/lang/translations/pt.po +4 -11
  275. package/lang/translations/ro.po +4 -10
  276. package/lang/translations/ru.po +4 -11
  277. package/lang/translations/si.po +54 -0
  278. package/lang/translations/sk.po +4 -11
  279. package/lang/translations/sl.po +56 -0
  280. package/lang/translations/sq.po +54 -0
  281. package/lang/translations/sr-latn.po +4 -10
  282. package/lang/translations/sr.po +4 -10
  283. package/lang/translations/sv.po +3 -9
  284. package/lang/translations/th.po +3 -9
  285. package/lang/translations/ti.po +54 -0
  286. package/lang/translations/tk.po +3 -9
  287. package/lang/translations/tr.po +3 -9
  288. package/lang/translations/tt.po +53 -0
  289. package/lang/translations/ug.po +53 -0
  290. package/lang/translations/uk.po +4 -11
  291. package/lang/translations/ur.po +54 -0
  292. package/lang/translations/uz.po +54 -0
  293. package/lang/translations/vi.po +3 -9
  294. package/lang/translations/zh-cn.po +3 -9
  295. package/lang/translations/zh.po +3 -9
  296. package/package.json +10 -10
  297. package/src/common-translations.js +1 -1
  298. package/src/index.js +1 -1
  299. package/src/presencelist/presencelistui.js +1 -1
  300. package/src/presencelist/view/presencecounterview.js +1 -1
  301. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  302. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  303. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  304. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  305. package/src/presencelist/view/presencelistview.js +1 -1
  306. package/src/presencelist.d.ts +8 -0
  307. package/src/presencelist.js +1 -1
  308. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +8 -0
  309. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
  310. package/src/realtimecollaborativecomments.d.ts +8 -0
  311. package/src/realtimecollaborativecomments.js +1 -1
  312. package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +8 -0
  313. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
  314. package/src/realtimecollaborativeediting/sessions.d.ts +8 -0
  315. package/src/realtimecollaborativeediting/sessions.js +1 -1
  316. package/src/realtimecollaborativeediting/usermarkers.d.ts +8 -0
  317. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  318. package/src/realtimecollaborativeediting/websocketgateway.d.ts +8 -0
  319. package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
  320. package/src/realtimecollaborativeediting.d.ts +8 -0
  321. package/src/realtimecollaborativeediting.js +1 -1
  322. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
  323. package/src/realtimecollaborativerevisionhistory.d.ts +8 -0
  324. package/src/realtimecollaborativerevisionhistory.js +1 -1
  325. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
  326. package/src/realtimecollaborativetrackchanges.d.ts +8 -0
  327. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54a8e8=_0x33ed;(function(_0x495d4d,_0x429320){const _0x29ab2e=_0x33ed,_0x35d79c=_0x495d4d();while(!![]){try{const _0x361a49=-parseInt(_0x29ab2e(0x11e))/0x1*(-parseInt(_0x29ab2e(0x158))/0x2)+parseInt(_0x29ab2e(0x152))/0x3+-parseInt(_0x29ab2e(0x13c))/0x4*(-parseInt(_0x29ab2e(0x114))/0x5)+-parseInt(_0x29ab2e(0x167))/0x6+parseInt(_0x29ab2e(0x12c))/0x7*(parseInt(_0x29ab2e(0x10b))/0x8)+parseInt(_0x29ab2e(0x138))/0x9*(parseInt(_0x29ab2e(0x119))/0xa)+parseInt(_0x29ab2e(0x15c))/0xb*(-parseInt(_0x29ab2e(0x11a))/0xc);if(_0x361a49===_0x429320)break;else _0x35d79c['push'](_0x35d79c['shift']());}catch(_0x2587e4){_0x35d79c['push'](_0x35d79c['shift']());}}}(_0xcd97,0x4545a));import{Context as _0x4dafd8,ContextPlugin as _0x415923}from'ckeditor5/src/core.js';import{CKEditorError as _0x42fbb5}from'ckeditor5/src/utils.js';import{Users as _0x187a56}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5f00ed,User as _0x59bb9f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0xcd97(){const _0x5045b3=['set','updateCommentThread','reopenCommentThread','catch','connect','resolve','getComment','sessionAdd:','_getService','2039862wsGsuo','permissions','addUser','getCommentThreads','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','collaboration.channelId','commentThreadRemoved','removeCommentThread','register','8AXNkls','_connectService','delete','message','assign','commentThreadAdded','requires','resolvedAt','addComment','1353900buNbZv','commentThreadResolved','disconnect','commentRemoved','deletedAt','1630PAIRtT','10362276XDKMht','from','size','CommentsService','209639DlQjcO','cloudservicescommentsadapter-disconnect-not-exist','commentId','mySessionId','updateComment','addToReconnectionStack','_fetchMissingUsersForThreads','context','authorId','reconnect','createdAt','_terminateService','_services','get','3601514zgkVYM','404','keys','has','getCommentThread','resolvedBy','code','init','plugins','CloudServicesCommentsAdapter','add','reopen','3906qbhZow','getMany','commentUpdated','CommentsRepository','4yijncA','getConnectedSessions','cloudservicescommentsadapter-service-not-exist','getUser','off','config','resolveCommentThread','startsWith','removeComment','addCommentThread','comments','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','cloud-services-internal-error:\x20Not\x20connected.','adapter','_setUpService','commentAdded','listenTo','attributes','remove','commentThreadId','pluginName','1264725iSicHy','map','unregister','update','Permissions','commentThreadUpdated','2phoUcp','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','destroy','11Xiytzc','content'];_0xcd97=function(){return _0x5045b3;};return _0xcd97();}import _0x553ab9 from'../realtimecollaborativeediting/websocketgateway.js';import _0x10d488 from'../realtimecollaborativeediting/sessions.js';function _0x33ed(_0xaa32af,_0xfc734){const _0xcd97f8=_0xcd97();return _0x33ed=function(_0x33ed45,_0x21239d){_0x33ed45=_0x33ed45-0x105;let _0x25a51a=_0xcd97f8[_0x33ed45];return _0x25a51a;},_0x33ed(_0xaa32af,_0xfc734);}class a extends _0x415923{static get[_0x54a8e8(0x111)](){const _0x586fd5=_0x54a8e8;return[_0x553ab9,_0x586fd5(0x13b),_0x10d488,_0x187a56];}static get[_0x54a8e8(0x151)](){const _0x5c6384=_0x54a8e8;return _0x5c6384(0x135);}constructor(_0x4c37df){const _0x5d049f=_0x54a8e8;super(_0x4c37df),this[_0x5d049f(0x12a)]=new Map();}async[_0x54a8e8(0x133)](){const _0x20e6c7=_0x54a8e8,_0x315ef4=this[_0x20e6c7(0x125)],_0x395fa8=_0x315ef4[_0x20e6c7(0x134)][_0x20e6c7(0x12b)](_0x20e6c7(0x13b));if(_0x315ef4[_0x20e6c7(0x134)][_0x20e6c7(0x12b)](_0x553ab9)[_0x20e6c7(0x123)](this),_0x395fa8[_0x20e6c7(0x14a)]={'addCommentThread':async({channelId:_0x169c24,threadId:_0x4942be,comments:_0x1b7df9,resolvedAt:_0x37a7f5,resolvedBy:_0x55d464,context:_0x1f42d0,attributes:_0x5cdbba})=>{const _0x5dbbd0=_0x20e6c7,_0x233c08=await this[_0x5dbbd0(0x166)](_0x169c24)[_0x5dbbd0(0x145)]({'commentThreadId':_0x4942be,'comments':_0x1b7df9[_0x5dbbd0(0x153)](_0x15e8de=>function(_0x41546b,_0x2f3926,_0x490c36){const _0x18d378=_0x5dbbd0;return{'commentThreadId':_0x490c36,'commentId':_0x41546b[_0x18d378(0x120)],'userId':_0x41546b[_0x18d378(0x126)],'content':_0x41546b[_0x18d378(0x15d)],'documentId':_0x2f3926,'createdAt':_0x41546b[_0x18d378(0x128)],'attributes':_0x41546b[_0x18d378(0x14e)]||{}};}(_0x15e8de,_0x169c24,_0x4942be)),'resolvedAt':_0x37a7f5,'resolvedBy':_0x55d464,'context':_0x1f42d0,'attributes':_0x5cdbba})[_0x5dbbd0(0x161)](R);return{'threadId':_0x233c08[_0x5dbbd0(0x150)],'comments':_0x233c08[_0x5dbbd0(0x146)]};},'getCommentThread':async({channelId:_0x3c72c1,threadId:_0x2f68b2})=>{const _0x40186c=_0x20e6c7,_0x1e1937=await this[_0x40186c(0x166)](_0x3c72c1)[_0x40186c(0x130)](_0x2f68b2)[_0x40186c(0x161)](R);return _0x1e1937[_0x40186c(0x118)]?null:(await this[_0x40186c(0x124)]([_0x1e1937]),{'threadId':_0x1e1937[_0x40186c(0x150)],'comments':_0x1e1937[_0x40186c(0x146)][_0x40186c(0x153)](S),'context':_0x1e1937[_0x40186c(0x125)],'resolvedAt':_0x1e1937[_0x40186c(0x112)],'resolvedBy':_0x1e1937[_0x40186c(0x131)],'attributes':_0x1e1937[_0x40186c(0x14e)]||{}});},'updateCommentThread':async({channelId:_0x222fc8,threadId:_0x9e03b8,context:_0x349275,unlinkedAt:_0x28b6b4,attributes:_0x8d3402})=>this[_0x20e6c7(0x166)](_0x222fc8)[_0x20e6c7(0x15f)]({'commentThreadId':_0x9e03b8,'context':_0x349275,'attributes':_0x8d3402,'unlinkedAt':_0x28b6b4})[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'resolveCommentThread':async({channelId:_0x2b2495,threadId:_0x1b7577})=>{const _0xd5d9c6=_0x20e6c7,_0x2193e0=await this[_0xd5d9c6(0x166)](_0x2b2495)[_0xd5d9c6(0x142)](_0x1b7577)[_0xd5d9c6(0x161)](B)[_0xd5d9c6(0x161)](R);return{'threadId':_0x2193e0[_0xd5d9c6(0x150)],'resolvedAt':_0x2193e0[_0xd5d9c6(0x112)],'resolvedBy':_0x2193e0[_0xd5d9c6(0x131)]};},'reopenCommentThread':async({channelId:_0x335776,threadId:_0x49cc26})=>this[_0x20e6c7(0x166)](_0x335776)[_0x20e6c7(0x160)](_0x49cc26)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'removeCommentThread':({channelId:_0x4708ab,threadId:_0x4a856e})=>this[_0x20e6c7(0x166)](_0x4708ab)[_0x20e6c7(0x109)](_0x4a856e)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'addComment':({channelId:_0x210a8c,threadId:_0x316150,commentId:_0x3b5c8d,content:_0xd44101,attributes:_0x1c0ca1})=>this[_0x20e6c7(0x166)](_0x210a8c)[_0x20e6c7(0x113)](_0x316150,_0x3b5c8d,_0xd44101,_0x1c0ca1)[_0x20e6c7(0x161)](R),'updateComment':({channelId:_0x255f46,threadId:_0x4d4817,commentId:_0x3e140b,content:_0x1725e7,attributes:_0x37a84f})=>this[_0x20e6c7(0x166)](_0x255f46)[_0x20e6c7(0x122)](_0x4d4817,_0x3e140b,_0x1725e7,_0x37a84f)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'removeComment':({channelId:_0x5bdc64,threadId:_0x37ab49,commentId:_0x3716aa})=>this[_0x20e6c7(0x166)](_0x5bdc64)[_0x20e6c7(0x144)](_0x37ab49,_0x3716aa)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R)},_0x315ef4 instanceof _0x4dafd8){const _0x47db00=_0x315ef4[_0x20e6c7(0x141)][_0x20e6c7(0x12b)](_0x20e6c7(0x107)),_0x97f54e=_0x315ef4[_0x20e6c7(0x134)][_0x20e6c7(0x12b)](_0x10d488);await this[_0x20e6c7(0x14b)](_0x47db00);const _0x4e4892=await this[_0x20e6c7(0x12a)][_0x20e6c7(0x12b)](_0x47db00)[_0x20e6c7(0x13d)]();this[_0x20e6c7(0x14d)](_0x97f54e,_0x20e6c7(0x165)+_0x47db00,(_0x22bf37,{session:_0x4218bb})=>{const _0x27b0f2=_0x20e6c7;_0x4218bb['id']===_0x97f54e[_0x27b0f2(0x121)]&&(_0x22bf37[_0x27b0f2(0x140)](),this[_0x27b0f2(0x125)][_0x27b0f2(0x134)][_0x27b0f2(0x12b)](_0x27b0f2(0x156))[_0x27b0f2(0x106)](_0x4218bb[_0x27b0f2(0x168)],_0x47db00));}),_0x97f54e[_0x20e6c7(0x10a)](_0x47db00,_0x4e4892);}}async[_0x54a8e8(0x14b)](_0x12624c){const _0x17063a=_0x54a8e8;if(this[_0x17063a(0x12a)][_0x17063a(0x12f)](_0x12624c))throw new _0x42fbb5(_0x17063a(0x147),null,{'channelId':_0x12624c});const _0x503aee=this[_0x17063a(0x125)][_0x17063a(0x134)][_0x17063a(0x12b)](_0x17063a(0x13b)),_0x332fa6=new a[(_0x17063a(0x11d))](_0x12624c);this[_0x17063a(0x12a)][_0x17063a(0x15e)](_0x12624c,_0x332fa6),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x110),(_0xea7bb8,_0x569131)=>{const _0x190cb9=_0x17063a,{commentThreadId:_0x3f5789,documentId:_0x3e5830,context:_0x167104,attributes:_0x2e65f0,resolvedAt:_0x46000a,resolvedBy:_0x4ebd90,comments:_0x154608}=_0x569131;_0x503aee[_0x190cb9(0x130)](_0x3f5789)||_0x503aee[_0x190cb9(0x145)]({'threadId':_0x3f5789,'channelId':_0x3e5830,'comments':_0x154608?_0x154608[_0x190cb9(0x153)](S):[],'context':_0x167104,'attributes':_0x2e65f0,'resolvedAt':_0x46000a,'resolvedBy':_0x4ebd90,'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x157),(_0x24cd7d,{commentThreadId:_0x2ba91d,documentId:_0x4c7a01,context:_0x579596,unlinkedAt:_0x37ddf5,attributes:_0x361bcd})=>{const _0x1c5b35=_0x17063a;_0x503aee[_0x1c5b35(0x130)](_0x2ba91d)&&_0x503aee[_0x1c5b35(0x15f)]({'threadId':_0x2ba91d,'channelId':_0x4c7a01,'context':_0x579596,'unlinkedAt':_0x37ddf5,'attributes':_0x361bcd,'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x115),(_0x159a22,{commentThreadId:_0x58687c,resolvedBy:_0x1d1ead,resolvedAt:_0x254100})=>{const _0x207c3f=_0x17063a,_0x39b687=_0x503aee[_0x207c3f(0x130)](_0x58687c);_0x39b687&&_0x39b687[_0x207c3f(0x163)]({'resolvedBy':_0x1d1ead,'resolvedAt':_0x254100,'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x148),(_0x15e276,{commentThreadId:_0x3f240d})=>{const _0x2a5d6c=_0x17063a,_0x29b7d0=_0x503aee[_0x2a5d6c(0x130)](_0x3f240d);_0x29b7d0&&_0x29b7d0[_0x2a5d6c(0x137)]({'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x108),(_0x15b1ce,{commentThreadId:_0x225844})=>{const _0x3f9c94=_0x17063a,_0x4e95d8=_0x503aee[_0x3f9c94(0x130)](_0x225844);_0x4e95d8&&_0x4e95d8[_0x3f9c94(0x14f)]({'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x14c),(_0x3994dd,_0x589300)=>{const _0x218a52=_0x17063a,_0x361639=_0x589300[_0x218a52(0x150)],_0x433fb5=_0x503aee[_0x218a52(0x130)](_0x361639);_0x433fb5&&_0x433fb5[_0x218a52(0x113)]({...S(_0x589300),'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x13a),(_0x520e2b,{commentThreadId:_0x1e701a,commentId:_0x3099b1,content:_0x3bb86e,attributes:_0x25325b})=>{const _0x37a815=_0x17063a,_0x1aaa67=_0x503aee[_0x37a815(0x130)](_0x1e701a);if(_0x1aaa67){const _0x283dbd=_0x1aaa67[_0x37a815(0x164)](_0x3099b1);_0x283dbd&&_0x283dbd[_0x37a815(0x155)]({'content':_0x3bb86e,'attributes':_0x25325b,'isFromAdapter':!0x0});}}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x117),(_0x3fd09d,{commentThreadId:_0x4c5e79,commentId:_0x12cf3b})=>{const _0x2edf97=_0x17063a,_0x3e74a2=_0x503aee[_0x2edf97(0x130)](_0x4c5e79);if(_0x3e74a2){const _0x494554=_0x3e74a2[_0x2edf97(0x164)](_0x12cf3b);_0x494554&&_0x494554[_0x2edf97(0x14f)]({'isFromAdapter':!0x0});}}),await this[_0x17063a(0x10c)](_0x12624c);}[_0x54a8e8(0x15b)](){const _0x453140=_0x54a8e8;if(this[_0x453140(0x125)]instanceof _0x4dafd8){const _0x896642=this[_0x453140(0x125)][_0x453140(0x141)][_0x453140(0x12b)](_0x453140(0x107));this[_0x453140(0x129)](_0x896642);}}[_0x54a8e8(0x129)](_0x495753){const _0x396653=_0x54a8e8;if(!this[_0x396653(0x12a)][_0x396653(0x12f)](_0x495753))throw new _0x42fbb5(_0x396653(0x11f),null,{'channelId':_0x495753});this[_0x396653(0x166)](_0x495753)[_0x396653(0x116)](),this[_0x396653(0x12a)][_0x396653(0x10d)](_0x495753);}async[_0x54a8e8(0x127)](){const _0xcef71d=_0x54a8e8;for(const _0x16baf7 of this[_0xcef71d(0x12a)][_0xcef71d(0x12e)]())await this[_0xcef71d(0x10c)](_0x16baf7);if(this[_0xcef71d(0x125)]instanceof _0x4dafd8){const _0x43af1c=this[_0xcef71d(0x125)][_0xcef71d(0x141)][_0xcef71d(0x12b)](_0xcef71d(0x107)),_0x2dd783=this[_0xcef71d(0x125)][_0xcef71d(0x134)][_0xcef71d(0x12b)](_0x10d488);_0x2dd783[_0xcef71d(0x154)](_0x43af1c);const _0xe1f2b3=await this[_0xcef71d(0x12a)][_0xcef71d(0x12b)](_0x43af1c)[_0xcef71d(0x13d)]();_0x2dd783[_0xcef71d(0x10a)](_0x43af1c,_0xe1f2b3);}}async[_0x54a8e8(0x10c)](_0x4c5987){const _0x58890c=_0x54a8e8,{connection:_0x3e9ad8}=this[_0x58890c(0x125)][_0x58890c(0x134)][_0x58890c(0x12b)](_0x553ab9),_0x1a3891=this[_0x58890c(0x125)][_0x58890c(0x134)][_0x58890c(0x12b)](_0x58890c(0x13b)),_0x374a86=this[_0x58890c(0x12a)][_0x58890c(0x12b)](_0x4c5987),_0x561122=await _0x374a86[_0x58890c(0x162)](_0x3e9ad8);await this[_0x58890c(0x124)](_0x561122);const _0x174ad9=new Set(Array[_0x58890c(0x11b)](_0x1a3891[_0x58890c(0x16a)]({'channelId':_0x4c5987}),_0x2082fd=>_0x2082fd['id']));for(const _0x2f3c55 of _0x561122)_0x2f3c55[_0x58890c(0x118)]||_0x174ad9[_0x58890c(0x10d)](_0x2f3c55[_0x58890c(0x150)]);for(const _0x4b7bf2 of _0x174ad9)_0x1a3891[_0x58890c(0x130)](_0x4b7bf2)[_0x58890c(0x14f)]({'isFromAdapter':!0x0});for(const _0x568f4d of _0x561122){let _0x1d7d95=_0x1a3891[_0x58890c(0x130)](_0x568f4d[_0x58890c(0x150)]);const {commentThreadId:_0xab00b6,context:_0x50c557,attributes:_0x51bac4,resolvedBy:_0xaeb722,resolvedAt:_0x1404bb,unlinkedAt:_0x1eec1e,deletedAt:_0x1014a7}=_0x568f4d;if(_0x1014a7)continue;_0x1d7d95||(_0x1d7d95=_0x1a3891[_0x58890c(0x145)]({'channelId':_0x4c5987,'threadId':_0xab00b6,'context':_0x50c557,'attributes':_0x51bac4||{},'resolvedBy':_0xaeb722,'resolvedAt':_0x1404bb,'unlinkedAt':_0x1eec1e,'isFromAdapter':!0x0}));const _0x41d0a3=new Set(Array[_0x58890c(0x11b)](_0x1d7d95[_0x58890c(0x146)],_0x1a3d78=>_0x1a3d78['id']));for(const _0x42a386 of _0x568f4d[_0x58890c(0x146)])_0x41d0a3[_0x58890c(0x10d)](_0x42a386[_0x58890c(0x120)]);for(const _0x58f47a of _0x41d0a3)_0x1d7d95[_0x58890c(0x164)](_0x58f47a)[_0x58890c(0x14f)]({'isFromAdapter':!0x0});for(const _0x34fa48 of _0x568f4d[_0x58890c(0x146)]){const _0x17bacb=_0x1d7d95[_0x58890c(0x164)](_0x34fa48[_0x58890c(0x120)]);_0x17bacb?_0x17bacb[_0x58890c(0x15d)]!==_0x34fa48[_0x58890c(0x15d)]&&_0x17bacb[_0x58890c(0x155)]({'content':_0x34fa48[_0x58890c(0x15d)],'isFromAdapter':!0x0}):_0x1d7d95[_0x58890c(0x113)](Object[_0x58890c(0x10f)](S(_0x34fa48),{'isFromAdapter':!0x0}));}}}[_0x54a8e8(0x166)](_0x421184){const _0x4c5cc4=_0x54a8e8;if(!this[_0x4c5cc4(0x12a)][_0x4c5cc4(0x12f)](_0x421184))throw new _0x42fbb5(_0x4c5cc4(0x13e),null,{'channelId':_0x421184});return this[_0x4c5cc4(0x12a)][_0x4c5cc4(0x12b)](_0x421184);}async[_0x54a8e8(0x124)](_0x4f3bb7){const _0x1729ad=_0x54a8e8,_0x17a842=this[_0x1729ad(0x125)][_0x1729ad(0x134)][_0x1729ad(0x12b)](_0x187a56),{connection:_0x1cba39}=this[_0x1729ad(0x125)][_0x1729ad(0x134)][_0x1729ad(0x12b)](_0x553ab9),_0x18ef4a=new Set();for(const {resolvedBy:_0x2d935f,comments:_0x4f7aeb}of _0x4f3bb7){_0x2d935f&&!_0x17a842[_0x1729ad(0x13f)](_0x2d935f)&&_0x18ef4a[_0x1729ad(0x136)](_0x2d935f);for(const {userId:_0x41610b}of _0x4f7aeb)_0x17a842[_0x1729ad(0x13f)](_0x41610b)||_0x18ef4a[_0x1729ad(0x136)](_0x41610b);}if(0x0===_0x18ef4a[_0x1729ad(0x11c)])return;const _0x3ade80=await _0x59bb9f[_0x1729ad(0x139)](_0x1cba39,Array[_0x1729ad(0x11b)](_0x18ef4a));for(const _0x1e0907 of _0x3ade80)_0x17a842[_0x1729ad(0x13f)](_0x1e0907['id'])||_0x17a842[_0x1729ad(0x169)](_0x1e0907);}}a[_0x54a8e8(0x11d)]=_0x5f00ed;export default a;async function B(_0x3974e5){const _0x2c49f6=_0x54a8e8;if(_0x2c49f6(0x12d)!==_0x3974e5[_0x2c49f6(0x132)])throw _0x3974e5;}function R(_0x2d3449){const _0x5555d8=_0x54a8e8;if((_0x395696=_0x2d3449)[_0x5555d8(0x10e)][_0x5555d8(0x143)](_0x5555d8(0x15a))||_0x395696[_0x5555d8(0x10e)][_0x5555d8(0x143)](_0x5555d8(0x149))||_0x395696[_0x5555d8(0x10e)][_0x5555d8(0x143)](_0x5555d8(0x105)))return new Promise(()=>{});var _0x395696;throw _0x2d3449;}function S(_0x1e9e30){const _0x3152c0=_0x54a8e8;return{'threadId':_0x1e9e30[_0x3152c0(0x150)],'commentId':_0x1e9e30[_0x3152c0(0x120)],'content':_0x1e9e30[_0x3152c0(0x15d)],'createdAt':_0x1e9e30[_0x3152c0(0x128)],'authorId':_0x1e9e30[_0x3152c0(0x159)],'attributes':_0x1e9e30[_0x3152c0(0x14e)]||{}};}
23
+ const _0x2fcc7d=_0x1e59;(function(_0x2d741a,_0x44c760){const _0x4635ce=_0x1e59,_0x3db5dd=_0x2d741a();while(!![]){try{const _0x3051e3=parseInt(_0x4635ce(0x100))/0x1*(-parseInt(_0x4635ce(0xd9))/0x2)+-parseInt(_0x4635ce(0x10f))/0x3*(-parseInt(_0x4635ce(0xdf))/0x4)+-parseInt(_0x4635ce(0x126))/0x5+-parseInt(_0x4635ce(0xf9))/0x6*(-parseInt(_0x4635ce(0x115))/0x7)+parseInt(_0x4635ce(0xe1))/0x8*(-parseInt(_0x4635ce(0x106))/0x9)+-parseInt(_0x4635ce(0x11f))/0xa*(parseInt(_0x4635ce(0x128))/0xb)+parseInt(_0x4635ce(0x103))/0xc;if(_0x3051e3===_0x44c760)break;else _0x3db5dd['push'](_0x3db5dd['shift']());}catch(_0xea39cc){_0x3db5dd['push'](_0x3db5dd['shift']());}}}(_0x58dd,0x30723));import{Context as _0x33a863,ContextPlugin as _0x3906ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x49256e}from'ckeditor5/src/utils.js';import{Users as _0x359e1a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x43b9f8,User as _0x3b2053}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xf3cbc4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x419264 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3906ef{static get[_0x2fcc7d(0x131)](){const _0x2bb4ff=_0x2fcc7d;return[_0xf3cbc4,_0x2bb4ff(0x10e),_0x419264,_0x359e1a];}static get[_0x2fcc7d(0x123)](){const _0x3258e7=_0x2fcc7d;return _0x3258e7(0xd2);}static get[_0x2fcc7d(0xfa)](){return!0x0;}static get[_0x2fcc7d(0xf3)](){return!0x0;}constructor(_0xbf805a){const _0x3c8a46=_0x2fcc7d;super(_0xbf805a),this[_0x3c8a46(0xcf)]=new Map();}async[_0x2fcc7d(0x12d)](){const _0xa91dca=_0x2fcc7d,_0x55f3ae=this[_0xa91dca(0x110)],_0x518201=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xa91dca(0x10e));if(_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xf3cbc4)[_0xa91dca(0x125)](this),_0x518201[_0xa91dca(0x11d)]={'addCommentThread':async({channelId:_0x285a36,threadId:_0x180e18,comments:_0x53c112,resolvedAt:_0x1cf34b,resolvedBy:_0x2a4dbf,context:_0x44b73b,attributes:_0x20bd6f})=>{const _0x4f76b5=_0xa91dca,_0x3f4247=await this[_0x4f76b5(0x102)](_0x285a36)[_0x4f76b5(0x114)]({'commentThreadId':_0x180e18,'comments':_0x53c112[_0x4f76b5(0x12f)](_0x5b1e77=>function(_0x4d0854,_0xe30b9e,_0x171b74){const _0x23464d=_0x4f76b5;return{'commentThreadId':_0x171b74,'commentId':_0x4d0854[_0x23464d(0xda)],'userId':_0x4d0854[_0x23464d(0xdc)],'content':_0x4d0854[_0x23464d(0xfc)],'documentId':_0xe30b9e,'createdAt':_0x4d0854[_0x23464d(0xf2)],'attributes':_0x4d0854[_0x23464d(0x109)]||{}};}(_0x5b1e77,_0x285a36,_0x180e18)),'resolvedAt':_0x1cf34b,'resolvedBy':_0x2a4dbf,'context':_0x44b73b,'attributes':_0x20bd6f})[_0x4f76b5(0xeb)](w);return{'threadId':_0x3f4247[_0x4f76b5(0x101)],'comments':_0x3f4247[_0x4f76b5(0xd3)]};},'getCommentThread':async({channelId:_0x212397,threadId:_0x2bf50a})=>{const _0x237006=_0xa91dca,_0x4968f1=await this[_0x237006(0x102)](_0x212397)[_0x237006(0xec)](_0x2bf50a)[_0x237006(0xeb)](w);return _0x4968f1[_0x237006(0xf4)]?null:(await this[_0x237006(0xf6)]([_0x4968f1]),{'threadId':_0x4968f1[_0x237006(0x101)],'comments':_0x4968f1[_0x237006(0xd3)][_0x237006(0x12f)](b),'context':_0x4968f1[_0x237006(0x110)],'resolvedAt':_0x4968f1[_0x237006(0xf1)],'resolvedBy':_0x4968f1[_0x237006(0x121)],'attributes':_0x4968f1[_0x237006(0x109)]||{}});},'updateCommentThread':async({channelId:_0x158a57,threadId:_0x21ca6d,context:_0x4cab3f,unlinkedAt:_0x279d6e,attributes:_0x2fbb21})=>this[_0xa91dca(0x102)](_0x158a57)[_0xa91dca(0xf0)]({'commentThreadId':_0x21ca6d,'context':_0x4cab3f,'attributes':_0x2fbb21,'unlinkedAt':_0x279d6e})[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'resolveCommentThread':async({channelId:_0x3904a0,threadId:_0x116d79})=>{const _0x2d3248=_0xa91dca,_0x1d0f77=await this[_0x2d3248(0x102)](_0x3904a0)[_0x2d3248(0xd1)](_0x116d79)[_0x2d3248(0xeb)](y)[_0x2d3248(0xeb)](w);return{'threadId':_0x1d0f77[_0x2d3248(0x101)],'resolvedAt':_0x1d0f77[_0x2d3248(0xf1)],'resolvedBy':_0x1d0f77[_0x2d3248(0x121)]};},'reopenCommentThread':async({channelId:_0x56cf5e,threadId:_0x3fa5e6})=>this[_0xa91dca(0x102)](_0x56cf5e)[_0xa91dca(0x122)](_0x3fa5e6)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeCommentThread':({channelId:_0x16fb0f,threadId:_0x5c45d2})=>this[_0xa91dca(0x102)](_0x16fb0f)[_0xa91dca(0xef)](_0x5c45d2)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'addComment':({channelId:_0x13940b,threadId:_0x467a2e,commentId:_0x4092e0,content:_0x31e46f,attributes:_0xa9e4c0})=>this[_0xa91dca(0x102)](_0x13940b)[_0xa91dca(0xe7)](_0x467a2e,_0x4092e0,_0x31e46f,_0xa9e4c0)[_0xa91dca(0xeb)](w),'updateComment':({channelId:_0x3802fe,threadId:_0x5a2697,commentId:_0x269c73,content:_0x139643,attributes:_0x214192})=>this[_0xa91dca(0x102)](_0x3802fe)[_0xa91dca(0x107)](_0x5a2697,_0x269c73,_0x139643,_0x214192)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeComment':({channelId:_0x3c10a8,threadId:_0x5d5eed,commentId:_0x5d300f})=>this[_0xa91dca(0x102)](_0x3c10a8)[_0xa91dca(0x11e)](_0x5d5eed,_0x5d300f)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w)},_0x55f3ae instanceof _0x33a863){const _0x44de62=_0x55f3ae[_0xa91dca(0x120)][_0xa91dca(0xff)](_0xa91dca(0x12e)),_0x113fe8=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0x419264);await this[_0xa91dca(0x108)](_0x44de62);const _0x1eac52=await this[_0xa91dca(0xcf)][_0xa91dca(0xff)](_0x44de62)[_0xa91dca(0x116)]();this[_0xa91dca(0xd8)](_0x113fe8,_0xa91dca(0xd0)+_0x44de62,(_0x2b7f73,{session:_0x3640bd})=>{const _0x24284c=_0xa91dca;_0x3640bd['id']===_0x113fe8[_0x24284c(0x129)]&&(_0x2b7f73[_0x24284c(0xfb)](),this[_0x24284c(0x110)][_0x24284c(0x10a)][_0x24284c(0xff)](_0x24284c(0x10b))[_0x24284c(0xd4)](_0x3640bd[_0x24284c(0x119)],_0x44de62));}),_0x113fe8[_0xa91dca(0xfd)](_0x44de62,_0x1eac52);}}async[_0x2fcc7d(0x108)](_0x494023){const _0x180d87=_0x2fcc7d;if(this[_0x180d87(0xcf)][_0x180d87(0x134)](_0x494023))throw new _0x49256e(_0x180d87(0xe8),null,{'channelId':_0x494023});const _0x1bd2ce=this[_0x180d87(0x110)][_0x180d87(0x10a)][_0x180d87(0xff)](_0x180d87(0x10e)),_0x583259=new a[(_0x180d87(0xd7))](_0x494023);this[_0x180d87(0xcf)][_0x180d87(0x12b)](_0x494023,_0x583259),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x136),(_0x5573a7,_0x4db20d)=>{const _0x4622e4=_0x180d87,{commentThreadId:_0x59ddd4,documentId:_0x537ef2,context:_0x497d28,attributes:_0x52018d,resolvedAt:_0x3287c4,resolvedBy:_0x368ddf,comments:_0x920785}=_0x4db20d;_0x1bd2ce[_0x4622e4(0xec)](_0x59ddd4)||_0x1bd2ce[_0x4622e4(0x114)]({'threadId':_0x59ddd4,'channelId':_0x537ef2,'comments':_0x920785?_0x920785[_0x4622e4(0x12f)](b):[],'context':_0x497d28,'attributes':_0x52018d,'resolvedAt':_0x3287c4,'resolvedBy':_0x368ddf,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x12a),(_0x42b814,{commentThreadId:_0x506be7,documentId:_0xa1960d,context:_0x5c714c,unlinkedAt:_0x44b3d3,attributes:_0x3509d8})=>{const _0x517989=_0x180d87;_0x1bd2ce[_0x517989(0xec)](_0x506be7)&&_0x1bd2ce[_0x517989(0xf0)]({'threadId':_0x506be7,'channelId':_0xa1960d,'context':_0x5c714c,'unlinkedAt':_0x44b3d3,'attributes':_0x3509d8,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xf7),(_0x25e0e0,{commentThreadId:_0x5cdf1f,resolvedBy:_0x2994bc,resolvedAt:_0x5445a6})=>{const _0x56e136=_0x180d87,_0xae95a5=_0x1bd2ce[_0x56e136(0xec)](_0x5cdf1f);_0xae95a5&&_0xae95a5[_0x56e136(0x10c)]({'resolvedBy':_0x2994bc,'resolvedAt':_0x5445a6,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x104),(_0x37848c,{commentThreadId:_0x40d7cb})=>{const _0x5ed345=_0x180d87,_0x1051ae=_0x1bd2ce[_0x5ed345(0xec)](_0x40d7cb);_0x1051ae&&_0x1051ae[_0x5ed345(0x105)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11b),(_0x1f8cfd,{commentThreadId:_0x36186a})=>{const _0x40760b=_0x180d87,_0xa99bce=_0x1bd2ce[_0x40760b(0xec)](_0x36186a);_0xa99bce&&_0xa99bce[_0x40760b(0x135)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xd6),(_0x54831c,_0x5465e0)=>{const _0x441b00=_0x180d87,_0x45805f=_0x5465e0[_0x441b00(0x101)],_0x459573=_0x1bd2ce[_0x441b00(0xec)](_0x45805f);_0x459573&&_0x459573[_0x441b00(0xe7)]({...b(_0x5465e0),'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xe9),(_0x4e401c,{commentThreadId:_0x52aad5,commentId:_0x1064cf,content:_0x4e92ba,attributes:_0x324a0b})=>{const _0x328b29=_0x180d87,_0x5e7bf0=_0x1bd2ce[_0x328b29(0xec)](_0x52aad5);if(_0x5e7bf0){const _0x6130b=_0x5e7bf0[_0x328b29(0xf5)](_0x1064cf);_0x6130b&&_0x6130b[_0x328b29(0xe5)]({'content':_0x4e92ba,'attributes':_0x324a0b,'isFromAdapter':!0x0});}}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11a),(_0x11bf59,{commentThreadId:_0x25d45f,commentId:_0x46a5e1})=>{const _0x4c3cec=_0x180d87,_0x27478c=_0x1bd2ce[_0x4c3cec(0xec)](_0x25d45f);if(_0x27478c){const _0x4905d5=_0x27478c[_0x4c3cec(0xf5)](_0x46a5e1);_0x4905d5&&_0x4905d5[_0x4c3cec(0x135)]({'isFromAdapter':!0x0});}}),await this[_0x180d87(0xfe)](_0x494023);}[_0x2fcc7d(0xdd)](){const _0x553f0e=_0x2fcc7d;if(this[_0x553f0e(0x110)]instanceof _0x33a863){const _0x15e863=this[_0x553f0e(0x110)][_0x553f0e(0x120)][_0x553f0e(0xff)](_0x553f0e(0x12e));this[_0x553f0e(0xdb)](_0x15e863);}}[_0x2fcc7d(0xdb)](_0x4ebca0){const _0x4911b3=_0x2fcc7d;if(!this[_0x4911b3(0xcf)][_0x4911b3(0x134)](_0x4ebca0))throw new _0x49256e(_0x4911b3(0xd5),null,{'channelId':_0x4ebca0});this[_0x4911b3(0x102)](_0x4ebca0)[_0x4911b3(0x12c)](),this[_0x4911b3(0xcf)][_0x4911b3(0x10d)](_0x4ebca0);}async[_0x2fcc7d(0xe3)](){const _0x4d8f79=_0x2fcc7d;for(const _0x421969 of this[_0x4d8f79(0xcf)][_0x4d8f79(0x130)]())await this[_0x4d8f79(0xfe)](_0x421969);if(this[_0x4d8f79(0x110)]instanceof _0x33a863){const _0x29ab1a=this[_0x4d8f79(0x110)][_0x4d8f79(0x120)][_0x4d8f79(0xff)](_0x4d8f79(0x12e)),_0x79c67=this[_0x4d8f79(0x110)][_0x4d8f79(0x10a)][_0x4d8f79(0xff)](_0x419264);_0x79c67[_0x4d8f79(0x127)](_0x29ab1a);const _0x40ee6c=await this[_0x4d8f79(0xcf)][_0x4d8f79(0xff)](_0x29ab1a)[_0x4d8f79(0x116)]();_0x79c67[_0x4d8f79(0xfd)](_0x29ab1a,_0x40ee6c);}}async[_0x2fcc7d(0xfe)](_0x18ace3){const _0x5a03e7=_0x2fcc7d,{connection:_0xad85c8}=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0xf3cbc4),_0x9f0908=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0x5a03e7(0x10e)),_0x2fa5eb=this[_0x5a03e7(0xcf)][_0x5a03e7(0xff)](_0x18ace3),_0x48f417=await _0x2fa5eb[_0x5a03e7(0x111)](_0xad85c8);await this[_0x5a03e7(0xf6)](_0x48f417);const _0x41e59c=new Set(Array[_0x5a03e7(0x11c)](_0x9f0908[_0x5a03e7(0xde)]({'channelId':_0x18ace3}),_0x5dcfc6=>_0x5dcfc6['id']));for(const _0x1ef9d9 of _0x48f417)_0x1ef9d9[_0x5a03e7(0xf4)]||_0x41e59c[_0x5a03e7(0x10d)](_0x1ef9d9[_0x5a03e7(0x101)]);for(const _0x26229f of _0x41e59c)_0x9f0908[_0x5a03e7(0xec)](_0x26229f)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x576606 of _0x48f417){let _0x3217c0=_0x9f0908[_0x5a03e7(0xec)](_0x576606[_0x5a03e7(0x101)]);const {commentThreadId:_0x27be9f,context:_0x1c4bb5,attributes:_0x3f3525,resolvedBy:_0x4a5868,resolvedAt:_0x4a1845,unlinkedAt:_0x30e892,deletedAt:_0x15dc1a}=_0x576606;if(_0x15dc1a)continue;_0x3217c0||(_0x3217c0=_0x9f0908[_0x5a03e7(0x114)]({'channelId':_0x18ace3,'threadId':_0x27be9f,'context':_0x1c4bb5,'attributes':_0x3f3525||{},'resolvedBy':_0x4a5868,'resolvedAt':_0x4a1845,'unlinkedAt':_0x30e892,'isFromAdapter':!0x0}));const _0x5c8941=new Set(Array[_0x5a03e7(0x11c)](_0x3217c0[_0x5a03e7(0xd3)],_0x3c370c=>_0x3c370c['id']));for(const _0x10fa8f of _0x576606[_0x5a03e7(0xd3)])_0x5c8941[_0x5a03e7(0x10d)](_0x10fa8f[_0x5a03e7(0xda)]);for(const _0x2fc551 of _0x5c8941)_0x3217c0[_0x5a03e7(0xf5)](_0x2fc551)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x4a9dc7 of _0x576606[_0x5a03e7(0xd3)]){const _0x1b5943=_0x3217c0[_0x5a03e7(0xf5)](_0x4a9dc7[_0x5a03e7(0xda)]);_0x1b5943?_0x1b5943[_0x5a03e7(0xfc)]!==_0x4a9dc7[_0x5a03e7(0xfc)]&&_0x1b5943[_0x5a03e7(0xe5)]({'content':_0x4a9dc7[_0x5a03e7(0xfc)],'isFromAdapter':!0x0}):_0x3217c0[_0x5a03e7(0xe7)](Object[_0x5a03e7(0xea)](b(_0x4a9dc7),{'isFromAdapter':!0x0}));}}}[_0x2fcc7d(0x102)](_0x3d792a){const _0x4417b2=_0x2fcc7d;if(!this[_0x4417b2(0xcf)][_0x4417b2(0x134)](_0x3d792a))throw new _0x49256e(_0x4417b2(0xe4),null,{'channelId':_0x3d792a});return this[_0x4417b2(0xcf)][_0x4417b2(0xff)](_0x3d792a);}async[_0x2fcc7d(0xf6)](_0x59f631){const _0x556d92=_0x2fcc7d,_0x48d6c8=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0x359e1a),{connection:_0xfbb839}=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0xf3cbc4),_0x140ffa=new Set();for(const {resolvedBy:_0x49b5a3,comments:_0x57731d}of _0x59f631){_0x49b5a3&&!_0x48d6c8[_0x556d92(0x112)](_0x49b5a3)&&_0x140ffa[_0x556d92(0xe6)](_0x49b5a3);for(const {userId:_0x1a7206}of _0x57731d)_0x48d6c8[_0x556d92(0x112)](_0x1a7206)||_0x140ffa[_0x556d92(0xe6)](_0x1a7206);}if(0x0===_0x140ffa[_0x556d92(0x124)])return;const _0x32139a=await _0x3b2053[_0x556d92(0x132)](_0xfbb839,Array[_0x556d92(0x11c)](_0x140ffa));for(const _0x4c7913 of _0x32139a)_0x48d6c8[_0x556d92(0x112)](_0x4c7913['id'])||_0x48d6c8[_0x556d92(0xf8)](_0x4c7913);}}a[_0x2fcc7d(0xd7)]=_0x43b9f8;function _0x58dd(){const _0x4989b4=['55SILqVr','mySessionId','commentThreadUpdated','set','disconnect','init','collaboration.channelId','map','keys','requires','getMany','cloud-services-internal-error:\x20Request\x20timeout.','has','remove','commentThreadAdded','_services','sessionAdd:','resolveCommentThread','CloudServicesCommentsAdapter','comments','setPermissions','cloudservicescommentsadapter-disconnect-not-exist','commentAdded','CommentsService','listenTo','126038ErOTVS','commentId','_terminateService','authorId','destroy','getCommentThreads','55612POjzcs','cloud-services-internal-error:\x20Not\x20connected.','270768PWvdAi','code','reconnect','cloudservicescommentsadapter-service-not-exist','update','add','addComment','cloudservicescommentsadapter-connect-already-connected','commentUpdated','assign','catch','getCommentThread','404','startsWith','removeCommentThread','updateCommentThread','resolvedAt','createdAt','isPremiumPlugin','deletedAt','getComment','_fetchMissingUsersForThreads','commentThreadResolved','addUser','3192ICzfss','isOfficialPlugin','off','content','register','_connectService','get','1ysTEyd','commentThreadId','_getService','7743072bziSeW','commentThreadReopened','reopen','63vtJMTY','updateComment','_setUpService','attributes','plugins','Permissions','resolve','delete','CommentsRepository','69NqcVgf','context','connect','getUser','message','addCommentThread','105mCoNzf','getConnectedSessions','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','commentRemoved','commentThreadRemoved','from','adapter','removeComment','335290YkXKkN','config','resolvedBy','reopenCommentThread','pluginName','size','addToReconnectionStack','1534920oxgLVa','unregister'];_0x58dd=function(){return _0x4989b4;};return _0x58dd();}export default a;function _0x1e59(_0x408487,_0x1d00c0){const _0x58dd74=_0x58dd();return _0x1e59=function(_0x1e597c,_0x15d515){_0x1e597c=_0x1e597c-0xcf;let _0x11752f=_0x58dd74[_0x1e597c];return _0x11752f;},_0x1e59(_0x408487,_0x1d00c0);}async function y(_0x33a3cd){const _0x40b0ae=_0x2fcc7d;if(_0x40b0ae(0xed)!==_0x33a3cd[_0x40b0ae(0xe2)])throw _0x33a3cd;}function w(_0x152ab8){const _0x32a6f6=_0x2fcc7d;if((_0x30519b=_0x152ab8)[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x118))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0xe0))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x133)))return new Promise(()=>{});var _0x30519b;throw _0x152ab8;}function b(_0x1d13eb){const _0x23e601=_0x2fcc7d;return{'threadId':_0x1d13eb[_0x23e601(0x101)],'commentId':_0x1d13eb[_0x23e601(0xda)],'content':_0x1d13eb[_0x23e601(0xfc)],'createdAt':_0x1d13eb[_0x23e601(0xf2)],'authorId':_0x1d13eb[_0x23e601(0x117)],'attributes':_0x1d13eb[_0x23e601(0x109)]||{}};}
@@ -25,6 +25,14 @@ export default class RealTimeCollaborativeComments extends Plugin {
25
25
  * @inheritDoc
26
26
  */
27
27
  static get pluginName(): "RealTimeCollaborativeComments";
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isOfficialPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get isPremiumPlugin(): true;
28
36
  /**
29
37
  * @inheritDoc
30
38
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a5a9d=_0x36be;(function(_0x3ab7ab,_0x181946){const _0x37e59a=_0x36be,_0x15e357=_0x3ab7ab();while(!![]){try{const _0x14337d=-parseInt(_0x37e59a(0x181))/0x1*(-parseInt(_0x37e59a(0x176))/0x2)+-parseInt(_0x37e59a(0x16d))/0x3*(-parseInt(_0x37e59a(0x185))/0x4)+parseInt(_0x37e59a(0x182))/0x5+-parseInt(_0x37e59a(0x170))/0x6+-parseInt(_0x37e59a(0x188))/0x7+parseInt(_0x37e59a(0x178))/0x8+parseInt(_0x37e59a(0x18b))/0x9*(parseInt(_0x37e59a(0x184))/0xa);if(_0x14337d===_0x181946)break;else _0x15e357['push'](_0x15e357['shift']());}catch(_0x20a45b){_0x15e357['push'](_0x15e357['shift']());}}}(_0x1080,0x47e07));function _0x36be(_0x47edfc,_0x2532e0){const _0x1080cb=_0x1080();return _0x36be=function(_0x36be37,_0x14a9a7){_0x36be37=_0x36be37-0x16c;let _0x26218f=_0x1080cb[_0x36be37];return _0x26218f;},_0x36be(_0x47edfc,_0x2532e0);}import{Plugin as _0x2b2dc7}from'ckeditor5/src/core.js';import _0x2ed4be from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x1080(){const _0xb3b9ea=['83286xPBKYN','destroy','2269040ZbHWYb','data','switchReadOnly','change:state','RealTimeCollaborativeComments','ready','_setUpService','listenTo','collaboration.channelId','5eEpxsR','373445lGWDOs','CommentsEditing','150guFzMA','1912szjeIB','once','_terminateService','3167472HgSifN','editor','init','93906vwFiiR','get','pluginName','1059gMCDfq','config','isThreadsLoadingPaused','869250EBPNiF','connected','Comments','CommentsRepository','plugins','requires'];_0x1080=function(){return _0xb3b9ea;};return _0x1080();}import _0x4c7595 from'./realtimecollaborativeediting.js';import _0x2dbcd5 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x2b2dc7{static get[_0x5a5a9d(0x175)](){const _0x330a07=_0x5a5a9d;return[_0x330a07(0x172),_0x2ed4be,_0x4c7595,_0x2dbcd5];}static get[_0x5a5a9d(0x16c)](){const _0x42e82f=_0x5a5a9d;return _0x42e82f(0x17c);}[_0x5a5a9d(0x18a)](){const _0x6a0fd8=_0x5a5a9d,_0x596d8=this[_0x6a0fd8(0x189)][_0x6a0fd8(0x174)][_0x6a0fd8(0x18c)](_0x2dbcd5),_0x35e435=this[_0x6a0fd8(0x189)][_0x6a0fd8(0x174)][_0x6a0fd8(0x18c)](_0x6a0fd8(0x183)),_0x5e3029=this[_0x6a0fd8(0x189)][_0x6a0fd8(0x174)][_0x6a0fd8(0x18c)](_0x2ed4be);return this[_0x6a0fd8(0x189)][_0x6a0fd8(0x179)][_0x6a0fd8(0x186)](_0x6a0fd8(0x17d),()=>{const _0x1f7287=_0x6a0fd8;this[_0x1f7287(0x17f)](_0x596d8,_0x1f7287(0x17b),(_0x1c2cc8,_0x442ee4,_0x3713eb)=>{const _0x1a3d57=_0x1f7287;_0x35e435[_0x1a3d57(0x16f)]=_0x1a3d57(0x171)!==_0x3713eb;});}),this[_0x6a0fd8(0x17f)](_0x596d8,_0x6a0fd8(0x17b),(_0x13849e,_0x17c2bd,_0x35f7bd)=>{const _0x4ce779=_0x6a0fd8;this[_0x4ce779(0x189)][_0x4ce779(0x174)][_0x4ce779(0x18c)](_0x4ce779(0x173))[_0x4ce779(0x17a)](_0x4ce779(0x171)!==_0x35f7bd);}),_0x5e3029[_0x6a0fd8(0x17e)](this[_0x6a0fd8(0x189)][_0x6a0fd8(0x16e)][_0x6a0fd8(0x18c)](_0x6a0fd8(0x180)));}[_0x5a5a9d(0x177)](){const _0x2b5a5c=_0x5a5a9d;this[_0x2b5a5c(0x189)][_0x2b5a5c(0x174)][_0x2b5a5c(0x18c)](_0x2ed4be)[_0x2b5a5c(0x187)](this[_0x2b5a5c(0x189)][_0x2b5a5c(0x16e)][_0x2b5a5c(0x18c)](_0x2b5a5c(0x180))),super[_0x2b5a5c(0x177)]();}}
23
+ const _0x34352f=_0x5d33;(function(_0x5e3b72,_0x4e1978){const _0xeba0c=_0x5d33,_0x349738=_0x5e3b72();while(!![]){try{const _0x4f9b70=parseInt(_0xeba0c(0x138))/0x1+parseInt(_0xeba0c(0x129))/0x2+-parseInt(_0xeba0c(0x12f))/0x3*(parseInt(_0xeba0c(0x13d))/0x4)+-parseInt(_0xeba0c(0x124))/0x5*(-parseInt(_0xeba0c(0x13c))/0x6)+parseInt(_0xeba0c(0x137))/0x7+parseInt(_0xeba0c(0x13b))/0x8+-parseInt(_0xeba0c(0x12a))/0x9;if(_0x4f9b70===_0x4e1978)break;else _0x349738['push'](_0x349738['shift']());}catch(_0x5320e9){_0x349738['push'](_0x349738['shift']());}}}(_0x4e69,0x81bb0));import{Plugin as _0x98fcb7}from'ckeditor5/src/core.js';import _0x5916c5 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4e69(){const _0x1527d6=['requires','2459394SIiivX','586852YmSGXv','data','CommentsRepository','2837192ypOjec','6HGcLvP','168DVRDum','change:state','get','init','isThreadsLoadingPaused','Comments','pluginName','CommentsEditing','connected','4098450CLYOzQ','isPremiumPlugin','destroy','plugins','switchReadOnly','563912NYIlyB','16551045WIJieo','config','collaboration.channelId','_setUpService','RealTimeCollaborativeComments','1722BBAZvT','_terminateService','listenTo','once','editor','isOfficialPlugin','ready'];_0x4e69=function(){return _0x1527d6;};return _0x4e69();}function _0x5d33(_0x57273f,_0x11f05a){const _0x4e69e2=_0x4e69();return _0x5d33=function(_0x5d33c2,_0x910fe2){_0x5d33c2=_0x5d33c2-0x120;let _0x299617=_0x4e69e2[_0x5d33c2];return _0x299617;},_0x5d33(_0x57273f,_0x11f05a);}import _0x1f8ee3 from'./realtimecollaborativeediting.js';import _0x30e56b from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x98fcb7{static get[_0x34352f(0x136)](){const _0x2f4740=_0x34352f;return[_0x2f4740(0x120),_0x5916c5,_0x1f8ee3,_0x30e56b];}static get[_0x34352f(0x121)](){const _0x2880dc=_0x34352f;return _0x2880dc(0x12e);}static get[_0x34352f(0x134)](){return!0x0;}static get[_0x34352f(0x125)](){return!0x0;}[_0x34352f(0x140)](){const _0xe4568c=_0x34352f,_0x141eaf=this[_0xe4568c(0x133)][_0xe4568c(0x127)][_0xe4568c(0x13f)](_0x30e56b),_0x7384d0=this[_0xe4568c(0x133)][_0xe4568c(0x127)][_0xe4568c(0x13f)](_0xe4568c(0x122)),_0x4350ee=this[_0xe4568c(0x133)][_0xe4568c(0x127)][_0xe4568c(0x13f)](_0x5916c5);return this[_0xe4568c(0x133)][_0xe4568c(0x139)][_0xe4568c(0x132)](_0xe4568c(0x135),()=>{const _0x14df9f=_0xe4568c;this[_0x14df9f(0x131)](_0x141eaf,_0x14df9f(0x13e),(_0x3c3b2f,_0x3cac1b,_0x312683)=>{const _0x721c2d=_0x14df9f;_0x7384d0[_0x721c2d(0x141)]=_0x721c2d(0x123)!==_0x312683;});}),this[_0xe4568c(0x131)](_0x141eaf,_0xe4568c(0x13e),(_0x32c174,_0x2005d1,_0xaeaa38)=>{const _0xa50322=_0xe4568c;this[_0xa50322(0x133)][_0xa50322(0x127)][_0xa50322(0x13f)](_0xa50322(0x13a))[_0xa50322(0x128)](_0xa50322(0x123)!==_0xaeaa38);}),_0x4350ee[_0xe4568c(0x12d)](this[_0xe4568c(0x133)][_0xe4568c(0x12b)][_0xe4568c(0x13f)](_0xe4568c(0x12c)));}[_0x34352f(0x126)](){const _0x2833f1=_0x34352f;this[_0x2833f1(0x133)][_0x2833f1(0x127)][_0x2833f1(0x13f)](_0x5916c5)[_0x2833f1(0x130)](this[_0x2833f1(0x133)][_0x2833f1(0x12b)][_0x2833f1(0x13f)](_0x2833f1(0x12c))),super[_0x2833f1(0x126)]();}}
@@ -39,6 +39,14 @@ export default class RealTimeCollaborationClient extends Plugin {
39
39
  * @inheritDoc
40
40
  */
41
41
  static get pluginName(): "RealTimeCollaborationClient";
42
+ /**
43
+ * @inheritDoc
44
+ */
45
+ static get isOfficialPlugin(): true;
46
+ /**
47
+ * @inheritDoc
48
+ */
49
+ static get isPremiumPlugin(): true;
42
50
  /**
43
51
  * Incremented every time the document is synchronized with Cloud Services server. It can be treated as the server's current document
44
52
  * version. This number is stored between editing sessions, so even when all clients disconnect, the editing session is closed, the
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x164102=_0x4133;(function(_0x5c2cf3,_0x4707f6){const _0x166eee=_0x4133,_0x416685=_0x5c2cf3();while(!![]){try{const _0x15281b=parseInt(_0x166eee(0x197))/0x1+-parseInt(_0x166eee(0x139))/0x2*(parseInt(_0x166eee(0x10d))/0x3)+parseInt(_0x166eee(0x1d8))/0x4+-parseInt(_0x166eee(0x19a))/0x5+parseInt(_0x166eee(0x168))/0x6+-parseInt(_0x166eee(0x17b))/0x7*(-parseInt(_0x166eee(0x18b))/0x8)+-parseInt(_0x166eee(0x187))/0x9;if(_0x15281b===_0x4707f6)break;else _0x416685['push'](_0x416685['shift']());}catch(_0x353a5c){_0x416685['push'](_0x416685['shift']());}}}(_0x2ef5,0x6b1cf));import{Plugin as _0x5d3cd4,PendingActions as _0x19e081}from'ckeditor5/src/core.js';import{CKEditorError as _0xec8479,version as _0x2ff997,uid as _0x2df0c0}from'ckeditor5/src/utils.js';function _0x2ef5(){const _0x535b45=['The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_getAffectedRoot','destroy','createUserMarkerOperations','filter','realtimecollaborationclient-sendbufferedoperations','sessionCreatedAt','__className','round','Synchronization\x20issue','_crash','path','collaboration-missing-channelid','getOperations','code','suppressErrorInCollaboration','_operationIdentifier','change:hasDomSelection','baseVersion','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initThrowingOnDataSet','wereChangesApplied','_compressor','_isPendingUpdate','_saveOperationInBuffer','change:range','isEnabled','2927688gNZDmj','_isConnected','createPositionAt','_lastServerVersion','_loadRoot','getRoot','setPermissions','cloudDocumentVersion','createRange','size','marker','collaboration','disconnected','startsWith','_shouldSendUpdate','addOperation','currentDocumentSession','_connectAfterSessionHasBeenFlushed','_getOperationsFromInitData','7OZzgor','enqueueChange','_isDisconnection','unregister','_isAttached','editor','return','register','_clearPendingAction','CollaborativeEditingService','_handleReconnectionError','removeFromReconnectionStack','4030686VaOiTT','enableReadOnlyMode','_hasSelectionChanged','createPositionFromPath','6387496jikHGe','off','operationsReceived','length','_setPendingAction','end','_handleServerResponse','isUndoneOperation','_waitUntilSynced','Permissions','ready','root','421093lGCnrb','affectsData','_handleInitialConnectionData','3091380oRawLE','_handleReceivedOperations','wasUndone','rtc-offline','bind','_fetchMissingUsers','_offset','isDocumentOperation','_knownOperations','view','position','reset','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.','connected','_authorId','realtimecollaborationclient-handleserverresponse','rtc-destroyed','_handleSendingSelectionMarkers','directChange','_refreshUserSelectionMarkers','keys','fromJSON','clone','addToReconnectionStack','_handleExternalOperations','_knownRootNames','_connectService','_disconnectionOperations','has','connection','sendOperations','collaboration.channelId','addRoot','document:write','version','from','forEach','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','get','requires','rootsAttributes','disconnect','_disconnectService','markers','connect','batch','sessionAdd:','lastOperationId','insert','_isInit','locale','lastOperationAcceptedAt','error','_operationToId','_sendBufferedOperationsDelayed','data','_channelId','_updateServerHistory','Notification','realtimecollaborationclient-init-document-already-initialized','real-time-collaboration','CommentsOnly','528704WIEnGZ','_document','lastDocumentSession','targetPosition','cloudServices.bundleVersion','sessionId','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.','message','_sendBufferedOperations','applyOperation','apply','finally','config','userId','map','_decompressOperations','state','realtimecollaborationclient-init-connection-failed','high','realtimecollaborationclient-initservice-incorrect-server-operation','getUser','channelSessions','includes','move','reconnection:\x20flushed\x20session','showWarning','_isLoaded','catch','_lastSyncedOperationId','lastSyncVersion','pluginName','offset','409','differ','selection','stopListening','_currentBufferDelay','serverHistory','type','multi-root-editor-root-attributes-no-root','_pendingAction','slice','loadRoot','_ignoredOperations','roots','affectedSelectable','history','permissions','_handleReconnectionResponse','_applyOperationsSet','start','getDocumentDetails','add','realtimecollaborationclient-init-session-connection-error','11037hcZIAU','_baseBufferDelay','realtimecollaborationclient-initservice-internal-error','getMany','then','404','newRange','setIdForTheLastOperation','cloud-services-internal-error:\x20Not\x20connected.','_service','stop','_hasSynchronizationProblem','_isEditingAllowed','_bufferedOperations','cs:removeUser','change:_isEditingAllowed','_bufferRootLoad','addRootAttribute','initData','string','createdAt','set','InsertOperation','attributes','isReadOnly','push','_addKnownRoot','realtimecollaborationclient-init-non-existent-root','reconnect','define','PENDING_ACTION_SENDING_DATA','_compressOperations','cloud-services-internal-error:\x20Request\x20timeout.','_sendBufferedOperationsDelayId','init','disableReadOnlyMode','RealTimeCollaborationClient','getOperationAuthor','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','parse','_shouldSendSelectionUpdate','listenTo','metadata','decompress','182UTXPJV','addUser','_initSessionsHandling','fire','toJSON','$root','entries','plugins','compress','document','editing','createRoot','_setUpDataInit','mySessionId','getIdOfTheLastOperation','change:_isPendingUpdate','remove','getConnectedSessions','rootName','model'];_0x2ef5=function(){return _0x535b45;};return _0x2ef5();}import{Notification as _0x35b498}from'ckeditor5/src/ui.js';import{transformSets as _0x553214,NoOperation as _0x30083f,InsertOperation as _0x56aea0,MarkerOperation as _0x1d54b5,RootAttributeOperation as _0x418379,OperationFactory as _0xaabc0a,History as _0x1d0676}from'ckeditor5/src/engine.js';import _0x3c9a04 from'./websocketgateway.js';import _0x5588c3 from'./sessions.js';import _0x28e22f from'./usermarkers.js';import{getTranslation as _0x3b2261}from'../common-translations.js';import{Compressor as _0x21bf08}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2c1725}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x278453,CollaborativeEditingService as _0x160cbf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x5d3cd4{static get[_0x164102(0x1c1)](){return[_0x3c9a04,_0x5588c3,_0x28e22f,_0x19e081,_0x2c1725,_0x35b498];}static get[_0x164102(0x1f6)](){const _0x3667d1=_0x164102;return _0x3667d1(0x131);}get[_0x164102(0x16f)](){const _0x1297ba=_0x164102;return this[_0x1297ba(0x16b)]+this[_0x1297ba(0x1a0)];}get[_0x164102(0x16b)](){const _0x3f229d=_0x164102;return this[_0x3f229d(0x1fd)][_0x3f229d(0x1bc)]-this[_0x3f229d(0x1a0)];}get[_0x164102(0x1f5)](){const _0x2b1278=_0x164102,_0x466591=this[_0x2b1278(0x1fd)][_0x2b1278(0x15a)]();for(let _0x3b12c6=_0x466591[_0x2b1278(0x18e)]-0x1;_0x3b12c6>=0x0;_0x3b12c6--){const _0x5e4c72=_0x466591[_0x3b12c6];if(!this[_0x2b1278(0x1b5)][_0x2b1278(0x1b6)](_0x5e4c72))return _0x5e4c72[_0x2b1278(0x15f)]+0x1-this[_0x2b1278(0x1a0)];}return 0x0;}constructor(_0xd65051){const _0x922cd5=_0x164102;if(super(_0xd65051),this[_0x922cd5(0x1a0)]=0x0,this[_0x922cd5(0x1dd)]=null,this[_0x922cd5(0x1fd)]=new _0x1d0676(),this[_0x922cd5(0x180)][_0x922cd5(0x1e4)][_0x922cd5(0x12a)](_0x922cd5(0x173),{}),this[_0x922cd5(0x1d2)]=this[_0x922cd5(0x180)][_0x922cd5(0x1e4)][_0x922cd5(0x1c0)](_0x922cd5(0x1b9)),!this[_0x922cd5(0x1d2)])throw new _0xec8479(_0x922cd5(0x159),this);const _0x3fe98e=_0xd65051[_0x922cd5(0x1e4)][_0x922cd5(0x1c0)](_0x922cd5(0x1dc))||_0x2ff997;this[_0x922cd5(0x116)]=new l[(_0x922cd5(0x184))](_0x3fe98e,this[_0x922cd5(0x1d2)]),this[_0x922cd5(0x1d9)]=this[_0x922cd5(0x180)][_0x922cd5(0x14c)][_0x922cd5(0x142)],this[_0x922cd5(0x163)]=new _0x21bf08(),this[_0x922cd5(0x11a)]=[],this[_0x922cd5(0x1a2)]=new WeakSet(),this[_0x922cd5(0x1b3)]=new Set(),this[_0x922cd5(0x122)](_0x922cd5(0x164),!0x1),this[_0x922cd5(0x122)](_0x922cd5(0x118),!0x1),this[_0x922cd5(0x200)]=null,this[_0x922cd5(0x189)]=!0x1,this[_0x922cd5(0x12e)]=null,this[_0x922cd5(0x10e)]=0x12c,this[_0x922cd5(0x1fc)]=this[_0x922cd5(0x10e)],this[_0x922cd5(0x1f4)]=null,this[_0x922cd5(0x1b5)]=new WeakSet(),this[_0x922cd5(0x15d)]=new X(this[_0x922cd5(0x1b5)]);}[_0x164102(0x12f)](){const _0x1b09a2=_0x164102,_0x4314e3=this[_0x1b09a2(0x180)],_0x3e00aa=_0x4314e3[_0x1b09a2(0x140)][_0x1b09a2(0x1c0)](_0x2c1725),_0x16678d=_0x4314e3[_0x1b09a2(0x140)][_0x1b09a2(0x1c0)](_0x3c9a04);this[_0x1b09a2(0x136)](_0x3e00aa,_0x1b09a2(0x132),(_0xa33a5b,_0x23e873)=>{const _0x3561ca=_0x1b09a2,_0xf490db=_0x23e873[0x0];_0xf490db[_0x3561ca(0x1a8)]&&(_0xa33a5b[_0x3561ca(0x181)]=_0x3e00aa[_0x3561ca(0x1ec)](_0xf490db[_0x3561ca(0x1a8)]),_0xa33a5b[_0x3561ca(0x117)]()),null===_0xf490db[_0x3561ca(0x1a8)]&&(_0xa33a5b[_0x3561ca(0x181)]=null,_0xa33a5b[_0x3561ca(0x117)]());},{'priority':_0x1b09a2(0x1ea)}),this[_0x1b09a2(0x136)](_0x4314e3[_0x1b09a2(0x14c)][_0x1b09a2(0x142)][_0x1b09a2(0x1fa)],_0x1b09a2(0x166),(_0x42df97,_0x53e610)=>{const _0xee03f4=_0x1b09a2;_0x53e610[_0xee03f4(0x1ac)]&&this[_0xee03f4(0x1ad)]();}),this[_0x1b09a2(0x136)](_0x4314e3[_0x1b09a2(0x143)][_0x1b09a2(0x1a3)],_0x1b09a2(0x15e),()=>{const _0x846828=_0x1b09a2;this[_0x846828(0x1ad)]();}),this[_0x1b09a2(0x161)](),_0x4314e3[_0x1b09a2(0x14c)]['on'](_0x1b09a2(0x1e1),(_0x20d490,_0x4aa890)=>{const _0x19c338=_0x1b09a2,_0xfb7968=_0x4aa890[0x0];_0xfb7968[_0x19c338(0x1a1)]&&(this[_0x19c338(0x165)](_0xfb7968),this[_0x19c338(0x176)]()&&this[_0x19c338(0x1d0)]());}),this[_0x1b09a2(0x145)](),this[_0x1b09a2(0x19e)](_0x1b09a2(0x119))['to'](_0x16678d,_0x1b09a2(0x1e8),this,_0x1b09a2(0x118),(_0x3cb76c,_0xda1b12)=>_0x1b09a2(0x1a7)===_0x3cb76c&&!_0xda1b12),this['on'](_0x1b09a2(0x11c),()=>{const _0x22fd04=_0x1b09a2;this[_0x22fd04(0x119)]?_0x4314e3[_0x22fd04(0x130)](_0x22fd04(0x19d)):_0x4314e3[_0x22fd04(0x188)](_0x22fd04(0x19d));}),this[_0x1b09a2(0x119)]?_0x4314e3[_0x1b09a2(0x130)](_0x1b09a2(0x19d)):_0x4314e3[_0x1b09a2(0x188)](_0x1b09a2(0x19d)),this[_0x1b09a2(0x122)](_0x1b09a2(0x169),!0x1);}async[_0x164102(0x129)](){const _0x31621e=_0x164102,_0x18e456=this[_0x31621e(0x180)][_0x31621e(0x140)][_0x31621e(0x1c0)](_0x5588c3),_0x47f836=this[_0x31621e(0x180)][_0x31621e(0x140)][_0x31621e(0x1c0)](_0x3c9a04);try{this[_0x31621e(0x164)]=!0x0,_0x18e456[_0x31621e(0x17e)](this[_0x31621e(0x1d2)]);const _0x5294d9=await this[_0x31621e(0x116)][_0x31621e(0x129)](_0x47f836[_0x31621e(0x1b7)],this[_0x31621e(0x1f5)]);await this[_0x31621e(0x107)](_0x5294d9)&&(this[_0x31621e(0x164)]=!0x1,this[_0x31621e(0x183)]());const _0x958295=await this[_0x31621e(0x116)][_0x31621e(0x14a)]();_0x18e456[_0x31621e(0x182)](this[_0x31621e(0x1d2)],_0x958295),this[_0x31621e(0x1ab)](),this[_0x31621e(0x169)]=!0x0;}catch(_0x450dd7){if(function(_0x21b98e){const _0x3c26d9=_0x31621e;return _0x3c26d9(0x112)===_0x21b98e[_0x3c26d9(0x15b)];}(_0x450dd7)&&this[_0x31621e(0x1dd)])await this[_0x31621e(0x179)]();else{if(function(_0x20e6d3){const _0x1e504c=_0x31621e;return _0x1e504c(0x1f8)===_0x20e6d3[_0x1e504c(0x15b)];}(_0x450dd7)){const _0x27e25f=_0x3b2261(this[_0x31621e(0x180)][_0x31621e(0x1cc)],_0x31621e(0x14d));this[_0x31621e(0x185)](_0x27e25f);}else{if(!(_0x450dd7 instanceof J))throw _0x450dd7;this[_0x31621e(0x185)]();}}}}[_0x164102(0x14f)](){const _0x399670=_0x164102,_0x1dfcb9=this[_0x399670(0x180)][_0x399670(0x140)][_0x399670(0x1c0)](_0x3c9a04),_0xd1d837=this[_0x399670(0x180)][_0x399670(0x140)][_0x399670(0x1c0)](_0x5588c3);this[_0x399670(0x180)][_0x399670(0x188)](_0x399670(0x1aa)),_0xd1d837[_0x399670(0x1ed)][_0x399670(0x1b6)](this[_0x399670(0x1d2)])&&_0xd1d837[_0x399670(0x17e)](this[_0x399670(0x1d2)]),_0x1dfcb9[_0x399670(0x186)](this),this[_0x399670(0x1c4)](),super[_0x399670(0x14f)]();}async[_0x164102(0x107)](_0x37f38b){const _0x23e53c=_0x164102;if(this[_0x23e53c(0x1dd)]!==_0x37f38b[_0x23e53c(0x1dd)]&&this[_0x23e53c(0x1f4)]!==_0x37f38b[_0x23e53c(0x1c9)])throw new J();return this[_0x23e53c(0x1dd)]=_0x37f38b[_0x23e53c(0x1dd)],this[_0x23e53c(0x191)]([],{..._0x37f38b,'wereChangesApplied':!0x1,'data':_0x37f38b[_0x23e53c(0x1d1)]},_0x23e53c(0x129));}async[_0x164102(0x1b4)](_0x21895f,_0x3e37b2=!0x1){const _0x44f24b=_0x164102,{connection:_0x5f0959}=this[_0x44f24b(0x180)][_0x44f24b(0x140)][_0x44f24b(0x1c0)](_0x3c9a04);l[_0x44f24b(0x184)][_0x44f24b(0x14a)](_0x5f0959,this[_0x44f24b(0x1d2)])[_0x44f24b(0x111)](_0x191f92=>this[_0x44f24b(0x13b)](_0x191f92))[_0x44f24b(0x1f3)](_0x8589b1=>{const _0x4f51a1=_0x44f24b;this[_0x4f51a1(0x157)](_0x4f51a1(0x10c),_0x8589b1);}),this[_0x44f24b(0x136)](this[_0x44f24b(0x116)],_0x44f24b(0x18d),this[_0x44f24b(0x19b)][_0x44f24b(0x19e)](this)),this[_0x44f24b(0x136)](this[_0x44f24b(0x116)],_0x44f24b(0x1ce),(_0x28b65f,_0x24a20e)=>{const _0x1724be=_0x44f24b;this[_0x1724be(0x157)](_0x1724be(0x10f),_0x24a20e);}),this[_0x44f24b(0x136)](this[_0x44f24b(0x116)],_0x44f24b(0x174),()=>{const _0x3a0bb8=_0x44f24b;this[_0x3a0bb8(0x169)]=!0x1;});const _0x5deb5f=this[_0x44f24b(0x15d)][_0x44f24b(0x147)](_0x21895f);this[_0x44f24b(0x164)]=!0x0;const _0x1f8066=await this[_0x44f24b(0x116)][_0x44f24b(0x1c6)](_0x5f0959,this[_0x44f24b(0x12c)](_0x21895f),_0x5deb5f);if(this[_0x44f24b(0x1dd)]=_0x1f8066[_0x44f24b(0x1dd)],_0x3e37b2){if(!_0x1f8066[_0x44f24b(0x162)])return void this[_0x44f24b(0x185)]();this[_0x44f24b(0x164)]=!0x1,this[_0x44f24b(0x183)](),this[_0x44f24b(0x1fd)][_0x44f24b(0x1a5)](),this[_0x44f24b(0x1a0)]=_0x1f8066[_0x44f24b(0x1f7)],this[_0x44f24b(0x1fd)][_0x44f24b(0x1bc)]=this[_0x44f24b(0x1a0)],await this[_0x44f24b(0x191)](_0x21895f,_0x1f8066,_0x44f24b(0x1f0));}else await this[_0x44f24b(0x199)](_0x1f8066,_0x21895f);this[_0x44f24b(0x1ab)](),this[_0x44f24b(0x169)]=!0x0;}[_0x164102(0x1ab)](){const _0x4f3583=_0x164102,_0x4b2f71=this[_0x4f3583(0x180)][_0x4f3583(0x140)][_0x4f3583(0x1c0)](_0x5588c3),_0x19e5c2=this[_0x4f3583(0x180)][_0x4f3583(0x140)][_0x4f3583(0x1c0)](_0x28e22f),_0x4f0e20=_0x4b2f71[_0x4f3583(0x1ed)][_0x4f3583(0x1c0)](this[_0x4f3583(0x1d2)]);_0x4f0e20&&_0x4f0e20[_0x4f3583(0x18e)]>0x1?_0x19e5c2[_0x4f3583(0x150)]():this[_0x4f3583(0x136)](_0x4b2f71,_0x4f3583(0x1c8)+this[_0x4f3583(0x1d2)],()=>{const _0x62b429=_0x4f3583;0x2===_0x4b2f71[_0x62b429(0x1ed)][_0x62b429(0x1c0)](this[_0x62b429(0x1d2)])[_0x62b429(0x18e)]&&_0x19e5c2[_0x62b429(0x150)]();});}async[_0x164102(0x19b)](_0x190bd5,_0x505351,_0x2ba38b,_0x25820e){const _0x552443=_0x164102;if(!this[_0x552443(0x164)]&&this[_0x552443(0x1d9)][_0x552443(0x1bc)]==_0x505351){const _0x572645=this[_0x552443(0x1e7)](_0x2ba38b,_0x25820e);await this[_0x552443(0x19f)](_0x572645),this[_0x552443(0x1b2)](_0x572645,_0x505351,_0x2ba38b[_0x552443(0x1c9)])||this[_0x552443(0x157)](_0x552443(0x1eb));}}async[_0x164102(0x179)](){const _0x373d72=_0x164102;this[_0x373d72(0x1c4)]();const {locale:_0x29f4b7}=this[_0x373d72(0x180)];let _0x4eb1d8;try{_0x4eb1d8=await this[_0x373d72(0x116)][_0x373d72(0x10a)]();}catch(_0x298ae7){const _0x49774c=_0x3b2261(_0x29f4b7,_0x373d72(0x160));return void this[_0x373d72(0x185)](_0x49774c);}const _0x149c73=_0x4eb1d8[_0x373d72(0x178)]||_0x4eb1d8[_0x373d72(0x1da)];if(this[_0x373d72(0x1f4)]===_0x149c73[_0x373d72(0x1c9)])await this[_0x373d72(0x1b4)](this[_0x373d72(0x180)][_0x373d72(0x14c)][_0x373d72(0x142)][_0x373d72(0x105)][_0x373d72(0x15a)](),!0x0);else{const _0x515a14=_0x3b2261(_0x29f4b7,_0x373d72(0x1a6));this[_0x373d72(0x185)](_0x515a14);}}[_0x164102(0x1c4)](){const _0x12f23e=_0x164102;this[_0x12f23e(0x116)][_0x12f23e(0x1c3)](),this[_0x12f23e(0x11a)]=[],clearTimeout(this[_0x12f23e(0x12e)]),this[_0x12f23e(0x1fb)](this[_0x12f23e(0x116)]);}[_0x164102(0x13b)](_0x2ca491){const _0x4f9a14=_0x164102,_0x3892b5=this[_0x4f9a14(0x180)][_0x4f9a14(0x140)][_0x4f9a14(0x1c0)](_0x5588c3);this[_0x4f9a14(0x136)](_0x3892b5,_0x4f9a14(0x1c8)+this[_0x4f9a14(0x1d2)],(_0x5b6ba7,{session:_0x389a3c})=>{const _0x2fdd5b=_0x4f9a14;if(_0x389a3c['id']===_0x3892b5[_0x2fdd5b(0x146)]){_0x5b6ba7[_0x2fdd5b(0x18c)]();const _0x34bdda=this[_0x2fdd5b(0x180)][_0x2fdd5b(0x140)][_0x2fdd5b(0x1b6)](_0x2fdd5b(0x1d7))&&this[_0x2fdd5b(0x180)][_0x2fdd5b(0x140)][_0x2fdd5b(0x1c0)](_0x2fdd5b(0x1d7));let _0x20cf53=_0x389a3c[_0x2fdd5b(0x106)];_0x34bdda&&_0x34bdda[_0x2fdd5b(0x167)]&&(_0x20cf53=_0x20cf53[_0x2fdd5b(0x151)](_0x2166cd=>_0x2fdd5b(0x1bb)!==_0x2166cd)),this[_0x2fdd5b(0x180)][_0x2fdd5b(0x140)][_0x2fdd5b(0x1c0)](_0x2fdd5b(0x194))[_0x2fdd5b(0x16e)](_0x20cf53,this[_0x2fdd5b(0x1d2)]);}}),_0x3892b5[_0x4f9a14(0x182)](this[_0x4f9a14(0x1d2)],_0x2ca491);}[_0x164102(0x161)](){const _0x11906a=_0x164102,_0x2efa55=this[_0x11906a(0x180)][_0x11906a(0x1d1)][_0x11906a(0x122)];this[_0x11906a(0x180)][_0x11906a(0x1d1)][_0x11906a(0x122)]=(..._0x4ffd8b)=>{const _0x4f5e55=_0x11906a;if(!_0x4ffd8b[_0x4ffd8b[_0x4f5e55(0x18e)]-0x1][_0x4f5e55(0x15c)])throw new _0xec8479(_0x4f5e55(0x1bf),this);_0x2efa55[_0x4f5e55(0x1e2)](this[_0x4f5e55(0x180)][_0x4f5e55(0x1d1)],_0x4ffd8b);};}[_0x164102(0x145)](){const _0x5f2528=_0x164102;this[_0x5f2528(0x180)][_0x5f2528(0x1d1)]['on'](_0x5f2528(0x12f),(_0x8f2154,[_0x85eb54])=>{const _0x165f0d=_0x5f2528;if(this[_0x165f0d(0x1d9)][_0x165f0d(0x1bc)])throw new _0xec8479(_0x165f0d(0x1d5),this);_0x8f2154[_0x165f0d(0x117)](),this[_0x165f0d(0x18f)]();const _0x5ab7b9=this[_0x165f0d(0x180)][_0x165f0d(0x1e4)][_0x165f0d(0x1c0)](_0x165f0d(0x1c2)),_0x67fcfd=this[_0x165f0d(0x17a)](_0x85eb54,_0x5ab7b9);0x0==_0x67fcfd[_0x165f0d(0x18e)]&&_0x67fcfd[_0x165f0d(0x126)](new _0x30083f(0x0)),_0x8f2154[_0x165f0d(0x181)]=this[_0x165f0d(0x1b4)](_0x67fcfd)[_0x165f0d(0x111)](()=>{const _0x295d37=_0x165f0d;this[_0x295d37(0x180)][_0x295d37(0x140)][_0x295d37(0x1c0)](_0x3c9a04)[_0x295d37(0x1b1)](this),this[_0x295d37(0x180)][_0x295d37(0x1d1)][_0x295d37(0x13c)](_0x295d37(0x195));})[_0x165f0d(0x1f3)](_0x364aa7=>this[_0x165f0d(0x157)](_0x165f0d(0x1e9),_0x364aa7))[_0x165f0d(0x1e3)](()=>this[_0x165f0d(0x183)]());},{'priority':_0x5f2528(0x1ea)}),this[_0x5f2528(0x180)]['on'](_0x5f2528(0x101),async(_0xd3141d,[_0x21ccda,_0x315641])=>{const _0x2df552=_0x5f2528;_0xd3141d[_0x2df552(0x117)]();const _0x14d20d=this[_0x2df552(0x180)][_0x2df552(0x14c)][_0x2df552(0x142)][_0x2df552(0x16d)](_0x21ccda);if(!this[_0x2df552(0x1b3)][_0x2df552(0x1b6)](_0x21ccda)){const _0x545be5=_0x315641&&_0x315641[_0x2df552(0x1d1)]?_0x315641[_0x2df552(0x1d1)]:'',_0x470587=_0x315641&&_0x315641[_0x2df552(0x124)]?_0x315641[_0x2df552(0x124)]:{};await this[_0x2df552(0x16c)](_0x21ccda,_0x545be5,_0x470587);}this[_0x2df552(0x180)][_0x2df552(0x14c)][_0x2df552(0x17c)]({'isUndoable':!0x1},()=>{const _0x1f5e8b=_0x2df552;_0x14d20d[_0x1f5e8b(0x1f2)]=!0x0,this[_0x1f5e8b(0x180)][_0x1f5e8b(0x14c)][_0x1f5e8b(0x142)][_0x1f5e8b(0x1f9)][_0x1f5e8b(0x11d)](_0x14d20d);});},{'priority':_0x5f2528(0x1ea)});}async[_0x164102(0x19f)](_0xa4f822){const _0x2fd23e=_0x164102,_0x561369=this[_0x2fd23e(0x180)][_0x2fd23e(0x140)][_0x2fd23e(0x1c0)](_0x2c1725),{connection:_0x1be859}=this[_0x2fd23e(0x180)][_0x2fd23e(0x140)][_0x2fd23e(0x1c0)](_0x3c9a04),_0x2695c3=new Set();for(const _0x5aab0e of _0xa4f822){const _0x19c23e=_0x5aab0e[_0x2fd23e(0x1a8)];_0x19c23e&&!_0x561369[_0x2fd23e(0x1ec)](_0x19c23e)&&_0x2695c3[_0x2fd23e(0x10b)](_0x19c23e);}if(0x0===_0x2695c3[_0x2fd23e(0x171)])return;const _0x5dd546=await _0x278453[_0x2fd23e(0x110)](_0x1be859,Array[_0x2fd23e(0x1bd)](_0x2695c3));for(const _0x621b71 of _0x5dd546)_0x561369[_0x2fd23e(0x1ec)](_0x621b71['id'])||_0x561369[_0x2fd23e(0x13a)](_0x621b71);}[_0x164102(0x17a)](_0x4fcfc7,_0x161476={}){const _0x2fef5f=_0x164102,_0x11d5d5=this[_0x2fef5f(0x180)][_0x2fef5f(0x14c)],_0x5065d0=[];let _0x59b816=0x0;const _0x4bc907=_0x2fef5f(0x120)==typeof _0x4fcfc7?{'main':_0x4fcfc7}:_0x4fcfc7;for(const _0x45e860 of Object[_0x2fef5f(0x1ae)](_0x4bc907)){if(!this[_0x2fef5f(0x1d9)][_0x2fef5f(0x103)][_0x2fef5f(0x1b6)](_0x45e860))throw new _0xec8479(_0x2fef5f(0x128),this);const _0x238242=this[_0x2fef5f(0x180)][_0x2fef5f(0x1d1)][_0x2fef5f(0x134)](_0x4bc907[_0x45e860]),_0x3aab3b=this[_0x2fef5f(0x1d9)][_0x2fef5f(0x16d)](_0x45e860),_0x2dafdf=new _0x56aea0(_0x11d5d5[_0x2fef5f(0x16a)](_0x3aab3b,0x0),_0x238242,_0x59b816++);_0x5065d0[_0x2fef5f(0x126)](_0x2dafdf);for(const [_0x1dd8c4,_0x2e1508]of _0x238242[_0x2fef5f(0x1c5)]){const _0x3c3b80=_0x11d5d5[_0x2fef5f(0x170)](_0x11d5d5[_0x2fef5f(0x18a)](_0x3aab3b,_0x2e1508[_0x2fef5f(0x109)][_0x2fef5f(0x158)][_0x2fef5f(0x100)]()),_0x11d5d5[_0x2fef5f(0x18a)](_0x3aab3b,_0x2e1508[_0x2fef5f(0x190)][_0x2fef5f(0x158)][_0x2fef5f(0x100)]())),_0x2f7177=new _0x1d54b5(_0x1dd8c4,null,_0x3c3b80,_0x11d5d5[_0x2fef5f(0x1c5)],!0x0,_0x59b816++);_0x5065d0[_0x2fef5f(0x126)](_0x2f7177);}}if(_0x161476)for(const [_0x2a27b7,_0x1f3f5d]of Object[_0x2fef5f(0x13f)](_0x161476)){const _0x8161d1=_0x11d5d5[_0x2fef5f(0x142)][_0x2fef5f(0x16d)](_0x2a27b7);if(!_0x8161d1)throw new _0xec8479(_0x2fef5f(0x1ff),null);for(const [_0x58060e,_0x2c25cd]of Object[_0x2fef5f(0x13f)](_0x1f3f5d))if(null!==_0x2c25cd){const _0xcfb72f=new _0x418379(_0x8161d1,_0x58060e,null,_0x2c25cd,_0x59b816++);_0x5065d0[_0x2fef5f(0x126)](_0xcfb72f);}}return _0x5065d0;}async[_0x164102(0x16c)](_0x3f2313,_0x269e0d,_0x2e8e12){const _0x2fc1f2=_0x164102;this[_0x2fc1f2(0x17a)]({[_0x3f2313]:_0x269e0d},{[_0x3f2313]:_0x2e8e12})[_0x2fc1f2(0x1be)]((_0x149ec0,_0x4abe08)=>{const _0x25e879=_0x2fc1f2;_0x149ec0[_0x25e879(0x15f)]=this[_0x25e879(0x1d9)][_0x25e879(0x1bc)]+_0x4abe08,_0x149ec0[_0x25e879(0x1cb)]=!0x0,this[_0x25e879(0x165)](_0x149ec0);}),this[_0x2fc1f2(0x1d0)](),await this[_0x2fc1f2(0x193)]();}async[_0x164102(0x199)](_0x2ca502,_0x25dc75){const _0x30046d=_0x164102;let _0xbdee60;this[_0x30046d(0x1a0)]=_0x2ca502[_0x30046d(0x1f7)];const _0x3e01cb=_0x2ca502[_0x30046d(0x162)]&&!_0x2ca502[_0x30046d(0x11f)],_0x3189c5=_0x3e01cb?0x0:_0x2ca502[_0x30046d(0x1d1)][_0x30046d(0x15f)];if(_0x25dc75[_0x30046d(0x1be)](_0x1e2f45=>{const _0x3c0c70=_0x30046d;_0x1e2f45[_0x3c0c70(0x1cb)]=!0x0,_0x1e2f45[_0x3c0c70(0x121)]=_0x2ca502[_0x3c0c70(0x153)],_0x1e2f45[_0x3c0c70(0x1a8)]=null;}),_0x3e01cb)_0xbdee60=_0x25dc75,this[_0x30046d(0x108)](_0xbdee60,_0x3e01cb);else{if(_0x2ca502[_0x30046d(0x11f)]){const _0x4775f3=this[_0x30046d(0x17a)](_0x2ca502[_0x30046d(0x11f)]);this[_0x30046d(0x1d9)][_0x30046d(0x105)][_0x30046d(0x1bc)]=-_0x4775f3[_0x30046d(0x18e)],_0x4775f3[_0x30046d(0x1be)](_0x103559=>{const _0x1208fa=_0x30046d;_0x103559[_0x1208fa(0x15f)]-=_0x4775f3[_0x1208fa(0x18e)],_0x103559[_0x1208fa(0x121)]=_0x2ca502[_0x1208fa(0x153)],_0x103559[_0x1208fa(0x1cb)]=!0x0,_0x103559[_0x1208fa(0x1a8)]=null;}),this[_0x30046d(0x108)](_0x4775f3,!0x0),this[_0x30046d(0x1fd)][_0x30046d(0x1bc)]=-_0x4775f3[_0x30046d(0x18e)]+this[_0x30046d(0x1a0)],this[_0x30046d(0x1d3)](_0x4775f3);}this[_0x30046d(0x1d9)][_0x30046d(0x105)][_0x30046d(0x1bc)]=_0x3189c5,_0xbdee60=this[_0x30046d(0x1e7)](_0x2ca502[_0x30046d(0x1d1)],_0x2ca502[_0x30046d(0x137)]),await this[_0x30046d(0x19f)](_0xbdee60),this[_0x30046d(0x108)](_0xbdee60,_0x3e01cb);}_0x2ca502[_0x30046d(0x1c9)]&&(this[_0x30046d(0x15d)][_0x30046d(0x114)](_0xbdee60,_0x2ca502[_0x30046d(0x1c9)]),this[_0x30046d(0x1f4)]=_0x2ca502[_0x30046d(0x1c9)]),this[_0x30046d(0x1fd)][_0x30046d(0x1bc)]=_0x3189c5+this[_0x30046d(0x1a0)],this[_0x30046d(0x1d3)](_0xbdee60),_0x25dc75[_0x30046d(0x151)](_0x698036=>{const _0x4197e4=_0x30046d,_0x37db95=this[_0x4197e4(0x14e)](_0x698036);return _0x37db95&&!this[_0x4197e4(0x1b3)][_0x4197e4(0x1b6)](_0x37db95);})[_0x30046d(0x1be)]((_0xe9122f,_0x106c1b)=>{const _0x39b5aa=_0x30046d;_0xe9122f[_0x39b5aa(0x15f)]=this[_0x39b5aa(0x1d9)][_0x39b5aa(0x1bc)]+_0x106c1b,this[_0x39b5aa(0x165)](_0xe9122f);}),this[_0x30046d(0x176)]()?(this[_0x30046d(0x1fc)]=0x0,this[_0x30046d(0x1d0)](!0x0),await this[_0x30046d(0x193)]()):(this[_0x30046d(0x164)]=!0x1,this[_0x30046d(0x183)]());}[_0x164102(0x157)](_0x39457a,_0x12d44a){const _0x2a3972=_0x164102;throw this[_0x2a3972(0x164)]=!0x0,_0x12d44a&&console[_0x2a3972(0x1ce)](_0x12d44a),new _0xec8479(_0x39457a,this[_0x2a3972(0x180)]);}[_0x164102(0x165)](_0x52cdfb){const _0x38470f=_0x164102;this[_0x38470f(0x1a2)][_0x38470f(0x1b6)](_0x52cdfb)||(this[_0x38470f(0x1a2)][_0x38470f(0x10b)](_0x52cdfb),this[_0x38470f(0x11a)][_0x38470f(0x126)](_0x52cdfb),this[_0x38470f(0x200)]||_0x38470f(0x172)==_0x52cdfb[_0x38470f(0x1fe)]&&!_0x52cdfb[_0x38470f(0x198)]||this[_0x38470f(0x18f)]());}[_0x164102(0x1d0)](_0x20a449=!0x1){const _0x32f78a=_0x164102;!_0x20a449&&this[_0x32f78a(0x164)]||(this[_0x32f78a(0x164)]=!0x0,clearTimeout(this[_0x32f78a(0x12e)]),this[_0x32f78a(0x12e)]=setTimeout(()=>{const _0x5336ce=_0x32f78a;this[_0x5336ce(0x1e0)]()[_0x5336ce(0x111)](_0x49e9db=>{const _0x131c2c=_0x5336ce;_0x49e9db&&(this[_0x131c2c(0x183)](),this[_0x131c2c(0x164)]=!0x1);})[_0x5336ce(0x1f3)](_0x4f72b2=>{const _0x296990=_0x5336ce;if(this[_0x296990(0x183)](),this[_0x296990(0x164)]=!0x1,!function(_0x53f72b){const _0x268047=_0x296990;return _0x53f72b[_0x268047(0x1df)][_0x268047(0x175)](_0x268047(0x115))||_0x53f72b[_0x268047(0x1df)][_0x268047(0x175)](_0x268047(0x133))||_0x53f72b[_0x268047(0x1df)][_0x268047(0x175)](_0x268047(0x12d));}(_0x4f72b2))throw _0x4f72b2;});},this[_0x32f78a(0x1fc)]));}[_0x164102(0x193)](){return new Promise(_0x459e09=>{const _0x59feb0=_0x4133;this['on'](_0x59feb0(0x148),()=>{_0x459e09();});});}async[_0x164102(0x1e0)](){const _0x502770=_0x164102,_0x34adb6=this[_0x502770(0x180)][_0x502770(0x140)][_0x502770(0x1c0)](_0x28e22f);if(this[_0x502770(0x135)]()&&(_0x34adb6[_0x502770(0x150)](),this[_0x502770(0x189)]=!0x1),!this[_0x502770(0x176)]())return!0x0;const _0x3f6e4d=[...this[_0x502770(0x11a)]];for(const _0x167d75 of _0x3f6e4d)_0x167d75[_0x502770(0x19c)]=this[_0x502770(0x1d9)][_0x502770(0x105)][_0x502770(0x192)](_0x167d75);const _0x14124b=this[_0x502770(0x15d)][_0x502770(0x147)](_0x3f6e4d),_0x1f8da1=K++,_0x2b1ba9=this[_0x502770(0x12c)](_0x3f6e4d),_0x67902b=await this[_0x502770(0x116)][_0x502770(0x1b8)](_0x2b1ba9,_0x2b1ba9[_0x502770(0x15f)],_0x14124b);try{return await this[_0x502770(0x191)](_0x3f6e4d,_0x67902b,_0x1f8da1);}catch(_0x5d6229){return this[_0x502770(0x157)](_0x502770(0x152),_0x5d6229);}}async[_0x164102(0x191)](_0x990ec2,_0x238d30,_0x49b740){const _0x1ec5cd=_0x164102;if(_0x1ec5cd(0x1ce)in _0x238d30)throw _0x238d30[_0x1ec5cd(0x1ce)];let _0x32e148=!0x1;if(_0x238d30[_0x1ec5cd(0x162)]){_0x238d30[_0x1ec5cd(0x1c9)]&&(this[_0x1ec5cd(0x1f4)]=_0x238d30[_0x1ec5cd(0x1c9)]),this[_0x1ec5cd(0x11a)]=this[_0x1ec5cd(0x11a)][_0x1ec5cd(0x151)](_0x5c68f3=>!_0x990ec2[_0x1ec5cd(0x1ee)](_0x5c68f3));for(const _0x30cd9c of _0x990ec2)_0x30cd9c[_0x1ec5cd(0x121)]=_0x1ec5cd(0x1cd)in _0x238d30&&_0x238d30[_0x1ec5cd(0x1cd)]||void 0x0;Q(_0x990ec2,_0x238d30[_0x1ec5cd(0x1bc)]-_0x990ec2[_0x1ec5cd(0x18e)]),this[_0x1ec5cd(0x1d3)](_0x990ec2);const _0x24c093=_0x990ec2[_0x1ec5cd(0x151)](_0x3034a0=>{const _0x52a025=_0x1ec5cd;if(!_0x3034a0[_0x52a025(0x1cb)])return!0x1;const _0x560c14=this[_0x52a025(0x14e)](_0x3034a0);return _0x560c14&&!this[_0x52a025(0x1b3)][_0x52a025(0x1b6)](_0x560c14);});Q(_0x24c093,this[_0x1ec5cd(0x1d9)][_0x1ec5cd(0x1bc)]),this[_0x1ec5cd(0x108)](_0x24c093),_0x32e148=!0x0,this[_0x1ec5cd(0x1fc)]=this[_0x1ec5cd(0x10e)];}else{const _0x5b37dc=this[_0x1ec5cd(0x1e7)](_0x238d30[_0x1ec5cd(0x1d1)],_0x238d30[_0x1ec5cd(0x137)])[_0x1ec5cd(0x151)](_0x2f52d4=>_0x2f52d4[_0x1ec5cd(0x15f)]>=this[_0x1ec5cd(0x16b)]);_0x5b37dc[_0x1ec5cd(0x1be)](_0x58f983=>this[_0x1ec5cd(0x127)](_0x58f983)),this[_0x1ec5cd(0x11a)]=this[_0x1ec5cd(0x11a)][_0x1ec5cd(0x151)](_0x3c0272=>!_0x3c0272[_0x1ec5cd(0x1cb)]||!this[_0x1ec5cd(0x1b3)][_0x1ec5cd(0x1b6)](this[_0x1ec5cd(0x14e)](_0x3c0272))),this[_0x1ec5cd(0x11a)][_0x1ec5cd(0x18e)]&&Q(this[_0x1ec5cd(0x11a)],this[_0x1ec5cd(0x11a)][0x0][_0x1ec5cd(0x15f)]),await this[_0x1ec5cd(0x19f)](_0x5b37dc),_0x32e148=this[_0x1ec5cd(0x1b2)](_0x5b37dc,_0x238d30[_0x1ec5cd(0x1bc)],_0x238d30[_0x1ec5cd(0x1c9)]),this[_0x1ec5cd(0x1fc)]=Math[_0x1ec5cd(0x155)](this[_0x1ec5cd(0x1fc)]/0x2);}return _0x32e148?!this[_0x1ec5cd(0x176)]()||(this[_0x1ec5cd(0x1d0)](!0x0),!0x1):this[_0x1ec5cd(0x157)](_0x1ec5cd(0x1a9));}[_0x164102(0x1b2)](_0x1b7449,_0x4641c8,_0x218da3){const _0x3d359b=_0x164102;try{const _0x488a15={'document':this[_0x3d359b(0x1d9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd4db56,operationsB:_0x28c2e5,originalOperations:_0x15507f}=_0x553214(_0x1b7449,this[_0x3d359b(0x11a)],_0x488a15);Q(_0xd4db56,this[_0x3d359b(0x1d9)][_0x3d359b(0x1bc)]),Q(_0x28c2e5,_0x4641c8);for(const _0x760ed9 of _0xd4db56){const _0xa06014=_0x15507f[_0x3d359b(0x1c0)](_0x760ed9);_0x760ed9[_0x3d359b(0x1a8)]=_0xa06014?_0xa06014[_0x3d359b(0x1a8)]:null;}_0x218da3&&(this[_0x3d359b(0x15d)][_0x3d359b(0x114)](_0x1b7449,_0x218da3),this[_0x3d359b(0x1f4)]=_0x218da3),this[_0x3d359b(0x11a)]=[..._0x28c2e5],this[_0x3d359b(0x108)](_0xd4db56),this[_0x3d359b(0x1d3)](_0x1b7449);}catch(_0x105706){return console[_0x3d359b(0x1ce)](_0x105706),!0x1;}return!0x0;}[_0x164102(0x108)](_0x334961,_0x3cee07=!0x1){const _0x48d1cb=_0x164102;this[_0x48d1cb(0x180)][_0x48d1cb(0x14c)][_0x48d1cb(0x17c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x207653=>{const _0x333f28=_0x48d1cb;for(const _0x455bb3 of _0x334961)this[_0x333f28(0x1a2)][_0x333f28(0x10b)](_0x455bb3),this[_0x333f28(0x127)](_0x455bb3),_0x207653[_0x333f28(0x1c7)][_0x333f28(0x177)](_0x455bb3),this[_0x333f28(0x180)][_0x333f28(0x14c)][_0x333f28(0x1e1)](_0x455bb3);});}[_0x164102(0x127)](_0x318c31){const _0x10aa93=_0x164102,_0x388dc6=this[_0x10aa93(0x14e)](_0x318c31);_0x388dc6&&this[_0x10aa93(0x1b3)][_0x10aa93(0x10b)](_0x388dc6);}[_0x164102(0x14e)](_0x42eee8){const _0x370fbb=_0x164102;let _0x42e06c,_0x246cdc;switch(_0x42eee8[_0x370fbb(0x1fe)]){case _0x370fbb(0x1ca):_0x42e06c=_0x42eee8[_0x370fbb(0x1a4)][_0x370fbb(0x196)];break;case _0x370fbb(0x172):if(_0x246cdc=_0x42eee8[_0x370fbb(0x113)],!_0x246cdc)return null;_0x42e06c=_0x246cdc[_0x370fbb(0x196)];break;case _0x370fbb(0x11e):_0x42e06c=_0x42eee8[_0x370fbb(0x196)];break;case _0x370fbb(0x1ba):_0x42e06c=_0x42eee8[_0x370fbb(0x104)];break;case _0x370fbb(0x1ef):_0x42e06c=_0x42eee8[_0x370fbb(0x1db)][_0x370fbb(0x196)];break;default:return null;}return _0x42e06c[_0x370fbb(0x14b)];}[_0x164102(0x1d3)](_0x191507){const _0x886bcc=_0x164102;_0x191507[_0x886bcc(0x1be)](_0x621d0f=>{const _0x4b558c=_0x886bcc,_0x20a81a=_0x621d0f[_0x4b558c(0x1b0)]();_0x20a81a[_0x4b558c(0x1a8)]=_0x621d0f[_0x4b558c(0x1a8)],_0x20a81a[_0x4b558c(0x1cb)]=!!_0x621d0f[_0x4b558c(0x1cb)],_0x20a81a[_0x4b558c(0x121)]=_0x621d0f[_0x4b558c(0x121)],_0x20a81a[_0x4b558c(0x15f)]+=this[_0x4b558c(0x1a0)],_0x621d0f[_0x4b558c(0x17d)]&&this[_0x4b558c(0x1b5)][_0x4b558c(0x10b)](_0x20a81a),this[_0x4b558c(0x1fd)][_0x4b558c(0x177)](_0x20a81a);});}[_0x164102(0x185)](_0x1dbbaf){const _0x50152=_0x164102,_0x30471a=this[_0x50152(0x180)][_0x50152(0x140)][_0x50152(0x1c0)](_0x50152(0x1d4)),_0x52f58e=this[_0x50152(0x180)][_0x50152(0x1cc)];_0x1dbbaf||(_0x1dbbaf=_0x3b2261(_0x52f58e,_0x50152(0x1de))),_0x30471a[_0x50152(0x1f1)](_0x1dbbaf,{'title':_0x3b2261(_0x52f58e,_0x50152(0x156)),'namespace':_0x50152(0x1d6)}),this[_0x50152(0x118)]=!0x0,clearTimeout(this[_0x50152(0x12e)]),this[_0x50152(0x11a)]=[],this[_0x50152(0x180)][_0x50152(0x140)][_0x50152(0x1c0)](_0x3c9a04)[_0x50152(0x14f)]();}[_0x164102(0x18f)](){const _0x7cb1fd=_0x164102;this[_0x7cb1fd(0x200)]||(this[_0x7cb1fd(0x200)]=this[_0x7cb1fd(0x180)][_0x7cb1fd(0x140)][_0x7cb1fd(0x1c0)](_0x19e081)[_0x7cb1fd(0x10b)](_0x3b2261(this[_0x7cb1fd(0x180)][_0x7cb1fd(0x1cc)],_0x7cb1fd(0x12b))));}[_0x164102(0x183)](){const _0x41a6b0=_0x164102;this[_0x41a6b0(0x200)]&&(this[_0x41a6b0(0x180)][_0x41a6b0(0x140)][_0x41a6b0(0x1c0)](_0x19e081)[_0x41a6b0(0x149)](this[_0x41a6b0(0x200)]),this[_0x41a6b0(0x200)]=null);}[_0x164102(0x12c)](_0x300e65){const _0x236514=_0x164102,_0x27451c=_0x300e65[_0x236514(0x1e6)](_0x4aba84=>_0x4aba84[_0x236514(0x13d)]());return this[_0x236514(0x163)][_0x236514(0x141)](_0x27451c);}[_0x164102(0x1e7)](_0xd96120,_0x491267){const _0x170d0c=_0x164102;return this[_0x170d0c(0x163)][_0x170d0c(0x138)](_0xd96120)[_0x170d0c(0x1e6)]((_0x101aac,_0xf7b8ba)=>{const _0x46c1e5=_0x170d0c,_0x4ab926=_0x46c1e5(0x12f)==_0x491267[_0xf7b8ba][_0x46c1e5(0x1fe)];if(_0x46c1e5(0x123)==_0x101aac[_0x46c1e5(0x154)]){const _0x4c3030=_0x101aac[_0x46c1e5(0x1a4)][_0x46c1e5(0x196)];!this[_0x46c1e5(0x1d9)][_0x46c1e5(0x16d)](_0x4c3030)&&(this[_0x46c1e5(0x1d9)][_0x46c1e5(0x144)](_0x46c1e5(0x13e),_0x4c3030)[_0x46c1e5(0x17f)]=!0x1);}const _0x234a95=_0xaabc0a[_0x46c1e5(0x1af)](_0x101aac,this[_0x46c1e5(0x1d9)]);return _0x234a95[_0x46c1e5(0x19c)]=_0x101aac[_0x46c1e5(0x19c)],_0x234a95[_0x46c1e5(0x1cb)]=_0x4ab926,_0x234a95[_0x46c1e5(0x1a8)]=_0x4ab926?null:_0x491267[_0xf7b8ba][_0x46c1e5(0x1e5)],_0x234a95[_0x46c1e5(0x17d)]=_0x46c1e5(0x11b)===_0x491267[_0xf7b8ba][_0x46c1e5(0x1fe)],_0x234a95[_0x46c1e5(0x121)]=_0x491267[_0xf7b8ba][_0x46c1e5(0x121)],_0x234a95;});}[_0x164102(0x1ad)](){const _0x32221e=_0x164102;this[_0x32221e(0x189)]=!0x0,this[_0x32221e(0x135)]()?this[_0x32221e(0x1d0)]():this[_0x32221e(0x189)]=!0x1;}[_0x164102(0x135)](){const _0x4562e5=_0x164102,_0x3cea7f=this[_0x4562e5(0x180)][_0x4562e5(0x140)][_0x4562e5(0x1c0)](_0x5588c3)[_0x4562e5(0x1ed)][_0x4562e5(0x1c0)](this[_0x4562e5(0x1d2)]);return!this[_0x4562e5(0x180)][_0x4562e5(0x125)]&&!!_0x3cea7f&&_0x3cea7f[_0x4562e5(0x18e)]>0x1&&this[_0x4562e5(0x189)];}[_0x164102(0x176)](){const _0x4a717c=_0x164102;return this[_0x4a717c(0x11a)][_0x4a717c(0x18e)]>0x0||this[_0x4a717c(0x135)]();}}function _0x4133(_0x4c5c07,_0x2731a9){const _0x2ef504=_0x2ef5();return _0x4133=function(_0x413371,_0x490416){_0x413371=_0x413371-0x100;let _0x47dce2=_0x2ef504[_0x413371];return _0x47dce2;},_0x4133(_0x4c5c07,_0x2731a9);}l[_0x164102(0x184)]=_0x160cbf;export default l;class J extends Error{}function Q(_0x3d097f,_0x57b31e){const _0x562605=_0x164102;for(const _0x55bcb7 of _0x3d097f)_0x55bcb7[_0x562605(0x15f)]=_0x57b31e++;}class X{constructor(_0x8aab6){const _0x20fd0d=_0x164102;this[_0x20fd0d(0x102)]=_0x8aab6,this[_0x20fd0d(0x1cf)]=new WeakMap();}[_0x164102(0x147)](_0x35b656){const _0x3c2e2d=_0x164102;let _0x1c66cc=_0x35b656[_0x3c2e2d(0x18e)];for(;_0x1c66cc--;){const _0x27f182=_0x35b656[_0x1c66cc];if(!this[_0x3c2e2d(0x102)][_0x3c2e2d(0x1b6)](_0x27f182)){if(!this[_0x3c2e2d(0x1cf)][_0x3c2e2d(0x1b6)](_0x27f182)){const _0x24e4c9=_0x2df0c0()[_0x3c2e2d(0x100)](0x1,0x12);this[_0x3c2e2d(0x1cf)][_0x3c2e2d(0x122)](_0x27f182,_0x24e4c9);}return this[_0x3c2e2d(0x1cf)][_0x3c2e2d(0x1c0)](_0x27f182);}}}[_0x164102(0x114)](_0x32999a,_0x323f71){const _0x3aeece=_0x164102;if(!_0x323f71)return;let _0x54a061=_0x32999a[_0x3aeece(0x18e)];for(;_0x54a061--;){const _0x4ba48d=_0x32999a[_0x54a061];this[_0x3aeece(0x102)][_0x3aeece(0x1b6)](_0x4ba48d)||this[_0x3aeece(0x1cf)][_0x3aeece(0x122)](_0x4ba48d,_0x323f71);}}}
23
+ const _0x85ad6e=_0x472c;(function(_0x1db5ae,_0x519d72){const _0x5e8dc9=_0x472c,_0x1280a8=_0x1db5ae();while(!![]){try{const _0x49aec6=parseInt(_0x5e8dc9(0x12a))/0x1+-parseInt(_0x5e8dc9(0x1c1))/0x2*(-parseInt(_0x5e8dc9(0x1a8))/0x3)+parseInt(_0x5e8dc9(0x1d3))/0x4*(parseInt(_0x5e8dc9(0x144))/0x5)+parseInt(_0x5e8dc9(0xf4))/0x6*(parseInt(_0x5e8dc9(0x18b))/0x7)+-parseInt(_0x5e8dc9(0x185))/0x8+-parseInt(_0x5e8dc9(0x1ca))/0x9*(parseInt(_0x5e8dc9(0xf2))/0xa)+-parseInt(_0x5e8dc9(0x12b))/0xb*(parseInt(_0x5e8dc9(0x16c))/0xc);if(_0x49aec6===_0x519d72)break;else _0x1280a8['push'](_0x1280a8['shift']());}catch(_0x193aba){_0x1280a8['push'](_0x1280a8['shift']());}}}(_0x3b13,0xacede));import{Plugin as _0x368501,PendingActions as _0x4c66fa}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a6985,version as _0xba8fbe,uid as _0x2e1e74}from'ckeditor5/src/utils.js';import{Notification as _0x2d6253}from'ckeditor5/src/ui.js';import{transformSets as _0x12061d,NoOperation as _0xb6f549,InsertOperation as _0x53fa7a,MarkerOperation as _0x1d1151,RootAttributeOperation as _0x47b689,OperationFactory as _0x34416f,History as _0x5d06d2}from'ckeditor5/src/engine.js';import _0x2b8920 from'./websocketgateway.js';import _0x5b289c from'./sessions.js';function _0x3b13(){const _0x57fb4d=['_isInit','_initThrowingOnDataSet','_initSessionsHandling','config','add','currentDocumentSession','pluginName','locale','view','length','_isDisconnection','__className','catch','realtimecollaborationclient-init-non-existent-root','addToReconnectionStack','mySessionId','_connectService','isReadOnly','batch','channelSessions','data','getOperations','roots','_connectAfterSessionHasBeenFlushed','createPositionAt','145232ZXiMlD','11xyEisr','_crash','reset','Synchronization\x20issue','getConnectedSessions','reconnection:\x20flushed\x20session','409','Notification','_isEditingAllowed','define','root','createRange','includes','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','history','_shouldSendSelectionUpdate','change:_isEditingAllowed','addOperation','_compressOperations','decompress','sessionAdd:','InsertOperation','offset','keys','reconnect','1470OdGFCt','CommentsOnly','plugins','stop','RealTimeCollaborationClient','404','_handleExternalOperations','getRoot','toJSON','realtimecollaborationclient-sendbufferedoperations','isOfficialPlugin','round','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','move','fromJSON','realtimecollaborationclient-initservice-incorrect-server-operation','_addKnownRoot','wereChangesApplied','selection','get','path','change:_isPendingUpdate','_fetchMissingUsers','setPermissions','insert','error','_handleInitialConnectionData','_baseBufferDelay','realtimecollaborationclient-init-session-connection-error','type','lastDocumentSession','baseVersion','string','end','getOperationAuthor','from','_setUpDataInit','createdAt','_disconnectionOperations','_ignoredOperations','2846436XJVDji','_knownOperations','high','_refreshUserSelectionMarkers','_channelId','cloudDocumentVersion','apply','filter','_handleServerResponse','_service','multi-root-editor-root-attributes-no-root','_isPendingUpdate','getDocumentDetails','lastSyncVersion','set','rootName','fire','version','_handleReceivedOperations','entries','_getOperationsFromInitData','listenTo','slice','startsWith','isEnabled','10313008gTxOAK','state','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.','_isConnected','stopListening','_handleSendingSelectionMarkers','8412117cpgYnE','directChange','disconnected','_clearPendingAction','enableReadOnlyMode','$root','attributes','_operationToId','_lastServerVersion','_loadRoot','connection','realtimecollaborationclient-initservice-internal-error','getMany','document:write','userId','isPremiumPlugin','realtimecollaborationclient-init-document-already-initialized','CollaborativeEditingService','finally','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','_knownRootNames','return','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','markers','_currentBufferDelay','initData','enqueueChange','init','58389eTGstP','targetPosition','_hasSynchronizationProblem','start','removeFromReconnectionStack','parse','createRoot','_sendBufferedOperations','code','has','unregister','suppressErrorInCollaboration','_authorId','collaboration.channelId','_compressor','permissions','affectsData','connected','newRange','sessionCreatedAt','_applyOperationsSet','change:hasDomSelection','sendOperations','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastSyncedOperationId','66KITbcU','message','map','serverHistory','_pendingAction','addRoot','lastOperationAcceptedAt','_getAffectedRoot','off','1143837qucmls','document','_isAttached','_bufferRootLoad','editing','loadRoot','_waitUntilSynced','_decompressOperations','rootsAttributes','5068ftbMKe','_sendBufferedOperationsDelayId','destroy','editor','getIdOfTheLastOperation','compress','Permissions','differ','collaboration','metadata','then','disableReadOnlyMode','addUser','operationsReceived','getUser','_sendBufferedOperationsDelayed','_handleReconnectionResponse','lastOperationId','change:range','size','clone','createPositionFromPath','setIdForTheLastOperation','realtimecollaborationclient-init-connection-failed','cs:removeUser','ready','_setPendingAction','createUserMarkerOperations','_handleReconnectionError','addRootAttribute','affectedSelectable','forEach','marker','_hasSelectionChanged','_updateServerHistory','remove','disconnect','10DQomiL','requires','6TwrdJn','cloud-services-internal-error:\x20Not\x20connected.','_saveOperationInBuffer','_document','isUndoneOperation','PENDING_ACTION_SENDING_DATA','connect','rtc-destroyed','realtimecollaborationclient-handleserverresponse','_isLoaded','isDocumentOperation','model','_offset','sessionId','_bufferedOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','wasUndone','_disconnectService','push','showWarning','cloudServices.bundleVersion','applyOperation','_shouldSendUpdate','bind','_operationIdentifier','register','rtc-offline','position'];_0x3b13=function(){return _0x57fb4d;};return _0x3b13();}import _0x172bff from'./usermarkers.js';function _0x472c(_0x5bbf7a,_0x1652f3){const _0x3b1373=_0x3b13();return _0x472c=function(_0x472ca9,_0x4110aa){_0x472ca9=_0x472ca9-0xd1;let _0x40b0fc=_0x3b1373[_0x472ca9];return _0x40b0fc;},_0x472c(_0x5bbf7a,_0x1652f3);}import{getTranslation as _0x2d96f5}from'../common-translations.js';import{Compressor as _0x2fba53}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2036db}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x385822,CollaborativeEditingService as _0x414bdb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x368501{static get[_0x85ad6e(0xf3)](){return[_0x2b8920,_0x5b289c,_0x172bff,_0x4c66fa,_0x2036db,_0x2d6253];}static get[_0x85ad6e(0x117)](){const _0x4bedb3=_0x85ad6e;return _0x4bedb3(0x148);}static get[_0x85ad6e(0x14e)](){return!0x0;}static get[_0x85ad6e(0x19a)](){return!0x0;}get[_0x85ad6e(0x171)](){const _0x115983=_0x85ad6e;return this[_0x115983(0x193)]+this[_0x115983(0x100)];}get[_0x85ad6e(0x193)](){const _0x1ea120=_0x85ad6e;return this[_0x1ea120(0x1c4)][_0x1ea120(0x17d)]-this[_0x1ea120(0x100)];}get[_0x85ad6e(0x179)](){const _0x53497e=_0x85ad6e,_0x11540a=this[_0x53497e(0x1c4)][_0x53497e(0x126)]();for(let _0x3f51da=_0x11540a[_0x53497e(0x11a)]-0x1;_0x3f51da>=0x0;_0x3f51da--){const _0x5563ee=_0x11540a[_0x3f51da];if(!this[_0x53497e(0x16a)][_0x53497e(0x1b1)](_0x5563ee))return _0x5563ee[_0x53497e(0x163)]+0x1-this[_0x53497e(0x100)];}return 0x0;}constructor(_0x55b4c7){const _0x5c13e0=_0x85ad6e;if(super(_0x55b4c7),this[_0x5c13e0(0x100)]=0x0,this[_0x5c13e0(0x101)]=null,this[_0x5c13e0(0x1c4)]=new _0x5d06d2(),this[_0x5c13e0(0x1d6)][_0x5c13e0(0x114)][_0x5c13e0(0x134)](_0x5c13e0(0xd5),{}),this[_0x5c13e0(0x170)]=this[_0x5c13e0(0x1d6)][_0x5c13e0(0x114)][_0x5c13e0(0x157)](_0x5c13e0(0x1b5)),!this[_0x5c13e0(0x170)])throw new _0x5a6985(_0x5c13e0(0x19f),this);const _0x11c258=_0x55b4c7[_0x5c13e0(0x114)][_0x5c13e0(0x157)](_0x5c13e0(0x109))||_0xba8fbe;this[_0x5c13e0(0x175)]=new l[(_0x5c13e0(0x19c))](_0x11c258,this[_0x5c13e0(0x170)]),this[_0x5c13e0(0xf7)]=this[_0x5c13e0(0x1d6)][_0x5c13e0(0xff)][_0x5c13e0(0x1cb)],this[_0x5c13e0(0x1b6)]=new _0x2fba53(),this[_0x5c13e0(0x102)]=[],this[_0x5c13e0(0x16d)]=new WeakSet(),this[_0x5c13e0(0x1a0)]=new Set(),this[_0x5c13e0(0x17a)](_0x5c13e0(0x177),!0x1),this[_0x5c13e0(0x17a)](_0x5c13e0(0x1aa),!0x1),this[_0x5c13e0(0x1c5)]=null,this[_0x5c13e0(0xee)]=!0x1,this[_0x5c13e0(0x1d4)]=null,this[_0x5c13e0(0x15f)]=0x12c,this[_0x5c13e0(0x1a4)]=this[_0x5c13e0(0x15f)],this[_0x5c13e0(0x1c0)]=null,this[_0x5c13e0(0x16a)]=new WeakSet(),this[_0x5c13e0(0x10d)]=new W(this[_0x5c13e0(0x16a)]);}[_0x85ad6e(0x1a7)](){const _0x330dd6=_0x85ad6e,_0xaadf5=this[_0x330dd6(0x1d6)],_0x736a=_0xaadf5[_0x330dd6(0x146)][_0x330dd6(0x157)](_0x2036db),_0x214ec6=_0xaadf5[_0x330dd6(0x146)][_0x330dd6(0x157)](_0x2b8920);this[_0x330dd6(0x181)](_0x736a,_0x330dd6(0x166),(_0xbc645d,_0x1871ca)=>{const _0x132290=_0x330dd6,_0x3a658b=_0x1871ca[0x0];_0x3a658b[_0x132290(0x1b4)]&&(_0xbc645d[_0x132290(0x1a1)]=_0x736a[_0x132290(0xdb)](_0x3a658b[_0x132290(0x1b4)]),_0xbc645d[_0x132290(0x147)]()),null===_0x3a658b[_0x132290(0x1b4)]&&(_0xbc645d[_0x132290(0x1a1)]=null,_0xbc645d[_0x132290(0x147)]());},{'priority':_0x330dd6(0x16e)}),this[_0x330dd6(0x181)](_0xaadf5[_0x330dd6(0xff)][_0x330dd6(0x1cb)][_0x330dd6(0x156)],_0x330dd6(0xdf),(_0x15ba23,_0x94f365)=>{const _0x2da5fe=_0x330dd6;_0x94f365[_0x2da5fe(0x18c)]&&this[_0x2da5fe(0x16f)]();}),this[_0x330dd6(0x181)](_0xaadf5[_0x330dd6(0x1ce)][_0x330dd6(0x119)],_0x330dd6(0x1bd),()=>{const _0xb7b30=_0x330dd6;this[_0xb7b30(0x16f)]();}),this[_0x330dd6(0x112)](),_0xaadf5[_0x330dd6(0xff)]['on'](_0x330dd6(0x10a),(_0x4b8876,_0x4083cb)=>{const _0x425b4e=_0x330dd6,_0x1bfd9d=_0x4083cb[0x0];_0x1bfd9d[_0x425b4e(0xfe)]&&(this[_0x425b4e(0xf6)](_0x1bfd9d),this[_0x425b4e(0x10b)]()&&this[_0x425b4e(0xdc)]());}),this[_0x330dd6(0x168)](),this[_0x330dd6(0x10c)](_0x330dd6(0x133))['to'](_0x214ec6,_0x330dd6(0x186),this,_0x330dd6(0x1aa),(_0x1be0fb,_0x1bb332)=>_0x330dd6(0x1b9)===_0x1be0fb&&!_0x1bb332),this['on'](_0x330dd6(0x13b),()=>{const _0xd8d642=_0x330dd6;this[_0xd8d642(0x133)]?_0xaadf5[_0xd8d642(0xd8)](_0xd8d642(0x10f)):_0xaadf5[_0xd8d642(0x18f)](_0xd8d642(0x10f));}),this[_0x330dd6(0x133)]?_0xaadf5[_0x330dd6(0xd8)](_0x330dd6(0x10f)):_0xaadf5[_0x330dd6(0x18f)](_0x330dd6(0x10f)),this[_0x330dd6(0x17a)](_0x330dd6(0x188),!0x1);}async[_0x85ad6e(0x143)](){const _0x44f5fb=_0x85ad6e,_0x3a7cd5=this[_0x44f5fb(0x1d6)][_0x44f5fb(0x146)][_0x44f5fb(0x157)](_0x5b289c),_0xf5754=this[_0x44f5fb(0x1d6)][_0x44f5fb(0x146)][_0x44f5fb(0x157)](_0x2b8920);try{this[_0x44f5fb(0x177)]=!0x0,_0x3a7cd5[_0x44f5fb(0x1b2)](this[_0x44f5fb(0x170)]);const _0x2b68b6=await this[_0x44f5fb(0x175)][_0x44f5fb(0x143)](_0xf5754[_0x44f5fb(0x195)],this[_0x44f5fb(0x179)]);await this[_0x44f5fb(0xdd)](_0x2b68b6)&&(this[_0x44f5fb(0x177)]=!0x1,this[_0x44f5fb(0x18e)]());const _0xf34a80=await this[_0x44f5fb(0x175)][_0x44f5fb(0x12f)]();_0x3a7cd5[_0x44f5fb(0x10e)](this[_0x44f5fb(0x170)],_0xf34a80),this[_0x44f5fb(0x18a)](),this[_0x44f5fb(0x188)]=!0x0;}catch(_0x404f25){if(function(_0x3e6714){const _0x346398=_0x44f5fb;return _0x346398(0x149)===_0x3e6714[_0x346398(0x1b0)];}(_0x404f25)&&this[_0x44f5fb(0x101)])await this[_0x44f5fb(0x128)]();else{if(function(_0x6c5923){const _0x36bac7=_0x44f5fb;return _0x36bac7(0x131)===_0x6c5923[_0x36bac7(0x1b0)];}(_0x404f25)){const _0x5ec264=_0x2d96f5(this[_0x44f5fb(0x1d6)][_0x44f5fb(0x118)],_0x44f5fb(0x150));this[_0x44f5fb(0xe9)](_0x5ec264);}else{if(!(_0x404f25 instanceof z))throw _0x404f25;this[_0x44f5fb(0xe9)]();}}}}[_0x85ad6e(0x1d5)](){const _0x28bb93=_0x85ad6e,_0x1afc33=this[_0x28bb93(0x1d6)][_0x28bb93(0x146)][_0x28bb93(0x157)](_0x2b8920),_0x56658c=this[_0x28bb93(0x1d6)][_0x28bb93(0x146)][_0x28bb93(0x157)](_0x5b289c);this[_0x28bb93(0x1d6)][_0x28bb93(0x18f)](_0x28bb93(0xfb)),_0x56658c[_0x28bb93(0x124)][_0x28bb93(0x1b1)](this[_0x28bb93(0x170)])&&_0x56658c[_0x28bb93(0x1b2)](this[_0x28bb93(0x170)]),_0x1afc33[_0x28bb93(0x1ac)](this),this[_0x28bb93(0x106)](),super[_0x28bb93(0x1d5)]();}async[_0x85ad6e(0xdd)](_0x46502f){const _0xcc717e=_0x85ad6e;if(this[_0xcc717e(0x101)]!==_0x46502f[_0xcc717e(0x101)]&&this[_0xcc717e(0x1c0)]!==_0x46502f[_0xcc717e(0xde)])throw new z();return this[_0xcc717e(0x101)]=_0x46502f[_0xcc717e(0x101)],this[_0xcc717e(0x174)]([],{..._0x46502f,'wereChangesApplied':!0x1,'data':_0x46502f[_0xcc717e(0x125)]},_0xcc717e(0x143));}async[_0x85ad6e(0x121)](_0x1abcdc,_0x435a57=!0x1){const _0x34758f=_0x85ad6e,{connection:_0x59144d}=this[_0x34758f(0x1d6)][_0x34758f(0x146)][_0x34758f(0x157)](_0x2b8920);l[_0x34758f(0x19c)][_0x34758f(0x12f)](_0x59144d,this[_0x34758f(0x170)])[_0x34758f(0xd7)](_0x49e7be=>this[_0x34758f(0x113)](_0x49e7be))[_0x34758f(0x11d)](_0x7e0279=>{const _0x17bc03=_0x34758f;this[_0x17bc03(0x12c)](_0x17bc03(0x160),_0x7e0279);}),this[_0x34758f(0x181)](this[_0x34758f(0x175)],_0x34758f(0xda),this[_0x34758f(0x17e)][_0x34758f(0x10c)](this)),this[_0x34758f(0x181)](this[_0x34758f(0x175)],_0x34758f(0x15d),(_0x56a8dc,_0x3d8825)=>{const _0x2a859f=_0x34758f;this[_0x2a859f(0x12c)](_0x2a859f(0x196),_0x3d8825);}),this[_0x34758f(0x181)](this[_0x34758f(0x175)],_0x34758f(0x18d),()=>{const _0x13eb39=_0x34758f;this[_0x13eb39(0x188)]=!0x1;});const _0x496b37=this[_0x34758f(0x10d)][_0x34758f(0xd1)](_0x1abcdc);this[_0x34758f(0x177)]=!0x0;const _0x35153f=await this[_0x34758f(0x175)][_0x34758f(0xfa)](_0x59144d,this[_0x34758f(0x13d)](_0x1abcdc),_0x496b37);if(this[_0x34758f(0x101)]=_0x35153f[_0x34758f(0x101)],_0x435a57){if(!_0x35153f[_0x34758f(0x155)])return void this[_0x34758f(0xe9)]();this[_0x34758f(0x177)]=!0x1,this[_0x34758f(0x18e)](),this[_0x34758f(0x1c4)][_0x34758f(0x12d)](),this[_0x34758f(0x100)]=_0x35153f[_0x34758f(0x141)],this[_0x34758f(0x1c4)][_0x34758f(0x17d)]=this[_0x34758f(0x100)],await this[_0x34758f(0x174)](_0x1abcdc,_0x35153f,_0x34758f(0x130));}else await this[_0x34758f(0x15e)](_0x35153f,_0x1abcdc);this[_0x34758f(0x18a)](),this[_0x34758f(0x188)]=!0x0;}[_0x85ad6e(0x18a)](){const _0x4c4f69=_0x85ad6e,_0x1bfd20=this[_0x4c4f69(0x1d6)][_0x4c4f69(0x146)][_0x4c4f69(0x157)](_0x5b289c),_0x15f12b=this[_0x4c4f69(0x1d6)][_0x4c4f69(0x146)][_0x4c4f69(0x157)](_0x172bff),_0x141611=_0x1bfd20[_0x4c4f69(0x124)][_0x4c4f69(0x157)](this[_0x4c4f69(0x170)]);_0x141611&&_0x141611[_0x4c4f69(0x11a)]>0x1?_0x15f12b[_0x4c4f69(0xe8)]():this[_0x4c4f69(0x181)](_0x1bfd20,_0x4c4f69(0x13f)+this[_0x4c4f69(0x170)],()=>{const _0x1b6b71=_0x4c4f69;0x2===_0x1bfd20[_0x1b6b71(0x124)][_0x1b6b71(0x157)](this[_0x1b6b71(0x170)])[_0x1b6b71(0x11a)]&&_0x15f12b[_0x1b6b71(0xe8)]();});}async[_0x85ad6e(0x17e)](_0x42b1f9,_0x53efd6,_0x3f26b8,_0x5ec6b5){const _0x565fba=_0x85ad6e;if(!this[_0x565fba(0x177)]&&this[_0x565fba(0xf7)][_0x565fba(0x17d)]==_0x53efd6){const _0x259dec=this[_0x565fba(0x1d1)](_0x3f26b8,_0x5ec6b5);await this[_0x565fba(0x15a)](_0x259dec),this[_0x565fba(0x14a)](_0x259dec,_0x53efd6,_0x3f26b8[_0x565fba(0xde)])||this[_0x565fba(0x12c)](_0x565fba(0x153));}}async[_0x85ad6e(0x128)](){const _0x367d2e=_0x85ad6e;this[_0x367d2e(0x106)]();const {locale:_0x2ea17d}=this[_0x367d2e(0x1d6)];let _0x8b3083;try{_0x8b3083=await this[_0x367d2e(0x175)][_0x367d2e(0x178)]();}catch(_0x1cb4b0){const _0x4d74c9=_0x2d96f5(_0x2ea17d,_0x367d2e(0x103));return void this[_0x367d2e(0xe9)](_0x4d74c9);}const _0x4c1fea=_0x8b3083[_0x367d2e(0x116)]||_0x8b3083[_0x367d2e(0x162)];if(this[_0x367d2e(0x1c0)]===_0x4c1fea[_0x367d2e(0xde)])await this[_0x367d2e(0x121)](this[_0x367d2e(0x1d6)][_0x367d2e(0xff)][_0x367d2e(0x1cb)][_0x367d2e(0x139)][_0x367d2e(0x126)](),!0x0);else{const _0x36322c=_0x2d96f5(_0x2ea17d,_0x367d2e(0x1bf));this[_0x367d2e(0xe9)](_0x36322c);}}[_0x85ad6e(0x106)](){const _0x420ab3=_0x85ad6e;this[_0x420ab3(0x175)][_0x420ab3(0xf1)](),this[_0x420ab3(0x102)]=[],clearTimeout(this[_0x420ab3(0x1d4)]),this[_0x420ab3(0x189)](this[_0x420ab3(0x175)]);}[_0x85ad6e(0x113)](_0x5d7ba6){const _0x27d2d2=_0x85ad6e,_0xa9cc16=this[_0x27d2d2(0x1d6)][_0x27d2d2(0x146)][_0x27d2d2(0x157)](_0x5b289c);this[_0x27d2d2(0x181)](_0xa9cc16,_0x27d2d2(0x13f)+this[_0x27d2d2(0x170)],(_0x568703,{session:_0x3813e9})=>{const _0x1074ea=_0x27d2d2;if(_0x3813e9['id']===_0xa9cc16[_0x1074ea(0x120)]){_0x568703[_0x1074ea(0x1c9)]();const _0x3e4b44=this[_0x1074ea(0x1d6)][_0x1074ea(0x146)][_0x1074ea(0x1b1)](_0x1074ea(0x145))&&this[_0x1074ea(0x1d6)][_0x1074ea(0x146)][_0x1074ea(0x157)](_0x1074ea(0x145));let _0xf308b9=_0x3813e9[_0x1074ea(0x1b7)];_0x3e4b44&&_0x3e4b44[_0x1074ea(0x184)]&&(_0xf308b9=_0xf308b9[_0x1074ea(0x173)](_0x2b3915=>_0x1074ea(0x198)!==_0x2b3915)),this[_0x1074ea(0x1d6)][_0x1074ea(0x146)][_0x1074ea(0x157)](_0x1074ea(0xd3))[_0x1074ea(0x15b)](_0xf308b9,this[_0x1074ea(0x170)]);}}),_0xa9cc16[_0x27d2d2(0x10e)](this[_0x27d2d2(0x170)],_0x5d7ba6);}[_0x85ad6e(0x112)](){const _0x4115ca=_0x85ad6e,_0x5fd290=this[_0x4115ca(0x1d6)][_0x4115ca(0x125)][_0x4115ca(0x17a)];this[_0x4115ca(0x1d6)][_0x4115ca(0x125)][_0x4115ca(0x17a)]=(..._0x15e5da)=>{const _0xbd9590=_0x4115ca;if(!_0x15e5da[_0x15e5da[_0xbd9590(0x11a)]-0x1][_0xbd9590(0x1b3)])throw new _0x5a6985(_0xbd9590(0x138),this);_0x5fd290[_0xbd9590(0x172)](this[_0xbd9590(0x1d6)][_0xbd9590(0x125)],_0x15e5da);};}[_0x85ad6e(0x168)](){const _0x4805c0=_0x85ad6e;this[_0x4805c0(0x1d6)][_0x4805c0(0x125)]['on'](_0x4805c0(0x1a7),(_0x328ba3,[_0x162570])=>{const _0x3177a2=_0x4805c0;if(this[_0x3177a2(0xf7)][_0x3177a2(0x17d)])throw new _0x5a6985(_0x3177a2(0x19b),this);_0x328ba3[_0x3177a2(0x147)](),this[_0x3177a2(0xe7)]();const _0xf8f492=this[_0x3177a2(0x1d6)][_0x3177a2(0x114)][_0x3177a2(0x157)](_0x3177a2(0x1d2)),_0x3caa6c=this[_0x3177a2(0x180)](_0x162570,_0xf8f492);0x0==_0x3caa6c[_0x3177a2(0x11a)]&&_0x3caa6c[_0x3177a2(0x107)](new _0xb6f549(0x0)),_0x328ba3[_0x3177a2(0x1a1)]=this[_0x3177a2(0x121)](_0x3caa6c)[_0x3177a2(0xd7)](()=>{const _0x2912a5=_0x3177a2;this[_0x2912a5(0x1d6)][_0x2912a5(0x146)][_0x2912a5(0x157)](_0x2b8920)[_0x2912a5(0x11f)](this),this[_0x2912a5(0x1d6)][_0x2912a5(0x125)][_0x2912a5(0x17c)](_0x2912a5(0xe6));})[_0x3177a2(0x11d)](_0x98b996=>this[_0x3177a2(0x12c)](_0x3177a2(0xe4),_0x98b996))[_0x3177a2(0x19d)](()=>this[_0x3177a2(0x18e)]());},{'priority':_0x4805c0(0x16e)}),this[_0x4805c0(0x1d6)]['on'](_0x4805c0(0x1cf),async(_0xe8c27,[_0x3cc266,_0x2f5fdf])=>{const _0x53e2c5=_0x4805c0;_0xe8c27[_0x53e2c5(0x147)]();const _0x55a3ca=this[_0x53e2c5(0x1d6)][_0x53e2c5(0xff)][_0x53e2c5(0x1cb)][_0x53e2c5(0x14b)](_0x3cc266);if(!this[_0x53e2c5(0x1a0)][_0x53e2c5(0x1b1)](_0x3cc266)){const _0x6e2caa=_0x2f5fdf&&_0x2f5fdf[_0x53e2c5(0x125)]?_0x2f5fdf[_0x53e2c5(0x125)]:'',_0x4f3c25=_0x2f5fdf&&_0x2f5fdf[_0x53e2c5(0x191)]?_0x2f5fdf[_0x53e2c5(0x191)]:{};await this[_0x53e2c5(0x194)](_0x3cc266,_0x6e2caa,_0x4f3c25);}this[_0x53e2c5(0x1d6)][_0x53e2c5(0xff)][_0x53e2c5(0x1a6)]({'isUndoable':!0x1},()=>{const _0xd4d18b=_0x53e2c5;_0x55a3ca[_0xd4d18b(0xfd)]=!0x0,this[_0xd4d18b(0x1d6)][_0xd4d18b(0xff)][_0xd4d18b(0x1cb)][_0xd4d18b(0xd4)][_0xd4d18b(0x1cd)](_0x55a3ca);});},{'priority':_0x4805c0(0x16e)});}async[_0x85ad6e(0x15a)](_0x209039){const _0x4b2d74=_0x85ad6e,_0x48213b=this[_0x4b2d74(0x1d6)][_0x4b2d74(0x146)][_0x4b2d74(0x157)](_0x2036db),{connection:_0x65f100}=this[_0x4b2d74(0x1d6)][_0x4b2d74(0x146)][_0x4b2d74(0x157)](_0x2b8920),_0x560d53=new Set();for(const _0x9f6847 of _0x209039){const _0x3f7d03=_0x9f6847[_0x4b2d74(0x1b4)];_0x3f7d03&&!_0x48213b[_0x4b2d74(0xdb)](_0x3f7d03)&&_0x560d53[_0x4b2d74(0x115)](_0x3f7d03);}if(0x0===_0x560d53[_0x4b2d74(0xe0)])return;const _0x4540b3=await _0x385822[_0x4b2d74(0x197)](_0x65f100,Array[_0x4b2d74(0x167)](_0x560d53));for(const _0x3b2183 of _0x4540b3)_0x48213b[_0x4b2d74(0xdb)](_0x3b2183['id'])||_0x48213b[_0x4b2d74(0xd9)](_0x3b2183);}[_0x85ad6e(0x180)](_0x13476b,_0x5c4f89={}){const _0x31e114=_0x85ad6e,_0x572f8b=this[_0x31e114(0x1d6)][_0x31e114(0xff)],_0x2186a4=[];let _0x199b3c=0x0;const _0x46f244=_0x31e114(0x164)==typeof _0x13476b?{'main':_0x13476b}:_0x13476b;for(const _0x275c96 of Object[_0x31e114(0x142)](_0x46f244)){if(!this[_0x31e114(0xf7)][_0x31e114(0x127)][_0x31e114(0x1b1)](_0x275c96))throw new _0x5a6985(_0x31e114(0x11e),this);const _0x219665=this[_0x31e114(0x1d6)][_0x31e114(0x125)][_0x31e114(0x1ad)](_0x46f244[_0x275c96]),_0x1d00b1=this[_0x31e114(0xf7)][_0x31e114(0x14b)](_0x275c96),_0x2801a0=new _0x53fa7a(_0x572f8b[_0x31e114(0x129)](_0x1d00b1,0x0),_0x219665,_0x199b3c++);_0x2186a4[_0x31e114(0x107)](_0x2801a0);for(const [_0x1b00f0,_0x401acb]of _0x219665[_0x31e114(0x1a3)]){const _0x30be9e=_0x572f8b[_0x31e114(0x136)](_0x572f8b[_0x31e114(0xe2)](_0x1d00b1,_0x401acb[_0x31e114(0x1ab)][_0x31e114(0x158)][_0x31e114(0x182)]()),_0x572f8b[_0x31e114(0xe2)](_0x1d00b1,_0x401acb[_0x31e114(0x165)][_0x31e114(0x158)][_0x31e114(0x182)]())),_0x4e5267=new _0x1d1151(_0x1b00f0,null,_0x30be9e,_0x572f8b[_0x31e114(0x1a3)],!0x0,_0x199b3c++);_0x2186a4[_0x31e114(0x107)](_0x4e5267);}}if(_0x5c4f89)for(const [_0x80d0e1,_0x366b0e]of Object[_0x31e114(0x17f)](_0x5c4f89)){const _0x39804e=_0x572f8b[_0x31e114(0x1cb)][_0x31e114(0x14b)](_0x80d0e1);if(!_0x39804e)throw new _0x5a6985(_0x31e114(0x176),null);for(const [_0x921655,_0x44e82d]of Object[_0x31e114(0x17f)](_0x366b0e))if(null!==_0x44e82d){const _0x4569bc=new _0x47b689(_0x39804e,_0x921655,null,_0x44e82d,_0x199b3c++);_0x2186a4[_0x31e114(0x107)](_0x4569bc);}}return _0x2186a4;}async[_0x85ad6e(0x194)](_0x238075,_0x5a4368,_0x3f2b83){const _0x527f81=_0x85ad6e;this[_0x527f81(0x180)]({[_0x238075]:_0x5a4368},{[_0x238075]:_0x3f2b83})[_0x527f81(0xec)]((_0x4f9fbf,_0x52d684)=>{const _0x46a7ec=_0x527f81;_0x4f9fbf[_0x46a7ec(0x163)]=this[_0x46a7ec(0xf7)][_0x46a7ec(0x17d)]+_0x52d684,_0x4f9fbf[_0x46a7ec(0x111)]=!0x0,this[_0x46a7ec(0xf6)](_0x4f9fbf);}),this[_0x527f81(0xdc)](),await this[_0x527f81(0x1d0)]();}async[_0x85ad6e(0x15e)](_0x543777,_0xff83b4){const _0x33f4aa=_0x85ad6e;let _0x1b88a9;this[_0x33f4aa(0x100)]=_0x543777[_0x33f4aa(0x141)];const _0x4492d4=_0x543777[_0x33f4aa(0x155)]&&!_0x543777[_0x33f4aa(0x1a5)],_0x4de5f8=_0x4492d4?0x0:_0x543777[_0x33f4aa(0x125)][_0x33f4aa(0x163)];if(_0xff83b4[_0x33f4aa(0xec)](_0x1ac451=>{const _0x1ee48e=_0x33f4aa;_0x1ac451[_0x1ee48e(0x111)]=!0x0,_0x1ac451[_0x1ee48e(0x169)]=_0x543777[_0x1ee48e(0x1bb)],_0x1ac451[_0x1ee48e(0x1b4)]=null;}),_0x4492d4)_0x1b88a9=_0xff83b4,this[_0x33f4aa(0x1bc)](_0x1b88a9,_0x4492d4);else{if(_0x543777[_0x33f4aa(0x1a5)]){const _0x2e9992=this[_0x33f4aa(0x180)](_0x543777[_0x33f4aa(0x1a5)]);this[_0x33f4aa(0xf7)][_0x33f4aa(0x139)][_0x33f4aa(0x17d)]=-_0x2e9992[_0x33f4aa(0x11a)],_0x2e9992[_0x33f4aa(0xec)](_0x5952f2=>{const _0x4d4f18=_0x33f4aa;_0x5952f2[_0x4d4f18(0x163)]-=_0x2e9992[_0x4d4f18(0x11a)],_0x5952f2[_0x4d4f18(0x169)]=_0x543777[_0x4d4f18(0x1bb)],_0x5952f2[_0x4d4f18(0x111)]=!0x0,_0x5952f2[_0x4d4f18(0x1b4)]=null;}),this[_0x33f4aa(0x1bc)](_0x2e9992,!0x0),this[_0x33f4aa(0x1c4)][_0x33f4aa(0x17d)]=-_0x2e9992[_0x33f4aa(0x11a)]+this[_0x33f4aa(0x100)],this[_0x33f4aa(0xef)](_0x2e9992);}this[_0x33f4aa(0xf7)][_0x33f4aa(0x139)][_0x33f4aa(0x17d)]=_0x4de5f8,_0x1b88a9=this[_0x33f4aa(0x1d1)](_0x543777[_0x33f4aa(0x125)],_0x543777[_0x33f4aa(0xd6)]),await this[_0x33f4aa(0x15a)](_0x1b88a9),this[_0x33f4aa(0x1bc)](_0x1b88a9,_0x4492d4);}_0x543777[_0x33f4aa(0xde)]&&(this[_0x33f4aa(0x10d)][_0x33f4aa(0xe3)](_0x1b88a9,_0x543777[_0x33f4aa(0xde)]),this[_0x33f4aa(0x1c0)]=_0x543777[_0x33f4aa(0xde)]),this[_0x33f4aa(0x1c4)][_0x33f4aa(0x17d)]=_0x4de5f8+this[_0x33f4aa(0x100)],this[_0x33f4aa(0xef)](_0x1b88a9),_0xff83b4[_0x33f4aa(0x173)](_0x4c3957=>{const _0xc60079=_0x33f4aa,_0x1f926c=this[_0xc60079(0x1c8)](_0x4c3957);return _0x1f926c&&!this[_0xc60079(0x1a0)][_0xc60079(0x1b1)](_0x1f926c);})[_0x33f4aa(0xec)]((_0x373202,_0xef23cc)=>{const _0x563983=_0x33f4aa;_0x373202[_0x563983(0x163)]=this[_0x563983(0xf7)][_0x563983(0x17d)]+_0xef23cc,this[_0x563983(0xf6)](_0x373202);}),this[_0x33f4aa(0x10b)]()?(this[_0x33f4aa(0x1a4)]=0x0,this[_0x33f4aa(0xdc)](!0x0),await this[_0x33f4aa(0x1d0)]()):(this[_0x33f4aa(0x177)]=!0x1,this[_0x33f4aa(0x18e)]());}[_0x85ad6e(0x12c)](_0x3c4937,_0xbe8de2){const _0x3e6013=_0x85ad6e;throw this[_0x3e6013(0x177)]=!0x0,_0xbe8de2&&console[_0x3e6013(0x15d)](_0xbe8de2),new _0x5a6985(_0x3c4937,this[_0x3e6013(0x1d6)]);}[_0x85ad6e(0xf6)](_0x5bc4fb){const _0x5b49e9=_0x85ad6e;this[_0x5b49e9(0x16d)][_0x5b49e9(0x1b1)](_0x5bc4fb)||(this[_0x5b49e9(0x16d)][_0x5b49e9(0x115)](_0x5bc4fb),this[_0x5b49e9(0x102)][_0x5b49e9(0x107)](_0x5bc4fb),this[_0x5b49e9(0x1c5)]||_0x5b49e9(0xed)==_0x5bc4fb[_0x5b49e9(0x161)]&&!_0x5bc4fb[_0x5b49e9(0x1b8)]||this[_0x5b49e9(0xe7)]());}[_0x85ad6e(0xdc)](_0x423f1f=!0x1){const _0x5455f4=_0x85ad6e;!_0x423f1f&&this[_0x5455f4(0x177)]||(this[_0x5455f4(0x177)]=!0x0,clearTimeout(this[_0x5455f4(0x1d4)]),this[_0x5455f4(0x1d4)]=setTimeout(()=>{const _0x50eecc=_0x5455f4;this[_0x50eecc(0x1af)]()[_0x50eecc(0xd7)](_0x2ca5cc=>{const _0x5166b2=_0x50eecc;_0x2ca5cc&&(this[_0x5166b2(0x18e)](),this[_0x5166b2(0x177)]=!0x1);})[_0x50eecc(0x11d)](_0x158e05=>{const _0x32dca3=_0x50eecc;if(this[_0x32dca3(0x18e)](),this[_0x32dca3(0x177)]=!0x1,!function(_0x3623cc){const _0x21bebc=_0x32dca3;return _0x3623cc[_0x21bebc(0x1c2)][_0x21bebc(0x183)](_0x21bebc(0xf5))||_0x3623cc[_0x21bebc(0x1c2)][_0x21bebc(0x183)](_0x21bebc(0x1a2))||_0x3623cc[_0x21bebc(0x1c2)][_0x21bebc(0x183)](_0x21bebc(0x19e));}(_0x158e05))throw _0x158e05;});},this[_0x5455f4(0x1a4)]));}[_0x85ad6e(0x1d0)](){return new Promise(_0xf90aee=>{const _0x27f6d8=_0x472c;this['on'](_0x27f6d8(0x159),()=>{_0xf90aee();});});}async[_0x85ad6e(0x1af)](){const _0x36088e=_0x85ad6e,_0x1b9d91=this[_0x36088e(0x1d6)][_0x36088e(0x146)][_0x36088e(0x157)](_0x172bff);if(this[_0x36088e(0x13a)]()&&(_0x1b9d91[_0x36088e(0xe8)](),this[_0x36088e(0xee)]=!0x1),!this[_0x36088e(0x10b)]())return!0x0;const _0x214589=[...this[_0x36088e(0x102)]];for(const _0x2f4d99 of _0x214589)_0x2f4d99[_0x36088e(0x105)]=this[_0x36088e(0xf7)][_0x36088e(0x139)][_0x36088e(0xf8)](_0x2f4d99);const _0x417bcf=this[_0x36088e(0x10d)][_0x36088e(0xd1)](_0x214589),_0x4be5f5=M++,_0x144a3b=this[_0x36088e(0x13d)](_0x214589),_0x1b1efd=await this[_0x36088e(0x175)][_0x36088e(0x1be)](_0x144a3b,_0x144a3b[_0x36088e(0x163)],_0x417bcf);try{return await this[_0x36088e(0x174)](_0x214589,_0x1b1efd,_0x4be5f5);}catch(_0x1c6d4f){return this[_0x36088e(0x12c)](_0x36088e(0x14d),_0x1c6d4f);}}async[_0x85ad6e(0x174)](_0x1c0589,_0x114b72,_0x1b885b){const _0x3cd599=_0x85ad6e;if(_0x3cd599(0x15d)in _0x114b72)throw _0x114b72[_0x3cd599(0x15d)];let _0x23268f=!0x1;if(_0x114b72[_0x3cd599(0x155)]){_0x114b72[_0x3cd599(0xde)]&&(this[_0x3cd599(0x1c0)]=_0x114b72[_0x3cd599(0xde)]),this[_0x3cd599(0x102)]=this[_0x3cd599(0x102)][_0x3cd599(0x173)](_0x4129b4=>!_0x1c0589[_0x3cd599(0x137)](_0x4129b4));for(const _0x8e2834 of _0x1c0589)_0x8e2834[_0x3cd599(0x169)]=_0x3cd599(0x1c7)in _0x114b72&&_0x114b72[_0x3cd599(0x1c7)]||void 0x0;V(_0x1c0589,_0x114b72[_0x3cd599(0x17d)]-_0x1c0589[_0x3cd599(0x11a)]),this[_0x3cd599(0xef)](_0x1c0589);const _0xc90a=_0x1c0589[_0x3cd599(0x173)](_0x1344ba=>{const _0x1373b6=_0x3cd599;if(!_0x1344ba[_0x1373b6(0x111)])return!0x1;const _0x42c774=this[_0x1373b6(0x1c8)](_0x1344ba);return _0x42c774&&!this[_0x1373b6(0x1a0)][_0x1373b6(0x1b1)](_0x42c774);});V(_0xc90a,this[_0x3cd599(0xf7)][_0x3cd599(0x17d)]),this[_0x3cd599(0x1bc)](_0xc90a),_0x23268f=!0x0,this[_0x3cd599(0x1a4)]=this[_0x3cd599(0x15f)];}else{const _0x20b1c2=this[_0x3cd599(0x1d1)](_0x114b72[_0x3cd599(0x125)],_0x114b72[_0x3cd599(0xd6)])[_0x3cd599(0x173)](_0x2c3916=>_0x2c3916[_0x3cd599(0x163)]>=this[_0x3cd599(0x193)]);_0x20b1c2[_0x3cd599(0xec)](_0x19161f=>this[_0x3cd599(0x154)](_0x19161f)),this[_0x3cd599(0x102)]=this[_0x3cd599(0x102)][_0x3cd599(0x173)](_0x5cdd14=>!_0x5cdd14[_0x3cd599(0x111)]||!this[_0x3cd599(0x1a0)][_0x3cd599(0x1b1)](this[_0x3cd599(0x1c8)](_0x5cdd14))),this[_0x3cd599(0x102)][_0x3cd599(0x11a)]&&V(this[_0x3cd599(0x102)],this[_0x3cd599(0x102)][0x0][_0x3cd599(0x163)]),await this[_0x3cd599(0x15a)](_0x20b1c2),_0x23268f=this[_0x3cd599(0x14a)](_0x20b1c2,_0x114b72[_0x3cd599(0x17d)],_0x114b72[_0x3cd599(0xde)]),this[_0x3cd599(0x1a4)]=Math[_0x3cd599(0x14f)](this[_0x3cd599(0x1a4)]/0x2);}return _0x23268f?!this[_0x3cd599(0x10b)]()||(this[_0x3cd599(0xdc)](!0x0),!0x1):this[_0x3cd599(0x12c)](_0x3cd599(0xfc));}[_0x85ad6e(0x14a)](_0x35e799,_0x4e5a82,_0x3249c6){const _0x3b71f3=_0x85ad6e;try{const _0x71705e={'document':this[_0x3b71f3(0xf7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4205ec,operationsB:_0x41c7a4,originalOperations:_0x566aad}=_0x12061d(_0x35e799,this[_0x3b71f3(0x102)],_0x71705e);V(_0x4205ec,this[_0x3b71f3(0xf7)][_0x3b71f3(0x17d)]),V(_0x41c7a4,_0x4e5a82);for(const _0x3dd22b of _0x4205ec){const _0x540eb7=_0x566aad[_0x3b71f3(0x157)](_0x3dd22b);_0x3dd22b[_0x3b71f3(0x1b4)]=_0x540eb7?_0x540eb7[_0x3b71f3(0x1b4)]:null;}_0x3249c6&&(this[_0x3b71f3(0x10d)][_0x3b71f3(0xe3)](_0x35e799,_0x3249c6),this[_0x3b71f3(0x1c0)]=_0x3249c6),this[_0x3b71f3(0x102)]=[..._0x41c7a4],this[_0x3b71f3(0x1bc)](_0x4205ec),this[_0x3b71f3(0xef)](_0x35e799);}catch(_0xe11196){return console[_0x3b71f3(0x15d)](_0xe11196),!0x1;}return!0x0;}[_0x85ad6e(0x1bc)](_0x17f8fb,_0x495c6f=!0x1){const _0x5cf6f1=_0x85ad6e;this[_0x5cf6f1(0x1d6)][_0x5cf6f1(0xff)][_0x5cf6f1(0x1a6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x36dc0b=>{const _0x6deba7=_0x5cf6f1;for(const _0x1d7963 of _0x17f8fb)this[_0x6deba7(0x16d)][_0x6deba7(0x115)](_0x1d7963),this[_0x6deba7(0x154)](_0x1d7963),_0x36dc0b[_0x6deba7(0x123)][_0x6deba7(0x13c)](_0x1d7963),this[_0x6deba7(0x1d6)][_0x6deba7(0xff)][_0x6deba7(0x10a)](_0x1d7963);});}[_0x85ad6e(0x154)](_0xaa65cf){const _0x1ab73b=_0x85ad6e,_0x372ca0=this[_0x1ab73b(0x1c8)](_0xaa65cf);_0x372ca0&&this[_0x1ab73b(0x1a0)][_0x1ab73b(0x115)](_0x372ca0);}[_0x85ad6e(0x1c8)](_0x325754){const _0x23ddd6=_0x85ad6e;let _0x4e1979,_0x1f49ba;switch(_0x325754[_0x23ddd6(0x161)]){case _0x23ddd6(0x15c):_0x4e1979=_0x325754[_0x23ddd6(0x110)][_0x23ddd6(0x135)];break;case _0x23ddd6(0xed):if(_0x1f49ba=_0x325754[_0x23ddd6(0x1ba)],!_0x1f49ba)return null;_0x4e1979=_0x1f49ba[_0x23ddd6(0x135)];break;case _0x23ddd6(0xea):_0x4e1979=_0x325754[_0x23ddd6(0x135)];break;case _0x23ddd6(0x1c6):_0x4e1979=_0x325754[_0x23ddd6(0xeb)];break;case _0x23ddd6(0x151):_0x4e1979=_0x325754[_0x23ddd6(0x1a9)][_0x23ddd6(0x135)];break;default:return null;}return _0x4e1979[_0x23ddd6(0x17b)];}[_0x85ad6e(0xef)](_0xaae790){const _0xf3b346=_0x85ad6e;_0xaae790[_0xf3b346(0xec)](_0x5ddaa5=>{const _0x1e694f=_0xf3b346,_0x4ac974=_0x5ddaa5[_0x1e694f(0xe1)]();_0x4ac974[_0x1e694f(0x1b4)]=_0x5ddaa5[_0x1e694f(0x1b4)],_0x4ac974[_0x1e694f(0x111)]=!!_0x5ddaa5[_0x1e694f(0x111)],_0x4ac974[_0x1e694f(0x169)]=_0x5ddaa5[_0x1e694f(0x169)],_0x4ac974[_0x1e694f(0x163)]+=this[_0x1e694f(0x100)],_0x5ddaa5[_0x1e694f(0x11b)]&&this[_0x1e694f(0x16a)][_0x1e694f(0x115)](_0x4ac974),this[_0x1e694f(0x1c4)][_0x1e694f(0x13c)](_0x4ac974);});}[_0x85ad6e(0xe9)](_0x5a4ad2){const _0x2bc4da=_0x85ad6e,_0x236689=this[_0x2bc4da(0x1d6)][_0x2bc4da(0x146)][_0x2bc4da(0x157)](_0x2bc4da(0x132)),_0x1baba2=this[_0x2bc4da(0x1d6)][_0x2bc4da(0x118)];_0x5a4ad2||(_0x5a4ad2=_0x2d96f5(_0x1baba2,_0x2bc4da(0x187))),_0x236689[_0x2bc4da(0x108)](_0x5a4ad2,{'title':_0x2d96f5(_0x1baba2,_0x2bc4da(0x12e)),'namespace':_0x2bc4da(0x104)}),this[_0x2bc4da(0x1aa)]=!0x0,clearTimeout(this[_0x2bc4da(0x1d4)]),this[_0x2bc4da(0x102)]=[],this[_0x2bc4da(0x1d6)][_0x2bc4da(0x146)][_0x2bc4da(0x157)](_0x2b8920)[_0x2bc4da(0x1d5)]();}[_0x85ad6e(0xe7)](){const _0x3a5998=_0x85ad6e;this[_0x3a5998(0x1c5)]||(this[_0x3a5998(0x1c5)]=this[_0x3a5998(0x1d6)][_0x3a5998(0x146)][_0x3a5998(0x157)](_0x4c66fa)[_0x3a5998(0x115)](_0x2d96f5(this[_0x3a5998(0x1d6)][_0x3a5998(0x118)],_0x3a5998(0xf9))));}[_0x85ad6e(0x18e)](){const _0x42c541=_0x85ad6e;this[_0x42c541(0x1c5)]&&(this[_0x42c541(0x1d6)][_0x42c541(0x146)][_0x42c541(0x157)](_0x4c66fa)[_0x42c541(0xf0)](this[_0x42c541(0x1c5)]),this[_0x42c541(0x1c5)]=null);}[_0x85ad6e(0x13d)](_0x4cc7e7){const _0x54c4a8=_0x85ad6e,_0x17311d=_0x4cc7e7[_0x54c4a8(0x1c3)](_0x53e674=>_0x53e674[_0x54c4a8(0x14c)]());return this[_0x54c4a8(0x1b6)][_0x54c4a8(0xd2)](_0x17311d);}[_0x85ad6e(0x1d1)](_0x39eb32,_0xbbb842){const _0x1032c9=_0x85ad6e;return this[_0x1032c9(0x1b6)][_0x1032c9(0x13e)](_0x39eb32)[_0x1032c9(0x1c3)]((_0xcae0e6,_0x473784)=>{const _0x2b6a8b=_0x1032c9,_0x3480e3=_0x2b6a8b(0x1a7)==_0xbbb842[_0x473784][_0x2b6a8b(0x161)];if(_0x2b6a8b(0x140)==_0xcae0e6[_0x2b6a8b(0x11c)]){const _0x477b76=_0xcae0e6[_0x2b6a8b(0x110)][_0x2b6a8b(0x135)];!this[_0x2b6a8b(0xf7)][_0x2b6a8b(0x14b)](_0x477b76)&&(this[_0x2b6a8b(0xf7)][_0x2b6a8b(0x1ae)](_0x2b6a8b(0x190),_0x477b76)[_0x2b6a8b(0x1cc)]=!0x1);}const _0x406d6d=_0x34416f[_0x2b6a8b(0x152)](_0xcae0e6,this[_0x2b6a8b(0xf7)]);return _0x406d6d[_0x2b6a8b(0x105)]=_0xcae0e6[_0x2b6a8b(0x105)],_0x406d6d[_0x2b6a8b(0x111)]=_0x3480e3,_0x406d6d[_0x2b6a8b(0x1b4)]=_0x3480e3?null:_0xbbb842[_0x473784][_0x2b6a8b(0x199)],_0x406d6d[_0x2b6a8b(0x11b)]=_0x2b6a8b(0xe5)===_0xbbb842[_0x473784][_0x2b6a8b(0x161)],_0x406d6d[_0x2b6a8b(0x169)]=_0xbbb842[_0x473784][_0x2b6a8b(0x169)],_0x406d6d;});}[_0x85ad6e(0x16f)](){const _0x421123=_0x85ad6e;this[_0x421123(0xee)]=!0x0,this[_0x421123(0x13a)]()?this[_0x421123(0xdc)]():this[_0x421123(0xee)]=!0x1;}[_0x85ad6e(0x13a)](){const _0x112eb7=_0x85ad6e,_0x34d7bd=this[_0x112eb7(0x1d6)][_0x112eb7(0x146)][_0x112eb7(0x157)](_0x5b289c)[_0x112eb7(0x124)][_0x112eb7(0x157)](this[_0x112eb7(0x170)]);return!this[_0x112eb7(0x1d6)][_0x112eb7(0x122)]&&!!_0x34d7bd&&_0x34d7bd[_0x112eb7(0x11a)]>0x1&&this[_0x112eb7(0xee)];}[_0x85ad6e(0x10b)](){const _0x1221f2=_0x85ad6e;return this[_0x1221f2(0x102)][_0x1221f2(0x11a)]>0x0||this[_0x1221f2(0x13a)]();}}l[_0x85ad6e(0x19c)]=_0x414bdb;export default l;class z extends Error{}function V(_0x4a82e2,_0x5dfb69){const _0x584a1f=_0x85ad6e;for(const _0x5db401 of _0x4a82e2)_0x5db401[_0x584a1f(0x163)]=_0x5dfb69++;}class W{constructor(_0x278cff){const _0x2e5ed4=_0x85ad6e;this[_0x2e5ed4(0x16b)]=_0x278cff,this[_0x2e5ed4(0x192)]=new WeakMap();}[_0x85ad6e(0xd1)](_0x59c905){const _0x300e68=_0x85ad6e;let _0x4925bb=_0x59c905[_0x300e68(0x11a)];for(;_0x4925bb--;){const _0x697f67=_0x59c905[_0x4925bb];if(!this[_0x300e68(0x16b)][_0x300e68(0x1b1)](_0x697f67)){if(!this[_0x300e68(0x192)][_0x300e68(0x1b1)](_0x697f67)){const _0x173de4=_0x2e1e74()[_0x300e68(0x182)](0x1,0x12);this[_0x300e68(0x192)][_0x300e68(0x17a)](_0x697f67,_0x173de4);}return this[_0x300e68(0x192)][_0x300e68(0x157)](_0x697f67);}}}[_0x85ad6e(0xe3)](_0x42cd1d,_0x9f656f){const _0xfcf534=_0x85ad6e;if(!_0x9f656f)return;let _0x546681=_0x42cd1d[_0xfcf534(0x11a)];for(;_0x546681--;){const _0x98fab3=_0x42cd1d[_0x546681];this[_0xfcf534(0x16b)][_0xfcf534(0x1b1)](_0x98fab3)||this[_0xfcf534(0x192)][_0xfcf534(0x17a)](_0x98fab3,_0x9f656f);}}}
@@ -60,6 +60,14 @@ export default class Sessions extends ContextPlugin {
60
60
  * @inheritDoc
61
61
  */
62
62
  static get pluginName(): "Sessions";
63
+ /**
64
+ * @inheritDoc
65
+ */
66
+ static get isOfficialPlugin(): true;
67
+ /**
68
+ * @inheritDoc
69
+ */
70
+ static get isPremiumPlugin(): true;
63
71
  /**
64
72
  * @inheritDoc
65
73
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa997(_0x27f416,_0x406a6f){const _0x1f8b5d=_0x1f8b();return _0xa997=function(_0xa997ee,_0x2eb8f7){_0xa997ee=_0xa997ee-0xc7;let _0x30703c=_0x1f8b5d[_0xa997ee];return _0x30703c;},_0xa997(_0x27f416,_0x406a6f);}const _0x447fea=_0xa997;(function(_0x4c0090,_0x42450){const _0x1f1b74=_0xa997,_0x382c56=_0x4c0090();while(!![]){try{const _0xa31498=parseInt(_0x1f1b74(0xde))/0x1*(-parseInt(_0x1f1b74(0xfe))/0x2)+-parseInt(_0x1f1b74(0xf6))/0x3*(-parseInt(_0x1f1b74(0xfc))/0x4)+-parseInt(_0x1f1b74(0xf5))/0x5+-parseInt(_0x1f1b74(0xd5))/0x6*(-parseInt(_0x1f1b74(0xcc))/0x7)+parseInt(_0x1f1b74(0xca))/0x8*(parseInt(_0x1f1b74(0x102))/0x9)+-parseInt(_0x1f1b74(0xe4))/0xa+parseInt(_0x1f1b74(0xc7))/0xb*(-parseInt(_0x1f1b74(0xf3))/0xc);if(_0xa31498===_0x42450)break;else _0x382c56['push'](_0x382c56['shift']());}catch(_0x503777){_0x382c56['push'](_0x382c56['shift']());}}}(_0x1f8b,0xe1b41));import{ContextPlugin as _0x334133}from'ckeditor5/src/core.js';import{Collection as _0x4a1dfb,CKEditorError as _0x30dae9}from'ckeditor5/src/utils.js';import _0x48a67e from'./websocketgateway.js';function _0x1f8b(){const _0x3e9db1=['connection','forEach','context','requires','sessionAdd:','addUser','role','getUserSessions','connected','init','has','channelSessions','11268vKYPBx','getUserRole','3009560wvLgVp','7317azQmGP','_handleSessionAdd','fire','get','_registeredSessions','remove','2160ikObpb','getUser','34660GWUBVr','size','listenTo','change:state','765PyWUJH','state','delete','16005fdaaKK','register','pluginName','27736Uvunnr','unregister','71092BClKoh','allConnectedUsers','_createUser','isMe','set','plugins','_uniqueUsersCount','getUserBySessionId','orderNumber','846jwzACb','channelConnectedUsers','mySessionId','add','defineMe','stopListening','sessions-unregister-not-exist','clear','user','2GwCdus','_handleSessionRemove','Sessions','sessions-register-already-registered','assign','_users','1164530jVWVVA','values','sessionId'];_0x1f8b=function(){return _0x3e9db1;};return _0x1f8b();}import{Users as _0x202322}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x334133{static get[_0x447fea(0xc9)](){const _0x21c356=_0x447fea;return _0x21c356(0xe0);}static get[_0x447fea(0xea)](){return[_0x48a67e,_0x202322];}constructor(_0xd3cd7e){const _0x2a6af4=_0x447fea;super(_0xd3cd7e),this[_0x2a6af4(0xf2)]=new Map(),this[_0x2a6af4(0xd6)]=new Map(),this[_0x2a6af4(0xcd)]=new _0x4a1dfb(),this[_0x2a6af4(0xfa)]=new Map(),this[_0x2a6af4(0xd2)]=0x0,this[_0x2a6af4(0xe3)]=this[_0x2a6af4(0xe9)][_0x2a6af4(0xd1)][_0x2a6af4(0xf9)](_0x202322);}[_0x447fea(0xf0)](){const _0x1793b8=_0x447fea,_0x363094=this[_0x1793b8(0xe9)][_0x1793b8(0xd1)][_0x1793b8(0xf9)](_0x48a67e);this[_0x1793b8(0x100)](_0x363094,_0x1793b8(0x101),(_0x13cc76,_0x1630c2,_0x5ed406)=>{const _0x19f177=_0x1793b8;if(_0x19f177(0xef)!==_0x5ed406)this[_0x19f177(0xf2)][_0x19f177(0xe8)](_0x21d5e0=>_0x21d5e0[_0x19f177(0xdc)]()),this[_0x19f177(0xd6)][_0x19f177(0xe8)](_0x5ee25d=>_0x5ee25d[_0x19f177(0xdc)]()),this[_0x19f177(0xcd)][_0x19f177(0xdc)]();else{for(const [_0x34a8aa,_0x291be0]of this[_0x19f177(0xfa)])for(const _0x595513 of _0x291be0)this[_0x19f177(0xf7)](_0x34a8aa,_0x595513);}}),this[_0x1793b8(0xce)](_0x363094[_0x1793b8(0xe7)]['me'],!0x0);}[_0x447fea(0xc8)](_0x59c84f,_0x519e41){const _0x5ff3b9=_0x447fea;if(this[_0x5ff3b9(0xfa)][_0x5ff3b9(0xf1)](_0x59c84f))throw new _0x30dae9(_0x5ff3b9(0xe1),null,{'channelId':_0x59c84f});this[_0x5ff3b9(0xfa)][_0x5ff3b9(0xd0)](_0x59c84f,_0x519e41),this[_0x5ff3b9(0xf2)][_0x5ff3b9(0xd0)](_0x59c84f,new _0x4a1dfb()),this[_0x5ff3b9(0xd6)][_0x5ff3b9(0xd0)](_0x59c84f,new _0x4a1dfb()),this[_0x5ff3b9(0x100)](_0x519e41,_0x5ff3b9(0xd8),(_0x594f77,_0xa9170b)=>this[_0x5ff3b9(0xf7)](_0x59c84f,_0xa9170b)),this[_0x5ff3b9(0x100)](_0x519e41,_0x5ff3b9(0xfb),(_0x4d5d52,_0x42703e)=>this[_0x5ff3b9(0xdf)](_0x59c84f,_0x42703e));for(const _0x29d6ce of _0x519e41)this[_0x5ff3b9(0xf7)](_0x59c84f,_0x29d6ce);}[_0x447fea(0xcb)](_0x4dcb54){const _0x33772d=_0x447fea;if(!this[_0x33772d(0xfa)][_0x33772d(0xf1)](_0x4dcb54))throw new _0x30dae9(_0x33772d(0xdb),null,{'channelId':_0x4dcb54});const _0x347b8e=this[_0x33772d(0xfa)][_0x33772d(0xf9)](_0x4dcb54);this[_0x33772d(0xda)](_0x347b8e);for(const _0x59d403 of _0x347b8e)_0x33772d(0xef)===this[_0x33772d(0xe9)][_0x33772d(0xd1)][_0x33772d(0xf9)](_0x48a67e)[_0x33772d(0x103)]&&this[_0x33772d(0xdf)](_0x4dcb54,_0x59d403);this[_0x33772d(0xfa)][_0x33772d(0x104)](_0x4dcb54),this[_0x33772d(0xf2)][_0x33772d(0x104)](_0x4dcb54),this[_0x33772d(0xd6)][_0x33772d(0x104)](_0x4dcb54);}get[_0x447fea(0xd7)](){const _0x27cee9=_0x447fea;return this[_0x27cee9(0xe9)][_0x27cee9(0xd1)][_0x27cee9(0xf9)](_0x48a67e)[_0x27cee9(0xe7)][_0x27cee9(0xe6)];}[_0x447fea(0xd3)](_0x8dfea0){const _0x3ce524=_0x447fea;for(const _0xfecca8 of this[_0x3ce524(0xf2)][_0x3ce524(0xe5)]())for(const _0x3ce08a of _0xfecca8)if(_0x3ce08a['id']===_0x8dfea0)return _0x3ce08a[_0x3ce524(0xdd)];}[_0x447fea(0xee)](_0x33f13d,_0x13ea5b){const _0x36680e=_0x447fea,_0x2bdd26=_0x13ea5b?[this[_0x36680e(0xf2)][_0x36680e(0xf9)](_0x13ea5b)]:this[_0x36680e(0xf2)][_0x36680e(0xe5)](),_0x5e162b=new Set();for(const _0x77463f of _0x2bdd26)for(const _0xff7853 of _0x77463f)_0xff7853[_0x36680e(0xdd)]['id']===_0x33f13d['id']&&_0x5e162b[_0x36680e(0xd8)](_0xff7853['id']);return _0x5e162b;}[_0x447fea(0xf4)](_0x5e9b9e){const _0x3c8b15=_0x447fea;for(const _0x7ad4e of this[_0x3c8b15(0xf2)][_0x3c8b15(0xe5)]())for(const _0x45b151 of _0x7ad4e)if(_0x45b151[_0x3c8b15(0xdd)]===_0x5e9b9e)return _0x45b151[_0x3c8b15(0xed)];}[_0x447fea(0xf7)](_0x1a18fc,_0x238bd6){const _0xe3e7dd=_0x447fea;if(_0xe3e7dd(0xef)!==this[_0xe3e7dd(0xe9)][_0xe3e7dd(0xd1)][_0xe3e7dd(0xf9)](_0x48a67e)[_0xe3e7dd(0x103)])return;const _0x267bbb=_0x238bd6[_0xe3e7dd(0xdd)],_0x5ce0bf=this[_0xe3e7dd(0xe3)][_0xe3e7dd(0xfd)](_0x267bbb['id'])||this[_0xe3e7dd(0xce)](_0x267bbb),_0xec53d6=Object[_0xe3e7dd(0xe2)]({},_0x238bd6,{'user':_0x5ce0bf});this[_0xe3e7dd(0xf2)][_0xe3e7dd(0xf9)](_0x1a18fc)[_0xe3e7dd(0xd8)](_0xec53d6);const _0x13ae38=this[_0xe3e7dd(0xd6)][_0xe3e7dd(0xf9)](_0x1a18fc);_0x13ae38[_0xe3e7dd(0xf1)](_0x5ce0bf['id'])||_0x13ae38[_0xe3e7dd(0xd8)](_0x5ce0bf),this[_0xe3e7dd(0xcd)][_0xe3e7dd(0xf1)](_0x5ce0bf['id'])||this[_0xe3e7dd(0xcd)][_0xe3e7dd(0xd8)](_0x5ce0bf,_0x5ce0bf[_0xe3e7dd(0xcf)]?0x0:void 0x0),this[_0xe3e7dd(0xf8)](_0xe3e7dd(0xeb)+_0x1a18fc,{'channelId':_0x1a18fc,'session':_0xec53d6});}[_0x447fea(0xdf)](_0xf62508,_0x4a1f54){const _0x275744=_0x447fea;if(_0x275744(0xef)!==this[_0x275744(0xe9)][_0x275744(0xd1)][_0x275744(0xf9)](_0x48a67e)[_0x275744(0x103)])return;const _0x5e8e08=this[_0x275744(0xd6)][_0x275744(0xf9)](_0xf62508),_0x161e6d=_0x4a1f54[_0x275744(0xdd)];_0x161e6d['id']&&(this[_0x275744(0xf2)][_0x275744(0xf9)](_0xf62508)[_0x275744(0xfb)](_0x4a1f54['id']),_0x5e8e08[_0x275744(0xf1)](_0x161e6d['id'])&&!this[_0x275744(0xee)](_0x161e6d,_0xf62508)[_0x275744(0xff)]&&_0x5e8e08[_0x275744(0xfb)](_0x161e6d['id']),this[_0x275744(0xcd)][_0x275744(0xf9)](_0x161e6d['id'])&&!this[_0x275744(0xee)](_0x161e6d)[_0x275744(0xff)]&&this[_0x275744(0xcd)][_0x275744(0xfb)](_0x161e6d['id']));}[_0x447fea(0xce)](_0xd007f,_0x1a718f){const _0x14dff4=_0x447fea,_0x1df750=this[_0x14dff4(0xe3)][_0x14dff4(0xec)](_0xd007f);return _0x1a718f&&this[_0x14dff4(0xe3)][_0x14dff4(0xd9)](_0xd007f['id']),_0x1df750[_0x14dff4(0xd4)]=this[_0x14dff4(0xd2)]++,_0x1df750;}}
23
+ const _0x5c6aa9=_0x51b2;(function(_0x231ed1,_0x116031){const _0x849a4c=_0x51b2,_0x5f386e=_0x231ed1();while(!![]){try{const _0x31a18f=parseInt(_0x849a4c(0x140))/0x1+parseInt(_0x849a4c(0x118))/0x2+parseInt(_0x849a4c(0x14d))/0x3+-parseInt(_0x849a4c(0x13f))/0x4*(-parseInt(_0x849a4c(0x12d))/0x5)+-parseInt(_0x849a4c(0x137))/0x6+-parseInt(_0x849a4c(0x14b))/0x7*(-parseInt(_0x849a4c(0x151))/0x8)+-parseInt(_0x849a4c(0x120))/0x9;if(_0x31a18f===_0x116031)break;else _0x5f386e['push'](_0x5f386e['shift']());}catch(_0x486ca5){_0x5f386e['push'](_0x5f386e['shift']());}}}(_0x3441,0x9edb3));function _0x3441(){const _0x50920c=['_uniqueUsersCount','allConnectedUsers','connection','stopListening','sessions-unregister-not-exist','Sessions','getUserSessions','set','remove','fire','7UwsbPQ','_handleSessionRemove','438423mErraL','connected','_createUser','role','1170136UjBVty','addUser','forEach','getUser','2078316zmlqsr','has','getUserRole','assign','channelConnectedUsers','values','plugins','context','20628873XiOXSe','sessions-register-already-registered','size','defineMe','unregister','add','isOfficialPlugin','isMe','clear','getUserBySessionId','mySessionId','get','requires','950RoQqsZ','isPremiumPlugin','change:state','listenTo','register','delete','state','_users','_registeredSessions','sessionAdd:','2382300ktniYs','_handleSessionAdd','orderNumber','channelSessions','pluginName','sessionId','user','init','19996mWYgXx','1058446tjGMbq'];_0x3441=function(){return _0x50920c;};return _0x3441();}import{ContextPlugin as _0x2b3dbd}from'ckeditor5/src/core.js';import{Collection as _0x143e2a,CKEditorError as _0x439a07}from'ckeditor5/src/utils.js';function _0x51b2(_0x36286b,_0x50ce26){const _0x3441af=_0x3441();return _0x51b2=function(_0x51b272,_0x2e0c94){_0x51b272=_0x51b272-0x118;let _0x16d9cd=_0x3441af[_0x51b272];return _0x16d9cd;},_0x51b2(_0x36286b,_0x50ce26);}import _0x2a2ac8 from'./websocketgateway.js';import{Users as _0x4b6af5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x2b3dbd{static get[_0x5c6aa9(0x13b)](){const _0x109af4=_0x5c6aa9;return _0x109af4(0x146);}static get[_0x5c6aa9(0x126)](){return!0x0;}static get[_0x5c6aa9(0x12e)](){return!0x0;}static get[_0x5c6aa9(0x12c)](){return[_0x2a2ac8,_0x4b6af5];}constructor(_0x2ccddd){const _0x1ad1c4=_0x5c6aa9;super(_0x2ccddd),this[_0x1ad1c4(0x13a)]=new Map(),this[_0x1ad1c4(0x11c)]=new Map(),this[_0x1ad1c4(0x142)]=new _0x143e2a(),this[_0x1ad1c4(0x135)]=new Map(),this[_0x1ad1c4(0x141)]=0x0,this[_0x1ad1c4(0x134)]=this[_0x1ad1c4(0x11f)][_0x1ad1c4(0x11e)][_0x1ad1c4(0x12b)](_0x4b6af5);}[_0x5c6aa9(0x13e)](){const _0x95f896=_0x5c6aa9,_0x548ae0=this[_0x95f896(0x11f)][_0x95f896(0x11e)][_0x95f896(0x12b)](_0x2a2ac8);this[_0x95f896(0x130)](_0x548ae0,_0x95f896(0x12f),(_0x49e6a8,_0x357dd1,_0x4925f3)=>{const _0x3cac0c=_0x95f896;if(_0x3cac0c(0x14e)!==_0x4925f3)this[_0x3cac0c(0x13a)][_0x3cac0c(0x153)](_0x291983=>_0x291983[_0x3cac0c(0x128)]()),this[_0x3cac0c(0x11c)][_0x3cac0c(0x153)](_0x13c12a=>_0x13c12a[_0x3cac0c(0x128)]()),this[_0x3cac0c(0x142)][_0x3cac0c(0x128)]();else{for(const [_0x184495,_0x988a82]of this[_0x3cac0c(0x135)])for(const _0x4d01b0 of _0x988a82)this[_0x3cac0c(0x138)](_0x184495,_0x4d01b0);}}),this[_0x95f896(0x14f)](_0x548ae0[_0x95f896(0x143)]['me'],!0x0);}[_0x5c6aa9(0x131)](_0x560b74,_0x135bbc){const _0x1856bc=_0x5c6aa9;if(this[_0x1856bc(0x135)][_0x1856bc(0x119)](_0x560b74))throw new _0x439a07(_0x1856bc(0x121),null,{'channelId':_0x560b74});this[_0x1856bc(0x135)][_0x1856bc(0x148)](_0x560b74,_0x135bbc),this[_0x1856bc(0x13a)][_0x1856bc(0x148)](_0x560b74,new _0x143e2a()),this[_0x1856bc(0x11c)][_0x1856bc(0x148)](_0x560b74,new _0x143e2a()),this[_0x1856bc(0x130)](_0x135bbc,_0x1856bc(0x125),(_0xee468e,_0x4172b2)=>this[_0x1856bc(0x138)](_0x560b74,_0x4172b2)),this[_0x1856bc(0x130)](_0x135bbc,_0x1856bc(0x149),(_0xf8681e,_0x27f5fd)=>this[_0x1856bc(0x14c)](_0x560b74,_0x27f5fd));for(const _0xbdff19 of _0x135bbc)this[_0x1856bc(0x138)](_0x560b74,_0xbdff19);}[_0x5c6aa9(0x124)](_0x4166d6){const _0x46c384=_0x5c6aa9;if(!this[_0x46c384(0x135)][_0x46c384(0x119)](_0x4166d6))throw new _0x439a07(_0x46c384(0x145),null,{'channelId':_0x4166d6});const _0x249588=this[_0x46c384(0x135)][_0x46c384(0x12b)](_0x4166d6);this[_0x46c384(0x144)](_0x249588);for(const _0x56b9b8 of _0x249588)_0x46c384(0x14e)===this[_0x46c384(0x11f)][_0x46c384(0x11e)][_0x46c384(0x12b)](_0x2a2ac8)[_0x46c384(0x133)]&&this[_0x46c384(0x14c)](_0x4166d6,_0x56b9b8);this[_0x46c384(0x135)][_0x46c384(0x132)](_0x4166d6),this[_0x46c384(0x13a)][_0x46c384(0x132)](_0x4166d6),this[_0x46c384(0x11c)][_0x46c384(0x132)](_0x4166d6);}get[_0x5c6aa9(0x12a)](){const _0x2d16b7=_0x5c6aa9;return this[_0x2d16b7(0x11f)][_0x2d16b7(0x11e)][_0x2d16b7(0x12b)](_0x2a2ac8)[_0x2d16b7(0x143)][_0x2d16b7(0x13c)];}[_0x5c6aa9(0x129)](_0x21dc97){const _0x15e9d2=_0x5c6aa9;for(const _0x228273 of this[_0x15e9d2(0x13a)][_0x15e9d2(0x11d)]())for(const _0x21d586 of _0x228273)if(_0x21d586['id']===_0x21dc97)return _0x21d586[_0x15e9d2(0x13d)];}[_0x5c6aa9(0x147)](_0x2708c6,_0x5916f0){const _0x41752a=_0x5c6aa9,_0x740862=_0x5916f0?[this[_0x41752a(0x13a)][_0x41752a(0x12b)](_0x5916f0)]:this[_0x41752a(0x13a)][_0x41752a(0x11d)](),_0x60aa47=new Set();for(const _0x291226 of _0x740862)for(const _0x45cba6 of _0x291226)_0x45cba6[_0x41752a(0x13d)]['id']===_0x2708c6['id']&&_0x60aa47[_0x41752a(0x125)](_0x45cba6['id']);return _0x60aa47;}[_0x5c6aa9(0x11a)](_0x4ca971){const _0xd0bda=_0x5c6aa9;for(const _0x5665e0 of this[_0xd0bda(0x13a)][_0xd0bda(0x11d)]())for(const _0x25b0f9 of _0x5665e0)if(_0x25b0f9[_0xd0bda(0x13d)]===_0x4ca971)return _0x25b0f9[_0xd0bda(0x150)];}[_0x5c6aa9(0x138)](_0x582ac0,_0x3fb0e4){const _0x2af7cc=_0x5c6aa9;if(_0x2af7cc(0x14e)!==this[_0x2af7cc(0x11f)][_0x2af7cc(0x11e)][_0x2af7cc(0x12b)](_0x2a2ac8)[_0x2af7cc(0x133)])return;const _0x4cd52f=_0x3fb0e4[_0x2af7cc(0x13d)],_0x134104=this[_0x2af7cc(0x134)][_0x2af7cc(0x154)](_0x4cd52f['id'])||this[_0x2af7cc(0x14f)](_0x4cd52f),_0x11ef46=Object[_0x2af7cc(0x11b)]({},_0x3fb0e4,{'user':_0x134104});this[_0x2af7cc(0x13a)][_0x2af7cc(0x12b)](_0x582ac0)[_0x2af7cc(0x125)](_0x11ef46);const _0xdb2318=this[_0x2af7cc(0x11c)][_0x2af7cc(0x12b)](_0x582ac0);_0xdb2318[_0x2af7cc(0x119)](_0x134104['id'])||_0xdb2318[_0x2af7cc(0x125)](_0x134104),this[_0x2af7cc(0x142)][_0x2af7cc(0x119)](_0x134104['id'])||this[_0x2af7cc(0x142)][_0x2af7cc(0x125)](_0x134104,_0x134104[_0x2af7cc(0x127)]?0x0:void 0x0),this[_0x2af7cc(0x14a)](_0x2af7cc(0x136)+_0x582ac0,{'channelId':_0x582ac0,'session':_0x11ef46});}[_0x5c6aa9(0x14c)](_0x2be1df,_0x9c69b6){const _0x293a76=_0x5c6aa9;if(_0x293a76(0x14e)!==this[_0x293a76(0x11f)][_0x293a76(0x11e)][_0x293a76(0x12b)](_0x2a2ac8)[_0x293a76(0x133)])return;const _0x2bb420=this[_0x293a76(0x11c)][_0x293a76(0x12b)](_0x2be1df),_0x98eac6=_0x9c69b6[_0x293a76(0x13d)];_0x98eac6['id']&&(this[_0x293a76(0x13a)][_0x293a76(0x12b)](_0x2be1df)[_0x293a76(0x149)](_0x9c69b6['id']),_0x2bb420[_0x293a76(0x119)](_0x98eac6['id'])&&!this[_0x293a76(0x147)](_0x98eac6,_0x2be1df)[_0x293a76(0x122)]&&_0x2bb420[_0x293a76(0x149)](_0x98eac6['id']),this[_0x293a76(0x142)][_0x293a76(0x12b)](_0x98eac6['id'])&&!this[_0x293a76(0x147)](_0x98eac6)[_0x293a76(0x122)]&&this[_0x293a76(0x142)][_0x293a76(0x149)](_0x98eac6['id']));}[_0x5c6aa9(0x14f)](_0x1bb9b6,_0x39dd7c){const _0xa87a94=_0x5c6aa9,_0x5b1a28=this[_0xa87a94(0x134)][_0xa87a94(0x152)](_0x1bb9b6);return _0x39dd7c&&this[_0xa87a94(0x134)][_0xa87a94(0x123)](_0x1bb9b6['id']),_0x5b1a28[_0xa87a94(0x139)]=this[_0xa87a94(0x141)]++,_0x5b1a28;}}
@@ -24,6 +24,14 @@ export default class UserMarkers extends Plugin {
24
24
  * @inheritDoc
25
25
  */
26
26
  static get pluginName(): "UserMarkers";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get isPremiumPlugin(): true;
27
35
  /**
28
36
  * @inheritDoc
29
37
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e5b73=_0x2042;(function(_0x12c07a,_0x5a7b5c){const _0x42701f=_0x2042,_0x406cca=_0x12c07a();while(!![]){try{const _0x4f136=-parseInt(_0x42701f(0x100))/0x1*(parseInt(_0x42701f(0xbf))/0x2)+-parseInt(_0x42701f(0xf2))/0x3+-parseInt(_0x42701f(0xcb))/0x4*(-parseInt(_0x42701f(0xa4))/0x5)+-parseInt(_0x42701f(0x108))/0x6+-parseInt(_0x42701f(0xc1))/0x7*(-parseInt(_0x42701f(0xe2))/0x8)+parseInt(_0x42701f(0xe1))/0x9*(parseInt(_0x42701f(0xdc))/0xa)+parseInt(_0x42701f(0xa9))/0xb;if(_0x4f136===_0x5a7b5c)break;else _0x406cca['push'](_0x406cca['shift']());}catch(_0x292285){_0x406cca['push'](_0x406cca['shift']());}}}(_0x378e,0xaf3bd));import{Plugin as _0x475de7}from'ckeditor5/src/core.js';import{global as _0x1540bf,DomEmitterMixin as _0x219deb}from'ckeditor5/src/utils.js';import _0x1cd4b2 from'./sessions.js';import{LiveRange as _0x2e7188}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x2042(_0x426837,_0x5234e3){const _0x378e47=_0x378e();return _0x2042=function(_0x20425,_0x514792){_0x20425=_0x20425-0x86;let _0x5a4b06=_0x378e47[_0x20425];return _0x5a4b06;},_0x2042(_0x426837,_0x5234e3);}export default class H extends _0x475de7{constructor(){const _0x6fd22c=_0x2042;super(...arguments),this[_0x6fd22c(0xec)]=new(_0x219deb())();}static get[_0x5e5b73(0xe7)](){return[_0x1cd4b2];}static get[_0x5e5b73(0xae)](){const _0x2ad32b=_0x5e5b73;return _0x2ad32b(0xbc);}[_0x5e5b73(0xa2)](){const _0x59e9ae=_0x5e5b73,_0xdf321c=this[_0x59e9ae(0xcf)],_0x24607e=_0xdf321c[_0x59e9ae(0xb0)][_0x59e9ae(0xfe)](_0x1cd4b2);_0xdf321c[_0x59e9ae(0xaf)][_0x59e9ae(0x94)](_0x59e9ae(0xc4))[_0x59e9ae(0xd6)]({'model':_0x59e9ae(0xc9),'view':(_0x5d54c7,{writer:_0x48d7db})=>function(_0x427861,_0x296dd9,_0x67acf8,_0x1d80d0){const _0xfa8793=_0x59e9ae,_0x162a33=_0x427861[_0xfa8793(0xb1)][_0xfa8793(0xe3)](':')[0x2],_0x2f4709=_0x67acf8[_0xfa8793(0xdd)](_0x162a33);if(!_0x2f4709||_0x162a33===_0x67acf8[_0xfa8793(0xab)])return;if(!_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0x91)][_0xfa8793(0xdb)](_0x427861[_0xfa8793(0xd7)][_0xfa8793(0x9c)],_0xfa8793(0xf9)))return;const _0xc92e23={'class':_0xfa8793(0xa7)+_0x2f4709[_0xfa8793(0xe9)][_0xfa8793(0xf4)](),'data-name':_0x2f4709[_0xfa8793(0x8f)],'data-session-id':_0x162a33},_0x40cfd6=_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0xd2)][_0xfa8793(0xfe)](_0x427861[_0xfa8793(0xb1)]),_0x12494c=_0x40cfd6[_0xfa8793(0x87)](),_0x18f408=_0x12494c[_0xfa8793(0xa3)],_0x2ab7c9=_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0x91)];if(_0x18f408&&_0x2ab7c9[_0xfa8793(0xb2)](_0x18f408)&&_0x2ab7c9[_0xfa8793(0x9f)](_0x18f408)&&!_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0xd2)][_0xfa8793(0xfe)](_0xfa8793(0xcc)+_0x162a33)[_0xfa8793(0xc0)]()[_0xfa8793(0x9b)])return;const _0x445f4e=_0x12494c[_0xfa8793(0xe6)];return _0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0x91)][_0xfa8793(0x9d)](_0x445f4e)&&!_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0xd4)](_0x445f4e)&&(_0xc92e23[_0xfa8793(0x104)]=!0x1),function(_0x464d69,_0x49633c,_0x55c323){const _0x57bc13=_0xfa8793,_0x20320f=_0x464d69[_0x57bc13(0xd3)](_0x57bc13(0xd5),_0x49633c);return _0x464d69[_0x57bc13(0x98)](_0x57bc13(0x107),!0x0,_0x20320f),_0x20320f[_0x57bc13(0x99)]=function(_0x4b7b23){const _0xab8f41=_0x57bc13,_0x4b4942=this[_0xab8f41(0x89)](_0x4b7b23);return _0x4b4942[_0xab8f41(0xa5)]=_0xab8f41(0x96)+_0x55c323[_0xab8f41(0x8f)]+_0xab8f41(0xca),_0x4b4942[_0xab8f41(0xb8)](_0xab8f41(0xc7),()=>{const _0x490998=_0xab8f41;_0x4b4942[_0x490998(0xd9)][_0x490998(0x95)](_0x490998(0xc6));}),_0x4b4942[_0xab8f41(0xb8)](_0xab8f41(0xef),()=>{const _0x3b2425=_0xab8f41;_0x4b4942[_0x3b2425(0xd9)][_0x3b2425(0x103)](_0x3b2425(0xc6));}),_0x4b4942;},_0x20320f[_0x57bc13(0xe4)]=function(_0x35c7e6){const _0x5afd9c=_0x57bc13;return!(!this[_0x5afd9c(0x92)](_0x5afd9c(0x107))||!_0x35c7e6[_0x5afd9c(0x92)](_0x5afd9c(0x107))||this[_0x5afd9c(0xd0)](_0x5afd9c(0xd8))!=_0x35c7e6[_0x5afd9c(0xd0)](_0x5afd9c(0xd8)));},_0x20320f;}(_0x296dd9,_0xc92e23,_0x2f4709);}(_0x5d54c7,_0x48d7db,_0x24607e,_0xdf321c)}),_0xdf321c[_0x59e9ae(0xaf)][_0x59e9ae(0x94)](_0x59e9ae(0xc4))[_0x59e9ae(0xb7)]({'model':_0x59e9ae(0xaa),'view':_0x1e445f=>function(_0x33e307,_0x5c4ce2){const _0x614c1c=_0x59e9ae,_0x35ef39=_0x33e307[_0x614c1c(0xb1)][_0x614c1c(0xe3)](':')[0x2];if(_0x35ef39===_0x5c4ce2[_0x614c1c(0xab)])return null;const _0x18b0ea=_0x5c4ce2[_0x614c1c(0xdd)](_0x35ef39);if(!_0x18b0ea)return{'id':_0x35ef39,'classes':[]};return{'id':_0x35ef39,'classes':[_0x614c1c(0xb5),_0x18b0ea[_0x614c1c(0xe9)][_0x614c1c(0x8d)]()],'attributes':{'data-session-id':_0x35ef39},'priority':0x7d0+_0x18b0ea[_0x614c1c(0x8e)]};}(_0x1e445f,_0x24607e)}),function(_0x457a00){const _0x248754=_0x59e9ae,_0x5ce0af=_0x457a00[_0x248754(0xeb)],_0x465ed4=new Map(),_0x383d3a=_0x457a00[_0x248754(0xb0)][_0x248754(0xfe)](_0x1cd4b2);_0x5ce0af[_0x248754(0xd2)]['on'](_0x248754(0xe0),(_0x54721a,_0x2c41e1,_0x41566e,_0x669d6a)=>{const _0x150dfe=_0x248754;if(!_0x669d6a&&_0x465ed4[_0x150dfe(0xfe)](_0x2c41e1[_0x150dfe(0x8f)]))return _0x465ed4[_0x150dfe(0xfe)](_0x2c41e1[_0x150dfe(0x8f)])[_0x150dfe(0xf3)](),void _0x465ed4[_0x150dfe(0xf7)](_0x2c41e1[_0x150dfe(0x8f)]);const _0x656819=_0x2c41e1[_0x150dfe(0x8f)][_0x150dfe(0xe3)](':')[0x2];if(_0x656819===_0x383d3a[_0x150dfe(0xab)])return;const _0x5869fd=_0x150dfe(0xf5)+_0x656819;_0x5ce0af[_0x150dfe(0xd2)][_0x150dfe(0x106)](_0x5869fd)&&_0x457a00[_0x150dfe(0xad)][_0x150dfe(0x102)](_0x5869fd),_0x2c41e1['on'](_0x150dfe(0xf8),(_0x26e34b,_0x2a3f39,_0x18d9a1)=>{const _0x3e3104=_0x150dfe;if(_0x3e3104(0xe5)!=_0x2a3f39[_0x3e3104(0xb9)][_0x3e3104(0xd1)]&&_0x3e3104(0xe5)==_0x2c41e1[_0x3e3104(0xc0)]()[_0x3e3104(0xb9)][_0x3e3104(0xd1)]&&!_0x465ed4[_0x3e3104(0x106)](_0x2c41e1[_0x3e3104(0x8f)])){const _0x323107=_0x5ce0af[_0x3e3104(0x91)][_0x3e3104(0xff)](_0x18d9a1[_0x3e3104(0xcd)]);if(_0x323107){const _0x1fd567=_0x2e7188[_0x3e3104(0x88)](_0x323107);_0x465ed4[_0x3e3104(0xdf)](_0x2c41e1[_0x3e3104(0x8f)],_0x1fd567),_0x1fd567['on'](_0x3e3104(0xf8),(_0x5b2de3,_0x1d3d4a,_0x3edb42)=>{const _0x2fe016=_0x3e3104;if(_0x2fe016(0xe5)==_0x1fd567[_0x2fe016(0xb9)][_0x2fe016(0xd1)]){const _0xfe9360=_0x5ce0af[_0x2fe016(0x91)][_0x2fe016(0xff)](_0x3edb42[_0x2fe016(0xcd)]);_0xfe9360?(_0x1fd567[_0x2fe016(0x9c)]=_0xfe9360[_0x2fe016(0x9c)],_0x1fd567[_0x2fe016(0xbd)]=_0xfe9360[_0x2fe016(0xbd)]):(_0x465ed4[_0x2fe016(0xf7)](_0x2c41e1[_0x2fe016(0x8f)]),_0x1fd567[_0x2fe016(0xf3)]());}});}}});}),_0x5ce0af[_0x248754(0xba)]['on'](_0x248754(0xce),()=>{const _0x5c46b2=_0x248754;_0x465ed4[_0x5c46b2(0xde)]>0x0&&_0x5ce0af[_0x5c46b2(0xf6)]({'isUndoable':!0x1},_0x4040f7=>{const _0x1e0463=_0x5c46b2;for(const [_0x532e26,_0x3a01e9]of _0x465ed4)_0x1e0463(0xe5)==_0x5ce0af[_0x1e0463(0xd2)][_0x1e0463(0xfe)](_0x532e26)[_0x1e0463(0xc0)]()[_0x1e0463(0xb9)][_0x1e0463(0xd1)]&&(re(_0x532e26[_0x1e0463(0xe3)](':')[0x2],_0x3a01e9[_0x1e0463(0x86)](),_0x5ce0af,_0x4040f7),_0x3a01e9[_0x1e0463(0xf3)]());_0x465ed4[_0x1e0463(0x8a)]();});});}(_0xdf321c),this[_0x59e9ae(0xec)][_0x59e9ae(0xa8)](_0x1540bf[_0x59e9ae(0xba)],_0x59e9ae(0xe8),(_0x3870b0,{key:_0x38777c})=>{const _0x17419a=_0x59e9ae;_0x17419a(0x8c)===_0x38777c&&function(_0x3d5001){const _0x42b822=_0x17419a;_0x3d5001[_0x42b822(0xad)][_0x42b822(0x93)][_0x42b822(0xce)](_0x379686=>{const _0x586c00=_0x42b822;for(const _0xfa3642 of _0x3d5001[_0x586c00(0xeb)][_0x586c00(0xd2)]){if(!_0xfa3642[_0x586c00(0x8f)][_0x586c00(0xea)](_0x586c00(0xc9)))continue;const _0x22138f=_0x3d5001[_0x586c00(0xad)][_0x586c00(0x97)][_0x586c00(0xda)](_0xfa3642[_0x586c00(0x8f)]);if(_0x22138f){for(const _0x25e7e3 of _0x22138f)_0x379686[_0x586c00(0xed)](_0x586c00(0xc6),_0x25e7e3);}}});}(_0xdf321c);},{'useCapture':!0x0});}[_0x5e5b73(0x101)](){const _0x241cd7=_0x5e5b73,_0x4f09f7=this[_0x241cd7(0xcf)],_0x472022=_0x4f09f7[_0x241cd7(0x105)][_0x241cd7(0xfe)](_0x241cd7(0xf0));_0x472022&&_0x4f09f7[_0x241cd7(0xeb)]['on'](_0x241cd7(0xfa),(_0x323992,_0x24791b)=>{const _0x29157b=_0x241cd7,_0x371496=_0x24791b[0x0];if(_0x29157b(0x9a)!=_0x371496[_0x29157b(0xa6)]||!_0x371496[_0x29157b(0x8f)][_0x29157b(0xea)](_0x29157b(0xfd)))return;const _0x586b77=_0x371496[_0x29157b(0xa0)];_0x472022[_0x29157b(0xc5)][_0x29157b(0x106)](_0x586b77)&&(_0x371496[_0x29157b(0xc3)]=_0x371496[_0x29157b(0xbe)]?_0x4f09f7[_0x29157b(0xeb)][_0x29157b(0xbb)](_0x371496[_0x29157b(0xbe)][_0x29157b(0x9c)],_0x371496[_0x29157b(0xbe)][_0x29157b(0xbd)]):null);},{'priority':_0x241cd7(0x9e)});}[_0x5e5b73(0x8b)](){const _0x4ddf60=_0x5e5b73;return this[_0x4ddf60(0xec)][_0x4ddf60(0xa1)](),super[_0x4ddf60(0x8b)]();}[_0x5e5b73(0xc2)](){const _0x36567b=_0x5e5b73,_0x184970=this[_0x36567b(0xcf)],_0x5ba7b3=_0x184970[_0x36567b(0xeb)][_0x36567b(0xba)],_0x4a0c5d=_0x184970[_0x36567b(0xb0)][_0x36567b(0xfe)](_0x1cd4b2);_0x184970[_0x36567b(0xeb)][_0x36567b(0xf6)]({'isUndoable':!0x1},_0x2f4fd0=>{const _0x5c8755=_0x36567b,_0x15eb66=_0x5c8755(0xcc)+_0x4a0c5d[_0x5c8755(0xab)],_0x226c97=_0x5c8755(0xf5)+_0x4a0c5d[_0x5c8755(0xab)],_0x1f7a69=_0x184970[_0x5c8755(0xeb)][_0x5c8755(0xd2)][_0x5c8755(0x106)](_0x15eb66);_0x184970[_0x5c8755(0xad)][_0x5c8755(0x93)][_0x5c8755(0xfc)]?re(_0x4a0c5d[_0x5c8755(0xab)],_0x5ba7b3[_0x5c8755(0xee)][_0x5c8755(0xfb)](),_0x184970[_0x5c8755(0xeb)],_0x2f4fd0):_0x1f7a69&&(_0x2f4fd0[_0x5c8755(0xf1)](_0x15eb66),_0x2f4fd0[_0x5c8755(0xf1)](_0x226c97));});}}function _0x378e(){const _0x5633e1=['destroy','Escape','getSelectionClass','orderNumber','name','element','schema','getCustomProperty','view','for','add','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','mapper','setCustomProperty','render','marker','isCollapsed','start','isLimit','highest','isInline','batch','stopListening','init','nodeAfter','2050wfKGnw','innerHTML','type','ck-user__marker\x20','listenTo','2483118FkbAhF','user:range','mySessionId','getPositions','editing','pluginName','conversion','plugins','markerName','isObject','addMarker','tableCell','ck-user__selection','updateMarker','markerToHighlight','addEventListener','root','document','createRange','UserMarkers','end','oldRange','1777758yVqekr','getRange','243502SCFNtr','createUserMarkerOperations','newRange','editingDowncast','_createdBatches','ck-user__marker_hovered','mouseenter','getContainedElement','user:position','</span>⁠','10728hrWdrr','user:range:','deletionPosition','change','editor','getAttribute','rootName','markers','createUIElement','hasContent','span','markerToElement','markerRange','data-session-id','classList','markerNameToElements','checkChild','8166350YyLiyO','getUserBySessionId','size','set','update:user:range','9WOGaZB','280inntml','split','isSimilar','$graveyard','parent','requires','keydown','color','startsWith','model','_domEmitter','removeClass','selection','mouseleave','undo','removeMarker','2776614KxGmDD','detach','getMarkerClass','user:position:','enqueueChange','delete','change:range','$text','applyOperation','getFirstRange','hasDomSelection','user:','get','getNearestSelectionRange','1kLPQrt','afterInit','reconvertMarker','remove','contenteditable','commands','has','userPositionMarker','4963974UtRxGU','toRange','getStart','fromRange','toDomElement','clear'];_0x378e=function(){return _0x5633e1;};return _0x378e();}function re(_0x2d8701,_0xe93ef4,_0x2ca266,_0x1e5f2f){const _0x46e539=_0x5e5b73,_0x39b55d=_0x46e539(0xcc)+_0x2d8701,_0x15f8ee=_0x46e539(0xf5)+_0x2d8701,_0x11929f=_0xe93ef4[_0x46e539(0xc8)]();let _0x46c020=_0xe93ef4[_0x46e539(0x9c)];_0x11929f&&_0x11929f['is'](_0x46e539(0x90),_0x46e539(0xb4))&&(_0x46c020=function(_0x57325d,_0x3a4eed){const _0x48ba7a=_0x46e539;for(const _0x385b91 of _0x57325d[_0x48ba7a(0xac)]())if(_0x3a4eed[_0x48ba7a(0x91)][_0x48ba7a(0xdb)](_0x385b91,_0x48ba7a(0xf9)))return _0x385b91;}(_0xe93ef4,_0x2ca266),_0xe93ef4=_0x1e5f2f[_0x46e539(0xbb)](_0x46c020));const _0x382a90=_0x1e5f2f[_0x46e539(0xbb)](_0x46c020);_0x2ca266[_0x46e539(0xd2)][_0x46e539(0x106)](_0x39b55d)?(_0x1e5f2f[_0x46e539(0xb6)](_0x39b55d,{'range':_0xe93ef4}),_0x1e5f2f[_0x46e539(0xb6)](_0x15f8ee,{'range':_0x382a90})):(_0x1e5f2f[_0x46e539(0xb3)](_0x39b55d,{'range':_0xe93ef4,'usingOperation':!0x0}),_0x1e5f2f[_0x46e539(0xb3)](_0x15f8ee,{'range':_0x382a90,'usingOperation':!0x0}));}
23
+ function _0x123b(){const _0x75da01=['enqueueChange','model','has','checkChild','373667fQjRjD','mouseleave','schema','tableCell','keydown','</span>⁠','ck-user__selection','stopListening','for','update:user:range','16NNMkmY','get','oldRange','document','mouseenter','editing','split','user:','getRange','880857LpdyHM','1651900QtcMps','markerToHighlight','9038gBKOyd','marker','ck-user__marker\x20','render','selection','user:position','plugins','getCustomProperty','add','48oacmuz','applyOperation','hasDomSelection','getPositions','ck-user__marker_hovered','isInline','5148EBoDYj','editor','getSelectionClass','innerHTML','markerName','$graveyard','getUserBySessionId','getFirstRange','64NfUoLR','data-session-id','destroy','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','getNearestSelectionRange','26421GvWGHN','user:range','createUserMarkerOperations','hasContent','createRange','contenteditable','type','span','2196AXrtRr','rootName','isLimit','reconvertMarker','root','markerRange','parent','getAttribute','clear','set','76295JZiaAJ','classList','_domEmitter','change','removeMarker','orderNumber','fromRange','name','getContainedElement','markerToElement','isOfficialPlugin','_createdBatches','isSimilar','toDomElement','view','newRange','isPremiumPlugin','editingDowncast','batch','addMarker','setCustomProperty','start','markerNameToElements','user:position:','element','createUIElement','color','change:range','init','user:range:','size','requires','detach','isCollapsed','userPositionMarker','mapper','afterInit','pluginName','Escape','delete','nodeAfter','undo','isObject','end','UserMarkers','getMarkerClass','startsWith','mySessionId','markers','updateMarker','conversion','addEventListener','deletionPosition','removeClass','getStart','listenTo','41Ejrpsv','commands','remove','$text','highest','toRange'];_0x123b=function(){return _0x75da01;};return _0x123b();}const _0x6bcf95=_0x35a7;function _0x35a7(_0x56170e,_0x49bf1a){const _0x123b2b=_0x123b();return _0x35a7=function(_0x35a710,_0x46548f){_0x35a710=_0x35a710-0xae;let _0xf11182=_0x123b2b[_0x35a710];return _0xf11182;},_0x35a7(_0x56170e,_0x49bf1a);}(function(_0x1d39c4,_0x452a03){const _0x514856=_0x35a7,_0x307883=_0x1d39c4();while(!![]){try{const _0x131d39=parseInt(_0x514856(0xe2))/0x1*(parseInt(_0x514856(0x102))/0x2)+parseInt(_0x514856(0x11e))/0x3*(parseInt(_0x514856(0x119))/0x4)+-parseInt(_0x514856(0x130))/0x5*(-parseInt(_0x514856(0x10b))/0x6)+-parseInt(_0x514856(0xec))/0x7+parseInt(_0x514856(0xf6))/0x8*(-parseInt(_0x514856(0xff))/0x9)+-parseInt(_0x514856(0x100))/0xa+-parseInt(_0x514856(0x111))/0xb*(-parseInt(_0x514856(0x126))/0xc);if(_0x131d39===_0x452a03)break;else _0x307883['push'](_0x307883['shift']());}catch(_0x5407b0){_0x307883['push'](_0x307883['shift']());}}}(_0x123b,0x1d326));import{Plugin as _0x11d522}from'ckeditor5/src/core.js';import{global as _0x5f2764,DomEmitterMixin as _0x2b22a8}from'ckeditor5/src/utils.js';import _0x53ec42 from'./sessions.js';import{LiveRange as _0x517d65}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x11d522{constructor(){const _0x350672=_0x35a7;super(...arguments),this[_0x350672(0x132)]=new(_0x2b22a8())();}static get[_0x6bcf95(0xc9)](){return[_0x53ec42];}static get[_0x6bcf95(0xcf)](){const _0xa9a6ac=_0x6bcf95;return _0xa9a6ac(0xd6);}static get[_0x6bcf95(0xb4)](){return!0x0;}static get[_0x6bcf95(0xba)](){return!0x0;}[_0x6bcf95(0xc6)](){const _0x2ec0c3=_0x6bcf95,_0x577704=this[_0x2ec0c3(0x112)],_0x50f6f8=_0x577704[_0x2ec0c3(0x108)][_0x2ec0c3(0xf7)](_0x53ec42);_0x577704[_0x2ec0c3(0xdc)][_0x2ec0c3(0xf4)](_0x2ec0c3(0xbb))[_0x2ec0c3(0xb3)]({'model':_0x2ec0c3(0x107),'view':(_0x3bd704,{writer:_0x494373})=>function(_0x3c1d3e,_0x2a4356,_0xa3025c,_0x37c7b5){const _0x4f41a7=_0x2ec0c3,_0x271f5d=_0x3c1d3e[_0x4f41a7(0x115)][_0x4f41a7(0xfc)](':')[0x2],_0x31f82c=_0xa3025c[_0x4f41a7(0x117)](_0x271f5d);if(!_0x31f82c||_0x271f5d===_0xa3025c[_0x4f41a7(0xd9)])return;if(!_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xee)][_0x4f41a7(0xeb)](_0x3c1d3e[_0x4f41a7(0x12b)][_0x4f41a7(0xbf)],_0x4f41a7(0xe5)))return;const _0x8a2434={'class':_0x4f41a7(0x104)+_0x31f82c[_0x4f41a7(0xc4)][_0x4f41a7(0xd7)](),'data-name':_0x31f82c[_0x4f41a7(0xb1)],'data-session-id':_0x271f5d},_0x186c24=_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xda)][_0x4f41a7(0xf7)](_0x3c1d3e[_0x4f41a7(0x115)]),_0x2d2bc5=_0x186c24[_0x4f41a7(0xe0)](),_0x16f7f9=_0x2d2bc5[_0x4f41a7(0xd2)],_0x5dd51f=_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xee)];if(_0x16f7f9&&_0x5dd51f[_0x4f41a7(0xd4)](_0x16f7f9)&&_0x5dd51f[_0x4f41a7(0x110)](_0x16f7f9)&&!_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xda)][_0x4f41a7(0xf7)](_0x4f41a7(0xc7)+_0x271f5d)[_0x4f41a7(0xfe)]()[_0x4f41a7(0xcb)])return;const _0x3fde68=_0x2d2bc5[_0x4f41a7(0x12c)];return _0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xee)][_0x4f41a7(0x128)](_0x3fde68)&&!_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0x121)](_0x3fde68)&&(_0x8a2434[_0x4f41a7(0x123)]=!0x1),function(_0x54b664,_0x24b6c2,_0xa6dee0){const _0x33709f=_0x4f41a7,_0x765f48=_0x54b664[_0x33709f(0xc3)](_0x33709f(0x125),_0x24b6c2);return _0x54b664[_0x33709f(0xbe)](_0x33709f(0xcc),!0x0,_0x765f48),_0x765f48[_0x33709f(0x105)]=function(_0x459749){const _0x4dca8f=_0x33709f,_0xdcd7da=this[_0x4dca8f(0xb7)](_0x459749);return _0xdcd7da[_0x4dca8f(0x114)]=_0x4dca8f(0x11c)+_0xa6dee0[_0x4dca8f(0xb1)]+_0x4dca8f(0xf1),_0xdcd7da[_0x4dca8f(0xdd)](_0x4dca8f(0xfa),()=>{const _0x239a15=_0x4dca8f;_0xdcd7da[_0x239a15(0x131)][_0x239a15(0x10a)](_0x239a15(0x10f));}),_0xdcd7da[_0x4dca8f(0xdd)](_0x4dca8f(0xed),()=>{const _0x1b038e=_0x4dca8f;_0xdcd7da[_0x1b038e(0x131)][_0x1b038e(0xe4)](_0x1b038e(0x10f));}),_0xdcd7da;},_0x765f48[_0x33709f(0xb6)]=function(_0x2f6a41){const _0x53725b=_0x33709f;return!(!this[_0x53725b(0x109)](_0x53725b(0xcc))||!_0x2f6a41[_0x53725b(0x109)](_0x53725b(0xcc))||this[_0x53725b(0x12d)](_0x53725b(0x11a))!=_0x2f6a41[_0x53725b(0x12d)](_0x53725b(0x11a)));},_0x765f48;}(_0x2a4356,_0x8a2434,_0x31f82c);}(_0x3bd704,_0x494373,_0x50f6f8,_0x577704)}),_0x577704[_0x2ec0c3(0xdc)][_0x2ec0c3(0xf4)](_0x2ec0c3(0xbb))[_0x2ec0c3(0x101)]({'model':_0x2ec0c3(0x11f),'view':_0x51d53a=>function(_0x5928cf,_0x3d88d2){const _0x473454=_0x2ec0c3,_0x35e108=_0x5928cf[_0x473454(0x115)][_0x473454(0xfc)](':')[0x2];if(_0x35e108===_0x3d88d2[_0x473454(0xd9)])return null;const _0x22e37c=_0x3d88d2[_0x473454(0x117)](_0x35e108);if(!_0x22e37c)return{'id':_0x35e108,'classes':[]};return{'id':_0x35e108,'classes':[_0x473454(0xf2),_0x22e37c[_0x473454(0xc4)][_0x473454(0x113)]()],'attributes':{'data-session-id':_0x35e108},'priority':0x7d0+_0x22e37c[_0x473454(0xaf)]};}(_0x51d53a,_0x50f6f8)}),function(_0x170400){const _0x1759cc=_0x2ec0c3,_0x5ad33a=_0x170400[_0x1759cc(0xe9)],_0x4c3022=new Map(),_0xc2d3a0=_0x170400[_0x1759cc(0x108)][_0x1759cc(0xf7)](_0x53ec42);_0x5ad33a[_0x1759cc(0xda)]['on'](_0x1759cc(0xf5),(_0x181aee,_0x4e7e2b,_0x245330,_0x33b468)=>{const _0x127de9=_0x1759cc;if(!_0x33b468&&_0x4c3022[_0x127de9(0xf7)](_0x4e7e2b[_0x127de9(0xb1)]))return _0x4c3022[_0x127de9(0xf7)](_0x4e7e2b[_0x127de9(0xb1)])[_0x127de9(0xca)](),void _0x4c3022[_0x127de9(0xd1)](_0x4e7e2b[_0x127de9(0xb1)]);const _0x5d13e0=_0x4e7e2b[_0x127de9(0xb1)][_0x127de9(0xfc)](':')[0x2];if(_0x5d13e0===_0xc2d3a0[_0x127de9(0xd9)])return;const _0x3393e9=_0x127de9(0xc1)+_0x5d13e0;_0x5ad33a[_0x127de9(0xda)][_0x127de9(0xea)](_0x3393e9)&&_0x170400[_0x127de9(0xfb)][_0x127de9(0x129)](_0x3393e9),_0x4e7e2b['on'](_0x127de9(0xc5),(_0x3e0d82,_0x29e299,_0x456a3c)=>{const _0x1b9734=_0x127de9;if(_0x1b9734(0x116)!=_0x29e299[_0x1b9734(0x12a)][_0x1b9734(0x127)]&&_0x1b9734(0x116)==_0x4e7e2b[_0x1b9734(0xfe)]()[_0x1b9734(0x12a)][_0x1b9734(0x127)]&&!_0x4c3022[_0x1b9734(0xea)](_0x4e7e2b[_0x1b9734(0xb1)])){const _0x57d9f1=_0x5ad33a[_0x1b9734(0xee)][_0x1b9734(0x11d)](_0x456a3c[_0x1b9734(0xde)]);if(_0x57d9f1){const _0x5d00a0=_0x517d65[_0x1b9734(0xb0)](_0x57d9f1);_0x4c3022[_0x1b9734(0x12f)](_0x4e7e2b[_0x1b9734(0xb1)],_0x5d00a0),_0x5d00a0['on'](_0x1b9734(0xc5),(_0x46da51,_0x46f537,_0x3c23a1)=>{const _0x366535=_0x1b9734;if(_0x366535(0x116)==_0x5d00a0[_0x366535(0x12a)][_0x366535(0x127)]){const _0x24b989=_0x5ad33a[_0x366535(0xee)][_0x366535(0x11d)](_0x3c23a1[_0x366535(0xde)]);_0x24b989?(_0x5d00a0[_0x366535(0xbf)]=_0x24b989[_0x366535(0xbf)],_0x5d00a0[_0x366535(0xd5)]=_0x24b989[_0x366535(0xd5)]):(_0x4c3022[_0x366535(0xd1)](_0x4e7e2b[_0x366535(0xb1)]),_0x5d00a0[_0x366535(0xca)]());}});}}});}),_0x5ad33a[_0x1759cc(0xf9)]['on'](_0x1759cc(0x133),()=>{const _0x11ae11=_0x1759cc;_0x4c3022[_0x11ae11(0xc8)]>0x0&&_0x5ad33a[_0x11ae11(0xe8)]({'isUndoable':!0x1},_0x48bccd=>{const _0x3274b3=_0x11ae11;for(const [_0x2fecdb,_0x353641]of _0x4c3022)_0x3274b3(0x116)==_0x5ad33a[_0x3274b3(0xda)][_0x3274b3(0xf7)](_0x2fecdb)[_0x3274b3(0xfe)]()[_0x3274b3(0x12a)][_0x3274b3(0x127)]&&(G(_0x2fecdb[_0x3274b3(0xfc)](':')[0x2],_0x353641[_0x3274b3(0xe7)](),_0x5ad33a,_0x48bccd),_0x353641[_0x3274b3(0xca)]());_0x4c3022[_0x3274b3(0x12e)]();});});}(_0x577704),this[_0x2ec0c3(0x132)][_0x2ec0c3(0xe1)](_0x5f2764[_0x2ec0c3(0xf9)],_0x2ec0c3(0xf0),(_0x3c2a9f,{key:_0x7cc92f})=>{const _0x3451c7=_0x2ec0c3;_0x3451c7(0xd0)===_0x7cc92f&&function(_0x1931a6){const _0x2b1b12=_0x3451c7;_0x1931a6[_0x2b1b12(0xfb)][_0x2b1b12(0xb8)][_0x2b1b12(0x133)](_0x47d397=>{const _0x5abd6c=_0x2b1b12;for(const _0x237732 of _0x1931a6[_0x5abd6c(0xe9)][_0x5abd6c(0xda)]){if(!_0x237732[_0x5abd6c(0xb1)][_0x5abd6c(0xd8)](_0x5abd6c(0x107)))continue;const _0x5b49bb=_0x1931a6[_0x5abd6c(0xfb)][_0x5abd6c(0xcd)][_0x5abd6c(0xc0)](_0x237732[_0x5abd6c(0xb1)]);if(_0x5b49bb){for(const _0x299f48 of _0x5b49bb)_0x47d397[_0x5abd6c(0xdf)](_0x5abd6c(0x10f),_0x299f48);}}});}(_0x577704);},{'useCapture':!0x0});}[_0x6bcf95(0xce)](){const _0x11d3bf=_0x6bcf95,_0x594f30=this[_0x11d3bf(0x112)],_0x36dc23=_0x594f30[_0x11d3bf(0xe3)][_0x11d3bf(0xf7)](_0x11d3bf(0xd3));_0x36dc23&&_0x594f30[_0x11d3bf(0xe9)]['on'](_0x11d3bf(0x10c),(_0x4e7e27,_0x46a47d)=>{const _0x309ae5=_0x11d3bf,_0x25311a=_0x46a47d[0x0];if(_0x309ae5(0x103)!=_0x25311a[_0x309ae5(0x124)]||!_0x25311a[_0x309ae5(0xb1)][_0x309ae5(0xd8)](_0x309ae5(0xfd)))return;const _0x544378=_0x25311a[_0x309ae5(0xbc)];_0x36dc23[_0x309ae5(0xb5)][_0x309ae5(0xea)](_0x544378)&&(_0x25311a[_0x309ae5(0xb9)]=_0x25311a[_0x309ae5(0xf8)]?_0x594f30[_0x309ae5(0xe9)][_0x309ae5(0x122)](_0x25311a[_0x309ae5(0xf8)][_0x309ae5(0xbf)],_0x25311a[_0x309ae5(0xf8)][_0x309ae5(0xd5)]):null);},{'priority':_0x11d3bf(0xe6)});}[_0x6bcf95(0x11b)](){const _0x4bd731=_0x6bcf95;return this[_0x4bd731(0x132)][_0x4bd731(0xf3)](),super[_0x4bd731(0x11b)]();}[_0x6bcf95(0x120)](){const _0x8f92cf=_0x6bcf95,_0x68f0e0=this[_0x8f92cf(0x112)],_0x46d3bf=_0x68f0e0[_0x8f92cf(0xe9)][_0x8f92cf(0xf9)],_0x2bafc1=_0x68f0e0[_0x8f92cf(0x108)][_0x8f92cf(0xf7)](_0x53ec42);_0x68f0e0[_0x8f92cf(0xe9)][_0x8f92cf(0xe8)]({'isUndoable':!0x1},_0xa714a1=>{const _0xebde83=_0x8f92cf,_0x15a2f9=_0xebde83(0xc7)+_0x2bafc1[_0xebde83(0xd9)],_0x4c1c64=_0xebde83(0xc1)+_0x2bafc1[_0xebde83(0xd9)],_0xd65c4b=_0x68f0e0[_0xebde83(0xe9)][_0xebde83(0xda)][_0xebde83(0xea)](_0x15a2f9);_0x68f0e0[_0xebde83(0xfb)][_0xebde83(0xb8)][_0xebde83(0x10d)]?G(_0x2bafc1[_0xebde83(0xd9)],_0x46d3bf[_0xebde83(0x106)][_0xebde83(0x118)](),_0x68f0e0[_0xebde83(0xe9)],_0xa714a1):_0xd65c4b&&(_0xa714a1[_0xebde83(0xae)](_0x15a2f9),_0xa714a1[_0xebde83(0xae)](_0x4c1c64));});}}function G(_0x5e1363,_0x447932,_0x59fc09,_0x35e2bf){const _0x160d0b=_0x6bcf95,_0x3c3e9d=_0x160d0b(0xc7)+_0x5e1363,_0x1cb368=_0x160d0b(0xc1)+_0x5e1363,_0x4de600=_0x447932[_0x160d0b(0xb2)]();let _0x4902f1=_0x447932[_0x160d0b(0xbf)];_0x4de600&&_0x4de600['is'](_0x160d0b(0xc2),_0x160d0b(0xef))&&(_0x4902f1=function(_0x19bada,_0x5e9a12){const _0x2cbe9a=_0x160d0b;for(const _0x3a470c of _0x19bada[_0x2cbe9a(0x10e)]())if(_0x5e9a12[_0x2cbe9a(0xee)][_0x2cbe9a(0xeb)](_0x3a470c,_0x2cbe9a(0xe5)))return _0x3a470c;}(_0x447932,_0x59fc09),_0x447932=_0x35e2bf[_0x160d0b(0x122)](_0x4902f1));const _0x4ee659=_0x35e2bf[_0x160d0b(0x122)](_0x4902f1);_0x59fc09[_0x160d0b(0xda)][_0x160d0b(0xea)](_0x3c3e9d)?(_0x35e2bf[_0x160d0b(0xdb)](_0x3c3e9d,{'range':_0x447932}),_0x35e2bf[_0x160d0b(0xdb)](_0x1cb368,{'range':_0x4ee659})):(_0x35e2bf[_0x160d0b(0xbd)](_0x3c3e9d,{'range':_0x447932,'usingOperation':!0x0}),_0x35e2bf[_0x160d0b(0xbd)](_0x1cb368,{'range':_0x4ee659,'usingOperation':!0x0}));}
@@ -24,6 +24,14 @@ export default class WebSocketGateway extends ContextPlugin {
24
24
  * @inheritDoc
25
25
  */
26
26
  static get pluginName(): "WebSocketGateway";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get isPremiumPlugin(): true;
27
35
  constructor(context: Editor | Context);
28
36
  /**
29
37
  * @inheritDoc
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c675b=_0x266e;(function(_0x40b853,_0x555b27){const _0x35f8b5=_0x266e,_0x54a74f=_0x40b853();while(!![]){try{const _0x42a37f=-parseInt(_0x35f8b5(0x1af))/0x1+-parseInt(_0x35f8b5(0x192))/0x2+-parseInt(_0x35f8b5(0x19c))/0x3+-parseInt(_0x35f8b5(0x1bb))/0x4*(-parseInt(_0x35f8b5(0x1c6))/0x5)+-parseInt(_0x35f8b5(0x1b6))/0x6+parseInt(_0x35f8b5(0x18c))/0x7+-parseInt(_0x35f8b5(0x1c4))/0x8*(-parseInt(_0x35f8b5(0x186))/0x9);if(_0x42a37f===_0x555b27)break;else _0x54a74f['push'](_0x54a74f['shift']());}catch(_0x4499c3){_0x54a74f['push'](_0x54a74f['shift']());}}}(_0x45c1,0x354dd));import{ContextPlugin as _0x1e9d9e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xfbfc75,CKEditorError as _0x40f72d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x533dd4,WEB_SOCKET_GATEWAY_STATES as _0x18b82e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1a6870}from'ckeditor5/src/ui.js';function _0x266e(_0x54bbc0,_0x5f2be5){const _0x45c1a1=_0x45c1();return _0x266e=function(_0x266ed9,_0x406981){_0x266ed9=_0x266ed9-0x182;let _0x54dba=_0x45c1a1[_0x266ed9];return _0x54dba;},_0x266e(_0x54bbc0,_0x5f2be5);}class c extends _0x1e9d9e{static get[_0x3c675b(0x1a1)](){const _0x59af0f=_0x3c675b;return[_0x59af0f(0x194),_0x1a6870];}static get[_0x3c675b(0x1ba)](){const _0x1c09f9=_0x3c675b;return _0x1c09f9(0x188);}constructor(_0x92b895){const _0x7ac892=_0x3c675b;super(_0x92b895),this[_0x7ac892(0x187)](_0x7ac892(0x1ae),_0x18b82e[_0x7ac892(0x185)]),this[_0x7ac892(0x187)](_0x7ac892(0x199),!0x1),this[_0x7ac892(0x1b4)]=new Set(),this[_0x7ac892(0x1c2)]=!0x1,this[_0x7ac892(0x1aa)]=Object[_0x7ac892(0x189)](_0xfbfc75);}[_0x3c675b(0x191)](){const _0x306a8a=_0x3c675b,_0x1aa0b4=this[_0x306a8a(0x1b9)],_0xbdc99c=_0x1aa0b4[_0x306a8a(0x1b2)][_0x306a8a(0x197)](_0x306a8a(0x194)),_0x6bf76=_0x1aa0b4[_0x306a8a(0x1b2)][_0x306a8a(0x197)](_0x1a6870);if(!_0xbdc99c[_0x306a8a(0x18a)])throw new _0x40f72d(_0x306a8a(0x1c5),this);if(!_0xbdc99c[_0x306a8a(0x196)])throw new _0x40f72d(_0x306a8a(0x1a2),this);return this[_0x306a8a(0x1aa)][_0x306a8a(0x184)](window,_0x306a8a(0x183),()=>this[_0x306a8a(0x199)]=!0x0),this[_0x306a8a(0x1aa)][_0x306a8a(0x184)](window,_0x306a8a(0x1a3),()=>this[_0x306a8a(0x199)]=!0x1),this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x1bd)](_0x306a8a(0x19b),0xa),this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x1bd)](_0x306a8a(0x1b5),0x14),c[_0x306a8a(0x188)][_0x306a8a(0x18b)](_0xbdc99c[_0x306a8a(0x18a)],_0xbdc99c[_0x306a8a(0x196)],{'timeout':0x3e8*this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x197)](_0x306a8a(0x19b)),'requestTimeout':0x3e8*this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x197)](_0x306a8a(0x1b5))})[_0x306a8a(0x198)](_0x4d0b95=>{const _0x50d0e5=_0x306a8a;if(this[_0x50d0e5(0x1c1)]=_0x4d0b95,this[_0x50d0e5(0x18e)](_0x50d0e5(0x1ae))['to'](_0x4d0b95,_0x50d0e5(0x1ae),this,_0x50d0e5(0x199),(_0x1a87c0,_0x28002b)=>(_0x50d0e5(0x182)!==_0x1a87c0&&(this[_0x50d0e5(0x1c2)]=!0x0),_0x28002b||_0x1a87c0!==_0x18b82e[_0x50d0e5(0x185)]?_0x18b82e[_0x50d0e5(0x19f)]:this[_0x50d0e5(0x1ae)]==_0x18b82e[_0x50d0e5(0x19f)]&&this[_0x50d0e5(0x1c2)]?(this[_0x50d0e5(0x1c2)]=!0x1,this[_0x50d0e5(0x195)](),_0x18b82e[_0x50d0e5(0x1b3)]):_0x18b82e[_0x50d0e5(0x185)])),this[_0x50d0e5(0x1c1)]['on'](_0x50d0e5(0x190),(_0x5d90f6,_0x5f264e)=>{const _0xee69e=_0x50d0e5;if(_0xee69e(0x18f)!==_0x5f264e[_0xee69e(0x1a5)])throw console[_0xee69e(0x190)](_0x5f264e),new _0x40f72d(_0xee69e(0x1b0),null,{'originalError':_0x5f264e});_0x6bf76[_0xee69e(0x1a9)](_0xee69e(0x19a),{'title':_0xee69e(0x1c0),'namespace':_0xee69e(0x1b1)});}),!_0x4d0b95['me'])return new Promise(_0xae0378=>_0x4d0b95['on'](_0x50d0e5(0x1ab),_0xae0378));})[_0x306a8a(0x1be)](_0x45bb0d=>{const _0x10917c=_0x306a8a;throw console[_0x10917c(0x190)](_0x45bb0d),new _0x40f72d(_0x10917c(0x1b0),null,{'originalError':_0x45bb0d});});}[_0x3c675b(0x1bc)](_0x4c4bca){const _0x2dc4ac=_0x3c675b;if(_0x2dc4ac(0x1ac)!=typeof _0x4c4bca[_0x2dc4ac(0x1ad)])throw new _0x40f72d(_0x2dc4ac(0x1c8),this);if(this[_0x2dc4ac(0x1c7)](_0x4c4bca))throw new _0x40f72d(_0x2dc4ac(0x19e),this,{'name':_0x4c4bca[_0x2dc4ac(0x1bf)][_0x2dc4ac(0x1ba)]});this[_0x2dc4ac(0x1b4)][_0x2dc4ac(0x193)](_0x4c4bca);}[_0x3c675b(0x1a4)](_0x55003a){const _0x1edb71=_0x3c675b;this[_0x1edb71(0x1b4)][_0x1edb71(0x1c9)](_0x55003a);}[_0x3c675b(0x1c7)](_0x4b6ced){const _0x3f7d8f=_0x3c675b;return this[_0x3f7d8f(0x1b4)][_0x3f7d8f(0x1b8)](_0x4b6ced);}[_0x3c675b(0x195)](){const _0x20c50f=_0x3c675b;return this[_0x20c50f(0x1c1)][_0x20c50f(0x1ad)]()[_0x20c50f(0x198)](()=>Promise[_0x20c50f(0x1a7)](Array[_0x20c50f(0x1a0)](this[_0x20c50f(0x1b4)],_0x12f093=>_0x12f093[_0x20c50f(0x1ad)]())))[_0x20c50f(0x198)](()=>this[_0x20c50f(0x1ae)]=_0x18b82e[_0x20c50f(0x185)])[_0x20c50f(0x1be)](_0x17ccc9=>{const _0x76afaa=_0x20c50f;throw console[_0x76afaa(0x190)](_0x17ccc9),new _0x40f72d(_0x76afaa(0x1a8),this[_0x76afaa(0x1b9)]);});}[_0x3c675b(0x19d)](){const _0x59079d=_0x3c675b;this[_0x59079d(0x1c1)]&&this[_0x59079d(0x1c1)][_0x59079d(0x1a6)](),this[_0x59079d(0x1ae)]=_0x18b82e[_0x59079d(0x19f)],this[_0x59079d(0x1aa)][_0x59079d(0x1b7)](),super[_0x59079d(0x19d)]();}}c[_0x3c675b(0x188)]=_0x533dd4,c[_0x3c675b(0x18d)]=0x3e8;export default c;function _0x45c1(){const _0xbab9f=['cloudservices-reconnection-error','showWarning','_domEmitter','change:me','function','reconnect','state','404287jkhVCq','cloudservices-init','real-time-collaboration','plugins','CONNECTING','_reconnectionStack','cloudServices.requestTimeout','1142052IjizTy','stopListening','has','context','pluginName','4XbXcEK','addToReconnectionStack','define','catch','constructor','Connected\x20users\x20limit\x20exceeded','connection','_shouldPluginsReconnect','config','410008HUCPwa','websocketgateway-missing-token','1103680GnIrVb','isInReconnectionStack','websocketgateway-invalid-plugin-interface','delete','connected','offline','listenTo','CONNECTED','99OuYCKe','set','WebSocketGateway','create','token','connect','631638idhIpx','initialReconnectionInterval','bind','limitExceeded','error','init','5630IWSpmP','add','CloudServices','_reconnect','webSocketUrl','get','then','_isBrowserOffline','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','cloudServices.connectionTimeout','176862mKaayK','destroy','websocketgateway-plugin-already-registered','DISCONNECTED','from','requires','websocketgateway-missing-websocket-url','online','removeFromReconnectionStack','code','disconnect','all'];_0x45c1=function(){return _0xbab9f;};return _0x45c1();}
23
+ const _0x3f02d6=_0x5e6c;(function(_0x2da892,_0x5c27ed){const _0x292d1c=_0x5e6c,_0x17523f=_0x2da892();while(!![]){try{const _0x30bbb9=-parseInt(_0x292d1c(0x14f))/0x1*(parseInt(_0x292d1c(0x18e))/0x2)+-parseInt(_0x292d1c(0x176))/0x3*(parseInt(_0x292d1c(0x15e))/0x4)+parseInt(_0x292d1c(0x182))/0x5+-parseInt(_0x292d1c(0x152))/0x6+parseInt(_0x292d1c(0x163))/0x7+parseInt(_0x292d1c(0x154))/0x8*(parseInt(_0x292d1c(0x172))/0x9)+-parseInt(_0x292d1c(0x17e))/0xa*(-parseInt(_0x292d1c(0x168))/0xb);if(_0x30bbb9===_0x5c27ed)break;else _0x17523f['push'](_0x17523f['shift']());}catch(_0x5bbca5){_0x17523f['push'](_0x17523f['shift']());}}}(_0x3134,0xa4efc));import{ContextPlugin as _0xddb2dc}from'ckeditor5/src/core.js';function _0x3134(){const _0x139021=['removeFromReconnectionStack','667997bqfKPV','webSocketUrl','destroy','then','token','from','limitExceeded','error','_reconnectionStack','websocketgateway-invalid-plugin-interface','4223061JMSgsd','function','real-time-collaboration','code','3PaFyXf','_reconnect','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','has','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','config','requires','290OoozxG','create','bind','addToReconnectionStack','2373840FmMnHy','delete','catch','_shouldPluginsReconnect','offline','state','isOfficialPlugin','isInReconnectionStack','change:me','cloudservices-reconnection-error','_domEmitter','cloudServices.connectionTimeout','5122cZMesg','add','CONNECTED','websocketgateway-missing-websocket-url','connect','_isBrowserOffline','context','showWarning','online','listenTo','connection','websocketgateway-plugin-already-registered','disconnect','397etJjGa','constructor','DISCONNECTED','4985964YszNIe','reconnect','16lpcEiw','set','cloudServices.requestTimeout','initialReconnectionInterval','isPremiumPlugin','CONNECTING','define','get','init','WebSocketGateway','4935632esMCtE','CloudServices','cloudservices-init','all','stopListening','4080230jBbHcJ','connected','plugins','pluginName'];_0x3134=function(){return _0x139021;};return _0x3134();}import{DomEmitterMixin as _0x4a8ef2,CKEditorError as _0x91be00}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1de241,WEB_SOCKET_GATEWAY_STATES as _0x1cab77}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5e6c(_0x1aa1c2,_0x273327){const _0x3134d4=_0x3134();return _0x5e6c=function(_0x5e6cac,_0x5b61b4){_0x5e6cac=_0x5e6cac-0x14c;let _0x3bd50a=_0x3134d4[_0x5e6cac];return _0x3bd50a;},_0x5e6c(_0x1aa1c2,_0x273327);}import{Notification as _0x3e6dfe}from'ckeditor5/src/ui.js';class c extends _0xddb2dc{static get[_0x3f02d6(0x17d)](){const _0x48e766=_0x3f02d6;return[_0x48e766(0x15f),_0x3e6dfe];}static get[_0x3f02d6(0x166)](){const _0x26e86b=_0x3f02d6;return _0x26e86b(0x15d);}static get[_0x3f02d6(0x188)](){return!0x0;}static get[_0x3f02d6(0x158)](){return!0x0;}constructor(_0x10acf3){const _0x3b4c3d=_0x3f02d6;super(_0x10acf3),this[_0x3b4c3d(0x155)](_0x3b4c3d(0x187),_0x1cab77[_0x3b4c3d(0x190)]),this[_0x3b4c3d(0x155)](_0x3b4c3d(0x193),!0x1),this[_0x3b4c3d(0x170)]=new Set(),this[_0x3b4c3d(0x185)]=!0x1,this[_0x3b4c3d(0x18c)]=Object[_0x3b4c3d(0x17f)](_0x4a8ef2);}[_0x3f02d6(0x15c)](){const _0x252995=_0x3f02d6,_0xae16c1=this[_0x252995(0x194)],_0x1e6ad0=_0xae16c1[_0x252995(0x165)][_0x252995(0x15b)](_0x252995(0x15f)),_0x5c6e63=_0xae16c1[_0x252995(0x165)][_0x252995(0x15b)](_0x3e6dfe);if(!_0x1e6ad0[_0x252995(0x16c)])throw new _0x91be00(_0x252995(0x179),this);if(!_0x1e6ad0[_0x252995(0x169)])throw new _0x91be00(_0x252995(0x191),this);return this[_0x252995(0x18c)][_0x252995(0x197)](window,_0x252995(0x186),()=>this[_0x252995(0x193)]=!0x0),this[_0x252995(0x18c)][_0x252995(0x197)](window,_0x252995(0x196),()=>this[_0x252995(0x193)]=!0x1),this[_0x252995(0x194)][_0x252995(0x17c)][_0x252995(0x15a)](_0x252995(0x18d),0xa),this[_0x252995(0x194)][_0x252995(0x17c)][_0x252995(0x15a)](_0x252995(0x156),0x14),c[_0x252995(0x15d)][_0x252995(0x192)](_0x1e6ad0[_0x252995(0x16c)],_0x1e6ad0[_0x252995(0x169)],{'timeout':0x3e8*this[_0x252995(0x194)][_0x252995(0x17c)][_0x252995(0x15b)](_0x252995(0x18d)),'requestTimeout':0x3e8*this[_0x252995(0x194)][_0x252995(0x17c)][_0x252995(0x15b)](_0x252995(0x156))})[_0x252995(0x16b)](_0x3d5e69=>{const _0x556b98=_0x252995;if(this[_0x556b98(0x14c)]=_0x3d5e69,this[_0x556b98(0x180)](_0x556b98(0x187))['to'](_0x3d5e69,_0x556b98(0x187),this,_0x556b98(0x193),(_0x678745,_0x56989f)=>(_0x556b98(0x164)!==_0x678745&&(this[_0x556b98(0x185)]=!0x0),_0x56989f||_0x678745!==_0x1cab77[_0x556b98(0x190)]?_0x1cab77[_0x556b98(0x151)]:this[_0x556b98(0x187)]==_0x1cab77[_0x556b98(0x151)]&&this[_0x556b98(0x185)]?(this[_0x556b98(0x185)]=!0x1,this[_0x556b98(0x177)](),_0x1cab77[_0x556b98(0x159)]):_0x1cab77[_0x556b98(0x190)])),this[_0x556b98(0x14c)]['on'](_0x556b98(0x16f),(_0x29ead8,_0x57651c)=>{const _0x57be7e=_0x556b98;if(_0x57be7e(0x16e)!==_0x57651c[_0x57be7e(0x175)])throw console[_0x57be7e(0x16f)](_0x57651c),new _0x91be00(_0x57be7e(0x160),null,{'originalError':_0x57651c});_0x5c6e63[_0x57be7e(0x195)](_0x57be7e(0x17b),{'title':_0x57be7e(0x178),'namespace':_0x57be7e(0x174)});}),!_0x3d5e69['me'])return new Promise(_0xca717d=>_0x3d5e69['on'](_0x556b98(0x18a),_0xca717d));})[_0x252995(0x184)](_0x493f35=>{const _0x54632a=_0x252995;throw console[_0x54632a(0x16f)](_0x493f35),new _0x91be00(_0x54632a(0x160),null,{'originalError':_0x493f35});});}[_0x3f02d6(0x181)](_0x5d7beb){const _0x5acb25=_0x3f02d6;if(_0x5acb25(0x173)!=typeof _0x5d7beb[_0x5acb25(0x153)])throw new _0x91be00(_0x5acb25(0x171),this);if(this[_0x5acb25(0x189)](_0x5d7beb))throw new _0x91be00(_0x5acb25(0x14d),this,{'name':_0x5d7beb[_0x5acb25(0x150)][_0x5acb25(0x166)]});this[_0x5acb25(0x170)][_0x5acb25(0x18f)](_0x5d7beb);}[_0x3f02d6(0x167)](_0x50a086){const _0x194824=_0x3f02d6;this[_0x194824(0x170)][_0x194824(0x183)](_0x50a086);}[_0x3f02d6(0x189)](_0x3a2d18){const _0x1eae25=_0x3f02d6;return this[_0x1eae25(0x170)][_0x1eae25(0x17a)](_0x3a2d18);}[_0x3f02d6(0x177)](){const _0xfde9ce=_0x3f02d6;return this[_0xfde9ce(0x14c)][_0xfde9ce(0x153)]()[_0xfde9ce(0x16b)](()=>Promise[_0xfde9ce(0x161)](Array[_0xfde9ce(0x16d)](this[_0xfde9ce(0x170)],_0x46dc3c=>_0x46dc3c[_0xfde9ce(0x153)]())))[_0xfde9ce(0x16b)](()=>this[_0xfde9ce(0x187)]=_0x1cab77[_0xfde9ce(0x190)])[_0xfde9ce(0x184)](_0x4c3ecc=>{const _0x18d37d=_0xfde9ce;throw console[_0x18d37d(0x16f)](_0x4c3ecc),new _0x91be00(_0x18d37d(0x18b),this[_0x18d37d(0x194)]);});}[_0x3f02d6(0x16a)](){const _0x28b93a=_0x3f02d6;this[_0x28b93a(0x14c)]&&this[_0x28b93a(0x14c)][_0x28b93a(0x14e)](),this[_0x28b93a(0x187)]=_0x1cab77[_0x28b93a(0x151)],this[_0x28b93a(0x18c)][_0x28b93a(0x162)](),super[_0x28b93a(0x16a)]();}}c[_0x3f02d6(0x15d)]=_0x1de241,c[_0x3f02d6(0x157)]=0x3e8;export default c;
@@ -23,4 +23,12 @@ export default class RealTimeCollaborativeEditing extends Plugin {
23
23
  * @inheritDoc
24
24
  */
25
25
  static get pluginName(): "RealTimeCollaborativeEditing";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static get isPremiumPlugin(): true;
26
34
  }