@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.4 → 47.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1763bb=_0x5028;function _0x3654(){const _0x3962fa=['DISCONNECTED','_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.','change:me','define','state','CONNECTING','disconnect','877568dOKGuj','websocketgateway-missing-websocket-url','CloudServices','141bqWGem','327468bZmESQ','isInReconnectionStack','destroy','delete','get','isOfficialPlugin','50JcXSLX','from','148761FfKLgv','config','cloudservices-init','WebSocketGateway','54DEBdAB','listenTo','_shouldPluginsReconnect','online','isPremiumPlugin','websocketgateway-invalid-plugin-interface','set','all','_isBrowserOffline','cloudServices.connectionTimeout','bind','real-time-collaboration','addToReconnectionStack','stopListening','673104zASJgc','webSocketUrl','showWarning','token','connect','has','Connected\x20users\x20limit\x20exceeded','requires','_reconnectionStack','removeFromReconnectionStack','error','CONNECTED','limitExceeded','init','context','pluginName','code','initialReconnectionInterval','22oEoVel','catch','plugins','connection','7LUTTty','websocketgateway-plugin-already-registered','4764536qYcNyN','then','cloudServices.requestTimeout','add','_domEmitter','10180QDgIyz','offline','cloudservices-reconnection-error','websocketgateway-missing-token','reconnect','function','79155dMIElB','constructor','connected'];_0x3654=function(){return _0x3962fa;};return _0x3654();}(function(_0x58b1cd,_0xfd1a78){const _0x439ca1=_0x5028,_0x30dc20=_0x58b1cd();while(!![]){try{const _0x2a4877=parseInt(_0x439ca1(0x173))/0x1+-parseInt(_0x439ca1(0x16f))/0x2+parseInt(_0x439ca1(0x172))/0x3*(parseInt(_0x439ca1(0x1aa))/0x4)+parseInt(_0x439ca1(0x1b0))/0x5*(-parseInt(_0x439ca1(0x17f))/0x6)+parseInt(_0x439ca1(0x1a3))/0x7*(parseInt(_0x439ca1(0x1a5))/0x8)+-parseInt(_0x439ca1(0x17b))/0x9*(-parseInt(_0x439ca1(0x179))/0xa)+-parseInt(_0x439ca1(0x19f))/0xb*(parseInt(_0x439ca1(0x18d))/0xc);if(_0x2a4877===_0xfd1a78)break;else _0x30dc20['push'](_0x30dc20['shift']());}catch(_0xbf53b0){_0x30dc20['push'](_0x30dc20['shift']());}}}(_0x3654,0x696e8));function _0x5028(_0x585414,_0x559853){const _0x365480=_0x3654();return _0x5028=function(_0x50285d,_0x139f85){_0x50285d=_0x50285d-0x16b;let _0x5adfeb=_0x365480[_0x50285d];return _0x5adfeb;},_0x5028(_0x585414,_0x559853);}import{ContextPlugin as _0x7ed3c}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2ab19b,CKEditorError as _0x158944}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4af9b2,WEB_SOCKET_GATEWAY_STATES as _0x47f58c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1dc20d}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x7ed3c{static [_0x1763bb(0x17e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4af9b2)());static [_0x1763bb(0x19e)]=0x3e8;[_0x1763bb(0x1a2)];[_0x1763bb(0x195)];[_0x1763bb(0x181)];[_0x1763bb(0x1a9)];static get[_0x1763bb(0x194)](){const _0x184597=_0x1763bb;return[_0x184597(0x171),_0x1dc20d];}static get[_0x1763bb(0x19c)](){const _0x1bff58=_0x1763bb;return _0x1bff58(0x17e);}static get[_0x1763bb(0x178)](){return!0x0;}static get[_0x1763bb(0x183)](){return!0x0;}constructor(_0x16b260){const _0x4353a4=_0x1763bb;super(_0x16b260),this[_0x4353a4(0x185)](_0x4353a4(0x16c),_0x47f58c[_0x4353a4(0x198)]),this[_0x4353a4(0x185)](_0x4353a4(0x187),!0x1),this[_0x4353a4(0x195)]=new Set(),this[_0x4353a4(0x181)]=!0x1,this[_0x4353a4(0x1a9)]=new(_0x2ab19b())();}[_0x1763bb(0x19a)](){const _0x300283=_0x1763bb,_0x272856=this[_0x300283(0x19b)],_0x9613e3=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x300283(0x171)),_0x3b1253=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x1dc20d);if(!_0x9613e3[_0x300283(0x190)])throw new _0x158944(_0x300283(0x1ad),this);if(!_0x9613e3[_0x300283(0x18e)])throw new _0x158944(_0x300283(0x170),this);return this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x1ab),()=>this[_0x300283(0x187)]=!0x0),this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x182),()=>this[_0x300283(0x187)]=!0x1),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x188),0xa),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x1a7),0x14),WebSocketGateway[_0x300283(0x17e)][_0x300283(0x191)](_0x9613e3[_0x300283(0x190)],_0x9613e3[_0x300283(0x18e)],{'timeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x188)),'requestTimeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x1a7))})[_0x300283(0x1a6)](_0x1f738e=>{const _0xa8746e=_0x300283;if(this[_0xa8746e(0x1a2)]=_0x1f738e,this[_0xa8746e(0x189)](_0xa8746e(0x16c))['to'](_0x1f738e,_0xa8746e(0x16c),this,_0xa8746e(0x187),(_0x3c51ba,_0x15dbf5)=>(_0xa8746e(0x1b2)!==_0x3c51ba&&(this[_0xa8746e(0x181)]=!0x0),_0x15dbf5||_0x3c51ba!==_0x47f58c[_0xa8746e(0x198)]?_0x47f58c[_0xa8746e(0x1b3)]:this[_0xa8746e(0x16c)]==_0x47f58c[_0xa8746e(0x1b3)]&&this[_0xa8746e(0x181)]?(this[_0xa8746e(0x181)]=!0x1,this[_0xa8746e(0x1b4)](),_0x47f58c[_0xa8746e(0x16d)]):_0x47f58c[_0xa8746e(0x198)])),this[_0xa8746e(0x1a2)]['on'](_0xa8746e(0x197),(_0x1aa77f,_0x493a72)=>{const _0x47fded=_0xa8746e;if(_0x47fded(0x199)!==_0x493a72[_0x47fded(0x19d)])throw console[_0x47fded(0x197)](_0x493a72),new _0x158944(_0x47fded(0x17d),null,{'originalError':_0x493a72});_0x3b1253[_0x47fded(0x18f)](_0x47fded(0x1b5),{'title':_0x47fded(0x193),'namespace':_0x47fded(0x18a)});}),!_0x1f738e['me'])return new Promise(_0x39de9a=>_0x1f738e['on'](_0xa8746e(0x1b6),_0x39de9a));})[_0x300283(0x1a0)](_0x56d2c4=>{const _0x1da2c6=_0x300283;throw console[_0x1da2c6(0x197)](_0x56d2c4),new _0x158944(_0x1da2c6(0x17d),null,{'originalError':_0x56d2c4});});}[_0x1763bb(0x18b)](_0x18e03c){const _0x2fe363=_0x1763bb;if(_0x2fe363(0x1af)!=typeof _0x18e03c[_0x2fe363(0x1ae)])throw new _0x158944(_0x2fe363(0x184),this);if(this[_0x2fe363(0x174)](_0x18e03c))throw new _0x158944(_0x2fe363(0x1a4),this,{'name':_0x18e03c[_0x2fe363(0x1b1)][_0x2fe363(0x19c)]});this[_0x2fe363(0x195)][_0x2fe363(0x1a8)](_0x18e03c);}[_0x1763bb(0x196)](_0x2f7b42){const _0x465ae6=_0x1763bb;this[_0x465ae6(0x195)][_0x465ae6(0x176)](_0x2f7b42);}[_0x1763bb(0x174)](_0x4e0e4d){const _0x302b65=_0x1763bb;return this[_0x302b65(0x195)][_0x302b65(0x192)](_0x4e0e4d);}[_0x1763bb(0x1b4)](){const _0x1a8113=_0x1763bb;return this[_0x1a8113(0x1a2)][_0x1a8113(0x1ae)]()[_0x1a8113(0x1a6)](()=>Promise[_0x1a8113(0x186)](Array[_0x1a8113(0x17a)](this[_0x1a8113(0x195)],_0x58f278=>_0x58f278[_0x1a8113(0x1ae)]())))[_0x1a8113(0x1a6)](()=>this[_0x1a8113(0x16c)]=_0x47f58c[_0x1a8113(0x198)])[_0x1a8113(0x1a0)](_0x4e80bd=>{const _0x5205a5=_0x1a8113;throw console[_0x5205a5(0x197)](_0x4e80bd),new _0x158944(_0x5205a5(0x1ac),this[_0x5205a5(0x19b)]);});}[_0x1763bb(0x16e)](){const _0x4937b5=_0x1763bb;this[_0x4937b5(0x1a2)]&&this[_0x4937b5(0x1a2)][_0x4937b5(0x16e)](),this[_0x4937b5(0x16c)]=_0x47f58c[_0x4937b5(0x1b3)],this[_0x4937b5(0x1a9)][_0x4937b5(0x18c)]();}[_0x1763bb(0x175)](){const _0x3cfcf2=_0x1763bb;this[_0x3cfcf2(0x16e)](),super[_0x3cfcf2(0x175)]();}}
23
+ const _0x180712=_0x569b;(function(_0x1ac7c6,_0x2d232e){const _0x9e16b9=_0x569b,_0x2f2cd7=_0x1ac7c6();while(!![]){try{const _0xb41ad4=parseInt(_0x9e16b9(0xc7))/0x1*(-parseInt(_0x9e16b9(0xbf))/0x2)+parseInt(_0x9e16b9(0xcd))/0x3+parseInt(_0x9e16b9(0xc5))/0x4*(parseInt(_0x9e16b9(0x9b))/0x5)+-parseInt(_0x9e16b9(0xa8))/0x6*(parseInt(_0x9e16b9(0xcf))/0x7)+parseInt(_0x9e16b9(0xbc))/0x8+-parseInt(_0x9e16b9(0xab))/0x9+parseInt(_0x9e16b9(0xaa))/0xa*(parseInt(_0x9e16b9(0xb2))/0xb);if(_0xb41ad4===_0x2d232e)break;else _0x2f2cd7['push'](_0x2f2cd7['shift']());}catch(_0x1538c7){_0x2f2cd7['push'](_0x2f2cd7['shift']());}}}(_0x4e1f,0xe9e6c));import{ContextPlugin as _0x432e1f}from'ckeditor5/src/core.js';function _0x4e1f(){const _0x5b2857=['CONNECTED','connection','_shouldPluginsReconnect','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.','_reconnectionStack','125VtSPXF','set','get','websocketgateway-plugin-already-registered','removeFromReconnectionStack','websocketgateway-invalid-plugin-interface','stopListening','disconnect','add','has','online','offline','limitExceeded','6WKCktT','_isBrowserOffline','297790uYjpYu','9016047wHxaFr','error','requires','websocketgateway-missing-websocket-url','context','config','connect','506hEozoC','isInReconnectionStack','plugins','websocketgateway-missing-token','addToReconnectionStack','isPremiumPlugin','_domEmitter','then','define','real-time-collaboration','2688976tjrzll','bind','CONNECTING','3112BLeXfv','function','destroy','state','listenTo','code','88356FTbuDS','token','538RzlpAW','connected','all','cloudServices.connectionTimeout','change:me','initialReconnectionInterval','5085537JBCHog','catch','8094723FKsYiJ','_reconnect','isOfficialPlugin','webSocketUrl','cloudservices-reconnection-error','DISCONNECTED','Connected\x20users\x20limit\x20exceeded','pluginName','constructor','CloudServices','WebSocketGateway','reconnect','cloudServices.requestTimeout','init','cloudservices-init','from','showWarning','delete'];_0x4e1f=function(){return _0x5b2857;};return _0x4e1f();}function _0x569b(_0x6106da,_0x2f18fe){const _0x4e1f21=_0x4e1f();return _0x569b=function(_0x569b07,_0x131169){_0x569b07=_0x569b07-0x89;let _0x5923a3=_0x4e1f21[_0x569b07];return _0x5923a3;},_0x569b(_0x6106da,_0x2f18fe);}import{DomEmitterMixin as _0x19e407,CKEditorError as _0x4c3751}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x35c0c6,WEB_SOCKET_GATEWAY_STATES as _0x285b58}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5999c0}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x432e1f{static [_0x180712(0x8e)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x35c0c6)());static [_0x180712(0xcc)]=0x3e8;[_0x180712(0x97)];[_0x180712(0x9a)];[_0x180712(0x98)];[_0x180712(0xb8)];static get[_0x180712(0xad)](){const _0x3e77ed=_0x180712;return[_0x3e77ed(0x8d),_0x5999c0];}static get[_0x180712(0x8b)](){const _0x10fc6d=_0x180712;return _0x10fc6d(0x8e);}static get[_0x180712(0xd1)](){return!0x0;}static get[_0x180712(0xb7)](){return!0x0;}constructor(_0x431197){const _0x1d4fd3=_0x180712;super(_0x431197),this[_0x1d4fd3(0x9c)](_0x1d4fd3(0xc2),_0x285b58[_0x1d4fd3(0x96)]),this[_0x1d4fd3(0x9c)](_0x1d4fd3(0xa9),!0x1),this[_0x1d4fd3(0x9a)]=new Set(),this[_0x1d4fd3(0x98)]=!0x1,this[_0x1d4fd3(0xb8)]=new(_0x19e407())();}[_0x180712(0x91)](){const _0xaa57c8=_0x180712,_0x40deed=this[_0xaa57c8(0xaf)],_0x23ab7b=_0x40deed[_0xaa57c8(0xb4)][_0xaa57c8(0x9d)](_0xaa57c8(0x8d)),_0xdea1d8=_0x40deed[_0xaa57c8(0xb4)][_0xaa57c8(0x9d)](_0x5999c0);if(!_0x23ab7b[_0xaa57c8(0xc6)])throw new _0x4c3751(_0xaa57c8(0xb5),this);if(!_0x23ab7b[_0xaa57c8(0xd2)])throw new _0x4c3751(_0xaa57c8(0xae),this);return this[_0xaa57c8(0xb8)][_0xaa57c8(0xc3)](window,_0xaa57c8(0xa6),()=>this[_0xaa57c8(0xa9)]=!0x0),this[_0xaa57c8(0xb8)][_0xaa57c8(0xc3)](window,_0xaa57c8(0xa5),()=>this[_0xaa57c8(0xa9)]=!0x1),this[_0xaa57c8(0xaf)][_0xaa57c8(0xb0)][_0xaa57c8(0xba)](_0xaa57c8(0xca),0xa),this[_0xaa57c8(0xaf)][_0xaa57c8(0xb0)][_0xaa57c8(0xba)](_0xaa57c8(0x90),0x14),WebSocketGateway[_0xaa57c8(0x8e)][_0xaa57c8(0xb1)](_0x23ab7b[_0xaa57c8(0xc6)],_0x23ab7b[_0xaa57c8(0xd2)],{'timeout':0x3e8*this[_0xaa57c8(0xaf)][_0xaa57c8(0xb0)][_0xaa57c8(0x9d)](_0xaa57c8(0xca)),'requestTimeout':0x3e8*this[_0xaa57c8(0xaf)][_0xaa57c8(0xb0)][_0xaa57c8(0x9d)](_0xaa57c8(0x90))})[_0xaa57c8(0xb9)](_0x5d23f3=>{const _0x21e453=_0xaa57c8;if(this[_0x21e453(0x97)]=_0x5d23f3,this[_0x21e453(0xbd)](_0x21e453(0xc2))['to'](_0x5d23f3,_0x21e453(0xc2),this,_0x21e453(0xa9),(_0x9fd1b1,_0x5e468a)=>(_0x21e453(0xc8)!==_0x9fd1b1&&(this[_0x21e453(0x98)]=!0x0),_0x5e468a||_0x9fd1b1!==_0x285b58[_0x21e453(0x96)]?_0x285b58[_0x21e453(0x89)]:this[_0x21e453(0xc2)]==_0x285b58[_0x21e453(0x89)]&&this[_0x21e453(0x98)]?(this[_0x21e453(0x98)]=!0x1,this[_0x21e453(0xd0)](),_0x285b58[_0x21e453(0xbe)]):_0x285b58[_0x21e453(0x96)])),this[_0x21e453(0x97)]['on'](_0x21e453(0xac),(_0x2cb855,_0x26174b)=>{const _0x362687=_0x21e453;if(_0x362687(0xa7)!==_0x26174b[_0x362687(0xc4)])throw console[_0x362687(0xac)](_0x26174b),new _0x4c3751(_0x362687(0x92),null,{'originalError':_0x26174b});_0xdea1d8[_0x362687(0x94)](_0x362687(0x99),{'title':_0x362687(0x8a),'namespace':_0x362687(0xbb)});}),!_0x5d23f3['me'])return new Promise(_0x561d6e=>_0x5d23f3['on'](_0x21e453(0xcb),_0x561d6e));})[_0xaa57c8(0xce)](_0x987546=>{const _0x4b7850=_0xaa57c8;throw console[_0x4b7850(0xac)](_0x987546),new _0x4c3751(_0x4b7850(0x92),null,{'originalError':_0x987546});});}[_0x180712(0xb6)](_0x42680a){const _0x427b4d=_0x180712;if(_0x427b4d(0xc0)!=typeof _0x42680a[_0x427b4d(0x8f)])throw new _0x4c3751(_0x427b4d(0xa0),this);if(this[_0x427b4d(0xb3)](_0x42680a))throw new _0x4c3751(_0x427b4d(0x9e),this,{'name':_0x42680a[_0x427b4d(0x8c)][_0x427b4d(0x8b)]});this[_0x427b4d(0x9a)][_0x427b4d(0xa3)](_0x42680a);}[_0x180712(0x9f)](_0xf8dd72){const _0x1a2591=_0x180712;this[_0x1a2591(0x9a)][_0x1a2591(0x95)](_0xf8dd72);}[_0x180712(0xb3)](_0x58900a){const _0x1dd3b2=_0x180712;return this[_0x1dd3b2(0x9a)][_0x1dd3b2(0xa4)](_0x58900a);}[_0x180712(0xd0)](){const _0x5cbe35=_0x180712;return this[_0x5cbe35(0x97)][_0x5cbe35(0x8f)]()[_0x5cbe35(0xb9)](()=>Promise[_0x5cbe35(0xc9)](Array[_0x5cbe35(0x93)](this[_0x5cbe35(0x9a)],_0x118d4c=>_0x118d4c[_0x5cbe35(0x8f)]())))[_0x5cbe35(0xb9)](()=>this[_0x5cbe35(0xc2)]=_0x285b58[_0x5cbe35(0x96)])[_0x5cbe35(0xce)](_0x33bb8c=>{const _0x55d348=_0x5cbe35;throw console[_0x55d348(0xac)](_0x33bb8c),new _0x4c3751(_0x55d348(0xd3),this[_0x55d348(0xaf)]);});}[_0x180712(0xa2)](){const _0x576ee8=_0x180712;this[_0x576ee8(0x97)]&&this[_0x576ee8(0x97)][_0x576ee8(0xa2)](),this[_0x576ee8(0xc2)]=_0x285b58[_0x576ee8(0x89)],this[_0x576ee8(0xb8)][_0x576ee8(0xa1)]();}[_0x180712(0xc1)](){const _0x54181c=_0x180712;this[_0x54181c(0xa2)](),super[_0x54181c(0xc1)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4279f6=_0x44ec;(function(_0x2637a8,_0x58e7b1){var _0x3731ef=_0x44ec,_0xf7ae80=_0x2637a8();while(!![]){try{var _0x49197f=-parseInt(_0x3731ef(0x1f3))/0x1+-parseInt(_0x3731ef(0x1f5))/0x2*(parseInt(_0x3731ef(0x1ef))/0x3)+parseInt(_0x3731ef(0x1f0))/0x4*(parseInt(_0x3731ef(0x1f9))/0x5)+parseInt(_0x3731ef(0x1f1))/0x6+-parseInt(_0x3731ef(0x1ea))/0x7+parseInt(_0x3731ef(0x1f2))/0x8*(-parseInt(_0x3731ef(0x1ed))/0x9)+-parseInt(_0x3731ef(0x1ec))/0xa*(-parseInt(_0x3731ef(0x1f4))/0xb);if(_0x49197f===_0x58e7b1)break;else _0xf7ae80['push'](_0xf7ae80['shift']());}catch(_0x1b4b2a){_0xf7ae80['push'](_0xf7ae80['shift']());}}}(_0x2f4e,0xeedc3));function _0x44ec(_0x954cfb,_0x3b2d97){var _0x2f4edf=_0x2f4e();return _0x44ec=function(_0x44ec5e,_0x201618){_0x44ec5e=_0x44ec5e-0x1ea;var _0xc5d25=_0x2f4edf[_0x44ec5e];return _0xc5d25;},_0x44ec(_0x954cfb,_0x3b2d97);}import{Plugin as _0x107123}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1b548f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x107123{static get[_0x4279f6(0x1f6)](){return[_0x1b548f];}static get[_0x4279f6(0x1ee)](){var _0x1ad08c=_0x4279f6;return _0x1ad08c(0x1f7);}static get[_0x4279f6(0x1eb)](){return!0x0;}static get[_0x4279f6(0x1f8)](){return!0x0;}}function _0x2f4e(){var _0x41065f=['8omQQgM','1356913duSTww','22Mmzydu','6AkDMGz','requires','RealTimeCollaborativeEditing','isPremiumPlugin','10bWVIsD','1348130OTDGRj','isOfficialPlugin','9395210EhFhCJ','11010033iyBvVd','pluginName','979911RywyRG','3552764gtszgp','6454188YTkrHb'];_0x2f4e=function(){return _0x41065f;};return _0x2f4e();}
23
+ var _0x238227=_0x22e5;(function(_0x1a3f5f,_0x49f011){var _0x2060fe=_0x22e5,_0x227a97=_0x1a3f5f();while(!![]){try{var _0x43a391=-parseInt(_0x2060fe(0x103))/0x1+parseInt(_0x2060fe(0x102))/0x2+-parseInt(_0x2060fe(0x104))/0x3+-parseInt(_0x2060fe(0x105))/0x4*(parseInt(_0x2060fe(0x100))/0x5)+-parseInt(_0x2060fe(0x106))/0x6+-parseInt(_0x2060fe(0x107))/0x7+parseInt(_0x2060fe(0xfe))/0x8;if(_0x43a391===_0x49f011)break;else _0x227a97['push'](_0x227a97['shift']());}catch(_0x507c95){_0x227a97['push'](_0x227a97['shift']());}}}(_0x3af9,0x91252));import{Plugin as _0x1169c5}from'ckeditor5/src/core.js';function _0x22e5(_0x390b68,_0x340e0e){var _0x3af9c5=_0x3af9();return _0x22e5=function(_0x22e588,_0x5575c3){_0x22e588=_0x22e588-0xfc;var _0x520ae4=_0x3af9c5[_0x22e588];return _0x520ae4;},_0x22e5(_0x390b68,_0x340e0e);}function _0x3af9(){var _0x40e38b=['4706052uOiVsM','5362350wayvgC','pluginName','isOfficialPlugin','isPremiumPlugin','23570816JbCTaK','requires','10iHvKNN','RealTimeCollaborativeEditing','1818770viUbuJ','93213UMGNJN','1596936KVDaAl','2170612klVZCF'];_0x3af9=function(){return _0x40e38b;};return _0x3af9();}import{RealTimeCollaborationClient as _0x6853c1}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x1169c5{static get[_0x238227(0xff)](){return[_0x6853c1];}static get[_0x238227(0x108)](){var _0x4827f5=_0x238227;return _0x4827f5(0x101);}static get[_0x238227(0xfc)](){return!0x0;}static get[_0x238227(0xfd)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47cc(){const _0x263f2d=['_revisionHistoryService','remove','sessionId','marker','creatorId','_offset','949490nUfWnh','config','then','code','from','baseVersion','_createCurrentRevision','addRevisionData','keys','RevisionHistory','wrongRequestId','setRevisionData','58puBmuU','currentRevision','repository','66942vcRgLR','init','revisionsUpdated','change:_isPendingUpdate','authors','type','_revisions','cloudServices.bundleVersion','catch','buildRevisionData','CONNECTED','CloudServicesRevisionHistoryAdapter','connected','isEnabled','plugins','2338101QQtVaE','isOfficialPlugin','requires','_startingVersion','getRevision','getRevisions','isEmptyCurrent','bind','18682930CgzqnO','off','addToReconnectionStack','diffData','startsWith','isPremiumPlugin','setSource','isConnected','_handleRevisionsUpdate','serverHistory','reverse','isBundleUploaded','cloud-services-internal-error:\x20Not\x20connected.','createdAt','_revisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','_update','adapter','_revisionDataBuilder','connect','getOperations','collaboration.channelId','_bufferedUpdates','getMany','state','_waitForServiceReady','getUser','reconnect','_fixRevision','connection','change:_isConnected','_bufferUpdate','_oldOffset','data','756329kTmExi','toVersion','400','get','_getLatestVersionFromServerOperations','length','748843FsshuG','_isConnected','RevisionHistoryService','pluginName','map','size','72SjZDLl','listenTo','updateRevisions','authorsIds','_fetchMissingUsers','message','has','affectsData','_handleReconnectionError','_getLatestVersion','fromVersion','add','_preventResendingRevisionData','_isPendingUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionTracker','_lastRequestId','destroy','reInit','1354026ISypIw','24zWTxlh','addUser','sendBufferedUpdates','once','max','editor'];_0x47cc=function(){return _0x263f2d;};return _0x47cc();}const _0x399fec=_0x1bb1;(function(_0x258fb3,_0x40ca21){const _0x13706c=_0x1bb1,_0x3a1890=_0x258fb3();while(!![]){try{const _0x4d8631=-parseInt(_0x13706c(0x14a))/0x1+-parseInt(_0x13706c(0x108))/0x2*(parseInt(_0x13706c(0x10b))/0x3)+-parseInt(_0x13706c(0xf0))/0x4*(-parseInt(_0x13706c(0xfc))/0x5)+-parseInt(_0x13706c(0xef))/0x6+parseInt(_0x13706c(0x144))/0x7*(-parseInt(_0x13706c(0xdc))/0x8)+parseInt(_0x13706c(0x11a))/0x9+parseInt(_0x13706c(0x122))/0xa;if(_0x4d8631===_0x40ca21)break;else _0x3a1890['push'](_0x3a1890['shift']());}catch(_0x25be77){_0x3a1890['push'](_0x3a1890['shift']());}}}(_0x47cc,0xa4693));import{Plugin as _0x19d7e6}from'ckeditor5/src/core.js';import{version as _0xe12f39}from'ckeditor5/src/utils.js';import{Users as _0x2de79d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2ff141}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4d4081}from'../realtimecollaborativeediting/websocketgateway.js';function _0x1bb1(_0x42c1f3,_0x36d9ab){const _0x47cc17=_0x47cc();return _0x1bb1=function(_0x1bb162,_0x491bf8){_0x1bb162=_0x1bb162-0xd8;let _0x3d1ccc=_0x47cc17[_0x1bb162];return _0x3d1ccc;},_0x1bb1(_0x42c1f3,_0x36d9ab);}import{Sessions as _0x1260b0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1b67fe,RevisionHistoryService as _0x121faa,User as _0x2195dd,WEB_SOCKET_GATEWAY_STATES as _0x3450a2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x19d7e6{static [_0x399fec(0xd8)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x121faa)());[_0x399fec(0xec)];[_0x399fec(0x130)];[_0x399fec(0xf6)];[_0x399fec(0x142)];static get[_0x399fec(0x11c)](){const _0x47108c=_0x399fec;return[_0x4d4081,_0x2ff141,_0x47108c(0x105),_0x1260b0,_0x2de79d];}static get[_0x399fec(0xd9)](){const _0x1973d5=_0x399fec;return _0x1973d5(0x116);}static get[_0x399fec(0x11b)](){return!0x0;}static get[_0x399fec(0x127)](){return!0x0;}constructor(_0xf444ff){const _0x3e701e=_0x399fec;super(_0xf444ff);const _0x376358=this[_0x3e701e(0xf5)][_0x3e701e(0xfd)][_0x3e701e(0x147)](_0x3e701e(0x137));this[_0x3e701e(0xec)]=null,this[_0x3e701e(0x130)]=this[_0x3e701e(0xf5)][_0x3e701e(0x119)][_0x3e701e(0x147)](_0x3e701e(0xeb)),this[_0x3e701e(0xf6)]=new CloudServicesRevisionHistoryAdapter[(_0x3e701e(0xd8))](_0x376358);}async[_0x399fec(0x10c)](){const _0x5a3bf5=_0x399fec,_0x2a90db=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x2ff141),_0x237485=_0x2a90db[_0x5a3bf5(0x12b)],_0x2df12c=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x4d4081);this[_0x5a3bf5(0x130)][_0x5a3bf5(0x128)]({'history':_0x237485,'getLatestVersion':()=>this[_0x5a3bf5(0xe5)](),'getCurrentRevisionId':()=>_0x2a90db[_0x5a3bf5(0xf8)]});const _0x4f0fee=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0xfd)][_0x5a3bf5(0x147)](_0x5a3bf5(0x112))||_0xe12f39,_0x44e688=await _0x1b67fe[_0x5a3bf5(0x12d)](_0x2df12c[_0x5a3bf5(0x13f)],_0x4f0fee);this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x5a3bf5(0x105))[_0x5a3bf5(0x133)]={'getRevision':async({revisionId:_0x5e5bed})=>(await this[_0x5a3bf5(0x13b)](),await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x11e)](_0x5e5bed)),'updateRevisions':async _0x5ee3ce=>{const _0x30fd02=_0x5a3bf5;await this[_0x30fd02(0x13b)]();const _0xe92833=this[_0x30fd02(0x130)][_0x30fd02(0x109)];if(_0x44e688&&0x1===_0x5ee3ce[_0x30fd02(0x149)]&&_0x5ee3ce[0x0]['id']===_0xe92833['id'])return _0x5ee3ce;for(const _0x55bd87 of _0x5ee3ce)_0x55bd87['id']===_0xe92833['id']&&(_0x55bd87[_0x30fd02(0x120)]=_0x55bd87[_0x30fd02(0xe6)]===_0x55bd87[_0x30fd02(0x145)]);return this[_0x30fd02(0xf6)][_0x30fd02(0xde)](_0x5ee3ce,this[_0x30fd02(0xec)])[_0x30fd02(0xfe)](_0x5ae012=>(this[_0x30fd02(0xec)]=_0x5ae012,_0x5ee3ce))[_0x30fd02(0x113)](_0x537948=>{const _0xb929eb=_0x30fd02;if(ot(_0x537948)||_0xb929eb(0x146)===_0x537948[_0xb929eb(0xff)]&&void 0x0!==_0x537948[_0xb929eb(0x143)][_0xb929eb(0x106)]){for(const _0x5b1504 of _0x5ee3ce){!this[_0xb929eb(0x130)][_0xb929eb(0x10a)][_0xb929eb(0x11e)](_0x5b1504['id'])||this[_0xb929eb(0x130)][_0xb929eb(0x141)](_0x5b1504['id'],_0x5b1504,!0x1);}if(ot(_0x537948))throw _0x537948;return _0x5ee3ce;}throw _0x537948;});}},this[_0x5a3bf5(0xdd)](this[_0x5a3bf5(0xf6)],_0x5a3bf5(0x10d),(_0x48f681,{revisionsData:_0x4249a7,requestId:_0x1b51e2})=>{const _0x28cde3=_0x5a3bf5;Math[_0x28cde3(0xf4)](..._0x4249a7[_0x28cde3(0xda)](_0x1b101f=>_0x1b101f[_0x28cde3(0x145)]))>this[_0x28cde3(0x148)]()-0x1?this[_0x28cde3(0xe5)]()[_0x28cde3(0xfe)](()=>{const _0x148126=_0x28cde3;this[_0x148126(0x12a)](_0x4249a7,_0x1b51e2);}):this[_0x28cde3(0x12a)](_0x4249a7,_0x1b51e2);});const {revisions:_0x4f9744,requestId:_0x5244d9}=await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x135)](_0x2df12c[_0x5a3bf5(0x13f)]);_0x2df12c[_0x5a3bf5(0x124)](this),this[_0x5a3bf5(0xec)]=_0x5244d9,await this[_0x5a3bf5(0xe0)](_0x4f9744);for(const _0xc36dfa of _0x4f9744)this[_0x5a3bf5(0x130)][_0x5a3bf5(0x103)](_0xc36dfa);this[_0x5a3bf5(0xdd)](_0x2a90db,_0x5a3bf5(0x140),(_0xfb9223,_0x58e906,_0x1d13eb)=>{const _0x1f7754=_0x5a3bf5;_0x1d13eb&&(this[_0x1f7754(0x142)]=_0x2a90db[_0x1f7754(0xfb)],_0xfb9223[_0x1f7754(0x123)]());}),this[_0x5a3bf5(0x130)][_0x5a3bf5(0x121)](_0x5a3bf5(0x118))['to'](_0x2df12c,_0x5a3bf5(0x13a),_0x2f4baf=>_0x2f4baf===_0x3450a2[_0x5a3bf5(0x115)]);}async[_0x399fec(0x13d)](){const _0x10cfed=_0x399fec,_0x4eb693=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x4d4081),_0x36c719=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x2ff141),_0x46fa71=async()=>{const _0x28aa3a=_0x10cfed,_0x3ed9ab=this[_0x28aa3a(0x130)][_0x28aa3a(0x109)],_0x25e1a0=_0x3ed9ab['id'],_0x32e8fb=_0x25e1a0!==_0x36c719[_0x28aa3a(0xf8)];if(_0x32e8fb){const _0x4be932=_0x36c719[_0x28aa3a(0xfb)]-this[_0x28aa3a(0x142)],_0x59f953=this[_0x28aa3a(0x148)]();this[_0x28aa3a(0x130)][_0x28aa3a(0x134)][_0x28aa3a(0xee)]();if(_0x3ed9ab[_0x28aa3a(0x145)]+_0x4be932!==_0x59f953){const _0x2b3947=_0x3ed9ab[_0x28aa3a(0xe6)]+_0x4be932,_0x3a3cec=this[_0x28aa3a(0xf5)][_0x28aa3a(0x119)][_0x28aa3a(0x147)](_0x2de79d),_0xb8f263=this[_0x28aa3a(0x130)][_0x28aa3a(0x114)]({'revision':_0x3ed9ab,'from':_0x2b3947,'to':_0x59f953});_0xb8f263['id']=_0x3ed9ab['id'];const _0x5e1430=_0xb8f263[_0x28aa3a(0xdf)][_0x28aa3a(0xda)](_0x8e7e29=>_0x3a3cec[_0x28aa3a(0x13c)](_0x8e7e29));_0x3ed9ab[_0x28aa3a(0x132)]({..._0xb8f263,'authors':_0x5e1430},!0x0),this[_0x28aa3a(0x130)][_0x28aa3a(0x141)](_0x3ed9ab['id'],_0xb8f263,!0x0);}this[_0x28aa3a(0x130)][_0x28aa3a(0x11d)]=_0x59f953,(_0x3ed9ab[_0x28aa3a(0x145)]===_0x3ed9ab[_0x28aa3a(0xe6)]&&!this[_0x28aa3a(0x130)][_0x28aa3a(0x138)][_0x28aa3a(0xe2)](_0x25e1a0)&&this[_0x28aa3a(0x130)][_0x28aa3a(0x10a)][_0x28aa3a(0x111)][_0x28aa3a(0xf7)](_0x25e1a0),this[_0x28aa3a(0x130)][_0x28aa3a(0x102)](_0x59f953));}const {revisions:_0x2cf518,requestId:_0x4a61f4}=await this[_0x28aa3a(0xf6)][_0x28aa3a(0x13d)](_0x4eb693[_0x28aa3a(0x13f)],this[_0x28aa3a(0xec)]);_0x32e8fb&&_0x2cf518[_0x28aa3a(0x149)]>0x0?_0x36c719[_0x28aa3a(0xe4)]():(await this[_0x28aa3a(0xe0)](_0x2cf518),this[_0x28aa3a(0x12a)](_0x2cf518,_0x4a61f4),this[_0x28aa3a(0x130)][_0x28aa3a(0xf2)]());};return _0x36c719[_0x10cfed(0x14b)]?_0x46fa71():new Promise((_0x1511e,_0x14a419)=>{const _0x521206=_0x10cfed;_0x36c719[_0x521206(0xf3)](_0x521206(0x140),()=>{const _0x436d1b=_0x521206;_0x46fa71()[_0x436d1b(0xfe)](_0x1511e)[_0x436d1b(0x113)](_0x14a419);});});}[_0x399fec(0xed)](){const _0x4c5ca6=_0x399fec;super[_0x4c5ca6(0xed)]();}async[_0x399fec(0x13b)](){const _0x16cc37=_0x399fec;this[_0x16cc37(0xf6)][_0x16cc37(0x129)]||await new Promise(_0x564604=>{const _0x3df849=_0x16cc37;this[_0x3df849(0xdd)](this[_0x3df849(0xf6)],_0x3df849(0x117),_0x1f8a2e=>{const _0x107ff7=_0x3df849;_0x1f8a2e[_0x107ff7(0x123)](),_0x564604();});});}[_0x399fec(0x148)](){const _0x37e4b5=_0x399fec,_0x4fcdc9=this[_0x37e4b5(0xf5)][_0x37e4b5(0x119)][_0x37e4b5(0x147)](_0x2ff141)[_0x37e4b5(0x12b)][_0x37e4b5(0x136)]()[_0x37e4b5(0x12c)]();for(const _0x4aceff of _0x4fcdc9)if(_0x37e4b5(0xf9)!==_0x4aceff[_0x37e4b5(0x110)]||_0x4aceff[_0x37e4b5(0xe3)])return _0x4aceff[_0x37e4b5(0x101)]+0x1;}[_0x399fec(0xe5)](){const _0x1b464b=_0x399fec,_0x51cc47=this[_0x1b464b(0xf5)][_0x1b464b(0x119)][_0x1b464b(0x147)](_0x2ff141);return new Promise(_0x1141e0=>{const _0x4c6ac5=_0x1b464b;_0x51cc47[_0x4c6ac5(0xe9)]?_0x51cc47[_0x4c6ac5(0xf3)](_0x4c6ac5(0x10e),()=>{const _0xcc148e=_0x4c6ac5;_0x1141e0(this[_0xcc148e(0x148)]());}):_0x1141e0(this[_0x4c6ac5(0x148)]());});}[_0x399fec(0x12a)](_0x1e5a80,_0x1276ce){const _0x38fe7c=_0x399fec,_0x309e0a=this[_0x38fe7c(0x130)][_0x38fe7c(0x10a)];this[_0x38fe7c(0xec)]=_0x1276ce;for(const _0x556fc9 of _0x1e5a80){const _0x2ae32d=_0x309e0a[_0x38fe7c(0x11e)](_0x556fc9['id']);if(_0x2ae32d){if((_0x556fc9[_0x38fe7c(0xe6)]||_0x556fc9[_0x38fe7c(0x145)])&&(_0x556fc9[_0x38fe7c(0x125)]=null),_0x2ae32d===this[_0x38fe7c(0x130)][_0x38fe7c(0x109)]){const _0x3a6ac4=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0x145)],_0x556fc9[_0x38fe7c(0x145)]),_0x3774ab=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0xe6)],_0x556fc9[_0x38fe7c(0xe6)]);let _0x6dde46;_0x2ae32d[_0x38fe7c(0x145)]===_0x556fc9[_0x38fe7c(0x145)]&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x556fc9[_0x38fe7c(0xe6)]?(_0x6dde46=!0x0,this[_0x38fe7c(0xe8)](_0x556fc9)):_0x556fc9[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x556fc9[_0x38fe7c(0xe6)]===_0x3774ab?_0x6dde46=!0x1:(_0x2ae32d[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x3774ab||this[_0x38fe7c(0x13e)]({'revision':_0x2ae32d,'from':_0x3774ab,'to':_0x3a6ac4}),_0x6dde46=!0x0),_0x6dde46&&(delete _0x556fc9[_0x38fe7c(0xe6)],delete _0x556fc9[_0x38fe7c(0x145)],delete _0x556fc9[_0x38fe7c(0x125)],delete _0x556fc9[_0x38fe7c(0x12f)],delete _0x556fc9[_0x38fe7c(0xdf)]);}this[_0x38fe7c(0x130)][_0x38fe7c(0x107)](_0x556fc9),this[_0x38fe7c(0xe8)](_0x556fc9);}else this[_0x38fe7c(0x130)][_0x38fe7c(0x103)](_0x556fc9);}const _0x54e3e8=_0x309e0a[_0x38fe7c(0x11f)]();_0x54e3e8[_0x38fe7c(0x12c)]();for(let _0x454d3a=0x0;_0x454d3a<_0x54e3e8[_0x38fe7c(0x149)]-0x1;_0x454d3a++){const _0xa20437=_0x54e3e8[_0x454d3a],_0x12e10a=_0x54e3e8[_0x454d3a+0x1];if(_0xa20437[_0x38fe7c(0xe6)]<_0x12e10a[_0x38fe7c(0x145)]){const _0x35be64=_0x12e10a[_0x38fe7c(0x145)],_0x382e10=Math[_0x38fe7c(0xf4)](_0x35be64,_0xa20437[_0x38fe7c(0x145)]);this[_0x38fe7c(0x13e)]({'revision':_0xa20437,'from':_0x35be64,'to':_0x382e10});}}}[_0x399fec(0x13e)]({revision:_0x2ad094,from:_0x36df9e,to:_0x5be831}={}){const _0x128ee1=_0x399fec,_0x403e15=this[_0x128ee1(0xf5)][_0x128ee1(0x119)][_0x128ee1(0x147)](_0x2de79d),_0x7542d=this[_0x128ee1(0x130)][_0x128ee1(0x114)]({'revision':_0x2ad094,'from':_0x36df9e,'to':_0x5be831});_0x7542d[_0x128ee1(0x10f)]=_0x7542d[_0x128ee1(0xdf)][_0x128ee1(0xda)](_0x523eb5=>_0x403e15[_0x128ee1(0x13c)](_0x523eb5)),_0x2ad094[_0x128ee1(0x132)](_0x7542d);}[_0x399fec(0xe8)](_0x1c86d4){const _0x317a05=_0x399fec,_0x199cef={};_0x199cef['id']=_0x1c86d4['id'];for(const _0x2c88c6 of Object[_0x317a05(0x104)](_0x1c86d4))'id'!==_0x2c88c6&&(_0x199cef[_0x2c88c6]=void 0x0);this[_0x317a05(0x130)][_0x317a05(0x141)](_0x199cef['id'],_0x199cef,!0x0);}async[_0x399fec(0xe0)](_0x3c9761){const _0x31755f=_0x399fec,_0x5a3726=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x2de79d),{connection:_0x1a2e2e}=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x4d4081),_0x4f7d38=new Set();for(const _0xd0ebf8 of _0x3c9761){for(const _0x4e3e3d of _0xd0ebf8[_0x31755f(0xdf)])_0x5e5045(_0x4e3e3d);_0xd0ebf8[_0x31755f(0xfa)]&&_0x5e5045(_0xd0ebf8[_0x31755f(0xfa)]);}if(0x0===_0x4f7d38[_0x31755f(0xdb)])return;const _0x3d9c41=await _0x2195dd[_0x31755f(0x139)](_0x1a2e2e,Array[_0x31755f(0x100)](_0x4f7d38));for(const _0x148d8e of _0x3d9c41)_0x5a3726[_0x31755f(0x13c)](_0x148d8e['id'])||_0x5a3726[_0x31755f(0xf1)](_0x148d8e);function _0x5e5045(_0x255e90){const _0x4b0bf4=_0x31755f;_0x5a3726[_0x4b0bf4(0x13c)](_0x255e90)||_0x4f7d38[_0x4b0bf4(0xe7)](_0x255e90);}}}function ot(_0x49be2b){const _0x336423=_0x399fec;return _0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0xea))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x12e))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x131));}
23
+ const _0x378f15=_0x30de;function _0x2c6b(){const _0x315b20=['updateRevisions','buildRevisionData','change:_isPendingUpdate','remove','connect','getMany','getUser','reverse','state','message','_getLatestVersionFromServerOperations','init','_update','cloud-services-internal-error:\x20Not\x20connected.','setSource','sendBufferedUpdates','startsWith','baseVersion','addToReconnectionStack','RevisionTracker','reInit','type','_revisionTracker','278562BdUUSB','connection','config','_handleReconnectionError','setRevisionData','map','CONNECTED','_bufferUpdate','requires','5SGcHHY','serverHistory','repository','diffData','_createCurrentRevision','addUser','CloudServicesRevisionHistoryAdapter','_fixRevision','_getLatestVersion','18624258mITFEr','reconnect','max','_preventResendingRevisionData','createdAt','isBundleUploaded','704750wtbMWM','toVersion','code','_revisions','isEnabled','1324652yWUxSI','_isPendingUpdate','_bufferedUpdates','fromVersion','400','cloud-services-internal-error:\x20Request\x20timeout.','1046769OwvuIh','isConnected','once','listenTo','_offset','authorsIds','_oldOffset','isPremiumPlugin','authors','plugins','_isConnected','bind','creatorId','_lastRequestId','_revisionDataBuilder','has','_revisionHistoryService','_waitForServiceReady','off','from','get','RevisionHistory','_handleRevisionsUpdate','_fetchMissingUsers','isOfficialPlugin','collaboration.channelId','getRevision','currentRevision','catch','1383368iQwJBU','data','sessionId','keys','getOperations','revisionsUpdated','editor','length','cloudServices.bundleVersion','pluginName','getRevisions','adapter','16zDFSTo','change:_isConnected','add','RevisionHistoryService','_startingVersion','connected','size','then','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','wrongRequestId','destroy','addRevisionData','2459802EsVxqL','marker','isEmptyCurrent','affectsData'];_0x2c6b=function(){return _0x315b20;};return _0x2c6b();}(function(_0x434f55,_0x2617f8){const _0x425a15=_0x30de,_0x49394f=_0x434f55();while(!![]){try{const _0x47a869=-parseInt(_0x425a15(0x147))/0x1+-parseInt(_0x425a15(0x12f))/0x2+-parseInt(_0x425a15(0x152))/0x3+parseInt(_0x425a15(0x14c))/0x4*(parseInt(_0x425a15(0x138))/0x5)+-parseInt(_0x425a15(0x114))/0x6+parseInt(_0x425a15(0x16f))/0x7*(-parseInt(_0x425a15(0x108))/0x8)+parseInt(_0x425a15(0x141))/0x9;if(_0x47a869===_0x2617f8)break;else _0x49394f['push'](_0x49394f['shift']());}catch(_0x5d6271){_0x49394f['push'](_0x49394f['shift']());}}}(_0x2c6b,0x623b4));import{Plugin as _0x360eb3}from'ckeditor5/src/core.js';import{version as _0x2af17a}from'ckeditor5/src/utils.js';import{Users as _0x6d5d4c}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x451a66}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x171b87}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xc1c293}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x175568,RevisionHistoryService as _0x2db5a9,User as _0xe58d8d,WEB_SOCKET_GATEWAY_STATES as _0x2e6640}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x30de(_0x3f4db6,_0x12b773){const _0x2c6bb4=_0x2c6b();return _0x30de=function(_0x30de1c,_0x82813a){_0x30de1c=_0x30de1c-0x102;let _0x4fe86f=_0x2c6bb4[_0x30de1c];return _0x4fe86f;},_0x30de(_0x3f4db6,_0x12b773);}export class CloudServicesRevisionHistoryAdapter extends _0x360eb3{static [_0x378f15(0x10b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2db5a9)());[_0x378f15(0x15f)];[_0x378f15(0x12e)];[_0x378f15(0x162)];[_0x378f15(0x158)];static get[_0x378f15(0x137)](){const _0x25f741=_0x378f15;return[_0x171b87,_0x451a66,_0x25f741(0x167),_0xc1c293,_0x6d5d4c];}static get[_0x378f15(0x105)](){const _0x3a14a0=_0x378f15;return _0x3a14a0(0x13e);}static get[_0x378f15(0x16a)](){return!0x0;}static get[_0x378f15(0x159)](){return!0x0;}constructor(_0x454b21){const _0x5a8f08=_0x378f15;super(_0x454b21);const _0x10f414=this[_0x5a8f08(0x102)][_0x5a8f08(0x131)][_0x5a8f08(0x166)](_0x5a8f08(0x16b));this[_0x5a8f08(0x15f)]=null,this[_0x5a8f08(0x12e)]=this[_0x5a8f08(0x102)][_0x5a8f08(0x15b)][_0x5a8f08(0x166)](_0x5a8f08(0x12b)),this[_0x5a8f08(0x162)]=new CloudServicesRevisionHistoryAdapter[(_0x5a8f08(0x10b))](_0x10f414);}async[_0x378f15(0x123)](){const _0x508e8d=_0x378f15,_0x123ef1=this[_0x508e8d(0x102)][_0x508e8d(0x15b)][_0x508e8d(0x166)](_0x451a66),_0x391941=_0x123ef1[_0x508e8d(0x139)],_0xa0a423=this[_0x508e8d(0x102)][_0x508e8d(0x15b)][_0x508e8d(0x166)](_0x171b87);this[_0x508e8d(0x12e)][_0x508e8d(0x126)]({'history':_0x391941,'getLatestVersion':()=>this[_0x508e8d(0x140)](),'getCurrentRevisionId':()=>_0x123ef1[_0x508e8d(0x171)]});const _0x2e9142=this[_0x508e8d(0x102)][_0x508e8d(0x131)][_0x508e8d(0x166)](_0x508e8d(0x104))||_0x2af17a,_0x42c7ec=await _0x175568[_0x508e8d(0x146)](_0xa0a423[_0x508e8d(0x130)],_0x2e9142);this[_0x508e8d(0x102)][_0x508e8d(0x15b)][_0x508e8d(0x166)](_0x508e8d(0x167))[_0x508e8d(0x107)]={'getRevision':async({revisionId:_0x5a3412})=>(await this[_0x508e8d(0x163)](),await this[_0x508e8d(0x162)][_0x508e8d(0x16c)](_0x5a3412)),'updateRevisions':async _0x58644d=>{const _0x1f5d24=_0x508e8d;await this[_0x1f5d24(0x163)]();const _0x1ccd45=this[_0x1f5d24(0x12e)][_0x1f5d24(0x16d)];if(_0x42c7ec&&0x1===_0x58644d[_0x1f5d24(0x103)]&&_0x58644d[0x0]['id']===_0x1ccd45['id'])return _0x58644d;for(const _0x2b74a9 of _0x58644d)_0x2b74a9['id']===_0x1ccd45['id']&&(_0x2b74a9[_0x1f5d24(0x116)]=_0x2b74a9[_0x1f5d24(0x14f)]===_0x2b74a9[_0x1f5d24(0x148)]);return this[_0x1f5d24(0x162)][_0x1f5d24(0x118)](_0x58644d,this[_0x1f5d24(0x15f)])[_0x1f5d24(0x10f)](_0x5b18dd=>(this[_0x1f5d24(0x15f)]=_0x5b18dd,_0x58644d))[_0x1f5d24(0x16e)](_0x27f8e8=>{const _0x40d8c1=_0x1f5d24;if(b(_0x27f8e8)||_0x40d8c1(0x150)===_0x27f8e8[_0x40d8c1(0x149)]&&void 0x0!==_0x27f8e8[_0x40d8c1(0x170)][_0x40d8c1(0x111)]){for(const _0x13aee0 of _0x58644d){!this[_0x40d8c1(0x12e)][_0x40d8c1(0x13a)][_0x40d8c1(0x16c)](_0x13aee0['id'])||this[_0x40d8c1(0x12e)][_0x40d8c1(0x136)](_0x13aee0['id'],_0x13aee0,!0x1);}if(b(_0x27f8e8))throw _0x27f8e8;return _0x58644d;}throw _0x27f8e8;});}},this[_0x508e8d(0x155)](this[_0x508e8d(0x162)],_0x508e8d(0x174),(_0xb042bb,{revisionsData:_0x5bf119,requestId:_0x4ccc0d})=>{const _0x4b2e95=_0x508e8d;Math[_0x4b2e95(0x143)](..._0x5bf119[_0x4b2e95(0x134)](_0x5f47d6=>_0x5f47d6[_0x4b2e95(0x148)]))>this[_0x4b2e95(0x122)]()-0x1?this[_0x4b2e95(0x140)]()[_0x4b2e95(0x10f)](()=>{const _0x2aa6fc=_0x4b2e95;this[_0x2aa6fc(0x168)](_0x5bf119,_0x4ccc0d);}):this[_0x4b2e95(0x168)](_0x5bf119,_0x4ccc0d);});const {revisions:_0x1d3cee,requestId:_0x5b0cec}=await this[_0x508e8d(0x162)][_0x508e8d(0x11c)](_0xa0a423[_0x508e8d(0x130)]);_0xa0a423[_0x508e8d(0x12a)](this),this[_0x508e8d(0x15f)]=_0x5b0cec,await this[_0x508e8d(0x169)](_0x1d3cee);for(const _0xbfb5f2 of _0x1d3cee)this[_0x508e8d(0x12e)][_0x508e8d(0x113)](_0xbfb5f2);this[_0x508e8d(0x155)](_0x123ef1,_0x508e8d(0x109),(_0x5a583a,_0x2ccfa9,_0x3295bb)=>{const _0x2427a5=_0x508e8d;_0x3295bb&&(this[_0x2427a5(0x158)]=_0x123ef1[_0x2427a5(0x156)],_0x5a583a[_0x2427a5(0x164)]());}),this[_0x508e8d(0x12e)][_0x508e8d(0x15d)](_0x508e8d(0x14b))['to'](_0xa0a423,_0x508e8d(0x120),_0x1a75bf=>_0x1a75bf===_0x2e6640[_0x508e8d(0x135)]);}async[_0x378f15(0x142)](){const _0x4d57d9=_0x378f15,_0x264ece=this[_0x4d57d9(0x102)][_0x4d57d9(0x15b)][_0x4d57d9(0x166)](_0x171b87),_0x4d6996=this[_0x4d57d9(0x102)][_0x4d57d9(0x15b)][_0x4d57d9(0x166)](_0x451a66),_0x3c3c7c=async()=>{const _0x104b31=_0x4d57d9,_0x196e52=this[_0x104b31(0x12e)][_0x104b31(0x16d)],_0x2dbc1f=_0x196e52['id'],_0xeea427=_0x2dbc1f!==_0x4d6996[_0x104b31(0x171)];if(_0xeea427){const _0xa4621e=_0x4d6996[_0x104b31(0x156)]-this[_0x104b31(0x158)],_0x50ea7e=this[_0x104b31(0x122)]();this[_0x104b31(0x12e)][_0x104b31(0x160)][_0x104b31(0x12c)]();if(_0x196e52[_0x104b31(0x148)]+_0xa4621e!==_0x50ea7e){const _0x4068e0=_0x196e52[_0x104b31(0x14f)]+_0xa4621e,_0x25065d=this[_0x104b31(0x102)][_0x104b31(0x15b)][_0x104b31(0x166)](_0x6d5d4c),_0x142a82=this[_0x104b31(0x12e)][_0x104b31(0x119)]({'revision':_0x196e52,'from':_0x4068e0,'to':_0x50ea7e});_0x142a82['id']=_0x196e52['id'];const _0x5d8912=_0x142a82[_0x104b31(0x157)][_0x104b31(0x134)](_0x39bb8f=>_0x25065d[_0x104b31(0x11e)](_0x39bb8f));_0x196e52[_0x104b31(0x124)]({..._0x142a82,'authors':_0x5d8912},!0x0),this[_0x104b31(0x12e)][_0x104b31(0x136)](_0x196e52['id'],_0x142a82,!0x0);}this[_0x104b31(0x12e)][_0x104b31(0x10c)]=_0x50ea7e,(_0x196e52[_0x104b31(0x148)]===_0x196e52[_0x104b31(0x14f)]&&!this[_0x104b31(0x12e)][_0x104b31(0x14e)][_0x104b31(0x161)](_0x2dbc1f)&&this[_0x104b31(0x12e)][_0x104b31(0x13a)][_0x104b31(0x14a)][_0x104b31(0x11b)](_0x2dbc1f),this[_0x104b31(0x12e)][_0x104b31(0x13c)](_0x50ea7e));}const {revisions:_0x555755,requestId:_0x58c7d6}=await this[_0x104b31(0x162)][_0x104b31(0x142)](_0x264ece[_0x104b31(0x130)],this[_0x104b31(0x15f)]);_0xeea427&&_0x555755[_0x104b31(0x103)]>0x0?_0x4d6996[_0x104b31(0x132)]():(await this[_0x104b31(0x169)](_0x555755),this[_0x104b31(0x168)](_0x555755,_0x58c7d6),this[_0x104b31(0x12e)][_0x104b31(0x127)]());};return _0x4d6996[_0x4d57d9(0x15c)]?_0x3c3c7c():new Promise((_0x40e0c6,_0x58ff3d)=>{const _0x57b805=_0x4d57d9;_0x4d6996[_0x57b805(0x154)](_0x57b805(0x109),()=>{const _0x35db88=_0x57b805;_0x3c3c7c()[_0x35db88(0x10f)](_0x40e0c6)[_0x35db88(0x16e)](_0x58ff3d);});});}[_0x378f15(0x112)](){const _0x4d9858=_0x378f15;super[_0x4d9858(0x112)]();}async[_0x378f15(0x163)](){const _0x2f6505=_0x378f15;this[_0x2f6505(0x162)][_0x2f6505(0x153)]||await new Promise(_0x44a2ec=>{const _0x42328a=_0x2f6505;this[_0x42328a(0x155)](this[_0x42328a(0x162)],_0x42328a(0x10d),_0x2dea81=>{const _0x3b353a=_0x42328a;_0x2dea81[_0x3b353a(0x164)](),_0x44a2ec();});});}[_0x378f15(0x122)](){const _0x5c1561=_0x378f15,_0x511c9f=this[_0x5c1561(0x102)][_0x5c1561(0x15b)][_0x5c1561(0x166)](_0x451a66)[_0x5c1561(0x139)][_0x5c1561(0x173)]()[_0x5c1561(0x11f)]();for(const _0x3fae4d of _0x511c9f)if(_0x5c1561(0x115)!==_0x3fae4d[_0x5c1561(0x12d)]||_0x3fae4d[_0x5c1561(0x117)])return _0x3fae4d[_0x5c1561(0x129)]+0x1;}[_0x378f15(0x140)](){const _0x2003f9=_0x378f15,_0x14534d=this[_0x2003f9(0x102)][_0x2003f9(0x15b)][_0x2003f9(0x166)](_0x451a66);return new Promise(_0x1e96c1=>{const _0x3d6e84=_0x2003f9;_0x14534d[_0x3d6e84(0x14d)]?_0x14534d[_0x3d6e84(0x154)](_0x3d6e84(0x11a),()=>{const _0x43c320=_0x3d6e84;_0x1e96c1(this[_0x43c320(0x122)]());}):_0x1e96c1(this[_0x3d6e84(0x122)]());});}[_0x378f15(0x168)](_0x136935,_0x1324e1){const _0x57bccc=_0x378f15,_0x191f6a=this[_0x57bccc(0x12e)][_0x57bccc(0x13a)];this[_0x57bccc(0x15f)]=_0x1324e1;for(const _0x5a926e of _0x136935){const _0x2d71b3=_0x191f6a[_0x57bccc(0x16c)](_0x5a926e['id']);if(_0x2d71b3){if((_0x5a926e[_0x57bccc(0x14f)]||_0x5a926e[_0x57bccc(0x148)])&&(_0x5a926e[_0x57bccc(0x13b)]=null),_0x2d71b3===this[_0x57bccc(0x12e)][_0x57bccc(0x16d)]){const _0x3ae316=Math[_0x57bccc(0x143)](_0x2d71b3[_0x57bccc(0x148)],_0x5a926e[_0x57bccc(0x148)]),_0x1dfabc=Math[_0x57bccc(0x143)](_0x2d71b3[_0x57bccc(0x14f)],_0x5a926e[_0x57bccc(0x14f)]);let _0x595816;_0x2d71b3[_0x57bccc(0x148)]===_0x5a926e[_0x57bccc(0x148)]&&_0x2d71b3[_0x57bccc(0x14f)]===_0x5a926e[_0x57bccc(0x14f)]?(_0x595816=!0x0,this[_0x57bccc(0x144)](_0x5a926e)):_0x5a926e[_0x57bccc(0x148)]===_0x3ae316&&_0x5a926e[_0x57bccc(0x14f)]===_0x1dfabc?_0x595816=!0x1:(_0x2d71b3[_0x57bccc(0x148)]===_0x3ae316&&_0x2d71b3[_0x57bccc(0x14f)]===_0x1dfabc||this[_0x57bccc(0x13f)]({'revision':_0x2d71b3,'from':_0x1dfabc,'to':_0x3ae316}),_0x595816=!0x0),_0x595816&&(delete _0x5a926e[_0x57bccc(0x14f)],delete _0x5a926e[_0x57bccc(0x148)],delete _0x5a926e[_0x57bccc(0x13b)],delete _0x5a926e[_0x57bccc(0x145)],delete _0x5a926e[_0x57bccc(0x157)]);}this[_0x57bccc(0x12e)][_0x57bccc(0x133)](_0x5a926e),this[_0x57bccc(0x144)](_0x5a926e);}else this[_0x57bccc(0x12e)][_0x57bccc(0x113)](_0x5a926e);}const _0x4c861a=_0x191f6a[_0x57bccc(0x106)]();_0x4c861a[_0x57bccc(0x11f)]();for(let _0x3ec19f=0x0;_0x3ec19f<_0x4c861a[_0x57bccc(0x103)]-0x1;_0x3ec19f++){const _0x315b6a=_0x4c861a[_0x3ec19f],_0x30365b=_0x4c861a[_0x3ec19f+0x1];if(_0x315b6a[_0x57bccc(0x14f)]<_0x30365b[_0x57bccc(0x148)]){const _0x46e345=_0x30365b[_0x57bccc(0x148)],_0x16efa6=Math[_0x57bccc(0x143)](_0x46e345,_0x315b6a[_0x57bccc(0x148)]);this[_0x57bccc(0x13f)]({'revision':_0x315b6a,'from':_0x46e345,'to':_0x16efa6});}}}[_0x378f15(0x13f)]({revision:_0x2dba3d,from:_0x4c2dc9,to:_0x1b0b93}={}){const _0x2536c9=_0x378f15,_0x1f9d29=this[_0x2536c9(0x102)][_0x2536c9(0x15b)][_0x2536c9(0x166)](_0x6d5d4c),_0x5e54b7=this[_0x2536c9(0x12e)][_0x2536c9(0x119)]({'revision':_0x2dba3d,'from':_0x4c2dc9,'to':_0x1b0b93});_0x5e54b7[_0x2536c9(0x15a)]=_0x5e54b7[_0x2536c9(0x157)][_0x2536c9(0x134)](_0x3f065e=>_0x1f9d29[_0x2536c9(0x11e)](_0x3f065e)),_0x2dba3d[_0x2536c9(0x124)](_0x5e54b7);}[_0x378f15(0x144)](_0x43f410){const _0x13ff5f=_0x378f15,_0x266f0d={};_0x266f0d['id']=_0x43f410['id'];for(const _0x485873 of Object[_0x13ff5f(0x172)](_0x43f410))'id'!==_0x485873&&(_0x266f0d[_0x485873]=void 0x0);this[_0x13ff5f(0x12e)][_0x13ff5f(0x136)](_0x266f0d['id'],_0x266f0d,!0x0);}async[_0x378f15(0x169)](_0x3a99c4){const _0x2bb366=_0x378f15,_0x14237f=this[_0x2bb366(0x102)][_0x2bb366(0x15b)][_0x2bb366(0x166)](_0x6d5d4c),{connection:_0x2b59bf}=this[_0x2bb366(0x102)][_0x2bb366(0x15b)][_0x2bb366(0x166)](_0x171b87),_0x46d8e1=new Set();for(const _0x2b0dc1 of _0x3a99c4){for(const _0xf9e2ef of _0x2b0dc1[_0x2bb366(0x157)])_0x14bf93(_0xf9e2ef);_0x2b0dc1[_0x2bb366(0x15e)]&&_0x14bf93(_0x2b0dc1[_0x2bb366(0x15e)]);}if(0x0===_0x46d8e1[_0x2bb366(0x10e)])return;const _0x526e6f=await _0xe58d8d[_0x2bb366(0x11d)](_0x2b59bf,Array[_0x2bb366(0x165)](_0x46d8e1));for(const _0x1522b0 of _0x526e6f)_0x14237f[_0x2bb366(0x11e)](_0x1522b0['id'])||_0x14237f[_0x2bb366(0x13d)](_0x1522b0);function _0x14bf93(_0x100f39){const _0x3d5f5c=_0x2bb366;_0x14237f[_0x3d5f5c(0x11e)](_0x100f39)||_0x46d8e1[_0x3d5f5c(0x10a)](_0x100f39);}}}function b(_0x2e8426){const _0x16483d=_0x378f15;return _0x2e8426[_0x16483d(0x121)][_0x16483d(0x128)](_0x16483d(0x110))||_0x2e8426[_0x16483d(0x121)][_0x16483d(0x128)](_0x16483d(0x125))||_0x2e8426[_0x16483d(0x121)][_0x16483d(0x128)](_0x16483d(0x151));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1fcfe1=_0x3426;(function(_0x107d5b,_0x497cce){var _0x48794a=_0x3426,_0x2953cb=_0x107d5b();while(!![]){try{var _0x41c57f=-parseInt(_0x48794a(0x12d))/0x1+-parseInt(_0x48794a(0x130))/0x2+-parseInt(_0x48794a(0x12f))/0x3*(-parseInt(_0x48794a(0x13a))/0x4)+parseInt(_0x48794a(0x132))/0x5+-parseInt(_0x48794a(0x12e))/0x6*(-parseInt(_0x48794a(0x138))/0x7)+parseInt(_0x48794a(0x12c))/0x8+parseInt(_0x48794a(0x139))/0x9*(-parseInt(_0x48794a(0x133))/0xa);if(_0x41c57f===_0x497cce)break;else _0x2953cb['push'](_0x2953cb['shift']());}catch(_0xe923f){_0x2953cb['push'](_0x2953cb['shift']());}}}(_0x7fda,0x7994e));import{Plugin as _0x20ea72}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x55050f}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3426(_0x4e4010,_0x59eb57){var _0x7fdaa7=_0x7fda();return _0x3426=function(_0x342610,_0x51feeb){_0x342610=_0x342610-0x12b;var _0x41be45=_0x7fdaa7[_0x342610];return _0x41be45;},_0x3426(_0x4e4010,_0x59eb57);}import{RealTimeCollaborativeEditing as _0x125fa5}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x20ea72{static get[_0x1fcfe1(0x131)](){var _0xef7bd=_0x1fcfe1;return[_0xef7bd(0x12b),_0x55050f,_0x125fa5];}static get[_0x1fcfe1(0x135)](){var _0x1e54b9=_0x1fcfe1;return _0x1e54b9(0x137);}static get[_0x1fcfe1(0x136)](){return!0x0;}static get[_0x1fcfe1(0x134)](){return!0x0;}}function _0x7fda(){var _0x4c06d7=['isOfficialPlugin','RealTimeCollaborativeRevisionHistory','7FRzWaJ','386874FTrAnn','4jgIkNN','RevisionHistory','3299624KkurMr','546781xfwdDJ','4615074fNQQSB','756996FAiCPo','863542cSQFqx','requires','3866740NGuYjf','170GVRBiV','isPremiumPlugin','pluginName'];_0x7fda=function(){return _0x4c06d7;};return _0x7fda();}
23
+ var _0x57431e=_0x3fc6;(function(_0x3297cd,_0x33ebaf){var _0x3563e1=_0x3fc6,_0xf1978d=_0x3297cd();while(!![]){try{var _0x36bd8b=-parseInt(_0x3563e1(0x1fe))/0x1+parseInt(_0x3563e1(0x1f8))/0x2*(parseInt(_0x3563e1(0x200))/0x3)+parseInt(_0x3563e1(0x1f4))/0x4+parseInt(_0x3563e1(0x1f9))/0x5+parseInt(_0x3563e1(0x203))/0x6+-parseInt(_0x3563e1(0x202))/0x7*(parseInt(_0x3563e1(0x1fd))/0x8)+-parseInt(_0x3563e1(0x201))/0x9*(parseInt(_0x3563e1(0x1fb))/0xa);if(_0x36bd8b===_0x33ebaf)break;else _0xf1978d['push'](_0xf1978d['shift']());}catch(_0x1065b1){_0xf1978d['push'](_0xf1978d['shift']());}}}(_0x46da,0x8d7a5));import{Plugin as _0x4aab95}from'ckeditor5/src/core.js';function _0x46da(){var _0x7317b5=['699391iadLqA','isPremiumPlugin','3kFmZNd','8667alouKF','635971gTwBKT','3639168rVhuhH','3088008nQLHtZ','isOfficialPlugin','pluginName','requires','2154254GueHpG','3391780lnCRcZ','RealTimeCollaborativeRevisionHistory','12660sHFXga','RevisionHistory','56mrwiXi'];_0x46da=function(){return _0x7317b5;};return _0x46da();}function _0x3fc6(_0x4d017e,_0x4b0e1c){var _0x46dacb=_0x46da();return _0x3fc6=function(_0x3fc6fa,_0x2b25c0){_0x3fc6fa=_0x3fc6fa-0x1f4;var _0x4c32e3=_0x46dacb[_0x3fc6fa];return _0x4c32e3;},_0x3fc6(_0x4d017e,_0x4b0e1c);}import{CloudServicesRevisionHistoryAdapter as _0x2e6337}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x38ecf8}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x4aab95{static get[_0x57431e(0x1f7)](){var _0x521403=_0x57431e;return[_0x521403(0x1fc),_0x2e6337,_0x38ecf8];}static get[_0x57431e(0x1f6)](){var _0x158595=_0x57431e;return _0x158595(0x1fa);}static get[_0x57431e(0x1f5)](){return!0x0;}static get[_0x57431e(0x1ff)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ecc(){const _0x25bc95=['suggestionUpdated','requires','delete','size','38310kRymRG','1SdpQda','addToReconnectionStack','startsWith','_fetchMissingUsersForThreads','set','isConnected','_trackChangesService','adapter','open','reconnect','getUser','hasSuggestion','message','off','45Ydicld','getMany','plugins','init','cloud-services-internal-error:\x20Not\x20connected.','state','values','attributes','pluginName','isOfficialPlugin','connected','catch','isPremiumPlugin','addSuggestionData','4060861hueGal','get','getSuggestion','TrackChangesService','CloudServicesTrackChangesAdapter','_waitForServiceReady','type','4962864aNmRpv','connect','cloud-services-internal-error:\x20Request\x20timeout.','from','_bufferedRequests','config','listenTo','then','TrackChangesEditing','addUser','99612RhNtEb','editor','345016SEzNYM','4521370UHXjhp','collaboration.channelId','_saved','connection','685kqsnbT','add','data','1494258RgDWqB','originalSuggestionId','update','find'];_0x4ecc=function(){return _0x25bc95;};return _0x4ecc();}const _0x46b64e=_0x14a3;(function(_0x132a01,_0x3c207f){const _0x318f88=_0x14a3,_0x66fbb9=_0x132a01();while(!![]){try{const _0x902566=parseInt(_0x318f88(0x98))/0x1*(parseInt(_0x318f88(0x8f))/0x2)+-parseInt(_0x318f88(0x85))/0x3+parseInt(_0x318f88(0x87))/0x4+parseInt(_0x318f88(0x8c))/0x5*(parseInt(_0x318f88(0x97))/0x6)+parseInt(_0x318f88(0xb4))/0x7+parseInt(_0x318f88(0xbb))/0x8+parseInt(_0x318f88(0xa6))/0x9*(-parseInt(_0x318f88(0x88))/0xa);if(_0x902566===_0x3c207f)break;else _0x66fbb9['push'](_0x66fbb9['shift']());}catch(_0x19a21e){_0x66fbb9['push'](_0x66fbb9['shift']());}}}(_0x4ecc,0x96140));import{Plugin as _0x564289}from'ckeditor5/src/core.js';function _0x14a3(_0x56f030,_0x193df7){const _0x14a36a=_0x4ecc();return _0x14a3=function(_0x2a3e1b,_0x3c0390){_0x2a3e1b=_0x2a3e1b-0x81;let _0x517727=_0x14a36a[_0x2a3e1b];return _0x517727;},_0x14a3(_0x56f030,_0x193df7);}import{User as _0x2d610c,TrackChangesService as _0x308faa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5e9f2b}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4811fd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x59a606}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x564289{static [_0x46b64e(0xb7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x308faa)());[_0x46b64e(0xbf)];[_0x46b64e(0x9e)];static get[_0x46b64e(0x94)](){const _0x5dcfbb=_0x46b64e;return[_0x4811fd,_0x5dcfbb(0x83),_0x5e9f2b];}static get[_0x46b64e(0xae)](){const _0xe4d787=_0x46b64e;return _0xe4d787(0xb8);}static get[_0x46b64e(0xaf)](){return!0x0;}static get[_0x46b64e(0xb2)](){return!0x0;}constructor(_0x53333c){const _0x46a538=_0x46b64e;super(_0x53333c);const _0x473d43=this[_0x46a538(0x86)][_0x46a538(0xc0)][_0x46a538(0xb5)](_0x46a538(0x89));this[_0x46a538(0xbf)]=new Map(),this[_0x46a538(0x9e)]=new CloudServicesTrackChangesAdapter[(_0x46a538(0xb7))](_0x473d43);}[_0x46b64e(0xa9)](){const _0x3b6956=_0x46b64e,_0x3f2acb=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x5e9f2b),_0x43584e=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x3b6956(0x83));return _0x43584e[_0x3b6956(0x9f)]={'getSuggestion':async _0x43a3c6=>{const _0x1a0024=_0x3b6956;await this[_0x1a0024(0xb9)]();const _0x3eafeb=await this[_0x1a0024(0x9e)][_0x1a0024(0xb5)](_0x43a3c6)[_0x1a0024(0xb1)](tt);return await this[_0x1a0024(0x9b)]([_0x3eafeb]),_0x3eafeb;},'addSuggestion':async({id:_0x20d650,type:_0x1a2071,data:_0x11957c,originalSuggestionId:_0x319a58,attributes:_0x1a3a1d})=>{const _0x58c880=_0x3b6956;await this[_0x58c880(0xb9)]();const _0x4c47b6={'id':_0x20d650,'type':_0x1a2071,'data':_0x11957c,'originalSuggestionId':_0x319a58,'attributes':_0x1a3a1d},_0x3a70cd=await this[_0x58c880(0x9e)][_0x58c880(0x8d)](_0x20d650,_0x1a2071,_0x11957c,_0x319a58,_0x1a3a1d)[_0x58c880(0xb1)](_0x227cae=>{if(ot(_0x227cae))return new Promise(_0x597a78=>{const _0x96562d=_0x14a3;this[_0x96562d(0xbf)][_0x96562d(0x9c)](_0x20d650,{'resolve':_0x597a78,'suggestionData':_0x4c47b6});});throw _0x227cae;});return this[_0x58c880(0xbf)][_0x58c880(0x95)](_0x20d650),_0x3a70cd;},'updateSuggestion':async(_0x2d81a8,_0x3577f9)=>{const _0x2931f1=_0x3b6956;if(await this[_0x2931f1(0xb9)](),_0x2931f1(0xa0)!==_0x3577f9[_0x2931f1(0xab)])return this[_0x2931f1(0x9e)][_0x2931f1(0x91)](_0x2d81a8,_0x3577f9)[_0x2931f1(0xb1)](tt);}},this[_0x3b6956(0x81)](this[_0x3b6956(0x9e)],_0x3b6956(0x93),(_0x15c0a9,_0x5dbe9b)=>{const _0x2bb0d3=_0x3b6956;_0x43584e[_0x2bb0d3(0xa3)](_0x5dbe9b['id'])&&(_0x43584e[_0x2bb0d3(0xb6)](_0x5dbe9b['id'])[_0x2bb0d3(0xad)]=_0x5dbe9b[_0x2bb0d3(0xad)]);}),this[_0x3b6956(0x9e)][_0x3b6956(0xbc)](_0x3f2acb[_0x3b6956(0x8b)])[_0x3b6956(0x82)](_0x49e7f3=>(_0x3f2acb[_0x3b6956(0x99)](this),this[_0x3b6956(0x9b)](_0x49e7f3)[_0x3b6956(0x82)](()=>{const _0x38429b=_0x3b6956;for(const _0x1c9c2a of _0x49e7f3){_0x43584e[_0x38429b(0xb3)](_0x1c9c2a)[_0x38429b(0x8a)]=!0x0;}})));}async[_0x46b64e(0xa1)](){const _0x37c8dc=_0x46b64e,_0x3aa75e=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x37c8dc(0x83)),{connection:_0x22b926}=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x5e9f2b),_0x36c2f7=await this[_0x37c8dc(0x9e)][_0x37c8dc(0xbc)](_0x22b926);await this[_0x37c8dc(0x9b)](_0x36c2f7);for(const {suggestionData:_0x42d864,resolve:_0x502a46}of this[_0x37c8dc(0xbf)][_0x37c8dc(0xac)]()){let _0xd16075=_0x36c2f7[_0x37c8dc(0x92)](_0x2f5bf5=>_0x2f5bf5['id']===_0x42d864['id']);_0xd16075||(_0xd16075=await this[_0x37c8dc(0x9e)][_0x37c8dc(0x8d)](_0x42d864['id'],_0x42d864[_0x37c8dc(0xba)],_0x42d864[_0x37c8dc(0x8e)],_0x42d864[_0x37c8dc(0x90)])),_0x502a46(_0xd16075);}for(const _0x3c2811 of _0x36c2f7)_0x3aa75e[_0x37c8dc(0xa3)](_0x3c2811['id'])||_0x3aa75e[_0x37c8dc(0xb3)](_0x3c2811);}async[_0x46b64e(0xb9)](){const _0x248b6f=_0x46b64e;this[_0x248b6f(0x9e)][_0x248b6f(0x9d)]||await new Promise(_0x3f8356=>{const _0xd3cd9f=_0x248b6f;this[_0xd3cd9f(0x81)](this[_0xd3cd9f(0x9e)],_0xd3cd9f(0xb0),_0x5915a2=>{const _0x36bed3=_0xd3cd9f;_0x5915a2[_0x36bed3(0xa5)](),_0x3f8356();});});}async[_0x46b64e(0x9b)](_0x44b25b){const _0x452424=_0x46b64e,_0x3f3fcd=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x59a606),{connection:_0x5e08e9}=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x5e9f2b),_0x571495=new Set();for(const {authorId:_0x367c51}of _0x44b25b)_0x3f3fcd[_0x452424(0xa2)](_0x367c51)||_0x571495[_0x452424(0x8d)](_0x367c51);if(0x0===_0x571495[_0x452424(0x96)])return;const _0x34e229=await _0x2d610c[_0x452424(0xa7)](_0x5e08e9,Array[_0x452424(0xbe)](_0x571495));for(const _0x19807c of _0x34e229)_0x3f3fcd[_0x452424(0xa2)](_0x19807c['id'])||_0x3f3fcd[_0x452424(0x84)](_0x19807c);}}function tt(_0x5a71cd){if(ot(_0x5a71cd))return new Promise(()=>{});throw _0x5a71cd;}function ot(_0xbee0ed){const _0x3ab7cf=_0x46b64e;return _0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xaa))||_0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xbd));}
23
+ const _0x50a08b=_0x1882;(function(_0x489a40,_0x5a0488){const _0xad50ac=_0x1882,_0x28fdfb=_0x489a40();while(!![]){try{const _0x1015c2=-parseInt(_0xad50ac(0x91))/0x1*(-parseInt(_0xad50ac(0xad))/0x2)+-parseInt(_0xad50ac(0xb1))/0x3*(parseInt(_0xad50ac(0x98))/0x4)+-parseInt(_0xad50ac(0x80))/0x5*(-parseInt(_0xad50ac(0x9b))/0x6)+-parseInt(_0xad50ac(0xa0))/0x7*(-parseInt(_0xad50ac(0xa7))/0x8)+-parseInt(_0xad50ac(0xb3))/0x9+parseInt(_0xad50ac(0xb6))/0xa+-parseInt(_0xad50ac(0x8e))/0xb;if(_0x1015c2===_0x5a0488)break;else _0x28fdfb['push'](_0x28fdfb['shift']());}catch(_0x45a8dd){_0x28fdfb['push'](_0x28fdfb['shift']());}}}(_0x411d,0xd6525));import{Plugin as _0x1fb16b}from'ckeditor5/src/core.js';import{User as _0x63c784,TrackChangesService as _0x326f91}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x194845}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x58ecc2}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x411d(){const _0x29d361=['reconnect','get','hasSuggestion','isPremiumPlugin','requires','9560ZucvTo','values','cloud-services-internal-error:\x20Not\x20connected.','CloudServicesTrackChangesAdapter','listenTo','type','260438OwZklu','delete','connect','add','9lJeJsV','catch','8879904seGExN','open','init','14385360gihhVS','config','isOfficialPlugin','getSuggestion','connection','addUser','_bufferedRequests','data','editor','size','update','20MtYvww','TrackChangesService','set','addToReconnectionStack','originalSuggestionId','find','suggestionUpdated','_saved','message','getMany','isConnected','_fetchMissingUsersForThreads','off','plugins','16302352MXQbys','cloud-services-internal-error:\x20Request\x20timeout.','connected','13tlbEos','collaboration.channelId','getUser','TrackChangesEditing','attributes','state','_trackChangesService','42436FAoOoM','then','startsWith','135672SGkVWO','pluginName','_waitForServiceReady','adapter','from','917XcrQjM','addSuggestionData'];_0x411d=function(){return _0x29d361;};return _0x411d();}import{Users as _0x2c6564}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x1fb16b{static [_0x50a08b(0x81)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x326f91)());[_0x50a08b(0x7b)];[_0x50a08b(0x97)];static get[_0x50a08b(0xa6)](){const _0x1398a4=_0x50a08b;return[_0x58ecc2,_0x1398a4(0x94),_0x194845];}static get[_0x50a08b(0x9c)](){const _0x36e4d9=_0x50a08b;return _0x36e4d9(0xaa);}static get[_0x50a08b(0xb8)](){return!0x0;}static get[_0x50a08b(0xa5)](){return!0x0;}constructor(_0x27bbcc){const _0x1b98dc=_0x50a08b;super(_0x27bbcc);const _0x3a6c13=this[_0x1b98dc(0x7d)][_0x1b98dc(0xb7)][_0x1b98dc(0xa3)](_0x1b98dc(0x92));this[_0x1b98dc(0x7b)]=new Map(),this[_0x1b98dc(0x97)]=new CloudServicesTrackChangesAdapter[(_0x1b98dc(0x81))](_0x3a6c13);}[_0x50a08b(0xb5)](){const _0x4d8ec6=_0x50a08b,_0x24febc=this[_0x4d8ec6(0x7d)][_0x4d8ec6(0x8d)][_0x4d8ec6(0xa3)](_0x194845),_0x5eabce=this[_0x4d8ec6(0x7d)][_0x4d8ec6(0x8d)][_0x4d8ec6(0xa3)](_0x4d8ec6(0x94));return _0x5eabce[_0x4d8ec6(0x9e)]={'getSuggestion':async _0x3dd7ce=>{const _0x3a4fd8=_0x4d8ec6;await this[_0x3a4fd8(0x9d)]();const _0x20bdc5=await this[_0x3a4fd8(0x97)][_0x3a4fd8(0xa3)](_0x3dd7ce)[_0x3a4fd8(0xb2)](A);return await this[_0x3a4fd8(0x8b)]([_0x20bdc5]),_0x20bdc5;},'addSuggestion':async({id:_0x53703c,type:_0x213a79,data:_0x9a2ec8,originalSuggestionId:_0x4e17fd,attributes:_0x4bd2d9})=>{const _0x187d55=_0x4d8ec6;await this[_0x187d55(0x9d)]();const _0x27b0b7={'id':_0x53703c,'type':_0x213a79,'data':_0x9a2ec8,'originalSuggestionId':_0x4e17fd,'attributes':_0x4bd2d9},_0x27af2e=await this[_0x187d55(0x97)][_0x187d55(0xb0)](_0x53703c,_0x213a79,_0x9a2ec8,_0x4e17fd,_0x4bd2d9)[_0x187d55(0xb2)](_0x1c962c=>{if(b(_0x1c962c))return new Promise(_0x40e810=>{const _0x40fe79=_0x1882;this[_0x40fe79(0x7b)][_0x40fe79(0x82)](_0x53703c,{'resolve':_0x40e810,'suggestionData':_0x27b0b7});});throw _0x1c962c;});return this[_0x187d55(0x7b)][_0x187d55(0xae)](_0x53703c),_0x27af2e;},'updateSuggestion':async(_0x331b89,_0x86207a)=>{const _0x38b008=_0x4d8ec6;if(await this[_0x38b008(0x9d)](),_0x38b008(0xb4)!==_0x86207a[_0x38b008(0x96)])return this[_0x38b008(0x97)][_0x38b008(0x7f)](_0x331b89,_0x86207a)[_0x38b008(0xb2)](A);}},this[_0x4d8ec6(0xab)](this[_0x4d8ec6(0x97)],_0x4d8ec6(0x86),(_0x583b3f,_0x12aaf6)=>{const _0x45d418=_0x4d8ec6;_0x5eabce[_0x45d418(0xa4)](_0x12aaf6['id'])&&(_0x5eabce[_0x45d418(0xb9)](_0x12aaf6['id'])[_0x45d418(0x95)]=_0x12aaf6[_0x45d418(0x95)]);}),this[_0x4d8ec6(0x97)][_0x4d8ec6(0xaf)](_0x24febc[_0x4d8ec6(0xba)])[_0x4d8ec6(0x99)](_0x1d0a09=>(_0x24febc[_0x4d8ec6(0x83)](this),this[_0x4d8ec6(0x8b)](_0x1d0a09)[_0x4d8ec6(0x99)](()=>{const _0x3dea31=_0x4d8ec6;for(const _0x15c2b7 of _0x1d0a09){_0x5eabce[_0x3dea31(0xa1)](_0x15c2b7)[_0x3dea31(0x87)]=!0x0;}})));}async[_0x50a08b(0xa2)](){const _0x5bc785=_0x50a08b,_0x3e6057=this[_0x5bc785(0x7d)][_0x5bc785(0x8d)][_0x5bc785(0xa3)](_0x5bc785(0x94)),{connection:_0x5ec86f}=this[_0x5bc785(0x7d)][_0x5bc785(0x8d)][_0x5bc785(0xa3)](_0x194845),_0x48c219=await this[_0x5bc785(0x97)][_0x5bc785(0xaf)](_0x5ec86f);await this[_0x5bc785(0x8b)](_0x48c219);for(const {suggestionData:_0x1bfe59,resolve:_0x4b4255}of this[_0x5bc785(0x7b)][_0x5bc785(0xa8)]()){let _0x59bae8=_0x48c219[_0x5bc785(0x85)](_0x394d75=>_0x394d75['id']===_0x1bfe59['id']);_0x59bae8||(_0x59bae8=await this[_0x5bc785(0x97)][_0x5bc785(0xb0)](_0x1bfe59['id'],_0x1bfe59[_0x5bc785(0xac)],_0x1bfe59[_0x5bc785(0x7c)],_0x1bfe59[_0x5bc785(0x84)])),_0x4b4255(_0x59bae8);}for(const _0x8342da of _0x48c219)_0x3e6057[_0x5bc785(0xa4)](_0x8342da['id'])||_0x3e6057[_0x5bc785(0xa1)](_0x8342da);}async[_0x50a08b(0x9d)](){const _0x1fc94b=_0x50a08b;this[_0x1fc94b(0x97)][_0x1fc94b(0x8a)]||await new Promise(_0x145f42=>{const _0x24545e=_0x1fc94b;this[_0x24545e(0xab)](this[_0x24545e(0x97)],_0x24545e(0x90),_0x1743e0=>{const _0x5ee919=_0x24545e;_0x1743e0[_0x5ee919(0x8c)](),_0x145f42();});});}async[_0x50a08b(0x8b)](_0x135289){const _0x5e401e=_0x50a08b,_0x410824=this[_0x5e401e(0x7d)][_0x5e401e(0x8d)][_0x5e401e(0xa3)](_0x2c6564),{connection:_0x584952}=this[_0x5e401e(0x7d)][_0x5e401e(0x8d)][_0x5e401e(0xa3)](_0x194845),_0x1aa7f0=new Set();for(const {authorId:_0x21f8ac}of _0x135289)_0x410824[_0x5e401e(0x93)](_0x21f8ac)||_0x1aa7f0[_0x5e401e(0xb0)](_0x21f8ac);if(0x0===_0x1aa7f0[_0x5e401e(0x7e)])return;const _0xa688b3=await _0x63c784[_0x5e401e(0x89)](_0x584952,Array[_0x5e401e(0x9f)](_0x1aa7f0));for(const _0x412f19 of _0xa688b3)_0x410824[_0x5e401e(0x93)](_0x412f19['id'])||_0x410824[_0x5e401e(0xbb)](_0x412f19);}}function A(_0x53e7f1){if(b(_0x53e7f1))return new Promise(()=>{});throw _0x53e7f1;}function _0x1882(_0x5b1995,_0x4adcb3){const _0x411d63=_0x411d();return _0x1882=function(_0x1882dd,_0x5dbd15){_0x1882dd=_0x1882dd-0x7b;let _0x362ee3=_0x411d63[_0x1882dd];return _0x362ee3;},_0x1882(_0x5b1995,_0x4adcb3);}function b(_0x2aa72c){const _0x1aa9ad=_0x50a08b;return _0x2aa72c[_0x1aa9ad(0x88)][_0x1aa9ad(0x9a)](_0x1aa9ad(0xa9))||_0x2aa72c[_0x1aa9ad(0x88)][_0x1aa9ad(0x9a)](_0x1aa9ad(0x8f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x306030=_0x2f93;(function(_0x4e528d,_0x3df349){var _0x5451f5=_0x2f93,_0x1543df=_0x4e528d();while(!![]){try{var _0x50cfb7=parseInt(_0x5451f5(0x123))/0x1+parseInt(_0x5451f5(0x12c))/0x2+-parseInt(_0x5451f5(0x122))/0x3*(-parseInt(_0x5451f5(0x128))/0x4)+parseInt(_0x5451f5(0x12d))/0x5*(-parseInt(_0x5451f5(0x12a))/0x6)+-parseInt(_0x5451f5(0x121))/0x7+parseInt(_0x5451f5(0x125))/0x8+-parseInt(_0x5451f5(0x129))/0x9;if(_0x50cfb7===_0x3df349)break;else _0x1543df['push'](_0x1543df['shift']());}catch(_0xf4baa9){_0x1543df['push'](_0x1543df['shift']());}}}(_0x4afa,0x73f2a));function _0x4afa(){var _0x56add1=['TrackChanges','4955992rIIxty','RealTimeCollaborativeTrackChanges','pluginName','332UruTGD','9733797hWRejY','1569822uUCgRI','isPremiumPlugin','595942OxYrav','5TArtTm','isOfficialPlugin','requires','218778RXHwaq','12399Vhvkgw','588837BSdsFu'];_0x4afa=function(){return _0x56add1;};return _0x4afa();}function _0x2f93(_0x7bfcf,_0x3b926f){var _0x4afa55=_0x4afa();return _0x2f93=function(_0x2f9315,_0x2b53e3){_0x2f9315=_0x2f9315-0x11f;var _0x3bb12b=_0x4afa55[_0x2f9315];return _0x3bb12b;},_0x2f93(_0x7bfcf,_0x3b926f);}import{Plugin as _0x201a4a}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3faed7}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x165d38}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x201a4a{static get[_0x306030(0x120)](){var _0x5cbc3c=_0x306030;return[_0x165d38,_0x3faed7,_0x5cbc3c(0x124)];}static get[_0x306030(0x127)](){var _0x263279=_0x306030;return _0x263279(0x126);}static get[_0x306030(0x11f)](){return!0x0;}static get[_0x306030(0x12b)](){return!0x0;}}
23
+ var _0x1ee49c=_0x115d;(function(_0x1ce42f,_0x5ccfc6){var _0x23ee3b=_0x115d,_0x14251f=_0x1ce42f();while(!![]){try{var _0x80c786=-parseInt(_0x23ee3b(0x1c7))/0x1*(-parseInt(_0x23ee3b(0x1c2))/0x2)+-parseInt(_0x23ee3b(0x1c1))/0x3*(parseInt(_0x23ee3b(0x1c0))/0x4)+parseInt(_0x23ee3b(0x1c6))/0x5*(parseInt(_0x23ee3b(0x1c3))/0x6)+-parseInt(_0x23ee3b(0x1c4))/0x7*(-parseInt(_0x23ee3b(0x1bc))/0x8)+-parseInt(_0x23ee3b(0x1cb))/0x9+parseInt(_0x23ee3b(0x1be))/0xa+parseInt(_0x23ee3b(0x1bd))/0xb;if(_0x80c786===_0x5ccfc6)break;else _0x14251f['push'](_0x14251f['shift']());}catch(_0x5b184e){_0x14251f['push'](_0x14251f['shift']());}}}(_0x13ba,0x51e0a));import{Plugin as _0xf9d463}from'ckeditor5/src/core.js';function _0x13ba(){var _0x2c5401=['pluginName','15UtxUgG','87baYUCY','TrackChanges','requires','RealTimeCollaborativeTrackChanges','4178241yrceOv','isOfficialPlugin','8qfBIGB','2485945iOFkSQ','3700780ssyWRv','isPremiumPlugin','264124voPGVL','21bdLOWg','9092GRbrwq','448926IfrFzv','320586oxKgpn'];_0x13ba=function(){return _0x2c5401;};return _0x13ba();}import{CloudServicesTrackChangesAdapter as _0x15b2ac}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3a69cc}from'./realtimecollaborativecomments.js';function _0x115d(_0x3007a2,_0x10f819){var _0x13bafd=_0x13ba();return _0x115d=function(_0x115d25,_0x20d2c8){_0x115d25=_0x115d25-0x1bb;var _0x5f00a2=_0x13bafd[_0x115d25];return _0x5f00a2;},_0x115d(_0x3007a2,_0x10f819);}export class RealTimeCollaborativeTrackChanges extends _0xf9d463{static get[_0x1ee49c(0x1c9)](){var _0x3fd873=_0x1ee49c;return[_0x3a69cc,_0x15b2ac,_0x3fd873(0x1c8)];}static get[_0x1ee49c(0x1c5)](){var _0x497541=_0x1ee49c;return _0x497541(0x1ca);}static get[_0x1ee49c(0x1bb)](){return!0x0;}static get[_0x1ee49c(0x1bf)](){return!0x0;}}