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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x497192=_0x5903;(function(_0x307ad1,_0x486b4c){const _0xaf8440=_0x5903,_0x1a2bef=_0x307ad1();while(!![]){try{const _0x38cdad=-parseInt(_0xaf8440(0xa9))/0x1+parseInt(_0xaf8440(0xb5))/0x2*(-parseInt(_0xaf8440(0x9a))/0x3)+parseInt(_0xaf8440(0xcd))/0x4+parseInt(_0xaf8440(0xc3))/0x5*(parseInt(_0xaf8440(0xd1))/0x6)+parseInt(_0xaf8440(0xd9))/0x7*(-parseInt(_0xaf8440(0x96))/0x8)+-parseInt(_0xaf8440(0xb1))/0x9+parseInt(_0xaf8440(0xd6))/0xa;if(_0x38cdad===_0x486b4c)break;else _0x1a2bef['push'](_0x1a2bef['shift']());}catch(_0x6feca6){_0x1a2bef['push'](_0x1a2bef['shift']());}}}(_0x189e,0x72069));import{ContextPlugin as _0x2ad532}from'ckeditor5/src/core.js';function _0x189e(){const _0x2e5c79=['isInReconnectionStack','isPremiumPlugin','state','config','10264RkHokz','CloudServices','reconnect','initialReconnectionInterval','4749nOnObE','cloudServices.requestTimeout','context','addToReconnectionStack','online','_shouldPluginsReconnect','change:me','websocketgateway-missing-token','offline','Connected\x20users\x20limit\x20exceeded','_domEmitter','DISCONNECTED','pluginName','plugins','init','64730RxZcub','cloudservices-reconnection-error','destroy','connect','disconnect','token','code','connection','6939198HHzhbk','_isBrowserOffline','showWarning','websocketgateway-plugin-already-registered','688GkMmRY','has','CONNECTED','all','bind','delete','get','webSocketUrl','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','catch','_reconnect','constructor','limitExceeded','488260UVICjX','listenTo','WebSocketGateway','add','then','from','stopListening','requires','isOfficialPlugin','set','2602512nRTngI','cloudservices-init','websocketgateway-missing-websocket-url','connected','30hiqFfY','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.connectionTimeout','_reconnectionStack','function','15218870SvQBUx','CONNECTING','define','4438IRNZdN','real-time-collaboration','error'];_0x189e=function(){return _0x2e5c79;};return _0x189e();}import{DomEmitterMixin as _0x5477d3,CKEditorError as _0x496979}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2f6f2f,WEB_SOCKET_GATEWAY_STATES as _0x338dfe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5903(_0x4ea61d,_0x80eb7e){const _0x189ef0=_0x189e();return _0x5903=function(_0x590354,_0x52cc54){_0x590354=_0x590354-0x92;let _0x4bef63=_0x189ef0[_0x590354];return _0x4bef63;},_0x5903(_0x4ea61d,_0x80eb7e);}import{Notification as _0x120b0b}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x2ad532{static [_0x497192(0xc5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2f6f2f)());static [_0x497192(0x99)]=0x3e8;[_0x497192(0xb0)];[_0x497192(0xd4)];[_0x497192(0x9f)];[_0x497192(0xa4)];static get[_0x497192(0xca)](){const _0x332194=_0x497192;return[_0x332194(0x97),_0x120b0b];}static get[_0x497192(0xa6)](){const _0x5c3a6e=_0x497192;return _0x5c3a6e(0xc5);}static get[_0x497192(0xcb)](){return!0x0;}static get[_0x497192(0x93)](){return!0x0;}constructor(_0x2f818c){const _0x2b27db=_0x497192;super(_0x2f818c),this[_0x2b27db(0xcc)](_0x2b27db(0x94),_0x338dfe[_0x2b27db(0xb7)]),this[_0x2b27db(0xcc)](_0x2b27db(0xb2),!0x1),this[_0x2b27db(0xd4)]=new Set(),this[_0x2b27db(0x9f)]=!0x1,this[_0x2b27db(0xa4)]=new(_0x5477d3())();}[_0x497192(0xa8)](){const _0x3a280f=_0x497192,_0x11c9c6=this[_0x3a280f(0x9c)],_0x54998b=_0x11c9c6[_0x3a280f(0xa7)][_0x3a280f(0xbb)](_0x3a280f(0x97)),_0x559e4f=_0x11c9c6[_0x3a280f(0xa7)][_0x3a280f(0xbb)](_0x120b0b);if(!_0x54998b[_0x3a280f(0xae)])throw new _0x496979(_0x3a280f(0xa1),this);if(!_0x54998b[_0x3a280f(0xbc)])throw new _0x496979(_0x3a280f(0xcf),this);return this[_0x3a280f(0xa4)][_0x3a280f(0xc4)](window,_0x3a280f(0xa2),()=>this[_0x3a280f(0xb2)]=!0x0),this[_0x3a280f(0xa4)][_0x3a280f(0xc4)](window,_0x3a280f(0x9e),()=>this[_0x3a280f(0xb2)]=!0x1),this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xd8)](_0x3a280f(0xd3),0xa),this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xd8)](_0x3a280f(0x9b),0x14),WebSocketGateway[_0x3a280f(0xc5)][_0x3a280f(0xac)](_0x54998b[_0x3a280f(0xae)],_0x54998b[_0x3a280f(0xbc)],{'timeout':0x3e8*this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xbb)](_0x3a280f(0xd3)),'requestTimeout':0x3e8*this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xbb)](_0x3a280f(0x9b))})[_0x3a280f(0xc7)](_0x3af72c=>{const _0x5e5e3c=_0x3a280f;if(this[_0x5e5e3c(0xb0)]=_0x3af72c,this[_0x5e5e3c(0xb9)](_0x5e5e3c(0x94))['to'](_0x3af72c,_0x5e5e3c(0x94),this,_0x5e5e3c(0xb2),(_0x25be8e,_0x423e60)=>(_0x5e5e3c(0xd0)!==_0x25be8e&&(this[_0x5e5e3c(0x9f)]=!0x0),_0x423e60||_0x25be8e!==_0x338dfe[_0x5e5e3c(0xb7)]?_0x338dfe[_0x5e5e3c(0xa5)]:this[_0x5e5e3c(0x94)]==_0x338dfe[_0x5e5e3c(0xa5)]&&this[_0x5e5e3c(0x9f)]?(this[_0x5e5e3c(0x9f)]=!0x1,this[_0x5e5e3c(0xc0)](),_0x338dfe[_0x5e5e3c(0xd7)]):_0x338dfe[_0x5e5e3c(0xb7)])),this[_0x5e5e3c(0xb0)]['on'](_0x5e5e3c(0xdb),(_0x303ecc,_0x4a529d)=>{const _0x4b9bb4=_0x5e5e3c;if(_0x4b9bb4(0xc2)!==_0x4a529d[_0x4b9bb4(0xaf)])throw console[_0x4b9bb4(0xdb)](_0x4a529d),new _0x496979(_0x4b9bb4(0xce),null,{'originalError':_0x4a529d});_0x559e4f[_0x4b9bb4(0xb3)](_0x4b9bb4(0xd2),{'title':_0x4b9bb4(0xa3),'namespace':_0x4b9bb4(0xda)});}),!_0x3af72c['me'])return new Promise(_0x3fbfe7=>_0x3af72c['on'](_0x5e5e3c(0xa0),_0x3fbfe7));})[_0x3a280f(0xbf)](_0x3ffc81=>{const _0x28d86c=_0x3a280f;throw console[_0x28d86c(0xdb)](_0x3ffc81),new _0x496979(_0x28d86c(0xce),null,{'originalError':_0x3ffc81});});}[_0x497192(0x9d)](_0x156571){const _0x124bbe=_0x497192;if(_0x124bbe(0xd5)!=typeof _0x156571[_0x124bbe(0x98)])throw new _0x496979(_0x124bbe(0xbd),this);if(this[_0x124bbe(0x92)](_0x156571))throw new _0x496979(_0x124bbe(0xb4),this,{'name':_0x156571[_0x124bbe(0xc1)][_0x124bbe(0xa6)]});this[_0x124bbe(0xd4)][_0x124bbe(0xc6)](_0x156571);}[_0x497192(0xbe)](_0x2ae699){const _0x2f9523=_0x497192;this[_0x2f9523(0xd4)][_0x2f9523(0xba)](_0x2ae699);}[_0x497192(0x92)](_0x1fd7c5){const _0x3a48ac=_0x497192;return this[_0x3a48ac(0xd4)][_0x3a48ac(0xb6)](_0x1fd7c5);}[_0x497192(0xc0)](){const _0x5addc1=_0x497192;return this[_0x5addc1(0xb0)][_0x5addc1(0x98)]()[_0x5addc1(0xc7)](()=>Promise[_0x5addc1(0xb8)](Array[_0x5addc1(0xc8)](this[_0x5addc1(0xd4)],_0x293085=>_0x293085[_0x5addc1(0x98)]())))[_0x5addc1(0xc7)](()=>this[_0x5addc1(0x94)]=_0x338dfe[_0x5addc1(0xb7)])[_0x5addc1(0xbf)](_0x4bcefc=>{const _0x228394=_0x5addc1;throw console[_0x228394(0xdb)](_0x4bcefc),new _0x496979(_0x228394(0xaa),this[_0x228394(0x9c)]);});}[_0x497192(0xad)](){const _0x25b1c0=_0x497192;this[_0x25b1c0(0xb0)]&&this[_0x25b1c0(0xb0)][_0x25b1c0(0xad)](),this[_0x25b1c0(0x94)]=_0x338dfe[_0x25b1c0(0xa5)],this[_0x25b1c0(0xa4)][_0x25b1c0(0xc9)]();}[_0x497192(0xab)](){const _0x1c6379=_0x497192;this[_0x1c6379(0xad)](),super[_0x1c6379(0xab)]();}}
23
+ const _0x521449=_0x2357;(function(_0x203e12,_0xa46549){const _0x70ee38=_0x2357,_0xd54501=_0x203e12();while(!![]){try{const _0x3e168d=parseInt(_0x70ee38(0xc5))/0x1+parseInt(_0x70ee38(0x90))/0x2*(-parseInt(_0x70ee38(0xbe))/0x3)+-parseInt(_0x70ee38(0xcb))/0x4+parseInt(_0x70ee38(0x9d))/0x5+-parseInt(_0x70ee38(0xa2))/0x6*(-parseInt(_0x70ee38(0xb5))/0x7)+parseInt(_0x70ee38(0xa7))/0x8+-parseInt(_0x70ee38(0xc6))/0x9*(-parseInt(_0x70ee38(0x8a))/0xa);if(_0x3e168d===_0xa46549)break;else _0xd54501['push'](_0xd54501['shift']());}catch(_0x24800e){_0xd54501['push'](_0xd54501['shift']());}}}(_0x28f3,0xa0db7));import{ContextPlugin as _0x57d84f}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3d2c28,CKEditorError as _0x40be91}from'ckeditor5/src/utils.js';function _0x28f3(){const _0x3cd0ab=['47673BWymHm','cloudServices.requestTimeout','websocketgateway-missing-websocket-url','WebSocketGateway','removeFromReconnectionStack','1661052iOiCwn','from','code','set','connect','function','error','websocketgateway-plugin-already-registered','isInReconnectionStack','200wdwnrX','_domEmitter','plugins','CONNECTED','websocketgateway-invalid-plugin-interface','reconnect','2biGuBg','change:me','offline','catch','constructor','destroy','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.','then','cloudservices-reconnection-error','init','state','stopListening','CONNECTING','2284220wBwQTq','addToReconnectionStack','webSocketUrl','pluginName','_isBrowserOffline','636beOtvO','has','define','token','disconnect','2559888IJPbRb','showWarning','config','connection','_reconnectionStack','context','_reconnect','DISCONNECTED','requires','Connected\x20users\x20limit\x20exceeded','add','real-time-collaboration','isPremiumPlugin','CloudServices','52703ilmPUs','bind','isOfficialPlugin','websocketgateway-missing-token','initialReconnectionInterval','online','listenTo','connected','_shouldPluginsReconnect','3069324DsZCtL','cloudservices-init','get','delete','all','cloudServices.connectionTimeout','limitExceeded','416398KzgLPl'];_0x28f3=function(){return _0x3cd0ab;};return _0x28f3();}import{WebSocketGateway as _0x8da628,WEB_SOCKET_GATEWAY_STATES as _0x52b5a7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5a2d52}from'ckeditor5/src/ui.js';function _0x2357(_0x396f50,_0xe4fc10){const _0x28f31e=_0x28f3();return _0x2357=function(_0x23576e,_0x26d203){_0x23576e=_0x23576e-0x83;let _0x2309d9=_0x28f31e[_0x23576e];return _0x2309d9;},_0x2357(_0x396f50,_0xe4fc10);}export class WebSocketGateway extends _0x57d84f{static [_0x521449(0xc9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x8da628)());static [_0x521449(0xb9)]=0x3e8;[_0x521449(0xaa)];[_0x521449(0xab)];[_0x521449(0xbd)];[_0x521449(0x8b)];static get[_0x521449(0xaf)](){const _0x59ca70=_0x521449;return[_0x59ca70(0xb4),_0x5a2d52];}static get[_0x521449(0xa0)](){const _0x465403=_0x521449;return _0x465403(0xc9);}static get[_0x521449(0xb7)](){return!0x0;}static get[_0x521449(0xb3)](){return!0x0;}constructor(_0xdb1232){const _0x2da3fc=_0x521449;super(_0xdb1232),this[_0x2da3fc(0x84)](_0x2da3fc(0x9a),_0x52b5a7[_0x2da3fc(0x8d)]),this[_0x2da3fc(0x84)](_0x2da3fc(0xa1),!0x1),this[_0x2da3fc(0xab)]=new Set(),this[_0x2da3fc(0xbd)]=!0x1,this[_0x2da3fc(0x8b)]=new(_0x3d2c28())();}[_0x521449(0x99)](){const _0x196d72=_0x521449,_0x484ed8=this[_0x196d72(0xac)],_0x2a6ebb=_0x484ed8[_0x196d72(0x8c)][_0x196d72(0xc0)](_0x196d72(0xb4)),_0x3fe8bc=_0x484ed8[_0x196d72(0x8c)][_0x196d72(0xc0)](_0x5a2d52);if(!_0x2a6ebb[_0x196d72(0xa5)])throw new _0x40be91(_0x196d72(0xb8),this);if(!_0x2a6ebb[_0x196d72(0x9f)])throw new _0x40be91(_0x196d72(0xc8),this);return this[_0x196d72(0x8b)][_0x196d72(0xbb)](window,_0x196d72(0x92),()=>this[_0x196d72(0xa1)]=!0x0),this[_0x196d72(0x8b)][_0x196d72(0xbb)](window,_0x196d72(0xba),()=>this[_0x196d72(0xa1)]=!0x1),this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xa4)](_0x196d72(0xc3),0xa),this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xa4)](_0x196d72(0xc7),0x14),WebSocketGateway[_0x196d72(0xc9)][_0x196d72(0x85)](_0x2a6ebb[_0x196d72(0xa5)],_0x2a6ebb[_0x196d72(0x9f)],{'timeout':0x3e8*this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xc0)](_0x196d72(0xc3)),'requestTimeout':0x3e8*this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xc0)](_0x196d72(0xc7))})[_0x196d72(0x97)](_0x5e4345=>{const _0x20c053=_0x196d72;if(this[_0x20c053(0xaa)]=_0x5e4345,this[_0x20c053(0xb6)](_0x20c053(0x9a))['to'](_0x5e4345,_0x20c053(0x9a),this,_0x20c053(0xa1),(_0x1e9d9c,_0xbf09a0)=>(_0x20c053(0xbc)!==_0x1e9d9c&&(this[_0x20c053(0xbd)]=!0x0),_0xbf09a0||_0x1e9d9c!==_0x52b5a7[_0x20c053(0x8d)]?_0x52b5a7[_0x20c053(0xae)]:this[_0x20c053(0x9a)]==_0x52b5a7[_0x20c053(0xae)]&&this[_0x20c053(0xbd)]?(this[_0x20c053(0xbd)]=!0x1,this[_0x20c053(0xad)](),_0x52b5a7[_0x20c053(0x9c)]):_0x52b5a7[_0x20c053(0x8d)])),this[_0x20c053(0xaa)]['on'](_0x20c053(0x87),(_0x3c980c,_0xe9b6cd)=>{const _0x2c247e=_0x20c053;if(_0x2c247e(0xc4)!==_0xe9b6cd[_0x2c247e(0x83)])throw console[_0x2c247e(0x87)](_0xe9b6cd),new _0x40be91(_0x2c247e(0xbf),null,{'originalError':_0xe9b6cd});_0x3fe8bc[_0x2c247e(0xa8)](_0x2c247e(0x96),{'title':_0x2c247e(0xb0),'namespace':_0x2c247e(0xb2)});}),!_0x5e4345['me'])return new Promise(_0x364ffd=>_0x5e4345['on'](_0x20c053(0x91),_0x364ffd));})[_0x196d72(0x93)](_0x4e3de2=>{const _0x2107b7=_0x196d72;throw console[_0x2107b7(0x87)](_0x4e3de2),new _0x40be91(_0x2107b7(0xbf),null,{'originalError':_0x4e3de2});});}[_0x521449(0x9e)](_0x150442){const _0x317625=_0x521449;if(_0x317625(0x86)!=typeof _0x150442[_0x317625(0x8f)])throw new _0x40be91(_0x317625(0x8e),this);if(this[_0x317625(0x89)](_0x150442))throw new _0x40be91(_0x317625(0x88),this,{'name':_0x150442[_0x317625(0x94)][_0x317625(0xa0)]});this[_0x317625(0xab)][_0x317625(0xb1)](_0x150442);}[_0x521449(0xca)](_0x1be7bf){const _0x28e220=_0x521449;this[_0x28e220(0xab)][_0x28e220(0xc1)](_0x1be7bf);}[_0x521449(0x89)](_0x4689f3){const _0x8b20b2=_0x521449;return this[_0x8b20b2(0xab)][_0x8b20b2(0xa3)](_0x4689f3);}[_0x521449(0xad)](){const _0x5b0687=_0x521449;return this[_0x5b0687(0xaa)][_0x5b0687(0x8f)]()[_0x5b0687(0x97)](()=>Promise[_0x5b0687(0xc2)](Array[_0x5b0687(0xcc)](this[_0x5b0687(0xab)],_0xd77d81=>_0xd77d81[_0x5b0687(0x8f)]())))[_0x5b0687(0x97)](()=>this[_0x5b0687(0x9a)]=_0x52b5a7[_0x5b0687(0x8d)])[_0x5b0687(0x93)](_0x10e5f7=>{const _0xf3c8f=_0x5b0687;throw console[_0xf3c8f(0x87)](_0x10e5f7),new _0x40be91(_0xf3c8f(0x98),this[_0xf3c8f(0xac)]);});}[_0x521449(0xa6)](){const _0x89000c=_0x521449;this[_0x89000c(0xaa)]&&this[_0x89000c(0xaa)][_0x89000c(0xa6)](),this[_0x89000c(0x9a)]=_0x52b5a7[_0x89000c(0xae)],this[_0x89000c(0x8b)][_0x89000c(0x9b)]();}[_0x521449(0x95)](){const _0x349080=_0x521449;this[_0x349080(0xa6)](),super[_0x349080(0x95)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ebf3c=_0x30bb;(function(_0x22281f,_0xa905d9){var _0x2d5c40=_0x30bb,_0x253714=_0x22281f();while(!![]){try{var _0x4ba18e=parseInt(_0x2d5c40(0x167))/0x1+parseInt(_0x2d5c40(0x162))/0x2*(parseInt(_0x2d5c40(0x166))/0x3)+-parseInt(_0x2d5c40(0x165))/0x4+-parseInt(_0x2d5c40(0x15a))/0x5+parseInt(_0x2d5c40(0x164))/0x6*(-parseInt(_0x2d5c40(0x15c))/0x7)+parseInt(_0x2d5c40(0x163))/0x8*(parseInt(_0x2d5c40(0x161))/0x9)+parseInt(_0x2d5c40(0x15e))/0xa;if(_0x4ba18e===_0xa905d9)break;else _0x253714['push'](_0x253714['shift']());}catch(_0x1dc404){_0x253714['push'](_0x253714['shift']());}}}(_0x54ba,0xf0c9e));import{Plugin as _0x3969ba}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4680e5}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x30bb(_0x5e980a,_0x9bf78c){var _0x54ba31=_0x54ba();return _0x30bb=function(_0x30bbd8,_0x46066b){_0x30bbd8=_0x30bbd8-0x15a;var _0x253be2=_0x54ba31[_0x30bbd8];return _0x253be2;},_0x30bb(_0x5e980a,_0x9bf78c);}export class RealTimeCollaborativeEditing extends _0x3969ba{static get[_0x3ebf3c(0x168)](){return[_0x4680e5];}static get[_0x3ebf3c(0x15f)](){var _0x5ea42c=_0x3ebf3c;return _0x5ea42c(0x15b);}static get[_0x3ebf3c(0x15d)](){return!0x0;}static get[_0x3ebf3c(0x160)](){return!0x0;}}function _0x54ba(){var _0x29866f=['pluginName','isPremiumPlugin','148491rSVjBj','2uoTfNs','304jyRcKl','41874xDkoXY','2139480UfoxSO','2989626QrimPe','212362BhZHzk','requires','9332815fkHDcW','RealTimeCollaborativeEditing','1197JVBetQ','isOfficialPlugin','27452460oAjoYt'];_0x54ba=function(){return _0x29866f;};return _0x54ba();}
23
+ var _0x5933fd=_0x5bac;function _0x5bac(_0x54f42f,_0x46c89b){var _0x540e5a=_0x540e();return _0x5bac=function(_0x5bac7a,_0x26c0ce){_0x5bac7a=_0x5bac7a-0x100;var _0xc99981=_0x540e5a[_0x5bac7a];return _0xc99981;},_0x5bac(_0x54f42f,_0x46c89b);}(function(_0x84b69e,_0xeb638d){var _0x592aff=_0x5bac,_0xf68509=_0x84b69e();while(!![]){try{var _0x3cf7ef=parseInt(_0x592aff(0x10b))/0x1+parseInt(_0x592aff(0x105))/0x2*(parseInt(_0x592aff(0x104))/0x3)+-parseInt(_0x592aff(0x107))/0x4*(-parseInt(_0x592aff(0x10d))/0x5)+-parseInt(_0x592aff(0x100))/0x6+parseInt(_0x592aff(0x102))/0x7+-parseInt(_0x592aff(0x10a))/0x8*(parseInt(_0x592aff(0x10e))/0x9)+parseInt(_0x592aff(0x10f))/0xa*(-parseInt(_0x592aff(0x101))/0xb);if(_0x3cf7ef===_0xeb638d)break;else _0xf68509['push'](_0xf68509['shift']());}catch(_0x2d40af){_0xf68509['push'](_0xf68509['shift']());}}}(_0x540e,0x46cc1));import{Plugin as _0x2f8b32}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1161f5}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x540e(){var _0x2bfbaf=['9TqeDZq','3068900QtHSAc','2348130nrmQjY','22TUDDHj','3134376WnKDzw','isOfficialPlugin','1699647rVTJlq','2QzqUJs','pluginName','8sFtNtg','RealTimeCollaborativeEditing','requires','415976lLXRQg','202330BhNQqE','isPremiumPlugin','326175PrjBRW'];_0x540e=function(){return _0x2bfbaf;};return _0x540e();}export class RealTimeCollaborativeEditing extends _0x2f8b32{static get[_0x5933fd(0x109)](){return[_0x1161f5];}static get[_0x5933fd(0x106)](){var _0x5cd34a=_0x5933fd;return _0x5cd34a(0x108);}static get[_0x5933fd(0x103)](){return!0x0;}static get[_0x5933fd(0x10c)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x461486=_0x8d13;(function(_0x2cd18d,_0x11b2b1){const _0x40292b=_0x8d13,_0x12f66d=_0x2cd18d();while(!![]){try{const _0x483bb1=-parseInt(_0x40292b(0x1fa))/0x1+-parseInt(_0x40292b(0x196))/0x2+-parseInt(_0x40292b(0x1d4))/0x3+parseInt(_0x40292b(0x1e1))/0x4+-parseInt(_0x40292b(0x1b1))/0x5*(parseInt(_0x40292b(0x1ac))/0x6)+-parseInt(_0x40292b(0x199))/0x7+-parseInt(_0x40292b(0x1bd))/0x8*(-parseInt(_0x40292b(0x1b2))/0x9);if(_0x483bb1===_0x11b2b1)break;else _0x12f66d['push'](_0x12f66d['shift']());}catch(_0x17ac88){_0x12f66d['push'](_0x12f66d['shift']());}}}(_0x1162,0x60d07));import{Plugin as _0x482f07}from'ckeditor5/src/core.js';import{version as _0xe401f1}from'ckeditor5/src/utils.js';import{Users as _0x372c2a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1162(){const _0x47c3d7=['add','_handleRevisionsUpdate','reconnect','_preventResendingRevisionData','collaboration.channelId','getRevision','connect','_update','fromVersion','_fetchMissingUsers','editor','authors','getRevisions','setRevisionData','cloud-services-internal-error:\x20Not\x20connected.','reInit','587814VbDUDe','isOfficialPlugin','get','isEmptyCurrent','400','15vNQlil','9037809DkyhlV','_revisionDataBuilder','state','CloudServicesRevisionHistoryAdapter','map','RevisionHistoryService','remove','_revisionTracker','affectsData','once','reverse','16UkgCPT','_oldOffset','sessionId','serverHistory','currentRevision','sendBufferedUpdates','bind','setSource','data','config','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isPendingUpdate','pluginName','length','startsWith','RevisionHistory','isConnected','_getLatestVersionFromServerOperations','connection','_waitForServiceReady','isPremiumPlugin','isBundleUploaded','getMany','141864PJecnM','authorsIds','cloud-services-internal-error:\x20Request\x20timeout.','_getLatestVersion','_handleReconnectionError','off','_createCurrentRevision','_revisions','buildRevisionData','revisionsUpdated','listenTo','type','change:_isPendingUpdate','1354336IjCDxz','_revisionHistoryService','diffData','marker','_bufferedUpdates','code','destroy','plugins','addToReconnectionStack','_isConnected','change:_isConnected','_lastRequestId','addRevisionData','then','_startingVersion','wrongRequestId','repository','baseVersion','isEnabled','getOperations','max','connected','updateRevisions','_bufferUpdate','_offset','452343jYceUQ','from','adapter','addUser','_fixRevision','toVersion','has','createdAt','CONNECTED','catch','getUser','size','creatorId','message','requires','1434338APRpMQ','RevisionTracker','keys','3078096yZLXqs','init','cloudServices.bundleVersion'];_0x1162=function(){return _0x47c3d7;};return _0x1162();}import{RealTimeCollaborationClient as _0xdf3e14}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x8d13(_0x2d3049,_0x124183){const _0x11620c=_0x1162();return _0x8d13=function(_0x8d134e,_0x589d7e){_0x8d134e=_0x8d134e-0x195;let _0x3e356f=_0x11620c[_0x8d134e];return _0x3e356f;},_0x8d13(_0x2d3049,_0x124183);}import{WebSocketGateway as _0x2e843e}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x33eb23}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x532d25,RevisionHistoryService as _0x36c297,User as _0x10a457,WEB_SOCKET_GATEWAY_STATES as _0x5ab20e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x482f07{static [_0x461486(0x1b7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x36c297)());[_0x461486(0x1ec)];[_0x461486(0x1b9)];[_0x461486(0x1e2)];[_0x461486(0x1be)];static get[_0x461486(0x195)](){const _0x4523ae=_0x461486;return[_0x2e843e,_0xdf3e14,_0x4523ae(0x1cc),_0x33eb23,_0x372c2a];}static get[_0x461486(0x1c9)](){const _0x281c8f=_0x461486;return _0x281c8f(0x1b5);}static get[_0x461486(0x1ad)](){return!0x0;}static get[_0x461486(0x1d1)](){return!0x0;}constructor(_0x407eaa){const _0x30dca5=_0x461486;super(_0x407eaa);const _0x3f55b6=this[_0x30dca5(0x1a6)][_0x30dca5(0x1c6)][_0x30dca5(0x1ae)](_0x30dca5(0x1a0));this[_0x30dca5(0x1ec)]=null,this[_0x30dca5(0x1b9)]=this[_0x30dca5(0x1a6)][_0x30dca5(0x1e8)][_0x30dca5(0x1ae)](_0x30dca5(0x197)),this[_0x30dca5(0x1e2)]=new CloudServicesRevisionHistoryAdapter[(_0x30dca5(0x1b7))](_0x3f55b6);}async[_0x461486(0x19a)](){const _0x26cca4=_0x461486,_0x58b9e6=this[_0x26cca4(0x1a6)][_0x26cca4(0x1e8)][_0x26cca4(0x1ae)](_0xdf3e14),_0x22deac=_0x58b9e6[_0x26cca4(0x1c0)],_0x561315=this[_0x26cca4(0x1a6)][_0x26cca4(0x1e8)][_0x26cca4(0x1ae)](_0x2e843e);this[_0x26cca4(0x1b9)][_0x26cca4(0x1c4)]({'history':_0x22deac,'getLatestVersion':()=>this[_0x26cca4(0x1d7)](),'getCurrentRevisionId':()=>_0x58b9e6[_0x26cca4(0x1bf)]});const _0x188c31=this[_0x26cca4(0x1a6)][_0x26cca4(0x1c6)][_0x26cca4(0x1ae)](_0x26cca4(0x19b))||_0xe401f1,_0x2a9b88=await _0x532d25[_0x26cca4(0x1d2)](_0x561315[_0x26cca4(0x1cf)],_0x188c31);this[_0x26cca4(0x1a6)][_0x26cca4(0x1e8)][_0x26cca4(0x1ae)](_0x26cca4(0x1cc))[_0x26cca4(0x1fc)]={'getRevision':async({revisionId:_0x4275d5})=>(await this[_0x26cca4(0x1d0)](),await this[_0x26cca4(0x1e2)][_0x26cca4(0x1a1)](_0x4275d5)),'updateRevisions':async _0x2b31a8=>{const _0x8553cb=_0x26cca4;await this[_0x8553cb(0x1d0)]();const _0x65484d=this[_0x8553cb(0x1b9)][_0x8553cb(0x1c1)];if(_0x2a9b88&&0x1===_0x2b31a8[_0x8553cb(0x1ca)]&&_0x2b31a8[0x0]['id']===_0x65484d['id'])return _0x2b31a8;for(const _0x2c881d of _0x2b31a8)_0x2c881d['id']===_0x65484d['id']&&(_0x2c881d[_0x8553cb(0x1af)]=_0x2c881d[_0x8553cb(0x1a4)]===_0x2c881d[_0x8553cb(0x1ff)]);return this[_0x8553cb(0x1e2)][_0x8553cb(0x1f7)](_0x2b31a8,this[_0x8553cb(0x1ec)])[_0x8553cb(0x1ee)](_0x1a396e=>(this[_0x8553cb(0x1ec)]=_0x1a396e,_0x2b31a8))[_0x8553cb(0x203)](_0x5230f8=>{const _0x43e033=_0x8553cb;if(b(_0x5230f8)||_0x43e033(0x1b0)===_0x5230f8[_0x43e033(0x1e6)]&&void 0x0!==_0x5230f8[_0x43e033(0x1c5)][_0x43e033(0x1f0)]){for(const _0x165082 of _0x2b31a8){!this[_0x43e033(0x1b9)][_0x43e033(0x1f1)][_0x43e033(0x1a1)](_0x165082['id'])||this[_0x43e033(0x1b9)][_0x43e033(0x1f8)](_0x165082['id'],_0x165082,!0x1);}if(b(_0x5230f8))throw _0x5230f8;return _0x2b31a8;}throw _0x5230f8;});}},this[_0x26cca4(0x1de)](this[_0x26cca4(0x1e2)],_0x26cca4(0x1dd),(_0x4d0d9d,{revisionsData:_0x3bd200,requestId:_0x5eb815})=>{const _0x1a53e7=_0x26cca4;Math[_0x1a53e7(0x1f5)](..._0x3bd200[_0x1a53e7(0x1b6)](_0x3d1508=>_0x3d1508[_0x1a53e7(0x1ff)]))>this[_0x1a53e7(0x1ce)]()-0x1?this[_0x1a53e7(0x1d7)]()[_0x1a53e7(0x1ee)](()=>{const _0x81ad49=_0x1a53e7;this[_0x81ad49(0x19d)](_0x3bd200,_0x5eb815);}):this[_0x1a53e7(0x19d)](_0x3bd200,_0x5eb815);});const {revisions:_0x388bbd,requestId:_0x5091c5}=await this[_0x26cca4(0x1e2)][_0x26cca4(0x1a2)](_0x561315[_0x26cca4(0x1cf)]);_0x561315[_0x26cca4(0x1e9)](this),this[_0x26cca4(0x1ec)]=_0x5091c5,await this[_0x26cca4(0x1a5)](_0x388bbd);for(const _0x4db62e of _0x388bbd)this[_0x26cca4(0x1b9)][_0x26cca4(0x1ed)](_0x4db62e);this[_0x26cca4(0x1de)](_0x58b9e6,_0x26cca4(0x1eb),(_0x3aebcc,_0x2de6f0,_0x561010)=>{const _0xcc1a9a=_0x26cca4;_0x561010&&(this[_0xcc1a9a(0x1be)]=_0x58b9e6[_0xcc1a9a(0x1f9)],_0x3aebcc[_0xcc1a9a(0x1d9)]());}),this[_0x26cca4(0x1b9)][_0x26cca4(0x1c3)](_0x26cca4(0x1f3))['to'](_0x561315,_0x26cca4(0x1b4),_0xc281a8=>_0xc281a8===_0x5ab20e[_0x26cca4(0x202)]);}async[_0x461486(0x19e)](){const _0x11bbee=_0x461486,_0x5aa38f=this[_0x11bbee(0x1a6)][_0x11bbee(0x1e8)][_0x11bbee(0x1ae)](_0x2e843e),_0x1559ff=this[_0x11bbee(0x1a6)][_0x11bbee(0x1e8)][_0x11bbee(0x1ae)](_0xdf3e14),_0x4c20b2=async()=>{const _0x51930a=_0x11bbee,_0x418422=this[_0x51930a(0x1b9)][_0x51930a(0x1c1)],_0x1bcffa=_0x418422['id'],_0x4750be=_0x1bcffa!==_0x1559ff[_0x51930a(0x1bf)];if(_0x4750be){const _0x1f2e60=_0x1559ff[_0x51930a(0x1f9)]-this[_0x51930a(0x1be)],_0x18dc7c=this[_0x51930a(0x1ce)]();this[_0x51930a(0x1b9)][_0x51930a(0x1b3)][_0x51930a(0x1ab)]();if(_0x418422[_0x51930a(0x1ff)]+_0x1f2e60!==_0x18dc7c){const _0x47b7fa=_0x418422[_0x51930a(0x1a4)]+_0x1f2e60,_0xfaad6a=this[_0x51930a(0x1a6)][_0x51930a(0x1e8)][_0x51930a(0x1ae)](_0x372c2a),_0x59fb90=this[_0x51930a(0x1b9)][_0x51930a(0x1dc)]({'revision':_0x418422,'from':_0x47b7fa,'to':_0x18dc7c});_0x59fb90['id']=_0x418422['id'];const _0x1c2832=_0x59fb90[_0x51930a(0x1d5)][_0x51930a(0x1b6)](_0x558f34=>_0xfaad6a[_0x51930a(0x204)](_0x558f34));_0x418422[_0x51930a(0x1a3)]({..._0x59fb90,'authors':_0x1c2832},!0x0),this[_0x51930a(0x1b9)][_0x51930a(0x1f8)](_0x418422['id'],_0x59fb90,!0x0);}this[_0x51930a(0x1b9)][_0x51930a(0x1ef)]=_0x18dc7c,(_0x418422[_0x51930a(0x1ff)]===_0x418422[_0x51930a(0x1a4)]&&!this[_0x51930a(0x1b9)][_0x51930a(0x1e5)][_0x51930a(0x200)](_0x1bcffa)&&this[_0x51930a(0x1b9)][_0x51930a(0x1f1)][_0x51930a(0x1db)][_0x51930a(0x1b8)](_0x1bcffa),this[_0x51930a(0x1b9)][_0x51930a(0x1da)](_0x18dc7c));}const {revisions:_0x1b8dea,requestId:_0x261d87}=await this[_0x51930a(0x1e2)][_0x51930a(0x19e)](_0x5aa38f[_0x51930a(0x1cf)],this[_0x51930a(0x1ec)]);_0x4750be&&_0x1b8dea[_0x51930a(0x1ca)]>0x0?_0x1559ff[_0x51930a(0x1d8)]():(await this[_0x51930a(0x1a5)](_0x1b8dea),this[_0x51930a(0x19d)](_0x1b8dea,_0x261d87),this[_0x51930a(0x1b9)][_0x51930a(0x1c2)]());};return _0x1559ff[_0x11bbee(0x1ea)]?_0x4c20b2():new Promise((_0x3f59b3,_0x585611)=>{const _0x58a5fd=_0x11bbee;_0x1559ff[_0x58a5fd(0x1bb)](_0x58a5fd(0x1eb),()=>{const _0x165524=_0x58a5fd;_0x4c20b2()[_0x165524(0x1ee)](_0x3f59b3)[_0x165524(0x203)](_0x585611);});});}[_0x461486(0x1e7)](){const _0x2267ef=_0x461486;super[_0x2267ef(0x1e7)]();}async[_0x461486(0x1d0)](){const _0x477166=_0x461486;this[_0x477166(0x1e2)][_0x477166(0x1cd)]||await new Promise(_0x5297ab=>{const _0x14529d=_0x477166;this[_0x14529d(0x1de)](this[_0x14529d(0x1e2)],_0x14529d(0x1f6),_0x4deccf=>{const _0x383d78=_0x14529d;_0x4deccf[_0x383d78(0x1d9)](),_0x5297ab();});});}[_0x461486(0x1ce)](){const _0x546798=_0x461486,_0x3b1e70=this[_0x546798(0x1a6)][_0x546798(0x1e8)][_0x546798(0x1ae)](_0xdf3e14)[_0x546798(0x1c0)][_0x546798(0x1f4)]()[_0x546798(0x1bc)]();for(const _0x5e37da of _0x3b1e70)if(_0x546798(0x1e4)!==_0x5e37da[_0x546798(0x1df)]||_0x5e37da[_0x546798(0x1ba)])return _0x5e37da[_0x546798(0x1f2)]+0x1;}[_0x461486(0x1d7)](){const _0x1793e8=_0x461486,_0x402f2f=this[_0x1793e8(0x1a6)][_0x1793e8(0x1e8)][_0x1793e8(0x1ae)](_0xdf3e14);return new Promise(_0x41b247=>{const _0x3ad383=_0x1793e8;_0x402f2f[_0x3ad383(0x1c8)]?_0x402f2f[_0x3ad383(0x1bb)](_0x3ad383(0x1e0),()=>{const _0x7ff46f=_0x3ad383;_0x41b247(this[_0x7ff46f(0x1ce)]());}):_0x41b247(this[_0x3ad383(0x1ce)]());});}[_0x461486(0x19d)](_0x3227bc,_0x46ba55){const _0x3ebf6f=_0x461486,_0x4f129d=this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1f1)];this[_0x3ebf6f(0x1ec)]=_0x46ba55;for(const _0x370217 of _0x3227bc){const _0x2a36bd=_0x4f129d[_0x3ebf6f(0x1a1)](_0x370217['id']);if(_0x2a36bd){if((_0x370217[_0x3ebf6f(0x1a4)]||_0x370217[_0x3ebf6f(0x1ff)])&&(_0x370217[_0x3ebf6f(0x1e3)]=null),_0x2a36bd===this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1c1)]){const _0x5f5978=Math[_0x3ebf6f(0x1f5)](_0x2a36bd[_0x3ebf6f(0x1ff)],_0x370217[_0x3ebf6f(0x1ff)]),_0x38024d=Math[_0x3ebf6f(0x1f5)](_0x2a36bd[_0x3ebf6f(0x1a4)],_0x370217[_0x3ebf6f(0x1a4)]);let _0x302aed;_0x2a36bd[_0x3ebf6f(0x1ff)]===_0x370217[_0x3ebf6f(0x1ff)]&&_0x2a36bd[_0x3ebf6f(0x1a4)]===_0x370217[_0x3ebf6f(0x1a4)]?(_0x302aed=!0x0,this[_0x3ebf6f(0x19f)](_0x370217)):_0x370217[_0x3ebf6f(0x1ff)]===_0x5f5978&&_0x370217[_0x3ebf6f(0x1a4)]===_0x38024d?_0x302aed=!0x1:(_0x2a36bd[_0x3ebf6f(0x1ff)]===_0x5f5978&&_0x2a36bd[_0x3ebf6f(0x1a4)]===_0x38024d||this[_0x3ebf6f(0x1fe)]({'revision':_0x2a36bd,'from':_0x38024d,'to':_0x5f5978}),_0x302aed=!0x0),_0x302aed&&(delete _0x370217[_0x3ebf6f(0x1a4)],delete _0x370217[_0x3ebf6f(0x1ff)],delete _0x370217[_0x3ebf6f(0x1e3)],delete _0x370217[_0x3ebf6f(0x201)],delete _0x370217[_0x3ebf6f(0x1d5)]);}this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1a9)](_0x370217),this[_0x3ebf6f(0x19f)](_0x370217);}else this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1ed)](_0x370217);}const _0x586ac0=_0x4f129d[_0x3ebf6f(0x1a8)]();_0x586ac0[_0x3ebf6f(0x1bc)]();for(let _0x33698b=0x0;_0x33698b<_0x586ac0[_0x3ebf6f(0x1ca)]-0x1;_0x33698b++){const _0x208441=_0x586ac0[_0x33698b],_0x2c1480=_0x586ac0[_0x33698b+0x1];if(_0x208441[_0x3ebf6f(0x1a4)]<_0x2c1480[_0x3ebf6f(0x1ff)]){const _0x1ce40c=_0x2c1480[_0x3ebf6f(0x1ff)],_0xdf049c=Math[_0x3ebf6f(0x1f5)](_0x1ce40c,_0x208441[_0x3ebf6f(0x1ff)]);this[_0x3ebf6f(0x1fe)]({'revision':_0x208441,'from':_0x1ce40c,'to':_0xdf049c});}}}[_0x461486(0x1fe)]({revision:_0x1b7442,from:_0x450c19,to:_0x36c657}={}){const _0x31d101=_0x461486,_0x13bf6f=this[_0x31d101(0x1a6)][_0x31d101(0x1e8)][_0x31d101(0x1ae)](_0x372c2a),_0x435b3c=this[_0x31d101(0x1b9)][_0x31d101(0x1dc)]({'revision':_0x1b7442,'from':_0x450c19,'to':_0x36c657});_0x435b3c[_0x31d101(0x1a7)]=_0x435b3c[_0x31d101(0x1d5)][_0x31d101(0x1b6)](_0x58fc2a=>_0x13bf6f[_0x31d101(0x204)](_0x58fc2a)),_0x1b7442[_0x31d101(0x1a3)](_0x435b3c);}[_0x461486(0x19f)](_0x9e81ca){const _0x453b2a=_0x461486,_0x365487={};_0x365487['id']=_0x9e81ca['id'];for(const _0x5814df of Object[_0x453b2a(0x198)](_0x9e81ca))'id'!==_0x5814df&&(_0x365487[_0x5814df]=void 0x0);this[_0x453b2a(0x1b9)][_0x453b2a(0x1f8)](_0x365487['id'],_0x365487,!0x0);}async[_0x461486(0x1a5)](_0xe6fd41){const _0x2ee7f6=_0x461486,_0x1c9e4c=this[_0x2ee7f6(0x1a6)][_0x2ee7f6(0x1e8)][_0x2ee7f6(0x1ae)](_0x372c2a),{connection:_0x5b75ee}=this[_0x2ee7f6(0x1a6)][_0x2ee7f6(0x1e8)][_0x2ee7f6(0x1ae)](_0x2e843e),_0x2b698a=new Set();for(const _0x1e5c52 of _0xe6fd41){for(const _0x1bcfc7 of _0x1e5c52[_0x2ee7f6(0x1d5)])_0x385e13(_0x1bcfc7);_0x1e5c52[_0x2ee7f6(0x206)]&&_0x385e13(_0x1e5c52[_0x2ee7f6(0x206)]);}if(0x0===_0x2b698a[_0x2ee7f6(0x205)])return;const _0x5fbce4=await _0x10a457[_0x2ee7f6(0x1d3)](_0x5b75ee,Array[_0x2ee7f6(0x1fb)](_0x2b698a));for(const _0xb3798c of _0x5fbce4)_0x1c9e4c[_0x2ee7f6(0x204)](_0xb3798c['id'])||_0x1c9e4c[_0x2ee7f6(0x1fd)](_0xb3798c);function _0x385e13(_0x5a4fcd){const _0x99de86=_0x2ee7f6;_0x1c9e4c[_0x99de86(0x204)](_0x5a4fcd)||_0x2b698a[_0x99de86(0x19c)](_0x5a4fcd);}}}function b(_0x420ac4){const _0x29e281=_0x461486;return _0x420ac4[_0x29e281(0x207)][_0x29e281(0x1cb)](_0x29e281(0x1c7))||_0x420ac4[_0x29e281(0x207)][_0x29e281(0x1cb)](_0x29e281(0x1aa))||_0x420ac4[_0x29e281(0x207)][_0x29e281(0x1cb)](_0x29e281(0x1d6));}
23
+ const _0x1643fa=_0x85ee;(function(_0x58b6ef,_0x1cf68b){const _0x2b733c=_0x85ee,_0x2ec373=_0x58b6ef();while(!![]){try{const _0x31e399=parseInt(_0x2b733c(0x21b))/0x1+parseInt(_0x2b733c(0x1f5))/0x2+parseInt(_0x2b733c(0x207))/0x3*(parseInt(_0x2b733c(0x1e5))/0x4)+parseInt(_0x2b733c(0x1fd))/0x5+-parseInt(_0x2b733c(0x1cc))/0x6+-parseInt(_0x2b733c(0x237))/0x7*(parseInt(_0x2b733c(0x211))/0x8)+parseInt(_0x2b733c(0x1fb))/0x9*(parseInt(_0x2b733c(0x1e9))/0xa);if(_0x31e399===_0x1cf68b)break;else _0x2ec373['push'](_0x2ec373['shift']());}catch(_0x27bbab){_0x2ec373['push'](_0x2ec373['shift']());}}}(_0x29ff,0xc385a));import{Plugin as _0x71054b}from'ckeditor5/src/core.js';import{version as _0x32b3ea}from'ckeditor5/src/utils.js';import{Users as _0x4c10a5}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x1faf2e}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x14d2ac}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x6700b1}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3b0fb7,RevisionHistoryService as _0x4fbf41,User as _0x4f42e3,WEB_SOCKET_GATEWAY_STATES as _0x1a414e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x85ee(_0x4d6f02,_0x7071c1){const _0x29ff20=_0x29ff();return _0x85ee=function(_0x85eead,_0x47498c){_0x85eead=_0x85eead-0x1c7;let _0xefa17b=_0x29ff20[_0x85eead];return _0xefa17b;},_0x85ee(_0x4d6f02,_0x7071c1);}function _0x29ff(){const _0x286e1c=['18911ofRdAE','diffData','affectsData','serverHistory','editor','addUser','remove','addRevisionData','data','_fetchMissingUsers','has','revisionsUpdated','_fixRevision','RevisionHistory','collaboration.channelId','setRevisionData','code','RevisionHistoryService','isPremiumPlugin','toVersion','isBundleUploaded','isEnabled','change:_isPendingUpdate','cloudServices.bundleVersion','catch','connect','repository','_revisions','3817737GbTFPY','getRevision','buildRevisionData','authorsIds','cloud-services-internal-error:\x20Not\x20connected.','CONNECTED','change:_isConnected','_revisionTracker','from','5824632QLjqVq','_bufferedUpdates','connection','pluginName','config','startsWith','reconnect','authors','_oldOffset','cloud-services-internal-error:\x20Request\x20timeout.','isEmptyCurrent','RevisionTracker','type','_startingVersion','CloudServicesRevisionHistoryAdapter','setSource','reverse','_isConnected','getMany','createdAt','getOperations','currentRevision','requires','_isPendingUpdate','adapter','1894588vNjsky','map','get','marker','10yqgHIC','reInit','bind','fromVersion','add','wrongRequestId','_waitForServiceReady','connected','_getLatestVersion','getRevisions','_bufferUpdate','once','518858HdKxXK','destroy','off','_revisionHistoryService','isConnected','_offset','1405323pUfNbB','_getLatestVersionFromServerOperations','4676200vhxibu','getUser','state','init','_handleRevisionsUpdate','then','_lastRequestId','addToReconnectionStack','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','keys','6nWpBDV','listenTo','_createCurrentRevision','400','isOfficialPlugin','_preventResendingRevisionData','length','creatorId','_revisionDataBuilder','updateRevisions','8cukUeG','plugins','size','sessionId','message','max','baseVersion','_update','sendBufferedUpdates','_handleReconnectionError'];_0x29ff=function(){return _0x286e1c;};return _0x29ff();}export class CloudServicesRevisionHistoryAdapter extends _0x71054b{static [_0x1643fa(0x22c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4fbf41)());[_0x1643fa(0x203)];[_0x1643fa(0x1ca)];[_0x1643fa(0x1f8)];[_0x1643fa(0x1d4)];static get[_0x1643fa(0x1e2)](){const _0x4e73d8=_0x1643fa;return[_0x14d2ac,_0x1faf2e,_0x4e73d8(0x228),_0x6700b1,_0x4c10a5];}static get[_0x1643fa(0x1cf)](){const _0x57ef2b=_0x1643fa;return _0x57ef2b(0x1da);}static get[_0x1643fa(0x20b)](){return!0x0;}static get[_0x1643fa(0x22d)](){return!0x0;}constructor(_0x3772ef){const _0x68d182=_0x1643fa;super(_0x3772ef);const _0x47f638=this[_0x68d182(0x21f)][_0x68d182(0x1d0)][_0x68d182(0x1e7)](_0x68d182(0x229));this[_0x68d182(0x203)]=null,this[_0x68d182(0x1ca)]=this[_0x68d182(0x21f)][_0x68d182(0x212)][_0x68d182(0x1e7)](_0x68d182(0x1d7)),this[_0x68d182(0x1f8)]=new CloudServicesRevisionHistoryAdapter[(_0x68d182(0x22c))](_0x47f638);}async[_0x1643fa(0x200)](){const _0x5ef4ae=_0x1643fa,_0xb0bb0d=this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x212)][_0x5ef4ae(0x1e7)](_0x1faf2e),_0x5d4d49=_0xb0bb0d[_0x5ef4ae(0x21e)],_0x21b738=this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x212)][_0x5ef4ae(0x1e7)](_0x14d2ac);this[_0x5ef4ae(0x1ca)][_0x5ef4ae(0x1db)]({'history':_0x5d4d49,'getLatestVersion':()=>this[_0x5ef4ae(0x1f1)](),'getCurrentRevisionId':()=>_0xb0bb0d[_0x5ef4ae(0x214)]});const _0x321e10=this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x1d0)][_0x5ef4ae(0x1e7)](_0x5ef4ae(0x232))||_0x32b3ea,_0x3bf874=await _0x3b0fb7[_0x5ef4ae(0x22f)](_0x21b738[_0x5ef4ae(0x1ce)],_0x321e10);this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x212)][_0x5ef4ae(0x1e7)](_0x5ef4ae(0x228))[_0x5ef4ae(0x1e4)]={'getRevision':async({revisionId:_0x807c8f})=>(await this[_0x5ef4ae(0x1ef)](),await this[_0x5ef4ae(0x1f8)][_0x5ef4ae(0x238)](_0x807c8f)),'updateRevisions':async _0x4f72e4=>{const _0x338fac=_0x5ef4ae;await this[_0x338fac(0x1ef)]();const _0x1410cf=this[_0x338fac(0x1ca)][_0x338fac(0x1e1)];if(_0x3bf874&&0x1===_0x4f72e4[_0x338fac(0x20d)]&&_0x4f72e4[0x0]['id']===_0x1410cf['id'])return _0x4f72e4;for(const _0x1f4db1 of _0x4f72e4)_0x1f4db1['id']===_0x1410cf['id']&&(_0x1f4db1[_0x338fac(0x1d6)]=_0x1f4db1[_0x338fac(0x1ec)]===_0x1f4db1[_0x338fac(0x22e)]);return this[_0x338fac(0x1f8)][_0x338fac(0x210)](_0x4f72e4,this[_0x338fac(0x203)])[_0x338fac(0x202)](_0x58b1f7=>(this[_0x338fac(0x203)]=_0x58b1f7,_0x4f72e4))[_0x338fac(0x233)](_0x42a035=>{const _0x4c9b42=_0x338fac;if(st(_0x42a035)||_0x4c9b42(0x20a)===_0x42a035[_0x4c9b42(0x22b)]&&void 0x0!==_0x42a035[_0x4c9b42(0x223)][_0x4c9b42(0x1ee)]){for(const _0x4310a3 of _0x4f72e4){!this[_0x4c9b42(0x1ca)][_0x4c9b42(0x235)][_0x4c9b42(0x238)](_0x4310a3['id'])||this[_0x4c9b42(0x1ca)][_0x4c9b42(0x1f3)](_0x4310a3['id'],_0x4310a3,!0x1);}if(st(_0x42a035))throw _0x42a035;return _0x4f72e4;}throw _0x42a035;});}},this[_0x5ef4ae(0x208)](this[_0x5ef4ae(0x1f8)],_0x5ef4ae(0x226),(_0x5ba219,{revisionsData:_0x11fb2c,requestId:_0x496c19})=>{const _0x20effe=_0x5ef4ae;Math[_0x20effe(0x216)](..._0x11fb2c[_0x20effe(0x1e6)](_0x282f87=>_0x282f87[_0x20effe(0x22e)]))>this[_0x20effe(0x1fc)]()-0x1?this[_0x20effe(0x1f1)]()[_0x20effe(0x202)](()=>{const _0x113088=_0x20effe;this[_0x113088(0x201)](_0x11fb2c,_0x496c19);}):this[_0x20effe(0x201)](_0x11fb2c,_0x496c19);});const {revisions:_0x50e803,requestId:_0x215936}=await this[_0x5ef4ae(0x1f8)][_0x5ef4ae(0x234)](_0x21b738[_0x5ef4ae(0x1ce)]);_0x21b738[_0x5ef4ae(0x204)](this),this[_0x5ef4ae(0x203)]=_0x215936,await this[_0x5ef4ae(0x224)](_0x50e803);for(const _0x7a4b5 of _0x50e803)this[_0x5ef4ae(0x1ca)][_0x5ef4ae(0x222)](_0x7a4b5);this[_0x5ef4ae(0x208)](_0xb0bb0d,_0x5ef4ae(0x1c9),(_0x299c39,_0x3a5ae2,_0x2ef890)=>{const _0x49de61=_0x5ef4ae;_0x2ef890&&(this[_0x49de61(0x1d4)]=_0xb0bb0d[_0x49de61(0x1fa)],_0x299c39[_0x49de61(0x1f7)]());}),this[_0x5ef4ae(0x1ca)][_0x5ef4ae(0x1eb)](_0x5ef4ae(0x230))['to'](_0x21b738,_0x5ef4ae(0x1ff),_0x5e6987=>_0x5e6987===_0x1a414e[_0x5ef4ae(0x1c8)]);}async[_0x1643fa(0x1d2)](){const _0x2d8f49=_0x1643fa,_0x30868d=this[_0x2d8f49(0x21f)][_0x2d8f49(0x212)][_0x2d8f49(0x1e7)](_0x14d2ac),_0x28458b=this[_0x2d8f49(0x21f)][_0x2d8f49(0x212)][_0x2d8f49(0x1e7)](_0x1faf2e),_0x2011b8=async()=>{const _0x28ab7a=_0x2d8f49,_0x233dc6=this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1e1)],_0x345b5f=_0x233dc6['id'],_0x3fe74f=_0x345b5f!==_0x28458b[_0x28ab7a(0x214)];if(_0x3fe74f){const _0x55741e=_0x28458b[_0x28ab7a(0x1fa)]-this[_0x28ab7a(0x1d4)],_0x5ed017=this[_0x28ab7a(0x1fc)]();this[_0x28ab7a(0x1ca)][_0x28ab7a(0x20f)][_0x28ab7a(0x1ea)]();if(_0x233dc6[_0x28ab7a(0x22e)]+_0x55741e!==_0x5ed017){const _0x24fb79=_0x233dc6[_0x28ab7a(0x1ec)]+_0x55741e,_0x493f69=this[_0x28ab7a(0x21f)][_0x28ab7a(0x212)][_0x28ab7a(0x1e7)](_0x4c10a5),_0x36606c=this[_0x28ab7a(0x1ca)][_0x28ab7a(0x239)]({'revision':_0x233dc6,'from':_0x24fb79,'to':_0x5ed017});_0x36606c['id']=_0x233dc6['id'];const _0x25de61=_0x36606c[_0x28ab7a(0x23a)][_0x28ab7a(0x1e6)](_0x3ffdf9=>_0x493f69[_0x28ab7a(0x1fe)](_0x3ffdf9));_0x233dc6[_0x28ab7a(0x218)]({..._0x36606c,'authors':_0x25de61},!0x0),this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1f3)](_0x233dc6['id'],_0x36606c,!0x0);}this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1d9)]=_0x5ed017,(_0x233dc6[_0x28ab7a(0x22e)]===_0x233dc6[_0x28ab7a(0x1ec)]&&!this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1cd)][_0x28ab7a(0x225)](_0x345b5f)&&this[_0x28ab7a(0x1ca)][_0x28ab7a(0x235)][_0x28ab7a(0x236)][_0x28ab7a(0x221)](_0x345b5f),this[_0x28ab7a(0x1ca)][_0x28ab7a(0x209)](_0x5ed017));}const {revisions:_0x920bc4,requestId:_0x46f68f}=await this[_0x28ab7a(0x1f8)][_0x28ab7a(0x1d2)](_0x30868d[_0x28ab7a(0x1ce)],this[_0x28ab7a(0x203)]);_0x3fe74f&&_0x920bc4[_0x28ab7a(0x20d)]>0x0?_0x28458b[_0x28ab7a(0x21a)]():(await this[_0x28ab7a(0x224)](_0x920bc4),this[_0x28ab7a(0x201)](_0x920bc4,_0x46f68f),this[_0x28ab7a(0x1ca)][_0x28ab7a(0x219)]());};return _0x28458b[_0x2d8f49(0x1dd)]?_0x2011b8():new Promise((_0x26d5fe,_0x4e51ac)=>{const _0x4ff344=_0x2d8f49;_0x28458b[_0x4ff344(0x1f4)](_0x4ff344(0x1c9),()=>{const _0x37f75e=_0x4ff344;_0x2011b8()[_0x37f75e(0x202)](_0x26d5fe)[_0x37f75e(0x233)](_0x4e51ac);});});}[_0x1643fa(0x1f6)](){const _0x594519=_0x1643fa;super[_0x594519(0x1f6)]();}async[_0x1643fa(0x1ef)](){const _0x590a26=_0x1643fa;this[_0x590a26(0x1f8)][_0x590a26(0x1f9)]||await new Promise(_0x507e5d=>{const _0x4da262=_0x590a26;this[_0x4da262(0x208)](this[_0x4da262(0x1f8)],_0x4da262(0x1f0),_0x9a9f14=>{const _0x31ca2b=_0x4da262;_0x9a9f14[_0x31ca2b(0x1f7)](),_0x507e5d();});});}[_0x1643fa(0x1fc)](){const _0x4c2f5a=_0x1643fa,_0x4e5a6c=this[_0x4c2f5a(0x21f)][_0x4c2f5a(0x212)][_0x4c2f5a(0x1e7)](_0x1faf2e)[_0x4c2f5a(0x21e)][_0x4c2f5a(0x1e0)]()[_0x4c2f5a(0x1dc)]();for(const _0x48e46e of _0x4e5a6c)if(_0x4c2f5a(0x1e8)!==_0x48e46e[_0x4c2f5a(0x1d8)]||_0x48e46e[_0x4c2f5a(0x21d)])return _0x48e46e[_0x4c2f5a(0x217)]+0x1;}[_0x1643fa(0x1f1)](){const _0x4a5d19=_0x1643fa,_0x3b40d0=this[_0x4a5d19(0x21f)][_0x4a5d19(0x212)][_0x4a5d19(0x1e7)](_0x1faf2e);return new Promise(_0x1dafe9=>{const _0x6596f2=_0x4a5d19;_0x3b40d0[_0x6596f2(0x1e3)]?_0x3b40d0[_0x6596f2(0x1f4)](_0x6596f2(0x231),()=>{const _0x290471=_0x6596f2;_0x1dafe9(this[_0x290471(0x1fc)]());}):_0x1dafe9(this[_0x6596f2(0x1fc)]());});}[_0x1643fa(0x201)](_0x248221,_0x2e0bc3){const _0x55a99b=_0x1643fa,_0x369f2e=this[_0x55a99b(0x1ca)][_0x55a99b(0x235)];this[_0x55a99b(0x203)]=_0x2e0bc3;for(const _0xdc5f0c of _0x248221){const _0x4eac90=_0x369f2e[_0x55a99b(0x238)](_0xdc5f0c['id']);if(_0x4eac90){if((_0xdc5f0c[_0x55a99b(0x1ec)]||_0xdc5f0c[_0x55a99b(0x22e)])&&(_0xdc5f0c[_0x55a99b(0x21c)]=null),_0x4eac90===this[_0x55a99b(0x1ca)][_0x55a99b(0x1e1)]){const _0x48aa5c=Math[_0x55a99b(0x216)](_0x4eac90[_0x55a99b(0x22e)],_0xdc5f0c[_0x55a99b(0x22e)]),_0x3de4c8=Math[_0x55a99b(0x216)](_0x4eac90[_0x55a99b(0x1ec)],_0xdc5f0c[_0x55a99b(0x1ec)]);let _0x509324;_0x4eac90[_0x55a99b(0x22e)]===_0xdc5f0c[_0x55a99b(0x22e)]&&_0x4eac90[_0x55a99b(0x1ec)]===_0xdc5f0c[_0x55a99b(0x1ec)]?(_0x509324=!0x0,this[_0x55a99b(0x20c)](_0xdc5f0c)):_0xdc5f0c[_0x55a99b(0x22e)]===_0x48aa5c&&_0xdc5f0c[_0x55a99b(0x1ec)]===_0x3de4c8?_0x509324=!0x1:(_0x4eac90[_0x55a99b(0x22e)]===_0x48aa5c&&_0x4eac90[_0x55a99b(0x1ec)]===_0x3de4c8||this[_0x55a99b(0x227)]({'revision':_0x4eac90,'from':_0x3de4c8,'to':_0x48aa5c}),_0x509324=!0x0),_0x509324&&(delete _0xdc5f0c[_0x55a99b(0x1ec)],delete _0xdc5f0c[_0x55a99b(0x22e)],delete _0xdc5f0c[_0x55a99b(0x21c)],delete _0xdc5f0c[_0x55a99b(0x1df)],delete _0xdc5f0c[_0x55a99b(0x23a)]);}this[_0x55a99b(0x1ca)][_0x55a99b(0x22a)](_0xdc5f0c),this[_0x55a99b(0x20c)](_0xdc5f0c);}else this[_0x55a99b(0x1ca)][_0x55a99b(0x222)](_0xdc5f0c);}const _0x1aef07=_0x369f2e[_0x55a99b(0x1f2)]();_0x1aef07[_0x55a99b(0x1dc)]();for(let _0x4c9e75=0x0;_0x4c9e75<_0x1aef07[_0x55a99b(0x20d)]-0x1;_0x4c9e75++){const _0x3fd4a6=_0x1aef07[_0x4c9e75],_0x584529=_0x1aef07[_0x4c9e75+0x1];if(_0x3fd4a6[_0x55a99b(0x1ec)]<_0x584529[_0x55a99b(0x22e)]){const _0x437db8=_0x584529[_0x55a99b(0x22e)],_0x2be0df=Math[_0x55a99b(0x216)](_0x437db8,_0x3fd4a6[_0x55a99b(0x22e)]);this[_0x55a99b(0x227)]({'revision':_0x3fd4a6,'from':_0x437db8,'to':_0x2be0df});}}}[_0x1643fa(0x227)]({revision:_0x4d0a40,from:_0x17eafe,to:_0xd7b3e9}={}){const _0x53ad43=_0x1643fa,_0x81c89b=this[_0x53ad43(0x21f)][_0x53ad43(0x212)][_0x53ad43(0x1e7)](_0x4c10a5),_0x5e3808=this[_0x53ad43(0x1ca)][_0x53ad43(0x239)]({'revision':_0x4d0a40,'from':_0x17eafe,'to':_0xd7b3e9});_0x5e3808[_0x53ad43(0x1d3)]=_0x5e3808[_0x53ad43(0x23a)][_0x53ad43(0x1e6)](_0x24230f=>_0x81c89b[_0x53ad43(0x1fe)](_0x24230f)),_0x4d0a40[_0x53ad43(0x218)](_0x5e3808);}[_0x1643fa(0x20c)](_0x54fac3){const _0x181808=_0x1643fa,_0x172e28={};_0x172e28['id']=_0x54fac3['id'];for(const _0x34bd88 of Object[_0x181808(0x206)](_0x54fac3))'id'!==_0x34bd88&&(_0x172e28[_0x34bd88]=void 0x0);this[_0x181808(0x1ca)][_0x181808(0x1f3)](_0x172e28['id'],_0x172e28,!0x0);}async[_0x1643fa(0x224)](_0x45d9da){const _0x654be=_0x1643fa,_0xccfe74=this[_0x654be(0x21f)][_0x654be(0x212)][_0x654be(0x1e7)](_0x4c10a5),{connection:_0xbc25dc}=this[_0x654be(0x21f)][_0x654be(0x212)][_0x654be(0x1e7)](_0x14d2ac),_0xee5ed=new Set();for(const _0x547eff of _0x45d9da){for(const _0x551785 of _0x547eff[_0x654be(0x23a)])_0x525926(_0x551785);_0x547eff[_0x654be(0x20e)]&&_0x525926(_0x547eff[_0x654be(0x20e)]);}if(0x0===_0xee5ed[_0x654be(0x213)])return;const _0x8096a8=await _0x4f42e3[_0x654be(0x1de)](_0xbc25dc,Array[_0x654be(0x1cb)](_0xee5ed));for(const _0x42f335 of _0x8096a8)_0xccfe74[_0x654be(0x1fe)](_0x42f335['id'])||_0xccfe74[_0x654be(0x220)](_0x42f335);function _0x525926(_0x512360){const _0xb4438c=_0x654be;_0xccfe74[_0xb4438c(0x1fe)](_0x512360)||_0xee5ed[_0xb4438c(0x1ed)](_0x512360);}}}function st(_0x1418a4){const _0x108dfd=_0x1643fa;return _0x1418a4[_0x108dfd(0x215)][_0x108dfd(0x1d1)](_0x108dfd(0x205))||_0x1418a4[_0x108dfd(0x215)][_0x108dfd(0x1d1)](_0x108dfd(0x1c7))||_0x1418a4[_0x108dfd(0x215)][_0x108dfd(0x1d1)](_0x108dfd(0x1d5));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44ed10=_0x4a3c;(function(_0x1e4b2b,_0x1af914){var _0x2902d1=_0x4a3c,_0x3ae65c=_0x1e4b2b();while(!![]){try{var _0x2eb6de=-parseInt(_0x2902d1(0x157))/0x1*(-parseInt(_0x2902d1(0x15c))/0x2)+parseInt(_0x2902d1(0x162))/0x3+-parseInt(_0x2902d1(0x163))/0x4+parseInt(_0x2902d1(0x156))/0x5+-parseInt(_0x2902d1(0x158))/0x6*(parseInt(_0x2902d1(0x160))/0x7)+-parseInt(_0x2902d1(0x15b))/0x8*(-parseInt(_0x2902d1(0x159))/0x9)+-parseInt(_0x2902d1(0x15f))/0xa;if(_0x2eb6de===_0x1af914)break;else _0x3ae65c['push'](_0x3ae65c['shift']());}catch(_0x274121){_0x3ae65c['push'](_0x3ae65c['shift']());}}}(_0x37ab,0x785ff));import{Plugin as _0x4289a9}from'ckeditor5/src/core.js';function _0x4a3c(_0x5967d5,_0x2f5b85){var _0x37ab43=_0x37ab();return _0x4a3c=function(_0x4a3ccc,_0x16e692){_0x4a3ccc=_0x4a3ccc-0x155;var _0x5c185d=_0x37ab43[_0x4a3ccc];return _0x5c185d;},_0x4a3c(_0x5967d5,_0x2f5b85);}import{CloudServicesRevisionHistoryAdapter as _0x5870a2}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x37ab(){var _0x59d31f=['6gGKYPQ','7269867toHGkV','RevisionHistory','8ywFjrg','1356454mbVyCQ','requires','RealTimeCollaborativeRevisionHistory','5295660vJZcjY','4230345qUdktv','pluginName','2408919fpVopX','3683904OYwPIb','isPremiumPlugin','isOfficialPlugin','1294845OAGixG','1WkDwGH'];_0x37ab=function(){return _0x59d31f;};return _0x37ab();}import{RealTimeCollaborativeEditing as _0x52e4dd}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x4289a9{static get[_0x44ed10(0x15d)](){var _0x590908=_0x44ed10;return[_0x590908(0x15a),_0x5870a2,_0x52e4dd];}static get[_0x44ed10(0x161)](){var _0x13f247=_0x44ed10;return _0x13f247(0x15e);}static get[_0x44ed10(0x155)](){return!0x0;}static get[_0x44ed10(0x164)](){return!0x0;}}
23
+ function _0x5b12(_0x37cf4a,_0x2cd896){var _0x6ebff6=_0x6ebf();return _0x5b12=function(_0x5b12be,_0x578fa4){_0x5b12be=_0x5b12be-0x8c;var _0x1268bf=_0x6ebff6[_0x5b12be];return _0x1268bf;},_0x5b12(_0x37cf4a,_0x2cd896);}function _0x6ebf(){var _0x12ab60=['4195872DaPhzr','559050OJlGuR','436866WQuqZN','RevisionHistory','48987AMquhg','5gVknJK','986AVreKX','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','28xEBGqy','460JLqWYI','1189236Zufwqb','isPremiumPlugin','requires','190gqheOL','pluginName','7563765KYgXtm'];_0x6ebf=function(){return _0x12ab60;};return _0x6ebf();}var _0x3bb112=_0x5b12;(function(_0x27bbd0,_0x408da6){var _0x20d6bf=_0x5b12,_0x45f651=_0x27bbd0();while(!![]){try{var _0x5e699e=-parseInt(_0x20d6bf(0x8d))/0x1*(-parseInt(_0x20d6bf(0x95))/0x2)+-parseInt(_0x20d6bf(0x99))/0x3+parseInt(_0x20d6bf(0x92))/0x4*(-parseInt(_0x20d6bf(0x8c))/0x5)+parseInt(_0x20d6bf(0x9a))/0x6*(parseInt(_0x20d6bf(0x90))/0x7)+-parseInt(_0x20d6bf(0x98))/0x8+parseInt(_0x20d6bf(0x9c))/0x9*(parseInt(_0x20d6bf(0x91))/0xa)+parseInt(_0x20d6bf(0x97))/0xb;if(_0x5e699e===_0x408da6)break;else _0x45f651['push'](_0x45f651['shift']());}catch(_0x464923){_0x45f651['push'](_0x45f651['shift']());}}}(_0x6ebf,0x4cd8c));import{Plugin as _0x3e4c56}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x49d623}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x3d165c}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x3e4c56{static get[_0x3bb112(0x94)](){var _0x15f8e1=_0x3bb112;return[_0x15f8e1(0x9b),_0x49d623,_0x3d165c];}static get[_0x3bb112(0x96)](){var _0x1d69dc=_0x3bb112;return _0x1d69dc(0x8f);}static get[_0x3bb112(0x8e)](){return!0x0;}static get[_0x3bb112(0x93)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x58c4(_0x2f88b1,_0x431748){const _0x19af94=_0x19af();return _0x58c4=function(_0x58c498,_0xfe78dc){_0x58c498=_0x58c498-0xe1;let _0x2cde0d=_0x19af94[_0x58c498];return _0x2cde0d;},_0x58c4(_0x2f88b1,_0x431748);}const _0x41097a=_0x58c4;function _0x19af(){const _0x1992cb=['from','config','requires','pluginName','1166603JeAHFc','_fetchMissingUsersForThreads','addToReconnectionStack','size','get','catch','update','editor','getMany','addUser','delete','add','isPremiumPlugin','listenTo','find','set','_bufferedRequests','TrackChangesEditing','hasSuggestion','getUser','isConnected','18WUFDax','cloud-services-internal-error:\x20Request\x20timeout.','adapter','2851373tAVpTp','values','startsWith','connect','open','init','_waitForServiceReady','1012110GbIJpU','collaboration.channelId','suggestionUpdated','3289064dsaAGy','state','_trackChangesService','2Kstbfq','connected','message','plugins','1445812nUcYhp','cloud-services-internal-error:\x20Not\x20connected.','TrackChangesService','_saved','attributes','CloudServicesTrackChangesAdapter','2445545AioFrO','off','reconnect','type','getSuggestion','connection','originalSuggestionId','data','isOfficialPlugin','addSuggestionData','24933933gWhmGh','then'];_0x19af=function(){return _0x1992cb;};return _0x19af();}(function(_0x43ec97,_0x4577c5){const _0x34a037=_0x58c4,_0xa8c15c=_0x43ec97();while(!![]){try{const _0x4653c5=-parseInt(_0x34a037(0xe2))/0x1*(parseInt(_0x34a037(0x107))/0x2)+parseInt(_0x34a037(0x101))/0x3+parseInt(_0x34a037(0x10b))/0x4+parseInt(_0x34a037(0x111))/0x5*(-parseInt(_0x34a037(0xf7))/0x6)+-parseInt(_0x34a037(0xfa))/0x7+parseInt(_0x34a037(0x104))/0x8+parseInt(_0x34a037(0x11b))/0x9;if(_0x4653c5===_0x4577c5)break;else _0xa8c15c['push'](_0xa8c15c['shift']());}catch(_0x231a32){_0xa8c15c['push'](_0xa8c15c['shift']());}}}(_0x19af,0xccdd4));import{Plugin as _0x26e7c7}from'ckeditor5/src/core.js';import{User as _0x1ecba1,TrackChangesService as _0x4e116e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x26041e}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2371d0}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xbcb3d5}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x26e7c7{static [_0x41097a(0x10d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4e116e)());[_0x41097a(0xf2)];[_0x41097a(0x106)];static get[_0x41097a(0x11f)](){const _0x5b019a=_0x41097a;return[_0x2371d0,_0x5b019a(0xf3),_0x26041e];}static get[_0x41097a(0xe1)](){const _0x418683=_0x41097a;return _0x418683(0x110);}static get[_0x41097a(0x119)](){return!0x0;}static get[_0x41097a(0xee)](){return!0x0;}constructor(_0x130e25){const _0x4761c1=_0x41097a;super(_0x130e25);const _0x15b4ab=this[_0x4761c1(0xe9)][_0x4761c1(0x11e)][_0x4761c1(0xe6)](_0x4761c1(0x102));this[_0x4761c1(0xf2)]=new Map(),this[_0x4761c1(0x106)]=new CloudServicesTrackChangesAdapter[(_0x4761c1(0x10d))](_0x15b4ab);}[_0x41097a(0xff)](){const _0x3434db=_0x41097a,_0x2b73bb=this[_0x3434db(0xe9)][_0x3434db(0x10a)][_0x3434db(0xe6)](_0x26041e),_0x458559=this[_0x3434db(0xe9)][_0x3434db(0x10a)][_0x3434db(0xe6)](_0x3434db(0xf3));return _0x458559[_0x3434db(0xf9)]={'getSuggestion':async _0x443217=>{const _0x2d5d83=_0x3434db;await this[_0x2d5d83(0x100)]();const _0x39ddc4=await this[_0x2d5d83(0x106)][_0x2d5d83(0xe6)](_0x443217)[_0x2d5d83(0xe7)](A);return await this[_0x2d5d83(0xe3)]([_0x39ddc4]),_0x39ddc4;},'addSuggestion':async({id:_0x2bb8f1,type:_0x45500d,data:_0x34507d,originalSuggestionId:_0x58966a,attributes:_0x55dca4})=>{const _0x12bcb5=_0x3434db;await this[_0x12bcb5(0x100)]();const _0x4b0832={'id':_0x2bb8f1,'type':_0x45500d,'data':_0x34507d,'originalSuggestionId':_0x58966a,'attributes':_0x55dca4},_0x23100c=await this[_0x12bcb5(0x106)][_0x12bcb5(0xed)](_0x2bb8f1,_0x45500d,_0x34507d,_0x58966a,_0x55dca4)[_0x12bcb5(0xe7)](_0x2c82ad=>{if(b(_0x2c82ad))return new Promise(_0x52b4ab=>{const _0x1c59cb=_0x58c4;this[_0x1c59cb(0xf2)][_0x1c59cb(0xf1)](_0x2bb8f1,{'resolve':_0x52b4ab,'suggestionData':_0x4b0832});});throw _0x2c82ad;});return this[_0x12bcb5(0xf2)][_0x12bcb5(0xec)](_0x2bb8f1),_0x23100c;},'updateSuggestion':async(_0x39a471,_0xa7c8ec)=>{const _0x566ff3=_0x3434db;if(await this[_0x566ff3(0x100)](),_0x566ff3(0xfe)!==_0xa7c8ec[_0x566ff3(0x105)])return this[_0x566ff3(0x106)][_0x566ff3(0xe8)](_0x39a471,_0xa7c8ec)[_0x566ff3(0xe7)](A);}},this[_0x3434db(0xef)](this[_0x3434db(0x106)],_0x3434db(0x103),(_0x284fe7,_0x581fea)=>{const _0x27ac2b=_0x3434db;_0x458559[_0x27ac2b(0xf4)](_0x581fea['id'])&&(_0x458559[_0x27ac2b(0x115)](_0x581fea['id'])[_0x27ac2b(0x10f)]=_0x581fea[_0x27ac2b(0x10f)]);}),this[_0x3434db(0x106)][_0x3434db(0xfd)](_0x2b73bb[_0x3434db(0x116)])[_0x3434db(0x11c)](_0xbf123d=>(_0x2b73bb[_0x3434db(0xe4)](this),this[_0x3434db(0xe3)](_0xbf123d)[_0x3434db(0x11c)](()=>{const _0x5510ee=_0x3434db;for(const _0xf0f3a3 of _0xbf123d){_0x458559[_0x5510ee(0x11a)](_0xf0f3a3)[_0x5510ee(0x10e)]=!0x0;}})));}async[_0x41097a(0x113)](){const _0x298b47=_0x41097a,_0x203135=this[_0x298b47(0xe9)][_0x298b47(0x10a)][_0x298b47(0xe6)](_0x298b47(0xf3)),{connection:_0x1424a9}=this[_0x298b47(0xe9)][_0x298b47(0x10a)][_0x298b47(0xe6)](_0x26041e),_0x542d26=await this[_0x298b47(0x106)][_0x298b47(0xfd)](_0x1424a9);await this[_0x298b47(0xe3)](_0x542d26);for(const {suggestionData:_0x3803c2,resolve:_0x742801}of this[_0x298b47(0xf2)][_0x298b47(0xfb)]()){let _0x3ebbda=_0x542d26[_0x298b47(0xf0)](_0x3cec41=>_0x3cec41['id']===_0x3803c2['id']);_0x3ebbda||(_0x3ebbda=await this[_0x298b47(0x106)][_0x298b47(0xed)](_0x3803c2['id'],_0x3803c2[_0x298b47(0x114)],_0x3803c2[_0x298b47(0x118)],_0x3803c2[_0x298b47(0x117)])),_0x742801(_0x3ebbda);}for(const _0x1b1f1a of _0x542d26)_0x203135[_0x298b47(0xf4)](_0x1b1f1a['id'])||_0x203135[_0x298b47(0x11a)](_0x1b1f1a);}async[_0x41097a(0x100)](){const _0x5c6ff5=_0x41097a;this[_0x5c6ff5(0x106)][_0x5c6ff5(0xf6)]||await new Promise(_0x4f149d=>{const _0x14a24c=_0x5c6ff5;this[_0x14a24c(0xef)](this[_0x14a24c(0x106)],_0x14a24c(0x108),_0x142426=>{const _0x258c36=_0x14a24c;_0x142426[_0x258c36(0x112)](),_0x4f149d();});});}async[_0x41097a(0xe3)](_0x50e522){const _0x4b8aa5=_0x41097a,_0xff52a6=this[_0x4b8aa5(0xe9)][_0x4b8aa5(0x10a)][_0x4b8aa5(0xe6)](_0xbcb3d5),{connection:_0x14c15c}=this[_0x4b8aa5(0xe9)][_0x4b8aa5(0x10a)][_0x4b8aa5(0xe6)](_0x26041e),_0x4b376e=new Set();for(const {authorId:_0xef6633}of _0x50e522)_0xff52a6[_0x4b8aa5(0xf5)](_0xef6633)||_0x4b376e[_0x4b8aa5(0xed)](_0xef6633);if(0x0===_0x4b376e[_0x4b8aa5(0xe5)])return;const _0x500f3a=await _0x1ecba1[_0x4b8aa5(0xea)](_0x14c15c,Array[_0x4b8aa5(0x11d)](_0x4b376e));for(const _0x2bb3a5 of _0x500f3a)_0xff52a6[_0x4b8aa5(0xf5)](_0x2bb3a5['id'])||_0xff52a6[_0x4b8aa5(0xeb)](_0x2bb3a5);}}function A(_0x51e452){if(b(_0x51e452))return new Promise(()=>{});throw _0x51e452;}function b(_0x55fc70){const _0x45e890=_0x41097a;return _0x55fc70[_0x45e890(0x109)][_0x45e890(0xfc)](_0x45e890(0x10c))||_0x55fc70[_0x45e890(0x109)][_0x45e890(0xfc)](_0x45e890(0xf8));}
23
+ const _0x336e81=_0x1a56;function _0x250a(){const _0x24645f=['10259046pDGkQX','_trackChangesService','addSuggestionData','_waitForServiceReady','state','off','update','_fetchMissingUsersForThreads','open','data','listenTo','adapter','add','config','TrackChangesEditing','getSuggestion','collaboration.channelId','pluginName','type','originalSuggestionId','getUser','connected','requires','then','attributes','isOfficialPlugin','from','CloudServicesTrackChangesAdapter','catch','find','233504eZuBQa','connection','_saved','size','hasSuggestion','editor','194806iPlUUH','init','delete','getMany','get','cloud-services-internal-error:\x20Not\x20connected.','1498368DtxSlD','values','922672hlKASi','plugins','isPremiumPlugin','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','addUser','addToReconnectionStack','3573990gutiEB','_bufferedRequests','954LdXRCr','3230823hGGDcp','message','set','TrackChangesService','connect','reconnect','5RNEEIH','suggestionUpdated','startsWith'];_0x250a=function(){return _0x24645f;};return _0x250a();}(function(_0x4ba399,_0x3b6274){const _0x4b958b=_0x1a56,_0x3e7212=_0x4ba399();while(!![]){try{const _0x3b4ad3=-parseInt(_0x4b958b(0x1e4))/0x1*(-parseInt(_0x4b958b(0x1cc))/0x2)+-parseInt(_0x4b958b(0x1de))/0x3+parseInt(_0x4b958b(0x1d4))/0x4+-parseInt(_0x4b958b(0x1db))/0x5+parseInt(_0x4b958b(0x1d2))/0x6+-parseInt(_0x4b958b(0x1e7))/0x7+-parseInt(_0x4b958b(0x1c6))/0x8*(-parseInt(_0x4b958b(0x1dd))/0x9);if(_0x3b4ad3===_0x3b6274)break;else _0x3e7212['push'](_0x3e7212['shift']());}catch(_0x161879){_0x3e7212['push'](_0x3e7212['shift']());}}}(_0x250a,0xc44b6));import{Plugin as _0x512165}from'ckeditor5/src/core.js';import{User as _0x5b9b23,TrackChangesService as _0x24d3d4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4ec1fe}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x3540ed}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x36879c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1a56(_0x4ba8ae,_0x556261){const _0x250a78=_0x250a();return _0x1a56=function(_0x1a56f3,_0xf41989){_0x1a56f3=_0x1a56f3-0x1c0;let _0x55c77f=_0x250a78[_0x1a56f3];return _0x55c77f;},_0x1a56(_0x4ba8ae,_0x556261);}export class CloudServicesTrackChangesAdapter extends _0x512165{static [_0x336e81(0x1e1)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x24d3d4)());[_0x336e81(0x1dc)];[_0x336e81(0x1e8)];static get[_0x336e81(0x1fd)](){const _0x3245ba=_0x336e81;return[_0x3540ed,_0x3245ba(0x1f5),_0x4ec1fe];}static get[_0x336e81(0x1f8)](){const _0x32c0bb=_0x336e81;return _0x32c0bb(0x1c3);}static get[_0x336e81(0x1c1)](){return!0x0;}static get[_0x336e81(0x1d6)](){return!0x0;}constructor(_0xaecaee){const _0x3a7115=_0x336e81;super(_0xaecaee);const _0x7313cd=this[_0x3a7115(0x1cb)][_0x3a7115(0x1f4)][_0x3a7115(0x1d0)](_0x3a7115(0x1f7));this[_0x3a7115(0x1dc)]=new Map(),this[_0x3a7115(0x1e8)]=new CloudServicesTrackChangesAdapter[(_0x3a7115(0x1e1))](_0x7313cd);}[_0x336e81(0x1cd)](){const _0x29e60d=_0x336e81,_0x3caee7=this[_0x29e60d(0x1cb)][_0x29e60d(0x1d5)][_0x29e60d(0x1d0)](_0x4ec1fe),_0x481da3=this[_0x29e60d(0x1cb)][_0x29e60d(0x1d5)][_0x29e60d(0x1d0)](_0x29e60d(0x1f5));return _0x481da3[_0x29e60d(0x1f2)]={'getSuggestion':async _0x2c22b3=>{const _0xe5e54d=_0x29e60d;await this[_0xe5e54d(0x1ea)]();const _0x402cc7=await this[_0xe5e54d(0x1e8)][_0xe5e54d(0x1d0)](_0x2c22b3)[_0xe5e54d(0x1c4)](Y);return await this[_0xe5e54d(0x1ee)]([_0x402cc7]),_0x402cc7;},'addSuggestion':async({id:_0x17a0a2,type:_0x3c07f8,data:_0x4ca557,originalSuggestionId:_0x4fc77a,attributes:_0x3d4fcb})=>{const _0x2e2320=_0x29e60d;await this[_0x2e2320(0x1ea)]();const _0x551c9b={'id':_0x17a0a2,'type':_0x3c07f8,'data':_0x4ca557,'originalSuggestionId':_0x4fc77a,'attributes':_0x3d4fcb},_0xffc131=await this[_0x2e2320(0x1e8)][_0x2e2320(0x1f3)](_0x17a0a2,_0x3c07f8,_0x4ca557,_0x4fc77a,_0x3d4fcb)[_0x2e2320(0x1c4)](_0x5bbf6a=>{if(st(_0x5bbf6a))return new Promise(_0x319927=>{const _0x5250f4=_0x1a56;this[_0x5250f4(0x1dc)][_0x5250f4(0x1e0)](_0x17a0a2,{'resolve':_0x319927,'suggestionData':_0x551c9b});});throw _0x5bbf6a;});return this[_0x2e2320(0x1dc)][_0x2e2320(0x1ce)](_0x17a0a2),_0xffc131;},'updateSuggestion':async(_0x34090f,_0x1d1fd8)=>{const _0x590a6a=_0x29e60d;if(await this[_0x590a6a(0x1ea)](),_0x590a6a(0x1ef)!==_0x1d1fd8[_0x590a6a(0x1eb)])return this[_0x590a6a(0x1e8)][_0x590a6a(0x1ed)](_0x34090f,_0x1d1fd8)[_0x590a6a(0x1c4)](Y);}},this[_0x29e60d(0x1f1)](this[_0x29e60d(0x1e8)],_0x29e60d(0x1e5),(_0x33f35d,_0x2176be)=>{const _0x1a78be=_0x29e60d;_0x481da3[_0x1a78be(0x1ca)](_0x2176be['id'])&&(_0x481da3[_0x1a78be(0x1f6)](_0x2176be['id'])[_0x1a78be(0x1c0)]=_0x2176be[_0x1a78be(0x1c0)]);}),this[_0x29e60d(0x1e8)][_0x29e60d(0x1e2)](_0x3caee7[_0x29e60d(0x1c7)])[_0x29e60d(0x1fe)](_0x3445ca=>(_0x3caee7[_0x29e60d(0x1da)](this),this[_0x29e60d(0x1ee)](_0x3445ca)[_0x29e60d(0x1fe)](()=>{const _0x4779be=_0x29e60d;for(const _0x308d22 of _0x3445ca){_0x481da3[_0x4779be(0x1e9)](_0x308d22)[_0x4779be(0x1c8)]=!0x0;}})));}async[_0x336e81(0x1e3)](){const _0x24c44b=_0x336e81,_0x308de4=this[_0x24c44b(0x1cb)][_0x24c44b(0x1d5)][_0x24c44b(0x1d0)](_0x24c44b(0x1f5)),{connection:_0x2579fb}=this[_0x24c44b(0x1cb)][_0x24c44b(0x1d5)][_0x24c44b(0x1d0)](_0x4ec1fe),_0x4a5c83=await this[_0x24c44b(0x1e8)][_0x24c44b(0x1e2)](_0x2579fb);await this[_0x24c44b(0x1ee)](_0x4a5c83);for(const {suggestionData:_0x2ec40c,resolve:_0x2f7e6a}of this[_0x24c44b(0x1dc)][_0x24c44b(0x1d3)]()){let _0x298ae1=_0x4a5c83[_0x24c44b(0x1c5)](_0x1a98d1=>_0x1a98d1['id']===_0x2ec40c['id']);_0x298ae1||(_0x298ae1=await this[_0x24c44b(0x1e8)][_0x24c44b(0x1f3)](_0x2ec40c['id'],_0x2ec40c[_0x24c44b(0x1f9)],_0x2ec40c[_0x24c44b(0x1f0)],_0x2ec40c[_0x24c44b(0x1fa)])),_0x2f7e6a(_0x298ae1);}for(const _0x177980 of _0x4a5c83)_0x308de4[_0x24c44b(0x1ca)](_0x177980['id'])||_0x308de4[_0x24c44b(0x1e9)](_0x177980);}async[_0x336e81(0x1ea)](){const _0x4e115a=_0x336e81;this[_0x4e115a(0x1e8)][_0x4e115a(0x1d8)]||await new Promise(_0x42cd8e=>{const _0x4bf15b=_0x4e115a;this[_0x4bf15b(0x1f1)](this[_0x4bf15b(0x1e8)],_0x4bf15b(0x1fc),_0x39ecda=>{const _0x12c3d3=_0x4bf15b;_0x39ecda[_0x12c3d3(0x1ec)](),_0x42cd8e();});});}async[_0x336e81(0x1ee)](_0x27b535){const _0x2d566f=_0x336e81,_0xeac4c8=this[_0x2d566f(0x1cb)][_0x2d566f(0x1d5)][_0x2d566f(0x1d0)](_0x36879c),{connection:_0x3e7da3}=this[_0x2d566f(0x1cb)][_0x2d566f(0x1d5)][_0x2d566f(0x1d0)](_0x4ec1fe),_0x2d3f4c=new Set();for(const {authorId:_0x3d9fa1}of _0x27b535)_0xeac4c8[_0x2d566f(0x1fb)](_0x3d9fa1)||_0x2d3f4c[_0x2d566f(0x1f3)](_0x3d9fa1);if(0x0===_0x2d3f4c[_0x2d566f(0x1c9)])return;const _0x48a58c=await _0x5b9b23[_0x2d566f(0x1cf)](_0x3e7da3,Array[_0x2d566f(0x1c2)](_0x2d3f4c));for(const _0x535372 of _0x48a58c)_0xeac4c8[_0x2d566f(0x1fb)](_0x535372['id'])||_0xeac4c8[_0x2d566f(0x1d9)](_0x535372);}}function Y(_0xf74889){if(st(_0xf74889))return new Promise(()=>{});throw _0xf74889;}function st(_0x1bcde4){const _0x5252ed=_0x336e81;return _0x1bcde4[_0x5252ed(0x1df)][_0x5252ed(0x1e6)](_0x5252ed(0x1d1))||_0x1bcde4[_0x5252ed(0x1df)][_0x5252ed(0x1e6)](_0x5252ed(0x1d7));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ef8(){var _0x1adad1=['10538IaDllw','1125054kxahXe','314947cGSqhb','16BfSmQO','33545AuFLSg','TrackChanges','isPremiumPlugin','1749834jDRbOl','6wwgheC','49300WmxLzM','pluginName','requires','RealTimeCollaborativeTrackChanges','isOfficialPlugin','5290pYuXhD','1338qgOclh','4398492zMVmVv'];_0x1ef8=function(){return _0x1adad1;};return _0x1ef8();}var _0x422c18=_0x477e;(function(_0xdc6f72,_0x489c70){var _0x3b35d8=_0x477e,_0x935699=_0xdc6f72();while(!![]){try{var _0xeee2d6=parseInt(_0x3b35d8(0x12a))/0x1+-parseInt(_0x3b35d8(0x129))/0x2+-parseInt(_0x3b35d8(0x130))/0x3*(-parseInt(_0x3b35d8(0x131))/0x4)+parseInt(_0x3b35d8(0x12c))/0x5*(parseInt(_0x3b35d8(0x126))/0x6)+-parseInt(_0x3b35d8(0x127))/0x7+-parseInt(_0x3b35d8(0x12b))/0x8*(parseInt(_0x3b35d8(0x12f))/0x9)+-parseInt(_0x3b35d8(0x125))/0xa*(-parseInt(_0x3b35d8(0x128))/0xb);if(_0xeee2d6===_0x489c70)break;else _0x935699['push'](_0x935699['shift']());}catch(_0x31bc56){_0x935699['push'](_0x935699['shift']());}}}(_0x1ef8,0xba37f));import{Plugin as _0x1a0ccd}from'ckeditor5/src/core.js';function _0x477e(_0x1b614e,_0x51db0e){var _0x1ef8c6=_0x1ef8();return _0x477e=function(_0x477e9c,_0x171370){_0x477e9c=_0x477e9c-0x125;var _0x5f4a3c=_0x1ef8c6[_0x477e9c];return _0x5f4a3c;},_0x477e(_0x1b614e,_0x51db0e);}import{CloudServicesTrackChangesAdapter as _0xc8a32}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x32dca9}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x1a0ccd{static get[_0x422c18(0x133)](){var _0x5ac596=_0x422c18;return[_0x32dca9,_0xc8a32,_0x5ac596(0x12d)];}static get[_0x422c18(0x132)](){var _0x5660d5=_0x422c18;return _0x5660d5(0x134);}static get[_0x422c18(0x135)](){return!0x0;}static get[_0x422c18(0x12e)](){return!0x0;}}
23
+ var _0x7d7f63=_0x2b29;(function(_0x1861bb,_0x38b5b0){var _0xeb658=_0x2b29,_0x3c7b52=_0x1861bb();while(!![]){try{var _0x3d3f20=parseInt(_0xeb658(0xf6))/0x1*(parseInt(_0xeb658(0x103))/0x2)+parseInt(_0xeb658(0xf2))/0x3*(parseInt(_0xeb658(0xf7))/0x4)+-parseInt(_0xeb658(0x100))/0x5*(parseInt(_0xeb658(0xff))/0x6)+-parseInt(_0xeb658(0xfc))/0x7+parseInt(_0xeb658(0xf9))/0x8*(parseInt(_0xeb658(0xf3))/0x9)+parseInt(_0xeb658(0xf8))/0xa*(parseInt(_0xeb658(0xfd))/0xb)+-parseInt(_0xeb658(0xfe))/0xc*(parseInt(_0xeb658(0xf5))/0xd);if(_0x3d3f20===_0x38b5b0)break;else _0x3c7b52['push'](_0x3c7b52['shift']());}catch(_0x52cf20){_0x3c7b52['push'](_0x3c7b52['shift']());}}}(_0x59ad,0xe856b));function _0x59ad(){var _0x1bbd33=['320RZSctN','RealTimeCollaborativeTrackChanges','TrackChanges','5595310VHaiOm','428549ilLixM','12GDxAFm','1073346iYpqee','20BzABsF','isPremiumPlugin','requires','3729854wDQVgZ','isOfficialPlugin','299601mjJMGq','35946XebTEM','pluginName','2138084sHZzKz','1wHrlkr','4cPSFht','130YHalNK'];_0x59ad=function(){return _0x1bbd33;};return _0x59ad();}import{Plugin as _0x160baa}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x539275}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x2b29(_0x1306df,_0x71e529){var _0x59ad36=_0x59ad();return _0x2b29=function(_0x2b29a5,_0x236f56){_0x2b29a5=_0x2b29a5-0xf2;var _0x579c60=_0x59ad36[_0x2b29a5];return _0x579c60;},_0x2b29(_0x1306df,_0x71e529);}import{RealTimeCollaborativeComments as _0x338ee5}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x160baa{static get[_0x7d7f63(0x102)](){var _0x400d23=_0x7d7f63;return[_0x338ee5,_0x539275,_0x400d23(0xfb)];}static get[_0x7d7f63(0xf4)](){var _0x17ef5b=_0x7d7f63;return _0x17ef5b(0xfa);}static get[_0x7d7f63(0x104)](){return!0x0;}static get[_0x7d7f63(0x101)](){return!0x0;}}