@ckeditor/ckeditor5-real-time-collaboration 47.7.2 → 47.7.3
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.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x4656d1=_0xcbaa;(function(_0x1f22f0,_0x372724){const _0x2c8a68=_0xcbaa,_0x12d395=_0x1f22f0();while(!![]){try{const _0xa3fa4c=-parseInt(_0x2c8a68(0x180))/0x1+parseInt(_0x2c8a68(0x15c))/0x2+parseInt(_0x2c8a68(0x16f))/0x3+-parseInt(_0x2c8a68(0x151))/0x4+parseInt(_0x2c8a68(0x16d))/0x5+parseInt(_0x2c8a68(0x147))/0x6+-parseInt(_0x2c8a68(0x14d))/0x7;if(_0xa3fa4c===_0x372724)break;else _0x12d395['push'](_0x12d395['shift']());}catch(_0x679da1){_0x12d395['push'](_0x12d395['shift']());}}}(_0x377f,0xa7703));import{ContextPlugin as _0x12b630}from'ckeditor5/src/core.js';function _0xcbaa(_0x103caa,_0x14f7eb){const _0x377f32=_0x377f();return _0xcbaa=function(_0xcbaabd,_0x3f031e){_0xcbaabd=_0xcbaabd-0x143;let _0x1f86c2=_0x377f32[_0xcbaabd];return _0x1f86c2;},_0xcbaa(_0x103caa,_0x14f7eb);}import{DomEmitterMixin as _0x4fbace,CKEditorError as _0x740a2f}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4e50cb,WEB_SOCKET_GATEWAY_STATES as _0x423607}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x118309}from'ckeditor5/src/ui.js';function _0x377f(){const _0x4db482=['destroy','3653748IVozxJ','add','real-time-collaboration','Connected\x20users\x20limit\x20exceeded','DISCONNECTED','listenTo','change:me','_domEmitter','init','initialReconnectionInterval','pluginName','function','_shouldPluginsReconnect','cloudServices.requestTimeout','online','isPremiumPlugin','then','1317565VZbfSX','webSocketUrl','connect','from','set','WebSocketGateway','connected','constructor','showWarning','code','isOfficialPlugin','reconnect','catch','state','3451020vVzcIl','requires','_isBrowserOffline','CloudServices','websocketgateway-invalid-plugin-interface','delete','647409xZLwao','token','connection','cloudServices.connectionTimeout','4514248ItcBww','_reconnect','addToReconnectionStack','bind','limitExceeded','plugins','stopListening','cloudservices-init','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.','define','disconnect','2692584BcQVdL','_reconnectionStack','get','CONNECTED','websocketgateway-missing-token','CONNECTING','offline','config','isInReconnectionStack','has','cloudservices-reconnection-error','websocketgateway-plugin-already-registered','context','all','websocketgateway-missing-websocket-url','removeFromReconnectionStack','error','425315naWOQO'];_0x377f=function(){return _0x4db482;};return _0x377f();}export class WebSocketGateway extends _0x12b630{static [_0x4656d1(0x185)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4e50cb)());static [_0x4656d1(0x178)]=0x3e8;[_0x4656d1(0x14f)];[_0x4656d1(0x15d)];[_0x4656d1(0x17b)];[_0x4656d1(0x176)];static get[_0x4656d1(0x148)](){const _0x2accdf=_0x4656d1;return[_0x2accdf(0x14a),_0x118309];}static get[_0x4656d1(0x179)](){const _0x2e1c99=_0x4656d1;return _0x2e1c99(0x185);}static get[_0x4656d1(0x143)](){return!0x0;}static get[_0x4656d1(0x17e)](){return!0x0;}constructor(_0x2a0fd0){const _0x3ef3d3=_0x4656d1;super(_0x2a0fd0),this[_0x3ef3d3(0x184)](_0x3ef3d3(0x146),_0x423607[_0x3ef3d3(0x15f)]),this[_0x3ef3d3(0x184)](_0x3ef3d3(0x149),!0x1),this[_0x3ef3d3(0x15d)]=new Set(),this[_0x3ef3d3(0x17b)]=!0x1,this[_0x3ef3d3(0x176)]=new(_0x4fbace())();}[_0x4656d1(0x177)](){const _0x9a4ff4=_0x4656d1,_0x276ed2=this[_0x9a4ff4(0x168)],_0x5b1e7d=_0x276ed2[_0x9a4ff4(0x156)][_0x9a4ff4(0x15e)](_0x9a4ff4(0x14a)),_0x275dba=_0x276ed2[_0x9a4ff4(0x156)][_0x9a4ff4(0x15e)](_0x118309);if(!_0x5b1e7d[_0x9a4ff4(0x14e)])throw new _0x740a2f(_0x9a4ff4(0x160),this);if(!_0x5b1e7d[_0x9a4ff4(0x181)])throw new _0x740a2f(_0x9a4ff4(0x16a),this);return this[_0x9a4ff4(0x176)][_0x9a4ff4(0x174)](window,_0x9a4ff4(0x162),()=>this[_0x9a4ff4(0x149)]=!0x0),this[_0x9a4ff4(0x176)][_0x9a4ff4(0x174)](window,_0x9a4ff4(0x17d),()=>this[_0x9a4ff4(0x149)]=!0x1),this[_0x9a4ff4(0x168)][_0x9a4ff4(0x163)][_0x9a4ff4(0x15a)](_0x9a4ff4(0x150),0xa),this[_0x9a4ff4(0x168)][_0x9a4ff4(0x163)][_0x9a4ff4(0x15a)](_0x9a4ff4(0x17c),0x14),WebSocketGateway[_0x9a4ff4(0x185)][_0x9a4ff4(0x182)](_0x5b1e7d[_0x9a4ff4(0x14e)],_0x5b1e7d[_0x9a4ff4(0x181)],{'timeout':0x3e8*this[_0x9a4ff4(0x168)][_0x9a4ff4(0x163)][_0x9a4ff4(0x15e)](_0x9a4ff4(0x150)),'requestTimeout':0x3e8*this[_0x9a4ff4(0x168)][_0x9a4ff4(0x163)][_0x9a4ff4(0x15e)](_0x9a4ff4(0x17c))})[_0x9a4ff4(0x17f)](_0x40958d=>{const _0x3ea3f2=_0x9a4ff4;if(this[_0x3ea3f2(0x14f)]=_0x40958d,this[_0x3ea3f2(0x154)](_0x3ea3f2(0x146))['to'](_0x40958d,_0x3ea3f2(0x146),this,_0x3ea3f2(0x149),(_0x35c8d9,_0x5847a1)=>(_0x3ea3f2(0x186)!==_0x35c8d9&&(this[_0x3ea3f2(0x17b)]=!0x0),_0x5847a1||_0x35c8d9!==_0x423607[_0x3ea3f2(0x15f)]?_0x423607[_0x3ea3f2(0x173)]:this[_0x3ea3f2(0x146)]==_0x423607[_0x3ea3f2(0x173)]&&this[_0x3ea3f2(0x17b)]?(this[_0x3ea3f2(0x17b)]=!0x1,this[_0x3ea3f2(0x152)](),_0x423607[_0x3ea3f2(0x161)]):_0x423607[_0x3ea3f2(0x15f)])),this[_0x3ea3f2(0x14f)]['on'](_0x3ea3f2(0x16c),(_0x1511be,_0x2c0424)=>{const _0x541603=_0x3ea3f2;if(_0x541603(0x155)!==_0x2c0424[_0x541603(0x189)])throw console[_0x541603(0x16c)](_0x2c0424),new _0x740a2f(_0x541603(0x158),null,{'originalError':_0x2c0424});_0x275dba[_0x541603(0x188)](_0x541603(0x159),{'title':_0x541603(0x172),'namespace':_0x541603(0x171)});}),!_0x40958d['me'])return new Promise(_0x1ed279=>_0x40958d['on'](_0x3ea3f2(0x175),_0x1ed279));})[_0x9a4ff4(0x145)](_0x5e7a89=>{const _0x192b96=_0x9a4ff4;throw console[_0x192b96(0x16c)](_0x5e7a89),new _0x740a2f(_0x192b96(0x158),null,{'originalError':_0x5e7a89});});}[_0x4656d1(0x153)](_0x23493e){const _0x1fba91=_0x4656d1;if(_0x1fba91(0x17a)!=typeof _0x23493e[_0x1fba91(0x144)])throw new _0x740a2f(_0x1fba91(0x14b),this);if(this[_0x1fba91(0x164)](_0x23493e))throw new _0x740a2f(_0x1fba91(0x167),this,{'name':_0x23493e[_0x1fba91(0x187)][_0x1fba91(0x179)]});this[_0x1fba91(0x15d)][_0x1fba91(0x170)](_0x23493e);}[_0x4656d1(0x16b)](_0x1f393a){const _0x9eff6e=_0x4656d1;this[_0x9eff6e(0x15d)][_0x9eff6e(0x14c)](_0x1f393a);}[_0x4656d1(0x164)](_0x28554a){const _0x269e5d=_0x4656d1;return this[_0x269e5d(0x15d)][_0x269e5d(0x165)](_0x28554a);}[_0x4656d1(0x152)](){const _0x35373a=_0x4656d1;return this[_0x35373a(0x14f)][_0x35373a(0x144)]()[_0x35373a(0x17f)](()=>Promise[_0x35373a(0x169)](Array[_0x35373a(0x183)](this[_0x35373a(0x15d)],_0x57848e=>_0x57848e[_0x35373a(0x144)]())))[_0x35373a(0x17f)](()=>this[_0x35373a(0x146)]=_0x423607[_0x35373a(0x15f)])[_0x35373a(0x145)](_0x36fee3=>{const _0xa05030=_0x35373a;throw console[_0xa05030(0x16c)](_0x36fee3),new _0x740a2f(_0xa05030(0x166),this[_0xa05030(0x168)]);});}[_0x4656d1(0x15b)](){const _0xc55fa6=_0x4656d1;this[_0xc55fa6(0x14f)]&&this[_0xc55fa6(0x14f)][_0xc55fa6(0x15b)](),this[_0xc55fa6(0x146)]=_0x423607[_0xc55fa6(0x173)],this[_0xc55fa6(0x176)][_0xc55fa6(0x157)]();}[_0x4656d1(0x16e)](){const _0x3925ec=_0x4656d1;this[_0x3925ec(0x15b)](),super[_0x3925ec(0x16e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3974(){var _0x235675=['748000HdHquP','2700177ZMTVYS','3379002qtXncN','isOfficialPlugin','7XVFrjb','requires','pluginName','3144712nJDnwI','22274152XVIXWm','isPremiumPlugin','1588315YLCqnx','RealTimeCollaborativeEditing','812066AwCmLd'];_0x3974=function(){return _0x235675;};return _0x3974();}var _0x3ff7f0=_0x141c;(function(_0x13fa7a,_0x2d241e){var _0x403339=_0x141c,_0x110044=_0x13fa7a();while(!![]){try{var _0x531ffe=-parseInt(_0x403339(0x157))/0x1+parseInt(_0x403339(0x156))/0x2+-parseInt(_0x403339(0x158))/0x3+-parseInt(_0x403339(0x15e))/0x4+parseInt(_0x403339(0x154))/0x5+parseInt(_0x403339(0x159))/0x6*(-parseInt(_0x403339(0x15b))/0x7)+parseInt(_0x403339(0x152))/0x8;if(_0x531ffe===_0x2d241e)break;else _0x110044['push'](_0x110044['shift']());}catch(_0x197b6e){_0x110044['push'](_0x110044['shift']());}}}(_0x3974,0x7ca61));function _0x141c(_0x47b43a,_0x157b91){var _0x397403=_0x3974();return _0x141c=function(_0x141cb3,_0x488a51){_0x141cb3=_0x141cb3-0x152;var _0x48608a=_0x397403[_0x141cb3];return _0x48608a;},_0x141c(_0x47b43a,_0x157b91);}import{Plugin as _0x2d028e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4c3ff0}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x2d028e{static get[_0x3ff7f0(0x15c)](){return[_0x4c3ff0];}static get[_0x3ff7f0(0x15d)](){var _0x4385bf=_0x3ff7f0;return _0x4385bf(0x155);}static get[_0x3ff7f0(0x15a)](){return!0x0;}static get[_0x3ff7f0(0x153)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x53f529)());[_0x23be42(0x119)];[_0x23be42(0x118)];[_0x23be42(0xfa)];[_0x23be42(0xef)];static get[_0x23be42(0xf7)](){const _0x197792=_0x23be42;return[_0x162c95,_0x2cff4b,_0x197792(0xe0),_0x2ce73f,_0x100d9e];}static get[_0x23be42(0x11d)](){const _0x19a17d=_0x23be42;return _0x19a17d(0xfd);}static get[_0x23be42(0x104)](){return!0x0;}static get[_0x23be42(0x127)](){return!0x0;}constructor(_0x122fc5){const _0x1081ba=_0x23be42;super(_0x122fc5);const _0x1ac606=this[_0x1081ba(0x12f)][_0x1081ba(0x11e)][_0x1081ba(0x136)](_0x1081ba(0xdd));this[_0x1081ba(0x119)]=null,this[_0x1081ba(0x118)]=this[_0x1081ba(0x12f)][_0x1081ba(0x10f)][_0x1081ba(0x136)](_0x1081ba(0x11b)),this[_0x1081ba(0xfa)]=new CloudServicesRevisionHistoryAdapter[(_0x1081ba(0xcf))](_0x1ac606);}async[_0x23be42(0x105)](){const _0x58784e=_0x23be42,_0x4c05fe=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x2cff4b),_0x2fde7b=_0x4c05fe[_0x58784e(0xfe)],_0x25bd56=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x162c95);this[_0x58784e(0x118)][_0x58784e(0x10b)]({'history':_0x2fde7b,'getLatestVersion':()=>this[_0x58784e(0x107)](),'getCurrentRevisionId':()=>_0x4c05fe[_0x58784e(0x115)]});const _0x11223d=this[_0x58784e(0x12f)][_0x58784e(0x11e)][_0x58784e(0x136)](_0x58784e(0xce))||_0x7e2be6,_0xafc5df=await _0x625a4d[_0x58784e(0xfb)](_0x25bd56[_0x58784e(0xdc)],_0x11223d);this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x58784e(0xe0))[_0x58784e(0x137)]={'getRevision':async({revisionId:_0x17d2e7})=>(await this[_0x58784e(0xd4)](),await this[_0x58784e(0xfa)][_0x58784e(0xcc)](_0x17d2e7)),'updateRevisions':async _0x152a03=>{const _0xd7c43f=_0x58784e;await this[_0xd7c43f(0xd4)]();const _0xb841e8=this[_0xd7c43f(0x118)][_0xd7c43f(0xd1)];if(_0xafc5df&&0x1===_0x152a03[_0xd7c43f(0xd8)]&&_0x152a03[0x0]['id']===_0xb841e8['id'])return _0x152a03;for(const _0x1ecb16 of _0x152a03)_0x1ecb16['id']===_0xb841e8['id']&&(_0x1ecb16[_0xd7c43f(0x12e)]=_0x1ecb16[_0xd7c43f(0xe5)]===_0x1ecb16[_0xd7c43f(0x13e)]);return this[_0xd7c43f(0xfa)][_0xd7c43f(0x110)](_0x152a03,this[_0xd7c43f(0x119)])[_0xd7c43f(0x129)](_0x23ed4d=>(this[_0xd7c43f(0x119)]=_0x23ed4d,_0x152a03))[_0xd7c43f(0xe4)](_0x1a9f73=>{const _0x367f0a=_0xd7c43f;if(I(_0x1a9f73)||_0x367f0a(0xd5)===_0x1a9f73[_0x367f0a(0x120)]&&void 0x0!==_0x1a9f73[_0x367f0a(0xec)][_0x367f0a(0x133)]){for(const _0x5e5fc0 of _0x152a03){!this[_0x367f0a(0x118)][_0x367f0a(0x114)][_0x367f0a(0xcc)](_0x5e5fc0['id'])||this[_0x367f0a(0x118)][_0x367f0a(0xf5)](_0x5e5fc0['id'],_0x5e5fc0,!0x1);}if(I(_0x1a9f73))throw _0x1a9f73;return _0x152a03;}throw _0x1a9f73;});}},this[_0x58784e(0xf0)](this[_0x58784e(0xfa)],_0x58784e(0xe3),(_0x270cde,{revisionsData:_0x265f90,requestId:_0x1d29c7})=>{const _0x3cc221=_0x58784e;Math[_0x3cc221(0xd9)](..._0x265f90[_0x3cc221(0xdb)](_0x450aa9=>_0x450aa9[_0x3cc221(0x13e)]))>this[_0x3cc221(0xfc)]()-0x1?this[_0x3cc221(0x107)]()[_0x3cc221(0x129)](()=>{const _0x3184b5=_0x3cc221;this[_0x3184b5(0x113)](_0x265f90,_0x1d29c7);}):this[_0x3cc221(0x113)](_0x265f90,_0x1d29c7);});const {revisions:_0x3907d7,requestId:_0x2f75c6}=await this[_0x58784e(0xfa)][_0x58784e(0x132)](_0x25bd56[_0x58784e(0xdc)]);_0x25bd56[_0x58784e(0xd3)](this),this[_0x58784e(0x119)]=_0x2f75c6,await this[_0x58784e(0x124)](_0x3907d7);for(const _0x178aaa of _0x3907d7)this[_0x58784e(0x118)][_0x58784e(0x139)](_0x178aaa);this[_0x58784e(0xf0)](_0x4c05fe,_0x58784e(0x112),(_0x181616,_0x291a2f,_0x5ce55c)=>{const _0x11f49e=_0x58784e;_0x5ce55c&&(this[_0x11f49e(0xef)]=_0x4c05fe[_0x11f49e(0x135)],_0x181616[_0x11f49e(0xf1)]());}),this[_0x58784e(0x118)][_0x58784e(0x100)](_0x58784e(0x12d))['to'](_0x25bd56,_0x58784e(0xf4),_0x11ae52=>_0x11ae52===_0x3c72ab[_0x58784e(0x121)]);}async[_0x23be42(0x126)](){const _0xc972e=_0x23be42,_0x5a9dad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x162c95),_0x4683ad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x2cff4b),_0x3a5ca1=async()=>{const _0x590095=_0xc972e,_0x2b08b4=this[_0x590095(0x118)][_0x590095(0xd1)],_0x82ecfc=_0x2b08b4['id'],_0x567688=_0x82ecfc!==_0x4683ad[_0x590095(0x115)];if(_0x567688){const _0x85cde9=_0x4683ad[_0x590095(0x135)]-this[_0x590095(0xef)],_0x3e8786=this[_0x590095(0xfc)]();this[_0x590095(0x118)][_0x590095(0x11c)][_0x590095(0xe7)]();if(_0x2b08b4[_0x590095(0x13e)]+_0x85cde9!==_0x3e8786){const _0x590587=_0x2b08b4[_0x590095(0xe5)]+_0x85cde9,_0x17b9d5=this[_0x590095(0x12f)][_0x590095(0x10f)][_0x590095(0x136)](_0x100d9e),_0x545004=this[_0x590095(0x118)][_0x590095(0x108)]({'revision':_0x2b08b4,'from':_0x590587,'to':_0x3e8786});_0x545004['id']=_0x2b08b4['id'];const _0x7f2bb7=_0x545004[_0x590095(0xee)][_0x590095(0xdb)](_0x597f7c=>_0x17b9d5[_0x590095(0x125)](_0x597f7c));_0x2b08b4[_0x590095(0xe6)]({..._0x545004,'authors':_0x7f2bb7},!0x0),this[_0x590095(0x118)][_0x590095(0xf5)](_0x2b08b4['id'],_0x545004,!0x0);}this[_0x590095(0x118)][_0x590095(0x11f)]=_0x3e8786,(_0x2b08b4[_0x590095(0x13e)]===_0x2b08b4[_0x590095(0xe5)]&&!this[_0x590095(0x118)][_0x590095(0x101)][_0x590095(0xff)](_0x82ecfc)&&this[_0x590095(0x118)][_0x590095(0x114)][_0x590095(0xeb)][_0x590095(0x102)](_0x82ecfc),this[_0x590095(0x118)][_0x590095(0x111)](_0x3e8786));}const {revisions:_0x1adda3,requestId:_0x592b3e}=await this[_0x590095(0xfa)][_0x590095(0x126)](_0x5a9dad[_0x590095(0xdc)],this[_0x590095(0x119)]);_0x567688&&_0x1adda3[_0x590095(0xd8)]>0x0?_0x4683ad[_0x590095(0xed)]():(await this[_0x590095(0x124)](_0x1adda3),this[_0x590095(0x113)](_0x1adda3,_0x592b3e),this[_0x590095(0x118)][_0x590095(0xd2)]());};return _0x4683ad[_0xc972e(0x10c)]?_0x3a5ca1():new Promise((_0x5b12f1,_0x4869c1)=>{const _0x578060=_0xc972e;_0x4683ad[_0x578060(0xd6)](_0x578060(0x112),()=>{const _0x3f40bc=_0x578060;_0x3a5ca1()[_0x3f40bc(0x129)](_0x5b12f1)[_0x3f40bc(0xe4)](_0x4869c1);});});}[_0x23be42(0x131)](){const _0x3f8777=_0x23be42;super[_0x3f8777(0x131)]();}async[_0x23be42(0xd4)](){const _0x19f343=_0x23be42;this[_0x19f343(0xfa)][_0x19f343(0xf6)]||await new Promise(_0x24b652=>{const _0x76408a=_0x19f343;this[_0x76408a(0xf0)](this[_0x76408a(0xfa)],_0x76408a(0x12c),_0x5c8147=>{const _0x28c99f=_0x76408a;_0x5c8147[_0x28c99f(0xf1)](),_0x24b652();});});}[_0x23be42(0xfc)](){const _0x5b7103=_0x23be42,_0x2ceac2=this[_0x5b7103(0x12f)][_0x5b7103(0x10f)][_0x5b7103(0x136)](_0x2cff4b)[_0x5b7103(0xfe)][_0x5b7103(0x109)]()[_0x5b7103(0x13c)]();for(const _0x55adde of _0x2ceac2)if(_0x5b7103(0x117)!==_0x55adde[_0x5b7103(0xe2)]||_0x55adde[_0x5b7103(0x128)])return _0x55adde[_0x5b7103(0xcd)]+0x1;}[_0x23be42(0x107)](){const _0x17f0af=_0x23be42,_0x1ddf8d=this[_0x17f0af(0x12f)][_0x17f0af(0x10f)][_0x17f0af(0x136)](_0x2cff4b);return new Promise(_0x1961aa=>{const _0x195d8e=_0x17f0af;_0x1ddf8d[_0x195d8e(0xea)]?_0x1ddf8d[_0x195d8e(0xd6)](_0x195d8e(0x116),()=>{const _0x2827d7=_0x195d8e;_0x1961aa(this[_0x2827d7(0xfc)]());}):_0x1961aa(this[_0x195d8e(0xfc)]());});}[_0x23be42(0x113)](_0x6846ab,_0x460a78){const _0x18b527=_0x23be42,_0x398869=this[_0x18b527(0x118)][_0x18b527(0x114)];this[_0x18b527(0x119)]=_0x460a78;for(const _0x37b022 of _0x6846ab){const _0x12a83b=_0x398869[_0x18b527(0xcc)](_0x37b022['id']);if(_0x12a83b){if((_0x37b022[_0x18b527(0xe5)]||_0x37b022[_0x18b527(0x13e)])&&(_0x37b022[_0x18b527(0xd7)]=null),_0x12a83b===this[_0x18b527(0x118)][_0x18b527(0xd1)]){const _0x5957cf=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0x13e)],_0x37b022[_0x18b527(0x13e)]),_0x1e3b6b=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0xe5)],_0x37b022[_0x18b527(0xe5)]);let _0x321839;_0x12a83b[_0x18b527(0x13e)]===_0x37b022[_0x18b527(0x13e)]&&_0x12a83b[_0x18b527(0xe5)]===_0x37b022[_0x18b527(0xe5)]?(_0x321839=!0x0,this[_0x18b527(0xd0)](_0x37b022)):_0x37b022[_0x18b527(0x13e)]===_0x5957cf&&_0x37b022[_0x18b527(0xe5)]===_0x1e3b6b?_0x321839=!0x1:(_0x12a83b[_0x18b527(0x13e)]===_0x5957cf&&_0x12a83b[_0x18b527(0xe5)]===_0x1e3b6b||this[_0x18b527(0x13b)]({'revision':_0x12a83b,'from':_0x1e3b6b,'to':_0x5957cf}),_0x321839=!0x0),_0x321839&&(delete _0x37b022[_0x18b527(0xe5)],delete _0x37b022[_0x18b527(0x13e)],delete _0x37b022[_0x18b527(0xd7)],delete _0x37b022[_0x18b527(0x10d)],delete _0x37b022[_0x18b527(0xee)]);}this[_0x18b527(0x118)][_0x18b527(0x103)](_0x37b022),this[_0x18b527(0xd0)](_0x37b022);}else this[_0x18b527(0x118)][_0x18b527(0x139)](_0x37b022);}const _0xb95af1=_0x398869[_0x18b527(0x13d)]();_0xb95af1[_0x18b527(0x13c)]();for(let _0x307bb5=0x0;_0x307bb5<_0xb95af1[_0x18b527(0xd8)]-0x1;_0x307bb5++){const _0x4c8bb1=_0xb95af1[_0x307bb5],_0x1f7586=_0xb95af1[_0x307bb5+0x1];if(_0x4c8bb1[_0x18b527(0xe5)]<_0x1f7586[_0x18b527(0x13e)]){const _0x456782=_0x1f7586[_0x18b527(0x13e)],_0x4a3cfd=Math[_0x18b527(0xd9)](_0x456782,_0x4c8bb1[_0x18b527(0x13e)]);this[_0x18b527(0x13b)]({'revision':_0x4c8bb1,'from':_0x456782,'to':_0x4a3cfd});}}}[_0x23be42(0x13b)]({revision:_0x4c4a87,from:_0x24f465,to:_0x453d64}={}){const _0x37a1e9=_0x23be42,_0x11e2c2=this[_0x37a1e9(0x12f)][_0x37a1e9(0x10f)][_0x37a1e9(0x136)](_0x100d9e),_0x426871=this[_0x37a1e9(0x118)][_0x37a1e9(0x108)]({'revision':_0x4c4a87,'from':_0x24f465,'to':_0x453d64});_0x426871[_0x37a1e9(0x106)]=_0x426871[_0x37a1e9(0xee)][_0x37a1e9(0xdb)](_0x1bb8a2=>_0x11e2c2[_0x37a1e9(0x125)](_0x1bb8a2)),_0x4c4a87[_0x37a1e9(0xe6)](_0x426871);}[_0x23be42(0xd0)](_0x276bc5){const _0x578c5e=_0x23be42,_0x21555d={};_0x21555d['id']=_0x276bc5['id'];for(const _0x4f57b8 of Object[_0x578c5e(0xf9)](_0x276bc5))'id'!==_0x4f57b8&&(_0x21555d[_0x4f57b8]=void 0x0);this[_0x578c5e(0x118)][_0x578c5e(0xf5)](_0x21555d['id'],_0x21555d,!0x0);}async[_0x23be42(0x124)](_0x49c0ba){const _0x475301=_0x23be42,_0x418db7=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x100d9e),{connection:_0x360f93}=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x162c95),_0x44c90a=new Set();for(const _0x4ced7f of _0x49c0ba){for(const _0x1ed355 of _0x4ced7f[_0x475301(0xee)])_0x108da7(_0x1ed355);_0x4ced7f[_0x475301(0x10e)]&&_0x108da7(_0x4ced7f[_0x475301(0x10e)]);}if(0x0===_0x44c90a[_0x475301(0xdf)])return;const _0xb9d596=await _0x7d71a0[_0x475301(0x134)](_0x360f93,Array[_0x475301(0x11a)](_0x44c90a));for(const _0x48f1c0 of _0xb9d596)_0x418db7[_0x475301(0x125)](_0x48f1c0['id'])||_0x418db7[_0x475301(0xf8)](_0x48f1c0);function _0x108da7(_0x57e61e){const _0x2407cd=_0x475301;_0x418db7[_0x2407cd(0x125)](_0x57e61e)||_0x44c90a[_0x2407cd(0xda)](_0x57e61e);}}}function I(_0x22a500){const _0x15253c=_0x23be42;return _0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xde))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xf3))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0x10a));}
|
|
23
|
+
function _0x4e2e(_0x439288,_0x17a820){const _0x47f097=_0x47f0();return _0x4e2e=function(_0x4e2e64,_0x1afb2c){_0x4e2e64=_0x4e2e64-0x89;let _0x5814f2=_0x47f097[_0x4e2e64];return _0x5814f2;},_0x4e2e(_0x439288,_0x17a820);}const _0x5f56c8=_0x4e2e;function _0x47f0(){const _0x5c3a69=['2061qKmVdk','buildRevisionData','collaboration.channelId','addUser','catch','wrongRequestId','_preventResendingRevisionData','_revisions','_createCurrentRevision','_getLatestVersion','_handleReconnectionError','change:_isPendingUpdate','connection','sendBufferedUpdates','keys','add','_isConnected','isBundleUploaded','400','_getLatestVersionFromServerOperations','isEmptyCurrent','_update','_fetchMissingUsers','15460CmjEWA','diffData','getMany','currentRevision','317987oVukIp','RevisionHistory','_handleRevisionsUpdate','isOfficialPlugin','setSource','RevisionTracker','getRevision','9995kWpetj','RevisionHistoryService','baseVersion','cloud-services-internal-error:\x20Not\x20connected.','_revisionHistoryService','CONNECTED','_offset','isEnabled','_isPendingUpdate','data','_fixRevision','config','listenTo','setRevisionData','bind','2874030noFlqg','reInit','getOperations','addToReconnectionStack','map','plugins','change:_isConnected','_revisionDataBuilder','adapter','_bufferUpdate','cloud-services-internal-error:\x20Request\x20timeout.','once','creatorId','message','reverse','1192eiKxBb','repository','connected','updateRevisions','_oldOffset','_lastRequestId','type','init','_bufferedUpdates','8206MiVqIO','connect','addRevisionData','code','startsWith','sessionId','_revisionTracker','get','toVersion','max','createdAt','authorsIds','marker','reconnect','revisionsUpdated','2xMhwGw','then','fromVersion','getRevisions','pluginName','_waitForServiceReady','getUser','isPremiumPlugin','state','requires','affectsData','isConnected','length','serverHistory','cloudServices.bundleVersion','has','destroy','off','editor','176dTjVKM','CloudServicesRevisionHistoryAdapter','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authors','from','_startingVersion','size','3970164NLQhGZ','remove','6637638XRLjgb'];_0x47f0=function(){return _0x5c3a69;};return _0x47f0();}(function(_0xd97861,_0x5b5908){const _0x42284a=_0x4e2e,_0x220530=_0xd97861();while(!![]){try{const _0x219480=-parseInt(_0x42284a(0xb0))/0x1+parseInt(_0x42284a(0xed))/0x2*(parseInt(_0x42284a(0xc6))/0x3)+-parseInt(_0x42284a(0xd5))/0x4*(parseInt(_0x42284a(0xb7))/0x5)+parseInt(_0x42284a(0x92))/0x6+parseInt(_0x42284a(0x94))/0x7+-parseInt(_0x42284a(0x8b))/0x8*(parseInt(_0x42284a(0x95))/0x9)+-parseInt(_0x42284a(0xac))/0xa*(parseInt(_0x42284a(0xde))/0xb);if(_0x219480===_0x5b5908)break;else _0x220530['push'](_0x220530['shift']());}catch(_0x4c585f){_0x220530['push'](_0x220530['shift']());}}}(_0x47f0,0x79117));import{Plugin as _0x221bef}from'ckeditor5/src/core.js';import{version as _0x591fdf}from'ckeditor5/src/utils.js';import{Users as _0x4cbdd0}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0xf0cfc}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x2046e6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x210106}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x8ac21c,RevisionHistoryService as _0x44c794,User as _0x53b4f9,WEB_SOCKET_GATEWAY_STATES as _0x235260}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x221bef{static [_0x5f56c8(0xb8)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x44c794)());[_0x5f56c8(0xda)];[_0x5f56c8(0xe4)];[_0x5f56c8(0xbb)];[_0x5f56c8(0xd9)];static get[_0x5f56c8(0xf6)](){const _0x43ac20=_0x5f56c8;return[_0x2046e6,_0xf0cfc,_0x43ac20(0xb1),_0x210106,_0x4cbdd0];}static get[_0x5f56c8(0xf1)](){const _0x48bfab=_0x5f56c8;return _0x48bfab(0x8c);}static get[_0x5f56c8(0xb3)](){return!0x0;}static get[_0x5f56c8(0xf4)](){return!0x0;}constructor(_0x4887a0){const _0x1a0be4=_0x5f56c8;super(_0x4887a0);const _0x5ce8f4=this[_0x1a0be4(0x8a)][_0x1a0be4(0xc2)][_0x1a0be4(0xe5)](_0x1a0be4(0x97));this[_0x1a0be4(0xda)]=null,this[_0x1a0be4(0xe4)]=this[_0x1a0be4(0x8a)][_0x1a0be4(0xcb)][_0x1a0be4(0xe5)](_0x1a0be4(0xb5)),this[_0x1a0be4(0xbb)]=new CloudServicesRevisionHistoryAdapter[(_0x1a0be4(0xb8))](_0x5ce8f4);}async[_0x5f56c8(0xdc)](){const _0x10f991=_0x5f56c8,_0x13a737=this[_0x10f991(0x8a)][_0x10f991(0xcb)][_0x10f991(0xe5)](_0xf0cfc),_0x26910f=_0x13a737[_0x10f991(0xfa)],_0x126375=this[_0x10f991(0x8a)][_0x10f991(0xcb)][_0x10f991(0xe5)](_0x2046e6);this[_0x10f991(0xe4)][_0x10f991(0xb4)]({'history':_0x26910f,'getLatestVersion':()=>this[_0x10f991(0x9e)](),'getCurrentRevisionId':()=>_0x13a737[_0x10f991(0xe3)]});const _0x1ed033=this[_0x10f991(0x8a)][_0x10f991(0xc2)][_0x10f991(0xe5)](_0x10f991(0xfb))||_0x591fdf,_0x3f71b7=await _0x8ac21c[_0x10f991(0xa6)](_0x126375[_0x10f991(0xa1)],_0x1ed033);this[_0x10f991(0x8a)][_0x10f991(0xcb)][_0x10f991(0xe5)](_0x10f991(0xb1))[_0x10f991(0xce)]={'getRevision':async({revisionId:_0x2d56bf})=>(await this[_0x10f991(0xf2)](),await this[_0x10f991(0xbb)][_0x10f991(0xb6)](_0x2d56bf)),'updateRevisions':async _0x2e3226=>{const _0x26f73f=_0x10f991;await this[_0x26f73f(0xf2)]();const _0x1afed5=this[_0x26f73f(0xe4)][_0x26f73f(0xaf)];if(_0x3f71b7&&0x1===_0x2e3226[_0x26f73f(0xf9)]&&_0x2e3226[0x0]['id']===_0x1afed5['id'])return _0x2e3226;for(const _0x846346 of _0x2e3226)_0x846346['id']===_0x1afed5['id']&&(_0x846346[_0x26f73f(0xa9)]=_0x846346[_0x26f73f(0xef)]===_0x846346[_0x26f73f(0xe6)]);return this[_0x26f73f(0xbb)][_0x26f73f(0xd8)](_0x2e3226,this[_0x26f73f(0xda)])[_0x26f73f(0xee)](_0x31cff3=>(this[_0x26f73f(0xda)]=_0x31cff3,_0x2e3226))[_0x26f73f(0x99)](_0x2473b5=>{const _0x12786c=_0x26f73f;if(V(_0x2473b5)||_0x12786c(0xa7)===_0x2473b5[_0x12786c(0xe1)]&&void 0x0!==_0x2473b5[_0x12786c(0xc0)][_0x12786c(0x9a)]){for(const _0x2bc729 of _0x2e3226){!this[_0x12786c(0xe4)][_0x12786c(0xd6)][_0x12786c(0xb6)](_0x2bc729['id'])||this[_0x12786c(0xe4)][_0x12786c(0xcf)](_0x2bc729['id'],_0x2bc729,!0x1);}if(V(_0x2473b5))throw _0x2473b5;return _0x2e3226;}throw _0x2473b5;});}},this[_0x10f991(0xc3)](this[_0x10f991(0xbb)],_0x10f991(0xec),(_0xac39ca,{revisionsData:_0x1790dc,requestId:_0x278c3b})=>{const _0x57cb49=_0x10f991;Math[_0x57cb49(0xe7)](..._0x1790dc[_0x57cb49(0xca)](_0x10bc54=>_0x10bc54[_0x57cb49(0xe6)]))>this[_0x57cb49(0xa8)]()-0x1?this[_0x57cb49(0x9e)]()[_0x57cb49(0xee)](()=>{const _0x1f3a0b=_0x57cb49;this[_0x1f3a0b(0xb2)](_0x1790dc,_0x278c3b);}):this[_0x57cb49(0xb2)](_0x1790dc,_0x278c3b);});const {revisions:_0x5758f9,requestId:_0x5622f1}=await this[_0x10f991(0xbb)][_0x10f991(0xdf)](_0x126375[_0x10f991(0xa1)]);_0x126375[_0x10f991(0xc9)](this),this[_0x10f991(0xda)]=_0x5622f1,await this[_0x10f991(0xab)](_0x5758f9);for(const _0x26dabc of _0x5758f9)this[_0x10f991(0xe4)][_0x10f991(0xe0)](_0x26dabc);this[_0x10f991(0xc3)](_0x13a737,_0x10f991(0xcc),(_0x22729a,_0x370e26,_0x29ba74)=>{const _0x1da040=_0x10f991;_0x29ba74&&(this[_0x1da040(0xd9)]=_0x13a737[_0x1da040(0xbd)],_0x22729a[_0x1da040(0x89)]());}),this[_0x10f991(0xe4)][_0x10f991(0xc5)](_0x10f991(0xbe))['to'](_0x126375,_0x10f991(0xf5),_0x38793c=>_0x38793c===_0x235260[_0x10f991(0xbc)]);}async[_0x5f56c8(0xeb)](){const _0x345b93=_0x5f56c8,_0x1adcd4=this[_0x345b93(0x8a)][_0x345b93(0xcb)][_0x345b93(0xe5)](_0x2046e6),_0x253e2c=this[_0x345b93(0x8a)][_0x345b93(0xcb)][_0x345b93(0xe5)](_0xf0cfc),_0x2791eb=async()=>{const _0x1ca34e=_0x345b93,_0x2ef436=this[_0x1ca34e(0xe4)][_0x1ca34e(0xaf)],_0x5931c2=_0x2ef436['id'],_0x43ddae=_0x5931c2!==_0x253e2c[_0x1ca34e(0xe3)];if(_0x43ddae){const _0x278c38=_0x253e2c[_0x1ca34e(0xbd)]-this[_0x1ca34e(0xd9)],_0x50cda5=this[_0x1ca34e(0xa8)]();this[_0x1ca34e(0xe4)][_0x1ca34e(0xcd)][_0x1ca34e(0xc7)]();if(_0x2ef436[_0x1ca34e(0xe6)]+_0x278c38!==_0x50cda5){const _0x12b775=_0x2ef436[_0x1ca34e(0xef)]+_0x278c38,_0x4cee2f=this[_0x1ca34e(0x8a)][_0x1ca34e(0xcb)][_0x1ca34e(0xe5)](_0x4cbdd0),_0x5b87a3=this[_0x1ca34e(0xe4)][_0x1ca34e(0x96)]({'revision':_0x2ef436,'from':_0x12b775,'to':_0x50cda5});_0x5b87a3['id']=_0x2ef436['id'];const _0x106020=_0x5b87a3[_0x1ca34e(0xe9)][_0x1ca34e(0xca)](_0x5797fc=>_0x4cee2f[_0x1ca34e(0xf3)](_0x5797fc));_0x2ef436[_0x1ca34e(0xaa)]({..._0x5b87a3,'authors':_0x106020},!0x0),this[_0x1ca34e(0xe4)][_0x1ca34e(0xcf)](_0x2ef436['id'],_0x5b87a3,!0x0);}this[_0x1ca34e(0xe4)][_0x1ca34e(0x90)]=_0x50cda5,(_0x2ef436[_0x1ca34e(0xe6)]===_0x2ef436[_0x1ca34e(0xef)]&&!this[_0x1ca34e(0xe4)][_0x1ca34e(0xdd)][_0x1ca34e(0xfc)](_0x5931c2)&&this[_0x1ca34e(0xe4)][_0x1ca34e(0xd6)][_0x1ca34e(0x9c)][_0x1ca34e(0x93)](_0x5931c2),this[_0x1ca34e(0xe4)][_0x1ca34e(0x9d)](_0x50cda5));}const {revisions:_0x362bd0,requestId:_0x56a80f}=await this[_0x1ca34e(0xbb)][_0x1ca34e(0xeb)](_0x1adcd4[_0x1ca34e(0xa1)],this[_0x1ca34e(0xda)]);_0x43ddae&&_0x362bd0[_0x1ca34e(0xf9)]>0x0?_0x253e2c[_0x1ca34e(0x9f)]():(await this[_0x1ca34e(0xab)](_0x362bd0),this[_0x1ca34e(0xb2)](_0x362bd0,_0x56a80f),this[_0x1ca34e(0xe4)][_0x1ca34e(0xa2)]());};return _0x253e2c[_0x345b93(0xa5)]?_0x2791eb():new Promise((_0x470432,_0x1d7990)=>{const _0x1f9f2a=_0x345b93;_0x253e2c[_0x1f9f2a(0xd1)](_0x1f9f2a(0xcc),()=>{const _0x4c6db0=_0x1f9f2a;_0x2791eb()[_0x4c6db0(0xee)](_0x470432)[_0x4c6db0(0x99)](_0x1d7990);});});}[_0x5f56c8(0xfd)](){const _0x5cf1dc=_0x5f56c8;super[_0x5cf1dc(0xfd)]();}async[_0x5f56c8(0xf2)](){const _0x579c5a=_0x5f56c8;this[_0x579c5a(0xbb)][_0x579c5a(0xf8)]||await new Promise(_0xec8753=>{const _0x5350a0=_0x579c5a;this[_0x5350a0(0xc3)](this[_0x5350a0(0xbb)],_0x5350a0(0xd7),_0x15dc03=>{const _0x14217b=_0x5350a0;_0x15dc03[_0x14217b(0x89)](),_0xec8753();});});}[_0x5f56c8(0xa8)](){const _0x23e83b=_0x5f56c8,_0xcb22ef=this[_0x23e83b(0x8a)][_0x23e83b(0xcb)][_0x23e83b(0xe5)](_0xf0cfc)[_0x23e83b(0xfa)][_0x23e83b(0xc8)]()[_0x23e83b(0xd4)]();for(const _0x31dc97 of _0xcb22ef)if(_0x23e83b(0xea)!==_0x31dc97[_0x23e83b(0xdb)]||_0x31dc97[_0x23e83b(0xf7)])return _0x31dc97[_0x23e83b(0xb9)]+0x1;}[_0x5f56c8(0x9e)](){const _0x441831=_0x5f56c8,_0x34723b=this[_0x441831(0x8a)][_0x441831(0xcb)][_0x441831(0xe5)](_0xf0cfc);return new Promise(_0x59b708=>{const _0x344ba9=_0x441831;_0x34723b[_0x344ba9(0xbf)]?_0x34723b[_0x344ba9(0xd1)](_0x344ba9(0xa0),()=>{const _0x545eae=_0x344ba9;_0x59b708(this[_0x545eae(0xa8)]());}):_0x59b708(this[_0x344ba9(0xa8)]());});}[_0x5f56c8(0xb2)](_0x2e5790,_0x39b312){const _0x17235e=_0x5f56c8,_0x5ee63a=this[_0x17235e(0xe4)][_0x17235e(0xd6)];this[_0x17235e(0xda)]=_0x39b312;for(const _0x951ae1 of _0x2e5790){const _0x162f3c=_0x5ee63a[_0x17235e(0xb6)](_0x951ae1['id']);if(_0x162f3c){if((_0x951ae1[_0x17235e(0xef)]||_0x951ae1[_0x17235e(0xe6)])&&(_0x951ae1[_0x17235e(0xad)]=null),_0x162f3c===this[_0x17235e(0xe4)][_0x17235e(0xaf)]){const _0x540483=Math[_0x17235e(0xe7)](_0x162f3c[_0x17235e(0xe6)],_0x951ae1[_0x17235e(0xe6)]),_0x1ae4f8=Math[_0x17235e(0xe7)](_0x162f3c[_0x17235e(0xef)],_0x951ae1[_0x17235e(0xef)]);let _0x228033;_0x162f3c[_0x17235e(0xe6)]===_0x951ae1[_0x17235e(0xe6)]&&_0x162f3c[_0x17235e(0xef)]===_0x951ae1[_0x17235e(0xef)]?(_0x228033=!0x0,this[_0x17235e(0x9b)](_0x951ae1)):_0x951ae1[_0x17235e(0xe6)]===_0x540483&&_0x951ae1[_0x17235e(0xef)]===_0x1ae4f8?_0x228033=!0x1:(_0x162f3c[_0x17235e(0xe6)]===_0x540483&&_0x162f3c[_0x17235e(0xef)]===_0x1ae4f8||this[_0x17235e(0xc1)]({'revision':_0x162f3c,'from':_0x1ae4f8,'to':_0x540483}),_0x228033=!0x0),_0x228033&&(delete _0x951ae1[_0x17235e(0xef)],delete _0x951ae1[_0x17235e(0xe6)],delete _0x951ae1[_0x17235e(0xad)],delete _0x951ae1[_0x17235e(0xe8)],delete _0x951ae1[_0x17235e(0xe9)]);}this[_0x17235e(0xe4)][_0x17235e(0xc4)](_0x951ae1),this[_0x17235e(0x9b)](_0x951ae1);}else this[_0x17235e(0xe4)][_0x17235e(0xe0)](_0x951ae1);}const _0x10646f=_0x5ee63a[_0x17235e(0xf0)]();_0x10646f[_0x17235e(0xd4)]();for(let _0x215ed=0x0;_0x215ed<_0x10646f[_0x17235e(0xf9)]-0x1;_0x215ed++){const _0x3e489a=_0x10646f[_0x215ed],_0x8a325f=_0x10646f[_0x215ed+0x1];if(_0x3e489a[_0x17235e(0xef)]<_0x8a325f[_0x17235e(0xe6)]){const _0x32b7b9=_0x8a325f[_0x17235e(0xe6)],_0x362302=Math[_0x17235e(0xe7)](_0x32b7b9,_0x3e489a[_0x17235e(0xe6)]);this[_0x17235e(0xc1)]({'revision':_0x3e489a,'from':_0x32b7b9,'to':_0x362302});}}}[_0x5f56c8(0xc1)]({revision:_0x66697b,from:_0x7a1009,to:_0x861869}={}){const _0x111b2e=_0x5f56c8,_0x4a5245=this[_0x111b2e(0x8a)][_0x111b2e(0xcb)][_0x111b2e(0xe5)](_0x4cbdd0),_0xe73a97=this[_0x111b2e(0xe4)][_0x111b2e(0x96)]({'revision':_0x66697b,'from':_0x7a1009,'to':_0x861869});_0xe73a97[_0x111b2e(0x8e)]=_0xe73a97[_0x111b2e(0xe9)][_0x111b2e(0xca)](_0x8ebd24=>_0x4a5245[_0x111b2e(0xf3)](_0x8ebd24)),_0x66697b[_0x111b2e(0xaa)](_0xe73a97);}[_0x5f56c8(0x9b)](_0x4eb57d){const _0x2e7069=_0x5f56c8,_0x44a7f8={};_0x44a7f8['id']=_0x4eb57d['id'];for(const _0x25e420 of Object[_0x2e7069(0xa3)](_0x4eb57d))'id'!==_0x25e420&&(_0x44a7f8[_0x25e420]=void 0x0);this[_0x2e7069(0xe4)][_0x2e7069(0xcf)](_0x44a7f8['id'],_0x44a7f8,!0x0);}async[_0x5f56c8(0xab)](_0x508107){const _0x342616=_0x5f56c8,_0x37c65a=this[_0x342616(0x8a)][_0x342616(0xcb)][_0x342616(0xe5)](_0x4cbdd0),{connection:_0xf6cde6}=this[_0x342616(0x8a)][_0x342616(0xcb)][_0x342616(0xe5)](_0x2046e6),_0x49c837=new Set();for(const _0x28f21d of _0x508107){for(const _0x27158f of _0x28f21d[_0x342616(0xe9)])_0x5b0e60(_0x27158f);_0x28f21d[_0x342616(0xd2)]&&_0x5b0e60(_0x28f21d[_0x342616(0xd2)]);}if(0x0===_0x49c837[_0x342616(0x91)])return;const _0x38f906=await _0x53b4f9[_0x342616(0xae)](_0xf6cde6,Array[_0x342616(0x8f)](_0x49c837));for(const _0x2db81a of _0x38f906)_0x37c65a[_0x342616(0xf3)](_0x2db81a['id'])||_0x37c65a[_0x342616(0x98)](_0x2db81a);function _0x5b0e60(_0x1c8930){const _0xf2669d=_0x342616;_0x37c65a[_0xf2669d(0xf3)](_0x1c8930)||_0x49c837[_0xf2669d(0xa4)](_0x1c8930);}}}function V(_0x655e17){const _0x536ae7=_0x5f56c8;return _0x655e17[_0x536ae7(0xd3)][_0x536ae7(0xe2)](_0x536ae7(0x8d))||_0x655e17[_0x536ae7(0xd3)][_0x536ae7(0xe2)](_0x536ae7(0xba))||_0x655e17[_0x536ae7(0xd3)][_0x536ae7(0xe2)](_0x536ae7(0xd0));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2a6b8a=_0x14e4;(function(_0x5ba134,_0x2106fd){var _0x538df1=_0x14e4,_0x3fb906=_0x5ba134();while(!![]){try{var _0x35b755=parseInt(_0x538df1(0x1e7))/0x1+parseInt(_0x538df1(0x1e6))/0x2*(parseInt(_0x538df1(0x1ea))/0x3)+parseInt(_0x538df1(0x1ef))/0x4*(-parseInt(_0x538df1(0x1ee))/0x5)+-parseInt(_0x538df1(0x1ec))/0x6+-parseInt(_0x538df1(0x1e5))/0x7*(-parseInt(_0x538df1(0x1de))/0x8)+parseInt(_0x538df1(0x1ed))/0x9*(parseInt(_0x538df1(0x1e1))/0xa)+-parseInt(_0x538df1(0x1e4))/0xb*(parseInt(_0x538df1(0x1e0))/0xc);if(_0x35b755===_0x2106fd)break;else _0x3fb906['push'](_0x3fb906['shift']());}catch(_0xfb74e){_0x3fb906['push'](_0x3fb906['shift']());}}}(_0x3cae,0x6e864));function _0x14e4(_0x2abf3c,_0x577e27){var _0x3cae6d=_0x3cae();return _0x14e4=function(_0x14e42d,_0xdee6c4){_0x14e42d=_0x14e42d-0x1de;var _0x5ed80b=_0x3cae6d[_0x14e42d];return _0x5ed80b;},_0x14e4(_0x2abf3c,_0x577e27);}import{Plugin as _0x533b46}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x51153e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3cae(){var _0x5a2fe4=['10ZCtAnP','139036twtfHh','376dqKQIV','pluginName','13956BtLWGE','1336430aTikwk','RevisionHistory','RealTimeCollaborativeRevisionHistory','605WSdlcH','33446krfwrU','1804402EGZyRV','90786ndSEXj','requires','isPremiumPlugin','3nyFrxa','isOfficialPlugin','5391888XSARaM','18zkvBuD'];_0x3cae=function(){return _0x5a2fe4;};return _0x3cae();}import{RealTimeCollaborativeEditing as _0x4bb37f}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x533b46{static get[_0x2a6b8a(0x1e8)](){var _0x4c47dd=_0x2a6b8a;return[_0x4c47dd(0x1e2),_0x51153e,_0x4bb37f];}static get[_0x2a6b8a(0x1df)](){var _0x4d6c54=_0x2a6b8a;return _0x4d6c54(0x1e3);}static get[_0x2a6b8a(0x1eb)](){return!0x0;}static get[_0x2a6b8a(0x1e9)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x490941=_0x1695;(function(_0x361705,_0x30f16a){const _0x3bd6e7=_0x1695,_0x9ed446=_0x361705();while(!![]){try{const _0x1e6ea3=parseInt(_0x3bd6e7(0x152))/0x1*(parseInt(_0x3bd6e7(0x139))/0x2)+-parseInt(_0x3bd6e7(0x140))/0x3+parseInt(_0x3bd6e7(0x16b))/0x4*(-parseInt(_0x3bd6e7(0x137))/0x5)+-parseInt(_0x3bd6e7(0x163))/0x6*(-parseInt(_0x3bd6e7(0x161))/0x7)+-parseInt(_0x3bd6e7(0x16f))/0x8+parseInt(_0x3bd6e7(0x142))/0x9+parseInt(_0x3bd6e7(0x14e))/0xa;if(_0x1e6ea3===_0x30f16a)break;else _0x9ed446['push'](_0x9ed446['shift']());}catch(_0x31c6e0){_0x9ed446['push'](_0x9ed446['shift']());}}}(_0x2cc3,0x9e400));import{Plugin as _0x580237}from'ckeditor5/src/core.js';function _0x1695(_0x1e48d4,_0x2b4170){const _0x2cc313=_0x2cc3();return _0x1695=function(_0x169553,_0x95cb01){_0x169553=_0x169553-0x136;let _0x4e9bfa=_0x2cc313[_0x169553];return _0x4e9bfa;},_0x1695(_0x1e48d4,_0x2b4170);}import{User as _0x3a7546,TrackChangesService as _0x26a097}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x352a1c}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2cc3(){const _0x145fda=['TrackChangesEditing','24BpQXwd','get','editor','connect','config','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','cloud-services-internal-error:\x20Not\x20connected.','443668mySLIQ','reconnect','requires','catch','8625752rgyPHo','type','from','attributes','values','originalSuggestionId','data','hasSuggestion','55CuNFBD','plugins','2124HZnEWV','_fetchMissingUsersForThreads','TrackChangesService','off','find','addUser','getSuggestion','1494471zDViWi','_saved','6664437KNADuh','listenTo','_waitForServiceReady','suggestionUpdated','init','open','startsWith','pluginName','collaboration.channelId','isPremiumPlugin','delete','addSuggestionData','10526720utvseH','size','set','message','1091stajqm','state','add','connected','isConnected','adapter','isOfficialPlugin','_bufferedRequests','getUser','getMany','CloudServicesTrackChangesAdapter','then','connection','_trackChangesService','update','862484FXDOQx'];_0x2cc3=function(){return _0x145fda;};return _0x2cc3();}import{CloudServicesCommentsAdapter as _0x6e6395}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1b4ef0}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x580237{static [_0x490941(0x13b)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x26a097)());[_0x490941(0x159)];[_0x490941(0x15f)];static get[_0x490941(0x16d)](){const _0x5881ba=_0x490941;return[_0x6e6395,_0x5881ba(0x162),_0x352a1c];}static get[_0x490941(0x149)](){const _0x4ec0a5=_0x490941;return _0x4ec0a5(0x15c);}static get[_0x490941(0x158)](){return!0x0;}static get[_0x490941(0x14b)](){return!0x0;}constructor(_0x1137d6){const _0x449e8a=_0x490941;super(_0x1137d6);const _0x2d8522=this[_0x449e8a(0x165)][_0x449e8a(0x167)][_0x449e8a(0x164)](_0x449e8a(0x14a));this[_0x449e8a(0x159)]=new Map(),this[_0x449e8a(0x15f)]=new CloudServicesTrackChangesAdapter[(_0x449e8a(0x13b))](_0x2d8522);}[_0x490941(0x146)](){const _0x45080f=_0x490941,_0x2fc900=this[_0x45080f(0x165)][_0x45080f(0x138)][_0x45080f(0x164)](_0x352a1c),_0x4abe7f=this[_0x45080f(0x165)][_0x45080f(0x138)][_0x45080f(0x164)](_0x45080f(0x162));return _0x4abe7f[_0x45080f(0x157)]={'getSuggestion':async _0x160430=>{const _0x4cb7a3=_0x45080f;await this[_0x4cb7a3(0x144)]();const _0x189373=await this[_0x4cb7a3(0x15f)][_0x4cb7a3(0x164)](_0x160430)[_0x4cb7a3(0x16e)](et);return await this[_0x4cb7a3(0x13a)]([_0x189373]),_0x189373;},'addSuggestion':async({id:_0x290b12,type:_0x1f0d48,data:_0x506b04,originalSuggestionId:_0x100af6,attributes:_0x38bddb})=>{const _0x2760ab=_0x45080f;await this[_0x2760ab(0x144)]();const _0x18b4f1={'id':_0x290b12,'type':_0x1f0d48,'data':_0x506b04,'originalSuggestionId':_0x100af6,'attributes':_0x38bddb},_0x115d94=await this[_0x2760ab(0x15f)][_0x2760ab(0x154)](_0x290b12,_0x1f0d48,_0x506b04,_0x100af6,_0x38bddb)[_0x2760ab(0x16e)](_0x16ccfd=>{if(V(_0x16ccfd))return new Promise(_0x1bfc09=>{const _0xcfa22=_0x1695;this[_0xcfa22(0x159)][_0xcfa22(0x150)](_0x290b12,{'resolve':_0x1bfc09,'suggestionData':_0x18b4f1});});throw _0x16ccfd;});return this[_0x2760ab(0x159)][_0x2760ab(0x14c)](_0x290b12),_0x115d94;},'updateSuggestion':async(_0x4f4307,_0x221cbe)=>{const _0x3db534=_0x45080f;if(await this[_0x3db534(0x144)](),_0x3db534(0x147)!==_0x221cbe[_0x3db534(0x153)])return this[_0x3db534(0x15f)][_0x3db534(0x160)](_0x4f4307,_0x221cbe)[_0x3db534(0x16e)](et);}},this[_0x45080f(0x143)](this[_0x45080f(0x15f)],_0x45080f(0x145),(_0x28e948,_0x583cf7)=>{const _0x424a57=_0x45080f;_0x4abe7f[_0x424a57(0x136)](_0x583cf7['id'])&&(_0x4abe7f[_0x424a57(0x13f)](_0x583cf7['id'])[_0x424a57(0x172)]=_0x583cf7[_0x424a57(0x172)]);}),this[_0x45080f(0x15f)][_0x45080f(0x166)](_0x2fc900[_0x45080f(0x15e)])[_0x45080f(0x15d)](_0x2a96b7=>(_0x2fc900[_0x45080f(0x169)](this),this[_0x45080f(0x13a)](_0x2a96b7)[_0x45080f(0x15d)](()=>{const _0x5f3288=_0x45080f;for(const _0x5ec1a3 of _0x2a96b7){_0x4abe7f[_0x5f3288(0x14d)](_0x5ec1a3)[_0x5f3288(0x141)]=!0x0;}})));}async[_0x490941(0x16c)](){const _0x9d5a6a=_0x490941,_0x2a79ce=this[_0x9d5a6a(0x165)][_0x9d5a6a(0x138)][_0x9d5a6a(0x164)](_0x9d5a6a(0x162)),{connection:_0x96d8b2}=this[_0x9d5a6a(0x165)][_0x9d5a6a(0x138)][_0x9d5a6a(0x164)](_0x352a1c),_0x993796=await this[_0x9d5a6a(0x15f)][_0x9d5a6a(0x166)](_0x96d8b2);await this[_0x9d5a6a(0x13a)](_0x993796);for(const {suggestionData:_0xb1a62f,resolve:_0x1c7f83}of this[_0x9d5a6a(0x159)][_0x9d5a6a(0x173)]()){let _0x443181=_0x993796[_0x9d5a6a(0x13d)](_0xee77c6=>_0xee77c6['id']===_0xb1a62f['id']);_0x443181||(_0x443181=await this[_0x9d5a6a(0x15f)][_0x9d5a6a(0x154)](_0xb1a62f['id'],_0xb1a62f[_0x9d5a6a(0x170)],_0xb1a62f[_0x9d5a6a(0x175)],_0xb1a62f[_0x9d5a6a(0x174)])),_0x1c7f83(_0x443181);}for(const _0x2ebbfd of _0x993796)_0x2a79ce[_0x9d5a6a(0x136)](_0x2ebbfd['id'])||_0x2a79ce[_0x9d5a6a(0x14d)](_0x2ebbfd);}async[_0x490941(0x144)](){const _0x56d446=_0x490941;this[_0x56d446(0x15f)][_0x56d446(0x156)]||await new Promise(_0x173d0c=>{const _0x5bac73=_0x56d446;this[_0x5bac73(0x143)](this[_0x5bac73(0x15f)],_0x5bac73(0x155),_0x2d53f3=>{const _0x389336=_0x5bac73;_0x2d53f3[_0x389336(0x13c)](),_0x173d0c();});});}async[_0x490941(0x13a)](_0x3b7fc7){const _0x1d8b89=_0x490941,_0x2967aa=this[_0x1d8b89(0x165)][_0x1d8b89(0x138)][_0x1d8b89(0x164)](_0x1b4ef0),{connection:_0x12a505}=this[_0x1d8b89(0x165)][_0x1d8b89(0x138)][_0x1d8b89(0x164)](_0x352a1c),_0x2c58da=new Set();for(const {authorId:_0x4530e7}of _0x3b7fc7)_0x2967aa[_0x1d8b89(0x15a)](_0x4530e7)||_0x2c58da[_0x1d8b89(0x154)](_0x4530e7);if(0x0===_0x2c58da[_0x1d8b89(0x14f)])return;const _0x27854f=await _0x3a7546[_0x1d8b89(0x15b)](_0x12a505,Array[_0x1d8b89(0x171)](_0x2c58da));for(const _0x2d82fd of _0x27854f)_0x2967aa[_0x1d8b89(0x15a)](_0x2d82fd['id'])||_0x2967aa[_0x1d8b89(0x13e)](_0x2d82fd);}}function et(_0x33b112){if(V(_0x33b112))return new Promise(()=>{});throw _0x33b112;}function V(_0x1126c4){const _0x668fb5=_0x490941;return _0x1126c4[_0x668fb5(0x151)][_0x668fb5(0x148)](_0x668fb5(0x16a))||_0x1126c4[_0x668fb5(0x151)][_0x668fb5(0x148)](_0x668fb5(0x168));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1a82ae=_0x22ce;function _0x5561(){var _0x4be370=['15346100LfIWjP','4akLLTd','2942202TbguBm','4674471pgDbPQ','30249DuxrZF','1330qBjZJZ','TrackChanges','232fvbtpV','pluginName','4llLTtY','7705780xZJFmG','isOfficialPlugin','requires','267365FKJihj','isPremiumPlugin','484762NSNlNI','RealTimeCollaborativeTrackChanges'];_0x5561=function(){return _0x4be370;};return _0x5561();}(function(_0x44d293,_0x34c8a0){var _0x52f427=_0x22ce,_0x5dd2e5=_0x44d293();while(!![]){try{var _0x50743c=parseInt(_0x52f427(0x1bb))/0x1*(-parseInt(_0x52f427(0x1be))/0x2)+parseInt(_0x52f427(0x1c0))/0x3+-parseInt(_0x52f427(0x1c6))/0x4*(-parseInt(_0x52f427(0x1c7))/0x5)+-parseInt(_0x52f427(0x1bf))/0x6+parseInt(_0x52f427(0x1b9))/0x7*(parseInt(_0x52f427(0x1c4))/0x8)+-parseInt(_0x52f427(0x1c1))/0x9*(parseInt(_0x52f427(0x1c2))/0xa)+-parseInt(_0x52f427(0x1bd))/0xb;if(_0x50743c===_0x34c8a0)break;else _0x5dd2e5['push'](_0x5dd2e5['shift']());}catch(_0x3319bd){_0x5dd2e5['push'](_0x5dd2e5['shift']());}}}(_0x5561,0xdcf04));import{Plugin as _0x2aec04}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x1abdaf}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x22ce(_0x7b3251,_0x485fd1){var _0x55619d=_0x5561();return _0x22ce=function(_0x22cec5,_0x5c91c5){_0x22cec5=_0x22cec5-0x1b9;var _0x24e1a1=_0x55619d[_0x22cec5];return _0x24e1a1;},_0x22ce(_0x7b3251,_0x485fd1);}import{RealTimeCollaborativeComments as _0xb09866}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2aec04{static get[_0x1a82ae(0x1c9)](){var _0x4edd6a=_0x1a82ae;return[_0xb09866,_0x1abdaf,_0x4edd6a(0x1c3)];}static get[_0x1a82ae(0x1c5)](){var _0x1c0ad7=_0x1a82ae;return _0x1c0ad7(0x1bc);}static get[_0x1a82ae(0x1c8)](){return!0x0;}static get[_0x1a82ae(0x1ba)](){return!0x0;}}
|