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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +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 _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();}
23
+ const _0x341818=_0x57ae;(function(_0x3aca2f,_0xb8a283){const _0x39ca99=_0x57ae,_0x303df6=_0x3aca2f();while(!![]){try{const _0x41c894=-parseInt(_0x39ca99(0x1e1))/0x1*(-parseInt(_0x39ca99(0x1af))/0x2)+parseInt(_0x39ca99(0x1ae))/0x3*(-parseInt(_0x39ca99(0x1a4))/0x4)+-parseInt(_0x39ca99(0x1bb))/0x5+parseInt(_0x39ca99(0x1d4))/0x6*(-parseInt(_0x39ca99(0x1d3))/0x7)+parseInt(_0x39ca99(0x1c5))/0x8+-parseInt(_0x39ca99(0x1d6))/0x9+parseInt(_0x39ca99(0x1e0))/0xa*(parseInt(_0x39ca99(0x1e5))/0xb);if(_0x41c894===_0xb8a283)break;else _0x303df6['push'](_0x303df6['shift']());}catch(_0x2981ed){_0x303df6['push'](_0x303df6['shift']());}}}(_0xe20e,0x51bef));import{ContextPlugin as _0x40b562}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x57114f,CKEditorError as _0x52c36e}from'ckeditor5/src/utils.js';function _0x57ae(_0x1fa182,_0xeece78){const _0xe20efd=_0xe20e();return _0x57ae=function(_0x57ae40,_0x33d73b){_0x57ae40=_0x57ae40-0x1a0;let _0x2ea33a=_0xe20efd[_0x57ae40];return _0x2ea33a;},_0x57ae(_0x1fa182,_0xeece78);}import{WebSocketGateway as _0x10a81,WEB_SOCKET_GATEWAY_STATES as _0x532c7d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3a57a7}from'ckeditor5/src/ui.js';class n extends _0x40b562{static [_0x341818(0x1bd)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x10a81)());static [_0x341818(0x1b6)]=0x3e8;[_0x341818(0x1df)];[_0x341818(0x1e8)];[_0x341818(0x1ca)];[_0x341818(0x1a3)];static get[_0x341818(0x1cb)](){const _0x446ef8=_0x341818;return[_0x446ef8(0x1c3),_0x3a57a7];}static get[_0x341818(0x1d7)](){const _0x6ba767=_0x341818;return _0x6ba767(0x1bd);}static get[_0x341818(0x1da)](){return!0x0;}static get[_0x341818(0x1a9)](){return!0x0;}constructor(_0x901df3){const _0x301b73=_0x341818;super(_0x901df3),this[_0x301b73(0x1dc)](_0x301b73(0x1bf),_0x532c7d[_0x301b73(0x1a1)]),this[_0x301b73(0x1dc)](_0x301b73(0x1ea),!0x1),this[_0x301b73(0x1e8)]=new Set(),this[_0x301b73(0x1ca)]=!0x1,this[_0x301b73(0x1a3)]=new(_0x57114f())();}[_0x341818(0x1b4)](){const _0x2e7585=_0x341818,_0x5faf3d=this[_0x2e7585(0x1c2)],_0x3171a9=_0x5faf3d[_0x2e7585(0x1db)][_0x2e7585(0x1cf)](_0x2e7585(0x1c3)),_0x3377a3=_0x5faf3d[_0x2e7585(0x1db)][_0x2e7585(0x1cf)](_0x3a57a7);if(!_0x3171a9[_0x2e7585(0x1e4)])throw new _0x52c36e(_0x2e7585(0x1ad),this);if(!_0x3171a9[_0x2e7585(0x1c7)])throw new _0x52c36e(_0x2e7585(0x1b7),this);return this[_0x2e7585(0x1a3)][_0x2e7585(0x1b5)](window,_0x2e7585(0x1be),()=>this[_0x2e7585(0x1ea)]=!0x0),this[_0x2e7585(0x1a3)][_0x2e7585(0x1b5)](window,_0x2e7585(0x1c0),()=>this[_0x2e7585(0x1ea)]=!0x1),this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cc)](_0x2e7585(0x1a7),0xa),this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cc)](_0x2e7585(0x1e6),0x14),n[_0x2e7585(0x1bd)][_0x2e7585(0x1b3)](_0x3171a9[_0x2e7585(0x1e4)],_0x3171a9[_0x2e7585(0x1c7)],{'timeout':0x3e8*this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cf)](_0x2e7585(0x1a7)),'requestTimeout':0x3e8*this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cf)](_0x2e7585(0x1e6))})[_0x2e7585(0x1e3)](_0x24e820=>{const _0x544fa9=_0x2e7585;if(this[_0x544fa9(0x1df)]=_0x24e820,this[_0x544fa9(0x1b9)](_0x544fa9(0x1bf))['to'](_0x24e820,_0x544fa9(0x1bf),this,_0x544fa9(0x1ea),(_0x49c23a,_0xb9196e)=>(_0x544fa9(0x1ce)!==_0x49c23a&&(this[_0x544fa9(0x1ca)]=!0x0),_0xb9196e||_0x49c23a!==_0x532c7d[_0x544fa9(0x1a1)]?_0x532c7d[_0x544fa9(0x1b8)]:this[_0x544fa9(0x1bf)]==_0x532c7d[_0x544fa9(0x1b8)]&&this[_0x544fa9(0x1ca)]?(this[_0x544fa9(0x1ca)]=!0x1,this[_0x544fa9(0x1ab)](),_0x532c7d[_0x544fa9(0x1a2)]):_0x532c7d[_0x544fa9(0x1a1)])),this[_0x544fa9(0x1df)]['on'](_0x544fa9(0x1d9),(_0x4e6dfd,_0x364762)=>{const _0x3aff08=_0x544fa9;if(_0x3aff08(0x1d8)!==_0x364762[_0x3aff08(0x1a8)])throw console[_0x3aff08(0x1d9)](_0x364762),new _0x52c36e(_0x3aff08(0x1ac),null,{'originalError':_0x364762});_0x3377a3[_0x3aff08(0x1ba)](_0x3aff08(0x1a0),{'title':_0x3aff08(0x1c6),'namespace':_0x3aff08(0x1c8)});}),!_0x24e820['me'])return new Promise(_0x15e064=>_0x24e820['on'](_0x544fa9(0x1a6),_0x15e064));})[_0x2e7585(0x1b0)](_0x17d8f5=>{const _0x48f60a=_0x2e7585;throw console[_0x48f60a(0x1d9)](_0x17d8f5),new _0x52c36e(_0x48f60a(0x1ac),null,{'originalError':_0x17d8f5});});}[_0x341818(0x1c1)](_0x1c776d){const _0x39ddf4=_0x341818;if(_0x39ddf4(0x1d2)!=typeof _0x1c776d[_0x39ddf4(0x1e9)])throw new _0x52c36e(_0x39ddf4(0x1dd),this);if(this[_0x39ddf4(0x1b2)](_0x1c776d))throw new _0x52c36e(_0x39ddf4(0x1b1),this,{'name':_0x1c776d[_0x39ddf4(0x1d0)][_0x39ddf4(0x1d7)]});this[_0x39ddf4(0x1e8)][_0x39ddf4(0x1de)](_0x1c776d);}[_0x341818(0x1bc)](_0x2f5496){const _0x5a523a=_0x341818;this[_0x5a523a(0x1e8)][_0x5a523a(0x1c9)](_0x2f5496);}[_0x341818(0x1b2)](_0x26bb54){const _0x25ea58=_0x341818;return this[_0x25ea58(0x1e8)][_0x25ea58(0x1c4)](_0x26bb54);}[_0x341818(0x1ab)](){const _0x40ba28=_0x341818;return this[_0x40ba28(0x1df)][_0x40ba28(0x1e9)]()[_0x40ba28(0x1e3)](()=>Promise[_0x40ba28(0x1cd)](Array[_0x40ba28(0x1d1)](this[_0x40ba28(0x1e8)],_0x27ce78=>_0x27ce78[_0x40ba28(0x1e9)]())))[_0x40ba28(0x1e3)](()=>this[_0x40ba28(0x1bf)]=_0x532c7d[_0x40ba28(0x1a1)])[_0x40ba28(0x1b0)](_0x7c9d35=>{const _0x31179a=_0x40ba28;throw console[_0x31179a(0x1d9)](_0x7c9d35),new _0x52c36e(_0x31179a(0x1d5),this[_0x31179a(0x1c2)]);});}[_0x341818(0x1e2)](){const _0x138078=_0x341818;this[_0x138078(0x1df)]&&this[_0x138078(0x1df)][_0x138078(0x1e2)](),this[_0x138078(0x1bf)]=_0x532c7d[_0x138078(0x1b8)],this[_0x138078(0x1a3)][_0x138078(0x1e7)]();}[_0x341818(0x1aa)](){const _0x53769a=_0x341818;this[_0x53769a(0x1e2)](),super[_0x53769a(0x1aa)]();}}export{n as WebSocketGateway};function _0xe20e(){const _0x352b58=['415071RmIvzE','1161362EOlYnJ','catch','websocketgateway-plugin-already-registered','isInReconnectionStack','connect','init','listenTo','initialReconnectionInterval','websocketgateway-missing-websocket-url','DISCONNECTED','bind','showWarning','2111290cYJLAb','removeFromReconnectionStack','WebSocketGateway','offline','state','online','addToReconnectionStack','context','CloudServices','has','1914880Xuteos','Connected\x20users\x20limit\x20exceeded','webSocketUrl','real-time-collaboration','delete','_shouldPluginsReconnect','requires','define','all','connected','get','constructor','from','function','394667mdDxcX','42zjRRHC','cloudservices-reconnection-error','4920264pihPVg','pluginName','limitExceeded','error','isOfficialPlugin','plugins','set','websocketgateway-invalid-plugin-interface','add','connection','10bFlfXi','1xvfKNl','disconnect','then','token','11184448BtvYWF','cloudServices.requestTimeout','stopListening','_reconnectionStack','reconnect','_isBrowserOffline','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.','CONNECTED','CONNECTING','_domEmitter','4RMoUHd','config','change:me','cloudServices.connectionTimeout','code','isPremiumPlugin','destroy','_reconnect','cloudservices-init','websocketgateway-missing-token'];_0xe20e=function(){return _0x352b58;};return _0xe20e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ function _0x4139(_0x4a437e,_0x4ddc2c){var _0x5e4ff6=_0x5e4f();return _0x4139=function(_0x4139d4,_0x1a605a){_0x4139d4=_0x4139d4-0xb4;var _0x2f3f95=_0x5e4ff6[_0x4139d4];return _0x2f3f95;},_0x4139(_0x4a437e,_0x4ddc2c);}var _0x3aa3a5=_0x4139;(function(_0x47157b,_0x4e8007){var _0x16a564=_0x4139,_0x21cafd=_0x47157b();while(!![]){try{var _0x5ef911=-parseInt(_0x16a564(0xc1))/0x1*(-parseInt(_0x16a564(0xbc))/0x2)+-parseInt(_0x16a564(0xb4))/0x3*(-parseInt(_0x16a564(0xc4))/0x4)+-parseInt(_0x16a564(0xba))/0x5*(parseInt(_0x16a564(0xb7))/0x6)+parseInt(_0x16a564(0xbe))/0x7+parseInt(_0x16a564(0xbf))/0x8*(parseInt(_0x16a564(0xc0))/0x9)+parseInt(_0x16a564(0xb6))/0xa*(-parseInt(_0x16a564(0xc3))/0xb)+parseInt(_0x16a564(0xb5))/0xc;if(_0x5ef911===_0x4e8007)break;else _0x21cafd['push'](_0x21cafd['shift']());}catch(_0x41da86){_0x21cafd['push'](_0x21cafd['shift']());}}}(_0x5e4f,0x63f0f));import{Plugin as _0x4e387f}from'ckeditor5/src/core.js';function _0x5e4f(){var _0x3d357b=['RealTimeCollaborativeEditing','284808FRLiYK','isPremiumPlugin','732172dsQZBe','71832zTGqaA','27aiYzwz','3tdTtXH','isOfficialPlugin','21241zqHJAm','2944492bzpPWc','3egmLdX','2522196yseUMx','3030KfTNHO','22362qRpWgB','requires','pluginName','685ZMsnhk'];_0x5e4f=function(){return _0x3d357b;};return _0x5e4f();}import{RealTimeCollaborationClient as _0x596269}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x4e387f{static get[_0x3aa3a5(0xb8)](){return[_0x596269];}static get[_0x3aa3a5(0xb9)](){var _0x504a43=_0x3aa3a5;return _0x504a43(0xbb);}static get[_0x3aa3a5(0xc2)](){return!0x0;}static get[_0x3aa3a5(0xbd)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
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));}
23
+ const _0x510056=_0x34b3;(function(_0x168e7c,_0x1c82ad){const _0x26856a=_0x34b3,_0x18c38f=_0x168e7c();while(!![]){try{const _0xd3018d=-parseInt(_0x26856a(0x1d7))/0x1+parseInt(_0x26856a(0x1cb))/0x2*(-parseInt(_0x26856a(0x1d6))/0x3)+-parseInt(_0x26856a(0x19c))/0x4*(parseInt(_0x26856a(0x1e7))/0x5)+-parseInt(_0x26856a(0x1ea))/0x6+-parseInt(_0x26856a(0x1bd))/0x7+-parseInt(_0x26856a(0x1c0))/0x8+parseInt(_0x26856a(0x18b))/0x9;if(_0xd3018d===_0x1c82ad)break;else _0x18c38f['push'](_0x18c38f['shift']());}catch(_0x3370ec){_0x18c38f['push'](_0x18c38f['shift']());}}}(_0x2268,0x9cb74));import{Plugin as _0x52c691}from'ckeditor5/src/core.js';function _0x34b3(_0x4375fd,_0x155489){const _0x2268b0=_0x2268();return _0x34b3=function(_0x34b34f,_0x278393){_0x34b34f=_0x34b34f-0x18a;let _0x31a0ea=_0x2268b0[_0x34b34f];return _0x31a0ea;},_0x34b3(_0x4375fd,_0x155489);}import{version as _0x504ab9}from'ckeditor5/src/utils.js';import{Users as _0x3d1b1e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x3b07bf}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5cc0a0}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x10dc6c}from'../realtimecollaborativeediting/sessions.js';function _0x2268(){const _0x1bb677=['cloud-services-internal-error:\x20Request\x20timeout.','destroy','requires','max','init','RevisionHistory','getMany','_preventResendingRevisionData','_bufferUpdate','isEnabled','7859852RwiEcQ','setSource','createdAt','4075680Undvno','pluginName','400','_bufferedUpdates','authors','catch','config','affectsData','change:_isConnected','has','diffData','4dFTRLu','fromVersion','CloudServicesRevisionHistoryAdapter','currentRevision','creatorId','_getLatestVersionFromServerOperations','add','_revisionDataBuilder','isConnected','change:_isPendingUpdate','_revisions','1609494EPWMBP','195344cpFVEk','state','map','sendBufferedUpdates','_getLatestVersion','_fixRevision','_fetchMissingUsers','code','_waitForServiceReady','adapter','serverHistory','listenTo','setRevisionData','_isPendingUpdate','wrongRequestId','repository','4475BnKpHl','marker','_handleReconnectionError','840648axWJSy','editor','reInit','isEmptyCurrent','_createCurrentRevision','_offset','addToReconnectionStack','once','connect','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','connected','keys','off','isPremiumPlugin','reverse','authorsIds','baseVersion','connection','cloudServices.bundleVersion','_handleRevisionsUpdate','41947983URiQSP','CONNECTED','updateRevisions','revisionsUpdated','data','RevisionHistoryService','reconnect','sessionId','toVersion','bind','remove','buildRevisionData','getRevisions','_isConnected','then','isBundleUploaded','size','4372TfamGq','length','RevisionTracker','startsWith','_oldOffset','getRevision','_lastRequestId','cloud-services-internal-error:\x20Not\x20connected.','collaboration.channelId','_update','isOfficialPlugin','type','_revisionTracker','plugins','getUser','getOperations','addUser','get','_revisionHistoryService','message','addRevisionData','from','_startingVersion'];_0x2268=function(){return _0x1bb677;};return _0x2268();}import{EditorService as _0x37b93a,RevisionHistoryService as _0x2574d1,User as _0x1a80ec,WEB_SOCKET_GATEWAY_STATES as _0x46546c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x52c691{static [_0x510056(0x190)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2574d1)());[_0x510056(0x1a2)];[_0x510056(0x1a8)];[_0x510056(0x1ae)];[_0x510056(0x1a0)];static get[_0x510056(0x1b5)](){const _0x50ff86=_0x510056;return[_0x5cc0a0,_0x3b07bf,_0x50ff86(0x1b8),_0x10dc6c,_0x3d1b1e];}static get[_0x510056(0x1c1)](){const _0x1e9292=_0x510056;return _0x1e9292(0x1cd);}static get[_0x510056(0x1a6)](){return!0x0;}static get[_0x510056(0x1f7)](){return!0x0;}constructor(_0x125788){const _0x508940=_0x510056;super(_0x125788);const _0x122796=this[_0x508940(0x1eb)][_0x508940(0x1c6)][_0x508940(0x1ad)](_0x508940(0x1a4));this[_0x508940(0x1a2)]=null,this[_0x508940(0x1a8)]=this[_0x508940(0x1eb)][_0x508940(0x1a9)][_0x508940(0x1ad)](_0x508940(0x19e)),this[_0x508940(0x1ae)]=new c[(_0x508940(0x190))](_0x122796);}async[_0x510056(0x1b7)](){const _0x4acf74=_0x510056,_0x10d167=this[_0x4acf74(0x1eb)][_0x4acf74(0x1a9)][_0x4acf74(0x1ad)](_0x3b07bf),_0x548df5=_0x10d167[_0x4acf74(0x1e1)],_0x231d66=this[_0x4acf74(0x1eb)][_0x4acf74(0x1a9)][_0x4acf74(0x1ad)](_0x5cc0a0);this[_0x4acf74(0x1a8)][_0x4acf74(0x1be)]({'history':_0x548df5,'getLatestVersion':()=>this[_0x4acf74(0x1db)](),'getCurrentRevisionId':()=>_0x10d167[_0x4acf74(0x192)]});const _0x8979cf=this[_0x4acf74(0x1eb)][_0x4acf74(0x1c6)][_0x4acf74(0x1ad)](_0x4acf74(0x1fc))||_0x504ab9,_0x715852=await _0x37b93a[_0x4acf74(0x19a)](_0x231d66[_0x4acf74(0x1fb)],_0x8979cf);this[_0x4acf74(0x1eb)][_0x4acf74(0x1a9)][_0x4acf74(0x1ad)](_0x4acf74(0x1b8))[_0x4acf74(0x1e0)]={'getRevision':async({revisionId:_0x1c508f})=>(await this[_0x4acf74(0x1df)](),await this[_0x4acf74(0x1ae)][_0x4acf74(0x1a1)](_0x1c508f)),'updateRevisions':async _0x5c0445=>{const _0x5298a7=_0x4acf74;await this[_0x5298a7(0x1df)]();const _0x5e0948=this[_0x5298a7(0x1a8)][_0x5298a7(0x1ce)];if(_0x715852&&0x1===_0x5c0445[_0x5298a7(0x19d)]&&_0x5c0445[0x0]['id']===_0x5e0948['id'])return _0x5c0445;for(const _0x223487 of _0x5c0445)_0x223487['id']===_0x5e0948['id']&&(_0x223487[_0x5298a7(0x1ed)]=_0x223487[_0x5298a7(0x1cc)]===_0x223487[_0x5298a7(0x193)]);return this[_0x5298a7(0x1ae)][_0x5298a7(0x18d)](_0x5c0445,this[_0x5298a7(0x1a2)])[_0x5298a7(0x199)](_0x4ecb9c=>(this[_0x5298a7(0x1a2)]=_0x4ecb9c,_0x5c0445))[_0x5298a7(0x1c5)](_0x24b89a=>{const _0x192c72=_0x5298a7;if(b(_0x24b89a)||_0x192c72(0x1c2)===_0x24b89a[_0x192c72(0x1de)]&&void 0x0!==_0x24b89a[_0x192c72(0x18f)][_0x192c72(0x1e5)]){for(const _0x19d3a6 of _0x5c0445){!this[_0x192c72(0x1a8)][_0x192c72(0x1e6)][_0x192c72(0x1a1)](_0x19d3a6['id'])||this[_0x192c72(0x1a8)][_0x192c72(0x1bb)](_0x19d3a6['id'],_0x19d3a6,!0x1);}if(b(_0x24b89a))throw _0x24b89a;return _0x5c0445;}throw _0x24b89a;});}},this[_0x4acf74(0x1e2)](this[_0x4acf74(0x1ae)],_0x4acf74(0x18e),(_0xa2ed5c,{revisionsData:_0x3a4730,requestId:_0x3c52d4})=>{const _0x2a7084=_0x4acf74;Math[_0x2a7084(0x1b6)](..._0x3a4730[_0x2a7084(0x1d9)](_0x45a5e0=>_0x45a5e0[_0x2a7084(0x193)]))>this[_0x2a7084(0x1d0)]()-0x1?this[_0x2a7084(0x1db)]()[_0x2a7084(0x199)](()=>{const _0x4f7ef3=_0x2a7084;this[_0x4f7ef3(0x18a)](_0x3a4730,_0x3c52d4);}):this[_0x2a7084(0x18a)](_0x3a4730,_0x3c52d4);});const {revisions:_0x25aaa4,requestId:_0x2139e7}=await this[_0x4acf74(0x1ae)][_0x4acf74(0x1f2)](_0x231d66[_0x4acf74(0x1fb)]);_0x231d66[_0x4acf74(0x1f0)](this),this[_0x4acf74(0x1a2)]=_0x2139e7,await this[_0x4acf74(0x1dd)](_0x25aaa4);for(const _0x1028db of _0x25aaa4)this[_0x4acf74(0x1a8)][_0x4acf74(0x1b0)](_0x1028db);this[_0x4acf74(0x1e2)](_0x10d167,_0x4acf74(0x1c8),(_0x44aa1b,_0x39d5e3,_0x55d94d)=>{const _0x28b80a=_0x4acf74;_0x55d94d&&(this[_0x28b80a(0x1a0)]=_0x10d167[_0x28b80a(0x1ef)],_0x44aa1b[_0x28b80a(0x1f6)]());}),this[_0x4acf74(0x1a8)][_0x4acf74(0x194)](_0x4acf74(0x1bc))['to'](_0x231d66,_0x4acf74(0x1d8),_0x83e99c=>_0x83e99c===_0x46546c[_0x4acf74(0x18c)]);}async[_0x510056(0x191)](){const _0x17fa4a=_0x510056,_0x548874=this[_0x17fa4a(0x1eb)][_0x17fa4a(0x1a9)][_0x17fa4a(0x1ad)](_0x5cc0a0),_0x31dc4a=this[_0x17fa4a(0x1eb)][_0x17fa4a(0x1a9)][_0x17fa4a(0x1ad)](_0x3b07bf),_0x32589a=async()=>{const _0x14628a=_0x17fa4a,_0x200ed0=this[_0x14628a(0x1a8)][_0x14628a(0x1ce)],_0x234698=_0x200ed0['id'],_0x50b904=_0x234698!==_0x31dc4a[_0x14628a(0x192)];if(_0x50b904){const _0xf6c528=_0x31dc4a[_0x14628a(0x1ef)]-this[_0x14628a(0x1a0)],_0x4831e4=this[_0x14628a(0x1d0)]();this[_0x14628a(0x1a8)][_0x14628a(0x1d2)][_0x14628a(0x1ec)]();if(_0x200ed0[_0x14628a(0x193)]+_0xf6c528!==_0x4831e4){const _0x12f5dd=_0x200ed0[_0x14628a(0x1cc)]+_0xf6c528,_0x37800f=this[_0x14628a(0x1eb)][_0x14628a(0x1a9)][_0x14628a(0x1ad)](_0x3d1b1e),_0x128d87=this[_0x14628a(0x1a8)][_0x14628a(0x196)]({'revision':_0x200ed0,'from':_0x12f5dd,'to':_0x4831e4});_0x128d87['id']=_0x200ed0['id'];const _0x3ef182=_0x128d87[_0x14628a(0x1f9)][_0x14628a(0x1d9)](_0x173e57=>_0x37800f[_0x14628a(0x1aa)](_0x173e57));_0x200ed0[_0x14628a(0x1a5)]({..._0x128d87,'authors':_0x3ef182},!0x0),this[_0x14628a(0x1a8)][_0x14628a(0x1bb)](_0x200ed0['id'],_0x128d87,!0x0);}this[_0x14628a(0x1a8)][_0x14628a(0x1b2)]=_0x4831e4,(_0x200ed0[_0x14628a(0x193)]===_0x200ed0[_0x14628a(0x1cc)]&&!this[_0x14628a(0x1a8)][_0x14628a(0x1c3)][_0x14628a(0x1c9)](_0x234698)&&this[_0x14628a(0x1a8)][_0x14628a(0x1e6)][_0x14628a(0x1d5)][_0x14628a(0x195)](_0x234698),this[_0x14628a(0x1a8)][_0x14628a(0x1ee)](_0x4831e4));}const {revisions:_0x27924a,requestId:_0x5f08a0}=await this[_0x14628a(0x1ae)][_0x14628a(0x191)](_0x548874[_0x14628a(0x1fb)],this[_0x14628a(0x1a2)]);_0x50b904&&_0x27924a[_0x14628a(0x19d)]>0x0?_0x31dc4a[_0x14628a(0x1e9)]():(await this[_0x14628a(0x1dd)](_0x27924a),this[_0x14628a(0x18a)](_0x27924a,_0x5f08a0),this[_0x14628a(0x1a8)][_0x14628a(0x1da)]());};return _0x31dc4a[_0x17fa4a(0x198)]?_0x32589a():new Promise((_0x1c313c,_0x4a24cc)=>{const _0x54dfe7=_0x17fa4a;_0x31dc4a[_0x54dfe7(0x1f1)](_0x54dfe7(0x1c8),()=>{const _0x14c4dd=_0x54dfe7;_0x32589a()[_0x14c4dd(0x199)](_0x1c313c)[_0x14c4dd(0x1c5)](_0x4a24cc);});});}[_0x510056(0x1b4)](){const _0x15c332=_0x510056;super[_0x15c332(0x1b4)]();}async[_0x510056(0x1df)](){const _0x506393=_0x510056;this[_0x506393(0x1ae)][_0x506393(0x1d3)]||await new Promise(_0x40137f=>{const _0x5c8254=_0x506393;this[_0x5c8254(0x1e2)](this[_0x5c8254(0x1ae)],_0x5c8254(0x1f4),_0x498125=>{const _0x23298a=_0x5c8254;_0x498125[_0x23298a(0x1f6)](),_0x40137f();});});}[_0x510056(0x1d0)](){const _0xd5e1c4=_0x510056,_0x12e37e=this[_0xd5e1c4(0x1eb)][_0xd5e1c4(0x1a9)][_0xd5e1c4(0x1ad)](_0x3b07bf)[_0xd5e1c4(0x1e1)][_0xd5e1c4(0x1ab)]()[_0xd5e1c4(0x1f8)]();for(const _0x2e59a5 of _0x12e37e)if(_0xd5e1c4(0x1e8)!==_0x2e59a5[_0xd5e1c4(0x1a7)]||_0x2e59a5[_0xd5e1c4(0x1c7)])return _0x2e59a5[_0xd5e1c4(0x1fa)]+0x1;}[_0x510056(0x1db)](){const _0x570955=_0x510056,_0x42face=this[_0x570955(0x1eb)][_0x570955(0x1a9)][_0x570955(0x1ad)](_0x3b07bf);return new Promise(_0x4881ae=>{const _0x4536f7=_0x570955;_0x42face[_0x4536f7(0x1e4)]?_0x42face[_0x4536f7(0x1f1)](_0x4536f7(0x1d4),()=>{const _0x47d2c6=_0x4536f7;_0x4881ae(this[_0x47d2c6(0x1d0)]());}):_0x4881ae(this[_0x4536f7(0x1d0)]());});}[_0x510056(0x18a)](_0x130ea7,_0x170784){const _0xb1aaef=_0x510056,_0x3fdd3b=this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1e6)];this[_0xb1aaef(0x1a2)]=_0x170784;for(const _0x232a13 of _0x130ea7){const _0x587a72=_0x3fdd3b[_0xb1aaef(0x1a1)](_0x232a13['id']);if(_0x587a72){if((_0x232a13[_0xb1aaef(0x1cc)]||_0x232a13[_0xb1aaef(0x193)])&&(_0x232a13[_0xb1aaef(0x1ca)]=null),_0x587a72===this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1ce)]){const _0x340f36=Math[_0xb1aaef(0x1b6)](_0x587a72[_0xb1aaef(0x193)],_0x232a13[_0xb1aaef(0x193)]),_0x12e275=Math[_0xb1aaef(0x1b6)](_0x587a72[_0xb1aaef(0x1cc)],_0x232a13[_0xb1aaef(0x1cc)]);let _0x1b07bb;_0x587a72[_0xb1aaef(0x193)]===_0x232a13[_0xb1aaef(0x193)]&&_0x587a72[_0xb1aaef(0x1cc)]===_0x232a13[_0xb1aaef(0x1cc)]?(_0x1b07bb=!0x0,this[_0xb1aaef(0x1ba)](_0x232a13)):_0x232a13[_0xb1aaef(0x193)]===_0x340f36&&_0x232a13[_0xb1aaef(0x1cc)]===_0x12e275?_0x1b07bb=!0x1:(_0x587a72[_0xb1aaef(0x193)]===_0x340f36&&_0x587a72[_0xb1aaef(0x1cc)]===_0x12e275||this[_0xb1aaef(0x1dc)]({'revision':_0x587a72,'from':_0x12e275,'to':_0x340f36}),_0x1b07bb=!0x0),_0x1b07bb&&(delete _0x232a13[_0xb1aaef(0x1cc)],delete _0x232a13[_0xb1aaef(0x193)],delete _0x232a13[_0xb1aaef(0x1ca)],delete _0x232a13[_0xb1aaef(0x1bf)],delete _0x232a13[_0xb1aaef(0x1f9)]);}this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1e3)](_0x232a13),this[_0xb1aaef(0x1ba)](_0x232a13);}else this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1b0)](_0x232a13);}const _0xfec4b=_0x3fdd3b[_0xb1aaef(0x197)]();_0xfec4b[_0xb1aaef(0x1f8)]();for(let _0x4256a0=0x0;_0x4256a0<_0xfec4b[_0xb1aaef(0x19d)]-0x1;_0x4256a0++){const _0x326cfb=_0xfec4b[_0x4256a0],_0x49997f=_0xfec4b[_0x4256a0+0x1];if(_0x326cfb[_0xb1aaef(0x1cc)]<_0x49997f[_0xb1aaef(0x193)]){const _0x4abf73=_0x49997f[_0xb1aaef(0x193)],_0x1ddc2d=Math[_0xb1aaef(0x1b6)](_0x4abf73,_0x326cfb[_0xb1aaef(0x193)]);this[_0xb1aaef(0x1dc)]({'revision':_0x326cfb,'from':_0x4abf73,'to':_0x1ddc2d});}}}[_0x510056(0x1dc)]({revision:_0xf3b000,from:_0x23ca64,to:_0x34710e}={}){const _0x18fee4=_0x510056,_0x5e228a=this[_0x18fee4(0x1eb)][_0x18fee4(0x1a9)][_0x18fee4(0x1ad)](_0x3d1b1e),_0x1e2ac4=this[_0x18fee4(0x1a8)][_0x18fee4(0x196)]({'revision':_0xf3b000,'from':_0x23ca64,'to':_0x34710e});_0x1e2ac4[_0x18fee4(0x1c4)]=_0x1e2ac4[_0x18fee4(0x1f9)][_0x18fee4(0x1d9)](_0x29a261=>_0x5e228a[_0x18fee4(0x1aa)](_0x29a261)),_0xf3b000[_0x18fee4(0x1a5)](_0x1e2ac4);}[_0x510056(0x1ba)](_0x494f99){const _0xd37116=_0x510056,_0x2695c9={};_0x2695c9['id']=_0x494f99['id'];for(const _0x29665a of Object[_0xd37116(0x1f5)](_0x494f99))'id'!==_0x29665a&&(_0x2695c9[_0x29665a]=void 0x0);this[_0xd37116(0x1a8)][_0xd37116(0x1bb)](_0x2695c9['id'],_0x2695c9,!0x0);}async[_0x510056(0x1dd)](_0x32e5be){const _0x4af7f7=_0x510056,_0x6cd791=this[_0x4af7f7(0x1eb)][_0x4af7f7(0x1a9)][_0x4af7f7(0x1ad)](_0x3d1b1e),{connection:_0x537468}=this[_0x4af7f7(0x1eb)][_0x4af7f7(0x1a9)][_0x4af7f7(0x1ad)](_0x5cc0a0),_0xe5409f=new Set();for(const _0x1b60a5 of _0x32e5be){for(const _0x2ac3dd of _0x1b60a5[_0x4af7f7(0x1f9)])_0x18b3d9(_0x2ac3dd);_0x1b60a5[_0x4af7f7(0x1cf)]&&_0x18b3d9(_0x1b60a5[_0x4af7f7(0x1cf)]);}if(0x0===_0xe5409f[_0x4af7f7(0x19b)])return;const _0x269755=await _0x1a80ec[_0x4af7f7(0x1b9)](_0x537468,Array[_0x4af7f7(0x1b1)](_0xe5409f));for(const _0x27186e of _0x269755)_0x6cd791[_0x4af7f7(0x1aa)](_0x27186e['id'])||_0x6cd791[_0x4af7f7(0x1ac)](_0x27186e);function _0x18b3d9(_0x2c4e1c){const _0x1378e6=_0x4af7f7;_0x6cd791[_0x1378e6(0x1aa)](_0x2c4e1c)||_0xe5409f[_0x1378e6(0x1d1)](_0x2c4e1c);}}}export{c as CloudServicesRevisionHistoryAdapter};function b(_0x3459f5){const _0x20a80d=_0x510056;return _0x3459f5[_0x20a80d(0x1af)][_0x20a80d(0x19f)](_0x20a80d(0x1f3))||_0x3459f5[_0x20a80d(0x1af)][_0x20a80d(0x19f)](_0x20a80d(0x1a3))||_0x3459f5[_0x20a80d(0x1af)][_0x20a80d(0x19f)](_0x20a80d(0x1b3));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ function _0x14a2(_0xaab085,_0x507433){var _0xba9beb=_0xba9b();return _0x14a2=function(_0x14a2b9,_0x5b979f){_0x14a2b9=_0x14a2b9-0x73;var _0x44f661=_0xba9beb[_0x14a2b9];return _0x44f661;},_0x14a2(_0xaab085,_0x507433);}var _0x4cc5d8=_0x14a2;(function(_0x5bb4b6,_0x29849a){var _0x39e396=_0x14a2,_0xfded52=_0x5bb4b6();while(!![]){try{var _0x2024da=parseInt(_0x39e396(0x7e))/0x1+-parseInt(_0x39e396(0x81))/0x2+parseInt(_0x39e396(0x74))/0x3*(-parseInt(_0x39e396(0x78))/0x4)+-parseInt(_0x39e396(0x7c))/0x5+parseInt(_0x39e396(0x79))/0x6*(-parseInt(_0x39e396(0x77))/0x7)+-parseInt(_0x39e396(0x73))/0x8+parseInt(_0x39e396(0x7f))/0x9*(parseInt(_0x39e396(0x76))/0xa);if(_0x2024da===_0x29849a)break;else _0xfded52['push'](_0xfded52['shift']());}catch(_0x5424d1){_0xfded52['push'](_0xfded52['shift']());}}}(_0xba9b,0x52cb1));function _0xba9b(){var _0x255c39=['4627648iLiwtV','24QLvWqn','isPremiumPlugin','10770BNmBMq','4517541zgdgdE','137528HQxaXe','6IbUWQv','requires','pluginName','1767045ARTKdg','RealTimeCollaborativeRevisionHistory','312973UezJcL','16011sUuVeq','RevisionHistory','75102cqRtXk','isOfficialPlugin'];_0xba9b=function(){return _0x255c39;};return _0xba9b();}import{Plugin as _0x39abc1}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2051b5}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x2b3d35}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x39abc1{static get[_0x4cc5d8(0x7a)](){var _0x207f07=_0x4cc5d8;return[_0x207f07(0x80),_0x2051b5,_0x2b3d35];}static get[_0x4cc5d8(0x7b)](){var _0x53c25b=_0x4cc5d8;return _0x53c25b(0x7d);}static get[_0x4cc5d8(0x82)](){return!0x0;}static get[_0x4cc5d8(0x75)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
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));}
23
+ const _0x319d4d=_0x1f3d;(function(_0x115f2a,_0x4909c5){const _0x103116=_0x1f3d,_0x2f494b=_0x115f2a();while(!![]){try{const _0x1e2714=-parseInt(_0x103116(0xe6))/0x1+parseInt(_0x103116(0x113))/0x2+parseInt(_0x103116(0xf2))/0x3*(-parseInt(_0x103116(0xda))/0x4)+parseInt(_0x103116(0xe3))/0x5*(parseInt(_0x103116(0xf0))/0x6)+parseInt(_0x103116(0xdf))/0x7*(parseInt(_0x103116(0x106))/0x8)+-parseInt(_0x103116(0x110))/0x9+parseInt(_0x103116(0x10d))/0xa;if(_0x1e2714===_0x4909c5)break;else _0x2f494b['push'](_0x2f494b['shift']());}catch(_0xc3266d){_0x2f494b['push'](_0x2f494b['shift']());}}}(_0x4976,0xdff1f));import{Plugin as _0x21b4d8}from'ckeditor5/src/core.js';import{User as _0xd3b36e,TrackChangesService as _0x5ba0a3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xfe132d}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x425938}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x298e5c}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x21b4d8{static [_0x319d4d(0x104)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5ba0a3)());[_0x319d4d(0xf4)];[_0x319d4d(0xdd)];static get[_0x319d4d(0x112)](){const _0x5cd715=_0x319d4d;return[_0x425938,_0x5cd715(0x100),_0xfe132d];}static get[_0x319d4d(0xed)](){const _0xa7781f=_0x319d4d;return _0xa7781f(0x116);}static get[_0x319d4d(0x117)](){return!0x0;}static get[_0x319d4d(0xf1)](){return!0x0;}constructor(_0x2ad226){const _0x1fbfec=_0x319d4d;super(_0x2ad226);const _0x3bfa7d=this[_0x1fbfec(0x109)][_0x1fbfec(0xd9)][_0x1fbfec(0xf6)](_0x1fbfec(0xec));this[_0x1fbfec(0xf4)]=new Map(),this[_0x1fbfec(0xdd)]=new m[(_0x1fbfec(0x104))](_0x3bfa7d);}[_0x319d4d(0xf8)](){const _0x5d7c20=_0x319d4d,_0x5e5d8d=this[_0x5d7c20(0x109)][_0x5d7c20(0x101)][_0x5d7c20(0xf6)](_0xfe132d),_0x55889d=this[_0x5d7c20(0x109)][_0x5d7c20(0x101)][_0x5d7c20(0xf6)](_0x5d7c20(0x100));return _0x55889d[_0x5d7c20(0xfe)]={'getSuggestion':async _0x1ec8af=>{const _0x5eb877=_0x5d7c20;await this[_0x5eb877(0xee)]();const _0x228a22=await this[_0x5eb877(0xdd)][_0x5eb877(0xf6)](_0x1ec8af)[_0x5eb877(0xfa)](A);return await this[_0x5eb877(0xe4)]([_0x228a22]),_0x228a22;},'addSuggestion':async({id:_0x1bcd45,type:_0xc8b573,data:_0x19babb,originalSuggestionId:_0x3a2d18,attributes:_0x16d89b})=>{const _0x3177c4=_0x5d7c20;await this[_0x3177c4(0xee)]();const _0x22f168={'id':_0x1bcd45,'type':_0xc8b573,'data':_0x19babb,'originalSuggestionId':_0x3a2d18,'attributes':_0x16d89b},_0x4dc210=await this[_0x3177c4(0xdd)][_0x3177c4(0x108)](_0x1bcd45,_0xc8b573,_0x19babb,_0x3a2d18,_0x16d89b)[_0x3177c4(0xfa)](_0x2b1df5=>{if(b(_0x2b1df5))return new Promise(_0x19d488=>{const _0x1b965a=_0x1f3d;this[_0x1b965a(0xf4)][_0x1b965a(0x10e)](_0x1bcd45,{'resolve':_0x19d488,'suggestionData':_0x22f168});});throw _0x2b1df5;});return this[_0x3177c4(0xf4)][_0x3177c4(0x10a)](_0x1bcd45),_0x4dc210;},'updateSuggestion':async(_0x158d31,_0x41983b)=>{const _0x9548b7=_0x5d7c20;if(await this[_0x9548b7(0xee)](),_0x9548b7(0x103)!==_0x41983b[_0x9548b7(0xe1)])return this[_0x9548b7(0xdd)][_0x9548b7(0xfd)](_0x158d31,_0x41983b)[_0x9548b7(0xfa)](A);}},this[_0x5d7c20(0x118)](this[_0x5d7c20(0xdd)],_0x5d7c20(0xe9),(_0x4fa95d,_0xb08497)=>{const _0x3b93f9=_0x5d7c20;_0x55889d[_0x3b93f9(0xf5)](_0xb08497['id'])&&(_0x55889d[_0x3b93f9(0xeb)](_0xb08497['id'])[_0x3b93f9(0xff)]=_0xb08497[_0x3b93f9(0xff)]);}),this[_0x5d7c20(0xdd)][_0x5d7c20(0x10f)](_0x5e5d8d[_0x5d7c20(0xde)])[_0x5d7c20(0x111)](_0xee6f8a=>(_0x5e5d8d[_0x5d7c20(0x107)](this),this[_0x5d7c20(0xe4)](_0xee6f8a)[_0x5d7c20(0x111)](()=>{const _0x5aec49=_0x5d7c20;for(const _0x4df754 of _0xee6f8a){_0x55889d[_0x5aec49(0xe8)](_0x4df754)[_0x5aec49(0xf3)]=!0x0;}})));}async[_0x319d4d(0xe7)](){const _0x18beaf=_0x319d4d,_0x501f32=this[_0x18beaf(0x109)][_0x18beaf(0x101)][_0x18beaf(0xf6)](_0x18beaf(0x100)),{connection:_0x32678d}=this[_0x18beaf(0x109)][_0x18beaf(0x101)][_0x18beaf(0xf6)](_0xfe132d),_0x15f6c7=await this[_0x18beaf(0xdd)][_0x18beaf(0x10f)](_0x32678d);await this[_0x18beaf(0xe4)](_0x15f6c7);for(const {suggestionData:_0x912b35,resolve:_0x1aa0fa}of this[_0x18beaf(0xf4)][_0x18beaf(0x115)]()){let _0x332918=_0x15f6c7[_0x18beaf(0x10c)](_0x507056=>_0x507056['id']===_0x912b35['id']);_0x332918||(_0x332918=await this[_0x18beaf(0xdd)][_0x18beaf(0x108)](_0x912b35['id'],_0x912b35[_0x18beaf(0x114)],_0x912b35[_0x18beaf(0xf7)],_0x912b35[_0x18beaf(0xef)])),_0x1aa0fa(_0x332918);}for(const _0x2051fd of _0x15f6c7)_0x501f32[_0x18beaf(0xf5)](_0x2051fd['id'])||_0x501f32[_0x18beaf(0xe8)](_0x2051fd);}async[_0x319d4d(0xee)](){const _0x271df7=_0x319d4d;this[_0x271df7(0xdd)][_0x271df7(0x10b)]||await new Promise(_0x6ba555=>{const _0x112263=_0x271df7;this[_0x112263(0x118)](this[_0x112263(0xdd)],_0x112263(0xe5),_0x534b68=>{const _0x30737d=_0x112263;_0x534b68[_0x30737d(0x105)](),_0x6ba555();});});}async[_0x319d4d(0xe4)](_0x1ada63){const _0x4a9ff2=_0x319d4d,_0x5b8c32=this[_0x4a9ff2(0x109)][_0x4a9ff2(0x101)][_0x4a9ff2(0xf6)](_0x298e5c),{connection:_0x57ece7}=this[_0x4a9ff2(0x109)][_0x4a9ff2(0x101)][_0x4a9ff2(0xf6)](_0xfe132d),_0x14e9c9=new Set();for(const {authorId:_0x4406c7}of _0x1ada63)_0x5b8c32[_0x4a9ff2(0xdc)](_0x4406c7)||_0x14e9c9[_0x4a9ff2(0x108)](_0x4406c7);if(0x0===_0x14e9c9[_0x4a9ff2(0xe0)])return;const _0x2b6cbc=await _0xd3b36e[_0x4a9ff2(0xfc)](_0x57ece7,Array[_0x4a9ff2(0xdb)](_0x14e9c9));for(const _0x486f0f of _0x2b6cbc)_0x5b8c32[_0x4a9ff2(0xdc)](_0x486f0f['id'])||_0x5b8c32[_0x4a9ff2(0xf9)](_0x486f0f);}}export{m as CloudServicesTrackChangesAdapter};function _0x1f3d(_0x3d6ba2,_0x4f7eb3){const _0x497624=_0x4976();return _0x1f3d=function(_0x1f3db1,_0x129b22){_0x1f3db1=_0x1f3db1-0xd9;let _0x5b0861=_0x497624[_0x1f3db1];return _0x5b0861;},_0x1f3d(_0x3d6ba2,_0x4f7eb3);}function A(_0x36317c){if(b(_0x36317c))return new Promise(()=>{});throw _0x36317c;}function _0x4976(){const _0x4a4b10=['then','requires','1540206nRZNwL','type','values','CloudServicesTrackChangesAdapter','isOfficialPlugin','listenTo','config','666796LdUTNR','from','getUser','_trackChangesService','connection','8150317lcDYee','size','state','message','5aycDKs','_fetchMissingUsersForThreads','connected','37403bFrQNP','reconnect','addSuggestionData','suggestionUpdated','startsWith','getSuggestion','collaboration.channelId','pluginName','_waitForServiceReady','originalSuggestionId','1166826nULQYX','isPremiumPlugin','6zTzFvd','_saved','_bufferedRequests','hasSuggestion','get','data','init','addUser','catch','cloud-services-internal-error:\x20Not\x20connected.','getMany','update','adapter','attributes','TrackChangesEditing','plugins','cloud-services-internal-error:\x20Request\x20timeout.','open','TrackChangesService','off','8gXcqUs','addToReconnectionStack','add','editor','delete','isConnected','find','4117280Xxdcyl','set','connect','11272977BBDhWC'];_0x4976=function(){return _0x4a4b10;};return _0x4976();}function b(_0x4b0f62){const _0x29b5cc=_0x319d4d;return _0x4b0f62[_0x29b5cc(0xe2)][_0x29b5cc(0xea)](_0x29b5cc(0xfb))||_0x4b0f62[_0x29b5cc(0xe2)][_0x29b5cc(0xea)](_0x29b5cc(0x102));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ function _0x3705(){var _0x7f83c9=['823812kcpHTh','349254eluyyL','pluginName','isPremiumPlugin','328jWTTCH','1605610pIwCbY','12167869ojPaSp','4882152uWZGeL','4uZdIMX','4176537CoOeOA','TrackChanges','RealTimeCollaborativeTrackChanges','isOfficialPlugin','7471460vpWysU','requires'];_0x3705=function(){return _0x7f83c9;};return _0x3705();}var _0xc36118=_0x1c3b;(function(_0x52b64b,_0x299de7){var _0x12be1d=_0x1c3b,_0x3d4ab9=_0x52b64b();while(!![]){try{var _0x20957a=parseInt(_0x12be1d(0x163))/0x1+parseInt(_0x12be1d(0x15e))/0x2+-parseInt(_0x12be1d(0x158))/0x3*(-parseInt(_0x12be1d(0x157))/0x4)+-parseInt(_0x12be1d(0x15c))/0x5+-parseInt(_0x12be1d(0x156))/0x6+-parseInt(_0x12be1d(0x164))/0x7+-parseInt(_0x12be1d(0x162))/0x8*(-parseInt(_0x12be1d(0x15f))/0x9);if(_0x20957a===_0x299de7)break;else _0x3d4ab9['push'](_0x3d4ab9['shift']());}catch(_0x21f924){_0x3d4ab9['push'](_0x3d4ab9['shift']());}}}(_0x3705,0xe907a));import{Plugin as _0x39e4a2}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x497031}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x1c3b(_0x1f7d0f,_0x1fbb60){var _0x370575=_0x3705();return _0x1c3b=function(_0x1c3be8,_0x539f10){_0x1c3be8=_0x1c3be8-0x156;var _0x531653=_0x370575[_0x1c3be8];return _0x531653;},_0x1c3b(_0x1f7d0f,_0x1fbb60);}import{RealTimeCollaborativeComments as _0x489bc1}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x39e4a2{static get[_0xc36118(0x15d)](){var _0x251b4f=_0xc36118;return[_0x489bc1,_0x497031,_0x251b4f(0x159)];}static get[_0xc36118(0x160)](){var _0x572f14=_0xc36118;return _0x572f14(0x15a);}static get[_0xc36118(0x15b)](){return!0x0;}static get[_0xc36118(0x161)](){return!0x0;}}