@ckeditor/ckeditor5-real-time-collaboration 47.0.0 → 47.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 +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12c2(){const _0x8e8dd6=['websocketgateway-invalid-plugin-interface','then','10GedXIf','plugins','real-time-collaboration','set','_reconnect','12772040ITUhjH','state','showWarning','config','delete','connect','token','9655JlnrDJ','cloudservices-init','bind','CONNECTING','isInReconnectionStack','disconnect','pluginName','1361028oPNSnz','online','requires','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.','175285QZQtWN','stopListening','isPremiumPlugin','_isBrowserOffline','addToReconnectionStack','context','connection','has','cloudservices-reconnection-error','CONNECTED','8HrPCpU','initialReconnectionInterval','get','WebSocketGateway','destroy','isOfficialPlugin','add','error','code','all','from','_domEmitter','change:me','function','define','_reconnectionStack','websocketgateway-missing-token','Connected\x20users\x20limit\x20exceeded','CloudServices','DISCONNECTED','_shouldPluginsReconnect','offline','297397VUAtZY','10116639YngarF','cloudServices.connectionTimeout','catch','774Nblpbf','constructor','listenTo','websocketgateway-plugin-already-registered','removeFromReconnectionStack','webSocketUrl','cloudServices.requestTimeout','1764oVgMmV','reconnect','limitExceeded','websocketgateway-missing-websocket-url','6AuDEHT','connected','2380168ouruIu','init'];_0x12c2=function(){return _0x8e8dd6;};return _0x12c2();}function _0xa0f4(_0x1761ee,_0x26b5b7){const _0x12c24c=_0x12c2();return _0xa0f4=function(_0xa0f420,_0x464167){_0xa0f420=_0xa0f420-0x1c1;let _0x486378=_0x12c24c[_0xa0f420];return _0x486378;},_0xa0f4(_0x1761ee,_0x26b5b7);}const _0xfc3a04=_0xa0f4;(function(_0x3ce84e,_0x2d78fb){const _0x4385b7=_0xa0f4,_0x15647b=_0x3ce84e();while(!![]){try{const _0x72c285=-parseInt(_0x4385b7(0x1d9))/0x1*(-parseInt(_0x4385b7(0x1e8))/0x2)+parseInt(_0x4385b7(0x201))/0x3*(parseInt(_0x4385b7(0x1c3))/0x4)+-parseInt(_0x4385b7(0x1fa))/0x5*(parseInt(_0x4385b7(0x1dd))/0x6)+-parseInt(_0x4385b7(0x1ea))/0x7+-parseInt(_0x4385b7(0x1f3))/0x8+parseInt(_0x4385b7(0x1da))/0x9*(-parseInt(_0x4385b7(0x1ee))/0xa)+parseInt(_0x4385b7(0x205))/0xb*(parseInt(_0x4385b7(0x1e4))/0xc);if(_0x72c285===_0x2d78fb)break;else _0x15647b['push'](_0x15647b['shift']());}catch(_0xf591bf){_0x15647b['push'](_0x15647b['shift']());}}}(_0x12c2,0xcb321));import{ContextPlugin as _0x30eabe}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2dbfa0,CKEditorError as _0x318e66}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x48c97,WEB_SOCKET_GATEWAY_STATES as _0x2ee161}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3979be}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x30eabe{static [_0xfc3a04(0x1c6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x48c97)());static [_0xfc3a04(0x1c4)]=0x3e8;[_0xfc3a04(0x20b)];[_0xfc3a04(0x1d2)];[_0xfc3a04(0x1d7)];[_0xfc3a04(0x1ce)];static get[_0xfc3a04(0x203)](){const _0x2f9369=_0xfc3a04;return[_0x2f9369(0x1d5),_0x3979be];}static get[_0xfc3a04(0x200)](){const _0x27da0e=_0xfc3a04;return _0x27da0e(0x1c6);}static get[_0xfc3a04(0x1c8)](){return!0x0;}static get[_0xfc3a04(0x207)](){return!0x0;}constructor(_0x3b8e4a){const _0x4d90bd=_0xfc3a04;super(_0x3b8e4a),this[_0x4d90bd(0x1f1)](_0x4d90bd(0x1f4),_0x2ee161[_0x4d90bd(0x1c2)]),this[_0x4d90bd(0x1f1)](_0x4d90bd(0x208),!0x1),this[_0x4d90bd(0x1d2)]=new Set(),this[_0x4d90bd(0x1d7)]=!0x1,this[_0x4d90bd(0x1ce)]=new(_0x2dbfa0())();}[_0xfc3a04(0x1eb)](){const _0x326ed1=_0xfc3a04,_0x362579=this[_0x326ed1(0x20a)],_0x595c30=_0x362579[_0x326ed1(0x1ef)][_0x326ed1(0x1c5)](_0x326ed1(0x1d5)),_0x54ec4c=_0x362579[_0x326ed1(0x1ef)][_0x326ed1(0x1c5)](_0x3979be);if(!_0x595c30[_0x326ed1(0x1f9)])throw new _0x318e66(_0x326ed1(0x1d3),this);if(!_0x595c30[_0x326ed1(0x1e2)])throw new _0x318e66(_0x326ed1(0x1e7),this);return this[_0x326ed1(0x1ce)][_0x326ed1(0x1df)](window,_0x326ed1(0x1d8),()=>this[_0x326ed1(0x208)]=!0x0),this[_0x326ed1(0x1ce)][_0x326ed1(0x1df)](window,_0x326ed1(0x202),()=>this[_0x326ed1(0x208)]=!0x1),this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1d1)](_0x326ed1(0x1db),0xa),this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1d1)](_0x326ed1(0x1e3),0x14),WebSocketGateway[_0x326ed1(0x1c6)][_0x326ed1(0x1f8)](_0x595c30[_0x326ed1(0x1f9)],_0x595c30[_0x326ed1(0x1e2)],{'timeout':0x3e8*this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1c5)](_0x326ed1(0x1db)),'requestTimeout':0x3e8*this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1c5)](_0x326ed1(0x1e3))})[_0x326ed1(0x1ed)](_0x422048=>{const _0x136ce9=_0x326ed1;if(this[_0x136ce9(0x20b)]=_0x422048,this[_0x136ce9(0x1fc)](_0x136ce9(0x1f4))['to'](_0x422048,_0x136ce9(0x1f4),this,_0x136ce9(0x208),(_0x4a40d1,_0x4e570e)=>(_0x136ce9(0x1e9)!==_0x4a40d1&&(this[_0x136ce9(0x1d7)]=!0x0),_0x4e570e||_0x4a40d1!==_0x2ee161[_0x136ce9(0x1c2)]?_0x2ee161[_0x136ce9(0x1d6)]:this[_0x136ce9(0x1f4)]==_0x2ee161[_0x136ce9(0x1d6)]&&this[_0x136ce9(0x1d7)]?(this[_0x136ce9(0x1d7)]=!0x1,this[_0x136ce9(0x1f2)](),_0x2ee161[_0x136ce9(0x1fd)]):_0x2ee161[_0x136ce9(0x1c2)])),this[_0x136ce9(0x20b)]['on'](_0x136ce9(0x1ca),(_0x24c547,_0x429ecf)=>{const _0xbeb0c0=_0x136ce9;if(_0xbeb0c0(0x1e6)!==_0x429ecf[_0xbeb0c0(0x1cb)])throw console[_0xbeb0c0(0x1ca)](_0x429ecf),new _0x318e66(_0xbeb0c0(0x1fb),null,{'originalError':_0x429ecf});_0x54ec4c[_0xbeb0c0(0x1f5)](_0xbeb0c0(0x204),{'title':_0xbeb0c0(0x1d4),'namespace':_0xbeb0c0(0x1f0)});}),!_0x422048['me'])return new Promise(_0xa86298=>_0x422048['on'](_0x136ce9(0x1cf),_0xa86298));})[_0x326ed1(0x1dc)](_0x4abff3=>{const _0x230e06=_0x326ed1;throw console[_0x230e06(0x1ca)](_0x4abff3),new _0x318e66(_0x230e06(0x1fb),null,{'originalError':_0x4abff3});});}[_0xfc3a04(0x209)](_0x2115c5){const _0x5c8059=_0xfc3a04;if(_0x5c8059(0x1d0)!=typeof _0x2115c5[_0x5c8059(0x1e5)])throw new _0x318e66(_0x5c8059(0x1ec),this);if(this[_0x5c8059(0x1fe)](_0x2115c5))throw new _0x318e66(_0x5c8059(0x1e0),this,{'name':_0x2115c5[_0x5c8059(0x1de)][_0x5c8059(0x200)]});this[_0x5c8059(0x1d2)][_0x5c8059(0x1c9)](_0x2115c5);}[_0xfc3a04(0x1e1)](_0x4cc990){const _0x5b8eac=_0xfc3a04;this[_0x5b8eac(0x1d2)][_0x5b8eac(0x1f7)](_0x4cc990);}[_0xfc3a04(0x1fe)](_0xf09b16){const _0x1ba29f=_0xfc3a04;return this[_0x1ba29f(0x1d2)][_0x1ba29f(0x20c)](_0xf09b16);}[_0xfc3a04(0x1f2)](){const _0x48ecfa=_0xfc3a04;return this[_0x48ecfa(0x20b)][_0x48ecfa(0x1e5)]()[_0x48ecfa(0x1ed)](()=>Promise[_0x48ecfa(0x1cc)](Array[_0x48ecfa(0x1cd)](this[_0x48ecfa(0x1d2)],_0x2f045b=>_0x2f045b[_0x48ecfa(0x1e5)]())))[_0x48ecfa(0x1ed)](()=>this[_0x48ecfa(0x1f4)]=_0x2ee161[_0x48ecfa(0x1c2)])[_0x48ecfa(0x1dc)](_0x1a046f=>{const _0xc6a9a2=_0x48ecfa;throw console[_0xc6a9a2(0x1ca)](_0x1a046f),new _0x318e66(_0xc6a9a2(0x1c1),this[_0xc6a9a2(0x20a)]);});}[_0xfc3a04(0x1ff)](){const _0x158b8f=_0xfc3a04;this[_0x158b8f(0x20b)]&&this[_0x158b8f(0x20b)][_0x158b8f(0x1ff)](),this[_0x158b8f(0x1f4)]=_0x2ee161[_0x158b8f(0x1d6)],this[_0x158b8f(0x1ce)][_0x158b8f(0x206)]();}[_0xfc3a04(0x1c7)](){const _0x40a43d=_0xfc3a04;this[_0x40a43d(0x1ff)](),super[_0x40a43d(0x1c7)]();}}
23
+ function _0x171e(){const _0x226bf8=['constructor','343731EukTCB','751797mbKCSE','connected','DISCONNECTED','requires','has','offline','disconnect','limitExceeded','_shouldPluginsReconnect','showWarning','8SeOuid','238658Gydwpj','reconnect','from','add','code','all','websocketgateway-plugin-already-registered','websocketgateway-missing-token','Connected\x20users\x20limit\x20exceeded','config','WebSocketGateway','delete','connect','pluginName','get','cloudServices.requestTimeout','removeFromReconnectionStack','isOfficialPlugin','websocketgateway-invalid-plugin-interface','2zQsRkZ','33QtXWzO','addToReconnectionStack','cloudservices-reconnection-error','104zwuPkC','then','websocketgateway-missing-websocket-url','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.','198648ChSTBH','change:me','init','130cIjLTR','bind','context','state','set','listenTo','function','_reconnectionStack','_domEmitter','isInReconnectionStack','error','6743796rgrehy','initialReconnectionInterval','2414438QKbWTT','cloudservices-init','catch','cloudServices.connectionTimeout','online','plugins','define','webSocketUrl','160XlHPYo','CONNECTED','_reconnect','CloudServices','_isBrowserOffline','isPremiumPlugin','CONNECTING','stopListening','real-time-collaboration','destroy','token','908060VKAROD','connection'];_0x171e=function(){return _0x226bf8;};return _0x171e();}const _0x353845=_0x2164;function _0x2164(_0x374172,_0x3b551e){const _0x171e88=_0x171e();return _0x2164=function(_0x2164a7,_0x41b330){_0x2164a7=_0x2164a7-0x81;let _0x160332=_0x171e88[_0x2164a7];return _0x160332;},_0x2164(_0x374172,_0x3b551e);}(function(_0x3c3977,_0x1a86ad){const _0x4ff33c=_0x2164,_0x1a9e5c=_0x3c3977();while(!![]){try{const _0x258b59=-parseInt(_0x4ff33c(0xbb))/0x1*(parseInt(_0x4ff33c(0x99))/0x2)+parseInt(_0x4ff33c(0x9c))/0x3*(parseInt(_0x4ff33c(0xa7))/0x4)+parseInt(_0x4ff33c(0xc6))/0x5*(-parseInt(_0x4ff33c(0xc3))/0x6)+-parseInt(_0x4ff33c(0xa8))/0x7*(parseInt(_0x4ff33c(0xbf))/0x8)+parseInt(_0x4ff33c(0x9d))/0x9*(parseInt(_0x4ff33c(0x8e))/0xa)+parseInt(_0x4ff33c(0xbc))/0xb*(parseInt(_0x4ff33c(0x84))/0xc)+-parseInt(_0x4ff33c(0x86))/0xd;if(_0x258b59===_0x1a86ad)break;else _0x1a9e5c['push'](_0x1a9e5c['shift']());}catch(_0x3ee77a){_0x1a9e5c['push'](_0x1a9e5c['shift']());}}}(_0x171e,0xd0737));import{ContextPlugin as _0x17eefa}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3bfd41,CKEditorError as _0x7585ee}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x51b9f5,WEB_SOCKET_GATEWAY_STATES as _0x2b3e5e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x483eea}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x17eefa{static [_0x353845(0xb2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x51b9f5)());static [_0x353845(0x85)]=0x3e8;[_0x353845(0x9a)];[_0x353845(0xcd)];[_0x353845(0xa5)];[_0x353845(0x81)];static get[_0x353845(0xa0)](){const _0x276230=_0x353845;return[_0x276230(0x91),_0x483eea];}static get[_0x353845(0xb5)](){const _0x19f876=_0x353845;return _0x19f876(0xb2);}static get[_0x353845(0xb9)](){return!0x0;}static get[_0x353845(0x93)](){return!0x0;}constructor(_0x3e26d3){const _0x40d400=_0x353845;super(_0x3e26d3),this[_0x40d400(0xca)](_0x40d400(0xc9),_0x2b3e5e[_0x40d400(0x8f)]),this[_0x40d400(0xca)](_0x40d400(0x92),!0x1),this[_0x40d400(0xcd)]=new Set(),this[_0x40d400(0xa5)]=!0x1,this[_0x40d400(0x81)]=new(_0x3bfd41())();}[_0x353845(0xc5)](){const _0x196100=_0x353845,_0x2c8505=this[_0x196100(0xc8)],_0x51626a=_0x2c8505[_0x196100(0x8b)][_0x196100(0xb6)](_0x196100(0x91)),_0x4aefb4=_0x2c8505[_0x196100(0x8b)][_0x196100(0xb6)](_0x483eea);if(!_0x51626a[_0x196100(0x98)])throw new _0x7585ee(_0x196100(0xaf),this);if(!_0x51626a[_0x196100(0x8d)])throw new _0x7585ee(_0x196100(0xc1),this);return this[_0x196100(0x81)][_0x196100(0xcb)](window,_0x196100(0xa2),()=>this[_0x196100(0x92)]=!0x0),this[_0x196100(0x81)][_0x196100(0xcb)](window,_0x196100(0x8a),()=>this[_0x196100(0x92)]=!0x1),this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0x8c)](_0x196100(0x89),0xa),this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0x8c)](_0x196100(0xb7),0x14),WebSocketGateway[_0x196100(0xb2)][_0x196100(0xb4)](_0x51626a[_0x196100(0x98)],_0x51626a[_0x196100(0x8d)],{'timeout':0x3e8*this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0xb6)](_0x196100(0x89)),'requestTimeout':0x3e8*this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0xb6)](_0x196100(0xb7))})[_0x196100(0xc0)](_0x41e32c=>{const _0xd5ad7f=_0x196100;if(this[_0xd5ad7f(0x9a)]=_0x41e32c,this[_0xd5ad7f(0xc7)](_0xd5ad7f(0xc9))['to'](_0x41e32c,_0xd5ad7f(0xc9),this,_0xd5ad7f(0x92),(_0xf62170,_0x2332c9)=>(_0xd5ad7f(0x9e)!==_0xf62170&&(this[_0xd5ad7f(0xa5)]=!0x0),_0x2332c9||_0xf62170!==_0x2b3e5e[_0xd5ad7f(0x8f)]?_0x2b3e5e[_0xd5ad7f(0x9f)]:this[_0xd5ad7f(0xc9)]==_0x2b3e5e[_0xd5ad7f(0x9f)]&&this[_0xd5ad7f(0xa5)]?(this[_0xd5ad7f(0xa5)]=!0x1,this[_0xd5ad7f(0x90)](),_0x2b3e5e[_0xd5ad7f(0x94)]):_0x2b3e5e[_0xd5ad7f(0x8f)])),this[_0xd5ad7f(0x9a)]['on'](_0xd5ad7f(0x83),(_0x5b2716,_0x38c58d)=>{const _0x4103ac=_0xd5ad7f;if(_0x4103ac(0xa4)!==_0x38c58d[_0x4103ac(0xac)])throw console[_0x4103ac(0x83)](_0x38c58d),new _0x7585ee(_0x4103ac(0x87),null,{'originalError':_0x38c58d});_0x4aefb4[_0x4103ac(0xa6)](_0x4103ac(0xc2),{'title':_0x4103ac(0xb0),'namespace':_0x4103ac(0x96)});}),!_0x41e32c['me'])return new Promise(_0x332b38=>_0x41e32c['on'](_0xd5ad7f(0xc4),_0x332b38));})[_0x196100(0x88)](_0x238c31=>{const _0x16bfdf=_0x196100;throw console[_0x16bfdf(0x83)](_0x238c31),new _0x7585ee(_0x16bfdf(0x87),null,{'originalError':_0x238c31});});}[_0x353845(0xbd)](_0x1d0746){const _0x1e3af9=_0x353845;if(_0x1e3af9(0xcc)!=typeof _0x1d0746[_0x1e3af9(0xa9)])throw new _0x7585ee(_0x1e3af9(0xba),this);if(this[_0x1e3af9(0x82)](_0x1d0746))throw new _0x7585ee(_0x1e3af9(0xae),this,{'name':_0x1d0746[_0x1e3af9(0x9b)][_0x1e3af9(0xb5)]});this[_0x1e3af9(0xcd)][_0x1e3af9(0xab)](_0x1d0746);}[_0x353845(0xb8)](_0x51928e){const _0x4b9c7c=_0x353845;this[_0x4b9c7c(0xcd)][_0x4b9c7c(0xb3)](_0x51928e);}[_0x353845(0x82)](_0x5c8890){const _0x58a2b5=_0x353845;return this[_0x58a2b5(0xcd)][_0x58a2b5(0xa1)](_0x5c8890);}[_0x353845(0x90)](){const _0x28b40e=_0x353845;return this[_0x28b40e(0x9a)][_0x28b40e(0xa9)]()[_0x28b40e(0xc0)](()=>Promise[_0x28b40e(0xad)](Array[_0x28b40e(0xaa)](this[_0x28b40e(0xcd)],_0x112329=>_0x112329[_0x28b40e(0xa9)]())))[_0x28b40e(0xc0)](()=>this[_0x28b40e(0xc9)]=_0x2b3e5e[_0x28b40e(0x8f)])[_0x28b40e(0x88)](_0x14a477=>{const _0x333e20=_0x28b40e;throw console[_0x333e20(0x83)](_0x14a477),new _0x7585ee(_0x333e20(0xbe),this[_0x333e20(0xc8)]);});}[_0x353845(0xa3)](){const _0x4941bc=_0x353845;this[_0x4941bc(0x9a)]&&this[_0x4941bc(0x9a)][_0x4941bc(0xa3)](),this[_0x4941bc(0xc9)]=_0x2b3e5e[_0x4941bc(0x9f)],this[_0x4941bc(0x81)][_0x4941bc(0x95)]();}[_0x353845(0x97)](){const _0x3c1fad=_0x353845;this[_0x3c1fad(0xa3)](),super[_0x3c1fad(0x97)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3cec40=_0x942b;function _0x942b(_0x597813,_0x5d3e1c){var _0x51bbfe=_0x51bb();return _0x942b=function(_0x942b02,_0x59b6d0){_0x942b02=_0x942b02-0x193;var _0x214167=_0x51bbfe[_0x942b02];return _0x214167;},_0x942b(_0x597813,_0x5d3e1c);}(function(_0x4d8e8f,_0x34a311){var _0x45e4f6=_0x942b,_0x497f15=_0x4d8e8f();while(!![]){try{var _0x34c8d3=parseInt(_0x45e4f6(0x194))/0x1+parseInt(_0x45e4f6(0x19d))/0x2+-parseInt(_0x45e4f6(0x1a0))/0x3*(-parseInt(_0x45e4f6(0x196))/0x4)+parseInt(_0x45e4f6(0x1a1))/0x5*(-parseInt(_0x45e4f6(0x1a2))/0x6)+parseInt(_0x45e4f6(0x19b))/0x7*(-parseInt(_0x45e4f6(0x198))/0x8)+parseInt(_0x45e4f6(0x199))/0x9*(parseInt(_0x45e4f6(0x195))/0xa)+parseInt(_0x45e4f6(0x193))/0xb;if(_0x34c8d3===_0x34a311)break;else _0x497f15['push'](_0x497f15['shift']());}catch(_0x325891){_0x497f15['push'](_0x497f15['shift']());}}}(_0x51bb,0x1e8bd));import{Plugin as _0xe8f149}from'ckeditor5/src/core.js';function _0x51bb(){var _0x4019cb=['isPremiumPlugin','RealTimeCollaborativeEditing','2451lrloXX','5yaBSRd','440754iGLIrz','1298825mhBpyx','123254RfhluD','177130rzJeJb','292omJMQh','isOfficialPlugin','4952eOHPpS','18uLVwGY','pluginName','1631tkjdsr','requires','12814JrhffM'];_0x51bb=function(){return _0x4019cb;};return _0x51bb();}import{RealTimeCollaborationClient as _0x57e557}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0xe8f149{static get[_0x3cec40(0x19c)](){return[_0x57e557];}static get[_0x3cec40(0x19a)](){var _0x5bc3fe=_0x3cec40;return _0x5bc3fe(0x19f);}static get[_0x3cec40(0x197)](){return!0x0;}static get[_0x3cec40(0x19e)](){return!0x0;}}
23
+ var _0x368b8d=_0x483b;(function(_0x166d15,_0x33f4ba){var _0x2d68a1=_0x483b,_0x1519b5=_0x166d15();while(!![]){try{var _0x1a92ba=-parseInt(_0x2d68a1(0xcc))/0x1*(parseInt(_0x2d68a1(0xd0))/0x2)+-parseInt(_0x2d68a1(0xc7))/0x3+-parseInt(_0x2d68a1(0xd2))/0x4*(-parseInt(_0x2d68a1(0xd1))/0x5)+parseInt(_0x2d68a1(0xc9))/0x6*(-parseInt(_0x2d68a1(0xce))/0x7)+parseInt(_0x2d68a1(0xc4))/0x8+parseInt(_0x2d68a1(0xcd))/0x9+parseInt(_0x2d68a1(0xc6))/0xa*(parseInt(_0x2d68a1(0xca))/0xb);if(_0x1a92ba===_0x33f4ba)break;else _0x1519b5['push'](_0x1519b5['shift']());}catch(_0x1004bb){_0x1519b5['push'](_0x1519b5['shift']());}}}(_0x275f,0x8023a));import{Plugin as _0x5087fc}from'ckeditor5/src/core.js';function _0x275f(){var _0x46a96c=['pluginName','3660WUBLav','189144OYNxTo','isPremiumPlugin','1325418bIseYq','27577wjpJPd','isOfficialPlugin','452318PbdlYF','2020815GfScTR','7EtxPyX','RealTimeCollaborativeEditing','4sMQnpa','10rbVOuE','944532qkIAOG','requires','792656kSHpsu'];_0x275f=function(){return _0x46a96c;};return _0x275f();}import{RealTimeCollaborationClient as _0x459830}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x483b(_0x2ee613,_0x132a2f){var _0x275f39=_0x275f();return _0x483b=function(_0x483b06,_0x463c0f){_0x483b06=_0x483b06-0xc3;var _0x3ea21c=_0x275f39[_0x483b06];return _0x3ea21c;},_0x483b(_0x2ee613,_0x132a2f);}export class RealTimeCollaborativeEditing extends _0x5087fc{static get[_0x368b8d(0xc3)](){return[_0x459830];}static get[_0x368b8d(0xc5)](){var _0x3f4592=_0x368b8d;return _0x3f4592(0xcf);}static get[_0x368b8d(0xcb)](){return!0x0;}static get[_0x368b8d(0xc8)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x449a51=_0x5928;(function(_0xd541c1,_0x3da615){const _0x39439a=_0x5928,_0xca187a=_0xd541c1();while(!![]){try{const _0x173450=-parseInt(_0x39439a(0x15f))/0x1+parseInt(_0x39439a(0x171))/0x2*(-parseInt(_0x39439a(0x12a))/0x3)+parseInt(_0x39439a(0x158))/0x4+parseInt(_0x39439a(0x16c))/0x5*(parseInt(_0x39439a(0x150))/0x6)+parseInt(_0x39439a(0x14f))/0x7*(-parseInt(_0x39439a(0x145))/0x8)+parseInt(_0x39439a(0x141))/0x9+parseInt(_0x39439a(0x128))/0xa;if(_0x173450===_0x3da615)break;else _0xca187a['push'](_0xca187a['shift']());}catch(_0x50e12d){_0xca187a['push'](_0xca187a['shift']());}}}(_0x4006,0x442f5));import{Plugin as _0x17528c}from'ckeditor5/src/core.js';import{version as _0x228de0}from'ckeditor5/src/utils.js';import{Users as _0x465549}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2e55c0}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0xa23541}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4006(){const _0x426b1a=['currentRevision','311496WJobjg','reInit','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authors','_fixRevision','RevisionHistory','then','_isConnected','add','_getLatestVersion','84egiXLc','6WhhXjv','CloudServicesRevisionHistoryAdapter','_bufferUpdate','code','change:_isPendingUpdate','init','sessionId','_revisions','205776meJvaz','destroy','addRevisionData','_waitForServiceReady','type','change:_isConnected','_fetchMissingUsers','115661mYJaty','_isPendingUpdate','getOperations','requires','connect','getUser','connection','addUser','wrongRequestId','createdAt','affectsData','bind','fromVersion','1939585YgMCSl','RevisionHistoryService','RevisionTracker','state','isPremiumPlugin','11896iymtOc','isConnected','isEmptyCurrent','setSource','cloud-services-internal-error:\x20Request\x20timeout.','repository','toVersion','_revisionHistoryService','_handleRevisionsUpdate','_revisionTracker','_startingVersion','isEnabled','baseVersion','_handleReconnectionError','getRevisions','_offset','sendBufferedUpdates','diffData','once','_getLatestVersionFromServerOperations','isBundleUploaded','cloud-services-internal-error:\x20Not\x20connected.','400','pluginName','startsWith','from','setRevisionData','isOfficialPlugin','reconnect','map','has','data','listenTo','max','reverse','creatorId','_update','length','marker','config','keys','serverHistory','remove','4145250QXVlKi','cloudServices.bundleVersion','246siwVLv','get','adapter','_oldOffset','authorsIds','_lastRequestId','updateRevisions','buildRevisionData','editor','off','_preventResendingRevisionData','_revisionDataBuilder','size','_bufferedUpdates','collaboration.channelId','revisionsUpdated','getMany','getRevision','_createCurrentRevision','catch','plugins','addToReconnectionStack','connected','4464360rTtzTq','message','CONNECTED'];_0x4006=function(){return _0x426b1a;};return _0x4006();}function _0x5928(_0x67d96f,_0x10bf0a){const _0x400645=_0x4006();return _0x5928=function(_0x5928b1,_0x4820bb){_0x5928b1=_0x5928b1-0x120;let _0x4b8f16=_0x400645[_0x5928b1];return _0x4b8f16;},_0x5928(_0x67d96f,_0x10bf0a);}import{Sessions as _0x4db965}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3f21d6,RevisionHistoryService as _0x350cfb,User as _0x831465,WEB_SOCKET_GATEWAY_STATES as _0x472d78}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x17528c{static [_0x449a51(0x16d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x350cfb)());[_0x449a51(0x12f)];[_0x449a51(0x17a)];[_0x449a51(0x178)];[_0x449a51(0x12d)];static get[_0x449a51(0x162)](){const _0x469dc4=_0x449a51;return[_0xa23541,_0x2e55c0,_0x469dc4(0x14a),_0x4db965,_0x465549];}static get[_0x449a51(0x188)](){const _0xf9558f=_0x449a51;return _0xf9558f(0x151);}static get[_0x449a51(0x18c)](){return!0x0;}static get[_0x449a51(0x170)](){return!0x0;}constructor(_0x31297c){const _0x3c9c71=_0x449a51;super(_0x31297c);const _0x1622fe=this[_0x3c9c71(0x132)][_0x3c9c71(0x124)][_0x3c9c71(0x12b)](_0x3c9c71(0x138));this[_0x3c9c71(0x12f)]=null,this[_0x3c9c71(0x17a)]=this[_0x3c9c71(0x132)][_0x3c9c71(0x13e)][_0x3c9c71(0x12b)](_0x3c9c71(0x16e)),this[_0x3c9c71(0x178)]=new CloudServicesRevisionHistoryAdapter[(_0x3c9c71(0x16d))](_0x1622fe);}async[_0x449a51(0x155)](){const _0x58ed89=_0x449a51,_0x558adb=this[_0x58ed89(0x132)][_0x58ed89(0x13e)][_0x58ed89(0x12b)](_0x2e55c0),_0x1e8e93=_0x558adb[_0x58ed89(0x126)],_0x4ce023=this[_0x58ed89(0x132)][_0x58ed89(0x13e)][_0x58ed89(0x12b)](_0xa23541);this[_0x58ed89(0x17a)][_0x58ed89(0x174)]({'history':_0x1e8e93,'getLatestVersion':()=>this[_0x58ed89(0x14e)](),'getCurrentRevisionId':()=>_0x558adb[_0x58ed89(0x156)]});const _0x7f48ea=this[_0x58ed89(0x132)][_0x58ed89(0x124)][_0x58ed89(0x12b)](_0x58ed89(0x129))||_0x228de0,_0x325961=await _0x3f21d6[_0x58ed89(0x185)](_0x4ce023[_0x58ed89(0x165)],_0x7f48ea);this[_0x58ed89(0x132)][_0x58ed89(0x13e)][_0x58ed89(0x12b)](_0x58ed89(0x14a))[_0x58ed89(0x12c)]={'getRevision':async({revisionId:_0x350755})=>(await this[_0x58ed89(0x15b)](),await this[_0x58ed89(0x178)][_0x58ed89(0x13b)](_0x350755)),'updateRevisions':async _0x465a78=>{const _0x450cf0=_0x58ed89;await this[_0x450cf0(0x15b)]();const _0x28e80b=this[_0x450cf0(0x17a)][_0x450cf0(0x144)];if(_0x325961&&0x1===_0x465a78[_0x450cf0(0x122)]&&_0x465a78[0x0]['id']===_0x28e80b['id'])return _0x465a78;for(const _0x3b12aa of _0x465a78)_0x3b12aa['id']===_0x28e80b['id']&&(_0x3b12aa[_0x450cf0(0x173)]=_0x3b12aa[_0x450cf0(0x16b)]===_0x3b12aa[_0x450cf0(0x177)]);return this[_0x450cf0(0x178)][_0x450cf0(0x130)](_0x465a78,this[_0x450cf0(0x12f)])[_0x450cf0(0x14b)](_0x5a7d00=>(this[_0x450cf0(0x12f)]=_0x5a7d00,_0x465a78))[_0x450cf0(0x13d)](_0x347194=>{const _0x38a80b=_0x450cf0;if(Z(_0x347194)||_0x38a80b(0x187)===_0x347194[_0x38a80b(0x153)]&&void 0x0!==_0x347194[_0x38a80b(0x190)][_0x38a80b(0x167)]){for(const _0x3151f0 of _0x465a78){!this[_0x38a80b(0x17a)][_0x38a80b(0x176)][_0x38a80b(0x13b)](_0x3151f0['id'])||this[_0x38a80b(0x17a)][_0x38a80b(0x152)](_0x3151f0['id'],_0x3151f0,!0x1);}if(Z(_0x347194))throw _0x347194;return _0x465a78;}throw _0x347194;});}},this[_0x58ed89(0x191)](this[_0x58ed89(0x178)],_0x58ed89(0x139),(_0x779ded,{revisionsData:_0x536505,requestId:_0x333b7c})=>{const _0x17133e=_0x58ed89;Math[_0x17133e(0x192)](..._0x536505[_0x17133e(0x18e)](_0x8f2867=>_0x8f2867[_0x17133e(0x177)]))>this[_0x17133e(0x184)]()-0x1?this[_0x17133e(0x14e)]()[_0x17133e(0x14b)](()=>{const _0x14b610=_0x17133e;this[_0x14b610(0x179)](_0x536505,_0x333b7c);}):this[_0x17133e(0x179)](_0x536505,_0x333b7c);});const {revisions:_0x317f54,requestId:_0x52860a}=await this[_0x58ed89(0x178)][_0x58ed89(0x163)](_0x4ce023[_0x58ed89(0x165)]);_0x4ce023[_0x58ed89(0x13f)](this),this[_0x58ed89(0x12f)]=_0x52860a,await this[_0x58ed89(0x15e)](_0x317f54);for(const _0x3fb259 of _0x317f54)this[_0x58ed89(0x17a)][_0x58ed89(0x15a)](_0x3fb259);this[_0x58ed89(0x191)](_0x558adb,_0x58ed89(0x15d),(_0x4f403c,_0xef6336,_0x14a995)=>{const _0x114098=_0x58ed89;_0x14a995&&(this[_0x114098(0x12d)]=_0x558adb[_0x114098(0x180)],_0x4f403c[_0x114098(0x133)]());}),this[_0x58ed89(0x17a)][_0x58ed89(0x16a)](_0x58ed89(0x17c))['to'](_0x4ce023,_0x58ed89(0x16f),_0x6ea67b=>_0x6ea67b===_0x472d78[_0x58ed89(0x143)]);}async[_0x449a51(0x18d)](){const _0x39e608=_0x449a51,_0x47fca8=this[_0x39e608(0x132)][_0x39e608(0x13e)][_0x39e608(0x12b)](_0xa23541),_0x5d990b=this[_0x39e608(0x132)][_0x39e608(0x13e)][_0x39e608(0x12b)](_0x2e55c0),_0x5400f6=async()=>{const _0x54361a=_0x39e608,_0x297dd2=this[_0x54361a(0x17a)][_0x54361a(0x144)],_0xbdad60=_0x297dd2['id'],_0x5a3a67=_0xbdad60!==_0x5d990b[_0x54361a(0x156)];if(_0x5a3a67){const _0x2ebbf3=_0x5d990b[_0x54361a(0x180)]-this[_0x54361a(0x12d)],_0x1a8e31=this[_0x54361a(0x184)]();this[_0x54361a(0x17a)][_0x54361a(0x135)][_0x54361a(0x146)]();if(_0x297dd2[_0x54361a(0x177)]+_0x2ebbf3!==_0x1a8e31){const _0x3e4881=_0x297dd2[_0x54361a(0x16b)]+_0x2ebbf3,_0x773120=this[_0x54361a(0x132)][_0x54361a(0x13e)][_0x54361a(0x12b)](_0x465549),_0x5ef916=this[_0x54361a(0x17a)][_0x54361a(0x131)]({'revision':_0x297dd2,'from':_0x3e4881,'to':_0x1a8e31});_0x5ef916['id']=_0x297dd2['id'];const _0x296bea=_0x5ef916[_0x54361a(0x12e)][_0x54361a(0x18e)](_0x272c13=>_0x773120[_0x54361a(0x164)](_0x272c13));_0x297dd2[_0x54361a(0x121)]({..._0x5ef916,'authors':_0x296bea},!0x0),this[_0x54361a(0x17a)][_0x54361a(0x152)](_0x297dd2['id'],_0x5ef916,!0x0);}this[_0x54361a(0x17a)][_0x54361a(0x17b)]=_0x1a8e31,(_0x297dd2[_0x54361a(0x177)]===_0x297dd2[_0x54361a(0x16b)]&&!this[_0x54361a(0x17a)][_0x54361a(0x137)][_0x54361a(0x18f)](_0xbdad60)&&this[_0x54361a(0x17a)][_0x54361a(0x176)][_0x54361a(0x157)][_0x54361a(0x127)](_0xbdad60),this[_0x54361a(0x17a)][_0x54361a(0x13c)](_0x1a8e31));}const {revisions:_0x2a0634,requestId:_0x67f4ec}=await this[_0x54361a(0x178)][_0x54361a(0x18d)](_0x47fca8[_0x54361a(0x165)],this[_0x54361a(0x12f)]);_0x5a3a67&&_0x2a0634[_0x54361a(0x122)]>0x0?_0x5d990b[_0x54361a(0x17e)]():(await this[_0x54361a(0x15e)](_0x2a0634),this[_0x54361a(0x179)](_0x2a0634,_0x67f4ec),this[_0x54361a(0x17a)][_0x54361a(0x181)]());};return _0x5d990b[_0x39e608(0x14c)]?_0x5400f6():new Promise((_0xad02fa,_0xefbee0)=>{const _0x2e5590=_0x39e608;_0x5d990b[_0x2e5590(0x183)](_0x2e5590(0x15d),()=>{const _0x475bd6=_0x2e5590;_0x5400f6()[_0x475bd6(0x14b)](_0xad02fa)[_0x475bd6(0x13d)](_0xefbee0);});});}[_0x449a51(0x159)](){const _0x1be945=_0x449a51;super[_0x1be945(0x159)]();}async[_0x449a51(0x15b)](){const _0x3cffc9=_0x449a51;this[_0x3cffc9(0x178)][_0x3cffc9(0x172)]||await new Promise(_0x3e3191=>{const _0x29bf6e=_0x3cffc9;this[_0x29bf6e(0x191)](this[_0x29bf6e(0x178)],_0x29bf6e(0x140),_0xff6b09=>{const _0x3176fe=_0x29bf6e;_0xff6b09[_0x3176fe(0x133)](),_0x3e3191();});});}[_0x449a51(0x184)](){const _0x31b021=_0x449a51,_0x3f0e7f=this[_0x31b021(0x132)][_0x31b021(0x13e)][_0x31b021(0x12b)](_0x2e55c0)[_0x31b021(0x126)][_0x31b021(0x161)]()[_0x31b021(0x193)]();for(const _0x69e5e4 of _0x3f0e7f)if(_0x31b021(0x123)!==_0x69e5e4[_0x31b021(0x15c)]||_0x69e5e4[_0x31b021(0x169)])return _0x69e5e4[_0x31b021(0x17d)]+0x1;}[_0x449a51(0x14e)](){const _0x5ac397=_0x449a51,_0x542cc6=this[_0x5ac397(0x132)][_0x5ac397(0x13e)][_0x5ac397(0x12b)](_0x2e55c0);return new Promise(_0x25452c=>{const _0x262d5d=_0x5ac397;_0x542cc6[_0x262d5d(0x160)]?_0x542cc6[_0x262d5d(0x183)](_0x262d5d(0x154),()=>{const _0x38c007=_0x262d5d;_0x25452c(this[_0x38c007(0x184)]());}):_0x25452c(this[_0x262d5d(0x184)]());});}[_0x449a51(0x179)](_0x46ab1a,_0x57939c){const _0x4e11e9=_0x449a51,_0x21bda9=this[_0x4e11e9(0x17a)][_0x4e11e9(0x176)];this[_0x4e11e9(0x12f)]=_0x57939c;for(const _0x40bf68 of _0x46ab1a){const _0x58f044=_0x21bda9[_0x4e11e9(0x13b)](_0x40bf68['id']);if(_0x58f044){if((_0x40bf68[_0x4e11e9(0x16b)]||_0x40bf68[_0x4e11e9(0x177)])&&(_0x40bf68[_0x4e11e9(0x182)]=null),_0x58f044===this[_0x4e11e9(0x17a)][_0x4e11e9(0x144)]){const _0x37da5a=Math[_0x4e11e9(0x192)](_0x58f044[_0x4e11e9(0x177)],_0x40bf68[_0x4e11e9(0x177)]),_0x3c909f=Math[_0x4e11e9(0x192)](_0x58f044[_0x4e11e9(0x16b)],_0x40bf68[_0x4e11e9(0x16b)]);let _0x4bedbd;_0x58f044[_0x4e11e9(0x177)]===_0x40bf68[_0x4e11e9(0x177)]&&_0x58f044[_0x4e11e9(0x16b)]===_0x40bf68[_0x4e11e9(0x16b)]?(_0x4bedbd=!0x0,this[_0x4e11e9(0x134)](_0x40bf68)):_0x40bf68[_0x4e11e9(0x177)]===_0x37da5a&&_0x40bf68[_0x4e11e9(0x16b)]===_0x3c909f?_0x4bedbd=!0x1:(_0x58f044[_0x4e11e9(0x177)]===_0x37da5a&&_0x58f044[_0x4e11e9(0x16b)]===_0x3c909f||this[_0x4e11e9(0x149)]({'revision':_0x58f044,'from':_0x3c909f,'to':_0x37da5a}),_0x4bedbd=!0x0),_0x4bedbd&&(delete _0x40bf68[_0x4e11e9(0x16b)],delete _0x40bf68[_0x4e11e9(0x177)],delete _0x40bf68[_0x4e11e9(0x182)],delete _0x40bf68[_0x4e11e9(0x168)],delete _0x40bf68[_0x4e11e9(0x12e)]);}this[_0x4e11e9(0x17a)][_0x4e11e9(0x18b)](_0x40bf68),this[_0x4e11e9(0x134)](_0x40bf68);}else this[_0x4e11e9(0x17a)][_0x4e11e9(0x15a)](_0x40bf68);}const _0x166e3c=_0x21bda9[_0x4e11e9(0x17f)]();_0x166e3c[_0x4e11e9(0x193)]();for(let _0x409be7=0x0;_0x409be7<_0x166e3c[_0x4e11e9(0x122)]-0x1;_0x409be7++){const _0x109bea=_0x166e3c[_0x409be7],_0x1dd026=_0x166e3c[_0x409be7+0x1];if(_0x109bea[_0x4e11e9(0x16b)]<_0x1dd026[_0x4e11e9(0x177)]){const _0x225218=_0x1dd026[_0x4e11e9(0x177)],_0x56c128=Math[_0x4e11e9(0x192)](_0x225218,_0x109bea[_0x4e11e9(0x177)]);this[_0x4e11e9(0x149)]({'revision':_0x109bea,'from':_0x225218,'to':_0x56c128});}}}[_0x449a51(0x149)]({revision:_0x3d9290,from:_0x336135,to:_0x594882}={}){const _0x153f89=_0x449a51,_0x265498=this[_0x153f89(0x132)][_0x153f89(0x13e)][_0x153f89(0x12b)](_0x465549),_0x3173b2=this[_0x153f89(0x17a)][_0x153f89(0x131)]({'revision':_0x3d9290,'from':_0x336135,'to':_0x594882});_0x3173b2[_0x153f89(0x148)]=_0x3173b2[_0x153f89(0x12e)][_0x153f89(0x18e)](_0x984ce8=>_0x265498[_0x153f89(0x164)](_0x984ce8)),_0x3d9290[_0x153f89(0x121)](_0x3173b2);}[_0x449a51(0x134)](_0x3812cb){const _0x48ba62=_0x449a51,_0x224f88={};_0x224f88['id']=_0x3812cb['id'];for(const _0x38bb32 of Object[_0x48ba62(0x125)](_0x3812cb))'id'!==_0x38bb32&&(_0x224f88[_0x38bb32]=void 0x0);this[_0x48ba62(0x17a)][_0x48ba62(0x152)](_0x224f88['id'],_0x224f88,!0x0);}async[_0x449a51(0x15e)](_0x32a17a){const _0x81f35f=_0x449a51,_0x104390=this[_0x81f35f(0x132)][_0x81f35f(0x13e)][_0x81f35f(0x12b)](_0x465549),{connection:_0x559a49}=this[_0x81f35f(0x132)][_0x81f35f(0x13e)][_0x81f35f(0x12b)](_0xa23541),_0x14b1d3=new Set();for(const _0x10b3d3 of _0x32a17a){for(const _0x25c3b8 of _0x10b3d3[_0x81f35f(0x12e)])_0x4c5227(_0x25c3b8);_0x10b3d3[_0x81f35f(0x120)]&&_0x4c5227(_0x10b3d3[_0x81f35f(0x120)]);}if(0x0===_0x14b1d3[_0x81f35f(0x136)])return;const _0x3ee636=await _0x831465[_0x81f35f(0x13a)](_0x559a49,Array[_0x81f35f(0x18a)](_0x14b1d3));for(const _0x16789c of _0x3ee636)_0x104390[_0x81f35f(0x164)](_0x16789c['id'])||_0x104390[_0x81f35f(0x166)](_0x16789c);function _0x4c5227(_0x217371){const _0x11e486=_0x81f35f;_0x104390[_0x11e486(0x164)](_0x217371)||_0x14b1d3[_0x11e486(0x14d)](_0x217371);}}}function Z(_0x23ec5a){const _0x4833f2=_0x449a51;return _0x23ec5a[_0x4833f2(0x142)][_0x4833f2(0x189)](_0x4833f2(0x147))||_0x23ec5a[_0x4833f2(0x142)][_0x4833f2(0x189)](_0x4833f2(0x186))||_0x23ec5a[_0x4833f2(0x142)][_0x4833f2(0x189)](_0x4833f2(0x175));}
23
+ function _0x29be(){const _0x33240d=['wrongRequestId','_createCurrentRevision','catch','diffData','message','length','98433SeTIad','_update','isConnected','size','_isConnected','config','sessionId','setRevisionData','creatorId','marker','_lastRequestId','_bufferUpdate','getUser','type','currentRevision','_getLatestVersion','add','plugins','addUser','4272450OKDFWu','_isPendingUpdate','state','117IGcXhy','reInit','destroy','RevisionTracker','connected','_preventResendingRevisionData','isPremiumPlugin','editor','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','getOperations','_revisionTracker','adapter','getRevision','get','isBundleUploaded','42236qGPACB','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','baseVersion','cloudServices.bundleVersion','isEmptyCurrent','400','buildRevisionData','connect','addRevisionData','_startingVersion','_revisionHistoryService','_oldOffset','_waitForServiceReady','affectsData','toVersion','max','8MDkPXy','listenTo','revisionsUpdated','init','off','setSource','remove','code','pluginName','_handleRevisionsUpdate','_fetchMissingUsers','_handleReconnectionError','authorsIds','startsWith','getRevisions','RevisionHistoryService','requires','CONNECTED','_revisions','once','map','connection','13FvSwyy','1acSwYr','getMany','fromVersion','reverse','has','_offset','sendBufferedUpdates','RevisionHistory','from','repository','bind','2449810eupkyv','isOfficialPlugin','keys','change:_isConnected','_bufferedUpdates','978110gTurgB','authors','890RuSZPu','data','6OemVeH','13535700ILsylh','765298VeeoAg','_revisionDataBuilder','cloud-services-internal-error:\x20Not\x20connected.','reconnect','addToReconnectionStack','collaboration.channelId','isEnabled','updateRevisions','CloudServicesRevisionHistoryAdapter','_fixRevision','_getLatestVersionFromServerOperations','change:_isPendingUpdate','then','serverHistory'];_0x29be=function(){return _0x33240d;};return _0x29be();}const _0x3da807=_0x1a7f;(function(_0x14920c,_0x25abd1){const _0x507189=_0x1a7f,_0x28d2c0=_0x14920c();while(!![]){try{const _0xffe6fc=parseInt(_0x507189(0x17b))/0x1*(-parseInt(_0x507189(0x11a))/0x2)+-parseInt(_0x507189(0x144))/0x3*(parseInt(_0x507189(0x154))/0x4)+-parseInt(_0x507189(0x141))/0x5*(parseInt(_0x507189(0x118))/0x6)+-parseInt(_0x507189(0x114))/0x7*(parseInt(_0x507189(0x164))/0x8)+parseInt(_0x507189(0x12e))/0x9*(parseInt(_0x507189(0x116))/0xa)+parseInt(_0x507189(0x10f))/0xb+-parseInt(_0x507189(0x119))/0xc*(-parseInt(_0x507189(0x17a))/0xd);if(_0xffe6fc===_0x25abd1)break;else _0x28d2c0['push'](_0x28d2c0['shift']());}catch(_0x37e080){_0x28d2c0['push'](_0x28d2c0['shift']());}}}(_0x29be,0x82b70));import{Plugin as _0x5e2db0}from'ckeditor5/src/core.js';import{version as _0x594537}from'ckeditor5/src/utils.js';import{Users as _0x478c9d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4b42ba}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x38d897}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xda2177}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x104b27,RevisionHistoryService as _0x499804,User as _0x428dcd,WEB_SOCKET_GATEWAY_STATES as _0x2a3b28}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5e2db0{static [_0x3da807(0x173)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x499804)());[_0x3da807(0x138)];[_0x3da807(0x14f)];[_0x3da807(0x15e)];[_0x3da807(0x15f)];static get[_0x3da807(0x174)](){const _0x3f37b7=_0x3da807;return[_0x38d897,_0x4b42ba,_0x3f37b7(0x10b),_0xda2177,_0x478c9d];}static get[_0x3da807(0x16c)](){const _0x56bef4=_0x3da807;return _0x56bef4(0x122);}static get[_0x3da807(0x110)](){return!0x0;}static get[_0x3da807(0x14a)](){return!0x0;}constructor(_0x3fc07b){const _0x1488f4=_0x3da807;super(_0x3fc07b);const _0x48fdd7=this[_0x1488f4(0x14b)][_0x1488f4(0x133)][_0x1488f4(0x152)](_0x1488f4(0x11f));this[_0x1488f4(0x138)]=null,this[_0x1488f4(0x14f)]=this[_0x1488f4(0x14b)][_0x1488f4(0x13f)][_0x1488f4(0x152)](_0x1488f4(0x147)),this[_0x1488f4(0x15e)]=new CloudServicesRevisionHistoryAdapter[(_0x1488f4(0x173))](_0x48fdd7);}async[_0x3da807(0x167)](){const _0x9514e=_0x3da807,_0x2f81c7=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x4b42ba),_0x4280b0=_0x2f81c7[_0x9514e(0x127)],_0x586ef4=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x38d897);this[_0x9514e(0x14f)][_0x9514e(0x169)]({'history':_0x4280b0,'getLatestVersion':()=>this[_0x9514e(0x13d)](),'getCurrentRevisionId':()=>_0x2f81c7[_0x9514e(0x134)]});const _0x37f475=this[_0x9514e(0x14b)][_0x9514e(0x133)][_0x9514e(0x152)](_0x9514e(0x157))||_0x594537,_0x1ec2ae=await _0x104b27[_0x9514e(0x153)](_0x586ef4[_0x9514e(0x179)],_0x37f475);this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x9514e(0x10b))[_0x9514e(0x150)]={'getRevision':async({revisionId:_0x879057})=>(await this[_0x9514e(0x160)](),await this[_0x9514e(0x15e)][_0x9514e(0x151)](_0x879057)),'updateRevisions':async _0x5c780c=>{const _0x14f96c=_0x9514e;await this[_0x14f96c(0x160)]();const _0x16e25e=this[_0x14f96c(0x14f)][_0x14f96c(0x13c)];if(_0x1ec2ae&&0x1===_0x5c780c[_0x14f96c(0x12d)]&&_0x5c780c[0x0]['id']===_0x16e25e['id'])return _0x5c780c;for(const _0x58ebc2 of _0x5c780c)_0x58ebc2['id']===_0x16e25e['id']&&(_0x58ebc2[_0x14f96c(0x158)]=_0x58ebc2[_0x14f96c(0x17d)]===_0x58ebc2[_0x14f96c(0x162)]);return this[_0x14f96c(0x15e)][_0x14f96c(0x121)](_0x5c780c,this[_0x14f96c(0x138)])[_0x14f96c(0x126)](_0x2b4e24=>(this[_0x14f96c(0x138)]=_0x2b4e24,_0x5c780c))[_0x14f96c(0x12a)](_0x3adde4=>{const _0x788e44=_0x14f96c;if(J(_0x3adde4)||_0x788e44(0x159)===_0x3adde4[_0x788e44(0x16b)]&&void 0x0!==_0x3adde4[_0x788e44(0x117)][_0x788e44(0x128)]){for(const _0x59b23b of _0x5c780c){!this[_0x788e44(0x14f)][_0x788e44(0x10d)][_0x788e44(0x151)](_0x59b23b['id'])||this[_0x788e44(0x14f)][_0x788e44(0x139)](_0x59b23b['id'],_0x59b23b,!0x1);}if(J(_0x3adde4))throw _0x3adde4;return _0x5c780c;}throw _0x3adde4;});}},this[_0x9514e(0x165)](this[_0x9514e(0x15e)],_0x9514e(0x166),(_0x4ac28a,{revisionsData:_0xaafd10,requestId:_0x1dae66})=>{const _0x3b7f03=_0x9514e;Math[_0x3b7f03(0x163)](..._0xaafd10[_0x3b7f03(0x178)](_0x31ba7c=>_0x31ba7c[_0x3b7f03(0x162)]))>this[_0x3b7f03(0x124)]()-0x1?this[_0x3b7f03(0x13d)]()[_0x3b7f03(0x126)](()=>{const _0x1ed352=_0x3b7f03;this[_0x1ed352(0x16d)](_0xaafd10,_0x1dae66);}):this[_0x3b7f03(0x16d)](_0xaafd10,_0x1dae66);});const {revisions:_0x482e97,requestId:_0x1c0540}=await this[_0x9514e(0x15e)][_0x9514e(0x15b)](_0x586ef4[_0x9514e(0x179)]);_0x586ef4[_0x9514e(0x11e)](this),this[_0x9514e(0x138)]=_0x1c0540,await this[_0x9514e(0x16e)](_0x482e97);for(const _0x2b36ce of _0x482e97)this[_0x9514e(0x14f)][_0x9514e(0x15c)](_0x2b36ce);this[_0x9514e(0x165)](_0x2f81c7,_0x9514e(0x112),(_0x24c09e,_0x22e356,_0xbdcde2)=>{const _0x57884d=_0x9514e;_0xbdcde2&&(this[_0x57884d(0x15f)]=_0x2f81c7[_0x57884d(0x109)],_0x24c09e[_0x57884d(0x168)]());}),this[_0x9514e(0x14f)][_0x9514e(0x10e)](_0x9514e(0x120))['to'](_0x586ef4,_0x9514e(0x143),_0x246590=>_0x246590===_0x2a3b28[_0x9514e(0x175)]);}async[_0x3da807(0x11d)](){const _0x2dd369=_0x3da807,_0x878bfe=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x38d897),_0x5d5adf=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x4b42ba),_0x179417=async()=>{const _0x208027=_0x2dd369,_0x31a3a6=this[_0x208027(0x14f)][_0x208027(0x13c)],_0x388cca=_0x31a3a6['id'],_0xf695ff=_0x388cca!==_0x5d5adf[_0x208027(0x134)];if(_0xf695ff){const _0x8c1df3=_0x5d5adf[_0x208027(0x109)]-this[_0x208027(0x15f)],_0x42f481=this[_0x208027(0x124)]();this[_0x208027(0x14f)][_0x208027(0x11b)][_0x208027(0x145)]();if(_0x31a3a6[_0x208027(0x162)]+_0x8c1df3!==_0x42f481){const _0x148bf=_0x31a3a6[_0x208027(0x17d)]+_0x8c1df3,_0xd9a7c6=this[_0x208027(0x14b)][_0x208027(0x13f)][_0x208027(0x152)](_0x478c9d),_0x4cae94=this[_0x208027(0x14f)][_0x208027(0x15a)]({'revision':_0x31a3a6,'from':_0x148bf,'to':_0x42f481});_0x4cae94['id']=_0x31a3a6['id'];const _0x21aa47=_0x4cae94[_0x208027(0x170)][_0x208027(0x178)](_0x506c7d=>_0xd9a7c6[_0x208027(0x13a)](_0x506c7d));_0x31a3a6[_0x208027(0x12f)]({..._0x4cae94,'authors':_0x21aa47},!0x0),this[_0x208027(0x14f)][_0x208027(0x139)](_0x31a3a6['id'],_0x4cae94,!0x0);}this[_0x208027(0x14f)][_0x208027(0x15d)]=_0x42f481,(_0x31a3a6[_0x208027(0x162)]===_0x31a3a6[_0x208027(0x17d)]&&!this[_0x208027(0x14f)][_0x208027(0x113)][_0x208027(0x108)](_0x388cca)&&this[_0x208027(0x14f)][_0x208027(0x10d)][_0x208027(0x176)][_0x208027(0x16a)](_0x388cca),this[_0x208027(0x14f)][_0x208027(0x129)](_0x42f481));}const {revisions:_0x2793d6,requestId:_0x2f5dc0}=await this[_0x208027(0x15e)][_0x208027(0x11d)](_0x878bfe[_0x208027(0x179)],this[_0x208027(0x138)]);_0xf695ff&&_0x2793d6[_0x208027(0x12d)]>0x0?_0x5d5adf[_0x208027(0x16f)]():(await this[_0x208027(0x16e)](_0x2793d6),this[_0x208027(0x16d)](_0x2793d6,_0x2f5dc0),this[_0x208027(0x14f)][_0x208027(0x10a)]());};return _0x5d5adf[_0x2dd369(0x132)]?_0x179417():new Promise((_0x49a254,_0x31d924)=>{const _0x5d977c=_0x2dd369;_0x5d5adf[_0x5d977c(0x177)](_0x5d977c(0x112),()=>{const _0x1cf7c0=_0x5d977c;_0x179417()[_0x1cf7c0(0x126)](_0x49a254)[_0x1cf7c0(0x12a)](_0x31d924);});});}[_0x3da807(0x146)](){const _0x48c0a8=_0x3da807;super[_0x48c0a8(0x146)]();}async[_0x3da807(0x160)](){const _0x2b806a=_0x3da807;this[_0x2b806a(0x15e)][_0x2b806a(0x130)]||await new Promise(_0x1726af=>{const _0x146c32=_0x2b806a;this[_0x146c32(0x165)](this[_0x146c32(0x15e)],_0x146c32(0x148),_0x30b147=>{const _0x3c24bf=_0x146c32;_0x30b147[_0x3c24bf(0x168)](),_0x1726af();});});}[_0x3da807(0x124)](){const _0x3cc916=_0x3da807,_0x3ac162=this[_0x3cc916(0x14b)][_0x3cc916(0x13f)][_0x3cc916(0x152)](_0x4b42ba)[_0x3cc916(0x127)][_0x3cc916(0x14e)]()[_0x3cc916(0x107)]();for(const _0x19b655 of _0x3ac162)if(_0x3cc916(0x137)!==_0x19b655[_0x3cc916(0x13b)]||_0x19b655[_0x3cc916(0x161)])return _0x19b655[_0x3cc916(0x156)]+0x1;}[_0x3da807(0x13d)](){const _0x5958c4=_0x3da807,_0x5b3bee=this[_0x5958c4(0x14b)][_0x5958c4(0x13f)][_0x5958c4(0x152)](_0x4b42ba);return new Promise(_0x41b3fb=>{const _0x41829b=_0x5958c4;_0x5b3bee[_0x41829b(0x142)]?_0x5b3bee[_0x41829b(0x177)](_0x41829b(0x125),()=>{const _0x54c5fd=_0x41829b;_0x41b3fb(this[_0x54c5fd(0x124)]());}):_0x41b3fb(this[_0x41829b(0x124)]());});}[_0x3da807(0x16d)](_0x3ed70b,_0x2f8728){const _0x12024=_0x3da807,_0x19ccbb=this[_0x12024(0x14f)][_0x12024(0x10d)];this[_0x12024(0x138)]=_0x2f8728;for(const _0x4e3c1a of _0x3ed70b){const _0x490054=_0x19ccbb[_0x12024(0x151)](_0x4e3c1a['id']);if(_0x490054){if((_0x4e3c1a[_0x12024(0x17d)]||_0x4e3c1a[_0x12024(0x162)])&&(_0x4e3c1a[_0x12024(0x12b)]=null),_0x490054===this[_0x12024(0x14f)][_0x12024(0x13c)]){const _0x3cb672=Math[_0x12024(0x163)](_0x490054[_0x12024(0x162)],_0x4e3c1a[_0x12024(0x162)]),_0x59137f=Math[_0x12024(0x163)](_0x490054[_0x12024(0x17d)],_0x4e3c1a[_0x12024(0x17d)]);let _0xf4714e;_0x490054[_0x12024(0x162)]===_0x4e3c1a[_0x12024(0x162)]&&_0x490054[_0x12024(0x17d)]===_0x4e3c1a[_0x12024(0x17d)]?(_0xf4714e=!0x0,this[_0x12024(0x149)](_0x4e3c1a)):_0x4e3c1a[_0x12024(0x162)]===_0x3cb672&&_0x4e3c1a[_0x12024(0x17d)]===_0x59137f?_0xf4714e=!0x1:(_0x490054[_0x12024(0x162)]===_0x3cb672&&_0x490054[_0x12024(0x17d)]===_0x59137f||this[_0x12024(0x123)]({'revision':_0x490054,'from':_0x59137f,'to':_0x3cb672}),_0xf4714e=!0x0),_0xf4714e&&(delete _0x4e3c1a[_0x12024(0x17d)],delete _0x4e3c1a[_0x12024(0x162)],delete _0x4e3c1a[_0x12024(0x12b)],delete _0x4e3c1a[_0x12024(0x14d)],delete _0x4e3c1a[_0x12024(0x170)]);}this[_0x12024(0x14f)][_0x12024(0x135)](_0x4e3c1a),this[_0x12024(0x149)](_0x4e3c1a);}else this[_0x12024(0x14f)][_0x12024(0x15c)](_0x4e3c1a);}const _0x261779=_0x19ccbb[_0x12024(0x172)]();_0x261779[_0x12024(0x107)]();for(let _0x309928=0x0;_0x309928<_0x261779[_0x12024(0x12d)]-0x1;_0x309928++){const _0x50b806=_0x261779[_0x309928],_0xbd79ba=_0x261779[_0x309928+0x1];if(_0x50b806[_0x12024(0x17d)]<_0xbd79ba[_0x12024(0x162)]){const _0x352b7d=_0xbd79ba[_0x12024(0x162)],_0x2723be=Math[_0x12024(0x163)](_0x352b7d,_0x50b806[_0x12024(0x162)]);this[_0x12024(0x123)]({'revision':_0x50b806,'from':_0x352b7d,'to':_0x2723be});}}}[_0x3da807(0x123)]({revision:_0x4c1f53,from:_0x12708e,to:_0x2a993b}={}){const _0x44e655=_0x3da807,_0x58239c=this[_0x44e655(0x14b)][_0x44e655(0x13f)][_0x44e655(0x152)](_0x478c9d),_0x51af0b=this[_0x44e655(0x14f)][_0x44e655(0x15a)]({'revision':_0x4c1f53,'from':_0x12708e,'to':_0x2a993b});_0x51af0b[_0x44e655(0x115)]=_0x51af0b[_0x44e655(0x170)][_0x44e655(0x178)](_0x29e77d=>_0x58239c[_0x44e655(0x13a)](_0x29e77d)),_0x4c1f53[_0x44e655(0x12f)](_0x51af0b);}[_0x3da807(0x149)](_0x30a9ec){const _0x2a37f9=_0x3da807,_0x5d1150={};_0x5d1150['id']=_0x30a9ec['id'];for(const _0x12583c of Object[_0x2a37f9(0x111)](_0x30a9ec))'id'!==_0x12583c&&(_0x5d1150[_0x12583c]=void 0x0);this[_0x2a37f9(0x14f)][_0x2a37f9(0x139)](_0x5d1150['id'],_0x5d1150,!0x0);}async[_0x3da807(0x16e)](_0x2d7216){const _0x1dfc2b=_0x3da807,_0x483b01=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x478c9d),{connection:_0x5f2f25}=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x38d897),_0x213109=new Set();for(const _0x353bdc of _0x2d7216){for(const _0x4daa0c of _0x353bdc[_0x1dfc2b(0x170)])_0x29e8f8(_0x4daa0c);_0x353bdc[_0x1dfc2b(0x136)]&&_0x29e8f8(_0x353bdc[_0x1dfc2b(0x136)]);}if(0x0===_0x213109[_0x1dfc2b(0x131)])return;const _0xf522f=await _0x428dcd[_0x1dfc2b(0x17c)](_0x5f2f25,Array[_0x1dfc2b(0x10c)](_0x213109));for(const _0x23562f of _0xf522f)_0x483b01[_0x1dfc2b(0x13a)](_0x23562f['id'])||_0x483b01[_0x1dfc2b(0x140)](_0x23562f);function _0x29e8f8(_0x4cbf1c){const _0x264999=_0x1dfc2b;_0x483b01[_0x264999(0x13a)](_0x4cbf1c)||_0x213109[_0x264999(0x13e)](_0x4cbf1c);}}}function _0x1a7f(_0x333775,_0x11ce62){const _0x29be42=_0x29be();return _0x1a7f=function(_0x1a7f9c,_0x22a6c2){_0x1a7f9c=_0x1a7f9c-0x107;let _0x7d60eb=_0x29be42[_0x1a7f9c];return _0x7d60eb;},_0x1a7f(_0x333775,_0x11ce62);}function J(_0x462c29){const _0xbe2007=_0x3da807;return _0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x155))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x11c))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x14c));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x6480e3=_0x2d15;function _0x2d15(_0x35b60b,_0x4f21f3){var _0x33fb4d=_0x33fb();return _0x2d15=function(_0x2d1509,_0x5cea8f){_0x2d1509=_0x2d1509-0xc0;var _0x3b665a=_0x33fb4d[_0x2d1509];return _0x3b665a;},_0x2d15(_0x35b60b,_0x4f21f3);}(function(_0x4e797c,_0x4d1831){var _0x4e92e2=_0x2d15,_0x4d3b3c=_0x4e797c();while(!![]){try{var _0x5b474f=-parseInt(_0x4e92e2(0xc0))/0x1+-parseInt(_0x4e92e2(0xc4))/0x2*(-parseInt(_0x4e92e2(0xcd))/0x3)+-parseInt(_0x4e92e2(0xc7))/0x4*(parseInt(_0x4e92e2(0xc5))/0x5)+parseInt(_0x4e92e2(0xcc))/0x6+-parseInt(_0x4e92e2(0xcf))/0x7*(parseInt(_0x4e92e2(0xc6))/0x8)+parseInt(_0x4e92e2(0xc1))/0x9*(parseInt(_0x4e92e2(0xc3))/0xa)+parseInt(_0x4e92e2(0xca))/0xb;if(_0x5b474f===_0x4d1831)break;else _0x4d3b3c['push'](_0x4d3b3c['shift']());}catch(_0x205980){_0x4d3b3c['push'](_0x4d3b3c['shift']());}}}(_0x33fb,0x194a1));import{Plugin as _0x5075de}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x455234}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x33fb(){var _0x20ace0=['3445jezEXo','5584iEABkr','1104wdJgPK','isOfficialPlugin','RevisionHistory','2417822eKxpZt','isPremiumPlugin','945174XCgXou','7149ZqQvcj','pluginName','63wAqVeP','requires','191205SUBAJj','9zVajmk','RealTimeCollaborativeRevisionHistory','972240jkKNoZ','14oCdMEJ'];_0x33fb=function(){return _0x20ace0;};return _0x33fb();}import{RealTimeCollaborativeEditing as _0x35113c}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5075de{static get[_0x6480e3(0xd0)](){var _0x256255=_0x6480e3;return[_0x256255(0xc9),_0x455234,_0x35113c];}static get[_0x6480e3(0xce)](){var _0x5cb859=_0x6480e3;return _0x5cb859(0xc2);}static get[_0x6480e3(0xc8)](){return!0x0;}static get[_0x6480e3(0xcb)](){return!0x0;}}
23
+ function _0x32f8(_0x2313a5,_0x1acb24){var _0x4e72d8=_0x4e72();return _0x32f8=function(_0x32f86b,_0x1610cf){_0x32f86b=_0x32f86b-0x9c;var _0x3650a4=_0x4e72d8[_0x32f86b];return _0x3650a4;},_0x32f8(_0x2313a5,_0x1acb24);}function _0x4e72(){var _0x3030c3=['1831520eYWBlD','RevisionHistory','isPremiumPlugin','RealTimeCollaborativeRevisionHistory','790qUQqrq','945504yqeMzd','90684CKZFRg','2857428lmygFV','66120JMiuzw','requires','7azESwY','4PtVCfH','isOfficialPlugin','41632qZcCEE','26TlBKgu','pluginName','1481589oEuigm'];_0x4e72=function(){return _0x3030c3;};return _0x4e72();}var _0x2ae03f=_0x32f8;(function(_0x41dd95,_0x408fa5){var _0x549117=_0x32f8,_0x52fbf7=_0x41dd95();while(!![]){try{var _0x3c3ccd=-parseInt(_0x549117(0xab))/0x1*(parseInt(_0x549117(0xaa))/0x2)+-parseInt(_0x549117(0x9c))/0x3*(parseInt(_0x549117(0xa8))/0x4)+-parseInt(_0x549117(0xa5))/0x5+parseInt(_0x549117(0xa2))/0x6+-parseInt(_0x549117(0xa7))/0x7*(-parseInt(_0x549117(0x9d))/0x8)+parseInt(_0x549117(0xa4))/0x9+parseInt(_0x549117(0xa1))/0xa*(parseInt(_0x549117(0xa3))/0xb);if(_0x3c3ccd===_0x408fa5)break;else _0x52fbf7['push'](_0x52fbf7['shift']());}catch(_0x3338a0){_0x52fbf7['push'](_0x52fbf7['shift']());}}}(_0x4e72,0x4af2d));import{Plugin as _0x2793c4}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x57e8a0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x3cdc45}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x2793c4{static get[_0x2ae03f(0xa6)](){var _0x58d5a4=_0x2ae03f;return[_0x58d5a4(0x9e),_0x57e8a0,_0x3cdc45];}static get[_0x2ae03f(0xac)](){var _0x4d597f=_0x2ae03f;return _0x4d597f(0xa0);}static get[_0x2ae03f(0xa9)](){return!0x0;}static get[_0x2ae03f(0x9f)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5842e6=_0x1528;(function(_0x4510ea,_0x4232c5){const _0x24e7d0=_0x1528,_0x197c2a=_0x4510ea();while(!![]){try{const _0x3fdb0c=parseInt(_0x24e7d0(0xfe))/0x1+-parseInt(_0x24e7d0(0x118))/0x2+-parseInt(_0x24e7d0(0x109))/0x3*(parseInt(_0x24e7d0(0x126))/0x4)+parseInt(_0x24e7d0(0x10e))/0x5+parseInt(_0x24e7d0(0xf1))/0x6+parseInt(_0x24e7d0(0x11f))/0x7+-parseInt(_0x24e7d0(0xeb))/0x8;if(_0x3fdb0c===_0x4232c5)break;else _0x197c2a['push'](_0x197c2a['shift']());}catch(_0xd4c5c7){_0x197c2a['push'](_0x197c2a['shift']());}}}(_0x459d,0x6a395));function _0x1528(_0xdc774a,_0x33f439){const _0x459d75=_0x459d();return _0x1528=function(_0x152820,_0x987027){_0x152820=_0x152820-0xea;let _0xf9786a=_0x459d75[_0x152820];return _0xf9786a;},_0x1528(_0xdc774a,_0x33f439);}import{Plugin as _0x1df3a7}from'ckeditor5/src/core.js';import{User as _0x1cb972,TrackChangesService as _0x1b8d48}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x389a17}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2b4cd5}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x22255b}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x1df3a7{static [_0x5842e6(0xf2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1b8d48)());[_0x5842e6(0x103)];[_0x5842e6(0xed)];static get[_0x5842e6(0xf7)](){const _0x3fe778=_0x5842e6;return[_0x2b4cd5,_0x3fe778(0x108),_0x389a17];}static get[_0x5842e6(0xef)](){const _0x25bed0=_0x5842e6;return _0x25bed0(0x11d);}static get[_0x5842e6(0x11e)](){return!0x0;}static get[_0x5842e6(0xee)](){return!0x0;}constructor(_0x51f385){const _0x234270=_0x5842e6;super(_0x51f385);const _0x3aed42=this[_0x234270(0x122)][_0x234270(0x127)][_0x234270(0x11c)](_0x234270(0x105));this[_0x234270(0x103)]=new Map(),this[_0x234270(0xed)]=new CloudServicesTrackChangesAdapter[(_0x234270(0xf2))](_0x3aed42);}[_0x5842e6(0x104)](){const _0xaceee=_0x5842e6,_0x4fbee1=this[_0xaceee(0x122)][_0xaceee(0xf6)][_0xaceee(0x11c)](_0x389a17),_0xa23bc6=this[_0xaceee(0x122)][_0xaceee(0xf6)][_0xaceee(0x11c)](_0xaceee(0x108));return _0xa23bc6[_0xaceee(0x10a)]={'getSuggestion':async _0x4f2f92=>{const _0x317ac7=_0xaceee;await this[_0x317ac7(0x114)]();const _0x405ecd=await this[_0x317ac7(0xed)][_0x317ac7(0x11c)](_0x4f2f92)[_0x317ac7(0x121)](Y);return await this[_0x317ac7(0x119)]([_0x405ecd]),_0x405ecd;},'addSuggestion':async({id:_0x8a442a,type:_0x14b46e,data:_0x285add,originalSuggestionId:_0x231e22,attributes:_0xca315f})=>{const _0x5255a3=_0xaceee;await this[_0x5255a3(0x114)]();const _0xff9c73={'id':_0x8a442a,'type':_0x14b46e,'data':_0x285add,'originalSuggestionId':_0x231e22,'attributes':_0xca315f},_0x1cf55d=await this[_0x5255a3(0xed)][_0x5255a3(0x10b)](_0x8a442a,_0x14b46e,_0x285add,_0x231e22,_0xca315f)[_0x5255a3(0x121)](_0x652994=>{if(Z(_0x652994))return new Promise(_0x5a197a=>{const _0x3a6975=_0x1528;this[_0x3a6975(0x103)][_0x3a6975(0xf8)](_0x8a442a,{'resolve':_0x5a197a,'suggestionData':_0xff9c73});});throw _0x652994;});return this[_0x5255a3(0x103)][_0x5255a3(0x123)](_0x8a442a),_0x1cf55d;},'updateSuggestion':async(_0x2cb194,_0xe8b5aa)=>{const _0x5e92ba=_0xaceee;if(await this[_0x5e92ba(0x114)](),_0x5e92ba(0x10c)!==_0xe8b5aa[_0x5e92ba(0x102)])return this[_0x5e92ba(0xed)][_0x5e92ba(0xf9)](_0x2cb194,_0xe8b5aa)[_0x5e92ba(0x121)](Y);}},this[_0xaceee(0x116)](this[_0xaceee(0xed)],_0xaceee(0x113),(_0x2cc47d,_0x5ae577)=>{const _0x224208=_0xaceee;_0xa23bc6[_0x224208(0xf5)](_0x5ae577['id'])&&(_0xa23bc6[_0x224208(0xfd)](_0x5ae577['id'])[_0x224208(0x115)]=_0x5ae577[_0x224208(0x115)]);}),this[_0xaceee(0xed)][_0xaceee(0x112)](_0x4fbee1[_0xaceee(0x111)])[_0xaceee(0xea)](_0x3758b0=>(_0x4fbee1[_0xaceee(0xfa)](this),this[_0xaceee(0x119)](_0x3758b0)[_0xaceee(0xea)](()=>{const _0x29f3b8=_0xaceee;for(const _0x54a2d2 of _0x3758b0){_0xa23bc6[_0x29f3b8(0xfc)](_0x54a2d2)[_0x29f3b8(0x125)]=!0x0;}})));}async[_0x5842e6(0x110)](){const _0xda2094=_0x5842e6,_0x3daea1=this[_0xda2094(0x122)][_0xda2094(0xf6)][_0xda2094(0x11c)](_0xda2094(0x108)),{connection:_0x2a8b7b}=this[_0xda2094(0x122)][_0xda2094(0xf6)][_0xda2094(0x11c)](_0x389a17),_0x412567=await this[_0xda2094(0xed)][_0xda2094(0x112)](_0x2a8b7b);await this[_0xda2094(0x119)](_0x412567);for(const {suggestionData:_0x5d9750,resolve:_0x2427b9}of this[_0xda2094(0x103)][_0xda2094(0x10d)]()){let _0x2ee1bf=_0x412567[_0xda2094(0x124)](_0x3b0263=>_0x3b0263['id']===_0x5d9750['id']);_0x2ee1bf||(_0x2ee1bf=await this[_0xda2094(0xed)][_0xda2094(0x10b)](_0x5d9750['id'],_0x5d9750[_0xda2094(0x11a)],_0x5d9750[_0xda2094(0x106)],_0x5d9750[_0xda2094(0x10f)])),_0x2427b9(_0x2ee1bf);}for(const _0x148952 of _0x412567)_0x3daea1[_0xda2094(0xf5)](_0x148952['id'])||_0x3daea1[_0xda2094(0xfc)](_0x148952);}async[_0x5842e6(0x114)](){const _0x1a3cbf=_0x5842e6;this[_0x1a3cbf(0xed)][_0x1a3cbf(0xec)]||await new Promise(_0xa6f9b1=>{const _0x1ed9f5=_0x1a3cbf;this[_0x1ed9f5(0x116)](this[_0x1ed9f5(0xed)],_0x1ed9f5(0xff),_0x1d5264=>{const _0x2a9905=_0x1ed9f5;_0x1d5264[_0x2a9905(0xf3)](),_0xa6f9b1();});});}async[_0x5842e6(0x119)](_0x5f29f7){const _0xe2be9=_0x5842e6,_0x409f5d=this[_0xe2be9(0x122)][_0xe2be9(0xf6)][_0xe2be9(0x11c)](_0x22255b),{connection:_0x39dfee}=this[_0xe2be9(0x122)][_0xe2be9(0xf6)][_0xe2be9(0x11c)](_0x389a17),_0x4f54a6=new Set();for(const {authorId:_0x57a826}of _0x5f29f7)_0x409f5d[_0xe2be9(0x107)](_0x57a826)||_0x4f54a6[_0xe2be9(0x10b)](_0x57a826);if(0x0===_0x4f54a6[_0xe2be9(0x100)])return;const _0x348152=await _0x1cb972[_0xe2be9(0x117)](_0x39dfee,Array[_0xe2be9(0x120)](_0x4f54a6));for(const _0x7ad335 of _0x348152)_0x409f5d[_0xe2be9(0x107)](_0x7ad335['id'])||_0x409f5d[_0xe2be9(0x11b)](_0x7ad335);}}function _0x459d(){const _0x2fe020=['addUser','get','CloudServicesTrackChangesAdapter','isOfficialPlugin','22708JCYpwA','from','catch','editor','delete','find','_saved','36PhvlFu','config','then','6967512CdvKSd','isConnected','_trackChangesService','isPremiumPlugin','pluginName','startsWith','1504830XzqUYz','TrackChangesService','off','cloud-services-internal-error:\x20Not\x20connected.','hasSuggestion','plugins','requires','set','update','addToReconnectionStack','message','addSuggestionData','getSuggestion','738281CEMcaW','connected','size','cloud-services-internal-error:\x20Request\x20timeout.','state','_bufferedRequests','init','collaboration.channelId','data','getUser','TrackChangesEditing','39429GFVQyO','adapter','add','open','values','2609765gYAXKt','originalSuggestionId','reconnect','connection','connect','suggestionUpdated','_waitForServiceReady','attributes','listenTo','getMany','179928whDsJC','_fetchMissingUsersForThreads','type'];_0x459d=function(){return _0x2fe020;};return _0x459d();}function Y(_0x44ab6f){if(Z(_0x44ab6f))return new Promise(()=>{});throw _0x44ab6f;}function Z(_0x5df7f6){const _0x392b79=_0x5842e6;return _0x5df7f6[_0x392b79(0xfb)][_0x392b79(0xf0)](_0x392b79(0xf4))||_0x5df7f6[_0x392b79(0xfb)][_0x392b79(0xf0)](_0x392b79(0x101));}
23
+ const _0x4b2352=_0x5617;(function(_0x330b29,_0x26d8e3){const _0x360c95=_0x5617,_0x11c1d8=_0x330b29();while(!![]){try{const _0x59a7f3=-parseInt(_0x360c95(0x173))/0x1+-parseInt(_0x360c95(0x1aa))/0x2+-parseInt(_0x360c95(0x17d))/0x3+parseInt(_0x360c95(0x19b))/0x4+-parseInt(_0x360c95(0x18b))/0x5*(-parseInt(_0x360c95(0x172))/0x6)+parseInt(_0x360c95(0x1a2))/0x7+parseInt(_0x360c95(0x198))/0x8;if(_0x59a7f3===_0x26d8e3)break;else _0x11c1d8['push'](_0x11c1d8['shift']());}catch(_0x461d2f){_0x11c1d8['push'](_0x11c1d8['shift']());}}}(_0x1498,0xac51f));import{Plugin as _0x2137e0}from'ckeditor5/src/core.js';function _0x5617(_0x3002c7,_0x14532f){const _0x1498f9=_0x1498();return _0x5617=function(_0x5617eb,_0x364e41){_0x5617eb=_0x5617eb-0x16f;let _0x2fa5af=_0x1498f9[_0x5617eb];return _0x2fa5af;},_0x5617(_0x3002c7,_0x14532f);}import{User as _0x5b6fe9,TrackChangesService as _0x4f0465}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1497ba}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2e8c96}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5eb681}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x2137e0{static [_0x4b2352(0x1a6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4f0465)());[_0x4b2352(0x180)];[_0x4b2352(0x193)];static get[_0x4b2352(0x17b)](){const _0x189aee=_0x4b2352;return[_0x2e8c96,_0x189aee(0x18d),_0x1497ba];}static get[_0x4b2352(0x189)](){const _0xeb764d=_0x4b2352;return _0xeb764d(0x174);}static get[_0x4b2352(0x18f)](){return!0x0;}static get[_0x4b2352(0x177)](){return!0x0;}constructor(_0x5bacf1){const _0x179fe1=_0x4b2352;super(_0x5bacf1);const _0x3f0f63=this[_0x179fe1(0x178)][_0x179fe1(0x184)][_0x179fe1(0x1a7)](_0x179fe1(0x1a5));this[_0x179fe1(0x180)]=new Map(),this[_0x179fe1(0x193)]=new CloudServicesTrackChangesAdapter[(_0x179fe1(0x1a6))](_0x3f0f63);}[_0x4b2352(0x183)](){const _0x17ff24=_0x4b2352,_0x1f49b9=this[_0x17ff24(0x178)][_0x17ff24(0x194)][_0x17ff24(0x1a7)](_0x1497ba),_0x208418=this[_0x17ff24(0x178)][_0x17ff24(0x194)][_0x17ff24(0x1a7)](_0x17ff24(0x18d));return _0x208418[_0x17ff24(0x17a)]={'getSuggestion':async _0x22ccff=>{const _0x293311=_0x17ff24;await this[_0x293311(0x1a3)]();const _0x28177d=await this[_0x293311(0x193)][_0x293311(0x1a7)](_0x22ccff)[_0x293311(0x185)](A);return await this[_0x293311(0x1a9)]([_0x28177d]),_0x28177d;},'addSuggestion':async({id:_0x204d1a,type:_0x2315d0,data:_0x1ac401,originalSuggestionId:_0x3ce9e4,attributes:_0x282b82})=>{const _0x3be4f5=_0x17ff24;await this[_0x3be4f5(0x1a3)]();const _0x521761={'id':_0x204d1a,'type':_0x2315d0,'data':_0x1ac401,'originalSuggestionId':_0x3ce9e4,'attributes':_0x282b82},_0x1786f2=await this[_0x3be4f5(0x193)][_0x3be4f5(0x170)](_0x204d1a,_0x2315d0,_0x1ac401,_0x3ce9e4,_0x282b82)[_0x3be4f5(0x185)](_0xf3b5a8=>{if(J(_0xf3b5a8))return new Promise(_0x242ecc=>{const _0x97d1f0=_0x5617;this[_0x97d1f0(0x180)][_0x97d1f0(0x176)](_0x204d1a,{'resolve':_0x242ecc,'suggestionData':_0x521761});});throw _0xf3b5a8;});return this[_0x3be4f5(0x180)][_0x3be4f5(0x18c)](_0x204d1a),_0x1786f2;},'updateSuggestion':async(_0x2df471,_0x22c8f8)=>{const _0x529af1=_0x17ff24;if(await this[_0x529af1(0x1a3)](),_0x529af1(0x18a)!==_0x22c8f8[_0x529af1(0x19f)])return this[_0x529af1(0x193)][_0x529af1(0x195)](_0x2df471,_0x22c8f8)[_0x529af1(0x185)](A);}},this[_0x17ff24(0x179)](this[_0x17ff24(0x193)],_0x17ff24(0x1a4),(_0x1bc1b0,_0x840bbe)=>{const _0x4596ec=_0x17ff24;_0x208418[_0x4596ec(0x182)](_0x840bbe['id'])&&(_0x208418[_0x4596ec(0x19e)](_0x840bbe['id'])[_0x4596ec(0x18e)]=_0x840bbe[_0x4596ec(0x18e)]);}),this[_0x17ff24(0x193)][_0x17ff24(0x1ab)](_0x1f49b9[_0x17ff24(0x1ac)])[_0x17ff24(0x190)](_0x56684e=>(_0x1f49b9[_0x17ff24(0x191)](this),this[_0x17ff24(0x1a9)](_0x56684e)[_0x17ff24(0x190)](()=>{const _0x30df0c=_0x17ff24;for(const _0x1ee2e6 of _0x56684e){_0x208418[_0x30df0c(0x19c)](_0x1ee2e6)[_0x30df0c(0x19d)]=!0x0;}})));}async[_0x4b2352(0x196)](){const _0x232bef=_0x4b2352,_0x92f426=this[_0x232bef(0x178)][_0x232bef(0x194)][_0x232bef(0x1a7)](_0x232bef(0x18d)),{connection:_0xe30ba2}=this[_0x232bef(0x178)][_0x232bef(0x194)][_0x232bef(0x1a7)](_0x1497ba),_0x4e9fa8=await this[_0x232bef(0x193)][_0x232bef(0x1ab)](_0xe30ba2);await this[_0x232bef(0x1a9)](_0x4e9fa8);for(const {suggestionData:_0x21b8b6,resolve:_0x25da04}of this[_0x232bef(0x180)][_0x232bef(0x16f)]()){let _0xde841a=_0x4e9fa8[_0x232bef(0x192)](_0x33f159=>_0x33f159['id']===_0x21b8b6['id']);_0xde841a||(_0xde841a=await this[_0x232bef(0x193)][_0x232bef(0x170)](_0x21b8b6['id'],_0x21b8b6[_0x232bef(0x197)],_0x21b8b6[_0x232bef(0x175)],_0x21b8b6[_0x232bef(0x186)])),_0x25da04(_0xde841a);}for(const _0x3e1123 of _0x4e9fa8)_0x92f426[_0x232bef(0x182)](_0x3e1123['id'])||_0x92f426[_0x232bef(0x19c)](_0x3e1123);}async[_0x4b2352(0x1a3)](){const _0x56db2c=_0x4b2352;this[_0x56db2c(0x193)][_0x56db2c(0x187)]||await new Promise(_0x2caf23=>{const _0x1ca361=_0x56db2c;this[_0x1ca361(0x179)](this[_0x1ca361(0x193)],_0x1ca361(0x199),_0x2c5cf5=>{const _0x2374d9=_0x1ca361;_0x2c5cf5[_0x2374d9(0x188)](),_0x2caf23();});});}async[_0x4b2352(0x1a9)](_0x395406){const _0x37d485=_0x4b2352,_0x36fd25=this[_0x37d485(0x178)][_0x37d485(0x194)][_0x37d485(0x1a7)](_0x5eb681),{connection:_0x403bc2}=this[_0x37d485(0x178)][_0x37d485(0x194)][_0x37d485(0x1a7)](_0x1497ba),_0x31da3e=new Set();for(const {authorId:_0x5a1f1f}of _0x395406)_0x36fd25[_0x37d485(0x17e)](_0x5a1f1f)||_0x31da3e[_0x37d485(0x170)](_0x5a1f1f);if(0x0===_0x31da3e[_0x37d485(0x1a8)])return;const _0x4872e3=await _0x5b6fe9[_0x37d485(0x19a)](_0x403bc2,Array[_0x37d485(0x17c)](_0x31da3e));for(const _0x2a0147 of _0x4872e3)_0x36fd25[_0x37d485(0x17e)](_0x2a0147['id'])||_0x36fd25[_0x37d485(0x171)](_0x2a0147);}}function _0x1498(){const _0x10b033=['then','addToReconnectionStack','find','_trackChangesService','plugins','update','reconnect','type','8138832jwJlWG','connected','getMany','2003036DELAMB','addSuggestionData','_saved','getSuggestion','state','message','cloud-services-internal-error:\x20Not\x20connected.','9602887PpuDtl','_waitForServiceReady','suggestionUpdated','collaboration.channelId','TrackChangesService','get','size','_fetchMissingUsersForThreads','84754ZTPryE','connect','connection','values','add','addUser','3198fHPMMm','1178415BJAeVy','CloudServicesTrackChangesAdapter','data','set','isPremiumPlugin','editor','listenTo','adapter','requires','from','3427281iHfbFh','getUser','cloud-services-internal-error:\x20Request\x20timeout.','_bufferedRequests','startsWith','hasSuggestion','init','config','catch','originalSuggestionId','isConnected','off','pluginName','open','1680UAAGUl','delete','TrackChangesEditing','attributes','isOfficialPlugin'];_0x1498=function(){return _0x10b033;};return _0x1498();}function A(_0x1dd968){if(J(_0x1dd968))return new Promise(()=>{});throw _0x1dd968;}function J(_0x2c809c){const _0x2546c4=_0x4b2352;return _0x2c809c[_0x2546c4(0x1a0)][_0x2546c4(0x181)](_0x2546c4(0x1a1))||_0x2c809c[_0x2546c4(0x1a0)][_0x2546c4(0x181)](_0x2546c4(0x17f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44273a=_0x4575;(function(_0x5d99a0,_0x4d3c93){var _0x151eb0=_0x4575,_0x34c5a3=_0x5d99a0();while(!![]){try{var _0x9f1965=-parseInt(_0x151eb0(0x1ed))/0x1*(parseInt(_0x151eb0(0x1eb))/0x2)+-parseInt(_0x151eb0(0x1ee))/0x3*(-parseInt(_0x151eb0(0x1e9))/0x4)+-parseInt(_0x151eb0(0x1f4))/0x5*(parseInt(_0x151eb0(0x1f5))/0x6)+parseInt(_0x151eb0(0x1e7))/0x7+parseInt(_0x151eb0(0x1e4))/0x8*(-parseInt(_0x151eb0(0x1e3))/0x9)+parseInt(_0x151eb0(0x1f3))/0xa*(-parseInt(_0x151eb0(0x1ec))/0xb)+parseInt(_0x151eb0(0x1f1))/0xc*(parseInt(_0x151eb0(0x1ef))/0xd);if(_0x9f1965===_0x4d3c93)break;else _0x34c5a3['push'](_0x34c5a3['shift']());}catch(_0x3caa3e){_0x34c5a3['push'](_0x34c5a3['shift']());}}}(_0x3e84,0x4c4cd));function _0x3e84(){var _0x14b0cc=['isOfficialPlugin','141808VPlfcV','TrackChanges','52990GQxolq','583YJXNXO','15uXcMUz','15SXRGkz','13RpqFSg','pluginName','18607872HWkYvu','requires','94840buUTzU','2495oHKEwB','84biLyWf','207SoXxen','186552UzXGKz','isPremiumPlugin','RealTimeCollaborativeTrackChanges','196063HQmKvh'];_0x3e84=function(){return _0x14b0cc;};return _0x3e84();}import{Plugin as _0xd86a93}from'ckeditor5/src/core.js';function _0x4575(_0x448c6d,_0x576391){var _0x3e84b5=_0x3e84();return _0x4575=function(_0x45753e,_0x2a927a){_0x45753e=_0x45753e-0x1e3;var _0x229f29=_0x3e84b5[_0x45753e];return _0x229f29;},_0x4575(_0x448c6d,_0x576391);}import{CloudServicesTrackChangesAdapter as _0x58e90a}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3da248}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0xd86a93{static get[_0x44273a(0x1f2)](){var _0x4d7788=_0x44273a;return[_0x3da248,_0x58e90a,_0x4d7788(0x1ea)];}static get[_0x44273a(0x1f0)](){var _0x5eb029=_0x44273a;return _0x5eb029(0x1e6);}static get[_0x44273a(0x1e8)](){return!0x0;}static get[_0x44273a(0x1e5)](){return!0x0;}}
23
+ var _0x481340=_0x4e66;(function(_0x293cf0,_0x3046fd){var _0x3cc9da=_0x4e66,_0x542970=_0x293cf0();while(!![]){try{var _0x5bb750=-parseInt(_0x3cc9da(0x19e))/0x1*(parseInt(_0x3cc9da(0x1a3))/0x2)+parseInt(_0x3cc9da(0x193))/0x3*(-parseInt(_0x3cc9da(0x1a2))/0x4)+-parseInt(_0x3cc9da(0x195))/0x5*(-parseInt(_0x3cc9da(0x19a))/0x6)+-parseInt(_0x3cc9da(0x194))/0x7*(parseInt(_0x3cc9da(0x1a0))/0x8)+-parseInt(_0x3cc9da(0x19f))/0x9+parseInt(_0x3cc9da(0x196))/0xa+-parseInt(_0x3cc9da(0x19b))/0xb*(-parseInt(_0x3cc9da(0x1a1))/0xc);if(_0x5bb750===_0x3046fd)break;else _0x542970['push'](_0x542970['shift']());}catch(_0x1a6a9f){_0x542970['push'](_0x542970['shift']());}}}(_0x4426,0x4fde9));function _0x4426(){var _0x59dd02=['TrackChanges','21hKubkv','14kRNYit','920wlAqVO','2463790fSWCxJ','RealTimeCollaborativeTrackChanges','pluginName','isPremiumPlugin','15108tcbZQS','220gbkykv','requires','isOfficialPlugin','364478EnZUdP','771705YDhQtA','501416jnDGma','188592mtxYnI','69308wnjFjE','2goAQwI'];_0x4426=function(){return _0x59dd02;};return _0x4426();}import{Plugin as _0x226d4e}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x18213a}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x4e66(_0x3d4e2a,_0x597731){var _0x4426ae=_0x4426();return _0x4e66=function(_0x4e66c6,_0x30dd4c){_0x4e66c6=_0x4e66c6-0x193;var _0x491023=_0x4426ae[_0x4e66c6];return _0x491023;},_0x4e66(_0x3d4e2a,_0x597731);}import{RealTimeCollaborativeComments as _0x16b608}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x226d4e{static get[_0x481340(0x19c)](){var _0x1dc3ad=_0x481340;return[_0x16b608,_0x18213a,_0x1dc3ad(0x1a4)];}static get[_0x481340(0x198)](){var _0x4b2707=_0x481340;return _0x4b2707(0x197);}static get[_0x481340(0x19d)](){return!0x0;}static get[_0x481340(0x199)](){return!0x0;}}