@ckeditor/ckeditor5-real-time-collaboration 47.6.1 → 47.6.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
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x519383=_0x291b;function _0x291b(_0xc352ac,_0x4b183a){const _0x2cf4b8=_0x2cf4();return _0x291b=function(_0x291b94,_0x53d364){_0x291b94=_0x291b94-0x9e;let _0x150c4b=_0x2cf4b8[_0x291b94];return _0x150c4b;},_0x291b(_0xc352ac,_0x4b183a);}(function(_0xe6fce7,_0x1663f5){const _0x3f20d4=_0x291b,_0x1dfb28=_0xe6fce7();while(!![]){try{const _0x7d3ddc=parseInt(_0x3f20d4(0xd6))/0x1+-parseInt(_0x3f20d4(0xa2))/0x2*(parseInt(_0x3f20d4(0xd3))/0x3)+-parseInt(_0x3f20d4(0xe5))/0x4+-parseInt(_0x3f20d4(0xcf))/0x5*(-parseInt(_0x3f20d4(0xbe))/0x6)+-parseInt(_0x3f20d4(0xdf))/0x7+-parseInt(_0x3f20d4(0xaf))/0x8+parseInt(_0x3f20d4(0xe1))/0x9;if(_0x7d3ddc===_0x1663f5)break;else _0x1dfb28['push'](_0x1dfb28['shift']());}catch(_0x2924b2){_0x1dfb28['push'](_0x1dfb28['shift']());}}}(_0x2cf4,0xa35d0));import{ContextPlugin as _0x465056}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x194c9c,CKEditorError as _0x1e6bd8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x47b6f0,WEB_SOCKET_GATEWAY_STATES as _0x48fe61}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4f091f}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x465056{static [_0x519383(0xc3)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x47b6f0)());static [_0x519383(0xa9)]=0x3e8;[_0x519383(0xa4)];[_0x519383(0xdc)];[_0x519383(0xcb)];[_0x519383(0xb4)];static get[_0x519383(0xb0)](){const _0x2d04f1=_0x519383;return[_0x2d04f1(0xb5),_0x4f091f];}static get[_0x519383(0xa3)](){const _0x4c18d1=_0x519383;return _0x4c18d1(0xc3);}static get[_0x519383(0xab)](){return!0x0;}static get[_0x519383(0xb3)](){return!0x0;}constructor(_0x253f21){const _0x34a349=_0x519383;super(_0x253f21),this[_0x34a349(0xa7)](_0x34a349(0xc6),_0x48fe61[_0x34a349(0xe6)]),this[_0x34a349(0xa7)](_0x34a349(0xc2),!0x1),this[_0x34a349(0xdc)]=new Set(),this[_0x34a349(0xcb)]=!0x1,this[_0x34a349(0xb4)]=new(_0x194c9c())();}[_0x519383(0xa5)](){const _0x3cbdc3=_0x519383,_0x525a57=this[_0x3cbdc3(0xcc)],_0x3c65d8=_0x525a57[_0x3cbdc3(0xc5)][_0x3cbdc3(0xbc)](_0x3cbdc3(0xb5)),_0x4484f4=_0x525a57[_0x3cbdc3(0xc5)][_0x3cbdc3(0xbc)](_0x4f091f);if(!_0x3c65d8[_0x3cbdc3(0xde)])throw new _0x1e6bd8(_0x3cbdc3(0xa1),this);if(!_0x3c65d8[_0x3cbdc3(0xa8)])throw new _0x1e6bd8(_0x3cbdc3(0xd8),this);return this[_0x3cbdc3(0xb4)][_0x3cbdc3(0xc1)](window,_0x3cbdc3(0xd2),()=>this[_0x3cbdc3(0xc2)]=!0x0),this[_0x3cbdc3(0xb4)][_0x3cbdc3(0xc1)](window,_0x3cbdc3(0xb1),()=>this[_0x3cbdc3(0xc2)]=!0x1),this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbd)](_0x3cbdc3(0xcd),0xa),this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbd)](_0x3cbdc3(0xc7),0x14),WebSocketGateway[_0x3cbdc3(0xc3)][_0x3cbdc3(0x9f)](_0x3c65d8[_0x3cbdc3(0xde)],_0x3c65d8[_0x3cbdc3(0xa8)],{'timeout':0x3e8*this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbc)](_0x3cbdc3(0xcd)),'requestTimeout':0x3e8*this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbc)](_0x3cbdc3(0xc7))})[_0x3cbdc3(0xae)](_0xef8863=>{const _0x10d531=_0x3cbdc3;if(this[_0x10d531(0xa4)]=_0xef8863,this[_0x10d531(0xa0)](_0x10d531(0xc6))['to'](_0xef8863,_0x10d531(0xc6),this,_0x10d531(0xc2),(_0x21ed80,_0x68b6c2)=>(_0x10d531(0xb6)!==_0x21ed80&&(this[_0x10d531(0xcb)]=!0x0),_0x68b6c2||_0x21ed80!==_0x48fe61[_0x10d531(0xe6)]?_0x48fe61[_0x10d531(0xc9)]:this[_0x10d531(0xc6)]==_0x48fe61[_0x10d531(0xc9)]&&this[_0x10d531(0xcb)]?(this[_0x10d531(0xcb)]=!0x1,this[_0x10d531(0xdb)](),_0x48fe61[_0x10d531(0xa6)]):_0x48fe61[_0x10d531(0xe6)])),this[_0x10d531(0xa4)]['on'](_0x10d531(0xc8),(_0x3e5e8e,_0x56746e)=>{const _0x95dfdb=_0x10d531;if(_0x95dfdb(0xdd)!==_0x56746e[_0x95dfdb(0xd7)])throw console[_0x95dfdb(0xc8)](_0x56746e),new _0x1e6bd8(_0x95dfdb(0xe2),null,{'originalError':_0x56746e});_0x4484f4[_0x95dfdb(0xda)](_0x95dfdb(0xe0),{'title':_0x95dfdb(0xd0),'namespace':_0x95dfdb(0xbb)});}),!_0xef8863['me'])return new Promise(_0x1ab95a=>_0xef8863['on'](_0x10d531(0xe4),_0x1ab95a));})[_0x3cbdc3(0xbf)](_0xa8f892=>{const _0x4c0fe9=_0x3cbdc3;throw console[_0x4c0fe9(0xc8)](_0xa8f892),new _0x1e6bd8(_0x4c0fe9(0xe2),null,{'originalError':_0xa8f892});});}[_0x519383(0xd5)](_0x49e9ba){const _0x213673=_0x519383;if(_0x213673(0xc0)!=typeof _0x49e9ba[_0x213673(0xd4)])throw new _0x1e6bd8(_0x213673(0xce),this);if(this[_0x213673(0xd1)](_0x49e9ba))throw new _0x1e6bd8(_0x213673(0xd9),this,{'name':_0x49e9ba[_0x213673(0xb2)][_0x213673(0xa3)]});this[_0x213673(0xdc)][_0x213673(0xca)](_0x49e9ba);}[_0x519383(0xb9)](_0x1e3d2b){const _0x4156cf=_0x519383;this[_0x4156cf(0xdc)][_0x4156cf(0xad)](_0x1e3d2b);}[_0x519383(0xd1)](_0x5e3256){const _0x65443c=_0x519383;return this[_0x65443c(0xdc)][_0x65443c(0xac)](_0x5e3256);}[_0x519383(0xdb)](){const _0x203260=_0x519383;return this[_0x203260(0xa4)][_0x203260(0xd4)]()[_0x203260(0xae)](()=>Promise[_0x203260(0xe3)](Array[_0x203260(0xba)](this[_0x203260(0xdc)],_0xeb1674=>_0xeb1674[_0x203260(0xd4)]())))[_0x203260(0xae)](()=>this[_0x203260(0xc6)]=_0x48fe61[_0x203260(0xe6)])[_0x203260(0xbf)](_0x1393d0=>{const _0x57b600=_0x203260;throw console[_0x57b600(0xc8)](_0x1393d0),new _0x1e6bd8(_0x57b600(0x9e),this[_0x57b600(0xcc)]);});}[_0x519383(0xaa)](){const _0x2dfa83=_0x519383;this[_0x2dfa83(0xa4)]&&this[_0x2dfa83(0xa4)][_0x2dfa83(0xaa)](),this[_0x2dfa83(0xc6)]=_0x48fe61[_0x2dfa83(0xc9)],this[_0x2dfa83(0xb4)][_0x2dfa83(0xb8)]();}[_0x519383(0xb7)](){const _0x5646e3=_0x519383;this[_0x5646e3(0xaa)](),super[_0x5646e3(0xb7)]();}}function _0x2cf4(){const _0x4b9a20=['9466552UyzTYj','requires','online','constructor','isPremiumPlugin','_domEmitter','CloudServices','connected','destroy','stopListening','removeFromReconnectionStack','from','real-time-collaboration','get','define','1865058gINIiO','catch','function','listenTo','_isBrowserOffline','WebSocketGateway','config','plugins','state','cloudServices.requestTimeout','error','DISCONNECTED','add','_shouldPluginsReconnect','context','cloudServices.connectionTimeout','websocketgateway-invalid-plugin-interface','10BjPvfd','Connected\x20users\x20limit\x20exceeded','isInReconnectionStack','offline','3wQfQIf','reconnect','addToReconnectionStack','282339VrEkdn','code','websocketgateway-missing-websocket-url','websocketgateway-plugin-already-registered','showWarning','_reconnect','_reconnectionStack','limitExceeded','token','6079024otBMTh','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.','34573779Jmcbou','cloudservices-init','all','change:me','4614724kTOwFf','CONNECTED','cloudservices-reconnection-error','connect','bind','websocketgateway-missing-token','1741976mQPIxf','pluginName','connection','init','CONNECTING','set','webSocketUrl','initialReconnectionInterval','disconnect','isOfficialPlugin','has','delete','then'];_0x2cf4=function(){return _0x4b9a20;};return _0x2cf4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x62b2(_0x3e25e6,_0x1ada60){var _0x55f04b=_0x55f0();return _0x62b2=function(_0x62b2d3,_0x30c8ab){_0x62b2d3=_0x62b2d3-0x1cf;var _0x33316c=_0x55f04b[_0x62b2d3];return _0x33316c;},_0x62b2(_0x3e25e6,_0x1ada60);}var _0x3afce8=_0x62b2;(function(_0x15c1ab,_0x4e8ada){var _0x3ee272=_0x62b2,_0x598439=_0x15c1ab();while(!![]){try{var _0x354fc8=parseInt(_0x3ee272(0x1db))/0x1*(parseInt(_0x3ee272(0x1d2))/0x2)+-parseInt(_0x3ee272(0x1d6))/0x3+parseInt(_0x3ee272(0x1d0))/0x4+parseInt(_0x3ee272(0x1d1))/0x5+-parseInt(_0x3ee272(0x1d4))/0x6+-parseInt(_0x3ee272(0x1d7))/0x7*(parseInt(_0x3ee272(0x1d5))/0x8)+parseInt(_0x3ee272(0x1da))/0x9;if(_0x354fc8===_0x4e8ada)break;else _0x598439['push'](_0x598439['shift']());}catch(_0x36e278){_0x598439['push'](_0x598439['shift']());}}}(_0x55f0,0xf0a47));import{Plugin as _0x531f6a}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2caf3c}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x55f0(){var _0x5645e0=['2418240czVugR','7zPqCZx','isOfficialPlugin','requires','32433174mfWyFt','23813FXfJBo','isPremiumPlugin','RealTimeCollaborativeEditing','1681632OuIGsi','1112905CgisBC','62IUiVdG','pluginName','11458992dJjyGz','10266360ycQiYf'];_0x55f0=function(){return _0x5645e0;};return _0x55f0();}export class RealTimeCollaborativeEditing extends _0x531f6a{static get[_0x3afce8(0x1d9)](){return[_0x2caf3c];}static get[_0x3afce8(0x1d3)](){var _0xd8e881=_0x3afce8;return _0xd8e881(0x1cf);}static get[_0x3afce8(0x1d8)](){return!0x0;}static get[_0x3afce8(0x1dc)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4bce69)());[_0x50967d(0x17c)];[_0x50967d(0x198)];[_0x50967d(0x15f)];[_0x50967d(0x180)];static get[_0x50967d(0x16f)](){const _0x476d71=_0x50967d;return[_0x33dc26,_0x37fc1d,_0x476d71(0x14f),_0x165a78,_0x1cf4ae];}static get[_0x50967d(0x169)](){const _0x7c512b=_0x50967d;return _0x7c512b(0x179);}static get[_0x50967d(0x15e)](){return!0x0;}static get[_0x50967d(0x197)](){return!0x0;}constructor(_0x1bb55e){const _0x5121ea=_0x50967d;super(_0x1bb55e);const _0x16b46d=this[_0x5121ea(0x183)][_0x5121ea(0x18c)][_0x5121ea(0x143)](_0x5121ea(0x18f));this[_0x5121ea(0x17c)]=null,this[_0x5121ea(0x198)]=this[_0x5121ea(0x183)][_0x5121ea(0x147)][_0x5121ea(0x143)](_0x5121ea(0x194)),this[_0x5121ea(0x15f)]=new CloudServicesRevisionHistoryAdapter[(_0x5121ea(0x134))](_0x16b46d);}async[_0x50967d(0x12b)](){const _0x64d331=_0x50967d,_0x32a3d2=this[_0x64d331(0x183)][_0x64d331(0x147)][_0x64d331(0x143)](_0x37fc1d),_0x55f59d=_0x32a3d2[_0x64d331(0x15a)],_0x19f38c=this[_0x64d331(0x183)][_0x64d331(0x147)][_0x64d331(0x143)](_0x33dc26);this[_0x64d331(0x198)][_0x64d331(0x191)]({'history':_0x55f59d,'getLatestVersion':()=>this[_0x64d331(0x16c)](),'getCurrentRevisionId':()=>_0x32a3d2[_0x64d331(0x17d)]});const _0xa9169c=this[_0x64d331(0x183)][_0x64d331(0x18c)][_0x64d331(0x143)](_0x64d331(0x193))||_0x56c521,_0x3243b9=await _0x1fa0dd[_0x64d331(0x16e)](_0x19f38c[_0x64d331(0x135)],_0xa9169c);this[_0x64d331(0x183)][_0x64d331(0x147)][_0x64d331(0x143)](_0x64d331(0x14f))[_0x64d331(0x128)]={'getRevision':async({revisionId:_0x463458})=>(await this[_0x64d331(0x173)](),await this[_0x64d331(0x15f)][_0x64d331(0x18b)](_0x463458)),'updateRevisions':async _0x26423f=>{const _0x150119=_0x64d331;await this[_0x150119(0x173)]();const _0x5bf906=this[_0x150119(0x198)][_0x150119(0x159)];if(_0x3243b9&&0x1===_0x26423f[_0x150119(0x165)]&&_0x26423f[0x0]['id']===_0x5bf906['id'])return _0x26423f;for(const _0x3bae94 of _0x26423f)_0x3bae94['id']===_0x5bf906['id']&&(_0x3bae94[_0x150119(0x17b)]=_0x3bae94[_0x150119(0x150)]===_0x3bae94[_0x150119(0x130)]);return this[_0x150119(0x15f)][_0x150119(0x137)](_0x26423f,this[_0x150119(0x17c)])[_0x150119(0x13a)](_0xf5a470=>(this[_0x150119(0x17c)]=_0xf5a470,_0x26423f))[_0x150119(0x184)](_0x168c7f=>{const _0x144e78=_0x150119;if(I(_0x168c7f)||_0x144e78(0x16b)===_0x168c7f[_0x144e78(0x190)]&&void 0x0!==_0x168c7f[_0x144e78(0x139)][_0x144e78(0x14e)]){for(const _0x3e393c of _0x26423f){!this[_0x144e78(0x198)][_0x144e78(0x12d)][_0x144e78(0x18b)](_0x3e393c['id'])||this[_0x144e78(0x198)][_0x144e78(0x187)](_0x3e393c['id'],_0x3e393c,!0x1);}if(I(_0x168c7f))throw _0x168c7f;return _0x26423f;}throw _0x168c7f;});}},this[_0x64d331(0x199)](this[_0x64d331(0x15f)],_0x64d331(0x13f),(_0x314edf,{revisionsData:_0x16a7f8,requestId:_0x19bc42})=>{const _0x268e9b=_0x64d331;Math[_0x268e9b(0x16a)](..._0x16a7f8[_0x268e9b(0x174)](_0x4d1566=>_0x4d1566[_0x268e9b(0x130)]))>this[_0x268e9b(0x163)]()-0x1?this[_0x268e9b(0x16c)]()[_0x268e9b(0x13a)](()=>{const _0x4a9752=_0x268e9b;this[_0x4a9752(0x133)](_0x16a7f8,_0x19bc42);}):this[_0x268e9b(0x133)](_0x16a7f8,_0x19bc42);});const {revisions:_0x47d7ae,requestId:_0x464f05}=await this[_0x64d331(0x15f)][_0x64d331(0x178)](_0x19f38c[_0x64d331(0x135)]);_0x19f38c[_0x64d331(0x189)](this),this[_0x64d331(0x17c)]=_0x464f05,await this[_0x64d331(0x16d)](_0x47d7ae);for(const _0x4a231e of _0x47d7ae)this[_0x64d331(0x198)][_0x64d331(0x132)](_0x4a231e);this[_0x64d331(0x199)](_0x32a3d2,_0x64d331(0x162),(_0x18847e,_0x319e31,_0xf4f8d)=>{const _0x2a1f46=_0x64d331;_0xf4f8d&&(this[_0x2a1f46(0x180)]=_0x32a3d2[_0x2a1f46(0x192)],_0x18847e[_0x2a1f46(0x14a)]());}),this[_0x64d331(0x198)][_0x64d331(0x152)](_0x64d331(0x18a))['to'](_0x19f38c,_0x64d331(0x151),_0x334c3e=>_0x334c3e===_0x466722[_0x64d331(0x157)]);}async[_0x50967d(0x172)](){const _0x2529e9=_0x50967d,_0x132ec8=this[_0x2529e9(0x183)][_0x2529e9(0x147)][_0x2529e9(0x143)](_0x33dc26),_0x578a32=this[_0x2529e9(0x183)][_0x2529e9(0x147)][_0x2529e9(0x143)](_0x37fc1d),_0x19583b=async()=>{const _0xc2469a=_0x2529e9,_0x6986f4=this[_0xc2469a(0x198)][_0xc2469a(0x159)],_0x27b8e6=_0x6986f4['id'],_0x5a2faf=_0x27b8e6!==_0x578a32[_0xc2469a(0x17d)];if(_0x5a2faf){const _0xed888c=_0x578a32[_0xc2469a(0x192)]-this[_0xc2469a(0x180)],_0x3054c1=this[_0xc2469a(0x163)]();this[_0xc2469a(0x198)][_0xc2469a(0x12e)][_0xc2469a(0x17f)]();if(_0x6986f4[_0xc2469a(0x130)]+_0xed888c!==_0x3054c1){const _0x182515=_0x6986f4[_0xc2469a(0x150)]+_0xed888c,_0xf07c02=this[_0xc2469a(0x183)][_0xc2469a(0x147)][_0xc2469a(0x143)](_0x1cf4ae),_0x5cacc3=this[_0xc2469a(0x198)][_0xc2469a(0x148)]({'revision':_0x6986f4,'from':_0x182515,'to':_0x3054c1});_0x5cacc3['id']=_0x6986f4['id'];const _0x3e4ca9=_0x5cacc3[_0xc2469a(0x18d)][_0xc2469a(0x174)](_0x13beee=>_0xf07c02[_0xc2469a(0x171)](_0x13beee));_0x6986f4[_0xc2469a(0x12c)]({..._0x5cacc3,'authors':_0x3e4ca9},!0x0),this[_0xc2469a(0x198)][_0xc2469a(0x187)](_0x6986f4['id'],_0x5cacc3,!0x0);}this[_0xc2469a(0x198)][_0xc2469a(0x142)]=_0x3054c1,(_0x6986f4[_0xc2469a(0x130)]===_0x6986f4[_0xc2469a(0x150)]&&!this[_0xc2469a(0x198)][_0xc2469a(0x160)][_0xc2469a(0x168)](_0x27b8e6)&&this[_0xc2469a(0x198)][_0xc2469a(0x12d)][_0xc2469a(0x15d)][_0xc2469a(0x12f)](_0x27b8e6),this[_0xc2469a(0x198)][_0xc2469a(0x129)](_0x3054c1));}const {revisions:_0x1f9e3d,requestId:_0x5a0182}=await this[_0xc2469a(0x15f)][_0xc2469a(0x172)](_0x132ec8[_0xc2469a(0x135)],this[_0xc2469a(0x17c)]);_0x5a2faf&&_0x1f9e3d[_0xc2469a(0x165)]>0x0?_0x578a32[_0xc2469a(0x144)]():(await this[_0xc2469a(0x16d)](_0x1f9e3d),this[_0xc2469a(0x133)](_0x1f9e3d,_0x5a0182),this[_0xc2469a(0x198)][_0xc2469a(0x17e)]());};return _0x578a32[_0x2529e9(0x155)]?_0x19583b():new Promise((_0xf772f6,_0x2185d3)=>{const _0x8c322a=_0x2529e9;_0x578a32[_0x8c322a(0x136)](_0x8c322a(0x162),()=>{const _0x51a0f5=_0x8c322a;_0x19583b()[_0x51a0f5(0x13a)](_0xf772f6)[_0x51a0f5(0x184)](_0x2185d3);});});}[_0x50967d(0x13c)](){const _0xf9a327=_0x50967d;super[_0xf9a327(0x13c)]();}async[_0x50967d(0x173)](){const _0x25dfc1=_0x50967d;this[_0x25dfc1(0x15f)][_0x25dfc1(0x164)]||await new Promise(_0x462e21=>{const _0x2f0f49=_0x25dfc1;this[_0x2f0f49(0x199)](this[_0x2f0f49(0x15f)],_0x2f0f49(0x14d),_0x414a6d=>{const _0x324c15=_0x2f0f49;_0x414a6d[_0x324c15(0x14a)](),_0x462e21();});});}[_0x50967d(0x163)](){const _0x232f6f=_0x50967d,_0x4a7c52=this[_0x232f6f(0x183)][_0x232f6f(0x147)][_0x232f6f(0x143)](_0x37fc1d)[_0x232f6f(0x15a)][_0x232f6f(0x19a)]()[_0x232f6f(0x170)]();for(const _0x48815c of _0x4a7c52)if(_0x232f6f(0x13b)!==_0x48815c[_0x232f6f(0x18e)]||_0x48815c[_0x232f6f(0x181)])return _0x48815c[_0x232f6f(0x158)]+0x1;}[_0x50967d(0x16c)](){const _0x2b2725=_0x50967d,_0x493fa2=this[_0x2b2725(0x183)][_0x2b2725(0x147)][_0x2b2725(0x143)](_0x37fc1d);return new Promise(_0x2e769b=>{const _0x20ff13=_0x2b2725;_0x493fa2[_0x20ff13(0x161)]?_0x493fa2[_0x20ff13(0x136)](_0x20ff13(0x14c),()=>{const _0x369f98=_0x20ff13;_0x2e769b(this[_0x369f98(0x163)]());}):_0x2e769b(this[_0x20ff13(0x163)]());});}[_0x50967d(0x133)](_0x5b7aa3,_0x2f7b49){const _0x5c5b94=_0x50967d,_0x1fd6ff=this[_0x5c5b94(0x198)][_0x5c5b94(0x12d)];this[_0x5c5b94(0x17c)]=_0x2f7b49;for(const _0x596bc4 of _0x5b7aa3){const _0x19bfcb=_0x1fd6ff[_0x5c5b94(0x18b)](_0x596bc4['id']);if(_0x19bfcb){if((_0x596bc4[_0x5c5b94(0x150)]||_0x596bc4[_0x5c5b94(0x130)])&&(_0x596bc4[_0x5c5b94(0x12a)]=null),_0x19bfcb===this[_0x5c5b94(0x198)][_0x5c5b94(0x159)]){const _0x20464c=Math[_0x5c5b94(0x16a)](_0x19bfcb[_0x5c5b94(0x130)],_0x596bc4[_0x5c5b94(0x130)]),_0x16e54b=Math[_0x5c5b94(0x16a)](_0x19bfcb[_0x5c5b94(0x150)],_0x596bc4[_0x5c5b94(0x150)]);let _0xb8ece4;_0x19bfcb[_0x5c5b94(0x130)]===_0x596bc4[_0x5c5b94(0x130)]&&_0x19bfcb[_0x5c5b94(0x150)]===_0x596bc4[_0x5c5b94(0x150)]?(_0xb8ece4=!0x0,this[_0x5c5b94(0x145)](_0x596bc4)):_0x596bc4[_0x5c5b94(0x130)]===_0x20464c&&_0x596bc4[_0x5c5b94(0x150)]===_0x16e54b?_0xb8ece4=!0x1:(_0x19bfcb[_0x5c5b94(0x130)]===_0x20464c&&_0x19bfcb[_0x5c5b94(0x150)]===_0x16e54b||this[_0x5c5b94(0x186)]({'revision':_0x19bfcb,'from':_0x16e54b,'to':_0x20464c}),_0xb8ece4=!0x0),_0xb8ece4&&(delete _0x596bc4[_0x5c5b94(0x150)],delete _0x596bc4[_0x5c5b94(0x130)],delete _0x596bc4[_0x5c5b94(0x12a)],delete _0x596bc4[_0x5c5b94(0x188)],delete _0x596bc4[_0x5c5b94(0x18d)]);}this[_0x5c5b94(0x198)][_0x5c5b94(0x15c)](_0x596bc4),this[_0x5c5b94(0x145)](_0x596bc4);}else this[_0x5c5b94(0x198)][_0x5c5b94(0x132)](_0x596bc4);}const _0x4589b4=_0x1fd6ff[_0x5c5b94(0x195)]();_0x4589b4[_0x5c5b94(0x170)]();for(let _0x1131f5=0x0;_0x1131f5<_0x4589b4[_0x5c5b94(0x165)]-0x1;_0x1131f5++){const _0x3d018c=_0x4589b4[_0x1131f5],_0x382467=_0x4589b4[_0x1131f5+0x1];if(_0x3d018c[_0x5c5b94(0x150)]<_0x382467[_0x5c5b94(0x130)]){const _0x95af42=_0x382467[_0x5c5b94(0x130)],_0x4a4744=Math[_0x5c5b94(0x16a)](_0x95af42,_0x3d018c[_0x5c5b94(0x130)]);this[_0x5c5b94(0x186)]({'revision':_0x3d018c,'from':_0x95af42,'to':_0x4a4744});}}}[_0x50967d(0x186)]({revision:_0x510063,from:_0x3d0266,to:_0x5503cc}={}){const _0x2b63fc=_0x50967d,_0x173e0e=this[_0x2b63fc(0x183)][_0x2b63fc(0x147)][_0x2b63fc(0x143)](_0x1cf4ae),_0x3388fe=this[_0x2b63fc(0x198)][_0x2b63fc(0x148)]({'revision':_0x510063,'from':_0x3d0266,'to':_0x5503cc});_0x3388fe[_0x2b63fc(0x131)]=_0x3388fe[_0x2b63fc(0x18d)][_0x2b63fc(0x174)](_0x53e661=>_0x173e0e[_0x2b63fc(0x171)](_0x53e661)),_0x510063[_0x2b63fc(0x12c)](_0x3388fe);}[_0x50967d(0x145)](_0x17b6e9){const _0x4e98a7=_0x50967d,_0x39a1da={};_0x39a1da['id']=_0x17b6e9['id'];for(const _0x498189 of Object[_0x4e98a7(0x14b)](_0x17b6e9))'id'!==_0x498189&&(_0x39a1da[_0x498189]=void 0x0);this[_0x4e98a7(0x198)][_0x4e98a7(0x187)](_0x39a1da['id'],_0x39a1da,!0x0);}async[_0x50967d(0x16d)](_0x1473b3){const _0x4b5e49=_0x50967d,_0x19241b=this[_0x4b5e49(0x183)][_0x4b5e49(0x147)][_0x4b5e49(0x143)](_0x1cf4ae),{connection:_0x4e91b4}=this[_0x4b5e49(0x183)][_0x4b5e49(0x147)][_0x4b5e49(0x143)](_0x33dc26),_0x5510fa=new Set();for(const _0x51d755 of _0x1473b3){for(const _0x57ba9c of _0x51d755[_0x4b5e49(0x18d)])_0x4af37f(_0x57ba9c);_0x51d755[_0x4b5e49(0x153)]&&_0x4af37f(_0x51d755[_0x4b5e49(0x153)]);}if(0x0===_0x5510fa[_0x4b5e49(0x17a)])return;const _0x39748f=await _0x417510[_0x4b5e49(0x167)](_0x4e91b4,Array[_0x4b5e49(0x127)](_0x5510fa));for(const _0x185fce of _0x39748f)_0x19241b[_0x4b5e49(0x171)](_0x185fce['id'])||_0x19241b[_0x4b5e49(0x13d)](_0x185fce);function _0x4af37f(_0x41e954){const _0x568c97=_0x4b5e49;_0x19241b[_0x568c97(0x171)](_0x41e954)||_0x5510fa[_0x568c97(0x185)](_0x41e954);}}}function I(_0x4a20b2){const _0x24c248=_0x50967d;return _0x4a20b2[_0x24c248(0x154)][_0x24c248(0x149)](_0x24c248(0x175))||_0x4a20b2[_0x24c248(0x154)][_0x24c248(0x149)](_0x24c248(0x13e))||_0x4a20b2[_0x24c248(0x154)][_0x24c248(0x149)](_0x24c248(0x176));}
|
|
23
|
+
const _0x336790=_0x3e82;(function(_0x233b75,_0x4d437e){const _0x2e6800=_0x3e82,_0x49a0d0=_0x233b75();while(!![]){try{const _0x35794d=-parseInt(_0x2e6800(0xd4))/0x1+-parseInt(_0x2e6800(0xb0))/0x2+-parseInt(_0x2e6800(0x9c))/0x3+parseInt(_0x2e6800(0xe4))/0x4*(parseInt(_0x2e6800(0x106))/0x5)+parseInt(_0x2e6800(0x105))/0x6*(parseInt(_0x2e6800(0xb3))/0x7)+parseInt(_0x2e6800(0xb1))/0x8+-parseInt(_0x2e6800(0xdc))/0x9*(parseInt(_0x2e6800(0xb2))/0xa);if(_0x35794d===_0x4d437e)break;else _0x49a0d0['push'](_0x49a0d0['shift']());}catch(_0x57e581){_0x49a0d0['push'](_0x49a0d0['shift']());}}}(_0x392c,0xbb838));import{Plugin as _0x31ae97}from'ckeditor5/src/core.js';function _0x3e82(_0x35a926,_0x6faa3e){const _0x392c3a=_0x392c();return _0x3e82=function(_0x3e8270,_0x192be7){_0x3e8270=_0x3e8270-0x94;let _0x30ac39=_0x392c3a[_0x3e8270];return _0x30ac39;},_0x3e82(_0x35a926,_0x6faa3e);}function _0x392c(){const _0x20c145=['message','getRevisions','getRevision','_getLatestVersion','length','_startingVersion','off','data','CONNECTED','size','1434aFKzyq','5pVekcZ','reverse','config','connected','has','RevisionTracker','_revisionHistoryService','_getLatestVersionFromServerOperations','editor','revisionsUpdated','173787ZarEIZ','get','pluginName','CloudServicesRevisionHistoryAdapter','_bufferedUpdates','addUser','init','map','sendBufferedUpdates','fromVersion','_oldOffset','_fetchMissingUsers','keys','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','_isPendingUpdate','_bufferUpdate','_waitForServiceReady','baseVersion','setRevisionData','961596gdvBzL','5749624coXMJv','2090LFJwCZ','28763tgJBuZ','setSource','addRevisionData','RevisionHistoryService','updateRevisions','connection','catch','repository','adapter','_createCurrentRevision','remove','RevisionHistory','cloudServices.bundleVersion','authorsIds','code','getMany','addToReconnectionStack','destroy','isPremiumPlugin','connect','400','_handleRevisionsUpdate','state','authors','listenTo','startsWith','type','_update','creatorId','isEmptyCurrent','isOfficialPlugin','toVersion','plugins','123494jCLhKA','then','cloud-services-internal-error:\x20Not\x20connected.','marker','isEnabled','from','_lastRequestId','currentRevision','19323XeZNxK','isConnected','once','max','requires','reconnect','serverHistory','_revisionDataBuilder','712984UFNuoI','sessionId','bind','add','_revisions','getOperations','reInit','_isConnected','_offset','isBundleUploaded','change:_isConnected','collaboration.channelId','_revisionTracker','_handleReconnectionError','wrongRequestId','_preventResendingRevisionData','getUser','affectsData','diffData','change:_isPendingUpdate','buildRevisionData','createdAt','_fixRevision'];_0x392c=function(){return _0x20c145;};return _0x392c();}import{version as _0x1748b9}from'ckeditor5/src/utils.js';import{Users as _0x460e7e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x43ff36}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x397a13}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x44b71c}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5c4201,RevisionHistoryService as _0x599c08,User as _0x1d556f,WEB_SOCKET_GATEWAY_STATES as _0x1fe136}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x31ae97{static [_0x336790(0xb6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x599c08)());[_0x336790(0xda)];[_0x336790(0xf0)];[_0x336790(0x98)];[_0x336790(0xa6)];static get[_0x336790(0xe0)](){const _0x5c3d7a=_0x336790;return[_0x397a13,_0x43ff36,_0x5c3d7a(0xbe),_0x44b71c,_0x460e7e];}static get[_0x336790(0x9e)](){const _0x3b5e69=_0x336790;return _0x3b5e69(0x9f);}static get[_0x336790(0xd1)](){return!0x0;}static get[_0x336790(0xc5)](){return!0x0;}constructor(_0x2f5ade){const _0x3782e2=_0x336790;super(_0x2f5ade);const _0x357161=this[_0x3782e2(0x9a)][_0x3782e2(0x94)][_0x3782e2(0x9d)](_0x3782e2(0xef));this[_0x3782e2(0xda)]=null,this[_0x3782e2(0xf0)]=this[_0x3782e2(0x9a)][_0x3782e2(0xd3)][_0x3782e2(0x9d)](_0x3782e2(0x97)),this[_0x3782e2(0x98)]=new CloudServicesRevisionHistoryAdapter[(_0x3782e2(0xb6))](_0x357161);}async[_0x336790(0xa2)](){const _0x2dbd7f=_0x336790,_0x4c2c61=this[_0x2dbd7f(0x9a)][_0x2dbd7f(0xd3)][_0x2dbd7f(0x9d)](_0x43ff36),_0xf0fa9b=_0x4c2c61[_0x2dbd7f(0xe2)],_0x47b16c=this[_0x2dbd7f(0x9a)][_0x2dbd7f(0xd3)][_0x2dbd7f(0x9d)](_0x397a13);this[_0x2dbd7f(0xf0)][_0x2dbd7f(0xb4)]({'history':_0xf0fa9b,'getLatestVersion':()=>this[_0x2dbd7f(0xfe)](),'getCurrentRevisionId':()=>_0x4c2c61[_0x2dbd7f(0xe5)]});const _0x493b0d=this[_0x2dbd7f(0x9a)][_0x2dbd7f(0x94)][_0x2dbd7f(0x9d)](_0x2dbd7f(0xbf))||_0x1748b9,_0x158c95=await _0x5c4201[_0x2dbd7f(0xed)](_0x47b16c[_0x2dbd7f(0xb8)],_0x493b0d);this[_0x2dbd7f(0x9a)][_0x2dbd7f(0xd3)][_0x2dbd7f(0x9d)](_0x2dbd7f(0xbe))[_0x2dbd7f(0xbb)]={'getRevision':async({revisionId:_0x2341b4})=>(await this[_0x2dbd7f(0xad)](),await this[_0x2dbd7f(0x98)][_0x2dbd7f(0xfd)](_0x2341b4)),'updateRevisions':async _0x3a59b8=>{const _0x4970e9=_0x2dbd7f;await this[_0x4970e9(0xad)]();const _0x490b97=this[_0x4970e9(0xf0)][_0x4970e9(0xdb)];if(_0x158c95&&0x1===_0x3a59b8[_0x4970e9(0xff)]&&_0x3a59b8[0x0]['id']===_0x490b97['id'])return _0x3a59b8;for(const _0x3a367a of _0x3a59b8)_0x3a367a['id']===_0x490b97['id']&&(_0x3a367a[_0x4970e9(0xd0)]=_0x3a367a[_0x4970e9(0xa5)]===_0x3a367a[_0x4970e9(0xd2)]);return this[_0x4970e9(0x98)][_0x4970e9(0xb7)](_0x3a59b8,this[_0x4970e9(0xda)])[_0x4970e9(0xd5)](_0x3501f4=>(this[_0x4970e9(0xda)]=_0x3501f4,_0x3a59b8))[_0x4970e9(0xb9)](_0x4ebe1a=>{const _0x2219e9=_0x4970e9;if(J(_0x4ebe1a)||_0x2219e9(0xc7)===_0x4ebe1a[_0x2219e9(0xc1)]&&void 0x0!==_0x4ebe1a[_0x2219e9(0x102)][_0x2219e9(0xf2)]){for(const _0x588acd of _0x3a59b8){!this[_0x2219e9(0xf0)][_0x2219e9(0xba)][_0x2219e9(0xfd)](_0x588acd['id'])||this[_0x2219e9(0xf0)][_0x2219e9(0xac)](_0x588acd['id'],_0x588acd,!0x1);}if(J(_0x4ebe1a))throw _0x4ebe1a;return _0x3a59b8;}throw _0x4ebe1a;});}},this[_0x2dbd7f(0xcb)](this[_0x2dbd7f(0x98)],_0x2dbd7f(0x9b),(_0x3aef65,{revisionsData:_0x153612,requestId:_0x25f100})=>{const _0x5119ab=_0x2dbd7f;Math[_0x5119ab(0xdf)](..._0x153612[_0x5119ab(0xa3)](_0x373cd5=>_0x373cd5[_0x5119ab(0xd2)]))>this[_0x5119ab(0x99)]()-0x1?this[_0x5119ab(0xfe)]()[_0x5119ab(0xd5)](()=>{const _0x1224fb=_0x5119ab;this[_0x1224fb(0xc8)](_0x153612,_0x25f100);}):this[_0x5119ab(0xc8)](_0x153612,_0x25f100);});const {revisions:_0x279f01,requestId:_0x205f72}=await this[_0x2dbd7f(0x98)][_0x2dbd7f(0xc6)](_0x47b16c[_0x2dbd7f(0xb8)]);_0x47b16c[_0x2dbd7f(0xc3)](this),this[_0x2dbd7f(0xda)]=_0x205f72,await this[_0x2dbd7f(0xa7)](_0x279f01);for(const _0x1e5acd of _0x279f01)this[_0x2dbd7f(0xf0)][_0x2dbd7f(0xb5)](_0x1e5acd);this[_0x2dbd7f(0xcb)](_0x4c2c61,_0x2dbd7f(0xee),(_0x1d8881,_0x29986e,_0x2de665)=>{const _0x50d77e=_0x2dbd7f;_0x2de665&&(this[_0x50d77e(0xa6)]=_0x4c2c61[_0x50d77e(0xec)],_0x1d8881[_0x50d77e(0x101)]());}),this[_0x2dbd7f(0xf0)][_0x2dbd7f(0xe6)](_0x2dbd7f(0xd8))['to'](_0x47b16c,_0x2dbd7f(0xc9),_0x433c33=>_0x433c33===_0x1fe136[_0x2dbd7f(0x103)]);}async[_0x336790(0xe1)](){const _0x1d6e5d=_0x336790,_0x169af7=this[_0x1d6e5d(0x9a)][_0x1d6e5d(0xd3)][_0x1d6e5d(0x9d)](_0x397a13),_0x2600b7=this[_0x1d6e5d(0x9a)][_0x1d6e5d(0xd3)][_0x1d6e5d(0x9d)](_0x43ff36),_0x64339b=async()=>{const _0x27afa0=_0x1d6e5d,_0x325829=this[_0x27afa0(0xf0)][_0x27afa0(0xdb)],_0x5effda=_0x325829['id'],_0x30add7=_0x5effda!==_0x2600b7[_0x27afa0(0xe5)];if(_0x30add7){const _0x38edd6=_0x2600b7[_0x27afa0(0xec)]-this[_0x27afa0(0xa6)],_0x5e07a6=this[_0x27afa0(0x99)]();this[_0x27afa0(0xf0)][_0x27afa0(0xe3)][_0x27afa0(0xea)]();if(_0x325829[_0x27afa0(0xd2)]+_0x38edd6!==_0x5e07a6){const _0x2ddcc6=_0x325829[_0x27afa0(0xa5)]+_0x38edd6,_0x5cc064=this[_0x27afa0(0x9a)][_0x27afa0(0xd3)][_0x27afa0(0x9d)](_0x460e7e),_0xfbf927=this[_0x27afa0(0xf0)][_0x27afa0(0xf8)]({'revision':_0x325829,'from':_0x2ddcc6,'to':_0x5e07a6});_0xfbf927['id']=_0x325829['id'];const _0x3097e7=_0xfbf927[_0x27afa0(0xc0)][_0x27afa0(0xa3)](_0x3c1017=>_0x5cc064[_0x27afa0(0xf4)](_0x3c1017));_0x325829[_0x27afa0(0xce)]({..._0xfbf927,'authors':_0x3097e7},!0x0),this[_0x27afa0(0xf0)][_0x27afa0(0xac)](_0x325829['id'],_0xfbf927,!0x0);}this[_0x27afa0(0xf0)][_0x27afa0(0x100)]=_0x5e07a6,(_0x325829[_0x27afa0(0xd2)]===_0x325829[_0x27afa0(0xa5)]&&!this[_0x27afa0(0xf0)][_0x27afa0(0xa0)][_0x27afa0(0x96)](_0x5effda)&&this[_0x27afa0(0xf0)][_0x27afa0(0xba)][_0x27afa0(0xe8)][_0x27afa0(0xbd)](_0x5effda),this[_0x27afa0(0xf0)][_0x27afa0(0xbc)](_0x5e07a6));}const {revisions:_0x3c9c83,requestId:_0x398c26}=await this[_0x27afa0(0x98)][_0x27afa0(0xe1)](_0x169af7[_0x27afa0(0xb8)],this[_0x27afa0(0xda)]);_0x30add7&&_0x3c9c83[_0x27afa0(0xff)]>0x0?_0x2600b7[_0x27afa0(0xf1)]():(await this[_0x27afa0(0xa7)](_0x3c9c83),this[_0x27afa0(0xc8)](_0x3c9c83,_0x398c26),this[_0x27afa0(0xf0)][_0x27afa0(0xa4)]());};return _0x2600b7[_0x1d6e5d(0xeb)]?_0x64339b():new Promise((_0x3d74ab,_0x5c6b24)=>{const _0x1a7d7a=_0x1d6e5d;_0x2600b7[_0x1a7d7a(0xde)](_0x1a7d7a(0xee),()=>{const _0x238256=_0x1a7d7a;_0x64339b()[_0x238256(0xd5)](_0x3d74ab)[_0x238256(0xb9)](_0x5c6b24);});});}[_0x336790(0xc4)](){const _0x42e238=_0x336790;super[_0x42e238(0xc4)]();}async[_0x336790(0xad)](){const _0x5e562e=_0x336790;this[_0x5e562e(0x98)][_0x5e562e(0xdd)]||await new Promise(_0x328ddd=>{const _0x22de0d=_0x5e562e;this[_0x22de0d(0xcb)](this[_0x22de0d(0x98)],_0x22de0d(0x95),_0x5bdb54=>{const _0x4ccdd7=_0x22de0d;_0x5bdb54[_0x4ccdd7(0x101)](),_0x328ddd();});});}[_0x336790(0x99)](){const _0xcc4f9f=_0x336790,_0x5a276d=this[_0xcc4f9f(0x9a)][_0xcc4f9f(0xd3)][_0xcc4f9f(0x9d)](_0x43ff36)[_0xcc4f9f(0xe2)][_0xcc4f9f(0xe9)]()[_0xcc4f9f(0x107)]();for(const _0x2d294e of _0x5a276d)if(_0xcc4f9f(0xd7)!==_0x2d294e[_0xcc4f9f(0xcd)]||_0x2d294e[_0xcc4f9f(0xf5)])return _0x2d294e[_0xcc4f9f(0xae)]+0x1;}[_0x336790(0xfe)](){const _0x5e0547=_0x336790,_0x19d6fb=this[_0x5e0547(0x9a)][_0x5e0547(0xd3)][_0x5e0547(0x9d)](_0x43ff36);return new Promise(_0x23506=>{const _0x340170=_0x5e0547;_0x19d6fb[_0x340170(0xab)]?_0x19d6fb[_0x340170(0xde)](_0x340170(0xf7),()=>{const _0x6ed1cb=_0x340170;_0x23506(this[_0x6ed1cb(0x99)]());}):_0x23506(this[_0x340170(0x99)]());});}[_0x336790(0xc8)](_0x2a9d7a,_0x420ab0){const _0x969522=_0x336790,_0x206738=this[_0x969522(0xf0)][_0x969522(0xba)];this[_0x969522(0xda)]=_0x420ab0;for(const _0x5b1567 of _0x2a9d7a){const _0x5f2717=_0x206738[_0x969522(0xfd)](_0x5b1567['id']);if(_0x5f2717){if((_0x5b1567[_0x969522(0xa5)]||_0x5b1567[_0x969522(0xd2)])&&(_0x5b1567[_0x969522(0xf6)]=null),_0x5f2717===this[_0x969522(0xf0)][_0x969522(0xdb)]){const _0x4201f2=Math[_0x969522(0xdf)](_0x5f2717[_0x969522(0xd2)],_0x5b1567[_0x969522(0xd2)]),_0x4ac63f=Math[_0x969522(0xdf)](_0x5f2717[_0x969522(0xa5)],_0x5b1567[_0x969522(0xa5)]);let _0x5352f9;_0x5f2717[_0x969522(0xd2)]===_0x5b1567[_0x969522(0xd2)]&&_0x5f2717[_0x969522(0xa5)]===_0x5b1567[_0x969522(0xa5)]?(_0x5352f9=!0x0,this[_0x969522(0xf3)](_0x5b1567)):_0x5b1567[_0x969522(0xd2)]===_0x4201f2&&_0x5b1567[_0x969522(0xa5)]===_0x4ac63f?_0x5352f9=!0x1:(_0x5f2717[_0x969522(0xd2)]===_0x4201f2&&_0x5f2717[_0x969522(0xa5)]===_0x4ac63f||this[_0x969522(0xfa)]({'revision':_0x5f2717,'from':_0x4ac63f,'to':_0x4201f2}),_0x5352f9=!0x0),_0x5352f9&&(delete _0x5b1567[_0x969522(0xa5)],delete _0x5b1567[_0x969522(0xd2)],delete _0x5b1567[_0x969522(0xf6)],delete _0x5b1567[_0x969522(0xf9)],delete _0x5b1567[_0x969522(0xc0)]);}this[_0x969522(0xf0)][_0x969522(0xaf)](_0x5b1567),this[_0x969522(0xf3)](_0x5b1567);}else this[_0x969522(0xf0)][_0x969522(0xb5)](_0x5b1567);}const _0x23325f=_0x206738[_0x969522(0xfc)]();_0x23325f[_0x969522(0x107)]();for(let _0x27d8b6=0x0;_0x27d8b6<_0x23325f[_0x969522(0xff)]-0x1;_0x27d8b6++){const _0x182b8a=_0x23325f[_0x27d8b6],_0x5d7f2b=_0x23325f[_0x27d8b6+0x1];if(_0x182b8a[_0x969522(0xa5)]<_0x5d7f2b[_0x969522(0xd2)]){const _0x5953b2=_0x5d7f2b[_0x969522(0xd2)],_0x5a2c67=Math[_0x969522(0xdf)](_0x5953b2,_0x182b8a[_0x969522(0xd2)]);this[_0x969522(0xfa)]({'revision':_0x182b8a,'from':_0x5953b2,'to':_0x5a2c67});}}}[_0x336790(0xfa)]({revision:_0x3f555f,from:_0x52e18d,to:_0x48c0c0}={}){const _0x42c2f9=_0x336790,_0x23cea9=this[_0x42c2f9(0x9a)][_0x42c2f9(0xd3)][_0x42c2f9(0x9d)](_0x460e7e),_0xdd9b35=this[_0x42c2f9(0xf0)][_0x42c2f9(0xf8)]({'revision':_0x3f555f,'from':_0x52e18d,'to':_0x48c0c0});_0xdd9b35[_0x42c2f9(0xca)]=_0xdd9b35[_0x42c2f9(0xc0)][_0x42c2f9(0xa3)](_0x380bbd=>_0x23cea9[_0x42c2f9(0xf4)](_0x380bbd)),_0x3f555f[_0x42c2f9(0xce)](_0xdd9b35);}[_0x336790(0xf3)](_0x1ff21f){const _0x363b18=_0x336790,_0x89ad94={};_0x89ad94['id']=_0x1ff21f['id'];for(const _0x34f4bc of Object[_0x363b18(0xa8)](_0x1ff21f))'id'!==_0x34f4bc&&(_0x89ad94[_0x34f4bc]=void 0x0);this[_0x363b18(0xf0)][_0x363b18(0xac)](_0x89ad94['id'],_0x89ad94,!0x0);}async[_0x336790(0xa7)](_0x3c562d){const _0x18c85d=_0x336790,_0xc27d60=this[_0x18c85d(0x9a)][_0x18c85d(0xd3)][_0x18c85d(0x9d)](_0x460e7e),{connection:_0x53f071}=this[_0x18c85d(0x9a)][_0x18c85d(0xd3)][_0x18c85d(0x9d)](_0x397a13),_0x65018f=new Set();for(const _0x1245d3 of _0x3c562d){for(const _0x20bb13 of _0x1245d3[_0x18c85d(0xc0)])_0x4d5919(_0x20bb13);_0x1245d3[_0x18c85d(0xcf)]&&_0x4d5919(_0x1245d3[_0x18c85d(0xcf)]);}if(0x0===_0x65018f[_0x18c85d(0x104)])return;const _0x13db30=await _0x1d556f[_0x18c85d(0xc2)](_0x53f071,Array[_0x18c85d(0xd9)](_0x65018f));for(const _0x5f0cf5 of _0x13db30)_0xc27d60[_0x18c85d(0xf4)](_0x5f0cf5['id'])||_0xc27d60[_0x18c85d(0xa1)](_0x5f0cf5);function _0x4d5919(_0x5f2657){const _0x3ca941=_0x18c85d;_0xc27d60[_0x3ca941(0xf4)](_0x5f2657)||_0x65018f[_0x3ca941(0xe7)](_0x5f2657);}}}function J(_0x3c596b){const _0x23b5f4=_0x336790;return _0x3c596b[_0x23b5f4(0xfb)][_0x23b5f4(0xcc)](_0x23b5f4(0xa9))||_0x3c596b[_0x23b5f4(0xfb)][_0x23b5f4(0xcc)](_0x23b5f4(0xd6))||_0x3c596b[_0x23b5f4(0xfb)][_0x23b5f4(0xcc)](_0x23b5f4(0xaa));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x18791b=_0x3a54;(function(_0x5b871e,_0x4391c9){var _0x903995=_0x3a54,_0x2827e5=_0x5b871e();while(!![]){try{var _0x461d37=parseInt(_0x903995(0x194))/0x1*(parseInt(_0x903995(0x18f))/0x2)+-parseInt(_0x903995(0x19f))/0x3*(-parseInt(_0x903995(0x19e))/0x4)+parseInt(_0x903995(0x196))/0x5*(parseInt(_0x903995(0x18e))/0x6)+-parseInt(_0x903995(0x193))/0x7*(parseInt(_0x903995(0x191))/0x8)+parseInt(_0x903995(0x1a0))/0x9+parseInt(_0x903995(0x192))/0xa*(parseInt(_0x903995(0x199))/0xb)+-parseInt(_0x903995(0x195))/0xc*(parseInt(_0x903995(0x19a))/0xd);if(_0x461d37===_0x4391c9)break;else _0x2827e5['push'](_0x2827e5['shift']());}catch(_0x1800d3){_0x2827e5['push'](_0x2827e5['shift']());}}}(_0x544a,0x60477));function _0x3a54(_0x1e0f42,_0x45fad5){var _0x544a59=_0x544a();return _0x3a54=function(_0x3a54ed,_0x4fd5c3){_0x3a54ed=_0x3a54ed-0x18e;var _0x531159=_0x544a59[_0x3a54ed];return _0x531159;},_0x3a54(_0x1e0f42,_0x45fad5);}import{Plugin as _0x263c95}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x4c2a10}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x544a(){var _0x46634e=['isOfficialPlugin','45692TvIiKl','60sWieeX','3290895mLBkzn','611634FfRAzS','10334OKGDlP','isPremiumPlugin','8HtZuzj','30sqMtPx','4694221vcChXG','7qtiaKQ','423696EMENwJ','15jFNfyl','RealTimeCollaborativeRevisionHistory','RevisionHistory','2543893DBwvFA','208aoVoMv','pluginName','requires'];_0x544a=function(){return _0x46634e;};return _0x544a();}import{RealTimeCollaborativeEditing as _0x197216}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x263c95{static get[_0x18791b(0x19c)](){var _0x53cf9a=_0x18791b;return[_0x53cf9a(0x198),_0x4c2a10,_0x197216];}static get[_0x18791b(0x19b)](){var _0x2793a3=_0x18791b;return _0x2793a3(0x197);}static get[_0x18791b(0x19d)](){return!0x0;}static get[_0x18791b(0x190)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x481d(){const _0x57c5ee=['type','1143ZBmDAH','getUser','2709252mMVqms','startsWith','catch','TrackChangesEditing','open','4916bMZqzg','addToReconnectionStack','attributes','delete','size','originalSuggestionId','connect','isPremiumPlugin','get','values','addUser','828406qRlaxp','pluginName','1193205HUbqcp','data','then','_saved','init','TrackChangesService','_trackChangesService','getSuggestion','requires','update','isConnected','connected','message','reconnect','_waitForServiceReady','_bufferedRequests','off','plugins','64251uCjzis','listenTo','set','2244753cbsAAm','hasSuggestion','_fetchMissingUsersForThreads','isOfficialPlugin','connection','config','add','1000MfjDgd','adapter','191115eHGTze','state','addSuggestionData','collaboration.channelId','cloud-services-internal-error:\x20Not\x20connected.','getMany','cloud-services-internal-error:\x20Request\x20timeout.','editor','from','find','CloudServicesTrackChangesAdapter','suggestionUpdated'];_0x481d=function(){return _0x57c5ee;};return _0x481d();}const _0x1bd5b7=_0x18c4;(function(_0x1162b0,_0x40dd57){const _0x40b3bd=_0x18c4,_0x193c70=_0x1162b0();while(!![]){try{const _0x238fb1=parseInt(_0x40b3bd(0x172))/0x1+-parseInt(_0x40b3bd(0x191))/0x2+parseInt(_0x40b3bd(0x17f))/0x3*(-parseInt(_0x40b3bd(0x186))/0x4)+parseInt(_0x40b3bd(0x193))/0x5+-parseInt(_0x40b3bd(0x181))/0x6+parseInt(_0x40b3bd(0x169))/0x7+-parseInt(_0x40b3bd(0x170))/0x8*(-parseInt(_0x40b3bd(0x166))/0x9);if(_0x238fb1===_0x40dd57)break;else _0x193c70['push'](_0x193c70['shift']());}catch(_0x572b4a){_0x193c70['push'](_0x193c70['shift']());}}}(_0x481d,0x4b650));function _0x18c4(_0x9eb7d,_0x3c2270){const _0x481dde=_0x481d();return _0x18c4=function(_0x18c417,_0x26b9de){_0x18c417=_0x18c417-0x15c;let _0x58e0d9=_0x481dde[_0x18c417];return _0x58e0d9;},_0x18c4(_0x9eb7d,_0x3c2270);}import{Plugin as _0x5c899a}from'ckeditor5/src/core.js';import{User as _0x50ec20,TrackChangesService as _0x4e4698}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x268e84}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x17e550}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4e5943}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5c899a{static [_0x1bd5b7(0x198)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4e4698)());[_0x1bd5b7(0x163)];[_0x1bd5b7(0x199)];static get[_0x1bd5b7(0x15c)](){const _0x190ace=_0x1bd5b7;return[_0x17e550,_0x190ace(0x184),_0x268e84];}static get[_0x1bd5b7(0x192)](){const _0x233d1f=_0x1bd5b7;return _0x233d1f(0x17c);}static get[_0x1bd5b7(0x16c)](){return!0x0;}static get[_0x1bd5b7(0x18d)](){return!0x0;}constructor(_0x339efc){const _0x5bcd42=_0x1bd5b7;super(_0x339efc);const _0x1501ec=this[_0x5bcd42(0x179)][_0x5bcd42(0x16e)][_0x5bcd42(0x18e)](_0x5bcd42(0x175));this[_0x5bcd42(0x163)]=new Map(),this[_0x5bcd42(0x199)]=new CloudServicesTrackChangesAdapter[(_0x5bcd42(0x198))](_0x1501ec);}[_0x1bd5b7(0x197)](){const _0x12e345=_0x1bd5b7,_0x431c89=this[_0x12e345(0x179)][_0x12e345(0x165)][_0x12e345(0x18e)](_0x268e84),_0x1f3078=this[_0x12e345(0x179)][_0x12e345(0x165)][_0x12e345(0x18e)](_0x12e345(0x184));return _0x1f3078[_0x12e345(0x171)]={'getSuggestion':async _0x1a1918=>{const _0x447e83=_0x12e345;await this[_0x447e83(0x162)]();const _0x2c617b=await this[_0x447e83(0x199)][_0x447e83(0x18e)](_0x1a1918)[_0x447e83(0x183)](z);return await this[_0x447e83(0x16b)]([_0x2c617b]),_0x2c617b;},'addSuggestion':async({id:_0x2a7a23,type:_0x506228,data:_0x3be2d2,originalSuggestionId:_0x512a13,attributes:_0x268dc2})=>{const _0x5b1240=_0x12e345;await this[_0x5b1240(0x162)]();const _0x46430c={'id':_0x2a7a23,'type':_0x506228,'data':_0x3be2d2,'originalSuggestionId':_0x512a13,'attributes':_0x268dc2},_0x3cdde6=await this[_0x5b1240(0x199)][_0x5b1240(0x16f)](_0x2a7a23,_0x506228,_0x3be2d2,_0x512a13,_0x268dc2)[_0x5b1240(0x183)](_0x479eee=>{if(J(_0x479eee))return new Promise(_0x6a79f1=>{const _0x44b68b=_0x18c4;this[_0x44b68b(0x163)][_0x44b68b(0x168)](_0x2a7a23,{'resolve':_0x6a79f1,'suggestionData':_0x46430c});});throw _0x479eee;});return this[_0x5b1240(0x163)][_0x5b1240(0x189)](_0x2a7a23),_0x3cdde6;},'updateSuggestion':async(_0x34b762,_0x113c5c)=>{const _0x4c5f7c=_0x12e345;if(await this[_0x4c5f7c(0x162)](),_0x4c5f7c(0x185)!==_0x113c5c[_0x4c5f7c(0x173)])return this[_0x4c5f7c(0x199)][_0x4c5f7c(0x15d)](_0x34b762,_0x113c5c)[_0x4c5f7c(0x183)](z);}},this[_0x12e345(0x167)](this[_0x12e345(0x199)],_0x12e345(0x17d),(_0x54e4cc,_0x56fa04)=>{const _0x264068=_0x12e345;_0x1f3078[_0x264068(0x16a)](_0x56fa04['id'])&&(_0x1f3078[_0x264068(0x19a)](_0x56fa04['id'])[_0x264068(0x188)]=_0x56fa04[_0x264068(0x188)]);}),this[_0x12e345(0x199)][_0x12e345(0x18c)](_0x431c89[_0x12e345(0x16d)])[_0x12e345(0x195)](_0x20c48e=>(_0x431c89[_0x12e345(0x187)](this),this[_0x12e345(0x16b)](_0x20c48e)[_0x12e345(0x195)](()=>{const _0x2cd495=_0x12e345;for(const _0x41e8ac of _0x20c48e){_0x1f3078[_0x2cd495(0x174)](_0x41e8ac)[_0x2cd495(0x196)]=!0x0;}})));}async[_0x1bd5b7(0x161)](){const _0x490ba3=_0x1bd5b7,_0x41c57f=this[_0x490ba3(0x179)][_0x490ba3(0x165)][_0x490ba3(0x18e)](_0x490ba3(0x184)),{connection:_0x12d9da}=this[_0x490ba3(0x179)][_0x490ba3(0x165)][_0x490ba3(0x18e)](_0x268e84),_0x2707e9=await this[_0x490ba3(0x199)][_0x490ba3(0x18c)](_0x12d9da);await this[_0x490ba3(0x16b)](_0x2707e9);for(const {suggestionData:_0x13cd2e,resolve:_0x4147af}of this[_0x490ba3(0x163)][_0x490ba3(0x18f)]()){let _0x2059d6=_0x2707e9[_0x490ba3(0x17b)](_0x3291a5=>_0x3291a5['id']===_0x13cd2e['id']);_0x2059d6||(_0x2059d6=await this[_0x490ba3(0x199)][_0x490ba3(0x16f)](_0x13cd2e['id'],_0x13cd2e[_0x490ba3(0x17e)],_0x13cd2e[_0x490ba3(0x194)],_0x13cd2e[_0x490ba3(0x18b)])),_0x4147af(_0x2059d6);}for(const _0x18dae7 of _0x2707e9)_0x41c57f[_0x490ba3(0x16a)](_0x18dae7['id'])||_0x41c57f[_0x490ba3(0x174)](_0x18dae7);}async[_0x1bd5b7(0x162)](){const _0x5bf550=_0x1bd5b7;this[_0x5bf550(0x199)][_0x5bf550(0x15e)]||await new Promise(_0x2eaa40=>{const _0x4fa859=_0x5bf550;this[_0x4fa859(0x167)](this[_0x4fa859(0x199)],_0x4fa859(0x15f),_0x1cb069=>{const _0x3a09a4=_0x4fa859;_0x1cb069[_0x3a09a4(0x164)](),_0x2eaa40();});});}async[_0x1bd5b7(0x16b)](_0x3078f5){const _0x4bef94=_0x1bd5b7,_0x4b4129=this[_0x4bef94(0x179)][_0x4bef94(0x165)][_0x4bef94(0x18e)](_0x4e5943),{connection:_0x57a626}=this[_0x4bef94(0x179)][_0x4bef94(0x165)][_0x4bef94(0x18e)](_0x268e84),_0x27d45f=new Set();for(const {authorId:_0x3d1b3f}of _0x3078f5)_0x4b4129[_0x4bef94(0x180)](_0x3d1b3f)||_0x27d45f[_0x4bef94(0x16f)](_0x3d1b3f);if(0x0===_0x27d45f[_0x4bef94(0x18a)])return;const _0x59e88f=await _0x50ec20[_0x4bef94(0x177)](_0x57a626,Array[_0x4bef94(0x17a)](_0x27d45f));for(const _0x2786bf of _0x59e88f)_0x4b4129[_0x4bef94(0x180)](_0x2786bf['id'])||_0x4b4129[_0x4bef94(0x190)](_0x2786bf);}}function z(_0x3a4439){if(J(_0x3a4439))return new Promise(()=>{});throw _0x3a4439;}function J(_0x5c75c4){const _0x5e6160=_0x1bd5b7;return _0x5c75c4[_0x5e6160(0x160)][_0x5e6160(0x182)](_0x5e6160(0x176))||_0x5c75c4[_0x5e6160(0x160)][_0x5e6160(0x182)](_0x5e6160(0x178));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x508830=_0x28dd;(function(_0x4885c0,_0x3486fe){var _0x319770=_0x28dd,_0x1d4308=_0x4885c0();while(!![]){try{var _0x408924=-parseInt(_0x319770(0x1db))/0x1*(parseInt(_0x319770(0x1dc))/0x2)+parseInt(_0x319770(0x1d9))/0x3*(-parseInt(_0x319770(0x1d4))/0x4)+parseInt(_0x319770(0x1d2))/0x5*(-parseInt(_0x319770(0x1cd))/0x6)+-parseInt(_0x319770(0x1d3))/0x7+-parseInt(_0x319770(0x1cf))/0x8*(parseInt(_0x319770(0x1d8))/0x9)+parseInt(_0x319770(0x1d6))/0xa*(-parseInt(_0x319770(0x1d5))/0xb)+parseInt(_0x319770(0x1d0))/0xc;if(_0x408924===_0x3486fe)break;else _0x1d4308['push'](_0x1d4308['shift']());}catch(_0xc1d9be){_0x1d4308['push'](_0x1d4308['shift']());}}}(_0x1292,0x98c69));import{Plugin as _0x5ed523}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x84e5d9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x28dd(_0x3cbddb,_0x245d5b){var _0x129295=_0x1292();return _0x28dd=function(_0x28dd0d,_0x32209a){_0x28dd0d=_0x28dd0d-0x1cb;var _0x4186ad=_0x129295[_0x28dd0d];return _0x4186ad;},_0x28dd(_0x3cbddb,_0x245d5b);}function _0x1292(){var _0x1ac8da=['pluginName','isOfficialPlugin','95466fdKVmV','RealTimeCollaborativeTrackChanges','2343520csejAN','51893772MZtYoG','requires','340TngKcd','2633295CuArrL','2476BhQxMG','2420OdBCgP','27010cvTESe','isPremiumPlugin','18iEvngJ','2745rLlCCb','TrackChanges','1xUjgQN','988188yxBPpp'];_0x1292=function(){return _0x1ac8da;};return _0x1292();}import{RealTimeCollaborativeComments as _0x36360d}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x5ed523{static get[_0x508830(0x1d1)](){var _0x5337db=_0x508830;return[_0x36360d,_0x84e5d9,_0x5337db(0x1da)];}static get[_0x508830(0x1cb)](){var _0x5b5606=_0x508830;return _0x5b5606(0x1ce);}static get[_0x508830(0x1cc)](){return!0x0;}static get[_0x508830(0x1d7)](){return!0x0;}}
|