@ckeditor/ckeditor5-real-time-collaboration 46.0.3 → 46.1.0-alpha.1

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 +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 _0x9aa495=_0x364b;(function(_0x4f4d69,_0x301dae){const _0x7c989c=_0x364b,_0x12ab62=_0x4f4d69();while(!![]){try{const _0x2f0954=-parseInt(_0x7c989c(0xeb))/0x1*(parseInt(_0x7c989c(0xf0))/0x2)+-parseInt(_0x7c989c(0x10b))/0x3*(parseInt(_0x7c989c(0xe3))/0x4)+parseInt(_0x7c989c(0x106))/0x5+-parseInt(_0x7c989c(0xea))/0x6+-parseInt(_0x7c989c(0x10a))/0x7+parseInt(_0x7c989c(0xfa))/0x8*(-parseInt(_0x7c989c(0xdb))/0x9)+parseInt(_0x7c989c(0xfb))/0xa*(parseInt(_0x7c989c(0xe2))/0xb);if(_0x2f0954===_0x301dae)break;else _0x12ab62['push'](_0x12ab62['shift']());}catch(_0x663b1d){_0x12ab62['push'](_0x12ab62['shift']());}}}(_0x488f,0x54c54));import{ContextPlugin as _0x3c36f8}from'ckeditor5/src/core.js';function _0x488f(){const _0x5117dc=['Connected\x20users\x20limit\x20exceeded','addToReconnectionStack','set','isOfficialPlugin','_domEmitter','real-time-collaboration','websocketgateway-plugin-already-registered','state','_isBrowserOffline','WebSocketGateway','get','websocketgateway-missing-websocket-url','constructor','context','stopListening','then','define','cloudServices.connectionTimeout','isPremiumPlugin','delete','plugins','all','showWarning','reconnect','755442VIpzSB','code','listenTo','limitExceeded','disconnect','token','removeFromReconnectionStack','11qYrcRs','118780yllFDx','online','CONNECTING','initialReconnectionInterval','connected','connect','has','1229316uKbOGd','13vPsnDa','CONNECTED','_shouldPluginsReconnect','websocketgateway-missing-token','cloudServices.requestTimeout','40598OzxMEm','cloudservices-init','catch','bind','requires','change:me','pluginName','isInReconnectionStack','function','from','56coHoRB','16148420IZJQvA','websocketgateway-invalid-plugin-interface','DISCONNECTED','_reconnect','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','offline','CloudServices','init','_reconnectionStack','config','connection','1264200lzRHrn','destroy','cloudservices-reconnection-error','error','546616RBVBvt','39hJFxSA','webSocketUrl','add'];_0x488f=function(){return _0x5117dc;};return _0x488f();}import{DomEmitterMixin as _0x1ef168,CKEditorError as _0x3a6492}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2e3216,WEB_SOCKET_GATEWAY_STATES as _0x1eeddd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x364b(_0x4f30d5,_0x2a8445){const _0x488ffd=_0x488f();return _0x364b=function(_0x364b76,_0x578618){_0x364b76=_0x364b76-0xd1;let _0x3bf743=_0x488ffd[_0x364b76];return _0x3bf743;},_0x364b(_0x4f30d5,_0x2a8445);}import{Notification as _0x13e5cc}from'ckeditor5/src/ui.js';class n extends _0x3c36f8{static [_0x9aa495(0x117)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2e3216)());static [_0x9aa495(0xe6)]=0x3e8;[_0x9aa495(0x105)];[_0x9aa495(0x103)];[_0x9aa495(0xed)];[_0x9aa495(0x112)];static get[_0x9aa495(0xf4)](){const _0x5de1e4=_0x9aa495;return[_0x5de1e4(0x101),_0x13e5cc];}static get[_0x9aa495(0xf6)](){const _0x43e545=_0x9aa495;return _0x43e545(0x117);}static get[_0x9aa495(0x111)](){return!0x0;}static get[_0x9aa495(0xd5)](){return!0x0;}constructor(_0x1d59b6){const _0x1ca78b=_0x9aa495;super(_0x1d59b6),this[_0x1ca78b(0x110)](_0x1ca78b(0x115),_0x1eeddd[_0x1ca78b(0xec)]),this[_0x1ca78b(0x110)](_0x1ca78b(0x116),!0x1),this[_0x1ca78b(0x103)]=new Set(),this[_0x1ca78b(0xed)]=!0x1,this[_0x1ca78b(0x112)]=new(_0x1ef168())();}[_0x9aa495(0x102)](){const _0x5d3c10=_0x9aa495,_0x480d89=this[_0x5d3c10(0x11b)],_0x57f635=_0x480d89[_0x5d3c10(0xd7)][_0x5d3c10(0x118)](_0x5d3c10(0x101)),_0x254afd=_0x480d89[_0x5d3c10(0xd7)][_0x5d3c10(0x118)](_0x13e5cc);if(!_0x57f635[_0x5d3c10(0xe0)])throw new _0x3a6492(_0x5d3c10(0xee),this);if(!_0x57f635[_0x5d3c10(0x10c)])throw new _0x3a6492(_0x5d3c10(0x119),this);return this[_0x5d3c10(0x112)][_0x5d3c10(0xdd)](window,_0x5d3c10(0x100),()=>this[_0x5d3c10(0x116)]=!0x0),this[_0x5d3c10(0x112)][_0x5d3c10(0xdd)](window,_0x5d3c10(0xe4),()=>this[_0x5d3c10(0x116)]=!0x1),this[_0x5d3c10(0x11b)][_0x5d3c10(0x104)][_0x5d3c10(0xd3)](_0x5d3c10(0xd4),0xa),this[_0x5d3c10(0x11b)][_0x5d3c10(0x104)][_0x5d3c10(0xd3)](_0x5d3c10(0xef),0x14),n[_0x5d3c10(0x117)][_0x5d3c10(0xe8)](_0x57f635[_0x5d3c10(0xe0)],_0x57f635[_0x5d3c10(0x10c)],{'timeout':0x3e8*this[_0x5d3c10(0x11b)][_0x5d3c10(0x104)][_0x5d3c10(0x118)](_0x5d3c10(0xd4)),'requestTimeout':0x3e8*this[_0x5d3c10(0x11b)][_0x5d3c10(0x104)][_0x5d3c10(0x118)](_0x5d3c10(0xef))})[_0x5d3c10(0xd2)](_0x4c6b19=>{const _0x54ab26=_0x5d3c10;if(this[_0x54ab26(0x105)]=_0x4c6b19,this[_0x54ab26(0xf3)](_0x54ab26(0x115))['to'](_0x4c6b19,_0x54ab26(0x115),this,_0x54ab26(0x116),(_0x272461,_0x2e99e7)=>(_0x54ab26(0xe7)!==_0x272461&&(this[_0x54ab26(0xed)]=!0x0),_0x2e99e7||_0x272461!==_0x1eeddd[_0x54ab26(0xec)]?_0x1eeddd[_0x54ab26(0xfd)]:this[_0x54ab26(0x115)]==_0x1eeddd[_0x54ab26(0xfd)]&&this[_0x54ab26(0xed)]?(this[_0x54ab26(0xed)]=!0x1,this[_0x54ab26(0xfe)](),_0x1eeddd[_0x54ab26(0xe5)]):_0x1eeddd[_0x54ab26(0xec)])),this[_0x54ab26(0x105)]['on'](_0x54ab26(0x109),(_0x2424c6,_0x5c84e7)=>{const _0x1fad4f=_0x54ab26;if(_0x1fad4f(0xde)!==_0x5c84e7[_0x1fad4f(0xdc)])throw console[_0x1fad4f(0x109)](_0x5c84e7),new _0x3a6492(_0x1fad4f(0xf1),null,{'originalError':_0x5c84e7});_0x254afd[_0x1fad4f(0xd9)](_0x1fad4f(0xff),{'title':_0x1fad4f(0x10e),'namespace':_0x1fad4f(0x113)});}),!_0x4c6b19['me'])return new Promise(_0x44ddce=>_0x4c6b19['on'](_0x54ab26(0xf5),_0x44ddce));})[_0x5d3c10(0xf2)](_0x332ff0=>{const _0x4b5a3f=_0x5d3c10;throw console[_0x4b5a3f(0x109)](_0x332ff0),new _0x3a6492(_0x4b5a3f(0xf1),null,{'originalError':_0x332ff0});});}[_0x9aa495(0x10f)](_0x5aec4c){const _0x38e9dc=_0x9aa495;if(_0x38e9dc(0xf8)!=typeof _0x5aec4c[_0x38e9dc(0xda)])throw new _0x3a6492(_0x38e9dc(0xfc),this);if(this[_0x38e9dc(0xf7)](_0x5aec4c))throw new _0x3a6492(_0x38e9dc(0x114),this,{'name':_0x5aec4c[_0x38e9dc(0x11a)][_0x38e9dc(0xf6)]});this[_0x38e9dc(0x103)][_0x38e9dc(0x10d)](_0x5aec4c);}[_0x9aa495(0xe1)](_0xfef1f7){const _0x46d7bc=_0x9aa495;this[_0x46d7bc(0x103)][_0x46d7bc(0xd6)](_0xfef1f7);}[_0x9aa495(0xf7)](_0x297017){const _0x389175=_0x9aa495;return this[_0x389175(0x103)][_0x389175(0xe9)](_0x297017);}[_0x9aa495(0xfe)](){const _0x3309ca=_0x9aa495;return this[_0x3309ca(0x105)][_0x3309ca(0xda)]()[_0x3309ca(0xd2)](()=>Promise[_0x3309ca(0xd8)](Array[_0x3309ca(0xf9)](this[_0x3309ca(0x103)],_0x55be0b=>_0x55be0b[_0x3309ca(0xda)]())))[_0x3309ca(0xd2)](()=>this[_0x3309ca(0x115)]=_0x1eeddd[_0x3309ca(0xec)])[_0x3309ca(0xf2)](_0x332059=>{const _0x5bd691=_0x3309ca;throw console[_0x5bd691(0x109)](_0x332059),new _0x3a6492(_0x5bd691(0x108),this[_0x5bd691(0x11b)]);});}[_0x9aa495(0xdf)](){const _0x11ccd7=_0x9aa495;this[_0x11ccd7(0x105)]&&this[_0x11ccd7(0x105)][_0x11ccd7(0xdf)](),this[_0x11ccd7(0x115)]=_0x1eeddd[_0x11ccd7(0xfd)],this[_0x11ccd7(0x112)][_0x11ccd7(0xd1)]();}[_0x9aa495(0x107)](){const _0x5c6f4f=_0x9aa495;this[_0x5c6f4f(0xdf)](),super[_0x5c6f4f(0x107)]();}}export{n as WebSocketGateway};
23
+ const _0x7ececd=_0x56ab;(function(_0x59314d,_0x3ca6ca){const _0x591a29=_0x56ab,_0x4192ff=_0x59314d();while(!![]){try{const _0x5ea5f1=-parseInt(_0x591a29(0xa7))/0x1+parseInt(_0x591a29(0xca))/0x2*(-parseInt(_0x591a29(0xd9))/0x3)+parseInt(_0x591a29(0xe0))/0x4+-parseInt(_0x591a29(0xaa))/0x5+parseInt(_0x591a29(0xcf))/0x6+parseInt(_0x591a29(0xb5))/0x7*(-parseInt(_0x591a29(0xe6))/0x8)+-parseInt(_0x591a29(0xb9))/0x9*(-parseInt(_0x591a29(0xaf))/0xa);if(_0x5ea5f1===_0x3ca6ca)break;else _0x4192ff['push'](_0x4192ff['shift']());}catch(_0x4e1a36){_0x4192ff['push'](_0x4192ff['shift']());}}}(_0x4912,0x9ce95));import{ContextPlugin as _0x1c6439}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x23c4e9,CKEditorError as _0x5f3466}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xeba5ba,WEB_SOCKET_GATEWAY_STATES as _0x10eaf8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3b444c}from'ckeditor5/src/ui.js';class n extends _0x1c6439{static [_0x7ececd(0xad)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xeba5ba)());static [_0x7ececd(0xa8)]=0x3e8;[_0x7ececd(0xb3)];[_0x7ececd(0xa2)];[_0x7ececd(0xd2)];[_0x7ececd(0xda)];static get[_0x7ececd(0xc4)](){const _0x412086=_0x7ececd;return[_0x412086(0xbc),_0x3b444c];}static get[_0x7ececd(0xac)](){const _0x5b0a26=_0x7ececd;return _0x5b0a26(0xad);}static get[_0x7ececd(0xde)](){return!0x0;}static get[_0x7ececd(0xb7)](){return!0x0;}constructor(_0x582dde){const _0x19605a=_0x7ececd;super(_0x582dde),this[_0x19605a(0xce)](_0x19605a(0xcc),_0x10eaf8[_0x19605a(0xe9)]),this[_0x19605a(0xce)](_0x19605a(0xe1),!0x1),this[_0x19605a(0xa2)]=new Set(),this[_0x19605a(0xd2)]=!0x1,this[_0x19605a(0xda)]=new(_0x23c4e9())();}[_0x7ececd(0xd1)](){const _0x8025af=_0x7ececd,_0x20d9d9=this[_0x8025af(0xa5)],_0x526f09=_0x20d9d9[_0x8025af(0xc6)][_0x8025af(0xd4)](_0x8025af(0xbc)),_0x1c9c09=_0x20d9d9[_0x8025af(0xc6)][_0x8025af(0xd4)](_0x3b444c);if(!_0x526f09[_0x8025af(0xbe)])throw new _0x5f3466(_0x8025af(0xc3),this);if(!_0x526f09[_0x8025af(0xe8)])throw new _0x5f3466(_0x8025af(0xe3),this);return this[_0x8025af(0xda)][_0x8025af(0xcb)](window,_0x8025af(0xd3),()=>this[_0x8025af(0xe1)]=!0x0),this[_0x8025af(0xda)][_0x8025af(0xcb)](window,_0x8025af(0xd6),()=>this[_0x8025af(0xe1)]=!0x1),this[_0x8025af(0xa5)][_0x8025af(0xc1)][_0x8025af(0xdf)](_0x8025af(0xd5),0xa),this[_0x8025af(0xa5)][_0x8025af(0xc1)][_0x8025af(0xdf)](_0x8025af(0xe4),0x14),n[_0x8025af(0xad)][_0x8025af(0xe2)](_0x526f09[_0x8025af(0xbe)],_0x526f09[_0x8025af(0xe8)],{'timeout':0x3e8*this[_0x8025af(0xa5)][_0x8025af(0xc1)][_0x8025af(0xd4)](_0x8025af(0xd5)),'requestTimeout':0x3e8*this[_0x8025af(0xa5)][_0x8025af(0xc1)][_0x8025af(0xd4)](_0x8025af(0xe4))})[_0x8025af(0xa6)](_0x19c960=>{const _0x496335=_0x8025af;if(this[_0x496335(0xb3)]=_0x19c960,this[_0x496335(0xb2)](_0x496335(0xcc))['to'](_0x19c960,_0x496335(0xcc),this,_0x496335(0xe1),(_0x2d412d,_0x521a0c)=>(_0x496335(0xb6)!==_0x2d412d&&(this[_0x496335(0xd2)]=!0x0),_0x521a0c||_0x2d412d!==_0x10eaf8[_0x496335(0xe9)]?_0x10eaf8[_0x496335(0xba)]:this[_0x496335(0xcc)]==_0x10eaf8[_0x496335(0xba)]&&this[_0x496335(0xd2)]?(this[_0x496335(0xd2)]=!0x1,this[_0x496335(0xbf)](),_0x10eaf8[_0x496335(0xa1)]):_0x10eaf8[_0x496335(0xe9)])),this[_0x496335(0xb3)]['on'](_0x496335(0xbb),(_0x2ee2c5,_0x458a3e)=>{const _0x563281=_0x496335;if(_0x563281(0xcd)!==_0x458a3e[_0x563281(0xdc)])throw console[_0x563281(0xbb)](_0x458a3e),new _0x5f3466(_0x563281(0xd7),null,{'originalError':_0x458a3e});_0x1c9c09[_0x563281(0xea)](_0x563281(0xc0),{'title':_0x563281(0xae),'namespace':_0x563281(0xb1)});}),!_0x19c960['me'])return new Promise(_0x3c0bda=>_0x19c960['on'](_0x496335(0xb4),_0x3c0bda));})[_0x8025af(0xe5)](_0x17cf66=>{const _0x214066=_0x8025af;throw console[_0x214066(0xbb)](_0x17cf66),new _0x5f3466(_0x214066(0xd7),null,{'originalError':_0x17cf66});});}[_0x7ececd(0xb0)](_0x4cc9ec){const _0x4c4ee9=_0x7ececd;if(_0x4c4ee9(0xc5)!=typeof _0x4cc9ec[_0x4c4ee9(0xb8)])throw new _0x5f3466(_0x4c4ee9(0xbd),this);if(this[_0x4c4ee9(0xe7)](_0x4cc9ec))throw new _0x5f3466(_0x4c4ee9(0xc7),this,{'name':_0x4cc9ec[_0x4c4ee9(0xa9)][_0x4c4ee9(0xac)]});this[_0x4c4ee9(0xa2)][_0x4c4ee9(0xd0)](_0x4cc9ec);}[_0x7ececd(0xa3)](_0x10cccf){const _0x300d5a=_0x7ececd;this[_0x300d5a(0xa2)][_0x300d5a(0xdd)](_0x10cccf);}[_0x7ececd(0xe7)](_0x13278d){const _0x11822b=_0x7ececd;return this[_0x11822b(0xa2)][_0x11822b(0xdb)](_0x13278d);}[_0x7ececd(0xbf)](){const _0x3b1c8e=_0x7ececd;return this[_0x3b1c8e(0xb3)][_0x3b1c8e(0xb8)]()[_0x3b1c8e(0xa6)](()=>Promise[_0x3b1c8e(0xc9)](Array[_0x3b1c8e(0xc2)](this[_0x3b1c8e(0xa2)],_0x56edb7=>_0x56edb7[_0x3b1c8e(0xb8)]())))[_0x3b1c8e(0xa6)](()=>this[_0x3b1c8e(0xcc)]=_0x10eaf8[_0x3b1c8e(0xe9)])[_0x3b1c8e(0xe5)](_0x18dc47=>{const _0x30ee12=_0x3b1c8e;throw console[_0x30ee12(0xbb)](_0x18dc47),new _0x5f3466(_0x30ee12(0xc8),this[_0x30ee12(0xa5)]);});}[_0x7ececd(0xab)](){const _0x73a963=_0x7ececd;this[_0x73a963(0xb3)]&&this[_0x73a963(0xb3)][_0x73a963(0xab)](),this[_0x73a963(0xcc)]=_0x10eaf8[_0x73a963(0xba)],this[_0x73a963(0xda)][_0x73a963(0xd8)]();}[_0x7ececd(0xa4)](){const _0x43b0a4=_0x7ececd;this[_0x43b0a4(0xab)](),super[_0x43b0a4(0xa4)]();}}function _0x56ab(_0x305595,_0x474b29){const _0x4912aa=_0x4912();return _0x56ab=function(_0x56abd,_0x54db20){_0x56abd=_0x56abd-0xa1;let _0x438492=_0x4912aa[_0x56abd];return _0x438492;},_0x56ab(_0x305595,_0x474b29);}export{n as WebSocketGateway};function _0x4912(){const _0x1e6858=['online','cloudservices-init','stopListening','157485BToUpx','_domEmitter','has','code','delete','isOfficialPlugin','define','3941040cIzBpe','_isBrowserOffline','connect','websocketgateway-missing-websocket-url','cloudServices.requestTimeout','catch','80DraFrs','isInReconnectionStack','webSocketUrl','CONNECTED','showWarning','CONNECTING','_reconnectionStack','removeFromReconnectionStack','destroy','context','then','1243163mopBUD','initialReconnectionInterval','constructor','3172430FtwsxC','disconnect','pluginName','WebSocketGateway','Connected\x20users\x20limit\x20exceeded','30170qjQQJk','addToReconnectionStack','real-time-collaboration','bind','connection','change:me','226807TJTNzQ','connected','isPremiumPlugin','reconnect','5454YwOOkp','DISCONNECTED','error','CloudServices','websocketgateway-invalid-plugin-interface','token','_reconnect','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','config','from','websocketgateway-missing-token','requires','function','plugins','websocketgateway-plugin-already-registered','cloudservices-reconnection-error','all','38UPbUEc','listenTo','state','limitExceeded','set','6169266clUgpI','add','init','_shouldPluginsReconnect','offline','get','cloudServices.connectionTimeout'];_0x4912=function(){return _0x1e6858;};return _0x4912();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1d09(){var _0x57ba6e=['1022724yvrRCQ','1815903FIogpo','8904880YYUxDW','pluginName','isOfficialPlugin','13871272zWjPad','8148NgLEOT','7okChTr','4297220xsTefU','148196aScPBb','isPremiumPlugin','RealTimeCollaborativeEditing','requires','20QlXWEU'];_0x1d09=function(){return _0x57ba6e;};return _0x1d09();}var _0x2cd517=_0x44c8;(function(_0x4825c5,_0x1cd5ef){var _0x4db4f5=_0x44c8,_0x1c96bf=_0x4825c5();while(!![]){try{var _0x42daf7=-parseInt(_0x4db4f5(0x99))/0x1*(parseInt(_0x4db4f5(0x95))/0x2)+-parseInt(_0x4db4f5(0x92))/0x3+-parseInt(_0x4db4f5(0x94))/0x4+parseInt(_0x4db4f5(0x9c))/0x5+parseInt(_0x4db4f5(0x9a))/0x6+-parseInt(_0x4db4f5(0x93))/0x7*(-parseInt(_0x4db4f5(0x91))/0x8)+-parseInt(_0x4db4f5(0x9b))/0x9;if(_0x42daf7===_0x1cd5ef)break;else _0x1c96bf['push'](_0x1c96bf['shift']());}catch(_0x48e23a){_0x1c96bf['push'](_0x1c96bf['shift']());}}}(_0x1d09,0xe1baf));function _0x44c8(_0x28d597,_0x5d5761){var _0x1d091b=_0x1d09();return _0x44c8=function(_0x44c8dd,_0x443ab1){_0x44c8dd=_0x44c8dd-0x8f;var _0x1bf854=_0x1d091b[_0x44c8dd];return _0x1bf854;},_0x44c8(_0x28d597,_0x5d5761);}import{Plugin as _0x477121}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1cf202}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x477121{static get[_0x2cd517(0x98)](){return[_0x1cf202];}static get[_0x2cd517(0x8f)](){var _0x2696b0=_0x2cd517;return _0x2696b0(0x97);}static get[_0x2cd517(0x90)](){return!0x0;}static get[_0x2cd517(0x96)](){return!0x0;}}
23
+ function _0x1455(){var _0x448ea3=['478WsxvKI','isPremiumPlugin','pluginName','409DzIwbk','3655944IyvQEH','10652787xUZMWR','4541575OzyhKu','2783300zjpcKf','isOfficialPlugin','2178348NMSJTJ','2885844dKrOBZ','RealTimeCollaborativeEditing','7VpCSka','requires'];_0x1455=function(){return _0x448ea3;};return _0x1455();}var _0x205db5=_0x136d;(function(_0x3fad83,_0x524356){var _0x3729f0=_0x136d,_0x40aece=_0x3fad83();while(!![]){try{var _0x51fd71=-parseInt(_0x3729f0(0x195))/0x1*(-parseInt(_0x3729f0(0x192))/0x2)+parseInt(_0x3729f0(0x18e))/0x3+parseInt(_0x3729f0(0x199))/0x4+-parseInt(_0x3729f0(0x198))/0x5+-parseInt(_0x3729f0(0x19b))/0x6*(-parseInt(_0x3729f0(0x190))/0x7)+parseInt(_0x3729f0(0x196))/0x8+-parseInt(_0x3729f0(0x197))/0x9;if(_0x51fd71===_0x524356)break;else _0x40aece['push'](_0x40aece['shift']());}catch(_0x46a01e){_0x40aece['push'](_0x40aece['shift']());}}}(_0x1455,0x76121));import{Plugin as _0x5c736b}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x5c2d97}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x136d(_0x200dba,_0x13be39){var _0x145578=_0x1455();return _0x136d=function(_0x136d00,_0xd5ff02){_0x136d00=_0x136d00-0x18e;var _0x2b5c35=_0x145578[_0x136d00];return _0x2b5c35;},_0x136d(_0x200dba,_0x13be39);}export class RealTimeCollaborativeEditing extends _0x5c736b{static get[_0x205db5(0x191)](){return[_0x5c2d97];}static get[_0x205db5(0x194)](){var _0x8080d4=_0x205db5;return _0x8080d4(0x18f);}static get[_0x205db5(0x19a)](){return!0x0;}static get[_0x205db5(0x193)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5941cf=_0x3410;(function(_0xba14f5,_0x2d16a3){const _0x5d6ece=_0x3410,_0x4abbb4=_0xba14f5();while(!![]){try{const _0xdb7edd=parseInt(_0x5d6ece(0xbd))/0x1*(-parseInt(_0x5d6ece(0xfb))/0x2)+-parseInt(_0x5d6ece(0x130))/0x3*(-parseInt(_0x5d6ece(0x11a))/0x4)+parseInt(_0x5d6ece(0x112))/0x5*(parseInt(_0x5d6ece(0xf0))/0x6)+parseInt(_0x5d6ece(0xdd))/0x7+-parseInt(_0x5d6ece(0xd7))/0x8*(-parseInt(_0x5d6ece(0xca))/0x9)+-parseInt(_0x5d6ece(0xfc))/0xa*(-parseInt(_0x5d6ece(0xec))/0xb)+-parseInt(_0x5d6ece(0x100))/0xc*(parseInt(_0x5d6ece(0xe2))/0xd);if(_0xdb7edd===_0x2d16a3)break;else _0x4abbb4['push'](_0x4abbb4['shift']());}catch(_0x453bf6){_0x4abbb4['push'](_0x4abbb4['shift']());}}}(_0x1e5c,0x27f30));import{Plugin as _0x1d1885}from'ckeditor5/src/core.js';import{version as _0x34cad6}from'ckeditor5/src/utils.js';import{Users as _0x2da078}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x50278}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x90d006}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3f1d93}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x190b3f,RevisionHistoryService as _0x12595a,User as _0x5dd236,WEB_SOCKET_GATEWAY_STATES as _0x2886aa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1e5c(){const _0x70e06f=['cloudServices.bundleVersion','from','fromVersion','connected','add','243355AsHdBA','init','remove','_handleReconnectionError','sendBufferedUpdates','1479920rncsHy','max','CloudServicesRevisionHistoryAdapter','code','reconnect','adapter','getUser','data','baseVersion','config','345103PbvdbI','pluginName','cloud-services-internal-error:\x20Not\x20connected.','_createCurrentRevision','162XAwGDf','cloud-services-internal-error:\x20Request\x20timeout.','_waitForServiceReady','isConnected','getOperations','isPremiumPlugin','state','_revisionTracker','keys','RevisionHistoryService','diffData','2JDyiwB','70WkVaVR','setRevisionData','type','get','36IJddzf','map','length','creatorId','_lastRequestId','setSource','createdAt','serverHistory','isEnabled','catch','repository','connection','CONNECTED','off','bind','collaboration.channelId','reInit','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','23485YYkpSH','_revisions','destroy','_getLatestVersion','_fixRevision','_revisionHistoryService','_update','affectsData','24buOboX','connect','updateRevisions','currentRevision','_preventResendingRevisionData','sessionId','addRevisionData','_getLatestVersionFromServerOperations','_isConnected','marker','wrongRequestId','addToReconnectionStack','400','isEmptyCurrent','_revisionDataBuilder','authors','_offset','RevisionTracker','_startingVersion','isBundleUploaded','size','revisionsUpdated','38205lUHPeC','listenTo','authorsIds','reverse','56402EcwXdv','toVersion','startsWith','getRevisions','isOfficialPlugin','_isPendingUpdate','_fetchMissingUsers','once','buildRevisionData','RevisionHistory','change:_isPendingUpdate','plugins','has','171JMrlby','then','_oldOffset','change:_isConnected','getRevision','_bufferedUpdates','getMany','_bufferUpdate','editor','addUser','_handleRevisionsUpdate','requires','message','43768EwHPsd'];_0x1e5c=function(){return _0x70e06f;};return _0x1e5c();}class c extends _0x1d1885{static [_0x5941cf(0xf9)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x12595a)());[_0x5941cf(0x104)];[_0x5941cf(0xf7)];[_0x5941cf(0x117)];[_0x5941cf(0xcc)];static get[_0x5941cf(0xd5)](){const _0xdc888d=_0x5941cf;return[_0x90d006,_0x50278,_0xdc888d(0xc6),_0x3f1d93,_0x2da078];}static get[_0x5941cf(0xed)](){const _0x3773cb=_0x5941cf;return _0x3773cb(0xe4);}static get[_0x5941cf(0xc1)](){return!0x0;}static get[_0x5941cf(0xf5)](){return!0x0;}constructor(_0x5771d2){const _0x5f3807=_0x5941cf;super(_0x5771d2);const _0x3a1124=this[_0x5f3807(0xd2)][_0x5f3807(0xeb)][_0x5f3807(0xff)](_0x5f3807(0x10f));this[_0x5f3807(0x104)]=null,this[_0x5f3807(0xf7)]=this[_0x5f3807(0xd2)][_0x5f3807(0xc8)][_0x5f3807(0xff)](_0x5f3807(0x12b)),this[_0x5f3807(0x117)]=new c[(_0x5f3807(0xf9))](_0x3a1124);}async[_0x5941cf(0xde)](){const _0x52e1bf=_0x5941cf,_0x299e5c=this[_0x52e1bf(0xd2)][_0x52e1bf(0xc8)][_0x52e1bf(0xff)](_0x50278),_0x3c8b70=_0x299e5c[_0x52e1bf(0x107)],_0x205693=this[_0x52e1bf(0xd2)][_0x52e1bf(0xc8)][_0x52e1bf(0xff)](_0x90d006);this[_0x52e1bf(0xf7)][_0x52e1bf(0x105)]({'history':_0x3c8b70,'getLatestVersion':()=>this[_0x52e1bf(0x115)](),'getCurrentRevisionId':()=>_0x299e5c[_0x52e1bf(0x11f)]});const _0x3fbff5=this[_0x52e1bf(0xd2)][_0x52e1bf(0xeb)][_0x52e1bf(0xff)](_0x52e1bf(0xd8))||_0x34cad6,_0x5eeb5b=await _0x190b3f[_0x52e1bf(0x12d)](_0x205693[_0x52e1bf(0x10b)],_0x3fbff5);this[_0x52e1bf(0xd2)][_0x52e1bf(0xc8)][_0x52e1bf(0xff)](_0x52e1bf(0xc6))[_0x52e1bf(0xe7)]={'getRevision':async({revisionId:_0x3accde})=>(await this[_0x52e1bf(0xf2)](),await this[_0x52e1bf(0x117)][_0x52e1bf(0xce)](_0x3accde)),'updateRevisions':async _0x1af1c3=>{const _0x1e3833=_0x52e1bf;await this[_0x1e3833(0xf2)]();const _0x4292b2=this[_0x1e3833(0xf7)][_0x1e3833(0x11d)];if(_0x5eeb5b&&0x1===_0x1af1c3[_0x1e3833(0x102)]&&_0x1af1c3[0x0]['id']===_0x4292b2['id'])return _0x1af1c3;for(const _0x103a33 of _0x1af1c3)_0x103a33['id']===_0x4292b2['id']&&(_0x103a33[_0x1e3833(0x127)]=_0x103a33[_0x1e3833(0xda)]===_0x103a33[_0x1e3833(0xbe)]);return this[_0x1e3833(0x117)][_0x1e3833(0x11c)](_0x1af1c3,this[_0x1e3833(0x104)])[_0x1e3833(0xcb)](_0x1ce9f1=>(this[_0x1e3833(0x104)]=_0x1ce9f1,_0x1af1c3))[_0x1e3833(0x109)](_0x3cf0e9=>{const _0x550228=_0x1e3833;if(P(_0x3cf0e9)||_0x550228(0x126)===_0x3cf0e9[_0x550228(0xe5)]&&void 0x0!==_0x3cf0e9[_0x550228(0xe9)][_0x550228(0x124)]){for(const _0x455b45 of _0x1af1c3){!this[_0x550228(0xf7)][_0x550228(0x10a)][_0x550228(0xce)](_0x455b45['id'])||this[_0x550228(0xf7)][_0x550228(0xd1)](_0x455b45['id'],_0x455b45,!0x1);}if(P(_0x3cf0e9))throw _0x3cf0e9;return _0x1af1c3;}throw _0x3cf0e9;});}},this[_0x52e1bf(0x131)](this[_0x52e1bf(0x117)],_0x52e1bf(0x12f),(_0x5033aa,{revisionsData:_0x1d3203,requestId:_0x523bab})=>{const _0x36dbed=_0x52e1bf;Math[_0x36dbed(0xe3)](..._0x1d3203[_0x36dbed(0x101)](_0x3fefed=>_0x3fefed[_0x36dbed(0xbe)]))>this[_0x36dbed(0x121)]()-0x1?this[_0x36dbed(0x115)]()[_0x36dbed(0xcb)](()=>{const _0x48f852=_0x36dbed;this[_0x48f852(0xd4)](_0x1d3203,_0x523bab);}):this[_0x36dbed(0xd4)](_0x1d3203,_0x523bab);});const {revisions:_0x40cfd6,requestId:_0x1345d8}=await this[_0x52e1bf(0x117)][_0x52e1bf(0x11b)](_0x205693[_0x52e1bf(0x10b)]);_0x205693[_0x52e1bf(0x125)](this),this[_0x52e1bf(0x104)]=_0x1345d8,await this[_0x52e1bf(0xc3)](_0x40cfd6);for(const _0x529468 of _0x40cfd6)this[_0x52e1bf(0xf7)][_0x52e1bf(0x120)](_0x529468);this[_0x52e1bf(0x131)](_0x299e5c,_0x52e1bf(0xcd),(_0x4fd2a5,_0x2602b2,_0x442cd9)=>{const _0x277114=_0x52e1bf;_0x442cd9&&(this[_0x277114(0xcc)]=_0x299e5c[_0x277114(0x12a)],_0x4fd2a5[_0x277114(0x10d)]());}),this[_0x52e1bf(0xf7)][_0x52e1bf(0x10e)](_0x52e1bf(0x108))['to'](_0x205693,_0x52e1bf(0xf6),_0x28d8c7=>_0x28d8c7===_0x2886aa[_0x52e1bf(0x10c)]);}async[_0x5941cf(0xe6)](){const _0x3b888c=_0x5941cf,_0xb62188=this[_0x3b888c(0xd2)][_0x3b888c(0xc8)][_0x3b888c(0xff)](_0x90d006),_0x3b97c3=this[_0x3b888c(0xd2)][_0x3b888c(0xc8)][_0x3b888c(0xff)](_0x50278),_0x39b510=async()=>{const _0x469a9f=_0x3b888c,_0x1dc133=this[_0x469a9f(0xf7)][_0x469a9f(0x11d)],_0xf43a90=_0x1dc133['id'],_0x1b1d68=_0xf43a90!==_0x3b97c3[_0x469a9f(0x11f)];if(_0x1b1d68){const _0x254d27=_0x3b97c3[_0x469a9f(0x12a)]-this[_0x469a9f(0xcc)],_0x55d07f=this[_0x469a9f(0x121)]();this[_0x469a9f(0xf7)][_0x469a9f(0x128)][_0x469a9f(0x110)]();if(_0x1dc133[_0x469a9f(0xbe)]+_0x254d27!==_0x55d07f){const _0x52a2d9=_0x1dc133[_0x469a9f(0xda)]+_0x254d27,_0x41bfd9=this[_0x469a9f(0xd2)][_0x469a9f(0xc8)][_0x469a9f(0xff)](_0x2da078),_0x13831e=this[_0x469a9f(0xf7)][_0x469a9f(0xc5)]({'revision':_0x1dc133,'from':_0x52a2d9,'to':_0x55d07f});_0x13831e['id']=_0x1dc133['id'];const _0x298bdc=_0x13831e[_0x469a9f(0x132)][_0x469a9f(0x101)](_0x2e3b47=>_0x41bfd9[_0x469a9f(0xe8)](_0x2e3b47));_0x1dc133[_0x469a9f(0x118)]({..._0x13831e,'authors':_0x298bdc},!0x0),this[_0x469a9f(0xf7)][_0x469a9f(0xd1)](_0x1dc133['id'],_0x13831e,!0x0);}this[_0x469a9f(0xf7)][_0x469a9f(0x12c)]=_0x55d07f,(_0x1dc133[_0x469a9f(0xbe)]===_0x1dc133[_0x469a9f(0xda)]&&!this[_0x469a9f(0xf7)][_0x469a9f(0xcf)][_0x469a9f(0xc9)](_0xf43a90)&&this[_0x469a9f(0xf7)][_0x469a9f(0x10a)][_0x469a9f(0x113)][_0x469a9f(0xdf)](_0xf43a90),this[_0x469a9f(0xf7)][_0x469a9f(0xef)](_0x55d07f));}const {revisions:_0x59fe3c,requestId:_0x48cd5d}=await this[_0x469a9f(0x117)][_0x469a9f(0xe6)](_0xb62188[_0x469a9f(0x10b)],this[_0x469a9f(0x104)]);_0x1b1d68&&_0x59fe3c[_0x469a9f(0x102)]>0x0?_0x3b97c3[_0x469a9f(0xe0)]():(await this[_0x469a9f(0xc3)](_0x59fe3c),this[_0x469a9f(0xd4)](_0x59fe3c,_0x48cd5d),this[_0x469a9f(0xf7)][_0x469a9f(0xe1)]());};return _0x3b97c3[_0x3b888c(0x122)]?_0x39b510():new Promise((_0x32ed31,_0xc6aa66)=>{const _0x1e0879=_0x3b888c;_0x3b97c3[_0x1e0879(0xc4)](_0x1e0879(0xcd),()=>{const _0x3b9832=_0x1e0879;_0x39b510()[_0x3b9832(0xcb)](_0x32ed31)[_0x3b9832(0x109)](_0xc6aa66);});});}[_0x5941cf(0x114)](){const _0x500f43=_0x5941cf;super[_0x500f43(0x114)]();}async[_0x5941cf(0xf2)](){const _0x2b2157=_0x5941cf;this[_0x2b2157(0x117)][_0x2b2157(0xf3)]||await new Promise(_0x23c31b=>{const _0x5da652=_0x2b2157;this[_0x5da652(0x131)](this[_0x5da652(0x117)],_0x5da652(0xdb),_0x35add0=>{const _0x4fa4d7=_0x5da652;_0x35add0[_0x4fa4d7(0x10d)](),_0x23c31b();});});}[_0x5941cf(0x121)](){const _0x24e830=_0x5941cf,_0x13dc33=this[_0x24e830(0xd2)][_0x24e830(0xc8)][_0x24e830(0xff)](_0x50278)[_0x24e830(0x107)][_0x24e830(0xf4)]()[_0x24e830(0x133)]();for(const _0xc0ced5 of _0x13dc33)if(_0x24e830(0x123)!==_0xc0ced5[_0x24e830(0xfe)]||_0xc0ced5[_0x24e830(0x119)])return _0xc0ced5[_0x24e830(0xea)]+0x1;}[_0x5941cf(0x115)](){const _0x479571=_0x5941cf,_0x3bc73c=this[_0x479571(0xd2)][_0x479571(0xc8)][_0x479571(0xff)](_0x50278);return new Promise(_0x2a7c02=>{const _0x131ef2=_0x479571;_0x3bc73c[_0x131ef2(0xc2)]?_0x3bc73c[_0x131ef2(0xc4)](_0x131ef2(0xc7),()=>{const _0x3d42e7=_0x131ef2;_0x2a7c02(this[_0x3d42e7(0x121)]());}):_0x2a7c02(this[_0x131ef2(0x121)]());});}[_0x5941cf(0xd4)](_0x8f6b39,_0x2e2dcc){const _0x5d6b21=_0x5941cf,_0x5acf1f=this[_0x5d6b21(0xf7)][_0x5d6b21(0x10a)];this[_0x5d6b21(0x104)]=_0x2e2dcc;for(const _0x54babd of _0x8f6b39){const _0x5e6671=_0x5acf1f[_0x5d6b21(0xce)](_0x54babd['id']);if(_0x5e6671){if((_0x54babd[_0x5d6b21(0xda)]||_0x54babd[_0x5d6b21(0xbe)])&&(_0x54babd[_0x5d6b21(0xfa)]=null),_0x5e6671===this[_0x5d6b21(0xf7)][_0x5d6b21(0x11d)]){const _0xd94b4f=Math[_0x5d6b21(0xe3)](_0x5e6671[_0x5d6b21(0xbe)],_0x54babd[_0x5d6b21(0xbe)]),_0x4e6118=Math[_0x5d6b21(0xe3)](_0x5e6671[_0x5d6b21(0xda)],_0x54babd[_0x5d6b21(0xda)]);let _0x1ce420;_0x5e6671[_0x5d6b21(0xbe)]===_0x54babd[_0x5d6b21(0xbe)]&&_0x5e6671[_0x5d6b21(0xda)]===_0x54babd[_0x5d6b21(0xda)]?(_0x1ce420=!0x0,this[_0x5d6b21(0x11e)](_0x54babd)):_0x54babd[_0x5d6b21(0xbe)]===_0xd94b4f&&_0x54babd[_0x5d6b21(0xda)]===_0x4e6118?_0x1ce420=!0x1:(_0x5e6671[_0x5d6b21(0xbe)]===_0xd94b4f&&_0x5e6671[_0x5d6b21(0xda)]===_0x4e6118||this[_0x5d6b21(0x116)]({'revision':_0x5e6671,'from':_0x4e6118,'to':_0xd94b4f}),_0x1ce420=!0x0),_0x1ce420&&(delete _0x54babd[_0x5d6b21(0xda)],delete _0x54babd[_0x5d6b21(0xbe)],delete _0x54babd[_0x5d6b21(0xfa)],delete _0x54babd[_0x5d6b21(0x106)],delete _0x54babd[_0x5d6b21(0x132)]);}this[_0x5d6b21(0xf7)][_0x5d6b21(0xfd)](_0x54babd),this[_0x5d6b21(0x11e)](_0x54babd);}else this[_0x5d6b21(0xf7)][_0x5d6b21(0x120)](_0x54babd);}const _0x3d3eaf=_0x5acf1f[_0x5d6b21(0xc0)]();_0x3d3eaf[_0x5d6b21(0x133)]();for(let _0xbea153=0x0;_0xbea153<_0x3d3eaf[_0x5d6b21(0x102)]-0x1;_0xbea153++){const _0x4c5b12=_0x3d3eaf[_0xbea153],_0x562717=_0x3d3eaf[_0xbea153+0x1];if(_0x4c5b12[_0x5d6b21(0xda)]<_0x562717[_0x5d6b21(0xbe)]){const _0x1919b1=_0x562717[_0x5d6b21(0xbe)],_0x18d0a2=Math[_0x5d6b21(0xe3)](_0x1919b1,_0x4c5b12[_0x5d6b21(0xbe)]);this[_0x5d6b21(0x116)]({'revision':_0x4c5b12,'from':_0x1919b1,'to':_0x18d0a2});}}}[_0x5941cf(0x116)]({revision:_0x459610,from:_0xc1c236,to:_0x474272}={}){const _0x511f80=_0x5941cf,_0x4a5dbf=this[_0x511f80(0xd2)][_0x511f80(0xc8)][_0x511f80(0xff)](_0x2da078),_0x19fe14=this[_0x511f80(0xf7)][_0x511f80(0xc5)]({'revision':_0x459610,'from':_0xc1c236,'to':_0x474272});_0x19fe14[_0x511f80(0x129)]=_0x19fe14[_0x511f80(0x132)][_0x511f80(0x101)](_0x18ff06=>_0x4a5dbf[_0x511f80(0xe8)](_0x18ff06)),_0x459610[_0x511f80(0x118)](_0x19fe14);}[_0x5941cf(0x11e)](_0x24f923){const _0x102f8a=_0x5941cf,_0x3db4be={};_0x3db4be['id']=_0x24f923['id'];for(const _0x41af05 of Object[_0x102f8a(0xf8)](_0x24f923))'id'!==_0x41af05&&(_0x3db4be[_0x41af05]=void 0x0);this[_0x102f8a(0xf7)][_0x102f8a(0xd1)](_0x3db4be['id'],_0x3db4be,!0x0);}async[_0x5941cf(0xc3)](_0xc993bf){const _0x568637=_0x5941cf,_0x360ce2=this[_0x568637(0xd2)][_0x568637(0xc8)][_0x568637(0xff)](_0x2da078),{connection:_0x16de98}=this[_0x568637(0xd2)][_0x568637(0xc8)][_0x568637(0xff)](_0x90d006),_0x187a99=new Set();for(const _0x55ff51 of _0xc993bf){for(const _0x19fc50 of _0x55ff51[_0x568637(0x132)])_0x1e7746(_0x19fc50);_0x55ff51[_0x568637(0x103)]&&_0x1e7746(_0x55ff51[_0x568637(0x103)]);}if(0x0===_0x187a99[_0x568637(0x12e)])return;const _0x5e2786=await _0x5dd236[_0x568637(0xd0)](_0x16de98,Array[_0x568637(0xd9)](_0x187a99));for(const _0x168f71 of _0x5e2786)_0x360ce2[_0x568637(0xe8)](_0x168f71['id'])||_0x360ce2[_0x568637(0xd3)](_0x168f71);function _0x1e7746(_0x58b8e0){const _0x193f63=_0x568637;_0x360ce2[_0x193f63(0xe8)](_0x58b8e0)||_0x187a99[_0x193f63(0xdc)](_0x58b8e0);}}}function _0x3410(_0x1ea5fb,_0x314eab){const _0x1e5c6d=_0x1e5c();return _0x3410=function(_0x341036,_0x81539){_0x341036=_0x341036-0xbd;let _0x5a6728=_0x1e5c6d[_0x341036];return _0x5a6728;},_0x3410(_0x1ea5fb,_0x314eab);}export{c as CloudServicesRevisionHistoryAdapter};function P(_0x5f182f){const _0x69965a=_0x5941cf;return _0x5f182f[_0x69965a(0xd6)][_0x69965a(0xbf)](_0x69965a(0x111))||_0x5f182f[_0x69965a(0xd6)][_0x69965a(0xbf)](_0x69965a(0xee))||_0x5f182f[_0x69965a(0xd6)][_0x69965a(0xbf)](_0x69965a(0xf1));}
23
+ const _0x27fcba=_0xa76d;function _0x3fe6(){const _0x1c8f78=['_revisionTracker','startsWith','addToReconnectionStack','listenTo','currentRevision','config','add','once','isPremiumPlugin','_getLatestVersionFromServerOperations','_update','getUser','connect','state','change:_isPendingUpdate','collaboration.channelId','getOperations','fromVersion','addRevisionData','adapter','getRevisions','_offset','14725818zfJTTm','getMany','_startingVersion','_fixRevision','baseVersion','_lastRequestId','buildRevisionData','_handleRevisionsUpdate','_revisionHistoryService','cloud-services-internal-error:\x20Not\x20connected.','bind','setSource','_getLatestVersion','reverse','isEnabled','creatorId','isOfficialPlugin','diffData','reconnect','serverHistory','RevisionHistory','updateRevisions','destroy','addUser','4205840sDrVCD','off','connection','message','cloudServices.bundleVersion','affectsData','authorsIds','getRevision','length','change:_isConnected','createdAt','keys','29032iYBCzO','2197712IzUsoS','RevisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','connected','code','toVersion','CloudServicesRevisionHistoryAdapter','from','400','_handleReconnectionError','max','_bufferedUpdates','editor','_revisions','type','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','marker','isBundleUploaded','setRevisionData','reInit','repository','then','_isConnected','13917exrzqv','plugins','get','868gqPkAa','_createCurrentRevision','catch','isConnected','authors','_bufferUpdate','has','_oldOffset','sessionId','pluginName','wrongRequestId','RevisionHistoryService','data','816429GHEmsL','sendBufferedUpdates','_isPendingUpdate','revisionsUpdated','_fetchMissingUsers','init','_waitForServiceReady','requires','map','remove','652iaIJwx','isEmptyCurrent','CONNECTED','_revisionDataBuilder','_preventResendingRevisionData','8481798UIKuAs','size'];_0x3fe6=function(){return _0x1c8f78;};return _0x3fe6();}(function(_0x4b4da0,_0x77a7fe){const _0x4daa93=_0xa76d,_0x524f0d=_0x4b4da0();while(!![]){try{const _0x1d1757=parseInt(_0x4daa93(0x221))/0x1+-parseInt(_0x4daa93(0x1fa))/0x2+parseInt(_0x4daa93(0x211))/0x3*(-parseInt(_0x4daa93(0x1b8))/0x4)+-parseInt(_0x4daa93(0x1ed))/0x5+parseInt(_0x4daa93(0x1bd))/0x6+-parseInt(_0x4daa93(0x214))/0x7*(parseInt(_0x4daa93(0x1f9))/0x8)+parseInt(_0x4daa93(0x1d5))/0x9;if(_0x1d1757===_0x77a7fe)break;else _0x524f0d['push'](_0x524f0d['shift']());}catch(_0x2de4e2){_0x524f0d['push'](_0x524f0d['shift']());}}}(_0x3fe6,0xafcd7));import{Plugin as _0x7f5072}from'ckeditor5/src/core.js';import{version as _0x448490}from'ckeditor5/src/utils.js';import{Users as _0x176876}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2dd6ef}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x131d13}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1d61a5}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x336962,RevisionHistoryService as _0x1a4d47,User as _0x26ea3d,WEB_SOCKET_GATEWAY_STATES as _0x347917}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x7f5072{static [_0x27fcba(0x21f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1a4d47)());[_0x27fcba(0x1da)];[_0x27fcba(0x1bf)];[_0x27fcba(0x1dd)];[_0x27fcba(0x21b)];static get[_0x27fcba(0x1b5)](){const _0x2b2ab9=_0x27fcba;return[_0x131d13,_0x2dd6ef,_0x2b2ab9(0x1e9),_0x1d61a5,_0x176876];}static get[_0x27fcba(0x21d)](){const _0x1baddd=_0x27fcba;return _0x1baddd(0x200);}static get[_0x27fcba(0x1e5)](){return!0x0;}static get[_0x27fcba(0x1c7)](){return!0x0;}constructor(_0x3ce4bd){const _0x23cdb8=_0x27fcba;super(_0x3ce4bd);const _0x4e5d2d=this[_0x23cdb8(0x206)][_0x23cdb8(0x1c4)][_0x23cdb8(0x213)](_0x23cdb8(0x1ce));this[_0x23cdb8(0x1da)]=null,this[_0x23cdb8(0x1bf)]=this[_0x23cdb8(0x206)][_0x23cdb8(0x212)][_0x23cdb8(0x213)](_0x23cdb8(0x1fb)),this[_0x23cdb8(0x1dd)]=new c[(_0x23cdb8(0x21f))](_0x4e5d2d);}async[_0x27fcba(0x1b3)](){const _0xd8947f=_0x27fcba,_0xc6227c=this[_0xd8947f(0x206)][_0xd8947f(0x212)][_0xd8947f(0x213)](_0x2dd6ef),_0x5336ba=_0xc6227c[_0xd8947f(0x1e8)],_0x38e064=this[_0xd8947f(0x206)][_0xd8947f(0x212)][_0xd8947f(0x213)](_0x131d13);this[_0xd8947f(0x1bf)][_0xd8947f(0x1e0)]({'history':_0x5336ba,'getLatestVersion':()=>this[_0xd8947f(0x1e1)](),'getCurrentRevisionId':()=>_0xc6227c[_0xd8947f(0x21c)]});const _0x178e13=this[_0xd8947f(0x206)][_0xd8947f(0x1c4)][_0xd8947f(0x213)](_0xd8947f(0x1f1))||_0x448490,_0x16ebe3=await _0x336962[_0xd8947f(0x20b)](_0x38e064[_0xd8947f(0x1ef)],_0x178e13);this[_0xd8947f(0x206)][_0xd8947f(0x212)][_0xd8947f(0x213)](_0xd8947f(0x1e9))[_0xd8947f(0x1d2)]={'getRevision':async({revisionId:_0x22961f})=>(await this[_0xd8947f(0x1b4)](),await this[_0xd8947f(0x1dd)][_0xd8947f(0x1f4)](_0x22961f)),'updateRevisions':async _0x689e05=>{const _0x44c6e8=_0xd8947f;await this[_0x44c6e8(0x1b4)]();const _0x407adb=this[_0x44c6e8(0x1bf)][_0x44c6e8(0x1c3)];if(_0x16ebe3&&0x1===_0x689e05[_0x44c6e8(0x1f5)]&&_0x689e05[0x0]['id']===_0x407adb['id'])return _0x689e05;for(const _0x108fa1 of _0x689e05)_0x108fa1['id']===_0x407adb['id']&&(_0x108fa1[_0x44c6e8(0x1b9)]=_0x108fa1[_0x44c6e8(0x1d0)]===_0x108fa1[_0x44c6e8(0x1ff)]);return this[_0x44c6e8(0x1dd)][_0x44c6e8(0x1ea)](_0x689e05,this[_0x44c6e8(0x1da)])[_0x44c6e8(0x20f)](_0x19c39c=>(this[_0x44c6e8(0x1da)]=_0x19c39c,_0x689e05))[_0x44c6e8(0x216)](_0x3af04b=>{const _0x16c1f3=_0x44c6e8;if(st(_0x3af04b)||_0x16c1f3(0x202)===_0x3af04b[_0x16c1f3(0x1fe)]&&void 0x0!==_0x3af04b[_0x16c1f3(0x220)][_0x16c1f3(0x21e)]){for(const _0x37328d of _0x689e05){!this[_0x16c1f3(0x1bf)][_0x16c1f3(0x20e)][_0x16c1f3(0x1f4)](_0x37328d['id'])||this[_0x16c1f3(0x1bf)][_0x16c1f3(0x219)](_0x37328d['id'],_0x37328d,!0x1);}if(st(_0x3af04b))throw _0x3af04b;return _0x689e05;}throw _0x3af04b;});}},this[_0xd8947f(0x1c2)](this[_0xd8947f(0x1dd)],_0xd8947f(0x1b1),(_0x1628ea,{revisionsData:_0x1d6069,requestId:_0x4c1f8c})=>{const _0x1c3530=_0xd8947f;Math[_0x1c3530(0x204)](..._0x1d6069[_0x1c3530(0x1b6)](_0x497991=>_0x497991[_0x1c3530(0x1ff)]))>this[_0x1c3530(0x1c8)]()-0x1?this[_0x1c3530(0x1e1)]()[_0x1c3530(0x20f)](()=>{const _0x525353=_0x1c3530;this[_0x525353(0x1dc)](_0x1d6069,_0x4c1f8c);}):this[_0x1c3530(0x1dc)](_0x1d6069,_0x4c1f8c);});const {revisions:_0x10c726,requestId:_0x579423}=await this[_0xd8947f(0x1dd)][_0xd8947f(0x1cb)](_0x38e064[_0xd8947f(0x1ef)]);_0x38e064[_0xd8947f(0x1c1)](this),this[_0xd8947f(0x1da)]=_0x579423,await this[_0xd8947f(0x1b2)](_0x10c726);for(const _0x2e002f of _0x10c726)this[_0xd8947f(0x1bf)][_0xd8947f(0x1d1)](_0x2e002f);this[_0xd8947f(0x1c2)](_0xc6227c,_0xd8947f(0x1f6),(_0x227fbb,_0x2607cf,_0x516f4e)=>{const _0x2bd809=_0xd8947f;_0x516f4e&&(this[_0x2bd809(0x21b)]=_0xc6227c[_0x2bd809(0x1d4)],_0x227fbb[_0x2bd809(0x1ee)]());}),this[_0xd8947f(0x1bf)][_0xd8947f(0x1df)](_0xd8947f(0x1e3))['to'](_0x38e064,_0xd8947f(0x1cc),_0x7fb82e=>_0x7fb82e===_0x347917[_0xd8947f(0x1ba)]);}async[_0x27fcba(0x1e7)](){const _0x5168f3=_0x27fcba,_0x151e14=this[_0x5168f3(0x206)][_0x5168f3(0x212)][_0x5168f3(0x213)](_0x131d13),_0x13b8e7=this[_0x5168f3(0x206)][_0x5168f3(0x212)][_0x5168f3(0x213)](_0x2dd6ef),_0x534b31=async()=>{const _0x494456=_0x5168f3,_0xf1446d=this[_0x494456(0x1bf)][_0x494456(0x1c3)],_0x342afe=_0xf1446d['id'],_0x35d097=_0x342afe!==_0x13b8e7[_0x494456(0x21c)];if(_0x35d097){const _0x1ff5e8=_0x13b8e7[_0x494456(0x1d4)]-this[_0x494456(0x21b)],_0x4d26f8=this[_0x494456(0x1c8)]();this[_0x494456(0x1bf)][_0x494456(0x1bb)][_0x494456(0x20d)]();if(_0xf1446d[_0x494456(0x1ff)]+_0x1ff5e8!==_0x4d26f8){const _0x592da5=_0xf1446d[_0x494456(0x1d0)]+_0x1ff5e8,_0x40feda=this[_0x494456(0x206)][_0x494456(0x212)][_0x494456(0x213)](_0x176876),_0x3d3e56=this[_0x494456(0x1bf)][_0x494456(0x1db)]({'revision':_0xf1446d,'from':_0x592da5,'to':_0x4d26f8});_0x3d3e56['id']=_0xf1446d['id'];const _0x4867f1=_0x3d3e56[_0x494456(0x1f3)][_0x494456(0x1b6)](_0x3a5bde=>_0x40feda[_0x494456(0x1ca)](_0x3a5bde));_0xf1446d[_0x494456(0x1c9)]({..._0x3d3e56,'authors':_0x4867f1},!0x0),this[_0x494456(0x1bf)][_0x494456(0x219)](_0xf1446d['id'],_0x3d3e56,!0x0);}this[_0x494456(0x1bf)][_0x494456(0x1d7)]=_0x4d26f8,(_0xf1446d[_0x494456(0x1ff)]===_0xf1446d[_0x494456(0x1d0)]&&!this[_0x494456(0x1bf)][_0x494456(0x205)][_0x494456(0x21a)](_0x342afe)&&this[_0x494456(0x1bf)][_0x494456(0x20e)][_0x494456(0x207)][_0x494456(0x1b7)](_0x342afe),this[_0x494456(0x1bf)][_0x494456(0x215)](_0x4d26f8));}const {revisions:_0x13f48d,requestId:_0x44de83}=await this[_0x494456(0x1dd)][_0x494456(0x1e7)](_0x151e14[_0x494456(0x1ef)],this[_0x494456(0x1da)]);_0x35d097&&_0x13f48d[_0x494456(0x1f5)]>0x0?_0x13b8e7[_0x494456(0x203)]():(await this[_0x494456(0x1b2)](_0x13f48d),this[_0x494456(0x1dc)](_0x13f48d,_0x44de83),this[_0x494456(0x1bf)][_0x494456(0x222)]());};return _0x13b8e7[_0x5168f3(0x210)]?_0x534b31():new Promise((_0x49be9c,_0x2fda8c)=>{const _0x50ed68=_0x5168f3;_0x13b8e7[_0x50ed68(0x1c6)](_0x50ed68(0x1f6),()=>{const _0x9ac534=_0x50ed68;_0x534b31()[_0x9ac534(0x20f)](_0x49be9c)[_0x9ac534(0x216)](_0x2fda8c);});});}[_0x27fcba(0x1eb)](){const _0x5701e1=_0x27fcba;super[_0x5701e1(0x1eb)]();}async[_0x27fcba(0x1b4)](){const _0x1ca61e=_0x27fcba;this[_0x1ca61e(0x1dd)][_0x1ca61e(0x217)]||await new Promise(_0x254a0d=>{const _0x3c4bb8=_0x1ca61e;this[_0x3c4bb8(0x1c2)](this[_0x3c4bb8(0x1dd)],_0x3c4bb8(0x1fd),_0x23fb7d=>{const _0x314f86=_0x3c4bb8;_0x23fb7d[_0x314f86(0x1ee)](),_0x254a0d();});});}[_0x27fcba(0x1c8)](){const _0x56bda9=_0x27fcba,_0x327f60=this[_0x56bda9(0x206)][_0x56bda9(0x212)][_0x56bda9(0x213)](_0x2dd6ef)[_0x56bda9(0x1e8)][_0x56bda9(0x1cf)]()[_0x56bda9(0x1e2)]();for(const _0x5b590f of _0x327f60)if(_0x56bda9(0x20a)!==_0x5b590f[_0x56bda9(0x208)]||_0x5b590f[_0x56bda9(0x1f2)])return _0x5b590f[_0x56bda9(0x1d9)]+0x1;}[_0x27fcba(0x1e1)](){const _0x20603b=_0x27fcba,_0x1f1924=this[_0x20603b(0x206)][_0x20603b(0x212)][_0x20603b(0x213)](_0x2dd6ef);return new Promise(_0x46caf0=>{const _0x42be49=_0x20603b;_0x1f1924[_0x42be49(0x223)]?_0x1f1924[_0x42be49(0x1c6)](_0x42be49(0x1cd),()=>{const _0x4eac37=_0x42be49;_0x46caf0(this[_0x4eac37(0x1c8)]());}):_0x46caf0(this[_0x42be49(0x1c8)]());});}[_0x27fcba(0x1dc)](_0x53aeb9,_0x5dcc9c){const _0x215260=_0x27fcba,_0x4e2741=this[_0x215260(0x1bf)][_0x215260(0x20e)];this[_0x215260(0x1da)]=_0x5dcc9c;for(const _0x3d7f88 of _0x53aeb9){const _0x51276a=_0x4e2741[_0x215260(0x1f4)](_0x3d7f88['id']);if(_0x51276a){if((_0x3d7f88[_0x215260(0x1d0)]||_0x3d7f88[_0x215260(0x1ff)])&&(_0x3d7f88[_0x215260(0x1e6)]=null),_0x51276a===this[_0x215260(0x1bf)][_0x215260(0x1c3)]){const _0x863f35=Math[_0x215260(0x204)](_0x51276a[_0x215260(0x1ff)],_0x3d7f88[_0x215260(0x1ff)]),_0x36b6bc=Math[_0x215260(0x204)](_0x51276a[_0x215260(0x1d0)],_0x3d7f88[_0x215260(0x1d0)]);let _0x151709;_0x51276a[_0x215260(0x1ff)]===_0x3d7f88[_0x215260(0x1ff)]&&_0x51276a[_0x215260(0x1d0)]===_0x3d7f88[_0x215260(0x1d0)]?(_0x151709=!0x0,this[_0x215260(0x1bc)](_0x3d7f88)):_0x3d7f88[_0x215260(0x1ff)]===_0x863f35&&_0x3d7f88[_0x215260(0x1d0)]===_0x36b6bc?_0x151709=!0x1:(_0x51276a[_0x215260(0x1ff)]===_0x863f35&&_0x51276a[_0x215260(0x1d0)]===_0x36b6bc||this[_0x215260(0x1d8)]({'revision':_0x51276a,'from':_0x36b6bc,'to':_0x863f35}),_0x151709=!0x0),_0x151709&&(delete _0x3d7f88[_0x215260(0x1d0)],delete _0x3d7f88[_0x215260(0x1ff)],delete _0x3d7f88[_0x215260(0x1e6)],delete _0x3d7f88[_0x215260(0x1f7)],delete _0x3d7f88[_0x215260(0x1f3)]);}this[_0x215260(0x1bf)][_0x215260(0x20c)](_0x3d7f88),this[_0x215260(0x1bc)](_0x3d7f88);}else this[_0x215260(0x1bf)][_0x215260(0x1d1)](_0x3d7f88);}const _0x18e3f6=_0x4e2741[_0x215260(0x1d3)]();_0x18e3f6[_0x215260(0x1e2)]();for(let _0x37de53=0x0;_0x37de53<_0x18e3f6[_0x215260(0x1f5)]-0x1;_0x37de53++){const _0x451cd1=_0x18e3f6[_0x37de53],_0x24522d=_0x18e3f6[_0x37de53+0x1];if(_0x451cd1[_0x215260(0x1d0)]<_0x24522d[_0x215260(0x1ff)]){const _0x520da0=_0x24522d[_0x215260(0x1ff)],_0x3e7b1d=Math[_0x215260(0x204)](_0x520da0,_0x451cd1[_0x215260(0x1ff)]);this[_0x215260(0x1d8)]({'revision':_0x451cd1,'from':_0x520da0,'to':_0x3e7b1d});}}}[_0x27fcba(0x1d8)]({revision:_0x5911b3,from:_0x50f248,to:_0xe2bc3f}={}){const _0x1e3747=_0x27fcba,_0x956e70=this[_0x1e3747(0x206)][_0x1e3747(0x212)][_0x1e3747(0x213)](_0x176876),_0x3480c8=this[_0x1e3747(0x1bf)][_0x1e3747(0x1db)]({'revision':_0x5911b3,'from':_0x50f248,'to':_0xe2bc3f});_0x3480c8[_0x1e3747(0x218)]=_0x3480c8[_0x1e3747(0x1f3)][_0x1e3747(0x1b6)](_0x413ffb=>_0x956e70[_0x1e3747(0x1ca)](_0x413ffb)),_0x5911b3[_0x1e3747(0x1c9)](_0x3480c8);}[_0x27fcba(0x1bc)](_0x1875c6){const _0x6d5698=_0x27fcba,_0x3125bb={};_0x3125bb['id']=_0x1875c6['id'];for(const _0x575fdc of Object[_0x6d5698(0x1f8)](_0x1875c6))'id'!==_0x575fdc&&(_0x3125bb[_0x575fdc]=void 0x0);this[_0x6d5698(0x1bf)][_0x6d5698(0x219)](_0x3125bb['id'],_0x3125bb,!0x0);}async[_0x27fcba(0x1b2)](_0x1abd08){const _0x530068=_0x27fcba,_0x1e0577=this[_0x530068(0x206)][_0x530068(0x212)][_0x530068(0x213)](_0x176876),{connection:_0x32edd4}=this[_0x530068(0x206)][_0x530068(0x212)][_0x530068(0x213)](_0x131d13),_0x5dbb73=new Set();for(const _0x19fdb9 of _0x1abd08){for(const _0x2b1cf5 of _0x19fdb9[_0x530068(0x1f3)])_0x2b00df(_0x2b1cf5);_0x19fdb9[_0x530068(0x1e4)]&&_0x2b00df(_0x19fdb9[_0x530068(0x1e4)]);}if(0x0===_0x5dbb73[_0x530068(0x1be)])return;const _0x4d29e9=await _0x26ea3d[_0x530068(0x1d6)](_0x32edd4,Array[_0x530068(0x201)](_0x5dbb73));for(const _0x1f9457 of _0x4d29e9)_0x1e0577[_0x530068(0x1ca)](_0x1f9457['id'])||_0x1e0577[_0x530068(0x1ec)](_0x1f9457);function _0x2b00df(_0x4b3f59){const _0x2c87cd=_0x530068;_0x1e0577[_0x2c87cd(0x1ca)](_0x4b3f59)||_0x5dbb73[_0x2c87cd(0x1c5)](_0x4b3f59);}}}export{c as CloudServicesRevisionHistoryAdapter};function _0xa76d(_0x56735f,_0x407de2){const _0x3fe680=_0x3fe6();return _0xa76d=function(_0xa76d44,_0x43009d){_0xa76d44=_0xa76d44-0x1b1;let _0x162144=_0x3fe680[_0xa76d44];return _0x162144;},_0xa76d(_0x56735f,_0x407de2);}function st(_0x3cfceb){const _0x16f86f=_0x27fcba;return _0x3cfceb[_0x16f86f(0x1f0)][_0x16f86f(0x1c0)](_0x16f86f(0x209))||_0x3cfceb[_0x16f86f(0x1f0)][_0x16f86f(0x1c0)](_0x16f86f(0x1de))||_0x3cfceb[_0x16f86f(0x1f0)][_0x16f86f(0x1c0)](_0x16f86f(0x1fc));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x23793f=_0x3f0b;(function(_0x295c1c,_0x34642d){var _0x5639cb=_0x3f0b,_0x3512cb=_0x295c1c();while(!![]){try{var _0x2ca200=parseInt(_0x5639cb(0x165))/0x1*(parseInt(_0x5639cb(0x166))/0x2)+parseInt(_0x5639cb(0x167))/0x3*(parseInt(_0x5639cb(0x158))/0x4)+parseInt(_0x5639cb(0x159))/0x5+parseInt(_0x5639cb(0x163))/0x6*(-parseInt(_0x5639cb(0x162))/0x7)+parseInt(_0x5639cb(0x156))/0x8+parseInt(_0x5639cb(0x15a))/0x9*(-parseInt(_0x5639cb(0x15e))/0xa)+-parseInt(_0x5639cb(0x15b))/0xb*(parseInt(_0x5639cb(0x160))/0xc);if(_0x2ca200===_0x34642d)break;else _0x3512cb['push'](_0x3512cb['shift']());}catch(_0x1b5028){_0x3512cb['push'](_0x3512cb['shift']());}}}(_0xba20,0xf38d5));function _0xba20(){var _0x33de9f=['4880920cSHyjo','isPremiumPlugin','36jzqKIF','isOfficialPlugin','385511kTbYhE','132pXQGfz','pluginName','648174qjLLtM','6fplqQK','9tExvkC','6955304yrCLKO','RevisionHistory','1441188GUMJrH','6595840aOpOmo','18WUkgJD','7438255FFDfMI','RealTimeCollaborativeRevisionHistory','requires'];_0xba20=function(){return _0x33de9f;};return _0xba20();}import{Plugin as _0x285ac2}from'ckeditor5/src/core.js';function _0x3f0b(_0x3fe007,_0x20a166){var _0xba203d=_0xba20();return _0x3f0b=function(_0x3f0b99,_0x39efc8){_0x3f0b99=_0x3f0b99-0x156;var _0x2d4b8c=_0xba203d[_0x3f0b99];return _0x2d4b8c;},_0x3f0b(_0x3fe007,_0x20a166);}import{CloudServicesRevisionHistoryAdapter as _0x22cba1}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x4fd5b8}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x285ac2{static get[_0x23793f(0x15d)](){var _0x1bd420=_0x23793f;return[_0x1bd420(0x157),_0x22cba1,_0x4fd5b8];}static get[_0x23793f(0x164)](){var _0x17d455=_0x23793f;return _0x17d455(0x15c);}static get[_0x23793f(0x161)](){return!0x0;}static get[_0x23793f(0x15f)](){return!0x0;}}
23
+ var _0x2979f1=_0xe154;(function(_0x2a4568,_0x47a6b8){var _0x1d3e3e=_0xe154,_0x1e2376=_0x2a4568();while(!![]){try{var _0x6cbdd1=parseInt(_0x1d3e3e(0x1de))/0x1+parseInt(_0x1d3e3e(0x1e7))/0x2+-parseInt(_0x1d3e3e(0x1e2))/0x3+parseInt(_0x1d3e3e(0x1e4))/0x4*(-parseInt(_0x1d3e3e(0x1e3))/0x5)+-parseInt(_0x1d3e3e(0x1e8))/0x6+-parseInt(_0x1d3e3e(0x1e9))/0x7+parseInt(_0x1d3e3e(0x1e5))/0x8;if(_0x6cbdd1===_0x47a6b8)break;else _0x1e2376['push'](_0x1e2376['shift']());}catch(_0x4a3ba3){_0x1e2376['push'](_0x1e2376['shift']());}}}(_0x7dd4,0x65949));import{Plugin as _0x1cd842}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x124beb}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x57deb9}from'./realtimecollaborativeediting.js';function _0xe154(_0x3588dd,_0x5e3a8c){var _0x7dd419=_0x7dd4();return _0xe154=function(_0xe154ae,_0x45b1e4){_0xe154ae=_0xe154ae-0x1de;var _0x1117c7=_0x7dd419[_0xe154ae];return _0x1117c7;},_0xe154(_0x3588dd,_0x5e3a8c);}function _0x7dd4(){var _0x26ee4d=['RealTimeCollaborativeRevisionHistory','RevisionHistory','189703SPkxrd','requires','isPremiumPlugin','isOfficialPlugin','534969xoYoDD','10gTjXWq','1618436LcbUWH','13252656ACxyYK','pluginName','1560758PsrsmR','2415000PKCLmC','5743850FqxslB'];_0x7dd4=function(){return _0x26ee4d;};return _0x7dd4();}export class RealTimeCollaborativeRevisionHistory extends _0x1cd842{static get[_0x2979f1(0x1df)](){var _0x59da6e=_0x2979f1;return[_0x59da6e(0x1eb),_0x124beb,_0x57deb9];}static get[_0x2979f1(0x1e6)](){var _0x39ce57=_0x2979f1;return _0x39ce57(0x1ea);}static get[_0x2979f1(0x1e1)](){return!0x0;}static get[_0x2979f1(0x1e0)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41158a=_0x22b3;(function(_0x18675c,_0x4e814c){const _0x44e4e3=_0x22b3,_0x3dc34d=_0x18675c();while(!![]){try{const _0x29d709=parseInt(_0x44e4e3(0x1c3))/0x1+parseInt(_0x44e4e3(0x1b8))/0x2*(parseInt(_0x44e4e3(0x1e5))/0x3)+-parseInt(_0x44e4e3(0x1e7))/0x4*(parseInt(_0x44e4e3(0x1de))/0x5)+-parseInt(_0x44e4e3(0x1d9))/0x6+parseInt(_0x44e4e3(0x1ba))/0x7+-parseInt(_0x44e4e3(0x1db))/0x8+-parseInt(_0x44e4e3(0x1b1))/0x9*(parseInt(_0x44e4e3(0x1c1))/0xa);if(_0x29d709===_0x4e814c)break;else _0x3dc34d['push'](_0x3dc34d['shift']());}catch(_0x455fe8){_0x3dc34d['push'](_0x3dc34d['shift']());}}}(_0x2831,0x8dae5));function _0x22b3(_0x1cc6e5,_0xf2792d){const _0x2831b2=_0x2831();return _0x22b3=function(_0x22b357,_0x2c5b8b){_0x22b357=_0x22b357-0x1b0;let _0xf77d5e=_0x2831b2[_0x22b357];return _0xf77d5e;},_0x22b3(_0x1cc6e5,_0xf2792d);}import{Plugin as _0x4b5d87}from'ckeditor5/src/core.js';function _0x2831(){const _0x169e24=['isConnected','state','adapter','reconnect','then','getMany','202992YKNMyV','set','5048744MovPen','collaboration.channelId','addToReconnectionStack','527985JCaLxT','_trackChangesService','requires','startsWith','find','listenTo','originalSuggestionId','41103VnQgeH','_saved','36ljPYEo','init','addUser','hasSuggestion','size','cloud-services-internal-error:\x20Not\x20connected.','_bufferedRequests','catch','from','_waitForServiceReady','907191EaiGOI','off','message','attributes','data','getUser','TrackChangesEditing','146fmSERN','CloudServicesTrackChangesAdapter','4672626WMROza','editor','connection','plugins','connect','getSuggestion','_fetchMissingUsersForThreads','10svYlnu','values','628731GxXHOz','update','connected','delete','open','isPremiumPlugin','isOfficialPlugin','addSuggestionData','cloud-services-internal-error:\x20Request\x20timeout.','get','TrackChangesService','type','suggestionUpdated','add','pluginName','config'];_0x2831=function(){return _0x169e24;};return _0x2831();}import{User as _0x3a73fb,TrackChangesService as _0x3bc356}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x28fdb7}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x96eda5}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x29e7e6}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x4b5d87{static [_0x41158a(0x1cd)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3bc356)());[_0x41158a(0x1ed)];[_0x41158a(0x1df)];static get[_0x41158a(0x1e0)](){const _0x20a68f=_0x41158a;return[_0x96eda5,_0x20a68f(0x1b7),_0x28fdb7];}static get[_0x41158a(0x1d1)](){const _0x4cc3b7=_0x41158a;return _0x4cc3b7(0x1b9);}static get[_0x41158a(0x1c9)](){return!0x0;}static get[_0x41158a(0x1c8)](){return!0x0;}constructor(_0x2f7d93){const _0x255f05=_0x41158a;super(_0x2f7d93);const _0x16ef7c=this[_0x255f05(0x1bb)][_0x255f05(0x1d2)][_0x255f05(0x1cc)](_0x255f05(0x1dc));this[_0x255f05(0x1ed)]=new Map(),this[_0x255f05(0x1df)]=new m[(_0x255f05(0x1cd))](_0x16ef7c);}[_0x41158a(0x1e8)](){const _0x16c7d4=_0x41158a,_0x6886a=this[_0x16c7d4(0x1bb)][_0x16c7d4(0x1bd)][_0x16c7d4(0x1cc)](_0x28fdb7),_0x4530fc=this[_0x16c7d4(0x1bb)][_0x16c7d4(0x1bd)][_0x16c7d4(0x1cc)](_0x16c7d4(0x1b7));return _0x4530fc[_0x16c7d4(0x1d5)]={'getSuggestion':async _0xa93108=>{const _0x1c8953=_0x16c7d4;await this[_0x1c8953(0x1b0)]();const _0x465f50=await this[_0x1c8953(0x1df)][_0x1c8953(0x1cc)](_0xa93108)[_0x1c8953(0x1ee)](B);return await this[_0x1c8953(0x1c0)]([_0x465f50]),_0x465f50;},'addSuggestion':async({id:_0x21cf67,type:_0x2f4989,data:_0x1993a7,originalSuggestionId:_0x51f086,attributes:_0x359891})=>{const _0x34f098=_0x16c7d4;await this[_0x34f098(0x1b0)]();const _0x22de2a={'id':_0x21cf67,'type':_0x2f4989,'data':_0x1993a7,'originalSuggestionId':_0x51f086,'attributes':_0x359891},_0x4fb925=await this[_0x34f098(0x1df)][_0x34f098(0x1d0)](_0x21cf67,_0x2f4989,_0x1993a7,_0x51f086,_0x359891)[_0x34f098(0x1ee)](_0x47faca=>{if(P(_0x47faca))return new Promise(_0x2ab225=>{const _0x4cb872=_0x22b3;this[_0x4cb872(0x1ed)][_0x4cb872(0x1da)](_0x21cf67,{'resolve':_0x2ab225,'suggestionData':_0x22de2a});});throw _0x47faca;});return this[_0x34f098(0x1ed)][_0x34f098(0x1c6)](_0x21cf67),_0x4fb925;},'updateSuggestion':async(_0xc79f99,_0x17442a)=>{const _0x2eb180=_0x16c7d4;if(await this[_0x2eb180(0x1b0)](),_0x2eb180(0x1c7)!==_0x17442a[_0x2eb180(0x1d4)])return this[_0x2eb180(0x1df)][_0x2eb180(0x1c4)](_0xc79f99,_0x17442a)[_0x2eb180(0x1ee)](B);}},this[_0x16c7d4(0x1e3)](this[_0x16c7d4(0x1df)],_0x16c7d4(0x1cf),(_0x4ce2f7,_0x52c49d)=>{const _0x25e27d=_0x16c7d4;_0x4530fc[_0x25e27d(0x1ea)](_0x52c49d['id'])&&(_0x4530fc[_0x25e27d(0x1bf)](_0x52c49d['id'])[_0x25e27d(0x1b4)]=_0x52c49d[_0x25e27d(0x1b4)]);}),this[_0x16c7d4(0x1df)][_0x16c7d4(0x1be)](_0x6886a[_0x16c7d4(0x1bc)])[_0x16c7d4(0x1d7)](_0x22b746=>(_0x6886a[_0x16c7d4(0x1dd)](this),this[_0x16c7d4(0x1c0)](_0x22b746)[_0x16c7d4(0x1d7)](()=>{const _0x46a200=_0x16c7d4;for(const _0x58ee7a of _0x22b746){_0x4530fc[_0x46a200(0x1ca)](_0x58ee7a)[_0x46a200(0x1e6)]=!0x0;}})));}async[_0x41158a(0x1d6)](){const _0x346a82=_0x41158a,_0x28e1a0=this[_0x346a82(0x1bb)][_0x346a82(0x1bd)][_0x346a82(0x1cc)](_0x346a82(0x1b7)),{connection:_0x13db9f}=this[_0x346a82(0x1bb)][_0x346a82(0x1bd)][_0x346a82(0x1cc)](_0x28fdb7),_0x13dbf0=await this[_0x346a82(0x1df)][_0x346a82(0x1be)](_0x13db9f);await this[_0x346a82(0x1c0)](_0x13dbf0);for(const {suggestionData:_0x3634fd,resolve:_0x15ca74}of this[_0x346a82(0x1ed)][_0x346a82(0x1c2)]()){let _0x3c817c=_0x13dbf0[_0x346a82(0x1e2)](_0x59a2c8=>_0x59a2c8['id']===_0x3634fd['id']);_0x3c817c||(_0x3c817c=await this[_0x346a82(0x1df)][_0x346a82(0x1d0)](_0x3634fd['id'],_0x3634fd[_0x346a82(0x1ce)],_0x3634fd[_0x346a82(0x1b5)],_0x3634fd[_0x346a82(0x1e4)])),_0x15ca74(_0x3c817c);}for(const _0xe56dfb of _0x13dbf0)_0x28e1a0[_0x346a82(0x1ea)](_0xe56dfb['id'])||_0x28e1a0[_0x346a82(0x1ca)](_0xe56dfb);}async[_0x41158a(0x1b0)](){const _0x594ef2=_0x41158a;this[_0x594ef2(0x1df)][_0x594ef2(0x1d3)]||await new Promise(_0x11ef45=>{const _0x1b04b9=_0x594ef2;this[_0x1b04b9(0x1e3)](this[_0x1b04b9(0x1df)],_0x1b04b9(0x1c5),_0x1dcf64=>{const _0x42b13a=_0x1b04b9;_0x1dcf64[_0x42b13a(0x1b2)](),_0x11ef45();});});}async[_0x41158a(0x1c0)](_0x5ebe8f){const _0x1f57a1=_0x41158a,_0x52f23c=this[_0x1f57a1(0x1bb)][_0x1f57a1(0x1bd)][_0x1f57a1(0x1cc)](_0x29e7e6),{connection:_0x3cfb1f}=this[_0x1f57a1(0x1bb)][_0x1f57a1(0x1bd)][_0x1f57a1(0x1cc)](_0x28fdb7),_0x487663=new Set();for(const {authorId:_0x43005f}of _0x5ebe8f)_0x52f23c[_0x1f57a1(0x1b6)](_0x43005f)||_0x487663[_0x1f57a1(0x1d0)](_0x43005f);if(0x0===_0x487663[_0x1f57a1(0x1eb)])return;const _0x5ec1d7=await _0x3a73fb[_0x1f57a1(0x1d8)](_0x3cfb1f,Array[_0x1f57a1(0x1ef)](_0x487663));for(const _0x1eff8f of _0x5ec1d7)_0x52f23c[_0x1f57a1(0x1b6)](_0x1eff8f['id'])||_0x52f23c[_0x1f57a1(0x1e9)](_0x1eff8f);}}export{m as CloudServicesTrackChangesAdapter};function B(_0x5cc5a0){if(P(_0x5cc5a0))return new Promise(()=>{});throw _0x5cc5a0;}function P(_0xa4d8f7){const _0xdcf823=_0x41158a;return _0xa4d8f7[_0xdcf823(0x1b3)][_0xdcf823(0x1e1)](_0xdcf823(0x1ec))||_0xa4d8f7[_0xdcf823(0x1b3)][_0xdcf823(0x1e1)](_0xdcf823(0x1cb));}
23
+ function _0x32d8(){const _0x3dbe8d=['from','isOfficialPlugin','_trackChangesService','_saved','suggestionUpdated','48oemvFy','hasSuggestion','3061206FMNOCf','add','reconnect','CloudServicesTrackChangesAdapter','message','73535VyoJMM','off','addToReconnectionStack','update','plugins','cloud-services-internal-error:\x20Request\x20timeout.','find','requires','startsWith','pluginName','state','_fetchMissingUsersForThreads','listenTo','collaboration.channelId','delete','getSuggestion','size','data','open','cloud-services-internal-error:\x20Not\x20connected.','isConnected','TrackChangesService','10YbkYUv','connect','editor','72564aXWouS','attributes','130019OWpAJy','_bufferedRequests','530391MjyNUC','addUser','209IPHrxF','then','adapter','connected','config','catch','type','isPremiumPlugin','155470XxYqTh','getMany','originalSuggestionId','values','connection','8138ItJQWj','init','TrackChangesEditing','addSuggestionData','get','4CACndq','set','_waitForServiceReady','getUser'];_0x32d8=function(){return _0x3dbe8d;};return _0x32d8();}const _0x216233=_0x2242;(function(_0x2b615f,_0x31e609){const _0x2919a3=_0x2242,_0x2c21bb=_0x2b615f();while(!![]){try{const _0x567f4c=parseInt(_0x2919a3(0x20b))/0x1+-parseInt(_0x2919a3(0x1db))/0x2+-parseInt(_0x2919a3(0x20d))/0x3*(-parseInt(_0x2919a3(0x1e0))/0x4)+-parseInt(_0x2919a3(0x206))/0x5*(parseInt(_0x2919a3(0x209))/0x6)+-parseInt(_0x2919a3(0x1f0))/0x7*(parseInt(_0x2919a3(0x1e9))/0x8)+-parseInt(_0x2919a3(0x1eb))/0x9+parseInt(_0x2919a3(0x1d6))/0xa*(parseInt(_0x2919a3(0x1ce))/0xb);if(_0x567f4c===_0x31e609)break;else _0x2c21bb['push'](_0x2c21bb['shift']());}catch(_0x496ca8){_0x2c21bb['push'](_0x2c21bb['shift']());}}}(_0x32d8,0x29b24));import{Plugin as _0x38c3ed}from'ckeditor5/src/core.js';import{User as _0xabcdd0,TrackChangesService as _0x3e838f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4a8db1}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4e649e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x159c1f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2242(_0x94873c,_0xf207d3){const _0x32d85e=_0x32d8();return _0x2242=function(_0x22429c,_0xdec88d){_0x22429c=_0x22429c-0x1ce;let _0x80b934=_0x32d85e[_0x22429c];return _0x80b934;},_0x2242(_0x94873c,_0xf207d3);}class m extends _0x38c3ed{static [_0x216233(0x205)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3e838f)());[_0x216233(0x20c)];[_0x216233(0x1e6)];static get[_0x216233(0x1f7)](){const _0x263501=_0x216233;return[_0x4e649e,_0x263501(0x1dd),_0x4a8db1];}static get[_0x216233(0x1f9)](){const _0x4ad3a8=_0x216233;return _0x4ad3a8(0x1ee);}static get[_0x216233(0x1e5)](){return!0x0;}static get[_0x216233(0x1d5)](){return!0x0;}constructor(_0x58d2c5){const _0x2f4d94=_0x216233;super(_0x58d2c5);const _0x4282db=this[_0x2f4d94(0x208)][_0x2f4d94(0x1d2)][_0x2f4d94(0x1df)](_0x2f4d94(0x1fd));this[_0x2f4d94(0x20c)]=new Map(),this[_0x2f4d94(0x1e6)]=new m[(_0x2f4d94(0x205))](_0x4282db);}[_0x216233(0x1dc)](){const _0x492126=_0x216233,_0x123611=this[_0x492126(0x208)][_0x492126(0x1f4)][_0x492126(0x1df)](_0x4a8db1),_0x41d4cc=this[_0x492126(0x208)][_0x492126(0x1f4)][_0x492126(0x1df)](_0x492126(0x1dd));return _0x41d4cc[_0x492126(0x1d0)]={'getSuggestion':async _0x3efebd=>{const _0x5e54a1=_0x492126;await this[_0x5e54a1(0x1e2)]();const _0x164bfb=await this[_0x5e54a1(0x1e6)][_0x5e54a1(0x1df)](_0x3efebd)[_0x5e54a1(0x1d3)](k);return await this[_0x5e54a1(0x1fb)]([_0x164bfb]),_0x164bfb;},'addSuggestion':async({id:_0x9ddaf8,type:_0x58f328,data:_0x2207e4,originalSuggestionId:_0x3c987b,attributes:_0x335e96})=>{const _0x2dec5b=_0x492126;await this[_0x2dec5b(0x1e2)]();const _0x1f5a2d={'id':_0x9ddaf8,'type':_0x58f328,'data':_0x2207e4,'originalSuggestionId':_0x3c987b,'attributes':_0x335e96},_0x20717c=await this[_0x2dec5b(0x1e6)][_0x2dec5b(0x1ec)](_0x9ddaf8,_0x58f328,_0x2207e4,_0x3c987b,_0x335e96)[_0x2dec5b(0x1d3)](_0x4461fe=>{if(st(_0x4461fe))return new Promise(_0x1056c4=>{const _0x6f9fe5=_0x2242;this[_0x6f9fe5(0x20c)][_0x6f9fe5(0x1e1)](_0x9ddaf8,{'resolve':_0x1056c4,'suggestionData':_0x1f5a2d});});throw _0x4461fe;});return this[_0x2dec5b(0x20c)][_0x2dec5b(0x1fe)](_0x9ddaf8),_0x20717c;},'updateSuggestion':async(_0x1372e4,_0x1266e8)=>{const _0x2759ec=_0x492126;if(await this[_0x2759ec(0x1e2)](),_0x2759ec(0x202)!==_0x1266e8[_0x2759ec(0x1fa)])return this[_0x2759ec(0x1e6)][_0x2759ec(0x1f3)](_0x1372e4,_0x1266e8)[_0x2759ec(0x1d3)](k);}},this[_0x492126(0x1fc)](this[_0x492126(0x1e6)],_0x492126(0x1e8),(_0x4b4f47,_0x45522a)=>{const _0xf77376=_0x492126;_0x41d4cc[_0xf77376(0x1ea)](_0x45522a['id'])&&(_0x41d4cc[_0xf77376(0x1ff)](_0x45522a['id'])[_0xf77376(0x20a)]=_0x45522a[_0xf77376(0x20a)]);}),this[_0x492126(0x1e6)][_0x492126(0x207)](_0x123611[_0x492126(0x1da)])[_0x492126(0x1cf)](_0x54be93=>(_0x123611[_0x492126(0x1f2)](this),this[_0x492126(0x1fb)](_0x54be93)[_0x492126(0x1cf)](()=>{const _0x570b8f=_0x492126;for(const _0x3c4fea of _0x54be93){_0x41d4cc[_0x570b8f(0x1de)](_0x3c4fea)[_0x570b8f(0x1e7)]=!0x0;}})));}async[_0x216233(0x1ed)](){const _0x21dfa8=_0x216233,_0x3110e8=this[_0x21dfa8(0x208)][_0x21dfa8(0x1f4)][_0x21dfa8(0x1df)](_0x21dfa8(0x1dd)),{connection:_0x4cfbe5}=this[_0x21dfa8(0x208)][_0x21dfa8(0x1f4)][_0x21dfa8(0x1df)](_0x4a8db1),_0x5203b4=await this[_0x21dfa8(0x1e6)][_0x21dfa8(0x207)](_0x4cfbe5);await this[_0x21dfa8(0x1fb)](_0x5203b4);for(const {suggestionData:_0x184ff5,resolve:_0x47351a}of this[_0x21dfa8(0x20c)][_0x21dfa8(0x1d9)]()){let _0x314d9a=_0x5203b4[_0x21dfa8(0x1f6)](_0x3a81cf=>_0x3a81cf['id']===_0x184ff5['id']);_0x314d9a||(_0x314d9a=await this[_0x21dfa8(0x1e6)][_0x21dfa8(0x1ec)](_0x184ff5['id'],_0x184ff5[_0x21dfa8(0x1d4)],_0x184ff5[_0x21dfa8(0x201)],_0x184ff5[_0x21dfa8(0x1d8)])),_0x47351a(_0x314d9a);}for(const _0x4f75d3 of _0x5203b4)_0x3110e8[_0x21dfa8(0x1ea)](_0x4f75d3['id'])||_0x3110e8[_0x21dfa8(0x1de)](_0x4f75d3);}async[_0x216233(0x1e2)](){const _0x1ea5fe=_0x216233;this[_0x1ea5fe(0x1e6)][_0x1ea5fe(0x204)]||await new Promise(_0x45bc29=>{const _0x2835f4=_0x1ea5fe;this[_0x2835f4(0x1fc)](this[_0x2835f4(0x1e6)],_0x2835f4(0x1d1),_0x25a3a9=>{const _0x2f584e=_0x2835f4;_0x25a3a9[_0x2f584e(0x1f1)](),_0x45bc29();});});}async[_0x216233(0x1fb)](_0x35d8ae){const _0x267df6=_0x216233,_0x11f7c3=this[_0x267df6(0x208)][_0x267df6(0x1f4)][_0x267df6(0x1df)](_0x159c1f),{connection:_0x2a730e}=this[_0x267df6(0x208)][_0x267df6(0x1f4)][_0x267df6(0x1df)](_0x4a8db1),_0x6ccda9=new Set();for(const {authorId:_0x15c55d}of _0x35d8ae)_0x11f7c3[_0x267df6(0x1e3)](_0x15c55d)||_0x6ccda9[_0x267df6(0x1ec)](_0x15c55d);if(0x0===_0x6ccda9[_0x267df6(0x200)])return;const _0x243c84=await _0xabcdd0[_0x267df6(0x1d7)](_0x2a730e,Array[_0x267df6(0x1e4)](_0x6ccda9));for(const _0x598c37 of _0x243c84)_0x11f7c3[_0x267df6(0x1e3)](_0x598c37['id'])||_0x11f7c3[_0x267df6(0x20e)](_0x598c37);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x561e43){if(st(_0x561e43))return new Promise(()=>{});throw _0x561e43;}function st(_0x1d38f7){const _0x15b06f=_0x216233;return _0x1d38f7[_0x15b06f(0x1ef)][_0x15b06f(0x1f8)](_0x15b06f(0x203))||_0x1d38f7[_0x15b06f(0x1ef)][_0x15b06f(0x1f8)](_0x15b06f(0x1f5));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x210450=_0x2b25;function _0x843f(){var _0x963478=['4263690EPYjQZ','13852zzFlUS','5967640fMVIWx','TrackChanges','isPremiumPlugin','834593aDBGYf','4982528QTvNkp','27ipYApw','5094468VSPxoS','RealTimeCollaborativeTrackChanges','isOfficialPlugin','590wBGFAg','460538frGqBe','requires','pluginName','3LzNzUm'];_0x843f=function(){return _0x963478;};return _0x843f();}(function(_0x3d4c96,_0x172890){var _0x46eed9=_0x2b25,_0x31f639=_0x3d4c96();while(!![]){try{var _0x13c9e8=parseInt(_0x46eed9(0x1ef))/0x1+parseInt(_0x46eed9(0x1e6))/0x2*(parseInt(_0x46eed9(0x1e9))/0x3)+-parseInt(_0x46eed9(0x1eb))/0x4*(parseInt(_0x46eed9(0x1e5))/0x5)+parseInt(_0x46eed9(0x1e2))/0x6+parseInt(_0x46eed9(0x1ec))/0x7+-parseInt(_0x46eed9(0x1e0))/0x8+-parseInt(_0x46eed9(0x1e1))/0x9*(parseInt(_0x46eed9(0x1ea))/0xa);if(_0x13c9e8===_0x172890)break;else _0x31f639['push'](_0x31f639['shift']());}catch(_0x5d3b47){_0x31f639['push'](_0x31f639['shift']());}}}(_0x843f,0x6f4df));import{Plugin as _0x2bd8cd}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x1e18b7}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x12f2c9}from'./realtimecollaborativecomments.js';function _0x2b25(_0x22d558,_0x53e0d5){var _0x843fb5=_0x843f();return _0x2b25=function(_0x2b2528,_0x43ef8f){_0x2b2528=_0x2b2528-0x1e0;var _0x109294=_0x843fb5[_0x2b2528];return _0x109294;},_0x2b25(_0x22d558,_0x53e0d5);}export class RealTimeCollaborativeTrackChanges extends _0x2bd8cd{static get[_0x210450(0x1e7)](){var _0x3c3c4a=_0x210450;return[_0x12f2c9,_0x1e18b7,_0x3c3c4a(0x1ed)];}static get[_0x210450(0x1e8)](){var _0x511a8f=_0x210450;return _0x511a8f(0x1e3);}static get[_0x210450(0x1e4)](){return!0x0;}static get[_0x210450(0x1ee)](){return!0x0;}}
23
+ var _0x579fe3=_0x421b;function _0x357b(){var _0x480419=['16884UYuDdf','pluginName','requires','62964910UfvbLY','5001128PfyQlj','8688210aqdzis','RealTimeCollaborativeTrackChanges','4pCGpnO','1203BEwLBI','10805333yApfWy','isOfficialPlugin','isPremiumPlugin','TrackChanges','792101LJnGLM','9nqFXxG','9839772qwzUyD'];_0x357b=function(){return _0x480419;};return _0x357b();}(function(_0x11fc2b,_0x54da21){var _0x52de7a=_0x421b,_0x18a126=_0x11fc2b();while(!![]){try{var _0x334b86=-parseInt(_0x52de7a(0x13b))/0x1*(parseInt(_0x52de7a(0x135))/0x2)+parseInt(_0x52de7a(0x136))/0x3*(-parseInt(_0x52de7a(0x13e))/0x4)+parseInt(_0x52de7a(0x133))/0x5+-parseInt(_0x52de7a(0x13d))/0x6+-parseInt(_0x52de7a(0x137))/0x7+-parseInt(_0x52de7a(0x142))/0x8+parseInt(_0x52de7a(0x13c))/0x9*(parseInt(_0x52de7a(0x141))/0xa);if(_0x334b86===_0x54da21)break;else _0x18a126['push'](_0x18a126['shift']());}catch(_0x45dc40){_0x18a126['push'](_0x18a126['shift']());}}}(_0x357b,0xe796c));import{Plugin as _0x3589f0}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x430d44}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x421b(_0x2e81ae,_0x111974){var _0x357bee=_0x357b();return _0x421b=function(_0x421bf0,_0x66d2e4){_0x421bf0=_0x421bf0-0x133;var _0x53a5af=_0x357bee[_0x421bf0];return _0x53a5af;},_0x421b(_0x2e81ae,_0x111974);}import{RealTimeCollaborativeComments as _0x5cbe2f}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3589f0{static get[_0x579fe3(0x140)](){var _0x556bd2=_0x579fe3;return[_0x5cbe2f,_0x430d44,_0x556bd2(0x13a)];}static get[_0x579fe3(0x13f)](){var _0x53e025=_0x579fe3;return _0x53e025(0x134);}static get[_0x579fe3(0x138)](){return!0x0;}static get[_0x579fe3(0x139)](){return!0x0;}}