@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.2 → 47.0.0-alpha.4
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
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x1763bb=_0x5028;function _0x3654(){const _0x3962fa=['DISCONNECTED','_reconnect','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.','change:me','define','state','CONNECTING','disconnect','877568dOKGuj','websocketgateway-missing-websocket-url','CloudServices','141bqWGem','327468bZmESQ','isInReconnectionStack','destroy','delete','get','isOfficialPlugin','50JcXSLX','from','148761FfKLgv','config','cloudservices-init','WebSocketGateway','54DEBdAB','listenTo','_shouldPluginsReconnect','online','isPremiumPlugin','websocketgateway-invalid-plugin-interface','set','all','_isBrowserOffline','cloudServices.connectionTimeout','bind','real-time-collaboration','addToReconnectionStack','stopListening','673104zASJgc','webSocketUrl','showWarning','token','connect','has','Connected\x20users\x20limit\x20exceeded','requires','_reconnectionStack','removeFromReconnectionStack','error','CONNECTED','limitExceeded','init','context','pluginName','code','initialReconnectionInterval','22oEoVel','catch','plugins','connection','7LUTTty','websocketgateway-plugin-already-registered','4764536qYcNyN','then','cloudServices.requestTimeout','add','_domEmitter','10180QDgIyz','offline','cloudservices-reconnection-error','websocketgateway-missing-token','reconnect','function','79155dMIElB','constructor','connected'];_0x3654=function(){return _0x3962fa;};return _0x3654();}(function(_0x58b1cd,_0xfd1a78){const _0x439ca1=_0x5028,_0x30dc20=_0x58b1cd();while(!![]){try{const _0x2a4877=parseInt(_0x439ca1(0x173))/0x1+-parseInt(_0x439ca1(0x16f))/0x2+parseInt(_0x439ca1(0x172))/0x3*(parseInt(_0x439ca1(0x1aa))/0x4)+parseInt(_0x439ca1(0x1b0))/0x5*(-parseInt(_0x439ca1(0x17f))/0x6)+parseInt(_0x439ca1(0x1a3))/0x7*(parseInt(_0x439ca1(0x1a5))/0x8)+-parseInt(_0x439ca1(0x17b))/0x9*(-parseInt(_0x439ca1(0x179))/0xa)+-parseInt(_0x439ca1(0x19f))/0xb*(parseInt(_0x439ca1(0x18d))/0xc);if(_0x2a4877===_0xfd1a78)break;else _0x30dc20['push'](_0x30dc20['shift']());}catch(_0xbf53b0){_0x30dc20['push'](_0x30dc20['shift']());}}}(_0x3654,0x696e8));function _0x5028(_0x585414,_0x559853){const _0x365480=_0x3654();return _0x5028=function(_0x50285d,_0x139f85){_0x50285d=_0x50285d-0x16b;let _0x5adfeb=_0x365480[_0x50285d];return _0x5adfeb;},_0x5028(_0x585414,_0x559853);}import{ContextPlugin as _0x7ed3c}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2ab19b,CKEditorError as _0x158944}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4af9b2,WEB_SOCKET_GATEWAY_STATES as _0x47f58c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1dc20d}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x7ed3c{static [_0x1763bb(0x17e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4af9b2)());static [_0x1763bb(0x19e)]=0x3e8;[_0x1763bb(0x1a2)];[_0x1763bb(0x195)];[_0x1763bb(0x181)];[_0x1763bb(0x1a9)];static get[_0x1763bb(0x194)](){const _0x184597=_0x1763bb;return[_0x184597(0x171),_0x1dc20d];}static get[_0x1763bb(0x19c)](){const _0x1bff58=_0x1763bb;return _0x1bff58(0x17e);}static get[_0x1763bb(0x178)](){return!0x0;}static get[_0x1763bb(0x183)](){return!0x0;}constructor(_0x16b260){const _0x4353a4=_0x1763bb;super(_0x16b260),this[_0x4353a4(0x185)](_0x4353a4(0x16c),_0x47f58c[_0x4353a4(0x198)]),this[_0x4353a4(0x185)](_0x4353a4(0x187),!0x1),this[_0x4353a4(0x195)]=new Set(),this[_0x4353a4(0x181)]=!0x1,this[_0x4353a4(0x1a9)]=new(_0x2ab19b())();}[_0x1763bb(0x19a)](){const _0x300283=_0x1763bb,_0x272856=this[_0x300283(0x19b)],_0x9613e3=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x300283(0x171)),_0x3b1253=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x1dc20d);if(!_0x9613e3[_0x300283(0x190)])throw new _0x158944(_0x300283(0x1ad),this);if(!_0x9613e3[_0x300283(0x18e)])throw new _0x158944(_0x300283(0x170),this);return this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x1ab),()=>this[_0x300283(0x187)]=!0x0),this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x182),()=>this[_0x300283(0x187)]=!0x1),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x188),0xa),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x1a7),0x14),WebSocketGateway[_0x300283(0x17e)][_0x300283(0x191)](_0x9613e3[_0x300283(0x190)],_0x9613e3[_0x300283(0x18e)],{'timeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x188)),'requestTimeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x1a7))})[_0x300283(0x1a6)](_0x1f738e=>{const _0xa8746e=_0x300283;if(this[_0xa8746e(0x1a2)]=_0x1f738e,this[_0xa8746e(0x189)](_0xa8746e(0x16c))['to'](_0x1f738e,_0xa8746e(0x16c),this,_0xa8746e(0x187),(_0x3c51ba,_0x15dbf5)=>(_0xa8746e(0x1b2)!==_0x3c51ba&&(this[_0xa8746e(0x181)]=!0x0),_0x15dbf5||_0x3c51ba!==_0x47f58c[_0xa8746e(0x198)]?_0x47f58c[_0xa8746e(0x1b3)]:this[_0xa8746e(0x16c)]==_0x47f58c[_0xa8746e(0x1b3)]&&this[_0xa8746e(0x181)]?(this[_0xa8746e(0x181)]=!0x1,this[_0xa8746e(0x1b4)](),_0x47f58c[_0xa8746e(0x16d)]):_0x47f58c[_0xa8746e(0x198)])),this[_0xa8746e(0x1a2)]['on'](_0xa8746e(0x197),(_0x1aa77f,_0x493a72)=>{const _0x47fded=_0xa8746e;if(_0x47fded(0x199)!==_0x493a72[_0x47fded(0x19d)])throw console[_0x47fded(0x197)](_0x493a72),new _0x158944(_0x47fded(0x17d),null,{'originalError':_0x493a72});_0x3b1253[_0x47fded(0x18f)](_0x47fded(0x1b5),{'title':_0x47fded(0x193),'namespace':_0x47fded(0x18a)});}),!_0x1f738e['me'])return new Promise(_0x39de9a=>_0x1f738e['on'](_0xa8746e(0x1b6),_0x39de9a));})[_0x300283(0x1a0)](_0x56d2c4=>{const _0x1da2c6=_0x300283;throw console[_0x1da2c6(0x197)](_0x56d2c4),new _0x158944(_0x1da2c6(0x17d),null,{'originalError':_0x56d2c4});});}[_0x1763bb(0x18b)](_0x18e03c){const _0x2fe363=_0x1763bb;if(_0x2fe363(0x1af)!=typeof _0x18e03c[_0x2fe363(0x1ae)])throw new _0x158944(_0x2fe363(0x184),this);if(this[_0x2fe363(0x174)](_0x18e03c))throw new _0x158944(_0x2fe363(0x1a4),this,{'name':_0x18e03c[_0x2fe363(0x1b1)][_0x2fe363(0x19c)]});this[_0x2fe363(0x195)][_0x2fe363(0x1a8)](_0x18e03c);}[_0x1763bb(0x196)](_0x2f7b42){const _0x465ae6=_0x1763bb;this[_0x465ae6(0x195)][_0x465ae6(0x176)](_0x2f7b42);}[_0x1763bb(0x174)](_0x4e0e4d){const _0x302b65=_0x1763bb;return this[_0x302b65(0x195)][_0x302b65(0x192)](_0x4e0e4d);}[_0x1763bb(0x1b4)](){const _0x1a8113=_0x1763bb;return this[_0x1a8113(0x1a2)][_0x1a8113(0x1ae)]()[_0x1a8113(0x1a6)](()=>Promise[_0x1a8113(0x186)](Array[_0x1a8113(0x17a)](this[_0x1a8113(0x195)],_0x58f278=>_0x58f278[_0x1a8113(0x1ae)]())))[_0x1a8113(0x1a6)](()=>this[_0x1a8113(0x16c)]=_0x47f58c[_0x1a8113(0x198)])[_0x1a8113(0x1a0)](_0x4e80bd=>{const _0x5205a5=_0x1a8113;throw console[_0x5205a5(0x197)](_0x4e80bd),new _0x158944(_0x5205a5(0x1ac),this[_0x5205a5(0x19b)]);});}[_0x1763bb(0x16e)](){const _0x4937b5=_0x1763bb;this[_0x4937b5(0x1a2)]&&this[_0x4937b5(0x1a2)][_0x4937b5(0x16e)](),this[_0x4937b5(0x16c)]=_0x47f58c[_0x4937b5(0x1b3)],this[_0x4937b5(0x1a9)][_0x4937b5(0x18c)]();}[_0x1763bb(0x175)](){const _0x3cfcf2=_0x1763bb;this[_0x3cfcf2(0x16e)](),super[_0x3cfcf2(0x175)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4279f6=_0x44ec;(function(_0x2637a8,_0x58e7b1){var _0x3731ef=_0x44ec,_0xf7ae80=_0x2637a8();while(!![]){try{var _0x49197f=-parseInt(_0x3731ef(0x1f3))/0x1+-parseInt(_0x3731ef(0x1f5))/0x2*(parseInt(_0x3731ef(0x1ef))/0x3)+parseInt(_0x3731ef(0x1f0))/0x4*(parseInt(_0x3731ef(0x1f9))/0x5)+parseInt(_0x3731ef(0x1f1))/0x6+-parseInt(_0x3731ef(0x1ea))/0x7+parseInt(_0x3731ef(0x1f2))/0x8*(-parseInt(_0x3731ef(0x1ed))/0x9)+-parseInt(_0x3731ef(0x1ec))/0xa*(-parseInt(_0x3731ef(0x1f4))/0xb);if(_0x49197f===_0x58e7b1)break;else _0xf7ae80['push'](_0xf7ae80['shift']());}catch(_0x1b4b2a){_0xf7ae80['push'](_0xf7ae80['shift']());}}}(_0x2f4e,0xeedc3));function _0x44ec(_0x954cfb,_0x3b2d97){var _0x2f4edf=_0x2f4e();return _0x44ec=function(_0x44ec5e,_0x201618){_0x44ec5e=_0x44ec5e-0x1ea;var _0xc5d25=_0x2f4edf[_0x44ec5e];return _0xc5d25;},_0x44ec(_0x954cfb,_0x3b2d97);}import{Plugin as _0x107123}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1b548f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x107123{static get[_0x4279f6(0x1f6)](){return[_0x1b548f];}static get[_0x4279f6(0x1ee)](){var _0x1ad08c=_0x4279f6;return _0x1ad08c(0x1f7);}static get[_0x4279f6(0x1eb)](){return!0x0;}static get[_0x4279f6(0x1f8)](){return!0x0;}}function _0x2f4e(){var _0x41065f=['8omQQgM','1356913duSTww','22Mmzydu','6AkDMGz','requires','RealTimeCollaborativeEditing','isPremiumPlugin','10bWVIsD','1348130OTDGRj','isOfficialPlugin','9395210EhFhCJ','11010033iyBvVd','pluginName','979911RywyRG','3552764gtszgp','6454188YTkrHb'];_0x2f4e=function(){return _0x41065f;};return _0x2f4e();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x2ea735)());[_0x1780fe(0xcb)];[_0x1780fe(0x8a)];[_0x1780fe(0xab)];[_0x1780fe(0xa1)];static get[_0x1780fe(0x93)](){const _0x319dc8=_0x1780fe;return[_0x2a2a6c,_0x4208c2,_0x319dc8(0xe8),_0x11fcb7,_0x42d485];}static get[_0x1780fe(0xf0)](){const _0x477745=_0x1780fe;return _0x477745(0xd5);}static get[_0x1780fe(0xa9)](){return!0x0;}static get[_0x1780fe(0xce)](){return!0x0;}constructor(_0xf19c65){const _0x38adb2=_0x1780fe;super(_0xf19c65);const _0x225e6a=this[_0x38adb2(0x9a)][_0x38adb2(0xae)][_0x38adb2(0xf2)](_0x38adb2(0xdd));this[_0x38adb2(0xcb)]=null,this[_0x38adb2(0x8a)]=this[_0x38adb2(0x9a)][_0x38adb2(0xed)][_0x38adb2(0xf2)](_0x38adb2(0xc8)),this[_0x38adb2(0xab)]=new CloudServicesRevisionHistoryAdapter[(_0x38adb2(0xeb))](_0x225e6a);}async[_0x1780fe(0xee)](){const _0x5ca7fb=_0x1780fe,_0xbec871=this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xed)][_0x5ca7fb(0xf2)](_0x4208c2),_0x514f2b=_0xbec871[_0x5ca7fb(0xac)],_0x4bc97d=this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xed)][_0x5ca7fb(0xf2)](_0x2a2a6c);this[_0x5ca7fb(0x8a)][_0x5ca7fb(0xf4)]({'history':_0x514f2b,'getLatestVersion':()=>this[_0x5ca7fb(0xe6)](),'getCurrentRevisionId':()=>_0xbec871[_0x5ca7fb(0xa8)]});const _0x419f6b=this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xae)][_0x5ca7fb(0xf2)](_0x5ca7fb(0xd4))||_0x277843,_0x2c599a=await _0x14b1a1[_0x5ca7fb(0xdf)](_0x4bc97d[_0x5ca7fb(0xb2)],_0x419f6b);this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xed)][_0x5ca7fb(0xf2)](_0x5ca7fb(0xe8))[_0x5ca7fb(0x96)]={'getRevision':async({revisionId:_0x311798})=>(await this[_0x5ca7fb(0x89)](),await this[_0x5ca7fb(0xab)][_0x5ca7fb(0x92)](_0x311798)),'updateRevisions':async _0x111fbf=>{const _0x164804=_0x5ca7fb;await this[_0x164804(0x89)]();const _0x4c61f8=this[_0x164804(0x8a)][_0x164804(0xad)];if(_0x2c599a&&0x1===_0x111fbf[_0x164804(0xe2)]&&_0x111fbf[0x0]['id']===_0x4c61f8['id'])return _0x111fbf;for(const _0x416223 of _0x111fbf)_0x416223['id']===_0x4c61f8['id']&&(_0x416223[_0x164804(0xaa)]=_0x416223[_0x164804(0x8b)]===_0x416223[_0x164804(0xbf)]);return this[_0x164804(0xab)][_0x164804(0xbb)](_0x111fbf,this[_0x164804(0xcb)])[_0x164804(0x8e)](_0x4c1a47=>(this[_0x164804(0xcb)]=_0x4c1a47,_0x111fbf))[_0x164804(0xe0)](_0x4514d7=>{const _0x1a32ce=_0x164804;if(st(_0x4514d7)||_0x1a32ce(0xdb)===_0x4514d7[_0x1a32ce(0xc5)]&&void 0x0!==_0x4514d7[_0x1a32ce(0xd0)][_0x1a32ce(0xbe)]){for(const _0xef34b3 of _0x111fbf){!this[_0x1a32ce(0x8a)][_0x1a32ce(0xbd)][_0x1a32ce(0x92)](_0xef34b3['id'])||this[_0x1a32ce(0x8a)][_0x1a32ce(0xf7)](_0xef34b3['id'],_0xef34b3,!0x1);}if(st(_0x4514d7))throw _0x4514d7;return _0x111fbf;}throw _0x4514d7;});}},this[_0x5ca7fb(0x97)](this[_0x5ca7fb(0xab)],_0x5ca7fb(0xd3),(_0x274011,{revisionsData:_0x1ee492,requestId:_0x35021f})=>{const _0x49bbf9=_0x5ca7fb;Math[_0x49bbf9(0x9f)](..._0x1ee492[_0x49bbf9(0xc1)](_0xbf19e4=>_0xbf19e4[_0x49bbf9(0xbf)]))>this[_0x49bbf9(0xb5)]()-0x1?this[_0x49bbf9(0xe6)]()[_0x49bbf9(0x8e)](()=>{const _0x37eb5a=_0x49bbf9;this[_0x37eb5a(0x8c)](_0x1ee492,_0x35021f);}):this[_0x49bbf9(0x8c)](_0x1ee492,_0x35021f);});const {revisions:_0x2a12c2,requestId:_0x4f9885}=await this[_0x5ca7fb(0xab)][_0x5ca7fb(0xb0)](_0x4bc97d[_0x5ca7fb(0xb2)]);_0x4bc97d[_0x5ca7fb(0xec)](this),this[_0x5ca7fb(0xcb)]=_0x4f9885,await this[_0x5ca7fb(0xea)](_0x2a12c2);for(const _0x5c28b4 of _0x2a12c2)this[_0x5ca7fb(0x8a)][_0x5ca7fb(0x8d)](_0x5c28b4);this[_0x5ca7fb(0x97)](_0xbec871,_0x5ca7fb(0xe7),(_0x5dfbff,_0x5a3121,_0x172cd2)=>{const _0x4a61eb=_0x5ca7fb;_0x172cd2&&(this[_0x4a61eb(0xa1)]=_0xbec871[_0x4a61eb(0xf8)],_0x5dfbff[_0x4a61eb(0xa2)]());}),this[_0x5ca7fb(0x8a)][_0x5ca7fb(0xe4)](_0x5ca7fb(0xfb))['to'](_0x4bc97d,_0x5ca7fb(0xe9),_0x4ff495=>_0x4ff495===_0x4bdec4[_0x5ca7fb(0xc0)]);}async[_0x1780fe(0xf9)](){const _0xd1af36=_0x1780fe,_0x29a869=this[_0xd1af36(0x9a)][_0xd1af36(0xed)][_0xd1af36(0xf2)](_0x2a2a6c),_0x10991f=this[_0xd1af36(0x9a)][_0xd1af36(0xed)][_0xd1af36(0xf2)](_0x4208c2),_0x38d3c2=async()=>{const _0x3188cf=_0xd1af36,_0x30980f=this[_0x3188cf(0x8a)][_0x3188cf(0xad)],_0x366eac=_0x30980f['id'],_0x4a5cd3=_0x366eac!==_0x10991f[_0x3188cf(0xa8)];if(_0x4a5cd3){const _0x1c1ac2=_0x10991f[_0x3188cf(0xf8)]-this[_0x3188cf(0xa1)],_0x3a1695=this[_0x3188cf(0xb5)]();this[_0x3188cf(0x8a)][_0x3188cf(0x8f)][_0x3188cf(0xd1)]();if(_0x30980f[_0x3188cf(0xbf)]+_0x1c1ac2!==_0x3a1695){const _0x21aa44=_0x30980f[_0x3188cf(0x8b)]+_0x1c1ac2,_0x33cb9f=this[_0x3188cf(0x9a)][_0x3188cf(0xed)][_0x3188cf(0xf2)](_0x42d485),_0x51f9ec=this[_0x3188cf(0x8a)][_0x3188cf(0xd7)]({'revision':_0x30980f,'from':_0x21aa44,'to':_0x3a1695});_0x51f9ec['id']=_0x30980f['id'];const _0x95362d=_0x51f9ec[_0x3188cf(0xd9)][_0x3188cf(0xc1)](_0x359978=>_0x33cb9f[_0x3188cf(0xb9)](_0x359978));_0x30980f[_0x3188cf(0xb3)]({..._0x51f9ec,'authors':_0x95362d},!0x0),this[_0x3188cf(0x8a)][_0x3188cf(0xf7)](_0x30980f['id'],_0x51f9ec,!0x0);}this[_0x3188cf(0x8a)][_0x3188cf(0xb8)]=_0x3a1695,(_0x30980f[_0x3188cf(0xbf)]===_0x30980f[_0x3188cf(0x8b)]&&!this[_0x3188cf(0x8a)][_0x3188cf(0xb4)][_0x3188cf(0xf3)](_0x366eac)&&this[_0x3188cf(0x8a)][_0x3188cf(0xbd)][_0x3188cf(0x90)][_0x3188cf(0xcf)](_0x366eac),this[_0x3188cf(0x8a)][_0x3188cf(0xd6)](_0x3a1695));}const {revisions:_0x1bf26e,requestId:_0xf17d6}=await this[_0x3188cf(0xab)][_0x3188cf(0xf9)](_0x29a869[_0x3188cf(0xb2)],this[_0x3188cf(0xcb)]);_0x4a5cd3&&_0x1bf26e[_0x3188cf(0xe2)]>0x0?_0x10991f[_0x3188cf(0x99)]():(await this[_0x3188cf(0xea)](_0x1bf26e),this[_0x3188cf(0x8c)](_0x1bf26e,_0xf17d6),this[_0x3188cf(0x8a)][_0x3188cf(0xef)]());};return _0x10991f[_0xd1af36(0x91)]?_0x38d3c2():new Promise((_0x1988d7,_0x3cec0f)=>{const _0x512a56=_0xd1af36;_0x10991f[_0x512a56(0xf5)](_0x512a56(0xe7),()=>{const _0x2acd0c=_0x512a56;_0x38d3c2()[_0x2acd0c(0x8e)](_0x1988d7)[_0x2acd0c(0xe0)](_0x3cec0f);});});}[_0x1780fe(0xa0)](){const _0x532eb3=_0x1780fe;super[_0x532eb3(0xa0)]();}async[_0x1780fe(0x89)](){const _0x2182ba=_0x1780fe;this[_0x2182ba(0xab)][_0x2182ba(0x95)]||await new Promise(_0x4966f5=>{const _0x429e11=_0x2182ba;this[_0x429e11(0x97)](this[_0x429e11(0xab)],_0x429e11(0xc7),_0x5af2d2=>{const _0x19a3a1=_0x429e11;_0x5af2d2[_0x19a3a1(0xa2)](),_0x4966f5();});});}[_0x1780fe(0xb5)](){const _0x33af4d=_0x1780fe,_0x1cc199=this[_0x33af4d(0x9a)][_0x33af4d(0xed)][_0x33af4d(0xf2)](_0x4208c2)[_0x33af4d(0xac)][_0x33af4d(0xc2)]()[_0x33af4d(0xb7)]();for(const _0x562194 of _0x1cc199)if(_0x33af4d(0xe1)!==_0x562194[_0x33af4d(0xf6)]||_0x562194[_0x33af4d(0xc3)])return _0x562194[_0x33af4d(0xa3)]+0x1;}[_0x1780fe(0xe6)](){const _0x48bfb7=_0x1780fe,_0x532a3b=this[_0x48bfb7(0x9a)][_0x48bfb7(0xed)][_0x48bfb7(0xf2)](_0x4208c2);return new Promise(_0x437f52=>{const _0x2aef62=_0x48bfb7;_0x532a3b[_0x2aef62(0xdc)]?_0x532a3b[_0x2aef62(0xf5)](_0x2aef62(0xcc),()=>{const _0x53a8cf=_0x2aef62;_0x437f52(this[_0x53a8cf(0xb5)]());}):_0x437f52(this[_0x2aef62(0xb5)]());});}[_0x1780fe(0x8c)](_0x5cf36c,_0x118323){const _0x2019e9=_0x1780fe,_0x386462=this[_0x2019e9(0x8a)][_0x2019e9(0xbd)];this[_0x2019e9(0xcb)]=_0x118323;for(const _0x56158c of _0x5cf36c){const _0x398d99=_0x386462[_0x2019e9(0x92)](_0x56158c['id']);if(_0x398d99){if((_0x56158c[_0x2019e9(0x8b)]||_0x56158c[_0x2019e9(0xbf)])&&(_0x56158c[_0x2019e9(0x9c)]=null),_0x398d99===this[_0x2019e9(0x8a)][_0x2019e9(0xad)]){const _0x49033e=Math[_0x2019e9(0x9f)](_0x398d99[_0x2019e9(0xbf)],_0x56158c[_0x2019e9(0xbf)]),_0x1e0b84=Math[_0x2019e9(0x9f)](_0x398d99[_0x2019e9(0x8b)],_0x56158c[_0x2019e9(0x8b)]);let _0x599850;_0x398d99[_0x2019e9(0xbf)]===_0x56158c[_0x2019e9(0xbf)]&&_0x398d99[_0x2019e9(0x8b)]===_0x56158c[_0x2019e9(0x8b)]?(_0x599850=!0x0,this[_0x2019e9(0xc6)](_0x56158c)):_0x56158c[_0x2019e9(0xbf)]===_0x49033e&&_0x56158c[_0x2019e9(0x8b)]===_0x1e0b84?_0x599850=!0x1:(_0x398d99[_0x2019e9(0xbf)]===_0x49033e&&_0x398d99[_0x2019e9(0x8b)]===_0x1e0b84||this[_0x2019e9(0xda)]({'revision':_0x398d99,'from':_0x1e0b84,'to':_0x49033e}),_0x599850=!0x0),_0x599850&&(delete _0x56158c[_0x2019e9(0x8b)],delete _0x56158c[_0x2019e9(0xbf)],delete _0x56158c[_0x2019e9(0x9c)],delete _0x56158c[_0x2019e9(0x9b)],delete _0x56158c[_0x2019e9(0xd9)]);}this[_0x2019e9(0x8a)][_0x2019e9(0x9e)](_0x56158c),this[_0x2019e9(0xc6)](_0x56158c);}else this[_0x2019e9(0x8a)][_0x2019e9(0x8d)](_0x56158c);}const _0x10ce53=_0x386462[_0x2019e9(0xde)]();_0x10ce53[_0x2019e9(0xb7)]();for(let _0x2a5d56=0x0;_0x2a5d56<_0x10ce53[_0x2019e9(0xe2)]-0x1;_0x2a5d56++){const _0x3ebf44=_0x10ce53[_0x2a5d56],_0x7911f6=_0x10ce53[_0x2a5d56+0x1];if(_0x3ebf44[_0x2019e9(0x8b)]<_0x7911f6[_0x2019e9(0xbf)]){const _0x51f42e=_0x7911f6[_0x2019e9(0xbf)],_0xccc307=Math[_0x2019e9(0x9f)](_0x51f42e,_0x3ebf44[_0x2019e9(0xbf)]);this[_0x2019e9(0xda)]({'revision':_0x3ebf44,'from':_0x51f42e,'to':_0xccc307});}}}[_0x1780fe(0xda)]({revision:_0x186d3f,from:_0x416241,to:_0x114f41}={}){const _0x224620=_0x1780fe,_0x55f265=this[_0x224620(0x9a)][_0x224620(0xed)][_0x224620(0xf2)](_0x42d485),_0x58e652=this[_0x224620(0x8a)][_0x224620(0xd7)]({'revision':_0x186d3f,'from':_0x416241,'to':_0x114f41});_0x58e652[_0x224620(0xe3)]=_0x58e652[_0x224620(0xd9)][_0x224620(0xc1)](_0x369f27=>_0x55f265[_0x224620(0xb9)](_0x369f27)),_0x186d3f[_0x224620(0xb3)](_0x58e652);}[_0x1780fe(0xc6)](_0xd98fe3){const _0xfb4143=_0x1780fe,_0x1bc1fa={};_0x1bc1fa['id']=_0xd98fe3['id'];for(const _0x30d710 of Object[_0xfb4143(0xba)](_0xd98fe3))'id'!==_0x30d710&&(_0x1bc1fa[_0x30d710]=void 0x0);this[_0xfb4143(0x8a)][_0xfb4143(0xf7)](_0x1bc1fa['id'],_0x1bc1fa,!0x0);}async[_0x1780fe(0xea)](_0x51ca96){const _0xd0e53c=_0x1780fe,_0x136c18=this[_0xd0e53c(0x9a)][_0xd0e53c(0xed)][_0xd0e53c(0xf2)](_0x42d485),{connection:_0x36421b}=this[_0xd0e53c(0x9a)][_0xd0e53c(0xed)][_0xd0e53c(0xf2)](_0x2a2a6c),_0x2fe732=new Set();for(const _0xb77c6b of _0x51ca96){for(const _0x54bb9c of _0xb77c6b[_0xd0e53c(0xd9)])_0x1df30e(_0x54bb9c);_0xb77c6b[_0xd0e53c(0xa6)]&&_0x1df30e(_0xb77c6b[_0xd0e53c(0xa6)]);}if(0x0===_0x2fe732[_0xd0e53c(0xa5)])return;const _0x581f4c=await _0x38a4c6[_0xd0e53c(0xca)](_0x36421b,Array[_0xd0e53c(0xfc)](_0x2fe732));for(const _0xc578d of _0x581f4c)_0x136c18[_0xd0e53c(0xb9)](_0xc578d['id'])||_0x136c18[_0xd0e53c(0xe5)](_0xc578d);function _0x1df30e(_0x51e9f3){const _0xe85086=_0xd0e53c;_0x136c18[_0xe85086(0xb9)](_0x51e9f3)||_0x2fe732[_0xe85086(0x98)](_0x51e9f3);}}}function st(_0x1ceb39){const _0x45d7df=_0x1780fe;return _0x1ceb39[_0x45d7df(0xbc)][_0x45d7df(0xfa)](_0x45d7df(0xf1))||_0x1ceb39[_0x45d7df(0xbc)][_0x45d7df(0xfa)](_0x45d7df(0x94))||_0x1ceb39[_0x45d7df(0xbc)][_0x45d7df(0xfa)](_0x45d7df(0xd8));}
|
|
23
|
+
function _0x47cc(){const _0x263f2d=['_revisionHistoryService','remove','sessionId','marker','creatorId','_offset','949490nUfWnh','config','then','code','from','baseVersion','_createCurrentRevision','addRevisionData','keys','RevisionHistory','wrongRequestId','setRevisionData','58puBmuU','currentRevision','repository','66942vcRgLR','init','revisionsUpdated','change:_isPendingUpdate','authors','type','_revisions','cloudServices.bundleVersion','catch','buildRevisionData','CONNECTED','CloudServicesRevisionHistoryAdapter','connected','isEnabled','plugins','2338101QQtVaE','isOfficialPlugin','requires','_startingVersion','getRevision','getRevisions','isEmptyCurrent','bind','18682930CgzqnO','off','addToReconnectionStack','diffData','startsWith','isPremiumPlugin','setSource','isConnected','_handleRevisionsUpdate','serverHistory','reverse','isBundleUploaded','cloud-services-internal-error:\x20Not\x20connected.','createdAt','_revisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','_update','adapter','_revisionDataBuilder','connect','getOperations','collaboration.channelId','_bufferedUpdates','getMany','state','_waitForServiceReady','getUser','reconnect','_fixRevision','connection','change:_isConnected','_bufferUpdate','_oldOffset','data','756329kTmExi','toVersion','400','get','_getLatestVersionFromServerOperations','length','748843FsshuG','_isConnected','RevisionHistoryService','pluginName','map','size','72SjZDLl','listenTo','updateRevisions','authorsIds','_fetchMissingUsers','message','has','affectsData','_handleReconnectionError','_getLatestVersion','fromVersion','add','_preventResendingRevisionData','_isPendingUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionTracker','_lastRequestId','destroy','reInit','1354026ISypIw','24zWTxlh','addUser','sendBufferedUpdates','once','max','editor'];_0x47cc=function(){return _0x263f2d;};return _0x47cc();}const _0x399fec=_0x1bb1;(function(_0x258fb3,_0x40ca21){const _0x13706c=_0x1bb1,_0x3a1890=_0x258fb3();while(!![]){try{const _0x4d8631=-parseInt(_0x13706c(0x14a))/0x1+-parseInt(_0x13706c(0x108))/0x2*(parseInt(_0x13706c(0x10b))/0x3)+-parseInt(_0x13706c(0xf0))/0x4*(-parseInt(_0x13706c(0xfc))/0x5)+-parseInt(_0x13706c(0xef))/0x6+parseInt(_0x13706c(0x144))/0x7*(-parseInt(_0x13706c(0xdc))/0x8)+parseInt(_0x13706c(0x11a))/0x9+parseInt(_0x13706c(0x122))/0xa;if(_0x4d8631===_0x40ca21)break;else _0x3a1890['push'](_0x3a1890['shift']());}catch(_0x25be77){_0x3a1890['push'](_0x3a1890['shift']());}}}(_0x47cc,0xa4693));import{Plugin as _0x19d7e6}from'ckeditor5/src/core.js';import{version as _0xe12f39}from'ckeditor5/src/utils.js';import{Users as _0x2de79d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2ff141}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4d4081}from'../realtimecollaborativeediting/websocketgateway.js';function _0x1bb1(_0x42c1f3,_0x36d9ab){const _0x47cc17=_0x47cc();return _0x1bb1=function(_0x1bb162,_0x491bf8){_0x1bb162=_0x1bb162-0xd8;let _0x3d1ccc=_0x47cc17[_0x1bb162];return _0x3d1ccc;},_0x1bb1(_0x42c1f3,_0x36d9ab);}import{Sessions as _0x1260b0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1b67fe,RevisionHistoryService as _0x121faa,User as _0x2195dd,WEB_SOCKET_GATEWAY_STATES as _0x3450a2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x19d7e6{static [_0x399fec(0xd8)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x121faa)());[_0x399fec(0xec)];[_0x399fec(0x130)];[_0x399fec(0xf6)];[_0x399fec(0x142)];static get[_0x399fec(0x11c)](){const _0x47108c=_0x399fec;return[_0x4d4081,_0x2ff141,_0x47108c(0x105),_0x1260b0,_0x2de79d];}static get[_0x399fec(0xd9)](){const _0x1973d5=_0x399fec;return _0x1973d5(0x116);}static get[_0x399fec(0x11b)](){return!0x0;}static get[_0x399fec(0x127)](){return!0x0;}constructor(_0xf444ff){const _0x3e701e=_0x399fec;super(_0xf444ff);const _0x376358=this[_0x3e701e(0xf5)][_0x3e701e(0xfd)][_0x3e701e(0x147)](_0x3e701e(0x137));this[_0x3e701e(0xec)]=null,this[_0x3e701e(0x130)]=this[_0x3e701e(0xf5)][_0x3e701e(0x119)][_0x3e701e(0x147)](_0x3e701e(0xeb)),this[_0x3e701e(0xf6)]=new CloudServicesRevisionHistoryAdapter[(_0x3e701e(0xd8))](_0x376358);}async[_0x399fec(0x10c)](){const _0x5a3bf5=_0x399fec,_0x2a90db=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x2ff141),_0x237485=_0x2a90db[_0x5a3bf5(0x12b)],_0x2df12c=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x4d4081);this[_0x5a3bf5(0x130)][_0x5a3bf5(0x128)]({'history':_0x237485,'getLatestVersion':()=>this[_0x5a3bf5(0xe5)](),'getCurrentRevisionId':()=>_0x2a90db[_0x5a3bf5(0xf8)]});const _0x4f0fee=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0xfd)][_0x5a3bf5(0x147)](_0x5a3bf5(0x112))||_0xe12f39,_0x44e688=await _0x1b67fe[_0x5a3bf5(0x12d)](_0x2df12c[_0x5a3bf5(0x13f)],_0x4f0fee);this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x5a3bf5(0x105))[_0x5a3bf5(0x133)]={'getRevision':async({revisionId:_0x5e5bed})=>(await this[_0x5a3bf5(0x13b)](),await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x11e)](_0x5e5bed)),'updateRevisions':async _0x5ee3ce=>{const _0x30fd02=_0x5a3bf5;await this[_0x30fd02(0x13b)]();const _0xe92833=this[_0x30fd02(0x130)][_0x30fd02(0x109)];if(_0x44e688&&0x1===_0x5ee3ce[_0x30fd02(0x149)]&&_0x5ee3ce[0x0]['id']===_0xe92833['id'])return _0x5ee3ce;for(const _0x55bd87 of _0x5ee3ce)_0x55bd87['id']===_0xe92833['id']&&(_0x55bd87[_0x30fd02(0x120)]=_0x55bd87[_0x30fd02(0xe6)]===_0x55bd87[_0x30fd02(0x145)]);return this[_0x30fd02(0xf6)][_0x30fd02(0xde)](_0x5ee3ce,this[_0x30fd02(0xec)])[_0x30fd02(0xfe)](_0x5ae012=>(this[_0x30fd02(0xec)]=_0x5ae012,_0x5ee3ce))[_0x30fd02(0x113)](_0x537948=>{const _0xb929eb=_0x30fd02;if(ot(_0x537948)||_0xb929eb(0x146)===_0x537948[_0xb929eb(0xff)]&&void 0x0!==_0x537948[_0xb929eb(0x143)][_0xb929eb(0x106)]){for(const _0x5b1504 of _0x5ee3ce){!this[_0xb929eb(0x130)][_0xb929eb(0x10a)][_0xb929eb(0x11e)](_0x5b1504['id'])||this[_0xb929eb(0x130)][_0xb929eb(0x141)](_0x5b1504['id'],_0x5b1504,!0x1);}if(ot(_0x537948))throw _0x537948;return _0x5ee3ce;}throw _0x537948;});}},this[_0x5a3bf5(0xdd)](this[_0x5a3bf5(0xf6)],_0x5a3bf5(0x10d),(_0x48f681,{revisionsData:_0x4249a7,requestId:_0x1b51e2})=>{const _0x28cde3=_0x5a3bf5;Math[_0x28cde3(0xf4)](..._0x4249a7[_0x28cde3(0xda)](_0x1b101f=>_0x1b101f[_0x28cde3(0x145)]))>this[_0x28cde3(0x148)]()-0x1?this[_0x28cde3(0xe5)]()[_0x28cde3(0xfe)](()=>{const _0x148126=_0x28cde3;this[_0x148126(0x12a)](_0x4249a7,_0x1b51e2);}):this[_0x28cde3(0x12a)](_0x4249a7,_0x1b51e2);});const {revisions:_0x4f9744,requestId:_0x5244d9}=await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x135)](_0x2df12c[_0x5a3bf5(0x13f)]);_0x2df12c[_0x5a3bf5(0x124)](this),this[_0x5a3bf5(0xec)]=_0x5244d9,await this[_0x5a3bf5(0xe0)](_0x4f9744);for(const _0xc36dfa of _0x4f9744)this[_0x5a3bf5(0x130)][_0x5a3bf5(0x103)](_0xc36dfa);this[_0x5a3bf5(0xdd)](_0x2a90db,_0x5a3bf5(0x140),(_0xfb9223,_0x58e906,_0x1d13eb)=>{const _0x1f7754=_0x5a3bf5;_0x1d13eb&&(this[_0x1f7754(0x142)]=_0x2a90db[_0x1f7754(0xfb)],_0xfb9223[_0x1f7754(0x123)]());}),this[_0x5a3bf5(0x130)][_0x5a3bf5(0x121)](_0x5a3bf5(0x118))['to'](_0x2df12c,_0x5a3bf5(0x13a),_0x2f4baf=>_0x2f4baf===_0x3450a2[_0x5a3bf5(0x115)]);}async[_0x399fec(0x13d)](){const _0x10cfed=_0x399fec,_0x4eb693=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x4d4081),_0x36c719=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x2ff141),_0x46fa71=async()=>{const _0x28aa3a=_0x10cfed,_0x3ed9ab=this[_0x28aa3a(0x130)][_0x28aa3a(0x109)],_0x25e1a0=_0x3ed9ab['id'],_0x32e8fb=_0x25e1a0!==_0x36c719[_0x28aa3a(0xf8)];if(_0x32e8fb){const _0x4be932=_0x36c719[_0x28aa3a(0xfb)]-this[_0x28aa3a(0x142)],_0x59f953=this[_0x28aa3a(0x148)]();this[_0x28aa3a(0x130)][_0x28aa3a(0x134)][_0x28aa3a(0xee)]();if(_0x3ed9ab[_0x28aa3a(0x145)]+_0x4be932!==_0x59f953){const _0x2b3947=_0x3ed9ab[_0x28aa3a(0xe6)]+_0x4be932,_0x3a3cec=this[_0x28aa3a(0xf5)][_0x28aa3a(0x119)][_0x28aa3a(0x147)](_0x2de79d),_0xb8f263=this[_0x28aa3a(0x130)][_0x28aa3a(0x114)]({'revision':_0x3ed9ab,'from':_0x2b3947,'to':_0x59f953});_0xb8f263['id']=_0x3ed9ab['id'];const _0x5e1430=_0xb8f263[_0x28aa3a(0xdf)][_0x28aa3a(0xda)](_0x8e7e29=>_0x3a3cec[_0x28aa3a(0x13c)](_0x8e7e29));_0x3ed9ab[_0x28aa3a(0x132)]({..._0xb8f263,'authors':_0x5e1430},!0x0),this[_0x28aa3a(0x130)][_0x28aa3a(0x141)](_0x3ed9ab['id'],_0xb8f263,!0x0);}this[_0x28aa3a(0x130)][_0x28aa3a(0x11d)]=_0x59f953,(_0x3ed9ab[_0x28aa3a(0x145)]===_0x3ed9ab[_0x28aa3a(0xe6)]&&!this[_0x28aa3a(0x130)][_0x28aa3a(0x138)][_0x28aa3a(0xe2)](_0x25e1a0)&&this[_0x28aa3a(0x130)][_0x28aa3a(0x10a)][_0x28aa3a(0x111)][_0x28aa3a(0xf7)](_0x25e1a0),this[_0x28aa3a(0x130)][_0x28aa3a(0x102)](_0x59f953));}const {revisions:_0x2cf518,requestId:_0x4a61f4}=await this[_0x28aa3a(0xf6)][_0x28aa3a(0x13d)](_0x4eb693[_0x28aa3a(0x13f)],this[_0x28aa3a(0xec)]);_0x32e8fb&&_0x2cf518[_0x28aa3a(0x149)]>0x0?_0x36c719[_0x28aa3a(0xe4)]():(await this[_0x28aa3a(0xe0)](_0x2cf518),this[_0x28aa3a(0x12a)](_0x2cf518,_0x4a61f4),this[_0x28aa3a(0x130)][_0x28aa3a(0xf2)]());};return _0x36c719[_0x10cfed(0x14b)]?_0x46fa71():new Promise((_0x1511e,_0x14a419)=>{const _0x521206=_0x10cfed;_0x36c719[_0x521206(0xf3)](_0x521206(0x140),()=>{const _0x436d1b=_0x521206;_0x46fa71()[_0x436d1b(0xfe)](_0x1511e)[_0x436d1b(0x113)](_0x14a419);});});}[_0x399fec(0xed)](){const _0x4c5ca6=_0x399fec;super[_0x4c5ca6(0xed)]();}async[_0x399fec(0x13b)](){const _0x16cc37=_0x399fec;this[_0x16cc37(0xf6)][_0x16cc37(0x129)]||await new Promise(_0x564604=>{const _0x3df849=_0x16cc37;this[_0x3df849(0xdd)](this[_0x3df849(0xf6)],_0x3df849(0x117),_0x1f8a2e=>{const _0x107ff7=_0x3df849;_0x1f8a2e[_0x107ff7(0x123)](),_0x564604();});});}[_0x399fec(0x148)](){const _0x37e4b5=_0x399fec,_0x4fcdc9=this[_0x37e4b5(0xf5)][_0x37e4b5(0x119)][_0x37e4b5(0x147)](_0x2ff141)[_0x37e4b5(0x12b)][_0x37e4b5(0x136)]()[_0x37e4b5(0x12c)]();for(const _0x4aceff of _0x4fcdc9)if(_0x37e4b5(0xf9)!==_0x4aceff[_0x37e4b5(0x110)]||_0x4aceff[_0x37e4b5(0xe3)])return _0x4aceff[_0x37e4b5(0x101)]+0x1;}[_0x399fec(0xe5)](){const _0x1b464b=_0x399fec,_0x51cc47=this[_0x1b464b(0xf5)][_0x1b464b(0x119)][_0x1b464b(0x147)](_0x2ff141);return new Promise(_0x1141e0=>{const _0x4c6ac5=_0x1b464b;_0x51cc47[_0x4c6ac5(0xe9)]?_0x51cc47[_0x4c6ac5(0xf3)](_0x4c6ac5(0x10e),()=>{const _0xcc148e=_0x4c6ac5;_0x1141e0(this[_0xcc148e(0x148)]());}):_0x1141e0(this[_0x4c6ac5(0x148)]());});}[_0x399fec(0x12a)](_0x1e5a80,_0x1276ce){const _0x38fe7c=_0x399fec,_0x309e0a=this[_0x38fe7c(0x130)][_0x38fe7c(0x10a)];this[_0x38fe7c(0xec)]=_0x1276ce;for(const _0x556fc9 of _0x1e5a80){const _0x2ae32d=_0x309e0a[_0x38fe7c(0x11e)](_0x556fc9['id']);if(_0x2ae32d){if((_0x556fc9[_0x38fe7c(0xe6)]||_0x556fc9[_0x38fe7c(0x145)])&&(_0x556fc9[_0x38fe7c(0x125)]=null),_0x2ae32d===this[_0x38fe7c(0x130)][_0x38fe7c(0x109)]){const _0x3a6ac4=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0x145)],_0x556fc9[_0x38fe7c(0x145)]),_0x3774ab=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0xe6)],_0x556fc9[_0x38fe7c(0xe6)]);let _0x6dde46;_0x2ae32d[_0x38fe7c(0x145)]===_0x556fc9[_0x38fe7c(0x145)]&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x556fc9[_0x38fe7c(0xe6)]?(_0x6dde46=!0x0,this[_0x38fe7c(0xe8)](_0x556fc9)):_0x556fc9[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x556fc9[_0x38fe7c(0xe6)]===_0x3774ab?_0x6dde46=!0x1:(_0x2ae32d[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x3774ab||this[_0x38fe7c(0x13e)]({'revision':_0x2ae32d,'from':_0x3774ab,'to':_0x3a6ac4}),_0x6dde46=!0x0),_0x6dde46&&(delete _0x556fc9[_0x38fe7c(0xe6)],delete _0x556fc9[_0x38fe7c(0x145)],delete _0x556fc9[_0x38fe7c(0x125)],delete _0x556fc9[_0x38fe7c(0x12f)],delete _0x556fc9[_0x38fe7c(0xdf)]);}this[_0x38fe7c(0x130)][_0x38fe7c(0x107)](_0x556fc9),this[_0x38fe7c(0xe8)](_0x556fc9);}else this[_0x38fe7c(0x130)][_0x38fe7c(0x103)](_0x556fc9);}const _0x54e3e8=_0x309e0a[_0x38fe7c(0x11f)]();_0x54e3e8[_0x38fe7c(0x12c)]();for(let _0x454d3a=0x0;_0x454d3a<_0x54e3e8[_0x38fe7c(0x149)]-0x1;_0x454d3a++){const _0xa20437=_0x54e3e8[_0x454d3a],_0x12e10a=_0x54e3e8[_0x454d3a+0x1];if(_0xa20437[_0x38fe7c(0xe6)]<_0x12e10a[_0x38fe7c(0x145)]){const _0x35be64=_0x12e10a[_0x38fe7c(0x145)],_0x382e10=Math[_0x38fe7c(0xf4)](_0x35be64,_0xa20437[_0x38fe7c(0x145)]);this[_0x38fe7c(0x13e)]({'revision':_0xa20437,'from':_0x35be64,'to':_0x382e10});}}}[_0x399fec(0x13e)]({revision:_0x2ad094,from:_0x36df9e,to:_0x5be831}={}){const _0x128ee1=_0x399fec,_0x403e15=this[_0x128ee1(0xf5)][_0x128ee1(0x119)][_0x128ee1(0x147)](_0x2de79d),_0x7542d=this[_0x128ee1(0x130)][_0x128ee1(0x114)]({'revision':_0x2ad094,'from':_0x36df9e,'to':_0x5be831});_0x7542d[_0x128ee1(0x10f)]=_0x7542d[_0x128ee1(0xdf)][_0x128ee1(0xda)](_0x523eb5=>_0x403e15[_0x128ee1(0x13c)](_0x523eb5)),_0x2ad094[_0x128ee1(0x132)](_0x7542d);}[_0x399fec(0xe8)](_0x1c86d4){const _0x317a05=_0x399fec,_0x199cef={};_0x199cef['id']=_0x1c86d4['id'];for(const _0x2c88c6 of Object[_0x317a05(0x104)](_0x1c86d4))'id'!==_0x2c88c6&&(_0x199cef[_0x2c88c6]=void 0x0);this[_0x317a05(0x130)][_0x317a05(0x141)](_0x199cef['id'],_0x199cef,!0x0);}async[_0x399fec(0xe0)](_0x3c9761){const _0x31755f=_0x399fec,_0x5a3726=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x2de79d),{connection:_0x1a2e2e}=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x4d4081),_0x4f7d38=new Set();for(const _0xd0ebf8 of _0x3c9761){for(const _0x4e3e3d of _0xd0ebf8[_0x31755f(0xdf)])_0x5e5045(_0x4e3e3d);_0xd0ebf8[_0x31755f(0xfa)]&&_0x5e5045(_0xd0ebf8[_0x31755f(0xfa)]);}if(0x0===_0x4f7d38[_0x31755f(0xdb)])return;const _0x3d9c41=await _0x2195dd[_0x31755f(0x139)](_0x1a2e2e,Array[_0x31755f(0x100)](_0x4f7d38));for(const _0x148d8e of _0x3d9c41)_0x5a3726[_0x31755f(0x13c)](_0x148d8e['id'])||_0x5a3726[_0x31755f(0xf1)](_0x148d8e);function _0x5e5045(_0x255e90){const _0x4b0bf4=_0x31755f;_0x5a3726[_0x4b0bf4(0x13c)](_0x255e90)||_0x4f7d38[_0x4b0bf4(0xe7)](_0x255e90);}}}function ot(_0x49be2b){const _0x336423=_0x399fec;return _0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0xea))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x12e))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x131));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1fcfe1=_0x3426;(function(_0x107d5b,_0x497cce){var _0x48794a=_0x3426,_0x2953cb=_0x107d5b();while(!![]){try{var _0x41c57f=-parseInt(_0x48794a(0x12d))/0x1+-parseInt(_0x48794a(0x130))/0x2+-parseInt(_0x48794a(0x12f))/0x3*(-parseInt(_0x48794a(0x13a))/0x4)+parseInt(_0x48794a(0x132))/0x5+-parseInt(_0x48794a(0x12e))/0x6*(-parseInt(_0x48794a(0x138))/0x7)+parseInt(_0x48794a(0x12c))/0x8+parseInt(_0x48794a(0x139))/0x9*(-parseInt(_0x48794a(0x133))/0xa);if(_0x41c57f===_0x497cce)break;else _0x2953cb['push'](_0x2953cb['shift']());}catch(_0xe923f){_0x2953cb['push'](_0x2953cb['shift']());}}}(_0x7fda,0x7994e));import{Plugin as _0x20ea72}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x55050f}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3426(_0x4e4010,_0x59eb57){var _0x7fdaa7=_0x7fda();return _0x3426=function(_0x342610,_0x51feeb){_0x342610=_0x342610-0x12b;var _0x41be45=_0x7fdaa7[_0x342610];return _0x41be45;},_0x3426(_0x4e4010,_0x59eb57);}import{RealTimeCollaborativeEditing as _0x125fa5}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x20ea72{static get[_0x1fcfe1(0x131)](){var _0xef7bd=_0x1fcfe1;return[_0xef7bd(0x12b),_0x55050f,_0x125fa5];}static get[_0x1fcfe1(0x135)](){var _0x1e54b9=_0x1fcfe1;return _0x1e54b9(0x137);}static get[_0x1fcfe1(0x136)](){return!0x0;}static get[_0x1fcfe1(0x134)](){return!0x0;}}function _0x7fda(){var _0x4c06d7=['isOfficialPlugin','RealTimeCollaborativeRevisionHistory','7FRzWaJ','386874FTrAnn','4jgIkNN','RevisionHistory','3299624KkurMr','546781xfwdDJ','4615074fNQQSB','756996FAiCPo','863542cSQFqx','requires','3866740NGuYjf','170GVRBiV','isPremiumPlugin','pluginName'];_0x7fda=function(){return _0x4c06d7;};return _0x7fda();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x4ecc(){const _0x25bc95=['suggestionUpdated','requires','delete','size','38310kRymRG','1SdpQda','addToReconnectionStack','startsWith','_fetchMissingUsersForThreads','set','isConnected','_trackChangesService','adapter','open','reconnect','getUser','hasSuggestion','message','off','45Ydicld','getMany','plugins','init','cloud-services-internal-error:\x20Not\x20connected.','state','values','attributes','pluginName','isOfficialPlugin','connected','catch','isPremiumPlugin','addSuggestionData','4060861hueGal','get','getSuggestion','TrackChangesService','CloudServicesTrackChangesAdapter','_waitForServiceReady','type','4962864aNmRpv','connect','cloud-services-internal-error:\x20Request\x20timeout.','from','_bufferedRequests','config','listenTo','then','TrackChangesEditing','addUser','99612RhNtEb','editor','345016SEzNYM','4521370UHXjhp','collaboration.channelId','_saved','connection','685kqsnbT','add','data','1494258RgDWqB','originalSuggestionId','update','find'];_0x4ecc=function(){return _0x25bc95;};return _0x4ecc();}const _0x46b64e=_0x14a3;(function(_0x132a01,_0x3c207f){const _0x318f88=_0x14a3,_0x66fbb9=_0x132a01();while(!![]){try{const _0x902566=parseInt(_0x318f88(0x98))/0x1*(parseInt(_0x318f88(0x8f))/0x2)+-parseInt(_0x318f88(0x85))/0x3+parseInt(_0x318f88(0x87))/0x4+parseInt(_0x318f88(0x8c))/0x5*(parseInt(_0x318f88(0x97))/0x6)+parseInt(_0x318f88(0xb4))/0x7+parseInt(_0x318f88(0xbb))/0x8+parseInt(_0x318f88(0xa6))/0x9*(-parseInt(_0x318f88(0x88))/0xa);if(_0x902566===_0x3c207f)break;else _0x66fbb9['push'](_0x66fbb9['shift']());}catch(_0x19a21e){_0x66fbb9['push'](_0x66fbb9['shift']());}}}(_0x4ecc,0x96140));import{Plugin as _0x564289}from'ckeditor5/src/core.js';function _0x14a3(_0x56f030,_0x193df7){const _0x14a36a=_0x4ecc();return _0x14a3=function(_0x2a3e1b,_0x3c0390){_0x2a3e1b=_0x2a3e1b-0x81;let _0x517727=_0x14a36a[_0x2a3e1b];return _0x517727;},_0x14a3(_0x56f030,_0x193df7);}import{User as _0x2d610c,TrackChangesService as _0x308faa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5e9f2b}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4811fd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x59a606}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x564289{static [_0x46b64e(0xb7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x308faa)());[_0x46b64e(0xbf)];[_0x46b64e(0x9e)];static get[_0x46b64e(0x94)](){const _0x5dcfbb=_0x46b64e;return[_0x4811fd,_0x5dcfbb(0x83),_0x5e9f2b];}static get[_0x46b64e(0xae)](){const _0xe4d787=_0x46b64e;return _0xe4d787(0xb8);}static get[_0x46b64e(0xaf)](){return!0x0;}static get[_0x46b64e(0xb2)](){return!0x0;}constructor(_0x53333c){const _0x46a538=_0x46b64e;super(_0x53333c);const _0x473d43=this[_0x46a538(0x86)][_0x46a538(0xc0)][_0x46a538(0xb5)](_0x46a538(0x89));this[_0x46a538(0xbf)]=new Map(),this[_0x46a538(0x9e)]=new CloudServicesTrackChangesAdapter[(_0x46a538(0xb7))](_0x473d43);}[_0x46b64e(0xa9)](){const _0x3b6956=_0x46b64e,_0x3f2acb=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x5e9f2b),_0x43584e=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x3b6956(0x83));return _0x43584e[_0x3b6956(0x9f)]={'getSuggestion':async _0x43a3c6=>{const _0x1a0024=_0x3b6956;await this[_0x1a0024(0xb9)]();const _0x3eafeb=await this[_0x1a0024(0x9e)][_0x1a0024(0xb5)](_0x43a3c6)[_0x1a0024(0xb1)](tt);return await this[_0x1a0024(0x9b)]([_0x3eafeb]),_0x3eafeb;},'addSuggestion':async({id:_0x20d650,type:_0x1a2071,data:_0x11957c,originalSuggestionId:_0x319a58,attributes:_0x1a3a1d})=>{const _0x58c880=_0x3b6956;await this[_0x58c880(0xb9)]();const _0x4c47b6={'id':_0x20d650,'type':_0x1a2071,'data':_0x11957c,'originalSuggestionId':_0x319a58,'attributes':_0x1a3a1d},_0x3a70cd=await this[_0x58c880(0x9e)][_0x58c880(0x8d)](_0x20d650,_0x1a2071,_0x11957c,_0x319a58,_0x1a3a1d)[_0x58c880(0xb1)](_0x227cae=>{if(ot(_0x227cae))return new Promise(_0x597a78=>{const _0x96562d=_0x14a3;this[_0x96562d(0xbf)][_0x96562d(0x9c)](_0x20d650,{'resolve':_0x597a78,'suggestionData':_0x4c47b6});});throw _0x227cae;});return this[_0x58c880(0xbf)][_0x58c880(0x95)](_0x20d650),_0x3a70cd;},'updateSuggestion':async(_0x2d81a8,_0x3577f9)=>{const _0x2931f1=_0x3b6956;if(await this[_0x2931f1(0xb9)](),_0x2931f1(0xa0)!==_0x3577f9[_0x2931f1(0xab)])return this[_0x2931f1(0x9e)][_0x2931f1(0x91)](_0x2d81a8,_0x3577f9)[_0x2931f1(0xb1)](tt);}},this[_0x3b6956(0x81)](this[_0x3b6956(0x9e)],_0x3b6956(0x93),(_0x15c0a9,_0x5dbe9b)=>{const _0x2bb0d3=_0x3b6956;_0x43584e[_0x2bb0d3(0xa3)](_0x5dbe9b['id'])&&(_0x43584e[_0x2bb0d3(0xb6)](_0x5dbe9b['id'])[_0x2bb0d3(0xad)]=_0x5dbe9b[_0x2bb0d3(0xad)]);}),this[_0x3b6956(0x9e)][_0x3b6956(0xbc)](_0x3f2acb[_0x3b6956(0x8b)])[_0x3b6956(0x82)](_0x49e7f3=>(_0x3f2acb[_0x3b6956(0x99)](this),this[_0x3b6956(0x9b)](_0x49e7f3)[_0x3b6956(0x82)](()=>{const _0x38429b=_0x3b6956;for(const _0x1c9c2a of _0x49e7f3){_0x43584e[_0x38429b(0xb3)](_0x1c9c2a)[_0x38429b(0x8a)]=!0x0;}})));}async[_0x46b64e(0xa1)](){const _0x37c8dc=_0x46b64e,_0x3aa75e=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x37c8dc(0x83)),{connection:_0x22b926}=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x5e9f2b),_0x36c2f7=await this[_0x37c8dc(0x9e)][_0x37c8dc(0xbc)](_0x22b926);await this[_0x37c8dc(0x9b)](_0x36c2f7);for(const {suggestionData:_0x42d864,resolve:_0x502a46}of this[_0x37c8dc(0xbf)][_0x37c8dc(0xac)]()){let _0xd16075=_0x36c2f7[_0x37c8dc(0x92)](_0x2f5bf5=>_0x2f5bf5['id']===_0x42d864['id']);_0xd16075||(_0xd16075=await this[_0x37c8dc(0x9e)][_0x37c8dc(0x8d)](_0x42d864['id'],_0x42d864[_0x37c8dc(0xba)],_0x42d864[_0x37c8dc(0x8e)],_0x42d864[_0x37c8dc(0x90)])),_0x502a46(_0xd16075);}for(const _0x3c2811 of _0x36c2f7)_0x3aa75e[_0x37c8dc(0xa3)](_0x3c2811['id'])||_0x3aa75e[_0x37c8dc(0xb3)](_0x3c2811);}async[_0x46b64e(0xb9)](){const _0x248b6f=_0x46b64e;this[_0x248b6f(0x9e)][_0x248b6f(0x9d)]||await new Promise(_0x3f8356=>{const _0xd3cd9f=_0x248b6f;this[_0xd3cd9f(0x81)](this[_0xd3cd9f(0x9e)],_0xd3cd9f(0xb0),_0x5915a2=>{const _0x36bed3=_0xd3cd9f;_0x5915a2[_0x36bed3(0xa5)](),_0x3f8356();});});}async[_0x46b64e(0x9b)](_0x44b25b){const _0x452424=_0x46b64e,_0x3f3fcd=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x59a606),{connection:_0x5e08e9}=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x5e9f2b),_0x571495=new Set();for(const {authorId:_0x367c51}of _0x44b25b)_0x3f3fcd[_0x452424(0xa2)](_0x367c51)||_0x571495[_0x452424(0x8d)](_0x367c51);if(0x0===_0x571495[_0x452424(0x96)])return;const _0x34e229=await _0x2d610c[_0x452424(0xa7)](_0x5e08e9,Array[_0x452424(0xbe)](_0x571495));for(const _0x19807c of _0x34e229)_0x3f3fcd[_0x452424(0xa2)](_0x19807c['id'])||_0x3f3fcd[_0x452424(0x84)](_0x19807c);}}function tt(_0x5a71cd){if(ot(_0x5a71cd))return new Promise(()=>{});throw _0x5a71cd;}function ot(_0xbee0ed){const _0x3ab7cf=_0x46b64e;return _0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xaa))||_0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xbd));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x306030=_0x2f93;(function(_0x4e528d,_0x3df349){var _0x5451f5=_0x2f93,_0x1543df=_0x4e528d();while(!![]){try{var _0x50cfb7=parseInt(_0x5451f5(0x123))/0x1+parseInt(_0x5451f5(0x12c))/0x2+-parseInt(_0x5451f5(0x122))/0x3*(-parseInt(_0x5451f5(0x128))/0x4)+parseInt(_0x5451f5(0x12d))/0x5*(-parseInt(_0x5451f5(0x12a))/0x6)+-parseInt(_0x5451f5(0x121))/0x7+parseInt(_0x5451f5(0x125))/0x8+-parseInt(_0x5451f5(0x129))/0x9;if(_0x50cfb7===_0x3df349)break;else _0x1543df['push'](_0x1543df['shift']());}catch(_0xf4baa9){_0x1543df['push'](_0x1543df['shift']());}}}(_0x4afa,0x73f2a));function _0x4afa(){var _0x56add1=['TrackChanges','4955992rIIxty','RealTimeCollaborativeTrackChanges','pluginName','332UruTGD','9733797hWRejY','1569822uUCgRI','isPremiumPlugin','595942OxYrav','5TArtTm','isOfficialPlugin','requires','218778RXHwaq','12399Vhvkgw','588837BSdsFu'];_0x4afa=function(){return _0x56add1;};return _0x4afa();}function _0x2f93(_0x7bfcf,_0x3b926f){var _0x4afa55=_0x4afa();return _0x2f93=function(_0x2f9315,_0x2b53e3){_0x2f9315=_0x2f9315-0x11f;var _0x3bb12b=_0x4afa55[_0x2f9315];return _0x3bb12b;},_0x2f93(_0x7bfcf,_0x3b926f);}import{Plugin as _0x201a4a}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3faed7}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x165d38}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x201a4a{static get[_0x306030(0x120)](){var _0x5cbc3c=_0x306030;return[_0x165d38,_0x3faed7,_0x5cbc3c(0x124)];}static get[_0x306030(0x127)](){var _0x263279=_0x306030;return _0x263279(0x126);}static get[_0x306030(0x11f)](){return!0x0;}static get[_0x306030(0x12b)](){return!0x0;}}
|