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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x121579=_0x3932;(function(_0x36cab8,_0x220355){const _0x24dd1a=_0x3932,_0x39eb12=_0x36cab8();while(!![]){try{const _0x2b36b6=parseInt(_0x24dd1a(0x151))/0x1*(parseInt(_0x24dd1a(0x146))/0x2)+parseInt(_0x24dd1a(0x15a))/0x3*(-parseInt(_0x24dd1a(0x127))/0x4)+parseInt(_0x24dd1a(0x139))/0x5*(-parseInt(_0x24dd1a(0x13a))/0x6)+-parseInt(_0x24dd1a(0x116))/0x7*(parseInt(_0x24dd1a(0x155))/0x8)+parseInt(_0x24dd1a(0x129))/0x9*(-parseInt(_0x24dd1a(0x125))/0xa)+parseInt(_0x24dd1a(0x117))/0xb*(-parseInt(_0x24dd1a(0x13f))/0xc)+parseInt(_0x24dd1a(0x159))/0xd;if(_0x2b36b6===_0x220355)break;else _0x39eb12['push'](_0x39eb12['shift']());}catch(_0x4714cb){_0x39eb12['push'](_0x39eb12['shift']());}}}(_0x5ad6,0xb64c7));import{ContextPlugin as _0x23bc73}from'ckeditor5/src/core.js';function _0x3932(_0x5dc816,_0x1430b9){const _0x5ad6d5=_0x5ad6();return _0x3932=function(_0x393220,_0xc7b724){_0x393220=_0x393220-0x112;let _0x9a06e6=_0x5ad6d5[_0x393220];return _0x9a06e6;},_0x3932(_0x5dc816,_0x1430b9);}import{DomEmitterMixin as _0x5cb8e7,CKEditorError as _0x2b5ca5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x29c705,WEB_SOCKET_GATEWAY_STATES as _0x2b4065}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2a45d6}from'ckeditor5/src/ui.js';function _0x5ad6(){const _0x398314=['listenTo','CONNECTED','connection','_reconnectionStack','removeFromReconnectionStack','CONNECTING','offline','266eTbFog','11cfzCpK','online','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.','set','websocketgateway-missing-websocket-url','isPremiumPlugin','Connected\x20users\x20limit\x20exceeded','change:me','cloudServices.connectionTimeout','connect','WebSocketGateway','_shouldPluginsReconnect','bind','isInReconnectionStack','10pvmvuc','add','4564072Busrzt','has','12959442mVRplY','from','context','_reconnect','pluginName','function','limitExceeded','delete','cloudservices-reconnection-error','state','catch','websocketgateway-plugin-already-registered','_isBrowserOffline','real-time-collaboration','stopListening','destroy','3422415WJdawM','12PtGvEE','_domEmitter','CloudServices','showWarning','config','1483668hWrtyA','define','DISCONNECTED','code','connected','webSocketUrl','websocketgateway-invalid-plugin-interface','2IfouQi','disconnect','isOfficialPlugin','all','addToReconnectionStack','get','websocketgateway-missing-token','then','reconnect','token','cloudservices-init','1095287ISRFFH','constructor','requires','init','102064ggKVqA','error','plugins','initialReconnectionInterval','54727049CWOhka','3WQIRqU','cloudServices.requestTimeout'];_0x5ad6=function(){return _0x398314;};return _0x5ad6();}export class WebSocketGateway extends _0x23bc73{static [_0x121579(0x121)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x29c705)());static [_0x121579(0x158)]=0x3e8;[_0x121579(0x15e)];[_0x121579(0x112)];[_0x121579(0x122)];[_0x121579(0x13b)];static get[_0x121579(0x153)](){const _0x252549=_0x121579;return[_0x252549(0x13c),_0x2a45d6];}static get[_0x121579(0x12d)](){const _0x2e31ad=_0x121579;return _0x2e31ad(0x121);}static get[_0x121579(0x148)](){return!0x0;}static get[_0x121579(0x11c)](){return!0x0;}constructor(_0x5ab8a2){const _0x10224b=_0x121579;super(_0x5ab8a2),this[_0x10224b(0x11a)](_0x10224b(0x132),_0x2b4065[_0x10224b(0x15d)]),this[_0x10224b(0x11a)](_0x10224b(0x135),!0x1),this[_0x10224b(0x112)]=new Set(),this[_0x10224b(0x122)]=!0x1,this[_0x10224b(0x13b)]=new(_0x5cb8e7())();}[_0x121579(0x154)](){const _0x4ec4ab=_0x121579,_0x40619f=this[_0x4ec4ab(0x12b)],_0x55ae35=_0x40619f[_0x4ec4ab(0x157)][_0x4ec4ab(0x14b)](_0x4ec4ab(0x13c)),_0x3bf76f=_0x40619f[_0x4ec4ab(0x157)][_0x4ec4ab(0x14b)](_0x2a45d6);if(!_0x55ae35[_0x4ec4ab(0x14f)])throw new _0x2b5ca5(_0x4ec4ab(0x14c),this);if(!_0x55ae35[_0x4ec4ab(0x144)])throw new _0x2b5ca5(_0x4ec4ab(0x11b),this);return this[_0x4ec4ab(0x13b)][_0x4ec4ab(0x15c)](window,_0x4ec4ab(0x115),()=>this[_0x4ec4ab(0x135)]=!0x0),this[_0x4ec4ab(0x13b)][_0x4ec4ab(0x15c)](window,_0x4ec4ab(0x118),()=>this[_0x4ec4ab(0x135)]=!0x1),this[_0x4ec4ab(0x12b)][_0x4ec4ab(0x13e)][_0x4ec4ab(0x140)](_0x4ec4ab(0x11f),0xa),this[_0x4ec4ab(0x12b)][_0x4ec4ab(0x13e)][_0x4ec4ab(0x140)](_0x4ec4ab(0x15b),0x14),WebSocketGateway[_0x4ec4ab(0x121)][_0x4ec4ab(0x120)](_0x55ae35[_0x4ec4ab(0x14f)],_0x55ae35[_0x4ec4ab(0x144)],{'timeout':0x3e8*this[_0x4ec4ab(0x12b)][_0x4ec4ab(0x13e)][_0x4ec4ab(0x14b)](_0x4ec4ab(0x11f)),'requestTimeout':0x3e8*this[_0x4ec4ab(0x12b)][_0x4ec4ab(0x13e)][_0x4ec4ab(0x14b)](_0x4ec4ab(0x15b))})[_0x4ec4ab(0x14d)](_0x28df52=>{const _0x3672ac=_0x4ec4ab;if(this[_0x3672ac(0x15e)]=_0x28df52,this[_0x3672ac(0x123)](_0x3672ac(0x132))['to'](_0x28df52,_0x3672ac(0x132),this,_0x3672ac(0x135),(_0x586f40,_0x637a61)=>(_0x3672ac(0x143)!==_0x586f40&&(this[_0x3672ac(0x122)]=!0x0),_0x637a61||_0x586f40!==_0x2b4065[_0x3672ac(0x15d)]?_0x2b4065[_0x3672ac(0x141)]:this[_0x3672ac(0x132)]==_0x2b4065[_0x3672ac(0x141)]&&this[_0x3672ac(0x122)]?(this[_0x3672ac(0x122)]=!0x1,this[_0x3672ac(0x12c)](),_0x2b4065[_0x3672ac(0x114)]):_0x2b4065[_0x3672ac(0x15d)])),this[_0x3672ac(0x15e)]['on'](_0x3672ac(0x156),(_0x57a9b1,_0x5708fc)=>{const _0x3cb0d5=_0x3672ac;if(_0x3cb0d5(0x12f)!==_0x5708fc[_0x3cb0d5(0x142)])throw console[_0x3cb0d5(0x156)](_0x5708fc),new _0x2b5ca5(_0x3cb0d5(0x150),null,{'originalError':_0x5708fc});_0x3bf76f[_0x3cb0d5(0x13d)](_0x3cb0d5(0x119),{'title':_0x3cb0d5(0x11d),'namespace':_0x3cb0d5(0x136)});}),!_0x28df52['me'])return new Promise(_0x597b97=>_0x28df52['on'](_0x3672ac(0x11e),_0x597b97));})[_0x4ec4ab(0x133)](_0x1f924f=>{const _0x1a44cf=_0x4ec4ab;throw console[_0x1a44cf(0x156)](_0x1f924f),new _0x2b5ca5(_0x1a44cf(0x150),null,{'originalError':_0x1f924f});});}[_0x121579(0x14a)](_0x46403e){const _0x121262=_0x121579;if(_0x121262(0x12e)!=typeof _0x46403e[_0x121262(0x14e)])throw new _0x2b5ca5(_0x121262(0x145),this);if(this[_0x121262(0x124)](_0x46403e))throw new _0x2b5ca5(_0x121262(0x134),this,{'name':_0x46403e[_0x121262(0x152)][_0x121262(0x12d)]});this[_0x121262(0x112)][_0x121262(0x126)](_0x46403e);}[_0x121579(0x113)](_0x3bc0c4){const _0x597474=_0x121579;this[_0x597474(0x112)][_0x597474(0x130)](_0x3bc0c4);}[_0x121579(0x124)](_0x3d684e){const _0x2259fe=_0x121579;return this[_0x2259fe(0x112)][_0x2259fe(0x128)](_0x3d684e);}[_0x121579(0x12c)](){const _0x4ebbcc=_0x121579;return this[_0x4ebbcc(0x15e)][_0x4ebbcc(0x14e)]()[_0x4ebbcc(0x14d)](()=>Promise[_0x4ebbcc(0x149)](Array[_0x4ebbcc(0x12a)](this[_0x4ebbcc(0x112)],_0x1ec5ef=>_0x1ec5ef[_0x4ebbcc(0x14e)]())))[_0x4ebbcc(0x14d)](()=>this[_0x4ebbcc(0x132)]=_0x2b4065[_0x4ebbcc(0x15d)])[_0x4ebbcc(0x133)](_0x2f11e6=>{const _0x5e0c03=_0x4ebbcc;throw console[_0x5e0c03(0x156)](_0x2f11e6),new _0x2b5ca5(_0x5e0c03(0x131),this[_0x5e0c03(0x12b)]);});}[_0x121579(0x147)](){const _0x2ef40b=_0x121579;this[_0x2ef40b(0x15e)]&&this[_0x2ef40b(0x15e)][_0x2ef40b(0x147)](),this[_0x2ef40b(0x132)]=_0x2b4065[_0x2ef40b(0x141)],this[_0x2ef40b(0x13b)][_0x2ef40b(0x137)]();}[_0x121579(0x138)](){const _0x5194f4=_0x121579;this[_0x5194f4(0x147)](),super[_0x5194f4(0x138)]();}}
23
+ const _0x30248d=_0x4c5c;(function(_0x1ad42f,_0x1c4d09){const _0x2327ca=_0x4c5c,_0x248b9a=_0x1ad42f();while(!![]){try{const _0x2db3aa=parseInt(_0x2327ca(0x143))/0x1+parseInt(_0x2327ca(0x164))/0x2+-parseInt(_0x2327ca(0x140))/0x3+parseInt(_0x2327ca(0x17e))/0x4+parseInt(_0x2327ca(0x16a))/0x5*(parseInt(_0x2327ca(0x153))/0x6)+parseInt(_0x2327ca(0x174))/0x7*(parseInt(_0x2327ca(0x161))/0x8)+parseInt(_0x2327ca(0x163))/0x9*(-parseInt(_0x2327ca(0x13e))/0xa);if(_0x2db3aa===_0x1c4d09)break;else _0x248b9a['push'](_0x248b9a['shift']());}catch(_0x5cec3b){_0x248b9a['push'](_0x248b9a['shift']());}}}(_0x58f4,0xc5a84));import{ContextPlugin as _0x48c639}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5f5b0c,CKEditorError as _0x194925}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1a7cce,WEB_SOCKET_GATEWAY_STATES as _0x33d562}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3611f6}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x48c639{static [_0x30248d(0x166)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1a7cce)());static [_0x30248d(0x14a)]=0x3e8;[_0x30248d(0x13c)];[_0x30248d(0x13a)];[_0x30248d(0x173)];[_0x30248d(0x151)];static get[_0x30248d(0x14c)](){const _0x38e956=_0x30248d;return[_0x38e956(0x171),_0x3611f6];}static get[_0x30248d(0x169)](){const _0x4ee137=_0x30248d;return _0x4ee137(0x166);}static get[_0x30248d(0x147)](){return!0x0;}static get[_0x30248d(0x167)](){return!0x0;}constructor(_0x5da02d){const _0x18bd4c=_0x30248d;super(_0x5da02d),this[_0x18bd4c(0x14b)](_0x18bd4c(0x172),_0x33d562[_0x18bd4c(0x138)]),this[_0x18bd4c(0x14b)](_0x18bd4c(0x179),!0x1),this[_0x18bd4c(0x13a)]=new Set(),this[_0x18bd4c(0x173)]=!0x1,this[_0x18bd4c(0x151)]=new(_0x5f5b0c())();}[_0x30248d(0x176)](){const _0x5b4eb4=_0x30248d,_0x1a6041=this[_0x5b4eb4(0x175)],_0x108d59=_0x1a6041[_0x5b4eb4(0x178)][_0x5b4eb4(0x135)](_0x5b4eb4(0x171)),_0x239760=_0x1a6041[_0x5b4eb4(0x178)][_0x5b4eb4(0x135)](_0x3611f6);if(!_0x108d59[_0x5b4eb4(0x17c)])throw new _0x194925(_0x5b4eb4(0x15a),this);if(!_0x108d59[_0x5b4eb4(0x14d)])throw new _0x194925(_0x5b4eb4(0x177),this);return this[_0x5b4eb4(0x151)][_0x5b4eb4(0x136)](window,_0x5b4eb4(0x155),()=>this[_0x5b4eb4(0x179)]=!0x0),this[_0x5b4eb4(0x151)][_0x5b4eb4(0x136)](window,_0x5b4eb4(0x142),()=>this[_0x5b4eb4(0x179)]=!0x1),this[_0x5b4eb4(0x175)][_0x5b4eb4(0x15d)][_0x5b4eb4(0x152)](_0x5b4eb4(0x17b),0xa),this[_0x5b4eb4(0x175)][_0x5b4eb4(0x15d)][_0x5b4eb4(0x152)](_0x5b4eb4(0x15f),0x14),WebSocketGateway[_0x5b4eb4(0x166)][_0x5b4eb4(0x157)](_0x108d59[_0x5b4eb4(0x17c)],_0x108d59[_0x5b4eb4(0x14d)],{'timeout':0x3e8*this[_0x5b4eb4(0x175)][_0x5b4eb4(0x15d)][_0x5b4eb4(0x135)](_0x5b4eb4(0x17b)),'requestTimeout':0x3e8*this[_0x5b4eb4(0x175)][_0x5b4eb4(0x15d)][_0x5b4eb4(0x135)](_0x5b4eb4(0x15f))})[_0x5b4eb4(0x168)](_0x28f9f4=>{const _0x1ad269=_0x5b4eb4;if(this[_0x1ad269(0x13c)]=_0x28f9f4,this[_0x1ad269(0x17d)](_0x1ad269(0x172))['to'](_0x28f9f4,_0x1ad269(0x172),this,_0x1ad269(0x179),(_0x14c130,_0x5aef5d)=>(_0x1ad269(0x16d)!==_0x14c130&&(this[_0x1ad269(0x173)]=!0x0),_0x5aef5d||_0x14c130!==_0x33d562[_0x1ad269(0x138)]?_0x33d562[_0x1ad269(0x13f)]:this[_0x1ad269(0x172)]==_0x33d562[_0x1ad269(0x13f)]&&this[_0x1ad269(0x173)]?(this[_0x1ad269(0x173)]=!0x1,this[_0x1ad269(0x15b)](),_0x33d562[_0x1ad269(0x16e)]):_0x33d562[_0x1ad269(0x138)])),this[_0x1ad269(0x13c)]['on'](_0x1ad269(0x15c),(_0x4ac8fc,_0x51cf58)=>{const _0x15c194=_0x1ad269;if(_0x15c194(0x148)!==_0x51cf58[_0x15c194(0x15e)])throw console[_0x15c194(0x15c)](_0x51cf58),new _0x194925(_0x15c194(0x149),null,{'originalError':_0x51cf58});_0x239760[_0x15c194(0x16c)](_0x15c194(0x139),{'title':_0x15c194(0x13d),'namespace':_0x15c194(0x158)});}),!_0x28f9f4['me'])return new Promise(_0x26876a=>_0x28f9f4['on'](_0x1ad269(0x14f),_0x26876a));})[_0x5b4eb4(0x141)](_0x25c824=>{const _0x266948=_0x5b4eb4;throw console[_0x266948(0x15c)](_0x25c824),new _0x194925(_0x266948(0x149),null,{'originalError':_0x25c824});});}[_0x30248d(0x14e)](_0x28eeec){const _0x38181c=_0x30248d;if(_0x38181c(0x165)!=typeof _0x28eeec[_0x38181c(0x17a)])throw new _0x194925(_0x38181c(0x154),this);if(this[_0x38181c(0x137)](_0x28eeec))throw new _0x194925(_0x38181c(0x145),this,{'name':_0x28eeec[_0x38181c(0x16f)][_0x38181c(0x169)]});this[_0x38181c(0x13a)][_0x38181c(0x160)](_0x28eeec);}[_0x30248d(0x156)](_0x2ad469){const _0x44ec0b=_0x30248d;this[_0x44ec0b(0x13a)][_0x44ec0b(0x150)](_0x2ad469);}[_0x30248d(0x137)](_0x1c9347){const _0x1b2aec=_0x30248d;return this[_0x1b2aec(0x13a)][_0x1b2aec(0x170)](_0x1c9347);}[_0x30248d(0x15b)](){const _0xd37834=_0x30248d;return this[_0xd37834(0x13c)][_0xd37834(0x17a)]()[_0xd37834(0x168)](()=>Promise[_0xd37834(0x13b)](Array[_0xd37834(0x16b)](this[_0xd37834(0x13a)],_0x342451=>_0x342451[_0xd37834(0x17a)]())))[_0xd37834(0x168)](()=>this[_0xd37834(0x172)]=_0x33d562[_0xd37834(0x138)])[_0xd37834(0x141)](_0x538607=>{const _0x2205aa=_0xd37834;throw console[_0x2205aa(0x15c)](_0x538607),new _0x194925(_0x2205aa(0x162),this[_0x2205aa(0x175)]);});}[_0x30248d(0x144)](){const _0xb69e84=_0x30248d;this[_0xb69e84(0x13c)]&&this[_0xb69e84(0x13c)][_0xb69e84(0x144)](),this[_0xb69e84(0x172)]=_0x33d562[_0xb69e84(0x13f)],this[_0xb69e84(0x151)][_0xb69e84(0x159)]();}[_0x30248d(0x146)](){const _0x19c9b3=_0x30248d;this[_0x19c9b3(0x144)](),super[_0x19c9b3(0x146)]();}}function _0x4c5c(_0x1b8500,_0x305f67){const _0x58f4b3=_0x58f4();return _0x4c5c=function(_0x4c5cb1,_0x5e30a9){_0x4c5cb1=_0x4c5cb1-0x135;let _0x277f08=_0x58f4b3[_0x4c5cb1];return _0x277f08;},_0x4c5c(_0x1b8500,_0x305f67);}function _0x58f4(){const _0x1b5175=['bind','4121528LLjhfS','get','listenTo','isInReconnectionStack','CONNECTED','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','all','connection','Connected\x20users\x20limit\x20exceeded','28633920IsIQql','DISCONNECTED','451677bWTYqF','catch','online','390139qnKUfR','disconnect','websocketgateway-plugin-already-registered','destroy','isOfficialPlugin','limitExceeded','cloudservices-init','initialReconnectionInterval','set','requires','webSocketUrl','addToReconnectionStack','change:me','delete','_domEmitter','define','6YqCaLJ','websocketgateway-invalid-plugin-interface','offline','removeFromReconnectionStack','connect','real-time-collaboration','stopListening','websocketgateway-missing-token','_reconnect','error','config','code','cloudServices.requestTimeout','add','24HOtnnV','cloudservices-reconnection-error','9ZefnWD','1793362lvFHMf','function','WebSocketGateway','isPremiumPlugin','then','pluginName','5983210AxUhJS','from','showWarning','connected','CONNECTING','constructor','has','CloudServices','state','_shouldPluginsReconnect','722659HPCDUo','context','init','websocketgateway-missing-websocket-url','plugins','_isBrowserOffline','reconnect','cloudServices.connectionTimeout','token'];_0x58f4=function(){return _0x1b5175;};return _0x58f4();}
@@ -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
- const _0x3abeee=_0x27db;function _0x27db(_0x31e563,_0x5900c6){const _0x36ebc8=_0x36eb();return _0x27db=function(_0x27db83,_0x2aa149){_0x27db83=_0x27db83-0x188;let _0x278fc6=_0x36ebc8[_0x27db83];return _0x278fc6;},_0x27db(_0x31e563,_0x5900c6);}function _0x36eb(){const _0x221162=['authorsIds','destroy','startsWith','change:_isPendingUpdate','data','getRevisions','connection','59922ovVbUD','max','buildRevisionData','baseVersion','50bARLWS','reconnect','connected','35ixncRn','setSource','sessionId','13503015GxYKpc','3198825gXqIaf','getUser','wrongRequestId','reInit','_getLatestVersionFromServerOperations','size','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_getLatestVersion','isConnected','_bufferUpdate','_revisionTracker','_waitForServiceReady','remove','addToReconnectionStack','cloud-services-internal-error:\x20Not\x20connected.','creatorId','_handleReconnectionError','getOperations','type','_startingVersion','editor','CONNECTED','isOfficialPlugin','length','connect','isEnabled','isBundleUploaded','authors','message','affectsData','_lastRequestId','sendBufferedUpdates','isPremiumPlugin','getMany','config','_offset','off','_createCurrentRevision','currentRevision','RevisionHistory','state','requires','8965308rXmZwy','_revisionHistoryService','updateRevisions','_revisionDataBuilder','init','change:_isConnected','setRevisionData','_update','listenTo','1914448YybnUy','createdAt','_preventResendingRevisionData','diffData','_fetchMissingUsers','bind','_handleRevisionsUpdate','revisionsUpdated','then','_isPendingUpdate','isEmptyCurrent','addRevisionData','310HSekNz','22hUdqLm','adapter','toVersion','_isConnected','_revisions','marker','get','from','_fixRevision','plugins','repository','CloudServicesRevisionHistoryAdapter','catch','add','code','cloud-services-internal-error:\x20Request\x20timeout.','RevisionTracker','5297020stERLs','collaboration.channelId','map','getRevision','once','75282QhQrAQ','RevisionHistoryService','_bufferedUpdates','reverse','pluginName','400','_oldOffset','fromVersion','has','cloudServices.bundleVersion','keys','serverHistory','addUser'];_0x36eb=function(){return _0x221162;};return _0x36eb();}(function(_0x2080de,_0x631a2e){const _0x532005=_0x27db,_0x4f4356=_0x2080de();while(!![]){try{const _0x502254=-parseInt(_0x532005(0x1cc))/0x1*(parseInt(_0x532005(0x1b6))/0x2)+parseInt(_0x532005(0x1eb))/0x3+-parseInt(_0x532005(0x1c7))/0x4+parseInt(_0x532005(0x1b5))/0x5*(parseInt(_0x532005(0x1e0))/0x6)+parseInt(_0x532005(0x1e7))/0x7*(-parseInt(_0x532005(0x1a9))/0x8)+-parseInt(_0x532005(0x1ea))/0x9+parseInt(_0x532005(0x1e4))/0xa*(parseInt(_0x532005(0x1a0))/0xb);if(_0x502254===_0x631a2e)break;else _0x4f4356['push'](_0x4f4356['shift']());}catch(_0x5ce70c){_0x4f4356['push'](_0x4f4356['shift']());}}}(_0x36eb,0xde81b));import{Plugin as _0x2839f8}from'ckeditor5/src/core.js';import{version as _0x5b5f44}from'ckeditor5/src/utils.js';import{Users as _0x417d50}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x236608}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x2f493d}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1fda96}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x222741,RevisionHistoryService as _0x10e37b,User as _0x2adf6d,WEB_SOCKET_GATEWAY_STATES as _0x2e5d90}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x2839f8{static [_0x3abeee(0x1cd)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x10e37b)());[_0x3abeee(0x194)];[_0x3abeee(0x1f5)];[_0x3abeee(0x1a1)];[_0x3abeee(0x1d2)];static get[_0x3abeee(0x19f)](){const _0x40067d=_0x3abeee;return[_0x2f493d,_0x236608,_0x40067d(0x19d),_0x1fda96,_0x417d50];}static get[_0x3abeee(0x1d0)](){const _0x37f4c7=_0x3abeee;return _0x37f4c7(0x1c1);}static get[_0x3abeee(0x18c)](){return!0x0;}static get[_0x3abeee(0x196)](){return!0x0;}constructor(_0x1fbaad){const _0x1da839=_0x3abeee;super(_0x1fbaad);const _0x4b8476=this[_0x1da839(0x18a)][_0x1da839(0x198)][_0x1da839(0x1bc)](_0x1da839(0x1c8));this[_0x1da839(0x194)]=null,this[_0x1da839(0x1f5)]=this[_0x1da839(0x18a)][_0x1da839(0x1bf)][_0x1da839(0x1bc)](_0x1da839(0x1c6)),this[_0x1da839(0x1a1)]=new CloudServicesRevisionHistoryAdapter[(_0x1da839(0x1cd))](_0x4b8476);}async[_0x3abeee(0x1a4)](){const _0x295c00=_0x3abeee,_0x1076b4=this[_0x295c00(0x18a)][_0x295c00(0x1bf)][_0x295c00(0x1bc)](_0x236608),_0x5bd16c=_0x1076b4[_0x295c00(0x1d7)],_0x4d6a23=this[_0x295c00(0x18a)][_0x295c00(0x1bf)][_0x295c00(0x1bc)](_0x2f493d);this[_0x295c00(0x1f5)][_0x295c00(0x1e8)]({'history':_0x5bd16c,'getLatestVersion':()=>this[_0x295c00(0x1f2)](),'getCurrentRevisionId':()=>_0x1076b4[_0x295c00(0x1e9)]});const _0x1db899=this[_0x295c00(0x18a)][_0x295c00(0x198)][_0x295c00(0x1bc)](_0x295c00(0x1d5))||_0x5b5f44,_0x55252=await _0x222741[_0x295c00(0x190)](_0x4d6a23[_0x295c00(0x1df)],_0x1db899);this[_0x295c00(0x18a)][_0x295c00(0x1bf)][_0x295c00(0x1bc)](_0x295c00(0x19d))[_0x295c00(0x1b7)]={'getRevision':async({revisionId:_0x4f8d78})=>(await this[_0x295c00(0x1f6)](),await this[_0x295c00(0x1a1)][_0x295c00(0x1ca)](_0x4f8d78)),'updateRevisions':async _0x2540ff=>{const _0x362078=_0x295c00;await this[_0x362078(0x1f6)]();const _0x3cfe5e=this[_0x362078(0x1f5)][_0x362078(0x19c)];if(_0x55252&&0x1===_0x2540ff[_0x362078(0x18d)]&&_0x2540ff[0x0]['id']===_0x3cfe5e['id'])return _0x2540ff;for(const _0x1a53a9 of _0x2540ff)_0x1a53a9['id']===_0x3cfe5e['id']&&(_0x1a53a9[_0x362078(0x1b3)]=_0x1a53a9[_0x362078(0x1d3)]===_0x1a53a9[_0x362078(0x1b8)]);return this[_0x362078(0x1a1)][_0x362078(0x1a2)](_0x2540ff,this[_0x362078(0x194)])[_0x362078(0x1b1)](_0x13fb65=>(this[_0x362078(0x194)]=_0x13fb65,_0x2540ff))[_0x362078(0x1c2)](_0x214ee5=>{const _0x21d708=_0x362078;if(q(_0x214ee5)||_0x21d708(0x1d1)===_0x214ee5[_0x21d708(0x1c4)]&&void 0x0!==_0x214ee5[_0x21d708(0x1dd)][_0x21d708(0x1ed)]){for(const _0x168294 of _0x2540ff){!this[_0x21d708(0x1f5)][_0x21d708(0x1c0)][_0x21d708(0x1ca)](_0x168294['id'])||this[_0x21d708(0x1f5)][_0x21d708(0x1f4)](_0x168294['id'],_0x168294,!0x1);}if(q(_0x214ee5))throw _0x214ee5;return _0x2540ff;}throw _0x214ee5;});}},this[_0x295c00(0x1a8)](this[_0x295c00(0x1a1)],_0x295c00(0x1b0),(_0x104111,{revisionsData:_0x5c4c72,requestId:_0x129108})=>{const _0x4f15c7=_0x295c00;Math[_0x4f15c7(0x1e1)](..._0x5c4c72[_0x4f15c7(0x1c9)](_0x82bbff=>_0x82bbff[_0x4f15c7(0x1b8)]))>this[_0x4f15c7(0x1ef)]()-0x1?this[_0x4f15c7(0x1f2)]()[_0x4f15c7(0x1b1)](()=>{const _0x387469=_0x4f15c7;this[_0x387469(0x1af)](_0x5c4c72,_0x129108);}):this[_0x4f15c7(0x1af)](_0x5c4c72,_0x129108);});const {revisions:_0x4c1e33,requestId:_0x36ed2c}=await this[_0x295c00(0x1a1)][_0x295c00(0x18e)](_0x4d6a23[_0x295c00(0x1df)]);_0x4d6a23[_0x295c00(0x1f8)](this),this[_0x295c00(0x194)]=_0x36ed2c,await this[_0x295c00(0x1ad)](_0x4c1e33);for(const _0x4c0e1e of _0x4c1e33)this[_0x295c00(0x1f5)][_0x295c00(0x1b4)](_0x4c0e1e);this[_0x295c00(0x1a8)](_0x1076b4,_0x295c00(0x1a5),(_0x29fe96,_0x555ebd,_0x4722fb)=>{const _0x443021=_0x295c00;_0x4722fb&&(this[_0x443021(0x1d2)]=_0x1076b4[_0x443021(0x199)],_0x29fe96[_0x443021(0x19a)]());}),this[_0x295c00(0x1f5)][_0x295c00(0x1ae)](_0x295c00(0x18f))['to'](_0x4d6a23,_0x295c00(0x19e),_0xe3dbca=>_0xe3dbca===_0x2e5d90[_0x295c00(0x18b)]);}async[_0x3abeee(0x1e5)](){const _0x26c219=_0x3abeee,_0x4a293f=this[_0x26c219(0x18a)][_0x26c219(0x1bf)][_0x26c219(0x1bc)](_0x2f493d),_0x5d1c13=this[_0x26c219(0x18a)][_0x26c219(0x1bf)][_0x26c219(0x1bc)](_0x236608),_0x542470=async()=>{const _0xc20b4c=_0x26c219,_0x5cd3e4=this[_0xc20b4c(0x1f5)][_0xc20b4c(0x19c)],_0x4df3b3=_0x5cd3e4['id'],_0x32421e=_0x4df3b3!==_0x5d1c13[_0xc20b4c(0x1e9)];if(_0x32421e){const _0x453ca9=_0x5d1c13[_0xc20b4c(0x199)]-this[_0xc20b4c(0x1d2)],_0x216abf=this[_0xc20b4c(0x1ef)]();this[_0xc20b4c(0x1f5)][_0xc20b4c(0x1a3)][_0xc20b4c(0x1ee)]();if(_0x5cd3e4[_0xc20b4c(0x1b8)]+_0x453ca9!==_0x216abf){const _0x13a9db=_0x5cd3e4[_0xc20b4c(0x1d3)]+_0x453ca9,_0x27a6db=this[_0xc20b4c(0x18a)][_0xc20b4c(0x1bf)][_0xc20b4c(0x1bc)](_0x417d50),_0x2999ab=this[_0xc20b4c(0x1f5)][_0xc20b4c(0x1e2)]({'revision':_0x5cd3e4,'from':_0x13a9db,'to':_0x216abf});_0x2999ab['id']=_0x5cd3e4['id'];const _0x52ea1c=_0x2999ab[_0xc20b4c(0x1d9)][_0xc20b4c(0x1c9)](_0x2f3487=>_0x27a6db[_0xc20b4c(0x1ec)](_0x2f3487));_0x5cd3e4[_0xc20b4c(0x1a7)]({..._0x2999ab,'authors':_0x52ea1c},!0x0),this[_0xc20b4c(0x1f5)][_0xc20b4c(0x1f4)](_0x5cd3e4['id'],_0x2999ab,!0x0);}this[_0xc20b4c(0x1f5)][_0xc20b4c(0x189)]=_0x216abf,(_0x5cd3e4[_0xc20b4c(0x1b8)]===_0x5cd3e4[_0xc20b4c(0x1d3)]&&!this[_0xc20b4c(0x1f5)][_0xc20b4c(0x1ce)][_0xc20b4c(0x1d4)](_0x4df3b3)&&this[_0xc20b4c(0x1f5)][_0xc20b4c(0x1c0)][_0xc20b4c(0x1ba)][_0xc20b4c(0x1f7)](_0x4df3b3),this[_0xc20b4c(0x1f5)][_0xc20b4c(0x19b)](_0x216abf));}const {revisions:_0x4df5db,requestId:_0x525677}=await this[_0xc20b4c(0x1a1)][_0xc20b4c(0x1e5)](_0x4a293f[_0xc20b4c(0x1df)],this[_0xc20b4c(0x194)]);_0x32421e&&_0x4df5db[_0xc20b4c(0x18d)]>0x0?_0x5d1c13[_0xc20b4c(0x1fb)]():(await this[_0xc20b4c(0x1ad)](_0x4df5db),this[_0xc20b4c(0x1af)](_0x4df5db,_0x525677),this[_0xc20b4c(0x1f5)][_0xc20b4c(0x195)]());};return _0x5d1c13[_0x26c219(0x1b9)]?_0x542470():new Promise((_0x36f068,_0x6576c1)=>{const _0x5589ae=_0x26c219;_0x5d1c13[_0x5589ae(0x1cb)](_0x5589ae(0x1a5),()=>{const _0x5ee8ea=_0x5589ae;_0x542470()[_0x5ee8ea(0x1b1)](_0x36f068)[_0x5ee8ea(0x1c2)](_0x6576c1);});});}[_0x3abeee(0x1da)](){const _0xac5abf=_0x3abeee;super[_0xac5abf(0x1da)]();}async[_0x3abeee(0x1f6)](){const _0x523533=_0x3abeee;this[_0x523533(0x1a1)][_0x523533(0x1f3)]||await new Promise(_0x47a3de=>{const _0x52230b=_0x523533;this[_0x52230b(0x1a8)](this[_0x52230b(0x1a1)],_0x52230b(0x1e6),_0x2b7238=>{const _0x4d9614=_0x52230b;_0x2b7238[_0x4d9614(0x19a)](),_0x47a3de();});});}[_0x3abeee(0x1ef)](){const _0x2d24ed=_0x3abeee,_0x3444a6=this[_0x2d24ed(0x18a)][_0x2d24ed(0x1bf)][_0x2d24ed(0x1bc)](_0x236608)[_0x2d24ed(0x1d7)][_0x2d24ed(0x1fc)]()[_0x2d24ed(0x1cf)]();for(const _0x453847 of _0x3444a6)if(_0x2d24ed(0x1bb)!==_0x453847[_0x2d24ed(0x188)]||_0x453847[_0x2d24ed(0x193)])return _0x453847[_0x2d24ed(0x1e3)]+0x1;}[_0x3abeee(0x1f2)](){const _0x30f0f9=_0x3abeee,_0x45dfdf=this[_0x30f0f9(0x18a)][_0x30f0f9(0x1bf)][_0x30f0f9(0x1bc)](_0x236608);return new Promise(_0x57aa49=>{const _0x47e9b1=_0x30f0f9;_0x45dfdf[_0x47e9b1(0x1b2)]?_0x45dfdf[_0x47e9b1(0x1cb)](_0x47e9b1(0x1dc),()=>{const _0x40b634=_0x47e9b1;_0x57aa49(this[_0x40b634(0x1ef)]());}):_0x57aa49(this[_0x47e9b1(0x1ef)]());});}[_0x3abeee(0x1af)](_0x34fe76,_0x9c13a5){const _0x41471f=_0x3abeee,_0x175dfc=this[_0x41471f(0x1f5)][_0x41471f(0x1c0)];this[_0x41471f(0x194)]=_0x9c13a5;for(const _0x311c56 of _0x34fe76){const _0x122677=_0x175dfc[_0x41471f(0x1ca)](_0x311c56['id']);if(_0x122677){if((_0x311c56[_0x41471f(0x1d3)]||_0x311c56[_0x41471f(0x1b8)])&&(_0x311c56[_0x41471f(0x1ac)]=null),_0x122677===this[_0x41471f(0x1f5)][_0x41471f(0x19c)]){const _0x3619a2=Math[_0x41471f(0x1e1)](_0x122677[_0x41471f(0x1b8)],_0x311c56[_0x41471f(0x1b8)]),_0x3c73e6=Math[_0x41471f(0x1e1)](_0x122677[_0x41471f(0x1d3)],_0x311c56[_0x41471f(0x1d3)]);let _0x4514cf;_0x122677[_0x41471f(0x1b8)]===_0x311c56[_0x41471f(0x1b8)]&&_0x122677[_0x41471f(0x1d3)]===_0x311c56[_0x41471f(0x1d3)]?(_0x4514cf=!0x0,this[_0x41471f(0x1ab)](_0x311c56)):_0x311c56[_0x41471f(0x1b8)]===_0x3619a2&&_0x311c56[_0x41471f(0x1d3)]===_0x3c73e6?_0x4514cf=!0x1:(_0x122677[_0x41471f(0x1b8)]===_0x3619a2&&_0x122677[_0x41471f(0x1d3)]===_0x3c73e6||this[_0x41471f(0x1be)]({'revision':_0x122677,'from':_0x3c73e6,'to':_0x3619a2}),_0x4514cf=!0x0),_0x4514cf&&(delete _0x311c56[_0x41471f(0x1d3)],delete _0x311c56[_0x41471f(0x1b8)],delete _0x311c56[_0x41471f(0x1ac)],delete _0x311c56[_0x41471f(0x1aa)],delete _0x311c56[_0x41471f(0x1d9)]);}this[_0x41471f(0x1f5)][_0x41471f(0x1a6)](_0x311c56),this[_0x41471f(0x1ab)](_0x311c56);}else this[_0x41471f(0x1f5)][_0x41471f(0x1b4)](_0x311c56);}const _0xf9bb87=_0x175dfc[_0x41471f(0x1de)]();_0xf9bb87[_0x41471f(0x1cf)]();for(let _0x59fa64=0x0;_0x59fa64<_0xf9bb87[_0x41471f(0x18d)]-0x1;_0x59fa64++){const _0x2469eb=_0xf9bb87[_0x59fa64],_0x55c823=_0xf9bb87[_0x59fa64+0x1];if(_0x2469eb[_0x41471f(0x1d3)]<_0x55c823[_0x41471f(0x1b8)]){const _0x130f18=_0x55c823[_0x41471f(0x1b8)],_0x300375=Math[_0x41471f(0x1e1)](_0x130f18,_0x2469eb[_0x41471f(0x1b8)]);this[_0x41471f(0x1be)]({'revision':_0x2469eb,'from':_0x130f18,'to':_0x300375});}}}[_0x3abeee(0x1be)]({revision:_0x174f26,from:_0x3a3159,to:_0x5da2db}={}){const _0x394f1e=_0x3abeee,_0xf61b57=this[_0x394f1e(0x18a)][_0x394f1e(0x1bf)][_0x394f1e(0x1bc)](_0x417d50),_0xcf0e16=this[_0x394f1e(0x1f5)][_0x394f1e(0x1e2)]({'revision':_0x174f26,'from':_0x3a3159,'to':_0x5da2db});_0xcf0e16[_0x394f1e(0x191)]=_0xcf0e16[_0x394f1e(0x1d9)][_0x394f1e(0x1c9)](_0x1f1d50=>_0xf61b57[_0x394f1e(0x1ec)](_0x1f1d50)),_0x174f26[_0x394f1e(0x1a7)](_0xcf0e16);}[_0x3abeee(0x1ab)](_0x1c2563){const _0x5d4269=_0x3abeee,_0x5044ca={};_0x5044ca['id']=_0x1c2563['id'];for(const _0x2d773e of Object[_0x5d4269(0x1d6)](_0x1c2563))'id'!==_0x2d773e&&(_0x5044ca[_0x2d773e]=void 0x0);this[_0x5d4269(0x1f5)][_0x5d4269(0x1f4)](_0x5044ca['id'],_0x5044ca,!0x0);}async[_0x3abeee(0x1ad)](_0x2aaca8){const _0x475dd1=_0x3abeee,_0x2c4c64=this[_0x475dd1(0x18a)][_0x475dd1(0x1bf)][_0x475dd1(0x1bc)](_0x417d50),{connection:_0x36219b}=this[_0x475dd1(0x18a)][_0x475dd1(0x1bf)][_0x475dd1(0x1bc)](_0x2f493d),_0x2c22a1=new Set();for(const _0x27a603 of _0x2aaca8){for(const _0x953208 of _0x27a603[_0x475dd1(0x1d9)])_0x3f9673(_0x953208);_0x27a603[_0x475dd1(0x1fa)]&&_0x3f9673(_0x27a603[_0x475dd1(0x1fa)]);}if(0x0===_0x2c22a1[_0x475dd1(0x1f0)])return;const _0x5792c0=await _0x2adf6d[_0x475dd1(0x197)](_0x36219b,Array[_0x475dd1(0x1bd)](_0x2c22a1));for(const _0x3692fa of _0x5792c0)_0x2c4c64[_0x475dd1(0x1ec)](_0x3692fa['id'])||_0x2c4c64[_0x475dd1(0x1d8)](_0x3692fa);function _0x3f9673(_0x4f56b2){const _0x62d689=_0x475dd1;_0x2c4c64[_0x62d689(0x1ec)](_0x4f56b2)||_0x2c22a1[_0x62d689(0x1c3)](_0x4f56b2);}}}function q(_0x343636){const _0x3df894=_0x3abeee;return _0x343636[_0x3df894(0x192)][_0x3df894(0x1db)](_0x3df894(0x1f1))||_0x343636[_0x3df894(0x192)][_0x3df894(0x1db)](_0x3df894(0x1f9))||_0x343636[_0x3df894(0x192)][_0x3df894(0x1db)](_0x3df894(0x1c5));}
23
+ const _0x2ff75f=_0x3b3d;(function(_0xfe835d,_0x311a1c){const _0x389e15=_0x3b3d,_0x318290=_0xfe835d();while(!![]){try{const _0x2c6d69=parseInt(_0x389e15(0x118))/0x1*(parseInt(_0x389e15(0x112))/0x2)+parseInt(_0x389e15(0x162))/0x3+-parseInt(_0x389e15(0x141))/0x4*(parseInt(_0x389e15(0x17a))/0x5)+-parseInt(_0x389e15(0x17c))/0x6*(-parseInt(_0x389e15(0x175))/0x7)+-parseInt(_0x389e15(0x154))/0x8*(-parseInt(_0x389e15(0x17d))/0x9)+parseInt(_0x389e15(0x115))/0xa+-parseInt(_0x389e15(0x13f))/0xb;if(_0x2c6d69===_0x311a1c)break;else _0x318290['push'](_0x318290['shift']());}catch(_0x1f874c){_0x318290['push'](_0x318290['shift']());}}}(_0x2f41,0x979b2));function _0x2f41(){const _0x2b537d=['authorsIds','getMany','diffData','3475345RbDkVh','_fetchMissingUsers','2076FqPagT','61434wlBOqH','_revisionTracker','bind','CloudServicesRevisionHistoryAdapter','listenTo','reverse','get','remove','affectsData','isConnected','73114AGiAsd','buildRevisionData','sendBufferedUpdates','3609680RsGuNu','createdAt','_bufferUpdate','1jatUzk','updateRevisions','_fixRevision','revisionsUpdated','addRevisionData','_isPendingUpdate','map','400','cloudServices.bundleVersion','message','_getLatestVersionFromServerOperations','toVersion','catch','_handleRevisionsUpdate','_revisionDataBuilder','setRevisionData','change:_isConnected','_preventResendingRevisionData','keys','RevisionTracker','_bufferedUpdates','addUser','change:_isPendingUpdate','editor','config','init','from','off','authors','_revisionHistoryService','_update','_isConnected','reconnect','pluginName','_createCurrentRevision','startsWith','requires','cloud-services-internal-error:\x20Not\x20connected.','_startingVersion','1078990aBEiII','isEnabled','4TuvPoS','isEmptyCurrent','length','RevisionHistoryService','getRevision','reInit','marker','wrongRequestId','creatorId','size','baseVersion','isPremiumPlugin','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','_revisions','_waitForServiceReady','destroy','then','_lastRequestId','664jQdbRw','RevisionHistory','_handleReconnectionError','max','data','connected','collaboration.channelId','currentRevision','once','connect','plugins','getUser','sessionId','type','1304490JusCke','setSource','repository','_getLatestVersion','_oldOffset','adapter','getRevisions','getOperations','CONNECTED','add','code','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_offset','isOfficialPlugin','connection','isBundleUploaded','fromVersion','has','serverHistory','308KxDiRH','state'];_0x2f41=function(){return _0x2b537d;};return _0x2f41();}import{Plugin as _0x4ca677}from'ckeditor5/src/core.js';import{version as _0x2ab8c8}from'ckeditor5/src/utils.js';function _0x3b3d(_0x4d0544,_0x3059bf){const _0x2f41fa=_0x2f41();return _0x3b3d=function(_0x3b3d5e,_0x44927e){_0x3b3d5e=_0x3b3d5e-0x109;let _0x445946=_0x2f41fa[_0x3b3d5e];return _0x445946;},_0x3b3d(_0x4d0544,_0x3059bf);}import{Users as _0x1b75ea}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x53bb4d}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x37d6a6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x589605}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x2ca4bc,RevisionHistoryService as _0x5cbacd,User as _0x365d0c,WEB_SOCKET_GATEWAY_STATES as _0x52abcc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4ca677{static [_0x2ff75f(0x144)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5cbacd)());[_0x2ff75f(0x153)];[_0x2ff75f(0x109)];[_0x2ff75f(0x135)];[_0x2ff75f(0x166)];static get[_0x2ff75f(0x13c)](){const _0x17f235=_0x2ff75f;return[_0x37d6a6,_0x53bb4d,_0x17f235(0x155),_0x589605,_0x1b75ea];}static get[_0x2ff75f(0x139)](){const _0x5491f7=_0x2ff75f;return _0x5491f7(0x10b);}static get[_0x2ff75f(0x16f)](){return!0x0;}static get[_0x2ff75f(0x14c)](){return!0x0;}constructor(_0x155eba){const _0x43abef=_0x2ff75f;super(_0x155eba);const _0x1eccf6=this[_0x43abef(0x12f)][_0x43abef(0x130)][_0x43abef(0x10e)](_0x43abef(0x15a));this[_0x43abef(0x153)]=null,this[_0x43abef(0x109)]=this[_0x43abef(0x12f)][_0x43abef(0x15e)][_0x43abef(0x10e)](_0x43abef(0x12b)),this[_0x43abef(0x135)]=new CloudServicesRevisionHistoryAdapter[(_0x43abef(0x144))](_0x1eccf6);}async[_0x2ff75f(0x131)](){const _0x2259f4=_0x2ff75f,_0x216988=this[_0x2259f4(0x12f)][_0x2259f4(0x15e)][_0x2259f4(0x10e)](_0x53bb4d),_0x56245a=_0x216988[_0x2259f4(0x174)],_0x496f9b=this[_0x2259f4(0x12f)][_0x2259f4(0x15e)][_0x2259f4(0x10e)](_0x37d6a6);this[_0x2259f4(0x109)][_0x2259f4(0x163)]({'history':_0x56245a,'getLatestVersion':()=>this[_0x2259f4(0x165)](),'getCurrentRevisionId':()=>_0x216988[_0x2259f4(0x160)]});const _0x21a497=this[_0x2259f4(0x12f)][_0x2259f4(0x130)][_0x2259f4(0x10e)](_0x2259f4(0x120))||_0x2ab8c8,_0x5e379e=await _0x2ca4bc[_0x2259f4(0x171)](_0x496f9b[_0x2259f4(0x170)],_0x21a497);this[_0x2259f4(0x12f)][_0x2259f4(0x15e)][_0x2259f4(0x10e)](_0x2259f4(0x155))[_0x2259f4(0x167)]={'getRevision':async({revisionId:_0x425f42})=>(await this[_0x2259f4(0x150)](),await this[_0x2259f4(0x135)][_0x2259f4(0x145)](_0x425f42)),'updateRevisions':async _0x3fa4a7=>{const _0x488498=_0x2259f4;await this[_0x488498(0x150)]();const _0x5aa376=this[_0x488498(0x109)][_0x488498(0x15b)];if(_0x5e379e&&0x1===_0x3fa4a7[_0x488498(0x143)]&&_0x3fa4a7[0x0]['id']===_0x5aa376['id'])return _0x3fa4a7;for(const _0x3180b8 of _0x3fa4a7)_0x3180b8['id']===_0x5aa376['id']&&(_0x3180b8[_0x488498(0x142)]=_0x3180b8[_0x488498(0x172)]===_0x3180b8[_0x488498(0x123)]);return this[_0x488498(0x135)][_0x488498(0x119)](_0x3fa4a7,this[_0x488498(0x153)])[_0x488498(0x152)](_0x59cda5=>(this[_0x488498(0x153)]=_0x59cda5,_0x3fa4a7))[_0x488498(0x124)](_0x1ed7af=>{const _0xe101e2=_0x488498;if(st(_0x1ed7af)||_0xe101e2(0x11f)===_0x1ed7af[_0xe101e2(0x16c)]&&void 0x0!==_0x1ed7af[_0xe101e2(0x158)][_0xe101e2(0x148)]){for(const _0x539dc6 of _0x3fa4a7){!this[_0xe101e2(0x109)][_0xe101e2(0x164)][_0xe101e2(0x145)](_0x539dc6['id'])||this[_0xe101e2(0x109)][_0xe101e2(0x117)](_0x539dc6['id'],_0x539dc6,!0x1);}if(st(_0x1ed7af))throw _0x1ed7af;return _0x3fa4a7;}throw _0x1ed7af;});}},this[_0x2259f4(0x10c)](this[_0x2259f4(0x135)],_0x2259f4(0x11b),(_0x44514c,{revisionsData:_0xc23547,requestId:_0x58710d})=>{const _0x91cb28=_0x2259f4;Math[_0x91cb28(0x157)](..._0xc23547[_0x91cb28(0x11e)](_0x18cc28=>_0x18cc28[_0x91cb28(0x123)]))>this[_0x91cb28(0x122)]()-0x1?this[_0x91cb28(0x165)]()[_0x91cb28(0x152)](()=>{const _0xe5ff9a=_0x91cb28;this[_0xe5ff9a(0x125)](_0xc23547,_0x58710d);}):this[_0x91cb28(0x125)](_0xc23547,_0x58710d);});const {revisions:_0x5065d2,requestId:_0x1f13ed}=await this[_0x2259f4(0x135)][_0x2259f4(0x15d)](_0x496f9b[_0x2259f4(0x170)]);_0x496f9b[_0x2259f4(0x14e)](this),this[_0x2259f4(0x153)]=_0x1f13ed,await this[_0x2259f4(0x17b)](_0x5065d2);for(const _0x579ae9 of _0x5065d2)this[_0x2259f4(0x109)][_0x2259f4(0x11c)](_0x579ae9);this[_0x2259f4(0x10c)](_0x216988,_0x2259f4(0x128),(_0x5d9c57,_0x21419d,_0x3efe74)=>{const _0xa709f8=_0x2259f4;_0x3efe74&&(this[_0xa709f8(0x166)]=_0x216988[_0xa709f8(0x16e)],_0x5d9c57[_0xa709f8(0x133)]());}),this[_0x2259f4(0x109)][_0x2259f4(0x10a)](_0x2259f4(0x140))['to'](_0x496f9b,_0x2259f4(0x176),_0x230178=>_0x230178===_0x52abcc[_0x2259f4(0x16a)]);}async[_0x2ff75f(0x138)](){const _0x198797=_0x2ff75f,_0x5c4213=this[_0x198797(0x12f)][_0x198797(0x15e)][_0x198797(0x10e)](_0x37d6a6),_0x5b81f9=this[_0x198797(0x12f)][_0x198797(0x15e)][_0x198797(0x10e)](_0x53bb4d),_0x41ae00=async()=>{const _0x185049=_0x198797,_0x57feb5=this[_0x185049(0x109)][_0x185049(0x15b)],_0x246c95=_0x57feb5['id'],_0x283f58=_0x246c95!==_0x5b81f9[_0x185049(0x160)];if(_0x283f58){const _0x1ecb62=_0x5b81f9[_0x185049(0x16e)]-this[_0x185049(0x166)],_0x31d0a4=this[_0x185049(0x122)]();this[_0x185049(0x109)][_0x185049(0x126)][_0x185049(0x146)]();if(_0x57feb5[_0x185049(0x123)]+_0x1ecb62!==_0x31d0a4){const _0x76cde8=_0x57feb5[_0x185049(0x172)]+_0x1ecb62,_0x53a81a=this[_0x185049(0x12f)][_0x185049(0x15e)][_0x185049(0x10e)](_0x1b75ea),_0x50e1eb=this[_0x185049(0x109)][_0x185049(0x113)]({'revision':_0x57feb5,'from':_0x76cde8,'to':_0x31d0a4});_0x50e1eb['id']=_0x57feb5['id'];const _0x24fbc1=_0x50e1eb[_0x185049(0x177)][_0x185049(0x11e)](_0x44bb0e=>_0x53a81a[_0x185049(0x15f)](_0x44bb0e));_0x57feb5[_0x185049(0x136)]({..._0x50e1eb,'authors':_0x24fbc1},!0x0),this[_0x185049(0x109)][_0x185049(0x117)](_0x57feb5['id'],_0x50e1eb,!0x0);}this[_0x185049(0x109)][_0x185049(0x13e)]=_0x31d0a4,(_0x57feb5[_0x185049(0x123)]===_0x57feb5[_0x185049(0x172)]&&!this[_0x185049(0x109)][_0x185049(0x12c)][_0x185049(0x173)](_0x246c95)&&this[_0x185049(0x109)][_0x185049(0x164)][_0x185049(0x14f)][_0x185049(0x10f)](_0x246c95),this[_0x185049(0x109)][_0x185049(0x13a)](_0x31d0a4));}const {revisions:_0x40c712,requestId:_0x199683}=await this[_0x185049(0x135)][_0x185049(0x138)](_0x5c4213[_0x185049(0x170)],this[_0x185049(0x153)]);_0x283f58&&_0x40c712[_0x185049(0x143)]>0x0?_0x5b81f9[_0x185049(0x156)]():(await this[_0x185049(0x17b)](_0x40c712),this[_0x185049(0x125)](_0x40c712,_0x199683),this[_0x185049(0x109)][_0x185049(0x114)]());};return _0x5b81f9[_0x198797(0x137)]?_0x41ae00():new Promise((_0x53c95b,_0x111e55)=>{const _0x293a38=_0x198797;_0x5b81f9[_0x293a38(0x15c)](_0x293a38(0x128),()=>{const _0x24c438=_0x293a38;_0x41ae00()[_0x24c438(0x152)](_0x53c95b)[_0x24c438(0x124)](_0x111e55);});});}[_0x2ff75f(0x151)](){const _0xb5249c=_0x2ff75f;super[_0xb5249c(0x151)]();}async[_0x2ff75f(0x150)](){const _0x1ee693=_0x2ff75f;this[_0x1ee693(0x135)][_0x1ee693(0x111)]||await new Promise(_0x5ca1cd=>{const _0x52fd7e=_0x1ee693;this[_0x52fd7e(0x10c)](this[_0x52fd7e(0x135)],_0x52fd7e(0x159),_0x10a6be=>{const _0x4674b2=_0x52fd7e;_0x10a6be[_0x4674b2(0x133)](),_0x5ca1cd();});});}[_0x2ff75f(0x122)](){const _0x3f4a81=_0x2ff75f,_0x365b4b=this[_0x3f4a81(0x12f)][_0x3f4a81(0x15e)][_0x3f4a81(0x10e)](_0x53bb4d)[_0x3f4a81(0x174)][_0x3f4a81(0x169)]()[_0x3f4a81(0x10d)]();for(const _0x116174 of _0x365b4b)if(_0x3f4a81(0x147)!==_0x116174[_0x3f4a81(0x161)]||_0x116174[_0x3f4a81(0x110)])return _0x116174[_0x3f4a81(0x14b)]+0x1;}[_0x2ff75f(0x165)](){const _0x44c846=_0x2ff75f,_0x2cf82a=this[_0x44c846(0x12f)][_0x44c846(0x15e)][_0x44c846(0x10e)](_0x53bb4d);return new Promise(_0x3c9a04=>{const _0x5b0fc1=_0x44c846;_0x2cf82a[_0x5b0fc1(0x11d)]?_0x2cf82a[_0x5b0fc1(0x15c)](_0x5b0fc1(0x12e),()=>{const _0x56e555=_0x5b0fc1;_0x3c9a04(this[_0x56e555(0x122)]());}):_0x3c9a04(this[_0x5b0fc1(0x122)]());});}[_0x2ff75f(0x125)](_0x171fb4,_0x1e43cd){const _0x119399=_0x2ff75f,_0x383e44=this[_0x119399(0x109)][_0x119399(0x164)];this[_0x119399(0x153)]=_0x1e43cd;for(const _0x5720d8 of _0x171fb4){const _0x2462de=_0x383e44[_0x119399(0x145)](_0x5720d8['id']);if(_0x2462de){if((_0x5720d8[_0x119399(0x172)]||_0x5720d8[_0x119399(0x123)])&&(_0x5720d8[_0x119399(0x179)]=null),_0x2462de===this[_0x119399(0x109)][_0x119399(0x15b)]){const _0x3323fb=Math[_0x119399(0x157)](_0x2462de[_0x119399(0x123)],_0x5720d8[_0x119399(0x123)]),_0x11f9c=Math[_0x119399(0x157)](_0x2462de[_0x119399(0x172)],_0x5720d8[_0x119399(0x172)]);let _0x4eb26a;_0x2462de[_0x119399(0x123)]===_0x5720d8[_0x119399(0x123)]&&_0x2462de[_0x119399(0x172)]===_0x5720d8[_0x119399(0x172)]?(_0x4eb26a=!0x0,this[_0x119399(0x129)](_0x5720d8)):_0x5720d8[_0x119399(0x123)]===_0x3323fb&&_0x5720d8[_0x119399(0x172)]===_0x11f9c?_0x4eb26a=!0x1:(_0x2462de[_0x119399(0x123)]===_0x3323fb&&_0x2462de[_0x119399(0x172)]===_0x11f9c||this[_0x119399(0x11a)]({'revision':_0x2462de,'from':_0x11f9c,'to':_0x3323fb}),_0x4eb26a=!0x0),_0x4eb26a&&(delete _0x5720d8[_0x119399(0x172)],delete _0x5720d8[_0x119399(0x123)],delete _0x5720d8[_0x119399(0x179)],delete _0x5720d8[_0x119399(0x116)],delete _0x5720d8[_0x119399(0x177)]);}this[_0x119399(0x109)][_0x119399(0x127)](_0x5720d8),this[_0x119399(0x129)](_0x5720d8);}else this[_0x119399(0x109)][_0x119399(0x11c)](_0x5720d8);}const _0xc6faac=_0x383e44[_0x119399(0x168)]();_0xc6faac[_0x119399(0x10d)]();for(let _0x1e2789=0x0;_0x1e2789<_0xc6faac[_0x119399(0x143)]-0x1;_0x1e2789++){const _0x12c523=_0xc6faac[_0x1e2789],_0x176974=_0xc6faac[_0x1e2789+0x1];if(_0x12c523[_0x119399(0x172)]<_0x176974[_0x119399(0x123)]){const _0x50df73=_0x176974[_0x119399(0x123)],_0x4eca94=Math[_0x119399(0x157)](_0x50df73,_0x12c523[_0x119399(0x123)]);this[_0x119399(0x11a)]({'revision':_0x12c523,'from':_0x50df73,'to':_0x4eca94});}}}[_0x2ff75f(0x11a)]({revision:_0xa90cbe,from:_0x50f48a,to:_0x493276}={}){const _0x588cd3=_0x2ff75f,_0x546cc9=this[_0x588cd3(0x12f)][_0x588cd3(0x15e)][_0x588cd3(0x10e)](_0x1b75ea),_0x3fec5c=this[_0x588cd3(0x109)][_0x588cd3(0x113)]({'revision':_0xa90cbe,'from':_0x50f48a,'to':_0x493276});_0x3fec5c[_0x588cd3(0x134)]=_0x3fec5c[_0x588cd3(0x177)][_0x588cd3(0x11e)](_0xdd7247=>_0x546cc9[_0x588cd3(0x15f)](_0xdd7247)),_0xa90cbe[_0x588cd3(0x136)](_0x3fec5c);}[_0x2ff75f(0x129)](_0x48ae3e){const _0x4e70f9=_0x2ff75f,_0x8d214e={};_0x8d214e['id']=_0x48ae3e['id'];for(const _0x197b61 of Object[_0x4e70f9(0x12a)](_0x48ae3e))'id'!==_0x197b61&&(_0x8d214e[_0x197b61]=void 0x0);this[_0x4e70f9(0x109)][_0x4e70f9(0x117)](_0x8d214e['id'],_0x8d214e,!0x0);}async[_0x2ff75f(0x17b)](_0x7e3541){const _0x4c6bd8=_0x2ff75f,_0x1f1cb8=this[_0x4c6bd8(0x12f)][_0x4c6bd8(0x15e)][_0x4c6bd8(0x10e)](_0x1b75ea),{connection:_0x144054}=this[_0x4c6bd8(0x12f)][_0x4c6bd8(0x15e)][_0x4c6bd8(0x10e)](_0x37d6a6),_0x5c4af1=new Set();for(const _0x45a625 of _0x7e3541){for(const _0x5ee1dc of _0x45a625[_0x4c6bd8(0x177)])_0x61585a(_0x5ee1dc);_0x45a625[_0x4c6bd8(0x149)]&&_0x61585a(_0x45a625[_0x4c6bd8(0x149)]);}if(0x0===_0x5c4af1[_0x4c6bd8(0x14a)])return;const _0x13d1e6=await _0x365d0c[_0x4c6bd8(0x178)](_0x144054,Array[_0x4c6bd8(0x132)](_0x5c4af1));for(const _0x3b57c5 of _0x13d1e6)_0x1f1cb8[_0x4c6bd8(0x15f)](_0x3b57c5['id'])||_0x1f1cb8[_0x4c6bd8(0x12d)](_0x3b57c5);function _0x61585a(_0xf02409){const _0x33d463=_0x4c6bd8;_0x1f1cb8[_0x33d463(0x15f)](_0xf02409)||_0x5c4af1[_0x33d463(0x16b)](_0xf02409);}}}function st(_0x2d5c34){const _0x1d79e1=_0x2ff75f;return _0x2d5c34[_0x1d79e1(0x121)][_0x1d79e1(0x13b)](_0x1d79e1(0x16d))||_0x2d5c34[_0x1d79e1(0x121)][_0x1d79e1(0x13b)](_0x1d79e1(0x13d))||_0x2d5c34[_0x1d79e1(0x121)][_0x1d79e1(0x13b)](_0x1d79e1(0x14d));}
@@ -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
- function _0x1f2d(_0x2e9250,_0xc4e1ef){const _0x42b598=_0x42b5();return _0x1f2d=function(_0x1f2d6a,_0xae75fb){_0x1f2d6a=_0x1f2d6a-0xd6;let _0x742ba5=_0x42b598[_0x1f2d6a];return _0x742ba5;},_0x1f2d(_0x2e9250,_0xc4e1ef);}const _0x1c6b62=_0x1f2d;(function(_0x21ee78,_0x331473){const _0x236cc6=_0x1f2d,_0x434e3c=_0x21ee78();while(!![]){try{const _0x4523e1=parseInt(_0x236cc6(0xff))/0x1+parseInt(_0x236cc6(0x10c))/0x2+parseInt(_0x236cc6(0xfe))/0x3*(parseInt(_0x236cc6(0xf1))/0x4)+-parseInt(_0x236cc6(0x111))/0x5+-parseInt(_0x236cc6(0x108))/0x6+-parseInt(_0x236cc6(0xe8))/0x7+parseInt(_0x236cc6(0xdd))/0x8*(parseInt(_0x236cc6(0x10d))/0x9);if(_0x4523e1===_0x331473)break;else _0x434e3c['push'](_0x434e3c['shift']());}catch(_0x1723f1){_0x434e3c['push'](_0x434e3c['shift']());}}}(_0x42b5,0x2da7e));import{Plugin as _0x3154aa}from'ckeditor5/src/core.js';import{User as _0x3914cf,TrackChangesService as _0x1d348a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x534ad6}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x116247}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x30097f}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x3154aa{static [_0x1c6b62(0xf9)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1d348a)());[_0x1c6b62(0x112)];[_0x1c6b62(0x109)];static get[_0x1c6b62(0x10f)](){const _0x29ae38=_0x1c6b62;return[_0x116247,_0x29ae38(0xee),_0x534ad6];}static get[_0x1c6b62(0xdb)](){const _0x4c1f47=_0x1c6b62;return _0x4c1f47(0x104);}static get[_0x1c6b62(0xf6)](){return!0x0;}static get[_0x1c6b62(0x110)](){return!0x0;}constructor(_0x1a121a){const _0x2de949=_0x1c6b62;super(_0x1a121a);const _0x15a5a8=this[_0x2de949(0xe0)][_0x2de949(0xf0)][_0x2de949(0x10a)](_0x2de949(0xd8));this[_0x2de949(0x112)]=new Map(),this[_0x2de949(0x109)]=new CloudServicesTrackChangesAdapter[(_0x2de949(0xf9))](_0x15a5a8);}[_0x1c6b62(0x113)](){const _0x4777c6=_0x1c6b62,_0x2bb2e7=this[_0x4777c6(0xe0)][_0x4777c6(0xf3)][_0x4777c6(0x10a)](_0x534ad6),_0x5581da=this[_0x4777c6(0xe0)][_0x4777c6(0xf3)][_0x4777c6(0x10a)](_0x4777c6(0xee));return _0x5581da[_0x4777c6(0xf7)]={'getSuggestion':async _0x5cf297=>{const _0x21a683=_0x4777c6;await this[_0x21a683(0xf4)]();const _0x2d21d1=await this[_0x21a683(0x109)][_0x21a683(0x10a)](_0x5cf297)[_0x21a683(0xfc)](k);return await this[_0x21a683(0x107)]([_0x2d21d1]),_0x2d21d1;},'addSuggestion':async({id:_0x3f2aa8,type:_0x4def9c,data:_0x4a6edc,originalSuggestionId:_0x4bde32,attributes:_0x21a593})=>{const _0x3cd5c3=_0x4777c6;await this[_0x3cd5c3(0xf4)]();const _0xa9c27={'id':_0x3f2aa8,'type':_0x4def9c,'data':_0x4a6edc,'originalSuggestionId':_0x4bde32,'attributes':_0x21a593},_0x4d2a7e=await this[_0x3cd5c3(0x109)][_0x3cd5c3(0xe5)](_0x3f2aa8,_0x4def9c,_0x4a6edc,_0x4bde32,_0x21a593)[_0x3cd5c3(0xfc)](_0x323eea=>{if(q(_0x323eea))return new Promise(_0x523e31=>{const _0x16e26e=_0x1f2d;this[_0x16e26e(0x112)][_0x16e26e(0xe9)](_0x3f2aa8,{'resolve':_0x523e31,'suggestionData':_0xa9c27});});throw _0x323eea;});return this[_0x3cd5c3(0x112)][_0x3cd5c3(0xe7)](_0x3f2aa8),_0x4d2a7e;},'updateSuggestion':async(_0x38a32e,_0x26bf78)=>{const _0x852332=_0x4777c6;if(await this[_0x852332(0xf4)](),_0x852332(0xdf)!==_0x26bf78[_0x852332(0x114)])return this[_0x852332(0x109)][_0x852332(0xe2)](_0x38a32e,_0x26bf78)[_0x852332(0xfc)](k);}},this[_0x4777c6(0xd9)](this[_0x4777c6(0x109)],_0x4777c6(0xd6),(_0x7d23a5,_0x5b7f77)=>{const _0x2ad214=_0x4777c6;_0x5581da[_0x2ad214(0xde)](_0x5b7f77['id'])&&(_0x5581da[_0x2ad214(0xed)](_0x5b7f77['id'])[_0x2ad214(0x105)]=_0x5b7f77[_0x2ad214(0x105)]);}),this[_0x4777c6(0x109)][_0x4777c6(0xe6)](_0x2bb2e7[_0x4777c6(0x106)])[_0x4777c6(0x102)](_0x4407e6=>(_0x2bb2e7[_0x4777c6(0xe1)](this),this[_0x4777c6(0x107)](_0x4407e6)[_0x4777c6(0x102)](()=>{const _0x2b739b=_0x4777c6;for(const _0x5ed4d5 of _0x4407e6){_0x5581da[_0x2b739b(0xe4)](_0x5ed4d5)[_0x2b739b(0xeb)]=!0x0;}})));}async[_0x1c6b62(0x10e)](){const _0x4cb0ae=_0x1c6b62,_0x1af664=this[_0x4cb0ae(0xe0)][_0x4cb0ae(0xf3)][_0x4cb0ae(0x10a)](_0x4cb0ae(0xee)),{connection:_0x2a5860}=this[_0x4cb0ae(0xe0)][_0x4cb0ae(0xf3)][_0x4cb0ae(0x10a)](_0x534ad6),_0xea78c8=await this[_0x4cb0ae(0x109)][_0x4cb0ae(0xe6)](_0x2a5860);await this[_0x4cb0ae(0x107)](_0xea78c8);for(const {suggestionData:_0x5a0337,resolve:_0x3f2ff5}of this[_0x4cb0ae(0x112)][_0x4cb0ae(0xda)]()){let _0x567821=_0xea78c8[_0x4cb0ae(0x10b)](_0x1ca091=>_0x1ca091['id']===_0x5a0337['id']);_0x567821||(_0x567821=await this[_0x4cb0ae(0x109)][_0x4cb0ae(0xe5)](_0x5a0337['id'],_0x5a0337[_0x4cb0ae(0x101)],_0x5a0337[_0x4cb0ae(0xf5)],_0x5a0337[_0x4cb0ae(0xef)])),_0x3f2ff5(_0x567821);}for(const _0x3f00ce of _0xea78c8)_0x1af664[_0x4cb0ae(0xde)](_0x3f00ce['id'])||_0x1af664[_0x4cb0ae(0xe4)](_0x3f00ce);}async[_0x1c6b62(0xf4)](){const _0x1ceab3=_0x1c6b62;this[_0x1ceab3(0x109)][_0x1ceab3(0xea)]||await new Promise(_0x41291d=>{const _0x1b5d10=_0x1ceab3;this[_0x1b5d10(0xd9)](this[_0x1b5d10(0x109)],_0x1b5d10(0xfb),_0x1470d7=>{const _0x7c299e=_0x1b5d10;_0x1470d7[_0x7c299e(0xf2)](),_0x41291d();});});}async[_0x1c6b62(0x107)](_0x289bfc){const _0x4f6643=_0x1c6b62,_0x345470=this[_0x4f6643(0xe0)][_0x4f6643(0xf3)][_0x4f6643(0x10a)](_0x30097f),{connection:_0x10b429}=this[_0x4f6643(0xe0)][_0x4f6643(0xf3)][_0x4f6643(0x10a)](_0x534ad6),_0x393891=new Set();for(const {authorId:_0x325f4c}of _0x289bfc)_0x345470[_0x4f6643(0xf8)](_0x325f4c)||_0x393891[_0x4f6643(0xe5)](_0x325f4c);if(0x0===_0x393891[_0x4f6643(0xfd)])return;const _0x43ac49=await _0x3914cf[_0x4f6643(0xfa)](_0x10b429,Array[_0x4f6643(0x100)](_0x393891));for(const _0x5c6187 of _0x43ac49)_0x345470[_0x4f6643(0xf8)](_0x5c6187['id'])||_0x345470[_0x4f6643(0xdc)](_0x5c6187);}}function _0x42b5(){const _0x1388b1=['isPremiumPlugin','1332245LiAaBh','_bufferedRequests','init','state','suggestionUpdated','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','listenTo','values','pluginName','addUser','16zqYwHB','hasSuggestion','open','editor','addToReconnectionStack','update','startsWith','addSuggestionData','add','connect','delete','858795mtQYIh','set','isConnected','_saved','cloud-services-internal-error:\x20Not\x20connected.','getSuggestion','TrackChangesEditing','originalSuggestionId','config','690208OCPEyt','off','plugins','_waitForServiceReady','data','isOfficialPlugin','adapter','getUser','TrackChangesService','getMany','connected','catch','size','3xRnLFc','200003KRRUaN','from','type','then','message','CloudServicesTrackChangesAdapter','attributes','connection','_fetchMissingUsersForThreads','846666LqsDVI','_trackChangesService','get','find','220076oIwhNp','1055961JUfIJs','reconnect','requires'];_0x42b5=function(){return _0x1388b1;};return _0x42b5();}function k(_0x372dc6){if(q(_0x372dc6))return new Promise(()=>{});throw _0x372dc6;}function q(_0x546bea){const _0x258ae4=_0x1c6b62;return _0x546bea[_0x258ae4(0x103)][_0x258ae4(0xe3)](_0x258ae4(0xec))||_0x546bea[_0x258ae4(0x103)][_0x258ae4(0xe3)](_0x258ae4(0xd7));}
23
+ const _0x15665f=_0x5760;function _0x5760(_0x278ab1,_0xe1d6e7){const _0x392b91=_0x392b();return _0x5760=function(_0x57604b,_0x5d7863){_0x57604b=_0x57604b-0x156;let _0x5328e6=_0x392b91[_0x57604b];return _0x5328e6;},_0x5760(_0x278ab1,_0xe1d6e7);}(function(_0x45ed54,_0x256624){const _0x316362=_0x5760,_0x375e28=_0x45ed54();while(!![]){try{const _0xd67be8=parseInt(_0x316362(0x16b))/0x1*(-parseInt(_0x316362(0x16a))/0x2)+parseInt(_0x316362(0x189))/0x3+-parseInt(_0x316362(0x17d))/0x4*(parseInt(_0x316362(0x171))/0x5)+-parseInt(_0x316362(0x17f))/0x6+-parseInt(_0x316362(0x183))/0x7*(parseInt(_0x316362(0x190))/0x8)+parseInt(_0x316362(0x168))/0x9+-parseInt(_0x316362(0x161))/0xa*(-parseInt(_0x316362(0x18a))/0xb);if(_0xd67be8===_0x256624)break;else _0x375e28['push'](_0x375e28['shift']());}catch(_0x992d9){_0x375e28['push'](_0x375e28['shift']());}}}(_0x392b,0xf3d3a));function _0x392b(){const _0x7b69d6=['addSuggestionData','_saved','TrackChangesService','update','TrackChangesEditing','599940pkBWnh','2356541zYibcW','size','_fetchMissingUsersForThreads','getMany','CloudServicesTrackChangesAdapter','connected','4156072vttYGA','reconnect','config','init','collaboration.channelId','originalSuggestionId','isPremiumPlugin','adapter','catch','add','_trackChangesService','from','isConnected','addToReconnectionStack','connection','message','suggestionUpdated','values','130jXuRRw','state','get','type','addUser','data','cloud-services-internal-error:\x20Request\x20timeout.','7989345HDqaWR','delete','262952TtMyRU','1pORloi','then','plugins','hasSuggestion','set','off','1014330vtVpTr','requires','getUser','listenTo','connect','_bufferedRequests','pluginName','getSuggestion','find','editor','attributes','_waitForServiceReady','12BsPaHr','cloud-services-internal-error:\x20Not\x20connected.','3452238xsgQpn','isOfficialPlugin','startsWith','open','21BvAyIW'];_0x392b=function(){return _0x7b69d6;};return _0x392b();}import{Plugin as _0x36387d}from'ckeditor5/src/core.js';import{User as _0x2f1f54,TrackChangesService as _0x32caba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x536386}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xd7c035}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3f0227}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x36387d{static [_0x15665f(0x186)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x32caba)());[_0x15665f(0x176)];[_0x15665f(0x159)];static get[_0x15665f(0x172)](){const _0x57f4a6=_0x15665f;return[_0xd7c035,_0x57f4a6(0x188),_0x536386];}static get[_0x15665f(0x177)](){const _0x3d0515=_0x15665f;return _0x3d0515(0x18e);}static get[_0x15665f(0x180)](){return!0x0;}static get[_0x15665f(0x196)](){return!0x0;}constructor(_0x1c1d56){const _0x188889=_0x15665f;super(_0x1c1d56);const _0x4c2c82=this[_0x188889(0x17a)][_0x188889(0x192)][_0x188889(0x163)](_0x188889(0x194));this[_0x188889(0x176)]=new Map(),this[_0x188889(0x159)]=new CloudServicesTrackChangesAdapter[(_0x188889(0x186))](_0x4c2c82);}[_0x15665f(0x193)](){const _0x2e7bf5=_0x15665f,_0x43e105=this[_0x2e7bf5(0x17a)][_0x2e7bf5(0x16d)][_0x2e7bf5(0x163)](_0x536386),_0x3fe850=this[_0x2e7bf5(0x17a)][_0x2e7bf5(0x16d)][_0x2e7bf5(0x163)](_0x2e7bf5(0x188));return _0x3fe850[_0x2e7bf5(0x156)]={'getSuggestion':async _0x18530b=>{const _0x3f0f44=_0x2e7bf5;await this[_0x3f0f44(0x17c)]();const _0x15848a=await this[_0x3f0f44(0x159)][_0x3f0f44(0x163)](_0x18530b)[_0x3f0f44(0x157)](A);return await this[_0x3f0f44(0x18c)]([_0x15848a]),_0x15848a;},'addSuggestion':async({id:_0x66a8c1,type:_0xba0f48,data:_0x14419e,originalSuggestionId:_0x2f193b,attributes:_0x22a65c})=>{const _0x1991e6=_0x2e7bf5;await this[_0x1991e6(0x17c)]();const _0x344292={'id':_0x66a8c1,'type':_0xba0f48,'data':_0x14419e,'originalSuggestionId':_0x2f193b,'attributes':_0x22a65c},_0x346511=await this[_0x1991e6(0x159)][_0x1991e6(0x158)](_0x66a8c1,_0xba0f48,_0x14419e,_0x2f193b,_0x22a65c)[_0x1991e6(0x157)](_0x13a3bc=>{if(st(_0x13a3bc))return new Promise(_0xb75129=>{const _0x283ec2=_0x5760;this[_0x283ec2(0x176)][_0x283ec2(0x16f)](_0x66a8c1,{'resolve':_0xb75129,'suggestionData':_0x344292});});throw _0x13a3bc;});return this[_0x1991e6(0x176)][_0x1991e6(0x169)](_0x66a8c1),_0x346511;},'updateSuggestion':async(_0x5c9c4f,_0x5cb74c)=>{const _0x5bf638=_0x2e7bf5;if(await this[_0x5bf638(0x17c)](),_0x5bf638(0x182)!==_0x5cb74c[_0x5bf638(0x162)])return this[_0x5bf638(0x159)][_0x5bf638(0x187)](_0x5c9c4f,_0x5cb74c)[_0x5bf638(0x157)](A);}},this[_0x2e7bf5(0x174)](this[_0x2e7bf5(0x159)],_0x2e7bf5(0x15f),(_0x3ad9d3,_0x4424dc)=>{const _0x5c9aa8=_0x2e7bf5;_0x3fe850[_0x5c9aa8(0x16e)](_0x4424dc['id'])&&(_0x3fe850[_0x5c9aa8(0x178)](_0x4424dc['id'])[_0x5c9aa8(0x17b)]=_0x4424dc[_0x5c9aa8(0x17b)]);}),this[_0x2e7bf5(0x159)][_0x2e7bf5(0x175)](_0x43e105[_0x2e7bf5(0x15d)])[_0x2e7bf5(0x16c)](_0x30b9dc=>(_0x43e105[_0x2e7bf5(0x15c)](this),this[_0x2e7bf5(0x18c)](_0x30b9dc)[_0x2e7bf5(0x16c)](()=>{const _0x44d6b6=_0x2e7bf5;for(const _0x4f37f0 of _0x30b9dc){_0x3fe850[_0x44d6b6(0x184)](_0x4f37f0)[_0x44d6b6(0x185)]=!0x0;}})));}async[_0x15665f(0x191)](){const _0x5479f4=_0x15665f,_0x10c2ce=this[_0x5479f4(0x17a)][_0x5479f4(0x16d)][_0x5479f4(0x163)](_0x5479f4(0x188)),{connection:_0x1d2685}=this[_0x5479f4(0x17a)][_0x5479f4(0x16d)][_0x5479f4(0x163)](_0x536386),_0x185013=await this[_0x5479f4(0x159)][_0x5479f4(0x175)](_0x1d2685);await this[_0x5479f4(0x18c)](_0x185013);for(const {suggestionData:_0x4c4ce3,resolve:_0x306451}of this[_0x5479f4(0x176)][_0x5479f4(0x160)]()){let _0x5b8cae=_0x185013[_0x5479f4(0x179)](_0x2313c6=>_0x2313c6['id']===_0x4c4ce3['id']);_0x5b8cae||(_0x5b8cae=await this[_0x5479f4(0x159)][_0x5479f4(0x158)](_0x4c4ce3['id'],_0x4c4ce3[_0x5479f4(0x164)],_0x4c4ce3[_0x5479f4(0x166)],_0x4c4ce3[_0x5479f4(0x195)])),_0x306451(_0x5b8cae);}for(const _0x4377eb of _0x185013)_0x10c2ce[_0x5479f4(0x16e)](_0x4377eb['id'])||_0x10c2ce[_0x5479f4(0x184)](_0x4377eb);}async[_0x15665f(0x17c)](){const _0x674178=_0x15665f;this[_0x674178(0x159)][_0x674178(0x15b)]||await new Promise(_0x45f027=>{const _0x5d37b7=_0x674178;this[_0x5d37b7(0x174)](this[_0x5d37b7(0x159)],_0x5d37b7(0x18f),_0x53d0be=>{const _0x59a0b2=_0x5d37b7;_0x53d0be[_0x59a0b2(0x170)](),_0x45f027();});});}async[_0x15665f(0x18c)](_0x24ae5f){const _0x2cd662=_0x15665f,_0x457184=this[_0x2cd662(0x17a)][_0x2cd662(0x16d)][_0x2cd662(0x163)](_0x3f0227),{connection:_0x1fac29}=this[_0x2cd662(0x17a)][_0x2cd662(0x16d)][_0x2cd662(0x163)](_0x536386),_0x3586f8=new Set();for(const {authorId:_0x97b2bd}of _0x24ae5f)_0x457184[_0x2cd662(0x173)](_0x97b2bd)||_0x3586f8[_0x2cd662(0x158)](_0x97b2bd);if(0x0===_0x3586f8[_0x2cd662(0x18b)])return;const _0x53256=await _0x2f1f54[_0x2cd662(0x18d)](_0x1fac29,Array[_0x2cd662(0x15a)](_0x3586f8));for(const _0x114eb1 of _0x53256)_0x457184[_0x2cd662(0x173)](_0x114eb1['id'])||_0x457184[_0x2cd662(0x165)](_0x114eb1);}}function A(_0x332416){if(st(_0x332416))return new Promise(()=>{});throw _0x332416;}function st(_0x3f9779){const _0x28e320=_0x15665f;return _0x3f9779[_0x28e320(0x15e)][_0x28e320(0x181)](_0x28e320(0x17e))||_0x3f9779[_0x28e320(0x15e)][_0x28e320(0x181)](_0x28e320(0x167));}
@@ -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;}}