@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.1 → 46.0.0-alpha.3

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 +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
- function _0x1b7f(){const _0x2076af=['cloudservices-reconnection-error','webSocketUrl','634692EjkngA','isInReconnectionStack','offline','requires','connection','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.','listenTo','delete','showWarning','then','code','isOfficialPlugin','change:me','init','error','limitExceeded','set','websocketgateway-plugin-already-registered','add','bind','stopListening','addToReconnectionStack','websocketgateway-missing-websocket-url','_isBrowserOffline','cloudServices.requestTimeout','cloudServices.connectionTimeout','cloudservices-init','874678HrYHIS','2585442fxKiTB','websocketgateway-invalid-plugin-interface','get','constructor','CloudServices','_reconnectionStack','pluginName','connect','WebSocketGateway','CONNECTED','_shouldPluginsReconnect','plugins','disconnect','has','define','reconnect','catch','_reconnect','function','5VHoZLc','online','234101bYIDpt','token','32bhBubq','config','from','context','Connected\x20users\x20limit\x20exceeded','connected','CONNECTING','isPremiumPlugin','DISCONNECTED','all','real-time-collaboration','initialReconnectionInterval','960412DbMlFy','9FGYlPJ','_domEmitter','websocketgateway-missing-token','31687720mTTjYn','destroy','state','removeFromReconnectionStack','3022956uYLVzx'];_0x1b7f=function(){return _0x2076af;};return _0x1b7f();}function _0x35d2(_0x563461,_0x5edd27){const _0x1b7fc9=_0x1b7f();return _0x35d2=function(_0x35d2ff,_0x468406){_0x35d2ff=_0x35d2ff-0xf2;let _0x156de1=_0x1b7fc9[_0x35d2ff];return _0x156de1;},_0x35d2(_0x563461,_0x5edd27);}const _0x55d247=_0x35d2;(function(_0x3365f9,_0x3579bc){const _0x1cfac5=_0x35d2,_0x58b051=_0x3365f9();while(!![]){try{const _0x9f1aba=-parseInt(_0x1cfac5(0x11d))/0x1+-parseInt(_0x1cfac5(0x136))/0x2+-parseInt(_0x1cfac5(0x108))/0x3+parseInt(_0x1cfac5(0x12b))/0x4*(-parseInt(_0x1cfac5(0x11b))/0x5)+-parseInt(_0x1cfac5(0x133))/0x6+parseInt(_0x1cfac5(0x107))/0x7*(-parseInt(_0x1cfac5(0x11f))/0x8)+parseInt(_0x1cfac5(0x12c))/0x9*(parseInt(_0x1cfac5(0x12f))/0xa);if(_0x9f1aba===_0x3579bc)break;else _0x58b051['push'](_0x58b051['shift']());}catch(_0xb22a74){_0x58b051['push'](_0x58b051['shift']());}}}(_0x1b7f,0x7cf16));import{ContextPlugin as _0x457c88}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4bc5b7,CKEditorError as _0x5e759b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5500fc,WEB_SOCKET_GATEWAY_STATES as _0x90e838}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x40f1cb}from'ckeditor5/src/ui.js';class n extends _0x457c88{static [_0x55d247(0x110)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5500fc)());static [_0x55d247(0x12a)]=0x3e8;[_0x55d247(0x13a)];[_0x55d247(0x10d)];[_0x55d247(0x112)];[_0x55d247(0x12d)];static get[_0x55d247(0x139)](){const _0x4e1b87=_0x55d247;return[_0x4e1b87(0x10c),_0x40f1cb];}static get[_0x55d247(0x10e)](){const _0x1fc94b=_0x55d247;return _0x1fc94b(0x110);}static get[_0x55d247(0xf7)](){return!0x0;}static get[_0x55d247(0x126)](){return!0x0;}constructor(_0x724750){const _0x4d6835=_0x55d247;super(_0x724750),this[_0x4d6835(0xfc)](_0x4d6835(0x131),_0x90e838[_0x4d6835(0x111)]),this[_0x4d6835(0xfc)](_0x4d6835(0x103),!0x1),this[_0x4d6835(0x10d)]=new Set(),this[_0x4d6835(0x112)]=!0x1,this[_0x4d6835(0x12d)]=new(_0x4bc5b7())();}[_0x55d247(0xf9)](){const _0x5d9094=_0x55d247,_0xfc2be1=this[_0x5d9094(0x122)],_0x39172b=_0xfc2be1[_0x5d9094(0x113)][_0x5d9094(0x10a)](_0x5d9094(0x10c)),_0x4c2f6f=_0xfc2be1[_0x5d9094(0x113)][_0x5d9094(0x10a)](_0x40f1cb);if(!_0x39172b[_0x5d9094(0x11e)])throw new _0x5e759b(_0x5d9094(0x12e),this);if(!_0x39172b[_0x5d9094(0x135)])throw new _0x5e759b(_0x5d9094(0x102),this);return this[_0x5d9094(0x12d)][_0x5d9094(0xf2)](window,_0x5d9094(0x138),()=>this[_0x5d9094(0x103)]=!0x0),this[_0x5d9094(0x12d)][_0x5d9094(0xf2)](window,_0x5d9094(0x11c),()=>this[_0x5d9094(0x103)]=!0x1),this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x116)](_0x5d9094(0x105),0xa),this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x116)](_0x5d9094(0x104),0x14),n[_0x5d9094(0x110)][_0x5d9094(0x10f)](_0x39172b[_0x5d9094(0x11e)],_0x39172b[_0x5d9094(0x135)],{'timeout':0x3e8*this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x10a)](_0x5d9094(0x105)),'requestTimeout':0x3e8*this[_0x5d9094(0x122)][_0x5d9094(0x120)][_0x5d9094(0x10a)](_0x5d9094(0x104))})[_0x5d9094(0xf5)](_0x486622=>{const _0x4f7737=_0x5d9094;if(this[_0x4f7737(0x13a)]=_0x486622,this[_0x4f7737(0xff)](_0x4f7737(0x131))['to'](_0x486622,_0x4f7737(0x131),this,_0x4f7737(0x103),(_0x3ff9c6,_0x2171d6)=>(_0x4f7737(0x124)!==_0x3ff9c6&&(this[_0x4f7737(0x112)]=!0x0),_0x2171d6||_0x3ff9c6!==_0x90e838[_0x4f7737(0x111)]?_0x90e838[_0x4f7737(0x127)]:this[_0x4f7737(0x131)]==_0x90e838[_0x4f7737(0x127)]&&this[_0x4f7737(0x112)]?(this[_0x4f7737(0x112)]=!0x1,this[_0x4f7737(0x119)](),_0x90e838[_0x4f7737(0x125)]):_0x90e838[_0x4f7737(0x111)])),this[_0x4f7737(0x13a)]['on'](_0x4f7737(0xfa),(_0x46aea1,_0x485a93)=>{const _0x2a8dc5=_0x4f7737;if(_0x2a8dc5(0xfb)!==_0x485a93[_0x2a8dc5(0xf6)])throw console[_0x2a8dc5(0xfa)](_0x485a93),new _0x5e759b(_0x2a8dc5(0x106),null,{'originalError':_0x485a93});_0x4c2f6f[_0x2a8dc5(0xf4)](_0x2a8dc5(0x13b),{'title':_0x2a8dc5(0x123),'namespace':_0x2a8dc5(0x129)});}),!_0x486622['me'])return new Promise(_0x26e635=>_0x486622['on'](_0x4f7737(0xf8),_0x26e635));})[_0x5d9094(0x118)](_0x31d65b=>{const _0x3e9673=_0x5d9094;throw console[_0x3e9673(0xfa)](_0x31d65b),new _0x5e759b(_0x3e9673(0x106),null,{'originalError':_0x31d65b});});}[_0x55d247(0x101)](_0x46ea60){const _0x4dcf00=_0x55d247;if(_0x4dcf00(0x11a)!=typeof _0x46ea60[_0x4dcf00(0x117)])throw new _0x5e759b(_0x4dcf00(0x109),this);if(this[_0x4dcf00(0x137)](_0x46ea60))throw new _0x5e759b(_0x4dcf00(0xfd),this,{'name':_0x46ea60[_0x4dcf00(0x10b)][_0x4dcf00(0x10e)]});this[_0x4dcf00(0x10d)][_0x4dcf00(0xfe)](_0x46ea60);}[_0x55d247(0x132)](_0x59fdd4){const _0x145bdc=_0x55d247;this[_0x145bdc(0x10d)][_0x145bdc(0xf3)](_0x59fdd4);}[_0x55d247(0x137)](_0xf99f62){const _0x295d55=_0x55d247;return this[_0x295d55(0x10d)][_0x295d55(0x115)](_0xf99f62);}[_0x55d247(0x119)](){const _0x55e353=_0x55d247;return this[_0x55e353(0x13a)][_0x55e353(0x117)]()[_0x55e353(0xf5)](()=>Promise[_0x55e353(0x128)](Array[_0x55e353(0x121)](this[_0x55e353(0x10d)],_0x104761=>_0x104761[_0x55e353(0x117)]())))[_0x55e353(0xf5)](()=>this[_0x55e353(0x131)]=_0x90e838[_0x55e353(0x111)])[_0x55e353(0x118)](_0x3b4389=>{const _0x5844fe=_0x55e353;throw console[_0x5844fe(0xfa)](_0x3b4389),new _0x5e759b(_0x5844fe(0x134),this[_0x5844fe(0x122)]);});}[_0x55d247(0x114)](){const _0x113768=_0x55d247;this[_0x113768(0x13a)]&&this[_0x113768(0x13a)][_0x113768(0x114)](),this[_0x113768(0x131)]=_0x90e838[_0x113768(0x127)],this[_0x113768(0x12d)][_0x113768(0x100)]();}[_0x55d247(0x130)](){const _0xad90ee=_0x55d247;this[_0xad90ee(0x114)](),super[_0xad90ee(0x130)]();}}export{n as WebSocketGateway};
23
+ function _0x536e(){const _0x2c2757=['isPremiumPlugin','pluginName','real-time-collaboration','all','18UUloMp','connect','online','constructor','catch','Connected\x20users\x20limit\x20exceeded','init','websocketgateway-missing-token','from','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.','isInReconnectionStack','limitExceeded','connected','initialReconnectionInterval','cloudservices-init','function','1710900xlnJno','WebSocketGateway','removeFromReconnectionStack','CONNECTED','webSocketUrl','2176024TLfzKZ','DISCONNECTED','148TnKqfJ','2rsyxjf','destroy','connection','define','websocketgateway-plugin-already-registered','has','cloudServices.connectionTimeout','set','error','881551HOmWwf','_isBrowserOffline','_shouldPluginsReconnect','token','state','change:me','bind','18smCcbN','requires','CloudServices','stopListening','websocketgateway-invalid-plugin-interface','config','plugins','1076435NPdHJz','cloudServices.requestTimeout','showWarning','addToReconnectionStack','_domEmitter','1421189LbCreJ','add','delete','context','code','disconnect','websocketgateway-missing-websocket-url','cloudservices-reconnection-error','57055SDdxwg','listenTo','_reconnect','reconnect','CONNECTING','isOfficialPlugin','_reconnectionStack','then','get','offline','3415089rqDIhz'];_0x536e=function(){return _0x2c2757;};return _0x536e();}const _0x44253b=_0x5f3f;(function(_0x20d680,_0x1d3696){const _0x1c6601=_0x5f3f,_0x12bf89=_0x20d680();while(!![]){try{const _0x23a20b=parseInt(_0x1c6601(0x1ef))/0x1+parseInt(_0x1c6601(0x1d8))/0x2*(-parseInt(_0x1c6601(0x206))/0x3)+-parseInt(_0x1c6601(0x1d7))/0x4*(parseInt(_0x1c6601(0x1fc))/0x5)+parseInt(_0x1c6601(0x1e8))/0x6*(parseInt(_0x1c6601(0x1f4))/0x7)+-parseInt(_0x1c6601(0x1d5))/0x8*(-parseInt(_0x1c6601(0x20b))/0x9)+parseInt(_0x1c6601(0x1d0))/0xa+-parseInt(_0x1c6601(0x1e1))/0xb;if(_0x23a20b===_0x1d3696)break;else _0x12bf89['push'](_0x12bf89['shift']());}catch(_0x2dbc1a){_0x12bf89['push'](_0x12bf89['shift']());}}}(_0x536e,0xb985d));import{ContextPlugin as _0x4487d2}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3a1f53,CKEditorError as _0x4eeef8}from'ckeditor5/src/utils.js';function _0x5f3f(_0x438d74,_0x2eaacd){const _0x536e4e=_0x536e();return _0x5f3f=function(_0x5f3fc9,_0x5eb3cc){_0x5f3fc9=_0x5f3fc9-0x1ca;let _0x5c7853=_0x536e4e[_0x5f3fc9];return _0x5c7853;},_0x5f3f(_0x438d74,_0x2eaacd);}import{WebSocketGateway as _0x4dfad4,WEB_SOCKET_GATEWAY_STATES as _0x263191}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x9da088}from'ckeditor5/src/ui.js';class n extends _0x4487d2{static [_0x44253b(0x1d1)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4dfad4)());static [_0x44253b(0x1cd)]=0x3e8;[_0x44253b(0x1da)];[_0x44253b(0x202)];[_0x44253b(0x1e3)];[_0x44253b(0x1f3)];static get[_0x44253b(0x1e9)](){const _0x27fff6=_0x44253b;return[_0x27fff6(0x1ea),_0x9da088];}static get[_0x44253b(0x208)](){const _0x1d7c14=_0x44253b;return _0x1d7c14(0x1d1);}static get[_0x44253b(0x201)](){return!0x0;}static get[_0x44253b(0x207)](){return!0x0;}constructor(_0x17af35){const _0x593714=_0x44253b;super(_0x17af35),this[_0x593714(0x1df)](_0x593714(0x1e5),_0x263191[_0x593714(0x1d3)]),this[_0x593714(0x1df)](_0x593714(0x1e2),!0x1),this[_0x593714(0x202)]=new Set(),this[_0x593714(0x1e3)]=!0x1,this[_0x593714(0x1f3)]=new(_0x3a1f53())();}[_0x44253b(0x211)](){const _0x505182=_0x44253b,_0x4f1de5=this[_0x505182(0x1f7)],_0x5aa412=_0x4f1de5[_0x505182(0x1ee)][_0x505182(0x204)](_0x505182(0x1ea)),_0x59897c=_0x4f1de5[_0x505182(0x1ee)][_0x505182(0x204)](_0x9da088);if(!_0x5aa412[_0x505182(0x1e4)])throw new _0x4eeef8(_0x505182(0x212),this);if(!_0x5aa412[_0x505182(0x1d4)])throw new _0x4eeef8(_0x505182(0x1fa),this);return this[_0x505182(0x1f3)][_0x505182(0x1fd)](window,_0x505182(0x205),()=>this[_0x505182(0x1e2)]=!0x0),this[_0x505182(0x1f3)][_0x505182(0x1fd)](window,_0x505182(0x20d),()=>this[_0x505182(0x1e2)]=!0x1),this[_0x505182(0x1f7)][_0x505182(0x1ed)][_0x505182(0x1db)](_0x505182(0x1de),0xa),this[_0x505182(0x1f7)][_0x505182(0x1ed)][_0x505182(0x1db)](_0x505182(0x1f0),0x14),n[_0x505182(0x1d1)][_0x505182(0x20c)](_0x5aa412[_0x505182(0x1e4)],_0x5aa412[_0x505182(0x1d4)],{'timeout':0x3e8*this[_0x505182(0x1f7)][_0x505182(0x1ed)][_0x505182(0x204)](_0x505182(0x1de)),'requestTimeout':0x3e8*this[_0x505182(0x1f7)][_0x505182(0x1ed)][_0x505182(0x204)](_0x505182(0x1f0))})[_0x505182(0x203)](_0x2620b4=>{const _0x5a77be=_0x505182;if(this[_0x5a77be(0x1da)]=_0x2620b4,this[_0x5a77be(0x1e7)](_0x5a77be(0x1e5))['to'](_0x2620b4,_0x5a77be(0x1e5),this,_0x5a77be(0x1e2),(_0x4895a2,_0x701a5e)=>(_0x5a77be(0x1cc)!==_0x4895a2&&(this[_0x5a77be(0x1e3)]=!0x0),_0x701a5e||_0x4895a2!==_0x263191[_0x5a77be(0x1d3)]?_0x263191[_0x5a77be(0x1d6)]:this[_0x5a77be(0x1e5)]==_0x263191[_0x5a77be(0x1d6)]&&this[_0x5a77be(0x1e3)]?(this[_0x5a77be(0x1e3)]=!0x1,this[_0x5a77be(0x1fe)](),_0x263191[_0x5a77be(0x200)]):_0x263191[_0x5a77be(0x1d3)])),this[_0x5a77be(0x1da)]['on'](_0x5a77be(0x1e0),(_0x429d12,_0xe5972d)=>{const _0x5e0175=_0x5a77be;if(_0x5e0175(0x1cb)!==_0xe5972d[_0x5e0175(0x1f8)])throw console[_0x5e0175(0x1e0)](_0xe5972d),new _0x4eeef8(_0x5e0175(0x1ce),null,{'originalError':_0xe5972d});_0x59897c[_0x5e0175(0x1f1)](_0x5e0175(0x214),{'title':_0x5e0175(0x210),'namespace':_0x5e0175(0x209)});}),!_0x2620b4['me'])return new Promise(_0x2f753f=>_0x2620b4['on'](_0x5a77be(0x1e6),_0x2f753f));})[_0x505182(0x20f)](_0x28817b=>{const _0x313656=_0x505182;throw console[_0x313656(0x1e0)](_0x28817b),new _0x4eeef8(_0x313656(0x1ce),null,{'originalError':_0x28817b});});}[_0x44253b(0x1f2)](_0x468c05){const _0x1ade1e=_0x44253b;if(_0x1ade1e(0x1cf)!=typeof _0x468c05[_0x1ade1e(0x1ff)])throw new _0x4eeef8(_0x1ade1e(0x1ec),this);if(this[_0x1ade1e(0x1ca)](_0x468c05))throw new _0x4eeef8(_0x1ade1e(0x1dc),this,{'name':_0x468c05[_0x1ade1e(0x20e)][_0x1ade1e(0x208)]});this[_0x1ade1e(0x202)][_0x1ade1e(0x1f5)](_0x468c05);}[_0x44253b(0x1d2)](_0x343055){const _0x221b42=_0x44253b;this[_0x221b42(0x202)][_0x221b42(0x1f6)](_0x343055);}[_0x44253b(0x1ca)](_0x402423){const _0x129f3e=_0x44253b;return this[_0x129f3e(0x202)][_0x129f3e(0x1dd)](_0x402423);}[_0x44253b(0x1fe)](){const _0x1458ff=_0x44253b;return this[_0x1458ff(0x1da)][_0x1458ff(0x1ff)]()[_0x1458ff(0x203)](()=>Promise[_0x1458ff(0x20a)](Array[_0x1458ff(0x213)](this[_0x1458ff(0x202)],_0x179209=>_0x179209[_0x1458ff(0x1ff)]())))[_0x1458ff(0x203)](()=>this[_0x1458ff(0x1e5)]=_0x263191[_0x1458ff(0x1d3)])[_0x1458ff(0x20f)](_0x46a4b7=>{const _0x334b17=_0x1458ff;throw console[_0x334b17(0x1e0)](_0x46a4b7),new _0x4eeef8(_0x334b17(0x1fb),this[_0x334b17(0x1f7)]);});}[_0x44253b(0x1f9)](){const _0xc94286=_0x44253b;this[_0xc94286(0x1da)]&&this[_0xc94286(0x1da)][_0xc94286(0x1f9)](),this[_0xc94286(0x1e5)]=_0x263191[_0xc94286(0x1d6)],this[_0xc94286(0x1f3)][_0xc94286(0x1eb)]();}[_0x44253b(0x1d9)](){const _0x230880=_0x44253b;this[_0x230880(0x1f9)](),super[_0x230880(0x1d9)]();}}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x50f6a1=_0x428b;function _0x428b(_0x20a021,_0x2b1b04){var _0x4bd126=_0x4bd1();return _0x428b=function(_0x428bbf,_0x15cda4){_0x428bbf=_0x428bbf-0x16b;var _0x176664=_0x4bd126[_0x428bbf];return _0x176664;},_0x428b(_0x20a021,_0x2b1b04);}(function(_0x4be659,_0x10f2d2){var _0x4d0efe=_0x428b,_0x2c00e3=_0x4be659();while(!![]){try{var _0x15842e=-parseInt(_0x4d0efe(0x174))/0x1*(parseInt(_0x4d0efe(0x17a))/0x2)+-parseInt(_0x4d0efe(0x17b))/0x3*(-parseInt(_0x4d0efe(0x176))/0x4)+-parseInt(_0x4d0efe(0x16c))/0x5*(-parseInt(_0x4d0efe(0x16e))/0x6)+-parseInt(_0x4d0efe(0x179))/0x7+parseInt(_0x4d0efe(0x170))/0x8*(-parseInt(_0x4d0efe(0x175))/0x9)+parseInt(_0x4d0efe(0x172))/0xa*(-parseInt(_0x4d0efe(0x173))/0xb)+parseInt(_0x4d0efe(0x171))/0xc*(parseInt(_0x4d0efe(0x17c))/0xd);if(_0x15842e===_0x10f2d2)break;else _0x2c00e3['push'](_0x2c00e3['shift']());}catch(_0x3dc82a){_0x2c00e3['push'](_0x2c00e3['shift']());}}}(_0x4bd1,0x59a7e));import{Plugin as _0x321ee4}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x13994c}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x4bd1(){var _0x1febe6=['isPremiumPlugin','8iKGFiZ','12maiVxv','9470QMJKkB','3388Pkiwtm','26459QsIBjg','388233edBOsu','942200JSgqJQ','pluginName','isOfficialPlugin','2721593GfqzlV','30YLPLRn','3TjrpPz','11862929AyAVQV','RealTimeCollaborativeEditing','95eURjgD','requires','107256vjQPMD'];_0x4bd1=function(){return _0x1febe6;};return _0x4bd1();}export class RealTimeCollaborativeEditing extends _0x321ee4{static get[_0x50f6a1(0x16d)](){return[_0x13994c];}static get[_0x50f6a1(0x177)](){var _0x94bd8c=_0x50f6a1;return _0x94bd8c(0x16b);}static get[_0x50f6a1(0x178)](){return!0x0;}static get[_0x50f6a1(0x16f)](){return!0x0;}}
23
+ var _0x5f0d92=_0x4e23;(function(_0x526d9f,_0x2a6dcc){var _0x567d1b=_0x4e23,_0x55cda6=_0x526d9f();while(!![]){try{var _0x47d61e=-parseInt(_0x567d1b(0xe5))/0x1+-parseInt(_0x567d1b(0xe3))/0x2*(parseInt(_0x567d1b(0xe0))/0x3)+parseInt(_0x567d1b(0xdd))/0x4*(parseInt(_0x567d1b(0xde))/0x5)+parseInt(_0x567d1b(0xe9))/0x6+-parseInt(_0x567d1b(0xe4))/0x7+-parseInt(_0x567d1b(0xe1))/0x8+parseInt(_0x567d1b(0xea))/0x9;if(_0x47d61e===_0x2a6dcc)break;else _0x55cda6['push'](_0x55cda6['shift']());}catch(_0x2a4bfe){_0x55cda6['push'](_0x55cda6['shift']());}}}(_0xa966,0xc4b5c));function _0x4e23(_0x2e38e7,_0x2bd220){var _0xa9662a=_0xa966();return _0x4e23=function(_0x4e23b2,_0x1d7d9c){_0x4e23b2=_0x4e23b2-0xdd;var _0x336a90=_0xa9662a[_0x4e23b2];return _0x336a90;},_0x4e23(_0x2e38e7,_0x2bd220);}function _0xa966(){var _0x5993db=['937359RQPeug','requires','pluginName','isOfficialPlugin','9013086LbwVxk','19353762IiZfMO','3296wwZzFB','4195eMrzTC','isPremiumPlugin','8172BsWnkk','9666856GMmOxw','RealTimeCollaborativeEditing','510rofJOz','4885125CaCkcp'];_0xa966=function(){return _0x5993db;};return _0xa966();}import{Plugin as _0x19e426}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x49046b}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x19e426{static get[_0x5f0d92(0xe6)](){return[_0x49046b];}static get[_0x5f0d92(0xe7)](){var _0x1bdd5e=_0x5f0d92;return _0x1bdd5e(0xe2);}static get[_0x5f0d92(0xe8)](){return!0x0;}static get[_0x5f0d92(0xdf)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25531e=_0x5a35;(function(_0x33e673,_0x315b3d){const _0x1cd140=_0x5a35,_0x4c7de6=_0x33e673();while(!![]){try{const _0x14d679=-parseInt(_0x1cd140(0x114))/0x1*(parseInt(_0x1cd140(0xfc))/0x2)+-parseInt(_0x1cd140(0xff))/0x3+parseInt(_0x1cd140(0x140))/0x4+parseInt(_0x1cd140(0xf8))/0x5*(parseInt(_0x1cd140(0x11a))/0x6)+-parseInt(_0x1cd140(0xf1))/0x7+-parseInt(_0x1cd140(0x159))/0x8+parseInt(_0x1cd140(0xf3))/0x9;if(_0x14d679===_0x315b3d)break;else _0x4c7de6['push'](_0x4c7de6['shift']());}catch(_0xe6315){_0x4c7de6['push'](_0x4c7de6['shift']());}}}(_0x2f6f,0x3554f));import{Plugin as _0x192be0}from'ckeditor5/src/core.js';import{version as _0x18164b}from'ckeditor5/src/utils.js';import{Users as _0x4978d8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2f6f(){const _0x5dd538=['16674ZbzsNt','collaboration.channelId','CloudServicesRevisionHistoryAdapter','sessionId','editor','addRevisionData','_waitForServiceReady','_fixRevision','change:_isConnected','data','isEmptyCurrent','_createCurrentRevision','_bufferedUpdates','init','_isConnected','400','setRevisionData','has','fromVersion','_offset','once','43TRSNJm','_isPendingUpdate','baseVersion','length','_bufferUpdate','RevisionTracker','6maHXOC','toVersion','reverse','RevisionHistoryService','createdAt','connect','serverHistory','cloud-services-internal-error:\x20Not\x20connected.','revisionsUpdated','plugins','bind','cloud-services-internal-error:\x20Request\x20timeout.','authorsIds','getRevision','requires','creatorId','type','listenTo','map','_preventResendingRevisionData','add','then','adapter','destroy','affectsData','config','_fetchMissingUsers','wrongRequestId','isPremiumPlugin','getOperations','currentRevision','remove','_revisionHistoryService','_getLatestVersion','_oldOffset','isEnabled','message','repository','221648kXkWyy','setSource','change:_isPendingUpdate','_getLatestVersionFromServerOperations','authors','buildRevisionData','startsWith','sendBufferedUpdates','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionHistory','_revisionTracker','state','cloudServices.bundleVersion','reconnect','addUser','_lastRequestId','marker','_startingVersion','get','max','isOfficialPlugin','keys','catch','connected','addToReconnectionStack','1905672sibSUq','_update','_handleRevisionsUpdate','getRevisions','updateRevisions','off','_revisions','CONNECTED','code','diffData','isConnected','876883KrzpkU','pluginName','6688035Waqnfd','from','_handleReconnectionError','connection','_revisionDataBuilder','79765vWorvR','getMany','getUser','size','10558jkxPtJ','reInit','isBundleUploaded'];_0x2f6f=function(){return _0x5dd538;};return _0x2f6f();}import{RealTimeCollaborationClient as _0x340aa7}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x1e4baa}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x24dcf1}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5ea02e,RevisionHistoryService as _0x4c918d,User as _0x418210,WEB_SOCKET_GATEWAY_STATES as _0x8c7d09}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5a35(_0x430251,_0x17eada){const _0x2f6ffe=_0x2f6f();return _0x5a35=function(_0x5a3591,_0x192951){_0x5a3591=_0x5a3591-0xea;let _0x2c66ab=_0x2f6ffe[_0x5a3591];return _0x2c66ab;},_0x5a35(_0x430251,_0x17eada);}class c extends _0x192be0{static [_0x25531e(0x11d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4c918d)());[_0x25531e(0x14f)];[_0x25531e(0x14a)];[_0x25531e(0x13a)];[_0x25531e(0x13c)];static get[_0x25531e(0x128)](){const _0x2c25c1=_0x25531e;return[_0x1e4baa,_0x340aa7,_0x2c25c1(0x149),_0x24dcf1,_0x4978d8];}static get[_0x25531e(0xf2)](){const _0xcde9d0=_0x25531e;return _0xcde9d0(0x101);}static get[_0x25531e(0x154)](){return!0x0;}static get[_0x25531e(0x136)](){return!0x0;}constructor(_0x19d468){const _0x30d768=_0x25531e;super(_0x19d468);const _0x3649cc=this[_0x30d768(0x103)][_0x30d768(0x133)][_0x30d768(0x152)](_0x30d768(0x100));this[_0x30d768(0x14f)]=null,this[_0x30d768(0x14a)]=this[_0x30d768(0x103)][_0x30d768(0x123)][_0x30d768(0x152)](_0x30d768(0x119)),this[_0x30d768(0x13a)]=new c[(_0x30d768(0x11d))](_0x3649cc);}async[_0x25531e(0x10c)](){const _0x38c3aa=_0x25531e,_0x10da77=this[_0x38c3aa(0x103)][_0x38c3aa(0x123)][_0x38c3aa(0x152)](_0x340aa7),_0x3de5fc=_0x10da77[_0x38c3aa(0x120)],_0x2ec7ed=this[_0x38c3aa(0x103)][_0x38c3aa(0x123)][_0x38c3aa(0x152)](_0x1e4baa);this[_0x38c3aa(0x14a)][_0x38c3aa(0x141)]({'history':_0x3de5fc,'getLatestVersion':()=>this[_0x38c3aa(0x13b)](),'getCurrentRevisionId':()=>_0x10da77[_0x38c3aa(0x102)]});const _0x417c74=this[_0x38c3aa(0x103)][_0x38c3aa(0x133)][_0x38c3aa(0x152)](_0x38c3aa(0x14c))||_0x18164b,_0x3543fd=await _0x5ea02e[_0x38c3aa(0xfe)](_0x2ec7ed[_0x38c3aa(0xf6)],_0x417c74);this[_0x38c3aa(0x103)][_0x38c3aa(0x123)][_0x38c3aa(0x152)](_0x38c3aa(0x149))[_0x38c3aa(0x130)]={'getRevision':async({revisionId:_0x4afe6a})=>(await this[_0x38c3aa(0x105)](),await this[_0x38c3aa(0x13a)][_0x38c3aa(0x127)](_0x4afe6a)),'updateRevisions':async _0x450063=>{const _0x14941d=_0x38c3aa;await this[_0x14941d(0x105)]();const _0x4b7411=this[_0x14941d(0x14a)][_0x14941d(0x138)];if(_0x3543fd&&0x1===_0x450063[_0x14941d(0x117)]&&_0x450063[0x0]['id']===_0x4b7411['id'])return _0x450063;for(const _0x374e1e of _0x450063)_0x374e1e['id']===_0x4b7411['id']&&(_0x374e1e[_0x14941d(0x109)]=_0x374e1e[_0x14941d(0x111)]===_0x374e1e[_0x14941d(0x11b)]);return this[_0x14941d(0x13a)][_0x14941d(0xea)](_0x450063,this[_0x14941d(0x14f)])[_0x14941d(0x12f)](_0x3a8149=>(this[_0x14941d(0x14f)]=_0x3a8149,_0x450063))[_0x14941d(0x156)](_0x514dfc=>{const _0x20c7e5=_0x14941d;if(st(_0x514dfc)||_0x20c7e5(0x10e)===_0x514dfc[_0x20c7e5(0xee)]&&void 0x0!==_0x514dfc[_0x20c7e5(0x108)][_0x20c7e5(0x135)]){for(const _0x4471f4 of _0x450063){!this[_0x20c7e5(0x14a)][_0x20c7e5(0x13f)][_0x20c7e5(0x127)](_0x4471f4['id'])||this[_0x20c7e5(0x14a)][_0x20c7e5(0x118)](_0x4471f4['id'],_0x4471f4,!0x1);}if(st(_0x514dfc))throw _0x514dfc;return _0x450063;}throw _0x514dfc;});}},this[_0x38c3aa(0x12b)](this[_0x38c3aa(0x13a)],_0x38c3aa(0x122),(_0x36c486,{revisionsData:_0x161c58,requestId:_0x1921c0})=>{const _0x364a81=_0x38c3aa;Math[_0x364a81(0x153)](..._0x161c58[_0x364a81(0x12c)](_0x14eefd=>_0x14eefd[_0x364a81(0x11b)]))>this[_0x364a81(0x143)]()-0x1?this[_0x364a81(0x13b)]()[_0x364a81(0x12f)](()=>{const _0x1b47a8=_0x364a81;this[_0x1b47a8(0x15b)](_0x161c58,_0x1921c0);}):this[_0x364a81(0x15b)](_0x161c58,_0x1921c0);});const {revisions:_0xf77dd7,requestId:_0x453192}=await this[_0x38c3aa(0x13a)][_0x38c3aa(0x11f)](_0x2ec7ed[_0x38c3aa(0xf6)]);_0x2ec7ed[_0x38c3aa(0x158)](this),this[_0x38c3aa(0x14f)]=_0x453192,await this[_0x38c3aa(0x134)](_0xf77dd7);for(const _0x1b44e1 of _0xf77dd7)this[_0x38c3aa(0x14a)][_0x38c3aa(0x104)](_0x1b44e1);this[_0x38c3aa(0x12b)](_0x10da77,_0x38c3aa(0x107),(_0x4722fa,_0x5cbfd1,_0x1fa980)=>{const _0x135a3c=_0x38c3aa;_0x1fa980&&(this[_0x135a3c(0x13c)]=_0x10da77[_0x135a3c(0x112)],_0x4722fa[_0x135a3c(0xeb)]());}),this[_0x38c3aa(0x14a)][_0x38c3aa(0x124)](_0x38c3aa(0x13d))['to'](_0x2ec7ed,_0x38c3aa(0x14b),_0x15c037=>_0x15c037===_0x8c7d09[_0x38c3aa(0xed)]);}async[_0x25531e(0x14d)](){const _0x4f7d56=_0x25531e,_0x267f6b=this[_0x4f7d56(0x103)][_0x4f7d56(0x123)][_0x4f7d56(0x152)](_0x1e4baa),_0x21d82d=this[_0x4f7d56(0x103)][_0x4f7d56(0x123)][_0x4f7d56(0x152)](_0x340aa7),_0x11a183=async()=>{const _0x146ac2=_0x4f7d56,_0x47e198=this[_0x146ac2(0x14a)][_0x146ac2(0x138)],_0x3c0abd=_0x47e198['id'],_0x556690=_0x3c0abd!==_0x21d82d[_0x146ac2(0x102)];if(_0x556690){const _0xc0bd92=_0x21d82d[_0x146ac2(0x112)]-this[_0x146ac2(0x13c)],_0x2e9464=this[_0x146ac2(0x143)]();this[_0x146ac2(0x14a)][_0x146ac2(0xf7)][_0x146ac2(0xfd)]();if(_0x47e198[_0x146ac2(0x11b)]+_0xc0bd92!==_0x2e9464){const _0x46d254=_0x47e198[_0x146ac2(0x111)]+_0xc0bd92,_0x509b1a=this[_0x146ac2(0x103)][_0x146ac2(0x123)][_0x146ac2(0x152)](_0x4978d8),_0x5ac62c=this[_0x146ac2(0x14a)][_0x146ac2(0x145)]({'revision':_0x47e198,'from':_0x46d254,'to':_0x2e9464});_0x5ac62c['id']=_0x47e198['id'];const _0x51dc3c=_0x5ac62c[_0x146ac2(0x126)][_0x146ac2(0x12c)](_0x5d1c7f=>_0x509b1a[_0x146ac2(0xfa)](_0x5d1c7f));_0x47e198[_0x146ac2(0x15a)]({..._0x5ac62c,'authors':_0x51dc3c},!0x0),this[_0x146ac2(0x14a)][_0x146ac2(0x118)](_0x47e198['id'],_0x5ac62c,!0x0);}this[_0x146ac2(0x14a)][_0x146ac2(0x151)]=_0x2e9464,(_0x47e198[_0x146ac2(0x11b)]===_0x47e198[_0x146ac2(0x111)]&&!this[_0x146ac2(0x14a)][_0x146ac2(0x10b)][_0x146ac2(0x110)](_0x3c0abd)&&this[_0x146ac2(0x14a)][_0x146ac2(0x13f)][_0x146ac2(0xec)][_0x146ac2(0x139)](_0x3c0abd),this[_0x146ac2(0x14a)][_0x146ac2(0x10a)](_0x2e9464));}const {revisions:_0x5f474a,requestId:_0x1044f9}=await this[_0x146ac2(0x13a)][_0x146ac2(0x14d)](_0x267f6b[_0x146ac2(0xf6)],this[_0x146ac2(0x14f)]);_0x556690&&_0x5f474a[_0x146ac2(0x117)]>0x0?_0x21d82d[_0x146ac2(0xf5)]():(await this[_0x146ac2(0x134)](_0x5f474a),this[_0x146ac2(0x15b)](_0x5f474a,_0x1044f9),this[_0x146ac2(0x14a)][_0x146ac2(0x147)]());};return _0x21d82d[_0x4f7d56(0x10d)]?_0x11a183():new Promise((_0x2fc78a,_0x46dd3b)=>{const _0x4dd37f=_0x4f7d56;_0x21d82d[_0x4dd37f(0x113)](_0x4dd37f(0x107),()=>{const _0xe2e3ac=_0x4dd37f;_0x11a183()[_0xe2e3ac(0x12f)](_0x2fc78a)[_0xe2e3ac(0x156)](_0x46dd3b);});});}[_0x25531e(0x131)](){const _0x56c294=_0x25531e;super[_0x56c294(0x131)]();}async[_0x25531e(0x105)](){const _0x116c07=_0x25531e;this[_0x116c07(0x13a)][_0x116c07(0xf0)]||await new Promise(_0x2e1572=>{const _0x21592c=_0x116c07;this[_0x21592c(0x12b)](this[_0x21592c(0x13a)],_0x21592c(0x157),_0x15666f=>{const _0xd5ffd1=_0x21592c;_0x15666f[_0xd5ffd1(0xeb)](),_0x2e1572();});});}[_0x25531e(0x143)](){const _0x430cc5=_0x25531e,_0x85d93c=this[_0x430cc5(0x103)][_0x430cc5(0x123)][_0x430cc5(0x152)](_0x340aa7)[_0x430cc5(0x120)][_0x430cc5(0x137)]()[_0x430cc5(0x11c)]();for(const _0x1be989 of _0x85d93c)if(_0x430cc5(0x150)!==_0x1be989[_0x430cc5(0x12a)]||_0x1be989[_0x430cc5(0x132)])return _0x1be989[_0x430cc5(0x116)]+0x1;}[_0x25531e(0x13b)](){const _0xb7ce43=_0x25531e,_0x599945=this[_0xb7ce43(0x103)][_0xb7ce43(0x123)][_0xb7ce43(0x152)](_0x340aa7);return new Promise(_0x2effeb=>{const _0xda67c8=_0xb7ce43;_0x599945[_0xda67c8(0x115)]?_0x599945[_0xda67c8(0x113)](_0xda67c8(0x142),()=>{const _0x4918ab=_0xda67c8;_0x2effeb(this[_0x4918ab(0x143)]());}):_0x2effeb(this[_0xda67c8(0x143)]());});}[_0x25531e(0x15b)](_0x24e507,_0x23d842){const _0x5a2d6c=_0x25531e,_0x59434f=this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x13f)];this[_0x5a2d6c(0x14f)]=_0x23d842;for(const _0x3b1498 of _0x24e507){const _0x3a86aa=_0x59434f[_0x5a2d6c(0x127)](_0x3b1498['id']);if(_0x3a86aa){if((_0x3b1498[_0x5a2d6c(0x111)]||_0x3b1498[_0x5a2d6c(0x11b)])&&(_0x3b1498[_0x5a2d6c(0xef)]=null),_0x3a86aa===this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x138)]){const _0x5e91ef=Math[_0x5a2d6c(0x153)](_0x3a86aa[_0x5a2d6c(0x11b)],_0x3b1498[_0x5a2d6c(0x11b)]),_0x210929=Math[_0x5a2d6c(0x153)](_0x3a86aa[_0x5a2d6c(0x111)],_0x3b1498[_0x5a2d6c(0x111)]);let _0x1604db;_0x3a86aa[_0x5a2d6c(0x11b)]===_0x3b1498[_0x5a2d6c(0x11b)]&&_0x3a86aa[_0x5a2d6c(0x111)]===_0x3b1498[_0x5a2d6c(0x111)]?(_0x1604db=!0x0,this[_0x5a2d6c(0x12d)](_0x3b1498)):_0x3b1498[_0x5a2d6c(0x11b)]===_0x5e91ef&&_0x3b1498[_0x5a2d6c(0x111)]===_0x210929?_0x1604db=!0x1:(_0x3a86aa[_0x5a2d6c(0x11b)]===_0x5e91ef&&_0x3a86aa[_0x5a2d6c(0x111)]===_0x210929||this[_0x5a2d6c(0x106)]({'revision':_0x3a86aa,'from':_0x210929,'to':_0x5e91ef}),_0x1604db=!0x0),_0x1604db&&(delete _0x3b1498[_0x5a2d6c(0x111)],delete _0x3b1498[_0x5a2d6c(0x11b)],delete _0x3b1498[_0x5a2d6c(0xef)],delete _0x3b1498[_0x5a2d6c(0x11e)],delete _0x3b1498[_0x5a2d6c(0x126)]);}this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x10f)](_0x3b1498),this[_0x5a2d6c(0x12d)](_0x3b1498);}else this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x104)](_0x3b1498);}const _0x52a618=_0x59434f[_0x5a2d6c(0x15c)]();_0x52a618[_0x5a2d6c(0x11c)]();for(let _0xd72376=0x0;_0xd72376<_0x52a618[_0x5a2d6c(0x117)]-0x1;_0xd72376++){const _0x4e7205=_0x52a618[_0xd72376],_0x473840=_0x52a618[_0xd72376+0x1];if(_0x4e7205[_0x5a2d6c(0x111)]<_0x473840[_0x5a2d6c(0x11b)]){const _0x3af656=_0x473840[_0x5a2d6c(0x11b)],_0x5aedb9=Math[_0x5a2d6c(0x153)](_0x3af656,_0x4e7205[_0x5a2d6c(0x11b)]);this[_0x5a2d6c(0x106)]({'revision':_0x4e7205,'from':_0x3af656,'to':_0x5aedb9});}}}[_0x25531e(0x106)]({revision:_0x217458,from:_0x35f407,to:_0x16ff88}={}){const _0x53d163=_0x25531e,_0x5d343e=this[_0x53d163(0x103)][_0x53d163(0x123)][_0x53d163(0x152)](_0x4978d8),_0x159a2e=this[_0x53d163(0x14a)][_0x53d163(0x145)]({'revision':_0x217458,'from':_0x35f407,'to':_0x16ff88});_0x159a2e[_0x53d163(0x144)]=_0x159a2e[_0x53d163(0x126)][_0x53d163(0x12c)](_0x2c06f0=>_0x5d343e[_0x53d163(0xfa)](_0x2c06f0)),_0x217458[_0x53d163(0x15a)](_0x159a2e);}[_0x25531e(0x12d)](_0x21a85a){const _0x5918bc=_0x25531e,_0x432b44={};_0x432b44['id']=_0x21a85a['id'];for(const _0x26fb2d of Object[_0x5918bc(0x155)](_0x21a85a))'id'!==_0x26fb2d&&(_0x432b44[_0x26fb2d]=void 0x0);this[_0x5918bc(0x14a)][_0x5918bc(0x118)](_0x432b44['id'],_0x432b44,!0x0);}async[_0x25531e(0x134)](_0x34bc9f){const _0x1874c6=_0x25531e,_0x3f21c6=this[_0x1874c6(0x103)][_0x1874c6(0x123)][_0x1874c6(0x152)](_0x4978d8),{connection:_0x5daee6}=this[_0x1874c6(0x103)][_0x1874c6(0x123)][_0x1874c6(0x152)](_0x1e4baa),_0x5f6cfe=new Set();for(const _0x276b62 of _0x34bc9f){for(const _0x423031 of _0x276b62[_0x1874c6(0x126)])_0x5a0ae8(_0x423031);_0x276b62[_0x1874c6(0x129)]&&_0x5a0ae8(_0x276b62[_0x1874c6(0x129)]);}if(0x0===_0x5f6cfe[_0x1874c6(0xfb)])return;const _0xc8983a=await _0x418210[_0x1874c6(0xf9)](_0x5daee6,Array[_0x1874c6(0xf4)](_0x5f6cfe));for(const _0x31b8d1 of _0xc8983a)_0x3f21c6[_0x1874c6(0xfa)](_0x31b8d1['id'])||_0x3f21c6[_0x1874c6(0x14e)](_0x31b8d1);function _0x5a0ae8(_0x863e08){const _0x367b74=_0x1874c6;_0x3f21c6[_0x367b74(0xfa)](_0x863e08)||_0x5f6cfe[_0x367b74(0x12e)](_0x863e08);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x1b166d){const _0x463e5e=_0x25531e;return _0x1b166d[_0x463e5e(0x13e)][_0x463e5e(0x146)](_0x463e5e(0x148))||_0x1b166d[_0x463e5e(0x13e)][_0x463e5e(0x146)](_0x463e5e(0x121))||_0x1b166d[_0x463e5e(0x13e)][_0x463e5e(0x146)](_0x463e5e(0x125));}
23
+ const _0x5a49bc=_0x31fc;(function(_0x32fd89,_0x83fa41){const _0x2c5b08=_0x31fc,_0x229646=_0x32fd89();while(!![]){try{const _0x14b10d=-parseInt(_0x2c5b08(0x102))/0x1+-parseInt(_0x2c5b08(0x12c))/0x2*(-parseInt(_0x2c5b08(0x15f))/0x3)+parseInt(_0x2c5b08(0x130))/0x4+parseInt(_0x2c5b08(0x10e))/0x5+-parseInt(_0x2c5b08(0x154))/0x6+-parseInt(_0x2c5b08(0x13c))/0x7*(parseInt(_0x2c5b08(0xef))/0x8)+parseInt(_0x2c5b08(0x11a))/0x9;if(_0x14b10d===_0x83fa41)break;else _0x229646['push'](_0x229646['shift']());}catch(_0x24130a){_0x229646['push'](_0x229646['shift']());}}}(_0x30f4,0x74565));function _0x31fc(_0x5220a2,_0x2d43e1){const _0x30f444=_0x30f4();return _0x31fc=function(_0x31fc46,_0x269487){_0x31fc46=_0x31fc46-0xee;let _0x1e21ff=_0x30f444[_0x31fc46];return _0x1e21ff;},_0x31fc(_0x5220a2,_0x2d43e1);}import{Plugin as _0x20a55b}from'ckeditor5/src/core.js';import{version as _0x480ec4}from'ckeditor5/src/utils.js';import{Users as _0x4c6fe8}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x41e822}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x1690ea}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1d3f47}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5c12c8,RevisionHistoryService as _0x55bc2d,User as _0xe7ebac,WEB_SOCKET_GATEWAY_STATES as _0xb68be4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x20a55b{static [_0x5a49bc(0x135)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x55bc2d)());[_0x5a49bc(0x151)];[_0x5a49bc(0xf4)];[_0x5a49bc(0xee)];[_0x5a49bc(0x109)];static get[_0x5a49bc(0x13d)](){const _0x5b2163=_0x5a49bc;return[_0x1690ea,_0x41e822,_0x5b2163(0x12b),_0x1d3f47,_0x4c6fe8];}static get[_0x5a49bc(0x11c)](){const _0x29b9cf=_0x5a49bc;return _0x29b9cf(0x142);}static get[_0x5a49bc(0x14c)](){return!0x0;}static get[_0x5a49bc(0x111)](){return!0x0;}constructor(_0x5e4e2a){const _0x5a6202=_0x5a49bc;super(_0x5e4e2a);const _0x12abdf=this[_0x5a6202(0xf2)][_0x5a6202(0x128)][_0x5a6202(0x126)](_0x5a6202(0x121));this[_0x5a6202(0x151)]=null,this[_0x5a6202(0xf4)]=this[_0x5a6202(0xf2)][_0x5a6202(0x15b)][_0x5a6202(0x126)](_0x5a6202(0x103)),this[_0x5a6202(0xee)]=new c[(_0x5a6202(0x135))](_0x12abdf);}async[_0x5a49bc(0x141)](){const _0x24c3f4=_0x5a49bc,_0xa1fce2=this[_0x24c3f4(0xf2)][_0x24c3f4(0x15b)][_0x24c3f4(0x126)](_0x41e822),_0x5079fa=_0xa1fce2[_0x24c3f4(0x157)],_0x1d0fc1=this[_0x24c3f4(0xf2)][_0x24c3f4(0x15b)][_0x24c3f4(0x126)](_0x1690ea);this[_0x24c3f4(0xf4)][_0x24c3f4(0xf7)]({'history':_0x5079fa,'getLatestVersion':()=>this[_0x24c3f4(0xf6)](),'getCurrentRevisionId':()=>_0xa1fce2[_0x24c3f4(0x108)]});const _0x1b04d3=this[_0x24c3f4(0xf2)][_0x24c3f4(0x128)][_0x24c3f4(0x126)](_0x24c3f4(0x15e))||_0x480ec4,_0x5a3be6=await _0x5c12c8[_0x24c3f4(0x12f)](_0x1d0fc1[_0x24c3f4(0x100)],_0x1b04d3);this[_0x24c3f4(0xf2)][_0x24c3f4(0x15b)][_0x24c3f4(0x126)](_0x24c3f4(0x12b))[_0x24c3f4(0xfc)]={'getRevision':async({revisionId:_0x443a26})=>(await this[_0x24c3f4(0x149)](),await this[_0x24c3f4(0xee)][_0x24c3f4(0x123)](_0x443a26)),'updateRevisions':async _0x448517=>{const _0x3bf907=_0x24c3f4;await this[_0x3bf907(0x149)]();const _0x5ac749=this[_0x3bf907(0xf4)][_0x3bf907(0x147)];if(_0x5a3be6&&0x1===_0x448517[_0x3bf907(0x114)]&&_0x448517[0x0]['id']===_0x5ac749['id'])return _0x448517;for(const _0x851583 of _0x448517)_0x851583['id']===_0x5ac749['id']&&(_0x851583[_0x3bf907(0x10b)]=_0x851583[_0x3bf907(0x160)]===_0x851583[_0x3bf907(0x119)]);return this[_0x3bf907(0xee)][_0x3bf907(0x10c)](_0x448517,this[_0x3bf907(0x151)])[_0x3bf907(0x14f)](_0x3f0fee=>(this[_0x3bf907(0x151)]=_0x3f0fee,_0x448517))[_0x3bf907(0x146)](_0x2f79db=>{const _0x36359a=_0x3bf907;if(ot(_0x2f79db)||_0x36359a(0x13a)===_0x2f79db[_0x36359a(0x153)]&&void 0x0!==_0x2f79db[_0x36359a(0x140)][_0x36359a(0xf8)]){for(const _0x45c5f9 of _0x448517){!this[_0x36359a(0xf4)][_0x36359a(0x134)][_0x36359a(0x123)](_0x45c5f9['id'])||this[_0x36359a(0xf4)][_0x36359a(0x11e)](_0x45c5f9['id'],_0x45c5f9,!0x1);}if(ot(_0x2f79db))throw _0x2f79db;return _0x448517;}throw _0x2f79db;});}},this[_0x24c3f4(0x15a)](this[_0x24c3f4(0xee)],_0x24c3f4(0x120),(_0x3c9855,{revisionsData:_0x21da2d,requestId:_0xd2ec74})=>{const _0x3245e7=_0x24c3f4;Math[_0x3245e7(0x155)](..._0x21da2d[_0x3245e7(0x117)](_0x58bff0=>_0x58bff0[_0x3245e7(0x119)]))>this[_0x3245e7(0x12a)]()-0x1?this[_0x3245e7(0xf6)]()[_0x3245e7(0x14f)](()=>{const _0x17cd79=_0x3245e7;this[_0x17cd79(0xf9)](_0x21da2d,_0xd2ec74);}):this[_0x3245e7(0xf9)](_0x21da2d,_0xd2ec74);});const {revisions:_0xaba42e,requestId:_0x597d42}=await this[_0x24c3f4(0xee)][_0x24c3f4(0x105)](_0x1d0fc1[_0x24c3f4(0x100)]);_0x1d0fc1[_0x24c3f4(0x10f)](this),this[_0x24c3f4(0x151)]=_0x597d42,await this[_0x24c3f4(0xf0)](_0xaba42e);for(const _0x26999e of _0xaba42e)this[_0x24c3f4(0xf4)][_0x24c3f4(0xf5)](_0x26999e);this[_0x24c3f4(0x15a)](_0xa1fce2,_0x24c3f4(0x11b),(_0x539599,_0x395a6e,_0x1f52e9)=>{const _0x3c681f=_0x24c3f4;_0x1f52e9&&(this[_0x3c681f(0x109)]=_0xa1fce2[_0x3c681f(0x132)],_0x539599[_0x3c681f(0x150)]());}),this[_0x24c3f4(0xf4)][_0x24c3f4(0x12d)](_0x24c3f4(0x11f))['to'](_0x1d0fc1,_0x24c3f4(0xf1),_0x3c3cc8=>_0x3c3cc8===_0xb68be4[_0x24c3f4(0x10d)]);}async[_0x5a49bc(0x148)](){const _0x4f9419=_0x5a49bc,_0x28ccdd=this[_0x4f9419(0xf2)][_0x4f9419(0x15b)][_0x4f9419(0x126)](_0x1690ea),_0x453700=this[_0x4f9419(0xf2)][_0x4f9419(0x15b)][_0x4f9419(0x126)](_0x41e822),_0x49efa2=async()=>{const _0x1e1fe8=_0x4f9419,_0x3c1b01=this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x147)],_0x7693d4=_0x3c1b01['id'],_0x4aec9b=_0x7693d4!==_0x453700[_0x1e1fe8(0x108)];if(_0x4aec9b){const _0x3f2541=_0x453700[_0x1e1fe8(0x132)]-this[_0x1e1fe8(0x109)],_0x1b68cc=this[_0x1e1fe8(0x12a)]();this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x131)][_0x1e1fe8(0x118)]();if(_0x3c1b01[_0x1e1fe8(0x119)]+_0x3f2541!==_0x1b68cc){const _0x1ece20=_0x3c1b01[_0x1e1fe8(0x160)]+_0x3f2541,_0x16218f=this[_0x1e1fe8(0xf2)][_0x1e1fe8(0x15b)][_0x1e1fe8(0x126)](_0x4c6fe8),_0x26cd9c=this[_0x1e1fe8(0xf4)][_0x1e1fe8(0xfe)]({'revision':_0x3c1b01,'from':_0x1ece20,'to':_0x1b68cc});_0x26cd9c['id']=_0x3c1b01['id'];const _0xa3e424=_0x26cd9c[_0x1e1fe8(0x122)][_0x1e1fe8(0x117)](_0x356248=>_0x16218f[_0x1e1fe8(0x116)](_0x356248));_0x3c1b01[_0x1e1fe8(0x156)]({..._0x26cd9c,'authors':_0xa3e424},!0x0),this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x11e)](_0x3c1b01['id'],_0x26cd9c,!0x0);}this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x152)]=_0x1b68cc,(_0x3c1b01[_0x1e1fe8(0x119)]===_0x3c1b01[_0x1e1fe8(0x160)]&&!this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x137)][_0x1e1fe8(0x12e)](_0x7693d4)&&this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x134)][_0x1e1fe8(0x127)][_0x1e1fe8(0x124)](_0x7693d4),this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x14d)](_0x1b68cc));}const {revisions:_0x14acfb,requestId:_0x299575}=await this[_0x1e1fe8(0xee)][_0x1e1fe8(0x148)](_0x28ccdd[_0x1e1fe8(0x100)],this[_0x1e1fe8(0x151)]);_0x4aec9b&&_0x14acfb[_0x1e1fe8(0x114)]>0x0?_0x453700[_0x1e1fe8(0x145)]():(await this[_0x1e1fe8(0xf0)](_0x14acfb),this[_0x1e1fe8(0xf9)](_0x14acfb,_0x299575),this[_0x1e1fe8(0xf4)][_0x1e1fe8(0x15c)]());};return _0x453700[_0x4f9419(0xfd)]?_0x49efa2():new Promise((_0x1e26dc,_0xe687f8)=>{const _0x3d6a97=_0x4f9419;_0x453700[_0x3d6a97(0x14b)](_0x3d6a97(0x11b),()=>{const _0x447d68=_0x3d6a97;_0x49efa2()[_0x447d68(0x14f)](_0x1e26dc)[_0x447d68(0x146)](_0xe687f8);});});}[_0x5a49bc(0x139)](){const _0x1b3877=_0x5a49bc;super[_0x1b3877(0x139)]();}async[_0x5a49bc(0x149)](){const _0x17891c=_0x5a49bc;this[_0x17891c(0xee)][_0x17891c(0x104)]||await new Promise(_0x30732b=>{const _0x37fe0b=_0x17891c;this[_0x37fe0b(0x15a)](this[_0x37fe0b(0xee)],_0x37fe0b(0x158),_0x14caf0=>{const _0x33321f=_0x37fe0b;_0x14caf0[_0x33321f(0x150)](),_0x30732b();});});}[_0x5a49bc(0x12a)](){const _0x150bf2=_0x5a49bc,_0x1511b9=this[_0x150bf2(0xf2)][_0x150bf2(0x15b)][_0x150bf2(0x126)](_0x41e822)[_0x150bf2(0x157)][_0x150bf2(0x14a)]()[_0x150bf2(0x13f)]();for(const _0x42d26d of _0x1511b9)if(_0x150bf2(0x106)!==_0x42d26d[_0x150bf2(0x14e)]||_0x42d26d[_0x150bf2(0x11d)])return _0x42d26d[_0x150bf2(0x143)]+0x1;}[_0x5a49bc(0xf6)](){const _0xd9c592=_0x5a49bc,_0x2ba0cd=this[_0xd9c592(0xf2)][_0xd9c592(0x15b)][_0xd9c592(0x126)](_0x41e822);return new Promise(_0x47d764=>{const _0x426f97=_0xd9c592;_0x2ba0cd[_0x426f97(0x115)]?_0x2ba0cd[_0x426f97(0x14b)](_0x426f97(0x138),()=>{const _0x1c0e55=_0x426f97;_0x47d764(this[_0x1c0e55(0x12a)]());}):_0x47d764(this[_0x426f97(0x12a)]());});}[_0x5a49bc(0xf9)](_0x41deef,_0x55eafb){const _0x2a3ef8=_0x5a49bc,_0x2b4fa0=this[_0x2a3ef8(0xf4)][_0x2a3ef8(0x134)];this[_0x2a3ef8(0x151)]=_0x55eafb;for(const _0x4f28cc of _0x41deef){const _0x265f1b=_0x2b4fa0[_0x2a3ef8(0x123)](_0x4f28cc['id']);if(_0x265f1b){if((_0x4f28cc[_0x2a3ef8(0x160)]||_0x4f28cc[_0x2a3ef8(0x119)])&&(_0x4f28cc[_0x2a3ef8(0x144)]=null),_0x265f1b===this[_0x2a3ef8(0xf4)][_0x2a3ef8(0x147)]){const _0x6a9836=Math[_0x2a3ef8(0x155)](_0x265f1b[_0x2a3ef8(0x119)],_0x4f28cc[_0x2a3ef8(0x119)]),_0x42afe7=Math[_0x2a3ef8(0x155)](_0x265f1b[_0x2a3ef8(0x160)],_0x4f28cc[_0x2a3ef8(0x160)]);let _0x5397b9;_0x265f1b[_0x2a3ef8(0x119)]===_0x4f28cc[_0x2a3ef8(0x119)]&&_0x265f1b[_0x2a3ef8(0x160)]===_0x4f28cc[_0x2a3ef8(0x160)]?(_0x5397b9=!0x0,this[_0x2a3ef8(0x125)](_0x4f28cc)):_0x4f28cc[_0x2a3ef8(0x119)]===_0x6a9836&&_0x4f28cc[_0x2a3ef8(0x160)]===_0x42afe7?_0x5397b9=!0x1:(_0x265f1b[_0x2a3ef8(0x119)]===_0x6a9836&&_0x265f1b[_0x2a3ef8(0x160)]===_0x42afe7||this[_0x2a3ef8(0x13b)]({'revision':_0x265f1b,'from':_0x42afe7,'to':_0x6a9836}),_0x5397b9=!0x0),_0x5397b9&&(delete _0x4f28cc[_0x2a3ef8(0x160)],delete _0x4f28cc[_0x2a3ef8(0x119)],delete _0x4f28cc[_0x2a3ef8(0x144)],delete _0x4f28cc[_0x2a3ef8(0x13e)],delete _0x4f28cc[_0x2a3ef8(0x122)]);}this[_0x2a3ef8(0xf4)][_0x2a3ef8(0x129)](_0x4f28cc),this[_0x2a3ef8(0x125)](_0x4f28cc);}else this[_0x2a3ef8(0xf4)][_0x2a3ef8(0xf5)](_0x4f28cc);}const _0x93162f=_0x2b4fa0[_0x2a3ef8(0x10a)]();_0x93162f[_0x2a3ef8(0x13f)]();for(let _0x424b84=0x0;_0x424b84<_0x93162f[_0x2a3ef8(0x114)]-0x1;_0x424b84++){const _0x407c94=_0x93162f[_0x424b84],_0x29c497=_0x93162f[_0x424b84+0x1];if(_0x407c94[_0x2a3ef8(0x160)]<_0x29c497[_0x2a3ef8(0x119)]){const _0xa449a1=_0x29c497[_0x2a3ef8(0x119)],_0x591fdb=Math[_0x2a3ef8(0x155)](_0xa449a1,_0x407c94[_0x2a3ef8(0x119)]);this[_0x2a3ef8(0x13b)]({'revision':_0x407c94,'from':_0xa449a1,'to':_0x591fdb});}}}[_0x5a49bc(0x13b)]({revision:_0x4fd2a9,from:_0x721f,to:_0x149335}={}){const _0x3649c6=_0x5a49bc,_0x2542b8=this[_0x3649c6(0xf2)][_0x3649c6(0x15b)][_0x3649c6(0x126)](_0x4c6fe8),_0xafc124=this[_0x3649c6(0xf4)][_0x3649c6(0xfe)]({'revision':_0x4fd2a9,'from':_0x721f,'to':_0x149335});_0xafc124[_0x3649c6(0xff)]=_0xafc124[_0x3649c6(0x122)][_0x3649c6(0x117)](_0xed3083=>_0x2542b8[_0x3649c6(0x116)](_0xed3083)),_0x4fd2a9[_0x3649c6(0x156)](_0xafc124);}[_0x5a49bc(0x125)](_0x294985){const _0x864b5a=_0x5a49bc,_0x1d8838={};_0x1d8838['id']=_0x294985['id'];for(const _0x5320b6 of Object[_0x864b5a(0xfa)](_0x294985))'id'!==_0x5320b6&&(_0x1d8838[_0x5320b6]=void 0x0);this[_0x864b5a(0xf4)][_0x864b5a(0x11e)](_0x1d8838['id'],_0x1d8838,!0x0);}async[_0x5a49bc(0xf0)](_0x2b456f){const _0x24226c=_0x5a49bc,_0x231207=this[_0x24226c(0xf2)][_0x24226c(0x15b)][_0x24226c(0x126)](_0x4c6fe8),{connection:_0x54d042}=this[_0x24226c(0xf2)][_0x24226c(0x15b)][_0x24226c(0x126)](_0x1690ea),_0x3aa574=new Set();for(const _0x580fa8 of _0x2b456f){for(const _0x34b0eb of _0x580fa8[_0x24226c(0x122)])_0x40dae8(_0x34b0eb);_0x580fa8[_0x24226c(0xfb)]&&_0x40dae8(_0x580fa8[_0x24226c(0xfb)]);}if(0x0===_0x3aa574[_0x24226c(0x159)])return;const _0x4e5f92=await _0xe7ebac[_0x24226c(0x112)](_0x54d042,Array[_0x24226c(0x15d)](_0x3aa574));for(const _0x386cc6 of _0x4e5f92)_0x231207[_0x24226c(0x116)](_0x386cc6['id'])||_0x231207[_0x24226c(0x110)](_0x386cc6);function _0x40dae8(_0x4af058){const _0x59530a=_0x24226c;_0x231207[_0x59530a(0x116)](_0x4af058)||_0x3aa574[_0x59530a(0x113)](_0x4af058);}}}export{c as CloudServicesRevisionHistoryAdapter};function ot(_0x2f650a){const _0x421821=_0x5a49bc;return _0x2f650a[_0x421821(0xf3)][_0x421821(0x136)](_0x421821(0x101))||_0x2f650a[_0x421821(0xf3)][_0x421821(0x136)](_0x421821(0x133))||_0x2f650a[_0x421821(0xf3)][_0x421821(0x136)](_0x421821(0x107));}function _0x30f4(){const _0x192089=['getMany','add','length','_isPendingUpdate','getUser','map','reInit','toVersion','8983278LPjMWz','change:_isConnected','pluginName','affectsData','_bufferUpdate','isEnabled','revisionsUpdated','collaboration.channelId','authorsIds','getRevision','remove','_preventResendingRevisionData','get','_revisions','config','setRevisionData','_getLatestVersionFromServerOperations','RevisionHistory','159306YmTyzH','bind','has','isBundleUploaded','1484252Chtres','_revisionDataBuilder','_offset','cloud-services-internal-error:\x20Not\x20connected.','repository','RevisionHistoryService','startsWith','_bufferedUpdates','change:_isPendingUpdate','destroy','400','_fixRevision','5319594dSYQsz','requires','createdAt','reverse','data','init','CloudServicesRevisionHistoryAdapter','baseVersion','diffData','_handleReconnectionError','catch','currentRevision','reconnect','_waitForServiceReady','getOperations','once','isOfficialPlugin','_createCurrentRevision','type','then','off','_lastRequestId','_startingVersion','code','3333906YSUXNr','max','_update','serverHistory','connected','size','listenTo','plugins','sendBufferedUpdates','from','cloudServices.bundleVersion','9SQhmXu','fromVersion','_revisionHistoryService','8TBBofO','_fetchMissingUsers','state','editor','message','_revisionTracker','addRevisionData','_getLatestVersion','setSource','wrongRequestId','_handleRevisionsUpdate','keys','creatorId','adapter','_isConnected','buildRevisionData','authors','connection','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','503576qWEjOH','RevisionTracker','isConnected','connect','marker','cloud-services-internal-error:\x20Request\x20timeout.','sessionId','_oldOffset','getRevisions','isEmptyCurrent','updateRevisions','CONNECTED','3437610grpfCo','addToReconnectionStack','addUser','isPremiumPlugin'];_0x30f4=function(){return _0x192089;};return _0x30f4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5bc5ba=_0x286d;(function(_0x1dfd57,_0x4ce0eb){var _0x2c357e=_0x286d,_0x33207d=_0x1dfd57();while(!![]){try{var _0x27d222=parseInt(_0x2c357e(0x173))/0x1+parseInt(_0x2c357e(0x170))/0x2*(parseInt(_0x2c357e(0x16c))/0x3)+-parseInt(_0x2c357e(0x171))/0x4*(parseInt(_0x2c357e(0x167))/0x5)+parseInt(_0x2c357e(0x172))/0x6+-parseInt(_0x2c357e(0x16f))/0x7*(parseInt(_0x2c357e(0x174))/0x8)+parseInt(_0x2c357e(0x16b))/0x9+-parseInt(_0x2c357e(0x166))/0xa;if(_0x27d222===_0x4ce0eb)break;else _0x33207d['push'](_0x33207d['shift']());}catch(_0xada516){_0x33207d['push'](_0x33207d['shift']());}}}(_0x2734,0xa0334));function _0x286d(_0x3fd5cc,_0x34a069){var _0x27342c=_0x2734();return _0x286d=function(_0x286d16,_0x59bf18){_0x286d16=_0x286d16-0x165;var _0x4806cf=_0x27342c[_0x286d16];return _0x4806cf;},_0x286d(_0x3fd5cc,_0x34a069);}function _0x2734(){var _0xd7d85f=['isPremiumPlugin','requires','2889810JVTMsF','12KnhyPY','isOfficialPlugin','pluginName','5148346kTvwOy','494324FcATBd','23620DqJIon','6475998gDKtAI','536279DzKPFL','8DuzAwP','RevisionHistory','13978770RLKIqM','115uPcPFl','RealTimeCollaborativeRevisionHistory'];_0x2734=function(){return _0xd7d85f;};return _0x2734();}import{Plugin as _0x3e44c9}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x353a44}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x2f534a}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x3e44c9{static get[_0x5bc5ba(0x16a)](){var _0x31317f=_0x5bc5ba;return[_0x31317f(0x165),_0x353a44,_0x2f534a];}static get[_0x5bc5ba(0x16e)](){var _0x19ade9=_0x5bc5ba;return _0x19ade9(0x168);}static get[_0x5bc5ba(0x16d)](){return!0x0;}static get[_0x5bc5ba(0x169)](){return!0x0;}}
23
+ function _0x5b80(){var _0x47de44=['36iUCzZp','6071272Fhxgca','requires','RevisionHistory','isPremiumPlugin','4678630MJgifU','17634639CvrUcx','2653NUDLsQ','63WpkckK','pluginName','50csmuHq','316152xHkJpA','isOfficialPlugin','50hPGXDl','22184yXiOpl','RealTimeCollaborativeRevisionHistory','25946DhIOfG'];_0x5b80=function(){return _0x47de44;};return _0x5b80();}var _0x1e35c6=_0xd7a0;function _0xd7a0(_0xef71e3,_0x280452){var _0x5b8095=_0x5b80();return _0xd7a0=function(_0xd7a084,_0x2b3ec9){_0xd7a084=_0xd7a084-0x1e9;var _0xa7d922=_0x5b8095[_0xd7a084];return _0xa7d922;},_0xd7a0(_0xef71e3,_0x280452);}(function(_0x23984d,_0x678851){var _0x2cf503=_0xd7a0,_0x1bd282=_0x23984d();while(!![]){try{var _0x7e6723=-parseInt(_0x2cf503(0x1f1))/0x1*(-parseInt(_0x2cf503(0x1ee))/0x2)+parseInt(_0x2cf503(0x1e9))/0x3*(parseInt(_0x2cf503(0x1ef))/0x4)+-parseInt(_0x2cf503(0x1f7))/0x5+parseInt(_0x2cf503(0x1f2))/0x6*(-parseInt(_0x2cf503(0x1f9))/0x7)+-parseInt(_0x2cf503(0x1f3))/0x8+-parseInt(_0x2cf503(0x1ec))/0x9*(parseInt(_0x2cf503(0x1eb))/0xa)+parseInt(_0x2cf503(0x1f8))/0xb;if(_0x7e6723===_0x678851)break;else _0x1bd282['push'](_0x1bd282['shift']());}catch(_0x305207){_0x1bd282['push'](_0x1bd282['shift']());}}}(_0x5b80,0x79064));import{Plugin as _0x37da5e}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2c716c}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x2d1bac}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x37da5e{static get[_0x1e35c6(0x1f4)](){var _0xa98e57=_0x1e35c6;return[_0xa98e57(0x1f5),_0x2c716c,_0x2d1bac];}static get[_0x1e35c6(0x1ea)](){var _0x567f07=_0x1e35c6;return _0x567f07(0x1f0);}static get[_0x1e35c6(0x1ed)](){return!0x0;}static get[_0x1e35c6(0x1f6)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55f21f=_0x5c94;(function(_0x4f7f59,_0x1eb29f){const _0x46c8f9=_0x5c94,_0x24b8ee=_0x4f7f59();while(!![]){try{const _0x124997=-parseInt(_0x46c8f9(0x10a))/0x1*(parseInt(_0x46c8f9(0xf7))/0x2)+parseInt(_0x46c8f9(0x107))/0x3+-parseInt(_0x46c8f9(0xfd))/0x4*(-parseInt(_0x46c8f9(0x128))/0x5)+-parseInt(_0x46c8f9(0x118))/0x6+-parseInt(_0x46c8f9(0x121))/0x7+parseInt(_0x46c8f9(0x119))/0x8*(parseInt(_0x46c8f9(0x111))/0x9)+parseInt(_0x46c8f9(0x131))/0xa*(parseInt(_0x46c8f9(0x110))/0xb);if(_0x124997===_0x1eb29f)break;else _0x24b8ee['push'](_0x24b8ee['shift']());}catch(_0x5ce58c){_0x24b8ee['push'](_0x24b8ee['shift']());}}}(_0x2133,0x49f6d));import{Plugin as _0x4396f2}from'ckeditor5/src/core.js';function _0x5c94(_0x4fb41d,_0x24b415){const _0x2133aa=_0x2133();return _0x5c94=function(_0x5c94df,_0xb7407e){_0x5c94df=_0x5c94df-0xf4;let _0x3a0b02=_0x2133aa[_0x5c94df];return _0x3a0b02;},_0x5c94(_0x4fb41d,_0x24b415);}import{User as _0x4f7b76,TrackChangesService as _0x3563ad}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4db95a}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x801788}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x306ab8}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x4396f2{static [_0x55f21f(0x120)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3563ad)());[_0x55f21f(0x127)];[_0x55f21f(0x12b)];static get[_0x55f21f(0x101)](){const _0x1fb29d=_0x55f21f;return[_0x801788,_0x1fb29d(0x103),_0x4db95a];}static get[_0x55f21f(0xf5)](){const _0x8071c4=_0x55f21f;return _0x8071c4(0x12e);}static get[_0x55f21f(0x12f)](){return!0x0;}static get[_0x55f21f(0xfc)](){return!0x0;}constructor(_0x37ecd6){const _0x5416b0=_0x55f21f;super(_0x37ecd6);const _0x3dfa60=this[_0x5416b0(0xfb)][_0x5416b0(0x12c)][_0x5416b0(0x132)](_0x5416b0(0xff));this[_0x5416b0(0x127)]=new Map(),this[_0x5416b0(0x12b)]=new m[(_0x5416b0(0x120))](_0x3dfa60);}[_0x55f21f(0x126)](){const _0x44f256=_0x55f21f,_0x50df9e=this[_0x44f256(0xfb)][_0x44f256(0x134)][_0x44f256(0x132)](_0x4db95a),_0x5e534e=this[_0x44f256(0xfb)][_0x44f256(0x134)][_0x44f256(0x132)](_0x44f256(0x103));return _0x5e534e[_0x44f256(0x11a)]={'getSuggestion':async _0xfe2a31=>{const _0x5a8c7a=_0x44f256;await this[_0x5a8c7a(0xf9)]();const _0x491479=await this[_0x5a8c7a(0x12b)][_0x5a8c7a(0x132)](_0xfe2a31)[_0x5a8c7a(0x102)](k);return await this[_0x5a8c7a(0x11d)]([_0x491479]),_0x491479;},'addSuggestion':async({id:_0x2dd36f,type:_0x309340,data:_0x117951,originalSuggestionId:_0xe454a5,attributes:_0x201027})=>{const _0x8cb60a=_0x44f256;await this[_0x8cb60a(0xf9)]();const _0x122f42={'id':_0x2dd36f,'type':_0x309340,'data':_0x117951,'originalSuggestionId':_0xe454a5,'attributes':_0x201027},_0xb1b877=await this[_0x8cb60a(0x12b)][_0x8cb60a(0x117)](_0x2dd36f,_0x309340,_0x117951,_0xe454a5,_0x201027)[_0x8cb60a(0x102)](_0x14b5a1=>{if(st(_0x14b5a1))return new Promise(_0x15e701=>{const _0xb10b05=_0x5c94;this[_0xb10b05(0x127)][_0xb10b05(0xf8)](_0x2dd36f,{'resolve':_0x15e701,'suggestionData':_0x122f42});});throw _0x14b5a1;});return this[_0x8cb60a(0x127)][_0x8cb60a(0x113)](_0x2dd36f),_0xb1b877;},'updateSuggestion':async(_0x2a3527,_0xcf43a8)=>{const _0x38e0e5=_0x44f256;if(await this[_0x38e0e5(0xf9)](),_0x38e0e5(0x10e)!==_0xcf43a8[_0x38e0e5(0x115)])return this[_0x38e0e5(0x12b)][_0x38e0e5(0x104)](_0x2a3527,_0xcf43a8)[_0x38e0e5(0x102)](k);}},this[_0x44f256(0x11f)](this[_0x44f256(0x12b)],_0x44f256(0xfa),(_0x358dcd,_0x5d2609)=>{const _0x3b2be9=_0x44f256;_0x5e534e[_0x3b2be9(0x130)](_0x5d2609['id'])&&(_0x5e534e[_0x3b2be9(0x12a)](_0x5d2609['id'])[_0x3b2be9(0x124)]=_0x5d2609[_0x3b2be9(0x124)]);}),this[_0x44f256(0x12b)][_0x44f256(0x100)](_0x50df9e[_0x44f256(0x11b)])[_0x44f256(0xf4)](_0x72481c=>(_0x50df9e[_0x44f256(0x106)](this),this[_0x44f256(0x11d)](_0x72481c)[_0x44f256(0xf4)](()=>{const _0x2f0bd7=_0x44f256;for(const _0x50a4a7 of _0x72481c){_0x5e534e[_0x2f0bd7(0xfe)](_0x50a4a7)[_0x2f0bd7(0x129)]=!0x0;}})));}async[_0x55f21f(0x109)](){const _0x4e2215=_0x55f21f,_0x401be1=this[_0x4e2215(0xfb)][_0x4e2215(0x134)][_0x4e2215(0x132)](_0x4e2215(0x103)),{connection:_0x20e89f}=this[_0x4e2215(0xfb)][_0x4e2215(0x134)][_0x4e2215(0x132)](_0x4db95a),_0x5a1198=await this[_0x4e2215(0x12b)][_0x4e2215(0x100)](_0x20e89f);await this[_0x4e2215(0x11d)](_0x5a1198);for(const {suggestionData:_0xd56651,resolve:_0x10b27f}of this[_0x4e2215(0x127)][_0x4e2215(0xf6)]()){let _0x370a87=_0x5a1198[_0x4e2215(0x12d)](_0x3b597a=>_0x3b597a['id']===_0xd56651['id']);_0x370a87||(_0x370a87=await this[_0x4e2215(0x12b)][_0x4e2215(0x117)](_0xd56651['id'],_0xd56651[_0x4e2215(0x123)],_0xd56651[_0x4e2215(0x108)],_0xd56651[_0x4e2215(0x116)])),_0x10b27f(_0x370a87);}for(const _0x44ade5 of _0x5a1198)_0x401be1[_0x4e2215(0x130)](_0x44ade5['id'])||_0x401be1[_0x4e2215(0xfe)](_0x44ade5);}async[_0x55f21f(0xf9)](){const _0x30d52b=_0x55f21f;this[_0x30d52b(0x12b)][_0x30d52b(0x112)]||await new Promise(_0x6d96f5=>{const _0x170341=_0x30d52b;this[_0x170341(0x11f)](this[_0x170341(0x12b)],_0x170341(0x10b),_0x3849cc=>{const _0x47e9f9=_0x170341;_0x3849cc[_0x47e9f9(0x122)](),_0x6d96f5();});});}async[_0x55f21f(0x11d)](_0x57565c){const _0x9f3e2d=_0x55f21f,_0x44d2aa=this[_0x9f3e2d(0xfb)][_0x9f3e2d(0x134)][_0x9f3e2d(0x132)](_0x306ab8),{connection:_0x344a67}=this[_0x9f3e2d(0xfb)][_0x9f3e2d(0x134)][_0x9f3e2d(0x132)](_0x4db95a),_0x267d6b=new Set();for(const {authorId:_0x5dab71}of _0x57565c)_0x44d2aa[_0x9f3e2d(0x133)](_0x5dab71)||_0x267d6b[_0x9f3e2d(0x117)](_0x5dab71);if(0x0===_0x267d6b[_0x9f3e2d(0x11c)])return;const _0x3d6f3e=await _0x4f7b76[_0x9f3e2d(0x114)](_0x344a67,Array[_0x9f3e2d(0x10c)](_0x267d6b));for(const _0x4a0908 of _0x3d6f3e)_0x44d2aa[_0x9f3e2d(0x133)](_0x4a0908['id'])||_0x44d2aa[_0x9f3e2d(0x11e)](_0x4a0908);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x20eb3c){if(st(_0x20eb3c))return new Promise(()=>{});throw _0x20eb3c;}function st(_0x353f6a){const _0x26f415=_0x55f21f;return _0x353f6a[_0x26f415(0x125)][_0x26f415(0x10f)](_0x26f415(0x10d))||_0x353f6a[_0x26f415(0x125)][_0x26f415(0x10f)](_0x26f415(0x105));}function _0x2133(){const _0x24afd4=['delete','getMany','state','originalSuggestionId','add','1867128dqupNS','41336fkNNMj','adapter','connection','size','_fetchMissingUsersForThreads','addUser','listenTo','TrackChangesService','3580430cEukpP','off','type','attributes','message','init','_bufferedRequests','1423145SnkInV','_saved','getSuggestion','_trackChangesService','config','find','CloudServicesTrackChangesAdapter','isOfficialPlugin','hasSuggestion','12110QZIKvc','get','getUser','plugins','then','pluginName','values','2yzXwZy','set','_waitForServiceReady','suggestionUpdated','editor','isPremiumPlugin','8dfyiTY','addSuggestionData','collaboration.channelId','connect','requires','catch','TrackChangesEditing','update','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','94467INOPyh','data','reconnect','255078QmgrtJ','connected','from','cloud-services-internal-error:\x20Not\x20connected.','open','startsWith','6193WIMHUF','171rDxQFZ','isConnected'];_0x2133=function(){return _0x24afd4;};return _0x2133();}
23
+ const _0xaa3b1e=_0xa882;(function(_0x261b02,_0x1cb630){const _0x5cdc9e=_0xa882,_0x2ed78b=_0x261b02();while(!![]){try{const _0x5f0b16=parseInt(_0x5cdc9e(0x1af))/0x1+parseInt(_0x5cdc9e(0x189))/0x2+parseInt(_0x5cdc9e(0x1a4))/0x3+-parseInt(_0x5cdc9e(0x1a1))/0x4+-parseInt(_0x5cdc9e(0x195))/0x5+parseInt(_0x5cdc9e(0x1b1))/0x6*(-parseInt(_0x5cdc9e(0x181))/0x7)+-parseInt(_0x5cdc9e(0x1a0))/0x8*(-parseInt(_0x5cdc9e(0x17a))/0x9);if(_0x5f0b16===_0x1cb630)break;else _0x2ed78b['push'](_0x2ed78b['shift']());}catch(_0x1ed7c6){_0x2ed78b['push'](_0x2ed78b['shift']());}}}(_0x3fd6,0x8c8e6));import{Plugin as _0x54ab20}from'ckeditor5/src/core.js';import{User as _0x2b3e97,TrackChangesService as _0x4c6e01}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5aea2f}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x344444}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x52e179}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x54ab20{static [_0xaa3b1e(0x179)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4c6e01)());[_0xaa3b1e(0x1a6)];[_0xaa3b1e(0x1b0)];static get[_0xaa3b1e(0x180)](){const _0x420972=_0xaa3b1e;return[_0x344444,_0x420972(0x188),_0x5aea2f];}static get[_0xaa3b1e(0x183)](){const _0x378a33=_0xaa3b1e;return _0x378a33(0x182);}static get[_0xaa3b1e(0x19c)](){return!0x0;}static get[_0xaa3b1e(0x1a8)](){return!0x0;}constructor(_0x410f65){const _0x2d2ad4=_0xaa3b1e;super(_0x410f65);const _0x67d496=this[_0x2d2ad4(0x199)][_0x2d2ad4(0x18b)][_0x2d2ad4(0x1ab)](_0x2d2ad4(0x197));this[_0x2d2ad4(0x1a6)]=new Map(),this[_0x2d2ad4(0x1b0)]=new m[(_0x2d2ad4(0x179))](_0x67d496);}[_0xaa3b1e(0x17e)](){const _0x535ea6=_0xaa3b1e,_0x34349=this[_0x535ea6(0x199)][_0x535ea6(0x17f)][_0x535ea6(0x1ab)](_0x5aea2f),_0x428204=this[_0x535ea6(0x199)][_0x535ea6(0x17f)][_0x535ea6(0x1ab)](_0x535ea6(0x188));return _0x428204[_0x535ea6(0x1b7)]={'getSuggestion':async _0x285caa=>{const _0x1503cf=_0x535ea6;await this[_0x1503cf(0x192)]();const _0x46d8ec=await this[_0x1503cf(0x1b0)][_0x1503cf(0x1ab)](_0x285caa)[_0x1503cf(0x198)](tt);return await this[_0x1503cf(0x17d)]([_0x46d8ec]),_0x46d8ec;},'addSuggestion':async({id:_0x51289c,type:_0x23e149,data:_0x25be06,originalSuggestionId:_0x3ebb03,attributes:_0x12fc01})=>{const _0x18ab0a=_0x535ea6;await this[_0x18ab0a(0x192)]();const _0xaa1fc2={'id':_0x51289c,'type':_0x23e149,'data':_0x25be06,'originalSuggestionId':_0x3ebb03,'attributes':_0x12fc01},_0x34fdc5=await this[_0x18ab0a(0x1b0)][_0x18ab0a(0x17b)](_0x51289c,_0x23e149,_0x25be06,_0x3ebb03,_0x12fc01)[_0x18ab0a(0x198)](_0x4a699b=>{if(ot(_0x4a699b))return new Promise(_0x12bc31=>{const _0x583ec2=_0xa882;this[_0x583ec2(0x1a6)][_0x583ec2(0x193)](_0x51289c,{'resolve':_0x12bc31,'suggestionData':_0xaa1fc2});});throw _0x4a699b;});return this[_0x18ab0a(0x1a6)][_0x18ab0a(0x1b3)](_0x51289c),_0x34fdc5;},'updateSuggestion':async(_0x4aa4b5,_0x33cc6c)=>{const _0x413cc2=_0x535ea6;if(await this[_0x413cc2(0x192)](),_0x413cc2(0x1b6)!==_0x33cc6c[_0x413cc2(0x185)])return this[_0x413cc2(0x1b0)][_0x413cc2(0x190)](_0x4aa4b5,_0x33cc6c)[_0x413cc2(0x198)](tt);}},this[_0x535ea6(0x17c)](this[_0x535ea6(0x1b0)],_0x535ea6(0x19e),(_0x1eab04,_0x1f8b41)=>{const _0x5c8762=_0x535ea6;_0x428204[_0x5c8762(0x1ac)](_0x1f8b41['id'])&&(_0x428204[_0x5c8762(0x19f)](_0x1f8b41['id'])[_0x5c8762(0x19b)]=_0x1f8b41[_0x5c8762(0x19b)]);}),this[_0x535ea6(0x1b0)][_0x535ea6(0x19a)](_0x34349[_0x535ea6(0x194)])[_0x535ea6(0x1a3)](_0x191d82=>(_0x34349[_0x535ea6(0x18f)](this),this[_0x535ea6(0x17d)](_0x191d82)[_0x535ea6(0x1a3)](()=>{const _0x17be8b=_0x535ea6;for(const _0x2fa033 of _0x191d82){_0x428204[_0x17be8b(0x196)](_0x2fa033)[_0x17be8b(0x1ae)]=!0x0;}})));}async[_0xaa3b1e(0x18a)](){const _0x1e9c49=_0xaa3b1e,_0x2955fc=this[_0x1e9c49(0x199)][_0x1e9c49(0x17f)][_0x1e9c49(0x1ab)](_0x1e9c49(0x188)),{connection:_0x5483e8}=this[_0x1e9c49(0x199)][_0x1e9c49(0x17f)][_0x1e9c49(0x1ab)](_0x5aea2f),_0x1657f6=await this[_0x1e9c49(0x1b0)][_0x1e9c49(0x19a)](_0x5483e8);await this[_0x1e9c49(0x17d)](_0x1657f6);for(const {suggestionData:_0x1b90ac,resolve:_0x5a6d9a}of this[_0x1e9c49(0x1a6)][_0x1e9c49(0x184)]()){let _0x30938b=_0x1657f6[_0x1e9c49(0x18c)](_0x5231ed=>_0x5231ed['id']===_0x1b90ac['id']);_0x30938b||(_0x30938b=await this[_0x1e9c49(0x1b0)][_0x1e9c49(0x17b)](_0x1b90ac['id'],_0x1b90ac[_0x1e9c49(0x1b5)],_0x1b90ac[_0x1e9c49(0x1a7)],_0x1b90ac[_0x1e9c49(0x191)])),_0x5a6d9a(_0x30938b);}for(const _0x116ee1 of _0x1657f6)_0x2955fc[_0x1e9c49(0x1ac)](_0x116ee1['id'])||_0x2955fc[_0x1e9c49(0x196)](_0x116ee1);}async[_0xaa3b1e(0x192)](){const _0x292de1=_0xaa3b1e;this[_0x292de1(0x1b0)][_0x292de1(0x18d)]||await new Promise(_0x719d10=>{const _0x41b6e9=_0x292de1;this[_0x41b6e9(0x17c)](this[_0x41b6e9(0x1b0)],_0x41b6e9(0x18e),_0x343d30=>{const _0x291d25=_0x41b6e9;_0x343d30[_0x291d25(0x1b2)](),_0x719d10();});});}async[_0xaa3b1e(0x17d)](_0xb4c741){const _0x40a3c5=_0xaa3b1e,_0x4ff674=this[_0x40a3c5(0x199)][_0x40a3c5(0x17f)][_0x40a3c5(0x1ab)](_0x52e179),{connection:_0x5b6019}=this[_0x40a3c5(0x199)][_0x40a3c5(0x17f)][_0x40a3c5(0x1ab)](_0x5aea2f),_0x3199f9=new Set();for(const {authorId:_0x2b9fe9}of _0xb4c741)_0x4ff674[_0x40a3c5(0x1a9)](_0x2b9fe9)||_0x3199f9[_0x40a3c5(0x17b)](_0x2b9fe9);if(0x0===_0x3199f9[_0x40a3c5(0x186)])return;const _0x4ba3ee=await _0x2b3e97[_0x40a3c5(0x1ad)](_0x5b6019,Array[_0x40a3c5(0x1aa)](_0x3199f9));for(const _0x34d352 of _0x4ba3ee)_0x4ff674[_0x40a3c5(0x1a9)](_0x34d352['id'])||_0x4ff674[_0x40a3c5(0x187)](_0x34d352);}}export{m as CloudServicesTrackChangesAdapter};function tt(_0x1dc925){if(ot(_0x1dc925))return new Promise(()=>{});throw _0x1dc925;}function _0xa882(_0x5d6790,_0x3dfb5a){const _0x3fd620=_0x3fd6();return _0xa882=function(_0xa882cf,_0x7ab1e3){_0xa882cf=_0xa882cf-0x179;let _0x160339=_0x3fd620[_0xa882cf];return _0x160339;},_0xa882(_0x5d6790,_0x3dfb5a);}function ot(_0x20bb20){const _0x1e1e78=_0xaa3b1e;return _0x20bb20[_0x1e1e78(0x1b4)][_0x1e1e78(0x1a2)](_0x1e1e78(0x19d))||_0x20bb20[_0x1e1e78(0x1b4)][_0x1e1e78(0x1a2)](_0x1e1e78(0x1a5));}function _0x3fd6(){const _0x51aef8=['then','470985zTQDUz','cloud-services-internal-error:\x20Request\x20timeout.','_bufferedRequests','data','isPremiumPlugin','getUser','from','get','hasSuggestion','getMany','_saved','172667jAbfJU','_trackChangesService','203802YoIqcS','off','delete','message','type','open','adapter','TrackChangesService','36USHLsP','add','listenTo','_fetchMissingUsersForThreads','init','plugins','requires','126VRltWI','CloudServicesTrackChangesAdapter','pluginName','values','state','size','addUser','TrackChangesEditing','1278056XREHaL','reconnect','config','find','isConnected','connected','addToReconnectionStack','update','originalSuggestionId','_waitForServiceReady','set','connection','956355quDlAT','addSuggestionData','collaboration.channelId','catch','editor','connect','attributes','isOfficialPlugin','cloud-services-internal-error:\x20Not\x20connected.','suggestionUpdated','getSuggestion','1453576GkVLow','1268332vZLvuX','startsWith'];_0x3fd6=function(){return _0x51aef8;};return _0x3fd6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f2f(){var _0x5001f1=['9379315IkPRyx','717512eechGi','70HtKXyA','RealTimeCollaborativeTrackChanges','1LKCJIb','1011170CAJmXq','requires','144AKFMkC','1071060xrUWFs','5969780qujmfF','isOfficialPlugin','7789752dWYxVF','isPremiumPlugin','770334VwKXKZ','TrackChanges','pluginName'];_0x3f2f=function(){return _0x5001f1;};return _0x3f2f();}var _0x1e09b2=_0x154f;function _0x154f(_0x4b0828,_0x12588a){var _0x3f2f9b=_0x3f2f();return _0x154f=function(_0x154f70,_0x3ac49a){_0x154f70=_0x154f70-0x71;var _0x2d32c8=_0x3f2f9b[_0x154f70];return _0x2d32c8;},_0x154f(_0x4b0828,_0x12588a);}(function(_0x405b68,_0x218d95){var _0x5cfea5=_0x154f,_0x2d2375=_0x405b68();while(!![]){try{var _0x5a859c=-parseInt(_0x5cfea5(0x76))/0x1*(parseInt(_0x5cfea5(0x73))/0x2)+-parseInt(_0x5cfea5(0x7a))/0x3+-parseInt(_0x5cfea5(0x7b))/0x4+parseInt(_0x5cfea5(0x72))/0x5+parseInt(_0x5cfea5(0x7f))/0x6*(-parseInt(_0x5cfea5(0x74))/0x7)+parseInt(_0x5cfea5(0x7d))/0x8+-parseInt(_0x5cfea5(0x79))/0x9*(-parseInt(_0x5cfea5(0x77))/0xa);if(_0x5a859c===_0x218d95)break;else _0x2d2375['push'](_0x2d2375['shift']());}catch(_0x227a08){_0x2d2375['push'](_0x2d2375['shift']());}}}(_0x3f2f,0xee1ef));import{Plugin as _0x4e1fbb}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2aeb53}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5cc63d}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x4e1fbb{static get[_0x1e09b2(0x78)](){var _0x126585=_0x1e09b2;return[_0x5cc63d,_0x2aeb53,_0x126585(0x80)];}static get[_0x1e09b2(0x71)](){var _0x179a2c=_0x1e09b2;return _0x179a2c(0x75);}static get[_0x1e09b2(0x7c)](){return!0x0;}static get[_0x1e09b2(0x7e)](){return!0x0;}}
23
+ var _0x381ace=_0x2c68;(function(_0x29307f,_0x263b6f){var _0x1ff92e=_0x2c68,_0x35b79c=_0x29307f();while(!![]){try{var _0x502c70=parseInt(_0x1ff92e(0xee))/0x1*(-parseInt(_0x1ff92e(0xe9))/0x2)+-parseInt(_0x1ff92e(0xed))/0x3+parseInt(_0x1ff92e(0xe7))/0x4*(parseInt(_0x1ff92e(0xec))/0x5)+parseInt(_0x1ff92e(0xea))/0x6+-parseInt(_0x1ff92e(0xf3))/0x7+-parseInt(_0x1ff92e(0xeb))/0x8*(parseInt(_0x1ff92e(0xef))/0x9)+parseInt(_0x1ff92e(0xe5))/0xa*(parseInt(_0x1ff92e(0xf0))/0xb);if(_0x502c70===_0x263b6f)break;else _0x35b79c['push'](_0x35b79c['shift']());}catch(_0x21ebd5){_0x35b79c['push'](_0x35b79c['shift']());}}}(_0x444b,0x92512));import{Plugin as _0x2f3f16}from'ckeditor5/src/core.js';function _0x444b(){var _0x144000=['2783868zIDQdu','22277HgIubx','18918IFOWIp','81059WVfyvX','isOfficialPlugin','pluginName','4424679DDbrAd','requires','RealTimeCollaborativeTrackChanges','2510QqeYbG','TrackChanges','36oioZFI','isPremiumPlugin','84tVzABU','5607306mBTWaW','2840QrhGpA','587245SCUESA'];_0x444b=function(){return _0x144000;};return _0x444b();}function _0x2c68(_0x176136,_0x4e9e33){var _0x444bdf=_0x444b();return _0x2c68=function(_0x2c68fb,_0x2534c2){_0x2c68fb=_0x2c68fb-0xe4;var _0xd4ff23=_0x444bdf[_0x2c68fb];return _0xd4ff23;},_0x2c68(_0x176136,_0x4e9e33);}import{CloudServicesTrackChangesAdapter as _0x5acb43}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x277fef}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2f3f16{static get[_0x381ace(0xf4)](){var _0x16b710=_0x381ace;return[_0x277fef,_0x5acb43,_0x16b710(0xe6)];}static get[_0x381ace(0xf2)](){var _0x59f882=_0x381ace;return _0x59f882(0xe4);}static get[_0x381ace(0xf1)](){return!0x0;}static get[_0x381ace(0xe8)](){return!0x0;}}