@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.4 → 47.2.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a9c92=_0x36e7;(function(_0x198b47,_0x48d88f){const _0x40e0b4=_0x36e7,_0x185ad5=_0x198b47();while(!![]){try{const _0x138876=-parseInt(_0x40e0b4(0x1b9))/0x1+-parseInt(_0x40e0b4(0x18f))/0x2*(-parseInt(_0x40e0b4(0x19d))/0x3)+-parseInt(_0x40e0b4(0x187))/0x4*(parseInt(_0x40e0b4(0x1a7))/0x5)+-parseInt(_0x40e0b4(0x197))/0x6*(parseInt(_0x40e0b4(0x1cb))/0x7)+-parseInt(_0x40e0b4(0x188))/0x8+-parseInt(_0x40e0b4(0x1a0))/0x9+parseInt(_0x40e0b4(0x1aa))/0xa*(parseInt(_0x40e0b4(0x19f))/0xb);if(_0x138876===_0x48d88f)break;else _0x185ad5['push'](_0x185ad5['shift']());}catch(_0xa75e26){_0x185ad5['push'](_0x185ad5['shift']());}}}(_0x164f,0x822f9));function _0x164f(){const _0x4a56be=['constructor','CloudServices','CONNECTED','function','10wSatQD','stopListening','isOfficialPlugin','10DdgpAX','config','websocketgateway-missing-websocket-url','from','set','token','websocketgateway-missing-token','then','catch','CONNECTING','has','online','_shouldPluginsReconnect','change:me','isInReconnectionStack','767786LtqskU','pluginName','Connected\x20users\x20limit\x20exceeded','init','cloudservices-init','isPremiumPlugin','connect','_reconnectionStack','listenTo','get','initialReconnectionInterval','add','_domEmitter','delete','removeFromReconnectionStack','WebSocketGateway','cloudservices-reconnection-error','addToReconnectionStack','49fwoYZW','cloudServices.requestTimeout','offline','disconnect','reconnect','plugins','connected','1988504CdCXDD','561304ZbQXPw','code','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.','real-time-collaboration','webSocketUrl','_isBrowserOffline','cloudServices.connectionTimeout','10oyKMLQ','all','state','connection','websocketgateway-invalid-plugin-interface','destroy','websocketgateway-plugin-already-registered','bind','508626WAUqpZ','define','showWarning','error','DISCONNECTED','context','406446hfaMDE','_reconnect','29585809AZwBmu','3673710RMdTIm','requires','limitExceeded'];_0x164f=function(){return _0x4a56be;};return _0x164f();}import{ContextPlugin as _0x49b989}from'ckeditor5/src/core.js';function _0x36e7(_0x4bc684,_0x45aed9){const _0x164f0b=_0x164f();return _0x36e7=function(_0x36e750,_0x4c72fe){_0x36e750=_0x36e750-0x184;let _0x1206a9=_0x164f0b[_0x36e750];return _0x1206a9;},_0x36e7(_0x4bc684,_0x45aed9);}import{DomEmitterMixin as _0x597a0c,CKEditorError as _0x3ce1d8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x33b2b1,WEB_SOCKET_GATEWAY_STATES as _0xef2d92}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x35eeaf}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x49b989{static [_0x3a9c92(0x1c8)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x33b2b1)());static [_0x3a9c92(0x1c3)]=0x3e8;[_0x3a9c92(0x192)];[_0x3a9c92(0x1c0)];[_0x3a9c92(0x1b6)];[_0x3a9c92(0x1c5)];static get[_0x3a9c92(0x1a1)](){const _0x50df64=_0x3a9c92;return[_0x50df64(0x1a4),_0x35eeaf];}static get[_0x3a9c92(0x1ba)](){const _0x2c1294=_0x3a9c92;return _0x2c1294(0x1c8);}static get[_0x3a9c92(0x1a9)](){return!0x0;}static get[_0x3a9c92(0x1be)](){return!0x0;}constructor(_0x54d8cc){const _0x20b3d3=_0x3a9c92;super(_0x54d8cc),this[_0x20b3d3(0x1ae)](_0x20b3d3(0x191),_0xef2d92[_0x20b3d3(0x1a5)]),this[_0x20b3d3(0x1ae)](_0x20b3d3(0x18d),!0x1),this[_0x20b3d3(0x1c0)]=new Set(),this[_0x20b3d3(0x1b6)]=!0x1,this[_0x20b3d3(0x1c5)]=new(_0x597a0c())();}[_0x3a9c92(0x1bc)](){const _0x5c825e=_0x3a9c92,_0x374307=this[_0x5c825e(0x19c)],_0xcf70d2=_0x374307[_0x5c825e(0x185)][_0x5c825e(0x1c2)](_0x5c825e(0x1a4)),_0x479bbb=_0x374307[_0x5c825e(0x185)][_0x5c825e(0x1c2)](_0x35eeaf);if(!_0xcf70d2[_0x5c825e(0x1af)])throw new _0x3ce1d8(_0x5c825e(0x1b0),this);if(!_0xcf70d2[_0x5c825e(0x18c)])throw new _0x3ce1d8(_0x5c825e(0x1ac),this);return this[_0x5c825e(0x1c5)][_0x5c825e(0x1c1)](window,_0x5c825e(0x1cd),()=>this[_0x5c825e(0x18d)]=!0x0),this[_0x5c825e(0x1c5)][_0x5c825e(0x1c1)](window,_0x5c825e(0x1b5),()=>this[_0x5c825e(0x18d)]=!0x1),this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x198)](_0x5c825e(0x18e),0xa),this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x198)](_0x5c825e(0x1cc),0x14),WebSocketGateway[_0x5c825e(0x1c8)][_0x5c825e(0x1bf)](_0xcf70d2[_0x5c825e(0x1af)],_0xcf70d2[_0x5c825e(0x18c)],{'timeout':0x3e8*this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x1c2)](_0x5c825e(0x18e)),'requestTimeout':0x3e8*this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x1c2)](_0x5c825e(0x1cc))})[_0x5c825e(0x1b1)](_0xee5b3c=>{const _0x1b043f=_0x5c825e;if(this[_0x1b043f(0x192)]=_0xee5b3c,this[_0x1b043f(0x196)](_0x1b043f(0x191))['to'](_0xee5b3c,_0x1b043f(0x191),this,_0x1b043f(0x18d),(_0x428282,_0x193bd3)=>(_0x1b043f(0x186)!==_0x428282&&(this[_0x1b043f(0x1b6)]=!0x0),_0x193bd3||_0x428282!==_0xef2d92[_0x1b043f(0x1a5)]?_0xef2d92[_0x1b043f(0x19b)]:this[_0x1b043f(0x191)]==_0xef2d92[_0x1b043f(0x19b)]&&this[_0x1b043f(0x1b6)]?(this[_0x1b043f(0x1b6)]=!0x1,this[_0x1b043f(0x19e)](),_0xef2d92[_0x1b043f(0x1b3)]):_0xef2d92[_0x1b043f(0x1a5)])),this[_0x1b043f(0x192)]['on'](_0x1b043f(0x19a),(_0x9bf0c0,_0x9cb142)=>{const _0x2c4bef=_0x1b043f;if(_0x2c4bef(0x1a2)!==_0x9cb142[_0x2c4bef(0x189)])throw console[_0x2c4bef(0x19a)](_0x9cb142),new _0x3ce1d8(_0x2c4bef(0x1bd),null,{'originalError':_0x9cb142});_0x479bbb[_0x2c4bef(0x199)](_0x2c4bef(0x18a),{'title':_0x2c4bef(0x1bb),'namespace':_0x2c4bef(0x18b)});}),!_0xee5b3c['me'])return new Promise(_0x449c73=>_0xee5b3c['on'](_0x1b043f(0x1b7),_0x449c73));})[_0x5c825e(0x1b2)](_0x3b61a0=>{const _0x1311f7=_0x5c825e;throw console[_0x1311f7(0x19a)](_0x3b61a0),new _0x3ce1d8(_0x1311f7(0x1bd),null,{'originalError':_0x3b61a0});});}[_0x3a9c92(0x1ca)](_0x4fac7f){const _0x13bd36=_0x3a9c92;if(_0x13bd36(0x1a6)!=typeof _0x4fac7f[_0x13bd36(0x184)])throw new _0x3ce1d8(_0x13bd36(0x193),this);if(this[_0x13bd36(0x1b8)](_0x4fac7f))throw new _0x3ce1d8(_0x13bd36(0x195),this,{'name':_0x4fac7f[_0x13bd36(0x1a3)][_0x13bd36(0x1ba)]});this[_0x13bd36(0x1c0)][_0x13bd36(0x1c4)](_0x4fac7f);}[_0x3a9c92(0x1c7)](_0x47eac4){const _0x52991c=_0x3a9c92;this[_0x52991c(0x1c0)][_0x52991c(0x1c6)](_0x47eac4);}[_0x3a9c92(0x1b8)](_0x13a2ca){const _0xa77cbd=_0x3a9c92;return this[_0xa77cbd(0x1c0)][_0xa77cbd(0x1b4)](_0x13a2ca);}[_0x3a9c92(0x19e)](){const _0x388d78=_0x3a9c92;return this[_0x388d78(0x192)][_0x388d78(0x184)]()[_0x388d78(0x1b1)](()=>Promise[_0x388d78(0x190)](Array[_0x388d78(0x1ad)](this[_0x388d78(0x1c0)],_0x55054f=>_0x55054f[_0x388d78(0x184)]())))[_0x388d78(0x1b1)](()=>this[_0x388d78(0x191)]=_0xef2d92[_0x388d78(0x1a5)])[_0x388d78(0x1b2)](_0x3b5178=>{const _0x3c8a38=_0x388d78;throw console[_0x3c8a38(0x19a)](_0x3b5178),new _0x3ce1d8(_0x3c8a38(0x1c9),this[_0x3c8a38(0x19c)]);});}[_0x3a9c92(0x1ce)](){const _0x1926e1=_0x3a9c92;this[_0x1926e1(0x192)]&&this[_0x1926e1(0x192)][_0x1926e1(0x1ce)](),this[_0x1926e1(0x191)]=_0xef2d92[_0x1926e1(0x19b)],this[_0x1926e1(0x1c5)][_0x1926e1(0x1a8)]();}[_0x3a9c92(0x194)](){const _0x4226f6=_0x3a9c92;this[_0x4226f6(0x1ce)](),super[_0x4226f6(0x194)]();}}
23
+ function _0x5c01(){const _0x59d4ef=['disconnect','function','cloudservices-init','478213RBPxGD','get','_isBrowserOffline','destroy','_domEmitter','offline','online','3707920PCUUXP','isOfficialPlugin','then','connected','1573209vltgPl','_reconnect','5rrsKRf','plugins','showWarning','Connected\x20users\x20limit\x20exceeded','_shouldPluginsReconnect','requires','initialReconnectionInterval','delete','catch','init','reconnect','addToReconnectionStack','connect','stopListening','cloudServices.requestTimeout','constructor','webSocketUrl','websocketgateway-missing-websocket-url','WebSocketGateway','set','CONNECTING','isPremiumPlugin','6309429KiiMYp','add','limitExceeded','bind','code','state','has','cloudServices.connectionTimeout','CloudServices','websocketgateway-invalid-plugin-interface','connection','websocketgateway-missing-token','45vImKmU','137828yyhDTR','_reconnectionStack','removeFromReconnectionStack','from','context','define','cloudservices-reconnection-error','540538BnYSKm','token','DISCONNECTED','isInReconnectionStack','change:me','CONNECTED','100296imcgsw','all','listenTo','error','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.','pluginName','websocketgateway-plugin-already-registered','config','6iIHlza','real-time-collaboration'];_0x5c01=function(){return _0x59d4ef;};return _0x5c01();}const _0x56d5b2=_0x3b38;(function(_0x50b63d,_0x114713){const _0x310555=_0x3b38,_0x1b7be5=_0x50b63d();while(!![]){try{const _0x176213=parseInt(_0x310555(0x1d8))/0x1+-parseInt(_0x310555(0x20f))/0x2+-parseInt(_0x310555(0x1e3))/0x3+-parseInt(_0x310555(0x208))/0x4*(-parseInt(_0x310555(0x1e5))/0x5)+parseInt(_0x310555(0x1d3))/0x6*(-parseInt(_0x310555(0x1fb))/0x7)+parseInt(_0x310555(0x215))/0x8+-parseInt(_0x310555(0x207))/0x9*(-parseInt(_0x310555(0x1df))/0xa);if(_0x176213===_0x114713)break;else _0x1b7be5['push'](_0x1b7be5['shift']());}catch(_0x47fa65){_0x1b7be5['push'](_0x1b7be5['shift']());}}}(_0x5c01,0xa6c8c));import{ContextPlugin as _0x5800c9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4a875e,CKEditorError as _0x21a96c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x277d75,WEB_SOCKET_GATEWAY_STATES as _0x1111d3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4fd1fc}from'ckeditor5/src/ui.js';function _0x3b38(_0x323bd1,_0x41309c){const _0x5c01d8=_0x5c01();return _0x3b38=function(_0x3b38ed,_0x3bdb97){_0x3b38ed=_0x3b38ed-0x1d0;let _0x1033cb=_0x5c01d8[_0x3b38ed];return _0x1033cb;},_0x3b38(_0x323bd1,_0x41309c);}export class WebSocketGateway extends _0x5800c9{static [_0x56d5b2(0x1f7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x277d75)());static [_0x56d5b2(0x1eb)]=0x3e8;[_0x56d5b2(0x205)];[_0x56d5b2(0x209)];[_0x56d5b2(0x1e9)];[_0x56d5b2(0x1dc)];static get[_0x56d5b2(0x1ea)](){const _0x3ea7dc=_0x56d5b2;return[_0x3ea7dc(0x203),_0x4fd1fc];}static get[_0x56d5b2(0x1d0)](){const _0x541826=_0x56d5b2;return _0x541826(0x1f7);}static get[_0x56d5b2(0x1e0)](){return!0x0;}static get[_0x56d5b2(0x1fa)](){return!0x0;}constructor(_0x3e0196){const _0xace2a6=_0x56d5b2;super(_0x3e0196),this[_0xace2a6(0x1f8)](_0xace2a6(0x200),_0x1111d3[_0xace2a6(0x214)]),this[_0xace2a6(0x1f8)](_0xace2a6(0x1da),!0x1),this[_0xace2a6(0x209)]=new Set(),this[_0xace2a6(0x1e9)]=!0x1,this[_0xace2a6(0x1dc)]=new(_0x4a875e())();}[_0x56d5b2(0x1ee)](){const _0xd4c791=_0x56d5b2,_0x66012b=this[_0xd4c791(0x20c)],_0x2a4316=_0x66012b[_0xd4c791(0x1e6)][_0xd4c791(0x1d9)](_0xd4c791(0x203)),_0x4e591a=_0x66012b[_0xd4c791(0x1e6)][_0xd4c791(0x1d9)](_0x4fd1fc);if(!_0x2a4316[_0xd4c791(0x210)])throw new _0x21a96c(_0xd4c791(0x206),this);if(!_0x2a4316[_0xd4c791(0x1f5)])throw new _0x21a96c(_0xd4c791(0x1f6),this);return this[_0xd4c791(0x1dc)][_0xd4c791(0x217)](window,_0xd4c791(0x1dd),()=>this[_0xd4c791(0x1da)]=!0x0),this[_0xd4c791(0x1dc)][_0xd4c791(0x217)](window,_0xd4c791(0x1de),()=>this[_0xd4c791(0x1da)]=!0x1),this[_0xd4c791(0x20c)][_0xd4c791(0x1d2)][_0xd4c791(0x20d)](_0xd4c791(0x202),0xa),this[_0xd4c791(0x20c)][_0xd4c791(0x1d2)][_0xd4c791(0x20d)](_0xd4c791(0x1f3),0x14),WebSocketGateway[_0xd4c791(0x1f7)][_0xd4c791(0x1f1)](_0x2a4316[_0xd4c791(0x210)],_0x2a4316[_0xd4c791(0x1f5)],{'timeout':0x3e8*this[_0xd4c791(0x20c)][_0xd4c791(0x1d2)][_0xd4c791(0x1d9)](_0xd4c791(0x202)),'requestTimeout':0x3e8*this[_0xd4c791(0x20c)][_0xd4c791(0x1d2)][_0xd4c791(0x1d9)](_0xd4c791(0x1f3))})[_0xd4c791(0x1e1)](_0x42918d=>{const _0x5d1843=_0xd4c791;if(this[_0x5d1843(0x205)]=_0x42918d,this[_0x5d1843(0x1fe)](_0x5d1843(0x200))['to'](_0x42918d,_0x5d1843(0x200),this,_0x5d1843(0x1da),(_0x4aee3a,_0x533399)=>(_0x5d1843(0x1e2)!==_0x4aee3a&&(this[_0x5d1843(0x1e9)]=!0x0),_0x533399||_0x4aee3a!==_0x1111d3[_0x5d1843(0x214)]?_0x1111d3[_0x5d1843(0x211)]:this[_0x5d1843(0x200)]==_0x1111d3[_0x5d1843(0x211)]&&this[_0x5d1843(0x1e9)]?(this[_0x5d1843(0x1e9)]=!0x1,this[_0x5d1843(0x1e4)](),_0x1111d3[_0x5d1843(0x1f9)]):_0x1111d3[_0x5d1843(0x214)])),this[_0x5d1843(0x205)]['on'](_0x5d1843(0x218),(_0x4d60e0,_0x1e4ae7)=>{const _0x53d5dc=_0x5d1843;if(_0x53d5dc(0x1fd)!==_0x1e4ae7[_0x53d5dc(0x1ff)])throw console[_0x53d5dc(0x218)](_0x1e4ae7),new _0x21a96c(_0x53d5dc(0x1d7),null,{'originalError':_0x1e4ae7});_0x4e591a[_0x53d5dc(0x1e7)](_0x53d5dc(0x219),{'title':_0x53d5dc(0x1e8),'namespace':_0x53d5dc(0x1d4)});}),!_0x42918d['me'])return new Promise(_0xaa163d=>_0x42918d['on'](_0x5d1843(0x213),_0xaa163d));})[_0xd4c791(0x1ed)](_0xe00a57=>{const _0x65ccdf=_0xd4c791;throw console[_0x65ccdf(0x218)](_0xe00a57),new _0x21a96c(_0x65ccdf(0x1d7),null,{'originalError':_0xe00a57});});}[_0x56d5b2(0x1f0)](_0x52e2e9){const _0x8d11e4=_0x56d5b2;if(_0x8d11e4(0x1d6)!=typeof _0x52e2e9[_0x8d11e4(0x1ef)])throw new _0x21a96c(_0x8d11e4(0x204),this);if(this[_0x8d11e4(0x212)](_0x52e2e9))throw new _0x21a96c(_0x8d11e4(0x1d1),this,{'name':_0x52e2e9[_0x8d11e4(0x1f4)][_0x8d11e4(0x1d0)]});this[_0x8d11e4(0x209)][_0x8d11e4(0x1fc)](_0x52e2e9);}[_0x56d5b2(0x20a)](_0x229c46){const _0xb3dc7d=_0x56d5b2;this[_0xb3dc7d(0x209)][_0xb3dc7d(0x1ec)](_0x229c46);}[_0x56d5b2(0x212)](_0x3e1fcf){const _0x561606=_0x56d5b2;return this[_0x561606(0x209)][_0x561606(0x201)](_0x3e1fcf);}[_0x56d5b2(0x1e4)](){const _0x4e8d62=_0x56d5b2;return this[_0x4e8d62(0x205)][_0x4e8d62(0x1ef)]()[_0x4e8d62(0x1e1)](()=>Promise[_0x4e8d62(0x216)](Array[_0x4e8d62(0x20b)](this[_0x4e8d62(0x209)],_0x5aab44=>_0x5aab44[_0x4e8d62(0x1ef)]())))[_0x4e8d62(0x1e1)](()=>this[_0x4e8d62(0x200)]=_0x1111d3[_0x4e8d62(0x214)])[_0x4e8d62(0x1ed)](_0x5c882f=>{const _0x19b975=_0x4e8d62;throw console[_0x19b975(0x218)](_0x5c882f),new _0x21a96c(_0x19b975(0x20e),this[_0x19b975(0x20c)]);});}[_0x56d5b2(0x1d5)](){const _0x1f3e8e=_0x56d5b2;this[_0x1f3e8e(0x205)]&&this[_0x1f3e8e(0x205)][_0x1f3e8e(0x1d5)](),this[_0x1f3e8e(0x200)]=_0x1111d3[_0x1f3e8e(0x211)],this[_0x1f3e8e(0x1dc)][_0x1f3e8e(0x1f2)]();}[_0x56d5b2(0x1db)](){const _0x5b4aae=_0x56d5b2;this[_0x5b4aae(0x1d5)](),super[_0x5b4aae(0x1db)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2364(){var _0x3739a4=['isPremiumPlugin','110YiSbOy','661315TzTsSK','isOfficialPlugin','54933VJJLNj','20juWUnI','pluginName','3161010faDTlH','7783070QJgswT','9lwZexs','4wYqaKQ','14NxZLxB','59656DQjRzl','212888BhwCcy','RealTimeCollaborativeEditing','45204gUZDqE','requires'];_0x2364=function(){return _0x3739a4;};return _0x2364();}var _0x1f683b=_0x533b;(function(_0x434f9a,_0x24411a){var _0x591d86=_0x533b,_0x4dbeb5=_0x434f9a();while(!![]){try{var _0x5a5689=-parseInt(_0x591d86(0xd2))/0x1+-parseInt(_0x591d86(0xcf))/0x2*(-parseInt(_0x591d86(0xc9))/0x3)+-parseInt(_0x591d86(0xca))/0x4*(parseInt(_0x591d86(0xc7))/0x5)+parseInt(_0x591d86(0xcc))/0x6+-parseInt(_0x591d86(0xd0))/0x7*(parseInt(_0x591d86(0xd1))/0x8)+-parseInt(_0x591d86(0xce))/0x9*(-parseInt(_0x591d86(0xcd))/0xa)+parseInt(_0x591d86(0xc6))/0xb*(-parseInt(_0x591d86(0xc3))/0xc);if(_0x5a5689===_0x24411a)break;else _0x4dbeb5['push'](_0x4dbeb5['shift']());}catch(_0x4f0503){_0x4dbeb5['push'](_0x4dbeb5['shift']());}}}(_0x2364,0x65501));import{Plugin as _0x28930d}from'ckeditor5/src/core.js';function _0x533b(_0x40c2ec,_0x5273de){var _0x2364dd=_0x2364();return _0x533b=function(_0x533b3d,_0x101a34){_0x533b3d=_0x533b3d-0xc3;var _0x380e15=_0x2364dd[_0x533b3d];return _0x380e15;},_0x533b(_0x40c2ec,_0x5273de);}import{RealTimeCollaborationClient as _0x50b92b}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x28930d{static get[_0x1f683b(0xc4)](){return[_0x50b92b];}static get[_0x1f683b(0xcb)](){var _0xe70475=_0x1f683b;return _0xe70475(0xd3);}static get[_0x1f683b(0xc8)](){return!0x0;}static get[_0x1f683b(0xc5)](){return!0x0;}}
23
+ function _0x12b0(_0x7a09ff,_0x582917){var _0x189deb=_0x189d();return _0x12b0=function(_0x12b068,_0x258ded){_0x12b068=_0x12b068-0x7e;var _0x193a17=_0x189deb[_0x12b068];return _0x193a17;},_0x12b0(_0x7a09ff,_0x582917);}var _0x3cec6b=_0x12b0;(function(_0x1c5a65,_0xcb8fe1){var _0x263d26=_0x12b0,_0x35f5e4=_0x1c5a65();while(!![]){try{var _0x4bc888=parseInt(_0x263d26(0x81))/0x1*(-parseInt(_0x263d26(0x8d))/0x2)+parseInt(_0x263d26(0x8a))/0x3*(-parseInt(_0x263d26(0x8e))/0x4)+parseInt(_0x263d26(0x85))/0x5+-parseInt(_0x263d26(0x82))/0x6*(-parseInt(_0x263d26(0x8c))/0x7)+parseInt(_0x263d26(0x88))/0x8*(parseInt(_0x263d26(0x84))/0x9)+-parseInt(_0x263d26(0x7e))/0xa*(parseInt(_0x263d26(0x89))/0xb)+parseInt(_0x263d26(0x8b))/0xc;if(_0x4bc888===_0xcb8fe1)break;else _0x35f5e4['push'](_0x35f5e4['shift']());}catch(_0x3fcd09){_0x35f5e4['push'](_0x35f5e4['shift']());}}}(_0x189d,0xeb5d0));import{Plugin as _0x1e72bc}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4b6194}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x1e72bc{static get[_0x3cec6b(0x7f)](){return[_0x4b6194];}static get[_0x3cec6b(0x83)](){var _0x38495e=_0x3cec6b;return _0x38495e(0x86);}static get[_0x3cec6b(0x80)](){return!0x0;}static get[_0x3cec6b(0x87)](){return!0x0;}}function _0x189d(){var _0x20d7b1=['6xSoKSb','44587260dvhBtk','1526eaVxGw','2fJjnFk','3570240tdosDe','16880yxJciu','requires','isOfficialPlugin','1859075CbBosm','24192yKGCUW','pluginName','82233KLhLio','1530825plvXJs','RealTimeCollaborativeEditing','isPremiumPlugin','72jKTKHM','2442DDXXVk'];_0x189d=function(){return _0x20d7b1;};return _0x189d();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5576b1=_0x4d6e;function _0x4d6e(_0x2eaa4b,_0xb4c24e){const _0x29a19f=_0x29a1();return _0x4d6e=function(_0x4d6e7d,_0x1b8448){_0x4d6e7d=_0x4d6e7d-0x1ae;let _0x8207f3=_0x29a19f[_0x4d6e7d];return _0x8207f3;},_0x4d6e(_0x2eaa4b,_0xb4c24e);}(function(_0x5f1676,_0x14c429){const _0x14f192=_0x4d6e,_0xdfa57=_0x5f1676();while(!![]){try{const _0x55f5d7=-parseInt(_0x14f192(0x1ef))/0x1+-parseInt(_0x14f192(0x1d1))/0x2+-parseInt(_0x14f192(0x1da))/0x3*(parseInt(_0x14f192(0x1b3))/0x4)+parseInt(_0x14f192(0x20b))/0x5+-parseInt(_0x14f192(0x1d7))/0x6+-parseInt(_0x14f192(0x1ce))/0x7+-parseInt(_0x14f192(0x20c))/0x8*(-parseInt(_0x14f192(0x1b4))/0x9);if(_0x55f5d7===_0x14c429)break;else _0xdfa57['push'](_0xdfa57['shift']());}catch(_0x20ece7){_0xdfa57['push'](_0xdfa57['shift']());}}}(_0x29a1,0x645c8));import{Plugin as _0x2cb803}from'ckeditor5/src/core.js';import{version as _0x4b670a}from'ckeditor5/src/utils.js';import{Users as _0x5a7594}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x29a1(){const _0x433621=['cloud-services-internal-error:\x20Request\x20timeout.','getMany','addToReconnectionStack','getUser','connection','creatorId','state','33368ccJCBA','207nGalWp','_getLatestVersion','_offset','CONNECTED','remove','getRevision','catch','startsWith','_revisions','RevisionTracker','cloud-services-internal-error:\x20Not\x20connected.','_revisionTracker','destroy','marker','isEmptyCurrent','map','_createCurrentRevision','sendBufferedUpdates','400','serverHistory','_lastRequestId','reconnect','_bufferedUpdates','RevisionHistoryService','repository','off','3785355KDFcGc','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isPendingUpdate','609832wFtrhz','getRevisions','from','_bufferUpdate','reInit','addUser','3933828KaPguQ','init','isOfficialPlugin','51grroWt','_getLatestVersionFromServerOperations','RevisionHistory','authors','sessionId','get','toVersion','requires','affectsData','keys','setSource','updateRevisions','pluginName','adapter','authorsIds','wrongRequestId','connect','add','addRevisionData','type','CloudServicesRevisionHistoryAdapter','296277sSEpdO','fromVersion','_revisionHistoryService','_oldOffset','size','_fetchMissingUsers','has','setRevisionData','connected','isBundleUploaded','_isConnected','isPremiumPlugin','isConnected','baseVersion','bind','data','_handleReconnectionError','once','diffData','_fixRevision','_update','reverse','max','message','listenTo','cloudServices.bundleVersion','isEnabled','plugins','4100235IogwBk','532328MPcIOA','getOperations','length','_preventResendingRevisionData','change:_isPendingUpdate','_handleRevisionsUpdate','revisionsUpdated','config','_revisionDataBuilder','collaboration.channelId','then','createdAt','editor','_startingVersion','_waitForServiceReady','change:_isConnected','buildRevisionData','code','currentRevision'];_0x29a1=function(){return _0x433621;};return _0x29a1();}import{RealTimeCollaborationClient as _0x8aa0ad}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0xdf84aa}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1be50d}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x379d5e,RevisionHistoryService as _0xd12274,User as _0x2b2181,WEB_SOCKET_GATEWAY_STATES as _0x5af69a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x2cb803{static [_0x5576b1(0x1cb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xd12274)());[_0x5576b1(0x1c8)];[_0x5576b1(0x1bf)];[_0x5576b1(0x1f1)];[_0x5576b1(0x1f2)];static get[_0x5576b1(0x1e1)](){const _0x1444f5=_0x5576b1;return[_0xdf84aa,_0x8aa0ad,_0x1444f5(0x1dc),_0x1be50d,_0x5a7594];}static get[_0x5576b1(0x1e6)](){const _0x184c61=_0x5576b1;return _0x184c61(0x1ee);}static get[_0x5576b1(0x1d9)](){return!0x0;}static get[_0x5576b1(0x1fa)](){return!0x0;}constructor(_0x3fbe18){const _0x3d7b7e=_0x5576b1;super(_0x3fbe18);const _0x294e6c=this[_0x3d7b7e(0x218)][_0x3d7b7e(0x213)][_0x3d7b7e(0x1df)](_0x3d7b7e(0x215));this[_0x3d7b7e(0x1c8)]=null,this[_0x3d7b7e(0x1bf)]=this[_0x3d7b7e(0x218)][_0x3d7b7e(0x20a)][_0x3d7b7e(0x1df)](_0x3d7b7e(0x1bd)),this[_0x3d7b7e(0x1f1)]=new CloudServicesRevisionHistoryAdapter[(_0x3d7b7e(0x1cb))](_0x294e6c);}async[_0x5576b1(0x1d8)](){const _0x48d7e7=_0x5576b1,_0x3193ea=this[_0x48d7e7(0x218)][_0x48d7e7(0x20a)][_0x48d7e7(0x1df)](_0x8aa0ad),_0x304bac=_0x3193ea[_0x48d7e7(0x1c7)],_0x1377ec=this[_0x48d7e7(0x218)][_0x48d7e7(0x20a)][_0x48d7e7(0x1df)](_0xdf84aa);this[_0x48d7e7(0x1bf)][_0x48d7e7(0x1e4)]({'history':_0x304bac,'getLatestVersion':()=>this[_0x48d7e7(0x1b5)](),'getCurrentRevisionId':()=>_0x3193ea[_0x48d7e7(0x1de)]});const _0x3724e0=this[_0x48d7e7(0x218)][_0x48d7e7(0x213)][_0x48d7e7(0x1df)](_0x48d7e7(0x208))||_0x4b670a,_0x4d7fe6=await _0x379d5e[_0x48d7e7(0x1f8)](_0x1377ec[_0x48d7e7(0x1b0)],_0x3724e0);this[_0x48d7e7(0x218)][_0x48d7e7(0x20a)][_0x48d7e7(0x1df)](_0x48d7e7(0x1dc))[_0x48d7e7(0x1e7)]={'getRevision':async({revisionId:_0x44261c})=>(await this[_0x48d7e7(0x21a)](),await this[_0x48d7e7(0x1f1)][_0x48d7e7(0x1b9)](_0x44261c)),'updateRevisions':async _0x3a2ceb=>{const _0x2a25d9=_0x48d7e7;await this[_0x2a25d9(0x21a)]();const _0x4c6cad=this[_0x2a25d9(0x1bf)][_0x2a25d9(0x21e)];if(_0x4d7fe6&&0x1===_0x3a2ceb[_0x2a25d9(0x20e)]&&_0x3a2ceb[0x0]['id']===_0x4c6cad['id'])return _0x3a2ceb;for(const _0x1cca6d of _0x3a2ceb)_0x1cca6d['id']===_0x4c6cad['id']&&(_0x1cca6d[_0x2a25d9(0x1c2)]=_0x1cca6d[_0x2a25d9(0x1f0)]===_0x1cca6d[_0x2a25d9(0x1e0)]);return this[_0x2a25d9(0x1f1)][_0x2a25d9(0x1e5)](_0x3a2ceb,this[_0x2a25d9(0x1c8)])[_0x2a25d9(0x216)](_0x1317de=>(this[_0x2a25d9(0x1c8)]=_0x1317de,_0x3a2ceb))[_0x2a25d9(0x1ba)](_0x23146c=>{const _0xfacb3c=_0x2a25d9;if(st(_0x23146c)||_0xfacb3c(0x1c6)===_0x23146c[_0xfacb3c(0x21d)]&&void 0x0!==_0x23146c[_0xfacb3c(0x1fe)][_0xfacb3c(0x1e9)]){for(const _0x59d258 of _0x3a2ceb){!this[_0xfacb3c(0x1bf)][_0xfacb3c(0x1cc)][_0xfacb3c(0x1b9)](_0x59d258['id'])||this[_0xfacb3c(0x1bf)][_0xfacb3c(0x1d4)](_0x59d258['id'],_0x59d258,!0x1);}if(st(_0x23146c))throw _0x23146c;return _0x3a2ceb;}throw _0x23146c;});}},this[_0x48d7e7(0x207)](this[_0x48d7e7(0x1f1)],_0x48d7e7(0x212),(_0x141b1f,{revisionsData:_0x146ce7,requestId:_0x21c698})=>{const _0x5923e6=_0x48d7e7;Math[_0x5923e6(0x205)](..._0x146ce7[_0x5923e6(0x1c3)](_0x32686d=>_0x32686d[_0x5923e6(0x1e0)]))>this[_0x5923e6(0x1db)]()-0x1?this[_0x5923e6(0x1b5)]()[_0x5923e6(0x216)](()=>{const _0x278d83=_0x5923e6;this[_0x278d83(0x211)](_0x146ce7,_0x21c698);}):this[_0x5923e6(0x211)](_0x146ce7,_0x21c698);});const {revisions:_0x2a1be1,requestId:_0xb710d4}=await this[_0x48d7e7(0x1f1)][_0x48d7e7(0x1ea)](_0x1377ec[_0x48d7e7(0x1b0)]);_0x1377ec[_0x48d7e7(0x1ae)](this),this[_0x48d7e7(0x1c8)]=_0xb710d4,await this[_0x48d7e7(0x1f4)](_0x2a1be1);for(const _0x213d10 of _0x2a1be1)this[_0x48d7e7(0x1bf)][_0x48d7e7(0x1ec)](_0x213d10);this[_0x48d7e7(0x207)](_0x3193ea,_0x48d7e7(0x21b),(_0x246f21,_0x4540f7,_0x2872b0)=>{const _0x377de4=_0x48d7e7;_0x2872b0&&(this[_0x377de4(0x1f2)]=_0x3193ea[_0x377de4(0x1b6)],_0x246f21[_0x377de4(0x1cd)]());}),this[_0x48d7e7(0x1bf)][_0x48d7e7(0x1fd)](_0x48d7e7(0x209))['to'](_0x1377ec,_0x48d7e7(0x1b2),_0x10dfa8=>_0x10dfa8===_0x5af69a[_0x48d7e7(0x1b7)]);}async[_0x5576b1(0x1c9)](){const _0x5e805b=_0x5576b1,_0xf2b7a5=this[_0x5e805b(0x218)][_0x5e805b(0x20a)][_0x5e805b(0x1df)](_0xdf84aa),_0x465b9a=this[_0x5e805b(0x218)][_0x5e805b(0x20a)][_0x5e805b(0x1df)](_0x8aa0ad),_0x2bc8fc=async()=>{const _0x44e5ff=_0x5e805b,_0x5ae791=this[_0x44e5ff(0x1bf)][_0x44e5ff(0x21e)],_0x3cc8ed=_0x5ae791['id'],_0x489bbe=_0x3cc8ed!==_0x465b9a[_0x44e5ff(0x1de)];if(_0x489bbe){const _0x91c227=_0x465b9a[_0x44e5ff(0x1b6)]-this[_0x44e5ff(0x1f2)],_0xd51f71=this[_0x44e5ff(0x1db)]();this[_0x44e5ff(0x1bf)][_0x44e5ff(0x214)][_0x44e5ff(0x1d5)]();if(_0x5ae791[_0x44e5ff(0x1e0)]+_0x91c227!==_0xd51f71){const _0x356e65=_0x5ae791[_0x44e5ff(0x1f0)]+_0x91c227,_0x2c800a=this[_0x44e5ff(0x218)][_0x44e5ff(0x20a)][_0x44e5ff(0x1df)](_0x5a7594),_0x345e31=this[_0x44e5ff(0x1bf)][_0x44e5ff(0x21c)]({'revision':_0x5ae791,'from':_0x356e65,'to':_0xd51f71});_0x345e31['id']=_0x5ae791['id'];const _0x2d2e81=_0x345e31[_0x44e5ff(0x1e8)][_0x44e5ff(0x1c3)](_0x580b09=>_0x2c800a[_0x44e5ff(0x1af)](_0x580b09));_0x5ae791[_0x44e5ff(0x203)]({..._0x345e31,'authors':_0x2d2e81},!0x0),this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1d4)](_0x5ae791['id'],_0x345e31,!0x0);}this[_0x44e5ff(0x1bf)][_0x44e5ff(0x219)]=_0xd51f71,(_0x5ae791[_0x44e5ff(0x1e0)]===_0x5ae791[_0x44e5ff(0x1f0)]&&!this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1ca)][_0x44e5ff(0x1f5)](_0x3cc8ed)&&this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1cc)][_0x44e5ff(0x1bc)][_0x44e5ff(0x1b8)](_0x3cc8ed),this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1c4)](_0xd51f71));}const {revisions:_0x5ab6d3,requestId:_0x8520db}=await this[_0x44e5ff(0x1f1)][_0x44e5ff(0x1c9)](_0xf2b7a5[_0x44e5ff(0x1b0)],this[_0x44e5ff(0x1c8)]);_0x489bbe&&_0x5ab6d3[_0x44e5ff(0x20e)]>0x0?_0x465b9a[_0x44e5ff(0x1ff)]():(await this[_0x44e5ff(0x1f4)](_0x5ab6d3),this[_0x44e5ff(0x211)](_0x5ab6d3,_0x8520db),this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1c5)]());};return _0x465b9a[_0x5e805b(0x1f9)]?_0x2bc8fc():new Promise((_0x5c76de,_0x2f571e)=>{const _0x12cc3e=_0x5e805b;_0x465b9a[_0x12cc3e(0x200)](_0x12cc3e(0x21b),()=>{const _0x6583e4=_0x12cc3e;_0x2bc8fc()[_0x6583e4(0x216)](_0x5c76de)[_0x6583e4(0x1ba)](_0x2f571e);});});}[_0x5576b1(0x1c0)](){const _0x5ad1d2=_0x5576b1;super[_0x5ad1d2(0x1c0)]();}async[_0x5576b1(0x21a)](){const _0x475497=_0x5576b1;this[_0x475497(0x1f1)][_0x475497(0x1fb)]||await new Promise(_0x4cf687=>{const _0x20dbfb=_0x475497;this[_0x20dbfb(0x207)](this[_0x20dbfb(0x1f1)],_0x20dbfb(0x1f7),_0x18baf7=>{const _0x469731=_0x20dbfb;_0x18baf7[_0x469731(0x1cd)](),_0x4cf687();});});}[_0x5576b1(0x1db)](){const _0x3ff0d3=_0x5576b1,_0x7852cd=this[_0x3ff0d3(0x218)][_0x3ff0d3(0x20a)][_0x3ff0d3(0x1df)](_0x8aa0ad)[_0x3ff0d3(0x1c7)][_0x3ff0d3(0x20d)]()[_0x3ff0d3(0x204)]();for(const _0x3d05a5 of _0x7852cd)if(_0x3ff0d3(0x1c1)!==_0x3d05a5[_0x3ff0d3(0x1ed)]||_0x3d05a5[_0x3ff0d3(0x1e2)])return _0x3d05a5[_0x3ff0d3(0x1fc)]+0x1;}[_0x5576b1(0x1b5)](){const _0x1a8d5f=_0x5576b1,_0x57fb6b=this[_0x1a8d5f(0x218)][_0x1a8d5f(0x20a)][_0x1a8d5f(0x1df)](_0x8aa0ad);return new Promise(_0x5b69e1=>{const _0x4e60dc=_0x1a8d5f;_0x57fb6b[_0x4e60dc(0x1d0)]?_0x57fb6b[_0x4e60dc(0x200)](_0x4e60dc(0x210),()=>{const _0x5d11f7=_0x4e60dc;_0x5b69e1(this[_0x5d11f7(0x1db)]());}):_0x5b69e1(this[_0x4e60dc(0x1db)]());});}[_0x5576b1(0x211)](_0x3634cd,_0x259f37){const _0xa1f054=_0x5576b1,_0x382f87=this[_0xa1f054(0x1bf)][_0xa1f054(0x1cc)];this[_0xa1f054(0x1c8)]=_0x259f37;for(const _0x22a907 of _0x3634cd){const _0x3d42e2=_0x382f87[_0xa1f054(0x1b9)](_0x22a907['id']);if(_0x3d42e2){if((_0x22a907[_0xa1f054(0x1f0)]||_0x22a907[_0xa1f054(0x1e0)])&&(_0x22a907[_0xa1f054(0x201)]=null),_0x3d42e2===this[_0xa1f054(0x1bf)][_0xa1f054(0x21e)]){const _0x36a7b3=Math[_0xa1f054(0x205)](_0x3d42e2[_0xa1f054(0x1e0)],_0x22a907[_0xa1f054(0x1e0)]),_0x8bd3a3=Math[_0xa1f054(0x205)](_0x3d42e2[_0xa1f054(0x1f0)],_0x22a907[_0xa1f054(0x1f0)]);let _0x579a64;_0x3d42e2[_0xa1f054(0x1e0)]===_0x22a907[_0xa1f054(0x1e0)]&&_0x3d42e2[_0xa1f054(0x1f0)]===_0x22a907[_0xa1f054(0x1f0)]?(_0x579a64=!0x0,this[_0xa1f054(0x20f)](_0x22a907)):_0x22a907[_0xa1f054(0x1e0)]===_0x36a7b3&&_0x22a907[_0xa1f054(0x1f0)]===_0x8bd3a3?_0x579a64=!0x1:(_0x3d42e2[_0xa1f054(0x1e0)]===_0x36a7b3&&_0x3d42e2[_0xa1f054(0x1f0)]===_0x8bd3a3||this[_0xa1f054(0x202)]({'revision':_0x3d42e2,'from':_0x8bd3a3,'to':_0x36a7b3}),_0x579a64=!0x0),_0x579a64&&(delete _0x22a907[_0xa1f054(0x1f0)],delete _0x22a907[_0xa1f054(0x1e0)],delete _0x22a907[_0xa1f054(0x201)],delete _0x22a907[_0xa1f054(0x217)],delete _0x22a907[_0xa1f054(0x1e8)]);}this[_0xa1f054(0x1bf)][_0xa1f054(0x1f6)](_0x22a907),this[_0xa1f054(0x20f)](_0x22a907);}else this[_0xa1f054(0x1bf)][_0xa1f054(0x1ec)](_0x22a907);}const _0xef1b89=_0x382f87[_0xa1f054(0x1d2)]();_0xef1b89[_0xa1f054(0x204)]();for(let _0xbf2185=0x0;_0xbf2185<_0xef1b89[_0xa1f054(0x20e)]-0x1;_0xbf2185++){const _0x498136=_0xef1b89[_0xbf2185],_0x11037b=_0xef1b89[_0xbf2185+0x1];if(_0x498136[_0xa1f054(0x1f0)]<_0x11037b[_0xa1f054(0x1e0)]){const _0x18f819=_0x11037b[_0xa1f054(0x1e0)],_0x121897=Math[_0xa1f054(0x205)](_0x18f819,_0x498136[_0xa1f054(0x1e0)]);this[_0xa1f054(0x202)]({'revision':_0x498136,'from':_0x18f819,'to':_0x121897});}}}[_0x5576b1(0x202)]({revision:_0x4270ed,from:_0x2f5587,to:_0x108593}={}){const _0x417364=_0x5576b1,_0x290e26=this[_0x417364(0x218)][_0x417364(0x20a)][_0x417364(0x1df)](_0x5a7594),_0x3edde1=this[_0x417364(0x1bf)][_0x417364(0x21c)]({'revision':_0x4270ed,'from':_0x2f5587,'to':_0x108593});_0x3edde1[_0x417364(0x1dd)]=_0x3edde1[_0x417364(0x1e8)][_0x417364(0x1c3)](_0x3bc2b6=>_0x290e26[_0x417364(0x1af)](_0x3bc2b6)),_0x4270ed[_0x417364(0x203)](_0x3edde1);}[_0x5576b1(0x20f)](_0x2eefc2){const _0x266dc9=_0x5576b1,_0x402bbc={};_0x402bbc['id']=_0x2eefc2['id'];for(const _0x4358a3 of Object[_0x266dc9(0x1e3)](_0x2eefc2))'id'!==_0x4358a3&&(_0x402bbc[_0x4358a3]=void 0x0);this[_0x266dc9(0x1bf)][_0x266dc9(0x1d4)](_0x402bbc['id'],_0x402bbc,!0x0);}async[_0x5576b1(0x1f4)](_0x10e5df){const _0x23b775=_0x5576b1,_0x39aa12=this[_0x23b775(0x218)][_0x23b775(0x20a)][_0x23b775(0x1df)](_0x5a7594),{connection:_0x15149b}=this[_0x23b775(0x218)][_0x23b775(0x20a)][_0x23b775(0x1df)](_0xdf84aa),_0x1911de=new Set();for(const _0x52e426 of _0x10e5df){for(const _0x5f2f6 of _0x52e426[_0x23b775(0x1e8)])_0xbdae95(_0x5f2f6);_0x52e426[_0x23b775(0x1b1)]&&_0xbdae95(_0x52e426[_0x23b775(0x1b1)]);}if(0x0===_0x1911de[_0x23b775(0x1f3)])return;const _0x6f499c=await _0x2b2181[_0x23b775(0x220)](_0x15149b,Array[_0x23b775(0x1d3)](_0x1911de));for(const _0x330e9a of _0x6f499c)_0x39aa12[_0x23b775(0x1af)](_0x330e9a['id'])||_0x39aa12[_0x23b775(0x1d6)](_0x330e9a);function _0xbdae95(_0x26bfcd){const _0x449d62=_0x23b775;_0x39aa12[_0x449d62(0x1af)](_0x26bfcd)||_0x1911de[_0x449d62(0x1eb)](_0x26bfcd);}}}function st(_0x4a6309){const _0x43962b=_0x5576b1;return _0x4a6309[_0x43962b(0x206)][_0x43962b(0x1bb)](_0x43962b(0x1cf))||_0x4a6309[_0x43962b(0x206)][_0x43962b(0x1bb)](_0x43962b(0x1be))||_0x4a6309[_0x43962b(0x206)][_0x43962b(0x1bb)](_0x43962b(0x21f));}
23
+ const _0x357d42=_0xaca0;(function(_0x5d93be,_0x3b25b6){const _0x4aa38e=_0xaca0,_0x5d2670=_0x5d93be();while(!![]){try{const _0x1f7199=parseInt(_0x4aa38e(0x112))/0x1+-parseInt(_0x4aa38e(0xf1))/0x2+parseInt(_0x4aa38e(0xd0))/0x3*(parseInt(_0x4aa38e(0xae))/0x4)+-parseInt(_0x4aa38e(0x10d))/0x5+parseInt(_0x4aa38e(0xf4))/0x6*(parseInt(_0x4aa38e(0x103))/0x7)+parseInt(_0x4aa38e(0xe8))/0x8+-parseInt(_0x4aa38e(0x111))/0x9;if(_0x1f7199===_0x3b25b6)break;else _0x5d2670['push'](_0x5d2670['shift']());}catch(_0x3b06d0){_0x5d2670['push'](_0x5d2670['shift']());}}}(_0x8f76,0xbf0f9));import{Plugin as _0x17b94b}from'ckeditor5/src/core.js';import{version as _0x55ff7e}from'ckeditor5/src/utils.js';import{Users as _0x37cab2}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x16ea2d}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x9ef977}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x570c12}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1abcaa,RevisionHistoryService as _0x4dcf60,User as _0x30dc41,WEB_SOCKET_GATEWAY_STATES as _0x197597}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x8f76(){const _0x3d3799=['getOperations','_lastRequestId','authorsIds','fromVersion','reconnect','once','reInit','2361452yhVCRT','plugins','map','850188NqIBSk','updateRevisions','connect','requires','destroy','diffData','isBundleUploaded','_fixRevision','baseVersion','cloud-services-internal-error:\x20Not\x20connected.','_createCurrentRevision','_waitForServiceReady','isPremiumPlugin','cloudServices.bundleVersion','catch','21tinFWM','off','getRevisions','RevisionHistory','_handleRevisionsUpdate','getUser','creatorId','CONNECTED','buildRevisionData','_isPendingUpdate','7216020GRuqsr','addToReconnectionStack','affectsData','sessionId','1248336PDbGGB','345082lNnDcX','_revisions','getRevision','_startingVersion','_bufferedUpdates','_offset','_handleReconnectionError','isEmptyCurrent','_getLatestVersion','bind','listenTo','startsWith','_revisionTracker','isConnected','connected','5076248iCTlcj','_update','wrongRequestId','code','adapter','_fetchMissingUsers','RevisionTracker','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','pluginName','message','setSource','reverse','setRevisionData','_getLatestVersionFromServerOperations','_revisionHistoryService','max','isEnabled','data','_isConnected','keys','size','from','CloudServicesRevisionHistoryAdapter','connection','400','then','toVersion','sendBufferedUpdates','authors','add','length','addUser','_bufferUpdate','get','3nEkAyS','remove','_revisionDataBuilder','serverHistory','_oldOffset','change:_isConnected','createdAt','type','marker','change:_isPendingUpdate','config','cloud-services-internal-error:\x20Request\x20timeout.','init','currentRevision','_preventResendingRevisionData','getMany','isOfficialPlugin','editor','has','collaboration.channelId','addRevisionData','repository','revisionsUpdated','RevisionHistoryService','12047848YZwfEQ','state'];_0x8f76=function(){return _0x3d3799;};return _0x8f76();}export class CloudServicesRevisionHistoryAdapter extends _0x17b94b{static [_0x357d42(0xe7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4dcf60)());[_0x357d42(0xeb)];[_0x357d42(0xab)];[_0x357d42(0xbc)];[_0x357d42(0xd4)];static get[_0x357d42(0xf7)](){const _0x89fb6e=_0x357d42;return[_0x9ef977,_0x16ea2d,_0x89fb6e(0x106),_0x570c12,_0x37cab2];}static get[_0x357d42(0xb6)](){const _0x5ef2ab=_0x357d42;return _0x5ef2ab(0xc4);}static get[_0x357d42(0xe0)](){return!0x0;}static get[_0x357d42(0x100)](){return!0x0;}constructor(_0x5475b6){const _0x58058f=_0x357d42;super(_0x5475b6);const _0x245b1e=this[_0x58058f(0xe1)][_0x58058f(0xda)][_0x58058f(0xcf)](_0x58058f(0xe3));this[_0x58058f(0xeb)]=null,this[_0x58058f(0xab)]=this[_0x58058f(0xe1)][_0x58058f(0xf2)][_0x58058f(0xcf)](_0x58058f(0xb4)),this[_0x58058f(0xbc)]=new CloudServicesRevisionHistoryAdapter[(_0x58058f(0xe7))](_0x245b1e);}async[_0x357d42(0xdc)](){const _0x17feb2=_0x357d42,_0x3cf4cb=this[_0x17feb2(0xe1)][_0x17feb2(0xf2)][_0x17feb2(0xcf)](_0x16ea2d),_0x3e0f4e=_0x3cf4cb[_0x17feb2(0xd3)],_0x24bf53=this[_0x17feb2(0xe1)][_0x17feb2(0xf2)][_0x17feb2(0xcf)](_0x9ef977);this[_0x17feb2(0xab)][_0x17feb2(0xb8)]({'history':_0x3e0f4e,'getLatestVersion':()=>this[_0x17feb2(0xa7)](),'getCurrentRevisionId':()=>_0x3cf4cb[_0x17feb2(0x110)]});const _0x1a38ea=this[_0x17feb2(0xe1)][_0x17feb2(0xda)][_0x17feb2(0xcf)](_0x17feb2(0x101))||_0x55ff7e,_0x3b6988=await _0x1abcaa[_0x17feb2(0xfa)](_0x24bf53[_0x17feb2(0xc5)],_0x1a38ea);this[_0x17feb2(0xe1)][_0x17feb2(0xf2)][_0x17feb2(0xcf)](_0x17feb2(0x106))[_0x17feb2(0xb2)]={'getRevision':async({revisionId:_0x13b2bb})=>(await this[_0x17feb2(0xff)](),await this[_0x17feb2(0xbc)][_0x17feb2(0x114)](_0x13b2bb)),'updateRevisions':async _0x188161=>{const _0x2bd9a1=_0x17feb2;await this[_0x2bd9a1(0xff)]();const _0x56ff5c=this[_0x2bd9a1(0xab)][_0x2bd9a1(0xdd)];if(_0x3b6988&&0x1===_0x188161[_0x2bd9a1(0xcc)]&&_0x188161[0x0]['id']===_0x56ff5c['id'])return _0x188161;for(const _0x3e4998 of _0x188161)_0x3e4998['id']===_0x56ff5c['id']&&(_0x3e4998[_0x2bd9a1(0xa6)]=_0x3e4998[_0x2bd9a1(0xed)]===_0x3e4998[_0x2bd9a1(0xc8)]);return this[_0x2bd9a1(0xbc)][_0x2bd9a1(0xf5)](_0x188161,this[_0x2bd9a1(0xeb)])[_0x2bd9a1(0xc7)](_0x348fdf=>(this[_0x2bd9a1(0xeb)]=_0x348fdf,_0x188161))[_0x2bd9a1(0x102)](_0x3b213b=>{const _0x25c306=_0x2bd9a1;if(q(_0x3b213b)||_0x25c306(0xc6)===_0x3b213b[_0x25c306(0xb1)]&&void 0x0!==_0x3b213b[_0x25c306(0xbf)][_0x25c306(0xb0)]){for(const _0x5be46f of _0x188161){!this[_0x25c306(0xab)][_0x25c306(0xe5)][_0x25c306(0x114)](_0x5be46f['id'])||this[_0x25c306(0xab)][_0x25c306(0xce)](_0x5be46f['id'],_0x5be46f,!0x1);}if(q(_0x3b213b))throw _0x3b213b;return _0x188161;}throw _0x3b213b;});}},this[_0x17feb2(0xa9)](this[_0x17feb2(0xbc)],_0x17feb2(0xe6),(_0x51bf8d,{revisionsData:_0x57f3e4,requestId:_0x471517})=>{const _0x6e5e42=_0x17feb2;Math[_0x6e5e42(0xbd)](..._0x57f3e4[_0x6e5e42(0xf3)](_0x39d5a3=>_0x39d5a3[_0x6e5e42(0xc8)]))>this[_0x6e5e42(0xbb)]()-0x1?this[_0x6e5e42(0xa7)]()[_0x6e5e42(0xc7)](()=>{const _0x2f1c3b=_0x6e5e42;this[_0x2f1c3b(0x107)](_0x57f3e4,_0x471517);}):this[_0x6e5e42(0x107)](_0x57f3e4,_0x471517);});const {revisions:_0x3fda5d,requestId:_0x3eea6f}=await this[_0x17feb2(0xbc)][_0x17feb2(0xf6)](_0x24bf53[_0x17feb2(0xc5)]);_0x24bf53[_0x17feb2(0x10e)](this),this[_0x17feb2(0xeb)]=_0x3eea6f,await this[_0x17feb2(0xb3)](_0x3fda5d);for(const _0x192d3e of _0x3fda5d)this[_0x17feb2(0xab)][_0x17feb2(0xe4)](_0x192d3e);this[_0x17feb2(0xa9)](_0x3cf4cb,_0x17feb2(0xd5),(_0x1cf40d,_0x59daca,_0x59e1a4)=>{const _0x16bab5=_0x17feb2;_0x59e1a4&&(this[_0x16bab5(0xd4)]=_0x3cf4cb[_0x16bab5(0xa4)],_0x1cf40d[_0x16bab5(0x104)]());}),this[_0x17feb2(0xab)][_0x17feb2(0xa8)](_0x17feb2(0xbe))['to'](_0x24bf53,_0x17feb2(0xe9),_0x25aa7a=>_0x25aa7a===_0x197597[_0x17feb2(0x10a)]);}async[_0x357d42(0xee)](){const _0x2033eb=_0x357d42,_0x596797=this[_0x2033eb(0xe1)][_0x2033eb(0xf2)][_0x2033eb(0xcf)](_0x9ef977),_0x3d0274=this[_0x2033eb(0xe1)][_0x2033eb(0xf2)][_0x2033eb(0xcf)](_0x16ea2d),_0x2aa899=async()=>{const _0x3cc139=_0x2033eb,_0x3aad62=this[_0x3cc139(0xab)][_0x3cc139(0xdd)],_0x5287c7=_0x3aad62['id'],_0x2bbe07=_0x5287c7!==_0x3d0274[_0x3cc139(0x110)];if(_0x2bbe07){const _0x3c4f55=_0x3d0274[_0x3cc139(0xa4)]-this[_0x3cc139(0xd4)],_0x45b9aa=this[_0x3cc139(0xbb)]();this[_0x3cc139(0xab)][_0x3cc139(0xd2)][_0x3cc139(0xf0)]();if(_0x3aad62[_0x3cc139(0xc8)]+_0x3c4f55!==_0x45b9aa){const _0x2d7f70=_0x3aad62[_0x3cc139(0xed)]+_0x3c4f55,_0x36dd93=this[_0x3cc139(0xe1)][_0x3cc139(0xf2)][_0x3cc139(0xcf)](_0x37cab2),_0x1e5c72=this[_0x3cc139(0xab)][_0x3cc139(0x10b)]({'revision':_0x3aad62,'from':_0x2d7f70,'to':_0x45b9aa});_0x1e5c72['id']=_0x3aad62['id'];const _0x3a47a5=_0x1e5c72[_0x3cc139(0xec)][_0x3cc139(0xf3)](_0x14ae63=>_0x36dd93[_0x3cc139(0x108)](_0x14ae63));_0x3aad62[_0x3cc139(0xaf)]({..._0x1e5c72,'authors':_0x3a47a5},!0x0),this[_0x3cc139(0xab)][_0x3cc139(0xce)](_0x3aad62['id'],_0x1e5c72,!0x0);}this[_0x3cc139(0xab)][_0x3cc139(0x115)]=_0x45b9aa,(_0x3aad62[_0x3cc139(0xc8)]===_0x3aad62[_0x3cc139(0xed)]&&!this[_0x3cc139(0xab)][_0x3cc139(0xa3)][_0x3cc139(0xe2)](_0x5287c7)&&this[_0x3cc139(0xab)][_0x3cc139(0xe5)][_0x3cc139(0x113)][_0x3cc139(0xd1)](_0x5287c7),this[_0x3cc139(0xab)][_0x3cc139(0xfe)](_0x45b9aa));}const {revisions:_0x31f1b7,requestId:_0x460394}=await this[_0x3cc139(0xbc)][_0x3cc139(0xee)](_0x596797[_0x3cc139(0xc5)],this[_0x3cc139(0xeb)]);_0x2bbe07&&_0x31f1b7[_0x3cc139(0xcc)]>0x0?_0x3d0274[_0x3cc139(0xa5)]():(await this[_0x3cc139(0xb3)](_0x31f1b7),this[_0x3cc139(0x107)](_0x31f1b7,_0x460394),this[_0x3cc139(0xab)][_0x3cc139(0xc9)]());};return _0x3d0274[_0x2033eb(0xc0)]?_0x2aa899():new Promise((_0x2c6dd9,_0x2c566c)=>{const _0x3fc0db=_0x2033eb;_0x3d0274[_0x3fc0db(0xef)](_0x3fc0db(0xd5),()=>{const _0xb8f66b=_0x3fc0db;_0x2aa899()[_0xb8f66b(0xc7)](_0x2c6dd9)[_0xb8f66b(0x102)](_0x2c566c);});});}[_0x357d42(0xf8)](){const _0xc6867d=_0x357d42;super[_0xc6867d(0xf8)]();}async[_0x357d42(0xff)](){const _0x40fe89=_0x357d42;this[_0x40fe89(0xbc)][_0x40fe89(0xac)]||await new Promise(_0x43ca05=>{const _0x82749e=_0x40fe89;this[_0x82749e(0xa9)](this[_0x82749e(0xbc)],_0x82749e(0xad),_0x36ff79=>{const _0x4f7fd2=_0x82749e;_0x36ff79[_0x4f7fd2(0x104)](),_0x43ca05();});});}[_0x357d42(0xbb)](){const _0x5b35af=_0x357d42,_0x4295f0=this[_0x5b35af(0xe1)][_0x5b35af(0xf2)][_0x5b35af(0xcf)](_0x16ea2d)[_0x5b35af(0xd3)][_0x5b35af(0xea)]()[_0x5b35af(0xb9)]();for(const _0x37bd07 of _0x4295f0)if(_0x5b35af(0xd8)!==_0x37bd07[_0x5b35af(0xd7)]||_0x37bd07[_0x5b35af(0x10f)])return _0x37bd07[_0x5b35af(0xfc)]+0x1;}[_0x357d42(0xa7)](){const _0x1957cc=_0x357d42,_0x1e8919=this[_0x1957cc(0xe1)][_0x1957cc(0xf2)][_0x1957cc(0xcf)](_0x16ea2d);return new Promise(_0x45790e=>{const _0x3f67f1=_0x1957cc;_0x1e8919[_0x3f67f1(0x10c)]?_0x1e8919[_0x3f67f1(0xef)](_0x3f67f1(0xd9),()=>{const _0x2d6424=_0x3f67f1;_0x45790e(this[_0x2d6424(0xbb)]());}):_0x45790e(this[_0x3f67f1(0xbb)]());});}[_0x357d42(0x107)](_0x1cdc2b,_0x576557){const _0x51b60c=_0x357d42,_0x17e43d=this[_0x51b60c(0xab)][_0x51b60c(0xe5)];this[_0x51b60c(0xeb)]=_0x576557;for(const _0x325089 of _0x1cdc2b){const _0x344591=_0x17e43d[_0x51b60c(0x114)](_0x325089['id']);if(_0x344591){if((_0x325089[_0x51b60c(0xed)]||_0x325089[_0x51b60c(0xc8)])&&(_0x325089[_0x51b60c(0xf9)]=null),_0x344591===this[_0x51b60c(0xab)][_0x51b60c(0xdd)]){const _0x17b209=Math[_0x51b60c(0xbd)](_0x344591[_0x51b60c(0xc8)],_0x325089[_0x51b60c(0xc8)]),_0x483213=Math[_0x51b60c(0xbd)](_0x344591[_0x51b60c(0xed)],_0x325089[_0x51b60c(0xed)]);let _0x4064e2;_0x344591[_0x51b60c(0xc8)]===_0x325089[_0x51b60c(0xc8)]&&_0x344591[_0x51b60c(0xed)]===_0x325089[_0x51b60c(0xed)]?(_0x4064e2=!0x0,this[_0x51b60c(0xde)](_0x325089)):_0x325089[_0x51b60c(0xc8)]===_0x17b209&&_0x325089[_0x51b60c(0xed)]===_0x483213?_0x4064e2=!0x1:(_0x344591[_0x51b60c(0xc8)]===_0x17b209&&_0x344591[_0x51b60c(0xed)]===_0x483213||this[_0x51b60c(0xfb)]({'revision':_0x344591,'from':_0x483213,'to':_0x17b209}),_0x4064e2=!0x0),_0x4064e2&&(delete _0x325089[_0x51b60c(0xed)],delete _0x325089[_0x51b60c(0xc8)],delete _0x325089[_0x51b60c(0xf9)],delete _0x325089[_0x51b60c(0xd6)],delete _0x325089[_0x51b60c(0xec)]);}this[_0x51b60c(0xab)][_0x51b60c(0xba)](_0x325089),this[_0x51b60c(0xde)](_0x325089);}else this[_0x51b60c(0xab)][_0x51b60c(0xe4)](_0x325089);}const _0x584d65=_0x17e43d[_0x51b60c(0x105)]();_0x584d65[_0x51b60c(0xb9)]();for(let _0x10c721=0x0;_0x10c721<_0x584d65[_0x51b60c(0xcc)]-0x1;_0x10c721++){const _0x41dc7f=_0x584d65[_0x10c721],_0x8c7395=_0x584d65[_0x10c721+0x1];if(_0x41dc7f[_0x51b60c(0xed)]<_0x8c7395[_0x51b60c(0xc8)]){const _0x1619bd=_0x8c7395[_0x51b60c(0xc8)],_0x595d30=Math[_0x51b60c(0xbd)](_0x1619bd,_0x41dc7f[_0x51b60c(0xc8)]);this[_0x51b60c(0xfb)]({'revision':_0x41dc7f,'from':_0x1619bd,'to':_0x595d30});}}}[_0x357d42(0xfb)]({revision:_0x273a0c,from:_0x2866d3,to:_0x346022}={}){const _0x16fd97=_0x357d42,_0x3da2d1=this[_0x16fd97(0xe1)][_0x16fd97(0xf2)][_0x16fd97(0xcf)](_0x37cab2),_0x507904=this[_0x16fd97(0xab)][_0x16fd97(0x10b)]({'revision':_0x273a0c,'from':_0x2866d3,'to':_0x346022});_0x507904[_0x16fd97(0xca)]=_0x507904[_0x16fd97(0xec)][_0x16fd97(0xf3)](_0x56c07e=>_0x3da2d1[_0x16fd97(0x108)](_0x56c07e)),_0x273a0c[_0x16fd97(0xaf)](_0x507904);}[_0x357d42(0xde)](_0x3f5de1){const _0x1e0819=_0x357d42,_0x54a575={};_0x54a575['id']=_0x3f5de1['id'];for(const _0x28e2ee of Object[_0x1e0819(0xc1)](_0x3f5de1))'id'!==_0x28e2ee&&(_0x54a575[_0x28e2ee]=void 0x0);this[_0x1e0819(0xab)][_0x1e0819(0xce)](_0x54a575['id'],_0x54a575,!0x0);}async[_0x357d42(0xb3)](_0x598f3a){const _0x304b9f=_0x357d42,_0x3e229e=this[_0x304b9f(0xe1)][_0x304b9f(0xf2)][_0x304b9f(0xcf)](_0x37cab2),{connection:_0x35a5e2}=this[_0x304b9f(0xe1)][_0x304b9f(0xf2)][_0x304b9f(0xcf)](_0x9ef977),_0x16e7c1=new Set();for(const _0x41b728 of _0x598f3a){for(const _0x5f4a48 of _0x41b728[_0x304b9f(0xec)])_0x562f86(_0x5f4a48);_0x41b728[_0x304b9f(0x109)]&&_0x562f86(_0x41b728[_0x304b9f(0x109)]);}if(0x0===_0x16e7c1[_0x304b9f(0xc2)])return;const _0x4792bd=await _0x30dc41[_0x304b9f(0xdf)](_0x35a5e2,Array[_0x304b9f(0xc3)](_0x16e7c1));for(const _0x31aaa7 of _0x4792bd)_0x3e229e[_0x304b9f(0x108)](_0x31aaa7['id'])||_0x3e229e[_0x304b9f(0xcd)](_0x31aaa7);function _0x562f86(_0x4a3465){const _0x27f2d7=_0x304b9f;_0x3e229e[_0x27f2d7(0x108)](_0x4a3465)||_0x16e7c1[_0x27f2d7(0xcb)](_0x4a3465);}}}function _0xaca0(_0x4d3fed,_0x5f2c02){const _0x8f761c=_0x8f76();return _0xaca0=function(_0xaca07b,_0x1d70b7){_0xaca07b=_0xaca07b-0xa3;let _0x535a22=_0x8f761c[_0xaca07b];return _0x535a22;},_0xaca0(_0x4d3fed,_0x5f2c02);}function q(_0x32a3c0){const _0x44c649=_0x357d42;return _0x32a3c0[_0x44c649(0xb7)][_0x44c649(0xaa)](_0x44c649(0xb5))||_0x32a3c0[_0x44c649(0xb7)][_0x44c649(0xaa)](_0x44c649(0xfd))||_0x32a3c0[_0x44c649(0xb7)][_0x44c649(0xaa)](_0x44c649(0xdb));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe1ab4f=_0x4ca9;function _0x4ca9(_0x448972,_0x39caba){var _0x4b8a94=_0x4b8a();return _0x4ca9=function(_0x4ca94a,_0x11d4fb){_0x4ca94a=_0x4ca94a-0xa5;var _0x56cb0c=_0x4b8a94[_0x4ca94a];return _0x56cb0c;},_0x4ca9(_0x448972,_0x39caba);}(function(_0x1135cf,_0x25bd77){var _0x3ea321=_0x4ca9,_0x1bd1c3=_0x1135cf();while(!![]){try{var _0x2a4f38=-parseInt(_0x3ea321(0xb4))/0x1*(-parseInt(_0x3ea321(0xab))/0x2)+parseInt(_0x3ea321(0xb0))/0x3+-parseInt(_0x3ea321(0xaa))/0x4*(parseInt(_0x3ea321(0xad))/0x5)+parseInt(_0x3ea321(0xa7))/0x6+parseInt(_0x3ea321(0xa9))/0x7*(parseInt(_0x3ea321(0xa5))/0x8)+parseInt(_0x3ea321(0xae))/0x9+-parseInt(_0x3ea321(0xaf))/0xa;if(_0x2a4f38===_0x25bd77)break;else _0x1bd1c3['push'](_0x1bd1c3['shift']());}catch(_0x37840c){_0x1bd1c3['push'](_0x1bd1c3['shift']());}}}(_0x4b8a,0x5164c));import{Plugin as _0x3f2e01}from'ckeditor5/src/core.js';function _0x4b8a(){var _0x1ea686=['requires','496698JNaTCo','isOfficialPlugin','357sCHqZk','20ZdcYVc','7806GCgVHZ','isPremiumPlugin','500135wvdzFc','4928724YZpErA','5552940cZoObq','181758IkeRXv','RealTimeCollaborativeRevisionHistory','RevisionHistory','pluginName','71NOepds','65992BHIgvz'];_0x4b8a=function(){return _0x1ea686;};return _0x4b8a();}import{CloudServicesRevisionHistoryAdapter as _0x2203a8}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x32e1b5}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x3f2e01{static get[_0xe1ab4f(0xa6)](){var _0x1f71e8=_0xe1ab4f;return[_0x1f71e8(0xb2),_0x2203a8,_0x32e1b5];}static get[_0xe1ab4f(0xb3)](){var _0x336bb1=_0xe1ab4f;return _0x336bb1(0xb1);}static get[_0xe1ab4f(0xa8)](){return!0x0;}static get[_0xe1ab4f(0xac)](){return!0x0;}}
23
+ var _0x15042c=_0x2d30;function _0x2d30(_0x15bf49,_0x58091d){var _0x565824=_0x5658();return _0x2d30=function(_0x2d3075,_0x3cee3b){_0x2d3075=_0x2d3075-0xcf;var _0x1fedc7=_0x565824[_0x2d3075];return _0x1fedc7;},_0x2d30(_0x15bf49,_0x58091d);}(function(_0x212cf2,_0xed4d00){var _0x26baa6=_0x2d30,_0x529da3=_0x212cf2();while(!![]){try{var _0x3c5281=parseInt(_0x26baa6(0xd9))/0x1*(-parseInt(_0x26baa6(0xde))/0x2)+parseInt(_0x26baa6(0xd6))/0x3*(parseInt(_0x26baa6(0xd1))/0x4)+parseInt(_0x26baa6(0xd3))/0x5+parseInt(_0x26baa6(0xdd))/0x6+parseInt(_0x26baa6(0xd5))/0x7+-parseInt(_0x26baa6(0xd7))/0x8*(parseInt(_0x26baa6(0xda))/0x9)+parseInt(_0x26baa6(0xd8))/0xa*(-parseInt(_0x26baa6(0xdc))/0xb);if(_0x3c5281===_0xed4d00)break;else _0x529da3['push'](_0x529da3['shift']());}catch(_0x4768c6){_0x529da3['push'](_0x529da3['shift']());}}}(_0x5658,0x86066));import{Plugin as _0x33b5f3}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x3fad0b}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x24361d}from'./realtimecollaborativeediting.js';function _0x5658(){var _0x2111bb=['RealTimeCollaborativeRevisionHistory','3779876pIiRoA','pluginName','1783200CZEDMK','isPremiumPlugin','3382890zgJtRJ','3QtSDjH','21624jQJuFk','110Encjzl','7589gvpQOb','1431VCuCZF','requires','1606891fMSDmj','5032200nRwSXo','10wTpbdg','isOfficialPlugin','RevisionHistory'];_0x5658=function(){return _0x2111bb;};return _0x5658();}export class RealTimeCollaborativeRevisionHistory extends _0x33b5f3{static get[_0x15042c(0xdb)](){var _0x33f262=_0x15042c;return[_0x33f262(0xcf),_0x3fad0b,_0x24361d];}static get[_0x15042c(0xd2)](){var _0xdc2a1e=_0x15042c;return _0xdc2a1e(0xd0);}static get[_0x15042c(0xdf)](){return!0x0;}static get[_0x15042c(0xd4)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54427a=_0x3ab9;(function(_0x46d421,_0x2b101d){const _0xf36562=_0x3ab9,_0x4159ae=_0x46d421();while(!![]){try{const _0x1460ac=parseInt(_0xf36562(0x15f))/0x1*(parseInt(_0xf36562(0x14a))/0x2)+parseInt(_0xf36562(0x133))/0x3+parseInt(_0xf36562(0x130))/0x4*(parseInt(_0xf36562(0x142))/0x5)+-parseInt(_0xf36562(0x139))/0x6+parseInt(_0xf36562(0x150))/0x7+parseInt(_0xf36562(0x16d))/0x8*(-parseInt(_0xf36562(0x16a))/0x9)+parseInt(_0xf36562(0x132))/0xa*(-parseInt(_0xf36562(0x156))/0xb);if(_0x1460ac===_0x2b101d)break;else _0x4159ae['push'](_0x4159ae['shift']());}catch(_0x38bbe5){_0x4159ae['push'](_0x4159ae['shift']());}}}(_0x3c2e,0x57942));import{Plugin as _0x320069}from'ckeditor5/src/core.js';import{User as _0x545f8c,TrackChangesService as _0xa00712}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5448bd}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x15b5f2}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x3c2e(){const _0x52b160=['message','pluginName','72UXrWvB','getMany','hasSuggestion','add','748772nRJmyL','set','10YTFjyv','349227xeDbfC','isOfficialPlugin','from','adapter','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','3991554GQgDrs','data','find','connection','get','catch','addToReconnectionStack','originalSuggestionId','suggestionUpdated','5AOhmni','isPremiumPlugin','startsWith','editor','state','open','_saved','TrackChangesEditing','1454YrLqCt','_fetchMissingUsersForThreads','TrackChangesService','cloud-services-internal-error:\x20Not\x20connected.','attributes','_waitForServiceReady','4428466cYHhdU','config','addSuggestionData','off','getSuggestion','requires','1525700xDXiBW','update','then','plugins','_trackChangesService','values','connected','type','_bufferedRequests','589tVLPVX','addUser','collaboration.channelId','init','connect','getUser','delete','reconnect','size','CloudServicesTrackChangesAdapter','listenTo','201762hhqUUs'];_0x3c2e=function(){return _0x52b160;};return _0x3c2e();}import{Users as _0x58724b}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x320069{static [_0x54427a(0x14c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xa00712)());[_0x54427a(0x15e)];[_0x54427a(0x15a)];static get[_0x54427a(0x155)](){const _0x47bc4a=_0x54427a;return[_0x15b5f2,_0x47bc4a(0x149),_0x5448bd];}static get[_0x54427a(0x16c)](){const _0x246db3=_0x54427a;return _0x246db3(0x168);}static get[_0x54427a(0x134)](){return!0x0;}static get[_0x54427a(0x143)](){return!0x0;}constructor(_0x22bc6d){const _0x3bd318=_0x54427a;super(_0x22bc6d);const _0x3ea69c=this[_0x3bd318(0x145)][_0x3bd318(0x151)][_0x3bd318(0x13d)](_0x3bd318(0x161));this[_0x3bd318(0x15e)]=new Map(),this[_0x3bd318(0x15a)]=new CloudServicesTrackChangesAdapter[(_0x3bd318(0x14c))](_0x3ea69c);}[_0x54427a(0x162)](){const _0x4f27e9=_0x54427a,_0x239992=this[_0x4f27e9(0x145)][_0x4f27e9(0x159)][_0x4f27e9(0x13d)](_0x5448bd),_0x41d77f=this[_0x4f27e9(0x145)][_0x4f27e9(0x159)][_0x4f27e9(0x13d)](_0x4f27e9(0x149));return _0x41d77f[_0x4f27e9(0x136)]={'getSuggestion':async _0x53be8b=>{const _0x51e2a9=_0x4f27e9;await this[_0x51e2a9(0x14f)]();const _0x2f9a6b=await this[_0x51e2a9(0x15a)][_0x51e2a9(0x13d)](_0x53be8b)[_0x51e2a9(0x13e)](k);return await this[_0x51e2a9(0x14b)]([_0x2f9a6b]),_0x2f9a6b;},'addSuggestion':async({id:_0x3a9f2f,type:_0x3a9520,data:_0x27aeaa,originalSuggestionId:_0x38785a,attributes:_0x1f8fd7})=>{const _0x2cd826=_0x4f27e9;await this[_0x2cd826(0x14f)]();const _0x505e1d={'id':_0x3a9f2f,'type':_0x3a9520,'data':_0x27aeaa,'originalSuggestionId':_0x38785a,'attributes':_0x1f8fd7},_0x45ce1e=await this[_0x2cd826(0x15a)][_0x2cd826(0x12f)](_0x3a9f2f,_0x3a9520,_0x27aeaa,_0x38785a,_0x1f8fd7)[_0x2cd826(0x13e)](_0x3c18df=>{if(st(_0x3c18df))return new Promise(_0x463e03=>{const _0x47106a=_0x3ab9;this[_0x47106a(0x15e)][_0x47106a(0x131)](_0x3a9f2f,{'resolve':_0x463e03,'suggestionData':_0x505e1d});});throw _0x3c18df;});return this[_0x2cd826(0x15e)][_0x2cd826(0x165)](_0x3a9f2f),_0x45ce1e;},'updateSuggestion':async(_0x152460,_0x594c27)=>{const _0x40cda8=_0x4f27e9;if(await this[_0x40cda8(0x14f)](),_0x40cda8(0x147)!==_0x594c27[_0x40cda8(0x146)])return this[_0x40cda8(0x15a)][_0x40cda8(0x157)](_0x152460,_0x594c27)[_0x40cda8(0x13e)](k);}},this[_0x4f27e9(0x169)](this[_0x4f27e9(0x15a)],_0x4f27e9(0x141),(_0xd60972,_0x2b67a6)=>{const _0x15f190=_0x4f27e9;_0x41d77f[_0x15f190(0x12e)](_0x2b67a6['id'])&&(_0x41d77f[_0x15f190(0x154)](_0x2b67a6['id'])[_0x15f190(0x14e)]=_0x2b67a6[_0x15f190(0x14e)]);}),this[_0x4f27e9(0x15a)][_0x4f27e9(0x163)](_0x239992[_0x4f27e9(0x13c)])[_0x4f27e9(0x158)](_0x40d881=>(_0x239992[_0x4f27e9(0x13f)](this),this[_0x4f27e9(0x14b)](_0x40d881)[_0x4f27e9(0x158)](()=>{const _0x40a3a1=_0x4f27e9;for(const _0x33c849 of _0x40d881){_0x41d77f[_0x40a3a1(0x152)](_0x33c849)[_0x40a3a1(0x148)]=!0x0;}})));}async[_0x54427a(0x166)](){const _0xf10f72=_0x54427a,_0x23b449=this[_0xf10f72(0x145)][_0xf10f72(0x159)][_0xf10f72(0x13d)](_0xf10f72(0x149)),{connection:_0x5c1dcd}=this[_0xf10f72(0x145)][_0xf10f72(0x159)][_0xf10f72(0x13d)](_0x5448bd),_0x10a3bf=await this[_0xf10f72(0x15a)][_0xf10f72(0x163)](_0x5c1dcd);await this[_0xf10f72(0x14b)](_0x10a3bf);for(const {suggestionData:_0x4287d6,resolve:_0x4a3de3}of this[_0xf10f72(0x15e)][_0xf10f72(0x15b)]()){let _0x2e3d11=_0x10a3bf[_0xf10f72(0x13b)](_0x4c980f=>_0x4c980f['id']===_0x4287d6['id']);_0x2e3d11||(_0x2e3d11=await this[_0xf10f72(0x15a)][_0xf10f72(0x12f)](_0x4287d6['id'],_0x4287d6[_0xf10f72(0x15d)],_0x4287d6[_0xf10f72(0x13a)],_0x4287d6[_0xf10f72(0x140)])),_0x4a3de3(_0x2e3d11);}for(const _0x201c0a of _0x10a3bf)_0x23b449[_0xf10f72(0x12e)](_0x201c0a['id'])||_0x23b449[_0xf10f72(0x152)](_0x201c0a);}async[_0x54427a(0x14f)](){const _0x20d1cb=_0x54427a;this[_0x20d1cb(0x15a)][_0x20d1cb(0x138)]||await new Promise(_0x2bb359=>{const _0x15633d=_0x20d1cb;this[_0x15633d(0x169)](this[_0x15633d(0x15a)],_0x15633d(0x15c),_0x271e22=>{const _0x87cc82=_0x15633d;_0x271e22[_0x87cc82(0x153)](),_0x2bb359();});});}async[_0x54427a(0x14b)](_0x34eef3){const _0x57931e=_0x54427a,_0x1e87a6=this[_0x57931e(0x145)][_0x57931e(0x159)][_0x57931e(0x13d)](_0x58724b),{connection:_0x5bed76}=this[_0x57931e(0x145)][_0x57931e(0x159)][_0x57931e(0x13d)](_0x5448bd),_0x25db5c=new Set();for(const {authorId:_0x31687c}of _0x34eef3)_0x1e87a6[_0x57931e(0x164)](_0x31687c)||_0x25db5c[_0x57931e(0x12f)](_0x31687c);if(0x0===_0x25db5c[_0x57931e(0x167)])return;const _0x434ddb=await _0x545f8c[_0x57931e(0x12d)](_0x5bed76,Array[_0x57931e(0x135)](_0x25db5c));for(const _0x2f0744 of _0x434ddb)_0x1e87a6[_0x57931e(0x164)](_0x2f0744['id'])||_0x1e87a6[_0x57931e(0x160)](_0x2f0744);}}function _0x3ab9(_0x3daafe,_0x54b41d){const _0x3c2e7c=_0x3c2e();return _0x3ab9=function(_0x3ab9cb,_0x3f4405){_0x3ab9cb=_0x3ab9cb-0x12d;let _0x20bbba=_0x3c2e7c[_0x3ab9cb];return _0x20bbba;},_0x3ab9(_0x3daafe,_0x54b41d);}function k(_0x1b0238){if(st(_0x1b0238))return new Promise(()=>{});throw _0x1b0238;}function st(_0x505683){const _0x57171e=_0x54427a;return _0x505683[_0x57171e(0x16b)][_0x57171e(0x144)](_0x57171e(0x14d))||_0x505683[_0x57171e(0x16b)][_0x57171e(0x144)](_0x57171e(0x137));}
23
+ const _0x1c0a50=_0x5cda;(function(_0x5013bf,_0x388894){const _0x4121b8=_0x5cda,_0x498a31=_0x5013bf();while(!![]){try{const _0x986346=-parseInt(_0x4121b8(0x1bf))/0x1+-parseInt(_0x4121b8(0x197))/0x2*(-parseInt(_0x4121b8(0x1bc))/0x3)+parseInt(_0x4121b8(0x192))/0x4+parseInt(_0x4121b8(0x19b))/0x5+parseInt(_0x4121b8(0x1b0))/0x6*(parseInt(_0x4121b8(0x19a))/0x7)+-parseInt(_0x4121b8(0x199))/0x8+-parseInt(_0x4121b8(0x1c8))/0x9;if(_0x986346===_0x388894)break;else _0x498a31['push'](_0x498a31['shift']());}catch(_0x38caa9){_0x498a31['push'](_0x498a31['shift']());}}}(_0x23c5,0xb7653));import{Plugin as _0x264388}from'ckeditor5/src/core.js';function _0x5cda(_0x6c8c49,_0x4bc5a8){const _0x23c5be=_0x23c5();return _0x5cda=function(_0x5cdafa,_0x125acc){_0x5cdafa=_0x5cdafa-0x18e;let _0x54200d=_0x23c5be[_0x5cdafa];return _0x54200d;},_0x5cda(_0x6c8c49,_0x4bc5a8);}import{User as _0x592d81,TrackChangesService as _0x279766}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x197d3e}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x19be8f}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5029c4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x23c5(){const _0x36d732=['open','CloudServicesTrackChangesAdapter','_waitForServiceReady','3949599qkCxgj','get','requires','402188lqMcJs','originalSuggestionId','message','plugins','catch','listenTo','connection','editor','state','25296732jGFjWu','add','type','TrackChangesService','getUser','config','attributes','cloud-services-internal-error:\x20Not\x20connected.','addUser','5573916qydYYV','TrackChangesEditing','then','_trackChangesService','hasSuggestion','2mQMDtR','connected','5921880DhfzyY','21PaIrkB','4701195YdJKPP','pluginName','isConnected','reconnect','values','addToReconnectionStack','off','isPremiumPlugin','isOfficialPlugin','collaboration.channelId','find','_fetchMissingUsersForThreads','adapter','delete','connect','init','startsWith','addSuggestionData','update','size','cloud-services-internal-error:\x20Request\x20timeout.','2108214MNIznS','data','suggestionUpdated','_saved','getMany','set','from','getSuggestion','_bufferedRequests'];_0x23c5=function(){return _0x36d732;};return _0x23c5();}export class CloudServicesTrackChangesAdapter extends _0x264388{static [_0x1c0a50(0x1cb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x279766)());[_0x1c0a50(0x1b8)];[_0x1c0a50(0x195)];static get[_0x1c0a50(0x1be)](){const _0x45f7d9=_0x1c0a50;return[_0x19be8f,_0x45f7d9(0x193),_0x197d3e];}static get[_0x1c0a50(0x19c)](){const _0x204dfc=_0x1c0a50;return _0x204dfc(0x1ba);}static get[_0x1c0a50(0x1a3)](){return!0x0;}static get[_0x1c0a50(0x1a2)](){return!0x0;}constructor(_0x22a95b){const _0x4e1333=_0x1c0a50;super(_0x22a95b);const _0x393118=this[_0x4e1333(0x1c6)][_0x4e1333(0x18e)][_0x4e1333(0x1bd)](_0x4e1333(0x1a4));this[_0x4e1333(0x1b8)]=new Map(),this[_0x4e1333(0x195)]=new CloudServicesTrackChangesAdapter[(_0x4e1333(0x1cb))](_0x393118);}[_0x1c0a50(0x1aa)](){const _0x91aff1=_0x1c0a50,_0x178ebc=this[_0x91aff1(0x1c6)][_0x91aff1(0x1c2)][_0x91aff1(0x1bd)](_0x197d3e),_0xd716fc=this[_0x91aff1(0x1c6)][_0x91aff1(0x1c2)][_0x91aff1(0x1bd)](_0x91aff1(0x193));return _0xd716fc[_0x91aff1(0x1a7)]={'getSuggestion':async _0x356b60=>{const _0x5626b7=_0x91aff1;await this[_0x5626b7(0x1bb)]();const _0x40219e=await this[_0x5626b7(0x195)][_0x5626b7(0x1bd)](_0x356b60)[_0x5626b7(0x1c3)](k);return await this[_0x5626b7(0x1a6)]([_0x40219e]),_0x40219e;},'addSuggestion':async({id:_0x2b7600,type:_0x3e940d,data:_0x4b0293,originalSuggestionId:_0x330b74,attributes:_0x50e7e5})=>{const _0x27db4c=_0x91aff1;await this[_0x27db4c(0x1bb)]();const _0x3b168d={'id':_0x2b7600,'type':_0x3e940d,'data':_0x4b0293,'originalSuggestionId':_0x330b74,'attributes':_0x50e7e5},_0x49a0a8=await this[_0x27db4c(0x195)][_0x27db4c(0x1c9)](_0x2b7600,_0x3e940d,_0x4b0293,_0x330b74,_0x50e7e5)[_0x27db4c(0x1c3)](_0x4707a9=>{if(q(_0x4707a9))return new Promise(_0x418f56=>{const _0x32ec21=_0x5cda;this[_0x32ec21(0x1b8)][_0x32ec21(0x1b5)](_0x2b7600,{'resolve':_0x418f56,'suggestionData':_0x3b168d});});throw _0x4707a9;});return this[_0x27db4c(0x1b8)][_0x27db4c(0x1a8)](_0x2b7600),_0x49a0a8;},'updateSuggestion':async(_0x40dcba,_0x4ee034)=>{const _0x2c39cf=_0x91aff1;if(await this[_0x2c39cf(0x1bb)](),_0x2c39cf(0x1b9)!==_0x4ee034[_0x2c39cf(0x1c7)])return this[_0x2c39cf(0x195)][_0x2c39cf(0x1ad)](_0x40dcba,_0x4ee034)[_0x2c39cf(0x1c3)](k);}},this[_0x91aff1(0x1c4)](this[_0x91aff1(0x195)],_0x91aff1(0x1b2),(_0x239a99,_0x2d8573)=>{const _0x379921=_0x91aff1;_0xd716fc[_0x379921(0x196)](_0x2d8573['id'])&&(_0xd716fc[_0x379921(0x1b7)](_0x2d8573['id'])[_0x379921(0x18f)]=_0x2d8573[_0x379921(0x18f)]);}),this[_0x91aff1(0x195)][_0x91aff1(0x1a9)](_0x178ebc[_0x91aff1(0x1c5)])[_0x91aff1(0x194)](_0x1c3465=>(_0x178ebc[_0x91aff1(0x1a0)](this),this[_0x91aff1(0x1a6)](_0x1c3465)[_0x91aff1(0x194)](()=>{const _0x6846b3=_0x91aff1;for(const _0x59620a of _0x1c3465){_0xd716fc[_0x6846b3(0x1ac)](_0x59620a)[_0x6846b3(0x1b3)]=!0x0;}})));}async[_0x1c0a50(0x19e)](){const _0x31efd8=_0x1c0a50,_0x4fc5b7=this[_0x31efd8(0x1c6)][_0x31efd8(0x1c2)][_0x31efd8(0x1bd)](_0x31efd8(0x193)),{connection:_0x499903}=this[_0x31efd8(0x1c6)][_0x31efd8(0x1c2)][_0x31efd8(0x1bd)](_0x197d3e),_0x26012d=await this[_0x31efd8(0x195)][_0x31efd8(0x1a9)](_0x499903);await this[_0x31efd8(0x1a6)](_0x26012d);for(const {suggestionData:_0x52fcaa,resolve:_0x603899}of this[_0x31efd8(0x1b8)][_0x31efd8(0x19f)]()){let _0x1dba85=_0x26012d[_0x31efd8(0x1a5)](_0xd9b8aa=>_0xd9b8aa['id']===_0x52fcaa['id']);_0x1dba85||(_0x1dba85=await this[_0x31efd8(0x195)][_0x31efd8(0x1c9)](_0x52fcaa['id'],_0x52fcaa[_0x31efd8(0x1ca)],_0x52fcaa[_0x31efd8(0x1b1)],_0x52fcaa[_0x31efd8(0x1c0)])),_0x603899(_0x1dba85);}for(const _0x551b86 of _0x26012d)_0x4fc5b7[_0x31efd8(0x196)](_0x551b86['id'])||_0x4fc5b7[_0x31efd8(0x1ac)](_0x551b86);}async[_0x1c0a50(0x1bb)](){const _0x108db4=_0x1c0a50;this[_0x108db4(0x195)][_0x108db4(0x19d)]||await new Promise(_0x595d43=>{const _0x3fb8ab=_0x108db4;this[_0x3fb8ab(0x1c4)](this[_0x3fb8ab(0x195)],_0x3fb8ab(0x198),_0x3783bd=>{const _0x210a87=_0x3fb8ab;_0x3783bd[_0x210a87(0x1a1)](),_0x595d43();});});}async[_0x1c0a50(0x1a6)](_0x5380bf){const _0x24977d=_0x1c0a50,_0x33dcde=this[_0x24977d(0x1c6)][_0x24977d(0x1c2)][_0x24977d(0x1bd)](_0x5029c4),{connection:_0xa394b1}=this[_0x24977d(0x1c6)][_0x24977d(0x1c2)][_0x24977d(0x1bd)](_0x197d3e),_0x32330=new Set();for(const {authorId:_0x46ede4}of _0x5380bf)_0x33dcde[_0x24977d(0x1cc)](_0x46ede4)||_0x32330[_0x24977d(0x1c9)](_0x46ede4);if(0x0===_0x32330[_0x24977d(0x1ae)])return;const _0x4f7eb4=await _0x592d81[_0x24977d(0x1b4)](_0xa394b1,Array[_0x24977d(0x1b6)](_0x32330));for(const _0x548a3e of _0x4f7eb4)_0x33dcde[_0x24977d(0x1cc)](_0x548a3e['id'])||_0x33dcde[_0x24977d(0x191)](_0x548a3e);}}function k(_0x2f151a){if(q(_0x2f151a))return new Promise(()=>{});throw _0x2f151a;}function q(_0x324437){const _0x2f09af=_0x1c0a50;return _0x324437[_0x2f09af(0x1c1)][_0x2f09af(0x1ab)](_0x2f09af(0x190))||_0x324437[_0x2f09af(0x1c1)][_0x2f09af(0x1ab)](_0x2f09af(0x1af));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa7362a=_0xc302;(function(_0xe81162,_0xdbf8a){var _0x1ec9c6=_0xc302,_0xb12347=_0xe81162();while(!![]){try{var _0x1807f5=-parseInt(_0x1ec9c6(0xeb))/0x1*(parseInt(_0x1ec9c6(0xe3))/0x2)+-parseInt(_0x1ec9c6(0xe8))/0x3+parseInt(_0x1ec9c6(0xe9))/0x4+-parseInt(_0x1ec9c6(0xdf))/0x5*(parseInt(_0x1ec9c6(0xec))/0x6)+parseInt(_0x1ec9c6(0xe2))/0x7*(parseInt(_0x1ec9c6(0xdd))/0x8)+-parseInt(_0x1ec9c6(0xe1))/0x9*(-parseInt(_0x1ec9c6(0xe4))/0xa)+parseInt(_0x1ec9c6(0xe5))/0xb;if(_0x1807f5===_0xdbf8a)break;else _0xb12347['push'](_0xb12347['shift']());}catch(_0x571343){_0xb12347['push'](_0xb12347['shift']());}}}(_0x2349,0xdb542));import{Plugin as _0xfebb8a}from'ckeditor5/src/core.js';function _0x2349(){var _0x5600f5=['243SpvRwm','49002HfKcyH','isOfficialPlugin','48hzIOuQ','RealTimeCollaborativeTrackChanges','350rKGWiA','requires','12892482DeVKZT','608657Ptugaa','10228qDXgJm','10ngaaKO','16812741BtXMDx','isPremiumPlugin','pluginName','4380486XljAxR','2761156DSskqK','TrackChanges'];_0x2349=function(){return _0x5600f5;};return _0x2349();}import{CloudServicesTrackChangesAdapter as _0x127da9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5ed142}from'./realtimecollaborativecomments.js';function _0xc302(_0x3bc09d,_0x4e9e0b){var _0x23494d=_0x2349();return _0xc302=function(_0xc302bd,_0x196c07){_0xc302bd=_0xc302bd-0xdc;var _0x1b6f5a=_0x23494d[_0xc302bd];return _0x1b6f5a;},_0xc302(_0x3bc09d,_0x4e9e0b);}export class RealTimeCollaborativeTrackChanges extends _0xfebb8a{static get[_0xa7362a(0xe0)](){var _0x12ed7b=_0xa7362a;return[_0x5ed142,_0x127da9,_0x12ed7b(0xea)];}static get[_0xa7362a(0xe7)](){var _0x52a7f5=_0xa7362a;return _0x52a7f5(0xde);}static get[_0xa7362a(0xdc)](){return!0x0;}static get[_0xa7362a(0xe6)](){return!0x0;}}
23
+ var _0x1203a8=_0x9c6e;(function(_0x30ee05,_0xbe598c){var _0x352c2e=_0x9c6e,_0x467ad=_0x30ee05();while(!![]){try{var _0x58c6a9=parseInt(_0x352c2e(0x131))/0x1*(parseInt(_0x352c2e(0x12e))/0x2)+-parseInt(_0x352c2e(0x137))/0x3+-parseInt(_0x352c2e(0x12c))/0x4+parseInt(_0x352c2e(0x135))/0x5*(-parseInt(_0x352c2e(0x132))/0x6)+-parseInt(_0x352c2e(0x130))/0x7*(-parseInt(_0x352c2e(0x138))/0x8)+parseInt(_0x352c2e(0x13a))/0x9*(-parseInt(_0x352c2e(0x12f))/0xa)+parseInt(_0x352c2e(0x139))/0xb;if(_0x58c6a9===_0xbe598c)break;else _0x467ad['push'](_0x467ad['shift']());}catch(_0x2c50ce){_0x467ad['push'](_0x467ad['shift']());}}}(_0xd802,0x67eb1));import{Plugin as _0x47b19a}from'ckeditor5/src/core.js';function _0x9c6e(_0x45e115,_0x3a9395){var _0xd802b7=_0xd802();return _0x9c6e=function(_0x9c6e48,_0x57444c){_0x9c6e48=_0x9c6e48-0x12c;var _0xdac9f8=_0xd802b7[_0x9c6e48];return _0xdac9f8;},_0x9c6e(_0x45e115,_0x3a9395);}import{CloudServicesTrackChangesAdapter as _0x60b5ec}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0xd802(){var _0x148c10=['10OrXvCT','49nqEjLc','236EPMzUW','39990YOmBqy','pluginName','isPremiumPlugin','250LHGcGw','RealTimeCollaborativeTrackChanges','31530CVZouB','92408RfcRZw','13163931QPwJrz','1194201AhNAkk','isOfficialPlugin','TrackChanges','3196400ZpBlfG','requires','3590FiYiVk'];_0xd802=function(){return _0x148c10;};return _0xd802();}import{RealTimeCollaborativeComments as _0x3ead16}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x47b19a{static get[_0x1203a8(0x12d)](){var _0x5c6bcf=_0x1203a8;return[_0x3ead16,_0x60b5ec,_0x5c6bcf(0x13c)];}static get[_0x1203a8(0x133)](){var _0x42c5ab=_0x1203a8;return _0x42c5ab(0x136);}static get[_0x1203a8(0x13b)](){return!0x0;}static get[_0x1203a8(0x134)](){return!0x0;}}