@ckeditor/ckeditor5-real-time-collaboration 47.7.0-alpha.2 → 47.7.0-alpha.4

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 _0x3fbfd7=_0x1726;(function(_0x4746d4,_0x27cda2){const _0x5671a4=_0x1726,_0x5a0706=_0x4746d4();while(!![]){try{const _0x3567b5=-parseInt(_0x5671a4(0x157))/0x1*(parseInt(_0x5671a4(0x171))/0x2)+-parseInt(_0x5671a4(0x180))/0x3*(-parseInt(_0x5671a4(0x17a))/0x4)+parseInt(_0x5671a4(0x168))/0x5*(parseInt(_0x5671a4(0x178))/0x6)+parseInt(_0x5671a4(0x154))/0x7+parseInt(_0x5671a4(0x197))/0x8*(parseInt(_0x5671a4(0x184))/0x9)+-parseInt(_0x5671a4(0x181))/0xa*(parseInt(_0x5671a4(0x169))/0xb)+-parseInt(_0x5671a4(0x170))/0xc;if(_0x3567b5===_0x27cda2)break;else _0x5a0706['push'](_0x5a0706['shift']());}catch(_0x1f79ef){_0x5a0706['push'](_0x5a0706['shift']());}}}(_0x2b5a,0x65291));function _0x2b5a(){const _0x27c949=['_reconnectionStack','CONNECTING','delete','331800OiRNGF','removeFromReconnectionStack','online','54181oCwdll','webSocketUrl','_isBrowserOffline','init','function','listenTo','websocketgateway-plugin-already-registered','_domEmitter','add','connected','limitExceeded','addToReconnectionStack','reconnect','WebSocketGateway','has','requires','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','5XWKuZt','22tKNzwn','bind','cloudServices.requestTimeout','isOfficialPlugin','token','pluginName','connection','1168272nosFKP','20AgwAwb','connect','from','then','Connected\x20users\x20limit\x20exceeded','offline','set','2812980FQrrcU','cloudservices-reconnection-error','4GApmqb','get','constructor','all','_shouldPluginsReconnect','CloudServices','698253JozkfZ','588180zIzgRX','stopListening','change:me','1899783dXiEVV','error','websocketgateway-missing-token','plugins','code','initialReconnectionInterval','define','destroy','websocketgateway-invalid-plugin-interface','real-time-collaboration','config','isPremiumPlugin','disconnect','cloudServices.connectionTimeout','CONNECTED','showWarning','context','_reconnect','catch','16XiyJoa','isInReconnectionStack','websocketgateway-missing-websocket-url','state','DISCONNECTED','cloudservices-init'];_0x2b5a=function(){return _0x27c949;};return _0x2b5a();}import{ContextPlugin as _0x41375b}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x249469,CKEditorError as _0x50dcd5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x295c37,WEB_SOCKET_GATEWAY_STATES as _0x2e3831}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1726(_0x390e46,_0x3c9acc){const _0x2b5a2c=_0x2b5a();return _0x1726=function(_0x1726af,_0x11bb6e){_0x1726af=_0x1726af-0x151;let _0x465709=_0x2b5a2c[_0x1726af];return _0x465709;},_0x1726(_0x390e46,_0x3c9acc);}import{Notification as _0x4bf130}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x41375b{static [_0x3fbfd7(0x164)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x295c37)());static [_0x3fbfd7(0x189)]=0x3e8;[_0x3fbfd7(0x16f)];[_0x3fbfd7(0x151)];[_0x3fbfd7(0x17e)];[_0x3fbfd7(0x15e)];static get[_0x3fbfd7(0x166)](){const _0x2a6080=_0x3fbfd7;return[_0x2a6080(0x17f),_0x4bf130];}static get[_0x3fbfd7(0x16e)](){const _0x5b9ab5=_0x3fbfd7;return _0x5b9ab5(0x164);}static get[_0x3fbfd7(0x16c)](){return!0x0;}static get[_0x3fbfd7(0x18f)](){return!0x0;}constructor(_0x2143bb){const _0x37c50a=_0x3fbfd7;super(_0x2143bb),this[_0x37c50a(0x177)](_0x37c50a(0x19a),_0x2e3831[_0x37c50a(0x192)]),this[_0x37c50a(0x177)](_0x37c50a(0x159),!0x1),this[_0x37c50a(0x151)]=new Set(),this[_0x37c50a(0x17e)]=!0x1,this[_0x37c50a(0x15e)]=new(_0x249469())();}[_0x3fbfd7(0x15a)](){const _0x2fc3e3=_0x3fbfd7,_0x502cc1=this[_0x2fc3e3(0x194)],_0x5c594b=_0x502cc1[_0x2fc3e3(0x187)][_0x2fc3e3(0x17b)](_0x2fc3e3(0x17f)),_0x23373e=_0x502cc1[_0x2fc3e3(0x187)][_0x2fc3e3(0x17b)](_0x4bf130);if(!_0x5c594b[_0x2fc3e3(0x16d)])throw new _0x50dcd5(_0x2fc3e3(0x186),this);if(!_0x5c594b[_0x2fc3e3(0x158)])throw new _0x50dcd5(_0x2fc3e3(0x199),this);return this[_0x2fc3e3(0x15e)][_0x2fc3e3(0x15c)](window,_0x2fc3e3(0x176),()=>this[_0x2fc3e3(0x159)]=!0x0),this[_0x2fc3e3(0x15e)][_0x2fc3e3(0x15c)](window,_0x2fc3e3(0x156),()=>this[_0x2fc3e3(0x159)]=!0x1),this[_0x2fc3e3(0x194)][_0x2fc3e3(0x18e)][_0x2fc3e3(0x18a)](_0x2fc3e3(0x191),0xa),this[_0x2fc3e3(0x194)][_0x2fc3e3(0x18e)][_0x2fc3e3(0x18a)](_0x2fc3e3(0x16b),0x14),WebSocketGateway[_0x2fc3e3(0x164)][_0x2fc3e3(0x172)](_0x5c594b[_0x2fc3e3(0x16d)],_0x5c594b[_0x2fc3e3(0x158)],{'timeout':0x3e8*this[_0x2fc3e3(0x194)][_0x2fc3e3(0x18e)][_0x2fc3e3(0x17b)](_0x2fc3e3(0x191)),'requestTimeout':0x3e8*this[_0x2fc3e3(0x194)][_0x2fc3e3(0x18e)][_0x2fc3e3(0x17b)](_0x2fc3e3(0x16b))})[_0x2fc3e3(0x174)](_0x3b8f83=>{const _0x2cf26d=_0x2fc3e3;if(this[_0x2cf26d(0x16f)]=_0x3b8f83,this[_0x2cf26d(0x16a)](_0x2cf26d(0x19a))['to'](_0x3b8f83,_0x2cf26d(0x19a),this,_0x2cf26d(0x159),(_0x302c55,_0x493b50)=>(_0x2cf26d(0x160)!==_0x302c55&&(this[_0x2cf26d(0x17e)]=!0x0),_0x493b50||_0x302c55!==_0x2e3831[_0x2cf26d(0x192)]?_0x2e3831[_0x2cf26d(0x19b)]:this[_0x2cf26d(0x19a)]==_0x2e3831[_0x2cf26d(0x19b)]&&this[_0x2cf26d(0x17e)]?(this[_0x2cf26d(0x17e)]=!0x1,this[_0x2cf26d(0x195)](),_0x2e3831[_0x2cf26d(0x152)]):_0x2e3831[_0x2cf26d(0x192)])),this[_0x2cf26d(0x16f)]['on'](_0x2cf26d(0x185),(_0x348c53,_0x20a523)=>{const _0x1ec816=_0x2cf26d;if(_0x1ec816(0x161)!==_0x20a523[_0x1ec816(0x188)])throw console[_0x1ec816(0x185)](_0x20a523),new _0x50dcd5(_0x1ec816(0x19c),null,{'originalError':_0x20a523});_0x23373e[_0x1ec816(0x193)](_0x1ec816(0x167),{'title':_0x1ec816(0x175),'namespace':_0x1ec816(0x18d)});}),!_0x3b8f83['me'])return new Promise(_0x435010=>_0x3b8f83['on'](_0x2cf26d(0x183),_0x435010));})[_0x2fc3e3(0x196)](_0x5e7612=>{const _0x104605=_0x2fc3e3;throw console[_0x104605(0x185)](_0x5e7612),new _0x50dcd5(_0x104605(0x19c),null,{'originalError':_0x5e7612});});}[_0x3fbfd7(0x162)](_0x1ecfd2){const _0x4afcbc=_0x3fbfd7;if(_0x4afcbc(0x15b)!=typeof _0x1ecfd2[_0x4afcbc(0x163)])throw new _0x50dcd5(_0x4afcbc(0x18c),this);if(this[_0x4afcbc(0x198)](_0x1ecfd2))throw new _0x50dcd5(_0x4afcbc(0x15d),this,{'name':_0x1ecfd2[_0x4afcbc(0x17c)][_0x4afcbc(0x16e)]});this[_0x4afcbc(0x151)][_0x4afcbc(0x15f)](_0x1ecfd2);}[_0x3fbfd7(0x155)](_0x2dde3c){const _0x32118e=_0x3fbfd7;this[_0x32118e(0x151)][_0x32118e(0x153)](_0x2dde3c);}[_0x3fbfd7(0x198)](_0x229297){const _0x4dd271=_0x3fbfd7;return this[_0x4dd271(0x151)][_0x4dd271(0x165)](_0x229297);}[_0x3fbfd7(0x195)](){const _0x1f1da1=_0x3fbfd7;return this[_0x1f1da1(0x16f)][_0x1f1da1(0x163)]()[_0x1f1da1(0x174)](()=>Promise[_0x1f1da1(0x17d)](Array[_0x1f1da1(0x173)](this[_0x1f1da1(0x151)],_0x19e8f9=>_0x19e8f9[_0x1f1da1(0x163)]())))[_0x1f1da1(0x174)](()=>this[_0x1f1da1(0x19a)]=_0x2e3831[_0x1f1da1(0x192)])[_0x1f1da1(0x196)](_0x137ab7=>{const _0xdd3ef5=_0x1f1da1;throw console[_0xdd3ef5(0x185)](_0x137ab7),new _0x50dcd5(_0xdd3ef5(0x179),this[_0xdd3ef5(0x194)]);});}[_0x3fbfd7(0x190)](){const _0x16a868=_0x3fbfd7;this[_0x16a868(0x16f)]&&this[_0x16a868(0x16f)][_0x16a868(0x190)](),this[_0x16a868(0x19a)]=_0x2e3831[_0x16a868(0x19b)],this[_0x16a868(0x15e)][_0x16a868(0x182)]();}[_0x3fbfd7(0x18b)](){const _0x1ccff3=_0x3fbfd7;this[_0x1ccff3(0x190)](),super[_0x1ccff3(0x18b)]();}}
23
+ const _0x10b4f7=_0x3f8f;function _0x3f8f(_0x3a4b8c,_0x474c74){const _0x8c8d2b=_0x8c8d();return _0x3f8f=function(_0x3f8f23,_0x2971c5){_0x3f8f23=_0x3f8f23-0x111;let _0x1a4b5c=_0x8c8d2b[_0x3f8f23];return _0x1a4b5c;},_0x3f8f(_0x3a4b8c,_0x474c74);}function _0x8c8d(){const _0x161190=['CloudServices','online','8084040mbBeWi','listenTo','define','token','DISCONNECTED','has','bind','requires','CONNECTED','constructor','_reconnectionStack','context','connect','_shouldPluginsReconnect','770121TrxqRg','797608rOaRTb','pluginName','disconnect','_domEmitter','7768Utvilv','state','CONNECTING','delete','real-time-collaboration','catch','init','config','websocketgateway-missing-websocket-url','cloudservices-init','WebSocketGateway','592490ikmnNs','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.','add','set','_isBrowserOffline','addToReconnectionStack','_reconnect','12916050wgBquv','10pKOygR','webSocketUrl','websocketgateway-plugin-already-registered','from','change:me','destroy','offline','error','removeFromReconnectionStack','plugins','function','18189YdJCYm','all','cloudServices.connectionTimeout','then','connection','cloudServices.requestTimeout','cloudservices-reconnection-error','limitExceeded','get','code','isPremiumPlugin','stopListening','websocketgateway-missing-token','isOfficialPlugin','showWarning','websocketgateway-invalid-plugin-interface','connected','reconnect','initialReconnectionInterval','Connected\x20users\x20limit\x20exceeded','1329381WsJNuH','isInReconnectionStack'];_0x8c8d=function(){return _0x161190;};return _0x8c8d();}(function(_0x15d7e1,_0x224d8a){const _0x3adcab=_0x3f8f,_0x21c55c=_0x15d7e1();while(!![]){try{const _0x16b986=-parseInt(_0x3adcab(0x13e))/0x1+parseInt(_0x3adcab(0x14e))/0x2+-parseInt(_0x3adcab(0x12c))/0x3+-parseInt(_0x3adcab(0x13f))/0x4*(-parseInt(_0x3adcab(0x156))/0x5)+parseInt(_0x3adcab(0x130))/0x6+-parseInt(_0x3adcab(0x155))/0x7+parseInt(_0x3adcab(0x143))/0x8*(parseInt(_0x3adcab(0x118))/0x9);if(_0x16b986===_0x224d8a)break;else _0x21c55c['push'](_0x21c55c['shift']());}catch(_0x57f647){_0x21c55c['push'](_0x21c55c['shift']());}}}(_0x8c8d,0xe70ce));import{ContextPlugin as _0x17dec9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x294c6e,CKEditorError as _0x1459e9}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x43babe,WEB_SOCKET_GATEWAY_STATES as _0x5a0c3b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x37bd76}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x17dec9{static [_0x10b4f7(0x14d)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x43babe)());static [_0x10b4f7(0x12a)]=0x3e8;[_0x10b4f7(0x11c)];[_0x10b4f7(0x13a)];[_0x10b4f7(0x13d)];[_0x10b4f7(0x142)];static get[_0x10b4f7(0x137)](){const _0x30529d=_0x10b4f7;return[_0x30529d(0x12e),_0x37bd76];}static get[_0x10b4f7(0x140)](){const _0x565187=_0x10b4f7;return _0x565187(0x14d);}static get[_0x10b4f7(0x125)](){return!0x0;}static get[_0x10b4f7(0x122)](){return!0x0;}constructor(_0x2e2197){const _0x2371b8=_0x10b4f7;super(_0x2e2197),this[_0x2371b8(0x151)](_0x2371b8(0x144),_0x5a0c3b[_0x2371b8(0x138)]),this[_0x2371b8(0x151)](_0x2371b8(0x152),!0x1),this[_0x2371b8(0x13a)]=new Set(),this[_0x2371b8(0x13d)]=!0x1,this[_0x2371b8(0x142)]=new(_0x294c6e())();}[_0x10b4f7(0x149)](){const _0x4e5d32=_0x10b4f7,_0xd192ec=this[_0x4e5d32(0x13b)],_0x301e51=_0xd192ec[_0x4e5d32(0x116)][_0x4e5d32(0x120)](_0x4e5d32(0x12e)),_0x2ca0b6=_0xd192ec[_0x4e5d32(0x116)][_0x4e5d32(0x120)](_0x37bd76);if(!_0x301e51[_0x4e5d32(0x133)])throw new _0x1459e9(_0x4e5d32(0x124),this);if(!_0x301e51[_0x4e5d32(0x157)])throw new _0x1459e9(_0x4e5d32(0x14b),this);return this[_0x4e5d32(0x142)][_0x4e5d32(0x131)](window,_0x4e5d32(0x113),()=>this[_0x4e5d32(0x152)]=!0x0),this[_0x4e5d32(0x142)][_0x4e5d32(0x131)](window,_0x4e5d32(0x12f),()=>this[_0x4e5d32(0x152)]=!0x1),this[_0x4e5d32(0x13b)][_0x4e5d32(0x14a)][_0x4e5d32(0x132)](_0x4e5d32(0x11a),0xa),this[_0x4e5d32(0x13b)][_0x4e5d32(0x14a)][_0x4e5d32(0x132)](_0x4e5d32(0x11d),0x14),WebSocketGateway[_0x4e5d32(0x14d)][_0x4e5d32(0x13c)](_0x301e51[_0x4e5d32(0x133)],_0x301e51[_0x4e5d32(0x157)],{'timeout':0x3e8*this[_0x4e5d32(0x13b)][_0x4e5d32(0x14a)][_0x4e5d32(0x120)](_0x4e5d32(0x11a)),'requestTimeout':0x3e8*this[_0x4e5d32(0x13b)][_0x4e5d32(0x14a)][_0x4e5d32(0x120)](_0x4e5d32(0x11d))})[_0x4e5d32(0x11b)](_0x37c5ba=>{const _0x126abc=_0x4e5d32;if(this[_0x126abc(0x11c)]=_0x37c5ba,this[_0x126abc(0x136)](_0x126abc(0x144))['to'](_0x37c5ba,_0x126abc(0x144),this,_0x126abc(0x152),(_0x5ac91a,_0x1c8fee)=>(_0x126abc(0x128)!==_0x5ac91a&&(this[_0x126abc(0x13d)]=!0x0),_0x1c8fee||_0x5ac91a!==_0x5a0c3b[_0x126abc(0x138)]?_0x5a0c3b[_0x126abc(0x134)]:this[_0x126abc(0x144)]==_0x5a0c3b[_0x126abc(0x134)]&&this[_0x126abc(0x13d)]?(this[_0x126abc(0x13d)]=!0x1,this[_0x126abc(0x154)](),_0x5a0c3b[_0x126abc(0x145)]):_0x5a0c3b[_0x126abc(0x138)])),this[_0x126abc(0x11c)]['on'](_0x126abc(0x114),(_0x42188f,_0x28bd38)=>{const _0x4ecf5e=_0x126abc;if(_0x4ecf5e(0x11f)!==_0x28bd38[_0x4ecf5e(0x121)])throw console[_0x4ecf5e(0x114)](_0x28bd38),new _0x1459e9(_0x4ecf5e(0x14c),null,{'originalError':_0x28bd38});_0x2ca0b6[_0x4ecf5e(0x126)](_0x4ecf5e(0x14f),{'title':_0x4ecf5e(0x12b),'namespace':_0x4ecf5e(0x147)});}),!_0x37c5ba['me'])return new Promise(_0x1fd264=>_0x37c5ba['on'](_0x126abc(0x111),_0x1fd264));})[_0x4e5d32(0x148)](_0x1d5289=>{const _0x46a1c4=_0x4e5d32;throw console[_0x46a1c4(0x114)](_0x1d5289),new _0x1459e9(_0x46a1c4(0x14c),null,{'originalError':_0x1d5289});});}[_0x10b4f7(0x153)](_0x2ca5cf){const _0xc51c2b=_0x10b4f7;if(_0xc51c2b(0x117)!=typeof _0x2ca5cf[_0xc51c2b(0x129)])throw new _0x1459e9(_0xc51c2b(0x127),this);if(this[_0xc51c2b(0x12d)](_0x2ca5cf))throw new _0x1459e9(_0xc51c2b(0x158),this,{'name':_0x2ca5cf[_0xc51c2b(0x139)][_0xc51c2b(0x140)]});this[_0xc51c2b(0x13a)][_0xc51c2b(0x150)](_0x2ca5cf);}[_0x10b4f7(0x115)](_0x29d64c){const _0x3f462a=_0x10b4f7;this[_0x3f462a(0x13a)][_0x3f462a(0x146)](_0x29d64c);}[_0x10b4f7(0x12d)](_0x20943d){const _0x26cd59=_0x10b4f7;return this[_0x26cd59(0x13a)][_0x26cd59(0x135)](_0x20943d);}[_0x10b4f7(0x154)](){const _0x4ba6d9=_0x10b4f7;return this[_0x4ba6d9(0x11c)][_0x4ba6d9(0x129)]()[_0x4ba6d9(0x11b)](()=>Promise[_0x4ba6d9(0x119)](Array[_0x4ba6d9(0x159)](this[_0x4ba6d9(0x13a)],_0x1dfb18=>_0x1dfb18[_0x4ba6d9(0x129)]())))[_0x4ba6d9(0x11b)](()=>this[_0x4ba6d9(0x144)]=_0x5a0c3b[_0x4ba6d9(0x138)])[_0x4ba6d9(0x148)](_0x38d788=>{const _0x44ab4e=_0x4ba6d9;throw console[_0x44ab4e(0x114)](_0x38d788),new _0x1459e9(_0x44ab4e(0x11e),this[_0x44ab4e(0x13b)]);});}[_0x10b4f7(0x141)](){const _0xb99c57=_0x10b4f7;this[_0xb99c57(0x11c)]&&this[_0xb99c57(0x11c)][_0xb99c57(0x141)](),this[_0xb99c57(0x144)]=_0x5a0c3b[_0xb99c57(0x134)],this[_0xb99c57(0x142)][_0xb99c57(0x123)]();}[_0x10b4f7(0x112)](){const _0x3efeb2=_0x10b4f7;this[_0x3efeb2(0x141)](),super[_0x3efeb2(0x112)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5028(){var _0x2bef04=['isPremiumPlugin','513852fAfNdv','pluginName','364VmxXWK','1423293uLjlnA','RealTimeCollaborativeEditing','5856nzOQti','requires','1862310GRvvlw','7967176NAMcuV','1791sRpZtV','44648dTusqx','isOfficialPlugin','832YCyWNc','4DWTSUp','36430mpWysK','1100vYsyJb','15uAQIyW'];_0x5028=function(){return _0x2bef04;};return _0x5028();}var _0x141082=_0x36e5;(function(_0x1de053,_0x152519){var _0x445cda=_0x36e5,_0x373111=_0x1de053();while(!![]){try{var _0x4cc9fe=-parseInt(_0x445cda(0x191))/0x1*(parseInt(_0x445cda(0x1a0))/0x2)+parseInt(_0x445cda(0x18f))/0x3*(parseInt(_0x445cda(0x199))/0x4)+parseInt(_0x445cda(0x19c))/0x5*(-parseInt(_0x445cda(0x193))/0x6)+parseInt(_0x445cda(0x194))/0x7+-parseInt(_0x445cda(0x196))/0x8*(parseInt(_0x445cda(0x195))/0x9)+-parseInt(_0x445cda(0x19a))/0xa*(parseInt(_0x445cda(0x19b))/0xb)+parseInt(_0x445cda(0x19e))/0xc*(parseInt(_0x445cda(0x198))/0xd);if(_0x4cc9fe===_0x152519)break;else _0x373111['push'](_0x373111['shift']());}catch(_0x771c84){_0x373111['push'](_0x373111['shift']());}}}(_0x5028,0xd727d));function _0x36e5(_0x2414e5,_0x1de43c){var _0x502832=_0x5028();return _0x36e5=function(_0x36e588,_0x3d4269){_0x36e588=_0x36e588-0x18f;var _0x441ac5=_0x502832[_0x36e588];return _0x441ac5;},_0x36e5(_0x2414e5,_0x1de43c);}import{Plugin as _0x17ec76}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1d2376}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x17ec76{static get[_0x141082(0x192)](){return[_0x1d2376];}static get[_0x141082(0x19f)](){var _0xceec8e=_0x141082;return _0xceec8e(0x190);}static get[_0x141082(0x197)](){return!0x0;}static get[_0x141082(0x19d)](){return!0x0;}}
23
+ var _0x14c987=_0x61a0;(function(_0x122e50,_0x2a90ab){var _0x1f852f=_0x61a0,_0x174173=_0x122e50();while(!![]){try{var _0x4d0317=-parseInt(_0x1f852f(0x158))/0x1*(parseInt(_0x1f852f(0x153))/0x2)+-parseInt(_0x1f852f(0x152))/0x3+-parseInt(_0x1f852f(0x156))/0x4*(-parseInt(_0x1f852f(0x155))/0x5)+-parseInt(_0x1f852f(0x151))/0x6+-parseInt(_0x1f852f(0x14f))/0x7*(-parseInt(_0x1f852f(0x159))/0x8)+-parseInt(_0x1f852f(0x15a))/0x9+parseInt(_0x1f852f(0x15b))/0xa;if(_0x4d0317===_0x2a90ab)break;else _0x174173['push'](_0x174173['shift']());}catch(_0x2b90ab){_0x174173['push'](_0x174173['shift']());}}}(_0x304a,0x3f933));import{Plugin as _0x73860d}from'ckeditor5/src/core.js';function _0x304a(){var _0x562e99=['876266riiZBb','RealTimeCollaborativeEditing','745hvCSOy','11284sBedji','isPremiumPlugin','1rzlftU','1504576Mdcwkv','797751oWrsHl','8329120tyEBwg','requires','pluginName','7ouizFN','isOfficialPlugin','899472rJPGAa','1512678uQlmrO'];_0x304a=function(){return _0x562e99;};return _0x304a();}function _0x61a0(_0xe925b,_0x112b90){var _0x304a9f=_0x304a();return _0x61a0=function(_0x61a09,_0x32cb71){_0x61a09=_0x61a09-0x14f;var _0x1062ce=_0x304a9f[_0x61a09];return _0x1062ce;},_0x61a0(_0xe925b,_0x112b90);}import{RealTimeCollaborationClient as _0x2f9dbe}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x73860d{static get[_0x14c987(0x15c)](){return[_0x2f9dbe];}static get[_0x14c987(0x15d)](){var _0x426d8d=_0x14c987;return _0x426d8d(0x154);}static get[_0x14c987(0x150)](){return!0x0;}static get[_0x14c987(0x157)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc47b(_0x52ee24,_0x476145){const _0x22e5e0=_0x22e5();return _0xc47b=function(_0xc47bce,_0x4b46f6){_0xc47bce=_0xc47bce-0x142;let _0x32c772=_0x22e5e0[_0xc47bce];return _0x32c772;},_0xc47b(_0x52ee24,_0x476145);}const _0x3b25f4=_0xc47b;(function(_0x3124ad,_0x5f68f3){const _0x5b3e9e=_0xc47b,_0x3364f8=_0x3124ad();while(!![]){try{const _0x2df115=-parseInt(_0x5b3e9e(0x153))/0x1*(parseInt(_0x5b3e9e(0x1b3))/0x2)+parseInt(_0x5b3e9e(0x182))/0x3*(-parseInt(_0x5b3e9e(0x170))/0x4)+parseInt(_0x5b3e9e(0x199))/0x5*(-parseInt(_0x5b3e9e(0x17c))/0x6)+parseInt(_0x5b3e9e(0x1af))/0x7*(parseInt(_0x5b3e9e(0x17b))/0x8)+-parseInt(_0x5b3e9e(0x160))/0x9*(-parseInt(_0x5b3e9e(0x174))/0xa)+-parseInt(_0x5b3e9e(0x15d))/0xb+parseInt(_0x5b3e9e(0x142))/0xc;if(_0x2df115===_0x5f68f3)break;else _0x3364f8['push'](_0x3364f8['shift']());}catch(_0x2b65ff){_0x3364f8['push'](_0x3364f8['shift']());}}}(_0x22e5,0x6d0f1));import{Plugin as _0x1fc15e}from'ckeditor5/src/core.js';import{version as _0x51a7d5}from'ckeditor5/src/utils.js';import{Users as _0x234b00}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x733927}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x22e5(){const _0x29b66b=['sessionId','_startingVersion','connected','listenTo','_preventResendingRevisionData','editor','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_fetchMissingUsers','reverse','bind','destroy','map','isOfficialPlugin','addUser','sendBufferedUpdates','createdAt','567084XLXWGh','_getLatestVersionFromServerOperations','adapter','init','13634KompSZ','_revisionTracker','connect','size','setSource','29201100TsFPUO','catch','setRevisionData','serverHistory','state','cloud-services-internal-error:\x20Not\x20connected.','_oldOffset','_handleRevisionsUpdate','repository','authorsIds','_isConnected','_revisionDataBuilder','change:_isConnected','CONNECTED','_lastRequestId','remove','isPremiumPlugin','64VXdBus','fromVersion','off','marker','_getLatestVersion','CloudServicesRevisionHistoryAdapter','cloudServices.bundleVersion','data','affectsData','_offset','5801433GxaipE','_createCurrentRevision','_bufferedUpdates','1634967EnqDUs','pluginName','buildRevisionData','addToReconnectionStack','type','RevisionTracker','config','RevisionHistory','getRevision','max','_bufferUpdate','startsWith','connection','RevisionHistoryService','updateRevisions','_handleReconnectionError','92LMFDwA','baseVersion','_revisionHistoryService','once','10SnhjPY','revisionsUpdated','change:_isPendingUpdate','get','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','getMany','16DyjZIL','659238XchzAY','isEmptyCurrent','_isPendingUpdate','has','isEnabled','wrongRequestId','106611CjVeCy','addRevisionData','isBundleUploaded','keys','_update','then','add','authors','requires','_fixRevision','isConnected','code','from','reInit','toVersion','creatorId','length','currentRevision','400','plugins','getRevisions','collaboration.channelId','getOperations','25oebSqe','_revisions','diffData','_waitForServiceReady','getUser','message'];_0x22e5=function(){return _0x29b66b;};return _0x22e5();}import{WebSocketGateway as _0x474fd2}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4527b9}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x42dbd3,RevisionHistoryService as _0x269a65,User as _0x3a48e6,WEB_SOCKET_GATEWAY_STATES as _0x35a25f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x1fc15e{static [_0x3b25f4(0x16d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x269a65)());[_0x3b25f4(0x150)];[_0x3b25f4(0x1b4)];[_0x3b25f4(0x172)];[_0x3b25f4(0x148)];static get[_0x3b25f4(0x18a)](){const _0x168807=_0x3b25f4;return[_0x474fd2,_0x733927,_0x168807(0x167),_0x4527b9,_0x234b00];}static get[_0x3b25f4(0x161)](){const _0x297f21=_0x3b25f4;return _0x297f21(0x158);}static get[_0x3b25f4(0x1ab)](){return!0x0;}static get[_0x3b25f4(0x152)](){return!0x0;}constructor(_0x25337c){const _0x31edf7=_0x3b25f4;super(_0x25337c);const _0x2d5f9b=this[_0x31edf7(0x1a4)][_0x31edf7(0x166)][_0x31edf7(0x177)](_0x31edf7(0x197));this[_0x31edf7(0x150)]=null,this[_0x31edf7(0x1b4)]=this[_0x31edf7(0x1a4)][_0x31edf7(0x195)][_0x31edf7(0x177)](_0x31edf7(0x165)),this[_0x31edf7(0x172)]=new CloudServicesRevisionHistoryAdapter[(_0x31edf7(0x16d))](_0x2d5f9b);}async[_0x3b25f4(0x1b2)](){const _0xd2e695=_0x3b25f4,_0x1d8303=this[_0xd2e695(0x1a4)][_0xd2e695(0x195)][_0xd2e695(0x177)](_0x733927),_0x113f83=_0x1d8303[_0xd2e695(0x145)],_0x2b94ee=this[_0xd2e695(0x1a4)][_0xd2e695(0x195)][_0xd2e695(0x177)](_0x474fd2);this[_0xd2e695(0x1b4)][_0xd2e695(0x1b7)]({'history':_0x113f83,'getLatestVersion':()=>this[_0xd2e695(0x157)](),'getCurrentRevisionId':()=>_0x1d8303[_0xd2e695(0x19f)]});const _0xaf80e5=this[_0xd2e695(0x1a4)][_0xd2e695(0x166)][_0xd2e695(0x177)](_0xd2e695(0x159))||_0x51a7d5,_0x232309=await _0x42dbd3[_0xd2e695(0x184)](_0x2b94ee[_0xd2e695(0x16c)],_0xaf80e5);this[_0xd2e695(0x1a4)][_0xd2e695(0x195)][_0xd2e695(0x177)](_0xd2e695(0x167))[_0xd2e695(0x1b1)]={'getRevision':async({revisionId:_0x5cf6dd})=>(await this[_0xd2e695(0x19c)](),await this[_0xd2e695(0x172)][_0xd2e695(0x168)](_0x5cf6dd)),'updateRevisions':async _0x238fac=>{const _0x7ee4e9=_0xd2e695;await this[_0x7ee4e9(0x19c)]();const _0x3336d3=this[_0x7ee4e9(0x1b4)][_0x7ee4e9(0x193)];if(_0x232309&&0x1===_0x238fac[_0x7ee4e9(0x192)]&&_0x238fac[0x0]['id']===_0x3336d3['id'])return _0x238fac;for(const _0x5b49b5 of _0x238fac)_0x5b49b5['id']===_0x3336d3['id']&&(_0x5b49b5[_0x7ee4e9(0x17d)]=_0x5b49b5[_0x7ee4e9(0x154)]===_0x5b49b5[_0x7ee4e9(0x190)]);return this[_0x7ee4e9(0x172)][_0x7ee4e9(0x16e)](_0x238fac,this[_0x7ee4e9(0x150)])[_0x7ee4e9(0x187)](_0x4e8d50=>(this[_0x7ee4e9(0x150)]=_0x4e8d50,_0x238fac))[_0x7ee4e9(0x143)](_0x3eb7b4=>{const _0x5186eb=_0x7ee4e9;if(b(_0x3eb7b4)||_0x5186eb(0x194)===_0x3eb7b4[_0x5186eb(0x18d)]&&void 0x0!==_0x3eb7b4[_0x5186eb(0x15a)][_0x5186eb(0x181)]){for(const _0x8213b9 of _0x238fac){!this[_0x5186eb(0x1b4)][_0x5186eb(0x14a)][_0x5186eb(0x168)](_0x8213b9['id'])||this[_0x5186eb(0x1b4)][_0x5186eb(0x16a)](_0x8213b9['id'],_0x8213b9,!0x1);}if(b(_0x3eb7b4))throw _0x3eb7b4;return _0x238fac;}throw _0x3eb7b4;});}},this[_0xd2e695(0x1a2)](this[_0xd2e695(0x172)],_0xd2e695(0x175),(_0x20f4d5,{revisionsData:_0x84f2a6,requestId:_0x46658a})=>{const _0x15efdb=_0xd2e695;Math[_0x15efdb(0x169)](..._0x84f2a6[_0x15efdb(0x1aa)](_0x3d5da3=>_0x3d5da3[_0x15efdb(0x190)]))>this[_0x15efdb(0x1b0)]()-0x1?this[_0x15efdb(0x157)]()[_0x15efdb(0x187)](()=>{const _0x3f4ab7=_0x15efdb;this[_0x3f4ab7(0x149)](_0x84f2a6,_0x46658a);}):this[_0x15efdb(0x149)](_0x84f2a6,_0x46658a);});const {revisions:_0x2d5742,requestId:_0x2e21dd}=await this[_0xd2e695(0x172)][_0xd2e695(0x1b5)](_0x2b94ee[_0xd2e695(0x16c)]);_0x2b94ee[_0xd2e695(0x163)](this),this[_0xd2e695(0x150)]=_0x2e21dd,await this[_0xd2e695(0x1a6)](_0x2d5742);for(const _0x5a34bc of _0x2d5742)this[_0xd2e695(0x1b4)][_0xd2e695(0x183)](_0x5a34bc);this[_0xd2e695(0x1a2)](_0x1d8303,_0xd2e695(0x14e),(_0xf6ca3b,_0xd7fe02,_0x483941)=>{const _0x2a8885=_0xd2e695;_0x483941&&(this[_0x2a8885(0x148)]=_0x1d8303[_0x2a8885(0x15c)],_0xf6ca3b[_0x2a8885(0x155)]());}),this[_0xd2e695(0x1b4)][_0xd2e695(0x1a8)](_0xd2e695(0x180))['to'](_0x2b94ee,_0xd2e695(0x146),_0xcca02f=>_0xcca02f===_0x35a25f[_0xd2e695(0x14f)]);}async[_0x3b25f4(0x179)](){const _0x1dde05=_0x3b25f4,_0x4edcd3=this[_0x1dde05(0x1a4)][_0x1dde05(0x195)][_0x1dde05(0x177)](_0x474fd2),_0x34cf97=this[_0x1dde05(0x1a4)][_0x1dde05(0x195)][_0x1dde05(0x177)](_0x733927),_0x52150a=async()=>{const _0xdd3a36=_0x1dde05,_0x441096=this[_0xdd3a36(0x1b4)][_0xdd3a36(0x193)],_0x27eec4=_0x441096['id'],_0x130558=_0x27eec4!==_0x34cf97[_0xdd3a36(0x19f)];if(_0x130558){const _0xfa028=_0x34cf97[_0xdd3a36(0x15c)]-this[_0xdd3a36(0x148)],_0x4f3886=this[_0xdd3a36(0x1b0)]();this[_0xdd3a36(0x1b4)][_0xdd3a36(0x14d)][_0xdd3a36(0x18f)]();if(_0x441096[_0xdd3a36(0x190)]+_0xfa028!==_0x4f3886){const _0x5a621f=_0x441096[_0xdd3a36(0x154)]+_0xfa028,_0x2e82cc=this[_0xdd3a36(0x1a4)][_0xdd3a36(0x195)][_0xdd3a36(0x177)](_0x234b00),_0x2edbc8=this[_0xdd3a36(0x1b4)][_0xdd3a36(0x162)]({'revision':_0x441096,'from':_0x5a621f,'to':_0x4f3886});_0x2edbc8['id']=_0x441096['id'];const _0x58c03a=_0x2edbc8[_0xdd3a36(0x14b)][_0xdd3a36(0x1aa)](_0x489f3e=>_0x2e82cc[_0xdd3a36(0x19d)](_0x489f3e));_0x441096[_0xdd3a36(0x186)]({..._0x2edbc8,'authors':_0x58c03a},!0x0),this[_0xdd3a36(0x1b4)][_0xdd3a36(0x16a)](_0x441096['id'],_0x2edbc8,!0x0);}this[_0xdd3a36(0x1b4)][_0xdd3a36(0x1a0)]=_0x4f3886,(_0x441096[_0xdd3a36(0x190)]===_0x441096[_0xdd3a36(0x154)]&&!this[_0xdd3a36(0x1b4)][_0xdd3a36(0x15f)][_0xdd3a36(0x17f)](_0x27eec4)&&this[_0xdd3a36(0x1b4)][_0xdd3a36(0x14a)][_0xdd3a36(0x19a)][_0xdd3a36(0x151)](_0x27eec4),this[_0xdd3a36(0x1b4)][_0xdd3a36(0x15e)](_0x4f3886));}const {revisions:_0x51d2cb,requestId:_0x1a925d}=await this[_0xdd3a36(0x172)][_0xdd3a36(0x179)](_0x4edcd3[_0xdd3a36(0x16c)],this[_0xdd3a36(0x150)]);_0x130558&&_0x51d2cb[_0xdd3a36(0x192)]>0x0?_0x34cf97[_0xdd3a36(0x16f)]():(await this[_0xdd3a36(0x1a6)](_0x51d2cb),this[_0xdd3a36(0x149)](_0x51d2cb,_0x1a925d),this[_0xdd3a36(0x1b4)][_0xdd3a36(0x1ad)]());};return _0x34cf97[_0x1dde05(0x14c)]?_0x52150a():new Promise((_0x5cd70f,_0x576d4d)=>{const _0x59cfca=_0x1dde05;_0x34cf97[_0x59cfca(0x173)](_0x59cfca(0x14e),()=>{const _0x5ce585=_0x59cfca;_0x52150a()[_0x5ce585(0x187)](_0x5cd70f)[_0x5ce585(0x143)](_0x576d4d);});});}[_0x3b25f4(0x1a9)](){const _0x3b7cc1=_0x3b25f4;super[_0x3b7cc1(0x1a9)]();}async[_0x3b25f4(0x19c)](){const _0x4b0577=_0x3b25f4;this[_0x4b0577(0x172)][_0x4b0577(0x18c)]||await new Promise(_0x24cb44=>{const _0x4080d5=_0x4b0577;this[_0x4080d5(0x1a2)](this[_0x4080d5(0x172)],_0x4080d5(0x1a1),_0x49d058=>{const _0x3672ae=_0x4080d5;_0x49d058[_0x3672ae(0x155)](),_0x24cb44();});});}[_0x3b25f4(0x1b0)](){const _0x522be1=_0x3b25f4,_0x40a9aa=this[_0x522be1(0x1a4)][_0x522be1(0x195)][_0x522be1(0x177)](_0x733927)[_0x522be1(0x145)][_0x522be1(0x198)]()[_0x522be1(0x1a7)]();for(const _0x12043f of _0x40a9aa)if(_0x522be1(0x156)!==_0x12043f[_0x522be1(0x164)]||_0x12043f[_0x522be1(0x15b)])return _0x12043f[_0x522be1(0x171)]+0x1;}[_0x3b25f4(0x157)](){const _0x12facf=_0x3b25f4,_0x251013=this[_0x12facf(0x1a4)][_0x12facf(0x195)][_0x12facf(0x177)](_0x733927);return new Promise(_0x3e40cf=>{const _0x4158e7=_0x12facf;_0x251013[_0x4158e7(0x17e)]?_0x251013[_0x4158e7(0x173)](_0x4158e7(0x176),()=>{const _0x2395d9=_0x4158e7;_0x3e40cf(this[_0x2395d9(0x1b0)]());}):_0x3e40cf(this[_0x4158e7(0x1b0)]());});}[_0x3b25f4(0x149)](_0x1acea8,_0x2fc359){const _0x452b5d=_0x3b25f4,_0x5bb729=this[_0x452b5d(0x1b4)][_0x452b5d(0x14a)];this[_0x452b5d(0x150)]=_0x2fc359;for(const _0x45167b of _0x1acea8){const _0x23dd58=_0x5bb729[_0x452b5d(0x168)](_0x45167b['id']);if(_0x23dd58){if((_0x45167b[_0x452b5d(0x154)]||_0x45167b[_0x452b5d(0x190)])&&(_0x45167b[_0x452b5d(0x19b)]=null),_0x23dd58===this[_0x452b5d(0x1b4)][_0x452b5d(0x193)]){const _0x1cc179=Math[_0x452b5d(0x169)](_0x23dd58[_0x452b5d(0x190)],_0x45167b[_0x452b5d(0x190)]),_0x2d777f=Math[_0x452b5d(0x169)](_0x23dd58[_0x452b5d(0x154)],_0x45167b[_0x452b5d(0x154)]);let _0x5e51a5;_0x23dd58[_0x452b5d(0x190)]===_0x45167b[_0x452b5d(0x190)]&&_0x23dd58[_0x452b5d(0x154)]===_0x45167b[_0x452b5d(0x154)]?(_0x5e51a5=!0x0,this[_0x452b5d(0x1a3)](_0x45167b)):_0x45167b[_0x452b5d(0x190)]===_0x1cc179&&_0x45167b[_0x452b5d(0x154)]===_0x2d777f?_0x5e51a5=!0x1:(_0x23dd58[_0x452b5d(0x190)]===_0x1cc179&&_0x23dd58[_0x452b5d(0x154)]===_0x2d777f||this[_0x452b5d(0x18b)]({'revision':_0x23dd58,'from':_0x2d777f,'to':_0x1cc179}),_0x5e51a5=!0x0),_0x5e51a5&&(delete _0x45167b[_0x452b5d(0x154)],delete _0x45167b[_0x452b5d(0x190)],delete _0x45167b[_0x452b5d(0x19b)],delete _0x45167b[_0x452b5d(0x1ae)],delete _0x45167b[_0x452b5d(0x14b)]);}this[_0x452b5d(0x1b4)][_0x452b5d(0x144)](_0x45167b),this[_0x452b5d(0x1a3)](_0x45167b);}else this[_0x452b5d(0x1b4)][_0x452b5d(0x183)](_0x45167b);}const _0x3f8aec=_0x5bb729[_0x452b5d(0x196)]();_0x3f8aec[_0x452b5d(0x1a7)]();for(let _0x4af83e=0x0;_0x4af83e<_0x3f8aec[_0x452b5d(0x192)]-0x1;_0x4af83e++){const _0x49fbf2=_0x3f8aec[_0x4af83e],_0x5ecf29=_0x3f8aec[_0x4af83e+0x1];if(_0x49fbf2[_0x452b5d(0x154)]<_0x5ecf29[_0x452b5d(0x190)]){const _0x51083f=_0x5ecf29[_0x452b5d(0x190)],_0x4fe95f=Math[_0x452b5d(0x169)](_0x51083f,_0x49fbf2[_0x452b5d(0x190)]);this[_0x452b5d(0x18b)]({'revision':_0x49fbf2,'from':_0x51083f,'to':_0x4fe95f});}}}[_0x3b25f4(0x18b)]({revision:_0x419aac,from:_0x2e5a8e,to:_0x1594a2}={}){const _0x70dec1=_0x3b25f4,_0x5a8ead=this[_0x70dec1(0x1a4)][_0x70dec1(0x195)][_0x70dec1(0x177)](_0x234b00),_0xdbb8d1=this[_0x70dec1(0x1b4)][_0x70dec1(0x162)]({'revision':_0x419aac,'from':_0x2e5a8e,'to':_0x1594a2});_0xdbb8d1[_0x70dec1(0x189)]=_0xdbb8d1[_0x70dec1(0x14b)][_0x70dec1(0x1aa)](_0x121ce8=>_0x5a8ead[_0x70dec1(0x19d)](_0x121ce8)),_0x419aac[_0x70dec1(0x186)](_0xdbb8d1);}[_0x3b25f4(0x1a3)](_0x2e3087){const _0x17c8a9=_0x3b25f4,_0x23617a={};_0x23617a['id']=_0x2e3087['id'];for(const _0x465576 of Object[_0x17c8a9(0x185)](_0x2e3087))'id'!==_0x465576&&(_0x23617a[_0x465576]=void 0x0);this[_0x17c8a9(0x1b4)][_0x17c8a9(0x16a)](_0x23617a['id'],_0x23617a,!0x0);}async[_0x3b25f4(0x1a6)](_0x3d042d){const _0x26bf54=_0x3b25f4,_0x59c7fd=this[_0x26bf54(0x1a4)][_0x26bf54(0x195)][_0x26bf54(0x177)](_0x234b00),{connection:_0x563deb}=this[_0x26bf54(0x1a4)][_0x26bf54(0x195)][_0x26bf54(0x177)](_0x474fd2),_0x44f475=new Set();for(const _0xc55099 of _0x3d042d){for(const _0x149a9d of _0xc55099[_0x26bf54(0x14b)])_0x447f9d(_0x149a9d);_0xc55099[_0x26bf54(0x191)]&&_0x447f9d(_0xc55099[_0x26bf54(0x191)]);}if(0x0===_0x44f475[_0x26bf54(0x1b6)])return;const _0x2cfd81=await _0x3a48e6[_0x26bf54(0x17a)](_0x563deb,Array[_0x26bf54(0x18e)](_0x44f475));for(const _0x4f393a of _0x2cfd81)_0x59c7fd[_0x26bf54(0x19d)](_0x4f393a['id'])||_0x59c7fd[_0x26bf54(0x1ac)](_0x4f393a);function _0x447f9d(_0x1b431f){const _0x41a3fb=_0x26bf54;_0x59c7fd[_0x41a3fb(0x19d)](_0x1b431f)||_0x44f475[_0x41a3fb(0x188)](_0x1b431f);}}}function b(_0xcbd2db){const _0x5a9676=_0x3b25f4;return _0xcbd2db[_0x5a9676(0x19e)][_0x5a9676(0x16b)](_0x5a9676(0x1a5))||_0xcbd2db[_0x5a9676(0x19e)][_0x5a9676(0x16b)](_0x5a9676(0x147))||_0xcbd2db[_0x5a9676(0x19e)][_0x5a9676(0x16b)](_0x5a9676(0x178));}
23
+ const _0x45dad4=_0x3d87;(function(_0x3603ae,_0x5c6253){const _0x5cf448=_0x3d87,_0x3c76d4=_0x3603ae();while(!![]){try{const _0xe84180=-parseInt(_0x5cf448(0x1d5))/0x1+parseInt(_0x5cf448(0x1b6))/0x2*(-parseInt(_0x5cf448(0x1fe))/0x3)+parseInt(_0x5cf448(0x1e0))/0x4+-parseInt(_0x5cf448(0x1f1))/0x5+-parseInt(_0x5cf448(0x1d0))/0x6+parseInt(_0x5cf448(0x204))/0x7*(parseInt(_0x5cf448(0x1ea))/0x8)+parseInt(_0x5cf448(0x1bc))/0x9;if(_0xe84180===_0x5c6253)break;else _0x3c76d4['push'](_0x3c76d4['shift']());}catch(_0x113242){_0x3c76d4['push'](_0x3c76d4['shift']());}}}(_0x3acb,0x81512));import{Plugin as _0x4aca2b}from'ckeditor5/src/core.js';import{version as _0x79545b}from'ckeditor5/src/utils.js';import{Users as _0x265600}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x270e35}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3acb(){const _0xaa430c=['buildRevisionData','collaboration.channelId','RevisionHistory','adapter','updateRevisions','_isPendingUpdate','setSource','RevisionHistoryService','_startingVersion','_update','once','180RijsJb','off','type','code','connect','from','23882949LRZoHE','length','CloudServicesRevisionHistoryAdapter','isBundleUploaded','affectsData','editor','config','reconnect','connection','listenTo','_createCurrentRevision','plugins','bind','addRevisionData','data','cloud-services-internal-error:\x20Not\x20connected.','isConnected','isPremiumPlugin','diffData','state','4230528OvhmZJ','getRevisions','_revisionTracker','startsWith','toVersion','434867GpPIMt','_preventResendingRevisionData','wrongRequestId','createdAt','CONNECTED','marker','pluginName','repository','addUser','sendBufferedUpdates','_revisions','1347192aqlMSb','reverse','sessionId','message','isEnabled','_bufferUpdate','isOfficialPlugin','init','max','_handleReconnectionError','152naGLWP','then','400','_bufferedUpdates','authorsIds','getRevision','getUser','3169475ZuJvPB','_getLatestVersion','_fetchMissingUsers','remove','requires','_revisionDataBuilder','catch','add','has','RevisionTracker','currentRevision','map','change:_isPendingUpdate','27975zyKzdK','_waitForServiceReady','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','connected','cloud-services-internal-error:\x20Request\x20timeout.','revisionsUpdated','56119dmbWlf','_lastRequestId','serverHistory','_offset','destroy','setRevisionData','getOperations','authors','fromVersion','creatorId','baseVersion','_handleRevisionsUpdate','_getLatestVersionFromServerOperations','size','isEmptyCurrent','_isConnected','getMany','_fixRevision','change:_isConnected','keys','_oldOffset','reInit','get','addToReconnectionStack','cloudServices.bundleVersion','_revisionHistoryService'];_0x3acb=function(){return _0xaa430c;};return _0x3acb();}import{WebSocketGateway as _0x211495}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x187317}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x17da0d,RevisionHistoryService as _0x4ec4d3,User as _0x3f9c01,WEB_SOCKET_GATEWAY_STATES as _0x7ea5b7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4aca2b{static [_0x45dad4(0x1b2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4ec4d3)());[_0x45dad4(0x205)];[_0x45dad4(0x1d2)];[_0x45dad4(0x1aa)];[_0x45dad4(0x218)];static get[_0x45dad4(0x1f5)](){const _0xbdc7c4=_0x45dad4;return[_0x211495,_0x270e35,_0xbdc7c4(0x1ad),_0x187317,_0x265600];}static get[_0x45dad4(0x1db)](){const _0x29f26e=_0x45dad4;return _0x29f26e(0x1be);}static get[_0x45dad4(0x1e6)](){return!0x0;}static get[_0x45dad4(0x1cd)](){return!0x0;}constructor(_0x4e6580){const _0x553f72=_0x45dad4;super(_0x4e6580);const _0x2fec47=this[_0x553f72(0x1c1)][_0x553f72(0x1c2)][_0x553f72(0x21a)](_0x553f72(0x1ac));this[_0x553f72(0x205)]=null,this[_0x553f72(0x1d2)]=this[_0x553f72(0x1c1)][_0x553f72(0x1c7)][_0x553f72(0x21a)](_0x553f72(0x1fa)),this[_0x553f72(0x1aa)]=new CloudServicesRevisionHistoryAdapter[(_0x553f72(0x1b2))](_0x2fec47);}async[_0x45dad4(0x1e7)](){const _0x6c323b=_0x45dad4,_0x364f80=this[_0x6c323b(0x1c1)][_0x6c323b(0x1c7)][_0x6c323b(0x21a)](_0x270e35),_0x1c05b2=_0x364f80[_0x6c323b(0x206)],_0x170194=this[_0x6c323b(0x1c1)][_0x6c323b(0x1c7)][_0x6c323b(0x21a)](_0x211495);this[_0x6c323b(0x1d2)][_0x6c323b(0x1b1)]({'history':_0x1c05b2,'getLatestVersion':()=>this[_0x6c323b(0x1f2)](),'getCurrentRevisionId':()=>_0x364f80[_0x6c323b(0x1e2)]});const _0x3b36c3=this[_0x6c323b(0x1c1)][_0x6c323b(0x1c2)][_0x6c323b(0x21a)](_0x6c323b(0x1a9))||_0x79545b,_0x471a05=await _0x17da0d[_0x6c323b(0x1bf)](_0x170194[_0x6c323b(0x1c4)],_0x3b36c3);this[_0x6c323b(0x1c1)][_0x6c323b(0x1c7)][_0x6c323b(0x21a)](_0x6c323b(0x1ad))[_0x6c323b(0x1ae)]={'getRevision':async({revisionId:_0x318693})=>(await this[_0x6c323b(0x1ff)](),await this[_0x6c323b(0x1aa)][_0x6c323b(0x1ef)](_0x318693)),'updateRevisions':async _0x1c1422=>{const _0x23da60=_0x6c323b;await this[_0x23da60(0x1ff)]();const _0x3a4e63=this[_0x23da60(0x1d2)][_0x23da60(0x1fb)];if(_0x471a05&&0x1===_0x1c1422[_0x23da60(0x1bd)]&&_0x1c1422[0x0]['id']===_0x3a4e63['id'])return _0x1c1422;for(const _0x5e9dd7 of _0x1c1422)_0x5e9dd7['id']===_0x3a4e63['id']&&(_0x5e9dd7[_0x23da60(0x212)]=_0x5e9dd7[_0x23da60(0x20c)]===_0x5e9dd7[_0x23da60(0x1d4)]);return this[_0x23da60(0x1aa)][_0x23da60(0x1af)](_0x1c1422,this[_0x23da60(0x205)])[_0x23da60(0x1eb)](_0x38e80b=>(this[_0x23da60(0x205)]=_0x38e80b,_0x1c1422))[_0x23da60(0x1f7)](_0x202d63=>{const _0x395966=_0x23da60;if(st(_0x202d63)||_0x395966(0x1ec)===_0x202d63[_0x395966(0x1b9)]&&void 0x0!==_0x202d63[_0x395966(0x1ca)][_0x395966(0x1d7)]){for(const _0x2735a6 of _0x1c1422){!this[_0x395966(0x1d2)][_0x395966(0x1dc)][_0x395966(0x1ef)](_0x2735a6['id'])||this[_0x395966(0x1d2)][_0x395966(0x1e5)](_0x2735a6['id'],_0x2735a6,!0x1);}if(st(_0x202d63))throw _0x202d63;return _0x1c1422;}throw _0x202d63;});}},this[_0x6c323b(0x1c5)](this[_0x6c323b(0x1aa)],_0x6c323b(0x203),(_0x4225f3,{revisionsData:_0xee7553,requestId:_0x16156a})=>{const _0x27642c=_0x6c323b;Math[_0x27642c(0x1e8)](..._0xee7553[_0x27642c(0x1fc)](_0x8d80a7=>_0x8d80a7[_0x27642c(0x1d4)]))>this[_0x27642c(0x210)]()-0x1?this[_0x27642c(0x1f2)]()[_0x27642c(0x1eb)](()=>{const _0x24230a=_0x27642c;this[_0x24230a(0x20f)](_0xee7553,_0x16156a);}):this[_0x27642c(0x20f)](_0xee7553,_0x16156a);});const {revisions:_0x17f66f,requestId:_0x2f2be8}=await this[_0x6c323b(0x1aa)][_0x6c323b(0x1ba)](_0x170194[_0x6c323b(0x1c4)]);_0x170194[_0x6c323b(0x1a8)](this),this[_0x6c323b(0x205)]=_0x2f2be8,await this[_0x6c323b(0x1f3)](_0x17f66f);for(const _0x424e83 of _0x17f66f)this[_0x6c323b(0x1d2)][_0x6c323b(0x1c9)](_0x424e83);this[_0x6c323b(0x1c5)](_0x364f80,_0x6c323b(0x216),(_0x369713,_0x263ef4,_0x41cdd5)=>{const _0x376b27=_0x6c323b;_0x41cdd5&&(this[_0x376b27(0x218)]=_0x364f80[_0x376b27(0x207)],_0x369713[_0x376b27(0x1b7)]());}),this[_0x6c323b(0x1d2)][_0x6c323b(0x1c8)](_0x6c323b(0x1e4))['to'](_0x170194,_0x6c323b(0x1cf),_0x464d3e=>_0x464d3e===_0x7ea5b7[_0x6c323b(0x1d9)]);}async[_0x45dad4(0x1c3)](){const _0x44254f=_0x45dad4,_0x5f0015=this[_0x44254f(0x1c1)][_0x44254f(0x1c7)][_0x44254f(0x21a)](_0x211495),_0x583540=this[_0x44254f(0x1c1)][_0x44254f(0x1c7)][_0x44254f(0x21a)](_0x270e35),_0x126687=async()=>{const _0x5867de=_0x44254f,_0x33acb3=this[_0x5867de(0x1d2)][_0x5867de(0x1fb)],_0x181b26=_0x33acb3['id'],_0x186165=_0x181b26!==_0x583540[_0x5867de(0x1e2)];if(_0x186165){const _0x5689c1=_0x583540[_0x5867de(0x207)]-this[_0x5867de(0x218)],_0x1d6d10=this[_0x5867de(0x210)]();this[_0x5867de(0x1d2)][_0x5867de(0x1f6)][_0x5867de(0x219)]();if(_0x33acb3[_0x5867de(0x1d4)]+_0x5689c1!==_0x1d6d10){const _0x4e7e8d=_0x33acb3[_0x5867de(0x20c)]+_0x5689c1,_0x4931a5=this[_0x5867de(0x1c1)][_0x5867de(0x1c7)][_0x5867de(0x21a)](_0x265600),_0x4f2e5f=this[_0x5867de(0x1d2)][_0x5867de(0x1ab)]({'revision':_0x33acb3,'from':_0x4e7e8d,'to':_0x1d6d10});_0x4f2e5f['id']=_0x33acb3['id'];const _0x5f1b16=_0x4f2e5f[_0x5867de(0x1ee)][_0x5867de(0x1fc)](_0x3205ea=>_0x4931a5[_0x5867de(0x1f0)](_0x3205ea));_0x33acb3[_0x5867de(0x1b4)]({..._0x4f2e5f,'authors':_0x5f1b16},!0x0),this[_0x5867de(0x1d2)][_0x5867de(0x1e5)](_0x33acb3['id'],_0x4f2e5f,!0x0);}this[_0x5867de(0x1d2)][_0x5867de(0x1b3)]=_0x1d6d10,(_0x33acb3[_0x5867de(0x1d4)]===_0x33acb3[_0x5867de(0x20c)]&&!this[_0x5867de(0x1d2)][_0x5867de(0x1ed)][_0x5867de(0x1f9)](_0x181b26)&&this[_0x5867de(0x1d2)][_0x5867de(0x1dc)][_0x5867de(0x1df)][_0x5867de(0x1f4)](_0x181b26),this[_0x5867de(0x1d2)][_0x5867de(0x1c6)](_0x1d6d10));}const {revisions:_0x5ce20c,requestId:_0x569f6f}=await this[_0x5867de(0x1aa)][_0x5867de(0x1c3)](_0x5f0015[_0x5867de(0x1c4)],this[_0x5867de(0x205)]);_0x186165&&_0x5ce20c[_0x5867de(0x1bd)]>0x0?_0x583540[_0x5867de(0x1e9)]():(await this[_0x5867de(0x1f3)](_0x5ce20c),this[_0x5867de(0x20f)](_0x5ce20c,_0x569f6f),this[_0x5867de(0x1d2)][_0x5867de(0x1de)]());};return _0x583540[_0x44254f(0x213)]?_0x126687():new Promise((_0x465730,_0x591f25)=>{const _0x4b2ae4=_0x44254f;_0x583540[_0x4b2ae4(0x1b5)](_0x4b2ae4(0x216),()=>{const _0x47f51b=_0x4b2ae4;_0x126687()[_0x47f51b(0x1eb)](_0x465730)[_0x47f51b(0x1f7)](_0x591f25);});});}[_0x45dad4(0x208)](){const _0x3583c5=_0x45dad4;super[_0x3583c5(0x208)]();}async[_0x45dad4(0x1ff)](){const _0x2431f3=_0x45dad4;this[_0x2431f3(0x1aa)][_0x2431f3(0x1cc)]||await new Promise(_0x100eaf=>{const _0x2f3908=_0x2431f3;this[_0x2f3908(0x1c5)](this[_0x2f3908(0x1aa)],_0x2f3908(0x201),_0x1c39f3=>{const _0x17dc04=_0x2f3908;_0x1c39f3[_0x17dc04(0x1b7)](),_0x100eaf();});});}[_0x45dad4(0x210)](){const _0x452514=_0x45dad4,_0x245c52=this[_0x452514(0x1c1)][_0x452514(0x1c7)][_0x452514(0x21a)](_0x270e35)[_0x452514(0x206)][_0x452514(0x20a)]()[_0x452514(0x1e1)]();for(const _0x10d3dd of _0x245c52)if(_0x452514(0x1da)!==_0x10d3dd[_0x452514(0x1b8)]||_0x10d3dd[_0x452514(0x1c0)])return _0x10d3dd[_0x452514(0x20e)]+0x1;}[_0x45dad4(0x1f2)](){const _0x4757f4=_0x45dad4,_0x17e6bb=this[_0x4757f4(0x1c1)][_0x4757f4(0x1c7)][_0x4757f4(0x21a)](_0x270e35);return new Promise(_0x3d615b=>{const _0x209119=_0x4757f4;_0x17e6bb[_0x209119(0x1b0)]?_0x17e6bb[_0x209119(0x1b5)](_0x209119(0x1fd),()=>{const _0x1401cf=_0x209119;_0x3d615b(this[_0x1401cf(0x210)]());}):_0x3d615b(this[_0x209119(0x210)]());});}[_0x45dad4(0x20f)](_0x59e8b1,_0x57f0fe){const _0x138510=_0x45dad4,_0x32f2b6=this[_0x138510(0x1d2)][_0x138510(0x1dc)];this[_0x138510(0x205)]=_0x57f0fe;for(const _0x5ad938 of _0x59e8b1){const _0x57e59b=_0x32f2b6[_0x138510(0x1ef)](_0x5ad938['id']);if(_0x57e59b){if((_0x5ad938[_0x138510(0x20c)]||_0x5ad938[_0x138510(0x1d4)])&&(_0x5ad938[_0x138510(0x1ce)]=null),_0x57e59b===this[_0x138510(0x1d2)][_0x138510(0x1fb)]){const _0x366f9c=Math[_0x138510(0x1e8)](_0x57e59b[_0x138510(0x1d4)],_0x5ad938[_0x138510(0x1d4)]),_0x458a28=Math[_0x138510(0x1e8)](_0x57e59b[_0x138510(0x20c)],_0x5ad938[_0x138510(0x20c)]);let _0x23c9b2;_0x57e59b[_0x138510(0x1d4)]===_0x5ad938[_0x138510(0x1d4)]&&_0x57e59b[_0x138510(0x20c)]===_0x5ad938[_0x138510(0x20c)]?(_0x23c9b2=!0x0,this[_0x138510(0x1d6)](_0x5ad938)):_0x5ad938[_0x138510(0x1d4)]===_0x366f9c&&_0x5ad938[_0x138510(0x20c)]===_0x458a28?_0x23c9b2=!0x1:(_0x57e59b[_0x138510(0x1d4)]===_0x366f9c&&_0x57e59b[_0x138510(0x20c)]===_0x458a28||this[_0x138510(0x215)]({'revision':_0x57e59b,'from':_0x458a28,'to':_0x366f9c}),_0x23c9b2=!0x0),_0x23c9b2&&(delete _0x5ad938[_0x138510(0x20c)],delete _0x5ad938[_0x138510(0x1d4)],delete _0x5ad938[_0x138510(0x1ce)],delete _0x5ad938[_0x138510(0x1d8)],delete _0x5ad938[_0x138510(0x1ee)]);}this[_0x138510(0x1d2)][_0x138510(0x209)](_0x5ad938),this[_0x138510(0x1d6)](_0x5ad938);}else this[_0x138510(0x1d2)][_0x138510(0x1c9)](_0x5ad938);}const _0x3b65b1=_0x32f2b6[_0x138510(0x1d1)]();_0x3b65b1[_0x138510(0x1e1)]();for(let _0x4e4982=0x0;_0x4e4982<_0x3b65b1[_0x138510(0x1bd)]-0x1;_0x4e4982++){const _0x27d27b=_0x3b65b1[_0x4e4982],_0x14c963=_0x3b65b1[_0x4e4982+0x1];if(_0x27d27b[_0x138510(0x20c)]<_0x14c963[_0x138510(0x1d4)]){const _0x4acb6a=_0x14c963[_0x138510(0x1d4)],_0x131747=Math[_0x138510(0x1e8)](_0x4acb6a,_0x27d27b[_0x138510(0x1d4)]);this[_0x138510(0x215)]({'revision':_0x27d27b,'from':_0x4acb6a,'to':_0x131747});}}}[_0x45dad4(0x215)]({revision:_0x5ec991,from:_0x4e882f,to:_0x2aabc3}={}){const _0x1ddb97=_0x45dad4,_0x5c0a78=this[_0x1ddb97(0x1c1)][_0x1ddb97(0x1c7)][_0x1ddb97(0x21a)](_0x265600),_0x365eb2=this[_0x1ddb97(0x1d2)][_0x1ddb97(0x1ab)]({'revision':_0x5ec991,'from':_0x4e882f,'to':_0x2aabc3});_0x365eb2[_0x1ddb97(0x20b)]=_0x365eb2[_0x1ddb97(0x1ee)][_0x1ddb97(0x1fc)](_0x375912=>_0x5c0a78[_0x1ddb97(0x1f0)](_0x375912)),_0x5ec991[_0x1ddb97(0x1b4)](_0x365eb2);}[_0x45dad4(0x1d6)](_0x26fa2e){const _0x1c741b=_0x45dad4,_0x3f6dfb={};_0x3f6dfb['id']=_0x26fa2e['id'];for(const _0x3ca1bc of Object[_0x1c741b(0x217)](_0x26fa2e))'id'!==_0x3ca1bc&&(_0x3f6dfb[_0x3ca1bc]=void 0x0);this[_0x1c741b(0x1d2)][_0x1c741b(0x1e5)](_0x3f6dfb['id'],_0x3f6dfb,!0x0);}async[_0x45dad4(0x1f3)](_0x29710a){const _0x45f823=_0x45dad4,_0x29d74b=this[_0x45f823(0x1c1)][_0x45f823(0x1c7)][_0x45f823(0x21a)](_0x265600),{connection:_0x1cab2d}=this[_0x45f823(0x1c1)][_0x45f823(0x1c7)][_0x45f823(0x21a)](_0x211495),_0x25fb82=new Set();for(const _0x1eb812 of _0x29710a){for(const _0x5c66bb of _0x1eb812[_0x45f823(0x1ee)])_0x2fe263(_0x5c66bb);_0x1eb812[_0x45f823(0x20d)]&&_0x2fe263(_0x1eb812[_0x45f823(0x20d)]);}if(0x0===_0x25fb82[_0x45f823(0x211)])return;const _0x197992=await _0x3f9c01[_0x45f823(0x214)](_0x1cab2d,Array[_0x45f823(0x1bb)](_0x25fb82));for(const _0x56b873 of _0x197992)_0x29d74b[_0x45f823(0x1f0)](_0x56b873['id'])||_0x29d74b[_0x45f823(0x1dd)](_0x56b873);function _0x2fe263(_0x373926){const _0x1f3974=_0x45f823;_0x29d74b[_0x1f3974(0x1f0)](_0x373926)||_0x25fb82[_0x1f3974(0x1f8)](_0x373926);}}}function _0x3d87(_0x5a33ee,_0x2c6eca){const _0x3acb2e=_0x3acb();return _0x3d87=function(_0x3d8763,_0x1d1272){_0x3d8763=_0x3d8763-0x1a8;let _0x1c281b=_0x3acb2e[_0x3d8763];return _0x1c281b;},_0x3d87(_0x5a33ee,_0x2c6eca);}function st(_0x45e152){const _0x26b292=_0x45dad4;return _0x45e152[_0x26b292(0x1e3)][_0x26b292(0x1d3)](_0x26b292(0x200))||_0x45e152[_0x26b292(0x1e3)][_0x26b292(0x1d3)](_0x26b292(0x1cb))||_0x45e152[_0x26b292(0x1e3)][_0x26b292(0x1d3)](_0x26b292(0x202));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x16e70e=_0x10db;function _0x10db(_0xd18fce,_0x8ae89d){var _0x27892f=_0x2789();return _0x10db=function(_0x10dbae,_0x56cf27){_0x10dbae=_0x10dbae-0x1a2;var _0x16ff77=_0x27892f[_0x10dbae];return _0x16ff77;},_0x10db(_0xd18fce,_0x8ae89d);}(function(_0x57194c,_0x4da14c){var _0x5c01de=_0x10db,_0x1240c3=_0x57194c();while(!![]){try{var _0xbd7ca7=-parseInt(_0x5c01de(0x1a8))/0x1*(-parseInt(_0x5c01de(0x1b0))/0x2)+-parseInt(_0x5c01de(0x1a9))/0x3+-parseInt(_0x5c01de(0x1a4))/0x4*(parseInt(_0x5c01de(0x1b1))/0x5)+parseInt(_0x5c01de(0x1ac))/0x6+-parseInt(_0x5c01de(0x1a7))/0x7+parseInt(_0x5c01de(0x1aa))/0x8*(-parseInt(_0x5c01de(0x1a3))/0x9)+parseInt(_0x5c01de(0x1ad))/0xa;if(_0xbd7ca7===_0x4da14c)break;else _0x1240c3['push'](_0x1240c3['shift']());}catch(_0xed0791){_0x1240c3['push'](_0x1240c3['shift']());}}}(_0x2789,0xe0edb));import{Plugin as _0x205df0}from'ckeditor5/src/core.js';function _0x2789(){var _0x361be3=['isOfficialPlugin','9297190KphWsB','326422ogiANa','2947260PIxyRw','72UouPsa','RealTimeCollaborativeRevisionHistory','1594548NKgUtp','48923240OfcPqr','pluginName','RevisionHistory','4oOGWeP','115190DvJGBE','requires','1311939dEExPS','220POVPPV','isPremiumPlugin'];_0x2789=function(){return _0x361be3;};return _0x2789();}import{CloudServicesRevisionHistoryAdapter as _0x3138bd}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x3e9d22}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x205df0{static get[_0x16e70e(0x1a2)](){var _0x7307c7=_0x16e70e;return[_0x7307c7(0x1af),_0x3138bd,_0x3e9d22];}static get[_0x16e70e(0x1ae)](){var _0x5bb998=_0x16e70e;return _0x5bb998(0x1ab);}static get[_0x16e70e(0x1a6)](){return!0x0;}static get[_0x16e70e(0x1a5)](){return!0x0;}}
23
+ var _0xc19c7c=_0x37cd;(function(_0x33d377,_0x1b64f4){var _0x1cea91=_0x37cd,_0x18e3d3=_0x33d377();while(!![]){try{var _0x391350=-parseInt(_0x1cea91(0xe6))/0x1*(-parseInt(_0x1cea91(0xe8))/0x2)+-parseInt(_0x1cea91(0xeb))/0x3+parseInt(_0x1cea91(0xe4))/0x4*(-parseInt(_0x1cea91(0xe3))/0x5)+parseInt(_0x1cea91(0xe1))/0x6+parseInt(_0x1cea91(0xe0))/0x7*(parseInt(_0x1cea91(0xe2))/0x8)+parseInt(_0x1cea91(0xea))/0x9*(parseInt(_0x1cea91(0xef))/0xa)+-parseInt(_0x1cea91(0xe7))/0xb;if(_0x391350===_0x1b64f4)break;else _0x18e3d3['push'](_0x18e3d3['shift']());}catch(_0x2544bd){_0x18e3d3['push'](_0x18e3d3['shift']());}}}(_0x17d0,0xdc9b4));import{Plugin as _0x309490}from'ckeditor5/src/core.js';function _0x37cd(_0x1d734f,_0x1685f2){var _0x17d0f8=_0x17d0();return _0x37cd=function(_0x37cd20,_0x362a1c){_0x37cd20=_0x37cd20-0xe0;var _0xcb29e2=_0x17d0f8[_0x37cd20];return _0xcb29e2;},_0x37cd(_0x1d734f,_0x1685f2);}import{CloudServicesRevisionHistoryAdapter as _0x4061d8}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x17d0(){var _0x42c39c=['720YBffch','4363797dUPgwT','pluginName','RevisionHistory','RealTimeCollaborativeRevisionHistory','207550eeLoOq','isPremiumPlugin','11669FKKIIc','3375546IhFOLH','3216qcxBEa','1110eKVjda','2468jjrMaP','requires','2uzIaDk','20956232ZDuRVE','1507164rqUYOV','isOfficialPlugin'];_0x17d0=function(){return _0x42c39c;};return _0x17d0();}import{RealTimeCollaborativeEditing as _0x4fe0b9}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x309490{static get[_0xc19c7c(0xe5)](){var _0x563bb1=_0xc19c7c;return[_0x563bb1(0xed),_0x4061d8,_0x4fe0b9];}static get[_0xc19c7c(0xec)](){var _0x6baebd=_0xc19c7c;return _0x6baebd(0xee);}static get[_0xc19c7c(0xe9)](){return!0x0;}static get[_0xc19c7c(0xf0)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfdab95=_0x2bda;(function(_0x5d62f0,_0x231c9f){const _0x5b9175=_0x2bda,_0x132a45=_0x5d62f0();while(!![]){try{const _0xc1de90=-parseInt(_0x5b9175(0x111))/0x1+-parseInt(_0x5b9175(0xe8))/0x2*(-parseInt(_0x5b9175(0xfc))/0x3)+parseInt(_0x5b9175(0xd7))/0x4+-parseInt(_0x5b9175(0x104))/0x5*(-parseInt(_0x5b9175(0xf4))/0x6)+parseInt(_0x5b9175(0x107))/0x7*(parseInt(_0x5b9175(0xf8))/0x8)+-parseInt(_0x5b9175(0xf9))/0x9*(-parseInt(_0x5b9175(0xee))/0xa)+-parseInt(_0x5b9175(0xec))/0xb*(parseInt(_0x5b9175(0xe9))/0xc);if(_0xc1de90===_0x231c9f)break;else _0x132a45['push'](_0x132a45['shift']());}catch(_0x4bdf5b){_0x132a45['push'](_0x132a45['shift']());}}}(_0x1966,0x335fc));import{Plugin as _0x1d8626}from'ckeditor5/src/core.js';function _0x1966(){const _0x2fc8d4=['addSuggestionData','off','_fetchMissingUsersForThreads','startsWith','TrackChangesEditing','addUser','getUser','config','from','editor','collaboration.channelId','isPremiumPlugin','CloudServicesTrackChangesAdapter','2GCRHlP','3998508uIpCYB','_waitForServiceReady','_trackChangesService','22ySQpUT','state','100vraTsp','catch','addToReconnectionStack','plugins','suggestionUpdated','then','6JEfjaY','isOfficialPlugin','listenTo','set','3062184ZdYUOC','4680UmnAWd','message','reconnect','1027155aXGvZD','getMany','TrackChangesService','getSuggestion','update','type','cloud-services-internal-error:\x20Not\x20connected.','data','672720hHswpH','add','values','7XeHIUL','connection','find','connect','cloud-services-internal-error:\x20Request\x20timeout.','attributes','get','_saved','requires','adapter','185526TeiiMo','hasSuggestion','init','_bufferedRequests','originalSuggestionId','size','open','pluginName','789880obVjOr','isConnected','connected','delete'];_0x1966=function(){return _0x2fc8d4;};return _0x1966();}import{User as _0x3e0604,TrackChangesService as _0x428375}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x388ff2}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x559808}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3c0b7e}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x1d8626{static [_0xfdab95(0xfe)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x428375)());[_0xfdab95(0x114)];[_0xfdab95(0xeb)];static get[_0xfdab95(0x10f)](){const _0x199f49=_0xfdab95;return[_0x559808,_0x199f49(0xdf),_0x388ff2];}static get[_0xfdab95(0x118)](){const _0x132a63=_0xfdab95;return _0x132a63(0xe7);}static get[_0xfdab95(0xf5)](){return!0x0;}static get[_0xfdab95(0xe6)](){return!0x0;}constructor(_0x593203){const _0x354c01=_0xfdab95;super(_0x593203);const _0x7af738=this[_0x354c01(0xe4)][_0x354c01(0xe2)][_0x354c01(0x10d)](_0x354c01(0xe5));this[_0x354c01(0x114)]=new Map(),this[_0x354c01(0xeb)]=new CloudServicesTrackChangesAdapter[(_0x354c01(0xfe))](_0x7af738);}[_0xfdab95(0x113)](){const _0x51c922=_0xfdab95,_0x5c370f=this[_0x51c922(0xe4)][_0x51c922(0xf1)][_0x51c922(0x10d)](_0x388ff2),_0x58ff90=this[_0x51c922(0xe4)][_0x51c922(0xf1)][_0x51c922(0x10d)](_0x51c922(0xdf));return _0x58ff90[_0x51c922(0x110)]={'getSuggestion':async _0x241c41=>{const _0x2f0327=_0x51c922;await this[_0x2f0327(0xea)]();const _0x404650=await this[_0x2f0327(0xeb)][_0x2f0327(0x10d)](_0x241c41)[_0x2f0327(0xef)](A);return await this[_0x2f0327(0xdd)]([_0x404650]),_0x404650;},'addSuggestion':async({id:_0x497843,type:_0x4c2202,data:_0x18596a,originalSuggestionId:_0x2228bd,attributes:_0x493d0e})=>{const _0x2f521d=_0x51c922;await this[_0x2f521d(0xea)]();const _0x1b78c5={'id':_0x497843,'type':_0x4c2202,'data':_0x18596a,'originalSuggestionId':_0x2228bd,'attributes':_0x493d0e},_0x4c70d2=await this[_0x2f521d(0xeb)][_0x2f521d(0x105)](_0x497843,_0x4c2202,_0x18596a,_0x2228bd,_0x493d0e)[_0x2f521d(0xef)](_0x5da756=>{if(b(_0x5da756))return new Promise(_0xa0207a=>{const _0x69a479=_0x2bda;this[_0x69a479(0x114)][_0x69a479(0xf7)](_0x497843,{'resolve':_0xa0207a,'suggestionData':_0x1b78c5});});throw _0x5da756;});return this[_0x2f521d(0x114)][_0x2f521d(0xda)](_0x497843),_0x4c70d2;},'updateSuggestion':async(_0x338327,_0x3e3f4d)=>{const _0xf671cf=_0x51c922;if(await this[_0xf671cf(0xea)](),_0xf671cf(0x117)!==_0x3e3f4d[_0xf671cf(0xed)])return this[_0xf671cf(0xeb)][_0xf671cf(0x100)](_0x338327,_0x3e3f4d)[_0xf671cf(0xef)](A);}},this[_0x51c922(0xf6)](this[_0x51c922(0xeb)],_0x51c922(0xf2),(_0x30e6e9,_0x135563)=>{const _0x320ef0=_0x51c922;_0x58ff90[_0x320ef0(0x112)](_0x135563['id'])&&(_0x58ff90[_0x320ef0(0xff)](_0x135563['id'])[_0x320ef0(0x10c)]=_0x135563[_0x320ef0(0x10c)]);}),this[_0x51c922(0xeb)][_0x51c922(0x10a)](_0x5c370f[_0x51c922(0x108)])[_0x51c922(0xf3)](_0x1ecd8f=>(_0x5c370f[_0x51c922(0xf0)](this),this[_0x51c922(0xdd)](_0x1ecd8f)[_0x51c922(0xf3)](()=>{const _0x241f2f=_0x51c922;for(const _0x4debff of _0x1ecd8f){_0x58ff90[_0x241f2f(0xdb)](_0x4debff)[_0x241f2f(0x10e)]=!0x0;}})));}async[_0xfdab95(0xfb)](){const _0x4a9098=_0xfdab95,_0x3f7be4=this[_0x4a9098(0xe4)][_0x4a9098(0xf1)][_0x4a9098(0x10d)](_0x4a9098(0xdf)),{connection:_0xdab5a1}=this[_0x4a9098(0xe4)][_0x4a9098(0xf1)][_0x4a9098(0x10d)](_0x388ff2),_0x36f0bf=await this[_0x4a9098(0xeb)][_0x4a9098(0x10a)](_0xdab5a1);await this[_0x4a9098(0xdd)](_0x36f0bf);for(const {suggestionData:_0x249e8f,resolve:_0x158395}of this[_0x4a9098(0x114)][_0x4a9098(0x106)]()){let _0xf30379=_0x36f0bf[_0x4a9098(0x109)](_0x200b61=>_0x200b61['id']===_0x249e8f['id']);_0xf30379||(_0xf30379=await this[_0x4a9098(0xeb)][_0x4a9098(0x105)](_0x249e8f['id'],_0x249e8f[_0x4a9098(0x101)],_0x249e8f[_0x4a9098(0x103)],_0x249e8f[_0x4a9098(0x115)])),_0x158395(_0xf30379);}for(const _0x11bc53 of _0x36f0bf)_0x3f7be4[_0x4a9098(0x112)](_0x11bc53['id'])||_0x3f7be4[_0x4a9098(0xdb)](_0x11bc53);}async[_0xfdab95(0xea)](){const _0x4ca87f=_0xfdab95;this[_0x4ca87f(0xeb)][_0x4ca87f(0xd8)]||await new Promise(_0x58303d=>{const _0x2455df=_0x4ca87f;this[_0x2455df(0xf6)](this[_0x2455df(0xeb)],_0x2455df(0xd9),_0xfac89f=>{const _0x31ec49=_0x2455df;_0xfac89f[_0x31ec49(0xdc)](),_0x58303d();});});}async[_0xfdab95(0xdd)](_0xe3e131){const _0x28495c=_0xfdab95,_0x4b3ed5=this[_0x28495c(0xe4)][_0x28495c(0xf1)][_0x28495c(0x10d)](_0x3c0b7e),{connection:_0x365f00}=this[_0x28495c(0xe4)][_0x28495c(0xf1)][_0x28495c(0x10d)](_0x388ff2),_0x406e71=new Set();for(const {authorId:_0x44a76a}of _0xe3e131)_0x4b3ed5[_0x28495c(0xe1)](_0x44a76a)||_0x406e71[_0x28495c(0x105)](_0x44a76a);if(0x0===_0x406e71[_0x28495c(0x116)])return;const _0x30c3c8=await _0x3e0604[_0x28495c(0xfd)](_0x365f00,Array[_0x28495c(0xe3)](_0x406e71));for(const _0x16aa97 of _0x30c3c8)_0x4b3ed5[_0x28495c(0xe1)](_0x16aa97['id'])||_0x4b3ed5[_0x28495c(0xe0)](_0x16aa97);}}function _0x2bda(_0x519f51,_0x28cf9){const _0x1966fc=_0x1966();return _0x2bda=function(_0x2bda61,_0x1e3ed3){_0x2bda61=_0x2bda61-0xd7;let _0x3a4299=_0x1966fc[_0x2bda61];return _0x3a4299;},_0x2bda(_0x519f51,_0x28cf9);}function A(_0x43fb4f){if(b(_0x43fb4f))return new Promise(()=>{});throw _0x43fb4f;}function b(_0x4b16e8){const _0x46cabd=_0xfdab95;return _0x4b16e8[_0x46cabd(0xfa)][_0x46cabd(0xde)](_0x46cabd(0x102))||_0x4b16e8[_0x46cabd(0xfa)][_0x46cabd(0xde)](_0x46cabd(0x10b));}
23
+ const _0x188b46=_0x2784;(function(_0x174cf1,_0x27ec91){const _0x4e194b=_0x2784,_0x75f351=_0x174cf1();while(!![]){try{const _0x15fd58=-parseInt(_0x4e194b(0x1ae))/0x1*(parseInt(_0x4e194b(0x1ce))/0x2)+-parseInt(_0x4e194b(0x1be))/0x3*(parseInt(_0x4e194b(0x1a2))/0x4)+-parseInt(_0x4e194b(0x1bf))/0x5+parseInt(_0x4e194b(0x1b8))/0x6*(parseInt(_0x4e194b(0x1b1))/0x7)+parseInt(_0x4e194b(0x1c5))/0x8+-parseInt(_0x4e194b(0x1c3))/0x9+parseInt(_0x4e194b(0x1c7))/0xa;if(_0x15fd58===_0x27ec91)break;else _0x75f351['push'](_0x75f351['shift']());}catch(_0x136bfa){_0x75f351['push'](_0x75f351['shift']());}}}(_0x4c4d,0x4a0e5));function _0x4c4d(){const _0x2776c1=['isPremiumPlugin','add','CloudServicesTrackChangesAdapter','1856VYhHjm','type','size','open','connected','connect','off','pluginName','requires','plugins','addSuggestionData','startsWith','hasSuggestion','cloud-services-internal-error:\x20Request\x20timeout.','getSuggestion','message','config','_saved','isOfficialPlugin','attributes','2148IaSrfD','addToReconnectionStack','connection','_fetchMissingUsersForThreads','get','then','suggestionUpdated','collaboration.channelId','TrackChangesService','find','update','from','149UAAboR','catch','values','273uozBnc','init','reconnect','listenTo','getMany','state','originalSuggestionId','22602ASbcpX','isConnected','data','_trackChangesService','editor','delete','204YxjpIQ','2530835GfsPTK','cloud-services-internal-error:\x20Not\x20connected.','getUser','TrackChangesEditing','4786929ixAEGJ','addUser','4378752FxvUQI','adapter','8219120zYsfNO','_bufferedRequests','set','_waitForServiceReady'];_0x4c4d=function(){return _0x2776c1;};return _0x4c4d();}import{Plugin as _0x3aacbe}from'ckeditor5/src/core.js';import{User as _0x17123a,TrackChangesService as _0x18a70d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x465b36}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2432f1}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x148f14}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2784(_0x1fda4f,_0x2fcd75){const _0x4c4d63=_0x4c4d();return _0x2784=function(_0x27846d,_0x443486){_0x27846d=_0x27846d-0x19d;let _0x470a05=_0x4c4d63[_0x27846d];return _0x470a05;},_0x2784(_0x1fda4f,_0x2fcd75);}export class CloudServicesTrackChangesAdapter extends _0x3aacbe{static [_0x188b46(0x1aa)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x18a70d)());[_0x188b46(0x1c8)];[_0x188b46(0x1bb)];static get[_0x188b46(0x1d6)](){const _0x73b48b=_0x188b46;return[_0x2432f1,_0x73b48b(0x1c2),_0x465b36];}static get[_0x188b46(0x1d5)](){const _0x228f0d=_0x188b46;return _0x228f0d(0x1cd);}static get[_0x188b46(0x1a0)](){return!0x0;}static get[_0x188b46(0x1cb)](){return!0x0;}constructor(_0x55587a){const _0x75a106=_0x188b46;super(_0x55587a);const _0x2b163d=this[_0x75a106(0x1bc)][_0x75a106(0x19e)][_0x75a106(0x1a6)](_0x75a106(0x1a9));this[_0x75a106(0x1c8)]=new Map(),this[_0x75a106(0x1bb)]=new CloudServicesTrackChangesAdapter[(_0x75a106(0x1aa))](_0x2b163d);}[_0x188b46(0x1b2)](){const _0x5acd34=_0x188b46,_0x2d4f55=this[_0x5acd34(0x1bc)][_0x5acd34(0x1d7)][_0x5acd34(0x1a6)](_0x465b36),_0x5d0ecd=this[_0x5acd34(0x1bc)][_0x5acd34(0x1d7)][_0x5acd34(0x1a6)](_0x5acd34(0x1c2));return _0x5d0ecd[_0x5acd34(0x1c6)]={'getSuggestion':async _0x7a0a22=>{const _0x446359=_0x5acd34;await this[_0x446359(0x1ca)]();const _0x584604=await this[_0x446359(0x1bb)][_0x446359(0x1a6)](_0x7a0a22)[_0x446359(0x1af)](k);return await this[_0x446359(0x1a5)]([_0x584604]),_0x584604;},'addSuggestion':async({id:_0x21061c,type:_0xf7ccce,data:_0x2dc6dc,originalSuggestionId:_0x165691,attributes:_0x17eb2d})=>{const _0x22359d=_0x5acd34;await this[_0x22359d(0x1ca)]();const _0x5d7894={'id':_0x21061c,'type':_0xf7ccce,'data':_0x2dc6dc,'originalSuggestionId':_0x165691,'attributes':_0x17eb2d},_0x5af7dc=await this[_0x22359d(0x1bb)][_0x22359d(0x1cc)](_0x21061c,_0xf7ccce,_0x2dc6dc,_0x165691,_0x17eb2d)[_0x22359d(0x1af)](_0x2452b9=>{if(st(_0x2452b9))return new Promise(_0x2456df=>{const _0x1de819=_0x2784;this[_0x1de819(0x1c8)][_0x1de819(0x1c9)](_0x21061c,{'resolve':_0x2456df,'suggestionData':_0x5d7894});});throw _0x2452b9;});return this[_0x22359d(0x1c8)][_0x22359d(0x1bd)](_0x21061c),_0x5af7dc;},'updateSuggestion':async(_0x59ec61,_0x383725)=>{const _0x5ed0c0=_0x5acd34;if(await this[_0x5ed0c0(0x1ca)](),_0x5ed0c0(0x1d1)!==_0x383725[_0x5ed0c0(0x1b6)])return this[_0x5ed0c0(0x1bb)][_0x5ed0c0(0x1ac)](_0x59ec61,_0x383725)[_0x5ed0c0(0x1af)](k);}},this[_0x5acd34(0x1b4)](this[_0x5acd34(0x1bb)],_0x5acd34(0x1a8),(_0x3e7e96,_0x56fe87)=>{const _0x59763a=_0x5acd34;_0x5d0ecd[_0x59763a(0x1da)](_0x56fe87['id'])&&(_0x5d0ecd[_0x59763a(0x1dc)](_0x56fe87['id'])[_0x59763a(0x1a1)]=_0x56fe87[_0x59763a(0x1a1)]);}),this[_0x5acd34(0x1bb)][_0x5acd34(0x1d3)](_0x2d4f55[_0x5acd34(0x1a4)])[_0x5acd34(0x1a7)](_0x50c5b8=>(_0x2d4f55[_0x5acd34(0x1a3)](this),this[_0x5acd34(0x1a5)](_0x50c5b8)[_0x5acd34(0x1a7)](()=>{const _0x80d6fb=_0x5acd34;for(const _0x4c01ec of _0x50c5b8){_0x5d0ecd[_0x80d6fb(0x1d8)](_0x4c01ec)[_0x80d6fb(0x19f)]=!0x0;}})));}async[_0x188b46(0x1b3)](){const _0x30cdf8=_0x188b46,_0x5d4266=this[_0x30cdf8(0x1bc)][_0x30cdf8(0x1d7)][_0x30cdf8(0x1a6)](_0x30cdf8(0x1c2)),{connection:_0x39607d}=this[_0x30cdf8(0x1bc)][_0x30cdf8(0x1d7)][_0x30cdf8(0x1a6)](_0x465b36),_0x3fadba=await this[_0x30cdf8(0x1bb)][_0x30cdf8(0x1d3)](_0x39607d);await this[_0x30cdf8(0x1a5)](_0x3fadba);for(const {suggestionData:_0x50c069,resolve:_0x41f5e0}of this[_0x30cdf8(0x1c8)][_0x30cdf8(0x1b0)]()){let _0x13ad40=_0x3fadba[_0x30cdf8(0x1ab)](_0xa93662=>_0xa93662['id']===_0x50c069['id']);_0x13ad40||(_0x13ad40=await this[_0x30cdf8(0x1bb)][_0x30cdf8(0x1cc)](_0x50c069['id'],_0x50c069[_0x30cdf8(0x1cf)],_0x50c069[_0x30cdf8(0x1ba)],_0x50c069[_0x30cdf8(0x1b7)])),_0x41f5e0(_0x13ad40);}for(const _0x3d3434 of _0x3fadba)_0x5d4266[_0x30cdf8(0x1da)](_0x3d3434['id'])||_0x5d4266[_0x30cdf8(0x1d8)](_0x3d3434);}async[_0x188b46(0x1ca)](){const _0x2d7cbd=_0x188b46;this[_0x2d7cbd(0x1bb)][_0x2d7cbd(0x1b9)]||await new Promise(_0x2969f8=>{const _0xfa6def=_0x2d7cbd;this[_0xfa6def(0x1b4)](this[_0xfa6def(0x1bb)],_0xfa6def(0x1d2),_0x3c27a1=>{const _0x1ba0af=_0xfa6def;_0x3c27a1[_0x1ba0af(0x1d4)](),_0x2969f8();});});}async[_0x188b46(0x1a5)](_0xd17f34){const _0x4b12e2=_0x188b46,_0x58ec9b=this[_0x4b12e2(0x1bc)][_0x4b12e2(0x1d7)][_0x4b12e2(0x1a6)](_0x148f14),{connection:_0x54f59f}=this[_0x4b12e2(0x1bc)][_0x4b12e2(0x1d7)][_0x4b12e2(0x1a6)](_0x465b36),_0x28ec12=new Set();for(const {authorId:_0x1dc88c}of _0xd17f34)_0x58ec9b[_0x4b12e2(0x1c1)](_0x1dc88c)||_0x28ec12[_0x4b12e2(0x1cc)](_0x1dc88c);if(0x0===_0x28ec12[_0x4b12e2(0x1d0)])return;const _0x1a964d=await _0x17123a[_0x4b12e2(0x1b5)](_0x54f59f,Array[_0x4b12e2(0x1ad)](_0x28ec12));for(const _0x27815b of _0x1a964d)_0x58ec9b[_0x4b12e2(0x1c1)](_0x27815b['id'])||_0x58ec9b[_0x4b12e2(0x1c4)](_0x27815b);}}function k(_0x1acee6){if(st(_0x1acee6))return new Promise(()=>{});throw _0x1acee6;}function st(_0x2e2964){const _0x55b924=_0x188b46;return _0x2e2964[_0x55b924(0x19d)][_0x55b924(0x1d9)](_0x55b924(0x1c0))||_0x2e2964[_0x55b924(0x19d)][_0x55b924(0x1d9)](_0x55b924(0x1db));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d1ac7=_0x16cb;function _0x16cb(_0x34bdad,_0x30e4a3){var _0x485dd9=_0x485d();return _0x16cb=function(_0x16cbe2,_0x13ff85){_0x16cbe2=_0x16cbe2-0x90;var _0x20e6f3=_0x485dd9[_0x16cbe2];return _0x20e6f3;},_0x16cb(_0x34bdad,_0x30e4a3);}(function(_0x4ee746,_0x336f52){var _0x458c04=_0x16cb,_0x5dbff5=_0x4ee746();while(!![]){try{var _0x35f5ce=parseInt(_0x458c04(0x99))/0x1*(-parseInt(_0x458c04(0x92))/0x2)+parseInt(_0x458c04(0xa0))/0x3*(-parseInt(_0x458c04(0x9a))/0x4)+-parseInt(_0x458c04(0x9f))/0x5+-parseInt(_0x458c04(0x9d))/0x6+-parseInt(_0x458c04(0x93))/0x7*(parseInt(_0x458c04(0x9e))/0x8)+parseInt(_0x458c04(0x91))/0x9*(parseInt(_0x458c04(0x94))/0xa)+parseInt(_0x458c04(0x98))/0xb;if(_0x35f5ce===_0x336f52)break;else _0x5dbff5['push'](_0x5dbff5['shift']());}catch(_0x307805){_0x5dbff5['push'](_0x5dbff5['shift']());}}}(_0x485d,0x926d0));import{Plugin as _0x2b4e1c}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3f5abf}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x452167}from'./realtimecollaborativecomments.js';function _0x485d(){var _0x414e8c=['8737190DtYOYD','TrackChanges','RealTimeCollaborativeTrackChanges','isPremiumPlugin','34688841MmJVFY','68HjinEc','44Cbbojb','requires','pluginName','6145566iXDLiS','5272Tfkczl','1736360JKymLm','227634YksKsY','isOfficialPlugin','9nIAelo','30164RJPbdl','2079pFRwEX'];_0x485d=function(){return _0x414e8c;};return _0x485d();}export class RealTimeCollaborativeTrackChanges extends _0x2b4e1c{static get[_0x1d1ac7(0x9b)](){var _0x3946ef=_0x1d1ac7;return[_0x452167,_0x3f5abf,_0x3946ef(0x95)];}static get[_0x1d1ac7(0x9c)](){var _0x5dc867=_0x1d1ac7;return _0x5dc867(0x96);}static get[_0x1d1ac7(0x90)](){return!0x0;}static get[_0x1d1ac7(0x97)](){return!0x0;}}
23
+ function _0x30b9(){var _0x459bed=['91662apOCrx','pluginName','requires','3796692dMuZwJ','2995974qfqLFr','TrackChanges','2477960DaorKZ','2500982qXbkov','isPremiumPlugin','80SWSWiq','isOfficialPlugin','5267908OxuRMu','RealTimeCollaborativeTrackChanges','28hALDFC','38ReivMF','11803923xsvTPA','10yxkFIh'];_0x30b9=function(){return _0x459bed;};return _0x30b9();}var _0x574c12=_0x3b8b;(function(_0x5bd0fc,_0x60176b){var _0x5e14fa=_0x3b8b,_0x530ad3=_0x5bd0fc();while(!![]){try{var _0x19b075=parseInt(_0x5e14fa(0x16a))/0x1*(parseInt(_0x5e14fa(0x167))/0x2)+parseInt(_0x5e14fa(0x16e))/0x3+parseInt(_0x5e14fa(0x175))/0x4+parseInt(_0x5e14fa(0x169))/0x5*(-parseInt(_0x5e14fa(0x16d))/0x6)+-parseInt(_0x5e14fa(0x166))/0x7*(-parseInt(_0x5e14fa(0x170))/0x8)+-parseInt(_0x5e14fa(0x168))/0x9+parseInt(_0x5e14fa(0x173))/0xa*(-parseInt(_0x5e14fa(0x171))/0xb);if(_0x19b075===_0x60176b)break;else _0x530ad3['push'](_0x530ad3['shift']());}catch(_0x3ef804){_0x530ad3['push'](_0x530ad3['shift']());}}}(_0x30b9,0xdbc5a));import{Plugin as _0x39b0f8}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x56e48b}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x360f49}from'./realtimecollaborativecomments.js';function _0x3b8b(_0x1ce1a9,_0x20bc87){var _0x30b951=_0x30b9();return _0x3b8b=function(_0x3b8bdb,_0x1c495f){_0x3b8bdb=_0x3b8bdb-0x165;var _0xca1955=_0x30b951[_0x3b8bdb];return _0xca1955;},_0x3b8b(_0x1ce1a9,_0x20bc87);}export class RealTimeCollaborativeTrackChanges extends _0x39b0f8{static get[_0x574c12(0x16c)](){var _0x2c7f22=_0x574c12;return[_0x360f49,_0x56e48b,_0x2c7f22(0x16f)];}static get[_0x574c12(0x16b)](){var _0x3428a4=_0x574c12;return _0x3428a4(0x165);}static get[_0x574c12(0x174)](){return!0x0;}static get[_0x574c12(0x172)](){return!0x0;}}