@ckeditor/ckeditor5-real-time-collaboration 47.3.0 → 47.4.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 (348) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/real-time-collaboration.js +2 -2
  4. package/dist/index-content.css +1 -1
  5. package/dist/index-editor.css +1 -1
  6. package/dist/index.css +8 -8
  7. package/dist/index.js +7 -7
  8. package/dist/translations/af.d.ts +1 -1
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +1 -1
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +1 -1
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +1 -1
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/be.d.ts +1 -1
  21. package/dist/translations/be.js +2 -2
  22. package/dist/translations/be.umd.js +2 -2
  23. package/dist/translations/bg.d.ts +1 -1
  24. package/dist/translations/bg.js +2 -2
  25. package/dist/translations/bg.umd.js +2 -2
  26. package/dist/translations/bn.d.ts +1 -1
  27. package/dist/translations/bn.js +2 -2
  28. package/dist/translations/bn.umd.js +2 -2
  29. package/dist/translations/bs.d.ts +1 -1
  30. package/dist/translations/bs.js +2 -2
  31. package/dist/translations/bs.umd.js +2 -2
  32. package/dist/translations/ca.d.ts +1 -1
  33. package/dist/translations/ca.js +2 -2
  34. package/dist/translations/ca.umd.js +2 -2
  35. package/dist/translations/cs.d.ts +1 -1
  36. package/dist/translations/cs.js +2 -2
  37. package/dist/translations/cs.umd.js +2 -2
  38. package/dist/translations/da.d.ts +1 -1
  39. package/dist/translations/da.js +2 -2
  40. package/dist/translations/da.umd.js +2 -2
  41. package/dist/translations/de-ch.d.ts +1 -1
  42. package/dist/translations/de-ch.js +2 -2
  43. package/dist/translations/de-ch.umd.js +2 -2
  44. package/dist/translations/de.d.ts +1 -1
  45. package/dist/translations/de.js +2 -2
  46. package/dist/translations/de.umd.js +2 -2
  47. package/dist/translations/el.d.ts +1 -1
  48. package/dist/translations/el.js +2 -2
  49. package/dist/translations/el.umd.js +2 -2
  50. package/dist/translations/en-au.d.ts +1 -1
  51. package/dist/translations/en-au.js +2 -2
  52. package/dist/translations/en-au.umd.js +2 -2
  53. package/dist/translations/en-gb.d.ts +1 -1
  54. package/dist/translations/en-gb.js +2 -2
  55. package/dist/translations/en-gb.umd.js +2 -2
  56. package/dist/translations/en.d.ts +1 -1
  57. package/dist/translations/en.js +2 -2
  58. package/dist/translations/en.umd.js +2 -2
  59. package/dist/translations/eo.d.ts +1 -1
  60. package/dist/translations/eo.js +2 -2
  61. package/dist/translations/eo.umd.js +2 -2
  62. package/dist/translations/es-co.d.ts +1 -1
  63. package/dist/translations/es-co.js +2 -2
  64. package/dist/translations/es-co.umd.js +2 -2
  65. package/dist/translations/es.d.ts +1 -1
  66. package/dist/translations/es.js +2 -2
  67. package/dist/translations/es.umd.js +2 -2
  68. package/dist/translations/et.d.ts +1 -1
  69. package/dist/translations/et.js +2 -2
  70. package/dist/translations/et.umd.js +2 -2
  71. package/dist/translations/eu.d.ts +1 -1
  72. package/dist/translations/eu.js +2 -2
  73. package/dist/translations/eu.umd.js +2 -2
  74. package/dist/translations/fa.d.ts +1 -1
  75. package/dist/translations/fa.js +2 -2
  76. package/dist/translations/fa.umd.js +2 -2
  77. package/dist/translations/fi.d.ts +1 -1
  78. package/dist/translations/fi.js +2 -2
  79. package/dist/translations/fi.umd.js +2 -2
  80. package/dist/translations/fr.d.ts +1 -1
  81. package/dist/translations/fr.js +2 -2
  82. package/dist/translations/fr.umd.js +2 -2
  83. package/dist/translations/gl.d.ts +1 -1
  84. package/dist/translations/gl.js +2 -2
  85. package/dist/translations/gl.umd.js +2 -2
  86. package/dist/translations/gu.d.ts +1 -1
  87. package/dist/translations/gu.js +2 -2
  88. package/dist/translations/gu.umd.js +2 -2
  89. package/dist/translations/he.d.ts +1 -1
  90. package/dist/translations/he.js +2 -2
  91. package/dist/translations/he.umd.js +2 -2
  92. package/dist/translations/hi.d.ts +1 -1
  93. package/dist/translations/hi.js +2 -2
  94. package/dist/translations/hi.umd.js +2 -2
  95. package/dist/translations/hr.d.ts +1 -1
  96. package/dist/translations/hr.js +2 -2
  97. package/dist/translations/hr.umd.js +2 -2
  98. package/dist/translations/hu.d.ts +1 -1
  99. package/dist/translations/hu.js +2 -2
  100. package/dist/translations/hu.umd.js +2 -2
  101. package/dist/translations/hy.d.ts +1 -1
  102. package/dist/translations/hy.js +2 -2
  103. package/dist/translations/hy.umd.js +2 -2
  104. package/dist/translations/id.d.ts +1 -1
  105. package/dist/translations/id.js +2 -2
  106. package/dist/translations/id.umd.js +2 -2
  107. package/dist/translations/it.d.ts +1 -1
  108. package/dist/translations/it.js +2 -2
  109. package/dist/translations/it.umd.js +2 -2
  110. package/dist/translations/ja.d.ts +1 -1
  111. package/dist/translations/ja.js +2 -2
  112. package/dist/translations/ja.umd.js +2 -2
  113. package/dist/translations/jv.d.ts +1 -1
  114. package/dist/translations/jv.js +2 -2
  115. package/dist/translations/jv.umd.js +2 -2
  116. package/dist/translations/kk.d.ts +1 -1
  117. package/dist/translations/kk.js +2 -2
  118. package/dist/translations/kk.umd.js +2 -2
  119. package/dist/translations/km.d.ts +1 -1
  120. package/dist/translations/km.js +2 -2
  121. package/dist/translations/km.umd.js +2 -2
  122. package/dist/translations/kn.d.ts +1 -1
  123. package/dist/translations/kn.js +2 -2
  124. package/dist/translations/kn.umd.js +2 -2
  125. package/dist/translations/ko.d.ts +1 -1
  126. package/dist/translations/ko.js +2 -2
  127. package/dist/translations/ko.umd.js +2 -2
  128. package/dist/translations/ku.d.ts +1 -1
  129. package/dist/translations/ku.js +2 -2
  130. package/dist/translations/ku.umd.js +2 -2
  131. package/dist/translations/lt.d.ts +1 -1
  132. package/dist/translations/lt.js +2 -2
  133. package/dist/translations/lt.umd.js +2 -2
  134. package/dist/translations/lv.d.ts +1 -1
  135. package/dist/translations/lv.js +2 -2
  136. package/dist/translations/lv.umd.js +2 -2
  137. package/dist/translations/ms.d.ts +1 -1
  138. package/dist/translations/ms.js +2 -2
  139. package/dist/translations/ms.umd.js +2 -2
  140. package/dist/translations/nb.d.ts +1 -1
  141. package/dist/translations/nb.js +2 -2
  142. package/dist/translations/nb.umd.js +2 -2
  143. package/dist/translations/ne.d.ts +1 -1
  144. package/dist/translations/ne.js +2 -2
  145. package/dist/translations/ne.umd.js +2 -2
  146. package/dist/translations/nl.d.ts +1 -1
  147. package/dist/translations/nl.js +2 -2
  148. package/dist/translations/nl.umd.js +2 -2
  149. package/dist/translations/no.d.ts +1 -1
  150. package/dist/translations/no.js +2 -2
  151. package/dist/translations/no.umd.js +2 -2
  152. package/dist/translations/oc.d.ts +1 -1
  153. package/dist/translations/oc.js +2 -2
  154. package/dist/translations/oc.umd.js +2 -2
  155. package/dist/translations/pl.d.ts +1 -1
  156. package/dist/translations/pl.js +2 -2
  157. package/dist/translations/pl.umd.js +2 -2
  158. package/dist/translations/pt-br.d.ts +1 -1
  159. package/dist/translations/pt-br.js +2 -2
  160. package/dist/translations/pt-br.umd.js +2 -2
  161. package/dist/translations/pt.d.ts +1 -1
  162. package/dist/translations/pt.js +2 -2
  163. package/dist/translations/pt.umd.js +2 -2
  164. package/dist/translations/ro.d.ts +1 -1
  165. package/dist/translations/ro.js +2 -2
  166. package/dist/translations/ro.umd.js +2 -2
  167. package/dist/translations/ru.d.ts +1 -1
  168. package/dist/translations/ru.js +2 -2
  169. package/dist/translations/ru.umd.js +2 -2
  170. package/dist/translations/si.d.ts +1 -1
  171. package/dist/translations/si.js +2 -2
  172. package/dist/translations/si.umd.js +2 -2
  173. package/dist/translations/sk.d.ts +1 -1
  174. package/dist/translations/sk.js +2 -2
  175. package/dist/translations/sk.umd.js +2 -2
  176. package/dist/translations/sl.d.ts +1 -1
  177. package/dist/translations/sl.js +2 -2
  178. package/dist/translations/sl.umd.js +2 -2
  179. package/dist/translations/sq.d.ts +1 -1
  180. package/dist/translations/sq.js +2 -2
  181. package/dist/translations/sq.umd.js +2 -2
  182. package/dist/translations/sr-latn.d.ts +1 -1
  183. package/dist/translations/sr-latn.js +2 -2
  184. package/dist/translations/sr-latn.umd.js +2 -2
  185. package/dist/translations/sr.d.ts +1 -1
  186. package/dist/translations/sr.js +2 -2
  187. package/dist/translations/sr.umd.js +2 -2
  188. package/dist/translations/sv.d.ts +1 -1
  189. package/dist/translations/sv.js +2 -2
  190. package/dist/translations/sv.umd.js +2 -2
  191. package/dist/translations/th.d.ts +1 -1
  192. package/dist/translations/th.js +2 -2
  193. package/dist/translations/th.umd.js +2 -2
  194. package/dist/translations/ti.d.ts +1 -1
  195. package/dist/translations/ti.js +2 -2
  196. package/dist/translations/ti.umd.js +2 -2
  197. package/dist/translations/tk.d.ts +1 -1
  198. package/dist/translations/tk.js +2 -2
  199. package/dist/translations/tk.umd.js +2 -2
  200. package/dist/translations/tr.d.ts +1 -1
  201. package/dist/translations/tr.js +2 -2
  202. package/dist/translations/tr.umd.js +2 -2
  203. package/dist/translations/tt.d.ts +1 -1
  204. package/dist/translations/tt.js +2 -2
  205. package/dist/translations/tt.umd.js +2 -2
  206. package/dist/translations/ug.d.ts +1 -1
  207. package/dist/translations/ug.js +2 -2
  208. package/dist/translations/ug.umd.js +2 -2
  209. package/dist/translations/uk.d.ts +1 -1
  210. package/dist/translations/uk.js +2 -2
  211. package/dist/translations/uk.umd.js +2 -2
  212. package/dist/translations/ur.d.ts +1 -1
  213. package/dist/translations/ur.js +2 -2
  214. package/dist/translations/ur.umd.js +2 -2
  215. package/dist/translations/uz.d.ts +1 -1
  216. package/dist/translations/uz.js +2 -2
  217. package/dist/translations/uz.umd.js +2 -2
  218. package/dist/translations/vi.d.ts +1 -1
  219. package/dist/translations/vi.js +2 -2
  220. package/dist/translations/vi.umd.js +2 -2
  221. package/dist/translations/zh-cn.d.ts +1 -1
  222. package/dist/translations/zh-cn.js +2 -2
  223. package/dist/translations/zh-cn.umd.js +2 -2
  224. package/dist/translations/zh.d.ts +1 -1
  225. package/dist/translations/zh.js +2 -2
  226. package/dist/translations/zh.umd.js +2 -2
  227. package/lang/translations/af.po +1 -1
  228. package/lang/translations/ar.po +1 -1
  229. package/lang/translations/ast.po +1 -1
  230. package/lang/translations/az.po +1 -1
  231. package/lang/translations/be.po +1 -1
  232. package/lang/translations/bg.po +1 -1
  233. package/lang/translations/bn.po +1 -1
  234. package/lang/translations/bs.po +1 -1
  235. package/lang/translations/ca.po +1 -1
  236. package/lang/translations/cs.po +1 -1
  237. package/lang/translations/da.po +1 -1
  238. package/lang/translations/de-ch.po +1 -1
  239. package/lang/translations/de.po +1 -1
  240. package/lang/translations/el.po +1 -1
  241. package/lang/translations/en-au.po +1 -1
  242. package/lang/translations/en-gb.po +1 -1
  243. package/lang/translations/en.po +1 -1
  244. package/lang/translations/eo.po +1 -1
  245. package/lang/translations/es-co.po +1 -1
  246. package/lang/translations/es.po +1 -1
  247. package/lang/translations/et.po +1 -1
  248. package/lang/translations/eu.po +1 -1
  249. package/lang/translations/fa.po +1 -1
  250. package/lang/translations/fi.po +1 -1
  251. package/lang/translations/fr.po +1 -1
  252. package/lang/translations/gl.po +1 -1
  253. package/lang/translations/gu.po +1 -1
  254. package/lang/translations/he.po +1 -1
  255. package/lang/translations/hi.po +1 -1
  256. package/lang/translations/hr.po +1 -1
  257. package/lang/translations/hu.po +1 -1
  258. package/lang/translations/hy.po +1 -1
  259. package/lang/translations/id.po +1 -1
  260. package/lang/translations/it.po +1 -1
  261. package/lang/translations/ja.po +1 -1
  262. package/lang/translations/jv.po +1 -1
  263. package/lang/translations/kk.po +1 -1
  264. package/lang/translations/km.po +1 -1
  265. package/lang/translations/kn.po +1 -1
  266. package/lang/translations/ko.po +1 -1
  267. package/lang/translations/ku.po +1 -1
  268. package/lang/translations/lt.po +1 -1
  269. package/lang/translations/lv.po +1 -1
  270. package/lang/translations/ms.po +1 -1
  271. package/lang/translations/nb.po +1 -1
  272. package/lang/translations/ne.po +1 -1
  273. package/lang/translations/nl.po +1 -1
  274. package/lang/translations/no.po +1 -1
  275. package/lang/translations/oc.po +1 -1
  276. package/lang/translations/pl.po +1 -1
  277. package/lang/translations/pt-br.po +1 -1
  278. package/lang/translations/pt.po +1 -1
  279. package/lang/translations/ro.po +1 -1
  280. package/lang/translations/ru.po +1 -1
  281. package/lang/translations/si.po +1 -1
  282. package/lang/translations/sk.po +1 -1
  283. package/lang/translations/sl.po +1 -1
  284. package/lang/translations/sq.po +1 -1
  285. package/lang/translations/sr-latn.po +1 -1
  286. package/lang/translations/sr.po +1 -1
  287. package/lang/translations/sv.po +1 -1
  288. package/lang/translations/th.po +1 -1
  289. package/lang/translations/ti.po +1 -1
  290. package/lang/translations/tk.po +1 -1
  291. package/lang/translations/tr.po +1 -1
  292. package/lang/translations/tt.po +1 -1
  293. package/lang/translations/ug.po +1 -1
  294. package/lang/translations/uk.po +1 -1
  295. package/lang/translations/ur.po +1 -1
  296. package/lang/translations/uz.po +1 -1
  297. package/lang/translations/vi.po +1 -1
  298. package/lang/translations/zh-cn.po +1 -1
  299. package/lang/translations/zh.po +1 -1
  300. package/package.json +16 -16
  301. package/src/augmentation.d.ts +1 -1
  302. package/src/augmentation.js +1 -1
  303. package/src/common-translations.d.ts +1 -1
  304. package/src/common-translations.js +2 -2
  305. package/src/config.d.ts +1 -1
  306. package/src/config.js +1 -1
  307. package/src/index.d.ts +1 -1
  308. package/src/index.js +2 -2
  309. package/src/presencelist/presencelistui.d.ts +1 -1
  310. package/src/presencelist/presencelistui.js +2 -2
  311. package/src/presencelist/view/presencecounterview.d.ts +1 -1
  312. package/src/presencelist/view/presencecounterview.js +2 -2
  313. package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
  314. package/src/presencelist/view/presencedropdownlistitemview.js +2 -2
  315. package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
  316. package/src/presencelist/view/presencedropdownlistview.js +2 -2
  317. package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
  318. package/src/presencelist/view/presenceinlinelistitemview.js +2 -2
  319. package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
  320. package/src/presencelist/view/presenceinlinelistview.js +2 -2
  321. package/src/presencelist/view/presencelistview.d.ts +1 -1
  322. package/src/presencelist/view/presencelistview.js +2 -2
  323. package/src/presencelist.d.ts +1 -1
  324. package/src/presencelist.js +2 -2
  325. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
  326. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +3 -3
  327. package/src/realtimecollaborativecomments.d.ts +1 -1
  328. package/src/realtimecollaborativecomments.js +2 -2
  329. package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
  330. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +3 -3
  331. package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
  332. package/src/realtimecollaborativeediting/sessions.js +2 -2
  333. package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
  334. package/src/realtimecollaborativeediting/usermarkers.js +2 -2
  335. package/src/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
  336. package/src/realtimecollaborativeediting/websocketgateway.js +3 -3
  337. package/src/realtimecollaborativeediting.d.ts +1 -1
  338. package/src/realtimecollaborativeediting.js +2 -2
  339. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
  340. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +3 -3
  341. package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
  342. package/src/realtimecollaborativerevisionhistory.js +2 -2
  343. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
  344. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +3 -3
  345. package/src/realtimecollaborativetrackchanges.d.ts +1 -1
  346. package/src/realtimecollaborativetrackchanges.js +2 -2
  347. package/theme/presencelist.css +1 -1
  348. package/theme/usermarkers.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d62(_0x3499c1,_0x13a46d){const _0x3e0fd3=_0x3e0f();return _0x5d62=function(_0x5d62f9,_0xe40c3c){_0x5d62f9=_0x5d62f9-0x147;let _0x134a0b=_0x3e0fd3[_0x5d62f9];return _0x134a0b;},_0x5d62(_0x3499c1,_0x13a46d);}const _0x42231a=_0x5d62;(function(_0x2d4ce3,_0x32eae7){const _0x46a10a=_0x5d62,_0x366b75=_0x2d4ce3();while(!![]){try{const _0x483a1f=parseInt(_0x46a10a(0x1b2))/0x1*(-parseInt(_0x46a10a(0x1af))/0x2)+parseInt(_0x46a10a(0x198))/0x3+parseInt(_0x46a10a(0x184))/0x4+parseInt(_0x46a10a(0x179))/0x5*(-parseInt(_0x46a10a(0x176))/0x6)+parseInt(_0x46a10a(0x1f3))/0x7+parseInt(_0x46a10a(0x225))/0x8+-parseInt(_0x46a10a(0x23b))/0x9;if(_0x483a1f===_0x32eae7)break;else _0x366b75['push'](_0x366b75['shift']());}catch(_0x44588d){_0x366b75['push'](_0x366b75['shift']());}}}(_0x3e0f,0xd9d75));import{Plugin as _0x3134c0,PendingActions as _0x4bd464}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c870b,version as _0x1cff5b,uid as _0x585be3}from'ckeditor5/src/utils.js';import{Notification as _0x4cfb02}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x1e0f51,NoOperation as _0x256757,InsertOperation as _0x41d737,MarkerOperation as _0x2f2e78,RootAttributeOperation as _0x4bb47a,OperationFactory as _0x495498,History as _0x36b72c}from'ckeditor5/src/engine.js';function _0x3e0f(){const _0x4e367e=['fromJSON','_bufferRootLoad','locale','toJSON','getOperationAuthor','unregister','lastDocumentSession','_channelId','then','compress','setIdForTheLastOperation','getConnectedSessions','reconnect','suppressErrorInCollaboration','isEnabled','history','_lastSyncedOperationId','real-time-collaboration','length','targetPosition','channelSessions','2542792TrPtyf','string','apply','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','$root','isDocumentOperation','batch','sendOperations','end','define','Synchronization\x20issue','addRoot','version','mySessionId','_isPendingUpdate','isOfficialPlugin','CommentsOnly','connect','root','multi-root-editor-root-attributes-no-root','_isAttached','isUndoneOperation','_connectService','realtimecollaborationclient-init-service-internal-error','_decompressOperations','listenTo','_knownRootNames','createRange','addOperation','realtimecollaborationclient-handleserverresponse','_authorId','_handleReconnectionResponse','_currentBufferDelay','wereChangesApplied','_handleSendingSelectionMarkers','getMany','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-init-non-existent-root','connected','change:_isEditingAllowed','cloud-services-internal-error:\x20Not\x20connected.','disconnected','createPositionAt','realtimecollaborationclient','realtimecollaborationclient-sendbufferedoperations','cloudServices.bundleVersion','showWarning','pluginName','currentDocumentSession','message','8949168NQZjAC','keys','_sendBufferedOperations','collaboration-missing-channelid','finally','cloud-services-internal-error:\x20Request\x20timeout.','_refreshUserSelectionMarkers','map','type','_getOperationsFromInitData','start','metadata','bind','createRoot','size','createdAt','_updateServerHistory','collaboration.channelId','ready','operationsReceived','round','setPermissions','17319960uuPvDQ','entries','_handleExternalOperations','_applyOperationsSet','plugins','_sendBufferedOperationsDelayed','_isEditingAllowed','slice','differ','rtc-offline','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','get','realtimecollaborationclient-init-connection-failed','disconnect','remove','applyOperation','_loadRoot','init','config','_hasSynchronizationProblem','enqueueChange','sessionId','change:_isPendingUpdate','editor','getOperations','position','realtimecollaborationclient-init-document-already-initialized','Notification','_bufferedOperations','from','serverHistory','offset','disableReadOnlyMode','add','rootsAttributes','requires','InsertOperation','destroy','collaboration','marker','_isInit','RealTimeCollaborationClient','code','connection','_waitUntilSynced','addUser','_offset','insert','change:range','_handleServerResponse','error','_addKnownRoot','change:hasDomSelection','model','getDocumentDetails','_hasSelectionChanged','set','state','fire','data','409','parse','loadRoot','18HJZcsW','getIdOfTheLastOperation','404','1003285FoWOcU','affectedSelectable','rtc-destroyed','_isLoaded','off','baseVersion','_clearPendingAction','document:write','getRoot','_lastServerVersion','removeFromReconnectionStack','4485712EtQxAK','enableReadOnlyMode','filter','roots','reconnection:\x20flushed\x20session','createUserMarkerOperations','startsWith','Permissions','includes','_pendingAction','_handleReconnectionError','_handleReceivedOperations','_handleInitialConnectionData','lastOperationId','permissions','_setPendingAction','newRange','getUser','sessionAdd:','PENDING_ACTION_SENDING_DATA','4573995yaZQOF','_isConnected','affectsData','selection','realtimecollaborationclient-error','createPositionFromPath','_connectAfterSessionHasBeenFlushed','_compressOperations','_shouldSendUpdate','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.','_disconnectionOperations','_saveOperationInBuffer','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','forEach','move','addToReconnectionStack','userId','stopListening','_service','decompress','isReadOnly','directChange','_ignoredOperations','2SPJXGh','_isDisconnection','_fetchMissingUsers','709307xIjErz','catch','_disconnectService','lastSyncVersion','initData','sessionCreatedAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','return','__className','_operationToId','_baseBufferDelay','view','register','high','_setUpDataInit','stop','has','isPremiumPlugin','_operationIdentifier','editing','_shouldSendSelectionUpdate','_initSessionsHandling','_document','_initThrowingOnDataSet','rootName','_knownOperations','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.','_compressor','clone','lastOperationAcceptedAt','_sendBufferedOperationsDelayId','wasUndone','cs:removeUser','document','_getAffectedRoot','attributes','reset','_crash','path','addRootAttribute','cloudDocumentVersion','markers','CollaborativeEditingService','realtimecollaborationclient-init-session-connection-error'];_0x3e0f=function(){return _0x4e367e;};return _0x3e0f();}import{WebSocketGateway as _0x1a8d74}from'./websocketgateway.js';import{Sessions as _0x9eb648}from'./sessions.js';import{UserMarkers as _0x2a1ed3}from'./usermarkers.js';import{getTranslation as _0x21bf21}from'../common-translations.js';import{Compressor as _0x413d4c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1cc2b3}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3058f7,CollaborativeEditingService as _0x18e5ee}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;export class RealTimeCollaborationClient extends _0x3134c0{static [_0x42231a(0x1dc)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x18e5ee)());[_0x42231a(0x165)];[_0x42231a(0x14c)];[_0x42231a(0x155)];[_0x42231a(0x1e5)];[_0x42231a(0x1aa)];[_0x42231a(0x1c8)];[_0x42231a(0x1cd)];[_0x42231a(0x153)];[_0x42231a(0x1cb)];[_0x42231a(0x20d)];[_0x42231a(0x18d)];[_0x42231a(0x16e)];[_0x42231a(0x1d0)];[_0x42231a(0x1bc)];[_0x42231a(0x213)];[_0x42231a(0x1ee)];[_0x42231a(0x1a2)];[_0x42231a(0x1c4)];static get[_0x42231a(0x15a)](){return[_0x1a8d74,_0x9eb648,_0x2a1ed3,_0x4bd464,_0x1cc2b3,_0x4cfb02];}static get[_0x42231a(0x222)](){const _0x1abf03=_0x42231a;return _0x1abf03(0x160);}static get[_0x42231a(0x202)](){return!0x0;}static get[_0x42231a(0x1c3)](){return!0x0;}get[_0x42231a(0x1da)](){const _0x215071=_0x42231a;return this[_0x215071(0x182)]+this[_0x215071(0x165)];}get[_0x42231a(0x182)](){const _0x227c99=_0x42231a;return this[_0x227c99(0x155)][_0x227c99(0x1ff)]-this[_0x227c99(0x165)];}get[_0x42231a(0x1b5)](){const _0x36d11f=_0x42231a,_0x593709=this[_0x36d11f(0x155)][_0x36d11f(0x14f)]();for(let _0x4c47bf=_0x593709[_0x36d11f(0x1f0)]-0x1;_0x4c47bf>=0x0;_0x4c47bf--){const _0x43783d=_0x593709[_0x4c47bf];if(!this[_0x36d11f(0x1a2)][_0x36d11f(0x1c2)](_0x43783d))return _0x43783d[_0x36d11f(0x17e)]+0x1-this[_0x36d11f(0x165)];}return 0x0;}constructor(_0x1b2b6d){const _0x49ee0f=_0x42231a;if(super(_0x1b2b6d),this[_0x49ee0f(0x165)]=0x0,this[_0x49ee0f(0x14c)]=null,this[_0x49ee0f(0x155)]=new _0x36b72c(),this[_0x49ee0f(0x14e)][_0x49ee0f(0x149)][_0x49ee0f(0x1fc)](_0x49ee0f(0x15d),{}),this[_0x49ee0f(0x1e5)]=this[_0x49ee0f(0x14e)][_0x49ee0f(0x149)][_0x49ee0f(0x247)](_0x49ee0f(0x236)),!this[_0x49ee0f(0x1e5)])throw new _0x2c870b(_0x49ee0f(0x228),this);const _0x3ce55c=_0x1b2b6d[_0x49ee0f(0x149)][_0x49ee0f(0x247)](_0x49ee0f(0x220))||_0x1cff5b;this[_0x49ee0f(0x1aa)]=new RealTimeCollaborationClient[(_0x49ee0f(0x1dc))](_0x3ce55c,this[_0x49ee0f(0x1e5)]),this[_0x49ee0f(0x1c8)]=this[_0x49ee0f(0x14e)][_0x49ee0f(0x16c)][_0x49ee0f(0x1d3)],this[_0x49ee0f(0x1cd)]=new _0x413d4c(),this[_0x49ee0f(0x153)]=[],this[_0x49ee0f(0x1cb)]=new WeakSet(),this[_0x49ee0f(0x20d)]=new Set(),this[_0x49ee0f(0x16f)](_0x49ee0f(0x201),!0x1),this[_0x49ee0f(0x16f)](_0x49ee0f(0x14a),!0x1),this[_0x49ee0f(0x18d)]=null,this[_0x49ee0f(0x16e)]=!0x1,this[_0x49ee0f(0x1d0)]=null,this[_0x49ee0f(0x1bc)]=0x12c,this[_0x49ee0f(0x213)]=this[_0x49ee0f(0x1bc)],this[_0x49ee0f(0x1ee)]=null,this[_0x49ee0f(0x1a2)]=new WeakSet(),this[_0x49ee0f(0x1c4)]=new X(this[_0x49ee0f(0x1a2)]);}[_0x42231a(0x148)](){const _0x4d89a3=_0x42231a,_0x5f2fbb=this[_0x4d89a3(0x14e)],_0x1bd7c6=_0x5f2fbb[_0x4d89a3(0x23f)][_0x4d89a3(0x247)](_0x1cc2b3),_0x48b0df=_0x5f2fbb[_0x4d89a3(0x23f)][_0x4d89a3(0x247)](_0x1a8d74);this[_0x4d89a3(0x20c)](_0x1bd7c6,_0x4d89a3(0x1e2),(_0x4d9fb3,_0x44cf02)=>{const _0xfffc0=_0x4d89a3,_0x1d92cd=_0x44cf02[0x0];_0x1d92cd[_0xfffc0(0x211)]&&(_0x4d9fb3[_0xfffc0(0x1b9)]=_0x1bd7c6[_0xfffc0(0x195)](_0x1d92cd[_0xfffc0(0x211)]),_0x4d9fb3[_0xfffc0(0x1c1)]()),null===_0x1d92cd[_0xfffc0(0x211)]&&(_0x4d9fb3[_0xfffc0(0x1b9)]=null,_0x4d9fb3[_0xfffc0(0x1c1)]());},{'priority':_0x4d89a3(0x1bf)}),this[_0x4d89a3(0x20c)](_0x5f2fbb[_0x4d89a3(0x16c)][_0x4d89a3(0x1d3)][_0x4d89a3(0x19b)],_0x4d89a3(0x167),(_0xfd79bc,_0x3f9f71)=>{const _0x16ea97=_0x4d89a3;_0x3f9f71[_0x16ea97(0x1ad)]&&this[_0x16ea97(0x22b)]();}),this[_0x4d89a3(0x20c)](_0x5f2fbb[_0x4d89a3(0x1c5)][_0x4d89a3(0x1bd)],_0x4d89a3(0x16b),()=>{const _0x4db3a9=_0x4d89a3;this[_0x4db3a9(0x22b)]();}),this[_0x4d89a3(0x1c9)](),_0x5f2fbb[_0x4d89a3(0x16c)]['on'](_0x4d89a3(0x24b),(_0xfca395,_0x31899b)=>{const _0x3ff826=_0x4d89a3,_0x44c615=_0x31899b[0x0];_0x44c615[_0x3ff826(0x1f8)]&&(this[_0x3ff826(0x1a3)](_0x44c615),this[_0x3ff826(0x1a0)]()&&this[_0x3ff826(0x240)]());}),this[_0x4d89a3(0x1c0)](),this[_0x4d89a3(0x231)](_0x4d89a3(0x241))['to'](_0x48b0df,_0x4d89a3(0x170),this,_0x4d89a3(0x14a),(_0x4195b0,_0x4ed38c)=>_0x4d89a3(0x219)===_0x4195b0&&!_0x4ed38c),this['on'](_0x4d89a3(0x21a),()=>{const _0x46ffbb=_0x4d89a3;this[_0x46ffbb(0x241)]?_0x5f2fbb[_0x46ffbb(0x157)](_0x46ffbb(0x244)):_0x5f2fbb[_0x46ffbb(0x185)](_0x46ffbb(0x244));}),this[_0x4d89a3(0x241)]?_0x5f2fbb[_0x4d89a3(0x157)](_0x4d89a3(0x244)):_0x5f2fbb[_0x4d89a3(0x185)](_0x4d89a3(0x244)),this[_0x4d89a3(0x16f)](_0x4d89a3(0x199),!0x1);}async[_0x42231a(0x1ea)](){const _0x181a88=_0x42231a,_0x172de0=this[_0x181a88(0x14e)][_0x181a88(0x23f)][_0x181a88(0x247)](_0x9eb648),_0x2e9502=this[_0x181a88(0x14e)][_0x181a88(0x23f)][_0x181a88(0x247)](_0x1a8d74);try{this[_0x181a88(0x201)]=!0x0,_0x172de0[_0x181a88(0x1e3)](this[_0x181a88(0x1e5)]);const _0x419abb=await this[_0x181a88(0x1aa)][_0x181a88(0x1ea)](_0x2e9502[_0x181a88(0x162)],this[_0x181a88(0x1b5)]);await this[_0x181a88(0x212)](_0x419abb)&&(this[_0x181a88(0x201)]=!0x1,this[_0x181a88(0x17f)]());const _0x5693db=await this[_0x181a88(0x1aa)][_0x181a88(0x1e9)]();_0x172de0[_0x181a88(0x1be)](this[_0x181a88(0x1e5)],_0x5693db),this[_0x181a88(0x215)](),this[_0x181a88(0x199)]=!0x0;}catch(_0x2a23b1){if(function(_0x47c01c){const _0x273f3e=_0x181a88;return _0x273f3e(0x178)===_0x47c01c[_0x273f3e(0x161)];}(_0x2a23b1)&&this[_0x181a88(0x14c)])await this[_0x181a88(0x19e)]();else{if(function(_0x3d03c8){const _0x37239e=_0x181a88;return _0x37239e(0x173)===_0x3d03c8[_0x37239e(0x161)];}(_0x2a23b1)){const _0x98ec08=_0x21bf21(this[_0x181a88(0x14e)][_0x181a88(0x1e0)],_0x181a88(0x245));this[_0x181a88(0x18e)](_0x98ec08);}else{if(!(_0x2a23b1 instanceof J))throw _0x2a23b1;this[_0x181a88(0x18e)]();}}}}[_0x42231a(0x15c)](){const _0x507293=_0x42231a,_0x3dd62c=this[_0x507293(0x14e)][_0x507293(0x23f)][_0x507293(0x247)](_0x1a8d74),_0x4b5616=this[_0x507293(0x14e)][_0x507293(0x23f)][_0x507293(0x247)](_0x9eb648);this[_0x507293(0x14e)][_0x507293(0x185)](_0x507293(0x17b)),_0x4b5616[_0x507293(0x1f2)][_0x507293(0x1c2)](this[_0x507293(0x1e5)])&&_0x4b5616[_0x507293(0x1e3)](this[_0x507293(0x1e5)]),_0x3dd62c[_0x507293(0x183)](this),this[_0x507293(0x1b4)](),super[_0x507293(0x15c)]();}async[_0x42231a(0x212)](_0x185bd1){const _0x38b6af=_0x42231a;if(this[_0x38b6af(0x14c)]!==_0x185bd1[_0x38b6af(0x14c)]&&this[_0x38b6af(0x1ee)]!==_0x185bd1[_0x38b6af(0x191)])throw new J();return this[_0x38b6af(0x14c)]=_0x185bd1[_0x38b6af(0x14c)],this[_0x38b6af(0x168)]([],{..._0x185bd1,'wereChangesApplied':!0x1,'data':_0x185bd1[_0x38b6af(0x172)]},_0x38b6af(0x1ea));}async[_0x42231a(0x209)](_0x8eba47,_0x7de281=!0x1){const _0x4d50c9=_0x42231a,{connection:_0x4b17b1}=this[_0x4d50c9(0x14e)][_0x4d50c9(0x23f)][_0x4d50c9(0x247)](_0x1a8d74);RealTimeCollaborationClient[_0x4d50c9(0x1dc)][_0x4d50c9(0x1e9)](_0x4b17b1,this[_0x4d50c9(0x1e5)])[_0x4d50c9(0x1e6)](_0x2ef889=>this[_0x4d50c9(0x1c7)](_0x2ef889))[_0x4d50c9(0x1b3)](_0x1228f0=>{const _0x56c906=_0x4d50c9;this[_0x56c906(0x1d7)](_0x56c906(0x1dd),_0x1228f0);}),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x238),this[_0x4d50c9(0x18f)][_0x4d50c9(0x231)](this)),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x169),(_0x3049bc,_0x1910da)=>{const _0x3748ea=_0x4d50c9;this[_0x3748ea(0x1d7)](_0x3748ea(0x20a),_0x1910da);}),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x21c),()=>{const _0x4781a2=_0x4d50c9;this[_0x4781a2(0x199)]=!0x1;});const _0x3f9f0f=this[_0x4d50c9(0x1c4)][_0x4d50c9(0x177)](_0x8eba47);this[_0x4d50c9(0x201)]=!0x0;const _0x141a21=await this[_0x4d50c9(0x1aa)][_0x4d50c9(0x204)](_0x4b17b1,this[_0x4d50c9(0x19f)](_0x8eba47),_0x3f9f0f);if(this[_0x4d50c9(0x14c)]=_0x141a21[_0x4d50c9(0x14c)],_0x7de281){if(!_0x141a21[_0x4d50c9(0x214)])return void this[_0x4d50c9(0x18e)]();this[_0x4d50c9(0x201)]=!0x1,this[_0x4d50c9(0x17f)](),this[_0x4d50c9(0x155)][_0x4d50c9(0x1d6)](),this[_0x4d50c9(0x165)]=_0x141a21[_0x4d50c9(0x156)],this[_0x4d50c9(0x155)][_0x4d50c9(0x1ff)]=this[_0x4d50c9(0x165)],await this[_0x4d50c9(0x168)](_0x8eba47,_0x141a21,_0x4d50c9(0x188));}else await this[_0x4d50c9(0x190)](_0x141a21,_0x8eba47);this[_0x4d50c9(0x215)](),this[_0x4d50c9(0x199)]=!0x0;}[_0x42231a(0x215)](){const _0x593e87=_0x42231a,_0x1984d5=this[_0x593e87(0x14e)][_0x593e87(0x23f)][_0x593e87(0x247)](_0x9eb648),_0x209a5f=this[_0x593e87(0x14e)][_0x593e87(0x23f)][_0x593e87(0x247)](_0x2a1ed3),_0x23da99=_0x1984d5[_0x593e87(0x1f2)][_0x593e87(0x247)](this[_0x593e87(0x1e5)]);_0x23da99&&_0x23da99[_0x593e87(0x1f0)]>0x1?_0x209a5f[_0x593e87(0x189)]():this[_0x593e87(0x20c)](_0x1984d5,_0x593e87(0x196)+this[_0x593e87(0x1e5)],()=>{const _0x5a5cc8=_0x593e87;0x2===_0x1984d5[_0x5a5cc8(0x1f2)][_0x5a5cc8(0x247)](this[_0x5a5cc8(0x1e5)])[_0x5a5cc8(0x1f0)]&&_0x209a5f[_0x5a5cc8(0x189)]();});}async[_0x42231a(0x18f)](_0xc77258,_0x3f7b49,_0x2a5049,_0x53ea63){const _0x582ed4=_0x42231a;if(!this[_0x582ed4(0x201)]&&this[_0x582ed4(0x1c8)][_0x582ed4(0x1ff)]==_0x3f7b49){const _0x2d3847=this[_0x582ed4(0x20b)](_0x2a5049,_0x53ea63);await this[_0x582ed4(0x1b1)](_0x2d3847),this[_0x582ed4(0x23d)](_0x2d3847,_0x3f7b49,_0x2a5049[_0x582ed4(0x191)])||this[_0x582ed4(0x1d7)](_0x582ed4(0x217));}}async[_0x42231a(0x19e)](){const _0x33676d=_0x42231a;this[_0x33676d(0x1b4)]();const {locale:_0x55b57a}=this[_0x33676d(0x14e)];let _0x1489b3;try{_0x1489b3=await this[_0x33676d(0x1aa)][_0x33676d(0x16d)]();}catch{const _0x5dbd2e=_0x21bf21(_0x55b57a,_0x33676d(0x1a4));return void this[_0x33676d(0x18e)](_0x5dbd2e);}const _0x39b356=_0x1489b3[_0x33676d(0x223)]||_0x1489b3[_0x33676d(0x1e4)];if(this[_0x33676d(0x1ee)]!==_0x39b356[_0x33676d(0x191)]){const _0x148444=_0x21bf21(_0x55b57a,_0x33676d(0x1a1));return void this[_0x33676d(0x18e)](_0x148444);}await this[_0x33676d(0x209)](this[_0x33676d(0x14e)][_0x33676d(0x16c)][_0x33676d(0x1d3)][_0x33676d(0x1ed)][_0x33676d(0x14f)](),!0x0);}[_0x42231a(0x1b4)](){const _0x1896a3=_0x42231a;this[_0x1896a3(0x1aa)][_0x1896a3(0x249)](),this[_0x1896a3(0x153)]=[],clearTimeout(this[_0x1896a3(0x1d0)]),this[_0x1896a3(0x1a9)](this[_0x1896a3(0x1aa)]);}[_0x42231a(0x1c7)](_0x3629d6){const _0x34ff85=_0x42231a,_0x23adcb=this[_0x34ff85(0x14e)][_0x34ff85(0x23f)][_0x34ff85(0x247)](_0x9eb648);this[_0x34ff85(0x20c)](_0x23adcb,_0x34ff85(0x196)+this[_0x34ff85(0x1e5)],(_0x12fdfd,{session:_0x16866f})=>{const _0x3df4ae=_0x34ff85;if(_0x16866f['id']===_0x23adcb[_0x3df4ae(0x200)]){_0x12fdfd[_0x3df4ae(0x17d)]();const _0x33b2b7=this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x1c2)](_0x3df4ae(0x203))&&this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x247)](_0x3df4ae(0x203));let _0x538514=_0x16866f[_0x3df4ae(0x192)];_0x33b2b7&&_0x33b2b7[_0x3df4ae(0x1ec)]&&(_0x538514=_0x538514[_0x3df4ae(0x186)](_0x345388=>_0x3df4ae(0x180)!==_0x345388)),this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x247)](_0x3df4ae(0x18b))[_0x3df4ae(0x23a)](_0x538514,this[_0x3df4ae(0x1e5)]);}}),_0x23adcb[_0x34ff85(0x1be)](this[_0x34ff85(0x1e5)],_0x3629d6);}[_0x42231a(0x1c9)](){const _0x42f567=_0x42231a,_0x70f9a8=this[_0x42f567(0x14e)][_0x42f567(0x172)][_0x42f567(0x16f)];this[_0x42f567(0x14e)][_0x42f567(0x172)][_0x42f567(0x16f)]=(..._0x4c4189)=>{const _0x1a2e63=_0x42f567;if(!_0x4c4189[_0x4c4189[_0x1a2e63(0x1f0)]-0x1][_0x1a2e63(0x1eb)])throw new _0x2c870b(_0x1a2e63(0x1f6),this);_0x70f9a8[_0x1a2e63(0x1f5)](this[_0x1a2e63(0x14e)][_0x1a2e63(0x172)],_0x4c4189);};}[_0x42231a(0x1c0)](){const _0x1d2a18=_0x42231a;this[_0x1d2a18(0x14e)][_0x1d2a18(0x172)]['on'](_0x1d2a18(0x148),(_0x595e03,[_0x3452d6])=>{const _0x540790=_0x1d2a18;if(this[_0x540790(0x1c8)][_0x540790(0x1ff)])throw new _0x2c870b(_0x540790(0x151),this);_0x595e03[_0x540790(0x1c1)](),this[_0x540790(0x193)]();const _0xb2cad0=this[_0x540790(0x14e)][_0x540790(0x149)][_0x540790(0x247)](_0x540790(0x159)),_0xc72ddd=this[_0x540790(0x22e)](_0x3452d6,_0xb2cad0);0x0==_0xc72ddd[_0x540790(0x1f0)]&&_0xc72ddd[_0x540790(0x246)](new _0x256757(0x0)),_0x595e03[_0x540790(0x1b9)]=this[_0x540790(0x209)](_0xc72ddd)[_0x540790(0x1e6)](()=>{const _0x828a97=_0x540790;this[_0x828a97(0x14e)][_0x828a97(0x23f)][_0x828a97(0x247)](_0x1a8d74)[_0x828a97(0x1a7)](this),this[_0x828a97(0x14e)][_0x828a97(0x172)][_0x828a97(0x171)](_0x828a97(0x237));})[_0x540790(0x1b3)](_0x314c51=>this[_0x540790(0x1d7)](_0x540790(0x248),_0x314c51))[_0x540790(0x229)](()=>this[_0x540790(0x17f)]());},{'priority':_0x1d2a18(0x1bf)}),this[_0x1d2a18(0x14e)]['on'](_0x1d2a18(0x175),async(_0x2097e3,[_0x4e977f,_0x5b5f37])=>{const _0x3db0a9=_0x1d2a18;_0x2097e3[_0x3db0a9(0x1c1)]();const _0xc8f40=this[_0x3db0a9(0x14e)][_0x3db0a9(0x16c)][_0x3db0a9(0x1d3)][_0x3db0a9(0x181)](_0x4e977f);if(!this[_0x3db0a9(0x20d)][_0x3db0a9(0x1c2)](_0x4e977f)){const _0x2d36d5=_0x5b5f37&&_0x5b5f37[_0x3db0a9(0x172)]?_0x5b5f37[_0x3db0a9(0x172)]:'',_0x4df377=_0x5b5f37&&_0x5b5f37[_0x3db0a9(0x1d5)]?_0x5b5f37[_0x3db0a9(0x1d5)]:{};await this[_0x3db0a9(0x147)](_0x4e977f,_0x2d36d5,_0x4df377);}this[_0x3db0a9(0x14e)][_0x3db0a9(0x16c)][_0x3db0a9(0x14b)]({'isUndoable':!0x1},()=>{const _0xfa6491=_0x3db0a9;_0xc8f40[_0xfa6491(0x17c)]=!0x0,this[_0xfa6491(0x14e)][_0xfa6491(0x16c)][_0xfa6491(0x1d3)][_0xfa6491(0x243)][_0xfa6491(0x1df)](_0xc8f40);});},{'priority':_0x1d2a18(0x1bf)});}async[_0x42231a(0x1b1)](_0x5e1a4d){const _0x2005a1=_0x42231a,_0x44ab7f=this[_0x2005a1(0x14e)][_0x2005a1(0x23f)][_0x2005a1(0x247)](_0x1cc2b3),{connection:_0x23c65d}=this[_0x2005a1(0x14e)][_0x2005a1(0x23f)][_0x2005a1(0x247)](_0x1a8d74),_0x2d84af=new Set();for(const _0xafa6db of _0x5e1a4d){const _0x49db21=_0xafa6db[_0x2005a1(0x211)];_0x49db21&&!_0x44ab7f[_0x2005a1(0x195)](_0x49db21)&&_0x2d84af[_0x2005a1(0x158)](_0x49db21);}if(0x0===_0x2d84af[_0x2005a1(0x233)])return;const _0x12ac9b=await _0x3058f7[_0x2005a1(0x216)](_0x23c65d,Array[_0x2005a1(0x154)](_0x2d84af));for(const _0x1a5631 of _0x12ac9b)_0x44ab7f[_0x2005a1(0x195)](_0x1a5631['id'])||_0x44ab7f[_0x2005a1(0x164)](_0x1a5631);}[_0x42231a(0x22e)](_0x35633b,_0x5ba853={}){const _0x3ab9c8=_0x42231a,_0x294456=this[_0x3ab9c8(0x14e)][_0x3ab9c8(0x16c)],_0x56a33c=[];let _0x2b3251=0x0;const _0x5f3585=_0x3ab9c8(0x1f4)==typeof _0x35633b?{'main':_0x35633b}:_0x35633b;for(const _0x499d1b of Object[_0x3ab9c8(0x226)](_0x5f3585)){if(!this[_0x3ab9c8(0x1c8)][_0x3ab9c8(0x187)][_0x3ab9c8(0x1c2)](_0x499d1b))throw new _0x2c870b(_0x3ab9c8(0x218),this);const _0x94ee5c=this[_0x3ab9c8(0x14e)][_0x3ab9c8(0x172)][_0x3ab9c8(0x174)](_0x5f3585[_0x499d1b]),_0x54b6ce=this[_0x3ab9c8(0x1c8)][_0x3ab9c8(0x181)](_0x499d1b),_0x4fcbc2=new _0x41d737(_0x294456[_0x3ab9c8(0x21d)](_0x54b6ce,0x0),_0x94ee5c,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x4fcbc2);for(const [_0x36bd1e,_0x5b5180]of _0x94ee5c[_0x3ab9c8(0x1db)]){const _0x4a79a2=_0x294456[_0x3ab9c8(0x20e)](_0x294456[_0x3ab9c8(0x19d)](_0x54b6ce,_0x5b5180[_0x3ab9c8(0x22f)][_0x3ab9c8(0x1d8)][_0x3ab9c8(0x242)]()),_0x294456[_0x3ab9c8(0x19d)](_0x54b6ce,_0x5b5180[_0x3ab9c8(0x1fb)][_0x3ab9c8(0x1d8)][_0x3ab9c8(0x242)]())),_0x3eff05=new _0x2f2e78(_0x36bd1e,null,_0x4a79a2,_0x294456[_0x3ab9c8(0x1db)],!0x0,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x3eff05);}}if(_0x5ba853)for(const [_0x51fef1,_0x393f1d]of Object[_0x3ab9c8(0x23c)](_0x5ba853)){const _0x57ed23=_0x294456[_0x3ab9c8(0x1d3)][_0x3ab9c8(0x181)](_0x51fef1);if(!_0x57ed23)throw new _0x2c870b(_0x3ab9c8(0x206),null);for(const [_0xa82548,_0x19d554]of Object[_0x3ab9c8(0x23c)](_0x393f1d))if(null!==_0x19d554){const _0x5d6f0c=new _0x4bb47a(_0x57ed23,_0xa82548,null,_0x19d554,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x5d6f0c);}}return _0x56a33c;}async[_0x42231a(0x147)](_0x53846e,_0x41242b,_0x5a3797){const _0x4622df=_0x42231a;this[_0x4622df(0x22e)]({[_0x53846e]:_0x41242b},{[_0x53846e]:_0x5a3797})[_0x4622df(0x1a5)]((_0x3d9f73,_0x877d48)=>{const _0x561ba6=_0x4622df;_0x3d9f73[_0x561ba6(0x17e)]=this[_0x561ba6(0x1c8)][_0x561ba6(0x1ff)]+_0x877d48,_0x3d9f73[_0x561ba6(0x15f)]=!0x0,this[_0x561ba6(0x1a3)](_0x3d9f73);}),this[_0x4622df(0x240)](),await this[_0x4622df(0x163)]();}async[_0x42231a(0x190)](_0x15f70a,_0x3b3396){const _0x43377f=_0x42231a;let _0x2132a8;this[_0x43377f(0x165)]=_0x15f70a[_0x43377f(0x156)];const _0x4319d4=_0x15f70a[_0x43377f(0x214)]&&!_0x15f70a[_0x43377f(0x1b6)],_0x4bbad2=_0x4319d4?0x0:_0x15f70a[_0x43377f(0x172)][_0x43377f(0x17e)];if(_0x3b3396[_0x43377f(0x1a5)](_0x381134=>{const _0x5ff7b9=_0x43377f;_0x381134[_0x5ff7b9(0x15f)]=!0x0,_0x381134[_0x5ff7b9(0x234)]=_0x15f70a[_0x5ff7b9(0x1b7)],_0x381134[_0x5ff7b9(0x211)]=null;}),_0x4319d4)_0x2132a8=_0x3b3396,this[_0x43377f(0x23e)](_0x2132a8,_0x4319d4);else{if(_0x15f70a[_0x43377f(0x1b6)]){const _0x1de496=this[_0x43377f(0x22e)](_0x15f70a[_0x43377f(0x1b6)]);this[_0x43377f(0x1c8)][_0x43377f(0x1ed)][_0x43377f(0x1ff)]=-_0x1de496[_0x43377f(0x1f0)],_0x1de496[_0x43377f(0x1a5)](_0x16098e=>{const _0x1f141c=_0x43377f;_0x16098e[_0x1f141c(0x17e)]-=_0x1de496[_0x1f141c(0x1f0)],_0x16098e[_0x1f141c(0x234)]=_0x15f70a[_0x1f141c(0x1b7)],_0x16098e[_0x1f141c(0x15f)]=!0x0,_0x16098e[_0x1f141c(0x211)]=null;}),this[_0x43377f(0x23e)](_0x1de496,!0x0),this[_0x43377f(0x155)][_0x43377f(0x1ff)]=-_0x1de496[_0x43377f(0x1f0)]+this[_0x43377f(0x165)],this[_0x43377f(0x235)](_0x1de496);}this[_0x43377f(0x1c8)][_0x43377f(0x1ed)][_0x43377f(0x1ff)]=_0x4bbad2,_0x2132a8=this[_0x43377f(0x20b)](_0x15f70a[_0x43377f(0x172)],_0x15f70a[_0x43377f(0x230)]),await this[_0x43377f(0x1b1)](_0x2132a8),this[_0x43377f(0x23e)](_0x2132a8,_0x4319d4);}_0x15f70a[_0x43377f(0x191)]&&(this[_0x43377f(0x1c4)][_0x43377f(0x1e8)](_0x2132a8,_0x15f70a[_0x43377f(0x191)]),this[_0x43377f(0x1ee)]=_0x15f70a[_0x43377f(0x191)]),this[_0x43377f(0x155)][_0x43377f(0x1ff)]=_0x4bbad2+this[_0x43377f(0x165)],this[_0x43377f(0x235)](_0x2132a8),_0x3b3396[_0x43377f(0x186)](_0x53dcad=>{const _0x10eec0=_0x43377f,_0x546085=this[_0x10eec0(0x1d4)](_0x53dcad);return _0x546085&&!this[_0x10eec0(0x20d)][_0x10eec0(0x1c2)](_0x546085);})[_0x43377f(0x1a5)]((_0x1b5d68,_0x196696)=>{const _0x40d3cd=_0x43377f;_0x1b5d68[_0x40d3cd(0x17e)]=this[_0x40d3cd(0x1c8)][_0x40d3cd(0x1ff)]+_0x196696,this[_0x40d3cd(0x1a3)](_0x1b5d68);}),this[_0x43377f(0x1a0)]()?(this[_0x43377f(0x213)]=0x0,this[_0x43377f(0x240)](!0x0),await this[_0x43377f(0x163)]()):(this[_0x43377f(0x201)]=!0x1,this[_0x43377f(0x17f)]());}[_0x42231a(0x1d7)](_0x4f8e8d,_0x1e94a4){const _0x433931=_0x42231a,_0x20e8c9=_0x1e94a4&&_0x1e94a4[_0x433931(0x224)];if(_0x20e8c9&&_0x20e8c9[_0x433931(0x18a)](_0x433931(0x21e)))throw _0x1e94a4;const _0x3562b8=this[_0x433931(0x14e)][_0x433931(0x23f)][_0x433931(0x247)](_0x1a8d74);throw this[_0x433931(0x201)]=!0x0,_0x3562b8[_0x433931(0x249)](),this[_0x433931(0x14e)][_0x433931(0x185)](_0x433931(0x19c)),new _0x2c870b(_0x4f8e8d,this[_0x433931(0x14e)],_0x20e8c9?{'originalError':_0x20e8c9}:void 0x0);}[_0x42231a(0x1a3)](_0x3ca0e4){const _0x158c25=_0x42231a;this[_0x158c25(0x1cb)][_0x158c25(0x1c2)](_0x3ca0e4)||(this[_0x158c25(0x1cb)][_0x158c25(0x158)](_0x3ca0e4),this[_0x158c25(0x153)][_0x158c25(0x246)](_0x3ca0e4),this[_0x158c25(0x18d)]||_0x158c25(0x15e)==_0x3ca0e4[_0x158c25(0x22d)]&&!_0x3ca0e4[_0x158c25(0x19a)]||this[_0x158c25(0x193)]());}[_0x42231a(0x240)](_0x2481f1=!0x1){const _0x124528=_0x42231a;!_0x2481f1&&this[_0x124528(0x201)]||(this[_0x124528(0x201)]=!0x0,clearTimeout(this[_0x124528(0x1d0)]),this[_0x124528(0x1d0)]=setTimeout(()=>{const _0x119142=_0x124528;this[_0x119142(0x227)]()[_0x119142(0x1e6)](_0x2a3f71=>{const _0x896b08=_0x119142;_0x2a3f71&&(this[_0x896b08(0x17f)](),this[_0x896b08(0x201)]=!0x1);})[_0x119142(0x1b3)](_0x26bf31=>{const _0x115322=_0x119142;this[_0x115322(0x17f)](),this[_0x115322(0x201)]=!0x1,function(_0x1afcac){const _0x1b2c85=_0x115322;return _0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x21b))||_0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x1b8))||_0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x22a));}(_0x26bf31)||this[_0x115322(0x1d7)](_0x26bf31[_0x115322(0x224)],_0x26bf31);});},this[_0x124528(0x213)]));}[_0x42231a(0x163)](){return new Promise(_0x4d03f2=>{const _0x42bdf7=_0x5d62;this['on'](_0x42bdf7(0x14d),()=>{_0x4d03f2();});});}async[_0x42231a(0x227)](){const _0x48a5df=_0x42231a,_0x229294=this[_0x48a5df(0x14e)][_0x48a5df(0x23f)][_0x48a5df(0x247)](_0x2a1ed3);if(this[_0x48a5df(0x1c6)]()&&(_0x229294[_0x48a5df(0x189)](),this[_0x48a5df(0x16e)]=!0x1),!this[_0x48a5df(0x1a0)]())return!0x0;const _0x21439e=[...this[_0x48a5df(0x153)]];for(const _0x361a1a of _0x21439e)_0x361a1a[_0x48a5df(0x1d1)]=this[_0x48a5df(0x1c8)][_0x48a5df(0x1ed)][_0x48a5df(0x208)](_0x361a1a);const _0x51d44f=this[_0x48a5df(0x1c4)][_0x48a5df(0x177)](_0x21439e),_0x4f74c1=K++,_0x100862=this[_0x48a5df(0x19f)](_0x21439e),_0x98312e=await this[_0x48a5df(0x1aa)][_0x48a5df(0x1fa)](_0x100862,_0x100862[_0x48a5df(0x17e)],_0x51d44f);try{return await this[_0x48a5df(0x168)](_0x21439e,_0x98312e,_0x4f74c1);}catch(_0x5d7857){return this[_0x48a5df(0x1d7)](_0x48a5df(0x21f),_0x5d7857);}}async[_0x42231a(0x168)](_0x26f1b6,_0x283662,_0x432fc1){const _0x4c74cf=_0x42231a;if(_0x4c74cf(0x169)in _0x283662)throw _0x283662[_0x4c74cf(0x169)];let _0x1ae37c=!0x1;if(_0x283662[_0x4c74cf(0x214)]){_0x283662[_0x4c74cf(0x191)]&&(this[_0x4c74cf(0x1ee)]=_0x283662[_0x4c74cf(0x191)]),this[_0x4c74cf(0x153)]=this[_0x4c74cf(0x153)][_0x4c74cf(0x186)](_0x499f32=>!_0x26f1b6[_0x4c74cf(0x18c)](_0x499f32));for(const _0x2ef49d of _0x26f1b6)_0x2ef49d[_0x4c74cf(0x234)]=_0x4c74cf(0x1cf)in _0x283662&&_0x283662[_0x4c74cf(0x1cf)]||void 0x0;Q(_0x26f1b6,_0x283662[_0x4c74cf(0x1ff)]-_0x26f1b6[_0x4c74cf(0x1f0)]),this[_0x4c74cf(0x235)](_0x26f1b6);const _0x1e9d39=_0x26f1b6[_0x4c74cf(0x186)](_0x31006c=>{const _0x488906=_0x4c74cf;if(!_0x31006c[_0x488906(0x15f)])return!0x1;const _0x35705c=this[_0x488906(0x1d4)](_0x31006c);return _0x35705c&&!this[_0x488906(0x20d)][_0x488906(0x1c2)](_0x35705c);});Q(_0x1e9d39,this[_0x4c74cf(0x1c8)][_0x4c74cf(0x1ff)]),this[_0x4c74cf(0x23e)](_0x1e9d39),_0x1ae37c=!0x0,this[_0x4c74cf(0x213)]=this[_0x4c74cf(0x1bc)];}else{const _0x23c0b5=this[_0x4c74cf(0x20b)](_0x283662[_0x4c74cf(0x172)],_0x283662[_0x4c74cf(0x230)])[_0x4c74cf(0x186)](_0x35f2a5=>_0x35f2a5[_0x4c74cf(0x17e)]>=this[_0x4c74cf(0x182)]);_0x23c0b5[_0x4c74cf(0x1a5)](_0x16949e=>this[_0x4c74cf(0x16a)](_0x16949e)),this[_0x4c74cf(0x153)]=this[_0x4c74cf(0x153)][_0x4c74cf(0x186)](_0x2ba49a=>!_0x2ba49a[_0x4c74cf(0x15f)]||!this[_0x4c74cf(0x20d)][_0x4c74cf(0x1c2)](this[_0x4c74cf(0x1d4)](_0x2ba49a))),this[_0x4c74cf(0x153)][_0x4c74cf(0x1f0)]&&Q(this[_0x4c74cf(0x153)],this[_0x4c74cf(0x153)][0x0][_0x4c74cf(0x17e)]),await this[_0x4c74cf(0x1b1)](_0x23c0b5),_0x1ae37c=this[_0x4c74cf(0x23d)](_0x23c0b5,_0x283662[_0x4c74cf(0x1ff)],_0x283662[_0x4c74cf(0x191)]),this[_0x4c74cf(0x213)]=Math[_0x4c74cf(0x239)](this[_0x4c74cf(0x213)]/0x2);}return _0x1ae37c?!this[_0x4c74cf(0x1a0)]()||(this[_0x4c74cf(0x240)](!0x0),!0x1):this[_0x4c74cf(0x1d7)](_0x4c74cf(0x210));}[_0x42231a(0x23d)](_0x223921,_0x242dd8,_0x407db5){const _0x41270d=_0x42231a;try{const _0x5ae75c={'document':this[_0x41270d(0x1c8)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x249d4d,operationsB:_0x3ba9bb,originalOperations:_0x379732}=_0x1e0f51(_0x223921,this[_0x41270d(0x153)],_0x5ae75c);Q(_0x249d4d,this[_0x41270d(0x1c8)][_0x41270d(0x1ff)]),Q(_0x3ba9bb,_0x242dd8);for(const _0x1df8fc of _0x249d4d){const _0x39a0e1=_0x379732[_0x41270d(0x247)](_0x1df8fc);_0x1df8fc[_0x41270d(0x211)]=_0x39a0e1?_0x39a0e1[_0x41270d(0x211)]:null;}_0x407db5&&(this[_0x41270d(0x1c4)][_0x41270d(0x1e8)](_0x223921,_0x407db5),this[_0x41270d(0x1ee)]=_0x407db5),this[_0x41270d(0x153)]=[..._0x3ba9bb],this[_0x41270d(0x23e)](_0x249d4d),this[_0x41270d(0x235)](_0x223921);}catch(_0x3c0683){return console[_0x41270d(0x169)](_0x3c0683),!0x1;}return!0x0;}[_0x42231a(0x23e)](_0x184d29,_0x39d798=!0x1){const _0x5d0aa5=_0x42231a;this[_0x5d0aa5(0x14e)][_0x5d0aa5(0x16c)][_0x5d0aa5(0x14b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x12db8d=>{const _0x5e004c=_0x5d0aa5;for(const _0x2a7226 of _0x184d29)this[_0x5e004c(0x1cb)][_0x5e004c(0x158)](_0x2a7226),this[_0x5e004c(0x16a)](_0x2a7226),_0x12db8d[_0x5e004c(0x1f9)][_0x5e004c(0x20f)](_0x2a7226),this[_0x5e004c(0x14e)][_0x5e004c(0x16c)][_0x5e004c(0x24b)](_0x2a7226);});}[_0x42231a(0x16a)](_0x47e1a2){const _0x14c8d7=_0x42231a,_0x36b4b8=this[_0x14c8d7(0x1d4)](_0x47e1a2);_0x36b4b8&&this[_0x14c8d7(0x20d)][_0x14c8d7(0x158)](_0x36b4b8);}[_0x42231a(0x1d4)](_0x41f72e){const _0x5da9ca=_0x42231a;let _0x30df93,_0xc4de89;switch(_0x41f72e[_0x5da9ca(0x22d)]){case _0x5da9ca(0x166):_0x30df93=_0x41f72e[_0x5da9ca(0x150)][_0x5da9ca(0x205)];break;case _0x5da9ca(0x15e):if(_0xc4de89=_0x41f72e[_0x5da9ca(0x194)],!_0xc4de89)return null;_0x30df93=_0xc4de89[_0x5da9ca(0x205)];break;case _0x5da9ca(0x1d9):_0x30df93=_0x41f72e[_0x5da9ca(0x205)];break;case _0x5da9ca(0x1fe):_0x30df93=_0x41f72e[_0x5da9ca(0x17a)];break;case _0x5da9ca(0x1a6):_0x30df93=_0x41f72e[_0x5da9ca(0x1f1)][_0x5da9ca(0x205)];break;default:return null;}return _0x30df93[_0x5da9ca(0x1ca)];}[_0x42231a(0x235)](_0x534f3a){const _0x25e701=_0x42231a;_0x534f3a[_0x25e701(0x1a5)](_0x41b9cf=>{const _0x365971=_0x25e701,_0x862b18=_0x41b9cf[_0x365971(0x1ce)]();_0x862b18[_0x365971(0x211)]=_0x41b9cf[_0x365971(0x211)],_0x862b18[_0x365971(0x15f)]=!!_0x41b9cf[_0x365971(0x15f)],_0x862b18[_0x365971(0x234)]=_0x41b9cf[_0x365971(0x234)],_0x862b18[_0x365971(0x17e)]+=this[_0x365971(0x165)],_0x41b9cf[_0x365971(0x1b0)]&&this[_0x365971(0x1a2)][_0x365971(0x158)](_0x862b18),this[_0x365971(0x155)][_0x365971(0x20f)](_0x862b18);});}[_0x42231a(0x18e)](_0xdb4dca){const _0x125038=_0x42231a,_0xf4db2f=this[_0x125038(0x14e)][_0x125038(0x23f)][_0x125038(0x247)](_0x125038(0x152)),_0x3bcbe0=this[_0x125038(0x14e)][_0x125038(0x1e0)];_0xdb4dca||(_0xdb4dca=_0x21bf21(_0x3bcbe0,_0x125038(0x1cc))),_0xf4db2f[_0x125038(0x221)](_0xdb4dca,{'title':_0x21bf21(_0x3bcbe0,_0x125038(0x1fd)),'namespace':_0x125038(0x1ef)}),this[_0x125038(0x14a)]=!0x0,clearTimeout(this[_0x125038(0x1d0)]),this[_0x125038(0x153)]=[],this[_0x125038(0x14e)][_0x125038(0x23f)][_0x125038(0x247)](_0x1a8d74)[_0x125038(0x249)]();}[_0x42231a(0x193)](){const _0x55d3af=_0x42231a;this[_0x55d3af(0x18d)]||(this[_0x55d3af(0x18d)]=this[_0x55d3af(0x14e)][_0x55d3af(0x23f)][_0x55d3af(0x247)](_0x4bd464)[_0x55d3af(0x158)](_0x21bf21(this[_0x55d3af(0x14e)][_0x55d3af(0x1e0)],_0x55d3af(0x197))));}[_0x42231a(0x17f)](){const _0xc4eb27=_0x42231a;this[_0xc4eb27(0x18d)]&&(this[_0xc4eb27(0x14e)][_0xc4eb27(0x23f)][_0xc4eb27(0x247)](_0x4bd464)[_0xc4eb27(0x24a)](this[_0xc4eb27(0x18d)]),this[_0xc4eb27(0x18d)]=null);}[_0x42231a(0x19f)](_0x26a715){const _0x6a5a76=_0x42231a,_0x39e54a=_0x26a715[_0x6a5a76(0x22c)](_0x3dd346=>_0x3dd346[_0x6a5a76(0x1e1)]());return this[_0x6a5a76(0x1cd)][_0x6a5a76(0x1e7)](_0x39e54a);}[_0x42231a(0x20b)](_0x4a2a70,_0x22df02){const _0x4412eb=_0x42231a;return this[_0x4412eb(0x1cd)][_0x4412eb(0x1ab)](_0x4a2a70)[_0x4412eb(0x22c)]((_0x15e401,_0x448320)=>{const _0x4c9cd3=_0x4412eb,_0x3e29aa=_0x4c9cd3(0x148)==_0x22df02[_0x448320][_0x4c9cd3(0x22d)];if(_0x4c9cd3(0x15b)==_0x15e401[_0x4c9cd3(0x1ba)]){const _0x102e70=_0x15e401[_0x4c9cd3(0x150)][_0x4c9cd3(0x205)];!this[_0x4c9cd3(0x1c8)][_0x4c9cd3(0x181)](_0x102e70)&&(this[_0x4c9cd3(0x1c8)][_0x4c9cd3(0x232)](_0x4c9cd3(0x1f7),_0x102e70)[_0x4c9cd3(0x207)]=!0x1);}const _0x2d3223=_0x495498[_0x4c9cd3(0x1de)](_0x15e401,this[_0x4c9cd3(0x1c8)]);return _0x2d3223[_0x4c9cd3(0x1d1)]=_0x15e401[_0x4c9cd3(0x1d1)],_0x2d3223[_0x4c9cd3(0x15f)]=_0x3e29aa,_0x2d3223[_0x4c9cd3(0x211)]=_0x3e29aa?null:_0x22df02[_0x448320][_0x4c9cd3(0x1a8)],_0x2d3223[_0x4c9cd3(0x1b0)]=_0x4c9cd3(0x1d2)===_0x22df02[_0x448320][_0x4c9cd3(0x22d)],_0x2d3223[_0x4c9cd3(0x234)]=_0x22df02[_0x448320][_0x4c9cd3(0x234)],_0x2d3223;});}[_0x42231a(0x22b)](){const _0x257d14=_0x42231a;this[_0x257d14(0x16e)]=!0x0,this[_0x257d14(0x1c6)]()?this[_0x257d14(0x240)]():this[_0x257d14(0x16e)]=!0x1;}[_0x42231a(0x1c6)](){const _0x3efa23=_0x42231a,_0xd512e2=this[_0x3efa23(0x14e)][_0x3efa23(0x23f)][_0x3efa23(0x247)](_0x9eb648)[_0x3efa23(0x1f2)][_0x3efa23(0x247)](this[_0x3efa23(0x1e5)]);return!this[_0x3efa23(0x14e)][_0x3efa23(0x1ac)]&&!!_0xd512e2&&_0xd512e2[_0x3efa23(0x1f0)]>0x1&&this[_0x3efa23(0x16e)];}[_0x42231a(0x1a0)](){const _0x5d0f47=_0x42231a;return this[_0x5d0f47(0x153)][_0x5d0f47(0x1f0)]>0x0||this[_0x5d0f47(0x1c6)]();}}class J extends Error{}function Q(_0x4716a4,_0x1754da){const _0x4be83f=_0x42231a;for(const _0x19f32c of _0x4716a4)_0x19f32c[_0x4be83f(0x17e)]=_0x1754da++;}class X{[_0x42231a(0x1ae)];[_0x42231a(0x1bb)];constructor(_0x498de4){const _0x5293d1=_0x42231a;this[_0x5293d1(0x1ae)]=_0x498de4,this[_0x5293d1(0x1bb)]=new WeakMap();}[_0x42231a(0x177)](_0x887d27){const _0x6de75c=_0x42231a;let _0x172016=_0x887d27[_0x6de75c(0x1f0)];for(;_0x172016--;){const _0x57163a=_0x887d27[_0x172016];if(!this[_0x6de75c(0x1ae)][_0x6de75c(0x1c2)](_0x57163a)){if(!this[_0x6de75c(0x1bb)][_0x6de75c(0x1c2)](_0x57163a)){const _0xb5bc82=_0x585be3()[_0x6de75c(0x242)](0x1,0x12);this[_0x6de75c(0x1bb)][_0x6de75c(0x16f)](_0x57163a,_0xb5bc82);}return this[_0x6de75c(0x1bb)][_0x6de75c(0x247)](_0x57163a);}}}[_0x42231a(0x1e8)](_0x206ec5,_0x3d8e79){const _0x5753cd=_0x42231a;if(!_0x3d8e79)return;let _0xb5d03f=_0x206ec5[_0x5753cd(0x1f0)];for(;_0xb5d03f--;){const _0x4ddc48=_0x206ec5[_0xb5d03f];this[_0x5753cd(0x1ae)][_0x5753cd(0x1c2)](_0x4ddc48)||this[_0x5753cd(0x1bb)][_0x5753cd(0x16f)](_0x4ddc48,_0x3d8e79);}}}
23
+ function _0xc8cb(_0x1ec0dc,_0x171656){const _0x3e9053=_0x3e90();return _0xc8cb=function(_0xc8cb74,_0x10e33d){_0xc8cb74=_0xc8cb74-0x188;let _0x454d54=_0x3e9053[_0xc8cb74];return _0x454d54;},_0xc8cb(_0x1ec0dc,_0x171656);}const _0x4f492b=_0xc8cb;(function(_0x129539,_0x3a665c){const _0x3893c1=_0xc8cb,_0x4536f5=_0x129539();while(!![]){try{const _0x17779f=-parseInt(_0x3893c1(0x284))/0x1+parseInt(_0x3893c1(0x218))/0x2*(-parseInt(_0x3893c1(0x21d))/0x3)+parseInt(_0x3893c1(0x1cd))/0x4+-parseInt(_0x3893c1(0x219))/0x5*(-parseInt(_0x3893c1(0x1f6))/0x6)+parseInt(_0x3893c1(0x28c))/0x7+-parseInt(_0x3893c1(0x1a7))/0x8+parseInt(_0x3893c1(0x1e4))/0x9;if(_0x17779f===_0x3a665c)break;else _0x4536f5['push'](_0x4536f5['shift']());}catch(_0x716e28){_0x4536f5['push'](_0x4536f5['shift']());}}}(_0x3e90,0x7f002));import{Plugin as _0x562497,PendingActions as _0x1337dd}from'ckeditor5/src/core.js';import{CKEditorError as _0x1091d2,version as _0xccf417,uid as _0x244c95}from'ckeditor5/src/utils.js';import{Notification as _0x271aff}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xdcce9a,NoOperation as _0x1ded9f,InsertOperation as _0x3b2724,MarkerOperation as _0x1aae9c,RootAttributeOperation as _0x5dfeeb,OperationFactory as _0x491e8f,History as _0x1f2242}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1022d2}from'./websocketgateway.js';import{Sessions as _0x409c07}from'./sessions.js';import{UserMarkers as _0x4cd1fe}from'./usermarkers.js';import{getTranslation as _0x8372f5}from'../common-translations.js';import{Compressor as _0x52aee0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x28de5a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x302cfb,CollaborativeEditingService as _0x439385}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x562497{static [_0x4f492b(0x1db)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x439385)());[_0x4f492b(0x242)];[_0x4f492b(0x1a6)];[_0x4f492b(0x202)];[_0x4f492b(0x259)];[_0x4f492b(0x193)];[_0x4f492b(0x1dd)];[_0x4f492b(0x20b)];[_0x4f492b(0x24c)];[_0x4f492b(0x25f)];[_0x4f492b(0x263)];[_0x4f492b(0x24d)];[_0x4f492b(0x227)];[_0x4f492b(0x252)];[_0x4f492b(0x249)];[_0x4f492b(0x1a8)];[_0x4f492b(0x1af)];[_0x4f492b(0x222)];[_0x4f492b(0x1bf)];static get[_0x4f492b(0x22b)](){return[_0x1022d2,_0x409c07,_0x4cd1fe,_0x1337dd,_0x28de5a,_0x271aff];}static get[_0x4f492b(0x18b)](){const _0x4ffffb=_0x4f492b;return _0x4ffffb(0x24a);}static get[_0x4f492b(0x1d2)](){return!0x0;}static get[_0x4f492b(0x1b2)](){return!0x0;}get[_0x4f492b(0x243)](){const _0x408473=_0x4f492b;return this[_0x408473(0x194)]+this[_0x408473(0x242)];}get[_0x4f492b(0x194)](){const _0x49b54c=_0x4f492b;return this[_0x49b54c(0x202)][_0x49b54c(0x203)]-this[_0x49b54c(0x242)];}get[_0x4f492b(0x1bc)](){const _0x285124=_0x4f492b,_0x4a348c=this[_0x285124(0x202)][_0x285124(0x23a)]();for(let _0x429d2d=_0x4a348c[_0x285124(0x234)]-0x1;_0x429d2d>=0x0;_0x429d2d--){const _0x53ab79=_0x4a348c[_0x429d2d];if(!this[_0x285124(0x222)][_0x285124(0x245)](_0x53ab79))return _0x53ab79[_0x285124(0x1c6)]+0x1-this[_0x285124(0x242)];}return 0x0;}constructor(_0x4253b4){const _0x4da259=_0x4f492b;if(super(_0x4253b4),this[_0x4da259(0x242)]=0x0,this[_0x4da259(0x1a6)]=null,this[_0x4da259(0x202)]=new _0x1f2242(),this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1fe)](_0x4da259(0x189),{}),this[_0x4da259(0x259)]=this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x253)),!this[_0x4da259(0x259)])throw new _0x1091d2(_0x4da259(0x1bb),this);const _0x229db4=_0x4253b4[_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x198))||_0xccf417;this[_0x4da259(0x193)]=new RealTimeCollaborationClient[(_0x4da259(0x1db))](_0x229db4,this[_0x4da259(0x259)]),this[_0x4da259(0x1dd)]=this[_0x4da259(0x26b)][_0x4da259(0x1c4)][_0x4da259(0x207)],this[_0x4da259(0x20b)]=new _0x52aee0(),this[_0x4da259(0x24c)]=[],this[_0x4da259(0x25f)]=new WeakSet(),this[_0x4da259(0x263)]=new Set(),this[_0x4da259(0x1d4)](_0x4da259(0x26c),!0x1),this[_0x4da259(0x1d4)](_0x4da259(0x26e),!0x1),this[_0x4da259(0x24d)]=null,this[_0x4da259(0x227)]=!0x1,this[_0x4da259(0x252)]=null,this[_0x4da259(0x249)]=0x12c,this[_0x4da259(0x1a8)]=this[_0x4da259(0x249)],this[_0x4da259(0x1af)]=null,this[_0x4da259(0x222)]=new WeakSet(),this[_0x4da259(0x1bf)]=new J(this[_0x4da259(0x222)]);}[_0x4f492b(0x204)](){const _0x262f4a=_0x4f492b,_0x2c9c93=this[_0x262f4a(0x26b)],_0x10b4dd=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x28de5a),_0x184a46=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x1022d2);this[_0x262f4a(0x26d)](_0x10b4dd,_0x262f4a(0x1ca),(_0x51afa,_0x219ea4)=>{const _0x235cb5=_0x262f4a,_0x58d75c=_0x219ea4[0x0];_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=_0x10b4dd[_0x235cb5(0x1ed)](_0x58d75c[_0x235cb5(0x1f3)]),_0x51afa[_0x235cb5(0x265)]()),null===_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=null,_0x51afa[_0x235cb5(0x265)]());},{'priority':_0x262f4a(0x250)}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1c4)][_0x262f4a(0x207)][_0x262f4a(0x271)],_0x262f4a(0x1e5),(_0x1b3c6d,_0x4a4b15)=>{const _0x166c2d=_0x262f4a;_0x4a4b15[_0x166c2d(0x1e9)]&&this[_0x166c2d(0x22c)]();}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1b6)][_0x262f4a(0x1e3)],_0x262f4a(0x201),()=>{const _0x480cef=_0x262f4a;this[_0x480cef(0x22c)]();}),this[_0x262f4a(0x261)](),_0x2c9c93[_0x262f4a(0x1c4)]['on'](_0x262f4a(0x20d),(_0x11e405,_0x1f5114)=>{const _0x57f58f=_0x262f4a,_0x45ab90=_0x1f5114[0x0];_0x45ab90[_0x57f58f(0x1d7)]&&(this[_0x57f58f(0x257)](_0x45ab90),this[_0x57f58f(0x26a)]()&&this[_0x57f58f(0x248)]());}),this[_0x262f4a(0x18c)](),this[_0x262f4a(0x1d8)](_0x262f4a(0x1f2))['to'](_0x184a46,_0x262f4a(0x24b),this,_0x262f4a(0x26e),(_0x216355,_0x4fac7f)=>_0x262f4a(0x20c)===_0x216355&&!_0x4fac7f),this['on'](_0x262f4a(0x256),()=>{const _0x112f61=_0x262f4a;this[_0x112f61(0x1f2)]?_0x2c9c93[_0x112f61(0x244)](_0x112f61(0x1a1)):_0x2c9c93[_0x112f61(0x21a)](_0x112f61(0x1a1));}),this[_0x262f4a(0x1f2)]?_0x2c9c93[_0x262f4a(0x244)](_0x262f4a(0x1a1)):_0x2c9c93[_0x262f4a(0x21a)](_0x262f4a(0x1a1)),this[_0x262f4a(0x1d4)](_0x262f4a(0x237),!0x1);}async[_0x4f492b(0x1ec)](){const _0x428b16=_0x4f492b,_0x184cc8=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x409c07),_0x1df386=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x1022d2);try{this[_0x428b16(0x26c)]=!0x0,_0x184cc8[_0x428b16(0x278)](this[_0x428b16(0x259)]);const _0x75c9b3=await this[_0x428b16(0x193)][_0x428b16(0x1ec)](_0x1df386[_0x428b16(0x1b7)],this[_0x428b16(0x1bc)]);await this[_0x428b16(0x19e)](_0x75c9b3)&&(this[_0x428b16(0x26c)]=!0x1,this[_0x428b16(0x190)]());const _0x537690=await this[_0x428b16(0x193)][_0x428b16(0x1e7)]();_0x184cc8[_0x428b16(0x1b9)](this[_0x428b16(0x259)],_0x537690),this[_0x428b16(0x1ff)](),this[_0x428b16(0x237)]=!0x0;}catch(_0x1fd1e0){if(function(_0x238196){const _0x355685=_0x428b16;return _0x355685(0x22f)===_0x238196[_0x355685(0x1f8)];}(_0x1fd1e0)&&this[_0x428b16(0x1a6)])await this[_0x428b16(0x1e8)]();else{if(function(_0x325a03){const _0x27f7f8=_0x428b16;return _0x27f7f8(0x26f)===_0x325a03[_0x27f7f8(0x1f8)];}(_0x1fd1e0)){const _0x64b8b9=_0x8372f5(this[_0x428b16(0x26b)][_0x428b16(0x200)],_0x428b16(0x233));this[_0x428b16(0x1a5)](_0x64b8b9);}else{if(!(_0x1fd1e0 instanceof $))throw _0x1fd1e0;this[_0x428b16(0x1a5)]();}}}}[_0x4f492b(0x1a9)](){const _0x3ac602=_0x4f492b,_0x460094=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x1022d2),_0x52bae3=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x409c07);this[_0x3ac602(0x26b)][_0x3ac602(0x21a)](_0x3ac602(0x212)),_0x52bae3[_0x3ac602(0x21c)][_0x3ac602(0x245)](this[_0x3ac602(0x259)])&&_0x52bae3[_0x3ac602(0x278)](this[_0x3ac602(0x259)]),_0x460094[_0x3ac602(0x18e)](this),this[_0x3ac602(0x1f5)](),super[_0x3ac602(0x1a9)]();}async[_0x4f492b(0x19e)](_0x3d584c){const _0x3ee981=_0x4f492b;if(this[_0x3ee981(0x1a6)]!==_0x3d584c[_0x3ee981(0x1a6)]&&this[_0x3ee981(0x1af)]!==_0x3d584c[_0x3ee981(0x1d5)])throw new $();return this[_0x3ee981(0x1a6)]=_0x3d584c[_0x3ee981(0x1a6)],this[_0x3ee981(0x283)]([],{..._0x3d584c,'wereChangesApplied':!0x1,'data':_0x3d584c[_0x3ee981(0x1fd)]},_0x3ee981(0x1ec));}async[_0x4f492b(0x195)](_0xda8841,_0x3e342e=!0x1){const _0x524f70=_0x4f492b,{connection:_0xa978c8}=this[_0x524f70(0x26b)][_0x524f70(0x1b8)][_0x524f70(0x1ce)](_0x1022d2);RealTimeCollaborationClient[_0x524f70(0x1db)][_0x524f70(0x1e7)](_0xa978c8,this[_0x524f70(0x259)])[_0x524f70(0x25c)](_0x4f0a19=>this[_0x524f70(0x241)](_0x4f0a19))[_0x524f70(0x262)](_0x1c1947=>{const _0x329e41=_0x524f70;this[_0x329e41(0x208)](_0x329e41(0x287),_0x1c1947);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1ee),this[_0x524f70(0x1d1)][_0x524f70(0x1d8)](this)),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x213),(_0x331c49,_0x180623)=>{const _0x2a54d0=_0x524f70;this[_0x2a54d0(0x208)](_0x2a54d0(0x1ef),_0x180623);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1b5),()=>{const _0x479c47=_0x524f70;this[_0x479c47(0x237)]=!0x1;});const _0x5774e5=this[_0x524f70(0x1bf)][_0x524f70(0x264)](_0xda8841);this[_0x524f70(0x26c)]=!0x0;const _0x57e36c=await this[_0x524f70(0x193)][_0x524f70(0x192)](_0xa978c8,this[_0x524f70(0x228)](_0xda8841),_0x5774e5);if(this[_0x524f70(0x1a6)]=_0x57e36c[_0x524f70(0x1a6)],_0x3e342e){if(!_0x57e36c[_0x524f70(0x1e6)])return void this[_0x524f70(0x1a5)]();this[_0x524f70(0x26c)]=!0x1,this[_0x524f70(0x190)](),this[_0x524f70(0x202)][_0x524f70(0x22a)](),this[_0x524f70(0x242)]=_0x57e36c[_0x524f70(0x266)],this[_0x524f70(0x202)][_0x524f70(0x203)]=this[_0x524f70(0x242)],await this[_0x524f70(0x283)](_0xda8841,_0x57e36c,_0x524f70(0x214));}else await this[_0x524f70(0x1aa)](_0x57e36c,_0xda8841);this[_0x524f70(0x1ff)](),this[_0x524f70(0x237)]=!0x0;}[_0x4f492b(0x1ff)](){const _0x17ca0d=_0x4f492b,_0x5e0740=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x409c07),_0x15bdd1=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x4cd1fe),_0x52d6ce=_0x5e0740[_0x17ca0d(0x21c)][_0x17ca0d(0x1ce)](this[_0x17ca0d(0x259)]);_0x52d6ce&&_0x52d6ce[_0x17ca0d(0x234)]>0x1?_0x15bdd1[_0x17ca0d(0x1e2)]():this[_0x17ca0d(0x26d)](_0x5e0740,_0x17ca0d(0x254)+this[_0x17ca0d(0x259)],()=>{const _0x48ba22=_0x17ca0d;0x2===_0x5e0740[_0x48ba22(0x21c)][_0x48ba22(0x1ce)](this[_0x48ba22(0x259)])[_0x48ba22(0x234)]&&_0x15bdd1[_0x48ba22(0x1e2)]();});}async[_0x4f492b(0x1d1)](_0x373188,_0x5e0f39,_0x51e06e,_0x9aac74){const _0x23e765=_0x4f492b;if(!this[_0x23e765(0x26c)]&&this[_0x23e765(0x1dd)][_0x23e765(0x203)]==_0x5e0f39){const _0x59a081=this[_0x23e765(0x268)](_0x51e06e,_0x9aac74);await this[_0x23e765(0x211)](_0x59a081),this[_0x23e765(0x1c2)](_0x59a081,_0x5e0f39,_0x51e06e[_0x23e765(0x1d5)])||this[_0x23e765(0x208)](_0x23e765(0x1f7));}}async[_0x4f492b(0x1e8)](){const _0x2b1029=_0x4f492b;this[_0x2b1029(0x1f5)]();const {locale:_0x232114}=this[_0x2b1029(0x26b)];let _0x4a8c52;try{_0x4a8c52=await this[_0x2b1029(0x193)][_0x2b1029(0x276)]();}catch{const _0x4dd375=_0x8372f5(_0x232114,_0x2b1029(0x267));return void this[_0x2b1029(0x1a5)](_0x4dd375);}const _0x283e4c=_0x4a8c52[_0x2b1029(0x215)]||_0x4a8c52[_0x2b1029(0x225)];if(this[_0x2b1029(0x1af)]!==_0x283e4c[_0x2b1029(0x1d5)]){const _0x12298b=_0x8372f5(_0x232114,_0x2b1029(0x20f));return void this[_0x2b1029(0x1a5)](_0x12298b);}await this[_0x2b1029(0x195)](this[_0x2b1029(0x26b)][_0x2b1029(0x1c4)][_0x2b1029(0x207)][_0x2b1029(0x20a)][_0x2b1029(0x23a)](),!0x0);}[_0x4f492b(0x1f5)](){const _0x435abd=_0x4f492b;this[_0x435abd(0x193)][_0x435abd(0x1da)](),this[_0x435abd(0x24c)]=[],clearTimeout(this[_0x435abd(0x252)]),this[_0x435abd(0x28a)](this[_0x435abd(0x193)]);}[_0x4f492b(0x241)](_0x4e64e9){const _0x752cfc=_0x4f492b,_0x45c46e=this[_0x752cfc(0x26b)][_0x752cfc(0x1b8)][_0x752cfc(0x1ce)](_0x409c07);this[_0x752cfc(0x26d)](_0x45c46e,_0x752cfc(0x254)+this[_0x752cfc(0x259)],(_0x4fb453,{session:_0x35be5d})=>{const _0x7b77e=_0x752cfc;if(_0x35be5d['id']===_0x45c46e[_0x7b77e(0x1f9)]){_0x4fb453[_0x7b77e(0x23d)]();const _0xe3aaa3=this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x245)](_0x7b77e(0x1f4))&&this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x1f4));let _0x4cb034=_0x35be5d[_0x7b77e(0x22d)];_0xe3aaa3&&_0xe3aaa3[_0x7b77e(0x1de)]&&(_0x4cb034=_0x4cb034[_0x7b77e(0x1a4)](_0x395d18=>_0x7b77e(0x1a0)!==_0x395d18)),this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x275))[_0x7b77e(0x226)](_0x4cb034,this[_0x7b77e(0x259)]);}}),_0x45c46e[_0x752cfc(0x1b9)](this[_0x752cfc(0x259)],_0x4e64e9);}[_0x4f492b(0x261)](){const _0x5a1c8b=_0x4f492b,_0x22ef7a=this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)];this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)]=(..._0x2d39f7)=>{const _0x4fa6ce=_0x5a1c8b;if(!_0x2d39f7[_0x2d39f7[_0x4fa6ce(0x234)]-0x1][_0x4fa6ce(0x246)])throw new _0x1091d2(_0x4fa6ce(0x277),this);_0x22ef7a[_0x4fa6ce(0x19d)](this[_0x4fa6ce(0x26b)][_0x4fa6ce(0x1fd)],_0x2d39f7);};}[_0x4f492b(0x18c)](){const _0x4386f4=_0x4f492b;this[_0x4386f4(0x26b)][_0x4386f4(0x1fd)]['on'](_0x4386f4(0x204),(_0x358131,[_0x79ff24])=>{const _0x576c42=_0x4386f4;if(this[_0x576c42(0x1dd)][_0x576c42(0x203)])throw new _0x1091d2(_0x576c42(0x240),this);_0x358131[_0x576c42(0x265)](),this[_0x576c42(0x229)]();const _0x32be4e=this[_0x576c42(0x26b)][_0x576c42(0x1f0)][_0x576c42(0x1ce)](_0x576c42(0x1e0)),_0x4b96a1=this[_0x576c42(0x1fa)](_0x79ff24,_0x32be4e);0x0==_0x4b96a1[_0x576c42(0x234)]&&_0x4b96a1[_0x576c42(0x223)](new _0x1ded9f(0x0)),_0x358131[_0x576c42(0x282)]=this[_0x576c42(0x195)](_0x4b96a1)[_0x576c42(0x25c)](()=>{const _0x4486c9=_0x576c42;this[_0x4486c9(0x26b)][_0x4486c9(0x1b8)][_0x4486c9(0x1ce)](_0x1022d2)[_0x4486c9(0x191)](this),this[_0x4486c9(0x26b)][_0x4486c9(0x1fd)][_0x4486c9(0x209)](_0x4486c9(0x1d3));})[_0x576c42(0x262)](_0x4b4386=>this[_0x576c42(0x208)](_0x576c42(0x1ab),_0x4b4386))[_0x576c42(0x285)](()=>this[_0x576c42(0x190)]());},{'priority':_0x4386f4(0x250)}),this[_0x4386f4(0x26b)]['on'](_0x4386f4(0x1f1),async(_0x14a39c,[_0x550715,_0x59b725])=>{const _0x5e73b2=_0x4386f4;_0x14a39c[_0x5e73b2(0x265)]();const _0x53c1cb=this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x207)][_0x5e73b2(0x205)](_0x550715);if(!this[_0x5e73b2(0x263)][_0x5e73b2(0x245)](_0x550715)){const _0x28444d=_0x59b725&&_0x59b725[_0x5e73b2(0x1fd)]?_0x59b725[_0x5e73b2(0x1fd)]:'',_0x22b903=_0x59b725&&_0x59b725[_0x5e73b2(0x270)]?_0x59b725[_0x5e73b2(0x270)]:{};await this[_0x5e73b2(0x23f)](_0x550715,_0x28444d,_0x22b903);}this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x217)]({'isUndoable':!0x1},()=>{const _0x17275d=_0x5e73b2;_0x53c1cb[_0x17275d(0x22e)]=!0x0,this[_0x17275d(0x26b)][_0x17275d(0x1c4)][_0x17275d(0x207)][_0x17275d(0x251)][_0x17275d(0x1a2)](_0x53c1cb);});},{'priority':_0x4386f4(0x250)});}async[_0x4f492b(0x211)](_0x27d065){const _0x3c9f72=_0x4f492b,_0x21b869=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x28de5a),{connection:_0x4dda0d}=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x1022d2),_0x42c1a0=new Set();for(const _0x5dad41 of _0x27d065){const _0x6edb08=_0x5dad41[_0x3c9f72(0x1f3)];_0x6edb08&&!_0x21b869[_0x3c9f72(0x1ed)](_0x6edb08)&&_0x42c1a0[_0x3c9f72(0x199)](_0x6edb08);}if(0x0===_0x42c1a0[_0x3c9f72(0x21f)])return;const _0x4ec810=await _0x302cfb[_0x3c9f72(0x27c)](_0x4dda0d,Array[_0x3c9f72(0x27f)](_0x42c1a0));for(const _0x1156c4 of _0x4ec810)_0x21b869[_0x3c9f72(0x1ed)](_0x1156c4['id'])||_0x21b869[_0x3c9f72(0x274)](_0x1156c4);}[_0x4f492b(0x1fa)](_0x5e5517,_0x2eb836={}){const _0x661fff=_0x4f492b,_0x5b75b1=this[_0x661fff(0x26b)][_0x661fff(0x1c4)],_0x506844=[];let _0x275566=0x0;const _0x2eb950=_0x661fff(0x1c0)==typeof _0x5e5517?{'main':_0x5e5517}:_0x5e5517;for(const _0x443099 of Object[_0x661fff(0x23e)](_0x2eb950)){if(!this[_0x661fff(0x1dd)][_0x661fff(0x19b)][_0x661fff(0x245)](_0x443099))throw new _0x1091d2(_0x661fff(0x25d),this);const _0x583324=this[_0x661fff(0x26b)][_0x661fff(0x1fd)][_0x661fff(0x1c1)](_0x2eb950[_0x443099]),_0x255926=this[_0x661fff(0x1dd)][_0x661fff(0x205)](_0x443099),_0xe6f2f4=new _0x3b2724(_0x5b75b1[_0x661fff(0x197)](_0x255926,0x0),_0x583324,_0x275566++);_0x506844[_0x661fff(0x223)](_0xe6f2f4);for(const [_0x464bd8,_0x555959]of _0x583324[_0x661fff(0x1b1)]){const _0x618801=_0x5b75b1[_0x661fff(0x231)](_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x27e)][_0x661fff(0x279)][_0x661fff(0x1cb)]()),_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x224)][_0x661fff(0x279)][_0x661fff(0x1cb)]())),_0x5ea1b7=new _0x1aae9c(_0x464bd8,null,_0x618801,_0x5b75b1[_0x661fff(0x1b1)],!0x0,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5ea1b7);}}if(_0x2eb836)for(const [_0x4e5a32,_0x97b9a3]of Object[_0x661fff(0x1ac)](_0x2eb836)){const _0x226cd5=_0x5b75b1[_0x661fff(0x207)][_0x661fff(0x205)](_0x4e5a32);if(!_0x226cd5)throw new _0x1091d2(_0x661fff(0x220),null);for(const [_0x38b161,_0x16a455]of Object[_0x661fff(0x1ac)](_0x97b9a3))if(null!==_0x16a455){const _0x5609f2=new _0x5dfeeb(_0x226cd5,_0x38b161,null,_0x16a455,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5609f2);}}return _0x506844;}async[_0x4f492b(0x23f)](_0x3d52d6,_0x262089,_0x41c044){const _0x4f16a3=_0x4f492b;this[_0x4f16a3(0x1fa)]({[_0x3d52d6]:_0x262089},{[_0x3d52d6]:_0x41c044})[_0x4f16a3(0x25b)]((_0x2b84e3,_0x53c1be)=>{const _0x5f1584=_0x4f16a3;_0x2b84e3[_0x5f1584(0x1c6)]=this[_0x5f1584(0x1dd)][_0x5f1584(0x203)]+_0x53c1be,_0x2b84e3[_0x5f1584(0x27d)]=!0x0,this[_0x5f1584(0x257)](_0x2b84e3);}),this[_0x4f16a3(0x248)](),await this[_0x4f16a3(0x18a)]();}async[_0x4f492b(0x1aa)](_0x4130d0,_0x2393fb){const _0x531c7a=_0x4f492b;let _0x41a46c;this[_0x531c7a(0x242)]=_0x4130d0[_0x531c7a(0x266)];const _0x1d1028=_0x4130d0[_0x531c7a(0x1e6)]&&!_0x4130d0[_0x531c7a(0x23c)],_0x43b089=_0x1d1028?0x0:_0x4130d0[_0x531c7a(0x1fd)][_0x531c7a(0x1c6)];if(_0x2393fb[_0x531c7a(0x25b)](_0x147976=>{const _0x2a35e5=_0x531c7a;_0x147976[_0x2a35e5(0x27d)]=!0x0,_0x147976[_0x2a35e5(0x255)]=_0x4130d0[_0x2a35e5(0x1df)],_0x147976[_0x2a35e5(0x1f3)]=null;}),_0x1d1028)_0x41a46c=_0x2393fb,this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);else{if(_0x4130d0[_0x531c7a(0x23c)]){const _0x39cad1=this[_0x531c7a(0x1fa)](_0x4130d0[_0x531c7a(0x23c)]);this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)],_0x39cad1[_0x531c7a(0x25b)](_0x2d4cd5=>{const _0x2cf5a0=_0x531c7a;_0x2d4cd5[_0x2cf5a0(0x1c6)]-=_0x39cad1[_0x2cf5a0(0x234)],_0x2d4cd5[_0x2cf5a0(0x255)]=_0x4130d0[_0x2cf5a0(0x1df)],_0x2d4cd5[_0x2cf5a0(0x27d)]=!0x0,_0x2d4cd5[_0x2cf5a0(0x1f3)]=null;}),this[_0x531c7a(0x221)](_0x39cad1,!0x0),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)]+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x39cad1);}this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=_0x43b089,_0x41a46c=this[_0x531c7a(0x268)](_0x4130d0[_0x531c7a(0x1fd)],_0x4130d0[_0x531c7a(0x1b4)]),await this[_0x531c7a(0x211)](_0x41a46c),this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);}_0x4130d0[_0x531c7a(0x1d5)]&&(this[_0x531c7a(0x1bf)][_0x531c7a(0x1e1)](_0x41a46c,_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x1af)]=_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=_0x43b089+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x41a46c),_0x2393fb[_0x531c7a(0x1a4)](_0x51132c=>{const _0x28adcc=_0x531c7a,_0x2e9e50=this[_0x28adcc(0x288)](_0x51132c);return _0x2e9e50&&!this[_0x28adcc(0x263)][_0x28adcc(0x245)](_0x2e9e50);})[_0x531c7a(0x25b)]((_0x4133bb,_0x34737c)=>{const _0x31feb4=_0x531c7a;_0x4133bb[_0x31feb4(0x1c6)]=this[_0x31feb4(0x1dd)][_0x31feb4(0x203)]+_0x34737c,this[_0x31feb4(0x257)](_0x4133bb);}),this[_0x531c7a(0x26a)]()?(this[_0x531c7a(0x1a8)]=0x0,this[_0x531c7a(0x248)](!0x0),await this[_0x531c7a(0x18a)]()):(this[_0x531c7a(0x26c)]=!0x1,this[_0x531c7a(0x190)]());}[_0x4f492b(0x208)](_0x2d4089,_0x1daddd){const _0x136511=_0x4f492b,_0x1f8bdc=_0x1daddd&&_0x1daddd[_0x136511(0x236)];if(_0x1f8bdc&&_0x1f8bdc[_0x136511(0x19c)](_0x136511(0x18f)))throw _0x1daddd;const _0x342630=this[_0x136511(0x26b)][_0x136511(0x1b8)][_0x136511(0x1ce)](_0x1022d2);throw this[_0x136511(0x26c)]=!0x0,_0x342630[_0x136511(0x1da)](),this[_0x136511(0x26b)][_0x136511(0x21a)](_0x136511(0x1c9)),new _0x1091d2(_0x2d4089,this[_0x136511(0x26b)],_0x1f8bdc?{'originalError':_0x1f8bdc}:void 0x0);}[_0x4f492b(0x257)](_0x23df4e){const _0x27c9b6=_0x4f492b;this[_0x27c9b6(0x25f)][_0x27c9b6(0x245)](_0x23df4e)||(this[_0x27c9b6(0x25f)][_0x27c9b6(0x199)](_0x23df4e),this[_0x27c9b6(0x24c)][_0x27c9b6(0x223)](_0x23df4e),this[_0x27c9b6(0x24d)]||_0x27c9b6(0x1be)==_0x23df4e[_0x27c9b6(0x206)]&&!_0x23df4e[_0x27c9b6(0x1c7)]||this[_0x27c9b6(0x229)]());}[_0x4f492b(0x248)](_0x228938=!0x1){const _0x3eaf4d=_0x4f492b;!_0x228938&&this[_0x3eaf4d(0x26c)]||(this[_0x3eaf4d(0x26c)]=!0x0,clearTimeout(this[_0x3eaf4d(0x252)]),this[_0x3eaf4d(0x252)]=setTimeout(()=>{const _0x1d6eb7=_0x3eaf4d;this[_0x1d6eb7(0x1d9)]()[_0x1d6eb7(0x25c)](_0xa89597=>{const _0x4661d0=_0x1d6eb7;_0xa89597&&(this[_0x4661d0(0x190)](),this[_0x4661d0(0x26c)]=!0x1);})[_0x1d6eb7(0x262)](_0x22abd2=>{const _0xe9ba07=_0x1d6eb7;this[_0xe9ba07(0x190)](),this[_0xe9ba07(0x26c)]=!0x1,function(_0x1d434b){const _0x42a0aa=_0xe9ba07;return _0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x286))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1ea))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1fc));}(_0x22abd2)||this[_0xe9ba07(0x208)](_0x22abd2[_0xe9ba07(0x236)],_0x22abd2);});},this[_0x3eaf4d(0x1a8)]));}[_0x4f492b(0x18a)](){return new Promise(_0x120109=>{const _0x1f92ed=_0xc8cb;this['on'](_0x1f92ed(0x21b),()=>{_0x120109();});});}async[_0x4f492b(0x1d9)](){const _0x12e70b=_0x4f492b,_0x51fd44=this[_0x12e70b(0x26b)][_0x12e70b(0x1b8)][_0x12e70b(0x1ce)](_0x4cd1fe);if(this[_0x12e70b(0x269)]()&&(_0x51fd44[_0x12e70b(0x1e2)](),this[_0x12e70b(0x227)]=!0x1),!this[_0x12e70b(0x26a)]())return!0x0;const _0x526d7e=[...this[_0x12e70b(0x24c)]];for(const _0x38f9ef of _0x526d7e)_0x38f9ef[_0x12e70b(0x289)]=this[_0x12e70b(0x1dd)][_0x12e70b(0x20a)][_0x12e70b(0x235)](_0x38f9ef);const _0x1ef3e9=this[_0x12e70b(0x1bf)][_0x12e70b(0x264)](_0x526d7e),_0x3b9745=G++,_0xe1a165=this[_0x12e70b(0x228)](_0x526d7e),_0x59109e=await this[_0x12e70b(0x193)][_0x12e70b(0x1d6)](_0xe1a165,_0xe1a165[_0x12e70b(0x1c6)],_0x1ef3e9);try{return await this[_0x12e70b(0x283)](_0x526d7e,_0x59109e,_0x3b9745);}catch(_0x29afaa){return this[_0x12e70b(0x208)](_0x12e70b(0x1c8),_0x29afaa);}}async[_0x4f492b(0x283)](_0x5810c3,_0x24d0b7,_0x20cf69){const _0x40d878=_0x4f492b;if(_0x40d878(0x213)in _0x24d0b7)throw _0x24d0b7[_0x40d878(0x213)];let _0x2d1ace=!0x1;if(_0x24d0b7[_0x40d878(0x1e6)]){_0x24d0b7[_0x40d878(0x1d5)]&&(this[_0x40d878(0x1af)]=_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x330056=>!_0x5810c3[_0x40d878(0x210)](_0x330056));for(const _0x35c258 of _0x5810c3)_0x35c258[_0x40d878(0x255)]=_0x40d878(0x1c5)in _0x24d0b7&&_0x24d0b7[_0x40d878(0x1c5)]||void 0x0;K(_0x5810c3,_0x24d0b7[_0x40d878(0x203)]-_0x5810c3[_0x40d878(0x234)]),this[_0x40d878(0x27a)](_0x5810c3);const _0x1edfb9=_0x5810c3[_0x40d878(0x1a4)](_0x5e3b89=>{const _0x14651a=_0x40d878;if(!_0x5e3b89[_0x14651a(0x27d)])return!0x1;const _0x4cf00e=this[_0x14651a(0x288)](_0x5e3b89);return _0x4cf00e&&!this[_0x14651a(0x263)][_0x14651a(0x245)](_0x4cf00e);});K(_0x1edfb9,this[_0x40d878(0x1dd)][_0x40d878(0x203)]),this[_0x40d878(0x221)](_0x1edfb9),_0x2d1ace=!0x0,this[_0x40d878(0x1a8)]=this[_0x40d878(0x249)];}else{const _0x719abd=this[_0x40d878(0x268)](_0x24d0b7[_0x40d878(0x1fd)],_0x24d0b7[_0x40d878(0x1b4)])[_0x40d878(0x1a4)](_0x444552=>_0x444552[_0x40d878(0x1c6)]>=this[_0x40d878(0x194)]);_0x719abd[_0x40d878(0x25b)](_0x6bde95=>this[_0x40d878(0x19a)](_0x6bde95)),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x51943c=>!_0x51943c[_0x40d878(0x27d)]||!this[_0x40d878(0x263)][_0x40d878(0x245)](this[_0x40d878(0x288)](_0x51943c))),this[_0x40d878(0x24c)][_0x40d878(0x234)]&&K(this[_0x40d878(0x24c)],this[_0x40d878(0x24c)][0x0][_0x40d878(0x1c6)]),await this[_0x40d878(0x211)](_0x719abd),_0x2d1ace=this[_0x40d878(0x1c2)](_0x719abd,_0x24d0b7[_0x40d878(0x203)],_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x1a8)]=Math[_0x40d878(0x216)](this[_0x40d878(0x1a8)]/0x2);}return _0x2d1ace?!this[_0x40d878(0x26a)]()||(this[_0x40d878(0x248)](!0x0),!0x1):this[_0x40d878(0x208)](_0x40d878(0x1ae));}[_0x4f492b(0x1c2)](_0x4d9cb9,_0x16993f,_0x212df3){const _0x506316=_0x4f492b;try{const _0x5eb8fb={'document':this[_0x506316(0x1dd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x446059,operationsB:_0x377938,originalOperations:_0x335202}=_0xdcce9a(_0x4d9cb9,this[_0x506316(0x24c)],_0x5eb8fb);K(_0x446059,this[_0x506316(0x1dd)][_0x506316(0x203)]),K(_0x377938,_0x16993f);for(const _0x3819a7 of _0x446059){const _0x3d8624=_0x335202[_0x506316(0x1ce)](_0x3819a7);_0x3819a7[_0x506316(0x1f3)]=_0x3d8624?_0x3d8624[_0x506316(0x1f3)]:null;}_0x212df3&&(this[_0x506316(0x1bf)][_0x506316(0x1e1)](_0x4d9cb9,_0x212df3),this[_0x506316(0x1af)]=_0x212df3),this[_0x506316(0x24c)]=[..._0x377938],this[_0x506316(0x221)](_0x446059),this[_0x506316(0x27a)](_0x4d9cb9);}catch(_0x51d2d5){return console[_0x506316(0x213)](_0x51d2d5),!0x1;}return!0x0;}[_0x4f492b(0x221)](_0x32bf1a,_0x51e7ed=!0x1){const _0x458b03=_0x4f492b;this[_0x458b03(0x26b)][_0x458b03(0x1c4)][_0x458b03(0x217)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5aa922=>{const _0xede49c=_0x458b03;for(const _0x19a30a of _0x32bf1a)this[_0xede49c(0x25f)][_0xede49c(0x199)](_0x19a30a),this[_0xede49c(0x19a)](_0x19a30a),_0x5aa922[_0xede49c(0x1ad)][_0xede49c(0x188)](_0x19a30a),this[_0xede49c(0x26b)][_0xede49c(0x1c4)][_0xede49c(0x20d)](_0x19a30a);});}[_0x4f492b(0x19a)](_0x43942e){const _0xecc448=_0x4f492b,_0x5d0090=this[_0xecc448(0x288)](_0x43942e);_0x5d0090&&this[_0xecc448(0x263)][_0xecc448(0x199)](_0x5d0090);}[_0x4f492b(0x288)](_0x447837){const _0x34d100=_0x4f492b;let _0x5cbf49,_0x12a3e6;switch(_0x447837[_0x34d100(0x206)]){case _0x34d100(0x1fb):_0x5cbf49=_0x447837[_0x34d100(0x1b0)][_0x34d100(0x1a3)];break;case _0x34d100(0x1be):if(_0x12a3e6=_0x447837[_0x34d100(0x196)],!_0x12a3e6)return null;_0x5cbf49=_0x12a3e6[_0x34d100(0x1a3)];break;case _0x34d100(0x1b3):_0x5cbf49=_0x447837[_0x34d100(0x1a3)];break;case _0x34d100(0x1bd):_0x5cbf49=_0x447837[_0x34d100(0x258)];break;case _0x34d100(0x1cf):_0x5cbf49=_0x447837[_0x34d100(0x20e)][_0x34d100(0x1a3)];break;default:return null;}return _0x5cbf49[_0x34d100(0x280)];}[_0x4f492b(0x27a)](_0x635f51){const _0x1b3f1e=_0x4f492b;_0x635f51[_0x1b3f1e(0x25b)](_0x830e57=>{const _0x13e82f=_0x1b3f1e,_0x312af6=_0x830e57[_0x13e82f(0x1cc)]();_0x312af6[_0x13e82f(0x1f3)]=_0x830e57[_0x13e82f(0x1f3)],_0x312af6[_0x13e82f(0x27d)]=!!_0x830e57[_0x13e82f(0x27d)],_0x312af6[_0x13e82f(0x255)]=_0x830e57[_0x13e82f(0x255)],_0x312af6[_0x13e82f(0x1c6)]+=this[_0x13e82f(0x242)],_0x830e57[_0x13e82f(0x247)]&&this[_0x13e82f(0x222)][_0x13e82f(0x199)](_0x312af6),this[_0x13e82f(0x202)][_0x13e82f(0x188)](_0x312af6);});}[_0x4f492b(0x1a5)](_0x2d66f2){const _0x232c33=_0x4f492b,_0x38368d=this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x232c33(0x19f)),_0x21ec1c=this[_0x232c33(0x26b)][_0x232c33(0x200)];_0x2d66f2||(_0x2d66f2=_0x8372f5(_0x21ec1c,_0x232c33(0x21e))),_0x38368d[_0x232c33(0x273)](_0x2d66f2,{'title':_0x8372f5(_0x21ec1c,_0x232c33(0x24e)),'namespace':_0x232c33(0x260)}),this[_0x232c33(0x26e)]=!0x0,clearTimeout(this[_0x232c33(0x252)]),this[_0x232c33(0x24c)]=[],this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x1022d2)[_0x232c33(0x1da)]();}[_0x4f492b(0x229)](){const _0x572ce3=_0x4f492b;this[_0x572ce3(0x24d)]||(this[_0x572ce3(0x24d)]=this[_0x572ce3(0x26b)][_0x572ce3(0x1b8)][_0x572ce3(0x1ce)](_0x1337dd)[_0x572ce3(0x199)](_0x8372f5(this[_0x572ce3(0x26b)][_0x572ce3(0x200)],_0x572ce3(0x25a))));}[_0x4f492b(0x190)](){const _0x3691af=_0x4f492b;this[_0x3691af(0x24d)]&&(this[_0x3691af(0x26b)][_0x3691af(0x1b8)][_0x3691af(0x1ce)](_0x1337dd)[_0x3691af(0x238)](this[_0x3691af(0x24d)]),this[_0x3691af(0x24d)]=null);}[_0x4f492b(0x228)](_0x294562){const _0x3f6066=_0x4f492b,_0x3eb37c=_0x294562[_0x3f6066(0x232)](_0x40b1df=>_0x40b1df[_0x3f6066(0x27b)]());return this[_0x3f6066(0x20b)][_0x3f6066(0x1c3)](_0x3eb37c);}[_0x4f492b(0x268)](_0x3c1ed9,_0x5c0c04){const _0x4bd679=_0x4f492b;return this[_0x4bd679(0x20b)][_0x4bd679(0x1eb)](_0x3c1ed9)[_0x4bd679(0x232)]((_0x5863aa,_0x5c0fe3)=>{const _0x4c4f67=_0x4bd679,_0x2651a4=_0x4c4f67(0x204)==_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)];if(_0x4c4f67(0x1ba)==_0x5863aa[_0x4c4f67(0x272)]){const _0x2fb6f6=_0x5863aa[_0x4c4f67(0x1b0)][_0x4c4f67(0x1a3)];!this[_0x4c4f67(0x1dd)][_0x4c4f67(0x205)](_0x2fb6f6)&&(this[_0x4c4f67(0x1dd)][_0x4c4f67(0x1dc)](_0x4c4f67(0x23b),_0x2fb6f6)[_0x4c4f67(0x28b)]=!0x1);}const _0x2f4c51=_0x491e8f[_0x4c4f67(0x281)](_0x5863aa,this[_0x4c4f67(0x1dd)]);return _0x2f4c51[_0x4c4f67(0x289)]=_0x5863aa[_0x4c4f67(0x289)],_0x2f4c51[_0x4c4f67(0x27d)]=_0x2651a4,_0x2f4c51[_0x4c4f67(0x1f3)]=_0x2651a4?null:_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x230)],_0x2f4c51[_0x4c4f67(0x247)]=_0x4c4f67(0x239)===_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)],_0x2f4c51[_0x4c4f67(0x255)]=_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x255)],_0x2f4c51;});}[_0x4f492b(0x22c)](){const _0xa043c7=_0x4f492b;this[_0xa043c7(0x227)]=!0x0,this[_0xa043c7(0x269)]()?this[_0xa043c7(0x248)]():this[_0xa043c7(0x227)]=!0x1;}[_0x4f492b(0x269)](){const _0x5d8899=_0x4f492b,_0x34fec5=this[_0x5d8899(0x26b)][_0x5d8899(0x1b8)][_0x5d8899(0x1ce)](_0x409c07)[_0x5d8899(0x21c)][_0x5d8899(0x1ce)](this[_0x5d8899(0x259)]);return!this[_0x5d8899(0x26b)][_0x5d8899(0x24f)]&&!!_0x34fec5&&_0x34fec5[_0x5d8899(0x234)]>0x1&&this[_0x5d8899(0x227)];}[_0x4f492b(0x26a)](){const _0xb139c2=_0x4f492b;return this[_0xb139c2(0x24c)][_0xb139c2(0x234)]>0x0||this[_0xb139c2(0x269)]();}}class $ extends Error{}function K(_0x46176c,_0x512867){const _0x4e40e7=_0x4f492b;for(const _0x2094da of _0x46176c)_0x2094da[_0x4e40e7(0x1c6)]=_0x512867++;}class J{[_0x4f492b(0x25e)];[_0x4f492b(0x1d0)];constructor(_0x4131e8){const _0x127a81=_0x4f492b;this[_0x127a81(0x25e)]=_0x4131e8,this[_0x127a81(0x1d0)]=new WeakMap();}[_0x4f492b(0x264)](_0x5cf8eb){const _0x348f19=_0x4f492b;let _0x13b48f=_0x5cf8eb[_0x348f19(0x234)];for(;_0x13b48f--;){const _0x1dccc3=_0x5cf8eb[_0x13b48f];if(!this[_0x348f19(0x25e)][_0x348f19(0x245)](_0x1dccc3)){if(!this[_0x348f19(0x1d0)][_0x348f19(0x245)](_0x1dccc3)){const _0x1db567=_0x244c95()[_0x348f19(0x1cb)](0x1,0x12);this[_0x348f19(0x1d0)][_0x348f19(0x1d4)](_0x1dccc3,_0x1db567);}return this[_0x348f19(0x1d0)][_0x348f19(0x1ce)](_0x1dccc3);}}}[_0x4f492b(0x1e1)](_0x348097,_0x4ec7ae){const _0x2e8a70=_0x4f492b;if(!_0x4ec7ae)return;let _0x4f4588=_0x348097[_0x2e8a70(0x234)];for(;_0x4f4588--;){const _0xe23ac7=_0x348097[_0x4f4588];this[_0x2e8a70(0x25e)][_0x2e8a70(0x245)](_0xe23ac7)||this[_0x2e8a70(0x1d0)][_0x2e8a70(0x1d4)](_0xe23ac7,_0x4ec7ae);}}}function _0x3e90(){const _0x4bedad=['__className','showWarning','addUser','Permissions','getDocumentDetails','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','unregister','path','_updateServerHistory','toJSON','getMany','_isInit','start','from','rootName','fromJSON','return','_handleServerResponse','177003oiJENZ','finally','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-session-connection-error','_getAffectedRoot','wasUndone','stopListening','_isAttached','3401237xhGmnQ','addOperation','collaboration','_waitUntilSynced','pluginName','_setUpDataInit','createPositionFromPath','removeFromReconnectionStack','realtimecollaborationclient','_clearPendingAction','addToReconnectionStack','connect','_service','_lastServerVersion','_connectService','newRange','createPositionAt','cloudServices.bundleVersion','add','_addKnownRoot','roots','startsWith','apply','_handleReconnectionResponse','Notification','document:write','rtc-offline','_bufferRootLoad','root','filter','_handleReconnectionError','sessionId','6434672rjkDam','_currentBufferDelay','destroy','_handleInitialConnectionData','realtimecollaborationclient-init-connection-failed','entries','batch','realtimecollaborationclient-handleserverresponse','_lastSyncedOperationId','position','markers','isPremiumPlugin','addRootAttribute','metadata','disconnected','editing','connection','plugins','register','InsertOperation','collaboration-missing-channelid','lastSyncVersion','addRoot','marker','_operationIdentifier','string','parse','_handleExternalOperations','compress','model','lastOperationAcceptedAt','baseVersion','affectsData','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-error','getOperationAuthor','slice','clone','2036860JiOEpT','get','move','_operationToId','_handleReceivedOperations','isOfficialPlugin','ready','set','lastOperationId','sendOperations','isDocumentOperation','bind','_sendBufferedOperations','disconnect','CollaborativeEditingService','createRoot','_document','isEnabled','sessionCreatedAt','rootsAttributes','setIdForTheLastOperation','createUserMarkerOperations','view','5847354ezebYh','change:range','wereChangesApplied','getConnectedSessions','_connectAfterSessionHasBeenFlushed','directChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','decompress','reconnect','getUser','operationsReceived','realtimecollaborationclient-init-service-internal-error','config','loadRoot','_isEditingAllowed','_authorId','CommentsOnly','_disconnectService','6bsXbTG','realtimecollaborationclient-init-service-incorrect-server-operation','code','mySessionId','_getOperationsFromInitData','insert','cloud-services-internal-error:\x20Request\x20timeout.','data','define','_handleSendingSelectionMarkers','locale','change:hasDomSelection','serverHistory','version','init','getRoot','type','document','_crash','fire','history','_compressor','connected','applyOperation','targetPosition','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.','includes','_fetchMissingUsers','rtc-destroyed','error','reconnection:\x20flushed\x20session','currentDocumentSession','round','enqueueChange','47064CGXzeU','342535dhtcaN','enableReadOnlyMode','change:_isPendingUpdate','channelSessions','27hnSyUB','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','multi-root-editor-root-attributes-no-root','_applyOperationsSet','_disconnectionOperations','push','end','lastDocumentSession','setPermissions','_hasSelectionChanged','_compressOperations','_setPendingAction','reset','requires','_refreshUserSelectionMarkers','permissions','_isLoaded','404','userId','createRange','map','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','length','isUndoneOperation','message','_isConnected','remove','cs:removeUser','getOperations','$root','initData','off','keys','_loadRoot','realtimecollaborationclient-init-document-already-initialized','_initSessionsHandling','_offset','cloudDocumentVersion','disableReadOnlyMode','has','suppressErrorInCollaboration','_isDisconnection','_sendBufferedOperationsDelayed','_baseBufferDelay','RealTimeCollaborationClient','state','_bufferedOperations','_pendingAction','Synchronization\x20issue','isReadOnly','high','differ','_sendBufferedOperationsDelayId','collaboration.channelId','sessionAdd:','createdAt','change:_isEditingAllowed','_saveOperationInBuffer','affectedSelectable','_channelId','PENDING_ACTION_SENDING_DATA','forEach','then','realtimecollaborationclient-init-non-existent-root','_ignoredOperations','_knownOperations','real-time-collaboration','_initThrowingOnDataSet','catch','_knownRootNames','getIdOfTheLastOperation','stop','offset','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_decompressOperations','_shouldSendSelectionUpdate','_shouldSendUpdate','editor','_isPendingUpdate','listenTo','_hasSynchronizationProblem','409','attributes','selection'];_0x3e90=function(){return _0x4bedad;};return _0x3e90();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x23bf(){const _0x48a7b8=['get','getUser','set','listenTo','sessions-unregister-not-exist','21971HWAknq','requires','plugins','sessionId','1694650BMnQuh','delete','state','42OVuNSC','Sessions','897165FMlLGl','remove','channelSessions','getUserBySessionId','_createUser','user','role','getUserSessions','values','connected','_registeredSessions','context','size','4BFSKWb','forEach','11wNYYQu','getUserRole','_users','fire','allConnectedUsers','stopListening','_uniqueUsersCount','1821948qBBYKe','sessions-register-already-registered','sessionAdd:','change:state','addUser','channelConnectedUsers','pluginName','orderNumber','isPremiumPlugin','82074MnJHfP','connection','_handleSessionAdd','_handleSessionRemove','unregister','mySessionId','init','1269569zDuuDM','8cJMmVU','27wzmBTG','3589890qJuLOo','register','assign','add','clear','isOfficialPlugin','isMe','defineMe','has','hiddenInPresenceList'];_0x23bf=function(){return _0x48a7b8;};return _0x23bf();}const _0x5e9961=_0x183e;(function(_0x5482e6,_0x55443e){const _0x21d7a3=_0x183e,_0x9e7cde=_0x5482e6();while(!![]){try{const _0x5a8c51=-parseInt(_0x21d7a3(0x1d1))/0x1*(-parseInt(_0x21d7a3(0x1d8))/0x2)+-parseInt(_0x21d7a3(0x1b8))/0x3+parseInt(_0x21d7a3(0x1e7))/0x4*(parseInt(_0x21d7a3(0x1da))/0x5)+parseInt(_0x21d7a3(0x1c2))/0x6+parseInt(_0x21d7a3(0x1bf))/0x7*(-parseInt(_0x21d7a3(0x1c0))/0x8)+parseInt(_0x21d7a3(0x1c1))/0x9*(-parseInt(_0x21d7a3(0x1d5))/0xa)+parseInt(_0x21d7a3(0x1e9))/0xb*(-parseInt(_0x21d7a3(0x1f0))/0xc);if(_0x5a8c51===_0x55443e)break;else _0x9e7cde['push'](_0x9e7cde['shift']());}catch(_0x118126){_0x9e7cde['push'](_0x9e7cde['shift']());}}}(_0x23bf,0x5a60e));import{ContextPlugin as _0x1ff861}from'ckeditor5/src/core.js';import{Collection as _0x9d80a7,CKEditorError as _0x1029eb}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4ec331}from'./websocketgateway.js';function _0x183e(_0x2610c0,_0x2c2368){const _0x23bfb6=_0x23bf();return _0x183e=function(_0x183ee4,_0x234c2b){_0x183ee4=_0x183ee4-0x1b8;let _0x3990f9=_0x23bfb6[_0x183ee4];return _0x3990f9;},_0x183e(_0x2610c0,_0x2c2368);}import{Users as _0x37163d}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1ff861{[_0x5e9961(0x1dc)];[_0x5e9961(0x1f5)];[_0x5e9961(0x1ed)];[_0x5e9961(0x1e4)];[_0x5e9961(0x1ef)];[_0x5e9961(0x1eb)];static get[_0x5e9961(0x1f6)](){const _0x4852d9=_0x5e9961;return _0x4852d9(0x1d9);}static get[_0x5e9961(0x1c7)](){return!0x0;}static get[_0x5e9961(0x1f8)](){return!0x0;}static get[_0x5e9961(0x1d2)](){return[_0x4ec331,_0x37163d];}constructor(_0xf4e0e5){const _0x41c53d=_0x5e9961;super(_0xf4e0e5),this[_0x41c53d(0x1dc)]=new Map(),this[_0x41c53d(0x1f5)]=new Map(),this[_0x41c53d(0x1ed)]=new _0x9d80a7(),this[_0x41c53d(0x1e4)]=new Map(),this[_0x41c53d(0x1ef)]=0x0,this[_0x41c53d(0x1eb)]=this[_0x41c53d(0x1e5)][_0x41c53d(0x1d3)][_0x41c53d(0x1cc)](_0x37163d);}[_0x5e9961(0x1be)](){const _0x54291b=_0x5e9961,_0x3ab987=this[_0x54291b(0x1e5)][_0x54291b(0x1d3)][_0x54291b(0x1cc)](_0x4ec331);this[_0x54291b(0x1cf)](_0x3ab987,_0x54291b(0x1f3),(_0x11e05c,_0x3a0059,_0x11a693)=>{const _0xca3ffc=_0x54291b;if(_0xca3ffc(0x1e3)!==_0x11a693)this[_0xca3ffc(0x1dc)][_0xca3ffc(0x1e8)](_0xb567b2=>_0xb567b2[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1f5)][_0xca3ffc(0x1e8)](_0x59ef29=>_0x59ef29[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1ed)][_0xca3ffc(0x1c6)]();else{for(const [_0x8f44aa,_0x4aa5e3]of this[_0xca3ffc(0x1e4)])for(const _0x2d041c of _0x4aa5e3)this[_0xca3ffc(0x1ba)](_0x8f44aa,_0x2d041c);}}),this[_0x54291b(0x1de)](_0x3ab987[_0x54291b(0x1b9)]['me'],!0x0);}[_0x5e9961(0x1c3)](_0x243ec9,_0x58fb4a){const _0x46c8fd=_0x5e9961;if(this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ca)](_0x243ec9))throw new _0x1029eb(_0x46c8fd(0x1f1),null,{'channelId':_0x243ec9});this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ce)](_0x243ec9,_0x58fb4a),this[_0x46c8fd(0x1dc)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1f5)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1c5),(_0x5d63ca,_0xd0ebef)=>this[_0x46c8fd(0x1ba)](_0x243ec9,_0xd0ebef)),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1db),(_0x4ffede,_0x456546)=>this[_0x46c8fd(0x1bb)](_0x243ec9,_0x456546));for(const _0x3c8fc9 of _0x58fb4a)this[_0x46c8fd(0x1ba)](_0x243ec9,_0x3c8fc9);}[_0x5e9961(0x1bc)](_0x4bd5de){const _0x3b8ce1=_0x5e9961;if(!this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1ca)](_0x4bd5de))throw new _0x1029eb(_0x3b8ce1(0x1d0),null,{'channelId':_0x4bd5de});const _0x154a56=this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1cc)](_0x4bd5de);this[_0x3b8ce1(0x1ee)](_0x154a56);for(const _0x33352d of _0x154a56)_0x3b8ce1(0x1e3)===this[_0x3b8ce1(0x1e5)][_0x3b8ce1(0x1d3)][_0x3b8ce1(0x1cc)](_0x4ec331)[_0x3b8ce1(0x1d7)]&&this[_0x3b8ce1(0x1bb)](_0x4bd5de,_0x33352d);this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1dc)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1f5)][_0x3b8ce1(0x1d6)](_0x4bd5de);}get[_0x5e9961(0x1bd)](){const _0x1229a1=_0x5e9961;return this[_0x1229a1(0x1e5)][_0x1229a1(0x1d3)][_0x1229a1(0x1cc)](_0x4ec331)[_0x1229a1(0x1b9)][_0x1229a1(0x1d4)];}[_0x5e9961(0x1dd)](_0x4f6e68){const _0x364d9a=_0x5e9961;for(const _0x2869cb of this[_0x364d9a(0x1dc)][_0x364d9a(0x1e2)]())for(const _0x49bac8 of _0x2869cb)if(_0x49bac8['id']===_0x4f6e68)return _0x49bac8[_0x364d9a(0x1df)];}[_0x5e9961(0x1e1)](_0x29d769,_0x58fe78){const _0x281981=_0x5e9961,_0x8cd440=_0x58fe78?[this[_0x281981(0x1dc)][_0x281981(0x1cc)](_0x58fe78)]:this[_0x281981(0x1dc)][_0x281981(0x1e2)](),_0x16fda4=new Set();for(const _0x4c76a2 of _0x8cd440)for(const _0x10de69 of _0x4c76a2)_0x10de69[_0x281981(0x1df)]['id']===_0x29d769['id']&&_0x16fda4[_0x281981(0x1c5)](_0x10de69['id']);return _0x16fda4;}[_0x5e9961(0x1ea)](_0x272d2c){const _0x3ca505=_0x5e9961;for(const _0x84f86d of this[_0x3ca505(0x1dc)][_0x3ca505(0x1e2)]())for(const _0x2fa8ed of _0x84f86d)if(_0x2fa8ed[_0x3ca505(0x1df)]===_0x272d2c)return _0x2fa8ed[_0x3ca505(0x1e0)];}[_0x5e9961(0x1ba)](_0xb3c266,_0x3f421b){const _0x44ef62=_0x5e9961;if(_0x44ef62(0x1e3)!==this[_0x44ef62(0x1e5)][_0x44ef62(0x1d3)][_0x44ef62(0x1cc)](_0x4ec331)[_0x44ef62(0x1d7)])return;const _0x1ca411=_0x3f421b[_0x44ef62(0x1df)],_0xe05c80=this[_0x44ef62(0x1eb)][_0x44ef62(0x1cd)](_0x1ca411['id'])||this[_0x44ef62(0x1de)](_0x1ca411),_0x2e2523=Object[_0x44ef62(0x1c4)]({},_0x3f421b,{'user':_0xe05c80});if(this[_0x44ef62(0x1dc)][_0x44ef62(0x1cc)](_0xb3c266)[_0x44ef62(0x1c5)](_0x2e2523),!_0x1ca411[_0x44ef62(0x1cb)]){const _0x2cef3c=this[_0x44ef62(0x1f5)][_0x44ef62(0x1cc)](_0xb3c266);_0x2cef3c[_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x2cef3c[_0x44ef62(0x1c5)](_0xe05c80),this[_0x44ef62(0x1ed)][_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x1ca411[_0x44ef62(0x1cb)]||this[_0x44ef62(0x1ed)][_0x44ef62(0x1c5)](_0xe05c80,_0xe05c80[_0x44ef62(0x1c8)]?0x0:void 0x0);}this[_0x44ef62(0x1ec)](_0x44ef62(0x1f2)+_0xb3c266,{'channelId':_0xb3c266,'session':_0x2e2523});}[_0x5e9961(0x1bb)](_0x1f3fe2,_0x379cdf){const _0x4d7839=_0x5e9961;if(_0x4d7839(0x1e3)!==this[_0x4d7839(0x1e5)][_0x4d7839(0x1d3)][_0x4d7839(0x1cc)](_0x4ec331)[_0x4d7839(0x1d7)])return;const _0x90fe39=this[_0x4d7839(0x1f5)][_0x4d7839(0x1cc)](_0x1f3fe2),_0x95be84=_0x379cdf[_0x4d7839(0x1df)];_0x95be84['id']&&(this[_0x4d7839(0x1dc)][_0x4d7839(0x1cc)](_0x1f3fe2)[_0x4d7839(0x1db)](_0x379cdf['id']),_0x90fe39[_0x4d7839(0x1ca)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84,_0x1f3fe2)[_0x4d7839(0x1e6)]&&_0x90fe39[_0x4d7839(0x1db)](_0x95be84['id']),this[_0x4d7839(0x1ed)][_0x4d7839(0x1cc)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84)[_0x4d7839(0x1e6)]&&this[_0x4d7839(0x1ed)][_0x4d7839(0x1db)](_0x95be84['id']));}[_0x5e9961(0x1de)](_0x26667a,_0x37f219){const _0x51d249=_0x5e9961,_0x3a2912=this[_0x51d249(0x1eb)][_0x51d249(0x1f4)](_0x26667a);return _0x37f219&&this[_0x51d249(0x1eb)][_0x51d249(0x1c9)](_0x26667a['id']),_0x3a2912[_0x51d249(0x1f7)]=this[_0x51d249(0x1ef)]++,_0x3a2912;}}
23
+ const _0x1bf3a0=_0x5a7a;function _0x5a7a(_0x5b8cf1,_0x51753b){const _0x26e9e7=_0x26e9();return _0x5a7a=function(_0x5a7aa7,_0x168811){_0x5a7aa7=_0x5a7aa7-0x1a5;let _0x3eb70c=_0x26e9e7[_0x5a7aa7];return _0x3eb70c;},_0x5a7a(_0x5b8cf1,_0x51753b);}(function(_0x51333c,_0x35b22e){const _0x845d4b=_0x5a7a,_0x17a0a9=_0x51333c();while(!![]){try{const _0x2a5b52=-parseInt(_0x845d4b(0x1d9))/0x1+parseInt(_0x845d4b(0x1ad))/0x2*(parseInt(_0x845d4b(0x1cf))/0x3)+-parseInt(_0x845d4b(0x1b8))/0x4+-parseInt(_0x845d4b(0x1c4))/0x5+parseInt(_0x845d4b(0x1ce))/0x6+-parseInt(_0x845d4b(0x1b7))/0x7*(parseInt(_0x845d4b(0x1b1))/0x8)+-parseInt(_0x845d4b(0x1e0))/0x9*(-parseInt(_0x845d4b(0x1e3))/0xa);if(_0x2a5b52===_0x35b22e)break;else _0x17a0a9['push'](_0x17a0a9['shift']());}catch(_0x3c4c95){_0x17a0a9['push'](_0x17a0a9['shift']());}}}(_0x26e9,0x39dc7));import{ContextPlugin as _0x2bd884}from'ckeditor5/src/core.js';import{Collection as _0x38fb5f,CKEditorError as _0xc770ec}from'ckeditor5/src/utils.js';function _0x26e9(){const _0x5516ae=['connected','getUserRole','12319146frNJYA','remove','connection','10PSxaaa','mySessionId','orderNumber','clear','size','isMe','fire','get','context','254yLPdUO','Sessions','_registeredSessions','sessions-unregister-not-exist','7056XAGIbB','set','add','requires','plugins','pluginName','3346tMlpzr','1779296oSqKzv','unregister','sessionAdd:','_handleSessionRemove','init','change:state','isPremiumPlugin','user','listenTo','defineMe','hiddenInPresenceList','register','2122725odqpiG','state','getUserSessions','sessions-register-already-registered','_uniqueUsersCount','isOfficialPlugin','channelSessions','channelConnectedUsers','stopListening','forEach','1452420LpzqJA','921GtUnAF','_createUser','assign','_handleSessionAdd','delete','sessionId','has','_users','getUserBySessionId','getUser','121889TzVWcq','values','allConnectedUsers','addUser','role'];_0x26e9=function(){return _0x5516ae;};return _0x26e9();}import{WebSocketGateway as _0x25fe9d}from'./websocketgateway.js';import{Users as _0x1d0b9d}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2bd884{[_0x1bf3a0(0x1ca)];[_0x1bf3a0(0x1cb)];[_0x1bf3a0(0x1db)];[_0x1bf3a0(0x1af)];[_0x1bf3a0(0x1c8)];[_0x1bf3a0(0x1d6)];static get[_0x1bf3a0(0x1b6)](){const _0x54eaec=_0x1bf3a0;return _0x54eaec(0x1ae);}static get[_0x1bf3a0(0x1c9)](){return!0x0;}static get[_0x1bf3a0(0x1be)](){return!0x0;}static get[_0x1bf3a0(0x1b4)](){return[_0x25fe9d,_0x1d0b9d];}constructor(_0x51f321){const _0x10c411=_0x1bf3a0;super(_0x51f321),this[_0x10c411(0x1ca)]=new Map(),this[_0x10c411(0x1cb)]=new Map(),this[_0x10c411(0x1db)]=new _0x38fb5f(),this[_0x10c411(0x1af)]=new Map(),this[_0x10c411(0x1c8)]=0x0,this[_0x10c411(0x1d6)]=this[_0x10c411(0x1ac)][_0x10c411(0x1b5)][_0x10c411(0x1ab)](_0x1d0b9d);}[_0x1bf3a0(0x1bc)](){const _0x3c1e25=_0x1bf3a0,_0x4ad4a4=this[_0x3c1e25(0x1ac)][_0x3c1e25(0x1b5)][_0x3c1e25(0x1ab)](_0x25fe9d);this[_0x3c1e25(0x1c0)](_0x4ad4a4,_0x3c1e25(0x1bd),(_0x3cf907,_0x49042d,_0x5048eb)=>{const _0x51da32=_0x3c1e25;if(_0x51da32(0x1de)!==_0x5048eb)this[_0x51da32(0x1ca)][_0x51da32(0x1cd)](_0x1b552f=>_0x1b552f[_0x51da32(0x1a7)]()),this[_0x51da32(0x1cb)][_0x51da32(0x1cd)](_0x52679a=>_0x52679a[_0x51da32(0x1a7)]()),this[_0x51da32(0x1db)][_0x51da32(0x1a7)]();else{for(const [_0x2db384,_0x1b1634]of this[_0x51da32(0x1af)])for(const _0x45a4e7 of _0x1b1634)this[_0x51da32(0x1d2)](_0x2db384,_0x45a4e7);}}),this[_0x3c1e25(0x1d0)](_0x4ad4a4[_0x3c1e25(0x1e2)]['me'],!0x0);}[_0x1bf3a0(0x1c3)](_0x51142f,_0x35a7d6){const _0x23c227=_0x1bf3a0;if(this[_0x23c227(0x1af)][_0x23c227(0x1d5)](_0x51142f))throw new _0xc770ec(_0x23c227(0x1c7),null,{'channelId':_0x51142f});this[_0x23c227(0x1af)][_0x23c227(0x1b2)](_0x51142f,_0x35a7d6),this[_0x23c227(0x1ca)][_0x23c227(0x1b2)](_0x51142f,new _0x38fb5f()),this[_0x23c227(0x1cb)][_0x23c227(0x1b2)](_0x51142f,new _0x38fb5f()),this[_0x23c227(0x1c0)](_0x35a7d6,_0x23c227(0x1b3),(_0xd1d847,_0x59e78a)=>this[_0x23c227(0x1d2)](_0x51142f,_0x59e78a)),this[_0x23c227(0x1c0)](_0x35a7d6,_0x23c227(0x1e1),(_0x19cf75,_0x7f1e28)=>this[_0x23c227(0x1bb)](_0x51142f,_0x7f1e28));for(const _0x270c66 of _0x35a7d6)this[_0x23c227(0x1d2)](_0x51142f,_0x270c66);}[_0x1bf3a0(0x1b9)](_0x48f2c0){const _0x5a6ba9=_0x1bf3a0;if(!this[_0x5a6ba9(0x1af)][_0x5a6ba9(0x1d5)](_0x48f2c0))throw new _0xc770ec(_0x5a6ba9(0x1b0),null,{'channelId':_0x48f2c0});const _0x45cc75=this[_0x5a6ba9(0x1af)][_0x5a6ba9(0x1ab)](_0x48f2c0);this[_0x5a6ba9(0x1cc)](_0x45cc75);for(const _0x131a08 of _0x45cc75)_0x5a6ba9(0x1de)===this[_0x5a6ba9(0x1ac)][_0x5a6ba9(0x1b5)][_0x5a6ba9(0x1ab)](_0x25fe9d)[_0x5a6ba9(0x1c5)]&&this[_0x5a6ba9(0x1bb)](_0x48f2c0,_0x131a08);this[_0x5a6ba9(0x1af)][_0x5a6ba9(0x1d3)](_0x48f2c0),this[_0x5a6ba9(0x1ca)][_0x5a6ba9(0x1d3)](_0x48f2c0),this[_0x5a6ba9(0x1cb)][_0x5a6ba9(0x1d3)](_0x48f2c0);}get[_0x1bf3a0(0x1a5)](){const _0x3b0b36=_0x1bf3a0;return this[_0x3b0b36(0x1ac)][_0x3b0b36(0x1b5)][_0x3b0b36(0x1ab)](_0x25fe9d)[_0x3b0b36(0x1e2)][_0x3b0b36(0x1d4)];}[_0x1bf3a0(0x1d7)](_0x517b69){const _0x1e906b=_0x1bf3a0;for(const _0x55c9f3 of this[_0x1e906b(0x1ca)][_0x1e906b(0x1da)]())for(const _0x3da7a2 of _0x55c9f3)if(_0x3da7a2['id']===_0x517b69)return _0x3da7a2[_0x1e906b(0x1bf)];}[_0x1bf3a0(0x1c6)](_0x50f79b,_0x5f5a33){const _0x1a3d8c=_0x1bf3a0,_0x5424d=_0x5f5a33?[this[_0x1a3d8c(0x1ca)][_0x1a3d8c(0x1ab)](_0x5f5a33)]:this[_0x1a3d8c(0x1ca)][_0x1a3d8c(0x1da)](),_0xda1c21=new Set();for(const _0x3e9f7b of _0x5424d)for(const _0x17e860 of _0x3e9f7b)_0x17e860[_0x1a3d8c(0x1bf)]['id']===_0x50f79b['id']&&_0xda1c21[_0x1a3d8c(0x1b3)](_0x17e860['id']);return _0xda1c21;}[_0x1bf3a0(0x1df)](_0x235c35){const _0x1c5a96=_0x1bf3a0;for(const _0x555eda of this[_0x1c5a96(0x1ca)][_0x1c5a96(0x1da)]())for(const _0x534833 of _0x555eda)if(_0x534833[_0x1c5a96(0x1bf)]===_0x235c35)return _0x534833[_0x1c5a96(0x1dd)];}[_0x1bf3a0(0x1d2)](_0x37ed26,_0x1c2496){const _0x4bceb6=_0x1bf3a0;if(_0x4bceb6(0x1de)!==this[_0x4bceb6(0x1ac)][_0x4bceb6(0x1b5)][_0x4bceb6(0x1ab)](_0x25fe9d)[_0x4bceb6(0x1c5)])return;const _0x2aadc2=_0x1c2496[_0x4bceb6(0x1bf)],_0x2d6deb=this[_0x4bceb6(0x1d6)][_0x4bceb6(0x1d8)](_0x2aadc2['id'])||this[_0x4bceb6(0x1d0)](_0x2aadc2),_0x475167=Object[_0x4bceb6(0x1d1)]({},_0x1c2496,{'user':_0x2d6deb});if(this[_0x4bceb6(0x1ca)][_0x4bceb6(0x1ab)](_0x37ed26)[_0x4bceb6(0x1b3)](_0x475167),!_0x2aadc2[_0x4bceb6(0x1c2)]){const _0x4cbf75=this[_0x4bceb6(0x1cb)][_0x4bceb6(0x1ab)](_0x37ed26);_0x4cbf75[_0x4bceb6(0x1d5)](_0x2d6deb['id'])||_0x4cbf75[_0x4bceb6(0x1b3)](_0x2d6deb),this[_0x4bceb6(0x1db)][_0x4bceb6(0x1d5)](_0x2d6deb['id'])||_0x2aadc2[_0x4bceb6(0x1c2)]||this[_0x4bceb6(0x1db)][_0x4bceb6(0x1b3)](_0x2d6deb,_0x2d6deb[_0x4bceb6(0x1a9)]?0x0:void 0x0);}this[_0x4bceb6(0x1aa)](_0x4bceb6(0x1ba)+_0x37ed26,{'channelId':_0x37ed26,'session':_0x475167});}[_0x1bf3a0(0x1bb)](_0x1f999c,_0x48fad1){const _0x5ca53c=_0x1bf3a0;if(_0x5ca53c(0x1de)!==this[_0x5ca53c(0x1ac)][_0x5ca53c(0x1b5)][_0x5ca53c(0x1ab)](_0x25fe9d)[_0x5ca53c(0x1c5)])return;const _0x4cefef=this[_0x5ca53c(0x1cb)][_0x5ca53c(0x1ab)](_0x1f999c),_0x62381f=_0x48fad1[_0x5ca53c(0x1bf)];_0x62381f['id']&&(this[_0x5ca53c(0x1ca)][_0x5ca53c(0x1ab)](_0x1f999c)[_0x5ca53c(0x1e1)](_0x48fad1['id']),_0x4cefef[_0x5ca53c(0x1d5)](_0x62381f['id'])&&!this[_0x5ca53c(0x1c6)](_0x62381f,_0x1f999c)[_0x5ca53c(0x1a8)]&&_0x4cefef[_0x5ca53c(0x1e1)](_0x62381f['id']),this[_0x5ca53c(0x1db)][_0x5ca53c(0x1ab)](_0x62381f['id'])&&!this[_0x5ca53c(0x1c6)](_0x62381f)[_0x5ca53c(0x1a8)]&&this[_0x5ca53c(0x1db)][_0x5ca53c(0x1e1)](_0x62381f['id']));}[_0x1bf3a0(0x1d0)](_0xbdab7b,_0xdcd15b){const _0x229131=_0x1bf3a0,_0x224d6f=this[_0x229131(0x1d6)][_0x229131(0x1dc)](_0xbdab7b);return _0xdcd15b&&this[_0x229131(0x1d6)][_0x229131(0x1c1)](_0xbdab7b['id']),_0x224d6f[_0x229131(0x1a6)]=this[_0x229131(0x1c8)]++,_0x224d6f;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { Plugin } from 'ckeditor5/src/core.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x31f5(_0x567c05,_0x5cd93d){const _0x369c60=_0x369c();return _0x31f5=function(_0x31f5c7,_0xe21d7c){_0x31f5c7=_0x31f5c7-0x150;let _0x26cba5=_0x369c60[_0x31f5c7];return _0x26cba5;},_0x31f5(_0x567c05,_0x5cd93d);}const _0x1e4268=_0x31f5;(function(_0x5b0a03,_0x149df7){const _0x149b18=_0x31f5,_0x410808=_0x5b0a03();while(!![]){try{const _0x38bf22=parseInt(_0x149b18(0x1c0))/0x1+-parseInt(_0x149b18(0x1b0))/0x2+-parseInt(_0x149b18(0x16e))/0x3+-parseInt(_0x149b18(0x182))/0x4+-parseInt(_0x149b18(0x15b))/0x5+-parseInt(_0x149b18(0x15f))/0x6*(parseInt(_0x149b18(0x1bd))/0x7)+parseInt(_0x149b18(0x180))/0x8;if(_0x38bf22===_0x149df7)break;else _0x410808['push'](_0x410808['shift']());}catch(_0x581397){_0x410808['push'](_0x410808['shift']());}}}(_0x369c,0xcad8a));import{Plugin as _0x1c774e}from'ckeditor5/src/core.js';import{global as _0x31ba7b,DomEmitterMixin as _0x26bbc5}from'ckeditor5/src/utils.js';import{Sessions as _0x2b0523}from'./sessions.js';import{ModelLiveRange as _0x43a2ba}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x369c(){const _0x505a21=['get','textContent','stopListening','name','color','getNearestSelectionRange','markers','Escape','setAttribute','split','end','clear','getAttribute','keydown','markerToHighlight','batch','getPositions','user:position','updateMarker','model','1062520WmRMLS','schema','markerRange','$text','markerToElement','size','data-session-id','_createdBatches','mouseleave','markerNameToElements','hasDomSelection','getSelectionClass','highest','1239FskvRk','toDomElement','fromRange','656894wkPOlV','root','toRange','isDocumentOperation','false','getUserBySessionId','selection','commands','user:range','removeClass','plugins','delete','requires','$graveyard','mySessionId','element','user:range:','applyOperation','createUIElement','remove','startsWith','createElement','UserMarkers','userPositionMarker','getRange','listenTo','editing','set','isOfficialPlugin','setCustomProperty','isPremiumPlugin','isObject','isInline','change:range','editingDowncast','conversion','3954565qlFEQV','has','getContainedElement','span','20106LNdXoW','checkChild','init','marker','removeMarker','rootName','_domEmitter','mouseenter','getFirstRange','isCollapsed','detach','document','ck-user__marker_hovered','hasContent','afterInit','405978WQsNcl','createRange','user:position:','for','nodeAfter','type','newRange','destroy','orderNumber','innerHTML','tableCell','ck-user__marker-tooltip','markerName','isLimit','parent','undo','ck-user__selection','reconvertMarker','18756136nUTXER','contenteditable','479708wlshga','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','add','addEventListener','view','addMarker','render','pluginName','classList','change','enqueueChange','deletionPosition','getCustomProperty','editor','getStart','createUserMarkerOperations','update:user:range','start','mapper','isSimilar','spellcheck','oldRange','user:','getMarkerClass','outerHTML','ck-user__marker\x20'];_0x369c=function(){return _0x505a21;};return _0x369c();}export class UserMarkers extends _0x1c774e{[_0x1e4268(0x165)]=new(_0x26bbc5())();static get[_0x1e4268(0x1cc)](){return[_0x2b0523];}static get[_0x1e4268(0x189)](){const _0x13b38e=_0x1e4268;return _0x13b38e(0x1d6);}static get[_0x1e4268(0x153)](){return!0x0;}static get[_0x1e4268(0x155)](){return!0x0;}[_0x1e4268(0x161)](){const _0x2426b5=_0x1e4268,_0x167343=this[_0x2426b5(0x18f)],_0x29188c=_0x167343[_0x2426b5(0x1ca)][_0x2426b5(0x19c)](_0x2b0523);_0x167343[_0x2426b5(0x15a)][_0x2426b5(0x171)](_0x2426b5(0x159))[_0x2426b5(0x1b4)]({'model':_0x2426b5(0x1ad),'view':(_0x2da7ea,{writer:_0x1edcb8})=>function(_0xa237c1,_0x40c52f,_0x246c83,_0x3bfb35){const _0x3b1027=_0x2426b5,_0x259a2e=_0xa237c1[_0x3b1027(0x17a)][_0x3b1027(0x1a5)](':')[0x2],_0x4bbf9d=_0x246c83[_0x3b1027(0x1c5)](_0x259a2e);if(!_0x4bbf9d||_0x259a2e===_0x246c83[_0x3b1027(0x1ce)])return;if(!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)][_0x3b1027(0x160)](_0xa237c1[_0x3b1027(0x1b2)][_0x3b1027(0x193)],_0x3b1027(0x1b3)))return;const _0x574691={'class':_0x3b1027(0x19b)+_0x4bbf9d[_0x3b1027(0x1a0)][_0x3b1027(0x199)](),'data-name':_0x4bbf9d[_0x3b1027(0x19f)],'data-session-id':_0x259a2e},_0x319453=_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1a2)][_0x3b1027(0x19c)](_0xa237c1[_0x3b1027(0x17a)]),_0xd1c847=_0x319453[_0x3b1027(0x190)](),_0x4d2f7c=_0xd1c847[_0x3b1027(0x172)],_0x5c6d52=_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)];if(_0x4d2f7c&&_0x5c6d52[_0x3b1027(0x156)](_0x4d2f7c)&&_0x5c6d52[_0x3b1027(0x157)](_0x4d2f7c)&&!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1a2)][_0x3b1027(0x19c)](_0x3b1027(0x1d0)+_0x259a2e)[_0x3b1027(0x1d8)]()[_0x3b1027(0x168)])return;const _0x2a92d8=_0xd1c847[_0x3b1027(0x17c)];return _0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)][_0x3b1027(0x17b)](_0x2a92d8)&&!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x16c)](_0x2a92d8)&&(_0x574691[_0x3b1027(0x181)]=!0x1),function(_0x36c2cd,_0x3b58d2,_0x35d840){const _0x37a9f4=_0x3b1027,_0x2b97d1=_0x36c2cd[_0x37a9f4(0x1d2)](_0x37a9f4(0x15e),_0x3b58d2);return _0x36c2cd[_0x37a9f4(0x154)](_0x37a9f4(0x1d7),!0x0,_0x2b97d1),_0x2b97d1[_0x37a9f4(0x188)]=function(_0x286fe5){const _0x1b4f0e=_0x37a9f4,_0x583734=this[_0x1b4f0e(0x1be)](_0x286fe5),_0x3d5074=document[_0x1b4f0e(0x1d5)](_0x1b4f0e(0x15e));return _0x3d5074[_0x1b4f0e(0x18a)][_0x1b4f0e(0x184)](_0x1b4f0e(0x179)),_0x3d5074[_0x1b4f0e(0x1a4)](_0x1b4f0e(0x181),_0x1b4f0e(0x1c4)),_0x3d5074[_0x1b4f0e(0x1a4)](_0x1b4f0e(0x196),_0x1b4f0e(0x1c4)),_0x3d5074[_0x1b4f0e(0x19d)]=_0x35d840[_0x1b4f0e(0x19f)],_0x583734[_0x1b4f0e(0x177)]=_0x1b4f0e(0x183)+_0x3d5074[_0x1b4f0e(0x19a)]+'⁠',_0x583734[_0x1b4f0e(0x185)](_0x1b4f0e(0x166),()=>{const _0x235537=_0x1b4f0e;_0x583734[_0x235537(0x18a)][_0x235537(0x184)](_0x235537(0x16b));}),_0x583734[_0x1b4f0e(0x185)](_0x1b4f0e(0x1b8),()=>{const _0x48c46c=_0x1b4f0e;_0x583734[_0x48c46c(0x18a)][_0x48c46c(0x1d3)](_0x48c46c(0x16b));}),_0x583734;},_0x2b97d1[_0x37a9f4(0x195)]=function(_0x4e96b1){const _0x181572=_0x37a9f4;return!(!this[_0x181572(0x18e)](_0x181572(0x1d7))||!_0x4e96b1[_0x181572(0x18e)](_0x181572(0x1d7))||this[_0x181572(0x1a8)](_0x181572(0x1b6))!=_0x4e96b1[_0x181572(0x1a8)](_0x181572(0x1b6)));},_0x2b97d1;}(_0x40c52f,_0x574691,_0x4bbf9d);}(_0x2da7ea,_0x1edcb8,_0x29188c,_0x167343)}),_0x167343[_0x2426b5(0x15a)][_0x2426b5(0x171)](_0x2426b5(0x159))[_0x2426b5(0x1aa)]({'model':_0x2426b5(0x1c8),'view':_0x51c6ac=>function(_0x490082,_0x2f9310){const _0x44409d=_0x2426b5,_0x3c5587=_0x490082[_0x44409d(0x17a)][_0x44409d(0x1a5)](':')[0x2];if(_0x3c5587===_0x2f9310[_0x44409d(0x1ce)])return null;const _0x58eb44=_0x2f9310[_0x44409d(0x1c5)](_0x3c5587);if(!_0x58eb44)return{'id':_0x3c5587,'classes':[]};return{'id':_0x3c5587,'classes':[_0x44409d(0x17e),_0x58eb44[_0x44409d(0x1a0)][_0x44409d(0x1bb)]()],'attributes':{'data-session-id':_0x3c5587},'priority':0x7d0+_0x58eb44[_0x44409d(0x176)]};}(_0x51c6ac,_0x29188c)}),function(_0x64388e){const _0x48904=_0x2426b5,_0x494d64=_0x64388e[_0x48904(0x1af)],_0xa3ed22=new Map(),_0x175fe8=_0x64388e[_0x48904(0x1ca)][_0x48904(0x19c)](_0x2b0523);_0x494d64[_0x48904(0x1a2)]['on'](_0x48904(0x192),(_0x540750,_0x4691dd,_0x9e681f,_0x16ffce)=>{const _0x139552=_0x48904;if(!_0x16ffce&&_0xa3ed22[_0x139552(0x19c)](_0x4691dd[_0x139552(0x19f)]))return _0xa3ed22[_0x139552(0x19c)](_0x4691dd[_0x139552(0x19f)])[_0x139552(0x169)](),void _0xa3ed22[_0x139552(0x1cb)](_0x4691dd[_0x139552(0x19f)]);const _0x671301=_0x4691dd[_0x139552(0x19f)][_0x139552(0x1a5)](':')[0x2];if(_0x671301===_0x175fe8[_0x139552(0x1ce)])return;const _0x12264d=_0x139552(0x170)+_0x671301;_0x494d64[_0x139552(0x1a2)][_0x139552(0x15c)](_0x12264d)&&_0x64388e[_0x139552(0x151)][_0x139552(0x17f)](_0x12264d),_0x4691dd['on'](_0x139552(0x158),(_0x54992c,_0x276c6d,_0x2d2d9d)=>{const _0x4cefde=_0x139552;if(_0x4cefde(0x1cd)!=_0x276c6d[_0x4cefde(0x1c1)][_0x4cefde(0x164)]&&_0x4cefde(0x1cd)==_0x4691dd[_0x4cefde(0x1d8)]()[_0x4cefde(0x1c1)][_0x4cefde(0x164)]&&!_0xa3ed22[_0x4cefde(0x15c)](_0x4691dd[_0x4cefde(0x19f)])){const _0x445a0f=_0x494d64[_0x4cefde(0x1b1)][_0x4cefde(0x1a1)](_0x2d2d9d[_0x4cefde(0x18d)]);if(_0x445a0f){const _0x130ea4=_0x43a2ba[_0x4cefde(0x1bf)](_0x445a0f);_0xa3ed22[_0x4cefde(0x152)](_0x4691dd[_0x4cefde(0x19f)],_0x130ea4),_0x130ea4['on'](_0x4cefde(0x158),(_0x15b2c3,_0x59cf38,_0x58ee82)=>{const _0x15e7dc=_0x4cefde;if(_0x15e7dc(0x1cd)==_0x130ea4[_0x15e7dc(0x1c1)][_0x15e7dc(0x164)]){const _0x5a4efb=_0x494d64[_0x15e7dc(0x1b1)][_0x15e7dc(0x1a1)](_0x58ee82[_0x15e7dc(0x18d)]);_0x5a4efb?(_0x130ea4[_0x15e7dc(0x193)]=_0x5a4efb[_0x15e7dc(0x193)],_0x130ea4[_0x15e7dc(0x1a6)]=_0x5a4efb[_0x15e7dc(0x1a6)]):(_0xa3ed22[_0x15e7dc(0x1cb)](_0x4691dd[_0x15e7dc(0x19f)]),_0x130ea4[_0x15e7dc(0x169)]());}});}}});}),_0x494d64[_0x48904(0x16a)]['on'](_0x48904(0x18b),()=>{const _0x525b85=_0x48904;_0xa3ed22[_0x525b85(0x1b5)]>0x0&&_0x494d64[_0x525b85(0x18c)]({'isUndoable':!0x1},_0x3128e3=>{const _0x439b89=_0x525b85;for(const [_0x4feb06,_0x138e39]of _0xa3ed22)_0x439b89(0x1cd)==_0x494d64[_0x439b89(0x1a2)][_0x439b89(0x19c)](_0x4feb06)[_0x439b89(0x1d8)]()[_0x439b89(0x1c1)][_0x439b89(0x164)]&&(re(_0x4feb06[_0x439b89(0x1a5)](':')[0x2],_0x138e39[_0x439b89(0x1c2)](),_0x494d64,_0x3128e3),_0x138e39[_0x439b89(0x169)]());_0xa3ed22[_0x439b89(0x1a7)]();});});}(_0x167343),this[_0x2426b5(0x165)][_0x2426b5(0x150)](_0x31ba7b[_0x2426b5(0x16a)],_0x2426b5(0x1a9),(_0x248b8c,{key:_0x3f7060})=>{const _0x4aa1da=_0x2426b5;_0x4aa1da(0x1a3)===_0x3f7060&&function(_0x47ccae){const _0x2056da=_0x4aa1da;_0x47ccae[_0x2056da(0x151)][_0x2056da(0x186)][_0x2056da(0x18b)](_0x343c8e=>{const _0x1c22c7=_0x2056da;for(const _0x573974 of _0x47ccae[_0x1c22c7(0x1af)][_0x1c22c7(0x1a2)]){if(!_0x573974[_0x1c22c7(0x19f)][_0x1c22c7(0x1d4)](_0x1c22c7(0x1ad)))continue;const _0x1c3c18=_0x47ccae[_0x1c22c7(0x151)][_0x1c22c7(0x194)][_0x1c22c7(0x1b9)](_0x573974[_0x1c22c7(0x19f)]);if(_0x1c3c18){for(const _0x3f447e of _0x1c3c18)_0x343c8e[_0x1c22c7(0x1c9)](_0x1c22c7(0x16b),_0x3f447e);}}});}(_0x167343);},{'useCapture':!0x0});}[_0x1e4268(0x16d)](){const _0x42b08e=_0x1e4268,_0x5c4973=this[_0x42b08e(0x18f)],_0xede4a=_0x5c4973[_0x42b08e(0x1c7)][_0x42b08e(0x19c)](_0x42b08e(0x17d));_0xede4a&&_0x5c4973[_0x42b08e(0x1af)]['on'](_0x42b08e(0x1d1),(_0x5b49b0,_0x346fa4)=>{const _0x21df14=_0x42b08e,_0x42fa6e=_0x346fa4[0x0];if(!_0x42fa6e[_0x21df14(0x1c3)])return;if(_0x21df14(0x162)!=_0x42fa6e[_0x21df14(0x173)]||!_0x42fa6e[_0x21df14(0x19f)][_0x21df14(0x1d4)](_0x21df14(0x198)))return;const _0x5f5591=_0x42fa6e[_0x21df14(0x1ab)];_0xede4a[_0x21df14(0x1b7)][_0x21df14(0x15c)](_0x5f5591)&&(_0x42fa6e[_0x21df14(0x174)]=_0x42fa6e[_0x21df14(0x197)]?_0x5c4973[_0x21df14(0x1af)][_0x21df14(0x16f)](_0x42fa6e[_0x21df14(0x197)][_0x21df14(0x193)],_0x42fa6e[_0x21df14(0x197)][_0x21df14(0x1a6)]):null);},{'priority':_0x42b08e(0x1bc)});}[_0x1e4268(0x175)](){const _0x4039b2=_0x1e4268;return this[_0x4039b2(0x165)][_0x4039b2(0x19e)](),super[_0x4039b2(0x175)]();}[_0x1e4268(0x191)](){const _0x1218f1=_0x1e4268,_0x293526=this[_0x1218f1(0x18f)],_0x2fb66d=_0x293526[_0x1218f1(0x1af)][_0x1218f1(0x16a)],_0xb87723=_0x293526[_0x1218f1(0x1ca)][_0x1218f1(0x19c)](_0x2b0523);_0x293526[_0x1218f1(0x1af)][_0x1218f1(0x18c)]({'isUndoable':!0x1},_0x58e99b=>{const _0x13b136=_0x1218f1,_0x423a66=_0x13b136(0x1d0)+_0xb87723[_0x13b136(0x1ce)],_0xa74016=_0x13b136(0x170)+_0xb87723[_0x13b136(0x1ce)],_0x58252b=_0x293526[_0x13b136(0x1af)][_0x13b136(0x1a2)][_0x13b136(0x15c)](_0x423a66);_0x293526[_0x13b136(0x151)][_0x13b136(0x186)][_0x13b136(0x1ba)]?re(_0xb87723[_0x13b136(0x1ce)],_0x2fb66d[_0x13b136(0x1c6)][_0x13b136(0x167)](),_0x293526[_0x13b136(0x1af)],_0x58e99b):_0x58252b&&(_0x58e99b[_0x13b136(0x163)](_0x423a66),_0x58e99b[_0x13b136(0x163)](_0xa74016));});}}function re(_0x3ea91a,_0xd298a5,_0x3430e9,_0x2bb982){const _0x190caf=_0x1e4268,_0x249f24=_0x190caf(0x1d0)+_0x3ea91a,_0x19ccef=_0x190caf(0x170)+_0x3ea91a,_0x3ba149=_0xd298a5[_0x190caf(0x15d)]();let _0xafe77b=_0xd298a5[_0x190caf(0x193)];if(_0x3ba149&&_0x3ba149['is'](_0x190caf(0x1cf),_0x190caf(0x178))){const _0x246327=function(_0x50118e,_0x2ecc6d){const _0x246d51=_0x190caf;for(const _0x53301f of _0x50118e[_0x246d51(0x1ac)]())if(_0x2ecc6d[_0x246d51(0x1b1)][_0x246d51(0x160)](_0x53301f,_0x246d51(0x1b3)))return _0x53301f;}(_0xd298a5,_0x3430e9);_0x246327&&(_0xafe77b=_0x246327,_0xd298a5=_0x2bb982[_0x190caf(0x16f)](_0xafe77b));}const _0x79b077=_0x2bb982[_0x190caf(0x16f)](_0xafe77b);_0x3430e9[_0x190caf(0x1a2)][_0x190caf(0x15c)](_0x249f24)?(_0x2bb982[_0x190caf(0x1ae)](_0x249f24,{'range':_0xd298a5}),_0x2bb982[_0x190caf(0x1ae)](_0x19ccef,{'range':_0x79b077})):(_0x2bb982[_0x190caf(0x187)](_0x249f24,{'range':_0xd298a5,'usingOperation':!0x0}),_0x2bb982[_0x190caf(0x187)](_0x19ccef,{'range':_0x79b077,'usingOperation':!0x0}));}
23
+ const _0x1e7cf5=_0x6f7f;(function(_0x32c436,_0xf5de86){const _0x364885=_0x6f7f,_0x1fd280=_0x32c436();while(!![]){try{const _0x1bf9e3=parseInt(_0x364885(0x148))/0x1*(-parseInt(_0x364885(0x178))/0x2)+parseInt(_0x364885(0x1ac))/0x3*(parseInt(_0x364885(0x165))/0x4)+-parseInt(_0x364885(0x1bc))/0x5*(parseInt(_0x364885(0x1b4))/0x6)+-parseInt(_0x364885(0x1a8))/0x7+-parseInt(_0x364885(0x1a7))/0x8+parseInt(_0x364885(0x145))/0x9*(parseInt(_0x364885(0x191))/0xa)+parseInt(_0x364885(0x1aa))/0xb;if(_0x1bf9e3===_0xf5de86)break;else _0x1fd280['push'](_0x1fd280['shift']());}catch(_0x1cab77){_0x1fd280['push'](_0x1fd280['shift']());}}}(_0xef81,0xc6932));function _0xef81(){const _0x42ce2a=['removeClass','user:position','name','57010vxZaWP','fromRange','getUserBySessionId','add','nodeAfter','data-session-id','user:','getSelectionClass','editing','mouseleave','outerHTML','getAttribute','addEventListener','updateMarker','reconvertMarker','hasDomSelection','isCollapsed','user:range','type','getFirstRange','clear','setAttribute','12043704cFFhIM','9220582tqAMvo','user:position:','49273169wByxli','afterInit','39eKMYwg','root','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','isLimit','view','$graveyard','change:range','1308egpXyX','set','keydown','ck-user__marker\x20','markerNameToElements','_domEmitter','marker','getStart','2745PZtwea','init','getContainedElement','createElement','removeMarker','markerName','remove','isInline','Escape','toRange','toDomElement','checkChild','createRange','delete','change','$text','plugins','document','getNearestSelectionRange','stopListening','textContent','522aSlYTx','hasContent','color','11WnRVqF','rootName','classList','mapper','render','detach','undo','innerHTML','setCustomProperty','userPositionMarker','oldRange','getPositions','isDocumentOperation','size','conversion','markerRange','pluginName','startsWith','_createdBatches','getCustomProperty','addMarker','parent','ck-user__marker-tooltip','isSimilar','getRange','start','createUIElement','user:range:','highest','85452UuzKyL','ck-user__selection','get','orderNumber','split','editor','for','markerToElement','spellcheck','element','isPremiumPlugin','schema','commands','applyOperation','deletionPosition','end','tableCell','createUserMarkerOperations','newRange','242186nbCjbo','model','ck-user__marker_hovered','listenTo','mySessionId','mouseenter','requires','has','selection','span','getMarkerClass','markerToHighlight','enqueueChange','isOfficialPlugin','isObject','contenteditable','batch','markers','update:user:range','editingDowncast','false','destroy'];_0xef81=function(){return _0x42ce2a;};return _0xef81();}import{Plugin as _0x436e1c}from'ckeditor5/src/core.js';function _0x6f7f(_0x1b15a4,_0x3b81cc){const _0xef81f7=_0xef81();return _0x6f7f=function(_0x6f7f5b,_0x41f4b0){_0x6f7f5b=_0x6f7f5b-0x145;let _0x5358f0=_0xef81f7[_0x6f7f5b];return _0x5358f0;},_0x6f7f(_0x1b15a4,_0x3b81cc);}import{global as _0x1708e6,DomEmitterMixin as _0x45e844}from'ckeditor5/src/utils.js';import{Sessions as _0x12392b}from'./sessions.js';import{ModelLiveRange as _0x57f31e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x436e1c{[_0x1e7cf5(0x1b9)]=new(_0x45e844())();static get[_0x1e7cf5(0x17e)](){return[_0x12392b];}static get[_0x1e7cf5(0x158)](){const _0x92382b=_0x1e7cf5;return _0x92382b(0x1af);}static get[_0x1e7cf5(0x185)](){return!0x0;}static get[_0x1e7cf5(0x16f)](){return!0x0;}[_0x1e7cf5(0x1bd)](){const _0x31650e=_0x1e7cf5,_0x54f4bb=this[_0x31650e(0x16a)],_0x5221f1=_0x54f4bb[_0x31650e(0x1cc)][_0x31650e(0x167)](_0x12392b);_0x54f4bb[_0x31650e(0x156)][_0x31650e(0x16b)](_0x31650e(0x18b))[_0x31650e(0x16c)]({'model':_0x31650e(0x18f),'view':(_0x3b5263,{writer:_0x1f27ba})=>function(_0x3c46b6,_0x178c31,_0x2c73e0,_0x3435ad){const _0x4f9cbd=_0x31650e,_0x3e5643=_0x3c46b6[_0x4f9cbd(0x1c1)][_0x4f9cbd(0x169)](':')[0x2],_0x15e17a=_0x2c73e0[_0x4f9cbd(0x193)](_0x3e5643);if(!_0x15e17a||_0x3e5643===_0x2c73e0[_0x4f9cbd(0x17c)])return;if(!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)][_0x4f9cbd(0x1c7)](_0x3c46b6[_0x4f9cbd(0x157)][_0x4f9cbd(0x161)],_0x4f9cbd(0x1cb)))return;const _0x17ac88={'class':_0x4f9cbd(0x1b7)+_0x15e17a[_0x4f9cbd(0x147)][_0x4f9cbd(0x182)](),'data-name':_0x15e17a[_0x4f9cbd(0x190)],'data-session-id':_0x3e5643},_0x39b811=_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x189)][_0x4f9cbd(0x167)](_0x3c46b6[_0x4f9cbd(0x1c1)]),_0x4df153=_0x39b811[_0x4f9cbd(0x1bb)](),_0x37a818=_0x4df153[_0x4f9cbd(0x195)],_0x5b214c=_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)];if(_0x37a818&&_0x5b214c[_0x4f9cbd(0x186)](_0x37a818)&&_0x5b214c[_0x4f9cbd(0x1c3)](_0x37a818)&&!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x189)][_0x4f9cbd(0x167)](_0x4f9cbd(0x163)+_0x3e5643)[_0x4f9cbd(0x160)]()[_0x4f9cbd(0x1a1)])return;const _0x55b061=_0x4df153[_0x4f9cbd(0x15d)];return _0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)][_0x4f9cbd(0x1b0)](_0x55b061)&&!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x146)](_0x55b061)&&(_0x17ac88[_0x4f9cbd(0x187)]=!0x1),function(_0xcd6794,_0x11f921,_0x497e96){const _0x2ea5cf=_0x4f9cbd,_0x385727=_0xcd6794[_0x2ea5cf(0x162)](_0x2ea5cf(0x181),_0x11f921);return _0xcd6794[_0x2ea5cf(0x150)](_0x2ea5cf(0x151),!0x0,_0x385727),_0x385727[_0x2ea5cf(0x14c)]=function(_0x3afe4a){const _0x1b17ae=_0x2ea5cf,_0x45d4b2=this[_0x1b17ae(0x1c6)](_0x3afe4a),_0x4362cb=document[_0x1b17ae(0x1bf)](_0x1b17ae(0x181));return _0x4362cb[_0x1b17ae(0x14a)][_0x1b17ae(0x194)](_0x1b17ae(0x15e)),_0x4362cb[_0x1b17ae(0x1a6)](_0x1b17ae(0x187),_0x1b17ae(0x18c)),_0x4362cb[_0x1b17ae(0x1a6)](_0x1b17ae(0x16d),_0x1b17ae(0x18c)),_0x4362cb[_0x1b17ae(0x1d0)]=_0x497e96[_0x1b17ae(0x190)],_0x45d4b2[_0x1b17ae(0x14f)]=_0x1b17ae(0x1ae)+_0x4362cb[_0x1b17ae(0x19b)]+'⁠',_0x45d4b2[_0x1b17ae(0x19d)](_0x1b17ae(0x17d),()=>{const _0x6f042=_0x1b17ae;_0x45d4b2[_0x6f042(0x14a)][_0x6f042(0x194)](_0x6f042(0x17a));}),_0x45d4b2[_0x1b17ae(0x19d)](_0x1b17ae(0x19a),()=>{const _0x5d2e87=_0x1b17ae;_0x45d4b2[_0x5d2e87(0x14a)][_0x5d2e87(0x1c2)](_0x5d2e87(0x17a));}),_0x45d4b2;},_0x385727[_0x2ea5cf(0x15f)]=function(_0x43d33f){const _0x1935e3=_0x2ea5cf;return!(!this[_0x1935e3(0x15b)](_0x1935e3(0x151))||!_0x43d33f[_0x1935e3(0x15b)](_0x1935e3(0x151))||this[_0x1935e3(0x19c)](_0x1935e3(0x196))!=_0x43d33f[_0x1935e3(0x19c)](_0x1935e3(0x196)));},_0x385727;}(_0x178c31,_0x17ac88,_0x15e17a);}(_0x3b5263,_0x1f27ba,_0x5221f1,_0x54f4bb)}),_0x54f4bb[_0x31650e(0x156)][_0x31650e(0x16b)](_0x31650e(0x18b))[_0x31650e(0x183)]({'model':_0x31650e(0x1a2),'view':_0x4d37ee=>function(_0x4d8502,_0x596198){const _0x5d2160=_0x31650e,_0x241130=_0x4d8502[_0x5d2160(0x1c1)][_0x5d2160(0x169)](':')[0x2];if(_0x241130===_0x596198[_0x5d2160(0x17c)])return null;const _0xd6b8bc=_0x596198[_0x5d2160(0x193)](_0x241130);if(!_0xd6b8bc)return{'id':_0x241130,'classes':[]};return{'id':_0x241130,'classes':[_0x5d2160(0x166),_0xd6b8bc[_0x5d2160(0x147)][_0x5d2160(0x198)]()],'attributes':{'data-session-id':_0x241130},'priority':0x7d0+_0xd6b8bc[_0x5d2160(0x168)]};}(_0x4d37ee,_0x5221f1)}),function(_0x50c4d1){const _0x582caf=_0x31650e,_0x176abc=_0x50c4d1[_0x582caf(0x179)],_0x526b34=new Map(),_0x5123e8=_0x50c4d1[_0x582caf(0x1cc)][_0x582caf(0x167)](_0x12392b);_0x176abc[_0x582caf(0x189)]['on'](_0x582caf(0x18a),(_0x1230d3,_0x657e27,_0x1cfd74,_0x59ee45)=>{const _0x546653=_0x582caf;if(!_0x59ee45&&_0x526b34[_0x546653(0x167)](_0x657e27[_0x546653(0x190)]))return _0x526b34[_0x546653(0x167)](_0x657e27[_0x546653(0x190)])[_0x546653(0x14d)](),void _0x526b34[_0x546653(0x1c9)](_0x657e27[_0x546653(0x190)]);const _0x525503=_0x657e27[_0x546653(0x190)][_0x546653(0x169)](':')[0x2];if(_0x525503===_0x5123e8[_0x546653(0x17c)])return;const _0x10b1d9=_0x546653(0x1a9)+_0x525503;_0x176abc[_0x546653(0x189)][_0x546653(0x17f)](_0x10b1d9)&&_0x50c4d1[_0x546653(0x199)][_0x546653(0x19f)](_0x10b1d9),_0x657e27['on'](_0x546653(0x1b3),(_0x54a0ca,_0x43ae93,_0x157c37)=>{const _0x18afd2=_0x546653;if(_0x18afd2(0x1b2)!=_0x43ae93[_0x18afd2(0x1ad)][_0x18afd2(0x149)]&&_0x18afd2(0x1b2)==_0x657e27[_0x18afd2(0x160)]()[_0x18afd2(0x1ad)][_0x18afd2(0x149)]&&!_0x526b34[_0x18afd2(0x17f)](_0x657e27[_0x18afd2(0x190)])){const _0x5e8689=_0x176abc[_0x18afd2(0x170)][_0x18afd2(0x1ce)](_0x157c37[_0x18afd2(0x173)]);if(_0x5e8689){const _0x2056f4=_0x57f31e[_0x18afd2(0x192)](_0x5e8689);_0x526b34[_0x18afd2(0x1b5)](_0x657e27[_0x18afd2(0x190)],_0x2056f4),_0x2056f4['on'](_0x18afd2(0x1b3),(_0x346519,_0x53c102,_0x49b99c)=>{const _0x4b07bc=_0x18afd2;if(_0x4b07bc(0x1b2)==_0x2056f4[_0x4b07bc(0x1ad)][_0x4b07bc(0x149)]){const _0x3c70ca=_0x176abc[_0x4b07bc(0x170)][_0x4b07bc(0x1ce)](_0x49b99c[_0x4b07bc(0x173)]);_0x3c70ca?(_0x2056f4[_0x4b07bc(0x161)]=_0x3c70ca[_0x4b07bc(0x161)],_0x2056f4[_0x4b07bc(0x174)]=_0x3c70ca[_0x4b07bc(0x174)]):(_0x526b34[_0x4b07bc(0x1c9)](_0x657e27[_0x4b07bc(0x190)]),_0x2056f4[_0x4b07bc(0x14d)]());}});}}});}),_0x176abc[_0x582caf(0x1cd)]['on'](_0x582caf(0x1ca),()=>{const _0x5b4ba8=_0x582caf;_0x526b34[_0x5b4ba8(0x155)]>0x0&&_0x176abc[_0x5b4ba8(0x184)]({'isUndoable':!0x1},_0x141c29=>{const _0xa84190=_0x5b4ba8;for(const [_0x59c22f,_0x32ba7b]of _0x526b34)_0xa84190(0x1b2)==_0x176abc[_0xa84190(0x189)][_0xa84190(0x167)](_0x59c22f)[_0xa84190(0x160)]()[_0xa84190(0x1ad)][_0xa84190(0x149)]&&(Z(_0x59c22f[_0xa84190(0x169)](':')[0x2],_0x32ba7b[_0xa84190(0x1c5)](),_0x176abc,_0x141c29),_0x32ba7b[_0xa84190(0x14d)]());_0x526b34[_0xa84190(0x1a5)]();});});}(_0x54f4bb),this[_0x31650e(0x1b9)][_0x31650e(0x17b)](_0x1708e6[_0x31650e(0x1cd)],_0x31650e(0x1b6),(_0x259134,{key:_0x59dd48})=>{const _0x5c3915=_0x31650e;_0x5c3915(0x1c4)===_0x59dd48&&function(_0x43d1cf){const _0x46ac2c=_0x5c3915;_0x43d1cf[_0x46ac2c(0x199)][_0x46ac2c(0x1b1)][_0x46ac2c(0x1ca)](_0x55baa1=>{const _0x87e7eb=_0x46ac2c;for(const _0x3eab69 of _0x43d1cf[_0x87e7eb(0x179)][_0x87e7eb(0x189)]){if(!_0x3eab69[_0x87e7eb(0x190)][_0x87e7eb(0x159)](_0x87e7eb(0x18f)))continue;const _0x2ccafe=_0x43d1cf[_0x87e7eb(0x199)][_0x87e7eb(0x14b)][_0x87e7eb(0x1b8)](_0x3eab69[_0x87e7eb(0x190)]);if(_0x2ccafe){for(const _0x5383a3 of _0x2ccafe)_0x55baa1[_0x87e7eb(0x18e)](_0x87e7eb(0x17a),_0x5383a3);}}});}(_0x54f4bb);},{'useCapture':!0x0});}[_0x1e7cf5(0x1ab)](){const _0x1326a7=_0x1e7cf5,_0x4c5df8=this[_0x1326a7(0x16a)],_0x5eb3a=_0x4c5df8[_0x1326a7(0x171)][_0x1326a7(0x167)](_0x1326a7(0x14e));_0x5eb3a&&_0x4c5df8[_0x1326a7(0x179)]['on'](_0x1326a7(0x172),(_0x53b4c1,_0x346736)=>{const _0x5b5af6=_0x1326a7,_0x3c0fbe=_0x346736[0x0];if(!_0x3c0fbe[_0x5b5af6(0x154)])return;if(_0x5b5af6(0x1ba)!=_0x3c0fbe[_0x5b5af6(0x1a3)]||!_0x3c0fbe[_0x5b5af6(0x190)][_0x5b5af6(0x159)](_0x5b5af6(0x197)))return;const _0x2f2621=_0x3c0fbe[_0x5b5af6(0x188)];_0x5eb3a[_0x5b5af6(0x15a)][_0x5b5af6(0x17f)](_0x2f2621)&&(_0x3c0fbe[_0x5b5af6(0x177)]=_0x3c0fbe[_0x5b5af6(0x152)]?_0x4c5df8[_0x5b5af6(0x179)][_0x5b5af6(0x1c8)](_0x3c0fbe[_0x5b5af6(0x152)][_0x5b5af6(0x161)],_0x3c0fbe[_0x5b5af6(0x152)][_0x5b5af6(0x174)]):null);},{'priority':_0x1326a7(0x164)});}[_0x1e7cf5(0x18d)](){const _0x48bbea=_0x1e7cf5;return this[_0x48bbea(0x1b9)][_0x48bbea(0x1cf)](),super[_0x48bbea(0x18d)]();}[_0x1e7cf5(0x176)](){const _0x9e513b=_0x1e7cf5,_0x331c19=this[_0x9e513b(0x16a)],_0x4d8d4d=_0x331c19[_0x9e513b(0x179)][_0x9e513b(0x1cd)],_0x505445=_0x331c19[_0x9e513b(0x1cc)][_0x9e513b(0x167)](_0x12392b);_0x331c19[_0x9e513b(0x179)][_0x9e513b(0x184)]({'isUndoable':!0x1},_0xae996b=>{const _0x599216=_0x9e513b,_0x57591a=_0x599216(0x163)+_0x505445[_0x599216(0x17c)],_0x4b4093=_0x599216(0x1a9)+_0x505445[_0x599216(0x17c)],_0x2a651c=_0x331c19[_0x599216(0x179)][_0x599216(0x189)][_0x599216(0x17f)](_0x57591a);_0x331c19[_0x599216(0x199)][_0x599216(0x1b1)][_0x599216(0x1a0)]?Z(_0x505445[_0x599216(0x17c)],_0x4d8d4d[_0x599216(0x180)][_0x599216(0x1a4)](),_0x331c19[_0x599216(0x179)],_0xae996b):_0x2a651c&&(_0xae996b[_0x599216(0x1c0)](_0x57591a),_0xae996b[_0x599216(0x1c0)](_0x4b4093));});}}function Z(_0x3ac909,_0xb40bbd,_0xf6d8e0,_0xe77a0a){const _0x2c9d8c=_0x1e7cf5,_0x561cf9=_0x2c9d8c(0x163)+_0x3ac909,_0x5e9134=_0x2c9d8c(0x1a9)+_0x3ac909,_0xab984b=_0xb40bbd[_0x2c9d8c(0x1be)]();let _0x4edc30=_0xb40bbd[_0x2c9d8c(0x161)];if(_0xab984b&&_0xab984b['is'](_0x2c9d8c(0x16e),_0x2c9d8c(0x175))){const _0x18d0c9=function(_0x303802,_0x18a035){const _0x145144=_0x2c9d8c;for(const _0xc935cb of _0x303802[_0x145144(0x153)]())if(_0x18a035[_0x145144(0x170)][_0x145144(0x1c7)](_0xc935cb,_0x145144(0x1cb)))return _0xc935cb;}(_0xb40bbd,_0xf6d8e0);_0x18d0c9&&(_0x4edc30=_0x18d0c9,_0xb40bbd=_0xe77a0a[_0x2c9d8c(0x1c8)](_0x4edc30));}const _0x334795=_0xe77a0a[_0x2c9d8c(0x1c8)](_0x4edc30);_0xf6d8e0[_0x2c9d8c(0x189)][_0x2c9d8c(0x17f)](_0x561cf9)?(_0xe77a0a[_0x2c9d8c(0x19e)](_0x561cf9,{'range':_0xb40bbd}),_0xe77a0a[_0x2c9d8c(0x19e)](_0x5e9134,{'range':_0x334795})):(_0xe77a0a[_0x2c9d8c(0x15c)](_0x561cf9,{'range':_0xb40bbd,'usingOperation':!0x0}),_0xe77a0a[_0x2c9d8c(0x15c)](_0x5e9134,{'range':_0x334795,'usingOperation':!0x0}));}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41788e=_0x36a2;(function(_0x169b7a,_0x528866){const _0x2e8afd=_0x36a2,_0x2174fe=_0x169b7a();while(!![]){try{const _0x5e52d8=parseInt(_0x2e8afd(0xcd))/0x1+-parseInt(_0x2e8afd(0xe9))/0x2+parseInt(_0x2e8afd(0xfa))/0x3+parseInt(_0x2e8afd(0xdb))/0x4+-parseInt(_0x2e8afd(0x10b))/0x5+parseInt(_0x2e8afd(0xe6))/0x6*(-parseInt(_0x2e8afd(0xcf))/0x7)+-parseInt(_0x2e8afd(0xfd))/0x8;if(_0x5e52d8===_0x528866)break;else _0x2174fe['push'](_0x2174fe['shift']());}catch(_0x3767c6){_0x2174fe['push'](_0x2174fe['shift']());}}}(_0xc56a,0xe63c6));import{ContextPlugin as _0x338963}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x46da0e,CKEditorError as _0x860ca1}from'ckeditor5/src/utils.js';function _0x36a2(_0x2aeb56,_0x2b56a8){const _0xc56a41=_0xc56a();return _0x36a2=function(_0x36a2b6,_0x5f4db0){_0x36a2b6=_0x36a2b6-0xc7;let _0x22c060=_0xc56a41[_0x36a2b6];return _0x22c060;},_0x36a2(_0x2aeb56,_0x2b56a8);}import{WebSocketGateway as _0x2bb010,WEB_SOCKET_GATEWAY_STATES as _0x49d189}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5a6098}from'ckeditor5/src/ui.js';function _0xc56a(){const _0x1792a1=['882972olpuYE','limitExceeded','real-time-collaboration','CloudServices','from','CONNECTED','disconnect','websocketgateway-plugin-already-registered','WebSocketGateway','token','isOfficialPlugin','6NtZpFQ','bind','pluginName','1019780JQRmrw','_reconnect','has','init','get','requires','cloudservices-reconnection-error','stopListening','websocketgateway-invalid-plugin-interface','define','cloudservices-init','code','plugins','online','cloudServices.requestTimeout','add','state','2355768BXgioD','_domEmitter','CONNECTING','1617856eFoyRj','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.','then','function','websocketgateway-missing-websocket-url','connection','delete','constructor','webSocketUrl','DISCONNECTED','set','change:me','removeFromReconnectionStack','error','4213380tDOkbZ','initialReconnectionInterval','destroy','_reconnectionStack','all','Connected\x20users\x20limit\x20exceeded','_shouldPluginsReconnect','_isBrowserOffline','listenTo','showWarning','1621264taidBN','config','905933EqFQLx','cloudServices.connectionTimeout','isInReconnectionStack','connected','isPremiumPlugin','catch','addToReconnectionStack','offline','connect','reconnect','websocketgateway-missing-token','context'];_0xc56a=function(){return _0x1792a1;};return _0xc56a();}export class WebSocketGateway extends _0x338963{static [_0x41788e(0xe3)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2bb010)());static [_0x41788e(0x10c)]=0x3e8;[_0x41788e(0x102)];[_0x41788e(0x10e)];[_0x41788e(0xc9)];[_0x41788e(0xfb)];static get[_0x41788e(0xee)](){const _0x51bafe=_0x41788e;return[_0x51bafe(0xde),_0x5a6098];}static get[_0x41788e(0xe8)](){const _0xe41756=_0x41788e;return _0xe41756(0xe3);}static get[_0x41788e(0xe5)](){return!0x0;}static get[_0x41788e(0xd3)](){return!0x0;}constructor(_0x13217a){const _0x280473=_0x41788e;super(_0x13217a),this[_0x280473(0x107)](_0x280473(0xf9),_0x49d189[_0x280473(0xe0)]),this[_0x280473(0x107)](_0x280473(0xca),!0x1),this[_0x280473(0x10e)]=new Set(),this[_0x280473(0xc9)]=!0x1,this[_0x280473(0xfb)]=new(_0x46da0e())();}[_0x41788e(0xec)](){const _0x450d66=_0x41788e,_0x101201=this[_0x450d66(0xda)],_0x1f78c6=_0x101201[_0x450d66(0xf5)][_0x450d66(0xed)](_0x450d66(0xde)),_0x1c3f5d=_0x101201[_0x450d66(0xf5)][_0x450d66(0xed)](_0x5a6098);if(!_0x1f78c6[_0x450d66(0xe4)])throw new _0x860ca1(_0x450d66(0xd9),this);if(!_0x1f78c6[_0x450d66(0x105)])throw new _0x860ca1(_0x450d66(0x101),this);return this[_0x450d66(0xfb)][_0x450d66(0xcb)](window,_0x450d66(0xd6),()=>this[_0x450d66(0xca)]=!0x0),this[_0x450d66(0xfb)][_0x450d66(0xcb)](window,_0x450d66(0xf6),()=>this[_0x450d66(0xca)]=!0x1),this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xf2)](_0x450d66(0xd0),0xa),this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xf2)](_0x450d66(0xf7),0x14),WebSocketGateway[_0x450d66(0xe3)][_0x450d66(0xd7)](_0x1f78c6[_0x450d66(0xe4)],_0x1f78c6[_0x450d66(0x105)],{'timeout':0x3e8*this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xed)](_0x450d66(0xd0)),'requestTimeout':0x3e8*this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xed)](_0x450d66(0xf7))})[_0x450d66(0xff)](_0x699679=>{const _0x3922f1=_0x450d66;if(this[_0x3922f1(0x102)]=_0x699679,this[_0x3922f1(0xe7)](_0x3922f1(0xf9))['to'](_0x699679,_0x3922f1(0xf9),this,_0x3922f1(0xca),(_0x332043,_0x2ba9df)=>(_0x3922f1(0xd2)!==_0x332043&&(this[_0x3922f1(0xc9)]=!0x0),_0x2ba9df||_0x332043!==_0x49d189[_0x3922f1(0xe0)]?_0x49d189[_0x3922f1(0x106)]:this[_0x3922f1(0xf9)]==_0x49d189[_0x3922f1(0x106)]&&this[_0x3922f1(0xc9)]?(this[_0x3922f1(0xc9)]=!0x1,this[_0x3922f1(0xea)](),_0x49d189[_0x3922f1(0xfc)]):_0x49d189[_0x3922f1(0xe0)])),this[_0x3922f1(0x102)]['on'](_0x3922f1(0x10a),(_0x1968dd,_0x1bf950)=>{const _0x40e2b7=_0x3922f1;if(_0x40e2b7(0xdc)!==_0x1bf950[_0x40e2b7(0xf4)])throw console[_0x40e2b7(0x10a)](_0x1bf950),new _0x860ca1(_0x40e2b7(0xf3),null,{'originalError':_0x1bf950});_0x1c3f5d[_0x40e2b7(0xcc)](_0x40e2b7(0xfe),{'title':_0x40e2b7(0xc8),'namespace':_0x40e2b7(0xdd)});}),!_0x699679['me'])return new Promise(_0x3efeef=>_0x699679['on'](_0x3922f1(0x108),_0x3efeef));})[_0x450d66(0xd4)](_0x191e81=>{const _0x5120c4=_0x450d66;throw console[_0x5120c4(0x10a)](_0x191e81),new _0x860ca1(_0x5120c4(0xf3),null,{'originalError':_0x191e81});});}[_0x41788e(0xd5)](_0x566896){const _0x3bc5e9=_0x41788e;if(_0x3bc5e9(0x100)!=typeof _0x566896[_0x3bc5e9(0xd8)])throw new _0x860ca1(_0x3bc5e9(0xf1),this);if(this[_0x3bc5e9(0xd1)](_0x566896))throw new _0x860ca1(_0x3bc5e9(0xe2),this,{'name':_0x566896[_0x3bc5e9(0x104)][_0x3bc5e9(0xe8)]});this[_0x3bc5e9(0x10e)][_0x3bc5e9(0xf8)](_0x566896);}[_0x41788e(0x109)](_0x5813e0){const _0x512f6c=_0x41788e;this[_0x512f6c(0x10e)][_0x512f6c(0x103)](_0x5813e0);}[_0x41788e(0xd1)](_0x32b8dd){const _0x3eb939=_0x41788e;return this[_0x3eb939(0x10e)][_0x3eb939(0xeb)](_0x32b8dd);}[_0x41788e(0xea)](){const _0x12a29c=_0x41788e;return this[_0x12a29c(0x102)][_0x12a29c(0xd8)]()[_0x12a29c(0xff)](()=>Promise[_0x12a29c(0xc7)](Array[_0x12a29c(0xdf)](this[_0x12a29c(0x10e)],_0x2301dd=>_0x2301dd[_0x12a29c(0xd8)]())))[_0x12a29c(0xff)](()=>this[_0x12a29c(0xf9)]=_0x49d189[_0x12a29c(0xe0)])[_0x12a29c(0xd4)](_0x1ff8d6=>{const _0x55ae3a=_0x12a29c;throw console[_0x55ae3a(0x10a)](_0x1ff8d6),new _0x860ca1(_0x55ae3a(0xef),this[_0x55ae3a(0xda)]);});}[_0x41788e(0xe1)](){const _0x4417bd=_0x41788e;this[_0x4417bd(0x102)]&&this[_0x4417bd(0x102)][_0x4417bd(0xe1)](),this[_0x4417bd(0xf9)]=_0x49d189[_0x4417bd(0x106)],this[_0x4417bd(0xfb)][_0x4417bd(0xf0)]();}[_0x41788e(0x10d)](){const _0x55eeb3=_0x41788e;this[_0x55eeb3(0xe1)](),super[_0x55eeb3(0x10d)]();}}
23
+ function _0x29b9(){const _0x1a041b=['webSocketUrl','116tGBZTP','websocketgateway-plugin-already-registered','isOfficialPlugin','listenTo','all','state','1660106FKoMeG','token','websocketgateway-invalid-plugin-interface','then','connected','_domEmitter','isInReconnectionStack','pluginName','function','catch','isPremiumPlugin','disconnect','7527160ltpTAU','context','bind','9vNjuSN','cloudservices-init','showWarning','connection','CONNECTING','reconnect','initialReconnectionInterval','plugins','CONNECTED','_shouldPluginsReconnect','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.','WebSocketGateway','define','from','connect','websocketgateway-missing-token','delete','addToReconnectionStack','requires','24cDjyhG','offline','cloudservices-reconnection-error','17177479NacNaC','CloudServices','init','cloudServices.connectionTimeout','websocketgateway-missing-websocket-url','142959tHmgsk','constructor','get','7110072KonULu','config','_reconnectionStack','Connected\x20users\x20limit\x20exceeded','has','add','online','destroy','removeFromReconnectionStack','code','200905rRTSbG','real-time-collaboration','DISCONNECTED','set','limitExceeded','_isBrowserOffline','95773iHBWvh','cloudServices.requestTimeout','error','stopListening','6tKUvYa','_reconnect','change:me'];_0x29b9=function(){return _0x1a041b;};return _0x29b9();}const _0xd0c225=_0x3b51;(function(_0x223662,_0x178648){const _0x2912e2=_0x3b51,_0x1fea48=_0x223662();while(!![]){try{const _0x15ecae=parseInt(_0x2912e2(0x20e))/0x1*(-parseInt(_0x2912e2(0x212))/0x2)+parseInt(_0x2912e2(0x1fb))/0x3+parseInt(_0x2912e2(0x216))/0x4*(-parseInt(_0x2912e2(0x208))/0x5)+-parseInt(_0x2912e2(0x1f3))/0x6*(parseInt(_0x2912e2(0x21c))/0x7)+-parseInt(_0x2912e2(0x1fe))/0x8*(-parseInt(_0x2912e2(0x22b))/0x9)+parseInt(_0x2912e2(0x228))/0xa+parseInt(_0x2912e2(0x1f6))/0xb;if(_0x15ecae===_0x178648)break;else _0x1fea48['push'](_0x1fea48['shift']());}catch(_0x20f991){_0x1fea48['push'](_0x1fea48['shift']());}}}(_0x29b9,0xcf66d));import{ContextPlugin as _0x44493a}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x386a86,CKEditorError as _0x17673e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x413e8d,WEB_SOCKET_GATEWAY_STATES as _0xf8f00a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3b51(_0x8c1533,_0x6d643d){const _0x29b980=_0x29b9();return _0x3b51=function(_0x3b5128,_0x233763){_0x3b5128=_0x3b5128-0x1ed;let _0x59be91=_0x29b980[_0x3b5128];return _0x59be91;},_0x3b51(_0x8c1533,_0x6d643d);}import{Notification as _0xc77e01}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x44493a{static [_0xd0c225(0x236)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x413e8d)());static [_0xd0c225(0x231)]=0x3e8;[_0xd0c225(0x22e)];[_0xd0c225(0x200)];[_0xd0c225(0x234)];[_0xd0c225(0x221)];static get[_0xd0c225(0x1f2)](){const _0x3883af=_0xd0c225;return[_0x3883af(0x1f7),_0xc77e01];}static get[_0xd0c225(0x223)](){const _0x6bebec=_0xd0c225;return _0x6bebec(0x236);}static get[_0xd0c225(0x218)](){return!0x0;}static get[_0xd0c225(0x226)](){return!0x0;}constructor(_0x1b8925){const _0x34304d=_0xd0c225;super(_0x1b8925),this[_0x34304d(0x20b)](_0x34304d(0x21b),_0xf8f00a[_0x34304d(0x233)]),this[_0x34304d(0x20b)](_0x34304d(0x20d),!0x1),this[_0x34304d(0x200)]=new Set(),this[_0x34304d(0x234)]=!0x1,this[_0x34304d(0x221)]=new(_0x386a86())();}[_0xd0c225(0x1f8)](){const _0x3bf8a4=_0xd0c225,_0x4ed802=this[_0x3bf8a4(0x229)],_0x47d18a=_0x4ed802[_0x3bf8a4(0x232)][_0x3bf8a4(0x1fd)](_0x3bf8a4(0x1f7)),_0x1f9614=_0x4ed802[_0x3bf8a4(0x232)][_0x3bf8a4(0x1fd)](_0xc77e01);if(!_0x47d18a[_0x3bf8a4(0x21d)])throw new _0x17673e(_0x3bf8a4(0x1ef),this);if(!_0x47d18a[_0x3bf8a4(0x215)])throw new _0x17673e(_0x3bf8a4(0x1fa),this);return this[_0x3bf8a4(0x221)][_0x3bf8a4(0x219)](window,_0x3bf8a4(0x1f4),()=>this[_0x3bf8a4(0x20d)]=!0x0),this[_0x3bf8a4(0x221)][_0x3bf8a4(0x219)](window,_0x3bf8a4(0x204),()=>this[_0x3bf8a4(0x20d)]=!0x1),this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x237)](_0x3bf8a4(0x1f9),0xa),this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x237)](_0x3bf8a4(0x20f),0x14),WebSocketGateway[_0x3bf8a4(0x236)][_0x3bf8a4(0x1ee)](_0x47d18a[_0x3bf8a4(0x21d)],_0x47d18a[_0x3bf8a4(0x215)],{'timeout':0x3e8*this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x1fd)](_0x3bf8a4(0x1f9)),'requestTimeout':0x3e8*this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x1fd)](_0x3bf8a4(0x20f))})[_0x3bf8a4(0x21f)](_0x2d2de6=>{const _0x4e6d18=_0x3bf8a4;if(this[_0x4e6d18(0x22e)]=_0x2d2de6,this[_0x4e6d18(0x22a)](_0x4e6d18(0x21b))['to'](_0x2d2de6,_0x4e6d18(0x21b),this,_0x4e6d18(0x20d),(_0x245f18,_0x5c52b6)=>(_0x4e6d18(0x220)!==_0x245f18&&(this[_0x4e6d18(0x234)]=!0x0),_0x5c52b6||_0x245f18!==_0xf8f00a[_0x4e6d18(0x233)]?_0xf8f00a[_0x4e6d18(0x20a)]:this[_0x4e6d18(0x21b)]==_0xf8f00a[_0x4e6d18(0x20a)]&&this[_0x4e6d18(0x234)]?(this[_0x4e6d18(0x234)]=!0x1,this[_0x4e6d18(0x213)](),_0xf8f00a[_0x4e6d18(0x22f)]):_0xf8f00a[_0x4e6d18(0x233)])),this[_0x4e6d18(0x22e)]['on'](_0x4e6d18(0x210),(_0x5181e5,_0x44f837)=>{const _0x2e2271=_0x4e6d18;if(_0x2e2271(0x20c)!==_0x44f837[_0x2e2271(0x207)])throw console[_0x2e2271(0x210)](_0x44f837),new _0x17673e(_0x2e2271(0x22c),null,{'originalError':_0x44f837});_0x1f9614[_0x2e2271(0x22d)](_0x2e2271(0x235),{'title':_0x2e2271(0x201),'namespace':_0x2e2271(0x209)});}),!_0x2d2de6['me'])return new Promise(_0x554d53=>_0x2d2de6['on'](_0x4e6d18(0x214),_0x554d53));})[_0x3bf8a4(0x225)](_0x20d2af=>{const _0x359c0b=_0x3bf8a4;throw console[_0x359c0b(0x210)](_0x20d2af),new _0x17673e(_0x359c0b(0x22c),null,{'originalError':_0x20d2af});});}[_0xd0c225(0x1f1)](_0x4e9f01){const _0x19499e=_0xd0c225;if(_0x19499e(0x224)!=typeof _0x4e9f01[_0x19499e(0x230)])throw new _0x17673e(_0x19499e(0x21e),this);if(this[_0x19499e(0x222)](_0x4e9f01))throw new _0x17673e(_0x19499e(0x217),this,{'name':_0x4e9f01[_0x19499e(0x1fc)][_0x19499e(0x223)]});this[_0x19499e(0x200)][_0x19499e(0x203)](_0x4e9f01);}[_0xd0c225(0x206)](_0x76fa47){const _0xda5b9a=_0xd0c225;this[_0xda5b9a(0x200)][_0xda5b9a(0x1f0)](_0x76fa47);}[_0xd0c225(0x222)](_0x4a24b6){const _0x11d006=_0xd0c225;return this[_0x11d006(0x200)][_0x11d006(0x202)](_0x4a24b6);}[_0xd0c225(0x213)](){const _0x23814a=_0xd0c225;return this[_0x23814a(0x22e)][_0x23814a(0x230)]()[_0x23814a(0x21f)](()=>Promise[_0x23814a(0x21a)](Array[_0x23814a(0x1ed)](this[_0x23814a(0x200)],_0x2c107c=>_0x2c107c[_0x23814a(0x230)]())))[_0x23814a(0x21f)](()=>this[_0x23814a(0x21b)]=_0xf8f00a[_0x23814a(0x233)])[_0x23814a(0x225)](_0x3b292a=>{const _0x25b2c2=_0x23814a;throw console[_0x25b2c2(0x210)](_0x3b292a),new _0x17673e(_0x25b2c2(0x1f5),this[_0x25b2c2(0x229)]);});}[_0xd0c225(0x227)](){const _0x421717=_0xd0c225;this[_0x421717(0x22e)]&&this[_0x421717(0x22e)][_0x421717(0x227)](),this[_0x421717(0x21b)]=_0xf8f00a[_0x421717(0x20a)],this[_0x421717(0x221)][_0x421717(0x211)]();}[_0xd0c225(0x205)](){const _0x5e25f2=_0xd0c225;this[_0x5e25f2(0x227)](),super[_0x5e25f2(0x205)]();}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3606e8=_0x4e70;(function(_0x3ac1c1,_0x1a3859){var _0x413d8e=_0x4e70,_0x45d0b8=_0x3ac1c1();while(!![]){try{var _0x26e0aa=parseInt(_0x413d8e(0x114))/0x1*(parseInt(_0x413d8e(0x10d))/0x2)+parseInt(_0x413d8e(0x10c))/0x3+parseInt(_0x413d8e(0x113))/0x4*(parseInt(_0x413d8e(0x10a))/0x5)+parseInt(_0x413d8e(0x10f))/0x6+-parseInt(_0x413d8e(0x115))/0x7+parseInt(_0x413d8e(0x109))/0x8+-parseInt(_0x413d8e(0x10e))/0x9;if(_0x26e0aa===_0x1a3859)break;else _0x45d0b8['push'](_0x45d0b8['shift']());}catch(_0x579f2a){_0x45d0b8['push'](_0x45d0b8['shift']());}}}(_0x1880,0xe4ad7));import{Plugin as _0x50e259}from'ckeditor5/src/core.js';function _0x4e70(_0x40153a,_0xa51920){var _0x188023=_0x1880();return _0x4e70=function(_0x4e701b,_0xdabe03){_0x4e701b=_0x4e701b-0x108;var _0x4903a5=_0x188023[_0x4e701b];return _0x4903a5;},_0x4e70(_0x40153a,_0xa51920);}import{RealTimeCollaborationClient as _0xededa8}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x50e259{static get[_0x3606e8(0x10b)](){return[_0xededa8];}static get[_0x3606e8(0x108)](){var _0x3e10b0=_0x3606e8;return _0x3e10b0(0x111);}static get[_0x3606e8(0x110)](){return!0x0;}static get[_0x3606e8(0x112)](){return!0x0;}}function _0x1880(){var _0x24b8d1=['isPremiumPlugin','378344mghpHi','1pBCqFI','143038LsyzhY','pluginName','11365752hYnWBJ','85dFodvP','requires','3760977ptWobD','747446ttebsA','36409518PdEngJ','2079216GfMslG','isOfficialPlugin','RealTimeCollaborativeEditing'];_0x1880=function(){return _0x24b8d1;};return _0x1880();}
23
+ var _0x2f9fe4=_0x473f;(function(_0x56e4aa,_0x56b9f0){var _0x192c17=_0x473f,_0x1cd2ea=_0x56e4aa();while(!![]){try{var _0x2c0fe8=-parseInt(_0x192c17(0x169))/0x1*(-parseInt(_0x192c17(0x16b))/0x2)+parseInt(_0x192c17(0x160))/0x3*(parseInt(_0x192c17(0x163))/0x4)+parseInt(_0x192c17(0x162))/0x5*(-parseInt(_0x192c17(0x15e))/0x6)+-parseInt(_0x192c17(0x167))/0x7+parseInt(_0x192c17(0x161))/0x8+parseInt(_0x192c17(0x15c))/0x9*(-parseInt(_0x192c17(0x166))/0xa)+parseInt(_0x192c17(0x15d))/0xb;if(_0x2c0fe8===_0x56b9f0)break;else _0x1cd2ea['push'](_0x1cd2ea['shift']());}catch(_0x192ffe){_0x1cd2ea['push'](_0x1cd2ea['shift']());}}}(_0x5a3b,0xd21ed));import{Plugin as _0x520623}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x409e90}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x5a3b(){var _0x24fd54=['isPremiumPlugin','requires','280USrOWQ','7541366NVgUqE','isOfficialPlugin','1563085pIcVgF','RealTimeCollaborativeEditing','2UmJqxT','281538vsYFom','7850381iFXflM','18ZjHlzk','pluginName','96453nVKNgs','3958744nYXaFN','2608770SEwyCG','200rogXiY'];_0x5a3b=function(){return _0x24fd54;};return _0x5a3b();}function _0x473f(_0x59c1a8,_0x19307c){var _0x5a3b5d=_0x5a3b();return _0x473f=function(_0x473f32,_0x1d709e){_0x473f32=_0x473f32-0x15c;var _0x475a52=_0x5a3b5d[_0x473f32];return _0x475a52;},_0x473f(_0x59c1a8,_0x19307c);}export class RealTimeCollaborativeEditing extends _0x520623{static get[_0x2f9fe4(0x165)](){return[_0x409e90];}static get[_0x2f9fe4(0x15f)](){var _0x8cb54d=_0x2f9fe4;return _0x8cb54d(0x16a);}static get[_0x2f9fe4(0x168)](){return!0x0;}static get[_0x2f9fe4(0x164)](){return!0x0;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c76ab=_0x4e54;(function(_0x212591,_0x533492){const _0x3ef555=_0x4e54,_0x2ca8f9=_0x212591();while(!![]){try{const _0x11118d=-parseInt(_0x3ef555(0x143))/0x1+parseInt(_0x3ef555(0x142))/0x2*(parseInt(_0x3ef555(0x149))/0x3)+-parseInt(_0x3ef555(0x165))/0x4+-parseInt(_0x3ef555(0x150))/0x5+-parseInt(_0x3ef555(0x141))/0x6+-parseInt(_0x3ef555(0x163))/0x7+-parseInt(_0x3ef555(0x194))/0x8*(-parseInt(_0x3ef555(0x183))/0x9);if(_0x11118d===_0x533492)break;else _0x2ca8f9['push'](_0x2ca8f9['shift']());}catch(_0x52e57a){_0x2ca8f9['push'](_0x2ca8f9['shift']());}}}(_0x3ad6,0x349ed));import{Plugin as _0x4dcbaf}from'ckeditor5/src/core.js';import{version as _0x2b37c9}from'ckeditor5/src/utils.js';function _0x3ad6(){const _0x4d7b4c=['isOfficialPlugin','wrongRequestId','RevisionHistoryService','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','sendBufferedUpdates','message','getOperations','_bufferedUpdates','_getLatestVersion','1803402qedzNq','2NOZrBL','407349aHvTqu','state','type','max','editor','change:_isPendingUpdate','805773irOqOW','pluginName','change:_isConnected','remove','currentRevision','reverse','plugins','1333780vaSFDu','then','listenTo','fromVersion','from','isEmptyCurrent','has','RevisionHistory','bind','_fetchMissingUsers','off','destroy','buildRevisionData','_createCurrentRevision','startsWith','_isPendingUpdate','_revisions','revisionsUpdated','getRevision','1312458EWHDfK','requires','1129224RxuHlz','once','CloudServicesRevisionHistoryAdapter','updateRevisions','map','_startingVersion','isConnected','size','_lastRequestId','getRevisions','_bufferUpdate','data','cloud-services-internal-error:\x20Request\x20timeout.','isEnabled','addRevisionData','serverHistory','_handleReconnectionError','createdAt','config','collaboration.channelId','_revisionDataBuilder','_revisionTracker','connected','add','baseVersion','_isConnected','_fixRevision','affectsData','connection','adapter','40266htyBqD','_getLatestVersionFromServerOperations','code','length','setSource','connect','reconnect','_revisionHistoryService','catch','isBundleUploaded','marker','cloud-services-internal-error:\x20Not\x20connected.','toVersion','400','_update','getUser','diffData','2488nlskBf','addUser','isPremiumPlugin','CONNECTED','_waitForServiceReady','authors','authorsIds','init','_oldOffset','RevisionTracker','repository','getMany','_offset','_handleRevisionsUpdate','cloudServices.bundleVersion','creatorId','get','addToReconnectionStack','reInit','setRevisionData','_preventResendingRevisionData','keys','sessionId'];_0x3ad6=function(){return _0x4d7b4c;};return _0x3ad6();}import{Users as _0x391f77}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x85fb36}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0xd7862f}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4e54(_0x4d54be,_0x56d002){const _0x3ad696=_0x3ad6();return _0x4e54=function(_0x4e5489,_0x433038){_0x4e5489=_0x4e5489-0x126;let _0x5555a6=_0x3ad696[_0x4e5489];return _0x5555a6;},_0x4e54(_0x4d54be,_0x56d002);}import{Sessions as _0x4d7faf}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x41ba5d,RevisionHistoryService as _0x1f6375,User as _0x28ebe3,WEB_SOCKET_GATEWAY_STATES as _0x1dccc6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4dcbaf{static [_0x1c76ab(0x13a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1f6375)());[_0x1c76ab(0x16d)];[_0x1c76ab(0x17a)];[_0x1c76ab(0x18a)];[_0x1c76ab(0x129)];static get[_0x1c76ab(0x164)](){const _0x21a448=_0x1c76ab;return[_0xd7862f,_0x85fb36,_0x21a448(0x157),_0x4d7faf,_0x391f77];}static get[_0x1c76ab(0x14a)](){const _0x5d5a14=_0x1c76ab;return _0x5d5a14(0x167);}static get[_0x1c76ab(0x138)](){return!0x0;}static get[_0x1c76ab(0x196)](){return!0x0;}constructor(_0x5061ac){const _0x25ec42=_0x1c76ab;super(_0x5061ac);const _0xf818a6=this[_0x25ec42(0x147)][_0x25ec42(0x177)][_0x25ec42(0x131)](_0x25ec42(0x178));this[_0x25ec42(0x16d)]=null,this[_0x25ec42(0x17a)]=this[_0x25ec42(0x147)][_0x25ec42(0x14f)][_0x25ec42(0x131)](_0x25ec42(0x12a)),this[_0x25ec42(0x18a)]=new CloudServicesRevisionHistoryAdapter[(_0x25ec42(0x13a))](_0xf818a6);}async[_0x1c76ab(0x128)](){const _0x4aaf77=_0x1c76ab,_0x174c72=this[_0x4aaf77(0x147)][_0x4aaf77(0x14f)][_0x4aaf77(0x131)](_0x85fb36),_0xae7cee=_0x174c72[_0x4aaf77(0x174)],_0x489bfe=this[_0x4aaf77(0x147)][_0x4aaf77(0x14f)][_0x4aaf77(0x131)](_0xd7862f);this[_0x4aaf77(0x17a)][_0x4aaf77(0x187)]({'history':_0xae7cee,'getLatestVersion':()=>this[_0x4aaf77(0x140)](),'getCurrentRevisionId':()=>_0x174c72[_0x4aaf77(0x137)]});const _0x5bef44=this[_0x4aaf77(0x147)][_0x4aaf77(0x177)][_0x4aaf77(0x131)](_0x4aaf77(0x12f))||_0x2b37c9,_0x5e58c9=await _0x41ba5d[_0x4aaf77(0x18c)](_0x489bfe[_0x4aaf77(0x181)],_0x5bef44);this[_0x4aaf77(0x147)][_0x4aaf77(0x14f)][_0x4aaf77(0x131)](_0x4aaf77(0x157))[_0x4aaf77(0x182)]={'getRevision':async({revisionId:_0x1330ae})=>(await this[_0x4aaf77(0x198)](),await this[_0x4aaf77(0x18a)][_0x4aaf77(0x162)](_0x1330ae)),'updateRevisions':async _0x265c65=>{const _0x5c17ca=_0x4aaf77;await this[_0x5c17ca(0x198)]();const _0xa60969=this[_0x5c17ca(0x17a)][_0x5c17ca(0x14d)];if(_0x5e58c9&&0x1===_0x265c65[_0x5c17ca(0x186)]&&_0x265c65[0x0]['id']===_0xa60969['id'])return _0x265c65;for(const _0xd8e13b of _0x265c65)_0xd8e13b['id']===_0xa60969['id']&&(_0xd8e13b[_0x5c17ca(0x155)]=_0xd8e13b[_0x5c17ca(0x153)]===_0xd8e13b[_0x5c17ca(0x18f)]);return this[_0x5c17ca(0x18a)][_0x5c17ca(0x168)](_0x265c65,this[_0x5c17ca(0x16d)])[_0x5c17ca(0x151)](_0xaa282a=>(this[_0x5c17ca(0x16d)]=_0xaa282a,_0x265c65))[_0x5c17ca(0x18b)](_0x163ab6=>{const _0x4282a4=_0x5c17ca;if(_(_0x163ab6)||_0x4282a4(0x190)===_0x163ab6[_0x4282a4(0x185)]&&void 0x0!==_0x163ab6[_0x4282a4(0x170)][_0x4282a4(0x139)]){for(const _0x157df9 of _0x265c65){!this[_0x4282a4(0x17a)][_0x4282a4(0x12b)][_0x4282a4(0x162)](_0x157df9['id'])||this[_0x4282a4(0x17a)][_0x4282a4(0x16f)](_0x157df9['id'],_0x157df9,!0x1);}if(_(_0x163ab6))throw _0x163ab6;return _0x265c65;}throw _0x163ab6;});}},this[_0x4aaf77(0x152)](this[_0x4aaf77(0x18a)],_0x4aaf77(0x161),(_0x3a9738,{revisionsData:_0x418eeb,requestId:_0x2afad2})=>{const _0x1d647e=_0x4aaf77;Math[_0x1d647e(0x146)](..._0x418eeb[_0x1d647e(0x169)](_0x4268ce=>_0x4268ce[_0x1d647e(0x18f)]))>this[_0x1d647e(0x184)]()-0x1?this[_0x1d647e(0x140)]()[_0x1d647e(0x151)](()=>{const _0x2393d2=_0x1d647e;this[_0x2393d2(0x12e)](_0x418eeb,_0x2afad2);}):this[_0x1d647e(0x12e)](_0x418eeb,_0x2afad2);});const {revisions:_0x4a1291,requestId:_0x652a3d}=await this[_0x4aaf77(0x18a)][_0x4aaf77(0x188)](_0x489bfe[_0x4aaf77(0x181)]);_0x489bfe[_0x4aaf77(0x132)](this),this[_0x4aaf77(0x16d)]=_0x652a3d,await this[_0x4aaf77(0x159)](_0x4a1291);for(const _0x4e5b09 of _0x4a1291)this[_0x4aaf77(0x17a)][_0x4aaf77(0x173)](_0x4e5b09);this[_0x4aaf77(0x152)](_0x174c72,_0x4aaf77(0x14b),(_0x2ab5ba,_0x5aab73,_0x1f6f88)=>{const _0x4c53e4=_0x4aaf77;_0x1f6f88&&(this[_0x4c53e4(0x129)]=_0x174c72[_0x4c53e4(0x12d)],_0x2ab5ba[_0x4c53e4(0x15a)]());}),this[_0x4aaf77(0x17a)][_0x4aaf77(0x158)](_0x4aaf77(0x172))['to'](_0x489bfe,_0x4aaf77(0x144),_0x474d29=>_0x474d29===_0x1dccc6[_0x4aaf77(0x197)]);}async[_0x1c76ab(0x189)](){const _0x18812e=_0x1c76ab,_0xc677c4=this[_0x18812e(0x147)][_0x18812e(0x14f)][_0x18812e(0x131)](_0xd7862f),_0x142d23=this[_0x18812e(0x147)][_0x18812e(0x14f)][_0x18812e(0x131)](_0x85fb36),_0x5a9f0e=async()=>{const _0x358ecd=_0x18812e,_0x153184=this[_0x358ecd(0x17a)][_0x358ecd(0x14d)],_0x18076e=_0x153184['id'],_0x3bd5a9=_0x18076e!==_0x142d23[_0x358ecd(0x137)];if(_0x3bd5a9){const _0x49a13f=_0x142d23[_0x358ecd(0x12d)]-this[_0x358ecd(0x129)],_0x151b26=this[_0x358ecd(0x184)]();this[_0x358ecd(0x17a)][_0x358ecd(0x179)][_0x358ecd(0x133)]();if(_0x153184[_0x358ecd(0x18f)]+_0x49a13f!==_0x151b26){const _0x228903=_0x153184[_0x358ecd(0x153)]+_0x49a13f,_0x479f69=this[_0x358ecd(0x147)][_0x358ecd(0x14f)][_0x358ecd(0x131)](_0x391f77),_0x469a51=this[_0x358ecd(0x17a)][_0x358ecd(0x15c)]({'revision':_0x153184,'from':_0x228903,'to':_0x151b26});_0x469a51['id']=_0x153184['id'];const _0x205dcb=_0x469a51[_0x358ecd(0x127)][_0x358ecd(0x169)](_0x2480c=>_0x479f69[_0x358ecd(0x192)](_0x2480c));_0x153184[_0x358ecd(0x191)]({..._0x469a51,'authors':_0x205dcb},!0x0),this[_0x358ecd(0x17a)][_0x358ecd(0x16f)](_0x153184['id'],_0x469a51,!0x0);}this[_0x358ecd(0x17a)][_0x358ecd(0x16a)]=_0x151b26,(_0x153184[_0x358ecd(0x18f)]===_0x153184[_0x358ecd(0x153)]&&!this[_0x358ecd(0x17a)][_0x358ecd(0x13f)][_0x358ecd(0x156)](_0x18076e)&&this[_0x358ecd(0x17a)][_0x358ecd(0x12b)][_0x358ecd(0x160)][_0x358ecd(0x14c)](_0x18076e),this[_0x358ecd(0x17a)][_0x358ecd(0x15d)](_0x151b26));}const {revisions:_0x5c88fd,requestId:_0x8af4ba}=await this[_0x358ecd(0x18a)][_0x358ecd(0x189)](_0xc677c4[_0x358ecd(0x181)],this[_0x358ecd(0x16d)]);_0x3bd5a9&&_0x5c88fd[_0x358ecd(0x186)]>0x0?_0x142d23[_0x358ecd(0x175)]():(await this[_0x358ecd(0x159)](_0x5c88fd),this[_0x358ecd(0x12e)](_0x5c88fd,_0x8af4ba),this[_0x358ecd(0x17a)][_0x358ecd(0x13c)]());};return _0x142d23[_0x18812e(0x17e)]?_0x5a9f0e():new Promise((_0x10c8fe,_0x3bcdfe)=>{const _0x2bd1b4=_0x18812e;_0x142d23[_0x2bd1b4(0x166)](_0x2bd1b4(0x14b),()=>{const _0x580339=_0x2bd1b4;_0x5a9f0e()[_0x580339(0x151)](_0x10c8fe)[_0x580339(0x18b)](_0x3bcdfe);});});}[_0x1c76ab(0x15b)](){const _0x5a9f04=_0x1c76ab;super[_0x5a9f04(0x15b)]();}async[_0x1c76ab(0x198)](){const _0x27e8ea=_0x1c76ab;this[_0x27e8ea(0x18a)][_0x27e8ea(0x16b)]||await new Promise(_0x46bf3e=>{const _0x5527a5=_0x27e8ea;this[_0x5527a5(0x152)](this[_0x5527a5(0x18a)],_0x5527a5(0x17b),_0x122d9d=>{const _0x2180e4=_0x5527a5;_0x122d9d[_0x2180e4(0x15a)](),_0x46bf3e();});});}[_0x1c76ab(0x184)](){const _0x5bacd9=_0x1c76ab,_0x27b2ed=this[_0x5bacd9(0x147)][_0x5bacd9(0x14f)][_0x5bacd9(0x131)](_0x85fb36)[_0x5bacd9(0x174)][_0x5bacd9(0x13e)]()[_0x5bacd9(0x14e)]();for(const _0x27b60f of _0x27b2ed)if(_0x5bacd9(0x18d)!==_0x27b60f[_0x5bacd9(0x145)]||_0x27b60f[_0x5bacd9(0x180)])return _0x27b60f[_0x5bacd9(0x17d)]+0x1;}[_0x1c76ab(0x140)](){const _0x1bf5ca=_0x1c76ab,_0x56ed3a=this[_0x1bf5ca(0x147)][_0x1bf5ca(0x14f)][_0x1bf5ca(0x131)](_0x85fb36);return new Promise(_0x5899fb=>{const _0x1af024=_0x1bf5ca;_0x56ed3a[_0x1af024(0x15f)]?_0x56ed3a[_0x1af024(0x166)](_0x1af024(0x148),()=>{const _0x29205f=_0x1af024;_0x5899fb(this[_0x29205f(0x184)]());}):_0x5899fb(this[_0x1af024(0x184)]());});}[_0x1c76ab(0x12e)](_0x53ac2e,_0x2520ef){const _0xfda9df=_0x1c76ab,_0x35f6b6=this[_0xfda9df(0x17a)][_0xfda9df(0x12b)];this[_0xfda9df(0x16d)]=_0x2520ef;for(const _0x11c6b4 of _0x53ac2e){const _0x5e787b=_0x35f6b6[_0xfda9df(0x162)](_0x11c6b4['id']);if(_0x5e787b){if((_0x11c6b4[_0xfda9df(0x153)]||_0x11c6b4[_0xfda9df(0x18f)])&&(_0x11c6b4[_0xfda9df(0x193)]=null),_0x5e787b===this[_0xfda9df(0x17a)][_0xfda9df(0x14d)]){const _0x4983c5=Math[_0xfda9df(0x146)](_0x5e787b[_0xfda9df(0x18f)],_0x11c6b4[_0xfda9df(0x18f)]),_0x24ec7d=Math[_0xfda9df(0x146)](_0x5e787b[_0xfda9df(0x153)],_0x11c6b4[_0xfda9df(0x153)]);let _0x1c3858;_0x5e787b[_0xfda9df(0x18f)]===_0x11c6b4[_0xfda9df(0x18f)]&&_0x5e787b[_0xfda9df(0x153)]===_0x11c6b4[_0xfda9df(0x153)]?(_0x1c3858=!0x0,this[_0xfda9df(0x135)](_0x11c6b4)):_0x11c6b4[_0xfda9df(0x18f)]===_0x4983c5&&_0x11c6b4[_0xfda9df(0x153)]===_0x24ec7d?_0x1c3858=!0x1:(_0x5e787b[_0xfda9df(0x18f)]===_0x4983c5&&_0x5e787b[_0xfda9df(0x153)]===_0x24ec7d||this[_0xfda9df(0x17f)]({'revision':_0x5e787b,'from':_0x24ec7d,'to':_0x4983c5}),_0x1c3858=!0x0),_0x1c3858&&(delete _0x11c6b4[_0xfda9df(0x153)],delete _0x11c6b4[_0xfda9df(0x18f)],delete _0x11c6b4[_0xfda9df(0x193)],delete _0x11c6b4[_0xfda9df(0x176)],delete _0x11c6b4[_0xfda9df(0x127)]);}this[_0xfda9df(0x17a)][_0xfda9df(0x134)](_0x11c6b4),this[_0xfda9df(0x135)](_0x11c6b4);}else this[_0xfda9df(0x17a)][_0xfda9df(0x173)](_0x11c6b4);}const _0x47045a=_0x35f6b6[_0xfda9df(0x16e)]();_0x47045a[_0xfda9df(0x14e)]();for(let _0x2f1233=0x0;_0x2f1233<_0x47045a[_0xfda9df(0x186)]-0x1;_0x2f1233++){const _0x21441d=_0x47045a[_0x2f1233],_0x4e0fbe=_0x47045a[_0x2f1233+0x1];if(_0x21441d[_0xfda9df(0x153)]<_0x4e0fbe[_0xfda9df(0x18f)]){const _0x561bf2=_0x4e0fbe[_0xfda9df(0x18f)],_0x3492a7=Math[_0xfda9df(0x146)](_0x561bf2,_0x21441d[_0xfda9df(0x18f)]);this[_0xfda9df(0x17f)]({'revision':_0x21441d,'from':_0x561bf2,'to':_0x3492a7});}}}[_0x1c76ab(0x17f)]({revision:_0x462242,from:_0x12d457,to:_0x1ec3c6}={}){const _0x43514e=_0x1c76ab,_0x1064fa=this[_0x43514e(0x147)][_0x43514e(0x14f)][_0x43514e(0x131)](_0x391f77),_0x5b76a2=this[_0x43514e(0x17a)][_0x43514e(0x15c)]({'revision':_0x462242,'from':_0x12d457,'to':_0x1ec3c6});_0x5b76a2[_0x43514e(0x126)]=_0x5b76a2[_0x43514e(0x127)][_0x43514e(0x169)](_0x2d6755=>_0x1064fa[_0x43514e(0x192)](_0x2d6755)),_0x462242[_0x43514e(0x191)](_0x5b76a2);}[_0x1c76ab(0x135)](_0x55d98e){const _0x259739=_0x1c76ab,_0x21a560={};_0x21a560['id']=_0x55d98e['id'];for(const _0x29e240 of Object[_0x259739(0x136)](_0x55d98e))'id'!==_0x29e240&&(_0x21a560[_0x29e240]=void 0x0);this[_0x259739(0x17a)][_0x259739(0x16f)](_0x21a560['id'],_0x21a560,!0x0);}async[_0x1c76ab(0x159)](_0x4b6ba6){const _0x54cb2f=_0x1c76ab,_0x517fb2=this[_0x54cb2f(0x147)][_0x54cb2f(0x14f)][_0x54cb2f(0x131)](_0x391f77),{connection:_0xf87630}=this[_0x54cb2f(0x147)][_0x54cb2f(0x14f)][_0x54cb2f(0x131)](_0xd7862f),_0x1a4965=new Set();for(const _0x46ad82 of _0x4b6ba6){for(const _0x23a336 of _0x46ad82[_0x54cb2f(0x127)])_0x139551(_0x23a336);_0x46ad82[_0x54cb2f(0x130)]&&_0x139551(_0x46ad82[_0x54cb2f(0x130)]);}if(0x0===_0x1a4965[_0x54cb2f(0x16c)])return;const _0xfe659d=await _0x28ebe3[_0x54cb2f(0x12c)](_0xf87630,Array[_0x54cb2f(0x154)](_0x1a4965));for(const _0xd4f35b of _0xfe659d)_0x517fb2[_0x54cb2f(0x192)](_0xd4f35b['id'])||_0x517fb2[_0x54cb2f(0x195)](_0xd4f35b);function _0x139551(_0x3db446){const _0x1f38b8=_0x54cb2f;_0x517fb2[_0x1f38b8(0x192)](_0x3db446)||_0x1a4965[_0x1f38b8(0x17c)](_0x3db446);}}}function _(_0x5e33aa){const _0x21942f=_0x1c76ab;return _0x5e33aa[_0x21942f(0x13d)][_0x21942f(0x15e)](_0x21942f(0x13b))||_0x5e33aa[_0x21942f(0x13d)][_0x21942f(0x15e)](_0x21942f(0x18e))||_0x5e33aa[_0x21942f(0x13d)][_0x21942f(0x15e)](_0x21942f(0x171));}
23
+ const _0x2e1dcc=_0x3cb5;(function(_0x3e7663,_0x326189){const _0x3eb618=_0x3cb5,_0x4fbdb5=_0x3e7663();while(!![]){try{const _0x1da55a=-parseInt(_0x3eb618(0x239))/0x1+parseInt(_0x3eb618(0x22f))/0x2+-parseInt(_0x3eb618(0x1d8))/0x3+parseInt(_0x3eb618(0x1d5))/0x4*(parseInt(_0x3eb618(0x1e2))/0x5)+-parseInt(_0x3eb618(0x21c))/0x6+parseInt(_0x3eb618(0x227))/0x7*(parseInt(_0x3eb618(0x1d0))/0x8)+parseInt(_0x3eb618(0x1df))/0x9*(parseInt(_0x3eb618(0x21e))/0xa);if(_0x1da55a===_0x326189)break;else _0x4fbdb5['push'](_0x4fbdb5['shift']());}catch(_0x1df81b){_0x4fbdb5['push'](_0x4fbdb5['shift']());}}}(_0x4f46,0xa175a));import{Plugin as _0x397360}from'ckeditor5/src/core.js';import{version as _0x1217d1}from'ckeditor5/src/utils.js';import{Users as _0x2b0138}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x3abd56}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3b2e8b}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x342d57}from'../realtimecollaborativeediting/sessions.js';function _0x3cb5(_0x3de288,_0x5ba44e){const _0x4f46f0=_0x4f46();return _0x3cb5=function(_0x3cb5a6,_0x247699){_0x3cb5a6=_0x3cb5a6-0x1ca;let _0x3288c1=_0x4f46f0[_0x3cb5a6];return _0x3288c1;},_0x3cb5(_0x3de288,_0x5ba44e);}import{EditorService as _0x41debd,RevisionHistoryService as _0x7ab5a6,User as _0x96283,WEB_SOCKET_GATEWAY_STATES as _0x20282d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x397360{static [_0x2e1dcc(0x233)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x7ab5a6)());[_0x2e1dcc(0x1d9)];[_0x2e1dcc(0x226)];[_0x2e1dcc(0x1fa)];[_0x2e1dcc(0x1e9)];static get[_0x2e1dcc(0x1ee)](){const _0x35eeed=_0x2e1dcc;return[_0x3b2e8b,_0x3abd56,_0x35eeed(0x1e7),_0x342d57,_0x2b0138];}static get[_0x2e1dcc(0x1e5)](){const _0x504915=_0x2e1dcc;return _0x504915(0x206);}static get[_0x2e1dcc(0x213)](){return!0x0;}static get[_0x2e1dcc(0x1f6)](){return!0x0;}constructor(_0x17b5c9){const _0x228a85=_0x2e1dcc;super(_0x17b5c9);const _0x3b5cd2=this[_0x228a85(0x21d)][_0x228a85(0x20b)][_0x228a85(0x208)](_0x228a85(0x1cd));this[_0x228a85(0x1d9)]=null,this[_0x228a85(0x226)]=this[_0x228a85(0x21d)][_0x228a85(0x237)][_0x228a85(0x208)](_0x228a85(0x1e4)),this[_0x228a85(0x1fa)]=new CloudServicesRevisionHistoryAdapter[(_0x228a85(0x233))](_0x3b5cd2);}async[_0x2e1dcc(0x238)](){const _0x39cfed=_0x2e1dcc,_0x446886=this[_0x39cfed(0x21d)][_0x39cfed(0x237)][_0x39cfed(0x208)](_0x3abd56),_0x59701b=_0x446886[_0x39cfed(0x1f7)],_0x24e2b0=this[_0x39cfed(0x21d)][_0x39cfed(0x237)][_0x39cfed(0x208)](_0x3b2e8b);this[_0x39cfed(0x226)][_0x39cfed(0x235)]({'history':_0x59701b,'getLatestVersion':()=>this[_0x39cfed(0x1da)](),'getCurrentRevisionId':()=>_0x446886[_0x39cfed(0x23b)]});const _0x59ecc4=this[_0x39cfed(0x21d)][_0x39cfed(0x20b)][_0x39cfed(0x208)](_0x39cfed(0x23a))||_0x1217d1,_0x2f3964=await _0x41debd[_0x39cfed(0x1f3)](_0x24e2b0[_0x39cfed(0x1f0)],_0x59ecc4);this[_0x39cfed(0x21d)][_0x39cfed(0x237)][_0x39cfed(0x208)](_0x39cfed(0x1e7))[_0x39cfed(0x236)]={'getRevision':async({revisionId:_0x2ad7af})=>(await this[_0x39cfed(0x216)](),await this[_0x39cfed(0x1fa)][_0x39cfed(0x1cc)](_0x2ad7af)),'updateRevisions':async _0x483be0=>{const _0x2ead92=_0x39cfed;await this[_0x2ead92(0x216)]();const _0x11cd92=this[_0x2ead92(0x226)][_0x2ead92(0x218)];if(_0x2f3964&&0x1===_0x483be0[_0x2ead92(0x200)]&&_0x483be0[0x0]['id']===_0x11cd92['id'])return _0x483be0;for(const _0xa873dd of _0x483be0)_0xa873dd['id']===_0x11cd92['id']&&(_0xa873dd[_0x2ead92(0x22b)]=_0xa873dd[_0x2ead92(0x1e1)]===_0xa873dd[_0x2ead92(0x23d)]);return this[_0x2ead92(0x1fa)][_0x2ead92(0x230)](_0x483be0,this[_0x2ead92(0x1d9)])[_0x2ead92(0x21f)](_0x40a279=>(this[_0x2ead92(0x1d9)]=_0x40a279,_0x483be0))[_0x2ead92(0x1dd)](_0x43108e=>{const _0x5c59f8=_0x2ead92;if(et(_0x43108e)||_0x5c59f8(0x1fc)===_0x43108e[_0x5c59f8(0x223)]&&void 0x0!==_0x43108e[_0x5c59f8(0x214)][_0x5c59f8(0x1fb)]){for(const _0x74ef0b of _0x483be0){!this[_0x5c59f8(0x226)][_0x5c59f8(0x1f1)][_0x5c59f8(0x1cc)](_0x74ef0b['id'])||this[_0x5c59f8(0x226)][_0x5c59f8(0x1d4)](_0x74ef0b['id'],_0x74ef0b,!0x1);}if(et(_0x43108e))throw _0x43108e;return _0x483be0;}throw _0x43108e;});}},this[_0x39cfed(0x228)](this[_0x39cfed(0x1fa)],_0x39cfed(0x222),(_0x12b38f,{revisionsData:_0xd32575,requestId:_0x500390})=>{const _0x4f68cf=_0x39cfed;Math[_0x4f68cf(0x1cf)](..._0xd32575[_0x4f68cf(0x1d6)](_0x5108bc=>_0x5108bc[_0x4f68cf(0x23d)]))>this[_0x4f68cf(0x210)]()-0x1?this[_0x4f68cf(0x1da)]()[_0x4f68cf(0x21f)](()=>{const _0x2fdd23=_0x4f68cf;this[_0x2fdd23(0x1f2)](_0xd32575,_0x500390);}):this[_0x4f68cf(0x1f2)](_0xd32575,_0x500390);});const {revisions:_0x3903ca,requestId:_0x5f2f21}=await this[_0x39cfed(0x1fa)][_0x39cfed(0x1f8)](_0x24e2b0[_0x39cfed(0x1f0)]);_0x24e2b0[_0x39cfed(0x211)](this),this[_0x39cfed(0x1d9)]=_0x5f2f21,await this[_0x39cfed(0x201)](_0x3903ca);for(const _0x48b9d7 of _0x3903ca)this[_0x39cfed(0x226)][_0x39cfed(0x209)](_0x48b9d7);this[_0x39cfed(0x228)](_0x446886,_0x39cfed(0x1e6),(_0x2db2d6,_0x23143b,_0x1a9b75)=>{const _0x3fd317=_0x39cfed;_0x1a9b75&&(this[_0x3fd317(0x1e9)]=_0x446886[_0x3fd317(0x1ef)],_0x2db2d6[_0x3fd317(0x220)]());}),this[_0x39cfed(0x226)][_0x39cfed(0x205)](_0x39cfed(0x1e8))['to'](_0x24e2b0,_0x39cfed(0x20c),_0x5211a3=>_0x5211a3===_0x20282d[_0x39cfed(0x229)]);}async[_0x2e1dcc(0x21a)](){const _0x38874d=_0x2e1dcc,_0x5dcc4a=this[_0x38874d(0x21d)][_0x38874d(0x237)][_0x38874d(0x208)](_0x3b2e8b),_0x1a554e=this[_0x38874d(0x21d)][_0x38874d(0x237)][_0x38874d(0x208)](_0x3abd56),_0x5a8b08=async()=>{const _0x5cb2ce=_0x38874d,_0x3f0274=this[_0x5cb2ce(0x226)][_0x5cb2ce(0x218)],_0x55c6c8=_0x3f0274['id'],_0x487e96=_0x55c6c8!==_0x1a554e[_0x5cb2ce(0x23b)];if(_0x487e96){const _0x24e1f6=_0x1a554e[_0x5cb2ce(0x1ef)]-this[_0x5cb2ce(0x1e9)],_0x34bada=this[_0x5cb2ce(0x210)]();this[_0x5cb2ce(0x226)][_0x5cb2ce(0x21b)][_0x5cb2ce(0x203)]();if(_0x3f0274[_0x5cb2ce(0x23d)]+_0x24e1f6!==_0x34bada){const _0x5afa84=_0x3f0274[_0x5cb2ce(0x1e1)]+_0x24e1f6,_0x36a89a=this[_0x5cb2ce(0x21d)][_0x5cb2ce(0x237)][_0x5cb2ce(0x208)](_0x2b0138),_0x486d50=this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1ce)]({'revision':_0x3f0274,'from':_0x5afa84,'to':_0x34bada});_0x486d50['id']=_0x3f0274['id'];const _0x1a9925=_0x486d50[_0x5cb2ce(0x232)][_0x5cb2ce(0x1d6)](_0xedf715=>_0x36a89a[_0x5cb2ce(0x1e3)](_0xedf715));_0x3f0274[_0x5cb2ce(0x1dc)]({..._0x486d50,'authors':_0x1a9925},!0x0),this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1d4)](_0x3f0274['id'],_0x486d50,!0x0);}this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1f5)]=_0x34bada,(_0x3f0274[_0x5cb2ce(0x23d)]===_0x3f0274[_0x5cb2ce(0x1e1)]&&!this[_0x5cb2ce(0x226)][_0x5cb2ce(0x219)][_0x5cb2ce(0x1e0)](_0x55c6c8)&&this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1f1)][_0x5cb2ce(0x1d1)][_0x5cb2ce(0x212)](_0x55c6c8),this[_0x5cb2ce(0x226)][_0x5cb2ce(0x225)](_0x34bada));}const {revisions:_0x566623,requestId:_0x14ac56}=await this[_0x5cb2ce(0x1fa)][_0x5cb2ce(0x21a)](_0x5dcc4a[_0x5cb2ce(0x1f0)],this[_0x5cb2ce(0x1d9)]);_0x487e96&&_0x566623[_0x5cb2ce(0x200)]>0x0?_0x1a554e[_0x5cb2ce(0x1eb)]():(await this[_0x5cb2ce(0x201)](_0x566623),this[_0x5cb2ce(0x1f2)](_0x566623,_0x14ac56),this[_0x5cb2ce(0x226)][_0x5cb2ce(0x20e)]());};return _0x1a554e[_0x38874d(0x1ca)]?_0x5a8b08():new Promise((_0x5d463a,_0x375f56)=>{const _0xf94daf=_0x38874d;_0x1a554e[_0xf94daf(0x207)](_0xf94daf(0x1e6),()=>{const _0x58b323=_0xf94daf;_0x5a8b08()[_0x58b323(0x21f)](_0x5d463a)[_0x58b323(0x1dd)](_0x375f56);});});}[_0x2e1dcc(0x20d)](){const _0x51cb82=_0x2e1dcc;super[_0x51cb82(0x20d)]();}async[_0x2e1dcc(0x216)](){const _0x34a58c=_0x2e1dcc;this[_0x34a58c(0x1fa)][_0x34a58c(0x1d3)]||await new Promise(_0xf61730=>{const _0x53f014=_0x34a58c;this[_0x53f014(0x228)](this[_0x53f014(0x1fa)],_0x53f014(0x217),_0x143d3c=>{const _0x22ef8b=_0x53f014;_0x143d3c[_0x22ef8b(0x220)](),_0xf61730();});});}[_0x2e1dcc(0x210)](){const _0x5410d7=_0x2e1dcc,_0xf6b991=this[_0x5410d7(0x21d)][_0x5410d7(0x237)][_0x5410d7(0x208)](_0x3abd56)[_0x5410d7(0x1f7)][_0x5410d7(0x1f9)]()[_0x5410d7(0x1de)]();for(const _0x13273c of _0xf6b991)if(_0x5410d7(0x234)!==_0x13273c[_0x5410d7(0x221)]||_0x13273c[_0x5410d7(0x1fd)])return _0x13273c[_0x5410d7(0x1ff)]+0x1;}[_0x2e1dcc(0x1da)](){const _0x164dd4=_0x2e1dcc,_0x38ee49=this[_0x164dd4(0x21d)][_0x164dd4(0x237)][_0x164dd4(0x208)](_0x3abd56);return new Promise(_0x43f416=>{const _0x3767f4=_0x164dd4;_0x38ee49[_0x3767f4(0x1d7)]?_0x38ee49[_0x3767f4(0x207)](_0x3767f4(0x1d2),()=>{const _0xb9314=_0x3767f4;_0x43f416(this[_0xb9314(0x210)]());}):_0x43f416(this[_0x3767f4(0x210)]());});}[_0x2e1dcc(0x1f2)](_0x2a718f,_0x2839a7){const _0x8cdd30=_0x2e1dcc,_0x31d27b=this[_0x8cdd30(0x226)][_0x8cdd30(0x1f1)];this[_0x8cdd30(0x1d9)]=_0x2839a7;for(const _0x2b2e94 of _0x2a718f){const _0x21cffc=_0x31d27b[_0x8cdd30(0x1cc)](_0x2b2e94['id']);if(_0x21cffc){if((_0x2b2e94[_0x8cdd30(0x1e1)]||_0x2b2e94[_0x8cdd30(0x23d)])&&(_0x2b2e94[_0x8cdd30(0x1ec)]=null),_0x21cffc===this[_0x8cdd30(0x226)][_0x8cdd30(0x218)]){const _0x48b9e3=Math[_0x8cdd30(0x1cf)](_0x21cffc[_0x8cdd30(0x23d)],_0x2b2e94[_0x8cdd30(0x23d)]),_0x554554=Math[_0x8cdd30(0x1cf)](_0x21cffc[_0x8cdd30(0x1e1)],_0x2b2e94[_0x8cdd30(0x1e1)]);let _0x31923c;_0x21cffc[_0x8cdd30(0x23d)]===_0x2b2e94[_0x8cdd30(0x23d)]&&_0x21cffc[_0x8cdd30(0x1e1)]===_0x2b2e94[_0x8cdd30(0x1e1)]?(_0x31923c=!0x0,this[_0x8cdd30(0x224)](_0x2b2e94)):_0x2b2e94[_0x8cdd30(0x23d)]===_0x48b9e3&&_0x2b2e94[_0x8cdd30(0x1e1)]===_0x554554?_0x31923c=!0x1:(_0x21cffc[_0x8cdd30(0x23d)]===_0x48b9e3&&_0x21cffc[_0x8cdd30(0x1e1)]===_0x554554||this[_0x8cdd30(0x1ea)]({'revision':_0x21cffc,'from':_0x554554,'to':_0x48b9e3}),_0x31923c=!0x0),_0x31923c&&(delete _0x2b2e94[_0x8cdd30(0x1e1)],delete _0x2b2e94[_0x8cdd30(0x23d)],delete _0x2b2e94[_0x8cdd30(0x1ec)],delete _0x2b2e94[_0x8cdd30(0x204)],delete _0x2b2e94[_0x8cdd30(0x232)]);}this[_0x8cdd30(0x226)][_0x8cdd30(0x20f)](_0x2b2e94),this[_0x8cdd30(0x224)](_0x2b2e94);}else this[_0x8cdd30(0x226)][_0x8cdd30(0x209)](_0x2b2e94);}const _0x367663=_0x31d27b[_0x8cdd30(0x1fe)]();_0x367663[_0x8cdd30(0x1de)]();for(let _0xaa28b6=0x0;_0xaa28b6<_0x367663[_0x8cdd30(0x200)]-0x1;_0xaa28b6++){const _0x1f1752=_0x367663[_0xaa28b6],_0x1c2183=_0x367663[_0xaa28b6+0x1];if(_0x1f1752[_0x8cdd30(0x1e1)]<_0x1c2183[_0x8cdd30(0x23d)]){const _0x3b1a31=_0x1c2183[_0x8cdd30(0x23d)],_0x5531cf=Math[_0x8cdd30(0x1cf)](_0x3b1a31,_0x1f1752[_0x8cdd30(0x23d)]);this[_0x8cdd30(0x1ea)]({'revision':_0x1f1752,'from':_0x3b1a31,'to':_0x5531cf});}}}[_0x2e1dcc(0x1ea)]({revision:_0x3d0967,from:_0x180669,to:_0xa0d87}={}){const _0x5102cb=_0x2e1dcc,_0x154d65=this[_0x5102cb(0x21d)][_0x5102cb(0x237)][_0x5102cb(0x208)](_0x2b0138),_0x50c4bb=this[_0x5102cb(0x226)][_0x5102cb(0x1ce)]({'revision':_0x3d0967,'from':_0x180669,'to':_0xa0d87});_0x50c4bb[_0x5102cb(0x22d)]=_0x50c4bb[_0x5102cb(0x232)][_0x5102cb(0x1d6)](_0x100728=>_0x154d65[_0x5102cb(0x1e3)](_0x100728)),_0x3d0967[_0x5102cb(0x1dc)](_0x50c4bb);}[_0x2e1dcc(0x224)](_0x3d3a72){const _0x32bed6=_0x2e1dcc,_0x262c90={};_0x262c90['id']=_0x3d3a72['id'];for(const _0x12cca4 of Object[_0x32bed6(0x1db)](_0x3d3a72))'id'!==_0x12cca4&&(_0x262c90[_0x12cca4]=void 0x0);this[_0x32bed6(0x226)][_0x32bed6(0x1d4)](_0x262c90['id'],_0x262c90,!0x0);}async[_0x2e1dcc(0x201)](_0x4bdc35){const _0x1f1290=_0x2e1dcc,_0x24e6bc=this[_0x1f1290(0x21d)][_0x1f1290(0x237)][_0x1f1290(0x208)](_0x2b0138),{connection:_0x755868}=this[_0x1f1290(0x21d)][_0x1f1290(0x237)][_0x1f1290(0x208)](_0x3b2e8b),_0x5a3004=new Set();for(const _0x493ceb of _0x4bdc35){for(const _0x1aa4c2 of _0x493ceb[_0x1f1290(0x232)])_0x3386f8(_0x1aa4c2);_0x493ceb[_0x1f1290(0x22c)]&&_0x3386f8(_0x493ceb[_0x1f1290(0x22c)]);}if(0x0===_0x5a3004[_0x1f1290(0x1ed)])return;const _0xafed0b=await _0x96283[_0x1f1290(0x23c)](_0x755868,Array[_0x1f1290(0x231)](_0x5a3004));for(const _0x1b5c4b of _0xafed0b)_0x24e6bc[_0x1f1290(0x1e3)](_0x1b5c4b['id'])||_0x24e6bc[_0x1f1290(0x215)](_0x1b5c4b);function _0x3386f8(_0x30e81f){const _0x2b782a=_0x1f1290;_0x24e6bc[_0x2b782a(0x1e3)](_0x30e81f)||_0x5a3004[_0x2b782a(0x22a)](_0x30e81f);}}}function et(_0x223454){const _0x52c338=_0x2e1dcc;return _0x223454[_0x52c338(0x202)][_0x52c338(0x1f4)](_0x52c338(0x22e))||_0x223454[_0x52c338(0x202)][_0x52c338(0x1f4)](_0x52c338(0x1cb))||_0x223454[_0x52c338(0x202)][_0x52c338(0x1f4)](_0x52c338(0x20a));}function _0x4f46(){const _0x4fb51c=['isEmptyCurrent','creatorId','authors','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','327062kittvD','updateRevisions','from','authorsIds','RevisionHistoryService','marker','setSource','adapter','plugins','init','875404vaduVw','cloudServices.bundleVersion','sessionId','getMany','toVersion','_isConnected','cloud-services-internal-error:\x20Not\x20connected.','getRevision','collaboration.channelId','buildRevisionData','max','16owcGNm','_revisions','change:_isPendingUpdate','isConnected','_bufferUpdate','16024ThEcaX','map','_isPendingUpdate','3166740aWIess','_lastRequestId','_getLatestVersion','keys','_update','catch','reverse','9wBIVdI','has','fromVersion','1415mOgVvN','getUser','RevisionTracker','pluginName','change:_isConnected','RevisionHistory','isEnabled','_oldOffset','_fixRevision','_handleReconnectionError','diffData','size','requires','_offset','connection','repository','_handleRevisionsUpdate','isBundleUploaded','startsWith','_startingVersion','isPremiumPlugin','serverHistory','connect','getOperations','_revisionHistoryService','wrongRequestId','400','affectsData','getRevisions','baseVersion','length','_fetchMissingUsers','message','reInit','createdAt','bind','CloudServicesRevisionHistoryAdapter','once','get','addRevisionData','cloud-services-internal-error:\x20Request\x20timeout.','config','state','destroy','sendBufferedUpdates','setRevisionData','_getLatestVersionFromServerOperations','addToReconnectionStack','remove','isOfficialPlugin','data','addUser','_waitForServiceReady','connected','currentRevision','_bufferedUpdates','reconnect','_revisionDataBuilder','5158158YTwUAD','editor','11807660zJFXfK','then','off','type','revisionsUpdated','code','_preventResendingRevisionData','_createCurrentRevision','_revisionTracker','3409070YnzbTI','listenTo','CONNECTED','add'];_0x4f46=function(){return _0x4fb51c;};return _0x4f46();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**