@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.8 → 47.0.0-alpha.9
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 +1 -1
- 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 +14 -14
- 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
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x12c2(){const _0x8e8dd6=['websocketgateway-invalid-plugin-interface','then','10GedXIf','plugins','real-time-collaboration','set','_reconnect','12772040ITUhjH','state','showWarning','config','delete','connect','token','9655JlnrDJ','cloudservices-init','bind','CONNECTING','isInReconnectionStack','disconnect','pluginName','1361028oPNSnz','online','requires','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','175285QZQtWN','stopListening','isPremiumPlugin','_isBrowserOffline','addToReconnectionStack','context','connection','has','cloudservices-reconnection-error','CONNECTED','8HrPCpU','initialReconnectionInterval','get','WebSocketGateway','destroy','isOfficialPlugin','add','error','code','all','from','_domEmitter','change:me','function','define','_reconnectionStack','websocketgateway-missing-token','Connected\x20users\x20limit\x20exceeded','CloudServices','DISCONNECTED','_shouldPluginsReconnect','offline','297397VUAtZY','10116639YngarF','cloudServices.connectionTimeout','catch','774Nblpbf','constructor','listenTo','websocketgateway-plugin-already-registered','removeFromReconnectionStack','webSocketUrl','cloudServices.requestTimeout','1764oVgMmV','reconnect','limitExceeded','websocketgateway-missing-websocket-url','6AuDEHT','connected','2380168ouruIu','init'];_0x12c2=function(){return _0x8e8dd6;};return _0x12c2();}function _0xa0f4(_0x1761ee,_0x26b5b7){const _0x12c24c=_0x12c2();return _0xa0f4=function(_0xa0f420,_0x464167){_0xa0f420=_0xa0f420-0x1c1;let _0x486378=_0x12c24c[_0xa0f420];return _0x486378;},_0xa0f4(_0x1761ee,_0x26b5b7);}const _0xfc3a04=_0xa0f4;(function(_0x3ce84e,_0x2d78fb){const _0x4385b7=_0xa0f4,_0x15647b=_0x3ce84e();while(!![]){try{const _0x72c285=-parseInt(_0x4385b7(0x1d9))/0x1*(-parseInt(_0x4385b7(0x1e8))/0x2)+parseInt(_0x4385b7(0x201))/0x3*(parseInt(_0x4385b7(0x1c3))/0x4)+-parseInt(_0x4385b7(0x1fa))/0x5*(parseInt(_0x4385b7(0x1dd))/0x6)+-parseInt(_0x4385b7(0x1ea))/0x7+-parseInt(_0x4385b7(0x1f3))/0x8+parseInt(_0x4385b7(0x1da))/0x9*(-parseInt(_0x4385b7(0x1ee))/0xa)+parseInt(_0x4385b7(0x205))/0xb*(parseInt(_0x4385b7(0x1e4))/0xc);if(_0x72c285===_0x2d78fb)break;else _0x15647b['push'](_0x15647b['shift']());}catch(_0xf591bf){_0x15647b['push'](_0x15647b['shift']());}}}(_0x12c2,0xcb321));import{ContextPlugin as _0x30eabe}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2dbfa0,CKEditorError as _0x318e66}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x48c97,WEB_SOCKET_GATEWAY_STATES as _0x2ee161}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3979be}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x30eabe{static [_0xfc3a04(0x1c6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x48c97)());static [_0xfc3a04(0x1c4)]=0x3e8;[_0xfc3a04(0x20b)];[_0xfc3a04(0x1d2)];[_0xfc3a04(0x1d7)];[_0xfc3a04(0x1ce)];static get[_0xfc3a04(0x203)](){const _0x2f9369=_0xfc3a04;return[_0x2f9369(0x1d5),_0x3979be];}static get[_0xfc3a04(0x200)](){const _0x27da0e=_0xfc3a04;return _0x27da0e(0x1c6);}static get[_0xfc3a04(0x1c8)](){return!0x0;}static get[_0xfc3a04(0x207)](){return!0x0;}constructor(_0x3b8e4a){const _0x4d90bd=_0xfc3a04;super(_0x3b8e4a),this[_0x4d90bd(0x1f1)](_0x4d90bd(0x1f4),_0x2ee161[_0x4d90bd(0x1c2)]),this[_0x4d90bd(0x1f1)](_0x4d90bd(0x208),!0x1),this[_0x4d90bd(0x1d2)]=new Set(),this[_0x4d90bd(0x1d7)]=!0x1,this[_0x4d90bd(0x1ce)]=new(_0x2dbfa0())();}[_0xfc3a04(0x1eb)](){const _0x326ed1=_0xfc3a04,_0x362579=this[_0x326ed1(0x20a)],_0x595c30=_0x362579[_0x326ed1(0x1ef)][_0x326ed1(0x1c5)](_0x326ed1(0x1d5)),_0x54ec4c=_0x362579[_0x326ed1(0x1ef)][_0x326ed1(0x1c5)](_0x3979be);if(!_0x595c30[_0x326ed1(0x1f9)])throw new _0x318e66(_0x326ed1(0x1d3),this);if(!_0x595c30[_0x326ed1(0x1e2)])throw new _0x318e66(_0x326ed1(0x1e7),this);return this[_0x326ed1(0x1ce)][_0x326ed1(0x1df)](window,_0x326ed1(0x1d8),()=>this[_0x326ed1(0x208)]=!0x0),this[_0x326ed1(0x1ce)][_0x326ed1(0x1df)](window,_0x326ed1(0x202),()=>this[_0x326ed1(0x208)]=!0x1),this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1d1)](_0x326ed1(0x1db),0xa),this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1d1)](_0x326ed1(0x1e3),0x14),WebSocketGateway[_0x326ed1(0x1c6)][_0x326ed1(0x1f8)](_0x595c30[_0x326ed1(0x1f9)],_0x595c30[_0x326ed1(0x1e2)],{'timeout':0x3e8*this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1c5)](_0x326ed1(0x1db)),'requestTimeout':0x3e8*this[_0x326ed1(0x20a)][_0x326ed1(0x1f6)][_0x326ed1(0x1c5)](_0x326ed1(0x1e3))})[_0x326ed1(0x1ed)](_0x422048=>{const _0x136ce9=_0x326ed1;if(this[_0x136ce9(0x20b)]=_0x422048,this[_0x136ce9(0x1fc)](_0x136ce9(0x1f4))['to'](_0x422048,_0x136ce9(0x1f4),this,_0x136ce9(0x208),(_0x4a40d1,_0x4e570e)=>(_0x136ce9(0x1e9)!==_0x4a40d1&&(this[_0x136ce9(0x1d7)]=!0x0),_0x4e570e||_0x4a40d1!==_0x2ee161[_0x136ce9(0x1c2)]?_0x2ee161[_0x136ce9(0x1d6)]:this[_0x136ce9(0x1f4)]==_0x2ee161[_0x136ce9(0x1d6)]&&this[_0x136ce9(0x1d7)]?(this[_0x136ce9(0x1d7)]=!0x1,this[_0x136ce9(0x1f2)](),_0x2ee161[_0x136ce9(0x1fd)]):_0x2ee161[_0x136ce9(0x1c2)])),this[_0x136ce9(0x20b)]['on'](_0x136ce9(0x1ca),(_0x24c547,_0x429ecf)=>{const _0xbeb0c0=_0x136ce9;if(_0xbeb0c0(0x1e6)!==_0x429ecf[_0xbeb0c0(0x1cb)])throw console[_0xbeb0c0(0x1ca)](_0x429ecf),new _0x318e66(_0xbeb0c0(0x1fb),null,{'originalError':_0x429ecf});_0x54ec4c[_0xbeb0c0(0x1f5)](_0xbeb0c0(0x204),{'title':_0xbeb0c0(0x1d4),'namespace':_0xbeb0c0(0x1f0)});}),!_0x422048['me'])return new Promise(_0xa86298=>_0x422048['on'](_0x136ce9(0x1cf),_0xa86298));})[_0x326ed1(0x1dc)](_0x4abff3=>{const _0x230e06=_0x326ed1;throw console[_0x230e06(0x1ca)](_0x4abff3),new _0x318e66(_0x230e06(0x1fb),null,{'originalError':_0x4abff3});});}[_0xfc3a04(0x209)](_0x2115c5){const _0x5c8059=_0xfc3a04;if(_0x5c8059(0x1d0)!=typeof _0x2115c5[_0x5c8059(0x1e5)])throw new _0x318e66(_0x5c8059(0x1ec),this);if(this[_0x5c8059(0x1fe)](_0x2115c5))throw new _0x318e66(_0x5c8059(0x1e0),this,{'name':_0x2115c5[_0x5c8059(0x1de)][_0x5c8059(0x200)]});this[_0x5c8059(0x1d2)][_0x5c8059(0x1c9)](_0x2115c5);}[_0xfc3a04(0x1e1)](_0x4cc990){const _0x5b8eac=_0xfc3a04;this[_0x5b8eac(0x1d2)][_0x5b8eac(0x1f7)](_0x4cc990);}[_0xfc3a04(0x1fe)](_0xf09b16){const _0x1ba29f=_0xfc3a04;return this[_0x1ba29f(0x1d2)][_0x1ba29f(0x20c)](_0xf09b16);}[_0xfc3a04(0x1f2)](){const _0x48ecfa=_0xfc3a04;return this[_0x48ecfa(0x20b)][_0x48ecfa(0x1e5)]()[_0x48ecfa(0x1ed)](()=>Promise[_0x48ecfa(0x1cc)](Array[_0x48ecfa(0x1cd)](this[_0x48ecfa(0x1d2)],_0x2f045b=>_0x2f045b[_0x48ecfa(0x1e5)]())))[_0x48ecfa(0x1ed)](()=>this[_0x48ecfa(0x1f4)]=_0x2ee161[_0x48ecfa(0x1c2)])[_0x48ecfa(0x1dc)](_0x1a046f=>{const _0xc6a9a2=_0x48ecfa;throw console[_0xc6a9a2(0x1ca)](_0x1a046f),new _0x318e66(_0xc6a9a2(0x1c1),this[_0xc6a9a2(0x20a)]);});}[_0xfc3a04(0x1ff)](){const _0x158b8f=_0xfc3a04;this[_0x158b8f(0x20b)]&&this[_0x158b8f(0x20b)][_0x158b8f(0x1ff)](),this[_0x158b8f(0x1f4)]=_0x2ee161[_0x158b8f(0x1d6)],this[_0x158b8f(0x1ce)][_0x158b8f(0x206)]();}[_0xfc3a04(0x1c7)](){const _0x40a43d=_0xfc3a04;this[_0x40a43d(0x1ff)](),super[_0x40a43d(0x1c7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3cec40=_0x942b;function _0x942b(_0x597813,_0x5d3e1c){var _0x51bbfe=_0x51bb();return _0x942b=function(_0x942b02,_0x59b6d0){_0x942b02=_0x942b02-0x193;var _0x214167=_0x51bbfe[_0x942b02];return _0x214167;},_0x942b(_0x597813,_0x5d3e1c);}(function(_0x4d8e8f,_0x34a311){var _0x45e4f6=_0x942b,_0x497f15=_0x4d8e8f();while(!![]){try{var _0x34c8d3=parseInt(_0x45e4f6(0x194))/0x1+parseInt(_0x45e4f6(0x19d))/0x2+-parseInt(_0x45e4f6(0x1a0))/0x3*(-parseInt(_0x45e4f6(0x196))/0x4)+parseInt(_0x45e4f6(0x1a1))/0x5*(-parseInt(_0x45e4f6(0x1a2))/0x6)+parseInt(_0x45e4f6(0x19b))/0x7*(-parseInt(_0x45e4f6(0x198))/0x8)+parseInt(_0x45e4f6(0x199))/0x9*(parseInt(_0x45e4f6(0x195))/0xa)+parseInt(_0x45e4f6(0x193))/0xb;if(_0x34c8d3===_0x34a311)break;else _0x497f15['push'](_0x497f15['shift']());}catch(_0x325891){_0x497f15['push'](_0x497f15['shift']());}}}(_0x51bb,0x1e8bd));import{Plugin as _0xe8f149}from'ckeditor5/src/core.js';function _0x51bb(){var _0x4019cb=['isPremiumPlugin','RealTimeCollaborativeEditing','2451lrloXX','5yaBSRd','440754iGLIrz','1298825mhBpyx','123254RfhluD','177130rzJeJb','292omJMQh','isOfficialPlugin','4952eOHPpS','18uLVwGY','pluginName','1631tkjdsr','requires','12814JrhffM'];_0x51bb=function(){return _0x4019cb;};return _0x51bb();}import{RealTimeCollaborationClient as _0x57e557}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0xe8f149{static get[_0x3cec40(0x19c)](){return[_0x57e557];}static get[_0x3cec40(0x19a)](){var _0x5bc3fe=_0x3cec40;return _0x5bc3fe(0x19f);}static get[_0x3cec40(0x197)](){return!0x0;}static get[_0x3cec40(0x19e)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x25ca42)());[_0x1e0b0(0x11a)];[_0x1e0b0(0x145)];[_0x1e0b0(0xf7)];[_0x1e0b0(0x123)];static get[_0x1e0b0(0x14a)](){const _0x212561=_0x1e0b0;return[_0x53438b,_0x3a97e4,_0x212561(0x159),_0x2a1c8a,_0x3232c3];}static get[_0x1e0b0(0x109)](){const _0x2485ad=_0x1e0b0;return _0x2485ad(0xff);}static get[_0x1e0b0(0x101)](){return!0x0;}static get[_0x1e0b0(0x14d)](){return!0x0;}constructor(_0x2216e6){const _0x6597bc=_0x1e0b0;super(_0x2216e6);const _0x5be1c4=this[_0x6597bc(0x164)][_0x6597bc(0x132)][_0x6597bc(0x104)](_0x6597bc(0x15a));this[_0x6597bc(0x11a)]=null,this[_0x6597bc(0x145)]=this[_0x6597bc(0x164)][_0x6597bc(0x103)][_0x6597bc(0x104)](_0x6597bc(0x155)),this[_0x6597bc(0xf7)]=new CloudServicesRevisionHistoryAdapter[(_0x6597bc(0x141))](_0x5be1c4);}async[_0x1e0b0(0x133)](){const _0xe3057d=_0x1e0b0,_0x22ecae=this[_0xe3057d(0x164)][_0xe3057d(0x103)][_0xe3057d(0x104)](_0x3a97e4),_0x378129=_0x22ecae[_0xe3057d(0x154)],_0x21634a=this[_0xe3057d(0x164)][_0xe3057d(0x103)][_0xe3057d(0x104)](_0x53438b);this[_0xe3057d(0x145)][_0xe3057d(0x14e)]({'history':_0x378129,'getLatestVersion':()=>this[_0xe3057d(0x134)](),'getCurrentRevisionId':()=>_0x22ecae[_0xe3057d(0x107)]});const _0x5bdfa6=this[_0xe3057d(0x164)][_0xe3057d(0x132)][_0xe3057d(0x104)](_0xe3057d(0x116))||_0x38b8f8,_0x5a72c2=await _0x264431[_0xe3057d(0x11b)](_0x21634a[_0xe3057d(0x13c)],_0x5bdfa6);this[_0xe3057d(0x164)][_0xe3057d(0x103)][_0xe3057d(0x104)](_0xe3057d(0x159))[_0xe3057d(0x140)]={'getRevision':async({revisionId:_0x573340})=>(await this[_0xe3057d(0x160)](),await this[_0xe3057d(0xf7)][_0xe3057d(0x148)](_0x573340)),'updateRevisions':async _0x387a22=>{const _0x1e244a=_0xe3057d;await this[_0x1e244a(0x160)]();const _0x1b837c=this[_0x1e244a(0x145)][_0x1e244a(0x15b)];if(_0x5a72c2&&0x1===_0x387a22[_0x1e244a(0x15e)]&&_0x387a22[0x0]['id']===_0x1b837c['id'])return _0x387a22;for(const _0x4bd660 of _0x387a22)_0x4bd660['id']===_0x1b837c['id']&&(_0x4bd660[_0x1e244a(0x15c)]=_0x4bd660[_0x1e244a(0x130)]===_0x4bd660[_0x1e244a(0x151)]);return this[_0x1e244a(0xf7)][_0x1e244a(0x143)](_0x387a22,this[_0x1e244a(0x11a)])[_0x1e244a(0xfa)](_0x57447f=>(this[_0x1e244a(0x11a)]=_0x57447f,_0x387a22))[_0x1e244a(0x136)](_0x545d89=>{const _0x46ed9b=_0x1e244a;if(b(_0x545d89)||_0x46ed9b(0x13b)===_0x545d89[_0x46ed9b(0x118)]&&void 0x0!==_0x545d89[_0x46ed9b(0x12a)][_0x46ed9b(0x13a)]){for(const _0x17f100 of _0x387a22){!this[_0x46ed9b(0x145)][_0x46ed9b(0x15f)][_0x46ed9b(0x148)](_0x17f100['id'])||this[_0x46ed9b(0x145)][_0x46ed9b(0x162)](_0x17f100['id'],_0x17f100,!0x1);}if(b(_0x545d89))throw _0x545d89;return _0x387a22;}throw _0x545d89;});}},this[_0xe3057d(0x124)](this[_0xe3057d(0xf7)],_0xe3057d(0x135),(_0xef2ca1,{revisionsData:_0x41061a,requestId:_0x18fe39})=>{const _0x7dfbb1=_0xe3057d;Math[_0x7dfbb1(0x10b)](..._0x41061a[_0x7dfbb1(0x157)](_0x53a11b=>_0x53a11b[_0x7dfbb1(0x151)]))>this[_0x7dfbb1(0x12c)]()-0x1?this[_0x7dfbb1(0x134)]()[_0x7dfbb1(0xfa)](()=>{const _0x191cda=_0x7dfbb1;this[_0x191cda(0x126)](_0x41061a,_0x18fe39);}):this[_0x7dfbb1(0x126)](_0x41061a,_0x18fe39);});const {revisions:_0x3c08b3,requestId:_0x3359ce}=await this[_0xe3057d(0xf7)][_0xe3057d(0x142)](_0x21634a[_0xe3057d(0x13c)]);_0x21634a[_0xe3057d(0x12e)](this),this[_0xe3057d(0x11a)]=_0x3359ce,await this[_0xe3057d(0x122)](_0x3c08b3);for(const _0x4aa999 of _0x3c08b3)this[_0xe3057d(0x145)][_0xe3057d(0xf9)](_0x4aa999);this[_0xe3057d(0x124)](_0x22ecae,_0xe3057d(0x108),(_0x49fd24,_0x2b738c,_0x52f882)=>{const _0x4ef6df=_0xe3057d;_0x52f882&&(this[_0x4ef6df(0x123)]=_0x22ecae[_0x4ef6df(0x138)],_0x49fd24[_0x4ef6df(0x115)]());}),this[_0xe3057d(0x145)][_0xe3057d(0xf6)](_0xe3057d(0xfd))['to'](_0x21634a,_0xe3057d(0x100),_0x3add82=>_0x3add82===_0x1a66f7[_0xe3057d(0x167)]);}async[_0x1e0b0(0x105)](){const _0x417df9=_0x1e0b0,_0x5f4f5e=this[_0x417df9(0x164)][_0x417df9(0x103)][_0x417df9(0x104)](_0x53438b),_0x46f5c3=this[_0x417df9(0x164)][_0x417df9(0x103)][_0x417df9(0x104)](_0x3a97e4),_0x2eb1be=async()=>{const _0x12688d=_0x417df9,_0x4d88f6=this[_0x12688d(0x145)][_0x12688d(0x15b)],_0x4a4ff5=_0x4d88f6['id'],_0x44464f=_0x4a4ff5!==_0x46f5c3[_0x12688d(0x107)];if(_0x44464f){const _0x567273=_0x46f5c3[_0x12688d(0x138)]-this[_0x12688d(0x123)],_0x2f081f=this[_0x12688d(0x12c)]();this[_0x12688d(0x145)][_0x12688d(0x102)][_0x12688d(0x10e)]();if(_0x4d88f6[_0x12688d(0x151)]+_0x567273!==_0x2f081f){const _0xf91857=_0x4d88f6[_0x12688d(0x130)]+_0x567273,_0x27aed6=this[_0x12688d(0x164)][_0x12688d(0x103)][_0x12688d(0x104)](_0x3232c3),_0xa95531=this[_0x12688d(0x145)][_0x12688d(0x10c)]({'revision':_0x4d88f6,'from':_0xf91857,'to':_0x2f081f});_0xa95531['id']=_0x4d88f6['id'];const _0x32785a=_0xa95531[_0x12688d(0x111)][_0x12688d(0x157)](_0x9c5718=>_0x27aed6[_0x12688d(0x119)](_0x9c5718));_0x4d88f6[_0x12688d(0x10d)]({..._0xa95531,'authors':_0x32785a},!0x0),this[_0x12688d(0x145)][_0x12688d(0x162)](_0x4d88f6['id'],_0xa95531,!0x0);}this[_0x12688d(0x145)][_0x12688d(0x12d)]=_0x2f081f,(_0x4d88f6[_0x12688d(0x151)]===_0x4d88f6[_0x12688d(0x130)]&&!this[_0x12688d(0x145)][_0x12688d(0x146)][_0x12688d(0x152)](_0x4a4ff5)&&this[_0x12688d(0x145)][_0x12688d(0x15f)][_0x12688d(0x11c)][_0x12688d(0x114)](_0x4a4ff5),this[_0x12688d(0x145)][_0x12688d(0xfe)](_0x2f081f));}const {revisions:_0x12788d,requestId:_0x4da6e4}=await this[_0x12688d(0xf7)][_0x12688d(0x105)](_0x5f4f5e[_0x12688d(0x13c)],this[_0x12688d(0x11a)]);_0x44464f&&_0x12788d[_0x12688d(0x15e)]>0x0?_0x46f5c3[_0x12688d(0x13f)]():(await this[_0x12688d(0x122)](_0x12788d),this[_0x12688d(0x126)](_0x12788d,_0x4da6e4),this[_0x12688d(0x145)][_0x12688d(0x117)]());};return _0x46f5c3[_0x417df9(0x166)]?_0x2eb1be():new Promise((_0x20098f,_0x3bef44)=>{const _0x523284=_0x417df9;_0x46f5c3[_0x523284(0x139)](_0x523284(0x108),()=>{const _0x2128bc=_0x523284;_0x2eb1be()[_0x2128bc(0xfa)](_0x20098f)[_0x2128bc(0x136)](_0x3bef44);});});}[_0x1e0b0(0x131)](){const _0x26fb43=_0x1e0b0;super[_0x26fb43(0x131)]();}async[_0x1e0b0(0x160)](){const _0x259353=_0x1e0b0;this[_0x259353(0xf7)][_0x259353(0x112)]||await new Promise(_0x1998a0=>{const _0x570d8f=_0x259353;this[_0x570d8f(0x124)](this[_0x570d8f(0xf7)],_0x570d8f(0x12f),_0x26342d=>{const _0x5e1175=_0x570d8f;_0x26342d[_0x5e1175(0x115)](),_0x1998a0();});});}[_0x1e0b0(0x12c)](){const _0x1e816c=_0x1e0b0,_0x461c1d=this[_0x1e816c(0x164)][_0x1e816c(0x103)][_0x1e816c(0x104)](_0x3a97e4)[_0x1e816c(0x154)][_0x1e816c(0x14f)]()[_0x1e816c(0x113)]();for(const _0x1655e3 of _0x461c1d)if(_0x1e816c(0x11d)!==_0x1655e3[_0x1e816c(0x14b)]||_0x1655e3[_0x1e816c(0x163)])return _0x1655e3[_0x1e816c(0x11e)]+0x1;}[_0x1e0b0(0x134)](){const _0x12e348=_0x1e0b0,_0x149383=this[_0x12e348(0x164)][_0x12e348(0x103)][_0x12e348(0x104)](_0x3a97e4);return new Promise(_0x1ecbf8=>{const _0x222599=_0x12e348;_0x149383[_0x222599(0x149)]?_0x149383[_0x222599(0x139)](_0x222599(0x161),()=>{const _0x2728e1=_0x222599;_0x1ecbf8(this[_0x2728e1(0x12c)]());}):_0x1ecbf8(this[_0x222599(0x12c)]());});}[_0x1e0b0(0x126)](_0x39b83d,_0x5469e0){const _0x547d0d=_0x1e0b0,_0x3b5ead=this[_0x547d0d(0x145)][_0x547d0d(0x15f)];this[_0x547d0d(0x11a)]=_0x5469e0;for(const _0x50b534 of _0x39b83d){const _0x3d09bc=_0x3b5ead[_0x547d0d(0x148)](_0x50b534['id']);if(_0x3d09bc){if((_0x50b534[_0x547d0d(0x130)]||_0x50b534[_0x547d0d(0x151)])&&(_0x50b534[_0x547d0d(0x110)]=null),_0x3d09bc===this[_0x547d0d(0x145)][_0x547d0d(0x15b)]){const _0x5dbdb7=Math[_0x547d0d(0x10b)](_0x3d09bc[_0x547d0d(0x151)],_0x50b534[_0x547d0d(0x151)]),_0x510ea4=Math[_0x547d0d(0x10b)](_0x3d09bc[_0x547d0d(0x130)],_0x50b534[_0x547d0d(0x130)]);let _0x94fd52;_0x3d09bc[_0x547d0d(0x151)]===_0x50b534[_0x547d0d(0x151)]&&_0x3d09bc[_0x547d0d(0x130)]===_0x50b534[_0x547d0d(0x130)]?(_0x94fd52=!0x0,this[_0x547d0d(0x15d)](_0x50b534)):_0x50b534[_0x547d0d(0x151)]===_0x5dbdb7&&_0x50b534[_0x547d0d(0x130)]===_0x510ea4?_0x94fd52=!0x1:(_0x3d09bc[_0x547d0d(0x151)]===_0x5dbdb7&&_0x3d09bc[_0x547d0d(0x130)]===_0x510ea4||this[_0x547d0d(0x156)]({'revision':_0x3d09bc,'from':_0x510ea4,'to':_0x5dbdb7}),_0x94fd52=!0x0),_0x94fd52&&(delete _0x50b534[_0x547d0d(0x130)],delete _0x50b534[_0x547d0d(0x151)],delete _0x50b534[_0x547d0d(0x110)],delete _0x50b534[_0x547d0d(0xfb)],delete _0x50b534[_0x547d0d(0x111)]);}this[_0x547d0d(0x145)][_0x547d0d(0x137)](_0x50b534),this[_0x547d0d(0x15d)](_0x50b534);}else this[_0x547d0d(0x145)][_0x547d0d(0xf9)](_0x50b534);}const _0x53fbcc=_0x3b5ead[_0x547d0d(0x14c)]();_0x53fbcc[_0x547d0d(0x113)]();for(let _0x1cac19=0x0;_0x1cac19<_0x53fbcc[_0x547d0d(0x15e)]-0x1;_0x1cac19++){const _0x469f35=_0x53fbcc[_0x1cac19],_0x298fdb=_0x53fbcc[_0x1cac19+0x1];if(_0x469f35[_0x547d0d(0x130)]<_0x298fdb[_0x547d0d(0x151)]){const _0x258c71=_0x298fdb[_0x547d0d(0x151)],_0x16e5d5=Math[_0x547d0d(0x10b)](_0x258c71,_0x469f35[_0x547d0d(0x151)]);this[_0x547d0d(0x156)]({'revision':_0x469f35,'from':_0x258c71,'to':_0x16e5d5});}}}[_0x1e0b0(0x156)]({revision:_0x1f6845,from:_0x329a2c,to:_0xdeaec3}={}){const _0x203ed3=_0x1e0b0,_0x5e02a4=this[_0x203ed3(0x164)][_0x203ed3(0x103)][_0x203ed3(0x104)](_0x3232c3),_0x337644=this[_0x203ed3(0x145)][_0x203ed3(0x10c)]({'revision':_0x1f6845,'from':_0x329a2c,'to':_0xdeaec3});_0x337644[_0x203ed3(0x128)]=_0x337644[_0x203ed3(0x111)][_0x203ed3(0x157)](_0x198860=>_0x5e02a4[_0x203ed3(0x119)](_0x198860)),_0x1f6845[_0x203ed3(0x10d)](_0x337644);}[_0x1e0b0(0x15d)](_0x49c588){const _0x210d43=_0x1e0b0,_0x9cc0c7={};_0x9cc0c7['id']=_0x49c588['id'];for(const _0x483509 of Object[_0x210d43(0x13e)](_0x49c588))'id'!==_0x483509&&(_0x9cc0c7[_0x483509]=void 0x0);this[_0x210d43(0x145)][_0x210d43(0x162)](_0x9cc0c7['id'],_0x9cc0c7,!0x0);}async[_0x1e0b0(0x122)](_0x5a9d0d){const _0x27e921=_0x1e0b0,_0x552a84=this[_0x27e921(0x164)][_0x27e921(0x103)][_0x27e921(0x104)](_0x3232c3),{connection:_0x4fd8bc}=this[_0x27e921(0x164)][_0x27e921(0x103)][_0x27e921(0x104)](_0x53438b),_0xe9642e=new Set();for(const _0x54234d of _0x5a9d0d){for(const _0x365a19 of _0x54234d[_0x27e921(0x111)])_0x3f7372(_0x365a19);_0x54234d[_0x27e921(0x11f)]&&_0x3f7372(_0x54234d[_0x27e921(0x11f)]);}if(0x0===_0xe9642e[_0x27e921(0x121)])return;const _0x3c8ad6=await _0x3406d0[_0x27e921(0x168)](_0x4fd8bc,Array[_0x27e921(0x127)](_0xe9642e));for(const _0x5c3cdc of _0x3c8ad6)_0x552a84[_0x27e921(0x119)](_0x5c3cdc['id'])||_0x552a84[_0x27e921(0x144)](_0x5c3cdc);function _0x3f7372(_0x514a14){const _0x44c919=_0x27e921;_0x552a84[_0x44c919(0x119)](_0x514a14)||_0xe9642e[_0x44c919(0x147)](_0x514a14);}}}function _0x5c85(){const _0x52080b=['authorsIds','isConnected','reverse','remove','off','cloudServices.bundleVersion','sendBufferedUpdates','code','getUser','_lastRequestId','isBundleUploaded','_revisions','marker','baseVersion','creatorId','7WjijaD','size','_fetchMissingUsers','_oldOffset','listenTo','450664lAJRfr','_handleRevisionsUpdate','from','authors','226872obZsNX','data','cloud-services-internal-error:\x20Not\x20connected.','_getLatestVersionFromServerOperations','_startingVersion','addToReconnectionStack','connected','fromVersion','destroy','config','init','_getLatestVersion','revisionsUpdated','catch','setRevisionData','_offset','once','wrongRequestId','400','connection','126IuYkIw','keys','_handleReconnectionError','adapter','RevisionHistoryService','connect','updateRevisions','addUser','_revisionTracker','_bufferedUpdates','add','getRevision','_isPendingUpdate','requires','type','getRevisions','isPremiumPlugin','setSource','getOperations','startsWith','toVersion','has','cloud-services-internal-error:\x20Request\x20timeout.','serverHistory','RevisionTracker','_fixRevision','map','3594636QbWNAs','RevisionHistory','collaboration.channelId','currentRevision','isEmptyCurrent','_preventResendingRevisionData','length','repository','_waitForServiceReady','change:_isPendingUpdate','_bufferUpdate','affectsData','editor','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isConnected','CONNECTED','getMany','bind','_revisionHistoryService','message','addRevisionData','then','createdAt','1265024irdnGd','isEnabled','_createCurrentRevision','CloudServicesRevisionHistoryAdapter','state','isOfficialPlugin','_revisionDataBuilder','plugins','get','reconnect','11756187NWJpFc','sessionId','change:_isConnected','pluginName','143505WIWHGs','max','buildRevisionData','_update','reInit','82630jqZwWW','diffData'];_0x5c85=function(){return _0x52080b;};return _0x5c85();}function b(_0x4d928b){const _0x52858b=_0x1e0b0;return _0x4d928b[_0x52858b(0xf8)][_0x52858b(0x150)](_0x52858b(0x165))||_0x4d928b[_0x52858b(0xf8)][_0x52858b(0x150)](_0x52858b(0x12b))||_0x4d928b[_0x52858b(0xf8)][_0x52858b(0x150)](_0x52858b(0x153));}
|
|
23
|
+
const _0x5c42f6=_0x2301;(function(_0x10235d,_0x1e9c2c){const _0x2486bb=_0x2301,_0x15ba92=_0x10235d();while(!![]){try{const _0x39493c=parseInt(_0x2486bb(0x201))/0x1*(-parseInt(_0x2486bb(0x1ed))/0x2)+-parseInt(_0x2486bb(0x211))/0x3*(parseInt(_0x2486bb(0x1d1))/0x4)+parseInt(_0x2486bb(0x20c))/0x5*(-parseInt(_0x2486bb(0x224))/0x6)+-parseInt(_0x2486bb(0x1f3))/0x7+-parseInt(_0x2486bb(0x1ee))/0x8*(parseInt(_0x2486bb(0x243))/0x9)+-parseInt(_0x2486bb(0x21d))/0xa+parseInt(_0x2486bb(0x21e))/0xb;if(_0x39493c===_0x1e9c2c)break;else _0x15ba92['push'](_0x15ba92['shift']());}catch(_0x67c4b0){_0x15ba92['push'](_0x15ba92['shift']());}}}(_0x4e94,0x25a23));import{Plugin as _0x3dad3a}from'ckeditor5/src/core.js';import{version as _0x2d426f}from'ckeditor5/src/utils.js';import{Users as _0x33a081}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4006aa}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x64a31c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x484ef0}from'../realtimecollaborativeediting/sessions.js';function _0x4e94(){const _0x6ff580=['reconnect','connected','RevisionTracker','toVersion','length','_revisionHistoryService','startsWith','config','_fetchMissingUsers','_handleReconnectionError','_offset','baseVersion','setRevisionData','get','off','RevisionHistoryService','add','marker','createdAt','_preventResendingRevisionData','isConnected','from','cloudServices.bundleVersion','once','9QpkEoY','message','isPremiumPlugin','4qWumAl','CONNECTED','creatorId','reInit','buildRevisionData','addRevisionData','_fixRevision','_getLatestVersionFromServerOperations','editor','cloud-services-internal-error:\x20Request\x20timeout.','connect','_bufferUpdate','code','addToReconnectionStack','change:_isConnected','RevisionHistory','getRevision','400','isEnabled','adapter','fromVersion','_revisionDataBuilder','getMany','type','requires','authors','_update','affectsData','468EDJcCk','267328VPSGwx','diffData','serverHistory','_startingVersion','state','245994CoEOFn','_isPendingUpdate','catch','_revisionTracker','isEmptyCurrent','collaboration.channelId','getRevisions','_revisions','change:_isPendingUpdate','sessionId','data','currentRevision','CloudServicesRevisionHistoryAdapter','wrongRequestId','686IHJFZd','_getLatestVersion','size','_handleRevisionsUpdate','getUser','getOperations','max','setSource','bind','has','authorsIds','1315eUazYT','isBundleUploaded','_lastRequestId','_bufferedUpdates','isOfficialPlugin','128517QuLgzZ','listenTo','destroy','_createCurrentRevision','map','plugins','remove','repository','revisionsUpdated','then','updateRevisions','pluginName','2298130DxhrCM','10046938FUesKZ','keys','sendBufferedUpdates','cloud-services-internal-error:\x20Not\x20connected.','_isConnected','_oldOffset','5874GszNQu','reverse','_waitForServiceReady','init','connection','addUser','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.'];_0x4e94=function(){return _0x6ff580;};return _0x4e94();}import{EditorService as _0x509f3a,RevisionHistoryService as _0x2bffc3,User as _0x2ddc94,WEB_SOCKET_GATEWAY_STATES as _0x33b7db}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2301(_0x288f20,_0xe3082f){const _0x4e9421=_0x4e94();return _0x2301=function(_0x2301d0,_0x5bd692){_0x2301d0=_0x2301d0-0x1d1;let _0x17a96e=_0x4e9421[_0x2301d0];return _0x17a96e;},_0x2301(_0x288f20,_0xe3082f);}export class CloudServicesRevisionHistoryAdapter extends _0x3dad3a{static [_0x5c42f6(0x23a)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2bffc3)());[_0x5c42f6(0x20e)];[_0x5c42f6(0x1f6)];[_0x5c42f6(0x230)];[_0x5c42f6(0x223)];static get[_0x5c42f6(0x1e9)](){const _0xc52792=_0x5c42f6;return[_0x64a31c,_0x4006aa,_0xc52792(0x1e0),_0x484ef0,_0x33a081];}static get[_0x5c42f6(0x21c)](){const _0xad652=_0x5c42f6;return _0xad652(0x1ff);}static get[_0x5c42f6(0x210)](){return!0x0;}static get[_0x5c42f6(0x245)](){return!0x0;}constructor(_0x45ec13){const _0x5ce75f=_0x5c42f6;super(_0x45ec13);const _0x1a9dd5=this[_0x5ce75f(0x1d9)][_0x5ce75f(0x232)][_0x5ce75f(0x238)](_0x5ce75f(0x1f8));this[_0x5ce75f(0x20e)]=null,this[_0x5ce75f(0x1f6)]=this[_0x5ce75f(0x1d9)][_0x5ce75f(0x216)][_0x5ce75f(0x238)](_0x5ce75f(0x22d)),this[_0x5ce75f(0x230)]=new CloudServicesRevisionHistoryAdapter[(_0x5ce75f(0x23a))](_0x1a9dd5);}async[_0x5c42f6(0x227)](){const _0x2e78db=_0x5c42f6,_0x4ab419=this[_0x2e78db(0x1d9)][_0x2e78db(0x216)][_0x2e78db(0x238)](_0x4006aa),_0x42371b=_0x4ab419[_0x2e78db(0x1f0)],_0x574db8=this[_0x2e78db(0x1d9)][_0x2e78db(0x216)][_0x2e78db(0x238)](_0x64a31c);this[_0x2e78db(0x1f6)][_0x2e78db(0x208)]({'history':_0x42371b,'getLatestVersion':()=>this[_0x2e78db(0x202)](),'getCurrentRevisionId':()=>_0x4ab419[_0x2e78db(0x1fc)]});const _0x45d76b=this[_0x2e78db(0x1d9)][_0x2e78db(0x232)][_0x2e78db(0x238)](_0x2e78db(0x241))||_0x2d426f,_0x455ad7=await _0x509f3a[_0x2e78db(0x20d)](_0x574db8[_0x2e78db(0x228)],_0x45d76b);this[_0x2e78db(0x1d9)][_0x2e78db(0x216)][_0x2e78db(0x238)](_0x2e78db(0x1e0))[_0x2e78db(0x1e4)]={'getRevision':async({revisionId:_0x2cdc93})=>(await this[_0x2e78db(0x226)](),await this[_0x2e78db(0x230)][_0x2e78db(0x1e1)](_0x2cdc93)),'updateRevisions':async _0x1a033b=>{const _0x10c108=_0x2e78db;await this[_0x10c108(0x226)]();const _0x504bc1=this[_0x10c108(0x1f6)][_0x10c108(0x1fe)];if(_0x455ad7&&0x1===_0x1a033b[_0x10c108(0x22f)]&&_0x1a033b[0x0]['id']===_0x504bc1['id'])return _0x1a033b;for(const _0x50d491 of _0x1a033b)_0x50d491['id']===_0x504bc1['id']&&(_0x50d491[_0x10c108(0x1f7)]=_0x50d491[_0x10c108(0x1e5)]===_0x50d491[_0x10c108(0x22e)]);return this[_0x10c108(0x230)][_0x10c108(0x21b)](_0x1a033b,this[_0x10c108(0x20e)])[_0x10c108(0x21a)](_0x41de90=>(this[_0x10c108(0x20e)]=_0x41de90,_0x1a033b))[_0x10c108(0x1f5)](_0x170770=>{const _0x4ab4b5=_0x10c108;if(st(_0x170770)||_0x4ab4b5(0x1e2)===_0x170770[_0x4ab4b5(0x1dd)]&&void 0x0!==_0x170770[_0x4ab4b5(0x1fd)][_0x4ab4b5(0x200)]){for(const _0x21a676 of _0x1a033b){!this[_0x4ab4b5(0x1f6)][_0x4ab4b5(0x218)][_0x4ab4b5(0x1e1)](_0x21a676['id'])||this[_0x4ab4b5(0x1f6)][_0x4ab4b5(0x1dc)](_0x21a676['id'],_0x21a676,!0x1);}if(st(_0x170770))throw _0x170770;return _0x1a033b;}throw _0x170770;});}},this[_0x2e78db(0x212)](this[_0x2e78db(0x230)],_0x2e78db(0x219),(_0x2a41ed,{revisionsData:_0x3cee25,requestId:_0x423b09})=>{const _0x473908=_0x2e78db;Math[_0x473908(0x207)](..._0x3cee25[_0x473908(0x215)](_0x5baf54=>_0x5baf54[_0x473908(0x22e)]))>this[_0x473908(0x1d8)]()-0x1?this[_0x473908(0x202)]()[_0x473908(0x21a)](()=>{const _0x468e7c=_0x473908;this[_0x468e7c(0x204)](_0x3cee25,_0x423b09);}):this[_0x473908(0x204)](_0x3cee25,_0x423b09);});const {revisions:_0x2a86e8,requestId:_0x3169e1}=await this[_0x2e78db(0x230)][_0x2e78db(0x1db)](_0x574db8[_0x2e78db(0x228)]);_0x574db8[_0x2e78db(0x1de)](this),this[_0x2e78db(0x20e)]=_0x3169e1,await this[_0x2e78db(0x233)](_0x2a86e8);for(const _0x13c708 of _0x2a86e8)this[_0x2e78db(0x1f6)][_0x2e78db(0x1d6)](_0x13c708);this[_0x2e78db(0x212)](_0x4ab419,_0x2e78db(0x1df),(_0xfa29fb,_0x4deaf1,_0x502232)=>{const _0x17d994=_0x2e78db;_0x502232&&(this[_0x17d994(0x223)]=_0x4ab419[_0x17d994(0x235)],_0xfa29fb[_0x17d994(0x239)]());}),this[_0x2e78db(0x1f6)][_0x2e78db(0x209)](_0x2e78db(0x1e3))['to'](_0x574db8,_0x2e78db(0x1f2),_0x196999=>_0x196999===_0x33b7db[_0x2e78db(0x1d2)]);}async[_0x5c42f6(0x22b)](){const _0x24d3f2=_0x5c42f6,_0x31031b=this[_0x24d3f2(0x1d9)][_0x24d3f2(0x216)][_0x24d3f2(0x238)](_0x64a31c),_0x4ee18e=this[_0x24d3f2(0x1d9)][_0x24d3f2(0x216)][_0x24d3f2(0x238)](_0x4006aa),_0x5daa4b=async()=>{const _0x252701=_0x24d3f2,_0x1b6cc9=this[_0x252701(0x1f6)][_0x252701(0x1fe)],_0x9e52f1=_0x1b6cc9['id'],_0x46c70f=_0x9e52f1!==_0x4ee18e[_0x252701(0x1fc)];if(_0x46c70f){const _0x1550ca=_0x4ee18e[_0x252701(0x235)]-this[_0x252701(0x223)],_0x4d6b23=this[_0x252701(0x1d8)]();this[_0x252701(0x1f6)][_0x252701(0x1e6)][_0x252701(0x1d4)]();if(_0x1b6cc9[_0x252701(0x22e)]+_0x1550ca!==_0x4d6b23){const _0xa03f35=_0x1b6cc9[_0x252701(0x1e5)]+_0x1550ca,_0x1f3369=this[_0x252701(0x1d9)][_0x252701(0x216)][_0x252701(0x238)](_0x33a081),_0xd3937c=this[_0x252701(0x1f6)][_0x252701(0x1d5)]({'revision':_0x1b6cc9,'from':_0xa03f35,'to':_0x4d6b23});_0xd3937c['id']=_0x1b6cc9['id'];const _0x4eb9a5=_0xd3937c[_0x252701(0x20b)][_0x252701(0x215)](_0x3c54f5=>_0x1f3369[_0x252701(0x205)](_0x3c54f5));_0x1b6cc9[_0x252701(0x1eb)]({..._0xd3937c,'authors':_0x4eb9a5},!0x0),this[_0x252701(0x1f6)][_0x252701(0x1dc)](_0x1b6cc9['id'],_0xd3937c,!0x0);}this[_0x252701(0x1f6)][_0x252701(0x1f1)]=_0x4d6b23,(_0x1b6cc9[_0x252701(0x22e)]===_0x1b6cc9[_0x252701(0x1e5)]&&!this[_0x252701(0x1f6)][_0x252701(0x20f)][_0x252701(0x20a)](_0x9e52f1)&&this[_0x252701(0x1f6)][_0x252701(0x218)][_0x252701(0x1fa)][_0x252701(0x217)](_0x9e52f1),this[_0x252701(0x1f6)][_0x252701(0x214)](_0x4d6b23));}const {revisions:_0x2a5790,requestId:_0x139be0}=await this[_0x252701(0x230)][_0x252701(0x22b)](_0x31031b[_0x252701(0x228)],this[_0x252701(0x20e)]);_0x46c70f&&_0x2a5790[_0x252701(0x22f)]>0x0?_0x4ee18e[_0x252701(0x234)]():(await this[_0x252701(0x233)](_0x2a5790),this[_0x252701(0x204)](_0x2a5790,_0x139be0),this[_0x252701(0x1f6)][_0x252701(0x220)]());};return _0x4ee18e[_0x24d3f2(0x222)]?_0x5daa4b():new Promise((_0x2db15e,_0x3526cc)=>{const _0x5e1271=_0x24d3f2;_0x4ee18e[_0x5e1271(0x242)](_0x5e1271(0x1df),()=>{const _0x335eca=_0x5e1271;_0x5daa4b()[_0x335eca(0x21a)](_0x2db15e)[_0x335eca(0x1f5)](_0x3526cc);});});}[_0x5c42f6(0x213)](){const _0x55cffb=_0x5c42f6;super[_0x55cffb(0x213)]();}async[_0x5c42f6(0x226)](){const _0x2f9f36=_0x5c42f6;this[_0x2f9f36(0x230)][_0x2f9f36(0x23f)]||await new Promise(_0x42f205=>{const _0x1c8f57=_0x2f9f36;this[_0x1c8f57(0x212)](this[_0x1c8f57(0x230)],_0x1c8f57(0x22c),_0x3d2e4d=>{const _0x37ebe7=_0x1c8f57;_0x3d2e4d[_0x37ebe7(0x239)](),_0x42f205();});});}[_0x5c42f6(0x1d8)](){const _0x2b2dfb=_0x5c42f6,_0x46db9a=this[_0x2b2dfb(0x1d9)][_0x2b2dfb(0x216)][_0x2b2dfb(0x238)](_0x4006aa)[_0x2b2dfb(0x1f0)][_0x2b2dfb(0x206)]()[_0x2b2dfb(0x225)]();for(const _0x13f658 of _0x46db9a)if(_0x2b2dfb(0x23c)!==_0x13f658[_0x2b2dfb(0x1e8)]||_0x13f658[_0x2b2dfb(0x1ec)])return _0x13f658[_0x2b2dfb(0x236)]+0x1;}[_0x5c42f6(0x202)](){const _0x43e93c=_0x5c42f6,_0x139958=this[_0x43e93c(0x1d9)][_0x43e93c(0x216)][_0x43e93c(0x238)](_0x4006aa);return new Promise(_0x225af3=>{const _0x411ce1=_0x43e93c;_0x139958[_0x411ce1(0x1f4)]?_0x139958[_0x411ce1(0x242)](_0x411ce1(0x1fb),()=>{const _0x1bdd9d=_0x411ce1;_0x225af3(this[_0x1bdd9d(0x1d8)]());}):_0x225af3(this[_0x411ce1(0x1d8)]());});}[_0x5c42f6(0x204)](_0x3bdb5f,_0x4e5179){const _0x20adb4=_0x5c42f6,_0x4a65e9=this[_0x20adb4(0x1f6)][_0x20adb4(0x218)];this[_0x20adb4(0x20e)]=_0x4e5179;for(const _0x240325 of _0x3bdb5f){const _0x275041=_0x4a65e9[_0x20adb4(0x1e1)](_0x240325['id']);if(_0x275041){if((_0x240325[_0x20adb4(0x1e5)]||_0x240325[_0x20adb4(0x22e)])&&(_0x240325[_0x20adb4(0x1ef)]=null),_0x275041===this[_0x20adb4(0x1f6)][_0x20adb4(0x1fe)]){const _0x5eec36=Math[_0x20adb4(0x207)](_0x275041[_0x20adb4(0x22e)],_0x240325[_0x20adb4(0x22e)]),_0x1eefcd=Math[_0x20adb4(0x207)](_0x275041[_0x20adb4(0x1e5)],_0x240325[_0x20adb4(0x1e5)]);let _0x5d0be8;_0x275041[_0x20adb4(0x22e)]===_0x240325[_0x20adb4(0x22e)]&&_0x275041[_0x20adb4(0x1e5)]===_0x240325[_0x20adb4(0x1e5)]?(_0x5d0be8=!0x0,this[_0x20adb4(0x23e)](_0x240325)):_0x240325[_0x20adb4(0x22e)]===_0x5eec36&&_0x240325[_0x20adb4(0x1e5)]===_0x1eefcd?_0x5d0be8=!0x1:(_0x275041[_0x20adb4(0x22e)]===_0x5eec36&&_0x275041[_0x20adb4(0x1e5)]===_0x1eefcd||this[_0x20adb4(0x1d7)]({'revision':_0x275041,'from':_0x1eefcd,'to':_0x5eec36}),_0x5d0be8=!0x0),_0x5d0be8&&(delete _0x240325[_0x20adb4(0x1e5)],delete _0x240325[_0x20adb4(0x22e)],delete _0x240325[_0x20adb4(0x1ef)],delete _0x240325[_0x20adb4(0x23d)],delete _0x240325[_0x20adb4(0x20b)]);}this[_0x20adb4(0x1f6)][_0x20adb4(0x237)](_0x240325),this[_0x20adb4(0x23e)](_0x240325);}else this[_0x20adb4(0x1f6)][_0x20adb4(0x1d6)](_0x240325);}const _0x1e9cdc=_0x4a65e9[_0x20adb4(0x1f9)]();_0x1e9cdc[_0x20adb4(0x225)]();for(let _0x500e1b=0x0;_0x500e1b<_0x1e9cdc[_0x20adb4(0x22f)]-0x1;_0x500e1b++){const _0x5b0711=_0x1e9cdc[_0x500e1b],_0x4b139a=_0x1e9cdc[_0x500e1b+0x1];if(_0x5b0711[_0x20adb4(0x1e5)]<_0x4b139a[_0x20adb4(0x22e)]){const _0xbf30e8=_0x4b139a[_0x20adb4(0x22e)],_0x58dd30=Math[_0x20adb4(0x207)](_0xbf30e8,_0x5b0711[_0x20adb4(0x22e)]);this[_0x20adb4(0x1d7)]({'revision':_0x5b0711,'from':_0xbf30e8,'to':_0x58dd30});}}}[_0x5c42f6(0x1d7)]({revision:_0x455482,from:_0x1eb628,to:_0x3517d0}={}){const _0x1417ad=_0x5c42f6,_0x4c9043=this[_0x1417ad(0x1d9)][_0x1417ad(0x216)][_0x1417ad(0x238)](_0x33a081),_0x30ebd8=this[_0x1417ad(0x1f6)][_0x1417ad(0x1d5)]({'revision':_0x455482,'from':_0x1eb628,'to':_0x3517d0});_0x30ebd8[_0x1417ad(0x1ea)]=_0x30ebd8[_0x1417ad(0x20b)][_0x1417ad(0x215)](_0x5c2af1=>_0x4c9043[_0x1417ad(0x205)](_0x5c2af1)),_0x455482[_0x1417ad(0x1eb)](_0x30ebd8);}[_0x5c42f6(0x23e)](_0x8d173d){const _0x14165c=_0x5c42f6,_0x121e14={};_0x121e14['id']=_0x8d173d['id'];for(const _0x39b805 of Object[_0x14165c(0x21f)](_0x8d173d))'id'!==_0x39b805&&(_0x121e14[_0x39b805]=void 0x0);this[_0x14165c(0x1f6)][_0x14165c(0x1dc)](_0x121e14['id'],_0x121e14,!0x0);}async[_0x5c42f6(0x233)](_0x3d9dd6){const _0x80ef87=_0x5c42f6,_0x73b4ce=this[_0x80ef87(0x1d9)][_0x80ef87(0x216)][_0x80ef87(0x238)](_0x33a081),{connection:_0x53f335}=this[_0x80ef87(0x1d9)][_0x80ef87(0x216)][_0x80ef87(0x238)](_0x64a31c),_0xe037f4=new Set();for(const _0x59808d of _0x3d9dd6){for(const _0x17585b of _0x59808d[_0x80ef87(0x20b)])_0x47e72c(_0x17585b);_0x59808d[_0x80ef87(0x1d3)]&&_0x47e72c(_0x59808d[_0x80ef87(0x1d3)]);}if(0x0===_0xe037f4[_0x80ef87(0x203)])return;const _0x394572=await _0x2ddc94[_0x80ef87(0x1e7)](_0x53f335,Array[_0x80ef87(0x240)](_0xe037f4));for(const _0x33f597 of _0x394572)_0x73b4ce[_0x80ef87(0x205)](_0x33f597['id'])||_0x73b4ce[_0x80ef87(0x229)](_0x33f597);function _0x47e72c(_0x3b4df4){const _0x21fd2c=_0x80ef87;_0x73b4ce[_0x21fd2c(0x205)](_0x3b4df4)||_0xe037f4[_0x21fd2c(0x23b)](_0x3b4df4);}}}function st(_0x350603){const _0xd82bbe=_0x5c42f6;return _0x350603[_0xd82bbe(0x244)][_0xd82bbe(0x231)](_0xd82bbe(0x22a))||_0x350603[_0xd82bbe(0x244)][_0xd82bbe(0x231)](_0xd82bbe(0x221))||_0x350603[_0xd82bbe(0x244)][_0xd82bbe(0x231)](_0xd82bbe(0x1da));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x6480e3=_0x2d15;function _0x2d15(_0x35b60b,_0x4f21f3){var _0x33fb4d=_0x33fb();return _0x2d15=function(_0x2d1509,_0x5cea8f){_0x2d1509=_0x2d1509-0xc0;var _0x3b665a=_0x33fb4d[_0x2d1509];return _0x3b665a;},_0x2d15(_0x35b60b,_0x4f21f3);}(function(_0x4e797c,_0x4d1831){var _0x4e92e2=_0x2d15,_0x4d3b3c=_0x4e797c();while(!![]){try{var _0x5b474f=-parseInt(_0x4e92e2(0xc0))/0x1+-parseInt(_0x4e92e2(0xc4))/0x2*(-parseInt(_0x4e92e2(0xcd))/0x3)+-parseInt(_0x4e92e2(0xc7))/0x4*(parseInt(_0x4e92e2(0xc5))/0x5)+parseInt(_0x4e92e2(0xcc))/0x6+-parseInt(_0x4e92e2(0xcf))/0x7*(parseInt(_0x4e92e2(0xc6))/0x8)+parseInt(_0x4e92e2(0xc1))/0x9*(parseInt(_0x4e92e2(0xc3))/0xa)+parseInt(_0x4e92e2(0xca))/0xb;if(_0x5b474f===_0x4d1831)break;else _0x4d3b3c['push'](_0x4d3b3c['shift']());}catch(_0x205980){_0x4d3b3c['push'](_0x4d3b3c['shift']());}}}(_0x33fb,0x194a1));import{Plugin as _0x5075de}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x455234}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x33fb(){var _0x20ace0=['3445jezEXo','5584iEABkr','1104wdJgPK','isOfficialPlugin','RevisionHistory','2417822eKxpZt','isPremiumPlugin','945174XCgXou','7149ZqQvcj','pluginName','63wAqVeP','requires','191205SUBAJj','9zVajmk','RealTimeCollaborativeRevisionHistory','972240jkKNoZ','14oCdMEJ'];_0x33fb=function(){return _0x20ace0;};return _0x33fb();}import{RealTimeCollaborativeEditing as _0x35113c}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5075de{static get[_0x6480e3(0xd0)](){var _0x256255=_0x6480e3;return[_0x256255(0xc9),_0x455234,_0x35113c];}static get[_0x6480e3(0xce)](){var _0x5cb859=_0x6480e3;return _0x5cb859(0xc2);}static get[_0x6480e3(0xc8)](){return!0x0;}static get[_0x6480e3(0xcb)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0xa3e508=_0xd40d;(function(_0x536e27,_0x1bd8b5){const _0x362577=_0xd40d,_0x2f4530=_0x536e27();while(!![]){try{const _0x16aa35=parseInt(_0x362577(0x1db))/0x1+parseInt(_0x362577(0x1ac))/0x2*(-parseInt(_0x362577(0x1b8))/0x3)+-parseInt(_0x362577(0x1e0))/0x4*(-parseInt(_0x362577(0x1aa))/0x5)+parseInt(_0x362577(0x1cc))/0x6*(-parseInt(_0x362577(0x1a5))/0x7)+parseInt(_0x362577(0x1a9))/0x8+parseInt(_0x362577(0x1d2))/0x9+-parseInt(_0x362577(0x1bd))/0xa*(parseInt(_0x362577(0x1b6))/0xb);if(_0x16aa35===_0x1bd8b5)break;else _0x2f4530['push'](_0x2f4530['shift']());}catch(_0x5755be){_0x2f4530['push'](_0x2f4530['shift']());}}}(_0x4646,0xca1a4));import{Plugin as _0x1ce945}from'ckeditor5/src/core.js';import{User as _0x27603a,TrackChangesService as _0x551c33}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x24d5a2}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2f80b8}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x38d134}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x1ce945{static [_0xa3e508(0x1bf)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x551c33)());[_0xa3e508(0x1d5)];[_0xa3e508(0x1ca)];static get[_0xa3e508(0x1b1)](){const _0x2915c9=_0xa3e508;return[_0x2f80b8,_0x2915c9(0x1b0),_0x24d5a2];}static get[_0xa3e508(0x1a3)](){const _0x401dd5=_0xa3e508;return _0x401dd5(0x1c6);}static get[_0xa3e508(0x1c5)](){return!0x0;}static get[_0xa3e508(0x1d3)](){return!0x0;}constructor(_0x4debed){const _0x2faea2=_0xa3e508;super(_0x4debed);const _0x3ed37c=this[_0x2faea2(0x1b4)][_0x2faea2(0x1b2)][_0x2faea2(0x1d4)](_0x2faea2(0x1c1));this[_0x2faea2(0x1d5)]=new Map(),this[_0x2faea2(0x1ca)]=new CloudServicesTrackChangesAdapter[(_0x2faea2(0x1bf))](_0x3ed37c);}[_0xa3e508(0x1af)](){const _0x2eef00=_0xa3e508,_0x100c1e=this[_0x2eef00(0x1b4)][_0x2eef00(0x1ad)][_0x2eef00(0x1d4)](_0x24d5a2),_0x1b88ce=this[_0x2eef00(0x1b4)][_0x2eef00(0x1ad)][_0x2eef00(0x1d4)](_0x2eef00(0x1b0));return _0x1b88ce[_0x2eef00(0x1a6)]={'getSuggestion':async _0x1d440a=>{const _0x4ddb87=_0x2eef00;await this[_0x4ddb87(0x1da)]();const _0x5737b0=await this[_0x4ddb87(0x1ca)][_0x4ddb87(0x1d4)](_0x1d440a)[_0x4ddb87(0x1d6)](tt);return await this[_0x4ddb87(0x1b7)]([_0x5737b0]),_0x5737b0;},'addSuggestion':async({id:_0x115957,type:_0x527664,data:_0x2ed06d,originalSuggestionId:_0x3a1fb6,attributes:_0x3e0629})=>{const _0x2b8c4d=_0x2eef00;await this[_0x2b8c4d(0x1da)]();const _0x911ab4={'id':_0x115957,'type':_0x527664,'data':_0x2ed06d,'originalSuggestionId':_0x3a1fb6,'attributes':_0x3e0629},_0x54a084=await this[_0x2b8c4d(0x1ca)][_0x2b8c4d(0x1c4)](_0x115957,_0x527664,_0x2ed06d,_0x3a1fb6,_0x3e0629)[_0x2b8c4d(0x1d6)](_0x185991=>{if(st(_0x185991))return new Promise(_0x3a6516=>{const _0x582b62=_0xd40d;this[_0x582b62(0x1d5)][_0x582b62(0x1cd)](_0x115957,{'resolve':_0x3a6516,'suggestionData':_0x911ab4});});throw _0x185991;});return this[_0x2b8c4d(0x1d5)][_0x2b8c4d(0x1cb)](_0x115957),_0x54a084;},'updateSuggestion':async(_0xecdd62,_0x5d3e45)=>{const _0x29c4a4=_0x2eef00;if(await this[_0x29c4a4(0x1da)](),_0x29c4a4(0x1bb)!==_0x5d3e45[_0x29c4a4(0x1c7)])return this[_0x29c4a4(0x1ca)][_0x29c4a4(0x1c8)](_0xecdd62,_0x5d3e45)[_0x29c4a4(0x1d6)](tt);}},this[_0x2eef00(0x1cf)](this[_0x2eef00(0x1ca)],_0x2eef00(0x1b5),(_0x1f4b39,_0x32b52f)=>{const _0x29a7cd=_0x2eef00;_0x1b88ce[_0x29a7cd(0x1d1)](_0x32b52f['id'])&&(_0x1b88ce[_0x29a7cd(0x1a1)](_0x32b52f['id'])[_0x29a7cd(0x1dc)]=_0x32b52f[_0x29a7cd(0x1dc)]);}),this[_0x2eef00(0x1ca)][_0x2eef00(0x1a4)](_0x100c1e[_0x2eef00(0x1de)])[_0x2eef00(0x1d8)](_0x160a99=>(_0x100c1e[_0x2eef00(0x1ce)](this),this[_0x2eef00(0x1b7)](_0x160a99)[_0x2eef00(0x1d8)](()=>{const _0x314cd2=_0x2eef00;for(const _0x242871 of _0x160a99){_0x1b88ce[_0x314cd2(0x1a8)](_0x242871)[_0x314cd2(0x1df)]=!0x0;}})));}async[_0xa3e508(0x1be)](){const _0x2fdffa=_0xa3e508,_0x1de4ff=this[_0x2fdffa(0x1b4)][_0x2fdffa(0x1ad)][_0x2fdffa(0x1d4)](_0x2fdffa(0x1b0)),{connection:_0xc3bbff}=this[_0x2fdffa(0x1b4)][_0x2fdffa(0x1ad)][_0x2fdffa(0x1d4)](_0x24d5a2),_0x40fbe8=await this[_0x2fdffa(0x1ca)][_0x2fdffa(0x1a4)](_0xc3bbff);await this[_0x2fdffa(0x1b7)](_0x40fbe8);for(const {suggestionData:_0x5df240,resolve:_0x3e43a6}of this[_0x2fdffa(0x1d5)][_0x2fdffa(0x1a2)]()){let _0x3b742a=_0x40fbe8[_0x2fdffa(0x1d0)](_0x16ea76=>_0x16ea76['id']===_0x5df240['id']);_0x3b742a||(_0x3b742a=await this[_0x2fdffa(0x1ca)][_0x2fdffa(0x1c4)](_0x5df240['id'],_0x5df240[_0x2fdffa(0x1c2)],_0x5df240[_0x2fdffa(0x1e1)],_0x5df240[_0x2fdffa(0x1ba)])),_0x3e43a6(_0x3b742a);}for(const _0x4b9744 of _0x40fbe8)_0x1de4ff[_0x2fdffa(0x1d1)](_0x4b9744['id'])||_0x1de4ff[_0x2fdffa(0x1a8)](_0x4b9744);}async[_0xa3e508(0x1da)](){const _0x4aa47c=_0xa3e508;this[_0x4aa47c(0x1ca)][_0x4aa47c(0x1ab)]||await new Promise(_0x360a59=>{const _0x4b8525=_0x4aa47c;this[_0x4b8525(0x1cf)](this[_0x4b8525(0x1ca)],_0x4b8525(0x1a7),_0x3512d8=>{const _0x2878dc=_0x4b8525;_0x3512d8[_0x2878dc(0x1b3)](),_0x360a59();});});}async[_0xa3e508(0x1b7)](_0x20594c){const _0x55e78d=_0xa3e508,_0x7dfaa2=this[_0x55e78d(0x1b4)][_0x55e78d(0x1ad)][_0x55e78d(0x1d4)](_0x38d134),{connection:_0x444873}=this[_0x55e78d(0x1b4)][_0x55e78d(0x1ad)][_0x55e78d(0x1d4)](_0x24d5a2),_0x1219c2=new Set();for(const {authorId:_0x4a43c3}of _0x20594c)_0x7dfaa2[_0x55e78d(0x1bc)](_0x4a43c3)||_0x1219c2[_0x55e78d(0x1c4)](_0x4a43c3);if(0x0===_0x1219c2[_0x55e78d(0x1dd)])return;const _0x219f43=await _0x27603a[_0x55e78d(0x1d7)](_0x444873,Array[_0x55e78d(0x1c3)](_0x1219c2));for(const _0x2a56ca of _0x219f43)_0x7dfaa2[_0x55e78d(0x1bc)](_0x2a56ca['id'])||_0x7dfaa2[_0x55e78d(0x1c0)](_0x2a56ca);}}function tt(_0x29eed2){if(st(_0x29eed2))return new Promise(()=>{});throw _0x29eed2;}function _0x4646(){const _0x346055=['TrackChangesEditing','requires','config','off','editor','suggestionUpdated','737RZXbtP','_fetchMissingUsersForThreads','1408539uSALaC','cloud-services-internal-error:\x20Request\x20timeout.','originalSuggestionId','open','getUser','208160IAwRst','reconnect','TrackChangesService','addUser','collaboration.channelId','type','from','add','isOfficialPlugin','CloudServicesTrackChangesAdapter','state','update','startsWith','_trackChangesService','delete','696eCNAva','set','addToReconnectionStack','listenTo','find','hasSuggestion','8799660bMwGSw','isPremiumPlugin','get','_bufferedRequests','catch','getMany','then','message','_waitForServiceReady','1466054ODnCSR','attributes','size','connection','_saved','4ddxncr','data','getSuggestion','values','pluginName','connect','9429kLAJnn','adapter','connected','addSuggestionData','622968qBCjJs','3980485PGsVcU','isConnected','4SXczAg','plugins','cloud-services-internal-error:\x20Not\x20connected.','init'];_0x4646=function(){return _0x346055;};return _0x4646();}function _0xd40d(_0x49e4ce,_0x15068e){const _0x464600=_0x4646();return _0xd40d=function(_0xd40dfa,_0xe4614){_0xd40dfa=_0xd40dfa-0x1a1;let _0x509afa=_0x464600[_0xd40dfa];return _0x509afa;},_0xd40d(_0x49e4ce,_0x15068e);}function st(_0x5e9cfe){const _0x3d7d52=_0xa3e508;return _0x5e9cfe[_0x3d7d52(0x1d9)][_0x3d7d52(0x1c9)](_0x3d7d52(0x1ae))||_0x5e9cfe[_0x3d7d52(0x1d9)][_0x3d7d52(0x1c9)](_0x3d7d52(0x1b9));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x44273a=_0x4575;(function(_0x5d99a0,_0x4d3c93){var _0x151eb0=_0x4575,_0x34c5a3=_0x5d99a0();while(!![]){try{var _0x9f1965=-parseInt(_0x151eb0(0x1ed))/0x1*(parseInt(_0x151eb0(0x1eb))/0x2)+-parseInt(_0x151eb0(0x1ee))/0x3*(-parseInt(_0x151eb0(0x1e9))/0x4)+-parseInt(_0x151eb0(0x1f4))/0x5*(parseInt(_0x151eb0(0x1f5))/0x6)+parseInt(_0x151eb0(0x1e7))/0x7+parseInt(_0x151eb0(0x1e4))/0x8*(-parseInt(_0x151eb0(0x1e3))/0x9)+parseInt(_0x151eb0(0x1f3))/0xa*(-parseInt(_0x151eb0(0x1ec))/0xb)+parseInt(_0x151eb0(0x1f1))/0xc*(parseInt(_0x151eb0(0x1ef))/0xd);if(_0x9f1965===_0x4d3c93)break;else _0x34c5a3['push'](_0x34c5a3['shift']());}catch(_0x3caa3e){_0x34c5a3['push'](_0x34c5a3['shift']());}}}(_0x3e84,0x4c4cd));function _0x3e84(){var _0x14b0cc=['isOfficialPlugin','141808VPlfcV','TrackChanges','52990GQxolq','583YJXNXO','15uXcMUz','15SXRGkz','13RpqFSg','pluginName','18607872HWkYvu','requires','94840buUTzU','2495oHKEwB','84biLyWf','207SoXxen','186552UzXGKz','isPremiumPlugin','RealTimeCollaborativeTrackChanges','196063HQmKvh'];_0x3e84=function(){return _0x14b0cc;};return _0x3e84();}import{Plugin as _0xd86a93}from'ckeditor5/src/core.js';function _0x4575(_0x448c6d,_0x576391){var _0x3e84b5=_0x3e84();return _0x4575=function(_0x45753e,_0x2a927a){_0x45753e=_0x45753e-0x1e3;var _0x229f29=_0x3e84b5[_0x45753e];return _0x229f29;},_0x4575(_0x448c6d,_0x576391);}import{CloudServicesTrackChangesAdapter as _0x58e90a}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3da248}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0xd86a93{static get[_0x44273a(0x1f2)](){var _0x4d7788=_0x44273a;return[_0x3da248,_0x58e90a,_0x4d7788(0x1ea)];}static get[_0x44273a(0x1f0)](){var _0x5eb029=_0x44273a;return _0x5eb029(0x1e6);}static get[_0x44273a(0x1e8)](){return!0x0;}static get[_0x44273a(0x1e5)](){return!0x0;}}
|