@ckeditor/ckeditor5-real-time-collaboration 46.1.0-alpha.1 → 46.1.0-alpha.2
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 +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
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x5854fd=_0x2c65;(function(_0x477565,_0x326b16){const _0x557773=_0x2c65,_0x41592f=_0x477565();while(!![]){try{const _0x39c237=parseInt(_0x557773(0x1f4))/0x1+parseInt(_0x557773(0x21b))/0x2+-parseInt(_0x557773(0x219))/0x3+parseInt(_0x557773(0x208))/0x4+-parseInt(_0x557773(0x1f6))/0x5+-parseInt(_0x557773(0x1e3))/0x6+parseInt(_0x557773(0x221))/0x7;if(_0x39c237===_0x326b16)break;else _0x41592f['push'](_0x41592f['shift']());}catch(_0xf7ef55){_0x41592f['push'](_0x41592f['shift']());}}}(_0x58bd,0x86969));function _0x2c65(_0x257edf,_0x203c4e){const _0x58bdcf=_0x58bd();return _0x2c65=function(_0x2c6519,_0x9bffbc){_0x2c6519=_0x2c6519-0x1e2;let _0x2aebeb=_0x58bdcf[_0x2c6519];return _0x2aebeb;},_0x2c65(_0x257edf,_0x203c4e);}import{ContextPlugin as _0x51e988}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2a2a35,CKEditorError as _0x279493}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x36601d,WEB_SOCKET_GATEWAY_STATES as _0x5d02f3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4d6f29}from'ckeditor5/src/ui.js';function _0x58bd(){const _0x392d76=['websocketgateway-missing-websocket-url','state','add','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.','token','limitExceeded','cloudServices.requestTimeout','_shouldPluginsReconnect','constructor','webSocketUrl','context','isPremiumPlugin','requires','2200084YEmaLe','offline','cloudServices.connectionTimeout','config','isOfficialPlugin','isInReconnectionStack','reconnect','function','plugins','destroy','_reconnectionStack','Connected\x20users\x20limit\x20exceeded','CONNECTING','pluginName','real-time-collaboration','websocketgateway-missing-token','define','667296PXHWBc','listenTo','1904730QrFydf','delete','connected','addToReconnectionStack','DISCONNECTED','bind','1858696scFRVp','change:me','stopListening','removeFromReconnectionStack','CloudServices','from','has','then','all','5799036qneGvs','get','initialReconnectionInterval','disconnect','set','catch','_isBrowserOffline','error','init','_reconnect','showWarning','connect','websocketgateway-plugin-already-registered','online','_domEmitter','cloudservices-reconnection-error','connection','156906bChKuC','cloudservices-init','923045ONxNGk','WebSocketGateway','code','CONNECTED','websocketgateway-invalid-plugin-interface'];_0x58bd=function(){return _0x392d76;};return _0x58bd();}class n extends _0x51e988{static [_0x5854fd(0x1f7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x36601d)());static [_0x5854fd(0x1e5)]=0x3e8;[_0x5854fd(0x1f3)];[_0x5854fd(0x212)];[_0x5854fd(0x202)];[_0x5854fd(0x1f1)];static get[_0x5854fd(0x207)](){const _0x5370f2=_0x5854fd;return[_0x5370f2(0x225),_0x4d6f29];}static get[_0x5854fd(0x215)](){const _0x33f500=_0x5854fd;return _0x33f500(0x1f7);}static get[_0x5854fd(0x20c)](){return!0x0;}static get[_0x5854fd(0x206)](){return!0x0;}constructor(_0x210326){const _0x31bce1=_0x5854fd;super(_0x210326),this[_0x31bce1(0x1e7)](_0x31bce1(0x1fc),_0x5d02f3[_0x31bce1(0x1f9)]),this[_0x31bce1(0x1e7)](_0x31bce1(0x1e9),!0x1),this[_0x31bce1(0x212)]=new Set(),this[_0x31bce1(0x202)]=!0x1,this[_0x31bce1(0x1f1)]=new(_0x2a2a35())();}[_0x5854fd(0x1eb)](){const _0x3d83c7=_0x5854fd,_0x1fcf99=this[_0x3d83c7(0x205)],_0x318888=_0x1fcf99[_0x3d83c7(0x210)][_0x3d83c7(0x1e4)](_0x3d83c7(0x225)),_0x1cc298=_0x1fcf99[_0x3d83c7(0x210)][_0x3d83c7(0x1e4)](_0x4d6f29);if(!_0x318888[_0x3d83c7(0x1ff)])throw new _0x279493(_0x3d83c7(0x217),this);if(!_0x318888[_0x3d83c7(0x204)])throw new _0x279493(_0x3d83c7(0x1fb),this);return this[_0x3d83c7(0x1f1)][_0x3d83c7(0x21a)](window,_0x3d83c7(0x209),()=>this[_0x3d83c7(0x1e9)]=!0x0),this[_0x3d83c7(0x1f1)][_0x3d83c7(0x21a)](window,_0x3d83c7(0x1f0),()=>this[_0x3d83c7(0x1e9)]=!0x1),this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x218)](_0x3d83c7(0x20a),0xa),this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x218)](_0x3d83c7(0x201),0x14),n[_0x3d83c7(0x1f7)][_0x3d83c7(0x1ee)](_0x318888[_0x3d83c7(0x1ff)],_0x318888[_0x3d83c7(0x204)],{'timeout':0x3e8*this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x1e4)](_0x3d83c7(0x20a)),'requestTimeout':0x3e8*this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x1e4)](_0x3d83c7(0x201))})[_0x3d83c7(0x228)](_0xbd8c4e=>{const _0x14264a=_0x3d83c7;if(this[_0x14264a(0x1f3)]=_0xbd8c4e,this[_0x14264a(0x220)](_0x14264a(0x1fc))['to'](_0xbd8c4e,_0x14264a(0x1fc),this,_0x14264a(0x1e9),(_0xe7a5f,_0x4fce21)=>(_0x14264a(0x21d)!==_0xe7a5f&&(this[_0x14264a(0x202)]=!0x0),_0x4fce21||_0xe7a5f!==_0x5d02f3[_0x14264a(0x1f9)]?_0x5d02f3[_0x14264a(0x21f)]:this[_0x14264a(0x1fc)]==_0x5d02f3[_0x14264a(0x21f)]&&this[_0x14264a(0x202)]?(this[_0x14264a(0x202)]=!0x1,this[_0x14264a(0x1ec)](),_0x5d02f3[_0x14264a(0x214)]):_0x5d02f3[_0x14264a(0x1f9)])),this[_0x14264a(0x1f3)]['on'](_0x14264a(0x1ea),(_0x1b6e98,_0x57f06a)=>{const _0x10171b=_0x14264a;if(_0x10171b(0x200)!==_0x57f06a[_0x10171b(0x1f8)])throw console[_0x10171b(0x1ea)](_0x57f06a),new _0x279493(_0x10171b(0x1f5),null,{'originalError':_0x57f06a});_0x1cc298[_0x10171b(0x1ed)](_0x10171b(0x1fe),{'title':_0x10171b(0x213),'namespace':_0x10171b(0x216)});}),!_0xbd8c4e['me'])return new Promise(_0x392c00=>_0xbd8c4e['on'](_0x14264a(0x222),_0x392c00));})[_0x3d83c7(0x1e8)](_0x31b7dc=>{const _0x893630=_0x3d83c7;throw console[_0x893630(0x1ea)](_0x31b7dc),new _0x279493(_0x893630(0x1f5),null,{'originalError':_0x31b7dc});});}[_0x5854fd(0x21e)](_0x28507d){const _0x152f83=_0x5854fd;if(_0x152f83(0x20f)!=typeof _0x28507d[_0x152f83(0x20e)])throw new _0x279493(_0x152f83(0x1fa),this);if(this[_0x152f83(0x20d)](_0x28507d))throw new _0x279493(_0x152f83(0x1ef),this,{'name':_0x28507d[_0x152f83(0x203)][_0x152f83(0x215)]});this[_0x152f83(0x212)][_0x152f83(0x1fd)](_0x28507d);}[_0x5854fd(0x224)](_0x2517a7){const _0x39d1f7=_0x5854fd;this[_0x39d1f7(0x212)][_0x39d1f7(0x21c)](_0x2517a7);}[_0x5854fd(0x20d)](_0x9a24a8){const _0x335985=_0x5854fd;return this[_0x335985(0x212)][_0x335985(0x227)](_0x9a24a8);}[_0x5854fd(0x1ec)](){const _0xd2bda2=_0x5854fd;return this[_0xd2bda2(0x1f3)][_0xd2bda2(0x20e)]()[_0xd2bda2(0x228)](()=>Promise[_0xd2bda2(0x1e2)](Array[_0xd2bda2(0x226)](this[_0xd2bda2(0x212)],_0x788364=>_0x788364[_0xd2bda2(0x20e)]())))[_0xd2bda2(0x228)](()=>this[_0xd2bda2(0x1fc)]=_0x5d02f3[_0xd2bda2(0x1f9)])[_0xd2bda2(0x1e8)](_0x3e4c72=>{const _0x1c5501=_0xd2bda2;throw console[_0x1c5501(0x1ea)](_0x3e4c72),new _0x279493(_0x1c5501(0x1f2),this[_0x1c5501(0x205)]);});}[_0x5854fd(0x1e6)](){const _0x17e5ff=_0x5854fd;this[_0x17e5ff(0x1f3)]&&this[_0x17e5ff(0x1f3)][_0x17e5ff(0x1e6)](),this[_0x17e5ff(0x1fc)]=_0x5d02f3[_0x17e5ff(0x21f)],this[_0x17e5ff(0x1f1)][_0x17e5ff(0x223)]();}[_0x5854fd(0x211)](){const _0x3bb972=_0x5854fd;this[_0x3bb972(0x1e6)](),super[_0x3bb972(0x211)]();}}export{n as WebSocketGateway};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4139(_0x4a437e,_0x4ddc2c){var _0x5e4ff6=_0x5e4f();return _0x4139=function(_0x4139d4,_0x1a605a){_0x4139d4=_0x4139d4-0xb4;var _0x2f3f95=_0x5e4ff6[_0x4139d4];return _0x2f3f95;},_0x4139(_0x4a437e,_0x4ddc2c);}var _0x3aa3a5=_0x4139;(function(_0x47157b,_0x4e8007){var _0x16a564=_0x4139,_0x21cafd=_0x47157b();while(!![]){try{var _0x5ef911=-parseInt(_0x16a564(0xc1))/0x1*(-parseInt(_0x16a564(0xbc))/0x2)+-parseInt(_0x16a564(0xb4))/0x3*(-parseInt(_0x16a564(0xc4))/0x4)+-parseInt(_0x16a564(0xba))/0x5*(parseInt(_0x16a564(0xb7))/0x6)+parseInt(_0x16a564(0xbe))/0x7+parseInt(_0x16a564(0xbf))/0x8*(parseInt(_0x16a564(0xc0))/0x9)+parseInt(_0x16a564(0xb6))/0xa*(-parseInt(_0x16a564(0xc3))/0xb)+parseInt(_0x16a564(0xb5))/0xc;if(_0x5ef911===_0x4e8007)break;else _0x21cafd['push'](_0x21cafd['shift']());}catch(_0x41da86){_0x21cafd['push'](_0x21cafd['shift']());}}}(_0x5e4f,0x63f0f));import{Plugin as _0x4e387f}from'ckeditor5/src/core.js';function _0x5e4f(){var _0x3d357b=['RealTimeCollaborativeEditing','284808FRLiYK','isPremiumPlugin','732172dsQZBe','71832zTGqaA','27aiYzwz','3tdTtXH','isOfficialPlugin','21241zqHJAm','2944492bzpPWc','3egmLdX','2522196yseUMx','3030KfTNHO','22362qRpWgB','requires','pluginName','685ZMsnhk'];_0x5e4f=function(){return _0x3d357b;};return _0x5e4f();}import{RealTimeCollaborationClient as _0x596269}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x4e387f{static get[_0x3aa3a5(0xb8)](){return[_0x596269];}static get[_0x3aa3a5(0xb9)](){var _0x504a43=_0x3aa3a5;return _0x504a43(0xbb);}static get[_0x3aa3a5(0xc2)](){return!0x0;}static get[_0x3aa3a5(0xbd)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1a4d47)());[_0x27fcba(0x1da)];[_0x27fcba(0x1bf)];[_0x27fcba(0x1dd)];[_0x27fcba(0x21b)];static get[_0x27fcba(0x1b5)](){const _0x2b2ab9=_0x27fcba;return[_0x131d13,_0x2dd6ef,_0x2b2ab9(0x1e9),_0x1d61a5,_0x176876];}static get[_0x27fcba(0x21d)](){const _0x1baddd=_0x27fcba;return _0x1baddd(0x200);}static get[_0x27fcba(0x1e5)](){return!0x0;}static get[_0x27fcba(0x1c7)](){return!0x0;}constructor(_0x3ce4bd){const _0x23cdb8=_0x27fcba;super(_0x3ce4bd);const _0x4e5d2d=this[_0x23cdb8(0x206)][_0x23cdb8(0x1c4)][_0x23cdb8(0x213)](_0x23cdb8(0x1ce));this[_0x23cdb8(0x1da)]=null,this[_0x23cdb8(0x1bf)]=this[_0x23cdb8(0x206)][_0x23cdb8(0x212)][_0x23cdb8(0x213)](_0x23cdb8(0x1fb)),this[_0x23cdb8(0x1dd)]=new c[(_0x23cdb8(0x21f))](_0x4e5d2d);}async[_0x27fcba(0x1b3)](){const _0xd8947f=_0x27fcba,_0xc6227c=this[_0xd8947f(0x206)][_0xd8947f(0x212)][_0xd8947f(0x213)](_0x2dd6ef),_0x5336ba=_0xc6227c[_0xd8947f(0x1e8)],_0x38e064=this[_0xd8947f(0x206)][_0xd8947f(0x212)][_0xd8947f(0x213)](_0x131d13);this[_0xd8947f(0x1bf)][_0xd8947f(0x1e0)]({'history':_0x5336ba,'getLatestVersion':()=>this[_0xd8947f(0x1e1)](),'getCurrentRevisionId':()=>_0xc6227c[_0xd8947f(0x21c)]});const _0x178e13=this[_0xd8947f(0x206)][_0xd8947f(0x1c4)][_0xd8947f(0x213)](_0xd8947f(0x1f1))||_0x448490,_0x16ebe3=await _0x336962[_0xd8947f(0x20b)](_0x38e064[_0xd8947f(0x1ef)],_0x178e13);this[_0xd8947f(0x206)][_0xd8947f(0x212)][_0xd8947f(0x213)](_0xd8947f(0x1e9))[_0xd8947f(0x1d2)]={'getRevision':async({revisionId:_0x22961f})=>(await this[_0xd8947f(0x1b4)](),await this[_0xd8947f(0x1dd)][_0xd8947f(0x1f4)](_0x22961f)),'updateRevisions':async _0x689e05=>{const _0x44c6e8=_0xd8947f;await this[_0x44c6e8(0x1b4)]();const _0x407adb=this[_0x44c6e8(0x1bf)][_0x44c6e8(0x1c3)];if(_0x16ebe3&&0x1===_0x689e05[_0x44c6e8(0x1f5)]&&_0x689e05[0x0]['id']===_0x407adb['id'])return _0x689e05;for(const _0x108fa1 of _0x689e05)_0x108fa1['id']===_0x407adb['id']&&(_0x108fa1[_0x44c6e8(0x1b9)]=_0x108fa1[_0x44c6e8(0x1d0)]===_0x108fa1[_0x44c6e8(0x1ff)]);return this[_0x44c6e8(0x1dd)][_0x44c6e8(0x1ea)](_0x689e05,this[_0x44c6e8(0x1da)])[_0x44c6e8(0x20f)](_0x19c39c=>(this[_0x44c6e8(0x1da)]=_0x19c39c,_0x689e05))[_0x44c6e8(0x216)](_0x3af04b=>{const _0x16c1f3=_0x44c6e8;if(st(_0x3af04b)||_0x16c1f3(0x202)===_0x3af04b[_0x16c1f3(0x1fe)]&&void 0x0!==_0x3af04b[_0x16c1f3(0x220)][_0x16c1f3(0x21e)]){for(const _0x37328d of _0x689e05){!this[_0x16c1f3(0x1bf)][_0x16c1f3(0x20e)][_0x16c1f3(0x1f4)](_0x37328d['id'])||this[_0x16c1f3(0x1bf)][_0x16c1f3(0x219)](_0x37328d['id'],_0x37328d,!0x1);}if(st(_0x3af04b))throw _0x3af04b;return _0x689e05;}throw _0x3af04b;});}},this[_0xd8947f(0x1c2)](this[_0xd8947f(0x1dd)],_0xd8947f(0x1b1),(_0x1628ea,{revisionsData:_0x1d6069,requestId:_0x4c1f8c})=>{const _0x1c3530=_0xd8947f;Math[_0x1c3530(0x204)](..._0x1d6069[_0x1c3530(0x1b6)](_0x497991=>_0x497991[_0x1c3530(0x1ff)]))>this[_0x1c3530(0x1c8)]()-0x1?this[_0x1c3530(0x1e1)]()[_0x1c3530(0x20f)](()=>{const _0x525353=_0x1c3530;this[_0x525353(0x1dc)](_0x1d6069,_0x4c1f8c);}):this[_0x1c3530(0x1dc)](_0x1d6069,_0x4c1f8c);});const {revisions:_0x10c726,requestId:_0x579423}=await this[_0xd8947f(0x1dd)][_0xd8947f(0x1cb)](_0x38e064[_0xd8947f(0x1ef)]);_0x38e064[_0xd8947f(0x1c1)](this),this[_0xd8947f(0x1da)]=_0x579423,await this[_0xd8947f(0x1b2)](_0x10c726);for(const _0x2e002f of _0x10c726)this[_0xd8947f(0x1bf)][_0xd8947f(0x1d1)](_0x2e002f);this[_0xd8947f(0x1c2)](_0xc6227c,_0xd8947f(0x1f6),(_0x227fbb,_0x2607cf,_0x516f4e)=>{const _0x2bd809=_0xd8947f;_0x516f4e&&(this[_0x2bd809(0x21b)]=_0xc6227c[_0x2bd809(0x1d4)],_0x227fbb[_0x2bd809(0x1ee)]());}),this[_0xd8947f(0x1bf)][_0xd8947f(0x1df)](_0xd8947f(0x1e3))['to'](_0x38e064,_0xd8947f(0x1cc),_0x7fb82e=>_0x7fb82e===_0x347917[_0xd8947f(0x1ba)]);}async[_0x27fcba(0x1e7)](){const _0x5168f3=_0x27fcba,_0x151e14=this[_0x5168f3(0x206)][_0x5168f3(0x212)][_0x5168f3(0x213)](_0x131d13),_0x13b8e7=this[_0x5168f3(0x206)][_0x5168f3(0x212)][_0x5168f3(0x213)](_0x2dd6ef),_0x534b31=async()=>{const _0x494456=_0x5168f3,_0xf1446d=this[_0x494456(0x1bf)][_0x494456(0x1c3)],_0x342afe=_0xf1446d['id'],_0x35d097=_0x342afe!==_0x13b8e7[_0x494456(0x21c)];if(_0x35d097){const _0x1ff5e8=_0x13b8e7[_0x494456(0x1d4)]-this[_0x494456(0x21b)],_0x4d26f8=this[_0x494456(0x1c8)]();this[_0x494456(0x1bf)][_0x494456(0x1bb)][_0x494456(0x20d)]();if(_0xf1446d[_0x494456(0x1ff)]+_0x1ff5e8!==_0x4d26f8){const _0x592da5=_0xf1446d[_0x494456(0x1d0)]+_0x1ff5e8,_0x40feda=this[_0x494456(0x206)][_0x494456(0x212)][_0x494456(0x213)](_0x176876),_0x3d3e56=this[_0x494456(0x1bf)][_0x494456(0x1db)]({'revision':_0xf1446d,'from':_0x592da5,'to':_0x4d26f8});_0x3d3e56['id']=_0xf1446d['id'];const _0x4867f1=_0x3d3e56[_0x494456(0x1f3)][_0x494456(0x1b6)](_0x3a5bde=>_0x40feda[_0x494456(0x1ca)](_0x3a5bde));_0xf1446d[_0x494456(0x1c9)]({..._0x3d3e56,'authors':_0x4867f1},!0x0),this[_0x494456(0x1bf)][_0x494456(0x219)](_0xf1446d['id'],_0x3d3e56,!0x0);}this[_0x494456(0x1bf)][_0x494456(0x1d7)]=_0x4d26f8,(_0xf1446d[_0x494456(0x1ff)]===_0xf1446d[_0x494456(0x1d0)]&&!this[_0x494456(0x1bf)][_0x494456(0x205)][_0x494456(0x21a)](_0x342afe)&&this[_0x494456(0x1bf)][_0x494456(0x20e)][_0x494456(0x207)][_0x494456(0x1b7)](_0x342afe),this[_0x494456(0x1bf)][_0x494456(0x215)](_0x4d26f8));}const {revisions:_0x13f48d,requestId:_0x44de83}=await this[_0x494456(0x1dd)][_0x494456(0x1e7)](_0x151e14[_0x494456(0x1ef)],this[_0x494456(0x1da)]);_0x35d097&&_0x13f48d[_0x494456(0x1f5)]>0x0?_0x13b8e7[_0x494456(0x203)]():(await this[_0x494456(0x1b2)](_0x13f48d),this[_0x494456(0x1dc)](_0x13f48d,_0x44de83),this[_0x494456(0x1bf)][_0x494456(0x222)]());};return _0x13b8e7[_0x5168f3(0x210)]?_0x534b31():new Promise((_0x49be9c,_0x2fda8c)=>{const _0x50ed68=_0x5168f3;_0x13b8e7[_0x50ed68(0x1c6)](_0x50ed68(0x1f6),()=>{const _0x9ac534=_0x50ed68;_0x534b31()[_0x9ac534(0x20f)](_0x49be9c)[_0x9ac534(0x216)](_0x2fda8c);});});}[_0x27fcba(0x1eb)](){const _0x5701e1=_0x27fcba;super[_0x5701e1(0x1eb)]();}async[_0x27fcba(0x1b4)](){const _0x1ca61e=_0x27fcba;this[_0x1ca61e(0x1dd)][_0x1ca61e(0x217)]||await new Promise(_0x254a0d=>{const _0x3c4bb8=_0x1ca61e;this[_0x3c4bb8(0x1c2)](this[_0x3c4bb8(0x1dd)],_0x3c4bb8(0x1fd),_0x23fb7d=>{const _0x314f86=_0x3c4bb8;_0x23fb7d[_0x314f86(0x1ee)](),_0x254a0d();});});}[_0x27fcba(0x1c8)](){const _0x56bda9=_0x27fcba,_0x327f60=this[_0x56bda9(0x206)][_0x56bda9(0x212)][_0x56bda9(0x213)](_0x2dd6ef)[_0x56bda9(0x1e8)][_0x56bda9(0x1cf)]()[_0x56bda9(0x1e2)]();for(const _0x5b590f of _0x327f60)if(_0x56bda9(0x20a)!==_0x5b590f[_0x56bda9(0x208)]||_0x5b590f[_0x56bda9(0x1f2)])return _0x5b590f[_0x56bda9(0x1d9)]+0x1;}[_0x27fcba(0x1e1)](){const _0x20603b=_0x27fcba,_0x1f1924=this[_0x20603b(0x206)][_0x20603b(0x212)][_0x20603b(0x213)](_0x2dd6ef);return new Promise(_0x46caf0=>{const _0x42be49=_0x20603b;_0x1f1924[_0x42be49(0x223)]?_0x1f1924[_0x42be49(0x1c6)](_0x42be49(0x1cd),()=>{const _0x4eac37=_0x42be49;_0x46caf0(this[_0x4eac37(0x1c8)]());}):_0x46caf0(this[_0x42be49(0x1c8)]());});}[_0x27fcba(0x1dc)](_0x53aeb9,_0x5dcc9c){const _0x215260=_0x27fcba,_0x4e2741=this[_0x215260(0x1bf)][_0x215260(0x20e)];this[_0x215260(0x1da)]=_0x5dcc9c;for(const _0x3d7f88 of _0x53aeb9){const _0x51276a=_0x4e2741[_0x215260(0x1f4)](_0x3d7f88['id']);if(_0x51276a){if((_0x3d7f88[_0x215260(0x1d0)]||_0x3d7f88[_0x215260(0x1ff)])&&(_0x3d7f88[_0x215260(0x1e6)]=null),_0x51276a===this[_0x215260(0x1bf)][_0x215260(0x1c3)]){const _0x863f35=Math[_0x215260(0x204)](_0x51276a[_0x215260(0x1ff)],_0x3d7f88[_0x215260(0x1ff)]),_0x36b6bc=Math[_0x215260(0x204)](_0x51276a[_0x215260(0x1d0)],_0x3d7f88[_0x215260(0x1d0)]);let _0x151709;_0x51276a[_0x215260(0x1ff)]===_0x3d7f88[_0x215260(0x1ff)]&&_0x51276a[_0x215260(0x1d0)]===_0x3d7f88[_0x215260(0x1d0)]?(_0x151709=!0x0,this[_0x215260(0x1bc)](_0x3d7f88)):_0x3d7f88[_0x215260(0x1ff)]===_0x863f35&&_0x3d7f88[_0x215260(0x1d0)]===_0x36b6bc?_0x151709=!0x1:(_0x51276a[_0x215260(0x1ff)]===_0x863f35&&_0x51276a[_0x215260(0x1d0)]===_0x36b6bc||this[_0x215260(0x1d8)]({'revision':_0x51276a,'from':_0x36b6bc,'to':_0x863f35}),_0x151709=!0x0),_0x151709&&(delete _0x3d7f88[_0x215260(0x1d0)],delete _0x3d7f88[_0x215260(0x1ff)],delete _0x3d7f88[_0x215260(0x1e6)],delete _0x3d7f88[_0x215260(0x1f7)],delete _0x3d7f88[_0x215260(0x1f3)]);}this[_0x215260(0x1bf)][_0x215260(0x20c)](_0x3d7f88),this[_0x215260(0x1bc)](_0x3d7f88);}else this[_0x215260(0x1bf)][_0x215260(0x1d1)](_0x3d7f88);}const _0x18e3f6=_0x4e2741[_0x215260(0x1d3)]();_0x18e3f6[_0x215260(0x1e2)]();for(let _0x37de53=0x0;_0x37de53<_0x18e3f6[_0x215260(0x1f5)]-0x1;_0x37de53++){const _0x451cd1=_0x18e3f6[_0x37de53],_0x24522d=_0x18e3f6[_0x37de53+0x1];if(_0x451cd1[_0x215260(0x1d0)]<_0x24522d[_0x215260(0x1ff)]){const _0x520da0=_0x24522d[_0x215260(0x1ff)],_0x3e7b1d=Math[_0x215260(0x204)](_0x520da0,_0x451cd1[_0x215260(0x1ff)]);this[_0x215260(0x1d8)]({'revision':_0x451cd1,'from':_0x520da0,'to':_0x3e7b1d});}}}[_0x27fcba(0x1d8)]({revision:_0x5911b3,from:_0x50f248,to:_0xe2bc3f}={}){const _0x1e3747=_0x27fcba,_0x956e70=this[_0x1e3747(0x206)][_0x1e3747(0x212)][_0x1e3747(0x213)](_0x176876),_0x3480c8=this[_0x1e3747(0x1bf)][_0x1e3747(0x1db)]({'revision':_0x5911b3,'from':_0x50f248,'to':_0xe2bc3f});_0x3480c8[_0x1e3747(0x218)]=_0x3480c8[_0x1e3747(0x1f3)][_0x1e3747(0x1b6)](_0x413ffb=>_0x956e70[_0x1e3747(0x1ca)](_0x413ffb)),_0x5911b3[_0x1e3747(0x1c9)](_0x3480c8);}[_0x27fcba(0x1bc)](_0x1875c6){const _0x6d5698=_0x27fcba,_0x3125bb={};_0x3125bb['id']=_0x1875c6['id'];for(const _0x575fdc of Object[_0x6d5698(0x1f8)](_0x1875c6))'id'!==_0x575fdc&&(_0x3125bb[_0x575fdc]=void 0x0);this[_0x6d5698(0x1bf)][_0x6d5698(0x219)](_0x3125bb['id'],_0x3125bb,!0x0);}async[_0x27fcba(0x1b2)](_0x1abd08){const _0x530068=_0x27fcba,_0x1e0577=this[_0x530068(0x206)][_0x530068(0x212)][_0x530068(0x213)](_0x176876),{connection:_0x32edd4}=this[_0x530068(0x206)][_0x530068(0x212)][_0x530068(0x213)](_0x131d13),_0x5dbb73=new Set();for(const _0x19fdb9 of _0x1abd08){for(const _0x2b1cf5 of _0x19fdb9[_0x530068(0x1f3)])_0x2b00df(_0x2b1cf5);_0x19fdb9[_0x530068(0x1e4)]&&_0x2b00df(_0x19fdb9[_0x530068(0x1e4)]);}if(0x0===_0x5dbb73[_0x530068(0x1be)])return;const _0x4d29e9=await _0x26ea3d[_0x530068(0x1d6)](_0x32edd4,Array[_0x530068(0x201)](_0x5dbb73));for(const _0x1f9457 of _0x4d29e9)_0x1e0577[_0x530068(0x1ca)](_0x1f9457['id'])||_0x1e0577[_0x530068(0x1ec)](_0x1f9457);function _0x2b00df(_0x4b3f59){const _0x2c87cd=_0x530068;_0x1e0577[_0x2c87cd(0x1ca)](_0x4b3f59)||_0x5dbb73[_0x2c87cd(0x1c5)](_0x4b3f59);}}}export{c as CloudServicesRevisionHistoryAdapter};function _0xa76d(_0x56735f,_0x407de2){const _0x3fe680=_0x3fe6();return _0xa76d=function(_0xa76d44,_0x43009d){_0xa76d44=_0xa76d44-0x1b1;let _0x162144=_0x3fe680[_0xa76d44];return _0x162144;},_0xa76d(_0x56735f,_0x407de2);}function st(_0x3cfceb){const _0x16f86f=_0x27fcba;return _0x3cfceb[_0x16f86f(0x1f0)][_0x16f86f(0x1c0)](_0x16f86f(0x209))||_0x3cfceb[_0x16f86f(0x1f0)][_0x16f86f(0x1c0)](_0x16f86f(0x1de))||_0x3cfceb[_0x16f86f(0x1f0)][_0x16f86f(0x1c0)](_0x16f86f(0x1fc));}
|
|
23
|
+
const _0x2a6670=_0x4e51;function _0x4e51(_0x2438ed,_0xbff1ac){const _0x5a82b3=_0x5a82();return _0x4e51=function(_0x4e518b,_0x5256cb){_0x4e518b=_0x4e518b-0x16a;let _0xfc6bab=_0x5a82b3[_0x4e518b];return _0xfc6bab;},_0x4e51(_0x2438ed,_0xbff1ac);}(function(_0x4234ab,_0x4273c4){const _0x2d5bc9=_0x4e51,_0x4616fa=_0x4234ab();while(!![]){try{const _0xc0c369=parseInt(_0x2d5bc9(0x1b3))/0x1+-parseInt(_0x2d5bc9(0x1d9))/0x2+parseInt(_0x2d5bc9(0x1a3))/0x3+parseInt(_0x2d5bc9(0x16d))/0x4*(parseInt(_0x2d5bc9(0x1c1))/0x5)+parseInt(_0x2d5bc9(0x1da))/0x6*(-parseInt(_0x2d5bc9(0x184))/0x7)+parseInt(_0x2d5bc9(0x1c5))/0x8+parseInt(_0x2d5bc9(0x1cb))/0x9;if(_0xc0c369===_0x4273c4)break;else _0x4616fa['push'](_0x4616fa['shift']());}catch(_0x563474){_0x4616fa['push'](_0x4616fa['shift']());}}}(_0x5a82,0x5bed6));import{Plugin as _0x53ffe9}from'ckeditor5/src/core.js';import{version as _0x22395b}from'ckeditor5/src/utils.js';import{Users as _0x4050c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x817981}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x513ea9}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x326c87}from'../realtimecollaborativeediting/sessions.js';function _0x5a82(){const _0x8e434c=['_bufferedUpdates','config','cloud-services-internal-error:\x20Not\x20connected.','message','add','pluginName','remove','sendBufferedUpdates','_getLatestVersion','off','type','fromVersion','authorsIds','RevisionTracker','diffData','editor','revisionsUpdated','_lastRequestId','plugins','repository','_handleReconnectionError','code','2570561kzUfau','listenTo','currentRevision','once','serverHistory','_isConnected','length','_startingVersion','reconnect','_offset','_revisions','get','isEmptyCurrent','_handleRevisionsUpdate','getUser','map','createdAt','has','bind','catch','isEnabled','_fixRevision','size','addRevisionData','state','from','creatorId','CloudServicesRevisionHistoryAdapter','getMany','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_preventResendingRevisionData','1743147GYKJsd','setRevisionData','toVersion','destroy','connect','change:_isPendingUpdate','isOfficialPlugin','updateRevisions','_fetchMissingUsers','connected','addUser','affectsData','_oldOffset','_revisionTracker','_createCurrentRevision','buildRevisionData','434678nueYPZ','collaboration.channelId','getRevision','_revisionDataBuilder','_bufferUpdate','_isPendingUpdate','cloud-services-internal-error:\x20Request\x20timeout.','marker','cloudServices.bundleVersion','setSource','requires','_getLatestVersionFromServerOperations','getOperations','sessionId','9045UwHoiI','400','RevisionHistory','reverse','1922872HosziN','then','authors','startsWith','_update','isPremiumPlugin','611388sUJJaP','connection','isConnected','getRevisions','_waitForServiceReady','addToReconnectionStack','isBundleUploaded','init','wrongRequestId','adapter','data','_revisionHistoryService','change:_isConnected','CONNECTED','1489760LtiBpz','6WMDOMt','baseVersion','reInit','keys','max','RevisionHistoryService','364uAlDwf'];_0x5a82=function(){return _0x8e434c;};return _0x5a82();}import{EditorService as _0x17b2a9,RevisionHistoryService as _0x4b3453,User as _0x33efff,WEB_SOCKET_GATEWAY_STATES as _0x558be8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x53ffe9{static [_0x2a6670(0x16c)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4b3453)());[_0x2a6670(0x17f)];[_0x2a6670(0x1b0)];[_0x2a6670(0x1d6)];[_0x2a6670(0x1af)];static get[_0x2a6670(0x1bd)](){const _0x4b541f=_0x2a6670;return[_0x513ea9,_0x817981,_0x4b541f(0x1c3),_0x326c87,_0x4050c8];}static get[_0x2a6670(0x173)](){const _0xcf4cb9=_0x2a6670;return _0xcf4cb9(0x19f);}static get[_0x2a6670(0x1a9)](){return!0x0;}static get[_0x2a6670(0x1ca)](){return!0x0;}constructor(_0xcf815){const _0x1094b7=_0x2a6670;super(_0xcf815);const _0x1c43bc=this[_0x1094b7(0x17d)][_0x1094b7(0x16f)][_0x1094b7(0x18f)](_0x1094b7(0x1b4));this[_0x1094b7(0x17f)]=null,this[_0x1094b7(0x1b0)]=this[_0x1094b7(0x17d)][_0x1094b7(0x180)][_0x1094b7(0x18f)](_0x1094b7(0x17b)),this[_0x1094b7(0x1d6)]=new c[(_0x1094b7(0x16c))](_0x1c43bc);}async[_0x2a6670(0x1d2)](){const _0x544ddb=_0x2a6670,_0x402f23=this[_0x544ddb(0x17d)][_0x544ddb(0x180)][_0x544ddb(0x18f)](_0x817981),_0x1f987a=_0x402f23[_0x544ddb(0x188)],_0x4e9eef=this[_0x544ddb(0x17d)][_0x544ddb(0x180)][_0x544ddb(0x18f)](_0x513ea9);this[_0x544ddb(0x1b0)][_0x544ddb(0x1bc)]({'history':_0x1f987a,'getLatestVersion':()=>this[_0x544ddb(0x176)](),'getCurrentRevisionId':()=>_0x402f23[_0x544ddb(0x1c0)]});const _0x5bd04e=this[_0x544ddb(0x17d)][_0x544ddb(0x16f)][_0x544ddb(0x18f)](_0x544ddb(0x1bb))||_0x22395b,_0x2d55ea=await _0x17b2a9[_0x544ddb(0x1d1)](_0x4e9eef[_0x544ddb(0x1cc)],_0x5bd04e);this[_0x544ddb(0x17d)][_0x544ddb(0x180)][_0x544ddb(0x18f)](_0x544ddb(0x1c3))[_0x544ddb(0x1d4)]={'getRevision':async({revisionId:_0x4b1c03})=>(await this[_0x544ddb(0x1cf)](),await this[_0x544ddb(0x1d6)][_0x544ddb(0x1b5)](_0x4b1c03)),'updateRevisions':async _0x2f0656=>{const _0x16fb1b=_0x544ddb;await this[_0x16fb1b(0x1cf)]();const _0x394f0e=this[_0x16fb1b(0x1b0)][_0x16fb1b(0x186)];if(_0x2d55ea&&0x1===_0x2f0656[_0x16fb1b(0x18a)]&&_0x2f0656[0x0]['id']===_0x394f0e['id'])return _0x2f0656;for(const _0x14bfdf of _0x2f0656)_0x14bfdf['id']===_0x394f0e['id']&&(_0x14bfdf[_0x16fb1b(0x190)]=_0x14bfdf[_0x16fb1b(0x179)]===_0x14bfdf[_0x16fb1b(0x1a5)]);return this[_0x16fb1b(0x1d6)][_0x16fb1b(0x1aa)](_0x2f0656,this[_0x16fb1b(0x17f)])[_0x16fb1b(0x1c6)](_0x564196=>(this[_0x16fb1b(0x17f)]=_0x564196,_0x2f0656))[_0x16fb1b(0x197)](_0x2d2e77=>{const _0x18dd79=_0x16fb1b;if(it(_0x2d2e77)||_0x18dd79(0x1c2)===_0x2d2e77[_0x18dd79(0x183)]&&void 0x0!==_0x2d2e77[_0x18dd79(0x1d5)][_0x18dd79(0x1d3)]){for(const _0x8921a0 of _0x2f0656){!this[_0x18dd79(0x1b0)][_0x18dd79(0x181)][_0x18dd79(0x1b5)](_0x8921a0['id'])||this[_0x18dd79(0x1b0)][_0x18dd79(0x1b7)](_0x8921a0['id'],_0x8921a0,!0x1);}if(it(_0x2d2e77))throw _0x2d2e77;return _0x2f0656;}throw _0x2d2e77;});}},this[_0x544ddb(0x185)](this[_0x544ddb(0x1d6)],_0x544ddb(0x17e),(_0x545d93,{revisionsData:_0x19de2f,requestId:_0x555804})=>{const _0x9d053d=_0x544ddb;Math[_0x9d053d(0x16b)](..._0x19de2f[_0x9d053d(0x193)](_0x5d948a=>_0x5d948a[_0x9d053d(0x1a5)]))>this[_0x9d053d(0x1be)]()-0x1?this[_0x9d053d(0x176)]()[_0x9d053d(0x1c6)](()=>{const _0x2b9bb0=_0x9d053d;this[_0x2b9bb0(0x191)](_0x19de2f,_0x555804);}):this[_0x9d053d(0x191)](_0x19de2f,_0x555804);});const {revisions:_0x3db83b,requestId:_0xa98056}=await this[_0x544ddb(0x1d6)][_0x544ddb(0x1a7)](_0x4e9eef[_0x544ddb(0x1cc)]);_0x4e9eef[_0x544ddb(0x1d0)](this),this[_0x544ddb(0x17f)]=_0xa98056,await this[_0x544ddb(0x1ab)](_0x3db83b);for(const _0x3473c0 of _0x3db83b)this[_0x544ddb(0x1b0)][_0x544ddb(0x19b)](_0x3473c0);this[_0x544ddb(0x185)](_0x402f23,_0x544ddb(0x1d7),(_0x4b5c3a,_0x12cb64,_0x45f400)=>{const _0x53c62f=_0x544ddb;_0x45f400&&(this[_0x53c62f(0x1af)]=_0x402f23[_0x53c62f(0x18d)],_0x4b5c3a[_0x53c62f(0x177)]());}),this[_0x544ddb(0x1b0)][_0x544ddb(0x196)](_0x544ddb(0x198))['to'](_0x4e9eef,_0x544ddb(0x19c),_0x4ef067=>_0x4ef067===_0x558be8[_0x544ddb(0x1d8)]);}async[_0x2a6670(0x18c)](){const _0x50b2fe=_0x2a6670,_0x42dfff=this[_0x50b2fe(0x17d)][_0x50b2fe(0x180)][_0x50b2fe(0x18f)](_0x513ea9),_0xc6fde=this[_0x50b2fe(0x17d)][_0x50b2fe(0x180)][_0x50b2fe(0x18f)](_0x817981),_0x227a25=async()=>{const _0x68473c=_0x50b2fe,_0x2d5d7a=this[_0x68473c(0x1b0)][_0x68473c(0x186)],_0x54088f=_0x2d5d7a['id'],_0x57fdd6=_0x54088f!==_0xc6fde[_0x68473c(0x1c0)];if(_0x57fdd6){const _0x45701d=_0xc6fde[_0x68473c(0x18d)]-this[_0x68473c(0x1af)],_0x452bdd=this[_0x68473c(0x1be)]();this[_0x68473c(0x1b0)][_0x68473c(0x1b6)][_0x68473c(0x1dc)]();if(_0x2d5d7a[_0x68473c(0x1a5)]+_0x45701d!==_0x452bdd){const _0x5ad137=_0x2d5d7a[_0x68473c(0x179)]+_0x45701d,_0x4e10ee=this[_0x68473c(0x17d)][_0x68473c(0x180)][_0x68473c(0x18f)](_0x4050c8),_0x17ac3d=this[_0x68473c(0x1b0)][_0x68473c(0x1b2)]({'revision':_0x2d5d7a,'from':_0x5ad137,'to':_0x452bdd});_0x17ac3d['id']=_0x2d5d7a['id'];const _0x1d0a88=_0x17ac3d[_0x68473c(0x17a)][_0x68473c(0x193)](_0x409133=>_0x4e10ee[_0x68473c(0x192)](_0x409133));_0x2d5d7a[_0x68473c(0x1c9)]({..._0x17ac3d,'authors':_0x1d0a88},!0x0),this[_0x68473c(0x1b0)][_0x68473c(0x1b7)](_0x2d5d7a['id'],_0x17ac3d,!0x0);}this[_0x68473c(0x1b0)][_0x68473c(0x18b)]=_0x452bdd,(_0x2d5d7a[_0x68473c(0x1a5)]===_0x2d5d7a[_0x68473c(0x179)]&&!this[_0x68473c(0x1b0)][_0x68473c(0x16e)][_0x68473c(0x195)](_0x54088f)&&this[_0x68473c(0x1b0)][_0x68473c(0x181)][_0x68473c(0x18e)][_0x68473c(0x174)](_0x54088f),this[_0x68473c(0x1b0)][_0x68473c(0x1b1)](_0x452bdd));}const {revisions:_0x14c91e,requestId:_0x382612}=await this[_0x68473c(0x1d6)][_0x68473c(0x18c)](_0x42dfff[_0x68473c(0x1cc)],this[_0x68473c(0x17f)]);_0x57fdd6&&_0x14c91e[_0x68473c(0x18a)]>0x0?_0xc6fde[_0x68473c(0x182)]():(await this[_0x68473c(0x1ab)](_0x14c91e),this[_0x68473c(0x191)](_0x14c91e,_0x382612),this[_0x68473c(0x1b0)][_0x68473c(0x175)]());};return _0xc6fde[_0x50b2fe(0x189)]?_0x227a25():new Promise((_0x177d0e,_0x3c9d9d)=>{const _0x44cbb6=_0x50b2fe;_0xc6fde[_0x44cbb6(0x187)](_0x44cbb6(0x1d7),()=>{const _0x589452=_0x44cbb6;_0x227a25()[_0x589452(0x1c6)](_0x177d0e)[_0x589452(0x197)](_0x3c9d9d);});});}[_0x2a6670(0x1a6)](){const _0x8ce01c=_0x2a6670;super[_0x8ce01c(0x1a6)]();}async[_0x2a6670(0x1cf)](){const _0x26f68d=_0x2a6670;this[_0x26f68d(0x1d6)][_0x26f68d(0x1cd)]||await new Promise(_0x88d5b1=>{const _0x1c2240=_0x26f68d;this[_0x1c2240(0x185)](this[_0x1c2240(0x1d6)],_0x1c2240(0x1ac),_0x10d5b9=>{const _0x2ae71a=_0x1c2240;_0x10d5b9[_0x2ae71a(0x177)](),_0x88d5b1();});});}[_0x2a6670(0x1be)](){const _0x49df4a=_0x2a6670,_0x455ac4=this[_0x49df4a(0x17d)][_0x49df4a(0x180)][_0x49df4a(0x18f)](_0x817981)[_0x49df4a(0x188)][_0x49df4a(0x1bf)]()[_0x49df4a(0x1c4)]();for(const _0x1538c5 of _0x455ac4)if(_0x49df4a(0x1ba)!==_0x1538c5[_0x49df4a(0x178)]||_0x1538c5[_0x49df4a(0x1ae)])return _0x1538c5[_0x49df4a(0x1db)]+0x1;}[_0x2a6670(0x176)](){const _0x1da05d=_0x2a6670,_0x4c228f=this[_0x1da05d(0x17d)][_0x1da05d(0x180)][_0x1da05d(0x18f)](_0x817981);return new Promise(_0x33955f=>{const _0x5dfe77=_0x1da05d;_0x4c228f[_0x5dfe77(0x1b8)]?_0x4c228f[_0x5dfe77(0x187)](_0x5dfe77(0x1a8),()=>{const _0x3dc5bd=_0x5dfe77;_0x33955f(this[_0x3dc5bd(0x1be)]());}):_0x33955f(this[_0x5dfe77(0x1be)]());});}[_0x2a6670(0x191)](_0x80e80e,_0xe781d6){const _0x21da8d=_0x2a6670,_0x2e8b7d=this[_0x21da8d(0x1b0)][_0x21da8d(0x181)];this[_0x21da8d(0x17f)]=_0xe781d6;for(const _0x132179 of _0x80e80e){const _0x19e817=_0x2e8b7d[_0x21da8d(0x1b5)](_0x132179['id']);if(_0x19e817){if((_0x132179[_0x21da8d(0x179)]||_0x132179[_0x21da8d(0x1a5)])&&(_0x132179[_0x21da8d(0x17c)]=null),_0x19e817===this[_0x21da8d(0x1b0)][_0x21da8d(0x186)]){const _0x27be05=Math[_0x21da8d(0x16b)](_0x19e817[_0x21da8d(0x1a5)],_0x132179[_0x21da8d(0x1a5)]),_0x43e1cc=Math[_0x21da8d(0x16b)](_0x19e817[_0x21da8d(0x179)],_0x132179[_0x21da8d(0x179)]);let _0x20d0f1;_0x19e817[_0x21da8d(0x1a5)]===_0x132179[_0x21da8d(0x1a5)]&&_0x19e817[_0x21da8d(0x179)]===_0x132179[_0x21da8d(0x179)]?(_0x20d0f1=!0x0,this[_0x21da8d(0x1a2)](_0x132179)):_0x132179[_0x21da8d(0x1a5)]===_0x27be05&&_0x132179[_0x21da8d(0x179)]===_0x43e1cc?_0x20d0f1=!0x1:(_0x19e817[_0x21da8d(0x1a5)]===_0x27be05&&_0x19e817[_0x21da8d(0x179)]===_0x43e1cc||this[_0x21da8d(0x199)]({'revision':_0x19e817,'from':_0x43e1cc,'to':_0x27be05}),_0x20d0f1=!0x0),_0x20d0f1&&(delete _0x132179[_0x21da8d(0x179)],delete _0x132179[_0x21da8d(0x1a5)],delete _0x132179[_0x21da8d(0x17c)],delete _0x132179[_0x21da8d(0x194)],delete _0x132179[_0x21da8d(0x17a)]);}this[_0x21da8d(0x1b0)][_0x21da8d(0x1a4)](_0x132179),this[_0x21da8d(0x1a2)](_0x132179);}else this[_0x21da8d(0x1b0)][_0x21da8d(0x19b)](_0x132179);}const _0x4cb5c3=_0x2e8b7d[_0x21da8d(0x1ce)]();_0x4cb5c3[_0x21da8d(0x1c4)]();for(let _0x21030d=0x0;_0x21030d<_0x4cb5c3[_0x21da8d(0x18a)]-0x1;_0x21030d++){const _0x135946=_0x4cb5c3[_0x21030d],_0x4f97e8=_0x4cb5c3[_0x21030d+0x1];if(_0x135946[_0x21da8d(0x179)]<_0x4f97e8[_0x21da8d(0x1a5)]){const _0x249688=_0x4f97e8[_0x21da8d(0x1a5)],_0xe3ba45=Math[_0x21da8d(0x16b)](_0x249688,_0x135946[_0x21da8d(0x1a5)]);this[_0x21da8d(0x199)]({'revision':_0x135946,'from':_0x249688,'to':_0xe3ba45});}}}[_0x2a6670(0x199)]({revision:_0x242d08,from:_0x4add2c,to:_0x555a2a}={}){const _0x2e87c7=_0x2a6670,_0x1da9a9=this[_0x2e87c7(0x17d)][_0x2e87c7(0x180)][_0x2e87c7(0x18f)](_0x4050c8),_0x27200f=this[_0x2e87c7(0x1b0)][_0x2e87c7(0x1b2)]({'revision':_0x242d08,'from':_0x4add2c,'to':_0x555a2a});_0x27200f[_0x2e87c7(0x1c7)]=_0x27200f[_0x2e87c7(0x17a)][_0x2e87c7(0x193)](_0x159d37=>_0x1da9a9[_0x2e87c7(0x192)](_0x159d37)),_0x242d08[_0x2e87c7(0x1c9)](_0x27200f);}[_0x2a6670(0x1a2)](_0x2ef1ec){const _0xca457d=_0x2a6670,_0x584b64={};_0x584b64['id']=_0x2ef1ec['id'];for(const _0x3aaf31 of Object[_0xca457d(0x16a)](_0x2ef1ec))'id'!==_0x3aaf31&&(_0x584b64[_0x3aaf31]=void 0x0);this[_0xca457d(0x1b0)][_0xca457d(0x1b7)](_0x584b64['id'],_0x584b64,!0x0);}async[_0x2a6670(0x1ab)](_0x5173ad){const _0x35b533=_0x2a6670,_0x479c0b=this[_0x35b533(0x17d)][_0x35b533(0x180)][_0x35b533(0x18f)](_0x4050c8),{connection:_0x565a5b}=this[_0x35b533(0x17d)][_0x35b533(0x180)][_0x35b533(0x18f)](_0x513ea9),_0x4d94cf=new Set();for(const _0x40210f of _0x5173ad){for(const _0x5ded2e of _0x40210f[_0x35b533(0x17a)])_0x131002(_0x5ded2e);_0x40210f[_0x35b533(0x19e)]&&_0x131002(_0x40210f[_0x35b533(0x19e)]);}if(0x0===_0x4d94cf[_0x35b533(0x19a)])return;const _0x15cd1f=await _0x33efff[_0x35b533(0x1a0)](_0x565a5b,Array[_0x35b533(0x19d)](_0x4d94cf));for(const _0x5e4f2 of _0x15cd1f)_0x479c0b[_0x35b533(0x192)](_0x5e4f2['id'])||_0x479c0b[_0x35b533(0x1ad)](_0x5e4f2);function _0x131002(_0x1cccae){const _0x3d7417=_0x35b533;_0x479c0b[_0x3d7417(0x192)](_0x1cccae)||_0x4d94cf[_0x3d7417(0x172)](_0x1cccae);}}}export{c as CloudServicesRevisionHistoryAdapter};function it(_0xe7837f){const _0x3acfdc=_0x2a6670;return _0xe7837f[_0x3acfdc(0x171)][_0x3acfdc(0x1c8)](_0x3acfdc(0x1a1))||_0xe7837f[_0x3acfdc(0x171)][_0x3acfdc(0x1c8)](_0x3acfdc(0x170))||_0xe7837f[_0x3acfdc(0x171)][_0x3acfdc(0x1c8)](_0x3acfdc(0x1b9));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x14a2(_0xaab085,_0x507433){var _0xba9beb=_0xba9b();return _0x14a2=function(_0x14a2b9,_0x5b979f){_0x14a2b9=_0x14a2b9-0x73;var _0x44f661=_0xba9beb[_0x14a2b9];return _0x44f661;},_0x14a2(_0xaab085,_0x507433);}var _0x4cc5d8=_0x14a2;(function(_0x5bb4b6,_0x29849a){var _0x39e396=_0x14a2,_0xfded52=_0x5bb4b6();while(!![]){try{var _0x2024da=parseInt(_0x39e396(0x7e))/0x1+-parseInt(_0x39e396(0x81))/0x2+parseInt(_0x39e396(0x74))/0x3*(-parseInt(_0x39e396(0x78))/0x4)+-parseInt(_0x39e396(0x7c))/0x5+parseInt(_0x39e396(0x79))/0x6*(-parseInt(_0x39e396(0x77))/0x7)+-parseInt(_0x39e396(0x73))/0x8+parseInt(_0x39e396(0x7f))/0x9*(parseInt(_0x39e396(0x76))/0xa);if(_0x2024da===_0x29849a)break;else _0xfded52['push'](_0xfded52['shift']());}catch(_0x5424d1){_0xfded52['push'](_0xfded52['shift']());}}}(_0xba9b,0x52cb1));function _0xba9b(){var _0x255c39=['4627648iLiwtV','24QLvWqn','isPremiumPlugin','10770BNmBMq','4517541zgdgdE','137528HQxaXe','6IbUWQv','requires','pluginName','1767045ARTKdg','RealTimeCollaborativeRevisionHistory','312973UezJcL','16011sUuVeq','RevisionHistory','75102cqRtXk','isOfficialPlugin'];_0xba9b=function(){return _0x255c39;};return _0xba9b();}import{Plugin as _0x39abc1}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2051b5}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x2b3d35}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x39abc1{static get[_0x4cc5d8(0x7a)](){var _0x207f07=_0x4cc5d8;return[_0x207f07(0x80),_0x2051b5,_0x2b3d35];}static get[_0x4cc5d8(0x7b)](){var _0x53c25b=_0x4cc5d8;return _0x53c25b(0x7d);}static get[_0x4cc5d8(0x82)](){return!0x0;}static get[_0x4cc5d8(0x75)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x47d904=_0xedf3;(function(_0x44cdc7,_0x13e728){const _0x47bd14=_0xedf3,_0x288d57=_0x44cdc7();while(!![]){try{const _0x5a15bc=-parseInt(_0x47bd14(0xe3))/0x1+-parseInt(_0x47bd14(0xca))/0x2+-parseInt(_0x47bd14(0xbb))/0x3+parseInt(_0x47bd14(0xbc))/0x4*(-parseInt(_0x47bd14(0xaf))/0x5)+parseInt(_0x47bd14(0xb0))/0x6+-parseInt(_0x47bd14(0xdd))/0x7+parseInt(_0x47bd14(0xcc))/0x8;if(_0x5a15bc===_0x13e728)break;else _0x288d57['push'](_0x288d57['shift']());}catch(_0x85aae3){_0x288d57['push'](_0x288d57['shift']());}}}(_0x20e7,0x3a1ca));import{Plugin as _0x4eabd7}from'ckeditor5/src/core.js';function _0xedf3(_0x3240a5,_0x53b01a){const _0x20e77a=_0x20e7();return _0xedf3=function(_0xedf3d0,_0x28c98a){_0xedf3d0=_0xedf3d0-0xaa;let _0x24bdd4=_0x20e77a[_0xedf3d0];return _0x24bdd4;},_0xedf3(_0x3240a5,_0x53b01a);}import{User as _0x595fa1,TrackChangesService as _0x48a7f7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4cde51}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xd2b3be}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1815f7}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x4eabd7{static [_0x47d904(0xae)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x48a7f7)());[_0x47d904(0xe6)];[_0x47d904(0xcf)];static get[_0x47d904(0xb4)](){const _0x37db03=_0x47d904;return[_0xd2b3be,_0x37db03(0xad),_0x4cde51];}static get[_0x47d904(0xd3)](){const _0x5d9d37=_0x47d904;return _0x5d9d37(0xcb);}static get[_0x47d904(0xe1)](){return!0x0;}static get[_0x47d904(0xe0)](){return!0x0;}constructor(_0x9e19ce){const _0xb6941=_0x47d904;super(_0x9e19ce);const _0x3d7c78=this[_0xb6941(0xbd)][_0xb6941(0xdc)][_0xb6941(0xd6)](_0xb6941(0xb6));this[_0xb6941(0xe6)]=new Map(),this[_0xb6941(0xcf)]=new m[(_0xb6941(0xae))](_0x3d7c78);}[_0x47d904(0xda)](){const _0x5bbdfe=_0x47d904,_0x2b1278=this[_0x5bbdfe(0xbd)][_0x5bbdfe(0xb2)][_0x5bbdfe(0xd6)](_0x4cde51),_0xbe6aeb=this[_0x5bbdfe(0xbd)][_0x5bbdfe(0xb2)][_0x5bbdfe(0xd6)](_0x5bbdfe(0xad));return _0xbe6aeb[_0x5bbdfe(0xd0)]={'getSuggestion':async _0x3802d6=>{const _0x5e7875=_0x5bbdfe;await this[_0x5e7875(0xaa)]();const _0x22fdfd=await this[_0x5e7875(0xcf)][_0x5e7875(0xd6)](_0x3802d6)[_0x5e7875(0xd7)](A);return await this[_0x5e7875(0xc4)]([_0x22fdfd]),_0x22fdfd;},'addSuggestion':async({id:_0x5e8fd7,type:_0x5829e5,data:_0x2be271,originalSuggestionId:_0x37f4d6,attributes:_0x4ceb14})=>{const _0x421a9f=_0x5bbdfe;await this[_0x421a9f(0xaa)]();const _0x5753e8={'id':_0x5e8fd7,'type':_0x5829e5,'data':_0x2be271,'originalSuggestionId':_0x37f4d6,'attributes':_0x4ceb14},_0x208bb1=await this[_0x421a9f(0xcf)][_0x421a9f(0xb5)](_0x5e8fd7,_0x5829e5,_0x2be271,_0x37f4d6,_0x4ceb14)[_0x421a9f(0xd7)](_0x4e1ab3=>{if(it(_0x4e1ab3))return new Promise(_0x2cf2f6=>{const _0x1f0ebe=_0xedf3;this[_0x1f0ebe(0xe6)][_0x1f0ebe(0xd8)](_0x5e8fd7,{'resolve':_0x2cf2f6,'suggestionData':_0x5753e8});});throw _0x4e1ab3;});return this[_0x421a9f(0xe6)][_0x421a9f(0xba)](_0x5e8fd7),_0x208bb1;},'updateSuggestion':async(_0x47a600,_0xf8a02d)=>{const _0x154ed4=_0x5bbdfe;if(await this[_0x154ed4(0xaa)](),_0x154ed4(0xd4)!==_0xf8a02d[_0x154ed4(0xbf)])return this[_0x154ed4(0xcf)][_0x154ed4(0xdf)](_0x47a600,_0xf8a02d)[_0x154ed4(0xd7)](A);}},this[_0x5bbdfe(0xde)](this[_0x5bbdfe(0xcf)],_0x5bbdfe(0xac),(_0x279aaa,_0x3f60e1)=>{const _0x457a02=_0x5bbdfe;_0xbe6aeb[_0x457a02(0xb3)](_0x3f60e1['id'])&&(_0xbe6aeb[_0x457a02(0xcd)](_0x3f60e1['id'])[_0x457a02(0xd5)]=_0x3f60e1[_0x457a02(0xd5)]);}),this[_0x5bbdfe(0xcf)][_0x5bbdfe(0xb9)](_0x2b1278[_0x5bbdfe(0xc2)])[_0x5bbdfe(0xdb)](_0x2aa5b2=>(_0x2b1278[_0x5bbdfe(0xc1)](this),this[_0x5bbdfe(0xc4)](_0x2aa5b2)[_0x5bbdfe(0xdb)](()=>{const _0x5ec51a=_0x5bbdfe;for(const _0xab1e9c of _0x2aa5b2){_0xbe6aeb[_0x5ec51a(0xe7)](_0xab1e9c)[_0x5ec51a(0xc9)]=!0x0;}})));}async[_0x47d904(0xe4)](){const _0x1de89c=_0x47d904,_0x5153ee=this[_0x1de89c(0xbd)][_0x1de89c(0xb2)][_0x1de89c(0xd6)](_0x1de89c(0xad)),{connection:_0x1fcd51}=this[_0x1de89c(0xbd)][_0x1de89c(0xb2)][_0x1de89c(0xd6)](_0x4cde51),_0x9faae2=await this[_0x1de89c(0xcf)][_0x1de89c(0xb9)](_0x1fcd51);await this[_0x1de89c(0xc4)](_0x9faae2);for(const {suggestionData:_0xfa451e,resolve:_0x58b890}of this[_0x1de89c(0xe6)][_0x1de89c(0xd1)]()){let _0x21b527=_0x9faae2[_0x1de89c(0xd2)](_0x2b2a04=>_0x2b2a04['id']===_0xfa451e['id']);_0x21b527||(_0x21b527=await this[_0x1de89c(0xcf)][_0x1de89c(0xb5)](_0xfa451e['id'],_0xfa451e[_0x1de89c(0xe5)],_0xfa451e[_0x1de89c(0xe2)],_0xfa451e[_0x1de89c(0xc8)])),_0x58b890(_0x21b527);}for(const _0x41e58c of _0x9faae2)_0x5153ee[_0x1de89c(0xb3)](_0x41e58c['id'])||_0x5153ee[_0x1de89c(0xe7)](_0x41e58c);}async[_0x47d904(0xaa)](){const _0x22e8d2=_0x47d904;this[_0x22e8d2(0xcf)][_0x22e8d2(0xce)]||await new Promise(_0x3c7037=>{const _0x669a7c=_0x22e8d2;this[_0x669a7c(0xde)](this[_0x669a7c(0xcf)],_0x669a7c(0xc5),_0xa4f11=>{const _0x1c9f08=_0x669a7c;_0xa4f11[_0x1c9f08(0xc6)](),_0x3c7037();});});}async[_0x47d904(0xc4)](_0x2f05f0){const _0x1fd802=_0x47d904,_0x414d47=this[_0x1fd802(0xbd)][_0x1fd802(0xb2)][_0x1fd802(0xd6)](_0x1815f7),{connection:_0x2d4255}=this[_0x1fd802(0xbd)][_0x1fd802(0xb2)][_0x1fd802(0xd6)](_0x4cde51),_0xd49143=new Set();for(const {authorId:_0x22bb0d}of _0x2f05f0)_0x414d47[_0x1fd802(0xc0)](_0x22bb0d)||_0xd49143[_0x1fd802(0xb5)](_0x22bb0d);if(0x0===_0xd49143[_0x1fd802(0xab)])return;const _0x57c7d6=await _0x595fa1[_0x1fd802(0xbe)](_0x2d4255,Array[_0x1fd802(0xd9)](_0xd49143));for(const _0x249e10 of _0x57c7d6)_0x414d47[_0x1fd802(0xc0)](_0x249e10['id'])||_0x414d47[_0x1fd802(0xb7)](_0x249e10);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x9266ba){if(it(_0x9266ba))return new Promise(()=>{});throw _0x9266ba;}function it(_0x3eeb29){const _0x2a400b=_0x47d904;return _0x3eeb29[_0x2a400b(0xc3)][_0x2a400b(0xb8)](_0x2a400b(0xc7))||_0x3eeb29[_0x2a400b(0xc3)][_0x2a400b(0xb8)](_0x2a400b(0xb1));}function _0x20e7(){const _0x15c8fb=['getUser','addToReconnectionStack','connection','message','_fetchMissingUsersForThreads','connected','off','cloud-services-internal-error:\x20Not\x20connected.','originalSuggestionId','_saved','297174DVrgXS','CloudServicesTrackChangesAdapter','6053456TFsKwI','getSuggestion','isConnected','_trackChangesService','adapter','values','find','pluginName','open','attributes','get','catch','set','from','init','then','config','1389283XPsdxP','listenTo','update','isPremiumPlugin','isOfficialPlugin','data','69666fvuTqm','reconnect','type','_bufferedRequests','addSuggestionData','_waitForServiceReady','size','suggestionUpdated','TrackChangesEditing','TrackChangesService','1462865yNrEQK','2094792BgMFTn','cloud-services-internal-error:\x20Request\x20timeout.','plugins','hasSuggestion','requires','add','collaboration.channelId','addUser','startsWith','connect','delete','475479jNnwDo','4suNakc','editor','getMany','state'];_0x20e7=function(){return _0x15c8fb;};return _0x20e7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3705(){var _0x7f83c9=['823812kcpHTh','349254eluyyL','pluginName','isPremiumPlugin','328jWTTCH','1605610pIwCbY','12167869ojPaSp','4882152uWZGeL','4uZdIMX','4176537CoOeOA','TrackChanges','RealTimeCollaborativeTrackChanges','isOfficialPlugin','7471460vpWysU','requires'];_0x3705=function(){return _0x7f83c9;};return _0x3705();}var _0xc36118=_0x1c3b;(function(_0x52b64b,_0x299de7){var _0x12be1d=_0x1c3b,_0x3d4ab9=_0x52b64b();while(!![]){try{var _0x20957a=parseInt(_0x12be1d(0x163))/0x1+parseInt(_0x12be1d(0x15e))/0x2+-parseInt(_0x12be1d(0x158))/0x3*(-parseInt(_0x12be1d(0x157))/0x4)+-parseInt(_0x12be1d(0x15c))/0x5+-parseInt(_0x12be1d(0x156))/0x6+-parseInt(_0x12be1d(0x164))/0x7+-parseInt(_0x12be1d(0x162))/0x8*(-parseInt(_0x12be1d(0x15f))/0x9);if(_0x20957a===_0x299de7)break;else _0x3d4ab9['push'](_0x3d4ab9['shift']());}catch(_0x21f924){_0x3d4ab9['push'](_0x3d4ab9['shift']());}}}(_0x3705,0xe907a));import{Plugin as _0x39e4a2}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x497031}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x1c3b(_0x1f7d0f,_0x1fbb60){var _0x370575=_0x3705();return _0x1c3b=function(_0x1c3be8,_0x539f10){_0x1c3be8=_0x1c3be8-0x156;var _0x531653=_0x370575[_0x1c3be8];return _0x531653;},_0x1c3b(_0x1f7d0f,_0x1fbb60);}import{RealTimeCollaborativeComments as _0x489bc1}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x39e4a2{static get[_0xc36118(0x15d)](){var _0x251b4f=_0xc36118;return[_0x489bc1,_0x497031,_0x251b4f(0x159)];}static get[_0xc36118(0x160)](){var _0x572f14=_0xc36118;return _0x572f14(0x15a);}static get[_0xc36118(0x15b)](){return!0x0;}static get[_0xc36118(0x161)](){return!0x0;}}
|