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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3423ea=_0x14e0;(function(_0x3c45a2,_0x33e42d){const _0x9c63d9=_0x14e0,_0x54ed0b=_0x3c45a2();while(!![]){try{const _0x3fffa0=parseInt(_0x9c63d9(0x19e))/0x1*(parseInt(_0x9c63d9(0x1be))/0x2)+parseInt(_0x9c63d9(0x1a0))/0x3+-parseInt(_0x9c63d9(0x1de))/0x4*(-parseInt(_0x9c63d9(0x1c9))/0x5)+parseInt(_0x9c63d9(0x1d9))/0x6*(parseInt(_0x9c63d9(0x1d4))/0x7)+-parseInt(_0x9c63d9(0x1e6))/0x8*(-parseInt(_0x9c63d9(0x1b3))/0x9)+parseInt(_0x9c63d9(0x1b5))/0xa+-parseInt(_0x9c63d9(0x1b8))/0xb;if(_0x3fffa0===_0x33e42d)break;else _0x54ed0b['push'](_0x54ed0b['shift']());}catch(_0x47a6cf){_0x54ed0b['push'](_0x54ed0b['shift']());}}}(_0x54cd,0x43007));import{ContextPlugin as _0x150d06}from'ckeditor5/src/core.js';function _0x14e0(_0x18dd48,_0x2a3e0a){const _0x54cdc0=_0x54cd();return _0x14e0=function(_0x14e083,_0xb7a8ab){_0x14e083=_0x14e083-0x19e;let _0x42c2da=_0x54cdc0[_0x14e083];return _0x42c2da;},_0x14e0(_0x18dd48,_0x2a3e0a);}import{DomEmitterMixin as _0x3a8287,CKEditorError as _0x27167b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x50e9bd,WEB_SOCKET_GATEWAY_STATES as _0xb90548}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2e2c8b}from'ckeditor5/src/ui.js';function _0x54cd(){const _0x5da6b6=['online','token','isOfficialPlugin','_domEmitter','connect','addToReconnectionStack','websocketgateway-missing-websocket-url','40boaWAm','from','requires','initialReconnectionInterval','destroy','plugins','reconnect','cloudServices.connectionTimeout','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','websocketgateway-invalid-plugin-interface','isInReconnectionStack','7GlHipz','stopListening','showWarning','all','config','1786722pTXpSK','listenTo','CONNECTING','cloudServices.requestTimeout','then','71668kNXGak','function','Connected\x20users\x20limit\x20exceeded','limitExceeded','webSocketUrl','catch','disconnect','change:me','24Sjwmyy','WebSocketGateway','has','227qHFxKK','code','1482591RvCvsf','websocketgateway-plugin-already-registered','init','DISCONNECTED','add','offline','constructor','isPremiumPlugin','_shouldPluginsReconnect','cloudservices-init','connected','_reconnect','real-time-collaboration','_isBrowserOffline','define','bind','websocketgateway-missing-token','connection','get','1471329lKuwIx','error','932900ZSrsEj','state','set','19531237ybnxFi','removeFromReconnectionStack','pluginName','context','CloudServices','delete','4678pColYu','_reconnectionStack','CONNECTED','cloudservices-reconnection-error'];_0x54cd=function(){return _0x5da6b6;};return _0x54cd();}export class WebSocketGateway extends _0x150d06{static [_0x3423ea(0x1e7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x50e9bd)());static [_0x3423ea(0x1cc)]=0x3e8;[_0x3423ea(0x1b1)];[_0x3423ea(0x1bf)];[_0x3423ea(0x1a8)];[_0x3423ea(0x1c5)];static get[_0x3423ea(0x1cb)](){const _0x314bf0=_0x3423ea;return[_0x314bf0(0x1bc),_0x2e2c8b];}static get[_0x3423ea(0x1ba)](){const _0x4a6e76=_0x3423ea;return _0x4a6e76(0x1e7);}static get[_0x3423ea(0x1c4)](){return!0x0;}static get[_0x3423ea(0x1a7)](){return!0x0;}constructor(_0x3f9149){const _0x6b2a56=_0x3423ea;super(_0x3f9149),this[_0x6b2a56(0x1b7)](_0x6b2a56(0x1b6),_0xb90548[_0x6b2a56(0x1c0)]),this[_0x6b2a56(0x1b7)](_0x6b2a56(0x1ad),!0x1),this[_0x6b2a56(0x1bf)]=new Set(),this[_0x6b2a56(0x1a8)]=!0x1,this[_0x6b2a56(0x1c5)]=new(_0x3a8287())();}[_0x3423ea(0x1a2)](){const _0x10ee0a=_0x3423ea,_0x151a9c=this[_0x10ee0a(0x1bb)],_0x33b1f1=_0x151a9c[_0x10ee0a(0x1ce)][_0x10ee0a(0x1b2)](_0x10ee0a(0x1bc)),_0x35f475=_0x151a9c[_0x10ee0a(0x1ce)][_0x10ee0a(0x1b2)](_0x2e2c8b);if(!_0x33b1f1[_0x10ee0a(0x1c3)])throw new _0x27167b(_0x10ee0a(0x1b0),this);if(!_0x33b1f1[_0x10ee0a(0x1e2)])throw new _0x27167b(_0x10ee0a(0x1c8),this);return this[_0x10ee0a(0x1c5)][_0x10ee0a(0x1da)](window,_0x10ee0a(0x1a5),()=>this[_0x10ee0a(0x1ad)]=!0x0),this[_0x10ee0a(0x1c5)][_0x10ee0a(0x1da)](window,_0x10ee0a(0x1c2),()=>this[_0x10ee0a(0x1ad)]=!0x1),this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1ae)](_0x10ee0a(0x1d0),0xa),this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1ae)](_0x10ee0a(0x1dc),0x14),WebSocketGateway[_0x10ee0a(0x1e7)][_0x10ee0a(0x1c6)](_0x33b1f1[_0x10ee0a(0x1c3)],_0x33b1f1[_0x10ee0a(0x1e2)],{'timeout':0x3e8*this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1b2)](_0x10ee0a(0x1d0)),'requestTimeout':0x3e8*this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1b2)](_0x10ee0a(0x1dc))})[_0x10ee0a(0x1dd)](_0x42547f=>{const _0x2f418f=_0x10ee0a;if(this[_0x2f418f(0x1b1)]=_0x42547f,this[_0x2f418f(0x1af)](_0x2f418f(0x1b6))['to'](_0x42547f,_0x2f418f(0x1b6),this,_0x2f418f(0x1ad),(_0x1e74db,_0x257aa6)=>(_0x2f418f(0x1aa)!==_0x1e74db&&(this[_0x2f418f(0x1a8)]=!0x0),_0x257aa6||_0x1e74db!==_0xb90548[_0x2f418f(0x1c0)]?_0xb90548[_0x2f418f(0x1a3)]:this[_0x2f418f(0x1b6)]==_0xb90548[_0x2f418f(0x1a3)]&&this[_0x2f418f(0x1a8)]?(this[_0x2f418f(0x1a8)]=!0x1,this[_0x2f418f(0x1ab)](),_0xb90548[_0x2f418f(0x1db)]):_0xb90548[_0x2f418f(0x1c0)])),this[_0x2f418f(0x1b1)]['on'](_0x2f418f(0x1b4),(_0x1b0ed2,_0x48edc8)=>{const _0x4f53fc=_0x2f418f;if(_0x4f53fc(0x1e1)!==_0x48edc8[_0x4f53fc(0x19f)])throw console[_0x4f53fc(0x1b4)](_0x48edc8),new _0x27167b(_0x4f53fc(0x1a9),null,{'originalError':_0x48edc8});_0x35f475[_0x4f53fc(0x1d6)](_0x4f53fc(0x1d1),{'title':_0x4f53fc(0x1e0),'namespace':_0x4f53fc(0x1ac)});}),!_0x42547f['me'])return new Promise(_0x38bbda=>_0x42547f['on'](_0x2f418f(0x1e5),_0x38bbda));})[_0x10ee0a(0x1e3)](_0x2473b4=>{const _0x19d1ae=_0x10ee0a;throw console[_0x19d1ae(0x1b4)](_0x2473b4),new _0x27167b(_0x19d1ae(0x1a9),null,{'originalError':_0x2473b4});});}[_0x3423ea(0x1c7)](_0x27f3de){const _0x3a4c01=_0x3423ea;if(_0x3a4c01(0x1df)!=typeof _0x27f3de[_0x3a4c01(0x1cf)])throw new _0x27167b(_0x3a4c01(0x1d2),this);if(this[_0x3a4c01(0x1d3)](_0x27f3de))throw new _0x27167b(_0x3a4c01(0x1a1),this,{'name':_0x27f3de[_0x3a4c01(0x1a6)][_0x3a4c01(0x1ba)]});this[_0x3a4c01(0x1bf)][_0x3a4c01(0x1a4)](_0x27f3de);}[_0x3423ea(0x1b9)](_0x457a67){const _0x2ce15c=_0x3423ea;this[_0x2ce15c(0x1bf)][_0x2ce15c(0x1bd)](_0x457a67);}[_0x3423ea(0x1d3)](_0x2c45a0){const _0x14f099=_0x3423ea;return this[_0x14f099(0x1bf)][_0x14f099(0x1e8)](_0x2c45a0);}[_0x3423ea(0x1ab)](){const _0x29c192=_0x3423ea;return this[_0x29c192(0x1b1)][_0x29c192(0x1cf)]()[_0x29c192(0x1dd)](()=>Promise[_0x29c192(0x1d7)](Array[_0x29c192(0x1ca)](this[_0x29c192(0x1bf)],_0x37433f=>_0x37433f[_0x29c192(0x1cf)]())))[_0x29c192(0x1dd)](()=>this[_0x29c192(0x1b6)]=_0xb90548[_0x29c192(0x1c0)])[_0x29c192(0x1e3)](_0x16f3a8=>{const _0xc79094=_0x29c192;throw console[_0xc79094(0x1b4)](_0x16f3a8),new _0x27167b(_0xc79094(0x1c1),this[_0xc79094(0x1bb)]);});}[_0x3423ea(0x1e4)](){const _0xbee612=_0x3423ea;this[_0xbee612(0x1b1)]&&this[_0xbee612(0x1b1)][_0xbee612(0x1e4)](),this[_0xbee612(0x1b6)]=_0xb90548[_0xbee612(0x1a3)],this[_0xbee612(0x1c5)][_0xbee612(0x1d5)]();}[_0x3423ea(0x1cd)](){const _0x20bfc9=_0x3423ea;this[_0x20bfc9(0x1e4)](),super[_0x20bfc9(0x1cd)]();}}
23
+ function _0x4960(_0x5c0e93,_0x41708c){const _0x1e95a0=_0x1e95();return _0x4960=function(_0x4960e9,_0x3d1f28){_0x4960e9=_0x4960e9-0x111;let _0x26cb3e=_0x1e95a0[_0x4960e9];return _0x26cb3e;},_0x4960(_0x5c0e93,_0x41708c);}const _0x54e248=_0x4960;function _0x1e95(){const _0x4871e1=['connection','plugins','error','constructor','connected','has','21PwZkhr','delete','define','from','code','56470HamxVP','websocketgateway-missing-websocket-url','pluginName','disconnect','config','CONNECTING','connect','context','showWarning','stopListening','776853gBiIhf','_domEmitter','CONNECTED','websocketgateway-missing-token','addToReconnectionStack','all','5342yIBPIj','isOfficialPlugin','set','get','isInReconnectionStack','initialReconnectionInterval','add','477jMcWPu','change:me','token','requires','Connected\x20users\x20limit\x20exceeded','_isBrowserOffline','webSocketUrl','websocketgateway-plugin-already-registered','online','listenTo','cloudServices.connectionTimeout','cloudServices.requestTimeout','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.','382508SRvhaf','catch','state','then','limitExceeded','bind','_reconnectionStack','_reconnect','removeFromReconnectionStack','DISCONNECTED','cloudservices-init','108162RXlSfD','reconnect','2017935chkusW','cloudservices-reconnection-error','2262088QHGmPG','_shouldPluginsReconnect','WebSocketGateway','offline','real-time-collaboration','init','isPremiumPlugin','CloudServices','function','2ljfukt','websocketgateway-invalid-plugin-interface','destroy'];_0x1e95=function(){return _0x4871e1;};return _0x1e95();}(function(_0xdd5245,_0x366a0f){const _0x179ff5=_0x4960,_0x4f40a4=_0xdd5245();while(!![]){try{const _0x1c0d0a=parseInt(_0x179ff5(0x157))/0x1*(parseInt(_0x179ff5(0x12b))/0x2)+parseInt(_0x179ff5(0x125))/0x3+-parseInt(_0x179ff5(0x13f))/0x4+-parseInt(_0x179ff5(0x14c))/0x5+parseInt(_0x179ff5(0x14a))/0x6*(-parseInt(_0x179ff5(0x116))/0x7)+parseInt(_0x179ff5(0x14e))/0x8+parseInt(_0x179ff5(0x132))/0x9*(parseInt(_0x179ff5(0x11b))/0xa);if(_0x1c0d0a===_0x366a0f)break;else _0x4f40a4['push'](_0x4f40a4['shift']());}catch(_0x2e7b05){_0x4f40a4['push'](_0x4f40a4['shift']());}}}(_0x1e95,0x478ba));import{ContextPlugin as _0x3853e6}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x108885,CKEditorError as _0x5db633}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x16d074,WEB_SOCKET_GATEWAY_STATES as _0x1e350f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x136db0}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x3853e6{static [_0x54e248(0x150)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x16d074)());static [_0x54e248(0x130)]=0x3e8;[_0x54e248(0x15a)];[_0x54e248(0x145)];[_0x54e248(0x14f)];[_0x54e248(0x126)];static get[_0x54e248(0x135)](){const _0x582fa7=_0x54e248;return[_0x582fa7(0x155),_0x136db0];}static get[_0x54e248(0x11d)](){const _0x5d7538=_0x54e248;return _0x5d7538(0x150);}static get[_0x54e248(0x12c)](){return!0x0;}static get[_0x54e248(0x154)](){return!0x0;}constructor(_0x6f5491){const _0x216e39=_0x54e248;super(_0x6f5491),this[_0x216e39(0x12d)](_0x216e39(0x141),_0x1e350f[_0x216e39(0x127)]),this[_0x216e39(0x12d)](_0x216e39(0x137),!0x1),this[_0x216e39(0x145)]=new Set(),this[_0x216e39(0x14f)]=!0x1,this[_0x216e39(0x126)]=new(_0x108885())();}[_0x54e248(0x153)](){const _0xe47ecc=_0x54e248,_0xf95911=this[_0xe47ecc(0x122)],_0x382c0d=_0xf95911[_0xe47ecc(0x111)][_0xe47ecc(0x12e)](_0xe47ecc(0x155)),_0xa5bf93=_0xf95911[_0xe47ecc(0x111)][_0xe47ecc(0x12e)](_0x136db0);if(!_0x382c0d[_0xe47ecc(0x134)])throw new _0x5db633(_0xe47ecc(0x128),this);if(!_0x382c0d[_0xe47ecc(0x138)])throw new _0x5db633(_0xe47ecc(0x11c),this);return this[_0xe47ecc(0x126)][_0xe47ecc(0x13b)](window,_0xe47ecc(0x151),()=>this[_0xe47ecc(0x137)]=!0x0),this[_0xe47ecc(0x126)][_0xe47ecc(0x13b)](window,_0xe47ecc(0x13a),()=>this[_0xe47ecc(0x137)]=!0x1),this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x118)](_0xe47ecc(0x13c),0xa),this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x118)](_0xe47ecc(0x13d),0x14),WebSocketGateway[_0xe47ecc(0x150)][_0xe47ecc(0x121)](_0x382c0d[_0xe47ecc(0x134)],_0x382c0d[_0xe47ecc(0x138)],{'timeout':0x3e8*this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x12e)](_0xe47ecc(0x13c)),'requestTimeout':0x3e8*this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x12e)](_0xe47ecc(0x13d))})[_0xe47ecc(0x142)](_0x140d2a=>{const _0x3bd9d4=_0xe47ecc;if(this[_0x3bd9d4(0x15a)]=_0x140d2a,this[_0x3bd9d4(0x144)](_0x3bd9d4(0x141))['to'](_0x140d2a,_0x3bd9d4(0x141),this,_0x3bd9d4(0x137),(_0x4aef2c,_0x29e8d3)=>(_0x3bd9d4(0x114)!==_0x4aef2c&&(this[_0x3bd9d4(0x14f)]=!0x0),_0x29e8d3||_0x4aef2c!==_0x1e350f[_0x3bd9d4(0x127)]?_0x1e350f[_0x3bd9d4(0x148)]:this[_0x3bd9d4(0x141)]==_0x1e350f[_0x3bd9d4(0x148)]&&this[_0x3bd9d4(0x14f)]?(this[_0x3bd9d4(0x14f)]=!0x1,this[_0x3bd9d4(0x146)](),_0x1e350f[_0x3bd9d4(0x120)]):_0x1e350f[_0x3bd9d4(0x127)])),this[_0x3bd9d4(0x15a)]['on'](_0x3bd9d4(0x112),(_0x552cae,_0x2a16e7)=>{const _0x35cc6e=_0x3bd9d4;if(_0x35cc6e(0x143)!==_0x2a16e7[_0x35cc6e(0x11a)])throw console[_0x35cc6e(0x112)](_0x2a16e7),new _0x5db633(_0x35cc6e(0x149),null,{'originalError':_0x2a16e7});_0xa5bf93[_0x35cc6e(0x123)](_0x35cc6e(0x13e),{'title':_0x35cc6e(0x136),'namespace':_0x35cc6e(0x152)});}),!_0x140d2a['me'])return new Promise(_0x53c7ff=>_0x140d2a['on'](_0x3bd9d4(0x133),_0x53c7ff));})[_0xe47ecc(0x140)](_0xd7370c=>{const _0x5dad3b=_0xe47ecc;throw console[_0x5dad3b(0x112)](_0xd7370c),new _0x5db633(_0x5dad3b(0x149),null,{'originalError':_0xd7370c});});}[_0x54e248(0x129)](_0x531285){const _0x378bdb=_0x54e248;if(_0x378bdb(0x156)!=typeof _0x531285[_0x378bdb(0x14b)])throw new _0x5db633(_0x378bdb(0x158),this);if(this[_0x378bdb(0x12f)](_0x531285))throw new _0x5db633(_0x378bdb(0x139),this,{'name':_0x531285[_0x378bdb(0x113)][_0x378bdb(0x11d)]});this[_0x378bdb(0x145)][_0x378bdb(0x131)](_0x531285);}[_0x54e248(0x147)](_0x32794a){const _0x158c0e=_0x54e248;this[_0x158c0e(0x145)][_0x158c0e(0x117)](_0x32794a);}[_0x54e248(0x12f)](_0x14b9ad){const _0x3be4b6=_0x54e248;return this[_0x3be4b6(0x145)][_0x3be4b6(0x115)](_0x14b9ad);}[_0x54e248(0x146)](){const _0x5a2c80=_0x54e248;return this[_0x5a2c80(0x15a)][_0x5a2c80(0x14b)]()[_0x5a2c80(0x142)](()=>Promise[_0x5a2c80(0x12a)](Array[_0x5a2c80(0x119)](this[_0x5a2c80(0x145)],_0x5e4c24=>_0x5e4c24[_0x5a2c80(0x14b)]())))[_0x5a2c80(0x142)](()=>this[_0x5a2c80(0x141)]=_0x1e350f[_0x5a2c80(0x127)])[_0x5a2c80(0x140)](_0x2fb636=>{const _0x47c892=_0x5a2c80;throw console[_0x47c892(0x112)](_0x2fb636),new _0x5db633(_0x47c892(0x14d),this[_0x47c892(0x122)]);});}[_0x54e248(0x11e)](){const _0x3f305a=_0x54e248;this[_0x3f305a(0x15a)]&&this[_0x3f305a(0x15a)][_0x3f305a(0x11e)](),this[_0x3f305a(0x141)]=_0x1e350f[_0x3f305a(0x148)],this[_0x3f305a(0x126)][_0x3f305a(0x124)]();}[_0x54e248(0x159)](){const _0x3b1108=_0x54e248;this[_0x3b1108(0x11e)](),super[_0x3b1108(0x159)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3d155c=_0x562d;(function(_0x2f9489,_0x3263c3){var _0x46e9a8=_0x562d,_0x40b1cd=_0x2f9489();while(!![]){try{var _0x28230c=parseInt(_0x46e9a8(0x179))/0x1*(-parseInt(_0x46e9a8(0x176))/0x2)+-parseInt(_0x46e9a8(0x16f))/0x3+parseInt(_0x46e9a8(0x175))/0x4+-parseInt(_0x46e9a8(0x173))/0x5*(-parseInt(_0x46e9a8(0x177))/0x6)+parseInt(_0x46e9a8(0x174))/0x7+parseInt(_0x46e9a8(0x17a))/0x8*(parseInt(_0x46e9a8(0x17b))/0x9)+parseInt(_0x46e9a8(0x171))/0xa;if(_0x28230c===_0x3263c3)break;else _0x40b1cd['push'](_0x40b1cd['shift']());}catch(_0x36f309){_0x40b1cd['push'](_0x40b1cd['shift']());}}}(_0xbd03,0x69c7e));import{Plugin as _0x4a82cc}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x267773}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0xbd03(){var _0x337859=['pluginName','15yHqEkq','1478078bJAZkQ','84416tDXSDS','809300mxUOsV','366378mQYpIH','RealTimeCollaborativeEditing','2pHRisD','276400PhnLXr','45Usxgnb','requires','isPremiumPlugin','947868DcMxDs','isOfficialPlugin','9703370yKsQcZ'];_0xbd03=function(){return _0x337859;};return _0xbd03();}function _0x562d(_0x4df375,_0x124917){var _0xbd0337=_0xbd03();return _0x562d=function(_0x562d52,_0x27a30d){_0x562d52=_0x562d52-0x16d;var _0x439195=_0xbd0337[_0x562d52];return _0x439195;},_0x562d(_0x4df375,_0x124917);}export class RealTimeCollaborativeEditing extends _0x4a82cc{static get[_0x3d155c(0x16d)](){return[_0x267773];}static get[_0x3d155c(0x172)](){var _0x21236b=_0x3d155c;return _0x21236b(0x178);}static get[_0x3d155c(0x170)](){return!0x0;}static get[_0x3d155c(0x16e)](){return!0x0;}}
23
+ function _0x3974(){var _0x235675=['748000HdHquP','2700177ZMTVYS','3379002qtXncN','isOfficialPlugin','7XVFrjb','requires','pluginName','3144712nJDnwI','22274152XVIXWm','isPremiumPlugin','1588315YLCqnx','RealTimeCollaborativeEditing','812066AwCmLd'];_0x3974=function(){return _0x235675;};return _0x3974();}var _0x3ff7f0=_0x141c;(function(_0x13fa7a,_0x2d241e){var _0x403339=_0x141c,_0x110044=_0x13fa7a();while(!![]){try{var _0x531ffe=-parseInt(_0x403339(0x157))/0x1+parseInt(_0x403339(0x156))/0x2+-parseInt(_0x403339(0x158))/0x3+-parseInt(_0x403339(0x15e))/0x4+parseInt(_0x403339(0x154))/0x5+parseInt(_0x403339(0x159))/0x6*(-parseInt(_0x403339(0x15b))/0x7)+parseInt(_0x403339(0x152))/0x8;if(_0x531ffe===_0x2d241e)break;else _0x110044['push'](_0x110044['shift']());}catch(_0x197b6e){_0x110044['push'](_0x110044['shift']());}}}(_0x3974,0x7ca61));function _0x141c(_0x47b43a,_0x157b91){var _0x397403=_0x3974();return _0x141c=function(_0x141cb3,_0x488a51){_0x141cb3=_0x141cb3-0x152;var _0x48608a=_0x397403[_0x141cb3];return _0x48608a;},_0x141c(_0x47b43a,_0x157b91);}import{Plugin as _0x2d028e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4c3ff0}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x2d028e{static get[_0x3ff7f0(0x15c)](){return[_0x4c3ff0];}static get[_0x3ff7f0(0x15d)](){var _0x4385bf=_0x3ff7f0;return _0x4385bf(0x155);}static get[_0x3ff7f0(0x15a)](){return!0x0;}static get[_0x3ff7f0(0x153)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23be42=_0x1841;(function(_0x4216a3,_0x547c7e){const _0x377321=_0x1841,_0x500b7b=_0x4216a3();while(!![]){try{const _0x5e54a7=-parseInt(_0x377321(0x130))/0x1+-parseInt(_0x377321(0x13a))/0x2+-parseInt(_0x377321(0xe8))/0x3+parseInt(_0x377321(0x122))/0x4*(-parseInt(_0x377321(0xe1))/0x5)+-parseInt(_0x377321(0x12a))/0x6+-parseInt(_0x377321(0x12b))/0x7*(parseInt(_0x377321(0xf2))/0x8)+parseInt(_0x377321(0xe9))/0x9;if(_0x5e54a7===_0x547c7e)break;else _0x500b7b['push'](_0x500b7b['shift']());}catch(_0x3a899a){_0x500b7b['push'](_0x500b7b['shift']());}}}(_0x50a6,0xf273f));import{Plugin as _0x14e3c9}from'ckeditor5/src/core.js';import{version as _0x7e2be6}from'ckeditor5/src/utils.js';import{Users as _0x100d9e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1841(_0x1d15a7,_0x4cd4be){const _0x50a6e2=_0x50a6();return _0x1841=function(_0x184184,_0x3fa11c){_0x184184=_0x184184-0xcc;let _0x2fb71b=_0x50a6e2[_0x184184];return _0x2fb71b;},_0x1841(_0x1d15a7,_0x4cd4be);}import{RealTimeCollaborationClient as _0x2cff4b}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x162c95}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2ce73f}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x625a4d,RevisionHistoryService as _0x53f529,User as _0x7d71a0,WEB_SOCKET_GATEWAY_STATES as _0x3c72ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x50a6(){const _0x1280f5=['cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','size','RevisionHistory','40GxxlvO','type','revisionsUpdated','catch','fromVersion','_update','reInit','4144335nCdsor','79612353ZguuxP','_isPendingUpdate','_revisions','data','_handleReconnectionError','authorsIds','_oldOffset','listenTo','off','1553272MsdAOG','cloud-services-internal-error:\x20Not\x20connected.','state','_bufferUpdate','isConnected','requires','addUser','keys','_revisionHistoryService','isBundleUploaded','_getLatestVersionFromServerOperations','CloudServicesRevisionHistoryAdapter','serverHistory','has','bind','_bufferedUpdates','remove','setRevisionData','isOfficialPlugin','init','authors','_getLatestVersion','buildRevisionData','getOperations','cloud-services-internal-error:\x20Request\x20timeout.','setSource','_isConnected','createdAt','creatorId','plugins','updateRevisions','_createCurrentRevision','change:_isConnected','_handleRevisionsUpdate','repository','sessionId','change:_isPendingUpdate','marker','_revisionTracker','_lastRequestId','from','RevisionTracker','_revisionDataBuilder','pluginName','config','_startingVersion','code','CONNECTED','770344nCenDH','message','_fetchMissingUsers','getUser','reconnect','isPremiumPlugin','affectsData','then','6724992BemoUL','63JtzOBj','connected','isEnabled','isEmptyCurrent','editor','1457779nmCcDu','destroy','connect','wrongRequestId','getMany','_offset','get','adapter','startsWith','addRevisionData','1209110KkfIEn','_fixRevision','reverse','getRevisions','toVersion','getRevision','baseVersion','cloudServices.bundleVersion','RevisionHistoryService','_preventResendingRevisionData','currentRevision','sendBufferedUpdates','addToReconnectionStack','_waitForServiceReady','400','once','diffData','length','max','add','map','connection','collaboration.channelId'];_0x50a6=function(){return _0x1280f5;};return _0x50a6();}export class CloudServicesRevisionHistoryAdapter extends _0x14e3c9{static [_0x23be42(0xcf)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x53f529)());[_0x23be42(0x119)];[_0x23be42(0x118)];[_0x23be42(0xfa)];[_0x23be42(0xef)];static get[_0x23be42(0xf7)](){const _0x197792=_0x23be42;return[_0x162c95,_0x2cff4b,_0x197792(0xe0),_0x2ce73f,_0x100d9e];}static get[_0x23be42(0x11d)](){const _0x19a17d=_0x23be42;return _0x19a17d(0xfd);}static get[_0x23be42(0x104)](){return!0x0;}static get[_0x23be42(0x127)](){return!0x0;}constructor(_0x122fc5){const _0x1081ba=_0x23be42;super(_0x122fc5);const _0x1ac606=this[_0x1081ba(0x12f)][_0x1081ba(0x11e)][_0x1081ba(0x136)](_0x1081ba(0xdd));this[_0x1081ba(0x119)]=null,this[_0x1081ba(0x118)]=this[_0x1081ba(0x12f)][_0x1081ba(0x10f)][_0x1081ba(0x136)](_0x1081ba(0x11b)),this[_0x1081ba(0xfa)]=new CloudServicesRevisionHistoryAdapter[(_0x1081ba(0xcf))](_0x1ac606);}async[_0x23be42(0x105)](){const _0x58784e=_0x23be42,_0x4c05fe=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x2cff4b),_0x2fde7b=_0x4c05fe[_0x58784e(0xfe)],_0x25bd56=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x162c95);this[_0x58784e(0x118)][_0x58784e(0x10b)]({'history':_0x2fde7b,'getLatestVersion':()=>this[_0x58784e(0x107)](),'getCurrentRevisionId':()=>_0x4c05fe[_0x58784e(0x115)]});const _0x11223d=this[_0x58784e(0x12f)][_0x58784e(0x11e)][_0x58784e(0x136)](_0x58784e(0xce))||_0x7e2be6,_0xafc5df=await _0x625a4d[_0x58784e(0xfb)](_0x25bd56[_0x58784e(0xdc)],_0x11223d);this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x58784e(0xe0))[_0x58784e(0x137)]={'getRevision':async({revisionId:_0x17d2e7})=>(await this[_0x58784e(0xd4)](),await this[_0x58784e(0xfa)][_0x58784e(0xcc)](_0x17d2e7)),'updateRevisions':async _0x152a03=>{const _0xd7c43f=_0x58784e;await this[_0xd7c43f(0xd4)]();const _0xb841e8=this[_0xd7c43f(0x118)][_0xd7c43f(0xd1)];if(_0xafc5df&&0x1===_0x152a03[_0xd7c43f(0xd8)]&&_0x152a03[0x0]['id']===_0xb841e8['id'])return _0x152a03;for(const _0x1ecb16 of _0x152a03)_0x1ecb16['id']===_0xb841e8['id']&&(_0x1ecb16[_0xd7c43f(0x12e)]=_0x1ecb16[_0xd7c43f(0xe5)]===_0x1ecb16[_0xd7c43f(0x13e)]);return this[_0xd7c43f(0xfa)][_0xd7c43f(0x110)](_0x152a03,this[_0xd7c43f(0x119)])[_0xd7c43f(0x129)](_0x23ed4d=>(this[_0xd7c43f(0x119)]=_0x23ed4d,_0x152a03))[_0xd7c43f(0xe4)](_0x1a9f73=>{const _0x367f0a=_0xd7c43f;if(I(_0x1a9f73)||_0x367f0a(0xd5)===_0x1a9f73[_0x367f0a(0x120)]&&void 0x0!==_0x1a9f73[_0x367f0a(0xec)][_0x367f0a(0x133)]){for(const _0x5e5fc0 of _0x152a03){!this[_0x367f0a(0x118)][_0x367f0a(0x114)][_0x367f0a(0xcc)](_0x5e5fc0['id'])||this[_0x367f0a(0x118)][_0x367f0a(0xf5)](_0x5e5fc0['id'],_0x5e5fc0,!0x1);}if(I(_0x1a9f73))throw _0x1a9f73;return _0x152a03;}throw _0x1a9f73;});}},this[_0x58784e(0xf0)](this[_0x58784e(0xfa)],_0x58784e(0xe3),(_0x270cde,{revisionsData:_0x265f90,requestId:_0x1d29c7})=>{const _0x3cc221=_0x58784e;Math[_0x3cc221(0xd9)](..._0x265f90[_0x3cc221(0xdb)](_0x450aa9=>_0x450aa9[_0x3cc221(0x13e)]))>this[_0x3cc221(0xfc)]()-0x1?this[_0x3cc221(0x107)]()[_0x3cc221(0x129)](()=>{const _0x3184b5=_0x3cc221;this[_0x3184b5(0x113)](_0x265f90,_0x1d29c7);}):this[_0x3cc221(0x113)](_0x265f90,_0x1d29c7);});const {revisions:_0x3907d7,requestId:_0x2f75c6}=await this[_0x58784e(0xfa)][_0x58784e(0x132)](_0x25bd56[_0x58784e(0xdc)]);_0x25bd56[_0x58784e(0xd3)](this),this[_0x58784e(0x119)]=_0x2f75c6,await this[_0x58784e(0x124)](_0x3907d7);for(const _0x178aaa of _0x3907d7)this[_0x58784e(0x118)][_0x58784e(0x139)](_0x178aaa);this[_0x58784e(0xf0)](_0x4c05fe,_0x58784e(0x112),(_0x181616,_0x291a2f,_0x5ce55c)=>{const _0x11f49e=_0x58784e;_0x5ce55c&&(this[_0x11f49e(0xef)]=_0x4c05fe[_0x11f49e(0x135)],_0x181616[_0x11f49e(0xf1)]());}),this[_0x58784e(0x118)][_0x58784e(0x100)](_0x58784e(0x12d))['to'](_0x25bd56,_0x58784e(0xf4),_0x11ae52=>_0x11ae52===_0x3c72ab[_0x58784e(0x121)]);}async[_0x23be42(0x126)](){const _0xc972e=_0x23be42,_0x5a9dad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x162c95),_0x4683ad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x2cff4b),_0x3a5ca1=async()=>{const _0x590095=_0xc972e,_0x2b08b4=this[_0x590095(0x118)][_0x590095(0xd1)],_0x82ecfc=_0x2b08b4['id'],_0x567688=_0x82ecfc!==_0x4683ad[_0x590095(0x115)];if(_0x567688){const _0x85cde9=_0x4683ad[_0x590095(0x135)]-this[_0x590095(0xef)],_0x3e8786=this[_0x590095(0xfc)]();this[_0x590095(0x118)][_0x590095(0x11c)][_0x590095(0xe7)]();if(_0x2b08b4[_0x590095(0x13e)]+_0x85cde9!==_0x3e8786){const _0x590587=_0x2b08b4[_0x590095(0xe5)]+_0x85cde9,_0x17b9d5=this[_0x590095(0x12f)][_0x590095(0x10f)][_0x590095(0x136)](_0x100d9e),_0x545004=this[_0x590095(0x118)][_0x590095(0x108)]({'revision':_0x2b08b4,'from':_0x590587,'to':_0x3e8786});_0x545004['id']=_0x2b08b4['id'];const _0x7f2bb7=_0x545004[_0x590095(0xee)][_0x590095(0xdb)](_0x597f7c=>_0x17b9d5[_0x590095(0x125)](_0x597f7c));_0x2b08b4[_0x590095(0xe6)]({..._0x545004,'authors':_0x7f2bb7},!0x0),this[_0x590095(0x118)][_0x590095(0xf5)](_0x2b08b4['id'],_0x545004,!0x0);}this[_0x590095(0x118)][_0x590095(0x11f)]=_0x3e8786,(_0x2b08b4[_0x590095(0x13e)]===_0x2b08b4[_0x590095(0xe5)]&&!this[_0x590095(0x118)][_0x590095(0x101)][_0x590095(0xff)](_0x82ecfc)&&this[_0x590095(0x118)][_0x590095(0x114)][_0x590095(0xeb)][_0x590095(0x102)](_0x82ecfc),this[_0x590095(0x118)][_0x590095(0x111)](_0x3e8786));}const {revisions:_0x1adda3,requestId:_0x592b3e}=await this[_0x590095(0xfa)][_0x590095(0x126)](_0x5a9dad[_0x590095(0xdc)],this[_0x590095(0x119)]);_0x567688&&_0x1adda3[_0x590095(0xd8)]>0x0?_0x4683ad[_0x590095(0xed)]():(await this[_0x590095(0x124)](_0x1adda3),this[_0x590095(0x113)](_0x1adda3,_0x592b3e),this[_0x590095(0x118)][_0x590095(0xd2)]());};return _0x4683ad[_0xc972e(0x10c)]?_0x3a5ca1():new Promise((_0x5b12f1,_0x4869c1)=>{const _0x578060=_0xc972e;_0x4683ad[_0x578060(0xd6)](_0x578060(0x112),()=>{const _0x3f40bc=_0x578060;_0x3a5ca1()[_0x3f40bc(0x129)](_0x5b12f1)[_0x3f40bc(0xe4)](_0x4869c1);});});}[_0x23be42(0x131)](){const _0x3f8777=_0x23be42;super[_0x3f8777(0x131)]();}async[_0x23be42(0xd4)](){const _0x19f343=_0x23be42;this[_0x19f343(0xfa)][_0x19f343(0xf6)]||await new Promise(_0x24b652=>{const _0x76408a=_0x19f343;this[_0x76408a(0xf0)](this[_0x76408a(0xfa)],_0x76408a(0x12c),_0x5c8147=>{const _0x28c99f=_0x76408a;_0x5c8147[_0x28c99f(0xf1)](),_0x24b652();});});}[_0x23be42(0xfc)](){const _0x5b7103=_0x23be42,_0x2ceac2=this[_0x5b7103(0x12f)][_0x5b7103(0x10f)][_0x5b7103(0x136)](_0x2cff4b)[_0x5b7103(0xfe)][_0x5b7103(0x109)]()[_0x5b7103(0x13c)]();for(const _0x55adde of _0x2ceac2)if(_0x5b7103(0x117)!==_0x55adde[_0x5b7103(0xe2)]||_0x55adde[_0x5b7103(0x128)])return _0x55adde[_0x5b7103(0xcd)]+0x1;}[_0x23be42(0x107)](){const _0x17f0af=_0x23be42,_0x1ddf8d=this[_0x17f0af(0x12f)][_0x17f0af(0x10f)][_0x17f0af(0x136)](_0x2cff4b);return new Promise(_0x1961aa=>{const _0x195d8e=_0x17f0af;_0x1ddf8d[_0x195d8e(0xea)]?_0x1ddf8d[_0x195d8e(0xd6)](_0x195d8e(0x116),()=>{const _0x2827d7=_0x195d8e;_0x1961aa(this[_0x2827d7(0xfc)]());}):_0x1961aa(this[_0x195d8e(0xfc)]());});}[_0x23be42(0x113)](_0x6846ab,_0x460a78){const _0x18b527=_0x23be42,_0x398869=this[_0x18b527(0x118)][_0x18b527(0x114)];this[_0x18b527(0x119)]=_0x460a78;for(const _0x37b022 of _0x6846ab){const _0x12a83b=_0x398869[_0x18b527(0xcc)](_0x37b022['id']);if(_0x12a83b){if((_0x37b022[_0x18b527(0xe5)]||_0x37b022[_0x18b527(0x13e)])&&(_0x37b022[_0x18b527(0xd7)]=null),_0x12a83b===this[_0x18b527(0x118)][_0x18b527(0xd1)]){const _0x5957cf=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0x13e)],_0x37b022[_0x18b527(0x13e)]),_0x1e3b6b=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0xe5)],_0x37b022[_0x18b527(0xe5)]);let _0x321839;_0x12a83b[_0x18b527(0x13e)]===_0x37b022[_0x18b527(0x13e)]&&_0x12a83b[_0x18b527(0xe5)]===_0x37b022[_0x18b527(0xe5)]?(_0x321839=!0x0,this[_0x18b527(0xd0)](_0x37b022)):_0x37b022[_0x18b527(0x13e)]===_0x5957cf&&_0x37b022[_0x18b527(0xe5)]===_0x1e3b6b?_0x321839=!0x1:(_0x12a83b[_0x18b527(0x13e)]===_0x5957cf&&_0x12a83b[_0x18b527(0xe5)]===_0x1e3b6b||this[_0x18b527(0x13b)]({'revision':_0x12a83b,'from':_0x1e3b6b,'to':_0x5957cf}),_0x321839=!0x0),_0x321839&&(delete _0x37b022[_0x18b527(0xe5)],delete _0x37b022[_0x18b527(0x13e)],delete _0x37b022[_0x18b527(0xd7)],delete _0x37b022[_0x18b527(0x10d)],delete _0x37b022[_0x18b527(0xee)]);}this[_0x18b527(0x118)][_0x18b527(0x103)](_0x37b022),this[_0x18b527(0xd0)](_0x37b022);}else this[_0x18b527(0x118)][_0x18b527(0x139)](_0x37b022);}const _0xb95af1=_0x398869[_0x18b527(0x13d)]();_0xb95af1[_0x18b527(0x13c)]();for(let _0x307bb5=0x0;_0x307bb5<_0xb95af1[_0x18b527(0xd8)]-0x1;_0x307bb5++){const _0x4c8bb1=_0xb95af1[_0x307bb5],_0x1f7586=_0xb95af1[_0x307bb5+0x1];if(_0x4c8bb1[_0x18b527(0xe5)]<_0x1f7586[_0x18b527(0x13e)]){const _0x456782=_0x1f7586[_0x18b527(0x13e)],_0x4a3cfd=Math[_0x18b527(0xd9)](_0x456782,_0x4c8bb1[_0x18b527(0x13e)]);this[_0x18b527(0x13b)]({'revision':_0x4c8bb1,'from':_0x456782,'to':_0x4a3cfd});}}}[_0x23be42(0x13b)]({revision:_0x4c4a87,from:_0x24f465,to:_0x453d64}={}){const _0x37a1e9=_0x23be42,_0x11e2c2=this[_0x37a1e9(0x12f)][_0x37a1e9(0x10f)][_0x37a1e9(0x136)](_0x100d9e),_0x426871=this[_0x37a1e9(0x118)][_0x37a1e9(0x108)]({'revision':_0x4c4a87,'from':_0x24f465,'to':_0x453d64});_0x426871[_0x37a1e9(0x106)]=_0x426871[_0x37a1e9(0xee)][_0x37a1e9(0xdb)](_0x1bb8a2=>_0x11e2c2[_0x37a1e9(0x125)](_0x1bb8a2)),_0x4c4a87[_0x37a1e9(0xe6)](_0x426871);}[_0x23be42(0xd0)](_0x276bc5){const _0x578c5e=_0x23be42,_0x21555d={};_0x21555d['id']=_0x276bc5['id'];for(const _0x4f57b8 of Object[_0x578c5e(0xf9)](_0x276bc5))'id'!==_0x4f57b8&&(_0x21555d[_0x4f57b8]=void 0x0);this[_0x578c5e(0x118)][_0x578c5e(0xf5)](_0x21555d['id'],_0x21555d,!0x0);}async[_0x23be42(0x124)](_0x49c0ba){const _0x475301=_0x23be42,_0x418db7=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x100d9e),{connection:_0x360f93}=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x162c95),_0x44c90a=new Set();for(const _0x4ced7f of _0x49c0ba){for(const _0x1ed355 of _0x4ced7f[_0x475301(0xee)])_0x108da7(_0x1ed355);_0x4ced7f[_0x475301(0x10e)]&&_0x108da7(_0x4ced7f[_0x475301(0x10e)]);}if(0x0===_0x44c90a[_0x475301(0xdf)])return;const _0xb9d596=await _0x7d71a0[_0x475301(0x134)](_0x360f93,Array[_0x475301(0x11a)](_0x44c90a));for(const _0x48f1c0 of _0xb9d596)_0x418db7[_0x475301(0x125)](_0x48f1c0['id'])||_0x418db7[_0x475301(0xf8)](_0x48f1c0);function _0x108da7(_0x57e61e){const _0x2407cd=_0x475301;_0x418db7[_0x2407cd(0x125)](_0x57e61e)||_0x44c90a[_0x2407cd(0xda)](_0x57e61e);}}}function I(_0x22a500){const _0x15253c=_0x23be42;return _0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xde))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xf3))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0x10a));}
23
+ const _0x3707a9=_0x1055;(function(_0x42c95f,_0x499a6e){const _0x344203=_0x1055,_0x3b23e2=_0x42c95f();while(!![]){try{const _0x7cb84e=-parseInt(_0x344203(0x21c))/0x1*(parseInt(_0x344203(0x1da))/0x2)+parseInt(_0x344203(0x1e4))/0x3+-parseInt(_0x344203(0x218))/0x4+-parseInt(_0x344203(0x1e3))/0x5*(parseInt(_0x344203(0x24d))/0x6)+-parseInt(_0x344203(0x231))/0x7+-parseInt(_0x344203(0x245))/0x8*(parseInt(_0x344203(0x1ff))/0x9)+parseInt(_0x344203(0x222))/0xa;if(_0x7cb84e===_0x499a6e)break;else _0x3b23e2['push'](_0x3b23e2['shift']());}catch(_0x30b971){_0x3b23e2['push'](_0x3b23e2['shift']());}}}(_0x3f08,0xe6bbd));import{Plugin as _0x5968cd}from'ckeditor5/src/core.js';import{version as _0x3cf82a}from'ckeditor5/src/utils.js';import{Users as _0x5c3dd1}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4c538c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5605e7}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3f08(){const _0x4ad8cd=['_isConnected','getMany','baseVersion','3139885zgTrtK','authors','repository','change:_isPendingUpdate','creatorId','_isPendingUpdate','_revisionHistoryService','state','_handleRevisionsUpdate','400','_fetchMissingUsers','max','pluginName','size','listenTo','_fixRevision','connection','startsWith','CloudServicesRevisionHistoryAdapter','collaboration.channelId','2056yBeQYZ','_preventResendingRevisionData','marker','getOperations','type','serverHistory','addToReconnectionStack','isOfficialPlugin','36mJmWDk','66870TQHODm','code','setRevisionData','init','_lastRequestId','diffData','_revisionDataBuilder','_createCurrentRevision','setSource','371460QjfFyc','5004366FtEDav','connect','getUser','addUser','adapter','catch','RevisionHistoryService','cloudServices.bundleVersion','isPremiumPlugin','_bufferUpdate','bind','buildRevisionData','get','editor','authorsIds','config','destroy','isConnected','revisionsUpdated','_bufferedUpdates','currentRevision','_oldOffset','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','then','off','getRevisions','remove','6471MlBTIp','requires','_revisions','toVersion','cloud-services-internal-error:\x20Not\x20connected.','sendBufferedUpdates','_waitForServiceReady','once','data','isEmptyCurrent','reverse','getRevision','isBundleUploaded','addRevisionData','CONNECTED','sessionId','_offset','from','add','_revisionTracker','_update','reInit','fromVersion','message','RevisionHistory','7230800hdejGw','has','length','connected','30aNiLDJ','plugins','keys','updateRevisions','affectsData','_handleReconnectionError','31668030sSikbc','isEnabled','createdAt','_startingVersion','change:_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','RevisionTracker','wrongRequestId','_getLatestVersionFromServerOperations','map','_getLatestVersion'];_0x3f08=function(){return _0x4ad8cd;};return _0x3f08();}function _0x1055(_0x21b903,_0x5560e9){const _0x3f0837=_0x3f08();return _0x1055=function(_0x105536,_0x49bd45){_0x105536=_0x105536-0x1da;let _0xb72658=_0x3f0837[_0x105536];return _0xb72658;},_0x1055(_0x21b903,_0x5560e9);}import{Sessions as _0x27665a}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x538cc4,RevisionHistoryService as _0x7e46d4,User as _0x579d3a,WEB_SOCKET_GATEWAY_STATES as _0x27c565}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5968cd{static [_0x3707a9(0x1ea)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x7e46d4)());[_0x3707a9(0x1de)];[_0x3707a9(0x212)];[_0x3707a9(0x237)];[_0x3707a9(0x1f9)];static get[_0x3707a9(0x200)](){const _0x16dcbf=_0x3707a9;return[_0x5605e7,_0x4c538c,_0x16dcbf(0x217),_0x27665a,_0x5c3dd1];}static get[_0x3707a9(0x23d)](){const _0x4a9fb0=_0x3707a9;return _0x4a9fb0(0x243);}static get[_0x3707a9(0x24c)](){return!0x0;}static get[_0x3707a9(0x1ec)](){return!0x0;}constructor(_0x5bda7a){const _0x154b7b=_0x3707a9;super(_0x5bda7a);const _0x16f9ea=this[_0x154b7b(0x1f1)][_0x154b7b(0x1f3)][_0x154b7b(0x1f0)](_0x154b7b(0x244));this[_0x154b7b(0x1de)]=null,this[_0x154b7b(0x212)]=this[_0x154b7b(0x1f1)][_0x154b7b(0x21d)][_0x154b7b(0x1f0)](_0x154b7b(0x229)),this[_0x154b7b(0x237)]=new CloudServicesRevisionHistoryAdapter[(_0x154b7b(0x1ea))](_0x16f9ea);}async[_0x3707a9(0x1dd)](){const _0x2a4c55=_0x3707a9,_0x5dd87c=this[_0x2a4c55(0x1f1)][_0x2a4c55(0x21d)][_0x2a4c55(0x1f0)](_0x4c538c),_0x1b57d2=_0x5dd87c[_0x2a4c55(0x24a)],_0x4418fd=this[_0x2a4c55(0x1f1)][_0x2a4c55(0x21d)][_0x2a4c55(0x1f0)](_0x5605e7);this[_0x2a4c55(0x212)][_0x2a4c55(0x1e2)]({'history':_0x1b57d2,'getLatestVersion':()=>this[_0x2a4c55(0x22d)](),'getCurrentRevisionId':()=>_0x5dd87c[_0x2a4c55(0x20e)]});const _0x28bff8=this[_0x2a4c55(0x1f1)][_0x2a4c55(0x1f3)][_0x2a4c55(0x1f0)](_0x2a4c55(0x1eb))||_0x3cf82a,_0x50baed=await _0x538cc4[_0x2a4c55(0x20b)](_0x4418fd[_0x2a4c55(0x241)],_0x28bff8);this[_0x2a4c55(0x1f1)][_0x2a4c55(0x21d)][_0x2a4c55(0x1f0)](_0x2a4c55(0x217))[_0x2a4c55(0x1e8)]={'getRevision':async({revisionId:_0x4153ba})=>(await this[_0x2a4c55(0x205)](),await this[_0x2a4c55(0x237)][_0x2a4c55(0x20a)](_0x4153ba)),'updateRevisions':async _0x31ad3e=>{const _0x37bca1=_0x2a4c55;await this[_0x37bca1(0x205)]();const _0x4ba529=this[_0x37bca1(0x212)][_0x37bca1(0x1f8)];if(_0x50baed&&0x1===_0x31ad3e[_0x37bca1(0x21a)]&&_0x31ad3e[0x0]['id']===_0x4ba529['id'])return _0x31ad3e;for(const _0xbe0820 of _0x31ad3e)_0xbe0820['id']===_0x4ba529['id']&&(_0xbe0820[_0x37bca1(0x208)]=_0xbe0820[_0x37bca1(0x215)]===_0xbe0820[_0x37bca1(0x202)]);return this[_0x37bca1(0x237)][_0x37bca1(0x21f)](_0x31ad3e,this[_0x37bca1(0x1de)])[_0x37bca1(0x1fb)](_0x1c4b7d=>(this[_0x37bca1(0x1de)]=_0x1c4b7d,_0x31ad3e))[_0x37bca1(0x1e9)](_0x5d3a13=>{const _0x104795=_0x37bca1;if(q(_0x5d3a13)||_0x104795(0x23a)===_0x5d3a13[_0x104795(0x1db)]&&void 0x0!==_0x5d3a13[_0x104795(0x207)][_0x104795(0x22a)]){for(const _0x5d5f1c of _0x31ad3e){!this[_0x104795(0x212)][_0x104795(0x233)][_0x104795(0x20a)](_0x5d5f1c['id'])||this[_0x104795(0x212)][_0x104795(0x1ed)](_0x5d5f1c['id'],_0x5d5f1c,!0x1);}if(q(_0x5d3a13))throw _0x5d3a13;return _0x31ad3e;}throw _0x5d3a13;});}},this[_0x2a4c55(0x23f)](this[_0x2a4c55(0x237)],_0x2a4c55(0x1f6),(_0x145e64,{revisionsData:_0x32c599,requestId:_0x267181})=>{const _0x3f3ad4=_0x2a4c55;Math[_0x3f3ad4(0x23c)](..._0x32c599[_0x3f3ad4(0x22c)](_0x2e1891=>_0x2e1891[_0x3f3ad4(0x202)]))>this[_0x3f3ad4(0x22b)]()-0x1?this[_0x3f3ad4(0x22d)]()[_0x3f3ad4(0x1fb)](()=>{const _0x345f3c=_0x3f3ad4;this[_0x345f3c(0x239)](_0x32c599,_0x267181);}):this[_0x3f3ad4(0x239)](_0x32c599,_0x267181);});const {revisions:_0x4e38af,requestId:_0x3068ab}=await this[_0x2a4c55(0x237)][_0x2a4c55(0x1e5)](_0x4418fd[_0x2a4c55(0x241)]);_0x4418fd[_0x2a4c55(0x24b)](this),this[_0x2a4c55(0x1de)]=_0x3068ab,await this[_0x2a4c55(0x23b)](_0x4e38af);for(const _0x336aa8 of _0x4e38af)this[_0x2a4c55(0x212)][_0x2a4c55(0x20c)](_0x336aa8);this[_0x2a4c55(0x23f)](_0x5dd87c,_0x2a4c55(0x226),(_0x28c4a6,_0x33f3b6,_0xe53380)=>{const _0x2b7b0a=_0x2a4c55;_0xe53380&&(this[_0x2b7b0a(0x1f9)]=_0x5dd87c[_0x2b7b0a(0x20f)],_0x28c4a6[_0x2b7b0a(0x1fc)]());}),this[_0x2a4c55(0x212)][_0x2a4c55(0x1ee)](_0x2a4c55(0x223))['to'](_0x4418fd,_0x2a4c55(0x238),_0xf622bf=>_0xf622bf===_0x27c565[_0x2a4c55(0x20d)]);}async[_0x3707a9(0x228)](){const _0x2c2bf5=_0x3707a9,_0x4518a3=this[_0x2c2bf5(0x1f1)][_0x2c2bf5(0x21d)][_0x2c2bf5(0x1f0)](_0x5605e7),_0x471752=this[_0x2c2bf5(0x1f1)][_0x2c2bf5(0x21d)][_0x2c2bf5(0x1f0)](_0x4c538c),_0xc03ca2=async()=>{const _0x3ed117=_0x2c2bf5,_0x2c1efc=this[_0x3ed117(0x212)][_0x3ed117(0x1f8)],_0x2cbe16=_0x2c1efc['id'],_0x341c80=_0x2cbe16!==_0x471752[_0x3ed117(0x20e)];if(_0x341c80){const _0x3016a3=_0x471752[_0x3ed117(0x20f)]-this[_0x3ed117(0x1f9)],_0x5d4d14=this[_0x3ed117(0x22b)]();this[_0x3ed117(0x212)][_0x3ed117(0x1e0)][_0x3ed117(0x214)]();if(_0x2c1efc[_0x3ed117(0x202)]+_0x3016a3!==_0x5d4d14){const _0x457d28=_0x2c1efc[_0x3ed117(0x215)]+_0x3016a3,_0x95a133=this[_0x3ed117(0x1f1)][_0x3ed117(0x21d)][_0x3ed117(0x1f0)](_0x5c3dd1),_0x66bc0=this[_0x3ed117(0x212)][_0x3ed117(0x1ef)]({'revision':_0x2c1efc,'from':_0x457d28,'to':_0x5d4d14});_0x66bc0['id']=_0x2c1efc['id'];const _0x5b7846=_0x66bc0[_0x3ed117(0x1f2)][_0x3ed117(0x22c)](_0x58cc21=>_0x95a133[_0x3ed117(0x1e6)](_0x58cc21));_0x2c1efc[_0x3ed117(0x213)]({..._0x66bc0,'authors':_0x5b7846},!0x0),this[_0x3ed117(0x212)][_0x3ed117(0x1ed)](_0x2c1efc['id'],_0x66bc0,!0x0);}this[_0x3ed117(0x212)][_0x3ed117(0x225)]=_0x5d4d14,(_0x2c1efc[_0x3ed117(0x202)]===_0x2c1efc[_0x3ed117(0x215)]&&!this[_0x3ed117(0x212)][_0x3ed117(0x1f7)][_0x3ed117(0x219)](_0x2cbe16)&&this[_0x3ed117(0x212)][_0x3ed117(0x233)][_0x3ed117(0x201)][_0x3ed117(0x1fe)](_0x2cbe16),this[_0x3ed117(0x212)][_0x3ed117(0x1e1)](_0x5d4d14));}const {revisions:_0xca7302,requestId:_0x24565d}=await this[_0x3ed117(0x237)][_0x3ed117(0x228)](_0x4518a3[_0x3ed117(0x241)],this[_0x3ed117(0x1de)]);_0x341c80&&_0xca7302[_0x3ed117(0x21a)]>0x0?_0x471752[_0x3ed117(0x221)]():(await this[_0x3ed117(0x23b)](_0xca7302),this[_0x3ed117(0x239)](_0xca7302,_0x24565d),this[_0x3ed117(0x212)][_0x3ed117(0x204)]());};return _0x471752[_0x2c2bf5(0x22e)]?_0xc03ca2():new Promise((_0x253d10,_0x2c4564)=>{const _0x381ec8=_0x2c2bf5;_0x471752[_0x381ec8(0x206)](_0x381ec8(0x226),()=>{const _0x151a29=_0x381ec8;_0xc03ca2()[_0x151a29(0x1fb)](_0x253d10)[_0x151a29(0x1e9)](_0x2c4564);});});}[_0x3707a9(0x1f4)](){const _0x5b8d9d=_0x3707a9;super[_0x5b8d9d(0x1f4)]();}async[_0x3707a9(0x205)](){const _0x560ef7=_0x3707a9;this[_0x560ef7(0x237)][_0x560ef7(0x1f5)]||await new Promise(_0x3c2a6f=>{const _0x327097=_0x560ef7;this[_0x327097(0x23f)](this[_0x327097(0x237)],_0x327097(0x21b),_0x16724f=>{const _0x19f0bd=_0x327097;_0x16724f[_0x19f0bd(0x1fc)](),_0x3c2a6f();});});}[_0x3707a9(0x22b)](){const _0x47bf11=_0x3707a9,_0x20cb1c=this[_0x47bf11(0x1f1)][_0x47bf11(0x21d)][_0x47bf11(0x1f0)](_0x4c538c)[_0x47bf11(0x24a)][_0x47bf11(0x248)]()[_0x47bf11(0x209)]();for(const _0x2343d4 of _0x20cb1c)if(_0x47bf11(0x247)!==_0x2343d4[_0x47bf11(0x249)]||_0x2343d4[_0x47bf11(0x220)])return _0x2343d4[_0x47bf11(0x230)]+0x1;}[_0x3707a9(0x22d)](){const _0x5b0742=_0x3707a9,_0x4c5cf1=this[_0x5b0742(0x1f1)][_0x5b0742(0x21d)][_0x5b0742(0x1f0)](_0x4c538c);return new Promise(_0x522a5e=>{const _0x1d99bf=_0x5b0742;_0x4c5cf1[_0x1d99bf(0x236)]?_0x4c5cf1[_0x1d99bf(0x206)](_0x1d99bf(0x234),()=>{const _0xc6db07=_0x1d99bf;_0x522a5e(this[_0xc6db07(0x22b)]());}):_0x522a5e(this[_0x1d99bf(0x22b)]());});}[_0x3707a9(0x239)](_0x671f83,_0x3f945b){const _0x5ec7b0=_0x3707a9,_0xef3126=this[_0x5ec7b0(0x212)][_0x5ec7b0(0x233)];this[_0x5ec7b0(0x1de)]=_0x3f945b;for(const _0x5c4928 of _0x671f83){const _0x1ba8a2=_0xef3126[_0x5ec7b0(0x20a)](_0x5c4928['id']);if(_0x1ba8a2){if((_0x5c4928[_0x5ec7b0(0x215)]||_0x5c4928[_0x5ec7b0(0x202)])&&(_0x5c4928[_0x5ec7b0(0x1df)]=null),_0x1ba8a2===this[_0x5ec7b0(0x212)][_0x5ec7b0(0x1f8)]){const _0x1341ee=Math[_0x5ec7b0(0x23c)](_0x1ba8a2[_0x5ec7b0(0x202)],_0x5c4928[_0x5ec7b0(0x202)]),_0x259698=Math[_0x5ec7b0(0x23c)](_0x1ba8a2[_0x5ec7b0(0x215)],_0x5c4928[_0x5ec7b0(0x215)]);let _0x322988;_0x1ba8a2[_0x5ec7b0(0x202)]===_0x5c4928[_0x5ec7b0(0x202)]&&_0x1ba8a2[_0x5ec7b0(0x215)]===_0x5c4928[_0x5ec7b0(0x215)]?(_0x322988=!0x0,this[_0x5ec7b0(0x246)](_0x5c4928)):_0x5c4928[_0x5ec7b0(0x202)]===_0x1341ee&&_0x5c4928[_0x5ec7b0(0x215)]===_0x259698?_0x322988=!0x1:(_0x1ba8a2[_0x5ec7b0(0x202)]===_0x1341ee&&_0x1ba8a2[_0x5ec7b0(0x215)]===_0x259698||this[_0x5ec7b0(0x240)]({'revision':_0x1ba8a2,'from':_0x259698,'to':_0x1341ee}),_0x322988=!0x0),_0x322988&&(delete _0x5c4928[_0x5ec7b0(0x215)],delete _0x5c4928[_0x5ec7b0(0x202)],delete _0x5c4928[_0x5ec7b0(0x1df)],delete _0x5c4928[_0x5ec7b0(0x224)],delete _0x5c4928[_0x5ec7b0(0x1f2)]);}this[_0x5ec7b0(0x212)][_0x5ec7b0(0x1dc)](_0x5c4928),this[_0x5ec7b0(0x246)](_0x5c4928);}else this[_0x5ec7b0(0x212)][_0x5ec7b0(0x20c)](_0x5c4928);}const _0x260399=_0xef3126[_0x5ec7b0(0x1fd)]();_0x260399[_0x5ec7b0(0x209)]();for(let _0x384afd=0x0;_0x384afd<_0x260399[_0x5ec7b0(0x21a)]-0x1;_0x384afd++){const _0x34b9de=_0x260399[_0x384afd],_0x3605f=_0x260399[_0x384afd+0x1];if(_0x34b9de[_0x5ec7b0(0x215)]<_0x3605f[_0x5ec7b0(0x202)]){const _0x38a127=_0x3605f[_0x5ec7b0(0x202)],_0x19db51=Math[_0x5ec7b0(0x23c)](_0x38a127,_0x34b9de[_0x5ec7b0(0x202)]);this[_0x5ec7b0(0x240)]({'revision':_0x34b9de,'from':_0x38a127,'to':_0x19db51});}}}[_0x3707a9(0x240)]({revision:_0x4ff3b5,from:_0x28c917,to:_0x55076e}={}){const _0x330dd4=_0x3707a9,_0x21715e=this[_0x330dd4(0x1f1)][_0x330dd4(0x21d)][_0x330dd4(0x1f0)](_0x5c3dd1),_0x4ffecc=this[_0x330dd4(0x212)][_0x330dd4(0x1ef)]({'revision':_0x4ff3b5,'from':_0x28c917,'to':_0x55076e});_0x4ffecc[_0x330dd4(0x232)]=_0x4ffecc[_0x330dd4(0x1f2)][_0x330dd4(0x22c)](_0x12032a=>_0x21715e[_0x330dd4(0x1e6)](_0x12032a)),_0x4ff3b5[_0x330dd4(0x213)](_0x4ffecc);}[_0x3707a9(0x246)](_0x1f6254){const _0x2a801c=_0x3707a9,_0x56a2fb={};_0x56a2fb['id']=_0x1f6254['id'];for(const _0x287485 of Object[_0x2a801c(0x21e)](_0x1f6254))'id'!==_0x287485&&(_0x56a2fb[_0x287485]=void 0x0);this[_0x2a801c(0x212)][_0x2a801c(0x1ed)](_0x56a2fb['id'],_0x56a2fb,!0x0);}async[_0x3707a9(0x23b)](_0x4417c3){const _0x458b59=_0x3707a9,_0x215b71=this[_0x458b59(0x1f1)][_0x458b59(0x21d)][_0x458b59(0x1f0)](_0x5c3dd1),{connection:_0x2c479b}=this[_0x458b59(0x1f1)][_0x458b59(0x21d)][_0x458b59(0x1f0)](_0x5605e7),_0x5c91e2=new Set();for(const _0x4e85a6 of _0x4417c3){for(const _0x165cd4 of _0x4e85a6[_0x458b59(0x1f2)])_0x387c40(_0x165cd4);_0x4e85a6[_0x458b59(0x235)]&&_0x387c40(_0x4e85a6[_0x458b59(0x235)]);}if(0x0===_0x5c91e2[_0x458b59(0x23e)])return;const _0x195c18=await _0x579d3a[_0x458b59(0x22f)](_0x2c479b,Array[_0x458b59(0x210)](_0x5c91e2));for(const _0x2f62ee of _0x195c18)_0x215b71[_0x458b59(0x1e6)](_0x2f62ee['id'])||_0x215b71[_0x458b59(0x1e7)](_0x2f62ee);function _0x387c40(_0x58dd5a){const _0x5173e7=_0x458b59;_0x215b71[_0x5173e7(0x1e6)](_0x58dd5a)||_0x5c91e2[_0x5173e7(0x211)](_0x58dd5a);}}}function q(_0x1f73ee){const _0x1ae172=_0x3707a9;return _0x1f73ee[_0x1ae172(0x216)][_0x1ae172(0x242)](_0x1ae172(0x1fa))||_0x1f73ee[_0x1ae172(0x216)][_0x1ae172(0x242)](_0x1ae172(0x203))||_0x1f73ee[_0x1ae172(0x216)][_0x1ae172(0x242)](_0x1ae172(0x227));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x154813=_0x1d03;function _0x1d03(_0x4f623a,_0x12a321){var _0x92ddb4=_0x92dd();return _0x1d03=function(_0x1d0301,_0x5e1067){_0x1d0301=_0x1d0301-0x8b;var _0x258fb4=_0x92ddb4[_0x1d0301];return _0x258fb4;},_0x1d03(_0x4f623a,_0x12a321);}(function(_0x279ef7,_0x481919){var _0x14353d=_0x1d03,_0x5dba99=_0x279ef7();while(!![]){try{var _0x256926=-parseInt(_0x14353d(0x95))/0x1+-parseInt(_0x14353d(0x8f))/0x2+-parseInt(_0x14353d(0x9a))/0x3+-parseInt(_0x14353d(0x96))/0x4*(parseInt(_0x14353d(0x92))/0x5)+parseInt(_0x14353d(0x93))/0x6*(parseInt(_0x14353d(0x8d))/0x7)+-parseInt(_0x14353d(0x94))/0x8*(-parseInt(_0x14353d(0x97))/0x9)+-parseInt(_0x14353d(0x8e))/0xa*(parseInt(_0x14353d(0x99))/0xb);if(_0x256926===_0x481919)break;else _0x5dba99['push'](_0x5dba99['shift']());}catch(_0x17c3c5){_0x5dba99['push'](_0x5dba99['shift']());}}}(_0x92dd,0xb5a47));function _0x92dd(){var _0x205ce2=['76792iYrSmN','166985kNrnCZ','42888YvvpGs','999MeHfvQ','RealTimeCollaborativeRevisionHistory','11qRrgoy','414861uobqhR','requires','isOfficialPlugin','RevisionHistory','17269ItYhLC','511510FLwuJx','321610FHEQSq','isPremiumPlugin','pluginName','125kkBSjx','1128twGxvW'];_0x92dd=function(){return _0x205ce2;};return _0x92dd();}import{Plugin as _0x15f48f}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2ef7a9}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x4e5db4}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x15f48f{static get[_0x154813(0x9b)](){var _0x3cd772=_0x154813;return[_0x3cd772(0x8c),_0x2ef7a9,_0x4e5db4];}static get[_0x154813(0x91)](){var _0x2cd5b6=_0x154813;return _0x2cd5b6(0x98);}static get[_0x154813(0x8b)](){return!0x0;}static get[_0x154813(0x90)](){return!0x0;}}
23
+ var _0x2a6b8a=_0x14e4;(function(_0x5ba134,_0x2106fd){var _0x538df1=_0x14e4,_0x3fb906=_0x5ba134();while(!![]){try{var _0x35b755=parseInt(_0x538df1(0x1e7))/0x1+parseInt(_0x538df1(0x1e6))/0x2*(parseInt(_0x538df1(0x1ea))/0x3)+parseInt(_0x538df1(0x1ef))/0x4*(-parseInt(_0x538df1(0x1ee))/0x5)+-parseInt(_0x538df1(0x1ec))/0x6+-parseInt(_0x538df1(0x1e5))/0x7*(-parseInt(_0x538df1(0x1de))/0x8)+parseInt(_0x538df1(0x1ed))/0x9*(parseInt(_0x538df1(0x1e1))/0xa)+-parseInt(_0x538df1(0x1e4))/0xb*(parseInt(_0x538df1(0x1e0))/0xc);if(_0x35b755===_0x2106fd)break;else _0x3fb906['push'](_0x3fb906['shift']());}catch(_0xfb74e){_0x3fb906['push'](_0x3fb906['shift']());}}}(_0x3cae,0x6e864));function _0x14e4(_0x2abf3c,_0x577e27){var _0x3cae6d=_0x3cae();return _0x14e4=function(_0x14e42d,_0xdee6c4){_0x14e42d=_0x14e42d-0x1de;var _0x5ed80b=_0x3cae6d[_0x14e42d];return _0x5ed80b;},_0x14e4(_0x2abf3c,_0x577e27);}import{Plugin as _0x533b46}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x51153e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3cae(){var _0x5a2fe4=['10ZCtAnP','139036twtfHh','376dqKQIV','pluginName','13956BtLWGE','1336430aTikwk','RevisionHistory','RealTimeCollaborativeRevisionHistory','605WSdlcH','33446krfwrU','1804402EGZyRV','90786ndSEXj','requires','isPremiumPlugin','3nyFrxa','isOfficialPlugin','5391888XSARaM','18zkvBuD'];_0x3cae=function(){return _0x5a2fe4;};return _0x3cae();}import{RealTimeCollaborativeEditing as _0x4bb37f}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x533b46{static get[_0x2a6b8a(0x1e8)](){var _0x4c47dd=_0x2a6b8a;return[_0x4c47dd(0x1e2),_0x51153e,_0x4bb37f];}static get[_0x2a6b8a(0x1df)](){var _0x4d6c54=_0x2a6b8a;return _0x4d6c54(0x1e3);}static get[_0x2a6b8a(0x1eb)](){return!0x0;}static get[_0x2a6b8a(0x1e9)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4491e0=_0x5af0;(function(_0x1bc979,_0x31e156){const _0xaa64ce=_0x5af0,_0x22ae93=_0x1bc979();while(!![]){try{const _0x544543=-parseInt(_0xaa64ce(0xa0))/0x1+parseInt(_0xaa64ce(0xac))/0x2+parseInt(_0xaa64ce(0x9b))/0x3*(parseInt(_0xaa64ce(0xa4))/0x4)+parseInt(_0xaa64ce(0xa5))/0x5*(-parseInt(_0xaa64ce(0x74))/0x6)+-parseInt(_0xaa64ce(0x93))/0x7*(parseInt(_0xaa64ce(0x8b))/0x8)+parseInt(_0xaa64ce(0x81))/0x9*(parseInt(_0xaa64ce(0x97))/0xa)+parseInt(_0xaa64ce(0x8a))/0xb*(-parseInt(_0xaa64ce(0x84))/0xc);if(_0x544543===_0x31e156)break;else _0x22ae93['push'](_0x22ae93['shift']());}catch(_0x3aadbd){_0x22ae93['push'](_0x22ae93['shift']());}}}(_0x63d0,0xe9522));import{Plugin as _0x4f6cdc}from'ckeditor5/src/core.js';import{User as _0x2028a6,TrackChangesService as _0x14e8f6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3210c8}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4ccf9a}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3b9a6e}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x4f6cdc{static [_0x4491e0(0xa2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x14e8f6)());[_0x4491e0(0x91)];[_0x4491e0(0x85)];static get[_0x4491e0(0x94)](){const _0x5bd345=_0x4491e0;return[_0x4ccf9a,_0x5bd345(0xa3),_0x3210c8];}static get[_0x4491e0(0x6c)](){const _0x162411=_0x4491e0;return _0x162411(0x88);}static get[_0x4491e0(0x80)](){return!0x0;}static get[_0x4491e0(0x72)](){return!0x0;}constructor(_0x32ea8a){const _0x3df1e7=_0x4491e0;super(_0x32ea8a);const _0xd5ed67=this[_0x3df1e7(0x7f)][_0x3df1e7(0x6e)][_0x3df1e7(0x82)](_0x3df1e7(0x79));this[_0x3df1e7(0x91)]=new Map(),this[_0x3df1e7(0x85)]=new CloudServicesTrackChangesAdapter[(_0x3df1e7(0xa2))](_0xd5ed67);}[_0x4491e0(0x75)](){const _0x1f2431=_0x4491e0,_0x3534d9=this[_0x1f2431(0x7f)][_0x1f2431(0x9e)][_0x1f2431(0x82)](_0x3210c8),_0x31f01f=this[_0x1f2431(0x7f)][_0x1f2431(0x9e)][_0x1f2431(0x82)](_0x1f2431(0xa3));return _0x31f01f[_0x1f2431(0x8f)]={'getSuggestion':async _0x30964a=>{const _0x331f3a=_0x1f2431;await this[_0x331f3a(0x6d)]();const _0x3cae2c=await this[_0x331f3a(0x85)][_0x331f3a(0x82)](_0x30964a)[_0x331f3a(0x87)](B);return await this[_0x331f3a(0x83)]([_0x3cae2c]),_0x3cae2c;},'addSuggestion':async({id:_0x58784d,type:_0x1c76c0,data:_0x1b8ec8,originalSuggestionId:_0x512559,attributes:_0x5c5161})=>{const _0x989013=_0x1f2431;await this[_0x989013(0x6d)]();const _0x4bbfb0={'id':_0x58784d,'type':_0x1c76c0,'data':_0x1b8ec8,'originalSuggestionId':_0x512559,'attributes':_0x5c5161},_0x5a81f0=await this[_0x989013(0x85)][_0x989013(0xa6)](_0x58784d,_0x1c76c0,_0x1b8ec8,_0x512559,_0x5c5161)[_0x989013(0x87)](_0x20f4ed=>{if(I(_0x20f4ed))return new Promise(_0x55fd9b=>{const _0x3f6166=_0x5af0;this[_0x3f6166(0x91)][_0x3f6166(0xa7)](_0x58784d,{'resolve':_0x55fd9b,'suggestionData':_0x4bbfb0});});throw _0x20f4ed;});return this[_0x989013(0x91)][_0x989013(0xa1)](_0x58784d),_0x5a81f0;},'updateSuggestion':async(_0x396baa,_0x238324)=>{const _0x35d8d8=_0x1f2431;if(await this[_0x35d8d8(0x6d)](),_0x35d8d8(0x89)!==_0x238324[_0x35d8d8(0x7a)])return this[_0x35d8d8(0x85)][_0x35d8d8(0x71)](_0x396baa,_0x238324)[_0x35d8d8(0x87)](B);}},this[_0x1f2431(0x7b)](this[_0x1f2431(0x85)],_0x1f2431(0xa9),(_0x3fd0e5,_0x41c2fb)=>{const _0x4938fc=_0x1f2431;_0x31f01f[_0x4938fc(0x90)](_0x41c2fb['id'])&&(_0x31f01f[_0x4938fc(0x8d)](_0x41c2fb['id'])[_0x4938fc(0x9f)]=_0x41c2fb[_0x4938fc(0x9f)]);}),this[_0x1f2431(0x85)][_0x1f2431(0x92)](_0x3534d9[_0x1f2431(0x96)])[_0x1f2431(0xaa)](_0x57693c=>(_0x3534d9[_0x1f2431(0x76)](this),this[_0x1f2431(0x83)](_0x57693c)[_0x1f2431(0xaa)](()=>{const _0x429a51=_0x1f2431;for(const _0x3c4fc7 of _0x57693c){_0x31f01f[_0x429a51(0x70)](_0x3c4fc7)[_0x429a51(0x9c)]=!0x0;}})));}async[_0x4491e0(0x99)](){const _0x25e9fd=_0x4491e0,_0x16ce0f=this[_0x25e9fd(0x7f)][_0x25e9fd(0x9e)][_0x25e9fd(0x82)](_0x25e9fd(0xa3)),{connection:_0x35c05e}=this[_0x25e9fd(0x7f)][_0x25e9fd(0x9e)][_0x25e9fd(0x82)](_0x3210c8),_0x52222b=await this[_0x25e9fd(0x85)][_0x25e9fd(0x92)](_0x35c05e);await this[_0x25e9fd(0x83)](_0x52222b);for(const {suggestionData:_0xce8b5b,resolve:_0x3a61da}of this[_0x25e9fd(0x91)][_0x25e9fd(0x78)]()){let _0x162f45=_0x52222b[_0x25e9fd(0x7d)](_0x2a1a69=>_0x2a1a69['id']===_0xce8b5b['id']);_0x162f45||(_0x162f45=await this[_0x25e9fd(0x85)][_0x25e9fd(0xa6)](_0xce8b5b['id'],_0xce8b5b[_0x25e9fd(0x77)],_0xce8b5b[_0x25e9fd(0x9d)],_0xce8b5b[_0x25e9fd(0x9a)])),_0x3a61da(_0x162f45);}for(const _0x50a36b of _0x52222b)_0x16ce0f[_0x25e9fd(0x90)](_0x50a36b['id'])||_0x16ce0f[_0x25e9fd(0x70)](_0x50a36b);}async[_0x4491e0(0x6d)](){const _0x35b68e=_0x4491e0;this[_0x35b68e(0x85)][_0x35b68e(0x7e)]||await new Promise(_0x10347d=>{const _0x5b2110=_0x35b68e;this[_0x5b2110(0x7b)](this[_0x5b2110(0x85)],_0x5b2110(0x6b),_0xe82d61=>{const _0x3ea026=_0x5b2110;_0xe82d61[_0x3ea026(0xab)](),_0x10347d();});});}async[_0x4491e0(0x83)](_0x138a97){const _0x20c00f=_0x4491e0,_0x811e=this[_0x20c00f(0x7f)][_0x20c00f(0x9e)][_0x20c00f(0x82)](_0x3b9a6e),{connection:_0xb1289a}=this[_0x20c00f(0x7f)][_0x20c00f(0x9e)][_0x20c00f(0x82)](_0x3210c8),_0x4052d1=new Set();for(const {authorId:_0x29e2cf}of _0x138a97)_0x811e[_0x20c00f(0x98)](_0x29e2cf)||_0x4052d1[_0x20c00f(0xa6)](_0x29e2cf);if(0x0===_0x4052d1[_0x20c00f(0x6f)])return;const _0x3f3427=await _0x2028a6[_0x20c00f(0x73)](_0xb1289a,Array[_0x20c00f(0x86)](_0x4052d1));for(const _0x50e8d2 of _0x3f3427)_0x811e[_0x20c00f(0x98)](_0x50e8d2['id'])||_0x811e[_0x20c00f(0xa8)](_0x50e8d2);}}function B(_0x194e49){if(I(_0x194e49))return new Promise(()=>{});throw _0x194e49;}function _0x5af0(_0x2da785,_0x214a27){const _0x63d058=_0x63d0();return _0x5af0=function(_0x5af07a,_0x2563fe){_0x5af07a=_0x5af07a-0x6b;let _0x24e089=_0x63d058[_0x5af07a];return _0x24e089;},_0x5af0(_0x2da785,_0x214a27);}function _0x63d0(){const _0x4b2856=['_saved','data','plugins','attributes','173911hmTMEi','delete','TrackChangesService','TrackChangesEditing','1974636doVjIE','3268345jzoidR','add','set','addUser','suggestionUpdated','then','off','880574ilSEjr','connected','pluginName','_waitForServiceReady','config','size','addSuggestionData','update','isPremiumPlugin','getMany','6zDHZlr','init','addToReconnectionStack','type','values','collaboration.channelId','state','listenTo','cloud-services-internal-error:\x20Request\x20timeout.','find','isConnected','editor','isOfficialPlugin','994671ayRLMZ','get','_fetchMissingUsersForThreads','181428FnzpQq','_trackChangesService','from','catch','CloudServicesTrackChangesAdapter','open','110OoAkLR','2985016USlQXf','cloud-services-internal-error:\x20Not\x20connected.','getSuggestion','startsWith','adapter','hasSuggestion','_bufferedRequests','connect','35oWkiOX','requires','message','connection','170NRWCGH','getUser','reconnect','originalSuggestionId','9FWBubx'];_0x63d0=function(){return _0x4b2856;};return _0x63d0();}function I(_0x558d8b){const _0xcb7eb8=_0x4491e0;return _0x558d8b[_0xcb7eb8(0x95)][_0xcb7eb8(0x8e)](_0xcb7eb8(0x8c))||_0x558d8b[_0xcb7eb8(0x95)][_0xcb7eb8(0x8e)](_0xcb7eb8(0x7c));}
23
+ const _0x6968ce=_0x34bd;(function(_0x48b356,_0x300418){const _0x260ad2=_0x34bd,_0x93ab50=_0x48b356();while(!![]){try{const _0x3fbbd1=parseInt(_0x260ad2(0x1e1))/0x1*(parseInt(_0x260ad2(0x1ed))/0x2)+parseInt(_0x260ad2(0x20d))/0x3*(-parseInt(_0x260ad2(0x1e2))/0x4)+parseInt(_0x260ad2(0x200))/0x5+parseInt(_0x260ad2(0x1ff))/0x6+parseInt(_0x260ad2(0x1e4))/0x7*(parseInt(_0x260ad2(0x21b))/0x8)+-parseInt(_0x260ad2(0x1fd))/0x9+-parseInt(_0x260ad2(0x213))/0xa;if(_0x3fbbd1===_0x300418)break;else _0x93ab50['push'](_0x93ab50['shift']());}catch(_0x3a3b55){_0x93ab50['push'](_0x93ab50['shift']());}}}(_0x3e4c,0xece9a));import{Plugin as _0xe97a1}from'ckeditor5/src/core.js';import{User as _0x1489d4,TrackChangesService as _0x5150f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4a34a4}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xd0bb08}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x3e4c(){const _0x2ef72a=['startsWith','originalSuggestionId','from','pluginName','isConnected','cloud-services-internal-error:\x20Not\x20connected.','suggestionUpdated','isOfficialPlugin','off','_saved','connection','TrackChangesService','8893980dBzMhY','editor','1241088ZTivaJ','217170UEzQxn','getSuggestion','get','size','data','_waitForServiceReady','open','CloudServicesTrackChangesAdapter','type','collaboration.channelId','TrackChangesEditing','delete','values','78OksJVj','add','config','getUser','reconnect','connect','12884920GcaLTQ','isPremiumPlugin','adapter','addToReconnectionStack','init','getMany','state','addUser','3192Oryqhz','connected','then','plugins','cloud-services-internal-error:\x20Request\x20timeout.','update','128515KVsSZT','24772sHquhJ','_fetchMissingUsersForThreads','21581DGfiMy','addSuggestionData','requires','message','_trackChangesService','catch','attributes','find','listenTo','30FisirB','hasSuggestion','_bufferedRequests','set'];_0x3e4c=function(){return _0x2ef72a;};return _0x3e4c();}function _0x34bd(_0x1d5663,_0x248acb){const _0x3e4cd9=_0x3e4c();return _0x34bd=function(_0x34bdcc,_0x3c1d92){_0x34bdcc=_0x34bdcc-0x1e1;let _0x1669a4=_0x3e4cd9[_0x34bdcc];return _0x1669a4;},_0x34bd(_0x1d5663,_0x248acb);}import{Users as _0x319ff5}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0xe97a1{static [_0x6968ce(0x1fc)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5150f1)());[_0x6968ce(0x1ef)];[_0x6968ce(0x1e8)];static get[_0x6968ce(0x1e6)](){const _0x27b9b3=_0x6968ce;return[_0xd0bb08,_0x27b9b3(0x20a),_0x4a34a4];}static get[_0x6968ce(0x1f4)](){const _0x39cfb2=_0x6968ce;return _0x39cfb2(0x207);}static get[_0x6968ce(0x1f8)](){return!0x0;}static get[_0x6968ce(0x214)](){return!0x0;}constructor(_0xf061ab){const _0x23de2d=_0x6968ce;super(_0xf061ab);const _0x1171a0=this[_0x23de2d(0x1fe)][_0x23de2d(0x20f)][_0x23de2d(0x202)](_0x23de2d(0x209));this[_0x23de2d(0x1ef)]=new Map(),this[_0x23de2d(0x1e8)]=new CloudServicesTrackChangesAdapter[(_0x23de2d(0x1fc))](_0x1171a0);}[_0x6968ce(0x217)](){const _0x28bbcf=_0x6968ce,_0x113e01=this[_0x28bbcf(0x1fe)][_0x28bbcf(0x21e)][_0x28bbcf(0x202)](_0x4a34a4),_0x224042=this[_0x28bbcf(0x1fe)][_0x28bbcf(0x21e)][_0x28bbcf(0x202)](_0x28bbcf(0x20a));return _0x224042[_0x28bbcf(0x215)]={'getSuggestion':async _0x55f201=>{const _0x162894=_0x28bbcf;await this[_0x162894(0x205)]();const _0x1ba56c=await this[_0x162894(0x1e8)][_0x162894(0x202)](_0x55f201)[_0x162894(0x1e9)](k);return await this[_0x162894(0x1e3)]([_0x1ba56c]),_0x1ba56c;},'addSuggestion':async({id:_0x52c91d,type:_0x3510b5,data:_0x2673e3,originalSuggestionId:_0x2de184,attributes:_0x5624ca})=>{const _0x3bfeaa=_0x28bbcf;await this[_0x3bfeaa(0x205)]();const _0x768bd1={'id':_0x52c91d,'type':_0x3510b5,'data':_0x2673e3,'originalSuggestionId':_0x2de184,'attributes':_0x5624ca},_0x5d16c3=await this[_0x3bfeaa(0x1e8)][_0x3bfeaa(0x20e)](_0x52c91d,_0x3510b5,_0x2673e3,_0x2de184,_0x5624ca)[_0x3bfeaa(0x1e9)](_0x172122=>{if(q(_0x172122))return new Promise(_0x58f880=>{const _0x5f14af=_0x34bd;this[_0x5f14af(0x1ef)][_0x5f14af(0x1f0)](_0x52c91d,{'resolve':_0x58f880,'suggestionData':_0x768bd1});});throw _0x172122;});return this[_0x3bfeaa(0x1ef)][_0x3bfeaa(0x20b)](_0x52c91d),_0x5d16c3;},'updateSuggestion':async(_0x488300,_0x3c7466)=>{const _0x493d6e=_0x28bbcf;if(await this[_0x493d6e(0x205)](),_0x493d6e(0x206)!==_0x3c7466[_0x493d6e(0x219)])return this[_0x493d6e(0x1e8)][_0x493d6e(0x220)](_0x488300,_0x3c7466)[_0x493d6e(0x1e9)](k);}},this[_0x28bbcf(0x1ec)](this[_0x28bbcf(0x1e8)],_0x28bbcf(0x1f7),(_0x42765f,_0x26dfa3)=>{const _0x37eb4b=_0x28bbcf;_0x224042[_0x37eb4b(0x1ee)](_0x26dfa3['id'])&&(_0x224042[_0x37eb4b(0x201)](_0x26dfa3['id'])[_0x37eb4b(0x1ea)]=_0x26dfa3[_0x37eb4b(0x1ea)]);}),this[_0x28bbcf(0x1e8)][_0x28bbcf(0x212)](_0x113e01[_0x28bbcf(0x1fb)])[_0x28bbcf(0x21d)](_0x16029f=>(_0x113e01[_0x28bbcf(0x216)](this),this[_0x28bbcf(0x1e3)](_0x16029f)[_0x28bbcf(0x21d)](()=>{const _0x231004=_0x28bbcf;for(const _0x5d3cf7 of _0x16029f){_0x224042[_0x231004(0x1e5)](_0x5d3cf7)[_0x231004(0x1fa)]=!0x0;}})));}async[_0x6968ce(0x211)](){const _0x470dd2=_0x6968ce,_0x3d9e49=this[_0x470dd2(0x1fe)][_0x470dd2(0x21e)][_0x470dd2(0x202)](_0x470dd2(0x20a)),{connection:_0x1b56a7}=this[_0x470dd2(0x1fe)][_0x470dd2(0x21e)][_0x470dd2(0x202)](_0x4a34a4),_0x3ebadd=await this[_0x470dd2(0x1e8)][_0x470dd2(0x212)](_0x1b56a7);await this[_0x470dd2(0x1e3)](_0x3ebadd);for(const {suggestionData:_0x374fa3,resolve:_0x5847a6}of this[_0x470dd2(0x1ef)][_0x470dd2(0x20c)]()){let _0x20d41c=_0x3ebadd[_0x470dd2(0x1eb)](_0x3673e8=>_0x3673e8['id']===_0x374fa3['id']);_0x20d41c||(_0x20d41c=await this[_0x470dd2(0x1e8)][_0x470dd2(0x20e)](_0x374fa3['id'],_0x374fa3[_0x470dd2(0x208)],_0x374fa3[_0x470dd2(0x204)],_0x374fa3[_0x470dd2(0x1f2)])),_0x5847a6(_0x20d41c);}for(const _0x33edc6 of _0x3ebadd)_0x3d9e49[_0x470dd2(0x1ee)](_0x33edc6['id'])||_0x3d9e49[_0x470dd2(0x1e5)](_0x33edc6);}async[_0x6968ce(0x205)](){const _0x4781b5=_0x6968ce;this[_0x4781b5(0x1e8)][_0x4781b5(0x1f5)]||await new Promise(_0x14afb8=>{const _0x2b8963=_0x4781b5;this[_0x2b8963(0x1ec)](this[_0x2b8963(0x1e8)],_0x2b8963(0x21c),_0x1c9ca6=>{const _0xe819fd=_0x2b8963;_0x1c9ca6[_0xe819fd(0x1f9)](),_0x14afb8();});});}async[_0x6968ce(0x1e3)](_0x396374){const _0x4e3c95=_0x6968ce,_0x17c7c9=this[_0x4e3c95(0x1fe)][_0x4e3c95(0x21e)][_0x4e3c95(0x202)](_0x319ff5),{connection:_0x5b457e}=this[_0x4e3c95(0x1fe)][_0x4e3c95(0x21e)][_0x4e3c95(0x202)](_0x4a34a4),_0x286e2a=new Set();for(const {authorId:_0x3f6c27}of _0x396374)_0x17c7c9[_0x4e3c95(0x210)](_0x3f6c27)||_0x286e2a[_0x4e3c95(0x20e)](_0x3f6c27);if(0x0===_0x286e2a[_0x4e3c95(0x203)])return;const _0x3800c8=await _0x1489d4[_0x4e3c95(0x218)](_0x5b457e,Array[_0x4e3c95(0x1f3)](_0x286e2a));for(const _0x8ea871 of _0x3800c8)_0x17c7c9[_0x4e3c95(0x210)](_0x8ea871['id'])||_0x17c7c9[_0x4e3c95(0x21a)](_0x8ea871);}}function k(_0x2b55d3){if(q(_0x2b55d3))return new Promise(()=>{});throw _0x2b55d3;}function q(_0x6276f5){const _0x1085dc=_0x6968ce;return _0x6276f5[_0x1085dc(0x1e7)][_0x1085dc(0x1f1)](_0x1085dc(0x1f6))||_0x6276f5[_0x1085dc(0x1e7)][_0x1085dc(0x1f1)](_0x1085dc(0x21f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3825(_0x3489ca,_0x4be256){var _0xbb8faa=_0xbb8f();return _0x3825=function(_0x38259b,_0x12058c){_0x38259b=_0x38259b-0x65;var _0x470667=_0xbb8faa[_0x38259b];return _0x470667;},_0x3825(_0x3489ca,_0x4be256);}function _0xbb8f(){var _0x4b6b7f=['196688ChIvhw','isOfficialPlugin','2707455ovZHXm','3RuEGsY','isPremiumPlugin','TrackChanges','requires','RealTimeCollaborativeTrackChanges','38802MMoNKB','1605048PlnfZc','7478910aFOPkq','pluginName','21vwoHYe','151500ianUHk','3720177iKxgKO','8feNceV'];_0xbb8f=function(){return _0x4b6b7f;};return _0xbb8f();}var _0x1d2cab=_0x3825;(function(_0x576c6a,_0x14a4d9){var _0x1adf41=_0x3825,_0x51fde1=_0x576c6a();while(!![]){try{var _0x36d032=-parseInt(_0x1adf41(0x66))/0x1*(parseInt(_0x1adf41(0x73))/0x2)+parseInt(_0x1adf41(0x65))/0x3+-parseInt(_0x1adf41(0x6c))/0x4+parseInt(_0x1adf41(0x70))/0x5+-parseInt(_0x1adf41(0x6b))/0x6*(parseInt(_0x1adf41(0x6f))/0x7)+-parseInt(_0x1adf41(0x72))/0x8*(parseInt(_0x1adf41(0x71))/0x9)+parseInt(_0x1adf41(0x6d))/0xa;if(_0x36d032===_0x14a4d9)break;else _0x51fde1['push'](_0x51fde1['shift']());}catch(_0x1e42df){_0x51fde1['push'](_0x51fde1['shift']());}}}(_0xbb8f,0x86acc));import{Plugin as _0x22af9c}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2a8dd4}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x44e3f9}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x22af9c{static get[_0x1d2cab(0x69)](){var _0x53e9dd=_0x1d2cab;return[_0x44e3f9,_0x2a8dd4,_0x53e9dd(0x68)];}static get[_0x1d2cab(0x6e)](){var _0x412521=_0x1d2cab;return _0x412521(0x6a);}static get[_0x1d2cab(0x74)](){return!0x0;}static get[_0x1d2cab(0x67)](){return!0x0;}}
23
+ var _0x1a82ae=_0x22ce;function _0x5561(){var _0x4be370=['15346100LfIWjP','4akLLTd','2942202TbguBm','4674471pgDbPQ','30249DuxrZF','1330qBjZJZ','TrackChanges','232fvbtpV','pluginName','4llLTtY','7705780xZJFmG','isOfficialPlugin','requires','267365FKJihj','isPremiumPlugin','484762NSNlNI','RealTimeCollaborativeTrackChanges'];_0x5561=function(){return _0x4be370;};return _0x5561();}(function(_0x44d293,_0x34c8a0){var _0x52f427=_0x22ce,_0x5dd2e5=_0x44d293();while(!![]){try{var _0x50743c=parseInt(_0x52f427(0x1bb))/0x1*(-parseInt(_0x52f427(0x1be))/0x2)+parseInt(_0x52f427(0x1c0))/0x3+-parseInt(_0x52f427(0x1c6))/0x4*(-parseInt(_0x52f427(0x1c7))/0x5)+-parseInt(_0x52f427(0x1bf))/0x6+parseInt(_0x52f427(0x1b9))/0x7*(parseInt(_0x52f427(0x1c4))/0x8)+-parseInt(_0x52f427(0x1c1))/0x9*(parseInt(_0x52f427(0x1c2))/0xa)+-parseInt(_0x52f427(0x1bd))/0xb;if(_0x50743c===_0x34c8a0)break;else _0x5dd2e5['push'](_0x5dd2e5['shift']());}catch(_0x3319bd){_0x5dd2e5['push'](_0x5dd2e5['shift']());}}}(_0x5561,0xdcf04));import{Plugin as _0x2aec04}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x1abdaf}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x22ce(_0x7b3251,_0x485fd1){var _0x55619d=_0x5561();return _0x22ce=function(_0x22cec5,_0x5c91c5){_0x22cec5=_0x22cec5-0x1b9;var _0x24e1a1=_0x55619d[_0x22cec5];return _0x24e1a1;},_0x22ce(_0x7b3251,_0x485fd1);}import{RealTimeCollaborativeComments as _0xb09866}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2aec04{static get[_0x1a82ae(0x1c9)](){var _0x4edd6a=_0x1a82ae;return[_0xb09866,_0x1abdaf,_0x4edd6a(0x1c3)];}static get[_0x1a82ae(0x1c5)](){var _0x1c0ad7=_0x1a82ae;return _0x1c0ad7(0x1bc);}static get[_0x1a82ae(0x1c8)](){return!0x0;}static get[_0x1a82ae(0x1ba)](){return!0x0;}}