@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.6 → 46.0.0-alpha.8

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 _0x1b9384=_0x4e8b;(function(_0x1ab903,_0x14f286){const _0x263151=_0x4e8b,_0x55c7ef=_0x1ab903();while(!![]){try{const _0x2c44d3=parseInt(_0x263151(0x125))/0x1+-parseInt(_0x263151(0x143))/0x2*(-parseInt(_0x263151(0x121))/0x3)+parseInt(_0x263151(0x139))/0x4+-parseInt(_0x263151(0x118))/0x5+parseInt(_0x263151(0x11e))/0x6*(-parseInt(_0x263151(0x107))/0x7)+-parseInt(_0x263151(0x13b))/0x8+parseInt(_0x263151(0x12d))/0x9*(parseInt(_0x263151(0x104))/0xa);if(_0x2c44d3===_0x14f286)break;else _0x55c7ef['push'](_0x55c7ef['shift']());}catch(_0x443cd6){_0x55c7ef['push'](_0x55c7ef['shift']());}}}(_0x197a,0x27ae5));import{ContextPlugin as _0x4298d8}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4e9229,CKEditorError as _0x27ea5a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2c1ed9,WEB_SOCKET_GATEWAY_STATES as _0x33f35b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x523a22}from'ckeditor5/src/ui.js';function _0x197a(){const _0x346d86=['has','2058688yAJgeJ','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.','code','define','initialReconnectionInterval','cloudservices-init','isPremiumPlugin','all','85366yFtiBk','token','change:me','cloudservices-reconnection-error','isOfficialPlugin','websocketgateway-plugin-already-registered','cloudServices.connectionTimeout','state','init','_domEmitter','from','10QBzaYu','online','config','484799bVKWWF','stopListening','websocketgateway-invalid-plugin-interface','showWarning','websocketgateway-missing-websocket-url','add','get','error','plugins','requires','bind','constructor','disconnect','catch','destroy','DISCONNECTED','set','585315qbWxnL','_reconnectionStack','CloudServices','real-time-collaboration','delete','pluginName','12gGuCWj','reconnect','function','21KNCmpZ','WebSocketGateway','cloudServices.requestTimeout','connect','271971FMwLzg','webSocketUrl','connection','websocketgateway-missing-token','_shouldPluginsReconnect','isInReconnectionStack','CONNECTING','Connected\x20users\x20limit\x20exceeded','111915ZEvhfv','listenTo','connected','_reconnect','then','_isBrowserOffline','offline','CONNECTED','limitExceeded','removeFromReconnectionStack','context','addToReconnectionStack','369036gqQRuR'];_0x197a=function(){return _0x346d86;};return _0x197a();}function _0x4e8b(_0x8793b4,_0x261cd1){const _0x197a6e=_0x197a();return _0x4e8b=function(_0x4e8b5c,_0x230e6c){_0x4e8b5c=_0x4e8b5c-0xfe;let _0x32303b=_0x197a6e[_0x4e8b5c];return _0x32303b;},_0x4e8b(_0x8793b4,_0x261cd1);}class n extends _0x4298d8{static [_0x1b9384(0x122)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2c1ed9)());static [_0x1b9384(0x13f)]=0x3e8;[_0x1b9384(0x127)];[_0x1b9384(0x119)];[_0x1b9384(0x129)];[_0x1b9384(0x102)];static get[_0x1b9384(0x110)](){const _0xfa0a78=_0x1b9384;return[_0xfa0a78(0x11a),_0x523a22];}static get[_0x1b9384(0x11d)](){const _0x51c992=_0x1b9384;return _0x51c992(0x122);}static get[_0x1b9384(0x147)](){return!0x0;}static get[_0x1b9384(0x141)](){return!0x0;}constructor(_0x2cbafd){const _0x8ff5ca=_0x1b9384;super(_0x2cbafd),this[_0x8ff5ca(0x117)](_0x8ff5ca(0x100),_0x33f35b[_0x8ff5ca(0x134)]),this[_0x8ff5ca(0x117)](_0x8ff5ca(0x132),!0x1),this[_0x8ff5ca(0x119)]=new Set(),this[_0x8ff5ca(0x129)]=!0x1,this[_0x8ff5ca(0x102)]=new(_0x4e9229())();}[_0x1b9384(0x101)](){const _0x3f862e=_0x1b9384,_0x407ecd=this[_0x3f862e(0x137)],_0xa20f60=_0x407ecd[_0x3f862e(0x10f)][_0x3f862e(0x10d)](_0x3f862e(0x11a)),_0x556016=_0x407ecd[_0x3f862e(0x10f)][_0x3f862e(0x10d)](_0x523a22);if(!_0xa20f60[_0x3f862e(0x144)])throw new _0x27ea5a(_0x3f862e(0x128),this);if(!_0xa20f60[_0x3f862e(0x126)])throw new _0x27ea5a(_0x3f862e(0x10b),this);return this[_0x3f862e(0x102)][_0x3f862e(0x12e)](window,_0x3f862e(0x133),()=>this[_0x3f862e(0x132)]=!0x0),this[_0x3f862e(0x102)][_0x3f862e(0x12e)](window,_0x3f862e(0x105),()=>this[_0x3f862e(0x132)]=!0x1),this[_0x3f862e(0x137)][_0x3f862e(0x106)][_0x3f862e(0x13e)](_0x3f862e(0xff),0xa),this[_0x3f862e(0x137)][_0x3f862e(0x106)][_0x3f862e(0x13e)](_0x3f862e(0x123),0x14),n[_0x3f862e(0x122)][_0x3f862e(0x124)](_0xa20f60[_0x3f862e(0x144)],_0xa20f60[_0x3f862e(0x126)],{'timeout':0x3e8*this[_0x3f862e(0x137)][_0x3f862e(0x106)][_0x3f862e(0x10d)](_0x3f862e(0xff)),'requestTimeout':0x3e8*this[_0x3f862e(0x137)][_0x3f862e(0x106)][_0x3f862e(0x10d)](_0x3f862e(0x123))})[_0x3f862e(0x131)](_0x288986=>{const _0x54a778=_0x3f862e;if(this[_0x54a778(0x127)]=_0x288986,this[_0x54a778(0x111)](_0x54a778(0x100))['to'](_0x288986,_0x54a778(0x100),this,_0x54a778(0x132),(_0x7676d1,_0x5af14e)=>(_0x54a778(0x12f)!==_0x7676d1&&(this[_0x54a778(0x129)]=!0x0),_0x5af14e||_0x7676d1!==_0x33f35b[_0x54a778(0x134)]?_0x33f35b[_0x54a778(0x116)]:this[_0x54a778(0x100)]==_0x33f35b[_0x54a778(0x116)]&&this[_0x54a778(0x129)]?(this[_0x54a778(0x129)]=!0x1,this[_0x54a778(0x130)](),_0x33f35b[_0x54a778(0x12b)]):_0x33f35b[_0x54a778(0x134)])),this[_0x54a778(0x127)]['on'](_0x54a778(0x10e),(_0x1eb67f,_0x5db070)=>{const _0x4e9016=_0x54a778;if(_0x4e9016(0x135)!==_0x5db070[_0x4e9016(0x13d)])throw console[_0x4e9016(0x10e)](_0x5db070),new _0x27ea5a(_0x4e9016(0x140),null,{'originalError':_0x5db070});_0x556016[_0x4e9016(0x10a)](_0x4e9016(0x13c),{'title':_0x4e9016(0x12c),'namespace':_0x4e9016(0x11b)});}),!_0x288986['me'])return new Promise(_0x329cc4=>_0x288986['on'](_0x54a778(0x145),_0x329cc4));})[_0x3f862e(0x114)](_0x33b944=>{const _0x576a1c=_0x3f862e;throw console[_0x576a1c(0x10e)](_0x33b944),new _0x27ea5a(_0x576a1c(0x140),null,{'originalError':_0x33b944});});}[_0x1b9384(0x138)](_0x30b4df){const _0x2c0acc=_0x1b9384;if(_0x2c0acc(0x120)!=typeof _0x30b4df[_0x2c0acc(0x11f)])throw new _0x27ea5a(_0x2c0acc(0x109),this);if(this[_0x2c0acc(0x12a)](_0x30b4df))throw new _0x27ea5a(_0x2c0acc(0xfe),this,{'name':_0x30b4df[_0x2c0acc(0x112)][_0x2c0acc(0x11d)]});this[_0x2c0acc(0x119)][_0x2c0acc(0x10c)](_0x30b4df);}[_0x1b9384(0x136)](_0x5429bf){const _0x10202d=_0x1b9384;this[_0x10202d(0x119)][_0x10202d(0x11c)](_0x5429bf);}[_0x1b9384(0x12a)](_0xa54b03){const _0x38248a=_0x1b9384;return this[_0x38248a(0x119)][_0x38248a(0x13a)](_0xa54b03);}[_0x1b9384(0x130)](){const _0x49e3f4=_0x1b9384;return this[_0x49e3f4(0x127)][_0x49e3f4(0x11f)]()[_0x49e3f4(0x131)](()=>Promise[_0x49e3f4(0x142)](Array[_0x49e3f4(0x103)](this[_0x49e3f4(0x119)],_0xb330e2=>_0xb330e2[_0x49e3f4(0x11f)]())))[_0x49e3f4(0x131)](()=>this[_0x49e3f4(0x100)]=_0x33f35b[_0x49e3f4(0x134)])[_0x49e3f4(0x114)](_0x1b90eb=>{const _0x5b2b25=_0x49e3f4;throw console[_0x5b2b25(0x10e)](_0x1b90eb),new _0x27ea5a(_0x5b2b25(0x146),this[_0x5b2b25(0x137)]);});}[_0x1b9384(0x113)](){const _0x2f55ec=_0x1b9384;this[_0x2f55ec(0x127)]&&this[_0x2f55ec(0x127)][_0x2f55ec(0x113)](),this[_0x2f55ec(0x100)]=_0x33f35b[_0x2f55ec(0x116)],this[_0x2f55ec(0x102)][_0x2f55ec(0x108)]();}[_0x1b9384(0x115)](){const _0x1f90b1=_0x1b9384;this[_0x1f90b1(0x113)](),super[_0x1f90b1(0x115)]();}}export{n as WebSocketGateway};
23
+ const _0x3e11c6=_0x4cc6;(function(_0x2151e0,_0x104a3b){const _0x3d0ab7=_0x4cc6,_0x2ca649=_0x2151e0();while(!![]){try{const _0x20d4ae=parseInt(_0x3d0ab7(0x1d2))/0x1+parseInt(_0x3d0ab7(0x1fc))/0x2+parseInt(_0x3d0ab7(0x1df))/0x3+parseInt(_0x3d0ab7(0x1dc))/0x4+-parseInt(_0x3d0ab7(0x1cf))/0x5+parseInt(_0x3d0ab7(0x1c6))/0x6*(parseInt(_0x3d0ab7(0x1d4))/0x7)+-parseInt(_0x3d0ab7(0x1eb))/0x8*(parseInt(_0x3d0ab7(0x204))/0x9);if(_0x20d4ae===_0x104a3b)break;else _0x2ca649['push'](_0x2ca649['shift']());}catch(_0x9bf406){_0x2ca649['push'](_0x2ca649['shift']());}}}(_0x1f19,0x5521f));import{ContextPlugin as _0x23e03f}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xc15066,CKEditorError as _0x98a5ba}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3f16a0,WEB_SOCKET_GATEWAY_STATES as _0x5c0f43}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x17d337}from'ckeditor5/src/ui.js';function _0x1f19(){const _0x3f5745=['online','cloudServices.requestTimeout','143725DUZbyP','CloudServices','49427cZRyuJ','state','listenTo','disconnect','pluginName','isInReconnectionStack','real-time-collaboration','connection','2006156OFFVcI','stopListening','code','1681155qewbdA','CONNECTING','_domEmitter','catch','_reconnectionStack','addToReconnectionStack','get','context','from','add','config','then','8BBYkoN','requires','reconnect','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','cloudServices.connectionTimeout','cloudservices-init','_shouldPluginsReconnect','websocketgateway-missing-websocket-url','error','connected','define','cloudservices-reconnection-error','initialReconnectionInterval','CONNECTED','_isBrowserOffline','removeFromReconnectionStack','delete','471034TkFEnv','offline','function','init','websocketgateway-missing-token','DISCONNECTED','websocketgateway-plugin-already-registered','destroy','11196585Hqinwa','websocketgateway-invalid-plugin-interface','has','constructor','plugins','WebSocketGateway','all','isPremiumPlugin','limitExceeded','showWarning','token','342odMsJp','isOfficialPlugin','bind','Connected\x20users\x20limit\x20exceeded','set','connect','change:me','_reconnect','webSocketUrl','1254375zYcNFh'];_0x1f19=function(){return _0x3f5745;};return _0x1f19();}class n extends _0x23e03f{static [_0x3e11c6(0x1c0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3f16a0)());static [_0x3e11c6(0x1f7)]=0x3e8;[_0x3e11c6(0x1db)];[_0x3e11c6(0x1e3)];[_0x3e11c6(0x1f1)];[_0x3e11c6(0x1e1)];static get[_0x3e11c6(0x1ec)](){const _0x19d316=_0x3e11c6;return[_0x19d316(0x1d3),_0x17d337];}static get[_0x3e11c6(0x1d8)](){const _0x181799=_0x3e11c6;return _0x181799(0x1c0);}static get[_0x3e11c6(0x1c7)](){return!0x0;}static get[_0x3e11c6(0x1c2)](){return!0x0;}constructor(_0x1d3d8f){const _0x3b550b=_0x3e11c6;super(_0x1d3d8f),this[_0x3b550b(0x1ca)](_0x3b550b(0x1d5),_0x5c0f43[_0x3b550b(0x1f8)]),this[_0x3b550b(0x1ca)](_0x3b550b(0x1f9),!0x1),this[_0x3b550b(0x1e3)]=new Set(),this[_0x3b550b(0x1f1)]=!0x1,this[_0x3b550b(0x1e1)]=new(_0xc15066())();}[_0x3e11c6(0x1ff)](){const _0x4ccd1d=_0x3e11c6,_0x391c23=this[_0x4ccd1d(0x1e6)],_0x4737ba=_0x391c23[_0x4ccd1d(0x1bf)][_0x4ccd1d(0x1e5)](_0x4ccd1d(0x1d3)),_0x323f0c=_0x391c23[_0x4ccd1d(0x1bf)][_0x4ccd1d(0x1e5)](_0x17d337);if(!_0x4737ba[_0x4ccd1d(0x1c5)])throw new _0x98a5ba(_0x4ccd1d(0x200),this);if(!_0x4737ba[_0x4ccd1d(0x1ce)])throw new _0x98a5ba(_0x4ccd1d(0x1f2),this);return this[_0x4ccd1d(0x1e1)][_0x4ccd1d(0x1d6)](window,_0x4ccd1d(0x1fd),()=>this[_0x4ccd1d(0x1f9)]=!0x0),this[_0x4ccd1d(0x1e1)][_0x4ccd1d(0x1d6)](window,_0x4ccd1d(0x1d0),()=>this[_0x4ccd1d(0x1f9)]=!0x1),this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1f5)](_0x4ccd1d(0x1ef),0xa),this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1f5)](_0x4ccd1d(0x1d1),0x14),n[_0x4ccd1d(0x1c0)][_0x4ccd1d(0x1cb)](_0x4737ba[_0x4ccd1d(0x1c5)],_0x4737ba[_0x4ccd1d(0x1ce)],{'timeout':0x3e8*this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1e5)](_0x4ccd1d(0x1ef)),'requestTimeout':0x3e8*this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1e5)](_0x4ccd1d(0x1d1))})[_0x4ccd1d(0x1ea)](_0xbd52d3=>{const _0x42149c=_0x4ccd1d;if(this[_0x42149c(0x1db)]=_0xbd52d3,this[_0x42149c(0x1c8)](_0x42149c(0x1d5))['to'](_0xbd52d3,_0x42149c(0x1d5),this,_0x42149c(0x1f9),(_0x1c085e,_0x544a79)=>(_0x42149c(0x1f4)!==_0x1c085e&&(this[_0x42149c(0x1f1)]=!0x0),_0x544a79||_0x1c085e!==_0x5c0f43[_0x42149c(0x1f8)]?_0x5c0f43[_0x42149c(0x201)]:this[_0x42149c(0x1d5)]==_0x5c0f43[_0x42149c(0x201)]&&this[_0x42149c(0x1f1)]?(this[_0x42149c(0x1f1)]=!0x1,this[_0x42149c(0x1cd)](),_0x5c0f43[_0x42149c(0x1e0)]):_0x5c0f43[_0x42149c(0x1f8)])),this[_0x42149c(0x1db)]['on'](_0x42149c(0x1f3),(_0x21d8d2,_0x35f10d)=>{const _0x1d1d91=_0x42149c;if(_0x1d1d91(0x1c3)!==_0x35f10d[_0x1d1d91(0x1de)])throw console[_0x1d1d91(0x1f3)](_0x35f10d),new _0x98a5ba(_0x1d1d91(0x1f0),null,{'originalError':_0x35f10d});_0x323f0c[_0x1d1d91(0x1c4)](_0x1d1d91(0x1ee),{'title':_0x1d1d91(0x1c9),'namespace':_0x1d1d91(0x1da)});}),!_0xbd52d3['me'])return new Promise(_0x1343ba=>_0xbd52d3['on'](_0x42149c(0x1cc),_0x1343ba));})[_0x4ccd1d(0x1e2)](_0xb75d04=>{const _0x256759=_0x4ccd1d;throw console[_0x256759(0x1f3)](_0xb75d04),new _0x98a5ba(_0x256759(0x1f0),null,{'originalError':_0xb75d04});});}[_0x3e11c6(0x1e4)](_0x4229b1){const _0x379e6e=_0x3e11c6;if(_0x379e6e(0x1fe)!=typeof _0x4229b1[_0x379e6e(0x1ed)])throw new _0x98a5ba(_0x379e6e(0x1bc),this);if(this[_0x379e6e(0x1d9)](_0x4229b1))throw new _0x98a5ba(_0x379e6e(0x202),this,{'name':_0x4229b1[_0x379e6e(0x1be)][_0x379e6e(0x1d8)]});this[_0x379e6e(0x1e3)][_0x379e6e(0x1e8)](_0x4229b1);}[_0x3e11c6(0x1fa)](_0x57b144){const _0x353fa9=_0x3e11c6;this[_0x353fa9(0x1e3)][_0x353fa9(0x1fb)](_0x57b144);}[_0x3e11c6(0x1d9)](_0x528b9e){const _0x5511fc=_0x3e11c6;return this[_0x5511fc(0x1e3)][_0x5511fc(0x1bd)](_0x528b9e);}[_0x3e11c6(0x1cd)](){const _0x17a94c=_0x3e11c6;return this[_0x17a94c(0x1db)][_0x17a94c(0x1ed)]()[_0x17a94c(0x1ea)](()=>Promise[_0x17a94c(0x1c1)](Array[_0x17a94c(0x1e7)](this[_0x17a94c(0x1e3)],_0x5289ee=>_0x5289ee[_0x17a94c(0x1ed)]())))[_0x17a94c(0x1ea)](()=>this[_0x17a94c(0x1d5)]=_0x5c0f43[_0x17a94c(0x1f8)])[_0x17a94c(0x1e2)](_0x266459=>{const _0x1ccb5e=_0x17a94c;throw console[_0x1ccb5e(0x1f3)](_0x266459),new _0x98a5ba(_0x1ccb5e(0x1f6),this[_0x1ccb5e(0x1e6)]);});}[_0x3e11c6(0x1d7)](){const _0x2f5462=_0x3e11c6;this[_0x2f5462(0x1db)]&&this[_0x2f5462(0x1db)][_0x2f5462(0x1d7)](),this[_0x2f5462(0x1d5)]=_0x5c0f43[_0x2f5462(0x201)],this[_0x2f5462(0x1e1)][_0x2f5462(0x1dd)]();}[_0x3e11c6(0x203)](){const _0x7ea80f=_0x3e11c6;this[_0x7ea80f(0x1d7)](),super[_0x7ea80f(0x203)]();}}function _0x4cc6(_0x266d39,_0x46b443){const _0x1f19cc=_0x1f19();return _0x4cc6=function(_0x4cc6a8,_0x52046f){_0x4cc6a8=_0x4cc6a8-0x1bc;let _0x400bf9=_0x1f19cc[_0x4cc6a8];return _0x400bf9;},_0x4cc6(_0x266d39,_0x46b443);}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x37cbd7=_0x13de;function _0x13de(_0x534155,_0x77c07f){var _0x3417f4=_0x3417();return _0x13de=function(_0x13de96,_0x308b01){_0x13de96=_0x13de96-0x12b;var _0x46d5f0=_0x3417f4[_0x13de96];return _0x46d5f0;},_0x13de(_0x534155,_0x77c07f);}(function(_0x50165a,_0x874ac1){var _0xdb2bbe=_0x13de,_0x5960ce=_0x50165a();while(!![]){try{var _0x373112=-parseInt(_0xdb2bbe(0x12e))/0x1*(parseInt(_0xdb2bbe(0x12b))/0x2)+-parseInt(_0xdb2bbe(0x131))/0x3+parseInt(_0xdb2bbe(0x130))/0x4*(parseInt(_0xdb2bbe(0x139))/0x5)+-parseInt(_0xdb2bbe(0x13b))/0x6*(parseInt(_0xdb2bbe(0x138))/0x7)+parseInt(_0xdb2bbe(0x134))/0x8*(parseInt(_0xdb2bbe(0x132))/0x9)+-parseInt(_0xdb2bbe(0x13a))/0xa+parseInt(_0xdb2bbe(0x135))/0xb*(parseInt(_0xdb2bbe(0x12f))/0xc);if(_0x373112===_0x874ac1)break;else _0x5960ce['push'](_0x5960ce['shift']());}catch(_0x5a7f77){_0x5960ce['push'](_0x5960ce['shift']());}}}(_0x3417,0xc7a69));import{Plugin as _0x39b7a9}from'ckeditor5/src/core.js';function _0x3417(){var _0x4fbf32=['11300569Evfzmz','4201205iLGTXB','10826090kjlFjZ','6pBFfAe','8UgwpGn','isOfficialPlugin','pluginName','127416ZxjyGO','41979876sOSHxz','4tkKNnN','4444008xLuXhF','338859SRsaxj','isPremiumPlugin','248JLygdI','11OzlhOJ','RealTimeCollaborativeEditing','requires'];_0x3417=function(){return _0x4fbf32;};return _0x3417();}import{RealTimeCollaborationClient as _0x389bc6}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x39b7a9{static get[_0x37cbd7(0x137)](){return[_0x389bc6];}static get[_0x37cbd7(0x12d)](){var _0x8835bf=_0x37cbd7;return _0x8835bf(0x136);}static get[_0x37cbd7(0x12c)](){return!0x0;}static get[_0x37cbd7(0x133)](){return!0x0;}}
23
+ var _0x13eb17=_0x1325;(function(_0x1dc774,_0x59b820){var _0x548353=_0x1325,_0x920568=_0x1dc774();while(!![]){try{var _0x3c842b=parseInt(_0x548353(0xfd))/0x1+-parseInt(_0x548353(0xfe))/0x2+parseInt(_0x548353(0xfb))/0x3*(-parseInt(_0x548353(0xf5))/0x4)+parseInt(_0x548353(0xf9))/0x5+parseInt(_0x548353(0xf1))/0x6*(-parseInt(_0x548353(0xfc))/0x7)+parseInt(_0x548353(0xff))/0x8*(parseInt(_0x548353(0xfa))/0x9)+parseInt(_0x548353(0xf3))/0xa*(-parseInt(_0x548353(0x100))/0xb);if(_0x3c842b===_0x59b820)break;else _0x920568['push'](_0x920568['shift']());}catch(_0x299e0d){_0x920568['push'](_0x920568['shift']());}}}(_0x37cd,0x38e31));function _0x1325(_0x5a430b,_0x11bb03){var _0x37cd2f=_0x37cd();return _0x1325=function(_0x13250a,_0x115d35){_0x13250a=_0x13250a-0xf1;var _0x683be5=_0x37cd2f[_0x13250a];return _0x683be5;},_0x1325(_0x5a430b,_0x11bb03);}import{Plugin as _0x847f85}from'ckeditor5/src/core.js';function _0x37cd(){var _0x385405=['4092FFjEtc','RealTimeCollaborativeEditing','196910WBuqpk','requires','244lPEVtn','pluginName','isOfficialPlugin','isPremiumPlugin','2297315vcZsEM','45oFmBmt','17703itjDvH','987PccCFu','340350wuWWAk','328610IihbrY','117304JGKEKF','11hgprGD'];_0x37cd=function(){return _0x385405;};return _0x37cd();}import{RealTimeCollaborationClient as _0xa2b4fc}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x847f85{static get[_0x13eb17(0xf4)](){return[_0xa2b4fc];}static get[_0x13eb17(0xf6)](){var _0xd4a672=_0x13eb17;return _0xd4a672(0xf2);}static get[_0x13eb17(0xf7)](){return!0x0;}static get[_0x13eb17(0xf8)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x221f60=_0x2e11;(function(_0x594570,_0x30bb8c){const _0x320049=_0x2e11,_0x161ab7=_0x594570();while(!![]){try{const _0x3680c9=parseInt(_0x320049(0x121))/0x1*(parseInt(_0x320049(0x105))/0x2)+-parseInt(_0x320049(0x12a))/0x3+-parseInt(_0x320049(0x126))/0x4*(parseInt(_0x320049(0x159))/0x5)+-parseInt(_0x320049(0x110))/0x6*(-parseInt(_0x320049(0x11c))/0x7)+parseInt(_0x320049(0x151))/0x8*(parseInt(_0x320049(0x13d))/0x9)+-parseInt(_0x320049(0x148))/0xa+parseInt(_0x320049(0x150))/0xb*(parseInt(_0x320049(0x158))/0xc);if(_0x3680c9===_0x30bb8c)break;else _0x161ab7['push'](_0x161ab7['shift']());}catch(_0x398eb8){_0x161ab7['push'](_0x161ab7['shift']());}}}(_0x4379,0x7348a));function _0x2e11(_0x23602a,_0x1d961c){const _0x437986=_0x4379();return _0x2e11=function(_0x2e11a4,_0x3a151d){_0x2e11a4=_0x2e11a4-0xfa;let _0x477609=_0x437986[_0x2e11a4];return _0x477609;},_0x2e11(_0x23602a,_0x1d961c);}import{Plugin as _0x3d6536}from'ckeditor5/src/core.js';import{version as _0xa621f}from'ckeditor5/src/utils.js';import{Users as _0x19ebc4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4379(){const _0x572caf=['bind','getRevisions','change:_isPendingUpdate','connected','change:_isConnected','reverse','isBundleUploaded','_oldOffset','destroy','_handleRevisionsUpdate','repository','RevisionHistoryService','collaboration.channelId','code','_fetchMissingUsers','remove','size','reconnect','marker','getOperations','then','400','affectsData','config','revisionsUpdated','updateRevisions','_revisionDataBuilder','authors','isEnabled','addRevisionData','2UXimYD','_lastRequestId','reInit','fromVersion','_handleReconnectionError','pluginName','has','addToReconnectionStack','plugins','sessionId','setRevisionData','6qXAEuG','add','state','buildRevisionData','map','isConnected','listenTo','type','data','adapter','isOfficialPlugin','length','1880074GXVfqH','connect','_getLatestVersion','_isConnected','off','384781SIvgdr','currentRevision','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_waitForServiceReady','from','2534780WOIPJZ','_revisionTracker','_fixRevision','RevisionTracker','927882xtjtmz','get','getMany','wrongRequestId','_revisionHistoryService','_startingVersion','keys','startsWith','toVersion','creatorId','setSource','init','getUser','_revisions','sendBufferedUpdates','_getLatestVersionFromServerOperations','_createCurrentRevision','_offset','cloudServices.bundleVersion','9IMQlTj','catch','authorsIds','cloud-services-internal-error:\x20Request\x20timeout.','_preventResendingRevisionData','message','max','addUser','_update','RevisionHistory','editor','4332540OjfclQ','CloudServicesRevisionHistoryAdapter','baseVersion','isPremiumPlugin','createdAt','serverHistory','CONNECTED','diffData','1441cyCZjC','299480qRjOXI','isEmptyCurrent','connection','cloud-services-internal-error:\x20Not\x20connected.','_bufferUpdate','_isPendingUpdate','once','106044YkSZXT','5zRDmFg','_bufferedUpdates','requires','getRevision'];_0x4379=function(){return _0x572caf;};return _0x4379();}import{RealTimeCollaborationClient as _0x23560e}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x53ab73}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x42f901}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x216d56,RevisionHistoryService as _0x3012ec,User as _0x2c3b6f,WEB_SOCKET_GATEWAY_STATES as _0x531151}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x3d6536{static [_0x221f60(0x168)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3012ec)());[_0x221f60(0x106)];[_0x221f60(0x127)];[_0x221f60(0x12e)];[_0x221f60(0x164)];static get[_0x221f60(0x15b)](){const _0x4efc3d=_0x221f60;return[_0x53ab73,_0x23560e,_0x4efc3d(0x146),_0x42f901,_0x19ebc4];}static get[_0x221f60(0x10a)](){const _0x4c3140=_0x221f60;return _0x4c3140(0x149);}static get[_0x221f60(0x11a)](){return!0x0;}static get[_0x221f60(0x14b)](){return!0x0;}constructor(_0x55aa7b){const _0x327851=_0x221f60;super(_0x55aa7b);const _0x46ba1f=this[_0x327851(0x147)][_0x327851(0xfe)][_0x327851(0x12b)](_0x327851(0x169));this[_0x327851(0x106)]=null,this[_0x327851(0x127)]=this[_0x327851(0x147)][_0x327851(0x10d)][_0x327851(0x12b)](_0x327851(0x129)),this[_0x327851(0x12e)]=new c[(_0x327851(0x168))](_0x46ba1f);}async[_0x221f60(0x135)](){const _0x574e96=_0x221f60,_0x523ccd=this[_0x574e96(0x147)][_0x574e96(0x10d)][_0x574e96(0x12b)](_0x23560e),_0x300743=_0x523ccd[_0x574e96(0x14d)],_0x4a599e=this[_0x574e96(0x147)][_0x574e96(0x10d)][_0x574e96(0x12b)](_0x53ab73);this[_0x574e96(0x127)][_0x574e96(0x134)]({'history':_0x300743,'getLatestVersion':()=>this[_0x574e96(0x11e)](),'getCurrentRevisionId':()=>_0x523ccd[_0x574e96(0x10e)]});const _0x17563f=this[_0x574e96(0x147)][_0x574e96(0xfe)][_0x574e96(0x12b)](_0x574e96(0x13c))||_0xa621f,_0x6bd30=await _0x216d56[_0x574e96(0x163)](_0x4a599e[_0x574e96(0x153)],_0x17563f);this[_0x574e96(0x147)][_0x574e96(0x10d)][_0x574e96(0x12b)](_0x574e96(0x146))[_0x574e96(0x119)]={'getRevision':async({revisionId:_0x5d12e8})=>(await this[_0x574e96(0x124)](),await this[_0x574e96(0x12e)][_0x574e96(0x15c)](_0x5d12e8)),'updateRevisions':async _0x457620=>{const _0x3db6bd=_0x574e96;await this[_0x3db6bd(0x124)]();const _0x471249=this[_0x3db6bd(0x127)][_0x3db6bd(0x122)];if(_0x6bd30&&0x1===_0x457620[_0x3db6bd(0x11b)]&&_0x457620[0x0]['id']===_0x471249['id'])return _0x457620;for(const _0x1b0430 of _0x457620)_0x1b0430['id']===_0x471249['id']&&(_0x1b0430[_0x3db6bd(0x152)]=_0x1b0430[_0x3db6bd(0x108)]===_0x1b0430[_0x3db6bd(0x132)]);return this[_0x3db6bd(0x12e)][_0x3db6bd(0x100)](_0x457620,this[_0x3db6bd(0x106)])[_0x3db6bd(0xfb)](_0x232993=>(this[_0x3db6bd(0x106)]=_0x232993,_0x457620))[_0x3db6bd(0x13e)](_0x229920=>{const _0x1a365f=_0x3db6bd;if(st(_0x229920)||_0x1a365f(0xfc)===_0x229920[_0x1a365f(0x16a)]&&void 0x0!==_0x229920[_0x1a365f(0x118)][_0x1a365f(0x12d)]){for(const _0x1d1469 of _0x457620){!this[_0x1a365f(0x127)][_0x1a365f(0x167)][_0x1a365f(0x15c)](_0x1d1469['id'])||this[_0x1a365f(0x127)][_0x1a365f(0x155)](_0x1d1469['id'],_0x1d1469,!0x1);}if(st(_0x229920))throw _0x229920;return _0x457620;}throw _0x229920;});}},this[_0x574e96(0x116)](this[_0x574e96(0x12e)],_0x574e96(0xff),(_0x2829c0,{revisionsData:_0x4e8a06,requestId:_0x4e0476})=>{const _0x216d36=_0x574e96;Math[_0x216d36(0x143)](..._0x4e8a06[_0x216d36(0x114)](_0x33de65=>_0x33de65[_0x216d36(0x132)]))>this[_0x216d36(0x139)]()-0x1?this[_0x216d36(0x11e)]()[_0x216d36(0xfb)](()=>{const _0x5cf47d=_0x216d36;this[_0x5cf47d(0x166)](_0x4e8a06,_0x4e0476);}):this[_0x216d36(0x166)](_0x4e8a06,_0x4e0476);});const {revisions:_0x10bbe4,requestId:_0x5bb1da}=await this[_0x574e96(0x12e)][_0x574e96(0x11d)](_0x4a599e[_0x574e96(0x153)]);_0x4a599e[_0x574e96(0x10c)](this),this[_0x574e96(0x106)]=_0x5bb1da,await this[_0x574e96(0x16b)](_0x10bbe4);for(const _0x2113bc of _0x10bbe4)this[_0x574e96(0x127)][_0x574e96(0x104)](_0x2113bc);this[_0x574e96(0x116)](_0x523ccd,_0x574e96(0x161),(_0x43fee1,_0xfb06af,_0xae4600)=>{const _0x3601c3=_0x574e96;_0xae4600&&(this[_0x3601c3(0x164)]=_0x523ccd[_0x3601c3(0x13b)],_0x43fee1[_0x3601c3(0x120)]());}),this[_0x574e96(0x127)][_0x574e96(0x15d)](_0x574e96(0x103))['to'](_0x4a599e,_0x574e96(0x112),_0x40065c=>_0x40065c===_0x531151[_0x574e96(0x14e)]);}async[_0x221f60(0x16e)](){const _0x3c27ec=_0x221f60,_0x2fcd47=this[_0x3c27ec(0x147)][_0x3c27ec(0x10d)][_0x3c27ec(0x12b)](_0x53ab73),_0x27e0a4=this[_0x3c27ec(0x147)][_0x3c27ec(0x10d)][_0x3c27ec(0x12b)](_0x23560e),_0x293f05=async()=>{const _0x3a2456=_0x3c27ec,_0x55053c=this[_0x3a2456(0x127)][_0x3a2456(0x122)],_0x39ac29=_0x55053c['id'],_0xd366d4=_0x39ac29!==_0x27e0a4[_0x3a2456(0x10e)];if(_0xd366d4){const _0x873bee=_0x27e0a4[_0x3a2456(0x13b)]-this[_0x3a2456(0x164)],_0x9b9932=this[_0x3a2456(0x139)]();this[_0x3a2456(0x127)][_0x3a2456(0x101)][_0x3a2456(0x107)]();if(_0x55053c[_0x3a2456(0x132)]+_0x873bee!==_0x9b9932){const _0x4cff3e=_0x55053c[_0x3a2456(0x108)]+_0x873bee,_0x9c8fca=this[_0x3a2456(0x147)][_0x3a2456(0x10d)][_0x3a2456(0x12b)](_0x19ebc4),_0x477250=this[_0x3a2456(0x127)][_0x3a2456(0x113)]({'revision':_0x55053c,'from':_0x4cff3e,'to':_0x9b9932});_0x477250['id']=_0x55053c['id'];const _0x1f25cd=_0x477250[_0x3a2456(0x13f)][_0x3a2456(0x114)](_0x4cb0a4=>_0x9c8fca[_0x3a2456(0x136)](_0x4cb0a4));_0x55053c[_0x3a2456(0x145)]({..._0x477250,'authors':_0x1f25cd},!0x0),this[_0x3a2456(0x127)][_0x3a2456(0x155)](_0x55053c['id'],_0x477250,!0x0);}this[_0x3a2456(0x127)][_0x3a2456(0x12f)]=_0x9b9932,(_0x55053c[_0x3a2456(0x132)]===_0x55053c[_0x3a2456(0x108)]&&!this[_0x3a2456(0x127)][_0x3a2456(0x15a)][_0x3a2456(0x10b)](_0x39ac29)&&this[_0x3a2456(0x127)][_0x3a2456(0x167)][_0x3a2456(0x137)][_0x3a2456(0x16c)](_0x39ac29),this[_0x3a2456(0x127)][_0x3a2456(0x13a)](_0x9b9932));}const {revisions:_0x13857a,requestId:_0x581e59}=await this[_0x3a2456(0x12e)][_0x3a2456(0x16e)](_0x2fcd47[_0x3a2456(0x153)],this[_0x3a2456(0x106)]);_0xd366d4&&_0x13857a[_0x3a2456(0x11b)]>0x0?_0x27e0a4[_0x3a2456(0x109)]():(await this[_0x3a2456(0x16b)](_0x13857a),this[_0x3a2456(0x166)](_0x13857a,_0x581e59),this[_0x3a2456(0x127)][_0x3a2456(0x138)]());};return _0x27e0a4[_0x3c27ec(0x11f)]?_0x293f05():new Promise((_0x225bc1,_0x142783)=>{const _0x20c137=_0x3c27ec;_0x27e0a4[_0x20c137(0x157)](_0x20c137(0x161),()=>{const _0x145915=_0x20c137;_0x293f05()[_0x145915(0xfb)](_0x225bc1)[_0x145915(0x13e)](_0x142783);});});}[_0x221f60(0x165)](){const _0x54c204=_0x221f60;super[_0x54c204(0x165)]();}async[_0x221f60(0x124)](){const _0x5e2da2=_0x221f60;this[_0x5e2da2(0x12e)][_0x5e2da2(0x115)]||await new Promise(_0x4e76e8=>{const _0x23e732=_0x5e2da2;this[_0x23e732(0x116)](this[_0x23e732(0x12e)],_0x23e732(0x160),_0x460158=>{const _0x45c48a=_0x23e732;_0x460158[_0x45c48a(0x120)](),_0x4e76e8();});});}[_0x221f60(0x139)](){const _0x4ccb6f=_0x221f60,_0x22c454=this[_0x4ccb6f(0x147)][_0x4ccb6f(0x10d)][_0x4ccb6f(0x12b)](_0x23560e)[_0x4ccb6f(0x14d)][_0x4ccb6f(0xfa)]()[_0x4ccb6f(0x162)]();for(const _0x299cf3 of _0x22c454)if(_0x4ccb6f(0x16f)!==_0x299cf3[_0x4ccb6f(0x117)]||_0x299cf3[_0x4ccb6f(0xfd)])return _0x299cf3[_0x4ccb6f(0x14a)]+0x1;}[_0x221f60(0x11e)](){const _0x56ac13=_0x221f60,_0x318e13=this[_0x56ac13(0x147)][_0x56ac13(0x10d)][_0x56ac13(0x12b)](_0x23560e);return new Promise(_0x3fb1b1=>{const _0x48668e=_0x56ac13;_0x318e13[_0x48668e(0x156)]?_0x318e13[_0x48668e(0x157)](_0x48668e(0x15f),()=>{const _0x5b9e23=_0x48668e;_0x3fb1b1(this[_0x5b9e23(0x139)]());}):_0x3fb1b1(this[_0x48668e(0x139)]());});}[_0x221f60(0x166)](_0xc9c2c8,_0x5d79ae){const _0x3c205b=_0x221f60,_0x19c76e=this[_0x3c205b(0x127)][_0x3c205b(0x167)];this[_0x3c205b(0x106)]=_0x5d79ae;for(const _0x3f877e of _0xc9c2c8){const _0x1ad4ed=_0x19c76e[_0x3c205b(0x15c)](_0x3f877e['id']);if(_0x1ad4ed){if((_0x3f877e[_0x3c205b(0x108)]||_0x3f877e[_0x3c205b(0x132)])&&(_0x3f877e[_0x3c205b(0x14f)]=null),_0x1ad4ed===this[_0x3c205b(0x127)][_0x3c205b(0x122)]){const _0xb2c8c7=Math[_0x3c205b(0x143)](_0x1ad4ed[_0x3c205b(0x132)],_0x3f877e[_0x3c205b(0x132)]),_0x56cb9d=Math[_0x3c205b(0x143)](_0x1ad4ed[_0x3c205b(0x108)],_0x3f877e[_0x3c205b(0x108)]);let _0x5be83d;_0x1ad4ed[_0x3c205b(0x132)]===_0x3f877e[_0x3c205b(0x132)]&&_0x1ad4ed[_0x3c205b(0x108)]===_0x3f877e[_0x3c205b(0x108)]?(_0x5be83d=!0x0,this[_0x3c205b(0x141)](_0x3f877e)):_0x3f877e[_0x3c205b(0x132)]===_0xb2c8c7&&_0x3f877e[_0x3c205b(0x108)]===_0x56cb9d?_0x5be83d=!0x1:(_0x1ad4ed[_0x3c205b(0x132)]===_0xb2c8c7&&_0x1ad4ed[_0x3c205b(0x108)]===_0x56cb9d||this[_0x3c205b(0x128)]({'revision':_0x1ad4ed,'from':_0x56cb9d,'to':_0xb2c8c7}),_0x5be83d=!0x0),_0x5be83d&&(delete _0x3f877e[_0x3c205b(0x108)],delete _0x3f877e[_0x3c205b(0x132)],delete _0x3f877e[_0x3c205b(0x14f)],delete _0x3f877e[_0x3c205b(0x14c)],delete _0x3f877e[_0x3c205b(0x13f)]);}this[_0x3c205b(0x127)][_0x3c205b(0x10f)](_0x3f877e),this[_0x3c205b(0x141)](_0x3f877e);}else this[_0x3c205b(0x127)][_0x3c205b(0x104)](_0x3f877e);}const _0x196cdf=_0x19c76e[_0x3c205b(0x15e)]();_0x196cdf[_0x3c205b(0x162)]();for(let _0x245506=0x0;_0x245506<_0x196cdf[_0x3c205b(0x11b)]-0x1;_0x245506++){const _0x32e52b=_0x196cdf[_0x245506],_0x3a7a0f=_0x196cdf[_0x245506+0x1];if(_0x32e52b[_0x3c205b(0x108)]<_0x3a7a0f[_0x3c205b(0x132)]){const _0x1f6bb7=_0x3a7a0f[_0x3c205b(0x132)],_0x368eef=Math[_0x3c205b(0x143)](_0x1f6bb7,_0x32e52b[_0x3c205b(0x132)]);this[_0x3c205b(0x128)]({'revision':_0x32e52b,'from':_0x1f6bb7,'to':_0x368eef});}}}[_0x221f60(0x128)]({revision:_0x115278,from:_0x50110f,to:_0x789a6}={}){const _0x1cf9ee=_0x221f60,_0x44d39d=this[_0x1cf9ee(0x147)][_0x1cf9ee(0x10d)][_0x1cf9ee(0x12b)](_0x19ebc4),_0x54dba9=this[_0x1cf9ee(0x127)][_0x1cf9ee(0x113)]({'revision':_0x115278,'from':_0x50110f,'to':_0x789a6});_0x54dba9[_0x1cf9ee(0x102)]=_0x54dba9[_0x1cf9ee(0x13f)][_0x1cf9ee(0x114)](_0xc3680b=>_0x44d39d[_0x1cf9ee(0x136)](_0xc3680b)),_0x115278[_0x1cf9ee(0x145)](_0x54dba9);}[_0x221f60(0x141)](_0x435324){const _0x35f5ad=_0x221f60,_0x278c1d={};_0x278c1d['id']=_0x435324['id'];for(const _0x176e9b of Object[_0x35f5ad(0x130)](_0x435324))'id'!==_0x176e9b&&(_0x278c1d[_0x176e9b]=void 0x0);this[_0x35f5ad(0x127)][_0x35f5ad(0x155)](_0x278c1d['id'],_0x278c1d,!0x0);}async[_0x221f60(0x16b)](_0x318a24){const _0x4c6096=_0x221f60,_0xf3fcb=this[_0x4c6096(0x147)][_0x4c6096(0x10d)][_0x4c6096(0x12b)](_0x19ebc4),{connection:_0x566b20}=this[_0x4c6096(0x147)][_0x4c6096(0x10d)][_0x4c6096(0x12b)](_0x53ab73),_0x11487d=new Set();for(const _0x13d50b of _0x318a24){for(const _0x4b9b36 of _0x13d50b[_0x4c6096(0x13f)])_0x4d4d68(_0x4b9b36);_0x13d50b[_0x4c6096(0x133)]&&_0x4d4d68(_0x13d50b[_0x4c6096(0x133)]);}if(0x0===_0x11487d[_0x4c6096(0x16d)])return;const _0x13eba7=await _0x2c3b6f[_0x4c6096(0x12c)](_0x566b20,Array[_0x4c6096(0x125)](_0x11487d));for(const _0x36c396 of _0x13eba7)_0xf3fcb[_0x4c6096(0x136)](_0x36c396['id'])||_0xf3fcb[_0x4c6096(0x144)](_0x36c396);function _0x4d4d68(_0x481f35){const _0x352f4b=_0x4c6096;_0xf3fcb[_0x352f4b(0x136)](_0x481f35)||_0x11487d[_0x352f4b(0x111)](_0x481f35);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x44c5dd){const _0x309683=_0x221f60;return _0x44c5dd[_0x309683(0x142)][_0x309683(0x131)](_0x309683(0x123))||_0x44c5dd[_0x309683(0x142)][_0x309683(0x131)](_0x309683(0x154))||_0x44c5dd[_0x309683(0x142)][_0x309683(0x131)](_0x309683(0x140));}
23
+ const _0x2a7920=_0x3c9a;(function(_0x5e1258,_0x491c71){const _0x267b16=_0x3c9a,_0x40d0a7=_0x5e1258();while(!![]){try{const _0x4a2390=parseInt(_0x267b16(0xec))/0x1+parseInt(_0x267b16(0x119))/0x2*(parseInt(_0x267b16(0xbe))/0x3)+parseInt(_0x267b16(0xe0))/0x4*(-parseInt(_0x267b16(0xbf))/0x5)+parseInt(_0x267b16(0xd2))/0x6+parseInt(_0x267b16(0xf8))/0x7+-parseInt(_0x267b16(0xc1))/0x8*(parseInt(_0x267b16(0xd4))/0x9)+-parseInt(_0x267b16(0xc4))/0xa;if(_0x4a2390===_0x491c71)break;else _0x40d0a7['push'](_0x40d0a7['shift']());}catch(_0x4e88b6){_0x40d0a7['push'](_0x40d0a7['shift']());}}}(_0xf570,0x5d13a));import{Plugin as _0x2d1acb}from'ckeditor5/src/core.js';import{version as _0xf428ad}from'ckeditor5/src/utils.js';import{Users as _0x3630ae}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x1be86c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3c9a(_0x9c409f,_0x49383c){const _0xf5707=_0xf570();return _0x3c9a=function(_0x3c9afa,_0x5ea0c3){_0x3c9afa=_0x3c9afa-0xa9;let _0x1d9a31=_0xf5707[_0x3c9afa];return _0x1d9a31;},_0x3c9a(_0x9c409f,_0x49383c);}import{WebSocketGateway as _0x4552ba}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x7b913e}from'../realtimecollaborativeediting/sessions.js';function _0xf570(){const _0x453350=['catch','_getLatestVersion','pluginName','isPremiumPlugin','setRevisionData','cloudServices.bundleVersion','isConnected','listenTo','add','diffData','config','1026114QdOYJz','message','288AEDkGb','_revisions','_waitForServiceReady','size','serverHistory','map','change:_isConnected','CloudServicesRevisionHistoryAdapter','400','revisionsUpdated','state','_bufferedUpdates','4APnbIc','startsWith','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','adapter','createdAt','requires','authorsIds','_revisionHistoryService','editor','then','_revisionDataBuilder','reInit','607622hzGOpq','updateRevisions','has','get','buildRevisionData','off','authors','connected','_getLatestVersionFromServerOperations','CONNECTED','getMany','reverse','3457020VZsATq','addToReconnectionStack','_createCurrentRevision','fromVersion','_oldOffset','_bufferUpdate','_lastRequestId','_startingVersion','isEmptyCurrent','getRevision','_offset','_update','setSource','data','toVersion','length','_isConnected','type','_revisionTracker','sessionId','getUser','cloud-services-internal-error:\x20Not\x20connected.','code','addRevisionData','_preventResendingRevisionData','_handleReconnectionError','baseVersion','cloud-services-internal-error:\x20Request\x20timeout.','connect','currentRevision','creatorId','RevisionHistoryService','isOfficialPlugin','13408TYrZrx','connection','sendBufferedUpdates','once','_isPendingUpdate','max','keys','getRevisions','affectsData','addUser','bind','repository','isEnabled','change:_isPendingUpdate','destroy','collaboration.channelId','wrongRequestId','_fixRevision','_fetchMissingUsers','reconnect','isBundleUploaded','RevisionTracker','from','RevisionHistory','getOperations','339oPVDyv','885725aZzBhm','plugins','128112YVbgbx','marker','_handleRevisionsUpdate','9592180WdJuwd','remove','init'];_0xf570=function(){return _0x453350;};return _0xf570();}import{EditorService as _0x4ef808,RevisionHistoryService as _0x379e67,User as _0x33ca70,WEB_SOCKET_GATEWAY_STATES as _0x5a7d10}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x2d1acb{static [_0x2a7920(0x117)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x379e67)());[_0x2a7920(0xfe)];[_0x2a7920(0x10a)];[_0x2a7920(0xe7)];[_0x2a7920(0xfc)];static get[_0x2a7920(0xe5)](){const _0x103edc=_0x2a7920;return[_0x4552ba,_0x1be86c,_0x103edc(0xbc),_0x7b913e,_0x3630ae];}static get[_0x2a7920(0xc9)](){const _0xd5e617=_0x2a7920;return _0xd5e617(0xdb);}static get[_0x2a7920(0x118)](){return!0x0;}static get[_0x2a7920(0xca)](){return!0x0;}constructor(_0x19e211){const _0xfa9945=_0x2a7920;super(_0x19e211);const _0x26a234=this[_0xfa9945(0xe8)][_0xfa9945(0xd1)][_0xfa9945(0xef)](_0xfa9945(0xb4));this[_0xfa9945(0xfe)]=null,this[_0xfa9945(0x10a)]=this[_0xfa9945(0xe8)][_0xfa9945(0xc0)][_0xfa9945(0xef)](_0xfa9945(0xba)),this[_0xfa9945(0xe7)]=new c[(_0xfa9945(0x117))](_0x26a234);}async[_0x2a7920(0xc6)](){const _0x14be88=_0x2a7920,_0x4ee838=this[_0x14be88(0xe8)][_0x14be88(0xc0)][_0x14be88(0xef)](_0x1be86c),_0x56c6e6=_0x4ee838[_0x14be88(0xd8)],_0x18a644=this[_0x14be88(0xe8)][_0x14be88(0xc0)][_0x14be88(0xef)](_0x4552ba);this[_0x14be88(0x10a)][_0x14be88(0x104)]({'history':_0x56c6e6,'getLatestVersion':()=>this[_0x14be88(0xc8)](),'getCurrentRevisionId':()=>_0x4ee838[_0x14be88(0x10b)]});const _0x232aed=this[_0x14be88(0xe8)][_0x14be88(0xd1)][_0x14be88(0xef)](_0x14be88(0xcc))||_0xf428ad,_0x34f5ed=await _0x4ef808[_0x14be88(0xb9)](_0x18a644[_0x14be88(0x11a)],_0x232aed);this[_0x14be88(0xe8)][_0x14be88(0xc0)][_0x14be88(0xef)](_0x14be88(0xbc))[_0x14be88(0xe3)]={'getRevision':async({revisionId:_0x223271})=>(await this[_0x14be88(0xd6)](),await this[_0x14be88(0xe7)][_0x14be88(0x101)](_0x223271)),'updateRevisions':async _0xe0999=>{const _0x18c50d=_0x14be88;await this[_0x18c50d(0xd6)]();const _0x4315d7=this[_0x18c50d(0x10a)][_0x18c50d(0x115)];if(_0x34f5ed&&0x1===_0xe0999[_0x18c50d(0x107)]&&_0xe0999[0x0]['id']===_0x4315d7['id'])return _0xe0999;for(const _0x3e8c01 of _0xe0999)_0x3e8c01['id']===_0x4315d7['id']&&(_0x3e8c01[_0x18c50d(0x100)]=_0x3e8c01[_0x18c50d(0xfb)]===_0x3e8c01[_0x18c50d(0x106)]);return this[_0x18c50d(0xe7)][_0x18c50d(0xed)](_0xe0999,this[_0x18c50d(0xfe)])[_0x18c50d(0xe9)](_0x1696c5=>(this[_0x18c50d(0xfe)]=_0x1696c5,_0xe0999))[_0x18c50d(0xc7)](_0x4a670a=>{const _0x394e3b=_0x18c50d;if(st(_0x4a670a)||_0x394e3b(0xdc)===_0x4a670a[_0x394e3b(0x10e)]&&void 0x0!==_0x4a670a[_0x394e3b(0x105)][_0x394e3b(0xb5)]){for(const _0x1fec41 of _0xe0999){!this[_0x394e3b(0x10a)][_0x394e3b(0xb0)][_0x394e3b(0x101)](_0x1fec41['id'])||this[_0x394e3b(0x10a)][_0x394e3b(0xfd)](_0x1fec41['id'],_0x1fec41,!0x1);}if(st(_0x4a670a))throw _0x4a670a;return _0xe0999;}throw _0x4a670a;});}},this[_0x14be88(0xce)](this[_0x14be88(0xe7)],_0x14be88(0xdd),(_0xd0566b,{revisionsData:_0x16914f,requestId:_0x3d25ff})=>{const _0x2a4d05=_0x14be88;Math[_0x2a4d05(0xaa)](..._0x16914f[_0x2a4d05(0xd9)](_0x1cf1ee=>_0x1cf1ee[_0x2a4d05(0x106)]))>this[_0x2a4d05(0xf4)]()-0x1?this[_0x2a4d05(0xc8)]()[_0x2a4d05(0xe9)](()=>{const _0x5b5900=_0x2a4d05;this[_0x5b5900(0xc3)](_0x16914f,_0x3d25ff);}):this[_0x2a4d05(0xc3)](_0x16914f,_0x3d25ff);});const {revisions:_0x1ecc90,requestId:_0x321b6f}=await this[_0x14be88(0xe7)][_0x14be88(0x114)](_0x18a644[_0x14be88(0x11a)]);_0x18a644[_0x14be88(0xf9)](this),this[_0x14be88(0xfe)]=_0x321b6f,await this[_0x14be88(0xb7)](_0x1ecc90);for(const _0x1c8d0a of _0x1ecc90)this[_0x14be88(0x10a)][_0x14be88(0x10f)](_0x1c8d0a);this[_0x14be88(0xce)](_0x4ee838,_0x14be88(0xda),(_0x116eee,_0x1aa75b,_0x320f91)=>{const _0x1db753=_0x14be88;_0x320f91&&(this[_0x1db753(0xfc)]=_0x4ee838[_0x1db753(0x102)],_0x116eee[_0x1db753(0xf1)]());}),this[_0x14be88(0x10a)][_0x14be88(0xaf)](_0x14be88(0xb1))['to'](_0x18a644,_0x14be88(0xde),_0x5b4420=>_0x5b4420===_0x5a7d10[_0x14be88(0xf5)]);}async[_0x2a7920(0xb8)](){const _0x1c8d54=_0x2a7920,_0x3dac44=this[_0x1c8d54(0xe8)][_0x1c8d54(0xc0)][_0x1c8d54(0xef)](_0x4552ba),_0x4e988d=this[_0x1c8d54(0xe8)][_0x1c8d54(0xc0)][_0x1c8d54(0xef)](_0x1be86c),_0xa31060=async()=>{const _0x5c1da8=_0x1c8d54,_0x5776ed=this[_0x5c1da8(0x10a)][_0x5c1da8(0x115)],_0x46add6=_0x5776ed['id'],_0x22e2c3=_0x46add6!==_0x4e988d[_0x5c1da8(0x10b)];if(_0x22e2c3){const _0x20faaa=_0x4e988d[_0x5c1da8(0x102)]-this[_0x5c1da8(0xfc)],_0x1d41fd=this[_0x5c1da8(0xf4)]();this[_0x5c1da8(0x10a)][_0x5c1da8(0xea)][_0x5c1da8(0xeb)]();if(_0x5776ed[_0x5c1da8(0x106)]+_0x20faaa!==_0x1d41fd){const _0x114279=_0x5776ed[_0x5c1da8(0xfb)]+_0x20faaa,_0x5bd7cb=this[_0x5c1da8(0xe8)][_0x5c1da8(0xc0)][_0x5c1da8(0xef)](_0x3630ae),_0xe5f612=this[_0x5c1da8(0x10a)][_0x5c1da8(0xf0)]({'revision':_0x5776ed,'from':_0x114279,'to':_0x1d41fd});_0xe5f612['id']=_0x5776ed['id'];const _0x32675d=_0xe5f612[_0x5c1da8(0xe6)][_0x5c1da8(0xd9)](_0x2b4e08=>_0x5bd7cb[_0x5c1da8(0x10c)](_0x2b4e08));_0x5776ed[_0x5c1da8(0x103)]({..._0xe5f612,'authors':_0x32675d},!0x0),this[_0x5c1da8(0x10a)][_0x5c1da8(0xfd)](_0x5776ed['id'],_0xe5f612,!0x0);}this[_0x5c1da8(0x10a)][_0x5c1da8(0xff)]=_0x1d41fd,(_0x5776ed[_0x5c1da8(0x106)]===_0x5776ed[_0x5c1da8(0xfb)]&&!this[_0x5c1da8(0x10a)][_0x5c1da8(0xdf)][_0x5c1da8(0xee)](_0x46add6)&&this[_0x5c1da8(0x10a)][_0x5c1da8(0xb0)][_0x5c1da8(0xd5)][_0x5c1da8(0xc5)](_0x46add6),this[_0x5c1da8(0x10a)][_0x5c1da8(0xfa)](_0x1d41fd));}const {revisions:_0x21cdef,requestId:_0x116342}=await this[_0x5c1da8(0xe7)][_0x5c1da8(0xb8)](_0x3dac44[_0x5c1da8(0x11a)],this[_0x5c1da8(0xfe)]);_0x22e2c3&&_0x21cdef[_0x5c1da8(0x107)]>0x0?_0x4e988d[_0x5c1da8(0x111)]():(await this[_0x5c1da8(0xb7)](_0x21cdef),this[_0x5c1da8(0xc3)](_0x21cdef,_0x116342),this[_0x5c1da8(0x10a)][_0x5c1da8(0x11b)]());};return _0x4e988d[_0x1c8d54(0x108)]?_0xa31060():new Promise((_0x32022b,_0x3f3250)=>{const _0x30f364=_0x1c8d54;_0x4e988d[_0x30f364(0x11c)](_0x30f364(0xda),()=>{const _0x4f124b=_0x30f364;_0xa31060()[_0x4f124b(0xe9)](_0x32022b)[_0x4f124b(0xc7)](_0x3f3250);});});}[_0x2a7920(0xb3)](){const _0x4d87a4=_0x2a7920;super[_0x4d87a4(0xb3)]();}async[_0x2a7920(0xd6)](){const _0x3eec20=_0x2a7920;this[_0x3eec20(0xe7)][_0x3eec20(0xcd)]||await new Promise(_0x5b172a=>{const _0x439c01=_0x3eec20;this[_0x439c01(0xce)](this[_0x439c01(0xe7)],_0x439c01(0xf3),_0x2826d1=>{const _0x17a8ba=_0x439c01;_0x2826d1[_0x17a8ba(0xf1)](),_0x5b172a();});});}[_0x2a7920(0xf4)](){const _0x4bb1c0=_0x2a7920,_0x30e221=this[_0x4bb1c0(0xe8)][_0x4bb1c0(0xc0)][_0x4bb1c0(0xef)](_0x1be86c)[_0x4bb1c0(0xd8)][_0x4bb1c0(0xbd)]()[_0x4bb1c0(0xf7)]();for(const _0x238bc5 of _0x30e221)if(_0x4bb1c0(0xc2)!==_0x238bc5[_0x4bb1c0(0x109)]||_0x238bc5[_0x4bb1c0(0xad)])return _0x238bc5[_0x4bb1c0(0x112)]+0x1;}[_0x2a7920(0xc8)](){const _0x390a3b=_0x2a7920,_0x2d7ce7=this[_0x390a3b(0xe8)][_0x390a3b(0xc0)][_0x390a3b(0xef)](_0x1be86c);return new Promise(_0x5761e7=>{const _0x27cb3c=_0x390a3b;_0x2d7ce7[_0x27cb3c(0xa9)]?_0x2d7ce7[_0x27cb3c(0x11c)](_0x27cb3c(0xb2),()=>{const _0x5d64b2=_0x27cb3c;_0x5761e7(this[_0x5d64b2(0xf4)]());}):_0x5761e7(this[_0x27cb3c(0xf4)]());});}[_0x2a7920(0xc3)](_0x534595,_0x56b100){const _0x2c7d59=_0x2a7920,_0x10b5c5=this[_0x2c7d59(0x10a)][_0x2c7d59(0xb0)];this[_0x2c7d59(0xfe)]=_0x56b100;for(const _0x6237c7 of _0x534595){const _0x77d5ca=_0x10b5c5[_0x2c7d59(0x101)](_0x6237c7['id']);if(_0x77d5ca){if((_0x6237c7[_0x2c7d59(0xfb)]||_0x6237c7[_0x2c7d59(0x106)])&&(_0x6237c7[_0x2c7d59(0xd0)]=null),_0x77d5ca===this[_0x2c7d59(0x10a)][_0x2c7d59(0x115)]){const _0x373a23=Math[_0x2c7d59(0xaa)](_0x77d5ca[_0x2c7d59(0x106)],_0x6237c7[_0x2c7d59(0x106)]),_0x3fbde7=Math[_0x2c7d59(0xaa)](_0x77d5ca[_0x2c7d59(0xfb)],_0x6237c7[_0x2c7d59(0xfb)]);let _0x2d8a78;_0x77d5ca[_0x2c7d59(0x106)]===_0x6237c7[_0x2c7d59(0x106)]&&_0x77d5ca[_0x2c7d59(0xfb)]===_0x6237c7[_0x2c7d59(0xfb)]?(_0x2d8a78=!0x0,this[_0x2c7d59(0x110)](_0x6237c7)):_0x6237c7[_0x2c7d59(0x106)]===_0x373a23&&_0x6237c7[_0x2c7d59(0xfb)]===_0x3fbde7?_0x2d8a78=!0x1:(_0x77d5ca[_0x2c7d59(0x106)]===_0x373a23&&_0x77d5ca[_0x2c7d59(0xfb)]===_0x3fbde7||this[_0x2c7d59(0xb6)]({'revision':_0x77d5ca,'from':_0x3fbde7,'to':_0x373a23}),_0x2d8a78=!0x0),_0x2d8a78&&(delete _0x6237c7[_0x2c7d59(0xfb)],delete _0x6237c7[_0x2c7d59(0x106)],delete _0x6237c7[_0x2c7d59(0xd0)],delete _0x6237c7[_0x2c7d59(0xe4)],delete _0x6237c7[_0x2c7d59(0xe6)]);}this[_0x2c7d59(0x10a)][_0x2c7d59(0xcb)](_0x6237c7),this[_0x2c7d59(0x110)](_0x6237c7);}else this[_0x2c7d59(0x10a)][_0x2c7d59(0x10f)](_0x6237c7);}const _0x4c9a1d=_0x10b5c5[_0x2c7d59(0xac)]();_0x4c9a1d[_0x2c7d59(0xf7)]();for(let _0x2ca68c=0x0;_0x2ca68c<_0x4c9a1d[_0x2c7d59(0x107)]-0x1;_0x2ca68c++){const _0x460474=_0x4c9a1d[_0x2ca68c],_0x46d096=_0x4c9a1d[_0x2ca68c+0x1];if(_0x460474[_0x2c7d59(0xfb)]<_0x46d096[_0x2c7d59(0x106)]){const _0x7bb7d9=_0x46d096[_0x2c7d59(0x106)],_0x815811=Math[_0x2c7d59(0xaa)](_0x7bb7d9,_0x460474[_0x2c7d59(0x106)]);this[_0x2c7d59(0xb6)]({'revision':_0x460474,'from':_0x7bb7d9,'to':_0x815811});}}}[_0x2a7920(0xb6)]({revision:_0xe60d76,from:_0x5cdbeb,to:_0x3c5747}={}){const _0x5d5238=_0x2a7920,_0x31bcf2=this[_0x5d5238(0xe8)][_0x5d5238(0xc0)][_0x5d5238(0xef)](_0x3630ae),_0x2de9ce=this[_0x5d5238(0x10a)][_0x5d5238(0xf0)]({'revision':_0xe60d76,'from':_0x5cdbeb,'to':_0x3c5747});_0x2de9ce[_0x5d5238(0xf2)]=_0x2de9ce[_0x5d5238(0xe6)][_0x5d5238(0xd9)](_0x29778d=>_0x31bcf2[_0x5d5238(0x10c)](_0x29778d)),_0xe60d76[_0x5d5238(0x103)](_0x2de9ce);}[_0x2a7920(0x110)](_0x575ab1){const _0x243fb9=_0x2a7920,_0x1d9469={};_0x1d9469['id']=_0x575ab1['id'];for(const _0x49576e of Object[_0x243fb9(0xab)](_0x575ab1))'id'!==_0x49576e&&(_0x1d9469[_0x49576e]=void 0x0);this[_0x243fb9(0x10a)][_0x243fb9(0xfd)](_0x1d9469['id'],_0x1d9469,!0x0);}async[_0x2a7920(0xb7)](_0x2b4e0b){const _0x3c16c1=_0x2a7920,_0x2370a2=this[_0x3c16c1(0xe8)][_0x3c16c1(0xc0)][_0x3c16c1(0xef)](_0x3630ae),{connection:_0x1dfad7}=this[_0x3c16c1(0xe8)][_0x3c16c1(0xc0)][_0x3c16c1(0xef)](_0x4552ba),_0x5bf51d=new Set();for(const _0xefa25c of _0x2b4e0b){for(const _0x3c3267 of _0xefa25c[_0x3c16c1(0xe6)])_0x1863ea(_0x3c3267);_0xefa25c[_0x3c16c1(0x116)]&&_0x1863ea(_0xefa25c[_0x3c16c1(0x116)]);}if(0x0===_0x5bf51d[_0x3c16c1(0xd7)])return;const _0x1b4e61=await _0x33ca70[_0x3c16c1(0xf6)](_0x1dfad7,Array[_0x3c16c1(0xbb)](_0x5bf51d));for(const _0x33eb4e of _0x1b4e61)_0x2370a2[_0x3c16c1(0x10c)](_0x33eb4e['id'])||_0x2370a2[_0x3c16c1(0xae)](_0x33eb4e);function _0x1863ea(_0x539605){const _0x314f48=_0x3c16c1;_0x2370a2[_0x314f48(0x10c)](_0x539605)||_0x5bf51d[_0x314f48(0xcf)](_0x539605);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x5951b4){const _0x2b91ed=_0x2a7920;return _0x5951b4[_0x2b91ed(0xd3)][_0x2b91ed(0xe1)](_0x2b91ed(0xe2))||_0x5951b4[_0x2b91ed(0xd3)][_0x2b91ed(0xe1)](_0x2b91ed(0x10d))||_0x5951b4[_0x2b91ed(0xd3)][_0x2b91ed(0xe1)](_0x2b91ed(0x113));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5c3e99=_0x96f7;function _0x420f(){var _0x5e565a=['6297392LgzYuS','121hWwhrv','974606eVbAHc','6760701jXmaen','6585jRwmln','888tjkPRb','216791Kisdab','254665CgoSAs','pluginName','RevisionHistory','7flOEkD','RealTimeCollaborativeRevisionHistory','requires','10VNkHol','991176LKPFQB','18ndNGQX','isPremiumPlugin','isOfficialPlugin'];_0x420f=function(){return _0x5e565a;};return _0x420f();}(function(_0x28b348,_0xa6af3c){var _0x5d32bc=_0x96f7,_0x49c184=_0x28b348();while(!![]){try{var _0x568525=parseInt(_0x5d32bc(0xe7))/0x1+parseInt(_0x5d32bc(0xe3))/0x2+parseInt(_0x5d32bc(0xe5))/0x3*(parseInt(_0x5d32bc(0xe6))/0x4)+-parseInt(_0x5d32bc(0xe8))/0x5*(-parseInt(_0x5d32bc(0xde))/0x6)+-parseInt(_0x5d32bc(0xeb))/0x7*(-parseInt(_0x5d32bc(0xe1))/0x8)+parseInt(_0x5d32bc(0xe4))/0x9*(-parseInt(_0x5d32bc(0xdc))/0xa)+parseInt(_0x5d32bc(0xe2))/0xb*(-parseInt(_0x5d32bc(0xdd))/0xc);if(_0x568525===_0xa6af3c)break;else _0x49c184['push'](_0x49c184['shift']());}catch(_0x5c0dee){_0x49c184['push'](_0x49c184['shift']());}}}(_0x420f,0x73226));import{Plugin as _0x20bd88}from'ckeditor5/src/core.js';function _0x96f7(_0xbd2fba,_0x41186a){var _0x420f4a=_0x420f();return _0x96f7=function(_0x96f77,_0x59c124){_0x96f77=_0x96f77-0xda;var _0x1e160a=_0x420f4a[_0x96f77];return _0x1e160a;},_0x96f7(_0xbd2fba,_0x41186a);}import{CloudServicesRevisionHistoryAdapter as _0x838443}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x27fd23}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x20bd88{static get[_0x5c3e99(0xdb)](){var _0x34bffe=_0x5c3e99;return[_0x34bffe(0xea),_0x838443,_0x27fd23];}static get[_0x5c3e99(0xe9)](){var _0x2f689f=_0x5c3e99;return _0x2f689f(0xda);}static get[_0x5c3e99(0xe0)](){return!0x0;}static get[_0x5c3e99(0xdf)](){return!0x0;}}
23
+ var _0x5d221b=_0xd7e0;function _0xd7e0(_0x419e78,_0x432c0e){var _0xa9f080=_0xa9f0();return _0xd7e0=function(_0xd7e0b4,_0x272c5){_0xd7e0b4=_0xd7e0b4-0x6c;var _0x19d6bc=_0xa9f080[_0xd7e0b4];return _0x19d6bc;},_0xd7e0(_0x419e78,_0x432c0e);}function _0xa9f0(){var _0x410363=['5wnqnCz','832pwVenA','956764fhjnYO','isOfficialPlugin','2135016TNHyUa','isPremiumPlugin','pluginName','635473YcyOgN','491973eqaIpZ','requires','60431urGugr','RevisionHistory','20Xtbhwb','627714nCUoLZ','810586vSPUOP','RealTimeCollaborativeRevisionHistory'];_0xa9f0=function(){return _0x410363;};return _0xa9f0();}(function(_0x41c8a2,_0x26e715){var _0x51292d=_0xd7e0,_0x50d8ff=_0x41c8a2();while(!![]){try{var _0x22ac51=-parseInt(_0x51292d(0x73))/0x1+parseInt(_0x51292d(0x7a))/0x2+parseInt(_0x51292d(0x74))/0x3+-parseInt(_0x51292d(0x6e))/0x4*(-parseInt(_0x51292d(0x6c))/0x5)+-parseInt(_0x51292d(0x79))/0x6+-parseInt(_0x51292d(0x76))/0x7*(-parseInt(_0x51292d(0x6d))/0x8)+-parseInt(_0x51292d(0x70))/0x9*(parseInt(_0x51292d(0x78))/0xa);if(_0x22ac51===_0x26e715)break;else _0x50d8ff['push'](_0x50d8ff['shift']());}catch(_0x42823a){_0x50d8ff['push'](_0x50d8ff['shift']());}}}(_0xa9f0,0x780f7));import{Plugin as _0x5d5931}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2a2e88}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x1bb115}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5d5931{static get[_0x5d221b(0x75)](){var _0x5ce302=_0x5d221b;return[_0x5ce302(0x77),_0x2a2e88,_0x1bb115];}static get[_0x5d221b(0x72)](){var _0x1b374e=_0x5d221b;return _0x1b374e(0x7b);}static get[_0x5d221b(0x6f)](){return!0x0;}static get[_0x5d221b(0x71)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x212140=_0x50ce;(function(_0x8b1870,_0x30f165){const _0xe7b1b6=_0x50ce,_0x383592=_0x8b1870();while(!![]){try{const _0x80264b=parseInt(_0xe7b1b6(0x15a))/0x1*(-parseInt(_0xe7b1b6(0x176))/0x2)+-parseInt(_0xe7b1b6(0x151))/0x3*(parseInt(_0xe7b1b6(0x177))/0x4)+-parseInt(_0xe7b1b6(0x186))/0x5+-parseInt(_0xe7b1b6(0x154))/0x6+parseInt(_0xe7b1b6(0x185))/0x7*(parseInt(_0xe7b1b6(0x159))/0x8)+-parseInt(_0xe7b1b6(0x17b))/0x9*(-parseInt(_0xe7b1b6(0x15c))/0xa)+parseInt(_0xe7b1b6(0x150))/0xb;if(_0x80264b===_0x30f165)break;else _0x383592['push'](_0x383592['shift']());}catch(_0x12698b){_0x383592['push'](_0x383592['shift']());}}}(_0x3a47,0x75a61));import{Plugin as _0x13aa04}from'ckeditor5/src/core.js';import{User as _0x2f060b,TrackChangesService as _0x2cabc3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x122207}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x376e6d}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x3a47(){const _0x3eb474=['hasSuggestion','catch','delete','values','suggestionUpdated','connected','set','find','8267578HKYxRo','3lIwJbK','getMany','config','3781476FAsUIR','_waitForServiceReady','update','_saved','editor','7380056SujXwK','22426PAKwYA','from','2947090IuMZjf','pluginName','cloud-services-internal-error:\x20Request\x20timeout.','size','requires','CloudServicesTrackChangesAdapter','_fetchMissingUsersForThreads','connect','listenTo','isOfficialPlugin','isPremiumPlugin','message','isConnected','open','collaboration.channelId','type','state','TrackChangesEditing','get','_trackChangesService','connection','attributes','add','addToReconnectionStack','getSuggestion','reconnect','82RUGNkg','521400CCNTSB','data','off','TrackChangesService','18fBazYj','adapter','then','init','getUser','plugins','_bufferedRequests','cloud-services-internal-error:\x20Not\x20connected.','originalSuggestionId','startsWith','7wVfkPZ','507860REPwEs','addUser','addSuggestionData'];_0x3a47=function(){return _0x3eb474;};return _0x3a47();}import{Users as _0x456d2c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x50ce(_0x331957,_0x3e9d1f){const _0x3a470c=_0x3a47();return _0x50ce=function(_0x50ce8b,_0x360430){_0x50ce8b=_0x50ce8b-0x148;let _0x32e917=_0x3a470c[_0x50ce8b];return _0x32e917;},_0x50ce(_0x331957,_0x3e9d1f);}class m extends _0x13aa04{static [_0x212140(0x17a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2cabc3)());[_0x212140(0x181)];[_0x212140(0x16f)];static get[_0x212140(0x160)](){const _0x45a087=_0x212140;return[_0x376e6d,_0x45a087(0x16d),_0x122207];}static get[_0x212140(0x15d)](){const _0xf3972b=_0x212140;return _0xf3972b(0x161);}static get[_0x212140(0x165)](){return!0x0;}static get[_0x212140(0x166)](){return!0x0;}constructor(_0x18fce6){const _0x46f1de=_0x212140;super(_0x18fce6);const _0xb342cf=this[_0x46f1de(0x158)][_0x46f1de(0x153)][_0x46f1de(0x16e)](_0x46f1de(0x16a));this[_0x46f1de(0x181)]=new Map(),this[_0x46f1de(0x16f)]=new m[(_0x46f1de(0x17a))](_0xb342cf);}[_0x212140(0x17e)](){const _0x5a478d=_0x212140,_0x4ef065=this[_0x5a478d(0x158)][_0x5a478d(0x180)][_0x5a478d(0x16e)](_0x122207),_0x1e0b43=this[_0x5a478d(0x158)][_0x5a478d(0x180)][_0x5a478d(0x16e)](_0x5a478d(0x16d));return _0x1e0b43[_0x5a478d(0x17c)]={'getSuggestion':async _0x2f35f5=>{const _0x3a743b=_0x5a478d;await this[_0x3a743b(0x155)]();const _0x12c901=await this[_0x3a743b(0x16f)][_0x3a743b(0x16e)](_0x2f35f5)[_0x3a743b(0x149)](k);return await this[_0x3a743b(0x162)]([_0x12c901]),_0x12c901;},'addSuggestion':async({id:_0x36aae7,type:_0x54ae78,data:_0x4e0fbc,originalSuggestionId:_0x20a64f,attributes:_0x4985e1})=>{const _0x11e84b=_0x5a478d;await this[_0x11e84b(0x155)]();const _0x49fe49={'id':_0x36aae7,'type':_0x54ae78,'data':_0x4e0fbc,'originalSuggestionId':_0x20a64f,'attributes':_0x4985e1},_0x4d5c09=await this[_0x11e84b(0x16f)][_0x11e84b(0x172)](_0x36aae7,_0x54ae78,_0x4e0fbc,_0x20a64f,_0x4985e1)[_0x11e84b(0x149)](_0xafe60a=>{if(st(_0xafe60a))return new Promise(_0x9f1a59=>{const _0x288be0=_0x50ce;this[_0x288be0(0x181)][_0x288be0(0x14e)](_0x36aae7,{'resolve':_0x9f1a59,'suggestionData':_0x49fe49});});throw _0xafe60a;});return this[_0x11e84b(0x181)][_0x11e84b(0x14a)](_0x36aae7),_0x4d5c09;},'updateSuggestion':async(_0x576a00,_0x1e8696)=>{const _0x409871=_0x5a478d;if(await this[_0x409871(0x155)](),_0x409871(0x169)!==_0x1e8696[_0x409871(0x16c)])return this[_0x409871(0x16f)][_0x409871(0x156)](_0x576a00,_0x1e8696)[_0x409871(0x149)](k);}},this[_0x5a478d(0x164)](this[_0x5a478d(0x16f)],_0x5a478d(0x14c),(_0x1d5c66,_0x365210)=>{const _0x4d57f4=_0x5a478d;_0x1e0b43[_0x4d57f4(0x148)](_0x365210['id'])&&(_0x1e0b43[_0x4d57f4(0x174)](_0x365210['id'])[_0x4d57f4(0x171)]=_0x365210[_0x4d57f4(0x171)]);}),this[_0x5a478d(0x16f)][_0x5a478d(0x163)](_0x4ef065[_0x5a478d(0x170)])[_0x5a478d(0x17d)](_0x495d0e=>(_0x4ef065[_0x5a478d(0x173)](this),this[_0x5a478d(0x162)](_0x495d0e)[_0x5a478d(0x17d)](()=>{const _0xc9dd75=_0x5a478d;for(const _0x5a121a of _0x495d0e){_0x1e0b43[_0xc9dd75(0x188)](_0x5a121a)[_0xc9dd75(0x157)]=!0x0;}})));}async[_0x212140(0x175)](){const _0x341c64=_0x212140,_0x1f1a05=this[_0x341c64(0x158)][_0x341c64(0x180)][_0x341c64(0x16e)](_0x341c64(0x16d)),{connection:_0x4ccfab}=this[_0x341c64(0x158)][_0x341c64(0x180)][_0x341c64(0x16e)](_0x122207),_0x19bf0e=await this[_0x341c64(0x16f)][_0x341c64(0x163)](_0x4ccfab);await this[_0x341c64(0x162)](_0x19bf0e);for(const {suggestionData:_0x6afd27,resolve:_0x3828f1}of this[_0x341c64(0x181)][_0x341c64(0x14b)]()){let _0x481842=_0x19bf0e[_0x341c64(0x14f)](_0x5cca23=>_0x5cca23['id']===_0x6afd27['id']);_0x481842||(_0x481842=await this[_0x341c64(0x16f)][_0x341c64(0x172)](_0x6afd27['id'],_0x6afd27[_0x341c64(0x16b)],_0x6afd27[_0x341c64(0x178)],_0x6afd27[_0x341c64(0x183)])),_0x3828f1(_0x481842);}for(const _0x549cea of _0x19bf0e)_0x1f1a05[_0x341c64(0x148)](_0x549cea['id'])||_0x1f1a05[_0x341c64(0x188)](_0x549cea);}async[_0x212140(0x155)](){const _0x3f2ce0=_0x212140;this[_0x3f2ce0(0x16f)][_0x3f2ce0(0x168)]||await new Promise(_0x285c1f=>{const _0x1d5d48=_0x3f2ce0;this[_0x1d5d48(0x164)](this[_0x1d5d48(0x16f)],_0x1d5d48(0x14d),_0x1a7ed1=>{const _0x29f4d8=_0x1d5d48;_0x1a7ed1[_0x29f4d8(0x179)](),_0x285c1f();});});}async[_0x212140(0x162)](_0x593926){const _0x2b6d59=_0x212140,_0x57cf56=this[_0x2b6d59(0x158)][_0x2b6d59(0x180)][_0x2b6d59(0x16e)](_0x456d2c),{connection:_0x225da6}=this[_0x2b6d59(0x158)][_0x2b6d59(0x180)][_0x2b6d59(0x16e)](_0x122207),_0x5c359c=new Set();for(const {authorId:_0x13d9cd}of _0x593926)_0x57cf56[_0x2b6d59(0x17f)](_0x13d9cd)||_0x5c359c[_0x2b6d59(0x172)](_0x13d9cd);if(0x0===_0x5c359c[_0x2b6d59(0x15f)])return;const _0x299a4c=await _0x2f060b[_0x2b6d59(0x152)](_0x225da6,Array[_0x2b6d59(0x15b)](_0x5c359c));for(const _0x99fe3a of _0x299a4c)_0x57cf56[_0x2b6d59(0x17f)](_0x99fe3a['id'])||_0x57cf56[_0x2b6d59(0x187)](_0x99fe3a);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x52980f){if(st(_0x52980f))return new Promise(()=>{});throw _0x52980f;}function st(_0x278cfc){const _0x3ddf96=_0x212140;return _0x278cfc[_0x3ddf96(0x167)][_0x3ddf96(0x184)](_0x3ddf96(0x182))||_0x278cfc[_0x3ddf96(0x167)][_0x3ddf96(0x184)](_0x3ddf96(0x15e));}
23
+ const _0xfbc19c=_0x1fbd;(function(_0x509309,_0x52b5dd){const _0x26cf5b=_0x1fbd,_0x2d7e81=_0x509309();while(!![]){try{const _0x554597=-parseInt(_0x26cf5b(0x1d8))/0x1*(-parseInt(_0x26cf5b(0x1cf))/0x2)+parseInt(_0x26cf5b(0x1bb))/0x3*(parseInt(_0x26cf5b(0x1a3))/0x4)+-parseInt(_0x26cf5b(0x1c7))/0x5*(-parseInt(_0x26cf5b(0x1c5))/0x6)+-parseInt(_0x26cf5b(0x1a9))/0x7+-parseInt(_0x26cf5b(0x1b4))/0x8+-parseInt(_0x26cf5b(0x1b1))/0x9+-parseInt(_0x26cf5b(0x1c3))/0xa;if(_0x554597===_0x52b5dd)break;else _0x2d7e81['push'](_0x2d7e81['shift']());}catch(_0x5c47e4){_0x2d7e81['push'](_0x2d7e81['shift']());}}}(_0x2205,0x18ea9));import{Plugin as _0x491346}from'ckeditor5/src/core.js';import{User as _0xf5f8d7,TrackChangesService as _0x1bd021}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x149bbf}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2205(){const _0x4a5f41=['set','addToReconnectionStack','delete','collaboration.channelId','isPremiumPlugin','editor','cloud-services-internal-error:\x20Request\x20timeout.','find','2ymYmOU','TrackChangesService','addSuggestionData','_fetchMissingUsersForThreads','update','get','size','add','attributes','values','plugins','56644EXzYuE','_saved','listenTo','state','adapter','from','555569hsAaiM','CloudServicesTrackChangesAdapter','startsWith','getUser','cloud-services-internal-error:\x20Not\x20connected.','reconnect','init','config','1250244wdNVwS','getMany','isOfficialPlugin','982904QEfmNW','requires','connect','isConnected','addUser','TrackChangesEditing','pluginName','39KBWKwZ','type','hasSuggestion','then','_bufferedRequests','_trackChangesService','_waitForServiceReady','originalSuggestionId','622140iWbOkh','suggestionUpdated','12zgQoMc','data','442555ntTTcw','connection','catch','connected','off','message','getSuggestion','open','144302XRXiBh'];_0x2205=function(){return _0x4a5f41;};return _0x2205();}import{CloudServicesCommentsAdapter as _0x4498dc}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x89e644}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x491346{static [_0xfbc19c(0x1d9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1bd021)());[_0xfbc19c(0x1bf)];[_0xfbc19c(0x1c0)];static get[_0xfbc19c(0x1b5)](){const _0x10bc76=_0xfbc19c;return[_0x4498dc,_0x10bc76(0x1b9),_0x149bbf];}static get[_0xfbc19c(0x1ba)](){const _0x4fcaf7=_0xfbc19c;return _0x4fcaf7(0x1aa);}static get[_0xfbc19c(0x1b3)](){return!0x0;}static get[_0xfbc19c(0x1d4)](){return!0x0;}constructor(_0x9cb5d5){const _0x453477=_0xfbc19c;super(_0x9cb5d5);const _0x257516=this[_0x453477(0x1d5)][_0x453477(0x1b0)][_0x453477(0x1dd)](_0x453477(0x1d3));this[_0x453477(0x1bf)]=new Map(),this[_0x453477(0x1c0)]=new m[(_0x453477(0x1d9))](_0x257516);}[_0xfbc19c(0x1af)](){const _0x4976bc=_0xfbc19c,_0xba156e=this[_0x4976bc(0x1d5)][_0x4976bc(0x1a2)][_0x4976bc(0x1dd)](_0x149bbf),_0x5c731c=this[_0x4976bc(0x1d5)][_0x4976bc(0x1a2)][_0x4976bc(0x1dd)](_0x4976bc(0x1b9));return _0x5c731c[_0x4976bc(0x1a7)]={'getSuggestion':async _0x5f3e3c=>{const _0x4c760a=_0x4976bc;await this[_0x4c760a(0x1c1)]();const _0x2da3d6=await this[_0x4c760a(0x1c0)][_0x4c760a(0x1dd)](_0x5f3e3c)[_0x4c760a(0x1c9)](A);return await this[_0x4c760a(0x1db)]([_0x2da3d6]),_0x2da3d6;},'addSuggestion':async({id:_0x3f309a,type:_0xbc1f4,data:_0x22b1b3,originalSuggestionId:_0x47ed24,attributes:_0x4ef952})=>{const _0x1baee5=_0x4976bc;await this[_0x1baee5(0x1c1)]();const _0x1c9ee4={'id':_0x3f309a,'type':_0xbc1f4,'data':_0x22b1b3,'originalSuggestionId':_0x47ed24,'attributes':_0x4ef952},_0x12eb8b=await this[_0x1baee5(0x1c0)][_0x1baee5(0x1df)](_0x3f309a,_0xbc1f4,_0x22b1b3,_0x47ed24,_0x4ef952)[_0x1baee5(0x1c9)](_0x485ac7=>{if(st(_0x485ac7))return new Promise(_0x3ab077=>{const _0x173575=_0x1fbd;this[_0x173575(0x1bf)][_0x173575(0x1d0)](_0x3f309a,{'resolve':_0x3ab077,'suggestionData':_0x1c9ee4});});throw _0x485ac7;});return this[_0x1baee5(0x1bf)][_0x1baee5(0x1d2)](_0x3f309a),_0x12eb8b;},'updateSuggestion':async(_0x4078ad,_0x20cdc)=>{const _0x3af302=_0x4976bc;if(await this[_0x3af302(0x1c1)](),_0x3af302(0x1ce)!==_0x20cdc[_0x3af302(0x1a6)])return this[_0x3af302(0x1c0)][_0x3af302(0x1dc)](_0x4078ad,_0x20cdc)[_0x3af302(0x1c9)](A);}},this[_0x4976bc(0x1a5)](this[_0x4976bc(0x1c0)],_0x4976bc(0x1c4),(_0x2b25a2,_0x1b5a7e)=>{const _0x38d721=_0x4976bc;_0x5c731c[_0x38d721(0x1bd)](_0x1b5a7e['id'])&&(_0x5c731c[_0x38d721(0x1cd)](_0x1b5a7e['id'])[_0x38d721(0x1e0)]=_0x1b5a7e[_0x38d721(0x1e0)]);}),this[_0x4976bc(0x1c0)][_0x4976bc(0x1b6)](_0xba156e[_0x4976bc(0x1c8)])[_0x4976bc(0x1be)](_0x2fa3fe=>(_0xba156e[_0x4976bc(0x1d1)](this),this[_0x4976bc(0x1db)](_0x2fa3fe)[_0x4976bc(0x1be)](()=>{const _0x42e89d=_0x4976bc;for(const _0x5a0af2 of _0x2fa3fe){_0x5c731c[_0x42e89d(0x1da)](_0x5a0af2)[_0x42e89d(0x1a4)]=!0x0;}})));}async[_0xfbc19c(0x1ae)](){const _0x157768=_0xfbc19c,_0x5103cf=this[_0x157768(0x1d5)][_0x157768(0x1a2)][_0x157768(0x1dd)](_0x157768(0x1b9)),{connection:_0x5e5831}=this[_0x157768(0x1d5)][_0x157768(0x1a2)][_0x157768(0x1dd)](_0x149bbf),_0x3a1314=await this[_0x157768(0x1c0)][_0x157768(0x1b6)](_0x5e5831);await this[_0x157768(0x1db)](_0x3a1314);for(const {suggestionData:_0x2d5479,resolve:_0x1a5dae}of this[_0x157768(0x1bf)][_0x157768(0x1a1)]()){let _0x53dc26=_0x3a1314[_0x157768(0x1d7)](_0x3b8fe8=>_0x3b8fe8['id']===_0x2d5479['id']);_0x53dc26||(_0x53dc26=await this[_0x157768(0x1c0)][_0x157768(0x1df)](_0x2d5479['id'],_0x2d5479[_0x157768(0x1bc)],_0x2d5479[_0x157768(0x1c6)],_0x2d5479[_0x157768(0x1c2)])),_0x1a5dae(_0x53dc26);}for(const _0x45761a of _0x3a1314)_0x5103cf[_0x157768(0x1bd)](_0x45761a['id'])||_0x5103cf[_0x157768(0x1da)](_0x45761a);}async[_0xfbc19c(0x1c1)](){const _0x4742f9=_0xfbc19c;this[_0x4742f9(0x1c0)][_0x4742f9(0x1b7)]||await new Promise(_0x1b62fd=>{const _0x36b5e0=_0x4742f9;this[_0x36b5e0(0x1a5)](this[_0x36b5e0(0x1c0)],_0x36b5e0(0x1ca),_0x222e40=>{const _0x2d9125=_0x36b5e0;_0x222e40[_0x2d9125(0x1cb)](),_0x1b62fd();});});}async[_0xfbc19c(0x1db)](_0x2d7733){const _0x91b808=_0xfbc19c,_0x1f9a28=this[_0x91b808(0x1d5)][_0x91b808(0x1a2)][_0x91b808(0x1dd)](_0x89e644),{connection:_0x2c41e9}=this[_0x91b808(0x1d5)][_0x91b808(0x1a2)][_0x91b808(0x1dd)](_0x149bbf),_0x34dae5=new Set();for(const {authorId:_0x3b418f}of _0x2d7733)_0x1f9a28[_0x91b808(0x1ac)](_0x3b418f)||_0x34dae5[_0x91b808(0x1df)](_0x3b418f);if(0x0===_0x34dae5[_0x91b808(0x1de)])return;const _0x1a53a5=await _0xf5f8d7[_0x91b808(0x1b2)](_0x2c41e9,Array[_0x91b808(0x1a8)](_0x34dae5));for(const _0x4d4f33 of _0x1a53a5)_0x1f9a28[_0x91b808(0x1ac)](_0x4d4f33['id'])||_0x1f9a28[_0x91b808(0x1b8)](_0x4d4f33);}}function _0x1fbd(_0x462422,_0x4d0f86){const _0x2205ed=_0x2205();return _0x1fbd=function(_0x1fbd5d,_0x583c9b){_0x1fbd5d=_0x1fbd5d-0x1a1;let _0x175ac2=_0x2205ed[_0x1fbd5d];return _0x175ac2;},_0x1fbd(_0x462422,_0x4d0f86);}export{m as CloudServicesTrackChangesAdapter};function A(_0x7cacd8){if(st(_0x7cacd8))return new Promise(()=>{});throw _0x7cacd8;}function st(_0x345b9e){const _0x27c31e=_0xfbc19c;return _0x345b9e[_0x27c31e(0x1cc)][_0x27c31e(0x1ab)](_0x27c31e(0x1ad))||_0x345b9e[_0x27c31e(0x1cc)][_0x27c31e(0x1ab)](_0x27c31e(0x1d6));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c5b(){var _0x59733f=['75134uqbnbe','732063oasUfu','RealTimeCollaborativeTrackChanges','21vdiTxz','1351576YuWlLJ','1879452bGTuMj','4030210PRSZsk','requires','3431025MrymdS','4xDhqcm','pluginName','22FKcbnH','4EBbApv','isPremiumPlugin','TrackChanges','5942718fvEgfX','isOfficialPlugin'];_0x4c5b=function(){return _0x59733f;};return _0x4c5b();}var _0x107be8=_0x8c8f;(function(_0x13536c,_0x119f73){var _0xe818e5=_0x8c8f,_0x15f3ef=_0x13536c();while(!![]){try{var _0x4797b2=-parseInt(_0xe818e5(0x17e))/0x1*(-parseInt(_0xe818e5(0x183))/0x2)+parseInt(_0xe818e5(0x184))/0x3*(parseInt(_0xe818e5(0x17b))/0x4)+-parseInt(_0xe818e5(0x17a))/0x5+-parseInt(_0xe818e5(0x177))/0x6+-parseInt(_0xe818e5(0x186))/0x7*(parseInt(_0xe818e5(0x176))/0x8)+parseInt(_0xe818e5(0x181))/0x9+parseInt(_0xe818e5(0x178))/0xa*(parseInt(_0xe818e5(0x17d))/0xb);if(_0x4797b2===_0x119f73)break;else _0x15f3ef['push'](_0x15f3ef['shift']());}catch(_0x1c8659){_0x15f3ef['push'](_0x15f3ef['shift']());}}}(_0x4c5b,0x56829));function _0x8c8f(_0x128db9,_0x41a5d8){var _0x4c5bf8=_0x4c5b();return _0x8c8f=function(_0x8c8feb,_0xee50fb){_0x8c8feb=_0x8c8feb-0x176;var _0x37702b=_0x4c5bf8[_0x8c8feb];return _0x37702b;},_0x8c8f(_0x128db9,_0x41a5d8);}import{Plugin as _0x2a1b5b}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x1bf228}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x4747a4}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2a1b5b{static get[_0x107be8(0x179)](){var _0x4645dd=_0x107be8;return[_0x4747a4,_0x1bf228,_0x4645dd(0x180)];}static get[_0x107be8(0x17c)](){var _0x1bbd6d=_0x107be8;return _0x1bbd6d(0x185);}static get[_0x107be8(0x182)](){return!0x0;}static get[_0x107be8(0x17f)](){return!0x0;}}
23
+ var _0x2a4ebf=_0x4792;(function(_0x1b227d,_0x29cd44){var _0x212b51=_0x4792,_0x34e50b=_0x1b227d();while(!![]){try{var _0x21b651=parseInt(_0x212b51(0xe1))/0x1+parseInt(_0x212b51(0xe8))/0x2*(parseInt(_0x212b51(0xe0))/0x3)+parseInt(_0x212b51(0xe3))/0x4*(-parseInt(_0x212b51(0xe5))/0x5)+parseInt(_0x212b51(0xe2))/0x6+parseInt(_0x212b51(0xec))/0x7+parseInt(_0x212b51(0xde))/0x8+-parseInt(_0x212b51(0xe9))/0x9;if(_0x21b651===_0x29cd44)break;else _0x34e50b['push'](_0x34e50b['shift']());}catch(_0x3331a1){_0x34e50b['push'](_0x34e50b['shift']());}}}(_0x330f,0x68492));import{Plugin as _0x262343}from'ckeditor5/src/core.js';function _0x4792(_0x54d979,_0x27f193){var _0x330f9f=_0x330f();return _0x4792=function(_0x479222,_0x17d734){_0x479222=_0x479222-0xde;var _0x5e3af9=_0x330f9f[_0x479222];return _0x5e3af9;},_0x4792(_0x54d979,_0x27f193);}import{CloudServicesTrackChangesAdapter as _0x3e24ee}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3dc6c1}from'./realtimecollaborativecomments.js';function _0x330f(){var _0x28f57c=['4949988IBmord','1588LrFeDk','isPremiumPlugin','6905HHIQIl','pluginName','TrackChanges','176504wGTXkF','16185294aYOlKC','isOfficialPlugin','RealTimeCollaborativeTrackChanges','2692305iOOlcw','5320056sAxIzR','requires','12NhIqJK','546149IfJLlM'];_0x330f=function(){return _0x28f57c;};return _0x330f();}export class RealTimeCollaborativeTrackChanges extends _0x262343{static get[_0x2a4ebf(0xdf)](){var _0x30d30b=_0x2a4ebf;return[_0x3dc6c1,_0x3e24ee,_0x30d30b(0xe7)];}static get[_0x2a4ebf(0xe6)](){var _0x2868d6=_0x2a4ebf;return _0x2868d6(0xeb);}static get[_0x2a4ebf(0xea)](){return!0x0;}static get[_0x2a4ebf(0xe4)](){return!0x0;}}