@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.5 → 46.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x498b18=_0x6f77;(function(_0xf97a17,_0x336d52){const _0x4ed6e8=_0x6f77,_0x23a607=_0xf97a17();while(!![]){try{const _0x557496=-parseInt(_0x4ed6e8(0x1bc))/0x1*(parseInt(_0x4ed6e8(0x19a))/0x2)+parseInt(_0x4ed6e8(0x1c4))/0x3*(-parseInt(_0x4ed6e8(0x197))/0x4)+-parseInt(_0x4ed6e8(0x1cc))/0x5*(-parseInt(_0x4ed6e8(0x195))/0x6)+-parseInt(_0x4ed6e8(0x1ac))/0x7+parseInt(_0x4ed6e8(0x198))/0x8+parseInt(_0x4ed6e8(0x1b2))/0x9+parseInt(_0x4ed6e8(0x1b5))/0xa;if(_0x557496===_0x336d52)break;else _0x23a607['push'](_0x23a607['shift']());}catch(_0x5676a2){_0x23a607['push'](_0x23a607['shift']());}}}(_0x2781,0x93eb4));import{ContextPlugin as _0x5115fc}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x45abe1,CKEditorError as _0xe441f8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x313b9c,WEB_SOCKET_GATEWAY_STATES as _0x383c2b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1bfab1}from'ckeditor5/src/ui.js';class n extends _0x5115fc{static [_0x498b18(0x18d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x313b9c)());static [_0x498b18(0x1b4)]=0x3e8;[_0x498b18(0x1c0)];[_0x498b18(0x1ca)];[_0x498b18(0x1b6)];[_0x498b18(0x19d)];static get[_0x498b18(0x1a5)](){const _0x3b5e4a=_0x498b18;return[_0x3b5e4a(0x1a9),_0x1bfab1];}static get[_0x498b18(0x1af)](){const _0x3853f3=_0x498b18;return _0x3853f3(0x18d);}static get[_0x498b18(0x1aa)](){return!0x0;}static get[_0x498b18(0x18f)](){return!0x0;}constructor(_0x43fe57){const _0x5d476e=_0x498b18;super(_0x43fe57),this[_0x5d476e(0x1cb)](_0x5d476e(0x1c5),_0x383c2b[_0x5d476e(0x18e)]),this[_0x5d476e(0x1cb)](_0x5d476e(0x1a1),!0x1),this[_0x5d476e(0x1ca)]=new Set(),this[_0x5d476e(0x1b6)]=!0x1,this[_0x5d476e(0x19d)]=new(_0x45abe1())();}[_0x498b18(0x1c7)](){const _0x50b900=_0x498b18,_0x1a2868=this[_0x50b900(0x1c3)],_0x2adc10=_0x1a2868[_0x50b900(0x192)][_0x50b900(0x1a7)](_0x50b900(0x1a9)),_0x2196b2=_0x1a2868[_0x50b900(0x192)][_0x50b900(0x1a7)](_0x1bfab1);if(!_0x2adc10[_0x50b900(0x1cd)])throw new _0xe441f8(_0x50b900(0x199),this);if(!_0x2adc10[_0x50b900(0x18c)])throw new _0xe441f8(_0x50b900(0x1b9),this);return this[_0x50b900(0x19d)][_0x50b900(0x1a6)](window,_0x50b900(0x1ae),()=>this[_0x50b900(0x1a1)]=!0x0),this[_0x50b900(0x19d)][_0x50b900(0x1a6)](window,_0x50b900(0x1ce),()=>this[_0x50b900(0x1a1)]=!0x1),this[_0x50b900(0x1c3)][_0x50b900(0x1c9)][_0x50b900(0x18a)](_0x50b900(0x1a3),0xa),this[_0x50b900(0x1c3)][_0x50b900(0x1c9)][_0x50b900(0x18a)](_0x50b900(0x194),0x14),n[_0x50b900(0x18d)][_0x50b900(0x186)](_0x2adc10[_0x50b900(0x1cd)],_0x2adc10[_0x50b900(0x18c)],{'timeout':0x3e8*this[_0x50b900(0x1c3)][_0x50b900(0x1c9)][_0x50b900(0x1a7)](_0x50b900(0x1a3)),'requestTimeout':0x3e8*this[_0x50b900(0x1c3)][_0x50b900(0x1c9)][_0x50b900(0x1a7)](_0x50b900(0x194))})[_0x50b900(0x1ba)](_0x401143=>{const _0x4431a7=_0x50b900;if(this[_0x4431a7(0x1c0)]=_0x401143,this[_0x4431a7(0x1be)](_0x4431a7(0x1c5))['to'](_0x401143,_0x4431a7(0x1c5),this,_0x4431a7(0x1a1),(_0x4023b0,_0x3397da)=>(_0x4431a7(0x1a0)!==_0x4023b0&&(this[_0x4431a7(0x1b6)]=!0x0),_0x3397da||_0x4023b0!==_0x383c2b[_0x4431a7(0x18e)]?_0x383c2b[_0x4431a7(0x196)]:this[_0x4431a7(0x1c5)]==_0x383c2b[_0x4431a7(0x196)]&&this[_0x4431a7(0x1b6)]?(this[_0x4431a7(0x1b6)]=!0x1,this[_0x4431a7(0x19f)](),_0x383c2b[_0x4431a7(0x1c2)]):_0x383c2b[_0x4431a7(0x18e)])),this[_0x4431a7(0x1c0)]['on'](_0x4431a7(0x1c8),(_0x166b3b,_0x1f5f37)=>{const _0x29c010=_0x4431a7;if(_0x29c010(0x19c)!==_0x1f5f37[_0x29c010(0x18b)])throw console[_0x29c010(0x1c8)](_0x1f5f37),new _0xe441f8(_0x29c010(0x188),null,{'originalError':_0x1f5f37});_0x2196b2[_0x29c010(0x19e)](_0x29c010(0x1bd),{'title':_0x29c010(0x1b8),'namespace':_0x29c010(0x189)});}),!_0x401143['me'])return new Promise(_0xecaee5=>_0x401143['on'](_0x4431a7(0x1a2),_0xecaee5));})[_0x50b900(0x193)](_0x474e42=>{const _0x5b3cbf=_0x50b900;throw console[_0x5b3cbf(0x1c8)](_0x474e42),new _0xe441f8(_0x5b3cbf(0x188),null,{'originalError':_0x474e42});});}[_0x498b18(0x1ad)](_0x17185f){const _0x410f86=_0x498b18;if(_0x410f86(0x19b)!=typeof _0x17185f[_0x410f86(0x1b1)])throw new _0xe441f8(_0x410f86(0x1ab),this);if(this[_0x410f86(0x191)](_0x17185f))throw new _0xe441f8(_0x410f86(0x1bb),this,{'name':_0x17185f[_0x410f86(0x1b3)][_0x410f86(0x1af)]});this[_0x410f86(0x1ca)][_0x410f86(0x187)](_0x17185f);}[_0x498b18(0x1a8)](_0x344a29){const _0x2be31a=_0x498b18;this[_0x2be31a(0x1ca)][_0x2be31a(0x1b0)](_0x344a29);}[_0x498b18(0x191)](_0x25a975){const _0x384e30=_0x498b18;return this[_0x384e30(0x1ca)][_0x384e30(0x1bf)](_0x25a975);}[_0x498b18(0x19f)](){const _0x2fca08=_0x498b18;return this[_0x2fca08(0x1c0)][_0x2fca08(0x1b1)]()[_0x2fca08(0x1ba)](()=>Promise[_0x2fca08(0x1b7)](Array[_0x2fca08(0x1c6)](this[_0x2fca08(0x1ca)],_0x55ddb1=>_0x55ddb1[_0x2fca08(0x1b1)]())))[_0x2fca08(0x1ba)](()=>this[_0x2fca08(0x1c5)]=_0x383c2b[_0x2fca08(0x18e)])[_0x2fca08(0x193)](_0x1b9e84=>{const _0x3c3961=_0x2fca08;throw console[_0x3c3961(0x1c8)](_0x1b9e84),new _0xe441f8(_0x3c3961(0x185),this[_0x3c3961(0x1c3)]);});}[_0x498b18(0x190)](){const _0x222bdf=_0x498b18;this[_0x222bdf(0x1c0)]&&this[_0x222bdf(0x1c0)][_0x222bdf(0x190)](),this[_0x222bdf(0x1c5)]=_0x383c2b[_0x222bdf(0x196)],this[_0x222bdf(0x19d)][_0x222bdf(0x1c1)]();}[_0x498b18(0x1a4)](){const _0x13d4db=_0x498b18;this[_0x13d4db(0x190)](),super[_0x13d4db(0x1a4)]();}}function _0x6f77(_0x124d29,_0xaff0f2){const _0x278105=_0x2781();return _0x6f77=function(_0x6f773c,_0x1cea49){_0x6f773c=_0x6f773c-0x185;let _0x912a84=_0x278105[_0x6f773c];return _0x912a84;},_0x6f77(_0x124d29,_0xaff0f2);}function _0x2781(){const _0x15eebc=['plugins','catch','cloudServices.requestTimeout','1668tzxxXB','DISCONNECTED','444CuFgBM','5676600MrlwvT','websocketgateway-missing-token','67378LwIjHx','function','limitExceeded','_domEmitter','showWarning','_reconnect','connected','_isBrowserOffline','change:me','cloudServices.connectionTimeout','destroy','requires','listenTo','get','removeFromReconnectionStack','CloudServices','isOfficialPlugin','websocketgateway-invalid-plugin-interface','5296746lGxdhG','addToReconnectionStack','offline','pluginName','delete','reconnect','7369587DYazse','constructor','initialReconnectionInterval','13345280NUeuuE','_shouldPluginsReconnect','all','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-websocket-url','then','websocketgateway-plugin-already-registered','23uZSUbA','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.','bind','has','connection','stopListening','CONNECTING','context','19707UwHZBF','state','from','init','error','config','_reconnectionStack','set','65VSgBen','token','online','cloudservices-reconnection-error','connect','add','cloudservices-init','real-time-collaboration','define','code','webSocketUrl','WebSocketGateway','CONNECTED','isPremiumPlugin','disconnect','isInReconnectionStack'];_0x2781=function(){return _0x15eebc;};return _0x2781();}export{n as WebSocketGateway};
23
+ const _0x1e6cb6=_0x1ef8;(function(_0x3a9002,_0x4cd401){const _0xed76bd=_0x1ef8,_0x4c8d0d=_0x3a9002();while(!![]){try{const _0x233356=parseInt(_0xed76bd(0x15d))/0x1+parseInt(_0xed76bd(0x12c))/0x2*(parseInt(_0xed76bd(0x140))/0x3)+-parseInt(_0xed76bd(0x11a))/0x4+-parseInt(_0xed76bd(0x12e))/0x5*(parseInt(_0xed76bd(0x122))/0x6)+parseInt(_0xed76bd(0x157))/0x7+parseInt(_0xed76bd(0x138))/0x8+-parseInt(_0xed76bd(0x13e))/0x9;if(_0x233356===_0x4cd401)break;else _0x4c8d0d['push'](_0x4c8d0d['shift']());}catch(_0x26983d){_0x4c8d0d['push'](_0x4c8d0d['shift']());}}}(_0x4017,0xa2e89));import{ContextPlugin as _0x3bd5b0}from'ckeditor5/src/core.js';function _0x1ef8(_0x14b7b1,_0x23b249){const _0x401784=_0x4017();return _0x1ef8=function(_0x1ef8c7,_0x19761e){_0x1ef8c7=_0x1ef8c7-0x11a;let _0x18ffc7=_0x401784[_0x1ef8c7];return _0x18ffc7;},_0x1ef8(_0x14b7b1,_0x23b249);}import{DomEmitterMixin as _0x4828f0,CKEditorError as _0xb62556}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x504d0a,WEB_SOCKET_GATEWAY_STATES as _0x1e334c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4017(){const _0x4eb187=['context','19506bPJWil','CONNECTING','constructor','bind','reconnect','config','limitExceeded','init','requires','cloudServices.requestTimeout','10690NnGjNm','set','165SMBpFb','get','isOfficialPlugin','_reconnect','_shouldPluginsReconnect','cloudservices-init','disconnect','websocketgateway-plugin-already-registered','all','state','8414264apvsfN','catch','online','WebSocketGateway','isPremiumPlugin','initialReconnectionInterval','23494068iXIloe','isInReconnectionStack','489mdJbGI','cloudServices.connectionTimeout','Connected\x20users\x20limit\x20exceeded','cloudservices-reconnection-error','CloudServices','connect','offline','delete','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','websocketgateway-invalid-plugin-interface','CONNECTED','token','_isBrowserOffline','from','showWarning','connected','then','DISCONNECTED','destroy','add','error','websocketgateway-missing-token','_domEmitter','2508464PRfnsQ','pluginName','listenTo','removeFromReconnectionStack','stopListening','connection','1311925vxgbdd','change:me','define','real-time-collaboration','websocketgateway-missing-websocket-url','code','833148ISOefV','_reconnectionStack','addToReconnectionStack','function','has','plugins','webSocketUrl'];_0x4017=function(){return _0x4eb187;};return _0x4017();}import{Notification as _0x52f84e}from'ckeditor5/src/ui.js';class n extends _0x3bd5b0{static [_0x1e6cb6(0x13b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x504d0a)());static [_0x1e6cb6(0x13d)]=0x3e8;[_0x1e6cb6(0x15c)];[_0x1e6cb6(0x11b)];[_0x1e6cb6(0x132)];[_0x1e6cb6(0x156)];static get[_0x1e6cb6(0x12a)](){const _0x49b613=_0x1e6cb6;return[_0x49b613(0x144),_0x52f84e];}static get[_0x1e6cb6(0x158)](){const _0x16ff01=_0x1e6cb6;return _0x16ff01(0x13b);}static get[_0x1e6cb6(0x130)](){return!0x0;}static get[_0x1e6cb6(0x13c)](){return!0x0;}constructor(_0x47564e){const _0x301628=_0x1e6cb6;super(_0x47564e),this[_0x301628(0x12d)](_0x301628(0x137),_0x1e334c[_0x301628(0x14a)]),this[_0x301628(0x12d)](_0x301628(0x14c),!0x1),this[_0x301628(0x11b)]=new Set(),this[_0x301628(0x132)]=!0x1,this[_0x301628(0x156)]=new(_0x4828f0())();}[_0x1e6cb6(0x129)](){const _0x282bf1=_0x1e6cb6,_0x2508e2=this[_0x282bf1(0x121)],_0x3fff07=_0x2508e2[_0x282bf1(0x11f)][_0x282bf1(0x12f)](_0x282bf1(0x144)),_0x3266f5=_0x2508e2[_0x282bf1(0x11f)][_0x282bf1(0x12f)](_0x52f84e);if(!_0x3fff07[_0x282bf1(0x14b)])throw new _0xb62556(_0x282bf1(0x155),this);if(!_0x3fff07[_0x282bf1(0x120)])throw new _0xb62556(_0x282bf1(0x161),this);return this[_0x282bf1(0x156)][_0x282bf1(0x159)](window,_0x282bf1(0x146),()=>this[_0x282bf1(0x14c)]=!0x0),this[_0x282bf1(0x156)][_0x282bf1(0x159)](window,_0x282bf1(0x13a),()=>this[_0x282bf1(0x14c)]=!0x1),this[_0x282bf1(0x121)][_0x282bf1(0x127)][_0x282bf1(0x15f)](_0x282bf1(0x141),0xa),this[_0x282bf1(0x121)][_0x282bf1(0x127)][_0x282bf1(0x15f)](_0x282bf1(0x12b),0x14),n[_0x282bf1(0x13b)][_0x282bf1(0x145)](_0x3fff07[_0x282bf1(0x14b)],_0x3fff07[_0x282bf1(0x120)],{'timeout':0x3e8*this[_0x282bf1(0x121)][_0x282bf1(0x127)][_0x282bf1(0x12f)](_0x282bf1(0x141)),'requestTimeout':0x3e8*this[_0x282bf1(0x121)][_0x282bf1(0x127)][_0x282bf1(0x12f)](_0x282bf1(0x12b))})[_0x282bf1(0x150)](_0x1f9474=>{const _0xe0c01e=_0x282bf1;if(this[_0xe0c01e(0x15c)]=_0x1f9474,this[_0xe0c01e(0x125)](_0xe0c01e(0x137))['to'](_0x1f9474,_0xe0c01e(0x137),this,_0xe0c01e(0x14c),(_0x318d89,_0x5d2d00)=>(_0xe0c01e(0x14f)!==_0x318d89&&(this[_0xe0c01e(0x132)]=!0x0),_0x5d2d00||_0x318d89!==_0x1e334c[_0xe0c01e(0x14a)]?_0x1e334c[_0xe0c01e(0x151)]:this[_0xe0c01e(0x137)]==_0x1e334c[_0xe0c01e(0x151)]&&this[_0xe0c01e(0x132)]?(this[_0xe0c01e(0x132)]=!0x1,this[_0xe0c01e(0x131)](),_0x1e334c[_0xe0c01e(0x123)]):_0x1e334c[_0xe0c01e(0x14a)])),this[_0xe0c01e(0x15c)]['on'](_0xe0c01e(0x154),(_0x3b53a8,_0x35ae20)=>{const _0x567bc9=_0xe0c01e;if(_0x567bc9(0x128)!==_0x35ae20[_0x567bc9(0x162)])throw console[_0x567bc9(0x154)](_0x35ae20),new _0xb62556(_0x567bc9(0x133),null,{'originalError':_0x35ae20});_0x3266f5[_0x567bc9(0x14e)](_0x567bc9(0x148),{'title':_0x567bc9(0x142),'namespace':_0x567bc9(0x160)});}),!_0x1f9474['me'])return new Promise(_0x20b4a9=>_0x1f9474['on'](_0xe0c01e(0x15e),_0x20b4a9));})[_0x282bf1(0x139)](_0x1fa788=>{const _0x13b61e=_0x282bf1;throw console[_0x13b61e(0x154)](_0x1fa788),new _0xb62556(_0x13b61e(0x133),null,{'originalError':_0x1fa788});});}[_0x1e6cb6(0x11c)](_0x502fe2){const _0x330b4b=_0x1e6cb6;if(_0x330b4b(0x11d)!=typeof _0x502fe2[_0x330b4b(0x126)])throw new _0xb62556(_0x330b4b(0x149),this);if(this[_0x330b4b(0x13f)](_0x502fe2))throw new _0xb62556(_0x330b4b(0x135),this,{'name':_0x502fe2[_0x330b4b(0x124)][_0x330b4b(0x158)]});this[_0x330b4b(0x11b)][_0x330b4b(0x153)](_0x502fe2);}[_0x1e6cb6(0x15a)](_0x44ddc5){const _0x4834ee=_0x1e6cb6;this[_0x4834ee(0x11b)][_0x4834ee(0x147)](_0x44ddc5);}[_0x1e6cb6(0x13f)](_0x5a17ee){const _0x133aed=_0x1e6cb6;return this[_0x133aed(0x11b)][_0x133aed(0x11e)](_0x5a17ee);}[_0x1e6cb6(0x131)](){const _0x4580d0=_0x1e6cb6;return this[_0x4580d0(0x15c)][_0x4580d0(0x126)]()[_0x4580d0(0x150)](()=>Promise[_0x4580d0(0x136)](Array[_0x4580d0(0x14d)](this[_0x4580d0(0x11b)],_0xcd543=>_0xcd543[_0x4580d0(0x126)]())))[_0x4580d0(0x150)](()=>this[_0x4580d0(0x137)]=_0x1e334c[_0x4580d0(0x14a)])[_0x4580d0(0x139)](_0x54bb24=>{const _0xa7dbb9=_0x4580d0;throw console[_0xa7dbb9(0x154)](_0x54bb24),new _0xb62556(_0xa7dbb9(0x143),this[_0xa7dbb9(0x121)]);});}[_0x1e6cb6(0x134)](){const _0x5a8b1a=_0x1e6cb6;this[_0x5a8b1a(0x15c)]&&this[_0x5a8b1a(0x15c)][_0x5a8b1a(0x134)](),this[_0x5a8b1a(0x137)]=_0x1e334c[_0x5a8b1a(0x151)],this[_0x5a8b1a(0x156)][_0x5a8b1a(0x15b)]();}[_0x1e6cb6(0x152)](){const _0x567815=_0x1e6cb6;this[_0x567815(0x134)](),super[_0x567815(0x152)]();}}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x37cbd7=_0x13de;function _0x13de(_0x534155,_0x77c07f){var _0x3417f4=_0x3417();return _0x13de=function(_0x13de96,_0x308b01){_0x13de96=_0x13de96-0x12b;var _0x46d5f0=_0x3417f4[_0x13de96];return _0x46d5f0;},_0x13de(_0x534155,_0x77c07f);}(function(_0x50165a,_0x874ac1){var _0xdb2bbe=_0x13de,_0x5960ce=_0x50165a();while(!![]){try{var _0x373112=-parseInt(_0xdb2bbe(0x12e))/0x1*(parseInt(_0xdb2bbe(0x12b))/0x2)+-parseInt(_0xdb2bbe(0x131))/0x3+parseInt(_0xdb2bbe(0x130))/0x4*(parseInt(_0xdb2bbe(0x139))/0x5)+-parseInt(_0xdb2bbe(0x13b))/0x6*(parseInt(_0xdb2bbe(0x138))/0x7)+parseInt(_0xdb2bbe(0x134))/0x8*(parseInt(_0xdb2bbe(0x132))/0x9)+-parseInt(_0xdb2bbe(0x13a))/0xa+parseInt(_0xdb2bbe(0x135))/0xb*(parseInt(_0xdb2bbe(0x12f))/0xc);if(_0x373112===_0x874ac1)break;else _0x5960ce['push'](_0x5960ce['shift']());}catch(_0x5a7f77){_0x5960ce['push'](_0x5960ce['shift']());}}}(_0x3417,0xc7a69));import{Plugin as _0x39b7a9}from'ckeditor5/src/core.js';function _0x3417(){var _0x4fbf32=['11300569Evfzmz','4201205iLGTXB','10826090kjlFjZ','6pBFfAe','8UgwpGn','isOfficialPlugin','pluginName','127416ZxjyGO','41979876sOSHxz','4tkKNnN','4444008xLuXhF','338859SRsaxj','isPremiumPlugin','248JLygdI','11OzlhOJ','RealTimeCollaborativeEditing','requires'];_0x3417=function(){return _0x4fbf32;};return _0x3417();}import{RealTimeCollaborationClient as _0x389bc6}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x39b7a9{static get[_0x37cbd7(0x137)](){return[_0x389bc6];}static get[_0x37cbd7(0x12d)](){var _0x8835bf=_0x37cbd7;return _0x8835bf(0x136);}static get[_0x37cbd7(0x12c)](){return!0x0;}static get[_0x37cbd7(0x133)](){return!0x0;}}
23
+ var _0x13eb17=_0x1325;(function(_0x1dc774,_0x59b820){var _0x548353=_0x1325,_0x920568=_0x1dc774();while(!![]){try{var _0x3c842b=parseInt(_0x548353(0xfd))/0x1+-parseInt(_0x548353(0xfe))/0x2+parseInt(_0x548353(0xfb))/0x3*(-parseInt(_0x548353(0xf5))/0x4)+parseInt(_0x548353(0xf9))/0x5+parseInt(_0x548353(0xf1))/0x6*(-parseInt(_0x548353(0xfc))/0x7)+parseInt(_0x548353(0xff))/0x8*(parseInt(_0x548353(0xfa))/0x9)+parseInt(_0x548353(0xf3))/0xa*(-parseInt(_0x548353(0x100))/0xb);if(_0x3c842b===_0x59b820)break;else _0x920568['push'](_0x920568['shift']());}catch(_0x299e0d){_0x920568['push'](_0x920568['shift']());}}}(_0x37cd,0x38e31));function _0x1325(_0x5a430b,_0x11bb03){var _0x37cd2f=_0x37cd();return _0x1325=function(_0x13250a,_0x115d35){_0x13250a=_0x13250a-0xf1;var _0x683be5=_0x37cd2f[_0x13250a];return _0x683be5;},_0x1325(_0x5a430b,_0x11bb03);}import{Plugin as _0x847f85}from'ckeditor5/src/core.js';function _0x37cd(){var _0x385405=['4092FFjEtc','RealTimeCollaborativeEditing','196910WBuqpk','requires','244lPEVtn','pluginName','isOfficialPlugin','isPremiumPlugin','2297315vcZsEM','45oFmBmt','17703itjDvH','987PccCFu','340350wuWWAk','328610IihbrY','117304JGKEKF','11hgprGD'];_0x37cd=function(){return _0x385405;};return _0x37cd();}import{RealTimeCollaborationClient as _0xa2b4fc}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x847f85{static get[_0x13eb17(0xf4)](){return[_0xa2b4fc];}static get[_0x13eb17(0xf6)](){var _0xd4a672=_0x13eb17;return _0xd4a672(0xf2);}static get[_0x13eb17(0xf7)](){return!0x0;}static get[_0x13eb17(0xf8)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a217a=_0x3050;function _0xc9b3(){const _0x413060=['1013074yDKkOH','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','remove','_oldOffset','_bufferedUpdates','cloudServices.bundleVersion','isConnected','_revisionHistoryService','_lastRequestId','getRevision','_handleReconnectionError','_revisionDataBuilder','pluginName','off','_preventResendingRevisionData','_fixRevision','setSource','wrongRequestId','catch','add','connection','isEmptyCurrent','4461780DBtFEh','isOfficialPlugin','reInit','isEnabled','currentRevision','buildRevisionData','addRevisionData','init','_handleRevisionsUpdate','createdAt','creatorId','size','max','getOperations','change:_isConnected','30309279FdTNMA','RevisionTracker','_offset','_waitForServiceReady','setRevisionData','then','isPremiumPlugin','adapter','getUser','_revisions','state','requires','marker','connect','_bufferUpdate','fromVersion','RevisionHistory','from','reconnect','serverHistory','code','getRevisions','affectsData','plugins','RevisionHistoryService','cloud-services-internal-error:\x20Request\x20timeout.','baseVersion','editor','5695240efUpGB','_getLatestVersion','400','_startingVersion','_isPendingUpdate','change:_isPendingUpdate','getMany','cloud-services-internal-error:\x20Not\x20connected.','sessionId','listenTo','connected','message','revisionsUpdated','140784kmuJcf','CloudServicesRevisionHistoryAdapter','keys','_revisionTracker','_update','authors','startsWith','destroy','once','has','authorsIds','CONNECTED','config','diffData','repository','get','data','addUser','map','_createCurrentRevision','toVersion','543360QxeByv','sendBufferedUpdates','_isConnected','reverse','_fetchMissingUsers','updateRevisions','_getLatestVersionFromServerOperations','type','bind','addToReconnectionStack','length','collaboration.channelId','602150PajMAG','isBundleUploaded'];_0xc9b3=function(){return _0x413060;};return _0xc9b3();}(function(_0x44b1ca,_0x2e2589){const _0x56d63e=_0x3050,_0x3d8c50=_0x44b1ca();while(!![]){try{const _0x16a02a=-parseInt(_0x56d63e(0x1c6))/0x1+-parseInt(_0x56d63e(0x1c4))/0x2+parseInt(_0x56d63e(0x1b8))/0x3+-parseInt(_0x56d63e(0x196))/0x4+-parseInt(_0x56d63e(0x16b))/0x5+parseInt(_0x56d63e(0x1a3))/0x6+parseInt(_0x56d63e(0x17a))/0x7;if(_0x16a02a===_0x2e2589)break;else _0x3d8c50['push'](_0x3d8c50['shift']());}catch(_0x18020b){_0x3d8c50['push'](_0x3d8c50['shift']());}}}(_0xc9b3,0xdcbe6));import{Plugin as _0x32f10f}from'ckeditor5/src/core.js';import{version as _0xeeeca5}from'ckeditor5/src/utils.js';import{Users as _0x21d3af}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x1d8962}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3050(_0x364856,_0x4aa55f){const _0xc9b3b3=_0xc9b3();return _0x3050=function(_0x305090,_0x5d2374){_0x305090=_0x305090-0x169;let _0x459810=_0xc9b3b3[_0x305090];return _0x459810;},_0x3050(_0x364856,_0x4aa55f);}import{WebSocketGateway as _0x44914e}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x482fe6}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x15f4ec,RevisionHistoryService as _0x159cef,User as _0x501af3,WEB_SOCKET_GATEWAY_STATES as _0x155d8d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x32f10f{static [_0x1a217a(0x192)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x159cef)());[_0x1a217a(0x1ce)];[_0x1a217a(0x1a6)];[_0x1a217a(0x1cd)];[_0x1a217a(0x1c9)];static get[_0x1a217a(0x185)](){const _0x5c5ca8=_0x1a217a;return[_0x44914e,_0x1d8962,_0x5c5ca8(0x18a),_0x482fe6,_0x21d3af];}static get[_0x1a217a(0x1d2)](){const _0x20ef5b=_0x1a217a;return _0x20ef5b(0x1a4);}static get[_0x1a217a(0x16c)](){return!0x0;}static get[_0x1a217a(0x180)](){return!0x0;}constructor(_0x4c6927){const _0x57f0d8=_0x1a217a;super(_0x4c6927);const _0x450d03=this[_0x57f0d8(0x195)][_0x57f0d8(0x1af)][_0x57f0d8(0x1b2)](_0x57f0d8(0x1c3));this[_0x57f0d8(0x1ce)]=null,this[_0x57f0d8(0x1a6)]=this[_0x57f0d8(0x195)][_0x57f0d8(0x191)][_0x57f0d8(0x1b2)](_0x57f0d8(0x17b)),this[_0x57f0d8(0x1cd)]=new c[(_0x57f0d8(0x192))](_0x450d03);}async[_0x1a217a(0x172)](){const _0x2bade8=_0x1a217a,_0x3489bf=this[_0x2bade8(0x195)][_0x2bade8(0x191)][_0x2bade8(0x1b2)](_0x1d8962),_0x3860c9=_0x3489bf[_0x2bade8(0x18d)],_0x66d6e1=this[_0x2bade8(0x195)][_0x2bade8(0x191)][_0x2bade8(0x1b2)](_0x44914e);this[_0x2bade8(0x1a6)][_0x2bade8(0x1d6)]({'history':_0x3860c9,'getLatestVersion':()=>this[_0x2bade8(0x197)](),'getCurrentRevisionId':()=>_0x3489bf[_0x2bade8(0x19e)]});const _0x1a8222=this[_0x2bade8(0x195)][_0x2bade8(0x1af)][_0x2bade8(0x1b2)](_0x2bade8(0x1cb))||_0xeeeca5,_0x36b68b=await _0x15f4ec[_0x2bade8(0x1c5)](_0x66d6e1[_0x2bade8(0x169)],_0x1a8222);this[_0x2bade8(0x195)][_0x2bade8(0x191)][_0x2bade8(0x1b2)](_0x2bade8(0x18a))[_0x2bade8(0x181)]={'getRevision':async({revisionId:_0x59abeb})=>(await this[_0x2bade8(0x17d)](),await this[_0x2bade8(0x1cd)][_0x2bade8(0x1cf)](_0x59abeb)),'updateRevisions':async _0x4f2f15=>{const _0x44824b=_0x2bade8;await this[_0x44824b(0x17d)]();const _0x22302c=this[_0x44824b(0x1a6)][_0x44824b(0x16f)];if(_0x36b68b&&0x1===_0x4f2f15[_0x44824b(0x1c2)]&&_0x4f2f15[0x0]['id']===_0x22302c['id'])return _0x4f2f15;for(const _0x785015 of _0x4f2f15)_0x785015['id']===_0x22302c['id']&&(_0x785015[_0x44824b(0x16a)]=_0x785015[_0x44824b(0x189)]===_0x785015[_0x44824b(0x1b7)]);return this[_0x44824b(0x1cd)][_0x44824b(0x1bd)](_0x4f2f15,this[_0x44824b(0x1ce)])[_0x44824b(0x17f)](_0x5ba61e=>(this[_0x44824b(0x1ce)]=_0x5ba61e,_0x4f2f15))[_0x44824b(0x1d8)](_0x80c217=>{const _0x1ca32a=_0x44824b;if(ot(_0x80c217)||_0x1ca32a(0x198)===_0x80c217[_0x1ca32a(0x18e)]&&void 0x0!==_0x80c217[_0x1ca32a(0x1b3)][_0x1ca32a(0x1d7)]){for(const _0x39ee2c of _0x4f2f15){!this[_0x1ca32a(0x1a6)][_0x1ca32a(0x1b1)][_0x1ca32a(0x1cf)](_0x39ee2c['id'])||this[_0x1ca32a(0x1a6)][_0x1ca32a(0x188)](_0x39ee2c['id'],_0x39ee2c,!0x1);}if(ot(_0x80c217))throw _0x80c217;return _0x4f2f15;}throw _0x80c217;});}},this[_0x2bade8(0x19f)](this[_0x2bade8(0x1cd)],_0x2bade8(0x1a2),(_0x4a275c,{revisionsData:_0x52e738,requestId:_0x2f9e9f})=>{const _0x3a28c5=_0x2bade8;Math[_0x3a28c5(0x177)](..._0x52e738[_0x3a28c5(0x1b5)](_0x1ea14f=>_0x1ea14f[_0x3a28c5(0x1b7)]))>this[_0x3a28c5(0x1be)]()-0x1?this[_0x3a28c5(0x197)]()[_0x3a28c5(0x17f)](()=>{const _0x55b84a=_0x3a28c5;this[_0x55b84a(0x173)](_0x52e738,_0x2f9e9f);}):this[_0x3a28c5(0x173)](_0x52e738,_0x2f9e9f);});const {revisions:_0x24de8c,requestId:_0x1f0849}=await this[_0x2bade8(0x1cd)][_0x2bade8(0x187)](_0x66d6e1[_0x2bade8(0x169)]);_0x66d6e1[_0x2bade8(0x1c1)](this),this[_0x2bade8(0x1ce)]=_0x1f0849,await this[_0x2bade8(0x1bc)](_0x24de8c);for(const _0x4b4c75 of _0x24de8c)this[_0x2bade8(0x1a6)][_0x2bade8(0x171)](_0x4b4c75);this[_0x2bade8(0x19f)](_0x3489bf,_0x2bade8(0x179),(_0x1c53ac,_0x2f4906,_0x522c8a)=>{const _0x19902c=_0x2bade8;_0x522c8a&&(this[_0x19902c(0x1c9)]=_0x3489bf[_0x19902c(0x17c)],_0x1c53ac[_0x19902c(0x1d3)]());}),this[_0x2bade8(0x1a6)][_0x2bade8(0x1c0)](_0x2bade8(0x16e))['to'](_0x66d6e1,_0x2bade8(0x184),_0x153d1f=>_0x153d1f===_0x155d8d[_0x2bade8(0x1ae)]);}async[_0x1a217a(0x18c)](){const _0x1cd35a=_0x1a217a,_0x5e0016=this[_0x1cd35a(0x195)][_0x1cd35a(0x191)][_0x1cd35a(0x1b2)](_0x44914e),_0x128ed9=this[_0x1cd35a(0x195)][_0x1cd35a(0x191)][_0x1cd35a(0x1b2)](_0x1d8962),_0x2bd6fe=async()=>{const _0xe57a85=_0x1cd35a,_0x34b192=this[_0xe57a85(0x1a6)][_0xe57a85(0x16f)],_0x4725cb=_0x34b192['id'],_0x78bb9c=_0x4725cb!==_0x128ed9[_0xe57a85(0x19e)];if(_0x78bb9c){const _0x17c79b=_0x128ed9[_0xe57a85(0x17c)]-this[_0xe57a85(0x1c9)],_0x30bef8=this[_0xe57a85(0x1be)]();this[_0xe57a85(0x1a6)][_0xe57a85(0x1d1)][_0xe57a85(0x16d)]();if(_0x34b192[_0xe57a85(0x1b7)]+_0x17c79b!==_0x30bef8){const _0x46d4c6=_0x34b192[_0xe57a85(0x189)]+_0x17c79b,_0x334293=this[_0xe57a85(0x195)][_0xe57a85(0x191)][_0xe57a85(0x1b2)](_0x21d3af),_0x5bc448=this[_0xe57a85(0x1a6)][_0xe57a85(0x170)]({'revision':_0x34b192,'from':_0x46d4c6,'to':_0x30bef8});_0x5bc448['id']=_0x34b192['id'];const _0x5da571=_0x5bc448[_0xe57a85(0x1ad)][_0xe57a85(0x1b5)](_0x294be7=>_0x334293[_0xe57a85(0x182)](_0x294be7));_0x34b192[_0xe57a85(0x1a7)]({..._0x5bc448,'authors':_0x5da571},!0x0),this[_0xe57a85(0x1a6)][_0xe57a85(0x188)](_0x34b192['id'],_0x5bc448,!0x0);}this[_0xe57a85(0x1a6)][_0xe57a85(0x199)]=_0x30bef8,(_0x34b192[_0xe57a85(0x1b7)]===_0x34b192[_0xe57a85(0x189)]&&!this[_0xe57a85(0x1a6)][_0xe57a85(0x1ca)][_0xe57a85(0x1ac)](_0x4725cb)&&this[_0xe57a85(0x1a6)][_0xe57a85(0x1b1)][_0xe57a85(0x183)][_0xe57a85(0x1c8)](_0x4725cb),this[_0xe57a85(0x1a6)][_0xe57a85(0x1b6)](_0x30bef8));}const {revisions:_0x3f23a0,requestId:_0x429b8c}=await this[_0xe57a85(0x1cd)][_0xe57a85(0x18c)](_0x5e0016[_0xe57a85(0x169)],this[_0xe57a85(0x1ce)]);_0x78bb9c&&_0x3f23a0[_0xe57a85(0x1c2)]>0x0?_0x128ed9[_0xe57a85(0x1d0)]():(await this[_0xe57a85(0x1bc)](_0x3f23a0),this[_0xe57a85(0x173)](_0x3f23a0,_0x429b8c),this[_0xe57a85(0x1a6)][_0xe57a85(0x1b9)]());};return _0x128ed9[_0x1cd35a(0x1ba)]?_0x2bd6fe():new Promise((_0x47c02d,_0x4c7818)=>{const _0x59afbe=_0x1cd35a;_0x128ed9[_0x59afbe(0x1ab)](_0x59afbe(0x179),()=>{const _0x18f409=_0x59afbe;_0x2bd6fe()[_0x18f409(0x17f)](_0x47c02d)[_0x18f409(0x1d8)](_0x4c7818);});});}[_0x1a217a(0x1aa)](){const _0x2bdd13=_0x1a217a;super[_0x2bdd13(0x1aa)]();}async[_0x1a217a(0x17d)](){const _0x56547f=_0x1a217a;this[_0x56547f(0x1cd)][_0x56547f(0x1cc)]||await new Promise(_0x31a39d=>{const _0x34fec1=_0x56547f;this[_0x34fec1(0x19f)](this[_0x34fec1(0x1cd)],_0x34fec1(0x1a0),_0x45c9de=>{const _0x26ed97=_0x34fec1;_0x45c9de[_0x26ed97(0x1d3)](),_0x31a39d();});});}[_0x1a217a(0x1be)](){const _0x32ae8a=_0x1a217a,_0x924878=this[_0x32ae8a(0x195)][_0x32ae8a(0x191)][_0x32ae8a(0x1b2)](_0x1d8962)[_0x32ae8a(0x18d)][_0x32ae8a(0x178)]()[_0x32ae8a(0x1bb)]();for(const _0xd000e of _0x924878)if(_0x32ae8a(0x186)!==_0xd000e[_0x32ae8a(0x1bf)]||_0xd000e[_0x32ae8a(0x190)])return _0xd000e[_0x32ae8a(0x194)]+0x1;}[_0x1a217a(0x197)](){const _0x38ed40=_0x1a217a,_0x4d3654=this[_0x38ed40(0x195)][_0x38ed40(0x191)][_0x38ed40(0x1b2)](_0x1d8962);return new Promise(_0x21f69c=>{const _0x563863=_0x38ed40;_0x4d3654[_0x563863(0x19a)]?_0x4d3654[_0x563863(0x1ab)](_0x563863(0x19b),()=>{const _0x162cc2=_0x563863;_0x21f69c(this[_0x162cc2(0x1be)]());}):_0x21f69c(this[_0x563863(0x1be)]());});}[_0x1a217a(0x173)](_0xa16a55,_0xd9f1b1){const _0x1cfa5a=_0x1a217a,_0xa9e7e1=this[_0x1cfa5a(0x1a6)][_0x1cfa5a(0x1b1)];this[_0x1cfa5a(0x1ce)]=_0xd9f1b1;for(const _0x1ca4c8 of _0xa16a55){const _0x40b195=_0xa9e7e1[_0x1cfa5a(0x1cf)](_0x1ca4c8['id']);if(_0x40b195){if((_0x1ca4c8[_0x1cfa5a(0x189)]||_0x1ca4c8[_0x1cfa5a(0x1b7)])&&(_0x1ca4c8[_0x1cfa5a(0x1b0)]=null),_0x40b195===this[_0x1cfa5a(0x1a6)][_0x1cfa5a(0x16f)]){const _0x2199d0=Math[_0x1cfa5a(0x177)](_0x40b195[_0x1cfa5a(0x1b7)],_0x1ca4c8[_0x1cfa5a(0x1b7)]),_0xbd9ce4=Math[_0x1cfa5a(0x177)](_0x40b195[_0x1cfa5a(0x189)],_0x1ca4c8[_0x1cfa5a(0x189)]);let _0x4002e1;_0x40b195[_0x1cfa5a(0x1b7)]===_0x1ca4c8[_0x1cfa5a(0x1b7)]&&_0x40b195[_0x1cfa5a(0x189)]===_0x1ca4c8[_0x1cfa5a(0x189)]?(_0x4002e1=!0x0,this[_0x1cfa5a(0x1d4)](_0x1ca4c8)):_0x1ca4c8[_0x1cfa5a(0x1b7)]===_0x2199d0&&_0x1ca4c8[_0x1cfa5a(0x189)]===_0xbd9ce4?_0x4002e1=!0x1:(_0x40b195[_0x1cfa5a(0x1b7)]===_0x2199d0&&_0x40b195[_0x1cfa5a(0x189)]===_0xbd9ce4||this[_0x1cfa5a(0x1d5)]({'revision':_0x40b195,'from':_0xbd9ce4,'to':_0x2199d0}),_0x4002e1=!0x0),_0x4002e1&&(delete _0x1ca4c8[_0x1cfa5a(0x189)],delete _0x1ca4c8[_0x1cfa5a(0x1b7)],delete _0x1ca4c8[_0x1cfa5a(0x1b0)],delete _0x1ca4c8[_0x1cfa5a(0x174)],delete _0x1ca4c8[_0x1cfa5a(0x1ad)]);}this[_0x1cfa5a(0x1a6)][_0x1cfa5a(0x17e)](_0x1ca4c8),this[_0x1cfa5a(0x1d4)](_0x1ca4c8);}else this[_0x1cfa5a(0x1a6)][_0x1cfa5a(0x171)](_0x1ca4c8);}const _0x413f2a=_0xa9e7e1[_0x1cfa5a(0x18f)]();_0x413f2a[_0x1cfa5a(0x1bb)]();for(let _0x180e88=0x0;_0x180e88<_0x413f2a[_0x1cfa5a(0x1c2)]-0x1;_0x180e88++){const _0x304270=_0x413f2a[_0x180e88],_0x49e660=_0x413f2a[_0x180e88+0x1];if(_0x304270[_0x1cfa5a(0x189)]<_0x49e660[_0x1cfa5a(0x1b7)]){const _0x218c44=_0x49e660[_0x1cfa5a(0x1b7)],_0x52573a=Math[_0x1cfa5a(0x177)](_0x218c44,_0x304270[_0x1cfa5a(0x1b7)]);this[_0x1cfa5a(0x1d5)]({'revision':_0x304270,'from':_0x218c44,'to':_0x52573a});}}}[_0x1a217a(0x1d5)]({revision:_0x3de08b,from:_0x2b2857,to:_0x33cd08}={}){const _0x4ba0cd=_0x1a217a,_0x5e973b=this[_0x4ba0cd(0x195)][_0x4ba0cd(0x191)][_0x4ba0cd(0x1b2)](_0x21d3af),_0x202c29=this[_0x4ba0cd(0x1a6)][_0x4ba0cd(0x170)]({'revision':_0x3de08b,'from':_0x2b2857,'to':_0x33cd08});_0x202c29[_0x4ba0cd(0x1a8)]=_0x202c29[_0x4ba0cd(0x1ad)][_0x4ba0cd(0x1b5)](_0x533132=>_0x5e973b[_0x4ba0cd(0x182)](_0x533132)),_0x3de08b[_0x4ba0cd(0x1a7)](_0x202c29);}[_0x1a217a(0x1d4)](_0x3ad453){const _0x421f4f=_0x1a217a,_0x34dc38={};_0x34dc38['id']=_0x3ad453['id'];for(const _0x38f445 of Object[_0x421f4f(0x1a5)](_0x3ad453))'id'!==_0x38f445&&(_0x34dc38[_0x38f445]=void 0x0);this[_0x421f4f(0x1a6)][_0x421f4f(0x188)](_0x34dc38['id'],_0x34dc38,!0x0);}async[_0x1a217a(0x1bc)](_0x5c9be4){const _0x2b0e60=_0x1a217a,_0x119bb9=this[_0x2b0e60(0x195)][_0x2b0e60(0x191)][_0x2b0e60(0x1b2)](_0x21d3af),{connection:_0x34d284}=this[_0x2b0e60(0x195)][_0x2b0e60(0x191)][_0x2b0e60(0x1b2)](_0x44914e),_0x2e2804=new Set();for(const _0xc30031 of _0x5c9be4){for(const _0x207e32 of _0xc30031[_0x2b0e60(0x1ad)])_0x2d0033(_0x207e32);_0xc30031[_0x2b0e60(0x175)]&&_0x2d0033(_0xc30031[_0x2b0e60(0x175)]);}if(0x0===_0x2e2804[_0x2b0e60(0x176)])return;const _0x52ad16=await _0x501af3[_0x2b0e60(0x19c)](_0x34d284,Array[_0x2b0e60(0x18b)](_0x2e2804));for(const _0x22b930 of _0x52ad16)_0x119bb9[_0x2b0e60(0x182)](_0x22b930['id'])||_0x119bb9[_0x2b0e60(0x1b4)](_0x22b930);function _0x2d0033(_0x22b72c){const _0x173123=_0x2b0e60;_0x119bb9[_0x173123(0x182)](_0x22b72c)||_0x2e2804[_0x173123(0x1d9)](_0x22b72c);}}}export{c as CloudServicesRevisionHistoryAdapter};function ot(_0x4396b5){const _0x59f0ae=_0x1a217a;return _0x4396b5[_0x59f0ae(0x1a1)][_0x59f0ae(0x1a9)](_0x59f0ae(0x1c7))||_0x4396b5[_0x59f0ae(0x1a1)][_0x59f0ae(0x1a9)](_0x59f0ae(0x19d))||_0x4396b5[_0x59f0ae(0x1a1)][_0x59f0ae(0x1a9)](_0x59f0ae(0x193));}
23
+ const _0x2aaa22=_0x5c00;(function(_0x3f9860,_0x36e867){const _0x1e66de=_0x5c00,_0x14c286=_0x3f9860();while(!![]){try{const _0x5a6a85=-parseInt(_0x1e66de(0x21e))/0x1+parseInt(_0x1e66de(0x22a))/0x2+-parseInt(_0x1e66de(0x25e))/0x3*(parseInt(_0x1e66de(0x20f))/0x4)+-parseInt(_0x1e66de(0x250))/0x5+parseInt(_0x1e66de(0x1fb))/0x6*(-parseInt(_0x1e66de(0x256))/0x7)+parseInt(_0x1e66de(0x200))/0x8+parseInt(_0x1e66de(0x20e))/0x9;if(_0x5a6a85===_0x36e867)break;else _0x14c286['push'](_0x14c286['shift']());}catch(_0x24d19d){_0x14c286['push'](_0x14c286['shift']());}}}(_0x2de6,0x1f14e));import{Plugin as _0x1d3e21}from'ckeditor5/src/core.js';import{version as _0x761f03}from'ckeditor5/src/utils.js';import{Users as _0x5e0868}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4074b2}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x2de6(){const _0x397274=['addRevisionData','getRevisions','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','bind','isEnabled','_getLatestVersion','then','message','_handleReconnectionError','destroy','catch','346445XryhAg','state','_fixRevision','startsWith','buildRevisionData','keys','315014dYmYha','max','revisionsUpdated','type','_preventResendingRevisionData','creatorId','_getLatestVersionFromServerOperations','_waitForServiceReady','6HRZOJF','size','config','_revisionTracker','getRevision','data','reInit','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','getUser','getOperations','_fetchMissingUsers','addUser','updateRevisions','CloudServicesRevisionHistoryAdapter','connection','30UWENQK','plugins','pluginName','editor','RevisionHistory','232336cnXshV','addToReconnectionStack','_oldOffset','_startingVersion','off','_update','diffData','toVersion','authorsIds','listenTo','RevisionHistoryService','400','cloudServices.bundleVersion','collaboration.channelId','3442689KKKEKy','74032lSOJdc','_lastRequestId','_bufferedUpdates','marker','cloud-services-internal-error:\x20Not\x20connected.','code','_createCurrentRevision','_isConnected','get','_isPendingUpdate','from','affectsData','repository','authors','change:_isPendingUpdate','145590RIXKMN','baseVersion','_bufferUpdate','_revisions','setRevisionData','_offset','requires','createdAt','currentRevision','reverse','change:_isConnected','connect','385304wKKfgN','setSource','isPremiumPlugin','RevisionTracker','_handleRevisionsUpdate','connected','_revisionHistoryService','serverHistory','isEmptyCurrent','wrongRequestId','sessionId','sendBufferedUpdates','has','map','remove','CONNECTED','isBundleUploaded','isConnected','isOfficialPlugin','length','once','_revisionDataBuilder','adapter','getMany','fromVersion','init'];_0x2de6=function(){return _0x397274;};return _0x2de6();}import{WebSocketGateway as _0x17ba24}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x26cb8f}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0xcac74f,RevisionHistoryService as _0x434b4e,User as _0x490b1d,WEB_SOCKET_GATEWAY_STATES as _0xccd0f9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x1d3e21{static [_0x2aaa22(0x20a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x434b4e)());[_0x2aaa22(0x210)];[_0x2aaa22(0x1ee)];[_0x2aaa22(0x230)];[_0x2aaa22(0x202)];static get[_0x2aaa22(0x224)](){const _0xf215b2=_0x2aaa22;return[_0x17ba24,_0x4074b2,_0xf215b2(0x1ff),_0x26cb8f,_0x5e0868];}static get[_0x2aaa22(0x1fd)](){const _0x11ec95=_0x2aaa22;return _0x11ec95(0x1f9);}static get[_0x2aaa22(0x23c)](){return!0x0;}static get[_0x2aaa22(0x22c)](){return!0x0;}constructor(_0x261848){const _0x2650a0=_0x2aaa22;super(_0x261848);const _0x4ca517=this[_0x2650a0(0x1fe)][_0x2650a0(0x260)][_0x2650a0(0x217)](_0x2650a0(0x20d));this[_0x2650a0(0x210)]=null,this[_0x2650a0(0x1ee)]=this[_0x2650a0(0x1fe)][_0x2650a0(0x1fc)][_0x2650a0(0x217)](_0x2650a0(0x22d)),this[_0x2650a0(0x230)]=new c[(_0x2650a0(0x20a))](_0x4ca517);}async[_0x2aaa22(0x243)](){const _0x291d08=_0x2aaa22,_0x81fedf=this[_0x291d08(0x1fe)][_0x291d08(0x1fc)][_0x291d08(0x217)](_0x4074b2),_0x4d9cd3=_0x81fedf[_0x291d08(0x231)],_0x3cbf74=this[_0x291d08(0x1fe)][_0x291d08(0x1fc)][_0x291d08(0x217)](_0x17ba24);this[_0x291d08(0x1ee)][_0x291d08(0x22b)]({'history':_0x4d9cd3,'getLatestVersion':()=>this[_0x291d08(0x24a)](),'getCurrentRevisionId':()=>_0x81fedf[_0x291d08(0x234)]});const _0x3c7f18=this[_0x291d08(0x1fe)][_0x291d08(0x260)][_0x291d08(0x217)](_0x291d08(0x20c))||_0x761f03,_0x2a1b6d=await _0xcac74f[_0x291d08(0x23a)](_0x3cbf74[_0x291d08(0x1fa)],_0x3c7f18);this[_0x291d08(0x1fe)][_0x291d08(0x1fc)][_0x291d08(0x217)](_0x291d08(0x1ff))[_0x291d08(0x240)]={'getRevision':async({revisionId:_0x5de4e1})=>(await this[_0x291d08(0x25d)](),await this[_0x291d08(0x230)][_0x291d08(0x1ef)](_0x5de4e1)),'updateRevisions':async _0x5eab5f=>{const _0x33a58a=_0x291d08;await this[_0x33a58a(0x25d)]();const _0x4e642e=this[_0x33a58a(0x1ee)][_0x33a58a(0x226)];if(_0x2a1b6d&&0x1===_0x5eab5f[_0x33a58a(0x23d)]&&_0x5eab5f[0x0]['id']===_0x4e642e['id'])return _0x5eab5f;for(const _0x256fec of _0x5eab5f)_0x256fec['id']===_0x4e642e['id']&&(_0x256fec[_0x33a58a(0x232)]=_0x256fec[_0x33a58a(0x242)]===_0x256fec[_0x33a58a(0x207)]);return this[_0x33a58a(0x230)][_0x33a58a(0x1f8)](_0x5eab5f,this[_0x33a58a(0x210)])[_0x33a58a(0x24b)](_0x32587d=>(this[_0x33a58a(0x210)]=_0x32587d,_0x5eab5f))[_0x33a58a(0x24f)](_0x2de8ca=>{const _0x38bd66=_0x33a58a;if(P(_0x2de8ca)||_0x38bd66(0x20b)===_0x2de8ca[_0x38bd66(0x214)]&&void 0x0!==_0x2de8ca[_0x38bd66(0x1f0)][_0x38bd66(0x233)]){for(const _0x356030 of _0x5eab5f){!this[_0x38bd66(0x1ee)][_0x38bd66(0x21b)][_0x38bd66(0x1ef)](_0x356030['id'])||this[_0x38bd66(0x1ee)][_0x38bd66(0x220)](_0x356030['id'],_0x356030,!0x1);}if(P(_0x2de8ca))throw _0x2de8ca;return _0x5eab5f;}throw _0x2de8ca;});}},this[_0x291d08(0x209)](this[_0x291d08(0x230)],_0x291d08(0x258),(_0xa46856,{revisionsData:_0x9b7545,requestId:_0x2ee5fe})=>{const _0x388c32=_0x291d08;Math[_0x388c32(0x257)](..._0x9b7545[_0x388c32(0x237)](_0x3f5fb7=>_0x3f5fb7[_0x388c32(0x207)]))>this[_0x388c32(0x25c)]()-0x1?this[_0x388c32(0x24a)]()[_0x388c32(0x24b)](()=>{const _0x545a63=_0x388c32;this[_0x545a63(0x22e)](_0x9b7545,_0x2ee5fe);}):this[_0x388c32(0x22e)](_0x9b7545,_0x2ee5fe);});const {revisions:_0x2cc0a8,requestId:_0x24922f}=await this[_0x291d08(0x230)][_0x291d08(0x229)](_0x3cbf74[_0x291d08(0x1fa)]);_0x3cbf74[_0x291d08(0x201)](this),this[_0x291d08(0x210)]=_0x24922f,await this[_0x291d08(0x1f6)](_0x2cc0a8);for(const _0x488104 of _0x2cc0a8)this[_0x291d08(0x1ee)][_0x291d08(0x244)](_0x488104);this[_0x291d08(0x209)](_0x81fedf,_0x291d08(0x228),(_0xcf17cd,_0x2f90cc,_0x1783b4)=>{const _0xd9d2e7=_0x291d08;_0x1783b4&&(this[_0xd9d2e7(0x202)]=_0x81fedf[_0xd9d2e7(0x223)],_0xcf17cd[_0xd9d2e7(0x204)]());}),this[_0x291d08(0x1ee)][_0x291d08(0x248)](_0x291d08(0x249))['to'](_0x3cbf74,_0x291d08(0x251),_0x59ca1d=>_0x59ca1d===_0xccd0f9[_0x291d08(0x239)]);}async[_0x2aaa22(0x246)](){const _0x101bb9=_0x2aaa22,_0xfb8b5c=this[_0x101bb9(0x1fe)][_0x101bb9(0x1fc)][_0x101bb9(0x217)](_0x17ba24),_0x5bc545=this[_0x101bb9(0x1fe)][_0x101bb9(0x1fc)][_0x101bb9(0x217)](_0x4074b2),_0x235a1b=async()=>{const _0x293151=_0x101bb9,_0xbb634d=this[_0x293151(0x1ee)][_0x293151(0x226)],_0x388fc7=_0xbb634d['id'],_0x42edb7=_0x388fc7!==_0x5bc545[_0x293151(0x234)];if(_0x42edb7){const _0x4b6d80=_0x5bc545[_0x293151(0x223)]-this[_0x293151(0x202)],_0x4be551=this[_0x293151(0x25c)]();this[_0x293151(0x1ee)][_0x293151(0x23f)][_0x293151(0x1f1)]();if(_0xbb634d[_0x293151(0x207)]+_0x4b6d80!==_0x4be551){const _0x23e64b=_0xbb634d[_0x293151(0x242)]+_0x4b6d80,_0x46cad5=this[_0x293151(0x1fe)][_0x293151(0x1fc)][_0x293151(0x217)](_0x5e0868),_0x1e779e=this[_0x293151(0x1ee)][_0x293151(0x254)]({'revision':_0xbb634d,'from':_0x23e64b,'to':_0x4be551});_0x1e779e['id']=_0xbb634d['id'];const _0x4f8699=_0x1e779e[_0x293151(0x208)][_0x293151(0x237)](_0x156ec8=>_0x46cad5[_0x293151(0x1f4)](_0x156ec8));_0xbb634d[_0x293151(0x205)]({..._0x1e779e,'authors':_0x4f8699},!0x0),this[_0x293151(0x1ee)][_0x293151(0x220)](_0xbb634d['id'],_0x1e779e,!0x0);}this[_0x293151(0x1ee)][_0x293151(0x203)]=_0x4be551,(_0xbb634d[_0x293151(0x207)]===_0xbb634d[_0x293151(0x242)]&&!this[_0x293151(0x1ee)][_0x293151(0x211)][_0x293151(0x236)](_0x388fc7)&&this[_0x293151(0x1ee)][_0x293151(0x21b)][_0x293151(0x221)][_0x293151(0x238)](_0x388fc7),this[_0x293151(0x1ee)][_0x293151(0x215)](_0x4be551));}const {revisions:_0x374123,requestId:_0x3e64d7}=await this[_0x293151(0x230)][_0x293151(0x246)](_0xfb8b5c[_0x293151(0x1fa)],this[_0x293151(0x210)]);_0x42edb7&&_0x374123[_0x293151(0x23d)]>0x0?_0x5bc545[_0x293151(0x24d)]():(await this[_0x293151(0x1f6)](_0x374123),this[_0x293151(0x22e)](_0x374123,_0x3e64d7),this[_0x293151(0x1ee)][_0x293151(0x235)]());};return _0x5bc545[_0x101bb9(0x216)]?_0x235a1b():new Promise((_0x13212d,_0x5aff10)=>{const _0x1af73c=_0x101bb9;_0x5bc545[_0x1af73c(0x23e)](_0x1af73c(0x228),()=>{const _0x4d4c07=_0x1af73c;_0x235a1b()[_0x4d4c07(0x24b)](_0x13212d)[_0x4d4c07(0x24f)](_0x5aff10);});});}[_0x2aaa22(0x24e)](){const _0xd76c99=_0x2aaa22;super[_0xd76c99(0x24e)]();}async[_0x2aaa22(0x25d)](){const _0x2fb0d1=_0x2aaa22;this[_0x2fb0d1(0x230)][_0x2fb0d1(0x23b)]||await new Promise(_0x5f018b=>{const _0x3f774b=_0x2fb0d1;this[_0x3f774b(0x209)](this[_0x3f774b(0x230)],_0x3f774b(0x22f),_0x183178=>{const _0x12c36f=_0x3f774b;_0x183178[_0x12c36f(0x204)](),_0x5f018b();});});}[_0x2aaa22(0x25c)](){const _0x15daaa=_0x2aaa22,_0x575aff=this[_0x15daaa(0x1fe)][_0x15daaa(0x1fc)][_0x15daaa(0x217)](_0x4074b2)[_0x15daaa(0x231)][_0x15daaa(0x1f5)]()[_0x15daaa(0x227)]();for(const _0x3f6763 of _0x575aff)if(_0x15daaa(0x212)!==_0x3f6763[_0x15daaa(0x259)]||_0x3f6763[_0x15daaa(0x21a)])return _0x3f6763[_0x15daaa(0x21f)]+0x1;}[_0x2aaa22(0x24a)](){const _0x58e74a=_0x2aaa22,_0x4637c4=this[_0x58e74a(0x1fe)][_0x58e74a(0x1fc)][_0x58e74a(0x217)](_0x4074b2);return new Promise(_0x4c95d9=>{const _0xc08a8d=_0x58e74a;_0x4637c4[_0xc08a8d(0x218)]?_0x4637c4[_0xc08a8d(0x23e)](_0xc08a8d(0x21d),()=>{const _0x5a8f15=_0xc08a8d;_0x4c95d9(this[_0x5a8f15(0x25c)]());}):_0x4c95d9(this[_0xc08a8d(0x25c)]());});}[_0x2aaa22(0x22e)](_0x237cac,_0x1be044){const _0x23a92c=_0x2aaa22,_0x4e1e0c=this[_0x23a92c(0x1ee)][_0x23a92c(0x21b)];this[_0x23a92c(0x210)]=_0x1be044;for(const _0x4dfde8 of _0x237cac){const _0x3c0885=_0x4e1e0c[_0x23a92c(0x1ef)](_0x4dfde8['id']);if(_0x3c0885){if((_0x4dfde8[_0x23a92c(0x242)]||_0x4dfde8[_0x23a92c(0x207)])&&(_0x4dfde8[_0x23a92c(0x206)]=null),_0x3c0885===this[_0x23a92c(0x1ee)][_0x23a92c(0x226)]){const _0x319ed1=Math[_0x23a92c(0x257)](_0x3c0885[_0x23a92c(0x207)],_0x4dfde8[_0x23a92c(0x207)]),_0x38e55e=Math[_0x23a92c(0x257)](_0x3c0885[_0x23a92c(0x242)],_0x4dfde8[_0x23a92c(0x242)]);let _0x48286a;_0x3c0885[_0x23a92c(0x207)]===_0x4dfde8[_0x23a92c(0x207)]&&_0x3c0885[_0x23a92c(0x242)]===_0x4dfde8[_0x23a92c(0x242)]?(_0x48286a=!0x0,this[_0x23a92c(0x25a)](_0x4dfde8)):_0x4dfde8[_0x23a92c(0x207)]===_0x319ed1&&_0x4dfde8[_0x23a92c(0x242)]===_0x38e55e?_0x48286a=!0x1:(_0x3c0885[_0x23a92c(0x207)]===_0x319ed1&&_0x3c0885[_0x23a92c(0x242)]===_0x38e55e||this[_0x23a92c(0x252)]({'revision':_0x3c0885,'from':_0x38e55e,'to':_0x319ed1}),_0x48286a=!0x0),_0x48286a&&(delete _0x4dfde8[_0x23a92c(0x242)],delete _0x4dfde8[_0x23a92c(0x207)],delete _0x4dfde8[_0x23a92c(0x206)],delete _0x4dfde8[_0x23a92c(0x225)],delete _0x4dfde8[_0x23a92c(0x208)]);}this[_0x23a92c(0x1ee)][_0x23a92c(0x222)](_0x4dfde8),this[_0x23a92c(0x25a)](_0x4dfde8);}else this[_0x23a92c(0x1ee)][_0x23a92c(0x244)](_0x4dfde8);}const _0x3f9f5e=_0x4e1e0c[_0x23a92c(0x245)]();_0x3f9f5e[_0x23a92c(0x227)]();for(let _0x4f0e2e=0x0;_0x4f0e2e<_0x3f9f5e[_0x23a92c(0x23d)]-0x1;_0x4f0e2e++){const _0x2c6487=_0x3f9f5e[_0x4f0e2e],_0x41f966=_0x3f9f5e[_0x4f0e2e+0x1];if(_0x2c6487[_0x23a92c(0x242)]<_0x41f966[_0x23a92c(0x207)]){const _0x4e6491=_0x41f966[_0x23a92c(0x207)],_0xd68b76=Math[_0x23a92c(0x257)](_0x4e6491,_0x2c6487[_0x23a92c(0x207)]);this[_0x23a92c(0x252)]({'revision':_0x2c6487,'from':_0x4e6491,'to':_0xd68b76});}}}[_0x2aaa22(0x252)]({revision:_0x36d2a5,from:_0x24f3cb,to:_0x244770}={}){const _0xa874a0=_0x2aaa22,_0x430c5f=this[_0xa874a0(0x1fe)][_0xa874a0(0x1fc)][_0xa874a0(0x217)](_0x5e0868),_0x45fe71=this[_0xa874a0(0x1ee)][_0xa874a0(0x254)]({'revision':_0x36d2a5,'from':_0x24f3cb,'to':_0x244770});_0x45fe71[_0xa874a0(0x21c)]=_0x45fe71[_0xa874a0(0x208)][_0xa874a0(0x237)](_0x1a2a72=>_0x430c5f[_0xa874a0(0x1f4)](_0x1a2a72)),_0x36d2a5[_0xa874a0(0x205)](_0x45fe71);}[_0x2aaa22(0x25a)](_0x313de0){const _0x3c9346=_0x2aaa22,_0x3ec4de={};_0x3ec4de['id']=_0x313de0['id'];for(const _0x27be2e of Object[_0x3c9346(0x255)](_0x313de0))'id'!==_0x27be2e&&(_0x3ec4de[_0x27be2e]=void 0x0);this[_0x3c9346(0x1ee)][_0x3c9346(0x220)](_0x3ec4de['id'],_0x3ec4de,!0x0);}async[_0x2aaa22(0x1f6)](_0x103724){const _0x3c4503=_0x2aaa22,_0x131657=this[_0x3c4503(0x1fe)][_0x3c4503(0x1fc)][_0x3c4503(0x217)](_0x5e0868),{connection:_0x46a565}=this[_0x3c4503(0x1fe)][_0x3c4503(0x1fc)][_0x3c4503(0x217)](_0x17ba24),_0x4a1175=new Set();for(const _0x5ce624 of _0x103724){for(const _0x54b964 of _0x5ce624[_0x3c4503(0x208)])_0x836aec(_0x54b964);_0x5ce624[_0x3c4503(0x25b)]&&_0x836aec(_0x5ce624[_0x3c4503(0x25b)]);}if(0x0===_0x4a1175[_0x3c4503(0x25f)])return;const _0x444537=await _0x490b1d[_0x3c4503(0x241)](_0x46a565,Array[_0x3c4503(0x219)](_0x4a1175));for(const _0x12f754 of _0x444537)_0x131657[_0x3c4503(0x1f4)](_0x12f754['id'])||_0x131657[_0x3c4503(0x1f7)](_0x12f754);function _0x836aec(_0x95457c){const _0x4fedc4=_0x3c4503;_0x131657[_0x4fedc4(0x1f4)](_0x95457c)||_0x4a1175[_0x4fedc4(0x1f3)](_0x95457c);}}}function _0x5c00(_0x22205d,_0x538a76){const _0x2de68c=_0x2de6();return _0x5c00=function(_0x5c005f,_0x511e27){_0x5c005f=_0x5c005f-0x1ee;let _0x4c8eb8=_0x2de68c[_0x5c005f];return _0x4c8eb8;},_0x5c00(_0x22205d,_0x538a76);}export{c as CloudServicesRevisionHistoryAdapter};function P(_0x399865){const _0x238358=_0x2aaa22;return _0x399865[_0x238358(0x24c)][_0x238358(0x253)](_0x238358(0x1f2))||_0x399865[_0x238358(0x24c)][_0x238358(0x253)](_0x238358(0x213))||_0x399865[_0x238358(0x24c)][_0x238358(0x253)](_0x238358(0x247));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5c3e99=_0x96f7;function _0x420f(){var _0x5e565a=['6297392LgzYuS','121hWwhrv','974606eVbAHc','6760701jXmaen','6585jRwmln','888tjkPRb','216791Kisdab','254665CgoSAs','pluginName','RevisionHistory','7flOEkD','RealTimeCollaborativeRevisionHistory','requires','10VNkHol','991176LKPFQB','18ndNGQX','isPremiumPlugin','isOfficialPlugin'];_0x420f=function(){return _0x5e565a;};return _0x420f();}(function(_0x28b348,_0xa6af3c){var _0x5d32bc=_0x96f7,_0x49c184=_0x28b348();while(!![]){try{var _0x568525=parseInt(_0x5d32bc(0xe7))/0x1+parseInt(_0x5d32bc(0xe3))/0x2+parseInt(_0x5d32bc(0xe5))/0x3*(parseInt(_0x5d32bc(0xe6))/0x4)+-parseInt(_0x5d32bc(0xe8))/0x5*(-parseInt(_0x5d32bc(0xde))/0x6)+-parseInt(_0x5d32bc(0xeb))/0x7*(-parseInt(_0x5d32bc(0xe1))/0x8)+parseInt(_0x5d32bc(0xe4))/0x9*(-parseInt(_0x5d32bc(0xdc))/0xa)+parseInt(_0x5d32bc(0xe2))/0xb*(-parseInt(_0x5d32bc(0xdd))/0xc);if(_0x568525===_0xa6af3c)break;else _0x49c184['push'](_0x49c184['shift']());}catch(_0x5c0dee){_0x49c184['push'](_0x49c184['shift']());}}}(_0x420f,0x73226));import{Plugin as _0x20bd88}from'ckeditor5/src/core.js';function _0x96f7(_0xbd2fba,_0x41186a){var _0x420f4a=_0x420f();return _0x96f7=function(_0x96f77,_0x59c124){_0x96f77=_0x96f77-0xda;var _0x1e160a=_0x420f4a[_0x96f77];return _0x1e160a;},_0x96f7(_0xbd2fba,_0x41186a);}import{CloudServicesRevisionHistoryAdapter as _0x838443}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x27fd23}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x20bd88{static get[_0x5c3e99(0xdb)](){var _0x34bffe=_0x5c3e99;return[_0x34bffe(0xea),_0x838443,_0x27fd23];}static get[_0x5c3e99(0xe9)](){var _0x2f689f=_0x5c3e99;return _0x2f689f(0xda);}static get[_0x5c3e99(0xe0)](){return!0x0;}static get[_0x5c3e99(0xdf)](){return!0x0;}}
23
+ var _0x5d221b=_0xd7e0;function _0xd7e0(_0x419e78,_0x432c0e){var _0xa9f080=_0xa9f0();return _0xd7e0=function(_0xd7e0b4,_0x272c5){_0xd7e0b4=_0xd7e0b4-0x6c;var _0x19d6bc=_0xa9f080[_0xd7e0b4];return _0x19d6bc;},_0xd7e0(_0x419e78,_0x432c0e);}function _0xa9f0(){var _0x410363=['5wnqnCz','832pwVenA','956764fhjnYO','isOfficialPlugin','2135016TNHyUa','isPremiumPlugin','pluginName','635473YcyOgN','491973eqaIpZ','requires','60431urGugr','RevisionHistory','20Xtbhwb','627714nCUoLZ','810586vSPUOP','RealTimeCollaborativeRevisionHistory'];_0xa9f0=function(){return _0x410363;};return _0xa9f0();}(function(_0x41c8a2,_0x26e715){var _0x51292d=_0xd7e0,_0x50d8ff=_0x41c8a2();while(!![]){try{var _0x22ac51=-parseInt(_0x51292d(0x73))/0x1+parseInt(_0x51292d(0x7a))/0x2+parseInt(_0x51292d(0x74))/0x3+-parseInt(_0x51292d(0x6e))/0x4*(-parseInt(_0x51292d(0x6c))/0x5)+-parseInt(_0x51292d(0x79))/0x6+-parseInt(_0x51292d(0x76))/0x7*(-parseInt(_0x51292d(0x6d))/0x8)+-parseInt(_0x51292d(0x70))/0x9*(parseInt(_0x51292d(0x78))/0xa);if(_0x22ac51===_0x26e715)break;else _0x50d8ff['push'](_0x50d8ff['shift']());}catch(_0x42823a){_0x50d8ff['push'](_0x50d8ff['shift']());}}}(_0xa9f0,0x780f7));import{Plugin as _0x5d5931}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2a2e88}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x1bb115}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5d5931{static get[_0x5d221b(0x75)](){var _0x5ce302=_0x5d221b;return[_0x5ce302(0x77),_0x2a2e88,_0x1bb115];}static get[_0x5d221b(0x72)](){var _0x1b374e=_0x5d221b;return _0x1b374e(0x7b);}static get[_0x5d221b(0x6f)](){return!0x0;}static get[_0x5d221b(0x71)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5773(){const _0x4696b8=['connect','getMany','2622612xyesje','state','attributes','data','suggestionUpdated','_bufferedRequests','511725yDxMCc','hasSuggestion','addSuggestionData','editor','off','type','reconnect','isConnected','listenTo','size','init','cloud-services-internal-error:\x20Request\x20timeout.','_saved','open','startsWith','message','delete','requires','_trackChangesService','add','TrackChangesService','originalSuggestionId','update','1544120BYVFhA','then','410445JXcoxp','CloudServicesTrackChangesAdapter','240802vfsZuF','_waitForServiceReady','addUser','addToReconnectionStack','get','config','getUser','catch','isPremiumPlugin','getSuggestion','find','6MDAIWq','from','collaboration.channelId','set','connection','cloud-services-internal-error:\x20Not\x20connected.','isOfficialPlugin','values','plugins','connected','_fetchMissingUsersForThreads','3524928XLKcLG','TrackChangesEditing','2423680NdXvNN','pluginName','adapter'];_0x5773=function(){return _0x4696b8;};return _0x5773();}function _0x1d72(_0xffd293,_0x592885){const _0x57733e=_0x5773();return _0x1d72=function(_0x1d722c,_0x166202){_0x1d722c=_0x1d722c-0x1e7;let _0x4c0b0d=_0x57733e[_0x1d722c];return _0x4c0b0d;},_0x1d72(_0xffd293,_0x592885);}const _0xae5bdb=_0x1d72;(function(_0x419056,_0x9cfb55){const _0x5b4fff=_0x1d72,_0x18d7ed=_0x419056();while(!![]){try{const _0x63c5ae=parseInt(_0x5b4fff(0x211))/0x1+-parseInt(_0x5b4fff(0x1ee))/0x2*(-parseInt(_0x5b4fff(0x1f9))/0x3)+-parseInt(_0x5b4fff(0x206))/0x4+parseInt(_0x5b4fff(0x1ea))/0x5+-parseInt(_0x5b4fff(0x20b))/0x6+parseInt(_0x5b4fff(0x1ec))/0x7+parseInt(_0x5b4fff(0x204))/0x8;if(_0x63c5ae===_0x9cfb55)break;else _0x18d7ed['push'](_0x18d7ed['shift']());}catch(_0x5e1a17){_0x18d7ed['push'](_0x18d7ed['shift']());}}}(_0x5773,0x7e5cc));import{Plugin as _0x48dc32}from'ckeditor5/src/core.js';import{User as _0x3d1fcf,TrackChangesService as _0x1c8ce9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3083d0}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x393d65}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x39d801}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x48dc32{static [_0xae5bdb(0x1e7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1c8ce9)());[_0xae5bdb(0x210)];[_0xae5bdb(0x223)];static get[_0xae5bdb(0x222)](){const _0x47dbbb=_0xae5bdb;return[_0x393d65,_0x47dbbb(0x205),_0x3083d0];}static get[_0xae5bdb(0x207)](){const _0x44f466=_0xae5bdb;return _0x44f466(0x1ed);}static get[_0xae5bdb(0x1ff)](){return!0x0;}static get[_0xae5bdb(0x1f6)](){return!0x0;}constructor(_0x41bc8d){const _0x20faec=_0xae5bdb;super(_0x41bc8d);const _0x336fa8=this[_0x20faec(0x214)][_0x20faec(0x1f3)][_0x20faec(0x1f2)](_0x20faec(0x1fb));this[_0x20faec(0x210)]=new Map(),this[_0x20faec(0x223)]=new m[(_0x20faec(0x1e7))](_0x336fa8);}[_0xae5bdb(0x21b)](){const _0x128eca=_0xae5bdb,_0x50ab3a=this[_0x128eca(0x214)][_0x128eca(0x201)][_0x128eca(0x1f2)](_0x3083d0),_0x100523=this[_0x128eca(0x214)][_0x128eca(0x201)][_0x128eca(0x1f2)](_0x128eca(0x205));return _0x100523[_0x128eca(0x208)]={'getSuggestion':async _0x440716=>{const _0xcb12d4=_0x128eca;await this[_0xcb12d4(0x1ef)]();const _0x19139c=await this[_0xcb12d4(0x223)][_0xcb12d4(0x1f2)](_0x440716)[_0xcb12d4(0x1f5)](tt);return await this[_0xcb12d4(0x203)]([_0x19139c]),_0x19139c;},'addSuggestion':async({id:_0x76a50,type:_0x44f338,data:_0x504b4e,originalSuggestionId:_0x106b50,attributes:_0x5e1ff7})=>{const _0xe83490=_0x128eca;await this[_0xe83490(0x1ef)]();const _0x3214d7={'id':_0x76a50,'type':_0x44f338,'data':_0x504b4e,'originalSuggestionId':_0x106b50,'attributes':_0x5e1ff7},_0x473734=await this[_0xe83490(0x223)][_0xe83490(0x224)](_0x76a50,_0x44f338,_0x504b4e,_0x106b50,_0x5e1ff7)[_0xe83490(0x1f5)](_0x5766a1=>{if(ot(_0x5766a1))return new Promise(_0x3ad6d5=>{const _0x1eae2e=_0x1d72;this[_0x1eae2e(0x210)][_0x1eae2e(0x1fc)](_0x76a50,{'resolve':_0x3ad6d5,'suggestionData':_0x3214d7});});throw _0x5766a1;});return this[_0xe83490(0x210)][_0xe83490(0x221)](_0x76a50),_0x473734;},'updateSuggestion':async(_0x268e06,_0x4b1da0)=>{const _0x49e42a=_0x128eca;if(await this[_0x49e42a(0x1ef)](),_0x49e42a(0x21e)!==_0x4b1da0[_0x49e42a(0x20c)])return this[_0x49e42a(0x223)][_0x49e42a(0x1e9)](_0x268e06,_0x4b1da0)[_0x49e42a(0x1f5)](tt);}},this[_0x128eca(0x219)](this[_0x128eca(0x223)],_0x128eca(0x20f),(_0x5f5802,_0x2f4224)=>{const _0x131ed8=_0x128eca;_0x100523[_0x131ed8(0x212)](_0x2f4224['id'])&&(_0x100523[_0x131ed8(0x1f7)](_0x2f4224['id'])[_0x131ed8(0x20d)]=_0x2f4224[_0x131ed8(0x20d)]);}),this[_0x128eca(0x223)][_0x128eca(0x209)](_0x50ab3a[_0x128eca(0x1fd)])[_0x128eca(0x1eb)](_0x2313b8=>(_0x50ab3a[_0x128eca(0x1f1)](this),this[_0x128eca(0x203)](_0x2313b8)[_0x128eca(0x1eb)](()=>{const _0xb3e2c6=_0x128eca;for(const _0x2fdc01 of _0x2313b8){_0x100523[_0xb3e2c6(0x213)](_0x2fdc01)[_0xb3e2c6(0x21d)]=!0x0;}})));}async[_0xae5bdb(0x217)](){const _0x3bfe40=_0xae5bdb,_0x48cc62=this[_0x3bfe40(0x214)][_0x3bfe40(0x201)][_0x3bfe40(0x1f2)](_0x3bfe40(0x205)),{connection:_0x1765f8}=this[_0x3bfe40(0x214)][_0x3bfe40(0x201)][_0x3bfe40(0x1f2)](_0x3083d0),_0x4156ca=await this[_0x3bfe40(0x223)][_0x3bfe40(0x209)](_0x1765f8);await this[_0x3bfe40(0x203)](_0x4156ca);for(const {suggestionData:_0x238da8,resolve:_0x2833e0}of this[_0x3bfe40(0x210)][_0x3bfe40(0x200)]()){let _0x36d9f0=_0x4156ca[_0x3bfe40(0x1f8)](_0x3910e5=>_0x3910e5['id']===_0x238da8['id']);_0x36d9f0||(_0x36d9f0=await this[_0x3bfe40(0x223)][_0x3bfe40(0x224)](_0x238da8['id'],_0x238da8[_0x3bfe40(0x216)],_0x238da8[_0x3bfe40(0x20e)],_0x238da8[_0x3bfe40(0x1e8)])),_0x2833e0(_0x36d9f0);}for(const _0xdbb9a of _0x4156ca)_0x48cc62[_0x3bfe40(0x212)](_0xdbb9a['id'])||_0x48cc62[_0x3bfe40(0x213)](_0xdbb9a);}async[_0xae5bdb(0x1ef)](){const _0x5472b5=_0xae5bdb;this[_0x5472b5(0x223)][_0x5472b5(0x218)]||await new Promise(_0x155b5f=>{const _0xc8bf7f=_0x5472b5;this[_0xc8bf7f(0x219)](this[_0xc8bf7f(0x223)],_0xc8bf7f(0x202),_0x24019c=>{const _0x5460fd=_0xc8bf7f;_0x24019c[_0x5460fd(0x215)](),_0x155b5f();});});}async[_0xae5bdb(0x203)](_0x67ea4){const _0x412145=_0xae5bdb,_0x14d220=this[_0x412145(0x214)][_0x412145(0x201)][_0x412145(0x1f2)](_0x39d801),{connection:_0x3fce99}=this[_0x412145(0x214)][_0x412145(0x201)][_0x412145(0x1f2)](_0x3083d0),_0xd52fed=new Set();for(const {authorId:_0x1445f3}of _0x67ea4)_0x14d220[_0x412145(0x1f4)](_0x1445f3)||_0xd52fed[_0x412145(0x224)](_0x1445f3);if(0x0===_0xd52fed[_0x412145(0x21a)])return;const _0x3dd498=await _0x3d1fcf[_0x412145(0x20a)](_0x3fce99,Array[_0x412145(0x1fa)](_0xd52fed));for(const _0x1313e6 of _0x3dd498)_0x14d220[_0x412145(0x1f4)](_0x1313e6['id'])||_0x14d220[_0x412145(0x1f0)](_0x1313e6);}}export{m as CloudServicesTrackChangesAdapter};function tt(_0x15949c){if(ot(_0x15949c))return new Promise(()=>{});throw _0x15949c;}function ot(_0x420a41){const _0x567d92=_0xae5bdb;return _0x420a41[_0x567d92(0x220)][_0x567d92(0x21f)](_0x567d92(0x1fe))||_0x420a41[_0x567d92(0x220)][_0x567d92(0x21f)](_0x567d92(0x21c));}
23
+ function _0x450e(){const _0x2a3037=['plugins','config','cloud-services-internal-error:\x20Request\x20timeout.','type','cloud-services-internal-error:\x20Not\x20connected.','originalSuggestionId','connect','getSuggestion','1155399DUzxcx','connection','_fetchMissingUsersForThreads','update','3380UelLwj','1045984WhpbjV','66499gpSXJK','get','30rhTUbF','adapter','message','listenTo','57762QSjYSI','delete','_waitForServiceReady','173445ngLqDZ','reconnect','60xUjJBr','getMany','open','addSuggestionData','getUser','hasSuggestion','isConnected','2TTmoly','isPremiumPlugin','editor','add','TrackChangesEditing','size','catch','data','find','_saved','suggestionUpdated','pluginName','requires','from','init','state','startsWith','off','attributes','values','connected','collaboration.channelId','687856PLCuIV','CloudServicesTrackChangesAdapter','addUser','then','isOfficialPlugin','addToReconnectionStack','set','TrackChangesService','_trackChangesService','_bufferedRequests'];_0x450e=function(){return _0x2a3037;};return _0x450e();}const _0x90cee=_0x1698;(function(_0x124bd8,_0x45debb){const _0x5f30e0=_0x1698,_0xe87020=_0x124bd8();while(!![]){try{const _0x2f8ca4=parseInt(_0x5f30e0(0x1d6))/0x1*(parseInt(_0x5f30e0(0x1e8))/0x2)+-parseInt(_0x5f30e0(0x1df))/0x3+-parseInt(_0x5f30e0(0x1fe))/0x4+parseInt(_0x5f30e0(0x1d4))/0x5*(-parseInt(_0x5f30e0(0x1e1))/0x6)+parseInt(_0x5f30e0(0x1d0))/0x7+parseInt(_0x5f30e0(0x1d5))/0x8+-parseInt(_0x5f30e0(0x1dc))/0x9*(parseInt(_0x5f30e0(0x1d8))/0xa);if(_0x2f8ca4===_0x45debb)break;else _0xe87020['push'](_0xe87020['shift']());}catch(_0x530c39){_0xe87020['push'](_0xe87020['shift']());}}}(_0x450e,0x1a00f));function _0x1698(_0x3b475e,_0x454b96){const _0x450e40=_0x450e();return _0x1698=function(_0x16989,_0x100dae){_0x16989=_0x16989-0x1c0;let _0x5d4fe0=_0x450e40[_0x16989];return _0x5d4fe0;},_0x1698(_0x3b475e,_0x454b96);}import{Plugin as _0x3a2409}from'ckeditor5/src/core.js';import{User as _0x26dccc,TrackChangesService as _0x409c7f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2dbbb0}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x14a2dd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x89b97f}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x3a2409{static [_0x90cee(0x1c5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x409c7f)());[_0x90cee(0x1c7)];[_0x90cee(0x1c6)];static get[_0x90cee(0x1f4)](){const _0x4e6df9=_0x90cee;return[_0x14a2dd,_0x4e6df9(0x1ec),_0x2dbbb0];}static get[_0x90cee(0x1f3)](){const _0x53956c=_0x90cee;return _0x53956c(0x1ff);}static get[_0x90cee(0x1c2)](){return!0x0;}static get[_0x90cee(0x1e9)](){return!0x0;}constructor(_0xc85bf4){const _0x30c716=_0x90cee;super(_0xc85bf4);const _0x1c7d1f=this[_0x30c716(0x1ea)][_0x30c716(0x1c9)][_0x30c716(0x1d7)](_0x30c716(0x1fd));this[_0x30c716(0x1c7)]=new Map(),this[_0x30c716(0x1c6)]=new m[(_0x30c716(0x1c5))](_0x1c7d1f);}[_0x90cee(0x1f6)](){const _0x41fd18=_0x90cee,_0x5ecb84=this[_0x41fd18(0x1ea)][_0x41fd18(0x1c8)][_0x41fd18(0x1d7)](_0x2dbbb0),_0x403522=this[_0x41fd18(0x1ea)][_0x41fd18(0x1c8)][_0x41fd18(0x1d7)](_0x41fd18(0x1ec));return _0x403522[_0x41fd18(0x1d9)]={'getSuggestion':async _0x123540=>{const _0x17955c=_0x41fd18;await this[_0x17955c(0x1de)]();const _0x50f58d=await this[_0x17955c(0x1c6)][_0x17955c(0x1d7)](_0x123540)[_0x17955c(0x1ee)](nt);return await this[_0x17955c(0x1d2)]([_0x50f58d]),_0x50f58d;},'addSuggestion':async({id:_0x1ad124,type:_0x32a92c,data:_0x3ef38d,originalSuggestionId:_0x1f57ea,attributes:_0x22d84a})=>{const _0x45b43d=_0x41fd18;await this[_0x45b43d(0x1de)]();const _0x32f0bf={'id':_0x1ad124,'type':_0x32a92c,'data':_0x3ef38d,'originalSuggestionId':_0x1f57ea,'attributes':_0x22d84a},_0x5a690a=await this[_0x45b43d(0x1c6)][_0x45b43d(0x1eb)](_0x1ad124,_0x32a92c,_0x3ef38d,_0x1f57ea,_0x22d84a)[_0x45b43d(0x1ee)](_0x327b32=>{if(P(_0x327b32))return new Promise(_0x49d98b=>{const _0x238627=_0x1698;this[_0x238627(0x1c7)][_0x238627(0x1c4)](_0x1ad124,{'resolve':_0x49d98b,'suggestionData':_0x32f0bf});});throw _0x327b32;});return this[_0x45b43d(0x1c7)][_0x45b43d(0x1dd)](_0x1ad124),_0x5a690a;},'updateSuggestion':async(_0x962619,_0x557d6b)=>{const _0x586cc1=_0x41fd18;if(await this[_0x586cc1(0x1de)](),_0x586cc1(0x1e3)!==_0x557d6b[_0x586cc1(0x1f7)])return this[_0x586cc1(0x1c6)][_0x586cc1(0x1d3)](_0x962619,_0x557d6b)[_0x586cc1(0x1ee)](nt);}},this[_0x41fd18(0x1db)](this[_0x41fd18(0x1c6)],_0x41fd18(0x1f2),(_0x2f0f68,_0x250102)=>{const _0xc21a47=_0x41fd18;_0x403522[_0xc21a47(0x1e6)](_0x250102['id'])&&(_0x403522[_0xc21a47(0x1cf)](_0x250102['id'])[_0xc21a47(0x1fa)]=_0x250102[_0xc21a47(0x1fa)]);}),this[_0x41fd18(0x1c6)][_0x41fd18(0x1ce)](_0x5ecb84[_0x41fd18(0x1d1)])[_0x41fd18(0x1c1)](_0x1e2415=>(_0x5ecb84[_0x41fd18(0x1c3)](this),this[_0x41fd18(0x1d2)](_0x1e2415)[_0x41fd18(0x1c1)](()=>{const _0x5ad685=_0x41fd18;for(const _0x12e513 of _0x1e2415){_0x403522[_0x5ad685(0x1e4)](_0x12e513)[_0x5ad685(0x1f1)]=!0x0;}})));}async[_0x90cee(0x1e0)](){const _0x2f8beb=_0x90cee,_0x50fe12=this[_0x2f8beb(0x1ea)][_0x2f8beb(0x1c8)][_0x2f8beb(0x1d7)](_0x2f8beb(0x1ec)),{connection:_0x36399a}=this[_0x2f8beb(0x1ea)][_0x2f8beb(0x1c8)][_0x2f8beb(0x1d7)](_0x2dbbb0),_0x43c71c=await this[_0x2f8beb(0x1c6)][_0x2f8beb(0x1ce)](_0x36399a);await this[_0x2f8beb(0x1d2)](_0x43c71c);for(const {suggestionData:_0x473d7e,resolve:_0x3127dd}of this[_0x2f8beb(0x1c7)][_0x2f8beb(0x1fb)]()){let _0x43df1c=_0x43c71c[_0x2f8beb(0x1f0)](_0x50cb69=>_0x50cb69['id']===_0x473d7e['id']);_0x43df1c||(_0x43df1c=await this[_0x2f8beb(0x1c6)][_0x2f8beb(0x1eb)](_0x473d7e['id'],_0x473d7e[_0x2f8beb(0x1cb)],_0x473d7e[_0x2f8beb(0x1ef)],_0x473d7e[_0x2f8beb(0x1cd)])),_0x3127dd(_0x43df1c);}for(const _0x178143 of _0x43c71c)_0x50fe12[_0x2f8beb(0x1e6)](_0x178143['id'])||_0x50fe12[_0x2f8beb(0x1e4)](_0x178143);}async[_0x90cee(0x1de)](){const _0x1e012c=_0x90cee;this[_0x1e012c(0x1c6)][_0x1e012c(0x1e7)]||await new Promise(_0x35e3d2=>{const _0x395af5=_0x1e012c;this[_0x395af5(0x1db)](this[_0x395af5(0x1c6)],_0x395af5(0x1fc),_0x4b097d=>{const _0x45decd=_0x395af5;_0x4b097d[_0x45decd(0x1f9)](),_0x35e3d2();});});}async[_0x90cee(0x1d2)](_0x565230){const _0x43d803=_0x90cee,_0x68f67=this[_0x43d803(0x1ea)][_0x43d803(0x1c8)][_0x43d803(0x1d7)](_0x89b97f),{connection:_0x7bc6e4}=this[_0x43d803(0x1ea)][_0x43d803(0x1c8)][_0x43d803(0x1d7)](_0x2dbbb0),_0x26768b=new Set();for(const {authorId:_0x5afcef}of _0x565230)_0x68f67[_0x43d803(0x1e5)](_0x5afcef)||_0x26768b[_0x43d803(0x1eb)](_0x5afcef);if(0x0===_0x26768b[_0x43d803(0x1ed)])return;const _0xfc378d=await _0x26dccc[_0x43d803(0x1e2)](_0x7bc6e4,Array[_0x43d803(0x1f5)](_0x26768b));for(const _0x5e3aa9 of _0xfc378d)_0x68f67[_0x43d803(0x1e5)](_0x5e3aa9['id'])||_0x68f67[_0x43d803(0x1c0)](_0x5e3aa9);}}export{m as CloudServicesTrackChangesAdapter};function nt(_0x582708){if(P(_0x582708))return new Promise(()=>{});throw _0x582708;}function P(_0x462263){const _0x3b4074=_0x90cee;return _0x462263[_0x3b4074(0x1da)][_0x3b4074(0x1f8)](_0x3b4074(0x1cc))||_0x462263[_0x3b4074(0x1da)][_0x3b4074(0x1f8)](_0x3b4074(0x1ca));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c5b(){var _0x59733f=['75134uqbnbe','732063oasUfu','RealTimeCollaborativeTrackChanges','21vdiTxz','1351576YuWlLJ','1879452bGTuMj','4030210PRSZsk','requires','3431025MrymdS','4xDhqcm','pluginName','22FKcbnH','4EBbApv','isPremiumPlugin','TrackChanges','5942718fvEgfX','isOfficialPlugin'];_0x4c5b=function(){return _0x59733f;};return _0x4c5b();}var _0x107be8=_0x8c8f;(function(_0x13536c,_0x119f73){var _0xe818e5=_0x8c8f,_0x15f3ef=_0x13536c();while(!![]){try{var _0x4797b2=-parseInt(_0xe818e5(0x17e))/0x1*(-parseInt(_0xe818e5(0x183))/0x2)+parseInt(_0xe818e5(0x184))/0x3*(parseInt(_0xe818e5(0x17b))/0x4)+-parseInt(_0xe818e5(0x17a))/0x5+-parseInt(_0xe818e5(0x177))/0x6+-parseInt(_0xe818e5(0x186))/0x7*(parseInt(_0xe818e5(0x176))/0x8)+parseInt(_0xe818e5(0x181))/0x9+parseInt(_0xe818e5(0x178))/0xa*(parseInt(_0xe818e5(0x17d))/0xb);if(_0x4797b2===_0x119f73)break;else _0x15f3ef['push'](_0x15f3ef['shift']());}catch(_0x1c8659){_0x15f3ef['push'](_0x15f3ef['shift']());}}}(_0x4c5b,0x56829));function _0x8c8f(_0x128db9,_0x41a5d8){var _0x4c5bf8=_0x4c5b();return _0x8c8f=function(_0x8c8feb,_0xee50fb){_0x8c8feb=_0x8c8feb-0x176;var _0x37702b=_0x4c5bf8[_0x8c8feb];return _0x37702b;},_0x8c8f(_0x128db9,_0x41a5d8);}import{Plugin as _0x2a1b5b}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x1bf228}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x4747a4}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2a1b5b{static get[_0x107be8(0x179)](){var _0x4645dd=_0x107be8;return[_0x4747a4,_0x1bf228,_0x4645dd(0x180)];}static get[_0x107be8(0x17c)](){var _0x1bbd6d=_0x107be8;return _0x1bbd6d(0x185);}static get[_0x107be8(0x182)](){return!0x0;}static get[_0x107be8(0x17f)](){return!0x0;}}
23
+ var _0x2a4ebf=_0x4792;(function(_0x1b227d,_0x29cd44){var _0x212b51=_0x4792,_0x34e50b=_0x1b227d();while(!![]){try{var _0x21b651=parseInt(_0x212b51(0xe1))/0x1+parseInt(_0x212b51(0xe8))/0x2*(parseInt(_0x212b51(0xe0))/0x3)+parseInt(_0x212b51(0xe3))/0x4*(-parseInt(_0x212b51(0xe5))/0x5)+parseInt(_0x212b51(0xe2))/0x6+parseInt(_0x212b51(0xec))/0x7+parseInt(_0x212b51(0xde))/0x8+-parseInt(_0x212b51(0xe9))/0x9;if(_0x21b651===_0x29cd44)break;else _0x34e50b['push'](_0x34e50b['shift']());}catch(_0x3331a1){_0x34e50b['push'](_0x34e50b['shift']());}}}(_0x330f,0x68492));import{Plugin as _0x262343}from'ckeditor5/src/core.js';function _0x4792(_0x54d979,_0x27f193){var _0x330f9f=_0x330f();return _0x4792=function(_0x479222,_0x17d734){_0x479222=_0x479222-0xde;var _0x5e3af9=_0x330f9f[_0x479222];return _0x5e3af9;},_0x4792(_0x54d979,_0x27f193);}import{CloudServicesTrackChangesAdapter as _0x3e24ee}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3dc6c1}from'./realtimecollaborativecomments.js';function _0x330f(){var _0x28f57c=['4949988IBmord','1588LrFeDk','isPremiumPlugin','6905HHIQIl','pluginName','TrackChanges','176504wGTXkF','16185294aYOlKC','isOfficialPlugin','RealTimeCollaborativeTrackChanges','2692305iOOlcw','5320056sAxIzR','requires','12NhIqJK','546149IfJLlM'];_0x330f=function(){return _0x28f57c;};return _0x330f();}export class RealTimeCollaborativeTrackChanges extends _0x262343{static get[_0x2a4ebf(0xdf)](){var _0x30d30b=_0x2a4ebf;return[_0x3dc6c1,_0x3e24ee,_0x30d30b(0xe7)];}static get[_0x2a4ebf(0xe6)](){var _0x2868d6=_0x2a4ebf;return _0x2868d6(0xeb);}static get[_0x2a4ebf(0xea)](){return!0x0;}static get[_0x2a4ebf(0xe4)](){return!0x0;}}