@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.2 → 47.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x2794bb=_0x16d9;(function(_0x36c19f,_0x48c1ce){const _0x535ef8=_0x16d9,_0x5dbe68=_0x36c19f();while(!![]){try{const _0x1fc8a4=-parseInt(_0x535ef8(0x178))/0x1*(parseInt(_0x535ef8(0x1a1))/0x2)+-parseInt(_0x535ef8(0x18e))/0x3*(parseInt(_0x535ef8(0x19a))/0x4)+-parseInt(_0x535ef8(0x1a7))/0x5*(parseInt(_0x535ef8(0x177))/0x6)+-parseInt(_0x535ef8(0x167))/0x7+-parseInt(_0x535ef8(0x1a4))/0x8*(-parseInt(_0x535ef8(0x19b))/0x9)+-parseInt(_0x535ef8(0x180))/0xa+-parseInt(_0x535ef8(0x188))/0xb*(-parseInt(_0x535ef8(0x173))/0xc);if(_0x1fc8a4===_0x48c1ce)break;else _0x5dbe68['push'](_0x5dbe68['shift']());}catch(_0x4823dd){_0x5dbe68['push'](_0x5dbe68['shift']());}}}(_0x4d98,0xf3638));import{ContextPlugin as _0x4ca6cd}from'ckeditor5/src/core.js';function _0x4d98(){const _0x44b189=['9DemOfQ','connect','connected','removeFromReconnectionStack','has','change:me','178IhUeXV','then','code','14004400kaSHLy','isPremiumPlugin','bind','5fqeXCF','websocketgateway-plugin-already-registered','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','destroy','Connected\x20users\x20limit\x20exceeded','requires','cloudservices-init','CONNECTED','showWarning','pluginName','disconnect','5132022bgKouG','real-time-collaboration','isInReconnectionStack','token','CONNECTING','online','DISCONNECTED','websocketgateway-missing-websocket-url','init','_reconnectionStack','_domEmitter','cloudservices-reconnection-error','938076JjiObw','_isBrowserOffline','WebSocketGateway','stopListening','3564306HQBNjl','5011RsFuPt','_reconnect','limitExceeded','websocketgateway-missing-token','webSocketUrl','_shouldPluginsReconnect','offline','get','5534060uWAJFO','context','CloudServices','delete','plugins','all','set','constructor','451oGaLis','error','from','listenTo','config','reconnect','21eibkyH','connection','define','function','initialReconnectionInterval','cloudServices.connectionTimeout','cloudServices.requestTimeout','state','addToReconnectionStack','websocketgateway-invalid-plugin-interface','catch','isOfficialPlugin','932652RWFcoP'];_0x4d98=function(){return _0x44b189;};return _0x4d98();}import{DomEmitterMixin as _0x1d1221,CKEditorError as _0x2735ee}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xac886f,WEB_SOCKET_GATEWAY_STATES as _0xa00ae2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16d9(_0x2cc12f,_0x46d27f){const _0x4d980b=_0x4d98();return _0x16d9=function(_0x16d99f,_0xab05b3){_0x16d99f=_0x16d99f-0x162;let _0x132bea=_0x4d980b[_0x16d99f];return _0x132bea;},_0x16d9(_0x2cc12f,_0x46d27f);}import{Notification as _0x452f2b}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4ca6cd{static [_0x2794bb(0x175)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xac886f)());static [_0x2794bb(0x192)]=0x3e8;[_0x2794bb(0x18f)];[_0x2794bb(0x170)];[_0x2794bb(0x17d)];[_0x2794bb(0x171)];static get[_0x2794bb(0x1ad)](){const _0x5398ef=_0x2794bb;return[_0x5398ef(0x182),_0x452f2b];}static get[_0x2794bb(0x165)](){const _0xf0035f=_0x2794bb;return _0xf0035f(0x175);}static get[_0x2794bb(0x199)](){return!0x0;}static get[_0x2794bb(0x1a5)](){return!0x0;}constructor(_0x446854){const _0x18ed8b=_0x2794bb;super(_0x446854),this[_0x18ed8b(0x186)](_0x18ed8b(0x195),_0xa00ae2[_0x18ed8b(0x163)]),this[_0x18ed8b(0x186)](_0x18ed8b(0x174),!0x1),this[_0x18ed8b(0x170)]=new Set(),this[_0x18ed8b(0x17d)]=!0x1,this[_0x18ed8b(0x171)]=new(_0x1d1221())();}[_0x2794bb(0x16f)](){const _0x3220a4=_0x2794bb,_0x203c13=this[_0x3220a4(0x181)],_0x574398=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x3220a4(0x182)),_0x22e2b9=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x452f2b);if(!_0x574398[_0x3220a4(0x16a)])throw new _0x2735ee(_0x3220a4(0x17b),this);if(!_0x574398[_0x3220a4(0x17c)])throw new _0x2735ee(_0x3220a4(0x16e),this);return this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x17e),()=>this[_0x3220a4(0x174)]=!0x0),this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x16c),()=>this[_0x3220a4(0x174)]=!0x1),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x193),0xa),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x194),0x14),WebSocketGateway[_0x3220a4(0x175)][_0x3220a4(0x19c)](_0x574398[_0x3220a4(0x16a)],_0x574398[_0x3220a4(0x17c)],{'timeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x193)),'requestTimeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x194))})[_0x3220a4(0x1a2)](_0x21c651=>{const _0x4d2b77=_0x3220a4;if(this[_0x4d2b77(0x18f)]=_0x21c651,this[_0x4d2b77(0x1a6)](_0x4d2b77(0x195))['to'](_0x21c651,_0x4d2b77(0x195),this,_0x4d2b77(0x174),(_0x32a1e2,_0x16885d)=>(_0x4d2b77(0x19d)!==_0x32a1e2&&(this[_0x4d2b77(0x17d)]=!0x0),_0x16885d||_0x32a1e2!==_0xa00ae2[_0x4d2b77(0x163)]?_0xa00ae2[_0x4d2b77(0x16d)]:this[_0x4d2b77(0x195)]==_0xa00ae2[_0x4d2b77(0x16d)]&&this[_0x4d2b77(0x17d)]?(this[_0x4d2b77(0x17d)]=!0x1,this[_0x4d2b77(0x179)](),_0xa00ae2[_0x4d2b77(0x16b)]):_0xa00ae2[_0x4d2b77(0x163)])),this[_0x4d2b77(0x18f)]['on'](_0x4d2b77(0x189),(_0x19796f,_0x10630b)=>{const _0x2a51a3=_0x4d2b77;if(_0x2a51a3(0x17a)!==_0x10630b[_0x2a51a3(0x1a3)])throw console[_0x2a51a3(0x189)](_0x10630b),new _0x2735ee(_0x2a51a3(0x162),null,{'originalError':_0x10630b});_0x22e2b9[_0x2a51a3(0x164)](_0x2a51a3(0x1a9),{'title':_0x2a51a3(0x1ac),'namespace':_0x2a51a3(0x168)});}),!_0x21c651['me'])return new Promise(_0x47f388=>_0x21c651['on'](_0x4d2b77(0x1a0),_0x47f388));})[_0x3220a4(0x198)](_0x54c0c3=>{const _0x133133=_0x3220a4;throw console[_0x133133(0x189)](_0x54c0c3),new _0x2735ee(_0x133133(0x162),null,{'originalError':_0x54c0c3});});}[_0x2794bb(0x196)](_0x5a0a35){const _0x2ea3f9=_0x2794bb;if(_0x2ea3f9(0x191)!=typeof _0x5a0a35[_0x2ea3f9(0x18d)])throw new _0x2735ee(_0x2ea3f9(0x197),this);if(this[_0x2ea3f9(0x169)](_0x5a0a35))throw new _0x2735ee(_0x2ea3f9(0x1a8),this,{'name':_0x5a0a35[_0x2ea3f9(0x187)][_0x2ea3f9(0x165)]});this[_0x2ea3f9(0x170)][_0x2ea3f9(0x1aa)](_0x5a0a35);}[_0x2794bb(0x19e)](_0x2a4197){const _0x301990=_0x2794bb;this[_0x301990(0x170)][_0x301990(0x183)](_0x2a4197);}[_0x2794bb(0x169)](_0x5d7f80){const _0x293de0=_0x2794bb;return this[_0x293de0(0x170)][_0x293de0(0x19f)](_0x5d7f80);}[_0x2794bb(0x179)](){const _0x74f68f=_0x2794bb;return this[_0x74f68f(0x18f)][_0x74f68f(0x18d)]()[_0x74f68f(0x1a2)](()=>Promise[_0x74f68f(0x185)](Array[_0x74f68f(0x18a)](this[_0x74f68f(0x170)],_0x401c58=>_0x401c58[_0x74f68f(0x18d)]())))[_0x74f68f(0x1a2)](()=>this[_0x74f68f(0x195)]=_0xa00ae2[_0x74f68f(0x163)])[_0x74f68f(0x198)](_0x5b8ed1=>{const _0x463027=_0x74f68f;throw console[_0x463027(0x189)](_0x5b8ed1),new _0x2735ee(_0x463027(0x172),this[_0x463027(0x181)]);});}[_0x2794bb(0x166)](){const _0x550532=_0x2794bb;this[_0x550532(0x18f)]&&this[_0x550532(0x18f)][_0x550532(0x166)](),this[_0x550532(0x195)]=_0xa00ae2[_0x550532(0x16d)],this[_0x550532(0x171)][_0x550532(0x176)]();}[_0x2794bb(0x1ab)](){const _0x230eb7=_0x2794bb;this[_0x230eb7(0x166)](),super[_0x230eb7(0x1ab)]();}}
23
+ const _0x4ccdf8=_0x14c4;(function(_0x16b220,_0x38a24f){const _0x51b792=_0x14c4,_0x5eaaa2=_0x16b220();while(!![]){try{const _0x4ced2d=parseInt(_0x51b792(0x10f))/0x1+-parseInt(_0x51b792(0x102))/0x2*(-parseInt(_0x51b792(0x11f))/0x3)+-parseInt(_0x51b792(0x112))/0x4*(-parseInt(_0x51b792(0xf1))/0x5)+-parseInt(_0x51b792(0xf6))/0x6+-parseInt(_0x51b792(0x11d))/0x7+parseInt(_0x51b792(0x109))/0x8+-parseInt(_0x51b792(0x10e))/0x9;if(_0x4ced2d===_0x38a24f)break;else _0x5eaaa2['push'](_0x5eaaa2['shift']());}catch(_0x1b4ca6){_0x5eaaa2['push'](_0x5eaaa2['shift']());}}}(_0x4bda,0x80939));import{ContextPlugin as _0x42fcef}from'ckeditor5/src/core.js';function _0x14c4(_0x4400af,_0x72c16f){const _0x4bda2f=_0x4bda();return _0x14c4=function(_0x14c4eb,_0x36f8e1){_0x14c4eb=_0x14c4eb-0xeb;let _0x3a07be=_0x4bda2f[_0x14c4eb];return _0x3a07be;},_0x14c4(_0x4400af,_0x72c16f);}import{DomEmitterMixin as _0x2dddf4,CKEditorError as _0x2ad2a7}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xa292bb,WEB_SOCKET_GATEWAY_STATES as _0x542c6d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3b8f20}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x42fcef{static [_0x4ccdf8(0x12e)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xa292bb)());static [_0x4ccdf8(0xee)]=0x3e8;[_0x4ccdf8(0x116)];[_0x4ccdf8(0xf9)];[_0x4ccdf8(0x11a)];[_0x4ccdf8(0x12b)];static get[_0x4ccdf8(0x119)](){const _0x2c8c37=_0x4ccdf8;return[_0x2c8c37(0xf7),_0x3b8f20];}static get[_0x4ccdf8(0xf0)](){const _0x5d9555=_0x4ccdf8;return _0x5d9555(0x12e);}static get[_0x4ccdf8(0x12c)](){return!0x0;}static get[_0x4ccdf8(0x117)](){return!0x0;}constructor(_0xccca8f){const _0x160636=_0x4ccdf8;super(_0xccca8f),this[_0x160636(0x10c)](_0x160636(0x106),_0x542c6d[_0x160636(0x11c)]),this[_0x160636(0x10c)](_0x160636(0x12f),!0x1),this[_0x160636(0xf9)]=new Set(),this[_0x160636(0x11a)]=!0x1,this[_0x160636(0x12b)]=new(_0x2dddf4())();}[_0x4ccdf8(0xf5)](){const _0x141270=_0x4ccdf8,_0x21722e=this[_0x141270(0x108)],_0x2d0252=_0x21722e[_0x141270(0xfa)][_0x141270(0x130)](_0x141270(0xf7)),_0x3a6a3c=_0x21722e[_0x141270(0xfa)][_0x141270(0x130)](_0x3b8f20);if(!_0x2d0252[_0x141270(0xfe)])throw new _0x2ad2a7(_0x141270(0x128),this);if(!_0x2d0252[_0x141270(0x122)])throw new _0x2ad2a7(_0x141270(0x125),this);return this[_0x141270(0x12b)][_0x141270(0xf4)](window,_0x141270(0x115),()=>this[_0x141270(0x12f)]=!0x0),this[_0x141270(0x12b)][_0x141270(0xf4)](window,_0x141270(0x11b),()=>this[_0x141270(0x12f)]=!0x1),this[_0x141270(0x108)][_0x141270(0xef)][_0x141270(0x121)](_0x141270(0x10b),0xa),this[_0x141270(0x108)][_0x141270(0xef)][_0x141270(0x121)](_0x141270(0xf3),0x14),WebSocketGateway[_0x141270(0x12e)][_0x141270(0x113)](_0x2d0252[_0x141270(0xfe)],_0x2d0252[_0x141270(0x122)],{'timeout':0x3e8*this[_0x141270(0x108)][_0x141270(0xef)][_0x141270(0x130)](_0x141270(0x10b)),'requestTimeout':0x3e8*this[_0x141270(0x108)][_0x141270(0xef)][_0x141270(0x130)](_0x141270(0xf3))})[_0x141270(0x127)](_0x1c9d43=>{const _0xa8356d=_0x141270;if(this[_0xa8356d(0x116)]=_0x1c9d43,this[_0xa8356d(0x100)](_0xa8356d(0x106))['to'](_0x1c9d43,_0xa8356d(0x106),this,_0xa8356d(0x12f),(_0x599383,_0x2b4cdf)=>(_0xa8356d(0x12a)!==_0x599383&&(this[_0xa8356d(0x11a)]=!0x0),_0x2b4cdf||_0x599383!==_0x542c6d[_0xa8356d(0x11c)]?_0x542c6d[_0xa8356d(0xf2)]:this[_0xa8356d(0x106)]==_0x542c6d[_0xa8356d(0xf2)]&&this[_0xa8356d(0x11a)]?(this[_0xa8356d(0x11a)]=!0x1,this[_0xa8356d(0x120)](),_0x542c6d[_0xa8356d(0x111)]):_0x542c6d[_0xa8356d(0x11c)])),this[_0xa8356d(0x116)]['on'](_0xa8356d(0x124),(_0x58a990,_0x35ffa2)=>{const _0x26d5fd=_0xa8356d;if(_0x26d5fd(0xec)!==_0x35ffa2[_0x26d5fd(0x12d)])throw console[_0x26d5fd(0x124)](_0x35ffa2),new _0x2ad2a7(_0x26d5fd(0x11e),null,{'originalError':_0x35ffa2});_0x3a6a3c[_0x26d5fd(0x10d)](_0x26d5fd(0x123),{'title':_0x26d5fd(0x131),'namespace':_0x26d5fd(0x107)});}),!_0x1c9d43['me'])return new Promise(_0x31b653=>_0x1c9d43['on'](_0xa8356d(0xfd),_0x31b653));})[_0x141270(0x118)](_0x457482=>{const _0xa492ca=_0x141270;throw console[_0xa492ca(0x124)](_0x457482),new _0x2ad2a7(_0xa492ca(0x11e),null,{'originalError':_0x457482});});}[_0x4ccdf8(0x104)](_0x50496d){const _0x33556e=_0x4ccdf8;if(_0x33556e(0x103)!=typeof _0x50496d[_0x33556e(0x114)])throw new _0x2ad2a7(_0x33556e(0xfb),this);if(this[_0x33556e(0x126)](_0x50496d))throw new _0x2ad2a7(_0x33556e(0xfc),this,{'name':_0x50496d[_0x33556e(0x10a)][_0x33556e(0xf0)]});this[_0x33556e(0xf9)][_0x33556e(0xed)](_0x50496d);}[_0x4ccdf8(0x133)](_0x3ae148){const _0x3c9d86=_0x4ccdf8;this[_0x3c9d86(0xf9)][_0x3c9d86(0x110)](_0x3ae148);}[_0x4ccdf8(0x126)](_0x4f2303){const _0x2d712d=_0x4ccdf8;return this[_0x2d712d(0xf9)][_0x2d712d(0x101)](_0x4f2303);}[_0x4ccdf8(0x120)](){const _0x28e23f=_0x4ccdf8;return this[_0x28e23f(0x116)][_0x28e23f(0x114)]()[_0x28e23f(0x127)](()=>Promise[_0x28e23f(0xeb)](Array[_0x28e23f(0x105)](this[_0x28e23f(0xf9)],_0x74f1d0=>_0x74f1d0[_0x28e23f(0x114)]())))[_0x28e23f(0x127)](()=>this[_0x28e23f(0x106)]=_0x542c6d[_0x28e23f(0x11c)])[_0x28e23f(0x118)](_0x2417c4=>{const _0x534422=_0x28e23f;throw console[_0x534422(0x124)](_0x2417c4),new _0x2ad2a7(_0x534422(0xff),this[_0x534422(0x108)]);});}[_0x4ccdf8(0x132)](){const _0x506189=_0x4ccdf8;this[_0x506189(0x116)]&&this[_0x506189(0x116)][_0x506189(0x132)](),this[_0x506189(0x106)]=_0x542c6d[_0x506189(0xf2)],this[_0x506189(0x12b)][_0x506189(0xf8)]();}[_0x4ccdf8(0x129)](){const _0x12960d=_0x4ccdf8;this[_0x12960d(0x132)](),super[_0x12960d(0x129)]();}}function _0x4bda(){const _0x32d525=['_reconnectionStack','plugins','websocketgateway-invalid-plugin-interface','websocketgateway-plugin-already-registered','change:me','token','cloudservices-reconnection-error','bind','has','4jZhzDf','function','addToReconnectionStack','from','state','real-time-collaboration','context','5889760oONVtd','constructor','cloudServices.connectionTimeout','set','showWarning','10909170uhqHRd','945126GLGwtD','delete','CONNECTING','4hLjYBq','connect','reconnect','offline','connection','isPremiumPlugin','catch','requires','_shouldPluginsReconnect','online','CONNECTED','7253470zfBjwG','cloudservices-init','1460607qUhjfY','_reconnect','define','webSocketUrl','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.','error','websocketgateway-missing-websocket-url','isInReconnectionStack','then','websocketgateway-missing-token','destroy','connected','_domEmitter','isOfficialPlugin','code','WebSocketGateway','_isBrowserOffline','get','Connected\x20users\x20limit\x20exceeded','disconnect','removeFromReconnectionStack','all','limitExceeded','add','initialReconnectionInterval','config','pluginName','1918255hYINUJ','DISCONNECTED','cloudServices.requestTimeout','listenTo','init','1582476YqtDvF','CloudServices','stopListening'];_0x4bda=function(){return _0x32d525;};return _0x4bda();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x510397=_0x4bae;function _0x1182(){var _0x41ef55=['isPremiumPlugin','16209BauQFu','14425TWoVnq','604XPhwAy','isOfficialPlugin','RealTimeCollaborativeEditing','407890OSRbZA','231CknJqE','1096xdyOAZ','1503552sIOFpx','pluginName','2323349hrDivA','248784TsrbRU','3awYOzv','requires','1029531ypKRsU'];_0x1182=function(){return _0x41ef55;};return _0x1182();}(function(_0x15e592,_0x5d9c){var _0x2f0b60=_0x4bae,_0x382398=_0x15e592();while(!![]){try{var _0x279f13=parseInt(_0x2f0b60(0x130))/0x1*(-parseInt(_0x2f0b60(0x12f))/0x2)+parseInt(_0x2f0b60(0x132))/0x3+parseInt(_0x2f0b60(0x126))/0x4*(-parseInt(_0x2f0b60(0x125))/0x5)+-parseInt(_0x2f0b60(0x12c))/0x6+parseInt(_0x2f0b60(0x12e))/0x7+parseInt(_0x2f0b60(0x12b))/0x8*(-parseInt(_0x2f0b60(0x124))/0x9)+parseInt(_0x2f0b60(0x129))/0xa*(parseInt(_0x2f0b60(0x12a))/0xb);if(_0x279f13===_0x5d9c)break;else _0x382398['push'](_0x382398['shift']());}catch(_0x235af7){_0x382398['push'](_0x382398['shift']());}}}(_0x1182,0x370e9));function _0x4bae(_0x9974cd,_0x16ff9e){var _0x118235=_0x1182();return _0x4bae=function(_0x4baeb8,_0x1d1122){_0x4baeb8=_0x4baeb8-0x124;var _0x3098b3=_0x118235[_0x4baeb8];return _0x3098b3;},_0x4bae(_0x9974cd,_0x16ff9e);}import{Plugin as _0x58f413}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x3b968d}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x58f413{static get[_0x510397(0x131)](){return[_0x3b968d];}static get[_0x510397(0x12d)](){var _0x1064cd=_0x510397;return _0x1064cd(0x128);}static get[_0x510397(0x127)](){return!0x0;}static get[_0x510397(0x133)](){return!0x0;}}
23
+ function _0x3236(){var _0x347384=['11967424aiIhdg','5855928GYZOBX','1PjLoTJ','1698324ScooNU','RealTimeCollaborativeEditing','pluginName','isOfficialPlugin','1810696BJIRDf','isPremiumPlugin','1555424wmeAdu','6871837BfKJYx','requires','1194590dsQiAC'];_0x3236=function(){return _0x347384;};return _0x3236();}var _0x36bf25=_0x1c68;(function(_0x41099f,_0x20a077){var _0x1c0260=_0x1c68,_0x4cbe9f=_0x41099f();while(!![]){try{var _0x2233c6=-parseInt(_0x1c0260(0x1b8))/0x1*(parseInt(_0x1c0260(0x1b2))/0x2)+parseInt(_0x1c0260(0x1ac))/0x3+-parseInt(_0x1c0260(0x1b0))/0x4+-parseInt(_0x1c0260(0x1b5))/0x5+parseInt(_0x1c0260(0x1b7))/0x6+-parseInt(_0x1c0260(0x1b3))/0x7+parseInt(_0x1c0260(0x1b6))/0x8;if(_0x2233c6===_0x20a077)break;else _0x4cbe9f['push'](_0x4cbe9f['shift']());}catch(_0x3f5bd1){_0x4cbe9f['push'](_0x4cbe9f['shift']());}}}(_0x3236,0x8f515));import{Plugin as _0x383229}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x21659b}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1c68(_0x292540,_0x32d571){var _0x3236dd=_0x3236();return _0x1c68=function(_0x1c686e,_0x58aaf6){_0x1c686e=_0x1c686e-0x1ac;var _0x51c5cb=_0x3236dd[_0x1c686e];return _0x51c5cb;},_0x1c68(_0x292540,_0x32d571);}export class RealTimeCollaborativeEditing extends _0x383229{static get[_0x36bf25(0x1b4)](){return[_0x21659b];}static get[_0x36bf25(0x1ae)](){var _0x4ee32d=_0x36bf25;return _0x4ee32d(0x1ad);}static get[_0x36bf25(0x1af)](){return!0x0;}static get[_0x36bf25(0x1b1)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35966e=_0x5658;(function(_0x3a6793,_0x5a53e5){const _0x18c3ae=_0x5658,_0x26d10c=_0x3a6793();while(!![]){try{const _0x928ca4=-parseInt(_0x18c3ae(0xda))/0x1+parseInt(_0x18c3ae(0xec))/0x2+parseInt(_0x18c3ae(0xf7))/0x3*(-parseInt(_0x18c3ae(0xca))/0x4)+-parseInt(_0x18c3ae(0x12e))/0x5+parseInt(_0x18c3ae(0xd0))/0x6+-parseInt(_0x18c3ae(0x11b))/0x7*(parseInt(_0x18c3ae(0xf0))/0x8)+parseInt(_0x18c3ae(0xf2))/0x9;if(_0x928ca4===_0x5a53e5)break;else _0x26d10c['push'](_0x26d10c['shift']());}catch(_0x1061bd){_0x26d10c['push'](_0x26d10c['shift']());}}}(_0x205b,0xca80c));import{Plugin as _0x166364}from'ckeditor5/src/core.js';function _0x205b(){const _0xcf6be=['size','has','connection','catch','6687150wNQPYM','_update','addToReconnectionStack','pluginName','_getLatestVersionFromServerOperations','state','currentRevision','creatorId','_waitForServiceReady','connected','1344185DbhjOL','isEmptyCurrent','updateRevisions','_revisionDataBuilder','_revisionTracker','400','cloud-services-internal-error:\x20Not\x20connected.','max','reconnect','setRevisionData','_createCurrentRevision','_isConnected','_bufferedUpdates','connect','marker','isOfficialPlugin','get','createdAt','1142470HhznND','isBundleUploaded','change:_isPendingUpdate','getMany','142768GRpuen','diffData','22100310WgYCwd','then','getRevisions','message','RevisionHistoryService','129VjQBEH','bind','plugins','setSource','type','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','data','_handleRevisionsUpdate','requires','change:_isConnected','CloudServicesRevisionHistoryAdapter','startsWith','off','_bufferUpdate','reverse','adapter','wrongRequestId','_revisions','reInit','collaboration.channelId','buildRevisionData','CONNECTED','authors','init','editor','isEnabled','map','once','_revisionHistoryService','keys','config','sessionId','_oldOffset','_getLatestVersion','_preventResendingRevisionData','203BrRmdu','_startingVersion','listenTo','sendBufferedUpdates','RevisionHistory','authorsIds','getOperations','_fetchMissingUsers','addUser','_offset','toVersion','remove','getUser','baseVersion','code','_fixRevision','_isPendingUpdate','_handleReconnectionError','isPremiumPlugin','4042450MXumXN','affectsData','cloudServices.bundleVersion','add','serverHistory','getRevision','destroy','fromVersion','isConnected','from','revisionsUpdated','repository','_lastRequestId','RevisionTracker','length','59692ppflLl','cloud-services-internal-error:\x20Request\x20timeout.'];_0x205b=function(){return _0xcf6be;};return _0x205b();}import{version as _0x332bed}from'ckeditor5/src/utils.js';import{Users as _0x4baeef}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x19d2fb}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5e189f}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5658(_0x2f2d38,_0x29d0d7){const _0x205b00=_0x205b();return _0x5658=function(_0x5658d3,_0x1684b5){_0x5658d3=_0x5658d3-0xbf;let _0x430605=_0x205b00[_0x5658d3];return _0x430605;},_0x5658(_0x2f2d38,_0x29d0d7);}import{Sessions as _0x58b085}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4a4683,RevisionHistoryService as _0x28bc93,User as _0x1933eb,WEB_SOCKET_GATEWAY_STATES as _0x363922}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x166364{static [_0x35966e(0xf6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x28bc93)());[_0x35966e(0xc7)];[_0x35966e(0xde)];[_0x35966e(0x114)];[_0x35966e(0x118)];static get[_0x35966e(0x100)](){const _0x4f09e4=_0x35966e;return[_0x5e189f,_0x19d2fb,_0x4f09e4(0x11f),_0x58b085,_0x4baeef];}static get[_0x35966e(0xd3)](){const _0x348655=_0x35966e;return _0x348655(0x102);}static get[_0x35966e(0xe9)](){return!0x0;}static get[_0x35966e(0x12d)](){return!0x0;}constructor(_0x3a4e10){const _0x445f44=_0x35966e;super(_0x3a4e10);const _0x4c21ca=this[_0x445f44(0x110)][_0x445f44(0x116)][_0x445f44(0xea)](_0x445f44(0x10b));this[_0x445f44(0xc7)]=null,this[_0x445f44(0xde)]=this[_0x445f44(0x110)][_0x445f44(0xf9)][_0x445f44(0xea)](_0x445f44(0xc8)),this[_0x445f44(0x114)]=new CloudServicesRevisionHistoryAdapter[(_0x445f44(0xf6))](_0x4c21ca);}async[_0x35966e(0x10f)](){const _0x4d4f57=_0x35966e,_0x44528b=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x19d2fb),_0x50468f=_0x44528b[_0x4d4f57(0xbf)],_0x252d39=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x5e189f);this[_0x4d4f57(0xde)][_0x4d4f57(0xfa)]({'history':_0x50468f,'getLatestVersion':()=>this[_0x4d4f57(0x119)](),'getCurrentRevisionId':()=>_0x44528b[_0x4d4f57(0x117)]});const _0x4350e3=this[_0x4d4f57(0x110)][_0x4d4f57(0x116)][_0x4d4f57(0xea)](_0x4d4f57(0x130))||_0x332bed,_0x3028ef=await _0x4a4683[_0x4d4f57(0xed)](_0x252d39[_0x4d4f57(0xce)],_0x4350e3);this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x4d4f57(0x11f))[_0x4d4f57(0x107)]={'getRevision':async({revisionId:_0x4ce718})=>(await this[_0x4d4f57(0xd8)](),await this[_0x4d4f57(0x114)][_0x4d4f57(0xc0)](_0x4ce718)),'updateRevisions':async _0xdf08b4=>{const _0x4c4b57=_0x4d4f57;await this[_0x4c4b57(0xd8)]();const _0x351963=this[_0x4c4b57(0xde)][_0x4c4b57(0xd6)];if(_0x3028ef&&0x1===_0xdf08b4[_0x4c4b57(0xc9)]&&_0xdf08b4[0x0]['id']===_0x351963['id'])return _0xdf08b4;for(const _0x21c145 of _0xdf08b4)_0x21c145['id']===_0x351963['id']&&(_0x21c145[_0x4c4b57(0xdb)]=_0x21c145[_0x4c4b57(0xc2)]===_0x21c145[_0x4c4b57(0x125)]);return this[_0x4c4b57(0x114)][_0x4c4b57(0xdc)](_0xdf08b4,this[_0x4c4b57(0xc7)])[_0x4c4b57(0xf3)](_0x126d76=>(this[_0x4c4b57(0xc7)]=_0x126d76,_0xdf08b4))[_0x4c4b57(0xcf)](_0xc837d1=>{const _0x4dd616=_0x4c4b57;if(Z(_0xc837d1)||_0x4dd616(0xdf)===_0xc837d1[_0x4dd616(0x129)]&&void 0x0!==_0xc837d1[_0x4dd616(0xfe)][_0x4dd616(0x108)]){for(const _0x1186cf of _0xdf08b4){!this[_0x4dd616(0xde)][_0x4dd616(0xc6)][_0x4dd616(0xc0)](_0x1186cf['id'])||this[_0x4dd616(0xde)][_0x4dd616(0x105)](_0x1186cf['id'],_0x1186cf,!0x1);}if(Z(_0xc837d1))throw _0xc837d1;return _0xdf08b4;}throw _0xc837d1;});}},this[_0x4d4f57(0x11d)](this[_0x4d4f57(0x114)],_0x4d4f57(0xc5),(_0x15a6ef,{revisionsData:_0xdbb832,requestId:_0x4c222f})=>{const _0x412944=_0x4d4f57;Math[_0x412944(0xe1)](..._0xdbb832[_0x412944(0x112)](_0x1078ca=>_0x1078ca[_0x412944(0x125)]))>this[_0x412944(0xd4)]()-0x1?this[_0x412944(0x119)]()[_0x412944(0xf3)](()=>{const _0x4d59dd=_0x412944;this[_0x4d59dd(0xff)](_0xdbb832,_0x4c222f);}):this[_0x412944(0xff)](_0xdbb832,_0x4c222f);});const {revisions:_0x20d5b8,requestId:_0x3f9855}=await this[_0x4d4f57(0x114)][_0x4d4f57(0xe7)](_0x252d39[_0x4d4f57(0xce)]);_0x252d39[_0x4d4f57(0xd2)](this),this[_0x4d4f57(0xc7)]=_0x3f9855,await this[_0x4d4f57(0x122)](_0x20d5b8);for(const _0x1fae20 of _0x20d5b8)this[_0x4d4f57(0xde)][_0x4d4f57(0xfd)](_0x1fae20);this[_0x4d4f57(0x11d)](_0x44528b,_0x4d4f57(0x101),(_0x5398a8,_0x2b323b,_0x3edc48)=>{const _0x1690a6=_0x4d4f57;_0x3edc48&&(this[_0x1690a6(0x118)]=_0x44528b[_0x1690a6(0x124)],_0x5398a8[_0x1690a6(0x104)]());}),this[_0x4d4f57(0xde)][_0x4d4f57(0xf8)](_0x4d4f57(0x111))['to'](_0x252d39,_0x4d4f57(0xd5),_0x2a727e=>_0x2a727e===_0x363922[_0x4d4f57(0x10d)]);}async[_0x35966e(0xe2)](){const _0x184eed=_0x35966e,_0x403f63=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x5e189f),_0x3637b5=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x19d2fb),_0x51964e=async()=>{const _0x9b9d70=_0x184eed,_0x5d8dd=this[_0x9b9d70(0xde)][_0x9b9d70(0xd6)],_0x3dacd9=_0x5d8dd['id'],_0x3b0c98=_0x3dacd9!==_0x3637b5[_0x9b9d70(0x117)];if(_0x3b0c98){const _0x11b520=_0x3637b5[_0x9b9d70(0x124)]-this[_0x9b9d70(0x118)],_0x18fbdc=this[_0x9b9d70(0xd4)]();this[_0x9b9d70(0xde)][_0x9b9d70(0xdd)][_0x9b9d70(0x10a)]();if(_0x5d8dd[_0x9b9d70(0x125)]+_0x11b520!==_0x18fbdc){const _0x292b1d=_0x5d8dd[_0x9b9d70(0xc2)]+_0x11b520,_0x5abf1c=this[_0x9b9d70(0x110)][_0x9b9d70(0xf9)][_0x9b9d70(0xea)](_0x4baeef),_0x2c2203=this[_0x9b9d70(0xde)][_0x9b9d70(0x10c)]({'revision':_0x5d8dd,'from':_0x292b1d,'to':_0x18fbdc});_0x2c2203['id']=_0x5d8dd['id'];const _0x205aa2=_0x2c2203[_0x9b9d70(0x120)][_0x9b9d70(0x112)](_0x271a18=>_0x5abf1c[_0x9b9d70(0x127)](_0x271a18));_0x5d8dd[_0x9b9d70(0xd1)]({..._0x2c2203,'authors':_0x205aa2},!0x0),this[_0x9b9d70(0xde)][_0x9b9d70(0x105)](_0x5d8dd['id'],_0x2c2203,!0x0);}this[_0x9b9d70(0xde)][_0x9b9d70(0x11c)]=_0x18fbdc,(_0x5d8dd[_0x9b9d70(0x125)]===_0x5d8dd[_0x9b9d70(0xc2)]&&!this[_0x9b9d70(0xde)][_0x9b9d70(0xe6)][_0x9b9d70(0xcd)](_0x3dacd9)&&this[_0x9b9d70(0xde)][_0x9b9d70(0xc6)][_0x9b9d70(0x109)][_0x9b9d70(0x126)](_0x3dacd9),this[_0x9b9d70(0xde)][_0x9b9d70(0xe4)](_0x18fbdc));}const {revisions:_0x3f6b6c,requestId:_0x153c29}=await this[_0x9b9d70(0x114)][_0x9b9d70(0xe2)](_0x403f63[_0x9b9d70(0xce)],this[_0x9b9d70(0xc7)]);_0x3b0c98&&_0x3f6b6c[_0x9b9d70(0xc9)]>0x0?_0x3637b5[_0x9b9d70(0x12c)]():(await this[_0x9b9d70(0x122)](_0x3f6b6c),this[_0x9b9d70(0xff)](_0x3f6b6c,_0x153c29),this[_0x9b9d70(0xde)][_0x9b9d70(0x11e)]());};return _0x3637b5[_0x184eed(0xe5)]?_0x51964e():new Promise((_0x532284,_0x5af37a)=>{const _0x1feeaa=_0x184eed;_0x3637b5[_0x1feeaa(0x113)](_0x1feeaa(0x101),()=>{const _0x58411d=_0x1feeaa;_0x51964e()[_0x58411d(0xf3)](_0x532284)[_0x58411d(0xcf)](_0x5af37a);});});}[_0x35966e(0xc1)](){const _0xc9fdea=_0x35966e;super[_0xc9fdea(0xc1)]();}async[_0x35966e(0xd8)](){const _0x1ffb56=_0x35966e;this[_0x1ffb56(0x114)][_0x1ffb56(0xc3)]||await new Promise(_0x3934ff=>{const _0x1ef136=_0x1ffb56;this[_0x1ef136(0x11d)](this[_0x1ef136(0x114)],_0x1ef136(0xd9),_0x554851=>{const _0x21f1f8=_0x1ef136;_0x554851[_0x21f1f8(0x104)](),_0x3934ff();});});}[_0x35966e(0xd4)](){const _0x3c4c7f=_0x35966e,_0x56a6a0=this[_0x3c4c7f(0x110)][_0x3c4c7f(0xf9)][_0x3c4c7f(0xea)](_0x19d2fb)[_0x3c4c7f(0xbf)][_0x3c4c7f(0x121)]()[_0x3c4c7f(0x106)]();for(const _0x293134 of _0x56a6a0)if(_0x3c4c7f(0xe8)!==_0x293134[_0x3c4c7f(0xfb)]||_0x293134[_0x3c4c7f(0x12f)])return _0x293134[_0x3c4c7f(0x128)]+0x1;}[_0x35966e(0x119)](){const _0x3c6350=_0x35966e,_0x2babf9=this[_0x3c6350(0x110)][_0x3c6350(0xf9)][_0x3c6350(0xea)](_0x19d2fb);return new Promise(_0x5b2201=>{const _0x18d050=_0x3c6350;_0x2babf9[_0x18d050(0x12b)]?_0x2babf9[_0x18d050(0x113)](_0x18d050(0xee),()=>{const _0x46b1a7=_0x18d050;_0x5b2201(this[_0x46b1a7(0xd4)]());}):_0x5b2201(this[_0x18d050(0xd4)]());});}[_0x35966e(0xff)](_0x231e7f,_0x1dec14){const _0x490718=_0x35966e,_0x200790=this[_0x490718(0xde)][_0x490718(0xc6)];this[_0x490718(0xc7)]=_0x1dec14;for(const _0x182f76 of _0x231e7f){const _0xb1dc0a=_0x200790[_0x490718(0xc0)](_0x182f76['id']);if(_0xb1dc0a){if((_0x182f76[_0x490718(0xc2)]||_0x182f76[_0x490718(0x125)])&&(_0x182f76[_0x490718(0xf1)]=null),_0xb1dc0a===this[_0x490718(0xde)][_0x490718(0xd6)]){const _0x4afc8f=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0x125)],_0x182f76[_0x490718(0x125)]),_0x11148b=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0xc2)],_0x182f76[_0x490718(0xc2)]);let _0x3328f3;_0xb1dc0a[_0x490718(0x125)]===_0x182f76[_0x490718(0x125)]&&_0xb1dc0a[_0x490718(0xc2)]===_0x182f76[_0x490718(0xc2)]?(_0x3328f3=!0x0,this[_0x490718(0x11a)](_0x182f76)):_0x182f76[_0x490718(0x125)]===_0x4afc8f&&_0x182f76[_0x490718(0xc2)]===_0x11148b?_0x3328f3=!0x1:(_0xb1dc0a[_0x490718(0x125)]===_0x4afc8f&&_0xb1dc0a[_0x490718(0xc2)]===_0x11148b||this[_0x490718(0x12a)]({'revision':_0xb1dc0a,'from':_0x11148b,'to':_0x4afc8f}),_0x3328f3=!0x0),_0x3328f3&&(delete _0x182f76[_0x490718(0xc2)],delete _0x182f76[_0x490718(0x125)],delete _0x182f76[_0x490718(0xf1)],delete _0x182f76[_0x490718(0xeb)],delete _0x182f76[_0x490718(0x120)]);}this[_0x490718(0xde)][_0x490718(0xe3)](_0x182f76),this[_0x490718(0x11a)](_0x182f76);}else this[_0x490718(0xde)][_0x490718(0xfd)](_0x182f76);}const _0x4371a5=_0x200790[_0x490718(0xf4)]();_0x4371a5[_0x490718(0x106)]();for(let _0x711062=0x0;_0x711062<_0x4371a5[_0x490718(0xc9)]-0x1;_0x711062++){const _0xa5471a=_0x4371a5[_0x711062],_0x53f3c9=_0x4371a5[_0x711062+0x1];if(_0xa5471a[_0x490718(0xc2)]<_0x53f3c9[_0x490718(0x125)]){const _0x2abfbe=_0x53f3c9[_0x490718(0x125)],_0x1e0d6d=Math[_0x490718(0xe1)](_0x2abfbe,_0xa5471a[_0x490718(0x125)]);this[_0x490718(0x12a)]({'revision':_0xa5471a,'from':_0x2abfbe,'to':_0x1e0d6d});}}}[_0x35966e(0x12a)]({revision:_0x2b8a2c,from:_0x49dc15,to:_0x34f03a}={}){const _0x4130ef=_0x35966e,_0x1e819e=this[_0x4130ef(0x110)][_0x4130ef(0xf9)][_0x4130ef(0xea)](_0x4baeef),_0x3bd9da=this[_0x4130ef(0xde)][_0x4130ef(0x10c)]({'revision':_0x2b8a2c,'from':_0x49dc15,'to':_0x34f03a});_0x3bd9da[_0x4130ef(0x10e)]=_0x3bd9da[_0x4130ef(0x120)][_0x4130ef(0x112)](_0x1643c6=>_0x1e819e[_0x4130ef(0x127)](_0x1643c6)),_0x2b8a2c[_0x4130ef(0xd1)](_0x3bd9da);}[_0x35966e(0x11a)](_0x1a3834){const _0x4719cc=_0x35966e,_0x5e152a={};_0x5e152a['id']=_0x1a3834['id'];for(const _0x238d59 of Object[_0x4719cc(0x115)](_0x1a3834))'id'!==_0x238d59&&(_0x5e152a[_0x238d59]=void 0x0);this[_0x4719cc(0xde)][_0x4719cc(0x105)](_0x5e152a['id'],_0x5e152a,!0x0);}async[_0x35966e(0x122)](_0x77a1b3){const _0x138da3=_0x35966e,_0x177117=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x4baeef),{connection:_0x7870fa}=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x5e189f),_0x424653=new Set();for(const _0xb4495a of _0x77a1b3){for(const _0x37b61a of _0xb4495a[_0x138da3(0x120)])_0x337a4d(_0x37b61a);_0xb4495a[_0x138da3(0xd7)]&&_0x337a4d(_0xb4495a[_0x138da3(0xd7)]);}if(0x0===_0x424653[_0x138da3(0xcc)])return;const _0x1dde50=await _0x1933eb[_0x138da3(0xef)](_0x7870fa,Array[_0x138da3(0xc4)](_0x424653));for(const _0x12da4e of _0x1dde50)_0x177117[_0x138da3(0x127)](_0x12da4e['id'])||_0x177117[_0x138da3(0x123)](_0x12da4e);function _0x337a4d(_0x323755){const _0x289558=_0x138da3;_0x177117[_0x289558(0x127)](_0x323755)||_0x424653[_0x289558(0x131)](_0x323755);}}}function Z(_0x510308){const _0x5279ed=_0x35966e;return _0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xfc))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xe0))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xcb));}
23
+ const _0x1720ac=_0x5d10;(function(_0x5baa69,_0x363288){const _0x1cb8c9=_0x5d10,_0x44058e=_0x5baa69();while(!![]){try{const _0x4bf4f5=-parseInt(_0x1cb8c9(0x17e))/0x1*(parseInt(_0x1cb8c9(0x163))/0x2)+-parseInt(_0x1cb8c9(0x15e))/0x3+parseInt(_0x1cb8c9(0x1b2))/0x4+-parseInt(_0x1cb8c9(0x1aa))/0x5*(parseInt(_0x1cb8c9(0x157))/0x6)+-parseInt(_0x1cb8c9(0x167))/0x7+parseInt(_0x1cb8c9(0x19c))/0x8+parseInt(_0x1cb8c9(0x155))/0x9;if(_0x4bf4f5===_0x363288)break;else _0x44058e['push'](_0x44058e['shift']());}catch(_0xeced6f){_0x44058e['push'](_0x44058e['shift']());}}}(_0x3f0c,0xe8303));import{Plugin as _0x1e6a00}from'ckeditor5/src/core.js';import{version as _0x966ea1}from'ckeditor5/src/utils.js';import{Users as _0x10be8b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3f0c(){const _0x471310=['_fetchMissingUsers','getRevision','listenTo','7598521NsvJuF','fromVersion','getUser','requires','_handleReconnectionError','creatorId','code','once','addToReconnectionStack','message','authors','plugins','change:_isPendingUpdate','isEnabled','init','authorsIds','config','_lastRequestId','CloudServicesRevisionHistoryAdapter','wrongRequestId','affectsData','_revisionDataBuilder','setRevisionData','43003iuqHro','_preventResendingRevisionData','from','has','pluginName','isConnected','RevisionHistory','data','_createCurrentRevision','add','getOperations','_revisionTracker','addRevisionData','cloudServices.bundleVersion','marker','RevisionHistoryService','diffData','max','setSource','destroy','_bufferedUpdates','buildRevisionData','map','400','RevisionTracker','_revisions','connected','_handleRevisionsUpdate','revisionsUpdated','reInit','925920mqJsEk','isBundleUploaded','_waitForServiceReady','currentRevision','_oldOffset','_revisionHistoryService','keys','CONNECTED','_getLatestVersionFromServerOperations','change:_isConnected','get','state','getRevisions','remove','35QjNSLk','length','_bufferUpdate','updateRevisions','_startingVersion','cloud-services-internal-error:\x20Request\x20timeout.','serverHistory','sessionId','5227600nuliwf','collaboration.channelId','reverse','adapter','startsWith','_isPendingUpdate','repository','connection','type','connect','then','_update','addUser','_isConnected','createdAt','editor','isPremiumPlugin','reconnect','bind','isOfficialPlugin','off','_offset','31855752JjrkXa','_fixRevision','1039782Bggjlf','toVersion','getMany','catch','cloud-services-internal-error:\x20Not\x20connected.','size','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','3460512dtUKXq','baseVersion','sendBufferedUpdates','_getLatestVersion','isEmptyCurrent','26TWicCX'];_0x3f0c=function(){return _0x471310;};return _0x3f0c();}import{RealTimeCollaborationClient as _0x4cbc77}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x52cb44}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1b6334}from'../realtimecollaborativeediting/sessions.js';function _0x5d10(_0x22a0f6,_0x2a8fc7){const _0x3f0c3f=_0x3f0c();return _0x5d10=function(_0x5d10c6,_0xe48127){_0x5d10c6=_0x5d10c6-0x14f;let _0x4c7694=_0x3f0c3f[_0x5d10c6];return _0x4c7694;},_0x5d10(_0x22a0f6,_0x2a8fc7);}import{EditorService as _0x1cfb16,RevisionHistoryService as _0x399e4f,User as _0x46a58e,WEB_SOCKET_GATEWAY_STATES as _0xa396ee}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x1e6a00{static [_0x1720ac(0x18d)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x399e4f)());[_0x1720ac(0x178)];[_0x1720ac(0x189)];[_0x1720ac(0x1a1)];[_0x1720ac(0x1a0)];static get[_0x1720ac(0x16a)](){const _0x2cd94a=_0x1720ac;return[_0x52cb44,_0x4cbc77,_0x2cd94a(0x184),_0x1b6334,_0x10be8b];}static get[_0x1720ac(0x182)](){const _0x44f98d=_0x1720ac;return _0x44f98d(0x179);}static get[_0x1720ac(0x152)](){return!0x0;}static get[_0x1720ac(0x14f)](){return!0x0;}constructor(_0x1a24a8){const _0x16e208=_0x1720ac;super(_0x1a24a8);const _0x2900d0=this[_0x16e208(0x1c1)][_0x16e208(0x177)][_0x16e208(0x1a6)](_0x16e208(0x1b3));this[_0x16e208(0x178)]=null,this[_0x16e208(0x189)]=this[_0x16e208(0x1c1)][_0x16e208(0x172)][_0x16e208(0x1a6)](_0x16e208(0x196)),this[_0x16e208(0x1a1)]=new CloudServicesRevisionHistoryAdapter[(_0x16e208(0x18d))](_0x2900d0);}async[_0x1720ac(0x175)](){const _0x2a198a=_0x1720ac,_0x312755=this[_0x2a198a(0x1c1)][_0x2a198a(0x172)][_0x2a198a(0x1a6)](_0x4cbc77),_0x5e09a8=_0x312755[_0x2a198a(0x1b0)],_0x4ece7b=this[_0x2a198a(0x1c1)][_0x2a198a(0x172)][_0x2a198a(0x1a6)](_0x52cb44);this[_0x2a198a(0x189)][_0x2a198a(0x190)]({'history':_0x5e09a8,'getLatestVersion':()=>this[_0x2a198a(0x161)](),'getCurrentRevisionId':()=>_0x312755[_0x2a198a(0x1b1)]});const _0x366108=this[_0x2a198a(0x1c1)][_0x2a198a(0x177)][_0x2a198a(0x1a6)](_0x2a198a(0x18b))||_0x966ea1,_0x66acd=await _0x1cfb16[_0x2a198a(0x19d)](_0x4ece7b[_0x2a198a(0x1b9)],_0x366108);this[_0x2a198a(0x1c1)][_0x2a198a(0x172)][_0x2a198a(0x1a6)](_0x2a198a(0x184))[_0x2a198a(0x1b5)]={'getRevision':async({revisionId:_0x5e3f2a})=>(await this[_0x2a198a(0x19e)](),await this[_0x2a198a(0x1a1)][_0x2a198a(0x165)](_0x5e3f2a)),'updateRevisions':async _0x3e28f5=>{const _0x9a3384=_0x2a198a;await this[_0x9a3384(0x19e)]();const _0x18244e=this[_0x9a3384(0x189)][_0x9a3384(0x19f)];if(_0x66acd&&0x1===_0x3e28f5[_0x9a3384(0x1ab)]&&_0x3e28f5[0x0]['id']===_0x18244e['id'])return _0x3e28f5;for(const _0x3d0234 of _0x3e28f5)_0x3d0234['id']===_0x18244e['id']&&(_0x3d0234[_0x9a3384(0x162)]=_0x3d0234[_0x9a3384(0x168)]===_0x3d0234[_0x9a3384(0x158)]);return this[_0x9a3384(0x1a1)][_0x9a3384(0x1ad)](_0x3e28f5,this[_0x9a3384(0x178)])[_0x9a3384(0x1bc)](_0x499c59=>(this[_0x9a3384(0x178)]=_0x499c59,_0x3e28f5))[_0x9a3384(0x15a)](_0x3a62ed=>{const _0x28efe=_0x9a3384;if(st(_0x3a62ed)||_0x28efe(0x195)===_0x3a62ed[_0x28efe(0x16d)]&&void 0x0!==_0x3a62ed[_0x28efe(0x185)][_0x28efe(0x17a)]){for(const _0x1430a9 of _0x3e28f5){!this[_0x28efe(0x189)][_0x28efe(0x1b8)][_0x28efe(0x165)](_0x1430a9['id'])||this[_0x28efe(0x189)][_0x28efe(0x1ac)](_0x1430a9['id'],_0x1430a9,!0x1);}if(st(_0x3a62ed))throw _0x3a62ed;return _0x3e28f5;}throw _0x3a62ed;});}},this[_0x2a198a(0x166)](this[_0x2a198a(0x1a1)],_0x2a198a(0x19a),(_0xa077c7,{revisionsData:_0x3ab75b,requestId:_0x493f9a})=>{const _0x278f37=_0x2a198a;Math[_0x278f37(0x18f)](..._0x3ab75b[_0x278f37(0x194)](_0x54f9fb=>_0x54f9fb[_0x278f37(0x158)]))>this[_0x278f37(0x1a4)]()-0x1?this[_0x278f37(0x161)]()[_0x278f37(0x1bc)](()=>{const _0x7cac58=_0x278f37;this[_0x7cac58(0x199)](_0x3ab75b,_0x493f9a);}):this[_0x278f37(0x199)](_0x3ab75b,_0x493f9a);});const {revisions:_0x3ba1d8,requestId:_0x155059}=await this[_0x2a198a(0x1a1)][_0x2a198a(0x1bb)](_0x4ece7b[_0x2a198a(0x1b9)]);_0x4ece7b[_0x2a198a(0x16f)](this),this[_0x2a198a(0x178)]=_0x155059,await this[_0x2a198a(0x164)](_0x3ba1d8);for(const _0x56f450 of _0x3ba1d8)this[_0x2a198a(0x189)][_0x2a198a(0x18a)](_0x56f450);this[_0x2a198a(0x166)](_0x312755,_0x2a198a(0x1a5),(_0x5348c4,_0x43e48a,_0x47e55e)=>{const _0x2ce99d=_0x2a198a;_0x47e55e&&(this[_0x2ce99d(0x1a0)]=_0x312755[_0x2ce99d(0x154)],_0x5348c4[_0x2ce99d(0x153)]());}),this[_0x2a198a(0x189)][_0x2a198a(0x151)](_0x2a198a(0x174))['to'](_0x4ece7b,_0x2a198a(0x1a7),_0x2e9b1f=>_0x2e9b1f===_0xa396ee[_0x2a198a(0x1a3)]);}async[_0x1720ac(0x150)](){const _0x1eca08=_0x1720ac,_0x2da941=this[_0x1eca08(0x1c1)][_0x1eca08(0x172)][_0x1eca08(0x1a6)](_0x52cb44),_0x57e8c8=this[_0x1eca08(0x1c1)][_0x1eca08(0x172)][_0x1eca08(0x1a6)](_0x4cbc77),_0x170f29=async()=>{const _0x408ef2=_0x1eca08,_0x341755=this[_0x408ef2(0x189)][_0x408ef2(0x19f)],_0x14babd=_0x341755['id'],_0x594c8a=_0x14babd!==_0x57e8c8[_0x408ef2(0x1b1)];if(_0x594c8a){const _0x36e4a6=_0x57e8c8[_0x408ef2(0x154)]-this[_0x408ef2(0x1a0)],_0x3756fb=this[_0x408ef2(0x1a4)]();this[_0x408ef2(0x189)][_0x408ef2(0x17c)][_0x408ef2(0x19b)]();if(_0x341755[_0x408ef2(0x158)]+_0x36e4a6!==_0x3756fb){const _0x3ae759=_0x341755[_0x408ef2(0x168)]+_0x36e4a6,_0x39f21e=this[_0x408ef2(0x1c1)][_0x408ef2(0x172)][_0x408ef2(0x1a6)](_0x10be8b),_0x4cc1d5=this[_0x408ef2(0x189)][_0x408ef2(0x193)]({'revision':_0x341755,'from':_0x3ae759,'to':_0x3756fb});_0x4cc1d5['id']=_0x341755['id'];const _0x55e2d2=_0x4cc1d5[_0x408ef2(0x176)][_0x408ef2(0x194)](_0x1de038=>_0x39f21e[_0x408ef2(0x169)](_0x1de038));_0x341755[_0x408ef2(0x1bd)]({..._0x4cc1d5,'authors':_0x55e2d2},!0x0),this[_0x408ef2(0x189)][_0x408ef2(0x1ac)](_0x341755['id'],_0x4cc1d5,!0x0);}this[_0x408ef2(0x189)][_0x408ef2(0x1ae)]=_0x3756fb,(_0x341755[_0x408ef2(0x158)]===_0x341755[_0x408ef2(0x168)]&&!this[_0x408ef2(0x189)][_0x408ef2(0x192)][_0x408ef2(0x181)](_0x14babd)&&this[_0x408ef2(0x189)][_0x408ef2(0x1b8)][_0x408ef2(0x197)][_0x408ef2(0x1a9)](_0x14babd),this[_0x408ef2(0x189)][_0x408ef2(0x186)](_0x3756fb));}const {revisions:_0x3406df,requestId:_0x269952}=await this[_0x408ef2(0x1a1)][_0x408ef2(0x150)](_0x2da941[_0x408ef2(0x1b9)],this[_0x408ef2(0x178)]);_0x594c8a&&_0x3406df[_0x408ef2(0x1ab)]>0x0?_0x57e8c8[_0x408ef2(0x16b)]():(await this[_0x408ef2(0x164)](_0x3406df),this[_0x408ef2(0x199)](_0x3406df,_0x269952),this[_0x408ef2(0x189)][_0x408ef2(0x160)]());};return _0x57e8c8[_0x1eca08(0x1bf)]?_0x170f29():new Promise((_0x14dcfb,_0x527729)=>{const _0x1fb494=_0x1eca08;_0x57e8c8[_0x1fb494(0x16e)](_0x1fb494(0x1a5),()=>{const _0xebae4a=_0x1fb494;_0x170f29()[_0xebae4a(0x1bc)](_0x14dcfb)[_0xebae4a(0x15a)](_0x527729);});});}[_0x1720ac(0x191)](){const _0x4e2dd3=_0x1720ac;super[_0x4e2dd3(0x191)]();}async[_0x1720ac(0x19e)](){const _0x48d2c8=_0x1720ac;this[_0x48d2c8(0x1a1)][_0x48d2c8(0x183)]||await new Promise(_0x15b248=>{const _0x34b41f=_0x48d2c8;this[_0x34b41f(0x166)](this[_0x34b41f(0x1a1)],_0x34b41f(0x198),_0x2fd6c7=>{const _0xbc4392=_0x34b41f;_0x2fd6c7[_0xbc4392(0x153)](),_0x15b248();});});}[_0x1720ac(0x1a4)](){const _0x247efc=_0x1720ac,_0xab7e8e=this[_0x247efc(0x1c1)][_0x247efc(0x172)][_0x247efc(0x1a6)](_0x4cbc77)[_0x247efc(0x1b0)][_0x247efc(0x188)]()[_0x247efc(0x1b4)]();for(const _0x5bb0e2 of _0xab7e8e)if(_0x247efc(0x18c)!==_0x5bb0e2[_0x247efc(0x1ba)]||_0x5bb0e2[_0x247efc(0x17b)])return _0x5bb0e2[_0x247efc(0x15f)]+0x1;}[_0x1720ac(0x161)](){const _0x21a5e1=_0x1720ac,_0x58e57a=this[_0x21a5e1(0x1c1)][_0x21a5e1(0x172)][_0x21a5e1(0x1a6)](_0x4cbc77);return new Promise(_0x484af0=>{const _0x206060=_0x21a5e1;_0x58e57a[_0x206060(0x1b7)]?_0x58e57a[_0x206060(0x16e)](_0x206060(0x173),()=>{const _0x16985c=_0x206060;_0x484af0(this[_0x16985c(0x1a4)]());}):_0x484af0(this[_0x206060(0x1a4)]());});}[_0x1720ac(0x199)](_0x1f3b01,_0x233c16){const _0x52d3db=_0x1720ac,_0x58f63c=this[_0x52d3db(0x189)][_0x52d3db(0x1b8)];this[_0x52d3db(0x178)]=_0x233c16;for(const _0x27d203 of _0x1f3b01){const _0x2e33a3=_0x58f63c[_0x52d3db(0x165)](_0x27d203['id']);if(_0x2e33a3){if((_0x27d203[_0x52d3db(0x168)]||_0x27d203[_0x52d3db(0x158)])&&(_0x27d203[_0x52d3db(0x18e)]=null),_0x2e33a3===this[_0x52d3db(0x189)][_0x52d3db(0x19f)]){const _0x45a2cc=Math[_0x52d3db(0x18f)](_0x2e33a3[_0x52d3db(0x158)],_0x27d203[_0x52d3db(0x158)]),_0x48d611=Math[_0x52d3db(0x18f)](_0x2e33a3[_0x52d3db(0x168)],_0x27d203[_0x52d3db(0x168)]);let _0x18d5c0;_0x2e33a3[_0x52d3db(0x158)]===_0x27d203[_0x52d3db(0x158)]&&_0x2e33a3[_0x52d3db(0x168)]===_0x27d203[_0x52d3db(0x168)]?(_0x18d5c0=!0x0,this[_0x52d3db(0x17f)](_0x27d203)):_0x27d203[_0x52d3db(0x158)]===_0x45a2cc&&_0x27d203[_0x52d3db(0x168)]===_0x48d611?_0x18d5c0=!0x1:(_0x2e33a3[_0x52d3db(0x158)]===_0x45a2cc&&_0x2e33a3[_0x52d3db(0x168)]===_0x48d611||this[_0x52d3db(0x156)]({'revision':_0x2e33a3,'from':_0x48d611,'to':_0x45a2cc}),_0x18d5c0=!0x0),_0x18d5c0&&(delete _0x27d203[_0x52d3db(0x168)],delete _0x27d203[_0x52d3db(0x158)],delete _0x27d203[_0x52d3db(0x18e)],delete _0x27d203[_0x52d3db(0x1c0)],delete _0x27d203[_0x52d3db(0x176)]);}this[_0x52d3db(0x189)][_0x52d3db(0x17d)](_0x27d203),this[_0x52d3db(0x17f)](_0x27d203);}else this[_0x52d3db(0x189)][_0x52d3db(0x18a)](_0x27d203);}const _0x172c70=_0x58f63c[_0x52d3db(0x1a8)]();_0x172c70[_0x52d3db(0x1b4)]();for(let _0x24fa0e=0x0;_0x24fa0e<_0x172c70[_0x52d3db(0x1ab)]-0x1;_0x24fa0e++){const _0x1bc213=_0x172c70[_0x24fa0e],_0x15bd35=_0x172c70[_0x24fa0e+0x1];if(_0x1bc213[_0x52d3db(0x168)]<_0x15bd35[_0x52d3db(0x158)]){const _0x406234=_0x15bd35[_0x52d3db(0x158)],_0x2217ee=Math[_0x52d3db(0x18f)](_0x406234,_0x1bc213[_0x52d3db(0x158)]);this[_0x52d3db(0x156)]({'revision':_0x1bc213,'from':_0x406234,'to':_0x2217ee});}}}[_0x1720ac(0x156)]({revision:_0x125e4d,from:_0x364106,to:_0x3cb876}={}){const _0x1fdc8a=_0x1720ac,_0x2c8cb5=this[_0x1fdc8a(0x1c1)][_0x1fdc8a(0x172)][_0x1fdc8a(0x1a6)](_0x10be8b),_0x4836bc=this[_0x1fdc8a(0x189)][_0x1fdc8a(0x193)]({'revision':_0x125e4d,'from':_0x364106,'to':_0x3cb876});_0x4836bc[_0x1fdc8a(0x171)]=_0x4836bc[_0x1fdc8a(0x176)][_0x1fdc8a(0x194)](_0x46086c=>_0x2c8cb5[_0x1fdc8a(0x169)](_0x46086c)),_0x125e4d[_0x1fdc8a(0x1bd)](_0x4836bc);}[_0x1720ac(0x17f)](_0x1f3d8e){const _0x399181=_0x1720ac,_0x27ffbd={};_0x27ffbd['id']=_0x1f3d8e['id'];for(const _0x1a0aea of Object[_0x399181(0x1a2)](_0x1f3d8e))'id'!==_0x1a0aea&&(_0x27ffbd[_0x1a0aea]=void 0x0);this[_0x399181(0x189)][_0x399181(0x1ac)](_0x27ffbd['id'],_0x27ffbd,!0x0);}async[_0x1720ac(0x164)](_0x2bf200){const _0x279a4b=_0x1720ac,_0x4ae7e1=this[_0x279a4b(0x1c1)][_0x279a4b(0x172)][_0x279a4b(0x1a6)](_0x10be8b),{connection:_0x58c488}=this[_0x279a4b(0x1c1)][_0x279a4b(0x172)][_0x279a4b(0x1a6)](_0x52cb44),_0x265795=new Set();for(const _0x2d67bb of _0x2bf200){for(const _0x1c7512 of _0x2d67bb[_0x279a4b(0x176)])_0x37b92b(_0x1c7512);_0x2d67bb[_0x279a4b(0x16c)]&&_0x37b92b(_0x2d67bb[_0x279a4b(0x16c)]);}if(0x0===_0x265795[_0x279a4b(0x15c)])return;const _0xc74efb=await _0x46a58e[_0x279a4b(0x159)](_0x58c488,Array[_0x279a4b(0x180)](_0x265795));for(const _0x5a6fc1 of _0xc74efb)_0x4ae7e1[_0x279a4b(0x169)](_0x5a6fc1['id'])||_0x4ae7e1[_0x279a4b(0x1be)](_0x5a6fc1);function _0x37b92b(_0x5520db){const _0x5cdc6f=_0x279a4b;_0x4ae7e1[_0x5cdc6f(0x169)](_0x5520db)||_0x265795[_0x5cdc6f(0x187)](_0x5520db);}}}function st(_0x3798a1){const _0x533f78=_0x1720ac;return _0x3798a1[_0x533f78(0x170)][_0x533f78(0x1b6)](_0x533f78(0x15d))||_0x3798a1[_0x533f78(0x170)][_0x533f78(0x1b6)](_0x533f78(0x15b))||_0x3798a1[_0x533f78(0x170)][_0x533f78(0x1b6)](_0x533f78(0x1af));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x399547=_0x2293;(function(_0x231cbe,_0x4e367c){var _0x3087d4=_0x2293,_0x19a7b8=_0x231cbe();while(!![]){try{var _0x389f15=-parseInt(_0x3087d4(0x77))/0x1*(-parseInt(_0x3087d4(0x85))/0x2)+parseInt(_0x3087d4(0x82))/0x3+parseInt(_0x3087d4(0x7b))/0x4*(-parseInt(_0x3087d4(0x7f))/0x5)+-parseInt(_0x3087d4(0x7d))/0x6+parseInt(_0x3087d4(0x84))/0x7*(-parseInt(_0x3087d4(0x81))/0x8)+parseInt(_0x3087d4(0x7e))/0x9*(-parseInt(_0x3087d4(0x78))/0xa)+parseInt(_0x3087d4(0x7c))/0xb*(parseInt(_0x3087d4(0x80))/0xc);if(_0x389f15===_0x4e367c)break;else _0x19a7b8['push'](_0x19a7b8['shift']());}catch(_0x5efa92){_0x19a7b8['push'](_0x19a7b8['shift']());}}}(_0x5df5,0x4e2bb));function _0x2293(_0x52a94c,_0x4cc1ec){var _0x5df58a=_0x5df5();return _0x2293=function(_0x229398,_0x360ec6){_0x229398=_0x229398-0x76;var _0x261b2c=_0x5df58a[_0x229398];return _0x261b2c;},_0x2293(_0x52a94c,_0x4cc1ec);}function _0x5df5(){var _0x28a8e5=['requires','RevisionHistory','4ElMSBE','317845QtVXbb','1878036PtvFMO','198XAupIy','1192535TlnBYO','408YkhCjm','1110392YnNoGg','1171884fFvNTw','isPremiumPlugin','7rZQuar','15434GlapeD','pluginName','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','35DceaYS','287570xibdlw'];_0x5df5=function(){return _0x28a8e5;};return _0x5df5();}import{Plugin as _0x395b1e}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2e78e0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x488652}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x395b1e{static get[_0x399547(0x79)](){var _0xb5b397=_0x399547;return[_0xb5b397(0x7a),_0x2e78e0,_0x488652];}static get[_0x399547(0x86)](){var _0x3aa7d1=_0x399547;return _0x3aa7d1(0x76);}static get[_0x399547(0x87)](){return!0x0;}static get[_0x399547(0x83)](){return!0x0;}}
23
+ var _0x58b801=_0x1c0c;(function(_0x46b091,_0x3fd840){var _0x4d9f71=_0x1c0c,_0x36d2fb=_0x46b091();while(!![]){try{var _0x10a347=-parseInt(_0x4d9f71(0x15b))/0x1+-parseInt(_0x4d9f71(0x154))/0x2+parseInt(_0x4d9f71(0x158))/0x3+-parseInt(_0x4d9f71(0x151))/0x4*(-parseInt(_0x4d9f71(0x15a))/0x5)+parseInt(_0x4d9f71(0x14f))/0x6*(parseInt(_0x4d9f71(0x14d))/0x7)+parseInt(_0x4d9f71(0x157))/0x8+parseInt(_0x4d9f71(0x14c))/0x9*(parseInt(_0x4d9f71(0x153))/0xa);if(_0x10a347===_0x3fd840)break;else _0x36d2fb['push'](_0x36d2fb['shift']());}catch(_0x2e59c9){_0x36d2fb['push'](_0x36d2fb['shift']());}}}(_0x559d,0xe6aef));import{Plugin as _0x45da41}from'ckeditor5/src/core.js';function _0x559d(){var _0x4a7467=['35tUhweq','RevisionHistory','1059816AkafSs','isPremiumPlugin','902108duowBP','requires','10GVkblb','2299092vlXgAn','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','10718296hWSdHz','721449XCLJzB','pluginName','5DnNQvp','659065OyLxBl','580617AhVMjw'];_0x559d=function(){return _0x4a7467;};return _0x559d();}function _0x1c0c(_0x1e9b5b,_0x85243f){var _0x559db3=_0x559d();return _0x1c0c=function(_0x1c0c57,_0x512ce4){_0x1c0c57=_0x1c0c57-0x14c;var _0x26023a=_0x559db3[_0x1c0c57];return _0x26023a;},_0x1c0c(_0x1e9b5b,_0x85243f);}import{CloudServicesRevisionHistoryAdapter as _0x9e1adb}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0xedce0f}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x45da41{static get[_0x58b801(0x152)](){var _0x73c220=_0x58b801;return[_0x73c220(0x14e),_0x9e1adb,_0xedce0f];}static get[_0x58b801(0x159)](){var _0x31f438=_0x58b801;return _0x31f438(0x156);}static get[_0x58b801(0x155)](){return!0x0;}static get[_0x58b801(0x150)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d11(){const _0x107a59=['startsWith','3216hxQIpq','reconnect','isOfficialPlugin','hasSuggestion','getSuggestion','CloudServicesTrackChangesAdapter','delete','2080HCkLWq','_fetchMissingUsersForThreads','connected','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','110granDL','getMany','suggestionUpdated','from','addUser','catch','message','64264FPCIbV','set','_waitForServiceReady','63typKbp','233717MStKeY','off','size','data','getUser','then','collaboration.channelId','TrackChangesService','plugins','find','404055JsLYUW','requires','connect','update','adapter','302214tcDper','attributes','cloud-services-internal-error:\x20Not\x20connected.','editor','listenTo','get','init','isPremiumPlugin','open','addSuggestionData','136FXBTma','305508RVLxCX','values','config','add','originalSuggestionId','_trackChangesService','isConnected','state','1611CfJjqR','addToReconnectionStack','type','TrackChangesEditing','1034sKXYUq','connection','350xkhWdm','_bufferedRequests','_saved'];_0x4d11=function(){return _0x107a59;};return _0x4d11();}function _0x1257(_0x3a7f79,_0x584f9a){const _0x4d114b=_0x4d11();return _0x1257=function(_0x125736,_0x39ab55){_0x125736=_0x125736-0x159;let _0x277ed7=_0x4d114b[_0x125736];return _0x277ed7;},_0x1257(_0x3a7f79,_0x584f9a);}const _0x1bb9a4=_0x1257;(function(_0x160fd9,_0x5aae7a){const _0x43e53c=_0x1257,_0x3276cc=_0x160fd9();while(!![]){try{const _0xd9bc9a=parseInt(_0x43e53c(0x193))/0x1+parseInt(_0x43e53c(0x15c))/0x2*(parseInt(_0x43e53c(0x19b))/0x3)+-parseInt(_0x43e53c(0x175))/0x4*(-parseInt(_0x43e53c(0x16e))/0x5)+-parseInt(_0x43e53c(0x188))/0x6*(parseInt(_0x43e53c(0x178))/0x7)+-parseInt(_0x43e53c(0x192))/0x8*(parseInt(_0x43e53c(0x183))/0x9)+parseInt(_0x43e53c(0x15e))/0xa*(parseInt(_0x43e53c(0x179))/0xb)+-parseInt(_0x43e53c(0x162))/0xc*(parseInt(_0x43e53c(0x169))/0xd);if(_0xd9bc9a===_0x5aae7a)break;else _0x3276cc['push'](_0x3276cc['shift']());}catch(_0x1da156){_0x3276cc['push'](_0x3276cc['shift']());}}}(_0x4d11,0x66bd2));import{Plugin as _0x2d4d2c}from'ckeditor5/src/core.js';import{User as _0x5df011,TrackChangesService as _0x37e6eb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x14a365}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x433194}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x12026a}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x2d4d2c{static [_0x1bb9a4(0x180)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x37e6eb)());[_0x1bb9a4(0x15f)];[_0x1bb9a4(0x198)];static get[_0x1bb9a4(0x184)](){const _0x465eec=_0x1bb9a4;return[_0x433194,_0x465eec(0x15b),_0x14a365];}static get[_0x1bb9a4(0x16d)](){const _0x26b9b3=_0x1bb9a4;return _0x26b9b3(0x167);}static get[_0x1bb9a4(0x164)](){return!0x0;}static get[_0x1bb9a4(0x18f)](){return!0x0;}constructor(_0x2f4f2f){const _0x10ef2e=_0x1bb9a4;super(_0x2f4f2f);const _0x6b507b=this[_0x10ef2e(0x18b)][_0x10ef2e(0x195)][_0x10ef2e(0x18d)](_0x10ef2e(0x17f));this[_0x10ef2e(0x15f)]=new Map(),this[_0x10ef2e(0x198)]=new CloudServicesTrackChangesAdapter[(_0x10ef2e(0x180))](_0x6b507b);}[_0x1bb9a4(0x18e)](){const _0x35e02f=_0x1bb9a4,_0x558614=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x14a365),_0xfd41fd=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x35e02f(0x15b));return _0xfd41fd[_0x35e02f(0x187)]={'getSuggestion':async _0x562ef5=>{const _0x1cb1ee=_0x35e02f;await this[_0x1cb1ee(0x177)]();const _0xd92382=await this[_0x1cb1ee(0x198)][_0x1cb1ee(0x18d)](_0x562ef5)[_0x1cb1ee(0x173)](et);return await this[_0x1cb1ee(0x16a)]([_0xd92382]),_0xd92382;},'addSuggestion':async({id:_0x36aab5,type:_0x2c55e4,data:_0x50ed2e,originalSuggestionId:_0x7e29fd,attributes:_0x42a8de})=>{const _0x44aa13=_0x35e02f;await this[_0x44aa13(0x177)]();const _0x164f30={'id':_0x36aab5,'type':_0x2c55e4,'data':_0x50ed2e,'originalSuggestionId':_0x7e29fd,'attributes':_0x42a8de},_0x1f59e8=await this[_0x44aa13(0x198)][_0x44aa13(0x196)](_0x36aab5,_0x2c55e4,_0x50ed2e,_0x7e29fd,_0x42a8de)[_0x44aa13(0x173)](_0x392f39=>{if(Z(_0x392f39))return new Promise(_0x1ce9e2=>{const _0x27ea00=_0x1257;this[_0x27ea00(0x15f)][_0x27ea00(0x176)](_0x36aab5,{'resolve':_0x1ce9e2,'suggestionData':_0x164f30});});throw _0x392f39;});return this[_0x44aa13(0x15f)][_0x44aa13(0x168)](_0x36aab5),_0x1f59e8;},'updateSuggestion':async(_0x1b6ca2,_0xe2c592)=>{const _0xcb6a8f=_0x35e02f;if(await this[_0xcb6a8f(0x177)](),_0xcb6a8f(0x190)!==_0xe2c592[_0xcb6a8f(0x19a)])return this[_0xcb6a8f(0x198)][_0xcb6a8f(0x186)](_0x1b6ca2,_0xe2c592)[_0xcb6a8f(0x173)](et);}},this[_0x35e02f(0x18c)](this[_0x35e02f(0x198)],_0x35e02f(0x170),(_0x3a7ad2,_0xe0f7d7)=>{const _0x157f5b=_0x35e02f;_0xfd41fd[_0x157f5b(0x165)](_0xe0f7d7['id'])&&(_0xfd41fd[_0x157f5b(0x166)](_0xe0f7d7['id'])[_0x157f5b(0x189)]=_0xe0f7d7[_0x157f5b(0x189)]);}),this[_0x35e02f(0x198)][_0x35e02f(0x185)](_0x558614[_0x35e02f(0x15d)])[_0x35e02f(0x17e)](_0x564c62=>(_0x558614[_0x35e02f(0x159)](this),this[_0x35e02f(0x16a)](_0x564c62)[_0x35e02f(0x17e)](()=>{const _0x4a59d5=_0x35e02f;for(const _0x1ca559 of _0x564c62){_0xfd41fd[_0x4a59d5(0x191)](_0x1ca559)[_0x4a59d5(0x160)]=!0x0;}})));}async[_0x1bb9a4(0x163)](){const _0x747c18=_0x1bb9a4,_0x5ad9e6=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x747c18(0x15b)),{connection:_0x387985}=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x14a365),_0x43438d=await this[_0x747c18(0x198)][_0x747c18(0x185)](_0x387985);await this[_0x747c18(0x16a)](_0x43438d);for(const {suggestionData:_0x2eb212,resolve:_0x3c2d7d}of this[_0x747c18(0x15f)][_0x747c18(0x194)]()){let _0x482dbd=_0x43438d[_0x747c18(0x182)](_0x448d5a=>_0x448d5a['id']===_0x2eb212['id']);_0x482dbd||(_0x482dbd=await this[_0x747c18(0x198)][_0x747c18(0x196)](_0x2eb212['id'],_0x2eb212[_0x747c18(0x15a)],_0x2eb212[_0x747c18(0x17c)],_0x2eb212[_0x747c18(0x197)])),_0x3c2d7d(_0x482dbd);}for(const _0x175bf6 of _0x43438d)_0x5ad9e6[_0x747c18(0x165)](_0x175bf6['id'])||_0x5ad9e6[_0x747c18(0x191)](_0x175bf6);}async[_0x1bb9a4(0x177)](){const _0x35deb2=_0x1bb9a4;this[_0x35deb2(0x198)][_0x35deb2(0x199)]||await new Promise(_0x5528a1=>{const _0x8b7c8b=_0x35deb2;this[_0x8b7c8b(0x18c)](this[_0x8b7c8b(0x198)],_0x8b7c8b(0x16b),_0x8f0f=>{const _0x4ffaba=_0x8b7c8b;_0x8f0f[_0x4ffaba(0x17a)](),_0x5528a1();});});}async[_0x1bb9a4(0x16a)](_0x98e317){const _0x2a260a=_0x1bb9a4,_0xb906cc=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x12026a),{connection:_0x5bee5d}=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x14a365),_0x3ee0cd=new Set();for(const {authorId:_0xf592a7}of _0x98e317)_0xb906cc[_0x2a260a(0x17d)](_0xf592a7)||_0x3ee0cd[_0x2a260a(0x196)](_0xf592a7);if(0x0===_0x3ee0cd[_0x2a260a(0x17b)])return;const _0x1a8d1b=await _0x5df011[_0x2a260a(0x16f)](_0x5bee5d,Array[_0x2a260a(0x171)](_0x3ee0cd));for(const _0x228c1d of _0x1a8d1b)_0xb906cc[_0x2a260a(0x17d)](_0x228c1d['id'])||_0xb906cc[_0x2a260a(0x172)](_0x228c1d);}}function et(_0x2ede32){if(Z(_0x2ede32))return new Promise(()=>{});throw _0x2ede32;}function Z(_0x4c8c3a){const _0x5552a2=_0x1bb9a4;return _0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x18a))||_0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x16c));}
23
+ const _0x4c6ea7=_0x2382;(function(_0x48bfe4,_0x2b09a9){const _0x1d4ea9=_0x2382,_0x1b8e93=_0x48bfe4();while(!![]){try{const _0x1814cb=parseInt(_0x1d4ea9(0x152))/0x1*(-parseInt(_0x1d4ea9(0x14d))/0x2)+parseInt(_0x1d4ea9(0x150))/0x3*(parseInt(_0x1d4ea9(0x13c))/0x4)+parseInt(_0x1d4ea9(0x14f))/0x5+-parseInt(_0x1d4ea9(0x15b))/0x6+-parseInt(_0x1d4ea9(0x158))/0x7+-parseInt(_0x1d4ea9(0x146))/0x8*(-parseInt(_0x1d4ea9(0x142))/0x9)+parseInt(_0x1d4ea9(0x145))/0xa*(parseInt(_0x1d4ea9(0x141))/0xb);if(_0x1814cb===_0x2b09a9)break;else _0x1b8e93['push'](_0x1b8e93['shift']());}catch(_0x331a86){_0x1b8e93['push'](_0x1b8e93['shift']());}}}(_0x505e,0x8eb76));function _0x2382(_0x389594,_0x32ff9f){const _0x505e4d=_0x505e();return _0x2382=function(_0x23824e,_0x8f4d90){_0x23824e=_0x23824e-0x125;let _0x298124=_0x505e4d[_0x23824e];return _0x298124;},_0x2382(_0x389594,_0x32ff9f);}import{Plugin as _0x5b2c2f}from'ckeditor5/src/core.js';import{User as _0x412284,TrackChangesService as _0x4a8185}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3547ed}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x53cd38}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x22ab2c}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5b2c2f{static [_0x4c6ea7(0x12c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4a8185)());[_0x4c6ea7(0x15e)];[_0x4c6ea7(0x125)];static get[_0x4c6ea7(0x138)](){const _0x2ecb46=_0x4c6ea7;return[_0x53cd38,_0x2ecb46(0x134),_0x3547ed];}static get[_0x4c6ea7(0x12b)](){const _0x50a0dd=_0x4c6ea7;return _0x50a0dd(0x161);}static get[_0x4c6ea7(0x135)](){return!0x0;}static get[_0x4c6ea7(0x13d)](){return!0x0;}constructor(_0x46eb6c){const _0x589697=_0x4c6ea7;super(_0x46eb6c);const _0x5336b5=this[_0x589697(0x128)][_0x589697(0x130)][_0x589697(0x154)](_0x589697(0x148));this[_0x589697(0x15e)]=new Map(),this[_0x589697(0x125)]=new CloudServicesTrackChangesAdapter[(_0x589697(0x12c))](_0x5336b5);}[_0x4c6ea7(0x153)](){const _0x191b61=_0x4c6ea7,_0x540490=this[_0x191b61(0x128)][_0x191b61(0x157)][_0x191b61(0x154)](_0x3547ed),_0x3f89df=this[_0x191b61(0x128)][_0x191b61(0x157)][_0x191b61(0x154)](_0x191b61(0x134));return _0x3f89df[_0x191b61(0x14a)]={'getSuggestion':async _0x4f023d=>{const _0xf10529=_0x191b61;await this[_0xf10529(0x147)]();const _0x2e2f77=await this[_0xf10529(0x125)][_0xf10529(0x154)](_0x4f023d)[_0xf10529(0x162)](A);return await this[_0xf10529(0x149)]([_0x2e2f77]),_0x2e2f77;},'addSuggestion':async({id:_0x1e014e,type:_0x198aac,data:_0xebfaa,originalSuggestionId:_0x4b8cd5,attributes:_0x15f5a9})=>{const _0x1e3c79=_0x191b61;await this[_0x1e3c79(0x147)]();const _0x13d4d7={'id':_0x1e014e,'type':_0x198aac,'data':_0xebfaa,'originalSuggestionId':_0x4b8cd5,'attributes':_0x15f5a9},_0x48e422=await this[_0x1e3c79(0x125)][_0x1e3c79(0x137)](_0x1e014e,_0x198aac,_0xebfaa,_0x4b8cd5,_0x15f5a9)[_0x1e3c79(0x162)](_0x44f0d5=>{if(st(_0x44f0d5))return new Promise(_0x3d166c=>{const _0x39158e=_0x2382;this[_0x39158e(0x15e)][_0x39158e(0x164)](_0x1e014e,{'resolve':_0x3d166c,'suggestionData':_0x13d4d7});});throw _0x44f0d5;});return this[_0x1e3c79(0x15e)][_0x1e3c79(0x127)](_0x1e014e),_0x48e422;},'updateSuggestion':async(_0x23816f,_0x4ac814)=>{const _0x5e62fb=_0x191b61;if(await this[_0x5e62fb(0x147)](),_0x5e62fb(0x12d)!==_0x4ac814[_0x5e62fb(0x160)])return this[_0x5e62fb(0x125)][_0x5e62fb(0x13f)](_0x23816f,_0x4ac814)[_0x5e62fb(0x162)](A);}},this[_0x191b61(0x15c)](this[_0x191b61(0x125)],_0x191b61(0x132),(_0x5686e9,_0x26bcc8)=>{const _0x2d587f=_0x191b61;_0x3f89df[_0x2d587f(0x12e)](_0x26bcc8['id'])&&(_0x3f89df[_0x2d587f(0x13e)](_0x26bcc8['id'])[_0x2d587f(0x15a)]=_0x26bcc8[_0x2d587f(0x15a)]);}),this[_0x191b61(0x125)][_0x191b61(0x129)](_0x540490[_0x191b61(0x131)])[_0x191b61(0x156)](_0xc34796=>(_0x540490[_0x191b61(0x13b)](this),this[_0x191b61(0x149)](_0xc34796)[_0x191b61(0x156)](()=>{const _0x695ec6=_0x191b61;for(const _0x21849c of _0xc34796){_0x3f89df[_0x695ec6(0x126)](_0x21849c)[_0x695ec6(0x136)]=!0x0;}})));}async[_0x4c6ea7(0x151)](){const _0x70d083=_0x4c6ea7,_0x4ba5df=this[_0x70d083(0x128)][_0x70d083(0x157)][_0x70d083(0x154)](_0x70d083(0x134)),{connection:_0x59d576}=this[_0x70d083(0x128)][_0x70d083(0x157)][_0x70d083(0x154)](_0x3547ed),_0xc4607a=await this[_0x70d083(0x125)][_0x70d083(0x129)](_0x59d576);await this[_0x70d083(0x149)](_0xc4607a);for(const {suggestionData:_0x2d508f,resolve:_0x27338b}of this[_0x70d083(0x15e)][_0x70d083(0x12f)]()){let _0x597d62=_0xc4607a[_0x70d083(0x155)](_0xd3ad8c=>_0xd3ad8c['id']===_0x2d508f['id']);_0x597d62||(_0x597d62=await this[_0x70d083(0x125)][_0x70d083(0x137)](_0x2d508f['id'],_0x2d508f[_0x70d083(0x144)],_0x2d508f[_0x70d083(0x13a)],_0x2d508f[_0x70d083(0x14c)])),_0x27338b(_0x597d62);}for(const _0x594357 of _0xc4607a)_0x4ba5df[_0x70d083(0x12e)](_0x594357['id'])||_0x4ba5df[_0x70d083(0x126)](_0x594357);}async[_0x4c6ea7(0x147)](){const _0x51dc8d=_0x4c6ea7;this[_0x51dc8d(0x125)][_0x51dc8d(0x159)]||await new Promise(_0x4c7cb3=>{const _0x53c5d8=_0x51dc8d;this[_0x53c5d8(0x15c)](this[_0x53c5d8(0x125)],_0x53c5d8(0x15f),_0x1b9d97=>{const _0x2cc37c=_0x53c5d8;_0x1b9d97[_0x2cc37c(0x14e)](),_0x4c7cb3();});});}async[_0x4c6ea7(0x149)](_0x195d63){const _0x274f4d=_0x4c6ea7,_0x528b3c=this[_0x274f4d(0x128)][_0x274f4d(0x157)][_0x274f4d(0x154)](_0x22ab2c),{connection:_0x328486}=this[_0x274f4d(0x128)][_0x274f4d(0x157)][_0x274f4d(0x154)](_0x3547ed),_0xb295da=new Set();for(const {authorId:_0x238909}of _0x195d63)_0x528b3c[_0x274f4d(0x12a)](_0x238909)||_0xb295da[_0x274f4d(0x137)](_0x238909);if(0x0===_0xb295da[_0x274f4d(0x139)])return;const _0x2b885f=await _0x412284[_0x274f4d(0x133)](_0x328486,Array[_0x274f4d(0x140)](_0xb295da));for(const _0x4e0443 of _0x2b885f)_0x528b3c[_0x274f4d(0x12a)](_0x4e0443['id'])||_0x528b3c[_0x274f4d(0x143)](_0x4e0443);}}function _0x505e(){const _0x51d571=['addUser','type','10rFrvkq','3317320OhOuUm','_waitForServiceReady','collaboration.channelId','_fetchMissingUsersForThreads','adapter','cloud-services-internal-error:\x20Request\x20timeout.','originalSuggestionId','2GoNWUt','off','1043775ihAznk','3SQZYei','reconnect','1098635IlEwDd','init','get','find','then','plugins','1791216ezgSpp','isConnected','attributes','6811788rveEOF','listenTo','cloud-services-internal-error:\x20Not\x20connected.','_bufferedRequests','connected','state','CloudServicesTrackChangesAdapter','catch','message','set','startsWith','_trackChangesService','addSuggestionData','delete','editor','connect','getUser','pluginName','TrackChangesService','open','hasSuggestion','values','config','connection','suggestionUpdated','getMany','TrackChangesEditing','isOfficialPlugin','_saved','add','requires','size','data','addToReconnectionStack','1857196JanznU','isPremiumPlugin','getSuggestion','update','from','21853348whzEau','9rCXIPt'];_0x505e=function(){return _0x51d571;};return _0x505e();}function A(_0x185428){if(st(_0x185428))return new Promise(()=>{});throw _0x185428;}function st(_0x1b667c){const _0x285b8b=_0x4c6ea7;return _0x1b667c[_0x285b8b(0x163)][_0x285b8b(0x165)](_0x285b8b(0x15d))||_0x1b667c[_0x285b8b(0x163)][_0x285b8b(0x165)](_0x285b8b(0x14b));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x169836=_0x27fb;(function(_0x449f03,_0x90b421){var _0x4e91e7=_0x27fb,_0x12ba17=_0x449f03();while(!![]){try{var _0x29331f=-parseInt(_0x4e91e7(0x72))/0x1*(-parseInt(_0x4e91e7(0x67))/0x2)+-parseInt(_0x4e91e7(0x75))/0x3*(parseInt(_0x4e91e7(0x6c))/0x4)+parseInt(_0x4e91e7(0x6a))/0x5+-parseInt(_0x4e91e7(0x6b))/0x6+parseInt(_0x4e91e7(0x6d))/0x7*(parseInt(_0x4e91e7(0x70))/0x8)+parseInt(_0x4e91e7(0x66))/0x9+parseInt(_0x4e91e7(0x74))/0xa;if(_0x29331f===_0x90b421)break;else _0x12ba17['push'](_0x12ba17['shift']());}catch(_0x2e9c74){_0x12ba17['push'](_0x12ba17['shift']());}}}(_0xda25,0x342bf));import{Plugin as _0x3c9de0}from'ckeditor5/src/core.js';function _0x27fb(_0x1fdeee,_0x56ead2){var _0xda25cb=_0xda25();return _0x27fb=function(_0x27fb95,_0x47c5b8){_0x27fb95=_0x27fb95-0x66;var _0x51c2b1=_0xda25cb[_0x27fb95];return _0x51c2b1;},_0x27fb(_0x1fdeee,_0x56ead2);}function _0xda25(){var _0x4ba147=['1PvbspX','isOfficialPlugin','1279280mhWiDl','3450hiulpH','814851pLIvQC','758462jflXfc','RealTimeCollaborativeTrackChanges','isPremiumPlugin','53390XPCCRX','2434776vsRmIt','388ApXrDZ','858655XXhRxW','TrackChanges','pluginName','8pkXZyq','requires'];_0xda25=function(){return _0x4ba147;};return _0xda25();}import{CloudServicesTrackChangesAdapter as _0x2cf5cd}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x124360}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3c9de0{static get[_0x169836(0x71)](){var _0x2ea416=_0x169836;return[_0x124360,_0x2cf5cd,_0x2ea416(0x6e)];}static get[_0x169836(0x6f)](){var _0x437f99=_0x169836;return _0x437f99(0x68);}static get[_0x169836(0x73)](){return!0x0;}static get[_0x169836(0x69)](){return!0x0;}}
23
+ var _0x17eac7=_0x4bf1;(function(_0x5bc83f,_0x4d22a6){var _0x2707c1=_0x4bf1,_0x1b35a4=_0x5bc83f();while(!![]){try{var _0x68dbe4=parseInt(_0x2707c1(0x1cf))/0x1+parseInt(_0x2707c1(0x1cc))/0x2+-parseInt(_0x2707c1(0x1d5))/0x3*(-parseInt(_0x2707c1(0x1d7))/0x4)+parseInt(_0x2707c1(0x1d0))/0x5*(-parseInt(_0x2707c1(0x1d3))/0x6)+parseInt(_0x2707c1(0x1d1))/0x7+parseInt(_0x2707c1(0x1d9))/0x8*(-parseInt(_0x2707c1(0x1d8))/0x9)+-parseInt(_0x2707c1(0x1cd))/0xa*(parseInt(_0x2707c1(0x1d6))/0xb);if(_0x68dbe4===_0x4d22a6)break;else _0x1b35a4['push'](_0x1b35a4['shift']());}catch(_0x2a92d0){_0x1b35a4['push'](_0x1b35a4['shift']());}}}(_0x1f77,0x9822f));import{Plugin as _0x581a00}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x443d33}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x4bf1(_0x3e0411,_0x3e54db){var _0x1f77e9=_0x1f77();return _0x4bf1=function(_0x4bf144,_0xe14e56){_0x4bf144=_0x4bf144-0x1ca;var _0x45531b=_0x1f77e9[_0x4bf144];return _0x45531b;},_0x4bf1(_0x3e0411,_0x3e54db);}import{RealTimeCollaborativeComments as _0x21e442}from'./realtimecollaborativecomments.js';function _0x1f77(){var _0x2da9b3=['77NhBhak','207356UjzhSH','297DhTiBA','33896vKACOo','requires','pluginName','TrackChanges','2108802TnRwOC','2791250vTVmbd','isPremiumPlugin','1013184dsXDtM','451460ORsasK','716765reKQyD','RealTimeCollaborativeTrackChanges','36qOlmZZ','isOfficialPlugin','63efzyBk'];_0x1f77=function(){return _0x2da9b3;};return _0x1f77();}export class RealTimeCollaborativeTrackChanges extends _0x581a00{static get[_0x17eac7(0x1da)](){var _0x26fa79=_0x17eac7;return[_0x21e442,_0x443d33,_0x26fa79(0x1cb)];}static get[_0x17eac7(0x1ca)](){var _0xd7b7e0=_0x17eac7;return _0xd7b7e0(0x1d2);}static get[_0x17eac7(0x1d4)](){return!0x0;}static get[_0x17eac7(0x1ce)](){return!0x0;}}