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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/LICENSE.md +4 -4
  2. package/build/real-time-collaboration.js +1 -1
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +14 -14
  151. package/src/common-translations.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/presencelist/presencelistui.js +1 -1
  154. package/src/presencelist/view/presencecounterview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  156. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  158. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  159. package/src/presencelist/view/presencelistview.js +1 -1
  160. package/src/presencelist.js +1 -1
  161. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  162. package/src/realtimecollaborativecomments.js +1 -1
  163. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  164. package/src/realtimecollaborativeediting/sessions.js +1 -1
  165. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  166. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  167. package/src/realtimecollaborativeediting.js +1 -1
  168. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  169. package/src/realtimecollaborativerevisionhistory.js +1 -1
  170. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  171. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10f2ab=_0x4a52;(function(_0x50ee1e,_0x3660fb){const _0x4bab3a=_0x4a52,_0x570b80=_0x50ee1e();while(!![]){try{const _0x12fed7=-parseInt(_0x4bab3a(0x16d))/0x1+-parseInt(_0x4bab3a(0x169))/0x2*(parseInt(_0x4bab3a(0x14e))/0x3)+parseInt(_0x4bab3a(0x14b))/0x4*(-parseInt(_0x4bab3a(0x15c))/0x5)+-parseInt(_0x4bab3a(0x16a))/0x6+-parseInt(_0x4bab3a(0x146))/0x7+-parseInt(_0x4bab3a(0x132))/0x8*(parseInt(_0x4bab3a(0x12e))/0x9)+parseInt(_0x4bab3a(0x166))/0xa;if(_0x12fed7===_0x3660fb)break;else _0x570b80['push'](_0x570b80['shift']());}catch(_0x5cbe53){_0x570b80['push'](_0x570b80['shift']());}}}(_0x131e,0xb353e));import{ContextPlugin as _0x1e5828}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x460a16,CKEditorError as _0x466bd2}from'ckeditor5/src/utils.js';function _0x4a52(_0x4e2ab3,_0x24c9f8){const _0x131e0f=_0x131e();return _0x4a52=function(_0x4a5236,_0x153be0){_0x4a5236=_0x4a5236-0x128;let _0x2003b3=_0x131e0f[_0x4a5236];return _0x2003b3;},_0x4a52(_0x4e2ab3,_0x24c9f8);}import{WebSocketGateway as _0x4316d6,WEB_SOCKET_GATEWAY_STATES as _0x26faf5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x26c6b4}from'ckeditor5/src/ui.js';function _0x131e(){const _0x105841=['requires','code','config','state','has','_isBrowserOffline','websocketgateway-missing-websocket-url','3103779Hnvejq','init','real-time-collaboration','limitExceeded','_reconnect','8lvzTSL','context','CONNECTING','9RpvxFP','CloudServices','change:me','then','connection','delete','_reconnectionStack','cloudServices.requestTimeout','destroy','initialReconnectionInterval','cloudServices.connectionTimeout','from','add','cloudservices-reconnection-error','1935345pqfGMr','function','_shouldPluginsReconnect','WebSocketGateway','cloudservices-init','webSocketUrl','all','plugins','websocketgateway-missing-token','error','43821030FslbGg','connected','bind','29828jDQSbV','4616982Sbaeae','isInReconnectionStack','set','1086804rvVFTY','constructor','addToReconnectionStack','online','pluginName','DISCONNECTED','removeFromReconnectionStack','showWarning','_domEmitter','define','websocketgateway-plugin-already-registered','9DqREDx','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.','stopListening','CONNECTED','4231992wlcZvx','websocketgateway-invalid-plugin-interface','isPremiumPlugin','connect','listenTo','token','disconnect','reconnect','catch','Connected\x20users\x20limit\x20exceeded','offline','get','isOfficialPlugin'];_0x131e=function(){return _0x105841;};return _0x131e();}export class WebSocketGateway extends _0x1e5828{static [_0x10f2ab(0x15f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4316d6)());static [_0x10f2ab(0x157)]=0x3e8;[_0x10f2ab(0x152)];[_0x10f2ab(0x154)];[_0x10f2ab(0x15e)];[_0x10f2ab(0x12b)];static get[_0x10f2ab(0x13f)](){const _0x587f49=_0x10f2ab;return[_0x587f49(0x14f),_0x26c6b4];}static get[_0x10f2ab(0x171)](){const _0x32f901=_0x10f2ab;return _0x32f901(0x15f);}static get[_0x10f2ab(0x13e)](){return!0x0;}static get[_0x10f2ab(0x134)](){return!0x0;}constructor(_0x1375e8){const _0x32bdbd=_0x10f2ab;super(_0x1375e8),this[_0x32bdbd(0x16c)](_0x32bdbd(0x142),_0x26faf5[_0x32bdbd(0x131)]),this[_0x32bdbd(0x16c)](_0x32bdbd(0x144),!0x1),this[_0x32bdbd(0x154)]=new Set(),this[_0x32bdbd(0x15e)]=!0x1,this[_0x32bdbd(0x12b)]=new(_0x460a16())();}[_0x10f2ab(0x147)](){const _0x4d04e3=_0x10f2ab,_0x4f930a=this[_0x4d04e3(0x14c)],_0x5cb0f0=_0x4f930a[_0x4d04e3(0x163)][_0x4d04e3(0x13d)](_0x4d04e3(0x14f)),_0x1708ae=_0x4f930a[_0x4d04e3(0x163)][_0x4d04e3(0x13d)](_0x26c6b4);if(!_0x5cb0f0[_0x4d04e3(0x137)])throw new _0x466bd2(_0x4d04e3(0x164),this);if(!_0x5cb0f0[_0x4d04e3(0x161)])throw new _0x466bd2(_0x4d04e3(0x145),this);return this[_0x4d04e3(0x12b)][_0x4d04e3(0x136)](window,_0x4d04e3(0x13c),()=>this[_0x4d04e3(0x144)]=!0x0),this[_0x4d04e3(0x12b)][_0x4d04e3(0x136)](window,_0x4d04e3(0x170),()=>this[_0x4d04e3(0x144)]=!0x1),this[_0x4d04e3(0x14c)][_0x4d04e3(0x141)][_0x4d04e3(0x12c)](_0x4d04e3(0x158),0xa),this[_0x4d04e3(0x14c)][_0x4d04e3(0x141)][_0x4d04e3(0x12c)](_0x4d04e3(0x155),0x14),WebSocketGateway[_0x4d04e3(0x15f)][_0x4d04e3(0x135)](_0x5cb0f0[_0x4d04e3(0x137)],_0x5cb0f0[_0x4d04e3(0x161)],{'timeout':0x3e8*this[_0x4d04e3(0x14c)][_0x4d04e3(0x141)][_0x4d04e3(0x13d)](_0x4d04e3(0x158)),'requestTimeout':0x3e8*this[_0x4d04e3(0x14c)][_0x4d04e3(0x141)][_0x4d04e3(0x13d)](_0x4d04e3(0x155))})[_0x4d04e3(0x151)](_0x2673e4=>{const _0x42a2d5=_0x4d04e3;if(this[_0x42a2d5(0x152)]=_0x2673e4,this[_0x42a2d5(0x168)](_0x42a2d5(0x142))['to'](_0x2673e4,_0x42a2d5(0x142),this,_0x42a2d5(0x144),(_0x35cbe6,_0x17e80c)=>(_0x42a2d5(0x167)!==_0x35cbe6&&(this[_0x42a2d5(0x15e)]=!0x0),_0x17e80c||_0x35cbe6!==_0x26faf5[_0x42a2d5(0x131)]?_0x26faf5[_0x42a2d5(0x128)]:this[_0x42a2d5(0x142)]==_0x26faf5[_0x42a2d5(0x128)]&&this[_0x42a2d5(0x15e)]?(this[_0x42a2d5(0x15e)]=!0x1,this[_0x42a2d5(0x14a)](),_0x26faf5[_0x42a2d5(0x14d)]):_0x26faf5[_0x42a2d5(0x131)])),this[_0x42a2d5(0x152)]['on'](_0x42a2d5(0x165),(_0x291401,_0x5e8163)=>{const _0x54d77=_0x42a2d5;if(_0x54d77(0x149)!==_0x5e8163[_0x54d77(0x140)])throw console[_0x54d77(0x165)](_0x5e8163),new _0x466bd2(_0x54d77(0x160),null,{'originalError':_0x5e8163});_0x1708ae[_0x54d77(0x12a)](_0x54d77(0x12f),{'title':_0x54d77(0x13b),'namespace':_0x54d77(0x148)});}),!_0x2673e4['me'])return new Promise(_0x24e985=>_0x2673e4['on'](_0x42a2d5(0x150),_0x24e985));})[_0x4d04e3(0x13a)](_0x136c16=>{const _0x3f3a80=_0x4d04e3;throw console[_0x3f3a80(0x165)](_0x136c16),new _0x466bd2(_0x3f3a80(0x160),null,{'originalError':_0x136c16});});}[_0x10f2ab(0x16f)](_0x2fe65e){const _0x58f8ee=_0x10f2ab;if(_0x58f8ee(0x15d)!=typeof _0x2fe65e[_0x58f8ee(0x139)])throw new _0x466bd2(_0x58f8ee(0x133),this);if(this[_0x58f8ee(0x16b)](_0x2fe65e))throw new _0x466bd2(_0x58f8ee(0x12d),this,{'name':_0x2fe65e[_0x58f8ee(0x16e)][_0x58f8ee(0x171)]});this[_0x58f8ee(0x154)][_0x58f8ee(0x15a)](_0x2fe65e);}[_0x10f2ab(0x129)](_0x4d6065){const _0x1a0eed=_0x10f2ab;this[_0x1a0eed(0x154)][_0x1a0eed(0x153)](_0x4d6065);}[_0x10f2ab(0x16b)](_0x4fb981){const _0xa76d2b=_0x10f2ab;return this[_0xa76d2b(0x154)][_0xa76d2b(0x143)](_0x4fb981);}[_0x10f2ab(0x14a)](){const _0x3326fd=_0x10f2ab;return this[_0x3326fd(0x152)][_0x3326fd(0x139)]()[_0x3326fd(0x151)](()=>Promise[_0x3326fd(0x162)](Array[_0x3326fd(0x159)](this[_0x3326fd(0x154)],_0x4f8ee5=>_0x4f8ee5[_0x3326fd(0x139)]())))[_0x3326fd(0x151)](()=>this[_0x3326fd(0x142)]=_0x26faf5[_0x3326fd(0x131)])[_0x3326fd(0x13a)](_0x3eddbf=>{const _0x119bd2=_0x3326fd;throw console[_0x119bd2(0x165)](_0x3eddbf),new _0x466bd2(_0x119bd2(0x15b),this[_0x119bd2(0x14c)]);});}[_0x10f2ab(0x138)](){const _0x147ea9=_0x10f2ab;this[_0x147ea9(0x152)]&&this[_0x147ea9(0x152)][_0x147ea9(0x138)](),this[_0x147ea9(0x142)]=_0x26faf5[_0x147ea9(0x128)],this[_0x147ea9(0x12b)][_0x147ea9(0x130)]();}[_0x10f2ab(0x156)](){const _0x30eb7e=_0x10f2ab;this[_0x30eb7e(0x138)](),super[_0x30eb7e(0x156)]();}}
23
+ const _0x75251a=_0x27bd;(function(_0xbb7145,_0x4ee5d6){const _0x554d88=_0x27bd,_0x3dafcd=_0xbb7145();while(!![]){try{const _0x1a3a9d=parseInt(_0x554d88(0x129))/0x1+-parseInt(_0x554d88(0x100))/0x2+parseInt(_0x554d88(0xfd))/0x3+-parseInt(_0x554d88(0x133))/0x4*(parseInt(_0x554d88(0x107))/0x5)+parseInt(_0x554d88(0x101))/0x6*(-parseInt(_0x554d88(0x140))/0x7)+parseInt(_0x554d88(0x123))/0x8*(-parseInt(_0x554d88(0xf9))/0x9)+-parseInt(_0x554d88(0x12e))/0xa*(-parseInt(_0x554d88(0x131))/0xb);if(_0x1a3a9d===_0x4ee5d6)break;else _0x3dafcd['push'](_0x3dafcd['shift']());}catch(_0x5ac81d){_0x3dafcd['push'](_0x3dafcd['shift']());}}}(_0x4769,0x29021));import{ContextPlugin as _0x1a05f9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x30b7f9,CKEditorError as _0x11fc56}from'ckeditor5/src/utils.js';function _0x4769(){const _0x3bad0d=['websocketgateway-plugin-already-registered','_reconnectionStack','bind','destroy','isPremiumPlugin','WebSocketGateway','add','change:me','websocketgateway-missing-websocket-url','function','limitExceeded','CONNECTED','CloudServices','config','addToReconnectionStack','token','code','requires','467848WENgyV','isOfficialPlugin','define','cloudservices-init','from','websocketgateway-missing-token','238772QWBXpn','isInReconnectionStack','pluginName','connect','showWarning','5699470VDKhxu','initialReconnectionInterval','webSocketUrl','11HMSVNa','has','57628lcbzHI','connection','then','_domEmitter','real-time-collaboration','Connected\x20users\x20limit\x20exceeded','get','error','stopListening','reconnect','state','offline','listenTo','34762ovzOIb','websocketgateway-invalid-plugin-interface','catch','CONNECTING','18YVtXpV','online','_reconnect','_shouldPluginsReconnect','389040dnzENI','_isBrowserOffline','disconnect','191382UfqTeE','378NTEesh','plugins','DISCONNECTED','init','set','cloudServices.requestTimeout','85WJaamR','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.','all','delete','constructor','cloudServices.connectionTimeout','removeFromReconnectionStack','connected','context','cloudservices-reconnection-error'];_0x4769=function(){return _0x3bad0d;};return _0x4769();}import{WebSocketGateway as _0x3ba5ed,WEB_SOCKET_GATEWAY_STATES as _0x435d01}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5006db}from'ckeditor5/src/ui.js';function _0x27bd(_0x49ab4b,_0x381706){const _0x476926=_0x4769();return _0x27bd=function(_0x27bdd6,_0x265551){_0x27bdd6=_0x27bdd6-0xf6;let _0x1d9d1c=_0x476926[_0x27bdd6];return _0x1d9d1c;},_0x27bd(_0x49ab4b,_0x381706);}export class WebSocketGateway extends _0x1a05f9{static [_0x75251a(0x116)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3ba5ed)());static [_0x75251a(0x12f)]=0x3e8;[_0x75251a(0x134)];[_0x75251a(0x112)];[_0x75251a(0xfc)];[_0x75251a(0x136)];static get[_0x75251a(0x122)](){const _0x29f6e0=_0x75251a;return[_0x29f6e0(0x11d),_0x5006db];}static get[_0x75251a(0x12b)](){const _0x5aab7e=_0x75251a;return _0x5aab7e(0x116);}static get[_0x75251a(0x124)](){return!0x0;}static get[_0x75251a(0x115)](){return!0x0;}constructor(_0x334f6d){const _0x38871f=_0x75251a;super(_0x334f6d),this[_0x38871f(0x105)](_0x38871f(0x13d),_0x435d01[_0x38871f(0x11c)]),this[_0x38871f(0x105)](_0x38871f(0xfe),!0x1),this[_0x38871f(0x112)]=new Set(),this[_0x38871f(0xfc)]=!0x1,this[_0x38871f(0x136)]=new(_0x30b7f9())();}[_0x75251a(0x104)](){const _0x2ae43a=_0x75251a,_0x4961e1=this[_0x2ae43a(0x10f)],_0x70ec51=_0x4961e1[_0x2ae43a(0x102)][_0x2ae43a(0x139)](_0x2ae43a(0x11d)),_0x121010=_0x4961e1[_0x2ae43a(0x102)][_0x2ae43a(0x139)](_0x5006db);if(!_0x70ec51[_0x2ae43a(0x120)])throw new _0x11fc56(_0x2ae43a(0x128),this);if(!_0x70ec51[_0x2ae43a(0x130)])throw new _0x11fc56(_0x2ae43a(0x119),this);return this[_0x2ae43a(0x136)][_0x2ae43a(0x13f)](window,_0x2ae43a(0x13e),()=>this[_0x2ae43a(0xfe)]=!0x0),this[_0x2ae43a(0x136)][_0x2ae43a(0x13f)](window,_0x2ae43a(0xfa),()=>this[_0x2ae43a(0xfe)]=!0x1),this[_0x2ae43a(0x10f)][_0x2ae43a(0x11e)][_0x2ae43a(0x125)](_0x2ae43a(0x10c),0xa),this[_0x2ae43a(0x10f)][_0x2ae43a(0x11e)][_0x2ae43a(0x125)](_0x2ae43a(0x106),0x14),WebSocketGateway[_0x2ae43a(0x116)][_0x2ae43a(0x12c)](_0x70ec51[_0x2ae43a(0x120)],_0x70ec51[_0x2ae43a(0x130)],{'timeout':0x3e8*this[_0x2ae43a(0x10f)][_0x2ae43a(0x11e)][_0x2ae43a(0x139)](_0x2ae43a(0x10c)),'requestTimeout':0x3e8*this[_0x2ae43a(0x10f)][_0x2ae43a(0x11e)][_0x2ae43a(0x139)](_0x2ae43a(0x106))})[_0x2ae43a(0x135)](_0x483d81=>{const _0x4e714=_0x2ae43a;if(this[_0x4e714(0x134)]=_0x483d81,this[_0x4e714(0x113)](_0x4e714(0x13d))['to'](_0x483d81,_0x4e714(0x13d),this,_0x4e714(0xfe),(_0xac6968,_0x351614)=>(_0x4e714(0x10e)!==_0xac6968&&(this[_0x4e714(0xfc)]=!0x0),_0x351614||_0xac6968!==_0x435d01[_0x4e714(0x11c)]?_0x435d01[_0x4e714(0x103)]:this[_0x4e714(0x13d)]==_0x435d01[_0x4e714(0x103)]&&this[_0x4e714(0xfc)]?(this[_0x4e714(0xfc)]=!0x1,this[_0x4e714(0xfb)](),_0x435d01[_0x4e714(0xf8)]):_0x435d01[_0x4e714(0x11c)])),this[_0x4e714(0x134)]['on'](_0x4e714(0x13a),(_0xd6b4af,_0x5ead36)=>{const _0x1d2f78=_0x4e714;if(_0x1d2f78(0x11b)!==_0x5ead36[_0x1d2f78(0x121)])throw console[_0x1d2f78(0x13a)](_0x5ead36),new _0x11fc56(_0x1d2f78(0x126),null,{'originalError':_0x5ead36});_0x121010[_0x1d2f78(0x12d)](_0x1d2f78(0x108),{'title':_0x1d2f78(0x138),'namespace':_0x1d2f78(0x137)});}),!_0x483d81['me'])return new Promise(_0x505f33=>_0x483d81['on'](_0x4e714(0x118),_0x505f33));})[_0x2ae43a(0xf7)](_0x59788b=>{const _0x1461a2=_0x2ae43a;throw console[_0x1461a2(0x13a)](_0x59788b),new _0x11fc56(_0x1461a2(0x126),null,{'originalError':_0x59788b});});}[_0x75251a(0x11f)](_0x2db47a){const _0x93bce0=_0x75251a;if(_0x93bce0(0x11a)!=typeof _0x2db47a[_0x93bce0(0x13c)])throw new _0x11fc56(_0x93bce0(0xf6),this);if(this[_0x93bce0(0x12a)](_0x2db47a))throw new _0x11fc56(_0x93bce0(0x111),this,{'name':_0x2db47a[_0x93bce0(0x10b)][_0x93bce0(0x12b)]});this[_0x93bce0(0x112)][_0x93bce0(0x117)](_0x2db47a);}[_0x75251a(0x10d)](_0x15f228){const _0x3605a2=_0x75251a;this[_0x3605a2(0x112)][_0x3605a2(0x10a)](_0x15f228);}[_0x75251a(0x12a)](_0x4c7732){const _0x31384f=_0x75251a;return this[_0x31384f(0x112)][_0x31384f(0x132)](_0x4c7732);}[_0x75251a(0xfb)](){const _0x1b3966=_0x75251a;return this[_0x1b3966(0x134)][_0x1b3966(0x13c)]()[_0x1b3966(0x135)](()=>Promise[_0x1b3966(0x109)](Array[_0x1b3966(0x127)](this[_0x1b3966(0x112)],_0x8f76fb=>_0x8f76fb[_0x1b3966(0x13c)]())))[_0x1b3966(0x135)](()=>this[_0x1b3966(0x13d)]=_0x435d01[_0x1b3966(0x11c)])[_0x1b3966(0xf7)](_0x1f1451=>{const _0x2fb426=_0x1b3966;throw console[_0x2fb426(0x13a)](_0x1f1451),new _0x11fc56(_0x2fb426(0x110),this[_0x2fb426(0x10f)]);});}[_0x75251a(0xff)](){const _0x237984=_0x75251a;this[_0x237984(0x134)]&&this[_0x237984(0x134)][_0x237984(0xff)](),this[_0x237984(0x13d)]=_0x435d01[_0x237984(0x103)],this[_0x237984(0x136)][_0x237984(0x13b)]();}[_0x75251a(0x114)](){const _0x1b0900=_0x75251a;this[_0x1b0900(0xff)](),super[_0x1b0900(0x114)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2e1826=_0x1754;function _0x3ff1(){var _0x46201d=['RealTimeCollaborativeEditing','2680381VmldWS','10PZkOGz','188BnVRsk','7211652SxDRqc','4231TRiSrU','3851442KbOBOJ','42nMcIeg','requires','isOfficialPlugin','9099009FaBHzA','30432RIIfbh','26JLcbpI','315paNOVM','209012jXKMgm','8ICCgfK','isPremiumPlugin','pluginName'];_0x3ff1=function(){return _0x46201d;};return _0x3ff1();}(function(_0x5cdff2,_0x21d68b){var _0x142f83=_0x1754,_0x2f7c02=_0x5cdff2();while(!![]){try{var _0x183df8=-parseInt(_0x142f83(0xc1))/0x1*(-parseInt(_0x142f83(0xbf))/0x2)+-parseInt(_0x142f83(0xc3))/0x3*(parseInt(_0x142f83(0xb8))/0x4)+-parseInt(_0x142f83(0xb7))/0x5*(-parseInt(_0x142f83(0xb5))/0x6)+parseInt(_0x142f83(0xc2))/0x7+-parseInt(_0x142f83(0xb9))/0x8*(-parseInt(_0x142f83(0xb4))/0x9)+-parseInt(_0x142f83(0xbe))/0xa*(-parseInt(_0x142f83(0xbd))/0xb)+-parseInt(_0x142f83(0xc0))/0xc*(parseInt(_0x142f83(0xb6))/0xd);if(_0x183df8===_0x21d68b)break;else _0x2f7c02['push'](_0x2f7c02['shift']());}catch(_0xae8c37){_0x2f7c02['push'](_0x2f7c02['shift']());}}}(_0x3ff1,0x8fb64));function _0x1754(_0x2f1cd7,_0x5f3f40){var _0x3ff184=_0x3ff1();return _0x1754=function(_0x1754df,_0x56c60b){_0x1754df=_0x1754df-0xb3;var _0xf4f121=_0x3ff184[_0x1754df];return _0xf4f121;},_0x1754(_0x2f1cd7,_0x5f3f40);}import{Plugin as _0x187c3e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4bafdb}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x187c3e{static get[_0x2e1826(0xc4)](){return[_0x4bafdb];}static get[_0x2e1826(0xbb)](){var _0x4d4614=_0x2e1826;return _0x4d4614(0xbc);}static get[_0x2e1826(0xb3)](){return!0x0;}static get[_0x2e1826(0xba)](){return!0x0;}}
23
+ var _0x3b79a1=_0x295c;function _0xd177(){var _0x1f184c=['pluginName','4349898bqnUUX','5808412aQyRki','4047253swUdaR','5OCkhUT','20509TjYojK','requires','isPremiumPlugin','RealTimeCollaborativeEditing','46dtYzcP','10FohdDU','4052592DtzVTF','13768lnjnPx','18916073qMpGtF','603zotZiP','isOfficialPlugin'];_0xd177=function(){return _0x1f184c;};return _0xd177();}function _0x295c(_0x54ea28,_0x1822af){var _0xd1775c=_0xd177();return _0x295c=function(_0x295c54,_0x4a86c8){_0x295c54=_0x295c54-0x199;var _0x2e3bf3=_0xd1775c[_0x295c54];return _0x2e3bf3;},_0x295c(_0x54ea28,_0x1822af);}(function(_0x23c988,_0xb860dd){var _0x50459e=_0x295c,_0x1afcbe=_0x23c988();while(!![]){try{var _0x2e166f=parseInt(_0x50459e(0x19b))/0x1*(parseInt(_0x50459e(0x19f))/0x2)+-parseInt(_0x50459e(0x1a1))/0x3+parseInt(_0x50459e(0x1a8))/0x4*(-parseInt(_0x50459e(0x19a))/0x5)+parseInt(_0x50459e(0x1a7))/0x6+parseInt(_0x50459e(0x199))/0x7+-parseInt(_0x50459e(0x1a2))/0x8*(-parseInt(_0x50459e(0x1a4))/0x9)+parseInt(_0x50459e(0x1a0))/0xa*(parseInt(_0x50459e(0x1a3))/0xb);if(_0x2e166f===_0xb860dd)break;else _0x1afcbe['push'](_0x1afcbe['shift']());}catch(_0x316e6f){_0x1afcbe['push'](_0x1afcbe['shift']());}}}(_0xd177,0xc4fc4));import{Plugin as _0x593054}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4a78af}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x593054{static get[_0x3b79a1(0x19c)](){return[_0x4a78af];}static get[_0x3b79a1(0x1a6)](){var _0x813246=_0x3b79a1;return _0x813246(0x19e);}static get[_0x3b79a1(0x1a5)](){return!0x0;}static get[_0x3b79a1(0x19d)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39f506=_0x4685;(function(_0x5ac0e3,_0x1e931d){const _0x138c44=_0x4685,_0x4f1396=_0x5ac0e3();while(!![]){try{const _0x98859f=parseInt(_0x138c44(0x240))/0x1+parseInt(_0x138c44(0x1dd))/0x2+parseInt(_0x138c44(0x1d7))/0x3+-parseInt(_0x138c44(0x1df))/0x4*(parseInt(_0x138c44(0x1ee))/0x5)+-parseInt(_0x138c44(0x216))/0x6+-parseInt(_0x138c44(0x238))/0x7+-parseInt(_0x138c44(0x1ea))/0x8*(-parseInt(_0x138c44(0x20a))/0x9);if(_0x98859f===_0x1e931d)break;else _0x4f1396['push'](_0x4f1396['shift']());}catch(_0x40501f){_0x4f1396['push'](_0x4f1396['shift']());}}}(_0xe587,0x4e0e0));import{Plugin as _0x1d7d0f}from'ckeditor5/src/core.js';function _0x4685(_0xf9b1a4,_0x51d6f1){const _0xe5874a=_0xe587();return _0x4685=function(_0x468541,_0x2863d0){_0x468541=_0x468541-0x1d4;let _0x3d0d6e=_0xe5874a[_0x468541];return _0x3d0d6e;},_0x4685(_0xf9b1a4,_0x51d6f1);}import{version as _0x239626}from'ckeditor5/src/utils.js';function _0xe587(){const _0x4ec48f=['RevisionHistoryService','getOperations','_createCurrentRevision','isEnabled','_fixRevision','CloudServicesRevisionHistoryAdapter','_revisionDataBuilder','message','listenTo','getRevisions','fromVersion','400','1531161TWpoIp','add','buildRevisionData','state','_update','cloud-services-internal-error:\x20Request\x20timeout.','revisionsUpdated','isConnected','RevisionHistory','diffData','connection','get','973512QbweJY','authors','catch','once','_bufferUpdate','_handleRevisionsUpdate','remove','toVersion','_preventResendingRevisionData','_startingVersion','_getLatestVersion','createdAt','collaboration.channelId','change:_isConnected','addUser','keys','marker','bind','from','config','pluginName','adapter','baseVersion','destroy','reverse','sendBufferedUpdates','_getLatestVersionFromServerOperations','connected','_bufferedUpdates','setRevisionData','reInit','off','_fetchMissingUsers','RevisionTracker','1092805SWrCED','isEmptyCurrent','getRevision','authorsIds','isOfficialPlugin','reconnect','_lastRequestId','plugins','95904pkONxv','data','CONNECTED','_waitForServiceReady','_revisions','addRevisionData','cloudServices.bundleVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','affectsData','startsWith','950613YqTSbs','isPremiumPlugin','editor','code','getUser','_offset','254254aVPMNC','_handleReconnectionError','24iZqoVI','getMany','has','init','change:_isPendingUpdate','addToReconnectionStack','_isPendingUpdate','repository','max','map','connect','8kXcppE','then','serverHistory','_oldOffset','59960JwxXgH','_revisionTracker','currentRevision','_revisionHistoryService','size','cloud-services-internal-error:\x20Not\x20connected.','length','requires','wrongRequestId','type','sessionId','setSource','updateRevisions','isBundleUploaded','creatorId','_isConnected'];_0xe587=function(){return _0x4ec48f;};return _0xe587();}import{Users as _0x310afb}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2c6ba9}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x1a8962}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3d32a6}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1ec6a0,RevisionHistoryService as _0x1d1e62,User as _0x3fd4f9,WEB_SOCKET_GATEWAY_STATES as _0x197799}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x1d7d0f{static [_0x39f506(0x1fe)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1d1e62)());[_0x39f506(0x23e)];[_0x39f506(0x1ef)];[_0x39f506(0x1f1)];[_0x39f506(0x1ed)];static get[_0x39f506(0x1f5)](){const _0x3490a5=_0x39f506;return[_0x1a8962,_0x2c6ba9,_0x3490a5(0x212),_0x3d32a6,_0x310afb];}static get[_0x39f506(0x22a)](){const _0x541ff3=_0x39f506;return _0x541ff3(0x203);}static get[_0x39f506(0x23c)](){return!0x0;}static get[_0x39f506(0x1d8)](){return!0x0;}constructor(_0x39e7f5){const _0x3fb964=_0x39f506;super(_0x39e7f5);const _0x3cf6c0=this[_0x3fb964(0x1d9)][_0x3fb964(0x229)][_0x3fb964(0x215)](_0x3fb964(0x222));this[_0x3fb964(0x23e)]=null,this[_0x3fb964(0x1ef)]=this[_0x3fb964(0x1d9)][_0x3fb964(0x23f)][_0x3fb964(0x215)](_0x3fb964(0x237)),this[_0x3fb964(0x1f1)]=new CloudServicesRevisionHistoryAdapter[(_0x3fb964(0x1fe))](_0x3cf6c0);}async[_0x39f506(0x1e2)](){const _0x3ad4d7=_0x39f506,_0x10c8f5=this[_0x3ad4d7(0x1d9)][_0x3ad4d7(0x23f)][_0x3ad4d7(0x215)](_0x2c6ba9),_0xbb562f=_0x10c8f5[_0x3ad4d7(0x1ec)],_0x762201=this[_0x3ad4d7(0x1d9)][_0x3ad4d7(0x23f)][_0x3ad4d7(0x215)](_0x1a8962);this[_0x3ad4d7(0x1ef)][_0x3ad4d7(0x1f9)]({'history':_0xbb562f,'getLatestVersion':()=>this[_0x3ad4d7(0x220)](),'getCurrentRevisionId':()=>_0x10c8f5[_0x3ad4d7(0x1f8)]});const _0x3311cf=this[_0x3ad4d7(0x1d9)][_0x3ad4d7(0x229)][_0x3ad4d7(0x215)](_0x3ad4d7(0x246))||_0x239626,_0x18181a=await _0x1ec6a0[_0x3ad4d7(0x1fb)](_0x762201[_0x3ad4d7(0x214)],_0x3311cf);this[_0x3ad4d7(0x1d9)][_0x3ad4d7(0x23f)][_0x3ad4d7(0x215)](_0x3ad4d7(0x212))[_0x3ad4d7(0x22b)]={'getRevision':async({revisionId:_0x3c8e91})=>(await this[_0x3ad4d7(0x243)](),await this[_0x3ad4d7(0x1f1)][_0x3ad4d7(0x23a)](_0x3c8e91)),'updateRevisions':async _0x2a113d=>{const _0x4babce=_0x3ad4d7;await this[_0x4babce(0x243)]();const _0x3cda2c=this[_0x4babce(0x1ef)][_0x4babce(0x1f0)];if(_0x18181a&&0x1===_0x2a113d[_0x4babce(0x1f4)]&&_0x2a113d[0x0]['id']===_0x3cda2c['id'])return _0x2a113d;for(const _0x388f70 of _0x2a113d)_0x388f70['id']===_0x3cda2c['id']&&(_0x388f70[_0x4babce(0x239)]=_0x388f70[_0x4babce(0x208)]===_0x388f70[_0x4babce(0x21d)]);return this[_0x4babce(0x1f1)][_0x4babce(0x1fa)](_0x2a113d,this[_0x4babce(0x23e)])[_0x4babce(0x1eb)](_0x13ff78=>(this[_0x4babce(0x23e)]=_0x13ff78,_0x2a113d))[_0x4babce(0x218)](_0x2f42c0=>{const _0x224870=_0x4babce;if(T(_0x2f42c0)||_0x224870(0x209)===_0x2f42c0[_0x224870(0x1da)]&&void 0x0!==_0x2f42c0[_0x224870(0x241)][_0x224870(0x1f6)]){for(const _0x53d628 of _0x2a113d){!this[_0x224870(0x1ef)][_0x224870(0x1e6)][_0x224870(0x23a)](_0x53d628['id'])||this[_0x224870(0x1ef)][_0x224870(0x21a)](_0x53d628['id'],_0x53d628,!0x1);}if(T(_0x2f42c0))throw _0x2f42c0;return _0x2a113d;}throw _0x2f42c0;});}},this[_0x3ad4d7(0x206)](this[_0x3ad4d7(0x1f1)],_0x3ad4d7(0x210),(_0x7ec4f1,{revisionsData:_0x5d4188,requestId:_0x387c2c})=>{const _0x307ea8=_0x3ad4d7;Math[_0x307ea8(0x1e7)](..._0x5d4188[_0x307ea8(0x1e8)](_0x29d4c3=>_0x29d4c3[_0x307ea8(0x21d)]))>this[_0x307ea8(0x230)]()-0x1?this[_0x307ea8(0x220)]()[_0x307ea8(0x1eb)](()=>{const _0x4b6f3f=_0x307ea8;this[_0x4b6f3f(0x21b)](_0x5d4188,_0x387c2c);}):this[_0x307ea8(0x21b)](_0x5d4188,_0x387c2c);});const {revisions:_0xd974e8,requestId:_0x1c25b1}=await this[_0x3ad4d7(0x1f1)][_0x3ad4d7(0x1e9)](_0x762201[_0x3ad4d7(0x214)]);_0x762201[_0x3ad4d7(0x1e4)](this),this[_0x3ad4d7(0x23e)]=_0x1c25b1,await this[_0x3ad4d7(0x236)](_0xd974e8);for(const _0x1f8274 of _0xd974e8)this[_0x3ad4d7(0x1ef)][_0x3ad4d7(0x245)](_0x1f8274);this[_0x3ad4d7(0x206)](_0x10c8f5,_0x3ad4d7(0x223),(_0x5c418a,_0x32320d,_0x1d63bc)=>{const _0x7b9fd4=_0x3ad4d7;_0x1d63bc&&(this[_0x7b9fd4(0x1ed)]=_0x10c8f5[_0x7b9fd4(0x1dc)],_0x5c418a[_0x7b9fd4(0x235)]());}),this[_0x3ad4d7(0x1ef)][_0x3ad4d7(0x227)](_0x3ad4d7(0x201))['to'](_0x762201,_0x3ad4d7(0x20d),_0x5d1b4b=>_0x5d1b4b===_0x197799[_0x3ad4d7(0x242)]);}async[_0x39f506(0x23d)](){const _0x266f29=_0x39f506,_0x42d4a4=this[_0x266f29(0x1d9)][_0x266f29(0x23f)][_0x266f29(0x215)](_0x1a8962),_0x431d51=this[_0x266f29(0x1d9)][_0x266f29(0x23f)][_0x266f29(0x215)](_0x2c6ba9),_0x700e35=async()=>{const _0x2f5464=_0x266f29,_0x234efd=this[_0x2f5464(0x1ef)][_0x2f5464(0x1f0)],_0x4543fb=_0x234efd['id'],_0x54fa29=_0x4543fb!==_0x431d51[_0x2f5464(0x1f8)];if(_0x54fa29){const _0x1023a0=_0x431d51[_0x2f5464(0x1dc)]-this[_0x2f5464(0x1ed)],_0x263d66=this[_0x2f5464(0x230)]();this[_0x2f5464(0x1ef)][_0x2f5464(0x204)][_0x2f5464(0x234)]();if(_0x234efd[_0x2f5464(0x21d)]+_0x1023a0!==_0x263d66){const _0x3f16f3=_0x234efd[_0x2f5464(0x208)]+_0x1023a0,_0x203357=this[_0x2f5464(0x1d9)][_0x2f5464(0x23f)][_0x2f5464(0x215)](_0x310afb),_0x2102f0=this[_0x2f5464(0x1ef)][_0x2f5464(0x20c)]({'revision':_0x234efd,'from':_0x3f16f3,'to':_0x263d66});_0x2102f0['id']=_0x234efd['id'];const _0x372afa=_0x2102f0[_0x2f5464(0x23b)][_0x2f5464(0x1e8)](_0x1f5f1d=>_0x203357[_0x2f5464(0x1db)](_0x1f5f1d));_0x234efd[_0x2f5464(0x20e)]({..._0x2102f0,'authors':_0x372afa},!0x0),this[_0x2f5464(0x1ef)][_0x2f5464(0x21a)](_0x234efd['id'],_0x2102f0,!0x0);}this[_0x2f5464(0x1ef)][_0x2f5464(0x21f)]=_0x263d66,(_0x234efd[_0x2f5464(0x21d)]===_0x234efd[_0x2f5464(0x208)]&&!this[_0x2f5464(0x1ef)][_0x2f5464(0x232)][_0x2f5464(0x1e1)](_0x4543fb)&&this[_0x2f5464(0x1ef)][_0x2f5464(0x1e6)][_0x2f5464(0x244)][_0x2f5464(0x21c)](_0x4543fb),this[_0x2f5464(0x1ef)][_0x2f5464(0x200)](_0x263d66));}const {revisions:_0x5e1695,requestId:_0x18a821}=await this[_0x2f5464(0x1f1)][_0x2f5464(0x23d)](_0x42d4a4[_0x2f5464(0x214)],this[_0x2f5464(0x23e)]);_0x54fa29&&_0x5e1695[_0x2f5464(0x1f4)]>0x0?_0x431d51[_0x2f5464(0x1de)]():(await this[_0x2f5464(0x236)](_0x5e1695),this[_0x2f5464(0x21b)](_0x5e1695,_0x18a821),this[_0x2f5464(0x1ef)][_0x2f5464(0x22f)]());};return _0x431d51[_0x266f29(0x1fd)]?_0x700e35():new Promise((_0x1a2033,_0x264e69)=>{const _0x11d104=_0x266f29;_0x431d51[_0x11d104(0x219)](_0x11d104(0x223),()=>{const _0x180df5=_0x11d104;_0x700e35()[_0x180df5(0x1eb)](_0x1a2033)[_0x180df5(0x218)](_0x264e69);});});}[_0x39f506(0x22d)](){const _0xf0d87c=_0x39f506;super[_0xf0d87c(0x22d)]();}async[_0x39f506(0x243)](){const _0x81f76e=_0x39f506;this[_0x81f76e(0x1f1)][_0x81f76e(0x211)]||await new Promise(_0x4f8465=>{const _0x23dcf7=_0x81f76e;this[_0x23dcf7(0x206)](this[_0x23dcf7(0x1f1)],_0x23dcf7(0x231),_0x384a8c=>{const _0x1d1871=_0x23dcf7;_0x384a8c[_0x1d1871(0x235)](),_0x4f8465();});});}[_0x39f506(0x230)](){const _0x4c8b8b=_0x39f506,_0x2139a7=this[_0x4c8b8b(0x1d9)][_0x4c8b8b(0x23f)][_0x4c8b8b(0x215)](_0x2c6ba9)[_0x4c8b8b(0x1ec)][_0x4c8b8b(0x1ff)]()[_0x4c8b8b(0x22e)]();for(const _0x4e3193 of _0x2139a7)if(_0x4c8b8b(0x226)!==_0x4e3193[_0x4c8b8b(0x1f7)]||_0x4e3193[_0x4c8b8b(0x1d5)])return _0x4e3193[_0x4c8b8b(0x22c)]+0x1;}[_0x39f506(0x220)](){const _0x308755=_0x39f506,_0xc6a869=this[_0x308755(0x1d9)][_0x308755(0x23f)][_0x308755(0x215)](_0x2c6ba9);return new Promise(_0x9356eb=>{const _0x5cb1be=_0x308755;_0xc6a869[_0x5cb1be(0x1e5)]?_0xc6a869[_0x5cb1be(0x219)](_0x5cb1be(0x1e3),()=>{const _0x5830ba=_0x5cb1be;_0x9356eb(this[_0x5830ba(0x230)]());}):_0x9356eb(this[_0x5cb1be(0x230)]());});}[_0x39f506(0x21b)](_0x3e3333,_0x563b52){const _0x250994=_0x39f506,_0x25514c=this[_0x250994(0x1ef)][_0x250994(0x1e6)];this[_0x250994(0x23e)]=_0x563b52;for(const _0x3e47e5 of _0x3e3333){const _0x74d27=_0x25514c[_0x250994(0x23a)](_0x3e47e5['id']);if(_0x74d27){if((_0x3e47e5[_0x250994(0x208)]||_0x3e47e5[_0x250994(0x21d)])&&(_0x3e47e5[_0x250994(0x213)]=null),_0x74d27===this[_0x250994(0x1ef)][_0x250994(0x1f0)]){const _0x3e3208=Math[_0x250994(0x1e7)](_0x74d27[_0x250994(0x21d)],_0x3e47e5[_0x250994(0x21d)]),_0x5162ee=Math[_0x250994(0x1e7)](_0x74d27[_0x250994(0x208)],_0x3e47e5[_0x250994(0x208)]);let _0x56f9a7;_0x74d27[_0x250994(0x21d)]===_0x3e47e5[_0x250994(0x21d)]&&_0x74d27[_0x250994(0x208)]===_0x3e47e5[_0x250994(0x208)]?(_0x56f9a7=!0x0,this[_0x250994(0x21e)](_0x3e47e5)):_0x3e47e5[_0x250994(0x21d)]===_0x3e3208&&_0x3e47e5[_0x250994(0x208)]===_0x5162ee?_0x56f9a7=!0x1:(_0x74d27[_0x250994(0x21d)]===_0x3e3208&&_0x74d27[_0x250994(0x208)]===_0x5162ee||this[_0x250994(0x202)]({'revision':_0x74d27,'from':_0x5162ee,'to':_0x3e3208}),_0x56f9a7=!0x0),_0x56f9a7&&(delete _0x3e47e5[_0x250994(0x208)],delete _0x3e47e5[_0x250994(0x21d)],delete _0x3e47e5[_0x250994(0x213)],delete _0x3e47e5[_0x250994(0x221)],delete _0x3e47e5[_0x250994(0x23b)]);}this[_0x250994(0x1ef)][_0x250994(0x233)](_0x3e47e5),this[_0x250994(0x21e)](_0x3e47e5);}else this[_0x250994(0x1ef)][_0x250994(0x245)](_0x3e47e5);}const _0x25155b=_0x25514c[_0x250994(0x207)]();_0x25155b[_0x250994(0x22e)]();for(let _0xc0e7c5=0x0;_0xc0e7c5<_0x25155b[_0x250994(0x1f4)]-0x1;_0xc0e7c5++){const _0x2bede5=_0x25155b[_0xc0e7c5],_0x516198=_0x25155b[_0xc0e7c5+0x1];if(_0x2bede5[_0x250994(0x208)]<_0x516198[_0x250994(0x21d)]){const _0xcec0bd=_0x516198[_0x250994(0x21d)],_0x39ec96=Math[_0x250994(0x1e7)](_0xcec0bd,_0x2bede5[_0x250994(0x21d)]);this[_0x250994(0x202)]({'revision':_0x2bede5,'from':_0xcec0bd,'to':_0x39ec96});}}}[_0x39f506(0x202)]({revision:_0x252e91,from:_0x33d132,to:_0x4b059b}={}){const _0x8d26a0=_0x39f506,_0x2474d6=this[_0x8d26a0(0x1d9)][_0x8d26a0(0x23f)][_0x8d26a0(0x215)](_0x310afb),_0xabf85c=this[_0x8d26a0(0x1ef)][_0x8d26a0(0x20c)]({'revision':_0x252e91,'from':_0x33d132,'to':_0x4b059b});_0xabf85c[_0x8d26a0(0x217)]=_0xabf85c[_0x8d26a0(0x23b)][_0x8d26a0(0x1e8)](_0x5ac657=>_0x2474d6[_0x8d26a0(0x1db)](_0x5ac657)),_0x252e91[_0x8d26a0(0x20e)](_0xabf85c);}[_0x39f506(0x21e)](_0x2c2594){const _0x25287e=_0x39f506,_0x1ab743={};_0x1ab743['id']=_0x2c2594['id'];for(const _0x2d1763 of Object[_0x25287e(0x225)](_0x2c2594))'id'!==_0x2d1763&&(_0x1ab743[_0x2d1763]=void 0x0);this[_0x25287e(0x1ef)][_0x25287e(0x21a)](_0x1ab743['id'],_0x1ab743,!0x0);}async[_0x39f506(0x236)](_0x626f81){const _0xf5b2eb=_0x39f506,_0x1a017e=this[_0xf5b2eb(0x1d9)][_0xf5b2eb(0x23f)][_0xf5b2eb(0x215)](_0x310afb),{connection:_0x3fa2f3}=this[_0xf5b2eb(0x1d9)][_0xf5b2eb(0x23f)][_0xf5b2eb(0x215)](_0x1a8962),_0x1ec8f8=new Set();for(const _0x91c67f of _0x626f81){for(const _0x2b7d54 of _0x91c67f[_0xf5b2eb(0x23b)])_0x163576(_0x2b7d54);_0x91c67f[_0xf5b2eb(0x1fc)]&&_0x163576(_0x91c67f[_0xf5b2eb(0x1fc)]);}if(0x0===_0x1ec8f8[_0xf5b2eb(0x1f2)])return;const _0x1eb605=await _0x3fd4f9[_0xf5b2eb(0x1e0)](_0x3fa2f3,Array[_0xf5b2eb(0x228)](_0x1ec8f8));for(const _0x381e6a of _0x1eb605)_0x1a017e[_0xf5b2eb(0x1db)](_0x381e6a['id'])||_0x1a017e[_0xf5b2eb(0x224)](_0x381e6a);function _0x163576(_0x1bb0fd){const _0x2df908=_0xf5b2eb;_0x1a017e[_0x2df908(0x1db)](_0x1bb0fd)||_0x1ec8f8[_0x2df908(0x20b)](_0x1bb0fd);}}}function T(_0x424783){const _0x55c0e3=_0x39f506;return _0x424783[_0x55c0e3(0x205)][_0x55c0e3(0x1d6)](_0x55c0e3(0x1d4))||_0x424783[_0x55c0e3(0x205)][_0x55c0e3(0x1d6)](_0x55c0e3(0x1f3))||_0x424783[_0x55c0e3(0x205)][_0x55c0e3(0x1d6)](_0x55c0e3(0x20f));}
23
+ const _0x13dfdd=_0x22ec;(function(_0x1aa75b,_0x153b34){const _0x170fd6=_0x22ec,_0x403289=_0x1aa75b();while(!![]){try{const _0x53d1a3=parseInt(_0x170fd6(0xaf))/0x1+-parseInt(_0x170fd6(0xaa))/0x2*(parseInt(_0x170fd6(0xdf))/0x3)+parseInt(_0x170fd6(0xa9))/0x4+parseInt(_0x170fd6(0x97))/0x5*(parseInt(_0x170fd6(0xc4))/0x6)+-parseInt(_0x170fd6(0x104))/0x7*(-parseInt(_0x170fd6(0xb9))/0x8)+-parseInt(_0x170fd6(0xb4))/0x9*(-parseInt(_0x170fd6(0x100))/0xa)+parseInt(_0x170fd6(0xd5))/0xb*(-parseInt(_0x170fd6(0xfb))/0xc);if(_0x53d1a3===_0x153b34)break;else _0x403289['push'](_0x403289['shift']());}catch(_0xb493a7){_0x403289['push'](_0x403289['shift']());}}}(_0x4830,0x96677));import{Plugin as _0x4fe561}from'ckeditor5/src/core.js';function _0x22ec(_0x35d2ca,_0x4625bf){const _0x483035=_0x4830();return _0x22ec=function(_0x22ecc0,_0x1a0a38){_0x22ecc0=_0x22ecc0-0x8f;let _0x4c1c6d=_0x483035[_0x22ecc0];return _0x4c1c6d;},_0x22ec(_0x35d2ca,_0x4625bf);}import{version as _0x28d4b3}from'ckeditor5/src/utils.js';import{Users as _0x59e976}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0xab8c24}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x56a80e}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1654d2}from'../realtimecollaborativeediting/sessions.js';function _0x4830(){const _0x236cd8=['getRevisions','addToReconnectionStack','code','type','once','init','getUser','connect','baseVersion','config','marker','sendBufferedUpdates','creatorId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isBundleUploaded','_revisionHistoryService','1884SIzFwr','map','_bufferUpdate','isEnabled','reverse','410FYEJTn','destroy','repository','_bufferedUpdates','27377GSVFKU','isPremiumPlugin','updateRevisions','getMany','_revisionDataBuilder','change:_isConnected','_offset','fromVersion','_lastRequestId','57755kKRgOj','getOperations','catch','CONNECTED','getRevision','400','_preventResendingRevisionData','connection','max','isConnected','pluginName','add','_update','adapter','_getLatestVersionFromServerOperations','wrongRequestId','_fixRevision','_isConnected','3108604cYaoaX','2194102vimnZX','addUser','isEmptyCurrent','_createCurrentRevision','then','268071rtsVbw','_startingVersion','state','collaboration.channelId','_handleReconnectionError','83349xHFNjR','authors','connected','setRevisionData','_revisions','752KcOoCS','off','affectsData','_isPendingUpdate','from','startsWith','RevisionTracker','createdAt','data','authorsIds','setSource','282OxjqxF','cloud-services-internal-error:\x20Request\x20timeout.','message','_waitForServiceReady','cloud-services-internal-error:\x20Not\x20connected.','isOfficialPlugin','serverHistory','listenTo','revisionsUpdated','change:_isPendingUpdate','_fetchMissingUsers','RevisionHistory','remove','currentRevision','CloudServicesRevisionHistoryAdapter','get','_getLatestVersion','43604fEZeqR','editor','diffData','size','has','length','reconnect','keys','RevisionHistoryService','_revisionTracker','3cDDEhv','addRevisionData','buildRevisionData','reInit','requires','toVersion','_oldOffset','plugins','bind','_handleRevisionsUpdate','sessionId','cloudServices.bundleVersion'];_0x4830=function(){return _0x236cd8;};return _0x4830();}import{EditorService as _0x2bd084,RevisionHistoryService as _0x29485f,User as _0x2ca627,WEB_SOCKET_GATEWAY_STATES as _0x30abf5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4fe561{static [_0x13dfdd(0xdd)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x29485f)());[_0x13dfdd(0x96)];[_0x13dfdd(0xde)];[_0x13dfdd(0xfa)];[_0x13dfdd(0xe5)];static get[_0x13dfdd(0xe3)](){const _0x57aead=_0x13dfdd;return[_0x56a80e,_0xab8c24,_0x57aead(0xcf),_0x1654d2,_0x59e976];}static get[_0x13dfdd(0xa1)](){const _0x5000c3=_0x13dfdd;return _0x5000c3(0xd2);}static get[_0x13dfdd(0xc9)](){return!0x0;}static get[_0x13dfdd(0x8f)](){return!0x0;}constructor(_0x4a9263){const _0x1894ef=_0x13dfdd;super(_0x4a9263);const _0x252989=this[_0x1894ef(0xd6)][_0x1894ef(0xf4)][_0x1894ef(0xd3)](_0x1894ef(0xb2));this[_0x1894ef(0x96)]=null,this[_0x1894ef(0xde)]=this[_0x1894ef(0xd6)][_0x1894ef(0xe6)][_0x1894ef(0xd3)](_0x1894ef(0xbf)),this[_0x1894ef(0xfa)]=new CloudServicesRevisionHistoryAdapter[(_0x1894ef(0xdd))](_0x252989);}async[_0x13dfdd(0xf0)](){const _0x9c35c=_0x13dfdd,_0x5e98b5=this[_0x9c35c(0xd6)][_0x9c35c(0xe6)][_0x9c35c(0xd3)](_0xab8c24),_0x94595a=_0x5e98b5[_0x9c35c(0xca)],_0x4da1fe=this[_0x9c35c(0xd6)][_0x9c35c(0xe6)][_0x9c35c(0xd3)](_0x56a80e);this[_0x9c35c(0xde)][_0x9c35c(0xc3)]({'history':_0x94595a,'getLatestVersion':()=>this[_0x9c35c(0xd4)](),'getCurrentRevisionId':()=>_0x5e98b5[_0x9c35c(0xe9)]});const _0x17e9c0=this[_0x9c35c(0xd6)][_0x9c35c(0xf4)][_0x9c35c(0xd3)](_0x9c35c(0xea))||_0x28d4b3,_0x9ab8cb=await _0x2bd084[_0x9c35c(0xf9)](_0x4da1fe[_0x9c35c(0x9e)],_0x17e9c0);this[_0x9c35c(0xd6)][_0x9c35c(0xe6)][_0x9c35c(0xd3)](_0x9c35c(0xcf))[_0x9c35c(0xa4)]={'getRevision':async({revisionId:_0x33fdfd})=>(await this[_0x9c35c(0xc7)](),await this[_0x9c35c(0xfa)][_0x9c35c(0x9b)](_0x33fdfd)),'updateRevisions':async _0x54711f=>{const _0x211bfa=_0x9c35c;await this[_0x211bfa(0xc7)]();const _0x1c21da=this[_0x211bfa(0xde)][_0x211bfa(0xd1)];if(_0x9ab8cb&&0x1===_0x54711f[_0x211bfa(0xda)]&&_0x54711f[0x0]['id']===_0x1c21da['id'])return _0x54711f;for(const _0x14497f of _0x54711f)_0x14497f['id']===_0x1c21da['id']&&(_0x14497f[_0x211bfa(0xac)]=_0x14497f[_0x211bfa(0x95)]===_0x14497f[_0x211bfa(0xe4)]);return this[_0x211bfa(0xfa)][_0x211bfa(0x90)](_0x54711f,this[_0x211bfa(0x96)])[_0x211bfa(0xae)](_0x5d82fe=>(this[_0x211bfa(0x96)]=_0x5d82fe,_0x54711f))[_0x211bfa(0x99)](_0x38ea7a=>{const _0x59d229=_0x211bfa;if(I(_0x38ea7a)||_0x59d229(0x9c)===_0x38ea7a[_0x59d229(0xed)]&&void 0x0!==_0x38ea7a[_0x59d229(0xc1)][_0x59d229(0xa6)]){for(const _0x1ca1bc of _0x54711f){!this[_0x59d229(0xde)][_0x59d229(0x102)][_0x59d229(0x9b)](_0x1ca1bc['id'])||this[_0x59d229(0xde)][_0x59d229(0xfd)](_0x1ca1bc['id'],_0x1ca1bc,!0x1);}if(I(_0x38ea7a))throw _0x38ea7a;return _0x54711f;}throw _0x38ea7a;});}},this[_0x9c35c(0xcb)](this[_0x9c35c(0xfa)],_0x9c35c(0xcc),(_0x5582af,{revisionsData:_0x23ae52,requestId:_0x35ed8c})=>{const _0x43e839=_0x9c35c;Math[_0x43e839(0x9f)](..._0x23ae52[_0x43e839(0xfc)](_0x274997=>_0x274997[_0x43e839(0xe4)]))>this[_0x43e839(0xa5)]()-0x1?this[_0x43e839(0xd4)]()[_0x43e839(0xae)](()=>{const _0x46f5c0=_0x43e839;this[_0x46f5c0(0xe8)](_0x23ae52,_0x35ed8c);}):this[_0x43e839(0xe8)](_0x23ae52,_0x35ed8c);});const {revisions:_0xdee1c7,requestId:_0x3e15a8}=await this[_0x9c35c(0xfa)][_0x9c35c(0xf2)](_0x4da1fe[_0x9c35c(0x9e)]);_0x4da1fe[_0x9c35c(0xec)](this),this[_0x9c35c(0x96)]=_0x3e15a8,await this[_0x9c35c(0xce)](_0xdee1c7);for(const _0x500041 of _0xdee1c7)this[_0x9c35c(0xde)][_0x9c35c(0xe0)](_0x500041);this[_0x9c35c(0xcb)](_0x5e98b5,_0x9c35c(0x93),(_0x56f203,_0x5277d8,_0x3fd69)=>{const _0x490c1e=_0x9c35c;_0x3fd69&&(this[_0x490c1e(0xe5)]=_0x5e98b5[_0x490c1e(0x94)],_0x56f203[_0x490c1e(0xba)]());}),this[_0x9c35c(0xde)][_0x9c35c(0xe7)](_0x9c35c(0xfe))['to'](_0x4da1fe,_0x9c35c(0xb1),_0x47d246=>_0x47d246===_0x30abf5[_0x9c35c(0x9a)]);}async[_0x13dfdd(0xdb)](){const _0x45b113=_0x13dfdd,_0x788282=this[_0x45b113(0xd6)][_0x45b113(0xe6)][_0x45b113(0xd3)](_0x56a80e),_0x18ebd2=this[_0x45b113(0xd6)][_0x45b113(0xe6)][_0x45b113(0xd3)](_0xab8c24),_0x48a996=async()=>{const _0x4ebc2e=_0x45b113,_0x1a6779=this[_0x4ebc2e(0xde)][_0x4ebc2e(0xd1)],_0x9871b5=_0x1a6779['id'],_0x2369fc=_0x9871b5!==_0x18ebd2[_0x4ebc2e(0xe9)];if(_0x2369fc){const _0xeea35b=_0x18ebd2[_0x4ebc2e(0x94)]-this[_0x4ebc2e(0xe5)],_0x1a73f3=this[_0x4ebc2e(0xa5)]();this[_0x4ebc2e(0xde)][_0x4ebc2e(0x92)][_0x4ebc2e(0xe2)]();if(_0x1a6779[_0x4ebc2e(0xe4)]+_0xeea35b!==_0x1a73f3){const _0x55c3dd=_0x1a6779[_0x4ebc2e(0x95)]+_0xeea35b,_0x123a1d=this[_0x4ebc2e(0xd6)][_0x4ebc2e(0xe6)][_0x4ebc2e(0xd3)](_0x59e976),_0x8ba1f0=this[_0x4ebc2e(0xde)][_0x4ebc2e(0xe1)]({'revision':_0x1a6779,'from':_0x55c3dd,'to':_0x1a73f3});_0x8ba1f0['id']=_0x1a6779['id'];const _0x2769f8=_0x8ba1f0[_0x4ebc2e(0xc2)][_0x4ebc2e(0xfc)](_0x488d49=>_0x123a1d[_0x4ebc2e(0xf1)](_0x488d49));_0x1a6779[_0x4ebc2e(0xa3)]({..._0x8ba1f0,'authors':_0x2769f8},!0x0),this[_0x4ebc2e(0xde)][_0x4ebc2e(0xfd)](_0x1a6779['id'],_0x8ba1f0,!0x0);}this[_0x4ebc2e(0xde)][_0x4ebc2e(0xb0)]=_0x1a73f3,(_0x1a6779[_0x4ebc2e(0xe4)]===_0x1a6779[_0x4ebc2e(0x95)]&&!this[_0x4ebc2e(0xde)][_0x4ebc2e(0x103)][_0x4ebc2e(0xd9)](_0x9871b5)&&this[_0x4ebc2e(0xde)][_0x4ebc2e(0x102)][_0x4ebc2e(0xb8)][_0x4ebc2e(0xd0)](_0x9871b5),this[_0x4ebc2e(0xde)][_0x4ebc2e(0xad)](_0x1a73f3));}const {revisions:_0x8068a4,requestId:_0x4280e3}=await this[_0x4ebc2e(0xfa)][_0x4ebc2e(0xdb)](_0x788282[_0x4ebc2e(0x9e)],this[_0x4ebc2e(0x96)]);_0x2369fc&&_0x8068a4[_0x4ebc2e(0xda)]>0x0?_0x18ebd2[_0x4ebc2e(0xb3)]():(await this[_0x4ebc2e(0xce)](_0x8068a4),this[_0x4ebc2e(0xe8)](_0x8068a4,_0x4280e3),this[_0x4ebc2e(0xde)][_0x4ebc2e(0xf6)]());};return _0x18ebd2[_0x45b113(0xa8)]?_0x48a996():new Promise((_0x121b57,_0x352b5f)=>{const _0x301c2a=_0x45b113;_0x18ebd2[_0x301c2a(0xef)](_0x301c2a(0x93),()=>{const _0x13a377=_0x301c2a;_0x48a996()[_0x13a377(0xae)](_0x121b57)[_0x13a377(0x99)](_0x352b5f);});});}[_0x13dfdd(0x101)](){const _0x25f18a=_0x13dfdd;super[_0x25f18a(0x101)]();}async[_0x13dfdd(0xc7)](){const _0x50b861=_0x13dfdd;this[_0x50b861(0xfa)][_0x50b861(0xa0)]||await new Promise(_0x42d533=>{const _0xbfb838=_0x50b861;this[_0xbfb838(0xcb)](this[_0xbfb838(0xfa)],_0xbfb838(0xb6),_0x583032=>{const _0x3421fa=_0xbfb838;_0x583032[_0x3421fa(0xba)](),_0x42d533();});});}[_0x13dfdd(0xa5)](){const _0x5a6aba=_0x13dfdd,_0x57a01b=this[_0x5a6aba(0xd6)][_0x5a6aba(0xe6)][_0x5a6aba(0xd3)](_0xab8c24)[_0x5a6aba(0xca)][_0x5a6aba(0x98)]()[_0x5a6aba(0xff)]();for(const _0x40852f of _0x57a01b)if(_0x5a6aba(0xf5)!==_0x40852f[_0x5a6aba(0xee)]||_0x40852f[_0x5a6aba(0xbb)])return _0x40852f[_0x5a6aba(0xf3)]+0x1;}[_0x13dfdd(0xd4)](){const _0x29e47a=_0x13dfdd,_0x170095=this[_0x29e47a(0xd6)][_0x29e47a(0xe6)][_0x29e47a(0xd3)](_0xab8c24);return new Promise(_0x3abc81=>{const _0x78f7ad=_0x29e47a;_0x170095[_0x78f7ad(0xbc)]?_0x170095[_0x78f7ad(0xef)](_0x78f7ad(0xcd),()=>{const _0x476f2d=_0x78f7ad;_0x3abc81(this[_0x476f2d(0xa5)]());}):_0x3abc81(this[_0x78f7ad(0xa5)]());});}[_0x13dfdd(0xe8)](_0x28306e,_0x338cad){const _0x57a2b0=_0x13dfdd,_0x557095=this[_0x57a2b0(0xde)][_0x57a2b0(0x102)];this[_0x57a2b0(0x96)]=_0x338cad;for(const _0x2da772 of _0x28306e){const _0x202746=_0x557095[_0x57a2b0(0x9b)](_0x2da772['id']);if(_0x202746){if((_0x2da772[_0x57a2b0(0x95)]||_0x2da772[_0x57a2b0(0xe4)])&&(_0x2da772[_0x57a2b0(0xd7)]=null),_0x202746===this[_0x57a2b0(0xde)][_0x57a2b0(0xd1)]){const _0x33c7f6=Math[_0x57a2b0(0x9f)](_0x202746[_0x57a2b0(0xe4)],_0x2da772[_0x57a2b0(0xe4)]),_0x1cc5da=Math[_0x57a2b0(0x9f)](_0x202746[_0x57a2b0(0x95)],_0x2da772[_0x57a2b0(0x95)]);let _0x203640;_0x202746[_0x57a2b0(0xe4)]===_0x2da772[_0x57a2b0(0xe4)]&&_0x202746[_0x57a2b0(0x95)]===_0x2da772[_0x57a2b0(0x95)]?(_0x203640=!0x0,this[_0x57a2b0(0x9d)](_0x2da772)):_0x2da772[_0x57a2b0(0xe4)]===_0x33c7f6&&_0x2da772[_0x57a2b0(0x95)]===_0x1cc5da?_0x203640=!0x1:(_0x202746[_0x57a2b0(0xe4)]===_0x33c7f6&&_0x202746[_0x57a2b0(0x95)]===_0x1cc5da||this[_0x57a2b0(0xa7)]({'revision':_0x202746,'from':_0x1cc5da,'to':_0x33c7f6}),_0x203640=!0x0),_0x203640&&(delete _0x2da772[_0x57a2b0(0x95)],delete _0x2da772[_0x57a2b0(0xe4)],delete _0x2da772[_0x57a2b0(0xd7)],delete _0x2da772[_0x57a2b0(0xc0)],delete _0x2da772[_0x57a2b0(0xc2)]);}this[_0x57a2b0(0xde)][_0x57a2b0(0xb7)](_0x2da772),this[_0x57a2b0(0x9d)](_0x2da772);}else this[_0x57a2b0(0xde)][_0x57a2b0(0xe0)](_0x2da772);}const _0x3da1b5=_0x557095[_0x57a2b0(0xeb)]();_0x3da1b5[_0x57a2b0(0xff)]();for(let _0x194bd3=0x0;_0x194bd3<_0x3da1b5[_0x57a2b0(0xda)]-0x1;_0x194bd3++){const _0x1f705d=_0x3da1b5[_0x194bd3],_0x1f7ff5=_0x3da1b5[_0x194bd3+0x1];if(_0x1f705d[_0x57a2b0(0x95)]<_0x1f7ff5[_0x57a2b0(0xe4)]){const _0x216e53=_0x1f7ff5[_0x57a2b0(0xe4)],_0x3c1f33=Math[_0x57a2b0(0x9f)](_0x216e53,_0x1f705d[_0x57a2b0(0xe4)]);this[_0x57a2b0(0xa7)]({'revision':_0x1f705d,'from':_0x216e53,'to':_0x3c1f33});}}}[_0x13dfdd(0xa7)]({revision:_0x4ab932,from:_0x494743,to:_0x3e4aee}={}){const _0x14f8f8=_0x13dfdd,_0x3d52f9=this[_0x14f8f8(0xd6)][_0x14f8f8(0xe6)][_0x14f8f8(0xd3)](_0x59e976),_0x2e172a=this[_0x14f8f8(0xde)][_0x14f8f8(0xe1)]({'revision':_0x4ab932,'from':_0x494743,'to':_0x3e4aee});_0x2e172a[_0x14f8f8(0xb5)]=_0x2e172a[_0x14f8f8(0xc2)][_0x14f8f8(0xfc)](_0x190916=>_0x3d52f9[_0x14f8f8(0xf1)](_0x190916)),_0x4ab932[_0x14f8f8(0xa3)](_0x2e172a);}[_0x13dfdd(0x9d)](_0x3a0f38){const _0x542b5e=_0x13dfdd,_0x102dab={};_0x102dab['id']=_0x3a0f38['id'];for(const _0x2f2885 of Object[_0x542b5e(0xdc)](_0x3a0f38))'id'!==_0x2f2885&&(_0x102dab[_0x2f2885]=void 0x0);this[_0x542b5e(0xde)][_0x542b5e(0xfd)](_0x102dab['id'],_0x102dab,!0x0);}async[_0x13dfdd(0xce)](_0x5c2e0c){const _0xbc7147=_0x13dfdd,_0x2f44e3=this[_0xbc7147(0xd6)][_0xbc7147(0xe6)][_0xbc7147(0xd3)](_0x59e976),{connection:_0x4265fd}=this[_0xbc7147(0xd6)][_0xbc7147(0xe6)][_0xbc7147(0xd3)](_0x56a80e),_0x43783d=new Set();for(const _0x1fe50c of _0x5c2e0c){for(const _0x5c5b7b of _0x1fe50c[_0xbc7147(0xc2)])_0x185c90(_0x5c5b7b);_0x1fe50c[_0xbc7147(0xf7)]&&_0x185c90(_0x1fe50c[_0xbc7147(0xf7)]);}if(0x0===_0x43783d[_0xbc7147(0xd8)])return;const _0x56089e=await _0x2ca627[_0xbc7147(0x91)](_0x4265fd,Array[_0xbc7147(0xbd)](_0x43783d));for(const _0x196cc3 of _0x56089e)_0x2f44e3[_0xbc7147(0xf1)](_0x196cc3['id'])||_0x2f44e3[_0xbc7147(0xab)](_0x196cc3);function _0x185c90(_0x4b7d5f){const _0xcc8b28=_0xbc7147;_0x2f44e3[_0xcc8b28(0xf1)](_0x4b7d5f)||_0x43783d[_0xcc8b28(0xa2)](_0x4b7d5f);}}}function I(_0x18610d){const _0x23b842=_0x13dfdd;return _0x18610d[_0x23b842(0xc6)][_0x23b842(0xbe)](_0x23b842(0xf8))||_0x18610d[_0x23b842(0xc6)][_0x23b842(0xbe)](_0x23b842(0xc8))||_0x18610d[_0x23b842(0xc6)][_0x23b842(0xbe)](_0x23b842(0xc5));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xeb437f=_0x399a;function _0x399a(_0x34c894,_0x18b6e){var _0x2f7d27=_0x2f7d();return _0x399a=function(_0x399a9f,_0x3e3e9b){_0x399a9f=_0x399a9f-0x76;var _0x2acfc=_0x2f7d27[_0x399a9f];return _0x2acfc;},_0x399a(_0x34c894,_0x18b6e);}(function(_0x22da0e,_0x3a159e){var _0xdcf946=_0x399a,_0x508812=_0x22da0e();while(!![]){try{var _0x18ee5e=parseInt(_0xdcf946(0x81))/0x1+parseInt(_0xdcf946(0x83))/0x2+parseInt(_0xdcf946(0x7b))/0x3*(-parseInt(_0xdcf946(0x7c))/0x4)+parseInt(_0xdcf946(0x80))/0x5*(-parseInt(_0xdcf946(0x82))/0x6)+parseInt(_0xdcf946(0x7a))/0x7+-parseInt(_0xdcf946(0x76))/0x8+parseInt(_0xdcf946(0x79))/0x9;if(_0x18ee5e===_0x3a159e)break;else _0x508812['push'](_0x508812['shift']());}catch(_0x264bb2){_0x508812['push'](_0x508812['shift']());}}}(_0x2f7d,0x5a769));function _0x2f7d(){var _0x1bb518=['5347512WTkDKf','RevisionHistory','isPremiumPlugin','11014020EynqUB','6090GqTGFz','11247WkXBmq','536sNQtyi','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','pluginName','464160nbNyok','147840OljvUi','6ypVETK','523368zBMSwL','requires'];_0x2f7d=function(){return _0x1bb518;};return _0x2f7d();}import{Plugin as _0x56ce90}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x65d3c4}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x34ef9f}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x56ce90{static get[_0xeb437f(0x84)](){var _0x8ca849=_0xeb437f;return[_0x8ca849(0x77),_0x65d3c4,_0x34ef9f];}static get[_0xeb437f(0x7f)](){var _0x473605=_0xeb437f;return _0x473605(0x7e);}static get[_0xeb437f(0x7d)](){return!0x0;}static get[_0xeb437f(0x78)](){return!0x0;}}
23
+ function _0x3645(_0x5ce90c,_0x5ee0b9){var _0x2d1d7f=_0x2d1d();return _0x3645=function(_0x3645a4,_0xb4b242){_0x3645a4=_0x3645a4-0x75;var _0x1caf8f=_0x2d1d7f[_0x3645a4];return _0x1caf8f;},_0x3645(_0x5ce90c,_0x5ee0b9);}function _0x2d1d(){var _0x1bd929=['49gcnZyk','1607016FpgiwO','4527475ktmsQX','isOfficialPlugin','RevisionHistory','110ufQPPI','10895094rGDqhq','372131SJedVq','requires','2nVJADI','pluginName','1812807WjGgzJ','862316CkSPfF','RealTimeCollaborativeRevisionHistory','isPremiumPlugin','5846118jAtTRl'];_0x2d1d=function(){return _0x1bd929;};return _0x2d1d();}var _0xbad610=_0x3645;(function(_0x28323f,_0x211469){var _0x239802=_0x3645,_0xd783e=_0x28323f();while(!![]){try{var _0x239617=-parseInt(_0x239802(0x78))/0x1*(parseInt(_0x239802(0x7a))/0x2)+-parseInt(_0x239802(0x80))/0x3+-parseInt(_0x239802(0x7d))/0x4+parseInt(_0x239802(0x83))/0x5+parseInt(_0x239802(0x77))/0x6+parseInt(_0x239802(0x81))/0x7*(-parseInt(_0x239802(0x82))/0x8)+-parseInt(_0x239802(0x7c))/0x9*(-parseInt(_0x239802(0x76))/0xa);if(_0x239617===_0x211469)break;else _0xd783e['push'](_0xd783e['shift']());}catch(_0x14d4a6){_0xd783e['push'](_0xd783e['shift']());}}}(_0x2d1d,0xf2c8a));import{Plugin as _0x5a4aaf}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x1193b0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x48002d}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5a4aaf{static get[_0xbad610(0x79)](){var _0x268434=_0xbad610;return[_0x268434(0x75),_0x1193b0,_0x48002d];}static get[_0xbad610(0x7b)](){var _0x3462cd=_0xbad610;return _0x3462cd(0x7e);}static get[_0xbad610(0x84)](){return!0x0;}static get[_0xbad610(0x7f)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a0edc=_0x1f3c;(function(_0xe4e636,_0x5c5ada){const _0x262f4d=_0x1f3c,_0x75542f=_0xe4e636();while(!![]){try{const _0x443c63=-parseInt(_0x262f4d(0x175))/0x1*(parseInt(_0x262f4d(0x16d))/0x2)+parseInt(_0x262f4d(0x184))/0x3+-parseInt(_0x262f4d(0x17c))/0x4+-parseInt(_0x262f4d(0x172))/0x5+-parseInt(_0x262f4d(0x193))/0x6*(-parseInt(_0x262f4d(0x176))/0x7)+parseInt(_0x262f4d(0x15a))/0x8+parseInt(_0x262f4d(0x187))/0x9*(parseInt(_0x262f4d(0x168))/0xa);if(_0x443c63===_0x5c5ada)break;else _0x75542f['push'](_0x75542f['shift']());}catch(_0x1308d9){_0x75542f['push'](_0x75542f['shift']());}}}(_0x1817,0x38e25));import{Plugin as _0x3f0276}from'ckeditor5/src/core.js';import{User as _0x1cd599,TrackChangesService as _0x281cab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3de519}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x45f218}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x29d7e2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1f3c(_0xd35bc1,_0x549b97){const _0x18173b=_0x1817();return _0x1f3c=function(_0x1f3c31,_0x15a7f7){_0x1f3c31=_0x1f3c31-0x158;let _0x41e03f=_0x18173b[_0x1f3c31];return _0x41e03f;},_0x1f3c(_0xd35bc1,_0x549b97);}function _0x1817(){const _0xc0264e=['_trackChangesService','745335KaYKjD','values','isPremiumPlugin','editor','getSuggestion','message','addSuggestionData','_bufferedRequests','addToReconnectionStack','set','get','reconnect','390yQYmNV','update','connect','startsWith','catch','type','TrackChangesService','1650392RnIHrZ','suggestionUpdated','isOfficialPlugin','connection','_fetchMissingUsersForThreads','adapter','then','requires','cloud-services-internal-error:\x20Not\x20connected.','pluginName','listenTo','off','find','originalSuggestionId','50bOwCrx','TrackChangesEditing','collaboration.channelId','data','cloud-services-internal-error:\x20Request\x20timeout.','377514yLLgvf','delete','_saved','CloudServicesTrackChangesAdapter','hasSuggestion','407260IpPYUx','state','add','2XoeCXq','8351xVwjkP','from','_waitForServiceReady','connected','open','getMany','1860556esghhn','isConnected','getUser','plugins','size','attributes','addUser','config','1377549Kfsxyq','init'];_0x1817=function(){return _0xc0264e;};return _0x1817();}export class CloudServicesTrackChangesAdapter extends _0x3f0276{static [_0x3a0edc(0x159)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x281cab)());[_0x3a0edc(0x18e)];[_0x3a0edc(0x186)];static get[_0x3a0edc(0x161)](){const _0x2e92ff=_0x3a0edc;return[_0x45f218,_0x2e92ff(0x169),_0x3de519];}static get[_0x3a0edc(0x163)](){const _0x51663b=_0x3a0edc;return _0x51663b(0x170);}static get[_0x3a0edc(0x15c)](){return!0x0;}static get[_0x3a0edc(0x189)](){return!0x0;}constructor(_0x293a7c){const _0x3485a9=_0x3a0edc;super(_0x293a7c);const _0x43d047=this[_0x3485a9(0x18a)][_0x3485a9(0x183)][_0x3485a9(0x191)](_0x3485a9(0x16a));this[_0x3485a9(0x18e)]=new Map(),this[_0x3485a9(0x186)]=new CloudServicesTrackChangesAdapter[(_0x3485a9(0x159))](_0x43d047);}[_0x3a0edc(0x185)](){const _0x34711d=_0x3a0edc,_0x17acdc=this[_0x34711d(0x18a)][_0x34711d(0x17f)][_0x34711d(0x191)](_0x3de519),_0x1a1e5e=this[_0x34711d(0x18a)][_0x34711d(0x17f)][_0x34711d(0x191)](_0x34711d(0x169));return _0x1a1e5e[_0x34711d(0x15f)]={'getSuggestion':async _0x1c6756=>{const _0x200583=_0x34711d;await this[_0x200583(0x178)]();const _0x29842a=await this[_0x200583(0x186)][_0x200583(0x191)](_0x1c6756)[_0x200583(0x197)](A);return await this[_0x200583(0x15e)]([_0x29842a]),_0x29842a;},'addSuggestion':async({id:_0x146cc6,type:_0x18830f,data:_0x3f9e78,originalSuggestionId:_0x28a8d9,attributes:_0x1559d9})=>{const _0x3c0598=_0x34711d;await this[_0x3c0598(0x178)]();const _0x53df8a={'id':_0x146cc6,'type':_0x18830f,'data':_0x3f9e78,'originalSuggestionId':_0x28a8d9,'attributes':_0x1559d9},_0x35de89=await this[_0x3c0598(0x186)][_0x3c0598(0x174)](_0x146cc6,_0x18830f,_0x3f9e78,_0x28a8d9,_0x1559d9)[_0x3c0598(0x197)](_0x234980=>{if(T(_0x234980))return new Promise(_0x4e9eb4=>{const _0x18c148=_0x1f3c;this[_0x18c148(0x18e)][_0x18c148(0x190)](_0x146cc6,{'resolve':_0x4e9eb4,'suggestionData':_0x53df8a});});throw _0x234980;});return this[_0x3c0598(0x18e)][_0x3c0598(0x16e)](_0x146cc6),_0x35de89;},'updateSuggestion':async(_0x48b483,_0x2e9198)=>{const _0x4dbb31=_0x34711d;if(await this[_0x4dbb31(0x178)](),_0x4dbb31(0x17a)!==_0x2e9198[_0x4dbb31(0x173)])return this[_0x4dbb31(0x186)][_0x4dbb31(0x194)](_0x48b483,_0x2e9198)[_0x4dbb31(0x197)](A);}},this[_0x34711d(0x164)](this[_0x34711d(0x186)],_0x34711d(0x15b),(_0x2cec78,_0x112845)=>{const _0x33ed26=_0x34711d;_0x1a1e5e[_0x33ed26(0x171)](_0x112845['id'])&&(_0x1a1e5e[_0x33ed26(0x18b)](_0x112845['id'])[_0x33ed26(0x181)]=_0x112845[_0x33ed26(0x181)]);}),this[_0x34711d(0x186)][_0x34711d(0x195)](_0x17acdc[_0x34711d(0x15d)])[_0x34711d(0x160)](_0x3b7f19=>(_0x17acdc[_0x34711d(0x18f)](this),this[_0x34711d(0x15e)](_0x3b7f19)[_0x34711d(0x160)](()=>{const _0x208549=_0x34711d;for(const _0x40b6ea of _0x3b7f19){_0x1a1e5e[_0x208549(0x18d)](_0x40b6ea)[_0x208549(0x16f)]=!0x0;}})));}async[_0x3a0edc(0x192)](){const _0x36b396=_0x3a0edc,_0x373d6f=this[_0x36b396(0x18a)][_0x36b396(0x17f)][_0x36b396(0x191)](_0x36b396(0x169)),{connection:_0x1f17a6}=this[_0x36b396(0x18a)][_0x36b396(0x17f)][_0x36b396(0x191)](_0x3de519),_0x198d78=await this[_0x36b396(0x186)][_0x36b396(0x195)](_0x1f17a6);await this[_0x36b396(0x15e)](_0x198d78);for(const {suggestionData:_0x504fa1,resolve:_0x1b28c5}of this[_0x36b396(0x18e)][_0x36b396(0x188)]()){let _0x579656=_0x198d78[_0x36b396(0x166)](_0x554c5c=>_0x554c5c['id']===_0x504fa1['id']);_0x579656||(_0x579656=await this[_0x36b396(0x186)][_0x36b396(0x174)](_0x504fa1['id'],_0x504fa1[_0x36b396(0x158)],_0x504fa1[_0x36b396(0x16b)],_0x504fa1[_0x36b396(0x167)])),_0x1b28c5(_0x579656);}for(const _0x250c1a of _0x198d78)_0x373d6f[_0x36b396(0x171)](_0x250c1a['id'])||_0x373d6f[_0x36b396(0x18d)](_0x250c1a);}async[_0x3a0edc(0x178)](){const _0x4d2e98=_0x3a0edc;this[_0x4d2e98(0x186)][_0x4d2e98(0x17d)]||await new Promise(_0x15981a=>{const _0x3887df=_0x4d2e98;this[_0x3887df(0x164)](this[_0x3887df(0x186)],_0x3887df(0x179),_0xa17d49=>{const _0x1d95af=_0x3887df;_0xa17d49[_0x1d95af(0x165)](),_0x15981a();});});}async[_0x3a0edc(0x15e)](_0x2b0770){const _0x5aeb41=_0x3a0edc,_0x48bf43=this[_0x5aeb41(0x18a)][_0x5aeb41(0x17f)][_0x5aeb41(0x191)](_0x29d7e2),{connection:_0x1de3c4}=this[_0x5aeb41(0x18a)][_0x5aeb41(0x17f)][_0x5aeb41(0x191)](_0x3de519),_0x2ffd7a=new Set();for(const {authorId:_0x3aa8dc}of _0x2b0770)_0x48bf43[_0x5aeb41(0x17e)](_0x3aa8dc)||_0x2ffd7a[_0x5aeb41(0x174)](_0x3aa8dc);if(0x0===_0x2ffd7a[_0x5aeb41(0x180)])return;const _0x20ed8d=await _0x1cd599[_0x5aeb41(0x17b)](_0x1de3c4,Array[_0x5aeb41(0x177)](_0x2ffd7a));for(const _0x4c637d of _0x20ed8d)_0x48bf43[_0x5aeb41(0x17e)](_0x4c637d['id'])||_0x48bf43[_0x5aeb41(0x182)](_0x4c637d);}}function A(_0x5be1d6){if(T(_0x5be1d6))return new Promise(()=>{});throw _0x5be1d6;}function T(_0x91962e){const _0x120f4f=_0x3a0edc;return _0x91962e[_0x120f4f(0x18c)][_0x120f4f(0x196)](_0x120f4f(0x162))||_0x91962e[_0x120f4f(0x18c)][_0x120f4f(0x196)](_0x120f4f(0x16c));}
23
+ const _0x3f7aec=_0x351d;(function(_0x525df5,_0x2e8722){const _0x284bbb=_0x351d,_0x236e13=_0x525df5();while(!![]){try{const _0x411990=-parseInt(_0x284bbb(0x10f))/0x1+parseInt(_0x284bbb(0xfb))/0x2*(-parseInt(_0x284bbb(0x11b))/0x3)+parseInt(_0x284bbb(0x110))/0x4*(-parseInt(_0x284bbb(0x118))/0x5)+-parseInt(_0x284bbb(0x100))/0x6*(parseInt(_0x284bbb(0xf4))/0x7)+parseInt(_0x284bbb(0x107))/0x8+-parseInt(_0x284bbb(0x11d))/0x9+parseInt(_0x284bbb(0xfd))/0xa*(parseInt(_0x284bbb(0x106))/0xb);if(_0x411990===_0x2e8722)break;else _0x236e13['push'](_0x236e13['shift']());}catch(_0x2e9dbf){_0x236e13['push'](_0x236e13['shift']());}}}(_0x2bff,0x705c5));function _0x351d(_0x593d59,_0x1503e2){const _0x2bff80=_0x2bff();return _0x351d=function(_0x351daa,_0x258bab){_0x351daa=_0x351daa-0xe2;let _0x47bca3=_0x2bff80[_0x351daa];return _0x47bca3;},_0x351d(_0x593d59,_0x1503e2);}import{Plugin as _0x4ef027}from'ckeditor5/src/core.js';import{User as _0x97b70a,TrackChangesService as _0x741d52}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x34e9ef}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x279b63}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2a55e6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2bff(){const _0x188cb1=['collaboration.channelId','getUser','editor','size','requires','connection','attributes','isConnected','suggestionUpdated','adapter','state','addSuggestionData','getSuggestion','connect','addToReconnectionStack','delete','plugins','get','startsWith','273kiSDPU','from','listenTo','cloud-services-internal-error:\x20Request\x20timeout.','add','update','open','2YMhQBC','CloudServicesTrackChangesAdapter','8294700PffPLM','reconnect','data','85494zLfQsV','_waitForServiceReady','addUser','cloud-services-internal-error:\x20Not\x20connected.','type','find','33HUuMBs','1974568YWqyni','then','_bufferedRequests','_trackChangesService','getMany','pluginName','_fetchMissingUsersForThreads','set','88866WpLOTK','281924YceyKr','connected','catch','hasSuggestion','TrackChangesEditing','isOfficialPlugin','config','_saved','45bXwzwY','originalSuggestionId','message','738813NdrNVC','TrackChangesService','6748425KZfJch','off','values','init','isPremiumPlugin'];_0x2bff=function(){return _0x188cb1;};return _0x2bff();}export class CloudServicesTrackChangesAdapter extends _0x4ef027{static [_0x3f7aec(0x11c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x741d52)());[_0x3f7aec(0x109)];[_0x3f7aec(0x10a)];static get[_0x3f7aec(0xe5)](){const _0x4dec9e=_0x3f7aec;return[_0x279b63,_0x4dec9e(0x114),_0x34e9ef];}static get[_0x3f7aec(0x10c)](){const _0x45945f=_0x3f7aec;return _0x45945f(0xfc);}static get[_0x3f7aec(0x115)](){return!0x0;}static get[_0x3f7aec(0x121)](){return!0x0;}constructor(_0x5a328a){const _0x4cd523=_0x3f7aec;super(_0x5a328a);const _0x309f13=this[_0x4cd523(0xe3)][_0x4cd523(0x116)][_0x4cd523(0xf2)](_0x4cd523(0x122));this[_0x4cd523(0x109)]=new Map(),this[_0x4cd523(0x10a)]=new CloudServicesTrackChangesAdapter[(_0x4cd523(0x11c))](_0x309f13);}[_0x3f7aec(0x120)](){const _0x26599e=_0x3f7aec,_0x2eaf12=this[_0x26599e(0xe3)][_0x26599e(0xf1)][_0x26599e(0xf2)](_0x34e9ef),_0x5d625d=this[_0x26599e(0xe3)][_0x26599e(0xf1)][_0x26599e(0xf2)](_0x26599e(0x114));return _0x5d625d[_0x26599e(0xea)]={'getSuggestion':async _0x622038=>{const _0x3c2238=_0x26599e;await this[_0x3c2238(0x101)]();const _0x1afe01=await this[_0x3c2238(0x10a)][_0x3c2238(0xf2)](_0x622038)[_0x3c2238(0x112)](T);return await this[_0x3c2238(0x10d)]([_0x1afe01]),_0x1afe01;},'addSuggestion':async({id:_0x3b8e67,type:_0x2ea421,data:_0x25bd3d,originalSuggestionId:_0x29cd6f,attributes:_0x22ab18})=>{const _0x54bcf7=_0x26599e;await this[_0x54bcf7(0x101)]();const _0x47d84c={'id':_0x3b8e67,'type':_0x2ea421,'data':_0x25bd3d,'originalSuggestionId':_0x29cd6f,'attributes':_0x22ab18},_0x459be3=await this[_0x54bcf7(0x10a)][_0x54bcf7(0xf8)](_0x3b8e67,_0x2ea421,_0x25bd3d,_0x29cd6f,_0x22ab18)[_0x54bcf7(0x112)](_0x4517e6=>{if(I(_0x4517e6))return new Promise(_0x36e993=>{const _0x596bf6=_0x351d;this[_0x596bf6(0x109)][_0x596bf6(0x10e)](_0x3b8e67,{'resolve':_0x36e993,'suggestionData':_0x47d84c});});throw _0x4517e6;});return this[_0x54bcf7(0x109)][_0x54bcf7(0xf0)](_0x3b8e67),_0x459be3;},'updateSuggestion':async(_0x558ec9,_0x512aec)=>{const _0x3c6da1=_0x26599e;if(await this[_0x3c6da1(0x101)](),_0x3c6da1(0xfa)!==_0x512aec[_0x3c6da1(0xeb)])return this[_0x3c6da1(0x10a)][_0x3c6da1(0xf9)](_0x558ec9,_0x512aec)[_0x3c6da1(0x112)](T);}},this[_0x26599e(0xf6)](this[_0x26599e(0x10a)],_0x26599e(0xe9),(_0x358d4b,_0x507a7a)=>{const _0x55698e=_0x26599e;_0x5d625d[_0x55698e(0x113)](_0x507a7a['id'])&&(_0x5d625d[_0x55698e(0xed)](_0x507a7a['id'])[_0x55698e(0xe7)]=_0x507a7a[_0x55698e(0xe7)]);}),this[_0x26599e(0x10a)][_0x26599e(0xee)](_0x2eaf12[_0x26599e(0xe6)])[_0x26599e(0x108)](_0x2182c7=>(_0x2eaf12[_0x26599e(0xef)](this),this[_0x26599e(0x10d)](_0x2182c7)[_0x26599e(0x108)](()=>{const _0xca8421=_0x26599e;for(const _0x4746a2 of _0x2182c7){_0x5d625d[_0xca8421(0xec)](_0x4746a2)[_0xca8421(0x117)]=!0x0;}})));}async[_0x3f7aec(0xfe)](){const _0x122f8b=_0x3f7aec,_0x57ce56=this[_0x122f8b(0xe3)][_0x122f8b(0xf1)][_0x122f8b(0xf2)](_0x122f8b(0x114)),{connection:_0x5078b2}=this[_0x122f8b(0xe3)][_0x122f8b(0xf1)][_0x122f8b(0xf2)](_0x34e9ef),_0x34a5a1=await this[_0x122f8b(0x10a)][_0x122f8b(0xee)](_0x5078b2);await this[_0x122f8b(0x10d)](_0x34a5a1);for(const {suggestionData:_0x1f2337,resolve:_0x2f0daa}of this[_0x122f8b(0x109)][_0x122f8b(0x11f)]()){let _0x54ae2e=_0x34a5a1[_0x122f8b(0x105)](_0x222bc3=>_0x222bc3['id']===_0x1f2337['id']);_0x54ae2e||(_0x54ae2e=await this[_0x122f8b(0x10a)][_0x122f8b(0xf8)](_0x1f2337['id'],_0x1f2337[_0x122f8b(0x104)],_0x1f2337[_0x122f8b(0xff)],_0x1f2337[_0x122f8b(0x119)])),_0x2f0daa(_0x54ae2e);}for(const _0x29670b of _0x34a5a1)_0x57ce56[_0x122f8b(0x113)](_0x29670b['id'])||_0x57ce56[_0x122f8b(0xec)](_0x29670b);}async[_0x3f7aec(0x101)](){const _0x14ab04=_0x3f7aec;this[_0x14ab04(0x10a)][_0x14ab04(0xe8)]||await new Promise(_0x5e82d4=>{const _0x590313=_0x14ab04;this[_0x590313(0xf6)](this[_0x590313(0x10a)],_0x590313(0x111),_0x6527ce=>{const _0x13c616=_0x590313;_0x6527ce[_0x13c616(0x11e)](),_0x5e82d4();});});}async[_0x3f7aec(0x10d)](_0x9a55ae){const _0x179b32=_0x3f7aec,_0x4a9b17=this[_0x179b32(0xe3)][_0x179b32(0xf1)][_0x179b32(0xf2)](_0x2a55e6),{connection:_0x2c953d}=this[_0x179b32(0xe3)][_0x179b32(0xf1)][_0x179b32(0xf2)](_0x34e9ef),_0x4adc7d=new Set();for(const {authorId:_0x5a317b}of _0x9a55ae)_0x4a9b17[_0x179b32(0xe2)](_0x5a317b)||_0x4adc7d[_0x179b32(0xf8)](_0x5a317b);if(0x0===_0x4adc7d[_0x179b32(0xe4)])return;const _0x150da0=await _0x97b70a[_0x179b32(0x10b)](_0x2c953d,Array[_0x179b32(0xf5)](_0x4adc7d));for(const _0x39b22d of _0x150da0)_0x4a9b17[_0x179b32(0xe2)](_0x39b22d['id'])||_0x4a9b17[_0x179b32(0x102)](_0x39b22d);}}function T(_0x4cf287){if(I(_0x4cf287))return new Promise(()=>{});throw _0x4cf287;}function I(_0x57ba0a){const _0x4bbfef=_0x3f7aec;return _0x57ba0a[_0x4bbfef(0x11a)][_0x4bbfef(0xf3)](_0x4bbfef(0x103))||_0x57ba0a[_0x4bbfef(0x11a)][_0x4bbfef(0xf3)](_0x4bbfef(0xf7));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x283180=_0x2ee9;(function(_0x27759e,_0x4fc161){var _0x254302=_0x2ee9,_0x24a1ac=_0x27759e();while(!![]){try{var _0x469cfc=parseInt(_0x254302(0x1a3))/0x1*(parseInt(_0x254302(0x19a))/0x2)+parseInt(_0x254302(0x193))/0x3*(-parseInt(_0x254302(0x196))/0x4)+parseInt(_0x254302(0x197))/0x5*(-parseInt(_0x254302(0x19c))/0x6)+-parseInt(_0x254302(0x198))/0x7*(parseInt(_0x254302(0x1a2))/0x8)+parseInt(_0x254302(0x19d))/0x9+-parseInt(_0x254302(0x1a0))/0xa+parseInt(_0x254302(0x194))/0xb*(parseInt(_0x254302(0x199))/0xc);if(_0x469cfc===_0x4fc161)break;else _0x24a1ac['push'](_0x24a1ac['shift']());}catch(_0x124a11){_0x24a1ac['push'](_0x24a1ac['shift']());}}}(_0x3992,0x820e9));function _0x3992(){var _0x2a2d02=['2597016ujVIRO','8273700TACnFP','requires','TrackChanges','4991580wwUsvz','isPremiumPlugin','1744ZNKLsd','25649YgtSCw','isOfficialPlugin','3kdeQfD','6687329ibHPoE','pluginName','3748604upyRyq','5lREKfv','19439daLKlb','24jsRsDw','68DSfQXu','RealTimeCollaborativeTrackChanges'];_0x3992=function(){return _0x2a2d02;};return _0x3992();}import{Plugin as _0x2f8f96}from'ckeditor5/src/core.js';function _0x2ee9(_0x4f844e,_0x38ea58){var _0x3992e8=_0x3992();return _0x2ee9=function(_0x2ee950,_0x49c91b){_0x2ee950=_0x2ee950-0x192;var _0x5e56d4=_0x3992e8[_0x2ee950];return _0x5e56d4;},_0x2ee9(_0x4f844e,_0x38ea58);}import{CloudServicesTrackChangesAdapter as _0x4fb02c}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5387c4}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2f8f96{static get[_0x283180(0x19e)](){var _0x55906b=_0x283180;return[_0x5387c4,_0x4fb02c,_0x55906b(0x19f)];}static get[_0x283180(0x195)](){var _0x411e42=_0x283180;return _0x411e42(0x19b);}static get[_0x283180(0x192)](){return!0x0;}static get[_0x283180(0x1a1)](){return!0x0;}}
23
+ var _0x44b83c=_0x366d;function _0x366d(_0x34fb2a,_0x4ba51d){var _0x299b72=_0x299b();return _0x366d=function(_0x366d14,_0x577bef){_0x366d14=_0x366d14-0x183;var _0x3be57c=_0x299b72[_0x366d14];return _0x3be57c;},_0x366d(_0x34fb2a,_0x4ba51d);}(function(_0x462864,_0x10ede5){var _0xf5fe69=_0x366d,_0x2771d5=_0x462864();while(!![]){try{var _0x54cd72=-parseInt(_0xf5fe69(0x183))/0x1+-parseInt(_0xf5fe69(0x184))/0x2+-parseInt(_0xf5fe69(0x18d))/0x3*(parseInt(_0xf5fe69(0x186))/0x4)+-parseInt(_0xf5fe69(0x192))/0x5*(-parseInt(_0xf5fe69(0x188))/0x6)+parseInt(_0xf5fe69(0x191))/0x7*(parseInt(_0xf5fe69(0x187))/0x8)+-parseInt(_0xf5fe69(0x18c))/0x9+parseInt(_0xf5fe69(0x18a))/0xa;if(_0x54cd72===_0x10ede5)break;else _0x2771d5['push'](_0x2771d5['shift']());}catch(_0x13309b){_0x2771d5['push'](_0x2771d5['shift']());}}}(_0x299b,0xa15a8));import{Plugin as _0x365272}from'ckeditor5/src/core.js';function _0x299b(){var _0x55ef77=['RealTimeCollaborativeTrackChanges','TrackChanges','requires','14441KmipMF','6228725uEDNdG','707137fbVBku','396682kHaBxv','isOfficialPlugin','80672hrDIJi','4808prJlML','6rcCHoW','pluginName','3026430HGAYqw','isPremiumPlugin','9907749LbKoDe','18yRobNv'];_0x299b=function(){return _0x55ef77;};return _0x299b();}import{CloudServicesTrackChangesAdapter as _0xf8e87f}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x318abc}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x365272{static get[_0x44b83c(0x190)](){var _0x320179=_0x44b83c;return[_0x318abc,_0xf8e87f,_0x320179(0x18f)];}static get[_0x44b83c(0x189)](){var _0x55c252=_0x44b83c;return _0x55c252(0x18e);}static get[_0x44b83c(0x185)](){return!0x0;}static get[_0x44b83c(0x18b)](){return!0x0;}}