@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.1 → 47.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 +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
|
+
const _0x2794bb=_0x16d9;(function(_0x36c19f,_0x48c1ce){const _0x535ef8=_0x16d9,_0x5dbe68=_0x36c19f();while(!![]){try{const _0x1fc8a4=-parseInt(_0x535ef8(0x178))/0x1*(parseInt(_0x535ef8(0x1a1))/0x2)+-parseInt(_0x535ef8(0x18e))/0x3*(parseInt(_0x535ef8(0x19a))/0x4)+-parseInt(_0x535ef8(0x1a7))/0x5*(parseInt(_0x535ef8(0x177))/0x6)+-parseInt(_0x535ef8(0x167))/0x7+-parseInt(_0x535ef8(0x1a4))/0x8*(-parseInt(_0x535ef8(0x19b))/0x9)+-parseInt(_0x535ef8(0x180))/0xa+-parseInt(_0x535ef8(0x188))/0xb*(-parseInt(_0x535ef8(0x173))/0xc);if(_0x1fc8a4===_0x48c1ce)break;else _0x5dbe68['push'](_0x5dbe68['shift']());}catch(_0x4823dd){_0x5dbe68['push'](_0x5dbe68['shift']());}}}(_0x4d98,0xf3638));import{ContextPlugin as _0x4ca6cd}from'ckeditor5/src/core.js';function _0x4d98(){const _0x44b189=['9DemOfQ','connect','connected','removeFromReconnectionStack','has','change:me','178IhUeXV','then','code','14004400kaSHLy','isPremiumPlugin','bind','5fqeXCF','websocketgateway-plugin-already-registered','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','add','destroy','Connected\x20users\x20limit\x20exceeded','requires','cloudservices-init','CONNECTED','showWarning','pluginName','disconnect','5132022bgKouG','real-time-collaboration','isInReconnectionStack','token','CONNECTING','online','DISCONNECTED','websocketgateway-missing-websocket-url','init','_reconnectionStack','_domEmitter','cloudservices-reconnection-error','938076JjiObw','_isBrowserOffline','WebSocketGateway','stopListening','3564306HQBNjl','5011RsFuPt','_reconnect','limitExceeded','websocketgateway-missing-token','webSocketUrl','_shouldPluginsReconnect','offline','get','5534060uWAJFO','context','CloudServices','delete','plugins','all','set','constructor','451oGaLis','error','from','listenTo','config','reconnect','21eibkyH','connection','define','function','initialReconnectionInterval','cloudServices.connectionTimeout','cloudServices.requestTimeout','state','addToReconnectionStack','websocketgateway-invalid-plugin-interface','catch','isOfficialPlugin','932652RWFcoP'];_0x4d98=function(){return _0x44b189;};return _0x4d98();}import{DomEmitterMixin as _0x1d1221,CKEditorError as _0x2735ee}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xac886f,WEB_SOCKET_GATEWAY_STATES as _0xa00ae2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16d9(_0x2cc12f,_0x46d27f){const _0x4d980b=_0x4d98();return _0x16d9=function(_0x16d99f,_0xab05b3){_0x16d99f=_0x16d99f-0x162;let _0x132bea=_0x4d980b[_0x16d99f];return _0x132bea;},_0x16d9(_0x2cc12f,_0x46d27f);}import{Notification as _0x452f2b}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4ca6cd{static [_0x2794bb(0x175)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xac886f)());static [_0x2794bb(0x192)]=0x3e8;[_0x2794bb(0x18f)];[_0x2794bb(0x170)];[_0x2794bb(0x17d)];[_0x2794bb(0x171)];static get[_0x2794bb(0x1ad)](){const _0x5398ef=_0x2794bb;return[_0x5398ef(0x182),_0x452f2b];}static get[_0x2794bb(0x165)](){const _0xf0035f=_0x2794bb;return _0xf0035f(0x175);}static get[_0x2794bb(0x199)](){return!0x0;}static get[_0x2794bb(0x1a5)](){return!0x0;}constructor(_0x446854){const _0x18ed8b=_0x2794bb;super(_0x446854),this[_0x18ed8b(0x186)](_0x18ed8b(0x195),_0xa00ae2[_0x18ed8b(0x163)]),this[_0x18ed8b(0x186)](_0x18ed8b(0x174),!0x1),this[_0x18ed8b(0x170)]=new Set(),this[_0x18ed8b(0x17d)]=!0x1,this[_0x18ed8b(0x171)]=new(_0x1d1221())();}[_0x2794bb(0x16f)](){const _0x3220a4=_0x2794bb,_0x203c13=this[_0x3220a4(0x181)],_0x574398=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x3220a4(0x182)),_0x22e2b9=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x452f2b);if(!_0x574398[_0x3220a4(0x16a)])throw new _0x2735ee(_0x3220a4(0x17b),this);if(!_0x574398[_0x3220a4(0x17c)])throw new _0x2735ee(_0x3220a4(0x16e),this);return this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x17e),()=>this[_0x3220a4(0x174)]=!0x0),this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x16c),()=>this[_0x3220a4(0x174)]=!0x1),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x193),0xa),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x194),0x14),WebSocketGateway[_0x3220a4(0x175)][_0x3220a4(0x19c)](_0x574398[_0x3220a4(0x16a)],_0x574398[_0x3220a4(0x17c)],{'timeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x193)),'requestTimeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x194))})[_0x3220a4(0x1a2)](_0x21c651=>{const _0x4d2b77=_0x3220a4;if(this[_0x4d2b77(0x18f)]=_0x21c651,this[_0x4d2b77(0x1a6)](_0x4d2b77(0x195))['to'](_0x21c651,_0x4d2b77(0x195),this,_0x4d2b77(0x174),(_0x32a1e2,_0x16885d)=>(_0x4d2b77(0x19d)!==_0x32a1e2&&(this[_0x4d2b77(0x17d)]=!0x0),_0x16885d||_0x32a1e2!==_0xa00ae2[_0x4d2b77(0x163)]?_0xa00ae2[_0x4d2b77(0x16d)]:this[_0x4d2b77(0x195)]==_0xa00ae2[_0x4d2b77(0x16d)]&&this[_0x4d2b77(0x17d)]?(this[_0x4d2b77(0x17d)]=!0x1,this[_0x4d2b77(0x179)](),_0xa00ae2[_0x4d2b77(0x16b)]):_0xa00ae2[_0x4d2b77(0x163)])),this[_0x4d2b77(0x18f)]['on'](_0x4d2b77(0x189),(_0x19796f,_0x10630b)=>{const _0x2a51a3=_0x4d2b77;if(_0x2a51a3(0x17a)!==_0x10630b[_0x2a51a3(0x1a3)])throw console[_0x2a51a3(0x189)](_0x10630b),new _0x2735ee(_0x2a51a3(0x162),null,{'originalError':_0x10630b});_0x22e2b9[_0x2a51a3(0x164)](_0x2a51a3(0x1a9),{'title':_0x2a51a3(0x1ac),'namespace':_0x2a51a3(0x168)});}),!_0x21c651['me'])return new Promise(_0x47f388=>_0x21c651['on'](_0x4d2b77(0x1a0),_0x47f388));})[_0x3220a4(0x198)](_0x54c0c3=>{const _0x133133=_0x3220a4;throw console[_0x133133(0x189)](_0x54c0c3),new _0x2735ee(_0x133133(0x162),null,{'originalError':_0x54c0c3});});}[_0x2794bb(0x196)](_0x5a0a35){const _0x2ea3f9=_0x2794bb;if(_0x2ea3f9(0x191)!=typeof _0x5a0a35[_0x2ea3f9(0x18d)])throw new _0x2735ee(_0x2ea3f9(0x197),this);if(this[_0x2ea3f9(0x169)](_0x5a0a35))throw new _0x2735ee(_0x2ea3f9(0x1a8),this,{'name':_0x5a0a35[_0x2ea3f9(0x187)][_0x2ea3f9(0x165)]});this[_0x2ea3f9(0x170)][_0x2ea3f9(0x1aa)](_0x5a0a35);}[_0x2794bb(0x19e)](_0x2a4197){const _0x301990=_0x2794bb;this[_0x301990(0x170)][_0x301990(0x183)](_0x2a4197);}[_0x2794bb(0x169)](_0x5d7f80){const _0x293de0=_0x2794bb;return this[_0x293de0(0x170)][_0x293de0(0x19f)](_0x5d7f80);}[_0x2794bb(0x179)](){const _0x74f68f=_0x2794bb;return this[_0x74f68f(0x18f)][_0x74f68f(0x18d)]()[_0x74f68f(0x1a2)](()=>Promise[_0x74f68f(0x185)](Array[_0x74f68f(0x18a)](this[_0x74f68f(0x170)],_0x401c58=>_0x401c58[_0x74f68f(0x18d)]())))[_0x74f68f(0x1a2)](()=>this[_0x74f68f(0x195)]=_0xa00ae2[_0x74f68f(0x163)])[_0x74f68f(0x198)](_0x5b8ed1=>{const _0x463027=_0x74f68f;throw console[_0x463027(0x189)](_0x5b8ed1),new _0x2735ee(_0x463027(0x172),this[_0x463027(0x181)]);});}[_0x2794bb(0x166)](){const _0x550532=_0x2794bb;this[_0x550532(0x18f)]&&this[_0x550532(0x18f)][_0x550532(0x166)](),this[_0x550532(0x195)]=_0xa00ae2[_0x550532(0x16d)],this[_0x550532(0x171)][_0x550532(0x176)]();}[_0x2794bb(0x1ab)](){const _0x230eb7=_0x2794bb;this[_0x230eb7(0x166)](),super[_0x230eb7(0x1ab)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x510397=_0x4bae;function _0x1182(){var _0x41ef55=['isPremiumPlugin','16209BauQFu','14425TWoVnq','604XPhwAy','isOfficialPlugin','RealTimeCollaborativeEditing','407890OSRbZA','231CknJqE','1096xdyOAZ','1503552sIOFpx','pluginName','2323349hrDivA','248784TsrbRU','3awYOzv','requires','1029531ypKRsU'];_0x1182=function(){return _0x41ef55;};return _0x1182();}(function(_0x15e592,_0x5d9c){var _0x2f0b60=_0x4bae,_0x382398=_0x15e592();while(!![]){try{var _0x279f13=parseInt(_0x2f0b60(0x130))/0x1*(-parseInt(_0x2f0b60(0x12f))/0x2)+parseInt(_0x2f0b60(0x132))/0x3+parseInt(_0x2f0b60(0x126))/0x4*(-parseInt(_0x2f0b60(0x125))/0x5)+-parseInt(_0x2f0b60(0x12c))/0x6+parseInt(_0x2f0b60(0x12e))/0x7+parseInt(_0x2f0b60(0x12b))/0x8*(-parseInt(_0x2f0b60(0x124))/0x9)+parseInt(_0x2f0b60(0x129))/0xa*(parseInt(_0x2f0b60(0x12a))/0xb);if(_0x279f13===_0x5d9c)break;else _0x382398['push'](_0x382398['shift']());}catch(_0x235af7){_0x382398['push'](_0x382398['shift']());}}}(_0x1182,0x370e9));function _0x4bae(_0x9974cd,_0x16ff9e){var _0x118235=_0x1182();return _0x4bae=function(_0x4baeb8,_0x1d1122){_0x4baeb8=_0x4baeb8-0x124;var _0x3098b3=_0x118235[_0x4baeb8];return _0x3098b3;},_0x4bae(_0x9974cd,_0x16ff9e);}import{Plugin as _0x58f413}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x3b968d}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x58f413{static get[_0x510397(0x131)](){return[_0x3b968d];}static get[_0x510397(0x12d)](){var _0x1064cd=_0x510397;return _0x1064cd(0x128);}static get[_0x510397(0x127)](){return!0x0;}static get[_0x510397(0x133)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x499804)());[_0x3da807(0x138)];[_0x3da807(0x14f)];[_0x3da807(0x15e)];[_0x3da807(0x15f)];static get[_0x3da807(0x174)](){const _0x3f37b7=_0x3da807;return[_0x38d897,_0x4b42ba,_0x3f37b7(0x10b),_0xda2177,_0x478c9d];}static get[_0x3da807(0x16c)](){const _0x56bef4=_0x3da807;return _0x56bef4(0x122);}static get[_0x3da807(0x110)](){return!0x0;}static get[_0x3da807(0x14a)](){return!0x0;}constructor(_0x3fc07b){const _0x1488f4=_0x3da807;super(_0x3fc07b);const _0x48fdd7=this[_0x1488f4(0x14b)][_0x1488f4(0x133)][_0x1488f4(0x152)](_0x1488f4(0x11f));this[_0x1488f4(0x138)]=null,this[_0x1488f4(0x14f)]=this[_0x1488f4(0x14b)][_0x1488f4(0x13f)][_0x1488f4(0x152)](_0x1488f4(0x147)),this[_0x1488f4(0x15e)]=new CloudServicesRevisionHistoryAdapter[(_0x1488f4(0x173))](_0x48fdd7);}async[_0x3da807(0x167)](){const _0x9514e=_0x3da807,_0x2f81c7=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x4b42ba),_0x4280b0=_0x2f81c7[_0x9514e(0x127)],_0x586ef4=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x38d897);this[_0x9514e(0x14f)][_0x9514e(0x169)]({'history':_0x4280b0,'getLatestVersion':()=>this[_0x9514e(0x13d)](),'getCurrentRevisionId':()=>_0x2f81c7[_0x9514e(0x134)]});const _0x37f475=this[_0x9514e(0x14b)][_0x9514e(0x133)][_0x9514e(0x152)](_0x9514e(0x157))||_0x594537,_0x1ec2ae=await _0x104b27[_0x9514e(0x153)](_0x586ef4[_0x9514e(0x179)],_0x37f475);this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x9514e(0x10b))[_0x9514e(0x150)]={'getRevision':async({revisionId:_0x879057})=>(await this[_0x9514e(0x160)](),await this[_0x9514e(0x15e)][_0x9514e(0x151)](_0x879057)),'updateRevisions':async _0x5c780c=>{const _0x14f96c=_0x9514e;await this[_0x14f96c(0x160)]();const _0x16e25e=this[_0x14f96c(0x14f)][_0x14f96c(0x13c)];if(_0x1ec2ae&&0x1===_0x5c780c[_0x14f96c(0x12d)]&&_0x5c780c[0x0]['id']===_0x16e25e['id'])return _0x5c780c;for(const _0x58ebc2 of _0x5c780c)_0x58ebc2['id']===_0x16e25e['id']&&(_0x58ebc2[_0x14f96c(0x158)]=_0x58ebc2[_0x14f96c(0x17d)]===_0x58ebc2[_0x14f96c(0x162)]);return this[_0x14f96c(0x15e)][_0x14f96c(0x121)](_0x5c780c,this[_0x14f96c(0x138)])[_0x14f96c(0x126)](_0x2b4e24=>(this[_0x14f96c(0x138)]=_0x2b4e24,_0x5c780c))[_0x14f96c(0x12a)](_0x3adde4=>{const _0x788e44=_0x14f96c;if(J(_0x3adde4)||_0x788e44(0x159)===_0x3adde4[_0x788e44(0x16b)]&&void 0x0!==_0x3adde4[_0x788e44(0x117)][_0x788e44(0x128)]){for(const _0x59b23b of _0x5c780c){!this[_0x788e44(0x14f)][_0x788e44(0x10d)][_0x788e44(0x151)](_0x59b23b['id'])||this[_0x788e44(0x14f)][_0x788e44(0x139)](_0x59b23b['id'],_0x59b23b,!0x1);}if(J(_0x3adde4))throw _0x3adde4;return _0x5c780c;}throw _0x3adde4;});}},this[_0x9514e(0x165)](this[_0x9514e(0x15e)],_0x9514e(0x166),(_0x4ac28a,{revisionsData:_0xaafd10,requestId:_0x1dae66})=>{const _0x3b7f03=_0x9514e;Math[_0x3b7f03(0x163)](..._0xaafd10[_0x3b7f03(0x178)](_0x31ba7c=>_0x31ba7c[_0x3b7f03(0x162)]))>this[_0x3b7f03(0x124)]()-0x1?this[_0x3b7f03(0x13d)]()[_0x3b7f03(0x126)](()=>{const _0x1ed352=_0x3b7f03;this[_0x1ed352(0x16d)](_0xaafd10,_0x1dae66);}):this[_0x3b7f03(0x16d)](_0xaafd10,_0x1dae66);});const {revisions:_0x482e97,requestId:_0x1c0540}=await this[_0x9514e(0x15e)][_0x9514e(0x15b)](_0x586ef4[_0x9514e(0x179)]);_0x586ef4[_0x9514e(0x11e)](this),this[_0x9514e(0x138)]=_0x1c0540,await this[_0x9514e(0x16e)](_0x482e97);for(const _0x2b36ce of _0x482e97)this[_0x9514e(0x14f)][_0x9514e(0x15c)](_0x2b36ce);this[_0x9514e(0x165)](_0x2f81c7,_0x9514e(0x112),(_0x24c09e,_0x22e356,_0xbdcde2)=>{const _0x57884d=_0x9514e;_0xbdcde2&&(this[_0x57884d(0x15f)]=_0x2f81c7[_0x57884d(0x109)],_0x24c09e[_0x57884d(0x168)]());}),this[_0x9514e(0x14f)][_0x9514e(0x10e)](_0x9514e(0x120))['to'](_0x586ef4,_0x9514e(0x143),_0x246590=>_0x246590===_0x2a3b28[_0x9514e(0x175)]);}async[_0x3da807(0x11d)](){const _0x2dd369=_0x3da807,_0x878bfe=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x38d897),_0x5d5adf=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x4b42ba),_0x179417=async()=>{const _0x208027=_0x2dd369,_0x31a3a6=this[_0x208027(0x14f)][_0x208027(0x13c)],_0x388cca=_0x31a3a6['id'],_0xf695ff=_0x388cca!==_0x5d5adf[_0x208027(0x134)];if(_0xf695ff){const _0x8c1df3=_0x5d5adf[_0x208027(0x109)]-this[_0x208027(0x15f)],_0x42f481=this[_0x208027(0x124)]();this[_0x208027(0x14f)][_0x208027(0x11b)][_0x208027(0x145)]();if(_0x31a3a6[_0x208027(0x162)]+_0x8c1df3!==_0x42f481){const _0x148bf=_0x31a3a6[_0x208027(0x17d)]+_0x8c1df3,_0xd9a7c6=this[_0x208027(0x14b)][_0x208027(0x13f)][_0x208027(0x152)](_0x478c9d),_0x4cae94=this[_0x208027(0x14f)][_0x208027(0x15a)]({'revision':_0x31a3a6,'from':_0x148bf,'to':_0x42f481});_0x4cae94['id']=_0x31a3a6['id'];const _0x21aa47=_0x4cae94[_0x208027(0x170)][_0x208027(0x178)](_0x506c7d=>_0xd9a7c6[_0x208027(0x13a)](_0x506c7d));_0x31a3a6[_0x208027(0x12f)]({..._0x4cae94,'authors':_0x21aa47},!0x0),this[_0x208027(0x14f)][_0x208027(0x139)](_0x31a3a6['id'],_0x4cae94,!0x0);}this[_0x208027(0x14f)][_0x208027(0x15d)]=_0x42f481,(_0x31a3a6[_0x208027(0x162)]===_0x31a3a6[_0x208027(0x17d)]&&!this[_0x208027(0x14f)][_0x208027(0x113)][_0x208027(0x108)](_0x388cca)&&this[_0x208027(0x14f)][_0x208027(0x10d)][_0x208027(0x176)][_0x208027(0x16a)](_0x388cca),this[_0x208027(0x14f)][_0x208027(0x129)](_0x42f481));}const {revisions:_0x2793d6,requestId:_0x2f5dc0}=await this[_0x208027(0x15e)][_0x208027(0x11d)](_0x878bfe[_0x208027(0x179)],this[_0x208027(0x138)]);_0xf695ff&&_0x2793d6[_0x208027(0x12d)]>0x0?_0x5d5adf[_0x208027(0x16f)]():(await this[_0x208027(0x16e)](_0x2793d6),this[_0x208027(0x16d)](_0x2793d6,_0x2f5dc0),this[_0x208027(0x14f)][_0x208027(0x10a)]());};return _0x5d5adf[_0x2dd369(0x132)]?_0x179417():new Promise((_0x49a254,_0x31d924)=>{const _0x5d977c=_0x2dd369;_0x5d5adf[_0x5d977c(0x177)](_0x5d977c(0x112),()=>{const _0x1cf7c0=_0x5d977c;_0x179417()[_0x1cf7c0(0x126)](_0x49a254)[_0x1cf7c0(0x12a)](_0x31d924);});});}[_0x3da807(0x146)](){const _0x48c0a8=_0x3da807;super[_0x48c0a8(0x146)]();}async[_0x3da807(0x160)](){const _0x2b806a=_0x3da807;this[_0x2b806a(0x15e)][_0x2b806a(0x130)]||await new Promise(_0x1726af=>{const _0x146c32=_0x2b806a;this[_0x146c32(0x165)](this[_0x146c32(0x15e)],_0x146c32(0x148),_0x30b147=>{const _0x3c24bf=_0x146c32;_0x30b147[_0x3c24bf(0x168)](),_0x1726af();});});}[_0x3da807(0x124)](){const _0x3cc916=_0x3da807,_0x3ac162=this[_0x3cc916(0x14b)][_0x3cc916(0x13f)][_0x3cc916(0x152)](_0x4b42ba)[_0x3cc916(0x127)][_0x3cc916(0x14e)]()[_0x3cc916(0x107)]();for(const _0x19b655 of _0x3ac162)if(_0x3cc916(0x137)!==_0x19b655[_0x3cc916(0x13b)]||_0x19b655[_0x3cc916(0x161)])return _0x19b655[_0x3cc916(0x156)]+0x1;}[_0x3da807(0x13d)](){const _0x5958c4=_0x3da807,_0x5b3bee=this[_0x5958c4(0x14b)][_0x5958c4(0x13f)][_0x5958c4(0x152)](_0x4b42ba);return new Promise(_0x41b3fb=>{const _0x41829b=_0x5958c4;_0x5b3bee[_0x41829b(0x142)]?_0x5b3bee[_0x41829b(0x177)](_0x41829b(0x125),()=>{const _0x54c5fd=_0x41829b;_0x41b3fb(this[_0x54c5fd(0x124)]());}):_0x41b3fb(this[_0x41829b(0x124)]());});}[_0x3da807(0x16d)](_0x3ed70b,_0x2f8728){const _0x12024=_0x3da807,_0x19ccbb=this[_0x12024(0x14f)][_0x12024(0x10d)];this[_0x12024(0x138)]=_0x2f8728;for(const _0x4e3c1a of _0x3ed70b){const _0x490054=_0x19ccbb[_0x12024(0x151)](_0x4e3c1a['id']);if(_0x490054){if((_0x4e3c1a[_0x12024(0x17d)]||_0x4e3c1a[_0x12024(0x162)])&&(_0x4e3c1a[_0x12024(0x12b)]=null),_0x490054===this[_0x12024(0x14f)][_0x12024(0x13c)]){const _0x3cb672=Math[_0x12024(0x163)](_0x490054[_0x12024(0x162)],_0x4e3c1a[_0x12024(0x162)]),_0x59137f=Math[_0x12024(0x163)](_0x490054[_0x12024(0x17d)],_0x4e3c1a[_0x12024(0x17d)]);let _0xf4714e;_0x490054[_0x12024(0x162)]===_0x4e3c1a[_0x12024(0x162)]&&_0x490054[_0x12024(0x17d)]===_0x4e3c1a[_0x12024(0x17d)]?(_0xf4714e=!0x0,this[_0x12024(0x149)](_0x4e3c1a)):_0x4e3c1a[_0x12024(0x162)]===_0x3cb672&&_0x4e3c1a[_0x12024(0x17d)]===_0x59137f?_0xf4714e=!0x1:(_0x490054[_0x12024(0x162)]===_0x3cb672&&_0x490054[_0x12024(0x17d)]===_0x59137f||this[_0x12024(0x123)]({'revision':_0x490054,'from':_0x59137f,'to':_0x3cb672}),_0xf4714e=!0x0),_0xf4714e&&(delete _0x4e3c1a[_0x12024(0x17d)],delete _0x4e3c1a[_0x12024(0x162)],delete _0x4e3c1a[_0x12024(0x12b)],delete _0x4e3c1a[_0x12024(0x14d)],delete _0x4e3c1a[_0x12024(0x170)]);}this[_0x12024(0x14f)][_0x12024(0x135)](_0x4e3c1a),this[_0x12024(0x149)](_0x4e3c1a);}else this[_0x12024(0x14f)][_0x12024(0x15c)](_0x4e3c1a);}const _0x261779=_0x19ccbb[_0x12024(0x172)]();_0x261779[_0x12024(0x107)]();for(let _0x309928=0x0;_0x309928<_0x261779[_0x12024(0x12d)]-0x1;_0x309928++){const _0x50b806=_0x261779[_0x309928],_0xbd79ba=_0x261779[_0x309928+0x1];if(_0x50b806[_0x12024(0x17d)]<_0xbd79ba[_0x12024(0x162)]){const _0x352b7d=_0xbd79ba[_0x12024(0x162)],_0x2723be=Math[_0x12024(0x163)](_0x352b7d,_0x50b806[_0x12024(0x162)]);this[_0x12024(0x123)]({'revision':_0x50b806,'from':_0x352b7d,'to':_0x2723be});}}}[_0x3da807(0x123)]({revision:_0x4c1f53,from:_0x12708e,to:_0x2a993b}={}){const _0x44e655=_0x3da807,_0x58239c=this[_0x44e655(0x14b)][_0x44e655(0x13f)][_0x44e655(0x152)](_0x478c9d),_0x51af0b=this[_0x44e655(0x14f)][_0x44e655(0x15a)]({'revision':_0x4c1f53,'from':_0x12708e,'to':_0x2a993b});_0x51af0b[_0x44e655(0x115)]=_0x51af0b[_0x44e655(0x170)][_0x44e655(0x178)](_0x29e77d=>_0x58239c[_0x44e655(0x13a)](_0x29e77d)),_0x4c1f53[_0x44e655(0x12f)](_0x51af0b);}[_0x3da807(0x149)](_0x30a9ec){const _0x2a37f9=_0x3da807,_0x5d1150={};_0x5d1150['id']=_0x30a9ec['id'];for(const _0x12583c of Object[_0x2a37f9(0x111)](_0x30a9ec))'id'!==_0x12583c&&(_0x5d1150[_0x12583c]=void 0x0);this[_0x2a37f9(0x14f)][_0x2a37f9(0x139)](_0x5d1150['id'],_0x5d1150,!0x0);}async[_0x3da807(0x16e)](_0x2d7216){const _0x1dfc2b=_0x3da807,_0x483b01=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x478c9d),{connection:_0x5f2f25}=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x38d897),_0x213109=new Set();for(const _0x353bdc of _0x2d7216){for(const _0x4daa0c of _0x353bdc[_0x1dfc2b(0x170)])_0x29e8f8(_0x4daa0c);_0x353bdc[_0x1dfc2b(0x136)]&&_0x29e8f8(_0x353bdc[_0x1dfc2b(0x136)]);}if(0x0===_0x213109[_0x1dfc2b(0x131)])return;const _0xf522f=await _0x428dcd[_0x1dfc2b(0x17c)](_0x5f2f25,Array[_0x1dfc2b(0x10c)](_0x213109));for(const _0x23562f of _0xf522f)_0x483b01[_0x1dfc2b(0x13a)](_0x23562f['id'])||_0x483b01[_0x1dfc2b(0x140)](_0x23562f);function _0x29e8f8(_0x4cbf1c){const _0x264999=_0x1dfc2b;_0x483b01[_0x264999(0x13a)](_0x4cbf1c)||_0x213109[_0x264999(0x13e)](_0x4cbf1c);}}}function _0x1a7f(_0x333775,_0x11ce62){const _0x29be42=_0x29be();return _0x1a7f=function(_0x1a7f9c,_0x22a6c2){_0x1a7f9c=_0x1a7f9c-0x107;let _0x7d60eb=_0x29be42[_0x1a7f9c];return _0x7d60eb;},_0x1a7f(_0x333775,_0x11ce62);}function J(_0x462c29){const _0xbe2007=_0x3da807;return _0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x155))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x11c))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x14c));}
|
|
23
|
+
const _0x35966e=_0x5658;(function(_0x3a6793,_0x5a53e5){const _0x18c3ae=_0x5658,_0x26d10c=_0x3a6793();while(!![]){try{const _0x928ca4=-parseInt(_0x18c3ae(0xda))/0x1+parseInt(_0x18c3ae(0xec))/0x2+parseInt(_0x18c3ae(0xf7))/0x3*(-parseInt(_0x18c3ae(0xca))/0x4)+-parseInt(_0x18c3ae(0x12e))/0x5+parseInt(_0x18c3ae(0xd0))/0x6+-parseInt(_0x18c3ae(0x11b))/0x7*(parseInt(_0x18c3ae(0xf0))/0x8)+parseInt(_0x18c3ae(0xf2))/0x9;if(_0x928ca4===_0x5a53e5)break;else _0x26d10c['push'](_0x26d10c['shift']());}catch(_0x1061bd){_0x26d10c['push'](_0x26d10c['shift']());}}}(_0x205b,0xca80c));import{Plugin as _0x166364}from'ckeditor5/src/core.js';function _0x205b(){const _0xcf6be=['size','has','connection','catch','6687150wNQPYM','_update','addToReconnectionStack','pluginName','_getLatestVersionFromServerOperations','state','currentRevision','creatorId','_waitForServiceReady','connected','1344185DbhjOL','isEmptyCurrent','updateRevisions','_revisionDataBuilder','_revisionTracker','400','cloud-services-internal-error:\x20Not\x20connected.','max','reconnect','setRevisionData','_createCurrentRevision','_isConnected','_bufferedUpdates','connect','marker','isOfficialPlugin','get','createdAt','1142470HhznND','isBundleUploaded','change:_isPendingUpdate','getMany','142768GRpuen','diffData','22100310WgYCwd','then','getRevisions','message','RevisionHistoryService','129VjQBEH','bind','plugins','setSource','type','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','data','_handleRevisionsUpdate','requires','change:_isConnected','CloudServicesRevisionHistoryAdapter','startsWith','off','_bufferUpdate','reverse','adapter','wrongRequestId','_revisions','reInit','collaboration.channelId','buildRevisionData','CONNECTED','authors','init','editor','isEnabled','map','once','_revisionHistoryService','keys','config','sessionId','_oldOffset','_getLatestVersion','_preventResendingRevisionData','203BrRmdu','_startingVersion','listenTo','sendBufferedUpdates','RevisionHistory','authorsIds','getOperations','_fetchMissingUsers','addUser','_offset','toVersion','remove','getUser','baseVersion','code','_fixRevision','_isPendingUpdate','_handleReconnectionError','isPremiumPlugin','4042450MXumXN','affectsData','cloudServices.bundleVersion','add','serverHistory','getRevision','destroy','fromVersion','isConnected','from','revisionsUpdated','repository','_lastRequestId','RevisionTracker','length','59692ppflLl','cloud-services-internal-error:\x20Request\x20timeout.'];_0x205b=function(){return _0xcf6be;};return _0x205b();}import{version as _0x332bed}from'ckeditor5/src/utils.js';import{Users as _0x4baeef}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x19d2fb}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5e189f}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5658(_0x2f2d38,_0x29d0d7){const _0x205b00=_0x205b();return _0x5658=function(_0x5658d3,_0x1684b5){_0x5658d3=_0x5658d3-0xbf;let _0x430605=_0x205b00[_0x5658d3];return _0x430605;},_0x5658(_0x2f2d38,_0x29d0d7);}import{Sessions as _0x58b085}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4a4683,RevisionHistoryService as _0x28bc93,User as _0x1933eb,WEB_SOCKET_GATEWAY_STATES as _0x363922}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x166364{static [_0x35966e(0xf6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x28bc93)());[_0x35966e(0xc7)];[_0x35966e(0xde)];[_0x35966e(0x114)];[_0x35966e(0x118)];static get[_0x35966e(0x100)](){const _0x4f09e4=_0x35966e;return[_0x5e189f,_0x19d2fb,_0x4f09e4(0x11f),_0x58b085,_0x4baeef];}static get[_0x35966e(0xd3)](){const _0x348655=_0x35966e;return _0x348655(0x102);}static get[_0x35966e(0xe9)](){return!0x0;}static get[_0x35966e(0x12d)](){return!0x0;}constructor(_0x3a4e10){const _0x445f44=_0x35966e;super(_0x3a4e10);const _0x4c21ca=this[_0x445f44(0x110)][_0x445f44(0x116)][_0x445f44(0xea)](_0x445f44(0x10b));this[_0x445f44(0xc7)]=null,this[_0x445f44(0xde)]=this[_0x445f44(0x110)][_0x445f44(0xf9)][_0x445f44(0xea)](_0x445f44(0xc8)),this[_0x445f44(0x114)]=new CloudServicesRevisionHistoryAdapter[(_0x445f44(0xf6))](_0x4c21ca);}async[_0x35966e(0x10f)](){const _0x4d4f57=_0x35966e,_0x44528b=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x19d2fb),_0x50468f=_0x44528b[_0x4d4f57(0xbf)],_0x252d39=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x5e189f);this[_0x4d4f57(0xde)][_0x4d4f57(0xfa)]({'history':_0x50468f,'getLatestVersion':()=>this[_0x4d4f57(0x119)](),'getCurrentRevisionId':()=>_0x44528b[_0x4d4f57(0x117)]});const _0x4350e3=this[_0x4d4f57(0x110)][_0x4d4f57(0x116)][_0x4d4f57(0xea)](_0x4d4f57(0x130))||_0x332bed,_0x3028ef=await _0x4a4683[_0x4d4f57(0xed)](_0x252d39[_0x4d4f57(0xce)],_0x4350e3);this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x4d4f57(0x11f))[_0x4d4f57(0x107)]={'getRevision':async({revisionId:_0x4ce718})=>(await this[_0x4d4f57(0xd8)](),await this[_0x4d4f57(0x114)][_0x4d4f57(0xc0)](_0x4ce718)),'updateRevisions':async _0xdf08b4=>{const _0x4c4b57=_0x4d4f57;await this[_0x4c4b57(0xd8)]();const _0x351963=this[_0x4c4b57(0xde)][_0x4c4b57(0xd6)];if(_0x3028ef&&0x1===_0xdf08b4[_0x4c4b57(0xc9)]&&_0xdf08b4[0x0]['id']===_0x351963['id'])return _0xdf08b4;for(const _0x21c145 of _0xdf08b4)_0x21c145['id']===_0x351963['id']&&(_0x21c145[_0x4c4b57(0xdb)]=_0x21c145[_0x4c4b57(0xc2)]===_0x21c145[_0x4c4b57(0x125)]);return this[_0x4c4b57(0x114)][_0x4c4b57(0xdc)](_0xdf08b4,this[_0x4c4b57(0xc7)])[_0x4c4b57(0xf3)](_0x126d76=>(this[_0x4c4b57(0xc7)]=_0x126d76,_0xdf08b4))[_0x4c4b57(0xcf)](_0xc837d1=>{const _0x4dd616=_0x4c4b57;if(Z(_0xc837d1)||_0x4dd616(0xdf)===_0xc837d1[_0x4dd616(0x129)]&&void 0x0!==_0xc837d1[_0x4dd616(0xfe)][_0x4dd616(0x108)]){for(const _0x1186cf of _0xdf08b4){!this[_0x4dd616(0xde)][_0x4dd616(0xc6)][_0x4dd616(0xc0)](_0x1186cf['id'])||this[_0x4dd616(0xde)][_0x4dd616(0x105)](_0x1186cf['id'],_0x1186cf,!0x1);}if(Z(_0xc837d1))throw _0xc837d1;return _0xdf08b4;}throw _0xc837d1;});}},this[_0x4d4f57(0x11d)](this[_0x4d4f57(0x114)],_0x4d4f57(0xc5),(_0x15a6ef,{revisionsData:_0xdbb832,requestId:_0x4c222f})=>{const _0x412944=_0x4d4f57;Math[_0x412944(0xe1)](..._0xdbb832[_0x412944(0x112)](_0x1078ca=>_0x1078ca[_0x412944(0x125)]))>this[_0x412944(0xd4)]()-0x1?this[_0x412944(0x119)]()[_0x412944(0xf3)](()=>{const _0x4d59dd=_0x412944;this[_0x4d59dd(0xff)](_0xdbb832,_0x4c222f);}):this[_0x412944(0xff)](_0xdbb832,_0x4c222f);});const {revisions:_0x20d5b8,requestId:_0x3f9855}=await this[_0x4d4f57(0x114)][_0x4d4f57(0xe7)](_0x252d39[_0x4d4f57(0xce)]);_0x252d39[_0x4d4f57(0xd2)](this),this[_0x4d4f57(0xc7)]=_0x3f9855,await this[_0x4d4f57(0x122)](_0x20d5b8);for(const _0x1fae20 of _0x20d5b8)this[_0x4d4f57(0xde)][_0x4d4f57(0xfd)](_0x1fae20);this[_0x4d4f57(0x11d)](_0x44528b,_0x4d4f57(0x101),(_0x5398a8,_0x2b323b,_0x3edc48)=>{const _0x1690a6=_0x4d4f57;_0x3edc48&&(this[_0x1690a6(0x118)]=_0x44528b[_0x1690a6(0x124)],_0x5398a8[_0x1690a6(0x104)]());}),this[_0x4d4f57(0xde)][_0x4d4f57(0xf8)](_0x4d4f57(0x111))['to'](_0x252d39,_0x4d4f57(0xd5),_0x2a727e=>_0x2a727e===_0x363922[_0x4d4f57(0x10d)]);}async[_0x35966e(0xe2)](){const _0x184eed=_0x35966e,_0x403f63=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x5e189f),_0x3637b5=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x19d2fb),_0x51964e=async()=>{const _0x9b9d70=_0x184eed,_0x5d8dd=this[_0x9b9d70(0xde)][_0x9b9d70(0xd6)],_0x3dacd9=_0x5d8dd['id'],_0x3b0c98=_0x3dacd9!==_0x3637b5[_0x9b9d70(0x117)];if(_0x3b0c98){const _0x11b520=_0x3637b5[_0x9b9d70(0x124)]-this[_0x9b9d70(0x118)],_0x18fbdc=this[_0x9b9d70(0xd4)]();this[_0x9b9d70(0xde)][_0x9b9d70(0xdd)][_0x9b9d70(0x10a)]();if(_0x5d8dd[_0x9b9d70(0x125)]+_0x11b520!==_0x18fbdc){const _0x292b1d=_0x5d8dd[_0x9b9d70(0xc2)]+_0x11b520,_0x5abf1c=this[_0x9b9d70(0x110)][_0x9b9d70(0xf9)][_0x9b9d70(0xea)](_0x4baeef),_0x2c2203=this[_0x9b9d70(0xde)][_0x9b9d70(0x10c)]({'revision':_0x5d8dd,'from':_0x292b1d,'to':_0x18fbdc});_0x2c2203['id']=_0x5d8dd['id'];const _0x205aa2=_0x2c2203[_0x9b9d70(0x120)][_0x9b9d70(0x112)](_0x271a18=>_0x5abf1c[_0x9b9d70(0x127)](_0x271a18));_0x5d8dd[_0x9b9d70(0xd1)]({..._0x2c2203,'authors':_0x205aa2},!0x0),this[_0x9b9d70(0xde)][_0x9b9d70(0x105)](_0x5d8dd['id'],_0x2c2203,!0x0);}this[_0x9b9d70(0xde)][_0x9b9d70(0x11c)]=_0x18fbdc,(_0x5d8dd[_0x9b9d70(0x125)]===_0x5d8dd[_0x9b9d70(0xc2)]&&!this[_0x9b9d70(0xde)][_0x9b9d70(0xe6)][_0x9b9d70(0xcd)](_0x3dacd9)&&this[_0x9b9d70(0xde)][_0x9b9d70(0xc6)][_0x9b9d70(0x109)][_0x9b9d70(0x126)](_0x3dacd9),this[_0x9b9d70(0xde)][_0x9b9d70(0xe4)](_0x18fbdc));}const {revisions:_0x3f6b6c,requestId:_0x153c29}=await this[_0x9b9d70(0x114)][_0x9b9d70(0xe2)](_0x403f63[_0x9b9d70(0xce)],this[_0x9b9d70(0xc7)]);_0x3b0c98&&_0x3f6b6c[_0x9b9d70(0xc9)]>0x0?_0x3637b5[_0x9b9d70(0x12c)]():(await this[_0x9b9d70(0x122)](_0x3f6b6c),this[_0x9b9d70(0xff)](_0x3f6b6c,_0x153c29),this[_0x9b9d70(0xde)][_0x9b9d70(0x11e)]());};return _0x3637b5[_0x184eed(0xe5)]?_0x51964e():new Promise((_0x532284,_0x5af37a)=>{const _0x1feeaa=_0x184eed;_0x3637b5[_0x1feeaa(0x113)](_0x1feeaa(0x101),()=>{const _0x58411d=_0x1feeaa;_0x51964e()[_0x58411d(0xf3)](_0x532284)[_0x58411d(0xcf)](_0x5af37a);});});}[_0x35966e(0xc1)](){const _0xc9fdea=_0x35966e;super[_0xc9fdea(0xc1)]();}async[_0x35966e(0xd8)](){const _0x1ffb56=_0x35966e;this[_0x1ffb56(0x114)][_0x1ffb56(0xc3)]||await new Promise(_0x3934ff=>{const _0x1ef136=_0x1ffb56;this[_0x1ef136(0x11d)](this[_0x1ef136(0x114)],_0x1ef136(0xd9),_0x554851=>{const _0x21f1f8=_0x1ef136;_0x554851[_0x21f1f8(0x104)](),_0x3934ff();});});}[_0x35966e(0xd4)](){const _0x3c4c7f=_0x35966e,_0x56a6a0=this[_0x3c4c7f(0x110)][_0x3c4c7f(0xf9)][_0x3c4c7f(0xea)](_0x19d2fb)[_0x3c4c7f(0xbf)][_0x3c4c7f(0x121)]()[_0x3c4c7f(0x106)]();for(const _0x293134 of _0x56a6a0)if(_0x3c4c7f(0xe8)!==_0x293134[_0x3c4c7f(0xfb)]||_0x293134[_0x3c4c7f(0x12f)])return _0x293134[_0x3c4c7f(0x128)]+0x1;}[_0x35966e(0x119)](){const _0x3c6350=_0x35966e,_0x2babf9=this[_0x3c6350(0x110)][_0x3c6350(0xf9)][_0x3c6350(0xea)](_0x19d2fb);return new Promise(_0x5b2201=>{const _0x18d050=_0x3c6350;_0x2babf9[_0x18d050(0x12b)]?_0x2babf9[_0x18d050(0x113)](_0x18d050(0xee),()=>{const _0x46b1a7=_0x18d050;_0x5b2201(this[_0x46b1a7(0xd4)]());}):_0x5b2201(this[_0x18d050(0xd4)]());});}[_0x35966e(0xff)](_0x231e7f,_0x1dec14){const _0x490718=_0x35966e,_0x200790=this[_0x490718(0xde)][_0x490718(0xc6)];this[_0x490718(0xc7)]=_0x1dec14;for(const _0x182f76 of _0x231e7f){const _0xb1dc0a=_0x200790[_0x490718(0xc0)](_0x182f76['id']);if(_0xb1dc0a){if((_0x182f76[_0x490718(0xc2)]||_0x182f76[_0x490718(0x125)])&&(_0x182f76[_0x490718(0xf1)]=null),_0xb1dc0a===this[_0x490718(0xde)][_0x490718(0xd6)]){const _0x4afc8f=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0x125)],_0x182f76[_0x490718(0x125)]),_0x11148b=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0xc2)],_0x182f76[_0x490718(0xc2)]);let _0x3328f3;_0xb1dc0a[_0x490718(0x125)]===_0x182f76[_0x490718(0x125)]&&_0xb1dc0a[_0x490718(0xc2)]===_0x182f76[_0x490718(0xc2)]?(_0x3328f3=!0x0,this[_0x490718(0x11a)](_0x182f76)):_0x182f76[_0x490718(0x125)]===_0x4afc8f&&_0x182f76[_0x490718(0xc2)]===_0x11148b?_0x3328f3=!0x1:(_0xb1dc0a[_0x490718(0x125)]===_0x4afc8f&&_0xb1dc0a[_0x490718(0xc2)]===_0x11148b||this[_0x490718(0x12a)]({'revision':_0xb1dc0a,'from':_0x11148b,'to':_0x4afc8f}),_0x3328f3=!0x0),_0x3328f3&&(delete _0x182f76[_0x490718(0xc2)],delete _0x182f76[_0x490718(0x125)],delete _0x182f76[_0x490718(0xf1)],delete _0x182f76[_0x490718(0xeb)],delete _0x182f76[_0x490718(0x120)]);}this[_0x490718(0xde)][_0x490718(0xe3)](_0x182f76),this[_0x490718(0x11a)](_0x182f76);}else this[_0x490718(0xde)][_0x490718(0xfd)](_0x182f76);}const _0x4371a5=_0x200790[_0x490718(0xf4)]();_0x4371a5[_0x490718(0x106)]();for(let _0x711062=0x0;_0x711062<_0x4371a5[_0x490718(0xc9)]-0x1;_0x711062++){const _0xa5471a=_0x4371a5[_0x711062],_0x53f3c9=_0x4371a5[_0x711062+0x1];if(_0xa5471a[_0x490718(0xc2)]<_0x53f3c9[_0x490718(0x125)]){const _0x2abfbe=_0x53f3c9[_0x490718(0x125)],_0x1e0d6d=Math[_0x490718(0xe1)](_0x2abfbe,_0xa5471a[_0x490718(0x125)]);this[_0x490718(0x12a)]({'revision':_0xa5471a,'from':_0x2abfbe,'to':_0x1e0d6d});}}}[_0x35966e(0x12a)]({revision:_0x2b8a2c,from:_0x49dc15,to:_0x34f03a}={}){const _0x4130ef=_0x35966e,_0x1e819e=this[_0x4130ef(0x110)][_0x4130ef(0xf9)][_0x4130ef(0xea)](_0x4baeef),_0x3bd9da=this[_0x4130ef(0xde)][_0x4130ef(0x10c)]({'revision':_0x2b8a2c,'from':_0x49dc15,'to':_0x34f03a});_0x3bd9da[_0x4130ef(0x10e)]=_0x3bd9da[_0x4130ef(0x120)][_0x4130ef(0x112)](_0x1643c6=>_0x1e819e[_0x4130ef(0x127)](_0x1643c6)),_0x2b8a2c[_0x4130ef(0xd1)](_0x3bd9da);}[_0x35966e(0x11a)](_0x1a3834){const _0x4719cc=_0x35966e,_0x5e152a={};_0x5e152a['id']=_0x1a3834['id'];for(const _0x238d59 of Object[_0x4719cc(0x115)](_0x1a3834))'id'!==_0x238d59&&(_0x5e152a[_0x238d59]=void 0x0);this[_0x4719cc(0xde)][_0x4719cc(0x105)](_0x5e152a['id'],_0x5e152a,!0x0);}async[_0x35966e(0x122)](_0x77a1b3){const _0x138da3=_0x35966e,_0x177117=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x4baeef),{connection:_0x7870fa}=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x5e189f),_0x424653=new Set();for(const _0xb4495a of _0x77a1b3){for(const _0x37b61a of _0xb4495a[_0x138da3(0x120)])_0x337a4d(_0x37b61a);_0xb4495a[_0x138da3(0xd7)]&&_0x337a4d(_0xb4495a[_0x138da3(0xd7)]);}if(0x0===_0x424653[_0x138da3(0xcc)])return;const _0x1dde50=await _0x1933eb[_0x138da3(0xef)](_0x7870fa,Array[_0x138da3(0xc4)](_0x424653));for(const _0x12da4e of _0x1dde50)_0x177117[_0x138da3(0x127)](_0x12da4e['id'])||_0x177117[_0x138da3(0x123)](_0x12da4e);function _0x337a4d(_0x323755){const _0x289558=_0x138da3;_0x177117[_0x289558(0x127)](_0x323755)||_0x424653[_0x289558(0x131)](_0x323755);}}}function Z(_0x510308){const _0x5279ed=_0x35966e;return _0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xfc))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xe0))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xcb));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x399547=_0x2293;(function(_0x231cbe,_0x4e367c){var _0x3087d4=_0x2293,_0x19a7b8=_0x231cbe();while(!![]){try{var _0x389f15=-parseInt(_0x3087d4(0x77))/0x1*(-parseInt(_0x3087d4(0x85))/0x2)+parseInt(_0x3087d4(0x82))/0x3+parseInt(_0x3087d4(0x7b))/0x4*(-parseInt(_0x3087d4(0x7f))/0x5)+-parseInt(_0x3087d4(0x7d))/0x6+parseInt(_0x3087d4(0x84))/0x7*(-parseInt(_0x3087d4(0x81))/0x8)+parseInt(_0x3087d4(0x7e))/0x9*(-parseInt(_0x3087d4(0x78))/0xa)+parseInt(_0x3087d4(0x7c))/0xb*(parseInt(_0x3087d4(0x80))/0xc);if(_0x389f15===_0x4e367c)break;else _0x19a7b8['push'](_0x19a7b8['shift']());}catch(_0x5efa92){_0x19a7b8['push'](_0x19a7b8['shift']());}}}(_0x5df5,0x4e2bb));function _0x2293(_0x52a94c,_0x4cc1ec){var _0x5df58a=_0x5df5();return _0x2293=function(_0x229398,_0x360ec6){_0x229398=_0x229398-0x76;var _0x261b2c=_0x5df58a[_0x229398];return _0x261b2c;},_0x2293(_0x52a94c,_0x4cc1ec);}function _0x5df5(){var _0x28a8e5=['requires','RevisionHistory','4ElMSBE','317845QtVXbb','1878036PtvFMO','198XAupIy','1192535TlnBYO','408YkhCjm','1110392YnNoGg','1171884fFvNTw','isPremiumPlugin','7rZQuar','15434GlapeD','pluginName','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','35DceaYS','287570xibdlw'];_0x5df5=function(){return _0x28a8e5;};return _0x5df5();}import{Plugin as _0x395b1e}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2e78e0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x488652}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x395b1e{static get[_0x399547(0x79)](){var _0xb5b397=_0x399547;return[_0xb5b397(0x7a),_0x2e78e0,_0x488652];}static get[_0x399547(0x86)](){var _0x3aa7d1=_0x399547;return _0x3aa7d1(0x76);}static get[_0x399547(0x87)](){return!0x0;}static get[_0x399547(0x83)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x4d11(){const _0x107a59=['startsWith','3216hxQIpq','reconnect','isOfficialPlugin','hasSuggestion','getSuggestion','CloudServicesTrackChangesAdapter','delete','2080HCkLWq','_fetchMissingUsersForThreads','connected','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','110granDL','getMany','suggestionUpdated','from','addUser','catch','message','64264FPCIbV','set','_waitForServiceReady','63typKbp','233717MStKeY','off','size','data','getUser','then','collaboration.channelId','TrackChangesService','plugins','find','404055JsLYUW','requires','connect','update','adapter','302214tcDper','attributes','cloud-services-internal-error:\x20Not\x20connected.','editor','listenTo','get','init','isPremiumPlugin','open','addSuggestionData','136FXBTma','305508RVLxCX','values','config','add','originalSuggestionId','_trackChangesService','isConnected','state','1611CfJjqR','addToReconnectionStack','type','TrackChangesEditing','1034sKXYUq','connection','350xkhWdm','_bufferedRequests','_saved'];_0x4d11=function(){return _0x107a59;};return _0x4d11();}function _0x1257(_0x3a7f79,_0x584f9a){const _0x4d114b=_0x4d11();return _0x1257=function(_0x125736,_0x39ab55){_0x125736=_0x125736-0x159;let _0x277ed7=_0x4d114b[_0x125736];return _0x277ed7;},_0x1257(_0x3a7f79,_0x584f9a);}const _0x1bb9a4=_0x1257;(function(_0x160fd9,_0x5aae7a){const _0x43e53c=_0x1257,_0x3276cc=_0x160fd9();while(!![]){try{const _0xd9bc9a=parseInt(_0x43e53c(0x193))/0x1+parseInt(_0x43e53c(0x15c))/0x2*(parseInt(_0x43e53c(0x19b))/0x3)+-parseInt(_0x43e53c(0x175))/0x4*(-parseInt(_0x43e53c(0x16e))/0x5)+-parseInt(_0x43e53c(0x188))/0x6*(parseInt(_0x43e53c(0x178))/0x7)+-parseInt(_0x43e53c(0x192))/0x8*(parseInt(_0x43e53c(0x183))/0x9)+parseInt(_0x43e53c(0x15e))/0xa*(parseInt(_0x43e53c(0x179))/0xb)+-parseInt(_0x43e53c(0x162))/0xc*(parseInt(_0x43e53c(0x169))/0xd);if(_0xd9bc9a===_0x5aae7a)break;else _0x3276cc['push'](_0x3276cc['shift']());}catch(_0x1da156){_0x3276cc['push'](_0x3276cc['shift']());}}}(_0x4d11,0x66bd2));import{Plugin as _0x2d4d2c}from'ckeditor5/src/core.js';import{User as _0x5df011,TrackChangesService as _0x37e6eb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x14a365}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x433194}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x12026a}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x2d4d2c{static [_0x1bb9a4(0x180)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x37e6eb)());[_0x1bb9a4(0x15f)];[_0x1bb9a4(0x198)];static get[_0x1bb9a4(0x184)](){const _0x465eec=_0x1bb9a4;return[_0x433194,_0x465eec(0x15b),_0x14a365];}static get[_0x1bb9a4(0x16d)](){const _0x26b9b3=_0x1bb9a4;return _0x26b9b3(0x167);}static get[_0x1bb9a4(0x164)](){return!0x0;}static get[_0x1bb9a4(0x18f)](){return!0x0;}constructor(_0x2f4f2f){const _0x10ef2e=_0x1bb9a4;super(_0x2f4f2f);const _0x6b507b=this[_0x10ef2e(0x18b)][_0x10ef2e(0x195)][_0x10ef2e(0x18d)](_0x10ef2e(0x17f));this[_0x10ef2e(0x15f)]=new Map(),this[_0x10ef2e(0x198)]=new CloudServicesTrackChangesAdapter[(_0x10ef2e(0x180))](_0x6b507b);}[_0x1bb9a4(0x18e)](){const _0x35e02f=_0x1bb9a4,_0x558614=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x14a365),_0xfd41fd=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x35e02f(0x15b));return _0xfd41fd[_0x35e02f(0x187)]={'getSuggestion':async _0x562ef5=>{const _0x1cb1ee=_0x35e02f;await this[_0x1cb1ee(0x177)]();const _0xd92382=await this[_0x1cb1ee(0x198)][_0x1cb1ee(0x18d)](_0x562ef5)[_0x1cb1ee(0x173)](et);return await this[_0x1cb1ee(0x16a)]([_0xd92382]),_0xd92382;},'addSuggestion':async({id:_0x36aab5,type:_0x2c55e4,data:_0x50ed2e,originalSuggestionId:_0x7e29fd,attributes:_0x42a8de})=>{const _0x44aa13=_0x35e02f;await this[_0x44aa13(0x177)]();const _0x164f30={'id':_0x36aab5,'type':_0x2c55e4,'data':_0x50ed2e,'originalSuggestionId':_0x7e29fd,'attributes':_0x42a8de},_0x1f59e8=await this[_0x44aa13(0x198)][_0x44aa13(0x196)](_0x36aab5,_0x2c55e4,_0x50ed2e,_0x7e29fd,_0x42a8de)[_0x44aa13(0x173)](_0x392f39=>{if(Z(_0x392f39))return new Promise(_0x1ce9e2=>{const _0x27ea00=_0x1257;this[_0x27ea00(0x15f)][_0x27ea00(0x176)](_0x36aab5,{'resolve':_0x1ce9e2,'suggestionData':_0x164f30});});throw _0x392f39;});return this[_0x44aa13(0x15f)][_0x44aa13(0x168)](_0x36aab5),_0x1f59e8;},'updateSuggestion':async(_0x1b6ca2,_0xe2c592)=>{const _0xcb6a8f=_0x35e02f;if(await this[_0xcb6a8f(0x177)](),_0xcb6a8f(0x190)!==_0xe2c592[_0xcb6a8f(0x19a)])return this[_0xcb6a8f(0x198)][_0xcb6a8f(0x186)](_0x1b6ca2,_0xe2c592)[_0xcb6a8f(0x173)](et);}},this[_0x35e02f(0x18c)](this[_0x35e02f(0x198)],_0x35e02f(0x170),(_0x3a7ad2,_0xe0f7d7)=>{const _0x157f5b=_0x35e02f;_0xfd41fd[_0x157f5b(0x165)](_0xe0f7d7['id'])&&(_0xfd41fd[_0x157f5b(0x166)](_0xe0f7d7['id'])[_0x157f5b(0x189)]=_0xe0f7d7[_0x157f5b(0x189)]);}),this[_0x35e02f(0x198)][_0x35e02f(0x185)](_0x558614[_0x35e02f(0x15d)])[_0x35e02f(0x17e)](_0x564c62=>(_0x558614[_0x35e02f(0x159)](this),this[_0x35e02f(0x16a)](_0x564c62)[_0x35e02f(0x17e)](()=>{const _0x4a59d5=_0x35e02f;for(const _0x1ca559 of _0x564c62){_0xfd41fd[_0x4a59d5(0x191)](_0x1ca559)[_0x4a59d5(0x160)]=!0x0;}})));}async[_0x1bb9a4(0x163)](){const _0x747c18=_0x1bb9a4,_0x5ad9e6=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x747c18(0x15b)),{connection:_0x387985}=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x14a365),_0x43438d=await this[_0x747c18(0x198)][_0x747c18(0x185)](_0x387985);await this[_0x747c18(0x16a)](_0x43438d);for(const {suggestionData:_0x2eb212,resolve:_0x3c2d7d}of this[_0x747c18(0x15f)][_0x747c18(0x194)]()){let _0x482dbd=_0x43438d[_0x747c18(0x182)](_0x448d5a=>_0x448d5a['id']===_0x2eb212['id']);_0x482dbd||(_0x482dbd=await this[_0x747c18(0x198)][_0x747c18(0x196)](_0x2eb212['id'],_0x2eb212[_0x747c18(0x15a)],_0x2eb212[_0x747c18(0x17c)],_0x2eb212[_0x747c18(0x197)])),_0x3c2d7d(_0x482dbd);}for(const _0x175bf6 of _0x43438d)_0x5ad9e6[_0x747c18(0x165)](_0x175bf6['id'])||_0x5ad9e6[_0x747c18(0x191)](_0x175bf6);}async[_0x1bb9a4(0x177)](){const _0x35deb2=_0x1bb9a4;this[_0x35deb2(0x198)][_0x35deb2(0x199)]||await new Promise(_0x5528a1=>{const _0x8b7c8b=_0x35deb2;this[_0x8b7c8b(0x18c)](this[_0x8b7c8b(0x198)],_0x8b7c8b(0x16b),_0x8f0f=>{const _0x4ffaba=_0x8b7c8b;_0x8f0f[_0x4ffaba(0x17a)](),_0x5528a1();});});}async[_0x1bb9a4(0x16a)](_0x98e317){const _0x2a260a=_0x1bb9a4,_0xb906cc=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x12026a),{connection:_0x5bee5d}=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x14a365),_0x3ee0cd=new Set();for(const {authorId:_0xf592a7}of _0x98e317)_0xb906cc[_0x2a260a(0x17d)](_0xf592a7)||_0x3ee0cd[_0x2a260a(0x196)](_0xf592a7);if(0x0===_0x3ee0cd[_0x2a260a(0x17b)])return;const _0x1a8d1b=await _0x5df011[_0x2a260a(0x16f)](_0x5bee5d,Array[_0x2a260a(0x171)](_0x3ee0cd));for(const _0x228c1d of _0x1a8d1b)_0xb906cc[_0x2a260a(0x17d)](_0x228c1d['id'])||_0xb906cc[_0x2a260a(0x172)](_0x228c1d);}}function et(_0x2ede32){if(Z(_0x2ede32))return new Promise(()=>{});throw _0x2ede32;}function Z(_0x4c8c3a){const _0x5552a2=_0x1bb9a4;return _0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x18a))||_0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x16c));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x169836=_0x27fb;(function(_0x449f03,_0x90b421){var _0x4e91e7=_0x27fb,_0x12ba17=_0x449f03();while(!![]){try{var _0x29331f=-parseInt(_0x4e91e7(0x72))/0x1*(-parseInt(_0x4e91e7(0x67))/0x2)+-parseInt(_0x4e91e7(0x75))/0x3*(parseInt(_0x4e91e7(0x6c))/0x4)+parseInt(_0x4e91e7(0x6a))/0x5+-parseInt(_0x4e91e7(0x6b))/0x6+parseInt(_0x4e91e7(0x6d))/0x7*(parseInt(_0x4e91e7(0x70))/0x8)+parseInt(_0x4e91e7(0x66))/0x9+parseInt(_0x4e91e7(0x74))/0xa;if(_0x29331f===_0x90b421)break;else _0x12ba17['push'](_0x12ba17['shift']());}catch(_0x2e9c74){_0x12ba17['push'](_0x12ba17['shift']());}}}(_0xda25,0x342bf));import{Plugin as _0x3c9de0}from'ckeditor5/src/core.js';function _0x27fb(_0x1fdeee,_0x56ead2){var _0xda25cb=_0xda25();return _0x27fb=function(_0x27fb95,_0x47c5b8){_0x27fb95=_0x27fb95-0x66;var _0x51c2b1=_0xda25cb[_0x27fb95];return _0x51c2b1;},_0x27fb(_0x1fdeee,_0x56ead2);}function _0xda25(){var _0x4ba147=['1PvbspX','isOfficialPlugin','1279280mhWiDl','3450hiulpH','814851pLIvQC','758462jflXfc','RealTimeCollaborativeTrackChanges','isPremiumPlugin','53390XPCCRX','2434776vsRmIt','388ApXrDZ','858655XXhRxW','TrackChanges','pluginName','8pkXZyq','requires'];_0xda25=function(){return _0x4ba147;};return _0xda25();}import{CloudServicesTrackChangesAdapter as _0x2cf5cd}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x124360}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3c9de0{static get[_0x169836(0x71)](){var _0x2ea416=_0x169836;return[_0x124360,_0x2cf5cd,_0x2ea416(0x6e)];}static get[_0x169836(0x6f)](){var _0x437f99=_0x169836;return _0x437f99(0x68);}static get[_0x169836(0x73)](){return!0x0;}static get[_0x169836(0x69)](){return!0x0;}}
|