@ckeditor/ckeditor5-real-time-collaboration 47.0.0 → 47.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +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 _0x2e03(){const _0x595f28=['catch','9757930gBzXfg','connected','20tMLQqN','delete','context','CONNECTING','change:me','from','initialReconnectionInterval','offline','cloudservices-reconnection-error','9834100QfKXLt','1054tHudmm','isPremiumPlugin','constructor','state','connect','config','bind','all','removeFromReconnectionStack','error','5202312izjvSV','set','_reconnectionStack','showWarning','then','requires','addToReconnectionStack','_isBrowserOffline','CONNECTED','limitExceeded','destroy','_shouldPluginsReconnect','connection','WebSocketGateway','2453202gSYuiB','352490oBDkgV','online','websocketgateway-plugin-already-registered','listenTo','disconnect','reconnect','get','plugins','isInReconnectionStack','9cOPXgU','init','websocketgateway-missing-token','add','_reconnect','6412936NmjIbk','token','websocketgateway-invalid-plugin-interface','isOfficialPlugin','websocketgateway-missing-websocket-url','DISCONNECTED','stopListening','cloudServices.connectionTimeout','1369tTPwdO','Connected\x20users\x20limit\x20exceeded','function','code','has','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.','CloudServices','pluginName','webSocketUrl','cloudServices.requestTimeout','cloudservices-init','define','_domEmitter','real-time-collaboration'];_0x2e03=function(){return _0x595f28;};return _0x2e03();}const _0xe473c3=_0x525f;(function(_0x1fad17,_0x455a35){const _0x4d3ad9=_0x525f,_0x48cda8=_0x1fad17();while(!![]){try{const _0x3df9f3=-parseInt(_0x4d3ad9(0x81))/0x1*(-parseInt(_0x4d3ad9(0x9c))/0x2)+-parseInt(_0x4d3ad9(0xb4))/0x3+-parseInt(_0x4d3ad9(0x92))/0x4*(-parseInt(_0x4d3ad9(0xb5))/0x5)+parseInt(_0x4d3ad9(0xa6))/0x6+parseInt(_0x4d3ad9(0x90))/0x7+parseInt(_0x4d3ad9(0x79))/0x8*(-parseInt(_0x4d3ad9(0x74))/0x9)+-parseInt(_0x4d3ad9(0x9b))/0xa;if(_0x3df9f3===_0x455a35)break;else _0x48cda8['push'](_0x48cda8['shift']());}catch(_0x10599e){_0x48cda8['push'](_0x48cda8['shift']());}}}(_0x2e03,0xb2c4a));import{ContextPlugin as _0x558284}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x352a88,CKEditorError as _0x586775}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x547774,WEB_SOCKET_GATEWAY_STATES as _0x21012b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x525f(_0x49feae,_0x282e72){const _0x2e0314=_0x2e03();return _0x525f=function(_0x525f22,_0x648659){_0x525f22=_0x525f22-0x6d;let _0x5ad462=_0x2e0314[_0x525f22];return _0x5ad462;},_0x525f(_0x49feae,_0x282e72);}import{Notification as _0x4a04ad}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x558284{static [_0xe473c3(0xb3)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x547774)());static [_0xe473c3(0x98)]=0x3e8;[_0xe473c3(0xb2)];[_0xe473c3(0xa8)];[_0xe473c3(0xb1)];[_0xe473c3(0x8d)];static get[_0xe473c3(0xab)](){const _0x3c1ab0=_0xe473c3;return[_0x3c1ab0(0x87),_0x4a04ad];}static get[_0xe473c3(0x88)](){const _0x2c624d=_0xe473c3;return _0x2c624d(0xb3);}static get[_0xe473c3(0x7c)](){return!0x0;}static get[_0xe473c3(0x9d)](){return!0x0;}constructor(_0x1ed204){const _0x529a79=_0xe473c3;super(_0x1ed204),this[_0x529a79(0xa7)](_0x529a79(0x9f),_0x21012b[_0x529a79(0xae)]),this[_0x529a79(0xa7)](_0x529a79(0xad),!0x1),this[_0x529a79(0xa8)]=new Set(),this[_0x529a79(0xb1)]=!0x1,this[_0x529a79(0x8d)]=new(_0x352a88())();}[_0xe473c3(0x75)](){const _0x4ef965=_0xe473c3,_0x57e3d9=this[_0x4ef965(0x94)],_0x55d3a6=_0x57e3d9[_0x4ef965(0x72)][_0x4ef965(0x71)](_0x4ef965(0x87)),_0x5e359c=_0x57e3d9[_0x4ef965(0x72)][_0x4ef965(0x71)](_0x4a04ad);if(!_0x55d3a6[_0x4ef965(0x7a)])throw new _0x586775(_0x4ef965(0x76),this);if(!_0x55d3a6[_0x4ef965(0x89)])throw new _0x586775(_0x4ef965(0x7d),this);return this[_0x4ef965(0x8d)][_0x4ef965(0x6e)](window,_0x4ef965(0x99),()=>this[_0x4ef965(0xad)]=!0x0),this[_0x4ef965(0x8d)][_0x4ef965(0x6e)](window,_0x4ef965(0xb6),()=>this[_0x4ef965(0xad)]=!0x1),this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x8c)](_0x4ef965(0x80),0xa),this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x8c)](_0x4ef965(0x8a),0x14),WebSocketGateway[_0x4ef965(0xb3)][_0x4ef965(0xa0)](_0x55d3a6[_0x4ef965(0x7a)],_0x55d3a6[_0x4ef965(0x89)],{'timeout':0x3e8*this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x71)](_0x4ef965(0x80)),'requestTimeout':0x3e8*this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x71)](_0x4ef965(0x8a))})[_0x4ef965(0xaa)](_0x5a9247=>{const _0x446e33=_0x4ef965;if(this[_0x446e33(0xb2)]=_0x5a9247,this[_0x446e33(0xa2)](_0x446e33(0x9f))['to'](_0x5a9247,_0x446e33(0x9f),this,_0x446e33(0xad),(_0xc5182d,_0x842f92)=>(_0x446e33(0x91)!==_0xc5182d&&(this[_0x446e33(0xb1)]=!0x0),_0x842f92||_0xc5182d!==_0x21012b[_0x446e33(0xae)]?_0x21012b[_0x446e33(0x7e)]:this[_0x446e33(0x9f)]==_0x21012b[_0x446e33(0x7e)]&&this[_0x446e33(0xb1)]?(this[_0x446e33(0xb1)]=!0x1,this[_0x446e33(0x78)](),_0x21012b[_0x446e33(0x95)]):_0x21012b[_0x446e33(0xae)])),this[_0x446e33(0xb2)]['on'](_0x446e33(0xa5),(_0x3c617a,_0x39a7ad)=>{const _0x7aa381=_0x446e33;if(_0x7aa381(0xaf)!==_0x39a7ad[_0x7aa381(0x84)])throw console[_0x7aa381(0xa5)](_0x39a7ad),new _0x586775(_0x7aa381(0x8b),null,{'originalError':_0x39a7ad});_0x5e359c[_0x7aa381(0xa9)](_0x7aa381(0x86),{'title':_0x7aa381(0x82),'namespace':_0x7aa381(0x8e)});}),!_0x5a9247['me'])return new Promise(_0x13fab6=>_0x5a9247['on'](_0x446e33(0x96),_0x13fab6));})[_0x4ef965(0x8f)](_0x7be79f=>{const _0x1e7d0c=_0x4ef965;throw console[_0x1e7d0c(0xa5)](_0x7be79f),new _0x586775(_0x1e7d0c(0x8b),null,{'originalError':_0x7be79f});});}[_0xe473c3(0xac)](_0x12c03f){const _0x115edf=_0xe473c3;if(_0x115edf(0x83)!=typeof _0x12c03f[_0x115edf(0x70)])throw new _0x586775(_0x115edf(0x7b),this);if(this[_0x115edf(0x73)](_0x12c03f))throw new _0x586775(_0x115edf(0x6d),this,{'name':_0x12c03f[_0x115edf(0x9e)][_0x115edf(0x88)]});this[_0x115edf(0xa8)][_0x115edf(0x77)](_0x12c03f);}[_0xe473c3(0xa4)](_0x4235d3){const _0x53ac55=_0xe473c3;this[_0x53ac55(0xa8)][_0x53ac55(0x93)](_0x4235d3);}[_0xe473c3(0x73)](_0x7f71c5){const _0x2cd31d=_0xe473c3;return this[_0x2cd31d(0xa8)][_0x2cd31d(0x85)](_0x7f71c5);}[_0xe473c3(0x78)](){const _0x26ba70=_0xe473c3;return this[_0x26ba70(0xb2)][_0x26ba70(0x70)]()[_0x26ba70(0xaa)](()=>Promise[_0x26ba70(0xa3)](Array[_0x26ba70(0x97)](this[_0x26ba70(0xa8)],_0x21b8e4=>_0x21b8e4[_0x26ba70(0x70)]())))[_0x26ba70(0xaa)](()=>this[_0x26ba70(0x9f)]=_0x21012b[_0x26ba70(0xae)])[_0x26ba70(0x8f)](_0x4a299f=>{const _0x3d2678=_0x26ba70;throw console[_0x3d2678(0xa5)](_0x4a299f),new _0x586775(_0x3d2678(0x9a),this[_0x3d2678(0x94)]);});}[_0xe473c3(0x6f)](){const _0x5f2b96=_0xe473c3;this[_0x5f2b96(0xb2)]&&this[_0x5f2b96(0xb2)][_0x5f2b96(0x6f)](),this[_0x5f2b96(0x9f)]=_0x21012b[_0x5f2b96(0x7e)],this[_0x5f2b96(0x8d)][_0x5f2b96(0x7f)]();}[_0xe473c3(0xb0)](){const _0x2df56a=_0xe473c3;this[_0x2df56a(0x6f)](),super[_0x2df56a(0xb0)]();}}
@@ -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 _0x35e9(){const _0x29fbd0=['data','47686540OoMCIj','baseVersion','from','_bufferedUpdates','currentRevision','connected','isPremiumPlugin','reInit','code','_startingVersion','listenTo','getMany','has','_revisionHistoryService','2573268wHrdwR','CloudServicesRevisionHistoryAdapter','creatorId','50bgfIDe','bind','setSource','_getLatestVersion','_revisions','keys','sendBufferedUpdates','12403792ejceRJ','addUser','destroy','catch','length','change:_isConnected','_waitForServiceReady','_preventResendingRevisionData','diffData','wrongRequestId','reconnect','type','addToReconnectionStack','add','pluginName','_createCurrentRevision','_update','34420BqpNUQ','plugins','requires','editor','startsWith','RevisionHistoryService','affectsData','repository','_isConnected','_getLatestVersionFromServerOperations','_lastRequestId','message','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','14722875vhEVQC','marker','1104QZDiPR','getUser','adapter','1099104zIDPfu','CONNECTED','cloud-services-internal-error:\x20Request\x20timeout.','addRevisionData','RevisionTracker','cloud-services-internal-error:\x20Not\x20connected.','isBundleUploaded','isConnected','_revisionDataBuilder','_handleReconnectionError','state','off','change:_isPendingUpdate','7TjDNTS','size','_isPendingUpdate','sessionId','serverHistory','reverse','400','connection','authorsIds','_fetchMissingUsers','_offset','once','map','max','isEmptyCurrent','70139dnwqgP','getOperations','remove','getRevision','collaboration.channelId','RevisionHistory','revisionsUpdated','authors','get','then','fromVersion','getRevisions','_handleRevisionsUpdate','isOfficialPlugin','_fixRevision','_bufferUpdate','connect','cloudServices.bundleVersion','buildRevisionData','toVersion','setRevisionData','_revisionTracker','_oldOffset','init','isEnabled','createdAt','config','updateRevisions'];_0x35e9=function(){return _0x29fbd0;};return _0x35e9();}const _0x16189c=_0x5b42;(function(_0x1f077b,_0x9ca681){const _0x46982e=_0x5b42,_0x48a644=_0x1f077b();while(!![]){try{const _0x4d759f=-parseInt(_0x46982e(0x132))/0x1*(-parseInt(_0x46982e(0xec))/0x2)+-parseInt(_0x46982e(0xe9))/0x3+-parseInt(_0x46982e(0x116))/0x4+-parseInt(_0x46982e(0x104))/0x5*(parseInt(_0x46982e(0x113))/0x6)+parseInt(_0x46982e(0x123))/0x7*(-parseInt(_0x46982e(0xf3))/0x8)+-parseInt(_0x46982e(0x111))/0x9+parseInt(_0x46982e(0x14f))/0xa;if(_0x4d759f===_0x9ca681)break;else _0x48a644['push'](_0x48a644['shift']());}catch(_0x33478a){_0x48a644['push'](_0x48a644['shift']());}}}(_0x35e9,0xe4a90));import{Plugin as _0x470fbb}from'ckeditor5/src/core.js';import{version as _0x369651}from'ckeditor5/src/utils.js';function _0x5b42(_0x54ba61,_0x37188a){const _0x35e93f=_0x35e9();return _0x5b42=function(_0x5b4243,_0x5a834e){_0x5b4243=_0x5b4243-0xe8;let _0x3d9a2b=_0x35e93f[_0x5b4243];return _0x3d9a2b;},_0x5b42(_0x54ba61,_0x37188a);}import{Users as _0x57a8c2}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0xc6b2ab}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3882e7}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2fbe22}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x48504d,RevisionHistoryService as _0xc0fe86,User as _0x43679e,WEB_SOCKET_GATEWAY_STATES as _0x581211}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x470fbb{static [_0x16189c(0x109)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xc0fe86)());[_0x16189c(0x10e)];[_0x16189c(0x147)];[_0x16189c(0xe8)];[_0x16189c(0x148)];static get[_0x16189c(0x106)](){const _0x48774a=_0x16189c;return[_0x3882e7,_0xc6b2ab,_0x48774a(0x137),_0x2fbe22,_0x57a8c2];}static get[_0x16189c(0x101)](){const _0x2e133a=_0x16189c;return _0x2e133a(0xea);}static get[_0x16189c(0x13f)](){return!0x0;}static get[_0x16189c(0x155)](){return!0x0;}constructor(_0x872973){const _0x4ca366=_0x16189c;super(_0x872973);const _0x432456=this[_0x4ca366(0x107)][_0x4ca366(0x14c)][_0x4ca366(0x13a)](_0x4ca366(0x136));this[_0x4ca366(0x10e)]=null,this[_0x4ca366(0x147)]=this[_0x4ca366(0x107)][_0x4ca366(0x105)][_0x4ca366(0x13a)](_0x4ca366(0x11a)),this[_0x4ca366(0xe8)]=new CloudServicesRevisionHistoryAdapter[(_0x4ca366(0x109))](_0x432456);}async[_0x16189c(0x149)](){const _0x1d848b=_0x16189c,_0x269899=this[_0x1d848b(0x107)][_0x1d848b(0x105)][_0x1d848b(0x13a)](_0xc6b2ab),_0x55a680=_0x269899[_0x1d848b(0x127)],_0x39d6ed=this[_0x1d848b(0x107)][_0x1d848b(0x105)][_0x1d848b(0x13a)](_0x3882e7);this[_0x1d848b(0x147)][_0x1d848b(0xee)]({'history':_0x55a680,'getLatestVersion':()=>this[_0x1d848b(0xef)](),'getCurrentRevisionId':()=>_0x269899[_0x1d848b(0x126)]});const _0x5dcc8a=this[_0x1d848b(0x107)][_0x1d848b(0x14c)][_0x1d848b(0x13a)](_0x1d848b(0x143))||_0x369651,_0x145882=await _0x48504d[_0x1d848b(0x11c)](_0x39d6ed[_0x1d848b(0x12a)],_0x5dcc8a);this[_0x1d848b(0x107)][_0x1d848b(0x105)][_0x1d848b(0x13a)](_0x1d848b(0x137))[_0x1d848b(0x115)]={'getRevision':async({revisionId:_0x540172})=>(await this[_0x1d848b(0xf9)](),await this[_0x1d848b(0xe8)][_0x1d848b(0x135)](_0x540172)),'updateRevisions':async _0x49dd8b=>{const _0x1e5d75=_0x1d848b;await this[_0x1e5d75(0xf9)]();const _0x3729b5=this[_0x1e5d75(0x147)][_0x1e5d75(0x153)];if(_0x145882&&0x1===_0x49dd8b[_0x1e5d75(0xf7)]&&_0x49dd8b[0x0]['id']===_0x3729b5['id'])return _0x49dd8b;for(const _0x3d0b73 of _0x49dd8b)_0x3d0b73['id']===_0x3729b5['id']&&(_0x3d0b73[_0x1e5d75(0x131)]=_0x3d0b73[_0x1e5d75(0x13c)]===_0x3d0b73[_0x1e5d75(0x145)]);return this[_0x1e5d75(0xe8)][_0x1e5d75(0x14d)](_0x49dd8b,this[_0x1e5d75(0x10e)])[_0x1e5d75(0x13b)](_0x3dea09=>(this[_0x1e5d75(0x10e)]=_0x3dea09,_0x49dd8b))[_0x1e5d75(0xf6)](_0x55d98d=>{const _0x2da52e=_0x1e5d75;if(b(_0x55d98d)||_0x2da52e(0x129)===_0x55d98d[_0x2da52e(0x157)]&&void 0x0!==_0x55d98d[_0x2da52e(0x14e)][_0x2da52e(0xfc)]){for(const _0xad2e71 of _0x49dd8b){!this[_0x2da52e(0x147)][_0x2da52e(0x10b)][_0x2da52e(0x135)](_0xad2e71['id'])||this[_0x2da52e(0x147)][_0x2da52e(0x141)](_0xad2e71['id'],_0xad2e71,!0x1);}if(b(_0x55d98d))throw _0x55d98d;return _0x49dd8b;}throw _0x55d98d;});}},this[_0x1d848b(0x159)](this[_0x1d848b(0xe8)],_0x1d848b(0x138),(_0x44b44f,{revisionsData:_0x515535,requestId:_0x3db5af})=>{const _0x2650ea=_0x1d848b;Math[_0x2650ea(0x130)](..._0x515535[_0x2650ea(0x12f)](_0x1582e6=>_0x1582e6[_0x2650ea(0x145)]))>this[_0x2650ea(0x10d)]()-0x1?this[_0x2650ea(0xef)]()[_0x2650ea(0x13b)](()=>{const _0x4500fd=_0x2650ea;this[_0x4500fd(0x13e)](_0x515535,_0x3db5af);}):this[_0x2650ea(0x13e)](_0x515535,_0x3db5af);});const {revisions:_0x4f375e,requestId:_0x3f2bfc}=await this[_0x1d848b(0xe8)][_0x1d848b(0x142)](_0x39d6ed[_0x1d848b(0x12a)]);_0x39d6ed[_0x1d848b(0xff)](this),this[_0x1d848b(0x10e)]=_0x3f2bfc,await this[_0x1d848b(0x12c)](_0x4f375e);for(const _0x4f5ad8 of _0x4f375e)this[_0x1d848b(0x147)][_0x1d848b(0x119)](_0x4f5ad8);this[_0x1d848b(0x159)](_0x269899,_0x1d848b(0xf8),(_0x43e60b,_0x18c3b1,_0x538c91)=>{const _0x1e4b08=_0x1d848b;_0x538c91&&(this[_0x1e4b08(0x148)]=_0x269899[_0x1e4b08(0x12d)],_0x43e60b[_0x1e4b08(0x121)]());}),this[_0x1d848b(0x147)][_0x1d848b(0xed)](_0x1d848b(0x14a))['to'](_0x39d6ed,_0x1d848b(0x120),_0x185220=>_0x185220===_0x581211[_0x1d848b(0x117)]);}async[_0x16189c(0xfd)](){const _0x345965=_0x16189c,_0xabc502=this[_0x345965(0x107)][_0x345965(0x105)][_0x345965(0x13a)](_0x3882e7),_0x11f551=this[_0x345965(0x107)][_0x345965(0x105)][_0x345965(0x13a)](_0xc6b2ab),_0x1ff95d=async()=>{const _0x587a8d=_0x345965,_0x13ab51=this[_0x587a8d(0x147)][_0x587a8d(0x153)],_0x493648=_0x13ab51['id'],_0x1dd666=_0x493648!==_0x11f551[_0x587a8d(0x126)];if(_0x1dd666){const _0x4478c9=_0x11f551[_0x587a8d(0x12d)]-this[_0x587a8d(0x148)],_0x4487cf=this[_0x587a8d(0x10d)]();this[_0x587a8d(0x147)][_0x587a8d(0x11e)][_0x587a8d(0x156)]();if(_0x13ab51[_0x587a8d(0x145)]+_0x4478c9!==_0x4487cf){const _0x324897=_0x13ab51[_0x587a8d(0x13c)]+_0x4478c9,_0x29600c=this[_0x587a8d(0x107)][_0x587a8d(0x105)][_0x587a8d(0x13a)](_0x57a8c2),_0x3f2d40=this[_0x587a8d(0x147)][_0x587a8d(0x144)]({'revision':_0x13ab51,'from':_0x324897,'to':_0x4487cf});_0x3f2d40['id']=_0x13ab51['id'];const _0xbfd798=_0x3f2d40[_0x587a8d(0x12b)][_0x587a8d(0x12f)](_0x91f8cc=>_0x29600c[_0x587a8d(0x114)](_0x91f8cc));_0x13ab51[_0x587a8d(0x103)]({..._0x3f2d40,'authors':_0xbfd798},!0x0),this[_0x587a8d(0x147)][_0x587a8d(0x141)](_0x13ab51['id'],_0x3f2d40,!0x0);}this[_0x587a8d(0x147)][_0x587a8d(0x158)]=_0x4487cf,(_0x13ab51[_0x587a8d(0x145)]===_0x13ab51[_0x587a8d(0x13c)]&&!this[_0x587a8d(0x147)][_0x587a8d(0x152)][_0x587a8d(0x15b)](_0x493648)&&this[_0x587a8d(0x147)][_0x587a8d(0x10b)][_0x587a8d(0xf0)][_0x587a8d(0x134)](_0x493648),this[_0x587a8d(0x147)][_0x587a8d(0x102)](_0x4487cf));}const {revisions:_0x47fc79,requestId:_0x1aba12}=await this[_0x587a8d(0xe8)][_0x587a8d(0xfd)](_0xabc502[_0x587a8d(0x12a)],this[_0x587a8d(0x10e)]);_0x1dd666&&_0x47fc79[_0x587a8d(0xf7)]>0x0?_0x11f551[_0x587a8d(0x11f)]():(await this[_0x587a8d(0x12c)](_0x47fc79),this[_0x587a8d(0x13e)](_0x47fc79,_0x1aba12),this[_0x587a8d(0x147)][_0x587a8d(0xf2)]());};return _0x11f551[_0x345965(0x10c)]?_0x1ff95d():new Promise((_0x50f8dd,_0x4fa317)=>{const _0x3bcf6c=_0x345965;_0x11f551[_0x3bcf6c(0x12e)](_0x3bcf6c(0xf8),()=>{const _0x1236dd=_0x3bcf6c;_0x1ff95d()[_0x1236dd(0x13b)](_0x50f8dd)[_0x1236dd(0xf6)](_0x4fa317);});});}[_0x16189c(0xf5)](){const _0x226e58=_0x16189c;super[_0x226e58(0xf5)]();}async[_0x16189c(0xf9)](){const _0x1de3c7=_0x16189c;this[_0x1de3c7(0xe8)][_0x1de3c7(0x11d)]||await new Promise(_0x14eb88=>{const _0x27864d=_0x1de3c7;this[_0x27864d(0x159)](this[_0x27864d(0xe8)],_0x27864d(0x154),_0x5d9082=>{const _0x5e717b=_0x27864d;_0x5d9082[_0x5e717b(0x121)](),_0x14eb88();});});}[_0x16189c(0x10d)](){const _0x26af7b=_0x16189c,_0x24320d=this[_0x26af7b(0x107)][_0x26af7b(0x105)][_0x26af7b(0x13a)](_0xc6b2ab)[_0x26af7b(0x127)][_0x26af7b(0x133)]()[_0x26af7b(0x128)]();for(const _0x3b9497 of _0x24320d)if(_0x26af7b(0x112)!==_0x3b9497[_0x26af7b(0xfe)]||_0x3b9497[_0x26af7b(0x10a)])return _0x3b9497[_0x26af7b(0x150)]+0x1;}[_0x16189c(0xef)](){const _0x38a967=_0x16189c,_0xc3b57c=this[_0x38a967(0x107)][_0x38a967(0x105)][_0x38a967(0x13a)](_0xc6b2ab);return new Promise(_0x12b522=>{const _0x483c23=_0x38a967;_0xc3b57c[_0x483c23(0x125)]?_0xc3b57c[_0x483c23(0x12e)](_0x483c23(0x122),()=>{const _0x1a6448=_0x483c23;_0x12b522(this[_0x1a6448(0x10d)]());}):_0x12b522(this[_0x483c23(0x10d)]());});}[_0x16189c(0x13e)](_0x37c91b,_0x38ac48){const _0x5ac288=_0x16189c,_0x5d58cd=this[_0x5ac288(0x147)][_0x5ac288(0x10b)];this[_0x5ac288(0x10e)]=_0x38ac48;for(const _0x4b42b5 of _0x37c91b){const _0x2c8db5=_0x5d58cd[_0x5ac288(0x135)](_0x4b42b5['id']);if(_0x2c8db5){if((_0x4b42b5[_0x5ac288(0x13c)]||_0x4b42b5[_0x5ac288(0x145)])&&(_0x4b42b5[_0x5ac288(0xfb)]=null),_0x2c8db5===this[_0x5ac288(0x147)][_0x5ac288(0x153)]){const _0x230b64=Math[_0x5ac288(0x130)](_0x2c8db5[_0x5ac288(0x145)],_0x4b42b5[_0x5ac288(0x145)]),_0xc6fa29=Math[_0x5ac288(0x130)](_0x2c8db5[_0x5ac288(0x13c)],_0x4b42b5[_0x5ac288(0x13c)]);let _0x3507f4;_0x2c8db5[_0x5ac288(0x145)]===_0x4b42b5[_0x5ac288(0x145)]&&_0x2c8db5[_0x5ac288(0x13c)]===_0x4b42b5[_0x5ac288(0x13c)]?(_0x3507f4=!0x0,this[_0x5ac288(0xfa)](_0x4b42b5)):_0x4b42b5[_0x5ac288(0x145)]===_0x230b64&&_0x4b42b5[_0x5ac288(0x13c)]===_0xc6fa29?_0x3507f4=!0x1:(_0x2c8db5[_0x5ac288(0x145)]===_0x230b64&&_0x2c8db5[_0x5ac288(0x13c)]===_0xc6fa29||this[_0x5ac288(0x140)]({'revision':_0x2c8db5,'from':_0xc6fa29,'to':_0x230b64}),_0x3507f4=!0x0),_0x3507f4&&(delete _0x4b42b5[_0x5ac288(0x13c)],delete _0x4b42b5[_0x5ac288(0x145)],delete _0x4b42b5[_0x5ac288(0xfb)],delete _0x4b42b5[_0x5ac288(0x14b)],delete _0x4b42b5[_0x5ac288(0x12b)]);}this[_0x5ac288(0x147)][_0x5ac288(0x146)](_0x4b42b5),this[_0x5ac288(0xfa)](_0x4b42b5);}else this[_0x5ac288(0x147)][_0x5ac288(0x119)](_0x4b42b5);}const _0x4337d8=_0x5d58cd[_0x5ac288(0x13d)]();_0x4337d8[_0x5ac288(0x128)]();for(let _0x36d008=0x0;_0x36d008<_0x4337d8[_0x5ac288(0xf7)]-0x1;_0x36d008++){const _0x168240=_0x4337d8[_0x36d008],_0x5b3fe2=_0x4337d8[_0x36d008+0x1];if(_0x168240[_0x5ac288(0x13c)]<_0x5b3fe2[_0x5ac288(0x145)]){const _0x265832=_0x5b3fe2[_0x5ac288(0x145)],_0x3e5413=Math[_0x5ac288(0x130)](_0x265832,_0x168240[_0x5ac288(0x145)]);this[_0x5ac288(0x140)]({'revision':_0x168240,'from':_0x265832,'to':_0x3e5413});}}}[_0x16189c(0x140)]({revision:_0x6b229c,from:_0x3813f0,to:_0x4c6fa5}={}){const _0x57a6fb=_0x16189c,_0x20322c=this[_0x57a6fb(0x107)][_0x57a6fb(0x105)][_0x57a6fb(0x13a)](_0x57a8c2),_0x284c58=this[_0x57a6fb(0x147)][_0x57a6fb(0x144)]({'revision':_0x6b229c,'from':_0x3813f0,'to':_0x4c6fa5});_0x284c58[_0x57a6fb(0x139)]=_0x284c58[_0x57a6fb(0x12b)][_0x57a6fb(0x12f)](_0x2b4f2b=>_0x20322c[_0x57a6fb(0x114)](_0x2b4f2b)),_0x6b229c[_0x57a6fb(0x103)](_0x284c58);}[_0x16189c(0xfa)](_0x1906a6){const _0x21ff6d=_0x16189c,_0x14a00e={};_0x14a00e['id']=_0x1906a6['id'];for(const _0x450540 of Object[_0x21ff6d(0xf1)](_0x1906a6))'id'!==_0x450540&&(_0x14a00e[_0x450540]=void 0x0);this[_0x21ff6d(0x147)][_0x21ff6d(0x141)](_0x14a00e['id'],_0x14a00e,!0x0);}async[_0x16189c(0x12c)](_0x34604b){const _0x477f74=_0x16189c,_0x18b7d4=this[_0x477f74(0x107)][_0x477f74(0x105)][_0x477f74(0x13a)](_0x57a8c2),{connection:_0x442e70}=this[_0x477f74(0x107)][_0x477f74(0x105)][_0x477f74(0x13a)](_0x3882e7),_0x582530=new Set();for(const _0xd1c2e of _0x34604b){for(const _0x2afea0 of _0xd1c2e[_0x477f74(0x12b)])_0x2cea75(_0x2afea0);_0xd1c2e[_0x477f74(0xeb)]&&_0x2cea75(_0xd1c2e[_0x477f74(0xeb)]);}if(0x0===_0x582530[_0x477f74(0x124)])return;const _0x1b82af=await _0x43679e[_0x477f74(0x15a)](_0x442e70,Array[_0x477f74(0x151)](_0x582530));for(const _0x4a15fe of _0x1b82af)_0x18b7d4[_0x477f74(0x114)](_0x4a15fe['id'])||_0x18b7d4[_0x477f74(0xf4)](_0x4a15fe);function _0x2cea75(_0x11f3f0){const _0x367e8f=_0x477f74;_0x18b7d4[_0x367e8f(0x114)](_0x11f3f0)||_0x582530[_0x367e8f(0x100)](_0x11f3f0);}}}function b(_0x5152ed){const _0xfc0e36=_0x16189c;return _0x5152ed[_0xfc0e36(0x10f)][_0xfc0e36(0x108)](_0xfc0e36(0x110))||_0x5152ed[_0xfc0e36(0x10f)][_0xfc0e36(0x108)](_0xfc0e36(0x11b))||_0x5152ed[_0xfc0e36(0x10f)][_0xfc0e36(0x108)](_0xfc0e36(0x118));}
@@ -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 _0x52af63=_0x3b81;(function(_0x1557ca,_0x4b6c45){const _0x56a754=_0x3b81,_0xcd440d=_0x1557ca();while(!![]){try{const _0x5147a9=-parseInt(_0x56a754(0xb4))/0x1+-parseInt(_0x56a754(0x9a))/0x2+parseInt(_0x56a754(0xb7))/0x3+parseInt(_0x56a754(0x92))/0x4*(parseInt(_0x56a754(0x93))/0x5)+-parseInt(_0x56a754(0xa9))/0x6+-parseInt(_0x56a754(0xa8))/0x7+parseInt(_0x56a754(0xa7))/0x8;if(_0x5147a9===_0x4b6c45)break;else _0xcd440d['push'](_0xcd440d['shift']());}catch(_0x31ae55){_0xcd440d['push'](_0xcd440d['shift']());}}}(_0x37b0,0x1be8d));import{Plugin as _0x1496cb}from'ckeditor5/src/core.js';import{User as _0x844ee1,TrackChangesService as _0x2a707a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3b81(_0x504358,_0x161c79){const _0x37b002=_0x37b0();return _0x3b81=function(_0x3b810f,_0x168a93){_0x3b810f=_0x3b810f-0x84;let _0x5bb339=_0x37b002[_0x3b810f];return _0x5bb339;},_0x3b81(_0x504358,_0x161c79);}import{WebSocketGateway as _0x42806e}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xd06315}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1364f9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x37b0(){const _0x7da306=['then','adapter','isConnected','692JWivxE','2505nUrJPl','isPremiumPlugin','message','editor','catch','getMany','originalSuggestionId','135282lNQhNg','add','get','size','TrackChangesEditing','init','type','set','plugins','addUser','connected','update','values','2828640NBYVBU','1428350RDAPjI','844698EJpCrn','find','_bufferedRequests','reconnect','open','cloud-services-internal-error:\x20Not\x20connected.','data','hasSuggestion','config','connection','connect','105610hZDkXF','_trackChangesService','pluginName','576444pMkwET','attributes','from','CloudServicesTrackChangesAdapter','_saved','TrackChangesService','addSuggestionData','addToReconnectionStack','_waitForServiceReady','collaboration.channelId','_fetchMissingUsersForThreads','off','delete','startsWith','state','requires','isOfficialPlugin','listenTo','getSuggestion','getUser','suggestionUpdated','cloud-services-internal-error:\x20Request\x20timeout.'];_0x37b0=function(){return _0x7da306;};return _0x37b0();}export class CloudServicesTrackChangesAdapter extends _0x1496cb{static [_0x52af63(0xbc)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2a707a)());[_0x52af63(0xab)];[_0x52af63(0xb5)];static get[_0x52af63(0x88)](){const _0x365c7a=_0x52af63;return[_0xd06315,_0x365c7a(0x9e),_0x42806e];}static get[_0x52af63(0xb6)](){const _0x2ee9cc=_0x52af63;return _0x2ee9cc(0xba);}static get[_0x52af63(0x89)](){return!0x0;}static get[_0x52af63(0x94)](){return!0x0;}constructor(_0x44a048){const _0x575ba7=_0x52af63;super(_0x44a048);const _0x5a4cbd=this[_0x575ba7(0x96)][_0x575ba7(0xb1)][_0x575ba7(0x9c)](_0x575ba7(0xc0));this[_0x575ba7(0xab)]=new Map(),this[_0x575ba7(0xb5)]=new CloudServicesTrackChangesAdapter[(_0x575ba7(0xbc))](_0x5a4cbd);}[_0x52af63(0x9f)](){const _0x3606db=_0x52af63,_0x57d1fe=this[_0x3606db(0x96)][_0x3606db(0xa2)][_0x3606db(0x9c)](_0x42806e),_0x50e124=this[_0x3606db(0x96)][_0x3606db(0xa2)][_0x3606db(0x9c)](_0x3606db(0x9e));return _0x50e124[_0x3606db(0x90)]={'getSuggestion':async _0x2afcd6=>{const _0x347cb1=_0x3606db;await this[_0x347cb1(0xbf)]();const _0x514e8f=await this[_0x347cb1(0xb5)][_0x347cb1(0x9c)](_0x2afcd6)[_0x347cb1(0x97)](A);return await this[_0x347cb1(0xc1)]([_0x514e8f]),_0x514e8f;},'addSuggestion':async({id:_0x56711b,type:_0x4db532,data:_0x1338ac,originalSuggestionId:_0x2bd1f9,attributes:_0xcac517})=>{const _0x1a89fb=_0x3606db;await this[_0x1a89fb(0xbf)]();const _0x5e4719={'id':_0x56711b,'type':_0x4db532,'data':_0x1338ac,'originalSuggestionId':_0x2bd1f9,'attributes':_0xcac517},_0x17cc58=await this[_0x1a89fb(0xb5)][_0x1a89fb(0x9b)](_0x56711b,_0x4db532,_0x1338ac,_0x2bd1f9,_0xcac517)[_0x1a89fb(0x97)](_0x48d243=>{if(b(_0x48d243))return new Promise(_0x3c4542=>{const _0x31fe0b=_0x3b81;this[_0x31fe0b(0xab)][_0x31fe0b(0xa1)](_0x56711b,{'resolve':_0x3c4542,'suggestionData':_0x5e4719});});throw _0x48d243;});return this[_0x1a89fb(0xab)][_0x1a89fb(0x85)](_0x56711b),_0x17cc58;},'updateSuggestion':async(_0x3cf6f4,_0x5b7e73)=>{const _0x402453=_0x3606db;if(await this[_0x402453(0xbf)](),_0x402453(0xad)!==_0x5b7e73[_0x402453(0x87)])return this[_0x402453(0xb5)][_0x402453(0xa5)](_0x3cf6f4,_0x5b7e73)[_0x402453(0x97)](A);}},this[_0x3606db(0x8a)](this[_0x3606db(0xb5)],_0x3606db(0x8d),(_0xc255bb,_0x56dfe3)=>{const _0x51ba3a=_0x3606db;_0x50e124[_0x51ba3a(0xb0)](_0x56dfe3['id'])&&(_0x50e124[_0x51ba3a(0x8b)](_0x56dfe3['id'])[_0x51ba3a(0xb8)]=_0x56dfe3[_0x51ba3a(0xb8)]);}),this[_0x3606db(0xb5)][_0x3606db(0xb3)](_0x57d1fe[_0x3606db(0xb2)])[_0x3606db(0x8f)](_0x30100b=>(_0x57d1fe[_0x3606db(0xbe)](this),this[_0x3606db(0xc1)](_0x30100b)[_0x3606db(0x8f)](()=>{const _0x2c4808=_0x3606db;for(const _0x55a7a2 of _0x30100b){_0x50e124[_0x2c4808(0xbd)](_0x55a7a2)[_0x2c4808(0xbb)]=!0x0;}})));}async[_0x52af63(0xac)](){const _0x403d51=_0x52af63,_0x426040=this[_0x403d51(0x96)][_0x403d51(0xa2)][_0x403d51(0x9c)](_0x403d51(0x9e)),{connection:_0x207cee}=this[_0x403d51(0x96)][_0x403d51(0xa2)][_0x403d51(0x9c)](_0x42806e),_0x521d02=await this[_0x403d51(0xb5)][_0x403d51(0xb3)](_0x207cee);await this[_0x403d51(0xc1)](_0x521d02);for(const {suggestionData:_0x28f103,resolve:_0x22520a}of this[_0x403d51(0xab)][_0x403d51(0xa6)]()){let _0x41d423=_0x521d02[_0x403d51(0xaa)](_0x434a80=>_0x434a80['id']===_0x28f103['id']);_0x41d423||(_0x41d423=await this[_0x403d51(0xb5)][_0x403d51(0x9b)](_0x28f103['id'],_0x28f103[_0x403d51(0xa0)],_0x28f103[_0x403d51(0xaf)],_0x28f103[_0x403d51(0x99)])),_0x22520a(_0x41d423);}for(const _0x2b4038 of _0x521d02)_0x426040[_0x403d51(0xb0)](_0x2b4038['id'])||_0x426040[_0x403d51(0xbd)](_0x2b4038);}async[_0x52af63(0xbf)](){const _0x3d75fe=_0x52af63;this[_0x3d75fe(0xb5)][_0x3d75fe(0x91)]||await new Promise(_0x41395e=>{const _0x272aa4=_0x3d75fe;this[_0x272aa4(0x8a)](this[_0x272aa4(0xb5)],_0x272aa4(0xa4),_0xd10d30=>{const _0x5222f5=_0x272aa4;_0xd10d30[_0x5222f5(0x84)](),_0x41395e();});});}async[_0x52af63(0xc1)](_0x530c11){const _0x42b607=_0x52af63,_0x112014=this[_0x42b607(0x96)][_0x42b607(0xa2)][_0x42b607(0x9c)](_0x1364f9),{connection:_0x47b06c}=this[_0x42b607(0x96)][_0x42b607(0xa2)][_0x42b607(0x9c)](_0x42806e),_0x614aa0=new Set();for(const {authorId:_0x4d8d49}of _0x530c11)_0x112014[_0x42b607(0x8c)](_0x4d8d49)||_0x614aa0[_0x42b607(0x9b)](_0x4d8d49);if(0x0===_0x614aa0[_0x42b607(0x9d)])return;const _0x336aa1=await _0x844ee1[_0x42b607(0x98)](_0x47b06c,Array[_0x42b607(0xb9)](_0x614aa0));for(const _0xc7c6d5 of _0x336aa1)_0x112014[_0x42b607(0x8c)](_0xc7c6d5['id'])||_0x112014[_0x42b607(0xa3)](_0xc7c6d5);}}function A(_0x5e3161){if(b(_0x5e3161))return new Promise(()=>{});throw _0x5e3161;}function b(_0x4288eb){const _0x1b0ce1=_0x52af63;return _0x4288eb[_0x1b0ce1(0x95)][_0x1b0ce1(0x86)](_0x1b0ce1(0xae))||_0x4288eb[_0x1b0ce1(0x95)][_0x1b0ce1(0x86)](_0x1b0ce1(0x8e));}
@@ -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;}}