@ckeditor/ckeditor5-real-time-collaboration 43.3.1 → 44.0.0-alpha.1

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 (175) hide show
  1. package/README.md +16 -6
  2. package/build/real-time-collaboration.js +1 -1
  3. package/dist/augmentation.d.ts +8 -1
  4. package/dist/index.js +6 -6
  5. package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
  6. package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
  7. package/dist/translations/af.js +1 -1
  8. package/dist/translations/af.umd.js +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/ast.js +1 -1
  12. package/dist/translations/ast.umd.js +1 -1
  13. package/dist/translations/az.js +1 -1
  14. package/dist/translations/az.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +9 -9
  152. package/src/augmentation.d.ts +8 -1
  153. package/src/common-translations.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/presencelist/presencelistui.js +1 -1
  156. package/src/presencelist/view/presencecounterview.js +1 -1
  157. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  158. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  159. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  160. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  161. package/src/presencelist/view/presencelistview.js +1 -1
  162. package/src/presencelist.js +1 -1
  163. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
  164. package/src/realtimecollaborativecomments.js +1 -1
  165. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
  166. package/src/realtimecollaborativeediting/sessions.js +1 -1
  167. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  168. package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
  169. package/src/realtimecollaborativeediting.js +1 -1
  170. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
  171. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
  172. package/src/realtimecollaborativerevisionhistory.js +1 -1
  173. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
  174. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
  175. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xbb8b7d=_0x2183;(function(_0x325373,_0x1fe139){var _0x2610dc=_0x2183,_0x26c5ec=_0x325373();while(!![]){try{var _0x3b73eb=-parseInt(_0x2610dc(0xc8))/0x1*(-parseInt(_0x2610dc(0xc0))/0x2)+-parseInt(_0x2610dc(0xcc))/0x3*(-parseInt(_0x2610dc(0xc7))/0x4)+parseInt(_0x2610dc(0xcb))/0x5*(parseInt(_0x2610dc(0xcd))/0x6)+parseInt(_0x2610dc(0xc6))/0x7*(parseInt(_0x2610dc(0xd0))/0x8)+-parseInt(_0x2610dc(0xc3))/0x9*(parseInt(_0x2610dc(0xc5))/0xa)+parseInt(_0x2610dc(0xca))/0xb+-parseInt(_0x2610dc(0xc4))/0xc;if(_0x3b73eb===_0x1fe139)break;else _0x26c5ec['push'](_0x26c5ec['shift']());}catch(_0x18f11c){_0x26c5ec['push'](_0x26c5ec['shift']());}}}(_0x58e5,0xd9322));function _0x2183(_0x5d037c,_0x1c2543){var _0x58e530=_0x58e5();return _0x2183=function(_0x218343,_0x803fe9){_0x218343=_0x218343-0xc0;var _0x268776=_0x58e530[_0x218343];return _0x268776;},_0x2183(_0x5d037c,_0x1c2543);}import{Plugin as _0x3801e0}from'ckeditor5/src/core.js';function _0x58e5(){var _0x5991f9=['45PXzmdO','110301HhGVZx','7086IUoMPI','isOfficialPlugin','isPremiumPlugin','8tCoQQc','64306OQKYQc','requires','pluginName','243bwhRyu','4471908UiimCy','640810MLlSQU','2558458fJqMZM','92JdaudY','47NekQwP','RealTimeCollaborativeEditing','2854775xiJnVp'];_0x58e5=function(){return _0x5991f9;};return _0x58e5();}import _0x5881ff from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x3801e0{static get[_0xbb8b7d(0xc1)](){return[_0x5881ff];}static get[_0xbb8b7d(0xc2)](){var _0xafd33b=_0xbb8b7d;return _0xafd33b(0xc9);}static get[_0xbb8b7d(0xce)](){return!0x0;}static get[_0xbb8b7d(0xcf)](){return!0x0;}}
23
+ var _0x236e42=_0x4afb;(function(_0x1a63c2,_0x35e6bf){var _0x2b2774=_0x4afb,_0x4c7b5f=_0x1a63c2();while(!![]){try{var _0xda6235=-parseInt(_0x2b2774(0x1c5))/0x1*(-parseInt(_0x2b2774(0x1c4))/0x2)+parseInt(_0x2b2774(0x1be))/0x3*(parseInt(_0x2b2774(0x1ce))/0x4)+-parseInt(_0x2b2774(0x1c9))/0x5+-parseInt(_0x2b2774(0x1cd))/0x6*(-parseInt(_0x2b2774(0x1bf))/0x7)+parseInt(_0x2b2774(0x1c3))/0x8*(parseInt(_0x2b2774(0x1c1))/0x9)+parseInt(_0x2b2774(0x1c7))/0xa*(-parseInt(_0x2b2774(0x1c2))/0xb)+-parseInt(_0x2b2774(0x1c0))/0xc;if(_0xda6235===_0x35e6bf)break;else _0x4c7b5f['push'](_0x4c7b5f['shift']());}catch(_0x9dc2d1){_0x4c7b5f['push'](_0x4c7b5f['shift']());}}}(_0xd5e7,0x783b5));import{Plugin as _0x6502b3}from'ckeditor5/src/core.js';import _0x33a8f1 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x6502b3{static get[_0x236e42(0x1c8)](){return[_0x33a8f1];}static get[_0x236e42(0x1cc)](){var _0x34d26a=_0x236e42;return _0x34d26a(0x1c6);}static get[_0x236e42(0x1cb)](){return!0x0;}static get[_0x236e42(0x1ca)](){return!0x0;}}function _0x4afb(_0x4255f9,_0x541d57){var _0xd5e79e=_0xd5e7();return _0x4afb=function(_0x4afbc1,_0x4db0c5){_0x4afbc1=_0x4afbc1-0x1be;var _0x11c87b=_0xd5e79e[_0x4afbc1];return _0x11c87b;},_0x4afb(_0x4255f9,_0x541d57);}function _0xd5e7(){var _0x3c2b6d=['requires','2247160OuxvOO','isPremiumPlugin','isOfficialPlugin','pluginName','1317474zunsZE','597956HiPHKp','18rbbXjr','14pzSUXg','9825996boByNc','31419XEDnbb','157102roRZLJ','1072vkpFep','4bxMZBf','199795sfwsEW','RealTimeCollaborativeEditing','310HKDziA'];_0xd5e7=function(){return _0x3c2b6d;};return _0xd5e7();}
@@ -21,6 +21,18 @@ export default class CloudServicesRevisionHistoryAdapter extends Plugin implemen
21
21
  * @inheritDoc
22
22
  */
23
23
  static get requires(): readonly [typeof WebSocketGateway, typeof RealTimeCollaborationClient, "RevisionTracker", typeof Sessions, typeof Users];
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get pluginName(): "CloudServicesRevisionHistoryAdapter";
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isOfficialPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get isPremiumPlugin(): true;
24
36
  /**
25
37
  * @inheritDoc
26
38
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a1a96=_0x4bc6;(function(_0x2955c3,_0x30f07a){const _0x550e3e=_0x4bc6,_0x323996=_0x2955c3();while(!![]){try{const _0x4d7b2b=-parseInt(_0x550e3e(0x23e))/0x1+parseInt(_0x550e3e(0x259))/0x2*(-parseInt(_0x550e3e(0x235))/0x3)+parseInt(_0x550e3e(0x1f4))/0x4*(-parseInt(_0x550e3e(0x21a))/0x5)+-parseInt(_0x550e3e(0x231))/0x6+parseInt(_0x550e3e(0x247))/0x7*(-parseInt(_0x550e3e(0x1fe))/0x8)+-parseInt(_0x550e3e(0x207))/0x9+parseInt(_0x550e3e(0x21d))/0xa;if(_0x4d7b2b===_0x30f07a)break;else _0x323996['push'](_0x323996['shift']());}catch(_0x44cd9a){_0x323996['push'](_0x323996['shift']());}}}(_0x68b1,0x79902));import{Plugin as _0x435042}from'ckeditor5/src/core.js';import{version as _0x2b01b7}from'ckeditor5/src/utils.js';function _0x4bc6(_0x3c8904,_0x3c6c2e){const _0x68b139=_0x68b1();return _0x4bc6=function(_0x4bc64a,_0x1252a1){_0x4bc64a=_0x4bc64a-0x1f0;let _0xdf4678=_0x68b139[_0x4bc64a];return _0xdf4678;},_0x4bc6(_0x3c8904,_0x3c6c2e);}import{Users as _0x45c0a0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1f5204 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x4c4b9b from'../realtimecollaborativeediting/websocketgateway.js';import _0x50b09a from'../realtimecollaborativeediting/sessions.js';function _0x68b1(){const _0x1ed261=['isEnabled','updateRevisions','sendBufferedUpdates','listenTo','112AElZzB','RevisionHistoryService','code','_revisions','currentRevision','map','sessionId','catch','_lastRequestId','4535136SBXZkB','_revisionHistoryService','change:_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','fromVersion','reverse','from','addUser','reconnect','_handleRevisionsUpdate','connection','editor','_fetchMissingUsers','remove','startsWith','size','length','_fixRevision','type','100QkLVGq','_revisionDataBuilder','buildRevisionData','36626370UnnmFv','has','keys','adapter','get','config','destroy','wrongRequestId','creatorId','cloud-services-internal-error:\x20Not\x20connected.','bind','_bufferUpdate','createdAt','cloudServices.bundleVersion','revisionsUpdated','_oldOffset','requires','authors','getRevision','_offset','4495206aDqMds','isBundleUploaded','connected','affectsData','234EHPeba','isConnected','then','connect','change:_isPendingUpdate','max','once','_isConnected','getMany','58208aQnAAD','_getLatestVersion','_update','getRevisions','_isPendingUpdate','marker','setRevisionData','_startingVersion','_revisionTracker','322294uBcyqd','init','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','data','add','baseVersion','toVersion','reInit','state','_handleReconnectionError','message','RevisionTracker','CONNECTED','authorsIds','_bufferedUpdates','repository','collaboration.channelId','_getLatestVersionFromServerOperations','16886xvFrRO','_createCurrentRevision','addRevisionData','_preventResendingRevisionData','plugins','getOperations','isEmptyCurrent','addToReconnectionStack','setSource','diffData','110052IyAeAB','serverHistory','getUser','400','off','_waitForServiceReady'];_0x68b1=function(){return _0x1ed261;};return _0x68b1();}import{EditorService as _0x51cefe,RevisionHistoryService as _0x5ebc8,User as _0x3e6860,WEB_SOCKET_GATEWAY_STATES as _0x1db8a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x435042{static get[_0x1a1a96(0x22d)](){const _0x5e4a0e=_0x1a1a96;return[_0x4c4b9b,_0x1f5204,_0x5e4a0e(0x252),_0x50b09a,_0x45c0a0];}constructor(_0x1ed304){const _0x14752b=_0x1a1a96;super(_0x1ed304);const _0x371fcc=this[_0x14752b(0x212)][_0x14752b(0x222)][_0x14752b(0x221)](_0x14752b(0x257));this[_0x14752b(0x206)]=null,this[_0x14752b(0x246)]=this[_0x14752b(0x212)][_0x14752b(0x25d)][_0x14752b(0x221)](_0x14752b(0x252)),this[_0x14752b(0x208)]=new u[(_0x14752b(0x1ff))](_0x371fcc);}async[_0x1a1a96(0x248)](){const _0x2b3709=_0x1a1a96,_0x264cc1=this[_0x2b3709(0x212)][_0x2b3709(0x25d)][_0x2b3709(0x221)](_0x1f5204),_0x1fece6=_0x264cc1[_0x2b3709(0x1f5)],_0x1fec5b=this[_0x2b3709(0x212)][_0x2b3709(0x25d)][_0x2b3709(0x221)](_0x4c4b9b);this[_0x2b3709(0x246)][_0x2b3709(0x1f2)]({'history':_0x1fece6,'getLatestVersion':()=>this[_0x2b3709(0x23f)](),'getCurrentRevisionId':()=>_0x264cc1[_0x2b3709(0x204)]});const _0x3010ae=this[_0x2b3709(0x212)][_0x2b3709(0x222)][_0x2b3709(0x221)](_0x2b3709(0x22a))||_0x2b01b7,_0x13bd70=await _0x51cefe[_0x2b3709(0x232)](_0x1fec5b[_0x2b3709(0x211)],_0x3010ae);this[_0x2b3709(0x246)][_0x2b3709(0x220)]={'getRevision':async({revisionId:_0xe030c0})=>(await this[_0x2b3709(0x1f9)](),await this[_0x2b3709(0x208)][_0x2b3709(0x22f)](_0xe030c0)),'updateRevisions':async _0xbb6f86=>{const _0x4bb23e=_0x2b3709;await this[_0x4bb23e(0x1f9)]();const _0x3158af=this[_0x4bb23e(0x246)][_0x4bb23e(0x202)];if(_0x13bd70&&0x1===_0xbb6f86[_0x4bb23e(0x217)]&&_0xbb6f86[0x0]['id']===_0x3158af['id'])return _0xbb6f86;for(const _0x195503 of _0xbb6f86)_0x195503['id']===_0x3158af['id']&&(_0x195503[_0x4bb23e(0x1f0)]=_0x195503[_0x4bb23e(0x20b)]===_0x195503[_0x4bb23e(0x24d)]);return this[_0x4bb23e(0x208)][_0x4bb23e(0x1fb)](_0xbb6f86,this[_0x4bb23e(0x206)])[_0x4bb23e(0x237)](_0x599a98=>(this[_0x4bb23e(0x206)]=_0x599a98,_0xbb6f86))[_0x4bb23e(0x205)](_0x91f01a=>{const _0x527e0b=_0x4bb23e;if(rt(_0x91f01a)||_0x527e0b(0x1f7)===_0x91f01a[_0x527e0b(0x200)]&&void 0x0!==_0x91f01a[_0x527e0b(0x24a)][_0x527e0b(0x224)]){for(const _0x13a082 of _0xbb6f86){!this[_0x527e0b(0x246)][_0x527e0b(0x256)][_0x527e0b(0x22f)](_0x13a082['id'])||this[_0x527e0b(0x246)][_0x527e0b(0x228)](_0x13a082['id'],_0x13a082,!0x1);}if(rt(_0x91f01a))throw _0x91f01a;return _0xbb6f86;}throw _0x91f01a;});}},this[_0x2b3709(0x1fd)](this[_0x2b3709(0x208)],_0x2b3709(0x22b),(_0x391b93,{revisionsData:_0x4b8171,requestId:_0x50c998})=>{const _0x8ce4ae=_0x2b3709;Math[_0x8ce4ae(0x23a)](..._0x4b8171[_0x8ce4ae(0x203)](_0x154107=>_0x154107[_0x8ce4ae(0x24d)]))>this[_0x8ce4ae(0x258)]()-0x1?this[_0x8ce4ae(0x23f)]()[_0x8ce4ae(0x237)](()=>{const _0x2b1034=_0x8ce4ae;this[_0x2b1034(0x210)](_0x4b8171,_0x50c998);}):this[_0x8ce4ae(0x210)](_0x4b8171,_0x50c998);});const {revisions:_0xb07ec9,requestId:_0x596287}=await this[_0x2b3709(0x208)][_0x2b3709(0x238)](_0x1fec5b[_0x2b3709(0x211)]);_0x1fec5b[_0x2b3709(0x1f1)](this),this[_0x2b3709(0x206)]=_0x596287,await this[_0x2b3709(0x213)](_0xb07ec9);for(const _0x25eaa5 of _0xb07ec9)this[_0x2b3709(0x246)][_0x2b3709(0x25b)](_0x25eaa5);this[_0x2b3709(0x1fd)](_0x264cc1,_0x2b3709(0x209),(_0xdd29e3,_0x24371d,_0x3502d7)=>{const _0x34e0ef=_0x2b3709;_0x3502d7&&(this[_0x34e0ef(0x22c)]=_0x264cc1[_0x34e0ef(0x230)],_0xdd29e3[_0x34e0ef(0x1f8)]());}),this[_0x2b3709(0x246)][_0x2b3709(0x227)](_0x2b3709(0x1fa))['to'](_0x1fec5b,_0x2b3709(0x24f),_0x372ec8=>_0x372ec8===_0x1db8a8[_0x2b3709(0x253)]);}async[_0x1a1a96(0x20f)](){const _0x1e9ef3=_0x1a1a96,_0xe3c5d9=this[_0x1e9ef3(0x212)][_0x1e9ef3(0x25d)][_0x1e9ef3(0x221)](_0x4c4b9b),_0x260453=this[_0x1e9ef3(0x212)][_0x1e9ef3(0x25d)][_0x1e9ef3(0x221)](_0x1f5204),_0x7c2363=async()=>{const _0x3c6b4c=_0x1e9ef3,_0x1012e1=this[_0x3c6b4c(0x246)][_0x3c6b4c(0x202)],_0x1bfc06=_0x1012e1['id'],_0x18caf5=_0x1bfc06!==_0x260453[_0x3c6b4c(0x204)];if(_0x18caf5){const _0xd7719b=_0x260453[_0x3c6b4c(0x230)]-this[_0x3c6b4c(0x22c)],_0x40872c=this[_0x3c6b4c(0x258)]();this[_0x3c6b4c(0x246)][_0x3c6b4c(0x21b)][_0x3c6b4c(0x24e)]();if(_0x1012e1[_0x3c6b4c(0x24d)]+_0xd7719b!==_0x40872c){const _0x37814c=_0x1012e1[_0x3c6b4c(0x20b)]+_0xd7719b,_0x2471cf=this[_0x3c6b4c(0x212)][_0x3c6b4c(0x25d)][_0x3c6b4c(0x221)](_0x45c0a0),_0x613492=this[_0x3c6b4c(0x246)][_0x3c6b4c(0x21c)]({'revision':_0x1012e1,'from':_0x37814c,'to':_0x40872c});_0x613492['id']=_0x1012e1['id'];const _0x5f553a=_0x613492[_0x3c6b4c(0x254)][_0x3c6b4c(0x203)](_0x2fd667=>_0x2471cf[_0x3c6b4c(0x1f6)](_0x2fd667));_0x1012e1[_0x3c6b4c(0x240)]({..._0x613492,'authors':_0x5f553a},!0x0),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x228)](_0x1012e1['id'],_0x613492,!0x0);}this[_0x3c6b4c(0x246)][_0x3c6b4c(0x245)]=_0x40872c,(_0x1012e1[_0x3c6b4c(0x24d)]===_0x1012e1[_0x3c6b4c(0x20b)]&&!this[_0x3c6b4c(0x246)][_0x3c6b4c(0x255)][_0x3c6b4c(0x21e)](_0x1bfc06)&&this[_0x3c6b4c(0x246)][_0x3c6b4c(0x256)][_0x3c6b4c(0x201)][_0x3c6b4c(0x214)](_0x1bfc06),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x25a)](_0x40872c));}const {revisions:_0x47f5bd,requestId:_0x273553}=await this[_0x3c6b4c(0x208)][_0x3c6b4c(0x20f)](_0xe3c5d9[_0x3c6b4c(0x211)],this[_0x3c6b4c(0x206)]);_0x18caf5&&_0x47f5bd[_0x3c6b4c(0x217)]>0x0?_0x260453[_0x3c6b4c(0x250)]():(await this[_0x3c6b4c(0x213)](_0x47f5bd),this[_0x3c6b4c(0x210)](_0x47f5bd,_0x273553),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x1fc)]());};return _0x260453[_0x1e9ef3(0x23c)]?_0x7c2363():new Promise((_0x4959bd,_0x1d4f45)=>{const _0x56ad90=_0x1e9ef3;_0x260453[_0x56ad90(0x23b)](_0x56ad90(0x209),()=>{const _0x1d6dac=_0x56ad90;_0x7c2363()[_0x1d6dac(0x237)](_0x4959bd)[_0x1d6dac(0x205)](_0x1d4f45);});});}[_0x1a1a96(0x223)](){const _0x28c6a9=_0x1a1a96;super[_0x28c6a9(0x223)]();}async[_0x1a1a96(0x1f9)](){const _0x440053=_0x1a1a96;this[_0x440053(0x208)][_0x440053(0x236)]||await new Promise(_0x1108eb=>{const _0x199d6a=_0x440053;this[_0x199d6a(0x1fd)](this[_0x199d6a(0x208)],_0x199d6a(0x233),_0x46f29d=>{const _0xdcb0bc=_0x199d6a;_0x46f29d[_0xdcb0bc(0x1f8)](),_0x1108eb();});});}[_0x1a1a96(0x258)](){const _0x55b188=_0x1a1a96,_0x470c09=this[_0x55b188(0x212)][_0x55b188(0x25d)][_0x55b188(0x221)](_0x1f5204)[_0x55b188(0x1f5)][_0x55b188(0x25e)]()[_0x55b188(0x20c)]();for(const _0x4295e4 of _0x470c09)if(_0x55b188(0x243)!==_0x4295e4[_0x55b188(0x219)]||_0x4295e4[_0x55b188(0x234)])return _0x4295e4[_0x55b188(0x24c)]+0x1;}[_0x1a1a96(0x23f)](){const _0x96f0d5=_0x1a1a96,_0x4b484e=this[_0x96f0d5(0x212)][_0x96f0d5(0x25d)][_0x96f0d5(0x221)](_0x1f5204);return new Promise(_0x43fe9f=>{const _0x31ddc6=_0x96f0d5;_0x4b484e[_0x31ddc6(0x242)]?_0x4b484e[_0x31ddc6(0x23b)](_0x31ddc6(0x239),()=>{const _0x1c6f5f=_0x31ddc6;_0x43fe9f(this[_0x1c6f5f(0x258)]());}):_0x43fe9f(this[_0x31ddc6(0x258)]());});}[_0x1a1a96(0x210)](_0x59c335,_0x110aa9){const _0x2beff6=_0x1a1a96,_0x210361=this[_0x2beff6(0x246)][_0x2beff6(0x256)];this[_0x2beff6(0x206)]=_0x110aa9;for(const _0x444963 of _0x59c335){const _0x3403ad=_0x210361[_0x2beff6(0x22f)](_0x444963['id']);if(_0x3403ad){if((_0x444963[_0x2beff6(0x20b)]||_0x444963[_0x2beff6(0x24d)])&&(_0x444963[_0x2beff6(0x1f3)]=null),_0x3403ad===this[_0x2beff6(0x246)][_0x2beff6(0x202)]){const _0x2cb0e3=Math[_0x2beff6(0x23a)](_0x3403ad[_0x2beff6(0x24d)],_0x444963[_0x2beff6(0x24d)]),_0x55fb42=Math[_0x2beff6(0x23a)](_0x3403ad[_0x2beff6(0x20b)],_0x444963[_0x2beff6(0x20b)]);let _0x2240c3;_0x3403ad[_0x2beff6(0x24d)]===_0x444963[_0x2beff6(0x24d)]&&_0x3403ad[_0x2beff6(0x20b)]===_0x444963[_0x2beff6(0x20b)]?(_0x2240c3=!0x0,this[_0x2beff6(0x25c)](_0x444963)):_0x444963[_0x2beff6(0x24d)]===_0x2cb0e3&&_0x444963[_0x2beff6(0x20b)]===_0x55fb42?_0x2240c3=!0x1:(_0x3403ad[_0x2beff6(0x24d)]===_0x2cb0e3&&_0x3403ad[_0x2beff6(0x20b)]===_0x55fb42||this[_0x2beff6(0x218)]({'revision':_0x3403ad,'from':_0x55fb42,'to':_0x2cb0e3}),_0x2240c3=!0x0),_0x2240c3&&(delete _0x444963[_0x2beff6(0x20b)],delete _0x444963[_0x2beff6(0x24d)],delete _0x444963[_0x2beff6(0x1f3)],delete _0x444963[_0x2beff6(0x229)],delete _0x444963[_0x2beff6(0x254)]);}this[_0x2beff6(0x246)][_0x2beff6(0x244)](_0x444963),this[_0x2beff6(0x25c)](_0x444963);}else this[_0x2beff6(0x246)][_0x2beff6(0x25b)](_0x444963);}const _0x1cba2c=_0x210361[_0x2beff6(0x241)]();_0x1cba2c[_0x2beff6(0x20c)]();for(let _0x28fc98=0x0;_0x28fc98<_0x1cba2c[_0x2beff6(0x217)]-0x1;_0x28fc98++){const _0x171fc1=_0x1cba2c[_0x28fc98],_0x3ced62=_0x1cba2c[_0x28fc98+0x1];if(_0x171fc1[_0x2beff6(0x20b)]<_0x3ced62[_0x2beff6(0x24d)]){const _0x57740a=_0x3ced62[_0x2beff6(0x24d)],_0x38f57d=Math[_0x2beff6(0x23a)](_0x57740a,_0x171fc1[_0x2beff6(0x24d)]);this[_0x2beff6(0x218)]({'revision':_0x171fc1,'from':_0x57740a,'to':_0x38f57d});}}}[_0x1a1a96(0x218)]({revision:_0x277f1d,from:_0x2c5a53,to:_0x20f50d}={}){const _0x54b707=_0x1a1a96,_0x44f730=this[_0x54b707(0x212)][_0x54b707(0x25d)][_0x54b707(0x221)](_0x45c0a0),_0x18ed9f=this[_0x54b707(0x246)][_0x54b707(0x21c)]({'revision':_0x277f1d,'from':_0x2c5a53,'to':_0x20f50d});_0x18ed9f[_0x54b707(0x22e)]=_0x18ed9f[_0x54b707(0x254)][_0x54b707(0x203)](_0x4cfaf9=>_0x44f730[_0x54b707(0x1f6)](_0x4cfaf9)),_0x277f1d[_0x54b707(0x240)](_0x18ed9f);}[_0x1a1a96(0x25c)](_0x4abf8a){const _0x10d3b5=_0x1a1a96,_0x30f19e={};_0x30f19e['id']=_0x4abf8a['id'];for(const _0x41962b of Object[_0x10d3b5(0x21f)](_0x4abf8a))'id'!==_0x41962b&&(_0x30f19e[_0x41962b]=void 0x0);this[_0x10d3b5(0x246)][_0x10d3b5(0x228)](_0x30f19e['id'],_0x30f19e,!0x0);}async[_0x1a1a96(0x213)](_0x5142e8){const _0x3bb78f=_0x1a1a96,_0x5f3b5f=this[_0x3bb78f(0x212)][_0x3bb78f(0x25d)][_0x3bb78f(0x221)](_0x45c0a0),{connection:_0x2164f2}=this[_0x3bb78f(0x212)][_0x3bb78f(0x25d)][_0x3bb78f(0x221)](_0x4c4b9b),_0x13c106=new Set();for(const _0xbcabac of _0x5142e8){for(const _0x30b6bd of _0xbcabac[_0x3bb78f(0x254)])_0x2d41e4(_0x30b6bd);_0xbcabac[_0x3bb78f(0x225)]&&_0x2d41e4(_0xbcabac[_0x3bb78f(0x225)]);}if(0x0===_0x13c106[_0x3bb78f(0x216)])return;const _0x816081=await _0x3e6860[_0x3bb78f(0x23d)](_0x2164f2,Array[_0x3bb78f(0x20d)](_0x13c106));for(const _0x4407ca of _0x816081)_0x5f3b5f[_0x3bb78f(0x1f6)](_0x4407ca['id'])||_0x5f3b5f[_0x3bb78f(0x20e)](_0x4407ca);function _0x2d41e4(_0x2560e7){const _0x3e92a3=_0x3bb78f;_0x5f3b5f[_0x3e92a3(0x1f6)](_0x2560e7)||_0x13c106[_0x3e92a3(0x24b)](_0x2560e7);}}}u[_0x1a1a96(0x1ff)]=_0x5ebc8;export default u;function rt(_0x32a979){const _0x4413a3=_0x1a1a96;return _0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x249))||_0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x226))||_0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x20a));}
23
+ const _0x2c44be=_0x3f3e;function _0x3f3e(_0x51113e,_0x3a8246){const _0x11225f=_0x1122();return _0x3f3e=function(_0x3f3ee4,_0x2319c2){_0x3f3ee4=_0x3f3ee4-0x1bd;let _0x43a4ef=_0x11225f[_0x3f3ee4];return _0x43a4ef;},_0x3f3e(_0x51113e,_0x3a8246);}(function(_0x3f1314,_0x54a1d9){const _0x1051bc=_0x3f3e,_0x2eedcc=_0x3f1314();while(!![]){try{const _0x1b2b95=parseInt(_0x1051bc(0x211))/0x1*(parseInt(_0x1051bc(0x219))/0x2)+parseInt(_0x1051bc(0x22b))/0x3+-parseInt(_0x1051bc(0x1c2))/0x4*(-parseInt(_0x1051bc(0x1d5))/0x5)+parseInt(_0x1051bc(0x232))/0x6*(parseInt(_0x1051bc(0x1c4))/0x7)+parseInt(_0x1051bc(0x22e))/0x8*(-parseInt(_0x1051bc(0x1f4))/0x9)+parseInt(_0x1051bc(0x1cd))/0xa*(-parseInt(_0x1051bc(0x1bd))/0xb)+parseInt(_0x1051bc(0x21e))/0xc*(-parseInt(_0x1051bc(0x213))/0xd);if(_0x1b2b95===_0x54a1d9)break;else _0x2eedcc['push'](_0x2eedcc['shift']());}catch(_0x423c80){_0x2eedcc['push'](_0x2eedcc['shift']());}}}(_0x1122,0xc6a04));import{Plugin as _0x5e42d0}from'ckeditor5/src/core.js';import{version as _0x3f32a3}from'ckeditor5/src/utils.js';import{Users as _0x5ab3ac}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x25bbe3 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5c1894 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2af60f from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x23c938,RevisionHistoryService as _0x48d041,User as _0x52ceee,WEB_SOCKET_GATEWAY_STATES as _0x26a66c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x5e42d0{static get[_0x2c44be(0x1c6)](){const _0x11e9fd=_0x2c44be;return[_0x5c1894,_0x25bbe3,_0x11e9fd(0x1dd),_0x2af60f,_0x5ab3ac];}static get[_0x2c44be(0x1fb)](){const _0x4ca27a=_0x2c44be;return _0x4ca27a(0x223);}static get[_0x2c44be(0x206)](){return!0x0;}static get[_0x2c44be(0x1f6)](){return!0x0;}constructor(_0x4cb55a){const _0x3c866f=_0x2c44be;super(_0x4cb55a);const _0x114f03=this[_0x3c866f(0x1db)][_0x3c866f(0x1d2)][_0x3c866f(0x1e5)](_0x3c866f(0x1fe));this[_0x3c866f(0x1f1)]=null,this[_0x3c866f(0x20a)]=this[_0x3c866f(0x1db)][_0x3c866f(0x201)][_0x3c866f(0x1e5)](_0x3c866f(0x1dd)),this[_0x3c866f(0x1e6)]=new u[(_0x3c866f(0x21f))](_0x114f03);}async[_0x2c44be(0x1f9)](){const _0x32fa1d=_0x2c44be,_0x1c81f9=this[_0x32fa1d(0x1db)][_0x32fa1d(0x201)][_0x32fa1d(0x1e5)](_0x25bbe3),_0x18f25a=_0x1c81f9[_0x32fa1d(0x215)],_0xce4083=this[_0x32fa1d(0x1db)][_0x32fa1d(0x201)][_0x32fa1d(0x1e5)](_0x5c1894);this[_0x32fa1d(0x20a)][_0x32fa1d(0x1cb)]({'history':_0x18f25a,'getLatestVersion':()=>this[_0x32fa1d(0x1de)](),'getCurrentRevisionId':()=>_0x1c81f9[_0x32fa1d(0x22d)]});const _0x54c2bf=this[_0x32fa1d(0x1db)][_0x32fa1d(0x1d2)][_0x32fa1d(0x1e5)](_0x32fa1d(0x1d9))||_0x3f32a3,_0x17f673=await _0x23c938[_0x32fa1d(0x1ea)](_0xce4083[_0x32fa1d(0x1f7)],_0x54c2bf);this[_0x32fa1d(0x20a)][_0x32fa1d(0x1fd)]={'getRevision':async({revisionId:_0x35030f})=>(await this[_0x32fa1d(0x225)](),await this[_0x32fa1d(0x1e6)][_0x32fa1d(0x207)](_0x35030f)),'updateRevisions':async _0x137318=>{const _0x4ce763=_0x32fa1d;await this[_0x4ce763(0x225)]();const _0x31ae18=this[_0x4ce763(0x20a)][_0x4ce763(0x205)];if(_0x17f673&&0x1===_0x137318[_0x4ce763(0x1d0)]&&_0x137318[0x0]['id']===_0x31ae18['id'])return _0x137318;for(const _0x550a63 of _0x137318)_0x550a63['id']===_0x31ae18['id']&&(_0x550a63[_0x4ce763(0x1f5)]=_0x550a63[_0x4ce763(0x1fa)]===_0x550a63[_0x4ce763(0x209)]);return this[_0x4ce763(0x1e6)][_0x4ce763(0x1ef)](_0x137318,this[_0x4ce763(0x1f1)])[_0x4ce763(0x20b)](_0x2228ef=>(this[_0x4ce763(0x1f1)]=_0x2228ef,_0x137318))[_0x4ce763(0x1f3)](_0x39529d=>{const _0x1ed313=_0x4ce763;if(X(_0x39529d)||_0x1ed313(0x22c)===_0x39529d[_0x1ed313(0x20d)]&&void 0x0!==_0x39529d[_0x1ed313(0x210)][_0x1ed313(0x1ce)]){for(const _0x5085a8 of _0x137318){!this[_0x1ed313(0x20a)][_0x1ed313(0x1e3)][_0x1ed313(0x207)](_0x5085a8['id'])||this[_0x1ed313(0x20a)][_0x1ed313(0x20e)](_0x5085a8['id'],_0x5085a8,!0x1);}if(X(_0x39529d))throw _0x39529d;return _0x137318;}throw _0x39529d;});}},this[_0x32fa1d(0x20c)](this[_0x32fa1d(0x1e6)],_0x32fa1d(0x1c1),(_0x125ee4,{revisionsData:_0x2b3ca6,requestId:_0x139b3e})=>{const _0x710973=_0x32fa1d;Math[_0x710973(0x1dc)](..._0x2b3ca6[_0x710973(0x1d4)](_0x2a210e=>_0x2a210e[_0x710973(0x209)]))>this[_0x710973(0x203)]()-0x1?this[_0x710973(0x1de)]()[_0x710973(0x20b)](()=>{const _0x80f592=_0x710973;this[_0x80f592(0x21c)](_0x2b3ca6,_0x139b3e);}):this[_0x710973(0x21c)](_0x2b3ca6,_0x139b3e);});const {revisions:_0xa69615,requestId:_0x17bd28}=await this[_0x32fa1d(0x1e6)][_0x32fa1d(0x1cf)](_0xce4083[_0x32fa1d(0x1f7)]);_0xce4083[_0x32fa1d(0x1cc)](this),this[_0x32fa1d(0x1f1)]=_0x17bd28,await this[_0x32fa1d(0x1fc)](_0xa69615);for(const _0xaf3688 of _0xa69615)this[_0x32fa1d(0x20a)][_0x32fa1d(0x1ca)](_0xaf3688);this[_0x32fa1d(0x20c)](_0x1c81f9,_0x32fa1d(0x1d3),(_0x5c8fff,_0x12159a,_0x4f09d4)=>{const _0x1cc78d=_0x32fa1d;_0x4f09d4&&(this[_0x1cc78d(0x214)]=_0x1c81f9[_0x1cc78d(0x1d6)],_0x5c8fff[_0x1cc78d(0x1e8)]());}),this[_0x32fa1d(0x20a)][_0x32fa1d(0x230)](_0x32fa1d(0x202))['to'](_0xce4083,_0x32fa1d(0x1e7),_0x5af993=>_0x5af993===_0x26a66c[_0x32fa1d(0x1c3)]);}async[_0x2c44be(0x224)](){const _0x109131=_0x2c44be,_0x3edacd=this[_0x109131(0x1db)][_0x109131(0x201)][_0x109131(0x1e5)](_0x5c1894),_0x481cb0=this[_0x109131(0x1db)][_0x109131(0x201)][_0x109131(0x1e5)](_0x25bbe3),_0x351162=async()=>{const _0x2b9070=_0x109131,_0xedb4b=this[_0x2b9070(0x20a)][_0x2b9070(0x205)],_0x59cebf=_0xedb4b['id'],_0xaaee74=_0x59cebf!==_0x481cb0[_0x2b9070(0x22d)];if(_0xaaee74){const _0x48236e=_0x481cb0[_0x2b9070(0x1d6)]-this[_0x2b9070(0x214)],_0x1c4f50=this[_0x2b9070(0x203)]();this[_0x2b9070(0x20a)][_0x2b9070(0x229)][_0x2b9070(0x200)]();if(_0xedb4b[_0x2b9070(0x209)]+_0x48236e!==_0x1c4f50){const _0x1f75d0=_0xedb4b[_0x2b9070(0x1fa)]+_0x48236e,_0x45966d=this[_0x2b9070(0x1db)][_0x2b9070(0x201)][_0x2b9070(0x1e5)](_0x5ab3ac),_0x578e23=this[_0x2b9070(0x20a)][_0x2b9070(0x1ed)]({'revision':_0xedb4b,'from':_0x1f75d0,'to':_0x1c4f50});_0x578e23['id']=_0xedb4b['id'];const _0x2b65bd=_0x578e23[_0x2b9070(0x212)][_0x2b9070(0x1d4)](_0x2064fc=>_0x45966d[_0x2b9070(0x217)](_0x2064fc));_0xedb4b[_0x2b9070(0x216)]({..._0x578e23,'authors':_0x2b65bd},!0x0),this[_0x2b9070(0x20a)][_0x2b9070(0x20e)](_0xedb4b['id'],_0x578e23,!0x0);}this[_0x2b9070(0x20a)][_0x2b9070(0x1f8)]=_0x1c4f50,(_0xedb4b[_0x2b9070(0x209)]===_0xedb4b[_0x2b9070(0x1fa)]&&!this[_0x2b9070(0x20a)][_0x2b9070(0x1d8)][_0x2b9070(0x228)](_0x59cebf)&&this[_0x2b9070(0x20a)][_0x2b9070(0x1e3)][_0x2b9070(0x1c8)][_0x2b9070(0x22a)](_0x59cebf),this[_0x2b9070(0x20a)][_0x2b9070(0x1ff)](_0x1c4f50));}const {revisions:_0x30cbe5,requestId:_0x34bd3e}=await this[_0x2b9070(0x1e6)][_0x2b9070(0x224)](_0x3edacd[_0x2b9070(0x1f7)],this[_0x2b9070(0x1f1)]);_0xaaee74&&_0x30cbe5[_0x2b9070(0x1d0)]>0x0?_0x481cb0[_0x2b9070(0x231)]():(await this[_0x2b9070(0x1fc)](_0x30cbe5),this[_0x2b9070(0x21c)](_0x30cbe5,_0x34bd3e),this[_0x2b9070(0x20a)][_0x2b9070(0x1e1)]());};return _0x481cb0[_0x109131(0x1eb)]?_0x351162():new Promise((_0x292178,_0xd296c)=>{const _0x5a599f=_0x109131;_0x481cb0[_0x5a599f(0x1f2)](_0x5a599f(0x1d3),()=>{const _0x250d4f=_0x5a599f;_0x351162()[_0x250d4f(0x20b)](_0x292178)[_0x250d4f(0x1f3)](_0xd296c);});});}[_0x2c44be(0x1c7)](){const _0x35f7c8=_0x2c44be;super[_0x35f7c8(0x1c7)]();}async[_0x2c44be(0x225)](){const _0x3bd08f=_0x2c44be;this[_0x3bd08f(0x1e6)][_0x3bd08f(0x218)]||await new Promise(_0x2ad1fa=>{const _0x304910=_0x3bd08f;this[_0x304910(0x20c)](this[_0x304910(0x1e6)],_0x304910(0x1c5),_0x4cc1dd=>{const _0x1132b7=_0x304910;_0x4cc1dd[_0x1132b7(0x1e8)](),_0x2ad1fa();});});}[_0x2c44be(0x203)](){const _0x2673d5=_0x2c44be,_0xe90589=this[_0x2673d5(0x1db)][_0x2673d5(0x201)][_0x2673d5(0x1e5)](_0x25bbe3)[_0x2673d5(0x215)][_0x2673d5(0x204)]()[_0x2673d5(0x226)]();for(const _0xe18968 of _0xe90589)if(_0x2673d5(0x208)!==_0xe18968[_0x2673d5(0x1d7)]||_0xe18968[_0x2673d5(0x222)])return _0xe18968[_0x2673d5(0x1da)]+0x1;}[_0x2c44be(0x1de)](){const _0x352acc=_0x2c44be,_0x5e218c=this[_0x352acc(0x1db)][_0x352acc(0x201)][_0x352acc(0x1e5)](_0x25bbe3);return new Promise(_0xfe4edf=>{const _0x4bc13f=_0x352acc;_0x5e218c[_0x4bc13f(0x1bf)]?_0x5e218c[_0x4bc13f(0x1f2)](_0x4bc13f(0x1ec),()=>{const _0x5b0d4d=_0x4bc13f;_0xfe4edf(this[_0x5b0d4d(0x203)]());}):_0xfe4edf(this[_0x4bc13f(0x203)]());});}[_0x2c44be(0x21c)](_0x4d309c,_0x419355){const _0x19b6e9=_0x2c44be,_0x4f59c5=this[_0x19b6e9(0x20a)][_0x19b6e9(0x1e3)];this[_0x19b6e9(0x1f1)]=_0x419355;for(const _0x2c39b3 of _0x4d309c){const _0x592d01=_0x4f59c5[_0x19b6e9(0x207)](_0x2c39b3['id']);if(_0x592d01){if((_0x2c39b3[_0x19b6e9(0x1fa)]||_0x2c39b3[_0x19b6e9(0x209)])&&(_0x2c39b3[_0x19b6e9(0x21b)]=null),_0x592d01===this[_0x19b6e9(0x20a)][_0x19b6e9(0x205)]){const _0x2d20d8=Math[_0x19b6e9(0x1dc)](_0x592d01[_0x19b6e9(0x209)],_0x2c39b3[_0x19b6e9(0x209)]),_0x2f80fd=Math[_0x19b6e9(0x1dc)](_0x592d01[_0x19b6e9(0x1fa)],_0x2c39b3[_0x19b6e9(0x1fa)]);let _0x44c2bf;_0x592d01[_0x19b6e9(0x209)]===_0x2c39b3[_0x19b6e9(0x209)]&&_0x592d01[_0x19b6e9(0x1fa)]===_0x2c39b3[_0x19b6e9(0x1fa)]?(_0x44c2bf=!0x0,this[_0x19b6e9(0x1df)](_0x2c39b3)):_0x2c39b3[_0x19b6e9(0x209)]===_0x2d20d8&&_0x2c39b3[_0x19b6e9(0x1fa)]===_0x2f80fd?_0x44c2bf=!0x1:(_0x592d01[_0x19b6e9(0x209)]===_0x2d20d8&&_0x592d01[_0x19b6e9(0x1fa)]===_0x2f80fd||this[_0x19b6e9(0x1d1)]({'revision':_0x592d01,'from':_0x2f80fd,'to':_0x2d20d8}),_0x44c2bf=!0x0),_0x44c2bf&&(delete _0x2c39b3[_0x19b6e9(0x1fa)],delete _0x2c39b3[_0x19b6e9(0x209)],delete _0x2c39b3[_0x19b6e9(0x21b)],delete _0x2c39b3[_0x19b6e9(0x1c0)],delete _0x2c39b3[_0x19b6e9(0x212)]);}this[_0x19b6e9(0x20a)][_0x19b6e9(0x220)](_0x2c39b3),this[_0x19b6e9(0x1df)](_0x2c39b3);}else this[_0x19b6e9(0x20a)][_0x19b6e9(0x1ca)](_0x2c39b3);}const _0x492fc2=_0x4f59c5[_0x19b6e9(0x1c9)]();_0x492fc2[_0x19b6e9(0x226)]();for(let _0x4edb67=0x0;_0x4edb67<_0x492fc2[_0x19b6e9(0x1d0)]-0x1;_0x4edb67++){const _0x3a3663=_0x492fc2[_0x4edb67],_0x1edd33=_0x492fc2[_0x4edb67+0x1];if(_0x3a3663[_0x19b6e9(0x1fa)]<_0x1edd33[_0x19b6e9(0x209)]){const _0x14f264=_0x1edd33[_0x19b6e9(0x209)],_0x5f3612=Math[_0x19b6e9(0x1dc)](_0x14f264,_0x3a3663[_0x19b6e9(0x209)]);this[_0x19b6e9(0x1d1)]({'revision':_0x3a3663,'from':_0x14f264,'to':_0x5f3612});}}}[_0x2c44be(0x1d1)]({revision:_0x2fc263,from:_0x53b877,to:_0x2da2f8}={}){const _0x210490=_0x2c44be,_0x391b19=this[_0x210490(0x1db)][_0x210490(0x201)][_0x210490(0x1e5)](_0x5ab3ac),_0x4ac0dc=this[_0x210490(0x20a)][_0x210490(0x1ed)]({'revision':_0x2fc263,'from':_0x53b877,'to':_0x2da2f8});_0x4ac0dc[_0x210490(0x21a)]=_0x4ac0dc[_0x210490(0x212)][_0x210490(0x1d4)](_0x544289=>_0x391b19[_0x210490(0x217)](_0x544289)),_0x2fc263[_0x210490(0x216)](_0x4ac0dc);}[_0x2c44be(0x1df)](_0x41214c){const _0xdbeb65=_0x2c44be,_0x50e30c={};_0x50e30c['id']=_0x41214c['id'];for(const _0x5da735 of Object[_0xdbeb65(0x1e2)](_0x41214c))'id'!==_0x5da735&&(_0x50e30c[_0x5da735]=void 0x0);this[_0xdbeb65(0x20a)][_0xdbeb65(0x20e)](_0x50e30c['id'],_0x50e30c,!0x0);}async[_0x2c44be(0x1fc)](_0x1a27fc){const _0x327afc=_0x2c44be,_0x39159f=this[_0x327afc(0x1db)][_0x327afc(0x201)][_0x327afc(0x1e5)](_0x5ab3ac),{connection:_0x4192df}=this[_0x327afc(0x1db)][_0x327afc(0x201)][_0x327afc(0x1e5)](_0x5c1894),_0x1858b9=new Set();for(const _0x50dee9 of _0x1a27fc){for(const _0x1f40ed of _0x50dee9[_0x327afc(0x212)])_0x4c6049(_0x1f40ed);_0x50dee9[_0x327afc(0x1be)]&&_0x4c6049(_0x50dee9[_0x327afc(0x1be)]);}if(0x0===_0x1858b9[_0x327afc(0x227)])return;const _0x22f329=await _0x52ceee[_0x327afc(0x1e4)](_0x4192df,Array[_0x327afc(0x1e9)](_0x1858b9));for(const _0x2a301b of _0x22f329)_0x39159f[_0x327afc(0x217)](_0x2a301b['id'])||_0x39159f[_0x327afc(0x22f)](_0x2a301b);function _0x4c6049(_0x1cf688){const _0x5194b9=_0x327afc;_0x39159f[_0x5194b9(0x217)](_0x1cf688)||_0x1858b9[_0x5194b9(0x1e0)](_0x1cf688);}}}u[_0x2c44be(0x21f)]=_0x48d041;export default u;function _0x1122(){const _0x209dce=['listenTo','code','_bufferUpdate','message','data','10OgHtNc','authorsIds','52wsIIby','_oldOffset','serverHistory','_update','getUser','isConnected','130628MwLevO','authors','diffData','_handleRevisionsUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','2434284oqYktD','RevisionHistoryService','setRevisionData','startsWith','affectsData','CloudServicesRevisionHistoryAdapter','reconnect','_waitForServiceReady','reverse','size','has','_revisionDataBuilder','remove','3568269keyKeW','400','sessionId','1048QwNPrU','addUser','bind','_handleReconnectionError','6OadRua','27533WPZUvN','creatorId','_isPendingUpdate','createdAt','revisionsUpdated','256BuTddG','CONNECTED','9166871hIUyAj','connected','requires','destroy','_revisions','getRevisions','addRevisionData','setSource','addToReconnectionStack','5290JbWiay','wrongRequestId','connect','length','_fixRevision','config','change:_isConnected','map','102110EPodCw','_offset','type','_bufferedUpdates','cloudServices.bundleVersion','baseVersion','editor','max','RevisionTracker','_getLatestVersion','_preventResendingRevisionData','add','sendBufferedUpdates','keys','repository','getMany','get','_revisionHistoryService','state','off','from','isBundleUploaded','_isConnected','change:_isPendingUpdate','buildRevisionData','cloud-services-internal-error:\x20Not\x20connected.','updateRevisions','cloud-services-internal-error:\x20Request\x20timeout.','_lastRequestId','once','catch','103743PZEFWM','isEmptyCurrent','isPremiumPlugin','connection','_startingVersion','init','fromVersion','pluginName','_fetchMissingUsers','adapter','collaboration.channelId','_createCurrentRevision','reInit','plugins','isEnabled','_getLatestVersionFromServerOperations','getOperations','currentRevision','isOfficialPlugin','getRevision','marker','toVersion','_revisionTracker','then'];_0x1122=function(){return _0x209dce;};return _0x1122();}function X(_0x10f13a){const _0x1534a2=_0x2c44be;return _0x10f13a[_0x1534a2(0x20f)][_0x1534a2(0x221)](_0x1534a2(0x21d))||_0x10f13a[_0x1534a2(0x20f)][_0x1534a2(0x221)](_0x1534a2(0x1ee))||_0x10f13a[_0x1534a2(0x20f)][_0x1534a2(0x221)](_0x1534a2(0x1f0));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d8f6e=_0x2b7c;(function(_0x10259a,_0x396815){var _0x96cc7b=_0x2b7c,_0x828c19=_0x10259a();while(!![]){try{var _0x148984=parseInt(_0x96cc7b(0xa8))/0x1*(-parseInt(_0x96cc7b(0x9c))/0x2)+-parseInt(_0x96cc7b(0x9e))/0x3*(parseInt(_0x96cc7b(0x9a))/0x4)+-parseInt(_0x96cc7b(0xa4))/0x5+-parseInt(_0x96cc7b(0xa7))/0x6+parseInt(_0x96cc7b(0xa6))/0x7+parseInt(_0x96cc7b(0xa3))/0x8*(parseInt(_0x96cc7b(0xa9))/0x9)+-parseInt(_0x96cc7b(0xa5))/0xa*(-parseInt(_0x96cc7b(0xa1))/0xb);if(_0x148984===_0x396815)break;else _0x828c19['push'](_0x828c19['shift']());}catch(_0x6c1fa7){_0x828c19['push'](_0x828c19['shift']());}}}(_0x1f85,0x91334));function _0x1f85(){var _0x19fb9e=['795534HAFaDR','isPremiumPlugin','pluginName','710666OiZvlq','RealTimeCollaborativeRevisionHistory','136fyjbBq','312200YtfqHc','230xZdhEE','3964121zdtCLo','4855188KMxNxq','2UyjMxm','66411SCgvOA','requires','4JamQyT','isOfficialPlugin','446128BusFMK','RevisionHistory'];_0x1f85=function(){return _0x19fb9e;};return _0x1f85();}function _0x2b7c(_0x35ea16,_0x40db8a){var _0x1f8587=_0x1f85();return _0x2b7c=function(_0x2b7cad,_0x21ec16){_0x2b7cad=_0x2b7cad-0x99;var _0x1f5380=_0x1f8587[_0x2b7cad];return _0x1f5380;},_0x2b7c(_0x35ea16,_0x40db8a);}import{Plugin as _0xe19268}from'ckeditor5/src/core.js';import _0x18adce from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x530e1c from'./realtimecollaborativeediting.js';export default class g extends _0xe19268{static get[_0x5d8f6e(0x99)](){var _0x3e76d0=_0x5d8f6e;return[_0x3e76d0(0x9d),_0x18adce,_0x530e1c];}static get[_0x5d8f6e(0xa0)](){var _0xca0fd2=_0x5d8f6e;return _0xca0fd2(0xa2);}static get[_0x5d8f6e(0x9b)](){return!0x0;}static get[_0x5d8f6e(0x9f)](){return!0x0;}}
23
+ var _0x379185=_0x204f;function _0x204f(_0x11dd34,_0xec447f){var _0x49188f=_0x4918();return _0x204f=function(_0x204f00,_0x2aba3e){_0x204f00=_0x204f00-0x139;var _0x518f7c=_0x49188f[_0x204f00];return _0x518f7c;},_0x204f(_0x11dd34,_0xec447f);}(function(_0x94651d,_0x4cbdd8){var _0x44301b=_0x204f,_0x248201=_0x94651d();while(!![]){try{var _0x5569e2=-parseInt(_0x44301b(0x141))/0x1*(parseInt(_0x44301b(0x148))/0x2)+-parseInt(_0x44301b(0x13a))/0x3+parseInt(_0x44301b(0x139))/0x4+parseInt(_0x44301b(0x140))/0x5*(-parseInt(_0x44301b(0x13d))/0x6)+-parseInt(_0x44301b(0x147))/0x7*(parseInt(_0x44301b(0x143))/0x8)+-parseInt(_0x44301b(0x13e))/0x9+parseInt(_0x44301b(0x144))/0xa;if(_0x5569e2===_0x4cbdd8)break;else _0x248201['push'](_0x248201['shift']());}catch(_0x377d3b){_0x248201['push'](_0x248201['shift']());}}}(_0x4918,0x436bc));import{Plugin as _0x444535}from'ckeditor5/src/core.js';import _0x50d4ed from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x4918(){var _0x576d28=['31829EBwmpm','2fPELjZ','1939120svScac','226047UPoXAP','RealTimeCollaborativeRevisionHistory','requires','6zXhTZI','3849138PxpzIx','pluginName','1284130IlwTaI','146009aYODbf','isPremiumPlugin','200BfDfPQ','8109170LxjaWS','RevisionHistory','isOfficialPlugin'];_0x4918=function(){return _0x576d28;};return _0x4918();}import _0x186836 from'./realtimecollaborativeediting.js';export default class g extends _0x444535{static get[_0x379185(0x13c)](){var _0x2672a7=_0x379185;return[_0x2672a7(0x145),_0x50d4ed,_0x186836];}static get[_0x379185(0x13f)](){var _0x2eb76b=_0x379185;return _0x2eb76b(0x13b);}static get[_0x379185(0x146)](){return!0x0;}static get[_0x379185(0x142)](){return!0x0;}}
@@ -19,6 +19,18 @@ export default class CloudServicesTrackChangesAdapter extends Plugin implements
19
19
  * @inheritDoc
20
20
  */
21
21
  static get requires(): readonly [typeof CloudServicesCommentsAdapter, "TrackChangesEditing", typeof WebSocketGateway];
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "CloudServicesTrackChangesAdapter";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static get isPremiumPlugin(): true;
22
34
  /**
23
35
  * @inheritDoc
24
36
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x399b22=_0x864a;function _0x5702(){const _0x257282=['then','attributes','startsWith','getUser','off','_fetchMissingUsersForThreads','304Fobnll','from','collaboration.channelId','1721348rBIrHW','getSuggestion','_waitForServiceReady','6531nhXWLv','addSuggestionData','values','set','371308cCNJiy','config','get','find','connected','connect','plugins','addToReconnectionStack','add','isConnected','adapter','data','delete','listenTo','_trackChangesService','getMany','connection','requires','_bufferedRequests','catch','398165weEtHf','open','480642UiJGUa','TrackChangesService','update','cloud-services-internal-error:\x20Not\x20connected.','editor','originalSuggestionId','message','init','state','size','reconnect','hasSuggestion','2519022RgcrZQ','addUser','261820cRfYLM','type','TrackChangesEditing','cloud-services-internal-error:\x20Request\x20timeout.','_saved','suggestionUpdated'];_0x5702=function(){return _0x257282;};return _0x5702();}(function(_0x480b26,_0x2663ba){const _0x369df9=_0x864a,_0x5ea7c4=_0x480b26();while(!![]){try{const _0x182657=parseInt(_0x369df9(0x188))/0x1+parseInt(_0x369df9(0x172))/0x2+-parseInt(_0x369df9(0x164))/0x3+-parseInt(_0x369df9(0x181))/0x4+-parseInt(_0x369df9(0x162))/0x5+parseInt(_0x369df9(0x170))/0x6+parseInt(_0x369df9(0x184))/0x7*(parseInt(_0x369df9(0x17e))/0x8);if(_0x182657===_0x2663ba)break;else _0x5ea7c4['push'](_0x5ea7c4['shift']());}catch(_0x170d7f){_0x5ea7c4['push'](_0x5ea7c4['shift']());}}}(_0x5702,0x4625d));import{Plugin as _0x398d67}from'ckeditor5/src/core.js';import{User as _0x47fb43,TrackChangesService as _0x36bd17}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x516501 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2481cb from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x864a(_0x432ce9,_0x3f3f90){const _0x57027f=_0x5702();return _0x864a=function(_0x864af2,_0xed0d14){_0x864af2=_0x864af2-0x15e;let _0x6b4d5f=_0x57027f[_0x864af2];return _0x6b4d5f;},_0x864a(_0x432ce9,_0x3f3f90);}import{Users as _0x43535c}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x398d67{static get[_0x399b22(0x15f)](){const _0x32633b=_0x399b22;return[_0x2481cb,_0x32633b(0x174),_0x516501];}constructor(_0x36ba88){const _0x1677cf=_0x399b22;super(_0x36ba88);const _0x3a9308=this[_0x1677cf(0x168)][_0x1677cf(0x189)][_0x1677cf(0x18a)](_0x1677cf(0x180));this[_0x1677cf(0x160)]=new Map(),this[_0x1677cf(0x196)]=new f[(_0x1677cf(0x165))](_0x3a9308);}[_0x399b22(0x16b)](){const _0x4d9be9=_0x399b22,_0xe43546=this[_0x4d9be9(0x168)][_0x4d9be9(0x18e)][_0x4d9be9(0x18a)](_0x516501),_0x446016=this[_0x4d9be9(0x168)][_0x4d9be9(0x18e)][_0x4d9be9(0x18a)](_0x4d9be9(0x174));return _0x446016[_0x4d9be9(0x192)]={'getSuggestion':async _0x3077e2=>{const _0x59ca24=_0x4d9be9;await this[_0x59ca24(0x183)]();const _0x6c4bea=await this[_0x59ca24(0x196)][_0x59ca24(0x18a)](_0x3077e2)[_0x59ca24(0x161)](ot);return await this[_0x59ca24(0x17d)]([_0x6c4bea]),_0x6c4bea;},'addSuggestion':async({id:_0x38b474,type:_0x408c8f,data:_0x150f86,originalSuggestionId:_0x4886c0,attributes:_0x16b76c})=>{const _0xe058b6=_0x4d9be9;await this[_0xe058b6(0x183)]();const _0x232cfa={'id':_0x38b474,'type':_0x408c8f,'data':_0x150f86,'originalSuggestionId':_0x4886c0,'attributes':_0x16b76c},_0x523d19=await this[_0xe058b6(0x196)][_0xe058b6(0x190)](_0x38b474,_0x408c8f,_0x150f86,_0x4886c0,_0x16b76c)[_0xe058b6(0x161)](_0x491998=>{if(rt(_0x491998))return new Promise(_0x535875=>{const _0x18e4d4=_0x864a;this[_0x18e4d4(0x160)][_0x18e4d4(0x187)](_0x38b474,{'resolve':_0x535875,'suggestionData':_0x232cfa});});throw _0x491998;});return this[_0xe058b6(0x160)][_0xe058b6(0x194)](_0x38b474),_0x523d19;},'updateSuggestion':async(_0x57b97d,_0x3bb0a4)=>{const _0x27cd86=_0x4d9be9;if(await this[_0x27cd86(0x183)](),_0x27cd86(0x163)!==_0x3bb0a4[_0x27cd86(0x16c)])return this[_0x27cd86(0x196)][_0x27cd86(0x166)](_0x57b97d,_0x3bb0a4)[_0x27cd86(0x161)](ot);}},this[_0x4d9be9(0x195)](this[_0x4d9be9(0x196)],_0x4d9be9(0x177),(_0x531cee,_0x5e26a1)=>{const _0x4c229b=_0x4d9be9;_0x446016[_0x4c229b(0x16f)](_0x5e26a1['id'])&&(_0x446016[_0x4c229b(0x182)](_0x5e26a1['id'])[_0x4c229b(0x179)]=_0x5e26a1[_0x4c229b(0x179)]);}),this[_0x4d9be9(0x196)][_0x4d9be9(0x18d)](_0xe43546[_0x4d9be9(0x15e)])[_0x4d9be9(0x178)](_0x17063d=>(_0xe43546[_0x4d9be9(0x18f)](this),this[_0x4d9be9(0x17d)](_0x17063d)[_0x4d9be9(0x178)](()=>{const _0x233a27=_0x4d9be9;for(const _0x55f856 of _0x17063d){_0x446016[_0x233a27(0x185)](_0x55f856)[_0x233a27(0x176)]=!0x0;}})));}async[_0x399b22(0x16e)](){const _0x5a0127=_0x399b22,_0x4412cd=this[_0x5a0127(0x168)][_0x5a0127(0x18e)][_0x5a0127(0x18a)](_0x5a0127(0x174)),{connection:_0x378b65}=this[_0x5a0127(0x168)][_0x5a0127(0x18e)][_0x5a0127(0x18a)](_0x516501),_0x3f5bf4=await this[_0x5a0127(0x196)][_0x5a0127(0x18d)](_0x378b65);await this[_0x5a0127(0x17d)](_0x3f5bf4);for(const {suggestionData:_0x4e54e3,resolve:_0x5d6fce}of this[_0x5a0127(0x160)][_0x5a0127(0x186)]()){let _0x2bda72=_0x3f5bf4[_0x5a0127(0x18b)](_0x14cae0=>_0x14cae0['id']===_0x4e54e3['id']);_0x2bda72||(_0x2bda72=await this[_0x5a0127(0x196)][_0x5a0127(0x190)](_0x4e54e3['id'],_0x4e54e3[_0x5a0127(0x173)],_0x4e54e3[_0x5a0127(0x193)],_0x4e54e3[_0x5a0127(0x169)])),_0x5d6fce(_0x2bda72);}for(const _0x2d6139 of _0x3f5bf4)_0x4412cd[_0x5a0127(0x16f)](_0x2d6139['id'])||_0x4412cd[_0x5a0127(0x185)](_0x2d6139);}async[_0x399b22(0x183)](){const _0x2b7550=_0x399b22;this[_0x2b7550(0x196)][_0x2b7550(0x191)]||await new Promise(_0x4035b4=>{const _0x482e5b=_0x2b7550;this[_0x482e5b(0x195)](this[_0x482e5b(0x196)],_0x482e5b(0x18c),_0xe5b51a=>{const _0x4e5350=_0x482e5b;_0xe5b51a[_0x4e5350(0x17c)](),_0x4035b4();});});}async[_0x399b22(0x17d)](_0xc4e454){const _0x434fa7=_0x399b22,_0x384bef=this[_0x434fa7(0x168)][_0x434fa7(0x18e)][_0x434fa7(0x18a)](_0x43535c),{connection:_0x1b7455}=this[_0x434fa7(0x168)][_0x434fa7(0x18e)][_0x434fa7(0x18a)](_0x516501),_0x1a8f28=new Set();for(const {authorId:_0xfbc55f}of _0xc4e454)_0x384bef[_0x434fa7(0x17b)](_0xfbc55f)||_0x1a8f28[_0x434fa7(0x190)](_0xfbc55f);if(0x0===_0x1a8f28[_0x434fa7(0x16d)])return;const _0x134fff=await _0x47fb43[_0x434fa7(0x197)](_0x1b7455,Array[_0x434fa7(0x17f)](_0x1a8f28));for(const _0x44b149 of _0x134fff)_0x384bef[_0x434fa7(0x17b)](_0x44b149['id'])||_0x384bef[_0x434fa7(0x171)](_0x44b149);}}f[_0x399b22(0x165)]=_0x36bd17;export default f;function ot(_0x2167c7){if(rt(_0x2167c7))return new Promise(()=>{});throw _0x2167c7;}function rt(_0x3dbaf8){const _0x1d438f=_0x399b22;return _0x3dbaf8[_0x1d438f(0x16a)][_0x1d438f(0x17a)](_0x1d438f(0x167))||_0x3dbaf8[_0x1d438f(0x16a)][_0x1d438f(0x17a)](_0x1d438f(0x175));}
23
+ const _0x31d260=_0x4d39;(function(_0x3bdcd9,_0x44b31d){const _0x56e40b=_0x4d39,_0x5d2c67=_0x3bdcd9();while(!![]){try{const _0x3184ac=-parseInt(_0x56e40b(0x229))/0x1*(-parseInt(_0x56e40b(0x214))/0x2)+-parseInt(_0x56e40b(0x223))/0x3+parseInt(_0x56e40b(0x1f1))/0x4*(parseInt(_0x56e40b(0x20a))/0x5)+parseInt(_0x56e40b(0x22a))/0x6+parseInt(_0x56e40b(0x20d))/0x7+-parseInt(_0x56e40b(0x20c))/0x8*(-parseInt(_0x56e40b(0x21e))/0x9)+-parseInt(_0x56e40b(0x217))/0xa;if(_0x3184ac===_0x44b31d)break;else _0x5d2c67['push'](_0x5d2c67['shift']());}catch(_0x1775e2){_0x5d2c67['push'](_0x5d2c67['shift']());}}}(_0x1cb9,0x615f9));import{Plugin as _0x37ffab}from'ckeditor5/src/core.js';import{User as _0x4392eb,TrackChangesService as _0x225712}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38a53a from'../realtimecollaborativeediting/websocketgateway.js';import _0x391436 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5ed284}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x37ffab{static get[_0x31d260(0x22b)](){const _0xb1fc48=_0x31d260;return[_0x391436,_0xb1fc48(0x21f),_0x38a53a];}static get[_0x31d260(0x1ef)](){const _0x1f48cd=_0x31d260;return _0x1f48cd(0x1f6);}static get[_0x31d260(0x1fc)](){return!0x0;}static get[_0x31d260(0x216)](){return!0x0;}constructor(_0x38ab3a){const _0x2ec25c=_0x31d260;super(_0x38ab3a);const _0x14492c=this[_0x2ec25c(0x221)][_0x2ec25c(0x208)][_0x2ec25c(0x228)](_0x2ec25c(0x1fe));this[_0x2ec25c(0x222)]=new Map(),this[_0x2ec25c(0x1f0)]=new f[(_0x2ec25c(0x204))](_0x14492c);}[_0x31d260(0x22d)](){const _0x2184ff=_0x31d260,_0x3e6e96=this[_0x2184ff(0x221)][_0x2184ff(0x203)][_0x2184ff(0x228)](_0x38a53a),_0x5c7e5a=this[_0x2184ff(0x221)][_0x2184ff(0x203)][_0x2184ff(0x228)](_0x2184ff(0x21f));return _0x5c7e5a[_0x2184ff(0x20b)]={'getSuggestion':async _0x50b452=>{const _0x9047fd=_0x2184ff;await this[_0x9047fd(0x20e)]();const _0x3f3a5a=await this[_0x9047fd(0x1f0)][_0x9047fd(0x228)](_0x50b452)[_0x9047fd(0x1ff)](w);return await this[_0x9047fd(0x1fd)]([_0x3f3a5a]),_0x3f3a5a;},'addSuggestion':async({id:_0x2c4226,type:_0x5c5957,data:_0x2caaaf,originalSuggestionId:_0x41e918,attributes:_0x5e773a})=>{const _0x465b49=_0x2184ff;await this[_0x465b49(0x20e)]();const _0x37c050={'id':_0x2c4226,'type':_0x5c5957,'data':_0x2caaaf,'originalSuggestionId':_0x41e918,'attributes':_0x5e773a},_0x4f1391=await this[_0x465b49(0x1f0)][_0x465b49(0x226)](_0x2c4226,_0x5c5957,_0x2caaaf,_0x41e918,_0x5e773a)[_0x465b49(0x1ff)](_0x2b4548=>{if(X(_0x2b4548))return new Promise(_0x24c02c=>{const _0x9ccafb=_0x4d39;this[_0x9ccafb(0x222)][_0x9ccafb(0x21c)](_0x2c4226,{'resolve':_0x24c02c,'suggestionData':_0x37c050});});throw _0x2b4548;});return this[_0x465b49(0x222)][_0x465b49(0x219)](_0x2c4226),_0x4f1391;},'updateSuggestion':async(_0x48d678,_0x534668)=>{const _0x4fc7d2=_0x2184ff;if(await this[_0x4fc7d2(0x20e)](),_0x4fc7d2(0x1f2)!==_0x534668[_0x4fc7d2(0x20f)])return this[_0x4fc7d2(0x1f0)][_0x4fc7d2(0x1fa)](_0x48d678,_0x534668)[_0x4fc7d2(0x1ff)](w);}},this[_0x2184ff(0x200)](this[_0x2184ff(0x1f0)],_0x2184ff(0x209),(_0x4873f7,_0x2eb6f7)=>{const _0x167dc9=_0x2184ff;_0x5c7e5a[_0x167dc9(0x1fb)](_0x2eb6f7['id'])&&(_0x5c7e5a[_0x167dc9(0x205)](_0x2eb6f7['id'])[_0x167dc9(0x206)]=_0x2eb6f7[_0x167dc9(0x206)]);}),this[_0x2184ff(0x1f0)][_0x2184ff(0x1f7)](_0x3e6e96[_0x2184ff(0x21b)])[_0x2184ff(0x225)](_0xf152ee=>(_0x3e6e96[_0x2184ff(0x1f9)](this),this[_0x2184ff(0x1fd)](_0xf152ee)[_0x2184ff(0x225)](()=>{const _0x4e35e7=_0x2184ff;for(const _0x2391ff of _0xf152ee){_0x5c7e5a[_0x4e35e7(0x224)](_0x2391ff)[_0x4e35e7(0x212)]=!0x0;}})));}async[_0x31d260(0x220)](){const _0x107cce=_0x31d260,_0x59b278=this[_0x107cce(0x221)][_0x107cce(0x203)][_0x107cce(0x228)](_0x107cce(0x21f)),{connection:_0x10234e}=this[_0x107cce(0x221)][_0x107cce(0x203)][_0x107cce(0x228)](_0x38a53a),_0xbc6cbd=await this[_0x107cce(0x1f0)][_0x107cce(0x1f7)](_0x10234e);await this[_0x107cce(0x1fd)](_0xbc6cbd);for(const {suggestionData:_0x482e15,resolve:_0x4b6963}of this[_0x107cce(0x222)][_0x107cce(0x22c)]()){let _0x570548=_0xbc6cbd[_0x107cce(0x211)](_0x279251=>_0x279251['id']===_0x482e15['id']);_0x570548||(_0x570548=await this[_0x107cce(0x1f0)][_0x107cce(0x226)](_0x482e15['id'],_0x482e15[_0x107cce(0x210)],_0x482e15[_0x107cce(0x21a)],_0x482e15[_0x107cce(0x227)])),_0x4b6963(_0x570548);}for(const _0x49a709 of _0xbc6cbd)_0x59b278[_0x107cce(0x1fb)](_0x49a709['id'])||_0x59b278[_0x107cce(0x224)](_0x49a709);}async[_0x31d260(0x20e)](){const _0x4a46d3=_0x31d260;this[_0x4a46d3(0x1f0)][_0x4a46d3(0x215)]||await new Promise(_0x31a9c2=>{const _0x334c00=_0x4a46d3;this[_0x334c00(0x200)](this[_0x334c00(0x1f0)],_0x334c00(0x207),_0x13f490=>{const _0x2303e9=_0x334c00;_0x13f490[_0x2303e9(0x1f5)](),_0x31a9c2();});});}async[_0x31d260(0x1fd)](_0x5e2562){const _0x52c58d=_0x31d260,_0x2c924b=this[_0x52c58d(0x221)][_0x52c58d(0x203)][_0x52c58d(0x228)](_0x5ed284),{connection:_0x5aaad6}=this[_0x52c58d(0x221)][_0x52c58d(0x203)][_0x52c58d(0x228)](_0x38a53a),_0x128ea5=new Set();for(const {authorId:_0x4b4983}of _0x5e2562)_0x2c924b[_0x52c58d(0x1f3)](_0x4b4983)||_0x128ea5[_0x52c58d(0x226)](_0x4b4983);if(0x0===_0x128ea5[_0x52c58d(0x218)])return;const _0x3fc1c9=await _0x4392eb[_0x52c58d(0x201)](_0x5aaad6,Array[_0x52c58d(0x1f4)](_0x128ea5));for(const _0x41cc0b of _0x3fc1c9)_0x2c924b[_0x52c58d(0x1f3)](_0x41cc0b['id'])||_0x2c924b[_0x52c58d(0x22e)](_0x41cc0b);}}function _0x1cb9(){const _0x3301ec=['adapter','6240FYweNT','4004553wMnBOw','_waitForServiceReady','state','type','find','_saved','cloud-services-internal-error:\x20Request\x20timeout.','13654YRfuFJ','isConnected','isPremiumPlugin','5621680Boocow','size','delete','data','connection','set','startsWith','3915OViyoW','TrackChangesEditing','reconnect','editor','_bufferedRequests','2371749TugsPG','addSuggestionData','then','add','originalSuggestionId','get','5qySAxm','4546188LpqCla','requires','values','init','addUser','pluginName','_trackChangesService','3280pZxVRh','open','getUser','from','off','CloudServicesTrackChangesAdapter','connect','message','addToReconnectionStack','update','hasSuggestion','isOfficialPlugin','_fetchMissingUsersForThreads','collaboration.channelId','catch','listenTo','getMany','cloud-services-internal-error:\x20Not\x20connected.','plugins','TrackChangesService','getSuggestion','attributes','connected','config','suggestionUpdated','295bpqwUo'];_0x1cb9=function(){return _0x3301ec;};return _0x1cb9();}f[_0x31d260(0x204)]=_0x225712;export default f;function w(_0x53c22f){if(X(_0x53c22f))return new Promise(()=>{});throw _0x53c22f;}function _0x4d39(_0x3688ec,_0x192209){const _0x1cb990=_0x1cb9();return _0x4d39=function(_0x4d3906,_0x2eff1d){_0x4d3906=_0x4d3906-0x1ef;let _0xd72fde=_0x1cb990[_0x4d3906];return _0xd72fde;},_0x4d39(_0x3688ec,_0x192209);}function X(_0x2aa3b8){const _0x230bc5=_0x31d260;return _0x2aa3b8[_0x230bc5(0x1f8)][_0x230bc5(0x21d)](_0x230bc5(0x202))||_0x2aa3b8[_0x230bc5(0x1f8)][_0x230bc5(0x21d)](_0x230bc5(0x213));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5cf9da=_0x32b3;(function(_0x14d177,_0x3ea93d){var _0x5d9d78=_0x32b3,_0x147f63=_0x14d177();while(!![]){try{var _0xd54802=parseInt(_0x5d9d78(0x1be))/0x1+parseInt(_0x5d9d78(0x1c7))/0x2+-parseInt(_0x5d9d78(0x1c3))/0x3*(-parseInt(_0x5d9d78(0x1cc))/0x4)+parseInt(_0x5d9d78(0x1c6))/0x5*(parseInt(_0x5d9d78(0x1c1))/0x6)+parseInt(_0x5d9d78(0x1c2))/0x7+-parseInt(_0x5d9d78(0x1c9))/0x8+parseInt(_0x5d9d78(0x1c4))/0x9*(-parseInt(_0x5d9d78(0x1c0))/0xa);if(_0xd54802===_0x3ea93d)break;else _0x147f63['push'](_0x147f63['shift']());}catch(_0x524083){_0x147f63['push'](_0x147f63['shift']());}}}(_0x2ef4,0x2e9bc));import{Plugin as _0x399b90}from'ckeditor5/src/core.js';function _0x32b3(_0x49e5dc,_0x3432b7){var _0x2ef43e=_0x2ef4();return _0x32b3=function(_0x32b3b2,_0x4d1270){_0x32b3b2=_0x32b3b2-0x1be;var _0x5725dd=_0x2ef43e[_0x32b3b2];return _0x5725dd;},_0x32b3(_0x49e5dc,_0x3432b7);}function _0x2ef4(){var _0x40e048=['RealTimeCollaborativeTrackChanges','260sYvYkq','296664wIQJKB','isOfficialPlugin','1180576DkXhsp','isPremiumPlugin','pluginName','4ojEopr','TrackChanges','178599DrtMWB','requires','6868130jRdbCM','37266tnPnkw','1849981LXxBII','333321MHENzD','9vQdLgg'];_0x2ef4=function(){return _0x40e048;};return _0x2ef4();}import _0x166e25 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x3ed8fe from'./realtimecollaborativecomments.js';export default class p extends _0x399b90{static get[_0x5cf9da(0x1bf)](){var _0x318260=_0x5cf9da;return[_0x3ed8fe,_0x166e25,_0x318260(0x1cd)];}static get[_0x5cf9da(0x1cb)](){var _0x321911=_0x5cf9da;return _0x321911(0x1c5);}static get[_0x5cf9da(0x1c8)](){return!0x0;}static get[_0x5cf9da(0x1ca)](){return!0x0;}}
23
+ function _0x2de6(){var _0x364de1=['TrackChanges','10frKpeH','isOfficialPlugin','40558RaMyvV','492mpxnjS','12567fwVllh','5269550leksJy','RealTimeCollaborativeTrackChanges','isPremiumPlugin','8874876wtMkyG','11883366dmluQH','5OsasZi','55812GeMYnq','pluginName','7bJhhTZ','11212984TkvStD','requires','2821ykCoUf','28EMfTQb'];_0x2de6=function(){return _0x364de1;};return _0x2de6();}var _0x3797c1=_0x207b;(function(_0x3ae208,_0x172f2e){var _0x2fa335=_0x207b,_0x26ef23=_0x3ae208();while(!![]){try{var _0x3aea78=-parseInt(_0x2fa335(0x98))/0x1*(parseInt(_0x2fa335(0x94))/0x2)+parseInt(_0x2fa335(0x87))/0x3*(parseInt(_0x2fa335(0x99))/0x4)+-parseInt(_0x2fa335(0x8d))/0x5*(-parseInt(_0x2fa335(0x8b))/0x6)+-parseInt(_0x2fa335(0x90))/0x7*(-parseInt(_0x2fa335(0x91))/0x8)+parseInt(_0x2fa335(0x8c))/0x9*(-parseInt(_0x2fa335(0x96))/0xa)+parseInt(_0x2fa335(0x88))/0xb+parseInt(_0x2fa335(0x8e))/0xc*(-parseInt(_0x2fa335(0x93))/0xd);if(_0x3aea78===_0x172f2e)break;else _0x26ef23['push'](_0x26ef23['shift']());}catch(_0x8d56e1){_0x26ef23['push'](_0x26ef23['shift']());}}}(_0x2de6,0xeeacd));import{Plugin as _0x236594}from'ckeditor5/src/core.js';function _0x207b(_0x23f830,_0x1e4539){var _0x2de6f6=_0x2de6();return _0x207b=function(_0x207bfd,_0x585da5){_0x207bfd=_0x207bfd-0x87;var _0x333615=_0x2de6f6[_0x207bfd];return _0x333615;},_0x207b(_0x23f830,_0x1e4539);}import _0x5b84f9 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x592847 from'./realtimecollaborativecomments.js';export default class p extends _0x236594{static get[_0x3797c1(0x92)](){var _0x901970=_0x3797c1;return[_0x592847,_0x5b84f9,_0x901970(0x95)];}static get[_0x3797c1(0x8f)](){var _0x2120c6=_0x3797c1;return _0x2120c6(0x89);}static get[_0x3797c1(0x97)](){return!0x0;}static get[_0x3797c1(0x8a)](){return!0x0;}}