@ckeditor/ckeditor5-real-time-collaboration 46.0.2 → 46.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e082b=_0x4397;(function(_0x40fc9d,_0x22d4d2){const _0x3cd1e2=_0x4397,_0x233a07=_0x40fc9d();while(!![]){try{const _0x21bea2=-parseInt(_0x3cd1e2(0x132))/0x1*(-parseInt(_0x3cd1e2(0x129))/0x2)+-parseInt(_0x3cd1e2(0x119))/0x3*(-parseInt(_0x3cd1e2(0x118))/0x4)+parseInt(_0x3cd1e2(0x12f))/0x5*(-parseInt(_0x3cd1e2(0x14a))/0x6)+-parseInt(_0x3cd1e2(0x13b))/0x7*(parseInt(_0x3cd1e2(0x120))/0x8)+-parseInt(_0x3cd1e2(0x14c))/0x9*(parseInt(_0x3cd1e2(0x14e))/0xa)+-parseInt(_0x3cd1e2(0x124))/0xb*(-parseInt(_0x3cd1e2(0x151))/0xc)+-parseInt(_0x3cd1e2(0x143))/0xd*(-parseInt(_0x3cd1e2(0x161))/0xe);if(_0x21bea2===_0x22d4d2)break;else _0x233a07['push'](_0x233a07['shift']());}catch(_0x227a08){_0x233a07['push'](_0x233a07['shift']());}}}(_0x2f16,0x7807c));function _0x4397(_0x5bc1f8,_0x28e99d){const _0x2f1605=_0x2f16();return _0x4397=function(_0x43977e,_0x29606b){_0x43977e=_0x43977e-0x116;let _0x5725e2=_0x2f1605[_0x43977e];return _0x5725e2;},_0x4397(_0x5bc1f8,_0x28e99d);}import{ContextPlugin as _0x5f43f1}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4e87a3,CKEditorError as _0x51652e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4a3d26,WEB_SOCKET_GATEWAY_STATES as _0x33a0a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2f16(){const _0x3b66b4=['all','disconnect','define','996wAyIVL','_domEmitter','54jTbGGs','_shouldPluginsReconnect','1360100PcEkaz','pluginName','limitExceeded','219036rhjoyt','offline','has','config','requires','websocketgateway-invalid-plugin-interface','from','cloudservices-reconnection-error','webSocketUrl','CONNECTING','CloudServices','constructor','connection','function','cloudServices.requestTimeout','get','4144lZndWf','DISCONNECTED','websocketgateway-missing-token','add','CONNECTED','3142508esMJiY','3kFIGrp','_isBrowserOffline','init','websocketgateway-missing-websocket-url','stopListening','isOfficialPlugin','bind','544aLcrNx','isInReconnectionStack','token','websocketgateway-plugin-already-registered','77nzfUYQ','listenTo','change:me','Connected\x20users\x20limit\x20exceeded','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.','10524QxUVeO','removeFromReconnectionStack','addToReconnectionStack','reconnect','_reconnect','state','9970ABWiZK','error','showWarning','145uDjmJN','isPremiumPlugin','WebSocketGateway','initialReconnectionInterval','delete','code','plugins','_reconnectionStack','real-time-collaboration','90202dsuynx','online','set','context','then','cloudservices-init','destroy','connect','36829nNPpQM','connected','catch','cloudServices.connectionTimeout'];_0x2f16=function(){return _0x3b66b4;};return _0x2f16();}import{Notification as _0xf22aec}from'ckeditor5/src/ui.js';class n extends _0x5f43f1{static [_0x5e082b(0x134)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4a3d26)());static [_0x5e082b(0x135)]=0x3e8;[_0x5e082b(0x15d)];[_0x5e082b(0x139)];[_0x5e082b(0x14d)];[_0x5e082b(0x14b)];static get[_0x5e082b(0x155)](){const _0x356607=_0x5e082b;return[_0x356607(0x15b),_0xf22aec];}static get[_0x5e082b(0x14f)](){const _0x4eea62=_0x5e082b;return _0x4eea62(0x134);}static get[_0x5e082b(0x11e)](){return!0x0;}static get[_0x5e082b(0x133)](){return!0x0;}constructor(_0x47a382){const _0x2c7419=_0x5e082b;super(_0x47a382),this[_0x2c7419(0x13d)](_0x2c7419(0x12e),_0x33a0a8[_0x2c7419(0x117)]),this[_0x2c7419(0x13d)](_0x2c7419(0x11a),!0x1),this[_0x2c7419(0x139)]=new Set(),this[_0x2c7419(0x14d)]=!0x1,this[_0x2c7419(0x14b)]=new(_0x4e87a3())();}[_0x5e082b(0x11b)](){const _0x258250=_0x5e082b,_0x5a18bd=this[_0x258250(0x13e)],_0x521a25=_0x5a18bd[_0x258250(0x138)][_0x258250(0x160)](_0x258250(0x15b)),_0x1a5c99=_0x5a18bd[_0x258250(0x138)][_0x258250(0x160)](_0xf22aec);if(!_0x521a25[_0x258250(0x122)])throw new _0x51652e(_0x258250(0x163),this);if(!_0x521a25[_0x258250(0x159)])throw new _0x51652e(_0x258250(0x11c),this);return this[_0x258250(0x14b)][_0x258250(0x125)](window,_0x258250(0x152),()=>this[_0x258250(0x11a)]=!0x0),this[_0x258250(0x14b)][_0x258250(0x125)](window,_0x258250(0x13c),()=>this[_0x258250(0x11a)]=!0x1),this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x149)](_0x258250(0x146),0xa),this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x149)](_0x258250(0x15f),0x14),n[_0x258250(0x134)][_0x258250(0x142)](_0x521a25[_0x258250(0x122)],_0x521a25[_0x258250(0x159)],{'timeout':0x3e8*this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x160)](_0x258250(0x146)),'requestTimeout':0x3e8*this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x160)](_0x258250(0x15f))})[_0x258250(0x13f)](_0x422e45=>{const _0x215f71=_0x258250;if(this[_0x215f71(0x15d)]=_0x422e45,this[_0x215f71(0x11f)](_0x215f71(0x12e))['to'](_0x422e45,_0x215f71(0x12e),this,_0x215f71(0x11a),(_0x438797,_0x4409a3)=>(_0x215f71(0x144)!==_0x438797&&(this[_0x215f71(0x14d)]=!0x0),_0x4409a3||_0x438797!==_0x33a0a8[_0x215f71(0x117)]?_0x33a0a8[_0x215f71(0x162)]:this[_0x215f71(0x12e)]==_0x33a0a8[_0x215f71(0x162)]&&this[_0x215f71(0x14d)]?(this[_0x215f71(0x14d)]=!0x1,this[_0x215f71(0x12d)](),_0x33a0a8[_0x215f71(0x15a)]):_0x33a0a8[_0x215f71(0x117)])),this[_0x215f71(0x15d)]['on'](_0x215f71(0x130),(_0x2c08f0,_0x55f949)=>{const _0x2974b0=_0x215f71;if(_0x2974b0(0x150)!==_0x55f949[_0x2974b0(0x137)])throw console[_0x2974b0(0x130)](_0x55f949),new _0x51652e(_0x2974b0(0x140),null,{'originalError':_0x55f949});_0x1a5c99[_0x2974b0(0x131)](_0x2974b0(0x128),{'title':_0x2974b0(0x127),'namespace':_0x2974b0(0x13a)});}),!_0x422e45['me'])return new Promise(_0x55aeb7=>_0x422e45['on'](_0x215f71(0x126),_0x55aeb7));})[_0x258250(0x145)](_0x7c0cef=>{const _0x3134ed=_0x258250;throw console[_0x3134ed(0x130)](_0x7c0cef),new _0x51652e(_0x3134ed(0x140),null,{'originalError':_0x7c0cef});});}[_0x5e082b(0x12b)](_0x44ea4b){const _0x2741ea=_0x5e082b;if(_0x2741ea(0x15e)!=typeof _0x44ea4b[_0x2741ea(0x12c)])throw new _0x51652e(_0x2741ea(0x156),this);if(this[_0x2741ea(0x121)](_0x44ea4b))throw new _0x51652e(_0x2741ea(0x123),this,{'name':_0x44ea4b[_0x2741ea(0x15c)][_0x2741ea(0x14f)]});this[_0x2741ea(0x139)][_0x2741ea(0x116)](_0x44ea4b);}[_0x5e082b(0x12a)](_0xe04293){const _0x5f4fc0=_0x5e082b;this[_0x5f4fc0(0x139)][_0x5f4fc0(0x136)](_0xe04293);}[_0x5e082b(0x121)](_0x115ed9){const _0x2c8b18=_0x5e082b;return this[_0x2c8b18(0x139)][_0x2c8b18(0x153)](_0x115ed9);}[_0x5e082b(0x12d)](){const _0x22835e=_0x5e082b;return this[_0x22835e(0x15d)][_0x22835e(0x12c)]()[_0x22835e(0x13f)](()=>Promise[_0x22835e(0x147)](Array[_0x22835e(0x157)](this[_0x22835e(0x139)],_0x25d55a=>_0x25d55a[_0x22835e(0x12c)]())))[_0x22835e(0x13f)](()=>this[_0x22835e(0x12e)]=_0x33a0a8[_0x22835e(0x117)])[_0x22835e(0x145)](_0x1767f4=>{const _0x4424bf=_0x22835e;throw console[_0x4424bf(0x130)](_0x1767f4),new _0x51652e(_0x4424bf(0x158),this[_0x4424bf(0x13e)]);});}[_0x5e082b(0x148)](){const _0x319a14=_0x5e082b;this[_0x319a14(0x15d)]&&this[_0x319a14(0x15d)][_0x319a14(0x148)](),this[_0x319a14(0x12e)]=_0x33a0a8[_0x319a14(0x162)],this[_0x319a14(0x14b)][_0x319a14(0x11d)]();}[_0x5e082b(0x141)](){const _0x4adc47=_0x5e082b;this[_0x4adc47(0x148)](),super[_0x4adc47(0x141)]();}}export{n as WebSocketGateway};
23
+ const _0x4ed46d=_0x5e67;(function(_0x56b569,_0x21a773){const _0x4d56c8=_0x5e67,_0x2ff60d=_0x56b569();while(!![]){try{const _0x3d8273=parseInt(_0x4d56c8(0xd0))/0x1*(-parseInt(_0x4d56c8(0xd7))/0x2)+parseInt(_0x4d56c8(0xb6))/0x3*(-parseInt(_0x4d56c8(0xb5))/0x4)+parseInt(_0x4d56c8(0xf4))/0x5*(-parseInt(_0x4d56c8(0xad))/0x6)+parseInt(_0x4d56c8(0xdd))/0x7*(parseInt(_0x4d56c8(0xb2))/0x8)+-parseInt(_0x4d56c8(0xeb))/0x9*(parseInt(_0x4d56c8(0xc4))/0xa)+parseInt(_0x4d56c8(0xce))/0xb+parseInt(_0x4d56c8(0xc3))/0xc;if(_0x3d8273===_0x21a773)break;else _0x2ff60d['push'](_0x2ff60d['shift']());}catch(_0x1f7a2f){_0x2ff60d['push'](_0x2ff60d['shift']());}}}(_0x33fb,0x4f963));import{ContextPlugin as _0x350a42}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x361af5,CKEditorError as _0x122923}from'ckeditor5/src/utils.js';function _0x5e67(_0x867977,_0x4c4175){const _0x33fb3d=_0x33fb();return _0x5e67=function(_0x5e678a,_0x24ad79){_0x5e678a=_0x5e678a-0xac;let _0x211d24=_0x33fb3d[_0x5e678a];return _0x211d24;},_0x5e67(_0x867977,_0x4c4175);}function _0x33fb(){const _0x3d1113=['addToReconnectionStack','websocketgateway-missing-websocket-url','isOfficialPlugin','context','7gCqqKP','Connected\x20users\x20limit\x20exceeded','pluginName','limitExceeded','connection','CloudServices','WebSocketGateway','set','listenTo','connect','from','get','websocketgateway-invalid-plugin-interface','destroy','108684hZlaLs','token','plugins','catch','online','CONNECTING','cloudservices-reconnection-error','_domEmitter','error','5HjWlIg','has','stopListening','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.','config','2506098tIolZA','cloudServices.connectionTimeout','initialReconnectionInterval','then','change:me','3598376IippCS','cloudservices-init','reconnect','2514344gtSRLI','3Ulzinl','add','all','init','define','cloudServices.requestTimeout','_isBrowserOffline','webSocketUrl','websocketgateway-missing-token','state','code','DISCONNECTED','offline','16815456CeSNGS','60KbipYM','bind','_shouldPluginsReconnect','isInReconnectionStack','real-time-collaboration','websocketgateway-plugin-already-registered','requires','CONNECTED','function','delete','258038CKgsvo','_reconnectionStack','293IKgHxR','disconnect','showWarning','isPremiumPlugin','connected','constructor','_reconnect','2934wzUdfb','removeFromReconnectionStack'];_0x33fb=function(){return _0x3d1113;};return _0x33fb();}import{WebSocketGateway as _0x39fa22,WEB_SOCKET_GATEWAY_STATES as _0x364e11}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2cb78a}from'ckeditor5/src/ui.js';class n extends _0x350a42{static [_0x4ed46d(0xe3)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x39fa22)());static [_0x4ed46d(0xaf)]=0x3e8;[_0x4ed46d(0xe1)];[_0x4ed46d(0xcf)];[_0x4ed46d(0xc6)];[_0x4ed46d(0xf2)];static get[_0x4ed46d(0xca)](){const _0x366063=_0x4ed46d;return[_0x366063(0xe2),_0x2cb78a];}static get[_0x4ed46d(0xdf)](){const _0x4c2537=_0x4ed46d;return _0x4c2537(0xe3);}static get[_0x4ed46d(0xdb)](){return!0x0;}static get[_0x4ed46d(0xd3)](){return!0x0;}constructor(_0x571226){const _0x4d781d=_0x4ed46d;super(_0x571226),this[_0x4d781d(0xe4)](_0x4d781d(0xbf),_0x364e11[_0x4d781d(0xcb)]),this[_0x4d781d(0xe4)](_0x4d781d(0xbc),!0x1),this[_0x4d781d(0xcf)]=new Set(),this[_0x4d781d(0xc6)]=!0x1,this[_0x4d781d(0xf2)]=new(_0x361af5())();}[_0x4ed46d(0xb9)](){const _0xd52a7d=_0x4ed46d,_0x612b6c=this[_0xd52a7d(0xdc)],_0x3dbc46=_0x612b6c[_0xd52a7d(0xed)][_0xd52a7d(0xe8)](_0xd52a7d(0xe2)),_0x125e59=_0x612b6c[_0xd52a7d(0xed)][_0xd52a7d(0xe8)](_0x2cb78a);if(!_0x3dbc46[_0xd52a7d(0xec)])throw new _0x122923(_0xd52a7d(0xbe),this);if(!_0x3dbc46[_0xd52a7d(0xbd)])throw new _0x122923(_0xd52a7d(0xda),this);return this[_0xd52a7d(0xf2)][_0xd52a7d(0xe5)](window,_0xd52a7d(0xc2),()=>this[_0xd52a7d(0xbc)]=!0x0),this[_0xd52a7d(0xf2)][_0xd52a7d(0xe5)](window,_0xd52a7d(0xef),()=>this[_0xd52a7d(0xbc)]=!0x1),this[_0xd52a7d(0xdc)][_0xd52a7d(0xac)][_0xd52a7d(0xba)](_0xd52a7d(0xae),0xa),this[_0xd52a7d(0xdc)][_0xd52a7d(0xac)][_0xd52a7d(0xba)](_0xd52a7d(0xbb),0x14),n[_0xd52a7d(0xe3)][_0xd52a7d(0xe6)](_0x3dbc46[_0xd52a7d(0xec)],_0x3dbc46[_0xd52a7d(0xbd)],{'timeout':0x3e8*this[_0xd52a7d(0xdc)][_0xd52a7d(0xac)][_0xd52a7d(0xe8)](_0xd52a7d(0xae)),'requestTimeout':0x3e8*this[_0xd52a7d(0xdc)][_0xd52a7d(0xac)][_0xd52a7d(0xe8)](_0xd52a7d(0xbb))})[_0xd52a7d(0xb0)](_0x26b27e=>{const _0x3126b8=_0xd52a7d;if(this[_0x3126b8(0xe1)]=_0x26b27e,this[_0x3126b8(0xc5)](_0x3126b8(0xbf))['to'](_0x26b27e,_0x3126b8(0xbf),this,_0x3126b8(0xbc),(_0x230fd0,_0xfd4a5a)=>(_0x3126b8(0xd4)!==_0x230fd0&&(this[_0x3126b8(0xc6)]=!0x0),_0xfd4a5a||_0x230fd0!==_0x364e11[_0x3126b8(0xcb)]?_0x364e11[_0x3126b8(0xc1)]:this[_0x3126b8(0xbf)]==_0x364e11[_0x3126b8(0xc1)]&&this[_0x3126b8(0xc6)]?(this[_0x3126b8(0xc6)]=!0x1,this[_0x3126b8(0xd6)](),_0x364e11[_0x3126b8(0xf0)]):_0x364e11[_0x3126b8(0xcb)])),this[_0x3126b8(0xe1)]['on'](_0x3126b8(0xf3),(_0x12a778,_0x4d53f7)=>{const _0x3c236a=_0x3126b8;if(_0x3c236a(0xe0)!==_0x4d53f7[_0x3c236a(0xc0)])throw console[_0x3c236a(0xf3)](_0x4d53f7),new _0x122923(_0x3c236a(0xb3),null,{'originalError':_0x4d53f7});_0x125e59[_0x3c236a(0xd2)](_0x3c236a(0xf7),{'title':_0x3c236a(0xde),'namespace':_0x3c236a(0xc8)});}),!_0x26b27e['me'])return new Promise(_0x1d7ec1=>_0x26b27e['on'](_0x3126b8(0xb1),_0x1d7ec1));})[_0xd52a7d(0xee)](_0x5160c4=>{const _0x5dc608=_0xd52a7d;throw console[_0x5dc608(0xf3)](_0x5160c4),new _0x122923(_0x5dc608(0xb3),null,{'originalError':_0x5160c4});});}[_0x4ed46d(0xd9)](_0x5b7905){const _0x5233ef=_0x4ed46d;if(_0x5233ef(0xcc)!=typeof _0x5b7905[_0x5233ef(0xb4)])throw new _0x122923(_0x5233ef(0xe9),this);if(this[_0x5233ef(0xc7)](_0x5b7905))throw new _0x122923(_0x5233ef(0xc9),this,{'name':_0x5b7905[_0x5233ef(0xd5)][_0x5233ef(0xdf)]});this[_0x5233ef(0xcf)][_0x5233ef(0xb7)](_0x5b7905);}[_0x4ed46d(0xd8)](_0x2e7a01){const _0x2f4701=_0x4ed46d;this[_0x2f4701(0xcf)][_0x2f4701(0xcd)](_0x2e7a01);}[_0x4ed46d(0xc7)](_0x25f172){const _0x234f74=_0x4ed46d;return this[_0x234f74(0xcf)][_0x234f74(0xf5)](_0x25f172);}[_0x4ed46d(0xd6)](){const _0x5397aa=_0x4ed46d;return this[_0x5397aa(0xe1)][_0x5397aa(0xb4)]()[_0x5397aa(0xb0)](()=>Promise[_0x5397aa(0xb8)](Array[_0x5397aa(0xe7)](this[_0x5397aa(0xcf)],_0x595026=>_0x595026[_0x5397aa(0xb4)]())))[_0x5397aa(0xb0)](()=>this[_0x5397aa(0xbf)]=_0x364e11[_0x5397aa(0xcb)])[_0x5397aa(0xee)](_0x5da351=>{const _0x180011=_0x5397aa;throw console[_0x180011(0xf3)](_0x5da351),new _0x122923(_0x180011(0xf1),this[_0x180011(0xdc)]);});}[_0x4ed46d(0xd1)](){const _0x5c702d=_0x4ed46d;this[_0x5c702d(0xe1)]&&this[_0x5c702d(0xe1)][_0x5c702d(0xd1)](),this[_0x5c702d(0xbf)]=_0x364e11[_0x5c702d(0xc1)],this[_0x5c702d(0xf2)][_0x5c702d(0xf6)]();}[_0x4ed46d(0xea)](){const _0x20a551=_0x4ed46d;this[_0x20a551(0xd1)](),super[_0x20a551(0xea)]();}}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x40c9(){var _0x5b3808=['375625LLencZ','3678GnfkND','18aqiZSa','33480xTPWor','RealTimeCollaborativeEditing','3577XcthRi','526510uHnmhZ','836216cNhRMV','1636782ZVBCxu','15PPrpEt','pluginName','requires','isPremiumPlugin','isOfficialPlugin','286488ScmJQi'];_0x40c9=function(){return _0x5b3808;};return _0x40c9();}var _0x51eeaf=_0x1a13;(function(_0x332265,_0x460fc7){var _0x1a3003=_0x1a13,_0x2f4e20=_0x332265();while(!![]){try{var _0x2a589f=-parseInt(_0x1a3003(0x75))/0x1*(-parseInt(_0x1a3003(0x7e))/0x2)+parseInt(_0x1a3003(0x74))/0x3+-parseInt(_0x1a3003(0x7a))/0x4+parseInt(_0x1a3003(0x7b))/0x5+parseInt(_0x1a3003(0x7c))/0x6*(-parseInt(_0x1a3003(0x80))/0x7)+-parseInt(_0x1a3003(0x82))/0x8+parseInt(_0x1a3003(0x7d))/0x9*(-parseInt(_0x1a3003(0x81))/0xa);if(_0x2a589f===_0x460fc7)break;else _0x2f4e20['push'](_0x2f4e20['shift']());}catch(_0x10943f){_0x2f4e20['push'](_0x2f4e20['shift']());}}}(_0x40c9,0x43a85));import{Plugin as _0x2946da}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x586ecc}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1a13(_0x2c6554,_0x38ac16){var _0x40c9ee=_0x40c9();return _0x1a13=function(_0x1a13b8,_0x1e3998){_0x1a13b8=_0x1a13b8-0x74;var _0x4059e5=_0x40c9ee[_0x1a13b8];return _0x4059e5;},_0x1a13(_0x2c6554,_0x38ac16);}export class RealTimeCollaborativeEditing extends _0x2946da{static get[_0x51eeaf(0x77)](){return[_0x586ecc];}static get[_0x51eeaf(0x76)](){var _0x44ebd7=_0x51eeaf;return _0x44ebd7(0x7f);}static get[_0x51eeaf(0x79)](){return!0x0;}static get[_0x51eeaf(0x78)](){return!0x0;}}
23
+ var _0x507dd3=_0x3060;(function(_0x176eec,_0x3f8757){var _0x3bda09=_0x3060,_0x3c6157=_0x176eec();while(!![]){try{var _0x1f7251=-parseInt(_0x3bda09(0x145))/0x1*(parseInt(_0x3bda09(0x143))/0x2)+-parseInt(_0x3bda09(0x13d))/0x3*(parseInt(_0x3bda09(0x147))/0x4)+-parseInt(_0x3bda09(0x140))/0x5*(parseInt(_0x3bda09(0x13f))/0x6)+-parseInt(_0x3bda09(0x13b))/0x7+parseInt(_0x3bda09(0x141))/0x8+-parseInt(_0x3bda09(0x144))/0x9*(parseInt(_0x3bda09(0x13c))/0xa)+parseInt(_0x3bda09(0x142))/0xb;if(_0x1f7251===_0x3f8757)break;else _0x3c6157['push'](_0x3c6157['shift']());}catch(_0x54efa6){_0x3c6157['push'](_0x3c6157['shift']());}}}(_0xf70e,0xe1a8f));function _0x3060(_0x26ca00,_0x54720b){var _0xf70e31=_0xf70e();return _0x3060=function(_0x306067,_0x4e9c7b){_0x306067=_0x306067-0x13b;var _0x196921=_0xf70e31[_0x306067];return _0x196921;},_0x3060(_0x26ca00,_0x54720b);}import{Plugin as _0x74a50f}from'ckeditor5/src/core.js';function _0xf70e(){var _0x113844=['54624482DdPezj','2KsMPta','2529WcgMEz','1717937iOYPbR','RealTimeCollaborativeEditing','664EUmQfN','pluginName','isPremiumPlugin','requires','8977836KdSJFH','4190PmiyHp','27141jyGTqx','isOfficialPlugin','73566semZiL','365nZSYzv','11788160VjbzgG'];_0xf70e=function(){return _0x113844;};return _0xf70e();}import{RealTimeCollaborationClient as _0x30cda0}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x74a50f{static get[_0x507dd3(0x14a)](){return[_0x30cda0];}static get[_0x507dd3(0x148)](){var _0x5c0cf0=_0x507dd3;return _0x5c0cf0(0x146);}static get[_0x507dd3(0x13e)](){return!0x0;}static get[_0x507dd3(0x149)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26303c=_0x47d8;(function(_0x17bd94,_0x4a35e5){const _0x349de6=_0x47d8,_0x59f0e=_0x17bd94();while(!![]){try{const _0x231522=parseInt(_0x349de6(0x1a9))/0x1+-parseInt(_0x349de6(0x14f))/0x2+-parseInt(_0x349de6(0x176))/0x3+-parseInt(_0x349de6(0x15d))/0x4+-parseInt(_0x349de6(0x17f))/0x5*(-parseInt(_0x349de6(0x15c))/0x6)+-parseInt(_0x349de6(0x152))/0x7+-parseInt(_0x349de6(0x1b1))/0x8*(-parseInt(_0x349de6(0x1ab))/0x9);if(_0x231522===_0x4a35e5)break;else _0x59f0e['push'](_0x59f0e['shift']());}catch(_0xbe2a2){_0x59f0e['push'](_0x59f0e['shift']());}}}(_0x5551,0xb63ec));import{Plugin as _0x35b850}from'ckeditor5/src/core.js';import{version as _0x172331}from'ckeditor5/src/utils.js';function _0x5551(){const _0x1d2355=['size','_fetchMissingUsers','_getLatestVersionFromServerOperations','_createCurrentRevision','toVersion','10zGDiPz','max','isConnected','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isBundleUploaded','CONNECTED','revisionsUpdated','catch','sendBufferedUpdates','_handleRevisionsUpdate','remove','reverse','cloud-services-internal-error:\x20Not\x20connected.','data','_revisions','marker','diffData','authorsIds','connected','RevisionTracker','getUser','config','baseVersion','_getLatestVersion','repository','bind','_preventResendingRevisionData','_startingVersion','RevisionHistoryService','setRevisionData','connect','setSource','_update','_oldOffset','createdAt','startsWith','creatorId','_bufferedUpdates','once','listenTo','requires','cloud-services-internal-error:\x20Request\x20timeout.','367685AgvOZs','off','14121oBpNNK','_handleReconnectionError','RevisionHistory','_isPendingUpdate','_isConnected','400','15880DhpibR','change:_isConnected','addUser','getRevision','CloudServicesRevisionHistoryAdapter','then','_offset','currentRevision','connection','reconnect','from','addToReconnectionStack','buildRevisionData','_revisionHistoryService','fromVersion','getMany','map','1161622JhVHfk','getOperations','adapter','5318005sYTyfj','collaboration.channelId','wrongRequestId','code','cloudServices.bundleVersion','get','getRevisions','has','length','message','1807914AokUol','2437892SNsiHE','type','destroy','editor','init','serverHistory','_revisionTracker','isOfficialPlugin','affectsData','authors','_waitForServiceReady','pluginName','_bufferUpdate','isEnabled','addRevisionData','sessionId','isPremiumPlugin','_revisionDataBuilder','change:_isPendingUpdate','plugins','state','_lastRequestId','updateRevisions','add','isEmptyCurrent','4164939yTnWdd','keys','_fixRevision','reInit'];_0x5551=function(){return _0x1d2355;};return _0x5551();}import{Users as _0x1382a2}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x58f7bf}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5125b9}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4d2843}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x16fb5c,RevisionHistoryService as _0x39dab2,User as _0x29b6a6,WEB_SOCKET_GATEWAY_STATES as _0x559934}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x35b850{static [_0x26303c(0x19b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x39dab2)());[_0x26303c(0x172)];[_0x26303c(0x163)];[_0x26303c(0x14b)];[_0x26303c(0x1a0)];static get[_0x26303c(0x1a7)](){const _0x51e007=_0x26303c;return[_0x5125b9,_0x58f7bf,_0x51e007(0x1ad),_0x4d2843,_0x1382a2];}static get[_0x26303c(0x168)](){const _0x50b9e4=_0x26303c;return _0x50b9e4(0x1b5);}static get[_0x26303c(0x164)](){return!0x0;}static get[_0x26303c(0x16d)](){return!0x0;}constructor(_0x43413a){const _0x33e736=_0x26303c;super(_0x43413a);const _0x12542f=this[_0x33e736(0x160)][_0x33e736(0x194)][_0x33e736(0x157)](_0x33e736(0x153));this[_0x33e736(0x172)]=null,this[_0x33e736(0x163)]=this[_0x33e736(0x160)][_0x33e736(0x170)][_0x33e736(0x157)](_0x33e736(0x192)),this[_0x33e736(0x14b)]=new c[(_0x33e736(0x19b))](_0x12542f);}async[_0x26303c(0x161)](){const _0x5276d2=_0x26303c,_0x1a1eb8=this[_0x5276d2(0x160)][_0x5276d2(0x170)][_0x5276d2(0x157)](_0x58f7bf),_0x6476b2=_0x1a1eb8[_0x5276d2(0x162)],_0x23fbe0=this[_0x5276d2(0x160)][_0x5276d2(0x170)][_0x5276d2(0x157)](_0x5125b9);this[_0x5276d2(0x163)][_0x5276d2(0x19e)]({'history':_0x6476b2,'getLatestVersion':()=>this[_0x5276d2(0x196)](),'getCurrentRevisionId':()=>_0x1a1eb8[_0x5276d2(0x16c)]});const _0x55b37e=this[_0x5276d2(0x160)][_0x5276d2(0x194)][_0x5276d2(0x157)](_0x5276d2(0x156))||_0x172331,_0x65b874=await _0x16fb5c[_0x5276d2(0x183)](_0x23fbe0[_0x5276d2(0x1b9)],_0x55b37e);this[_0x5276d2(0x160)][_0x5276d2(0x170)][_0x5276d2(0x157)](_0x5276d2(0x1ad))[_0x5276d2(0x151)]={'getRevision':async({revisionId:_0x11eb50})=>(await this[_0x5276d2(0x167)](),await this[_0x5276d2(0x14b)][_0x5276d2(0x1b4)](_0x11eb50)),'updateRevisions':async _0x1751f4=>{const _0x256410=_0x5276d2;await this[_0x256410(0x167)]();const _0x4a2ca0=this[_0x256410(0x163)][_0x256410(0x1b8)];if(_0x65b874&&0x1===_0x1751f4[_0x256410(0x15a)]&&_0x1751f4[0x0]['id']===_0x4a2ca0['id'])return _0x1751f4;for(const _0x294fcf of _0x1751f4)_0x294fcf['id']===_0x4a2ca0['id']&&(_0x294fcf[_0x256410(0x175)]=_0x294fcf[_0x256410(0x14c)]===_0x294fcf[_0x256410(0x17e)]);return this[_0x256410(0x14b)][_0x256410(0x173)](_0x1751f4,this[_0x256410(0x172)])[_0x256410(0x1b6)](_0x413769=>(this[_0x256410(0x172)]=_0x413769,_0x1751f4))[_0x256410(0x186)](_0x2200bb=>{const _0x46fcf5=_0x256410;if(q(_0x2200bb)||_0x46fcf5(0x1b0)===_0x2200bb[_0x46fcf5(0x155)]&&void 0x0!==_0x2200bb[_0x46fcf5(0x18c)][_0x46fcf5(0x154)]){for(const _0x50ed25 of _0x1751f4){!this[_0x46fcf5(0x163)][_0x46fcf5(0x197)][_0x46fcf5(0x1b4)](_0x50ed25['id'])||this[_0x46fcf5(0x163)][_0x46fcf5(0x169)](_0x50ed25['id'],_0x50ed25,!0x1);}if(q(_0x2200bb))throw _0x2200bb;return _0x1751f4;}throw _0x2200bb;});}},this[_0x5276d2(0x1a6)](this[_0x5276d2(0x14b)],_0x5276d2(0x185),(_0x515229,{revisionsData:_0x40e22c,requestId:_0x3b2f34})=>{const _0xbc9554=_0x5276d2;Math[_0xbc9554(0x180)](..._0x40e22c[_0xbc9554(0x14e)](_0x5a6f01=>_0x5a6f01[_0xbc9554(0x17e)]))>this[_0xbc9554(0x17c)]()-0x1?this[_0xbc9554(0x196)]()[_0xbc9554(0x1b6)](()=>{const _0xa9847a=_0xbc9554;this[_0xa9847a(0x188)](_0x40e22c,_0x3b2f34);}):this[_0xbc9554(0x188)](_0x40e22c,_0x3b2f34);});const {revisions:_0x57809,requestId:_0x490940}=await this[_0x5276d2(0x14b)][_0x5276d2(0x19d)](_0x23fbe0[_0x5276d2(0x1b9)]);_0x23fbe0[_0x5276d2(0x1bc)](this),this[_0x5276d2(0x172)]=_0x490940,await this[_0x5276d2(0x17b)](_0x57809);for(const _0x1c3528 of _0x57809)this[_0x5276d2(0x163)][_0x5276d2(0x16b)](_0x1c3528);this[_0x5276d2(0x1a6)](_0x1a1eb8,_0x5276d2(0x1b2),(_0x3bcaa9,_0x23c4fc,_0x445dfe)=>{const _0xc9cc16=_0x5276d2;_0x445dfe&&(this[_0xc9cc16(0x1a0)]=_0x1a1eb8[_0xc9cc16(0x1b7)],_0x3bcaa9[_0xc9cc16(0x1aa)]());}),this[_0x5276d2(0x163)][_0x5276d2(0x198)](_0x5276d2(0x16a))['to'](_0x23fbe0,_0x5276d2(0x171),_0x5b9425=>_0x5b9425===_0x559934[_0x5276d2(0x184)]);}async[_0x26303c(0x1ba)](){const _0x501a3d=_0x26303c,_0x416f4c=this[_0x501a3d(0x160)][_0x501a3d(0x170)][_0x501a3d(0x157)](_0x5125b9),_0x1cc9ca=this[_0x501a3d(0x160)][_0x501a3d(0x170)][_0x501a3d(0x157)](_0x58f7bf),_0x301fa2=async()=>{const _0x23a482=_0x501a3d,_0x36b32d=this[_0x23a482(0x163)][_0x23a482(0x1b8)],_0x139cd0=_0x36b32d['id'],_0x2cb494=_0x139cd0!==_0x1cc9ca[_0x23a482(0x16c)];if(_0x2cb494){const _0x3e33fa=_0x1cc9ca[_0x23a482(0x1b7)]-this[_0x23a482(0x1a0)],_0x4131b9=this[_0x23a482(0x17c)]();this[_0x23a482(0x163)][_0x23a482(0x16e)][_0x23a482(0x179)]();if(_0x36b32d[_0x23a482(0x17e)]+_0x3e33fa!==_0x4131b9){const _0x51cea3=_0x36b32d[_0x23a482(0x14c)]+_0x3e33fa,_0x58d46c=this[_0x23a482(0x160)][_0x23a482(0x170)][_0x23a482(0x157)](_0x1382a2),_0x79a8=this[_0x23a482(0x163)][_0x23a482(0x1bd)]({'revision':_0x36b32d,'from':_0x51cea3,'to':_0x4131b9});_0x79a8['id']=_0x36b32d['id'];const _0x4bd2dc=_0x79a8[_0x23a482(0x190)][_0x23a482(0x14e)](_0x467023=>_0x58d46c[_0x23a482(0x193)](_0x467023));_0x36b32d[_0x23a482(0x19f)]({..._0x79a8,'authors':_0x4bd2dc},!0x0),this[_0x23a482(0x163)][_0x23a482(0x169)](_0x36b32d['id'],_0x79a8,!0x0);}this[_0x23a482(0x163)][_0x23a482(0x19a)]=_0x4131b9,(_0x36b32d[_0x23a482(0x17e)]===_0x36b32d[_0x23a482(0x14c)]&&!this[_0x23a482(0x163)][_0x23a482(0x1a4)][_0x23a482(0x159)](_0x139cd0)&&this[_0x23a482(0x163)][_0x23a482(0x197)][_0x23a482(0x18d)][_0x23a482(0x189)](_0x139cd0),this[_0x23a482(0x163)][_0x23a482(0x17d)](_0x4131b9));}const {revisions:_0x4228d6,requestId:_0x105ee6}=await this[_0x23a482(0x14b)][_0x23a482(0x1ba)](_0x416f4c[_0x23a482(0x1b9)],this[_0x23a482(0x172)]);_0x2cb494&&_0x4228d6[_0x23a482(0x15a)]>0x0?_0x1cc9ca[_0x23a482(0x1ac)]():(await this[_0x23a482(0x17b)](_0x4228d6),this[_0x23a482(0x188)](_0x4228d6,_0x105ee6),this[_0x23a482(0x163)][_0x23a482(0x187)]());};return _0x1cc9ca[_0x501a3d(0x1af)]?_0x301fa2():new Promise((_0x58f42d,_0x4c6a9c)=>{const _0x3720d8=_0x501a3d;_0x1cc9ca[_0x3720d8(0x1a5)](_0x3720d8(0x1b2),()=>{const _0x1b0c87=_0x3720d8;_0x301fa2()[_0x1b0c87(0x1b6)](_0x58f42d)[_0x1b0c87(0x186)](_0x4c6a9c);});});}[_0x26303c(0x15f)](){const _0x597225=_0x26303c;super[_0x597225(0x15f)]();}async[_0x26303c(0x167)](){const _0x5e768a=_0x26303c;this[_0x5e768a(0x14b)][_0x5e768a(0x181)]||await new Promise(_0xe27eac=>{const _0x4d3a49=_0x5e768a;this[_0x4d3a49(0x1a6)](this[_0x4d3a49(0x14b)],_0x4d3a49(0x191),_0x4509e9=>{const _0x3399a5=_0x4d3a49;_0x4509e9[_0x3399a5(0x1aa)](),_0xe27eac();});});}[_0x26303c(0x17c)](){const _0x5e2d4d=_0x26303c,_0x395a8f=this[_0x5e2d4d(0x160)][_0x5e2d4d(0x170)][_0x5e2d4d(0x157)](_0x58f7bf)[_0x5e2d4d(0x162)][_0x5e2d4d(0x150)]()[_0x5e2d4d(0x18a)]();for(const _0x522373 of _0x395a8f)if(_0x5e2d4d(0x18e)!==_0x522373[_0x5e2d4d(0x15e)]||_0x522373[_0x5e2d4d(0x165)])return _0x522373[_0x5e2d4d(0x195)]+0x1;}[_0x26303c(0x196)](){const _0x41846e=_0x26303c,_0x217ff3=this[_0x41846e(0x160)][_0x41846e(0x170)][_0x41846e(0x157)](_0x58f7bf);return new Promise(_0x34bb40=>{const _0x48129c=_0x41846e;_0x217ff3[_0x48129c(0x1ae)]?_0x217ff3[_0x48129c(0x1a5)](_0x48129c(0x16f),()=>{const _0x35607c=_0x48129c;_0x34bb40(this[_0x35607c(0x17c)]());}):_0x34bb40(this[_0x48129c(0x17c)]());});}[_0x26303c(0x188)](_0x474f3d,_0x5363dc){const _0x2f6c9f=_0x26303c,_0x883814=this[_0x2f6c9f(0x163)][_0x2f6c9f(0x197)];this[_0x2f6c9f(0x172)]=_0x5363dc;for(const _0x32175a of _0x474f3d){const _0x42d587=_0x883814[_0x2f6c9f(0x1b4)](_0x32175a['id']);if(_0x42d587){if((_0x32175a[_0x2f6c9f(0x14c)]||_0x32175a[_0x2f6c9f(0x17e)])&&(_0x32175a[_0x2f6c9f(0x18f)]=null),_0x42d587===this[_0x2f6c9f(0x163)][_0x2f6c9f(0x1b8)]){const _0x33b5ec=Math[_0x2f6c9f(0x180)](_0x42d587[_0x2f6c9f(0x17e)],_0x32175a[_0x2f6c9f(0x17e)]),_0x30d0ac=Math[_0x2f6c9f(0x180)](_0x42d587[_0x2f6c9f(0x14c)],_0x32175a[_0x2f6c9f(0x14c)]);let _0x380aa1;_0x42d587[_0x2f6c9f(0x17e)]===_0x32175a[_0x2f6c9f(0x17e)]&&_0x42d587[_0x2f6c9f(0x14c)]===_0x32175a[_0x2f6c9f(0x14c)]?(_0x380aa1=!0x0,this[_0x2f6c9f(0x199)](_0x32175a)):_0x32175a[_0x2f6c9f(0x17e)]===_0x33b5ec&&_0x32175a[_0x2f6c9f(0x14c)]===_0x30d0ac?_0x380aa1=!0x1:(_0x42d587[_0x2f6c9f(0x17e)]===_0x33b5ec&&_0x42d587[_0x2f6c9f(0x14c)]===_0x30d0ac||this[_0x2f6c9f(0x178)]({'revision':_0x42d587,'from':_0x30d0ac,'to':_0x33b5ec}),_0x380aa1=!0x0),_0x380aa1&&(delete _0x32175a[_0x2f6c9f(0x14c)],delete _0x32175a[_0x2f6c9f(0x17e)],delete _0x32175a[_0x2f6c9f(0x18f)],delete _0x32175a[_0x2f6c9f(0x1a1)],delete _0x32175a[_0x2f6c9f(0x190)]);}this[_0x2f6c9f(0x163)][_0x2f6c9f(0x19c)](_0x32175a),this[_0x2f6c9f(0x199)](_0x32175a);}else this[_0x2f6c9f(0x163)][_0x2f6c9f(0x16b)](_0x32175a);}const _0x48c7fc=_0x883814[_0x2f6c9f(0x158)]();_0x48c7fc[_0x2f6c9f(0x18a)]();for(let _0x48ed86=0x0;_0x48ed86<_0x48c7fc[_0x2f6c9f(0x15a)]-0x1;_0x48ed86++){const _0x4fd348=_0x48c7fc[_0x48ed86],_0x2e44cd=_0x48c7fc[_0x48ed86+0x1];if(_0x4fd348[_0x2f6c9f(0x14c)]<_0x2e44cd[_0x2f6c9f(0x17e)]){const _0x3d23f9=_0x2e44cd[_0x2f6c9f(0x17e)],_0x12d29c=Math[_0x2f6c9f(0x180)](_0x3d23f9,_0x4fd348[_0x2f6c9f(0x17e)]);this[_0x2f6c9f(0x178)]({'revision':_0x4fd348,'from':_0x3d23f9,'to':_0x12d29c});}}}[_0x26303c(0x178)]({revision:_0x3a1d1b,from:_0x53137b,to:_0x843d1}={}){const _0x3ab9ff=_0x26303c,_0x503cd2=this[_0x3ab9ff(0x160)][_0x3ab9ff(0x170)][_0x3ab9ff(0x157)](_0x1382a2),_0xeb360d=this[_0x3ab9ff(0x163)][_0x3ab9ff(0x1bd)]({'revision':_0x3a1d1b,'from':_0x53137b,'to':_0x843d1});_0xeb360d[_0x3ab9ff(0x166)]=_0xeb360d[_0x3ab9ff(0x190)][_0x3ab9ff(0x14e)](_0x13c207=>_0x503cd2[_0x3ab9ff(0x193)](_0x13c207)),_0x3a1d1b[_0x3ab9ff(0x19f)](_0xeb360d);}[_0x26303c(0x199)](_0x5cf656){const _0x4a2f4f=_0x26303c,_0x3af78a={};_0x3af78a['id']=_0x5cf656['id'];for(const _0x2a0e90 of Object[_0x4a2f4f(0x177)](_0x5cf656))'id'!==_0x2a0e90&&(_0x3af78a[_0x2a0e90]=void 0x0);this[_0x4a2f4f(0x163)][_0x4a2f4f(0x169)](_0x3af78a['id'],_0x3af78a,!0x0);}async[_0x26303c(0x17b)](_0x5c76db){const _0x416ec4=_0x26303c,_0x198f9c=this[_0x416ec4(0x160)][_0x416ec4(0x170)][_0x416ec4(0x157)](_0x1382a2),{connection:_0x129794}=this[_0x416ec4(0x160)][_0x416ec4(0x170)][_0x416ec4(0x157)](_0x5125b9),_0x1aacdd=new Set();for(const _0x1dccb6 of _0x5c76db){for(const _0x30da8b of _0x1dccb6[_0x416ec4(0x190)])_0x3cd498(_0x30da8b);_0x1dccb6[_0x416ec4(0x1a3)]&&_0x3cd498(_0x1dccb6[_0x416ec4(0x1a3)]);}if(0x0===_0x1aacdd[_0x416ec4(0x17a)])return;const _0x1d1653=await _0x29b6a6[_0x416ec4(0x14d)](_0x129794,Array[_0x416ec4(0x1bb)](_0x1aacdd));for(const _0x52c0d3 of _0x1d1653)_0x198f9c[_0x416ec4(0x193)](_0x52c0d3['id'])||_0x198f9c[_0x416ec4(0x1b3)](_0x52c0d3);function _0x3cd498(_0xd7a5c9){const _0x5a180d=_0x416ec4;_0x198f9c[_0x5a180d(0x193)](_0xd7a5c9)||_0x1aacdd[_0x5a180d(0x174)](_0xd7a5c9);}}}function _0x47d8(_0x4031cd,_0xdac22a){const _0x5551cb=_0x5551();return _0x47d8=function(_0x47d824,_0x4a1ef7){_0x47d824=_0x47d824-0x14b;let _0x111784=_0x5551cb[_0x47d824];return _0x111784;},_0x47d8(_0x4031cd,_0xdac22a);}export{c as CloudServicesRevisionHistoryAdapter};function q(_0x2be08a){const _0x7fea0=_0x26303c;return _0x2be08a[_0x7fea0(0x15b)][_0x7fea0(0x1a2)](_0x7fea0(0x182))||_0x2be08a[_0x7fea0(0x15b)][_0x7fea0(0x1a2)](_0x7fea0(0x18b))||_0x2be08a[_0x7fea0(0x15b)][_0x7fea0(0x1a2)](_0x7fea0(0x1a8));}
23
+ const _0x2121ec=_0x24a7;(function(_0xc68c11,_0x1d3486){const _0x2ba453=_0x24a7,_0x35a3c1=_0xc68c11();while(!![]){try{const _0x499361=-parseInt(_0x2ba453(0x18a))/0x1*(-parseInt(_0x2ba453(0x16c))/0x2)+-parseInt(_0x2ba453(0x199))/0x3*(parseInt(_0x2ba453(0x13e))/0x4)+parseInt(_0x2ba453(0x15a))/0x5*(-parseInt(_0x2ba453(0x15f))/0x6)+-parseInt(_0x2ba453(0x14a))/0x7*(-parseInt(_0x2ba453(0x173))/0x8)+parseInt(_0x2ba453(0x161))/0x9*(parseInt(_0x2ba453(0x190))/0xa)+parseInt(_0x2ba453(0x181))/0xb*(-parseInt(_0x2ba453(0x184))/0xc)+parseInt(_0x2ba453(0x14c))/0xd;if(_0x499361===_0x1d3486)break;else _0x35a3c1['push'](_0x35a3c1['shift']());}catch(_0x2051f0){_0x35a3c1['push'](_0x35a3c1['shift']());}}}(_0x17a0,0xccb64));import{Plugin as _0x3ffb27}from'ckeditor5/src/core.js';import{version as _0x16ab8d}from'ckeditor5/src/utils.js';import{Users as _0x27f1b3}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x472958}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5d29d2}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5742e0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4d3e3b,RevisionHistoryService as _0x10b045,User as _0x84f8a0,WEB_SOCKET_GATEWAY_STATES as _0x2e05e1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x17a0(){const _0x1ac0ad=['_bufferedUpdates','remove','toVersion','_offset','editor','_revisionDataBuilder','buildRevisionData','off','getMany','_preventResendingRevisionData','RevisionTracker','connected','addToReconnectionStack','message','CloudServicesRevisionHistoryAdapter','isOfficialPlugin','setSource','_handleReconnectionError','cloudServices.bundleVersion','diffData','_revisionHistoryService','_oldOffset','destroy','currentRevision','getOperations','state','9844qgiTmk','add','_update','reconnect','getUser','change:_isConnected','sessionId','_waitForServiceReady','getRevisions','_startingVersion','400','addRevisionData','7zVxOSR','_fetchMissingUsers','42871491qDbsfl','code','get','baseVersion','cloud-services-internal-error:\x20Request\x20timeout.','updateRevisions','setRevisionData','max','fromVersion','affectsData','isEmptyCurrent','requires','catch','type','5pkRPvR','keys','cloud-services-internal-error:\x20Not\x20connected.','then','repository','9271458ZROhwF','reInit','7985619uQiNWm','listenTo','_revisions','addUser','change:_isPendingUpdate','adapter','plugins','serverHistory','_createCurrentRevision','isPremiumPlugin','connect','2FTRdqk','bind','_isPendingUpdate','sendBufferedUpdates','has','connection','from','1522168QLPNUw','isEnabled','startsWith','authors','isConnected','pluginName','isBundleUploaded','marker','_lastRequestId','_revisionTracker','_isConnected','config','RevisionHistoryService','init','255321QxeeLo','length','createdAt','324PNHEab','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_getLatestVersion','_getLatestVersionFromServerOperations','wrongRequestId','_fixRevision','168274wyZpgN','creatorId','authorsIds','_handleRevisionsUpdate','getRevision','revisionsUpdated','10bCWumA','size','once','collaboration.channelId','data','reverse','map','RevisionHistory','CONNECTED','1869gXyvms','_bufferUpdate'];_0x17a0=function(){return _0x1ac0ad;};return _0x17a0();}class c extends _0x3ffb27{static [_0x2121ec(0x17f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x10b045)());[_0x2121ec(0x17b)];[_0x2121ec(0x17c)];[_0x2121ec(0x138)];[_0x2121ec(0x139)];static get[_0x2121ec(0x157)](){const _0x3e00e3=_0x2121ec;return[_0x5d29d2,_0x472958,_0x3e00e3(0x197),_0x5742e0,_0x27f1b3];}static get[_0x2121ec(0x178)](){const _0x9b0081=_0x2121ec;return _0x9b0081(0x132);}static get[_0x2121ec(0x133)](){return!0x0;}static get[_0x2121ec(0x16a)](){return!0x0;}constructor(_0xe7d399){const _0x4c7716=_0x2121ec;super(_0xe7d399);const _0x5c1bcc=this[_0x4c7716(0x128)][_0x4c7716(0x17e)][_0x4c7716(0x14e)](_0x4c7716(0x193));this[_0x4c7716(0x17b)]=null,this[_0x4c7716(0x17c)]=this[_0x4c7716(0x128)][_0x4c7716(0x167)][_0x4c7716(0x14e)](_0x4c7716(0x12e)),this[_0x4c7716(0x138)]=new c[(_0x4c7716(0x17f))](_0x5c1bcc);}async[_0x2121ec(0x180)](){const _0x496ea8=_0x2121ec,_0x119ad4=this[_0x496ea8(0x128)][_0x496ea8(0x167)][_0x496ea8(0x14e)](_0x472958),_0x564ed0=_0x119ad4[_0x496ea8(0x168)],_0x10e22d=this[_0x496ea8(0x128)][_0x496ea8(0x167)][_0x496ea8(0x14e)](_0x5d29d2);this[_0x496ea8(0x17c)][_0x496ea8(0x134)]({'history':_0x564ed0,'getLatestVersion':()=>this[_0x496ea8(0x186)](),'getCurrentRevisionId':()=>_0x119ad4[_0x496ea8(0x144)]});const _0x375e0a=this[_0x496ea8(0x128)][_0x496ea8(0x17e)][_0x496ea8(0x14e)](_0x496ea8(0x136))||_0x16ab8d,_0x2ca224=await _0x4d3e3b[_0x496ea8(0x179)](_0x10e22d[_0x496ea8(0x171)],_0x375e0a);this[_0x496ea8(0x128)][_0x496ea8(0x167)][_0x496ea8(0x14e)](_0x496ea8(0x197))[_0x496ea8(0x166)]={'getRevision':async({revisionId:_0x107332})=>(await this[_0x496ea8(0x145)](),await this[_0x496ea8(0x138)][_0x496ea8(0x18e)](_0x107332)),'updateRevisions':async _0x841bef=>{const _0x4ecc41=_0x496ea8;await this[_0x4ecc41(0x145)]();const _0x413313=this[_0x4ecc41(0x17c)][_0x4ecc41(0x13b)];if(_0x2ca224&&0x1===_0x841bef[_0x4ecc41(0x182)]&&_0x841bef[0x0]['id']===_0x413313['id'])return _0x841bef;for(const _0x1bb364 of _0x841bef)_0x1bb364['id']===_0x413313['id']&&(_0x1bb364[_0x4ecc41(0x156)]=_0x1bb364[_0x4ecc41(0x154)]===_0x1bb364[_0x4ecc41(0x19d)]);return this[_0x4ecc41(0x138)][_0x4ecc41(0x151)](_0x841bef,this[_0x4ecc41(0x17b)])[_0x4ecc41(0x15d)](_0x2e6604=>(this[_0x4ecc41(0x17b)]=_0x2e6604,_0x841bef))[_0x4ecc41(0x158)](_0x3ca088=>{const _0x39970e=_0x4ecc41;if(P(_0x3ca088)||_0x39970e(0x148)===_0x3ca088[_0x39970e(0x14d)]&&void 0x0!==_0x3ca088[_0x39970e(0x194)][_0x39970e(0x188)]){for(const _0x4cac81 of _0x841bef){!this[_0x39970e(0x17c)][_0x39970e(0x15e)][_0x39970e(0x18e)](_0x4cac81['id'])||this[_0x39970e(0x17c)][_0x39970e(0x19a)](_0x4cac81['id'],_0x4cac81,!0x1);}if(P(_0x3ca088))throw _0x3ca088;return _0x841bef;}throw _0x3ca088;});}},this[_0x496ea8(0x162)](this[_0x496ea8(0x138)],_0x496ea8(0x18f),(_0x2be5b7,{revisionsData:_0x4d1117,requestId:_0x241d29})=>{const _0x1f511c=_0x496ea8;Math[_0x1f511c(0x153)](..._0x4d1117[_0x1f511c(0x196)](_0x1b54e3=>_0x1b54e3[_0x1f511c(0x19d)]))>this[_0x1f511c(0x187)]()-0x1?this[_0x1f511c(0x186)]()[_0x1f511c(0x15d)](()=>{const _0x34c3e2=_0x1f511c;this[_0x34c3e2(0x18d)](_0x4d1117,_0x241d29);}):this[_0x1f511c(0x18d)](_0x4d1117,_0x241d29);});const {revisions:_0x29d38e,requestId:_0xbbd071}=await this[_0x496ea8(0x138)][_0x496ea8(0x16b)](_0x10e22d[_0x496ea8(0x171)]);_0x10e22d[_0x496ea8(0x130)](this),this[_0x496ea8(0x17b)]=_0xbbd071,await this[_0x496ea8(0x14b)](_0x29d38e);for(const _0x14ec25 of _0x29d38e)this[_0x496ea8(0x17c)][_0x496ea8(0x149)](_0x14ec25);this[_0x496ea8(0x162)](_0x119ad4,_0x496ea8(0x143),(_0x14a6a4,_0xa0abec,_0x348738)=>{const _0x2da226=_0x496ea8;_0x348738&&(this[_0x2da226(0x139)]=_0x119ad4[_0x2da226(0x127)],_0x14a6a4[_0x2da226(0x12b)]());}),this[_0x496ea8(0x17c)][_0x496ea8(0x16d)](_0x496ea8(0x174))['to'](_0x10e22d,_0x496ea8(0x13d),_0x444c34=>_0x444c34===_0x2e05e1[_0x496ea8(0x198)]);}async[_0x2121ec(0x141)](){const _0x5126b8=_0x2121ec,_0x470785=this[_0x5126b8(0x128)][_0x5126b8(0x167)][_0x5126b8(0x14e)](_0x5d29d2),_0x57dffa=this[_0x5126b8(0x128)][_0x5126b8(0x167)][_0x5126b8(0x14e)](_0x472958),_0x560a0f=async()=>{const _0xeea313=_0x5126b8,_0x4c4912=this[_0xeea313(0x17c)][_0xeea313(0x13b)],_0x4b3f45=_0x4c4912['id'],_0x494b79=_0x4b3f45!==_0x57dffa[_0xeea313(0x144)];if(_0x494b79){const _0x32feee=_0x57dffa[_0xeea313(0x127)]-this[_0xeea313(0x139)],_0x2aef23=this[_0xeea313(0x187)]();this[_0xeea313(0x17c)][_0xeea313(0x129)][_0xeea313(0x160)]();if(_0x4c4912[_0xeea313(0x19d)]+_0x32feee!==_0x2aef23){const _0x475570=_0x4c4912[_0xeea313(0x154)]+_0x32feee,_0x57a11a=this[_0xeea313(0x128)][_0xeea313(0x167)][_0xeea313(0x14e)](_0x27f1b3),_0xe74098=this[_0xeea313(0x17c)][_0xeea313(0x12a)]({'revision':_0x4c4912,'from':_0x475570,'to':_0x2aef23});_0xe74098['id']=_0x4c4912['id'];const _0x2bb8ce=_0xe74098[_0xeea313(0x18c)][_0xeea313(0x196)](_0x523f27=>_0x57a11a[_0xeea313(0x142)](_0x523f27));_0x4c4912[_0xeea313(0x140)]({..._0xe74098,'authors':_0x2bb8ce},!0x0),this[_0xeea313(0x17c)][_0xeea313(0x19a)](_0x4c4912['id'],_0xe74098,!0x0);}this[_0xeea313(0x17c)][_0xeea313(0x147)]=_0x2aef23,(_0x4c4912[_0xeea313(0x19d)]===_0x4c4912[_0xeea313(0x154)]&&!this[_0xeea313(0x17c)][_0xeea313(0x19b)][_0xeea313(0x170)](_0x4b3f45)&&this[_0xeea313(0x17c)][_0xeea313(0x15e)][_0xeea313(0x163)][_0xeea313(0x19c)](_0x4b3f45),this[_0xeea313(0x17c)][_0xeea313(0x169)](_0x2aef23));}const {revisions:_0x3c97d0,requestId:_0x262ab6}=await this[_0xeea313(0x138)][_0xeea313(0x141)](_0x470785[_0xeea313(0x171)],this[_0xeea313(0x17b)]);_0x494b79&&_0x3c97d0[_0xeea313(0x182)]>0x0?_0x57dffa[_0xeea313(0x135)]():(await this[_0xeea313(0x14b)](_0x3c97d0),this[_0xeea313(0x18d)](_0x3c97d0,_0x262ab6),this[_0xeea313(0x17c)][_0xeea313(0x16f)]());};return _0x57dffa[_0x5126b8(0x17d)]?_0x560a0f():new Promise((_0x301bac,_0xa94fcf)=>{const _0x27721a=_0x5126b8;_0x57dffa[_0x27721a(0x192)](_0x27721a(0x143),()=>{const _0x2822b9=_0x27721a;_0x560a0f()[_0x2822b9(0x15d)](_0x301bac)[_0x2822b9(0x158)](_0xa94fcf);});});}[_0x2121ec(0x13a)](){const _0x14c89c=_0x2121ec;super[_0x14c89c(0x13a)]();}async[_0x2121ec(0x145)](){const _0x1b348d=_0x2121ec;this[_0x1b348d(0x138)][_0x1b348d(0x177)]||await new Promise(_0x57c681=>{const _0x31d348=_0x1b348d;this[_0x31d348(0x162)](this[_0x31d348(0x138)],_0x31d348(0x12f),_0x459702=>{const _0x577a53=_0x31d348;_0x459702[_0x577a53(0x12b)](),_0x57c681();});});}[_0x2121ec(0x187)](){const _0x534177=_0x2121ec,_0x1b5002=this[_0x534177(0x128)][_0x534177(0x167)][_0x534177(0x14e)](_0x472958)[_0x534177(0x168)][_0x534177(0x13c)]()[_0x534177(0x195)]();for(const _0x380701 of _0x1b5002)if(_0x534177(0x17a)!==_0x380701[_0x534177(0x159)]||_0x380701[_0x534177(0x155)])return _0x380701[_0x534177(0x14f)]+0x1;}[_0x2121ec(0x186)](){const _0x58101a=_0x2121ec,_0x4f54dc=this[_0x58101a(0x128)][_0x58101a(0x167)][_0x58101a(0x14e)](_0x472958);return new Promise(_0x255bbe=>{const _0x360131=_0x58101a;_0x4f54dc[_0x360131(0x16e)]?_0x4f54dc[_0x360131(0x192)](_0x360131(0x165),()=>{const _0x7ff6b9=_0x360131;_0x255bbe(this[_0x7ff6b9(0x187)]());}):_0x255bbe(this[_0x360131(0x187)]());});}[_0x2121ec(0x18d)](_0x50a669,_0x42b632){const _0x52c1bd=_0x2121ec,_0x1df1cc=this[_0x52c1bd(0x17c)][_0x52c1bd(0x15e)];this[_0x52c1bd(0x17b)]=_0x42b632;for(const _0x494cdc of _0x50a669){const _0x534303=_0x1df1cc[_0x52c1bd(0x18e)](_0x494cdc['id']);if(_0x534303){if((_0x494cdc[_0x52c1bd(0x154)]||_0x494cdc[_0x52c1bd(0x19d)])&&(_0x494cdc[_0x52c1bd(0x137)]=null),_0x534303===this[_0x52c1bd(0x17c)][_0x52c1bd(0x13b)]){const _0x4686f8=Math[_0x52c1bd(0x153)](_0x534303[_0x52c1bd(0x19d)],_0x494cdc[_0x52c1bd(0x19d)]),_0x1ac89a=Math[_0x52c1bd(0x153)](_0x534303[_0x52c1bd(0x154)],_0x494cdc[_0x52c1bd(0x154)]);let _0x205702;_0x534303[_0x52c1bd(0x19d)]===_0x494cdc[_0x52c1bd(0x19d)]&&_0x534303[_0x52c1bd(0x154)]===_0x494cdc[_0x52c1bd(0x154)]?(_0x205702=!0x0,this[_0x52c1bd(0x12d)](_0x494cdc)):_0x494cdc[_0x52c1bd(0x19d)]===_0x4686f8&&_0x494cdc[_0x52c1bd(0x154)]===_0x1ac89a?_0x205702=!0x1:(_0x534303[_0x52c1bd(0x19d)]===_0x4686f8&&_0x534303[_0x52c1bd(0x154)]===_0x1ac89a||this[_0x52c1bd(0x189)]({'revision':_0x534303,'from':_0x1ac89a,'to':_0x4686f8}),_0x205702=!0x0),_0x205702&&(delete _0x494cdc[_0x52c1bd(0x154)],delete _0x494cdc[_0x52c1bd(0x19d)],delete _0x494cdc[_0x52c1bd(0x137)],delete _0x494cdc[_0x52c1bd(0x183)],delete _0x494cdc[_0x52c1bd(0x18c)]);}this[_0x52c1bd(0x17c)][_0x52c1bd(0x152)](_0x494cdc),this[_0x52c1bd(0x12d)](_0x494cdc);}else this[_0x52c1bd(0x17c)][_0x52c1bd(0x149)](_0x494cdc);}const _0x516101=_0x1df1cc[_0x52c1bd(0x146)]();_0x516101[_0x52c1bd(0x195)]();for(let _0x7f35fc=0x0;_0x7f35fc<_0x516101[_0x52c1bd(0x182)]-0x1;_0x7f35fc++){const _0x55dbe0=_0x516101[_0x7f35fc],_0xd98787=_0x516101[_0x7f35fc+0x1];if(_0x55dbe0[_0x52c1bd(0x154)]<_0xd98787[_0x52c1bd(0x19d)]){const _0x29d39b=_0xd98787[_0x52c1bd(0x19d)],_0x575ef9=Math[_0x52c1bd(0x153)](_0x29d39b,_0x55dbe0[_0x52c1bd(0x19d)]);this[_0x52c1bd(0x189)]({'revision':_0x55dbe0,'from':_0x29d39b,'to':_0x575ef9});}}}[_0x2121ec(0x189)]({revision:_0x110686,from:_0x521647,to:_0x3dc6ac}={}){const _0x93dca8=_0x2121ec,_0x34f236=this[_0x93dca8(0x128)][_0x93dca8(0x167)][_0x93dca8(0x14e)](_0x27f1b3),_0x428f9a=this[_0x93dca8(0x17c)][_0x93dca8(0x12a)]({'revision':_0x110686,'from':_0x521647,'to':_0x3dc6ac});_0x428f9a[_0x93dca8(0x176)]=_0x428f9a[_0x93dca8(0x18c)][_0x93dca8(0x196)](_0x107033=>_0x34f236[_0x93dca8(0x142)](_0x107033)),_0x110686[_0x93dca8(0x140)](_0x428f9a);}[_0x2121ec(0x12d)](_0x5113be){const _0x54afde=_0x2121ec,_0x562c0e={};_0x562c0e['id']=_0x5113be['id'];for(const _0x10042a of Object[_0x54afde(0x15b)](_0x5113be))'id'!==_0x10042a&&(_0x562c0e[_0x10042a]=void 0x0);this[_0x54afde(0x17c)][_0x54afde(0x19a)](_0x562c0e['id'],_0x562c0e,!0x0);}async[_0x2121ec(0x14b)](_0x399913){const _0x4456ff=_0x2121ec,_0x4638b0=this[_0x4456ff(0x128)][_0x4456ff(0x167)][_0x4456ff(0x14e)](_0x27f1b3),{connection:_0x12b2b6}=this[_0x4456ff(0x128)][_0x4456ff(0x167)][_0x4456ff(0x14e)](_0x5d29d2),_0x4ce370=new Set();for(const _0xa1e8d1 of _0x399913){for(const _0x3367c4 of _0xa1e8d1[_0x4456ff(0x18c)])_0x235ae9(_0x3367c4);_0xa1e8d1[_0x4456ff(0x18b)]&&_0x235ae9(_0xa1e8d1[_0x4456ff(0x18b)]);}if(0x0===_0x4ce370[_0x4456ff(0x191)])return;const _0x4cde2c=await _0x84f8a0[_0x4456ff(0x12c)](_0x12b2b6,Array[_0x4456ff(0x172)](_0x4ce370));for(const _0x47324f of _0x4cde2c)_0x4638b0[_0x4456ff(0x142)](_0x47324f['id'])||_0x4638b0[_0x4456ff(0x164)](_0x47324f);function _0x235ae9(_0x1d6947){const _0x55f01a=_0x4456ff;_0x4638b0[_0x55f01a(0x142)](_0x1d6947)||_0x4ce370[_0x55f01a(0x13f)](_0x1d6947);}}}export{c as CloudServicesRevisionHistoryAdapter};function _0x24a7(_0x24b116,_0x53d6c6){const _0x17a011=_0x17a0();return _0x24a7=function(_0x24a7ee,_0x5f5588){_0x24a7ee=_0x24a7ee-0x127;let _0x195f46=_0x17a011[_0x24a7ee];return _0x195f46;},_0x24a7(_0x24b116,_0x53d6c6);}function P(_0x6b136b){const _0x555a63=_0x2121ec;return _0x6b136b[_0x555a63(0x131)][_0x555a63(0x175)](_0x555a63(0x185))||_0x6b136b[_0x555a63(0x131)][_0x555a63(0x175)](_0x555a63(0x15c))||_0x6b136b[_0x555a63(0x131)][_0x555a63(0x175)](_0x555a63(0x150));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3db6(_0x671f8e,_0x42e2ad){var _0x48e9d2=_0x48e9();return _0x3db6=function(_0x3db609,_0x37c5cd){_0x3db609=_0x3db609-0x1ae;var _0x242c8b=_0x48e9d2[_0x3db609];return _0x242c8b;},_0x3db6(_0x671f8e,_0x42e2ad);}function _0x48e9(){var _0x379959=['4837536ioNfzQ','69lzbYlr','RealTimeCollaborativeRevisionHistory','11030FNpcXd','2182135vHFsfm','1242988csvNrf','pluginName','232036RWkJpD','10667685fPPFyu','RevisionHistory','2oXvyvH','requires','9585CmQwbl','1994927emCFog','isPremiumPlugin','isOfficialPlugin','6fqOLWB'];_0x48e9=function(){return _0x379959;};return _0x48e9();}var _0xd3b0c5=_0x3db6;(function(_0x11c7b9,_0x32f3fd){var _0x262d98=_0x3db6,_0x219cf4=_0x11c7b9();while(!![]){try{var _0x42734b=parseInt(_0x262d98(0x1ae))/0x1*(-parseInt(_0x262d98(0x1b3))/0x2)+parseInt(_0x262d98(0x1bb))/0x3*(parseInt(_0x262d98(0x1b0))/0x4)+parseInt(_0x262d98(0x1be))/0x5*(-parseInt(_0x262d98(0x1b9))/0x6)+parseInt(_0x262d98(0x1b1))/0x7+parseInt(_0x262d98(0x1ba))/0x8+parseInt(_0x262d98(0x1b5))/0x9*(-parseInt(_0x262d98(0x1bd))/0xa)+parseInt(_0x262d98(0x1b6))/0xb;if(_0x42734b===_0x32f3fd)break;else _0x219cf4['push'](_0x219cf4['shift']());}catch(_0x1f7e5b){_0x219cf4['push'](_0x219cf4['shift']());}}}(_0x48e9,0xc0e55));import{Plugin as _0x103c06}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2ccd74}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x325f92}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x103c06{static get[_0xd3b0c5(0x1b4)](){var _0x33ea76=_0xd3b0c5;return[_0x33ea76(0x1b2),_0x2ccd74,_0x325f92];}static get[_0xd3b0c5(0x1af)](){var _0x2c7971=_0xd3b0c5;return _0x2c7971(0x1bc);}static get[_0xd3b0c5(0x1b8)](){return!0x0;}static get[_0xd3b0c5(0x1b7)](){return!0x0;}}
23
+ var _0x3cd8b0=_0x82b8;(function(_0x5bd915,_0x281624){var _0x2e6220=_0x82b8,_0x2a5da9=_0x5bd915();while(!![]){try{var _0x3d952a=parseInt(_0x2e6220(0x10b))/0x1*(parseInt(_0x2e6220(0x110))/0x2)+parseInt(_0x2e6220(0x10a))/0x3+-parseInt(_0x2e6220(0x111))/0x4+parseInt(_0x2e6220(0x116))/0x5+-parseInt(_0x2e6220(0x117))/0x6*(-parseInt(_0x2e6220(0x10c))/0x7)+-parseInt(_0x2e6220(0x10d))/0x8+parseInt(_0x2e6220(0x114))/0x9;if(_0x3d952a===_0x281624)break;else _0x2a5da9['push'](_0x2a5da9['shift']());}catch(_0x3ba15e){_0x2a5da9['push'](_0x2a5da9['shift']());}}}(_0x55f0,0x2941e));import{Plugin as _0x5bb01b}from'ckeditor5/src/core.js';function _0x82b8(_0x5d5b31,_0x5f2302){var _0x55f09c=_0x55f0();return _0x82b8=function(_0x82b87f,_0x172992){_0x82b87f=_0x82b87f-0x10a;var _0x442e4f=_0x55f09c[_0x82b87f];return _0x442e4f;},_0x82b8(_0x5d5b31,_0x5f2302);}import{CloudServicesRevisionHistoryAdapter as _0xfe0ad9}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x35334c}from'./realtimecollaborativeediting.js';function _0x55f0(){var _0x44ab86=['1335555VOUuzS','pluginName','674380YjTZIq','12ELTsBC','RealTimeCollaborativeRevisionHistory','41253ZteQmP','37445CTIxSt','101724HlnYQW','2498056zMxuAw','requires','isPremiumPlugin','10xdhtHr','128256ezkVBC','RevisionHistory','isOfficialPlugin'];_0x55f0=function(){return _0x44ab86;};return _0x55f0();}export class RealTimeCollaborativeRevisionHistory extends _0x5bb01b{static get[_0x3cd8b0(0x10e)](){var _0x46d76c=_0x3cd8b0;return[_0x46d76c(0x112),_0xfe0ad9,_0x35334c];}static get[_0x3cd8b0(0x115)](){var _0x5dff53=_0x3cd8b0;return _0x5dff53(0x118);}static get[_0x3cd8b0(0x113)](){return!0x0;}static get[_0x3cd8b0(0x10f)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfe61dd=_0x5377;function _0xe5ed(){const _0x45ed7d=['8664HlKUrX','_bufferedRequests','catch','14KIwxIi','289371vBlmAn','isOfficialPlugin','originalSuggestionId','size','config','editor','isPremiumPlugin','12EHYoeb','7423fkYxrG','pluginName','CloudServicesTrackChangesAdapter','connected','from','addSuggestionData','then','30VXNTxm','getMany','addToReconnectionStack','connect','state','6wSzcWX','TrackChangesService','reconnect','find','_waitForServiceReady','requires','getUser','addUser','plugins','342175bRJejE','suggestionUpdated','init','_saved','connection','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','1498MoqSmv','data','values','_trackChangesService','attributes','hasSuggestion','open','3055261voHwQq','getSuggestion','4nDOkdq','listenTo','type','off','adapter','add','cloud-services-internal-error:\x20Not\x20connected.','update','set','get','6125717ZNRgtx','_fetchMissingUsersForThreads','message','delete','isConnected','385209IFyIXq','20GVtNDf','TrackChangesEditing','startsWith'];_0xe5ed=function(){return _0x45ed7d;};return _0xe5ed();}(function(_0x2db035,_0x1bf7df){const _0x349356=_0x5377,_0x53ebc2=_0x2db035();while(!![]){try{const _0x4515f9=-parseInt(_0x349356(0x1ec))/0x1*(-parseInt(_0x349356(0x221))/0x2)+parseInt(_0x349356(0x1e4))/0x3*(parseInt(_0x349356(0x211))/0x4)+parseInt(_0x349356(0x201))/0x5*(-parseInt(_0x349356(0x1f8))/0x6)+-parseInt(_0x349356(0x208))/0x7*(parseInt(_0x349356(0x1e0))/0x8)+parseInt(_0x349356(0x220))/0x9*(parseInt(_0x349356(0x1f3))/0xa)+parseInt(_0x349356(0x20f))/0xb*(-parseInt(_0x349356(0x1eb))/0xc)+parseInt(_0x349356(0x21b))/0xd*(parseInt(_0x349356(0x1e3))/0xe);if(_0x4515f9===_0x1bf7df)break;else _0x53ebc2['push'](_0x53ebc2['shift']());}catch(_0x52631d){_0x53ebc2['push'](_0x53ebc2['shift']());}}}(_0xe5ed,0x2ef5f));import{Plugin as _0x35fda2}from'ckeditor5/src/core.js';import{User as _0x3dea37,TrackChangesService as _0x5efca1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x282535}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1fc70f}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5a0446}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x35fda2{static [_0xfe61dd(0x1f9)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5efca1)());[_0xfe61dd(0x1e1)];[_0xfe61dd(0x20b)];static get[_0xfe61dd(0x1fd)](){const _0x2c159f=_0xfe61dd;return[_0x1fc70f,_0x2c159f(0x222),_0x282535];}static get[_0xfe61dd(0x1ed)](){const _0x591809=_0xfe61dd;return _0x591809(0x1ee);}static get[_0xfe61dd(0x1e5)](){return!0x0;}static get[_0xfe61dd(0x1ea)](){return!0x0;}constructor(_0x2440e9){const _0x14853a=_0xfe61dd;super(_0x2440e9);const _0x23ec8a=this[_0x14853a(0x1e9)][_0x14853a(0x1e8)][_0x14853a(0x21a)](_0x14853a(0x206));this[_0x14853a(0x1e1)]=new Map(),this[_0x14853a(0x20b)]=new m[(_0x14853a(0x1f9))](_0x23ec8a);}[_0xfe61dd(0x203)](){const _0x3d7872=_0xfe61dd,_0x4a9252=this[_0x3d7872(0x1e9)][_0x3d7872(0x200)][_0x3d7872(0x21a)](_0x282535),_0x5f4f09=this[_0x3d7872(0x1e9)][_0x3d7872(0x200)][_0x3d7872(0x21a)](_0x3d7872(0x222));return _0x5f4f09[_0x3d7872(0x215)]={'getSuggestion':async _0x2ce2cc=>{const _0x4b546d=_0x3d7872;await this[_0x4b546d(0x1fc)]();const _0x572229=await this[_0x4b546d(0x20b)][_0x4b546d(0x21a)](_0x2ce2cc)[_0x4b546d(0x1e2)](k);return await this[_0x4b546d(0x21c)]([_0x572229]),_0x572229;},'addSuggestion':async({id:_0x5a6e76,type:_0x630ada,data:_0x5d9602,originalSuggestionId:_0x52e46a,attributes:_0x457e8d})=>{const _0x11fc31=_0x3d7872;await this[_0x11fc31(0x1fc)]();const _0x4c8c4f={'id':_0x5a6e76,'type':_0x630ada,'data':_0x5d9602,'originalSuggestionId':_0x52e46a,'attributes':_0x457e8d},_0x51cced=await this[_0x11fc31(0x20b)][_0x11fc31(0x216)](_0x5a6e76,_0x630ada,_0x5d9602,_0x52e46a,_0x457e8d)[_0x11fc31(0x1e2)](_0x588326=>{if(q(_0x588326))return new Promise(_0x116f73=>{const _0x5ad824=_0x5377;this[_0x5ad824(0x1e1)][_0x5ad824(0x219)](_0x5a6e76,{'resolve':_0x116f73,'suggestionData':_0x4c8c4f});});throw _0x588326;});return this[_0x11fc31(0x1e1)][_0x11fc31(0x21e)](_0x5a6e76),_0x51cced;},'updateSuggestion':async(_0x15fd81,_0x5490b5)=>{const _0xee24a0=_0x3d7872;if(await this[_0xee24a0(0x1fc)](),_0xee24a0(0x20e)!==_0x5490b5[_0xee24a0(0x1f7)])return this[_0xee24a0(0x20b)][_0xee24a0(0x218)](_0x15fd81,_0x5490b5)[_0xee24a0(0x1e2)](k);}},this[_0x3d7872(0x212)](this[_0x3d7872(0x20b)],_0x3d7872(0x202),(_0x181e3e,_0x27f161)=>{const _0x45e1a0=_0x3d7872;_0x5f4f09[_0x45e1a0(0x20d)](_0x27f161['id'])&&(_0x5f4f09[_0x45e1a0(0x210)](_0x27f161['id'])[_0x45e1a0(0x20c)]=_0x27f161[_0x45e1a0(0x20c)]);}),this[_0x3d7872(0x20b)][_0x3d7872(0x1f6)](_0x4a9252[_0x3d7872(0x205)])[_0x3d7872(0x1f2)](_0x214f59=>(_0x4a9252[_0x3d7872(0x1f5)](this),this[_0x3d7872(0x21c)](_0x214f59)[_0x3d7872(0x1f2)](()=>{const _0x59d9e5=_0x3d7872;for(const _0x1533b0 of _0x214f59){_0x5f4f09[_0x59d9e5(0x1f1)](_0x1533b0)[_0x59d9e5(0x204)]=!0x0;}})));}async[_0xfe61dd(0x1fa)](){const _0x2f1bd9=_0xfe61dd,_0x2b4e27=this[_0x2f1bd9(0x1e9)][_0x2f1bd9(0x200)][_0x2f1bd9(0x21a)](_0x2f1bd9(0x222)),{connection:_0x330de8}=this[_0x2f1bd9(0x1e9)][_0x2f1bd9(0x200)][_0x2f1bd9(0x21a)](_0x282535),_0x4a8e6d=await this[_0x2f1bd9(0x20b)][_0x2f1bd9(0x1f6)](_0x330de8);await this[_0x2f1bd9(0x21c)](_0x4a8e6d);for(const {suggestionData:_0x406f43,resolve:_0x1285a1}of this[_0x2f1bd9(0x1e1)][_0x2f1bd9(0x20a)]()){let _0x4347be=_0x4a8e6d[_0x2f1bd9(0x1fb)](_0xfd556a=>_0xfd556a['id']===_0x406f43['id']);_0x4347be||(_0x4347be=await this[_0x2f1bd9(0x20b)][_0x2f1bd9(0x216)](_0x406f43['id'],_0x406f43[_0x2f1bd9(0x213)],_0x406f43[_0x2f1bd9(0x209)],_0x406f43[_0x2f1bd9(0x1e6)])),_0x1285a1(_0x4347be);}for(const _0x402d50 of _0x4a8e6d)_0x2b4e27[_0x2f1bd9(0x20d)](_0x402d50['id'])||_0x2b4e27[_0x2f1bd9(0x1f1)](_0x402d50);}async[_0xfe61dd(0x1fc)](){const _0x5092bf=_0xfe61dd;this[_0x5092bf(0x20b)][_0x5092bf(0x21f)]||await new Promise(_0x3673ce=>{const _0x3334be=_0x5092bf;this[_0x3334be(0x212)](this[_0x3334be(0x20b)],_0x3334be(0x1ef),_0x41d22c=>{const _0x4ded2b=_0x3334be;_0x41d22c[_0x4ded2b(0x214)](),_0x3673ce();});});}async[_0xfe61dd(0x21c)](_0xbadd05){const _0x2c7a35=_0xfe61dd,_0x1b36fc=this[_0x2c7a35(0x1e9)][_0x2c7a35(0x200)][_0x2c7a35(0x21a)](_0x5a0446),{connection:_0x41ac65}=this[_0x2c7a35(0x1e9)][_0x2c7a35(0x200)][_0x2c7a35(0x21a)](_0x282535),_0x40021b=new Set();for(const {authorId:_0x3e98be}of _0xbadd05)_0x1b36fc[_0x2c7a35(0x1fe)](_0x3e98be)||_0x40021b[_0x2c7a35(0x216)](_0x3e98be);if(0x0===_0x40021b[_0x2c7a35(0x1e7)])return;const _0x5d69ec=await _0x3dea37[_0x2c7a35(0x1f4)](_0x41ac65,Array[_0x2c7a35(0x1f0)](_0x40021b));for(const _0x5f433c of _0x5d69ec)_0x1b36fc[_0x2c7a35(0x1fe)](_0x5f433c['id'])||_0x1b36fc[_0x2c7a35(0x1ff)](_0x5f433c);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x3b9476){if(q(_0x3b9476))return new Promise(()=>{});throw _0x3b9476;}function _0x5377(_0x50e19f,_0x2f1d21){const _0xe5edc8=_0xe5ed();return _0x5377=function(_0x5377d5,_0x40a265){_0x5377d5=_0x5377d5-0x1e0;let _0x290062=_0xe5edc8[_0x5377d5];return _0x290062;},_0x5377(_0x50e19f,_0x2f1d21);}function q(_0x528c0c){const _0x50196d=_0xfe61dd;return _0x528c0c[_0x50196d(0x21d)][_0x50196d(0x223)](_0x50196d(0x217))||_0x528c0c[_0x50196d(0x21d)][_0x50196d(0x223)](_0x50196d(0x207));}
23
+ const _0x506cb4=_0x44a3;(function(_0x567da2,_0x532c03){const _0x427545=_0x44a3,_0x4b0f84=_0x567da2();while(!![]){try{const _0x6b655=-parseInt(_0x427545(0x224))/0x1*(parseInt(_0x427545(0x1f7))/0x2)+-parseInt(_0x427545(0x1fb))/0x3+parseInt(_0x427545(0x219))/0x4+-parseInt(_0x427545(0x1f4))/0x5+-parseInt(_0x427545(0x1e9))/0x6+-parseInt(_0x427545(0x1f8))/0x7+-parseInt(_0x427545(0x221))/0x8*(-parseInt(_0x427545(0x200))/0x9);if(_0x6b655===_0x532c03)break;else _0x4b0f84['push'](_0x4b0f84['shift']());}catch(_0x4cc421){_0x4b0f84['push'](_0x4b0f84['shift']());}}}(_0x1030,0x55d5e));import{Plugin as _0x59463e}from'ckeditor5/src/core.js';function _0x1030(){const _0x4fc74f=['CloudServicesTrackChangesAdapter','cloud-services-internal-error:\x20Not\x20connected.','from','message','update','suggestionUpdated','listenTo','getUser','add','get','reconnect','_waitForServiceReady','_trackChangesService','TrackChangesEditing','find','TrackChangesService','addSuggestionData','addUser','requires','1996000eVKfhe','open','addToReconnectionStack','delete','plugins','editor','values','set','8977144WtekwG','init','isConnected','1vinnJl','hasSuggestion','isOfficialPlugin','getMany','545202yXtsor','connect','catch','connection','config','off','isPremiumPlugin','collaboration.channelId','adapter','_bufferedRequests','attributes','263095NygZZt','connected','cloud-services-internal-error:\x20Request\x20timeout.','273666QneEjC','4711504dhCOUC','_fetchMissingUsersForThreads','type','948510lKpNiR','originalSuggestionId','state','size','_saved','9HkEERl','then','pluginName','startsWith','data','getSuggestion'];_0x1030=function(){return _0x4fc74f;};return _0x1030();}import{User as _0x35e145,TrackChangesService as _0x43a9d9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x474b61}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x402273}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4b19d9}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x59463e{static [_0x506cb4(0x215)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x43a9d9)());[_0x506cb4(0x1f2)];[_0x506cb4(0x212)];static get[_0x506cb4(0x218)](){const _0x88c001=_0x506cb4;return[_0x402273,_0x88c001(0x213),_0x474b61];}static get[_0x506cb4(0x202)](){const _0x56c3fc=_0x506cb4;return _0x56c3fc(0x206);}static get[_0x506cb4(0x1e7)](){return!0x0;}static get[_0x506cb4(0x1ef)](){return!0x0;}constructor(_0x5c4ebb){const _0x2c5b2c=_0x506cb4;super(_0x5c4ebb);const _0x11ee3e=this[_0x2c5b2c(0x21e)][_0x2c5b2c(0x1ed)][_0x2c5b2c(0x20f)](_0x2c5b2c(0x1f0));this[_0x2c5b2c(0x1f2)]=new Map(),this[_0x2c5b2c(0x212)]=new m[(_0x2c5b2c(0x215))](_0x11ee3e);}[_0x506cb4(0x222)](){const _0x2bda9d=_0x506cb4,_0x1ed66d=this[_0x2bda9d(0x21e)][_0x2bda9d(0x21d)][_0x2bda9d(0x20f)](_0x474b61),_0x6f89c6=this[_0x2bda9d(0x21e)][_0x2bda9d(0x21d)][_0x2bda9d(0x20f)](_0x2bda9d(0x213));return _0x6f89c6[_0x2bda9d(0x1f1)]={'getSuggestion':async _0x488574=>{const _0x306f10=_0x2bda9d;await this[_0x306f10(0x211)]();const _0x34eef6=await this[_0x306f10(0x212)][_0x306f10(0x20f)](_0x488574)[_0x306f10(0x1eb)](nt);return await this[_0x306f10(0x1f9)]([_0x34eef6]),_0x34eef6;},'addSuggestion':async({id:_0x115317,type:_0x2f0161,data:_0x3de76e,originalSuggestionId:_0x452452,attributes:_0x5f3ca7})=>{const _0x1de544=_0x2bda9d;await this[_0x1de544(0x211)]();const _0x3c9630={'id':_0x115317,'type':_0x2f0161,'data':_0x3de76e,'originalSuggestionId':_0x452452,'attributes':_0x5f3ca7},_0x323739=await this[_0x1de544(0x212)][_0x1de544(0x20e)](_0x115317,_0x2f0161,_0x3de76e,_0x452452,_0x5f3ca7)[_0x1de544(0x1eb)](_0x2c86fb=>{if(P(_0x2c86fb))return new Promise(_0x2ab9b5=>{const _0x2d4d07=_0x44a3;this[_0x2d4d07(0x1f2)][_0x2d4d07(0x220)](_0x115317,{'resolve':_0x2ab9b5,'suggestionData':_0x3c9630});});throw _0x2c86fb;});return this[_0x1de544(0x1f2)][_0x1de544(0x21c)](_0x115317),_0x323739;},'updateSuggestion':async(_0x31ecf6,_0x1da1db)=>{const _0x3f57c2=_0x2bda9d;if(await this[_0x3f57c2(0x211)](),_0x3f57c2(0x21a)!==_0x1da1db[_0x3f57c2(0x1fd)])return this[_0x3f57c2(0x212)][_0x3f57c2(0x20a)](_0x31ecf6,_0x1da1db)[_0x3f57c2(0x1eb)](nt);}},this[_0x2bda9d(0x20c)](this[_0x2bda9d(0x212)],_0x2bda9d(0x20b),(_0x5d5e18,_0x219738)=>{const _0x417f54=_0x2bda9d;_0x6f89c6[_0x417f54(0x1e6)](_0x219738['id'])&&(_0x6f89c6[_0x417f54(0x205)](_0x219738['id'])[_0x417f54(0x1f3)]=_0x219738[_0x417f54(0x1f3)]);}),this[_0x2bda9d(0x212)][_0x2bda9d(0x1ea)](_0x1ed66d[_0x2bda9d(0x1ec)])[_0x2bda9d(0x201)](_0x12298b=>(_0x1ed66d[_0x2bda9d(0x21b)](this),this[_0x2bda9d(0x1f9)](_0x12298b)[_0x2bda9d(0x201)](()=>{const _0x1abd37=_0x2bda9d;for(const _0x3989ac of _0x12298b){_0x6f89c6[_0x1abd37(0x216)](_0x3989ac)[_0x1abd37(0x1ff)]=!0x0;}})));}async[_0x506cb4(0x210)](){const _0x1ddd6e=_0x506cb4,_0x4f162d=this[_0x1ddd6e(0x21e)][_0x1ddd6e(0x21d)][_0x1ddd6e(0x20f)](_0x1ddd6e(0x213)),{connection:_0x2aab1a}=this[_0x1ddd6e(0x21e)][_0x1ddd6e(0x21d)][_0x1ddd6e(0x20f)](_0x474b61),_0x17dcef=await this[_0x1ddd6e(0x212)][_0x1ddd6e(0x1ea)](_0x2aab1a);await this[_0x1ddd6e(0x1f9)](_0x17dcef);for(const {suggestionData:_0x1c075c,resolve:_0x5b2631}of this[_0x1ddd6e(0x1f2)][_0x1ddd6e(0x21f)]()){let _0x53e43a=_0x17dcef[_0x1ddd6e(0x214)](_0x477833=>_0x477833['id']===_0x1c075c['id']);_0x53e43a||(_0x53e43a=await this[_0x1ddd6e(0x212)][_0x1ddd6e(0x20e)](_0x1c075c['id'],_0x1c075c[_0x1ddd6e(0x1fa)],_0x1c075c[_0x1ddd6e(0x204)],_0x1c075c[_0x1ddd6e(0x1fc)])),_0x5b2631(_0x53e43a);}for(const _0x1c06b8 of _0x17dcef)_0x4f162d[_0x1ddd6e(0x1e6)](_0x1c06b8['id'])||_0x4f162d[_0x1ddd6e(0x216)](_0x1c06b8);}async[_0x506cb4(0x211)](){const _0x3d1671=_0x506cb4;this[_0x3d1671(0x212)][_0x3d1671(0x223)]||await new Promise(_0x2f411=>{const _0x488766=_0x3d1671;this[_0x488766(0x20c)](this[_0x488766(0x212)],_0x488766(0x1f5),_0x9fec76=>{const _0x1e7f5a=_0x488766;_0x9fec76[_0x1e7f5a(0x1ee)](),_0x2f411();});});}async[_0x506cb4(0x1f9)](_0x1ce324){const _0x1aa229=_0x506cb4,_0x26d78d=this[_0x1aa229(0x21e)][_0x1aa229(0x21d)][_0x1aa229(0x20f)](_0x4b19d9),{connection:_0x505d3e}=this[_0x1aa229(0x21e)][_0x1aa229(0x21d)][_0x1aa229(0x20f)](_0x474b61),_0x37b9b8=new Set();for(const {authorId:_0x3aba67}of _0x1ce324)_0x26d78d[_0x1aa229(0x20d)](_0x3aba67)||_0x37b9b8[_0x1aa229(0x20e)](_0x3aba67);if(0x0===_0x37b9b8[_0x1aa229(0x1fe)])return;const _0x23acae=await _0x35e145[_0x1aa229(0x1e8)](_0x505d3e,Array[_0x1aa229(0x208)](_0x37b9b8));for(const _0x4034a6 of _0x23acae)_0x26d78d[_0x1aa229(0x20d)](_0x4034a6['id'])||_0x26d78d[_0x1aa229(0x217)](_0x4034a6);}}export{m as CloudServicesTrackChangesAdapter};function _0x44a3(_0x180bed,_0x16134d){const _0x1030ce=_0x1030();return _0x44a3=function(_0x44a308,_0x11bcd5){_0x44a308=_0x44a308-0x1e6;let _0x2c89b2=_0x1030ce[_0x44a308];return _0x2c89b2;},_0x44a3(_0x180bed,_0x16134d);}function nt(_0xa81495){if(P(_0xa81495))return new Promise(()=>{});throw _0xa81495;}function P(_0x3f9067){const _0x1efe92=_0x506cb4;return _0x3f9067[_0x1efe92(0x209)][_0x1efe92(0x203)](_0x1efe92(0x207))||_0x3f9067[_0x1efe92(0x209)][_0x1efe92(0x203)](_0x1efe92(0x1f6));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x111774=_0x42d4;(function(_0x2bed16,_0x30501d){var _0x5cc974=_0x42d4,_0x23066b=_0x2bed16();while(!![]){try{var _0x50ff38=-parseInt(_0x5cc974(0x156))/0x1+-parseInt(_0x5cc974(0x15c))/0x2*(-parseInt(_0x5cc974(0x14f))/0x3)+-parseInt(_0x5cc974(0x157))/0x4*(-parseInt(_0x5cc974(0x152))/0x5)+-parseInt(_0x5cc974(0x155))/0x6*(-parseInt(_0x5cc974(0x153))/0x7)+parseInt(_0x5cc974(0x158))/0x8+-parseInt(_0x5cc974(0x150))/0x9*(parseInt(_0x5cc974(0x14e))/0xa)+-parseInt(_0x5cc974(0x151))/0xb;if(_0x50ff38===_0x30501d)break;else _0x23066b['push'](_0x23066b['shift']());}catch(_0x4436ba){_0x23066b['push'](_0x23066b['shift']());}}}(_0x513a,0xe292a));function _0x513a(){var _0x1c6db1=['4DXihJs','12371984NfvMdv','pluginName','requires','isOfficialPlugin','77838xBKbaL','TrackChanges','RealTimeCollaborativeTrackChanges','47360JRQMuR','87hHCqsW','720mYAFCB','25362458IDVGWW','6353055mUhwrd','658zbTusV','isPremiumPlugin','654GCPmca','343406kWQSDs'];_0x513a=function(){return _0x1c6db1;};return _0x513a();}function _0x42d4(_0x1c8700,_0x14c430){var _0x513a30=_0x513a();return _0x42d4=function(_0x42d4a9,_0x142636){_0x42d4a9=_0x42d4a9-0x14e;var _0x5ae0d5=_0x513a30[_0x42d4a9];return _0x5ae0d5;},_0x42d4(_0x1c8700,_0x14c430);}import{Plugin as _0x6bba65}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0xd13975}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5de8fe}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x6bba65{static get[_0x111774(0x15a)](){var _0x275b3e=_0x111774;return[_0x5de8fe,_0xd13975,_0x275b3e(0x15d)];}static get[_0x111774(0x159)](){var _0x4b45c1=_0x111774;return _0x4b45c1(0x15e);}static get[_0x111774(0x15b)](){return!0x0;}static get[_0x111774(0x154)](){return!0x0;}}
23
+ function _0x80c4(_0x581c1b,_0x2a80fb){var _0x4f8905=_0x4f89();return _0x80c4=function(_0x80c47c,_0x88b6bf){_0x80c47c=_0x80c47c-0x156;var _0x3631a3=_0x4f8905[_0x80c47c];return _0x3631a3;},_0x80c4(_0x581c1b,_0x2a80fb);}function _0x4f89(){var _0xe6bc9a=['isPremiumPlugin','801297jjnnst','1440wjqQPF','RealTimeCollaborativeTrackChanges','2218DHoaHJ','3096kWcUtD','15190ZBShEt','isOfficialPlugin','9918UAZMWj','1629ehqqnG','4736850nmpJtg','7872qJmezE','requires','7198763GbqjRy','14215KmfoSV','pluginName','TrackChanges'];_0x4f89=function(){return _0xe6bc9a;};return _0x4f89();}var _0x24ca4c=_0x80c4;(function(_0x359e8a,_0x1373e8){var _0x2a5407=_0x80c4,_0x27df16=_0x359e8a();while(!![]){try{var _0x111661=-parseInt(_0x2a5407(0x161))/0x1+-parseInt(_0x2a5407(0x164))/0x2*(-parseInt(_0x2a5407(0x158))/0x3)+parseInt(_0x2a5407(0x162))/0x4*(parseInt(_0x2a5407(0x15d))/0x5)+-parseInt(_0x2a5407(0x165))/0x6*(parseInt(_0x2a5407(0x166))/0x7)+-parseInt(_0x2a5407(0x15a))/0x8*(-parseInt(_0x2a5407(0x157))/0x9)+parseInt(_0x2a5407(0x159))/0xa+-parseInt(_0x2a5407(0x15c))/0xb;if(_0x111661===_0x1373e8)break;else _0x27df16['push'](_0x27df16['shift']());}catch(_0x4d9ca5){_0x27df16['push'](_0x27df16['shift']());}}}(_0x4f89,0x9480e));import{Plugin as _0x3ed8bb}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x416cd5}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x42278e}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3ed8bb{static get[_0x24ca4c(0x15b)](){var _0xa2211d=_0x24ca4c;return[_0x42278e,_0x416cd5,_0xa2211d(0x15f)];}static get[_0x24ca4c(0x15e)](){var _0x499705=_0x24ca4c;return _0x499705(0x163);}static get[_0x24ca4c(0x156)](){return!0x0;}static get[_0x24ca4c(0x160)](){return!0x0;}}