@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.8 → 46.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.d.ts +0 -2
  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 _0x3e11c6=_0x4cc6;(function(_0x2151e0,_0x104a3b){const _0x3d0ab7=_0x4cc6,_0x2ca649=_0x2151e0();while(!![]){try{const _0x20d4ae=parseInt(_0x3d0ab7(0x1d2))/0x1+parseInt(_0x3d0ab7(0x1fc))/0x2+parseInt(_0x3d0ab7(0x1df))/0x3+parseInt(_0x3d0ab7(0x1dc))/0x4+-parseInt(_0x3d0ab7(0x1cf))/0x5+parseInt(_0x3d0ab7(0x1c6))/0x6*(parseInt(_0x3d0ab7(0x1d4))/0x7)+-parseInt(_0x3d0ab7(0x1eb))/0x8*(parseInt(_0x3d0ab7(0x204))/0x9);if(_0x20d4ae===_0x104a3b)break;else _0x2ca649['push'](_0x2ca649['shift']());}catch(_0x9bf406){_0x2ca649['push'](_0x2ca649['shift']());}}}(_0x1f19,0x5521f));import{ContextPlugin as _0x23e03f}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xc15066,CKEditorError as _0x98a5ba}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3f16a0,WEB_SOCKET_GATEWAY_STATES as _0x5c0f43}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x17d337}from'ckeditor5/src/ui.js';function _0x1f19(){const _0x3f5745=['online','cloudServices.requestTimeout','143725DUZbyP','CloudServices','49427cZRyuJ','state','listenTo','disconnect','pluginName','isInReconnectionStack','real-time-collaboration','connection','2006156OFFVcI','stopListening','code','1681155qewbdA','CONNECTING','_domEmitter','catch','_reconnectionStack','addToReconnectionStack','get','context','from','add','config','then','8BBYkoN','requires','reconnect','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','cloudServices.connectionTimeout','cloudservices-init','_shouldPluginsReconnect','websocketgateway-missing-websocket-url','error','connected','define','cloudservices-reconnection-error','initialReconnectionInterval','CONNECTED','_isBrowserOffline','removeFromReconnectionStack','delete','471034TkFEnv','offline','function','init','websocketgateway-missing-token','DISCONNECTED','websocketgateway-plugin-already-registered','destroy','11196585Hqinwa','websocketgateway-invalid-plugin-interface','has','constructor','plugins','WebSocketGateway','all','isPremiumPlugin','limitExceeded','showWarning','token','342odMsJp','isOfficialPlugin','bind','Connected\x20users\x20limit\x20exceeded','set','connect','change:me','_reconnect','webSocketUrl','1254375zYcNFh'];_0x1f19=function(){return _0x3f5745;};return _0x1f19();}class n extends _0x23e03f{static [_0x3e11c6(0x1c0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3f16a0)());static [_0x3e11c6(0x1f7)]=0x3e8;[_0x3e11c6(0x1db)];[_0x3e11c6(0x1e3)];[_0x3e11c6(0x1f1)];[_0x3e11c6(0x1e1)];static get[_0x3e11c6(0x1ec)](){const _0x19d316=_0x3e11c6;return[_0x19d316(0x1d3),_0x17d337];}static get[_0x3e11c6(0x1d8)](){const _0x181799=_0x3e11c6;return _0x181799(0x1c0);}static get[_0x3e11c6(0x1c7)](){return!0x0;}static get[_0x3e11c6(0x1c2)](){return!0x0;}constructor(_0x1d3d8f){const _0x3b550b=_0x3e11c6;super(_0x1d3d8f),this[_0x3b550b(0x1ca)](_0x3b550b(0x1d5),_0x5c0f43[_0x3b550b(0x1f8)]),this[_0x3b550b(0x1ca)](_0x3b550b(0x1f9),!0x1),this[_0x3b550b(0x1e3)]=new Set(),this[_0x3b550b(0x1f1)]=!0x1,this[_0x3b550b(0x1e1)]=new(_0xc15066())();}[_0x3e11c6(0x1ff)](){const _0x4ccd1d=_0x3e11c6,_0x391c23=this[_0x4ccd1d(0x1e6)],_0x4737ba=_0x391c23[_0x4ccd1d(0x1bf)][_0x4ccd1d(0x1e5)](_0x4ccd1d(0x1d3)),_0x323f0c=_0x391c23[_0x4ccd1d(0x1bf)][_0x4ccd1d(0x1e5)](_0x17d337);if(!_0x4737ba[_0x4ccd1d(0x1c5)])throw new _0x98a5ba(_0x4ccd1d(0x200),this);if(!_0x4737ba[_0x4ccd1d(0x1ce)])throw new _0x98a5ba(_0x4ccd1d(0x1f2),this);return this[_0x4ccd1d(0x1e1)][_0x4ccd1d(0x1d6)](window,_0x4ccd1d(0x1fd),()=>this[_0x4ccd1d(0x1f9)]=!0x0),this[_0x4ccd1d(0x1e1)][_0x4ccd1d(0x1d6)](window,_0x4ccd1d(0x1d0),()=>this[_0x4ccd1d(0x1f9)]=!0x1),this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1f5)](_0x4ccd1d(0x1ef),0xa),this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1f5)](_0x4ccd1d(0x1d1),0x14),n[_0x4ccd1d(0x1c0)][_0x4ccd1d(0x1cb)](_0x4737ba[_0x4ccd1d(0x1c5)],_0x4737ba[_0x4ccd1d(0x1ce)],{'timeout':0x3e8*this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1e5)](_0x4ccd1d(0x1ef)),'requestTimeout':0x3e8*this[_0x4ccd1d(0x1e6)][_0x4ccd1d(0x1e9)][_0x4ccd1d(0x1e5)](_0x4ccd1d(0x1d1))})[_0x4ccd1d(0x1ea)](_0xbd52d3=>{const _0x42149c=_0x4ccd1d;if(this[_0x42149c(0x1db)]=_0xbd52d3,this[_0x42149c(0x1c8)](_0x42149c(0x1d5))['to'](_0xbd52d3,_0x42149c(0x1d5),this,_0x42149c(0x1f9),(_0x1c085e,_0x544a79)=>(_0x42149c(0x1f4)!==_0x1c085e&&(this[_0x42149c(0x1f1)]=!0x0),_0x544a79||_0x1c085e!==_0x5c0f43[_0x42149c(0x1f8)]?_0x5c0f43[_0x42149c(0x201)]:this[_0x42149c(0x1d5)]==_0x5c0f43[_0x42149c(0x201)]&&this[_0x42149c(0x1f1)]?(this[_0x42149c(0x1f1)]=!0x1,this[_0x42149c(0x1cd)](),_0x5c0f43[_0x42149c(0x1e0)]):_0x5c0f43[_0x42149c(0x1f8)])),this[_0x42149c(0x1db)]['on'](_0x42149c(0x1f3),(_0x21d8d2,_0x35f10d)=>{const _0x1d1d91=_0x42149c;if(_0x1d1d91(0x1c3)!==_0x35f10d[_0x1d1d91(0x1de)])throw console[_0x1d1d91(0x1f3)](_0x35f10d),new _0x98a5ba(_0x1d1d91(0x1f0),null,{'originalError':_0x35f10d});_0x323f0c[_0x1d1d91(0x1c4)](_0x1d1d91(0x1ee),{'title':_0x1d1d91(0x1c9),'namespace':_0x1d1d91(0x1da)});}),!_0xbd52d3['me'])return new Promise(_0x1343ba=>_0xbd52d3['on'](_0x42149c(0x1cc),_0x1343ba));})[_0x4ccd1d(0x1e2)](_0xb75d04=>{const _0x256759=_0x4ccd1d;throw console[_0x256759(0x1f3)](_0xb75d04),new _0x98a5ba(_0x256759(0x1f0),null,{'originalError':_0xb75d04});});}[_0x3e11c6(0x1e4)](_0x4229b1){const _0x379e6e=_0x3e11c6;if(_0x379e6e(0x1fe)!=typeof _0x4229b1[_0x379e6e(0x1ed)])throw new _0x98a5ba(_0x379e6e(0x1bc),this);if(this[_0x379e6e(0x1d9)](_0x4229b1))throw new _0x98a5ba(_0x379e6e(0x202),this,{'name':_0x4229b1[_0x379e6e(0x1be)][_0x379e6e(0x1d8)]});this[_0x379e6e(0x1e3)][_0x379e6e(0x1e8)](_0x4229b1);}[_0x3e11c6(0x1fa)](_0x57b144){const _0x353fa9=_0x3e11c6;this[_0x353fa9(0x1e3)][_0x353fa9(0x1fb)](_0x57b144);}[_0x3e11c6(0x1d9)](_0x528b9e){const _0x5511fc=_0x3e11c6;return this[_0x5511fc(0x1e3)][_0x5511fc(0x1bd)](_0x528b9e);}[_0x3e11c6(0x1cd)](){const _0x17a94c=_0x3e11c6;return this[_0x17a94c(0x1db)][_0x17a94c(0x1ed)]()[_0x17a94c(0x1ea)](()=>Promise[_0x17a94c(0x1c1)](Array[_0x17a94c(0x1e7)](this[_0x17a94c(0x1e3)],_0x5289ee=>_0x5289ee[_0x17a94c(0x1ed)]())))[_0x17a94c(0x1ea)](()=>this[_0x17a94c(0x1d5)]=_0x5c0f43[_0x17a94c(0x1f8)])[_0x17a94c(0x1e2)](_0x266459=>{const _0x1ccb5e=_0x17a94c;throw console[_0x1ccb5e(0x1f3)](_0x266459),new _0x98a5ba(_0x1ccb5e(0x1f6),this[_0x1ccb5e(0x1e6)]);});}[_0x3e11c6(0x1d7)](){const _0x2f5462=_0x3e11c6;this[_0x2f5462(0x1db)]&&this[_0x2f5462(0x1db)][_0x2f5462(0x1d7)](),this[_0x2f5462(0x1d5)]=_0x5c0f43[_0x2f5462(0x201)],this[_0x2f5462(0x1e1)][_0x2f5462(0x1dd)]();}[_0x3e11c6(0x203)](){const _0x7ea80f=_0x3e11c6;this[_0x7ea80f(0x1d7)](),super[_0x7ea80f(0x203)]();}}function _0x4cc6(_0x266d39,_0x46b443){const _0x1f19cc=_0x1f19();return _0x4cc6=function(_0x4cc6a8,_0x52046f){_0x4cc6a8=_0x4cc6a8-0x1bc;let _0x400bf9=_0x1f19cc[_0x4cc6a8];return _0x400bf9;},_0x4cc6(_0x266d39,_0x46b443);}export{n as WebSocketGateway};
23
+ const _0x1f9afb=_0xcd6b;(function(_0x4310ac,_0x2104aa){const _0x3a582f=_0xcd6b,_0xc26fc6=_0x4310ac();while(!![]){try{const _0x2ca043=parseInt(_0x3a582f(0x157))/0x1*(-parseInt(_0x3a582f(0x154))/0x2)+parseInt(_0x3a582f(0x122))/0x3+-parseInt(_0x3a582f(0x162))/0x4*(-parseInt(_0x3a582f(0x136))/0x5)+parseInt(_0x3a582f(0x15e))/0x6*(parseInt(_0x3a582f(0x153))/0x7)+-parseInt(_0x3a582f(0x143))/0x8*(-parseInt(_0x3a582f(0x129))/0x9)+-parseInt(_0x3a582f(0x152))/0xa*(-parseInt(_0x3a582f(0x15a))/0xb)+-parseInt(_0x3a582f(0x148))/0xc;if(_0x2ca043===_0x2104aa)break;else _0xc26fc6['push'](_0xc26fc6['shift']());}catch(_0x11f95c){_0xc26fc6['push'](_0xc26fc6['shift']());}}}(_0x20a0,0x4f897));function _0xcd6b(_0x4e02e7,_0x3e9dd9){const _0x20a071=_0x20a0();return _0xcd6b=function(_0xcd6b2d,_0x5b2f93){_0xcd6b2d=_0xcd6b2d-0x120;let _0x406ac3=_0x20a071[_0xcd6b2d];return _0x406ac3;},_0xcd6b(_0x4e02e7,_0x3e9dd9);}import{ContextPlugin as _0x1866fa}from'ckeditor5/src/core.js';function _0x20a0(){const _0x4f76c5=['1606XRspel','connected','cloudservices-reconnection-error','587iGJwMk','then','online','49357jKwFux','real-time-collaboration','disconnect','reconnect','6jNznSz','removeFromReconnectionStack','_reconnect','plugins','508hYOwVx','_shouldPluginsReconnect','bind','isOfficialPlugin','has','context','delete','change:me','define','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','DISCONNECTED','847506ceLKOL','code','WebSocketGateway','CONNECTING','set','all','addToReconnectionStack','11313FshaZG','_isBrowserOffline','constructor','function','token','get','error','websocketgateway-invalid-plugin-interface','requires','listenTo','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','config','websocketgateway-missing-websocket-url','3065NWkGPK','cloudservices-init','websocketgateway-plugin-already-registered','catch','connection','showWarning','_domEmitter','connect','isInReconnectionStack','state','init','cloudServices.connectionTimeout','webSocketUrl','2856Apakwp','from','stopListening','destroy','pluginName','5800128YJhUyj','cloudServices.requestTimeout','add','initialReconnectionInterval','CONNECTED','offline','isPremiumPlugin','CloudServices','_reconnectionStack','limitExceeded','610ZlqvLP','1383753aLqoCJ'];_0x20a0=function(){return _0x4f76c5;};return _0x20a0();}import{DomEmitterMixin as _0x558dfb,CKEditorError as _0x1fb9b7}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3aa8a1,WEB_SOCKET_GATEWAY_STATES as _0x3b0b4c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x37e81f}from'ckeditor5/src/ui.js';class n extends _0x1866fa{static [_0x1f9afb(0x124)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3aa8a1)());static [_0x1f9afb(0x14b)]=0x3e8;[_0x1f9afb(0x13a)];[_0x1f9afb(0x150)];[_0x1f9afb(0x163)];[_0x1f9afb(0x13c)];static get[_0x1f9afb(0x131)](){const _0x2d49f1=_0x1f9afb;return[_0x2d49f1(0x14f),_0x37e81f];}static get[_0x1f9afb(0x147)](){const _0x5e278b=_0x1f9afb;return _0x5e278b(0x124);}static get[_0x1f9afb(0x165)](){return!0x0;}static get[_0x1f9afb(0x14e)](){return!0x0;}constructor(_0x4b15e5){const _0x1e3196=_0x1f9afb;super(_0x4b15e5),this[_0x1e3196(0x126)](_0x1e3196(0x13f),_0x3b0b4c[_0x1e3196(0x14c)]),this[_0x1e3196(0x126)](_0x1e3196(0x12a),!0x1),this[_0x1e3196(0x150)]=new Set(),this[_0x1e3196(0x163)]=!0x1,this[_0x1e3196(0x13c)]=new(_0x558dfb())();}[_0x1f9afb(0x140)](){const _0xf6d5f4=_0x1f9afb,_0x21cf79=this[_0xf6d5f4(0x167)],_0x29250f=_0x21cf79[_0xf6d5f4(0x161)][_0xf6d5f4(0x12e)](_0xf6d5f4(0x14f)),_0x41625b=_0x21cf79[_0xf6d5f4(0x161)][_0xf6d5f4(0x12e)](_0x37e81f);if(!_0x29250f[_0xf6d5f4(0x12d)])throw new _0x1fb9b7(_0xf6d5f4(0x120),this);if(!_0x29250f[_0xf6d5f4(0x142)])throw new _0x1fb9b7(_0xf6d5f4(0x135),this);return this[_0xf6d5f4(0x13c)][_0xf6d5f4(0x132)](window,_0xf6d5f4(0x14d),()=>this[_0xf6d5f4(0x12a)]=!0x0),this[_0xf6d5f4(0x13c)][_0xf6d5f4(0x132)](window,_0xf6d5f4(0x159),()=>this[_0xf6d5f4(0x12a)]=!0x1),this[_0xf6d5f4(0x167)][_0xf6d5f4(0x134)][_0xf6d5f4(0x16a)](_0xf6d5f4(0x141),0xa),this[_0xf6d5f4(0x167)][_0xf6d5f4(0x134)][_0xf6d5f4(0x16a)](_0xf6d5f4(0x149),0x14),n[_0xf6d5f4(0x124)][_0xf6d5f4(0x13d)](_0x29250f[_0xf6d5f4(0x12d)],_0x29250f[_0xf6d5f4(0x142)],{'timeout':0x3e8*this[_0xf6d5f4(0x167)][_0xf6d5f4(0x134)][_0xf6d5f4(0x12e)](_0xf6d5f4(0x141)),'requestTimeout':0x3e8*this[_0xf6d5f4(0x167)][_0xf6d5f4(0x134)][_0xf6d5f4(0x12e)](_0xf6d5f4(0x149))})[_0xf6d5f4(0x158)](_0x13c0d4=>{const _0x31d13f=_0xf6d5f4;if(this[_0x31d13f(0x13a)]=_0x13c0d4,this[_0x31d13f(0x164)](_0x31d13f(0x13f))['to'](_0x13c0d4,_0x31d13f(0x13f),this,_0x31d13f(0x12a),(_0x1670fd,_0x327275)=>(_0x31d13f(0x155)!==_0x1670fd&&(this[_0x31d13f(0x163)]=!0x0),_0x327275||_0x1670fd!==_0x3b0b4c[_0x31d13f(0x14c)]?_0x3b0b4c[_0x31d13f(0x121)]:this[_0x31d13f(0x13f)]==_0x3b0b4c[_0x31d13f(0x121)]&&this[_0x31d13f(0x163)]?(this[_0x31d13f(0x163)]=!0x1,this[_0x31d13f(0x160)](),_0x3b0b4c[_0x31d13f(0x125)]):_0x3b0b4c[_0x31d13f(0x14c)])),this[_0x31d13f(0x13a)]['on'](_0x31d13f(0x12f),(_0x1ee6a2,_0x46fb08)=>{const _0x571087=_0x31d13f;if(_0x571087(0x151)!==_0x46fb08[_0x571087(0x123)])throw console[_0x571087(0x12f)](_0x46fb08),new _0x1fb9b7(_0x571087(0x137),null,{'originalError':_0x46fb08});_0x41625b[_0x571087(0x13b)](_0x571087(0x133),{'title':_0x571087(0x16b),'namespace':_0x571087(0x15b)});}),!_0x13c0d4['me'])return new Promise(_0x3e64dc=>_0x13c0d4['on'](_0x31d13f(0x169),_0x3e64dc));})[_0xf6d5f4(0x139)](_0x16485a=>{const _0x3d9379=_0xf6d5f4;throw console[_0x3d9379(0x12f)](_0x16485a),new _0x1fb9b7(_0x3d9379(0x137),null,{'originalError':_0x16485a});});}[_0x1f9afb(0x128)](_0x7b29c9){const _0x31e350=_0x1f9afb;if(_0x31e350(0x12c)!=typeof _0x7b29c9[_0x31e350(0x15d)])throw new _0x1fb9b7(_0x31e350(0x130),this);if(this[_0x31e350(0x13e)](_0x7b29c9))throw new _0x1fb9b7(_0x31e350(0x138),this,{'name':_0x7b29c9[_0x31e350(0x12b)][_0x31e350(0x147)]});this[_0x31e350(0x150)][_0x31e350(0x14a)](_0x7b29c9);}[_0x1f9afb(0x15f)](_0x296741){const _0x2bbb2d=_0x1f9afb;this[_0x2bbb2d(0x150)][_0x2bbb2d(0x168)](_0x296741);}[_0x1f9afb(0x13e)](_0x1a32d4){const _0x2bb025=_0x1f9afb;return this[_0x2bb025(0x150)][_0x2bb025(0x166)](_0x1a32d4);}[_0x1f9afb(0x160)](){const _0x2790bc=_0x1f9afb;return this[_0x2790bc(0x13a)][_0x2790bc(0x15d)]()[_0x2790bc(0x158)](()=>Promise[_0x2790bc(0x127)](Array[_0x2790bc(0x144)](this[_0x2790bc(0x150)],_0x321ac7=>_0x321ac7[_0x2790bc(0x15d)]())))[_0x2790bc(0x158)](()=>this[_0x2790bc(0x13f)]=_0x3b0b4c[_0x2790bc(0x14c)])[_0x2790bc(0x139)](_0x58e461=>{const _0x2c1648=_0x2790bc;throw console[_0x2c1648(0x12f)](_0x58e461),new _0x1fb9b7(_0x2c1648(0x156),this[_0x2c1648(0x167)]);});}[_0x1f9afb(0x15c)](){const _0x3fde86=_0x1f9afb;this[_0x3fde86(0x13a)]&&this[_0x3fde86(0x13a)][_0x3fde86(0x15c)](),this[_0x3fde86(0x13f)]=_0x3b0b4c[_0x3fde86(0x121)],this[_0x3fde86(0x13c)][_0x3fde86(0x145)]();}[_0x1f9afb(0x146)](){const _0x53655c=_0x1f9afb;this[_0x53655c(0x15c)](),super[_0x53655c(0x146)]();}}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x13eb17=_0x1325;(function(_0x1dc774,_0x59b820){var _0x548353=_0x1325,_0x920568=_0x1dc774();while(!![]){try{var _0x3c842b=parseInt(_0x548353(0xfd))/0x1+-parseInt(_0x548353(0xfe))/0x2+parseInt(_0x548353(0xfb))/0x3*(-parseInt(_0x548353(0xf5))/0x4)+parseInt(_0x548353(0xf9))/0x5+parseInt(_0x548353(0xf1))/0x6*(-parseInt(_0x548353(0xfc))/0x7)+parseInt(_0x548353(0xff))/0x8*(parseInt(_0x548353(0xfa))/0x9)+parseInt(_0x548353(0xf3))/0xa*(-parseInt(_0x548353(0x100))/0xb);if(_0x3c842b===_0x59b820)break;else _0x920568['push'](_0x920568['shift']());}catch(_0x299e0d){_0x920568['push'](_0x920568['shift']());}}}(_0x37cd,0x38e31));function _0x1325(_0x5a430b,_0x11bb03){var _0x37cd2f=_0x37cd();return _0x1325=function(_0x13250a,_0x115d35){_0x13250a=_0x13250a-0xf1;var _0x683be5=_0x37cd2f[_0x13250a];return _0x683be5;},_0x1325(_0x5a430b,_0x11bb03);}import{Plugin as _0x847f85}from'ckeditor5/src/core.js';function _0x37cd(){var _0x385405=['4092FFjEtc','RealTimeCollaborativeEditing','196910WBuqpk','requires','244lPEVtn','pluginName','isOfficialPlugin','isPremiumPlugin','2297315vcZsEM','45oFmBmt','17703itjDvH','987PccCFu','340350wuWWAk','328610IihbrY','117304JGKEKF','11hgprGD'];_0x37cd=function(){return _0x385405;};return _0x37cd();}import{RealTimeCollaborationClient as _0xa2b4fc}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x847f85{static get[_0x13eb17(0xf4)](){return[_0xa2b4fc];}static get[_0x13eb17(0xf6)](){var _0xd4a672=_0x13eb17;return _0xd4a672(0xf2);}static get[_0x13eb17(0xf7)](){return!0x0;}static get[_0x13eb17(0xf8)](){return!0x0;}}
23
+ function _0x3abe(_0x37e26f,_0x2c54b9){var _0x19b917=_0x19b9();return _0x3abe=function(_0x3abe2a,_0x5f0ea3){_0x3abe2a=_0x3abe2a-0x1e0;var _0x59c8a5=_0x19b917[_0x3abe2a];return _0x59c8a5;},_0x3abe(_0x37e26f,_0x2c54b9);}var _0x42d80f=_0x3abe;(function(_0x2ac1a3,_0x2b8df3){var _0x467e3b=_0x3abe,_0x3b03c2=_0x2ac1a3();while(!![]){try{var _0x39d4fc=parseInt(_0x467e3b(0x1e8))/0x1*(-parseInt(_0x467e3b(0x1e2))/0x2)+-parseInt(_0x467e3b(0x1e0))/0x3+-parseInt(_0x467e3b(0x1e1))/0x4+parseInt(_0x467e3b(0x1ec))/0x5+-parseInt(_0x467e3b(0x1e7))/0x6*(parseInt(_0x467e3b(0x1e3))/0x7)+parseInt(_0x467e3b(0x1e5))/0x8*(parseInt(_0x467e3b(0x1ea))/0x9)+parseInt(_0x467e3b(0x1ed))/0xa;if(_0x39d4fc===_0x2b8df3)break;else _0x3b03c2['push'](_0x3b03c2['shift']());}catch(_0x15f918){_0x3b03c2['push'](_0x3b03c2['shift']());}}}(_0x19b9,0x2b7df));import{Plugin as _0xbf682b}from'ckeditor5/src/core.js';function _0x19b9(){var _0x29075a=['31761MpDDcQ','isPremiumPlugin','924230qDnHIf','1324260FCSGHr','RealTimeCollaborativeEditing','717333dJvlve','129944ogXjXb','4zqGoKi','616399sApTyn','pluginName','664WaPAUK','requires','6CmCBMq','36191ShJnmo','isOfficialPlugin'];_0x19b9=function(){return _0x29075a;};return _0x19b9();}import{RealTimeCollaborationClient as _0x4d8814}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0xbf682b{static get[_0x42d80f(0x1e6)](){return[_0x4d8814];}static get[_0x42d80f(0x1e4)](){var _0x3ff054=_0x42d80f;return _0x3ff054(0x1ee);}static get[_0x42d80f(0x1e9)](){return!0x0;}static get[_0x42d80f(0x1eb)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a7920=_0x3c9a;(function(_0x5e1258,_0x491c71){const _0x267b16=_0x3c9a,_0x40d0a7=_0x5e1258();while(!![]){try{const _0x4a2390=parseInt(_0x267b16(0xec))/0x1+parseInt(_0x267b16(0x119))/0x2*(parseInt(_0x267b16(0xbe))/0x3)+parseInt(_0x267b16(0xe0))/0x4*(-parseInt(_0x267b16(0xbf))/0x5)+parseInt(_0x267b16(0xd2))/0x6+parseInt(_0x267b16(0xf8))/0x7+-parseInt(_0x267b16(0xc1))/0x8*(parseInt(_0x267b16(0xd4))/0x9)+-parseInt(_0x267b16(0xc4))/0xa;if(_0x4a2390===_0x491c71)break;else _0x40d0a7['push'](_0x40d0a7['shift']());}catch(_0x4e88b6){_0x40d0a7['push'](_0x40d0a7['shift']());}}}(_0xf570,0x5d13a));import{Plugin as _0x2d1acb}from'ckeditor5/src/core.js';import{version as _0xf428ad}from'ckeditor5/src/utils.js';import{Users as _0x3630ae}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x1be86c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3c9a(_0x9c409f,_0x49383c){const _0xf5707=_0xf570();return _0x3c9a=function(_0x3c9afa,_0x5ea0c3){_0x3c9afa=_0x3c9afa-0xa9;let _0x1d9a31=_0xf5707[_0x3c9afa];return _0x1d9a31;},_0x3c9a(_0x9c409f,_0x49383c);}import{WebSocketGateway as _0x4552ba}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x7b913e}from'../realtimecollaborativeediting/sessions.js';function _0xf570(){const _0x453350=['catch','_getLatestVersion','pluginName','isPremiumPlugin','setRevisionData','cloudServices.bundleVersion','isConnected','listenTo','add','diffData','config','1026114QdOYJz','message','288AEDkGb','_revisions','_waitForServiceReady','size','serverHistory','map','change:_isConnected','CloudServicesRevisionHistoryAdapter','400','revisionsUpdated','state','_bufferedUpdates','4APnbIc','startsWith','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','adapter','createdAt','requires','authorsIds','_revisionHistoryService','editor','then','_revisionDataBuilder','reInit','607622hzGOpq','updateRevisions','has','get','buildRevisionData','off','authors','connected','_getLatestVersionFromServerOperations','CONNECTED','getMany','reverse','3457020VZsATq','addToReconnectionStack','_createCurrentRevision','fromVersion','_oldOffset','_bufferUpdate','_lastRequestId','_startingVersion','isEmptyCurrent','getRevision','_offset','_update','setSource','data','toVersion','length','_isConnected','type','_revisionTracker','sessionId','getUser','cloud-services-internal-error:\x20Not\x20connected.','code','addRevisionData','_preventResendingRevisionData','_handleReconnectionError','baseVersion','cloud-services-internal-error:\x20Request\x20timeout.','connect','currentRevision','creatorId','RevisionHistoryService','isOfficialPlugin','13408TYrZrx','connection','sendBufferedUpdates','once','_isPendingUpdate','max','keys','getRevisions','affectsData','addUser','bind','repository','isEnabled','change:_isPendingUpdate','destroy','collaboration.channelId','wrongRequestId','_fixRevision','_fetchMissingUsers','reconnect','isBundleUploaded','RevisionTracker','from','RevisionHistory','getOperations','339oPVDyv','885725aZzBhm','plugins','128112YVbgbx','marker','_handleRevisionsUpdate','9592180WdJuwd','remove','init'];_0xf570=function(){return _0x453350;};return _0xf570();}import{EditorService as _0x4ef808,RevisionHistoryService as _0x379e67,User as _0x33ca70,WEB_SOCKET_GATEWAY_STATES as _0x5a7d10}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x2d1acb{static [_0x2a7920(0x117)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x379e67)());[_0x2a7920(0xfe)];[_0x2a7920(0x10a)];[_0x2a7920(0xe7)];[_0x2a7920(0xfc)];static get[_0x2a7920(0xe5)](){const _0x103edc=_0x2a7920;return[_0x4552ba,_0x1be86c,_0x103edc(0xbc),_0x7b913e,_0x3630ae];}static get[_0x2a7920(0xc9)](){const _0xd5e617=_0x2a7920;return _0xd5e617(0xdb);}static get[_0x2a7920(0x118)](){return!0x0;}static get[_0x2a7920(0xca)](){return!0x0;}constructor(_0x19e211){const _0xfa9945=_0x2a7920;super(_0x19e211);const _0x26a234=this[_0xfa9945(0xe8)][_0xfa9945(0xd1)][_0xfa9945(0xef)](_0xfa9945(0xb4));this[_0xfa9945(0xfe)]=null,this[_0xfa9945(0x10a)]=this[_0xfa9945(0xe8)][_0xfa9945(0xc0)][_0xfa9945(0xef)](_0xfa9945(0xba)),this[_0xfa9945(0xe7)]=new c[(_0xfa9945(0x117))](_0x26a234);}async[_0x2a7920(0xc6)](){const _0x14be88=_0x2a7920,_0x4ee838=this[_0x14be88(0xe8)][_0x14be88(0xc0)][_0x14be88(0xef)](_0x1be86c),_0x56c6e6=_0x4ee838[_0x14be88(0xd8)],_0x18a644=this[_0x14be88(0xe8)][_0x14be88(0xc0)][_0x14be88(0xef)](_0x4552ba);this[_0x14be88(0x10a)][_0x14be88(0x104)]({'history':_0x56c6e6,'getLatestVersion':()=>this[_0x14be88(0xc8)](),'getCurrentRevisionId':()=>_0x4ee838[_0x14be88(0x10b)]});const _0x232aed=this[_0x14be88(0xe8)][_0x14be88(0xd1)][_0x14be88(0xef)](_0x14be88(0xcc))||_0xf428ad,_0x34f5ed=await _0x4ef808[_0x14be88(0xb9)](_0x18a644[_0x14be88(0x11a)],_0x232aed);this[_0x14be88(0xe8)][_0x14be88(0xc0)][_0x14be88(0xef)](_0x14be88(0xbc))[_0x14be88(0xe3)]={'getRevision':async({revisionId:_0x223271})=>(await this[_0x14be88(0xd6)](),await this[_0x14be88(0xe7)][_0x14be88(0x101)](_0x223271)),'updateRevisions':async _0xe0999=>{const _0x18c50d=_0x14be88;await this[_0x18c50d(0xd6)]();const _0x4315d7=this[_0x18c50d(0x10a)][_0x18c50d(0x115)];if(_0x34f5ed&&0x1===_0xe0999[_0x18c50d(0x107)]&&_0xe0999[0x0]['id']===_0x4315d7['id'])return _0xe0999;for(const _0x3e8c01 of _0xe0999)_0x3e8c01['id']===_0x4315d7['id']&&(_0x3e8c01[_0x18c50d(0x100)]=_0x3e8c01[_0x18c50d(0xfb)]===_0x3e8c01[_0x18c50d(0x106)]);return this[_0x18c50d(0xe7)][_0x18c50d(0xed)](_0xe0999,this[_0x18c50d(0xfe)])[_0x18c50d(0xe9)](_0x1696c5=>(this[_0x18c50d(0xfe)]=_0x1696c5,_0xe0999))[_0x18c50d(0xc7)](_0x4a670a=>{const _0x394e3b=_0x18c50d;if(st(_0x4a670a)||_0x394e3b(0xdc)===_0x4a670a[_0x394e3b(0x10e)]&&void 0x0!==_0x4a670a[_0x394e3b(0x105)][_0x394e3b(0xb5)]){for(const _0x1fec41 of _0xe0999){!this[_0x394e3b(0x10a)][_0x394e3b(0xb0)][_0x394e3b(0x101)](_0x1fec41['id'])||this[_0x394e3b(0x10a)][_0x394e3b(0xfd)](_0x1fec41['id'],_0x1fec41,!0x1);}if(st(_0x4a670a))throw _0x4a670a;return _0xe0999;}throw _0x4a670a;});}},this[_0x14be88(0xce)](this[_0x14be88(0xe7)],_0x14be88(0xdd),(_0xd0566b,{revisionsData:_0x16914f,requestId:_0x3d25ff})=>{const _0x2a4d05=_0x14be88;Math[_0x2a4d05(0xaa)](..._0x16914f[_0x2a4d05(0xd9)](_0x1cf1ee=>_0x1cf1ee[_0x2a4d05(0x106)]))>this[_0x2a4d05(0xf4)]()-0x1?this[_0x2a4d05(0xc8)]()[_0x2a4d05(0xe9)](()=>{const _0x5b5900=_0x2a4d05;this[_0x5b5900(0xc3)](_0x16914f,_0x3d25ff);}):this[_0x2a4d05(0xc3)](_0x16914f,_0x3d25ff);});const {revisions:_0x1ecc90,requestId:_0x321b6f}=await this[_0x14be88(0xe7)][_0x14be88(0x114)](_0x18a644[_0x14be88(0x11a)]);_0x18a644[_0x14be88(0xf9)](this),this[_0x14be88(0xfe)]=_0x321b6f,await this[_0x14be88(0xb7)](_0x1ecc90);for(const _0x1c8d0a of _0x1ecc90)this[_0x14be88(0x10a)][_0x14be88(0x10f)](_0x1c8d0a);this[_0x14be88(0xce)](_0x4ee838,_0x14be88(0xda),(_0x116eee,_0x1aa75b,_0x320f91)=>{const _0x1db753=_0x14be88;_0x320f91&&(this[_0x1db753(0xfc)]=_0x4ee838[_0x1db753(0x102)],_0x116eee[_0x1db753(0xf1)]());}),this[_0x14be88(0x10a)][_0x14be88(0xaf)](_0x14be88(0xb1))['to'](_0x18a644,_0x14be88(0xde),_0x5b4420=>_0x5b4420===_0x5a7d10[_0x14be88(0xf5)]);}async[_0x2a7920(0xb8)](){const _0x1c8d54=_0x2a7920,_0x3dac44=this[_0x1c8d54(0xe8)][_0x1c8d54(0xc0)][_0x1c8d54(0xef)](_0x4552ba),_0x4e988d=this[_0x1c8d54(0xe8)][_0x1c8d54(0xc0)][_0x1c8d54(0xef)](_0x1be86c),_0xa31060=async()=>{const _0x5c1da8=_0x1c8d54,_0x5776ed=this[_0x5c1da8(0x10a)][_0x5c1da8(0x115)],_0x46add6=_0x5776ed['id'],_0x22e2c3=_0x46add6!==_0x4e988d[_0x5c1da8(0x10b)];if(_0x22e2c3){const _0x20faaa=_0x4e988d[_0x5c1da8(0x102)]-this[_0x5c1da8(0xfc)],_0x1d41fd=this[_0x5c1da8(0xf4)]();this[_0x5c1da8(0x10a)][_0x5c1da8(0xea)][_0x5c1da8(0xeb)]();if(_0x5776ed[_0x5c1da8(0x106)]+_0x20faaa!==_0x1d41fd){const _0x114279=_0x5776ed[_0x5c1da8(0xfb)]+_0x20faaa,_0x5bd7cb=this[_0x5c1da8(0xe8)][_0x5c1da8(0xc0)][_0x5c1da8(0xef)](_0x3630ae),_0xe5f612=this[_0x5c1da8(0x10a)][_0x5c1da8(0xf0)]({'revision':_0x5776ed,'from':_0x114279,'to':_0x1d41fd});_0xe5f612['id']=_0x5776ed['id'];const _0x32675d=_0xe5f612[_0x5c1da8(0xe6)][_0x5c1da8(0xd9)](_0x2b4e08=>_0x5bd7cb[_0x5c1da8(0x10c)](_0x2b4e08));_0x5776ed[_0x5c1da8(0x103)]({..._0xe5f612,'authors':_0x32675d},!0x0),this[_0x5c1da8(0x10a)][_0x5c1da8(0xfd)](_0x5776ed['id'],_0xe5f612,!0x0);}this[_0x5c1da8(0x10a)][_0x5c1da8(0xff)]=_0x1d41fd,(_0x5776ed[_0x5c1da8(0x106)]===_0x5776ed[_0x5c1da8(0xfb)]&&!this[_0x5c1da8(0x10a)][_0x5c1da8(0xdf)][_0x5c1da8(0xee)](_0x46add6)&&this[_0x5c1da8(0x10a)][_0x5c1da8(0xb0)][_0x5c1da8(0xd5)][_0x5c1da8(0xc5)](_0x46add6),this[_0x5c1da8(0x10a)][_0x5c1da8(0xfa)](_0x1d41fd));}const {revisions:_0x21cdef,requestId:_0x116342}=await this[_0x5c1da8(0xe7)][_0x5c1da8(0xb8)](_0x3dac44[_0x5c1da8(0x11a)],this[_0x5c1da8(0xfe)]);_0x22e2c3&&_0x21cdef[_0x5c1da8(0x107)]>0x0?_0x4e988d[_0x5c1da8(0x111)]():(await this[_0x5c1da8(0xb7)](_0x21cdef),this[_0x5c1da8(0xc3)](_0x21cdef,_0x116342),this[_0x5c1da8(0x10a)][_0x5c1da8(0x11b)]());};return _0x4e988d[_0x1c8d54(0x108)]?_0xa31060():new Promise((_0x32022b,_0x3f3250)=>{const _0x30f364=_0x1c8d54;_0x4e988d[_0x30f364(0x11c)](_0x30f364(0xda),()=>{const _0x4f124b=_0x30f364;_0xa31060()[_0x4f124b(0xe9)](_0x32022b)[_0x4f124b(0xc7)](_0x3f3250);});});}[_0x2a7920(0xb3)](){const _0x4d87a4=_0x2a7920;super[_0x4d87a4(0xb3)]();}async[_0x2a7920(0xd6)](){const _0x3eec20=_0x2a7920;this[_0x3eec20(0xe7)][_0x3eec20(0xcd)]||await new Promise(_0x5b172a=>{const _0x439c01=_0x3eec20;this[_0x439c01(0xce)](this[_0x439c01(0xe7)],_0x439c01(0xf3),_0x2826d1=>{const _0x17a8ba=_0x439c01;_0x2826d1[_0x17a8ba(0xf1)](),_0x5b172a();});});}[_0x2a7920(0xf4)](){const _0x4bb1c0=_0x2a7920,_0x30e221=this[_0x4bb1c0(0xe8)][_0x4bb1c0(0xc0)][_0x4bb1c0(0xef)](_0x1be86c)[_0x4bb1c0(0xd8)][_0x4bb1c0(0xbd)]()[_0x4bb1c0(0xf7)]();for(const _0x238bc5 of _0x30e221)if(_0x4bb1c0(0xc2)!==_0x238bc5[_0x4bb1c0(0x109)]||_0x238bc5[_0x4bb1c0(0xad)])return _0x238bc5[_0x4bb1c0(0x112)]+0x1;}[_0x2a7920(0xc8)](){const _0x390a3b=_0x2a7920,_0x2d7ce7=this[_0x390a3b(0xe8)][_0x390a3b(0xc0)][_0x390a3b(0xef)](_0x1be86c);return new Promise(_0x5761e7=>{const _0x27cb3c=_0x390a3b;_0x2d7ce7[_0x27cb3c(0xa9)]?_0x2d7ce7[_0x27cb3c(0x11c)](_0x27cb3c(0xb2),()=>{const _0x5d64b2=_0x27cb3c;_0x5761e7(this[_0x5d64b2(0xf4)]());}):_0x5761e7(this[_0x27cb3c(0xf4)]());});}[_0x2a7920(0xc3)](_0x534595,_0x56b100){const _0x2c7d59=_0x2a7920,_0x10b5c5=this[_0x2c7d59(0x10a)][_0x2c7d59(0xb0)];this[_0x2c7d59(0xfe)]=_0x56b100;for(const _0x6237c7 of _0x534595){const _0x77d5ca=_0x10b5c5[_0x2c7d59(0x101)](_0x6237c7['id']);if(_0x77d5ca){if((_0x6237c7[_0x2c7d59(0xfb)]||_0x6237c7[_0x2c7d59(0x106)])&&(_0x6237c7[_0x2c7d59(0xd0)]=null),_0x77d5ca===this[_0x2c7d59(0x10a)][_0x2c7d59(0x115)]){const _0x373a23=Math[_0x2c7d59(0xaa)](_0x77d5ca[_0x2c7d59(0x106)],_0x6237c7[_0x2c7d59(0x106)]),_0x3fbde7=Math[_0x2c7d59(0xaa)](_0x77d5ca[_0x2c7d59(0xfb)],_0x6237c7[_0x2c7d59(0xfb)]);let _0x2d8a78;_0x77d5ca[_0x2c7d59(0x106)]===_0x6237c7[_0x2c7d59(0x106)]&&_0x77d5ca[_0x2c7d59(0xfb)]===_0x6237c7[_0x2c7d59(0xfb)]?(_0x2d8a78=!0x0,this[_0x2c7d59(0x110)](_0x6237c7)):_0x6237c7[_0x2c7d59(0x106)]===_0x373a23&&_0x6237c7[_0x2c7d59(0xfb)]===_0x3fbde7?_0x2d8a78=!0x1:(_0x77d5ca[_0x2c7d59(0x106)]===_0x373a23&&_0x77d5ca[_0x2c7d59(0xfb)]===_0x3fbde7||this[_0x2c7d59(0xb6)]({'revision':_0x77d5ca,'from':_0x3fbde7,'to':_0x373a23}),_0x2d8a78=!0x0),_0x2d8a78&&(delete _0x6237c7[_0x2c7d59(0xfb)],delete _0x6237c7[_0x2c7d59(0x106)],delete _0x6237c7[_0x2c7d59(0xd0)],delete _0x6237c7[_0x2c7d59(0xe4)],delete _0x6237c7[_0x2c7d59(0xe6)]);}this[_0x2c7d59(0x10a)][_0x2c7d59(0xcb)](_0x6237c7),this[_0x2c7d59(0x110)](_0x6237c7);}else this[_0x2c7d59(0x10a)][_0x2c7d59(0x10f)](_0x6237c7);}const _0x4c9a1d=_0x10b5c5[_0x2c7d59(0xac)]();_0x4c9a1d[_0x2c7d59(0xf7)]();for(let _0x2ca68c=0x0;_0x2ca68c<_0x4c9a1d[_0x2c7d59(0x107)]-0x1;_0x2ca68c++){const _0x460474=_0x4c9a1d[_0x2ca68c],_0x46d096=_0x4c9a1d[_0x2ca68c+0x1];if(_0x460474[_0x2c7d59(0xfb)]<_0x46d096[_0x2c7d59(0x106)]){const _0x7bb7d9=_0x46d096[_0x2c7d59(0x106)],_0x815811=Math[_0x2c7d59(0xaa)](_0x7bb7d9,_0x460474[_0x2c7d59(0x106)]);this[_0x2c7d59(0xb6)]({'revision':_0x460474,'from':_0x7bb7d9,'to':_0x815811});}}}[_0x2a7920(0xb6)]({revision:_0xe60d76,from:_0x5cdbeb,to:_0x3c5747}={}){const _0x5d5238=_0x2a7920,_0x31bcf2=this[_0x5d5238(0xe8)][_0x5d5238(0xc0)][_0x5d5238(0xef)](_0x3630ae),_0x2de9ce=this[_0x5d5238(0x10a)][_0x5d5238(0xf0)]({'revision':_0xe60d76,'from':_0x5cdbeb,'to':_0x3c5747});_0x2de9ce[_0x5d5238(0xf2)]=_0x2de9ce[_0x5d5238(0xe6)][_0x5d5238(0xd9)](_0x29778d=>_0x31bcf2[_0x5d5238(0x10c)](_0x29778d)),_0xe60d76[_0x5d5238(0x103)](_0x2de9ce);}[_0x2a7920(0x110)](_0x575ab1){const _0x243fb9=_0x2a7920,_0x1d9469={};_0x1d9469['id']=_0x575ab1['id'];for(const _0x49576e of Object[_0x243fb9(0xab)](_0x575ab1))'id'!==_0x49576e&&(_0x1d9469[_0x49576e]=void 0x0);this[_0x243fb9(0x10a)][_0x243fb9(0xfd)](_0x1d9469['id'],_0x1d9469,!0x0);}async[_0x2a7920(0xb7)](_0x2b4e0b){const _0x3c16c1=_0x2a7920,_0x2370a2=this[_0x3c16c1(0xe8)][_0x3c16c1(0xc0)][_0x3c16c1(0xef)](_0x3630ae),{connection:_0x1dfad7}=this[_0x3c16c1(0xe8)][_0x3c16c1(0xc0)][_0x3c16c1(0xef)](_0x4552ba),_0x5bf51d=new Set();for(const _0xefa25c of _0x2b4e0b){for(const _0x3c3267 of _0xefa25c[_0x3c16c1(0xe6)])_0x1863ea(_0x3c3267);_0xefa25c[_0x3c16c1(0x116)]&&_0x1863ea(_0xefa25c[_0x3c16c1(0x116)]);}if(0x0===_0x5bf51d[_0x3c16c1(0xd7)])return;const _0x1b4e61=await _0x33ca70[_0x3c16c1(0xf6)](_0x1dfad7,Array[_0x3c16c1(0xbb)](_0x5bf51d));for(const _0x33eb4e of _0x1b4e61)_0x2370a2[_0x3c16c1(0x10c)](_0x33eb4e['id'])||_0x2370a2[_0x3c16c1(0xae)](_0x33eb4e);function _0x1863ea(_0x539605){const _0x314f48=_0x3c16c1;_0x2370a2[_0x314f48(0x10c)](_0x539605)||_0x5bf51d[_0x314f48(0xcf)](_0x539605);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x5951b4){const _0x2b91ed=_0x2a7920;return _0x5951b4[_0x2b91ed(0xd3)][_0x2b91ed(0xe1)](_0x2b91ed(0xe2))||_0x5951b4[_0x2b91ed(0xd3)][_0x2b91ed(0xe1)](_0x2b91ed(0x10d))||_0x5951b4[_0x2b91ed(0xd3)][_0x2b91ed(0xe1)](_0x2b91ed(0x113));}
23
+ function _0x166f(_0x58a578,_0x293e9f){const _0xc2f9ad=_0xc2f9();return _0x166f=function(_0x166f60,_0x3ec3db){_0x166f60=_0x166f60-0x11c;let _0xef776a=_0xc2f9ad[_0x166f60];return _0xef776a;},_0x166f(_0x58a578,_0x293e9f);}const _0x23c666=_0x166f;(function(_0x1ab607,_0x21c348){const _0x3ad358=_0x166f,_0x3afee5=_0x1ab607();while(!![]){try{const _0x4361c6=-parseInt(_0x3ad358(0x11d))/0x1*(parseInt(_0x3ad358(0x17c))/0x2)+parseInt(_0x3ad358(0x130))/0x3+-parseInt(_0x3ad358(0x15d))/0x4*(parseInt(_0x3ad358(0x188))/0x5)+-parseInt(_0x3ad358(0x176))/0x6*(parseInt(_0x3ad358(0x166))/0x7)+parseInt(_0x3ad358(0x146))/0x8*(-parseInt(_0x3ad358(0x16f))/0x9)+parseInt(_0x3ad358(0x180))/0xa+parseInt(_0x3ad358(0x149))/0xb*(parseInt(_0x3ad358(0x12e))/0xc);if(_0x4361c6===_0x21c348)break;else _0x3afee5['push'](_0x3afee5['shift']());}catch(_0x15afa4){_0x3afee5['push'](_0x3afee5['shift']());}}}(_0xc2f9,0x78da2));import{Plugin as _0x43afe1}from'ckeditor5/src/core.js';import{version as _0x4f0072}from'ckeditor5/src/utils.js';import{Users as _0x552183}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x383190}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3e244c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x128960}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3abcff,RevisionHistoryService as _0x30fd3c,User as _0x42ae13,WEB_SOCKET_GATEWAY_STATES as _0x47d10a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x43afe1{static [_0x23c666(0x140)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x30fd3c)());[_0x23c666(0x132)];[_0x23c666(0x179)];[_0x23c666(0x187)];[_0x23c666(0x191)];static get[_0x23c666(0x11e)](){const _0x51cc8d=_0x23c666;return[_0x3e244c,_0x383190,_0x51cc8d(0x181),_0x128960,_0x552183];}static get[_0x23c666(0x16c)](){const _0x5e63b6=_0x23c666;return _0x5e63b6(0x15b);}static get[_0x23c666(0x17f)](){return!0x0;}static get[_0x23c666(0x152)](){return!0x0;}constructor(_0x24dd97){const _0x146231=_0x23c666;super(_0x24dd97);const _0x49180f=this[_0x146231(0x182)][_0x146231(0x160)][_0x146231(0x13b)](_0x146231(0x151));this[_0x146231(0x132)]=null,this[_0x146231(0x179)]=this[_0x146231(0x182)][_0x146231(0x148)][_0x146231(0x13b)](_0x146231(0x18c)),this[_0x146231(0x187)]=new c[(_0x146231(0x140))](_0x49180f);}async[_0x23c666(0x14a)](){const _0x3d4155=_0x23c666,_0x13fd19=this[_0x3d4155(0x182)][_0x3d4155(0x148)][_0x3d4155(0x13b)](_0x383190),_0x47b948=_0x13fd19[_0x3d4155(0x159)],_0x24cf1b=this[_0x3d4155(0x182)][_0x3d4155(0x148)][_0x3d4155(0x13b)](_0x3e244c);this[_0x3d4155(0x179)][_0x3d4155(0x175)]({'history':_0x47b948,'getLatestVersion':()=>this[_0x3d4155(0x17d)](),'getCurrentRevisionId':()=>_0x13fd19[_0x3d4155(0x190)]});const _0x255ae7=this[_0x3d4155(0x182)][_0x3d4155(0x160)][_0x3d4155(0x13b)](_0x3d4155(0x183))||_0x4f0072,_0x15cd4f=await _0x3abcff[_0x3d4155(0x186)](_0x24cf1b[_0x3d4155(0x155)],_0x255ae7);this[_0x3d4155(0x182)][_0x3d4155(0x148)][_0x3d4155(0x13b)](_0x3d4155(0x181))[_0x3d4155(0x120)]={'getRevision':async({revisionId:_0x4799d7})=>(await this[_0x3d4155(0x170)](),await this[_0x3d4155(0x187)][_0x3d4155(0x18e)](_0x4799d7)),'updateRevisions':async _0x327caf=>{const _0x3f86e3=_0x3d4155;await this[_0x3f86e3(0x170)]();const _0x58c461=this[_0x3f86e3(0x179)][_0x3f86e3(0x18b)];if(_0x15cd4f&&0x1===_0x327caf[_0x3f86e3(0x16e)]&&_0x327caf[0x0]['id']===_0x58c461['id'])return _0x327caf;for(const _0x2b0597 of _0x327caf)_0x2b0597['id']===_0x58c461['id']&&(_0x2b0597[_0x3f86e3(0x17a)]=_0x2b0597[_0x3f86e3(0x161)]===_0x2b0597[_0x3f86e3(0x13a)]);return this[_0x3f86e3(0x187)][_0x3f86e3(0x128)](_0x327caf,this[_0x3f86e3(0x132)])[_0x3f86e3(0x12f)](_0x9d4579=>(this[_0x3f86e3(0x132)]=_0x9d4579,_0x327caf))[_0x3f86e3(0x134)](_0x219727=>{const _0x419093=_0x3f86e3;if(st(_0x219727)||_0x419093(0x167)===_0x219727[_0x419093(0x171)]&&void 0x0!==_0x219727[_0x419093(0x177)][_0x419093(0x144)]){for(const _0x3e60d7 of _0x327caf){!this[_0x419093(0x179)][_0x419093(0x153)][_0x419093(0x18e)](_0x3e60d7['id'])||this[_0x419093(0x179)][_0x419093(0x185)](_0x3e60d7['id'],_0x3e60d7,!0x1);}if(st(_0x219727))throw _0x219727;return _0x327caf;}throw _0x219727;});}},this[_0x3d4155(0x121)](this[_0x3d4155(0x187)],_0x3d4155(0x14d),(_0x524652,{revisionsData:_0x1c61d1,requestId:_0x399e3a})=>{const _0x52b1d4=_0x3d4155;Math[_0x52b1d4(0x12c)](..._0x1c61d1[_0x52b1d4(0x15f)](_0x3e08c2=>_0x3e08c2[_0x52b1d4(0x13a)]))>this[_0x52b1d4(0x13d)]()-0x1?this[_0x52b1d4(0x17d)]()[_0x52b1d4(0x12f)](()=>{const _0x1ba6f4=_0x52b1d4;this[_0x1ba6f4(0x12d)](_0x1c61d1,_0x399e3a);}):this[_0x52b1d4(0x12d)](_0x1c61d1,_0x399e3a);});const {revisions:_0x5bf914,requestId:_0x3ecd27}=await this[_0x3d4155(0x187)][_0x3d4155(0x13e)](_0x24cf1b[_0x3d4155(0x155)]);_0x24cf1b[_0x3d4155(0x163)](this),this[_0x3d4155(0x132)]=_0x3ecd27,await this[_0x3d4155(0x139)](_0x5bf914);for(const _0x2bfaf6 of _0x5bf914)this[_0x3d4155(0x179)][_0x3d4155(0x178)](_0x2bfaf6);this[_0x3d4155(0x121)](_0x13fd19,_0x3d4155(0x141),(_0x269069,_0x20a9e5,_0x4cb19e)=>{const _0x1f42f2=_0x3d4155;_0x4cb19e&&(this[_0x1f42f2(0x191)]=_0x13fd19[_0x1f42f2(0x18f)],_0x269069[_0x1f42f2(0x127)]());}),this[_0x3d4155(0x179)][_0x3d4155(0x12b)](_0x3d4155(0x169))['to'](_0x24cf1b,_0x3d4155(0x133),_0x73b00c=>_0x73b00c===_0x47d10a[_0x3d4155(0x18a)]);}async[_0x23c666(0x11c)](){const _0x3fed32=_0x23c666,_0x29ef8e=this[_0x3fed32(0x182)][_0x3fed32(0x148)][_0x3fed32(0x13b)](_0x3e244c),_0x2c57a9=this[_0x3fed32(0x182)][_0x3fed32(0x148)][_0x3fed32(0x13b)](_0x383190),_0x311403=async()=>{const _0x11f6c4=_0x3fed32,_0x4e79d7=this[_0x11f6c4(0x179)][_0x11f6c4(0x18b)],_0x15f009=_0x4e79d7['id'],_0x13bb30=_0x15f009!==_0x2c57a9[_0x11f6c4(0x190)];if(_0x13bb30){const _0x2604fa=_0x2c57a9[_0x11f6c4(0x18f)]-this[_0x11f6c4(0x191)],_0x138a9c=this[_0x11f6c4(0x13d)]();this[_0x11f6c4(0x179)][_0x11f6c4(0x122)][_0x11f6c4(0x126)]();if(_0x4e79d7[_0x11f6c4(0x13a)]+_0x2604fa!==_0x138a9c){const _0x47adda=_0x4e79d7[_0x11f6c4(0x161)]+_0x2604fa,_0xb8fc08=this[_0x11f6c4(0x182)][_0x11f6c4(0x148)][_0x11f6c4(0x13b)](_0x552183),_0x1d9a5c=this[_0x11f6c4(0x179)][_0x11f6c4(0x12a)]({'revision':_0x4e79d7,'from':_0x47adda,'to':_0x138a9c});_0x1d9a5c['id']=_0x4e79d7['id'];const _0x2114a1=_0x1d9a5c[_0x11f6c4(0x135)][_0x11f6c4(0x15f)](_0x365d6d=>_0xb8fc08[_0x11f6c4(0x174)](_0x365d6d));_0x4e79d7[_0x11f6c4(0x15e)]({..._0x1d9a5c,'authors':_0x2114a1},!0x0),this[_0x11f6c4(0x179)][_0x11f6c4(0x185)](_0x4e79d7['id'],_0x1d9a5c,!0x0);}this[_0x11f6c4(0x179)][_0x11f6c4(0x143)]=_0x138a9c,(_0x4e79d7[_0x11f6c4(0x13a)]===_0x4e79d7[_0x11f6c4(0x161)]&&!this[_0x11f6c4(0x179)][_0x11f6c4(0x173)][_0x11f6c4(0x14c)](_0x15f009)&&this[_0x11f6c4(0x179)][_0x11f6c4(0x153)][_0x11f6c4(0x189)][_0x11f6c4(0x13f)](_0x15f009),this[_0x11f6c4(0x179)][_0x11f6c4(0x162)](_0x138a9c));}const {revisions:_0x2d7e83,requestId:_0x438931}=await this[_0x11f6c4(0x187)][_0x11f6c4(0x11c)](_0x29ef8e[_0x11f6c4(0x155)],this[_0x11f6c4(0x132)]);_0x13bb30&&_0x2d7e83[_0x11f6c4(0x16e)]>0x0?_0x2c57a9[_0x11f6c4(0x129)]():(await this[_0x11f6c4(0x139)](_0x2d7e83),this[_0x11f6c4(0x12d)](_0x2d7e83,_0x438931),this[_0x11f6c4(0x179)][_0x11f6c4(0x13c)]());};return _0x2c57a9[_0x3fed32(0x131)]?_0x311403():new Promise((_0x54ddaa,_0x5eb65c)=>{const _0x1e2734=_0x3fed32;_0x2c57a9[_0x1e2734(0x15a)](_0x1e2734(0x141),()=>{const _0x23a0ff=_0x1e2734;_0x311403()[_0x23a0ff(0x12f)](_0x54ddaa)[_0x23a0ff(0x134)](_0x5eb65c);});});}[_0x23c666(0x165)](){const _0x2f16cf=_0x23c666;super[_0x2f16cf(0x165)]();}async[_0x23c666(0x170)](){const _0xbf7d8a=_0x23c666;this[_0xbf7d8a(0x187)][_0xbf7d8a(0x14e)]||await new Promise(_0x39e491=>{const _0x474f97=_0xbf7d8a;this[_0x474f97(0x121)](this[_0x474f97(0x187)],_0x474f97(0x124),_0xbebe45=>{const _0x3e68d6=_0x474f97;_0xbebe45[_0x3e68d6(0x127)](),_0x39e491();});});}[_0x23c666(0x13d)](){const _0x137b99=_0x23c666,_0x1d69ba=this[_0x137b99(0x182)][_0x137b99(0x148)][_0x137b99(0x13b)](_0x383190)[_0x137b99(0x159)][_0x137b99(0x150)]()[_0x137b99(0x16a)]();for(const _0x48f8e8 of _0x1d69ba)if(_0x137b99(0x168)!==_0x48f8e8[_0x137b99(0x11f)]||_0x48f8e8[_0x137b99(0x16b)])return _0x48f8e8[_0x137b99(0x158)]+0x1;}[_0x23c666(0x17d)](){const _0x2f5603=_0x23c666,_0x271899=this[_0x2f5603(0x182)][_0x2f5603(0x148)][_0x2f5603(0x13b)](_0x383190);return new Promise(_0x389dcb=>{const _0x521a81=_0x2f5603;_0x271899[_0x521a81(0x164)]?_0x271899[_0x521a81(0x15a)](_0x521a81(0x137),()=>{const _0x20f1e6=_0x521a81;_0x389dcb(this[_0x20f1e6(0x13d)]());}):_0x389dcb(this[_0x521a81(0x13d)]());});}[_0x23c666(0x12d)](_0x4f33e1,_0x435cd9){const _0x2e1007=_0x23c666,_0x5db98d=this[_0x2e1007(0x179)][_0x2e1007(0x153)];this[_0x2e1007(0x132)]=_0x435cd9;for(const _0x382edc of _0x4f33e1){const _0x26713e=_0x5db98d[_0x2e1007(0x18e)](_0x382edc['id']);if(_0x26713e){if((_0x382edc[_0x2e1007(0x161)]||_0x382edc[_0x2e1007(0x13a)])&&(_0x382edc[_0x2e1007(0x123)]=null),_0x26713e===this[_0x2e1007(0x179)][_0x2e1007(0x18b)]){const _0x5c5027=Math[_0x2e1007(0x12c)](_0x26713e[_0x2e1007(0x13a)],_0x382edc[_0x2e1007(0x13a)]),_0x177ae6=Math[_0x2e1007(0x12c)](_0x26713e[_0x2e1007(0x161)],_0x382edc[_0x2e1007(0x161)]);let _0xef2f3;_0x26713e[_0x2e1007(0x13a)]===_0x382edc[_0x2e1007(0x13a)]&&_0x26713e[_0x2e1007(0x161)]===_0x382edc[_0x2e1007(0x161)]?(_0xef2f3=!0x0,this[_0x2e1007(0x142)](_0x382edc)):_0x382edc[_0x2e1007(0x13a)]===_0x5c5027&&_0x382edc[_0x2e1007(0x161)]===_0x177ae6?_0xef2f3=!0x1:(_0x26713e[_0x2e1007(0x13a)]===_0x5c5027&&_0x26713e[_0x2e1007(0x161)]===_0x177ae6||this[_0x2e1007(0x125)]({'revision':_0x26713e,'from':_0x177ae6,'to':_0x5c5027}),_0xef2f3=!0x0),_0xef2f3&&(delete _0x382edc[_0x2e1007(0x161)],delete _0x382edc[_0x2e1007(0x13a)],delete _0x382edc[_0x2e1007(0x123)],delete _0x382edc[_0x2e1007(0x136)],delete _0x382edc[_0x2e1007(0x135)]);}this[_0x2e1007(0x179)][_0x2e1007(0x172)](_0x382edc),this[_0x2e1007(0x142)](_0x382edc);}else this[_0x2e1007(0x179)][_0x2e1007(0x178)](_0x382edc);}const _0x198596=_0x5db98d[_0x2e1007(0x138)]();_0x198596[_0x2e1007(0x16a)]();for(let _0x2911ad=0x0;_0x2911ad<_0x198596[_0x2e1007(0x16e)]-0x1;_0x2911ad++){const _0xbc4fcf=_0x198596[_0x2911ad],_0x1318bd=_0x198596[_0x2911ad+0x1];if(_0xbc4fcf[_0x2e1007(0x161)]<_0x1318bd[_0x2e1007(0x13a)]){const _0x1efc5e=_0x1318bd[_0x2e1007(0x13a)],_0x18b797=Math[_0x2e1007(0x12c)](_0x1efc5e,_0xbc4fcf[_0x2e1007(0x13a)]);this[_0x2e1007(0x125)]({'revision':_0xbc4fcf,'from':_0x1efc5e,'to':_0x18b797});}}}[_0x23c666(0x125)]({revision:_0x176c7d,from:_0xff7997,to:_0x353a69}={}){const _0x281d91=_0x23c666,_0x3d30ae=this[_0x281d91(0x182)][_0x281d91(0x148)][_0x281d91(0x13b)](_0x552183),_0x40a2fe=this[_0x281d91(0x179)][_0x281d91(0x12a)]({'revision':_0x176c7d,'from':_0xff7997,'to':_0x353a69});_0x40a2fe[_0x281d91(0x184)]=_0x40a2fe[_0x281d91(0x135)][_0x281d91(0x15f)](_0x589818=>_0x3d30ae[_0x281d91(0x174)](_0x589818)),_0x176c7d[_0x281d91(0x15e)](_0x40a2fe);}[_0x23c666(0x142)](_0x1f63fb){const _0x47a5e7=_0x23c666,_0x5b33dd={};_0x5b33dd['id']=_0x1f63fb['id'];for(const _0x4562be of Object[_0x47a5e7(0x147)](_0x1f63fb))'id'!==_0x4562be&&(_0x5b33dd[_0x4562be]=void 0x0);this[_0x47a5e7(0x179)][_0x47a5e7(0x185)](_0x5b33dd['id'],_0x5b33dd,!0x0);}async[_0x23c666(0x139)](_0x3929eb){const _0x196b7d=_0x23c666,_0x152308=this[_0x196b7d(0x182)][_0x196b7d(0x148)][_0x196b7d(0x13b)](_0x552183),{connection:_0x3fb140}=this[_0x196b7d(0x182)][_0x196b7d(0x148)][_0x196b7d(0x13b)](_0x3e244c),_0x254f48=new Set();for(const _0x3ade40 of _0x3929eb){for(const _0x2d4607 of _0x3ade40[_0x196b7d(0x135)])_0x34acb4(_0x2d4607);_0x3ade40[_0x196b7d(0x14b)]&&_0x34acb4(_0x3ade40[_0x196b7d(0x14b)]);}if(0x0===_0x254f48[_0x196b7d(0x16d)])return;const _0x39c8b3=await _0x42ae13[_0x196b7d(0x17b)](_0x3fb140,Array[_0x196b7d(0x14f)](_0x254f48));for(const _0x57326f of _0x39c8b3)_0x152308[_0x196b7d(0x174)](_0x57326f['id'])||_0x152308[_0x196b7d(0x145)](_0x57326f);function _0x34acb4(_0x56934f){const _0xf8442=_0x196b7d;_0x152308[_0xf8442(0x174)](_0x56934f)||_0x254f48[_0xf8442(0x157)](_0x56934f);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x190fe3){const _0x309695=_0x23c666;return _0x190fe3[_0x309695(0x18d)][_0x309695(0x15c)](_0x309695(0x156))||_0x190fe3[_0x309695(0x18d)][_0x309695(0x15c)](_0x309695(0x154))||_0x190fe3[_0x309695(0x18d)][_0x309695(0x15c)](_0x309695(0x17e));}function _0xc2f9(){const _0x11716b=['then','1406040ZWCDEz','_isConnected','_lastRequestId','state','catch','authorsIds','createdAt','change:_isPendingUpdate','getRevisions','_fetchMissingUsers','toVersion','get','sendBufferedUpdates','_getLatestVersionFromServerOperations','connect','remove','RevisionHistoryService','change:_isConnected','_preventResendingRevisionData','_startingVersion','wrongRequestId','addUser','1532096TeLsLk','keys','plugins','33fNpXQr','init','creatorId','has','revisionsUpdated','isConnected','from','getOperations','collaboration.channelId','isPremiumPlugin','repository','cloud-services-internal-error:\x20Not\x20connected.','connection','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','baseVersion','serverHistory','once','CloudServicesRevisionHistoryAdapter','startsWith','695416NBRxWT','_update','map','config','fromVersion','_createCurrentRevision','addToReconnectionStack','_isPendingUpdate','destroy','7HZdzhx','400','marker','isEnabled','reverse','affectsData','pluginName','size','length','9QuQJwD','_waitForServiceReady','code','setRevisionData','_bufferedUpdates','getUser','setSource','2061078hFPfda','data','addRevisionData','_revisionTracker','isEmptyCurrent','getMany','3750ibphYB','_getLatestVersion','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','7646160dpwnhA','RevisionHistory','editor','cloudServices.bundleVersion','authors','_bufferUpdate','isBundleUploaded','_revisionHistoryService','10rbXrki','_revisions','CONNECTED','currentRevision','RevisionTracker','message','getRevision','_offset','sessionId','_oldOffset','reconnect','66icSRkm','requires','type','adapter','listenTo','_revisionDataBuilder','diffData','connected','_fixRevision','reInit','off','updateRevisions','_handleReconnectionError','buildRevisionData','bind','max','_handleRevisionsUpdate','1072788gAZkQx'];_0xc2f9=function(){return _0x11716b;};return _0xc2f9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d221b=_0xd7e0;function _0xd7e0(_0x419e78,_0x432c0e){var _0xa9f080=_0xa9f0();return _0xd7e0=function(_0xd7e0b4,_0x272c5){_0xd7e0b4=_0xd7e0b4-0x6c;var _0x19d6bc=_0xa9f080[_0xd7e0b4];return _0x19d6bc;},_0xd7e0(_0x419e78,_0x432c0e);}function _0xa9f0(){var _0x410363=['5wnqnCz','832pwVenA','956764fhjnYO','isOfficialPlugin','2135016TNHyUa','isPremiumPlugin','pluginName','635473YcyOgN','491973eqaIpZ','requires','60431urGugr','RevisionHistory','20Xtbhwb','627714nCUoLZ','810586vSPUOP','RealTimeCollaborativeRevisionHistory'];_0xa9f0=function(){return _0x410363;};return _0xa9f0();}(function(_0x41c8a2,_0x26e715){var _0x51292d=_0xd7e0,_0x50d8ff=_0x41c8a2();while(!![]){try{var _0x22ac51=-parseInt(_0x51292d(0x73))/0x1+parseInt(_0x51292d(0x7a))/0x2+parseInt(_0x51292d(0x74))/0x3+-parseInt(_0x51292d(0x6e))/0x4*(-parseInt(_0x51292d(0x6c))/0x5)+-parseInt(_0x51292d(0x79))/0x6+-parseInt(_0x51292d(0x76))/0x7*(-parseInt(_0x51292d(0x6d))/0x8)+-parseInt(_0x51292d(0x70))/0x9*(parseInt(_0x51292d(0x78))/0xa);if(_0x22ac51===_0x26e715)break;else _0x50d8ff['push'](_0x50d8ff['shift']());}catch(_0x42823a){_0x50d8ff['push'](_0x50d8ff['shift']());}}}(_0xa9f0,0x780f7));import{Plugin as _0x5d5931}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2a2e88}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x1bb115}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5d5931{static get[_0x5d221b(0x75)](){var _0x5ce302=_0x5d221b;return[_0x5ce302(0x77),_0x2a2e88,_0x1bb115];}static get[_0x5d221b(0x72)](){var _0x1b374e=_0x5d221b;return _0x1b374e(0x7b);}static get[_0x5d221b(0x6f)](){return!0x0;}static get[_0x5d221b(0x71)](){return!0x0;}}
23
+ var _0x57c556=_0x212c;function _0x212c(_0x22c8c9,_0x391ab4){var _0x4f9871=_0x4f98();return _0x212c=function(_0x212c20,_0x4ddbf9){_0x212c20=_0x212c20-0xe0;var _0x1aa813=_0x4f9871[_0x212c20];return _0x1aa813;},_0x212c(_0x22c8c9,_0x391ab4);}(function(_0x3f61d2,_0x727ecb){var _0x2d0246=_0x212c,_0x2f64d5=_0x3f61d2();while(!![]){try{var _0x3bce0=parseInt(_0x2d0246(0xf0))/0x1+-parseInt(_0x2d0246(0xe8))/0x2*(parseInt(_0x2d0246(0xe9))/0x3)+parseInt(_0x2d0246(0xe5))/0x4+-parseInt(_0x2d0246(0xea))/0x5*(-parseInt(_0x2d0246(0xeb))/0x6)+-parseInt(_0x2d0246(0xee))/0x7*(-parseInt(_0x2d0246(0xe3))/0x8)+parseInt(_0x2d0246(0xe0))/0x9*(-parseInt(_0x2d0246(0xed))/0xa)+parseInt(_0x2d0246(0xe2))/0xb;if(_0x3bce0===_0x727ecb)break;else _0x2f64d5['push'](_0x2f64d5['shift']());}catch(_0x3042ea){_0x2f64d5['push'](_0x2f64d5['shift']());}}}(_0x4f98,0x96a15));import{Plugin as _0x1ef359}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x307119}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x40416b}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x1ef359{static get[_0x57c556(0xef)](){var _0x2c9a38=_0x57c556;return[_0x2c9a38(0xec),_0x307119,_0x40416b];}static get[_0x57c556(0xe1)](){var _0x5b02a0=_0x57c556;return _0x5b02a0(0xe7);}static get[_0x57c556(0xe6)](){return!0x0;}static get[_0x57c556(0xe4)](){return!0x0;}}function _0x4f98(){var _0x56c509=['65994GYtfLo','RevisionHistory','42970ArFDbu','7YjccmC','requires','606627tVHgGU','2358mkjHBD','pluginName','9716377hCSdfw','857488buhDQY','isPremiumPlugin','738008OCFuyt','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','18dEFflC','207258YzHqGe','265yDyXPJ'];_0x4f98=function(){return _0x56c509;};return _0x4f98();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfbc19c=_0x1fbd;(function(_0x509309,_0x52b5dd){const _0x26cf5b=_0x1fbd,_0x2d7e81=_0x509309();while(!![]){try{const _0x554597=-parseInt(_0x26cf5b(0x1d8))/0x1*(-parseInt(_0x26cf5b(0x1cf))/0x2)+parseInt(_0x26cf5b(0x1bb))/0x3*(parseInt(_0x26cf5b(0x1a3))/0x4)+-parseInt(_0x26cf5b(0x1c7))/0x5*(-parseInt(_0x26cf5b(0x1c5))/0x6)+-parseInt(_0x26cf5b(0x1a9))/0x7+-parseInt(_0x26cf5b(0x1b4))/0x8+-parseInt(_0x26cf5b(0x1b1))/0x9+-parseInt(_0x26cf5b(0x1c3))/0xa;if(_0x554597===_0x52b5dd)break;else _0x2d7e81['push'](_0x2d7e81['shift']());}catch(_0x5c47e4){_0x2d7e81['push'](_0x2d7e81['shift']());}}}(_0x2205,0x18ea9));import{Plugin as _0x491346}from'ckeditor5/src/core.js';import{User as _0xf5f8d7,TrackChangesService as _0x1bd021}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x149bbf}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2205(){const _0x4a5f41=['set','addToReconnectionStack','delete','collaboration.channelId','isPremiumPlugin','editor','cloud-services-internal-error:\x20Request\x20timeout.','find','2ymYmOU','TrackChangesService','addSuggestionData','_fetchMissingUsersForThreads','update','get','size','add','attributes','values','plugins','56644EXzYuE','_saved','listenTo','state','adapter','from','555569hsAaiM','CloudServicesTrackChangesAdapter','startsWith','getUser','cloud-services-internal-error:\x20Not\x20connected.','reconnect','init','config','1250244wdNVwS','getMany','isOfficialPlugin','982904QEfmNW','requires','connect','isConnected','addUser','TrackChangesEditing','pluginName','39KBWKwZ','type','hasSuggestion','then','_bufferedRequests','_trackChangesService','_waitForServiceReady','originalSuggestionId','622140iWbOkh','suggestionUpdated','12zgQoMc','data','442555ntTTcw','connection','catch','connected','off','message','getSuggestion','open','144302XRXiBh'];_0x2205=function(){return _0x4a5f41;};return _0x2205();}import{CloudServicesCommentsAdapter as _0x4498dc}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x89e644}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x491346{static [_0xfbc19c(0x1d9)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1bd021)());[_0xfbc19c(0x1bf)];[_0xfbc19c(0x1c0)];static get[_0xfbc19c(0x1b5)](){const _0x10bc76=_0xfbc19c;return[_0x4498dc,_0x10bc76(0x1b9),_0x149bbf];}static get[_0xfbc19c(0x1ba)](){const _0x4fcaf7=_0xfbc19c;return _0x4fcaf7(0x1aa);}static get[_0xfbc19c(0x1b3)](){return!0x0;}static get[_0xfbc19c(0x1d4)](){return!0x0;}constructor(_0x9cb5d5){const _0x453477=_0xfbc19c;super(_0x9cb5d5);const _0x257516=this[_0x453477(0x1d5)][_0x453477(0x1b0)][_0x453477(0x1dd)](_0x453477(0x1d3));this[_0x453477(0x1bf)]=new Map(),this[_0x453477(0x1c0)]=new m[(_0x453477(0x1d9))](_0x257516);}[_0xfbc19c(0x1af)](){const _0x4976bc=_0xfbc19c,_0xba156e=this[_0x4976bc(0x1d5)][_0x4976bc(0x1a2)][_0x4976bc(0x1dd)](_0x149bbf),_0x5c731c=this[_0x4976bc(0x1d5)][_0x4976bc(0x1a2)][_0x4976bc(0x1dd)](_0x4976bc(0x1b9));return _0x5c731c[_0x4976bc(0x1a7)]={'getSuggestion':async _0x5f3e3c=>{const _0x4c760a=_0x4976bc;await this[_0x4c760a(0x1c1)]();const _0x2da3d6=await this[_0x4c760a(0x1c0)][_0x4c760a(0x1dd)](_0x5f3e3c)[_0x4c760a(0x1c9)](A);return await this[_0x4c760a(0x1db)]([_0x2da3d6]),_0x2da3d6;},'addSuggestion':async({id:_0x3f309a,type:_0xbc1f4,data:_0x22b1b3,originalSuggestionId:_0x47ed24,attributes:_0x4ef952})=>{const _0x1baee5=_0x4976bc;await this[_0x1baee5(0x1c1)]();const _0x1c9ee4={'id':_0x3f309a,'type':_0xbc1f4,'data':_0x22b1b3,'originalSuggestionId':_0x47ed24,'attributes':_0x4ef952},_0x12eb8b=await this[_0x1baee5(0x1c0)][_0x1baee5(0x1df)](_0x3f309a,_0xbc1f4,_0x22b1b3,_0x47ed24,_0x4ef952)[_0x1baee5(0x1c9)](_0x485ac7=>{if(st(_0x485ac7))return new Promise(_0x3ab077=>{const _0x173575=_0x1fbd;this[_0x173575(0x1bf)][_0x173575(0x1d0)](_0x3f309a,{'resolve':_0x3ab077,'suggestionData':_0x1c9ee4});});throw _0x485ac7;});return this[_0x1baee5(0x1bf)][_0x1baee5(0x1d2)](_0x3f309a),_0x12eb8b;},'updateSuggestion':async(_0x4078ad,_0x20cdc)=>{const _0x3af302=_0x4976bc;if(await this[_0x3af302(0x1c1)](),_0x3af302(0x1ce)!==_0x20cdc[_0x3af302(0x1a6)])return this[_0x3af302(0x1c0)][_0x3af302(0x1dc)](_0x4078ad,_0x20cdc)[_0x3af302(0x1c9)](A);}},this[_0x4976bc(0x1a5)](this[_0x4976bc(0x1c0)],_0x4976bc(0x1c4),(_0x2b25a2,_0x1b5a7e)=>{const _0x38d721=_0x4976bc;_0x5c731c[_0x38d721(0x1bd)](_0x1b5a7e['id'])&&(_0x5c731c[_0x38d721(0x1cd)](_0x1b5a7e['id'])[_0x38d721(0x1e0)]=_0x1b5a7e[_0x38d721(0x1e0)]);}),this[_0x4976bc(0x1c0)][_0x4976bc(0x1b6)](_0xba156e[_0x4976bc(0x1c8)])[_0x4976bc(0x1be)](_0x2fa3fe=>(_0xba156e[_0x4976bc(0x1d1)](this),this[_0x4976bc(0x1db)](_0x2fa3fe)[_0x4976bc(0x1be)](()=>{const _0x42e89d=_0x4976bc;for(const _0x5a0af2 of _0x2fa3fe){_0x5c731c[_0x42e89d(0x1da)](_0x5a0af2)[_0x42e89d(0x1a4)]=!0x0;}})));}async[_0xfbc19c(0x1ae)](){const _0x157768=_0xfbc19c,_0x5103cf=this[_0x157768(0x1d5)][_0x157768(0x1a2)][_0x157768(0x1dd)](_0x157768(0x1b9)),{connection:_0x5e5831}=this[_0x157768(0x1d5)][_0x157768(0x1a2)][_0x157768(0x1dd)](_0x149bbf),_0x3a1314=await this[_0x157768(0x1c0)][_0x157768(0x1b6)](_0x5e5831);await this[_0x157768(0x1db)](_0x3a1314);for(const {suggestionData:_0x2d5479,resolve:_0x1a5dae}of this[_0x157768(0x1bf)][_0x157768(0x1a1)]()){let _0x53dc26=_0x3a1314[_0x157768(0x1d7)](_0x3b8fe8=>_0x3b8fe8['id']===_0x2d5479['id']);_0x53dc26||(_0x53dc26=await this[_0x157768(0x1c0)][_0x157768(0x1df)](_0x2d5479['id'],_0x2d5479[_0x157768(0x1bc)],_0x2d5479[_0x157768(0x1c6)],_0x2d5479[_0x157768(0x1c2)])),_0x1a5dae(_0x53dc26);}for(const _0x45761a of _0x3a1314)_0x5103cf[_0x157768(0x1bd)](_0x45761a['id'])||_0x5103cf[_0x157768(0x1da)](_0x45761a);}async[_0xfbc19c(0x1c1)](){const _0x4742f9=_0xfbc19c;this[_0x4742f9(0x1c0)][_0x4742f9(0x1b7)]||await new Promise(_0x1b62fd=>{const _0x36b5e0=_0x4742f9;this[_0x36b5e0(0x1a5)](this[_0x36b5e0(0x1c0)],_0x36b5e0(0x1ca),_0x222e40=>{const _0x2d9125=_0x36b5e0;_0x222e40[_0x2d9125(0x1cb)](),_0x1b62fd();});});}async[_0xfbc19c(0x1db)](_0x2d7733){const _0x91b808=_0xfbc19c,_0x1f9a28=this[_0x91b808(0x1d5)][_0x91b808(0x1a2)][_0x91b808(0x1dd)](_0x89e644),{connection:_0x2c41e9}=this[_0x91b808(0x1d5)][_0x91b808(0x1a2)][_0x91b808(0x1dd)](_0x149bbf),_0x34dae5=new Set();for(const {authorId:_0x3b418f}of _0x2d7733)_0x1f9a28[_0x91b808(0x1ac)](_0x3b418f)||_0x34dae5[_0x91b808(0x1df)](_0x3b418f);if(0x0===_0x34dae5[_0x91b808(0x1de)])return;const _0x1a53a5=await _0xf5f8d7[_0x91b808(0x1b2)](_0x2c41e9,Array[_0x91b808(0x1a8)](_0x34dae5));for(const _0x4d4f33 of _0x1a53a5)_0x1f9a28[_0x91b808(0x1ac)](_0x4d4f33['id'])||_0x1f9a28[_0x91b808(0x1b8)](_0x4d4f33);}}function _0x1fbd(_0x462422,_0x4d0f86){const _0x2205ed=_0x2205();return _0x1fbd=function(_0x1fbd5d,_0x583c9b){_0x1fbd5d=_0x1fbd5d-0x1a1;let _0x175ac2=_0x2205ed[_0x1fbd5d];return _0x175ac2;},_0x1fbd(_0x462422,_0x4d0f86);}export{m as CloudServicesTrackChangesAdapter};function A(_0x7cacd8){if(st(_0x7cacd8))return new Promise(()=>{});throw _0x7cacd8;}function st(_0x345b9e){const _0x27c31e=_0xfbc19c;return _0x345b9e[_0x27c31e(0x1cc)][_0x27c31e(0x1ab)](_0x27c31e(0x1ad))||_0x345b9e[_0x27c31e(0x1cc)][_0x27c31e(0x1ab)](_0x27c31e(0x1d6));}
23
+ const _0x311690=_0xc5c9;function _0x38bb(){const _0x1d374a=['collaboration.channelId','565641RNEMRR','editor','adapter','find','delete','plugins','_saved','from','originalSuggestionId','1256nsPhte','pluginName','_fetchMissingUsersForThreads','connection','suggestionUpdated','163842cyzKjI','init','TrackChangesService','_trackChangesService','state','53991ZCBLta','isOfficialPlugin','catch','3617725ceGjDV','connected','get','add','size','getSuggestion','attributes','reconnect','open','requires','CloudServicesTrackChangesAdapter','259aiuBWY','_bufferedRequests','data','2193198SmkuYA','update','getUser','off','config','addUser','type','listenTo','connect','_waitForServiceReady','13614040CpodjE','cloud-services-internal-error:\x20Not\x20connected.','set','values','isPremiumPlugin','38108DhASol','hasSuggestion','getMany','isConnected','addSuggestionData','startsWith','message','addToReconnectionStack','then','303WyGgsh','cloud-services-internal-error:\x20Request\x20timeout.','TrackChangesEditing'];_0x38bb=function(){return _0x1d374a;};return _0x38bb();}(function(_0x49f5f6,_0x2474cb){const _0x25b170=_0xc5c9,_0xe0dbd0=_0x49f5f6();while(!![]){try{const _0x21cff4=parseInt(_0x25b170(0x9e))/0x1+parseInt(_0x25b170(0xc2))/0x2+-parseInt(_0x25b170(0xda))/0x3*(parseInt(_0x25b170(0xd1))/0x4)+-parseInt(_0x25b170(0xb4))/0x5+parseInt(_0x25b170(0xac))/0x6*(parseInt(_0x25b170(0xbf))/0x7)+parseInt(_0x25b170(0xa7))/0x8*(parseInt(_0x25b170(0xb1))/0x9)+-parseInt(_0x25b170(0xcc))/0xa;if(_0x21cff4===_0x2474cb)break;else _0xe0dbd0['push'](_0xe0dbd0['shift']());}catch(_0x1bc92e){_0xe0dbd0['push'](_0xe0dbd0['shift']());}}}(_0x38bb,0x8a7e2));import{Plugin as _0x186f64}from'ckeditor5/src/core.js';import{User as _0x56d2b3,TrackChangesService as _0x546bf1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x338054}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xa9411a}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2a71c5}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x186f64{static [_0x311690(0xae)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x546bf1)());[_0x311690(0xc0)];[_0x311690(0xaf)];static get[_0x311690(0xbd)](){const _0x5833a6=_0x311690;return[_0xa9411a,_0x5833a6(0xdc),_0x338054];}static get[_0x311690(0xa8)](){const _0x75cb47=_0x311690;return _0x75cb47(0xbe);}static get[_0x311690(0xb2)](){return!0x0;}static get[_0x311690(0xd0)](){return!0x0;}constructor(_0x4ed935){const _0x384831=_0x311690;super(_0x4ed935);const _0x3a9e31=this[_0x384831(0x9f)][_0x384831(0xc6)][_0x384831(0xb6)](_0x384831(0xdd));this[_0x384831(0xc0)]=new Map(),this[_0x384831(0xaf)]=new m[(_0x384831(0xae))](_0x3a9e31);}[_0x311690(0xad)](){const _0x257188=_0x311690,_0x12983a=this[_0x257188(0x9f)][_0x257188(0xa3)][_0x257188(0xb6)](_0x338054),_0x432e66=this[_0x257188(0x9f)][_0x257188(0xa3)][_0x257188(0xb6)](_0x257188(0xdc));return _0x432e66[_0x257188(0xa0)]={'getSuggestion':async _0x50446e=>{const _0x494051=_0x257188;await this[_0x494051(0xcb)]();const _0x5d6279=await this[_0x494051(0xaf)][_0x494051(0xb6)](_0x50446e)[_0x494051(0xb3)](A);return await this[_0x494051(0xa9)]([_0x5d6279]),_0x5d6279;},'addSuggestion':async({id:_0x30ef44,type:_0xda0523,data:_0x354158,originalSuggestionId:_0x3e8d74,attributes:_0x222b42})=>{const _0x16bff2=_0x257188;await this[_0x16bff2(0xcb)]();const _0xccf986={'id':_0x30ef44,'type':_0xda0523,'data':_0x354158,'originalSuggestionId':_0x3e8d74,'attributes':_0x222b42},_0x5d97fe=await this[_0x16bff2(0xaf)][_0x16bff2(0xb7)](_0x30ef44,_0xda0523,_0x354158,_0x3e8d74,_0x222b42)[_0x16bff2(0xb3)](_0x4ff874=>{if(st(_0x4ff874))return new Promise(_0x55008c=>{const _0x3b7d5a=_0xc5c9;this[_0x3b7d5a(0xc0)][_0x3b7d5a(0xce)](_0x30ef44,{'resolve':_0x55008c,'suggestionData':_0xccf986});});throw _0x4ff874;});return this[_0x16bff2(0xc0)][_0x16bff2(0xa2)](_0x30ef44),_0x5d97fe;},'updateSuggestion':async(_0x4189e7,_0x3ed62e)=>{const _0x1de933=_0x257188;if(await this[_0x1de933(0xcb)](),_0x1de933(0xbc)!==_0x3ed62e[_0x1de933(0xb0)])return this[_0x1de933(0xaf)][_0x1de933(0xc3)](_0x4189e7,_0x3ed62e)[_0x1de933(0xb3)](A);}},this[_0x257188(0xc9)](this[_0x257188(0xaf)],_0x257188(0xab),(_0x33e6f9,_0xa7800b)=>{const _0x16ede2=_0x257188;_0x432e66[_0x16ede2(0xd2)](_0xa7800b['id'])&&(_0x432e66[_0x16ede2(0xb9)](_0xa7800b['id'])[_0x16ede2(0xba)]=_0xa7800b[_0x16ede2(0xba)]);}),this[_0x257188(0xaf)][_0x257188(0xca)](_0x12983a[_0x257188(0xaa)])[_0x257188(0xd9)](_0x46dee9=>(_0x12983a[_0x257188(0xd8)](this),this[_0x257188(0xa9)](_0x46dee9)[_0x257188(0xd9)](()=>{const _0x39cce8=_0x257188;for(const _0x299d0c of _0x46dee9){_0x432e66[_0x39cce8(0xd5)](_0x299d0c)[_0x39cce8(0xa4)]=!0x0;}})));}async[_0x311690(0xbb)](){const _0x1131ee=_0x311690,_0x3d73a2=this[_0x1131ee(0x9f)][_0x1131ee(0xa3)][_0x1131ee(0xb6)](_0x1131ee(0xdc)),{connection:_0x5294c8}=this[_0x1131ee(0x9f)][_0x1131ee(0xa3)][_0x1131ee(0xb6)](_0x338054),_0x1baace=await this[_0x1131ee(0xaf)][_0x1131ee(0xca)](_0x5294c8);await this[_0x1131ee(0xa9)](_0x1baace);for(const {suggestionData:_0x1b3d43,resolve:_0xaa104d}of this[_0x1131ee(0xc0)][_0x1131ee(0xcf)]()){let _0x222dcb=_0x1baace[_0x1131ee(0xa1)](_0x482b78=>_0x482b78['id']===_0x1b3d43['id']);_0x222dcb||(_0x222dcb=await this[_0x1131ee(0xaf)][_0x1131ee(0xb7)](_0x1b3d43['id'],_0x1b3d43[_0x1131ee(0xc8)],_0x1b3d43[_0x1131ee(0xc1)],_0x1b3d43[_0x1131ee(0xa6)])),_0xaa104d(_0x222dcb);}for(const _0x4d942c of _0x1baace)_0x3d73a2[_0x1131ee(0xd2)](_0x4d942c['id'])||_0x3d73a2[_0x1131ee(0xd5)](_0x4d942c);}async[_0x311690(0xcb)](){const _0x3b27d9=_0x311690;this[_0x3b27d9(0xaf)][_0x3b27d9(0xd4)]||await new Promise(_0x2d5268=>{const _0x2968b6=_0x3b27d9;this[_0x2968b6(0xc9)](this[_0x2968b6(0xaf)],_0x2968b6(0xb5),_0x38f881=>{const _0xd28a39=_0x2968b6;_0x38f881[_0xd28a39(0xc5)](),_0x2d5268();});});}async[_0x311690(0xa9)](_0x3e0550){const _0x306c6f=_0x311690,_0x1032c3=this[_0x306c6f(0x9f)][_0x306c6f(0xa3)][_0x306c6f(0xb6)](_0x2a71c5),{connection:_0x852848}=this[_0x306c6f(0x9f)][_0x306c6f(0xa3)][_0x306c6f(0xb6)](_0x338054),_0x5e7177=new Set();for(const {authorId:_0x40a2a1}of _0x3e0550)_0x1032c3[_0x306c6f(0xc4)](_0x40a2a1)||_0x5e7177[_0x306c6f(0xb7)](_0x40a2a1);if(0x0===_0x5e7177[_0x306c6f(0xb8)])return;const _0x415461=await _0x56d2b3[_0x306c6f(0xd3)](_0x852848,Array[_0x306c6f(0xa5)](_0x5e7177));for(const _0x1f216e of _0x415461)_0x1032c3[_0x306c6f(0xc4)](_0x1f216e['id'])||_0x1032c3[_0x306c6f(0xc7)](_0x1f216e);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x4ea093){if(st(_0x4ea093))return new Promise(()=>{});throw _0x4ea093;}function _0xc5c9(_0xdb80ae,_0x5cfc06){const _0x38bb5f=_0x38bb();return _0xc5c9=function(_0xc5c9ab,_0x21e169){_0xc5c9ab=_0xc5c9ab-0x9e;let _0x32c319=_0x38bb5f[_0xc5c9ab];return _0x32c319;},_0xc5c9(_0xdb80ae,_0x5cfc06);}function st(_0x28c19d){const _0x4cc190=_0x311690;return _0x28c19d[_0x4cc190(0xd7)][_0x4cc190(0xd6)](_0x4cc190(0xcd))||_0x28c19d[_0x4cc190(0xd7)][_0x4cc190(0xd6)](_0x4cc190(0xdb));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2a4ebf=_0x4792;(function(_0x1b227d,_0x29cd44){var _0x212b51=_0x4792,_0x34e50b=_0x1b227d();while(!![]){try{var _0x21b651=parseInt(_0x212b51(0xe1))/0x1+parseInt(_0x212b51(0xe8))/0x2*(parseInt(_0x212b51(0xe0))/0x3)+parseInt(_0x212b51(0xe3))/0x4*(-parseInt(_0x212b51(0xe5))/0x5)+parseInt(_0x212b51(0xe2))/0x6+parseInt(_0x212b51(0xec))/0x7+parseInt(_0x212b51(0xde))/0x8+-parseInt(_0x212b51(0xe9))/0x9;if(_0x21b651===_0x29cd44)break;else _0x34e50b['push'](_0x34e50b['shift']());}catch(_0x3331a1){_0x34e50b['push'](_0x34e50b['shift']());}}}(_0x330f,0x68492));import{Plugin as _0x262343}from'ckeditor5/src/core.js';function _0x4792(_0x54d979,_0x27f193){var _0x330f9f=_0x330f();return _0x4792=function(_0x479222,_0x17d734){_0x479222=_0x479222-0xde;var _0x5e3af9=_0x330f9f[_0x479222];return _0x5e3af9;},_0x4792(_0x54d979,_0x27f193);}import{CloudServicesTrackChangesAdapter as _0x3e24ee}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3dc6c1}from'./realtimecollaborativecomments.js';function _0x330f(){var _0x28f57c=['4949988IBmord','1588LrFeDk','isPremiumPlugin','6905HHIQIl','pluginName','TrackChanges','176504wGTXkF','16185294aYOlKC','isOfficialPlugin','RealTimeCollaborativeTrackChanges','2692305iOOlcw','5320056sAxIzR','requires','12NhIqJK','546149IfJLlM'];_0x330f=function(){return _0x28f57c;};return _0x330f();}export class RealTimeCollaborativeTrackChanges extends _0x262343{static get[_0x2a4ebf(0xdf)](){var _0x30d30b=_0x2a4ebf;return[_0x3dc6c1,_0x3e24ee,_0x30d30b(0xe7)];}static get[_0x2a4ebf(0xe6)](){var _0x2868d6=_0x2a4ebf;return _0x2868d6(0xeb);}static get[_0x2a4ebf(0xea)](){return!0x0;}static get[_0x2a4ebf(0xe4)](){return!0x0;}}
23
+ var _0x1f4330=_0x1cf6;(function(_0x2b6244,_0xa67f06){var _0x3c0bb4=_0x1cf6,_0x38a3ff=_0x2b6244();while(!![]){try{var _0x50ad40=parseInt(_0x3c0bb4(0x126))/0x1+-parseInt(_0x3c0bb4(0x12d))/0x2+-parseInt(_0x3c0bb4(0x128))/0x3*(parseInt(_0x3c0bb4(0x11f))/0x4)+parseInt(_0x3c0bb4(0x129))/0x5+-parseInt(_0x3c0bb4(0x12c))/0x6*(parseInt(_0x3c0bb4(0x11e))/0x7)+parseInt(_0x3c0bb4(0x120))/0x8*(-parseInt(_0x3c0bb4(0x122))/0x9)+parseInt(_0x3c0bb4(0x125))/0xa;if(_0x50ad40===_0xa67f06)break;else _0x38a3ff['push'](_0x38a3ff['shift']());}catch(_0x546678){_0x38a3ff['push'](_0x38a3ff['shift']());}}}(_0x2400,0x70cb4));import{Plugin as _0x3b98f5}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x5a043f}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5ce77a}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3b98f5{static get[_0x1f4330(0x12b)](){var _0x4641e4=_0x1f4330;return[_0x5ce77a,_0x5a043f,_0x4641e4(0x12a)];}static get[_0x1f4330(0x124)](){var _0x40d85a=_0x1f4330;return _0x40d85a(0x123);}static get[_0x1f4330(0x127)](){return!0x0;}static get[_0x1f4330(0x121)](){return!0x0;}}function _0x1cf6(_0x96aabc,_0x196010){var _0x240078=_0x2400();return _0x1cf6=function(_0x1cf62e,_0x17b16a){_0x1cf62e=_0x1cf62e-0x11e;var _0x349f4d=_0x240078[_0x1cf62e];return _0x349f4d;},_0x1cf6(_0x96aabc,_0x196010);}function _0x2400(){var _0x43181b=['6FXybsW','1300044YkYGab','50701JKeMqH','8TpTNPG','10608lCBNwp','isPremiumPlugin','3501HAsmQx','RealTimeCollaborativeTrackChanges','pluginName','5775550xFRrCP','791560Qexndi','isOfficialPlugin','215778yBpSCk','2049100QNCrAp','TrackChanges','requires'];_0x2400=function(){return _0x43181b;};return _0x2400();}